summaryrefslogtreecommitdiff
path: root/libc
AgeCommit message (Collapse)Author
2005-07-31This fixes the pread/pwrite bugs reported by ltp. But I really need to pull ↵Manuel Novoa III
in the latest glibc stuff.
2005-07-30Check for __NR_fcntl64.Manuel Novoa III
2005-07-30Sigh... I wasn't checking for output errors. NIST/PCTS caught it.Manuel Novoa III
Hack in some temporary fixes until I have time to clean it up a bit more. Also rework _fpmaxtostr to reduce the size a bit and (hopefully) allow it to build for m68k (vapier tested an earlier version a while back).
2005-07-30Update with current glibc version.Manuel Novoa III
2005-07-30Since we're now always using IPC_64, we need this. Otherwise, some of the ↵Manuel Novoa III
perl tests fail on mipsel.
2005-07-30sjhill appears confused. vapier's earlier commit of string.h was broken.Manuel Novoa III
But I fixed it, and tested both x86 (locale) and mipsel before I commited the fixes. Just built with gcc 4.0.1 to see if that was the cause of his problems, but x86 (locale) built fine. So revert his last change.
2005-07-30The newly added __glibc_strerror_r function is probably fine, but the"Steven J. Hill"
uClibc did not even compile or link without errors. This fixes that up. Please test more thoroughly next time.
2005-07-29remove outdated comment and announce support for nanosecondsMike Frysinger
2005-07-29we are handed errno as a negative value so we need to reverse itMike Frysinger
2005-07-28further refine output so the silent mode of make is truly silentMike Frysinger
2005-07-28if fcntl() is called with a 64bit command and LFS is enabled, pass the ↵Mike Frysinger
command along to fcntl64 instead of returning ENOSYS (error detected by LTP fcntl18)
2005-07-28fix whitespacingMike Frysinger
2005-07-28s/__kernel_time_t/__time_tJoakim Tjernlund
2005-07-28Add missing #include <bits/wordsize.h> and change __kernel_time toJoakim Tjernlund
__time. Minior WS touchup also.
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