# Check name of executable entry symbol. # RUN: yaml2obj -format=elf %s > %t.o # RUN: lld -flavor gnu -target mipsel --noinhibit-exec -o %t.exe %t.o # RUN: llvm-nm %t.exe | FileCheck %s # CHECK: U __start # CHECK: {{[0-9A-F]+}} T main FileHeader: Class: ELFCLASS32 Data: ELFDATA2LSB Type: ET_REL Machine: EM_MIPS Flags: [ EF_MIPS_ABI_O32, EF_MIPS_ARCH_32 ] Sections: - Name: .text Type: SHT_PROGBITS Flags: [ SHF_ALLOC, SHF_EXECINSTR ] AddressAlign: 0x04 Size: 0x04 Symbols: Global: - Name: main Section: .text