[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC PATCH 09/23] hurd: Make init-first.c no longer x86-specific
From: |
Samuel Thibault |
Subject: |
Re: [RFC PATCH 09/23] hurd: Make init-first.c no longer x86-specific |
Date: |
Thu, 4 Jan 2024 23:48:14 +0100 |
User-agent: |
NeoMutt/20170609 (1.8.3) |
Applied, thanks!
Sergey Bugaev, le mer. 03 janv. 2024 20:14:42 +0300, a ecrit:
> This will make it usable in other ports.
>
> Signed-off-by: Sergey Bugaev <bugaevc@gmail.com>
> ---
> sysdeps/mach/hurd/{x86 => }/init-first.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
> rename sysdeps/mach/hurd/{x86 => }/init-first.c (98%)
>
> diff --git a/sysdeps/mach/hurd/x86/init-first.c
> b/sysdeps/mach/hurd/init-first.c
> similarity index 98%
> rename from sysdeps/mach/hurd/x86/init-first.c
> rename to sysdeps/mach/hurd/init-first.c
> index 211b2096..85261916 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
>
> --
> 2.43.0
>
>
--
Samuel
---
Pour une évaluation indépendante, transparente et rigoureuse !
Je soutiens la Commission d'Évaluation de l'Inria.
- [PATCH 04/23] mach: Drop some unnecessary vm_param.h includes, (continued)
- [PATCH 04/23] mach: Drop some unnecessary vm_param.h includes, Sergey Bugaev, 2024/01/03
- [RFC PATCH 03/23] Allow glibc to be compiled without EXEC_PAGESIZE, Sergey Bugaev, 2024/01/03
- [RFC PATCH 08/23] hurd: Drop x86-specific assembly from init-first.c, Sergey Bugaev, 2024/01/03
- [RFC PATCH 07/23] hurd: Pass the data pointer to _hurd_stack_setup explicitly, Sergey Bugaev, 2024/01/03
- [PATCH 06/23] mach: Drop SNARF_ARGS macro, Sergey Bugaev, 2024/01/03
- [RFC PATCH 09/23] hurd: Make init-first.c no longer x86-specific, Sergey Bugaev, 2024/01/03
- Re: [RFC PATCH 09/23] hurd: Make init-first.c no longer x86-specific,
Samuel Thibault <=
- [RFC PATCH 10/23] hurd: Only init early static TLS if it's used to store stack or pointer guards, Sergey Bugaev, 2024/01/03
- [RFC PATCH 11/23] hurd: Initializy _dl_pagesize early in static builds, Sergey Bugaev, 2024/01/03
- [RFC PATCH 12/23] aarch64: Make cpu-features definitions not Linux-specific, Sergey Bugaev, 2024/01/03
- [RFC PATCH 13/23] aarch64: Add dl-procinfo, Sergey Bugaev, 2024/01/03
- [RFC PATCH 14/23] aarch64: Allow building without kernel support for BTI, Sergey Bugaev, 2024/01/03
- [RFC PATCH 15/23] mach: Add a basic AArch64 port, Sergey Bugaev, 2024/01/03
- [RFC PATCH 16/23] hurd: Add a basic AArch64 port, Sergey Bugaev, 2024/01/03