public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] powerpc: Disable stack protector in early static initialization
@ 2023-04-04 12:30 Adhemerval Zanella
0 siblings, 0 replies; only message in thread
From: Adhemerval Zanella @ 2023-04-04 12:30 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=59db5735e62daa697d3899aeb69cc1b29eb7b044
commit 59db5735e62daa697d3899aeb69cc1b29eb7b044
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Mon Apr 3 16:10:43 2023 -0300
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.
Diff:
---
sysdeps/powerpc/powerpc64/multiarch/Makefile | 3 +++
1 file changed, 3 insertions(+)
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)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-04-04 12:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-04 12:30 [glibc] powerpc: Disable stack protector in early static initialization Adhemerval Zanella
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).