PR21732, String-concatenated message can not be translated
authorAlan Modra <amodra@gmail.com>
Tue, 26 Sep 2017 01:58:04 +0000 (11:28 +0930)
committerAlan Modra <amodra@gmail.com>
Tue, 26 Sep 2017 04:09:35 +0000 (13:39 +0930)
commit66cfc0fd0d9daadc2dac5a783b69b4050c0b1722
treec4bfe4c81311d9fd53ab1ce6e81b676554ee6689
parent6c3e20f177102519cf4f8b3c7e7e17996ed7cd7f
PR21732, String-concatenated message can not be translated

Preprocessor tokens like DWARF_VMA_FMT and BFD_VMA_FMT are not
understood by gettext, and cause the translation string to be
truncated.  Even if it were not truncated, we wouldn't want a value
that changes depending on host or configure options to be put in a
translation string.

PR 21732
* dwarf.c (READ_ULEB): Don't use DWARF_VMA_FMT in translated string.
(READ_SLEB): Likewise.
* readelf.c (bfd_vmatoa): New function.
(get_data, get_dynamic_data): Use it for printing error messages.
binutils/ChangeLog
binutils/dwarf.c
binutils/readelf.c
This page took 0.046806 seconds and 4 git commands to generate.