428
+ − 1 /* Synched up with: FSF 19.31. */
+ − 2
+ − 3 /* machine description file for Sun 68000's OPERATING SYSTEM version 3
+ − 4 (for either 68000 or 68020 systems). */
+ − 5
+ − 6 #include "sun2.h"
+ − 7 #undef sun2
+ − 8 #ifndef sun3
+ − 9 #define sun3
+ − 10 #endif
+ − 11
+ − 12 /* The following line tells the configuration script what sort of
+ − 13 operating system this machine is likely to run.
+ − 14 USUAL-OPSYS="note"
+ − 15
+ − 16 NOTE-START
+ − 17 Sun 1, 2 and 3 (-machine=sun1, -machine=sun2, -machine=sun3;
+ − 18 -opsystem=bsd4-2 or -opsystem=sunos4)
+ − 19
+ − 20 Whether you should use sun1, sun2 or sun3 depends on the
+ − 21 VERSION OF THE OPERATING SYSTEM
+ − 22 you have. There are three machine types for different versions of
+ − 23 SunOS. All are derived from Berkeley 4.2, meaning that you should
+ − 24 use -opsystem=bsd4-2. Emacs 17 has run on all of them. You will
+ − 25 need to use sun3 on Sun 2's running SunOS release 3.
+ − 26
+ − 27 For SunOS release 4 on a Sun 3, use -machine=sun3 and
+ − 28 -opsystem=sunos4. See the file share-lib/SUNBUG for how to solve
+ − 29 problems caused by bugs in the "export" version of SunOS 4.
+ − 30 NOTE-END */
+ − 31
+ − 32 /* Say that the text segment of a.out includes the header;
+ − 33 the header actually occupies the first few bytes of the text segment
+ − 34 and is counted in hdr.a_text. */
+ − 35
+ − 36 #define A_TEXT_OFFSET(HDR) sizeof (HDR)
+ − 37
+ − 38 /* This is the offset of the executable's text, from the start of the file. */
+ − 39
+ − 40 #define A_TEXT_SEEK(HDR) (N_TXTOFF (hdr) + sizeof (hdr))
+ − 41
+ − 42 /* In case we are using floating point, work together with crt0.c. */
+ − 43
+ − 44 #ifndef __GNUC__
+ − 45 #define C_SWITCH_MACHINE "-fsoft"
+ − 46 #endif
+ − 47
+ − 48 /* This line is needed if you are linking with X windows
+ − 49 and the library xlib was compiled to use the 68881.
+ − 50 For maximum cleanliness, don't edit this file;
+ − 51 instead, insert this line in config.h. */
+ − 52 /* #define START_FILES crt0.o /usr/lib/Mcrt1.o */