summaryrefslogtreecommitdiffstats
path: root/arch/x86/mach-efi/crt0-efi-x86_64.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/mach-efi/crt0-efi-x86_64.S')
-rw-r--r--arch/x86/mach-efi/crt0-efi-x86_64.S6
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/x86/mach-efi/crt0-efi-x86_64.S b/arch/x86/mach-efi/crt0-efi-x86_64.S
index aa03106e9c..d23c1fb2d6 100644
--- a/arch/x86/mach-efi/crt0-efi-x86_64.S
+++ b/arch/x86/mach-efi/crt0-efi-x86_64.S
@@ -47,14 +47,10 @@ _start:
lea image_base(%rip), %rdi
lea _DYNAMIC(%rip), %rsi
- popq %rcx
- popq %rdx
- pushq %rcx
- pushq %rdx
call _relocate
- popq %rdi
popq %rsi
+ popq %rdi
call efi_main
addq $8, %rsp