summaryrefslogtreecommitdiffstats
path: root/contrib/binutils/bfd
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2010-10-22 18:06:58 +0000
committerdim <dim@FreeBSD.org>2010-10-22 18:06:58 +0000
commit9e935cc241ad80f6d728ee0458af91fb791f8a7d (patch)
tree227adfa9e5e36bbbba78f7c01550021805b9fbfb /contrib/binutils/bfd
parent15ff888ae07dc20b986b0957953489f9583e4edd (diff)
downloadFreeBSD-src-9e935cc241ad80f6d728ee0458af91fb791f8a7d.zip
FreeBSD-src-9e935cc241ad80f6d728ee0458af91fb791f8a7d.tar.gz
Make contrib/binutils/bfd/coff-x86_64.c compile without warnings.
Diffstat (limited to 'contrib/binutils/bfd')
-rw-r--r--contrib/binutils/bfd/coff-x86_64.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/binutils/bfd/coff-x86_64.c b/contrib/binutils/bfd/coff-x86_64.c
index 84d5c6e..7f75123 100644
--- a/contrib/binutils/bfd/coff-x86_64.c
+++ b/contrib/binutils/bfd/coff-x86_64.c
@@ -634,7 +634,9 @@ coff_amd64_rtype_to_howto (bfd *abfd ATTRIBUTE_UNUSED,
}
#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 ATTRIBUTE_UNUSED, bfd_reloc_code_real_ty
}
}
+#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 ATTRIBUTE_UNUSED,
return NULL;
}
+#endif
#define coff_rtype_to_howto coff_amd64_rtype_to_howto
OpenPOWER on IntegriCloud