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: Suppress alignment


Hi Bjarke,


I'm using LD for linking some assembly, which should be small, but I
see NOP commands inserted all over, because LD align the labels on a
4-byte boundary. Is it possible to suppress this alignment in LD?

Which target are you using ? Which version of binutils are you using ?

Are you sure that it is the linker that is to blame ?  Normally it will
be the compiler or the assembler that decides upon the alignment of labels.

Do you have a *small* reproducible testcase which demonstrates what you are trying to do ?

Cheers
  Nick



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