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
commitc4c640476f11be92aa85da8aa48d8848ae3c001f (patch)
tree40be4b78a58b13807e15277581c64fbb670e810e /bfd/elfxx-ia64.c
parentc67f144a6f325daeb620865e5a55113587b3d39c (diff)
downloadbinutils-redhat-c4c640476f11be92aa85da8aa48d8848ae3c001f.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 d08abbe36f..0c975c551c 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