aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2020-11-06 14:13:57 -0700
committerAndrew Kelley <andrew@ziglang.org>2020-11-06 14:13:57 -0700
commite5fab3ba6898cce3eba63192b0944f4e2208a3b8 (patch)
treeb03fc02418a2d18fcf239c0012969a3774cbf844 /src
parentdba94f453a55d02cc87667fc5636aed3237483f6 (diff)
downloadzig-e5fab3ba6898cce3eba63192b0944f4e2208a3b8.tar.gz
zig-e5fab3ba6898cce3eba63192b0944f4e2208a3b8.zip
update musl sources to 1.2.1
Diffstat (limited to 'src')
-rw-r--r--src/musl.zig92
1 files changed, 49 insertions, 43 deletions
diff --git a/src/musl.zig b/src/musl.zig
index ef4ea7236b..75b0a67584 100644
--- a/src/musl.zig
+++ b/src/musl.zig
@@ -656,13 +656,17 @@ const src_files = [_][]const u8{
"musl/src/locale/uselocale.c",
"musl/src/locale/wcscoll.c",
"musl/src/locale/wcsxfrm.c",
- "musl/src/malloc/aligned_alloc.c",
- "musl/src/malloc/expand_heap.c",
+ "musl/src/malloc/calloc.c",
"musl/src/malloc/lite_malloc.c",
- "musl/src/malloc/malloc.c",
- "musl/src/malloc/malloc_usable_size.c",
+ "musl/src/malloc/mallocng/aligned_alloc.c",
+ "musl/src/malloc/mallocng/donate.c",
+ "musl/src/malloc/mallocng/free.c",
+ "musl/src/malloc/mallocng/malloc.c",
+ "musl/src/malloc/mallocng/malloc_usable_size.c",
+ "musl/src/malloc/mallocng/realloc.c",
"musl/src/malloc/memalign.c",
"musl/src/malloc/posix_memalign.c",
+ "musl/src/malloc/replaced.c",
"musl/src/math/__cos.c",
"musl/src/math/__cosdf.c",
"musl/src/math/__cosl.c",
@@ -834,23 +838,23 @@ const src_files = [_][]const u8{
"musl/src/math/i386/exp_ld.s",
"musl/src/math/i386/expl.s",
"musl/src/math/i386/expm1l.s",
- "musl/src/math/i386/fabs.s",
- "musl/src/math/i386/fabsf.s",
- "musl/src/math/i386/fabsl.s",
+ "musl/src/math/i386/fabs.c",
+ "musl/src/math/i386/fabsf.c",
+ "musl/src/math/i386/fabsl.c",
"musl/src/math/i386/floor.s",
"musl/src/math/i386/floorf.s",
"musl/src/math/i386/floorl.s",
- "musl/src/math/i386/fmod.s",
- "musl/src/math/i386/fmodf.s",
- "musl/src/math/i386/fmodl.s",
+ "musl/src/math/i386/fmod.c",
+ "musl/src/math/i386/fmodf.c",
+ "musl/src/math/i386/fmodl.c",
"musl/src/math/i386/hypot.s",
"musl/src/math/i386/hypotf.s",
"musl/src/math/i386/ldexp.s",
"musl/src/math/i386/ldexpf.s",
"musl/src/math/i386/ldexpl.s",
- "musl/src/math/i386/llrint.s",
- "musl/src/math/i386/llrintf.s",
- "musl/src/math/i386/llrintl.s",
+ "musl/src/math/i386/llrint.c",
+ "musl/src/math/i386/llrintf.c",
+ "musl/src/math/i386/llrintl.c",
"musl/src/math/i386/log.s",
"musl/src/math/i386/log10.s",
"musl/src/math/i386/log10f.s",
@@ -863,27 +867,27 @@ const src_files = [_][]const u8{
"musl/src/math/i386/log2l.s",
"musl/src/math/i386/logf.s",
"musl/src/math/i386/logl.s",
- "musl/src/math/i386/lrint.s",
- "musl/src/math/i386/lrintf.s",
- "musl/src/math/i386/lrintl.s",
- "musl/src/math/i386/remainder.s",
- "musl/src/math/i386/remainderf.s",
- "musl/src/math/i386/remainderl.s",
+ "musl/src/math/i386/lrint.c",
+ "musl/src/math/i386/lrintf.c",
+ "musl/src/math/i386/lrintl.c",
+ "musl/src/math/i386/remainder.c",
+ "musl/src/math/i386/remainderf.c",
+ "musl/src/math/i386/remainderl.c",
"musl/src/math/i386/remquo.s",
"musl/src/math/i386/remquof.s",
"musl/src/math/i386/remquol.s",
- "musl/src/math/i386/rint.s",
- "musl/src/math/i386/rintf.s",
- "musl/src/math/i386/rintl.s",
+ "musl/src/math/i386/rint.c",
+ "musl/src/math/i386/rintf.c",
+ "musl/src/math/i386/rintl.c",
"musl/src/math/i386/scalbln.s",
"musl/src/math/i386/scalblnf.s",
"musl/src/math/i386/scalblnl.s",
"musl/src/math/i386/scalbn.s",
"musl/src/math/i386/scalbnf.s",
"musl/src/math/i386/scalbnl.s",
- "musl/src/math/i386/sqrt.s",
- "musl/src/math/i386/sqrtf.s",
- "musl/src/math/i386/sqrtl.s",
+ "musl/src/math/i386/sqrt.c",
+ "musl/src/math/i386/sqrtf.c",
+ "musl/src/math/i386/sqrtl.c",
"musl/src/math/i386/trunc.s",
"musl/src/math/i386/truncf.s",
"musl/src/math/i386/truncl.s",
@@ -935,6 +939,7 @@ const src_files = [_][]const u8{
"musl/src/math/lround.c",
"musl/src/math/lroundf.c",
"musl/src/math/lroundl.c",
+ "musl/src/math/m68k/sqrtl.c",
"musl/src/math/mips/fabs.c",
"musl/src/math/mips/fabsf.c",
"musl/src/math/mips/sqrt.c",
@@ -1113,28 +1118,29 @@ const src_files = [_][]const u8{
"musl/src/math/x86_64/exp2l.s",
"musl/src/math/x86_64/expl.s",
"musl/src/math/x86_64/expm1l.s",
- "musl/src/math/x86_64/fabs.s",
- "musl/src/math/x86_64/fabsf.s",
- "musl/src/math/x86_64/fabsl.s",
+ "musl/src/math/x86_64/fabs.c",
+ "musl/src/math/x86_64/fabsf.c",
+ "musl/src/math/x86_64/fabsl.c",
"musl/src/math/x86_64/floorl.s",
"musl/src/math/x86_64/fma.c",
"musl/src/math/x86_64/fmaf.c",
- "musl/src/math/x86_64/fmodl.s",
- "musl/src/math/x86_64/llrint.s",
- "musl/src/math/x86_64/llrintf.s",
- "musl/src/math/x86_64/llrintl.s",
+ "musl/src/math/x86_64/fmodl.c",
+ "musl/src/math/x86_64/llrint.c",
+ "musl/src/math/x86_64/llrintf.c",
+ "musl/src/math/x86_64/llrintl.c",
"musl/src/math/x86_64/log10l.s",
"musl/src/math/x86_64/log1pl.s",
"musl/src/math/x86_64/log2l.s",
"musl/src/math/x86_64/logl.s",
- "musl/src/math/x86_64/lrint.s",
- "musl/src/math/x86_64/lrintf.s",
- "musl/src/math/x86_64/lrintl.s",
- "musl/src/math/x86_64/remainderl.s",
- "musl/src/math/x86_64/rintl.s",
- "musl/src/math/x86_64/sqrt.s",
- "musl/src/math/x86_64/sqrtf.s",
- "musl/src/math/x86_64/sqrtl.s",
+ "musl/src/math/x86_64/lrint.c",
+ "musl/src/math/x86_64/lrintf.c",
+ "musl/src/math/x86_64/lrintl.c",
+ "musl/src/math/x86_64/remainderl.c",
+ "musl/src/math/x86_64/remquol.c",
+ "musl/src/math/x86_64/rintl.c",
+ "musl/src/math/x86_64/sqrt.c",
+ "musl/src/math/x86_64/sqrtf.c",
+ "musl/src/math/x86_64/sqrtl.c",
"musl/src/math/x86_64/truncl.s",
"musl/src/misc/a64l.c",
"musl/src/misc/basename.c",
@@ -1528,7 +1534,6 @@ const src_files = [_][]const u8{
"musl/src/stdio/__stdio_seek.c",
"musl/src/stdio/__stdio_write.c",
"musl/src/stdio/__stdout_write.c",
- "musl/src/stdio/__string_read.c",
"musl/src/stdio/__toread.c",
"musl/src/stdio/__towrite.c",
"musl/src/stdio/__uflow.c",
@@ -1654,10 +1659,11 @@ const src_files = [_][]const u8{
"musl/src/stdlib/strtol.c",
"musl/src/stdlib/wcstod.c",
"musl/src/stdlib/wcstol.c",
+ "musl/src/string/aarch64/memcpy.S",
+ "musl/src/string/aarch64/memset.S",
"musl/src/string/arm/__aeabi_memcpy.s",
"musl/src/string/arm/__aeabi_memset.s",
- "musl/src/string/arm/memcpy.c",
- "musl/src/string/arm/memcpy_le.S",
+ "musl/src/string/arm/memcpy.S",
"musl/src/string/bcmp.c",
"musl/src/string/bcopy.c",
"musl/src/string/bzero.c",