binutils: Setup some arch-prefixed symlinks
[termux-packages] / packages / binutils / gold_printf_cast.patch
CommitLineData
59f0d218
FF
1diff -u -r ../binutils-2.24/gold/fileread.cc ./gold/fileread.cc
2--- ../binutils-2.24/gold/fileread.cc 2013-11-04 16:33:39.000000000 +0100
3+++ ./gold/fileread.cc 2014-02-12 18:00:06.000000000 +0100
4@@ -686,7 +686,7 @@
5 if (got != want)
6 gold_fatal(_("%s: file too short: read only %zd of %zd bytes at %lld"),
7 this->filename().c_str(),
8- got, want, static_cast<long long>(base + first_offset));
9+ (signed size_t) got, (signed size_t) want, static_cast<long long>(base + first_offset));
10 }
11
12 // Portable IOV_MAX.