1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-03 09:00:21 +00:00

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

This commit is contained in:
Dimitry Andric 2010-10-22 18:06:58 +00:00
parent f071fb0b44
commit 9be9d08fde
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/projects/binutils-2.17/; revision=214209

View File

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