[PATCH] D28791: [compiler-rt][crt] Simple crtbegin and crtend implementation
Petr Hosek via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 16 18:32:40 PST 2017
phosek created this revision.
Herald added subscribers: mgorny, dberris.
Clang relies on existence of symbols that are normally provided by crtbegin.o/crtend.o. However, LLVM does not currently provide implementation of these files, instead relying on either libgcc or implementations provided as part of the system.
This patch provides a trivial implementation of crtbegin.o/crtend.o which at the moment does not support .ctors/.dtors, but it can be still used on systems which use .init/.fini arrays such as Linux. The support for .ctors/.dtors can be added in the future if necessary.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 8968 bytes
Desc: not available
More information about the llvm-commits