OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [config/] [arm/] [coff.h] - Blame information for rev 801

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 709 jeremybenn
/* Definitions of target machine for GNU compiler.
2
   For ARM with COFF object format.
3
   Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2002, 2003, 2004, 2005,
4
   2007, 2009, 2011 Free Software Foundation, Inc.
5
   Contributed by Doug Evans (devans@cygnus.com).
6
 
7
   This file is part of GCC.
8
 
9
   GCC is free software; you can redistribute it and/or modify it
10
   under the terms of the GNU General Public License as published
11
   by the Free Software Foundation; either version 3, or (at your
12
   option) any later version.
13
 
14
   GCC is distributed in the hope that it will be useful, but WITHOUT
15
   ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
16
   or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
17
   License for more details.
18
 
19
   You should have received a copy of the GNU General Public License
20
   along with GCC; see the file COPYING3.  If not see
21
   <http://www.gnu.org/licenses/>.  */
22
 
23
/* Note - it is important that this definition matches the one in tcoff.h.  */
24
#undef  USER_LABEL_PREFIX
25
#define USER_LABEL_PREFIX "_"
26
 
27
 
28
/* Run-time Target Specification.  */
29
#undef  TARGET_DEFAULT_FLOAT_ABI
30
#define TARGET_DEFAULT_FLOAT_ABI ARM_FLOAT_ABI_SOFT
31
 
32
#undef  TARGET_DEFAULT
33
#define TARGET_DEFAULT (MASK_APCS_FRAME)
34
 
35
#ifndef MULTILIB_DEFAULTS
36
#define MULTILIB_DEFAULTS \
37
  { "marm", "mlittle-endian", "mfloat-abi=soft", "mno-thumb-interwork" }
38
#endif
39
 
40
/* This is COFF, but prefer stabs.  */
41
#define SDB_DEBUGGING_INFO 1
42
 
43
#define PREFERRED_DEBUGGING_TYPE DBX_DEBUG
44
 
45
 
46
#define TARGET_ASM_FILE_START_APP_OFF true
47
 
48
/* Switch into a generic section.  */
49
#define TARGET_ASM_NAMED_SECTION  default_coff_asm_named_section
50
 
51
/* Support the ctors/dtors and other sections.  */
52
 
53
#undef INIT_SECTION_ASM_OP
54
 
55
/* Define this macro if jump tables (for `tablejump' insns) should be
56
   output in the text section, along with the assembler instructions.
57
   Otherwise, the readonly data section is used.  */
58
/* We put ARM and Thumb-2 jump tables in the text section, because it makes
59
   the code more efficient, but for Thumb-1 it's better to put them out of
60
   band unless we are generating compressed tables.  */
61
#define JUMP_TABLES_IN_TEXT_SECTION                                     \
62
   (TARGET_32BIT || (TARGET_THUMB && (optimize_size || flag_pic)))
63
 
64
#undef  READONLY_DATA_SECTION_ASM_OP
65
#define READONLY_DATA_SECTION_ASM_OP    "\t.section .rdata"
66
#undef  CTORS_SECTION_ASM_OP
67
#define CTORS_SECTION_ASM_OP    "\t.section .ctors,\"x\""
68
#undef  DTORS_SECTION_ASM_OP
69
#define DTORS_SECTION_ASM_OP    "\t.section .dtors,\"x\""
70
 
71
/* Support the ctors/dtors sections for g++.  */
72
 
73
/* __CTOR_LIST__ and __DTOR_LIST__ must be defined by the linker script.  */
74
#define CTOR_LISTS_DEFINED_EXTERNALLY
75
 
76
#undef DO_GLOBAL_CTORS_BODY
77
#undef DO_GLOBAL_DTORS_BODY
78
 
79
/* The ARM development system defines __main.  */
80
#define NAME__MAIN  "__gccmain"
81
#define SYMBOL__MAIN __gccmain
82
 
83
#define SUPPORTS_INIT_PRIORITY 0

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.