From 70961b9d70422aa56de88dd58a1aad313612a28c Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Tue, 12 Jul 2005 11:53:56 +0000 Subject: [PATCH] * elf32-xtensa.c (bfd_elf_xtensa_reloc): Warning fix. --- bfd/ChangeLog | 4 ++++ bfd/elf32-xtensa.c | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index dad308c..fdfc2e1 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,9 @@ 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. 2005-07-11 H.J. Lu diff --git a/bfd/elf32-xtensa.c b/bfd/elf32-xtensa.c index 0bcd364..b6ab7de 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; -- 2.7.4