summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2005-05-11 09:23:43 +0000
committerAndreas Schwab <schwab@suse.de>2005-05-11 09:23:43 +0000
commit7f71723c8563ff008a5dd5b04c1a2ad21081d229 (patch)
tree236938c136c63350528e129aa3ff24565a01dd16
parent36c0fecef1afc5dfcadbd98ee331475b1d12052a (diff)
downloadgdb-7f71723c8563ff008a5dd5b04c1a2ad21081d229.tar.gz
* elf32-i386.c (elf_i386_finish_dynamic_sections): Fix signedness
warning.
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elf32-i386.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index a136d2f9604..5c0b1469982 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2005-05-11 Andreas Schwab <schwab@suse.de>
+
+ * elf32-i386.c (elf_i386_finish_dynamic_sections): Fix signedness
+ warning.
+
2005-05-10 H.J. Lu <hongjiu.lu@intel.com>
* elf.c (_bfd_elf_make_section_from_shdr): Only check debug
diff --git a/bfd/elf32-i386.c b/bfd/elf32-i386.c
index 35716796068..fe2ebc85c44 100644
--- a/bfd/elf32-i386.c
+++ b/bfd/elf32-i386.c
@@ -3443,7 +3443,7 @@ elf_i386_finish_dynamic_sections (bfd *output_bfd,
if (htab->is_vxworks && !info->shared)
{
int num_plts = (htab->splt->size / PLT_ENTRY_SIZE) - 1;
- char *p;
+ unsigned char *p;
p = htab->srelplt2->contents;
if (info->shared)