diff options
author | Stephen Warren <swarren@nvidia.com> | 2016-10-19 21:18:44 (GMT) |
---|---|---|
committer | Tom Warren <twarren@nvidia.com> | 2016-11-07 22:36:28 (GMT) |
commit | 6db8e17892d9f7e2115f335c0a3bcada74273125 (patch) | |
tree | 68f6a9e379b8f9cd0714f6d704988c9b85f7cd98 /arch/arm | |
parent | 4b6035da482cccda06aeb419634f99937c9fc783 (diff) | |
download | u-boot-6db8e17892d9f7e2115f335c0a3bcada74273125.tar.xz |
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 <swarren@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-tegra/tegra186/nvtboot_ll.S | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/tegra186/nvtboot_ll.S b/arch/arm/mach-tegra/tegra186/nvtboot_ll.S index 1eab890..899c9cc 100644 --- a/arch/arm/mach-tegra/tegra186/nvtboot_ll.S +++ b/arch/arm/mach-tegra/tegra186/nvtboot_ll.S @@ -9,6 +9,7 @@ #include <config.h> #include <linux/linkage.h> +.align 8 .globl nvtboot_boot_x0 nvtboot_boot_x0: .dword 0 |