136ac495dSmrg /* Definitions of target machine for GNU compiler, 236ac495dSmrg for NetBSD/vax ELF systems. 3*8feb0f0bSmrg Copyright (C) 2002-2020 Free Software Foundation, Inc. 436ac495dSmrg 536ac495dSmrg This file is part of GCC. 636ac495dSmrg 736ac495dSmrg GCC is free software; you can redistribute it and/or modify 836ac495dSmrg it under the terms of the GNU General Public License as published by 936ac495dSmrg the Free Software Foundation; either version 3, or (at your option) 1036ac495dSmrg any later version. 1136ac495dSmrg 1236ac495dSmrg GCC is distributed in the hope that it will be useful, 1336ac495dSmrg but WITHOUT ANY WARRANTY; without even the implied warranty of 1436ac495dSmrg MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1536ac495dSmrg GNU General Public License for more details. 1636ac495dSmrg 1736ac495dSmrg You should have received a copy of the GNU General Public License 1836ac495dSmrg along with GCC; see the file COPYING3. If not see 1936ac495dSmrg <http://www.gnu.org/licenses/>. */ 2036ac495dSmrg 2136ac495dSmrg /* Names to predefine in the preprocessor for this target OS. */ 2236ac495dSmrg #undef TARGET_OS_CPP_BUILTINS 2336ac495dSmrg #define TARGET_OS_CPP_BUILTINS() \ 2436ac495dSmrg do \ 2536ac495dSmrg { \ 2636ac495dSmrg NETBSD_OS_CPP_BUILTINS_ELF(); \ 2736ac495dSmrg } \ 2836ac495dSmrg while (0) 2936ac495dSmrg 3036ac495dSmrg #undef CPP_SPEC 3136ac495dSmrg #define CPP_SPEC NETBSD_CPP_SPEC 3236ac495dSmrg 3336ac495dSmrg #ifndef NETBSD_CC1_AND_CC1PLUS_SPEC 3436ac495dSmrg #define NETBSD_CC1_AND_CC1PLUS_SPEC "" 3536ac495dSmrg #endif 3636ac495dSmrg 3736ac495dSmrg #undef CC1_SPEC 3836ac495dSmrg #define CC1_SPEC NETBSD_CC1_AND_CC1PLUS_SPEC VAX_CC1_AND_CC1PLUS_SPEC 3936ac495dSmrg 4036ac495dSmrg #undef CC1PLUS_SPEC 4136ac495dSmrg #define CC1PLUS_SPEC NETBSD_CC1_AND_CC1PLUS_SPEC VAX_CC1_AND_CC1PLUS_SPEC 4236ac495dSmrg 4336ac495dSmrg #define NETBSD_ENTRY_POINT "__start" 4436ac495dSmrg 4536ac495dSmrg #undef LINK_SPEC 4636ac495dSmrg #define LINK_SPEC NETBSD_LINK_SPEC_ELF 4736ac495dSmrg 4836ac495dSmrg #undef EXTRA_SPECS 4936ac495dSmrg #define EXTRA_SPECS NETBSD_SUBTARGET_EXTRA_SPECS 5036ac495dSmrg #undef SUBTARGET_EXTRA_SPECS 5136ac495dSmrg 5236ac495dSmrg #undef INTPTR_TYPE 5336ac495dSmrg #define INTPTR_TYPE "long int" 5436ac495dSmrg 5536ac495dSmrg #undef UINTPTR_TYPE 5636ac495dSmrg #define UINTPTR_TYPE "long unsigned int" 5736ac495dSmrg 5836ac495dSmrg /* We use gas, not the UNIX assembler. */ 5936ac495dSmrg #undef TARGET_DEFAULT 6036ac495dSmrg #define TARGET_DEFAULT MASK_QMATH 61