Automatic date update in version.in
[deliverable/binutils-gdb.git] / bfd / coff-rs6000.c
index f3e3b18dcefe4be36524ae87d79a6742cd6641eb..b49e393e48f43938400985125293f64fe0086874 100644 (file)
@@ -1,5 +1,5 @@
 /* BFD back-end for IBM RS/6000 "XCOFF" files.
-   Copyright (C) 1990-2016 Free Software Foundation, Inc.
+   Copyright (C) 1990-2017 Free Software Foundation, Inc.
    Written by Metin G. Ozisik, Mimi Phuong-Thao Vo, and John Gilmore.
    Archive support from Damon A. Permezel.
    Contributed by IBM Corporation and Cygnus Support.
@@ -2737,8 +2737,9 @@ xcoff_reloc_type_fail (bfd *input_bfd,
                        bfd_byte *contents ATTRIBUTE_UNUSED)
 {
   _bfd_error_handler
-    (_("%s: unsupported relocation type 0x%02x"),
-     bfd_get_filename (input_bfd), (unsigned int) rel->r_type);
+    /* xgettext: c-format */
+    (_("%B: unsupported relocation type 0x%02x"),
+     input_bfd, (unsigned int) rel->r_type);
   bfd_set_error (bfd_error_bad_value);
   return FALSE;
 }
@@ -2822,9 +2823,9 @@ xcoff_reloc_type_toc (bfd *input_bfd,
       if (h->toc_section == NULL)
        {
          _bfd_error_handler
-           (_("%s: TOC reloc at 0x%x to symbol `%s' with no TOC entry"),
-            bfd_get_filename (input_bfd), rel->r_vaddr,
-            h->root.root.string);
+           /* xgettext: c-format */
+           (_("%B: TOC reloc at 0x%x to symbol `%s' with no TOC entry"),
+            input_bfd, rel->r_vaddr, h->root.root.string);
          bfd_set_error (bfd_error_bad_value);
          return FALSE;
        }
@@ -3568,6 +3569,7 @@ xcoff_create_csect_from_smclas (bfd *abfd,
   else
     {
       _bfd_error_handler
+       /* xgettext: c-format */
        (_("%B: symbol `%s' has unrecognized smclas %d"),
         abfd, symbol_name, aux->x_csect.x_smclas);
       bfd_set_error (bfd_error_bad_value);
@@ -3991,6 +3993,7 @@ const struct xcoff_dwsect_name xcoff_dwsect_names[] = {
 /* For reloc entry points.  */
 #define _bfd_xcoff_get_reloc_upper_bound coff_get_reloc_upper_bound
 #define _bfd_xcoff_canonicalize_reloc coff_canonicalize_reloc
+#define _bfd_xcoff_set_reloc _bfd_generic_set_reloc
 #define _bfd_xcoff_bfd_reloc_type_lookup _bfd_xcoff_reloc_type_lookup
 #define _bfd_xcoff_bfd_reloc_name_lookup _bfd_xcoff_reloc_name_lookup
 
This page took 0.023886 seconds and 4 git commands to generate.