Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Aug 2016 20:49:01 -0500
From:      Pedro Giffuni <pfg@FreeBSD.org>
To:        "freebsd-toolchain@FreeBSD.org" <freebsd-toolchain@freebsd.org>
Subject:   Re: Time to enable partial relro
Message-ID:  <c09a87e9-37bb-a782-c621-30b68b4644e2@FreeBSD.org>
In-Reply-To: <b3e0a564-861b-1719-f2f5-b53d70e90d72@FreeBSD.org>
References:  <b75890eb-d8bd-759e-002f-ab0c16db0975@FreeBSD.org> <20160826105618.GS83214@kib.kiev.ua> <a9e93c24-9c30-29e4-b949-faa1a7928606@FreeBSD.org> <CANCZdfrJmYcJHXcXaq0qEiy4qif06SX1LNjUi0g=HG=yp8v4TA@mail.gmail.com> <ae0c18a7-3d9a-708d-bfde-4ce9d6162b76@FreeBSD.org> <FAC00440-3791-480F-AE24-34D2CD6B6312@bsdimp.com> <2e5bee0b-0102-8454-9975-e997bd5229ae@FreeBSD.org> <04514DD6-F431-490D-9ED6-EBFC9DCE97BF@bsdimp.com> <b3e0a564-861b-1719-f2f5-b53d70e90d72@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
For the record ...

On 08/26/16 20:10, Pedro Giffuni wrote:
>
>
> On 26/08/2016 19:00, Warner Losh wrote:
...

>> I think we should move forward, just want to make sure it doesn’t
>> break some arch completely before moving ahead. While lld is a goal,
>> the goal is also to have a ld.bdf installed for 12, iirc, as a fallback.
>
> And very right you are, this has all the chances of breaking MIPS*:
>
> "A configure option --enable-relro={yes|no} to decide
>  whether -z relro should be the default behaviour for
>  the linker in ELF based targets.  If this configure
>  option is not specified then relro will be enabled
>  automatically for all Linux based targets except FRV,
>  HPPA, IA64 and MIPS."
>
> _____
>
> I will update the patch to exclude MIPS (and MIPS64 JIC).
>


The new patch is here:

https://people.freebsd.org/~pfg/patches/partial-relro.diff

If we were ever to MFC this, we would have to add IA64 to the exclusion
list.

Pedro.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c09a87e9-37bb-a782-c621-30b68b4644e2>