Mercurial > hg > CbC > CbC_gcc
view gcc/config/c6x/elf-common.h @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 84e7813d76e9 |
children |
line wrap: on
line source
/* ELF definitions for TI C6X Copyright (C) 2010-2020 Free Software Foundation, Inc. Contributed by Andrew Jenner <andrew@codesourcery.com> Contributed by Bernd Schmidt <bernds@codesourcery.com> This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with GCC; see the file COPYING3. If not see <http://www.gnu.org/licenses/>. */ /* Controlling the Compilation Driver. */ #define ENDIAN_LINK_SPEC "%{mbig-endian:-EB} %{mlittle-endian:-EL} " #undef ASM_SPEC #define ASM_SPEC "%{march=*:-march=%*} %{mbig-endian:-mbig-endian} \ %{mdsbt:-mdsbt %{" NO_FPIC2_SPEC ":-mpid=near} \ %{" FPIC2_SPEC ":-mpid=far -mpic} %{" FPIC1_SPEC ":-mpic}} \ %{!mdsbt:%{" FPIC1_SPEC ":-mpic -mpid=near} \ %{" FPIC2_SPEC ":-mpic -mpid=far}}" #undef DATA_SECTION_ASM_OP #define DATA_SECTION_ASM_OP "\t.section\t\".fardata\",\"aw\"" #undef READONLY_DATA_SECTION_ASM_OP #define READONLY_DATA_SECTION_ASM_OP "\t.section\t\".const\",\"a\",@progbits" #define BSS_SECTION_ASM_OP "\t.section\t\".far\",\"aw\",@nobits" #define SDATA_SECTION_ASM_OP "\t.section\t\".neardata\",\"aw\"" #define SBSS_SECTION_ASM_OP "\t.section\t\".bss\",\"aw\",@nobits" #define TARGET_LIBGCC_SDATA_SECTION ".neardata"