annotate src/m/pmax.h @ 2649:3a9fb5d6d259

* emacs.c (SEPCHAR): Instead of defining this to be ',' on VMS and ':' elsewhere, just have it default to ':' if not #defined, and #define it to be ',' in s/vms.h; OS/2 will need it to be ';'. * s/vms.h (SEPCHAR): #define this to be ','. * s/template.h (SEPCHAR): Mention this. Changes for Emacs 19 from Thorsten Ohl <ohl@chico.harvard.edu>: * s/mach2.h: copied from the Emacs 18.59 distribution. Don't define NO_REMAP, define START_FILES as `pre-crt0.o' instead. Define LIB_MATH as `-lm', to override the default `-lm -lc' (there is no libc on the NeXT). * ymakefile (STARTFILES): Allow config.h to set this value even if ORDINARY_LINK is defined. * unexnext.c: Fix subdirectories for the machine dependent include files for NeXTStep 3.0; #include <mach/mach.h> and <mach-o/loader.h> instead of <mach.h> and <sys/loader.h>. (getsectbyname): Remove prototype for this; the system #include files take care of that. (malloc_cookie): New variable. (unexec_doit): Set malloc_cookie to the result returned by malloc_freezedry. * emacs.c (main): Declare malloc_cookie to be extern, so that we can get the value set when we dumped and pass it to malloc_jumpstart. * systime.h: The NeXT has a timezone function.
author Jim Blandy <jimb@redhat.com>
date Tue, 04 May 1993 02:29:06 +0000
parents 689f1697d285
children 56ffd7d79f05
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1113
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 456
diff changeset
1 /* Machine description file for DEC MIPS machines. */
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 456
diff changeset
2
456
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
3 #include "mips.h"
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
4
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
5 /* The following line tells the configuration script what sort of
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
6 operating system this machine is likely to run.
1113
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 456
diff changeset
7 USUAL-OPSYS="note"
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 456
diff changeset
8
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 456
diff changeset
9 NOTE-START
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 456
diff changeset
10 Use -opsystem=osf1 for OSF/1, and -opsystem=bsd4-3 otherwise.
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 456
diff changeset
11 NOTE-END */
456
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
12
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
13 #undef BIG_ENDIAN
1113
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 456
diff changeset
14 #undef LIB_STANDARD
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 456
diff changeset
15 #undef START_FILES
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 456
diff changeset
16 #undef COFF
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 456
diff changeset
17 #undef TERMINFO
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 456
diff changeset
18 #define MAIL_USE_FLOCK
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 456
diff changeset
19 #define HAVE_UNION_WAIT
456
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
20
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
21 /* This line starts being needed with ultrix 4.0. */
1113
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 456
diff changeset
22 /* You must delete it for version 3.1. */
456
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
23 #define START_FILES pre-crt0.o /usr/lib/cmplrs/cc/crt0.o
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
24
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
25 /* Supposedly the following will overcome a kernel bug. */
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
26 #undef LD_SWITCH_MACHINE
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
27 #undef DATA_START
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
28 #define DATA_START 0x10000000
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
29 #define DATA_SEG_BITS 0x10000000
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
30
1582
689f1697d285 * m/pmax.h: Don't define SYSTEM_MALLOC; this was only necessary
Jim Blandy <jimb@redhat.com>
parents: 1113
diff changeset
31 #if 0
689f1697d285 * m/pmax.h: Don't define SYSTEM_MALLOC; this was only necessary
Jim Blandy <jimb@redhat.com>
parents: 1113
diff changeset
32 /* I don't see any such conflict in Ultrix 4.2, 4.2a, or 4.3. And
689f1697d285 * m/pmax.h: Don't define SYSTEM_MALLOC; this was only necessary
Jim Blandy <jimb@redhat.com>
parents: 1113
diff changeset
33 the relocating allocator is a real win. -JimB */
689f1697d285 * m/pmax.h: Don't define SYSTEM_MALLOC; this was only necessary
Jim Blandy <jimb@redhat.com>
parents: 1113
diff changeset
34
456
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
35 /* In Ultrix 4.1, XvmsAlloc.o in libX11.a seems to insist
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
36 on defining malloc itself. This should avoid conflicting with it. */
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
37 #define SYSTEM_MALLOC
1582
689f1697d285 * m/pmax.h: Don't define SYSTEM_MALLOC; this was only necessary
Jim Blandy <jimb@redhat.com>
parents: 1113
diff changeset
38 #endif
1113
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 456
diff changeset
39
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 456
diff changeset
40 /* Override what m-mips.h says about this. */
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 456
diff changeset
41 #undef LINKER
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 456
diff changeset
42
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 456
diff changeset
43 /* Ultrix 4.2 (perhaps also 4.1) implements O_NONBLOCK
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 456
diff changeset
44 but it doesn't work right;
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 456
diff changeset
45 and it causes hanging in read_process_output. */
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 456
diff changeset
46 #define BROKEN_O_NONBLOCK
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 456
diff changeset
47
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 456
diff changeset
48 #ifdef OSF1
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 456
diff changeset
49 #undef C_ALLOCA
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 456
diff changeset
50 #define HAVE_ALLOCA
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 456
diff changeset
51 #endif