svn commit: r214209 - projects/binutils-2.17/contrib/binutils/bfd

Dimitry Andric dim at FreeBSD.org
Fri Oct 22 18:06:59 UTC 2010


Author: dim
Date: Fri Oct 22 18:06:58 2010
New Revision: 214209
URL: http://svn.freebsd.org/changeset/base/214209

Log:
  Make contrib/binutils/bfd/coff-x86_64.c compile without warnings.

Modified:
  projects/binutils-2.17/contrib/binutils/bfd/coff-x86_64.c

Modified: projects/binutils-2.17/contrib/binutils/bfd/coff-x86_64.c
==============================================================================
--- projects/binutils-2.17/contrib/binutils/bfd/coff-x86_64.c	Fri Oct 22 17:49:11 2010	(r214208)
+++ projects/binutils-2.17/contrib/binutils/bfd/coff-x86_64.c	Fri Oct 22 18:06:58 2010	(r214209)
@@ -634,7 +634,9 @@ coff_amd64_rtype_to_howto (bfd *abfd ATT
 }
 
 #define coff_bfd_reloc_type_lookup coff_amd64_reloc_type_lookup
+#ifdef notyet
 #define coff_bfd_reloc_name_lookup coff_amd64_reloc_name_lookup
+#endif
 
 static reloc_howto_type *
 coff_amd64_reloc_type_lookup (bfd *abfd ATTRIBUTE_UNUSED, bfd_reloc_code_real_type code)
@@ -677,6 +679,7 @@ coff_amd64_reloc_type_lookup (bfd *abfd 
     }
 }
 
+#ifdef notyet
 static reloc_howto_type *
 coff_amd64_reloc_name_lookup (bfd *abfd ATTRIBUTE_UNUSED,
 			      const char *r_name)
@@ -690,6 +693,7 @@ coff_amd64_reloc_name_lookup (bfd *abfd 
 
   return NULL;
 }
+#endif
 
 #define coff_rtype_to_howto coff_amd64_rtype_to_howto
 


More information about the svn-src-projects mailing list