summaryrefslogtreecommitdiff
path: root/libc
AgeCommit message (Collapse)Author
2005-08-17Make uClibc vfork() use kernels vfork() instead of fork(). Joakim Tjernlund
2005-08-16add a 0.9.27 compat symbol (_glibc_strerror_r) since the function has since ↵Mike Frysinger
been renamed to __glibc_strerror_r in 0.9.28
2005-08-15For current kernels, we just use the getcwd() syscall. For old 2.0 linuxEric Andersen
kernels, we need this bit to make the non-syscall version that recurses up the directory path work properly. Thanks go to Harald Kuethe for sorting this out.
2005-08-15arm has its own iopl.c now so we dont need ugly #ifdef check for armMike Frysinger
2005-08-15rip out iopl from ioperm.c so it will override the common iopl.cMike Frysinger
2005-08-15import thumb support from jbowler in Bug 385Mike Frysinger
2005-08-14eat whitespaceMike Frysinger
2005-08-14import thumb support from jbowler in Bug 385Mike Frysinger
2005-08-13per suggestion by psm, remove the variable DYNAMIC_LINKEREric Andersen
2005-08-12Removed hardcoded ld-uClibc.so.0 in uClibc. From Peter Mazinger.Joakim Tjernlund
2005-08-12revert __error -> __syscall_error change since it doesnt work for cloneMike Frysinger
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