mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-08 22:30:07 +00:00
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>
This commit is contained in:
parent
b44ad8944b
commit
9eaa0e1799
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user