[PATCH 04/17 v5] Mark all machinery needed in early static-link init as -fno-stack-protector.

Mike Frysinger vapier@gentoo.org
Sun Apr 10 04:02:00 GMT 2016


On 13 Mar 2016 15:16, Nix wrote:
> We also finally introduce @libc_cv_ssp@ and @no-stack-protector@, both

@no_stack_protector@

> --- a/csu/Makefile
> +++ b/csu/Makefile
>
> +CFLAGS-.o += $(no-stack-protector)
> +CFLAGS-.og += $(no-stack-protector)
> +CFLAGS-.op += $(no-stack-protector)
> +CFLAGS-.os += $(no-stack-protector)

is there a format you're trying to avoid ?  *.oS ?
could use a comment.

> --- a/misc/Makefile
> +++ b/misc/Makefile
>  
> +# Called during static library initialization.
> +CFLAGS-sbrk.o = $(no-stack-protector)
> +CFLAGS-sbrk.op = $(no-stack-protector)
> +CFLAGS-sbrk.og = $(no-stack-protector)
> +CFLAGS-brk.o = $(no-stack-protector)
> +CFLAGS-brk.op = $(no-stack-protector)
> +CFLAGS-brk.og = $(no-stack-protector)

same here
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20160410/7cd9706a/attachment.sig>


More information about the Libc-alpha mailing list