From: Alan Modra Date: Fri, 24 Aug 2007 04:31:24 +0000 (+0000) Subject: * elfxx-ia64.c (elfNN_ia64_add_symbol_hook): Warning fix. X-Git-Tag: gdb_6_7-2007-09-07-branchpoint~150 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a30e5f5fca66d525fd44e6a4869b5569441bd464;p=external%2Fbinutils.git * elfxx-ia64.c (elfNN_ia64_add_symbol_hook): Warning fix. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 6c2dae8..f898bef 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2007-08-24 Alan Modra + + * elfxx-ia64.c (elfNN_ia64_add_symbol_hook): Warning fix. + 2007-08-23 H.J. Lu * Makefile.am: Run "make dep-am". diff --git a/bfd/elfxx-ia64.c b/bfd/elfxx-ia64.c index d08abbe..0c975c5 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