aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/powerpc
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2023-04-03 16:10:43 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2023-04-03 17:42:08 -0300
commit59db5735e62daa697d3899aeb69cc1b29eb7b044 (patch)
tree77f64b27617e3d12951c1268d6416b27be4621bd /sysdeps/powerpc
parent370da8a121c3ba9eeb2f13da15fc0f21f4136b25 (diff)
downloadglibc-59db5735e62daa697d3899aeb69cc1b29eb7b044.tar
glibc-59db5735e62daa697d3899aeb69cc1b29eb7b044.tar.gz
glibc-59db5735e62daa697d3899aeb69cc1b29eb7b044.tar.bz2
glibc-59db5735e62daa697d3899aeb69cc1b29eb7b044.zip
powerpc: Disable stack protector in early static initialization
Similar to fb95c316382679c0826cc8399760977cd95f15c9, also disable for string-ppc64.c (pulled on rltd as the default string implementation). Checked on powerpc64-linux-gnu.
Diffstat (limited to 'sysdeps/powerpc')
-rw-r--r--sysdeps/powerpc/powerpc64/multiarch/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/powerpc/powerpc64/multiarch/Makefile b/sysdeps/powerpc/powerpc64/multiarch/Makefile
index 57de4a29c4..27d8495503 100644
--- a/sysdeps/powerpc/powerpc64/multiarch/Makefile
+++ b/sysdeps/powerpc/powerpc64/multiarch/Makefile
@@ -39,3 +39,6 @@ endif
CFLAGS-strncase-power7.c += -mcpu=power7 -funroll-loops
CFLAGS-strncase_l-power7.c += -mcpu=power7 -funroll-loops
endif
+
+# Called during static initialization
+CFLAGS-strncmp-ppc64.c += $(no-stack-protector)