aboutsummaryrefslogtreecommitdiff
path: root/config/binutils/binutils.in
Commit message (Collapse)AuthorAgeFilesLines
* binutils: Allow gold to be statically linkedChris Packham2024-07-291-1/+0
| | | | | | | | | | | gold uses g++ to link which doesn't recognise -all-static. It appears as if -static should work for both libtool and g++ but for some reason it doesn't. Remove the restriction that gold can't be included in a static toolchain. When a static toolchain is requested pass --with-gold-ldflags=--static to configure. Finally build gold separately so it does not get the extra_make_flags which may contain -all-static. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* binutils: Allow gold for more architecturesChris Packham2024-07-291-0/+5
| | | | | | | | Based on the configure.ac for binutils it appears that arm, loongarch, mips, powerpc, s390, sparch and x86 are supported. Expand the list of architectures that gold is allowed to be used on. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* allow plugins and LTO with static toolchainsChris Copeland2023-09-241-1/+0
| | | | | | | | | | | | This reverts commit 0841e2f820de7a4dca1ddc52b04bf834fff2806b from 2011, which disabled plugin support in binutils for static toolchains, citing build system problems. This problem seems to be resolved. This also reverts part of 45512b003d04b5a89c5c3bb6b674683d82b87f42 from 2017, which disabled LTO in gcc for static toolchains, citing problems on Arch Linux with loading the LTO plugin from a static binary. Signed-off-by: Chris Copeland <chris@chrisnc.net>
* binutils: add option to build libopcodes for targetDries Deschout2022-10-021-0/+5
| | | | | | It provides functionality to disassemble executable binaries. Signed-off-by: Dries Deschout <dries.deschout@dodeco.eu>
* binutils: Add binutils 2.39Chris Packham2022-08-141-0/+6
| | | | | | | | | | | | | | | https://sourceware.org/pipermail/binutils/2022-August/122246.html Add binutils 2.39 and regenerate patches. 0008-binutils-2.38-vs.-ppc32-linux-kernel.patch is dropped as it has been applied upstream. Add a milestone for 2.39 which will be handy for Loongarch. Binutils now requires bison >= 3.0.4 to build gprofng for x86/aarch64 so we build our own bison when the host bison does not meet that requirement (which appears to be the case on macOS). Signed-off-by: Chris Packham <judge.packham@gmail.com>
* Fix deterministic binutils optionNorbert Lange2022-01-301-2/+2
| | | | | | | | Versions before 2.26 got removed in fa992b41, together with CT_BINUTILS_2_23_or_later. Remove reference to this variable Signed-off-by: Norbert Lange <nolange79@gmail.com>
* binutils: Remove obsolete versionsChris Packham2021-09-211-18/+0
| | | | | | | | | | | | | | | The following versions were marked obsolete in crosstool-ng-1.24.0, remove them. - binutils-linaro-2.23.2-2013.10-4 - binutils-linaro-2.24.0-2014.11-2 - binutils-linaro-2.25.0-2015.01-2 - binutils-2.23.2 - binutils-2.24 - binutils-2.25.1 Adjust the milestones now that the old versions have been removed. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* enable option for binutils deterministic-archivesNorbert Lange2019-10-101-1/+10
| | | | Signed-off-by: Norbert Lange <nolange79@gmail.com>
* Require ld to be default when building mingw-w64Alexey Neyman2018-12-041-1/+1
| | | | | | Fixes #674. Signed-off-by: Alexey Neyman <stilor@att.net>
* Add a config option for default RELRO settingAlexey Neyman2018-12-031-0/+10
| | | | | | Fixes #656. Signed-off-by: Alexey Neyman <stilor@att.net>
* Make comp.libs use generated templates, tooAlexey Neyman2017-11-291-3/+1
| | | | | | | | This allows us to include the component-to-package relation in the generated kconfig files and make use of that information in the show-config.sh script. Signed-off-by: Alexey Neyman <stilor@att.net>
* Merge elf2flt into binutils.inAlexey Neyman2017-07-081-0/+24
| | | | | | | It was previously picked up as "tail options" config file, .in.2. Now we only have a single config file for each component. Signed-off-by: Alexey Neyman <stilor@att.net>
* Also upgrade non-generated config filesAlexey Neyman2017-07-081-2/+2
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Switch comp.libs/tools and debug to new framework.Alexey Neyman2017-07-081-4/+4
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Implement "milestones" for packagesAlexey Neyman2017-07-081-10/+10
| | | | | | Also get rid of dependency on GNU sort. Signed-off-by: Alexey Neyman <stilor@att.net>
* Convert gcc to new framework.Alexey Neyman2017-07-081-4/+4
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* First stab at gen-versions.shAlexey Neyman2017-07-081-156/+5
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Retire BACKEND stuffAlexey Neyman2017-04-231-1/+0
| | | | | | | ... it is possible to just not set it in the configuration, why force it? It just increases the complexity in Kconfig. Signed-off-by: Alexey Neyman <stilor@att.net>
* Add binutils 2.28Alexey Neyman2017-03-031-0/+6
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Forgot to saveconfig the changes for ARM/elf2flt sampleAlexey Neyman2017-02-091-6/+12
| | | | | | | | Hence, it is better to enforce via config rules: elf2flt does not play nice with ld wrapper, when both ld.bfd and ld.gold are present. Limit the choices to just 'ld.bfd' for flat-format architectures. Signed-off-by: Alexey Neyman <stilor@att.net>
* Declare older versions obsolete.Alexey Neyman2017-01-261-6/+12
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Typo s/CC_BINUTILS/BINUTILS/.Alexey Neyman2017-01-131-4/+4
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Add/update/remove Linaro versions.Alexey Neyman2017-01-121-0/+7
| | | | | | | | | | Linaro GDB 7.2 no longer available from Linaro's website; removed. Linaro GDB 7.5 had incorrect version (the tarball on linaro.org does not have a -1 patch level). Add/update latest versions on each (otherwise supported) branches of GCC, GDB, binutils, glibc. Signed-off-by: Alexey Neyman <stilor@att.net>
* Bump binutils to 2.27Alastair D'Silva2017-01-061-0/+5
| | | | Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
* Remove stray whitespaceAlastair D'Silva2017-01-061-7/+12
| | | | Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
* binutils: Add binutils-2.26Bryan Hundven2016-02-041-1/+11
| | | | Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* binutils: Remove older versions of binutilsBryan Hundven2016-01-031-74/+6
| | | | | | | | | Since older GCC versions have been removed, older versions of binutils are not needed. This commit removes these older versions. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* config: Update kconfig for new CT_GetCustomBryan Hundven2015-12-081-17/+37
| | | | | | | This commit sort of unifies the kconfigs to handle custom files and directories. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* binutils: Gold conflicts with Static ToolchainBryan Hundven2015-10-201-6/+10
| | | | | | | | | | | | | | | | | | The gold linker cannot currently be built in a static toolchain build. This may get fixed in a future version of crosstool-NG. Also, there is a bit of weirdness here. versions of binutils >= 2.21 have GOLD (BINUTILS_HAS_GOLD), but that doesn't mean it should be used. For instance, if the architecture is not supported. So with that, we create a new hidden option: BINUTILS_GOLD_SUPPORT Which in turn depends on BINUTILS_GOLD_SUPPORTS_ARCH, BINUTILS_HAS_GOLD, and not STATIC_TOOLCHAIN... then replace anything that previously depended on BINUTILS_HAS_GOLD with our new BINUTILS_GOLD_SUPPORT option. This closes #210 Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* Merge pull request #166 from jasmin-j/binutils_custom_versionBryan Hundven2015-09-051-4/+2
|\ | | | | Remove BINUTILS_CUSTOM from the version choice
| * BINUTILS_CUSTOM is no longer part of the binutils version choice, but anJasmin Jessich2015-09-051-4/+2
| | | | | | | | | | | | independend configuration to enable BINUTILS_CUSTOM. Signed-off-by: Jasmin Jessich <jasmin@anw.at>
* | Adding patches for binutils version 2.25.1 as copy of 2.25.Jasmin Jessich2015-09-011-0/+10
|/ | | | | | | Support binutils 2.25.1 in configuration. Note: The patches do apply, but I didn't check the resulting tools. Signed-off-by: Jasmin Jessich <jasmin@anw.at>
* config: Add binutils, newlib, and glibc linaro configurationBryan Hundven2015-05-021-0/+19
| | | | | | | This commit introduces a "show linaro versions" for newlib, binutils, and glibc. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* eglibc: Remove eglibc supportBryan Hundven2015-01-271-3/+3
| | | | | | | | | | | | | | | | | | | As posted on http://www.eglibc.org/ ==================== EGLIBC is no longer developed and such goals are now being addressed directly in GLIBC. ==================== I'm not interested in maintaining build support for unsupported software. Older branches of crosstool-ng continue to have eglibc support. If you find issues with older branches, I'm always open to pull requests. Removing eglibc also frees up glibc cleanup and build optimization. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* binutils: Add Linaro Binutils 2.25-2015.01 and 2.24-2014.11Cristoforo Cataldo2015-01-161-0/+12
| | | | | | | | This commit allows to choose, download and build latest Linaro Binutils: - binutils-linaro-2.25.0-2015.01-2 - binutils-linaro-2.24.0-2014.11-2 Signed-off-by: Cristoforo Cataldo <cristoforo.cataldo@gmail.com>
* binutils: Add binutils-2.25Bryan Hundven2015-01-011-0/+10
| | | | | | This also updates the patches from 2.24. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* binutils/binutils: 2.23.x and 2.24 are no longer experimentalYann E. MORIN2014-09-211-6/+3
| | | | | | Besides, at least 2.24 is required for Aarch64 (aka arm64.) Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* binutils/binutils: 2.24 is 2_24_or_later and experimentalNiels Penneman2014-01-031-1/+3
| | | | | | Signed-off-by: Niels Penneman <niels@penneman.org> Message-Id: <8cc1deb25227cd5c33c8.1388742700@i7sb.local> Patchwork-Id: 306519
* binutils/binutils: drop redundant 'select'Yann E. MORIN"2013-12-311-6/+0
| | | | | | | No need to 'select' gold and plugins in versions later than 2.21, since we inherit them with 2_21_or_later. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* binutils/binutils: add 2.24Yann E. MORIN"2013-12-311-0/+11
| | | | Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* binutils/binutils: 2.23.2 is a 2_23_or_later (ie. has gold)Yann E. MORIN"2013-12-301-0/+1
| | | | | | | | | | | | | | | | | | | | Thus spake Niels: This commit adds support for binutils 2.23.2 http://crosstool-ng.org/hg/crosstool-ng/rev/bc4b36e3df0c However, in 'config/binutils/binutils.in <http://binutils.in>' the Kconfig option to select this version of binutils does not automatically select the symbol 'BINUTILS_2_23_or_later'. This makes gold unavailable for the latest version of binutils. I'm not sure whether this is on purpose or not, my impression is that you forgot to add the line "select BINUTILS_2_23_or_later". The problem still persists in the latest version in the repository (032ebcc89c96). Reported-by: Niels Penneman <niels@penneman.org> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* binutils/binutils: add new versionsYann E. MORIN"2013-10-071-0/+6
| | | | Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* binutils/binutils: 2.23 has goldYann E. MORIN"2013-01-241-0/+7
| | | | Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* binutils/binutils: add latest versionYann E. MORIN"2012-12-271-0/+6
| | | | Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* all: unmark experimental featuresYann E. MORIN"2012-12-261-3/+0
| | | | | | | | | | It's been some time now we've had those features, so unmark them being experimental. It does not mean everything is perfect, but may gather some more testing of those features. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* all: unmark experimental versionYann E. MORIN"2012-12-261-4/+2
| | | | | | | | | | It's been a while we've had those versions, time to unmark them being experimental. It does not mean everything is perfect, but may gather some more testing on those versions. Update samples accordingly. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* all: remove versions marked obsoleteYann E. MORIN"2012-12-261-12/+0
| | | | | | For major components, keep the latest version of each major releases. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* binutils/binutils: simplify gold dependenciesYann Diorcet2012-11-191-7/+3
| | | | | | | | | | | | | | | | | In preparation of adding a new kernel-type, Yann D. came up with a change in semantic on binutils/gold availability. So far, it was architectures' responsibility to declare that they did support binutils/gold or not. It makes much more sense that binutils/gold declares its own availability depending on the current architecture; after all, architectures have no way to know wether gold supports them, while gold does know it. Signed-off-by:Yann Diorcet <diorcet.yann@gmail.com> [yann.morin.1998@free.fr: split up original patch for self-contained changes] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Message-Id: <d3d1d51f399e6d2c1163.1353320546@macbook-smorlat.local> Patchwork-Id: 199971
* binutils/binutils: Add CUSTOM version and CUSTOM_LOCATION config options and ↵David Holsgrove2012-10-111-0/+19
| | | | | | | | | | | | | GetCustom CUSTOM_LOCATION config options only presented in menuconfig if component CUSTOM version selected. Signed-off-by: "David Holsgrove" <david.holsgrove@xilinx.com> [yann.morin.1998@free.fr: fix indentation, don't patch custom dir location] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Message-Id: <7a604b5df9c84a1e20c3.1349931195@localhost.localdomain> PatchWork-Id: 190788
* binutils/binutils: declare versions that have --hash-styleYann E. MORIN"2012-04-301-0/+4
| | | | | | 2.18 and above do have this option. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>