* elf.c (bfd_section_from_shdr): Remove extraneous breaks.
[binutils.git] / ld / testsuite / ld-linkonce / y.s
blobb8ae3d29643804d11a4b12ef0f7d8b82a06c9967
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.
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 .eh_frame,"aw",@progbits
27 .long 7
28 .long .Lc
29 .long .Ld-.Lc
31 .long 0x6066
32 .long .Le
33 .long .Lf-.Le