This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFA: A lousy ARM gas warning


> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]