summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/ARM/t2-modified-immediate-fixup-error1.s
blob: f5113a64920772db9ac4525ebdc67d8b9d9b07e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
@ 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
OpenPOWER on IntegriCloud