Re: [PATCH 2/3] S/390: Implement -mrecord-mcount

2018-07-16 Thread Andreas Krebbel
On 07/16/2018 09:48 AM, Ilya Leoshkevich wrote: > This is the counterpart of the i386 feature introduced by > 39a5a6a4: Add direct support for Linux kernel __fentry__ patching. > > * gcc/config/s390/s390.c (s390_function_profiler): Generate > __mcount_loc section. > * gcc/c

[PATCH 2/3] S/390: Implement -mrecord-mcount

2018-07-16 Thread Ilya Leoshkevich
This is the counterpart of the i386 feature introduced by 39a5a6a4: Add direct support for Linux kernel __fentry__ patching. * gcc/config/s390/s390.c (s390_function_profiler): Generate __mcount_loc section. * gcc/config/s390/s390.opt: Add the new option. * gcc/tests