RFA: A lousy ARM gas warning
Richard Earnshaw
rearnsha@arm.com
Fri Jan 23 10:05:00 GMT 2004
> Just something I stumbled across when writing testcases this morning. If
> you say:
> ===
> ldr a1, .Lfoo
>
> .long foo
> ===
> and forget to put a label on your constant pool, you get:
>
> Error: internal_relocation (type: OFFSET_IMM) not fixed up
>
> I'd rather see "Error: undefined local label `.Lfoo'" since we've got enough
> information to do that. OK?
>
> --
> Daniel Jacobowitz
> MontaVista Software Debian GNU/Linux Developer
>
> 2004-01-22 Daniel Jacobowitz <drow@mvista.com>
>
> * config/tc-arm.c (tc_gen_reloc): Improve error message for
> undefined local labels.
>
> 2004-01-22 Daniel Jacobowitz <drow@mvista.com>
>
> * gas/arm/arm.exp: Add "undefined" test.
> * gas/arm/undefined.s, gas/arm/undefined.l: New files.
This is fine. Thanks.
R.
More information about the Binutils
mailing list