Automatic date update in version.in
[binutils-gdb.git] / ld / testsuite / ld-powerpc / pr23937.s
blob155e53adb7ac6a884d7ea1ad29f40df0c68b9dc4
1 .abiversion 2
2 .text
3 .p2align 4,,15
4 .type implementation, @function
5 implementation:
6 .LCF0:
7 addis 2,12,.TOC.-.LCF0@ha
8 addi 2,2,.TOC.-.LCF0@l
9 .localentry implementation,.-implementation
10 mflr 0
11 addis 3,2,.LC0@toc@ha
12 addi 3,3,.LC0@toc@l
13 std 0,16(1)
14 stdu 1,-32(1)
15 bl puts
16 nop
17 addi 1,1,32
18 li 3,0
19 ld 0,16(1)
20 mtlr 0
21 blr
22 .size implementation,.-implementation
24 .p2align 4,,15
25 .type resolver, @function
26 resolver:
27 .LCF1:
28 addis 2,12,.TOC.-.LCF1@ha
29 addi 2,2,.TOC.-.LCF1@l
30 .localentry resolver,.-resolver
31 addis 3,2,implementation@toc@ha
32 addi 3,3,implementation@toc@l
33 blr
34 .size resolver,.-resolver
36 .type magic, @gnu_indirect_function
37 .set magic,resolver
39 .section .text.startup,"ax",@progbits
40 .p2align 4,,15
41 .globl main
42 .type main, @function
43 main:
44 .LCF2:
45 addis 2,12,.TOC.-.LCF2@ha
46 addi 2,2,.TOC.-.LCF2@l
47 .localentry main,.-main
48 mflr 0
49 std 0,16(1)
50 stdu 1,-32(1)
51 bl magic
52 nop
53 addi 1,1,32
54 cntlzw 3,3
55 ld 0,16(1)
56 srwi 3,3,5
57 mtlr 0
58 xori 3,3,0x1
59 blr
60 .size main,.-main
62 .section .rodata.str1.8,"aMS",@progbits,1
63 .p2align 3
64 .LC0:
65 .string "'ere I am JH"