blob: 7d78e23443e7f9448c87b07f4c9ada7a76880721 [file] [log] [blame]
Rafael Espindola92bf6682010-10-04 19:04:13 +00001// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | elf-dump | FileCheck %s
2
3// Test that this produces a R_X86_64_PLT32.
4
5 jmp foo@PLT
6
7// CHECK: ('_relocations', [
Rafael Espindolaf7179de2011-08-04 14:01:03 +00008// CHECK-NEXT: # Relocation 0
Rafael Espindola92bf6682010-10-04 19:04:13 +00009// CHECK-NEXT: (('r_offset',
10// CHECK-NEXT: ('r_sym',
Jason W Kimf7d52782010-10-19 17:39:10 +000011// CHECK-NEXT: ('r_type', 0x00000004)
Rafael Espindola92bf6682010-10-04 19:04:13 +000012// CHECK-NEXT: ('r_addend',
13// CHECK-NEXT: ),
14// CHECK-NEXT: ])