[PATCH 2/3] bfd/dwarf: Improve use of previously loaded dwarf information

Nick Clifton nickc@redhat.com
Tue Feb 14 09:33:00 GMT 2017


Hi Andrew,

> bfd/ChangeLog:
> 
> 	* dwarf2.c (struct dwarf2_debug): Add orig_bfd member.
> 	(_bfd_dwarf2_slurp_debug_info): If stashed debug information does
> 	not match current bfd, then reload debug information.  Record bfd
> 	we're loading debug info for in the stash.  If we have debug
> 	informatin in the cache then perform section placement before
> 	returning.
> 
> ld/ChangeLog:
> 
> 	* testsuite/ld-elf/dwarf.exp (build_tests): Add new tests.
> 	* testsuite/ld-elf/dwarf2.err: New file.
> 	* testsuite/ld-elf/dwarf2a.c: New file.
> 	* testsuite/ld-elf/dwarf2b.c: New file.
> 	* testsuite/ld-elf/dwarf3.c: New file.
> 	* testsuite/ld-elf/dwarf3.err: New file.

Approved - please apply.

(Yes, I am reviewing these patches in reverse order.  No, there isn't a
good reason for this. :-)

Cheers
  Nick



More information about the Binutils mailing list