summaryrefslogtreecommitdiffhomepage
path: root/patches
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-02-25 06:33:59 +0000
committermidipix <writeonce@midipix.org>2024-02-25 06:47:01 +0000
commit9b803a99c20b6d16347ab68a2cc8e751b2df668e (patch)
treebfef276b53eb58b5c3473ac1d554de78ab237019 /patches
parent308fa73712b693ecdd7159a553edb1066e7c12fd (diff)
downloadmidipix_build-9b803a99c20b6d16347ab68a2cc8e751b2df668e.tar.bz2
midipix_build-9b803a99c20b6d16347ab68a2cc8e751b2df668e.tar.xz
musl: rename primary (sqrtl() const expression) patch and related symlinks.
Diffstat (limited to 'patches')
l---------patches/musl_full-1.2.2.local.patch2
l---------patches/musl_full_cross-1.2.2.local.patch2
l---------patches/musl_full_host-1.2.2.local.patch2
l---------patches/musl_no_complex_cross-1.2.2.local.patch2
l---------[-rw-r--r--]patches/musl_no_complex_host-1.2.2.local.patch14
-rw-r--r--patches/musl_sqrtl_const_expression.patch13
6 files changed, 18 insertions, 17 deletions
diff --git a/patches/musl_full-1.2.2.local.patch b/patches/musl_full-1.2.2.local.patch
index 76f1e126..57bc7f7a 120000
--- a/patches/musl_full-1.2.2.local.patch
+++ b/patches/musl_full-1.2.2.local.patch
@@ -1 +1 @@
-musl_no_complex_host-1.2.2.local.patch \ No newline at end of file
+musl_sqrtl_const_expression.patch \ No newline at end of file
diff --git a/patches/musl_full_cross-1.2.2.local.patch b/patches/musl_full_cross-1.2.2.local.patch
index 76f1e126..57bc7f7a 120000
--- a/patches/musl_full_cross-1.2.2.local.patch
+++ b/patches/musl_full_cross-1.2.2.local.patch
@@ -1 +1 @@
-musl_no_complex_host-1.2.2.local.patch \ No newline at end of file
+musl_sqrtl_const_expression.patch \ No newline at end of file
diff --git a/patches/musl_full_host-1.2.2.local.patch b/patches/musl_full_host-1.2.2.local.patch
index 76f1e126..57bc7f7a 120000
--- a/patches/musl_full_host-1.2.2.local.patch
+++ b/patches/musl_full_host-1.2.2.local.patch
@@ -1 +1 @@
-musl_no_complex_host-1.2.2.local.patch \ No newline at end of file
+musl_sqrtl_const_expression.patch \ No newline at end of file
diff --git a/patches/musl_no_complex_cross-1.2.2.local.patch b/patches/musl_no_complex_cross-1.2.2.local.patch
index 76f1e126..57bc7f7a 120000
--- a/patches/musl_no_complex_cross-1.2.2.local.patch
+++ b/patches/musl_no_complex_cross-1.2.2.local.patch
@@ -1 +1 @@
-musl_no_complex_host-1.2.2.local.patch \ No newline at end of file
+musl_sqrtl_const_expression.patch \ No newline at end of file
diff --git a/patches/musl_no_complex_host-1.2.2.local.patch b/patches/musl_no_complex_host-1.2.2.local.patch
index c2f78fe6..57bc7f7a 100644..120000
--- a/patches/musl_no_complex_host-1.2.2.local.patch
+++ b/patches/musl_no_complex_host-1.2.2.local.patch
@@ -1,13 +1 @@
-diff --git a/src/math/sqrtl.c b/src/math/sqrtl.c
-index 1b9f19c7..0a8efb9f 100644
---- musl-1.2.2.orig/src/math/sqrtl.c
-+++ musl-1.2.2/src/math/sqrtl.c
-@@ -227,7 +227,7 @@ long double sqrtl(long double x)
- r = mul64(u, r) << 1;
- /* |r sqrt(m) - 1| < 0x1.c001p-59, switch to 128bit */
-
-- static const u128 threel = {.hi=three<<32, .lo=0};
-+ static const u128 threel = {.hi=(uint64_t)0xc0000000<<32, .lo=0};
- u128 rl, sl, dl, ul;
- rl.hi = r;
- rl.lo = 0;
+musl_sqrtl_const_expression.patch \ No newline at end of file
diff --git a/patches/musl_sqrtl_const_expression.patch b/patches/musl_sqrtl_const_expression.patch
new file mode 100644
index 00000000..c2f78fe6
--- /dev/null
+++ b/patches/musl_sqrtl_const_expression.patch
@@ -0,0 +1,13 @@
+diff --git a/src/math/sqrtl.c b/src/math/sqrtl.c
+index 1b9f19c7..0a8efb9f 100644
+--- musl-1.2.2.orig/src/math/sqrtl.c
++++ musl-1.2.2/src/math/sqrtl.c
+@@ -227,7 +227,7 @@ long double sqrtl(long double x)
+ r = mul64(u, r) << 1;
+ /* |r sqrt(m) - 1| < 0x1.c001p-59, switch to 128bit */
+
+- static const u128 threel = {.hi=three<<32, .lo=0};
++ static const u128 threel = {.hi=(uint64_t)0xc0000000<<32, .lo=0};
+ u128 rl, sl, dl, ul;
+ rl.hi = r;
+ rl.lo = 0;