* elfxx-ia64.c (elfNN_ia64_add_symbol_hook): Warning fix.
authorAlan Modra <amodra@gmail.com>
Fri, 24 Aug 2007 04:31:24 +0000 (04:31 +0000)
committerAlan Modra <amodra@gmail.com>
Fri, 24 Aug 2007 04:31:24 +0000 (04:31 +0000)
bfd/ChangeLog
bfd/elfxx-ia64.c

index 6c2dae8e9e820f4e536493a74ec9fada2dd6fc3b..f898befed0708837fe1b8a4c2b5e918bbd353f3a 100644 (file)
@@ -1,3 +1,7 @@
+2007-08-24  Alan Modra  <amodra@bigpond.net.au>
+
+       * elfxx-ia64.c (elfNN_ia64_add_symbol_hook): Warning fix.
+
 2007-08-23  H.J. Lu  <hongjiu.lu@intel.com>
 
        * Makefile.am: Run "make dep-am".
index d08abbe36fccbae1561ab3184294235af21bf4ba..0c975c551c61ac18abd85055edea67d8f575144e 100644 (file)
@@ -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