diff src/video/SDL_yuv_mmx.c @ 1413:40edc79b0926

FIXME: This code needs to be rewritten to reference the static data using relocatable addresses (e.g. http://www.gentoo.org/proj/en/hardened/pic-fix-guide.xml or http://nasm.sourceforge.net/doc/html/nasmdoc8.html#section-8.2) This code currently breaks on systems with readonly text segments (hardened Linux / Intel Mac)
author Sam Lantinga <slouken@libsdl.org>
date Tue, 21 Feb 2006 22:12:55 +0000
parents 0c6941483cc6
children 782fd950bd46 c121d94672cb f420bba13676
line wrap: on
line diff
--- a/src/video/SDL_yuv_mmx.c	Tue Feb 21 21:45:31 2006 +0000
+++ b/src/video/SDL_yuv_mmx.c	Tue Feb 21 22:12:55 2006 +0000
@@ -21,6 +21,7 @@
 */
 #include "SDL_config.h"
 
+#if 0 /* FIXME: This code needs to be rewritten to reference the static data using relocatable addresses (e.g. http://www.gentoo.org/proj/en/hardened/pic-fix-guide.xml or http://nasm.sourceforge.net/doc/html/nasmdoc8.html#section-8.2) This code currently breaks on systems with readonly text segments (hardened Linux / Intel Mac) */
 #if defined(__GNUC__) && defined(__i386__) && SDL_ASSEMBLY_ROUTINES
 
 #include "SDL_stdinc.h"
@@ -406,3 +407,4 @@
 }
 
 #endif /* GCC i386 inline assembly */
+#endif /* 0 */