This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Update elfNN_ia64_check_relocs
- From: "H. J. Lu" <hjl at lucon dot org>
- To: binutils at sources dot redhat dot com
- Date: Thu, 26 Feb 2004 09:47:29 -0800
- Subject: Update elfNN_ia64_check_relocs
I checkec in the following patch to fix call to count_dyn_reloc,
which takes bfd_boolean.
H.J.
----
2004-02-26 H.J. Lu <hongjiu.lu@intel.com>
* elfxx-ia64.c (elfNN_ia64_check_relocs): Fix call to
count_dyn_reloc.
Index: elfxx-ia64.c
===================================================================
RCS file: /cvs/src/src/bfd/elfxx-ia64.c,v
retrieving revision 1.118
diff -u -p -r1.118 elfxx-ia64.c
--- elfxx-ia64.c 26 Feb 2004 03:54:06 -0000 1.118
+++ elfxx-ia64.c 26 Feb 2004 17:42:57 -0000
@@ -2487,7 +2487,7 @@ elfNN_ia64_check_relocs (abfd, info, sec
return FALSE;
}
if (!count_dyn_reloc (abfd, dyn_i, srel, dynrel_type,
- (sec->flags & SEC_READONLY)))
+ (sec->flags & SEC_READONLY) != 0))
return FALSE;
}
}