summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
...
* Added support for GNU hash style into dynamic linkerCarmelo Amoroso2007-11-071-0/+2
|
* - commentary typo fixBernhard Reutner-Fischer2007-10-201-1/+1
|
* add libc_hidden_xxxx for __uc_mallocDenis Vlasenko2007-09-151-0/+2
|
* sync with glibcMike Frysinger2007-09-153-29/+100
|
* drop __user hack for crappy kernel headers and document the __linux__ greaseMike Frysinger2007-09-151-4/+4
|
* introduce __uc_malloc, so that users can intercept libc internal OOM.Denis Vlasenko2007-07-301-0/+7
|
* syslog.h: allow prioritynames[]/facilitynames[] to be defined constDenis Vlasenko2007-07-141-0/+6
| | | | | (selectable by #defining SYSLOG_NAMES_CONST)
* - make sure to define _LIBC in libc-symbols.h before including anythingBernhard Reutner-Fischer2007-06-241-10/+10
| | | | | | 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.
* - shrink resolver codeBernhard Reutner-Fischer2007-04-171-0/+2
|
* include stddef.h to get NULL definition.Khem Raj2007-03-011-0/+2
|
* add support for ppoll() and emulate poll() with it when __NR_poll does not existMike Frysinger2007-02-281-2/+24
|
* sync with glibcMike Frysinger2007-02-281-4/+106
|
* stub out msync() for no-mmu as wellMike Frysinger2007-02-211-2/+10
|
* Impl. linux syscalls sched_getaffinity/sched_setaffinity butJoakim Tjernlund2007-02-121-1/+1
| | | | | | | | | 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.
* use __FDPIC__ from the compiler rather than setting our ownMike Frysinger2007-02-081-11/+3
|
* revert previous change; reading POSIX spec some more says we need to set ↵Mike Frysinger2007-02-081-1/+1
| | | | errno to EINVAL if filename is NULL
* we crash if the first argument to realpath() is non-null as well so lets ↵Mike Frysinger2007-02-081-1/+1
| | | | mark both arguments as being non-NULL
* no need to duplicate WCHAR checkMike Frysinger2007-02-051-1/+1
|
* - silence warning about using an undefined tokenBernhard Reutner-Fischer2007-02-052-3/+3
|
* Richard Sandiford writes:Mike Frysinger2007-01-291-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* - see if defined foo before trying to look at the value of foo (that should ↵Bernhard Reutner-Fischer2007-01-291-4/+5
| | | | be 0 in this case. Avoids some warnings).
* - sync with glibc (and provide a check for icc).Bernhard Reutner-Fischer2007-01-291-2/+6
| | | | Only affects gcc <2.7 or non-gcc compilers that bailed earlier due to missing int64_t
* use ifdef rather than if for stack directionMike Frysinger2007-01-291-2/+2
|
* check to see if __USE_FILE_OFFSET64 is defined rather than if it evaluates ↵Mike Frysinger2007-01-291-1/+1
| | | | to true
* missed an underscore in previous commitMike Frysinger2007-01-291-1/+1
|
* Bernhard Fischer writes: note how uClibc chooses to handle __resolved==NULLMike Frysinger2007-01-281-1/+2
|
* sync with glibc as pointed out by Bernhard FischerMike Frysinger2007-01-281-7/+9
|
* - fix format of commentBernhard Reutner-Fischer2007-01-261-1/+1
|
* - r16732 forgot to checkin the sync of the __UCLIBC_SUSV3_LEGACY_MACROS__ ↵Bernhard Reutner-Fischer2006-12-231-1/+3
| | | | from string.h
* Patch from Bernhard Fischer:Eric Andersen2006-12-151-0/+7
| | | | fix compilation if PUTC_MACRO and/or GETC_MACRO is turned off
* Take Mike Frysinger's comments into account -- make certain that userEric Andersen2006-12-081-5/+13
| | | | | applications stop using _syscall#() and use syscall() instead. Cleanup internal handling of syscall includes to use the correct header file.
* Sorry psm but contrary to commit 12927, kernel provided syscallsEric Andersen2006-12-081-7/+5
| | | | | | 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.
* finish the pthread locking cleanups. This should get things compiling againEric Andersen2006-12-081-0/+2
| | | | though I still need to silence the warnings about _pthread_cleanup_push_defer
* Major cleanup of internal mutex locking. Be more consistant in how we doEric Andersen2006-12-071-0/+1
| | | | | | | 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.
* - introduce UCLIBC_SUSV3_LEGACY_MACROS to be able to do away with all LEGACYBernhard Reutner-Fischer2006-11-291-1/+3
| | | | stuff, even the fallback defines.
* - honor __UCLIBC_HAS_LFS__Bernhard Reutner-Fischer2006-11-291-2/+4
|
* - gcvt() is marked LEGACY in XSI and mandatory in BSD.Bernhard Reutner-Fischer2006-11-291-2/+4
| | | | Also make compilation conditional on float support.
* Bernd Schmidt writes: [blackfin updates] add support for FDPIC and include ↵Mike Frysinger2006-11-171-0/+2
| | | | L1 functions
* use proper #APP lines so that the assembler knows when it needs to handle ↵Mike Frysinger2006-09-211-8/+4
| | | | parsing (see http://sources.redhat.com/ml/binutils/2004-04/msg00665.html)
* add some inline funcs for the mlock funcs on no-mmuMike Frysinger2006-09-081-0/+12
|
* sync with upstream via psmMike Frysinger2006-08-241-75/+68
|
* sync with upstream via psmMike Frysinger2006-08-241-11/+65
|
* sync with psm: update errno handling to be the same on all archesMike Frysinger2006-08-231-7/+9
|
* allow arches to easily override asm-line-sep, move cris over to new style, ↵Mike Frysinger2006-06-211-1/+3
| | | | and have hppa use it now
* merge bfin relocations from blackfin cvsMike Frysinger2006-06-211-0/+40
|
* use internal aliases for static objects as wellMike Frysinger2006-06-191-1/+1
|
* sync with glibcMike Frysinger2006-06-072-9/+51
|
* sync with glibcMike Frysinger2006-06-071-3/+5
|
* sync with glibcMike Frysinger2006-06-071-2/+2
|
* sync with glibcMike Frysinger2006-06-071-2/+11
|