b/arch/arm/kernel/relocate_kernel.S
@@ -7,8 +7,8 @@
.globl relocate_new_kernel
relocate_new_kernel:
- ldr r0,kexec_indirection_page
- ldr r1,kexec_start_address
+ ldr r0,.Lkexec_indirection_page
+ ldr r1,.Lkexec_start_address
/*
* If there is no indirection page (we are doing crashdumps)
@@ -55,27 +55,31 @@ relocate_new_kernel:
/* Jump to relocated kernel */
mov lr,r1
mov r0,#0
- ldr r1,kexec_mach_type
- ldr r2,kexec_boot_atags
+ ldr r1,.Lkexec_mach_type
+ ldr r2,.Lkexec_boot_atags
mov pc,lr
.align
.globl kexec_start_address
kexec_start_address:
+.Lkexec_start_address:
.long 0x0
.globl kexec_indirection_page
kexec_indirection_page:
+.Lkexec_indirection_page:
.long 0x0
.globl kexec_mach_type
kexec_mach_type:
+.Lkexec_mach_type:
.long 0x0
/* phy addr of the atags for the new kernel */
.globl kexec_boot_atags
kexec_boot_atags:
+.Lkexec_boot_atags:
.long 0x0
relocate_new_kernel_end: