summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2006-03-09 17:06:58 +0000
committerNick Clifton <nickc@redhat.com>2006-03-09 17:06:58 +0000
commitee977ffb4e50eb4fb351876d33cfd07fdcc0fddd (patch)
treef165a6aa5534a0968f205b9422bb6d0a87a5bc92
parentc434b376a8bdc7d96920d3df1951828a2e9021a4 (diff)
downloadbinutils-redhat-ee977ffb4e50eb4fb351876d33cfd07fdcc0fddd.tar.gz
* elf32-arm.c(elf32_arm_finish_dynamic_sections): Use unsigned char type.
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elf32-arm.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 855984af63..49d65ce198 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2006-03-09 Khem Raj <khem@mvista.com>
+
+ * elf32-arm.c(elf32_arm_finish_dynamic_sections): Use unsigned
+ char type.
+
2006-03-08 H.J. Lu <hongjiu.lu@intel.com>
* elfxx-ia64.c (elfNN_ia64_choose_gp): Properly choose gp.
diff --git a/bfd/elf32-arm.c b/bfd/elf32-arm.c
index 7a957e6cc8..21f17f07a6 100644
--- a/bfd/elf32-arm.c
+++ b/bfd/elf32-arm.c
@@ -7351,7 +7351,7 @@ elf32_arm_finish_dynamic_sections (bfd * output_bfd, struct bfd_link_info * info
/* Correct the .rel(a).plt.unloaded relocations. They will have
incorrect symbol indexes. */
int num_plts;
- char *p;
+ unsigned char *p;
num_plts = ((htab->splt->size - htab->plt_header_size)
/ htab->plt_entry_size);