1 /* Synched up with: FSF 19.31. (Split off from sunos4-shr.h.) */
3 /* This file permits building Emacs with a shared libc on Sunos 4.
4 To make this work, you must completely replace your C shared library
5 using one of the SunOS 4.1.x jumbo replacement patches from Sun.
6 Here are the patch numbers for Sunos 4.1.3:
7 100890-10 SunOS 4.1.3: domestic libc jumbo patch
8 100891-10 SunOS 4.1.3: international libc jumbo patch */
12 /* Say that the text segment of a.out includes the header;
13 the header actually occupies the first few bytes of the text segment
14 and is counted in hdr.a_text. */
16 /* Misleading! Actually gets loaded after crt0.o */
18 #define START_FILES "pre-crt0.o"
21 * Kludge! can't get at symbol "start" in std crt0.o
22 * Who the #$%&* decided to remove the __ characters!
23 * Someone needs to fix this in sysdep.c with an #ifdef BROKEN_START in
24 * sysdep.c. We do not use this address so any value should do really. Still
25 * may need it in the future?
29 #define TEXT_START 0x2020
33 /* #define UNEXEC "unexsunos4.o" */
34 #ifndef RUN_TIME_REMAP
35 #define RUN_TIME_REMAP
38 #define SUNOS4_SHARED_LIBRARIES
40 #undef LD_SWITCH_SYSTEM
53 /* With X11R5 it was reported that linking -lXmu dynamically
54 did not work. With X11R6, it does work; and since normally
55 only the dynamic libraries are available, we should use them. */
56 #define LIBXMU "-Bstatic -lXmu -Bdynamic"
58 #endif /* not HAVE_X11R6 */