summaryrefslogtreecommitdiff
path: root/gcc/config/rs6000/linux64.h
diff options
context:
space:
mode:
authoramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>2004-01-27 11:15:23 +0000
committeramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>2004-01-27 11:15:23 +0000
commit617f66bffa317d7b84f476d7231af1d5e96ee29b (patch)
treeb8583dbdfc6c40ee1d7122651811da7180d28690 /gcc/config/rs6000/linux64.h
parent15b3e8804977b954692de22cf45e6e30767fcbeb (diff)
downloadgcc-617f66bffa317d7b84f476d7231af1d5e96ee29b.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76697 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/rs6000/linux64.h')
-rw-r--r--gcc/config/rs6000/linux64.h11
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 \