summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2007-08-24 04:31:24 +0000
committerAlan Modra <amodra@gmail.com>2007-08-24 04:31:24 +0000
commita30e5f5fca66d525fd44e6a4869b5569441bd464 (patch)
tree8fd97232e0e7aca542777eced031914d07f1562f
parent67c11a9b99d56d3b86f9d337dad56973227116b9 (diff)
downloadppe42-binutils-a30e5f5fca66d525fd44e6a4869b5569441bd464.tar.gz
ppe42-binutils-a30e5f5fca66d525fd44e6a4869b5569441bd464.zip
* elfxx-ia64.c (elfNN_ia64_add_symbol_hook): Warning fix.
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/elfxx-ia64.c9
2 files changed, 10 insertions, 3 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 6c2dae8e9e..f898befed0 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -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".
diff --git a/bfd/elfxx-ia64.c b/bfd/elfxx-ia64.c
index d08abbe36f..0c975c551c 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
OpenPOWER on IntegriCloud