2 # Check R_MIPS_GPREL32 relocation calculation.
4 # RUN: llvm-mc -filetype=obj -triple=mips-unknown-linux %s -o %t.o
5 # RUN: ld.lld -shared -o %t.so %t.o
6 # RUN: llvm-objdump -s -section=.rodata -t %t.so | FileCheck %s
11 lw $t0,%call16(__start)($gp)
22 # CHECK: Contents of section .rodata:
23 # CHECK: {{[0-9a-f]+}} fffe8014 fffe8018
27 # CHECK: SYMBOL TABLE:
28 # CHECK: 00010008 .text 00000000 bar
29 # CHECK: 00010004 .text 00000000 foo
30 # CHECK: 00027ff0 .got 00000000 .hidden _gp