summaryrefslogtreecommitdiff
path: root/elfutils/libebl/sparc_symbol.c
diff options
context:
space:
mode:
Diffstat (limited to 'elfutils/libebl/sparc_symbol.c')
-rw-r--r--elfutils/libebl/sparc_symbol.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/elfutils/libebl/sparc_symbol.c b/elfutils/libebl/sparc_symbol.c
index eed31d11..dbb942b5 100644
--- a/elfutils/libebl/sparc_symbol.c
+++ b/elfutils/libebl/sparc_symbol.c
@@ -1,5 +1,5 @@
/* SPARC specific symbolic name handling.
- Copyright (C) 2002, 2003 Red Hat, Inc.
+ Copyright (C) 2002, 2003, 2005 Red Hat, Inc.
Written by Jakub Jelinek <jakub@redhat.com>, 2002.
This program is Open Source software; you can redistribute it and/or
@@ -117,7 +117,8 @@ static const char *reloc_map_table[] =
/* Determine relocation type string for sparc. */
const char *
-sparc_reloc_type_name (int type, char *buf, size_t len)
+sparc_reloc_type_name (int type, char *buf __attribute__ ((unused)),
+ size_t len __attribute__ ((unused)))
{
/* High 24 bits of r_type are used for second addend in R_SPARC_OLO10. */
if ((type & 0xff) == R_SPARC_OLO10)