linux64.S: Emit .note.GNU-stack even when POWERPC64 is not defined.

* 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.

From-SVN: r215155
This commit is contained in:
Jakub Jelinek 2014-09-11 11:03:49 +02:00 committed by Jakub Jelinek
parent ea3f2b240f
commit 1138382be4
3 changed files with 14 additions and 6 deletions

View File

@ -1,3 +1,9 @@
2014-09-11 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.
2014-07-21 Uros Bizjak <ubizjak@gmail.com>
* src/alpha/ffi.c: Do not include stdlib.h.

View File

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

View File

@ -381,7 +381,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