2016-11-08 23:04:09 +01:00
|
|
|
// This file is dual licensed under the MIT and the University of Illinois Open
|
2017-01-24 01:18:36 +01:00
|
|
|
// Source Licenses. See LICENSE.TXT for details.
|
|
|
|
|
2016-11-08 23:04:09 +01:00
|
|
|
// Avoid being marked as needing an executable stack:
|
|
|
|
#if defined(__linux__) && defined(__ELF__)
|
|
|
|
.section .note.GNU-stack,"",%progbits
|
|
|
|
#endif
|
|
|
|
|
|
|
|
// Further contents are mips64 only:
|
|
|
|
#if defined(__linux__) && defined(__mips64)
|
|
|
|
|
|
|
|
.section .text
|
|
|
|
.set noreorder
|
|
|
|
.globl internal_sigreturn
|
|
|
|
.type internal_sigreturn, @function
|
|
|
|
internal_sigreturn:
|
|
|
|
|
|
|
|
li $v0,5211 // #5211 is for SYS_rt_sigreturn
|
|
|
|
syscall
|
|
|
|
|
|
|
|
.size internal_sigreturn, .-internal_sigreturn
|
|
|
|
|
|
|
|
#endif // defined(__linux__) && defined(__mips64)
|