This is the mail archive of the mailing list for the binutils project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[committed] MIPS/BFD: Correct argument type in a hash table iterator

On Wed, 20 Feb 2013, Richard Sandiford wrote:

> > @@ -8923,13 +9190,27 @@ static bfd_boolean
> >  mips_elf_allocate_lazy_stub (struct mips_elf_link_hash_entry *h, void **data)
> >  {
> >    struct mips_elf_link_hash_table *htab;
> Also, preexisting problem, but it should be "void *data" rather than
> "void **data".

 I've committed the fix below.

2013-03-08  Maciej W. Rozycki  <>

	* elfxx-mips.c (mips_elf_allocate_lazy_stub): Correct data type.


Index: binutils-fsf-trunk-quilt/bfd/elfxx-mips.c
--- binutils-fsf-trunk-quilt.orig/bfd/elfxx-mips.c	2013-03-08 10:59:15.775490578 +0000
+++ binutils-fsf-trunk-quilt/bfd/elfxx-mips.c	2013-03-08 11:09:04.255440319 +0000
@@ -8920,7 +8920,7 @@ mips_elf_estimate_stub_size (bfd *output
    allocate an entry in the stubs section.  */
 static bfd_boolean
-mips_elf_allocate_lazy_stub (struct mips_elf_link_hash_entry *h, void **data)
+mips_elf_allocate_lazy_stub (struct mips_elf_link_hash_entry *h, void *data)
   struct mips_elf_link_hash_table *htab;

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]