bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/20247] AVR/ARM align causes unnecessary padding of segment


From: bg at nerilex dot org
Subject: [Bug gas/20247] AVR/ARM align causes unnecessary padding of segment
Date: Tue, 14 Jun 2016 15:31:02 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=20247

--- Comment #2 from bg at nerilex dot org ---
Hi,

actually the attachment above contains the very code I use (changed the labels
and removed .global for them but that should not change anything here).

I considered it first to be a limitation of the elf-format but apparently it is
not.

Also the architecture allows unpadded aligned memory region (AVR imposes no
alignments for generic RAM access at all). Also the final .elf file is
converted into ihex format (which does not know anything about sections or
alignment).

After manually changing the .bss section size it worked without problems, but
this is no viable solution since others have to reproduce my results with their
toolchain.

Regards,
~  bg

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

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