linux64.h (MASK_PROFILE_KERNEL): Define.
* 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. From-SVN: r64519
Showing
Please
register
or
sign in
to comment