Magellan Linux

Contents of /trunk/libmpeg3/patches/libmpeg3-1.7-gnustack.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 224 - (show annotations) (download)
Sat Jun 23 13:53:28 2007 UTC (16 years, 10 months ago) by niro
File size: 726 byte(s)
-new fixes

1 diff -ru libmpeg3-1.5.2.orig/video/mmxidct.S libmpeg3-1.5.2/video/mmxidct.S
2 --- libmpeg3-1.5.2.orig/video/mmxidct.S 2006-04-24 23:13:14.000000000 +0200
3 +++ libmpeg3-1.5.2/video/mmxidct.S 2006-04-24 23:13:47.000000000 +0200
4 @@ -673,3 +673,7 @@
5 ret
6 .Lfe1:
7 .size IDCT_mmx,.Lfe1-IDCT_mmx
8 +
9 +#ifdef __ELF__
10 +.section .note.GNU-stack,"",%progbits
11 +#endif
12 diff -ru libmpeg3-1.5.2.orig/video/reconmmx.s libmpeg3-1.5.2/video/reconmmx.s
13 --- libmpeg3-1.5.2.orig/video/reconmmx.s 2006-04-24 23:13:14.000000000 +0200
14 +++ libmpeg3-1.5.2/video/reconmmx.s 2006-04-24 23:13:20.000000000 +0200
15 @@ -298,4 +298,6 @@
16 pop esi
17 ret
18
19 -
20 +%ifidn __OUTPUT_FORMAT__,elf
21 +section .note.GNU-stack noalloc noexec nowrite progbits
22 +%endif