diff mbox series

[COMMITTED] powerpc: Disable stack protector in early static initialization

Message ID 20230404123120.1260221-1-adhemerval.zanella@linaro.org
State New
Headers show
Series [COMMITTED] powerpc: Disable stack protector in early static initialization | expand

Commit Message

Adhemerval Zanella Netto April 4, 2023, 12:31 p.m. UTC
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 | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

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)