diff options
author | Alan Modra <amodra@gmail.com> | 2005-07-12 11:53:56 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2005-07-12 11:53:56 +0000 |
commit | 70961b9d70422aa56de88dd58a1aad313612a28c (patch) | |
tree | 5a7292f2e84bd44b11dabe32569c9ba496507b9a | |
parent | 632a56fd4ce6b39accc46d34e3fa6b92fe07b805 (diff) | |
download | gdb-70961b9d70422aa56de88dd58a1aad313612a28c.zip gdb-70961b9d70422aa56de88dd58a1aad313612a28c.tar.gz gdb-70961b9d70422aa56de88dd58a1aad313612a28c.tar.bz2 |
* elf32-xtensa.c (bfd_elf_xtensa_reloc): Warning fix.
-rw-r--r-- | bfd/ChangeLog | 4 | ||||
-rw-r--r-- | bfd/elf32-xtensa.c | 3 |
2 files changed, 6 insertions, 1 deletions
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 <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. 2005-07-11 H.J. Lu <hongjiu.lu@intel.com> 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; |