Home | History | Annotate | Line # | Download | only in moxie
moxiebox.h revision 1.1
      1  1.1  mrg /* Definitions for the moxiebox.
      2  1.1  mrg    Copyright (C) 2014-2015 Free Software Foundation, Inc.
      3  1.1  mrg    Contributed by Anthony Green (green (at) moxielogic.com)
      4  1.1  mrg 
      5  1.1  mrg This file is part of GCC.
      6  1.1  mrg 
      7  1.1  mrg GCC is free software; you can redistribute it and/or modify
      8  1.1  mrg it under the terms of the GNU General Public License as published by
      9  1.1  mrg the Free Software Foundation; either version 3, or (at your option)
     10  1.1  mrg any later version.
     11  1.1  mrg 
     12  1.1  mrg GCC is distributed in the hope that it will be useful,
     13  1.1  mrg but WITHOUT ANY WARRANTY; without even the implied warranty of
     14  1.1  mrg MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     15  1.1  mrg GNU General Public License for more details.
     16  1.1  mrg 
     17  1.1  mrg You should have received a copy of the GNU General Public License
     18  1.1  mrg along with GCC; see the file COPYING3.  If not see
     19  1.1  mrg <http://www.gnu.org/licenses/>.  */
     20  1.1  mrg 
     21  1.1  mrg /* Target OS preprocessor built-ins.  */
     22  1.1  mrg #define TARGET_OS_CPP_BUILTINS()		\
     23  1.1  mrg   do						\
     24  1.1  mrg     {						\
     25  1.1  mrg       builtin_define_std ("moxie");		\
     26  1.1  mrg       builtin_define ("__moxiebox__");		\
     27  1.1  mrg       builtin_assert ("system=moxiebox");	\
     28  1.1  mrg     }						\
     29  1.1  mrg   while (0)
     30  1.1  mrg 
     31  1.1  mrg #undef LIB_SPEC
     32  1.1  mrg #define LIB_SPEC \
     33  1.1  mrg "%{!T*:-Tmoxiebox.ld} \
     34  1.1  mrg  %{!nostdlib: --start-group -lsandboxrt -lc -lgcc --end-group }"
     35  1.1  mrg 
     36  1.1  mrg #undef LINK_SPEC
     37  1.1  mrg #define LINK_SPEC "%{h*} %{v:-V} -EL -Bstatic"
     38  1.1  mrg 
     39  1.1  mrg #undef  ASM_SPEC
     40  1.1  mrg #define ASM_SPEC "-EL"
     41  1.1  mrg 
     42  1.1  mrg #undef MULTILIB_DEFAULTS
     43  1.1  mrg 
     44  1.1  mrg #undef SIZE_TYPE
     45  1.1  mrg #undef PTRDIFF_TYPE
     46  1.1  mrg #undef WCHAR_TYPE
     47  1.1  mrg #undef WCHAR_TYPE_SIZE
     48  1.1  mrg 
     49  1.1  mrg #define TARGET_MOXIEBOX
     50