[U-Boot] [PATCH] arm64 :show_regs: show the address before relocation

Simon Glass sjg at chromium.org
Tue Nov 28 05:00:23 UTC 2017


On 27 November 2017 at 19:08, Peng Fan <peng.fan at nxp.com> wrote:
> 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 at nxp.com>
> ---
>  arch/arm/lib/interrupts_64.c | 10 ++++++++--
>  1 file changed, 8 insertions(+), 2 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list