1# RUN: llvm-mc -arch=hexagon -filetype=obj %s | llvm-objdump -r - | FileCheck %s
2#
3
4# make sure the fixups emitted match what is
5# expected.
6.Lpc:
7    r0 = add (pc, ##foo@PCREL)
8
9# CHECK: R_HEX_B32_PCREL_X
10# CHECK: R_HEX_6_PCREL_X
11
12