aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2011-09-27 12:05:33 +0000
committerTristan Gingold <gingold@adacore.com>2011-09-27 12:05:33 +0000
commit4a5cb34fc9567cd10c48748691b0ff02d441e53d (patch)
tree8b5f630f15a6f923c6aa1c7b3ee7b410e9db82c4
parent92a7795b59d61413c7df90cf615ec9c9d2977411 (diff)
downloadgdb-4a5cb34fc9567cd10c48748691b0ff02d441e53d.zip
gdb-4a5cb34fc9567cd10c48748691b0ff02d441e53d.tar.gz
gdb-4a5cb34fc9567cd10c48748691b0ff02d441e53d.tar.bz2
2011-09-27 Tristan Gingold <gingold@adacore.com>
* readelf.c (print_ia64_vms_note): Fix xgettext warnings.
-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));