musl - an implementation of the standard library for Linux-based systems
Go to file
Rich Felker a393d5cc8d precalculate gnu hash rather than doing it lazily in find_sym inner loop
this change was suggested based on testing done by Timo Teräs almost
two years ago; the branch (and probably call prep overhead) in the
inner loop was found to contribute noticably to total symbol lookup
time. this change will make lookup slightly slower if libraries were
built with only the traditional "sysv" ELF hash table, but based on
how much slower lookup tends to be without the gnu hash table, it
seems reasonable to assume that (1) users building without gnu hash
don't care about dynamic linking performance, and (2) the extra time
spent computing the gnu hash is likely to be dominated by the slowness
of the sysv hash table lookup anyway.
2017-03-15 16:50:19 -04:00
arch fix ld-behavior-dependent crash in ppc64 ldso startup 2017-03-08 13:35:33 -05:00
crt add s390x port 2016-11-11 23:06:21 -05:00
dist add another example option to dist/config.mak 2012-04-24 16:49:11 -04:00
include update tcp_info struct to linux v4.9 2016-12-29 22:11:01 -05:00
ldso precalculate gnu hash rather than doing it lazily in find_sym inner loop 2017-03-15 16:50:19 -04:00
src fix threshold constants in j0f, y0f, j1f, y1f 2017-03-15 00:15:28 -04:00
tools add CFI generation script for x86_64 2015-10-13 18:09:46 -04:00
.gitignore remove obsolete gitignore rules 2016-07-06 00:21:25 -04:00
COPYRIGHT update COPYRIGHT file to clarify that permissions apply for all files 2016-04-28 20:41:45 -04:00
INSTALL update documentation files for mips64 port 2016-03-06 17:48:58 +00:00
Makefile deduplicate __NR_* and SYS_* syscall number definitions 2016-05-12 00:34:05 -05:00
README update version reference in the README file 2014-06-25 14:16:53 -04:00
VERSION release 1.1.16 2016-12-31 22:27:17 -05:00
WHATSNEW release 1.1.16 2016-12-31 22:27:17 -05:00
configure when building for arm as thumb2 code, also request assembly as thumb 2016-12-19 21:53:33 -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/