mirror of
https://github.com/RPCS3/llvm.git
synced 2024-11-28 22:20:43 +00:00
f230df9af4
single object format can be shared. This also adds support for mov zed+(bar-foo), %eax on ELF and COFF targets. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116675 91177308-0d34-0410-b5e6-96231b3b80d8
14 lines
261 B
ArmAsm
14 lines
261 B
ArmAsm
// RUN: not llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s 2> %t
|
|
// RUN: FileCheck -input-file %t %s
|
|
|
|
.global zed
|
|
.data
|
|
foo:
|
|
.text
|
|
nop
|
|
bar:
|
|
nop
|
|
zed:
|
|
// CHECK: expected relocatable expression
|
|
mov zed+(bar-foo), %eax
|