]> granicus.if.org Git - yasm/commitdiff
Fix handling of alloc_stack macro in GAS mode.
authorPeter Johnson <peter@tortall.net>
Tue, 13 May 2008 03:41:27 +0000 (03:41 -0000)
committerPeter Johnson <peter@tortall.net>
Tue, 13 May 2008 03:41:27 +0000 (03:41 -0000)
Reported by: Brian Gladman <brg@gladman.plus.com>

svn path=/trunk/yasm/; revision=2086

modules/objfmts/coff/win64-gas.mac
modules/objfmts/win64/tests/gas/win64-gas-sce.hex

index cf1e7dc6f4b59532c243a23e497961c0e216f403..c8c36fbc450bad4da0ca872c90ec142a9582d90c 100644 (file)
@@ -37,7 +37,7 @@ pushfq
 %endmacro
 
 %imacro alloc_stack 1
-subq %1, %rsp
+subq $%1, %rsp
 .allocstack %1
 %endmacro
 
index ff4288f98e0eb642bde3cba6e2f36ec3ff03efab..4721c514f9283448251af4c81ba407dcf5033e8f 100644 (file)
@@ -6,7 +6,7 @@
 00 
 00 
 00 
-ed 
+e9 
 00 
 00 
 00 
@@ -34,7 +34,7 @@ ed
 00 
 00 
 00 
-1f 
+1b 
 00 
 00 
 00 
@@ -66,7 +66,7 @@ ed
 61 
 00 
 00 
-1f 
+1b 
 00 
 00 
 00 
@@ -78,7 +78,7 @@ ed
 00 
 00 
 00 
-ab 
+a7 
 00 
 00 
 00 
@@ -106,7 +106,7 @@ ab
 61 
 00 
 00 
-37 
+33 
 00 
 00 
 00 
@@ -118,11 +118,11 @@ ab
 00 
 00 
 00 
-c3 
+bf 
 00 
 00 
 00 
-cf 
+cb 
 00 
 00 
 00 
@@ -143,13 +143,9 @@ cf
 48 
 9c 
 48 
-2b 
-24 
-25 
+83 
+ec 
 10 
-00 
-00 
-00 
 48 
 89 
 74 
@@ -170,24 +166,24 @@ e7
 24 
 10 
 01 
-1f 
+1b 
 0a 
 17 
-1f 
+1b 
 73 
-1a 
+16 
 73 
-17 
+13 
 1a 
-17 
+13 
 78 
 02 
 00 
-11 
+0d 
 64 
 03 
 00 
-0c 
+08 
 12 
 04 
 02 
@@ -197,7 +193,7 @@ e7
 00 
 00 
 00 
-1f 
+1b 
 00 
 00 
 00 
@@ -289,7 +285,7 @@ ff
 00 
 03 
 01 
-1f 
+1b 
 00 
 00 
 00