1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/test/MC/Hexagon/got.s
Krzysztof Parzyszek 05b71c2abd [Hexagon] Add PIC support
llvm-svn: 256025
2015-12-18 20:19:30 +00:00

12 lines
239 B
ArmAsm

# 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