This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[committed] Fix type of local variable in elfxx-mips.c
- From: Richard Sandiford <richard at codesourcery dot com>
- To: binutils at sourceware dot org
- Date: Wed, 22 Mar 2006 17:17:56 +0000
- Subject: [committed] Fix type of local variable in elfxx-mips.c
Argh! When testing the mips-vxworks patch, I'd compiled the tools
with gcc 3.4. Compiling with 4.2 showed up a further warning
(pointer targets differ in signedness).
Committed as obvious.
Richard
* elfxx-mips.c (_bfd_mips_vxworks_finish_dynamic_symbol): Fix type
of "loc".
Index: bfd/elfxx-mips.c
===================================================================
RCS file: /cvs/src/src/bfd/elfxx-mips.c,v
retrieving revision 1.163
diff -u -p -r1.163 elfxx-mips.c
--- bfd/elfxx-mips.c 22 Mar 2006 09:28:13 -0000 1.163
+++ bfd/elfxx-mips.c 22 Mar 2006 17:14:03 -0000
@@ -8161,7 +8161,7 @@ _bfd_mips_vxworks_finish_dynamic_symbol
if (h->plt.offset != (bfd_vma) -1)
{
- char *loc;
+ bfd_byte *loc;
bfd_vma plt_address, plt_index, got_address, got_offset, branch_offset;
Elf_Internal_Rela rel;
static const bfd_vma *plt_entry;