This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Getting MAXPAGESIZE from ELF_MAXPAGESIZE
- From: "H. J. Lu" <hjl at lucon dot org>
- To: binutils at sources dot redhat dot com
- Date: Sat, 21 May 2005 07:30:55 -0700
- Subject: Getting MAXPAGESIZE from ELF_MAXPAGESIZE
I found a need to change ELF_MAXPAGESIZE at the command line. I can
add a new option like -z page-size=128M. The problem is I have to
update the linker script also. I'd like to modify the linker to
get MAXPAGESIZE from ELF_MAXPAGESIZE in bfd. MAXPAGESIZE will be
treated as a special read only symbol like '.'. At least, we don't
need to set MAXPAGESIZE in linker.
H.J.