60 lines · plain
1# RUN: yaml2obj -o %t.o %s2# RUN: llvm-jitlink -noexec -check %s %t.o3 4--- !ELF5FileHeader:6 Class: ELFCLASS647 Data: ELFDATA2LSB8 Type: ET_REL9 Machine: EM_AARCH6410 SectionHeaderStringTable: .strtab11Sections:12 - Name: .text13 Type: SHT_PROGBITS14 Flags: [ SHF_ALLOC, SHF_EXECINSTR ]15 AddressAlign: 0x416 Content: E0031F2AC0035FD617 - Name: .eh_frame18 Type: SHT_PROGBITS19 Flags: [ SHF_ALLOC ]20 AddressAlign: 0x821 Content: 1000000000000000017A5200017C1E011B0C1F00100000001800000000000000080000000000000022 - Name: .rela.eh_frame23 Type: SHT_RELA24 Flags: [ SHF_INFO_LINK ]25 Link: .symtab26 AddressAlign: 0x827 Info: .eh_frame28 Relocations:29 - Offset: 0x1C30 Symbol: text31 Type: R_AARCH64_PREL3232 - Offset: 0x2033 Symbol: text34 Type: R_AARCH64_PREL6435 - Type: SectionHeaderTable36 Sections:37 - Name: .strtab38 - Name: .text39 - Name: .eh_frame40 - Name: .rela.eh_frame41 - Name: .symtab42Symbols:43 - Name: text44 Type: STT_SECTION45 Binding: STB_GLOBAL46 Section: .text47 Size: 0x848 - Name: eh_frame49 Type: STT_SECTION50 Binding: STB_GLOBAL51 Section: .eh_frame52 Size: 0x2853 - Name: main54 Type: STT_FUNC55 Section: .text56 Binding: STB_GLOBAL57 Size: 0x858 59# jitlink-check: *{4}(eh_frame + 28) = (text + 0) - (eh_frame + 28)60# jitlink-check: *{8}(eh_frame + 32) = (text + 0) - (eh_frame + 32)