[binutils-gdb] Re: x86: Allow R_386_TLS_LE_32 with KMOVD

Alan Modra amodra@sourceware.org
Wed Aug 28 12:50:10 GMT 2024


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

commit 0eb85fc2422bf668d95fd7bd96ea0d39043d3d3e
Author: Alan Modra <amodra@gmail.com>
Date:   Wed Aug 28 21:33:17 2024 +0930

    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.

Diff:
---
 ld/testsuite/ld-i386/tlsle1.d | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/ld/testsuite/ld-i386/tlsle1.d b/ld/testsuite/ld-i386/tlsle1.d
index d304e7b5170..d1b65f2f47f 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


More information about the Binutils-cvs mailing list