In contrib/binutils/bfd/elf32-ppc.c, avoid warnings about case values

not being in the enumerated type 'enum elf_ppc_reloc_type', by casting
the switch argument to int.

MFC after:	3 days
This commit is contained in:
Dimitry Andric 2014-12-29 00:10:43 +00:00
parent 393677427c
commit db39fc2a01

View File

@ -6185,7 +6185,7 @@ ppc_elf_relocate_section (bfd *output_bfd,
howto = NULL;
if (r_type < R_PPC_max)
howto = ppc_elf_howto_table[r_type];
switch (r_type)
switch ((int) r_type)
{
default:
(*_bfd_error_handler)