Commit Graph

231 Commits (94287b5ad3063a1a291f74b82cae28c568b1234f)

Author SHA1 Message Date
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
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
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
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 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 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
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 f1f392ab5f toolchain: fix the sysroot mess by getting rid of $(TOOLCHAIN_DIR)/usr and moving it back to $(TOOLCHAIN_DIR), this change makes the toolchain relocatable again, which should fix the SDK
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22723 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-19 12:49:51 +00:00
Mirko Vogt 107809668c nptl-supoprt should not autoselect EXTRA_WARNINGS as this results in extra CFLAGS which may not be supported by older compilers (as e.g. gcc-4.1 which e.g. the x86 target is currently using)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22511 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-06 12:42:04 +00:00
Imre Kaloz 766cb6b709 add support for the Gateworks Laguna family (Cavium Networks Econa CNS3xxx)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22323 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-21 11:20:53 +00:00
Imre Kaloz 355be7618f the storm target is gone for a long time now
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22311 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-20 11:11:22 +00:00
Mirko Vogt 55d6630a0c patch went upstream, so bump git version and remove patch locally
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21881 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-22 19:24:06 +00:00
Mirko Vogt 93567175e4 add support for uClibc version 0.9.32 based on git rev a7642511b08b0b8a4012bab67cb8aa554992df6b,
this includes support for nptl which got merged into the uClibc master branch recently

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21856 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-20 22:18:43 +00:00
Florian Fainelli 528a24ebe9 [toolchain] add upstream uclibc 0.9.31 patch to fix fcntl64 on 64-bits targets
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21504 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-19 09:05:10 +00:00
Gabor Juhos 6e90698fdc toolchain/uClubc-0.9.31: fix syscalls on MIPS
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20882 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-15 19:28:10 +00:00
Nicolas Thill cf205143ab toolchain/uClibc: add preliminary support for 0.9.31 (needs testing)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20873 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-15 05:59:10 +00:00
Gabor Juhos 7892970212 uClibc: fix free-after-use bug in __dns_lookup (closes #6886)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20384 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-23 08:12:24 +00:00
Florian Fainelli 6c3b4d8c5f [toolchain] add support for uClibc 0.9.30.3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20181 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-13 17:22:18 +00:00
Nicolas Thill f41ee70bad [toolchain] uClibc: enhance debug support (closes: #6118)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20031 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-07 15:10:57 +00:00
Nicolas Thill 0cc7ae67f3 [toolchain] uClibc: revert to old linuxthreads implementation on x86 (like all others arches)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20030 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-07 15:06:22 +00:00
Imre Kaloz c3951e4fc0 [toolchain/uclibc]: upgrade and fixup support for the uclibc nptl branch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19871 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-26 11:03:59 +00:00
Jo-Philipp Wich 2c6b6eda34 [toolchain] add menuconfig item to enable uClibc debug builds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19860 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-25 19:27:54 +00:00
Imre Kaloz d23821eb6e [uClibc/avr32]: fix varargs handling of the prctl syscall
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19740 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-19 09:58:52 +00:00
Florian Fainelli 0bb4199081 [toolchain] fix uclibc for mips by adding missing upstream hunks
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19272 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-22 10:55:03 +00:00
Florian Fainelli 60f5e08bcc [toolchain] add support for uClibc 0.9.30.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19125 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-14 12:27:46 +00:00
Felix Fietkau 47ee7a649d uClibc: implement copysignl in libc on powerpc to avoid undefined references in libstdc++
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18178 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-27 01:11:40 +00:00
Felix Fietkau fd2da7768e fix pthread mklibs relinking by copying libpthread_so.a from uclibc instead of using the standard _pic variant
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18090 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-20 07:26:34 +00:00
Felix Fietkau ca7a7f6155 remove support for uclibc 0.9.29
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18078 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-19 18:25:25 +00:00
Felix Fietkau 48bba4c0b5 uClibc: add support for mips non-pic relocations in ldso
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18069 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-19 07:41:29 +00:00
Felix Fietkau 13de9a716a gcc: add llvm-gcc and llvm from trunk (does not successfully compile a target yet, but gets close)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18019 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-10 19:25:48 +00:00
Felix Fietkau 23439d3f60 uClibc: add copysign, copysignf, copysignl for i386
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18017 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-10 19:25:18 +00:00
Felix Fietkau 67d9cecb23 uClibc: fix strrchr on i386
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18016 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-10 19:25:05 +00:00
Florian Fainelli 58f3602d74 [cobalt] optimize binaries for the rm5200 cpu present on cobalt, do not use the mips32 isa
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17980 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-07 13:05:14 +00:00
Nicolas Thill e4c4504874 [toolchain] uClibc: remove absolute path linking to host libraries in libpthread.so (closes: #5601)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17814 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-02 00:18:16 +00:00
Florian Fainelli b3ae6aabd7 [toolchain] Do not save variables in hi or lo across system calls, fixes issues with gcc-4.4 (#5351)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17742 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-26 18:08:02 +00:00