From 502e814e6ef9164107cb374e8c578a8f6c7e0550 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Tue, 9 Sep 2008 03:17:13 +0000 Subject: [PATCH] * elfxx-mips.c (mips16_stub_symndx) : Mark argument as unused. --- bfd/ChangeLog | 5 +++++ bfd/elfxx-mips.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) 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 + + * elfxx-mips.c (mips16_stub_symndx) : Mark argument as + unused. + 2008-09-08 H.J. Lu Daniel Jacobowitz 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; -- 2.30.2