Skip to content

Commit

Permalink
Merge pull request #64 from basak/always-use-frame-pointer
Browse files Browse the repository at this point in the history
arm32: make sure gcc uses a frame pointer
  • Loading branch information
snaury committed Oct 14, 2014
2 parents e31e76a + c1437e3 commit 1565ffb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions platform/switch_arm32_gcc.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@
#endif

static int
#ifdef __GNUC__
__attribute__((optimize("no-omit-frame-pointer")))
#endif
slp_switch(void)
{
void *fp;
Expand Down

0 comments on commit 1565ffb

Please sign in to comment.