On Sun, Dec 1, 2024 at 11:31 PM Guenter Roeck <li...@roeck-us.net> wrote: > > Hi, > > On Sat, Nov 02, 2024 at 10:51:10AM -0700, Rong Xu wrote: > > When the -ffunction-sections compiler option is enabled, each function > > is placed in a separate section named .text.function_name rather than > > putting all functions in a single .text section. > > > ... > > > > Co-developed-by: Han Shen <shen...@google.com> > > Signed-off-by: Han Shen <shen...@google.com> > > Signed-off-by: Rong Xu <x...@google.com> > > Suggested-by: Sriraman Tallam <tmsri...@google.com> > > Suggested-by: Krzysztof Pszeniczny <kpszenic...@google.com> > > Tested-by: Yonghong Song <yonghong.s...@linux.dev> > > Tested-by: Yabin Cui <yab...@google.com> > > Tested-by: Nathan Chancellor <nat...@kernel.org> > > Reviewed-by: Kees Cook <k...@kernel.org> > > With this patch in the tree, the openrisck qemu emulation using > or1ksim_defconfig fails to boot. There is no log output, even with > earlycon enabled.
Thanks for the report. I posted a fix. https://lore.kernel.org/all/20241202062909.2194341-1-masahi...@kernel.org/T/#u -- Best Regards Masahiro Yamada