修訂 | b6a2df5856c774f9469e0be4840401e295031ea9 (tree) |
---|---|
時間 | 2019-11-18 01:35:28 |
作者 | Yann Sionneau <ysionneau@kalr...> |
Commiter | Waldemar Brodkorb |
riscv64: fix comments borrowed from or1k port
Signed-off-by: Yann Sionneau <ysionneau@kalray.eu>
@@ -17,7 +17,7 @@ | ||
17 | 17 | #include <sysdeps/generic/libc-tls.c> |
18 | 18 | #include <dl-tls.h> |
19 | 19 | |
20 | -/* On OpenRISC, linker optimizations are not required, so __tls_get_addr | |
20 | +/* On RISC-V 64, linker optimizations are not required, so __tls_get_addr | |
21 | 21 | can be called even in statically linked binaries. In this case module |
22 | 22 | must be always 1 and PT_TLS segment exist in the binary, otherwise it |
23 | 23 | would not link. */ |
@@ -1,4 +1,4 @@ | ||
1 | -/* Definition for thread-local data handling. NPTL/OR1K version. | |
1 | +/* Definition for thread-local data handling. NPTL/RISCV64 version. | |
2 | 2 | Copyright (C) 2005, 2007, 2011 Free Software Foundation, Inc. |
3 | 3 | This file is part of the GNU C Library. |
4 | 4 |
@@ -70,7 +70,7 @@ register tcbhead_t *__thread_self __asm__("tp"); | ||
70 | 70 | * ------------------------------------ |
71 | 71 | * | PRE | TCB | TLS MEMORY .. | |
72 | 72 | * ------------------------------------ |
73 | - * ^ r10 / TP | |
73 | + * ^ x4 / TP | |
74 | 74 | * |
75 | 75 | * PRE is the struct pthread described below |
76 | 76 | * TCB is tcbhead_t |