* elfxx-mips.c (mips16_stub_symndx) <sec>: Mark argument as
authorTom Tromey <tromey@redhat.com>
Tue, 9 Sep 2008 03:17:13 +0000 (03:17 +0000)
committerTom Tromey <tromey@redhat.com>
Tue, 9 Sep 2008 03:17:13 +0000 (03:17 +0000)
unused.

bfd/ChangeLog
bfd/elfxx-mips.c

index b1e5697641911bded23f755ccfe010fbf91f297d..c52a2916d6aa562bf2c6e9e911bd221766746748 100644 (file)
@@ -1,3 +1,8 @@
+2008-09-08  Tom Tromey  <tromey@redhat.com>
+
+       * elfxx-mips.c (mips16_stub_symndx) <sec>: Mark argument as
+       unused.
+
 2008-09-08  H.J. Lu  <hongjiu.lu@intel.com>
            Daniel Jacobowitz  <dan@codesourcery.com>
 
index 43a46046192a42950e6a3e0949c85cbfd588dacb..b49593b42866908af70e129d189091826c626589 100644 (file)
@@ -1409,7 +1409,8 @@ section_allows_mips16_refs_p (asection *section)
    function, or 0 if we can't decide which function that is.  */
 
 static unsigned long
-mips16_stub_symndx (asection *sec, const Elf_Internal_Rela *relocs,
+mips16_stub_symndx (asection *sec ATTRIBUTE_UNUSED,
+                   const Elf_Internal_Rela *relocs,
                    const Elf_Internal_Rela *relend)
 {
   const Elf_Internal_Rela *rel;