summaryrefslogtreecommitdiffstats
path: root/toolchain
Commit message (Collapse)AuthorAgeFilesLines
* toolchain/uClibc: handle different MIPS64 ABIsflorian2013-04-057-1/+110
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36207 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: musl is not available on MIPS64florian2013-04-051-0/+1
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36206 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: allow choosing the MIPS64 user-land ABIflorian2013-04-053-1/+30
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36205 3c298f89-4303-0410-b956-a3cf2f4a3e73
* buildroot: factor knowledge of a 64bits architectureflorian2013-04-051-1/+1
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36204 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain/gcc: .init and .fini need to pick one ISAflorian2013-04-051-0/+9
| | | | | | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36200 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain/uClibc: Disable mips16 for uClibc for nowflorian2013-04-051-0/+2
| | | | | | | | | | | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36199 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain/gcc]: remove the old (and nonworking) hack and identify our ↵kaloz2013-04-032-3/+9
| | | | | | patched GCCs properly git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36189 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain/gcc: remove reference to llvm introduced in r36155florian2013-04-021-1/+0
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36156 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain/gcc: add support for GCC 4.8.0florian2013-04-027-0/+629
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36155 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain/gcc: update 4.7-linaro to 2013.03florian2013-04-021-2/+2
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36154 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain/gcc]: drop 4.5 supportkaloz2013-04-0120-1081/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36149 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain/gcc]: cleanupkaloz2013-04-012-8/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36148 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain/gcc]: fixup 4.7 configure optionskaloz2013-04-011-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36146 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain/gcc]: llvm is marked broken for two and a half year now, nuke itkaloz2013-04-0127-4515/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36145 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain/eglibc: add missing ld-search-paths patch to 2.17florian2013-03-291-0/+14
| | | | | | | | | | | | | | | | | this patch is a copy of trunk/toolchain/eglibc/patches/2.16/200-add-dl-search-paths.patch in trunk/toolchain/eglibc/patches/2.17/200-add-ld-search-paths.patch please use svn copy instead of applying it (like in https://dev.openwrt.org/changeset/34290/) the patch add /usr/lib in the ld search path (for eglibc 2.17), thus helping libs like libnl-tiny.so (for iw), libjson.so.0 (for ubus, jshn) to be found Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr> Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36141 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: stop generating broken symlink in TOOLCHAIN_DIR/libluka2013-03-281-1/+1
| | | | | | | | | | | | It turns out that the symlink may exists already by the time the toolchain Makefile gets an opportunity to run. While we asked to replace the target, ln doesn't do so until after dereferencing the existing symlink. This results in an unintended symlink that refers to itself. Instead, create the link without dereferencing any symlinks by using the -n option. Signed-off-by: John Szakmeister <john@szakmeister.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36140 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gdb: update to 7.5-2012.12-1florian2013-03-221-2/+2
| | | | | | | Signed-off-by: Daniel Golle <dgolle@allnet.de> Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36108 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain/binutils: fix partial MD5 sum from r35813florian2013-02-261-1/+1
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35816 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain/musl: add support for 0.9.9florian2013-02-266-1/+276
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35815 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain/binutils: add musl libc config.sub patch to 2.23.1florian2013-02-261-0/+10
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35814 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain/binutils: fix 2.19.1 MD5 sumflorian2013-02-261-1/+1
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35813 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain/binutils: refresh patchesflorian2013-02-2613-201/+107
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35812 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain/gcc: refresh patchesflorian2013-02-2632-298/+190
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35808 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain] gcc: don't build documentationluka2013-02-265-0/+115
| | | | | | | | This closes #13039. Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35807 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain] gcc: remove support for 4.6.2luka2013-02-2618-946/+1
| | | | | | | | | There are no good reasons for keeping this version around when 4.6.3 and 4.6-linaro are there. Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35805 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: uclibc: fix typo in uclibc common configjogo2013-02-211-1/+1
| | | | | | | | | | Based on a patch from Oliver Metz. Closes #10735. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35709 3c298f89-4303-0410-b956-a3cf2f4a3e73
* buildroot: allow specifying libc personality for external toolchainsjow2013-02-202-1/+12
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35703 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain/eglibc: add support for 2.17florian2013-02-073-0/+11
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35515 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain/gcc: fix the mips64 linker path to be more musl conformingflorian2013-01-295-15/+15
| | | | | | | | musl libc does not use /lib32 or /lib64 directories, just /lib Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35406 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain/musl: add parenthesis to the __ARE_4_EQUAL macroflorian2013-01-291-0/+12
| | | | | | | | | Fixes warnings exposed by netifd while using IN6_ARE_ADDR_EQUAL turned into errors. Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35404 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain] gcc: fix build for MIPS64 targets introduced by musl patchflorian2013-01-075-0/+79
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35046 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain] gcc-linaro-4.6: update to 2012.12florian2013-01-071-2/+2
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35044 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain] gcc-linaro-4.7: update to 2012.12florian2013-01-071-2/+2
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35043 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain/musl: simplify musl install stepsflorian2012-12-101-12/+0
| | | | | | | | | Some of these were copy/pasted from uClibc, but they are not necessary at all for musl-libc. Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34598 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain/musl: update to 0.9.8florian2012-12-106-106/+7
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34597 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain/musl: fix typo on configuration symbolflorian2012-12-101-1/+1
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34596 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: use file_copy to install the initial gcc filesjow2012-12-021-2/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34440 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: remove duplicate default in bintutils Kconfigjow2012-12-021-2/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34436 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain] remove support for ubicom32florian2012-11-3017-123768/+3
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34432 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain] gcc/4.5-linaro: backport musl patchflorian2012-11-291-0/+242
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34425 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain] musl: backport an upstream fix for MIPS and termios constantsflorian2012-11-231-0/+99
| | | | | | | | Fixes weird console behavior with a musl rootfs. Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34318 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain] musl: disable hardware FPU registers usageflorian2012-11-231-0/+49
| | | | | | | | This was crashing applications, thanks to Rich Felker for the suggestion. Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34317 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [buildroot] add preliminary support for muslflorian2012-11-2315-3/+1771
| | | | | | | | Musl is an alternative C-library, see http://www.musl-libc.org for more infos. Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34314 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain] gcc: remove support for 4.7.0florian2012-11-2121-10354/+1
| | | | | | | | | There are no good reasons for keeping this version around when 4.7.2 and 4.7-linaro are there. Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34296 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain] eglibc/2.16: add missing dl-search-paths patchflorian2012-11-211-0/+14
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34290 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain] gcc: build with HOST_CFLAGSflorian2012-11-191-0/+1
| | | | | | | | | Turns on -O2 optimization when building GCC thus making the cross-compiler a little faster (about 25%). Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34266 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain] binutils: remove 2.21florian2012-11-1910-31249/+0
| | | | | | | | | There is no point in keeping around 2.21 when 2.21.1 which is a bugfix release is there. Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34265 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain] gcc-4.6-linaro: update to 2012.11florian2012-11-191-2/+2
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34264 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain] gcc-4.7-linaro: update to 2012.11florian2012-11-191-2/+2
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34263 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain] binutils: add support for 2.23.1florian2012-11-196-0/+108
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34262 3c298f89-4303-0410-b956-a3cf2f4a3e73