| OLD | NEW |
| (Empty) |
| 1 /* Definitions of target machine for GNU compiler, for a PDP with 2BSD | |
| 2 Copyright (C) 1995, 1996, 1999, 2000, 2007 Free Software Foundation, Inc. | |
| 3 Contributed by Michael K. Gschwind (mike@vlsivie.tuwien.ac.at). | |
| 4 | |
| 5 This file is part of GCC. | |
| 6 | |
| 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 3, or (at your option) | |
| 10 any later version. | |
| 11 | |
| 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. | |
| 16 | |
| 17 You should have received a copy of the GNU General Public License | |
| 18 along with GCC; see the file COPYING3. If not see | |
| 19 <http://www.gnu.org/licenses/>. */ | |
| 20 | |
| 21 #define TWO_BSD | |
| 22 | |
| 23 /* EXIT_IGNORE_STACK should be nonzero if, when returning from a function, | |
| 24 the stack pointer does not matter. The value is tested only in | |
| 25 functions that have frame pointers. | |
| 26 No definition is equivalent to always zero. */ | |
| 27 | |
| 28 #undef EXIT_IGNORE_STACK | |
| 29 #define EXIT_IGNORE_STACK 1 | |
| 30 | |
| 31 #undef INITIAL_FRAME_POINTER_OFFSET | |
| 32 #define INITIAL_FRAME_POINTER_OFFSET(DEPTH_VAR) \ | |
| 33 { \ | |
| 34 int offset; \ | |
| 35 offset = get_frame_size(); \ | |
| 36 offset = (offset <= 2)? 0: (offset -2); \ | |
| 37 (DEPTH_VAR) = offset+10; \ | |
| 38 } | |
| 39 | |
| 40 /* Value should be nonzero if functions must have frame pointers. | |
| 41 Zero means the frame pointer need not be set up (and parms | |
| 42 may be accessed via the stack pointer) in functions that seem suitable. | |
| 43 This is computed in `reload', in reload1.c. | |
| 44 */ | |
| 45 | |
| 46 #undef FRAME_POINTER_REQUIRED | |
| 47 #define FRAME_POINTER_REQUIRED 1 | |
| 48 | |
| 49 /* Offset within stack frame to start allocating local variables at. | |
| 50 If FRAME_GROWS_DOWNWARD, this is the offset to the END of the | |
| 51 first local allocated. Otherwise, it is the offset to the BEGINNING | |
| 52 of the first local allocated. */ | |
| 53 #undef STARTING_FRAME_OFFSET | |
| 54 #define STARTING_FRAME_OFFSET -8 | |
| 55 | |
| 56 | |
| 57 #undef ASM_DECLARE_FUNCTION_NAME | |
| 58 #define ASM_DECLARE_FUNCTION_NAME(STREAM, NAME, DECL) \ | |
| 59 do { \ | |
| 60 ASM_OUTPUT_LABEL (STREAM, NAME); \ | |
| 61 fprintf (STREAM, "~~%s:\n", NAME); \ | |
| 62 } while (0) | |
| 63 | |
| 64 #undef TARGET_UNIX_ASM_DEFAULT | |
| 65 #define TARGET_UNIX_ASM_DEFAULT MASK_UNIX_ASM | |
| OLD | NEW |