From: Ian Lance Taylor Date: Wed, 22 Jun 1994 22:46:16 +0000 (+0000) Subject: Handle -with-gnu-as for Alpha as it is handled for MIPS X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8868162401ac7e8dd9842ff21e95db919e7a33d8;p=gcc.git Handle -with-gnu-as for Alpha as it is handled for MIPS From-SVN: r7527 --- diff --git a/gcc/config/alpha/alpha.h b/gcc/config/alpha/alpha.h index 540d6fa6bc4..170b253f707 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: \