Project

General

Profile

Bug #18061 » 0001-Add-.note.gnu.property-sections.patch

nobu (Nobuyoshi Nakada), 08/06/2021 12:26 PM

View differences:

coroutine/amd64/Context.S
#if (defined(__linux__) || defined(__FreeBSD__)) && defined(__ELF__)
.section .note.GNU-stack,"",%progbits
.section .note.gnu.property,"a"
.p2align 3
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.asciz "GNU"
1:
.p2align 3
.long 0xc0000002
.long 3f - 2f
2:
.long 3
3:
.p2align 3
4:
#endif
coroutine/arm32/Context.S
#if defined(__linux__) && defined(__ELF__)
.section .note.GNU-stack,"",%progbits
.section .note.gnu.property,"a"
.p2align 2
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.asciz "GNU"
1:
.p2align 2
.long 0xc0000002
.long 3f - 2f
2:
.long 3
3:
.p2align 2
4:
#endif
coroutine/arm64/Context.S
#if defined(__linux__) && defined(__ELF__)
.section .note.GNU-stack,"",%progbits
.section .note.gnu.property,"a"
.p2align 3
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.asciz "GNU"
1:
.p2align 3
.long 0xc0000002
.long 3f - 2f
2:
.long 3
3:
.p2align 3
4:
#endif
coroutine/ppc64le/Context.S
#if defined(__linux__) && defined(__ELF__)
.section .note.GNU-stack,"",%progbits
.section .note.gnu.property,"a"
.p2align 3
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.asciz "GNU"
1:
.p2align 3
.long 0xc0000002
.long 3f - 2f
2:
.long 3
3:
.p2align 3
4:
#endif
coroutine/riscv64/Context.S
#if defined(__linux__) && defined(__ELF__)
.section .note.GNU-stack,"",%progbits
.section .note.gnu.property,"a"
.p2align 3
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.asciz "GNU"
1:
.p2align 3
.long 0xc0000002
.long 3f - 2f
2:
.long 3
3:
.p2align 3
4:
#endif
coroutine/x86/Context.S
#if (defined(__linux__) || defined(__FreeBSD__)) && defined(__ELF__)
.section .note.GNU-stack,"",%progbits
.section .note.gnu.property,"a"
.p2align 2
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.asciz "GNU"
1:
.p2align 2
.long 0xc0000002
.long 3f - 2f
2:
.long 3
3:
.p2align 2
4:
#endif
(2-2/3)