aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <mcgrathr@google.com>2021-05-11 17:00:30 -0700
committerRoland McGrath <mcgrathr@google.com>2021-05-11 17:00:51 -0700
commit4a1ad5c9e439647917ebad6829b5965c13fc9aaa (patch)
tree50f2a9d8cc4c1bce3890b6aac415399822e56ddb
parentad9e0d9c8b039a724f14697632635191593cfd5e (diff)
downloadfsf-binutils-gdb-4a1ad5c9e439647917ebad6829b5965c13fc9aaa.zip
fsf-binutils-gdb-4a1ad5c9e439647917ebad6829b5965c13fc9aaa.tar.gz
fsf-binutils-gdb-4a1ad5c9e439647917ebad6829b5965c13fc9aaa.tar.bz2
x86-64/ELF: Fix "clear src_mask for all reloc types" test case
ld/ * testsuite/ld-x86-64/rela.d: Fix regexp not to presume a specific address layout, so it works for e.g. --target=x86-64-elf.
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/testsuite/ld-x86-64/rela.d2
2 files changed, 6 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 68328a8..eec7977 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+2021-05-11 Roland McGrath <mcgrathr@google.com>
+
+ * testsuite/ld-x86-64/rela.d: Fix regexp not to presume a specific
+ address layout, so it works for e.g. --target=x86-64-elf.
+
2021-05-11 Nick Clifton <nickc@redhat.com>
PR 27113
diff --git a/ld/testsuite/ld-x86-64/rela.d b/ld/testsuite/ld-x86-64/rela.d
index ac91834..20bb7e3 100644
--- a/ld/testsuite/ld-x86-64/rela.d
+++ b/ld/testsuite/ld-x86-64/rela.d
@@ -7,4 +7,4 @@
.*: +file format .*
Contents of section .data:
- *[0-9a-f]*0 08 ?.. ?.. ?.. 00 ?00 ?00 ?00 00 ?.. ?.. ?.. 44 ?44 ?44 ?44 .*
+ *[0-9a-f]*0 .8 ?.. ?.. ?.. 00 ?00 ?00 ?00 .0 ?.. ?.. ?.. 44 ?44 ?44 ?44 .*