projects
/
platform
/
upstream
/
nasm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44d7dcf
)
Add flat64 to %stacksize choices
author
Charles Crayne
<chuck@thor.crayne.org>
Fri, 9 Nov 2007 06:11:14 +0000
(22:11 -0800)
committer
Charles Crayne
<chuck@thor.crayne.org>
Fri, 9 Nov 2007 06:11:14 +0000
(22:11 -0800)
preproc.c
patch
|
blob
|
history
diff --git
a/preproc.c
b/preproc.c
index
ddfa3da
..
7af9fdc
100644
(file)
--- a/
preproc.c
+++ b/
preproc.c
@@
-1822,6
+1822,12
@@
static int do_directive(Token * tline)
StackPointer = "ebp";
ArgOffset = 8;
LocalOffset = 0;
+ } else if (nasm_stricmp(tline->text, "flat64") == 0) {
+ /* All subsequent ARG directives are for a 64-bit stack */
+ StackSize = 8;
+ StackPointer = "rbp";
+ ArgOffset = 8;
+ LocalOffset = 0;
} else if (nasm_stricmp(tline->text, "large") == 0) {
/* All subsequent ARG directives are for a 16-bit stack,
* far function call.