s390: exclude early C code from gcov profiling
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Wed, 7 Dec 2016 09:36:05 +0000 (10:36 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 12 Dec 2016 11:10:15 +0000 (12:10 +0100)
commitb5cb9bf8dd2ce94a2de507bc7546d965cbd421a6
tree969308df339402228d40723fb1451bf1decce88b
parenta521b048bc8c5d3c57a468c2cba70eb60e873616
s390: exclude early C code from gcov profiling

Early C code must be excluded from gcov profiling since it may write
to the bss section before
- a potential initrd that resides there is rescued
- the bss section is initialized (zeroed)

This patch only addresses the problem that early code is instrumented
for profiling, but not the problem that it jumps into other code that
is still instrumented. That problem will be fixed with a follow-on
patch.

Reviewed-by: Peter Oberparleiter <oberpar@linux.vnet.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/Makefile