2005-10-19  Ulrich Drepper  <drepper@redhat.com>

	* iconvdata/Makefile (modules): Add IBM1364, IBM1371, IBM1388, IBM1390,
	and IBM1399.
	(distribute): Add ibm1364.c, ibm1364.h, ibm1371.c, ibm1371.h,
	ibm1388.c, ibm1388.h, ibm1390.c, ibm1390.h, ibm1399.c, and ibm1399.h.
	* iconvdata/TESTS: Add entries for IBM1364, IBM1371, IBM1388, IBM1390,
	and IBM1399.
	* iconvdata/gconv-modules: Likewise.
	* iconvdata/ibm1364.c: New file.
	* iconvdata/ibm1364.h: New file.
	* iconvdata/ibm1371.c: New file.
	* iconvdata/ibm1371.h: New file.
	* iconvdata/ibm1388.c: New file.
	* iconvdata/ibm1388.h: New file.
	* iconvdata/ibm1390.c: New file.
	* iconvdata/ibm1390.h: New file.
	* iconvdata/ibm1399.c: New file.
	* iconvdata/ibm1399.h: New file.
	* iconvdata/testdata/IBM1364: New file.
	* iconvdata/testdata/IBM1364..UTF8: New file.
	* iconvdata/testdata/IBM1371: New file.
	* iconvdata/testdata/IBM1371..UTF8: New file.
	* iconvdata/testdata/IBM1388: New file.
	* iconvdata/testdata/IBM1388..UTF8: New file
	* iconvdata/testdata/IBM1390: New file.
	* iconvdata/testdata/IBM1390..UTF8: New file.
	* iconvdata/testdata/IBM1399: New file.
	* iconvdata/testdata/IBM1399..UTF8: New file.
	Original patch by Masahide Washizawa <washi@jp.ibm.com>.
This commit is contained in:
Ulrich Drepper 2005-10-19 23:58:35 +00:00
parent ad1df11413
commit 3b8d12b876
23 changed files with 74844 additions and 2 deletions

View File

@ -1,3 +1,34 @@
2005-10-19 Ulrich Drepper <drepper@redhat.com>
* iconvdata/Makefile (modules): Add IBM1364, IBM1371, IBM1388, IBM1390,
and IBM1399.
(distribute): Add ibm1364.c, ibm1364.h, ibm1371.c, ibm1371.h,
ibm1388.c, ibm1388.h, ibm1390.c, ibm1390.h, ibm1399.c, and ibm1399.h.
* iconvdata/TESTS: Add entries for IBM1364, IBM1371, IBM1388, IBM1390,
and IBM1399.
* iconvdata/gconv-modules: Likewise.
* iconvdata/ibm1364.c: New file.
* iconvdata/ibm1364.h: New file.
* iconvdata/ibm1371.c: New file.
* iconvdata/ibm1371.h: New file.
* iconvdata/ibm1388.c: New file.
* iconvdata/ibm1388.h: New file.
* iconvdata/ibm1390.c: New file.
* iconvdata/ibm1390.h: New file.
* iconvdata/ibm1399.c: New file.
* iconvdata/ibm1399.h: New file.
* iconvdata/testdata/IBM1364: New file.
* iconvdata/testdata/IBM1364..UTF8: New file.
* iconvdata/testdata/IBM1371: New file.
* iconvdata/testdata/IBM1371..UTF8: New file.
* iconvdata/testdata/IBM1388: New file.
* iconvdata/testdata/IBM1388..UTF8: New file
* iconvdata/testdata/IBM1390: New file.
* iconvdata/testdata/IBM1390..UTF8: New file.
* iconvdata/testdata/IBM1399: New file.
* iconvdata/testdata/IBM1399..UTF8: New file.
Original patch by Masahide Washizawa <washi@jp.ibm.com>.
2005-10-17 Roland McGrath <roland@redhat.com> 2005-10-17 Roland McGrath <roland@redhat.com>
* elf/dl-load.c (MAP_COPY): When undefined, define to * elf/dl-load.c (MAP_COPY): When undefined, define to

View File

