X-Git-Url: http://drtracing.org/?a=blobdiff_plain;ds=sidebyside;f=opcodes%2Fmcore-opc.h;h=ad66e7bb2d0b936d9742106ca1adec377183409b;hb=ecf64ec654afe916099f0fe482c2dae417913905;hp=867cc26420d2a3276f73cd96fdff8bdb1c04f67d;hpb=aef6203bd6d412d65f539a41f1abd07b14d7a05d;p=deliverable%2Fbinutils-gdb.git diff --git a/opcodes/mcore-opc.h b/opcodes/mcore-opc.h index 867cc26420..ad66e7bb2d 100644 --- a/opcodes/mcore-opc.h +++ b/opcodes/mcore-opc.h @@ -1,20 +1,22 @@ /* Assembler instructions for Motorola's Mcore processor - Copyright 1999, 2000, 2002 Free Software Foundation, Inc. + Copyright (C) 1999-2016 Free Software Foundation, Inc. - -This program is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2 of the License, or -(at your option) any later version. + This file is part of the GNU opcodes library. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. + This library is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3, or (at your option) + any later version. -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + It is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY + or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public + License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, + MA 02110-1301, USA. */ #include "ansidecl.h" @@ -31,7 +33,7 @@ mcore_opclass; typedef struct inst { - char * name; + const char * name; mcore_opclass opclass; unsigned char transfer; unsigned short inst; @@ -126,14 +128,14 @@ const mcore_opcode_info mcore_table[] = { "cmpnei", OB, 0, 0x2A00 }, { "bmaski", OMa, 0, 0x2C00 }, { "divu", O1R1, 0, 0x2C10 }, -/* SPACE: 0x2c20 - 0x2c7f */ +/* SPACE: 0x2c20 - 0x2c7f */ { "bmaski", OMb, 0, 0x2C80 }, { "bmaski", OMc, 0, 0x2D00 }, { "andi", OB, 0, 0x2E00 }, { "bclri", OB, 0, 0x3000 }, /* SPACE: 0x3200 - 0x320f */ { "divs", O1R1, 0, 0x3210 }, -/* SPACE: 0x3220 - 0x326f */ +/* SPACE: 0x3220 - 0x326f */ { "bgeni", OBRa, 0, 0x3270 }, { "bgeni", OBRb, 0, 0x3280 }, { "bgeni", OBRc, 0, 0x3300 }, @@ -204,6 +206,5 @@ const mcore_opcode_info mcore_table[] = { "rori", RSI, 0, 0x3800 }, { "rotri", RSI, 0, 0x3800 }, { "nop", O0, 0, 0x1200 }, /* mov r0, r0 */ - { 0, 0, 0, 0 } }; #endif