diff options
| author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-03-29 07:20:22 +0000 |
|---|---|---|
| committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-03-29 07:20:22 +0000 |
| commit | 94dc59414f80876c98da84f15b8fce05d2ddbf21 (patch) | |
| tree | 4424ec27c695e457cd8a7209bb3e647654bd3efd | |
| parent | de7e27e500289a65dfa20842fa9df36d7ac85042 (diff) | |
| download | ppe42-gcc-94dc59414f80876c98da84f15b8fce05d2ddbf21.tar.gz ppe42-gcc-94dc59414f80876c98da84f15b8fce05d2ddbf21.zip | |
* config/alpha/osf.h (ASM_SPEC): Don't pass any special options
to GAS. Correct drift between alternatives.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51547 138bc75d-0d04-0410-961f-82ee72b054a4
| -rw-r--r-- | gcc/ChangeLog | 6 | ||||
| -rw-r--r-- | gcc/config/alpha/osf.h | 13 |
2 files changed, 12 insertions, 7 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ff8c8947139..6c4928fb43c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,11 @@ 2002-03-28 Richard Henderson <rth@redhat.com> + PR target/5715 + * config/alpha/osf.h (ASM_SPEC): Don't pass any special options + to GAS. Correct drift between alternatives. + +2002-03-28 Richard Henderson <rth@redhat.com> + PR target/6087 * reload1.c (fixup_abnormal_edges): Move insn to edge via sequence. diff --git a/gcc/config/alpha/osf.h b/gcc/config/alpha/osf.h index 1123e06bf68..1e403ae5d7e 100644 --- a/gcc/config/alpha/osf.h +++ b/gcc/config/alpha/osf.h @@ -94,19 +94,18 @@ Boston, MA 02111-1307, USA. */ #define ASM_OLDAS_SPEC "" -/* No point in running CPP on our assembler output. */ -#if ((TARGET_DEFAULT | TARGET_CPU_DEFAULT) & MASK_GAS) != 0 -/* Don't pass -g to GNU as, because some versions don't accept this option. */ -#define ASM_SPEC "%{malpha-as:-g %(asm_oldas)} -nocpp %{pg}" -#else /* 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. ??? Strictly speaking, we need -g only 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. Pass -O0 since some - optimization are broken and don't help us anyway. */ -#define ASM_SPEC "%{!mgas:-g %(asm_oldas)} -nocpp %{pg} -O0" + optimization are broken and don't help us anyway. Pass -nocpp because + there's no point in running CPP on our assembler output. */ +#if ((TARGET_DEFAULT | TARGET_CPU_DEFAULT) & MASK_GAS) != 0 +#define ASM_SPEC "%{malpha-as:-g %(asm_oldas) -nocpp %{pg} -O0}" +#else +#define ASM_SPEC "%{!mgas:-g %(asm_oldas) -nocpp %{pg} -O0}" #endif /* Specify to run a post-processor, mips-tfile after the assembler |

