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: 0x8c Start of program headers: 52 (bytes into file) Start of section headers: 8292 (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: 15 Section header string table index: 14 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 00000074 000074 00125c 00 AX 0 0 4 [ 2] .rodata PROGBITS 000012d0 0012d0 000086 00 A 0 0 4 [ 3] .eh_frame PROGBITS 00002358 001358 000004 00 WA 0 0 4 [ 4] .init_array INIT_ARRAY 0000235c 00135c 000008 04 WA 0 0 4 [ 5] .fini_array FINI_ARRAY 00002364 001364 000004 04 WA 0 0 4 [ 6] .data PROGBITS 00002368 001368 000428 00 WA 0 0 8 [ 7] .sdata PROGBITS 00002790 001790 000010 00 WA 0 0 4 [ 8] .sbss NOBITS 000027a0 0017a0 000008 00 WA 0 0 4 [ 9] .bss NOBITS 000027a8 0017a0 00001c 00 WA 0 0 4 [10] .comment PROGBITS 00000000 0017a0 000012 01 MS 0 0 1 [11] .riscv.attributes RISCV_ATTRIBUTE 00000000 0017b2 000021 00 0 0 1 [12] .symtab SYMTAB 00000000 0017d4 000520 10 13 41 4 [13] .strtab STRTAB 00000000 001cf4 0002f2 00 0 0 1 [14] .shstrtab STRTAB 00000000 001fe6 00007e 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 0x00000000 0x00000000 0x01356 0x01356 R E 0x1000 LOAD 0x001358 0x00002358 0x00002358 0x00448 0x0046c RW 0x1000 Section to Segment mapping: Segment Sections... 00 .text .rodata 01 .eh_frame .init_array .fini_array .data .sdata .sbss .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 82 entries: Num: Value Size Type Bind Vis Ndx Name 0: 00000000 0 NOTYPE LOCAL DEFAULT UND 1: 00000074 0 SECTION LOCAL DEFAULT 1 .text 2: 000012d0 0 SECTION LOCAL DEFAULT 2 .rodata 3: 00002358 0 SECTION LOCAL DEFAULT 3 .eh_frame 4: 0000235c 0 SECTION LOCAL DEFAULT 4 .init_array 5: 00002364 0 SECTION LOCAL DEFAULT 5 .fini_array 6: 00002368 0 SECTION LOCAL DEFAULT 6 .data 7: 00002790 0 SECTION LOCAL DEFAULT 7 .sdata 8: 000027a0 0 SECTION LOCAL DEFAULT 8 .sbss 9: 000027a8 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 FILE LOCAL DEFAULT ABS __call_atexit.c 13: 00000074 24 FUNC LOCAL DEFAULT 1 register_fini 14: 00000000 0 FILE LOCAL DEFAULT ABS crtstuff.c 15: 00002358 0 OBJECT LOCAL DEFAULT 3 16: 000000d8 0 FUNC LOCAL DEFAULT 1 __do_global_dtors_aux 17: 000027a8 1 OBJECT LOCAL DEFAULT 9 completed.1 18: 00002364 0 OBJECT LOCAL DEFAULT 5 __do_global_dtor[...] 19: 0000011c 0 FUNC LOCAL DEFAULT 1 frame_dummy 20: 000027ac 24 OBJECT LOCAL DEFAULT 9 object.0 21: 00002360 0 OBJECT LOCAL DEFAULT 4 __frame_dummy_in[...] 22: 00000000 0 FILE LOCAL DEFAULT ABS console.c 23: 00000000 0 FILE LOCAL DEFAULT ABS exit.c 24: 00000000 0 FILE LOCAL DEFAULT ABS impure.c 25: 00002368 1064 OBJECT LOCAL DEFAULT 6 impure_data 26: 00000000 0 FILE LOCAL DEFAULT ABS init.c 27: 00000000 0 FILE LOCAL DEFAULT ABS fini.c 28: 00000000 0 FILE LOCAL DEFAULT ABS atexit.c 29: 00000000 0 FILE LOCAL DEFAULT ABS __atexit.c 30: 00000000 0 FILE LOCAL DEFAULT ABS sys_exit.c 31: 00000000 0 FILE LOCAL DEFAULT ABS errno.c 32: 00000000 0 FILE LOCAL DEFAULT ABS crtstuff.c 33: 00002358 0 OBJECT LOCAL DEFAULT 3 __FRAME_END__ 34: 00000000 0 FILE LOCAL DEFAULT ABS 35: 00002368 0 NOTYPE LOCAL DEFAULT 5 __fini_array_end 36: 00002364 0 NOTYPE LOCAL DEFAULT 5 __fini_array_start 37: 00002364 0 NOTYPE LOCAL DEFAULT 4 __init_array_end 38: 0000235c 0 NOTYPE LOCAL DEFAULT 4 __preinit_array_end 39: 0000235c 0 NOTYPE LOCAL DEFAULT 4 __init_array_start 40: 0000235c 0 NOTYPE LOCAL DEFAULT 4 __preinit_array_start 41: 000001b8 88 FUNC GLOBAL DEFAULT 1 _putchar 42: 00000970 140 FUNC GLOBAL DEFAULT 1 _strcat 43: 00002b68 0 NOTYPE GLOBAL DEFAULT ABS __global_pointer$ 44: 000009fc 112 FUNC GLOBAL DEFAULT 1 _strcmp 45: 000012c8 8 FUNC GLOBAL DEFAULT 1 __errno 46: 00002790 0 NOTYPE GLOBAL DEFAULT 7 __SDATA_BEGIN__ 47: 0000013c 60 FUNC GLOBAL DEFAULT 1 _canputchar 48: 00000778 312 FUNC GLOBAL DEFAULT 1 _s2h 49: 0000025c 104 FUNC GLOBAL DEFAULT 1 _puts 50: 00000b04 64 FUNC GLOBAL DEFAULT 1 _buadrateset 51: 000004f8 388 FUNC GLOBAL DEFAULT 1 _h2s 52: 00002794 0 OBJECT GLOBAL HIDDEN 7 __dso_handle 53: 00000b44 584 FUNC GLOBAL DEFAULT 1 dispmem 54: 00000178 64 FUNC GLOBAL DEFAULT 1 _haschar 55: 00002790 4 OBJECT GLOBAL DEFAULT 7 _global_impure_ptr 56: 00000ef8 156 FUNC GLOBAL DEFAULT 1 __libc_init_array 57: 000002c4 216 FUNC GLOBAL DEFAULT 1 _gets 58: 00001190 92 FUNC GLOBAL DEFAULT 1 __libc_fini_array 59: 0000067c 252 FUNC GLOBAL DEFAULT 1 _s2d 60: 00001070 288 FUNC GLOBAL DEFAULT 1 __call_exitprocs 61: 0000008c 76 FUNC GLOBAL DEFAULT 1 _start 62: 00001200 152 FUNC GLOBAL DEFAULT 1 __register_exitproc 63: 00000210 76 FUNC GLOBAL DEFAULT 1 _getchar 64: 000027c4 0 NOTYPE GLOBAL DEFAULT 9 __BSS_END__ 65: 00002798 4 OBJECT GLOBAL DEFAULT 7 _uartaddr 66: 0000039c 348 FUNC GLOBAL DEFAULT 1 _d2s 67: 000027a0 0 NOTYPE GLOBAL DEFAULT 8 __bss_start 68: 00000f94 220 FUNC GLOBAL DEFAULT 1 memset 69: 00000d8c 316 FUNC GLOBAL DEFAULT 1 main 70: 000027a4 4 OBJECT GLOBAL DEFAULT 8 displayaddr 71: 00000900 112 FUNC GLOBAL DEFAULT 1 _strcpy 72: 000011ec 20 FUNC GLOBAL DEFAULT 1 atexit 73: 0000279c 4 OBJECT GLOBAL DEFAULT 7 _impure_ptr 74: 00002368 0 NOTYPE GLOBAL DEFAULT 6 __DATA_BEGIN__ 75: 00000a6c 152 FUNC GLOBAL DEFAULT 1 _strncmp 76: 000027a0 4 OBJECT GLOBAL DEFAULT 8 _uartstate 77: 000027a0 0 NOTYPE GLOBAL DEFAULT 7 _edata 78: 000027c4 0 NOTYPE GLOBAL DEFAULT 9 _end 79: 00000ec8 48 FUNC GLOBAL DEFAULT 1 exit 80: 000008b0 80 FUNC GLOBAL DEFAULT 1 _strlen 81: 00001298 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"