--- Additional Comments From amodra at gmail dot com 2010-05-08 22:31
---
Silly error in using abfd->sections.
--
What|Removed |Added
Status|NEW
--- Additional Comments From dzidzitop at lavabit dot com 2010-05-08 16:52
---
Created an attachment (id=4775)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=4775&action=view)
A program that demonstates the bug
A program that demonstates that
1) many bfd sections have zero (or w
--- Additional Comments From dzidzitop at lavabit dot com 2010-05-08 16:49
---
Created an attachment (id=4774)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=4774&action=view)
an C++ ELF binary which main.cpp could be tested on
--
http://sourceware.org/bugzilla/show_bug.cgi?
BFD does not link bfd and asymbol structures properly. This is re-producible at
least for GCC 4.4.0 under WinXP32 and Ubuntu 32-bit (9x version).
The given program displays that:
1) many sections have zero (or very small like 0x1c) offset
2) the offsets of bfd->sections do not match to the offsets