aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>2000-02-28 04:17:36 +0000
committerIan Lance Taylor <ian@airs.com>2000-02-28 04:17:36 +0000
commitc5e54cc20ecbc35f5145687bd3e93db2d86a6bcd (patch)
tree60094f16ff99d14e50863076134d5f1bbd051844 /gas
parent65fd87bce32b89893abdc4b5f3e3180d0df51a0b (diff)
downloadgdb-c5e54cc20ecbc35f5145687bd3e93db2d86a6bcd.zip
gdb-c5e54cc20ecbc35f5145687bd3e93db2d86a6bcd.tar.gz
gdb-c5e54cc20ecbc35f5145687bd3e93db2d86a6bcd.tar.bz2
2000-02-27 Thomas de Lellis <tdel@windriver.com>
* config/obj-elf.c (elf_frob_symbol): Remove code which when TC_PPC was defined forced the type of a symbol with no other type to be BSF_OBJECT.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog6
-rw-r--r--gas/config/obj-elf.c8
2 files changed, 11 insertions, 3 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index bc4e5e90..7a30f28 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,9 @@
+2000-02-27 Thomas de Lellis <tdel@windriver.com>
+
+ * config/obj-elf.c (elf_frob_symbol): Remove code which when
+ TC_PPC was defined forced the type of a symbol with no other type
+ to be BSF_OBJECT.
+
2000-02-27 Hans-Peter Nilsson <hp@axis.com>
* doc/internals.texi (CPU backend): Mention that
diff --git a/gas/config/obj-elf.c b/gas/config/obj-elf.c
index f9e4406..21fd0fa 100644
--- a/gas/config/obj-elf.c
+++ b/gas/config/obj-elf.c
@@ -1693,9 +1693,11 @@ elf_frob_symbol (symp, puntp)
symbol_get_bfdsym (symp)->flags |= BSF_OBJECT;
#endif
-#ifdef TC_PPC
- /* Frob the PowerPC, so that the symbol always has object type
- if it is not some other type. VxWorks needs this. */
+#if 0 /* TC_PPC */
+ /* If TC_PPC is defined, we used to force the type of a symbol to be
+ BSF_OBJECT if it was otherwise unset. This was required by some
+ version of VxWorks. Thomas de Lellis <tdel@windriver.com> says
+ that this is no longer needed, so it is now commented out. */
if ((symbol_get_bfdsym (symp)->flags
& (BSF_FUNCTION | BSF_FILE | BSF_SECTION_SYM)) == 0
&& S_IS_DEFINED (symp))