elf.sc questions.

Matt Thomas matt@3am-software.com
Thu Feb 27 04:46:00 GMT 2003
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@3am-software.com
3am Software Foundry      WWW URL:    http://www.3am-software.com/bio/matt/
Cupertino, CA             Disclaimer: I avow all knowledge of this message



More information about the Binutils mailing list