This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Variable page size support for MIPS/ELF


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]