[PATCH] [MIPS] Improve interlinking error message
Catherine Moore
clm@codesourcery.com
Tue Aug 10 00:01:00 GMT 2010
I'm going to commit this version:
Direct jumps between ISA modes are not allowed; consider recompiling
with interlinking enabled.
As Maciej mentioned, the microMIPS port is affected by the text of the
error message.
Thanks,
Catherine
Richard Sandiford wrote:
> Catherine Moore <clm@codesourcery.com> writes:
>> This patch improves the error message that is displayed if an assembly
>> language routine tries to use an invalid jump instruction to change modes.
>
> Thanks for doing this. I agree the current message is poor, and your
> patch is definitely an improvement.
>
> As an alternative, what do you think about:
>
> Jumps between ISA modes must be performed by JAL or JALX.
>
> or:
>
> Direct jumps between ISA modes are not allowed.
>
> In either case you could add:
>
> ; consider recompiling with interlinking enabled
>
> or (if we don't mind the MIPS16 reference):
>
> ; consider recompiling with -minterlink-mips16
>
> The patch is OK with any of these changes, or as it stands.
>
> Richard
More information about the Binutils
mailing list