This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
[patch] xcoff64-rs6000 logic reversal
- From: DJ Delorie <dj at redhat dot com>
- To: binutils at sources dot redhat dot com
- Date: Mon, 23 Dec 2002 22:43:31 -0500
- Subject: [patch] xcoff64-rs6000 logic reversal
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;