binutils: patches from upstream to unbreak linking musl

https://sourceware.org/bugzilla/show_bug.cgi?id=23428
This commit is contained in:
Will Dietz
2019-01-22 06:05:56 -06:00
parent b262be3260
commit bf0a0d424b
4 changed files with 1386 additions and 0 deletions

View File

@@ -54,6 +54,12 @@ stdenv.mkDerivation rec {
# https://sourceware.org/bugzilla/show_bug.cgi?id=22868
./gold-symbol-visibility.patch
# https://sourceware.org/bugzilla/show_bug.cgi?id=23428
# un-break features so linking against musl doesn't produce crash-only binaries
./0001-x86-Add-a-GNU_PROPERTY_X86_ISA_1_USED-note-if-needed.patch
./0001-x86-Properly-add-X86_ISA_1_NEEDED-property.patch
./0001-x86-Properly-merge-GNU_PROPERTY_X86_ISA_1_USED.patch
] ++ lib.optional stdenv.targetPlatform.isiOS ./support-ios.patch;
outputs = [ "out" "info" "man" ];