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
commitddaa324b436859ab9df2114a44df015372d0f2bb (patch)
tree2f30067dcf7cb12462c102479628e20ac40f585e
parentd74c688084d40208eb04c6e3bf741c7f75d476ba (diff)
downloadgdb-ddaa324b436859ab9df2114a44df015372d0f2bb.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 855984af639..49d65ce198a 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 7a957e6cc89..21f17f07a62 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);