bolt/deps/llvm-18.1.8/llvm/test/MC/Hexagon/pcrel.s
2025-02-14 19:21:04 +01:00

11 lines
234 B
ArmAsm

# RUN: llvm-mc -triple=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