[Bug binutils/11582] New: BFD structure linkage is broken
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 of (asymbol*)->section This does not allow users of BFD to match bfd sections to asymbol sections. -- Summary: BFD structure linkage is broken Product: binutils Version: 2.21 (HEAD) Status: NEW Severity: normal Priority: P2 Component: binutils AssignedTo: unassigned at sources dot redhat dot com ReportedBy: dzidzitop at lavabit dot com CC: bug-binutils at gnu dot org GCC build triplet: Mingw4.4.0/WinXP32/PE; GCC4.4.0/Ubuntu 32bit/ELF GCC host triplet: Mingw4.4.0/WinXP32/PE; GCC4.4.0/Ubuntu 32bit/ELF GCC target triplet: Mingw4.4.0/WinXP32/PE; GCC4.4.0/Ubuntu 32bit/ELF http://sourceware.org/bugzilla/show_bug.cgi?id=11582 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug binutils/11582] BFD structure linkage is broken
--- 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?id=11582 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug binutils/11582] BFD structure linkage is broken
--- 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 wrong) offsets 2) many asymbol->section offsets do not have correspondent sections within the bfd structure -- http://sourceware.org/bugzilla/show_bug.cgi?id=11582 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug binutils/11582] BFD structure linkage is broken
--- Additional Comments From amodra at gmail dot com 2010-05-08 22:31 --- Silly error in using abfd->sections. -- What|Removed |Added Status|NEW |RESOLVED Resolution||INVALID http://sourceware.org/bugzilla/show_bug.cgi?id=11582 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils