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.
This commit is contained in:
parent
65fd87bce3
commit
c5e54cc20e
2 changed files with 11 additions and 3 deletions
|
@ -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>
|
2000-02-27 Hans-Peter Nilsson <hp@axis.com>
|
||||||
|
|
||||||
* doc/internals.texi (CPU backend): Mention that
|
* doc/internals.texi (CPU backend): Mention that
|
||||||
|
|
|
@ -1693,9 +1693,11 @@ elf_frob_symbol (symp, puntp)
|
||||||
symbol_get_bfdsym (symp)->flags |= BSF_OBJECT;
|
symbol_get_bfdsym (symp)->flags |= BSF_OBJECT;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef TC_PPC
|
#if 0 /* TC_PPC */
|
||||||
/* Frob the PowerPC, so that the symbol always has object type
|
/* If TC_PPC is defined, we used to force the type of a symbol to be
|
||||||
if it is not some other type. VxWorks needs this. */
|
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
|
if ((symbol_get_bfdsym (symp)->flags
|
||||||
& (BSF_FUNCTION | BSF_FILE | BSF_SECTION_SYM)) == 0
|
& (BSF_FUNCTION | BSF_FILE | BSF_SECTION_SYM)) == 0
|
||||||
&& S_IS_DEFINED (symp))
|
&& S_IS_DEFINED (symp))
|
||||||
|
|
Loading…
Add table
Reference in a new issue