caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Benedikt Meurer <benedikt.meurer@googlemail.com>
To: Jeffrey Scofield <jeffsco@psellos.com>
Cc: Caml List <caml-list@inria.fr>
Subject: [Caml-list] Re: ARM code generator problem
Date: Sat, 11 Aug 2012 11:48:01 +0200	[thread overview]
Message-ID: <0DAB6C5E-6C68-47E0-B71F-A033DADB5BB0@gmail.com> (raw)
In-Reply-To: <A08E2296-FDAF-414F-919C-4F20F2DB9E63@psellos.com>


On Aug 11, 2012, at 10:57 , Jeffrey Scofield wrote:

> Benedikt,

Hey Jeffrey,

>> Looking through the arm-as-to-ios script you published, I could merge
>> most of the label, symbol addressing and jump table related code. BTW
>> you're script isn't going to work for large compilation units, because
>> the range of the LDR instruction is limited and you always allocate the
>> pool at the end of the file.
> 
> Since I only use the script to process arm.S, I didn't work *too* hard
> at making it work for everything.  But I thought it might be useful
> to other people as a starting point, or as a catalog of the changes
> I had to make.
> 
> If you're not too put off by the ugliness of the compatibility changes,
> I'd be very happy to merge the code.

I started work on merging your code, see the diff here:

https://github.com/bmeurer/ocaml-arm/compare/bm/ios

That handles most of the basic stuff. Now there are some open issues, i.e. what about .arch / .machine? Is that armv6 vs. armv7 thing an ABI difference?

You can install Debian armel within qemu to easily test the Linux ARM stuff. Preinstalled Debian/squeeze images are available from http://people.debian.org/~aurel32/qemu/armel/

> Best regards,
> Jeffrey

Benedikt


  reply	other threads:[~2012-08-11  9:48 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-10 21:41 [Caml-list] " Jeffrey Scofield
2012-08-11  8:00 ` Benedikt Meurer
2012-08-11  8:13   ` Benedikt Meurer
2012-08-11  8:57     ` Jeffrey Scofield
2012-08-11  9:48       ` Benedikt Meurer [this message]
2012-08-11  8:52   ` Jeffrey Scofield
2012-08-13 19:21   ` [Caml-list] " Jeffrey Scofield
2012-08-14  7:11     ` Benedikt Meurer
2012-08-17  4:26       ` 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=0DAB6C5E-6C68-47E0-B71F-A033DADB5BB0@gmail.com \
    --to=benedikt.meurer@googlemail.com \
    --cc=caml-list@inria.fr \
    --cc=jeffsco@psellos.com \
    /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;
as well as URLs for NNTP newsgroup(s).