annotate src/m/ibmrs6000.h @ 108205:01b4cde1b57b

Clean up AIX code. * m/ibmrs6000.inp: Remove file, unused. * m/ibmrs6000.h (IBMR2AIX): Remove, unused. (LD_SWITCH_MACHINE): Rename to LD_SWITCH_SYSTEM_TEMACS, and move definition ... * s/aix4-2.h (LD_SWITCH_SYSTEM_TEMACS): ... here.
author Dan Nicolaescu <dann@ics.uci.edu>
date Sat, 01 May 2010 13:19:41 -0700
parents 641672d44942
children ddb9a8f686bd
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
446
76b7a95526d3 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
1 /* R2 AIX machine/system dependent defines
94714
7e5b32f86a4c Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 79755
diff changeset
2 Copyright (C) 1988, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
106815
1d1d5d9bd884 Add 2010 to copyright years.
Glenn Morris <rgm@gnu.org>
parents: 102099
diff changeset
3 2008, 2009, 2010 Free Software Foundation, Inc.
446
76b7a95526d3 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
4
76b7a95526d3 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
5 This file is part of GNU Emacs.
76b7a95526d3 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
6
94714
7e5b32f86a4c Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 79755
diff changeset
7 GNU Emacs is free software: you can redistribute it and/or modify
446
76b7a95526d3 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
8 it under the terms of the GNU General Public License as published by
94714
7e5b32f86a4c Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 79755
diff changeset
9 the Free Software Foundation, either version 3 of the License, or
7e5b32f86a4c Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 79755
diff changeset
10 (at your option) any later version.
446
76b7a95526d3 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
11
76b7a95526d3 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
12 GNU Emacs is distributed in the hope that it will be useful,
76b7a95526d3 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
76b7a95526d3 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
76b7a95526d3 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
15 GNU General Public License for more details.
76b7a95526d3 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
16
76b7a95526d3 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
17 You should have received a copy of the GNU General Public License
94714
7e5b32f86a4c Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 79755
diff changeset
18 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
446
76b7a95526d3 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
19
76b7a95526d3 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
20
49600
23a1cea22d13 Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 44601
diff changeset
21 /* The following line tells the configuration script what sort of
446
76b7a95526d3 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
22 operating system this machine is likely to run.
76b7a95526d3 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
23 USUAL-OPSYS="aix3-1" */
76b7a95526d3 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
24
76b7a95526d3 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
25 /* Now define a symbol for the cpu type, if your compiler
76b7a95526d3 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
26 does not define it automatically. */
76b7a95526d3 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
27
76b7a95526d3 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
28 /* The data segment in this machine always starts at address 0x20000000.
76b7a95526d3 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
29 An address of data cannot be stored correctly in a Lisp object;
74145
8eceefbbcde7 Space/tab mixup.
Juanma Barranquero <lekktu@gmail.com>
parents: 68651
diff changeset
30 we always lose the high bits. We must tell XPNTR to add them back. */
446
76b7a95526d3 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
31
96764
1307c33f5e9a * ecrt0.c: Remove code depending on m68000, not used anymore.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 96732
diff changeset
32 #define TEXT_START 0x10000000
1307c33f5e9a * ecrt0.c: Remove code depending on m68000, not used anymore.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 96732
diff changeset
33 #define DATA_START 0x20000000
1307c33f5e9a * ecrt0.c: Remove code depending on m68000, not used anymore.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 96732
diff changeset
34 #define WORDS_BIG_ENDIAN
446
76b7a95526d3 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
35 #define DATA_SEG_BITS 0x20000000
96764
1307c33f5e9a * ecrt0.c: Remove code depending on m68000, not used anymore.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 96732
diff changeset
36
1307c33f5e9a * ecrt0.c: Remove code depending on m68000, not used anymore.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 96732
diff changeset
37 #ifndef NLIST_STRUCT
1307c33f5e9a * ecrt0.c: Remove code depending on m68000, not used anymore.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 96732
diff changeset
38 /* AIX supposedly doesn't use this interface, but on the RS/6000
1307c33f5e9a * ecrt0.c: Remove code depending on m68000, not used anymore.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 96732
diff changeset
39 it apparently does. */
1307c33f5e9a * ecrt0.c: Remove code depending on m68000, not used anymore.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 96732
diff changeset
40 #define NLIST_STRUCT
13097
59916c4b0b79 Add early support for Solaris 2.5 on PowerPCs.
Richard M. Stallman <rms@gnu.org>
parents: 12636
diff changeset
41 #endif
4709
c3caa44eff82 (LIBS_MACHINE): Include -lrts, -liconv only if AIX3_2.
Richard M. Stallman <rms@gnu.org>
parents: 4581
diff changeset
42
102099
9460415e0ed4 (ADDR_CORRECT): Restore, removed by mistake on 2008-07-23.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 100951
diff changeset
43 #undef ADDR_CORRECT
9460415e0ed4 (ADDR_CORRECT): Restore, removed by mistake on 2008-07-23.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 100951
diff changeset
44 #define ADDR_CORRECT(x) ((int)(x))
9460415e0ed4 (ADDR_CORRECT): Restore, removed by mistake on 2008-07-23.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 100951
diff changeset
45
446
76b7a95526d3 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
46 #define START_FILES
76b7a95526d3 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
47 /*** BUILD 9008 - FIONREAD problem still exists in X-Windows. ***/
76b7a95526d3 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
48 #define BROKEN_FIONREAD
33407
b1a5569ab5ad (BROKEN_SIGAIO, BROKEN_SIGPTY, BROKEN_SIGPOLL):
Kenichi Handa <handa@m17n.org>
parents: 29792
diff changeset
49 /* As we define BROKEN_FIONREAD, SIGIO will be undefined in systty.h.
b1a5569ab5ad (BROKEN_SIGAIO, BROKEN_SIGPTY, BROKEN_SIGPOLL):
Kenichi Handa <handa@m17n.org>
parents: 29792
diff changeset
50 But, on AIX, SIGAIO, SIGPTY, and SIGPOLL are defined as SIGIO,
b1a5569ab5ad (BROKEN_SIGAIO, BROKEN_SIGPTY, BROKEN_SIGPOLL):
Kenichi Handa <handa@m17n.org>
parents: 29792
diff changeset
51 which causes compilation error at init_signals in sysdep.c. So, we
b1a5569ab5ad (BROKEN_SIGAIO, BROKEN_SIGPTY, BROKEN_SIGPOLL):
Kenichi Handa <handa@m17n.org>
parents: 29792
diff changeset
52 define these macros so that syssignal.h detects them and undefine
b1a5569ab5ad (BROKEN_SIGAIO, BROKEN_SIGPTY, BROKEN_SIGPOLL):
Kenichi Handa <handa@m17n.org>
parents: 29792
diff changeset
53 SIGAIO, SIGPTY and SIGPOLL. */
b1a5569ab5ad (BROKEN_SIGAIO, BROKEN_SIGPTY, BROKEN_SIGPOLL):
Kenichi Handa <handa@m17n.org>
parents: 29792
diff changeset
54 #define BROKEN_SIGAIO
b1a5569ab5ad (BROKEN_SIGAIO, BROKEN_SIGPTY, BROKEN_SIGPOLL):
Kenichi Handa <handa@m17n.org>
parents: 29792
diff changeset
55 #define BROKEN_SIGPTY
b1a5569ab5ad (BROKEN_SIGAIO, BROKEN_SIGPTY, BROKEN_SIGPOLL):
Kenichi Handa <handa@m17n.org>
parents: 29792
diff changeset
56 #define BROKEN_SIGPOLL
446
76b7a95526d3 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
57
52401
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 49600
diff changeset
58 /* arch-tag: 028318ee-a7ae-4a08-804d-cc1e6588d003
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 49600
diff changeset
59 (do not change this comment) */