aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-xtensa.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2005-07-12 11:53:56 +0000
committerAlan Modra <amodra@gmail.com>2005-07-12 11:53:56 +0000
commit70961b9d70422aa56de88dd58a1aad313612a28c (patch)
tree5a7292f2e84bd44b11dabe32569c9ba496507b9a /bfd/elf32-xtensa.c
parent632a56fd4ce6b39accc46d34e3fa6b92fe07b805 (diff)
downloadgdb-70961b9d70422aa56de88dd58a1aad313612a28c.zip
gdb-70961b9d70422aa56de88dd58a1aad313612a28c.tar.gz
gdb-70961b9d70422aa56de88dd58a1aad313612a28c.tar.bz2
* elf32-xtensa.c (bfd_elf_xtensa_reloc): Warning fix.
Diffstat (limited to 'bfd/elf32-xtensa.c')
-rw-r--r--bfd/elf32-xtensa.c3
1 files changed, 2 insertions, 1 deletions
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;