1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 01:01:52 +02:00
Commit Graph

799 Commits

Author SHA1 Message Date
nbd
0e2d55e3e3 gcc: move the optimized assembler helpers back into the static libgcc and skip relinking for this arch. due to relocation constraints, the assembler functions cannot be in the shared libgcc and must always be linked in statically
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25952 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-08 13:10:11 +00:00
kaloz
d705ffaa77 [toolchain/gdb]: upgrade to the 2011.03-0 release from Linaro
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25948 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-08 07:51:06 +00:00
nbd
fc3f00e50f uClibc: add back R_PPC_REL24 relocation support, the dynamic libgcc changes depend on it for powerpc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25944 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-07 22:38:48 +00:00
kaloz
c0b7eece82 only support EABI on ARM targets
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25928 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-07 12:59:19 +00:00
nbd
531d32058a gcc: include assembler functions in the shared libgcc_s library, fixes missing symbol issues on powerpc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25912 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-06 22:54:30 +00:00
nbd
882a558332 toolchain/gcc (linaro): fix extension elimination optimization
This applies Richard Sandiford's patch for Linaro GCC as an alternative to disabling the Linaro-specific extension elimination optimization altogether.

Original patch: https://bugs.launchpad.net/gcc-linaro/+bug/728315
Signed-off-by: Mark Mentovai <mark@moxienet.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25871 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-04 21:38:15 +00:00
acoul
a3f4bd9b1c toolchain/gcc: fix r25709 (closes #8964)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25844 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-03 10:09:06 +00:00
nbd
ab7967640b gcc: disable extension elimination, it causes hostapd to be miscompiled on mips
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25834 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-02 17:54:02 +00:00
nbd
7386839604 toolchain: remove -lgcc_eh from the default libgcc spec, it breaks packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25807 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-01 15:38:58 +00:00
nbd
2ebb168ddb uClibc: set the toolchain info at install time instead of prepare time, fixes staging dir rebuilds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25803 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-01 05:41:02 +00:00
nbd
3be8692624 gcc-linaro: fix the libgcc spec to default to using the shared libgcc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25801 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-01 05:40:47 +00:00
kaloz
1d66ea8a9b [toolchain/gcc]: backport fa526 optimization for gcc 4.5+
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25709 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-25 17:44:18 +00:00
kaloz
386ec6836c [toolchain/gcc]: use the Linaro GCC for arm and mips targets
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25708 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-25 17:43:15 +00:00
kaloz
251a813933 We use different toolchain directories for different
ARM archs, so we should set the default arch of gcc
to reflect this.

This enables EABI support for armv4 CPUs.

Signed-off-by: Jochen Friedrich <jochen@scram.de>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25705 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-25 16:52:25 +00:00
kaloz
e97c2ae216 [toolchain/uClibc]: upgrade to latest git, refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25698 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-24 12:56:20 +00:00
kaloz
30e0baab50 [toolchain/gcc/4.3.5]: sync avr32 patch with the latest ones from atmel
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25696 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-24 08:14:15 +00:00
kaloz
73008aefda [toolchain/binutils]: remove the CS variant - broken since it's addition
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25648 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-21 11:43:16 +00:00
nbd
d16223ed9e gcc: remove arch default duplication, fix version selection for !TOOLCHAINOPTS
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25633 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-20 22:09:51 +00:00
florian
ae56a53055 [toolchain] update gdb to 7.2
This patch updates the toolchain gdb from 6.8 to 7.2

Signed-off-by: Steve Brown <sbrown@cortland.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25585 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-19 12:44:33 +00:00
kaloz
a1f989fd1a [toolchain/binutils/2.21]: only enable binutils 2.21 for avr32 if BROKEN is selected
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25572 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-18 13:48:42 +00:00
kaloz
eaa00c0f99 [toolchain/binutils/2.21]: add some more avr32 fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25571 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-18 13:47:36 +00:00
kaloz
29aa51be13 whitespace cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25570 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-18 13:45:35 +00:00
kaloz
b0c913d609 [toolchain/binutils]: add binutils 2.21
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25567 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-18 09:52:19 +00:00
kaloz
67042730ed [toolchain/gcc/4.3.5]: combine all avr32 patches into a single one
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25566 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-18 09:25:59 +00:00
kaloz
979f4efc82 [toolchain/binutils/2.20.1]: add avr32 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25562 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-16 22:44:47 +00:00
kaloz
a32bf38770 [toolchain/gcc/4.3.5]: additional avr32 fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25556 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-16 15:26:08 +00:00
kaloz
dbbdf96afb [toolchain/gcc/4.3.5]: refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25555 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-16 15:24:48 +00:00
kaloz
3f67361719 fixup gcc version selection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25554 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-16 15:21:17 +00:00
kaloz
db4a8bc7c1 [toolchain/binutils/2.19.1]: fixup the ubicom patch, refresh
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25552 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-16 14:05:08 +00:00
kaloz
ad88cd3cc6 [toolchain/binutils]: refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25551 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-16 13:51:31 +00:00
nbd
d52a5ec1ec uClibc: remove 0.9.30, 0.9.31
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25542 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-15 01:29:13 +00:00
nbd
89a8d5a56c uclibc: disable COMPAT_ATEXIT
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25517 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-13 14:18:08 +00:00
kaloz
e7bb94ce95 [toolchain/uClibc]: upgrade to latest git
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25516 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-13 12:32:01 +00:00
kaloz
1a463bb48e [toolchain/gcc/linaro]: upgrade to 2011.02, rename patchset directory
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25515 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-13 11:27:58 +00:00
nbd
5374218107 remove the shared object stubs of libnsl and libresolv - let the compiler use the static variants instead
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25511 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-13 03:26:10 +00:00
nbd
05d8c72a84 uclibc: disable rpc support - replaced by the external librpc, saves ~80k
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25504 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-13 01:45:59 +00:00
nbd
3e3f63e2bf kernel-headers: get rid of the arch/$(ARCH)/include/asm vs include/asm-$(ARCH) copying mess and stick to what the kernel is using
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25443 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-10 03:52:39 +00:00
kaloz
fcbb4886f4 [toolchain/uClibc/git]: autodetect ARM variant/ABI setup based on the compiler settings
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25328 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-02 20:19:28 +00:00
kaloz
ae918385c1 [toolchain/uClibc]: update to latest git version
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25327 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-02 20:07:28 +00:00
kaloz
e2428c54fe [toolchain/gcc/linaro]: fixup arm soft-float symbols
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25325 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-02 20:06:12 +00:00
kaloz
accdcad984 refresh patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25324 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-02 20:05:33 +00:00
kaloz
4fe9023bd2 [toolchain/gcc/linaro]: add armv4 fixup patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25322 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-02 19:34:36 +00:00
nbd
80990adbca gcc: fix default version selection - fixes missing MPC configure error during toolchain build
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25283 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-01 16:57:01 +00:00
nbd
e71556383a eglibc: disable ssp, it breaks the build
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25280 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-01 16:21:49 +00:00
nbd
2ebfc96bd2 uClibc: use the arch specific thread stack size for nptl if the size returned by getrlimits exceeds it - fixes threads on systems with only 16 MB RAM
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25223 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-29 00:21:13 +00:00
jow
990779045a [toolchain] uClibc: remove references to $(CONFIG_LARGEFILE)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25209 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-28 17:04:08 +00:00
nbd
3aa06b8113 gcc: fix linaro 4.5.1 version check
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25203 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-28 16:37:30 +00:00
kaloz
47bf801dd0 [toolchain/gcc/linaro]: refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25195 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-28 12:34:32 +00:00
nbd
ddc9278d09 uClibc: fix version check for 0.9.32
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25189 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-28 02:41:53 +00:00
nbd
089411e72d binutils: backport a fix for broken relocation entries on mips with -fPIE, fixes dbus-server crash with sstrip
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25188 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-28 02:29:01 +00:00
nbd
87d30b549d uClibc: make 0.9.32-git default, it fixes lots of bugs compared to earlier versions (especially threading issues), and the known regressions have been fixed
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25187 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-28 01:10:45 +00:00
nbd
391bf297ba uClibc 0.9.32: fix infinite recursion on application exit triggered by linking libc before libpthread
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25186 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-28 01:10:41 +00:00
kaloz
4bf0263cf5 cleanup toolchain version handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25148 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-27 13:55:00 +00:00
kaloz
4d7ba8846f [toolchain]: nuke unneeded patchsets as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25145 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-27 13:28:27 +00:00
kaloz
785fbb4514 [toolchain]: get rid of gcc 4.1.2 and 4.2.4 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25144 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-27 13:24:38 +00:00
kaloz
fa32e94781 [toolchain]: use the linaro gcc by default (right now this only affects x86 targets)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25142 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-27 13:17:50 +00:00
kaloz
05ce87b716 [toolchain/uClibc]: LEON is SPARC v8
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25141 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-27 12:54:08 +00:00
kaloz
0037bc538a [toolchain/uClibc]: update to latest git
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25082 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-24 09:40:24 +00:00
nbd
acdccba88b uClibc 0.9.32: fix libm compile for powerpc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25013 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-16 01:24:43 +00:00
jow
7d8d7ca42f [toolchain] add explicit dependencies between gcc prepare stages, fixes source download race with make -j (#8596)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24969 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-12 15:44:53 +00:00
kaloz
301fef3a58 [toolchain/uClibc]: upgrade to latest git snapshot
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24889 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-03 14:20:30 +00:00
juhosg
0ddbef1f62 cns21xx: add initial support for the Cavium CNS21xx SoC
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24859 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-30 17:19:16 +00:00
acoul
d4042e2fe2 toolchain/gcc: fix r24746
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24751 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-21 14:54:34 +00:00
kaloz
441ff9ca0c [toolchain]: add gcc 4.5.2 (replaces 4.5.1)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24746 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-21 08:13:21 +00:00
nbd
31d38f818a fix a compile error with uclibc 0.9.32 and newer kernels
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24735 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-20 14:25:17 +00:00
nbd
1e0dae1684 gcc: fix newer libstdc++ compile issues with uclibc 0.9.32
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24734 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-20 14:25:05 +00:00
kaloz
cff618e74c [toolchain/gcc]: upgrade the linaro gcc to the 2010.12 release
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24563 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-14 09:50:59 +00:00
kaloz
386183ac6e add plemininary ultrasparc support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24558 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-14 07:57:22 +00:00
cshore
5f3bb216ef [toolchain] binutils: Fix autoreconf for packages/devel/binutils package, which uses binutils toolchain patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24509 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-12 01:43:46 +00:00
acoul
df5bf72a25 toolchain/uClibc: apply an upstream 0.9.32 patch (Unwind_Resume calls to go via PLT to avoid text relocations for PIC)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24396 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-09 18:31:13 +00:00
kaloz
e82b1d80fc [target/mpc85xx]: preliminary support for Freescale MPC85xx based boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24259 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-05 11:38:59 +00:00
acoul
7873df547d toolchain/uClibc: sync to latest uClibc-0.9.32
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24229 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-03 16:36:37 +00:00
acoul
345320ab12 toolchain/uClibc: push an upstream fix
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24228 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-03 14:46:09 +00:00
nbd
1e52006d64 uClibc: add back a few cflags that were being overwritten, might fix a few segfauls (thx, framer99)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24120 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-24 00:30:26 +00:00
nbd
030341e663 uClibc: fix ubicom32 compile error with 0.9.32
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24101 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-22 17:50:08 +00:00
nbd
1f02e71ef2 uClibc: fix headers install on prepare with QUILT=1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24100 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-22 17:50:01 +00:00
nbd
e6ccee4e6b uClibc: make UCLIBC_HAS_LONG_DOUBLE_MATH generic
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24099 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-22 17:49:51 +00:00
nbd
81ed0a682f uClibc: fix cris compile on 0.9.32
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24094 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-22 16:18:43 +00:00
nbd
f4575b3f11 uClibc: fix compile error on avr32
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24093 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-22 15:14:16 +00:00
nbd
99edd90b17 uClibc: disable nptl on a few targets where it is not supported yet
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24092 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-22 14:50:33 +00:00
nbd
62153c47ad uClibc: 0.9.32 needs the ldso fix as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24074 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-22 01:48:29 +00:00
nbd
228eb594ae uClibc: update 0.9.32 to latest git
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24073 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-22 00:44:37 +00:00
acoul
c1780b0f5e toolchain/uClibc: fix upstream patch name on r24029
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24030 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-18 15:01:30 +00:00
acoul
9ded36e8ac toolchain/uClibc: push some upstream patches for uClibc-0.9.31. should resolve isses of #8269
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24029 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-18 14:58:37 +00:00
kaloz
bf9a05dc2e [toolchain/gcc]: update the linaro gcc to v2010.11-1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23940 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-10 12:27:33 +00:00
jow
19af816023 [toolchain] uClibc: fix errno access in pthreads (#8166, #8177)
Reading errno within pthreads always resulted in 0 breaking various programs
like transmission and collectd. This patch is not 100% thread safe but it brings
back threading into a usable state for now.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23905 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-06 23:49:11 +00:00
jow
66e6b2cd42 [PATCH] ld.so: ldd crashes when __LDSO_SEARCH_INTERP_PATH__ is not #defined
Since b65c7b2c79debcb9017e31913e01eeaa280106fb, the implicit search path
can be disabled by not #defining __LDSO_SEARCH_INTERP_PATH__. This
causes _dl_ldsopath to never be set, so it remains NULL. _dl_ldsopath is
still used when __LDSO_LDD_SUPPORT__ is #defined, to strip the path off
of the beginning of the absolute path to the ld.so interpreter in use
for printing. The _dl_strlen will crash with a NULL argument.

Rather than relying on _dl_ldsopath, this change causes ldd to compute
the interpreter's basename directly.

glibc ld.so seems to print the full path to the interpreter without
any computed basename or =>. I personally prefer glibc's behavior, but
to preserve backwards compatibility with uClibc ld.so, the existing
format with the computed basename, =>, and full path is used here. This
enables simpler (and unchanged) text processing in a pipeline.

Signed-off-by: Mark Mentovai <mark at moxienet.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23892 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-05 21:38:38 +00:00
kaloz
ed23e96f4a [toolchain]: use gcc 4.3.5 for avr32
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23866 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-04 14:18:04 +00:00
kaloz
83cccb37e9 [toolchain]: add avr32 support to gcc 4.3.5
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23865 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-04 14:17:06 +00:00
kaloz
5e7b0ded88 [toolchain]: switch to uClibc 0.9.31
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23781 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-02 13:57:57 +00:00
kaloz
36fa7f266c [toolchain]: switch to binutils 2.20.1 (except for avr32 and ubicom32)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23780 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-02 13:57:04 +00:00
kaloz
ad0b180480 [toolchain]: remove support for uClibc 0.9.30.2 and 0.9.30.3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23779 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-02 12:56:58 +00:00
kaloz
c5385a49f3 [toolchain/gcc]: remove unneeded config options, too
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23706 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-29 10:55:54 +00:00
kaloz
c302196e04 [toolchain/gcc]: fix typo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23705 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-29 10:48:14 +00:00
kaloz
9ed36a8533 [toolchain/gcc]: get rid of old gcc versions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23704 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-29 10:45:59 +00:00
kaloz
4c01c82e12 [toolchain/gcc]: add support for Linaro GCC 2010.10
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23703 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-29 10:37:51 +00:00
kaloz
37293060d4 fix typo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23695 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-28 11:19:38 +00:00
kaloz
d9f7236e32 [toolchain]: sync gcc's Config.in with Config.version
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23694 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-28 10:59:58 +00:00
kaloz
c766a7bd69 [toolchain]: the latest patchlevel gcc releases should work for these targets
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23693 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-28 10:38:32 +00:00
kaloz
71e9ce2125 [toolchain]: fixup gcc version selection for the omap35xx target
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23692 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-28 10:29:53 +00:00