Skip to content

Instantly share code, notes, and snippets.

@posborne
Last active September 1, 2015 17:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save posborne/01e937e4021c815466f7 to your computer and use it in GitHub Desktop.
Save posborne/01e937e4021c815466f7 to your computer and use it in GitHub Desktop.
Zinc Debug ELF Files
✘ ⚙  (env)  posborne@povm  ~/Projects/rust-playground/zinc/examples/empty   pwm-support-squashed ●  arm-none-eabi-size -A -d target/thumbv7m-none-eabi/debug/empty pwm-support-squashed [afd7fb0] modified untracked
target/thumbv7m-none-eabi/debug/empty :
section size addr
.data 0 268435456
.vector 204 0
.debug_gdb_scripts 34 204
.text 1164 240
.bss 8 268435456
.ARM.attributes 45 0
.debug_str 966614 0
.debug_abbrev 2082 0
.debug_info 853988 0
.debug_ranges 106152 0
.debug_pubnames 171986 0
.debug_pubtypes 170636 0
.debug_frame 260288 0
.debug_line 313151 0
Total 2846352
⚙  (env)  posborne@povm  ~/Projects/rust-playground/zinc/examples/empty   pwm-support-squashed ●  arm-none-eabi-nm --print-size --size-sort --radix=d target/thumbv7m-none-eabi/debug/empty | arm-none-eabi-c++filt
00000782 00000004 T __aeabi_unwind_cpp_pr0
00000782 00000004 T __aeabi_unwind_cpp_pr1
00000782 00000004 T __aeabi_unwind_cpp_pr2
00000792 00000006 t util::support::abort::__rust_abi
00001396 00000008 t const46726
00000782 00000010 T abort
00000764 00000018 t hal::isr::isr_cortex_m3::isr_handler_wrapper::__rust_abi
00001312 00000020 t panic_loc3322
00001344 00000020 t panic_loc3325
00001376 00000020 t panic_loc3327
00000736 00000028 T hal::stack::set_stack_limit::hce9b0f51b8cd5d09drs
00000456 00000028 t start::h1a728362648a848euaa
00000798 00000030 T rust_begin_unwind
00001216 00000031 t str3319
00000204 00000034 V __rustc_debug_gdb_scripts_section__
00000000 00000064 R ISRVectors
00001248 00000064 t str3321
00001142 00000072 T fmt::Arguments$LT$$u27$a$GT$::new_v1::h8510c3ac03f1d3c8A3Q
00000828 00000126 T panicking::panic::hc179ecda25134b78g6E
00000064 00000140 R NVICVectors
00000954 00000188 T panicking::panic_fmt::hd63abdc307a924e1J7E
00000240 00000216 t run::h7a738e43714f7950iaa
00000484 00000252 T main
This file has been truncated, but you can view the full file.
View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment