Update elfNN_ia64_check_relocs

H. J. Lu hjl@lucon.org
Thu Feb 26 17:47:00 GMT 2004


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;
 	}
     }



More information about the Binutils mailing list