summaryrefslogtreecommitdiff
path: root/patches/binutils/2.26/340-Darwin-gold-binary-cc-include-string-not-cstring.patch
diff options
context:
space:
mode:
authorBryan Hundven <bryanhundven@gmail.com>2016-02-05 07:50:19 (GMT)
committerBryan Hundven <bryanhundven@gmail.com>2016-02-05 07:50:19 (GMT)
commit46c9c486d02953deb130c427fce1286498f285ff (patch)
tree34fec4c2080db23b90fb05c7d9ba93481e7fe7c8 /patches/binutils/2.26/340-Darwin-gold-binary-cc-include-string-not-cstring.patch
parent2241a42415767f55eb5ab0f62b7dfa722bab3c11 (diff)
binutils: Update patches for binutils-2.26
This updates patches for 2.26. Most notably, the removal of the xtensa patches which seem to be upstream in binutils now. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
Diffstat (limited to 'patches/binutils/2.26/340-Darwin-gold-binary-cc-include-string-not-cstring.patch')
-rw-r--r--patches/binutils/2.26/340-Darwin-gold-binary-cc-include-string-not-cstring.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/patches/binutils/2.26/340-Darwin-gold-binary-cc-include-string-not-cstring.patch b/patches/binutils/2.26/340-Darwin-gold-binary-cc-include-string-not-cstring.patch
new file mode 100644
index 0000000..e4f235b
--- /dev/null
+++ b/patches/binutils/2.26/340-Darwin-gold-binary-cc-include-string-not-cstring.patch
@@ -0,0 +1,13 @@
+diff --git a/gold/binary.cc b/gold/binary.cc
+index 52df81a..03a8f20 100644
+--- 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"