binutils/binutils-2.26-fix-compile-warnings.patch

39 lines
986 B
Diff
Raw Permalink Normal View History

--- binutils-2.26.orig/gold/dirsearch.cc 2016-02-04 10:31:45.228796199 +0000
+++ binutils-2.26/gold/dirsearch.cc 2016-02-04 11:33:15.875824355 +0000
@@ -122,6 +122,7 @@ class Dir_caches
Cache_hash caches_;
};
+#if 0
Dir_caches::~Dir_caches()
{
for (Cache_hash::iterator p = this->caches_.begin();
@@ -129,6 +130,7 @@ Dir_caches::~Dir_caches()
++p)
delete p->second;
}
+#endif
void
Dir_caches::add(const char* dirname)
--- binutils-2.26.orig/gold/arm.cc 2016-02-04 10:31:45.227796193 +0000
+++ binutils-2.26/gold/arm.cc 2016-02-04 12:02:43.897996168 +0000
@@ -4493,7 +4493,7 @@ Stub::do_fixed_endian_write(unsigned cha
// Reloc_stub::Key methods.
// Dump a Key as a string for debugging.
-
+#if 0
std::string
Reloc_stub::Key::name() const
{
@@ -4524,7 +4524,7 @@ Reloc_stub::Key::name() const
return std::string(buffer);
}
}
-
+#endif
// Reloc_stub methods.
// Determine the type of stub needed, if any, for a relocation of R_TYPE at