summaryrefslogtreecommitdiffstats
path: root/llvm/tools/gccld
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-06-30 16:20:02 +0000
committerChris Lattner <sabre@nondot.org>2002-06-30 16:20:02 +0000
commitc19be16c7b8771f2f3a25916f7c93cb7ef6378e0 (patch)
treeff73c5fef45830773e3a7f7399e4f19055643042 /llvm/tools/gccld
parentf119a2b1dfe06e8cdc6881d1d61f54038ece6c3c (diff)
downloadbcm5719-llvm-c19be16c7b8771f2f3a25916f7c93cb7ef6378e0.tar.gz
bcm5719-llvm-c19be16c7b8771f2f3a25916f7c93cb7ef6378e0.zip
YEs, we really do want to sort.
llvm-svn: 2810
Diffstat (limited to 'llvm/tools/gccld')
-rw-r--r--llvm/tools/gccld/gccld.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/tools/gccld/gccld.cpp b/llvm/tools/gccld/gccld.cpp
index 5793b10d9c1..919884419d4 100644
--- a/llvm/tools/gccld/gccld.cpp
+++ b/llvm/tools/gccld/gccld.cpp
@@ -66,7 +66,7 @@ static inline std::auto_ptr<Module> LoadFile(const std::string &FN) {
if (Verbose) {
cerr << "Error opening bytecode file: '" << Filename << "'";
if (ErrorMessage.size()) cerr << ": " << ErrorMessage;
- cerr << std::endl;
+ cerr << "\n";
}
if (NextLibPathIdx == LibPaths.size()) break;
@@ -93,7 +93,7 @@ int main(int argc, char **argv) {
if (!Libraries.empty()) {
// Sort libraries list...
- //sort(Libraries.begin(), Libraries.end());
+ std::sort(Libraries.begin(), Libraries.end());
// Remove duplicate libraries entries...
Libraries.erase(unique(Libraries.begin(), Libraries.end()),
OpenPOWER on IntegriCloud