binutils/binutils-2.26-fix-compile-warnings.patch
Nick Clifton c1bb236faf Rebase on FSF binutils 2.27 release.
- Retire: binutils-2.26-formatting.patch
- Retire: binutils-2.26-Bsymbolic_PIE.patch
- Retire: binutils-rh1312151.patch
- Retire: binutils-2.26-fix-GOT-offset-calculation.patch
- Retire: binutils-2.26-common-definitions.patch
- Retire: binutils-2.26-x86-PIE-relocations.patch
2016-08-03 17:43:40 +01:00

39 lines
986 B
Diff

--- 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