2 # Check R_MIPS_GOT16 relocation against merge section.
4 # RUN: llvm-mc -filetype=obj -triple=mips-unknown-linux -o %t.o %s
5 # RUN: ld.lld -shared -o %t.so %t.o
6 # RUN: llvm-readelf -A %t.so | FileCheck %s
8 # CHECK: Local entries:
9 # CHECK-NEXT: Address Access Initial
10 # CHECK-NEXT: {{[0-9a-f]+}} -32744(gp) 00000000
11 # CHECK-NEXT: {{[0-9a-f]+}} -32740(gp) 00010000
14 lw $t9
, %got
($
.str)($gp)
15 addiu $a0
, $t9
, %lo
($
.str)
17 .section .rodata.str,"aMS",@progbits,1