diff options
author | Andreas Schwab <schwab@linux-m68k.org> | 2009-03-19 10:40:06 +0000 |
---|---|---|
committer | Andreas Schwab <schwab@linux-m68k.org> | 2009-03-19 10:40:06 +0000 |
commit | d1fa68d3c85cb03989df231690704ff4c2e9da43 (patch) | |
tree | c26de60c0beac8395ef6cfc5d5a5dfbd1a373adb /bfd/elf32-hppa.c | |
parent | ad2adbc8be4dcdb881fb2c725c0d3a5d3e214afd (diff) | |
download | gdb-d1fa68d3c85cb03989df231690704ff4c2e9da43.zip gdb-d1fa68d3c85cb03989df231690704ff4c2e9da43.tar.gz gdb-d1fa68d3c85cb03989df231690704ff4c2e9da43.tar.bz2 |
* elf32-hppa.c (final_link_relocate): Cast bfd_vma values to long
for format string.
Diffstat (limited to 'bfd/elf32-hppa.c')
-rw-r--r-- | bfd/elf32-hppa.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bfd/elf32-hppa.c b/bfd/elf32-hppa.c index e16344d..a83c4fd 100644 --- a/bfd/elf32-hppa.c +++ b/bfd/elf32-hppa.c @@ -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; |