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 Tamar,
> But simply removing the code around the FIXME gets it to generate the right code.
For the ARM yes, but not necessarily other architectures.
So either the disassembler needs to know that for a given
architecture all possible relocs will always address the
start of an instruction, or else it needs a way to determine
the length of the instruction. (With the possibility that
if a maximum instruction length is known, then the length
test is only needed if the relocation is nearby).
Cheers
Nick