From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Henderson To: "H.J. Lu" Cc: ian@zembu.com, binutils@sourceware.cygnus.com Subject: Re: Variable page size for ELF Date: Sun, 11 Jul 1999 15:11:00 -0000 Message-id: <19990711151144.A23263@cygnus.com> References: <19990711130208.A20897@cygnus.com> <19990711202251.0A49B57BA@ocean.lucon.org> X-SW-Source: 1999-q3/msg00137.html On Sun, Jul 11, 1999 at 01:22:51PM -0700, H.J. Lu wrote: > 1. Some OSes do support variable page size. IRIX is one of them. But > you need some way to tell the system what page size you want. It is > possible that one day Linux will support variable page size on > platforms where the hardware support is available. What has this to do with the maximum architectural page size? Which is what's supposed to be used in BFD. That maximum is specified by the IA64 spec as 64K. > 2. IA32 has 4K page size. But we may want to use a different page size > for IA32 binaries when run them under IA64. No, you can't do that. All sorts of existing programs will break, and the whole point of such non-native emulation is to not break old programs. > 3. The page size of Linux/IA64 may change due to various reasons. It > will be helpful to change page size via linker command line. Again, no. The value in BFD is the _maximum_ architectural page size. By arranging binaries this way, we free the operating system to choose _any_ architecturally supported page size. r~