This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
How to limit both the size and the address range of sections in ld script?
- From: Pan ruochen <panruochen at gmail dot com>
- To: binutils at sourceware dot org
- Date: Fri, 20 Mar 2009 15:49:54 +0800
- Subject: How to limit both the size and the address range of sections in ld script?
Dear All,
How can I implement such a ld script:
1. The size of sections .text .data and .bss is not beyond 128K
2. The sections .text .data and .bss are located within the address
range 0x80040000~0x80080000
If one of the conditions is false, I wish LD report an error.
-----------------
Best Regards
PRC
Mar 20,2009