darwin.h (SUBTARGET_EXTRA_SPECS): Handle -m64.

* config/rs6000/darwin.h (SUBTARGET_EXTRA_SPECS): Handle -m64.
        * config/rs6000/rs6000.c (rs6000_darwin_file_start): Add ppc64
        case.

From-SVN: r89791
This commit is contained in:
Stan Shebs 2004-10-28 22:32:41 +00:00 committed by Stan Shebs
parent be3a985ea6
commit 55dbfb488e
3 changed files with 8 additions and 1 deletions

View 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

View 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

View 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 },