OSDN Git Service

* hooks.c, hooks.h, intl.c, opts.h, prefix.c, tree-gimple.c,
[pf3gnuchains/gcc-fork.git] / gcc / config / alpha / osf5.h
1 /* Definitions of target machine for GNU compiler, for DEC Alpha on Tru64 5.
2    Copyright (C) 2000, 2001, 2004, 2005 Free Software Foundation, Inc.
3
4    This file is part of GCC.
5
6    GCC is free software; you can redistribute it and/or modify
7    it under the terms of the GNU General Public License as published by
8    the Free Software Foundation; either version 2, or (at your option)
9    any later version.
10
11    GCC is distributed in the hope that it will be useful,
12    but WITHOUT ANY WARRANTY; without even the implied warranty of
13    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14    GNU General Public License for more details.
15
16    You should have received a copy of the GNU General Public License
17    along with GCC; see the file COPYING.  If not, write to
18    the Free Software Foundation, 59 Temple Place - Suite 330,
19    Boston, MA 02111-1307, USA.  */
20
21 /* Tru64 5.1 uses IEEE QUAD format.  */
22 #undef TARGET_DEFAULT
23 #define TARGET_DEFAULT  (MASK_FPREGS | MASK_LONG_DOUBLE_128)
24
25 /* In Tru64 UNIX V5.1, Compaq introduced a new assembler
26    (/usr/lib/cmplrs/cc/adu) which currently (versions between 3.04.29 and
27    3.04.32) breaks mips-tfile.  Passing the undocumented -oldas flag reverts
28    to using the old assembler (/usr/lib/cmplrs/cc/as[01]).
29
30    The V5.0 and V5.0A assemblers silently ignore -oldas, so it can be
31    specified here.
32
33    It is clearly not desirable to depend on this undocumented flag, and
34    Compaq wants -oldas to go away soon, but until they have released a
35    new adu that works with mips-tfile, this is the only option.
36
37    In some versions of the DTK, the assembler driver invokes ld after
38    assembly.  This has been fixed in current versions, but adding -c
39    works as expected for all versions.  */
40
41 #undef ASM_OLDAS_SPEC
42 #define ASM_OLDAS_SPEC "-oldas -c"
43
44 /* The linker appears to perform invalid code optimizations that result
45    in the ldgp emitted for the exception_receiver pattern being incorrectly
46    linked.  */
47 #undef TARGET_LD_BUGGY_LDGP
48 #define TARGET_LD_BUGGY_LDGP 1
49
50 /* Tru64 v5.1 has the float and long double forms of math functions.  */
51 #undef TARGET_C99_FUNCTIONS
52 #define TARGET_C99_FUNCTIONS  1
53