[PATCH] [ELF] Make -init/-fini options compatible with the gnu linker

Will Newton will.newton at linaro.org
Tue Dec 9 06:53:08 PST 2014


On 9 December 2014 at 14:01, Shankar Kalpathi Easwaran
<shankarke at gmail.com> wrote:
> We should not keep dead code. Lets remove it.
>
> I am not so sure only about the static linking case and whats the user expectation when init/fini option is used with static linking ?
>
> Joerg/Will ?

I think we should remain compatible with GNU which does not apply
-init/-fini to a static object.

> http://reviews.llvm.org/D6578
>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits



-- 
Will Newton
Toolchain Working Group, Linaro



More information about the llvm-commits mailing list