]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add -b/-l options to localedef(1) to specify output endianness and use
authoryuripv <yuripv@FreeBSD.org>
Sat, 20 Oct 2018 20:51:05 +0000 (20:51 +0000)
committeryuripv <yuripv@FreeBSD.org>
Sat, 20 Oct 2018 20:51:05 +0000 (20:51 +0000)
commitd641b0cafff34da42756b23d4c928c03313f3a86
treebf3f05ef69b6c102a205b879802d456e8bd98265
parent28159d2a0e9e50e7981fa6296fadeccb54c1d351
Add -b/-l options to localedef(1) to specify output endianness and use
it appropriately when building share/ctypedef and share/colldef.

This makes the resulting locale data in EL->EB (amd64->powerpc64) cross
build and in the native EB build match.  Revert the changes done to libc
in r308170 as they are no longer needed.

PR: 231965
Reviewed by: bapt, emaste, sbruno, 0mp
Approved by: kib (mentor)
Differential Revision: https://reviews.freebsd.org/D17603
13 files changed:
lib/libc/locale/collate.c
lib/libc/locale/endian.h [deleted file]
lib/libc/locale/rune.c
share/colldef/Makefile
share/ctypedef/Makefile
share/mk/bsd.endian.mk
targets/pseudo/userland/Makefile.depend
tools/tools/locale/tools/cldr2def.pl
usr.bin/localedef/collate.c
usr.bin/localedef/ctype.c
usr.bin/localedef/localedef.1
usr.bin/localedef/localedef.c
usr.bin/localedef/localedef.h