[PATCH] D34326: [ELF] - Allow mixing .init_array.* and .ctors.* sections in linkerscript.

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 18 03:46:33 PDT 2017


grimar added a comment.

In https://reviews.llvm.org/D34326#783410, @davide wrote:

> Pretty much every version of gas released in the last 10 years emits exclusively `.init_array`.
>  I see what you're fixing here, but is this something that can happen in practice?


I did not find users, but may bo somebody can face this and that probably not too obvious. 
May be can just error out instead on such scripts. Just leaving possible issue probably not good.


https://reviews.llvm.org/D34326





More information about the llvm-commits mailing list