Blame SOURCES/lame-noexecstack.patch

105630
diff -up lame-398-2/libmp3lame/i386/choose_table.nas.noexec lame-398-2/libmp3lame/i386/choose_table.nas
105630
--- lame-398-2/libmp3lame/i386/choose_table.nas.noexec	2008-08-31 14:28:37.000000000 +0200
105630
+++ lame-398-2/libmp3lame/i386/choose_table.nas	2008-10-20 22:34:23.000000000 +0200
105630
@@ -445,3 +445,7 @@ from2:
105630
 	ret
105630
 
105630
 	end
105630
+
105630
+%ifidn __OUTPUT_FORMAT__,elf
105630
+section .note.GNU-stack noalloc noexec nowrite progbits
105630
+%endif
105630
diff -up lame-398-2/libmp3lame/i386/cpu_feat.nas.noexec lame-398-2/libmp3lame/i386/cpu_feat.nas
105630
--- lame-398-2/libmp3lame/i386/cpu_feat.nas.noexec	2003-11-10 16:41:00.000000000 +0100
105630
+++ lame-398-2/libmp3lame/i386/cpu_feat.nas	2008-10-20 22:34:23.000000000 +0200
105630
@@ -105,3 +105,7 @@ return0:
105630
 	ret
105630
         
105630
         end
105630
+
105630
+%ifidn __OUTPUT_FORMAT__,elf
105630
+section .note.GNU-stack noalloc noexec nowrite progbits
105630
+%endif
105630
diff -up lame-398-2/libmp3lame/i386/fft3dn.nas.noexec lame-398-2/libmp3lame/i386/fft3dn.nas
105630
--- lame-398-2/libmp3lame/i386/fft3dn.nas.noexec	2008-08-31 14:28:37.000000000 +0200
105630
+++ lame-398-2/libmp3lame/i386/fft3dn.nas	2008-10-20 22:34:23.000000000 +0200
105630
@@ -486,3 +486,7 @@ proc	fht_E3DN
105630
 	add	esp,20
105630
 	popd	ebp, ebx, esi, edi
105630
 endproc
105630
+
105630
+%ifidn __OUTPUT_FORMAT__,elf
105630
+section .note.GNU-stack noalloc noexec nowrite progbits
105630
+%endif
105630
diff -up lame-398-2/libmp3lame/i386/fftfpu.nas.noexec lame-398-2/libmp3lame/i386/fftfpu.nas
105630
--- lame-398-2/libmp3lame/i386/fftfpu.nas.noexec	2000-10-04 14:13:26.000000000 +0200
105630
+++ lame-398-2/libmp3lame/i386/fftfpu.nas	2008-10-20 22:34:23.000000000 +0200
105630
@@ -617,3 +617,7 @@ fht_FPU_FXCH_3rd_part:
105630
 endproc
105630
 
105630
 	end
105630
+
105630
+%ifidn __OUTPUT_FORMAT__,elf
105630
+section .note.GNU-stack noalloc noexec nowrite progbits
105630
+%endif
105630
diff -up lame-398-2/libmp3lame/i386/fft.nas.noexec lame-398-2/libmp3lame/i386/fft.nas
105630
--- lame-398-2/libmp3lame/i386/fft.nas.noexec	2000-10-04 14:13:26.000000000 +0200
105630
+++ lame-398-2/libmp3lame/i386/fft.nas	2008-10-20 22:34:23.000000000 +0200
105630
@@ -265,3 +265,7 @@ fht_3DN:
105630
 	pop	esi
105630
 	pop	ebx
105630
 	ret
105630
+
105630
+%ifidn __OUTPUT_FORMAT__,elf
105630
+section .note.GNU-stack noalloc noexec nowrite progbits
105630
+%endif
105630
diff -up lame-398-2/libmp3lame/i386/fftsse.nas.noexec lame-398-2/libmp3lame/i386/fftsse.nas
105630
--- lame-398-2/libmp3lame/i386/fftsse.nas.noexec	2008-08-31 14:28:37.000000000 +0200
105630
+++ lame-398-2/libmp3lame/i386/fftsse.nas	2008-10-20 22:34:23.000000000 +0200
105630
@@ -420,3 +420,7 @@ fht_SSE:
105630
 	ret
105630
 
105630
 	end
105630
+
105630
+%ifidn __OUTPUT_FORMAT__,elf
105630
+section .note.GNU-stack noalloc noexec nowrite progbits
105630
+%endif
105630
diff -up lame-398-2/libmp3lame/i386/ffttbl.nas.noexec lame-398-2/libmp3lame/i386/ffttbl.nas
105630
--- lame-398-2/libmp3lame/i386/ffttbl.nas.noexec	2000-10-04 14:13:26.000000000 +0200
105630
+++ lame-398-2/libmp3lame/i386/ffttbl.nas	2008-10-20 22:34:23.000000000 +0200
105630
@@ -76,3 +76,7 @@ gray_index:
105630
 	segment_code
105630
 
105630
 	end
105630
+
105630
+%ifidn __OUTPUT_FORMAT__,elf
105630
+section .note.GNU-stack noalloc noexec nowrite progbits
105630
+%endif