<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Feb 6, 2017 at 12:48 PM, Tim Northover <span dir="ltr"><<a href="mailto:t.p.northover@gmail.com" target="_blank">t.p.northover@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Oh, and I noticed you're targeting "armv8" in the actual .ll file.<br>
That's actually 32-bit ARM, which *may* be what you intended (RPi3 is<br>
a 64-bit v8 CPU but their provided OS runs in 32-bit mode for example)<br>
but is slightly odd.<br>
<br>
What you probably want is a full triple (specifying a sane ABI as<br>
well), in Thumb mode if you really do want 32-bit code. One of these<br>
for example:<br>
<br>
  + aarch64-linux-gnu (64-bit mode).<br>
  + thumbv8-linux-gnueabihf (32-bit mode).<br>
<br>
Even if you're not actually targeting Linux, those make for a<br>
known-sane starting point for ELF-based code.<br></blockquote><div> </div><div>Thanks for the tip - much appreciated. </div></div><br></div></div>