test.info 8.6 KB
Newer Older
饶先宏's avatar
饶先宏 已提交
1 2 3 4 5 6 7 8 9 10
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
饶先宏's avatar
饶先宏 已提交
11
  Entry point address:               0x8c
饶先宏's avatar
饶先宏 已提交
12
  Start of program headers:          52 (bytes into file)
饶先宏's avatar
饶先宏 已提交
13
  Start of section headers:          15852 (bytes into file)
饶先宏's avatar
饶先宏 已提交
14 15 16 17 18
  Flags:                             0x0
  Size of this header:               52 (bytes)
  Size of program headers:           32 (bytes)
  Number of program headers:         2
  Size of section headers:           40 (bytes)
饶先宏's avatar
饶先宏 已提交
19 20
  Number of section headers:         23
  Section header string table index: 22
饶先宏's avatar
饶先宏 已提交
21 22 23 24

Section Headers:
  [Nr] Name              Type            Addr     Off    Size   ES Flg Lk Inf Al
  [ 0]                   NULL            00000000 000000 000000 00      0   0  0
饶先宏's avatar
饶先宏 已提交
25 26
  [ 1] .text             PROGBITS        00000074 000074 000c44 00  AX  0   0  4
  [ 2] .rodata           PROGBITS        00000cb8 000cb8 000128 00   A  0   0  4
饶先宏's avatar
饶先宏 已提交
27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
  [ 3] .eh_frame         PROGBITS        00001000 001000 00002c 00  WA  0   0  4
  [ 4] .init_array       INIT_ARRAY      0000102c 00102c 000008 04  WA  0   0  4
  [ 5] .fini_array       FINI_ARRAY      00001034 001034 000004 04  WA  0   0  4
  [ 6] .data             PROGBITS        00001038 001038 000428 00  WA  0   0  8
  [ 7] .got              PROGBITS        00001460 001460 000010 04  WA  0   0  4
  [ 8] .sdata            PROGBITS        00001470 001470 00000c 00  WA  0   0  4
  [ 9] .bss              NOBITS          0000147c 00147c 00001c 00  WA  0   0  4
  [10] .comment          PROGBITS        00000000 00147c 000012 01  MS  0   0  1
  [11] .riscv.attributes RISCV_ATTRIBUTE 00000000 00148e 000021 00      0   0  1
  [12] .debug_aranges    PROGBITS        00000000 0014af 000038 00      0   0  1
  [13] .debug_info       PROGBITS        00000000 0014e7 000839 00      0   0  1
  [14] .debug_abbrev     PROGBITS        00000000 001d20 000216 00      0   0  1
  [15] .debug_line       PROGBITS        00000000 001f36 000766 00      0   0  1
  [16] .debug_str        PROGBITS        00000000 00269c 000296 01  MS  0   0  1
  [17] .debug_line_str   PROGBITS        00000000 002932 0000b0 01  MS  0   0  1
  [18] .debug_loclists   PROGBITS        00000000 0029e2 000a99 00      0   0  1
  [19] .debug_rnglists   PROGBITS        00000000 00347b 000111 00      0   0  1
  [20] .symtab           SYMTAB          00000000 00358c 0004d0 10     21  52  4
  [21] .strtab           STRTAB          00000000 003a5c 0002a0 00      0   0  1
  [22] .shstrtab         STRTAB          00000000 003cfc 0000ed 00      0   0  1
饶先宏's avatar
饶先宏 已提交
47 48 49 50 51 52 53 54 55 56
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)

There are no section groups in this file.

Program Headers:
  Type           Offset   VirtAddr   PhysAddr   FileSiz MemSiz  Flg Align
饶先宏's avatar
饶先宏 已提交
57
  LOAD           0x000000 0x00000000 0x00000000 0x00de0 0x00de0 R E 0x1000
饶先宏's avatar
饶先宏 已提交
58
  LOAD           0x001000 0x00001000 0x00001000 0x0047c 0x00498 RW  0x1000
饶先宏's avatar
饶先宏 已提交
59 60 61 62

 Section to Segment mapping:
  Segment Sections...
   00     .text .rodata 
饶先宏's avatar
饶先宏 已提交
63
   01     .eh_frame .init_array .fini_array .data .got .sdata .bss 
饶先宏's avatar
饶先宏 已提交
64 65 66 67 68 69 70

There is no dynamic section in this file.

