]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - bfd/ChangeLog-2015
Allows the binutils to cope with PE binaries where the section addresses have been...
authorNick Clifton <nickc@redhat.com>
Thu, 5 Mar 2015 12:14:26 +0000 (12:14 +0000)
committerNick Clifton <nickc@redhat.com>
Thu, 5 Mar 2015 12:14:26 +0000 (12:14 +0000)
commit425bd9e1bb32b25881dd20d76678d041f7bf04f8
treee503906efb4cab1957e3a053fda5d5b8c854bb13
parentf5771b1d96f844e0767a15b258b2de2d4cc52123
Allows the binutils to cope with PE binaries where the section addresses have been changed, but the DWARF debug info has not been altered.

PR binutils/18025
* coffgen.c (coff_find_nearest_line_with_names): If the dwarf2
lookup fails, check for an address bias in the dwarf info, and if
one exists, retry the lookup with the biased value.
* dwarf2.c (_bfd_dwarf2_find_symbol_bias): New function.
Determines if a bias exists bewteen the addresses of functions
based on DWARF information vs symbol table information.
* libbfd-in.h (_bfd_dwarf2_find_symbol_bias): Prototype.
* libbfd.h: Regenerate.
bfd/ChangeLog
bfd/coffgen.c
bfd/dwarf2.c
bfd/libbfd-in.h
bfd/libbfd.h