Use %pA and %pB in messages rather than %A and %B
[deliverable/binutils-gdb.git] / bfd / elf64-mmix.c
index 2132a1b1706c2b17efbe492cf2785d46abb149f9..472f56e154632e979020ce5ca0ff7e79a8a69c34 100644 (file)
@@ -1192,7 +1192,7 @@ mmix_elf_perform_relocation (asection *isec, reloc_howto_type *howto,
          {
            _bfd_error_handler
              /* xgettext:c-format */
-             (_("%B: Internal inconsistency error for value for\n\
+             (_("%pB: Internal inconsistency error for value for\n\
  linker-allocated global register: linked: %#Lx != relaxed: %#Lx"),
               isec->owner,
               value,
@@ -1261,7 +1261,7 @@ mmix_info_to_howto_rela (bfd *abfd ATTRIBUTE_UNUSED,
   if (r_type >= (unsigned int) R_MMIX_max)
     {
       /* xgettext:c-format */
-      _bfd_error_handler (_("%B: invalid MMIX reloc number: %d"), abfd, r_type);
+      _bfd_error_handler (_("%pB: invalid MMIX reloc number: %d"), abfd, r_type);
       r_type = 0;
     }
   cache_ptr->howto = &elf_mmix_howto_table[r_type];
@@ -1613,14 +1613,14 @@ mmix_final_link_relocate (reloc_howto_type *howto, asection *input_section,
          if (symname == NULL || *symname == 0)
            _bfd_error_handler
              /* xgettext:c-format */
-             (_("%B: base-plus-offset relocation against register symbol:"
-                " (unknown) in %A"),
+             (_("%pB: base-plus-offset relocation against register symbol:"
+                " (unknown) in %pA"),
               input_section->owner, symsec);
          else
            _bfd_error_handler
              /* xgettext:c-format */
-             (_("%B: base-plus-offset relocation against register symbol:"
-                " %s in %A"),
+             (_("%pB: base-plus-offset relocation against register symbol:"
+                " %s in %pA"),
               input_section->owner, symname, symsec);
          return bfd_reloc_overflow;
        }
@@ -1664,14 +1664,14 @@ mmix_final_link_relocate (reloc_howto_type *howto, asection *input_section,
          if (symname == NULL || *symname == 0)
            _bfd_error_handler
              /* xgettext:c-format */
-             (_("%B: register relocation against non-register symbol:"
-                " (unknown) in %A"),
+             (_("%pB: register relocation against non-register symbol:"
+                " (unknown) in %pA"),
               input_section->owner, symsec);
          else
            _bfd_error_handler
              /* xgettext:c-format */
-             (_("%B: register relocation against non-register symbol:"
-                " %s in %A"),
+             (_("%pB: register relocation against non-register symbol:"
+                " %s in %pA"),
               input_section->owner, symname, symsec);
 
          /* The bfd_reloc_outofrange return value, though intuitively a
@@ -1707,7 +1707,7 @@ mmix_final_link_relocate (reloc_howto_type *howto, asection *input_section,
                       MMIX_REG_SECTION_NAME) != 0)
        {
          _bfd_error_handler
-           (_("%B: directive LOCAL valid only with a register or absolute value"),
+           (_("%pB: directive LOCAL valid only with a register or absolute value"),
             input_section->owner);
 
          return bfd_reloc_overflow;
@@ -1738,7 +1738,7 @@ mmix_final_link_relocate (reloc_howto_type *howto, asection *input_section,
            /* FIXME: Better error message.  */
            _bfd_error_handler
              /* xgettext:c-format */
-             (_("%B: LOCAL directive: Register $%Ld is not a local register."
+             (_("%pB: LOCAL directive: Register $%Ld is not a local register."
                 "  First global register is $%Ld."),
               input_section->owner, srel, first_global);
 
@@ -2166,7 +2166,7 @@ mmix_elf_add_symbol_hook (bfd *abfd,
             h->u.def.section->owner is NULL.  */
          _bfd_error_handler
            /* xgettext:c-format */
-           (_("%B: Error: multiple definition of `%s'; start of %s "
+           (_("%pB: Error: multiple definition of `%s'; start of %s "
               "is set in a earlier linked file\n"),
             abfd, *namep,
             *namep + strlen (MMIX_LOC_SECTION_START_SYMBOL_PREFIX));
This page took 0.028212 seconds and 4 git commands to generate.