This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]