* config/rs6000/linux64.h (MASK_PROFILE_KERNEL): Define.
authoramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 18 Mar 2003 02:28:46 +0000 (02:28 +0000)
committeramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 18 Mar 2003 02:28:46 +0000 (02:28 +0000)
commit3c6669f7c86e13b29f9bd7583a1af4ca65b7263c
treef6c20c7ef890974dd12683dcabb182145fb1a63b
parente33ecec345318b3d3d39d8c88f90ff303e9fa8b9
* config/rs6000/linux64.h (MASK_PROFILE_KERNEL): Define.
(TARGET_PROFILE_KERNEL): Define.
(SUBTARGET_SWITCHES): Handle -mprofile-kernel.
(PROFILE_BEFORE_PROLOGUE): Don't define.
(PROFILE_KERNEL): Remove hacks.
* config/rs6000/rs6000.c (TARGET_PROFILE_KERNEL): Define default.
(rs6000_stack_info): No need to save lr if just for profiling when
TARGET_KERNEL_PROFILE.
(output_profile_hook): Output nothing when TARGET_KERNEL_PROFILE.
(output_function_profiler): Localize label generation.  Emit code
for kernel profiling.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64519 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/rs6000/linux64.h
gcc/config/rs6000/rs6000.c