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

This commit is contained in:
Alan Modra 2007-08-24 04:31:24 +00:00
parent 67c11a9b99
commit a30e5f5fca
2 changed files with 10 additions and 3 deletions

View 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".

View 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