aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDan Nicolaescu2010-05-01 13:19:41 -0700
committerDan Nicolaescu2010-05-01 13:19:41 -0700
commit87e7285cdd9f70cd16122394e33d5620913ad284 (patch)
treec3e7144ed8e0f320e713034a9eacf694bc1daf6e /src
parente4814a9f4c9bd076c996991144e4d255ab575f08 (diff)
downloademacs-87e7285cdd9f70cd16122394e33d5620913ad284.tar.gz
emacs-87e7285cdd9f70cd16122394e33d5620913ad284.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog7
-rw-r--r--src/m/ibmrs6000.h12
-rw-r--r--src/m/ibmrs6000.inp4
-rw-r--r--src/s/aix4-2.h4
4 files changed, 11 insertions, 16 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index c839260336d..5794311868d 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,12 @@
12010-05-01 Dan Nicolaescu <dann@ics.uci.edu> 12010-05-01 Dan Nicolaescu <dann@ics.uci.edu>
2 2
3 Clean up AIX code.
4 * m/ibmrs6000.inp: Remove file, unused.
5 * m/ibmrs6000.h (IBMR2AIX): Remove, unused.
6 (LD_SWITCH_MACHINE): Rename to LD_SWITCH_SYSTEM_TEMACS, and move
7 definition ...
8 * s/aix4-2.h (LD_SWITCH_SYSTEM_TEMACS): ... here.
9
3 * sysdep.c (child_setup_tty, init_sys_modes): Remove !IBMR2AIX code, unused. 10 * sysdep.c (child_setup_tty, init_sys_modes): Remove !IBMR2AIX code, unused.
4 11
52010-05-01 Eli Zaretskii <eliz@gnu.org> 122010-05-01 Eli Zaretskii <eliz@gnu.org>
diff --git a/src/m/ibmrs6000.h b/src/m/ibmrs6000.h
index a62cb5d1987..8027afcc30e 100644
--- a/src/m/ibmrs6000.h
+++ b/src/m/ibmrs6000.h
@@ -25,8 +25,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
25/* Now define a symbol for the cpu type, if your compiler 25/* Now define a symbol for the cpu type, if your compiler
26 does not define it automatically. */ 26 does not define it automatically. */
27 27
28#define IBMR2AIX
29
30/* The data segment in this machine always starts at address 0x20000000. 28/* The data segment in this machine always starts at address 0x20000000.
31 An address of data cannot be stored correctly in a Lisp object; 29 An address of data cannot be stored correctly in a Lisp object;
32 we always lose the high bits. We must tell XPNTR to add them back. */ 30 we always lose the high bits. We must tell XPNTR to add them back. */
@@ -36,16 +34,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
36#define WORDS_BIG_ENDIAN 34#define WORDS_BIG_ENDIAN
37#define DATA_SEG_BITS 0x20000000 35#define DATA_SEG_BITS 0x20000000
38 36
39/* sfreed@unm.edu says add -bI:/usr/lpp/X11/bin/smt.exp for AIX 3.2.4. */
40/* marc@sti.com (Marc Pawliger) says ibmrs6000.inp is needed to avoid
41 linker error for updated X11R5 libraries, which references pthread library
42 which most machines don't have. We use the name .inp instead of .imp
43 because .inp is a better convention to use in make-dist for naming
44 random input files. */
45#ifdef THIS_IS_MAKEFILE /* Don't use this in configure. */
46#define LD_SWITCH_MACHINE -Wl,-bnodelcsect
47#endif /* THIS_IS_MAKEFILE */
48
49#ifndef NLIST_STRUCT 37#ifndef NLIST_STRUCT
50/* AIX supposedly doesn't use this interface, but on the RS/6000 38/* AIX supposedly doesn't use this interface, but on the RS/6000
51 it apparently does. */ 39 it apparently does. */
diff --git a/src/m/ibmrs6000.inp b/src/m/ibmrs6000.inp
deleted file mode 100644
index d7f3fddaf6f..00000000000
--- a/src/m/ibmrs6000.inp
+++ /dev/null
@@ -1,4 +0,0 @@
1#!
2pthread_yield
3
4# arch-tag: fc6d01ea-c488-4862-bbdb-e8d3e0f6fdb3
diff --git a/src/s/aix4-2.h b/src/s/aix4-2.h
index b6ef00a1fdb..2c7f8c06157 100644
--- a/src/s/aix4-2.h
+++ b/src/s/aix4-2.h
@@ -100,6 +100,10 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
100#define LIBS_SYSTEM -lrts -lIM -liconv 100#define LIBS_SYSTEM -lrts -lIM -liconv
101#endif 101#endif
102 102
103#define LD_SWITCH_SYSTEM_TEMACS -Wl,-bnodelcsect
104
105
106
103/* Use terminfo instead of termcap. */ 107/* Use terminfo instead of termcap. */
104 108
105#define TERMINFO 109#define TERMINFO