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/ChangeLog | |
parent | 583712f5ab935948b6c28f1b8b686308f0652ddf (diff) |
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/ChangeLog')
-rw-r--r-- | ld/ChangeLog | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index a012c02352..97bc8fb01a 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +2017-11-15 Alan Modra <amodra@gmail.com> + + * ldmisc.c (vfinfo): Support up to 9 positional args. + 2017-11-14 Jim Wilson <jimw@sifive.com> * testsuite/ld-elf/compress1-alt.s: New. |