25 lines · plain
1# RUN: yaml2obj %s -o %t2# RUN: ld.lld -shared %t -o %tout3 4# GNU assembler 2.17.50 [FreeBSD] 2007-07-03 could generate5# broken objects.6# Verify that lld can handle STT_NOTYPE symbols associated7# with SHT_SYMTAB section.8 9!ELF10FileHeader:11 Class: ELFCLASS6412 Data: ELFDATA2LSB13 OSABI: ELFOSABI_FREEBSD14 Type: ET_REL15 Machine: EM_X86_6416Sections:17 - Name: .text18 Type: SHT_PROGBITS19 Flags: [ SHF_ALLOC, SHF_EXECINSTR ]20 AddressAlign: 0x000000000000001021 Content: "00000000"22Symbols:23 - Type: STT_NOTYPE24 Section: .symtab25