aboutsummaryrefslogtreecommitdiff
path: root/bfd/elfxx-mips.c
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
commit502e814e6ef9164107cb374e8c578a8f6c7e0550 (patch)
tree47bbef7ac307f139e77aabfc897071a7320ab74e /bfd/elfxx-mips.c
parent2b48966149db082c8643268316d8582506c1caac (diff)
downloadfsf-binutils-gdb-502e814e6ef9164107cb374e8c578a8f6c7e0550.zip
fsf-binutils-gdb-502e814e6ef9164107cb374e8c578a8f6c7e0550.tar.gz
fsf-binutils-gdb-502e814e6ef9164107cb374e8c578a8f6c7e0550.tar.bz2
* elfxx-mips.c (mips16_stub_symndx) <sec>: Mark argument as
unused.
Diffstat (limited to 'bfd/elfxx-mips.c')
-rw-r--r--bfd/elfxx-mips.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c
index 43a46046..b49593b 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;