summaryrefslogtreecommitdiff
path: root/libc
AgeCommit message (Collapse)Author
2005-07-28the common sem.h is good enough for x86_64Mike Frysinger
2005-07-28the errno settings was fixed but the return value was still being clobbered ↵Mike Frysinger
... fix that too
2005-07-28tweak $TOPDIR usage to not have duplciate //Mike Frysinger
2005-07-28Fix string.h. Change our _susv3_strerror_r to __xpg_strerror_r for glibcManuel Novoa III
compatibility. Also change _glibc_strerror_r to __glibc_strerror_r for consistency.
2005-07-28Add a config option for abort() to shutdown the stdio subsystem. This isManuel Novoa III
mainly to cut down on noise in the NIST/PCTS tests since older POSIX behavior was to fclose() (and hence fflush()) all open streams.
2005-07-28A while back, the sysvipc code was changed to use IPC_64 in the calls.Manuel Novoa III
Unfortunatly, the semid_ds structs were not changed as needed. So import the necessary (tweaked) files from glibc. Only tested on x86 today, but I'll be testing mips tomorrow.
2005-07-27add some asm magic to fix setting errno/ret values in the .S functionsMike Frysinger
2005-07-25Fix 2 bugs in strftime related to glibc struct tm extensions.Manuel Novoa III
1) Need to negate tm_gmtoff field value when used. (bug 336). 2) Deal with NULL ptr case for tm_zone field, which was causing segfaults in both the NIST/PCTS tests and the Python 2.4.1 self-test suite. NOTE: We set uninitialized timezone names to "???", and this differs (intentionally) from glibc's behavior.
2005-07-23Since __syscall_error is a C func, we need to store the syscall return valueManuel Novoa III
in the appropriate register. Otherwise, errno is set to random garbage.
2005-07-17whoops, reversed naming of nano sec members ... kernel uses _, user space ↵Mike Frysinger
does not
2005-07-17syntax cleanupsMike Frysinger
2005-07-17tweak whitespaceMike Frysinger
2005-07-17rip out previous armeb old-stat abi compat code since arm linux opinion is ↵Mike Frysinger
that the old stat.h abi was for little endian only ... people should use this patch to fix their armeb kernels: http://www.arm.linux.org.uk/developer/patches/viewpatch.php?id=863/1
2005-07-17add support for nanosecondsMike Frysinger
2005-07-16make sure the stat64 struct is packed to prevent further ABI headaches as ↵Mike Frysinger
done in mainline 2.6
2005-07-16with the help of John Bowler, track down the ugly ABI change between 2.4 / ↵Mike Frysinger
2.6 on big endian arm kernels and work around it best we can at runtime
2005-07-15add support for passing nano seconds (if arch supports it)Mike Frysinger
2005-07-14import the rest of the glibc start.S so PIE worksMike Frysinger
2005-07-12import fix from glibc to resolve segfault reported by wmq in Bug 335Mike Frysinger
2005-07-10need syscall.h for __NR_clone definitionMike Frysinger
2005-07-10 define an abort instruction for m68kMike Frysinger
2005-07-10define an abort instruction for alphaMike Frysinger
2005-07-10alphabetize and warn if an arch is undefinedMike Frysinger
2005-07-10merge updates from glibc and fix up to work againMike Frysinger
2005-07-10update __UCLIBC_CTOR_DTOR__ checkMike Frysinger
2005-07-09punt unused __pthread_return_void funcMike Frysinger
2005-07-09import the __syscall_error trick for errno handlingMike Frysinger
2005-07-09this should be able to handle both 32 and 64 bit sparcMike Frysinger
2005-07-09drop the envp codeMike Frysinger
2005-07-09style updatesMike Frysinger
2005-07-09rewrite crt in asm using glibc as a basisMike Frysinger
2005-07-09update styleMike Frysinger
2005-07-09the generic mmap.c is not good enough for us, we need the syscall6() versionMike Frysinger
2005-07-09setting envp is pointless since no other arch does itMike Frysinger
2005-07-08oops, we want to jmp to the syscall handler, not call itMike Frysinger
2005-07-08CRT0_ -> CRT_Mike Frysinger
2005-07-07clean up from psm ... merge glibc updates and punt errno handling in favor ↵Mike Frysinger
of jockes trick of using __syscall_error
2005-07-07dont need errno.h anymoreMike Frysinger
2005-07-07add update from psm to support 6 arguments to syscallMike Frysinger
2005-07-07update syntaxMike Frysinger
2005-07-07Yoshinori Sato writes:Mike Frysinger
Dont forgive that length of munmap is "0" in current nommu. This purpose cannot free memory area really. It is a patch to work out a solution.
2005-07-06update comments/syntax and make sure we include features.h for the hidden defineMike Frysinger
2005-07-06Peter S. Mazinger writes: use the __syscall_error.c trick to handle setting ↵Mike Frysinger
errno
2005-07-06err, need to commit the rest of the changes from psm tooMike Frysinger
2005-07-06Peter S. Mazinger writes: we dont need features.hMike Frysinger
2005-07-06syntax touchups as suggested by Peter S. MazingerMike Frysinger
2005-07-06use % as the function marker instead of @Mike Frysinger
2005-07-06add support for __MALLOC_GLIBC_COMPAT__ (malloc(0) == NULL) so the malloc ↵Mike Frysinger
test wont fail
2005-07-04import armeb fixes as outlined by John BowlerMike Frysinger
2005-07-01enable clone.SMike Frysinger