about summary refs log tree commit diff
path: root/sysdeps/mach
diff options
context:
space:
mode:
authorSergey Bugaev <bugaevc@gmail.com>2024-01-03 20:14:42 +0300
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2024-01-04 23:48:07 +0100
commit9eaa0e179962a10db91fe566753fc38623097dbe (patch)
tree6586fc308444a4d35f8acb2931bb6f2ee343a36a /sysdeps/mach
parentb44ad8944b84dd83e89b50e298ee15701c8f2706 (diff)
downloadglibc-9eaa0e179962a10db91fe566753fc38623097dbe.tar.gz
glibc-9eaa0e179962a10db91fe566753fc38623097dbe.tar.xz
glibc-9eaa0e179962a10db91fe566753fc38623097dbe.zip
hurd: Make init-first.c no longer x86-specific
This will make it usable in other ports.

Signed-off-by: Sergey Bugaev <bugaevc@gmail.com>
Message-ID: <20240103171502.1358371-10-bugaevc@gmail.com>
Diffstat (limited to 'sysdeps/mach')
-rw-r--r--sysdeps/mach/hurd/init-first.c (renamed from sysdeps/mach/hurd/x86/init-first.c)4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/mach/hurd/x86/init-first.c b/sysdeps/mach/hurd/init-first.c
index 211b2096b6..8526191692 100644
--- a/sysdeps/mach/hurd/x86/init-first.c
+++ b/sysdeps/mach/hurd/init-first.c
@@ -1,4 +1,4 @@
-/* Initialization code run first thing by the ELF startup code.  For x86/Hurd.
+/* Initialization code run first thing by the ELF startup code.  For Hurd.
    Copyright (C) 1995-2024 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
@@ -155,7 +155,7 @@ first_init (void)
 
 #ifndef SHARED
   /* In the static case, we need to set up TLS early so that the stack
-     protection guard can be read at gs:0x14 by the gcc-generated snippets.  */
+     protection guard can be read at from TLS by the GCC-generated snippets.  */
   _hurd_tls_init (&__init1_tcbhead, 0);
 #endif