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] MIPS/Linux: Enable creation of the RELRO header


Maciej W. Rozycki wrote:
> Hello,
> 
>  Do we have any particular reason to set DATA_ADDR to 0x10000000 for 
> traditional o32 targets as used by Linux?

None I'm aware of.

> I don't think so -- it just 
> happens to come from Irix defaults and we probably don't need such a close 
> compatibility.  OTOH, getting rid of that DATA_ADDR would let us make use 
> of the "-z relro" option, like other Linux ports (including new MIPS ABIs) 
> do.
> 
>  Here's my proposal.  It doesn't cause any regressions for a native run on 
> mipsel-linux-gnu.  It works for me as expected with glibc 2.3.5.
> 
> 2005-05-26  Maciej W. Rozycki  <macro@linux-mips.org>
> 
> 	* emulparams/elf32btsmip.sh: Unset DATA_ADDR.
> 
>  OK to apply to the HEAD?

Ok.


Thiemo


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