[patch] xcoff64-rs6000 logic reversal
DJ Delorie
dj@redhat.com
Mon Dec 23 21:57:00 GMT 2002
Alan's formatting fix of 2002-08-06 introduced a logic inversion in
this function. This patch fixes the call to match coff-rs6000.c's
version. Committed as obvious.
2002-12-23 DJ Delorie <dj@redhat.com>
* coff64-rs6000.c (xcoff64_ppc_relocate_section): Fix logic reversal.
Index: coff64-rs6000.c
===================================================================
RCS file: /cvs/src/src/bfd/coff64-rs6000.c,v
retrieving revision 1.43
diff -p -3 -r1.43 coff64-rs6000.c
*** coff64-rs6000.c 8 Dec 2002 03:34:38 -0000 1.43
--- coff64-rs6000.c 24 Dec 2002 03:42:19 -0000
*************** xcoff64_ppc_relocate_section (output_bfd
*** 1292,1298 ****
}
if (rel->r_type >= XCOFF_MAX_CALCULATE_RELOCATION
! || ((*xcoff64_calculate_relocation[rel->r_type])
(input_bfd, input_section, output_bfd, rel, sym, &howto, val,
addend, &relocation, contents)))
return FALSE;
--- 1292,1298 ----
}
if (rel->r_type >= XCOFF_MAX_CALCULATE_RELOCATION
! || !((*xcoff64_calculate_relocation[rel->r_type])
(input_bfd, input_section, output_bfd, rel, sym, &howto, val,
addend, &relocation, contents)))
return FALSE;
More information about the Binutils
mailing list