mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-09 14:50:05 +00:00
string: Disable stack protector in early static initialization
For powerpc, strncmp is used on _dl_string_platform issued by __tcb_parse_hwcap_and_convert_at_platform. Reviewed-by: Carlos Eduardo Seo <carlos.seo@linaro.org>
This commit is contained in:
parent
22999b2f0f
commit
fb95c31638
@ -230,6 +230,8 @@ LDFLAGS-tst-xbzero-opt = -z now
|
||||
# Called during TLS initialization.
|
||||
CFLAGS-memcpy.c += $(no-stack-protector)
|
||||
CFLAGS-wordcopy.c += $(no-stack-protector)
|
||||
# Called during static initialization
|
||||
CFLAGS-strncmp.c += $(no-stack-protector)
|
||||
|
||||
CFLAGS-argz-next.c += $(config-cflags-wno-ignored-attributes)
|
||||
CFLAGS-basename.c += $(config-cflags-wno-ignored-attributes)
|
||||
|
Loading…
Reference in New Issue
Block a user