module.lds.h 841 B

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