musl - an implementation of the standard library for Linux-based systems
Go to file
Rich Felker be999f7a54 fix thread structure/dtv-pointer corruption on powerpc
per the powerpc psabi, offset 4 of the stack at call time belongs to
the callee and is used for spilling lr (return address). in addition,
offset 0 on the stack must contain a pointer to the previous stack
frame, or a null pointer for the initial stack frame of a thread.
__clone failed to setup any stack frame on the new thread's stack,
thereby allowing the start function it called to clobber offset 4 of
the new thread's struct __pthread, which contains the dtv pointer.

add code to setup a proper stack frame and align the stack pointer to
a multiple of 16 (also an abi requirement) if it was not already
aligned.
2016-04-25 19:37:06 -04:00
arch add mips n32 port (ILP32 ABI for mips64) 2016-04-18 05:19:13 +00:00
crt add mips n32 port (ILP32 ABI for mips64) 2016-04-18 05:19:13 +00:00
dist add another example option to dist/config.mak 2012-04-24 16:49:11 -04:00
include add MADV_FREE madvise command from linux v4.5 2016-03-19 11:31:24 -04:00
ldso generalize mips-specific reloc code not to hard-code sym/type encoding 2016-03-06 17:25:52 +00:00
src fix thread structure/dtv-pointer corruption on powerpc 2016-04-25 19:37:06 -04:00
tools add CFI generation script for x86_64 2015-10-13 18:09:46 -04:00
.gitignore support out-of-tree build 2016-01-17 16:34:43 -05:00
COPYRIGHT fix outdated pathnames in COPYRIGHT file 2016-03-18 23:46:41 -04:00
INSTALL update documentation files for mips64 port 2016-03-06 17:48:58 +00:00
Makefile generate list of crt files to install instead of hard-coding in makefile 2016-02-19 14:16:33 -05:00
README update version reference in the README file 2014-06-25 14:16:53 -04:00
VERSION release 1.1.14 2016-02-22 00:07:05 -05:00
WHATSNEW release 1.1.14 2016-02-22 00:07:05 -05:00
configure add mips n32 port (ILP32 ABI for mips64) 2016-04-18 05:19:13 +00: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/