summaryrefslogtreecommitdiff
path: root/bfd/elfxx-ia64.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2007-08-24 04:31:24 +0000
committerAlan Modra <amodra@bigpond.net.au>2007-08-24 04:31:24 +0000
commit15d56f78dbd37a0274ed0a636467775d1dd0fd03 (patch)
tree3a0dcd5f8a38f1138129b4bf8257217ab24e4b4c /bfd/elfxx-ia64.c
parentc2cf5ede70378acb74c36c841108d21c0cd2f765 (diff)
downloadgdb-15d56f78dbd37a0274ed0a636467775d1dd0fd03.tar.gz
* elfxx-ia64.c (elfNN_ia64_add_symbol_hook): Warning fix.
Diffstat (limited to 'bfd/elfxx-ia64.c')
-rw-r--r--bfd/elfxx-ia64.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/bfd/elfxx-ia64.c b/bfd/elfxx-ia64.c
index d08abbe36fc..0c975c551c6 100644
--- a/bfd/elfxx-ia64.c
+++ b/bfd/elfxx-ia64.c
@@ -1467,10 +1467,13 @@ elfNN_ia64_final_write_processing (bfd *abfd,
file. We use it to put .comm items in .sbss, and not .bss. */
static bfd_boolean
-elfNN_ia64_add_symbol_hook (bfd *abfd, struct bfd_link_info *info,
+elfNN_ia64_add_symbol_hook (bfd *abfd,
+ struct bfd_link_info *info,
Elf_Internal_Sym *sym,
- const char **namep, flagword *flagsp,
- asection **secp, bfd_vma *valp)
+ const char **namep ATTRIBUTE_UNUSED,
+ flagword *flagsp ATTRIBUTE_UNUSED,
+ asection **secp,
+ bfd_vma *valp)
{
if (sym->st_shndx == SHN_COMMON
&& !info->relocatable