From: Jan-Benedict G. <jb...@us...> - 2005-11-16 11:08:04
|
Update of /cvsroot/linux-vax/toolchain/patches In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11354 Modified Files: uclibc-000007-nonnegative_floats_config_option.patch Log Message: - Rediff. Index: uclibc-000007-nonnegative_floats_config_option.patch =================================================================== RCS file: /cvsroot/linux-vax/toolchain/patches/uclibc-000007-nonnegative_floats_config_option.patch,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- uclibc-000007-nonnegative_floats_config_option.patch 30 Sep 2005 09:12:07 -0000 1.1 +++ uclibc-000007-nonnegative_floats_config_option.patch 16 Nov 2005 11:07:47 -0000 1.2 @@ -1,7 +1,7 @@ diff -Nurp src-uclibc-fresh/extra/Configs/Config.in.arch src-uclibc-hacked/extra/Configs/Config.in.arch ---- src-uclibc-fresh/extra/Configs/Config.in.arch 2005-06-05 18:39:50.000000000 +0200 -+++ src-uclibc-hacked/extra/Configs/Config.in.arch 2005-09-30 10:14:36.000000000 +0200 -@@ -28,8 +28,8 @@ config ARCH_HAS_MMU +--- src-uclibc-fresh/extra/Configs/Config.in.arch 2005-11-11 08:49:02.000000000 +0100 ++++ src-uclibc-hacked/extra/Configs/Config.in.arch 2005-11-16 01:53:33.000000000 +0100 +@@ -29,8 +29,8 @@ config ARCH_HAS_MMU default y depends !ARCH_HAS_NO_MMU help @@ -12,7 +12,7 @@ If you are building a uClinux system, answer N. Most people will answer Y. -@@ -40,13 +40,24 @@ config UCLIBC_HAS_FLOATS +@@ -41,13 +41,24 @@ config UCLIBC_HAS_FLOATS help This option allows you to entirely omit all floating point number support from uClibc. This will cause floating point functions like @@ -39,7 +39,7 @@ config HAS_FPU bool "Target CPU has a floating point unit (FPU)" depends on UCLIBC_HAS_FLOATS -@@ -77,7 +88,7 @@ config DO_C99_MATH +@@ -78,7 +89,7 @@ config DO_C99_MATH listed as part of the traditional POSIX/IEEE 1003.1b-1993 standard. Leaving this option set to N will save around 35k on an x86 system. @@ -49,8 +49,8 @@ config KERNEL_SOURCE diff -Nurp src-uclibc-fresh/libc/stdio/_fpmaxtostr.c src-uclibc-hacked/libc/stdio/_fpmaxtostr.c ---- src-uclibc-fresh/libc/stdio/_fpmaxtostr.c 2005-07-30 22:29:22.000000000 +0200 -+++ src-uclibc-hacked/libc/stdio/_fpmaxtostr.c 2005-09-30 10:20:42.000000000 +0200 +--- src-uclibc-fresh/libc/stdio/_fpmaxtostr.c 2005-11-15 23:21:14.000000000 +0100 ++++ src-uclibc-hacked/libc/stdio/_fpmaxtostr.c 2005-11-16 01:53:33.000000000 +0100 @@ -17,7 +17,7 @@ typedef size_t (__fp_outfunc_t)(FILE *fp /* Copyright (C) 2000, 2001, 2003 Manuel Novoa III @@ -58,7 +58,7 @@ - * Function: + * Function: * - * size_t _fpmaxtostr(FILE * fp, __fpmax_t x, struct printf_info *info, + * ssize_t _fpmaxtostr(FILE * fp, __fpmax_t x, struct printf_info *info, * __fp_outfunc_t fp_outfunc); @@ -183,7 +183,7 @@ static const __fpmax_t exp16_table[] = { #if FPMAX_MAX_EXP >= 16384 @@ -69,7 +69,7 @@ #error unsupported FPMAX_MAX_EXP. please increase table #endif }; -@@ -275,7 +275,7 @@ ssize_t _fpmaxtostr(FILE * fp, __fpmax_t +@@ -275,7 +275,7 @@ ssize_t attribute_hidden _fpmaxtostr(FIL } if (x == 0) { /* Handle 0 now to avoid false positive. */ @@ -78,7 +78,7 @@ if (zeroisnegative(x)) { /* Handle 'signed' zero. */ *sign_str = '-'; } -@@ -323,14 +323,14 @@ ssize_t _fpmaxtostr(FILE * fp, __fpmax_t +@@ -323,14 +323,14 @@ ssize_t attribute_hidden _fpmaxtostr(FIL base = 16; } else { lower_bnd = 1e8; @@ -97,7 +97,7 @@ } -@@ -406,7 +406,7 @@ ssize_t _fpmaxtostr(FILE * fp, __fpmax_t +@@ -406,7 +406,7 @@ ssize_t attribute_hidden _fpmaxtostr(FIL if (mode < 'a') { *exp_buf -= ('a' - 'A'); /* e->E and p->P */ mode += ('a' - 'A'); @@ -106,7 +106,7 @@ o_mode = mode; if ((mode == 'g') && (preci > 0)){ -@@ -446,7 +446,7 @@ ssize_t _fpmaxtostr(FILE * fp, __fpmax_t +@@ -446,7 +446,7 @@ ssize_t attribute_hidden _fpmaxtostr(FIL #ifdef __UCLIBC_HAS_HEXADECIMAL_FLOATS__ if ((mode|0x20) == 'a') { char *q; @@ -115,7 +115,7 @@ for (q = e ; *q ; --q) { if (*q > '9') { *q += (*exp_buf - ('p' - 'a') - '9' - 1); -@@ -694,12 +694,12 @@ ssize_t _fpmaxtostr(FILE * fp, __fpmax_t +@@ -694,12 +694,12 @@ ssize_t attribute_hidden _fpmaxtostr(FIL cnt += num_groups * tslen; /* Adjust count now for sep chars. */ @@ -130,7 +130,7 @@ if (fp_outfunc(fp, *ppc, blk, (intptr_t) gp) != blk) { return -1; } -@@ -709,9 +709,9 @@ ssize_t _fpmaxtostr(FILE * fp, __fpmax_t +@@ -709,9 +709,9 @@ ssize_t attribute_hidden _fpmaxtostr(FIL } len -= blk; } else { /* Transition to 0s. */ @@ -142,7 +142,7 @@ if (fp_outfunc(fp, *ppc, len, (intptr_t) gp) != len) { return -1; } -@@ -719,7 +719,7 @@ ssize_t _fpmaxtostr(FILE * fp, __fpmax_t +@@ -719,7 +719,7 @@ ssize_t attribute_hidden _fpmaxtostr(FIL } if (ppc[3] == FPO_ZERO_PAD) { /* Need to group 0s */ @@ -151,7 +151,7 @@ cnt += ppc[1]; ppc += 3; gp = (const char *) ppc[2]; -@@ -742,7 +742,7 @@ ssize_t _fpmaxtostr(FILE * fp, __fpmax_t +@@ -742,7 +742,7 @@ ssize_t attribute_hidden _fpmaxtostr(FIL } blk = nblk2; |