glibc/csu
Nick Alcock 10c85e76c0 Disable stack protector in early static initialization [BZ #7065]
The startup code in csu/, and the brk and sbrk functions are
needed very early in initialization of a statically-linked program,
before the stack guard is initialized; TLS initialization also uses
memcpy, which cannot overrun its own stack.  Mark all of these as
-fno-stack-protector.

We also finally introduce @libc_cv_ssp@ and @no_stack_protector@, both
substituted by the configury changes made earlier, to detect the case
when -fno-stack-protector is supported by the compiler, and
unconditionally pass it in when this is the case, whether or not
--enable-stack-protector is passed to configure.  (This means that
it'll even work when the compiler's been hacked to pass
-fstack-protector by default, unless the hackage is so broken that
it does so in a way that is impossible to override.)
2016-12-26 10:08:45 +01:00
..
abi-note.S
check_fds.c
dso_handle.c
elf-init.c
errno-loc.c
errno.c
gmon-start.c
init-first.c
init.c
libc-start.c Initialize the stack guard earlier when linking statically [BZ #7065] 2016-12-26 10:08:34 +01:00
libc-tls.c Initialize the stack guard earlier when linking statically [BZ #7065] 2016-12-26 10:08:34 +01:00
Makefile Disable stack protector in early static initialization [BZ #7065] 2016-12-26 10:08:45 +01:00
start.c
sysdep.c
version.c Update copyright dates not handled by scripts/update-copyrights. 2016-01-04 16:26:30 +00:00
Versions