Use .globl rather than .global on arm; part of #7707
authorIan Lynagh <ian@well-typed.com>
Sat, 2 Mar 2013 12:45:26 +0000 (12:45 +0000)
committerIan Lynagh <ian@well-typed.com>
Sat, 2 Mar 2013 12:45:26 +0000 (12:45 +0000)
Apparently ios only understands .globl, but Linux appears to understand
both.

rts/StgCRun.c

index 5789c82..127fab6 100644 (file)
@@ -684,7 +684,7 @@ StgRun(StgFunPtr f, StgRegTable *basereg) {
          */
         "bx %1\n\t"
 
-        ".global " STG_RETURN "\n\t"
+        ".globl " STG_RETURN "\n\t"
         THUMB_FUNC
         ".type " STG_RETURN ", %%function\n"
         STG_RETURN ":\n\t"