module.lds.h (14e77332e74603efab8347c89d3cda447c3b97c9) module.lds.h (68c76ad4a9571a2b603665c85cf8229bcf04982a)
1SECTIONS {
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
1SECTIONS {
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#ifdef CONFIG_UNWIND_TABLES
22 /*
23 * Currently, we only use unwind info at module load time, so we can
24 * put it into the .init allocation.
25 */
26 .init.eh_frame : { *(.eh_frame) }
27#endif
20}
28}