Don't check the return value from self_reloc(), it can't fail and doesn't

return a value.

Despite what I said in my prior commit, it turns out this one platform
was checking the return value from the old self-reloc code (which returned
a hard-coded 0).
This commit is contained in:
Ian Lepore 2015-05-10 13:30:21 +00:00
parent 5b1c03fd13
commit 16bf8dd6dc

View File

@ -54,8 +54,6 @@ ENTRY(_start)
pushl %ebx /* dynamic */
pushl %eax /* ImageBase */
call self_reloc
cmpl $EFI_SUCCESS, %eax
jne 1f
popl %ebx /* remove ImageBase from the stack */
popl %ebx /* remove dynamic from the stack */
call efi_main