aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>1994-06-22 22:46:16 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>1994-06-22 22:46:16 +0000
commit8868162401ac7e8dd9842ff21e95db919e7a33d8 (patch)
tree9e11c9c3d19954e84a69ee75d2160f79cd3feb97
parent70864443c3241c84fa6589eb6c10d06145d6a203 (diff)
downloadgcc-8868162401ac7e8dd9842ff21e95db919e7a33d8.zip
gcc-8868162401ac7e8dd9842ff21e95db919e7a33d8.tar.gz
gcc-8868162401ac7e8dd9842ff21e95db919e7a33d8.tar.bz2
Handle -with-gnu-as for Alpha as it is handled for MIPS
From-SVN: r7527
-rw-r--r--gcc/config/alpha/alpha.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/gcc/config/alpha/alpha.h b/gcc/config/alpha/alpha.h
index 540d6fa..170b253 100644
--- a/gcc/config/alpha/alpha.h
+++ b/gcc/config/alpha/alpha.h
@@ -93,10 +93,14 @@ extern int target_flags;
{"no-fp-regs", -3}, \
{"alpha-as", -MASK_GAS}, \
{"gas", MASK_GAS}, \
- {"", TARGET_DEFAULT} }
+ {"", TARGET_DEFAULT | TARGET_CPU_DEFAULT} }
#define TARGET_DEFAULT 3
+#ifndef TARGET_CPU_DEFAULT
+#define TARGET_CPU_DEFAULT 0
+#endif
+
/* Define this macro to change register usage conditional on target flags.
On the Alpha, we use this to disable the floating-point registers when
@@ -1896,7 +1900,7 @@ do { \
This is needed because the Alpha assembler provides no way
of specifying such information in the assembly file. */
-#if (TARGET_DEFAULT & MASK_GAS) != 0
+#if ((TARGET_DEFAULT | TARGET_CPU_DEFAULT) & MASK_GAS) != 0
#define ASM_FINAL_SPEC "\
%{malpha-as: %{!mno-mips-tfile: \