summaryrefslogtreecommitdiff
path: root/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
commitc5d4493041a8679b7cae7b09af05302fb3037a4a (patch)
tree62d7db563ad0ddf25708a80a83d363e0f08e293d /tools/gccld
parentb4aef1746adac01e2bd932514a4d5614de4304d0 (diff)
downloadllvm-c5d4493041a8679b7cae7b09af05302fb3037a4a.tar.gz
llvm-c5d4493041a8679b7cae7b09af05302fb3037a4a.tar.bz2
llvm-c5d4493041a8679b7cae7b09af05302fb3037a4a.tar.xz
YEs, we really do want to sort.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2810 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/gccld')
-rw-r--r--tools/gccld/gccld.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/gccld/gccld.cpp b/tools/gccld/gccld.cpp
index 5793b10d9c..919884419d 100644
--- a/tools/gccld/gccld.cpp
+++ b/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()),