aboutsummaryrefslogtreecommitdiff
path: root/test/MC/Hexagon/got.s
blob: 85409ee4a900dc799243b6996c5e0f7d2451861f (plain) (blame)
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.
.Lgot:
    r0 = memw (r1 + ##foo@GOT)

# CHECK: R_HEX_GOT_32_6_X foo
# CHECK: R_HEX_GOT_11_X foo