This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH 2/3] bfd/dwarf: Improve use of previously loaded dwarf information
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