From: Alan Modra Date: Wed, 28 Aug 2024 12:03:17 +0000 (+0930) Subject: Re: x86: Allow R_386_TLS_LE_32 with KMOVD X-Git-Tag: gdb-16-branchpoint~1051 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0eb85fc2422bf668d95fd7bd96ea0d39043d3d3e;p=thirdparty%2Fbinutils-gdb.git 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 --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