diff options
| author | Richard M. Stallman | 1994-06-23 19:40:13 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-06-23 19:40:13 +0000 |
| commit | 6ce11b6b00c86736f23b2650aa219af00160d043 (patch) | |
| tree | f05c419ad219bd6db4dd6c2ddf6121b93e3ef2ed /src | |
| parent | c0b54990160f684dd2386d170a10d435f3d48f6a (diff) | |
| download | emacs-6ce11b6b00c86736f23b2650aa219af00160d043.tar.gz emacs-6ce11b6b00c86736f23b2650aa219af00160d043.zip | |
(LIBS_MACHINE, GETPGRP_NO_ARG): Defined.
(NLIST_NAME_UNION, DECLARE_GETPWUID_WITH_UID_T): Defined.
(CRT0_DUMMIES): Conditionalize according to __GNUC__.
(convex): Define if necessary.
(C_SWITCH_MACHINE): Definition deleted.
Diffstat (limited to 'src')
| -rw-r--r-- | src/m/convex.h | 31 |
1 files changed, 23 insertions, 8 deletions
diff --git a/src/m/convex.h b/src/m/convex.h index 7dbd9c348b8..866f1dc4e94 100644 --- a/src/m/convex.h +++ b/src/m/convex.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* machine description file for convex C1. | 1 | /* machine description file for Convex (all models). |
| 2 | Copyright (C) 1987, 1994 Free Software Foundation, Inc. | 2 | Copyright (C) 1987, 1994 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| @@ -46,21 +46,25 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ | |||
| 46 | * to be corrected before they can be used as byte counts. */ | 46 | * to be corrected before they can be used as byte counts. */ |
| 47 | 47 | ||
| 48 | /* #define WORD_MACHINE */ | 48 | /* #define WORD_MACHINE */ |
| 49 | 49 | ||
| 50 | /* Now define a symbol for the cpu type, if your compiler | 50 | /* Now define a symbol for the cpu type, if your compiler |
| 51 | does not define it automatically. */ | 51 | does not define it automatically. */ |
| 52 | 52 | #ifndef convex /* The compiler doesn't always do this. */ | |
| 53 | /* convex already defined... */ | 53 | #define convex |
| 54 | #endif | ||
| 54 | 55 | ||
| 55 | /* Use type int rather than a union, to represent Lisp_Object */ | 56 | /* Use type int rather than a union, to represent Lisp_Object */ |
| 56 | /* This is desirable for most machines. */ | 57 | /* This is desirable for most machines. */ |
| 57 | 58 | ||
| 58 | #define NO_UNION_TYPE | 59 | #define NO_UNION_TYPE |
| 59 | 60 | ||
| 60 | /* crt0.c should use the vax-bsd style of entry. | 61 | #ifndef __GNUC__ /* David M. Cooke <dcooke@haven.larc.nasa.gov> |
| 61 | Ralph Sobek <Ralph.Sobek@cerfacs.fr> says must ignore one arg. */ | 62 | and Ralph Sobek <Ralph.Sobek@cerfacs.fr> agree |
| 62 | 63 | must ignore one arg when compiled with convex compiler. */ | |
| 63 | #define CRT0_DUMMIES ignore, | 64 | #define CRT0_DUMMIES ignore, |
| 65 | #else | ||
| 66 | #define CRT0_DUMMIES | ||
| 67 | #endif | ||
| 64 | 68 | ||
| 65 | /* crt0.c should define a symbol `start' and do .globl with a dot. */ | 69 | /* crt0.c should define a symbol `start' and do .globl with a dot. */ |
| 66 | 70 | ||
| @@ -131,7 +135,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ | |||
| 131 | 135 | ||
| 132 | /* Posix stuff for Convex OS 8.1 and up. */ | 136 | /* Posix stuff for Convex OS 8.1 and up. */ |
| 133 | 137 | ||
| 134 | #define C_SWITCH_MACHINE -pcc | ||
| 135 | #define LD_SWITCH_MACHINE \ | 138 | #define LD_SWITCH_MACHINE \ |
| 136 | -e__start -L /usr/lib \ | 139 | -e__start -L /usr/lib \ |
| 137 | '-A__iob=___ap$$iob' '-A_use_libc_sema=___ap$$use_libc_sema' | 140 | '-A__iob=___ap$$iob' '-A_use_libc_sema=___ap$$use_libc_sema' |
| @@ -167,3 +170,15 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ | |||
| 167 | #define LD_SWITCH_MACHINE -X -NL -fn -Enoposix -A__iob=___ap\$$iob \ | 170 | #define LD_SWITCH_MACHINE -X -NL -fn -Enoposix -A__iob=___ap\$$iob \ |
| 168 | -A_use_libc_sema=___ap\$$use_libc_sema -L /usr/lib | 171 | -A_use_libc_sema=___ap\$$use_libc_sema -L /usr/lib |
| 169 | #endif | 172 | #endif |
| 173 | |||
| 174 | /* Avoid error in xrdb.c - d.m.cooke@larc.nasa.gov. */ | ||
| 175 | #define DECLARE_GETPWUID_WITH_UID_T | ||
| 176 | |||
| 177 | /* Call getpgrp properly. */ | ||
| 178 | #define GETPGRP_NO_ARG | ||
| 179 | |||
| 180 | /* Tested for both Convex C and GNUC by d.m.cooke@larc.nasa.gov. */ | ||
| 181 | #define LIBS_MACHINE -lC2 | ||
| 182 | |||
| 183 | /* Avoid error in getloadavg.c. */ | ||
| 184 | #define NLIST_NAME_UNION 1 | ||