In readelf.c, in the macro CHECK_ENTSIZE_VALUES, there is this code

  error (_("Section %d has invalid sh_entsize of %" BFD_VMA_FMT "x\n"), \
         i, section->sh_entsize);       \

When extracting message strings from this code, only the first part
will be extracted:

  msgid "Section %d has invalid sh_entsize of %"

Obviously, that isn't the string that will be sent to the function,
and thus, any translations of this message will be ignored.

A similar problem reappears later in the same file in
dynamic_sction_mips_val:

  printf (_("<corrupt: %" BFD_VMA_FMT "d>"), entry->d_un.d_ptr);

  msgid "<corrupt: %"

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to