Use %pA and %pB in messages rather than %A and %B
[deliverable/binutils-gdb.git] / bfd / elf32-rl78.c
index 48714c22d59cd816a0ce91c31438ee7fd871b67d..50d229f19e72c436621402f537dfd56857e50c10 100644 (file)
@@ -289,7 +289,7 @@ rl78_info_to_howto_rela (bfd *                   abfd ATTRIBUTE_UNUSED,
   if (r_type >= (unsigned int) R_RL78_max)
     {
       /* xgettext:c-format */
-      _bfd_error_handler (_("%B: invalid RL78 reloc number: %d"), abfd, r_type);
+      _bfd_error_handler (_("%pB: invalid RL78 reloc number: %d"), abfd, r_type);
       r_type = 0;
     }
   cache_ptr->howto = rl78_elf_howto_table + r_type;
@@ -1078,7 +1078,7 @@ rl78_elf_relocate_section
                 and emit a more helpful error message.  */
              if (r_type == R_RL78_DIR24S_PCREL)
                /* xgettext:c-format */
-               msg = _("%B(%A): error: call to undefined function '%s'");
+               msg = _("%pB(%pA): error: call to undefined function '%s'");
              else
                (*info->callbacks->reloc_overflow)
                  (info, (h ? &h->root : NULL), name, howto->name, (bfd_vma) 0,
@@ -1092,27 +1092,27 @@ rl78_elf_relocate_section
 
            case bfd_reloc_other:
              /* xgettext:c-format */
-             msg = _("%B(%A): warning: unaligned access to symbol '%s' in the small data area");
+             msg = _("%pB(%pA): warning: unaligned access to symbol '%s' in the small data area");
              break;
 
            case bfd_reloc_outofrange:
              /* xgettext:c-format */
-             msg = _("%B(%A): internal error: out of range error");
+             msg = _("%pB(%pA): internal error: out of range error");
              break;
 
            case bfd_reloc_notsupported:
              /* xgettext:c-format */
-             msg = _("%B(%A): internal error: unsupported relocation error");
+             msg = _("%pB(%pA): internal error: unsupported relocation error");
              break;
 
            case bfd_reloc_dangerous:
              /* xgettext:c-format */
-             msg = _("%B(%A): internal error: dangerous relocation");
+             msg = _("%pB(%pA): internal error: dangerous relocation");
              break;
 
            default:
              /* xgettext:c-format */
-             msg = _("%B(%A): internal error: unknown error");
+             msg = _("%pB(%pA): internal error: unknown error");
              break;
            }
 
@@ -1199,8 +1199,8 @@ rl78_elf_merge_private_bfd_data (bfd *ibfd, struct bfd_link_info *info)
 
                  _bfd_error_handler
                    /* xgettext:c-format */
-                   (_("RL78 ABI conflict: G10 file %B cannot be linked"
-                      " with %s file %B"),
+                   (_("RL78 ABI conflict: G10 file %pB cannot be linked"
+                      " with %s file %pB"),
                     ibfd, rl78_cpu_name (out_cpu), obfd);
                }
              else
@@ -1216,7 +1216,7 @@ rl78_elf_merge_private_bfd_data (bfd *ibfd, struct bfd_link_info *info)
 
              _bfd_error_handler
                /* xgettext:c-format */
-               (_("RL78 ABI conflict: cannot link %s file %B with %s file %B"),
+               (_("RL78 ABI conflict: cannot link %s file %pB with %s file %pB"),
                 rl78_cpu_name (in_cpu),  ibfd,
                 rl78_cpu_name (out_cpu), obfd);
            }
@@ -1229,11 +1229,11 @@ rl78_elf_merge_private_bfd_data (bfd *ibfd, struct bfd_link_info *info)
 
          if (old_flags & E_FLAG_RL78_64BIT_DOUBLES)
            /* xgettext:c-format */
-           _bfd_error_handler (_("- %B is 64-bit, %B is not"),
+           _bfd_error_handler (_("- %pB is 64-bit, %pB is not"),
                                obfd, ibfd);
          else
            /* xgettext:c-format */
-           _bfd_error_handler (_("- %B is 64-bit, %B is not"),
+           _bfd_error_handler (_("- %pB is 64-bit, %pB is not"),
                                ibfd, obfd);
          error = TRUE;
        }
This page took 0.04859 seconds and 4 git commands to generate.