Author: qboosh                       Date: Sun Jan 27 13:42:28 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- use GNU-stack

---- Files affected:
SOURCES:
   libjpegsimd-stack.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/libjpegsimd-stack.patch
diff -u /dev/null SOURCES/libjpegsimd-stack.patch:1.1
--- /dev/null   Sun Jan 27 14:42:28 2008
+++ SOURCES/libjpegsimd-stack.patch     Sun Jan 27 14:42:23 2008
@@ -0,0 +1,24 @@
+--- jpeg-6bx/jsimdext.inc.orig 2006-02-03 18:20:00.000000000 +0100
++++ jpeg-6bx/jsimdext.inc      2008-01-27 14:12:02.062345668 +0100
+@@ -61,6 +61,10 @@
+ %define SEG_TEXT    .text   progbits alloc exec   nowrite align=16
+ %define SEG_CONST   .rodata progbits alloc noexec nowrite align=16
+ 
++%ifdef GNU_STACK
++      SECTION .note.GNU-stack noalloc noexec nowrite progbits
++%endif
++
+ ; To make the code position-independent, append -DPIC to the commandline
+ ;
+ %define GOT_SYMBOL  _GLOBAL_OFFSET_TABLE_     ; ELF supports PIC
+--- jpeg-6bx/makefile.cfg.orig 2006-01-10 01:00:00.000000000 +0100
++++ jpeg-6bx/makefile.cfg      2008-01-27 14:13:05.989988697 +0100
+@@ -33,7 +33,7 @@
+ 
+ # The executable name of NASM and its options:
+ NASM= @NASM@
+-NAFLAGS= @NAFLAGS@ @INCLUDEFLAGS@
++NAFLAGS= @NAFLAGS@ @INCLUDEFLAGS@ -DGNU_STACK
+ 
+ # Link-time cc options:
+ LDFLAGS= @LDFLAGS@
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to