Magellan Linux

Annotation of /trunk/libsdl/patches/libsdl-1.2.9-no-exec-stack.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 144 - (hide annotations) (download)
Tue May 8 20:06:05 2007 UTC (17 years, 1 month ago) by niro
File size: 1146 byte(s)
-import

1 niro 144 Fixes from the PaX team to eliminate executable stack markings
2    
3     --- src/hermes/mmx_main.asm
4     +++ src/hermes/mmx_main.asm
5     @@ -70,5 +68,6 @@ endconvert:
6    
7     ret
8    
9     -
10     -
11     +%ifidn __OUTPUT_FORMAT__,elf
12     +section .note.GNU-stack noalloc noexec nowrite progbits
13     +%endif
14     --- src/hermes/mmxp2_32.asm
15     +++ src/hermes/mmxp2_32.asm
16     @@ -381,6 +381,7 @@ _convert_bgr555_cheat:
17    
18     .L4:
19     jmp _mmxreturn
20    
21     -
22     -
23     +%ifidn __OUTPUT_FORMAT__,elf
24     +section .note.GNU-stack noalloc noexec nowrite progbits
25     +%endif
26     --- src/hermes/x86_main.asm
27     +++ src/hermes/x86_main.asm
28     @@ -123,3 +123,7 @@ _Hermes_X86_CPU:
29    
30     .L1:
31     ret
32     +
33     +%ifidn __OUTPUT_FORMAT__,elf
34     +section .note.GNU-stack noalloc noexec nowrite progbits
35     +%endif
36     --- src/hermes/x86p_16.asm
37     +++ src/hermes/x86p_16.asm
38     @@ -494,3 +494,6 @@ _ConvertX86p16_8RGB332:
39     .L7 pop ebp
40     jmp _x86return
41    
42     +%ifidn __OUTPUT_FORMAT__,elf
43     +section .note.GNU-stack noalloc noexec nowrite progbits
44     +%endif
45     --- src/hermes/x86p_32.asm
46     +++ src/hermes/x86p_32.asm
47     @@ -1041,3 +1041,7 @@ _ConvertX86p32_8RGB332:
48    
49     .L4:
50     jmp _x86return
51     +
52     +%ifidn __OUTPUT_FORMAT__,elf
53     +section .note.GNU-stack noalloc noexec nowrite progbits
54     +%endif