2014-09-10 Jakub Jelinek <jakub@redhat.com>

* src/powerpc/linux64.S: Emit .note.GNU-stack even when
	POWERPC64 is not defined.
	* src/powerpc/linux64_closure.S: Likewise.  Also test _CALL_ELF == 2.
This commit is contained in:
Jakub Jelinek
2014-09-20 06:39:55 -04:00
committed by Anthony Green
parent aaf3101ba8
commit 32cb2ce81d
3 changed files with 399 additions and 6 deletions

View File

@@ -385,7 +385,8 @@ ffi_closure_LINUX64:
.align 3
.LEFDE1:
# if defined __ELF__ && defined __linux__
.section .note.GNU-stack,"",@progbits
# endif
#endif
#if (defined __ELF__ && defined __linux__) || _CALL_ELF == 2
.section .note.GNU-stack,"",@progbits
#endif