Re: [PATCH v2 10/16] objtool: Use target file class size instead of a compiled constant

2022-09-01 Thread Peter Zijlstra
On Mon, Aug 29, 2022 at 11:22:17AM +0530, Sathvika Vasireddy wrote: > From: Christophe Leroy > > In order to allow using objtool on cross-built kernels, > determine size of long from elf data instead of using > sizeof(long) at build time. > > For the time being this covers only mcount. > >

[PATCH v2 10/16] objtool: Use target file class size instead of a compiled constant

2022-08-28 Thread Sathvika Vasireddy
From: Christophe Leroy In order to allow using objtool on cross-built kernels, determine size of long from elf data instead of using sizeof(long) at build time. For the time being this covers only mcount. Signed-off-by: Christophe Leroy --- tools/objtool/check.c | 16