@ -57,7 +57,8 @@ modules := ISO8859-1 ISO8859-2 ISO8859-3 ISO8859-4 ISO8859-5 \
IBM1008_420 IBM1097 IBM1112 IBM1123 IBM1130 IBM1140 IBM1141 \ IBM1008_420 IBM1097 IBM1112 IBM1123 IBM1130 IBM1140 IBM1141 \
IBM1142 IBM1143 IBM1144 IBM1145 IBM1146 IBM1147 IBM1148 \ IBM1142 IBM1143 IBM1144 IBM1145 IBM1146 IBM1147 IBM1148 \
IBM1149 IBM1166 IBM1167 IBM4517 IBM4899 IBM4909 IBM4971 \ IBM1149 IBM1166 IBM1167 IBM4517 IBM4899 IBM4909 IBM4971 \
IBM5347 IBM9030 IBM9066 IBM9448 IBM12712 IBM16804 IBM5347 IBM9030 IBM9066 IBM9448 IBM12712 IBM16804 \
IBM1364 IBM1371 IBM1388 IBM1390 IBM1399
modules.so := $(addsuffix .so, $(modules)) modules.so := $(addsuffix .so, $(modules))
@ -192,7 +193,9 @@ distribute := gconv-modules extra-module.mk gap.awk gaptab.awk gconv.map \
ibm1167.c ibm1167.h ibm4517.c ibm4517.h ibm4899.c ibm4899.h \ ibm1167.c ibm1167.h ibm4517.c ibm4517.h ibm4899.c ibm4899.h \
ibm4909.c ibm4909.h ibm4971.c ibm4971.h ibm5347.c ibm5347.h \ ibm4909.c ibm4909.h ibm4971.c ibm4971.h ibm5347.c ibm5347.h \
ibm9030.c ibm9030.h ibm9066.c ibm9066.h ibm9448.c ibm9448.h \ ibm9030.c ibm9030.h ibm9066.c ibm9066.h ibm9448.c ibm9448.h \
ibm12712.c ibm12712.h ibm16804.c ibm16804.h ibm12712.c ibm12712.h ibm16804.c ibm16804.h \
ibm1364.c ibm1364.h ibm1371.c ibm1371.h ibm1388.c ibm1388.h \
ibm1390.c ibm1390.h ibm1399.c ibm1399.h
# We build the transformation modules only when we build shared libs. # We build the transformation modules only when we build shared libs.
ifeq (yes,$(build-shared)) ifeq (yes,$(build-shared))

View File

@ -159,3 +159,8 @@ IBM9066 IBM9066 N UTF8
IBM9448 IBM9448 N UTF8 IBM9448 IBM9448 N UTF8
IBM12712 IBM12712 N UTF8 IBM12712 IBM12712 N UTF8
IBM16804 IBM16804 - UTF8 IBM16804 IBM16804 - UTF8
IBM1364 IBM1364 N UTF8
IBM1371 IBM1371 N UTF8
IBM1388 IBM1388 N UTF8
IBM1390 IBM1390 N UTF8
IBM1399 IBM1399 N UTF8

View File

@ -1862,3 +1862,38 @@ alias CP16804// IBM16804//
alias CSIBM16804// IBM16804// alias CSIBM16804// IBM16804//
module IBM16804// INTERNAL IBM16804 1 module IBM16804// INTERNAL IBM16804 1
module INTERNAL IBM16804// IBM16804 1 module INTERNAL IBM16804// IBM16804 1
# from to module cost
alias IBM-1364// IBM1364//
alias CP1364// IBM1364//
alias CSIBM1364// IBM1364//
module IBM1364// INTERNAL IBM1364 1
module INTERNAL IBM1364// IBM1364 1
# from to module cost
alias IBM-1371// IBM1371//
alias CP1371// IBM1371//
alias CSIBM1371// IBM1371//
module IBM1371// INTERNAL IBM1371 1
module INTERNAL IBM1371// IBM1371 1
# from to module cost
alias IBM-1388// IBM1388//
alias CP1388// IBM1388//
alias CSIBM1388// IBM1388//
module IBM1388// INTERNAL IBM1388 1
module INTERNAL IBM1388// IBM1388 1
# from to module cost
alias IBM-1390// IBM1390//
alias CP1390// IBM1390//
alias CSIBM1390// IBM1390//
module IBM1390// INTERNAL IBM1390 1
module INTERNAL IBM1390// IBM1390 1
# from to module cost
alias IBM-1399// IBM1399//
alias CP1399// IBM1399//
alias CSIBM1399// IBM1399//
module IBM1399// INTERNAL IBM1399 1
module INTERNAL IBM1399// IBM1399 1

14207
iconvdata/ibm1364.h Normal file

File diff suppressed because it is too large Load Diff

34
iconvdata/ibm1371.c Normal file
View File

@ -0,0 +1,34 @@
/* Conversion from and to IBM1371.
Copyright (C) 2005 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Masahide Washizawa <washi@jp.ibm.com>, 2005.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
The GNU C Library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */
#define DATA_HEADER "ibm1371.h"
#define CHARSET_NAME "IBM1371//"
#define FROM_LOOP from_ibm1371
#define TO_LOOP to_ibm1371
#define SB_TO_UCS4 __ibm1371sb_to_ucs4
#define DB_TO_UCS4_IDX __ibm1371db_to_ucs4_idx
#define DB_TO_UCS4 __ibm1371db_to_ucs4
#define UCS4_TO_SB_IDX __ucs4_to_ibm1371sb_idx
#define UCS4_TO_SB __ucs4_to_ibm1371sb
#define UCS4_TO_DB_IDX __ucs4_to_ibm1371db_idx
#define UCS4_TO_DB __ucs4_to_ibm1371db
#define UCS_LIMIT 0xffff
#include "ibm1364.c"

