Guest User

linker.ld

a guest
Apr 6th, 2015
516
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. ENTRY(_start)
  2.  
  3. SECTIONS
  4. {
  5. . = 1M;
  6.  
  7. .text BLOCK(4K) : ALIGN(4K)
  8. {
  9. *(.multiboot)
  10. *(.text)
  11. }
  12.  
  13. .rodata BLOCK(4K) : ALIGN(4K)
  14. {
  15. *(.rodata)
  16. }
  17.  
  18. .data BLOCK(4K) : ALIGN(4K)
  19. {
  20. *(.data)
  21. }
  22.  
  23. .bss BLOCK(4K) : ALIGN(4K)
  24. {
  25. *(COMMON)
  26. *(.bss)
  27. *(.bootstrap_stack)
  28. }
  29. }
Advertisement
Add Comment
Please, Sign In to add comment