| @@ -36,26 +36,28 @@ | | | @@ -36,26 +36,28 @@ |
36 | || (CHAR) == 'R' \ | | 36 | || (CHAR) == 'R' \ |
37 | || (CHAR) == 'G') | | 37 | || (CHAR) == 'G') |
38 | | | 38 | |
39 | #undef TARGET_OS_CPP_BUILTINS /* FIXME: sysv4.h should not define this! */ | | 39 | #undef TARGET_OS_CPP_BUILTINS /* FIXME: sysv4.h should not define this! */ |
40 | #define TARGET_OS_CPP_BUILTINS() \ | | 40 | #define TARGET_OS_CPP_BUILTINS() \ |
41 | do \ | | 41 | do \ |
42 | { \ | | 42 | { \ |
43 | NETBSD_OS_CPP_BUILTINS_ELF(); \ | | 43 | NETBSD_OS_CPP_BUILTINS_ELF(); \ |
44 | builtin_define ("__powerpc__"); \ | | 44 | builtin_define ("__powerpc__"); \ |
45 | builtin_assert ("cpu=powerpc"); \ | | 45 | builtin_assert ("cpu=powerpc"); \ |
46 | builtin_assert ("machine=powerpc"); \ | | 46 | builtin_assert ("machine=powerpc"); \ |
47 | if (TARGET_SECURE_PLT) \ | | 47 | if (TARGET_SECURE_PLT) \ |
48 | builtin_define ("_SECURE_PLT"); \ | | 48 | builtin_define ("_SECURE_PLT"); \ |
| | | 49 | if (TARGET_SOFT_FLOAT) \ |
| | | 50 | builtin_define ("_SOFT_FLOAT"); \ |
49 | } \ | | 51 | } \ |
50 | while (0) | | 52 | while (0) |
51 | | | 53 | |
52 | /* Override the default from rs6000.h to avoid conflicts with macros | | 54 | /* Override the default from rs6000.h to avoid conflicts with macros |
53 | defined in NetBSD header files. */ | | 55 | defined in NetBSD header files. */ |
54 | | | 56 | |
55 | #undef RS6000_CPU_CPP_ENDIAN_BUILTINS | | 57 | #undef RS6000_CPU_CPP_ENDIAN_BUILTINS |
56 | #define RS6000_CPU_CPP_ENDIAN_BUILTINS() \ | | 58 | #define RS6000_CPU_CPP_ENDIAN_BUILTINS() \ |
57 | do \ | | 59 | do \ |
58 | { \ | | 60 | { \ |
59 | if (BYTES_BIG_ENDIAN) \ | | 61 | if (BYTES_BIG_ENDIAN) \ |
60 | { \ | | 62 | { \ |
61 | builtin_define ("__BIG_ENDIAN__"); \ | | 63 | builtin_define ("__BIG_ENDIAN__"); \ |