mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-13 22:58:50 +00:00
6825fd33b8
X86_64 COFF only has support for 32 bit pcrel relocations. Produce an error on all others. Note that gnu as has extended the relocation values to support this. It is not clear if we should support the gnu extension. llvm-svn: 306082
13 lines
388 B
ArmAsm
13 lines
388 B
ArmAsm
// RUN: not llvm-mc -filetype=obj -triple x86_64-pc-win32 %s -o /dev/null 2>&1 | FileCheck %s
|
|
|
|
|
|
// CHECK: [[@LINE+1]]:{{[0-9]+}}: error: Cannot represent this expression
|
|
.byte foo - .
|
|
|
|
// CHECK: [[@LINE+1]]:{{[0-9]+}}: error: Cannot represent this expression
|
|
.short foo - .
|
|
|
|
// CHECK: [[@LINE+1]]:{{[0-9]+}}: error: Cannot represent this expression
|
|
.quad foo - .
|
|
|