1 /* This file permits building Emacs with a shared libc on Sunos 4.
2 To make this work, you must completely replace your C shared library
3 using one of the SunOS 4.1.x jumbo replacement patches from Sun. */
7 /* Say that the text segment of a.out includes the header;
8 the header actually occupies the first few bytes of the text segment
9 and is counted in hdr.a_text. */
11 /* Misleading! Actually gets loaded after crt0.o */
12 #define START_FILES pre-crt0.o
15 * Kludge! can't get at symbol "start" in std crt0.o
16 * Who the #$%&* decided to remove the __ characters!
17 * Someone needs to fix this in sysdep.c with an #ifdef BROKEN_START in
18 * sysdep.c. We do not use this address so any value should do really. Still
19 * may need it in the future?
22 #define TEXT_START 0x2020
24 #define UNEXEC unexsunos4.o
25 #define RUN_TIME_REMAP
28 #undef LD_SWITCH_SYSTEM
38 /* khera@cs.duke.edu says this is needed. */
39 #define memmove(to, from, size) bcopy (from, to, size)