musl - an implementation of the standard library for Linux-based systems
Go to file
Rich Felker 1492bdf53c futex wait operations: add time64 syscall support, decouple 32-bit time_t
thanks to the original factorization using the __timedwait function,
there are no FUTEX_WAIT calls anywhere else, giving us a single point
of change to make nearly all the timed thread primitives time64-ready.
the one exception is the FUTEX_LOCK_PI command for PI mutex timedlock.
I haven't tried to make these two points share code, since they have
different fallbacks (no non-private fallback needed for PI since PI
was added later) and FUTEX_LOCK_PI isn't a cancellation point (thus
allowing the whole code path to inline into pthread_mutex_timedlock).

as for other changes in this series, the time64 syscall is used only
if it's the only one defined for the arch, or if the requested timeout
does not fit in 32 bits. on current 32-bit archs where time_t is a
32-bit type, this makes it statically unreachable.

on 64-bit archs, there are only superficial changes to the code after
preprocessing. on current 32-bit archs, the time is passed via an
intermediate copy to remove the assumption that time_t is a 32-bit
type.
2019-07-28 17:44:51 -04:00
arch internally, define time64 syscalls on x32 as the existing syscalls 2019-07-27 13:43:13 -04:00
crt remove unnecessary and problematic _Noreturn from crt/ldso startup 2019-06-25 19:05:40 -04:00
dist
include elf.h: add NT_ARM_PAC{A,G}_KEYS from linux v5.1 2019-07-01 14:16:49 -04:00
ldso fix inadvertent use of uninitialized variable in dladdr 2019-07-06 17:47:43 -04:00
src futex wait operations: add time64 syscall support, decouple 32-bit time_t 2019-07-28 17:44:51 -04:00
tools fix musl-gcc wrapper to be compatible with default-pie gcc toolchains 2018-08-02 19:15:48 -04:00
.gitignore remove obsolete gitignore rules 2016-07-06 00:21:25 -04:00
COPYRIGHT update year in COPYRIGHT file 2019-07-15 18:28:43 -04:00
INSTALL mention mips64 n32 ABI support in INSTALL doc 2019-07-09 18:40:50 -04:00
Makefile overhaul internally-public declarations using wrapper headers 2018-09-12 14:34:33 -04:00
README update version reference in the README file 2014-06-25 14:16:53 -04:00
VERSION release 1.1.23 2019-07-16 15:30:39 -04:00
WHATSNEW release 1.1.23 2019-07-16 15:30:39 -04:00
configure configure: make AR and RANLIB customizable 2019-07-04 12:03:18 -04:00
dynamic.list fix regression in access to optopt object 2018-11-19 13:20:41 -05:00

README

    musl libc

musl, pronounced like the word "mussel", is an MIT-licensed
implementation of the standard C library targetting the Linux syscall
API, suitable for use in a wide range of deployment environments. musl
offers efficient static and dynamic linking support, lightweight code
and low runtime overhead, strong fail-safe guarantees under correct
usage, and correctness in the sense of standards conformance and
safety. musl is built on the principle that these goals are best
achieved through simple code that is easy to understand and maintain.

The 1.1 release series for musl features coverage for all interfaces
defined in ISO C99 and POSIX 2008 base, along with a number of
non-standardized interfaces for compatibility with Linux, BSD, and
glibc functionality.

For basic installation instructions, see the included INSTALL file.
Information on full musl-targeted compiler toolchains, system
bootstrapping, and Linux distributions built on musl can be found on
the project website:

    http://www.musl-libc.org/