aboutsummaryrefslogtreecommitdiff
path: root/config/binutils
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-082-25/+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-082-62/+5
| | | | 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>
* elf2flt: patch has been accepted upstreamAlexey Neyman2017-03-201-1/+1
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Pick up new revision in elf2fltAlexey Neyman2017-03-031-1/+1
| | | | | | ... and updated cygwin patch. 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-092-7/+14
| | | | | | | | 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>
* Pick up upstream fixesAlexey Neyman2017-02-061-1/+1
| | | | | | | ... including zlib fix in configure, needed to build canadian crosses with elf2flt. Signed-off-by: Alexey Neyman <stilor@att.net>
* Add zlib as a companion libAlexey Neyman2017-02-051-0/+4
| | | | | | with version 1.2.11. 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>
* Check for git presenceAlexey Neyman2017-01-231-1/+2
| | | | | | | ... and make the optiont that fetch from Git repositories depend on the git discovery. 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>
* Update elf2flt default csetMartin Lund2016-06-141-1/+1
|
* binutils: Add binutils-2.26Bryan Hundven2016-02-041-1/+11
| | | | Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* elf2flt: Use openadk version of elf2fltBryan Hundven2016-01-131-1/+1
| | | | | | | | | | elf2flt is now hosted on github here: https://github.com/uclinux-dev/elf2flt But, until arm support is upstream, we'll switch to Waldemar Brodkorb version of elf2flt. 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-082-30/+57
| | | | | | | 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/elf2flt: use alternate mirrorYann E. MORIN"2014-05-111-11/+24
| | | | | | | | The official elf2flt upstream has disapeared. Switch to a mirror. 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>