1596b0474SMasahiro Yamada SECTIONS { 24013e266SFangrui Song .plt 0 : { BYTE(0) } 34013e266SFangrui Song .init.plt 0 : { BYTE(0) } 44013e266SFangrui Song .text.ftrace_trampoline 0 : { BYTE(0) } 51cbdf60bSPeter Collingbourne 61cbdf60bSPeter Collingbourne #ifdef CONFIG_KASAN_SW_TAGS 71cbdf60bSPeter Collingbourne /* 81cbdf60bSPeter Collingbourne * Outlined checks go into comdat-deduplicated sections named .text.hot. 91cbdf60bSPeter Collingbourne * Because they are in comdats they are not combined by the linker and 101cbdf60bSPeter Collingbourne * we otherwise end up with multiple sections with the same .text.hot 111cbdf60bSPeter Collingbourne * name in the .ko file. The kernel module loader warns if it sees 121cbdf60bSPeter Collingbourne * multiple sections with the same name so we use this sections 131cbdf60bSPeter Collingbourne * directive to force them into a single section and silence the 141cbdf60bSPeter Collingbourne * warning. 151cbdf60bSPeter Collingbourne */ 161cbdf60bSPeter Collingbourne .text.hot : { *(.text.hot) } 171cbdf60bSPeter Collingbourne #endif 18*68c76ad4SArd Biesheuvel 19*68c76ad4SArd Biesheuvel #ifdef CONFIG_UNWIND_TABLES 20*68c76ad4SArd Biesheuvel /* 21*68c76ad4SArd Biesheuvel * Currently, we only use unwind info at module load time, so we can 22*68c76ad4SArd Biesheuvel * put it into the .init allocation. 23*68c76ad4SArd Biesheuvel */ 24*68c76ad4SArd Biesheuvel .init.eh_frame : { *(.eh_frame) } 25*68c76ad4SArd Biesheuvel #endif 261cbdf60bSPeter Collingbourne } 27