Skip to content

Commit

Permalink
Use separate patches for glibc and update patch set to latest master-…
Browse files Browse the repository at this point in the history
…epic.

See linux-ia64/glibc-ia64#2 (comment) for details
  • Loading branch information
johnny-mnemonic committed Jun 27, 2024
1 parent 0daebe1 commit 20acd33
Showing 9 changed files with 13,741 additions and 977 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
From 2170a9125c15e66ce2fd851db171396613c939f1 Mon Sep 17 00:00:00 2001
From: Johnny Mnemonic <jm@machine-hall.org>
Date: Thu, 23 May 2024 16:35:52 +0200
Subject: [PATCH 2/9] Replay "Refer to C23 in place of C2X in glibc" also for
ia64

See 42cc619dfbc44e263239c2de870bae11ad65810a for reference.
---
sysdeps/ia64/bits/fenv.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sysdeps/ia64/bits/fenv.h b/sysdeps/ia64/bits/fenv.h
index f582dfeebe..60163413b7 100644
--- a/sysdeps/ia64/bits/fenv.h
+++ b/sysdeps/ia64/bits/fenv.h
@@ -95,7 +95,7 @@ typedef unsigned long int fenv_t;
# define FE_NONIEEE_ENV ((const fenv_t *) 0xc009a04d0270037fUL)
#endif

-#if __GLIBC_USE (IEC_60559_BFP_EXT_C2X)
+#if __GLIBC_USE (IEC_60559_BFP_EXT_C23)
/* Type representing floating-point control modes. */
typedef unsigned long int femode_t;

--
2.25.1

Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
From 30083522da05b07d24a3e0ecb66857a0f3dbbd2e Mon Sep 17 00:00:00 2001
From: Johnny Mnemonic <jm@machine-hall.org>
Date: Sun, 23 Jun 2024 21:31:55 +0200
Subject: [PATCH 3/9] Replay "Implement C23 log2p1" also for ia64

See 79c52daf4740b00bef43e4f5a4281b3480459b38 for reference.
---
sysdeps/unix/sysv/linux/ia64/libm.abilist | 8 ++++++++
1 file changed, 8 insertions(+)

diff --git a/sysdeps/unix/sysv/linux/ia64/libm.abilist b/sysdeps/unix/sysv/linux/ia64/libm.abilist
index 31933a7ff5..2ea5a2b955 100644
--- a/sysdeps/unix/sysv/linux/ia64/libm.abilist
+++ b/sysdeps/unix/sysv/linux/ia64/libm.abilist
@@ -1116,3 +1116,11 @@ GLIBC_2.35 fminimumf64x F
GLIBC_2.35 fminimuml F
GLIBC_2.35 fsqrt F
GLIBC_2.35 fsqrtl F
+GLIBC_2.40 log2p1 F
+GLIBC_2.40 log2p1f F
+GLIBC_2.40 log2p1f128 F
+GLIBC_2.40 log2p1f32 F
+GLIBC_2.40 log2p1f32x F
+GLIBC_2.40 log2p1f64 F
+GLIBC_2.40 log2p1f64x F
+GLIBC_2.40 log2p1l F
--
2.25.1

Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
From 1d82bed55bd9a4856079058822aeea9bba0d3ca1 Mon Sep 17 00:00:00 2001
From: Johnny Mnemonic <jm@machine-hall.org>
Date: Thu, 27 Jun 2024 10:22:11 +0200
Subject: [PATCH 4/9] Replay "Implement C23 logp1" also for ia64

See bb014f50c4a0c8d8db1ba5af55c104e430b5533d for reference.
---
sysdeps/unix/sysv/linux/ia64/libm.abilist | 8 ++++++++
1 file changed, 8 insertions(+)

diff --git a/sysdeps/unix/sysv/linux/ia64/libm.abilist b/sysdeps/unix/sysv/linux/ia64/libm.abilist
index 2ea5a2b955..5a6d9ec910 100644
--- a/sysdeps/unix/sysv/linux/ia64/libm.abilist
+++ b/sysdeps/unix/sysv/linux/ia64/libm.abilist
@@ -1124,3 +1124,11 @@ GLIBC_2.40 log2p1f32x F
GLIBC_2.40 log2p1f64 F
GLIBC_2.40 log2p1f64x F
GLIBC_2.40 log2p1l F
+GLIBC_2.40 logp1 F
+GLIBC_2.40 logp1f F
+GLIBC_2.40 logp1f128 F
+GLIBC_2.40 logp1f32 F
+GLIBC_2.40 logp1f32x F
+GLIBC_2.40 logp1f64 F
+GLIBC_2.40 logp1f64x F
+GLIBC_2.40 logp1l F
--
2.25.1

Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
From 91bd6b179f5c763ba18674ab524f8f07e5bfa00c Mon Sep 17 00:00:00 2001
From: Johnny Mnemonic <jm@machine-hall.org>
Date: Sun, 23 Jun 2024 21:34:06 +0200
Subject: [PATCH 5/9] Replay "Implement C23 log10p1" also for ia64

See 55eb99e9a9d840ba452b128be14d6529c2dde039 for reference.
---
sysdeps/unix/sysv/linux/ia64/libm.abilist | 8 ++++++++
1 file changed, 8 insertions(+)

