]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Re: x86: Allow R_386_TLS_LE_32 with KMOVD
authorAlan Modra <amodra@gmail.com>
Wed, 28 Aug 2024 12:03:17 +0000 (21:33 +0930)
committerAlan Modra <amodra@gmail.com>
Wed, 28 Aug 2024 12:49:38 +0000 (22:19 +0930)
Adjust the new test to pass on i686-pc-elf where it failed due to not
matching the _start address.

ld/testsuite/ld-i386/tlsle1.d

index d304e7b5170c32ac0eb57dd397f06fe0d7339465..d1b65f2f47fc055c002fd8e9eb99c2a56cfc17f9 100644 (file)
@@ -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