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

Rui Ueyama ruiu at google.com
Tue Dec 9 15:27:20 PST 2014


 On Tue, Dec 9, 2014 at 11:53 PM, Will Newton <will.newton at linaro.org>
wrote:

> 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.
>

Agreed. The whole point of making a compatible driver is not just taking
the same command line parameters but also acting in the same way.


> > 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141210/fb9f4649/attachment.html>


More information about the llvm-commits mailing list