1596b0474SMasahiro Yamada SECTIONS { 21cbdf60bSPeter Collingbourne #ifdef CONFIG_ARM64_MODULE_PLTS 3*4013e266SFangrui Song .plt 0 : { BYTE(0) } 4*4013e266SFangrui Song .init.plt 0 : { BYTE(0) } 5*4013e266SFangrui Song .text.ftrace_trampoline 0 : { BYTE(0) } 6596b0474SMasahiro Yamada #endif 71cbdf60bSPeter Collingbourne 81cbdf60bSPeter Collingbourne #ifdef CONFIG_KASAN_SW_TAGS 91cbdf60bSPeter Collingbourne /* 101cbdf60bSPeter Collingbourne * Outlined checks go into comdat-deduplicated sections named .text.hot. 111cbdf60bSPeter Collingbourne * Because they are in comdats they are not combined by the linker and 121cbdf60bSPeter Collingbourne * we otherwise end up with multiple sections with the same .text.hot 131cbdf60bSPeter Collingbourne * name in the .ko file. The kernel module loader warns if it sees 141cbdf60bSPeter Collingbourne * multiple sections with the same name so we use this sections 151cbdf60bSPeter Collingbourne * directive to force them into a single section and silence the 161cbdf60bSPeter Collingbourne * warning. 171cbdf60bSPeter Collingbourne */ 181cbdf60bSPeter Collingbourne .text.hot : { *(.text.hot) } 191cbdf60bSPeter Collingbourne #endif 201cbdf60bSPeter Collingbourne } 21