Upload Tizen:Base source
[external/binutils.git] / ld / testsuite / ld-mmix / 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 ;# .gcc_except_table to the linkonce-excluded fn2 must be zero,
6 ;# or g++ EH will not work.
7
8  .section .gnu.linkonce.t.fn2,"ax",@progbits
9  .weak fn2
10  .type fn2,@function
11 fn2:
12 L:c:
13  .long 3
14 L:d:
15  .size fn2,L:d-L:c
16
17  .section .gnu.linkonce.t.fn,"ax",@progbits
18  .weak fn
19  .type fn,@function
20 fn:
21 L:e:
22  .long 4
23 L:f:
24  .size fn,L:f-L:e
25
26  .section .gcc_except_table,"aw",@progbits
27  .long 7
28  .long L:c
29  .long L:d-L:c
30
31  .long 0x6066
32  .long L:e
33  .long L:f-L:e