ARM section alignment

Daniel Jacobowitz drow@false.org
Fri Jun 13 16:23:00 GMT 2008


On Fri, Jun 13, 2008 at 11:28:52AM -0400, Jonathan S. Shapiro wrote:
> But what is becoming apparent is that ELF_MAXPAGESIZE is only
> tangentially about page size. For example, on x86 there are 2M and 4M
> pages, but ELF_MAXPAGESIZE is set to 4K.

It is the maximum page size that can possibly be supported for code
with the current linker output.  So not a big deal for x86 which has
multiple variable page size support.  On other platforms the page size
is a system-wide property.

> Would people object to simply changing ELF_MAXPAGESIZE to 0x1000 for all
> ARM targets?

I am concerned that would break binary compatibility, but
I'm not sure...

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Binutils mailing list