110 lines · yaml
1## Compiled and stripped-down version of:2## (riscv64-linux-gnu-gcc -nostdlib -static -Wl,-q cie-gnu.s)3# .text4# .globl _start5# .type _start, @function6# _start:7# .cfi_startproc8# beq a0, a1, 1f9# ret10# 1:11# .cfi_undefined t0 # Arbitrary cfi command to force a new state12# ret13# .cfi_endproc14# .size _start, .-_start15 16--- !ELF17FileHeader:18 Class: ELFCLASS6419 Data: ELFDATA2LSB20 Type: ET_EXEC21 Machine: EM_RISCV22 Flags: [ EF_RISCV_RVC, EF_RISCV_FLOAT_ABI_DOUBLE ]23 Entry: 0x1014424ProgramHeaders:25 - Type: PT_LOAD26 Flags: [ PF_X, PF_R ]27 FirstSec: .text28 LastSec: .eh_frame29 VAddr: 0x1000030 Align: 0x100031 Offset: 0x032Sections:33 - Name: .text34 Type: SHT_PROGBITS35 Flags: [ SHF_ALLOC, SHF_EXECINSTR ]36 Address: 0x1014437 AddressAlign: 0x238 Offset: 0x14439 Content: 6303B5008280828040 - Name: .eh_frame41 Type: SHT_PROGBITS42 Flags: [ SHF_ALLOC ]43 Address: 0x1015044 AddressAlign: 0x845 Content: 1000000000000000037A5200017C01011B0D02001000000018000000D8FFFFFF080000000046070546 - Name: .rela.text47 Type: SHT_RELA48 Flags: [ SHF_INFO_LINK ]49 Link: .symtab50 AddressAlign: 0x851 Info: .text52 Relocations:53 - Offset: 0x1014454 Symbol: ".L1\x021"55 Type: R_RISCV_BRANCH56 - Name: .rela.eh_frame57 Type: SHT_RELA58 Flags: [ SHF_INFO_LINK ]59 Link: .symtab60 AddressAlign: 0x861 Info: .eh_frame62 Relocations:63 - Offset: 0x1016C64 Symbol: '.L0 '65 Type: R_RISCV_32_PCREL66 - Offset: 0x1017067 Symbol: '.L0 (1)'68 Type: R_RISCV_ADD3269 - Offset: 0x1017070 Symbol: '.L0 '71 Type: R_RISCV_SUB3272 - Offset: 0x1017573 Symbol: '.L0 (2)'74 Type: R_RISCV_SET675 - Offset: 0x1017576 Symbol: '.L0 '77 Type: R_RISCV_SUB678 - Type: SectionHeaderTable79 Sections:80 - Name: .text81 - Name: .rela.text82 - Name: .eh_frame83 - Name: .rela.eh_frame84 - Name: .symtab85 - Name: .strtab86 - Name: .shstrtab87Symbols:88 - Name: '$x'89 Section: .text90 Value: 0x1014491 - Name: ".L1\x021"92 Section: .text93 Value: 0x1014A94 - Name: '.L0 '95 Section: .text96 Value: 0x1014497 - Name: '.L0 (1)'98 Section: .text99 Value: 0x1014C100 - Name: '.L0 (2)'101 Section: .text102 Value: 0x1014A103 - Name: _start104 Type: STT_FUNC105 Section: .text106 Binding: STB_GLOBAL107 Value: 0x10144108 Size: 0x8109...110