.eh_frame optimization question
Alan Modra
amodra@bigpond.net.au
Wed Jan 3 08:01:00 GMT 2007
On Wed, Jan 03, 2007 at 03:31:17PM +0800, Jie Zhang wrote:
> Alan Modra wrote:
> >Other ports handle this situation by emitting an R_*_NONE reloc,
> >typically reloc number 0. Can you do the same?
> >
> >_bfd_elf_section_offset will return -1 or -2 to indicate that a
> >dynamic reloc is not needed.
> >
> Thanks for your reply. Actually, bfin port handles this situation as
> other ports.
I see _bfd_elf_section_offset invoked in an expression passed to
_bfinfdpic_add_dyn_reloc. No special handling for the case where
_bfd_elf_section_offset returns -1. You need to fix this.
--
Alan Modra
IBM OzLabs - Linux Technology Centre
More information about the Binutils
mailing list