aboutsummaryrefslogtreecommitdiff
path: root/test/MC/ELF/plt.s
blob: 604a4bf3a38e47eddc8b16f59451d873691129f9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -r | FileCheck %s

// Test that this produces a R_X86_64_PLT32.

	jmp	foo@PLT

// CHECK:      Relocations [
// CHECK-NEXT:   Section ({{[^ ]+}}) {{[^ ]+}} {
// CHECK-NEXT:     0x{{[^ ]+}} R_X86_64_PLT32 {{[^ ]+}} 0x{{[^ ]+}}
// CHECK-NEXT:   }
// CHECK-NEXT: ]