This commit was manufactured by cvs2svn to create branch 'gomp-branch'.
[official-gcc.git] / gcc / config / sparc / elf.h
blob80596f4d114935122a0a7d61383f30df89d16c2f
1 /* Definitions of target machine for GCC,
2 for SPARC running in an embedded environment using the ELF file format.
3 Copyright (C) 1997 Free Software Foundation, Inc.
5 This file is part of GCC.
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 2, or (at your option)
10 any later version.
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.
17 You should have received a copy of the GNU General Public License
18 along with GCC; see the file COPYING. If not, write to
19 the Free Software Foundation, 59 Temple Place - Suite 330,
20 Boston, MA 02111-1307, USA. */
22 #undef STARTFILE_SPEC
23 #define STARTFILE_SPEC "crt0.o%s crti.o%s crtbegin.o%s"
25 #undef ENDFILE_SPEC
26 #define ENDFILE_SPEC \
27 "%{ffast-math|funsafe-math-optimizations:crtfastmath.o%s} \
28 crtend.o%s crtn.o%s"
30 /* Use the default. */
31 #undef LINK_SPEC
33 /* Don't set the target flags, this is done by the linker script */
34 #undef LIB_SPEC
35 #define LIB_SPEC ""
37 /* FIXME: until fixed */
38 #undef LONG_DOUBLE_TYPE_SIZE
39 #define LONG_DOUBLE_TYPE_SIZE 64
41 /* This solaris2 define does not apply. */
42 #undef STDC_0_IN_SYSTEM_HEADERS
44 /* We don't want to use the Solaris2 specific long long int conversion
45 routines or 64-bit integer multiply and divide routines. */
46 #undef SUN_CONVERSION_LIBFUNCS
47 #define SUN_CONVERSION_LIBFUNCS 0
49 #undef SUN_INTEGER_MULTIPLY_64
50 #define SUN_INTEGER_MULTIPLY_64 0
52 /* Don't include Solaris-specific format checks. */
53 #undef TARGET_N_FORMAT_TYPES
54 #undef TARGET_FORMAT_TYPES
56 /* Don't include Solaris-specific .init / .fini support. */
57 #undef ASM_DECLARE_FUNCTION_SIZE
58 #define ASM_DECLARE_FUNCTION_SIZE(FILE, FNAME, DECL) \
59 do \
60 { \
61 if (!flag_inhibit_size_directive) \
62 ASM_OUTPUT_MEASURED_SIZE (FILE, FNAME); \
63 } \
64 while (0)