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
43 43

  
44 44
#if (defined(__linux__) || defined(__FreeBSD__)) && defined(__ELF__)
45 45
.section .note.GNU-stack,"",%progbits
46
.section .note.gnu.property,"a"
47
	.p2align 3
48
	.long 1f - 0f
49
	.long 4f - 1f
50
	.long 5
51
0:
52
	.asciz "GNU"
53
1:
54
	.p2align 3
55
	.long 0xc0000002
56
	.long 3f - 2f
57
2:
58
	.long 3
59
3:
60
	.p2align 3
61
4:
46 62
#endif
coroutine/arm32/Context.S
30 30

  
31 31
#if defined(__linux__) && defined(__ELF__)
32 32
.section .note.GNU-stack,"",%progbits
33
.section .note.gnu.property,"a"
34
	.p2align 2
35
	.long 1f - 0f
36
	.long 4f - 1f
37
	.long 5
38
0:
39
	.asciz "GNU"
40
1:
41
	.p2align 2
42
	.long 0xc0000002
43
	.long 3f - 2f
44
2:
45
	.long 3
46
3:
47
	.p2align 2
48
4:
33 49
#endif
coroutine/arm64/Context.S
70 70

  
71 71
#if defined(__linux__) && defined(__ELF__)
72 72
.section .note.GNU-stack,"",%progbits
73
.section .note.gnu.property,"a"
74
	.p2align 3
75
	.long 1f - 0f
76
	.long 4f - 1f
77
	.long 5
78
0:
79
	.asciz "GNU"
80
1:
81
	.p2align 3
82
	.long 0xc0000002
83
	.long 3f - 2f
84
2:
85
	.long 3
86
3:
87
	.p2align 3
88
4:
73 89
#endif
coroutine/ppc64le/Context.S
72 72

  
73 73
#if defined(__linux__) && defined(__ELF__)
74 74
.section .note.GNU-stack,"",%progbits
75
.section .note.gnu.property,"a"
76
	.p2align 3
77
	.long 1f - 0f
78
	.long 4f - 1f
79
	.long 5
80
0:
81
	.asciz "GNU"
82
1:
83
	.p2align 3
84
	.long 0xc0000002
85
	.long 3f - 2f
86
2:
87
	.long 3
88
3:
89
	.p2align 3
90
4:
75 91
#endif
coroutine/riscv64/Context.S
84 84

  
85 85
#if defined(__linux__) && defined(__ELF__)
86 86
.section .note.GNU-stack,"",%progbits
87
.section .note.gnu.property,"a"
88
	.p2align 3
89
	.long 1f - 0f
90
	.long 4f - 1f
91
	.long 5
92
0:
93
	.asciz "GNU"
94
1:
95
	.p2align 3
96
	.long 0xc0000002
97
	.long 3f - 2f
98
2:
99
	.long 3
100
3:
101
	.p2align 3
102
4:
87 103
#endif
coroutine/x86/Context.S
39 39

  
40 40
#if (defined(__linux__) || defined(__FreeBSD__)) && defined(__ELF__)
41 41
.section .note.GNU-stack,"",%progbits
42
.section .note.gnu.property,"a"
43
	.p2align 2
44
	.long 1f - 0f
45
	.long 4f - 1f
46
	.long 5
47
0:
48
	.asciz "GNU"
49
1:
50
	.p2align 2
51
	.long 0xc0000002
52
	.long 3f - 2f
53
2:
54
	.long 3
55
3:
56
	.p2align 2
57
4:
42 58
#endif