summaryrefslogtreecommitdiff
path: root/payloads/libpayload/i386/head.S
diff options
context:
space:
mode:
Diffstat (limited to 'payloads/libpayload/i386/head.S')
-rw-r--r--payloads/libpayload/i386/head.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/payloads/libpayload/i386/head.S b/payloads/libpayload/i386/head.S
index e548329c66..8dc31aa54d 100644
--- a/payloads/libpayload/i386/head.S
+++ b/payloads/libpayload/i386/head.S
@@ -54,9 +54,9 @@ _init:
movl %esp, %esi
/* Setup new stack. */
- movl _istack, %ebx
+ movl $_stack, %ebx
- movl (%ebx), %esp
+ movl %ebx, %esp
/* Save old stack pointer. */
pushl %esi