From: Jiaxun Yang Date: Sat, 8 Apr 2023 20:33:48 +0000 (+0100) Subject: MIPS: Define RUNTIME_DISCARD_EXIT in LD script X-Git-Tag: Ubuntu-6.5.0-9.9~2923^2 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=6dcbd0a69c84a8ae7a442840a8cf6b1379dc8f16;p=mirror_ubuntu-kernels.git MIPS: Define RUNTIME_DISCARD_EXIT in LD script 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" Signed-off-by: Jiaxun Yang Signed-off-by: Thomas Bogendoerfer --- 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 #undef mips