[commit: ghc] master: Use .globl rather than .global on arm; part of #7707 (e8b8bb3)

Ian Lynagh igloo at earth.li
Sat Mar 2 15:43:38 CET 2013


Repository : http://darcs.haskell.org/ghc.git/

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/e8b8bb39f99eb2bdbb4cb99906f64919f4de555e

>---------------------------------------------------------------

commit e8b8bb39f99eb2bdbb4cb99906f64919f4de555e
Author: Ian Lynagh <ian at well-typed.com>
Date:   Sat Mar 2 12:45:26 2013 +0000

    Use .globl rather than .global on arm; part of #7707
    
    Apparently ios only understands .globl, but Linux appears to understand
    both.

>---------------------------------------------------------------

 rts/StgCRun.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rts/StgCRun.c b/rts/StgCRun.c
index 5789c82..127fab6 100644
--- a/rts/StgCRun.c
+++ b/rts/StgCRun.c
@@ -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"





More information about the ghc-commits mailing list