[ELF] - Add test case for "unsupported relocation reference" error. NFCI.
authorGeorge Rimar <grimar@accesssoftek.com>
Tue, 20 Mar 2018 09:49:03 +0000 (09:49 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Tue, 20 Mar 2018 09:49:03 +0000 (09:49 +0000)
commit21afff0ac9a458440871d7f93f91ac26d4765fa0
tree7b5b40c0672f510d6991b1d53a60a822a97b42c4
parent073d5f023c19f3930ef0a5f0c931e1867331d970
[ELF] - Add test case for "unsupported relocation reference" error. NFCI.

We do not have test showing we explicitly reject objects
where relocation section goes before the target, i.e
.rel[a].text is listed before .text, for example.
The patch adds it.

llvm-svn: 327963
lld/test/ELF/invalid/reloc-section-reordered.test [new file with mode: 0644]