Guest User

Untitled

a guest
Dec 12th, 2016
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. /* Bei _start soll die Ausfuehrung losgehen */
  2. ENTRY(_start)
  3.  
  4. OUTPUT_FORMAT(binary)
  5.  
  6. /*
  7. * Hier wird festgelegt, in welcher Reihenfolge welche Sektionen in die Binary
  8. * geschrieben werden sollen
  9. */
  10. SECTIONS
  11. {
  12. /* Das Programm wird an 2 MB geladen */
  13. . = 0x200000;
  14.  
  15. .text : {
  16. *(.text)
  17. }
  18. .data ALIGN(4096) : {
  19. *(.data)
  20. }
  21. .rodata ALIGN(4096) : {
  22. *(.rodata)
  23. }
  24. .bss ALIGN(4096) : {
  25. *(.bss)
  26. }
  27. }
Advertisement
Add Comment
Please, Sign In to add comment