bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gas/10193] gas produces different .o files with the same input .s f


From: amodra at bigpond dot net dot au
Subject: [Bug gas/10193] gas produces different .o files with the same input .s file and cmd line arguments on enfs
Date: 26 May 2009 00:19:49 -0000

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]