summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-10-08Do string comparisos as late as possible during symbol lookup.Mike Frysinger
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2007-09-30- Fix compilation for mips ABI64 with no LFS.Bernhard Reutner-Fischer
2007-09-30- Fix compilation for mips ABI64 with no LFS.Bernhard Reutner-Fischer
This wants a stub_enosys(readahead) line later on, like many, many others need..
2007-09-28This patch will fix a problem when the same host is defined with both IPv4 andMike Frysinger
IPv6 entries in /etc/hosts. Previous only the first of these host would work, as uClibc would read the /etc/hosts file from top to bottom, failing if the first hit did not match the IP type. Now uClibc will continue reading, even if the first correct entry name, but wrong IP type fails. Thus, allowing a second correct entry name with correct IP type will result in a name resolve. Signed-off-by: Hans-Christian Egtvedt <hcegtvedt@atmel.com>
2007-09-28do not check the pointer before freeing it since free(NULL) works just fineMike Frysinger
2007-09-28cleanup code styleMike Frysinger
2007-09-28Make sure that the DSO has an hash table into its elf, otherwise skipMike Frysinger
the lookup over next DSO. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2007-09-21Jie Zhang writes:Mike Frysinger
GCC 4.3 will put fixed headers in a seperate include-fixed directory. And I don't think that there are people who are still using the 'stupid' GCC which cannot handle -iwithprefix, at least it works with gcc-3.3.x.
2007-09-21drop LDFLAGS from OUTPUT_FORMAT until LD/LDFLAGS can be fixed in generalMike Frysinger
2007-09-20- spelling fixBernhard Reutner-Fischer
2007-09-19Fix author name and copyright notice in __uc_malloc.cDenis Vlasenko
2007-09-19fix assembler error. libc_hidden_data_def cannot work on COMMONs,Denis Vlasenko
thus need to initialize stuff with 0 to force it into bss. All hell can again break loose if future gcc will be smart enough to ignore it.
2007-09-15add libc_hidden_xxxx for __uc_mallocDenis Vlasenko
2007-09-15from Blue Swirl: fixup sparc a bit moreMike Frysinger
2007-09-15pull from Blackfin repo: optimized byteswap funcs!Mike Frysinger
2007-09-15pull from Blackfin repo: cleanup string funcsMike Frysinger
2007-09-15forgot to add this with previous sparc commit ...Mike Frysinger
2007-09-15use gcc input constraints to avoid often duplicated reloads when making syscallsMike Frysinger
2007-09-15if __NR__newselect and __NR_select are unavailable, fall back to __NR_pselect6Mike Frysinger
2007-09-15also fix bug 1012 by moschny in 64bit version of readdirMike Frysinger
2007-09-15bug 1310: drop hidden aliases to data since some arches crap with this due ↵Mike Frysinger
to copy relocs
2007-09-15not sure how this obvious one liner got lost from glibc, but merge itMike Frysinger
2007-09-15add one more testcase from Natanael CopaMike Frysinger
2007-09-15switch to a smaller/more robust implementation by Andrey Simonenko and as ↵Mike Frysinger
suggested by Natanael Copa harvested from: http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/92880
2007-09-15add more tests as suggested by Natanael Copa and as harvested from:Mike Frysinger
http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/92880
2007-09-15Blue Swirl writes:Mike Frysinger
I got the library to compile with the attached patches, though dynamic loader crashes early. In buildroot I changed the architecture name by hand from sparc to sparc64, otherwise the compiler produced 32-bit files with V9 (64-bit) instructions. This configuration is not supported by QEMU, so I aimed for pure 64-bit. I think Sparc64 option needs to be added to buildroot. The _Qp_ ops seem to be required by the ABI. This and setjmp patches are just hacks to get the compilation further. The _Qp_ ops can be found in glibc, would it be OK to use those? V9 assembler requires declarations for global register use. The mem* functions in sparc32 directory did not work. They are actually used only by the hybrid 32-bit + V9 CPU configuration.
2007-09-15simplify binutils as-needed support and enable it all the time regardless of sspMike Frysinger
2007-09-15setup OUTPUT_FORMAT() in linker script (helps with multilib)Mike Frysinger
2007-09-15Atsushi Nemoto writes:Mike Frysinger
In MIPS syscall(2), .cpload was added to an the error path, but it was not enough for ABIs other then O32. Use SETUP_GP, SETUP_GP64 and RESTORE_GP64 to handle all ABIs. This patch fixes an error path of MIPS pipe(2) too.
2007-09-15sync with glibcMike Frysinger
2007-09-15actually update errors variable when a test failsMike Frysinger
2007-09-15add strerror_r symbol alias as some autotool based packages simply use ↵Mike Frysinger
AC_CHECK_LIB() to see if a function exists rather than checking the headers
2007-09-15drop __user hack for crappy kernel headers and document the __linux__ greaseMike Frysinger
2007-09-15fix from Kevin Day to make sure we use strchr() rather than index()Mike Frysinger
2007-08-01sgetspent: add missing free/__uc_malloc callsDenis Vlasenko
(spotted by Peter S. Mazinger <ps.m@gmx.net>)
2007-07-30make regex_old.c, ruserpass.c use __uc_malloc,Denis Vlasenko
replace "buf = malloc(BUFSIZ); if (!buf) abort();" by __uc_malloc elsewhere. With last 7 patches together uclibc has 3k of static data total with fairly big .config and with 2k being used for 2 x BUFSIZ stdio buffer: text data bss dec hex filename 114 132 2048 2294 8f6 _stdio.o (ex lib/libc.a) total data 593 total bss 3062
2007-07-30make getnetent.c, md5.c use __uc_mallocDenis Vlasenko
2007-07-30make utent.c, getpass.c use __uc_mallocDenis Vlasenko
2007-07-30make pwd_grp.c use __uc_mallocDenis Vlasenko
2007-07-30patch #3: make resolv.c use __uc_mallocDenis Vlasenko
2007-07-30convert des.c to use __uc_malloc (-70 kbytes of bss)Denis Vlasenko
2007-07-30introduce __uc_malloc, so that users can intercept libc internal OOM.Denis Vlasenko
2007-07-29Remove stray code alignment (.align 16 and .align 4 directives)Denis Vlasenko
from i386 and x86_64.
2007-07-18execXp should go to next PATH dir on any error except ENOEXEC,Denis Vlasenko
not just on ENOENT (in particular, on EPERM). At least glibc does so. Fixing this.
2007-07-18include/sys/mman.h says that msync exists only on MMU.Denis Vlasenko
Make msync.c agree on this.
2007-07-18des.c: move 0.5k of static data on stack, they are used only temporarilyDenis Vlasenko
by des_init.
2007-07-18Enable all of the remaining baud rates. All of the other architectures have ↵"Steven J. Hill"
them enabled, so let's go all the way. There was a quick discussion on IRC about making the max baud rate configurable. That requires a bunch of #ifdef salting throughout all of the 'termios.h' files for the pre-processor to chew on. I'm going to pass on that for now.
2007-07-18Apply patch as submitted by Blue Smurfy Swirly <blauwirbel@gmail.com> for ↵"Steven J. Hill"
Sparc32.
2007-07-14syslog.h: allow prioritynames[]/facilitynames[] to be defined constDenis Vlasenko
(selectable by #defining SYSLOG_NAMES_CONST)
2007-07-12Fix broken syscall() function since the original patch did not work."Steven J. Hill"