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 Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
check_fds.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
dso_handle.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
elf-init.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
errno-loc.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
errno.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
gmon-start.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
init-first.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
init.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
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 More fallout from supporting only ELF 2012-01-08 00:45:01 -05:00
sysdep.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
version.c Update copyright dates not handled by scripts/update-copyrights. 2016-01-04 16:26:30 +00:00
Versions Remove unused %include lines from Versions files. 2014-02-22 00:58:54 -08:00