aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-misc
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2020-07-28 10:43:34 +0930
committerAlan Modra <amodra@gmail.com>2020-07-28 13:09:20 +0930
commitc38166b376b03dc967b2715a09db0b5667fa9e49 (patch)
tree318eb3c8532674a701898de48590e1611d7df943 /ld/testsuite/ld-misc
parentcf0ae6e41f20c8f555d8c9d3c2119eabfb72af8d (diff)
downloadgdb-c38166b376b03dc967b2715a09db0b5667fa9e49.zip
gdb-c38166b376b03dc967b2715a09db0b5667fa9e49.tar.gz
gdb-c38166b376b03dc967b2715a09db0b5667fa9e49.tar.bz2
Re: Allow new just-symbols test to run on XCOFF and PE
This ensures we don't match random data *before* the line we want to see, ie. that --just-symbols has excluded section contents from just-symbols-0.o. Oops, missed the ChangeLog entry before too. * testsuite/ld-misc/just-symbols-1.dd: Revert last change.
Diffstat (limited to 'ld/testsuite/ld-misc')
-rw-r--r--ld/testsuite/ld-misc/just-symbols-1.dd4
1 files changed, 3 insertions, 1 deletions
diff --git a/ld/testsuite/ld-misc/just-symbols-1.dd b/ld/testsuite/ld-misc/just-symbols-1.dd
index 9502566..8908a23 100644
--- a/ld/testsuite/ld-misc/just-symbols-1.dd
+++ b/ld/testsuite/ld-misc/just-symbols-1.dd
@@ -1,3 +1,5 @@
-#...
+.*: +file format .*
+
+Contents of section \.data:
[0-9a-f]+ (?:(:?12000000|00120000|00000012) 0{8}|0{8} 00000012) 0{8} 0{8} .*
#pass