From d93e1dfac8711cfed1a9d9cd1876a788b83945cd Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Mon, 2 Jan 2017 19:19:15 +0000 Subject: Vendor import of lld trunk r290819: https://llvm.org/svn/llvm-project/lld/trunk@290819 --- test/ELF/linkerscript/Inputs/implicit-program-header.script | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 test/ELF/linkerscript/Inputs/implicit-program-header.script (limited to 'test/ELF/linkerscript/Inputs/implicit-program-header.script') diff --git a/test/ELF/linkerscript/Inputs/implicit-program-header.script b/test/ELF/linkerscript/Inputs/implicit-program-header.script new file mode 100644 index 000000000000..27dbea84c4e4 --- /dev/null +++ b/test/ELF/linkerscript/Inputs/implicit-program-header.script @@ -0,0 +1,12 @@ +PHDRS +{ + ph_write PT_LOAD FLAGS(2); + ph_exec PT_LOAD FLAGS(1); +} + +SECTIONS +{ + .bar : { *(.bar) } : ph_exec + .foo : { *(.foo) } + .text : { *(.text) } : ph_write +} -- cgit v1.2.3