nixpkgs/pkgs/development/tools/misc/binutils
sternenseemann 4c75874560 binutils-unwrapped: expose if built with ld.gold
ld.gold is “A new, faster, ELF only linker”. Thus we only should pass
the configure flag --with-gold if our target platform will actually
support gold (in which case binutil's configure script silently
disables it).

With this change, not only will configureFlags represent the actual
configuration more closely, but we can also expose if the binutils
derivation contains ld.gold via a passthru attr. Specifically this
means that:

    nix-repl> pkgsCross.mingwW64.stdenv.cc.bintools.bintools.hasGold
    false

The intended way to use this is to check
`stdenv.cc.bintools.bintools or false` which returns accurate results
regardless of the actual linker derivation.

TODO: maybe also add hasGold to binutils wrapper as it also symlinks
ld.gold in?
2021-08-18 01:21:44 +02:00
..
always-search-rpath.patch Revert commits on binutils for OpenRISC 1000 2020-12-28 08:43:31 +01:00
bfd-elf-Dont-read-non-existing-secondary-relocs.patch binutils: Apply patch to fix 300x strip performance regression. Fixes #129467 2021-07-11 12:47:34 +00:00
build-components-separately.patch Revert "Revert "Revert "Revert "libbfd: fix build"""" 2020-12-28 08:43:32 +01:00
CVE-2020-35448.patch binutils, libbfd: Patch CVE-2020-35448 2021-03-22 07:22:33 -07:00
default.nix binutils-unwrapped: expose if built with ld.gold 2021-08-18 01:21:44 +02:00
deterministic.patch Revert commits on binutils for OpenRISC 1000 2020-12-28 08:43:31 +01:00
disambiguate-arm-targets.patch Revert commits on binutils for OpenRISC 1000 2020-12-28 08:43:31 +01:00
R_ARM_COPY.patch binutils: patch to fix https://sourceware.org/bugzilla/show_bug.cgi?id=16177 2020-11-28 20:19:05 +08:00
support-ios.patch Add missing ios triples to bfd 2018-06-01 17:01:39 +01:00