There are no relocations in this file.

The decoding of unwind sections for machine type RISC-V is not currently supported.

饶先宏's avatar
饶先宏 已提交
71
Symbol table '.symtab' contains 77 entries:
饶先宏's avatar
饶先宏 已提交
72 73
   Num:    Value  Size Type    Bind   Vis      Ndx Name
     0: 00000000     0 NOTYPE  LOCAL  DEFAULT  UND 
饶先宏's avatar
饶先宏 已提交
74
     1: 00000074     0 SECTION LOCAL  DEFAULT    1 .text
饶先宏's avatar
饶先宏 已提交
75
     2: 00000cb8     0 SECTION LOCAL  DEFAULT    2 .rodata
饶先宏's avatar
饶先宏 已提交
76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103
     3: 00001000     0 SECTION LOCAL  DEFAULT    3 .eh_frame
     4: 0000102c     0 SECTION LOCAL  DEFAULT    4 .init_array
     5: 00001034     0 SECTION LOCAL  DEFAULT    5 .fini_array
     6: 00001038     0 SECTION LOCAL  DEFAULT    6 .data
     7: 00001460     0 SECTION LOCAL  DEFAULT    7 .got
     8: 00001470     0 SECTION LOCAL  DEFAULT    8 .sdata
     9: 0000147c     0 SECTION LOCAL  DEFAULT    9 .bss
    10: 00000000     0 SECTION LOCAL  DEFAULT   10 .comment
    11: 00000000     0 SECTION LOCAL  DEFAULT   11 .riscv.attributes
    12: 00000000     0 SECTION LOCAL  DEFAULT   12 .debug_aranges
    13: 00000000     0 SECTION LOCAL  DEFAULT   13 .debug_info
    14: 00000000     0 SECTION LOCAL  DEFAULT   14 .debug_abbrev
    15: 00000000     0 SECTION LOCAL  DEFAULT   15 .debug_line
    16: 00000000     0 SECTION LOCAL  DEFAULT   16 .debug_str
    17: 00000000     0 SECTION LOCAL  DEFAULT   17 .debug_line_str
    18: 00000000     0 SECTION LOCAL  DEFAULT   18 .debug_loclists
    19: 00000000     0 SECTION LOCAL  DEFAULT   19 .debug_rnglists
    20: 00000000     0 FILE    LOCAL  DEFAULT  ABS __call_atexit.c
    21: 00000074    24 FUNC    LOCAL  DEFAULT    1 register_fini
    22: 00000000     0 FILE    LOCAL  DEFAULT  ABS crtstuff.c
    23: 00001000     0 OBJECT  LOCAL  DEFAULT    3 __EH_FRAME_BEGIN__
    24: 000000d8     0 FUNC    LOCAL  DEFAULT    1 __do_global_dtors_aux
    25: 0000147c     1 OBJECT  LOCAL  DEFAULT    9 completed.1
    26: 00001034     0 OBJECT  LOCAL  DEFAULT    5 __do_global_dtor[...]
    27: 0000011c     0 FUNC    LOCAL  DEFAULT    1 frame_dummy
    28: 00001480    24 OBJECT  LOCAL  DEFAULT    9 object.0
    29: 00001030     0 OBJECT  LOCAL  DEFAULT    4 __frame_dummy_in[...]
    30: 00000000     0 FILE    LOCAL  DEFAULT  ABS main.c
饶先宏's avatar
饶先宏 已提交
104
    31: 00000000     0 FILE    LOCAL  DEFAULT  ABS libgcc2.c
