Mercurial > emacs
annotate src/s/sunos4shr.h @ 5529:708b422cf8df
(report_file_error): Use strerror instead of sys_errlist.
author | Roland McGrath <roland@gnu.org> |
---|---|
date | Sat, 08 Jan 1994 22:55:04 +0000 |
parents | 8755e1e3faf1 |
children | 4c404df24ed1 |
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 |
8755e1e3faf1
(GNU_MALLOC, REL_ALLOC): Don't define if already defined.
Richard M. Stallman <rms@gnu.org>
parents:
4205
diff
changeset
|
3 using one of the SunOS 4.1.x jumbo replacement patches from Sun. */ |
8755e1e3faf1
(GNU_MALLOC, REL_ALLOC): Don't define if already defined.
Richard M. Stallman <rms@gnu.org>
parents:
4205
diff
changeset
|
4 |
2733
d7cacd332230
* s/sunos4shr.h: Apply changes from David J. Mackenzie; this isn't
Jim Blandy <jimb@redhat.com>
parents:
625
diff
changeset
|
5 #include "sunos4-1.h" |
456 | 6 |
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. */ | |
10 | |
11 /* Misleading! Actually gets loaded after crt0.o */ | |
12 #define START_FILES pre-crt0.o | |
13 | |
14 /* | |
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? | |
20 */ | |
21 #define BROKEN_START | |
22 #define TEXT_START 0x2020 | |
23 | |
24 #define UNEXEC unexsunos4.o | |
25 #define RUN_TIME_REMAP | |
625 | 26 #define LINKER cc |
2733
d7cacd332230
* s/sunos4shr.h: Apply changes from David J. Mackenzie; this isn't
Jim Blandy <jimb@redhat.com>
parents:
625
diff
changeset
|
27 |
d7cacd332230
* s/sunos4shr.h: Apply changes from David J. Mackenzie; this isn't
Jim Blandy <jimb@redhat.com>
parents:
625
diff
changeset
|
28 #undef LD_SWITCH_SYSTEM |
4165
328187f39c3a
(SYSTEM_MALLOC): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents:
2733
diff
changeset
|
29 |
328187f39c3a
(SYSTEM_MALLOC): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents:
2733
diff
changeset
|
30 #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
|
31 #ifndef GNU_MALLOC |
4165
328187f39c3a
(SYSTEM_MALLOC): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents:
2733
diff
changeset
|
32 #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
|
33 #endif |
8755e1e3faf1
(GNU_MALLOC, REL_ALLOC): Don't define if already defined.
Richard M. Stallman <rms@gnu.org>
parents:
4205
diff
changeset
|
34 #ifndef REL_ALLOC |
4165
328187f39c3a
(SYSTEM_MALLOC): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents:
2733
diff
changeset
|
35 #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
|
36 #endif |
4205 | 37 |
38 /* khera@cs.duke.edu says this is needed. */ | |
39 #define memmove(to, from, size) bcopy (from, to, size) |