git: 1251cf8a30ac - main - rtld-elf/libmap.c: correct comment
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 18 Sep 2022 22:50:00 UTC
The branch main has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=1251cf8a30ac496e8c672948dabb9291a17ad71a
commit 1251cf8a30ac496e8c672948dabb9291a17ad71a
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2022-09-18 22:16:52 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2022-09-18 22:49:41 +0000
rtld-elf/libmap.c: correct comment
There is no intent to support TLS for rtld.
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
---
libexec/rtld-elf/libmap.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libexec/rtld-elf/libmap.c b/libexec/rtld-elf/libmap.c
index 854c73f39ef7..5a7c01f9d179 100644
--- a/libexec/rtld-elf/libmap.c
+++ b/libexec/rtld-elf/libmap.c
@@ -58,8 +58,8 @@ static const char *quickbasename(const char *);
((c) == '\n') || ((c) == '\r'))
/*
- * Do not use ctype.h macros, which rely on working TLS. It is
- * too early to have thread-local variables functional.
+ * Do not use ctype.h macros, which rely on working TLS. Rtld does
+ * not support TLS for itself.
*/
#define rtld_isspace(c) ((c) == ' ' || (c) == '\t')