projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Disallow PC relative for CMPI on MC68000/10
[deliverable/binutils-gdb.git]
/
opcodes
/
frv-dis.c
diff --git
a/opcodes/frv-dis.c
b/opcodes/frv-dis.c
index f74eb6251cca7b990530af1d709669c7163c5735..6f3d6cc6fdb54c792e7028c5a7cc68d1b0c733da 100644
(file)
--- a/
opcodes/frv-dis.c
+++ b/
opcodes/frv-dis.c
@@
-1,23
+1,23
@@
+/* DO NOT EDIT! -*- buffer-read-only: t -*- vi:set ro: */
/* Disassembler interface for targets using CGEN. -*- C -*-
CGEN: Cpu tools GENerator
THIS FILE IS MACHINE GENERATED WITH CGEN.
- the resultant file is machine generated, cgen-dis.in isn't
/* Disassembler interface for targets using CGEN. -*- C -*-
CGEN: Cpu tools GENerator
THIS FILE IS MACHINE GENERATED WITH CGEN.
- the resultant file is machine generated, cgen-dis.in isn't
- Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2005
- Free Software Foundation, Inc.
+ Copyright (C) 1996-2020 Free Software Foundation, Inc.
- This file is part of
the GNU Binutils and GDB, the GNU debugger
.
+ This file is part of
libopcodes
.
- This
program
is free software; you can redistribute it and/or modify
+ 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
it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version
2
, or (at your option)
+ the Free Software Foundation; either version
3
, or (at your option)
any later version.
any later version.
- 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.
+ 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.,
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.,
@@
-29,7
+29,7
@@
#include "sysdep.h"
#include <stdio.h>
#include "ansidecl.h"
#include "sysdep.h"
#include <stdio.h>
#include "ansidecl.h"
-#include "dis
-asm
.h"
+#include "dis
assemble
.h"
#include "bfd.h"
#include "symcat.h"
#include "libiberty.h"
#include "bfd.h"
#include "symcat.h"
#include "libiberty.h"
@@
-70,7
+70,7
@@
print_at (CGEN_CPU_DESC cd ATTRIBUTE_UNUSED,
disassemble_info *info = (disassemble_info *) dis_info;
(*info->fprintf_func) (info->stream, "@");
disassemble_info *info = (disassemble_info *) dis_info;
(*info->fprintf_func) (info->stream, "@");
-}
+}
static void
print_spr (CGEN_CPU_DESC cd,
static void
print_spr (CGEN_CPU_DESC cd,
@@
-393,13
+393,14
@@
frv_cgen_print_operand (CGEN_CPU_DESC cd,
default :
/* xgettext:c-format */
default :
/* xgettext:c-format */
- fprintf (stderr, _("Unrecognized field %d while printing insn.\n"),
- opindex);
- abort ();
+ opcodes_error_handler
+ (_("internal error: unrecognized field %d while printing insn"),
+ opindex);
+ abort ();
}
}
}
}
-cgen_print_fn * const frv_cgen_print_handlers[] =
+cgen_print_fn * const frv_cgen_print_handlers[] =
{
print_insn_normal,
};
{
print_insn_normal,
};
@@
-427,10
+428,6
@@
print_normal (CGEN_CPU_DESC cd ATTRIBUTE_UNUSED,
{
disassemble_info *info = (disassemble_info *) dis_info;
{
disassemble_info *info = (disassemble_info *) dis_info;
-#ifdef CGEN_PRINT_NORMAL
- CGEN_PRINT_NORMAL (cd, info, value, attrs, pc, length);
-#endif
-
/* Print the operand as directed by the attributes. */
if (CGEN_BOOL_ATTR (attrs, CGEN_OPERAND_SEM_ONLY))
; /* nothing to do */
/* Print the operand as directed by the attributes. */
if (CGEN_BOOL_ATTR (attrs, CGEN_OPERAND_SEM_ONLY))
; /* nothing to do */
@@
-452,10
+449,6
@@
print_address (CGEN_CPU_DESC cd ATTRIBUTE_UNUSED,
{
disassemble_info *info = (disassemble_info *) dis_info;
{
disassemble_info *info = (disassemble_info *) dis_info;
-#ifdef CGEN_PRINT_ADDRESS
- CGEN_PRINT_ADDRESS (cd, info, value, attrs, pc, length);
-#endif
-
/* Print the operand as directed by the attributes. */
if (CGEN_BOOL_ATTR (attrs, CGEN_OPERAND_SEM_ONLY))
; /* Nothing to do. */
/* Print the operand as directed by the attributes. */
if (CGEN_BOOL_ATTR (attrs, CGEN_OPERAND_SEM_ONLY))
; /* Nothing to do. */
@@
-597,7
+590,7
@@
print_insn (CGEN_CPU_DESC cd,
int length;
unsigned long insn_value_cropped;
int length;
unsigned long insn_value_cropped;
-#ifdef CGEN_VALIDATE_INSN_SUPPORTED
+#ifdef CGEN_VALIDATE_INSN_SUPPORTED
/* Not needed as insn shouldn't be in hash lists if not supported. */
/* Supported by this cpu? */
if (! frv_cgen_insn_supported (cd, insn))
/* Not needed as insn shouldn't be in hash lists if not supported. */
/* Supported by this cpu? */
if (! frv_cgen_insn_supported (cd, insn))
@@
-615,7
+608,7
@@
print_insn (CGEN_CPU_DESC cd,
relevant part from the buffer. */
if ((unsigned) (CGEN_INSN_BITSIZE (insn) / 8) < buflen &&
(unsigned) (CGEN_INSN_BITSIZE (insn) / 8) <= sizeof (unsigned long))
relevant part from the buffer. */
if ((unsigned) (CGEN_INSN_BITSIZE (insn) / 8) < buflen &&
(unsigned) (CGEN_INSN_BITSIZE (insn) / 8) <= sizeof (unsigned long))
- insn_value_cropped = bfd_get_bits (buf, CGEN_INSN_BITSIZE (insn),
+ insn_value_cropped = bfd_get_bits (buf, CGEN_INSN_BITSIZE (insn),
info->endian == BFD_ENDIAN_BIG);
else
insn_value_cropped = insn_value;
info->endian == BFD_ENDIAN_BIG);
else
insn_value_cropped = insn_value;
@@
-734,7
+727,7
@@
print_insn_frv (bfd_vma pc, disassemble_info *info)
arch = info->arch;
if (arch == bfd_arch_unknown)
arch = CGEN_BFD_ARCH;
arch = info->arch;
if (arch == bfd_arch_unknown)
arch = CGEN_BFD_ARCH;
-
+
/* There's no standard way to compute the machine or isa number
so we leave it to the target. */
#ifdef CGEN_COMPUTE_MACH
/* There's no standard way to compute the machine or isa number
so we leave it to the target. */
#ifdef CGEN_COMPUTE_MACH
@@
-754,7
+747,7
@@
print_insn_frv (bfd_vma pc, disassemble_info *info)
cgen_bitset_add (isa, CGEN_COMPUTE_ISA (info));
}
#else
cgen_bitset_add (isa, CGEN_COMPUTE_ISA (info));
}
#else
- isa = info->
insn_sets
;
+ isa = info->
private_data
;
#endif
/* If we've switched cpu's, try to find a handle we've used before */
#endif
/* If we've switched cpu's, try to find a handle we've used before */
@@
-775,7
+768,7
@@
print_insn_frv (bfd_vma pc, disassemble_info *info)
break;
}
}
break;
}
}
- }
+ }
/* If we haven't initialized yet, initialize the opcode table. */
if (! cd)
/* If we haven't initialized yet, initialize the opcode table. */
if (! cd)
This page took
0.026321 seconds
and
4
git commands to generate.