Try to avoid future problems caused by implicit section flags and/or type information by instituting a policy that all .section declarations must explicitly state the flags and type. Most of this change was achieved using perl -pi \ -e 's/".text"$/".text", "ax", \@progbits/ ; ' \ -e 's/".text16"$/".text16", "ax", \@progbits/ ; ' \ -e 's/".text16.null"$/".text16.null", "ax", \@progbits/ ; ' \ -e 's/".text16.data"$/".text16.data", "aw", \@progbits/ ; ' \ -e 's/".data"$/".data", "aw", \@progbits/ ; ' \ -e 's/".data16"$/".data16", "aw", \@progbits/ ; ' \ -e 's/".bss"$/".bss", "aw", \@nobits/ ; ' \ -e 's/".bss16"$/".bss16", "aw", \@nobits/ ; ' \ -e 's/".prefix"$/".prefix", "ax", \@progbits/ ; ' \ -e 's/".prefix.lib"$/".prefix.lib", "awx", \@progbits/ ; ' \ -e 's/".prefix.data"$/".prefix.data", "aw", \@progbits/ ; ' \ -e 's/".weak"$/".weak", "a", \@nobits/ ; ' \ `git grep -l '\.section'`tags/v0.9.7
|
||
11 | 11 |
|
12 | 12 |
|
13 | 13 |
|
14 |
|
|
14 |
|
|
15 | 15 |
|
16 | 16 |
|
17 | 17 |
|
|
||
68 | 68 |
|
69 | 69 |
|
70 | 70 |
|
71 |
|
|
71 |
|
|
72 | 72 |
|
73 | 73 |
|
74 | 74 |
|
|
||
100 | 100 |
|
101 | 101 |
|
102 | 102 |
|
103 |
|
|
103 |
|
|
104 | 104 |
|
105 | 105 |
|
106 | 106 |
|
|
||
10 | 10 |
|
11 | 11 |
|
12 | 12 |
|
13 |
|
|
14 |
|
|
15 | 13 |
|
16 | 14 |
|
17 |
|
|
15 |
|
|
18 | 16 |
|
19 | 17 |
|
20 | 18 |
|
|
||
75 | 73 |
|
76 | 74 |
|
77 | 75 |
|
78 |
|
|
76 |
|
|
79 | 77 |
|
80 | 78 |
|
81 | 79 |
|
|
||
18 | 18 |
|
19 | 19 |
|
20 | 20 |
|
21 |
|
|
22 |
|
|
23 |
|
|
24 | 21 |
|
25 | 22 |
|
26 | 23 |
|
|
||
62 | 59 |
|
63 | 60 |
|
64 | 61 |
|
65 |
|
|
62 |
|
|
66 | 63 |
|
67 | 64 |
|
68 | 65 |
|
|
||
94 | 91 |
|
95 | 92 |
|
96 | 93 |
|
97 |
|
|
94 |
|
|
98 | 95 |
|
99 | 96 |
|
100 | 97 |
|
|
||
132 | 129 |
|
133 | 130 |
|
134 | 131 |
|
135 |
|
|
132 |
|
|
136 | 133 |
|
137 | 134 |
|
138 | 135 |
|
|
||
162 | 159 |
|
163 | 160 |
|
164 | 161 |
|
165 |
|
|
162 |
|
|
166 | 163 |
|
167 | 164 |
|
168 | 165 |
|
|
||
193 | 190 |
|
194 | 191 |
|
195 | 192 |
|
196 |
|
|
193 |
|
|
197 | 194 |
|
198 | 195 |
|
199 | 196 |
|
|
||
219 | 216 |
|
220 | 217 |
|
221 | 218 |
|
222 |
|
|
219 |
|
|
223 | 220 |
|
224 | 221 |
|
225 | 222 |
|
|
||
308 | 305 |
|
309 | 306 |
|
310 | 307 |
|
311 |
|
|
308 |
|
|
312 | 309 |
|
313 | 310 |
|
314 | 311 |
|
315 | 312 |
|
316 |
|
|
313 |
|
|
317 | 314 |
|
318 | 315 |
|
319 | 316 |
|
320 | 317 |
|
321 |
|
|
318 |
|
|
322 | 319 |
|
323 | 320 |
|
324 | 321 |
|
325 | 322 |
|
326 |
|
|
323 |
|
|
327 | 324 |
|
328 | 325 |
|
329 | 326 |
|
|
||
342 | 339 |
|
343 | 340 |
|
344 | 341 |
|
345 |
|
|
342 |
|
|
346 | 343 |
|
347 | 344 |
|
348 | 345 |
|
|
||
417 | 414 |
|
418 | 415 |
|
419 | 416 |
|
420 |
|
|
417 |
|
|
421 | 418 |
|
422 | 419 |
|
423 | 420 |
|
|
||
462 | 459 |
|
463 | 460 |
|
464 | 461 |
|
465 |
|
|
462 |
|
|
466 | 463 |
|
467 | 464 |
|
468 | 465 |
|
|
||
496 | 493 |
|
497 | 494 |
|
498 | 495 |
|
499 |
|
|
496 |
|
|
500 | 497 |
|
501 | 498 |
|
502 | 499 |
|
|
||
510 | 507 |
|
511 | 508 |
|
512 | 509 |
|
513 |
|
|
510 |
|
|
514 | 511 |
|
515 | 512 |
|
516 | 513 |
|
|
||
536 | 533 |
|
537 | 534 |
|
538 | 535 |
|
539 |
|
|
536 |
|
|
540 | 537 |
|
541 | 538 |
|
542 | 539 |
|
|
||
557 | 554 |
|
558 | 555 |
|
559 | 556 |
|
560 |
|
|
557 |
|
|
561 | 558 |
|
562 | 559 |
|
563 | 560 |
|
|
||
580 | 577 |
|
581 | 578 |
|
582 | 579 |
|
583 |
|
|
580 |
|
|
584 | 581 |
|
585 | 582 |
|
586 | 583 |
|
|
||
18 | 18 |
|
19 | 19 |
|
20 | 20 |
|
21 |
|
|
22 |
|
|
23 |
|
|
24 | 21 |
|
25 | 22 |
|
26 | 23 |
|
27 | 24 |
|
28 | 25 |
|
29 |
|
|
26 |
|
|
30 | 27 |
|
31 | 28 |
|
32 | 29 |
|
|
||
56 | 53 |
|
57 | 54 |
|
58 | 55 |
|
59 |
|
|
56 |
|
|
60 | 57 |
|
61 | 58 |
|
62 | 59 |
|
|
||
64 | 61 |
|
65 | 62 |
|
66 | 63 |
|
67 |
|
|
64 |
|
|
68 | 65 |
|
69 | 66 |
|
70 | 67 |
|
|
||
108 | 105 |
|
109 | 106 |
|
110 | 107 |
|
111 |
|
|
108 |
|
|
112 | 109 |
|
113 | 110 |
|
114 | 111 |
|
115 | 112 |
|
116 |
|
|
113 |
|
|
117 | 114 |
|
118 | 115 |
|
119 | 116 |
|
|
||
137 | 134 |
|
138 | 135 |
|
139 | 136 |
|
140 |
|
|
137 |
|
|
141 | 138 |
|
142 | 139 |
|
143 | 140 |
|
|
||
186 | 183 |
|
187 | 184 |
|
188 | 185 |
|
189 |
|
|
186 |
|
|
190 | 187 |
|
191 | 188 |
|
192 | 189 |
|
|
||
205 | 202 |
|
206 | 203 |
|
207 | 204 |
|
208 |
|
|
205 |
|
|
209 | 206 |
|
210 | 207 |
|
|
||
18 | 18 |
|
19 | 19 |
|
20 | 20 |
|
21 |
|
|
22 |
|
|
23 | 21 |
|
24 | 22 |
|
25 | 23 |
|
|
||
53 | 51 |
|
54 | 52 |
|
55 | 53 |
|
56 |
|
|
54 |
|
|
57 | 55 |
|
58 | 56 |
|
59 | 57 |
|
|
||
93 | 91 |
|
94 | 92 |
|
95 | 93 |
|
96 |
|
|
94 |
|
|
97 | 95 |
|
98 | 96 |
|
99 | 97 |
|
|
||
123 | 121 |
|
124 | 122 |
|
125 | 123 |
|
126 |
|
|
124 |
|
|
127 | 125 |
|
128 | 126 |
|
129 | 127 |
|
|
||
171 | 169 |
|
172 | 170 |
|
173 | 171 |
|
174 |
|
|
172 |
|
|
175 | 173 |
|
176 | 174 |
|
177 | 175 |
|
|
||
208 | 206 |
|
209 | 207 |
|
210 | 208 |
|
211 |
|
|
209 |
|
|
212 | 210 |
|
213 | 211 |
|
214 | 212 |
|
|
||
256 | 254 |
|
257 | 255 |
|
258 | 256 |
|
259 |
|
|
257 |
|
|
260 | 258 |
|
261 | 259 |
|
262 | 260 |
|
|
||
279 | 277 |
|
280 | 278 |
|
281 | 279 |
|
282 |
|
|
280 |
|
|
283 | 281 |
|
284 | 282 |
|
285 | 283 |
|
|
||
288 | 286 |
|
289 | 287 |
|
290 | 288 |
|
291 |
|
|
289 |
|
|
292 | 290 |
|
293 | 291 |
|
294 | 292 |
|
|
||
411 | 409 |
|
412 | 410 |
|
413 | 411 |
|
414 |
|
|
412 |
|
|
415 | 413 |
|
416 | 414 |
|
417 | 415 |
|
|
||
436 | 434 |
|
437 | 435 |
|
438 | 436 |
|
439 |
|
|
437 |
|
|
440 | 438 |
|
441 | 439 |
|
442 | 440 |
|
|
||
533 | 531 |
|
534 | 532 |
|
535 | 533 |
|
536 |
|
|
534 |
|
|
537 | 535 |
|
538 | 536 |
|
539 | 537 |
|
|
||
581 | 579 |
|
582 | 580 |
|
583 | 581 |
|
584 |
|
|
582 |
|
|
585 | 583 |
|
586 | 584 |
|
587 | 585 |
|
|
||
613 | 611 |
|
614 | 612 |
|
615 | 613 |
|
616 |
|
|
614 |
|
|
617 | 615 |
|
618 | 616 |
|
619 | 617 |
|
|
||
633 | 631 |
|
634 | 632 |
|
635 | 633 |
|
636 |
|
|
634 |
|
|
637 | 635 |
|
638 | 636 |
|
639 | 637 |
|
|
||
668 | 666 |
|
669 | 667 |
|
670 | 668 |
|
671 |
|
|
669 |
|
|
672 | 670 |
|
673 | 671 |
|
674 | 672 |
|
|
||
750 | 748 |
|
751 | 749 |
|
752 | 750 |
|
753 |
|
|
751 |
|
|
754 | 752 |
|
755 | 753 |
|
756 | 754 |
|
|
||
781 | 779 |
|
782 | 780 |
|
783 | 781 |
|
784 |
|
|
782 |
|
|
785 | 783 |
|
786 | 784 |
|
787 | 785 |
|
|
||
1 | 1 |
|
2 | 2 |
|
3 |
|
|
4 |
|
|
5 | 3 |
|
6 |
|
|
4 |
|
|
7 | 5 |
|
8 | 6 |
|
9 | 7 |
|
|
||
6 | 6 |
|
7 | 7 |
|
8 | 8 |
|
9 |
|
|
10 |
|
|
11 | 9 |
|
12 | 10 |
|
13 | 11 |
|
|
||
16 | 14 |
|
17 | 15 |
|
18 | 16 |
|
19 |
|
|
17 |
|
|
20 | 18 |
|
21 | 19 |
|
22 | 20 |
|
|
||
39 | 37 |
|
40 | 38 |
|
41 | 39 |
|
42 |
|
|
40 |
|
|
43 | 41 |
|
44 | 42 |
|
45 | 43 |
|
|
||
70 | 68 |
|
71 | 69 |
|
72 | 70 |
|
73 |
|
|
71 |
|
|
74 | 72 |
|
75 | 73 |
|
76 | 74 |
|
|
||
108 | 106 |
|
109 | 107 |
|
110 | 108 |
|
111 |
|
|
109 |
|
|
112 | 110 |
|
113 | 111 |
|
114 | 112 |
|
|
||
131 | 129 |
|
132 | 130 |
|
133 | 131 |
|
134 |
|
|
132 |
|
|
135 | 133 |
|
136 | 134 |
|
137 | 135 |
|
|
||
169 | 167 |
|
170 | 168 |
|
171 | 169 |
|
172 |
|
|
170 |
|
|
173 | 171 |
|
174 | 172 |
|
175 | 173 |
|
|
||
177 | 175 |
|
178 | 176 |
|
179 | 177 |
|
180 |
|
|
178 |
|
|
181 | 179 |
|
182 | 180 |
|
183 | 181 |
|
|
||
185 | 183 |
|
186 | 184 |
|
187 | 185 |
|
188 |
|
|
186 |
|
|
189 | 187 |
|
190 | 188 |
|
191 | 189 |
|
|
||
199 | 197 |
|
200 | 198 |
|
201 | 199 |
|
202 |
|
|
200 |
|
|
203 | 201 |
|
204 | 202 |
|
205 | 203 |
|
|
||
233 | 231 |
|
234 | 232 |
|
235 | 233 |
|
236 |
|
|
234 |
|
|
237 | 235 |
|
238 | 236 |
|
239 | 237 |
|
|
||
241 | 239 |
|
242 | 240 |
|
243 | 241 |
|
244 |
|
|
242 |
|
|
245 | 243 |
|
246 | 244 |
|
247 | 245 |
|
|
||
308 | 306 |
|
309 | 307 |
|
310 | 308 |
|
311 |
|
|
309 |
|
|
312 | 310 |
|
313 | 311 |
|
314 | 312 |
|
|
||
503 | 501 |
|
504 | 502 |
|
505 | 503 |
|
506 |
|
|
504 |
|
|
507 | 505 |
|
508 | 506 |
|
509 | 507 |
|
|
||
19 | 19 |
|
20 | 20 |
|
21 | 21 |
|
22 |
|
|
23 |
|
|
24 |
|
|
25 | 22 |
|
26 | 23 |
|
27 | 24 |
|
|
||
47 | 44 |
|
48 | 45 |
|
49 | 46 |
|
50 |
|
|
47 |
|
|
51 | 48 |
|
52 | 49 |
|
53 | 50 |
|
|
||
99 | 96 |
|
100 | 97 |
|
101 | 98 |
|
102 |
|
|
99 |
|
|
103 | 100 |
|
104 | 101 |
|
105 | 102 |
|
|
||
149 | 146 |
|
150 | 147 |
|
151 | 148 |
|
152 |
|
|
149 |
|
|
153 | 150 |
|
154 | 151 |
|
155 | 152 |
|
|
||
177 | 174 |
|
178 | 175 |
|
179 | 176 |
|
180 |
|
|
177 |
|
|
181 | 178 |
|
182 | 179 |
|
183 | 180 |
|
|
||
209 | 206 |
|
210 | 207 |
|
211 | 208 |
|
212 |
|
|
209 |
|
|
213 | 210 |
|
214 | 211 |
|
215 | 212 |
|
|
||
240 | 237 |
|
241 | 238 |
|
242 | 239 |
|
243 |
|
|
240 |
|
|
244 | 241 |
|
245 | 242 |
|
246 | 243 |
|
|
||
266 | 263 |
|
267 | 264 |
|
268 | 265 |
|
269 |
|
|
266 |
|
|
270 | 267 |
|
271 | 268 |
|
272 | 269 |
|
|
||
296 | 293 |
|
297 | 294 |
|
298 | 295 |
|
299 |
|
|
296 |
|
|
300 | 297 |
|
301 | 298 |
|
302 | 299 |
|
|
||
328 | 325 |
|
329 | 326 |
|
330 | 327 |
|
331 |
|
|
328 |
|
|
332 | 329 |
|
333 | 330 |
|
334 | 331 |
|
335 | 332 |
|
336 | 333 |
|
337 |
|
|
334 |
|
|
338 | 335 |
|
339 | 336 |
|
340 | 337 |
|
|
||
378 | 375 |
|
379 | 376 |
|
380 | 377 |
|
381 |
|
|
378 |
|
|
382 | 379 |
|
383 | 380 |
|
384 | 381 |
|
|
||
403 | 400 |
|
404 | 401 |
|
405 | 402 |
|
406 |
|
|
403 |
|
|
407 | 404 |
|
408 | 405 |
|
409 | 406 |
|
|
||
419 | 416 |
|
420 | 417 |
|
421 | 418 |
|
422 |
|
|
419 |
|
|
423 | 420 |
|
424 | 421 |
|
425 | 422 |
|
|
||
475 | 472 |
|
476 | 473 |
|
477 | 474 |
|
478 |
|
|
475 |
|
|
479 | 476 |
|
480 | 477 |
|
481 | 478 |
|
|
||
487 | 484 |
|
488 | 485 |
|
489 | 486 |
|
490 |
|
|
487 |
|
|
491 | 488 |
|
492 | 489 |
|
493 | 490 |
|
|
||
503 | 500 |
|
504 | 501 |
|
505 | 502 |
|
506 |
|
|
503 |
|
|
507 | 504 |
|
508 | 505 |
|
509 | 506 |
|
|
||
514 | 511 |
|
515 | 512 |
|
516 | 513 |
|
517 |
|
|
514 |
|
|
518 | 515 |
|
519 | 516 |
|
520 | 517 |
|
|
||
551 | 548 |
|
552 | 549 |
|
553 | 550 |
|
554 |
|
|
551 |
|
|
555 | 552 |
|
556 | 553 |
|
557 | 554 |
|
|
||
567 | 564 |
|
568 | 565 |
|
569 | 566 |
|
570 |
|
|
567 |
|
|
571 | 568 |
|
572 | 569 |
|
573 | 570 |
|
574 | 571 |
|
575 | 572 |
|
576 |
|
|
573 |
|
|
577 | 574 |
|
578 | 575 |
|
579 | 576 |
|
|
||
1 |
|
|
1 |
|
|
2 | 2 |
|
3 | 3 |
|
4 | 4 |
|
|
||
1 | 1 |
|
2 | 2 |
|
3 |
|
|
3 |
|
|
4 | 4 |
|
5 | 5 |
|
6 | 6 |
|
7 |
|
|
7 |
|
|
8 | 8 |
|
9 | 9 |
|
10 | 10 |
|