Lines Matching refs:info
1631 /* Print one coprocessor instruction on INFO->STREAM.
1636 print_insn_coprocessor (bfd_vma pc, struct disassemble_info *info, long given,
1640 void *stream = info->stream;
1641 fprintf_ftype func = info->fprintf_func;
1649 && info->mach != bfd_mach_arm_XScale
1650 && info->mach != bfd_mach_arm_iWMMXt
1651 && info->mach != bfd_mach_arm_iWMMXt2)
1763 /* FIXME: Unsure if info->bytes_per_chunk is the
1765 info->print_address_func (offset + pc
1766 + info->bytes_per_chunk * 2, info);
2132 print_arm_address (bfd_vma pc, struct disassemble_info *info, long given)
2134 void *stream = info->stream;
2135 fprintf_ftype func = info->fprintf_func;
2171 info->print_address_func (offset, info);
2221 /* Print one neon instruction on INFO->STREAM.
2226 print_insn_neon (struct disassemble_info *info, long given, bfd_boolean thumb)
2229 void *stream = info->stream;
2230 fprintf_ftype func = info->fprintf_func;
2680 /* Print one ARM instruction from PC on INFO->STREAM. */
2683 print_insn_arm_internal (bfd_vma pc, struct disassemble_info *info, long given)
2686 void *stream = info->stream;
2687 fprintf_ftype func = info->fprintf_func;
2689 if (print_insn_coprocessor (pc, info, given, FALSE))
2692 if (print_insn_neon (info, given, FALSE))
2698 && info->mach != bfd_mach_arm_XScale
2699 && info->mach != bfd_mach_arm_iWMMXt)
2723 print_arm_address (pc, info, given);
2729 print_arm_address (pc, info, given | (1 << 24));
2742 info->print_address_func (offset + pc + 8, info);
2801 info->print_address_func (disp*4 + pc + 8, info);
2908 info->print_address_func (address, info);
3040 /* Print one 16-bit Thumb instruction from PC on INFO->STREAM. */
3043 print_insn_thumb16 (bfd_vma pc, struct disassemble_info *info, long given)
3046 void *stream = info->stream;
3047 fprintf_ftype func = info->fprintf_func;
3179 info->print_address_func (address, info);
3238 info->print_address_func
3239 (((pc + 4) & ~3) + (reg << 2), info);
3248 info->print_address_func (reg * 2 + pc + 4, info);
3316 /* Print one 32-bit Thumb instruction from PC on INFO->STREAM. */
3319 print_insn_thumb32 (bfd_vma pc, struct disassemble_info *info, long given)
3322 void *stream = info->stream;
3323 fprintf_ftype func = info->fprintf_func;
3325 if (print_insn_coprocessor (pc, info, given, TRUE))
3328 if (print_insn_neon (info, given, TRUE))
3528 info->print_address_func (((pc + 4) & ~3) + offset, info);
3633 info->print_address_func (pc + 4 + offset, info);
3656 info->print_address_func (offset, info);
3772 /* Print data bytes on INFO->STREAM. */
3775 print_insn_data (bfd_vma pc ATTRIBUTE_UNUSED, struct disassemble_info *info,
3778 switch (info->bytes_per_chunk)
3781 info->fprintf_func (info->stream, ".byte\t0x%02lx", given);
3784 info->fprintf_func (info->stream, ".short\t0x%04lx", given);
3787 info->fprintf_func (info->stream, ".word\t0x%08lx", given);
3797 find_ifthen_state (bfd_vma pc, struct disassemble_info *info,
3822 if (addr == 0 || info->symbol_at_address_func(addr, info))
3832 status = info->read_memory_func (addr, (bfd_byte *)b, 2, info);
3876 print_insn_arm (bfd_vma pc, struct disassemble_info *info)
3888 if (info->disassembler_options)
3890 parse_disassembler_options (info->disassembler_options);
3893 info->disassembler_options = NULL;
3898 if (info->symtab != NULL
3899 && bfd_asymbol_flavour (*info->symtab) == bfd_target_elf_flavour)
3912 n = info->symtab_pos + 1;
3917 for (; n < info->symtab_size; n++)
3919 addr = bfd_asymbol_value (info->symtab[n]);
3922 if ((info->section == NULL
3923 || info->section == info->symtab[n]->section)
3924 && get_sym_code_type (info, n, &type))
3933 n = info->symtab_pos;
3941 if (get_sym_code_type (info, n, &type))
3962 for (n = last_sym + 1; n < info->symtab_size; n++)
3964 addr = bfd_asymbol_value (info->symtab[n]);
3980 if (info->symbols != NULL)
3982 if (bfd_asymbol_flavour (*info->symbols) == bfd_target_coff_flavour)
3986 cs = coffsymbol (*info->symbols);
3993 else if (bfd_asymbol_flavour (*info->symbols) == bfd_target_elf_flavour
4001 es = *(elf_symbol_type **)(info->symbols);
4010 little = (info->endian == BFD_ENDIAN_LITTLE);
4018 info->bytes_per_line = 4;
4025 info->bytes_per_chunk = size;
4028 status = info->read_memory_func (pc, (bfd_byte *)b, size, info);
4042 info->bytes_per_chunk = 4;
4045 status = info->read_memory_func (pc, (bfd_byte *)b, 4, info);
4058 info->bytes_per_chunk = 2;
4061 status = info->read_memory_func (pc, (bfd_byte *)b, 2, info);
4075 status = info->read_memory_func (pc + 2, (bfd_byte *)b, 2, info);
4087 find_ifthen_state(pc, info, little);
4101 info->memory_error_func (status, pc, info);
4104 if (info->flags & INSN_HAS_RELOC)
4112 printer (pc, info, given);