Commit Graph

794 Commits (c818073c4a312dc687e49a4981e013bff40b38d3)

Author SHA1 Message Date
Felix Fietkau 3f3a1e406d 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
Alexandros C. Couloumbis d64dd300b8 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
Felix Fietkau 09b4a9572c 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
Felix Fietkau e9f02cd4dd 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
Felix Fietkau cdabc8deda 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
Felix Fietkau c2f05b9877 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
Imre Kaloz 68355d4227 [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
Imre Kaloz ffa3dfec7e [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
Imre Kaloz 7dd2d2cbd3 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
Imre Kaloz 2e58abb57d [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
Imre Kaloz 635c2c3f28 [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
Imre Kaloz e8454acdb4 [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
Felix Fietkau 50725d938c 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 Fainelli 88e222c6a3 [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
Imre Kaloz 051a88a1b0 [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
Imre Kaloz 6910a07bda [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
Imre Kaloz 5883f4e947 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
Imre Kaloz ec1ab875da [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
Imre Kaloz c33378562e [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
Imre Kaloz da051bcd85 [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
Imre Kaloz 8cd25b0fd3 [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
Imre Kaloz b24349625b [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
Imre Kaloz 5c66c31c34 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
Imre Kaloz f431dd44ba [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
Imre Kaloz 67ead04a5a [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
Felix Fietkau b71c26a5b1 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
Felix Fietkau 263fe71965 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
Imre Kaloz cb1eec5ea0 [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
Imre Kaloz 8ddc6132a5 [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
Felix Fietkau ff1a0f6304 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
Felix Fietkau d088b06f90 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
Felix Fietkau ac36e7bbbf 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
Imre Kaloz b030f3e1e0 [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
Imre Kaloz 9649a998eb [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
Imre Kaloz 57a9a524b4 [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
Imre Kaloz 3eac35527a 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
Imre Kaloz 01cfae1252 [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
Felix Fietkau 960e69aac9 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
Felix Fietkau a77e76ae66 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
Felix Fietkau 57fd328159 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
Jo-Philipp Wich 7a6761e39a [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
Felix Fietkau a56387a734 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
Imre Kaloz 0b101d2b20 [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
Felix Fietkau 788b1585d7 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
Felix Fietkau 4db8adf0e2 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
Felix Fietkau cf6f36abb4 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
Felix Fietkau c6e7c24a27 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
Imre Kaloz c82aa42db6 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
Imre Kaloz 23f1aec409 [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
Imre Kaloz f9060eb6b0 [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
Imre Kaloz 6469963c0a [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
Imre Kaloz f8b2d5faf4 [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
Imre Kaloz 4cd86e8cb2 [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
Felix Fietkau 5cb2244f2b 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
Jo-Philipp Wich 4439722288 [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
Imre Kaloz 6a285bfb8c [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
Gabor Juhos 0d46434b60 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
Alexandros C. Couloumbis 4ab0854336 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
Imre Kaloz f48a6b252d [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
Felix Fietkau 37e7a36f7d 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
Felix Fietkau 2fcbf52f19 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
Imre Kaloz 20990a6698 [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
Imre Kaloz dcaba4757f 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
Daniel Dickinson 9046a2a132 [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
Alexandros C. Couloumbis 81a2a08b06 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
Imre Kaloz 0ebaa8e801 [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
Alexandros C. Couloumbis 593c917377 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
Alexandros C. Couloumbis d8575c4138 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
Felix Fietkau 9df9184b94 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
Felix Fietkau ca622f9bd0 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
Felix Fietkau bccdd52519 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
Felix Fietkau 90d140c942 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
Felix Fietkau fe88a9ee06 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
Felix Fietkau fd1d71749b 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
Felix Fietkau e125fcab4b 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
Felix Fietkau 2e00ec4e17 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
Felix Fietkau e3c09dd817 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
Alexandros C. Couloumbis 0fc329a77d 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
Alexandros C. Couloumbis 2c24f3ae2f 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
Imre Kaloz bc28bc7729 [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
Jo-Philipp Wich a5fa9a2647 [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
Jo-Philipp Wich cd330a000e [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
Imre Kaloz deb93fbc33 [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
Imre Kaloz b6539213ec [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
Imre Kaloz d7a7570709 [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
Imre Kaloz 32fd75022d [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
Imre Kaloz 2d08a9a2c9 [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
Imre Kaloz 51a43a0e18 [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
Imre Kaloz 90c3e91779 [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
Imre Kaloz b178ff95ea [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
Imre Kaloz 92d66fd4dd [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
Imre Kaloz 2479ec401b 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
Imre Kaloz 0cedd42576 [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
Imre Kaloz 65f1abe5c9 [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
Imre Kaloz ea4e94a3ec [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
Imre Kaloz 740e58f3a0 [toolchain]: we don't support gcc 3.x for some time now
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23686 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-28 07:28:17 +00:00
Imre Kaloz 318e9e0922 [toolchain]: remove support for binutils 2.18 and 2.20
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23685 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-28 07:26:07 +00:00
Imre Kaloz 8709a54d17 [toolchain]: gcc 4.4.5 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23220 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-04 12:21:58 +00:00
Michael Büsch ef39b40498 optionally support parallel toolchain build. This defaults to off, because certain toolchain versions are known to break on parallel build. However, it significantly speeds up the build and latest versions of the tools do compile fine.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23196 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-03 12:54:07 +00:00
Felix Fietkau 501b42a623 gcc: enable non-PIC for mips targets in gcc 4.4+ to reduce code size
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23103 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-20 20:49:34 +00:00