1/* Definitions of target machine for gcc for Hitachi / SuperH SH using ELF.
2   Copyright (C) 1997, 1998, 2001, 2002 Free Software Foundation, Inc.
3   Contributed by J�rn Rennecke <joern.rennecke@superh.com>.
4
5This file is part of GNU CC.
6
7GNU CC is free software; you can redistribute it and/or modify
8it under the terms of the GNU General Public License as published by
9the Free Software Foundation; either version 2, or (at your option)
10any later version.
11
12GNU CC is distributed in the hope that it will be useful,
13but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15GNU General Public License for more details.
16
17You should have received a copy of the GNU General Public License
18along with GNU CC; see the file COPYING.  If not, write to
19the Free Software Foundation, 59 Temple Place - Suite 330,
20Boston, MA 02111-1307, USA.  */
21
22/* Generate SDB debugging information.  */
23
24#define SDB_DEBUGGING_INFO 1
25
26/* Output DBX (stabs) debugging information if doing -gstabs.  */
27
28#include "dbxcoff.h"
29
30#define SDB_DELIM ";"
31
32#ifndef MAX_OFILE_ALIGNMENT
33#define MAX_OFILE_ALIGNMENT 128
34#endif
35
36#define IDENT_ASM_OP "\t.ident\t"
37
38/* Switch into a generic section.  */
39#define TARGET_ASM_NAMED_SECTION default_coff_asm_named_section
40
41/* The prefix to add to user-visible assembler symbols.  */
42
43#define USER_LABEL_PREFIX "_"
44
45/* The prefix to add to an internally generated label.  */
46
47#define LOCAL_LABEL_PREFIX ""
48
49/* Make an internal label into a string.  */
50#define ASM_GENERATE_INTERNAL_LABEL(STRING, PREFIX, NUM) \
51  sprintf ((STRING), "*%s%s%ld", LOCAL_LABEL_PREFIX, (PREFIX), (long)(NUM))
52
53/* Output an internal label definition.  */
54#define ASM_OUTPUT_INTERNAL_LABEL(FILE,PREFIX,NUM) \
55  asm_fprintf ((FILE), "%L%s%d:\n", (PREFIX), (NUM))
56
57/* This is how to output an assembler line
58   that says to advance the location counter by SIZE bytes.  */
59
60#define ASM_OUTPUT_SKIP(FILE,SIZE) \
61  fprintf ((FILE), "\t.space %d\n", (SIZE))
62
63/* This says how to output an assembler line
64   to define a global common symbol.  */
65
66#define ASM_OUTPUT_COMMON(FILE, NAME, SIZE, ROUNDED)	\
67( fputs ("\t.comm ", (FILE)),			\
68  assemble_name ((FILE), (NAME)),		\
69  fprintf ((FILE), ",%d\n", (SIZE)))
70
71/* This says how to output an assembler line
72   to define a local common symbol.  */
73
74#define ASM_OUTPUT_LOCAL(FILE, NAME, SIZE, ROUNDED)	\
75( fputs ("\t.lcomm ", (FILE)),				\
76  assemble_name ((FILE), (NAME)),			\
77  fprintf ((FILE), ",%d\n", (SIZE)))
78
79#define TARGET_OBJFMT_CPP_BUILTINS()
80
81#define DWARF2_UNWIND_INFO 0
82