饶先宏's avatar
饶先宏 已提交
105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125
    32: 00000000     0 FILE    LOCAL  DEFAULT  ABS libgcc2.c
    33: 00000000     0 FILE    LOCAL  DEFAULT  ABS exit.c
    34: 00000000     0 FILE    LOCAL  DEFAULT  ABS impure.c
    35: 00001038  1064 OBJECT  LOCAL  DEFAULT    6 impure_data
    36: 00000000     0 FILE    LOCAL  DEFAULT  ABS init.c
    37: 00000000     0 FILE    LOCAL  DEFAULT  ABS fini.c
    38: 00000000     0 FILE    LOCAL  DEFAULT  ABS atexit.c
    39: 00000000     0 FILE    LOCAL  DEFAULT  ABS __atexit.c
    40: 00000000     0 FILE    LOCAL  DEFAULT  ABS sys_exit.c
    41: 00000000     0 FILE    LOCAL  DEFAULT  ABS errno.c
    42: 00000000     0 FILE    LOCAL  DEFAULT  ABS crtstuff.c
    43: 00001028     0 OBJECT  LOCAL  DEFAULT    3 __FRAME_END__
    44: 00000000     0 FILE    LOCAL  DEFAULT  ABS 
    45: 00001038     0 NOTYPE  LOCAL  DEFAULT    5 __fini_array_end
    46: 00001034     0 NOTYPE  LOCAL  DEFAULT    5 __fini_array_start
    47: 00001034     0 NOTYPE  LOCAL  DEFAULT    4 __init_array_end
    48: 0000102c     0 NOTYPE  LOCAL  DEFAULT    4 __preinit_array_end
    49: 00001468     0 OBJECT  LOCAL  DEFAULT    7 _GLOBAL_OFFSET_TABLE_
    50: 0000102c     0 NOTYPE  LOCAL  DEFAULT    4 __init_array_start
    51: 0000102c     0 NOTYPE  LOCAL  DEFAULT    4 __preinit_array_start
    52: 00001838     0 NOTYPE  GLOBAL DEFAULT  ABS __global_pointer$
饶先宏's avatar
饶先宏 已提交
126 127
    53: 00000cb8    40 OBJECT  GLOBAL DEFAULT    2 segcode
    54: 00000cb0     8 FUNC    GLOBAL DEFAULT    1 __errno
饶先宏's avatar
饶先宏 已提交
128 129 130
    55: 00001470     0 NOTYPE  GLOBAL DEFAULT    8 __SDATA_BEGIN__
    56: 00001474     0 OBJECT  GLOBAL HIDDEN     8 __dso_handle
    57: 00001470     4 OBJECT  GLOBAL DEFAULT    8 _global_impure_ptr
饶先宏's avatar
饶先宏 已提交
131 132 133 134
    58: 000008e0   156 FUNC    GLOBAL DEFAULT    1 __libc_init_array
    59: 00000480  1072 FUNC    GLOBAL HIDDEN     1 __udivdi3
    60: 00000b78    92 FUNC    GLOBAL DEFAULT    1 __libc_fini_array
    61: 00000a58   288 FUNC    GLOBAL DEFAULT    1 __call_exitprocs
饶先宏's avatar
饶先宏 已提交
135
    62: 0000008c    76 FUNC    GLOBAL DEFAULT    1 _start
饶先宏's avatar
饶先宏 已提交
136
    63: 00000be8   152 FUNC    GLOBAL DEFAULT    1 __register_exitproc
饶先宏's avatar
饶先宏 已提交
137 138
    64: 00001498     0 NOTYPE  GLOBAL DEFAULT    9 __BSS_END__
    65: 0000147c     0 NOTYPE  GLOBAL DEFAULT    9 __bss_start
饶先宏's avatar
饶先宏 已提交
139 140 141 142
    66: 0000097c   220 FUNC    GLOBAL DEFAULT    1 memset
    67: 0000017c   772 FUNC    GLOBAL DEFAULT    1 main
    68: 00000ce0   256 OBJECT  GLOBAL HIDDEN     2 __clz_tab
    69: 00000bd4    20 FUNC    GLOBAL DEFAULT    1 atexit
饶先宏's avatar
饶先宏 已提交
143 144 145 146 147
    70: 00001478     4 OBJECT  GLOBAL DEFAULT    8 _impure_ptr
    71: 00001038     0 NOTYPE  GLOBAL DEFAULT    6 __DATA_BEGIN__
    72: 0000013c    64 FUNC    GLOBAL DEFAULT    1 num2seg
    73: 0000147c     0 NOTYPE  GLOBAL DEFAULT    8 _edata
    74: 00001498     0 NOTYPE  GLOBAL DEFAULT    9 _end
饶先宏's avatar
饶先宏 已提交
148 149
    75: 000008b0    48 FUNC    GLOBAL DEFAULT    1 exit
    76: 00000c80    48 FUNC    GLOBAL DEFAULT    1 _exit
饶先宏's avatar
饶先宏 已提交
150 151 152 153 154 155

No version information found in this file.
Attribute Section: riscv
File Attributes
  Tag_RISCV_stack_align: 16-bytes
  Tag_RISCV_arch: "rv32i2p0_m2p0"