1;# Main file, x.s, with the program (_start) referring to two
2;# linkonce functions fn and fn2.  The functions fn and fn2 are
3;# supposed to be equivalent of C++ template instantiations; the
4;# main file instantiates fn.
5
6 .text
7 .global _start
8_start:
9 .long fn
10 .long fn2
11
12 .section .gnu.linkonce.t.fn,"ax",@progbits
13 .weak fn
14 .type fn,@function
15fn:
16.La:
17 .long 1
18 .long 2
19.Lb:
20 .size fn,.Lb-.La
21
22 .section .gcc_except_table,"aw",@progbits
23 .long 2
24 .long .La
25 .long .Lb-.La
26
27 .section .eh_frame,"aw",@progbits
28.Lframe1:
29 .long .LECIE1-.LSCIE1
30.LSCIE1:
31 .long 0x0
32 .byte 0x1
33 .byte 0
34 .uleb128 0x1
35 .sleb128 -4
36 .byte 0
37 .p2align 2
38.LECIE1:
39
40.LSFDE1:
41 .long .LEFDE1-.LASFDE1
42.LASFDE1:
43 .long .LASFDE1-.Lframe1
44 .long .La
45 .long .Lb-.La
46 .p2align 2
47.LEFDE1:
48