This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
How to set file alignment for some special sections?
- From: "PRC" <panruochen at gmail dot com>
- To: "binutils" <binutils at sourceware dot org>
- Date: Tue, 1 Apr 2008 13:03:57 +0800
- Subject: How to set file alignment for some special sections?
Hi All,
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?
Best Regards,
PRC
Apr 1, 2008