From: DJ Delorie Date: Tue, 24 Dec 2002 03:43:44 +0000 (+0000) Subject: * coff64-rs6000.c (xcoff64_ppc_relocate_section): Fix logic reversal. X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=76424d0a4ee3b307ed3c6c542366f9d511a779a1;p=pf3gnuchains%2Fpf3gnuchains3x.git * coff64-rs6000.c (xcoff64_ppc_relocate_section): Fix logic reversal. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index df7a736b37..b1638aa226 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2002-12-23 DJ Delorie + + * coff64-rs6000.c (xcoff64_ppc_relocate_section): Fix logic reversal. + 2002-12-23 Alan Modra * elflink.h (elf_link_output_extsym): Heed strip_discarded. diff --git a/bfd/coff64-rs6000.c b/bfd/coff64-rs6000.c index c13d54b774..dcb96dd712 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;