1 SECTIONS { 2 #ifdef CONFIG_ARM64_MODULE_PLTS 3 .plt 0 : { BYTE(0) } 4 .init.plt 0 : { BYTE(0) } 5 .text.ftrace_trampoline 0 : { BYTE(0) } 6 #endif 7 8 #ifdef CONFIG_KASAN_SW_TAGS 9 /* 10 * Outlined checks go into comdat-deduplicated sections named .text.hot. 11 * Because they are in comdats they are not combined by the linker and 12 * we otherwise end up with multiple sections with the same .text.hot 13 * name in the .ko file. The kernel module loader warns if it sees 14 * multiple sections with the same name so we use this sections 15 * directive to force them into a single section and silence the 16 * warning. 17 */ 18 .text.hot : { *(.text.hot) } 19 #endif 20 } 21