This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [PATCH] MIPS/Linux: Enable creation of the RELRO header
- From: Thiemo Seufer <ths at networkno dot de>
- To: "Maciej W. Rozycki" <macro at linux-mips dot org>
- Cc: binutils at sources dot redhat dot com
- Date: Sat, 28 May 2005 14:45:08 +0200
- Subject: Re: [PATCH] MIPS/Linux: Enable creation of the RELRO header
- References: <Pine.LNX.4.61L.0505241525300.13738@blysk.ds.pg.gda.pl>
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