aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/alpha/osf5.h
diff options
context:
space:
mode:
authorRainer Orth <ro@TechFak.Uni-Bielefeld.DE>2001-06-07 17:04:51 +0000
committerRainer Orth <ro@gcc.gnu.org>2001-06-07 17:04:51 +0000
commit5076b0ead93634134a9037d90ef107367adbe69d (patch)
tree058f5561ae33b80a0be9e0a3c99496a5a7bcd0ec /gcc/config/alpha/osf5.h
parent09e983244e5589b9777ed719e615c5704f163282 (diff)
downloadgcc-5076b0ead93634134a9037d90ef107367adbe69d.zip
gcc-5076b0ead93634134a9037d90ef107367adbe69d.tar.gz
gcc-5076b0ead93634134a9037d90ef107367adbe69d.tar.bz2
osf5.h (CPP_XFLOAT_SPEC): Override default definition.
* alpha/osf5.h (CPP_XFLOAT_SPEC): Override default definition. (ASM_OLDAS_SPEC): Likewise. * alpha/osf.h (CPP_XFLOAT_SPEC): Define. (CPP_SUBTARGET_SPEC): Use it. (ASM_OLDAS_SPEC): Define. (ASM_SPEC): Use it. (SUBTARGET_EXTRA_SPECS): Define, declare the new specs above. From-SVN: r42971
Diffstat (limited to 'gcc/config/alpha/osf5.h')
-rw-r--r--gcc/config/alpha/osf5.h24
1 files changed, 23 insertions, 1 deletions
diff --git a/gcc/config/alpha/osf5.h b/gcc/config/alpha/osf5.h
index 1c336bd..eb4c039 100644
--- a/gcc/config/alpha/osf5.h
+++ b/gcc/config/alpha/osf5.h
@@ -1,5 +1,5 @@
/* Definitions of target machine for GNU compiler, for DEC Alpha on Tru64 5.
- Copyright (C) 2000 Free Software Foundation, Inc.
+ Copyright (C) 2000, 2001 Free Software Foundation, Inc.
This file is part of GNU CC.
@@ -20,3 +20,25 @@
#undef LONG_DOUBLE_TYPE_SIZE
#define LONG_DOUBLE_TYPE_SIZE 128
+
+/* Tru64 UNIX V5 has a 16 byte long double type and requires __X_FLOAT to be
+ defined to get the appropriate prototypes for the long double functions
+ in <math.h>. */
+
+#undef CPP_XFLOAT_SPEC
+#define CPP_XFLOAT_SPEC "-D__X_FLOAT"
+
+/* In Tru64 UNIX V5.1, Compaq introduced a new assembler
+ (/usr/lib/cmplrs/cc/adu) which currently (versions between 3.04.29 and
+ 3.04.32) breaks mips-tfile. Passing the undocumented -oldas flag reverts
+ to using the old assembler (/usr/lib/cmplrs/cc/as[01]).
+
+ The V5.0 and V5.0A assemblers silently ignore -oldas, so it can be
+ specified here.
+
+ It is clearly not desirable to depend on this undocumented flag, and
+ Compaq wants -oldas to go away soon, but until they have released a
+ new adu that works with mips-tfile, this is the only option. */
+
+#undef ASM_OLDAS_SPEC
+#define ASM_OLDAS_SPEC "-oldas"