This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 05/15] Compile the entire dynamic linker with -fno-stack-protector.
- From: Szabolcs Nagy <szabolcs dot nagy at arm dot com>
- To: Florian Weimer <fweimer at redhat dot com>, Nix <nix at esperi dot org dot uk>, <libc-alpha at sourceware dot org>
- Cc: <nd at arm dot com>
- Date: Wed, 21 Dec 2016 14:25:00 +0000
- Subject: Re: [PATCH 05/15] Compile the entire dynamic linker with -fno-stack-protector.
- Authentication-results: sourceware.org; auth=none
- Authentication-results: spf=none (sender IP is ) smtp.mailfrom=Szabolcs dot Nagy at arm dot com;
- Nodisclaimer: True
- References: <20161219111528.14969-1-nix@esperi.org.uk> <20161219111528.14969-6-nix@esperi.org.uk> <aa00f08f-384e-a23b-67c9-3749ecadb9e1@redhat.com>
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
On 21/12/16 14:18, Florian Weimer wrote:
> On 12/19/2016 12:15 PM, Nix wrote:
>> +CFLAGS-.o += $(call elide-stack-protector,.o,$(elide-routines.os))
>> +CFLAGS-.op += $(call elide-stack-protector,.op,$(elide-routines.os))
>> +CFLAGS-.og += $(call elide-stack-protector,.og,$(elide-routines.os))
>> +CFLAGS-.os += $(call elide-stack-protector,.os,$(all-rtld-routines))
>
> .og is gone, as mentioned before.
>
> I think .op is a shared build and thus needs to be linked the same way as .os.
Makeconfig seems to set up .op like .o (other than -DPROF and -pg flags)
and unlike .os (which has -DPIC -DSHARED -fPIC)