summaryrefslogtreecommitdiffstats
path: root/lld/test/ELF/Inputs/ppc64-sort-small-cm-relocs-input4.s
blob: 90f6e0fd6cf303d74e8a26a732ba66208e53befe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
    .text
    .global getRodata
    .type getRodata,@function
getRodata:
.Lgep:
    addis 2, 12, .TOC.-.Lgep@ha
    addi 2, 2, .TOC.-.Lgep@l
.Llep:
    .localentry     getRodata, .Llep-.Lgep
    lwa 3, .LC0@toc(2)
    blr

    .section        .rodata,"aMS",@progbits,8
    .quad _start

    .section        .toc,"aw",@progbits
.LC0:
    .tc .rodata[TC], .rodata
OpenPOWER on IntegriCloud