ELF Stats

/home/frank/work/zpro/zephyrproject/build/zephyr/zephyr.stat
ELF Header:
  Magic:   7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00 
  Class:                             ELF32
  Data:                              2's complement, little endian
  Version:                           1 (current)
  OS/ABI:                            UNIX - System V
  ABI Version:                       0
  Type:                              EXEC (Executable file)
  Machine:                           RISC-V
  Version:                           0x1
  Entry point address:               0x403813c6
  Start of program headers:          52 (bytes into file)
  Start of section headers:          2972476 (bytes into file)
  Flags:                             0x1, RVC, soft-float ABI
  Size of this header:               52 (bytes)
  Size of program headers:           32 (bytes)
  Number of program headers:         14
  Size of section headers:           40 (bytes)
  Number of section headers:         56
  Section header string table index: 55

Section Headers:
  [Nr] Name              Type            Addr     Off    Size   ES Flg Lk Inf Al
  [ 0]                   NULL            00000000 000000 000000 00      0   0  0
  [ 1] .rtc.text         PROGBITS        50000000 01fce8 000000 00   W  0   0  1
  [ 2] .rtc.force_fast   PROGBITS        50000000 01fce8 000000 00   W  0   0  1
  [ 3] .rtc.data         PROGBITS        50000000 01fce8 000000 00   W  0   0  1
  [ 4] .rtc_noinit       PROGBITS        50000000 01fce8 000000 00   W  0   0  1
  [ 5] .rtc.force_slow   PROGBITS        50000000 0001f4 000024 00  WA  0   0  4
  [ 6] .iram0.text       PROGBITS        40380000 000300 009a5c 00  AX  0   0 256
  [ 7] .loader.text      PROGBITS        40389a5c 009d5c 0004d4 00  AX  0   0  2
  [ 8] .iram0.text_end   PROGBITS        40389f30 01fce8 000000 00   W  0   0  1
  [ 9] .iram0.data       PROGBITS        40389f30 01fce8 000000 00   W  0   0  1
  [10] .iram0.bss        PROGBITS        40389f30 01fce8 000000 00   W  0   0  1
  [11] .dram0.dummy      NOBITS          3fc80000 01fce8 009f40 00  WA  0   0  1
  [12] .dram0.data       PROGBITS        3fc89f40 00a230 001388 00  WA  0   0  8
  [13] .loader.data      PROGBITS        3fc8b2c8 00b5b8 000328 00   A  0   0  4
  [14] sw_isr_table      PROGBITS        3fc8b5f0 00b8e0 000100 00  WA  0   0  4
  [15] device_states     PROGBITS        3fc8b6f0 00b9e0 000008 00  WA  0   0  1
  [16] log_mpsc_pbu[...] PROGBITS        3fc8b6f8 00b9e8 000038 00  WA  0   0  4
  [17] log_msg_ptr_area  PROGBITS        3fc8b730 00ba20 000004 00  WA  0   0  4
  [18] log_dynamic_area  PROGBITS        3fc8b734 00ba24 000038 00  WA  0   0  4
  [19] k_timer_area      PROGBITS        3fc8b770 00ba60 000038 00  WA  0   0  8
  [20] k_heap_area       PROGBITS        3fc8b7a8 00ba98 000028 00  WA  0   0  4
  [21] k_sem_area        PROGBITS        3fc8b7d0 00bac0 000010 00  WA  0   0  4
  [22] log_const_area    PROGBITS        3fc8b7e0 00bad0 000070 00   A  0   0  4
  [23] log_backend_area  PROGBITS        3fc8b850 00bb40 000010 00   A  0   0  4
  [24] .dram0.end        PROGBITS        3fc8b860 01fce8 000000 00   W  0   0  1
  [25] .dram0.noinit     NOBITS          3fc8b860 00bb50 003344 00  WA  0   0 16
  [26] .dram0.bss        NOBITS          3fc8eba8 00bb50 001428 00  WA  0   0  8
  [27] .text_dummy       NOBITS          0000b874 00bb50 00478c 00  WA  0   0  1
  [28] .text             PROGBITS        42000000 010000 00be30 00 WAX  0   0 65536
  [29] .flash.dummy      NOBITS          0001be30 01be30 0041d0 00  WA  0   0  1
  [30] .flash.rodat[...] NOBITS          3c000000 01fce8 010000 00  WA  0   0  1
  [31] .flash.rodata     PROGBITS        3c010000 01be30 003ad8 00   A  0   0 16
  [32] initlevel         PROGBITS        3c013ad8 01f908 000060 00   A  0   0  4
  [33] device_area       PROGBITS        3c013b38 01f968 000080 00   A  0   0  4
  [34] gpio_driver_[...] PROGBITS        3c013bb8 01f9e8 000024 00   A  0   0  4
  [35] clock_contro[...] PROGBITS        3c013bdc 01fa0c 00001c 00   A  0   0  4
  [36] uart_driver_[...] PROGBITS        3c013bf8 01fa28 000098 00   A  0   0  4
  [37] shell_area        PROGBITS        3c013c90 01fac0 000030 00   A  0   0  4
  [38] shell_root_c[...] PROGBITS        3c013cc0 01faf0 000050 00   A  0   0  4
  [39] shell_subcmd[...] PROGBITS        3c013d10 01fb40 000190 00   A  0   0  4
  [40] shell_dynami[...] PROGBITS        3c013ea0 01fcd0 000018 00   A  0   0  4
  [41] tbss              NOBITS          3c013eb8 01fce8 000008 00 WAT  0   0  4
  [42] .flash.rodata_end PROGBITS        3c013ec0 01fcf0 000000 00   W  0   0 16
  [43] .comment          PROGBITS        00000000 01fcf0 00001f 01  MS  0   0  1
  [44] .debug_aranges    PROGBITS        00000000 01fd10 003ad0 00      0   0  8
  [45] .debug_info       PROGBITS        00000000 0237e0 150d97 00      0   0  1
  [46] .debug_abbrev     PROGBITS        00000000 174577 0241a0 00      0   0  1
  [47] .debug_line       PROGBITS        00000000 198717 0917b8 00      0   0  1
  [48] .debug_frame      PROGBITS        00000000 229ed0 00b1d8 00      0   0  4
  [49] .debug_str        PROGBITS        00000000 2350a8 02636b 01  MS  0   0  1
  [50] .debug_loc        PROGBITS        00000000 25b413 048117 00      0   0  1
  [51] .debug_ranges     PROGBITS        00000000 2a352a 00d620 00      0   0  1
  [52] .riscv.attributes RISCV_ATTRIBUTE 00000000 2b0b4a 000060 00      0   0  1
  [53] .symtab           SYMTAB          00000000 2b0bac 011fd0 10     54 1830  4
  [54] .strtab           STRTAB          00000000 2c2b7c 012cc7 00      0   0  1
  [55] .shstrtab         STRTAB          00000000 2d5843 0002f8 00      0   0  1
