annotate src/s/sunos4shr.h @ 4205:23978f12007b

(memmove): Defined.
author Richard M. Stallman <rms@gnu.org>
date Wed, 21 Jul 1993 21:31:31 +0000
parents 328187f39c3a
children 8755e1e3faf1
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2733
d7cacd332230 * s/sunos4shr.h: Apply changes from David J. Mackenzie; this isn't
Jim Blandy <jimb@redhat.com>
parents: 625
diff changeset
1 #include "sunos4-1.h"
456
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
2
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
3 /* Say that the text segment of a.out includes the header;
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
4 the header actually occupies the first few bytes of the text segment
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
5 and is counted in hdr.a_text. */
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
6
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
7 /* Misleading! Actually gets loaded after crt0.o */
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
8 #define START_FILES pre-crt0.o
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
9
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
10 /*
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
11 * Kludge! can't get at symbol "start" in std crt0.o
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
12 * Who the #$%&* decided to remove the __ characters!
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
13 * 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
14 * 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
15 * may need it in the future?
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
16 */
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
17 #define BROKEN_START
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
18 #define TEXT_START 0x2020
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
19
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
20 #define UNEXEC unexsunos4.o
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
21 #define RUN_TIME_REMAP
625
ce011f7cd03f entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 456
diff changeset
22 #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
23
d7cacd332230 * s/sunos4shr.h: Apply changes from David J. Mackenzie; this isn't
Jim Blandy <jimb@redhat.com>
parents: 625
diff changeset
24 #undef LD_SWITCH_SYSTEM
4165
328187f39c3a (SYSTEM_MALLOC): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents: 2733
diff changeset
25
328187f39c3a (SYSTEM_MALLOC): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents: 2733
diff changeset
26 #undef SYSTEM_MALLOC
328187f39c3a (SYSTEM_MALLOC): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents: 2733
diff changeset
27 #define GNU_MALLOC
328187f39c3a (SYSTEM_MALLOC): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents: 2733
diff changeset
28 #define REL_ALLOC
4205
23978f12007b (memmove): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 4165
diff changeset
29
23978f12007b (memmove): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 4165
diff changeset
30 /* khera@cs.duke.edu says this is needed. */
23978f12007b (memmove): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 4165
diff changeset
31 #define memmove(to, from, size) bcopy (from, to, size)