summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-01-09- Fix compilation: semtimedop has 4 args (and not 6)Bernhard Reutner-Fischer
2008-01-09fetch queue.h from latest freebsd cvsMike Frysinger
2008-01-09fix broken whitespace in many places; no functional changesMike Frysinger
2008-01-09add workaround for gcc-3.4.6 with mipsMike Frysinger
2008-01-09no need to delete the binary upon failureMike Frysinger
2008-01-09Daniel Jacobowitz writes:Mike Frysinger
MontaVista noticed that when their kernels were configured to trap on unaligned access gethostbyname_r could mysteriously crash. I tracked this down to an unaligned buffer being passed to gethostbyname_r from some other part of uClibc (afraid I don't remember where from any more). We have to pad the beginning of the buffer to a pointer alignment before we store pointers in it.
2008-01-08Some more Blackfin/FDPIC ldso merging work. Include dl-inlines.h when itBernd Schmidt
exists, and move some definitions to their proper place.
2008-01-08change NO_UNDERSCORES to just UNDERSCORES so as to be less confusing when ↵Mike Frysinger
doing double negatives
2008-01-08the _dl_errno extern already exists in common headers, so no need for a ↵Mike Frysinger
local one
2008-01-08Added Hans-Christian Egtvedt as maintainer for the AVR32 architectureHans-Christian Egtvedt
2008-01-08Update the TODO reflecting the sh64 changes.Paul Mundt
2008-01-08Switch sh64 to use __uClibc_main and the new register layout.Paul Mundt
This was one of the stragglers still bent on __uClibc_start_main utilization, now it's only FR-V.
2008-01-08sh64 uses a 32-bit ABI, don't bother with lib64 silliness.Paul Mundt
2008-01-08Bring sh64 support back from the dead.Paul Mundt
2008-01-08test to make sure the buffers used by the gethost*_r functions handle ↵Mike Frysinger
misaligned scratch buffers
2008-01-08fix memory corruption on no-mmu from doing multiple execls where earlier ↵Mike Frysinger
execls fail by simply not releasing the memory reserved for the arguments of children processes
2008-01-06use the __extern_always_inline define from cdefs.h instead of duplicating ↵Mike Frysinger
gcc version checking in every pt-machine.h header ... while __extern_always_inline should work fine, i think what is intended is __extern_inline ... should double check later
2008-01-05this code does not actually rely on INTERNAL_SYSCALLMike Frysinger
2008-01-05add info for elf.h, ldd.c, readelf.c, and MAINTAINERSMike Frysinger
2008-01-05sync with glibc to get the extern inline directiveMike Frysinger
2008-01-05- fixup gnu_inline vs. C99 inlineBernhard Reutner-Fischer
- add missing header guards while at it
2008-01-05update my e-mail addressMike Frysinger
2008-01-05if an arch does not provide __NR_mmap, fall back to __NR_mmap2 (this just ↵Mike Frysinger
generalizes what Blackfin was already doing)
2008-01-05Chris Zankel writes:Mike Frysinger
The following patches add support for the Xtensa processor architecture to uClibc. They are based on a recent SVN checkout (12/05/2007). The first patch (attached to this post) adds Xtensa support to various shared configuration and make files. The following patches then include the Xtensa specific files and directories. I welcome any feedback and would appreciate it if you could include the patches into the mainline tree. I am certainly committed to maintain the port. Bob Wilson was kind enough to review the patches. Some notes about the architecture: Xtensa is a configurable and extensible processor architecture developed by Tensilica. For more information, please visit: www.linux-xtensa.org.
2008-01-05patch from Hans-Christian Egtvedt to silence some spurious signed warningsMike Frysinger
2008-01-05whitespace only: touchups from Hans-Christian EgtvedtMike Frysinger
2008-01-05patch from Mats Erik Andersson for better catching edge cases in optimized ↵Mike Frysinger
string functions
2008-01-05add BOTHER define from termios2Mike Frysinger
2008-01-05give EM_AVR32 a little commentMike Frysinger
2008-01-05Brian Austin writes: This patch adds MAVERICK CRUNCH FPU support for the ↵Mike Frysinger
Cirrus Logic EP93XX ARM9 Procs.
2008-01-05not everyone is a ninja: explicitly state that people should convert from ↵Mike Frysinger
sys_errlist[] to strerror()
2008-01-05whitespace only: fix indentationMike Frysinger
2008-01-05blah, enable the stupid hidden proto for fcntlMike Frysinger
2008-01-05krichy writes in 292:Mike Frysinger
I noticed, that in libc/misc/syslog/syslog.c when the syslog socket is opened, the close-on-exec flag is not set, as it is in gnu libc. This enables that behavior.
2008-01-05zen in #938 writes:Mike Frysinger
I had occasion to look at the uClibc script "getent" and felt compelled to clean out the cargo-cult programming style. I believe that this version is clearer, and I've added some minor features while I was in there: * usage clause, if no arguments or "--help" requested * original version appears to have been intending to "exit 2" on failure to match, but didn't * basic, probably good enough, support for ethers and netgroups * faster ;-) [as if that matters for this script]
2008-01-05implement semtimedop for #927Mike Frysinger
2008-01-05pop -m32 onto LDFLAGS/CFLAGS to make building on x86_64 multilib systems ↵Mike Frysinger
transparent
2008-01-05michael_d writes in 1879:Mike Frysinger
When no TIOCGPTN definition is present in the kernel headers, the library's ptsname() function will not work. The libc/stdlib/ptsname_r.c file is the problem. This file includes a complicated nest of #if directives. One of these #if's has the opposite sense from what is required.
2008-01-05michael_d writes in #1869: make sure GNU error functions output 'program: ' ↵Mike Frysinger
as documented in the function api
2008-01-05michael_d writes in #1874: Mike Frysinger
On an i386 platform with no rt_sigsuspend syscall (ie: Linux 2.0), compilation will halt on libc/sysdeps/linux/common/sigsuspend.os with a cryptic error message: "Error: non-constant expression in ".if" statement" I've investigated and found that the cause is that a literal '0' is being passed into a block of complex assembler macrology that is only prepared to deal with register names - '%eax', etc. In turn, that seems to be because of a typo in the GCC register constraints. The constraints for 2 and 3-argument syscalls includes a "C" constraint. To gcc, "C" means an SSE floating point constant -- an unlikely element in a syscall. I suspect the author meant to type "S" (%esi).
2008-01-05michael_d in #1849 writes: The getcwd() implementation in the absence of a ↵Mike Frysinger
getcwd syscall has an off-by-one allocation bug. As a result, sometimes the returned string has garbage at the end.
2007-12-22plug a memory leak when using execl* functions on no-mmuMike Frysinger
2007-12-22mark a bunch of public mem/str functions as weak so that people who insist ↵Mike Frysinger
on their own local copies while static linking dont hit link failures when other uClibc code force the libc.a objects to be pulled in via the hidden alias symbols
2007-12-22add hidden defs for execv/execlp for completenessMike Frysinger
2007-12-08import trunc()/truncf() for ISO C requirements, otherwise fortran can hit ↵Mike Frysinger
infinite loops when it generates builtins+trunc() substitutes
2007-12-07Removed pointless initialization to 0 of DIR fieldsCarmelo Amoroso
after having added memset. Thanks to Peter Mazinger for pointing this out. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2007-12-07I don't remember exactly why we decided to pick the caller's value ofCarmelo Amoroso
sa_restorer when SA_ONSTACK is set, but it seems to break LTP's sigaltstack testcase. Some users have reported problems with sigaltstack as well; hopefully this will fix it. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
2007-12-05Fix opendir problem when statically linked due to a missingCarmelo Amoroso
initialization of the mutex field within DIR struct. When linked dynamically instead, __pthread_mutex_init will initialize the mutex itself. Without this fix, any call to readdir will stuck forever trying to acquire the mutex. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2007-12-04Blackfin FD-PIC patch 6/6.Bernd Schmidt
These are mostly the changes necessary to deal with loading the libraries into memory. A couple new target macros are defined for this purpose, and the code in dl-elf.c is modified to deal with nommu systems.
2007-12-03Fix a few warnings introduced by my previous commits.Bernd Schmidt