Hi,

On Thu, Nov 15, 2012 at 8:01 AM, Logan Chien <[email protected]> wrote:
> 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.

Now if GCC version is less than 4.7.0 and we build for Android ARM we
do not have to enable -fuse-init-array. Your patch enables
-fuse-init-array regardless the GCC version. So ARM target might be
affected. I do not know is that a serious problem.

--
Simon
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to