diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2017-01-02 19:19:15 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2017-01-02 19:19:15 +0000 |
commit | d93e1dfac8711cfed1a9d9cd1876a788b83945cd (patch) | |
tree | 5896fa6c02a262a6148b215487e545d937de58b7 /test/ELF/linkerscript/no-pt-load.s | |
parent | 8d43286d630f9224de07809ea253e83ebb9cdee6 (diff) |
Notes
Diffstat (limited to 'test/ELF/linkerscript/no-pt-load.s')
-rw-r--r-- | test/ELF/linkerscript/no-pt-load.s | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/ELF/linkerscript/no-pt-load.s b/test/ELF/linkerscript/no-pt-load.s new file mode 100644 index 0000000000000..c70402501391d --- /dev/null +++ b/test/ELF/linkerscript/no-pt-load.s @@ -0,0 +1,5 @@ +# REQUIRES: x86 +# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o +# RUN: echo "PHDRS {foo PT_DYNAMIC ;} " \ +# RUN: "SECTIONS { .text : { *(.text) } : foo }" > %t.script +# RUN: ld.lld -o %t1 --script %t.script %t.o |