This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]