| Commit message (Expand) | Author | Files | Lines |
| 2011-09-21 | fix missing SIG_DFL, SIG_IGN, SIG_ERR without posix in signal.h | Rich Felker | 1 | -5/+6 |
| 2011-09-21 | avoid setting FILE lock count when not using flockfile•••for now this is just a tiny optimization, but later if we support
cancellation from __stdio_read and __stdio_write, it will be necessary
for the recusrive lock count to be zero in order for these functions
to know they are responsible for unlocking the FILE on cancellation.
| Rich Felker | 1 | -1/+1 |
| 2011-09-21 | gnu search.h has struct qelem... | Rich Felker | 1 | -0/+7 |
| 2011-09-21 | release notes for 0.8.3 | Rich Felker | 1 | -0/+13 |
| 2011-09-21 | update syscalls with off_t arguments to handle argument alignment, if needed•••the arm syscall abi requires 64-bit arguments to be aligned on an even
register boundary. these new macros facilitate meeting the abi
requirement without imposing significant ugliness on the code.
| Rich Felker | 9 | -11/+14 |
| 2011-09-21 | new gcc wrapper now supports pre-4.4 gcc versions and is more robust | Rich Felker | 1 | -16/+39 |
| 2011-09-21 | new installation guide with alternate and primary libc setups | Rich Felker | 1 | -37/+107 |
| 2011-09-20 | fix some header typos | Rich Felker | 2 | -2/+2 |
| 2011-09-20 | make stdbool.h conform to c99 | Rich Felker | 1 | -1/+2 |
| 2011-09-20 | fix incorrect include guard in mqueue.h | Rich Felker | 1 | -2/+2 |
| 2011-09-20 | fix statvfs.c to match new fsid_t definition | Rich Felker | 1 | -1/+1 |
| 2011-09-20 | fix the fsid_t structure to match name of __val•••this is a case of poorly written man pages not matching the actual
implementation, and why i hate implementing nonstandard interfaces
with no actual documentation of how they're intended to work.
| Rich Felker | 1 | -1/+1 |
| 2011-09-20 | fix broken siginfo_t with _GNU_SOURCE defined•••this bug was introduced in a recent patch. the problem we're working
around is that broken GNU software wants to use "struct siginfo"
rather than "siginfo_t", but "siginfo" is not in the reserved
namespace and thus not legal for the standard header to use.
| Rich Felker | 1 | -6/+5 |
| 2011-09-19 | fix the definition of struct statvfs to match lsb abi•••at the same time, make struct statfs match the traditional definition
and make it more useful, especially the fsid_t stuff.
| Rich Felker | 7 | -70/+88 |
| 2011-09-19 | add some more siginfo aliases broken software expects... | Rich Felker | 1 | -0/+2 |
| 2011-09-19 | cleanup redundancy in bits/signal.h versions | Rich Felker | 4 | -376/+139 |
| 2011-09-19 | fix the type of wchar_t on arm; support wchar_t varying with arch•••really wchar_t should never vary, but the ARM EABI defines it as an
unsigned 32-bit int instead of a signed one, and gcc follows this
nonsense. thus, to give a conformant environment, we have to follow
(otherwise L""[0] and L'\0' would be 0U rather than 0, but the
application would be unaware due to a mismatched definition for
WCHAR_MIN and WCHAR_MAX, and Bad Things could happen with respect to
signed/unsigned comparisons, promotions, etc.).
fortunately no rules are imposed by the C standard on the relationship
between wchar_t and wint_t, and WEOF has type wint_t, so we can still
make wint_t always-signed and use -1 for WEOF.
| Rich Felker | 6 | -21/+20 |
| 2011-09-19 | fix incorrect long double parameters on arm (and other future ports)•••this was the cause of crashes in printf when attempting to print
floating point values.
| Rich Felker | 2 | -10/+22 |
| 2011-09-19 | fix broken multi-inclusion guard in sys/reg.h | Rich Felker | 1 | -2/+2 |
| 2011-09-18 | initial commit of the arm port•••this port assumes eabi calling conventions, eabi linux syscall
convention, and presence of the kernel helpers at 0xffff0f?0 needed
for threads support. otherwise it makes very few assumptions, and the
code should work even on armv4 without thumb support, as well as on
systems with thumb interworking. the bits headers declare this a
little endian system, but as far as i can tell the code should work
equally well on big endian.
some small details are probably broken; so far, testing has been
limited to qemu/aboriginal linux.
| Rich Felker | 36 | -0/+2225 |
| 2011-09-18 | disable dynamic linking/loading code in static libc builds, for now•••it does not work, but some configure scripts will falsely detect
support then generate programs that crash when they call dlopen.
| Rich Felker | 1 | -0/+2 |
| 2011-09-18 | cleanup more bits cruft (sysmacros and socket) | Rich Felker | 6 | -414/+199 |
| 2011-09-18 | more bits junk (tcp.h) | Rich Felker | 3 | -3/+1 |
| 2011-09-18 | move invariant netinet/in.h stuff out of bits/in.h | Rich Felker | 3 | -292/+147 |
| 2011-09-18 | overhaul clone syscall wrapping•••several things are changed. first, i have removed the old __uniclone
function signature and replaced it with the "standard" linux
__clone/clone signature. this was necessary to expose clone to
applications anyway, and it makes it easier to port __clone to new
archs, since it's now testable independently of pthread_create.
secondly, i have removed all references to the ugly ldt descriptor
structure (i386 only) from the c code and pthread structure. in places
where it is needed, it is now created on the stack just when it's
needed, in assembly code. thus, the i386 __clone function takes the
desired thread pointer as its argument, rather than an ldt descriptor
pointer, just like on all other sane archs. this should not affect
applications since there is really no way an application can use clone
with threads/tls in a way that doesn't horribly conflict with and
clobber the underlying implementation's use. applications are expected
to use clone only for creating actual processes, possibly with new
namespace features and whatnot.
| Rich Felker | 9 | -62/+135 |
| 2011-09-17 | release notes for 0.8.2 | Rich Felker | 1 | -0/+11 |
| 2011-09-17 | dummy implementation of set_thread_area•••eventually we may have a working "generic" implementation for archs
that don't need anything special. in any case, the goal of having
stubs like this is to allow early testing of new ports before all the
details needed for threads have been filled in. more functions like
this will follow.
| Rich Felker | 1 | -0/+6 |
| 2011-09-16 | fix assumptions that char is signed | Rich Felker | 1 | -2/+2 |
| 2011-09-16 | fix more instances of old a_xchg (use new a_swap name) | Rich Felker | 3 | -3/+3 |
| 2011-09-16 | use a_swap rather than old name a_xchg | Rich Felker | 1 | -1/+1 |
| 2011-09-16 | fix generic sigsetjmp (unused anyway) pointer signedness error | Rich Felker | 1 | -1/+1 |
| 2011-09-16 | fix idiotic const-correctness error in lio_listio•••i blame this one on posix for using hideous const-qualified double
pointers which are unusable without hideous casts.
| Rich Felker | 1 | -1/+1 |
| 2011-09-16 | fix ptrace (maybe) | Rich Felker | 1 | -1/+8 |
| 2011-09-15 | implement ptrace syscall wrapper (untested) | Rich Felker | 2 | -1/+19 |
| 2011-09-14 | 0.8.1 release notes | Rich Felker | 1 | -0/+9 |
| 2011-09-14 | remove incorrectly-made-visible internal dst offset variable | Rich Felker | 1 | -1/+0 |
| 2011-09-14 | fix inconsistent signature for aio_error | Rich Felker | 1 | -1/+1 |
| 2011-09-13 | fix return types for aio_read and aio_write again•••previous fix was backwards and propagated the wrong type rather than
the right one...
| Rich Felker | 2 | -4/+4 |
| 2011-09-13 | fix various errors in function signatures/prototypes found by nsz | Rich Felker | 9 | -16/+19 |
| 2011-09-13 | fix cruft left in release notes | Rich Felker | 1 | -1/+1 |
| 2011-09-13 | fix prototypes for aio_read and aio_write | Rich Felker | 1 | -2/+2 |
| 2011-09-13 | add missing posix_spawnattr_init/destroy functions | Rich Felker | 2 | -0/+13 |
| 2011-09-13 | 0.8.0 release | Rich Felker | 2 | -12/+66 |
| 2011-09-13 | remove some stray trailing space characters | Rich Felker | 4 | -4/+4 |
| 2011-09-12 | implement gnu sigisemptyset | Rich Felker | 2 | -0/+10 |
| 2011-09-11 | add prototypes for GNU *_unlocked stdio functions•••actually these are just weak aliases for the normal locking versions
right now, and they will probably stay that way since making them
lock-free without slowing down the normal versions would require
significant code duplication for no benefit.
| Rich Felker | 1 | -0/+4 |
| 2011-09-11 | add dummied strverscmp (obnoxious GNU function)•••programs that use this tend to horribly botch international text
support, so it's questionable whether we want to support it even in
the long term... for now, it's just a dummy that calls strcmp.
| Rich Felker | 2 | -0/+8 |
| 2011-09-11 | declare alloca in stdlib.h when _GNU_SOURCE is defined | Rich Felker | 1 | -0/+1 |
| 2011-09-11 | fix serious bug in pthread_join•••on spurious wakeups/returns from __timedwait, pthread_join would
"succeed" and unmap the thread's stack while it was still running. at
best this would lead to SIGSEGV when the thread resumed execution, but
in the worst case, the thread would later resume executing on top of
another new thread's stack mapped at the same address.
spent about 4 hours tracking this bug down, chasing rare
difficult-to-reproduce stack corruption in a stress test program.
still no idea *what* caused the spurious wakeups; i suspect it's a
kernel bug.
| Rich Felker | 1 | -2/+2 |
| 2011-09-09 | fix pthread_join wait call: thread termination tid futex is not private•••this seeme to be the bug that prevented enabling of private futex
support. i'm going to hold off on switching to private futexes until
after the next release, and until i get a chance to audit all
wait/wake calls to make sure they're using the correct private
argument, but with this change it should be safe to enable private
futex support.
| Rich Felker | 1 | -1/+1 |