[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git] / llvm / test / MC / ELF / plt.s
blob3c3cc76aef5de9e8649fd1994ef44dc23f0d0ec2
1 // RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -r - | FileCheck %s
3 // Test that this produces a R_X86_64_PLT32.
5 jmp foo@PLT
7 // CHECK: Relocations [
8 // CHECK-NEXT: Section ({{[^ ]+}}) {{[^ ]+}} {
9 // CHECK-NEXT: 0x{{[^ ]+}} R_X86_64_PLT32 {{[^ ]+}} 0x{{[^ ]+}}
10 // CHECK-NEXT: }
11 // CHECK-NEXT: ]