summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/Hexagon/pcrel.s
blob: 368fea5c2b303cceaba22df0d0729342ce4bfbb8 (plain)
1
2
3
4
5
6
7
8
9
10
11
# RUN: llvm-mc -arch=hexagon -filetype=obj %s | llvm-objdump -r - | FileCheck %s
#

# make sure the fixups emitted match what is
# expected.
.Lpc:
    r0 = add (pc, ##foo@PCREL)

# CHECK: R_HEX_B32_PCREL_X
# CHECK: R_HEX_6_PCREL_X

OpenPOWER on IntegriCloud