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

Joerg Sonnenberger joerg at britannica.bec.de
Tue Apr 22 04:57:23 PDT 2014


On Mon, Apr 21, 2014 at 08:17:49PM -0700, writeonce at midipix.org wrote:
> 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.

You can find an implementation for all architectures NetBSD supports in
src/lib/csu in the CVS tree. Some parts may depend on the machine/asm.h
code of the corresponding platform.

http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/csu/

Joerg



More information about the cfe-dev mailing list