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 inhibit_stack_protector on tst-ifunc-isa.h Date: Wed, 7 Feb 2024 14:11:00 +0000 (GMT) [thread overview] Message-ID: <20240207141100.14C773858408@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=eb90cc44a69fb05d73bb8140ed528f1276daab57 commit eb90cc44a69fb05d73bb8140ed528f1276daab57 Author: Adhemerval Zanella <adhemerval.zanella@linaro.org> Date: Thu Aug 25 09:48:57 2022 -0300 x86: Use inhibit_stack_protector on tst-ifunc-isa.h Diff: --- sysdeps/x86/tst-ifunc-isa.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sysdeps/x86/tst-ifunc-isa.h b/sysdeps/x86/tst-ifunc-isa.h index dc79d260ca..b1f28ef2e1 100644 --- a/sysdeps/x86/tst-ifunc-isa.h +++ b/sysdeps/x86/tst-ifunc-isa.h @@ -16,6 +16,7 @@ License along with the GNU C Library; if not, see <https://www.gnu.org/licenses/>. */ +#include <stackprotector.h> #include <sys/platform/x86.h> enum isa @@ -29,7 +30,7 @@ enum isa }; enum isa -__attribute__ ((__optimize__ ("-fno-stack-protector"))) +inhibit_stack_protector get_isa (void) { if (CPU_FEATURE_ACTIVE (AVX512F)) @@ -84,7 +85,7 @@ isa_none (void) int foo (void) __attribute__ ((ifunc ("foo_ifunc"))); void * -__attribute__ ((__optimize__ ("-fno-stack-protector"))) +inhibit_stack_protector foo_ifunc (void) { switch (get_isa ())
next reply other threads:[~2024-02-07 14:11 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2024-02-07 14:11 Adhemerval Zanella [this message] -- strict thread matches above, loose matches on Subject: below -- 2024-04-17 20:11 Adhemerval Zanella 2024-04-02 15:57 Adhemerval Zanella 2024-02-09 17:35 Adhemerval Zanella 2024-01-29 18:01 Adhemerval Zanella 2023-12-21 18:57 Adhemerval Zanella 2023-09-28 17:55 Adhemerval Zanella 2023-08-30 12:40 Adhemerval Zanella 2023-02-09 19:52 Adhemerval Zanella 2022-10-28 17:45 Adhemerval Zanella 2022-10-04 13:03 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=20240207141100.14C773858408@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).