Search
lxdream.org :: lxdream/src/loader.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/loader.c
changeset 825:2ac7ceccd775
prev736:a02d1475ccfd
next1036:af7b0c5905dd
author nkeynes
date Sun Dec 14 07:50:48 2008 +0000 (15 years ago)
permissions -rw-r--r--
last change Setup a 'proper' stackframe in translated blocks. This doesn't affect performance noticeably,
but does ensure that
a) The stack is aligned correctly on OS X with no extra effort, and
b) We can't mess up the stack and crash that way anymore.
Replace all PUSH/POP instructions (outside of prologue/epilogue) with ESP-rel moves to stack
local variables.
Finally merge ia32mac and ia32abi together, since they're pretty much the same now anyway (and
thereby simplifying maintenance a good deal)
file annotate diff log raw
1.1 --- a/src/loader.c Mon Jul 14 07:44:42 2008 +0000
1.2 +++ b/src/loader.c Sun Dec 14 07:50:48 2008 +0000
1.3 @@ -108,7 +108,7 @@
1.4 void file_load_postload( const gchar *filename, int pc )
1.5 {
1.6 const gchar *bootstrap_file = lxdream_get_config_value(CONFIG_BOOTSTRAP);
1.7 - if( bootstrap_file != NULL ) {
1.8 + if( bootstrap_file != NULL && bootstrap_file[0] != '\0' ) {
1.9 /* Load in a bootstrap before the binary, to initialize everything
1.10 * correctly
1.11 */
.