git: 479ef15dfd9f - main - libc: Teak comment about mips

From: Warner Losh <imp_at_FreeBSD.org>
Date: Mon, 10 Jan 2022 17:18:15 UTC
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=479ef15dfd9f0f7934094a05f80d02f44eb046cc

commit 479ef15dfd9f0f7934094a05f80d02f44eb046cc
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2022-01-10 17:14:12 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2022-01-10 17:15:15 +0000

    libc: Teak comment about mips
    
    Remove mips from the list of machines using TLS variant I and reformat
    paragraph. No functional change intended.
    
    Sponsored by:           Netflix
---
 lib/libc/gen/tls.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/lib/libc/gen/tls.c b/lib/libc/gen/tls.c
index d75b883b68db..5ceaf439d839 100644
--- a/lib/libc/gen/tls.c
+++ b/lib/libc/gen/tls.c
@@ -148,11 +148,11 @@ libc_free_aligned(void *ptr)
  *   Note: for Local Exec TLS Model, the offsets from TP (TCB in this case) to
  *   TLS variables are computed by linker, so we cannot overalign TLS section.
  *
- * - MIPS, PowerPC and RISC-V use modified version of variant I,
- *   described in [3] where TP points (with bias) to TLS and TCB immediately
- *   precedes TLS without any alignment gap[4]. Only TLS should be aligned.
- *   The TCB[0] points to DTV vector and DTV values are biased by constant
- *   value (TLS_DTV_OFFSET) from real addresses[5].
+ * - PowerPC and RISC-V use modified version of variant I, described in [3]
+ *   where TP points (with bias) to TLS and TCB immediately precedes TLS without
+ *   any alignment gap[4]. Only TLS should be aligned.  The TCB[0] points to DTV
+ *   vector and DTV values are biased by constant value (TLS_DTV_OFFSET) from
+ *   real addresses[5].
  *
  * [1] Ulrich Drepper: ELF Handling for Thread-Local Storage
  *     www.akkadia.org/drepper/tls.pdf