[PATCH 09/14] Link various tests with -fno-stack-protector.

Nix nix@esperi.org.uk
Wed Feb 24 13:09:00 GMT 2016


On 24 Feb 2016, Andreas Schwab uttered the following:

> Nix <nix@esperi.org.uk> writes:
>
>> +ifeq ($(have-ssp),yes)
>> +# These do not link against libc.
>> +CFLAGS-filtmod1.c = -fno-stack-protector
>> +CFLAGS-filtmod2.c = -fno-stack-protector
>> +endif
>
> Please add a variable no-stack-protector to config.make, defined to
> -fno-stack-protector depending on have-ssp.

... and then drop all the $(have-ssp) ifeqs?

Will do! (I thought it would increase the amount of overhead, but given
the number of one-line additions, this change makes a lot of sense.)

(This changes numerous patches, so I'll post this change when I post
v3 as a whole.)

-- 
NULL && (void)



More information about the Libc-alpha mailing list