summaryrefslogtreecommitdiff
path: root/bfd/coff64-rs6000.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@delorie.com>2002-12-24 03:43:44 +0000
committerDJ Delorie <dj@delorie.com>2002-12-24 03:43:44 +0000
commit76424d0a4ee3b307ed3c6c542366f9d511a779a1 (patch)
tree5d6381e3c604cbe91228afc64d799cf19543adfe /bfd/coff64-rs6000.c
parentc9b76d628097430ca6667d2499cd32da82f7187d (diff)
downloadgdb-76424d0a4ee3b307ed3c6c542366f9d511a779a1.tar.gz
* coff64-rs6000.c (xcoff64_ppc_relocate_section): Fix logic reversal.
Diffstat (limited to 'bfd/coff64-rs6000.c')
-rw-r--r--bfd/coff64-rs6000.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/coff64-rs6000.c b/bfd/coff64-rs6000.c
index c13d54b7743..dcb96dd7127 100644
--- a/bfd/coff64-rs6000.c
+++ b/bfd/coff64-rs6000.c
@@ -1292,7 +1292,7 @@ xcoff64_ppc_relocate_section (output_bfd, info, input_bfd,
}
if (rel->r_type >= XCOFF_MAX_CALCULATE_RELOCATION
- || ((*xcoff64_calculate_relocation[rel->r_type])
+ || !((*xcoff64_calculate_relocation[rel->r_type])
(input_bfd, input_section, output_bfd, rel, sym, &howto, val,
addend, &relocation, contents)))
return FALSE;