musl - an implementation of the standard library for Linux-based systems
Find a file
Alex Rønne Petersen 6af4f25b89 s390x: manually inline __tls_get_addr in __tls_get_offset
Calling __tls_get_addr with brasl is not valid since it's a global symbol; doing
so results in an R_390_PC32DBL relocation error from lld. We could fix this by
marking __tls_get_addr hidden since it is not part of the s390x ABI, or by using
a different instruction. However, given its simplicity, it makes more sense to
just manually inline it into __tls_get_offset for performance.

The patch has been tested by applying to Zig's bundled musl copy and running the
full Zig test suite under qemu-s390x.
2025-02-09 09:46:53 -05:00
arch loongarch64: add TLSDESC support 2024-10-22 20:36:09 -04:00
compat/time32 remove LFS64 symbol aliases; replace with dynamic linker remapping 2022-10-19 14:01:31 -04:00
crt mips: use preferred asm mnemomic jr for better assembler compatibility 2024-10-22 18:58:02 -04:00
dist add another example option to dist/config.mak 2012-04-24 16:49:11 -04:00
include sched.h: reduce namespace conflicts in _GNU_SOURCE profile 2025-01-13 08:31:02 -05:00
ldso ldso: don't reclaim zero-memory-sized segments 2025-02-09 09:03:50 -05:00
src s390x: manually inline __tls_get_addr in __tls_get_offset 2025-02-09 09:46:53 -05:00
tools install.sh: avoid creating symlinks with restricted permissions 2024-02-03 19:57:30 -05:00
.gitignore remove obsolete gitignore rules 2016-07-06 00:21:25 -04:00
.mailmap update contributor name 2019-12-07 12:21:35 -05:00
configure configure: enable riscv32 port 2024-02-29 16:59:06 -05:00
COPYRIGHT update contributor name in authorship notices 2024-10-10 19:44:58 -04:00
dynamic.list fix regression in access to optopt object 2018-11-19 13:20:41 -05:00
INSTALL update INSTALL file archs list with riscv32, loongarch64 additions 2024-02-29 19:23:03 -05:00
Makefile fix missing make dependency for Scrt1.o due to typo 2024-08-09 23:03:52 -04:00
README update version reference in the README file 2014-06-25 14:16:53 -04:00
VERSION release 1.2.5 2024-02-29 21:07:33 -05:00
WHATSNEW release 1.2.5 2024-02-29 21:07:33 -05: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/