Re: [RFC] Kernel livepatching support in GCC

2015-10-22 Thread libin
在 2015/10/22 18:16, Szabolcs Nagy 写道: > On 22/10/15 10:23, libin wrote: >> From: Jiangjiji >> Date: Sat, 10 Oct 2015 15:29:57 +0800 >> Subject: [PATCH] * gcc/config/aarch64/aarch64.opt: Add a new option. >> * gcc/config/aarch64/aarch64.c: Add some new functions an

Re: [RFC] Kernel livepatching support in GCC

2015-10-22 Thread libin
From: Jiangjiji Date: Sat, 10 Oct 2015 15:29:57 +0800 Subject: [PATCH] * gcc/config/aarch64/aarch64.opt: Add a new option. * gcc/config/aarch64/aarch64.c: Add some new functions and Macros. * gcc/config/aarch64/aarch64.h: Modify PROFILE_HOOK and FUNCTION_PROFILER. Signed-off-by: Jiangjiji Sign

Re: [RFC] Kernel livepatching support in GCC

2015-10-22 Thread libin
在 2015/5/28 16:39, Maxim Kuvyrkov 写道: Hi, Akashi-san and I have been discussing required GCC changes to make kernel's livepatching work for AArch64 and other architectures. At the moment livepatching is supported for x86[_64] using the following options: "-pg -mfentry -mrecord-mcount -mnop-