aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--binutils/ChangeLog4
-rw-r--r--binutils/readelf.c6
2 files changed, 8 insertions, 2 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index b61c8e2..6c9d4bc 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -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.
diff --git a/binutils/readelf.c b/binutils/readelf.c
index 9e13190..61064ca 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -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));