summaryrefslogtreecommitdiff
path: root/libc
AgeCommit message (Collapse)Author
2003-03-07Patch from Stefan Allius:Eric Andersen
fix a couple of gcc 3.3 compiler warnings in gmon.c
2003-03-06For now, leave mmap on mips using mmap1, since mmap2 seemsEric Andersen
to have 'issues' (i.e. it doesn't work 100% properly). -Erik
2003-03-06Finish off gmon based profiling for powerpcEric Andersen
2003-03-06Make profiling on arm workEric Andersen
2003-03-06Patch from Stefan Allius to finish off the last required bitsEric Andersen
for gmon profiling support for the SuperH target.
2003-03-05The vfork system call on powerpc seems to be completelyEric Andersen
broken. Use fork instead, per glibc behavior.
2003-03-05Default to using fork() for vfork() when no arch specificEric Andersen
implementation of vfork is present.
2003-03-04Fix compile when profiling is disabledEric Andersen
2003-03-03Initial effort at adding profiling support.Eric Andersen
2003-03-03Remove bogus link_warning. It is meaningless and stupid. While theManuel Novoa III
previous committed patch was well-meaning, the #warning it replaced was simply a reminder I accidently left in when implementing strcoll/wcscoll. Besides, strcmp is completely locale invariant.
2003-03-03Fix the double sub #48, should have been an add :-)David McCullough
2003-03-02cut-n-paste strikes againEric Andersen
2003-03-02Add missing alias __modify_ldtEric Andersen
2003-03-01Patch from Jeffrey Damick:Eric Andersen
With glibc if you do a res_init() that forces a reread of the nameservers file, but in uClibc the res_init will not force a reread if it has already read the file because then the nameservers value is greater than 0. So res_init must call close_nameservers() before calling open_nameservers().
2003-02-27Major update for pthreads, based in large part on improvementsEric Andersen
from glibc 2.3. This should make threads much more efficient. -Erik
2003-02-26Prefer mmap2 for mips when available. Fix the mmap test.Eric Andersen
-Erik
2003-02-24Fixup some small issues that show up when large file support is disabledEric Andersen
2003-02-23Fix FP handling alignment problems on ARM platforms without an FPU,David McCullough
patch from Vadim Lebedev <vadim@7chips.com>.
2003-02-23Some stuff I forgot to check in about a month ago...Eric Andersen
-Erik
2003-02-21Reserve stack space for args we pass to __uClibc_main.Miles Bader
2003-02-20Add back in PTRACE_SINGLESTEP.Miles Bader
Use decimal instead of hex to agree with common/sys/ptrace.h.
2003-02-18Fixup ioctl so we can special case powerpc sillinessEric Andersen
2003-02-17Patch from Stefan Allius:Eric Andersen
In libc/string/wstring I replaced a '#warning ..' statement by the link_warning macro.
2003-02-17Use a define for the path to /etc/TZDavid McCullough
2003-02-17Using -g when doing the initfini compilation breaks the SH4 case prettyDavid McCullough
badly. I have removed -g for all platforms as I suspect no one wants it for the initfini creation process.
2003-02-17If floating point was enabled, setjmp would write to memory well past theDavid McCullough
end of the buffer.
2003-02-16Fixup powerpc syscalls to eliminate warnings with gcc-3.2, and fixEric Andersen
some other minor warnings.
2003-02-15Add missing ';'s so powerpc will compileEric Andersen
2003-02-15Fix a _ton_ of system call user type/kernel type translationEric Andersen
problems, causing user space to get scrambled hosed up results. -Erik
2003-02-12Eliminate a needless externEric Andersen
2003-02-10We need to have the size of struct dirent equal to the size of struct dirent64Eric Andersen
so when _FILE_OFFSET_BITS=64 (such that we transparently change 32bit into 64 bit interfaces), we will not lose an unsigned char from d_name which silently becomes the d_type field instead. oops. -Erik
2003-02-10Pass CHILD_STACK argument to system call (it possibly worked before `byMiles Bader
accident', as the function argument is in the same register).
2003-02-09Fix a warningEric Andersen
2003-02-09Fix a compile errorEric Andersen
2003-02-08Fixup handling of the .note.ABI-tag section so that it is ARM only,Eric Andersen
and so it actually works as intended allowing binaries on ARM to be debugged. -Erik
2003-02-05add brk for m68kDavid McCullough
NOTE: on uClinux-2.[45] kernels, brk works but is limited to slack space in the memory allocated to the process.
2003-02-05Patch from Stefan Allius to make adding libgcc functions to the library anEric Andersen
option, to avoid the possibility of adding non PIC code into the shared PIC uClibc library, thereby making the .text segment unshareable.
2003-02-03Fixup compile on 2.2.x kernels when UCLIBC_HAS_LFS is enabledEric Andersen
2003-02-03Oops. I'd left an extra invocation of sigaction in there...Eric Andersen
2003-01-31hehEric Andersen
2003-01-31Fix copyrightEric Andersen
2003-01-31Correct license.Miles Bader
2003-01-30Patch from Marshall M. Midden @ brecis.com:Eric Andersen
pipe.c for mips was broken with freeswan. No error checking.
2003-01-30Per discussion with Nick Fedchik, restore original LGPLEric Andersen
licensing to libc/inet/ether_addr.c
2003-01-30Patch from Christophe Massiot:Eric Andersen
Hello, When using uClibc to compile the modutils for a MIPS target, the linker outputs an "undefined symbol: _flush_cache". After some digging, it's a syscall only available on the MIPS architecture, and the _flush_cache symbol is in the GNU libc. Attached patch defines it in uClibc as well. I'm not sure if I made it the right way, though, but it works for me.
2003-01-30Use correct names for dummy crti.o/crtn.o files.Miles Bader
2003-01-29Create stub crti.o and crtn.o files when UCLIBC_CTOR_DTOR is disabledEric Andersen
-Erik
2003-01-28Fix scandir64 to not free the wrong pieces of memory (which couldEric Andersen
and did cause segfaults) by adjusting the working scandir.c to the the 64 thing. Fix up potential for mismatches between the libc and kernel dirent structures, which could also cause ugly problems. -Erik
2003-01-28Patch from Stefan Allius to fix the build whenEric Andersen
large file support is disabled
2003-01-27Add multiple-include protection.Miles Bader