This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
elf.sc questions.
- From: Matt Thomas <matt at 3am-software dot com>
- To: binutils at sources dot redhat dot com
- Date: Wed, 26 Feb 2003 20:40:27 -0800
- Subject: elf.sc questions.
ld/scripttempl/elf.sc contain:
/* Adjust the address for the data segment. We want to adjust up to
the same address within the page on the next page up. */
${CREATE_SHLIB-${RELOCATING+. = ${DATA_ADDR-ALIGN(${MAXPAGESIZE}) + (. &
(${MA
XPAGESIZE} - 1))};}}
${CREATE_SHLIB+${RELOCATING+. = ${SHLIB_DATA_ADDR-ALIGN(${MAXPAGESIZE})
+ (. &
(${MAXPAGESIZE} - 1))};}}
Except that for vax, I really want:
${CREATE_SHLIB-${RELOCATING+. = ${DATA_ADDR-ALIGN(${MAXPAGESIZE})};}}
${CREATE_SHLIB+${RELOCATING+. = ${SHLIB_DATA_ADDR-ALIGN(${MAXPAGESIZE})};}}
What I really want is each psection to start on a 64KB boundary. But I'm at
a loss on how to acccomplish this.
Any ideas?
--
Matt Thomas Internet: matt at 3am-software dot com
3am Software Foundry WWW URL: http://www.3am-software.com/bio/matt/
Cupertino, CA Disclaimer: I avow all knowledge of this message