arm64 :show_regs: show the address before relocation
authorPeng Fan <peng.fan@nxp.com>
Tue, 28 Nov 2017 02:08:08 +0000 (10:08 +0800)
committerPeng Fan <peng.fan@nxp.com>
Fri, 29 Dec 2017 07:14:27 +0000 (15:14 +0800)
commitc0fa2d8f29d4ccace06e31a24f4b0ee5e6d61461
tree8fdbc5a61e84538e29f77b7e3a6870ed16d34904
parentb799894c4e56a4afee0d7c8041bd49d718d0bd35
arm64 :show_regs: show the address before relocation

After relocation, when error happends, it is hard to track
ELR and LR with asm file objdumped from elf file.

So subtract the gd->reloc_off the reflect the compliation address.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
(cherry picked from commit 082693f4f02ad7a9de192e73feae34e28856b8e3)
arch/arm/lib/interrupts_64.c