From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1792) id 342A83870897; Thu, 4 Jan 2024 22:49:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 342A83870897 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1704408583; bh=PlEdRPI7UDC28m8rHQ5fVTwNEjf26jcY3i9h/1QHI24=; h=From:To:Subject:Date:From; b=yh6ZaPQramDM4nUsbpZsMSc8gQxId8h680WfQ7mB9u55BPPnfG6lBiP+lhGsoDtdg iH8d+v2pEP338eaHuEoNvdJGXHVQsagBjPpL2eVNfogBr99tQQANkpSmShP+jp8DQL GyPy0BVb5lM+Nl041iMf2SxaHCxQeN6pba0fEaAc= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Samuel Thibault To: glibc-cvs@sourceware.org Subject: [glibc] hurd: Make init-first.c no longer x86-specific X-Act-Checkin: glibc X-Git-Author: Sergey Bugaev X-Git-Refname: refs/heads/master X-Git-Oldrev: b44ad8944b84dd83e89b50e298ee15701c8f2706 X-Git-Newrev: 9eaa0e179962a10db91fe566753fc38623097dbe Message-Id: <20240104224943.342A83870897@sourceware.org> Date: Thu, 4 Jan 2024 22:49:43 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=9eaa0e179962a10db91fe566753fc38623097dbe commit 9eaa0e179962a10db91fe566753fc38623097dbe Author: Sergey Bugaev Date: Wed Jan 3 20:14:42 2024 +0300 hurd: Make init-first.c no longer x86-specific This will make it usable in other ports. Signed-off-by: Sergey Bugaev Message-ID: <20240103171502.1358371-10-bugaevc@gmail.com> Diff: --- sysdeps/mach/hurd/{x86 => }/init-first.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 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