diff options
Diffstat (limited to 'gas/config/obj-elf.c')
-rw-r--r-- | gas/config/obj-elf.c | 8 |
1 files changed, 5 insertions, 3 deletions
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)) |