aboutsummaryrefslogtreecommitdiff
path: root/include/opcode/metag.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2016-02-09 16:34:24 +0000
committerNick Clifton <nickc@redhat.com>2016-02-09 16:34:24 +0000
commit609332f15cc2ad651d0ebd573010595a4593e89a (patch)
treeae02dcac97f08c1001e9032db4e07b9329c335d0 /include/opcode/metag.h
parent1e94266c4db633f7defaf4bb68c74fd09a9cf9e2 (diff)
downloadfsf-binutils-gdb-609332f15cc2ad651d0ebd573010595a4593e89a.zip
fsf-binutils-gdb-609332f15cc2ad651d0ebd573010595a4593e89a.tar.gz
fsf-binutils-gdb-609332f15cc2ad651d0ebd573010595a4593e89a.tar.bz2
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.
Diffstat (limited to 'include/opcode/metag.h')
-rw-r--r--include/opcode/metag.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/opcode/metag.h b/include/opcode/metag.h
index 1925934..5bce87e 100644
--- a/include/opcode/metag.h
+++ b/include/opcode/metag.h
@@ -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 },