summaryrefslogtreecommitdiffstats
path: root/libc
Commit message (Collapse)AuthorAgeFilesLines
...
* Clean it up a little.Joakim Tjernlund2005-05-261-10/+6
|
* Adapt x86 to new __uClibc_start_main.Joakim Tjernlund2005-05-261-96/+106
|
* Fix PPC wrt new __uClibc_start_main.Joakim Tjernlund2005-05-261-12/+7
|
* This commit breaks the entire world (yet again). Calculate theEric Andersen2005-05-261-11/+13
| | | | | | | position of envp in C code based on argv and argp. No need to caclulate that in asm for N arches. This way, we better match what glibc does. All arches will need to be fixed to match up with this change.
* Add PIE support to ARM. From Peter MazingerJoakim Tjernlund2005-05-261-4/+12
|
* Removed -z defs as a more general solution is in the works.Joakim Tjernlund2005-05-261-1/+1
|
* Fix "off by one" bug.Joakim Tjernlund2005-05-261-6/+6
|
* Adapt startup code in x86 and PPC to almost match glibc. _init vs. ↵Joakim Tjernlund2005-05-253-32/+30
| | | | | | __libc_csu_init and _fini vs. __libc_csu_fini remains to do.
* Enable new FINI processing. ldso now passes a FINI functionJoakim Tjernlund2005-05-211-3/+0
| | | | ptr to crt. Only PowerPC and x86 support this currently.
* Update PowerPC to new ABI.Joakim Tjernlund2005-05-212-14/+102
|
* Pass main function ptr from crt1 to __uClibc_start_main.Joakim Tjernlund2005-05-214-35/+136
| | | | | | | | Kill old crt0/__uClibc_main. This breaks ABI. All apps and toolchain needs to be recompiled. All archs except x86 are now broken and need to be fixed as x86. PPC will be fixed shortly by me, the rest is left to the arch maintainers.
* Finish up reverting NPTLEric Andersen2005-05-203-6/+382
|
* Get rid of crud."Steven J. Hill"2005-05-151-234/+0
|
* There were two versions of 'pthreadtypes.h' originally in uClibc. Also,"Steven J. Hill"2005-05-141-142/+0
| | | | | | since we are going to support the two implementations of pthreads, we again need to instead create symbolic links to use the proper version of the file depending on the pthreads option chosen.
* Sync uClibc 'sigthread.h' with the latest version from glibc."Steven J. Hill"2005-05-141-6/+6
|
* Add missing file to the clean list."Steven J. Hill"2005-05-141-0/+1
|
* Added new 'bits/atomic.h' for most of the architectures and the top-level ↵"Steven J. Hill"2005-05-126-0/+1824
| | | | 'include/atomic.h' to add in new atomic operations for use by NPTL. There are multiple files for PowerPC and Sparc for 'atomic.h'. I will let those architecture maintainers choose the correct file. The files come from glibc in 'sysdeps/ARCH/bits'.
* This file is no longer used. kill it.Eric Andersen2005-05-111-64/+0
|
* The default static buffer sizes are too small to handle the 8 entries returnedEric Andersen2005-05-101-5/+5
| | | | | | | | | | | by 'nslookup www.yahoo.com' and 'nslookup mail.hotmail.com', and thus we currently return ERANGE when trying to lookup some of the most popular hosts on the planet. Whether these sites deserve to be popular is a question I'll leave for someone else to worry about. This change makes certain we have enough static buffer space to handle about 21 IPv4 IP address replies per DNS query. Far more than enough to handle common cases such as www.yahoo.com and mail.hotmail.com.
* Change strptime so that it only modifies struct tm fields specified.Manuel Novoa III2005-05-101-1/+3
|
* Hopefully fix the problem reported by Peter Mazinger,Joakim Tjernlund2005-05-076-32/+568
| | | | | | | see http://uclibc.org/lists/uclibc/2005-May/011667.html for details. Not tested by me but I am sure Peter will :) The toolchain needs to be rebuilt.
* Fix trapa value for _syscall6() to conform with new sh syscall ABI.Paul Mundt2005-05-072-2/+2
| | | | | | | | The old sh system call interface used 0x00 - 0x0f for the trapa value (number of arguments), whereas the new ABI uses the 0x10 - 0x1f range. For some reason we were using an off-by-1 trapa immediate which ended up trashing r1 in the _syscall6() case, so we fix it up..
* Fix __sigprocmask weak symbol resolution with gcc4.Paul Mundt2005-05-022-1/+2
| | | | | | | | | | | | | This popped up during a build with gcc4: /home/pmundt/devel/svn/buildroot/build_sh2a_nofpueb/staging_dir/bin/sh2a_nofpueb-linux-uclibc-gcc -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fstrict-aliasing -mprefergot -Os -funit-at-a-time -mb -m2a-nofpu -fno-builtin -nostdinc -D_LIBC -I../../../../include -I. -isystem /home/pmundt/devel/svn/buildroot/build_sh2a_nofpueb/staging_dir/lib/gcc/sh2a_nofpueb-linux-uclibc/4.0.0/include -DNDEBUG -I../ -c longjmp.c -o longjmp.o /tmp/ccWyQbux.s: Assembler messages: /tmp/ccWyQbux.s:45: Error: Local symbol `__sigprocmask' can't be equated to undefined symbol `sigprocmask' make[5]: *** [longjmp.o] Error 1 make[5]: Leaving directory `/home/pmundt/devel/svn/buildroot/toolchain_build_sh2a_nofpueb/uClibc/libc/sysdeps/linux/sh' Stupid gcc.
* Fix it so uClibc returns multiple ips via h_addr_list,Eric Andersen2005-04-281-66/+117
| | | | | | | | | | | | | | | | | | | | | | | | | This fix, based on this patch http://bugs.uclibc.org/view.php?id=104 makes it so uClibc fills out round robin dns lists for applications such as nslookup: Before: $ nslookup google.com Server: mace.codepoet.org Address: 10.10.10.1 Name: google.com Address: 216.239.39.99 After: $ nslookup google.com Server: mace.codepoet.org Address: 10.10.10.1 Name: google.com Addresses: 216.239.57.99, 216.239.37.99, 216.239.39.99
* Cleanup error case a bitEric Andersen2005-04-281-8/+8
|
* This might actually now be thread safe, assuming I havn't broken it.Eric Andersen2005-04-281-20/+27
|
* trim trailing whitespaceEric Andersen2005-04-281-26/+26
|
* Added support for clock_getres() and clock_settime() in addition toPeter Kjellerstedt2005-04-285-41/+156
| | | | | | | the already existing clock_gettime(). In addition they will now use the corresponding system calls if they exists, which resulted in a move to libc/sysdeps/linux/common for clock_gettime.c (it was previously located in libc/misc/time).
* Updated to match glibc 2.3.4 (adds missing CLOCK_MONOTONIC).Peter Kjellerstedt2005-04-281-4/+6
|
* The list of source files was just too much. Especially trying to keepPeter Kjellerstedt2005-04-281-42/+8
| | | | | it alphabetized (which was not fully successful) made adding a new file a mess. Replaced it with a call to the make function $(wildcard).
* Fix bug 222: Move all archs to newer __IPC_64 interface for {msg,sem,shm}ctlJoakim Tjernlund2005-04-2413-34/+427
| | | | syscalls. This won't work on 2.2 kernels(I think).
* In Bug 116, dicksnippe writes:Mike Frysinger2005-04-161-3/+32
| | | | | | | | | | uClibc's mkstemp/mktemp tries to read /dev/urandom (or /dev/random) to generate random contents for the .XXXXXX part of its argument. In a chrooted environment /dev/[u]random might not be available. Thus the mkstemp call fails. Add back in the braindamaged gettimeofday/getpid code, but only as a fallback for when reading /dev/[u]random fail for whatever reasons.
* cbachman writes Bug 195:Mike Frysinger2005-04-161-0/+4
| | | | | | | | Add back in the code which sets the default facility if none specified. This may cause issues with klogd when it tries to use the libc's syslog(), but klogd comes with its own syslog() implementation so that's a none issue. For more info, please see the following: http://sources.redhat.com/ml/libc-alpha/2000-03/msg00059.html
* Further rework the mips syscallsEric Andersen2005-04-131-183/+221
|
* Cleanup the mips syscalls a bit more, and fix a fewEric Andersen2005-04-011-34/+34
| | | | annoying warnings.
* Forgot to change name of builtin buffer during last rewrite.Manuel Novoa III2005-03-211-3/+2
|
* Pass _dl_fini function ptr to __uClibc_start_main().Joakim Tjernlund2005-03-211-0/+1
| | | | | | To actually use it, one must define _DL_DO_FINI_IN_LIBC globally. That will also break ABI for apps linked with previous version of crtX.S. They must be relinked with this version to work again.
* Pass _dl_fini function ptr to __uClibc_start_main().Joakim Tjernlund2005-03-201-1/+2
| | | | | | To actually use it, one must define _DL_DO_FINI_IN_LIBC globally. That will also break ABI for apps linked with previous version of crtX.S. They must be relinked with this version to work again.
* Prepare for moving ldso FINI handling into libc.Joakim Tjernlund2005-03-202-3/+13
| | | | #define _DL_DO_FINI_IN_LIBC to enable(the arch specific part needs to be in place first).
* Revert last commit. If I had wanted to include that patch, I would have doneManuel Novoa III2005-03-171-3/+3
| | | | it myself at least a year and a half ago.
* http://bugs.uclibc.org/view.php?id=165Mike Frysinger2005-03-161-3/+3
| | | | | | d1mag writes: Compilation of _fpmaxtostr.c generate an internal error by m68k-elf-gcc, and this patch has been used in uClinux-dist to fix it.
* change the reg class so it actually compilesMike Frysinger2005-03-161-1/+1
|
* merge the syscalls and punt the glibc import in the process (blah, what a ↵Mike Frysinger2005-03-161-136/+154
| | | | waste of time that was :D)
* get rid of linux-headers hack ... rip code from glibcMike Frysinger2005-03-161-7/+169
|
* Make mips/mipsel syscalls no longer complain about the "use of memory inputEric Andersen2005-03-141-6/+12
| | | | without lvalue in asm". Give the asm an lvalue so it can be happy.
* - added externs to keep gcc quiet about implicit declaration of 3 functionsNed Ludd2005-03-121-0/+5
|
* doh! We'll get this one right yet...Eric Andersen2005-02-251-2/+2
|
* update so argc/argv/envp work and binaries dont just segfault immediatlyMike Frysinger2005-02-211-6/+24
|
* Some uClinux architectures do not define pivot_rootEric Andersen2005-02-181-1/+10
|
* dont need sysdep.hMike Frysinger2005-02-151-3/+0
|