summaryrefslogtreecommitdiff
path: root/libc
AgeCommit message (Collapse)Author
2005-08-12missed one of the __error names in changing to __syscall_errorMike Frysinger
2005-08-11jump straight to __syscall_errorMike Frysinger
2005-08-09update crt0 to crt1 based heavily on glibc start.S and to sync up with ↵Mike Frysinger
__uClibc_main changes
2005-08-09use sigprocmask instead of internal __sigprocmask since __ version doesnt ↵Mike Frysinger
always exist
2005-08-09move __fpscr_values out of crt0 and into libc as proposed by Daniel ↵Mike Frysinger
Jacobowitz so that libm.so links properly with newer toolchains
2005-08-09remove unused/pointless variablesMike Frysinger
2005-08-08remove duplicated _syscall6 definitions and unify them with a defineMike Frysinger
2005-08-08eat whitespaceMike Frysinger
2005-08-04whitespace itMike Frysinger
2005-08-04yvasilev writes in Bug 235:Mike Frysinger
uClibc uses wrong word order in vfp floating point arithmetic. I found this using my modification to N. Pitre's soft-float gcc patch, but this modifications were made just to allow gcc to compile code for armv4l, while nothing about fp arithmetic was changed.
2005-08-03Update from (older) glibc code.Manuel Novoa III
2005-08-03POSIX requires that fields st_dev and st_rdev to be of type dev_t.Manuel Novoa III
2005-07-31Old glibc fix for ltp's clone07 test. Another file that needs updating...Manuel Novoa III
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