説明なし

123456789101112131415161718192021222324252627282930
  1. OUTPUT_ARCH(arm)
  2. MEMORY {
  3. rom : ORIGIN = 0x09000000, LENGTH = 16M
  4. ewram : ORIGIN = 0x02000000, LENGTH = 4M - 4k
  5. }
  6. SECTIONS {
  7. .text : {
  8. FILL (0xABCD)
  9. __text_start = . ;
  10. *(.init)
  11. *(.text)
  12. *(.ctors)
  13. *(.dtors)
  14. *(.fini)
  15. *(COMMON)
  16. __text_end = . ;
  17. *(.rodata*)
  18. *(.rdata)
  19. *(.data)
  20. __bss_start__ = . ;
  21. *(.bss)
  22. __bss_end__ = . ;
  23. __file_end__ = . ;
  24. _end = __file_end__ ;
  25. __end__ = __file_end__ ;
  26. } >rom = 0xff
  27. }