qemu_ram.lds 809 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. OUTPUT_FORMAT("elf32-i386", "elf32-i386", "elf32-i386")
  2. OUTPUT_ARCH(i386)
  3. ENTRY(_start)
  4. SECTIONS
  5. {
  6. . = 0x00100000;
  7. . = ALIGN(4);
  8. .text :
  9. {
  10. *(.init)
  11. *(.text)
  12. }
  13. . = ALIGN(4);
  14. .rodata : { *(.rodata) }
  15. . = ALIGN(4);
  16. .data : { *(.data) }
  17. . = ALIGN(4);
  18. __bss_start = .;
  19. .bss : { *(.bss) }
  20. __bss_end = .;
  21. /* stabs debugging sections. */
  22. .stab 0 : { *(.stab) }
  23. .stabstr 0 : { *(.stabstr) }
  24. .stab.excl 0 : { *(.stab.excl) }
  25. .stab.exclstr 0 : { *(.stab.exclstr) }
  26. .stab.index 0 : { *(.stab.index) }
  27. .stab.indexstr 0 : { *(.stab.indexstr) }
  28. .comment 0 : { *(.comment) }
  29. .debug_abbrev 0 : { *(.debug_abbrev) }
  30. .debug_info 0 : { *(.debug_info) }
  31. .debug_line 0 : { *(.debug_line) }
  32. .debug_pubnames 0 : { *(.debug_pubnames) }
  33. .debug_aranges 0 : { *(.debug_aranges) }
  34. _end = .;
  35. }