llvm/test/MC/X86/error-reloc.s
Rafael Espindola b09c6d4e92 Add a triple to the test.
Sorry for forgetting it the first time.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@257705 91177308-0d34-0410-b5e6-96231b3b80d8
2016-01-13 23:13:38 +00:00

22 lines
722 B
ArmAsm

// RUN: not llvm-mc -triple x86_64-pc-linux %s -o %t.o -filetype=obj 2>&1 | FileCheck %s
.quad foo@gotpcrel
// CHECK: 32 bit reloc applied to a field with a different size
// CHECK-NEXT: .quad foo@gotpcrel
.quad foo@plt
// CHECK: 32 bit reloc applied to a field with a different size
// CHECK-NEXT: .quad foo@plt
.quad foo@tlsld
// CHECK: 32 bit reloc applied to a field with a different size
// CHECK-NEXT: .quad foo@tlsld
.quad foo@gottpoff
// CHECK: 32 bit reloc applied to a field with a different size
// CHECK-NEXT: .quad foo@gottpoff
.quad foo@tlsgd
// CHECK: 32 bit reloc applied to a field with a different size
// CHECK-NEXT: .quad foo@tlsgd