From: Stephen Warren Date: Wed, 19 Oct 2016 21:18:44 +0000 (-0600) Subject: ARM: tegra: ensure nvtboot_boot_x0 alignment X-Git-Tag: v2016.11~17^2~3 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6db8e17892d9f7e2115f335c0a3bcada74273125;p=u-boot ARM: tegra: ensure nvtboot_boot_x0 alignment nvtboot_boot_x0 is a 64-bit variable and hence must be 64-bit aligned. So far this has happened by accident! Fix the code so this is guaranteed. This fixes the following build error: ... relocation truncated to fit: R_AARCH64_LDST64_ABS_LO12_NC against symbol `nvtboot_boot_x0' ... Signed-off-by: Stephen Warren Signed-off-by: Tom Warren --- diff --git a/arch/arm/mach-tegra/tegra186/nvtboot_ll.S b/arch/arm/mach-tegra/tegra186/nvtboot_ll.S index 1eab890958..899c9cccbe 100644 --- a/arch/arm/mach-tegra/tegra186/nvtboot_ll.S +++ b/arch/arm/mach-tegra/tegra186/nvtboot_ll.S @@ -9,6 +9,7 @@ #include #include +.align 8 .globl nvtboot_boot_x0 nvtboot_boot_x0: .dword 0