From ad5ef673cabd1498912ef20b645cd12d2d4f66f2 Mon Sep 17 00:00:00 2001
From: Richard Henderson <rth@redhat.com>
Date: Sun, 10 Jun 2001 19:31:56 -0700
Subject: [PATCH] * config/alpha/osf5.h (ASM_OLDAS_SPEC): Add -c.

From-SVN: r43166
---
 gcc/ChangeLog           | 4 ++++
 gcc/config/alpha/osf5.h | 8 ++++++--
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index adf2a20a08cd..c7f94dacb950 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2001-06-10  Richard Henderson  <rth@redhat.com>
+
+	* config/alpha/osf5.h (ASM_OLDAS_SPEC): Add -c.
+
 2001-06-10  Alexandre Oliva  <aoliva@redhat.com>
 
 	* doc/invoke.texi (MN10300 Options): Document -mno-crt0.
diff --git a/gcc/config/alpha/osf5.h b/gcc/config/alpha/osf5.h
index eb4c0394064a..d9b70f886dc0 100644
--- a/gcc/config/alpha/osf5.h
+++ b/gcc/config/alpha/osf5.h
@@ -38,7 +38,11 @@
 
    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.  */
+   new adu that works with mips-tfile, this is the only option.
+
+   In some versions of the DTK, the assembler driver invokes ld after
+   assembly.  This has been fixed in current versions, but adding -c
+   works as expected for all versions.  */
 
 #undef ASM_OLDAS_SPEC
-#define ASM_OLDAS_SPEC "-oldas"
+#define ASM_OLDAS_SPEC "-oldas -c"
-- 
GitLab