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: Thu, 16 Jun 2016 17:00:05 +0000

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

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

I just found out myself last night ;-).

Also I just posted a patch I wrote. Currently I'm running my own branch () at
https://c0de.pw/bg/binutils-gdb .

I just tested the binary version of as for ARM I have and it again produces the
unexpected behavior. It Identifies itself as "GNU assembler (2.25-5+5+b1)
2.25". 

I use the following command:

> arm-none-eabi-as -o arm-test.o test.S

I just saw that MSP430 is affected in the same way as AVR.

On my current target list are the following microcontroller architectures:

 * avr (ATmega128)
 * arm (Cortex-M3)
 * msp430

I completely agree, that this is a per target issue. But for the named targets
I see no reason for this padding. I currently also do not understand why
padding of the section depends on an alignment specified to align data
structures.

Thanks :-)

(btw. good work!)

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]