summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2008-03-26Enable remap_file_pages prototype controlled by __USE_GNU define as well as ↵Carmelo Amoroso
mremap, instead of __USE_MISC according to glibc. Missing prototype was spotted out by Peter Mazinger
2008-02-28Added support for ether_line, ether_ntohost and ether_hostton.Carmelo Amoroso
Added related test cases. Signed-off-by: Matthew Wilcox <matthew@wil.cx> Hacked-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2008-01-19- forgot to add include/fenv.hBernhard Reutner-Fischer
2008-01-17- fix compilation:Bernhard Reutner-Fischer
In file included from toolchain_build_i386/gcc-3.4.6/libiberty/hashtab.c:49: build_i386/staging_dir/i386-linux-uclibc/sys-include/malloc.h:193: error: ISO C forbids data definition with no type or storage class
2008-01-11cull useless headers and import a few updates from glibcMike Frysinger
2008-01-09fetch queue.h from latest freebsd cvsMike Frysinger
2008-01-08change NO_UNDERSCORES to just UNDERSCORES so as to be less confusing when ↵Mike Frysinger
doing double negatives
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-05sync with glibc to get the extern inline directiveMike Frysinger
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-05give EM_AVR32 a little commentMike Frysinger
2008-01-05implement semtimedop for #927Mike Frysinger
2007-11-22Certain configure scripts test for presence of dlfcn.h. Don't install itBernd Schmidt
if !HAVE_SHARED.
2007-11-16Added AVR32 support to uClibc. Signed-off-by: Hans-Christian Egtvedt ↵Carmelo Amoroso
<hcegtvedt@atmel.com>
2007-11-07Added support for GNU hash style into dynamic linkerCarmelo Amoroso
2007-10-20- commentary typo fixBernhard Reutner-Fischer
2007-09-15add libc_hidden_xxxx for __uc_mallocDenis Vlasenko
2007-09-15sync with glibcMike Frysinger
2007-09-15drop __user hack for crappy kernel headers and document the __linux__ greaseMike Frysinger
2007-07-30introduce __uc_malloc, so that users can intercept libc internal OOM.Denis Vlasenko
2007-07-14syslog.h: allow prioritynames[]/facilitynames[] to be defined constDenis Vlasenko
(selectable by #defining SYSLOG_NAMES_CONST)
2007-06-24- make sure to define _LIBC in libc-symbols.h before including anythingBernhard Reutner-Fischer
else. - internal_function is only used inside libc, so do not define it in uClibc_arch_features.h on i386 if we are outside of libc.
2007-04-17- shrink resolver codeBernhard Reutner-Fischer
2007-03-01include stddef.h to get NULL definition.Khem Raj
2007-02-28add support for ppoll() and emulate poll() with it when __NR_poll does not existMike Frysinger
2007-02-28sync with glibcMike Frysinger
2007-02-21stub out msync() for no-mmu as wellMike Frysinger
2007-02-12Impl. linux syscalls sched_getaffinity/sched_setaffinity butJoakim Tjernlund
protect its use by #ifdef INTERNAL_SYSCALL since not all arch's has INTERNAL_SYSCALL. All arch's not having INTERNAL_SYSCALL in libc/sysdeps/linux/<arch>/bits/syscalls.h should get an update from glibc.
2007-02-08use __FDPIC__ from the compiler rather than setting our ownMike Frysinger
2007-02-08revert previous change; reading POSIX spec some more says we need to set ↵Mike Frysinger
errno to EINVAL if filename is NULL
2007-02-08we crash if the first argument to realpath() is non-null as well so lets ↵Mike Frysinger
mark both arguments as being non-NULL
2007-02-05no need to duplicate WCHAR checkMike Frysinger
2007-02-05- silence warning about using an undefined tokenBernhard Reutner-Fischer
2007-01-29Richard Sandiford writes:Mike Frysinger
However, retesting on m68k showed up a problem that had appeared in uClibc since the last time I tried. Specifically, revision 15785 did: -#define HEAP_GRANULARITY (sizeof (HEAP_GRANULARITY_TYPE)) +#define HEAP_GRANULARITY (__alignof__ (HEAP_GRANULARITY_TYPE)) -#define MALLOC_ALIGNMENT (sizeof (double)) +#define MALLOC_ALIGNMENT (__alignof__ (double)) The problem is that (a) MALLOC_HEADER_SIZE == MALLOC_ALIGNMENT (b) the header contains a size value of type size_t (c) sizeof (size_t) is 4 on m68k, but... (d) __alignof__ (double) is only 2 (the largest alignment used on m68k) So we only allocate 2 bytes for the 4-byte header, and the least significant 2 bytes of the size are in the user's area rather than the header. The patch below fixes that problem by redefining MALLOC_HEADER_SIZE to: MAX (MALLOC_ALIGNMENT, sizeof (size_t)) (but without the help of the MAX macro ;)). However, we really would like to have word alignment on Coldfire. It makes a big performance difference, and because we have to allocate a 4-byte header anyway, what wastage there is will be confined to the end of the allocated block. Any wastage will also be limited to 2 bytes per allocation compared to the current alignment. I've therefore used the __aligned__ type attribute to create a double type that has at least sizeof (size_t) bytes of alignment. I've introduced a new __attribute_aligned__ macro for this. It might seem silly protecting against old or non-GNU compilers here, but the extra alignment is only an optimisation, and having the macro is more in the spirit of the other attribute code.
2007-01-29- see if defined foo before trying to look at the value of foo (that should ↵Bernhard Reutner-Fischer
be 0 in this case. Avoids some warnings).
2007-01-29- sync with glibc (and provide a check for icc).Bernhard Reutner-Fischer
Only affects gcc <2.7 or non-gcc compilers that bailed earlier due to missing int64_t
2007-01-29use ifdef rather than if for stack directionMike Frysinger
2007-01-29check to see if __USE_FILE_OFFSET64 is defined rather than if it evaluates ↵Mike Frysinger
to true
2007-01-29missed an underscore in previous commitMike Frysinger
2007-01-28Bernhard Fischer writes: note how uClibc chooses to handle __resolved==NULLMike Frysinger
2007-01-28sync with glibc as pointed out by Bernhard FischerMike Frysinger
2007-01-26- fix format of commentBernhard Reutner-Fischer
2006-12-23- r16732 forgot to checkin the sync of the __UCLIBC_SUSV3_LEGACY_MACROS__ ↵Bernhard Reutner-Fischer
from string.h
2006-12-15Patch from Bernhard Fischer:Eric Andersen
fix compilation if PUTC_MACRO and/or GETC_MACRO is turned off
2006-12-08Take Mike Frysinger's comments into account -- make certain that userEric Andersen
applications stop using _syscall#() and use syscall() instead. Cleanup internal handling of syscall includes to use the correct header file.
2006-12-08Sorry psm but contrary to commit 12927, kernel provided syscallsEric Andersen
are NOT suitable for user-space. The libc ones are the ones that application code must use. If a problem is found with the libc ones, then the libc syscall macros should be fixed.
2006-12-08finish the pthread locking cleanups. This should get things compiling againEric Andersen
though I still need to silence the warnings about _pthread_cleanup_push_defer
2006-12-07Major cleanup of internal mutex locking. Be more consistant in how we doEric Andersen
things, and avoid potential deadlocks caused when a thread holding a uClibc internal lock get canceled and terminates without releasing the lock. This change also provides a single place, bits/uClibc_mutex.h, for thread libraries to modify to change all instances of internal locking.
2006-11-29- introduce UCLIBC_SUSV3_LEGACY_MACROS to be able to do away with all LEGACYBernhard Reutner-Fischer
stuff, even the fallback defines.
2006-11-29- honor __UCLIBC_HAS_LFS__Bernhard Reutner-Fischer