module.lds.h 795 B

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