daily update
[binutils.git] / ld / testsuite / ld-linkonce / y.s
blobc1eb5113998881675f6480aaaf26aa52b8007ddd
1 ;# Library file y.s has linkonce entries for fn and fn2. Note
2 ;# that this version of fn has different code, as if compiled
3 ;# with different optimization flags than the one in x.s (not
4 ;# important for this test, though). The reference from
5 ;# .gcc_except_table to the linkonce-excluded fn2 must be zero, or g++
6 ;# EH will not work.
8 .section .gnu.linkonce.t.fn2,"ax",@progbits
9 .weak fn2
10 .type fn2,@function
11 fn2:
12 .Lc:
13 .long 3
14 .Ld:
15 .size fn2,.Ld-.Lc
17 .section .gnu.linkonce.t.fn,"ax",@progbits
18 .weak fn
19 .type fn,@function
20 fn:
21 .Le:
22 .long 4
23 .Lf:
24 .size fn,.Lf-.Le
26 .section .gcc_except_table,"aw",@progbits
27 .long 7
28 .long .Lc
29 .long .Ld-.Lc
31 .long 0x6066
32 .long .Le
33 .long .Lf-.Le
35 .section .eh_frame,"aw",@progbits
36 .Lframe1:
37 .long .LECIE1-.LSCIE1
38 .LSCIE1:
39 .long 0x0
40 .byte 0x1
41 .byte 0
42 .uleb128 0x1
43 .sleb128 -4
44 .byte 0
45 .p2align 2
46 .LECIE1:
48 .LSFDE1:
49 .long .LEFDE1-.LASFDE1
50 .LASFDE1:
51 .long .LASFDE1-.Lframe1
52 .long .Lc
53 .long .Ld-.Lc
54 .p2align 2
55 .LEFDE1:
57 .LSFDE2:
58 .long .LEFDE2-.LASFDE2
59 .LASFDE2:
60 .long .LASFDE2-.Lframe1
61 .long .Le
62 .long .Lf-.Le
63 .p2align 2
64 .LEFDE2: