Re: [RFC PATCH v1 2/4] objtool: Add R_REL32 macro

2022-05-25 Thread Segher Boessenkool
Hi! On Wed, May 25, 2022 at 05:58:15PM +0200, Christophe Leroy wrote: > In order to allow other architectures than x86 to use 32 bits > relative relocations, define a R_REL32 macro that each architecture > will define, in the same way as already done for R_NONE. What are the expected semantics of

[RFC PATCH v1 2/4] objtool: Add R_REL32 macro

2022-05-25 Thread Christophe Leroy
In order to allow other architectures than x86 to use 32 bits relative relocations, define a R_REL32 macro that each architecture will define, in the same way as already done for R_NONE. Signed-off-by: Christophe Leroy --- tools/objtool/arch/x86/include/arch/elf.h | 1 + tools/objtool/check.c