version 1.13, 1994/09/26 20:31:14
|
version 1.14, 1994/09/28 17:02:48
|
Line 17
|
Line 17
|
#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; |
Line 193 int main(int argc, char **argv, char **e
|
Line 193 int main(int argc, char **argv, char **e
|
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;"); |
Line 218 int main(int argc, char **argv, char **e
|
Line 218 int main(int argc, char **argv, char **e
|
/* 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 |