* c-ada-spec.c (dump_number): Add FLOAT_P parameter.
[official-gcc.git] / gcc / config / arc / elf.h
blob5abafcab4e2dab0e21f6770a00ff8aad20cec234
1 /* Target macros for arc*-elf targets.
3 Copyright (C) 2017-2018 Free Software Foundation, Inc.
5 This file is part of GCC.
7 GCC is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 3, or (at your option)
10 any later version.
12 GCC is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with GCC; see the file COPYING3. If not see
19 <http://www.gnu.org/licenses/>. */
21 #undef DWARF2_UNWIND_INFO
22 #define DWARF2_UNWIND_INFO 0
24 #undef LINK_SPEC
25 #define LINK_SPEC "%{mbig-endian:-EB} %{EB} %{EL}"
27 #define ARC_TLS_EXTRA_START_SPEC "crttls.o%s"
29 #undef SUBTARGET_EXTRA_SPECS
30 #define SUBTARGET_EXTRA_SPECS \
31 { "arc_tls_extra_start_spec", ARC_TLS_EXTRA_START_SPEC }, \
33 #undef STARTFILE_SPEC
34 #define STARTFILE_SPEC "%{pg|p:gcrt0.o%s}%{!pg:%{!p:crt0.o%s}} crti%O%s " \
35 "%(arc_tls_extra_start_spec) crtbegin.o%s"
37 #undef ENDFILE_SPEC
38 #define ENDFILE_SPEC "crtend.o%s crtn%O%s"
40 /* Leave the linker script to choose the appropriate libraries. */
41 #undef LIB_SPEC
42 #define LIB_SPEC ""
44 /* SDATA default for elf. */
45 #undef TARGET_SDATA_DEFAULT
46 #define TARGET_SDATA_DEFAULT 1
48 /* We no medium calls. */
49 #undef TARGET_MMEDIUM_CALLS_DEFAULT
50 #define TARGET_MMEDIUM_CALLS_DEFAULT 0
52 #ifdef ARC_MULTILIB_CPU_DEFAULT
53 # ifndef MULTILIB_DEFAULTS
54 # define MULTILIB_DEFAULTS { "mcpu=" ARC_MULTILIB_CPU_DEFAULT }
55 # endif
56 #endif
58 /* Bare-metal toolchains do not need a thread pointer register. */
59 #undef TARGET_ARC_TP_REGNO_DEFAULT
60 #define TARGET_ARC_TP_REGNO_DEFAULT -1
62 /* Indexed loads are default. */
63 #undef TARGET_INDEXED_LOADS_DEFAULT
64 #define TARGET_INDEXED_LOADS_DEFAULT 1
66 /* Pre/post modify with register displacement are default. */
67 #undef TARGET_AUTO_MODIFY_REG_DEFAULT
68 #define TARGET_AUTO_MODIFY_REG_DEFAULT 1