summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux
AgeCommit message (Collapse)Author
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-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-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
2003-01-25This seems to be needed or else apps will blow up.Eric Andersen
-Erik
2003-01-24Fix powerpc struct kernel_stat typesEric Andersen
2003-01-24A few more needed updatesEric Andersen
2003-01-24Finish up fixing stat and setting various system types.Eric Andersen
2003-01-24I thought it would be smaller to inline since these funcs are small.Eric Andersen
Well, not inlining saves 300 bytes, so do that instead. -Erik
2003-01-24Ok, people are probably going to hate me for this... This commit changes theEric Andersen
type of 'struct stat' and 'struct stat64' so they use consistant types. This change is the result of a bug I found while trying to use GNU tar. The problem was caused by our using kernel types within struct stat and trying to directly compare these values with standard types. Trying an 'if (a < b)' when 'a' is an 'unsigned long' and 'b' is an 'int' leads to very different results then when comparing entities of the same type (i.e. time_t values).... Grumble. Nasty stuff, but I'm glad I got this out of the way now. As a result of this fix, uClibc 0.9.17 will not be binary compatible with earlier releases. I have always warned people this can and will happen. -Erik
2003-01-23Update architecture specific support to consistantlyEric Andersen
generate a crt0 and crt1 file. Most arches still need to be updated to call __uClibc_start_main() rather than __uClibc_main().
2003-01-23Hopefully this is correctEric Andersen
2003-01-23Hopefully this will work as expected. I have no way toEric Andersen
test but this should be correct.
2003-01-23Update crt0 for arm to provide the main referenceEric Andersen
a bit more nicely, and make _init and _fini be weak for people with broken compilers -Erik
2003-01-23Update ignore listEric Andersen
2003-01-23Update a tiny bitEric Andersen
2003-01-23Cleanup makefiles and make clean a bitEric Andersen
2003-01-23simpler method for getting a 'main' reference. Make _init and _finiEric Andersen
be weak so people won't need to fix their compilers
2003-01-23Shuffle two lines so the comment applies to the correct line.Eric Andersen
2003-01-23Rewrite powerpc crt0.S for proper ctor/dtor handlingEric Andersen
2003-01-22Update sigaction syscall names to act more like glibc. Fix the x86 sigactionEric Andersen
implementation such that gdb can actually debug signal handlers. Gdb behaves much better now, for example, on multi-threaded apps. -Erik
2003-01-22Changed '__kernel_nlink_t' data type to match Linux/MIPS kernel type"Steven J. Hill"
definition and to be consistent with the ABI. Done per conversation with Ralf (Linux/MIPS) maintainer.
2003-01-22Add in arm specific sigaction implementation to fix sa_restorerEric Andersen
behavior so it works as expected
2003-01-22Missed an endifEric Andersen
2003-01-22Looks like sigaction on arm needs adjustment, so split this intoEric Andersen
a common header file and a default implementation.
2003-01-02Rework sparc architecture support so it will compileEric Andersen
and run. Seems to be working... -Erik
2002-12-21Be sure we have a crt1.o file. Use the asm version by default.Eric Andersen
-Erik
2002-12-20The big thing is locale dependent collation support.Manuel Novoa III
Also added outdigit support and (legacy) YESSTR/NOSTR support.
2002-12-18Initial checkinMiles Bader
2002-12-18whitespaceMiles Bader
2002-12-18(SSRC): Rename longjmp.S to __longjmp.SMiles Bader
(CSRC): Add clone.c
2002-12-18Rename longjmp.S to __longjmp.SMiles Bader
Remove extra weak symbols defined by ../common/longjmp.c
2002-12-12Based on discussions with Stefan Allius, change it so that we alwaysEric Andersen
build a crt0.o and a crt1.o. crt1.o will support ctors and dtors if such support is enabled. One more gratuitous toolchain support issue is thereby removed... -Erik
2002-12-11Remove trailing comma from enum list as a nicety for older compilers.Manuel Novoa III
2002-12-04Fix the other instance of getcwdEric Andersen
2002-12-04Properly allocate memory when size is 0, but so is bufEric Andersen
2002-11-29I forgot to include features.hEric Andersen