/toolchain/binutils/binutils-2.25/opcodes/ |
D | hppa-dis.c | 173 #define fputs_filtered(STR,F) (*info->fprintf_func) (info->stream, "%s", STR) 176 fput_reg (unsigned reg, disassemble_info *info) in fput_reg() argument 178 (*info->fprintf_func) (info->stream, "%s", reg ? reg_names[reg] : "r0"); in fput_reg() 182 fput_fp_reg (unsigned reg, disassemble_info *info) in fput_fp_reg() argument 184 (*info->fprintf_func) (info->stream, "%s", reg ? fp_reg_names[reg] : "fr0"); in fput_fp_reg() 188 fput_fp_reg_r (unsigned reg, disassemble_info *info) in fput_fp_reg_r() argument 192 (*info->fprintf_func) (info->stream, "fpe%d", reg * 2 + 1); in fput_fp_reg_r() 194 (*info->fprintf_func) (info->stream, "%sR", in fput_fp_reg_r() 199 fput_creg (unsigned reg, disassemble_info *info) in fput_creg() argument 201 (*info->fprintf_func) (info->stream, "%s", control_reg[reg]); in fput_creg() [all …]
|
D | m10300-dis.c | 27 #define HAVE_AM33_2 (info->mach == AM33_2) 28 #define HAVE_AM33 (info->mach == AM33 || HAVE_AM33_2) 29 #define HAVE_AM30 (info->mach == AM30) 33 struct disassemble_info *info, in disassemble() argument 115 status = (*info->read_memory_func) (memaddr + 1, buffer, 2, info); in disassemble() 118 (*info->memory_error_func) (status, memaddr, info); in disassemble() 139 status = (*info->read_memory_func) (memaddr + 2, buffer, 2, info); in disassemble() 142 (*info->memory_error_func) (status, memaddr, info); in disassemble() 153 status = (*info->read_memory_func) (memaddr + 1, buffer, 4, info); in disassemble() 156 (*info->memory_error_func) (status, memaddr, info); in disassemble() [all …]
|
D | m68hc11-dis.c | 56 struct disassemble_info* info) in read_memory() argument 62 status = (*info->read_memory_func) (memaddr, buffer, size, info); in read_memory() 65 (*info->memory_error_func) (status, memaddr, info); in read_memory() 75 print_indexed_operand (bfd_vma memaddr, struct disassemble_info* info, in print_indexed_operand() argument 88 status = read_memory (memaddr, &buffer[0], 1, info); in print_indexed_operand() 102 if (reg == PC_REGNUM && info->mach == bfd_mach_m6812 && mov_insn) in print_indexed_operand() 104 (*info->fprintf_func) (info->stream, "0x%x,%s", in print_indexed_operand() 109 (* info->fprintf_func) (info->stream, " {"); in print_indexed_operand() 110 if (info->symtab_size > 0) /* Avoid duplicate 0x from core binutils. */ in print_indexed_operand() 111 (*info->fprintf_func) (info->stream, "0x"); in print_indexed_operand() [all …]
|
D | m68k-dis.c | 65 if (!FETCH_DATA (info, p)) \ 78 if (!FETCH_DATA (info, p)) \ 91 if (!FETCH_DATA (info, p)) \ 102 if (!FETCH_DATA (info, p)) \ 113 if (!FETCH_DATA (info, p)) \ 125 if (!FETCH_DATA (info, p)) \ 137 if (!FETCH_DATA (info, p)) \ 152 if (!FETCH_DATA (info, p)) \ 172 #define FETCH_DATA(info, addr) \ argument 173 ((addr) <= ((struct private *) (info->private_data))->max_fetched \ [all …]
|
D | vax-dis.c | 54 (p += 1, FETCH_DATA (info, p), \ 60 (p += 2, FETCH_DATA (info, p), \ 66 (p += 4, FETCH_DATA (info, p), \ 84 #define FETCH_DATA(info, addr) \ argument 85 ((addr) <= ((struct private *)(info->private_data))->max_fetched \ 86 ? 1 : fetch_data ((info), (addr))) 89 fetch_data (struct disassemble_info *info, bfd_byte *addr) in fetch_data() argument 92 struct private *priv = (struct private *) info->private_data; in fetch_data() 95 status = (*info->read_memory_func) (start, in fetch_data() 98 info); in fetch_data() [all …]
|
D | mep-dis.c | 75 disassemble_info *info = (disassemble_info *) dis_info; in print_tpreg() local 77 (*info->fprintf_func) (info->stream, "$tp"); in print_tpreg() 85 disassemble_info *info = (disassemble_info *) dis_info; in print_spreg() local 87 (*info->fprintf_func) (info->stream, "$sp"); in print_spreg() 131 mep_print_vliw_insns (CGEN_CPU_DESC cd, bfd_vma pc, disassemble_info *info, in mep_print_vliw_insns() argument 151 my_status = print_insn (cd, pc, info, insnbuf, corelength); in mep_print_vliw_insns() 154 (*info->fprintf_func) (info->stream, UNKNOWN_INSN_MSG); in mep_print_vliw_insns() 162 (*info->fprintf_func) (info->stream, " + "); in mep_print_vliw_insns() 199 my_status = print_insn (cd, pc, info, insnbuf, copro1length); in mep_print_vliw_insns() 203 (*info->fprintf_func) (info->stream, UNKNOWN_INSN_MSG); in mep_print_vliw_insns() [all …]
|
D | m32c-dis.c | 70 disassemble_info *info = dis_info; in print_suffix() local 72 (*info->fprintf_func) (info->stream, ":%c", suffix); in print_suffix() 141 disassemble_info *info = dis_info; in print_r0l_r0h() local 144 (*info->fprintf_func) (info->stream, "r0h,r0l"); in print_r0l_r0h() 146 (*info->fprintf_func) (info->stream, "r0l,r0h"); in print_r0l_r0h() 157 disassemble_info *info = dis_info; in print_unsigned_bitbase() local 159 (*info->fprintf_func) (info->stream, "%ld,0x%lx", value & 0x7, value >> 3); in print_unsigned_bitbase() 170 disassemble_info *info = dis_info; in print_signed_bitbase() local 172 (*info->fprintf_func) (info->stream, "%ld,%ld", value & 0x7, value >> 3); in print_signed_bitbase() 184 disassemble_info *info = dis_info; in print_size() local [all …]
|
D | tic54x-dis.c | 49 print_insn_tic54x (bfd_vma memaddr, disassemble_info *info) in print_insn_tic54x() argument 56 status = (*info->read_memory_func) (memaddr, opbuf, 2, info); in print_insn_tic54x() 59 (*info->memory_error_func) (status, memaddr, info); in print_insn_tic54x() 64 tm = tic54x_get_insn (info, memaddr, opcode, &size); in print_insn_tic54x() 66 info->bytes_per_line = 2; in print_insn_tic54x() 67 info->bytes_per_chunk = 2; in print_insn_tic54x() 68 info->octets_per_byte = 2; in print_insn_tic54x() 69 info->display_endian = BFD_ENDIAN_LITTLE; in print_insn_tic54x() 73 if (!print_parallel_instruction (info, memaddr, opcode, tm, size)) in print_insn_tic54x() 78 if (!print_instruction (info, memaddr, opcode, in print_insn_tic54x() [all …]
|
D | spu-dis.c | 93 print_insn_spu (bfd_vma memaddr, struct disassemble_info *info) in print_insn_spu() argument 103 status = (*info->read_memory_func) (memaddr, buffer, 4, info); in print_insn_spu() 106 (*info->memory_error_func) (status, memaddr, info); in print_insn_spu() 116 (*info->fprintf_func) (info->stream, ".long 0x%x", insn); in print_insn_spu() 123 (*info->fprintf_func) (info->stream, "%s", op_index->mnemonic); in print_insn_spu() 130 (*info->fprintf_func) (info->stream, tag == M_SYNC ? "c" : "p"); in print_insn_spu() 132 (*info->fprintf_func) (info->stream, "d"); in print_insn_spu() 134 (*info->fprintf_func) (info->stream, "e"); in print_insn_spu() 137 (*info->fprintf_func) (info->stream, "\t"); in print_insn_spu() 143 (*info->fprintf_func) (info->stream, ","); in print_insn_spu() [all …]
|
D | i860-dis.c | 75 print_br_address (disassemble_info *info, bfd_vma memaddr, long val) in print_br_address() argument 80 (*info->fprintf_func) (info->stream, "0x%08lx", adj); in print_br_address() 84 if (info->print_address_func && adj != 0) in print_br_address() 86 (*info->fprintf_func) (info->stream, "\t// "); in print_br_address() 87 (*info->print_address_func) (adj, info); in print_br_address() 94 print_insn_i860 (bfd_vma memaddr, disassemble_info *info) in print_insn_i860() argument 101 status = (*info->read_memory_func) (memaddr, buff, sizeof (buff), info); in print_insn_i860() 104 (*info->memory_error_func) (status, memaddr, info); in print_insn_i860() 129 (*info->fprintf_func) (info->stream, ".long %#08x", insn); in print_insn_i860() 141 (*info->fprintf_func) (info->stream, "d.%s\t", opcode->name); in print_insn_i860() [all …]
|
D | mmix-dis.c | 72 initialize_mmix_dis_info (struct disassemble_info *info) in initialize_mmix_dis_info() argument 84 if ((info->section != NULL && info->section->owner != NULL) in initialize_mmix_dis_info() 85 || (info->symbols != NULL in initialize_mmix_dis_info() 86 && info->symbols[0] != NULL in initialize_mmix_dis_info() 87 && bfd_asymbol_bfd (info->symbols[0]) != NULL)) in initialize_mmix_dis_info() 89 bfd *abfd = info->section && info->section->owner != NULL in initialize_mmix_dis_info() 90 ? info->section->owner in initialize_mmix_dis_info() 91 : bfd_asymbol_bfd (info->symbols[0]); in initialize_mmix_dis_info() 134 info->private_data = (void *) minfop; in initialize_mmix_dis_info() 245 print_insn_mmix (bfd_vma memaddr, struct disassemble_info *info) in print_insn_mmix() argument [all …]
|
D | tic80-dis.c | 35 print_operand_integer (struct disassemble_info *info, long value) in print_operand_integer() argument 38 (*info->fprintf_func) (info->stream, "%#lx", value); in print_operand_integer() 40 (*info->fprintf_func) (info->stream, "%ld", value); in print_operand_integer() 48 print_operand_float (struct disassemble_info *info, long value) in print_operand_float() argument 53 (*info->fprintf_func) (info->stream, "%g", fval.f); in print_operand_float() 57 print_operand_control_register (struct disassemble_info *info, long value) in print_operand_control_register() argument 63 (*info->fprintf_func) (info->stream, "%s", tmp); in print_operand_control_register() 65 (*info->fprintf_func) (info->stream, "%#lx", value); in print_operand_control_register() 69 print_operand_condition_code (struct disassemble_info *info, long value) in print_operand_condition_code() argument 75 (*info->fprintf_func) (info->stream, "%s", tmp); in print_operand_condition_code() [all …]
|
D | tic4x-dis.c | 115 tic4x_print_char (struct disassemble_info * info, char ch) in tic4x_print_char() argument 117 if (info != NULL) in tic4x_print_char() 118 (*info->fprintf_func) (info->stream, "%c", ch); in tic4x_print_char() 123 tic4x_print_str (struct disassemble_info *info, char *str) in tic4x_print_str() argument 125 if (info != NULL) in tic4x_print_str() 126 (*info->fprintf_func) (info->stream, "%s", str); in tic4x_print_str() 131 tic4x_print_register (struct disassemble_info *info, unsigned long regno) in tic4x_print_register() argument 152 if (info != NULL) in tic4x_print_register() 153 (*info->fprintf_func) (info->stream, "%s", registertable[regno]->name); in tic4x_print_register() 158 tic4x_print_addr (struct disassemble_info *info, unsigned long addr) in tic4x_print_addr() argument [all …]
|
D | m10200-dis.c | 29 struct disassemble_info *info, in disassemble() argument 75 (*info->fprintf_func) (info->stream, "%s\t", op->name); in disassemble() 104 (*info->fprintf_func) (info->stream, ","); in disassemble() 112 (*info->fprintf_func) (info->stream, "d%ld", value); in disassemble() 119 (*info->fprintf_func) (info->stream, "a%ld", value); in disassemble() 123 (*info->fprintf_func) (info->stream, "psw"); in disassemble() 126 (*info->fprintf_func) (info->stream, "mdr"); in disassemble() 131 (*info->fprintf_func) (info->stream, ")"); in disassemble() 134 (*info->fprintf_func) (info->stream, "("); in disassemble() 141 (*info->print_address_func) in disassemble() [all …]
|
D | d30v-dis.c | 118 print_insn (struct disassemble_info *info, in print_insn() argument 129 (*info->fprintf_func) (info->stream, "%s", insn->op->name); in print_insn() 139 (*info->fprintf_func) (info->stream, "%s", d30v_cc_names[val]); in print_insn() 146 (*info->fprintf_func) (info->stream, ".l"); in print_insn() 148 (*info->fprintf_func) (info->stream, ".s"); in print_insn() 152 (*info->fprintf_func) (info->stream, "/%s", d30v_ecc_names[insn->ecc]); in print_insn() 154 (*info->fprintf_func) (info->stream, "\t"); in print_insn() 170 (*info->fprintf_func) (info->stream, ", "); in print_insn() 175 (*info->fprintf_func) (info->stream, "@-"); in print_insn() 180 (*info->fprintf_func) (info->stream, "-"); in print_insn() [all …]
|
D | d10v-dis.c | 35 struct disassemble_info *info) in print_operand() argument 41 (*info->fprintf_func) (info->stream, "@-"); in print_operand() 46 (*info->fprintf_func) (info->stream, "-"); in print_operand() 51 (*info->fprintf_func) (info->stream, "+"); in print_operand() 56 (*info->fprintf_func) (info->stream, "@"); in print_operand() 61 (*info->fprintf_func) (info->stream, "@("); in print_operand() 87 (*info->fprintf_func) (info->stream, "%s", in print_operand() 90 (*info->fprintf_func) (info->stream, "%s", in print_operand() 101 (*info->fprintf_func) (info->stream, "a"); in print_operand() 103 (*info->fprintf_func) (info->stream, "cr"); in print_operand() [all …]
|
D | frv-dis.c | 69 disassemble_info *info = (disassemble_info *) dis_info; in print_at() local 71 (*info->fprintf_func) (info->stream, "@"); in print_at() 84 disassemble_info *info = (disassemble_info *) dis_info; in print_spr() local 85 (*info->fprintf_func) (info->stream, "spr[%ld]", regno); in print_spr() 99 disassemble_info *info = (disassemble_info *) dis_info; in print_hi() local 101 (*info->fprintf_func) (info->stream, value ? "0x%lx" : "hi(0x%lx)", value); in print_hi() 112 disassemble_info *info = (disassemble_info *) dis_info; in print_lo() local 114 (*info->fprintf_func) (info->stream, "0x%lx", value); in print_lo() 116 (*info->fprintf_func) (info->stream, "lo(0x%lx)", value); in print_lo() 148 disassemble_info *info = (disassemble_info *) xinfo; in frv_cgen_print_operand() local [all …]
|
D | v850-dis.c | 91 struct disassemble_info *info, in print_value() argument 100 info->print_address_func (addr, info); in print_value() 106 info->fprintf_func (info->stream, "%ld", value); in print_value() 110 info->fprintf_func (info->stream, "%lu", value); in print_value() 116 info->fprintf_func (info->stream, "0x%lx", value); in print_value() 122 info->fprintf_func (info->stream, "%ld", value); in print_value() 126 info->fprintf_func (info->stream, "%lu", value); in print_value() 136 struct disassemble_info * info, in get_operand_value() argument 146 int status = info->read_memory_func (memaddr + bytes_read, buffer, 2, info); in get_operand_value() 161 info->memory_error_func (status, memaddr + bytes_read, info); in get_operand_value() [all …]
|
D | xc16x-dis.c | 75 disassemble_info *info = (disassemble_info *) dis_info; in print_with_dot_prefix() local 77 info->fprintf_func (info->stream, "."); in print_with_dot_prefix() 78 info->fprintf_func (info->stream, "0x%lx", value); in print_with_dot_prefix() 94 disassemble_info *info = (disassemble_info *) dis_info; in print_with_pof_prefix() local 96 info->fprintf_func (info->stream, "#pof:"); in print_with_pof_prefix() 97 info->fprintf_func (info->stream, "0x%lx", (long) value); in print_with_pof_prefix() 113 disassemble_info *info = (disassemble_info *) dis_info; in print_with_pag_prefix() local 115 info->fprintf_func (info->stream, "#pag:"); in print_with_pag_prefix() 116 info->fprintf_func (info->stream, "0x%lx", value); in print_with_pag_prefix() 153 disassemble_info *info = (disassemble_info *) dis_info; in print_sof() local [all …]
|
D | sparc-dis.c | 464 print_insn_sparc (bfd_vma memaddr, disassemble_info *info) in print_insn_sparc() argument 466 FILE *stream = info->stream; in print_insn_sparc() 477 || info->mach != current_mach) in print_insn_sparc() 481 current_arch_mask = compute_arch_mask (info->mach); in print_insn_sparc() 493 current_mach = info->mach; in print_insn_sparc() 499 (*info->read_memory_func) (memaddr, buffer, sizeof (buffer), info); in print_insn_sparc() 503 (*info->memory_error_func) (status, memaddr, info); in print_insn_sparc() 510 if (info->endian == BFD_ENDIAN_BIG || info->mach == bfd_mach_sparc_sparclite) in print_insn_sparc() 517 info->insn_info_valid = 1; /* We do return this info. */ in print_insn_sparc() 518 info->insn_type = dis_nonbranch; /* Assume non branch insn. */ in print_insn_sparc() [all …]
|
D | m32r-dis.c | 72 disassemble_info *info = (disassemble_info *) dis_info; in print_signed_with_hash_prefix() local 74 (*info->fprintf_func) (info->stream, "#"); in print_signed_with_hash_prefix() 75 (*info->fprintf_func) (info->stream, "%ld", value); in print_signed_with_hash_prefix() 88 disassemble_info *info = (disassemble_info *) dis_info; in print_unsigned_with_hash_prefix() local 90 (*info->fprintf_func) (info->stream, "#"); in print_unsigned_with_hash_prefix() 91 (*info->fprintf_func) (info->stream, "0x%lx", value); in print_unsigned_with_hash_prefix() 104 disassemble_info *info = (disassemble_info *) dis_info; in print_hash() local 106 (*info->fprintf_func) (info->stream, "#"); in print_hash() 115 disassemble_info *info) in my_print_insn() argument 126 status = (*info->read_memory_func) (pc - ((!big_p && (pc & 3) != 0) ? 2 : 0), in my_print_insn() [all …]
|
D | ip2k-dis.c | 70 disassemble_info *info = (disassemble_info *) dis_info; in print_fr() local 78 (*info->fprintf_func) (info->stream, "%s", "(IP)"); in print_fr() 89 (*info->fprintf_func) (info->stream, "%s","(DP)"); in print_fr() 91 (*info->fprintf_func) (info->stream, "$%lx%s", offsetvalue, "(DP)"); in print_fr() 99 (*info->fprintf_func) (info->stream, "%s", "(SP)"); in print_fr() 101 (*info->fprintf_func) (info->stream, "$%lx%s", offsetvalue,"(SP)"); in print_fr() 109 (*info->fprintf_func) (info->stream, "%s", ke->name); in print_fr() 112 (*info->fprintf_func) (info->stream, "$%02lx", value); in print_fr() 123 disassemble_info *info = (disassemble_info *) dis_info; in print_dollarhex() local 125 (*info->fprintf_func) (info->stream, "$%lx", value); in print_dollarhex() [all …]
|
/toolchain/binutils/binutils-2.25/binutils/ |
D | ieee.c | 295 ieee_error (struct ieee_info *info, const bfd_byte *p, const char *s) in ieee_error() argument 298 fprintf (stderr, "%s: 0x%lx: %s (0x%x)\n", bfd_get_filename (info->abfd), in ieee_error() 299 (unsigned long) (p - info->bytes), s, *p); in ieee_error() 301 fprintf (stderr, "%s: %s\n", bfd_get_filename (info->abfd), s); in ieee_error() 307 ieee_eof (struct ieee_info *info) in ieee_eof() argument 309 ieee_error (info, (const bfd_byte *) NULL, in ieee_eof() 329 ieee_read_number (struct ieee_info *info, const bfd_byte **pp, bfd_vma *pv) in ieee_read_number() argument 331 return ieee_read_optional_number (info, pp, pv, (bfd_boolean *) NULL); in ieee_read_number() 338 ieee_read_optional_number (struct ieee_info *info, const bfd_byte **pp, in ieee_read_optional_number() argument 343 if (*pp >= info->pend) in ieee_read_optional_number() [all …]
|
D | prdbg.c | 296 struct pr_handle info; in print_debugging_info() local 298 info.f = f; in print_debugging_info() 299 info.indent = 0; in print_debugging_info() 300 info.stack = NULL; in print_debugging_info() 301 info.parameter = 0; in print_debugging_info() 302 info.filename = NULL; in print_debugging_info() 303 info.abfd = abfd; in print_debugging_info() 304 info.syms = syms; in print_debugging_info() 305 info.demangler = (char * (*)(struct bfd *, const char *, int)) demangler; in print_debugging_info() 315 return as_tags ? debug_write (dhandle, &tg_fns, (void *) & info) in print_debugging_info() [all …]
|
D | wrstabs.c | 338 stab_write_symbol (struct stab_write_handle *info, int type, int desc, in stab_write_symbol() argument 350 h = string_hash_lookup (&info->strhash, string, TRUE, TRUE); in stab_write_symbol() 361 strx = info->strings_size; in stab_write_symbol() 363 if (info->last_string == NULL) in stab_write_symbol() 364 info->strings = h; in stab_write_symbol() 366 info->last_string->next = h; in stab_write_symbol() 367 info->last_string = h; in stab_write_symbol() 368 info->strings_size += strlen (string) + 1; in stab_write_symbol() 373 bfd_put_32 (info->abfd, strx, sym); in stab_write_symbol() 374 bfd_put_8 (info->abfd, type, sym + 4); in stab_write_symbol() [all …]
|