Mercurial > emacs
annotate src/s/sunos4shr.h @ 11621:710b5ce824c2
(jka-compr-insert-file-contents): When visiting,
bind buffer-file-name to nil temporarily.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 29 Apr 1995 19:25:19 +0000 |
parents | 7fa33c87242c |
children | d1da7f16002c |
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 |
2733
d7cacd332230
* s/sunos4shr.h: Apply changes from David J. Mackenzie; this isn't
Jim Blandy <jimb@redhat.com>
parents:
625
diff
changeset
|
31 |
d7cacd332230
* s/sunos4shr.h: Apply changes from David J. Mackenzie; this isn't
Jim Blandy <jimb@redhat.com>
parents:
625
diff
changeset
|
32 #undef LD_SWITCH_SYSTEM |
4165
328187f39c3a
(SYSTEM_MALLOC): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents:
2733
diff
changeset
|
33 |
328187f39c3a
(SYSTEM_MALLOC): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents:
2733
diff
changeset
|
34 #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
|
35 #ifndef GNU_MALLOC |
4165
328187f39c3a
(SYSTEM_MALLOC): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents:
2733
diff
changeset
|
36 #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
|
37 #endif |
8755e1e3faf1
(GNU_MALLOC, REL_ALLOC): Don't define if already defined.
Richard M. Stallman <rms@gnu.org>
parents:
4205
diff
changeset
|
38 #ifndef REL_ALLOC |
4165
328187f39c3a
(SYSTEM_MALLOC): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents:
2733
diff
changeset
|
39 #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
|
40 #endif |
4205 | 41 |
42 /* khera@cs.duke.edu says this is needed. */ | |
43 #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
|
44 |
43aa8427db01
(USE_DL_STUBS): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents:
9031
diff
changeset
|
45 #undef USE_DL_STUBS |