dfort

Cygwin Magic Lantern tcc build issue-2

May 28th, 2017
184
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. Dan@Laptop-PC ~
  3. $ cd magic-lantern/tcc/
  4.  
  5. Dan@Laptop-PC ~/magic-lantern/tcc
  6. $ cat localsyms
  7.  
  8.  
  9. $a
  10. $d
  11. .LC63
  12. __aeabi_d2iz
  13. __aeabi_dcmplt
  14. __aeabi_ddiv
  15. __aeabi_i2d
  16. __aeabi_l2d
  17. __aeabi_uidivmod
  18. __mem_free
  19. __mem_malloc
  20. _tcc_close
  21. _tcc_exit
  22. _tcc_lseek
  23. _tcc_open
  24. _tcc_read
  25. add_elf_sym
  26. add_init_array_defines
  27. alloc_sym_attr
  28. anon_sym
  29. arm-gen.c
  30. asm_global_instr
  31. asm_instr
  32. atoi
  33. bss_section
  34. build_got
  35. build_got_entries
  36. ch
  37. char_pointer_type
  38. const_wanted
  39. copy_linker_arg
  40. cstr_cat
  41. cstr_ccat
  42. cstr_free
  43. cstr_new
  44. cstr_realloc
  45. cstr_wccat
  46. cur_text_section
  47. data_section
  48. define_stack
  49. dlclose
  50. dlerror
  51. dlopen
  52. dynarray_add
  53. dynarray_reset
  54. elf_hash
  55. error1
  56. file
  57. fill_got
  58. fill_got_entry
  59. find_elf_sym
  60. find_section
  61. flag_defs
  62. func_ind
  63. func_old_type
  64. func_vc
  65. func_vt
  66. funcname
  67. get_elf_sym_addr
  68. get_plt_got_size_for_relocate_section
  69. global_expr
  70. global_label_stack
  71. global_stack
  72. gnu_ext
  73. ind
  74. int_type
  75. last_ind
  76. last_line_num
  77. libtcc.c
  78. link_option
  79. load_data
  80. loc
  81. local_label_stack
  82. local_stack
  83. longjmp
  84. macro_ptr
  85. memcmp
  86. memcpy
  87. memset
  88. Name
  89. nb_sym_pools
  90. new_section
  91. new_symtab
  92. new_undef_sym
  93. nocode_wanted
  94. parse_flags
  95. parse_option_D.isra.4
  96. patch_dynsym_undef
  97. printf
  98. pstrcat
  99. pstrcpy
  100. pstrncpy
  101. put_elf_reloc
  102. put_elf_str
  103. put_elf_sym
  104. put_stabd
  105. put_stabn
  106. put_stabs
  107. put_stabs_r
  108. puts
  109. reg_classes
  110. relocate_common_syms
  111. relocate_section
  112. relocate_syms
  113. resolve_sym
  114. rsym
  115. rt_bound_error_msg
  116. rt_num_callers
  117. rt_prog_main
  118. scope_stack_bottom
  119. section_ptr_add
  120. section_realloc
  121. section_reserve
  122. set_flag
  123. size_type
  124. skip_linker_arg
  125. snprintf
  126. stab_section
  127. stabstr_section
  128. strcat_printf.constprop.8
  129. strchr
  130. strcmp
  131. strcpy
  132. strlen
  133. strncmp
  134. strrchr
  135. strtab_section
  136. strtoul
  137. strtoull
  138. sym_free_first
  139. sym_pools
  140. symtab_section
  141. table_ident
  142. tcc_add_bcheck
  143. tcc_add_crt
  144. tcc_add_dll
  145. tcc_add_file
  146. tcc_add_file_internal
  147. tcc_add_include_path
  148. tcc_add_library
  149. tcc_add_library_internal
  150. tcc_add_library_path
  151. tcc_add_linker_symbols
  152. tcc_add_runtime
  153. tcc_add_symbol
  154. tcc_add_sysinclude_path
  155. tcc_basename
  156. tcc_cleanup
  157. tcc_close
  158. tcc_compile_string
  159. tcc_define_symbol
  160. tcc_delete
  161. tcc_error
  162. tcc_error_noabort
  163. tcc_ext
  164. tcc_fileextension
  165. tcc_free
  166. tcc_get_section_ptr
  167. tcc_get_symbol
  168. tcc_get_symbol_err
  169. tcc_load_archive
  170. tcc_load_dll
  171. tcc_load_ldscript
  172. tcc_load_object_file
  173. tcc_load_offline_section
  174. tcc_malloc
  175. tcc_mallocz
  176. tcc_memstats
  177. tcc_new
  178. tcc_open
  179. tcc_open_bf
  180. tcc_options
  181. tcc_output_file
  182. tcc_parse_args
  183. tcc_print_stats
  184. tcc_realloc
  185. tcc_relocate
  186. tcc_relocate_ex
  187. tcc_run
  188. tcc_set_error_func
  189. tcc_set_lib_path
  190. tcc_set_num_callers
  191. tcc_set_options
  192. tcc_set_output_type
  193. tcc_split_path.isra.3
  194. tcc_state
  195. tcc_strdup
  196. tcc_syms
  197. tcc_undefine_symbol
  198. tcc_warning
  199. tccasm.c
  200. tccelf.c
  201. tccgen.c
  202. tccpp.c
  203. tccrun.c
  204. text_section
  205. tok
  206. tok_flags
  207. tok_ident
  208. tokc
  209. tokcstr
  210. total_bytes
  211. total_lines
  212. vsnprintf
  213. warning_defs
  214.  
  215. Dan@Laptop-PC ~/magic-lantern/tcc
  216. $ ~/gcc-arm-none-eabi-4_8-2013q4/bin/arm-none-eabi-readelf libtcctmp.o -Ws
  217.  
  218. Symbol table '.symtab' contains 316 entries:
  219. Num: Value Size Type Bind Vis Ndx Name
  220. 0: 00000000 0 NOTYPE LOCAL DEFAULT UND
  221. 1: 00000000 0 SECTION LOCAL DEFAULT 1
  222. 2: 00000000 0 SECTION LOCAL DEFAULT 3
  223. 3: 00000000 0 SECTION LOCAL DEFAULT 5
  224. 4: 00000000 0 SECTION LOCAL DEFAULT 6
  225. 5: 00000000 0 SECTION LOCAL DEFAULT 8
  226. 6: 00000000 0 SECTION LOCAL DEFAULT 9
  227. 7: 00000000 0 SECTION LOCAL DEFAULT 10
  228. 8: 00000000 0 FILE LOCAL DEFAULT ABS libtcc.c
  229. 9: 00000000 0 NOTYPE LOCAL DEFAULT 1 $a
  230. 10: 00000000 144 FUNC LOCAL DEFAULT 1 link_option
  231. 11: 00000090 68 FUNC LOCAL DEFAULT 1 skip_linker_arg
  232. 12: 000000d4 64 FUNC LOCAL DEFAULT 1 strcat_printf.constprop.8
  233. 13: 00000114 584 FUNC LOCAL DEFAULT 1 error1
  234. 14: 0000032c 0 NOTYPE LOCAL DEFAULT 1 $d
  235. 15: 0000035c 0 NOTYPE LOCAL DEFAULT 1 $a
  236. 16: 000004b0 160 FUNC LOCAL DEFAULT 1 tcc_cleanup
  237. 17: 00000530 0 NOTYPE LOCAL DEFAULT 1 $d
  238. 18: 00000550 0 NOTYPE LOCAL DEFAULT 1 $a
  239. 19: 00000590 0 NOTYPE LOCAL DEFAULT 1 $d
  240. 20: 00000594 0 NOTYPE LOCAL DEFAULT 1 $a
  241. 21: 000005e8 0 NOTYPE LOCAL DEFAULT 1 $d
  242. 22: 000005ec 0 NOTYPE LOCAL DEFAULT 1 $a
  243. 23: 000005f4 0 NOTYPE LOCAL DEFAULT 1 $d
  244. 24: 000005f8 0 NOTYPE LOCAL DEFAULT 1 $a
  245. 25: 00000600 0 NOTYPE LOCAL DEFAULT 1 $d
  246. 26: 00000604 0 NOTYPE LOCAL DEFAULT 1 $a
  247. 27: 00000648 0 NOTYPE LOCAL DEFAULT 1 $d
  248. 28: 00000650 0 NOTYPE LOCAL DEFAULT 1 $a
  249. 29: 0000069c 44 FUNC LOCAL DEFAULT 1 parse_option_D.isra.4
  250. 30: 000006c8 64 FUNC LOCAL DEFAULT 1 copy_linker_arg
  251. 31: 00000764 0 NOTYPE LOCAL DEFAULT 1 $d
  252. 32: 00000768 0 NOTYPE LOCAL DEFAULT 1 $a
  253. 33: 00000860 0 NOTYPE LOCAL DEFAULT 1 $d
  254. 34: 00000864 0 NOTYPE LOCAL DEFAULT 1 $a
  255. 35: 000008c8 188 FUNC LOCAL DEFAULT 1 tcc_split_path.isra.3
  256. 36: 00000a74 0 NOTYPE LOCAL DEFAULT 1 $d
  257. 37: 00000a78 0 NOTYPE LOCAL DEFAULT 1 $a
  258. 38: 00000b0c 0 NOTYPE LOCAL DEFAULT 1 $d
  259. 39: 00000b10 0 NOTYPE LOCAL DEFAULT 1 $a
  260. 40: 00000b58 0 NOTYPE LOCAL DEFAULT 1 $d
  261. 41: 00000b60 0 NOTYPE LOCAL DEFAULT 1 $a
  262. 42: 00000c24 0 NOTYPE LOCAL DEFAULT 1 $d
  263. 43: 00000c40 0 NOTYPE LOCAL DEFAULT 1 $a
  264. 44: 00000fbc 0 NOTYPE LOCAL DEFAULT 1 $d
  265. 45: 00000fe0 0 NOTYPE LOCAL DEFAULT 1 $a
  266. 46: 00000fe0 124 FUNC LOCAL DEFAULT 1 tcc_add_library_internal
  267. 47: 0000112c 0 NOTYPE LOCAL DEFAULT 1 $d
  268. 48: 00001130 0 NOTYPE LOCAL DEFAULT 1 $a
  269. 49: 00001178 0 NOTYPE LOCAL DEFAULT 1 $d
  270. 50: 00001180 0 NOTYPE LOCAL DEFAULT 1 $a
  271. 51: 000011f8 0 NOTYPE LOCAL DEFAULT 1 $d
  272. 52: 000011fc 0 NOTYPE LOCAL DEFAULT 1 $a
  273. 53: 0000123c 0 NOTYPE LOCAL DEFAULT 1 $d
  274. 54: 00001244 0 NOTYPE LOCAL DEFAULT 1 $a
  275. 55: 00001320 0 NOTYPE LOCAL DEFAULT 1 $d
  276. 56: 00001340 0 NOTYPE LOCAL DEFAULT 1 $a
  277. 57: 000014bc 0 NOTYPE LOCAL DEFAULT 1 $d
  278. 58: 00001508 0 NOTYPE LOCAL DEFAULT 1 $a
  279. 59: 000017e4 0 NOTYPE LOCAL DEFAULT 1 $d
  280. 60: 00001880 0 NOTYPE LOCAL DEFAULT 1 $a
  281. 61: 00001da8 0 NOTYPE LOCAL DEFAULT 1 $d
  282. 62: 00001e0c 0 NOTYPE LOCAL DEFAULT 1 $a
  283. 63: 00001ee0 0 NOTYPE LOCAL DEFAULT 1 $d
  284. 64: 00000000 0 NOTYPE LOCAL DEFAULT 3 $d
  285. 65: 0000000c 328 OBJECT LOCAL DEFAULT 3 tcc_options
  286. 66: 00000154 32 OBJECT LOCAL DEFAULT 3 flag_defs
  287. 67: 00000174 32 OBJECT LOCAL DEFAULT 3 warning_defs
  288. 68: 0000028b 0 NOTYPE LOCAL DEFAULT 5 .LC63
  289. 69: 00000000 0 NOTYPE LOCAL DEFAULT 6 $d
  290. 70: 00000000 0 FILE LOCAL DEFAULT ABS tccpp.c
  291. 71: 00001efc 0 NOTYPE LOCAL DEFAULT 1 $a
  292. 72: 00001efc 60 FUNC LOCAL DEFAULT 1 cstr_realloc
  293. 73: 00000000 0 FILE LOCAL DEFAULT ABS tccgen.c
  294. 74: 00000000 0 FILE LOCAL DEFAULT ABS tccelf.c
  295. 75: 0000200c 0 NOTYPE LOCAL DEFAULT 1 $a
  296. 76: 0000200c 44 FUNC LOCAL DEFAULT 1 elf_hash
  297. 77: 00002038 100 FUNC LOCAL DEFAULT 1 alloc_sym_attr
  298. 78: 0000209c 72 FUNC LOCAL DEFAULT 1 load_data
  299. 79: 00002398 0 NOTYPE LOCAL DEFAULT 1 $d
  300. 80: 0000239c 0 NOTYPE LOCAL DEFAULT 1 $a
  301. 81: 00002520 0 NOTYPE LOCAL DEFAULT 1 $d
  302. 82: 00002530 0 NOTYPE LOCAL DEFAULT 1 $a
  303. 83: 00002530 172 FUNC LOCAL DEFAULT 1 build_got
  304. 84: 000025d0 0 NOTYPE LOCAL DEFAULT 1 $d
  305. 85: 000025dc 0 NOTYPE LOCAL DEFAULT 1 $a
  306. 86: 000025dc 208 FUNC LOCAL DEFAULT 1 add_init_array_defines
  307. 87: 0000269c 0 NOTYPE LOCAL DEFAULT 1 $d
  308. 88: 000026ac 0 NOTYPE LOCAL DEFAULT 1 $a
  309. 89: 0000273c 0 NOTYPE LOCAL DEFAULT 1 $d
  310. 90: 00002744 0 NOTYPE LOCAL DEFAULT 1 $a
  311. 91: 000027a8 0 NOTYPE LOCAL DEFAULT 1 $d
  312. 92: 000027b0 0 NOTYPE LOCAL DEFAULT 1 $a
  313. 93: 000027f0 0 NOTYPE LOCAL DEFAULT 1 $d
  314. 94: 000027f8 0 NOTYPE LOCAL DEFAULT 1 $a
  315. 95: 000028d4 0 NOTYPE LOCAL DEFAULT 1 $d
  316. 96: 000028e0 0 NOTYPE LOCAL DEFAULT 1 $a
  317. 97: 000029fc 0 NOTYPE LOCAL DEFAULT 1 $d
  318. 98: 00002a0c 0 NOTYPE LOCAL DEFAULT 1 $a
  319. 99: 00002a90 0 NOTYPE LOCAL DEFAULT 1 $d
  320. 100: 00002b50 0 NOTYPE LOCAL DEFAULT 1 $a
  321. 101: 00002ee8 0 NOTYPE LOCAL DEFAULT 1 $d
  322. 102: 00002efc 0 NOTYPE LOCAL DEFAULT 1 $a
  323. 103: 00002fcc 0 NOTYPE LOCAL DEFAULT 1 $d
  324. 104: 00002fd0 0 NOTYPE LOCAL DEFAULT 1 $a
  325. 105: 00003308 0 NOTYPE LOCAL DEFAULT 1 $d
  326. 106: 00003310 0 NOTYPE LOCAL DEFAULT 1 $a
  327. 107: 000033d0 0 NOTYPE LOCAL DEFAULT 1 $d
  328. 108: 000033d4 0 NOTYPE LOCAL DEFAULT 1 $a
  329. 109: 00003410 0 NOTYPE LOCAL DEFAULT 1 $d
  330. 110: 00003418 0 NOTYPE LOCAL DEFAULT 1 $a
  331. 111: 000035d8 0 NOTYPE LOCAL DEFAULT 1 $d
  332. 112: 00003608 0 NOTYPE LOCAL DEFAULT 1 $a
  333. 113: 000036b4 0 NOTYPE LOCAL DEFAULT 1 $d
  334. 114: 000036b8 0 NOTYPE LOCAL DEFAULT 1 $a
  335. 115: 0000374c 0 NOTYPE LOCAL DEFAULT 1 $d
  336. 116: 00003750 0 NOTYPE LOCAL DEFAULT 1 $a
  337. 117: 00003e28 0 NOTYPE LOCAL DEFAULT 1 $d
  338. 118: 00003e50 0 NOTYPE LOCAL DEFAULT 1 $a
  339. 119: 00003f90 0 NOTYPE LOCAL DEFAULT 1 $d
  340. 120: 00000000 0 NOTYPE LOCAL DEFAULT 8 $d
  341. 121: 00000000 4 OBJECT LOCAL DEFAULT 8 new_undef_sym
  342. 122: 00000000 0 FILE LOCAL DEFAULT ABS tccasm.c
  343. 123: 00000000 0 FILE LOCAL DEFAULT ABS tccrun.c
  344. 124: 00003f98 0 NOTYPE LOCAL DEFAULT 1 $a
  345. 125: 00003f98 440 FUNC LOCAL DEFAULT 1 tcc_relocate_ex
  346. 126: 0000414c 0 NOTYPE LOCAL DEFAULT 1 $d
  347. 127: 00004150 0 NOTYPE LOCAL DEFAULT 1 $a
  348. 128: 000041f0 0 NOTYPE LOCAL DEFAULT 1 $d
  349. 129: 000041f8 0 NOTYPE LOCAL DEFAULT 1 $a
  350. 130: 00004204 0 NOTYPE LOCAL DEFAULT 1 $d
  351. 131: 00004208 0 NOTYPE LOCAL DEFAULT 1 $a
  352. 132: 0000421c 0 NOTYPE LOCAL DEFAULT 1 $d
  353. 133: 00004220 0 NOTYPE LOCAL DEFAULT 1 $a
  354. 134: 0000425c 0 NOTYPE LOCAL DEFAULT 1 $d
  355. 135: 00000008 0 NOTYPE LOCAL DEFAULT 6 $d
  356. 136: 0000000c 16 OBJECT LOCAL DEFAULT 6 tcc_syms
  357. 137: 00000000 0 FILE LOCAL DEFAULT ABS arm-gen.c
  358. 138: 00000194 0 NOTYPE LOCAL DEFAULT 3 $d
  359. 139: 00000000 0 FILE LOCAL DEFAULT ABS
  360. 140: 00000000 0 NOTYPE LOCAL DEFAULT 5 $d
  361. 141: 0000044b 0 NOTYPE LOCAL DEFAULT 5 $d
  362. 142: 00000638 0 NOTYPE LOCAL DEFAULT 5 $d
  363. 143: 00000000 0 NOTYPE GLOBAL DEFAULT UND longjmp
  364. 144: 00000004 4 OBJECT GLOBAL DEFAULT COM local_stack
  365. 145: 00000c4c 340 FUNC GLOBAL DEFAULT 1 tcc_delete
  366. 146: 00000000 0 NOTYPE GLOBAL DEFAULT UND strcpy
  367. 147: 00002fd0 832 FUNC GLOBAL DEFAULT 1 build_got_entries
  368. 148: 00000604 76 FUNC GLOBAL DEFAULT 1 tcc_malloc
  369. 149: 0000285c 132 FUNC GLOBAL DEFAULT 1 relocate_common_syms
  370. 150: 00004214 12 FUNC GLOBAL DEFAULT 1 dlerror
  371. 151: 00000000 0 NOTYPE GLOBAL DEFAULT UND printf
  372. 152: 00003758 1784 FUNC GLOBAL DEFAULT 1 tcc_load_object_file
  373. 153: 0000035c 60 FUNC GLOBAL DEFAULT 1 pstrcpy
  374. 154: 00000004 4 OBJECT GLOBAL DEFAULT COM nocode_wanted
  375. 155: 00000000 0 NOTYPE GLOBAL DEFAULT UND __mem_free
  376. 156: 00000000 0 NOTYPE GLOBAL DEFAULT UND _tcc_open
  377. 157: 00000000 0 NOTYPE GLOBAL DEFAULT UND snprintf
  378. 158: 0000045c 4 FUNC GLOBAL DEFAULT 1 tcc_memstats
  379. 159: 00000004 4 OBJECT GLOBAL DEFAULT COM funcname
  380. 160: 000033d8 64 FUNC GLOBAL DEFAULT 1 tcc_add_runtime
  381. 161: 00000004 4 OBJECT GLOBAL DEFAULT COM last_line_num
  382. 162: 00000004 4 OBJECT GLOBAL DEFAULT COM scope_stack_bottom
  383. 163: 00000000 4 OBJECT GLOBAL DEFAULT 6 tcc_ext
  384. 164: 00003418 496 FUNC GLOBAL DEFAULT 1 tcc_add_linker_symbols
  385. 165: 00000004 4 OBJECT GLOBAL DEFAULT COM func_vc
  386. 166: 00000004 8 OBJECT GLOBAL DEFAULT COM func_vt
  387. 167: 000009d8 52 FUNC GLOBAL DEFAULT 1 section_ptr_add
  388. 168: 00000004 4 OBJECT GLOBAL DEFAULT COM macro_ptr
  389. 169: 00000000 0 NOTYPE GLOBAL DEFAULT UND memcpy
  390. 170: 00000000 0 NOTYPE GLOBAL DEFAULT UND puts
  391. 171: 00004150 64 FUNC GLOBAL DEFAULT 1 tcc_relocate
  392. 172: 000041f8 16 FUNC GLOBAL DEFAULT 1 tcc_set_num_callers
  393. 173: 00002744 108 FUNC GLOBAL DEFAULT 1 put_stabs
  394. 174: 00000004 4 OBJECT GLOBAL DEFAULT COM table_ident
  395. 175: 00000004 4 OBJECT GLOBAL DEFAULT COM local_label_stack
  396. 176: 00004220 64 FUNC GLOBAL DEFAULT 1 resolve_sym
  397. 177: 00000000 0 NOTYPE GLOBAL DEFAULT UND vsnprintf
  398. 178: 000007b8 172 FUNC GLOBAL DEFAULT 1 new_section
  399. 179: 000023a4 8 FUNC GLOBAL DEFAULT 1 tcc_get_symbol_err
  400. 180: 00000004 4 OBJECT GLOBAL DEFAULT COM global_expr
  401. 181: 00000000 0 NOTYPE GLOBAL DEFAULT UND strtoul
  402. 182: 00000000 0 NOTYPE GLOBAL DEFAULT UND _tcc_exit
  403. 183: 00001368 416 FUNC GLOBAL DEFAULT 1 tcc_new
  404. 184: 00000004 4 OBJECT GLOBAL DEFAULT COM global_stack
  405. 185: 00000004 4 OBJECT GLOBAL DEFAULT COM global_label_stack
  406. 186: 00000004 4 OBJECT GLOBAL DEFAULT COM rt_bound_error_msg
  407. 187: 00000000 0 NOTYPE GLOBAL DEFAULT UND __aeabi_dcmplt
  408. 188: 00000004 4 OBJECT GLOBAL DEFAULT COM tcc_state
  409. 189: 00000000 0 NOTYPE GLOBAL DEFAULT UND __aeabi_ddiv
  410. 190: 000005ec 12 FUNC GLOBAL DEFAULT 1 asm_instr
  411. 191: 00002124 412 FUNC GLOBAL DEFAULT 1 put_elf_sym
  412. 192: 00003e58 8 FUNC GLOBAL DEFAULT 1 tcc_load_dll
  413. 193: 00004210 4 FUNC GLOBAL DEFAULT 1 dlclose
  414. 194: 00003608 56 FUNC GLOBAL DEFAULT 1 patch_dynsym_undef
  415. 195: 00000a0c 44 FUNC GLOBAL DEFAULT 1 section_reserve
  416. 196: 00001fd8 24 FUNC GLOBAL DEFAULT 1 cstr_new
  417. 197: 00000004 4 OBJECT GLOBAL DEFAULT COM rt_prog_main
  418. 198: 000033d4 4 FUNC GLOBAL DEFAULT 1 tcc_add_bcheck
  419. 199: 000015a8 224 FUNC GLOBAL DEFAULT 1 tcc_set_options
  420. 200: 00000004 4 OBJECT GLOBAL DEFAULT COM stab_section
  421. 201: 00000c48 4 FUNC GLOBAL DEFAULT 1 tcc_undefine_symbol
  422. 202: 000036b8 152 FUNC GLOBAL DEFAULT 1 fill_got
  423. 203: 00000000 0 NOTYPE GLOBAL DEFAULT UND strrchr
  424. 204: 00000004 4 OBJECT GLOBAL DEFAULT COM tok_flags
  425. 205: 00000004 4 OBJECT GLOBAL DEFAULT COM anon_sym
  426. 206: 0000233c 96 FUNC GLOBAL DEFAULT 1 get_elf_sym_addr
  427. 207: 00003310 196 FUNC GLOBAL DEFAULT 1 new_symtab
  428. 208: 00000004 4 OBJECT GLOBAL DEFAULT COM ind
  429. 209: 00000004 4 OBJECT GLOBAL DEFAULT COM file
  430. 210: 00000c44 4 FUNC GLOBAL DEFAULT 1 tcc_define_symbol
  431. 211: 00000a38 64 FUNC GLOBAL DEFAULT 1 tcc_warning
  432. 212: 00000dc8 40 FUNC GLOBAL DEFAULT 1 tcc_add_sysinclude_path
  433. 213: 000027b0 72 FUNC GLOBAL DEFAULT 1 put_stabs_r
  434. 214: 00000004 4 OBJECT GLOBAL DEFAULT COM total_lines
  435. 215: 00000650 40 FUNC GLOBAL DEFAULT 1 tcc_mallocz
  436. 216: 00000678 36 FUNC GLOBAL DEFAULT 1 tcc_strdup
  437. 217: 000003d0 28 FUNC GLOBAL DEFAULT 1 pstrncpy
  438. 218: 00000004 16 OBJECT GLOBAL DEFAULT COM tokcstr
  439. 219: 00000008 8 OBJECT GLOBAL DEFAULT COM tokc
  440. 220: 000020e4 64 FUNC GLOBAL DEFAULT 1 put_elf_str
  441. 221: 00000000 0 NOTYPE GLOBAL DEFAULT UND strncmp
  442. 222: 00004208 8 FUNC GLOBAL DEFAULT 1 dlopen
  443. 223: 00001688 1924 FUNC GLOBAL DEFAULT 1 tcc_parse_args
  444. 224: 00000460 80 FUNC GLOBAL DEFAULT 1 dynarray_reset
  445. 225: 00003e68 304 FUNC GLOBAL DEFAULT 1 tcc_load_offline_section
  446. 226: 00003750 8 FUNC GLOBAL DEFAULT 1 tcc_output_file
  447. 227: 00000004 4 OBJECT GLOBAL DEFAULT COM parse_flags
  448. 228: 00000000 0 NOTYPE GLOBAL DEFAULT UND __aeabi_i2d
  449. 229: 00000000 0 NOTYPE GLOBAL DEFAULT UND __mem_malloc
  450. 230: 00002a0c 1264 FUNC GLOBAL DEFAULT 1 relocate_section
  451. 231: 00000000 0 NOTYPE GLOBAL DEFAULT UND memcmp
  452. 232: 000003ec 48 FUNC GLOBAL DEFAULT 1 tcc_basename
  453. 233: 00000768 80 FUNC GLOBAL DEFAULT 1 dynarray_add
  454. 234: 00000004 4 OBJECT GLOBAL DEFAULT COM cur_text_section
  455. 235: 00000000 0 NOTYPE GLOBAL DEFAULT UND _tcc_lseek
  456. 236: 0000105c 20 FUNC GLOBAL DEFAULT 1 tcc_add_file
  457. 237: 00000000 0 NOTYPE GLOBAL DEFAULT UND strtoull
  458. 238: 00000000 0 NOTYPE GLOBAL DEFAULT UND memset
  459. 239: 00000004 4 OBJECT GLOBAL DEFAULT COM total_bytes
  460. 240: 00001f38 60 FUNC GLOBAL DEFAULT 1 cstr_ccat
  461. 241: 0000041c 44 FUNC GLOBAL DEFAULT 1 tcc_fileextension
  462. 242: 00003e50 8 FUNC GLOBAL DEFAULT 1 tcc_load_archive
  463. 243: 000027f8 52 FUNC GLOBAL DEFAULT 1 put_stabn
  464. 244: 00000004 4 OBJECT GLOBAL DEFAULT COM loc
  465. 245: 00000000 0 NOTYPE GLOBAL DEFAULT UND __aeabi_l2d
  466. 246: 00000004 4 OBJECT GLOBAL DEFAULT COM bss_section
  467. 247: 00001fa0 56 FUNC GLOBAL DEFAULT 1 cstr_wccat
  468. 248: 0000239c 8 FUNC GLOBAL DEFAULT 1 tcc_get_symbol
  469. 249: 00001340 40 FUNC GLOBAL DEFAULT 1 tcc_set_lib_path
  470. 250: 00000a78 152 FUNC GLOBAL DEFAULT 1 tcc_open_bf
  471. 251: 00000004 4 OBJECT GLOBAL DEFAULT COM symtab_section
  472. 252: 00000da0 40 FUNC GLOBAL DEFAULT 1 tcc_add_include_path
  473. 253: 00000b10 80 FUNC GLOBAL DEFAULT 1 tcc_close
  474. 254: 00000000 0 NOTYPE GLOBAL DEFAULT UND strcmp
  475. 255: 000023ac 388 FUNC GLOBAL DEFAULT 1 add_elf_sym
  476. 256: 00000004 4 OBJECT GLOBAL DEFAULT COM stabstr_section
  477. 257: 00000194 36 OBJECT GLOBAL DEFAULT 3 reg_classes
  478. 258: 00001180 124 FUNC GLOBAL DEFAULT 1 tcc_add_library
  479. 259: 00004190 104 FUNC GLOBAL DEFAULT 1 tcc_run
  480. 260: 00000004 4 OBJECT GLOBAL DEFAULT COM text_section
  481. 261: 00001f74 44 FUNC GLOBAL DEFAULT 1 cstr_cat
  482. 262: 00000004 4 OBJECT GLOBAL DEFAULT COM data_section
  483. 263: 00000708 96 FUNC GLOBAL DEFAULT 1 tcc_realloc
  484. 264: 00000df0 496 FUNC GLOBAL DEFAULT 1 tcc_add_file_internal
  485. 265: 00002efc 212 FUNC GLOBAL DEFAULT 1 get_plt_got_size_for_relocate_section
  486. 266: 00000398 56 FUNC GLOBAL DEFAULT 1 pstrcat
  487. 267: 0000282c 48 FUNC GLOBAL DEFAULT 1 put_stabd
  488. 268: 00000004 4 OBJECT GLOBAL DEFAULT 6 gnu_ext
  489. 269: 00000000 0 NOTYPE GLOBAL DEFAULT UND _tcc_close
  490. 270: 00003640 120 FUNC GLOBAL DEFAULT 1 fill_got_entry
  491. 271: 00001098 96 FUNC GLOBAL DEFAULT 1 tcc_get_section_ptr
  492. 272: 00000008 4 OBJECT GLOBAL DEFAULT 6 rt_num_callers
  493. 273: 00000004 4 OBJECT GLOBAL DEFAULT COM sym_free_first
  494. 274: 00001130 80 FUNC GLOBAL DEFAULT 1 tcc_add_crt
  495. 275: 00000000 0 NOTYPE GLOBAL DEFAULT UND __aeabi_uidivmod
  496. 276: 00000984 84 FUNC GLOBAL DEFAULT 1 section_realloc
  497. 277: 000011fc 72 FUNC GLOBAL DEFAULT 1 tcc_add_symbol
  498. 278: 00001244 252 FUNC GLOBAL DEFAULT 1 tcc_set_output_type
  499. 279: 00000000 0 NOTYPE GLOBAL DEFAULT UND _tcc_read
  500. 280: 00003e60 8 FUNC GLOBAL DEFAULT 1 tcc_load_ldscript
  501. 281: 00000b60 224 FUNC GLOBAL DEFAULT 1 tcc_open
  502. 282: 00000004 4 OBJECT GLOBAL DEFAULT COM strtab_section
  503. 283: 00000004 4 OBJECT GLOBAL DEFAULT COM const_wanted
  504. 284: 000005f8 12 FUNC GLOBAL DEFAULT 1 asm_global_instr
  505. 285: 000028e0 300 FUNC GLOBAL DEFAULT 1 relocate_syms
  506. 286: 00000004 4 OBJECT GLOBAL DEFAULT COM tok_ident
  507. 287: 00000000 0 NOTYPE GLOBAL DEFAULT UND __aeabi_d2iz
  508. 288: 00000004 4 OBJECT GLOBAL DEFAULT COM last_ind
  509. 289: 00000000 0 NOTYPE GLOBAL DEFAULT UND atoi
  510. 290: 00000004 4 OBJECT GLOBAL DEFAULT COM func_ind
  511. 291: 00001e0c 240 FUNC GLOBAL DEFAULT 1 tcc_print_stats
  512. 292: 00000004 4 OBJECT GLOBAL DEFAULT COM ch
  513. 293: 00001ff0 28 FUNC GLOBAL DEFAULT 1 cstr_free
  514. 294: 00000000 0 NOTYPE GLOBAL DEFAULT UND strlen
  515. 295: 0000055c 56 FUNC GLOBAL DEFAULT 1 tcc_error_noabort
  516. 296: 00000c40 4 FUNC GLOBAL DEFAULT 1 tcc_compile_string
  517. 297: 00000004 8 OBJECT GLOBAL DEFAULT COM size_type
  518. 298: 00000550 12 FUNC GLOBAL DEFAULT 1 tcc_set_error_func
  519. 299: 00000004 4 OBJECT GLOBAL DEFAULT COM sym_pools
  520. 300: 00000000 0 NOTYPE GLOBAL DEFAULT UND strchr
  521. 301: 00001508 160 FUNC GLOBAL DEFAULT 1 set_flag
  522. 302: 00000004 4 OBJECT GLOBAL DEFAULT COM nb_sym_pools
  523. 303: 00000004 4 OBJECT GLOBAL DEFAULT COM tok
  524. 304: 00000448 20 FUNC GLOBAL DEFAULT 1 tcc_free
  525. 305: 00001070 40 FUNC GLOBAL DEFAULT 1 tcc_add_library_path
  526. 306: 00000004 8 OBJECT GLOBAL DEFAULT COM func_old_type
  527. 307: 00000004 4 OBJECT GLOBAL DEFAULT COM rsym
  528. 308: 00000594 88 FUNC GLOBAL DEFAULT 1 tcc_error
  529. 309: 000026ac 152 FUNC GLOBAL DEFAULT 1 put_elf_reloc
  530. 310: 000022c0 124 FUNC GLOBAL DEFAULT 1 find_elf_sym
  531. 311: 000010f8 56 FUNC GLOBAL DEFAULT 1 tcc_add_dll
  532. 312: 00000004 8 OBJECT GLOBAL DEFAULT COM int_type
  533. 313: 00000004 4 OBJECT GLOBAL DEFAULT COM define_stack
  534. 314: 00000004 8 OBJECT GLOBAL DEFAULT COM char_pointer_type
  535. 315: 00000864 100 FUNC GLOBAL DEFAULT 1 find_section
  536.  
  537. Dan@Laptop-PC ~/magic-lantern/tcc
  538. $ ~/gcc-arm-none-eabi-4_8-2013q4/bin/arm-none-eabi-readelf libtcctmp.o -Ws
  539.  
  540. Symbol table '.symtab' contains 316 entries:
  541. Num: Value Size Type Bind Vis Ndx Name
  542. 0: 00000000 0 NOTYPE LOCAL DEFAULT UND
  543. 1: 00000000 0 SECTION LOCAL DEFAULT 1
  544. 2: 00000000 0 SECTION LOCAL DEFAULT 3
  545. 3: 00000000 0 SECTION LOCAL DEFAULT 5
  546. 4: 00000000 0 SECTION LOCAL DEFAULT 6
  547. 5: 00000000 0 SECTION LOCAL DEFAULT 8
  548. 6: 00000000 0 SECTION LOCAL DEFAULT 9
  549. 7: 00000000 0 SECTION LOCAL DEFAULT 10
  550. 8: 00000000 0 FILE LOCAL DEFAULT ABS libtcc.c
  551. 9: 00000000 0 NOTYPE LOCAL DEFAULT 1 $a
  552. 10: 00000000 144 FUNC LOCAL DEFAULT 1 link_option
  553. 11: 00000090 68 FUNC LOCAL DEFAULT 1 skip_linker_arg
  554. 12: 000000d4 64 FUNC LOCAL DEFAULT 1 strcat_printf.constprop.8
  555. 13: 00000114 584 FUNC LOCAL DEFAULT 1 error1
  556. 14: 0000032c 0 NOTYPE LOCAL DEFAULT 1 $d
  557. 15: 0000035c 0 NOTYPE LOCAL DEFAULT 1 $a
  558. 16: 000004b0 160 FUNC LOCAL DEFAULT 1 tcc_cleanup
  559. 17: 00000530 0 NOTYPE LOCAL DEFAULT 1 $d
  560. 18: 00000550 0 NOTYPE LOCAL DEFAULT 1 $a
  561. 19: 00000590 0 NOTYPE LOCAL DEFAULT 1 $d
  562. 20: 00000594 0 NOTYPE LOCAL DEFAULT 1 $a
  563. 21: 000005e8 0 NOTYPE LOCAL DEFAULT 1 $d
  564. 22: 000005ec 0 NOTYPE LOCAL DEFAULT 1 $a
  565. 23: 000005f4 0 NOTYPE LOCAL DEFAULT 1 $d
  566. 24: 000005f8 0 NOTYPE LOCAL DEFAULT 1 $a
  567. 25: 00000600 0 NOTYPE LOCAL DEFAULT 1 $d
  568. 26: 00000604 0 NOTYPE LOCAL DEFAULT 1 $a
  569. 27: 00000648 0 NOTYPE LOCAL DEFAULT 1 $d
  570. 28: 00000650 0 NOTYPE LOCAL DEFAULT 1 $a
  571. 29: 0000069c 44 FUNC LOCAL DEFAULT 1 parse_option_D.isra.4
  572. 30: 000006c8 64 FUNC LOCAL DEFAULT 1 copy_linker_arg
  573. 31: 00000764 0 NOTYPE LOCAL DEFAULT 1 $d
  574. 32: 00000768 0 NOTYPE LOCAL DEFAULT 1 $a
  575. 33: 00000860 0 NOTYPE LOCAL DEFAULT 1 $d
  576. 34: 00000864 0 NOTYPE LOCAL DEFAULT 1 $a
  577. 35: 000008c8 188 FUNC LOCAL DEFAULT 1 tcc_split_path.isra.3
  578. 36: 00000a74 0 NOTYPE LOCAL DEFAULT 1 $d
  579. 37: 00000a78 0 NOTYPE LOCAL DEFAULT 1 $a
  580. 38: 00000b0c 0 NOTYPE LOCAL DEFAULT 1 $d
  581. 39: 00000b10 0 NOTYPE LOCAL DEFAULT 1 $a
  582. 40: 00000b58 0 NOTYPE LOCAL DEFAULT 1 $d
  583. 41: 00000b60 0 NOTYPE LOCAL DEFAULT 1 $a
  584. 42: 00000c24 0 NOTYPE LOCAL DEFAULT 1 $d
  585. 43: 00000c40 0 NOTYPE LOCAL DEFAULT 1 $a
  586. 44: 00000fbc 0 NOTYPE LOCAL DEFAULT 1 $d
  587. 45: 00000fe0 0 NOTYPE LOCAL DEFAULT 1 $a
  588. 46: 00000fe0 124 FUNC LOCAL DEFAULT 1 tcc_add_library_internal
  589. 47: 0000112c 0 NOTYPE LOCAL DEFAULT 1 $d
  590. 48: 00001130 0 NOTYPE LOCAL DEFAULT 1 $a
  591. 49: 00001178 0 NOTYPE LOCAL DEFAULT 1 $d
  592. 50: 00001180 0 NOTYPE LOCAL DEFAULT 1 $a
  593. 51: 000011f8 0 NOTYPE LOCAL DEFAULT 1 $d
  594. 52: 000011fc 0 NOTYPE LOCAL DEFAULT 1 $a
  595. 53: 0000123c 0 NOTYPE LOCAL DEFAULT 1 $d
  596. 54: 00001244 0 NOTYPE LOCAL DEFAULT 1 $a
  597. 55: 00001320 0 NOTYPE LOCAL DEFAULT 1 $d
  598. 56: 00001340 0 NOTYPE LOCAL DEFAULT 1 $a
  599. 57: 000014bc 0 NOTYPE LOCAL DEFAULT 1 $d
  600. 58: 00001508 0 NOTYPE LOCAL DEFAULT 1 $a
  601. 59: 000017e4 0 NOTYPE LOCAL DEFAULT 1 $d
  602. 60: 00001880 0 NOTYPE LOCAL DEFAULT 1 $a
  603. 61: 00001da8 0 NOTYPE LOCAL DEFAULT 1 $d
  604. 62: 00001e0c 0 NOTYPE LOCAL DEFAULT 1 $a
  605. 63: 00001ee0 0 NOTYPE LOCAL DEFAULT 1 $d
  606. 64: 00000000 0 NOTYPE LOCAL DEFAULT 3 $d
  607. 65: 0000000c 328 OBJECT LOCAL DEFAULT 3 tcc_options
  608. 66: 00000154 32 OBJECT LOCAL DEFAULT 3 flag_defs
  609. 67: 00000174 32 OBJECT LOCAL DEFAULT 3 warning_defs
  610. 68: 0000028b 0 NOTYPE LOCAL DEFAULT 5 .LC63
  611. 69: 00000000 0 NOTYPE LOCAL DEFAULT 6 $d
  612. 70: 00000000 0 FILE LOCAL DEFAULT ABS tccpp.c
  613. 71: 00001efc 0 NOTYPE LOCAL DEFAULT 1 $a
  614. 72: 00001efc 60 FUNC LOCAL DEFAULT 1 cstr_realloc
  615. 73: 00000000 0 FILE LOCAL DEFAULT ABS tccgen.c
  616. 74: 00000000 0 FILE LOCAL DEFAULT ABS tccelf.c
  617. 75: 0000200c 0 NOTYPE LOCAL DEFAULT 1 $a
  618. 76: 0000200c 44 FUNC LOCAL DEFAULT 1 elf_hash
  619. 77: 00002038 100 FUNC LOCAL DEFAULT 1 alloc_sym_attr
  620. 78: 0000209c 72 FUNC LOCAL DEFAULT 1 load_data
  621. 79: 00002398 0 NOTYPE LOCAL DEFAULT 1 $d
  622. 80: 0000239c 0 NOTYPE LOCAL DEFAULT 1 $a
  623. 81: 00002520 0 NOTYPE LOCAL DEFAULT 1 $d
  624. 82: 00002530 0 NOTYPE LOCAL DEFAULT 1 $a
  625. 83: 00002530 172 FUNC LOCAL DEFAULT 1 build_got
  626. 84: 000025d0 0 NOTYPE LOCAL DEFAULT 1 $d
  627. 85: 000025dc 0 NOTYPE LOCAL DEFAULT 1 $a
  628. 86: 000025dc 208 FUNC LOCAL DEFAULT 1 add_init_array_defines
  629. 87: 0000269c 0 NOTYPE LOCAL DEFAULT 1 $d
  630. 88: 000026ac 0 NOTYPE LOCAL DEFAULT 1 $a
  631. 89: 0000273c 0 NOTYPE LOCAL DEFAULT 1 $d
  632. 90: 00002744 0 NOTYPE LOCAL DEFAULT 1 $a
  633. 91: 000027a8 0 NOTYPE LOCAL DEFAULT 1 $d
  634. 92: 000027b0 0 NOTYPE LOCAL DEFAULT 1 $a
  635. 93: 000027f0 0 NOTYPE LOCAL DEFAULT 1 $d
  636. 94: 000027f8 0 NOTYPE LOCAL DEFAULT 1 $a
  637. 95: 000028d4 0 NOTYPE LOCAL DEFAULT 1 $d
  638. 96: 000028e0 0 NOTYPE LOCAL DEFAULT 1 $a
  639. 97: 000029fc 0 NOTYPE LOCAL DEFAULT 1 $d
  640. 98: 00002a0c 0 NOTYPE LOCAL DEFAULT 1 $a
  641. 99: 00002a90 0 NOTYPE LOCAL DEFAULT 1 $d
  642. 100: 00002b50 0 NOTYPE LOCAL DEFAULT 1 $a
  643. 101: 00002ee8 0 NOTYPE LOCAL DEFAULT 1 $d
  644. 102: 00002efc 0 NOTYPE LOCAL DEFAULT 1 $a
  645. 103: 00002fcc 0 NOTYPE LOCAL DEFAULT 1 $d
  646. 104: 00002fd0 0 NOTYPE LOCAL DEFAULT 1 $a
  647. 105: 00003308 0 NOTYPE LOCAL DEFAULT 1 $d
  648. 106: 00003310 0 NOTYPE LOCAL DEFAULT 1 $a
  649. 107: 000033d0 0 NOTYPE LOCAL DEFAULT 1 $d
  650. 108: 000033d4 0 NOTYPE LOCAL DEFAULT 1 $a
  651. 109: 00003410 0 NOTYPE LOCAL DEFAULT 1 $d
  652. 110: 00003418 0 NOTYPE LOCAL DEFAULT 1 $a
  653. 111: 000035d8 0 NOTYPE LOCAL DEFAULT 1 $d
  654. 112: 00003608 0 NOTYPE LOCAL DEFAULT 1 $a
  655. 113: 000036b4 0 NOTYPE LOCAL DEFAULT 1 $d
  656. 114: 000036b8 0 NOTYPE LOCAL DEFAULT 1 $a
  657. 115: 0000374c 0 NOTYPE LOCAL DEFAULT 1 $d
  658. 116: 00003750 0 NOTYPE LOCAL DEFAULT 1 $a
  659. 117: 00003e28 0 NOTYPE LOCAL DEFAULT 1 $d
  660. 118: 00003e50 0 NOTYPE LOCAL DEFAULT 1 $a
  661. 119: 00003f90 0 NOTYPE LOCAL DEFAULT 1 $d
  662. 120: 00000000 0 NOTYPE LOCAL DEFAULT 8 $d
  663. 121: 00000000 4 OBJECT LOCAL DEFAULT 8 new_undef_sym
  664. 122: 00000000 0 FILE LOCAL DEFAULT ABS tccasm.c
  665. 123: 00000000 0 FILE LOCAL DEFAULT ABS tccrun.c
  666. 124: 00003f98 0 NOTYPE LOCAL DEFAULT 1 $a
  667. 125: 00003f98 440 FUNC LOCAL DEFAULT 1 tcc_relocate_ex
  668. 126: 0000414c 0 NOTYPE LOCAL DEFAULT 1 $d
  669. 127: 00004150 0 NOTYPE LOCAL DEFAULT 1 $a
  670. 128: 000041f0 0 NOTYPE LOCAL DEFAULT 1 $d
  671. 129: 000041f8 0 NOTYPE LOCAL DEFAULT 1 $a
  672. 130: 00004204 0 NOTYPE LOCAL DEFAULT 1 $d
  673. 131: 00004208 0 NOTYPE LOCAL DEFAULT 1 $a
  674. 132: 0000421c 0 NOTYPE LOCAL DEFAULT 1 $d
  675. 133: 00004220 0 NOTYPE LOCAL DEFAULT 1 $a
  676. 134: 0000425c 0 NOTYPE LOCAL DEFAULT 1 $d
  677. 135: 00000008 0 NOTYPE LOCAL DEFAULT 6 $d
  678. 136: 0000000c 16 OBJECT LOCAL DEFAULT 6 tcc_syms
  679. 137: 00000000 0 FILE LOCAL DEFAULT ABS arm-gen.c
  680. 138: 00000194 0 NOTYPE LOCAL DEFAULT 3 $d
  681. 139: 00000000 0 FILE LOCAL DEFAULT ABS
  682. 140: 00000000 0 NOTYPE LOCAL DEFAULT 5 $d
  683. 141: 0000044b 0 NOTYPE LOCAL DEFAULT 5 $d
  684. 142: 00000638 0 NOTYPE LOCAL DEFAULT 5 $d
  685. 143: 00000000 0 NOTYPE GLOBAL DEFAULT UND longjmp
  686. 144: 00000004 4 OBJECT GLOBAL DEFAULT COM local_stack
  687. 145: 00000c4c 340 FUNC GLOBAL DEFAULT 1 tcc_delete
  688. 146: 00000000 0 NOTYPE GLOBAL DEFAULT UND strcpy
  689. 147: 00002fd0 832 FUNC GLOBAL DEFAULT 1 build_got_entries
  690. 148: 00000604 76 FUNC GLOBAL DEFAULT 1 tcc_malloc
  691. 149: 0000285c 132 FUNC GLOBAL DEFAULT 1 relocate_common_syms
  692. 150: 00004214 12 FUNC GLOBAL DEFAULT 1 dlerror
  693. 151: 00000000 0 NOTYPE GLOBAL DEFAULT UND printf
  694. 152: 00003758 1784 FUNC GLOBAL DEFAULT 1 tcc_load_object_file
  695. 153: 0000035c 60 FUNC GLOBAL DEFAULT 1 pstrcpy
  696. 154: 00000004 4 OBJECT GLOBAL DEFAULT COM nocode_wanted
  697. 155: 00000000 0 NOTYPE GLOBAL DEFAULT UND __mem_free
  698. 156: 00000000 0 NOTYPE GLOBAL DEFAULT UND _tcc_open
  699. 157: 00000000 0 NOTYPE GLOBAL DEFAULT UND snprintf
  700. 158: 0000045c 4 FUNC GLOBAL DEFAULT 1 tcc_memstats
  701. 159: 00000004 4 OBJECT GLOBAL DEFAULT COM funcname
  702. 160: 000033d8 64 FUNC GLOBAL DEFAULT 1 tcc_add_runtime
  703. 161: 00000004 4 OBJECT GLOBAL DEFAULT COM last_line_num
  704. 162: 00000004 4 OBJECT GLOBAL DEFAULT COM scope_stack_bottom
  705. 163: 00000000 4 OBJECT GLOBAL DEFAULT 6 tcc_ext
  706. 164: 00003418 496 FUNC GLOBAL DEFAULT 1 tcc_add_linker_symbols
  707. 165: 00000004 4 OBJECT GLOBAL DEFAULT COM func_vc
  708. 166: 00000004 8 OBJECT GLOBAL DEFAULT COM func_vt
  709. 167: 000009d8 52 FUNC GLOBAL DEFAULT 1 section_ptr_add
  710. 168: 00000004 4 OBJECT GLOBAL DEFAULT COM macro_ptr
  711. 169: 00000000 0 NOTYPE GLOBAL DEFAULT UND memcpy
  712. 170: 00000000 0 NOTYPE GLOBAL DEFAULT UND puts
  713. 171: 00004150 64 FUNC GLOBAL DEFAULT 1 tcc_relocate
  714. 172: 000041f8 16 FUNC GLOBAL DEFAULT 1 tcc_set_num_callers
  715. 173: 00002744 108 FUNC GLOBAL DEFAULT 1 put_stabs
  716. 174: 00000004 4 OBJECT GLOBAL DEFAULT COM table_ident
  717. 175: 00000004 4 OBJECT GLOBAL DEFAULT COM local_label_stack
  718. 176: 00004220 64 FUNC GLOBAL DEFAULT 1 resolve_sym
  719. 177: 00000000 0 NOTYPE GLOBAL DEFAULT UND vsnprintf
  720. 178: 000007b8 172 FUNC GLOBAL DEFAULT 1 new_section
  721. 179: 000023a4 8 FUNC GLOBAL DEFAULT 1 tcc_get_symbol_err
  722. 180: 00000004 4 OBJECT GLOBAL DEFAULT COM global_expr
  723. 181: 00000000 0 NOTYPE GLOBAL DEFAULT UND strtoul
  724. 182: 00000000 0 NOTYPE GLOBAL DEFAULT UND _tcc_exit
  725. 183: 00001368 416 FUNC GLOBAL DEFAULT 1 tcc_new
  726. 184: 00000004 4 OBJECT GLOBAL DEFAULT COM global_stack
  727. 185: 00000004 4 OBJECT GLOBAL DEFAULT COM global_label_stack
  728. 186: 00000004 4 OBJECT GLOBAL DEFAULT COM rt_bound_error_msg
  729. 187: 00000000 0 NOTYPE GLOBAL DEFAULT UND __aeabi_dcmplt
  730. 188: 00000004 4 OBJECT GLOBAL DEFAULT COM tcc_state
  731. 189: 00000000 0 NOTYPE GLOBAL DEFAULT UND __aeabi_ddiv
  732. 190: 000005ec 12 FUNC GLOBAL DEFAULT 1 asm_instr
  733. 191: 00002124 412 FUNC GLOBAL DEFAULT 1 put_elf_sym
  734. 192: 00003e58 8 FUNC GLOBAL DEFAULT 1 tcc_load_dll
  735. 193: 00004210 4 FUNC GLOBAL DEFAULT 1 dlclose
  736. 194: 00003608 56 FUNC GLOBAL DEFAULT 1 patch_dynsym_undef
  737. 195: 00000a0c 44 FUNC GLOBAL DEFAULT 1 section_reserve
  738. 196: 00001fd8 24 FUNC GLOBAL DEFAULT 1 cstr_new
  739. 197: 00000004 4 OBJECT GLOBAL DEFAULT COM rt_prog_main
  740. 198: 000033d4 4 FUNC GLOBAL DEFAULT 1 tcc_add_bcheck
  741. 199: 000015a8 224 FUNC GLOBAL DEFAULT 1 tcc_set_options
  742. 200: 00000004 4 OBJECT GLOBAL DEFAULT COM stab_section
  743. 201: 00000c48 4 FUNC GLOBAL DEFAULT 1 tcc_undefine_symbol
  744. 202: 000036b8 152 FUNC GLOBAL DEFAULT 1 fill_got
  745. 203: 00000000 0 NOTYPE GLOBAL DEFAULT UND strrchr
  746. 204: 00000004 4 OBJECT GLOBAL DEFAULT COM tok_flags
  747. 205: 00000004 4 OBJECT GLOBAL DEFAULT COM anon_sym
  748. 206: 0000233c 96 FUNC GLOBAL DEFAULT 1 get_elf_sym_addr
  749. 207: 00003310 196 FUNC GLOBAL DEFAULT 1 new_symtab
  750. 208: 00000004 4 OBJECT GLOBAL DEFAULT COM ind
  751. 209: 00000004 4 OBJECT GLOBAL DEFAULT COM file
  752. 210: 00000c44 4 FUNC GLOBAL DEFAULT 1 tcc_define_symbol
  753. 211: 00000a38 64 FUNC GLOBAL DEFAULT 1 tcc_warning
  754. 212: 00000dc8 40 FUNC GLOBAL DEFAULT 1 tcc_add_sysinclude_path
  755. 213: 000027b0 72 FUNC GLOBAL DEFAULT 1 put_stabs_r
  756. 214: 00000004 4 OBJECT GLOBAL DEFAULT COM total_lines
  757. 215: 00000650 40 FUNC GLOBAL DEFAULT 1 tcc_mallocz
  758. 216: 00000678 36 FUNC GLOBAL DEFAULT 1 tcc_strdup
  759. 217: 000003d0 28 FUNC GLOBAL DEFAULT 1 pstrncpy
  760. 218: 00000004 16 OBJECT GLOBAL DEFAULT COM tokcstr
  761. 219: 00000008 8 OBJECT GLOBAL DEFAULT COM tokc
  762. 220: 000020e4 64 FUNC GLOBAL DEFAULT 1 put_elf_str
  763. 221: 00000000 0 NOTYPE GLOBAL DEFAULT UND strncmp
  764. 222: 00004208 8 FUNC GLOBAL DEFAULT 1 dlopen
  765. 223: 00001688 1924 FUNC GLOBAL DEFAULT 1 tcc_parse_args
  766. 224: 00000460 80 FUNC GLOBAL DEFAULT 1 dynarray_reset
  767. 225: 00003e68 304 FUNC GLOBAL DEFAULT 1 tcc_load_offline_section
  768. 226: 00003750 8 FUNC GLOBAL DEFAULT 1 tcc_output_file
  769. 227: 00000004 4 OBJECT GLOBAL DEFAULT COM parse_flags
  770. 228: 00000000 0 NOTYPE GLOBAL DEFAULT UND __aeabi_i2d
  771. 229: 00000000 0 NOTYPE GLOBAL DEFAULT UND __mem_malloc
  772. 230: 00002a0c 1264 FUNC GLOBAL DEFAULT 1 relocate_section
  773. 231: 00000000 0 NOTYPE GLOBAL DEFAULT UND memcmp
  774. 232: 000003ec 48 FUNC GLOBAL DEFAULT 1 tcc_basename
  775. 233: 00000768 80 FUNC GLOBAL DEFAULT 1 dynarray_add
  776. 234: 00000004 4 OBJECT GLOBAL DEFAULT COM cur_text_section
  777. 235: 00000000 0 NOTYPE GLOBAL DEFAULT UND _tcc_lseek
  778. 236: 0000105c 20 FUNC GLOBAL DEFAULT 1 tcc_add_file
  779. 237: 00000000 0 NOTYPE GLOBAL DEFAULT UND strtoull
  780. 238: 00000000 0 NOTYPE GLOBAL DEFAULT UND memset
  781. 239: 00000004 4 OBJECT GLOBAL DEFAULT COM total_bytes
  782. 240: 00001f38 60 FUNC GLOBAL DEFAULT 1 cstr_ccat
  783. 241: 0000041c 44 FUNC GLOBAL DEFAULT 1 tcc_fileextension
  784. 242: 00003e50 8 FUNC GLOBAL DEFAULT 1 tcc_load_archive
  785. 243: 000027f8 52 FUNC GLOBAL DEFAULT 1 put_stabn
  786. 244: 00000004 4 OBJECT GLOBAL DEFAULT COM loc
  787. 245: 00000000 0 NOTYPE GLOBAL DEFAULT UND __aeabi_l2d
  788. 246: 00000004 4 OBJECT GLOBAL DEFAULT COM bss_section
  789. 247: 00001fa0 56 FUNC GLOBAL DEFAULT 1 cstr_wccat
  790. 248: 0000239c 8 FUNC GLOBAL DEFAULT 1 tcc_get_symbol
  791. 249: 00001340 40 FUNC GLOBAL DEFAULT 1 tcc_set_lib_path
  792. 250: 00000a78 152 FUNC GLOBAL DEFAULT 1 tcc_open_bf
  793. 251: 00000004 4 OBJECT GLOBAL DEFAULT COM symtab_section
  794. 252: 00000da0 40 FUNC GLOBAL DEFAULT 1 tcc_add_include_path
  795. 253: 00000b10 80 FUNC GLOBAL DEFAULT 1 tcc_close
  796. 254: 00000000 0 NOTYPE GLOBAL DEFAULT UND strcmp
  797. 255: 000023ac 388 FUNC GLOBAL DEFAULT 1 add_elf_sym
  798. 256: 00000004 4 OBJECT GLOBAL DEFAULT COM stabstr_section
  799. 257: 00000194 36 OBJECT GLOBAL DEFAULT 3 reg_classes
  800. 258: 00001180 124 FUNC GLOBAL DEFAULT 1 tcc_add_library
  801. 259: 00004190 104 FUNC GLOBAL DEFAULT 1 tcc_run
  802. 260: 00000004 4 OBJECT GLOBAL DEFAULT COM text_section
  803. 261: 00001f74 44 FUNC GLOBAL DEFAULT 1 cstr_cat
  804. 262: 00000004 4 OBJECT GLOBAL DEFAULT COM data_section
  805. 263: 00000708 96 FUNC GLOBAL DEFAULT 1 tcc_realloc
  806. 264: 00000df0 496 FUNC GLOBAL DEFAULT 1 tcc_add_file_internal
  807. 265: 00002efc 212 FUNC GLOBAL DEFAULT 1 get_plt_got_size_for_relocate_section
  808. 266: 00000398 56 FUNC GLOBAL DEFAULT 1 pstrcat
  809. 267: 0000282c 48 FUNC GLOBAL DEFAULT 1 put_stabd
  810. 268: 00000004 4 OBJECT GLOBAL DEFAULT 6 gnu_ext
  811. 269: 00000000 0 NOTYPE GLOBAL DEFAULT UND _tcc_close
  812. 270: 00003640 120 FUNC GLOBAL DEFAULT 1 fill_got_entry
  813. 271: 00001098 96 FUNC GLOBAL DEFAULT 1 tcc_get_section_ptr
  814. 272: 00000008 4 OBJECT GLOBAL DEFAULT 6 rt_num_callers
  815. 273: 00000004 4 OBJECT GLOBAL DEFAULT COM sym_free_first
  816. 274: 00001130 80 FUNC GLOBAL DEFAULT 1 tcc_add_crt
  817. 275: 00000000 0 NOTYPE GLOBAL DEFAULT UND __aeabi_uidivmod
  818. 276: 00000984 84 FUNC GLOBAL DEFAULT 1 section_realloc
  819. 277: 000011fc 72 FUNC GLOBAL DEFAULT 1 tcc_add_symbol
  820. 278: 00001244 252 FUNC GLOBAL DEFAULT 1 tcc_set_output_type
  821. 279: 00000000 0 NOTYPE GLOBAL DEFAULT UND _tcc_read
  822. 280: 00003e60 8 FUNC GLOBAL DEFAULT 1 tcc_load_ldscript
  823. 281: 00000b60 224 FUNC GLOBAL DEFAULT 1 tcc_open
  824. 282: 00000004 4 OBJECT GLOBAL DEFAULT COM strtab_section
  825. 283: 00000004 4 OBJECT GLOBAL DEFAULT COM const_wanted
  826. 284: 000005f8 12 FUNC GLOBAL DEFAULT 1 asm_global_instr
  827. 285: 000028e0 300 FUNC GLOBAL DEFAULT 1 relocate_syms
  828. 286: 00000004 4 OBJECT GLOBAL DEFAULT COM tok_ident
  829. 287: 00000000 0 NOTYPE GLOBAL DEFAULT UND __aeabi_d2iz
  830. 288: 00000004 4 OBJECT GLOBAL DEFAULT COM last_ind
  831. 289: 00000000 0 NOTYPE GLOBAL DEFAULT UND atoi
  832. 290: 00000004 4 OBJECT GLOBAL DEFAULT COM func_ind
  833. 291: 00001e0c 240 FUNC GLOBAL DEFAULT 1 tcc_print_stats
  834. 292: 00000004 4 OBJECT GLOBAL DEFAULT COM ch
  835. 293: 00001ff0 28 FUNC GLOBAL DEFAULT 1 cstr_free
  836. 294: 00000000 0 NOTYPE GLOBAL DEFAULT UND strlen
  837. 295: 0000055c 56 FUNC GLOBAL DEFAULT 1 tcc_error_noabort
  838. 296: 00000c40 4 FUNC GLOBAL DEFAULT 1 tcc_compile_string
  839. 297: 00000004 8 OBJECT GLOBAL DEFAULT COM size_type
  840. 298: 00000550 12 FUNC GLOBAL DEFAULT 1 tcc_set_error_func
  841. 299: 00000004 4 OBJECT GLOBAL DEFAULT COM sym_pools
  842. 300: 00000000 0 NOTYPE GLOBAL DEFAULT UND strchr
  843. 301: 00001508 160 FUNC GLOBAL DEFAULT 1 set_flag
  844. 302: 00000004 4 OBJECT GLOBAL DEFAULT COM nb_sym_pools
  845. 303: 00000004 4 OBJECT GLOBAL DEFAULT COM tok
  846. 304: 00000448 20 FUNC GLOBAL DEFAULT 1 tcc_free
  847. 305: 00001070 40 FUNC GLOBAL DEFAULT 1 tcc_add_library_path
  848. 306: 00000004 8 OBJECT GLOBAL DEFAULT COM func_old_type
  849. 307: 00000004 4 OBJECT GLOBAL DEFAULT COM rsym
  850. 308: 00000594 88 FUNC GLOBAL DEFAULT 1 tcc_error
  851. 309: 000026ac 152 FUNC GLOBAL DEFAULT 1 put_elf_reloc
  852. 310: 000022c0 124 FUNC GLOBAL DEFAULT 1 find_elf_sym
  853. 311: 000010f8 56 FUNC GLOBAL DEFAULT 1 tcc_add_dll
  854. 312: 00000004 8 OBJECT GLOBAL DEFAULT COM int_type
  855. 313: 00000004 4 OBJECT GLOBAL DEFAULT COM define_stack
  856. 314: 00000004 8 OBJECT GLOBAL DEFAULT COM char_pointer_type
  857. 315: 00000864 100 FUNC GLOBAL DEFAULT 1 find_section
  858.  
  859. Dan@Laptop-PC ~/magic-lantern/tcc
  860. $
RAW Paste Data