]> gcc.gnu.org Git - gcc.git/blame - gcc/config/gnu.h
i386: Tweak ix86_mode_can_transfer_bits to restore bootstrap on RHEL.
[gcc.git] / gcc / config / gnu.h
CommitLineData
bc916514
RM
1/* Configuration common to all targets running the GNU system. */
2
40b2ba11 3/*
a945c346 4Copyright (C) 1994-2024 Free Software Foundation, Inc.
40b2ba11
TS
5
6This file is part of GCC.
7
8GCC is free software: you can redistribute it and/or modify
9it under the terms of the GNU General Public License as published by
10the Free Software Foundation, either version 3 of the License, or
11(at your option) any later version.
12
13GCC is distributed in the hope that it will be useful,
14but WITHOUT ANY WARRANTY; without even the implied warranty of
15MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16GNU General Public License for more details.
17
18You should have received a copy of the GNU General Public License
19along with GCC. If not, see <http://www.gnu.org/licenses/>.
20*/
21
107fd1c1
JM
22#undef GNU_USER_TARGET_OS_CPP_BUILTINS
23#define GNU_USER_TARGET_OS_CPP_BUILTINS() \
26b0ad13
KG
24 do { \
25 builtin_define ("__gnu_hurd__"); \
26 builtin_define ("__GNU__"); \
27 builtin_define_std ("unix"); \
d09c7dba 28 builtin_define ("__MACH__"); \
26b0ad13
KG
29 builtin_assert ("system=gnu"); \
30 builtin_assert ("system=mach"); \
31 builtin_assert ("system=unix"); \
32 builtin_assert ("system=posix"); \
33 } while (0)
532c57f8
SB
34
35
36#ifndef GNU_USER_TARGET_STARTFILE_SPEC
37# warning This file should be included after gnu-user.h, to override its STARTFILE_SPEC
38#endif
39
40#undef STARTFILE_SPEC
41#if defined HAVE_LD_PIE
42#define STARTFILE_SPEC \
43 "%{!shared: %{pg|p|profile:%{static-pie:grcrt0.o%s;static:gcrt0.o%s;:gcrt1.o%s};static-pie:rcrt0.o%s;static:crt0.o%s;" PIE_SPEC ":Scrt1.o%s;:crt1.o%s}} \
44 crti.o%s %{static:crtbeginT.o%s;shared|static-pie|" PIE_SPEC ":crtbeginS.o%s;:crtbegin.o%s}"
45#else
46#define STARTFILE_SPEC \
47 "%{!shared: %{pg|p|profile:%{static:gcrt0.o%s;:gcrt1.o%s};static:crt0.o%s;:crt1.o%s}} \
48 crti.o%s %{static:crtbeginT.o%s;shared:crtbeginS.o%s;:crtbegin.o%s}"
49#endif
This page took 7.136696 seconds and 6 git commands to generate.