Automatic date update in version.in
[deliverable/binutils-gdb.git] / bfd / coff-ppc.c
index 7cd29acdd786e975406577297681f43efbdfba22..66a78e7f7b0e58d8e04334b402909c5530e5d375 100644 (file)
@@ -1131,10 +1131,9 @@ coff_ppc_relocate_section (bfd *output_bfd,
                      {
                        _bfd_error_handler
                          /* xgettext: c-format */
-                         (_("%B: Relocation for %s of %lx exceeds "
+                         (_("%B: Relocation for %s of %#Lx exceeds "
                             "Toc size limit"),
-                          input_bfd, name,
-                          (unsigned long) our_toc_offset);
+                          input_bfd, name, our_toc_offset);
                        bfd_set_error (bfd_error_bad_value);
                        return FALSE;
                      }
@@ -1186,8 +1185,8 @@ coff_ppc_relocate_section (bfd *output_bfd,
              {
                _bfd_error_handler
                  /* xgettext: c-format */
-                 (_("%B: Relocation exceeds allocated TOC (%lx)"),
-                  input_bfd, (unsigned long) toc_section->size);
+                 (_("%B: Relocation exceeds allocated TOC (%#Lx)"),
+                  input_bfd, toc_section->size);
                bfd_set_error (bfd_error_bad_value);
                return FALSE;
              }
@@ -1242,10 +1241,9 @@ coff_ppc_relocate_section (bfd *output_bfd,
            _bfd_error_handler
              /* xgettext: c-format */
              (_("Warning: unsupported reloc %s <file %B, section %A>\n"
-                "sym %ld (%s), r_vaddr %ld (%lx)"),
-              input_bfd, input_section, howto->name,
-              rel->r_symndx, my_name, (long) rel->r_vaddr,
-              (unsigned long) rel->r_vaddr);
+                "sym %ld (%s), r_vaddr %Ld (%#Lx)"),
+              howto->name, input_bfd, input_section,
+              rel->r_symndx, my_name, rel->r_vaddr, rel->r_vaddr);
          }
          break;
        case IMAGE_REL_PPC_IMGLUE:
This page took 0.023887 seconds and 4 git commands to generate.