1 /* Machine description file for PFU A-series.
2 Copyright (C) 1988, 1999 Free Software Foundation, Inc.
4 This file is part of GNU Emacs.
6 GNU Emacs is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2, or (at your option)
11 GNU Emacs is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with GNU Emacs; see the file COPYING. If not, write to
18 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19 Boston, MA 02111-1307, USA. */
22 /* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word
23 is the most significant byte. */
25 #define WORDS_BIG_ENDIAN
27 /* Say this machine is a 68000 */
32 /* Use type int rather than a union, to represent Lisp_Object */
36 /* XINT must explicitly sign-extend */
38 #define EXPLICIT_SIGN_EXTEND
40 /* The symbol FIONREAD is defined, but the feature does not work. */
42 #define BROKEN_FIONREAD
44 /* Define NO_REMAP if memory segmentation makes it not work well
45 to change the boundary between the text section and data section
46 when Emacs is dumped. If you define this, the preloaded Lisp
47 code will not be sharable; but that's better than failing completely. */
51 /* Define TEXT_START_ADDR if your linker don't set execute point to _start.
52 If it needed, temacs always CORE-DUMP. */
54 #define TEXT_START_ADDR __start
56 /* Define START_FILES if your machine used _start.
59 #define START_FILES crt0.o
61 /* Define LD_SWITCH_MACHINE if your linker needs it.
64 #define LD_SWITCH_MACHINE -e __start
68 /* On A-50/60/70/80, data space has high order byte use. */
70 #define VALMASK (((1<<VALBITS) - 1) | 0x60000000)
71 #define XTYPE(a) ((enum Lisp_Type) (((a) >> VALBITS) & GCTYPEMASK))
73 #endif /* pfa50, pfa70 */
75 /* SX/A has alloca in the PW library. */
77 #define LIB_STANDARD -lPW -lc
80 /* SX/A uses terminfo and lib/curses */
87 /* SX/A use SystemV style getdents/readdir. */
89 /* SX/A does not have sigblock(2) */
90 #define sigblock(mask) (0)