| #ifdef USE_GETOPT |
#ifdef USE_GETOPT |
| # include "getopt.h" |
# include "getopt.h" |
| #else |
#else |
| extern int getopt (argc, argv, optstring); |
extern int getopt (int argc, char *argv[], char *optstring); |
| |
|
| extern char *optarg; |
extern char *optarg; |
| extern int optind, opterr; |
extern int optind, opterr; |
| FILE *image_file; |
FILE *image_file; |
| int c, retvalue; |
int c, retvalue; |
| |
|
| #if defined(i386) && defined(ALIGNMENT_CHECK) |
#if defined(i386) && defined(ALIGNMENT_CHECK) && !defined(DIRECT_THREADED) |
| /* turn on alignment checks on the 486. |
/* turn on alignment checks on the 486. |
| * on the 386 this should have no effect. */ |
* on the 386 this should have no effect. */ |
| __asm__("pushfl; popl %eax; orl $0x40000, %eax; pushl %eax; popfl;"); |
__asm__("pushfl; popl %eax; orl $0x40000, %eax; pushl %eax; popfl;"); |
| /* no-init-file, no-rc? */ |
/* no-init-file, no-rc? */ |
| }; |
}; |
| |
|
| c = getopt_long(argc, argv, "+drfl", opts, &option_index); |
c = getopt_long(argc, argv, "+mdrfl", opts, &option_index); |
| #else |
#else |
| c = getopt(argc, argv, "imdrflp"); |
c = getopt(argc, argv, "imdrflp"); |
| #endif |
#endif |