http://sourceware.org/bugzilla/show_bug.cgi?id=15474
--- Comment #2 from Ralf Dreesen <gamma at dreesen dot net> 2013-05-16 08:27:03 UTC --- I think that I might have located a bug in the srecord backend, which shows up, if multiple object files are linked for a 2 octets-per-byte architecture with the output format srecord. In my case, the address offset of the second text section was 2*n instead of n. I hunted problem down to "srec_set_section_contents" at bfd/srec.c:905 entry->where = section->lma + offset; The unit of "entry->where" is assumed to be BYTES (see "srec_write_section"). I guess the unit of "section->lma" should be BYTES too. The unit of "offset" appears to be OCTETS (see "default_indirect_link_order"). -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils