* elf32-hppa.c (final_link_relocate): Cast bfd_vma values to long

for format string.
This commit is contained in:
Andreas Schwab 2009-03-19 10:40:06 +00:00
parent ad2adbc8be
commit d1fa68d3c8
2 changed files with 16 additions and 11 deletions

View File

@ -1,3 +1,8 @@
2009-03-19 Andreas Schwab <schwab@linux-m68k.org>
* elf32-hppa.c (final_link_relocate): Cast bfd_vma values to long
for format string.
2009-03-19 Alan Modra <amodra@bigpond.net.au>
* elf32-spu.c (spu_elf_find_overlays): Separate error return from
@ -1053,8 +1058,8 @@
high_pc in order to properly sign-extend VMAs.
2009-01-29 Daniel Jacobowitz <dan@codesourcery.com>
Mark Shinwell <shinwell@codesourcery.com>
Catherine Moore <clm@codesourcery.com>
Mark Shinwell <shinwell@codesourcery.com>
Catherine Moore <clm@codesourcery.com>
* elf-attrs.c, elflink.c, elfxx-mips.c: Correct typos in comments.

View File

@ -1,6 +1,6 @@
/* BFD back-end for HP PA-RISC ELF files.
Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1999, 2000, 2001,
2002, 2003, 2004, 2005, 2006, 2007, 2008
2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
Free Software Foundation, Inc.
Original code by
@ -3411,7 +3411,7 @@ final_link_relocate (asection *input_section,
(_("%B(%A+0x%lx): %s fixup for insn 0x%x is not supported in a non-shared link"),
input_bfd,
input_section,
offset,
(long) offset,
howto->name,
insn);
}
@ -3575,7 +3575,7 @@ final_link_relocate (asection *input_section,
(_("%B(%A+0x%lx): cannot reach %s, recompile with -ffunction-sections"),
input_bfd,
input_section,
offset,
(long) offset,
hsh->bh_root.string);
bfd_set_error (bfd_error_bad_value);
return bfd_reloc_notsupported;