test.info 8.4 KB
Newer Older
饶先宏's avatar
饶先宏 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 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 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152
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:               0x1008c
  Start of program headers:          52 (bytes into file)
  Start of section headers:          15464 (bytes into file)
  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)
  Number of section headers:         22
  Section header string table index: 21

Section Headers:
  [Nr] Name              Type            Addr     Off    Size   ES Flg Lk Inf Al
  [ 0]                   NULL            00000000 000000 000000 00      0   0  0
  [ 1] .text             PROGBITS        00010074 000074 000bb8 00  AX  0   0  4
  [ 2] .rodata           PROGBITS        00010c2c 000c2c 000128 00   A  0   0  4
  [ 3] .eh_frame         PROGBITS        00011000 001000 00002c 00  WA  0   0  4
  [ 4] .init_array       INIT_ARRAY      0001102c 00102c 000008 04  WA  0   0  4
  [ 5] .fini_array       FINI_ARRAY      00011034 001034 000004 04  WA  0   0  4
  [ 6] .data             PROGBITS        00011038 001038 000428 00  WA  0   0  8
  [ 7] .sdata            PROGBITS        00011460 001460 00000c 00  WA  0   0  4
  [ 8] .bss              NOBITS          0001146c 00146c 00001c 00  WA  0   0  4
  [ 9] .comment          PROGBITS        00000000 00146c 000012 01  MS  0   0  1
  [10] .riscv.attributes RISCV_ATTRIBUTE 00000000 00147e 000021 00      0   0  1
  [11] .debug_aranges    PROGBITS        00000000 00149f 000038 00      0   0  1
  [12] .debug_info       PROGBITS        00000000 0014d7 00086b 00      0   0  1
  [13] .debug_abbrev     PROGBITS        00000000 001d42 00022f 00      0   0  1
  [14] .debug_line       PROGBITS        00000000 001f71 000809 00      0   0  1
  [15] .debug_str        PROGBITS        00000000 00277a 000295 01  MS  0   0  1
  [16] .debug_line_str   PROGBITS        00000000 002a0f 0000b0 01  MS  0   0  1
  [17] .debug_loclists   PROGBITS        00000000 002abf 00088e 00      0   0  1
  [18] .debug_rnglists   PROGBITS        00000000 00334d 0000f6 00      0   0  1
  [19] .symtab           SYMTAB          00000000 003444 0004b0 10     20  50  4
  [20] .strtab           STRTAB          00000000 0038f4 000289 00      0   0  1
  [21] .shstrtab         STRTAB          00000000 003b7d 0000e8 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)

There are no section groups in this file.

Program Headers:
  Type           Offset   VirtAddr   PhysAddr   FileSiz MemSiz  Flg Align
  LOAD           0x000000 0x00010000 0x00010000 0x00d54 0x00d54 R E 0x1000
  LOAD           0x001000 0x00011000 0x00011000 0x0046c 0x00488 RW  0x1000

 Section to Segment mapping:
  Segment Sections...
   00     .text .rodata 
   01     .eh_frame .init_array .fini_array .data .sdata .bss 

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.

