summaryrefslogtreecommitdiff
path: root/tools/llvm-ld
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2006-11-11 19:59:25 +0000
committerReid Spencer <rspencer@reidspencer.com>2006-11-11 19:59:25 +0000
commit2803b4cc581af06bf99af5ddc3353836c63d1562 (patch)
treea1714554dd77794566fbd5825a7c7dd7f1512c56 /tools/llvm-ld
parenta94a203f346e65d40c4c3fe478c5d8d7a2ff5df6 (diff)
downloadllvm-2803b4cc581af06bf99af5ddc3353836c63d1562.tar.gz
llvm-2803b4cc581af06bf99af5ddc3353836c63d1562.tar.bz2
llvm-2803b4cc581af06bf99af5ddc3353836c63d1562.tar.xz
Minor style fixes from review.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31685 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-ld')
-rw-r--r--tools/llvm-ld/llvm-ld.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/llvm-ld/llvm-ld.cpp b/tools/llvm-ld/llvm-ld.cpp
index d96494ad33..82cf674724 100644
--- a/tools/llvm-ld/llvm-ld.cpp
+++ b/tools/llvm-ld/llvm-ld.cpp
@@ -326,10 +326,10 @@ static int GenerateNative(const std::string &OutputFilename,
for (unsigned index = 0; index < LinkItems.size(); index++)
if (LinkItems[index].first != "crtend") {
if (LinkItems[index].second) {
- std::string lib_name = "-l" + LinkItems[index].first;
- args.push_back(lib_name.c_str());
+ std::string lib_name = "-l" + LinkItems[index].first;
+ args.push_back(lib_name.c_str());
} else
- args.push_back(LinkItems[index].first.c_str());
+ args.push_back(LinkItems[index].first.c_str());
}
args.push_back(0);