Re: ld: Lookup section in output with the same name
[external/binutils.git] / ld / testsuite / ld-elf / pr23591c.s
1         .section        __sancov_cntrs,"aG",%progbits,foo1,comdat
2         .long 0
3         .section .text,"axG",%progbits,foo1,comdat
4  .ifdef UNDERSCORE
5         .globl _foo1
6         .type _foo1, %function
7 _foo1:
8  .else
9         .globl foo1
10         .type foo1, %function
11 foo1:
12  .endif
13         .long 0
14         .section        __sancov_cntrs,"aG",%progbits,foo2,comdat
15         .long 1
16         .section .text,"axG",%progbits,foo2,comdat
17  .ifdef UNDERSCORE
18         .globl _foo2
19         .type _foo2, %function
20 _foo2:
21         .long 1
22  .else
23         .globl foo2
24         .type foo2, %function
25 foo2:
26  .endif