[binutils-gdb] x86-64/ELF: Fix "clear src_mask for all reloc types" test case

Roland McGrath roland@sourceware.org
Wed May 12 00:04:32 GMT 2021


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=4a1ad5c9e439647917ebad6829b5965c13fc9aaa

commit 4a1ad5c9e439647917ebad6829b5965c13fc9aaa
Author: Roland McGrath <mcgrathr@google.com>
Date:   Tue May 11 17:00:30 2021 -0700

    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.

Diff:
---
 ld/ChangeLog                  | 5 +++++
 ld/testsuite/ld-x86-64/rela.d | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/ld/ChangeLog b/ld/ChangeLog
index 68328a8aac2..eec797754ed 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 ac91834e4c4..20bb7e35232 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 .*


More information about the Binutils-cvs mailing list