Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-02-05 | no need to duplicate WCHAR check | Mike Frysinger | |
2007-02-05 | - silence warning about using an undefined token | Bernhard Reutner-Fischer | |
2007-01-29 | Richard 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-29 | use ifdef rather than if for stack direction | Mike Frysinger | |
2007-01-29 | check to see if __USE_FILE_OFFSET64 is defined rather than if it evaluates ↵ | Mike Frysinger | |
to true | |||
2007-01-29 | missed an underscore in previous commit | Mike Frysinger | |
2007-01-28 | Bernhard Fischer writes: note how uClibc chooses to handle __resolved==NULL | Mike Frysinger | |
2007-01-28 | sync with glibc as pointed out by Bernhard Fischer | Mike Frysinger | |
2007-01-26 | - fix format of comment | Bernhard 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-15 | Patch from Bernhard Fischer: | Eric Andersen | |
fix compilation if PUTC_MACRO and/or GETC_MACRO is turned off | |||
2006-12-08 | Take Mike Frysinger's comments into account -- make certain that user | Eric Andersen | |
applications stop using _syscall#() and use syscall() instead. Cleanup internal handling of syscall includes to use the correct header file. | |||
2006-12-08 | Sorry psm but contrary to commit 12927, kernel provided syscalls | Eric 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-08 | finish the pthread locking cleanups. This should get things compiling again | Eric Andersen | |
though I still need to silence the warnings about _pthread_cleanup_push_defer | |||
2006-12-07 | Major cleanup of internal mutex locking. Be more consistant in how we do | Eric 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 LEGACY | Bernhard Reutner-Fischer | |
stuff, even the fallback defines. | |||
2006-11-29 | - honor __UCLIBC_HAS_LFS__ | Bernhard Reutner-Fischer | |
2006-11-29 | - gcvt() is marked LEGACY in XSI and mandatory in BSD. | Bernhard Reutner-Fischer | |
Also make compilation conditional on float support. | |||
2006-11-17 | Bernd Schmidt writes: [blackfin updates] add support for FDPIC and include ↵ | Mike Frysinger | |
L1 functions | |||
2006-09-21 | use proper #APP lines so that the assembler knows when it needs to handle ↵ | Mike Frysinger | |
parsing (see http://sources.redhat.com/ml/binutils/2004-04/msg00665.html) | |||
2006-09-08 | add some inline funcs for the mlock funcs on no-mmu | Mike Frysinger | |
2006-08-24 | sync with upstream via psm | Mike Frysinger | |
2006-08-24 | sync with upstream via psm | Mike Frysinger | |
2006-08-23 | sync with psm: update errno handling to be the same on all arches | Mike Frysinger | |
2006-06-21 | allow arches to easily override asm-line-sep, move cris over to new style, ↵ | Mike Frysinger | |
and have hppa use it now | |||
2006-06-21 | merge bfin relocations from blackfin cvs | Mike Frysinger | |
2006-06-19 | use internal aliases for static objects as well | Mike Frysinger | |
2006-06-07 | sync with glibc | Mike Frysinger | |
2006-06-07 | sync with glibc | Mike Frysinger | |
2006-06-07 | sync with glibc | Mike Frysinger | |
2006-06-07 | sync with glibc | Mike Frysinger | |
2006-05-30 | Remove uses of all QUEUEDEBUG_* macros. | Peter Kjellerstedt | |
2006-05-17 | previous commit ifdef-ed out too much code | Mike Frysinger | |
2006-05-17 | sync with glibc | Mike Frysinger | |
2006-05-17 | fold bfin-specific link.h back into common one as suggested by Peter S. Mazinger | Mike Frysinger | |
2006-05-12 | cut out _FORTIFY_SOURCE | Mike Frysinger | |
2006-05-06 | sync with glibc | Mike Frysinger | |
2006-05-04 | fix by Bernd Schmidt to support HAVE_ASM_SET_DIRECTIVE in weak_alias() macros | Mike Frysinger | |
2006-05-04 | merge some more minor changes from glibc | Mike Frysinger | |
2006-05-04 | sync minor changes with glibc | Mike Frysinger | |
2006-04-07 | remove old cruft that doesnt matter for uClibc and breaks anyways when using ↵ | Mike Frysinger | |
-std=c99 | |||
2006-03-27 | Revert change to remove 'error_print_progname' so that gettext will build. ↵ | "Steven J. Hill" | |
It can be commented out again when someone figures out how to fix gettext building and do the proper thing. | |||
2006-03-23 | Add new option for SuSv3 legacy functions and use it for ↵ | Peter S. Mazinger | |
bcopy/bzero/bcmp/index/rindex | |||
2006-03-23 | Sync w/ string.h, glibc version is out of date | Peter S. Mazinger | |
2006-03-22 | Comment __USE_UNIX98, not needed, add __glibc_strerror_r prototype for non-GNU | Peter S. Mazinger | |
2006-03-22 | Comment __mbrlen | Peter S. Mazinger | |
2006-03-19 | Guard the reentrant prototypes w/ appropiate config option | Peter S. Mazinger | |
2006-03-10 | sync with glibc | Mike Frysinger | |