[PATCH 04/15] s390: Linker TLS test fixes and cleanups
Jens Remus
jremus@linux.ibm.com
Mon Nov 10 08:54:51 GMT 2025
On 11/7/2025 5:34 PM, Jens Remus wrote:
> In TLS Local Exec (LE) model tests use the proper operand modifier
> @ntpoff instead of @indntpoff. Note that @indntpoff got rewritten
> to @ntpoff due to IE -> LE transition.
> diff --git a/ld/testsuite/ld-s390/tlsbin_64.dd b/ld/testsuite/ld-s390/tlsbin_64.dd
> @@ -187,21 +187,21 @@ Disassembly of section .text:
> # sh6@indntpoff
> +[0-9a-f]+: ff ff ff ff .long 0xffffffff
> +[0-9a-f]+: ff ff ff b4 .long 0xffffffb4
While the literal pool entry is originally for sh6@indntpoff (IE)
it transitioned to sh6@ntpoff (LE). I will update the comments as
follows:
diff --git a/ld/testsuite/ld-s390/tlsbin_64.dd b/ld/testsuite/ld-s390/tlsbin_64.dd
@@ -58,13 +58,13 @@ Disassembly of section .text:
# sG2@gotntpoff
+[0-9a-f]+: 00 00 00 00 .long 0x00000000
+[0-9a-f]+: 00 00 00 40 .long 0x00000040
-# sg1@gotntpoff
+# sg1@gotntpoff -> sg1@ntpoff
+[0-9a-f]+: ff ff ff ff .long 0xffffffff
+[0-9a-f]+: ff ff ff 60 .long 0xffffff60
-# sl1@gotntpoff
+# sl1@gotntpoff -> sl1@ntpoff
+[0-9a-f]+: ff ff ff ff .long 0xffffffff
+[0-9a-f]+: ff ff ff 80 .long 0xffffff80
-# sh1@gotntpoff
+# sh1@gotntpoff -> sh1@ntpoff
+[0-9a-f]+: ff ff ff ff .long 0xffffffff
+[0-9a-f]+: ff ff ff a0 .long 0xffffffa0
# function prologue (cont.)
@@ -178,13 +178,13 @@ Disassembly of section .text:
# sG6@indntpoff
+[0-9a-f]+: 00 00 00 00 .long 0x00000000
+[0-9a-f]+: 01 00 18 08 .long 0x01001808
-# bg6@indntpoff
+# bg6@indntpoff -> bg6@ntpoff
+[0-9a-f]+: ff ff ff ff .long 0xffffffff
+[0-9a-f]+: ff ff ff d4 .long 0xffffffd4
-# bl6@indntpoff
+# bl6@indntpoff -> bl6@ntpoff
+[0-9a-f]+: ff ff ff ff .long 0xffffffff
+[0-9a-f]+: ff ff ff f4 .long 0xfffffff4
-# sh6@indntpoff
+# sh6@indntpoff -> sh6@ntpoff
+[0-9a-f]+: ff ff ff ff .long 0xffffffff
+[0-9a-f]+: ff ff ff b4 .long 0xffffffb4
# sg3@ntpoff
Likewise for the s390 32-bit test.
Regards,
Jens
--
Jens Remus
Linux on Z Development (D3303)
+49-7031-16-1128 Office
jremus@de.ibm.com
IBM
IBM Deutschland Research & Development GmbH; Vorsitzender des Aufsichtsrats: Wolfgang Wendt; Geschäftsführung: David Faller; Sitz der Gesellschaft: Böblingen; Registergericht: Amtsgericht Stuttgart, HRB 243294
IBM Data Privacy Statement: https://www.ibm.com/privacy/
More information about the Binutils
mailing list