File: z08-non-exec-stack

package info (click to toggle)
glide 2002.04.10ds1-16
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 59,540 kB
  • sloc: ansic: 290,125; asm: 23,305; sh: 8,089; pascal: 3,854; makefile: 1,276; perl: 73
file content (230 lines) | stat: -rw-r--r-- 5,014 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
---
 glide2x/cvg/glide/src/cpudtect.S   |    3 +++
 glide2x/cvg/glide/src/xdraw2.S     |    4 ++++
 glide2x/cvg/glide/src/xdraw2.gasp  |    4 ++++
 glide2x/cvg/glide/src/xdraw2.inc.S |    4 ++++
 glide2x/h3/glide/src/cpudtect.S    |    2 ++
 glide2x/h3/glide/src/xdraw2.S      |    2 ++
 glide2x/h3/glide/src/xdraw2.inc.S  |    3 +++
 glide2x/h3/glide/src/xtexdl.S      |    2 ++
 glide3x/h3/glide3/src/cpudtect.S   |    3 +++
 glide3x/h3/glide3/src/xdraw2.S     |    2 ++
 glide3x/h3/glide3/src/xdraw2.inc.S |    3 +++
 glide3x/h3/glide3/src/xdraw3.S     |    2 ++
 glide3x/h3/glide3/src/xtexdl.S     |    2 ++
 glide3x/h5/glide3/src/cpudtect.s   |    2 ++
 glide3x/h5/glide3/src/xdraw2.inc.s |    3 +++
 glide3x/h5/glide3/src/xdraw2.s     |    2 ++
 glide3x/h5/glide3/src/xdraw3.s     |    2 ++
 glide3x/h5/glide3/src/xtexdl.s     |    2 ++
 18 files changed, 47 insertions(+)

--- a/glide3x/h3/glide3/src/cpudtect.S
+++ b/glide3x/h3/glide3/src/cpudtect.S
@@ -48,6 +48,9 @@
 /*  2     3/04/97 9:10p Dow */
 /*  Neutered mutiplatform multiheaded monster. */
 
+.section .note.GNU-stack, "", @progbits
+.previous
+
 #ifdef __ia64__
 
 	.align 32
--- a/glide3x/h3/glide3/src/xdraw2.inc.S
+++ b/glide3x/h3/glide3/src/xdraw2.inc.S
@@ -58,6 +58,9 @@
 
 .file "xdraw2.inc.S"
 
+.section .note.GNU-stack, "", @progbits
+.previous
+
 
 #ifndef XDRAW2_FIFO_MACROS
 #define XDRAW2_FIFO_MACROS
--- a/glide3x/h3/glide3/src/xdraw2.S
+++ b/glide3x/h3/glide3/src/xdraw2.S
@@ -96,6 +96,8 @@
 /*  Definitions of cvg regs and glide root structures. */
 #include "fxgasm.h"
 
+.section .note.GNU-stack, "", @progbits
+.previous
 
 .data
 	.type	One,@object
--- a/glide3x/h3/glide3/src/xdraw3.S
+++ b/glide3x/h3/glide3/src/xdraw3.S
@@ -20,6 +20,8 @@
 
 .file "xdraw3.asm"
 
+.section .note.GNU-stack, "", @progbits
+.previous
 
 #ifdef GL_AMD3D
 
--- a/glide3x/h3/glide3/src/xtexdl.S
+++ b/glide3x/h3/glide3/src/xtexdl.S
@@ -67,6 +67,8 @@
 
 .file "xtexdl.asm"
 
+.section .note.GNU-stack, "", @progbits
+.previous
 
 #ifdef USE_PACKET_FIFO
 #endif
--- a/glide3x/h5/glide3/src/cpudtect.s
+++ b/glide3x/h5/glide3/src/cpudtect.s
@@ -57,6 +57,8 @@
 /*   */
 /*  2     3/04/97 9:10p Dow */
 
+.section .note.GNU-stack, "", @progbits
+.previous
 
 #ifdef __ia64__
 
--- a/glide3x/h5/glide3/src/xdraw2.inc.s
+++ b/glide3x/h5/glide3/src/xdraw2.inc.s
@@ -72,6 +72,9 @@
 /*  1     7/07/97 8:37a Jdt */
 /*  B4 Chip field fix. */
 
