https://sourceware.org/bugzilla/show_bug.cgi?id=20247
Nick Clifton <nickc at redhat dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2016-06-16 Ever confirmed|0 |1 --- Comment #3 from Nick Clifton <nickc at redhat dot com> --- Hi BG, This behaviour is the result of the md_section_align() function defined in most of the target specific backends to the assembler (gas/config/tc-*.c). For the ARC, the function unconditionally pads a section to its alignment value. No explanation is given for why the function has been programmed to do this, but I assume that it was deliberate. For other targets like ARM and x86, the padding only happens if the output format is aout, not ELF. (I am not sure how you managed to get a padded ARM section. Perhaps you can tell me). Anyway, it is definitely a per-target decision as to how sections should be padded. So - which targets, and file formats, are specifically concerned about ? Cheers Nick -- 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