wh44b0_rom.lds 950 B

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