Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2011-06-19 | make ldso asm more uniform with rest of codebase (no unnecessary suffixes) | Rich Felker | 1 | -12/+12 | |
2011-06-19 | x86_64: ensure that dtor pointer passed to app is 0 so it won't be used | Rich Felker | 1 | -0/+1 | |
leaving it uninitialized caused unpredictable crashes or worse due to calling an indeterminate function pointer. | |||||
2011-06-18 | dynamic linker 64bit fix: hash table entries are always 32bit | Rich Felker | 1 | -2/+2 | |
2011-06-18 | experimental dynamic linker! | Rich Felker | 5 | -0/+466 | |
some notes: - library search path is hard coded - x86_64 code is untested and may not work - dlopen/dlsym is not yet implemented - relocations in read-only memory won't work | |||||
2011-06-18 | fix memory leak on failure in realpath | Rich Felker | 1 | -4/+4 | |
2011-06-18 | copy-paste error in prctl.h | Rich Felker | 1 | -1/+1 | |
2011-06-16 | fix some struct padding to match LSB/glibc ABI where it may be helpful | Rich Felker | 2 | -2/+5 | |
2011-06-16 | duplicate re_nsub in LSB/glibc ABI compatible location | Rich Felker | 2 | -2/+3 | |
2011-06-14 | restore use of .type in asm, but use modern @function (vs %function) | Rich Felker | 20 | -0/+29 | |
this seems to be necessary to make the linker accept the functions in a shared library (perhaps to generate PLT entries?) strictly speaking libc-internal asm should not need it. i might clean that up later. | |||||
2011-06-14 | __syscall5 inline is having trouble with PIC; just use the function for now | Rich Felker | 1 | -0/+7 | |
2011-06-14 | fix race condition in pthread_kill | Rich Felker | 3 | -1/+8 | |
if thread id was reused by the kernel between the time pthread_kill read it from the userspace pthread_t object and the time of the tgkill syscall, a signal could be sent to the wrong thread. the tgkill syscall was supposed to prevent this race (versus the old tkill syscall) but it can't; it can only help in the case where the tid is reused in a different process, but not when the tid is reused in the same process. the only solution i can see is an extra lock to prevent threads from exiting while another thread is trying to pthread_kill them. it should be very very cheap in the non-contended case. | |||||
2011-06-14 | run dtors before taking the exit-lock in pthread exit | Rich Felker | 1 | -2/+2 | |
previously a long-running dtor could cause pthread_detach to block. | |||||
2011-06-14 | minor locking optimizations | Rich Felker | 2 | -2/+2 | |
2011-06-13 | avoid 64bit warnings when using pointers as entropy for temp names | Rich Felker | 2 | -2/+4 | |
2011-06-13 | fix sigset macro for 64-bit systems (<< was overflowing due to wrong type) | Rich Felker | 1 | -1/+1 | |
2011-06-13 | remove all .size and .type directives for functions from the asm | Rich Felker | 18 | -52/+0 | |
these are useless and have caused problems for users trying to build with non-gnu tools like tcc's assembler. | |||||
2011-06-13 | remove old useless timezone.s file (unused) | Rich Felker | 1 | -27/+0 | |
2011-06-13 | fix wrong type for wcsrchr argument 2 | Rich Felker | 1 | -1/+1 | |