| Commit message (Expand) | Author | Files | Lines |
| 2012-07-11 | changes to kernel sigaction struct handling in preparation for mips port | Rich Felker | 3 | -15/+18 |
| 2012-07-11 | make dynamic linker depend on -DSHARED not -fPIC•••if libc.a is compiled PIC for use in static PIE code, this should not
cause the dynamic linker (which still does not support static-linked
main program) to be built into libc.a.
| Rich Felker | 1 | -1/+1 |
| 2012-07-11 | fix lots of breakage on dlopen, mostly with explicit pathnames•••most importantly, the name for such libs was being set from an
uninitialized buffer. also, shortname always had an initial '/'
character, making it useless for looking up already-loaded libraries
by name, and thus causing repeated searches through the library path.
major changes now:
- shortname is the base name for library lookups with no explicit
pathname. it's initially clear for libraries loaded with an explicit
pathname (and for the main program), but will be set if the same
library (detected via inodes match) is later found by a search.
- exact name match is never used to identify libraries loaded with an
explicit pathname. in this case, there's no explicit search, so we
can just stat the file and check for inode match.
| Rich Felker | 1 | -14/+21 |
| 2012-07-10 | support -mfpmath=387 on x86_64•••apparently somebody wants this for something... and it doesn't hurt.
| Rich Felker | 1 | -0/+4 |
| 2012-07-10 | fix wrong value of FLT_EVAL_METHOD for x86_64 | Rich Felker | 1 | -1/+1 |
| 2012-07-08 | make arm syscalls (still non-inline) more efficient•••no need to pass zero for unused arguments; just omit them.
| Rich Felker | 1 | -6/+6 |
| 2012-07-08 | remove little-endian assumption from arm atomic.h•••this hidden endian dependency had left big endian arm badly broken.
| Rich Felker | 1 | -4/+6 |
| 2012-07-07 | fix dlsym RTLD_NEXT support•••previously this was being handled the same as a library-specific,
dependency-order lookup on the next library in the global chain, which
is likely to be utterly meaningless. instead the lookup needs to be in
the global namespace, but omitting the initial portion of the global
library chain up through the calling library.
| Rich Felker | 1 | -1/+3 |
| 2012-07-04 | putw is supposed to return 0 (not the value written) on success•••this is not a standard but it's the traditional behavior and it's more
useful because the caller can reliably detect errors.
| Rich Felker | 1 | -1/+1 |
| 2012-07-04 | make sure getw/putw agree with prototypes by defining _GNU_SOURCE | Rich Felker | 2 | -0/+2 |
| 2012-07-04 | add prototypes for getw/putw | Rich Felker | 1 | -0/+2 |
| 2012-07-03 | configure: only use -ffloat-store on i386•••this option is expensive and only used on old gcc's that lack
-fexcess-precision=standed, but it's not needed on non-i386 archs
where floating point does not have excess precision anyway.
if musl ever supports m68k, i think it will need to be special-cased
too. i'm not aware of any other archs with excess precision.
| Rich Felker | 1 | -1/+1 |
| 2012-07-03 | jmp_buf overhaul fixing several issues•••on arm, the location of the saved-signal-mask flag and mask were off
by one between sigsetjmp and siglongjmp, causing incorrect behavior
restoring the signal mask. this is because the siglongjmp code assumed
an extra slot was in the non-sig jmp_buf for the flag, but arm did not
have this. now, the extra slot is removed for all archs since it was
useless.
also, arm eabi requires jmp_buf to have 8-byte alignment. we achieve
that using long long as the type rather than with non-portable gcc
attribute tags.
| Rich Felker | 6 | -14/+15 |