This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
How to set a memory size of a section with ld script
- From: Yuriy Zhilovets <yz at forth dot org dot ru>
- To: binutils at sourceware dot org
- Date: Sat, 28 Apr 2007 23:01:42 +0300
- Subject: How to set a memory size of a section with ld script
Hello,
I need to make some code with a large trailing of free space after it.
Si I guess that I need a section which image must be greater in memory
than in a file, that is a section which will map to a segment with
p_memsz > p_filesz
How can I achieve this with ld script or by other means?
Yuriy Zhilovets