linux-packaging-mono/external/llvm/test/MC/ARM/t2-modified-immediate-fixup-error1.s
Xamarin Public Jenkins (auto-signing) 8625704ad8 Imported Upstream version 5.18.0.179
Former-commit-id: 67aa10e65b237e1c4537630979ee99ebe1374215
2018-10-25 08:34:57 +00:00

14 lines
348 B
ArmAsm

@ PR28647
@ RUN: not llvm-mc -triple=thumbv7a-linux-gnueabi -filetype=obj < %s 2>&1 | FileCheck %s
.text
.syntax unified
.balign 2
@ Error with unencodeable immediate
add r1, r2, sym0
@ CHECK: error: out of range immediate fixup value
.equ sym0, 0x01abcdef
.L2:
mov r0, .L2
@ CHECK: error: unsupported relocation on symbol