+2019-07-28 Alan Modra <amodra@gmail.com>
+
+ PR target/91135
+ * config/rs6000/linux.h (GNU_USER_TARGET_D_OS_VERSIONS): Don't
+ define.
+ * config/rs6000/linux64.h (TARGET_OS_CPP_BUILTINS): Invoke
+ GNU_USER_TARGET_OS_CPP_BUILTINS for aixdesc abi.
+ (GNU_USER_TARGET_D_OS_VERSIONS): Don't define.
+
2019-07-28 Alan Modra <amodra@gmail.com>
PR target/91050
} \
while (0)
-#define GNU_USER_TARGET_D_OS_VERSIONS() \
- do { \
- builtin_version ("linux"); \
- if (OPTION_GLIBC) \
- builtin_version ("CRuntime_Glibc"); \
- else if (OPTION_UCLIBC) \
- builtin_version ("CRuntime_UClibc"); \
- else if (OPTION_BIONIC) \
- builtin_version ("CRuntime_Bionic"); \
- else if (OPTION_MUSL) \
- builtin_version ("CRuntime_Musl"); \
- } while (0)
-
#undef CPP_OS_DEFAULT_SPEC
#define CPP_OS_DEFAULT_SPEC "%(cpp_os_linux)"
#define TARGET_OS_CPP_BUILTINS() \
do \
{ \
- if (strcmp (rs6000_abi_name, "linux") == 0) \
+ if (strcmp (rs6000_abi_name, "linux") == 0 \
+ || strcmp (rs6000_abi_name, "aixdesc") == 0) \
GNU_USER_TARGET_OS_CPP_BUILTINS(); \
if (TARGET_64BIT) \
{ \
} \
while (0)
-#define GNU_USER_TARGET_D_OS_VERSIONS() \
- do { \
- builtin_version ("linux"); \
- if (OPTION_GLIBC) \
- builtin_version ("CRuntime_Glibc"); \
- else if (OPTION_UCLIBC) \
- builtin_version ("CRuntime_UClibc"); \
- else if (OPTION_BIONIC) \
- builtin_version ("CRuntime_Bionic"); \
- else if (OPTION_MUSL) \
- builtin_version ("CRuntime_Musl"); \
- } while (0)
-
#undef CPP_OS_DEFAULT_SPEC
#define CPP_OS_DEFAULT_SPEC "%(cpp_os_linux) %(include_extra)"