This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

ia64 build breakage


	* elfxx-ia64.c (elfNN_ia64_add_symbol_hook): Warning fix.

Index: bfd/elfxx-ia64.c
===================================================================
RCS file: /cvs/src/src/bfd/elfxx-ia64.c,v
retrieving revision 1.202
diff -u -p -r1.202 elfxx-ia64.c
--- bfd/elfxx-ia64.c	22 Aug 2007 16:01:12 -0000	1.202
+++ bfd/elfxx-ia64.c	24 Aug 2007 04:29:32 -0000
@@ -1467,10 +1467,13 @@ elfNN_ia64_final_write_processing (bfd *
    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

-- 
Alan Modra
Australia Development Lab, IBM


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]