<div dir="ltr"><div dir="ltr">On Fri, Dec 14, 2018 at 10:47 AM Joerg Sonnenberger via llvm-commits <<a href="mailto:llvm-commits@lists.llvm.org" target="_blank">llvm-commits@lists.llvm.org</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Fri, Dec 14, 2018 at 01:27:14AM +0000, Eric Christopher via Phabricator via llvm-commits wrote:<br>
> Joerg: We asked some very specific questions to which there don't<br>
> appear to be answers coming from you and this patch doesn't affect any<br>
> other target negatively here. Unless you come up with a compelling<br>
> argument not to commit this other than "some platforms have support<br>
> for this in other places" I think we need to commit this.<br>
<br>
I have no idea what else I can say other than "This is not a generic<br>
implementation. Please do not pretend it to be one".</blockquote><div><br></div><div>Can you provide more details? Which part of the implementation is not generic? I've deliberately omitted support for GCJ since Clang doesn't support it, but aside from that it should be.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Even more so that I<br>
strongly believe that especially GNU should gets its act together and<br>
ship a working copy with glibc.<br></blockquote><div><br></div><div>None of the popular Linux libc implementations (I looked at glibc, musl, newlib, uclibc and dietlibc) provide crtbegin/crtend aside from Bionic. This is how crtbegin/crtend is handled on Linux. You may disagree with it, but I don't think this is the place to argue about that design. My goal is to ensure that Clang supports this platform without relying on other compilers as it does today.</div></div></div>