Patch: Fix elf_find_function () on a corner case

Jie Zhang jzhang918@gmail.com
Mon Nov 28 14:38:00 GMT 2005


Alan Modra wrote:
> So I'm rejecting the patch as it is.  You might be able to do something
> reasonable with ld -r output by noticing that section symbols precede
> file symbols for ld -r.
> 
Thanks!

This is my second try. I'm not sure if the section symbols always come 
first for ld -r output. If so, this patch should work. If not, the state 
machine in elf_find_function () may need rewrite.

Regards,
Jie
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bfd-elf-find-function2.diff
Type: text/x-patch
Size: 1499 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20051128/e1a3821b/attachment.bin>


More information about the Binutils mailing list