Getting MAXPAGESIZE from ELF_MAXPAGESIZE

H. J. Lu hjl@lucon.org
Sat May 21 21:09:00 GMT 2005


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.



More information about the Binutils mailing list