summaryrefslogtreecommitdiff
path: root/libpthread/nptl/sysdeps/riscv64/libc-tls.c
diff options
context:
space:
mode:
authorYann Sionneau <ysionneau@kalray.eu>2019-11-08 14:50:27 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2019-11-17 17:35:28 +0100
commitb6a2df5856c774f9469e0be4840401e295031ea9 (patch)
tree90c822ea97fe5b453551aad989f8be35f83cb3f8 /libpthread/nptl/sysdeps/riscv64/libc-tls.c
parentf115e689750f6e94341d4dde8e10670ab3a3d746 (diff)
riscv64: fix comments borrowed from or1k port
Signed-off-by: Yann Sionneau <ysionneau@kalray.eu>
Diffstat (limited to 'libpthread/nptl/sysdeps/riscv64/libc-tls.c')
-rw-r--r--libpthread/nptl/sysdeps/riscv64/libc-tls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpthread/nptl/sysdeps/riscv64/libc-tls.c b/libpthread/nptl/sysdeps/riscv64/libc-tls.c
index 500de1d64..67c3a6016 100644
--- a/libpthread/nptl/sysdeps/riscv64/libc-tls.c
+++ b/libpthread/nptl/sysdeps/riscv64/libc-tls.c
@@ -17,7 +17,7 @@
#include <sysdeps/generic/libc-tls.c>
#include <dl-tls.h>
-/* On OpenRISC, linker optimizations are not required, so __tls_get_addr
+/* On RISC-V 64, linker optimizations are not required, so __tls_get_addr
can be called even in statically linked binaries. In this case module
must be always 1 and PT_TLS segment exist in the binary, otherwise it
would not link. */