public inbox for glibc-cvs@sourceware.org help / color / mirror / Atom feed
From: Adhemerval Zanella <azanella@sourceware.org> To: glibc-cvs@sourceware.org Subject: [glibc/azanella/clang] x86: Use -mshstk instead of '#pragma GCC target' Date: Wed, 17 Apr 2024 20:14:02 +0000 (GMT) [thread overview] Message-ID: <20240417201402.1DF65385840F@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=b68361a19f5020d24f18f86babc153b094338cf1 commit b68361a19f5020d24f18f86babc153b094338cf1 Author: Adhemerval Zanella <adhemerval.zanella@linaro.org> Date: Wed Dec 20 11:11:48 2023 -0300 x86: Use -mshstk instead of '#pragma GCC target' Diff: --- sysdeps/x86_64/Makefile | 4 ++-- sysdeps/x86_64/tst-cet-legacy-10a-static.c | 1 - sysdeps/x86_64/tst-cet-legacy-10a.c | 1 - 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/sysdeps/x86_64/Makefile b/sysdeps/x86_64/Makefile index ce949dba27..9e19cf7e87 100644 --- a/sysdeps/x86_64/Makefile +++ b/sysdeps/x86_64/Makefile @@ -354,8 +354,8 @@ CFLAGS-tst-cet-legacy-mod-6c.c += -fcf-protection CFLAGS-tst-cet-legacy-7.c += -fcf-protection=none CFLAGS-tst-cet-legacy-10.c += -mshstk CFLAGS-tst-cet-legacy-10-static.c += -mshstk -CFLAGS-tst-cet-legacy-10a.c += -fcf-protection=none -CFLAGS-tst-cet-legacy-10a-static.c += -fcf-protection=none +CFLAGS-tst-cet-legacy-10a.c += -fcf-protection=none -mshstk +CFLAGS-tst-cet-legacy-10a-static.c += -fcf-protection=none -mshstk tst-cet-legacy-4-ENV = GLIBC_TUNABLES=glibc.cpu.hwcaps=SHSTK tst-cet-legacy-6-ENV = GLIBC_TUNABLES=glibc.cpu.hwcaps=SHSTK diff --git a/sysdeps/x86_64/tst-cet-legacy-10a-static.c b/sysdeps/x86_64/tst-cet-legacy-10a-static.c index 05073a5d1e..ecc1208e35 100644 --- a/sysdeps/x86_64/tst-cet-legacy-10a-static.c +++ b/sysdeps/x86_64/tst-cet-legacy-10a-static.c @@ -1,2 +1 @@ -#pragma GCC target ("shstk") #include "tst-cet-legacy-10.c" diff --git a/sysdeps/x86_64/tst-cet-legacy-10a.c b/sysdeps/x86_64/tst-cet-legacy-10a.c index 05073a5d1e..ecc1208e35 100644 --- a/sysdeps/x86_64/tst-cet-legacy-10a.c +++ b/sysdeps/x86_64/tst-cet-legacy-10a.c @@ -1,2 +1 @@ -#pragma GCC target ("shstk") #include "tst-cet-legacy-10.c"
next reply other threads:[~2024-04-17 20:14 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2024-04-17 20:14 Adhemerval Zanella [this message] -- strict thread matches above, loose matches on Subject: below -- 2024-04-02 16:00 Adhemerval Zanella 2024-02-09 17:38 Adhemerval Zanella 2024-02-07 14:13 Adhemerval Zanella 2024-01-29 18:04 Adhemerval Zanella 2023-12-21 19:00 Adhemerval Zanella
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20240417201402.1DF65385840F@sourceware.org \ --to=azanella@sourceware.org \ --cc=glibc-cvs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).