+.section .note.GNU-stack, "", @progbits
+.previous
+
 #ifdef GL_AMD3D
 
 /* --------------------------------------------------------------------------- */
--- a/glide3x/h5/glide3/src/xdraw2.s
+++ b/glide3x/h5/glide3/src/xdraw2.s
@@ -122,6 +122,8 @@
 /*  Definitions of cvg regs and glide root structures. */
 #include "fxgasm.h"
 
+.section .note.GNU-stack, "", @progbits
+.previous
 
 #ifdef HAL_CSIM
 #endif
--- a/glide3x/h5/glide3/src/xdraw3.s
+++ b/glide3x/h5/glide3/src/xdraw3.s
@@ -20,6 +20,8 @@
 
 .file "xdraw3.asm"
 
+.section .note.GNU-stack, "", @progbits
+.previous
 
 #ifdef GL_AMD3D
 
--- a/glide3x/h5/glide3/src/xtexdl.s
+++ b/glide3x/h5/glide3/src/xtexdl.s
@@ -82,6 +82,8 @@
 
 .file "xtexdl.asm"
 
+.section .note.GNU-stack, "", @progbits
+.previous
 
 #ifdef USE_PACKET_FIFO
 #endif
--- a/glide2x/cvg/glide/src/cpudtect.S
+++ b/glide2x/cvg/glide/src/cpudtect.S
@@ -33,6 +33,9 @@
 
 .file  "cpudtect.s"
 
+.section .note.GNU-stack, "", @progbits
+.previous
+
 # 586P
 # model FLAT,C
 
--- a/glide2x/cvg/glide/src/xdraw2.gasp
+++ b/glide2x/cvg/glide/src/xdraw2.gasp
@@ -58,6 +58,10 @@
 	##
 
 	.file   "xdraw2.s"
+
+.section .note.GNU-stack, "", @progbits
+.previous
+
 	#OPTION OLDSTRUCTS       
 	# 586P
 
--- a/glide2x/cvg/glide/src/xdraw2.inc.S
+++ b/glide2x/cvg/glide/src/xdraw2.inc.S
@@ -41,6 +41,10 @@
 ##
 
 .file "xdraw2.inc.s"
+
+.section .note.GNU-stack, "", @progbits
+.previous
+
 #.586P
         
 #EXTRN   _GlideRoot:DWORD
--- a/glide2x/cvg/glide/src/xdraw2.S
+++ b/glide2x/cvg/glide/src/xdraw2.S
@@ -58,6 +58,10 @@
 ##
 
 .file   "xdraw2.s"
+
+.section .note.GNU-stack, "", @progbits
+.previous
+
 #OPTION OLDSTRUCTS       
 # 586P
 
--- a/glide2x/h3/glide/src/cpudtect.S
+++ b/glide2x/h3/glide/src/cpudtect.S
@@ -50,6 +50,8 @@
 
 .file "cpudtect.asm"
 
+.section .note.GNU-stack, "", @progbits
+.previous
 
 /*       Data for data segment goes here */
 /* _DATA   SEGMENT DWORD USE32 PUBLIC 'DATA'  */
--- a/glide2x/h3/glide/src/xdraw2.inc.S
+++ b/glide2x/h3/glide/src/xdraw2.inc.S
@@ -41,6 +41,9 @@
 
 .file "xdraw2.inc"
 
+.section .note.GNU-stack, "", @progbits
+.previous
+
 #ifndef GR_FIFO_WRITE_MACRO
 #define GR_FIFO_WRITE_MACRO
 .MACRO	GR_FIFO_WRITE __addr __offset __data
--- a/glide2x/h3/glide/src/xdraw2.S
+++ b/glide2x/h3/glide/src/xdraw2.S
@@ -66,6 +66,8 @@
 .file "xdraw2.asm"
 	
 
+.section .note.GNU-stack, "", @progbits
+.previous
 
 .data
 	.type	One,@object
--- a/glide2x/h3/glide/src/xtexdl.S
+++ b/glide2x/h3/glide/src/xtexdl.S
@@ -61,6 +61,8 @@
 
 .file "xtexdl.asm"
 
+.section .note.GNU-stack, "", @progbits
+.previous
 
 #ifdef USE_PACKET_FIFO
 #endif