summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2008-09-09 03:17:13 +0000
committerTom Tromey <tromey@redhat.com>2008-09-09 03:17:13 +0000
commit50581ac6c0ecc21168f424b586a8121df5abe8df (patch)
tree877213966a1e61e94e3ad9add38436a00a827df9
parentd644307bbe5cc908150225e0977159cc4cb00059 (diff)
downloadgdb-50581ac6c0ecc21168f424b586a8121df5abe8df.tar.gz
* elfxx-mips.c (mips16_stub_symndx) <sec>: Mark argument as
unused.
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elfxx-mips.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index b1e56976419..c52a2916d6a 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -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>
diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c
index 43a46046192..b49593b4286 100644
--- a/bfd/elfxx-mips.c
+++ b/bfd/elfxx-mips.c
@@ -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;