[PATCH v4 0/6] ASCIZ Command for output section
Nick Clifton
nickc@redhat.com
Tue Feb 14 16:20:13 GMT 2023
Hi Ulf,
> One question:
> The lang_add_string contains an error message if the string does not fit into the allocated area.
> This will never get triggered by the ASCIZ command, since that will allocate the size of the string.
> If you specify a size to the ASCII command and then provide a longer string it will trigger.
Ah - you know that I mentioned that I had tidied up the code
a little bit ? Well the other area I tidied was the lang_add_string
function. I simplified it, removed the redundant size checking code
and string padding code, and changed the stacked if-statements into
a simpler switch-statement...
So currently there are no messages that need translation,
> There are no translations for the string at the moment.
> Will the linker output the English string, or what?
If a translation for a specific string is not available then it will
just be displayed as-is. So in this case the English version will be
used.
> What is the procedure to get a translation?
The hard way:
Create a new ld/po/ld.pot file and send it to the Translation Project
with a request for new translations:
https://translationproject.org/html/maintainers.html
The easy way:
Wait for the next official release of the binutils. As part of
the process for creating a release I take care of asking the Translation
Project to update the translation files.
Note - this does not mean that new translations will be created
for all supported languages. The translation project runs on a
volunteer basis and it is up the the volunteers to find time to
create new translations and/or update old translations.
> I can provide a Swedish translation at the least.
If you would like to volunteer some time to the Translation Project
I am sure that they would love to hear from you.
Cheers
Nick
More information about the Binutils
mailing list