mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-26 21:40:38 +00:00
update many old style function definitions
This includes regenerating a bunch of files in opcodes/ with trunk cgen. gprof/ChangeLog: 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org> * basic_blocks.c: Update old style function definitions. * cg_arcs.c: Likewise. * cg_print.c: Likewise. * gen-c-prog.awk: Likewise. * gmon_io.c: Likewise. * hertz.c: Likewise. * hist.c: Likewise. * sym_ids.c: Likewise. bfd/ChangeLog: 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org> * cache.c: Update old style function definitions. * elf32-m68k.c: Likewise. * elf64-mmix.c: Likewise. * stab-syms.c: Likewise. opcodes/ChangeLog: 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org> * alpha-dis.c: Regenerate. * crx-dis.c: Likewise. * disassemble.c: Likewise. * epiphany-opc.c: Likewise. * fr30-opc.c: Likewise. * frv-opc.c: Likewise. * ip2k-opc.c: Likewise. * iq2000-opc.c: Likewise. * lm32-opc.c: Likewise. * lm32-opinst.c: Likewise. * m32c-opc.c: Likewise. * m32r-opc.c: Likewise. * m32r-opinst.c: Likewise. * mep-opc.c: Likewise. * mt-opc.c: Likewise. * or1k-opc.c: Likewise. * or1k-opinst.c: Likewise. * tic80-opc.c: Likewise. * xc16x-opc.c: Likewise. * xstormy16-opc.c: Likewise. ld/ChangeLog: 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org> * emultempl/scoreelf.em: Likewise. binutils/ChangeLog: 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org> * resres.c: Likewise. gas/ChangeLog: 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org> * cgen.c: Likewise. * config/tc-bfin.c: Likewise. * config/tc-ia64.c: Likewise. * config/tc-mep.c: Likewise. * config/tc-metag.c: Likewise. * config/tc-nios2.c: Likewise. * config/tc-rl78.c: Likewise.
This commit is contained in:
parent
b98e687124
commit
e6c7cdec06
@ -1,3 +1,10 @@
|
||||
2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
|
||||
|
||||
* cache.c: Update old style function definitions.
|
||||
* elf32-m68k.c: Likewise.
|
||||
* elf64-mmix.c: Likewise.
|
||||
* stab-syms.c: Likewise.
|
||||
|
||||
2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
|
||||
|
||||
* elf32-arm.c (put_thumb2_insn): Change argument type to bfd_byte *.
|
||||
|
@ -566,7 +566,7 @@ RETURNS
|
||||
*/
|
||||
|
||||
bfd_boolean
|
||||
bfd_cache_close_all ()
|
||||
bfd_cache_close_all (void)
|
||||
{
|
||||
bfd_boolean ret = TRUE;
|
||||
|
||||
|
@ -4579,12 +4579,9 @@ elf_m68k_finish_dynamic_sections (bfd *output_bfd, struct bfd_link_info *info)
|
||||
objects, and before the final_link entry point is called. */
|
||||
|
||||
bfd_boolean
|
||||
bfd_m68k_elf32_create_embedded_relocs (abfd, info, datasec, relsec, errmsg)
|
||||
bfd *abfd;
|
||||
struct bfd_link_info *info;
|
||||
asection *datasec;
|
||||
asection *relsec;
|
||||
char **errmsg;
|
||||
bfd_m68k_elf32_create_embedded_relocs (bfd *abfd, struct bfd_link_info *info,
|
||||
asection *datasec, asection *relsec,
|
||||
char **errmsg)
|
||||
{
|
||||
Elf_Internal_Shdr *symtab_hdr;
|
||||
Elf_Internal_Sym *isymbuf = NULL;
|
||||
|
@ -2114,9 +2114,7 @@ static asymbol *mmix_elf_reg_section_symbol_ptr;
|
||||
/* Handle the special section numbers that a symbol may use. */
|
||||
|
||||
void
|
||||
mmix_elf_symbol_processing (abfd, asym)
|
||||
bfd *abfd ATTRIBUTE_UNUSED;
|
||||
asymbol *asym;
|
||||
mmix_elf_symbol_processing (bfd *abfd ATTRIBUTE_UNUSED, asymbol *asym)
|
||||
{
|
||||
elf_symbol_type *elfsym;
|
||||
|
||||
@ -2491,9 +2489,8 @@ bpo_reloc_request_sort_fn (const void * p1, const void * p2)
|
||||
from base-plus-offset relocs. */
|
||||
|
||||
void
|
||||
mmix_dump_bpo_gregs (link_info, pf)
|
||||
struct bfd_link_info *link_info;
|
||||
bfd_error_handler_type pf;
|
||||
mmix_dump_bpo_gregs (struct bfd_link_info *link_info,
|
||||
bfd_error_handler_type pf)
|
||||
{
|
||||
bfd *bpo_greg_owner;
|
||||
asection *bpo_gregs_section;
|
||||
|
@ -45,8 +45,7 @@
|
||||
__define_name (N_WARNING, "WARNING")
|
||||
|
||||
const char *
|
||||
bfd_get_stab_name (code)
|
||||
int code;
|
||||
bfd_get_stab_name (int code)
|
||||
{
|
||||
switch (code)
|
||||
{
|
||||
|
@ -1,3 +1,7 @@
|
||||
2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
|
||||
|
||||
* resres.c: Likewise.
|
||||
|
||||
2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* Makefile.in: Regenerated with automake 1.11.6.
|
||||
|
@ -386,8 +386,7 @@ write_res_bin (windres_bfd *wrbfd, rc_uint_type off, const rc_res_resource *res,
|
||||
|
||||
/* Get number of bytes needed to store an id in binary format */
|
||||
static unsigned long
|
||||
get_id_size (id)
|
||||
const rc_res_id *id;
|
||||
get_id_size (const rc_res_id *id)
|
||||
{
|
||||
if (id->named)
|
||||
return sizeof (unichar) * (id->u.n.length + 1);
|
||||
|
@ -1,3 +1,13 @@
|
||||
2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
|
||||
|
||||
* cgen.c: Likewise.
|
||||
* config/tc-bfin.c: Likewise.
|
||||
* config/tc-ia64.c: Likewise.
|
||||
* config/tc-mep.c: Likewise.
|
||||
* config/tc-metag.c: Likewise.
|
||||
* config/tc-nios2.c: Likewise.
|
||||
* config/tc-rl78.c: Likewise.
|
||||
|
||||
2016-04-20 Andrew Burgess <andrew.burgess@embecosm.com>
|
||||
|
||||
* doc/c-arc.texi (ARC Options): Add nps400 to list of valus for
|
||||
|
@ -92,7 +92,7 @@ static int num_fixups;
|
||||
??? May wish to make this static and delete calls in md_assemble. */
|
||||
|
||||
void
|
||||
gas_cgen_init_parse ()
|
||||
gas_cgen_init_parse (void)
|
||||
{
|
||||
num_fixups = 0;
|
||||
}
|
||||
@ -154,7 +154,7 @@ struct saved_fixups
|
||||
static struct saved_fixups stored_fixups[MAX_SAVED_FIXUP_CHAINS];
|
||||
|
||||
void
|
||||
gas_cgen_initialize_saved_fixups_array ()
|
||||
gas_cgen_initialize_saved_fixups_array (void)
|
||||
{
|
||||
int i = 0;
|
||||
|
||||
@ -1047,7 +1047,7 @@ gas_cgen_tc_gen_reloc (asection *section ATTRIBUTE_UNUSED, fixS *fixP)
|
||||
Called after gas_cgen_cpu_desc has been created. */
|
||||
|
||||
void
|
||||
gas_cgen_begin ()
|
||||
gas_cgen_begin (void)
|
||||
{
|
||||
if (flag_signed_overflow_ok)
|
||||
cgen_set_signed_overflow_ok (gas_cgen_cpu_desc);
|
||||
|
@ -446,7 +446,7 @@ md_show_usage (FILE * stream)
|
||||
|
||||
/* Perform machine-specific initializations. */
|
||||
void
|
||||
md_begin ()
|
||||
md_begin (void)
|
||||
{
|
||||
/* Set the ELF flags if desired. */
|
||||
if (bfin_flags)
|
||||
|
@ -4120,7 +4120,7 @@ save_prologue_count (unsigned long lbl, unsigned int count)
|
||||
}
|
||||
|
||||
static void
|
||||
free_saved_prologue_counts ()
|
||||
free_saved_prologue_counts (void)
|
||||
{
|
||||
label_prologue_count *lpc = unwind.saved_prologue_counts;
|
||||
label_prologue_count *next;
|
||||
|
@ -465,7 +465,7 @@ mep_parse_operand (CGEN_CPU_DESC cd, enum cgen_parse_operand_type want,
|
||||
}
|
||||
|
||||
void
|
||||
md_begin ()
|
||||
md_begin (void)
|
||||
{
|
||||
/* Initialize the `cgen' interface. */
|
||||
|
||||
@ -1934,7 +1934,7 @@ mep_cgen_record_fixup_exp (fragS *frag,
|
||||
tc_gen_reloc. */
|
||||
|
||||
void
|
||||
mep_frob_file ()
|
||||
mep_frob_file (void)
|
||||
{
|
||||
struct mep_hi_fixup * l;
|
||||
|
||||
|
@ -7002,9 +7002,7 @@ metag_parse_name (char const * name, expressionS * exprP, enum expr_mode mode,
|
||||
then it is done here. */
|
||||
|
||||
arelent *
|
||||
tc_gen_reloc (seg, fixp)
|
||||
asection *seg ATTRIBUTE_UNUSED;
|
||||
fixS *fixp;
|
||||
tc_gen_reloc (asection *seg ATTRIBUTE_UNUSED, fixS *fixp)
|
||||
{
|
||||
arelent *reloc;
|
||||
|
||||
|
@ -3910,7 +3910,7 @@ md_pcrel_from (fixS *fixP ATTRIBUTE_UNUSED)
|
||||
|
||||
/* Called just before the assembler exits. */
|
||||
void
|
||||
md_end ()
|
||||
md_end (void)
|
||||
{
|
||||
/* FIXME - not yet implemented */
|
||||
}
|
||||
|
@ -131,7 +131,7 @@ rl78_prefix (int p)
|
||||
}
|
||||
|
||||
int
|
||||
rl78_has_prefix ()
|
||||
rl78_has_prefix (void)
|
||||
{
|
||||
return rl78_bytes.n_prefix;
|
||||
}
|
||||
|
@ -1,3 +1,14 @@
|
||||
2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
|
||||
|
||||
* basic_blocks.c: Update old style function definitions.
|
||||
* cg_arcs.c: Likewise.
|
||||
* cg_print.c: Likewise.
|
||||
* gen-c-prog.awk: Likewise.
|
||||
* gmon_io.c: Likewise.
|
||||
* hertz.c: Likewise.
|
||||
* hist.c: Likewise.
|
||||
* sym_ids.c: Likewise.
|
||||
|
||||
2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* Makefile.in: Regenerated with automake 1.11.6.
|
||||
|
@ -248,7 +248,7 @@ bb_write_blocks (FILE *ofp, const char *filename)
|
||||
<filename>:<line-number>: (<function-name>:<bb-addr): <ncalls> */
|
||||
|
||||
void
|
||||
print_exec_counts ()
|
||||
print_exec_counts (void)
|
||||
{
|
||||
Sym **sorted_bbs, *sym;
|
||||
unsigned int i, j, len;
|
||||
@ -459,7 +459,7 @@ annotate_with_count (char *buf, unsigned int width, int line_num, PTR arg)
|
||||
regarding that source file are printed. */
|
||||
|
||||
void
|
||||
print_annotated_source ()
|
||||
print_annotated_source (void)
|
||||
{
|
||||
Sym *sym, *line_stats, *new_line;
|
||||
Source_File *sf;
|
||||
|
@ -245,7 +245,7 @@ propagate_time (Sym *parent)
|
||||
* its members.
|
||||
*/
|
||||
static void
|
||||
cycle_time ()
|
||||
cycle_time (void)
|
||||
{
|
||||
Sym *member, *cyc;
|
||||
|
||||
@ -269,7 +269,7 @@ cycle_time ()
|
||||
|
||||
|
||||
static void
|
||||
cycle_link ()
|
||||
cycle_link (void)
|
||||
{
|
||||
Sym *sym, *cyc, *member;
|
||||
Arc *arc;
|
||||
|
@ -61,7 +61,7 @@ double print_time = 0.0;
|
||||
|
||||
|
||||
static void
|
||||
print_header ()
|
||||
print_header (void)
|
||||
{
|
||||
if (first_output)
|
||||
first_output = FALSE;
|
||||
@ -561,7 +561,7 @@ cmp_name (const PTR left, const PTR right)
|
||||
|
||||
|
||||
void
|
||||
cg_print_index ()
|
||||
cg_print_index (void)
|
||||
{
|
||||
unsigned int sym_index;
|
||||
unsigned int nnames, todo, i, j;
|
||||
@ -984,13 +984,9 @@ cg_print_function_ordering (void)
|
||||
|
||||
#define MOST 0.99
|
||||
static void
|
||||
order_and_dump_functions_by_arcs (the_arcs, arc_count, all,
|
||||
unplaced_arcs, unplaced_arc_count)
|
||||
Arc **the_arcs;
|
||||
unsigned long arc_count;
|
||||
int all;
|
||||
Arc **unplaced_arcs;
|
||||
unsigned long *unplaced_arc_count;
|
||||
order_and_dump_functions_by_arcs (Arc **the_arcs, unsigned long arc_count,
|
||||
int all, Arc **unplaced_arcs,
|
||||
unsigned long *unplaced_arc_count)
|
||||
{
|
||||
#ifdef __GNUC__
|
||||
unsigned long long tmp_arcs, total_arcs;
|
||||
|
@ -15,8 +15,7 @@ NR == 1 {
|
||||
print ""
|
||||
print "void ", FUNCTION, "(FILE *);"
|
||||
print "void";
|
||||
printf "%s (file)\n", FUNCTION
|
||||
print " FILE *file;";
|
||||
printf "%s (FILE *file)\n", FUNCTION
|
||||
print "{";
|
||||
}
|
||||
printf " fputs (\"";
|
||||
|
@ -61,7 +61,7 @@ int gmon_input = 0;
|
||||
int gmon_file_version = 0; /* 0 == old (non-versioned) file format. */
|
||||
|
||||
static enum gmon_ptr_size
|
||||
gmon_get_ptr_size ()
|
||||
gmon_get_ptr_size (void)
|
||||
{
|
||||
int size;
|
||||
|
||||
@ -87,7 +87,7 @@ gmon_get_ptr_size ()
|
||||
}
|
||||
|
||||
static enum gmon_ptr_signedness
|
||||
gmon_get_ptr_signedness ()
|
||||
gmon_get_ptr_signedness (void)
|
||||
{
|
||||
int sext;
|
||||
|
||||
|
@ -31,7 +31,7 @@
|
||||
|
||||
|
||||
int
|
||||
hertz ()
|
||||
hertz (void)
|
||||
{
|
||||
#ifdef HERTZ
|
||||
return HERTZ;
|
||||
|
@ -289,7 +289,7 @@ hist_write_hist (FILE * ofp, const char *filename)
|
||||
next bin. */
|
||||
|
||||
static void
|
||||
scale_and_align_entries ()
|
||||
scale_and_align_entries (void)
|
||||
{
|
||||
Sym *sym;
|
||||
bfd_vma bin_of_entry;
|
||||
@ -445,7 +445,7 @@ hist_assign_samples_1 (histogram *r)
|
||||
|
||||
/* Calls 'hist_assign_sampes_1' for all histogram records read so far. */
|
||||
void
|
||||
hist_assign_samples ()
|
||||
hist_assign_samples (void)
|
||||
{
|
||||
unsigned i;
|
||||
|
||||
@ -562,7 +562,7 @@ cmp_time (const PTR lp, const PTR rp)
|
||||
/* Print the flat histogram profile. */
|
||||
|
||||
void
|
||||
hist_print ()
|
||||
hist_print (void)
|
||||
{
|
||||
Sym **time_sorted_syms, *top_dog, *sym;
|
||||
unsigned int sym_index;
|
||||
|
@ -273,7 +273,7 @@ extend_match (struct match *m, Sym *sym, Sym_Table *tab, bfd_boolean second_pass
|
||||
requests---you get what you ask for! */
|
||||
|
||||
void
|
||||
sym_id_parse ()
|
||||
sym_id_parse (void)
|
||||
{
|
||||
Sym *sym, *left, *right;
|
||||
struct sym_id *id;
|
||||
|
@ -1,3 +1,7 @@
|
||||
2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
|
||||
|
||||
* emultempl/scoreelf.em: Likewise.
|
||||
|
||||
2016-04-19 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
PR ld/19719
|
||||
|
@ -31,7 +31,7 @@ fragment <<EOF
|
||||
#include "elf32-score.h"
|
||||
|
||||
static void
|
||||
gld${EMULATION_NAME}_before_parse ()
|
||||
gld${EMULATION_NAME}_before_parse (void)
|
||||
{
|
||||
#ifndef TARGET_ /* I.e., if not generic. */
|
||||
ldfile_set_output_arch ("`echo ${ARCH}`", bfd_arch_unknown);
|
||||
|
@ -1,3 +1,26 @@
|
||||
2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
|
||||
|
||||
* alpha-dis.c: Regenerate.
|
||||
* crx-dis.c: Likewise.
|
||||
* disassemble.c: Likewise.
|
||||
* epiphany-opc.c: Likewise.
|
||||
* fr30-opc.c: Likewise.
|
||||
* frv-opc.c: Likewise.
|
||||
* ip2k-opc.c: Likewise.
|
||||
* iq2000-opc.c: Likewise.
|
||||
* lm32-opc.c: Likewise.
|
||||
* lm32-opinst.c: Likewise.
|
||||
* m32c-opc.c: Likewise.
|
||||
* m32r-opc.c: Likewise.
|
||||
* m32r-opinst.c: Likewise.
|
||||
* mep-opc.c: Likewise.
|
||||
* mt-opc.c: Likewise.
|
||||
* or1k-opc.c: Likewise.
|
||||
* or1k-opinst.c: Likewise.
|
||||
* tic80-opc.c: Likewise.
|
||||
* xc16x-opc.c: Likewise.
|
||||
* xstormy16-opc.c: Likewise.
|
||||
|
||||
2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
|
||||
|
||||
* arc-nps400-tbl.h: Add addb, subb, adcb, sbcb, andb, xorb, orb,
|
||||
|
@ -54,9 +54,7 @@ static const char * const vms_regnames[64] = {
|
||||
/* Disassemble Alpha instructions. */
|
||||
|
||||
int
|
||||
print_insn_alpha (memaddr, info)
|
||||
bfd_vma memaddr;
|
||||
struct disassemble_info *info;
|
||||
print_insn_alpha (bfd_vma memaddr, struct disassemble_info *info)
|
||||
{
|
||||
static const struct alpha_opcode *opcode_index[AXP_NOPS+1];
|
||||
const char * const * regnames;
|
||||
|
@ -714,9 +714,7 @@ get_words_at_PC (bfd_vma memaddr, struct disassemble_info *info)
|
||||
/* Prints the instruction by calling print_arguments after proper matching. */
|
||||
|
||||
int
|
||||
print_insn_crx (memaddr, info)
|
||||
bfd_vma memaddr;
|
||||
struct disassemble_info *info;
|
||||
print_insn_crx (bfd_vma memaddr, struct disassemble_info *info)
|
||||
{
|
||||
int is_decoded; /* Nonzero means instruction has a match. */
|
||||
|
||||
|
@ -106,8 +106,7 @@
|
||||
#endif
|
||||
|
||||
disassembler_ftype
|
||||
disassembler (abfd)
|
||||
bfd *abfd;
|
||||
disassembler (bfd *abfd)
|
||||
{
|
||||
enum bfd_architecture a = bfd_get_arch (abfd);
|
||||
disassembler_ftype disassemble;
|
||||
@ -543,8 +542,7 @@ disassembler (abfd)
|
||||
}
|
||||
|
||||
void
|
||||
disassembler_usage (stream)
|
||||
FILE * stream ATTRIBUTE_UNUSED;
|
||||
disassembler_usage (FILE *stream ATTRIBUTE_UNUSED)
|
||||
{
|
||||
#ifdef ARCH_aarch64
|
||||
print_aarch64_disassembler_options (stream);
|
||||
|
@ -3922,15 +3922,13 @@ static const CGEN_OPCODE epiphany_cgen_macro_insn_opcode_table[] =
|
||||
Targets are free to override CGEN_{ASM,DIS}_HASH_P in the .opc file. */
|
||||
|
||||
static int
|
||||
asm_hash_insn_p (insn)
|
||||
const CGEN_INSN *insn ATTRIBUTE_UNUSED;
|
||||
asm_hash_insn_p (const CGEN_INSN *insn ATTRIBUTE_UNUSED)
|
||||
{
|
||||
return CGEN_ASM_HASH_P (insn);
|
||||
}
|
||||
|
||||
static int
|
||||
dis_hash_insn_p (insn)
|
||||
const CGEN_INSN *insn;
|
||||
dis_hash_insn_p (const CGEN_INSN *insn)
|
||||
{
|
||||
/* If building the hash table and the NO-DIS attribute is present,
|
||||
ignore. */
|
||||
@ -3962,8 +3960,7 @@ dis_hash_insn_p (insn)
|
||||
Targets are free to override CGEN_{ASM,DIS}_HASH in the .opc file. */
|
||||
|
||||
static unsigned int
|
||||
asm_hash_insn (mnem)
|
||||
const char * mnem;
|
||||
asm_hash_insn (const char *mnem)
|
||||
{
|
||||
return CGEN_ASM_HASH (mnem);
|
||||
}
|
||||
@ -3972,9 +3969,8 @@ asm_hash_insn (mnem)
|
||||
VALUE is the first base_insn_bitsize bits as an int in host order. */
|
||||
|
||||
static unsigned int
|
||||
dis_hash_insn (buf, value)
|
||||
const char * buf ATTRIBUTE_UNUSED;
|
||||
CGEN_INSN_INT value ATTRIBUTE_UNUSED;
|
||||
dis_hash_insn (const char *buf ATTRIBUTE_UNUSED,
|
||||
CGEN_INSN_INT value ATTRIBUTE_UNUSED)
|
||||
{
|
||||
return CGEN_DIS_HASH (buf, value);
|
||||
}
|
||||
|
@ -1259,15 +1259,13 @@ static const CGEN_OPCODE fr30_cgen_macro_insn_opcode_table[] =
|
||||
Targets are free to override CGEN_{ASM,DIS}_HASH_P in the .opc file. */
|
||||
|
||||
static int
|
||||
asm_hash_insn_p (insn)
|
||||
const CGEN_INSN *insn ATTRIBUTE_UNUSED;
|
||||
asm_hash_insn_p (const CGEN_INSN *insn ATTRIBUTE_UNUSED)
|
||||
{
|
||||
return CGEN_ASM_HASH_P (insn);
|
||||
}
|
||||
|
||||
static int
|
||||
dis_hash_insn_p (insn)
|
||||
const CGEN_INSN *insn;
|
||||
dis_hash_insn_p (const CGEN_INSN *insn)
|
||||
{
|
||||
/* If building the hash table and the NO-DIS attribute is present,
|
||||
ignore. */
|
||||
@ -1299,8 +1297,7 @@ dis_hash_insn_p (insn)
|
||||
Targets are free to override CGEN_{ASM,DIS}_HASH in the .opc file. */
|
||||
|
||||
static unsigned int
|
||||
asm_hash_insn (mnem)
|
||||
const char * mnem;
|
||||
asm_hash_insn (const char *mnem)
|
||||
{
|
||||
return CGEN_ASM_HASH (mnem);
|
||||
}
|
||||
@ -1309,9 +1306,8 @@ asm_hash_insn (mnem)
|
||||
VALUE is the first base_insn_bitsize bits as an int in host order. */
|
||||
|
||||
static unsigned int
|
||||
dis_hash_insn (buf, value)
|
||||
const char * buf ATTRIBUTE_UNUSED;
|
||||
CGEN_INSN_INT value ATTRIBUTE_UNUSED;
|
||||
dis_hash_insn (const char *buf ATTRIBUTE_UNUSED,
|
||||
CGEN_INSN_INT value ATTRIBUTE_UNUSED)
|
||||
{
|
||||
return CGEN_DIS_HASH (buf, value);
|
||||
}
|
||||
|
@ -6124,15 +6124,13 @@ static const CGEN_OPCODE frv_cgen_macro_insn_opcode_table[] =
|
||||
Targets are free to override CGEN_{ASM,DIS}_HASH_P in the .opc file. */
|
||||
|
||||
static int
|
||||
asm_hash_insn_p (insn)
|
||||
const CGEN_INSN *insn ATTRIBUTE_UNUSED;
|
||||
asm_hash_insn_p (const CGEN_INSN *insn ATTRIBUTE_UNUSED)
|
||||
{
|
||||
return CGEN_ASM_HASH_P (insn);
|
||||
}
|
||||
|
||||
static int
|
||||
dis_hash_insn_p (insn)
|
||||
const CGEN_INSN *insn;
|
||||
dis_hash_insn_p (const CGEN_INSN *insn)
|
||||
{
|
||||
/* If building the hash table and the NO-DIS attribute is present,
|
||||
ignore. */
|
||||
@ -6164,8 +6162,7 @@ dis_hash_insn_p (insn)
|
||||
Targets are free to override CGEN_{ASM,DIS}_HASH in the .opc file. */
|
||||
|
||||
static unsigned int
|
||||
asm_hash_insn (mnem)
|
||||
const char * mnem;
|
||||
asm_hash_insn (const char *mnem)
|
||||
{
|
||||
return CGEN_ASM_HASH (mnem);
|
||||
}
|
||||
@ -6174,9 +6171,8 @@ asm_hash_insn (mnem)
|
||||
VALUE is the first base_insn_bitsize bits as an int in host order. */
|
||||
|
||||
static unsigned int
|
||||
dis_hash_insn (buf, value)
|
||||
const char * buf ATTRIBUTE_UNUSED;
|
||||
CGEN_INSN_INT value ATTRIBUTE_UNUSED;
|
||||
dis_hash_insn (const char *buf ATTRIBUTE_UNUSED,
|
||||
CGEN_INSN_INT value ATTRIBUTE_UNUSED)
|
||||
{
|
||||
return CGEN_DIS_HASH (buf, value);
|
||||
}
|
||||
|
@ -790,15 +790,13 @@ static const CGEN_OPCODE ip2k_cgen_macro_insn_opcode_table[] =
|
||||
Targets are free to override CGEN_{ASM,DIS}_HASH_P in the .opc file. */
|
||||
|
||||
static int
|
||||
asm_hash_insn_p (insn)
|
||||
const CGEN_INSN *insn ATTRIBUTE_UNUSED;
|
||||
asm_hash_insn_p (const CGEN_INSN *insn ATTRIBUTE_UNUSED)
|
||||
{
|
||||
return CGEN_ASM_HASH_P (insn);
|
||||
}
|
||||
|
||||
static int
|
||||
dis_hash_insn_p (insn)
|
||||
const CGEN_INSN *insn;
|
||||
dis_hash_insn_p (const CGEN_INSN *insn)
|
||||
{
|
||||
/* If building the hash table and the NO-DIS attribute is present,
|
||||
ignore. */
|
||||
@ -830,8 +828,7 @@ dis_hash_insn_p (insn)
|
||||
Targets are free to override CGEN_{ASM,DIS}_HASH in the .opc file. */
|
||||
|
||||
static unsigned int
|
||||
asm_hash_insn (mnem)
|
||||
const char * mnem;
|
||||
asm_hash_insn (const char *mnem)
|
||||
{
|
||||
return CGEN_ASM_HASH (mnem);
|
||||
}
|
||||
@ -840,9 +837,8 @@ asm_hash_insn (mnem)
|
||||
VALUE is the first base_insn_bitsize bits as an int in host order. */
|
||||
|
||||
static unsigned int
|
||||
dis_hash_insn (buf, value)
|
||||
const char * buf ATTRIBUTE_UNUSED;
|
||||
CGEN_INSN_INT value ATTRIBUTE_UNUSED;
|
||||
dis_hash_insn (const char *buf ATTRIBUTE_UNUSED,
|
||||
CGEN_INSN_INT value ATTRIBUTE_UNUSED)
|
||||
{
|
||||
return CGEN_DIS_HASH (buf, value);
|
||||
}
|
||||
|
@ -3344,15 +3344,13 @@ static const CGEN_OPCODE iq2000_cgen_macro_insn_opcode_table[] =
|
||||
Targets are free to override CGEN_{ASM,DIS}_HASH_P in the .opc file. */
|
||||
|
||||
static int
|
||||
asm_hash_insn_p (insn)
|
||||
const CGEN_INSN *insn ATTRIBUTE_UNUSED;
|
||||
asm_hash_insn_p (const CGEN_INSN *insn ATTRIBUTE_UNUSED)
|
||||
{
|
||||
return CGEN_ASM_HASH_P (insn);
|
||||
}
|
||||
|
||||
static int
|
||||
dis_hash_insn_p (insn)
|
||||
const CGEN_INSN *insn;
|
||||
dis_hash_insn_p (const CGEN_INSN *insn)
|
||||
{
|
||||
/* If building the hash table and the NO-DIS attribute is present,
|
||||
ignore. */
|
||||
@ -3384,8 +3382,7 @@ dis_hash_insn_p (insn)
|
||||
Targets are free to override CGEN_{ASM,DIS}_HASH in the .opc file. */
|
||||
|
||||
static unsigned int
|
||||
asm_hash_insn (mnem)
|
||||
const char * mnem;
|
||||
asm_hash_insn (const char *mnem)
|
||||
{
|
||||
return CGEN_ASM_HASH (mnem);
|
||||
}
|
||||
@ -3394,9 +3391,8 @@ asm_hash_insn (mnem)
|
||||
VALUE is the first base_insn_bitsize bits as an int in host order. */
|
||||
|
||||
static unsigned int
|
||||
dis_hash_insn (buf, value)
|
||||
const char * buf ATTRIBUTE_UNUSED;
|
||||
CGEN_INSN_INT value ATTRIBUTE_UNUSED;
|
||||
dis_hash_insn (const char *buf ATTRIBUTE_UNUSED,
|
||||
CGEN_INSN_INT value ATTRIBUTE_UNUSED)
|
||||
{
|
||||
return CGEN_DIS_HASH (buf, value);
|
||||
}
|
||||
|
@ -742,15 +742,13 @@ static const CGEN_OPCODE lm32_cgen_macro_insn_opcode_table[] =
|
||||
Targets are free to override CGEN_{ASM,DIS}_HASH_P in the .opc file. */
|
||||
|
||||
static int
|
||||
asm_hash_insn_p (insn)
|
||||
const CGEN_INSN *insn ATTRIBUTE_UNUSED;
|
||||
asm_hash_insn_p (const CGEN_INSN *insn ATTRIBUTE_UNUSED)
|
||||
{
|
||||
return CGEN_ASM_HASH_P (insn);
|
||||
}
|
||||
|
||||
static int
|
||||
dis_hash_insn_p (insn)
|
||||
const CGEN_INSN *insn;
|
||||
dis_hash_insn_p (const CGEN_INSN *insn)
|
||||
{
|
||||
/* If building the hash table and the NO-DIS attribute is present,
|
||||
ignore. */
|
||||
@ -782,8 +780,7 @@ dis_hash_insn_p (insn)
|
||||
Targets are free to override CGEN_{ASM,DIS}_HASH in the .opc file. */
|
||||
|
||||
static unsigned int
|
||||
asm_hash_insn (mnem)
|
||||
const char * mnem;
|
||||
asm_hash_insn (const char *mnem)
|
||||
{
|
||||
return CGEN_ASM_HASH (mnem);
|
||||
}
|
||||
@ -792,9 +789,8 @@ asm_hash_insn (mnem)
|
||||
VALUE is the first base_insn_bitsize bits as an int in host order. */
|
||||
|
||||
static unsigned int
|
||||
dis_hash_insn (buf, value)
|
||||
const char * buf ATTRIBUTE_UNUSED;
|
||||
CGEN_INSN_INT value ATTRIBUTE_UNUSED;
|
||||
dis_hash_insn (const char *buf ATTRIBUTE_UNUSED,
|
||||
CGEN_INSN_INT value ATTRIBUTE_UNUSED)
|
||||
{
|
||||
return CGEN_DIS_HASH (buf, value);
|
||||
}
|
||||
|
@ -465,8 +465,7 @@ static const CGEN_OPINST *lm32_cgen_opinst_table[MAX_INSNS] = {
|
||||
/* Function to call before using the operand instance table. */
|
||||
|
||||
void
|
||||
lm32_cgen_init_opinst_table (cd)
|
||||
CGEN_CPU_DESC cd;
|
||||
lm32_cgen_init_opinst_table (CGEN_CPU_DESC cd)
|
||||
{
|
||||
int i;
|
||||
const CGEN_OPINST **oi = & lm32_cgen_opinst_table[0];
|
||||
|
@ -80111,15 +80111,13 @@ static const CGEN_OPCODE m32c_cgen_macro_insn_opcode_table[] =
|
||||
Targets are free to override CGEN_{ASM,DIS}_HASH_P in the .opc file. */
|
||||
|
||||
static int
|
||||
asm_hash_insn_p (insn)
|
||||
const CGEN_INSN *insn ATTRIBUTE_UNUSED;
|
||||
asm_hash_insn_p (const CGEN_INSN *insn ATTRIBUTE_UNUSED)
|
||||
{
|
||||
return CGEN_ASM_HASH_P (insn);
|
||||
}
|
||||
|
||||
static int
|
||||
dis_hash_insn_p (insn)
|
||||
const CGEN_INSN *insn;
|
||||
dis_hash_insn_p (const CGEN_INSN *insn)
|
||||
{
|
||||
/* If building the hash table and the NO-DIS attribute is present,
|
||||
ignore. */
|
||||
@ -80151,8 +80149,7 @@ dis_hash_insn_p (insn)
|
||||
Targets are free to override CGEN_{ASM,DIS}_HASH in the .opc file. */
|
||||
|
||||
static unsigned int
|
||||
asm_hash_insn (mnem)
|
||||
const char * mnem;
|
||||
asm_hash_insn (const char *mnem)
|
||||
{
|
||||
return CGEN_ASM_HASH (mnem);
|
||||
}
|
||||
@ -80161,9 +80158,8 @@ asm_hash_insn (mnem)
|
||||
VALUE is the first base_insn_bitsize bits as an int in host order. */
|
||||
|
||||
static unsigned int
|
||||
dis_hash_insn (buf, value)
|
||||
const char * buf ATTRIBUTE_UNUSED;
|
||||
CGEN_INSN_INT value ATTRIBUTE_UNUSED;
|
||||
dis_hash_insn (const char *buf ATTRIBUTE_UNUSED,
|
||||
CGEN_INSN_INT value ATTRIBUTE_UNUSED)
|
||||
{
|
||||
return CGEN_DIS_HASH (buf, value);
|
||||
}
|
||||
|
@ -1695,15 +1695,13 @@ static const CGEN_OPCODE m32r_cgen_macro_insn_opcode_table[] =
|
||||
Targets are free to override CGEN_{ASM,DIS}_HASH_P in the .opc file. */
|
||||
|
||||
static int
|
||||
asm_hash_insn_p (insn)
|
||||
const CGEN_INSN *insn ATTRIBUTE_UNUSED;
|
||||
asm_hash_insn_p (const CGEN_INSN *insn ATTRIBUTE_UNUSED)
|
||||
{
|
||||
return CGEN_ASM_HASH_P (insn);
|
||||
}
|
||||
|
||||
static int
|
||||
dis_hash_insn_p (insn)
|
||||
const CGEN_INSN *insn;
|
||||
dis_hash_insn_p (const CGEN_INSN *insn)
|
||||
{
|
||||
/* If building the hash table and the NO-DIS attribute is present,
|
||||
ignore. */
|
||||
@ -1735,8 +1733,7 @@ dis_hash_insn_p (insn)
|
||||
Targets are free to override CGEN_{ASM,DIS}_HASH in the .opc file. */
|
||||
|
||||
static unsigned int
|
||||
asm_hash_insn (mnem)
|
||||
const char * mnem;
|
||||
asm_hash_insn (const char *mnem)
|
||||
{
|
||||
return CGEN_ASM_HASH (mnem);
|
||||
}
|
||||
@ -1745,9 +1742,8 @@ asm_hash_insn (mnem)
|
||||
VALUE is the first base_insn_bitsize bits as an int in host order. */
|
||||
|
||||
static unsigned int
|
||||
dis_hash_insn (buf, value)
|
||||
const char * buf ATTRIBUTE_UNUSED;
|
||||
CGEN_INSN_INT value ATTRIBUTE_UNUSED;
|
||||
dis_hash_insn (const char *buf ATTRIBUTE_UNUSED,
|
||||
CGEN_INSN_INT value ATTRIBUTE_UNUSED)
|
||||
{
|
||||
return CGEN_DIS_HASH (buf, value);
|
||||
}
|
||||
|
@ -751,8 +751,7 @@ static const CGEN_OPINST *m32r_cgen_opinst_table[MAX_INSNS] = {
|
||||
/* Function to call before using the operand instance table. */
|
||||
|
||||
void
|
||||
m32r_cgen_init_opinst_table (cd)
|
||||
CGEN_CPU_DESC cd;
|
||||
m32r_cgen_init_opinst_table (CGEN_CPU_DESC cd)
|
||||
{
|
||||
int i;
|
||||
const CGEN_OPINST **oi = & m32r_cgen_opinst_table[0];
|
||||
|
@ -6316,15 +6316,13 @@ static const CGEN_OPCODE mep_cgen_macro_insn_opcode_table[] =
|
||||
Targets are free to override CGEN_{ASM,DIS}_HASH_P in the .opc file. */
|
||||
|
||||
static int
|
||||
asm_hash_insn_p (insn)
|
||||
const CGEN_INSN *insn ATTRIBUTE_UNUSED;
|
||||
asm_hash_insn_p (const CGEN_INSN *insn ATTRIBUTE_UNUSED)
|
||||
{
|
||||
return CGEN_ASM_HASH_P (insn);
|
||||
}
|
||||
|
||||
static int
|
||||
dis_hash_insn_p (insn)
|
||||
const CGEN_INSN *insn;
|
||||
dis_hash_insn_p (const CGEN_INSN *insn)
|
||||
{
|
||||
/* If building the hash table and the NO-DIS attribute is present,
|
||||
ignore. */
|
||||
@ -6356,8 +6354,7 @@ dis_hash_insn_p (insn)
|
||||
Targets are free to override CGEN_{ASM,DIS}_HASH in the .opc file. */
|
||||
|
||||
static unsigned int
|
||||
asm_hash_insn (mnem)
|
||||
const char * mnem;
|
||||
asm_hash_insn (const char *mnem)
|
||||
{
|
||||
return CGEN_ASM_HASH (mnem);
|
||||
}
|
||||
@ -6366,9 +6363,8 @@ asm_hash_insn (mnem)
|
||||
VALUE is the first base_insn_bitsize bits as an int in host order. */
|
||||
|
||||
static unsigned int
|
||||
dis_hash_insn (buf, value)
|
||||
const char * buf ATTRIBUTE_UNUSED;
|
||||
CGEN_INSN_INT value ATTRIBUTE_UNUSED;
|
||||
dis_hash_insn (const char *buf ATTRIBUTE_UNUSED,
|
||||
CGEN_INSN_INT value ATTRIBUTE_UNUSED)
|
||||
{
|
||||
return CGEN_DIS_HASH (buf, value);
|
||||
}
|
||||
|
@ -813,15 +813,13 @@ static const CGEN_OPCODE mt_cgen_macro_insn_opcode_table[] =
|
||||
Targets are free to override CGEN_{ASM,DIS}_HASH_P in the .opc file. */
|
||||
|
||||
static int
|
||||
asm_hash_insn_p (insn)
|
||||
const CGEN_INSN *insn ATTRIBUTE_UNUSED;
|
||||
asm_hash_insn_p (const CGEN_INSN *insn ATTRIBUTE_UNUSED)
|
||||
{
|
||||
return CGEN_ASM_HASH_P (insn);
|
||||
}
|
||||
|
||||
static int
|
||||
dis_hash_insn_p (insn)
|
||||
const CGEN_INSN *insn;
|
||||
dis_hash_insn_p (const CGEN_INSN *insn)
|
||||
{
|
||||
/* If building the hash table and the NO-DIS attribute is present,
|
||||
ignore. */
|
||||
@ -853,8 +851,7 @@ dis_hash_insn_p (insn)
|
||||
Targets are free to override CGEN_{ASM,DIS}_HASH in the .opc file. */
|
||||
|
||||
static unsigned int
|
||||
asm_hash_insn (mnem)
|
||||
const char * mnem;
|
||||
asm_hash_insn (const char *mnem)
|
||||
{
|
||||
return CGEN_ASM_HASH (mnem);
|
||||
}
|
||||
@ -863,9 +860,8 @@ asm_hash_insn (mnem)
|
||||
VALUE is the first base_insn_bitsize bits as an int in host order. */
|
||||
|
||||
static unsigned int
|
||||
dis_hash_insn (buf, value)
|
||||
const char * buf ATTRIBUTE_UNUSED;
|
||||
CGEN_INSN_INT value ATTRIBUTE_UNUSED;
|
||||
dis_hash_insn (const char *buf ATTRIBUTE_UNUSED,
|
||||
CGEN_INSN_INT value ATTRIBUTE_UNUSED)
|
||||
{
|
||||
return CGEN_DIS_HASH (buf, value);
|
||||
}
|
||||
|
@ -968,15 +968,13 @@ static const CGEN_OPCODE or1k_cgen_macro_insn_opcode_table[] =
|
||||
Targets are free to override CGEN_{ASM,DIS}_HASH_P in the .opc file. */
|
||||
|
||||
static int
|
||||
asm_hash_insn_p (insn)
|
||||
const CGEN_INSN *insn ATTRIBUTE_UNUSED;
|
||||
asm_hash_insn_p (const CGEN_INSN *insn ATTRIBUTE_UNUSED)
|
||||
{
|
||||
return CGEN_ASM_HASH_P (insn);
|
||||
}
|
||||
|
||||
static int
|
||||
dis_hash_insn_p (insn)
|
||||
const CGEN_INSN *insn;
|
||||
dis_hash_insn_p (const CGEN_INSN *insn)
|
||||
{
|
||||
/* If building the hash table and the NO-DIS attribute is present,
|
||||
ignore. */
|
||||
@ -1008,8 +1006,7 @@ dis_hash_insn_p (insn)
|
||||
Targets are free to override CGEN_{ASM,DIS}_HASH in the .opc file. */
|
||||
|
||||
static unsigned int
|
||||
asm_hash_insn (mnem)
|
||||
const char * mnem;
|
||||
asm_hash_insn (const char *mnem)
|
||||
{
|
||||
return CGEN_ASM_HASH (mnem);
|
||||
}
|
||||
@ -1018,9 +1015,8 @@ asm_hash_insn (mnem)
|
||||
VALUE is the first base_insn_bitsize bits as an int in host order. */
|
||||
|
||||
static unsigned int
|
||||
dis_hash_insn (buf, value)
|
||||
const char * buf ATTRIBUTE_UNUSED;
|
||||
CGEN_INSN_INT value ATTRIBUTE_UNUSED;
|
||||
dis_hash_insn (const char *buf ATTRIBUTE_UNUSED,
|
||||
CGEN_INSN_INT value ATTRIBUTE_UNUSED)
|
||||
{
|
||||
return CGEN_DIS_HASH (buf, value);
|
||||
}
|
||||
|
@ -579,8 +579,7 @@ static const CGEN_OPINST *or1k_cgen_opinst_table[MAX_INSNS] = {
|
||||
/* Function to call before using the operand instance table. */
|
||||
|
||||
void
|
||||
or1k_cgen_init_opinst_table (cd)
|
||||
CGEN_CPU_DESC cd;
|
||||
or1k_cgen_init_opinst_table (CGEN_CPU_DESC cd)
|
||||
{
|
||||
int i;
|
||||
const CGEN_OPINST **oi = & or1k_cgen_opinst_table[0];
|
||||
|
@ -233,9 +233,7 @@ const int tic80_num_predefined_symbols = sizeof (tic80_predefined_symbols) / siz
|
||||
*/
|
||||
|
||||
int
|
||||
tic80_symbol_to_value (name, symbol_class)
|
||||
char *name;
|
||||
int symbol_class;
|
||||
tic80_symbol_to_value (char *name, int symbol_class)
|
||||
{
|
||||
const struct predefined_symbol *pdsp;
|
||||
int low = 0;
|
||||
@ -275,9 +273,7 @@ tic80_symbol_to_value (name, symbol_class)
|
||||
is zero, the first matching symbol is returned. */
|
||||
|
||||
const char *
|
||||
tic80_value_to_symbol (val, symbol_class)
|
||||
int val;
|
||||
int symbol_class;
|
||||
tic80_value_to_symbol (int val, int symbol_class)
|
||||
{
|
||||
const struct predefined_symbol *pdsp;
|
||||
int ival;
|
||||
@ -310,8 +306,7 @@ tic80_value_to_symbol (val, symbol_class)
|
||||
returns NULL. */
|
||||
|
||||
const struct predefined_symbol *
|
||||
tic80_next_predefined_symbol (pdsp)
|
||||
const struct predefined_symbol *pdsp;
|
||||
tic80_next_predefined_symbol (const struct predefined_symbol *pdsp)
|
||||
{
|
||||
if (pdsp == NULL)
|
||||
{
|
||||
|
@ -2939,15 +2939,13 @@ static const CGEN_OPCODE xc16x_cgen_macro_insn_opcode_table[] =
|
||||
Targets are free to override CGEN_{ASM,DIS}_HASH_P in the .opc file. */
|
||||
|
||||
static int
|
||||
asm_hash_insn_p (insn)
|
||||
const CGEN_INSN *insn ATTRIBUTE_UNUSED;
|
||||
asm_hash_insn_p (const CGEN_INSN *insn ATTRIBUTE_UNUSED)
|
||||
{
|
||||
return CGEN_ASM_HASH_P (insn);
|
||||
}
|
||||
|
||||
static int
|
||||
dis_hash_insn_p (insn)
|
||||
const CGEN_INSN *insn;
|
||||
dis_hash_insn_p (const CGEN_INSN *insn)
|
||||
{
|
||||
/* If building the hash table and the NO-DIS attribute is present,
|
||||
ignore. */
|
||||
@ -2979,8 +2977,7 @@ dis_hash_insn_p (insn)
|
||||
Targets are free to override CGEN_{ASM,DIS}_HASH in the .opc file. */
|
||||
|
||||
static unsigned int
|
||||
asm_hash_insn (mnem)
|
||||
const char * mnem;
|
||||
asm_hash_insn (const char *mnem)
|
||||
{
|
||||
return CGEN_ASM_HASH (mnem);
|
||||
}
|
||||
@ -2989,9 +2986,8 @@ asm_hash_insn (mnem)
|
||||
VALUE is the first base_insn_bitsize bits as an int in host order. */
|
||||
|
||||
static unsigned int
|
||||
dis_hash_insn (buf, value)
|
||||
const char * buf ATTRIBUTE_UNUSED;
|
||||
CGEN_INSN_INT value ATTRIBUTE_UNUSED;
|
||||
dis_hash_insn (const char *buf ATTRIBUTE_UNUSED,
|
||||
CGEN_INSN_INT value ATTRIBUTE_UNUSED)
|
||||
{
|
||||
return CGEN_DIS_HASH (buf, value);
|
||||
}
|
||||
|
@ -1063,15 +1063,13 @@ static const CGEN_OPCODE xstormy16_cgen_macro_insn_opcode_table[] =
|
||||
Targets are free to override CGEN_{ASM,DIS}_HASH_P in the .opc file. */
|
||||
|
||||
static int
|
||||
asm_hash_insn_p (insn)
|
||||
const CGEN_INSN *insn ATTRIBUTE_UNUSED;
|
||||
asm_hash_insn_p (const CGEN_INSN *insn ATTRIBUTE_UNUSED)
|
||||
{
|
||||
return CGEN_ASM_HASH_P (insn);
|
||||
}
|
||||
|
||||
static int
|
||||
dis_hash_insn_p (insn)
|
||||
const CGEN_INSN *insn;
|
||||
dis_hash_insn_p (const CGEN_INSN *insn)
|
||||
{
|
||||
/* If building the hash table and the NO-DIS attribute is present,
|
||||
ignore. */
|
||||
@ -1103,8 +1101,7 @@ dis_hash_insn_p (insn)
|
||||
Targets are free to override CGEN_{ASM,DIS}_HASH in the .opc file. */
|
||||
|
||||
static unsigned int
|
||||
asm_hash_insn (mnem)
|
||||
const char * mnem;
|
||||
asm_hash_insn (const char *mnem)
|
||||
{
|
||||
return CGEN_ASM_HASH (mnem);
|
||||
}
|
||||
@ -1113,9 +1110,8 @@ asm_hash_insn (mnem)
|
||||
VALUE is the first base_insn_bitsize bits as an int in host order. */
|
||||
|
||||
static unsigned int
|
||||
dis_hash_insn (buf, value)
|
||||
const char * buf ATTRIBUTE_UNUSED;
|
||||
CGEN_INSN_INT value ATTRIBUTE_UNUSED;
|
||||
dis_hash_insn (const char *buf ATTRIBUTE_UNUSED,
|
||||
CGEN_INSN_INT value ATTRIBUTE_UNUSED)
|
||||
{
|
||||
return CGEN_DIS_HASH (buf, value);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user