summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps
Commit message (Collapse)AuthorAgeFilesLines
...
* Actually, some arches do support _syscall6, so implement a generic versionEric Andersen2003-06-271-7/+36
| | | | | for them... -Erik
* Mention that the common mmap64 is a stub and must be overriddenEric Andersen2003-06-271-0/+7
| | | | on a per arch basis using platform specific code
* Add missing madvise syscallEric Andersen2003-06-271-0/+6
|
* As noted by Peter S. MazingerEric Andersen2003-06-161-227/+0
| | | | | | | After removal of stropts.h none of the files references bits/stropts.h, so it can be removed. Peter
* Implement syscall() for powerpc. Fixup syscall code soEric Andersen2003-06-154-14/+61
| | | | | it compiles properly with gcc 3.3. -Erik
* Fix arm syscall implementation so it does not blow chunks with gcc 3.3Eric Andersen2003-06-112-9/+25
| | | | -Erik
* Kill the runtime fallback to fork and make it be compile timeEric Andersen2003-06-031-19/+9
|
* Fix brokenEric Andersen2003-06-031-44/+46
|
* Clone still had a few little PIC problems....Eric Andersen2003-05-301-39/+84
|
* In a number of places we erroneously used tests such as '#ifdef PIC' when weEric Andersen2003-05-308-15/+15
| | | | | | should instead have been testing for '#ifdef __PIC__'. This resulted in NON-PIC code getting mixed into the shared library. Oops!!! -Erik
* (__libc_open): Fix wacky indentation.Miles Bader2003-05-081-6/+6
|
* setjmp was trashing r12 which is bad and can cause apps to crash if they areDavid McCullough2003-05-011-3/+3
| | | | | using r12. r12 is supposed to be preserved across C function calls. r0-r7 are trashable :-)
* Some small fixups for the h8 support and add the h8s platform support.David McCullough2003-04-293-4/+18
|
* Fixup __libc_open to use varargs and match the prototype.David McCullough2003-04-291-2/+7
| | | | | On the H8 varargs are rather unusual and if you declare a function with varargs, it had better use them or it won't work.
* Fix SIGTRAP handling on arm. The defination of struct ucontext,Eric Andersen2003-04-211-8/+7
| | | | | which was copied from glibc, is wrong. So fix it. -Erik
* Konrad Taro Eisele noticed the sparc struct stat was broken.Eric Andersen2003-04-191-22/+18
| | | | Fix it.
* Patch from Liam Girdwood to fix mips profiling when usingEric Andersen2003-04-161-0/+5
| | | | newer gcc versions.
* sjhill needs to buy donuts for everyoneEric Andersen2003-03-111-1/+0
|
* Compliance with MIPS ABI and MIPS kernel changes."Steven J. Hill"2003-03-112-17/+2
|
* Patch from Stefan Allius:Eric Andersen2003-03-072-3/+7
| | | | fix a couple of gcc 3.3 compiler warnings in gmon.c
* For now, leave mmap on mips using mmap1, since mmap2 seemsEric Andersen2003-03-061-0/+5
| | | | | to have 'issues' (i.e. it doesn't work 100% properly). -Erik
* Finish off gmon based profiling for powerpcEric Andersen2003-03-063-4/+120
|
* Make profiling on arm workEric Andersen2003-03-062-2/+15
|
* Patch from Stefan Allius to finish off the last required bitsEric Andersen2003-03-063-29/+90
| | | | for gmon profiling support for the SuperH target.
* The vfork system call on powerpc seems to be completelyEric Andersen2003-03-051-3/+9
| | | | broken. Use fork instead, per glibc behavior.
* Default to using fork() for vfork() when no arch specificEric Andersen2003-03-052-1/+9
| | | | implementation of vfork is present.
* Fix compile when profiling is disabledEric Andersen2003-03-041-1/+1
|
* 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.