X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=cpu%2Fsh.opc;h=364fcccf64799f738c1ace000c7fbaedf5323118;hb=60391a255b720e37ab1efbb7e83bf7dfa270a0fe;hp=0fdb97fefb44b34716b16259282159689e53fa72;hpb=299d901ce6a983dfecbbe5232c4fe33522b79d85;p=external%2Fbinutils.git diff --git a/cpu/sh.opc b/cpu/sh.opc index 0fdb97f..364fccc 100644 --- a/cpu/sh.opc +++ b/cpu/sh.opc @@ -1,6 +1,6 @@ /* SHmedia opcode support. -*- C -*- - Copyright 2000 Free Software Foundation, Inc. + Copyright 2000, 2005, 2007, 2009 Free Software Foundation, Inc. Contributed by Red Hat Inc; developed under contract from Hitachi Semiconductor (America) Inc. @@ -9,7 +9,7 @@ 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 + the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, @@ -19,9 +19,10 @@ 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. + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, + MA 02110-1301, USA. */ + -*/ /* This file is an addendum to sh-media.cpu. Heavy use of C code isn't appropriate in .cpu files, so it resides here. This especially applies to assembly/disassembly where parsing/printing can be quite involved. @@ -35,8 +36,7 @@ -opc.c additions use: "-- opc.c" -asm.c additions use: "-- asm.c" -dis.c additions use: "-- dis.c" - -ibd.h additions use: "-- ibd.h" -*/ + -ibd.h additions use: "-- ibd.h" */ /* -- opc.h */ @@ -51,27 +51,26 @@ /* -- asm.c */ static const char * -parse_fsd (cd, strp, opindex, valuep) - CGEN_CPU_DESC cd; - const char **strp; - int opindex; - long *valuep; +parse_fsd (CGEN_CPU_DESC cd, + const char ** strp, + int opindex, + long * valuep) { - abort(); + abort (); } /* -- dis.c */ static void -print_likely (cd, dis_info, value, attrs, pc, length) - CGEN_CPU_DESC cd; - PTR dis_info; - long value; - unsigned int attrs; - bfd_vma pc; - int length; +print_likely (CGEN_CPU_DESC cd, + void * dis_info, + long value, + unsigned int attrs, + bfd_vma pc, + int length) { disassemble_info *info = (disassemble_info *) dis_info; + (*info->fprintf_func) (info->stream, (value) ? "/l" : "/u"); }