summaryrefslogtreecommitdiffstats
path: root/lld/test/ELF/entry.s
diff options
context:
space:
mode:
Diffstat (limited to 'lld/test/ELF/entry.s')
-rw-r--r--lld/test/ELF/entry.s4
1 files changed, 3 insertions, 1 deletions
diff --git a/lld/test/ELF/entry.s b/lld/test/ELF/entry.s
index 6175c7623a3..9dc355288cd 100644
--- a/lld/test/ELF/entry.s
+++ b/lld/test/ELF/entry.s
@@ -1,5 +1,6 @@
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t1
-# RUN: not ld.lld %t1 -o %t2
+# RUN: ld.lld %t1 -o %t2
+# RUN: llvm-readobj -file-headers %t2 | FileCheck -check-prefix=NOENTRY %s
# RUN: ld.lld %t1 -o %t2 -e entry
# RUN: llvm-readobj -file-headers %t2 | FileCheck -check-prefix=SYM %s
# RUN: ld.lld %t1 -shared -o %t2 -e entry
@@ -11,6 +12,7 @@
# RUN: ld.lld %t1 -o %t2 -e 0777
# RUN: llvm-readobj -file-headers %t2 | FileCheck -check-prefix=OCT %s
+# NOENTRY: Entry: 0x0
# SYM: Entry: 0x11000
# DSO: Entry: 0x1000
# DEC: Entry: 0x1000
OpenPOWER on IntegriCloud