1 /* machine description file for Gould NP1 with UTX/32 3.0 (first release for NP1)
2 Copyright (C) 1986 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. */
21 /* The following line tells the configuration script what sort of
22 operating system this machine is likely to run.
23 USUAL-OPSYS="bsd4-3" */
25 /* If your system uses COFF (Common Object File Format) then define the
26 preprocessor symbol "COFF". */
27 /* UTX 3.0 uses a cross between COFF and a.out format, but closer to COFF. */
28 /* at least currently, already defined by cpp, but make sure */
35 /* undefine what gould.h defined */
36 #undef ADJUST_EXEC_HEADER
38 /* If your system uses COFF (Common Object File Format) then define the
39 preprocessor symbol "COFF". */
40 /* UTX 3.0 uses a cross between COFF and a.out format, but closer to COFF. */
41 #ifndef COFF /* at least currently, already defined by cpp */
45 /* make Gould NP1 and PN COFF look like USG COFF */
47 #undef aouthdr /* Since gould.h already defined these */
52 #define ADJUST_TEXT_SCNHDR_SIZE
54 /* Gould COFF - these are already defined in gould.h */
56 * #define COFF_WITH_BSD_SYMTAB
57 * #define HEADER_INCL_IN_TEXT
58 * #define magic a_magic
59 * #define tsize a_text
60 * #define dsize a_data
62 * #define entry a_entry
63 * #define text_start a_txbase
64 * #define data_start a_dtbase
67 #endif /* IN_UNEXEC */
69 /* NP1 supports a slightly different set than PowerNode */
70 #define BAUD_CONVERT { 0, 50, 75, 110, 134, 150, 300, 450, 600, 1200, \
71 1800, 2000, 2400, 3600, 4800, 7200, 9600, \
74 #define LD_SWITCH_SYSTEM -BS -e start
76 /* Undef C_DEBUG_SWITCH because it may have been set in gould.h */
77 /* It will compile and load and works with dbx. Runs under an incomplete
78 port of gdb, but gdb doesn't always find things correctly. */
80 #define C_DEBUG_SWITCH -g
81 #define LIBS_DEBUG -lg
84 /* The data segment in this machine always starts at address 0x1000000 = 16M.
85 An address of data cannot be stored correctly in a Lisp object;
86 we always lose the high bits. We must tell XPNTR to add them back. */
88 #define DATA_SEG_BITS 0x1000000
89 #define DATA_START 0x1000000
91 /* The text segment always starts at 0.
92 This way we don't need to have a label _start defined. */
95 /* Data isn't right next to text on an NP1 */
98 /* The bcopy bug has reappeared */