Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 645788
Collapse All | Expand All

(-)rustc-1.23.0-src-orig/src/libcompiler_builtins/compiler-rt/lib/builtins/assembly.h (-1 / +1 lines)
Lines 44-50 Link Here
44
#endif
44
#endif
45
#define CONST_SECTION .section .rodata
45
#define CONST_SECTION .section .rodata
46
46
47
#if defined(__GNU__) || defined(__ANDROID__) || defined(__FreeBSD__)
47
#if defined(__GNU__) || defined(__linux__) || defined(__ANDROID__) || defined(__FreeBSD__)
48
#define NO_EXEC_STACK_DIRECTIVE .section .note.GNU-stack,"",%progbits
48
#define NO_EXEC_STACK_DIRECTIVE .section .note.GNU-stack,"",%progbits
49
#else
49
#else
50
#define NO_EXEC_STACK_DIRECTIVE
50
#define NO_EXEC_STACK_DIRECTIVE
(-)rustc-1.23.0-src-orig/src/libcompiler_builtins/compiler-rt/lib/builtins/x86_64/chkstk2.S (+3 lines)
Lines 40-42 END_COMPILERRT_FUNCTION(___chkstk) Link Here
40
END_COMPILERRT_FUNCTION(__alloca)
40
END_COMPILERRT_FUNCTION(__alloca)
41
41
42
#endif // __x86_64__
42
#endif // __x86_64__
43
44
NO_EXEC_STACK_DIRECTIVE
45
(-)rustc-1.23.0-src-orig/src/libcompiler_builtins/compiler-rt/lib/builtins/x86_64/chkstk.S (+3 lines)
Lines 37-39 DEFINE_COMPILERRT_FUNCTION(___chkstk_ms) Link Here
37
END_COMPILERRT_FUNCTION(___chkstk_ms)
37
END_COMPILERRT_FUNCTION(___chkstk_ms)
38
38
39
#endif // __x86_64__
39
#endif // __x86_64__
40
41
NO_EXEC_STACK_DIRECTIVE
42

Return to bug 645788