Section mismatch warnings on powerpc
Qian Cai
cai at lca.pw
Thu Oct 31 07:25:36 AEDT 2019
Still see those,
WARNING: vmlinux.o(.text+0x2d04): Section mismatch in reference from the
variable __boot_from_prom to the function .init.text:prom_init()
The function __boot_from_prom() references
the function __init prom_init().
This is often because __boot_from_prom lacks a __init
annotation or the annotation of prom_init is wrong.
WARNING: vmlinux.o(.text+0x2ec8): Section mismatch in reference from the
variable start_here_common to the function .init.text:start_kernel()
The function start_here_common() references
the function __init start_kernel().
This is often because start_here_common lacks a __init
annotation or the annotation of start_kernel is wrong.
There is a patch around,
http://patchwork.ozlabs.org/patch/895442/
Does it still wait for Michael to come with some better names?
More information about the Linuxppc-dev
mailing list