diff --git a/bfd/ChangeLog b/bfd/ChangeLog index dad308cc3d..fdfc2e12e2 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2005-07-12 Alan Modra + + * elf32-xtensa.c (bfd_elf_xtensa_reloc): Warning fix. + 2005-07-12 Alan Modra * elf32-ppc.c (ppc_elf_set_sdata_syms): Correct __sbss_start value. diff --git a/bfd/elf32-xtensa.c b/bfd/elf32-xtensa.c index 0bcd364383..b6ab7de9a3 100644 --- a/bfd/elf32-xtensa.c +++ b/bfd/elf32-xtensa.c @@ -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;