summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps
Commit message (Collapse)AuthorAgeFilesLines
* 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-2319-137/+56
| | | | | | 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
|
* Rewrite powerpc crt0.S for proper ctor/dtor handlingEric Andersen2003-01-232-40/+61
|
* Update sigaction syscall names to act more like glibc. Fix the x86 sigactionEric Andersen2003-01-225-13/+182
| | | | | | implementation such that gdb can actually debug signal handlers. Gdb behaves much better now, for example, on multi-threaded apps. -Erik
* Changed '__kernel_nlink_t' data type to match Linux/MIPS kernel type"Steven J. Hill"2003-01-221-1/+1
| | | | | definition and to be consistent with the ABI. Done per conversation with Ralf (Linux/MIPS) maintainer.
* Add in arm specific sigaction implementation to fix sa_restorerEric Andersen2003-01-223-2/+159
| | | | behavior so it works as expected
* Missed an endifEric Andersen2003-01-221-0/+1
|
* Looks like sigaction on arm needs adjustment, so split this intoEric Andersen2003-01-221-0/+92
| | | | a common header file and a default implementation.
* Rework sparc architecture support so it will compileEric Andersen2003-01-0212-212/+293
| | | | | and run. Seems to be working... -Erik
* Be sure we have a crt1.o file. Use the asm version by default.Eric Andersen2002-12-211-22/+5
| | | | -Erik
* The big thing is locale dependent collation support.Manuel Novoa III2002-12-201-3/+60
| | | | Also added outdigit support and (legacy) YESSTR/NOSTR support.
* Initial checkinMiles Bader2002-12-182-0/+184
|
* whitespaceMiles Bader2002-12-181-0/+1
|
* (SSRC): Rename longjmp.S to __longjmp.SMiles Bader2002-12-181-2/+2
| | | | (CSRC): Add clone.c
* Rename longjmp.S to __longjmp.SMiles Bader2002-12-181-8/+2
| | | | Remove extra weak symbols defined by ../common/longjmp.c
* Based on discussions with Stefan Allius, change it so that we alwaysEric Andersen2002-12-1210-90/+26
| | | | | | | 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
* Remove trailing comma from enum list as a nicety for older compilers.Manuel Novoa III2002-12-111-1/+1
|
* Fix the other instance of getcwdEric Andersen2002-12-041-18/+21
|
* Properly allocate memory when size is 0, but so is bufEric Andersen2002-12-041-25/+28
|
* I forgot to include features.hEric Andersen2002-11-291-0/+2
|
* Silly me, I forgot to include features.hEric Andersen2002-11-291-4/+5
|
* Make support for global constructors and global destructors beEric Andersen2002-11-275-10/+60
| | | | | | configurable, so people who do not need or want ctor/dtor support can disable it and make their binaries a little bit smaller. -Erik
* Ok... here's the summary:Manuel Novoa III2002-11-222-1/+6
| | | | | | | | | | | | | | Hopefully locale support will build when cross compiling now. Collation is still not supported, but that's what I'm currently working on. In the next couple of days, I'll probably put up a couple of files for download that will save people the trouble of generating all the glibc locales. Added *wprintf functions, although they currently don't support floating point. That will be fixed when I rewrite _dtostr... or possibly before. Added the wcsto{inttype} functions. Added iconv() and a mini iconv utility. The require locale support and only provide for conversions involving the various unicode encodings { UCS-4*, UCS-2*, UTF-32*, UTF-16*, UTF-8 }, the 8-bit codesets built with the locale data, and the internal WCHAR_T.
* Patch from Yoshinori Sato to update the h8300 architecture.Eric Andersen2002-11-214-0/+285
|
* This draws from an old patch by David Blythe for the now-deadEric Andersen2002-11-156-48/+276
| | | | | | | unified syscall interface. I reworked his old patch considerably and cleaned up his version of bits/syscalls.h with some sneaky macro magic. And I implemented a powerpc correct version of pread/pwrite -Erik
* Cleanup a few structural wierdnessesEric Andersen2002-11-156-23/+27
|
* Stefan Allius writes:Eric Andersen2002-11-153-115/+116
| | | | | | | | | | | I attached a patch, which revise the clone.S and vfork.S: - Use PIC code. - include new file syscall.S, so we can simply make a branch to __syscall_error instead of a PLT/GOT call - call errno_location to store the syscall error (for pthreads) - avoid to use the 'shad' statement on SH2 targets - call fork if vfork isn't available - some cleanups and optimization
* Remove obsolete filesEric Andersen2002-11-152-74/+0
|
* Fix it for real this time.Eric Andersen2002-11-152-8/+13
|
* Doh! I screwed that one all up. Lets try that again...Eric Andersen2002-11-152-8/+16
| | | | -Erik
* Stefan Allius writes:Eric Andersen2002-11-153-11/+78
| | | | | | | | | | | | | Hi Erik, I added the FPU support for the setjmp/longjmp stuff. This patch also moves the code from the bsd*.S files to the setjmp.S file, so we can use simple branch instructions instead of referencing over the .GOT/.PLT section. This makes the PIC code much easier, smaller and faster. (The idea comes from the SPARC target) Bye Stefan
* I was an idiot and put _fini into the wrong register. Duh.Eric Andersen2002-11-151-3/+2
| | | | This patch from David Meggy fixes it...
* Minor cleanupEric Andersen2002-11-142-8/+11
| | | | -Erik
* Implement sendfile64Eric Andersen2002-11-142-1/+48
| | | | -Erik
* Fixup function prototype for __uint128_t which fixes the compileEric Andersen2002-11-071-5/+3
| | | | | on powerpc with gcc 3.2. -Erik
* Update soft-float handlingEric Andersen2002-11-064-5/+7
|
* Fixup handling of disabled optionsEric Andersen2002-11-052-3/+3
|
* Patch from Stefan Allius. Include CPU_CFLAGS when compilingEric Andersen2002-11-051-1/+1
| | | | initfini
* I dunno why there were align 5, but align 4 is much more sensible.Eric Andersen2002-11-046-6/+6
|
* Kill sysdep.h and fixup the SH asm to not use it.Eric Andersen2002-11-047-114/+48
| | | | -Erik
* Don't use ENTRY(), make the asm explicitEric Andersen2002-11-041-1/+5
| | | | -Erik
* Oops. Fix compilation on arm.Eric Andersen2002-11-041-1/+4
| | | | -Erik