From a30e5f5fca66d525fd44e6a4869b5569441bd464 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Fri, 24 Aug 2007 04:31:24 +0000 Subject: [PATCH] * elfxx-ia64.c (elfNN_ia64_add_symbol_hook): Warning fix. --- bfd/ChangeLog | 4 ++++ bfd/elfxx-ia64.c | 9 ++++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 6c2dae8e9e8..f898befed07 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 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 -- 2.30.2