Commit Graph

15 Commits

Author SHA1 Message Date
Michael Forney efd997922b musl: Use arch-specific crt list
This will facilitate the addition of architectures like riscv64
which use the generic crti.c and crtn.c.
2026-05-05 00:49:18 -07:00
Michael Forney 1033b686d0 musl: Use architecture-specific crt[in].s
This fixes .init so that gcc's crtbegin can call functions in .ctors.
2021-07-12 22:23:42 -07:00
Michael Forney 3b7e049e50 musl: Disable spurious local address return warning 2020-06-05 03:11:11 -07:00
Michael Forney c6f3270587 musl: Fix portability of sed expression 2020-04-15 20:59:40 -07:00
Michael Forney 55bf927462 musl: Fix dependencies when $dir != $gendir 2020-02-20 18:54:33 -08:00
Michael Forney 15df2417a8 musl: Apply special CFLAGS 2020-02-13 12:36:56 -08:00
Michael Forney 57e4990e16 musl: Build Scrt1.o 2020-02-13 01:36:48 -08:00
Michael Forney 491c1da6d4 musl: Sort sources to prevent spurious rebuilds 2020-02-13 01:36:35 -08:00
Michael Forney 48c29a5ebd musl: Build and install empty libraries 2020-02-13 01:16:11 -08:00
Michael Forney 292af2d420 musl: Build and install libc.so
Although we statically link everything, this is useful for running
dynamically linked binaries from pkgsrc.
2020-02-13 01:16:11 -08:00
Michael Forney 9056195f43 musl: Use target architecture 2020-02-12 23:41:59 -08:00
Michael Forney fc943fe944 musl: Install headers and object files
Also, use -fPIC for all objects to allow for building PIEs.
2020-02-12 22:13:36 -08:00
Michael Forney 39cfefa0b6 musl: Install headers and rest of crt files 2019-12-16 17:42:52 -08:00
Michael Forney 4b0940f00b musl: Hard code x86_64 arch for now 2019-08-06 18:23:13 -07:00
Michael Forney dd495a03d5 Add musl 1.1.23
This is not yet used by anything, but eventually we can build the
system against this instead of the toolchain default.
2019-08-06 11:53:03 -07:00