456
|
1 #include "bsd4-2.h"
|
|
2
|
|
3 /* Say that the text segment of a.out includes the header;
|
|
4 the header actually occupies the first few bytes of the text segment
|
|
5 and is counted in hdr.a_text. */
|
|
6
|
|
7 #define O_NDELAY FNDELAY /* Non-blocking I/O (4.2 style) */
|
|
8
|
|
9 /* In SunOS 4.1, a static function called by tzsetwall reportedly
|
|
10 clears the byte just past an eight byte region it mallocs, corrupting
|
|
11 GNU malloc's memory pool. But Sun's malloc doesn't seem to mind. */
|
|
12
|
|
13 #define SYSTEM_MALLOC
|
|
14
|
|
15 /* Misleading! Actually gets loaded after crt0.o */
|
|
16 #define START_FILES pre-crt0.o
|
|
17
|
|
18 /*
|
|
19 * Kludge! can't get at symbol "start" in std crt0.o
|
|
20 * Who the #$%&* decided to remove the __ characters!
|
|
21 * Someone needs to fix this in sysdep.c with an #ifdef BROKEN_START in
|
|
22 * sysdep.c. We do not use this address so any value should do really. Still
|
|
23 * may need it in the future?
|
|
24 */
|
|
25 #define BROKEN_START
|
|
26 #define TEXT_START 0x2020
|
|
27
|
|
28 #define UNEXEC unexsunos4.o
|
|
29 #define RUN_TIME_REMAP
|
625
|
30 #define LINKER cc
|