Import binutils 2.18
[nacl-binutils.git] / ld / testsuite / ld-linkonce / x.s
blobd07f73eefe50ed26710707580da3bf1e700f30c4
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.
6 .text
7 .global _start
8 _start:
9 .long fn
10 .long fn2
12 .section .gnu.linkonce.t.fn,"ax",@progbits
13 .weak fn
14 .type fn,@function
15 fn:
16 .La:
17 .long 1
18 .long 2
19 .Lb:
20 .size fn,.Lb-.La
22 .section .gcc_except_table,"aw",@progbits
23 .long 2
24 .long .La
25 .long .Lb-.La
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:
40 .LSFDE1:
41 .long .LEFDE1-.LASFDE1
42 .LASFDE1:
43 .long .LASFDE1-.Lframe1
44 .long .La
45 .long .Lb-.La
46 .p2align 2
47 .LEFDE1: