Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Ok, people are probably going to hate me for this... This commit changes the | Eric Andersen | 2003-01-24 | 15 | -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 consistantly | Eric Andersen | 2003-01-23 | 19 | -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 correct | Eric Andersen | 2003-01-23 | 2 | -11/+18 |
| | |||||
* | Hopefully this will work as expected. I have no way to | Eric Andersen | 2003-01-23 | 2 | -6/+16 |
| | | | | test but this should be correct. | ||||
* | Update crt0 for arm to provide the main reference | Eric Andersen | 2003-01-23 | 1 | -7/+13 |
| | | | | | | a bit more nicely, and make _init and _fini be weak for people with broken compilers -Erik | ||||
* | Update ignore list | Eric Andersen | 2003-01-23 | 1 | -1/+1 |
| | |||||
* | Update a tiny bit | Eric Andersen | 2003-01-23 | 1 | -5/+1 |
| | |||||
* | Cleanup makefiles and make clean a bit | Eric Andersen | 2003-01-23 | 1 | -6/+6 |
| | |||||
* | simpler method for getting a 'main' reference. Make _init and _fini | Eric Andersen | 2003-01-23 | 1 | -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 Andersen | 2003-01-23 | 1 | -2/+2 |
| | |||||
* | Rewrite powerpc crt0.S for proper ctor/dtor handling | Eric Andersen | 2003-01-23 | 2 | -40/+61 |
| | |||||
* | Update sigaction syscall names to act more like glibc. Fix the x86 sigaction | Eric Andersen | 2003-01-22 | 5 | -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-22 | 1 | -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_restorer | Eric Andersen | 2003-01-22 | 3 | -2/+159 |
| | | | | behavior so it works as expected | ||||
* | Missed an endif | Eric Andersen | 2003-01-22 | 1 | -0/+1 |
| | |||||
* | Looks like sigaction on arm needs adjustment, so split this into | Eric Andersen | 2003-01-22 | 1 | -0/+92 |
| | | | | a common header file and a default implementation. | ||||
* | Rework sparc architecture support so it will compile | Eric Andersen | 2003-01-02 | 12 | -212/+293 |
| | | | | | and run. Seems to be working... -Erik | ||||
* | Be sure we have a crt1.o file. Use the asm version by default. | Eric Andersen | 2002-12-21 | 1 | -22/+5 |
| | | | | -Erik | ||||
* | The big thing is locale dependent collation support. | Manuel Novoa III | 2002-12-20 | 1 | -3/+60 |
| | | | | Also added outdigit support and (legacy) YESSTR/NOSTR support. | ||||
* | Initial checkin | Miles Bader | 2002-12-18 | 2 | -0/+184 |
| | |||||
* | whitespace | Miles Bader | 2002-12-18 | 1 | -0/+1 |
| | |||||
* | (SSRC): Rename longjmp.S to __longjmp.S | Miles Bader | 2002-12-18 | 1 | -2/+2 |
| | | | | (CSRC): Add clone.c | ||||
* | Rename longjmp.S to __longjmp.S | Miles Bader | 2002-12-18 | 1 | -8/+2 |
| | | | | Remove extra weak symbols defined by ../common/longjmp.c | ||||
* | Based on discussions with Stefan Allius, change it so that we always | Eric Andersen | 2002-12-12 | 10 | -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 III | 2002-12-11 | 1 | -1/+1 |
| | |||||
* | Fix the other instance of getcwd | Eric Andersen | 2002-12-04 | 1 | -18/+21 |
| | |||||
* | Properly allocate memory when size is 0, but so is buf | Eric Andersen | 2002-12-04 | 1 | -25/+28 |
| | |||||
* | I forgot to include features.h | Eric Andersen | 2002-11-29 | 1 | -0/+2 |
| | |||||
* | Silly me, I forgot to include features.h | Eric Andersen | 2002-11-29 | 1 | -4/+5 |
| | |||||
* | Make support for global constructors and global destructors be | Eric Andersen | 2002-11-27 | 5 | -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 III | 2002-11-22 | 2 | -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 Andersen | 2002-11-21 | 4 | -0/+285 |
| | |||||
* | This draws from an old patch by David Blythe for the now-dead | Eric Andersen | 2002-11-15 | 6 | -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 wierdnesses | Eric Andersen | 2002-11-15 | 6 | -23/+27 |
| | |||||
* | Stefan Allius writes: | Eric Andersen | 2002-11-15 | 3 | -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 files | Eric Andersen | 2002-11-15 | 2 | -74/+0 |
| | |||||
* | Fix it for real this time. | Eric Andersen | 2002-11-15 | 2 | -8/+13 |
| | |||||
* | Doh! I screwed that one all up. Lets try that again... | Eric Andersen | 2002-11-15 | 2 | -8/+16 |
| | | | | -Erik | ||||
* | Stefan Allius writes: | Eric Andersen | 2002-11-15 | 3 | -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 Andersen | 2002-11-15 | 1 | -3/+2 |
| | | | | This patch from David Meggy fixes it... | ||||
* | Minor cleanup | Eric Andersen | 2002-11-14 | 2 | -8/+11 |
| | | | | -Erik | ||||
* | Implement sendfile64 | Eric Andersen | 2002-11-14 | 2 | -1/+48 |
| | | | | -Erik | ||||
* | Fixup function prototype for __uint128_t which fixes the compile | Eric Andersen | 2002-11-07 | 1 | -5/+3 |
| | | | | | on powerpc with gcc 3.2. -Erik | ||||
* | Update soft-float handling | Eric Andersen | 2002-11-06 | 4 | -5/+7 |
| | |||||
* | Fixup handling of disabled options | Eric Andersen | 2002-11-05 | 2 | -3/+3 |
| | |||||
* | Patch from Stefan Allius. Include CPU_CFLAGS when compiling | Eric Andersen | 2002-11-05 | 1 | -1/+1 |
| | | | | initfini | ||||
* | I dunno why there were align 5, but align 4 is much more sensible. | Eric Andersen | 2002-11-04 | 6 | -6/+6 |
| | |||||
* | Kill sysdep.h and fixup the SH asm to not use it. | Eric Andersen | 2002-11-04 | 7 | -114/+48 |
| | | | | -Erik | ||||
* | Don't use ENTRY(), make the asm explicit | Eric Andersen | 2002-11-04 | 1 | -1/+5 |
| | | | | -Erik | ||||
* | Oops. Fix compilation on arm. | Eric Andersen | 2002-11-04 | 1 | -1/+4 |
| | | | | -Erik |