------- Additional Comments From dzidzitop at lavabit dot com  2010-04-30 20:09 
-------
Created an attachment (id=4758)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=4758&action=view)
testcase to re-produce the issue

compile this source (specify proper path in the PATH_TO_EXECUTABLE constant and
run against bbb.exe. You will see offsets > 1000 which is simply wrong. bbb.exe
was built from main.cpp which has lines > 40. There are no lines with such
numbers displayed.

For more complicated binaries line numbers are random. The binary is too large
to upload it here to demonstate.

There is also a question. Why sections within BFD are initialised if and only
if bfd_check_format_matches(abfd, bfd_object, &matching) is called? This looks
like a hack.

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=11513

------- 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

Reply via email to