1 # This module contains a function with its local and global entry points
2 # exposed. It is used by the ppc64_elf test to verify that functions with
3 # different TOCs are called via their global entry points.
6 .file "ppc64_elf_module_b.ll"
7 .section .rodata.cst4,"aM",@progbits,4
8 .p2align 2 # -- Begin function foo
10 .long 1093664768 # float 11
22 ld 2, .Lfunc_toc0-foo_gep(12)
26 .localentry foo, foo_lep-foo_gep
28 addis 3, 2, .LC0@toc@ha
35 .size foo, .Lfunc_end0-.Lfunc_begin0
38 .section .toc,"aw",@progbits
40 .tc .LCPI0_0[TC],.LCPI0_0
42 .section ".note.GNU-stack","",@progbits