This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
[binutils-gdb] testsuite/ld-cris/libdso-1.d: Correct recent address pattern update.
- From: Hans-Peter Nilsson <hp at sourceware dot org>
- To: bfd-cvs at sourceware dot org
- Date: 12 Jun 2018 16:37:49 -0000
- Subject: [binutils-gdb] testsuite/ld-cris/libdso-1.d: Correct recent address pattern update.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=1d3bf4a0a07d0758842fa5cc584b95771e7c226c
commit 1d3bf4a0a07d0758842fa5cc584b95771e7c226c
Author: Hans-Peter Nilsson <hp@bitrange.com>
Date: Tue Jun 12 18:37:19 2018 +0200
testsuite/ld-cris/libdso-1.d: Correct recent address pattern update.
Diff:
---
ld/ChangeLog | 4 ++++
ld/testsuite/ld-cris/libdso-1.d | 4 +++-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 25522c1..976e6f1 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,7 @@
+2018-06-12 Hans-Peter Nilsson <hp@axis.com>
+
+ * testsuite/ld-cris/libdso-1.d: Correct recent address pattern update.
+
2018-06-12 Nick Clifton <nickc@redhat.com>
PR 22983
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