From 4a5cb34fc9567cd10c48748691b0ff02d441e53d Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Tue, 27 Sep 2011 12:05:33 +0000 Subject: [PATCH] 2011-09-27 Tristan Gingold * readelf.c (print_ia64_vms_note): Fix xgettext warnings. --- binutils/ChangeLog | 4 ++++ binutils/readelf.c | 6 ++++-- 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 + + * readelf.c (print_ia64_vms_note): Fix xgettext warnings. + 2011-09-22 Tristan Gingold * 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)); -- 2.7.4