OSDN Git Service

Handle -with-gnu-as for Alpha as it is handled for MIPS
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 22 Jun 1994 22:46:16 +0000 (22:46 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 22 Jun 1994 22:46:16 +0000 (22:46 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7527 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/config/alpha/alpha.h

index 540d6fa..170b253 100644 (file)
@@ -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: \