Key to Flags:
  W (write), A (alloc), X (execute), M (merge), S (strings), I (info),
  L (link order), O (extra OS processing required), G (group), T (TLS),
  C (compressed), x (unknown), o (OS specific), E (exclude),
  D (mbind), p (processor specific)

Program Headers:
  Type           Offset   VirtAddr   PhysAddr   FileSiz MemSiz  Flg Align
  RISCV_ATTRIBUT 0x2b0b4a 0x00000000 0x00000000 0x00060 0x00000 R   0x1
  LOAD           0x0001f4 0x50000000 0x00000000 0x00024 0x00024 RW  0x4
  LOAD           0x000300 0x40380000 0x00000024 0x09f30 0x09f30 R E 0x100
  LOAD           0x00a230 0x3fc89f40 0x00009f54 0x01920 0x01920 RW  0x8
  LOAD           0x000000 0x0000b874 0x0000b874 0x00000 0x0478c RW  0x1
  LOAD           0x000000 0x3fc8b860 0x0000b874 0x00000 0x03344 RW  0x10
  LOAD           0x000000 0x3fc8eba8 0x0000b874 0x00000 0x01428 RW  0x8
  LOAD           0x010000 0x42000000 0x00010000 0x0be30 0x0be30 RWE 0x10000
  LOAD           0x000000 0x0001be30 0x0001be30 0x00000 0x041d0 RW  0x1
  LOAD           0x01be30 0x3c010000 0x00020000 0x03eb8 0x03eb8 RW  0x10
  LOAD           0x000000 0x3c000000 0x3c000000 0x00000 0x10000 RW  0x1
  LOAD           0x000000 0x3fc80000 0x3fc80000 0x00000 0x09f40 RW  0x1
  TLS            0x01fce8 0x3c013eb8 0x00023eb8 0x00000 0x00008 R   0x4
  GNU_STACK      0x000000 0x00000000 0x00000000 0x00000 0x00000 RW  0x10

 Section to Segment mapping:
  Segment Sections...
   00     .riscv.attributes 
   01     .rtc.force_slow 
   02     .iram0.text .loader.text 
   03     .dram0.data .loader.data sw_isr_table device_states log_mpsc_pbuf_area log_msg_ptr_area log_dynamic_area k_timer_area k_heap_area k_sem_area log_const_area log_backend_area 
   04     .text_dummy 
   05     .dram0.noinit 
   06     .dram0.bss 
   07     .text 
   08     .flash.dummy 
   09     .flash.rodata initlevel device_area gpio_driver_api_area clock_control_driver_api_area uart_driver_api_area shell_area shell_root_cmds_area shell_subcmds_area shell_dynamic_subcmds_area 
   10     .flash.rodata_dummy 
   11     .dram0.dummy 
   12     tbss 
   13