commit | 18c2842b014a3eafae40dccd713587fa2235772c | [log] [tgz] |
---|---|---|
author | Logan Chien <tzuhsiang.chien@gmail.com> | Mon Nov 19 11:45:31 2012 +0000 |
committer | Logan Chien <tzuhsiang.chien@gmail.com> | Mon Nov 19 11:45:31 2012 +0000 |
tree | 9af123e57cf8314fde64e5bf32f93c8260fa5aae | |
parent | 7a29070e01c1b48f85b7d3fced5315db8958fae2 [diff] |
Enable -fuse-init-array for Android X86/MIPS. The dynamic linker of Android does not support .ctors/.dtors. We should emit .init_array and .fini_array regardless the gcc version. NOTE: This patch does not affect the ARM backend, because it is required to generate .init_array and .fini_array for program targeting ARM AAPCS and AEABI. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168309 91177308-0d34-0410-b5e6-96231b3b80d8