From cc73d7ad749df8d53da442faa2e7af5d69357b33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Sat, 23 Nov 2024 01:24:51 +0100 Subject: [PATCH] musl: Mark __tls_get_addr as hidden before invoking it on s390x. https://www.openwall.com/lists/musl/2024/11/23/3 --- lib/libc/musl/src/thread/s390x/__tls_get_offset.s | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/libc/musl/src/thread/s390x/__tls_get_offset.s b/lib/libc/musl/src/thread/s390x/__tls_get_offset.s index 8ee92de8ea..2e0913ccb0 100644 --- a/lib/libc/musl/src/thread/s390x/__tls_get_offset.s +++ b/lib/libc/musl/src/thread/s390x/__tls_get_offset.s @@ -5,6 +5,7 @@ __tls_get_offset: aghi %r15, -160 la %r2, 0(%r2, %r12) +.hidden __tls_get_addr brasl %r14, __tls_get_addr ear %r1, %a0