------- Additional Comments From amodra at bigpond dot net dot au 2009-05-26 00:19 ------- Because that would be more work in BFD if we wanted to catch all possible cases of padding, slowing down all file writes. You could of course patch your own binutils sources. The place that skipped writing for your testcase was bfd/elf.c:assign_file_positions_except_relocs, here:
/* Place the section headers. */ off = align_file_position (off, 1 << bed->s->log_file_align); You will find that the same thing will happen when ld generates executable files, so there will be more places to patch. -- http://sourceware.org/bugzilla/show_bug.cgi?id=10193 ------- 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