annotate src/m/ibm370aix.h @ 41673:6a354e487a71

Add support for FreeBSD/Alpha.
author Gerd Moellmann <gerd@gnu.org>
date Thu, 29 Nov 2001 12:06:35 +0000
parents c8fb06423da0
children 8ef6f1ac6729
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
36226
c8fb06423da0 Add copyright notice.
Gerd Moellmann <gerd@gnu.org>
parents: 10077
diff changeset
1 /* m/ file for IBM 370 running AIX.
c8fb06423da0 Add copyright notice.
Gerd Moellmann <gerd@gnu.org>
parents: 10077
diff changeset
2 Copyright (C) 1993, 1994, 2001 Free Software Foundation, Inc.
c8fb06423da0 Add copyright notice.
Gerd Moellmann <gerd@gnu.org>
parents: 10077
diff changeset
3
c8fb06423da0 Add copyright notice.
Gerd Moellmann <gerd@gnu.org>
parents: 10077
diff changeset
4 This file is part of GNU Emacs.
c8fb06423da0 Add copyright notice.
Gerd Moellmann <gerd@gnu.org>
parents: 10077
diff changeset
5
c8fb06423da0 Add copyright notice.
Gerd Moellmann <gerd@gnu.org>
parents: 10077
diff changeset
6 GNU Emacs is free software; you can redistribute it and/or modify
c8fb06423da0 Add copyright notice.
Gerd Moellmann <gerd@gnu.org>
parents: 10077
diff changeset
7 it under the terms of the GNU General Public License as published by
c8fb06423da0 Add copyright notice.
Gerd Moellmann <gerd@gnu.org>
parents: 10077
diff changeset
8 the Free Software Foundation; either version 2, or (at your option)
c8fb06423da0 Add copyright notice.
Gerd Moellmann <gerd@gnu.org>
parents: 10077
diff changeset
9 any later version.
c8fb06423da0 Add copyright notice.
Gerd Moellmann <gerd@gnu.org>
parents: 10077
diff changeset
10
c8fb06423da0 Add copyright notice.
Gerd Moellmann <gerd@gnu.org>
parents: 10077
diff changeset
11 GNU Emacs is distributed in the hope that it will be useful,
c8fb06423da0 Add copyright notice.
Gerd Moellmann <gerd@gnu.org>
parents: 10077
diff changeset
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
c8fb06423da0 Add copyright notice.
Gerd Moellmann <gerd@gnu.org>
parents: 10077
diff changeset
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
c8fb06423da0 Add copyright notice.
Gerd Moellmann <gerd@gnu.org>
parents: 10077
diff changeset
14 GNU General Public License for more details.
c8fb06423da0 Add copyright notice.
Gerd Moellmann <gerd@gnu.org>
parents: 10077
diff changeset
15
c8fb06423da0 Add copyright notice.
Gerd Moellmann <gerd@gnu.org>
parents: 10077
diff changeset
16 You should have received a copy of the GNU General Public License
c8fb06423da0 Add copyright notice.
Gerd Moellmann <gerd@gnu.org>
parents: 10077
diff changeset
17 along with GNU Emacs; see the file COPYING. If not, write to
c8fb06423da0 Add copyright notice.
Gerd Moellmann <gerd@gnu.org>
parents: 10077
diff changeset
18 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
c8fb06423da0 Add copyright notice.
Gerd Moellmann <gerd@gnu.org>
parents: 10077
diff changeset
19 Boston, MA 02111-1307, USA. */
456
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
20
4464
3fbda0e7f793 Total rewrite; includes ibmps2-aix.h.
Richard M. Stallman <rms@gnu.org>
parents: 3700
diff changeset
21 #include "ibmps2-aix.h"
456
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
22
4464
3fbda0e7f793 Total rewrite; includes ibmps2-aix.h.
Richard M. Stallman <rms@gnu.org>
parents: 3700
diff changeset
23 #define AIX
456
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
24
10077
ee5e9fbcd051 (NEED_UNISTD_H): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 9095
diff changeset
25 /* Include unistd.h, even though we don't define POSIX. */
ee5e9fbcd051 (NEED_UNISTD_H): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 9095
diff changeset
26 #define NEED_UNISTD_H
ee5e9fbcd051 (NEED_UNISTD_H): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 9095
diff changeset
27
4642
aceaf48ee60d (HAVE_VFORK, INTEL386, aix386): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents: 4464
diff changeset
28 /* these were defined in "ibmps2-aix.h" */
aceaf48ee60d (HAVE_VFORK, INTEL386, aix386): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents: 4464
diff changeset
29 #undef INTEL386
aceaf48ee60d (HAVE_VFORK, INTEL386, aix386): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents: 4464
diff changeset
30 #undef aix386
aceaf48ee60d (HAVE_VFORK, INTEL386, aix386): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents: 4464
diff changeset
31
9095
23f72b18b420 (WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents: 8892
diff changeset
32 /* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word
23f72b18b420 (WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents: 8892
diff changeset
33 is the most significant byte. */
23f72b18b420 (WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents: 8892
diff changeset
34
23f72b18b420 (WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents: 8892
diff changeset
35 #define WORDS_BIG_ENDIAN
23f72b18b420 (WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents: 8892
diff changeset
36
4464
3fbda0e7f793 Total rewrite; includes ibmps2-aix.h.
Richard M. Stallman <rms@gnu.org>
parents: 3700
diff changeset
37 #undef TEXT_START
3fbda0e7f793 Total rewrite; includes ibmps2-aix.h.
Richard M. Stallman <rms@gnu.org>
parents: 3700
diff changeset
38 #undef SEGMENT_MASK
3fbda0e7f793 Total rewrite; includes ibmps2-aix.h.
Richard M. Stallman <rms@gnu.org>
parents: 3700
diff changeset
39 #undef DATA_SECTION_ALIGNMENT
456
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
40
4464
3fbda0e7f793 Total rewrite; includes ibmps2-aix.h.
Richard M. Stallman <rms@gnu.org>
parents: 3700
diff changeset
41 #define TEXT_START 0
3fbda0e7f793 Total rewrite; includes ibmps2-aix.h.
Richard M. Stallman <rms@gnu.org>
parents: 3700
diff changeset
42 #define SEGMENT_MASK 0
3fbda0e7f793 Total rewrite; includes ibmps2-aix.h.
Richard M. Stallman <rms@gnu.org>
parents: 3700
diff changeset
43 #define DATA_SECTION_ALIGNMENT 0x00001000
456
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
44
4464
3fbda0e7f793 Total rewrite; includes ibmps2-aix.h.
Richard M. Stallman <rms@gnu.org>
parents: 3700
diff changeset
45 #undef LOAD_AVE_CVT
3fbda0e7f793 Total rewrite; includes ibmps2-aix.h.
Richard M. Stallman <rms@gnu.org>
parents: 3700
diff changeset
46 #undef LOAD_AVE_TYPE
456
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
47 /* Data type of load average, as read out of kmem. */
4464
3fbda0e7f793 Total rewrite; includes ibmps2-aix.h.
Richard M. Stallman <rms@gnu.org>
parents: 3700
diff changeset
48 #define LOAD_AVE_CVT(x) (int)(((double) (x)) * 100.0 / 1.0)
456
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
49 #define LOAD_AVE_TYPE double
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
50
4464
3fbda0e7f793 Total rewrite; includes ibmps2-aix.h.
Richard M. Stallman <rms@gnu.org>
parents: 3700
diff changeset
51 #undef LIBS_MACHINE
3fbda0e7f793 Total rewrite; includes ibmps2-aix.h.
Richard M. Stallman <rms@gnu.org>
parents: 3700
diff changeset
52 #define LIBS_MACHINE
4642
aceaf48ee60d (HAVE_VFORK, INTEL386, aix386): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents: 4464
diff changeset
53 #undef HAVE_VFORK
456
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
54
4464
3fbda0e7f793 Total rewrite; includes ibmps2-aix.h.
Richard M. Stallman <rms@gnu.org>
parents: 3700
diff changeset
55 #undef LD_SWITCH_MACHINE
3fbda0e7f793 Total rewrite; includes ibmps2-aix.h.
Richard M. Stallman <rms@gnu.org>
parents: 3700
diff changeset
56 #define LD_SWITCH_MACHINE -xa