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:
parent
5b1c03fd13
commit
16bf8dd6dc
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user