1  /* Definitions for VAX running Linux-based GNU systems with ELF format.
       2     Copyright (C) 2007-2023 Free Software Foundation, Inc.
       3  
       4  This file is part of GCC.
       5  
       6  GCC 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 3, or (at your option)
       9  any later version.
      10  
      11  GCC 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.
      15  
      16  You should have received a copy of the GNU General Public License
      17  along with GCC; see the file COPYING3.  If not see
      18  <http://www.gnu.org/licenses/>.  */
      19  
      20  
      21  #define TARGET_OS_CPP_BUILTINS() GNU_USER_TARGET_OS_CPP_BUILTINS()
      22  
      23  /* We use GAS, G-float double and want new DI patterns.  */
      24  #undef TARGET_DEFAULT
      25  #define TARGET_DEFAULT (MASK_QMATH | MASK_G_FLOAT)
      26  
      27  /* Use standard names for udiv and umod libgcc calls.  */
      28  #undef TARGET_BSD_DIVMOD
      29  #define TARGET_BSD_DIVMOD 0
      30  
      31  #undef CPP_SPEC
      32  #define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}"
      33  
      34  #undef ASM_SPEC
      35  #define ASM_SPEC "%{" FPIC_SPEC ":-k}"
      36  
      37  #undef LINK_SPEC
      38  #define LINK_SPEC \
      39   "%(endian_spec) \
      40    %{shared:-shared} \
      41    %{!shared: \
      42      %{!static: \
      43        %{rdynamic:-export-dynamic} \
      44        -dynamic-linker /lib/ld.so.1} \
      45      %{static:-static}}"
      46  
      47  #undef  WCHAR_TYPE
      48  #define WCHAR_TYPE "long int"
      49  
      50  #undef  WCHAR_TYPE_SIZE
      51  #define WCHAR_TYPE_SIZE BITS_PER_WORD