diff options
author | Alan Modra <amodra@gmail.com> | 2007-08-24 04:31:24 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2007-08-24 04:31:24 +0000 |
commit | a30e5f5fca66d525fd44e6a4869b5569441bd464 (patch) | |
tree | 8fd97232e0e7aca542777eced031914d07f1562f | |
parent | 67c11a9b99d56d3b86f9d337dad56973227116b9 (diff) | |
download | gdb-a30e5f5fca66d525fd44e6a4869b5569441bd464.zip gdb-a30e5f5fca66d525fd44e6a4869b5569441bd464.tar.gz gdb-a30e5f5fca66d525fd44e6a4869b5569441bd464.tar.bz2 |
* elfxx-ia64.c (elfNN_ia64_add_symbol_hook): Warning fix.
-rw-r--r-- | bfd/ChangeLog | 4 | ||||
-rw-r--r-- | bfd/elfxx-ia64.c | 9 |
2 files changed, 10 insertions, 3 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 6c2dae8..f898bef 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 d08abbe..0c975c5 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 |