This is the mail archive of the binutils@sourceware.org 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: Best way to make partial relro by default?


On 28 Sep 2015 11:31, Pedro Giffuni wrote:
> I noticed many linux distributions are making partial RELRO the default:
> https://bugzilla.redhat.com/show_bug.cgi?id=807831
> 
> Some set it as the default in ld [1] some others set it in the gcc
> specs. What would be the "blessed" way to do this for all the
> distribution?

Gentoo has been doing this for about 9 years in the linker.  current:
https://sources.gentoo.org/gentoo/src/patchsets/binutils/2.25.1/78_all_use-relro.patch

> Any chance to see this standardized in the GNU toolchain, perhaps in ld?

i think a configure flag in ld/ and gold/ would be appropriate here
-mike

Attachment: signature.asc
Description: Digital signature


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