aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/alpha
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1995-10-06 13:47:02 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1995-10-06 13:47:02 -0400
commitfc5fbc11aaf7f9a37442fa2c14df36894d19aaba (patch)
tree5d2c4f0ba214b12eeed4c399c087c86b0f5a3f17 /gcc/config/alpha
parent9a0b18f24731facf487b45b2fa3fd7fcb20f7fa0 (diff)
downloadgcc-fc5fbc11aaf7f9a37442fa2c14df36894d19aaba.zip
gcc-fc5fbc11aaf7f9a37442fa2c14df36894d19aaba.tar.gz
gcc-fc5fbc11aaf7f9a37442fa2c14df36894d19aaba.tar.bz2
(ASM_SPEC): Add -g.
From-SVN: r10435
Diffstat (limited to 'gcc/config/alpha')
-rw-r--r--gcc/config/alpha/alpha.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/gcc/config/alpha/alpha.h b/gcc/config/alpha/alpha.h
index 26a34fe..27ccb50 100644
--- a/gcc/config/alpha/alpha.h
+++ b/gcc/config/alpha/alpha.h
@@ -43,7 +43,13 @@ Boston, MA 02111-1307, USA. */
#define SIGNED_CHAR_SPEC "%{funsigned-char:-D__CHAR_UNSIGNED__}"
/* No point in running CPP on our assembler output. */
-#define ASM_SPEC "-nocpp %{pg}"
+/* In OSF/1 v3.2c, the assembler by default does not output file names which
+ causes mips-tfile to fail. Passing -g to the assembler fixes this problem.
+ ??? Stricly speaking, we only need -g if the user specifies -g. Passing
+ it always means that we get slightly larger than necessary object files
+ if the user does not specify -g. If we don't pass -g, then mips-tfile
+ will need to be fixed to work in this case. */
+#define ASM_SPEC "-g -nocpp %{pg}"
/* Under OSF/1, -p and -pg require -lprof1. */