[llvm] Do not replace dead constant references in metadata with undef
[llvm-project.git] / lld / test / ELF / Inputs / ppc64-sort-small-cm-relocs-input2.s
blobb903f9b549672855a80af6550f8909a50e51fb02
1 .text
3 .global set
4 .type set,@function
5 set:
6 .Lgep:
7 addis 2, 12, .TOC.-.Lgep@ha
8 addi 2, 2, .TOC.-.Lgep@l
9 .Llep:
10 .localentry set, .Llep-.Lgep
11 addis 5, 2, .LC0@toc@ha
12 addis 6, 2, .LC1@toc@ha
13 ld 5, .LC0@toc@l(5)
14 ld 6, .LC1@toc@l(6)
15 stw 3, 0(5)
16 stw 4, 0(6)
17 blr
19 .section .toc,"aw",@progbits
20 .LC0:
21 .tc c[TC],c
22 .LC1:
23 .tc d[TC],d