diff options
author | Alan Modra <amodra@bigpond.net.au> | 2004-01-27 11:15:23 +0000 |
---|---|---|
committer | Alan Modra <amodra@gcc.gnu.org> | 2004-01-27 21:45:23 +1030 |
commit | 895ea8f080abe5d2b456152cdc49277db059e655 (patch) | |
tree | b8583dbdfc6c40ee1d7122651811da7180d28690 /gcc/config/rs6000/linux64.h | |
parent | a3af79eab6131f17e2be677c12e720c4746cfec1 (diff) | |
download | gcc-895ea8f080abe5d2b456152cdc49277db059e655.tar.gz |
rs6000.h: Correct target_flags free bits comment.
* config/rs6000/rs6000.h: Correct target_flags free bits comment.
(PREDICATE_CODES): Remove duplicate.
* config/rs6000/linux64.h (CPP_SYSV_SPEC): Don't define.
(SUBSUBTARGET_OVERRIDE_OPTIONS): Disallow 32 bit TARGET_PROFILE_KERNEL.
(MASK_PROFILE_KERNEL): Adjust define.
From-SVN: r76697
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 560795e1d75..6bb60d39b13 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 \ |