changeset 8287:c3eb28f300d0

.align -> .balign patch by Bj«Órn Sandell <biorn@dce.chalmers.se>
author arpi
date Mon, 25 Nov 2002 20:37:12 +0000
parents 1a9ea966d840
children 25fd5c47e31a
files loader/wrapper.S
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/loader/wrapper.S	Mon Nov 25 20:08:59 2002 +0000
+++ b/loader/wrapper.S	Mon Nov 25 20:37:12 2002 +0000
@@ -15,12 +15,12 @@
 .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 @@
 	
 	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 @@
 	popf
 	popa
 	ret
-	
\ No newline at end of file
+