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=1.7 required=5.0 tests=AWL,DNS_FROM_RFC_POST, SPF_NEUTRAL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id 650EABC37 for ; Fri, 1 May 2009 20:27:14 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhEAAJfb+knRVd14oWdsb2JhbACWJj8BAQEBAQEHCQoCBxGnQ4EIj3oBAwEDg3oF X-IronPort-AV: E=Sophos;i="4.38,431,1233529200"; d="scan'208";a="28608060" Received: from mail-qy0-f120.google.com ([209.85.221.120]) by mail1-smtp-roc.national.inria.fr with ESMTP; 01 May 2009 20:27:13 +0200 Received: by qyk26 with SMTP id 26so4613857qyk.1 for ; Fri, 01 May 2009 11:27:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=3R85UiNswxGp6QcEsEHGnHIV9m92JQxkFZcVEfIxyXw=; b=i783CrKEoFKlhHijm/UCHtZHAXM4g+i+TuW3arkEHHMJ4c3y47HuXNvpt5zP7m4zU4 /smz/z0sWu4TelTzqmU8VkFgKxlL64MEtwBf2HUVIOY8uLuA34VzDVQrVkSE1/w/DKVp 2vzr8xBAyNcGQMnyDnTEiWwghy6lRZwg4lej8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=xiJclnPyrlSehxDMW1ARiuHzPpE9TSxmLQI/49YNGG9nFMllVXPpvsyR+B+GpU2M0C dRuWM2In7HjC4NK99Mxvgww0zcZ6NejHzw0HsrcGLitBCRLbCucCk9yIg/D/IjDGpKfE vxLVdKVMrGXAENPa4BBRKCtz5WvFNNCUe6OCE= MIME-Version: 1.0 Received: by 10.229.89.146 with SMTP id e18mr2393490qcm.23.1241202432793; Fri, 01 May 2009 11:27:12 -0700 (PDT) In-Reply-To: <20090501120235.9A398112307@kicki.hq.vtech> References: <170624B9-E8DE-4E94-BAA5-2CAF928CE54B@gmail.com> <49F9E7F7.7060705@glondu.net> <20090501120235.9A398112307@kicki.hq.vtech> Date: Fri, 1 May 2009 11:27:12 -0700 Message-ID: Subject: Re: [Caml-list] Re: arm backend From: Nathaniel Gray To: =?UTF-8?Q?Mattias_Engdeg=C3=A5rd?= Cc: caml-list@inria.fr Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam: no; 0.00; mattias:01 mattias:01 mlp:01 globl:01 binutils:01 globl:01 semantics:01 cheers:01 2009:98 nathan:98 wrote:01 emit:01 caml-list:01 behaviour:01 argument:02 On Fri, May 1, 2009 at 5:02 AM, Mattias Engdeg=C3=A5rd wrote: >>[2] I had to change all '.global' to '.globl' in arm.s and >>arm/emit.mlp. =C2=A0I 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. Ah, mystery solved. Thanks! > 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. It's all very confusing to me because I thought Apple's assembler *was* gas. In the man page for as it's described as "Mac OS X Mach-O GNU-based assemblers". The -v flag for the iPhone version of as gives: "Apple Computer, Inc. version cctools-667.10.0~186, GNU assembler version 1= .38" Very odd that they decided to take out support for .global in their version= ... Cheers, -n8 --=20 Nathan Gray http://www.n8gray.org/