summaryrefslogtreecommitdiff
path: root/bfd/elf32-hppa.c
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2009-03-19 10:40:06 +0000
committerAndreas Schwab <schwab@linux-m68k.org>2009-03-19 10:40:06 +0000
commit325b93bbb6324eb8b98fcf3e048d5ae163c83731 (patch)
tree5d32452aba390261ffeafa30c2d79bf673b2f1c0 /bfd/elf32-hppa.c
parent4c3f64c544897818744b8140986c8f99fa31fcf8 (diff)
downloadbinutils-redhat-325b93bbb6324eb8b98fcf3e048d5ae163c83731.tar.gz
* 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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bfd/elf32-hppa.c b/bfd/elf32-hppa.c
index e16344dd22..a83c4fd9ce 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;