Correct last patch.
authorIan Lance Taylor <ian@airs.com>
Tue, 6 May 2008 05:54:21 +0000 (05:54 +0000)
committerIan Lance Taylor <ian@airs.com>
Tue, 6 May 2008 05:54:21 +0000 (05:54 +0000)
gold/output.h

index 89c6eeb..6c7dc39 100644 (file)
@@ -1011,9 +1011,9 @@ class Output_reloc<elfcpp::SHT_RELA, dynamic, size, big_endian>
   {
     int i = this->rel_.compare(r2.rel_);
     if (i < 0)
-      return false;
-    else if (i > 0)
       return true;
+    else if (i > 0)
+      return false;
     else
       return this->addend_ < r2.addend_;
   }