From 46c4b826aa51f66b9c41f32d0d99bf07c0fe1bef Mon Sep 17 00:00:00 2001 From: Felix Yan Date: Mon, 22 Aug 2022 12:25:28 +0300 Subject: [PATCH] Correct typos in docs/bugs.md --- docs/bugs.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/bugs.md b/docs/bugs.md index 0f969f8425..96908a2335 100644 --- a/docs/bugs.md +++ b/docs/bugs.md @@ -88,9 +88,9 @@ Problem: A statically-linked "hello world" program crashes after reading a thread-local variable. Investigation: Thread-local variables are very different from other -types of varaibles because there may be more than one instance of the +types of variables because there may be more than one instance of the same variable in memory. Each thread has its copy of thread-local -varaibles. `%fs` segment register points the end of the variable area +variables. `%fs` segment register points the end of the variable area for the current thread, and the variables are accessed as an offset from `%fs`.