Advertisement
Guest User

Untitled

a guest
Jul 17th, 2019
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.12 KB | None | 0 0
  1. ENTRY(Reset_Handler)
  2.  
  3. MEMORY
  4. {
  5. FLASH (RX) : ORIGIN = 0x08020000, LENGTH = 896K
  6. SRAM (RWX) : ORIGIN = 0x20000000, LENGTH = 512K
  7. BKPSRAM (RW) : ORIGIN = 0x40024000, LENGTH = 4K
  8. }
  9.  
  10. _estack = 0x20080000;
  11.  
  12. SECTIONS
  13. {
  14. .isr_vector :
  15. {
  16. . = ALIGN(4);
  17. _isr_vector = .;
  18. KEEP(*(.isr_vector))
  19. . = ALIGN(4);
  20. } > FLASH
  21.  
  22. .firmware_header_vector :
  23. {
  24. . = ALIGN(4);
  25. KEEP(*(.firmware_header_vector))
  26. . = ALIGN(4);
  27. } > FLASH
  28.  
  29. .text :
  30. {
  31. . = ALIGN(4);
  32. _stext = .;
  33. *(.Reset_Handler)
  34. *(.text)
  35. *(.text*)
  36. *(.rodata)
  37. *(.rodata*)
  38. *(.glue_7)
  39. *(.glue_7t)
  40. KEEP(*(.init))
  41. KEEP(*(.fini))
  42. . = ALIGN(4);
  43. _etext = .;
  44.  
  45. } > FLASH
  46.  
  47. .ARM.extab :
  48. {
  49. . = ALIGN(4);
  50. *(.ARM.extab)
  51. *(.gnu.linkonce.armextab.*)
  52. . = ALIGN(4);
  53. } > FLASH
  54.  
  55. .exidx :
  56. {
  57. . = ALIGN(4);
  58. PROVIDE(__exidx_start = .);
  59. *(.ARM.exidx*)
  60. . = ALIGN(4);
  61. PROVIDE(__exidx_end = .);
  62. } > FLASH
  63.  
  64. .preinit_array :
  65. {
  66. PROVIDE(__preinit_array_start = .);
  67. KEEP(*(.preinit_array*))
  68. PROVIDE(__preinit_array_end = .);
  69. } > FLASH
  70.  
  71. .init_array :
  72. {
  73. PROVIDE(__init_array_start = .);
  74. KEEP(*(SORT(.init_array.*)))
  75. KEEP(*(.init_array*))
  76. PROVIDE(__init_array_end = .);
  77. } > FLASH
  78.  
  79. .fini_array :
  80. {
  81. PROVIDE(__fini_array_start = .);
  82. KEEP(*(.fini_array*))
  83. KEEP(*(SORT(.fini_array.*)))
  84. PROVIDE(__fini_array_end = .);
  85. } > FLASH
  86.  
  87. .firmware_header :
  88. {
  89. . = ALIGN(4);
  90. KEEP(*(.firmware_header))
  91. . = ALIGN(4);
  92. } > FLASH
  93.  
  94. . = ALIGN(4);
  95. _sidata = .;
  96.  
  97. .data : AT(_sidata)
  98. {
  99. . = ALIGN(4);
  100. _sdata = .;
  101.  
  102. PROVIDE(__data_start__ = _sdata);
  103. *(.data)
  104. *(.data*)
  105. . = ALIGN(4);
  106. _edata = .;
  107.  
  108. PROVIDE(__data_end__ = _edata);
  109. } > SRAM
  110.  
  111. .bss :
  112. {
  113. . = ALIGN(4);
  114. _sbss = .;
  115.  
  116. PROVIDE(__bss_start__ = _sbss);
  117. *(.bss)
  118. *(.bss*)
  119. *(COMMON)
  120. . = ALIGN(4);
  121. _ebss = .;
  122.  
  123. PROVIDE(__bss_end__ = _ebss);
  124. } > SRAM
  125.  
  126. PROVIDE(end = .);
  127.  
  128. .heap (NOLOAD) :
  129. {
  130. . = ALIGN(4);
  131. PROVIDE(__heap_start__ = .);
  132. KEEP(*(.heap))
  133. . = ALIGN(4);
  134. PROVIDE(__heap_end__ = .);
  135. } > SRAM
  136.  
  137. .reserved_for_stack (NOLOAD) :
  138. {
  139. . = ALIGN(4);
  140. PROVIDE(__reserved_for_stack_start__ = .);
  141. KEEP(*(.reserved_for_stack))
  142. . = ALIGN(4);
  143. PROVIDE(__reserved_for_stack_end__ = .);
  144. } > SRAM
  145.  
  146. .battery_backed_sram (NOLOAD) :
  147. {
  148. . = ALIGN(4);
  149. KEEP(*(.battery_backed_sram))
  150. . = ALIGN(4);
  151. } > BKPSRAM
  152.  
  153. /DISCARD/ :
  154. {
  155. *(.ARM.attributes)
  156. }
  157. }
  158.  
  159. ELF Header:
  160. Magic: 7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00
  161. Class: ELF32
  162. Data: 2's complement, little endian
  163. Version: 1 (current)
  164. OS/ABI: UNIX - System V
  165. ABI Version: 0
  166. Type: EXEC (Executable file)
  167. Machine: ARM
  168. Version: 0x1
  169. Entry point address: 0x8027c11
  170. Start of program headers: 52 (bytes into file)
  171. Start of section headers: 339928 (bytes into file)
  172. Flags: 0x5000400, Version5 EABI, hard-float ABI
  173. Size of this header: 52 (bytes)
  174. Size of program headers: 32 (bytes)
  175. Number of program headers: 3
  176. Size of section headers: 40 (bytes)
  177. Number of section headers: 25
  178. Section header string table index: 24
  179.  
  180. Section Headers:
  181. [Nr] Name Type Addr Off Size ES Flg Lk Inf Al
  182. [ 0] NULL 00000000 000000 000000 00 0 0 0
  183. [ 1] .isr_vector PROGBITS 08020000 010000 0001f8 00 WA 0 0 4
  184. [ 2] .firmware_header_ PROGBITS 080201f8 0101f8 000004 00 WA 0 0 4
  185. [ 3] .text PROGBITS 08020200 010200 021b44 00 AX 0 0 64
  186. [ 4] .ARM.extab PROGBITS 08041d44 043a68 000000 00 W 0 0 1
  187. [ 5] .exidx ARM_EXIDX 08041d44 031d44 000008 00 AL 3 0 4
  188. [ 6] .init_array INIT_ARRAY 08041d4c 031d4c 000008 04 WA 0 0 4
  189. [ 7] .fini_array FINI_ARRAY 08041d54 031d54 000004 04 WA 0 0 4
  190. [ 8] .firmware_header PROGBITS 08041d58 031d58 000008 00 WA 0 0 4
  191. [ 9] .data PROGBITS 20000000 040000 0009c8 00 WA 0 0 8
  192. [10] .RxDecripSection PROGBITS 200009c8 0409c8 000080 00 WA 0 0 4
  193. [11] .RxarraySection PROGBITS 20000a48 040a48 0017d0 00 WA 0 0 4
  194. [12] .TxDescripSection PROGBITS 20002218 042218 000080 00 WA 0 0 4
  195. [13] .TxarraySection PROGBITS 20002298 042298 0017d0 00 WA 0 0 4
  196. [14] .bss NOBITS 20003a68 043a68 045da4 00 WA 0 0 4
  197. [15] .heap PROGBITS 2004980c 043a68 000000 00 W 0 0 1
  198. [16] .reserved_for_sta PROGBITS 2004980c 043a68 000000 00 W 0 0 1
  199. [17] .battery_backed_s NOBITS 40024000 044000 00000c 00 WA 0 0 4
  200. [18] .comment PROGBITS 00000000 043a68 000075 01 MS 0 0 1
  201. [19] .debug_frame PROGBITS 00000000 043ae0 00144c 00 0 0 4
  202. [20] .stab PROGBITS 00000000 044f2c 000084 0c 21 0 4
  203. [21] .stabstr STRTAB 00000000 044fb0 000117 00 0 0 1
  204. [22] .symtab SYMTAB 00000000 0450c8 009b30 10 23 1790 4
  205. [23] .strtab STRTAB 00000000 04ebf8 0042bb 00 0 0 1
  206. [24] .shstrtab STRTAB 00000000 052eb3 000122 00 0 0 1
  207. Key to Flags:
  208. W (write), A (alloc), X (execute), M (merge), S (strings), I (info),
  209. L (link order), O (extra OS processing required), G (group), T (TLS),
  210. C (compressed), x (unknown), o (OS specific), E (exclude),
  211. y (purecode), p (processor specific)
  212.  
  213. There are no section groups in this file.
  214.  
  215. Program Headers:
  216. Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align
  217. LOAD 0x010000 0x08020000 0x08020000 0x21d60 0x21d60 RWE 0x10000
  218. LOAD 0x040000 0x20000000 0x08041d60 0x03a68 0x4980c RW 0x10000
  219. LOAD 0x044000 0x40024000 0x40024000 0x00000 0x0000c RW 0x10000
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement