Commit 88681624 by Ian Lance Taylor

Handle -with-gnu-as for Alpha as it is handled for MIPS

From-SVN: r7527
parent 70864443
...@@ -93,10 +93,14 @@ extern int target_flags; ...@@ -93,10 +93,14 @@ extern int target_flags;
{"no-fp-regs", -3}, \ {"no-fp-regs", -3}, \
{"alpha-as", -MASK_GAS}, \ {"alpha-as", -MASK_GAS}, \
{"gas", MASK_GAS}, \ {"gas", MASK_GAS}, \
{"", TARGET_DEFAULT} } {"", TARGET_DEFAULT | TARGET_CPU_DEFAULT} }
#define TARGET_DEFAULT 3 #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. /* Define this macro to change register usage conditional on target flags.
On the Alpha, we use this to disable the floating-point registers when On the Alpha, we use this to disable the floating-point registers when
...@@ -1896,7 +1900,7 @@ do { \ ...@@ -1896,7 +1900,7 @@ do { \
This is needed because the Alpha assembler provides no way This is needed because the Alpha assembler provides no way
of specifying such information in the assembly file. */ 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 "\ #define ASM_FINAL_SPEC "\
%{malpha-as: %{!mno-mips-tfile: \ %{malpha-as: %{!mno-mips-tfile: \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment