From d1fa68d3c85cb03989df231690704ff4c2e9da43 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Thu, 19 Mar 2009 10:40:06 +0000 Subject: [PATCH] * elf32-hppa.c (final_link_relocate): Cast bfd_vma values to long for format string. --- bfd/ChangeLog | 21 +++++++++++++-------- bfd/elf32-hppa.c | 6 +++--- 2 files changed, 16 insertions(+), 11 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 8217fa0e9dc..945504c6792 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2009-03-19 Andreas Schwab + + * elf32-hppa.c (final_link_relocate): Cast bfd_vma values to long + for format string. + 2009-03-19 Alan Modra * elf32-spu.c (spu_elf_find_overlays): Separate error return from @@ -9,7 +14,7 @@ 2009-03-18 Mark Kettenis - * elf.c (elfcore_grok_openbsd_procinfo) + * elf.c (elfcore_grok_openbsd_procinfo) (elfcore_grok_openbsd_note): New functions. (elf_parse_notes): Handle notes from OpenBSD ELF core files. @@ -213,7 +218,7 @@ and simplify its handling. (xcoff_mark): Treat last_symndx as an inclusive value. Only mark symbols with the right csect. Don't mark rsec when processing - relocations against undefined or absolute sections. + relocations against undefined or absolute sections. (bfd_xcoff_size_dynamic_sections): Don't check the SEC_MARK flag of bfd_und_section_ptr. (xcoff_link_input_bfd): Likewise. @@ -239,7 +244,7 @@ is a function, mark its descriptor and allocate room for global linkage code. Otherwise mark the symbol as implicitly imported. Move the code for creating function descriptors from... - (xcoff_build_ldsyms): ...here. Use XCOFF_WAS_UNDEFINED to + (xcoff_build_ldsyms): ...here. Use XCOFF_WAS_UNDEFINED to check for symbols that were implicitly defined. (xcoff_mark): Don't count any dynamic relocations against function symbols. @@ -962,11 +967,11 @@ 2009-02-03 Carlos O'Donell * configure.in: AC_SUBST pdfdir. - * Makefile.am: Add install-pdf, install-pdf-am + * Makefile.am: Add install-pdf, install-pdf-am and install-pdf-recursive targets. Define pdfdir. * doc/Makefile.am: Define pdf__strip_dir. Add install-pdf and install-pdf-am targets. - * po/Make-in: Add install-pdf target. + * po/Make-in: Add install-pdf target. * configure: Regenerate. * Makefile.in: Regenerate * doc/Makefile.in: Regenerate. @@ -1009,7 +1014,7 @@ update. (elf_m68k_remove_got_entry_type): Update. (elf_m68k_install_rela, dtpoff_base, tpoff): New static functions. - (elf_m68k_check_relocs): Handle TLS relocations. Remove unnecessary + (elf_m68k_check_relocs): Handle TLS relocations. Remove unnecessary update of sgot->size and srelgot->size. (elf_m68k_gc_sweep_hook): Update. (elf_m68k_install_rela, dtpoff_base, tpoff): New static functions. @@ -1053,8 +1058,8 @@ high_pc in order to properly sign-extend VMAs. 2009-01-29 Daniel Jacobowitz - Mark Shinwell - Catherine Moore + Mark Shinwell + Catherine Moore * elf-attrs.c, elflink.c, elfxx-mips.c: Correct typos in comments. diff --git a/bfd/elf32-hppa.c b/bfd/elf32-hppa.c index e16344dd22f..a83c4fd9ce8 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; -- 2.30.2