[ELF][test] Update znotext-plt-relocations.s to emit R_X86_64_PC32
authorFangrui Song <maskray@google.com>
Thu, 30 May 2019 14:16:29 +0000 (14:16 +0000)
committerFangrui Song <maskray@google.com>
Thu, 30 May 2019 14:16:29 +0000 (14:16 +0000)
commit064ae08e864eacd0881cb291f412ff727a5094bb
treed9c36317feb7192ec16b564b6ec61769a85adab3
parent5359bb4d3163c0a1bfaa62fb2e6e79e3d20ce921
[ELF][test] Update znotext-plt-relocations.s to emit R_X86_64_PC32

This is a leftover from r325379.

The intention of this test was to check in a non-pic link, R_X86_64_PC32
to a STT_FUNC created a PLT. However, after the llvm-mc change in
r325569, this code path is no longer exercised. Use the r325379 trick to
keep testing R_X86_64_PC32.

llvm-svn: 362095
lld/test/ELF/znotext-plt-relocations.s