Suppress the Reloc_Stub::Key::name() function in GOLD.

This commit is contained in:
Nick Clifton 2016-02-04 12:12:15 +00:00
parent 9c62962685
commit 56fddbc07f
2 changed files with 22 additions and 1 deletions

View File

@ -16,3 +16,23 @@
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

View File

@ -505,7 +505,8 @@ exit 0
%changelog
* Thu Feb 04 2016 Nick Clifton <nickc@redhat.com> 2.26-8
- Fix indentation in bfd/coff-[i386|x86_64].c to avoid compile time warning.
- Mark GOLD's dir_caches destructor as unused.
- Suppress GOLD's dir_caches destructor.
- Suppress GOLD's Reloc_stub::Key::name function.
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.26-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild