[ELF] - Add test case for checking PT_INTERP behavior.
authorGeorge Rimar <grimar@accesssoftek.com>
Thu, 5 Jul 2018 15:01:44 +0000 (15:01 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Thu, 5 Jul 2018 15:01:44 +0000 (15:01 +0000)
commit061af9aafabd4d6b66f57d42e5aafca110824f3c
tree788605bba222c41cf8036205400ce23d81705281
parent83953233920a51047263fa2735be21864516687b
[ELF] - Add test case for checking PT_INTERP behavior.

When PT_INTERP is specified in PHDRS command, it should be created.
(if other conditions met)

We had no test for the folowing line:
https://github.com/llvm-mirror/lld/blob/master/ELF/LinkerScript.cpp#L1108
And for this header itself.

Patch fixes that.

llvm-svn: 336359
lld/test/ELF/linkerscript/pt-interp.test [new file with mode: 0644]