diff options
| author | Richard M. Stallman | 1995-10-01 03:43:42 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-10-01 03:43:42 +0000 |
| commit | d7d7c1dd1b4355a4a70a6791377103c12dc27972 (patch) | |
| tree | c7462a9cf5dc1a324723834d0fee97c1ff93391b /src | |
| parent | c42b176786635ec77a7f6ca955bde6ed58e20757 (diff) | |
| download | emacs-d7d7c1dd1b4355a4a70a6791377103c12dc27972.tar.gz emacs-d7d7c1dd1b4355a4a70a6791377103c12dc27972.zip | |
Add early support for Solaris 2.5 on PowerPCs.
[USG5_4] (CANNOT_DUMP): Define this if USG5_4.
(UNEXEC): Don't define if already defined.
[USG5_4] (DATA_SEG_BITS, LIBS_MACHINE): Alternate definitions.
(C_SWITCH_MACHINE, LD_SWITCH_MACHINE, NLIST_STRUCT, WORDS_BIG_ENDIAN)
(TEXT_START, DATA_START, TEXT_END, DATA_END):
Don't define, if USG5_4.
Diffstat (limited to 'src')
| -rw-r--r-- | src/m/ibmrs6000.h | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/src/m/ibmrs6000.h b/src/m/ibmrs6000.h index 54b661cecd2..4599e12d3ec 100644 --- a/src/m/ibmrs6000.h +++ b/src/m/ibmrs6000.h | |||
| @@ -34,7 +34,11 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ | |||
| 34 | /* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word | 34 | /* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word |
| 35 | is the most significant byte. */ | 35 | is the most significant byte. */ |
| 36 | 36 | ||
| 37 | #ifdef USG5_4 | ||
| 38 | #undef WORDS_BIG_ENDIAN | ||
| 39 | #else | ||
| 37 | #define WORDS_BIG_ENDIAN | 40 | #define WORDS_BIG_ENDIAN |
| 41 | #endif | ||
| 38 | 42 | ||
| 39 | /* Define NO_ARG_ARRAY if you cannot take the address of the first of a | 43 | /* Define NO_ARG_ARRAY if you cannot take the address of the first of a |
| 40 | * group of arguments and treat it as an array of the arguments. */ | 44 | * group of arguments and treat it as an array of the arguments. */ |
| @@ -54,24 +58,34 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ | |||
| 54 | /* Define CANNOT_DUMP on machines where unexec does not work. | 58 | /* Define CANNOT_DUMP on machines where unexec does not work. |
| 55 | Then the function dump-emacs will not be defined | 59 | Then the function dump-emacs will not be defined |
| 56 | and temacs will do (load "loadup") automatically unless told otherwise. */ | 60 | and temacs will do (load "loadup") automatically unless told otherwise. */ |
| 57 | /* #define CANNOT_DUMP */ | 61 | #ifdef USG5_4 |
| 62 | #define CANNOT_DUMP | ||
| 63 | #endif | ||
| 58 | 64 | ||
| 65 | #ifndef UNEXEC | ||
| 59 | #define UNEXEC unexaix.o | 66 | #define UNEXEC unexaix.o |
| 67 | #endif | ||
| 60 | 68 | ||
| 61 | /* Define addresses, macros, change some setup for dump */ | 69 | /* Define addresses, macros, change some setup for dump */ |
| 62 | 70 | ||
| 63 | #define NO_REMAP | 71 | #define NO_REMAP |
| 64 | 72 | ||
| 73 | #ifndef USG5_4 | ||
| 65 | #define TEXT_START 0x10000000 | 74 | #define TEXT_START 0x10000000 |
| 66 | #define TEXT_END 0 | 75 | #define TEXT_END 0 |
| 67 | #define DATA_START 0x20000000 | 76 | #define DATA_START 0x20000000 |
| 68 | #define DATA_END 0 | 77 | #define DATA_END 0 |
| 78 | #endif | ||
| 69 | 79 | ||
| 70 | /* The data segment in this machine always starts at address 0x20000000. | 80 | /* The data segment in this machine always starts at address 0x20000000. |
| 71 | An address of data cannot be stored correctly in a Lisp object; | 81 | An address of data cannot be stored correctly in a Lisp object; |
| 72 | we always lose the high bits. We must tell XPNTR to add them back. */ | 82 | we always lose the high bits. We must tell XPNTR to add them back. */ |
| 73 | 83 | ||
| 84 | #ifndef USG5_4 | ||
| 74 | #define DATA_SEG_BITS 0x20000000 | 85 | #define DATA_SEG_BITS 0x20000000 |
| 86 | #else | ||
| 87 | #define DATA_SEG_BITS 0 | ||
| 88 | #endif | ||
| 75 | 89 | ||
| 76 | #ifdef CANNOT_DUMP | 90 | #ifdef CANNOT_DUMP |
| 77 | /* Define shared memory segment symbols */ | 91 | /* Define shared memory segment symbols */ |
| @@ -119,7 +133,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ | |||
| 119 | #define OBJECTS_MACHINE hftctl.o | 133 | #define OBJECTS_MACHINE hftctl.o |
| 120 | #endif | 134 | #endif |
| 121 | 135 | ||
| 136 | #ifndef USG5_4 | ||
| 122 | #define C_SWITCH_MACHINE -D_BSD | 137 | #define C_SWITCH_MACHINE -D_BSD |
| 138 | #endif | ||
| 123 | 139 | ||
| 124 | #ifdef AIX3_2 | 140 | #ifdef AIX3_2 |
| 125 | /* -lpthreads seems to be necessary for Xlib in X11R6, and should be harmless | 141 | /* -lpthreads seems to be necessary for Xlib in X11R6, and should be harmless |
| @@ -131,8 +147,12 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ | |||
| 131 | #define LIBS_MACHINE -lrts -lIM -liconv | 147 | #define LIBS_MACHINE -lrts -lIM -liconv |
| 132 | #endif | 148 | #endif |
| 133 | #else | 149 | #else |
| 150 | #ifdef USG5_4 | ||
| 151 | #define LIBS_MACHINE | ||
| 152 | #else | ||
| 134 | #define LIBS_MACHINE -lIM | 153 | #define LIBS_MACHINE -lIM |
| 135 | #endif | 154 | #endif |
| 155 | #endif | ||
| 136 | 156 | ||
| 137 | #define START_FILES | 157 | #define START_FILES |
| 138 | #define HAVE_SYSVIPC | 158 | #define HAVE_SYSVIPC |
| @@ -145,6 +165,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ | |||
| 145 | #undef NEED_PTEM_H | 165 | #undef NEED_PTEM_H |
| 146 | 166 | ||
| 147 | #define ORDINARY_LINK | 167 | #define ORDINARY_LINK |
| 168 | |||
| 169 | #ifndef USG5_4 | ||
| 148 | /* sfreed@unm.edu says add -bI:/usr/lpp/X11/bin/smt.exp for AIX 3.2.4. */ | 170 | /* sfreed@unm.edu says add -bI:/usr/lpp/X11/bin/smt.exp for AIX 3.2.4. */ |
| 149 | /* marc@sti.com (Marc Pawliger) says ibmrs6000.inp is needed to avoid | 171 | /* marc@sti.com (Marc Pawliger) says ibmrs6000.inp is needed to avoid |
| 150 | linker error for updated X11R5 libraries, which references pthread library | 172 | linker error for updated X11R5 libraries, which references pthread library |
| @@ -164,3 +186,4 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ | |||
| 164 | /* AIX supposedly doesn't use this interface, but on the RS/6000 | 186 | /* AIX supposedly doesn't use this interface, but on the RS/6000 |
| 165 | it apparently does. */ | 187 | it apparently does. */ |
| 166 | #define NLIST_STRUCT | 188 | #define NLIST_STRUCT |
| 189 | #endif /* USG5_4 */ | ||