FW: [PATCH] Fix decoding of register when doing indirect jumps with short isn

Here's another patch. This one should (partially) fix 9000571386.

When the step command steps into a shared lib (with no debug info), it still goes haywire. But it does interpret j_s [r12] correctly.

-----Original Message-----
From: Mischa Jonker [mailto:mjonker@synopsys.com]
Sent: Monday, December 10, 2012 6:54 PM
To: jeremy.bennett@synopsys.com
Cc: Mischa Jonker
Subject: [PATCH] Fix decoding of register when doing indirect jumps with short isn

It only worked for r0 (as 0 was default) and blink (as blink was a special case, with different encoding).

Signed-off-by: Mischa Jonker <mjonker@synopsys.com>
        * config/tc-arc.c (tc_gen_reloc): Adjust offset to reflect
        difference between relocation location and instruction start.