forked from OSchip/llvm-project
[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:
parent
5359bb4d31
commit
064ae08e86
|
@ -16,5 +16,6 @@
|
||||||
|
|
||||||
.text
|
.text
|
||||||
_start:
|
_start:
|
||||||
callq atexit
|
.byte 0xe8
|
||||||
|
.long atexit - . - 4
|
||||||
.quad foo
|
.quad foo
|
||||||
|
|
Loading…
Reference in New Issue