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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [config/] [sh/] [coff.h] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 38 julius
/* Definitions of target machine for gcc for Renesas / SuperH SH using ELF.
2
   Copyright (C) 1997, 1998, 2001, 2002, 2007 Free Software Foundation, Inc.
3
   Contributed by Jörn Rennecke <joern.rennecke@superh.com>.
4
 
5
This file is part of GCC.
6
 
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.
11
 
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.
16
 
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/>.  */
20
 
21
/* Generate SDB debugging information.  */
22
 
23
#define SDB_DEBUGGING_INFO 1
24
 
25
#define SDB_DELIM ";"
26
 
27
#ifndef MAX_OFILE_ALIGNMENT
28
#define MAX_OFILE_ALIGNMENT 128
29
#endif
30
 
31
#define IDENT_ASM_OP "\t.ident\t"
32
 
33
/* Switch into a generic section.  */
34
#define TARGET_ASM_NAMED_SECTION default_coff_asm_named_section
35
 
36
/* The prefix to add to user-visible assembler symbols.  */
37
 
38
#define USER_LABEL_PREFIX "_"
39
 
40
/* The prefix to add to an internally generated label.  */
41
 
42
#define LOCAL_LABEL_PREFIX ""
43
 
44
/* Make an internal label into a string.  */
45
#define ASM_GENERATE_INTERNAL_LABEL(STRING, PREFIX, NUM) \
46
  sprintf ((STRING), "*%s%s%ld", LOCAL_LABEL_PREFIX, (PREFIX), (long)(NUM))
47
 
48
/* This is how to output an assembler line
49
   that says to advance the location counter by SIZE bytes.  */
50
 
51
#define ASM_OUTPUT_SKIP(FILE,SIZE) \
52
  fprintf ((FILE), "\t.space %d\n", (int)(SIZE))
53
 
54
/* This says how to output an assembler line
55
   to define a global common symbol.  */
56
 
57
#define ASM_OUTPUT_COMMON(FILE, NAME, SIZE, ROUNDED)    \
58
( fputs ("\t.comm ", (FILE)),                   \
59
  assemble_name ((FILE), (NAME)),               \
60
  fprintf ((FILE), ",%d\n", (int)(SIZE)))
61
 
62
/* This says how to output an assembler line
63
   to define a local common symbol.  */
64
 
65
#define ASM_OUTPUT_LOCAL(FILE, NAME, SIZE, ROUNDED)     \
66
( fputs ("\t.lcomm ", (FILE)),                          \
67
  assemble_name ((FILE), (NAME)),                       \
68
  fprintf ((FILE), ",%d\n", (int)(SIZE)))
69
 
70
#define DWARF2_UNWIND_INFO 0

powered by: WebSVN 2.1.0

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