summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--loader/wrapper.S8
1 files changed, 4 insertions, 4 deletions
diff --git a/loader/wrapper.S b/loader/wrapper.S
index 60028e670d..fe2d85619b 100644
--- a/loader/wrapper.S
+++ b/loader/wrapper.S
@@ -15,12 +15,12 @@ wrapper_target:
.section .text
.globl null_call
.type null_call, @function
- .align 16,0x90
+ .balign 16,0x90
null_call:
ret
.globl wrapper
.type wrapper, @function
- .align 16,0x90
+ .balign 16,0x90
wrapper:
pusha # store registers (EAX, ECX, EDX, EBX, ESP, EBP, ESI, EDI)
pushf # store flags
@@ -53,7 +53,7 @@ wrapper:
jmp *wrapper_target # wrapper_target should return at .Lwrapper_return
- .align 16, 0x90
+ .balign 16, 0x90
.Lwrapper_return:
pushl caller_return # restore the original return address
pusha # more for reference sake here
@@ -80,4 +80,4 @@ wrapper:
popf
popa
ret
- \ No newline at end of file
+