Re: [PATCH v2 4/6] objtool/powerpc: Skip jump destination analysis and unnanotated intra-function call warnings for --ftr-fixup
From: Shivang Upadhyay
Date: Wed Sep 30 2026 - 02:13:02 EST
On Tue, 2026-09-29 at 16:25 +0200, Peter Zijlstra wrote:
> > c00000000002a610 <system_reset_exception>:
> > c00000000002a610: 0e 01 4c 3c addis r2,r12,270
> > c00000000002a610: R_PPC64_REL16_HA
> > .TOC.
> > c00000000002a614: f0 6c 42 38 addi r2,r2,27888
> > c00000000002a614: R_PPC64_REL16_LO
> > .TOC.+0x4
> > c00000000002a618: a6 02 08 7c mflr r0
> >
> > This is happening because we should be looking for destination
> > symbols that are at absolute offsets instead of relative offsets.
>
> Again, confused. We run objtool on objects, this is pre-linking,
> there
> are no absolute offsets.
Hi Peter,
This is the special requirement of patching jump assembly instructions
that we need to know where the jump is performed from/to. As per 5/6
objtool is run post link on vmlinux. If handling post-link information
is outside the scope of objtool, please let me know.
Regards,
~Shivang.