summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/cmp.ll
diff options
context:
space:
mode:
authorGeorge Rimar <grimar@accesssoftek.com>2018-02-20 10:17:57 +0000
committerGeorge Rimar <grimar@accesssoftek.com>2018-02-20 10:17:57 +0000
commitda4f43a4b4987f4b207b3ecee6bf67a9f5761c81 (patch)
treec11eb14e1b86924d37fc608556d42d8cfc956197 /llvm/test/CodeGen/X86/cmp.ll
parent65d2d5bad4ee0db2c824ebd7faec75df401c4056 (diff)
downloadbcm5719-llvm-da4f43a4b4987f4b207b3ecee6bf67a9f5761c81.tar.gz
bcm5719-llvm-da4f43a4b4987f4b207b3ecee6bf67a9f5761c81.zip
[llvm-mc] - Produce R_X86_64_PLT32 for "call/jmp foo".
For instructions like call foo and jmp foo patch changes relocation produced from R_X86_64_PC32 to R_X86_64_PLT32. Relocation can be used as a marker for 32-bit PC-relative branches. Linker will reduce PLT32 relocation to PC32 if function is defined locally. Differential revision: https://reviews.llvm.org/D43383 llvm-svn: 325569
Diffstat (limited to 'llvm/test/CodeGen/X86/cmp.ll')
-rw-r--r--llvm/test/CodeGen/X86/cmp.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/X86/cmp.ll b/llvm/test/CodeGen/X86/cmp.ll
index 1ab8421638d..244e651e182 100644
--- a/llvm/test/CodeGen/X86/cmp.ll
+++ b/llvm/test/CodeGen/X86/cmp.ll
@@ -240,7 +240,7 @@ define i32 @test12() ssp uwtable {
; CHECK-NEXT: pushq %rax # encoding: [0x50]
; CHECK-NEXT: .cfi_def_cfa_offset 16
; CHECK-NEXT: callq test12b # encoding: [0xe8,A,A,A,A]
-; CHECK-NEXT: # fixup A - offset: 1, value: test12b-4, kind: FK_PCRel_4
+; CHECK-NEXT: # fixup A - offset: 1, value: test12b-4, kind: reloc_branch_4byte_pcrel
; CHECK-NEXT: testb %al, %al # encoding: [0x84,0xc0]
; CHECK-NEXT: je .LBB12_2 # encoding: [0x74,A]
; CHECK-NEXT: # fixup A - offset: 1, value: .LBB12_2-1, kind: FK_PCRel_1
OpenPOWER on IntegriCloud