<div dir="ltr">While most parts of gold are written to support both big and little endian targets, the arm32 backend has not been tested on anything that is not little-endian. Pure big-endian config might work out of the box but I have never tried it myself.<div><br></div><div>If I understand correctly, --be8 tells the linker to emit output with little-endian instruction but big-endian data. gold currently does not support this. We need to add code to emit branch stubs in correct endianness and also byte swap the input instructions.<div><br></div><div>-Doug</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 18, 2016 at 10:35 AM, Umesh Kalappa <span dir="ltr"><<a href="mailto:umesh.kalappa0@gmail.com" target="_blank">umesh.kalappa0@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thank you Tim and Doug you said that BE8 is not supported and i'm bit<br>
confused now :(<br>
<span class="HOEnZb"><font color="#888888"><br>
~Umesh<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On Wed, May 18, 2016 at 7:16 PM, Tim Northover <<a href="mailto:t.p.northover@gmail.com">t.p.northover@gmail.com</a>> wrote:<br>
> On 18 May 2016 at 01:27, Umesh Kalappa via llvm-dev<br>
> <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br>
>> Do be8 format is very mandatory for armv7(big endian) ? Or we can<br>
>> proceed without –be8 option ??<br>
><br>
> You should be fine. It looks like gold does support big-endian on ARM,<br>
> and the default is almost certainly BE8 (BE32 is widely regarded as a<br>
> mistake best forgotten).<br>
><br>
> Cheers.<br>
><br>
> Tim.<br>
</div></div></blockquote></div><br></div>