Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / config / pdp11 / 2bsd.h
blob74fd43aa93740dfb59d463f940f70eff439b26f2
1 /* Definitions of target machine for GNU compiler, for a PDP with 2BSD
2 Copyright (C) 1995, 1996, 1999, 2000 Free Software Foundation, Inc.
3 Contributed by Michael K. Gschwind (mike@vlsivie.tuwien.ac.at).
5 This file is part of GCC.
7 GCC is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2, or (at your option)
10 any later version.
12 GCC is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with GCC; see the file COPYING. If not, write to
19 the Free Software Foundation, 51 Franklin Street, Fifth Floor,
20 Boston, MA 02110-1301, USA. */
22 #define TWO_BSD
24 /* EXIT_IGNORE_STACK should be nonzero if, when returning from a function,
25 the stack pointer does not matter. The value is tested only in
26 functions that have frame pointers.
27 No definition is equivalent to always zero. */
29 #undef EXIT_IGNORE_STACK
30 #define EXIT_IGNORE_STACK 1
32 #undef INITIAL_FRAME_POINTER_OFFSET
33 #define INITIAL_FRAME_POINTER_OFFSET(DEPTH_VAR) \
34 { \
35 int offset; \
36 offset = get_frame_size(); \
37 offset = (offset <= 2)? 0: (offset -2); \
38 (DEPTH_VAR) = offset+10; \
41 /* Value should be nonzero if functions must have frame pointers.
42 Zero means the frame pointer need not be set up (and parms
43 may be accessed via the stack pointer) in functions that seem suitable.
44 This is computed in `reload', in reload1.c.
47 #undef FRAME_POINTER_REQUIRED
48 #define FRAME_POINTER_REQUIRED 1
50 /* Offset within stack frame to start allocating local variables at.
51 If FRAME_GROWS_DOWNWARD, this is the offset to the END of the
52 first local allocated. Otherwise, it is the offset to the BEGINNING
53 of the first local allocated. */
54 #undef STARTING_FRAME_OFFSET
55 #define STARTING_FRAME_OFFSET -8
58 #undef ASM_DECLARE_FUNCTION_NAME
59 #define ASM_DECLARE_FUNCTION_NAME(STREAM, NAME, DECL) \
60 do { \
61 ASM_OUTPUT_LABEL (STREAM, NAME); \
62 fprintf (STREAM, "~~%s:\n", NAME); \
63 } while (0)
65 #undef TARGET_UNIX_ASM_DEFAULT
66 #define TARGET_UNIX_ASM_DEFAULT MASK_UNIX_ASM