This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[obv] Fix xgettext warnings
- From: Tristan Gingold <gingold at adacore dot com>
- To: binutils Development <binutils at sourceware dot org>
- Date: Tue, 27 Sep 2011 14:02:51 +0200
- Subject: [obv] Fix xgettext warnings
Hi,
xgettext doesn't like C strings cut by a macro. This patch fixes two such warnings in readelf.
Committed as obvious after recompilation.
Tristan.
binutils/
2011-09-27 Tristan Gingold <gingold@adacore.com>
* readelf.c (print_ia64_vms_note): Fix xgettext warnings.
Index: readelf.c
===================================================================
RCS file: /cvs/src/src/binutils/readelf.c,v
retrieving revision 1.554
diff -c -r1.554 readelf.c
*** readelf.c 21 Sep 2011 20:49:13 -0000 1.554
--- readelf.c 27 Sep 2011 12:00:42 -0000
***************
*** 12694,12700 ****
break;
#ifdef BFD64
case NT_VMS_FPMODE:
! printf (_(" FP mode: 0x%016" BFD_VMA_FMT "x\n"),
(bfd_vma)byte_get ((unsigned char *)pnote->descdata, 8));
break;
case NT_VMS_LINKTIME:
--- 12694,12701 ----
break;
#ifdef BFD64
case NT_VMS_FPMODE:
! 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,12723 ****
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"),
(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));
--- 12718,12725 ----
print_vms_time
((bfd_int64_t) byte_get ((unsigned char *)pnote->descdata + 8, 8));
printf (_("\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));