summaryrefslogtreecommitdiff
path: root/libpthread/nptl/sysdeps/riscv64/tls.h
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/tls.h
parentf115e689750f6e94341d4dde8e10670ab3a3d746 (diff)
riscv64: fix comments borrowed from or1k port
Signed-off-by: Yann Sionneau <ysionneau@kalray.eu>
Diffstat (limited to 'libpthread/nptl/sysdeps/riscv64/tls.h')
-rw-r--r--libpthread/nptl/sysdeps/riscv64/tls.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libpthread/nptl/sysdeps/riscv64/tls.h b/libpthread/nptl/sysdeps/riscv64/tls.h
index 33a378154..8295c7148 100644
--- a/libpthread/nptl/sysdeps/riscv64/tls.h
+++ b/libpthread/nptl/sysdeps/riscv64/tls.h
@@ -1,4 +1,4 @@
-/* Definition for thread-local data handling. NPTL/OR1K version.
+/* Definition for thread-local data handling. NPTL/RISCV64 version.
Copyright (C) 2005, 2007, 2011 Free Software Foundation, Inc.
This file is part of the GNU C Library.
@@ -70,7 +70,7 @@ register tcbhead_t *__thread_self __asm__("tp");
* ------------------------------------
* | PRE | TCB | TLS MEMORY .. |
* ------------------------------------
- * ^ r10 / TP
+ * ^ x4 / TP
*
* PRE is the struct pthread described below
* TCB is tcbhead_t