[PATCH] D33868: [Solaris] emit .init_array instead of .ctors on Solaris (Sparc/x86)

Davide Italiano via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jun 3 13:49:45 PDT 2017


davide requested changes to this revision.
davide added a comment.
This revision now requires changes to proceed.

Can you add a test?
Also, I'd like to know the following: does the Solaris linker (whatever it's called) support mixing'n'matching of `.ctors` and `.init_array` ? (gold implements some logic to merge them in order to ensure all the global constructors are called even if you have some objects file with `.ctors `and some others with `.init_array` as input.


https://reviews.llvm.org/D33868





More information about the llvm-commits mailing list