summaryrefslogtreecommitdiff
path: root/libc
AgeCommit message (Collapse)Author
2002-09-10Don't run floating point opcodes when code is compiled -msoft-floatEric Andersen
-Erik
2002-09-10Don't unconditionally save/restore FP registers, we might be doing soft"Steven J. Hill"
floating point. Thanks to Jay Carlson.
2002-09-10Fix some locking problems noted by Manuel. __getgrent() was alwaysEric Andersen
called under lock, but the callers did not share the same locks... -Erik
2002-09-10Patch from Tiago Marques <tmarques@viaconnect.inf.br> -- fall back toEric Andersen
using SOCK_STREAM if SOCK_DGRAM fails. -Erik
2002-09-10As noted by Bill Huang <billhuang@redsonic.com>, the gid and uidEric Andersen
were reversed in putpwent(). Oops. -Erik
2002-09-09Remove malloc_simple from subdir list.Manuel Novoa III
2002-09-09Fixed compile bugs having to do with 64-bit filesystem operations that"Steven J. Hill"
need to be disabled when 'DOLFS' is disabled.
2002-09-09(realloc): Record the correct size in the malloc header in the caseMiles Bader
where we extended the existing allocation, and got back more than we asked for from the heap.
2002-09-06Patch from Tero_Lyytik�inen <tero@paravant.fi> to fix bug in matchcharManuel Novoa III
case.
2002-09-06Add #include <malloc.h> to silence warning.Manuel Novoa III
2002-09-06Initial checkin.Miles Bader
2002-09-06Update debugging hooks.Miles Bader
2002-09-05split-out memalign and reallocEric Andersen
-Erik
2002-09-05Change <bits/syscall.h> to <bits/sysnum.h>.Miles Bader
2002-09-04'syscall' now properly works for MIPS."Steven J. Hill"
2002-09-04Make sjhill happy, and revive memalignEric Andersen
-Erik
2002-09-04Fixed 'struct ipc_perm' and 'struct msqid_ds' members to allow the Linux"Steven J. Hill"
Test Project to compile as well as be consistent with the architecture specific files. Maybe eventually the architecture specific files could be removed all together.
2002-09-04Per discussions with Erik, 'valloc.c' should be built on top of whichever"Steven J. Hill"
memory allocator you choose. Unfortunately, the 'malloc-930716' needs a fair amount of work before it is functional. For now, changes have been made to add the 'valloc' call and it works properly with the plain 'malloc' allocator.
2002-09-04Added 'valloc' back in. Ok, Erik can smack me now."Steven J. Hill"
2002-09-04Add syscalls: modify_ldt _sysctl setresuid getresuid setresgid getresgid"Steven J. Hill"
2002-09-04Added function 'mkdtemp' for Linux Test Project."Steven J. Hill"
2002-09-04Added function 'get_current_dir_name' for Linux Test Project. Tested and"Steven J. Hill"
works identically to function in glibc.
2002-09-04(free):Miles Bader
Update debug statement. Update to use __heap_delete and __heap_is_empty.
2002-09-04(__heap_delete): Renamed from `__heap_unlink_free_area'.Miles Bader
(__heap_free_area_alloc): Use __heap_delete. (__heap_is_empty): New macro.
2002-09-03Support fstatvfs64 and statvfs64Eric Andersen
-Erik
2002-09-03Oops. Turns out I broke statvfs() and fstatvfs() back in February,Eric Andersen
when I accidentally changed them unconditionally into the 64 bit versions... Oops. -Erik
2002-08-30Redo stat structures (kernel changed too).Miles Bader
2002-08-30Add __kernel_ino64_t.Miles Bader
Make __kernel_loff_t unconditional.
2002-08-30Doc fix.Miles Bader
2002-08-30(__heap_free): Tighten up the inner loop, and make the code more readable.Miles Bader
2002-08-30Use `likely' & `unlikely' instead of the `__malloc_'-prefixed versions.Miles Bader
2002-08-30(likely, unlikely): New macros.Miles Bader
2002-08-30(likely, unlikely): New macros.Miles Bader
(__malloc_likely, __malloc_unlikely): Macros removed.
2002-08-28Fix a silly bug notices by Ronald Wahl <rwa@peppercon.com>Eric Andersen
2002-08-28If the initfini.pl script changes, regenerate the crt[in].S files.David McCullough
2002-08-28Fix broken getpriority syscall, per email from Marshall M. MiddenEric Andersen
-Erik
2002-08-27Somehow the bit of code that add the offset of envp to argv got lostDavid McCullough
and envp was a very small number and not an address. I think this fixes most of the SH platform.
2002-08-27Make sure that bits/syscalls.h always includes bits/syscall.hEric Andersen
-Erik
2002-08-27Reimplement sys_errlist[] so that it works on sparc, alpha, and mips.Manuel Novoa III
In my opinion, this is a complete waste of good memory and is only done to avoid the anticipated whining by people who think this libary is named uCglibc. At some point this may become a configurable option. And even then, it may not be available in all configs... for instance when system error messages become locale-dependent.
2002-08-27Fix a delay slot problem, this gets some apps working on SH, a good numberDavid McCullough
are still seg-faulting.
2002-08-27Added __kernel_fsid_t to satisfy some apps that need it.David McCullough
Definitions taken from 2.4 kernel sources for each of the platforms.
2002-08-26Implement missing readdir64_r.cEric Andersen
-Erik
2002-08-26sparc, alpha, and mips have different errno values than the otherManuel Novoa III
supported platforms. Adjust _susv3_strerror_r function to deal with this. Also fix an error in strerror() wrt invalid errnos. NOTE: sys_errlist and sys_nerr are no longer supported!!!
2002-08-26Oops. I got the include guard wrong. Fix it per currentEric Andersen
value in include/asm-v850/posix_types.h on cvs.uclinux.org -Erik
2002-08-26Make bits/kernel_types.h include guard names match the includeEric Andersen
guard names used by the kernel's asm/posix_types.h to eliminate gratuitous conflicts and let our file win over the very-likely- to-be-broken kernel header file. -Erik
2002-08-26Initial checkin.Miles Bader
2002-08-25Changed fclose behavior when custom streams were enabled. Previously,Manuel Novoa III
the cookie pointer was set to NULL as a debugging aid. However, some of the perl 5.8 test rely on being able to close stderr and still try writing to it. So now, the cookie pointer and handler function pointers are set to that it is a "normal" file with a file descriptor of -1. Note: The cookie pointer is reset to NULL if the FILE struct is free'd by fclose.
2002-08-25Kill the HAS_LONG_LONG option. It really did not make a lot ofEric Andersen
sense to exclude it, gcc always supports long long, and we never fully excluded long long anyways (off64_t for example). -Erik
2002-08-25Use the kernel version of struct msqid_ds directly, since we don'tEric Andersen
do any of that silly translating... -Erik
2002-08-25Finish off the bits/kernel_stat.h cleanup for properEric Andersen
__USE_FILE_OFFSET64 handling. -Erik