]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
PR100750: Require ELFv2 ABI for ROP test
authorBill Schmidt <wschmidt@linux.ibm.com>
Tue, 1 Jun 2021 20:47:22 +0000 (15:47 -0500)
committerBill Schmidt <wschmidt@linux.ibm.com>
Tue, 1 Jun 2021 20:47:22 +0000 (15:47 -0500)
2021-06-01  Bill Schmidt  <wschmidt@linux.ibm.com>

gcc/testsuite/
PR testsuite/100750
* gcc.target/powerpc/rop-5.c: Require ELFv2 ABI.

gcc/testsuite/gcc.target/powerpc/rop-5.c

index cf04ea90eeb43ac60687e3f2124d21de22a34fef..f2594df8a44eb454189bf09cecf7a4060cc16c4e 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-do compile } */
+/* { dg-require-effective-target powerpc_elfv2 } */
 /* { dg-options "-O2 -mdejagnu-cpu=power10 -mrop-protect" } */
 
 /* Verify that __ROP_PROTECT__ is predefined for -mrop-protect.  */