+2010-09-30 Michael Meissner <meissner@linux.vnet.ibm.com>
+
+ PR target/45837
+ * config/rs6000/aix.h (TARGET_AIX_OS): Define to be 1.
+ * config/rs6000/rs6000.h (TARGET_AIX_OS): Define to be 0 if not
+ defined.
+ * config/rs6000/option-defaults.h (toplevel): Change #if
+ TARGET_AIX to TARGET_AIX_OS to allow compiler to build after
+ global option changes.
+
2010-09-30 Jakub Jelinek <jakub@redhat.com>
* dwarf2out.c (mem_loc_descriptor): Handle IF_THEN_ELSE.
#undef TARGET_AIX
#define TARGET_AIX 1
+/* Linux64.h wants to redefine TARGET_AIX based on -m64, but it can't be used
+ in the #if conditional in options-default.h, so provide another macro. */
+#define TARGET_AIX_OS 1
+
/* AIX always has a TOC. */
#define TARGET_NO_TOC 0
#define TARGET_TOC 1