Mercurial > emacs
annotate src/s/sunos4shr.h @ 19860:c17fd465ea95 libc-970911 libc-970912 libc-970913 libc-970914 libc-970915 libc-970916 libc-970917 libc-970918 libc-970919 libc-970920 libc-970921 libc-970922 libc-970923 libc-970924 libc-970925 libc-970926 libc-970927 libc-970928 libc-970929 libc-970930 libc-971001 libc-971018 libc-971019 libc-971020 libc-971021 libc-971022 libc-971023 libc-971024 libc-971025 libc-971026 libc-971027 libc-971028 libc-971029 libc-971030 libc-971031 libc-971101 libc-971102 libc-971103 libc-971104 libc-971105 libc-971106 libc-971107 libc-971108 libc-971109 libc-971110 libc-971111 libc-971112 libc-971113 libc-971114 libc-971115 libc-971116 libc-971117 libc-971118 libc-971120 libc-971121 libc-971122 libc-971123 libc-971124 libc-971125 libc-971126 libc-971127 libc-971128 libc-971129 libc-971130 libc-971201 libc-971203 libc-971204 libc-971205 libc-971206 libc-971207 libc-971208 libc-971209 libc-971210 libc-971211 libc-971212 libc-971213 libc-971214 libc-971217 libc-971218 libc-971219 libc-971220 libc-971221 libc-971222 libc-971223 libc-971224 libc-971225 libc-971226 libc-971227 libc-971228 libc-971229 libc-971230 libc-971231 libc-980103 libc-980104 libc-980105 libc-980106 libc-980107 libc-980108 libc-980109 libc-980110 libc-980111 libc-980112 libc-980114 libc-980115 libc-980116 libc-980117 libc-980118 libc-980119 libc-980120 libc-980121 libc-980122 libc-980123 libc-980124 libc-980125 libc-980126 libc-980127 libc-980128
typos.
author | Jeff Law <law@redhat.com> |
---|---|
date | Wed, 10 Sep 1997 21:16:20 +0000 |
parents | 193352043c50 |
children | 5be79e4f188a |
rev | line source |
---|---|
5039
8755e1e3faf1
(GNU_MALLOC, REL_ALLOC): Don't define if already defined.
Richard M. Stallman <rms@gnu.org>
parents:
4205
diff
changeset
|
1 /* This file permits building Emacs with a shared libc on Sunos 4. |
8755e1e3faf1
(GNU_MALLOC, REL_ALLOC): Don't define if already defined.
Richard M. Stallman <rms@gnu.org>
parents:
4205
diff
changeset
|
2 To make this work, you must completely replace your C shared library |
9031 | 3 using one of the SunOS 4.1.x jumbo replacement patches from Sun. |
4 Here are the patch numbers for Sunos 4.1.3: | |
5 100890-10 SunOS 4.1.3: domestic libc jumbo patch | |
6 100891-10 SunOS 4.1.3: international libc jumbo patch */ | |
7 | |
5039
8755e1e3faf1
(GNU_MALLOC, REL_ALLOC): Don't define if already defined.
Richard M. Stallman <rms@gnu.org>
parents:
4205
diff
changeset
|
8 |
2733
d7cacd332230
* s/sunos4shr.h: Apply changes from David J. Mackenzie; this isn't
Jim Blandy <jimb@redhat.com>
parents:
625
diff
changeset
|
9 #include "sunos4-1.h" |
456 | 10 |
11 /* Say that the text segment of a.out includes the header; | |
12 the header actually occupies the first few bytes of the text segment | |
13 and is counted in hdr.a_text. */ | |
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 | |
11615
7fa33c87242c
(ORDINARY_LINK): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
9073
diff
changeset
|
30 #define ORDINARY_LINK |
12585
771e75e8ebb5
(SUNOS4_SHARED_LIBRARIES): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
12459
diff
changeset
|
31 #define SUNOS4_SHARED_LIBRARIES |
2733
d7cacd332230
* s/sunos4shr.h: Apply changes from David J. Mackenzie; this isn't
Jim Blandy <jimb@redhat.com>
parents:
625
diff
changeset
|
32 |
d7cacd332230
* s/sunos4shr.h: Apply changes from David J. Mackenzie; this isn't
Jim Blandy <jimb@redhat.com>
parents:
625
diff
changeset
|
33 #undef LD_SWITCH_SYSTEM |
18586
41f11018aeb5
(LD_SWITCH_SYSTEM_TEMACS): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents:
13863
diff
changeset
|
34 #undef LD_SWITCH_SYSTEM_TEMACS |
4165
328187f39c3a
(SYSTEM_MALLOC): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents:
2733
diff
changeset
|
35 |
328187f39c3a
(SYSTEM_MALLOC): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents:
2733
diff
changeset
|
36 #undef SYSTEM_MALLOC |
5039
8755e1e3faf1
(GNU_MALLOC, REL_ALLOC): Don't define if already defined.
Richard M. Stallman <rms@gnu.org>
parents:
4205
diff
changeset
|
37 #ifndef GNU_MALLOC |
4165
328187f39c3a
(SYSTEM_MALLOC): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents:
2733
diff
changeset
|
38 #define GNU_MALLOC |
5039
8755e1e3faf1
(GNU_MALLOC, REL_ALLOC): Don't define if already defined.
Richard M. Stallman <rms@gnu.org>
parents:
4205
diff
changeset
|
39 #endif |
8755e1e3faf1
(GNU_MALLOC, REL_ALLOC): Don't define if already defined.
Richard M. Stallman <rms@gnu.org>
parents:
4205
diff
changeset
|
40 #ifndef REL_ALLOC |
4165
328187f39c3a
(SYSTEM_MALLOC): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents:
2733
diff
changeset
|
41 #define REL_ALLOC |
5039
8755e1e3faf1
(GNU_MALLOC, REL_ALLOC): Don't define if already defined.
Richard M. Stallman <rms@gnu.org>
parents:
4205
diff
changeset
|
42 #endif |
4205 | 43 |
44 /* khera@cs.duke.edu says this is needed. */ | |
45 #define memmove(to, from, size) bcopy (from, to, size) | |
9073
43aa8427db01
(USE_DL_STUBS): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents:
9031
diff
changeset
|
46 |
43aa8427db01
(USE_DL_STUBS): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents:
9031
diff
changeset
|
47 #undef USE_DL_STUBS |
12459
d1da7f16002c
(LIBXMU): New definitions (two alternative ones).
Richard M. Stallman <rms@gnu.org>
parents:
11615
diff
changeset
|
48 |
13863
8b143e9a5394
(LIBXMU): Replace previous change.
Richard M. Stallman <rms@gnu.org>
parents:
13711
diff
changeset
|
49 #ifndef HAVE_X11R6 |
8b143e9a5394
(LIBXMU): Replace previous change.
Richard M. Stallman <rms@gnu.org>
parents:
13711
diff
changeset
|
50 /* With X11R5 it was reported that linking -lXmu dynamically |
8b143e9a5394
(LIBXMU): Replace previous change.
Richard M. Stallman <rms@gnu.org>
parents:
13711
diff
changeset
|
51 did not work. With X11R6, it does work; and since normally |
8b143e9a5394
(LIBXMU): Replace previous change.
Richard M. Stallman <rms@gnu.org>
parents:
13711
diff
changeset
|
52 only the dynamic libraries are available, we should use them. */ |
19039
193352043c50
(LIBXMU): Alternative definition if CANNOT_DUMP.
Richard M. Stallman <rms@gnu.org>
parents:
18586
diff
changeset
|
53 #ifdef CANNOT_DUMP |
193352043c50
(LIBXMU): Alternative definition if CANNOT_DUMP.
Richard M. Stallman <rms@gnu.org>
parents:
18586
diff
changeset
|
54 #define LIBXMU -lXmu |
193352043c50
(LIBXMU): Alternative definition if CANNOT_DUMP.
Richard M. Stallman <rms@gnu.org>
parents:
18586
diff
changeset
|
55 #else |
12459
d1da7f16002c
(LIBXMU): New definitions (two alternative ones).
Richard M. Stallman <rms@gnu.org>
parents:
11615
diff
changeset
|
56 #ifdef __GNUC__ |
13863
8b143e9a5394
(LIBXMU): Replace previous change.
Richard M. Stallman <rms@gnu.org>
parents:
13711
diff
changeset
|
57 #define LIBXMU -Xlinker -Bstatic -lXmu -Xlinker -Bdynamic |
12459
d1da7f16002c
(LIBXMU): New definitions (two alternative ones).
Richard M. Stallman <rms@gnu.org>
parents:
11615
diff
changeset
|
58 #else |
13863
8b143e9a5394
(LIBXMU): Replace previous change.
Richard M. Stallman <rms@gnu.org>
parents:
13711
diff
changeset
|
59 #define LIBXMU -Bstatic -lXmu -Bdynamic |
12459
d1da7f16002c
(LIBXMU): New definitions (two alternative ones).
Richard M. Stallman <rms@gnu.org>
parents:
11615
diff
changeset
|
60 #endif |
19039
193352043c50
(LIBXMU): Alternative definition if CANNOT_DUMP.
Richard M. Stallman <rms@gnu.org>
parents:
18586
diff
changeset
|
61 #endif /* CANNOT_DUMP */ |
13863
8b143e9a5394
(LIBXMU): Replace previous change.
Richard M. Stallman <rms@gnu.org>
parents:
13711
diff
changeset
|
62 |
8b143e9a5394
(LIBXMU): Replace previous change.
Richard M. Stallman <rms@gnu.org>
parents:
13711
diff
changeset
|
63 #endif /* not HAVE_X11R6 */ |