xref: /aosp_15_r20/external/llvm/test/MC/Hexagon/got.s (revision 9880d6810fe72a1726cb53787c6711e909410d58)
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.Lgot:
7    r0 = memw (r1 + ##foo@GOT)
8
9# CHECK: R_HEX_GOT_32_6_X foo
10# CHECK: R_HEX_GOT_11_X foo
11
12