]> granicus.if.org Git - clang/commit
Toolchains: remove crtbegin on xwindows
authorSaleem Abdulrasool <compnerd@compnerd.org>
Fri, 7 Apr 2017 20:47:06 +0000 (20:47 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Fri, 7 Apr 2017 20:47:06 +0000 (20:47 +0000)
commitbab530ebdca2d56efb23f0da9e1b4303d02965b4
tree84ff1e345394693db8ea1920d18558397f26de96
parentaf734ef76cc33a4d5f10cc7c799687b5997703f1
Toolchains: remove crtbegin on xwindows

crtbegin is not really a proper windows support thing.  This was
duplicated when the toolchain was initially built.  If the injection of
crtbegin is needed, it can be done via the `/include` directive.
Furthermore, since `-fPIC` doesnt make sense on PE/COFF, crtbegin and
crtbeginS dont really need to be different.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@299800 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/ToolChains/CrossWindows.cpp
test/Driver/windows-cross.c