-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix build for glibc with latest master-epic patch set...
...due to: * glibc: [Add generic 'extra TLS'](https://sourceware.org/git/?p=glibc.git;a=commit;h=0e411c5d3098982d67cd2d7a233eaa6c977a1869) * glibc: [nptl: Introduce <rseq-access.h> for RSEQ_* accessors](https://sourceware.org/git/?p=glibc.git;a=commit;h=494d65129ed5ae1154b75cc189bbdde5e9ecf1df)
- Loading branch information
1 parent
f0b0f13
commit 0d4338a
Showing
25 changed files
with
224 additions
and
48 deletions.
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
config/t2/package/base/glibc/0001-Revert-Remove-ia64-linux-gnu.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
config/t2/package/base/glibc/0002-Replay-Refer-to-C23-in-place-of-C2X-in-glibc-also-fo.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
config/t2/package/base/glibc/0003-Replay-Implement-C23-log2p1-also-for-ia64.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
config/t2/package/base/glibc/0004-Replay-Implement-C23-logp1-also-for-ia64.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
config/t2/package/base/glibc/0005-Replay-Implement-C23-log10p1-also-for-ia64.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
config/t2/package/base/glibc/0006-Replay-Implement-C23-exp2m1-exp10m1-also-for-ia64.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
config/t2/package/base/glibc/0007-Fix-ia64-build-after-7ec903e028271d029818378fd60ddaf.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
config/t2/package/base/glibc/0008-Revert-elf-Make-dl-fptr-and-dl-symaddr-hppa-specific.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
config/t2/package/base/glibc/0009-ia64-Qualify-u-and-bits-with-__-prefix.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
config/t2/package/base/glibc/0010-Replay-Implement-C23-cospi-also-for-ia64.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
config/t2/package/base/glibc/0011-Replay-Implement-C23-sinpi-also-for-ia64.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
config/t2/package/base/glibc/0012-Fix-build-after-0ae0af68d8fa3bf6cbe1e4f1de5929ff71de.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
config/t2/package/base/glibc/0013-Replay-Implement-C23-tanpi-also-for-ia64.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
config/t2/package/base/glibc/0014-Replay-Implement-C23-acospi-also-for-ia64.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
config/t2/package/base/glibc/0015-Fix-build-after-28d102d15c6af7f80cb1077e098e020476d2.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
config/t2/package/base/glibc/0016-Replay-Implement-C23-asinpi-also-for-ia64.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
config/t2/package/base/glibc/0017-Fix-build-after-f962932206eca2cfed0a26e72220ad3465bf.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
config/t2/package/base/glibc/0018-Replay-Implement-C23-atanpi-also-for-ia64.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
config/t2/package/base/glibc/0019-Fix-build-after-ffe79c446ced76d7c1a77804ff2cc32eccbc.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
config/t2/package/base/glibc/0021-Replay-elf-Introduce-generic-dl-tls.h-in-part-also-f.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
From 6cccf5b0725de2b005ac25dcc0addaaf8ac35c8a Mon Sep 17 00:00:00 2001 | ||
From: Johnny Mnemonic <jm@machine-hall.org> | ||
Date: Sun, 12 Jan 2025 21:01:26 +0100 | ||
Subject: [PATCH 21/25] Replay "elf: Introduce generic <dl-tls.h>" in part also | ||
for ia64 | ||
|
||
See ceae7e2770302b04a9f9321b66dc8978c9747bd1 for reference. | ||
--- | ||
sysdeps/ia64/dl-tls.h | 4 ++++ | ||
1 file changed, 4 insertions(+) | ||
|
||
diff --git a/sysdeps/ia64/dl-tls.h b/sysdeps/ia64/dl-tls.h | ||
index b366e7f8c7..5e766614ec 100644 | ||
--- a/sysdeps/ia64/dl-tls.h | ||
+++ b/sysdeps/ia64/dl-tls.h | ||
@@ -27,4 +27,8 @@ | ||
/* We have no tls_index type. */ | ||
#define DONT_USE_TLS_INDEX 1 | ||
|
||
+/* Dynamic thread vector pointers point to the start of each | ||
+ TLS block. */ | ||
+#define TLS_DTV_OFFSET 0 | ||
+ | ||
extern void *__tls_get_addr (size_t m, size_t offset); | ||
-- | ||
2.25.1 | ||
|
25 changes: 25 additions & 0 deletions
25
config/t2/package/base/glibc/0022-Replay-elf-Always-define-TLS_TP_OFFSET-also-for-ia64.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
From af37f38dbc7072e1d9bc64ab2ba6bf42ef45aecf Mon Sep 17 00:00:00 2001 | ||
From: Johnny Mnemonic <jm@machine-hall.org> | ||
Date: Sun, 12 Jan 2025 21:02:55 +0100 | ||
Subject: [PATCH 22/25] Replay "elf: Always define TLS_TP_OFFSET" also for ia64 | ||
|
||
See d1da011118ad8e35002034128458355a2de570ef for reference. | ||
--- | ||
sysdeps/ia64/dl-tls.h | 3 +++ | ||
1 file changed, 3 insertions(+) | ||
|
||
diff --git a/sysdeps/ia64/dl-tls.h b/sysdeps/ia64/dl-tls.h | ||
index 5e766614ec..bdfef5228e 100644 | ||
--- a/sysdeps/ia64/dl-tls.h | ||
+++ b/sysdeps/ia64/dl-tls.h | ||
@@ -31,4 +31,7 @@ | ||
TLS block. */ | ||
#define TLS_DTV_OFFSET 0 | ||
|
||
+/* Static TLS offsets are relative to the unadjusted thread pointer. */ | ||
+#define TLS_TP_OFFSET 0 | ||
+ | ||
extern void *__tls_get_addr (size_t m, size_t offset); | ||
-- | ||
2.25.1 | ||
|
40 changes: 40 additions & 0 deletions
40
config/t2/package/base/glibc/0023-Replay-Add-missing-include-guards-to-dl-tls.h-also-f.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
From 6169806a57e23da0a1e24f53abc7e4853d6b16f2 Mon Sep 17 00:00:00 2001 | ||
From: Johnny Mnemonic <jm@machine-hall.org> | ||
Date: Sun, 12 Jan 2025 21:04:24 +0100 | ||
Subject: [PATCH 23/25] Replay "Add missing include guards to <dl-tls.h>" also | ||
for ia64 | ||
|
||
See 4a9a8a50981e2a3e0a04ef4c7ad7c26807c18161 for reference. | ||
--- | ||
sysdeps/ia64/dl-tls.h | 6 +++++- | ||
1 file changed, 5 insertions(+), 1 deletion(-) | ||
|
||
diff --git a/sysdeps/ia64/dl-tls.h b/sysdeps/ia64/dl-tls.h | ||
index bdfef5228e..c7af27698c 100644 | ||
--- a/sysdeps/ia64/dl-tls.h | ||
+++ b/sysdeps/ia64/dl-tls.h | ||
@@ -1,5 +1,5 @@ | ||
/* Thread-local storage handling in the ELF dynamic linker. IA-64 version. | ||
- Copyright (C) 2002-2024 Free Software Foundation, Inc. | ||
+ Copyright (C) 2002-2025 Free Software Foundation, Inc. | ||
This file is part of the GNU C Library. | ||
|
||
The GNU C Library is free software; you can redistribute it and/or | ||
@@ -16,6 +16,8 @@ | ||
License along with the GNU C Library; if not, see | ||
<https://www.gnu.org/licenses/>. */ | ||
|
||
+#ifndef _DL_TLS_H | ||
+#define _DL_TLS_H | ||
|
||
/* On IA-64 the __tls_get_addr function take the module ID and the | ||
offset as parameters. */ | ||
@@ -35,3 +37,5 @@ | ||
#define TLS_TP_OFFSET 0 | ||
|
||
extern void *__tls_get_addr (size_t m, size_t offset); | ||
+ | ||
+#endif /* _DL_TLS_H */ | ||
-- | ||
2.25.1 | ||
|
Oops, something went wrong.