llvm-project/lld/test/elf/Mips/entry-name.test

15 lines
390 B
Plaintext

# Check name of executable entry symbol.
# RUN: llvm-mc -triple=mipsel -filetype=obj -o=%t1 %s
# RUN: lld -flavor gnu -target mipsel --noinhibit-exec -o %t2 %t1
# RUN: llvm-objdump -t %t2 | FileCheck %s
# CHECK: SYMBOL TABLE:
# CHECK: 00400128 g F .text 00000004 main
# CHECK: 00000000 *UND* 00000000 __start
.global main
.ent main
main:
nop
.end main