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:
parent
393677427c
commit
db39fc2a01
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user