forked from Imagelibrary/binutils-gdb
Fix compile time warnings building the binutils with a gcc6 compiler.
include * opcode/metag.h (metag_scondtab): Mark as possibly unused. * opcode/nds32.h (nds32_r45map): Likewise. (nds32_r54map): Likewise. * opcode/visium.h (gen_reg_table): Likewise. (fp_reg_table, cc_table, opcode_table): Likewise. bfd * oasys.c (oasys_archive_p): Fix indentation. * elf32-nds32.c (nds32_elf_relax_section): Use an unsigned constant for left shifting.
This commit is contained in:
@@ -683,7 +683,7 @@ typedef struct
|
||||
enum scond_code code;
|
||||
} split_condition;
|
||||
|
||||
static const split_condition metag_scondtab[] =
|
||||
static const split_condition metag_scondtab[] ATTRIBUTE_UNUSED =
|
||||
{
|
||||
{ "LEQ", SCOND_LEQ },
|
||||
{ "LEZ", SCOND_LEQ },
|
||||
|
||||
Reference in New Issue
Block a user