projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35307d1
)
set the stack alignment to 2^4 on apple
author
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Thu, 11 Sep 2008 23:24:14 +0000
(23:24 +0000)
committer
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Thu, 11 Sep 2008 23:24:14 +0000
(23:24 +0000)
[r21865]
main.c
patch
|
blob
|
history
diff --git
a/main.c
b/main.c
index
84d4bb9
..
2497541
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-580,6
+580,11
@@
int main(int argc, char **argv)
break;
}
+#ifdef __APPLE__
+ /* Darwin expects the stack to be aligned to 16byte boundary */
+ firm_be_option("ia32-stackalign=4");
+#endif
+
/* parse rest of options */
filetype_t forced_filetype = FILETYPE_AUTODETECT;
bool help_displayed = false;