* coff64-rs6000.c (xcoff64_ppc_relocate_section): Fix logic reversal.
authorDJ Delorie <dj@redhat.com>
Tue, 24 Dec 2002 03:43:44 +0000 (03:43 +0000)
committerDJ Delorie <dj@redhat.com>
Tue, 24 Dec 2002 03:43:44 +0000 (03:43 +0000)
bfd/ChangeLog
bfd/coff64-rs6000.c

index df7a736b37bee6fd5e6671c57ee01571efce3cb3..b1638aa2260cdc94a09f903a308589697d136a4b 100644 (file)
@@ -1,3 +1,7 @@
+2002-12-23  DJ Delorie  <dj@redhat.com>
+
+       * coff64-rs6000.c (xcoff64_ppc_relocate_section): Fix logic reversal.
+
 2002-12-23  Alan Modra  <amodra@bigpond.net.au>
 
        * elflink.h (elf_link_output_extsym): Heed strip_discarded.
index c13d54b77434fcd05101ee54b4388faad3348dd9..dcb96dd7127eacc80de638b4672e9b4d806883cb 100644 (file)
@@ -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;