diff options
Diffstat (limited to 'gcc/config/rs6000/linux64.h')
| -rw-r--r-- | gcc/config/rs6000/linux64.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/gcc/config/rs6000/linux64.h b/gcc/config/rs6000/linux64.h index 560795e..6bb60d3 100644 --- a/gcc/config/rs6000/linux64.h +++ b/gcc/config/rs6000/linux64.h @@ -100,6 +100,11 @@ { \ if (!RS6000_BI_ARCH_P) \ error (INVALID_32BIT, "32"); \ + if (TARGET_PROFILE_KERNEL) \ + { \ + target_flags &= ~MASK_PROFILE_KERNEL; \ + error (INVALID_32BIT, "profile-kernel"); \ + } \ } \ } \ while (0) @@ -186,7 +191,7 @@ #endif -#define MASK_PROFILE_KERNEL 0x00080000 +#define MASK_PROFILE_KERNEL 0x00100000 /* Non-standard profiling for kernels, which just saves LR then calls _mcount without worrying about arg saves. The idea is to change @@ -282,10 +287,6 @@ #undef MD_EXEC_PREFIX #undef MD_STARTFILE_PREFIX -/* Override sysv4.h */ -#undef CPP_SYSV_SPEC -#define CPP_SYSV_SPEC "" - #undef TARGET_OS_CPP_BUILTINS #define TARGET_OS_CPP_BUILTINS() \ do \ |
