You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Rich Felker
d89c9e8a63
use an accessor function for __libc data pointer when compiled as PIC
prior to this change, a large portion of libc was unusable prior to
relocation by the dynamic linker, due to dependence on the global data
in the __libc structure and the need to obtain its address through the
GOT. with this patch, the accessor function __libc_loc is now able to
obtain the address of __libc via PC-relative addressing without using
the GOT. this means the majority of libc functionality is now
accessible right away.
naturally, the above statements all depend on having an architecture
where PC-relative addressing and jumps/calls are feasible, and a
compiler that generates the appropriate code.
15 years ago
..
conf
put confstr.c with the other conf functions
15 years ago
ctype
more header fixes, minor warning fix
15 years ago
dirent
finish moving 32-bit-specific junk out of source files.
15 years ago
env
initial check-in, version 0.5.0
15 years ago
errno
initial check-in, version 0.5.0
15 years ago
exit
initial check-in, version 0.5.0
15 years ago
fcntl
initial check-in, version 0.5.0
15 years ago
internal
use an accessor function for __libc data pointer when compiled as PIC
15 years ago
ipc
fixed missing cast in the non-i386 version of shmat (preparation for ports)
15 years ago
linux
workaround gcc bug 46926 by providing a dumb sincos implementation
15 years ago
locale
use a more-correct integer type, and silence 64-bit warnings as a bonus
15 years ago
malloc
make malloc(0) return unique pointers rather than NULL
15 years ago
math
Port musl to x86-64. One giant commit!
15 years ago
misc
fix compile failure: legacy cuserid needs to define feature test
15 years ago
mman
cleaning up syscalls in preparation for x86_64 port
15 years ago
multibyte
cleanup multibyte stuff to remove ugly casts, sanitize the ptr align casts
15 years ago
network
cleanup socketcall syscall interface to ease porting to sane(r) archs
15 years ago
passwd
guard against hard links to non-ordinary-files when reading tcb shadow
15 years ago
prng
initial check-in, version 0.5.0
15 years ago
process
add pthread_atfork interface
15 years ago
regex
initial check-in, version 0.5.0
15 years ago
select
yet another ugly legacy syscall rename...
15 years ago
setjmp
Port musl to x86-64. One giant commit!
15 years ago
signal
fix null pointer dereference introduced in last sigprocmask commit
15 years ago
stat
add portable lchown (trivial to support and a few ancient things want it..)
15 years ago
stdio
avoid referencing address of extern function from vdprintf
15 years ago
stdlib
don't compare elements with themselves during qsort.
15 years ago
string
more header cleanup and conformance fixes - string.h
15 years ago
stub
make real symbols for the legacy (nonstandardized) utmp functions
15 years ago
temp
make mktemp match the historic behavior, and update functions that use it
15 years ago
termios
initial check-in, version 0.5.0
15 years ago
thread
use rt_sigprocmask, not legacy sigprocmask, syscall in pthread exit code
15 years ago
time
implement the remaining clock_* interfaces
15 years ago
unistd
finish moving 32-bit-specific junk out of source files.
15 years ago