]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
powerpc: Disable stack protector in early static initialization
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 3 Apr 2023 19:10:43 +0000 (16:10 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 3 Apr 2023 20:42:08 +0000 (17:42 -0300)
Similar to fb95c316382679c0826cc8399760977cd95f15c9, also disable
for string-ppc64.c (pulled on rltd as the default string
implementation).

Checked on powerpc64-linux-gnu.

sysdeps/powerpc/powerpc64/multiarch/Makefile

index 57de4a29c4d1d42d27558d78190444de3fe49f60..27d8495503a5a1fefea19913d6758f69c50127de 100644 (file)
@@ -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)