musl - an implementation of the standard library for Linux-based systems
Go to file
Rich Felker 64e32287f9 add thread-pointer support for pre-2.6 kernels on i386
such kernels cannot support threads, but the thread pointer is also
important for other purposes, most notably stack protector. without a
valid thread pointer, all code compiled with stack protector will
crash. the same applies to any use of thread-local storage by
applications or libraries.

the concept of this patch is to fall back to using the modify_ldt
syscall, which has been around since linux 1.0, to setup the gs
segment register. since the kernel does not have a way to
automatically assign ldt entries, use of slot zero is hard-coded. if
this fallback path is used, __set_thread_area returns a positive value
(rather than the usual zero for success, or negative for error)
indicating to the caller that the thread pointer was successfully set,
but only for the main thread, and that thread creation will not work
properly. the code in __init_tp has been changed accordingly to record
this result for later use by pthread_create.
2014-06-10 03:36:56 -04:00
arch add vdso clock_gettime acceleration support to i386 2014-06-06 03:29:36 -04:00
crt superh port 2014-02-23 16:15:54 -06:00
dist add another example option to dist/config.mak 2012-04-24 16:49:11 -04:00
include add support for ipv6 scope_id to getaddrinfo and getnameinfo 2014-06-04 02:24:38 -04:00
lib new solution for empty lib dir (old one had some problems) 2011-02-17 17:12:52 -05:00
src add thread-pointer support for pre-2.6 kernels on i386 2014-06-10 03:36:56 -04:00
tools fix system breakage window during make install due to permissions 2014-01-15 22:29:13 -05:00
.gitignore add version.h to .gitignore; it is a generated file 2014-01-21 01:06:42 -05:00
configure trivial formatting fix for the config.mak generated by configure 2014-05-20 15:49:21 -04:00
COPYRIGHT update COPYRIGHT file with additional contributor information 2014-03-20 00:34:19 -04:00
INSTALL update INSTALL file with new information and better advice 2014-03-20 00:55:28 -04:00
Makefile remove dependency of version.h on .git/* to avoid errors 2013-12-04 18:00:19 -05:00
README remove claim of XSI coverage from README 2014-03-20 04:15:47 -04:00
VERSION release 1.1.2 2014-06-06 18:36:00 -04:00
WHATSNEW release 1.1.2 2014-06-06 18:36:00 -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.0 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/