Advertisement
Guest User

Untitled

a guest
Sep 4th, 2022
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. ENTRY(_start)
  2.  
  3. SECTIONS
  4. {
  5. /* Starts at LOADER_ADDR. */
  6. . = 0x80000;
  7. /* For AArch64, use . = 0x80000; */
  8. __start = .;
  9. __text_start = .;
  10. .text :
  11. {
  12. KEEP(*(.text.boot))
  13. *(.text)
  14. }
  15. . = ALIGN(4096); /* align to page size */
  16. __text_end = .;
  17.  
  18. __rodata_start = .;
  19. .rodata :
  20. {
  21. *(.rodata)
  22. }
  23. . = ALIGN(4096); /* align to page size */
  24. __rodata_end = .;
  25.  
  26. __data_start = .;
  27. .data :
  28. {
  29. *(.data)
  30. }
  31. . = ALIGN(4096); /* align to page size */
  32. __data_end = .;
  33.  
  34. __bss_start = .;
  35. .bss :
  36. {
  37. bss = .;
  38. *(.bss)
  39. }
  40. . = ALIGN(4096); /* align to page size */
  41. __bss_end = .;
  42. __bss_size = __bss_end - __bss_start;
  43. __end = .;
  44. }
  45.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement