* config/rs6000/darwin.h (SUBTARGET_EXTRA_SPECS): Handle -m64.
authorshebs <shebs@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 28 Oct 2004 22:32:41 +0000 (22:32 +0000)
committershebs <shebs@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 28 Oct 2004 22:32:41 +0000 (22:32 +0000)
        * config/rs6000/rs6000.c (rs6000_darwin_file_start): Add ppc64
        case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89791 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/rs6000/darwin.h
gcc/config/rs6000/rs6000.c

index a0b97c7..99558d5 100644 (file)
@@ -1,3 +1,9 @@
+2004-10-28  Stan Shebs  <shebs@apple.com>
+
+       * config/rs6000/darwin.h (SUBTARGET_EXTRA_SPECS): Handle -m64.
+       * config/rs6000/rs6000.c (rs6000_darwin_file_start): Add ppc64
+       case.
+
 2004-10-28  Frank Ch. Eigler  <fche@redhat.com>
 
        * tree-mudflap.c (mudflap_init): Mark cache-lookup decls to
index cb51b82..6b01701 100644 (file)
@@ -134,7 +134,7 @@ do {                                                                        \
 
 #undef SUBTARGET_EXTRA_SPECS
 #define SUBTARGET_EXTRA_SPECS                  \
-  { "darwin_arch", "ppc" },
+  { "darwin_arch", "%{m64:ppc64} %{!m64:ppc}" },
 
 /* Output a .machine directive.  */
 #undef TARGET_ASM_FILE_START
index e2f97d7..da196bf 100644 (file)
@@ -17306,6 +17306,7 @@ rs6000_darwin_file_start (void)
     const char *name;
     int if_set;
   } mapping[] = {
+    { "ppc64", "ppc64", MASK_64BIT },
     { "970", "ppc970", MASK_PPC_GPOPT | MASK_MFCRF | MASK_POWERPC64 },
     { "power4", "ppc970", 0 },
     { "G5", "ppc970", 0 },