musl - an implementation of the standard library for Linux-based systems
Go to file
Rich Felker 27c1eccf33 have configure check/add -ffunction-sections and -fdata-sections
based on patch by Denys Vlasenko. the original intent for using these
options was to enable linking optimizations. these are immediately
available for static linking applications to libc.a, and will also be
used for linking libc.so in a subsequent commit.

in addition to the original motives, this change works around a whole
class of toolchain bugs where the compiler generates relative address
expressions using a weak symbol and the assembler "optimizes out" the
relocation which should result by using the weak definition. (see gas
pr 18561 and gcc pr 66609, 68178, etc. for examples.) by having
different functions and data objects in their own sections, all
relative address expressions are cross-section and thus cannot be
resolved to constants until link time. this allows us to retain
support for affected compiler/assembler versions without invasive
and fragile source-level workarounds.
2015-11-04 13:24:11 -05:00
arch generalize sh entry point asm not to assume call dests fit in 12 bits 2015-11-02 18:11:36 -05:00
crt fix visibility mismatch in dynamic linker stage 2 function definition 2015-10-15 17:38:54 -04:00
dist add another example option to dist/config.mak 2012-04-24 16:49:11 -04:00
include fix mismatched parens in CMPLX def for annex-g-conforming compilers 2015-11-02 21:44:57 -05:00
lib new solution for empty lib dir (old one had some problems) 2011-02-17 17:12:52 -05:00
src fix mremap memory synchronization and use of variadic argument 2015-11-02 16:37:51 -05:00
tools add CFI generation script for x86_64 2015-10-13 18:09:46 -04:00
.gitignore add musl-clang, a wrapper for system clang installs 2015-07-06 23:52:16 +00:00
configure have configure check/add -ffunction-sections and -fdata-sections 2015-11-04 13:24:11 -05: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 keep user-provided CFLAGS/LDFLAGS separate from those added by configure 2015-11-02 16:58:14 -05:00
README update version reference in the README file 2014-06-25 14:16:53 -04:00
VERSION release 1.1.12 2015-10-19 19:12:57 -04:00
WHATSNEW release 1.1.12 2015-10-19 19:12:57 -04:00

    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/