John Crispin
1aeb77b9ee
toolchain: only default eglibc for octeon and not all of mips64
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41559
2014-07-10 19:16:09 +00:00
Felix Fietkau
0a30b910e4
musl: add sgidefs.h
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41399
2014-06-29 22:25:51 +00:00
Felix Fietkau
d7cf23694e
musl: add a few more glibc types to includes
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41398
2014-06-29 22:25:46 +00:00
Felix Fietkau
4beaccc7d0
musl: remove fake glibc defines
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41396
2014-06-29 22:25:40 +00:00
Felix Fietkau
4618044a52
musl: update to version 1.1.3
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41394
2014-06-29 22:25:32 +00:00
Felix Fietkau
e602a4d4ea
eglibc: temporarily disable parallel build until fixed
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41374
2014-06-29 11:03:42 +00:00
John Crispin
f98b58fcec
toolchain: make the default eglibc selection work even if TOOLCHAINOPTS is not enabled
...
default config build fail on octeon without this.
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41273
2014-06-19 14:13:16 +00:00
John Crispin
c911cdcc04
toolchain: use different defaults for octeon
...
force eglibc and gcc4.6+linaro for octeon
Signed-off-by: Martin Fäcknitz <faecknitz@hotsplots.de>
SVN-Revision: 41251
2014-06-18 10:07:53 +00:00
Felix Fietkau
4f03c52dd8
musl: fix toolchain build failure caused by some header changes
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41173
2014-06-12 20:30:37 +00:00
Felix Fietkau
d2675afecc
musl: install a few extra headers to improve compatibility with various packages
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41056
2014-06-09 13:47:36 +00:00
Felix Fietkau
6b7ee13094
musl: update to version 1.1.2
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41044
2014-06-07 16:14:43 +00:00
Felix Fietkau
b1c3bf7cf0
toolchain/binutils: remove obsolete patches
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41034
2014-06-06 10:51:40 +00:00
Felix Fietkau
0e9e8a141e
eglibc: add support for other mips64 ABI variants as well
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40890
2014-05-31 13:00:46 +00:00
Felix Fietkau
777784bd97
eglibc: fix mips64 abi selection, default to o64 instead of n32
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40888
2014-05-31 12:30:39 +00:00
Felix Fietkau
2e19fa0777
musl: add a hack to rip out excessive iconv bloat
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40875
2014-05-28 23:18:47 +00:00
Felix Fietkau
62ca8ae777
gcc: define USE_PT_GNU_EH_FRAME for musl as well, reduces binary object size
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40874
2014-05-28 22:40:31 +00:00
Felix Fietkau
95c615262c
gcc: disable libsanitzier off_t check to fix musl build
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40870
2014-05-28 21:33:30 +00:00
Felix Fietkau
8ad21a82e9
musl: update to version 1.1.1
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40820
2014-05-21 14:09:58 +00:00
Felix Fietkau
171211c29f
uClibc: add a patch to reduce vasprintf allocation size ( fixes #13024 )
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40774
2014-05-17 17:36:08 +00:00
Felix Fietkau
479c25641a
toolchain/gcc: fix build on arm with clang as host gcc replacement
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40772
2014-05-15 20:11:54 +00:00
Felix Fietkau
31285a2039
gcc: revert an upstream patch that is causing a regression on powerpc
...
https://forum.openwrt.org/viewtopic.php?pid=232494#p232494
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40709
2014-05-06 11:49:05 +00:00
Felix Fietkau
af4f534244
toolchain/gcc: update linaro-gcc-4.8 to 2014.04
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40664
2014-05-02 21:18:02 +00:00
Luka Perkov
deec514607
uClibc: backport mount.h update
...
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 40009
2014-03-24 00:19:33 +00:00
Felix Fietkau
51ae801ee3
build: remove check to nonexistant CONFIG_ENABLE_LOCALE variable and move DISABLE_NLS to package-defaults.mk
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39980
2014-03-21 15:54:07 +00:00
Felix Fietkau
0f474633e1
musl: update to 1.0.0
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39962
2014-03-20 13:51:32 +00:00
Felix Fietkau
72d4683627
toolchain/gcc: use 4.8-linaro by default
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39860
2014-03-10 11:20:33 +00:00
Felix Fietkau
e37c444450
musl: move the dependency on BROKEN to the right config symbol
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39754
2014-02-26 12:13:02 +00:00
Felix Fietkau
de750029f4
toolchain/musl: add version 0.9.15, remove older versions (still broken, but closer to being functional than before)
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39750
2014-02-24 21:10:11 +00:00
Felix Fietkau
06a3d35eda
gcc: fix visibility of symbols libgcc.a
...
Symbols need to be hidden, even for the static variant
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39749
2014-02-24 21:09:37 +00:00
Felix Fietkau
69f99ebadb
eglibc: use version 2.19 by default (lots of fixes, some security related)
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39744
2014-02-24 15:35:14 +00:00
Felix Fietkau
f3087c7e4e
eglibc: remove versions 2.16 and 2.17 - they are unmaintained
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39743
2014-02-24 15:35:10 +00:00
Felix Fietkau
f354297fa9
eglibc: add version 2.19
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39742
2014-02-24 15:35:07 +00:00
Felix Fietkau
b050f87d13
gcc: prevent the use of LDRD/STRD on ARMv5TE
...
These instructions are for 64-bit load/store. On ARMv5TE, the CPU
requires addresses to be aligned to 64-bit. When misaligned, behavior is
undefined (effectively either loads the same word twice on LDRD, or
corrupts surrounding memory on STRD).
On ARMv6 and newer, unaligned access is safe.
Removing these instructions for ARMv5TE is necessary, because GCC
ignores alignment information in pointers and does unsafe optimizations
that have shown up as bugs in various places.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39638
2014-02-19 19:20:10 +00:00
Nicolas Thill
6c511ed529
toolchain: update build steps doc
...
SVN-Revision: 39631
2014-02-18 22:15:58 +00:00
Imre Kaloz
5e906232b0
upgrade Linaro GCC 4.8 to 2014.01
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 39501
2014-02-06 10:28:45 +00:00
Luka Perkov
196f434c96
eglibc: fix build failure on newer make versions
...
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 39453
2014-02-02 23:41:35 +00:00
Imre Kaloz
5c3cb628f8
upgrade the Linaro binutils to 2.24-2013.12
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 39210
2014-01-07 15:03:55 +00:00
Imre Kaloz
f6be067784
upgrade Linaro GCC 4.8 to 4.8-2013.12
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 39209
2014-01-07 15:00:33 +00:00
Felix Fietkau
8bd7e0b19b
uClibc: Fix lookup with DNS search in multi-threaded application.
...
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
SVN-Revision: 39179
2013-12-28 15:06:14 +00:00
Felix Fietkau
c4b013f00b
uClibc: make res_init() thread safe
...
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
SVN-Revision: 39178
2013-12-28 15:06:04 +00:00
Felix Fietkau
8cabffaa3b
uClibc: Fix threaded use of res_ functions.
...
This patch moves res_init() back above #undef _res. It fixes dns resolving issue in OpenWrt
(uClibc related - OpenWrt ticket #11929 ). It is a backport from uClibc master.
Further details are there:
http://git.uclibc.org/uClibc/commit/libc/inet/resolv.c?id=20b69920b299585265eb100d0b67e1097ccb1092
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
SVN-Revision: 39177
2013-12-28 15:05:56 +00:00
Felix Fietkau
cc304329b3
uClibc: disable sha256 and sha512 for libcrypt - saves about 13k uncompressed in libcrypt
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39105
2013-12-16 18:49:10 +00:00
Imre Kaloz
ad2cd7878c
enable using soft-float regardless of having a fpu
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 38939
2013-11-29 09:24:07 +00:00
Imre Kaloz
b1f4f27fc4
upgrade Linaro GCC 4.8 to 4.8-2013.11
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 38922
2013-11-26 18:42:32 +00:00
Imre Kaloz
9fa3c68938
move menuconfig options into separate files
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 38895
2013-11-22 14:30:40 +00:00
Imre Kaloz
61ad6831d3
replace the mips64 fixes patch with an upstream commit
...
The current one broke all other 64 bit targets.. DOH!
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 38889
2013-11-22 09:22:54 +00:00
Felix Fietkau
edc8ac6246
uClibc: Deactivate oversized thread stack cache
...
A small system like the common home router doesn't have 40 MiB per process for
a dirty stack cache. This can easily lead to an overbooking OOM problem and
caused a lot of hangs+reboots on 32 MiB systems running nodogsplash.
Not using a stack cache can increase the time to spawn new threads. This is
hopefully no problem for system not running a lot of parallel computations.
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
SVN-Revision: 38851
2013-11-18 13:32:06 +00:00
Felix Fietkau
3f6a5c862b
uClibc: get rid of bogus unused strlcpy definition to fix build errors
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38567
2013-10-28 15:15:35 +00:00
Felix Fietkau
efdcc4e98c
toolchain/gdb: remove use of extern inline to fix build errors
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38566
2013-10-28 15:15:31 +00:00
Felix Fietkau
5b1e1eff73
gcc 4.8-linaro: backport an upstream fix to fix asm goto miscompilation
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38435
2013-10-17 11:57:44 +00:00
Steven Barth
4a4c2fe74c
uClibc: fix scoped-IPv6-addresses in getnameinfo
...
SVN-Revision: 38261
2013-09-30 08:41:00 +00:00
Felix Fietkau
12762698cf
toolchain/gcc: upgrade linaro gcc 4.6 to 4.6-2013.05
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37947
2013-09-11 14:29:44 +00:00
Felix Fietkau
75946ee468
toolchain/gcc: fix up breakage introduced in r37945
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37946
2013-09-11 14:28:21 +00:00
Imre Kaloz
6d13c47f57
upgrade Linaro gcc 4.8 to 4.8-2013.08
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 37945
2013-09-11 13:19:43 +00:00
Imre Kaloz
348c3af966
add support for Linaro binutils 2.23.2-2013.06
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 37944
2013-09-11 13:18:23 +00:00
Imre Kaloz
2dad4ed357
upgrade to 7.6-2013.05
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 37943
2013-09-11 13:16:13 +00:00
Florian Fainelli
73dcf0dc2e
toolchain: refresh uClibc patches
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 37939
2013-09-11 12:08:37 +00:00
Florian Fainelli
cb6e729be7
toolchain: define MUSL dynamic linker for SPARC
...
SPARC builds are currently broken because we do not define the MUSL
dynamic linker name, fix that.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 37938
2013-09-11 12:08:27 +00:00
Felix Fietkau
258b2cf7aa
toolchain/gcc: remove 4.6.3, it is unused and unmaintained
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37924
2013-09-10 10:30:41 +00:00
Felix Fietkau
a1a5f59ea3
build: decouple the mips16 support flag from the toolchain
...
Add the flags from package.mk instead, and leave libc and gcc
unaffected.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37770
2013-08-14 13:02:29 +00:00
Felix Fietkau
6b404a4d08
musl: mark as broken, many packages do not compile with it
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37750
2013-08-10 19:16:46 +00:00
Felix Fietkau
5f2e61addf
gcc: merge a bugfix for a MIPS specific internal compiler error
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37621
2013-07-31 08:54:56 +00:00
Felix Fietkau
e00aaea5df
gcc: add a bugfix for an internal compiler error on mips64
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37601
2013-07-29 10:11:07 +00:00
Felix Fietkau
82e51044d8
uClibc: build with debug symbols by default (without changing other compile related flags)
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37525
2013-07-24 12:38:09 +00:00
Felix Fietkau
6ac26a1ef7
gcc: fix up displayed version after r37179
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37180
2013-07-05 09:16:08 +00:00
Felix Fietkau
1446a26cc2
gcc: do not delete DATESTAMP and DEV-PHASE version info (fixes __GLIBCXX__ definition)
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37179
2013-07-05 07:53:14 +00:00
Luka Perkov
00b5a14567
toolchain/musl: add version 0.9.11
...
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 37173
2013-07-04 21:26:01 +00:00
Felix Fietkau
02a6750af8
uClibc: use position independent code for crt1, slightly reduces size of all executables
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37096
2013-06-30 07:54:51 +00:00
Felix Fietkau
98df29f9d7
gcc: add a patch to get rid of useless java class sections
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37095
2013-06-30 07:54:47 +00:00
Felix Fietkau
b121128ecf
binutils: stop generating the useless _DYNAMIC_LINKING symbol on mips
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37094
2013-06-30 07:54:43 +00:00
Felix Fietkau
6260e6ef48
binutils: remove some unused obsolete versions
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37093
2013-06-30 07:54:37 +00:00
Mirko Vogt
1848a0f239
add patch for eglibc version 2.15
...
This patch partially reverts an (e)glibc commit
which fixed a memory leak, however introduced lookup
errors in dlopen() with resulting segmentation faults
in certain scenarios.
References:
- http://comments.gmane.org/gmane.comp.lib.glibc.user/1227
- http://sourceware.org/ml/libc-alpha/2011-06/msg00006.html
SVN-Revision: 37029
2013-06-24 14:51:22 +00:00
Felix Fietkau
2befaa2f0d
gcc: fix arm libgcc issues with 4.8.0 and 4.8-linaro
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36864
2013-06-05 23:37:12 +00:00
Florian Fainelli
9c59929e6e
toolchain: do not build GDB when using an external toolchain
...
The external toolchain should provide it if needed.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 36802
2013-05-30 22:04:54 +00:00
Felix Fietkau
7d3fca89c0
gcc: remove version 4.7
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36694
2013-05-23 10:22:09 +00:00
Felix Fietkau
ba29b8f04f
gcc: port missing patches from 4.6 to 4.8
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36693
2013-05-23 10:21:59 +00:00
Jonas Gorski
6a4bd9012e
gcc: fix avr32 default GCC version
...
Fix gcc version default after r36355 removing all GCC_DEFAULT_VERSION
symbols.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 36688
2013-05-22 08:26:57 +00:00
Felix Fietkau
2430e9a4f5
toolchain: eliminate the INSTALL_LIBSTDCPP config symbol and make c++ support mandatory - fixes recursive config symbol dependency issues
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36594
2013-05-09 20:50:49 +00:00
Felix Fietkau
a424aa6123
toolchain/musl: add version 0.9.10
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36591
2013-05-09 20:34:21 +00:00
Felix Fietkau
7054f27c6f
toolchain/musl: fix libstdc++ build issues
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36590
2013-05-09 20:02:57 +00:00
Felix Fietkau
5f14f32d8a
toolchain/musl: fix build issues on mac os x
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36588
2013-05-09 19:26:53 +00:00
Felix Fietkau
6b4f3344df
toolchain/gcc: add support for 4.8-linaro
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36545
2013-05-04 13:37:41 +00:00
Felix Fietkau
f8d8aadb42
toolchain/gcc: forward port missing patches to gcc 4.8.0
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36544
2013-05-04 13:37:37 +00:00
Jo-Philipp Wich
a98cdd9892
toolchain: add missing patch to gcc v4.8.0
...
SVN-Revision: 36511
2013-05-02 11:25:13 +00:00
Jonas Gorski
73b7c776e9
toolchain: gcc: backport fixes for gcc bug 54295
...
Fix "Widening multiply-accumulate operation uses wrong value extension"
for 4.7, 4.7-linaro and 4.6-linaro, which backported the broken code to 4.6.
Vanilla 4.6 is unaffected.
Fixes #13420 .
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 36486
2013-04-29 15:40:21 +00:00
Felix Fietkau
97e7fdf6fd
toolchain: get rid of libc implementation symbol overloading
...
SVN-Revision: 36360
2013-04-18 12:05:08 +00:00
Felix Fietkau
eac3474257
toolchain: get rid of musl version kconfig symbol overloading
...
SVN-Revision: 36359
2013-04-18 12:05:02 +00:00
Felix Fietkau
68f2e7f940
toolchain: get rid of eglibc version kconfig symbol overloading
...
SVN-Revision: 36358
2013-04-18 12:04:55 +00:00
Felix Fietkau
4aa6663599
toolchain: get rid of uclibc version kconfig symbol overloading
...
SVN-Revision: 36356
2013-04-18 12:04:48 +00:00
Felix Fietkau
39463bf146
toolchain: get rid of gcc kconfig symbol overloading
...
SVN-Revision: 36355
2013-04-18 12:04:40 +00:00
Felix Fietkau
96bb7c123b
build: consistently use 'depends on' instead of 'depends'
...
make the syntax more compatible with kernel menuconfig
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36351
2013-04-17 15:36:41 +00:00
Felix Fietkau
c270db592a
gcc: remove the bogus CONFIG_TLS_SUPPORT symbol - TLS support is required by libc.
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36240
2013-04-07 10:11:41 +00:00
Felix Fietkau
46072644e5
uClibc: unbreak ld-uClibc on non-64bit platforms
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36239
2013-04-07 10:11:38 +00:00
Florian Fainelli
f4c09ea554
toolchain/uClibc: backport a MIPS64 fix from openadk
...
Fixes uClibc dynamic loader name requested by executables when
targetting MIPS64 n64
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 36208
2013-04-05 12:36:37 +00:00
Florian Fainelli
463b80c3d1
toolchain/uClibc: handle different MIPS64 ABIs
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 36207
2013-04-05 12:36:31 +00:00
Florian Fainelli
2f972664ec
toolchain: musl is not available on MIPS64
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 36206
2013-04-05 12:36:26 +00:00
Florian Fainelli
e032922266
toolchain: allow choosing the MIPS64 user-land ABI
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 36205
2013-04-05 12:36:23 +00:00
Florian Fainelli
348cae15d2
buildroot: factor knowledge of a 64bits architecture
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 36204
2013-04-05 12:36:19 +00:00
Florian Fainelli
9dc38e48f7
toolchain/gcc: .init and .fini need to pick one ISA
...
The .init and .fini sections are built by concatenating code
fragments. Putting mips16 code in the middle of a mips32 code block
doesn't work. Make gcc built the magic crt stuff in no-mips16 mode.
This is specific to 4.6-linaro but is probably portable to other gcc
flavors. Adding this to the t-libgcc-mips16 makefile fragment is a
hack not suitable for pushing upstream, but there is no mips/t-linux
or mips/t-uclibc and I am not going to touch gcc/configure for two
lines.
Signed-off-by: Jay Carlson <nop@nop.com>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 36200
2013-04-05 12:36:06 +00:00
Florian Fainelli
750115a65c
toolchain/uClibc: Disable mips16 for uClibc for now
...
For now, build uclibc without -mips16. There's no mips16 syscall
support AFAIK and uclibc uses inline assembly syscalls a lot.
In addition, touching errno means touching a TLS model symbol, and
that's not supported in gcc 4.6.
The __set_errno macro can be put back to calling
errno_location(). This allows much of the library to be built in
mips16 mode. I don't understand the implications to the thread library
of doing this.
A list of "build as -mno-mips16" C source files can be placed in the
mips architecture-dependent build files. Maintaining the list would be
no fun.
Signed-off-by: Jay Carlson <nop@nop.com>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 36199
2013-04-05 12:36:00 +00:00