From d6e7c16b5d38fdadbcb06f7be51735615cb496d2 Mon Sep 17 00:00:00 2001 From: midipix Date: Sun, 25 Feb 2024 21:28:15 +0000 Subject: musl: upgrade to version 1.2.4. --- patches/musl_full-1.2.4.local.patch | 1 + patches/musl_full_cross-1.2.4.local.patch | 1 + patches/musl_full_host-1.2.4.local.patch | 1 + patches/musl_no_complex_cross-1.2.4.local.patch | 1 + patches/musl_no_complex_host-1.2.4.local.patch | 1 + patches/musl_sqrtl_const_expression-1.2.4.patch | 13 +++++++++++++ 6 files changed, 18 insertions(+) create mode 120000 patches/musl_full-1.2.4.local.patch create mode 120000 patches/musl_full_cross-1.2.4.local.patch create mode 120000 patches/musl_full_host-1.2.4.local.patch create mode 120000 patches/musl_no_complex_cross-1.2.4.local.patch create mode 120000 patches/musl_no_complex_host-1.2.4.local.patch create mode 100644 patches/musl_sqrtl_const_expression-1.2.4.patch (limited to 'patches') diff --git a/patches/musl_full-1.2.4.local.patch b/patches/musl_full-1.2.4.local.patch new file mode 120000 index 00000000..7a8ede04 --- /dev/null +++ b/patches/musl_full-1.2.4.local.patch @@ -0,0 +1 @@ +musl_sqrtl_const_expression-1.2.4.patch \ No newline at end of file diff --git a/patches/musl_full_cross-1.2.4.local.patch b/patches/musl_full_cross-1.2.4.local.patch new file mode 120000 index 00000000..7a8ede04 --- /dev/null +++ b/patches/musl_full_cross-1.2.4.local.patch @@ -0,0 +1 @@ +musl_sqrtl_const_expression-1.2.4.patch \ No newline at end of file diff --git a/patches/musl_full_host-1.2.4.local.patch b/patches/musl_full_host-1.2.4.local.patch new file mode 120000 index 00000000..7a8ede04 --- /dev/null +++ b/patches/musl_full_host-1.2.4.local.patch @@ -0,0 +1 @@ +musl_sqrtl_const_expression-1.2.4.patch \ No newline at end of file diff --git a/patches/musl_no_complex_cross-1.2.4.local.patch b/patches/musl_no_complex_cross-1.2.4.local.patch new file mode 120000 index 00000000..7a8ede04 --- /dev/null +++ b/patches/musl_no_complex_cross-1.2.4.local.patch @@ -0,0 +1 @@ +musl_sqrtl_const_expression-1.2.4.patch \ No newline at end of file diff --git a/patches/musl_no_complex_host-1.2.4.local.patch b/patches/musl_no_complex_host-1.2.4.local.patch new file mode 120000 index 00000000..7a8ede04 --- /dev/null +++ b/patches/musl_no_complex_host-1.2.4.local.patch @@ -0,0 +1 @@ +musl_sqrtl_const_expression-1.2.4.patch \ No newline at end of file diff --git a/patches/musl_sqrtl_const_expression-1.2.4.patch b/patches/musl_sqrtl_const_expression-1.2.4.patch new file mode 100644 index 00000000..f0513f69 --- /dev/null +++ b/patches/musl_sqrtl_const_expression-1.2.4.patch @@ -0,0 +1,13 @@ +diff --git a/src/math/sqrtl.c b/src/math/sqrtl.c +index 1b9f19c7..0a8efb9f 100644 +--- musl-1.2.4.orig/src/math/sqrtl.c ++++ musl-1.2.4/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; -- cgit v1.2.3