]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - ld/testsuite/ld-linkonce/y.s
Import the binutils-2_15-branch from the sourceware CVS repository,
[FreeBSD/FreeBSD.git] / ld / testsuite / ld-linkonce / y.s
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 ;# .eh_frame to the linkonce-excluded fn2 must be zero, or g++
6 ;# EH will not work.
7
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
16
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
25
26  .section .eh_frame,"aw",@progbits
27  .long 7
28  .long .Lc
29  .long .Ld-.Lc
30
31  .long 0x6066
32  .long .Le
33  .long .Lf-.Le