]> git.lizzy.rs Git - rust.git/blob - src/rt/arch/powerpc/morestack.S
auto merge of #21132 : sfackler/rust/wait_timeout, r=alexcrichton
[rust.git] / src / rt / arch / powerpc / morestack.S
1 // Mark stack as non-executable
2 #if defined(__linux__) && defined(__ELF__)
3 .section       .note.GNU-stack, "", %progbits
4 #endif
5
6 /* See i386/morestack.S for the lengthy, general explanation. */
7
8 .global rust_stack_exhausted
9
10 .hidden __morestack
11
12 // FIXME(POWERPC): this might not be perfectly right but works for now
13 __morestack:
14        .cfi_startproc
15        bl rust_stack_exhausted
16        // the above function ensures that it never returns
17        .cfi_endproc
18 .end  __morestack