aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2013-05-21 07:15:22 +0000
committerAlan Modra <amodra@gmail.com>2013-05-21 07:15:22 +0000
commitc22554775b23abbf5927a44611ae344784f08514 (patch)
tree2b555bcbccf73557e6443697f0d8c25d764eb522 /ld/testsuite
parent776af39ed756acf5f49eff83a6ca265e35c4b217 (diff)
downloadgdb-c22554775b23abbf5927a44611ae344784f08514.zip
gdb-c22554775b23abbf5927a44611ae344784f08514.tar.gz
gdb-c22554775b23abbf5927a44611ae344784f08514.tar.bz2
PR ld/12982
* ld-plugin/pr12982.d: Fail if RWE GNU_STACK present.
Diffstat (limited to 'ld/testsuite')
-rw-r--r--ld/testsuite/ChangeLog5
-rw-r--r--ld/testsuite/ld-plugin/pr12982.d3
2 files changed, 7 insertions, 1 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index a1712bf..cad469c 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,5 +1,10 @@
2013-05-21 Alan Modra <amodra@gmail.com>
+ PR ld/12982
+ * ld-plugin/pr12982.d: Fail if RWE GNU_STACK present.
+
+2013-05-21 Alan Modra <amodra@gmail.com>
+
* ld-powerpc/export-class.exp (supports_ppc64): Delete.
(powerpc_export_class_test): Add "endian" param.
(abis): Add little-endian targets and test.
diff --git a/ld/testsuite/ld-plugin/pr12982.d b/ld/testsuite/ld-plugin/pr12982.d
index f536d5b..9b01a58 100644
--- a/ld/testsuite/ld-plugin/pr12982.d
+++ b/ld/testsuite/ld-plugin/pr12982.d
@@ -1,3 +1,4 @@
+#failif
#...
-[ \t]+GNU_STACK[ \t]+0x[0-9a-f]+ +0x[0-9a-f]+ +0x[0-9a-f]+ +0x[0-9a-f]+ +0x[0-9a-f]+ +RW +0x[0-9a-f]+
+ +GNU_STACK .* RWE .*
#pass