]> granicus.if.org Git - clang/commit
When we're compiling with -pg make sure to link with gcrt1.o on linux. Be
authorEric Christopher <echristo@gmail.com>
Fri, 7 Jun 2013 23:25:01 +0000 (23:25 +0000)
committerEric Christopher <echristo@gmail.com>
Fri, 7 Jun 2013 23:25:01 +0000 (23:25 +0000)
commit61f0868f1920f80814e6d0195a1bc5b0f0bfc1b1
treea3f1987eac5dc7b3d3b543d503a60a51c59f264f
parenteeb00624413d4a4856e66809b84c558d2cdce17f
When we're compiling with -pg make sure to link with gcrt1.o on linux. Be
sure to do this always, this matches the behavior for the gcc driver.

Fixes PR16251.

Based on a patch by Qiao Yang.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@183591 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/Tools.cpp
test/Driver/linux-ld.c