[llvm] Do not replace dead constant references in metadata with undef
[llvm-project.git] / lld / test / ELF / Inputs / ppc64-sort-small-cm-relocs-input4.s
blob36cb950d9842fa8149a4d226876493a1e5606279
1 .text
2 .global getRodata
3 .type getRodata,@function
4 getRodata:
5 .Lgep:
6 addis 2, 12, .TOC.-.Lgep@ha
7 addi 2, 2, .TOC.-.Lgep@l
8 .Llep:
9 .localentry getRodata, .Llep-.Lgep
10 lwa 3, .LC0@toc(2)
11 blr
13 .section .rodata,"a",@progbits
14 .quad _start
16 .section .toc,"aw",@progbits
17 .LC0:
18 .tc .rodata[TC], .rodata