According to ARM aapcs (or eabi), we should emit .init_array and .fini_array as well. This is the default behavior for a while[1]. Besides, -fuse-init-array will only affect the behavior of x86 and MIPS backend. Thus, I believe it won't be a problem.
Logan -- [1] If you are interested in .init_array related commits, please have a look on r98068, r158692 and r163193.
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
