2018-09-01 00:25:31 +08:00
|
|
|
.section __sancov_cntrs,"aG",%progbits,foo1,comdat
|
|
|
|
.long 0
|
|
|
|
.section .text,"axG",%progbits,foo1,comdat
|
2018-09-03 09:19:57 +08:00
|
|
|
.ifdef UNDERSCORE
|
2018-09-01 00:25:31 +08:00
|
|
|
.globl _foo1
|
|
|
|
.type _foo1, %function
|
|
|
|
_foo1:
|
2018-09-03 09:19:57 +08:00
|
|
|
.else
|
2018-09-01 00:25:31 +08:00
|
|
|
.globl foo1
|
|
|
|
.type foo1, %function
|
|
|
|
foo1:
|
2018-09-03 09:19:57 +08:00
|
|
|
.endif
|
2018-09-01 00:25:31 +08:00
|
|
|
.long 0
|
|
|
|
.section __sancov_cntrs,"aG",%progbits,foo2,comdat
|
|
|
|
.long 1
|
|
|
|
.section .text,"axG",%progbits,foo2,comdat
|
2018-09-03 09:19:57 +08:00
|
|
|
.ifdef UNDERSCORE
|
2018-09-01 00:25:31 +08:00
|
|
|
.globl _foo2
|
|
|
|
.type _foo2, %function
|
|
|
|
_foo2:
|
|
|
|
.long 1
|
2018-09-03 09:19:57 +08:00
|
|
|
.else
|
2018-09-01 00:25:31 +08:00
|
|
|
.globl foo2
|
|
|
|
.type foo2, %function
|
|
|
|
foo2:
|
2018-09-03 09:19:57 +08:00
|
|
|
.endif
|