From 7bc3bdf6ed6114ba04edcc1c3536b5e20218f20f Mon Sep 17 00:00:00 2001 From: Ian Lynagh <ian@well-typed.com> Date: Sat, 2 Mar 2013 13:15:21 +0000 Subject: [PATCH] ios fix from Stephen Blackheath; part of #7707 Apparently ios doesn't understand .type %function. --- rts/StgCRun.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rts/StgCRun.c b/rts/StgCRun.c index e16de75b72a..f0fa6c7c5eb 100644 --- a/rts/StgCRun.c +++ b/rts/StgCRun.c @@ -686,7 +686,9 @@ StgRun(StgFunPtr f, StgRegTable *basereg) { ".globl " STG_RETURN "\n\t" THUMB_FUNC +#if !defined(ios_HOST_OS) ".type " STG_RETURN ", %%function\n" +#endif STG_RETURN ":\n\t" /* * Free the space we allocated -- GitLab