2 # RUN: llvm-mc -filetype=obj -triple=hexagon-unknown-elf %s -o %t.o
3 # RUN: llvm-mc -filetype=obj -triple=hexagon-unknown-elf %S/Inputs/hexagon-shared.s -o %t2.o
4 # RUN: ld.lld -shared %t2.o -soname=so -o %t2.so
5 # RUN: ld.lld -shared %t.o %t2.so -o %t3.so
6 # RUN: llvm-objdump --print-imm-hex -d -j .text %t3.so | FileCheck --check-prefix=TEXT %s
14 r0.
l = #LO(.Lpc@GOTREL)
16 r0.h
= #HI(.Lpc@GOTREL)
18 r0 = memw
(r1+
##.Lpc@GOTREL)
19 # R_HEX_GOTREL_32_6_X and R_HEX_GOTREL_16_X
22 # TEXT: r0.l = #0xffa8 }
23 # TEXT: r0.h = #0xfffd }
24 # TEXT: immext(#0xfffdff80)
25 # TEXT: r0 = memw(r1+##-0x20058) }
26 # TEXT: immext(#0xfffdff80)
27 # TEXT: r0 = ##-0x20058 }