[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
This commit is contained in:
Fangrui Song 2019-05-30 14:16:29 +00:00
parent 5359bb4d31
commit 064ae08e86
1 changed files with 2 additions and 1 deletions

View File

@ -16,5 +16,6 @@
.text .text
_start: _start:
callq atexit .byte 0xe8
.long atexit - . - 4
.quad foo .quad foo