[v3,1/4] x86: Move x86-64 shadow stack startup codes

Message ID 20240109202327.1565961-2-hjl.tools@gmail.com
State Committed
Commit b45115a6665e271411c73d83f8933ff059e39f05
Headers
Series i386: Remove remaining CET bits |

Checks

Context Check Description
redhat-pt-bot/TryBot-apply_patch success Patch applied to master at the time it was sent
linaro-tcwg-bot/tcwg_glibc_build--master-arm fail Patch failed to apply
linaro-tcwg-bot/tcwg_glibc_build--master-aarch64 fail Patch failed to apply

Commit Message

H.J. Lu Jan. 9, 2024, 8:23 p.m. UTC
  Move sysdeps/x86/libc-start.h to sysdeps/x86_64/libc-start.h and use
sysdeps/generic/libc-start.h for i386.
---
 sysdeps/{x86 => x86_64}/libc-start.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename sysdeps/{x86 => x86_64}/libc-start.h (98%)
  

Comments

Adhemerval Zanella Netto Jan. 10, 2024, 12:51 p.m. UTC | #1
LGTM, thanks.

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>

On 09/01/24 17:23, H.J. Lu wrote:
> Move sysdeps/x86/libc-start.h to sysdeps/x86_64/libc-start.h and use
> sysdeps/generic/libc-start.h for i386.
> ---
>  sysdeps/{x86 => x86_64}/libc-start.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>  rename sysdeps/{x86 => x86_64}/libc-start.h (98%)
> 
> diff --git a/sysdeps/x86/libc-start.h b/sysdeps/x86_64/libc-start.h
> similarity index 98%
> rename from sysdeps/x86/libc-start.h
> rename to sysdeps/x86_64/libc-start.h
> index c3cc05888d..63fef17029 100644
> --- a/sysdeps/x86/libc-start.h
> +++ b/sysdeps/x86_64/libc-start.h
> @@ -1,4 +1,4 @@
> -/* X86 definitions for libc main startup.
> +/* x86-64 definitions for libc main startup.
>     Copyright (C) 2018-2024 Free Software Foundation, Inc.
>     This file is part of the GNU C Library.
>
  

Patch

diff --git a/sysdeps/x86/libc-start.h b/sysdeps/x86_64/libc-start.h
similarity index 98%
rename from sysdeps/x86/libc-start.h
rename to sysdeps/x86_64/libc-start.h
index c3cc05888d..63fef17029 100644
--- a/sysdeps/x86/libc-start.h
+++ b/sysdeps/x86_64/libc-start.h
@@ -1,4 +1,4 @@ 
-/* X86 definitions for libc main startup.
+/* x86-64 definitions for libc main startup.
    Copyright (C) 2018-2024 Free Software Foundation, Inc.
    This file is part of the GNU C Library.