mirror of
https://github.com/memtest86plus/memtest86plus
synced 2025-03-13 09:23:10 +03:00
Fis startup stack address calculations.
This commit is contained in:
parent
4400ec6f17
commit
a454174f3f
@ -73,7 +73,7 @@ startup:
|
||||
# Use a temporary stack until we pick the correct one. We can
|
||||
# safely use the high address, even if we are loaded low.
|
||||
|
||||
movl $(HIGH_LOAD_ADDR + startup_stack_top - startup), %esp
|
||||
movl $(HIGH_LOAD_ADDR + startup_stack_top - startup32), %esp
|
||||
|
||||
# Load the GOT pointer.
|
||||
|
||||
|
@ -35,7 +35,7 @@ startup32:
|
||||
# Use a temporary stack until we pick the correct one. We can
|
||||
# safely use the high address, even if we are loaded low.
|
||||
|
||||
movl $(HIGH_LOAD_ADDR + startup_stack_top - startup), %esp
|
||||
movl $(HIGH_LOAD_ADDR + startup_stack_top - startup32), %esp
|
||||
|
||||
# Get the load address.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user