# HG changeset patch # User Dan Nicolaescu # Date 1272745181 25200 # Node ID 01b4cde1b57b4ca6deb3e0a2f176735ef5d530b6 # Parent ba928cce64c573edad4058995f68dc4e62b12069 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. diff -r ba928cce64c5 -r 01b4cde1b57b src/ChangeLog --- a/src/ChangeLog Sat May 01 13:14:10 2010 -0700 +++ b/src/ChangeLog Sat May 01 13:19:41 2010 -0700 @@ -1,5 +1,12 @@ 2010-05-01 Dan Nicolaescu + 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. + * sysdep.c (child_setup_tty, init_sys_modes): Remove !IBMR2AIX code, unused. 2010-05-01 Eli Zaretskii diff -r ba928cce64c5 -r 01b4cde1b57b src/m/ibmrs6000.h --- a/src/m/ibmrs6000.h Sat May 01 13:14:10 2010 -0700 +++ b/src/m/ibmrs6000.h Sat May 01 13:19:41 2010 -0700 @@ -25,8 +25,6 @@ /* Now define a symbol for the cpu type, if your compiler does not define it automatically. */ -#define IBMR2AIX - /* The data segment in this machine always starts at address 0x20000000. An address of data cannot be stored correctly in a Lisp object; we always lose the high bits. We must tell XPNTR to add them back. */ @@ -36,16 +34,6 @@ #define WORDS_BIG_ENDIAN #define DATA_SEG_BITS 0x20000000 -/* sfreed@unm.edu says add -bI:/usr/lpp/X11/bin/smt.exp for AIX 3.2.4. */ -/* marc@sti.com (Marc Pawliger) says ibmrs6000.inp is needed to avoid - linker error for updated X11R5 libraries, which references pthread library - which most machines don't have. We use the name .inp instead of .imp - because .inp is a better convention to use in make-dist for naming - random input files. */ -#ifdef THIS_IS_MAKEFILE /* Don't use this in configure. */ -#define LD_SWITCH_MACHINE -Wl,-bnodelcsect -#endif /* THIS_IS_MAKEFILE */ - #ifndef NLIST_STRUCT /* AIX supposedly doesn't use this interface, but on the RS/6000 it apparently does. */ diff -r ba928cce64c5 -r 01b4cde1b57b src/m/ibmrs6000.inp --- a/src/m/ibmrs6000.inp Sat May 01 13:14:10 2010 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,4 +0,0 @@ -#! -pthread_yield - -# arch-tag: fc6d01ea-c488-4862-bbdb-e8d3e0f6fdb3 diff -r ba928cce64c5 -r 01b4cde1b57b src/s/aix4-2.h --- a/src/s/aix4-2.h Sat May 01 13:14:10 2010 -0700 +++ b/src/s/aix4-2.h Sat May 01 13:19:41 2010 -0700 @@ -100,6 +100,10 @@ #define LIBS_SYSTEM -lrts -lIM -liconv #endif +#define LD_SWITCH_SYSTEM_TEMACS -Wl,-bnodelcsect + + + /* Use terminfo instead of termcap. */ #define TERMINFO