objtool throws the following warning:
arch/powerpc/kernel/head_64.o: warning: objtool: .text+0x6128:
unannotated intra-function call
Fix the warning by annotating start_initialization_book3s symbol with the
SYM_FUNC_START_LOCAL and SYM_FUNC_END macros.
Reported-by: Stephen Rothwell <redacted>
Signed-off-by: Sathvika Vasireddy <redacted>
---
arch/powerpc/kernel/head_64.S | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
From: Stephen Rothwell <hidden> Date: 2023-02-17 05:33:56
Hi all,
On Fri, 17 Feb 2023 10:02:26 +0530 Sathvika Vasireddy [off-list ref] wrote:
quoted hunk
objtool throws the following warning:
arch/powerpc/kernel/head_64.o: warning: objtool: .text+0x6128:
unannotated intra-function call
Fix the warning by annotating start_initialization_book3s symbol with the
SYM_FUNC_START_LOCAL and SYM_FUNC_END macros.
Reported-by: Stephen Rothwell <redacted>
Signed-off-by: Sathvika Vasireddy <redacted>
---
arch/powerpc/kernel/head_64.S | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
That at least makes the warning go away for me.
Tested-by: Stephen Rothwell <redacted>
Fixes: 58f24eea5278 ("powerpc/64s: Refactor initialisation after prom")
--
Cheers,
Stephen Rothwell
On Fri, Feb 17, 2023 at 10:02:26AM +0530, Sathvika Vasireddy wrote:
objtool throws the following warning:
arch/powerpc/kernel/head_64.o: warning: objtool: .text+0x6128:
unannotated intra-function call
Fix the warning by annotating start_initialization_book3s symbol with the
SYM_FUNC_START_LOCAL and SYM_FUNC_END macros.
Reported-by: Stephen Rothwell <redacted>
Signed-off-by: Sathvika Vasireddy <redacted>
From: Michael Ellerman <hidden> Date: 2023-02-20 03:56:08
On Fri, 17 Feb 2023 10:02:26 +0530, Sathvika Vasireddy wrote:
objtool throws the following warning:
arch/powerpc/kernel/head_64.o: warning: objtool: .text+0x6128:
unannotated intra-function call
Fix the warning by annotating start_initialization_book3s symbol with the
SYM_FUNC_START_LOCAL and SYM_FUNC_END macros.
[...]