OSDN Git Service

* config/arm/arm.c (thumb_force_lr_save): New function.
[pf3gnuchains/gcc-fork.git] / gcc / config / h8300 / elf.h
1 /* Definitions of target machine for GNU compiler.
2    Renesas H8/300 version generating elf
3    Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
4    Contributed by Steve Chamberlain (sac@cygnus.com),
5    Jim Wilson (wilson@cygnus.com), and Doug Evans (dje@cygnus.com).
6
7 This file is part of GCC.
8
9 GCC is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; either version 2, or (at your option)
12 any later version.
13
14 GCC is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17 GNU General Public 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 COPYING.  If not, write to
21 the Free Software Foundation, 59 Temple Place - Suite 330,
22 Boston, MA 02111-1307, USA.  */
23
24 #ifndef GCC_H8300_ELF_H
25 #define GCC_H8300_ELF_H
26
27 #undef  ENDFILE_SPEC
28 #define ENDFILE_SPEC "crtend.o%s %{pg:gcrtn.o%s}%{!pg:crtn.o%s}"
29
30 #undef  STARTFILE_SPEC
31 #define STARTFILE_SPEC "%{!shared: \
32                          %{!symbolic: \
33                           %{pg:gcrt0.o%s}%{!pg:%{p:mcrt0.o%s}%{!p:crt0.o%s}}}}\
34                         %{pg:gcrti.o%s}%{!pg:crti.o%s} \
35                         crtbegin.o%s"
36
37 #undef USER_LABEL_PREFIX
38 #define USER_LABEL_PREFIX "_"
39
40 #define JUMP_TABLES_IN_TEXT_SECTION (flag_pic)
41
42 #undef LINK_SPEC
43 #define LINK_SPEC "%{mh:%{mn:-m h8300hnelf}} %{mh:%{!mn:-m h8300helf}} %{ms:%{mn:-m h8300snelf}} %{ms:%{!mn:-m h8300self}}"
44
45 #endif /* h8300/elf.h */