Commit Graph

140 Commits (0ad2cd008c353a0461e69c01d0f8479f62bab4a1)

Author SHA1 Message Date
Felix Fietkau 1d42b9b861 binutils: remove version 2.20.1 (only used by avr32)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44960 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-24 10:06:55 +00:00
Felix Fietkau dadb724fb7 binutils: remove defunct binutils default version selection for aarch64
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44958 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-24 10:06:38 +00:00
Felix Fietkau b62cdc2ed6 binutils: run install twice instead of overwriting the final toolchain with the initial one
fixes compiler error after a binutils rebuild/reinstall without
rebuilding the rest of the toolchain

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43785 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-27 13:00:09 +00:00
Felix Fietkau f4b6b84555 binutils: enable plugin support
--enable-plugin is necessary for gcc-ar, gcc-nm and gcc-ranlib to work, which
must be used with GCC 4.9 for LTO to work.

Without this option, gcc-ar etc. will just fail with

    sorry - this program has been built without plugin support

Using the normal ar from binutils with GCC 4.9 and -flto will cause linking
with static "convenience" libraries to fail.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43783 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-27 12:59:53 +00:00
Florian Fainelli 688e48076b aarch64: add initial support
Add initial support for the AArch64 architecture

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43353 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-24 06:33:13 +00:00
Felix Fietkau 95672f9712 binutils: remove linaro version string, it confuses gcc lto support detection
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43004 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-20 11:43:08 +00:00
Felix Fietkau 31cedb36a2 toolchain: fix binutils broken symlink
The Makefile for binutils creates a broken symlink to "binutils-linaro" in
"trunk/build_dir/toolchain-<target>_gcc-4.9-linaro_uClibc-0.9.33.2".
Modify the Makefile to point the symlink to the correct directory.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42954 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-18 19:25:24 +00:00
Felix Fietkau 961d49f15b binutils: remove old versions
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42776 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-05 18:40:38 +00:00
Felix Fietkau 1d487752f0 binutils: select linaro 2.24 version by default
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42705 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-30 21:36:17 +00:00
Felix Fietkau 83224c64f4 binutils: update -linaro to 2.24.0-2014.09
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42704 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-30 21:36:12 +00:00
Jonas Gorski 1e34874596 toolchain/binutils: do not install host libiberty.a into target lib dir
Binutils target build will pick it up and break build on e.g. arm:

