aboutsummaryrefslogtreecommitdiff
path: root/bfd
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
commiteed62c48bf9249359155084a6e7c1dcb51e361f6 (patch)
treee8b19160e0ce1ee1307cb0661f348087ff2fa5bf /bfd
parent831004b79b321ba269145f7e32539e33ac8dbc1b (diff)
downloadgdb-eed62c48bf9249359155084a6e7c1dcb51e361f6.zip
gdb-eed62c48bf9249359155084a6e7c1dcb51e361f6.tar.gz
gdb-eed62c48bf9249359155084a6e7c1dcb51e361f6.tar.bz2
* elf32-arm.c(elf32_arm_finish_dynamic_sections): Use unsigned char type.
Diffstat (limited to 'bfd')
-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 855984a..49d65ce 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 7a957e6..21f17f0 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);