From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=AWL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by yquem.inria.fr (Postfix) with ESMTP id 8829CBC37 for ; Fri, 1 May 2009 14:02:37 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvcDAFuB+kk+FFrDgWdsb2JhbACWZgEBFiK4WYN/BQ X-IronPort-AV: E=Sophos;i="4.40,277,1238968800"; d="scan'208";a="39319327" Received: from oden.vtab.com ([62.20.90.195]) by mail4-smtp-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-SHA; 01 May 2009 14:02:37 +0200 Received: from oden.vtab.com (oden.vtab.com [127.0.0.1]) by oden.vtab.com (Postfix) with ESMTP id B29AB26EF89; Fri, 1 May 2009 14:02:35 +0200 (CEST) Received: from kicki.hq.vtech (kicki.hq.vtech [10.0.0.211]) by oden.vtab.com (Postfix) with ESMTP id A0DF926EF81; Fri, 1 May 2009 14:02:35 +0200 (CEST) Received: by kicki.hq.vtech (Postfix, from userid 7557) id 9A398112307; Fri, 1 May 2009 14:02:35 +0200 (CEST) From: "=?utf-8?b?TWF0dGlhcyBFbmdkZWfDpQ==?= =?utf-8?b?cmQ=?=" To: n8gray@gmail.com Cc: caml-list@inria.fr In-reply-to: (message from Nathaniel Gray on Thu, 30 Apr 2009 12:19:24 -0700) Subject: Re: [Caml-list] Re: arm backend References: <170624B9-E8DE-4E94-BAA5-2CAF928CE54B@gmail.com> <49F9E7F7.7060705@glondu.net> Message-Id: <20090501120235.9A398112307@kicki.hq.vtech> Date: Fri, 1 May 2009 14:02:35 +0200 (CEST) X-Virus-Scanned: ClamAV using ClamSMTP X-Spam: no; 0.00; mattias:01 mattias:01 mlp:01 globl:01 binutils:01 globl:01 semantics:01 emit:01 caml-list:01 behaviour:01 argument:02 assembler:02 assembler:02 latter:03 gnu:03 >[2] I had to change all '.global' to '.globl' in arm.s and >arm/emit.mlp. I have no idea what that signifies. Only that Apple's assembler only understands .globl. Gas (the assembler in GNU binutils) should accept both .global and .globl, so it is probably safe to use the latter only. There is no difference in semantics. Another pseudo-op that sometimes causes problems is .align whose exact behaviour with respect to its argument varies between platforms. Both gas and Apple's as accept .p2align, so this is usually a safer choice.