Nav apraksta

linker.ld 688B

1234567891011121314151617181920212223242526272829
  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. *(.rodata)
  15. *(.fini)
  16. *(COMMON)
  17. __text_end = . ;
  18. *(.data)
  19. __bss_start__ = . ;
  20. *(.bss)
  21. __bss_end__ = . ;
  22. __file_end__ = . ;
  23. _end = __file_end__ ;
  24. __end__ = __file_end__ ;
  25. } >rom = 0xff
  26. }