diff --git a/sysdeps/unix/sysv/linux/ia64/libm.abilist b/sysdeps/unix/sysv/linux/ia64/libm.abilist
index 5a6d9ec910..4476fb948a 100644
--- a/sysdeps/unix/sysv/linux/ia64/libm.abilist
+++ b/sysdeps/unix/sysv/linux/ia64/libm.abilist
@@ -1116,6 +1116,14 @@ GLIBC_2.35 fminimumf64x F
GLIBC_2.35 fminimuml F
GLIBC_2.35 fsqrt F
GLIBC_2.35 fsqrtl F
+GLIBC_2.40 log10p1 F
+GLIBC_2.40 log10p1f F
+GLIBC_2.40 log10p1f128 F
+GLIBC_2.40 log10p1f32 F
+GLIBC_2.40 log10p1f32x F
+GLIBC_2.40 log10p1f64 F
+GLIBC_2.40 log10p1f64x F
+GLIBC_2.40 log10p1l F
GLIBC_2.40 log2p1 F
GLIBC_2.40 log2p1f F
GLIBC_2.40 log2p1f128 F
--
2.25.1

Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
From d88033d5ea926a6c62346f7524e8fca18b1f6391 Mon Sep 17 00:00:00 2001
From: Johnny Mnemonic <jm@machine-hall.org>
Date: Sun, 23 Jun 2024 21:36:17 +0200
Subject: [PATCH 6/9] Replay "Implement C23 exp2m1, exp10m1" also for ia64

See 7ec903e028271d029818378fd60ddaf6b76b89ac for reference.
---
sysdeps/unix/sysv/linux/ia64/libm.abilist | 16 ++++++++++++++++
1 file changed, 16 insertions(+)

diff --git a/sysdeps/unix/sysv/linux/ia64/libm.abilist b/sysdeps/unix/sysv/linux/ia64/libm.abilist
index 4476fb948a..30779aa3dd 100644
--- a/sysdeps/unix/sysv/linux/ia64/libm.abilist
+++ b/sysdeps/unix/sysv/linux/ia64/libm.abilist
@@ -1116,6 +1116,22 @@ GLIBC_2.35 fminimumf64x F
GLIBC_2.35 fminimuml F
GLIBC_2.35 fsqrt F
GLIBC_2.35 fsqrtl F
+GLIBC_2.40 exp10m1 F
+GLIBC_2.40 exp10m1f F
+GLIBC_2.40 exp10m1f128 F
+GLIBC_2.40 exp10m1f32 F
+GLIBC_2.40 exp10m1f32x F
+GLIBC_2.40 exp10m1f64 F
+GLIBC_2.40 exp10m1f64x F
+GLIBC_2.40 exp10m1l F
+GLIBC_2.40 exp2m1 F
+GLIBC_2.40 exp2m1f F
+GLIBC_2.40 exp2m1f128 F
+GLIBC_2.40 exp2m1f32 F
+GLIBC_2.40 exp2m1f32x F
+GLIBC_2.40 exp2m1f64 F
+GLIBC_2.40 exp2m1f64x F
+GLIBC_2.40 exp2m1l F
GLIBC_2.40 log10p1 F
GLIBC_2.40 log10p1f F
GLIBC_2.40 log10p1f128 F
--
2.25.1

Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
From cf2ff34d551cffad6493125e03ce1906ea914956 Mon Sep 17 00:00:00 2001
From: Johnny Mnemonic <jm@machine-hall.org>
Date: Thu, 27 Jun 2024 10:59:41 +0200
Subject: [PATCH 7/9] Revert d88033d5ea926a6c62346f7524e8fca18b1f6391 for now

---
sysdeps/unix/sysv/linux/ia64/libm.abilist | 16 ----------------
1 file changed, 16 deletions(-)

diff --git a/sysdeps/unix/sysv/linux/ia64/libm.abilist b/sysdeps/unix/sysv/linux/ia64/libm.abilist
index 30779aa3dd..4476fb948a 100644
--- a/sysdeps/unix/sysv/linux/ia64/libm.abilist
+++ b/sysdeps/unix/sysv/linux/ia64/libm.abilist
@@ -1116,22 +1116,6 @@ GLIBC_2.35 fminimumf64x F
GLIBC_2.35 fminimuml F
GLIBC_2.35 fsqrt F
GLIBC_2.35 fsqrtl F
-GLIBC_2.40 exp10m1 F
-GLIBC_2.40 exp10m1f F
-GLIBC_2.40 exp10m1f128 F
-GLIBC_2.40 exp10m1f32 F
-GLIBC_2.40 exp10m1f32x F
-GLIBC_2.40 exp10m1f64 F
-GLIBC_2.40 exp10m1f64x F
-GLIBC_2.40 exp10m1l F
-GLIBC_2.40 exp2m1 F
-GLIBC_2.40 exp2m1f F
-GLIBC_2.40 exp2m1f128 F
-GLIBC_2.40 exp2m1f32 F
-GLIBC_2.40 exp2m1f32x F
-GLIBC_2.40 exp2m1f64 F
-GLIBC_2.40 exp2m1f64x F
-GLIBC_2.40 exp2m1l F
GLIBC_2.40 log10p1 F
GLIBC_2.40 log10p1f F
GLIBC_2.40 log10p1f128 F
--
2.25.1

Loading

0 comments on commit 20acd33

Please sign in to comment.