Symbol table '.symtab' contains 75 entries:
   Num:    Value  Size Type    Bind   Vis      Ndx Name
     0: 00000000     0 NOTYPE  LOCAL  DEFAULT  UND 
     1: 00010074     0 SECTION LOCAL  DEFAULT    1 .text
     2: 00010c2c     0 SECTION LOCAL  DEFAULT    2 .rodata
     3: 00011000     0 SECTION LOCAL  DEFAULT    3 .eh_frame
     4: 0001102c     0 SECTION LOCAL  DEFAULT    4 .init_array
     5: 00011034     0 SECTION LOCAL  DEFAULT    5 .fini_array
     6: 00011038     0 SECTION LOCAL  DEFAULT    6 .data
     7: 00011460     0 SECTION LOCAL  DEFAULT    7 .sdata
     8: 0001146c     0 SECTION LOCAL  DEFAULT    8 .bss
     9: 00000000     0 SECTION LOCAL  DEFAULT    9 .comment
    10: 00000000     0 SECTION LOCAL  DEFAULT   10 .riscv.attributes
    11: 00000000     0 SECTION LOCAL  DEFAULT   11 .debug_aranges
    12: 00000000     0 SECTION LOCAL  DEFAULT   12 .debug_info
    13: 00000000     0 SECTION LOCAL  DEFAULT   13 .debug_abbrev
    14: 00000000     0 SECTION LOCAL  DEFAULT   14 .debug_line
    15: 00000000     0 SECTION LOCAL  DEFAULT   15 .debug_str
    16: 00000000     0 SECTION LOCAL  DEFAULT   16 .debug_line_str
    17: 00000000     0 SECTION LOCAL  DEFAULT   17 .debug_loclists
    18: 00000000     0 SECTION LOCAL  DEFAULT   18 .debug_rnglists
    19: 00000000     0 FILE    LOCAL  DEFAULT  ABS __call_atexit.c
    20: 00010074    24 FUNC    LOCAL  DEFAULT    1 register_fini
    21: 00000000     0 FILE    LOCAL  DEFAULT  ABS crtstuff.c
    22: 00011000     0 OBJECT  LOCAL  DEFAULT    3 __EH_FRAME_BEGIN__
    23: 000100d8     0 FUNC    LOCAL  DEFAULT    1 __do_global_dtors_aux
    24: 0001146c     1 OBJECT  LOCAL  DEFAULT    8 completed.1
    25: 00011034     0 OBJECT  LOCAL  DEFAULT    5 __do_global_dtor[...]
    26: 0001011c     0 FUNC    LOCAL  DEFAULT    1 frame_dummy
    27: 00011470    24 OBJECT  LOCAL  DEFAULT    8 object.0
    28: 00011030     0 OBJECT  LOCAL  DEFAULT    4 __frame_dummy_in[...]
    29: 00000000     0 FILE    LOCAL  DEFAULT  ABS main.c
    30: 00000000     0 FILE    LOCAL  DEFAULT  ABS libgcc2.c
    31: 00000000     0 FILE    LOCAL  DEFAULT  ABS libgcc2.c
    32: 00000000     0 FILE    LOCAL  DEFAULT  ABS exit.c
    33: 00000000     0 FILE    LOCAL  DEFAULT  ABS impure.c
    34: 00011038  1064 OBJECT  LOCAL  DEFAULT    6 impure_data
    35: 00000000     0 FILE    LOCAL  DEFAULT  ABS init.c
    36: 00000000     0 FILE    LOCAL  DEFAULT  ABS fini.c
    37: 00000000     0 FILE    LOCAL  DEFAULT  ABS atexit.c
    38: 00000000     0 FILE    LOCAL  DEFAULT  ABS __atexit.c
    39: 00000000     0 FILE    LOCAL  DEFAULT  ABS sys_exit.c
    40: 00000000     0 FILE    LOCAL  DEFAULT  ABS errno.c
    41: 00000000     0 FILE    LOCAL  DEFAULT  ABS crtstuff.c
    42: 00011028     0 OBJECT  LOCAL  DEFAULT    3 __FRAME_END__
    43: 00000000     0 FILE    LOCAL  DEFAULT  ABS 
    44: 00011038     0 NOTYPE  LOCAL  DEFAULT    5 __fini_array_end
    45: 00011034     0 NOTYPE  LOCAL  DEFAULT    5 __fini_array_start
    46: 00011034     0 NOTYPE  LOCAL  DEFAULT    4 __init_array_end
    47: 0001102c     0 NOTYPE  LOCAL  DEFAULT    4 __preinit_array_end
    48: 0001102c     0 NOTYPE  LOCAL  DEFAULT    4 __init_array_start
    49: 0001102c     0 NOTYPE  LOCAL  DEFAULT    4 __preinit_array_start
    50: 000103ac  1144 FUNC    GLOBAL HIDDEN     1 __divdi3
    51: 00011838     0 NOTYPE  GLOBAL DEFAULT  ABS __global_pointer$
    52: 00010c2c    40 OBJECT  GLOBAL DEFAULT    2 segcode
    53: 00010c24     8 FUNC    GLOBAL DEFAULT    1 __errno
    54: 00011460     0 NOTYPE  GLOBAL DEFAULT    7 __SDATA_BEGIN__
    55: 00011464     0 OBJECT  GLOBAL HIDDEN     7 __dso_handle
    56: 00011460     4 OBJECT  GLOBAL DEFAULT    7 _global_impure_ptr
    57: 00010854   156 FUNC    GLOBAL DEFAULT    1 __libc_init_array
    58: 00010aec    92 FUNC    GLOBAL DEFAULT    1 __libc_fini_array
    59: 000109cc   288 FUNC    GLOBAL DEFAULT    1 __call_exitprocs
    60: 0001008c    76 FUNC    GLOBAL DEFAULT    1 _start
    61: 00010b5c   152 FUNC    GLOBAL DEFAULT    1 __register_exitproc
    62: 00011488     0 NOTYPE  GLOBAL DEFAULT    8 __BSS_END__
    63: 0001146c     0 NOTYPE  GLOBAL DEFAULT    8 __bss_start
    64: 000108f0   220 FUNC    GLOBAL DEFAULT    1 memset
    65: 0001017c   560 FUNC    GLOBAL DEFAULT    1 main
    66: 00010c54   256 OBJECT  GLOBAL HIDDEN     2 __clz_tab
    67: 00010b48    20 FUNC    GLOBAL DEFAULT    1 atexit
    68: 00011468     4 OBJECT  GLOBAL DEFAULT    7 _impure_ptr
    69: 00011038     0 NOTYPE  GLOBAL DEFAULT    6 __DATA_BEGIN__
    70: 0001013c    64 FUNC    GLOBAL DEFAULT    1 num2seg
    71: 0001146c     0 NOTYPE  GLOBAL DEFAULT    7 _edata
    72: 00011488     0 NOTYPE  GLOBAL DEFAULT    8 _end
    73: 00010824    48 FUNC    GLOBAL DEFAULT    1 exit
    74: 00010bf4    48 FUNC    GLOBAL DEFAULT    1 _exit

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