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: md_apply_fix3 bug on arm-linux


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


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