Re: [PATCH] powerpc/boot: Fix crt0.S current address branch form

2023-04-26 Thread Michael Ellerman
On Fri, 07 Apr 2023 14:09:24 +1000, Nicholas Piggin wrote: > Use the preferred form of branch-and-link for finding the current > address so objtool doesn't think it is an unannotated intra-function > call. > > Applied to powerpc/next. [1/1] powerpc/boot: Fix crt0.S current address branch form

Re: [PATCH] powerpc/boot: Fix crt0.S current address branch form

2023-04-11 Thread Michael Ellerman
Michael Ellerman writes: > Nicholas Piggin writes: >> Use the preferred form of branch-and-link for finding the current >> address so objtool doesn't think it is an unannotated intra-function >> call. > > We don't run objtool on this code in mainline AFAIK. Because BOOTAS > doesn't call it. But

Re: [PATCH] powerpc/boot: Fix crt0.S current address branch form

2023-04-07 Thread Michael Ellerman
Nicholas Piggin writes: > Use the preferred form of branch-and-link for finding the current > address so objtool doesn't think it is an unannotated intra-function > call. We don't run objtool on this code in mainline AFAIK. Because BOOTAS doesn't call it. Did you actually see a warning, or are

[PATCH] powerpc/boot: Fix crt0.S current address branch form

2023-04-06 Thread Nicholas Piggin
Use the preferred form of branch-and-link for finding the current address so objtool doesn't think it is an unannotated intra-function call. Signed-off-by: Nicholas Piggin --- arch/powerpc/boot/crt0.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git