Is it possible to remove section padding from in as/ld?

Vincent Rivière vincent.riviere@freesbee.fr
Sat May 15 11:14:00 GMT 2010


Miro Kropacek wrote:
> What does happen when one specifies alignment of 1 byte (i.e. no align
> at all) in binutils and then use .[b]align ? Will be sections / code
> correctly aligned?

I think if you force an alignment of 2**0 with the current linker script, 
any alignment directive will be ignored, including ".even". Of course this 
would be catastrophic. However you should try that to see how it really behaves.

-- 
Vincent Rivière



More information about the Binutils mailing list