From: Nathaniel Gray <n8gray@gmail.com>
To: "Mattias Engdegård" <mattias@virtutech.se>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Re: arm backend
Date: Fri, 1 May 2009 11:27:12 -0700 [thread overview]
Message-ID: <aee06c9e0905011127j314a9fbdpe351d5f34286c96d@mail.gmail.com> (raw)
In-Reply-To: <20090501120235.9A398112307@kicki.hq.vtech>
On Fri, May 1, 2009 at 5:02 AM, Mattias Engdegård <mattias@virtutech.se> wrote:
>>[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.
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
--
Nathan Gray
http://www.n8gray.org/
next prev parent reply other threads:[~2009-05-01 18:27 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-30 12:14 Joel Reymont
2009-04-30 13:28 ` Sylvain Le Gall
2009-04-30 18:03 ` [Caml-list] " Stéphane Glondu
2009-04-30 19:19 ` Nathaniel Gray
2009-05-01 12:02 ` Mattias Engdegård
2009-05-01 18:27 ` Nathaniel Gray [this message]
2009-05-01 19:24 ` Mattias Engdegård
2009-05-01 22:12 ` Jeffrey Scofield
2009-05-02 0:07 ` [Caml-list] " Nathaniel Gray
2009-05-02 23:15 ` OCaml on iPhone (was: arm backend) Jeffrey Scofield
2009-05-03 12:34 ` [Caml-list] " Robert Muller
2009-05-05 4:59 ` OCaml on iPhone Jeffrey Scofield
2009-05-05 9:43 ` [Caml-list] arm backend Xavier Leroy
2009-05-05 18:21 ` Nathaniel Gray
2009-05-06 3:56 ` Jeffrey Scofield
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aee06c9e0905011127j314a9fbdpe351d5f34286c96d@mail.gmail.com \
--to=n8gray@gmail.com \
--cc=caml-list@inria.fr \
--cc=mattias@virtutech.se \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox