[PATCH 10/11] s390: Use proper operand modifier in linker TLS LE tests
Jens Remus
jremus@linux.ibm.com
Thu Nov 13 13:21:43 GMT 2025
In TLS Local Exec (LE) model tests use the proper operand modifier
@ntpoff instead of @indntpoff. Note that there is no related change
in the expected test results as the bad IE @indntpoff modifier got
rewritten to @ntpoff due to IE -> LE transition.
ld/testsuite/
* ld-s390/tlsbin.s: Use operand modifier @ntpoff in LE test.
* ld-s390/tlsbin_64.s: Likewise.
* ld-s390/tlsbin.dd: Likewise.
* ld-s390/tlsbin_64.dd: Likewise.
Signed-off-by: Jens Remus <jremus@linux.ibm.com>
---
ld/testsuite/ld-s390/tlsbin.dd | 2 +-
ld/testsuite/ld-s390/tlsbin.s | 2 +-
ld/testsuite/ld-s390/tlsbin_64.dd | 2 +-
ld/testsuite/ld-s390/tlsbin_64.s | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/ld/testsuite/ld-s390/tlsbin.dd b/ld/testsuite/ld-s390/tlsbin.dd
index 192e1c396b95..015a9eb1df2a 100644
--- a/ld/testsuite/ld-s390/tlsbin.dd
+++ b/ld/testsuite/ld-s390/tlsbin.dd
@@ -158,7 +158,7 @@ Disassembly of section .text:
+[0-9a-f]+: ff ff ff f4 .long 0xfffffff4
# sh6@indntpoff -> sh6@ntpoff
+[0-9a-f]+: ff ff ff b4 .long 0xffffffb4
-# sg3@indntpoff
+# sg3@ntpoff
+[0-9a-f]+: ff ff ff 68 .long 0xffffff68
# function prologue (cont.)
+[0-9a-f]+: 18 bf lr %r11,%r15
diff --git a/ld/testsuite/ld-s390/tlsbin.s b/ld/testsuite/ld-s390/tlsbin.s
index 43c17b214c05..967f1210ed5d 100644
--- a/ld/testsuite/ld-s390/tlsbin.s
+++ b/ld/testsuite/ld-s390/tlsbin.s
@@ -34,7 +34,7 @@ _start:
.LC3:
.long sh6@indntpoff
.LC4:
- .long sg3@indntpoff
+ .long sg3@ntpoff
.LTN1:
/* Function prologue (cont.) */
lr %r11,%r15
diff --git a/ld/testsuite/ld-s390/tlsbin_64.dd b/ld/testsuite/ld-s390/tlsbin_64.dd
index db16af64e750..f2b23b3643ad 100644
--- a/ld/testsuite/ld-s390/tlsbin_64.dd
+++ b/ld/testsuite/ld-s390/tlsbin_64.dd
@@ -188,7 +188,7 @@ Disassembly of section .text:
# sh6@indntpoff -> sh6@ntpoff
+[0-9a-f]+: ff ff ff ff .long 0xffffffff
+[0-9a-f]+: ff ff ff b4 .long 0xffffffb4
-# sg3@indntpoff
+# sg3@ntpoff
+[0-9a-f]+: ff ff ff ff .long 0xffffffff
+[0-9a-f]+: ff ff ff 68 .long 0xffffff68
# function prologue (cont.)
diff --git a/ld/testsuite/ld-s390/tlsbin_64.s b/ld/testsuite/ld-s390/tlsbin_64.s
index 15c3bc32e3bb..b967a81ef4c9 100644
--- a/ld/testsuite/ld-s390/tlsbin_64.s
+++ b/ld/testsuite/ld-s390/tlsbin_64.s
@@ -34,7 +34,7 @@ _start:
.LC3:
.quad sh6@indntpoff
.LC4:
- .quad sg3@indntpoff
+ .quad sg3@ntpoff
.LTN1:
/* Function prologue (cont.) */
lgr %r11,%r15
--
2.48.1
More information about the Binutils
mailing list