Dear all,<br><br> The attached file is the rebased patch to top of tree. It seems that the dynamic linker in Android only supports .init_array and .fini_array, thus we should enable -fuse-init-array regardless the GCC version. It is essential for C++ global variables initialization on Android X86 and MIPS. Please have a look. Thanks.<br>
<br>Sincerely,<br>Logan<br><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Aug 31, 2012 at 12:44 PM, Logan Chien <span dir="ltr"><<a href="mailto:tzuhsiang.chien@gmail.com" target="_blank">tzuhsiang.chien@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear all,<div><br></div><div> This is the revised patch which renamed "androideabi" to "android"</div>
<div>to avoid confusion. Please have a look. Thanks.</div><div><br></div><div>Sincerely,</div><div>
Logan</div><div><br></div><div>p.s. Here's the link to the patch:</div><div><a href="https://github.com/loganchien/clang-logan/commit/b16a2b09fc54f21e326c81c7a7e4f61360722dbf" target="_blank">https://github.com/loganchien/clang-logan/commit/b16a2b09fc54f21e326c81c7a7e4f61360722dbf</a></div>
<div class="HOEnZb"><div class="h5">
<div><br><div class="gmail_quote">On Thu, Aug 30, 2012 at 3:15 PM, Logan Chien <span dir="ltr"><<a href="mailto:tzuhsiang.chien@gmail.com" target="_blank">tzuhsiang.chien@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Tim,<br><br> Thanks for your reply. androideabi is not for MIPS or X86.<br>I have an upcoming patch to rename all of the usage. In fact<br>some friend from MIPS suggested me not to use the "EABI"<br>to avoid confusion. Thanks.<span><font color="#888888"><br>
<br>Logan</font></span><div><div><br><br><div class="gmail_quote">On Thu, Aug 30, 2012 at 3:05 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">
<div>On Thu, Aug 30, 2012 at 7:38 AM, Logan Chien <<a href="mailto:tzuhsiang.chien@gmail.com" target="_blank">tzuhsiang.chien@gmail.com</a>> wrote:<br>
> Sorry, I have attached the wrong patch. This is the correct one. Please<br>
> have a look. Thanks.<br>
<br>
</div>I'm not involved in android development, but is "androideabi" really<br>
used on x86 and Mips? It looks like the name involves "EABI" which is<br>
a specific ARM ABI. Your test seems to be the first to apply it to<br>
non-ARM targets, which may be a sensible thing to do (everyone and his<br>
brother uses the ia-64 ABI these days) but seems a little odd.<br>
<br>
Anyone else know more about Android convention?<br>
<span><font color="#888888"><br>
Tim.<br>
</font></span></blockquote></div><br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>