summaryrefslogtreecommitdiff
path: root/test/ELF/linkerscript/implicit-program-header.test
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2019-08-20 18:01:33 +0000
committerDimitry Andric <dim@FreeBSD.org>2019-08-20 18:01:33 +0000
commit7d6988fdd2aee0e033034e147f16fe05594a60e4 (patch)
tree8aa90abd4e0cce6f71fd338ee32e9957135bc642 /test/ELF/linkerscript/implicit-program-header.test
parente2fd426bdafe9f5c10066d3926ece6e342184a67 (diff)
Notes
Diffstat (limited to 'test/ELF/linkerscript/implicit-program-header.test')
-rw-r--r--test/ELF/linkerscript/implicit-program-header.test22
1 files changed, 0 insertions, 22 deletions
diff --git a/test/ELF/linkerscript/implicit-program-header.test b/test/ELF/linkerscript/implicit-program-header.test
deleted file mode 100644
index 8a3a4c6684af..000000000000
--- a/test/ELF/linkerscript/implicit-program-header.test
+++ /dev/null
@@ -1,22 +0,0 @@
-# REQUIRES: x86
-
-# RUN: echo '.section .text,"ax"; .quad 0' > %t.s
-# RUN: echo '.section .foo,"ax"; .quad 0' >> %t.s
-# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %t.s -o %t.o
-# RUN: ld.lld --hash-style=sysv -o %t1 --script %s %t.o -shared
-# RUN: llvm-readelf -l %t1 | FileCheck %s
-
-# CHECK: Segment Sections...
-# CHECK-NEXT: 00 .dynsym .hash .dynstr .bar .foo .text .dynamic
-# CHECK-NEXT: 01 .bar .foo
-
-PHDRS {
- ph_write PT_LOAD FLAGS(2);
- ph_exec PT_LOAD FLAGS(1);
-}
-
-SECTIONS {
- .bar : { *(.bar) } : ph_exec
- .foo : { *(.foo) }
- .text : { *(.text) } : ph_write
-}