summaryrefslogtreecommitdiffstats
path: root/libc
Commit message (Collapse)AuthorAgeFilesLines
...
* Generic fork works. Use it instead since this didn't handle errno_location.Manuel Novoa III2004-02-152-66/+1
|
* Oops.Eric Andersen2004-02-151-1/+2
|
* Mips can use the generic vforkEric Andersen2004-02-152-31/+1
|
* Cris can use the generic vforkEric Andersen2004-02-152-12/+1
|
* This should not be inlined. This should probably use aEric Andersen2004-02-151-2/+2
| | | | weak alias as well...
* Fixup fork implementation to provide the __libc_fork symbolEric Andersen2004-02-152-5/+7
|
* Use the generic fork implementation on sh64Eric Andersen2004-02-152-36/+1
|
* Oops.. The custom stream funcs should only be compiled if wanted.Manuel Novoa III2004-02-131-2/+4
|
* Paul Mundt lethal at linux-sh dot org writes:Eric Andersen2004-02-121-0/+2
| | | | | | | | We can't use trapa #0xff on sh2, the only permissible trapa ranges are 32 to 63. On SH-2, we use trapa32 to issue a break in the same way that trapa #0xff is used on SH-3/4. This behavior is implementation specific, but is what is used in sh-ipl+g, linux, eCos, uITRON, etc. so we follow suit here.
* Add missing mips specific include/sys/user.hEric Andersen2004-02-121-0/+52
|
* New stdio core. Should be more maintainable. Fixes a couple of bugs.Manuel Novoa III2004-02-11115-7713/+9161
| | | | | | | | Codepaths streamlined. Improved performance for nonthreaded apps when linked with a thread-enabled libc. Minor iconv bug and some locale/thread related startup issues fixed. These showed up in getting a gcj-compiled java helloworld app running. Removed some old extension functions... _stdio_fdout and _stdio_fsfopen.
* Fix bug from the syscall reorganization, detected by python's test_poll.py.Manuel Novoa III2004-02-111-3/+3
| | | | | | | The #ifdef __NR_poll test was failing because it was done before any includes. Hence, the emulation was always being used. NOTE: The emulation fails a couple of tests in test_poll.py!
* Do not include the create_module syscall if it is not presentEric Andersen2004-02-101-0/+3
|
* Fix completely hosed up formattingEric Andersen2004-02-061-10/+10
|
* Sigh. The 2.6.x kernel removed '__kernel_dev_t' and renamed it asEric Andersen2004-02-0614-0/+17
| | | | | | | | | '__kernel_old_dev_t'. And of course there is no good way to know which is in use except checking linux/version.h. Grumble. This is rather lame, but for now, define __kernel_old_dev_t to be the same as __kernel_dev_t. This will want to be revisited soon. -Erik
* Patch from Alan Hourihane <alanh@fairlite.demon.co.uk> for building alpha.Manuel Novoa III2004-02-052-11/+10
|
* Use 'mmap.c' instead of '_mmap.c'Eric Andersen2004-02-054-9/+9
|
* Patch from Paul Mundt, lethal at linux-sh dot org,Eric Andersen2004-01-311-0/+4
| | | | add sh/sh64: ABORT_INSTRUCTION definitions
* Andrew May writes:Eric Andersen2004-01-303-2/+5
| | | | | | Here are some simple fixes for things that broke for PPC with the recent syscall cleanup. I am not sure they are correct but they seem pretty trivial.
* Add missing abort instruction for powerpcEric Andersen2004-01-301-1/+5
|
* Paul Mundt, lethal at linux-sh dot org writes:Eric Andersen2004-01-302-1/+61
| | | | Boredom got the better of me, here's strlen() for sh64..
* Joakim Tjernlund writes:Eric Andersen2004-01-273-1/+245
| | | | | | | | | | | | Hi Erik I have had some fun trying to optimize memcpy, memset and memmove for PPC. There are only boot tested, but I don't expect any problems :) Read the comments in powerpc/string.c for more info. Patch is relative to libc/string Jocke
* Oleksandr G. Zhadan writes:Eric Andersen2004-01-241-0/+11
| | | | | | | | | | Hi Eric, The attached diff file includes BUS_ISA fix for kernel since 2.4.23/ Kind regards, Oleks
* Imre Sunyi writes:Eric Andersen2004-01-241-11/+16
| | | | | | | | | | | | | | | | | | | | | Hi Erik I have corrected a bug in uClibc/libc/inet/resolv.c in function __dns_lookup(). Have attaced a txt file with my diffs regarding to uClibc 0.9.26. If two nameservers are included in /etc/resolv.conf and the first one is wrong and the secondary is correct the algorithm never looked up the secondary one. Please review my diff and feel free to submit the patch onto your CVS. If reading manual page resolv.conf(5) under nameserver and how the algorithm should work the previous dns_lookup did not fully followed that. Regards Imre Sunyi
* Sort all the filesEric Andersen2004-01-211-45/+34
|
* Split up syscalls.c, since it had grown to be quite large and ugly.Eric Andersen2004-01-21171-2391/+3118
| | | | -Erik
* Add pollEric Andersen2004-01-211-1/+1
|
* Move poll to its own file, rather than being only half in its own fileEric Andersen2004-01-212-10/+13
|
* Massive formatting cleanup, making it easier to parseEric Andersen2004-01-211-431/+503
|
* Add __data_start needed by boehm garbage collector, in turn needed by libgcj.Manuel Novoa III2004-01-171-0/+4
|
* Prevent runaway asserts, which can happen if there's a problem withManuel Novoa III2004-01-171-9/+15
| | | | stdio or locales.
* s/UCLIBC_HAS_MMU/ARCH_HAS_MMU/gEric Andersen2004-01-1610-32/+32
|
* Link with libfloat if necessary.Manuel Novoa III2004-01-161-1/+1
|
* Include missing errno.h header (as noted by Alan Hourihane).Eric Andersen2004-01-141-3/+5
| | | | | Fix uninitialized pthread mutex used to lock the list of aligned memory blocks.
* Ok.. we need to link with libgcc.a for some archs. I haven't looked atManuel Novoa III2004-01-141-1/+1
| | | | | all cases, but the archs I've looked at do build the needed routines as PIC so we should be ok.
* Add a dummy (always fails) wcsftime. This is needed for the libstdc++ localeManuel Novoa III2004-01-142-0/+36
| | | | implementation to build. Later this month I'll add a functional wcsftime.
* Add another devfs subdir to the list of checked subdirs.Manuel Novoa III2004-01-131-0/+1
|
* Oops... Seems I forgot an else...Manuel Novoa III2004-01-121-0/+1
|
* Implement res_search and res_querydomain based on netbsd code,Eric Andersen2004-01-041-5/+203
| | | | | | but remove support for host aliases (the HOSTALIASES env variable) which looks like a very bad idea. -Erik
* My mistake. We do need some weak pthread_* funcs. But we were previouslyManuel Novoa III2004-01-041-2/+87
| | | | | | | missing one in the glibc abi, and including a number of extras (which I left in commented). Unfortunately, this brings back the perl pthread bug. Fixing the incorrect weaks in libpthread wasn't sufficient to escape the shared loader bug. :-(
* And just like that, clone is now fixed.... Previously theEric Andersen2004-01-031-26/+38
| | | | | error handling code was mostly broken. -Erik
* oopsEric Andersen2004-01-031-6/+0
|
* Minor changesEric Andersen2004-01-031-13/+24
|
* Peter S. Mazinger writes:Eric Andersen2004-01-025-2/+140
| | | | | | | | | | | | | | | | | | | Hello Erik! I have made some cosmetical changes to the files, removed the added SCRT=-fPIC option from building the crt0.S file (but it is a requirement to build them with -fPIC), and changed some comments. I have left the ldso.c patch with PIE_SUPPORT ifdefs, but consider applying it w/o them (see some earlier comment from PaX Team on this issue, as it is considered a bug). To have it work correctly, you'll also need removing COMPLETELY_PIC. One thing is missing: PIE_SUPPORT should be usable only for i386 (for now). Also added the support for propolice protection (that works for me and catches memcpy/strcpy attacks (but needs a special gcc version). Thanks, Peter
* rohde at soap dot adsl dot dk writes:Eric Andersen2004-01-021-1/+1
| | | | | | | | The macro to do some floating point checks in libc/sysdeps/linux/powerpc/setjmp.S is incorrect. The following should fix it. Same applies to uClibc/libc/sysdeps/linux/powerpc/__longjmp.S Hope there aren't other files I've missed :)
* rohde at soap dot adsl dot dk writes:Eric Andersen2004-01-021-1/+1
| | | | | The macro to do some floating point checks in libc/sysdeps/linux/powerpc/setjmp.S is incorrect. The following should fix it.
* Fix __freadable and __fwritable... were using '~' instead of '!'. (ugh)Manuel Novoa III2004-01-021-10/+13
| | | | | | Fix (hopefully) a potential problem with failed freopen() calls. The fix isn't tested since I've been working on the replacement stdio core code which will go in after the next release.
* Oops... temporarily support the old stdio code.Manuel Novoa III2004-01-021-0/+5
|
* The checking Erik added seems to be unnecessary. Without it, I am notManuel Novoa III2004-01-021-72/+5
| | | | seeing any LTP failures.
* Redo the exec functions to comply with SUSv3.Manuel Novoa III2004-01-028-208/+332
|