diff options
| author | Khem Raj <raj.khem@gmail.com> | 2024-09-03 20:17:59 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-09-05 21:48:47 +0100 |
| commit | b897daf8b775ccb1ae20a2a22c0cbf93ee7d7dfe (patch) | |
| tree | ccb35cb20a598b34fe107cc828db345203c4d3a0 | |
| parent | f0e84fa257d6608aab49c3b9a44cfc2316abd90d (diff) | |
| download | poky-b897daf8b775ccb1ae20a2a22c0cbf93ee7d7dfe.tar.gz | |
glibc: Fix the arm/arm64 worsize.h uniificationb patch
The symlink got mangled during the 2.40 upgrade
(From OE-Core rev: f4d9a708e8c61d147e8b06d94f13ae57b6f879e7)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Maohui Lei <leimaohui@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/recipes-core/glibc/glibc/0016-wordsize.h-Unify-the-header-between-arm-and-aarch64.patch | 50 |
1 files changed, 45 insertions, 5 deletions
diff --git a/meta/recipes-core/glibc/glibc/0016-wordsize.h-Unify-the-header-between-arm-and-aarch64.patch b/meta/recipes-core/glibc/glibc/0016-wordsize.h-Unify-the-header-between-arm-and-aarch64.patch index d269b6f0af..87bc7a840e 100644 --- a/meta/recipes-core/glibc/glibc/0016-wordsize.h-Unify-the-header-between-arm-and-aarch64.patch +++ b/meta/recipes-core/glibc/glibc/0016-wordsize.h-Unify-the-header-between-arm-and-aarch64.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From 3be9d4a66f83a64b26ffa0869385e4a0f623dd44 Mon Sep 17 00:00:00 2001 | 1 | From 4dd93c44d85ad04343daa9933edfb6ae59863095 Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Fri, 15 May 2020 17:05:45 -0700 | 3 | Date: Fri, 15 May 2020 17:05:45 -0700 |
| 4 | Subject: [PATCH] wordsize.h: Unify the header between arm and aarch64 | 4 | Subject: [PATCH] wordsize.h: Unify the header between arm and aarch64 |
| @@ -11,14 +11,16 @@ Upstream-Status: Inappropriate [ OE-Specific ] | |||
| 11 | 11 | ||
| 12 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 12 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 13 | --- | 13 | --- |
| 14 | sysdeps/aarch64/bits/wordsize.h | 8 ++++++-- | 14 | sysdeps/aarch64/bits/wordsize.h | 11 +++++++++-- |
| 15 | 1 file changed, 6 insertions(+), 2 deletions(-) | 15 | sysdeps/arm/bits/wordsize.h | 22 +--------------------- |
| 16 | 2 files changed, 10 insertions(+), 23 deletions(-) | ||
| 17 | mode change 100644 => 120000 sysdeps/arm/bits/wordsize.h | ||
| 16 | 18 | ||
| 17 | diff --git a/sysdeps/aarch64/bits/wordsize.h b/sysdeps/aarch64/bits/wordsize.h | 19 | diff --git a/sysdeps/aarch64/bits/wordsize.h b/sysdeps/aarch64/bits/wordsize.h |
| 18 | index 118e59172d..b4b0692eb5 100644 | 20 | index 118e59172d..c6278c6afa 100644 |
| 19 | --- a/sysdeps/aarch64/bits/wordsize.h | 21 | --- a/sysdeps/aarch64/bits/wordsize.h |
| 20 | +++ b/sysdeps/aarch64/bits/wordsize.h | 22 | +++ b/sysdeps/aarch64/bits/wordsize.h |
| 21 | @@ -17,12 +17,16 @@ | 23 | @@ -17,12 +17,19 @@ |
| 22 | License along with the GNU C Library; if not, see | 24 | License along with the GNU C Library; if not, see |
| 23 | <https://www.gnu.org/licenses/>. */ | 25 | <https://www.gnu.org/licenses/>. */ |
| 24 | 26 | ||
| @@ -32,8 +34,46 @@ index 118e59172d..b4b0692eb5 100644 | |||
| 32 | # define __WORDSIZE32_PTRDIFF_LONG 1 | 34 | # define __WORDSIZE32_PTRDIFF_LONG 1 |
| 33 | +#else | 35 | +#else |
| 34 | +# define __WORDSIZE 32 | 36 | +# define __WORDSIZE 32 |
| 37 | +# define __WORDSIZE_TIME64_COMPAT32 1 | ||
| 35 | +# define __WORDSIZE32_SIZE_ULONG 0 | 38 | +# define __WORDSIZE32_SIZE_ULONG 0 |
| 36 | +# define __WORDSIZE32_PTRDIFF_LONG 0 | 39 | +# define __WORDSIZE32_PTRDIFF_LONG 0 |
| 37 | #endif | 40 | #endif |
| 38 | 41 | ||
| 42 | +#ifdef __aarch64__ | ||
| 39 | #define __WORDSIZE_TIME64_COMPAT32 0 | 43 | #define __WORDSIZE_TIME64_COMPAT32 0 |
| 44 | +#endif | ||
| 45 | diff --git a/sysdeps/arm/bits/wordsize.h b/sysdeps/arm/bits/wordsize.h | ||
| 46 | deleted file mode 100644 | ||
| 47 | index 6ecbfe7c86..0000000000 | ||
| 48 | --- a/sysdeps/arm/bits/wordsize.h | ||
| 49 | +++ /dev/null | ||
| 50 | @@ -1,21 +0,0 @@ | ||
| 51 | -/* Copyright (C) 1999-2024 Free Software Foundation, Inc. | ||
| 52 | - This file is part of the GNU C Library. | ||
| 53 | - | ||
| 54 | - The GNU C Library is free software; you can redistribute it and/or | ||
| 55 | - modify it under the terms of the GNU Lesser General Public | ||
| 56 | - License as published by the Free Software Foundation; either | ||
| 57 | - version 2.1 of the License, or (at your option) any later version. | ||
| 58 | - | ||
| 59 | - The GNU C Library is distributed in the hope that it will be useful, | ||
| 60 | - but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 61 | - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 62 | - Lesser General Public License for more details. | ||
| 63 | - | ||
| 64 | - You should have received a copy of the GNU Lesser General Public | ||
| 65 | - License along with the GNU C Library; if not, see | ||
| 66 | - <https://www.gnu.org/licenses/>. */ | ||
| 67 | - | ||
| 68 | -#define __WORDSIZE 32 | ||
| 69 | -#define __WORDSIZE_TIME64_COMPAT32 1 | ||
| 70 | -#define __WORDSIZE32_SIZE_ULONG 0 | ||
| 71 | -#define __WORDSIZE32_PTRDIFF_LONG 0 | ||
| 72 | diff --git a/sysdeps/arm/bits/wordsize.h b/sysdeps/arm/bits/wordsize.h | ||
| 73 | new file mode 120000 | ||
| 74 | index 0000000000..4c4a788ec2 | ||
| 75 | --- /dev/null | ||
| 76 | +++ b/sysdeps/arm/bits/wordsize.h | ||
| 77 | @@ -0,0 +1 @@ | ||
| 78 | +../../aarch64/bits/wordsize.h | ||
| 79 | \ No newline at end of file | ||
