diff options
author | Alan Modra <amodra@gmail.com> | 2017-11-15 11:35:21 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2017-11-15 13:35:03 +1030 |
commit | 99847db8ea741f895d79b9312114c13ccb660d83 (patch) | |
tree | 552418f70128a20d4e69309c723ac4bc4346c7ea /ld/ldcref.c | |
parent | 583712f5ab935948b6c28f1b8b686308f0652ddf (diff) | |
download | fsf-binutils-gdb-99847db8ea741f895d79b9312114c13ccb660d83.zip fsf-binutils-gdb-99847db8ea741f895d79b9312114c13ccb660d83.tar.gz fsf-binutils-gdb-99847db8ea741f895d79b9312114c13ccb660d83.tar.bz2 |
ld einfo positional arg support
To allow translators to reorder values in translated strings. This
should mean that all binutils messages now have support for
reordering.
Note to translators: Not all % letters take arguments, so for example
the following only has two arguments, the two %s strings.
"%P%F: output format %s cannot represent section called %s: %E\n"
You could reorder this if you liked to:
"%P%F: %E: section %2$s cannot be represented in output format %1$s\n"
einfo lacks support for flags, field width, precision and length
modifier (apart from %ld and %lu) so don't try to use them in
translations. Both ld and bfd lack support to use a positional arg
twice. These features could be added if needed..
* ldmisc.c (vfinfo): Support up to 9 positional args.
Diffstat (limited to 'ld/ldcref.c')
0 files changed, 0 insertions, 0 deletions