Joseph S. Myers wrote: ...
Joseph, does the analysis and patch look OK to you?It seems sound to me. The key test would be creating locales, with a locale archive, both natively with one endianness and cross from another endianness, and verifying that the resulting archive is identical in both cases.
Marc,Can you, please, run the test Joseph proposed? Let me know if you are unable to do so, we'll try to figure out something else then.
Thanks, -- Maxim K. CodeSourcery