This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

fix default target for Darwin


Darwin specific.  Set the default target machine for Darwin to be the 7400.
   Note, this is dependent on my previous patch which introduced 
PROCESSOR_PPC7400.



Fri Sep 21 10:58:10 PDT 2001  Dale Johannesen  <dalej@apple.com>

         * config/rs6000/darwin.h:  Set the default target machine to 7400.

===================================================================
RCS file: /cvs/Darwin/Commands/GNU/gcc/gcc/config/rs6000/darwin.h,v
retrieving revision 1.23
diff -u -d -b -w -r1.23 darwin.h
--- darwin.h    2001/09/20 18:51:19     1.23
+++ darwin.h    2001/09/21 17:54:30
@@ -147,6 +147,16 @@

  #define RS6000_MCOUNT "*mcount"

+/* Default processor. */
+
+#undef PROCESSOR_DEFAULT
+#define PROCESSOR_DEFAULT  PROCESSOR_PPC7400
+
+/* Default target flag settings. */
+
+#undef TARGET_DEFAULT
+#define TARGET_DEFAULT (MASK_POWERPC | MASK_PPC_GFXOPT | 
MASK_NEW_MNEMONICS)
+
  /* Since Darwin doesn't do TOCs, stub this out.  */

  #define ASM_OUTPUT_SPECIAL_POOL_ENTRY_P(X, MODE)  0


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]