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.
 
 
 
 
 
 

301 lines
11 KiB

  1. Memory Configuration
  2. Name Origin Length Attributes
  3. CODE 0x40000000 0x00040000 xr
  4. DATA 0x20000000 0x00010000 rw
  5. *default* 0x00000000 0xffffffff
  6. Linker script and memory map
  7. LOAD ./src/crt.o
  8. LOAD ./src/main.o
  9. START GROUP
  10. LOAD d:/compiler/yagarto/bin/../lib/gcc/arm-elf/4.2.2\libgcc.a
  11. LOAD d:/compiler/yagarto/bin/../lib/gcc/arm-elf/4.2.2/../../../../arm-elf/lib\libc.a
  12. END GROUP
  13. 0x00000400 _STACKSIZE = 0x400
  14. 0x00000100 _STACKSIZE_IRQ = 0x100
  15. 0x00000000 _STACKSIZE_FIQ = 0x0
  16. 0x00000400 _STACKSIZE_SVC = 0x400
  17. 0x00000000 _STACKSIZE_ABT = 0x0
  18. 0x00000000 _STACKSIZE_UND = 0x0
  19. 0x00000400 _HEAPSIZE = 0x400
  20. .text 0x40000000 0x1cc
  21. CREATE_OBJECT_SYMBOLS
  22. *(.vectrom)
  23. *(.init)
  24. .init 0x40000000 0x16c ./src/crt.o
  25. 0x4000012c FIQHandler
  26. 0x40000120 PAbortHandler
  27. 0x40000108 ExitFunction
  28. 0x40000000 ResetHandler
  29. 0x40000124 DAbortHandler
  30. 0x40000128 IRQHandler
  31. 0x40000118 UndefHandler
  32. *(.text .text.*)
  33. .text 0x4000016c 0x0 ./src/crt.o
  34. .text 0x4000016c 0x60 ./src/main.o
  35. 0x4000016c main
  36. *(.gnu.linkonce.t.*)
  37. *(.glue_7t)
  38. .glue_7t 0x400001cc 0x0 ./src/crt.o
  39. .glue_7t 0x400001cc 0x0 ./src/main.o
  40. *(.glue_7)
  41. .glue_7 0x400001cc 0x0 ./src/crt.o
  42. .glue_7 0x400001cc 0x0 ./src/main.o
  43. *(.vfp11_veneer)
  44. .vfp11_veneer 0x400001cc 0x0 ./src/crt.o
  45. .vfp11_veneer 0x400001cc 0x0 ./src/main.o
  46. *(.fini)
  47. *(.gcc_except_table)
  48. .vectors 0x400001cc 0x40
  49. .vectors 0x400001cc 0x40 ./src/crt.o
  50. 0x4000020c . = ALIGN (0x4)
  51. .ctors 0x4000020c 0x0
  52. 0x4000020c PROVIDE (__ctors_start__, .)
  53. *(SORT(.ctors.*))
  54. *(.ctors)
  55. 0x4000020c PROVIDE (__ctors_end__, .)
  56. .dtors 0x4000020c 0x0
  57. 0x4000020c PROVIDE (__dtors_start__, .)
  58. *(SORT(.dtors.*))
  59. *(.dtors)
  60. 0x4000020c PROVIDE (__dtors_end__, .)
  61. .rodata 0x4000020c 0x4
  62. *(.rodata .rodata.*)
  63. .rodata 0x4000020c 0x4 ./src/main.o
  64. *(.gnu.linkonce.r.*)
  65. 0x40000210 . = ALIGN (0x4)
  66. .init_array 0x40000210 0x0
  67. *(.init)
  68. *(.fini)
  69. 0x40000210 PROVIDE (__preinit_array_start, .)
  70. *(.preinit_array)
  71. 0x40000210 PROVIDE (__preinit_array_end, .)
  72. 0x40000210 PROVIDE (__init_array_start, .)
  73. *(SORT(.init_array.*))
  74. *(.init_array)
  75. 0x40000210 PROVIDE (__init_array_end, .)
  76. 0x40000210 PROVIDE (__fini_array_start, .)
  77. *(.fini_array)
  78. *(SORT(.fini_array.*))
  79. 0x40000210 PROVIDE (__fini_array_end, .)
  80. 0x40000210 . = ALIGN (0x4)
  81. 0x40000210 __exidx_start = .
  82. .ARM.exidx
  83. *(.ARM.exidx* .gnu.linkonce.armexidx.*)
  84. 0x40000210 __exidx_end = .
  85. 0x40000210 _vectext = .
  86. 0x40000210 PROVIDE (vectext, .)
  87. .vect 0x20000000 0x0 load address 0x40000210
  88. 0x20000000 _vecstart = .
  89. *(.vectram)
  90. 0x20000000 _vecend = .
  91. 0x40000210 _etext = (_vectext + SIZEOF (.vect))
  92. 0x20000000 PROVIDE (etext, .)
  93. .data 0x20000000 0x0 load address 0x40000210
  94. 0x20000000 __data_start = .
  95. *(.data .data.*)
  96. .data 0x20000000 0x0 ./src/crt.o
  97. .data 0x20000000 0x0 ./src/main.o
  98. *(.gnu.linkonce.d.*)
  99. 0x20000000 . = ALIGN (0x4)
  100. *(.fastrun .fastrun.*)
  101. 0x20000000 . = ALIGN (0x4)
  102. 0x20000000 _edata = .
  103. 0x20000000 PROVIDE (edata, .)
  104. .bss 0x20000000 0x0 load address 0x40000210
  105. 0x20000000 __bss_start = .
  106. 0x20000000 __bss_start__ = .
  107. *(.bss .bss.*)
  108. .bss 0x20000000 0x0 ./src/crt.o
  109. .bss 0x20000000 0x0 ./src/main.o
  110. *(.gnu.linkonce.b.*)
  111. *(COMMON)
  112. 0x20000000 . = ALIGN (0x4)
  113. 0x20000000 . = ALIGN (0x4)
  114. 0x20000000 __bss_end__ = .
  115. 0x20000000 _end = .
  116. 0x20000000 PROVIDE (end, .)
  117. .heap 0x20000000 0x400
  118. 0x20000000 __heap_start__ = .
  119. *(.heap)
  120. 0x20000400 . = ((__heap_start__ + _HEAPSIZE) MAX_K .)
  121. *fill* 0x20000000 0x400 00
  122. 0x20000400 __heap_end__ = (__heap_start__ + SIZEOF (.heap))
  123. .stack 0x20000400 0x400
  124. 0x20000400 __stack_start__ = .
  125. *(.stack)
  126. 0x20000800 . = ((__stack_start__ + _STACKSIZE) MAX_K .)
  127. *fill* 0x20000400 0x400 00
  128. 0x20000800 __stack_end__ = (__stack_start__ + SIZEOF (.stack))
  129. .stack_irq 0x20000800 0x100
  130. 0x20000800 __stack_irq_start__ = .
  131. *(.stack_irq)
  132. 0x20000900 . = ((__stack_irq_start__ + _STACKSIZE_IRQ) MAX_K .)
  133. *fill* 0x20000800 0x100 00
  134. 0x20000900 __stack_irq_end__ = (__stack_irq_start__ + SIZEOF (.stack_irq))
  135. .stack_fiq 0x20000900 0x0
  136. 0x20000900 __stack_fiq_start__ = .
  137. *(.stack_fiq)
  138. 0x20000900 . = ((__stack_fiq_start__ + _STACKSIZE_FIQ) MAX_K .)
  139. 0x20000900 __stack_fiq_end__ = (__stack_fiq_start__ + SIZEOF (.stack_fiq))
  140. .stack_svc 0x20000900 0x400
  141. 0x20000900 __stack_svc_start__ = .
  142. *(.stack_svc)
  143. 0x20000d00 . = ((__stack_svc_start__ + _STACKSIZE_SVC) MAX_K .)
  144. *fill* 0x20000900 0x400 00
  145. 0x20000d00 __stack_svc_end__ = (__stack_svc_start__ + SIZEOF (.stack_svc))
  146. .stack_abt 0x20000d00 0x0
  147. 0x20000d00 __stack_abt_start__ = .
  148. *(.stack_abt)
  149. 0x20000d00 . = ((__stack_abt_start__ + _STACKSIZE_ABT) MAX_K .)
  150. 0x20000d00 __stack_abt_end__ = (__stack_abt_start__ + SIZEOF (.stack_abt))
  151. .stack_und 0x20000d00 0x0
  152. 0x20000d00 __stack_und_start__ = .
  153. *(.stack_und)
  154. 0x20000d00 . = ((__stack_und_start__ + _STACKSIZE_UND) MAX_K .)
  155. 0x20000d00 __stack_und_end__ = (__stack_und_start__ + SIZEOF (.stack_und))
  156. .stab
  157. *(.stab)
  158. .stabstr
  159. *(.stabstr)
  160. .stab.excl
  161. *(.stab.excl)
  162. .stab.exclstr
  163. *(.stab.exclstr)
  164. .stab.index
  165. *(.stab.index)
  166. .stab.indexstr
  167. *(.stab.indexstr)
  168. .comment 0x00000000 0x12
  169. *(.comment)
  170. .comment 0x00000000 0x12 ./src/main.o
  171. .debug
  172. *(.debug)
  173. .line
  174. *(.line)
  175. .debug_srcinfo
  176. *(.debug_srcinfo)
  177. .debug_sfnames
  178. *(.debug_sfnames)
  179. .debug_aranges 0x00000000 0x48
  180. *(.debug_aranges)
  181. .debug_aranges
  182. 0x00000000 0x28 ./src/crt.o
  183. .debug_aranges
  184. 0x00000028 0x20 ./src/main.o
  185. .debug_pubnames
  186. 0x00000000 0x1b
  187. *(.debug_pubnames)
  188. .debug_pubnames
  189. 0x00000000 0x1b ./src/main.o
  190. .debug_info 0x00000000 0x1a6
  191. *(.debug_info .gnu.linkonce.wi.*)
  192. .debug_info 0x00000000 0x73 ./src/crt.o
  193. .debug_info 0x00000073 0x133 ./src/main.o
  194. .debug_abbrev 0x00000000 0x6d
  195. *(.debug_abbrev)
  196. .debug_abbrev 0x00000000 0x12 ./src/crt.o
  197. .debug_abbrev 0x00000012 0x5b ./src/main.o
  198. .debug_line 0x00000000 0xf9
  199. *(.debug_line)
  200. .debug_line 0x00000000 0xa2 ./src/crt.o
  201. .debug_line 0x000000a2 0x57 ./src/main.o
  202. .debug_frame 0x00000000 0x24
  203. *(.debug_frame)
  204. .debug_frame 0x00000000 0x24 ./src/main.o
  205. .debug_str
  206. *(.debug_str)
  207. .debug_loc 0x00000000 0x1f
  208. *(.debug_loc)
  209. .debug_loc 0x00000000 0x1f ./src/main.o
  210. .debug_macinfo
  211. *(.debug_macinfo)
  212. .debug_weaknames
  213. *(.debug_weaknames)
  214. .debug_funcnames
  215. *(.debug_funcnames)
  216. .debug_typenames
  217. *(.debug_typenames)
  218. .debug_varnames
  219. *(.debug_varnames)
  220. OUTPUT(test_rom.elf elf32-littlearm)
  221. .ARM.attributes
  222. 0x00000000 0x10
  223. .ARM.attributes
  224. 0x00000000 0x10 ./src/crt.o
  225. .ARM.attributes
  226. 0x00000010 0x10 ./src/main.o
  227. .debug_ranges 0x00000000 0x20
  228. .debug_ranges 0x00000000 0x20 ./src/crt.o
  229. Cross Reference Table
  230. Symbol File
  231. DAbortHandler ./src/crt.o
  232. ExitFunction ./src/crt.o
  233. FIQHandler ./src/crt.o
  234. IRQHandler ./src/crt.o
  235. PAbortHandler ./src/crt.o
  236. ResetHandler ./src/crt.o
  237. UndefHandler ./src/crt.o
  238. __bss_end__ ./src/crt.o
  239. __bss_start__ ./src/crt.o
  240. __ctors_end__ ./src/crt.o
  241. __ctors_start__ ./src/crt.o
  242. __data_start ./src/crt.o
  243. __stack_abt_end__ ./src/crt.o
  244. __stack_fiq_end__ ./src/crt.o
  245. __stack_irq_end__ ./src/crt.o
  246. __stack_svc_end__ ./src/crt.o
  247. __stack_und_end__ ./src/crt.o
  248. _edata ./src/crt.o
  249. _etext ./src/crt.o
  250. main ./src/main.o
  251. ./src/crt.o