]> git.ipfire.org Git - thirdparty/gcc.git/blob - libsanitizer/sanitizer_common/sanitizer_linux_mips64.S
Remove support for alternative Solaris 11.4 ld -V output
[thirdparty/gcc.git] / libsanitizer / sanitizer_common / sanitizer_linux_mips64.S
1 // This file is dual licensed under the MIT and the University of Illinois Open
2 // Source Licenses. See LICENSE.TXT for details.
3
4 // Avoid being marked as needing an executable stack:
5 #if defined(__linux__) && defined(__ELF__)
6 .section .note.GNU-stack,"",%progbits
7 #endif
8
9 // Further contents are mips64 only:
10 #if defined(__linux__) && defined(__mips64)
11
12 .section .text
13 .set noreorder
14 .globl internal_sigreturn
15 .type internal_sigreturn, @function
16 internal_sigreturn:
17
18 li $v0,5211 // #5211 is for SYS_rt_sigreturn
19 syscall
20
21 .size internal_sigreturn, .-internal_sigreturn
22
23 #endif // defined(__linux__) && defined(__mips64)