aboutsummaryrefslogtreecommitdiff
path: root/packages/binutils/2.39/0004-Darwin-gold-binary-cc-include-string-not-cstring.patch
diff options
context:
space:
mode:
authorChris Packham <judge.packham@gmail.com>2022-08-08 21:09:12 +1200
committerChris Packham <judge.packham@gmail.com>2022-08-14 10:15:17 +1200
commit29b6e00368b4f74c4d4a1cd22da7fdabdcd1d6ea (patch)
tree1850995abd102fccb121764acbfec523dea9c4ec /packages/binutils/2.39/0004-Darwin-gold-binary-cc-include-string-not-cstring.patch
parentd787518168d8acc2d4e33b8a1f0b1ff04eca3495 (diff)
downloadcrosstool-ng-29b6e00368b4f74c4d4a1cd22da7fdabdcd1d6ea.tar.gz
crosstool-ng-29b6e00368b4f74c4d4a1cd22da7fdabdcd1d6ea.tar.bz2
crosstool-ng-29b6e00368b4f74c4d4a1cd22da7fdabdcd1d6ea.zip
binutils: Add binutils 2.39
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>
Diffstat (limited to 'packages/binutils/2.39/0004-Darwin-gold-binary-cc-include-string-not-cstring.patch')
-rw-r--r--packages/binutils/2.39/0004-Darwin-gold-binary-cc-include-string-not-cstring.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/packages/binutils/2.39/0004-Darwin-gold-binary-cc-include-string-not-cstring.patch b/packages/binutils/2.39/0004-Darwin-gold-binary-cc-include-string-not-cstring.patch
new file mode 100644
index 00000000..a94a9894
--- /dev/null
+++ b/packages/binutils/2.39/0004-Darwin-gold-binary-cc-include-string-not-cstring.patch
@@ -0,0 +1,20 @@
+From 5a41f20a5be6d38fd33beae8a5e0af902acc6e71 Mon Sep 17 00:00:00 2001
+From: Chris Packham <judge.packham@gmail.com>
+Date: Mon, 8 Aug 2022 20:37:47 +1200
+Subject: [PATCH] Darwin gold binary cc include string not cstring
+
+---
+ gold/binary.cc | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/gold/binary.cc
++++ b/gold/binary.cc
+@@ -23,7 +23,7 @@
+ #include "gold.h"
+
+ #include <cerrno>
+-#include <cstring>
++#include <string>
+
+ #include "elfcpp.h"
+ #include "stringpool.h"