This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [patch] Variable page size support for MIPS/ELF
- From: Thiemo Seufer <ica2_ts at csv dot ica dot uni-stuttgart dot de>
- To: binutils at sources dot redhat dot com
- Date: Tue, 23 Dec 2003 22:04:07 +0100
- Subject: Re: [patch] Variable page size support for MIPS/ELF
- References: <Pine.LNX.4.55.0312231011060.27594@jurand.ds.pg.gda.pl>
Maciej W. Rozycki wrote:
> Hello,
>
> The SVR4 MIPS ABI Supplement states page sizes of up to 64kB are
> supported. But BFD currently uses 4kB, with a note that's compatible to
> Irix 5. As support for a configurable page size of up to 64kB has been
> recently added to Linux, that compatibility setting is no longer valid.
>
> Here is a patch that changes the page size for traditional MIPS/ELF
> targets while retaining Irix 5 compatibility. I've tested both targets
> and the appropriate setting is respected. There is no compatibility
> problem with the new setting for traditional targets -- old objects
> continue to work for linking and new executables or shared objects are
> created with the new setting.
>
> 2003-12-23 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
>
> * elf32-mips.c (ELF_MAXPAGESIZE): Redefine for traditional
> targets to support pages of up to 64kB.
> (elf32_bed): Redefine to get a separate backend data structure for
> traditional targets.
> * elf64-mips.c (ELF_MAXPAGESIZE): Redefine for traditional
> targets to support pages of up to 64kB.
> (elf64_bed): Redefine to get a separate backend data structure for
> traditional targets.
> * elfn32-mips.c (ELF_MAXPAGESIZE): Redefine for traditional
> targets to support pages of up to 64kB.
> (elf32_bed): Redefine to get a separate backend data structure for
> traditional targets.
>
> OK to apply?
Ok.