mirror of https://github.com/PCSX2/pcsx2.git
[asm] * Set a good default GNU-stack note. Need to properly support the nx bits (security concerns)
See http://www.gentoo.org/proj/en/hardened/gnu-stack.xml for details. git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3396 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
f8163336b7
commit
6e30a41931
|
@ -491,3 +491,7 @@ $memcpy_final:
|
||||||
pop edi
|
pop edi
|
||||||
|
|
||||||
ret 4
|
ret 4
|
||||||
|
|
||||||
|
#if defined(__linux__) && defined(__ELF__)
|
||||||
|
.section .note.GNU-stack,"",%progbits
|
||||||
|
#endif
|
||||||
|
|
|
@ -73,3 +73,6 @@ so_exit:
|
||||||
mov ebp, [eax+20]
|
mov ebp, [eax+20]
|
||||||
ret
|
ret
|
||||||
|
|
||||||
|
#if defined(__linux__) && defined(__ELF__)
|
||||||
|
.section .note.GNU-stack,"",%progbits
|
||||||
|
#endif
|
||||||
|
|
|
@ -46,3 +46,6 @@ SuperVUEndProgram:
|
||||||
call SuperVUCleanupProgram
|
call SuperVUCleanupProgram
|
||||||
jmp [s_callstack] // so returns correctly
|
jmp [s_callstack] // so returns correctly
|
||||||
|
|
||||||
|
#if defined(__linux__) && defined(__ELF__)
|
||||||
|
.section .note.GNU-stack,"",%progbits
|
||||||
|
#endif
|
||||||
|
|
|
@ -630,3 +630,7 @@ SwizzleBlock4u_sse2_1:
|
||||||
ret 4
|
ret 4
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(__linux__) && defined(__ELF__)
|
||||||
|
.section .note.GNU-stack,"",%progbits
|
||||||
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue