Searched hist:cbf82a3dc241aea82b941a872ed5c52f6af527ea (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/tools/objtool/include/objtool/ |
H A D | special.h | cbf82a3dc241aea82b941a872ed5c52f6af527ea Thu May 06 14:34:02 CDT 2021 Peter Zijlstra <peterz@infradead.org> objtool: Decode jump_entry::key addend
Teach objtool about the the low bits in the struct static_key pointer.
That is, the low two bits of @key in:
struct jump_entry { s32 code; s32 target; long key; }
as found in the __jump_table section. Since @key has a relocation to the variable (to be resolved by the linker), the low two bits will be reflected in the relocation's addend.
As such, find the reloc and store the addend, such that we can access these bits.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Signed-off-by: Ingo Molnar <mingo@kernel.org> Link: https://lore.kernel.org/r/20210506194158.028024143@infradead.org
|
/openbmc/linux/tools/objtool/arch/x86/include/arch/ |
H A D | special.h | cbf82a3dc241aea82b941a872ed5c52f6af527ea Thu May 06 14:34:02 CDT 2021 Peter Zijlstra <peterz@infradead.org> objtool: Decode jump_entry::key addend
Teach objtool about the the low bits in the struct static_key pointer.
That is, the low two bits of @key in:
struct jump_entry { s32 code; s32 target; long key; }
as found in the __jump_table section. Since @key has a relocation to the variable (to be resolved by the linker), the low two bits will be reflected in the relocation's addend.
As such, find the reloc and store the addend, such that we can access these bits.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Signed-off-by: Ingo Molnar <mingo@kernel.org> Link: https://lore.kernel.org/r/20210506194158.028024143@infradead.org
|
/openbmc/linux/tools/objtool/ |
H A D | special.c | cbf82a3dc241aea82b941a872ed5c52f6af527ea Thu May 06 14:34:02 CDT 2021 Peter Zijlstra <peterz@infradead.org> objtool: Decode jump_entry::key addend
Teach objtool about the the low bits in the struct static_key pointer.
That is, the low two bits of @key in:
struct jump_entry { s32 code; s32 target; long key; }
as found in the __jump_table section. Since @key has a relocation to the variable (to be resolved by the linker), the low two bits will be reflected in the relocation's addend.
As such, find the reloc and store the addend, such that we can access these bits.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Signed-off-by: Ingo Molnar <mingo@kernel.org> Link: https://lore.kernel.org/r/20210506194158.028024143@infradead.org
|