[committed] exec-stack warning for test which wants executable stacks
authorJeff Law <jeffreyalaw@gmail.com>
Sun, 24 Apr 2022 17:38:14 +0000 (13:38 -0400)
committerJeff Law <jeffreyalaw@gmail.com>
Sun, 24 Apr 2022 17:39:22 +0000 (13:39 -0400)
gcc/testsuite
* gcc.dg/lto/pr94157_0.c: Also request executable stack from
the linker.

gcc/testsuite/gcc.dg/lto/pr94157_0.c

index a6e308b..a76141b 100644 (file)
@@ -1,6 +1,6 @@
 /* { dg-lto-do link } */
 /* { dg-require-effective-target gas } */
-/* { dg-lto-options { { -O0 -fipa-vrp -flto -Wa,--noexecstack -Wa,--noexecstack -Wa,--execstack  -Wa,--execstack -Wa,--execstack -Wa,--execstack -Wa,--execstack -Wa,--execstack -Wa,--execstack -Wa,--execstack -Wa,--execstack -Wa,--execstack -Wa,--execstack -Wa,--execstack -Wa,--execstack -Wa,--execstack } } } */
+/* { dg-lto-options { { -O0 -fipa-vrp -flto -Wa,--noexecstack -Wa,--noexecstack -Wa,--execstack  -Wa,--execstack -Wa,--execstack -Wa,--execstack -Wa,--execstack -Wa,--execstack -Wa,--execstack -Wa,--execstack -Wa,--execstack -Wa,--execstack -Wa,--execstack -Wa,--execstack -Wa,--execstack -Wa,--execstack -Wl,-z,execstack} } } */
 
 int main() {