OSDN Git Service

* 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 b1e5697..c52a291 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 43a4604..b49593b 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;