summaryrefslogtreecommitdiff
path: root/package/binutils
AgeCommit message (Collapse)Author
2017-02-06binutils: backport fix for xg_reverse_shift_countMax Filippov
binutils-2.27 gas has bug that results in the following kind of build error when assembling bb[cs]i.l on big-endian xtensa targets: ieee754-sf.S:237: Error: invalid symbolic operand Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-12-19toolchain: Bump ARC tools to arc-2016.09 releaseZakharov Vlad
As described at: 4520524ba055706236db9f00dd79f1b2e2e87fde this commit continues a series of updates of ARC tools. This time we're updating tools to arc-2016.09 release version. Signed-off-by: Vlad Zakharov <vzakhar@synopsys.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-12-02toolchain: Bump ARC tools to arc-2016.09-rc2Zakharov Vlad
As described at: 4520524ba055706236db9f00dd79f1b2e2e87fde this commit continues a series of updates of ARC tools. This time we're updating tools to arc-2016.09-rc2. This change contains a set of minor fixes and updates. Signed-off-by: Vlad Zakharov <vzakhar@synopsys.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-11-14toolchain: Bump ARC tools to arc-2016.09-rc1Zakharov Vlad
As described at: 4520524ba055706236db9f00dd79f1b2e2e87fde this commit continues a series of updates of ARC tools. This time we're updating tools to arc-2016.09-rc1. This update contains a lot of important fixes, e.g. it fixes: http://autobuild.buildroot.net/results/4c7/4c77f33c842b37bf28cb931edf1b290e1bf4d93c// http://autobuild.buildroot.net/results/902/902729a0b98675ad803939e3ecdcf230065a6012// and other failures. Other important change is that we also update gdb. Now we are using gdb 7.12. This version of gdb requires C++ toolchain support so we add corresponding dependency to gdb Config.in file. Signed-off-by: Vlad Zakharov <vzakhar@synopsys.com> [Thomas: - fix dependency on C++ of gdb, it must use BR2_INSTALL_LIBSTDCPP - add comment about the C++ dependency of gdb on ARC.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-11-06binutils: add patch to 2.27 to fix arm issue with file having no dataThomas Petazzoni
This commit adds a patch to binutils 2.27, which fixes the build of kvmtool on ARM. The fix is taken from the upstream mailing list at https://lists.gnu.org/archive/html/bug-binutils/2016-08/msg00165.html. Fixes: http://autobuild.buildroot.net/results/bae83d495b46efeec45c8008949c811b6241adaa Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-11-05binutils: add upstream patch to fix open microblaze issueWaldemar Brodkorb
This reenables the use of 2.27 for microblaze. Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-11-01binutils: add comment with bug report referenceWaldemar Brodkorb
Add requested bug report Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-10-28microblaze: fix musl supportWaldemar Brodkorb
For musl we need patches for bintils 2.25.1 and 2.26.1. Binutils 2.27 and gcc 6.2.x does not work for microblaze, even not for uClibc-ng or glibc. For gcc 5.4.x the existing patch need reworking so that musl and uClibc-ng is supported. Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> [Thomas: - Add proper description for the binutils patches - Use BR2_microblaze instead of BR2_microblazeel and BR2_microblazebz] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-10-22binutils: use $(TARGET_MAKE_ENV) when calling $(MAKE)Gustavo Zacarias
Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-10-15binutils: remove deprecated 2.24.XArnout Vandecappelle
We will remove BR2_DEPRECATED, so remove this deprecated option. [Peter: drop binutils patches] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-10-15MIPS: replace every BR2_mips_* with the new MIPS CPU optionsVicente Olivert Riera
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-10-14binutils: get rid of host-texinfo dependency and other documentation tricksThomas De Schampheleire
The binutils/host-binutils package applied several tricks to avoid building info documentation. In the worst case, host-texinfo is added as dependency. However, there is a simpler solution that removes the need for all these tricks: instruct the makefiles to use a dummy makeinfo command ('true'). Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-10-09Revert "binutils: get rid of host-texinfo dependency and other documentation ↵Thomas Petazzoni
tricks" This reverts commit f7e7aea90dc83a175e86e577446811ae84f7b3db. This change broke the build of the toolchain. See: http://autobuild.buildroot.net/results/90d0537bc12cbb2a7c6d344b3c6c9e1a5046d791/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-10-09binutils: get rid of host-texinfo dependency and other documentation tricksThomas De Schampheleire
The binutils/host-binutils package applied several tricks to avoid building info documentation. In the worst case, host-texinfo is added as dependency. However, there is a simpler solution that removes the need for all these tricks: instruct the makefiles to use a dummy makeinfo command ('true'). Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-10-03toolchain: Bump ARC tools to arc-2016.09-eng015Zakharov Vlad
As described at: 4520524ba055706236db9f00dd79f1b2e2e87fde this commit continues a series of updates of ARC tools. This time we're updating tools to arc-2016.09-eng015. This tag introduces following changes: 1. binutils: Rebase onto upstream master. 2. gcc: Fix devdf3 emulation for arcem, disable TP register when building for bare metal. We still keep GDB as it is of arc-2016.03 release because there're some issues we'd like to resolve before releasing it to wider audience. So again note this is next engineering builds of arc-2016.09 series and it might have all kinds of breakages, please don't use it for production builds. Signed-off-by: Vlad Zakharov <vzakhar@synopsys.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-09-17toolchain: Bump ARC tools to arc-2016.09-eng013Zakharov Vlad
As described at: 4520524ba055706236db9f00dd79f1b2e2e87fde this commit continues a series of updates of ARC tools. This time we're updating tools to arc-2016.09-eng013. This engenering build contains some important GCC updatesthat fixes some failures for ARC, such as: http://autobuild.buildroot.net/results/f80/f80ad8a07d9d58b46592c2c99b227197b0f808d3// http://autobuild.buildroot.net/results/e59/e59e6592fc697cceda359e421387dd905ff04701// http://autobuild.buildroot.net/results/521/52157aa2b5d75b5338f3bde7ae5beb3d300283d3// We still keep GDB as it is of arc-2016.03 release because there're some issues we'd like to resolve before releasing it to wider audience. So again note this is next engineering builds of arc-2016.09 series and it might have all kinds of breakages, please don't use it for production builds. Signed-off-by: Vlad Zakharov <vzakhar@synopsys.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-09-11binutils: fix makeinfo related issueThomas Petazzoni
The latest version of binutils, 2.27, added in commit b700157db40410907d6a07582eacbb5030fd919e, fails to build on systems that don't have makeinfo installed. This commit therefore applies the same fixup as the one used for binutils 2.26, which consists in touching all the .info files, so that they don't get rebuilt. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-09-08binutils: deprecate 2.24.xGustavo Zacarias
Now that 2.26.x is stable and there's 2.25.x to fallback for whatever reason it makes no sense to keep two versions back from default. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-09-08binutils: bump default to version 2.26.xGustavo Zacarias
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-09-07package/binutils: add binutils 2.27Gustavo Zacarias
And drop upstream patches. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-09-05toolchain: Bump ARC tools to arc-2016.09-eng011Zakharov Vlad
As described at: 4520524ba055706236db9f00dd79f1b2e2e87fde this commit continues a series of updates of ARC tools. This time we're updating tools to arc-2016.09-eng011. This engenering build contains the following updates: 1. rebase binutils on top of the latest upstream master 2. update GCC to version 6.2 We still keep GDB as it is of arc-2016.03 release because there're some issues we'd like to resolve before releasing it to wider audience. So again note this is next engineering builds of arc-2016.09 series and it might have all kinds of breakages, please don't use it for production builds. Signed-off-by: Vlad Zakharov <vzakhar@synopsys.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-09-04package/binutils: Disable -Os for ARM cortex-M cpusRomain Naour
ERROR: reloc type R_ARM_THM_MOVW_ABS_NC unsupported in this context ERROR: reloc type R_ARM_THM_MOVT_ABS unsupported in this context 2 bad relocscollect2: error: ld returned 1 exit status Binutils build fine with -O1, -O2 or -O3. Reported upstream: https://sourceware.org/bugzilla/show_bug.cgi?id=20552 Fixes: http://autobuild.buildroot.net/results/e72/e727e6e9cf361acc786acec192a88f5f5444a2f6 Signed-off-by: Romain Naour <romain.naour@gmail.com> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-08-31toolchain: Bump ARC tools to arc-2016.09-eng010Zakharov Vlad
As described at: 4520524ba055706236db9f00dd79f1b2e2e87fde this commit continues a series of updates of ARC tools. This time we're updating tools to arc-2016.09-eng010. This engenering build contains different fixes done to TLS and PIE features. Appropriate custom patches are removed as they have been added to eng010. We still keep GDB as it is of arc-2016.03 release because there're some issues we'd like to resolve before releasing it to wider audience. So again note this is next engineering builds of arc-2016.09 series and it might have all kinds of breakages, please don't use it for production builds. Signed-off-by: Vlad Zakharov <vzakhar@synopsys.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-08-23binutils: fix bfin buildWaldemar Brodkorb
See gcc bug for details: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77311 Fixes: http://autobuild.buildroot.net/results/1e93be2fb02a3fb2731e48b0d9e54a0d4080a112/ Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-08-19binutils: disable warning flags to prevent build failuresVlad Zakharov
binutils-arc-2016.09-eng008 build fails sometimes. This happens due to the following issue: binutils configure script has CC variable that stores compiler for target and CC_FOR_BUILD variable that stores compiler for host. WARN_FLAGS are verified by the script to be compatible only with CC compiler but not with CC_FOR_BUILD compiler. Despite this WARN_FLAGS are passed to both CC and CC_FOR_BUILD compilers. This leads to unevident errors when cross-compiling. More information you can find in the binutils mailing list: https://sourceware.org/ml/binutils/2016-08/msg00117.html We are going to write a patch for bunutils that fixes the initial issue. Current patch contains temporary workaround. It should be deleted after real fix. Fixes: http://autobuild.buildroot.net/results/00455b6a8324920ad843d90ce0413451522691a8// Signed-off-by: Vlad Zakharov <vzakhar@synopsys.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-08-11toolchain: Bump ARC tools to arc-2016.09-eng008Zakharov Vlad
As described at: 4520524ba055706236db9f00dd79f1b2e2e87fde this commit continues a series of updates of ARC tools. This time we're updating tools to arc-2016.09-eng008. Main updates were made for gcc. It was switched to GCC 6 and to OSABI v4. Besides this patch fixes buildroot ARC failures connected to "crtbeginT.o" object file missing. This issue lead to two main errors: 1) "crtbeginT.o: No such file or directory", e. g. bootutils-1.0.0. No comments are required here I hope. 2) Errors like "compiler cannot create executables", e.g.: a) host-gcc-final-arc-2016.09-eng007 static build, b) aespipe-2.4c. That was caused because the test to determine if compiler is able to create executables was failing due to missing "crtbeginT.o" file. We still keep GDB as it is of arc-2016.03 release because there're some issues we'd like to resolve before releasing it to wider audience. So again note this is next engineering builds of arc-2016.09 series and it might have all kinds of breakages, please don't use it for production builds. Signed-off-by: Vlad Zakharov <vzakhar@synopsys.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-08-05binutils: fix Blackfin '.rofixup section size mismatch' problemsWaldemar Brodkorb
The bug has already been reported by Stuart Henderson to binutils upstream: https://sourceware.org/bugzilla/show_bug.cgi?id=13391 Fixes: http://autobuild.buildroot.net/results/d5999ae91a1f4dee3d01a0bbc3d8a4c5939ad175/ http://autobuild.buildroot.net/results/17232204249aeb04150ac43a2424aa26a6b6c807/ Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-08-01toolchain: Bump ARC tools to arc-2016.09-eng007 and enable PIEVlad Zakharov
As described at: 4520524ba055706236db9f00dd79f1b2e2e87fde this commit continues a series of updates of ARC tools. This time we're updating tools to arc-2016.09-eng007 tag plus a couple of fixes on top of it that will all make its way in the next engineering build. We hope this patch will cure most buildroot ARC failures as it contains important fixes: 1) PIE fix. We have added PIE support to ARC toolchain at last. So that should prevent breakage of many packages. As ARC now supports PIE we remove ARC from BR2_TOOLCHAIN_SUPPORTS_PIE exclusion in toolchain/Config.in file. 2) Assembler fix. This patch also have changes that fixes frequent assembler failures, e.g.: http://autobuild.buildroot.net/results/543/5430b902d900943a34c1888e7e410bd5df367bc2// We still keep GDB as it is of arc-2016.03 release because there're some issues we'd like to resolve before releasing it to wider audience. So again note this is next engineering builds of arc-2016.09 series and it might have all kinds of breakages, please don't use it for production builds. Signed-off-by: Vlad Zakharov <vzakhar@synopsys.com> [Thomas: remove uClibc PIE patch, since we have bumped uClibc in the mean time, to a version that contains the PIE fix for ARC.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-12toolchain: Bump ARC tools to arc-2016.09-eng006Zakharov Vlad
As described at: 4520524ba055706236db9f00dd79f1b2e2e87fde this commit continues a series of updates of ARC tools. This engineering build fixes the kernel dwarf stack unwinder feature for ARC targets. We still keep GDB as it is of arc-2016.03 release because there're some issues we'd like to resolve before releasing it to wider audience. So again note this is next engineering builds of arc-2016.09 series and it might have all kinds of breakages, please don't use it for production builds. Related to: 4520524ba055706236db9f00dd79f1b2e2e87fde Signed-off-by: Vlad Zakharov <vzakhar@synopsys.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-07-05binutils: fix build of 2.26 when makeinfo is not availableThomas Petazzoni
The 2.26 binutils tarball has incorrect timestamps for the .info files, so binutils build system tries to regenerate them with makeinfo. In order to avoid depending on host-texinfo, we simply touch the .info files so that their timestamp is newer than the corresponding source files. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: Romain Naour <romain.naour@gmail.com> Tested-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-05binutils: build host-texinfo if neededThomas Petazzoni
This commit adds the dependency on host-texinfo to binutils, when the source is fetched from Git. Thanks to this, we can remove the 0800-Docs-Prevent-build-failures-when-makeinfo-is-missing.patch patch from the ARC-specific version of binutils. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-05binutils: add required upstream patch for bfinWaldemar Brodkorb
This is required to build uClibc-ng with threading support and FDPIC binary format. Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-04toolchain-buildroot: add bfin supportWaldemar Brodkorb
With gcc 6.1.0 and binutils 2.26 internal bfin toolchain can be used. A gcc patch is required, which was reported upstream. Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-03binutils: remove empty host dependencies definitionJulien Floret
Signed-off-by: Julien Floret <julien.floret@6wind.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-06-30binutils: bump 2.26.x series to 2.26.1Gustavo Zacarias
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-06-29toolchain: Bump ARC tools to arc-2016.09-eng005Alexey Brodkin
With this commit we're starting a series of updates of ARC tools. Significantly rewritten arc-2016.03 tools introduced way too many problems highlighted by Buildroot autobuilder. Now in attempt to resolve as many issues as possible by the time final release of arc-2016.09 tools is cut we'll be executing arc-2016.09 series with engineering snapshots like this one. We decided to go this way instead of applying separate patches here and there because ongoing development introduces quite a lot of changes and separate patches are not practical in Buildroot. Moreover this will give us very clean visibility of number of issues we see (hopefully it will decrease over time). One of the important changes introduced in this engineering build is initial set of changes for proper support of PIE on ARC in terms of both building on host and running on ARC target. I expect some PIE-related build breakages to go away and new ones will be treated as the high-priority issues to be fixed ASAP. For now we only update Binutils and GCC while keeping GDB as it is of arc-2016.03 release because there're some issues we'd like to resolve before releasing it to wider audience. So again note this is one of the first engineering builds of arc-2016.09 series and it might have all kinds of breakages, please don't use it for production builds. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: arc-buildroot@synopsys.com Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-06-08binutils: enable as target package for aarch64Erico Nunes
binutils got disabled as a target package for aarch64 back in Buildroot 2012.11 (commit 660d16f4). The default version 2.21.1 at the time didn't really support aarch64, as shown by the autobuilder error reference in that commit. binutils has now had support for aarch64 since 2.23, but was never re-enabled for aarch64. All of the binutils versions currently supported by Buildroot (oldest being 2.24) support aarch64, so we can now enable it without any restrictions. This same patch also touches the dropwatch, lightning and oprofile packages which all select binutils and had the 'depends on !aarch64' to keep Kconfig consistent. They are now re-enabled for aarch64 as well. They are changed in this same patch so that Kconfig is kept consistent and doesn't end up having them disabled in a commit which only has the binutils change applied. lightning has other explicit arch dependencies so it is not actually yet available in aarch64, but at least the dependency on !aarch64 because of binutils is not needed anymore. Everything has been build tested with Buildroot and external toolchains. binutils and dropwatch work fine in a qemu target. oprofile doesn't seem to be supported in the qemu aarch64 processor but builds fine and seems to have some level of aarch64 support in the source, so there doesn't seem to be a reason to keep it disabled in Kconfig. Signed-off-by: Erico Nunes <nunes.erico@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-06-06Binutils: ARC: Fix build failures if makeinfo is missingZakharov Vlad
Build failed when "makeinfo" was missing on the build host. This was happening because "makeinfo" is required to build .info targets and make exited with error. The issue hadn't appeared before as there was prebuilt documentation in ARC binutils tarballs, so no attempts had been made to build docs. Missing "makeinfo" only stops us from building docs ("missing" script already throws a warning on that regard). Let's continue to build other targets. Now exit code of the script called "missing" is checked. The value 127 means that "makeinfo" is not available on the build host. So when such value occurs, 0 is returned to the top level makefile. Documentation is not being built but further build of binutils continues. Fixes http://autobuild.buildroot.net/results/55c/55cd09a559016f4f252f0e4c27313b9806135cf4// Signed-off-by: Zakharov Vlad <vzakhar@synopsys.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-05-26toolchain: arc-2016.03: fix generation of dynamic relocs for -pieAlexey Brodkin
Currently even if -pie flag is provided to LD dynamic relocations won't be created. That in its turn will break U-Boot self-relocation functionality. This fix resolves mentioned problem. Note as of today this is a sort of off-the-tree patch right from our binutils guy but in coming day similar fix will be applied to upstream binutils as well. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-05-19toolchain: bump ARC tools to arc-2016.03 releaseAlexey Brodkin
This change switches ARC tools to the most recent arc-2016.03 version. ARC GNU tools of version arc-2016.03 bring some quite significant changes like: * Binutils v2.26+ (upstream commit id 202ac19 with additional ARC * patches) * GCC v4.8.5 * GDB 7.10 More about changes, improvements and fixes could be found here: https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases/tag/arc-2016.03 Note in this change we're adding sha512 checksums for both binutils and gcc tarballs fetched from GitHub. Build and run-tested in nSIM for both ARC700 and ARC HS38. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-05-17binutils: remove support for version 2.23Thomas Petazzoni
Now that we have added support for the lastest binutils version 2.26, it is time to remove the oldest version we currently support, 2.23, in order to keep only 3 versions: 2.24, 2.25 and 2.26. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-05-11toolchain: bump ARC tools to arc-2016.03-rc2Alexey Brodkin
This change switches ARC tools to RC2 of the most recent arc-2016.03 version. Essentially once final release is ready version will be bumped again. ARC GNU tools of version arc-2016.03 bring some quite significant changes like: * Binutils v2.26+ (upstream commit id 202ac19 with additional ARC patches) * GCC v4.8.5 * GDB 7.10 More about changes, improvements and fixes could be found here: https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases/tag/arc-2016.03-rc2 Also in this change we realign custom Buildroot patches for binutils and gcc for ARC tools. Looks like earlier most of arch-independent patches for binutils and gcc were either unintentionally removed or not even added in patch folders for ARC's binutils and gcc. Now arch-independent patches for binutils-2.26 and gcc-4.8.5 were added in package/{binutils|gcc}/arc-2016.03-rc2 folders. Build and run-tested in nSIM for both ARC700 and ARC HS38. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-04-22binutils: remove 2.22 hashThomas Petazzoni
In commit 2f8459539401938a4ec4fe5f4a207c5d81f2cf74 ("binutils: remove version 2.22"), binutils 2.22 was removed, but forgot to remove the corresponding hash from the hash file. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-03-20binutils: disable plugins for static linksMax Filippov
Plugins want to use dlopen even when configured with --disable-shared. Add --disable-plugins when STATIC_LIBS is selected. Fixes: http://autobuild.buildroot.net/results/a59e5858d777dcee3d8f7fb6e82ee4735b520155/ Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-03-10binutils: use binutils 2.25.1 by defaultThomas Petazzoni
Recent commit 5eb37d6adcfef996f1cd71effec8c2af42c0aed3 broke the build by default to binutils 2.25 for the target, while we only have hashes for 2.25.1. Use 2.25.1 instead. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-03-10binutils: switch to version 2.25 by defaultThomas Petazzoni
binutils 2.26 has been released, it is time to switch to 2.25 as the default version. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-03-10binutils: backport xtensa .init/.fini literals moving fix to 2.26Max Filippov
Despite the documentation and the comment in xtensa_move_literals, in the presence of --text-section-literals and --auto-litpools literals are moved from the separate literal sections into .init and .fini, because the check in the xtensa_move_literals is incorrect. This fixes build errors seen with projects that have .init/.fini and use text-section-literals. Backported from: 4111950f363221c4641dc2f33bea61cc94f34906 Reported-by: Waldemar Brodkorb <mail@waldemar-brodkorb.de> Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-03-06package/binutils: add binutils 2.26Romain Naour
- Rebase patches from 2.25 on top of 2.26. - Use git format for patches - remove upstreamed xtensa patches The first patch [1] is needed to be able to build glibc with binutils 2.26 on nios2. The second from [2] fix an assertion issue with ld. [1] https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commitdiff;h=a7be2893a6449e64fe6cfcdd8700b0a367a69f19 [2] https://sourceware.org/bugzilla/show_bug.cgi?id=19405 Signed-off-by: Romain Naour <romain.naour@gmail.com> Cc: Gustavo Zacarias <gustavo@zacarias.com.ar> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Max Filippov <jcmvbkbc@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-03-02Merge branch 'next'Peter Korsgaard
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-02-22arch/arm: add the cortex A17 variant supported by gcc 5.xEzequiel García
Add the Cortex A17 variant. This core is considered a replacement of the Cortex A12 and is supported by gcc 5 / binutils 2.25+ Suggested-by: Ross Green <greenfross@netscape.net> Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>