* elf32-xtensa.c (bfd_elf_xtensa_reloc): Warning fix.

This commit is contained in:
Alan Modra 2005-07-12 11:53:56 +00:00
parent 632a56fd4c
commit 70961b9d70
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2005-07-12 Alan Modra <amodra@bigpond.net.au>
* elf32-xtensa.c (bfd_elf_xtensa_reloc): Warning fix.
2005-07-12 Alan Modra <amodra@bigpond.net.au>
* elf32-ppc.c (ppc_elf_set_sdata_syms): Correct __sbss_start value.

View File

@ -1930,7 +1930,8 @@ bfd_elf_xtensa_reloc (bfd *abfd,
*error_message = "";
*error_message = vsprint_msg (*error_message, ": (%s + 0x%lx)",
strlen (symbol->name) + 17,
symbol->name, reloc_entry->addend);
symbol->name,
(unsigned long) reloc_entry->addend);
}
return flag;