[LLVMdev] [lld] Handling multiple -init/-fini command line options

Joerg Sonnenberger joerg at britannica.bec.de
Mon Dec 8 13:47:14 PST 2014


On Mon, Dec 08, 2014 at 03:06:39PM -0600, Shankar Easwaran wrote:
> The linker decides to convert .ctors/.dtors section to .init/.fini
> too in some circumstances.

A platform either uses .init/.fini sections or .init_array/.fini_array.
.ctors/.dtors is converted to whichever is used. It is unrelated to
handling of DT_INIT/DT_FINI.

Joerg



More information about the llvm-dev mailing list