File tree Expand file tree Collapse file tree 3 files changed +25
-1
lines changed
trunk/src/rt/arch/powerpc Expand file tree Collapse file tree 3 files changed +25
-1
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: 7a05dc273dc193c747853e35231e165b2665e3f0
2
+ refs/heads/master: 8341ee4075e46d4f5470c6081be4135cdffd21ed
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: 210f0dcf007104240b2e286ed0b80cb4a61d7bae
5
5
refs/heads/try: 957472483d3a2f43c0e4f7c2056280a1022af93c
Original file line number Diff line number Diff line change
1
+ #include "macros.S"
2
+
3
+ // Mark stack as non-executable
4
+ #if defined(__linux__) && defined(__ELF__)
5
+ .section .note.GNU-stack, "", %progbits
6
+ #endif
7
+
8
+ /* See i386/morestack.S for the lengthy, general explanation. */
9
+
10
+ .global rust_stack_exhausted
11
+
12
+ .hidden __morestack
13
+
14
+ // FIXME(POWERPC): this might not be perfectly right but works for now
15
+ __morestack:
16
+ .cfi_startproc
17
+ bl rust_stack_exhausted
18
+ // the above function ensures that it never returns
19
+ .cfi_endproc
20
+ .end __morestack
Original file line number Diff line number Diff line change
1
+ // Mark stack as non-executable
2
+ #if defined(__linux__) && defined(__ELF__)
3
+ .section .note.GNU-stack, "", %progbits
4
+ #endif
You can’t perform that action at this time.
0 commit comments