diff options
author | Alan Modra <amodra@gmail.com> | 2017-09-26 11:28:04 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2017-09-26 13:39:35 +0930 |
commit | 66cfc0fd0d9daadc2dac5a783b69b4050c0b1722 (patch) | |
tree | c4bfe4c81311d9fd53ab1ce6e81b676554ee6689 /binutils/ChangeLog | |
parent | 6c3e20f177102519cf4f8b3c7e7e17996ed7cd7f (diff) | |
download | binutils-gdb-66cfc0fd0d9daadc2dac5a783b69b4050c0b1722.tar.gz |
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.
Diffstat (limited to 'binutils/ChangeLog')
-rw-r--r-- | binutils/ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index f7b8d7076cf..2b50930ee3d 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,11 @@ +2017-09-26 Alan Modra <amodra@gmail.com> + + 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. + 2017-09-25 H.J. Lu <hongjiu.lu@intel.com> PR binutils/22203 |