Provide correct encodings for NEON vcvt, which has its own special immediate encoding
[oota-llvm.git] / test / MC / ELF / alias-reloc.s
1 // 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. We produce a relocation with foo
4 // and gas with bar, but both should be OK as long as the type is correct.
5         .globl foo
6 foo:
7 bar = foo
8         call bar@PLT
9
10 // CHECK:       # Relocation 0
11 // CHECK-NEXT:  (('r_offset',
12 // CHECK-NEXT:   ('r_sym',
13 // CHECK-NEXT:   ('r_type', 0x00000004)
14 // CHECK-NEXT:   ('r_addend',
15 // CHECK-NEXT:  ),
16 // CHECK-NEXT: ])