[memprof] Remove an unused using directive (#117004)
[llvm-project.git] / lld / test / ELF / mips-got-string.s
blob84cf0ffd2f213a01405c1640f92522031eca5d9e
1 # REQUIRES: mips
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
13 .text
14 lw $t9, %got($.str)($gp)
15 addiu $a0, $t9, %lo($.str)
17 .section .rodata.str,"aMS",@progbits,1
18 $.str:
19 .asciz "foo"