ARM7 based quadrocopter
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

87 lines
1.9 KiB

  1. MEMORY
  2. {
  3. CODE (rx) : ORIGIN = 0x00100000, LENGTH = 256k
  4. DATA (rwx) : ORIGIN = 0x00200000, LENGTH = 64k
  5. }
  6. SECTIONS
  7. {
  8. . = ORIGIN(CODE);
  9. .text : {
  10. *at91_init0.o (.text)
  11. *at91_init1.o (.text)
  12. *(.text)
  13. *(.glue_7t)
  14. *(.glue_7)
  15. . = ALIGN(4);
  16. _pio_isr_table = .;
  17. *(.pio_isr)
  18. _pio_isr_table_end = .;
  19. . = ALIGN(4);
  20. _tdc_value_table = .;
  21. *(.tdc_value)
  22. _tdc_value_table_end = .;
  23. . = ALIGN(4);
  24. *(.rodata)
  25. *(.rodata.*)
  26. __text_end__ = .;
  27. } >CODE =0
  28. .data : AT (ADDR(.text) + SIZEOF(.text)) {
  29. *(.data)
  30. } >DATA =0
  31. __data_start__ = ADDR(.data);
  32. __data_end__ = ADDR(.data) + SIZEOF(.data);
  33. .bss : {
  34. *(.bss)
  35. *(COMMON)
  36. }
  37. __bss_start__ = ADDR(.bss);
  38. __bss_end__ = ADDR(.bss) + SIZEOF(.bss);
  39. __stack_top__ = ORIGIN(DATA) + LENGTH(DATA);
  40. /* Stabs debugging sections. */
  41. .stab 0 : { *(.stab) }
  42. .stabstr 0 : { *(.stabstr) }
  43. .stab.excl 0 : { *(.stab.excl) }
  44. .stab.exclstr 0 : { *(.stab.exclstr) }
  45. .stab.index 0 : { *(.stab.index) }
  46. .stab.indexstr 0 : { *(.stab.indexstr) }
  47. .comment 0 : { *(.comment) }
  48. /* DWARF 1 */
  49. .debug 0 : { *(.debug) }
  50. .line 0 : { *(.line) }
  51. /* GNU DWARF 1 extensions */
  52. .debug_srcinfo 0 : { *(.debug_srcinfo) }
  53. .debug_sfnames 0 : { *(.debug_sfnames) }
  54. /* DWARF 1.1 and DWARF 2 */
  55. .debug_aranges 0 : { *(.debug_aranges) }
  56. .debug_pubnames 0 : { *(.debug_pubnames) }
  57. /* DWARF 2 */
  58. .debug_info 0 : { *(.debug_info .gnu.linkonce.wi.*) }
  59. .debug_abbrev 0 : { *(.debug_abbrev) }
  60. .debug_line 0 : { *(.debug_line) }
  61. .debug_frame 0 : { *(.debug_frame) }
  62. .debug_str 0 : { *(.debug_str) }
  63. .debug_loc 0 : { *(.debug_loc) }
  64. .debug_macinfo 0 : { *(.debug_macinfo) }
  65. /* SGI/MIPS DWARF 2 extensions */
  66. .debug_weaknames 0 : { *(.debug_weaknames) }
  67. .debug_funcnames 0 : { *(.debug_funcnames) }
  68. .debug_typenames 0 : { *(.debug_typenames) }
  69. .debug_varnames 0 : { *(.debug_varnames) }
  70. }