43 lines · plain
1# This module contains a function with its local and global entry points2# exposed. It is used by the ppc64_elf test to verify that functions with3# different TOCs are called via their global entry points.4 .text5 .abiversion 26 .file "ppc64_elf_module_b.ll"7 .section .rodata.cst4,"aM",@progbits,48 .p2align 2 # -- Begin function foo9.LCPI0_0:10 .long 1093664768 # float 1111 .text12 .globl foo13 .p2align 414 .type foo,@function15.Lfunc_toc0: # @foo16 .quad .TOC.-foo_gep17foo:18.Lfunc_begin0:19 .cfi_startproc20 .globl foo_gep21foo_gep:22 ld 2, .Lfunc_toc0-foo_gep(12)23 add 2, 2, 1224 .globl foo_lep25foo_lep:26 .localentry foo, foo_lep-foo_gep27# %bb.0:28 addis 3, 2, .LC0@toc@ha29 ld 3, .LC0@toc@l(3)30 lfsx 1, 0, 331 blr32 .long 033 .quad 034.Lfunc_end0:35 .size foo, .Lfunc_end0-.Lfunc_begin036 .cfi_endproc37 # -- End function38 .section .toc,"aw",@progbits39.LC0:40 .tc .LCPI0_0[TC],.LCPI0_041 42 .section ".note.GNU-stack","",@progbits43