This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: RFC: Is it OK to disassemble instructions twice ?
Hi Alan,
> Yes, that part is fine. However, you had
>
> if (distance_to_rel > 0
> && aux->abfd->arch_info->max_reloc_offset_into_insn <= distance_to_rel)
>
> and initialised all (or practically all, I didn't check in detail) the
> max_reloc_offset_into_insn fields to zero. That would make all
> targets that set disassembler_needs_relocs disassemble insns twice.
Doh! Sorry, I totally missed that. Please apply your fix. Thanks. :-)
Cheers
Nick