Use %pA and %pB in messages rather than %A and %B
[deliverable/binutils-gdb.git] / ld / emultempl / cr16elf.em
index d9f8bfc0533eccd55771e28ec7d93b1a63ef1948..710db1ae01024c59f865bc2ab74989ccc19229e1 100644 (file)
@@ -57,7 +57,7 @@ cr16_elf_after_open (void)
             COFF and ELF.  */
          if (bfd_get_flavour (abfd) != bfd_target_coff_flavour
              && bfd_get_flavour (abfd) != bfd_target_elf_flavour)
-           einfo (_("%F%B: all input objects must be COFF or ELF "
+           einfo (_("%F%pB: all input objects must be COFF or ELF "
                     "for --embedded-relocs\n"));
 
          datasec = bfd_get_section_by_name (abfd, ".data.rel");
@@ -83,7 +83,7 @@ cr16_elf_after_open (void)
                  || ! bfd_set_section_alignment (abfd, relsec, 2)
                  || ! bfd_set_section_size (abfd, relsec,
                                             datasec->reloc_count * 8))
-               einfo (_("%F%B: can not create .emreloc section: %E\n"));
+               einfo (_("%F%pB: can not create .emreloc section: %E\n"));
            }
 
          /* Double check that all other data sections are empty, as is
@@ -102,7 +102,7 @@ check_sections (bfd *abfd, asection *sec, void *datasec)
   if ((strncmp (bfd_get_section_name (abfd, sec), ".data.rel", 9) == 0)
       && sec != datasec
       && sec->reloc_count == 0 )
-    einfo (_("%B%X: section %s has relocs; can not use --embedded-relocs\n"),
+    einfo (_("%pB%X: section %s has relocs; can not use --embedded-relocs\n"),
           abfd, bfd_get_section_name (abfd, sec));
 }
 
@@ -158,10 +158,10 @@ cr16elf_before_allocation (void)
                                                       &errmsg))
            {
              if (errmsg == NULL)
-               einfo (_("%B%X: can not create runtime reloc information: %E\n"),
+               einfo (_("%pB%X: can not create runtime reloc information: %E\n"),
                       abfd);
              else
-               einfo (_("%X%B: can not create runtime reloc information: %s\n"),
+               einfo (_("%X%pB: can not create runtime reloc information: %s\n"),
                       abfd, errmsg);
            }
        }
This page took 0.024105 seconds and 4 git commands to generate.