Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-01-30 | - should look if LFS is enabled as suggested by pkj in #1131. This generates ↵ | Bernhard Reutner-Fischer | |
identical cc1 input for LFS enabled (compared to before r17652) but makes sure that we pickup the non-LFS if LFS is turned off (like r17652 did in this case). | |||
2007-01-29 | - fix compilation of GNU glob with !LFS | Bernhard Reutner-Fischer | |
Sounds like a typo, really | |||
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 | - s/if USE___THREAD/if defined USE___THREAD && USE___THREAD/g | Bernhard Reutner-Fischer | |
2007-01-29 | pull in unistd.h for syscall() prototype | Mike Frysinger | |
2007-01-29 | fix from Atsushi Nemoto for displaying of 64bit types | Mike Frysinger | |
2007-01-29 | fix from Roman Kononov for reading in of 64bit types | Mike Frysinger | |
2007-01-29 | sync some fixes from glibc | Mike Frysinger | |
2007-01-28 | sync with glibc as pointed out by Bernhard Fischer | Mike Frysinger | |
2007-01-28 | - commentary typo fix | Bernhard Reutner-Fischer | |
2007-01-28 | initial waitid() implementation | Mike Frysinger | |
2007-01-28 | need string.h for memset() | Mike Frysinger | |
2007-01-28 | make sure we clear out the buffer so that random garbage on the stack doesnt ↵ | Mike Frysinger | |
screw us up | |||
2007-01-28 | Paul Brook writes: | Mike Frysinger | |
The patch below tweaks the ARM nommu startup code so that doubleword stack alignment is preserved. This is required on EABI targets. | |||
2007-01-27 | fix from blackfin repo: Jie Zhang writes: update __kernel_ipc_pid_t, ↵ | Mike Frysinger | |
__kernel_uid_t and __kernel_gid_t types to match actual kernel types | |||
2007-01-27 | fix from blackfin repo: Jie Zhang writes: Passing NULL as the second ↵ | Mike Frysinger | |
argument to utimes () if the second argument to utime () is NULL as the kernel will take care of getting/setting current time | |||
2007-01-24 | fix from Bryan Wu: return NULL upon error, not the NULL string | Mike Frysinger | |
2007-01-22 | Recognize _SC_MONOTONIC_CLOCK in sysconf() even if __NR_clock_getres | Peter Kjellerstedt | |
is not defined. | |||
2007-01-21 | - repair misplaced #endif that got introduced in r17410. Fixes compilation. | Bernhard Reutner-Fischer | |
2007-01-20 | Disable declarations for NPTL. | "Steven J. Hill" | |
2007-01-20 | The case for _SC_MONOTONIC_CLOCK should only exist if 'clock_getres' does. | "Steven J. Hill" | |
2007-01-20 | - Trim superfluous trailing whitespace. No obj-code changes. | Bernhard Reutner-Fischer | |
2007-01-11 | Peter Mazinger pointed out that my last commit was faulty. | Joakim Tjernlund | |
This should fix it. | |||
2007-01-10 | merge from blackfin.uclinux.org: Adjust | Mike Frysinger | |
crt1.S so that __uClibc_main is called properly | |||
2007-01-10 | Fix SEGV for static builds in exit() path. | Joakim Tjernlund | |
Leave the now obsolete libc/misc/pthread dir in for now. | |||
2007-01-10 | need to keep __check_rhosts_file exported for proper rhost control | Mike Frysinger | |
2007-01-10 | sync with upstream blackfin.uclinux.org | Mike Frysinger | |
2007-01-09 | Aurelien Jacobs writes: | Joakim Tjernlund | |
After our last update a new compilation breakage appeared when compiling gcc: /home/aurel/geex/geexbox/build.i386/toolchain/i386-pc-linux-uclibc/sysroot/usr/include/bits/uClibc_stdio.h:346: error: expected initializer before 'attribute_hidden' Some investigations revealed that the following changeset is responsible for this breakage: http://uclibc.org/cgi-bin/viewcvs.cgi/trunk/uClibc/libc/sysdeps/linux/common/bits/uClibc_stdio.h?rev=16801&r1=16793&r2=16801&diff_format=h Reverting just one hunk of this changeset fixed the problem us. I'm not sure this is the right fix, but please see attached patch. Look good to me. | |||
2007-01-05 | Support SecurePLTs for PowerPC. You need a toolchain that supports | Joakim Tjernlund | |
config option --enable-secureplt. The assembler must also supports R_PPC_REL16* relocations. gcc 4.1.1 and binutils 2.17 is known to do this. | |||
2007-01-05 | Atle Nissestad writes: The attached patch fixes compilation of the current ↵ | Mike Frysinger | |
svn on the nios2 platform, and updates the crt1/n/i.S files to get CTOR/DTOR-support to work. | |||
2006-12-22 | - provide a hidden_def for fputc_unlocked that is aliased to __fputc_unlocked. | Bernhard Reutner-Fischer | |
Fixes undefined references to __fputc_unlocked when calling fputc(). | |||
2006-12-20 | Paul Brook writes: | Mike Frysinger | |
When building an arm-uclinux toolchain withthreading disabled I get: libc/stdio/getchar.c:26: error: 'getchar' aliased to undefined symbol 'getchar_unlocked' It looks like it's missing libc_hidden_def(getchar_unlocked). Patch below fixes this. | |||
2006-12-17 | rename local "brk" var so it doesnt namespace collide with the brk() function | Mike Frysinger | |
2006-12-15 | Patch from Bernhard Fischer: | Eric Andersen | |
fix compilation if PUTC_MACRO and/or GETC_MACRO is turned off | |||
2006-12-14 | fix building when __NR_sigalstack does not exist | Mike Frysinger | |
2006-12-14 | if __NR_lseek is not defined, then we fall back to calling the 64bit lseek | Mike Frysinger | |
2006-12-12 | Fix/disable locking when pthreads is disabled | Eric Andersen | |
2006-12-12 | sort out a few issues that show up on mips | Eric Andersen | |
2006-12-11 | mostly revert the locking changes for 'malloc', as the implementation | Eric Andersen | |
does not easily lend itself to becoming complete pthread cancelation safe without first investing in some deep and serious thought... The other malloc implementations are pthread cancelation safe, and this one is mostly used for uClinux, where the lack is at least less likely to be a common problem. | |||
2006-12-11 | fix building when pthread support is disabled | Mike Frysinger | |
2006-12-11 | dont try and compile if the MMU is disabled | Mike Frysinger | |
2006-12-11 | need endian.h for __LONG_LONG_PAIR() macro | Mike Frysinger | |
2006-12-11 | cleanup style | Mike Frysinger | |
2006-12-11 | create new menu so people can select what format they wish to build uClibc | Mike Frysinger | |
2006-12-09 | these weaks are also needed in libc.so for the time being | Eric Andersen | |
2006-12-09 | oops, use __pthread_mutex_unlock() not pthread_mutex_unlock() | Eric Andersen | |
2006-12-09 | Add missing sys/types.h header | Eric Andersen | |
2006-12-09 | silence a lot of warnings and fix a few genuine bugs while I'm at it. | Eric Andersen | |
2006-12-08 | Richard Sandiford writes: add support for init/fini arrays in shared flat ↵ | Mike Frysinger | |
libraries | |||
2006-12-08 | seems this is the newfangled way to tell folks this stuff | Eric Andersen | |
is really really and we mean it this time, for uClibc only |