aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@bitrange.com>2018-06-12 18:37:19 +0200
committerHans-Peter Nilsson <hp@bitrange.com>2018-06-12 18:37:19 +0200
commit1d3bf4a0a07d0758842fa5cc584b95771e7c226c (patch)
tree928d2dc318b6776ba2622a4fcf3a08c590dff1c5 /ld/testsuite
parent212b9bc7b4cfa7702005928dc3bffb3ba3a6e19a (diff)
downloadgdb-1d3bf4a0a07d0758842fa5cc584b95771e7c226c.zip
gdb-1d3bf4a0a07d0758842fa5cc584b95771e7c226c.tar.gz
gdb-1d3bf4a0a07d0758842fa5cc584b95771e7c226c.tar.bz2
testsuite/ld-cris/libdso-1.d: Correct recent address pattern update.
Diffstat (limited to 'ld/testsuite')
-rw-r--r--ld/testsuite/ld-cris/libdso-1.d4
1 files changed, 3 insertions, 1 deletions
diff --git a/ld/testsuite/ld-cris/libdso-1.d b/ld/testsuite/ld-cris/libdso-1.d
index 2ad44af..5a7e9a1 100644
--- a/ld/testsuite/ld-cris/libdso-1.d
+++ b/ld/testsuite/ld-cris/libdso-1.d
@@ -4,10 +4,12 @@
#objdump: -T
# Just check that we actually got a DSO with the dsofn symbol.
+# The pattern also makes sure that the address (modulo 16) is non-zero
+# and even.
.*: file format elf32-cris
DYNAMIC SYMBOL TABLE:
#...
-000000.[02468ace] g DF .text 0+2 dsofn
+0+[^0]+0*[02468ace] g DF .text 0+2 dsofn
#pass