summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux
Commit message (Collapse)AuthorAgeFilesLines
...
* Initial effort at adding profiling support.Eric Andersen2003-03-0353-3/+2660
|
* Fix the double sub #48, should have been an add :-)David McCullough2003-03-031-1/+1
|
* cut-n-paste strikes againEric Andersen2003-03-021-1/+1
|
* Add missing alias __modify_ldtEric Andersen2003-03-021-0/+1
|
* Major update for pthreads, based in large part on improvementsEric Andersen2003-02-272-10/+9
| | | | | from glibc 2.3. This should make threads much more efficient. -Erik
* Prefer mmap2 for mips when available. Fix the mmap test.Eric Andersen2003-02-261-0/+5
| | | | -Erik
* Fixup some small issues that show up when large file support is disabledEric Andersen2003-02-241-0/+4
|
* Fix FP handling alignment problems on ARM platforms without an FPU,David McCullough2003-02-232-0/+4
| | | | patch from Vadim Lebedev <vadim@7chips.com>.
* Some stuff I forgot to check in about a month ago...Eric Andersen2003-02-232-27/+39
| | | | -Erik
* Reserve stack space for args we pass to __uClibc_main.Miles Bader2003-02-211-2/+3
|
* Add back in PTRACE_SINGLESTEP.Miles Bader2003-02-201-3/+7
| | | | Use decimal instead of hex to agree with common/sys/ptrace.h.
* Fixup ioctl so we can special case powerpc sillinessEric Andersen2003-02-185-22/+95
|
* Using -g when doing the initfini compilation breaks the SH4 case prettyDavid McCullough2003-02-171-0/+5
| | | | | badly. I have removed -g for all platforms as I suspect no one wants it for the initfini creation process.
* If floating point was enabled, setjmp would write to memory well past theDavid McCullough2003-02-171-2/+3
| | | | end of the buffer.
* Fixup powerpc syscalls to eliminate warnings with gcc-3.2, and fixEric Andersen2003-02-161-5/+5
| | | | some other minor warnings.
* Add missing ';'s so powerpc will compileEric Andersen2003-02-151-2/+2
|
* Fix a _ton_ of system call user type/kernel type translationEric Andersen2003-02-153-109/+301
| | | | | problems, causing user space to get scrambled hosed up results. -Erik
* We need to have the size of struct dirent equal to the size of struct dirent64Eric Andersen2003-02-103-18/+12
| | | | | | | 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
* Pass CHILD_STACK argument to system call (it possibly worked before `byMiles Bader2003-02-101-3/+5
| | | | accident', as the function argument is in the same register).
* Fix a warningEric Andersen2003-02-091-52/+49
|
* Fix a compile errorEric Andersen2003-02-091-1/+0
|
* Fixup handling of the .note.ABI-tag section so that it is ARM only,Eric Andersen2003-02-081-0/+14
| | | | | | and so it actually works as intended allowing binaries on ARM to be debugged. -Erik
* add brk for m68kDavid McCullough2003-02-052-1/+31
| | | | | NOTE: on uClinux-2.[45] kernels, brk works but is limited to slack space in the memory allocated to the process.
* Fixup compile on 2.2.x kernels when UCLIBC_HAS_LFS is enabledEric Andersen2003-02-032-11/+29
|
* Oops. I'd left an extra invocation of sigaction in there...Eric Andersen2003-02-031-3/+1
|
* hehEric Andersen2003-01-311-3/+3
|
* Fix copyrightEric Andersen2003-01-311-3/+2
|
* Correct license.Miles Bader2003-01-312-6/+6
|
* Patch from Marshall M. Midden @ brecis.com:Eric Andersen2003-01-302-2/+41
| | | | pipe.c for mips was broken with freeswan. No error checking.
* Patch from Christophe Massiot:Eric Andersen2003-01-302-1/+28
| | | | | | | | | | | | 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.
* Use correct names for dummy crti.o/crtn.o files.Miles Bader2003-01-301-2/+2
|
* Create stub crti.o and crtn.o files when UCLIBC_CTOR_DTOR is disabledEric Andersen2003-01-291-2/+9
| | | | -Erik
* Fix scandir64 to not free the wrong pieces of memory (which couldEric Andersen2003-01-284-13/+211
| | | | | | | | 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
* Patch from Stefan Allius to fix the build whenEric Andersen2003-01-282-0/+4
| | | | large file support is disabled
* Add multiple-include protection.Miles Bader2003-01-271-0/+4
|
* This seems to be needed or else apps will blow up.Eric Andersen2003-01-251-9/+2
| | | | -Erik
* Fix powerpc struct kernel_stat typesEric Andersen2003-01-241-19/+18
|
* A few more needed updatesEric Andersen2003-01-249-152/+736
|
* Finish up fixing stat and setting various system types.Eric Andersen2003-01-2412-98/+52
|
* I thought it would be smaller to inline since these funcs are small.Eric Andersen2003-01-244-10/+51
| | | | | Well, not inlining saves 300 bytes, so do that instead. -Erik
* Ok, people are probably going to hate me for this... This commit changes theEric Andersen2003-01-2415-504/+310
| | | | | | | | | | | | | | | 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
* Update architecture specific support to consistantlyEric Andersen2003-01-2318-131/+55
| | | | | | generate a crt0 and crt1 file. Most arches still need to be updated to call __uClibc_start_main() rather than __uClibc_main().
* Hopefully this is correctEric Andersen2003-01-232-11/+18
|
* Hopefully this will work as expected. I have no way toEric Andersen2003-01-232-6/+16
| | | | test but this should be correct.
* Update crt0 for arm to provide the main referenceEric Andersen2003-01-231-7/+13
| | | | | | a bit more nicely, and make _init and _fini be weak for people with broken compilers -Erik
* Update ignore listEric Andersen2003-01-231-1/+1
|
* Update a tiny bitEric Andersen2003-01-231-5/+1
|
* Cleanup makefiles and make clean a bitEric Andersen2003-01-231-6/+6
|
* simpler method for getting a 'main' reference. Make _init and _finiEric Andersen2003-01-231-6/+12
| | | | be weak so people won't need to fix their compilers
* Shuffle two lines so the comment applies to the correct line.Eric Andersen2003-01-231-2/+2
|