This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: RFA: A lousy ARM gas warning
- From: Richard Earnshaw <rearnsha at arm dot com>
- To: Daniel Jacobowitz <drow at mvista dot com>
- Cc: binutils at sources dot redhat dot com, Richard dot Earnshaw at arm dot com
- Date: Fri, 23 Jan 2004 10:04:48 +0000
- Subject: Re: RFA: A lousy ARM gas warning
- Organization: ARM Ltd.
- Reply-to: Richard dot Earnshaw at arm dot com
> 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.