Advertisement
Guest User

Untitled

a guest
Mar 6th, 2019
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. OUTPUT_FORMAT(elf32-i386)
  2. ENTRY(start)
  3.  
  4.  
  5. SECTIONS {
  6. . = 0x00100000; /* the code should be loaded at 1 MB */
  7.  
  8. .text :
  9. {
  10. *(.text) /* all text sections from all files */
  11. }
  12.  
  13. .rodata :
  14. {
  15. *(.rodata*) /* all read-only data sections from all files */
  16. }
  17.  
  18. .data:
  19. {
  20. *(.data) /* all data sections from all files */
  21. }
  22.  
  23. .bss :
  24. {
  25. *(COMMON) /* all COMMON sections from all files */
  26. *(.bss) /* all bss sections from all files */
  27. }
  28. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement