summaryrefslogtreecommitdiffstats
path: root/libc
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixup handling of the .note.ABI-tag section so that it is ARM only,Eric Andersen2003-02-084-88/+15
| | | | | | 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.
* Patch from Stefan Allius to make adding libgcc functions to the library anEric Andersen2003-02-051-10/+17
| | | | | option, to avoid the possibility of adding non PIC code into the shared PIC uClibc library, thereby making the .text segment unshareable.
* 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.
* Per discussion with Nick Fedchik, restore original LGPLEric Andersen2003-01-301-12/+21
| | | | licensing to libc/inet/ether_addr.c
* 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-2810-92/+297
| | | | | | | | 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
* Doh! Fix potential stack corruption caused by dynamic atexitEric Andersen2003-01-241-2/+6
| | | | | allocating size incorrectly.... -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
* Wasn't thinking... we don't need to seek to end when appending if stdioManuel Novoa III2003-01-231-12/+0
| | | | is built without buffer support.
* 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-232-7/+10
|
* Making atexit weak does nothing for dynamicly linked apps. And forEric Andersen2003-01-231-3/+5
| | | | | | | | | | staticly linked apps it entirely prevents destructors from running unless atexit is called for some other reason. So if they enabled ctor/dtor support we need to have a call to the real atexit for dtors to work properly. If people don't want the extra 4k or so of junk in their static apps, they should leave ctor/dtor support disabled. -Erik
* 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
|
* Kill the needless '#if 1'Eric Andersen2003-01-231-2/+0
|
* Update malloc behavior on malloc(0) to be consistant withEric Andersen2003-01-231-2/+5
| | | | malloc-930716 behavior, i.e. return a NULL.
* Fixed a bug related file position in append mode. _stdio_fwrite nowManuel Novoa III2003-01-221-11/+52
| | | | | | | | | seeks to the end of the stream when append mode is set and we are transitioning to write mode, so that subsequent ftell() return values are correct. Also fix _stdio_fopen to support fdopen() with append specified when the underlying file didn't have O_APPEND set. It now sets the O_APPEND flag as recommended by SUSv3 and is done by glibc.
* Update sigaction syscall names to act more like glibc. Fix the x86 sigactionEric Andersen2003-01-226-15/+196
| | | | | | 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-222-111/+106
| | | | a common header file and a default implementation.
* Only include lockf64 when large file support is enabled, fixingEric Andersen2003-01-182-1/+23
| | | | | a problem noticed by Jeff Mock. Sorry about that. -Erik
* Patch from Jay Kulpinski:Eric Andersen2003-01-101-0/+10
| | | | | | | __decode_dotted() does not count the null terminating byte of a hostname in the DNS response. This causes lookups to fail if the DNS response doesn't compress domain names in the message.
* Fix warningsEric Andersen2003-01-101-1/+2
|
* Implement lockf64Eric Andersen2003-01-102-1/+86
| | | | -Erik
* Patch from Nick Fedchik to support ether_atonEric Andersen2003-01-102-1/+84
|
* Fix a silly bug in _wstdio_fwrite. wprintf %s should now work correctly.Manuel Novoa III2003-01-051-1/+3
|
* Rework sparc architecture support so it will compileEric Andersen2003-01-0212-212/+293
| | | | | and run. Seems to be working... -Erik