Re: 答复: [PATCH] x86: livepatch: Treat R_X86_64_PLT32 as R_X86_64_PC32

2019-02-15 Thread Petr Mladek
On Fri 2019-02-15 08:17:36, chenzefeng (A) wrote: > HI, Jiri Kosina, > > On Fri, 15 Feb 2019, Jiri Kosina wrote: > >On Fri, 15 Feb 2019, chenzefeng (A) wrote: > > >> On x86-64, for 32-bit PC-relacive branches, we can generate PLT32 > >> relocation, instead of PC32 relocation. and R_X86_64_PLT32

答复: [PATCH] x86: livepatch: Treat R_X86_64_PLT32 as R_X86_64_PC32

2019-02-15 Thread chenzefeng (A)
HI, Jiri Kosina, On Fri, 15 Feb 2019, Jiri Kosina wrote: >On Fri, 15 Feb 2019, chenzefeng (A) wrote: >> On x86-64, for 32-bit PC-relacive branches, we can generate PLT32 >> relocation, instead of PC32 relocation. and R_X86_64_PLT32 can be >> treated the same as R_X86_64_PC32 since linux kernel