common.lds.S 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #include <asm-generic/vmlinux.lds.h>
  3. .fini : { *(.fini) } =0x9090
  4. _etext = .;
  5. PROVIDE (etext = .);
  6. . = ALIGN(4096);
  7. _sdata = .;
  8. PROVIDE (sdata = .);
  9. RO_DATA(4096)
  10. .unprotected : { *(.unprotected) }
  11. . = ALIGN(4096);
  12. PROVIDE (_unprotected_end = .);
  13. . = ALIGN(4096);
  14. EXCEPTION_TABLE(0)
  15. BUG_TABLE
  16. .uml.setup.init : {
  17. __uml_setup_start = .;
  18. *(.uml.setup.init)
  19. __uml_setup_end = .;
  20. }
  21. .uml.help.init : {
  22. __uml_help_start = .;
  23. *(.uml.help.init)
  24. __uml_help_end = .;
  25. }
  26. .uml.postsetup.init : {
  27. __uml_postsetup_start = .;
  28. *(.uml.postsetup.init)
  29. __uml_postsetup_end = .;
  30. }
  31. .init.setup : {
  32. INIT_SETUP(0)
  33. }
  34. PERCPU_SECTION(32)
  35. .initcall.init : {
  36. INIT_CALLS
  37. }
  38. .con_initcall.init : {
  39. CON_INITCALL
  40. }
  41. .kunit_test_suites : {
  42. KUNIT_TABLE()
  43. }
  44. .exitcall : {
  45. __exitcall_begin = .;
  46. *(.exitcall.exit)
  47. __exitcall_end = .;
  48. }
  49. .uml.exitcall : {
  50. __uml_exitcall_begin = .;
  51. *(.uml.exitcall.exit)
  52. __uml_exitcall_end = .;
  53. }
  54. . = ALIGN(4);
  55. .altinstructions : {
  56. __alt_instructions = .;
  57. *(.altinstructions)
  58. __alt_instructions_end = .;
  59. }
  60. .altinstr_replacement : { *(.altinstr_replacement) }
  61. /* .exit.text is discard at runtime, not link time, to deal with references
  62. from .altinstructions and .eh_frame */
  63. .exit.text : { EXIT_TEXT }
  64. .exit.data : { *(.exit.data) }
  65. .preinit_array : {
  66. __preinit_array_start = .;
  67. *(.preinit_array)
  68. __preinit_array_end = .;
  69. }
  70. .init_array : {
  71. __init_array_start = .;
  72. *(.kasan_init)
  73. *(.init_array.*)
  74. *(.init_array)
  75. __init_array_end = .;
  76. }
  77. .fini_array : {
  78. __fini_array_start = .;
  79. *(.fini_array)
  80. __fini_array_end = .;
  81. }
  82. . = ALIGN(4096);
  83. .init.ramfs : {
  84. INIT_RAM_FS
  85. }