aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2024-08-28 21:33:17 +0930
committerAlan Modra <amodra@gmail.com>2024-08-28 22:19:38 +0930
commit0eb85fc2422bf668d95fd7bd96ea0d39043d3d3e (patch)
tree0d34d4da48f064f716df4f45126bb41ae83ce69f /ld
parent86db7e7da8081bb8de5235ecefe03d2a9686ceda (diff)
downloadfsf-binutils-gdb-0eb85fc2422bf668d95fd7bd96ea0d39043d3d3e.zip
fsf-binutils-gdb-0eb85fc2422bf668d95fd7bd96ea0d39043d3d3e.tar.gz
fsf-binutils-gdb-0eb85fc2422bf668d95fd7bd96ea0d39043d3d3e.tar.bz2
Re: x86: Allow R_386_TLS_LE_32 with KMOVD
Adjust the new test to pass on i686-pc-elf where it failed due to not matching the _start address.
Diffstat (limited to 'ld')
-rw-r--r--ld/testsuite/ld-i386/tlsle1.d13
1 files changed, 6 insertions, 7 deletions
diff --git a/ld/testsuite/ld-i386/tlsle1.d b/ld/testsuite/ld-i386/tlsle1.d
index d304e7b..d1b65f2 100644
--- a/ld/testsuite/ld-i386/tlsle1.d
+++ b/ld/testsuite/ld-i386/tlsle1.d
@@ -5,12 +5,11 @@
.*: +file format .*
+Disassembly of section \.text:
-Disassembly of section .text:
-
-0+8049000 <_start>:
- +[a-f0-9]+: 65 c4 e1 f9 90 05 04 00 00 00 kmovd %gs:0x4,%k0
- +[a-f0-9]+: c4 e1 f9 90 80 04 00 00 00 kmovd 0x4\(%eax\),%k0
- +[a-f0-9]+: 65 c4 e1 f9 90 05 fc ff ff ff kmovd %gs:0xfffffffc,%k0
- +[a-f0-9]+: c4 e1 f9 90 80 fc ff ff ff kmovd -0x4\(%eax\),%k0
+.* <_start>:
+.*: 65 c4 e1 f9 90 05 04 00 00 00 kmovd %gs:0x4,%k0
+.*: c4 e1 f9 90 80 04 00 00 00 kmovd 0x4\(%eax\),%k0
+.*: 65 c4 e1 f9 90 05 fc ff ff ff kmovd %gs:0xfffffffc,%k0
+.*: c4 e1 f9 90 80 fc ff ff ff kmovd -0x4\(%eax\),%k0
#pass