2011-09-27 Tristan Gingold <gingold@adacore.com>
authorTristan Gingold <gingold@adacore.com>
Tue, 27 Sep 2011 12:05:33 +0000 (12:05 +0000)
committerTristan Gingold <gingold@adacore.com>
Tue, 27 Sep 2011 12:05:33 +0000 (12:05 +0000)
* readelf.c (print_ia64_vms_note): Fix xgettext warnings.

binutils/ChangeLog
binutils/readelf.c

index b61c8e2..6c9d4bc 100644 (file)
@@ -1,3 +1,7 @@
+2011-09-27  Tristan Gingold  <gingold@adacore.com>
+
+       * readelf.c (print_ia64_vms_note): Fix xgettext warnings.
+
 2011-09-22  Tristan Gingold  <gingold@adacore.com>
 
        * NEWS: Add marker for 2.22.
index 9e13190..61064ca 100644 (file)
@@ -12694,7 +12694,8 @@ print_ia64_vms_note (Elf_Internal_Note * pnote)
       break;
 #ifdef BFD64
     case NT_VMS_FPMODE:
-      printf (_("   FP mode: 0x%016" BFD_VMA_FMT "x\n"),
+      printf (_("   FP mode: "));
+      printf ("0x%016" BFD_VMA_FMT "x\n",
               (bfd_vma)byte_get ((unsigned char *)pnote->descdata, 8));
       break;
     case NT_VMS_LINKTIME:
@@ -12717,7 +12718,8 @@ print_ia64_vms_note (Elf_Internal_Note * pnote)
       print_vms_time
         ((bfd_int64_t) byte_get ((unsigned char *)pnote->descdata + 8, 8));
       printf (_("\n"
-                "   Link flags  : 0x%016" BFD_VMA_FMT "x\n"),
+                "   Link flags  : "));
+      printf ("0x%016" BFD_VMA_FMT "x\n",
               (bfd_vma)byte_get ((unsigned char *)pnote->descdata + 16, 8));
       printf (_("   Header flags: 0x%08x\n"),
               (unsigned)byte_get ((unsigned char *)pnote->descdata + 24, 4));