From 76be72dde43e3cbcf50f8769c394a216cca23851 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Thu, 6 Oct 2022 15:17:10 +0000 Subject: [PATCH] Add __tls_get_addr for riscv64. We added this symbol somewhat inconsistently, with arm and x86-64 in one release and arm64 in another. It doesn't really matter where we add riscv64 (since there was no riscv64 at either of these now-historical API levels), so arbitrarily go with the majority. Signed-off-by: Mao Han Signed-off-by: Xia Lifang Signed-off-by: Chen Guoyin Signed-off-by: Wang Chen Signed-off-by: Lu Xufan Test: treehugger Change-Id: I1ef1e0ebdbece728aaef52c08ee57cca1197cb95 --- libc/libc.map.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libc/libc.map.txt b/libc/libc.map.txt index 7bcee9d40..dc1b6f646 100644 --- a/libc/libc.map.txt +++ b/libc/libc.map.txt @@ -1449,7 +1449,7 @@ LIBC_Q { # introduced=Q ___tls_get_addr; # x86 __aeabi_read_tp; # arm __res_randomid; - __tls_get_addr; # arm x86_64 + __tls_get_addr; # arm riscv64 x86_64 android_fdsan_close_with_tag; android_fdsan_create_owner_tag; android_fdsan_exchange_owner_tag;