[PATCH v2] Work around the NOP issue of Loongson2F
Richard Sandiford
rdsandiford@googlemail.com
Mon Nov 16 20:12:00 GMT 2009
Richard Sandiford <rdsandiford@googlemail.com> writes:
> Not correctly formatted. You shouldn't need anything so complex though;
> just use:
>
> append_insn (NOP_INSN, 0, BFD_RELOC_NONE);
Err, sorry, I misremembered the interface. Let's move:
bfd_reloc_code_real_type unused_reloc[3]
= {BFD_RELOC_UNUSED, BFD_RELOC_UNUSED, BFD_RELOC_UNUSED};
from the start of md_assemble to the top level, putting it
after offset_reloc. Then use:
append_insn (NOP_INSN, 0, &unused_reloc);
Richard
More information about the Binutils
mailing list