view lld/test/ELF/Inputs/ppc64-sort-small-cm-relocs-input4.s @ 150:1d019706d866

LLVM10
author anatofuz
date Thu, 13 Feb 2020 15:10:13 +0900
parents
children 0572611fdcc8
line wrap: on
line source

    .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