[llvm] Do not replace dead constant references in metadata with undef
[llvm-project.git] / lld / test / ELF / Inputs / mips-mgot-2.s
blob4f6a92d36ffdd443fe7d3051fd37c6649e6cff97
1 .text
2 .global foo2
3 foo2:
4 lw $2, %got(.data)($gp) # page entry
5 addi $2, $2, %lo(.data)
6 lw $2, %call16(foo0)($gp) # global entry
7 lw $2, %call16(foo2)($gp) # global entry
8 addiu $2, $2, %tlsgd(tls0) # tls gd entry
9 addiu $2, $2, %gottprel(tls0) # tls got entry
11 .data
12 .space 0x20000
14 .section .tdata,"awT",%progbits
15 .global tls2
16 tls2:
17 .word 0