11973
iconvdata/ibm1371.h Normal file

File diff suppressed because it is too large Load Diff

34
iconvdata/ibm1388.c Normal file
View File

@ -0,0 +1,34 @@
/* Conversion from and to IBM1388.
Copyright (C) 2005 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Masahide Washizawa <washi@jp.ibm.com>, 2005.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
The GNU C Library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */
#define DATA_HEADER "ibm1388.h"
#define CHARSET_NAME "IBM1388//"
#define FROM_LOOP from_ibm1388
#define TO_LOOP to_ibm1388
#define SB_TO_UCS4 __ibm1388sb_to_ucs4
#define DB_TO_UCS4_IDX __ibm1388db_to_ucs4_idx
#define DB_TO_UCS4 __ibm1388db_to_ucs4
#define UCS4_TO_SB_IDX __ucs4_to_ibm1388sb_idx
#define UCS4_TO_SB __ucs4_to_ibm1388sb
#define UCS4_TO_DB_IDX __ucs4_to_ibm1388db_idx
#define UCS4_TO_DB __ucs4_to_ibm1388db
#define UCS_LIMIT 0xffff
#include "ibm1364.c"

17236
iconvdata/ibm1388.h Normal file

File diff suppressed because it is too large Load Diff

36
iconvdata/ibm1390.c Normal file
View File

@ -0,0 +1,36 @@
/* Conversion from and to IBM1390.
Copyright (C) 2005 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Masahide Washizawa <washi@jp.ibm.com>, 2005.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
The GNU C Library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */
#define DATA_HEADER "ibm1390.h"
#define CHARSET_NAME "IBM1390//"
#define FROM_LOOP from_ibm1390
#define TO_LOOP to_ibm1390
#define SB_TO_UCS4 __ibm1390sb_to_ucs4
#define DB_TO_UCS4_IDX __ibm1390db_to_ucs4_idx
#define DB_TO_UCS4 __ibm1390db_to_ucs4
#define UCS4_TO_SB_IDX __ucs4_to_ibm1390sb_idx
#define UCS4_TO_SB __ucs4_to_ibm1390sb
#define UCS4_TO_DB_IDX __ucs4_to_ibm1390db_idx
#define UCS4_TO_DB __ucs4_to_ibm1390db
#define DB_TO_UCS4_COMB __ibm1390db_to_ucs4_combined
#define UCS4_COMB_TO_DB __ucs4_combined_to_ibm1390db
#define UCS_LIMIT 0xffffffff
#include "ibm1364.c"

15606
iconvdata/ibm1390.h Normal file

File diff suppressed because it is too large Load Diff

36
iconvdata/ibm1399.c Normal file
View File

@ -0,0 +1,36 @@
/* Conversion from and to IBM1399.
Copyright (C) 2005 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Masahide Washizawa <washi@jp.ibm.com>, 2005.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
The GNU C Library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */
#define DATA_HEADER "ibm1399.h"
#define CHARSET_NAME "IBM1399//"
#define FROM_LOOP from_ibm1399
#define TO_LOOP to_ibm1399
#define SB_TO_UCS4 __ibm1399sb_to_ucs4
#define DB_TO_UCS4_IDX __ibm1399db_to_ucs4_idx
#define DB_TO_UCS4 __ibm1399db_to_ucs4
#define UCS4_TO_SB_IDX __ucs4_to_ibm1399sb_idx
#define UCS4_TO_SB __ucs4_to_ibm1399sb
#define UCS4_TO_DB_IDX __ucs4_to_ibm1399db_idx
#define UCS4_TO_DB __ucs4_to_ibm1399db
#define DB_TO_UCS4_COMB __ibm1399db_to_ucs4_combined
#define UCS4_COMB_TO_DB __ucs4_combined_to_ibm1399db
#define UCS_LIMIT 0xffffffff
#include "ibm1364.c"

15606
iconvdata/ibm1399.h Normal file

File diff suppressed because it is too large Load Diff

BIN
iconvdata/testdata/IBM1364 vendored Normal file

Binary file not shown.

BIN
iconvdata/testdata/IBM1364..UTF8 vendored Normal file

Binary file not shown.

BIN
iconvdata/testdata/IBM1371 vendored Normal file

Binary file not shown.

BIN
iconvdata/testdata/IBM1371..UTF8 vendored Normal file

Binary file not shown.

BIN
iconvdata/testdata/IBM1388 vendored Normal file

Binary file not shown.

BIN
iconvdata/testdata/IBM1388..UTF8 vendored Normal file

Binary file not shown.

BIN
iconvdata/testdata/IBM1390 vendored Normal file

Binary file not shown.

BIN
iconvdata/testdata/IBM1390..UTF8 vendored Normal file

Binary file not shown.

BIN
iconvdata/testdata/IBM1399 vendored Normal file

Binary file not shown.

BIN
iconvdata/testdata/IBM1399..UTF8 vendored Normal file

Binary file not shown.