diff mbox series

[COMMITTED] cet: Drop '#pragma GCC target' in tst-cet-legacy-10a[-static].c

Message ID 20241220221541.709830-1-hjl.tools@gmail.com
State New
Headers show
Series [COMMITTED] cet: Drop '#pragma GCC target' in tst-cet-legacy-10a[-static].c | expand

Commit Message

H.J. Lu Dec. 20, 2024, 10:15 p.m. UTC
From: Adhemerval Zanella <adhemerval.zanella@linaro.org>

After

commit 215447f5cbcf1a494cded57734f68d7f9c2b0dc0
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Tue Dec 17 06:18:55 2024 +0800

    cet: Pass -mshstk to compiler for tst-cet-legacy-10a[-static].c

we can remove '#pragma GCC target' in tst-cet-legacy-10a[-static].c.

Co-Authored-By: H.J. Lu <hjl.tools@gmail.com>
---
 sysdeps/x86_64/tst-cet-legacy-10a-static.c | 1 -
 sysdeps/x86_64/tst-cet-legacy-10a.c        | 1 -
 2 files changed, 2 deletions(-)
diff mbox series

Patch

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"