summaryrefslogtreecommitdiff
path: root/libc
AgeCommit message (Collapse)Author
2004-02-15Use the generic fork implementation on sh64Eric Andersen
2004-02-13Oops.. The custom stream funcs should only be compiled if wanted.Manuel Novoa III
2004-02-12Paul Mundt lethal at linux-sh dot org writes:Eric Andersen
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.
2004-02-12Add missing mips specific include/sys/user.hEric Andersen
2004-02-11New stdio core. Should be more maintainable. Fixes a couple of bugs.Manuel Novoa III
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.
2004-02-11Fix bug from the syscall reorganization, detected by python's test_poll.py.Manuel Novoa III
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!
2004-02-10Do not include the create_module syscall if it is not presentEric Andersen
2004-02-06Fix completely hosed up formattingEric Andersen
2004-02-06Sigh. The 2.6.x kernel removed '__kernel_dev_t' and renamed it asEric Andersen
'__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
2004-02-05Patch from Alan Hourihane <alanh@fairlite.demon.co.uk> for building alpha.Manuel Novoa III
2004-02-05Use 'mmap.c' instead of '_mmap.c'Eric Andersen
2004-01-31Patch from Paul Mundt, lethal at linux-sh dot org,Eric Andersen
add sh/sh64: ABORT_INSTRUCTION definitions
2004-01-30Andrew May writes:Eric Andersen
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.
2004-01-30Add missing abort instruction for powerpcEric Andersen
2004-01-30Paul Mundt, lethal at linux-sh dot org writes:Eric Andersen
Boredom got the better of me, here's strlen() for sh64..
2004-01-27Joakim Tjernlund writes:Eric Andersen
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
2004-01-24Oleksandr G. Zhadan writes:Eric Andersen
Hi Eric, The attached diff file includes BUS_ISA fix for kernel since 2.4.23/ Kind regards, Oleks
2004-01-24Imre Sunyi writes:Eric Andersen
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
2004-01-21Sort all the filesEric Andersen
2004-01-21Split up syscalls.c, since it had grown to be quite large and ugly.Eric Andersen
-Erik
2004-01-21Add pollEric Andersen
2004-01-21Move poll to its own file, rather than being only half in its own fileEric Andersen
2004-01-21Massive formatting cleanup, making it easier to parseEric Andersen
2004-01-17Add __data_start needed by boehm garbage collector, in turn needed by libgcj.Manuel Novoa III
2004-01-17Prevent runaway asserts, which can happen if there's a problem withManuel Novoa III
stdio or locales.
2004-01-16s/UCLIBC_HAS_MMU/ARCH_HAS_MMU/gEric Andersen
2004-01-16Link with libfloat if necessary.Manuel Novoa III
2004-01-14Include missing errno.h header (as noted by Alan Hourihane).Eric Andersen
Fix uninitialized pthread mutex used to lock the list of aligned memory blocks.
2004-01-14Ok.. we need to link with libgcc.a for some archs. I haven't looked atManuel Novoa III
all cases, but the archs I've looked at do build the needed routines as PIC so we should be ok.
2004-01-14Add a dummy (always fails) wcsftime. This is needed for the libstdc++ localeManuel Novoa III
implementation to build. Later this month I'll add a functional wcsftime.
2004-01-13Add another devfs subdir to the list of checked subdirs.Manuel Novoa III
2004-01-12Oops... Seems I forgot an else...Manuel Novoa III
2004-01-04Implement res_search and res_querydomain based on netbsd code,Eric Andersen
but remove support for host aliases (the HOSTALIASES env variable) which looks like a very bad idea. -Erik
2004-01-04My mistake. We do need some weak pthread_* funcs. But we were previouslyManuel Novoa III
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. :-(
2004-01-03And just like that, clone is now fixed.... Previously theEric Andersen
error handling code was mostly broken. -Erik
2004-01-03oopsEric Andersen
2004-01-03Minor changesEric Andersen
2004-01-02Peter S. Mazinger writes:Eric Andersen
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
2004-01-02rohde at soap dot adsl dot dk writes:Eric Andersen
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 :)
2004-01-02rohde at soap dot adsl dot dk writes:Eric Andersen
The macro to do some floating point checks in libc/sysdeps/linux/powerpc/setjmp.S is incorrect. The following should fix it.
2004-01-02Fix __freadable and __fwritable... were using '~' instead of '!'. (ugh)Manuel Novoa III
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.
2004-01-02Oops... temporarily support the old stdio code.Manuel Novoa III
2004-01-02The checking Erik added seems to be unnecessary. Without it, I am notManuel Novoa III
seeing any LTP failures.
2004-01-02Redo the exec functions to comply with SUSv3.Manuel Novoa III
2004-01-02Rewrite popen for SUSv3 compliance.Manuel Novoa III
Added a list of popen()'d to store pids and use waitpid() in pclose(). Loop on waitpid() failure due to EINTR as required. Close parent's popen()'d FILEs in the {v}fork()'d child. Fix failure exit code for failed execve().
2004-01-02Minor fix from upstream glibc.Manuel Novoa III
2004-01-02Kept the same approach, but rewrote the code for the most part.Manuel Novoa III
Fixed some minor issues plus (as I recall) one SUSv3 errno case.
2003-12-31Fir errno return when the file/path is NULL or points to an empty string.Eric Andersen
-Erik
2003-12-31Add extra checks for sigprocmask and rt_sigprocmask syscalls.Eric Andersen
The rt_sigprocmask syscall has broken error handling in 2.4.x kernels, while the sigprocmask syscall appears to get things right. Regardless we should be extra careful, and add these checks.
2003-12-30Fix the manditory typo in my last minute untested fix.Eric Andersen
-Erik