Mercurial > hg > CbC > CbC_llvm
comparison projects/compiler-rt/lib/sanitizer_common/sanitizer_linux_mips64.S @ 131:f476a9ba4795
http://llvm.org/svn/llvm-project/compiler-rt/trunk compiler-rt
author | mir3636 |
---|---|
date | Fri, 16 Feb 2018 21:02:11 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
130:cc94f0a83282 | 131:f476a9ba4795 |
---|---|
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) |