summaryrefslogtreecommitdiff
path: root/packages/binutils/2.38/0004-Darwin-gold-binary-cc-include-string-not-cstring.patch
diff options
context:
space:
mode:
authorHans-Christian Noren Egtvedt <hegtvedt@cisco.com>2022-02-09 18:00:29 (GMT)
committerChris Packham <judge.packham@gmail.com>2022-02-13 07:47:12 (GMT)
commitba680a3e5b8c62a7c1554e71f6d09903dac95a2f (patch)
tree7ae47b96f1061863b18f0a1e5f84a1d31cafc10e /packages/binutils/2.38/0004-Darwin-gold-binary-cc-include-string-not-cstring.patch
parentc5565f175aa0d5b25d47c839610bab6f9ee999a1 (diff)
packages/binutils: add binutils-2.38
Binutils version 2.38 has been released https://www.phoronix.com/scan.php?page=news_item&px=GNU-Binutils-2.38 https://sourceware.org/pipermail/binutils/2022-February/119721.html Patches 0000 to 0008 from binutils-2.37 applied clean, so forward ported them. The following patches are now applied from upstream, hence dropped: 0010-change-uint-to-unsigned.patch 0011-bfd-close-the-file-descriptor-if-there-is-no-archive-fd.patch 0012-pr28391-strip-objcopy-preserve-dates-a-cannot-set-time.patch 0013-ld-pru-fix-resource_table-output-section-alignment.patch 0014-pr28422-build_id-use-after-free.patch 0015-pr28459-readelf-issues-bogus-warning.patch 0016-pr28417-std-string-no-longer-allows-accepting-nullptr_t.patch 0017-pr28540-segmentation-fault-on-NULL-byte_get.patch 0018-gold-place-note-gnu-property-section-before-other-note-sections.patch 0019-waddress-warning-in-ldelf.c.patch Signed-off-by: Hans-Christian Noren Egtvedt <hegtvedt@cisco.com>
Diffstat (limited to 'packages/binutils/2.38/0004-Darwin-gold-binary-cc-include-string-not-cstring.patch')
-rw-r--r--packages/binutils/2.38/0004-Darwin-gold-binary-cc-include-string-not-cstring.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/packages/binutils/2.38/0004-Darwin-gold-binary-cc-include-string-not-cstring.patch b/packages/binutils/2.38/0004-Darwin-gold-binary-cc-include-string-not-cstring.patch
new file mode 100644
index 0000000..fbc4041
--- /dev/null
+++ b/packages/binutils/2.38/0004-Darwin-gold-binary-cc-include-string-not-cstring.patch
@@ -0,0 +1,15 @@
+---
+ 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"