This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
ia64 build breakage
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: binutils at sourceware dot org
- Date: Fri, 24 Aug 2007 14:00:50 +0930
- Subject: 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