musl - an implementation of the standard library for Linux-based systems
Go to file
Rich Felker c87a521033 move calls to application init functions after crt1 entry point
this change is needed to be compatible with fdpic, where some of the
main application's relocations may be performed as part of the crt1
entry point. if we call init functions before passing control, these
relocations will not yet have been performed, and the init code will
potentially make use of invalid pointers.

conceptually, no code provided by the application or third-party
libraries should run before the application entry point. the
difference is not observable to programs using the crt1 we provide,
but it could come into play if custom entry point code is used, so
it's better to be doing this right anyway.
2015-09-22 20:24:28 +00:00
arch add real fdpic loading of shared libraries 2015-09-22 19:12:48 +00:00
crt make sh crti/crtn init/fini fragments setup proper stack frame 2015-09-12 02:50:28 +00:00
dist add another example option to dist/config.mak 2012-04-24 16:49:11 -04:00
include remove attribute((const)) from pthread_self and errno location decls 2015-09-17 04:45:01 +00:00
lib new solution for empty lib dir (old one had some problems) 2011-02-17 17:12:52 -05:00
src move calls to application init functions after crt1 entry point 2015-09-22 20:24:28 +00:00
tools Build process uses script to add CFI directives to x86 asm 2015-08-26 14:55:13 +00:00
.gitignore add musl-clang, a wrapper for system clang installs 2015-07-06 23:52:16 +00:00
COPYRIGHT update authors/contributors list 2015-03-16 18:43:54 -04:00
INSTALL update notice on broken gcc versions in INSTALL file 2014-07-31 19:02:54 -04:00
Makefile remove use of buggy .SECONDARY special target in makefile 2015-08-30 18:44:58 +00:00
README update version reference in the README file 2014-06-25 14:16:53 -04:00
VERSION release 1.1.11 2015-08-30 04:15:56 +00:00
WHATSNEW release 1.1.11 2015-08-30 04:15:56 +00:00
configure try to suppress linking libc.so if there are undefined symbols 2015-09-22 15:45:40 +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/