Mercurial > sdl-ios-xcode
comparison src/hermes/x86p_32.asm @ 1166:da33b7e6d181
Date: Tue, 1 Nov 2005 20:25:10 +0100
From: Dirk Mueller
Subject: [PATCH] build SDL with nonexecutable stack
libSDL is by default marked with an executable stack, which it doesn't
actually need. the reason for this is that there are assembler files in the
source tree not properly annotated with the "noexec stack" section. As such
the linker does a safe-fallback and marks the whole lib as "requires
executable stack".
the patch below removes this by adding annotations. As far as I can see it
shouldn't break anything.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 01 Nov 2005 23:19:59 +0000 |
parents | 74212992fb08 |
children | 2d6dc7de1145 |
comparison
equal
deleted
inserted
replaced
1165:4fa705cdecb9 | 1166:da33b7e6d181 |
---|---|
22 GLOBAL _ConvertX86p32_16RGB555 | 22 GLOBAL _ConvertX86p32_16RGB555 |
23 GLOBAL _ConvertX86p32_16BGR555 | 23 GLOBAL _ConvertX86p32_16BGR555 |
24 GLOBAL _ConvertX86p32_8RGB332 | 24 GLOBAL _ConvertX86p32_8RGB332 |
25 | 25 |
26 EXTERN _x86return | 26 EXTERN _x86return |
27 | 27 |
28 SECTION .note.GNU-stack noalloc progbits noexec nowrite | |
28 SECTION .text | 29 SECTION .text |
29 | 30 |
30 | 31 |
31 ;; _Convert_* | 32 ;; _Convert_* |
32 ;; Paramters: | 33 ;; Paramters: |