2014-05-01 Steve Ellcey <sellcey@mips.com>

* intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
	* iconv/gconv_simple.c (ONE_DIRECTION): Define.
	* iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
	* iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
This commit is contained in:
Steve Ellcey 2014-05-01 10:22:35 -07:00
parent 6426d77e47
commit 0cdddc25a4
5 changed files with 13 additions and 5 deletions

View File

@ -1,3 +1,10 @@
2014-05-01 Steve Ellcey <sellcey@mips.com>
* intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
* iconv/gconv_simple.c (ONE_DIRECTION): Define.
* iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
* iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
2014-05-01 Steve Ellcey <sellcey@mips.com>
* stdlib/longlong.h: Updated from GCC.

View File

@ -68,6 +68,7 @@ __gconv_btwoc_ascii (struct __gconv_step *step, unsigned char c)
#define FROM_LOOP internal_ucs4_loop
#define TO_LOOP internal_ucs4_loop /* This is not used. */
#define FUNCTION_NAME __gconv_transform_internal_ucs4
#define ONE_DIRECTION 0
static inline int
@ -222,6 +223,7 @@ internal_ucs4_loop_single (struct __gconv_step *step,
#define FROM_LOOP ucs4_internal_loop
#define TO_LOOP ucs4_internal_loop /* This is not used. */
#define FUNCTION_NAME __gconv_transform_ucs4_internal
#define ONE_DIRECTION 0
static inline int
@ -433,6 +435,7 @@ ucs4_internal_loop_single (struct __gconv_step *step,
#define FROM_LOOP internal_ucs4le_loop
#define TO_LOOP internal_ucs4le_loop /* This is not used. */
#define FUNCTION_NAME __gconv_transform_internal_ucs4le
#define ONE_DIRECTION 0
static inline int
@ -590,6 +593,7 @@ internal_ucs4le_loop_single (struct __gconv_step *step,
#define FROM_LOOP ucs4le_internal_loop
#define TO_LOOP ucs4le_internal_loop /* This is not used. */
#define FUNCTION_NAME __gconv_transform_ucs4le_internal
#define ONE_DIRECTION 0
static inline int

View File

@ -163,11 +163,6 @@
# endif
#endif
#ifndef ONE_DIRECTION
# define ONE_DIRECTION 0
#endif
/* How many bytes are needed at most for the from-charset. */
#ifndef MAX_NEEDED_FROM
# define MAX_NEEDED_FROM MIN_NEEDED_FROM

View File

@ -42,6 +42,7 @@ struct gap
#define DEFINE_FINI 1
#define MIN_NEEDED_FROM 1
#define MIN_NEEDED_TO 4
#define ONE_DIRECTION 0
/* First define the conversion function from the 8bit charset to UCS4. */

View File

@ -26,6 +26,7 @@
#define DEFINE_FINI 1
#define MIN_NEEDED_FROM 1
#define MIN_NEEDED_TO 4
#define ONE_DIRECTION 0
/* First define the conversion function from the 8bit charset to UCS4. */