On Sun, Dec 1, 2024 at 11:31 PM Guenter Roeck <linux@xxxxxxxxxxxx> 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 <shenhan@xxxxxxxxxx> > > Signed-off-by: Han Shen <shenhan@xxxxxxxxxx> > > Signed-off-by: Rong Xu <xur@xxxxxxxxxx> > > Suggested-by: Sriraman Tallam <tmsriram@xxxxxxxxxx> > > Suggested-by: Krzysztof Pszeniczny <kpszeniczny@xxxxxxxxxx> > > Tested-by: Yonghong Song <yonghong.song@xxxxxxxxx> > > Tested-by: Yabin Cui <yabinc@xxxxxxxxxx> > > Tested-by: Nathan Chancellor <nathan@xxxxxxxxxx> > > Reviewed-by: Kees Cook <kees@xxxxxxxxxx> > > 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-masahiroy@xxxxxxxxxx/T/#u -- Best Regards Masahiro Yamada