1627f7eb2Smrg /* Functions for generic NetBSD as target machine for GNU D compiler. 2*4c3eb207Smrg Copyright (C) 2019-2020 Free Software Foundation, Inc. 3627f7eb2Smrg 4627f7eb2Smrg This file is part of GCC. 5627f7eb2Smrg 6627f7eb2Smrg GCC is free software; you can redistribute it and/or modify 7627f7eb2Smrg it under the terms of the GNU General Public License as published by 8627f7eb2Smrg the Free Software Foundation; either version 3, or (at your option) 9627f7eb2Smrg any later version. 10627f7eb2Smrg 11627f7eb2Smrg GCC is distributed in the hope that it will be useful, 12627f7eb2Smrg but WITHOUT ANY WARRANTY; without even the implied warranty of 13627f7eb2Smrg MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14627f7eb2Smrg GNU General Public License for more details. 15627f7eb2Smrg 16627f7eb2Smrg You should have received a copy of the GNU General Public License 17627f7eb2Smrg along with GCC; see the file COPYING3. If not see 18627f7eb2Smrg <http://www.gnu.org/licenses/>. */ 19627f7eb2Smrg 20627f7eb2Smrg #include "config.h" 21627f7eb2Smrg #include "system.h" 22627f7eb2Smrg #include "coretypes.h" 23627f7eb2Smrg #include "tm.h" 24627f7eb2Smrg #include "memmodel.h" 25627f7eb2Smrg #include "tm_p.h" 26627f7eb2Smrg #include "d/d-target.h" 27627f7eb2Smrg #include "d/d-target-def.h" 28627f7eb2Smrg 29627f7eb2Smrg static void netbsd_d_os_builtins(void)30627f7eb2Smrgnetbsd_d_os_builtins (void) 31627f7eb2Smrg { 32627f7eb2Smrg d_add_builtin_version ("Posix"); 33627f7eb2Smrg d_add_builtin_version ("NetBSD"); 34627f7eb2Smrg } 35627f7eb2Smrg 36627f7eb2Smrg #undef TARGET_D_OS_VERSIONS 37627f7eb2Smrg #define TARGET_D_OS_VERSIONS netbsd_d_os_builtins 38627f7eb2Smrg 39627f7eb2Smrg struct gcc_targetdm targetdm = TARGETDM_INITIALIZER; 40