summaryrefslogtreecommitdiff
path: root/bfd/coff64-rs6000.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2002-12-24 03:43:44 +0000
committerDJ Delorie <dj@redhat.com>2002-12-24 03:43:44 +0000
commit213e90f4835f1309a968791d93e91fcbcf6ba1b2 (patch)
tree96337eb4ebc9c8a6b1d55c3c0b4b18dec020c2a1 /bfd/coff64-rs6000.c
parent9d1127c56c02e14d5da0dfc8a442e178bea05c52 (diff)
downloadbinutils-gdb-213e90f4835f1309a968791d93e91fcbcf6ba1b2.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;