@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-3.0-or-later
/* Definitions of target machine for GNU compiler,
for IBM RS/6000 POWER running AIX.
Copyright (C) 2000-2021 Free Software Foundation, Inc.
@@ -23,9 +24,6 @@
#undef TARGET_AIX
#define TARGET_AIX 1
-/* System headers are not C++-aware. */
-#define SYSTEM_IMPLICIT_EXTERN_C 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. */
#undef TARGET_AIX_OS
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-3.0-or-later
/* Definitions of target machine for GNU compiler,
for IBM RS/6000 POWER running AIX V7.1.
Copyright (C) 2002-2021 Free Software Foundation, Inc.
@@ -268,6 +269,9 @@ extern long long int atoll(const char *);
#define SET_CMODEL(opt) do {} while (0)
#endif
+/* System headers are not C++-aware. */
+#define SYSTEM_IMPLICIT_EXTERN_C 1
+
/* This target defines SUPPORTS_WEAK and TARGET_ASM_NAMED_SECTION,
but does not have crtbegin/end. */
@@ -270,6 +270,9 @@ extern long long int atoll(const char *);
#define SET_CMODEL(opt) do {} while (0)
#endif
+/* System headers are not C++-aware. */
+#define SYSTEM_IMPLICIT_EXTERN_C 1
+
/* This target defines SUPPORTS_WEAK and TARGET_ASM_NAMED_SECTION,
but does not have crtbegin/end. */
@@ -274,7 +274,7 @@ extern long long int atoll(const char *);
/* This target defines SUPPORTS_WEAK and TARGET_ASM_NAMED_SECTION,
but does not have crtbegin/end. */
-#define TARGET_AIX_VERSION 72
+#define TARGET_AIX_VERSION 73
/* AIX 7.2 supports DWARF3+ debugging. */
#define DWARF2_DEBUGGING_INFO 1