diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1995-10-06 13:47:02 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1995-10-06 13:47:02 -0400 |
commit | fc5fbc11aaf7f9a37442fa2c14df36894d19aaba (patch) | |
tree | 5d2c4f0ba214b12eeed4c399c087c86b0f5a3f17 /gcc/config/alpha | |
parent | 9a0b18f24731facf487b45b2fa3fd7fcb20f7fa0 (diff) | |
download | gcc-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.h | 8 |
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. */ |