xtensa warning fix
Alan Modra
amodra@bigpond.net.au
Tue Jul 12 11:51:00 GMT 2005
More information about the Binutils mailing list
Tue Jul 12 11:51:00 GMT 2005
- Previous message (by thread): [patch] PPC small data symbols.
- Next message (by thread): Fix ppc64 recursive function call
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Triggers with 64-bit bfd_vma and 32-bit long.
* elf32-xtensa.c (bfd_elf_xtensa_reloc): Warning fix.
Index: bfd/elf32-xtensa.c
===================================================================
RCS file: /cvs/src/src/bfd/elf32-xtensa.c,v
retrieving revision 1.55
diff -u -p -r1.55 elf32-xtensa.c
--- bfd/elf32-xtensa.c 8 Jul 2005 06:20:01 -0000 1.55
+++ bfd/elf32-xtensa.c 12 Jul 2005 09:40:48 -0000
@@ -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;
--
Alan Modra
IBM OzLabs - Linux Technology Centre
- Previous message (by thread): [patch] PPC small data symbols.
- Next message (by thread): Fix ppc64 recursive function call
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list