filename | src/loader.c |
changeset | 825:2ac7ceccd775 |
prev | 736:a02d1475ccfd |
next | 1036: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 +00001.2 +++ b/src/loader.c Sun Dec 14 07:50:48 2008 +00001.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 everything1.10 * correctly1.11 */
.