diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config/rs6000/aix.h | 6 | ||||
-rw-r--r-- | gcc/config/rs6000/aix64.opt | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/gcc/config/rs6000/aix.h b/gcc/config/rs6000/aix.h index b116e1a..662785c 100644 --- a/gcc/config/rs6000/aix.h +++ b/gcc/config/rs6000/aix.h @@ -280,3 +280,9 @@ #define RS6000_USE_DWARF_NUMBERING #define TARGET_PRECOMPUTE_TLS_P rs6000_aix_precompute_tls_p + +/* Replace -m64 with -maix64 and -m32 with -maix32. */ +#undef SUBTARGET_DRIVER_SELF_SPECS +#define SUBTARGET_DRIVER_SELF_SPECS \ +"%{m64:-maix64} %<m64", \ +"%{m32:-maix32} %<m32" diff --git a/gcc/config/rs6000/aix64.opt b/gcc/config/rs6000/aix64.opt index 7673c91..15d863f 100644 --- a/gcc/config/rs6000/aix64.opt +++ b/gcc/config/rs6000/aix64.opt @@ -53,3 +53,9 @@ Driver pthread Driver + +m64 +Driver + +m32 +Driver |