[cfe-dev] a clang-provided implementation of crtbegin/crtend

Richard Pennington rich at pennware.com
Tue Apr 22 04:55:53 PDT 2014


On 04/21/2014 10:17 PM, writeonce at midipix.org wrote:
> Greetings,
>
> Given that clang has been self-hosting for quite some time now, I 
> wonder whether there have been any plans to provide a clang-native 
> source code for crtbegin/crtend?  I haven't seen any discussion of 
> this on the mailing list, and so wanted to know whether that would be 
> considered the territory of the libc implementaiton and/or the 
> operating system distribution.
>
> Kind regards,
> writeonce at midipix dot org
>
For my self hosting clang/LLVM/musl I used the NetBSD versions.
http://ellcc.org/viewvc/svn/ellcc/trunk/libecc/src/musl/crt/crtbegin.c?revision=3510&view=markup
http://ellcc.org/viewvc/svn/ellcc/trunk/libecc/src/musl/crt/crtbegin.c?revision=3510&view=markup

-Rich
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20140422/ce401aa5/attachment.html>


More information about the cfe-dev mailing list