aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2024-09-27 11:41:27 +0200
committerJan Beulich <jbeulich@suse.com>2024-09-27 11:41:27 +0200
commitdfa9ee01a4e595033567119e48f54a56ccf97dbd (patch)
tree02d7b25655cd3f5382f42ea91576e012a7b2c987 /gas
parent9a788db16aef1d87f61138b65a0763818a234a6c (diff)
downloadbinutils-master.zip
binutils-master.tar.gz
binutils-master.tar.bz2
x86: fix Solaris gas testsuite runHEADmaster
Commits 8015b1b0c1a1 ("x86-64: Never make R_X86_64_GOT64 section relative"), d774bf9b3623 ("x86: Add tls check in gas"), and 1b714c14e40f ("x86: Turn PLT32 to PC32 only for PC-relative relocations") all should have adjusted the Solaris counterpart of the reloc64 test as well.
Diffstat (limited to 'gas')
-rw-r--r--gas/testsuite/gas/i386/solaris/reloc64.d10
1 files changed, 9 insertions, 1 deletions
diff --git a/gas/testsuite/gas/i386/solaris/reloc64.d b/gas/testsuite/gas/i386/solaris/reloc64.d
index 5b4b91e..e316e78 100644
--- a/gas/testsuite/gas/i386/solaris/reloc64.d
+++ b/gas/testsuite/gas/i386/solaris/reloc64.d
@@ -1,4 +1,4 @@
-#as: -mx86-used-note=no
+#as: -mx86-used-note=no -mtls-check=no
#source: ../reloc64.s
#objdump: -Drw
#name: x86-64 relocs
@@ -57,6 +57,9 @@ Disassembly of section \.text:
.*[ ]+R_X86_64_32[ ]+xtrn
.*[ ]+R_X86_64_32S[ ]+xtrn
.*[ ]+R_X86_64_32[ ]+xtrn
+.*[ ]+R_X86_64_GOT64[ ]+ptr
+.*[ ]+R_X86_64_GOTOFF64[ ]+Ldst
+.*[ ]+R_X86_64_PLT32[ ]+ptr
Disassembly of section \.data:
#...
.*[ ]+R_X86_64_64[ ]+xtrn
@@ -97,3 +100,8 @@ Disassembly of section \.data:
.*[ ]+R_X86_64_GOT32[ ]+xtrn-0x4
.*[ ]+R_X86_64_GOT32[ ]+xtrn\+0x4
.*[ ]+R_X86_64_GOTPLT64[ ]+xtrn
+
+.* <ptr>:
+ ...
+.* <Ldst>:
+ ...