X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=opcodes%2Fd30v-opc.c;h=cb9c5730f501f26f63924db2eb8f530e27724cd1;hb=8df017996f662ce6ab23aea4abeb8f7ac1f62651;hp=806fb3c6476354db921c9f7654dfb9e7433058fa;hpb=9b201bb5e5daa9b4f783e6ece9cbfbdbf9f1d6f4;p=deliverable%2Fbinutils-gdb.git diff --git a/opcodes/d30v-opc.c b/opcodes/d30v-opc.c index 806fb3c647..cb9c5730f5 100644 --- a/opcodes/d30v-opc.c +++ b/opcodes/d30v-opc.c @@ -1,5 +1,5 @@ /* d30v-opc.c -- D30V opcode list - Copyright 1997, 1998, 1999, 2000, 2005, 2007 Free Software Foundation, Inc. + Copyright (C) 1997-2020 Free Software Foundation, Inc. Written by Martin Hunt, Cygnus Support This file is part of the GNU opcodes library. @@ -19,8 +19,8 @@ Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ -#include #include "sysdep.h" +#include #include "opcode/d30v.h" /* This table is sorted. @@ -194,7 +194,7 @@ const struct pd_reg pre_defined_registers[] = { "va", NULL, OPERAND_FLAG + 6 }, }; -int +int reg_name_cnt (void) { return sizeof (pre_defined_registers) / sizeof (struct pd_reg);