[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/20247] AVR/ARM align causes unnecessary padding of segment
From: |
nickc at redhat dot com |
Subject: |
[Bug gas/20247] AVR/ARM align causes unnecessary padding of segment |
Date: |
Thu, 16 Jun 2016 15:44:05 +0000 |
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 gas/20247] New: AVR/ARM align causes unnecessary padding of segment, bg at nerilex dot org, 2016/06/12
- [Bug gas/20247] AVR/ARM align causes unnecessary padding of segment, bg at nerilex dot org, 2016/06/12
- [Bug gas/20247] AVR/ARM align causes unnecessary padding of segment, nickc at redhat dot com, 2016/06/14
- [Bug gas/20247] AVR/ARM align causes unnecessary padding of segment, bg at nerilex dot org, 2016/06/14
- [Bug gas/20247] AVR/ARM align causes unnecessary padding of segment,
nickc at redhat dot com <=
- [Bug gas/20247] AVR/ARM align causes unnecessary padding of segment, bg at nerilex dot org, 2016/06/16
- [Bug gas/20247] AVR/ARM align causes unnecessary padding of segment, bg at nerilex dot org, 2016/06/16
- [Bug gas/20247] AVR/ARM align causes unnecessary padding of segment, nickc at redhat dot com, 2016/06/21
- [Bug gas/20247] AVR/ARM align causes unnecessary padding of segment, nickc at redhat dot com, 2016/06/21
- [Bug gas/20247] AVR/ARM align causes unnecessary padding of segment, bg at nerilex dot org, 2016/06/23
- [Bug gas/20247] AVR/ARM align causes unnecessary padding of segment, bg at nerilex dot org, 2016/06/25
- [Bug gas/20247] AVR/ARM align causes unnecessary padding of segment, bg at nerilex dot org, 2016/06/25
- [Bug gas/20247] AVR/ARM align causes unnecessary padding of segment, bg at nerilex dot org, 2016/06/26
- [Bug gas/20247] AVR/ARM align causes unnecessary padding of segment, bg at nerilex dot org, 2016/06/26
- [Bug gas/20247] AVR/ARM align causes unnecessary padding of segment, cvs-commit at gcc dot gnu.org, 2016/06/27