We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a05dc2 commit 8341ee4Copy full SHA for 8341ee4
src/rt/arch/powerpc/morestack.S
@@ -0,0 +1,20 @@
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
src/rt/arch/powerpc/record_sp.S
@@ -0,0 +1,4 @@
0 commit comments