| Commit message (Expand) | Author | Files | Lines |
| 2012-07-24 | retry on cas failures in sem_trywait•••this seems counter-intuitive since sem_trywait is supposed to just try
once, not wait for the semaphore. however, the retry loop is not a
wait. instead, it's to handle the case where the value changes due to
a simultaneous post or wait from another thread while the semaphore
value remains positive. in such a case, it's absolutely wrong for
sem_trywait to fail with EAGAIN because the semaphore is not busy.
| Rich Felker | 1 | -2/+2 |
| 2012-07-23 | gcc wrapper improvement: leave libgcc dir in the library path•••this is needed in case -lgcc is passed explicitly on the link command
line, for example if the wrapper is being used to build musl itself.
| Rich Felker | 1 | -1/+1 |
| 2012-07-23 | add ioperm/iopl syscalls•••based on patches by orc and Isaac Dunham, with some fixes. sys/io.h
exists and contains prototypes for these functions regardless of
whether the target arch has them; this is a bit unorthodox but I don't
think it will break anything. the function definitions do not exist
unless the appropriate SYS_* syscall number macro is defined, which
should make sure configure scripts looking for these functions don't
find them on other systems.
presently, sys/io.h does not have the inb/outb/etc. port io
macros/functions. I'd be surprised if ioperm/iopl are useful without
them, so they probably need to be added at some point in appropriate
bits/io.h files...
| Rich Felker | 3 | -0/+31 |
| 2012-07-23 | add splice and vmsplice syscalls•••based on patches by orc and Isaac Dunham.
| Rich Felker | 3 | -0/+28 |
| 2012-07-23 | add extended attributes syscalls•••based on patch by orc and Isaac Dunham, with some fixes.
| Rich Felker | 2 | -0/+74 |
| 2012-07-23 | add pipe2 syscall•••based on patch by orc and Isaac Dunham, with some details fixed.
| Rich Felker | 2 | -0/+9 |
| 2012-07-22 | remove scanf dependency from getaddrinfo /etc/services support | Rich Felker | 1 | -5/+4 |
| 2012-07-22 | getaddrinfo /etc/services lookup support | Rich Felker | 1 | -3/+16 |
| 2012-07-22 | fix namespace issue in prototypes in math.h | Rich Felker | 1 | -2/+2 |
| 2012-07-22 | fix wrong size for sigjmp_buf signal set array•••128 is the size in bytes, not longs.
| Rich Felker | 1 | -1/+1 |
| 2012-07-22 | add floating point register saving/restoring to mips setjmp/longjmp•••also fix the alignment of jmp_buf to meet the abi. linux always
emulates fpu on mips if it's not present, so enabling this code
unconditionally is "safe" but may be slow. in the long term it may be
preferable to find a way to disable it on soft float builds.
| Rich Felker | 3 | -2/+30 |
| 2012-07-22 | make getservby*_r return error code rather than -1 (and using errno)•••untested but should be correct..
| Rich Felker | 2 | -19/+35 |
| 2012-07-21 | fix logic error for skipping failed interfaces in if_nameindex | Rich Felker | 1 | -8/+7 |
| 2012-07-19 | fix typo in aio.h | Rich Felker | 1 | -1/+1 |
| 2012-07-14 | fix getservby*() with null pointer for protocol argument•••not sure this is the best fix but it should work
| Rich Felker | 2 | -0/+8 |
| 2012-07-14 | avoid blx instruction which does not exist on armv4t or armv4 | Rich Felker | 1 | -1/+2 |
| 2012-07-13 | make dynamic linker tell the debugger its own pathname•••use the main program's PT_INTERP header if possible, since this is
sure to be a correct (and hopefully absolute) pathname.
| Rich Felker | 1 | -0/+5 |
| 2012-07-12 | fix broken mips a_fetch_add•••sc was overwriting the result
| Rich Felker | 1 | -7/+7 |