]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/config/i386/rtemself.h
Always support float128 on x86.
[thirdparty/gcc.git] / gcc / config / i386 / rtemself.h
CommitLineData
43aa4e05 1/* Definitions for rtems targeting an ix86 using ELF.
818ab71a 2 Copyright (C) 1996-2016 Free Software Foundation, Inc.
f22b4bc4 3 Contributed by Joel Sherrill (joel@OARcorp.com).
ef78c245 4
a805d35f 5This file is part of GCC.
ef78c245 6
a805d35f 7GCC is free software; you can redistribute it and/or modify
ef78c245 8it under the terms of the GNU General Public License as published by
2f83c7d6 9the Free Software Foundation; either version 3, or (at your option)
ef78c245
JL
10any later version.
11
a805d35f 12GCC is distributed in the hope that it will be useful,
ef78c245
JL
13but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15GNU General Public License for more details.
16
17You should have received a copy of the GNU General Public License
2f83c7d6
NC
18along with GCC; see the file COPYING3. If not see
19<http://www.gnu.org/licenses/>. */
ef78c245 20
f22b4bc4 21/* Specify predefined symbols in preprocessor. */
ef78c245 22
3d05b15f
NB
23#define TARGET_OS_CPP_BUILTINS() \
24 do \
25 { \
26 builtin_define ("__rtems__"); \
3d05b15f
NB
27 builtin_define ("__USE_INIT_FINI__"); \
28 builtin_assert ("system=rtems"); \
3d05b15f
NB
29 } \
30 while (0)
02ac9503
UB
31
32#undef LONG_DOUBLE_TYPE_SIZE
33#define LONG_DOUBLE_TYPE_SIZE (TARGET_80387 ? 80 : 64)