aboutsummaryrefslogtreecommitdiff
path: root/gold
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>2008-05-06 05:54:21 +0000
committerIan Lance Taylor <ian@airs.com>2008-05-06 05:54:21 +0000
commitcc28ec6162d8f06637d96cc750e3e33eff477cc8 (patch)
tree1acc7a84bb6b174a15e01f3664cfbc0275400d9d /gold
parentd98bc257cffa804406c40b84ecfc8801c2ee90e2 (diff)
downloadgdb-cc28ec6162d8f06637d96cc750e3e33eff477cc8.zip
gdb-cc28ec6162d8f06637d96cc750e3e33eff477cc8.tar.gz
gdb-cc28ec6162d8f06637d96cc750e3e33eff477cc8.tar.bz2
Correct last patch.
Diffstat (limited to 'gold')
-rw-r--r--gold/output.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gold/output.h b/gold/output.h
index 89c6eeb..6c7dc39 100644
--- a/gold/output.h
+++ b/gold/output.h
@@ -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_;
}