So .init_array should be used on BSDs only for aarch64?

In any case, please refactor the clang code so that we don't add
-fuse-init-array in two places (Generic_GCC::addClangTargetOptions and
Linux::addClangTargetOptions.

On 9 January 2014 10:28, Kristof Beyls <[email protected]> wrote:
> Hi,
>
>
>
> The AArch64 C++ ABI states that .init_array sections should be used for
> static constructors.
>
> The attached patches (one for clang, one for LLVM), make sure that these
> sections get
> produced in an ABI-compliant way, not just for linux platforms, but for all
> ELF-based
> platforms. Could I get a review on these patches?
>
>
>
> Thanks,
>
>
>
> Kristof
>
>
> _______________________________________________
> cfe-commits mailing list
> [email protected]
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to