Fixed some bugs.
[llvm/zpu.git] / test / MC / ELF / plt.s
blob7d0073c400d6cc2bc5f2241a49203f0a9922bc99
1 // RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | elf-dump | FileCheck %s
3 // Test that this produces a R_X86_64_PLT32.
5 jmp foo@PLT
7 // CHECK: ('_relocations', [
8 // CHECK-NEXT: # Relocation 0x00000000
9 // CHECK-NEXT: (('r_offset',
10 // CHECK-NEXT: ('r_sym',
11 // CHECK-NEXT: ('r_type', 0x00000004)
12 // CHECK-NEXT: ('r_addend',
13 // CHECK-NEXT: ),
14 // CHECK-NEXT: ])