30 lines · yaml
1# RUN: yaml2obj %s -o %t.o2# RUN: llvm-rtdyld -triple=x86_64-pc-linux %t.o -printline3 4# Verify rtdyld doesn't abort in presence of R_X86_64_NONE5 6!ELF7FileHeader:8 Class: ELFCLASS649 Data: ELFDATA2LSB10 OSABI: ELFOSABI_FREEBSD11 Type: ET_REL12 Machine: EM_X86_6413Sections:14 - Name: .text15 Type: SHT_PROGBITS16 Flags: [ SHF_ALLOC ]17 - Name: .rela.text18 Type: SHT_RELA19 Link: .symtab20 Info: .text21 Relocations:22 - Offset: 0x000000000000000023 Type: R_X86_64_NONE24Symbols:25 - Name: _main26 Section: .text27 Binding: STB_GLOBAL28 Value: 029 Size: 430