From f60ca5e351eb190cc10c1a9d414fc8894737e565 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Thu, 24 Feb 2005 13:34:38 +0000 Subject: * coffcode.h (coff_print_aux): Warning fix. * elf-m10300.c (mn10300_elf_relax_section): Use section->id instead of section pointer to identify. * coff-h8300.c (h8300_reloc16_extra_cases): Likewise. Allocate the correct size buffer for local sym mangling too. (h8300_bfd_link_add_symbols): Likewise. * elf32-sh-symbian.c (sh_symbian_process_embedded_commands): Fix warning. * elf32-sh64.c (shmedia_prepare_reloc): Use %B and %p in error message * elf32-xtensa.c (literal_value_hash): Warning fix. * versados.c (process_otr): Warning fix. (versados_canonicalize_reloc): Likewise. * vms-gsd.c (_bfd_vms_slurp_gsd): Warning fix. * vms.c (fill_section_ptr): Warning fix. --- bfd/elf32-sh64.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bfd/elf32-sh64.c') diff --git a/bfd/elf32-sh64.c b/bfd/elf32-sh64.c index f7d8949fe3..b63b4b31d0 100644 --- a/bfd/elf32-sh64.c +++ b/bfd/elf32-sh64.c @@ -588,9 +588,9 @@ shmedia_prepare_reloc (struct bfd_link_info *info, bfd *abfd, if (dropped != 0) { (*_bfd_error_handler) - (_("%s: error: unaligned relocation type %d at %08x reloc %08x\n"), - bfd_get_filename (input_section->owner), ELF32_R_TYPE (rel->r_info), - (unsigned)rel->r_offset, (unsigned)relocation); + (_("%B: error: unaligned relocation type %d at %08x reloc %p\n"), + input_section->owner, ELF32_R_TYPE (rel->r_info), + (unsigned) rel->r_offset, relocation); return FALSE; } -- cgit v1.2.1