[RFC] unify dynamic_symbol_p implementations
Bob Wilson
bwilson@tensilica.com
Thu Jul 24 00:23:00 GMT 2003
On Friday 18 July 2003 03:21 pm, Richard Henderson wrote:
> On Fri, Jul 18, 2003 at 03:16:12PM -0700, Bob Wilson wrote:
> > Right. We always set -fpic for Xtensa/Linux.
>
> Ah, ok. In which case you shouldn't have any problems.
> I've already committed the patch (with ia64 fixed), so
> you should just do the s/0/1/ and update the commentary.
OK. While I was at it, I made xtensa_elf_dynamic_symbol_p an inline function
and swapped the order of its arguments to match _bfd_elf_dynamic_symbol_p. I
committed the following patch on the mainline.
2003-07-23 Bob Wilson <bob.wilson@acm.org>
* elf32-xtensa.c (xtensa_elf_dynamic_symbol_p): Make inline and move
near the beginning of the file. Swap order of arguments. Call
_bfd_elf_dynamic_symbol_p with "ignore_protected" set to 0.
(elf_xtensa_fix_refcounts): Adjust xtensa_elf_dynamic_symbol_p call.
(elf_xtensa_relocate_section): Likewise.
(shrink_dynamic_reloc_sections): Likewise.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xt-dynsym.diff
Type: text/x-diff
Size: 3327 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20030724/b6b0142d/attachment.bin>
More information about the Binutils
mailing list