aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2004-02-26 17:45:19 +0000
committerH.J. Lu <hjl.tools@gmail.com>2004-02-26 17:45:19 +0000
commitde9811afe23bbdd0cb72c7c05d7136aebf9e75c9 (patch)
treea997a7612c9a7afe8a4050bf11f3d2e30f334f71 /bfd
parent0dcd613f587725b5458606ad4c04270ce624f099 (diff)
downloadgdb-de9811afe23bbdd0cb72c7c05d7136aebf9e75c9.zip
gdb-de9811afe23bbdd0cb72c7c05d7136aebf9e75c9.tar.gz
gdb-de9811afe23bbdd0cb72c7c05d7136aebf9e75c9.tar.bz2
2004-02-26 H.J. Lu <hongjiu.lu@intel.com>
* elfxx-ia64.c (elfNN_ia64_check_relocs): Fix call to count_dyn_reloc.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elfxx-ia64.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 6aadd11..6e39c4b 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2004-02-26 H.J. Lu <hongjiu.lu@intel.com>
+
+ * elfxx-ia64.c (elfNN_ia64_check_relocs): Fix call to
+ count_dyn_reloc.
+
2004-02-25 H.J. Lu <hongjiu.lu@intel.com>
* elfxx-ia64.c (elfNN_ia64_dyn_reloc_entry): Add the reltext.
diff --git a/bfd/elfxx-ia64.c b/bfd/elfxx-ia64.c
index 332e361..878511b 100644
--- a/bfd/elfxx-ia64.c
+++ b/bfd/elfxx-ia64.c
@@ -2487,7 +2487,7 @@ elfNN_ia64_check_relocs (abfd, info, sec, relocs)
return FALSE;
}
if (!count_dyn_reloc (abfd, dyn_i, srel, dynrel_type,
- (sec->flags & SEC_READONLY)))
+ (sec->flags & SEC_READONLY) != 0))
return FALSE;
}
}