]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
2000-02-27 Thomas de Lellis <tdel@windriver.com>
authorIan Lance Taylor <ian@airs.com>
Mon, 28 Feb 2000 04:17:36 +0000 (04:17 +0000)
committerIan Lance Taylor <ian@airs.com>
Mon, 28 Feb 2000 04:17:36 +0000 (04:17 +0000)
* 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.

gas/ChangeLog
gas/config/obj-elf.c

index bc4e5e9022d64e4b63285552c4e3a2b6bda9ced4..7a30f28c114929a48e34a7b457ab295736434386 100644 (file)
@@ -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
index f9e44065206d9e076322dfe1ac5a1727f51089c9..21fd0fa22411c5d5676eaec1db264a992f0feb1c 100644 (file)
@@ -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))