[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/m/ibmrs6000.h,v
From: |
Dan Nicolaescu |
Subject: |
[Emacs-diffs] Changes to emacs/src/m/ibmrs6000.h,v |
Date: |
Thu, 17 Jul 2008 13:57:15 +0000 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Changes by: Dan Nicolaescu <dann> 08/07/17 13:57:13
Index: m/ibmrs6000.h
===================================================================
RCS file: /cvsroot/emacs/emacs/src/m/ibmrs6000.h,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -b -r1.55 -r1.56
--- m/ibmrs6000.h 16 Jul 2008 08:06:18 -0000 1.55
+++ m/ibmrs6000.h 17 Jul 2008 13:57:12 -0000 1.56
@@ -22,15 +22,6 @@
operating system this machine is likely to run.
USUAL-OPSYS="aix3-1" */
-/* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word
- is the most significant byte. */
-
-#ifdef USG5_4
-#undef WORDS_BIG_ENDIAN
-#else
-#define WORDS_BIG_ENDIAN
-#endif
-
/* Define NO_ARG_ARRAY if you cannot take the address of the first of a
* group of arguments and treat it as an array of the arguments. */
@@ -49,33 +40,40 @@
#define NO_REMAP
-#ifndef USG5_4
-#define TEXT_START 0x10000000
-#define TEXT_END 0
-#define DATA_START 0x20000000
-#define DATA_END 0
-#endif
-
/* 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. */
#ifndef USG5_4
+#define TEXT_START 0x10000000
+#define TEXT_END 0
+#define DATA_START 0x20000000
+#define DATA_END 0
+#define WORDS_BIG_ENDIAN
#define DATA_SEG_BITS 0x20000000
-#else
-#define DATA_SEG_BITS 0
-#endif
+#define C_SWITCH_MACHINE -D_BSD
-#undef ADDR_CORRECT
-#define ADDR_CORRECT(x) ((int)(x))
+/* address@hidden says add -bI:/usr/lpp/X11/bin/smt.exp for AIX 3.2.4. */
+/* address@hidden (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 */
-/* Here override various assumptions in ymakefile */
+/* Avoid gcc 2.7.x collect2 bug by using /bin/ld instead. */
+#if __GNUC__ == 2 && __GNUC_MINOR__ == 7
+#define LD_SWITCH_SITE -B/bin/
+#endif
-#ifndef USG5
-#define C_SWITCH_MACHINE -D_BSD
+#ifndef NLIST_STRUCT
+/* AIX supposedly doesn't use this interface, but on the RS/6000
+ it apparently does. */
+#define NLIST_STRUCT
#endif
-#ifdef AIX
/* -lpthreads seems to be necessary for Xlib in X11R6, and should be harmless
on older versions of X where it happens to exist. */
#ifdef HAVE_LIBPTHREADS
@@ -84,13 +82,15 @@
/* IBM's X11R5 use -lIM and -liconv in AIX 3.2.2. */
#define LIBS_MACHINE -lrts -lIM -liconv
#endif
-#else
-#ifdef USG5_4
+
+#else /* USG5_4 */
+#undef WORDS_BIG_ENDIAN
+#define DATA_SEG_BITS 0
#define LIBS_MACHINE
-#else
-#define LIBS_MACHINE -lIM
-#endif
-#endif
+#endif /* USG5_4 */
+
+#undef ADDR_CORRECT
+#define ADDR_CORRECT(x) ((int)(x))
#define START_FILES
/*** BUILD 9008 - FIONREAD problem still exists in X-Windows. ***/
@@ -106,36 +106,5 @@
#define ORDINARY_LINK
-#ifndef USG5_4
-/* address@hidden says add -bI:/usr/lpp/X11/bin/smt.exp for AIX 3.2.4. */
-/* address@hidden (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. */
-#ifdef AIX
-#define LD_SWITCH_MACHINE -Wl,-bnodelcsect
-#else /* not AIX */
-#ifdef HAVE_AIX_SMT_EXP
-#define LD_SWITCH_MACHINE
-Wl,-bnso,-bnodelcsect,-bI:/lib/syscalls.exp,-bI:$(srcdir)/m/ibmrs6000.inp,-bI:/usr/lpp/X11/bin/smt.exp
-#else
-#define LD_SWITCH_MACHINE
-Wl,-bnso,-bnodelcsect,-bI:/lib/syscalls.exp,-bI:$(srcdir)/m/ibmrs6000.inp
-#endif
-#endif /* not AIX */
-#endif /* THIS_IS_MAKEFILE */
-
-/* Avoid gcc 2.7.x collect2 bug by using /bin/ld instead. */
-#if __GNUC__ == 2 && __GNUC_MINOR__ == 7
-#define LD_SWITCH_SITE -B/bin/
-#endif
-
-#ifndef NLIST_STRUCT
-/* AIX supposedly doesn't use this interface, but on the RS/6000
- it apparently does. */
-#define NLIST_STRUCT
-#endif
-#endif /* USG5_4 */
-
/* arch-tag: 028318ee-a7ae-4a08-804d-cc1e6588d003
(do not change this comment) */
- [Emacs-diffs] Changes to emacs/src/m/ibmrs6000.h,v, Dan Nicolaescu, 2008/07/10
- [Emacs-diffs] Changes to emacs/src/m/ibmrs6000.h,v, Dan Nicolaescu, 2008/07/10
- [Emacs-diffs] Changes to emacs/src/m/ibmrs6000.h,v, Dan Nicolaescu, 2008/07/16
- [Emacs-diffs] Changes to emacs/src/m/ibmrs6000.h,v,
Dan Nicolaescu <=
- [Emacs-diffs] Changes to emacs/src/m/ibmrs6000.h,v, Dan Nicolaescu, 2008/07/21
- [Emacs-diffs] Changes to emacs/src/m/ibmrs6000.h,v, Dan Nicolaescu, 2008/07/23
- [Emacs-diffs] Changes to emacs/src/m/ibmrs6000.h,v, Dan Nicolaescu, 2008/07/23
- [Emacs-diffs] Changes to emacs/src/m/ibmrs6000.h,v, Dan Nicolaescu, 2008/07/23
- [Emacs-diffs] Changes to emacs/src/m/ibmrs6000.h,v, Dan Nicolaescu, 2008/07/24