]>
Commit | Line | Data |
---|---|---|
5aa04b01 | 1 | /* ELF definitions for TI C6X |
71e45bc2 | 2 | Copyright (C) 2010, 2011 Free Software Foundation, Inc. |
5aa04b01 | 3 | Contributed by Andrew Jenner <andrew@codesourcery.com> |
4 | Contributed by Bernd Schmidt <bernds@codesourcery.com> | |
5 | ||
6 | This file is part of GCC. | |
7 | ||
8 | GCC is free software; you can redistribute it and/or modify it | |
9 | under the terms of the GNU General Public License as published | |
10 | by the Free Software Foundation; either version 3, or (at your | |
11 | option) any later version. | |
12 | ||
13 | GCC is distributed in the hope that it will be useful, but WITHOUT | |
14 | ANY WARRANTY; without even the implied warranty of MERCHANTABILITY | |
15 | or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public | |
16 | License for more details. | |
17 | ||
18 | You should have received a copy of the GNU General Public License | |
19 | along with GCC; see the file COPYING3. If not see | |
20 | <http://www.gnu.org/licenses/>. */ | |
21 | ||
22 | /* Controlling the Compilation Driver. */ | |
23 | #define ENDIAN_LINK_SPEC "%{mbig-endian:-EB} %{mlittle-endian:-EL} " | |
24 | ||
25 | #undef ASM_SPEC | |
26 | #define ASM_SPEC "%{march=*:-march=%*} %{mbig-endian:-mbig-endian} \ | |
27 | %{mdsbt:-mdsbt %{!fPIC:-mpid=near} %{fPIC:-mpid=far -mpic} %{fpic:-mpic}} \ | |
28 | %{!mdsbt:%{fpic:-mpic -mpid=near} %{fPIC:-mpic -mpid=far}}" | |
29 | ||
30 | #undef DATA_SECTION_ASM_OP | |
31 | #define DATA_SECTION_ASM_OP "\t.section\t\".fardata\",\"aw\"" | |
32 | #undef READONLY_DATA_SECTION_ASM_OP | |
33 | #define READONLY_DATA_SECTION_ASM_OP "\t.section\t\".const\",\"a\",@progbits" | |
34 | #define BSS_SECTION_ASM_OP "\t.section\t\".far\",\"aw\",@nobits" | |
35 | #define SDATA_SECTION_ASM_OP "\t.section\t\".neardata\",\"aw\"" | |
36 | #define SBSS_SECTION_ASM_OP "\t.section\t\".bss\",\"aw\",@nobits" | |
37 | #define TARGET_LIBGCC_SDATA_SECTION ".neardata" |