/* Renesas / SuperH specific support for Symbian 32-bit ELF files
- Copyright (C) 2004-2015 Free Software Foundation, Inc.
+ Copyright (C) 2004-2017 Free Software Foundation, Inc.
Contributed by Red Hat
This file is part of BFD, the Binary File Descriptor library.
return TRUE;
bfd_set_error (bfd_error_invalid_operation);
+ /* xgettext:c-format */
_bfd_error_handler (_("%B: IMPORT AS directive for %s conceals previous IMPORT AS"),
abfd, current_name);
return FALSE;
(long) (directive - (char *) contents));
bfd_set_error (bfd_error_invalid_operation);
+ /* xgettext:c-format */
_bfd_error_handler (_("%B: Unrecognised .directive command: %s"),
abfd, directive);
break;
asection ** local_sections)
{
/* When performing a final link we implement the IMPORT AS directives. */
- if (!info->relocatable)
+ if (!bfd_link_relocatable (info))
{
Elf_Internal_Rela * rel;
Elf_Internal_Rela * relend;
if (new_hash == NULL)
{
+ /* xgettext:c-format */
_bfd_error_handler (_("%B: Failed to add renamed symbol %s"),
input_bfd, ptr->new_name);
continue;