annotate src/s/sunos4shr.h @ 5797:c4fff7ff8bdd

Use > as convention for another menu follows. (menu-bar-edit-menu): Add entry for Emerge.
author Richard M. Stallman <rms@gnu.org>
date Sun, 06 Feb 1994 02:33:02 +0000
parents 8755e1e3faf1
children 4c404df24ed1
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
6
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
7 /* Say that the text segment of a.out includes the header;
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
8 the header actually occupies the first few bytes of the text segment
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
9 and is counted in hdr.a_text. */
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
10
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
11 /* Misleading! Actually gets loaded after crt0.o */
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
12 #define START_FILES pre-crt0.o
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
13
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
14 /*
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
15 * Kludge! can't get at symbol "start" in std crt0.o
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
16 * Who the #$%&* decided to remove the __ characters!
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
17 * Someone needs to fix this in sysdep.c with an #ifdef BROKEN_START in
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
18 * sysdep.c. We do not use this address so any value should do really. Still
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
19 * may need it in the future?
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
20 */
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
21 #define BROKEN_START
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
22 #define TEXT_START 0x2020
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
23
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
24 #define UNEXEC unexsunos4.o
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
25 #define RUN_TIME_REMAP
625
ce011f7cd03f entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 456
diff changeset
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
23978f12007b (memmove): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 4165
diff changeset
37
23978f12007b (memmove): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 4165
diff changeset
38 /* khera@cs.duke.edu says this is needed. */
23978f12007b (memmove): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 4165
diff changeset
39 #define memmove(to, from, size) bcopy (from, to, size)