This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: md_apply_fix3 bug on arm-linux
- From: Andreas Schwab <schwab at suse dot de>
- To: Philip Blundell <pb at nexus dot co dot uk>
- Cc: binutils at sources dot redhat dot com
- Date: Mon, 05 Apr 2004 23:19:03 +0200
- Subject: Re: md_apply_fix3 bug on arm-linux
- References: <1081192242.4230.101.camel@dixie.nexus.co.uk>
Philip Blundell <pb@nexus.co.uk> writes:
> A user reports that "mov r0, #UNDEFINED_SYMBOL" assembles to "mov r0,
> #0" without emitting any relocation or diagnostic, which clearly isn't
> right.
>
> Also, this code:
>
> .word 0
> foo:
> mov r0, #foo
>
> assembles to "mov r0, #4", again with no relocation, which also seems
> fairly bogus.
>
> A patch like the one below seems to clear it up. Does this look right?
Apparently not:
imm.s: Assembler messages:
imm.s:3: Error: internal relocation (type: IMMEDIATE) not fixed up
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."