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: How to set file alignment for some special sections?


Hi PRC,

How can I inform `ld' to put some specified section, like .shstrtab,
to an aligned (like 4, 8, or others) offset in file?
Which option to use or how to write the linker script?

See the description of the ALIGN linker script directive in the linker manual.


Cheers
  Nick



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