OSDN Git Service

* Makefile.in (libgcc.mk): Pass SHLIB_EXT, not SHLIB_LIBS.
[pf3gnuchains/gcc-fork.git] / gcc / config / sparc / elf.h
1 /* Definitions of target machine for GNU compiler,
2    for SPARC running in an embedded environment using the ELF file format.
3    Copyright (C) 1997 Free Software Foundation, Inc.
4
5 This file is part of GNU CC.
6
7 GNU CC 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 2, or (at your option)
10 any later version.
11
12 GNU CC 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 GNU CC; see the file COPYING.  If not, write to
19 the Free Software Foundation, 59 Temple Place - Suite 330,
20 Boston, MA 02111-1307, USA.  */
21
22 #include "sol2.h"
23
24 #undef CPP_PREDEFINES
25 #define CPP_PREDEFINES "-Dsparc -D__elf__ -Acpu(sparc) -Amachine(sparc)"
26
27 #undef STARTFILE_SPEC
28 #define STARTFILE_SPEC "crt0.o%s crti.o%s crtbegin.o%s"
29
30 #undef  ENDFILE_SPEC
31 #define ENDFILE_SPEC "crtend.o%s crtn.o%s"
32
33 /* Use the default.  */
34 #undef LINK_SPEC
35
36 /* Don't set the target flags, this is done by the linker script */
37 #undef LIB_SPEC
38 #define LIB_SPEC ""
39
40 /* FIXME: until fixed */
41 #undef LONG_DOUBLE_TYPE_SIZE
42 #define LONG_DOUBLE_TYPE_SIZE 64
43
44 /* This solaris2 define does not apply.  */
45 #undef STDC_0_IN_SYSTEM_HEADERS
46
47 /* We don't want to use the Solaris2 specific long long int conversion
48    routines.  */
49 #undef INIT_SUBTARGET_OPTABS
50 #define INIT_SUBTARGET_OPTABS
51
52 /* ??? We haven't added Solaris2 equivalent 64 bit library routines to
53    lb1sp*.asm, so we need to avoid using them.  */
54 #undef MULDI3_LIBCALL
55 #undef DIVDI3_LIBCALL
56 #undef UDIVDI3_LIBCALL
57 #undef MODDI3_LIBCALL
58 #undef UMODDI3_LIBCALL