summaryrefslogtreecommitdiff
path: root/gnuefi/crt0-efi-ia32.S
diff options
context:
space:
mode:
Diffstat (limited to 'gnuefi/crt0-efi-ia32.S')
-rw-r--r--gnuefi/crt0-efi-ia32.S8
1 files changed, 4 insertions, 4 deletions
diff --git a/gnuefi/crt0-efi-ia32.S b/gnuefi/crt0-efi-ia32.S
index 9e9c865..df3340a 100644
--- a/gnuefi/crt0-efi-ia32.S
+++ b/gnuefi/crt0-efi-ia32.S
@@ -56,13 +56,13 @@ _start:
call _relocate
popl %ebx
popl %ebx
- testl %eax,%eax
- jne .exit
+ testl %eax,%eax
+ jne .exit
- call efi_main # call app with "image" and "systab" argument
+ call _entry # call app with "image" and "systab" argument
.exit: leave
- ret
+ ret
// hand-craft a dummy .reloc section so EFI knows it's a relocatable executable: