<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 04/22/2014 07:55 AM, Richard
Pennington wrote:<br>
</div>
<blockquote cite="mid:535658C9.30903@pennware.com" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<div class="moz-cite-prefix">On 04/21/2014 10:17 PM, <a
moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:writeonce@midipix.org">writeonce@midipix.org</a>
wrote:<br>
</div>
<blockquote
cite="mid:20140421201749.dc30d64f61e5ec441c34ffd4f788e58e.cd542720e6.wbe@email22.secureserver.net"
type="cite"><span style="font-family:Verdana; color:#000000;
font-size:10pt;">
<div>Greetings,</div>
<div><br>
</div>
<div>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.<br>
</div>
<div><br>
</div>
<div>Kind regards,</div>
<div>writeonce at midipix dot org</div>
</span><br>
</blockquote>
For my self hosting clang/LLVM/musl I used the NetBSD versions.<br>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<a moz-do-not-send="true"
href="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</a><br>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<a moz-do-not-send="true"
href="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</a><br>
<br>
-Rich<br>
</blockquote>
Thank you, Rich. If I understand correctly, the above is different
from the NetBSD assembly sources (link sent by Joerg), and is also
more compact and portable (written in C). Is that true, or am I
missing something?<br>
zg<br>
<br>
</body>
</html>