libtool: link: arm-openwrt-linux-uclibcgnueabi-gcc -shared  .libs/archive.o .libs/archures.o .libs/bfd.o .libs/bfdio.o .libs/bfdwin.o .libs/cache.o .libs/coffgen.o .libs/corefile.o .libs/format.o .libs/init.o .libs/libbfd.o .libs/opncls.o .libs/reloc.o .libs/section.o .libs/syms.o .libs/targets.o .libs/hash.o .libs/linker.o .libs/srec.o .libs/binary.o .libs/tekhex.o .libs/ihex.o .libs/stabs.o .libs/stab-syms.o .libs/merge.o .libs/dwarf2.o .libs/simple.o .libs/compress.o .libs/verilog.o .libs/elf32-arm.o .libs/elf32.o .libs/elf-nacl.o .libs/elf-vxworks.o .libs/elf.o .libs/elflink.o .libs/elf-attrs.o .libs/elf-strtab.o .libs/elf-eh-frame.o .libs/dwarf1.o .libs/elf32-gen.o .libs/cpu-arm.o   -L/mnt/dl/slave/at91/build/staging_dir/target-arm_arm926ej-s_uClibc-0.9.33.2_eabi/usr/lib -L/mnt/dl/slave/at91/build/staging_dir/target-arm_arm926ej-s_uClibc-0.9.33.2_eabi/lib -L/mnt/dl/slave/at91/build/staging_dir/toolchain-arm_arm926ej-s_gcc-4.8-linaro_uClibc-0.9.33.2_eabi/usr/lib -L/mnt/dl/slave/at91/build/staging_dir/toolchain-arm_arm926ej-s_gcc-4.8-linaro_uClibc-0.9.33.2_eabi/lib -L/mnt/dl/slave/at91/build/build_dir/target-arm_arm926ej-s_uClibc-0.9.33.2_eabi/binutils-2.24/bfd/../libiberty/pic -liberty -lz  -march=armv5te -mtune=arm926ej-s -mfloat-abi=soft -Wl,-lc -Wl,--as-needed -Wl,-lm -Wl,--no-as-needed   -Wl,-soname -Wl,libbfd-2.24.so -o .libs/libbfd-2.24.so
/mnt/dl/slave/at91/build/staging_dir/toolchain-arm_arm926ej-s_gcc-4.8-linaro_uClibc-0.9.33.2_eabi/lib/libiberty.a: could not read symbols: File format not recognized

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42430 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-07 09:38:10 +00:00
Felix Fietkau 49058e0cfd toolchain/binutils: remove obsolete patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41034 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-06 10:51:40 +00:00
Imre Kaloz 5957d6c39d [toolchain/binutils]: upgrade the Linaro binutils to 2.24-2013.12
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39210 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-07 15:03:55 +00:00
Imre Kaloz c1855f67b0 [toolchain/binutils]: add support for Linaro binutils 2.23.2-2013.06
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37944 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-11 13:18:23 +00:00
Felix Fietkau 46834a61a9 binutils: stop generating the useless _DYNAMIC_LINKING symbol on mips
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37094 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-30 07:54:43 +00:00
Felix Fietkau e12995bc2f binutils: remove some unused obsolete versions
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37093 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-30 07:54:37 +00:00
Felix Fietkau ab8468d344 build: consistently use 'depends on' instead of 'depends'
make the syntax more compatible with kernel menuconfig

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36351 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-17 15:36:41 +00:00
Florian Fainelli c60478ef64 toolchain/binutils: fix partial MD5 sum from r35813
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35816 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-26 16:52:36 +00:00
Florian Fainelli b926fe09d0 toolchain/binutils: add musl libc config.sub patch to 2.23.1
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35814 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-26 16:40:20 +00:00
Florian Fainelli b9f4311f67 toolchain/binutils: fix 2.19.1 MD5 sum
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35813 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-26 16:40:17 +00:00
Florian Fainelli 96e22ffbc1 toolchain/binutils: refresh patches
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35812 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-26 16:40:12 +00:00
Jo-Philipp Wich 187d283f6d toolchain: remove duplicate default in bintutils Kconfig
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34436 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-02 11:27:23 +00:00
Florian Fainelli edb46bb434 [toolchain] remove support for ubicom32
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34432 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-30 10:53:55 +00:00
Florian Fainelli 24cc4007ce [buildroot] add preliminary support for musl
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
2012-11-23 20:02:29 +00:00
Florian Fainelli b316ab42bb [toolchain] binutils: remove 2.21
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
2012-11-19 19:37:43 +00:00
Florian Fainelli 8414b2f2c1 [toolchain] binutils: add support for 2.23.1
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34262 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-19 19:37:28 +00:00
Florian Fainelli a74add1b91 [toolchain] binutils/2.22: backport an upstream fix for an assertion in the ARM backend.
See http://sourceware.org/bugzilla/show_bug.cgi?id=13990 for more details.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34260 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-19 17:32:37 +00:00
Felix Fietkau ce44bef353 build: add the + token to any commands that can pass through the jobserver, fixes parallel build on some systems
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33523 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-23 09:50:01 +00:00
Felix Fietkau 759489f67b binutils: backport ld patch to fix ARM specific issues with --gc-sections
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33461 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-19 06:33:07 +00:00
Felix Fietkau 640986da6e binutils: enable parallel builds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33443 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-15 14:18:16 +00:00
Felix Fietkau a8311020d6 toolchain: fix up lib64 symlink to lib before copying the initial prefix dir to avoid errors on copying
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32556 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-30 21:43:59 +00:00
Felix Fietkau 488f47237e toolchain: keep the initial gcc around for later uclibc rebuilds
testing uclibc changes is tricky because the final gcc tends to miscompile
uclibc code or barf up internal compiler errors.
install binutils into $(TOOLCHAIN_DIR)/initial (without changing the configure
prefix) and copy it from there to $(TOOLCHAIN_DIR)/ so that the initial gcc
can be put into $(PATH) for the uclibc build, even if the final gcc
is already installed.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32553 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-30 18:12:15 +00:00
Imre Kaloz 2c60c67c19 [toolchain/binutils]: enable 2.22 for unsupported archs if BROKEN is enabled
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30471 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 09:56:47 +00:00
Imre Kaloz 0200f4feb2 [toolchain/binutils]: use binutils 2.22 by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30469 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 09:17:54 +00:00
Imre Kaloz 85e9b90485 [toolchain/binutils]: add binutils 2.22
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30375 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-08 15:49:48 +00:00
Mirko Vogt 162666ffcc [toolchain/binutils] adjust md5sum of v2.21.1 since archive got replaced meanwhile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29836 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-20 22:54:30 +00:00
Hauke Mehrtens 749ff706f1 binutils: add binutils 2.21.1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27919 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-06 09:53:58 +00:00
Imre Kaloz f6d3fbaf4e [toolchain]: add the latest avr32 toolchain patches (with additional fixes)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27332 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-01 11:35:21 +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
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 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 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 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
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
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 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