[PATCH 08/11] s390: Reference proper variable in linker TLS IE test

Jens Remus jremus@linux.ibm.com
Thu Nov 13 13:21:41 GMT 2025


In TLS Local Exec (LE) model test "IE -> LE against local var" reference
the same TLS variable (sl1) on the load instruction marker as referenced
in the literal pool entry (.LC15)

ld/testsuite/
	* ld-s390/tlsbinpic_64.s: Reference proper variable in linker TLS
	"IE -> LE against local var" test.

Signed-off-by: Jens Remus <jremus@linux.ibm.com>
---
 ld/testsuite/ld-s390/tlsbinpic_64.s | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ld/testsuite/ld-s390/tlsbinpic_64.s b/ld/testsuite/ld-s390/tlsbinpic_64.s
index b849156ed0fb..4b0c5020aa12 100644
--- a/ld/testsuite/ld-s390/tlsbinpic_64.s
+++ b/ld/testsuite/ld-s390/tlsbinpic_64.s
@@ -135,7 +135,7 @@ fn2:
 
 	/* IE -> LE against local var */
 	lg	%r3,.LC15-.LT1(%r13)
-	lg	%r4,0(%r3,%r12):tls_load:sl2
+	lg	%r4,0(%r3,%r12):tls_load:sl1
 	la	%r5,0(%r4,%r9)
 
 	/* IE -> LE against hidden var */
-- 
2.48.1



More information about the Binutils mailing list