[RFA] Perform relocations in dwarf2.c
Michal Ludvig
mludvig@suse.cz
Wed Oct 23 17:45:00 GMT 2002
Hi all,
when running following command:
$ objdump -S something.o
on rela-type dwarf2 platforms it didn't show source lines, because
_bfd_dwarf2_find_nearest_line() didn't perform relocations of symbols
and thus returned wrong results.
Also there was a problem when parsing .debug_info on 64b paltforms - as
far as I have seen, offsets in this section are always 32b (and
specification says it as well), regardless whether on 64b or on 32b
platform. There was some strange magic in
_bfd_dwarf2_find_nearest_line() to find out the right offset size, but
it didn't work anyway.
Can someone approve or comment it, please?
Michal Ludvig
--
* SuSE CR, s.r.o * mludvig@suse.cz
* (+420) 296.545.373 * http://www.suse.cz
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: binutils-rela-2.diff
URL: <https://sourceware.org/pipermail/binutils/attachments/20021023/f30af42c/attachment.ksh>
More information about the Binutils
mailing list