On Sat, Apr 08, 2023 at 09:33:48PM +0100, Jiaxun Yang wrote: > MIPS's exit sections are discarded at runtime as well. > > Fixes link error: > `.exit.text' referenced in section `__jump_table' of fs/fuse/inode.o: > defined in discarded section `.exit.text' of fs/fuse/inode.o > > Fixes: 99cb0d917ffa ("arch: fix broken BuildID for arm64 and riscv") > Reported-by: "kernelci.org bot" <bot@xxxxxxxxxxxx> > Signed-off-by: Jiaxun Yang <jiaxun.yang@xxxxxxxxxxx> > --- > arch/mips/kernel/vmlinux.lds.S | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/arch/mips/kernel/vmlinux.lds.S b/arch/mips/kernel/vmlinux.lds.S > index 52cbde60edf5..9ff55cb80a64 100644 > --- a/arch/mips/kernel/vmlinux.lds.S > +++ b/arch/mips/kernel/vmlinux.lds.S > @@ -15,6 +15,8 @@ > #define EMITS_PT_NOTE > #endif > > +#define RUNTIME_DISCARD_EXIT > + > #include <asm-generic/vmlinux.lds.h> > > #undef mips > -- > 2.39.2 (Apple Git-143) applied to mips-fixes. Thomas. -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]