"Fossies" - the Fresh Open Source Software Archive

Member "cygwin-snapshot-20210913-1/newlib/ChangeLog-2015" (7 May 2021, 1036681 Bytes) of package /windows/misc/cygwin-20210913-src-x86_64.tar.xz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 2015-12-21  Freddie Chopin  <freddie.chopin@gmail.com>
    2 
    3 	* libc/stdlib/__atexit.c (__register_exitproc): Fix for
    4 	_ATEXIT_DYNAMIC_ALLOC.
    5 
    6 2015-12-21  Freddie Chopin  <freddie.chopin@gmail.com>
    7 
    8 	* libc/stdlib/on_exit_args.{c,h}: New files.
    9 	* libc/stdlib/Makefile.am: Add new source file.
   10 	* libc/stdlib/Makefile.in: Regenerate.
   11 	* libc/stdlib/__atexit.c (__register_exitproc): Initialize
   12 	_on_exit_args_ptr field of _GLOBAL_ATEXIT on first run.
   13 	* libc/stdlib/on_exit.c: Force linking of static instance of
   14 	_on_exit_args.
   15 	* libc/stdlib/cxa_atexit.c: Likewise.
   16 
   17 2015-12-17  Anton Kolesov  <Anton.Kolesov@synopsys.com>
   18 
   19 	* libc/machine/arc/asm.h: Define new GCC definition for old compiler.
   20 	* libc/machine/arc/memcmp-bs-norm.S: Use new GCC defines to detect
   21 	processor features.
   22 	* libc/machine/arc/memcmp.S: Likewise.
   23 	* libc/machine/arc/memcpy-archs.S: Likewise.
   24 	* libc/machine/arc/memcpy-bs.S: Likewise.
   25 	* libc/machine/arc/memcpy.S: Likewise.	* libc/machine/arc/memset-archs.S: Likewise.
   26 	* libc/machine/arc/memset-archs.S: Likewise.
   27 	* libc/machine/arc/memset-bs.S: Likewise.
   28 	* libc/machine/arc/memset.S: Likewise.
   29 	* libc/machine/arc/setjmp.S: Likewise.
   30 	* libc/machine/arc/strchr-bs-norm.S: Likewise.
   31 	* libc/machine/arc/strchr-bs.S: Likewise.
   32 	* libc/machine/arc/strchr.S: Likewise.
   33 	* libc/machine/arc/strcmp-archs.S: Likewise.
   34 	* libc/machine/arc/strcmp.S: Likewise.
   35 	* libc/machine/arc/strcpy-bs-arc600.S: Likewise.
   36 	* libc/machine/arc/strcpy-bs.S: Likewise.
   37 	* libc/machine/arc/strcpy.S: Likewise.
   38 	* libc/machine/arc/strlen-bs-norm.S: Likewise.
   39 	* libc/machine/arc/strlen-bs.S: Likewise.
   40 	* libc/machine/arc/strlen.S: Likewise.
   41 	* libc/machine/arc/strncpy-bs.S: Likewise.
   42 	* libc/machine/arc/strncpy.S: Likewise.
   43 
   44 2015-12-17  Corinna Vinschen  <corinna@vinschen.de>
   45 
   46 	* libc/include/sys/types.h: Remove including <sys/select.h>.
   47 
   48 2015-12-14  Sebastian Huber  <sebastian.huber@embedded-brains.de>
   49 
   50 	* libc/include/sys/reent.h (_REENT_INIT_PTR_ZEROED): New.
   51 	(_REENT_INIT_PTR): Define only once and use _REENT_INIT_PTR_ZEROED().
   52 
   53 2015-12-14  Sebastian Huber  <sebastian.huber@embedded-brains.de>
   54 
   55 	* libc/include/sys/_sigset.h: New.
   56 	* libc/include/sys/select.h: Do not include <sys/types.h> and
   57 	<sys/time.h> to avoid cyclic header file dependencies.  Include
   58 	specialized header files instead.
   59 	(sigset_t): Conditionally define.
   60 	* libc/include/sys/signal.h (sigset_t): Likewise.
   61 	* libc/include/sys/time.h: Include <sys/select.h> if
   62 	__BSD_VISIBLE.
   63 	* libc/include/sys/types.h: Likewise.
   64 
   65 2015-12-12  Freddie Chopin  <freddie.chopin@gmail.com>
   66 
   67 	* libc/stdlib/__atexit.c (__register_exitproc): Always release
   68 	lock before return.
   69 
   70 2015-12-09  Thomas Preud'homme  <thomas.preudhomme@arm.com>
   71 
   72 	* libm/machine/arm/s_ceil.c: Also check that 64bit FP instructions are
   73 	available in the guard.
   74 	* libm/machine/arm/s_floor.c: Likewise.
   75 	* libm/machine/arm/s_nearbyint.c: Likewise.
   76 	* libm/machine/arm/s_rint.c: Likewise.
   77 	* libm/machine/arm/s_round.c: Likewise.
   78 	* libm/machine/arm/s_trunc.c: Likewise.
   79 
   80 2015-12-08  Corinna Vinschen  <corinna@vinschen.de>
   81 
   82 	* libc/stdio/fclose.c (_fclose_r): Make _flockfile/_funlockfile calls
   83 	dependent on __SNLK flag.
   84 	* libc/stdio/findfp.c (__fp_lock): Ditto.
   85 	(__fp_unlock): Ditto.
   86 	* libc/stdio/freopen.c (_freopen_r): Ditto.
   87 	* libc/stdio64/freopen64.c (_freopen64_r): Ditto.
   88 
   89 2015-12-08  Corinna Vinschen  <corinna@vinschen.de>
   90 
   91 	* libc/stdio/freopen.c (_freopen_r): Only reset __SWID bit per SUSv4.
   92 	* libc/stdio64/freopen64.c (_freopen64_r): Add missing resetting of
   93 	flag values and _mbstate.
   94 
   95 2015-12-07  Nick Withers  <nick.withers@anu.edu.au>
   96 
   97 	* libc/sys/arm/sys/param.h (NBBY): Define if not already defined.
   98 	* libc/sys/rtems/include/sys/param.h (NBBY): Define.
   99 
  100 2015-12-07  Corinna Vinschen  <corinna@vinschen.de>
  101 
  102 	* libc/include/sys/types.h: Move definitions of NBBY and howmany to
  103 	sys/param.h.  Move definitions of select(2) macros to sys/select.h.
  104 	* libc/include/sys/param.h: See above.
  105 	* libc/include/sys/select.h: Move Cygwin's sys/select.h here.
  106 
  107 2015-11-26  Corinna Vinschen  <corinna@vinschen.de>
  108 
  109 	* libc/stdlib/strtodg.c: Add ifdef to check _HAVE_LONG_DOUBLE and
  110 	_LDBL_EQ_DBL.
  111 
  112 2015-11-24  Steve Ellcey  <sellcey@imgtec.com>
  113 
  114 	* libc/stdlib/strtorx.c: Fix ifdef to check _LDBL_EQ_DBL.
  115 
  116 2015-11-23  Marcus Shawcroft  <marcus.shawcroft@arm.com>
  117 
  118 	* libc/machine/arm/strlen-stub.c: Adjust strlen-armv7.S selection logic.
  119 	* libc/machine/arm/strlen.S: Likewise.
  120 
  121 2015-11-23  Marcus Shawcroft  <marcus.shawcroft@arm.com>
  122 
  123 	* libc/machine/arm/strlen-stub.c: Move T2 -O2 implementation to...
  124 	* libc/machine/arm/strlen-thumb2-Os.S: New file.
  125 	* libc/machine/arm/strlen.S: Include strlen-thumb2-Os.S.
  126 
  127 2015-11-21  Corinna Vinschen  <corinna@vinschen.de>
  128 
  129 	* libc/stdlib/strtodg.c: Define USE_LOCALE.
  130 	(_strtodg_r): Handle multibyte decimal point.
  131 
  132 2015-11-20  Corinna Vinschen  <corinna@vinschen.de>
  133 
  134 	* libc/stdlib/Makefile.am (GENERAL_SOURCES): Add strtodg.c and
  135 	strtorx.c.
  136 	* libc/stdlib/Makefile.in: Regenerate.
  137 	* libc/stdlib/strtodg.c: New file implementing generic string to long
  138 	double conversion.
  139 	* libc/stdlib/strtorx.c: New file, implementing IEEE format string to
  140 	long double conversion.
  141 	* libc/stdlib/mprec.h (_strtodg_r): Declare.
  142 	(_strtorx_r): Declare.
  143 	* libc/stdlib/gdtoa.h (__UShort): Define.
  144 	* libc/stdlib/strtold.c (__flt_rounds): Define for i386 and x86_64
  145 	target.
  146 	(FLT_ROUNDS): Define, as 0 on platforms missing a __flt_rounds
  147 	function.
  148 	(_strtold_r): Converted from strtold.  Call _strtorx_r on targets
  149 	supporting distinct long doubles.
  150 	(strtold): Just call _strtold_r.
  151 	* libc/include/stdlib.h (_strtold_r): Declare.
  152 	* libc/stdlib/ldtoa.c (_strtold): Comment out.  Explain why.
  153 	* libc/stdio/vfscanf.c (__SVFSCANF_R): Call _strtold_r instead of
  154 	_strtold.
  155 	* libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
  156 
  157 2015-11-20  Corinna Vinschen  <corinna@vinschen.de>
  158 
  159 	* libc/stdlib/strtod.c (match): Move from here...
  160 	* libc/stdlib/gdtoa-hexnan.c (match): ...to here.
  161 	* libc/stdlib/mprec.h (match): Declare and add __match define.
  162 
  163 2015-11-20  Corinna Vinschen  <corinna@vinschen.de>
  164 
  165 	* libc/stdlib/wcstold.c (_strtold): Drop unused declaration.
  166 
  167 2015-11-19  Yaakov Selkowitz  <yselkowi@redhat.com>
  168 
  169 	* libc/stdlib/stdlib.tex: Fix typo in rpmatch reference.
  170 
  171 2015-11-19  Corinna Vinschen  <corinna@vinschen.de>
  172 
  173 	* libc/stdlib/ldtoa.c: Convert to GNU style so as not to get crazy
  174 	reading the code.
  175 
  176 2015-11-19  Corinna Vinschen  <corinna@vinschen.de>
  177 
  178 	* libc/stdlib/rpmatch.c: Include sys/types.h to make GCC happy.
  179 
  180 2015-11-12  Jon Turney  <jon.turney@dronecode.org.uk>
  181 
  182 	* libc/stdio/sprintf.c: Simplify documentation markup.
  183 	* libc/stdio/swprintf.c: Ditto.
  184 
  185 2015-11-12  Jon Turney  <jon.turney@dronecode.org.uk>
  186 
  187 	* libc/stdio/sscanf.c: Improve documentation markup.
  188 	* libc/stdio/swscanf.c: Ditto.
  189 
  190 2015-11-17  Yaakov Selkowitz  <yselkowi@redhat.com>
  191 
  192 	* libc/include/stdlib.h (rpmatch): Declare.
  193 	* libc/stdlib/Makefile.am (ELIX_4_SOURCES): Add rpmatch.c.
  194 	(CHEWOUT_FILES): Add rpmatch.def.
  195 	* libc/stdlib/Makefile.in: Regenerate.
  196 	* libc/stdlib/rpmatch.c: New file.
  197 	* libc/stdlib/stdlib.tex: Add references to rpmatch.
  198 
  199 2015-11-13  Marcus Shawcroft  <marcus.shawcroft@arm.com>
  200 
  201 	* libc/machine/arm/strlen-stub.c: Move T1 -O2 implementation to...
  202 	* libc/machine/arm/strlen-thumb1-Os.S: New file.
  203 	* libc/machine/arm/strlen.S: Include strlen-thumb1-Os.S.
  204 
  205 2015-11-13  Marcus Shawcroft  <marcus.shawcroft@arm.com>
  206 
  207 	* libc/machine/arm/Makefile.am: Adding strlen.S.
  208 	* libc/machine/arm/Makefile.in: Regenerate.
  209 	* libc/machine/arm/strlen.S: New.
  210 	* libc/machine/arm/strlen-stub.c: Rewrite #if condition.
  211 	* libc/machine/arm/strlen-armv7.S: Remove surrounding #if.
  212 
  213 2015-11-13  Marcus Shawcroft  <marcus.shawcroft@arm.com>
  214 
  215 	* libc/machine/arm/Makefile.am: Rename strlen.c to strlen-stub.c
  216 	* libc/machine/arm/Makefile.in: Regenerate.
  217 	* libc/machine/arm/strlen.c: Rename to...
  218 	* libc/machine/arm/strlen-stub.c: ... this.
  219 
  220 2015-11-13  Marcus Shawcroft  <marcus.shawcroft@arm.com>
  221 
  222 	* libc/machine/arm/Makefile.am: Drop STRLEN_SRC and STRLEN_OBJ.
  223 	Adding strlen.c.
  224 	* libc/machine/arm/configure.in (HAVE_THUMB1, OPT_SIZE): Remove.
  225 	* libc/machine/arm/strlen.c: Include ../../string/strlen.c.
  226 	* libc/machine/arm/configure: Regenerate.
  227 	* libc/machine/arm/Makefile.in: Regenerate.
  228 
  229 2015-11-13  Marcus Shawcroft  <marcus.shawcroft@arm.com>
  230 
  231 	* libc/machine/arm/strlen.c: Refactor nested #if.
  232 
  233 2015-11-12  Anton Kolesov  <Anton.Kolesov@synopsys.com>
  234 
  235 	* configure.host: Add ARC support.
  236 	* libc/include/machine/setjmp.h: Likewise.
  237 	* libc/machine/configure: Likewise.
  238 	* libc/machine/configure.in: Likewise.
  239 	* libc/machine/arc/Makefile.am: Likewise.
  240 	* libc/machine/arc/Makefile.in: Likewise.
  241 	* libc/machine/arc/aclocal.m4: Likewise.
  242 	* libc/machine/arc/asm.h: Likewise.
  243 	* libc/machine/arc/configure: Likewise.
  244 	* libc/machine/arc/configure.in: Likewise.
  245 	* libc/machine/arc/memcmp-bs-norm.S: Likewise.
  246 	* libc/machine/arc/memcmp-stub.c: Likewise.
  247 	* libc/machine/arc/memcmp.S: Likewise.
  248 	* libc/machine/arc/memcpy-archs.S: Likewise.
  249 	* libc/machine/arc/memcpy-bs.S: Likewise.
  250 	* libc/machine/arc/memcpy-stub.c: Likewise.
  251 	* libc/machine/arc/memcpy.S: Likewise.
  252 	* libc/machine/arc/memset-archs.S: Likewise.
  253 	* libc/machine/arc/memset-bs.S: Likewise.
  254 	* libc/machine/arc/memset-stub.c: Likewise.
  255 	* libc/machine/arc/memset.S: Likewise.
  256 	* libc/machine/arc/setjmp.S: Likewise.
  257 	* libc/machine/arc/strchr-bs-norm.S: Likewise.
  258 	* libc/machine/arc/strchr-bs.S: Likewise.
  259 	* libc/machine/arc/strchr-stub.c: Likewise.
  260 	* libc/machine/arc/strchr.S: Likewise.
  261 	* libc/machine/arc/strcmp-archs.S: Likewise.
  262 	* libc/machine/arc/strcmp-stub.c: Likewise.
  263 	* libc/machine/arc/strcmp.S: Likewise.
  264 	* libc/machine/arc/strcpy-bs-arc600.S: Likewise.
  265 	* libc/machine/arc/strcpy-bs.S: Likewise.
  266 	* libc/machine/arc/strcpy-stub.c: Likewise.
  267 	* libc/machine/arc/strcpy.S: Likewise.
  268 	* libc/machine/arc/strlen-bs-norm.S: Likewise.
  269 	* libc/machine/arc/strlen-bs.S: Likewise.
  270 	* libc/machine/arc/strlen-stub.c: Likewise.
  271 	* libc/machine/arc/strlen.S: Likewise.
  272 	* libc/machine/arc/strncpy-bs.S: Likewise.
  273 	* libc/machine/arc/strncpy-stub.c: Likewise.
  274 	* libc/machine/arc/strncpy.S: Likewise.
  275 
  276 2015-11-12  Anton Kolesov  <Anton.Kolesov@synopsys.com>
  277 
  278 	* configure.host: Remove ARC system.
  279 	* libc/sys/configure: Likewise.
  280 	* libc/sys/configure.in: Likewise.
  281 	* libc/sys/arc/Makefile.am: Likewise.
  282 	* libc/sys/arc/Makefile.in: Likewise.
  283 	* libc/sys/arc/aclocal.m4: Likewise.
  284 	* libc/sys/arc/configure: Likewise.
  285 	* libc/sys/arc/configure.in: Likewise.
  286 	* libc/sys/arc/crt0.S: Likewise.
  287 	* libc/sys/arc/dummy.S: Likewise.
  288 	* libc/sys/arc/isatty.c: Likewise.
  289 	* libc/sys/arc/mem-layout.c: Likewise.
  290 	* libc/sys/arc/sbrk.c: Likewise.
  291 	* libc/sys/arc/sys/syscall.h: Likewise.
  292 	* libc/sys/arc/syscalls.c: Likewise.
  293 
  294 2015-11-12  Marcus Shawcroft  <marcus.shawcroft@arm.com>
  295 
  296 	* testsuite/lib/flags.exp (libgloss_link_flags): Drop multilibtop
  297 	from target_build_path.
  298 
  299 2015-11-06  Jon Turney  <jon.turney@dronecode.org.uk>
  300 
  301 	* doc/makedoc.c (iscommand): Only allow commands to have trailing
  302 	spaces, not space separated words.
  303 
  304 2015-11-06  Jon Turney  <jon.turney@dronecode.org.uk>
  305 
  306 	* libm/mathfp/s_acos.c: Fix QUICKREF.
  307 	* libm/mathfp/e_acosh.c: Ditto.
  308 	* libm/math/w_asin.c: Ditto.
  309 	* libm/mathfp/e_acosh.c: Ditto.
  310 	* libm/mathfp/s_acos.c: Ditto.
  311 
  312 2015-11-06  Jon Turney  <jon.turney@dronecode.org.uk>
  313 
  314 	* doc/doc.str: Fix INTERNAL_DEFINITION, INTERNAL_FUNCTION and
  315 	INTERNAL.
  316 
  317 2015-11-12  Wilco Dijkstra  <wdijkstr@arm.com>
  318 
  319 	* newlib/libc/machine/aarch64/memcpy.S (memcpy): Further tuning for
  320 	performance.
  321 
  322 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
  323 
  324 	* libc/machine/arm/strcmp-arm-tiny.S: Use .cfi_sections
  325 	.debug_frame.
  326 	* libc/machine/arm/strcmp-armv4.S: Likewise.
  327 	* libc/machine/arm/strcmp-armv4t.S: Likewise.
  328 	* libc/machine/arm/strcmp-armv6.S: Likewise.
  329 	* libc/machine/arm/strcmp-armv6m.S: Likewise.
  330 	* libc/machine/arm/strcmp-armv7.S: Likewise.
  331 	* libc/machine/arm/strcmp-armv7m.S: Likewise.
  332 
  333 2015-11-06  Marcus Shawcroft  <marcus.shawcroft@arm.com>
  334 
  335 	* libc/machine/arm/Makefile.am: Drop MEMCHR_SRC and MEMCHR_OBJ.
  336 	* libc/machine/arm/Makefile.in: Regenerate.
  337 	* libc/machine/arm/memchr-stub.c: New.
  338 	* libc/machine/arm/memchr.S: Adjust comments.  Include memchr.c and
  339 	acle-compat.h.  Make .arch directive architecture dependent.
  340 	* libc/machine/arm/configure.in (HAVE_ARMV7): Remove.
  341 	* libc/machine/arm/configure: Regenerate.
  342 
  343 2015-11-06  Marcus Shawcroft  <marcus.shawcroft@arm.com>
  344 
  345 	* libc/machine/arm/Makefile.am: Drop MEMCPY_SRC and MEMCPY_OBJ.
  346 	* libc/machine/arm/Makefile.in: Regenerate.
  347 	* libc/machine/arm/configure.in: Remove HAVE_ARMV8A, HAVE_ARMV7A and
  348 	HAVE_ARM7M.
  349 	* libc/machine/arm/configure: Regenerate.
  350 	* libc/machine/arm/memcpy-stub.c: New.
  351 	* libc/machine/arm/memcpy.c: Adjust copyright year.  Adjust comments.
  352 	Include acle-compat.h.
  353 
  354 2015-11-06  Olivier Martin  <olivier@labapart.com>
  355 
  356 	* libc/include/stdlib.h (mktemp): Change attribute to deprecated.
  357 	(_mktemp_r): Ditto.
  358 
  359 2015-11-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
  360 
  361 	* libc/machine/arm/configure.in: Check for __ARM_ARCH_8A__.
  362 	* libc/machine/arm/memcpy.S: Handle __ARM_ARCH_8A__.
  363 	* libc/machine/arm/Makefile.am: Consider HAVE_ARMV8A in memcpy
  364 	selection.
  365 	* libc/machine/arm/Makefile.in: Regenerate.
  366 	* libc/machine/arm/configure: Regenerate.
  367 
  368 2015-11-02  Jon Turney  <jon.turney@dronecode.org.uk>
  369 
  370 	* HOWTO: Update.
  371 	* Makefile.shared: Move documentation rules to here...
  372 	* libc/argz/Makefile.am: ... from here ...
  373 	* libc/ctype/Makefile.am: ... and here.
  374 	* libc/errno/Makefile.am: Ditto.
  375 	* libc/iconv/Makefile.am: Ditto.
  376 	* libc/iconv/ccs/Makefile.am : Ditto.
  377 	* libc/iconv/ces/Makefile.am: Ditto.
  378 	* libc/iconv/lib/Makefile.am: Ditto.
  379 	* libc/locale/Makefile.am: Ditto.
  380 	* libc/misc/Makefile.am: Ditto.
  381 	* libc/posix/Makefile.am: Ditto.
  382 	* libc/reent/Makefile.am: Ditto.
  383 	* libc/search/Makefile.am: Ditto.
  384 	* libc/stdio/Makefile.am: Ditto.
  385 	* libc/stdio64/Makefile.am: Ditto.
  386 	* libc/stdlib/Makefile.am : Ditto.
  387 	* libc/string/Makefile.am: Ditto.
  388 	* libc/syscalls/Makefile.am: Ditto.
  389 	* libc/time/Makefile.am : Ditto.
  390 	* libc/unix/Makefile.am: Ditto.
  391 	* libc/xdr/Makefile.am: Ditto.
  392 	* libm/common/Makefile.am: Ditto.
  393 	* libm/complex/Makefile.am: Ditto.
  394 	* libm/math/Makefile.am: Ditto.
  395 	* libm/mathfp/Makefile.am: Ditto.
  396 
  397 2015-11-02  Jon Turney  <jon.turney@dronecode.org.uk>
  398 
  399         * libc/time/wcsftime.c: Consistently use an em-dash in FUNCTION
  400 summary.
  401         * libm/common/isgreater.c: Ditto.
  402         * libm/common/s_fdim.c: Ditto.
  403         * libm/common/s_fma.c: Ditto.
  404         * libm/common/s_fmax.c: Ditto.
  405         * libm/common/s_fmin.c: Ditto.
  406         * libm/common/s_infinity.c: Ditto.
  407         * libm/common/s_isnan.c: Ditto.
  408         * libm/common/s_log2.c: Ditto.
  409         * libm/common/s_logb.c: Ditto.
  410         * libm/common/s_lrint.c: Ditto.
  411         * libm/common/s_lround.c: Ditto.
  412         * libm/common/s_nearbyint.c: Ditto.
  413         * libm/common/s_remquo.c: Ditto.
  414         * libm/common/s_rint.c: Ditto.
  415         * libm/common/s_round.c: Ditto.
  416         * libm/common/s_scalbn.c: Ditto.
  417         * libm/common/s_signbit.c: Ditto.
  418         * libm/common/s_trunc.c: Ditto.
  419         * libm/math/w_exp2.c: Ditto.
  420         * libm/math/w_gamma.c: Ditto.
  421 
  422 2015-11-02  Jon Turney  <jon.turney@dronecode.org.uk>
  423 
  424         * libc/stdio/fseek.c: Add missing semicolons to prototypes in
  425         SYNOPSIS.
  426         * libc/stdio/fwide.c: Ditto.
  427         * libc/stdio64/fseeko64.c: Ditto.
  428         * libc/string/strtok.c: Ditto.
  429         * libc/string/wcstok.c: Ditto.
  430         * libm/math/w_cosh.c: Ditto.
  431         * libm/math/w_fmod.c:  Ditto.
  432         * libm/mathfp/s_cosh.c: Ditto.
  433         * libm/mathfp/s_fmod.c: Ditto.
  434 
  435 2015-11-02  Steve Ellcey  <sellcey@imgtec.com>
  436 
  437 	* libc/machine/mips/memcpy.S (memcpy): Add word copies for small
  438 	aligned data.
  439 
  440 2015-10-30  Sebastian Huber  <sebastian.huber@embedded-brains.de>
  441 
  442 	* libc/include/pthread.h: Include <sched.h> instead of <sys/sched.h>.
  443 
  444 2015-10-26  Brian Inglis  <Brian.Inglis@SystematicSw.ab.ca>
  445 
  446 	* libc/time/strftime.c (__strftime): add support for %s (seconds from
  447 	Unix epoch).  Fix whitespaces.
  448 
  449 2015-10-19  Nick Clifton  <nickc@redhat.com>
  450 
  451 	* libc/include/sys/_intsup.h: Add support for 16-bit and 20-bit
  452 	pointers.
  453 
  454 2015-10-14  Sebastian Huber  <sebastian.huber@embedded-brains.de>
  455 
  456 	* libc/stdlib/Makefile.am (GENERAL_SOURCES): Add alloc_aligned.c.c.
  457 	* libc/stdlib/Makefile.in: Regenerate.
  458 	* libc/stdlib/aligned_alloc.c: New.
  459 
  460 2015-10-14  Sebastian Huber  <sebastian.huber@embedded-brains.de>
  461 
  462 	* libc/include/stdlib.h (alloc_aligned): Declare.
  463 
  464 2015-10-14  Sebastian Huber  <sebastian.huber@embedded-brains.de>
  465 
  466 	* libc/include/stdlib.h (at_quick_exit): Declare.
  467 	(quick_exit): Likewise.
  468 	* libc/stdlib/Makefile.am (GENERAL_SOURCES): Add
  469 	quick_exit.c.
  470 	* libc/stdlib/Makefile.in: Regenerate.
  471 	* libc/stdlib/quick_exit.c: New.
  472 
  473 2015-10-13  Sebastian Huber  <sebastian.huber@embedded-brains.de>
  474 
  475 	* libc/include/threads.h: New.
  476 	* libc/sys/rtems/include/machine/_threads.h: Likewise.
  477 
  478 2015-10-13  Sebastian Huber  <sebastian.huber@embedded-brains.de>
  479 
  480 	* libc/include/sys/cdefs.h: Synchronize with latest FreeBSD
  481 	version.
  482 
  483 2015-10-13  Sebastian Huber  <sebastian.huber@embedded-brains.de>
  484 
  485 	* libc/include/sys/cdefs.h: Add style changes of latest FreeBSD
  486 	version.
  487 
  488 2015-10-08  Nick Clifton  <nickc@redhat.com>
  489 
  490 	* libc/include/machine/setjmp.h (_JBLEN): Define for IA64.
  491 
  492 2015-09-22  James Bowman  <james.bowman@ftdichip.com>
  493 
  494 	* configure.host (ft32): minimise newlib code size
  495 
  496 2015-09-04  James Bowman  <james.bowman@ftdichip.com>
  497 
  498 	* configure.host: Add ft32 support.
  499 	* libc/include/machine/ieeefp.h: Ditto.
  500 	* libc/include/machine/setjmp.h: Ditto.
  501 	* libc/machine/configure.in: Ditto.
  502 	* libc/machine/configure: Ditto.
  503 	* libc/machine/ft32/Makefile.am: New file.
  504 	* libc/machine/ft32/Makefile.in: Ditto.
  505 	* libc/machine/ft32/aclocal.m4: Ditto.
  506 	* libc/machine/ft32/configure.in: Ditto.
  507 	* libc/machine/ft32/configure: Ditto.
  508 	* libc/machine/ft32/memcpy.S: Ditto.
  509 	* libc/machine/ft32/memset.S: Ditto.
  510 	* libc/machine/ft32/setjmp.S: Ditto.
  511 	* libc/machine/ft32/stpcmp.S: Ditto.
  512 	* libc/machine/ft32/strcmp.S: Ditto.
  513 	* libc/machine/ft32/strcpy.S: Ditto.
  514 	* libc/machine/ft32/strlen.S: Ditto.
  515 
  516 2015-09-03  Hans-Peter Nilsson  <hp@axis.com>
  517 
  518 	* libc/machine/cris/sys/signal.h (kill): Declare.
  519 
  520 2015-08-29  Corinna Vinschen  <corinna@vinschen.de>
  521 
  522 	* include/sys/unistd.h (_SC_LEVEL*): Add cache-related variables as
  523 	on Linux.
  524 
  525 2015-08-27  Markus Eisenmann  <meisenmann.lba@fh-salzburg.ac.at>
  526 
  527 	* libc/machine/arm/strlen-armv7.S: Fix prepocessor check to avoid
  528 	double definition of strlen.
  529 
  530 2015-08-27  Andre Vieira  <andre.simoesdiasvieira@arm.com>
  531 
  532 	* libc/include/sys/_intsup.h: Defined new __INTxx, __FASTxx and
  533 	__LEASTxx macro's to hold information regarding the respective types
  534 	print and scan formats.
  535 	* libc/include/inttypes.h: Defined LEAST and FAST specific PRI and SCN
  536 	macro's as these are not always the same as the INT variants. Used the
  537 	new __INTxx, __FASTxx and __LEASTxx macro's in their corresponding PRI
  538 	and SCN macros.
  539 
  540 2015-08-07  Stefan Wallentowitz  <stefan.wallentowitz@tum.de>
  541 
  542 	* libc/sys/or1k/mlock.c: Fix exception enable saving
  543 
  544 2015-08-03  Shoichi Sakon  <s-sakon@ap.jp.nec.com>
  545 
  546 	* libc/stdio/vfwscanf.c (__SVFWSCANF_R): Convert wrong usage of va_arg
  547 	to GET_ARG in %lc, %ls nad %l[] cases.  Fix unterminated string in %l[]
  548 	case.
  549 
  550 2015-07-30  Sebastian Huber  <sebastian.huber@embedded-brains.de>
  551 
  552 	* libc/sys/rtems/include/sys/lock.h (__LOCK_INIT_RECURSIVE): Use
  553 	proper type.
  554 
  555 2015-07-30  Wilco Dijkstra  <wdijkstr@arm.com>
  556 
  557 	* libc/machine/aarch64/memset.S (memset): Rewrite.
  558 
  559 2015-07-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
  560 
  561 	libc/sys/rtems/machine/_types.h: Move to ...
  562 	libc/sys/rtems/include/machine/_types.h: ... here.
  563 	libc/sys/rtems/machine/limits.h: Move to ...
  564 	libc/sys/rtems/include/machine/limits.h: ... here.
  565 	libc/sys/rtems/machine/param.h: Move to ...
  566 	libc/sys/rtems/include/machine/param.h: ... here.
  567 	libc/sys/rtems/sys/cpuset.h: Move to ...
  568 	libc/sys/rtems/include/sys/cpuset.h: ... here.
  569 	libc/sys/rtems/sys/dirent.h: Move to ...
  570 	libc/sys/rtems/include/sys/dirent.h: ... here.
  571 	libc/sys/rtems/sys/param.h: Move to ...
  572 	libc/sys/rtems/include/sys/param.h: ... here.
  573 	libc/sys/rtems/sys/syslimits.h: Move to ...
  574 	libc/sys/rtems/include/sys/syslimits.h: ... here.
  575 	libc/sys/rtems/sys/utime.h: Move to ...
  576 	libc/sys/rtems/include/sys/utime.h: ... here.
  577 
  578 2015-07-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
  579 
  580 	* libc/sys/rtems/include/sys/lock.h: New.
  581 
  582 2015-07-21  Corinna Vinschen  <corinna@vinschen.de>
  583 
  584 	* libc/include/machine/setjmp.h (siglongjmp): Declare as function on
  585 	Cygwin.
  586 	(sigsetjmp): Ditto.
  587 	(_longjmp): Mark as noreturn function on Cygwin.
  588 
  589 2015-07-15  Wilco Dijkstra  <wdijkstr@arm.com>
  590 
  591 	* libc/machine/aarch64/memset.S (memset):
  592 	Revert: Rewrite of optimized memset.
  593 
  594 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
  595 
  596 	* libc/machine/aarch64/memset.S (memset):
  597 	Rewrite of optimized memset.
  598 
  599 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
  600 
  601 	* libc/machine/aarch64/memcpy.S (memcpy):
  602 	Rewrite of optimized memcpy.
  603 
  604 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
  605 
  606 	* libc/machine/aarch64/memove.S (memmove):
  607 	Rewrite of optimized memmove.
  608 
  609 2015-07-06  Yaakov Selkowitz  <yselkowi@redhat.com>
  610 
  611 	* libc/include/libgen.h (basename): Define as __xpg_basename
  612 	for source compatibility with glibc.
  613 	Declare with __ASMNAME("basename") for ABI compatibility.
  614 	* libc/include/string.h (basename): Define as basename for
  615 	source compatibility with glibc.
  616 	Declare with __ASMNAME("__gnu_basename") for ABI compatibility.
  617 
  618 2015-07-06  Corinna Vinschen  <corinna@vinschen.de>
  619 
  620 	* libc/include/sys/time.h: Explicitely include sys/cdefs.h.
  621 	* libc/include/sys/types.h: Ditto.  Guard BSD convenience base types
  622 	with __BSD_VISIBLE rather than !_POSIX_SOURCE.
  623 
  624 2015-07-01  Sebastian Huber  <sebastian.huber@embedded-brains.de>
  625 
  626 	* libc/stdio/fputs.c (_puts_r): Add missing CHECK_INIT().
  627 	* libc/stdio/gets.c (_gets_r): Add missing _REENT_SMALL_CHECK_INIT() and
  628 	CHECK_INIT().  Use _stdin_r() to get the file pointer instead of stdin.
  629 
  630 2015-06-29  Jon Turney  <jon.turney@dronecode.org.uk>
  631 
  632 	* libc/ctype/Makefile.in: Regenerate.
  633 	* libc/posix/Makefile.in: Ditto.
  634 	* libc/stdio/Makefile.in: Ditto.
  635 	* libc/stdio64/Makefile.in: Ditto.
  636 	* libc/stdlib/Makefile.in: Ditto.
  637 	* libc/string/Makefile.in: Ditto.
  638 
  639 2015-06-23  Jon Turney  <jon.turney@dronecode.org.uk>
  640 
  641 	* libc/ctype/Makefile.am (CHEWOUT_FILES): Add isblank.def.
  642 	* libc/ctype/ctype.tex: Include isblank and add to menu.
  643 	* libc/posix/Makefile.am (CHEWOUT_FILES): Add posix_spawn.def.
  644 	* libc/posix/posix.tex: Include posix_spawn and add to menu.
  645 	* libc/stdio64/Makefile.am (CHEWOUT_FILES): Add fdopen.def.
  646 	* libc/stdio64/stdio64.tex: Include fdopen64 and add to menu.
  647 	* libc/stdio64/fdopen64.c: Improve one-line description.
  648 	* libc/string/Makefile.am (CHEWOUT_FILES): Add strchrnul.def.
  649 	* libc/string/strings.tex: Include strchrnul and add to menu.
  650 
  651 2015-06-23  Jon Turney  <jon.turney@dronecode.org.uk>
  652 
  653 	* libc/stdlib/stdlib.tex: Include itoa and utoa, and add to menu.
  654 	* libc/string/strings.tex: Include memrchr and rawmemchr, and add
  655 	to menu.
  656 	* libm/math/math.tex: Include exp10 and pow10, and add to menu.
  657 	* libm/common/s_exp10.c: Improve one-line description.
  658 	* libm/common/s_exp10.c: Ditto.
  659 
  660 2015-06-23  Jon Turney  <jon.turney@dronecode.org.uk>
  661 
  662 	* libc/stdlib/Makefile.am (CHEWOUT_FILES): Remove $(MALLOCR).def.
  663 	* libc/stdio/Makefile.am (CHEWOUT_FILES): Remove getwc.def and
  664 	putwc.def.
  665 
  666 2015-06-23  Jon Turney  <jon.turney@dronecode.org.uk>
  667 
  668 	* libc/locale/locale.c: Fix mismatched parentheses in
  669 	documentation.
  670 	* libc/locale/locale.tex: Ditto.
  671 	* libc/stdio/fgetwc.c: Ditto.
  672 
  673 2015-06-23  Jon Turney  <jon.turney@dronecode.org.uk>
  674 
  675 	* libc/stdlib/efgcvt.c: Fix typo-ed function names in
  676 	documentation.
  677 	* libc/stdlib/stdlib.tex: Fix function name in menu to match.
  678 
  679 2015-06-23  Jon Turney  <jon.turney@dronecode.org.uk>
  680 
  681 	* libc/stdio/fread.c: Fix inconsistent use of '.' to separate
  682 	function names in FUNCTION mark up.
  683 
  684 2015-06-23  Jon Turney  <jon.turney@dronecode.org.uk>
  685 
  686 	* libc/stdlib/llabs.c: Mark up parameter name in ANSI_SYNOPSIS.
  687 	* libc/time/tzset.c: Add and mark up parameter in SYNOPSIS.
  688 	* libm/common/s_nan.c: Ditto.
  689 
  690 2015-06-23  Jon Turney  <jon.turney@dronecode.org.uk>
  691 
  692 	* libc/stdio/getchar_u.c: Fix a non-ANSI prototype in SYNOPSIS.
  693 
  694 2015-06-23  Jon Turney  <jon.turney@dronecode.org.uk>
  695 
  696 	* libc/string/wcscpy.c: Remove stray ',' from prototype in
  697 	ANSI_SYNOPSIS.
  698 	* libc/string/wcpcpy.c: Ditto.
  699 
  700 2015-06-23  Jon Turney  <jon.turney@dronecode.org.uk>
  701 
  702 	* libc/stdlib/itoa.c: Fix makedoc markup.
  703 	* libc/stdlib/wcsnrtombs.c: Ditto.
  704 
  705 2015-06-23  Jon Turney  <jon.turney@dronecode.org.uk>
  706 
  707 	* libc/signal/signal.tex: Use texinfo not makedoc markup.
  708 	* libc/stdio/stdio.tex: Ditto.
  709 
  710 2015-06-22  Corinna Vinschen  <corinna@vinschen.de>
  711 
  712 	* libc/include/sys/signal.h: Include forgotten sys/cdefs.h.
  713 
  714 2015-06-20  Corinna Vinschen  <corinna@vinschen.de>
  715 
  716 	* libc/include/sys/signal.h: Move altstack macros completely
  717 	outside of rtems block.
  718 
  719 2015-06-19  Corinna Vinschen  <corinna@vinschen.de>
  720 
  721 	* libc/include/sys/signal.h: Define SS_ONSTACK and SS_DISABLE
  722 	unconditionally.
  723 	(sigaltstack): Enable prototype on Cygwin.
  724 
  725 2015-06-15  Freddie Chopin  <freddie_chopin@op.pl>
  726 
  727 	* libc/time/gmtime_r.c (gmtime_r): use faster algorithm from
  728 	civil_from_days() by Howard Hinnant
  729 
  730 2015-06-01  Hale Wang  <hale.wang@arm.com>
  731 
  732 	* libc/machine/arm/aeabi_memmove-arm.S (__aeabi_memmove): Update the
  733 	assembler implementation.
  734 	* libc/machine/arm/aeabi_memmove-thumb.S (__aeabi_memmove): Ditto.
  735 	* libc/machine/arm/aeabi_memmove-thumb2.S (__aeabi_memmove): Ditto.
  736 	* libc/machine/arm/aeabi_memset-arm.S (__aeabi_memset): Ditto.
  737 	* libc/machine/arm/aeabi_memset-thumb.S (__aeabi_memset): Ditto.
  738 	* libc/machine/arm/aeabi_memset-thumb2.S (__aeabi_memset): Ditto.
  739 
  740 2015-06-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
  741 
  742 	* libm/machine/aarch64/e_sqrt.c: New file.
  743 	* libm/machine/aarch64/ef_sqrt.c: New file.
  744 	* libm/machine/aarch64/s_fabs.c: New file.
  745 	* libm/machine/aarch64/sf_fabs.c: New file.
  746 	* libm/machine/aarch64/Makefile.in: Add new source files.
  747 	* libm/machine/aarch64/Makefile.am: Regenerate.
  748 
  749 2015-05-31  David Stacey  <drstacey@tiscali.co.uk>
  750 
  751 	* libc/argz/argz_replace.c (argz_replace): Correct behaviour when memory
  752 	is exhausted.
  753 
  754 2015-05-28  Corinna Vinschen  <vinschen@redhat.com>
  755 
  756 	* libc/include/sys/wait.h: Fix comment.
  757 
  758 2015-05-27  David Stacey  <drstacey@tiscali.co.uk>
  759 
  760 	* libc/argz/argz_replace.c: Fix potential memory leak.
  761 
  762 2015-05-26  DJ Delorie  <dj@redhat.com>
  763 
  764 	* libm/math/e_sqrt.c (__ieee754_sqrt): Don't truncate constant to
  765 	"int".
  766 
  767 2015-05-13  Nick Clifton  <nickc@redhat.com>
  768 
  769 	* libm/common/s_signbit.c (__signbitf): Fix for 16-bit targets.
  770 	(__signbitd): Likewise.
  771 
  772 2015-05-02  Corinna Vinschen  <vinschen@redhat.com>
  773 
  774 	* libc/include/sys/time.h: Include sys/select.h on Cygwin.  Explain why.
  775 
  776 2015-04-29  Corinna Vinschen  <vinschen@redhat.com>
  777 
  778 	* libc/include/sys/config.h: Move evaluation of _UINTPTR_EQ_ULONG and
  779 	_UINTPTR_EQ_ULONGLONG from here...
  780 	* libc/include/sys/_intsup.h: ...to here.  Rename to _INTPTR_EQ_LONG
  781 	and _INTPTR_EQ_LONGLONG to refer to signed base type.  Add test for
  782 	base type of int32_t and set _INT32_EQ_LONG accordingly.
  783 	* libc/include/stdint.h: Change checks for __have_long32 to checks
  784 	for _INT32_EQ_LONG.
  785 	* libc/include/inttypes.h: Ditto.  Accommodate aforementioned name
  786 	change.
  787 
  788 2015-04-22  Corinna Vinschen  <vinschen@redhat.com>
  789 
  790 	* libc/include/libgen.h (basename): Drop defining _BASENAME_DEFINED.
  791 	Always define macro basename.  Add comment to explain why.
  792 	* libc/include/string.h (basename): Check for basename instead of
  793 	_BASENAME_DEFINED.  Drop __GNUC__ branch, always use basename macro.
  794 	Change comment to explain why.  Add nonnull function attribute.
  795 
  796 2015-04-09  Nick Clifton  <nickc@redhat.com>
  797 
  798 	* libc/machine/rx/memchr.S: Add non-string insn using version.
  799 	* libc/machine/rx/memcpy.S: Likewise.
  800 	* libc/machine/rx/memmove.S: Likewise.
  801 	* libc/machine/rx/mempcpy.S: Likewise.
  802 	* libc/machine/rx/strcat.S: Likewise.
  803 	* libc/machine/rx/strcmp.S: Likewise.
  804 	* libc/machine/rx/strcpy.S: Likewise.
  805 	* libc/machine/rx/strlen.S: Likewise.
  806 	* libc/machine/rx/strncat.S: Likewise.
  807 	* libc/machine/rx/strncmp.S: Likewise.
  808 	* libc/machine/rx/strncpy.S: Likewise.
  809 
  810 2015-04-01  Corinna Vinschen  <vinschen@redhat.com>
  811 
  812 	* libc/include/stdint.h: Throughout add parens around MIN/MAX values.
  813 
  814 2015-04-01  Sebastian Huber  <sebastian.huber@embedded-brains.de>
  815 
  816 	* libc/include/sys/_stdint.h: New file.
  817 	* libc/include/stdint.h (int8_t): Move to <sys/_stdint.h>.
  818 	(uint8_t): Likewise.
  819 	(int16_t): Likewise.
  820 	(uint16_t): Likewise.
  821 	(int32_t): Likewise.
  822 	(uint32_t): Likewise.
  823 	(int64_t): Likewise.
  824 	(uint64_t): Likewise.
  825 	(intptr_t): Likewise.
  826 	(uintptr_t): Likewise.
  827 	* libc/include/sys/types.h: Include <sys/_stdint.h>.
  828 	* libc/sys/rtems/machine/_types.h: Remove <stdint.h> include.
  829 	* libc/sys/time.h>: Replace __uint32_t with uint32_t and
  830 	__uint64_t with uint64_t.
  831 
  832 2015-04-01  Jon TURNEY  <jon.turney@dronecode.org.uk>
  833 
  834 	* libc/include/sys/signal.h (stack_t): Make typedef generally
  835 	available.
  836 
  837 2015-04-01  Corinna Vinschen  <vinschen@redhat.com>
  838 
  839 	* libc/stdlib/wctomb_r.c (__utf8_wctomb): Fix check for handling a
  840 	lone high surrogate.
  841 
  842 2015-03-31  Corinna Vinschen  <vinschen@redhat.com>
  843 
  844 	* libc/time/lcltime_r.c (localtime_r): Call _tzset_unlocked inside
  845 	TZ lock.
  846 	* libc/time/mktime.c (mktime):  Ditto.
  847 	* libc/time/strftime.c (strftime, wcsftime): Ditto.  Guard against
  848 	calling _tzset_unlocked more than once (baring recursion).
  849 
  850 2015-03-31  Corinna Vinschen  <vinschen@redhat.com>
  851 
  852 	* libc/time/local.h (_tzset_unlocked_r): Add prototype.
  853 	(_tzset_unlocked): Ditto.
  854 	* libc/time/tzset.c (_tzset_unlocked): New function, call
  855 	_tzset_unlocked_r.
  856 	(tzset): Lock and call _tzset_unlocked_r.
  857 	* libc/time/tzset_r (_tzset_unlocked_r): Remove locking and rename
  858 	from _tzset_r.
  859 	(_tzset_r): Lock and call _tzset_unlocked_r.
  860 
  861 2015-03-30  Craig Howland  <howland@LGSInnovations.com>
  862 
  863 	* libc/stdlib/setenv_r.c (_setenv_r): Remove tzset() call for TZ
  864 	definition.
  865 	* libc/time/lcltime_r.c (localtime_r): Add tzset() call
  866 	* libc/time/mktime.c (mktime):  Ditto.
  867 	* libc/time/strftime.c (strftime, wcsftime): Ditto.
  868 
  869 2015-03-30  Yaakov Selkowitz  <yselkowi@redhat.com>
  870 
  871 	* libc/time/strftime.c (strftime) <%Z>: Initialize tznam to NULL.
  872 	Use _tzname as fallback if TM_ZONE is NULL.
  873 
  874 2015-03-30  Yaakov Selkowitz  <yselkowi@redhat.com>
  875 
  876 	* libc/include/libgen.h (_BASENAME_DEFINED): Define.
  877 	* libc/include/string.h (basename): Declare.
  878 	* libc/string/Makefile.am (ELIX_4_SOURCES): Add gnu_basename.c.
  879 	* libc/string/Makefile.in: Regenerate.
  880 	* libc/string/gnu_basename.c: New file.
  881 
  882 2015-03-23  Sebastian Huber  <sebastian.huber@embedded-brains.de>
  883 
  884 	* libc/include/sys/tree.h: New file.
  885 
  886 2013-03-23  Joel Sherrill <joel.sherrill@oarcorp.com>
  887 
  888 	* newlib.hin: Remove _UINTPTR_EQ_ULONG and _UINTPTR_EQ_ULONGLONG.
  889 
  890 2015-03-23  Joel Sherrill <joel.sherrill@oarcorp.com
  891 
  892 	* configure.in: Delete logic to determine _UINTPTR_EQ_ULONGLONG
  893 	and _UINTPTR_EQ_ULONG at configuration time.
  894 	*libc/include/sys/config.h: Add logic to determine
  895 	_UINTPTR_EQ_ULONGLONG and _UINTPTR_EQ_ULONG at compilation time.
  896 	* libc/include/inttypes.h: Add include of <sys/config.h>.
  897 	* configure: Regenerated.
  898 
  899 2015-03-19  Steve Ellcey  <sellcey@imgtec.com>
  900 
  901 	* libc/include/sys/time.h: Replace uint32_t and uint64_t
  902 	with __uint32_t and __uint64_t.
  903 
  904 2015-03-13  Jon TURNEY  <jon.turney@dronecode.org.uk>
  905 
  906 	* libc/libc.texinfo: Fix directory entry.
  907 	* libm/libm.texinfo: Ditto.
  908 
  909 2015-03-13  Corinna Vinschen  <vinschen@redhat.com>
  910 
  911 	* libc/include/sys/time.h: Drop including cygwin/sys_time.h on Cygwin.
  912 
  913 2015-03-13  Sebastian Huber  <sebastian.huber@embedded-brains.de>
  914 
  915 	* libc/include/machine/_types.h (__suseconds_t): Define.
  916 	* libc/include/sys/_timeval.h: Import from FreeBSD and add
  917 	MinGW-w64 compatibility.
  918 	(timerclear): Copy from FreeBSD <sys/time.h>.
  919 	(timerisset): Likewise.
  920 	(timercmp): Likewise.
  921 	(timeradd): Likewise.
  922 	(timersub): Likewise.
  923 	* libc/include/sys/time.h: (bintime, ...) Import from FreeBSD.
  924 	(timespecclear, ...): Likewise.
  925 	(inittodr, ...): Likewise.
  926 	(timerclear): Delete.
  927 	(timerisset): Likewise.
  928 	(timercmp): Likewise.
  929 	(timeradd): Likewise.
  930 	(timersub): Likewise.
  931 	(futimes): Declare if __BSD_VISIBLE.
  932 	(futimesat): Likewise.
  933 	(lutimes): Likewise.
  934 	(setitimer): Declare unconditionally.
  935 	(gettimeofday): Declare if __XSI_VISIBLE.
  936 	* libc/include/sys/types.h (sbintime_t): Define.
  937 	(suseconds_t): Define conditionally via __suseconds_t.
  938 
  939 2015-03-12  Sebastian Huber  <sebastian.huber@embedded-brains.de>
  940 
  941 	* libc/sys/rtems/include/semaphore.h: Import from FreeBSD.
  942 
  943 2015-03-11  Sebastian Huber  <sebastian.huber@embedded-brains.de>
  944 
  945 	* libc/include/sys/_timespec.h: Import from FreeBSD.
  946 	* libc/include/sys/timespec.h: Likewise.
  947 	* libc/include/time.h: Include <sys/timespec.h>.
  948 	* libc/include/sys/types.h (timespec): Delete.
  949 	(itimerspec): Likewise.
  950 	* libc/include/machine/time.h: Include <sys/_timespec.h>.
  951 	* libc/include/sys/sched.h: Likewise.
  952 	* libc/include/sys/signal.h: Likewise.
  953 	* libc/include/sys/stat.h: Likewise.
  954 
  955 2015-03-11  Nick Clifton  <nickc@redhat.com>
  956 
  957 	* testsuite/newlib.stdio/swprintf.c (main): Change size of value
  958 	used to initialise 'val' variable so that it will compile on
  959 	targets with 32-bit doubles.
  960 
  961 2015-03-05  Craig Howland  <howland@LGSInnovations.com>
  962 
  963 	* libc/include/stdio.h (FILE): Protect typedef from redefinition.
  964 	* libc/include/wchar.h: Ditto.
  965 
  966 2015-02-25  Gedare Bloom  <gedare@rtems.org>
  967 
  968 	* libc/include/machine/time.h (_CLOCKS_PER_SEC_): redefine for RTEMS.
  969 
  970 2015-03-03  Steve Ellcey  <sellcey@imgtec.com>
  971 
  972 	* libc/machine/mips/memset.S: Add support for mips32r6/mips64r6.
  973 
  974 2015-03-03  Steve Ellcey  <sellcey@imgtec.com>
  975 
  976 	* libc/machine/mips/memcpy.S: Add support for mips32r6/mips64r6.
  977 
  978 2015-02-26  Steve Ellcey  <sellcey@imgtec.com>
  979 
  980 	* libc/machine/mips/memcpy.S: Fix macro indentation and typos in
  981 	comments.
  982 
  983 2015-02-24  Jon TURNEY  <jon.turney@dronecode.org.uk>
  984 
  985 	* libc/include/sys/cdefs.h (_GNU_SOURCE): Move check so it has an
  986 	effect when _XOPEN_SOURCE is also defined.
  987 
  988 2015-02-17  Hale Wang  <hale.wang@arm.com>
  989 
  990 	* libc/machine/arm/aeabi_memclr.c: New file to support
  991 	aeabi_memclr.
  992 	* libc/machine/arm/aeabi_memset.c: New file to support
  993 	aeabi_memset.
  994 	* libc/machine/arm/aeabi_memset-soft.S: Ditto.
  995 	* libc/machine/arm/aeabi_memset-arm.S: Ditto.
  996 	* libc/machine/arm/aeabi_memset-thumb.S: Ditto.
  997 	* libc/machine/arm/aeabi_memset-thumb2.S: Ditto.
  998 	* libc/machine/arm/Makefile.am: Add dependencies.
  999 	* libc/machine/arm/Makefile.in: Regenerated.
 1000 
 1001 2015-02-17  Hale Wang  <hale.wang@arm.com>
 1002 
 1003 	* libc/machine/arm/aeabi_memmove.c: New file to support
 1004 	aeabi_memmove.
 1005 	* libc/machine/arm/aeabi_memmove-soft.S: Ditto.
 1006 	* libc/machine/arm/aeabi_memmove-arm.S: Ditto.
 1007 	* libc/machine/arm/aeabi_memmove-thumb.S: Ditto.
 1008 	* libc/machine/arm/aeabi_memmove-thumb2.S: Ditto.
 1009 	* libc/machine/arm/Makefile.am: Add dependencies.
 1010 	* libc/machine/arm/Makefile.in: Regenerated.
 1011 
 1012 2015-02-06  Nick Clifton  <nickc@redhat.com>
 1013 
 1014 	* libc/include/complex.h (cabsl): Add prototype.
 1015 	(cimagl): Add prototype.
 1016 	(creall): Add prototype.
 1017 	* libc/include/ieeefp.h: Include float.h.
 1018 	(EXT_EXPBITS, EXT_FRACHBITS, EXT_FRACLBITS)
 1019 	(EXT_EXP_INFNAN. EXT_EXP_BIAS, EXT_FRACBITS): Define.
 1020 	(struct ieee_ext, union ieee_ext_u): New types for long double
 1021 	support.
 1022 	* libc/include/math.h (finitel): Add prototype.
 1023 	(hypotl): Add prototype.
 1024 	(sqrtl): Add prototype.
 1025 	* libm/common/Makefile.am (lsrc): Add sl_finite.c.
 1026 	* libm/common/Makefile.in: Regenerate.
 1027 	* libm/common/fdlibm.h (__ieee754_hypotl): Add prototype.
 1028 	* libm/common/hypotl.c (hypotl): Add implementation for when long
 1029 	double is larger than double.
 1030 	* libm/common/sqrtl.c (sqrtl): Likewise.
 1031 	* libm/common/sl_finite.c: New file.  Adds implementation of the
 1032 	finitel function.
 1033 	* libm/complex/Makefile.am (lsrc): Define.
 1034 	(libcomplex_la_SOURCES): Add lsrc.
 1035 	(lib_a_SOURCES): Add lsrc.
 1036 	* libm/complex/Makefile.in: Regenerate.
 1037 	* libm/complex/cabs.c: Add documentation of cabsl function.
 1038 	* libm/complex/cimag.c: Add documentation of cimagl function.
 1039 	* libm/complex/creall.c: Add documentation of creall function.
 1040 	* libm/complex/cabsl.c: New file.  Adds implementation of the
 1041 	cabsl function.
 1042 	* libm/complex/cimagl.c: New file.  Adds implementation of the
 1043 	cimagl function.
 1044 	* libm/complex/creall.c: New file.  Adds implementation of the
 1045 	creall function.
 1046 	* libm/math/Makefile.am (lsrc): Define.
 1047 	(libmath_la_SOURCES): Add lsrc.
 1048 	(lib_a_SOURCES): Add lsrc.
 1049 	* libm/math/Makefile.in: Regenerate.
 1050 	* libm/math/el_hypot.c: New file.  Adds implementation of the
 1051 	__ieee754_hypotl function.
 1052 
 1053 2015-02-04  Corinna Vinschen  <vinschen@redhat.com>
 1054 
 1055 	* libc/include/wchar.h (wcstold): Drop _LDBL_EQ_DBL requirement for
 1056 	declaration.
 1057 
 1058 2015-01-29  Nick Clifton  <nickc@redhat.com>
 1059 
 1060 	* libc/stdlib/wcstold.c (wcstold): Add implementation for when
 1061 	long double is not the same as double.
 1062 
 1063 2015-01-28  Christian Eggers  <ceggers@gmx.de>
 1064 
 1065 	* libc/include/sys/time.h: #include <sys/cdefs.h> for __BSD_VISIBLE.
 1066 
 1067 2015-01-23  Corinna Vinschen  <vinschen@redhat.com>
 1068 
 1069 	Complete action from 2001-12-18:
 1070 	* libc/machine/i386/f_*: Remove duplicate files.
 1071 
 1072 2015-01-22  Yaakov Selkowitz  <yselkowi@redhat.com>
 1073 
 1074 	* libc/sys/sparc64/sys/time.h: #include <sys/types.h> for time_t.
 1075 
 1076 2015-01-22  Stefan Wallentowitz  <stefan.wallentowitz@tum.de>
 1077 
 1078 	* libc/sys/or1k/mlock.c: Fix dependency on libgloss.
 1079 
 1080 2015-01-21  Eric Botcazou  <ebotcazou@adacore.com>
 1081 
 1082 	* configure.host: Add Visium support.
 1083 	* libc/machine/configure.in: Likewise.
 1084 	* libc/machine/configure: Regenerate.
 1085 	* libc/machine/visium/: New directory.
 1086 	* libc/include/machine/setjmp.h (_JBLEN): Define for Visium.
 1087 	* libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Likewise.
 1088 	* libc/include/machine/time.h (_CLOCKS_PER_SEC_): Likewise.
 1089 
 1090 2015-01-20  Stefan Wallentowitz  <stefan.wallentowitz@tum.de>
 1091 
 1092 	* libc/sys/configure.in: Add OpenRISC.
 1093 	* libc/sys/configure: Regenerate.
 1094 
 1095 2015-01-20  Wilco Dijkstra  <wdijkstr@arm.com>
 1096 
 1097 	* libc/machine/aarch64/strlen.S (strlen): Improve performance.
 1098 
 1099 2015-01-20  Stefan Wallentowitz  <stefan.wallentowitz@tum.de>
 1100 
 1101 	* configure.host: Add extra system for OpenRISC baremetal.
 1102 
 1103 2015-01-14  Joel Sherrill <joel.sherrill@oarcorp.com>
 1104 
 1105 	* libc/include/sys/unistd.h [__BSD_VISIBLE]: Add issetugid() prototype.
 1106 
 1107 2015-01-14  Joel Sherrill <joel.sherrill@oarcorp.com>
 1108 
 1109 	* doc/makedoc.c: Use uintptr_t to avoid int/pointer size warnings
 1110 
 1111 2015-01-14  Stefan Wallentowitz  <stefan.wallentowitz@tum.de>
 1112 
 1113 	* configure.host: Add extra system for OpenRISC baremetal
 1114 	* libc/include/sys/config.h: Dynamic reentrancy for or1k sys targets
 1115 	* libc/sys/or1k/: New system for or1k baremetal
 1116 	* libc/sys/or1k/Makefile.am: New file
 1117 	* libc/sys/or1k/Makefile.in: New file
 1118 	* libc/sys/or1k/aclocal.m4: New file
 1119 	* libc/sys/or1k/configure.in: New file
 1120 	* libc/sys/or1k/configure: New file
 1121 	* libc/sys/or1k/getreent.S: New file
 1122 	* libc/sys/or1k/mlock.S: New file
 1123 	* libc/sys/or1k/or1k-asm.S: New file
 1124 
 1125 2015-01-12  Renlin Li  <renlin.li@arm.com>
 1126 
 1127 	* testsuite/newlib.wctype/tiswctype.c (main): Use wide character type
 1128 	function.
 1129 
 1130 2015-01-08  Corinna Vinschen  <vinschen@redhat.com>
 1131 
 1132 	* libc/time/strftime.c (__strftime): Utilize __TM_GMTOFF and __TM_ZONE
 1133 	on systems where available.  On Cygwin, call function to get values.
 1134 	Add comment to explain why.  Drop TZ_LOCK/TZ_UNLOCK in 'z' case since
 1135 	it's not necessary.  In 'Z' case, add a comment to document a potential
 1136 	codeset problem.
 1137 
 1138 2015-01-08  Renlin Li  <renlin.li@arm.com>
 1139 
 1140 	* testsuite/newlib.wctype/twctrans.c (main): Use towlower and towupper.
 1141 
 1142 2015-01-06  Richard Earnshaw  <rearnsha@arm.com>
 1143 
 1144 	* libc/machine/aarch64/strcpy.S (strcpy): Further performance
 1145 	improvements.  Adjust to allow building as stpcpy.
 1146 	* libc/machine/aarch64/stpcpy.S: New file.
 1147 	* libc/machine/aarch64/stpcpy-stub.c: New file.
 1148 	* libc/machine/aarch64/Makefile.am (lib_a_SOURCES): Build stpcpy.
 1149 	* libc/machine/aarch64/Makefile.in: Regenerated.
 1150 
 1151 2014-12-26  Freddie Chopin  <freddie_chopin@op.pl>
 1152 
 1153 	* libc/include/sys/features.h: update newlib version and copyright year
 1154 
 1155 2014-12-18  Jeff Johnston  <jjohnstn@redhat.com>
 1156 
 1157         * NEWS: Update with 2.2.0 info.
 1158         * README: Ditto.
 1159         * acinclude.m4: Change version number to 2.2.0.
 1160         * libc/libc.texinfo: Ditto.
 1161         * libm/libm.texinfo: Ditto.
 1162         * configure: Regenerated.
 1163         * Makefile.in: Regenerated.
 1164         * doc/configure: Ditto.
 1165         * libc/*/configure: Ditto.
 1166         * libm/*/configure: Ditto.
 1167         * libc/sys/linux/shared.ld: Add VERS_2.2
 1168 
 1169 2014-12-18  Yaakov Selkowitz  <yselkowi@redhat.com>
 1170 
 1171 	Implement BSD/GNU unlocked stdio extensions.
 1172 	* libc/include/stdio.h (clearerr_unlocked, feof_unlocked,
 1173 	ferror_unlocked, fflush_unlocked, fgetc_unlocked, fgets_unlocked,
 1174 	fileno_unlocked, fputc_unlocked, fputs_unlocked, fread_unlocked,
 1175 	fwrite_unlocked): Declare.
 1176 	* libc/include/wchar.h (fgetwc_unlocked, fgetws_unlocked,
 1177 	fputwc_unlocked, fputws_unlocked, getwc_unlocked, getwchar_unlocked,
 1178 	putwc_unlocked, putwchar_unlocked): Declare.
 1179 	* libc/stdio/Makefile.am (ELIX_4_SOURCES): Add clearerr_u.c,
 1180 	feof_u.c, ferror_u.c, fflush_u.c, fgetc_u.c, fgets_u.c, fgetwc_u.c,
 1181 	fgetws_u.c, fileno_u.c, fputc_u.c, fputs_u.c, fputwc_u.c, fputws_u.c,
 1182 	fread_u.c, fwrite_u.c, getwc_u.c, getwchar_u.c, putwc_u.c, putwchar_u.c.
 1183 	Add necessary dependencies.
 1184 	* libc/stdio/Makefile.in: Regenerate.
 1185 	* libc/stdio/clearerr.c: Document unlocked variant.
 1186 	* libc/stdio/clearerr_u.c: New file.
 1187 	* libc/stdio/feof.c: Document unlocked variant.
 1188 	* libc/stdio/feof_u.c: New file.
 1189 	* libc/stdio/ferror.c: Document unlocked variant.
 1190 	* libc/stdio/ferror_u.c: New file.
 1191 	* libc/stdio/fflush.c: Add __IMPL_UNLOCKED__ overrides.
 1192 	Document unlocked variants.
 1193 	* libc/stdio/fflush_u.c: New file.
 1194 	* libc/stdio/fgetc.c: Document unlocked variants.
 1195 	* libc/stdio/fgetc_u.c: New file.
 1196 	* libc/stdio/fgets.c: Add __IMPL_UNLOCKED__ overrides.
 1197 	Document unlocked variants.
 1198 	* libc/stdio/fgets_u.c: New file.
 1199 	* libc/stdio/fgetwc.c: Document unlocked variants.
 1200 	(__fgetwc): Make non-static.
 1201 	* libc/stdio/fgetwc_u.c: New file.
 1202 	* libc/stdio/fgetws.c: Add __IMPL_UNLOCKED__ overrides.
 1203 	Document unlocked variants.
 1204 	* libc/stdio/fgetws_u.c: New file.
 1205 	* libc/stdio/fileno.c: Document unlocked variant.
 1206 	* libc/stdio/fileno_u.c: New file.
 1207 	* libc/stdio/fputc.c: Document unlocked variants.
 1208 	* libc/stdio/fputc_u.c: New file.
 1209 	* libc/stdio/fputs.c: Add __IMPL_UNLOCKED__ overrides.
 1210 	Document unlocked variants.
 1211 	* libc/stdio/fputs_u.c: New file.
 1212 	* libc/stdio/fputwc.c: Document unlocked variants.
 1213 	(__fputwc): Make non-static.
 1214 	* libc/stdio/fputwc_u.c: New file.
 1215 	* libc/stdio/fputws.c: Add __IMPL_UNLOCKED__ overrides.
 1216 	Document unlocked variants.
 1217 	* libc/stdio/fputws_u.c: New file.
 1218 	* libc/stdio/fread.c: Add __IMPL_UNLOCKED__ overrides.
 1219 	Document unlocked variants.
 1220 	* libc/stdio/fread_u.c: New file.
 1221 	* libc/stdio/fwrite.c: Add __IMPL_UNLOCKED__ overrides.
 1222 	Document unlocked variants.
 1223 	* libc/stdio/fwrite_u.c: New file.
 1224 	* libc/stdio/getwc_u.c: New file.
 1225 	* libc/stdio/getwchar.c: Document unlocked variants.
 1226 	* libc/stdio/getwchar_u.c: New file.
 1227 	* libc/stdio/local.h: Define locking macros as empty ifdef
 1228 	__IMPL_UNLOCKED__.
 1229 	(__fgetwc, __fputwc): Declare.
 1230 	* libc/stdio/putwc_u.c: New file.
 1231 	* libc/stdio/putwchar.c: Document unlocked variants.
 1232 	* libc/stdio/putwchar_u.c: New file.
 1233 
 1234 2014-12-18  Corinna Vinschen  <vinschen@redhat.com>
 1235 
 1236 	* stdio.tex: Add menu entries for __fsetlocking and stdio_ext.
 1237 	* stdio_ext.c: Add "stdio_ext" to synopsis.
 1238 
 1239 2014-12-16  DJ Delorie  <dj@redhat.com>
 1240 
 1241 	* libc/stdlib/nano-mallocr.c (ALIGN_TO): Do not assume that
 1242 	integers are as big as pointers.
 1243 
 1244 2014-12-16  Richard Earnshaw  <rearnsha@arm.com>
 1245 
 1246 	* libc/machine/aarch64/strcpy.S: Improve handling of short strings.
 1247 
 1248 2014-12-16  Jon Beniston  <jon@beniston.com>
 1249 
 1250 	* libc/include/stdlib.h (__itoa):  Declare prototype.
 1251 	(__utoa): Ditto.
 1252 	(itoa): Ditto, non-strict-ANSI only.
 1253 	(utoa): Ditto.
 1254 	* libc/stdlib/Makefile.am: Add itoa.c and utoa.c.
 1255 	* libc/stdlib/Makefile.in: Regenerate.
 1256 	* libc/stdlib/itoa.c: New file.
 1257 	* libc/stdlib/utoa.c: New file.
 1258 
 1259 2014-12-15  Jonathan Roelofs  <jonathan@codesourcery.com>
 1260 
 1261 	* libc/include/math.h: Add log2l,logbl,nexttowardf,
 1262 	* nexttoward,nexttowardl
 1263 	* libm/common/Makefile.am: Reference new files
 1264 	* libm/common/Makefile.in: Reference new files
 1265 	* libm/common/log2l.c: New File
 1266 	* libm/common/logbl.c: Likewise
 1267 	* libm/common/nexttowardf.c: Likewise
 1268 	* libm/common/nexttoward.c: Likewise
 1269 	* libm/common/nexttowardl.c: Likewise
 1270 
 1271 2014-12-15  Yaakov Selkowitz  <yselkowi@redhat.com>
 1272 
 1273 	* libc/include/stdio.h (__SNLK): Define.
 1274 	* libc/include/stdio_ext.h (FSETLOCKING_QUERY, FSETLOCKING_INTERNAL,
 1275 	FSETLOCKING_BYCALLER): Define.
 1276 	(__fsetlocking): Declare.
 1277 	* libc/stdio/Makefile.am: Build fsetlocking.c.
 1278 	* libc/stdio/Makefile.in: Regenerate.
 1279 	* libc/stdio/fsetlocking.c: New file.
 1280 	* libc/stdio/local.h (_newlib_flockfile_start): Make _flockfile
 1281 	call dependent on __SNLK flag.
 1282 	(_newlib_flockfile_exit, _newlib_flockfile_end): Ditto for
 1283 	_funlockfile calls.
 1284 	Define all locking macros as empty if __SINGLE_THREAD__.
 1285 	* libc/stdio/stdio.tex: Include fsetlocking.def.
 1286 
 1287 2014-12-15  Nick Hung  <nick@andestech.com>
 1288 
 1289 	* newlib/libc/include/machine/setjmp.h: Add FPU support.
 1290 	* newlib/libc/machine/nds32/setjmp.S: Add FPU support.
 1291 
 1292 2014-12-15  Nick Hung  <nick@andestech.com>
 1293 
 1294 	* configure.host: Add libm nds32 machine directory.
 1295 	* libm/machine/configure: Regenerated.
 1296 	* libm/machine/configure.in: Add nds32 AC_CONFIG.
 1297 	* libm/machine/nds32/Makefile.am: New file.
 1298 	* libm/machine/nds32/Makefile.in: Generated.
 1299 	* libm/machine/nds32/aclocal.m4: Generated.
 1300 	* libm/machine/nds32/configure: Generated.
 1301 	* libm/machine/nds32/configure.in: New file.
 1302 	* libm/machine/nds32/w_sqrt.S: New file.
 1303 	* libm/machine/nds32/wf_sqrt.S: New file.
 1304 
 1305 2014-12-15  Corinna Vinschen  <vinschen@redhat.com>
 1306 
 1307 	* libc/include/stdlib.h: Include sys/cdefs.h to avoid undefined
 1308 	__ASMNAME.
 1309 
 1310 2014-12-12  Stefan Wallentowitz  <stefan.wallentowitz@tum.de>
 1311 
 1312 	* configure.host: or1knd support, OpenRISC without delay slot
 1313 	* libc/include/machine/setjmp.h: Add or1knd
 1314 	* libc/machine/or1k/setjmp.S: Optional delay slot
 1315 
 1316 2014-12-12  Stefan Wallentowitz  <stefan.wallentowitz@tum.de>
 1317 
 1318 	* libc/machine/or1k/setjmp.S: Remove save/restore of r3-r8
 1319 
 1320 2014-12-11  Jonathan Roelofs  <jonathan@codesourcery.com>
 1321 	    Corinna Vinschen  <vinschen@redhat.com>
 1322 
 1323 	* libc/include/stdio.h: Fix type signature of __sfeof and __sferror 
 1324 	for C++.
 1325 
 1326 2014-12-11  Yaakov Selkowitz  <yselkowi@redhat.com>
 1327 
 1328 	* libc/include/stdio_ext.h: Rename __fwriteable to __fwritable.
 1329 	[!__GNUC__]: Declare real functions for the macros, and make
 1330 	the macros conditional on !__cplusplus.
 1331 	* libc/stdio/Makefile.am (ELIX_4_SOURCES): Add stdio_ext.c.
 1332 	(CHEWOUT_FILES): Add stdio_ext.def.
 1333 	* libc/stdio/Makefile.in: Regenerate.
 1334 	* libc/stdio/stdio.tex: Include stdio_ext.def.
 1335 	* libc/stdio/stdio_ext.c: New file.
 1336 
 1337 2014-12-04  Corinna Vinschen  <vinschen@redhat.com>
 1338 
 1339 	* libc/include/stdio_ext.h: Remove excess "inline".
 1340 
 1341 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
 1342 
 1343 	* libc/machine/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
 1344 	register.
 1345 
 1346 2014-12-08  Richard Earnshaw  <rearnsha@arm.com>
 1347 
 1348 	* libc/machine/aarch64/strrchr.S: New file.
 1349 	* libc/machine/aarch64/strrchr-stub.c: New file.
 1350 	* libc/machine/aarch64/Makefile.am: Add them to build list.
 1351 	* libc/machine/aarch64/Makefile.in: Regenerated.
 1352 
 1353 2014-12-07  Freddie Chopin  <freddie_chopin@op.pl>
 1354 
 1355 	* libc/time/gmtime_r.c (gmtime_r): Fixed bug in calculations for dates
 1356 	after year 2069 or before year 1901. Ideas for solution taken from
 1357 	musl's __secs_to_tm()
 1358 
 1359 2014-12-05  Yaakov Selkowitz  <yselkowi@redhat.com>
 1360 
 1361 	* libc/include/stdlib.h (__bsd_qsort_r): Declare.
 1362 	(qsort_r): Declare.
 1363 	* libc/search/Makefile.am (ELIX_2_SOURCES): Rename from ELIX_SOURCES.
 1364 	(ELIX_4_SOURCES): Define.  Add bsd_qsort_r.c and qsort_r.c.
 1365 	(libsearch_la_SOURCES): Adapt accordingly.
 1366 	(lib_a_SOURCES): Adapt accordingly.
 1367 	(CHEWOUT_FILES): Add qsort_r.def.
 1368 	* libc/search/Makefile.in: Regenerate.
 1369 	* libc/search/bsd_qsort_r.c: New file.
 1370 	* libc/search/qsort.c: Update from FreeBSD HEAD. Adapt for both BSD
 1371 	and GNU qsort_r flavors.
 1372 	* libc/search/qsort_r.c: New file.
 1373 
 1374 2014-12-04  Ulrich Weigand  <uweigand@de.ibm.com>
 1375 	    Corinna Vinschen  <vinschen@redhat.com>
 1376 
 1377 	* libc/include/sys/signal.h [__SPU__] (kill): Declare.
 1378 
 1379 2014-12-03  Jeff Johnston  <jjohnstn@redhat.com>
 1380 
 1381 	* libc/include/inttypes.h: Only enable the 8-bit scanning macros
 1382 	if _WANT_IO_C99_FORMATS is defined by configuration.  Add comment
 1383 	on why.
 1384 
 1385 2014-11-28  Matthew Fortune  <matthew.fortune@imgtec.com>
 1386 
 1387 	* libc/include/machine/setjmp.h [__mips__]: Remove __mips_fpr == 64
 1388 	from the 64-bit _JBTYPE definition.
 1389 	* libc/machine/mips/setjmp.S: Re-work the o32 FP64 support to match
 1390 	the now one-and-only supported o32 FP64 ABI extension.  Also
 1391 	support o32 FPXX.
 1392 
 1393 2014-11-26  Hale Wang  <hale.wang@arm.com>
 1394 
 1395 	* libc/machine/arm/strcmp-armv6m.S: New file.
 1396 	* libc/machine/arm/strcmp.S: Add new wrapper.
 1397 	* libc/machine/arm/Makefile.am: Add dependencies.
 1398 	* libc/machine/arm/Makefile.in: Regenerated.
 1399 
 1400 2014-11-25  Corinna Vinschen  <vinschen@redhat.com>
 1401 
 1402 	* libc/include/sys/_default_fcntl.h: Move all Cygwin-specific open
 1403 	flags from Cygwin's fcntl.h here.  Remove check for WIN32.  Remove
 1404 	Windows-specific macros.
 1405 
 1406 2014-11-23  Joel Sherrill <joel.sherrill@oarcorp.com>
 1407 
 1408 	* libc/include/sys/resource.h: Add prototype for getrusage()
 1409 	to <sys/resource.h>
 1410 
 1411 2014-11-21  Nick Clifton  <nickc@redhat.com>
 1412 
 1413 	PR target/63901
 1414 	* configure.host (msp430): Add -mhwmult=none to newlib_cflags.
 1415 
 1416 2014-11-20  Peter A. Bigot  <pab@pabigot.com>
 1417 
 1418 	* libc/stdio/nano-vfprintf_i.c (_printf_i): Use LONGINT when void* is
 1419 	larger than an int.
 1420 
 1421 2014-11-20  Sebastian Huber  <sebastian.huber@embedded-brains.de>
 1422 
 1423 	* libc/sys/rtems/sys/syslimits.h (NGROUPS_MAX): Adjust value so
 1424 	that NGROUPS is even.
 1425 
 1426 2014-11-12  Jon Beniston  <jon@beniston.com>
 1427 
 1428 	* libc/stdlib/strtod.c (sulp): Cast to int32_t to avoid overflow.
 1429 	* libc/time/gmtime_r.c (DAYS_PER_*_YEARS): Convert to long constants
 1430 	to avoid overflow.
 1431 
 1432 2014-11-10  Richard Earnshaw  <rearnsha@arm.com>
 1433 
 1434 	* libc/machine/aarch64/strcpy.S: New file.
 1435 	* libc/machine/aarch64/strcpy-stub.S: New file.
 1436 	* libc/machine/aarch64/Makefile.am (lib_a_SOURCES): Add new files.
 1437 	* libc/machine/aarch64/Makefile.in: Regenerate.
 1438 
 1439 2014-11-06  Joel Sherrill <joel.sherrill@oarcorp.com>
 1440 
 1441 	* configure.in: Add autoconf test to determine size of uintptr_t.
 1442 	* newlib.hin: Add new autoconf feature variables.
 1443 	* libc/include/inttypes.h: Use new feature variables.
 1444 	* configure: Regenerate.
 1445 
 1446 2014-11-06  Terry Guo  <terry.guo@arm.com>
 1447 
 1448 	* libc/stdio/nano-vfprintf_i.c (_printf_i): Use Newlib approach to
 1449 	handle string that might be not nul-terminated.
 1450 	* testsuite/newlib.stdio/nulprintf.c: New test.
 1451 
 1452 2014-10-29  Jon Turney  <jon.turney@dronecode.org.uk>
 1453 
 1454 	* libc/include/string.h: Correct guard for strcasecmp().
 1455 
 1456 2014-10-29  Terry Guo  <terry.guo@arm.com>
 1457 
 1458 	* libc/stdio/vfprintf.c (_VFPRINTF_R): Remove unnecessary comparison.
 1459 
 1460 2014-10-27  Sebastian Huber  <sebastian.huber@embedded-brains.de>
 1461 
 1462 	* libc/include/sys/unistd.h (sethostname): Declare if
 1463 	requested.
 1464 
 1465 2014-10-20  Freddie Chopin  <freddie_chopin@op.pl>
 1466 
 1467 	* libc/time/gmtime_r.c (gmtime_r): Remove dead code.
 1468 
 1469 2014-10-16  Sebastian Huber  <sebastian.huber@embedded-brains.de>
 1470 
 1471 	* libc/unix/getcwd.c (getcwd): Close directory also in case of an error.
 1472 
 1473 2014-10-10  Thomas Uhle <thomas.uhle@eas.iis.fraunhofer.de>
 1474 
 1475 	* libc/include/_ansi.h: _LONG_LONG_TYPE definition removed.
 1476 	* libc/include/math.h: _LONG_LONG_TYPE replaced by "long long".
 1477 	Guards for C99 and C++11 functions fixed.
 1478 	* libc/include/stdlib.h: Guards for C99 and C++11 functions fixed.
 1479 
 1480 2014-10-09  Sebastian Huber  <sebastian.huber@embedded-brains.de>
 1481 
 1482 	* libc/include/stdint.h: Include <sys/_intsup.h>.
 1483 	(__STDINT_EXP): Delete.
 1484 	(__have_long32): Likewise.
 1485 	(__have_long64): Likewise.
 1486 	(__have_longlong64): Likewise.
 1487 	* libc/include/sys/_intsup.h: New file.
 1488 	(__STDINT_EXP): Move from libc/include/stdint.h.
 1489 	(__have_long32): Likewise.
 1490 	(__have_long64): Likewise.
 1491 	(__have_longlong64): Likewise.
 1492 	* libc/include/inttypes.h: Include <sys/_intsup.h>.
 1493 	(__INTTYPES_EXP): Delete and use __STDINT_EXP() instead.
 1494 
 1495 2014-10-09  Freddie Chopin  <freddie_chopin@op.pl>
 1496 
 1497 	* libc/string/memccpy.c (memccpy): Fix warning about signed-unsigned
 1498 	comparison
 1499 	* libc/string/memchr.c (memchr): Ditto.
 1500 	* libc/string/memrchr.c (memrchr): Ditto.
 1501 	* libc/string/memset.c: (memset): Ditto.
 1502 	* libc/string/rawmemchr.c (rawmemchr): Ditto.
 1503 	* libc/string/local.h (__locale_cjk_lang): Fix "function declaration
 1504 	isn't a prototype" warning.
 1505 	* libc/string/strcasestr.c (strcasestr): Ditto.
 1506 	* libc/string/u_strerr.c (_user_strerror): Fix "unused parameter"
 1507 	warnings.
 1508 	* libc/string/rawmemchr.c (rawmemchr): Fix comment type
 1509 	"// ..." -> "/* ... */".
 1510 
 1511 2014-10-08  Steve Ellcey  <sellcey@mips.com>
 1512 
 1513 	* newlib/libc/machine/mips/strcmp.c: Remove.
 1514 	* newlib/libc/machine/mips/strcmp.S: New.
 1515 	* newlib/libc/machine/mips/Makefile.am (lib_a_SOURCES):
 1516 	Replace strcmp.c with strcmp.S
 1517 	* newlib/libc/machine/mips/Makefile.in: Regenerate.
 1518 
 1519 2014-10-08 Corinna Vinschen  <vinschen@redhat.com>
 1520 
 1521 	* libc/include/string.h (ffsl): Declare as GNU function.
 1522 	(ffsll): Ditto.
 1523 
 1524 2014-09-17  Jeff Johnston  <jjohnstn@redhat.com>
 1525 
 1526 	* libc/include/sys/features.h: Add __NEWLIB__ and
 1527 	__NEWLIB_MINOR__ macros.
 1528 
 1529 2014-09-17  Joel Sherrill <joel.sherrill@oarcorp.com>
 1530 	    Thomas Uhle <thomas.uhle@eas.iis.fraunhofer.de>
 1531 
 1532 	* libc/include/string.h: Correct guard for strnlen().
 1533 
 1534 2014-09-15  Jeff Johnston  <jjohnstn@redhat.com>
 1535 
 1536 	* libc/time/month_lengths.c: Fix to define __month_lengths.
 1537 
 1538 2014-09-12  Jeff Johnston  <jjohnstn@redhat.com>
 1539 
 1540 	* libc/time/tzcalc_limits.c: Fix __month_lengths reference.
 1541 
 1542 2014-09-12  Jeff Johnston  <jjohnstn@redhat.com>
 1543 
 1544 	* libc/time/month_lengths.c: Actually add file this time.
 1545 	* libc/time/tzcalc_limits.c: Ditto.
 1546 
 1547 2014-09-11  Freddie Chopin  <freddie_chopin@op.pl>
 1548 
 1549 	* libc/time/month_lengths.c: New file with __month_lengths array
 1550 	(previously mon_lengths array in mktm_r.c)
 1551 	* libc/time/tzcalc_limits.c: New file with __tzcalc_limits() from
 1552 	mktm_r.c
 1553 	* libc/time/lcltime_r.c (localtime_r): Simplify by changing call to
 1554 	_mktm_r() with call to gmtime_r() and code moved from _mktm_r() which
 1555 	was used to do time zone adjustments
 1556 	* libc/time/gmtime_r.c (gmtime_r): Simplify by moving all relevant
 1557 	code from _mktm_r(), breaking all dependencies on time zone related
 1558 	functions
 1559 	* libc/time/mktm_r.c: Delete file
 1560 	* libc/time/local.h: Update accordingly - remove declaration of
 1561 	_mktm_r(), add declaration of __month_lengths[]
 1562 	* libc/time/Makefile.am: Modify accordingly.
 1563 	* libc/time/Makefile.in: Regenerate.
 1564 
 1565 2014-09-08  Freddie Chopin  <freddie_chopin@op.pl>
 1566 
 1567 	* libc/machine/arm/Makefile.am: Fix typo.
 1568 	* libc/machine/arm/Makefile.in: Regenerated.
 1569 
 1570 2014-09-05  Hale Wang  <hale.wang@arm.com>
 1571 
 1572 	* libc/machine/arm/memchr.S: Clean up the wrapper.
 1573 	* libc/machine/arm/memcpy.S: Likewise.
 1574 	* libc/machine/arm/memchr-stub.c: Delete this redundant file.
 1575 	* libc/machine/arm/memcpy-stub.c: Likewise.
 1576 	* libc/machine/arm/strcmp.S: Add speed-preferred wrapper.
 1577 	* libc/machine/arm/strlen.S: Likewise.
 1578 	* libc/machine/arm/Makefile.am: Add dependencies.
 1579 	* libc/machine/arm/Makefile.in: Regenerated.
 1580 	* libc/machine/arm/configure.in: Add dependencies.
 1581 	* libc/machine/arm/configure: Regenerated.
 1582 
 1583 2014-09-05  Bin Cheng  <bin.cheng@arm.com>
 1584 
 1585 	* libc/stdio/findfp.c (_cleanup_r): Call _fflush_r when configuration
 1586 	option "--enable-lite-exit" is in effect.  Refactor the code.
 1587 
 1588 2014-09-05  Bin Cheng  <bin.cheng@arm.com>
 1589 
 1590 	* libc/stdio/fwalk.c (_fwalk_reent): Remove redundant test.
 1591 
 1592 2014-09-04  Freddie Chopin  <freddie_chopin@op.pl>
 1593 
 1594 	* libc/time/mktm_r.c (_mktm_r): Optimize speed.
 1595 
 1596 2014-09-04  Freddie Chopin  <freddie_chopin@op.pl>
 1597 
 1598 	* libc/time/clock.c (clock): Fix warnings about signed-unsigned
 1599 	comparisons.
 1600 	* libc/time/strftime.c (strftime): Likewise.
 1601 	* libc/time/strptime.c (match_string): Fix warning about discarding
 1602 	'restrict' qualifier from pointer target type.
 1603 
 1604 2014-09-04  Hale Wang  <hale.wang@arm.com>
 1605 
 1606 	* libc/machine/arm/aeabi_memcpy.c: New file.
 1607 	* libc/machine/arm/aeabi_memcpy-armv7a.S: New file.
 1608 	* libc/machine/arm/Makefile.am: Add dependencies.
 1609 	* libc/machine/arm/Makefile.in: Regenerated.
 1610 
 1611 2014-08-27  DJ Delorie  <dj@redhat.com>
 1612 
 1613 	* libc/include/math.h (frexpl): Remove parameter name.
 1614 
 1615 2014-08-19  Richard Earnshaw  <rearnsha@arm.com>
 1616 
 1617 	* libc/machine/aarch64/memchr.S: Add check for zero-sized buffer.
 1618 
 1619 2014-08-18 Corinna Vinschen  <vinschen@redhat.com>
 1620 
 1621 	* libc/include/sys/signal.h: Declare sigaltstack for RTEMS only.
 1622 
 1623 2014-08-18  Jeff Johnston  <jjohnstn@redhat.com>
 1624 
 1625 	* libc/include/sys/config.h[__m68k__]: Set _READ_WRITE_RETURN_TYPE
 1626 	to _ssize_t to match underlying code in libgloss.
 1627 
 1628 2014-08-18 Joel Sherrill <joel.sherrill@oarcorp.com>
 1629 
 1630 	* libc/include/string.h: Improve language and OS standard guards.
 1631 
 1632 2014-08-18 Joel Sherrill <joel.sherrill@oarcorp.com>
 1633 
 1634 	* libc/include/sys/signal.h: Add sigaltstack() support.
 1635 
 1636 2014-08-14  Bin Cheng  <bin.cheng@arm.com>
 1637 
 1638 	* libc/stdio/findfp.c (std): Don't inline when optimizing for code size.
 1639 
 1640 2014-08-04  Jon TURNEY  <jon.turney@dronecode.org.uk>
 1641 
 1642 	* libc/include/math.h: Also define M_PI etc. if _XOPEN_SOURCE is
 1643 	defined appropriately.
 1644 
 1645 2014-08-01  Eric Blake  <eblake@redhat.com>
 1646 
 1647 	* libc/machine/spu/spu_timer_internal.h: Decorate attribute names
 1648 	with __, for namespace safety.
 1649 	* libc/machine/xscale/machine/profile.h: Likewise.
 1650 	* libc/include/stdlib.h: Likewise.
 1651 	* libc/include/_ansi.h: Likewise.
 1652 	* libc/include/sys/unistd.h: Likewise.
 1653 	* libc/sys/linux/linuxthreads/libc-symbols.h: Likewise.
 1654 	* libc/sys/linux/linuxthreads/internals.h: Likewise.
 1655 	* libc/sys/linux/machine/i386/weakalias.h: Likewise.
 1656 	* libc/sys/linux/machine/i386/dl-procinfo.h: Likewise.
 1657 	* libc/sys/linux/machine/i386/dl-machine.h: Likewise.
 1658 	* libc/sys/linux/libc-symbols.h: Likewise.
 1659 	* libc/sys/linux/iconv/gconv_charset.h: Likewise.
 1660 	* libc/sys/linux/include/resolv.h: Likewise.
 1661 	* libc/sys/linux/sys/unistd.h: Likewise.
 1662 	* libc/sys/linux/dl/atomicity.h: Likewise.
 1663 	* libc/sys/linux/dl/dynamic-link.h: Likewise.
 1664 	* libc/sys/linux/dl/ldsodefs.h: Likewise.
 1665 
 1666 2014-07-30  Corinna Vinschen  <vinschen@redhat.com>
 1667 
 1668 	* libc/string/strerror.c: Fix documentation so makedoc doesn't
 1669 	stumble over a sole EAGAIN.
 1670 
 1671 2014-07-27  Anthony Green  <green@moxielogic.com>
 1672 
 1673 	* configure.host: Add moxie-*-moxiebox target.
 1674 
 1675 2014-07-22  Joel Sherrill <joel.sherrill@oarcorp.com>
 1676 
 1677 	* libc/include/sys/time.h: Add prototype for adjtime() and
 1678 	wrap it and settimeofday() prototype with __BSD_VISIBLE.
 1679 
 1680 2014-07-17  Hesham ALMatary <heshamelmatary@gmail.com>
 1681 
 1682 	* configure.host: Remove or16 and or32 targets and add or1k.
 1683 	* libc/include/machine/ieeefp.h: Replace or32 with or1k.
 1684 	* libc/machine/configure.in: Add or1k subdirectory.
 1685 	* libc/machine/configure: Regenerate.
 1686 	* libc/machine/or1k/configure.in: New file.
 1687 	* libc/machine/or1k/configure: New file.
 1688 	* libc/machine/or1k/Makefile.am: New file.
 1689 	* libc/machine/or1k/Makefile.in: New file.
 1690 	* libc/machine/or1k/setjmp.S: New file.
 1691 
 1692 2014-07-14  Nick Withers  <nick.withers@anu.edu.au>
 1693 
 1694 	* libc/include/sys/errno.h: Fix comments.
 1695 	* libc/string/strerror.c: Fix documentation.
 1696 	(_strerror_r): Handle ENETRESET, EILSEQ, ENODATA, ECONNRESET,
 1697 	EADDRNOTAVAIL, EOVERFLOW.  Fix strings for EMFILE and EDOM.
 1698 
 1699 2014-07-11  KÚvin Petit  <kevin.petit@arm.com>
 1700 
 1701 	* libc/machine/aarch64/memchr.S: New file.
 1702 	* libc/machine/aarch64/memchr-stub.c: New file.
 1703 	* libc/machine/aarch64/Makefile.am: Add the new files.
 1704 	* libc/machine/aarch64/Makefile.in: Regenerated.
 1705 
 1706 2014-07-07  Pavel Pisa  <pisa@cmp.felk.cvut.cz>
 1707 	    Richard Earnshaw  <rearnsha@arm.com>
 1708 
 1709 	* libc/machine/arm/memchr.S (.arch): Require revision ARMv6t2.
 1710 
 1711 2014-07-07  Corinna Vinschen  <vinschen@redhat.com>
 1712 
 1713 	* configure.in (--enable-newlib-nano-formatted-io): Set to "no"
 1714 	by default.
 1715 	* configure: Regenerated.
 1716 
 1717 2014-07-04  Bin Cheng  <bin.cheng@arm.com>
 1718 
 1719 	* README (--enable-newlib-nano-formatted-io): Describe.
 1720 	* acconfig.h (_NANO_FORMATTED_IO): Undef.
 1721 	* newlib.hin (_NANO_FORMATTED_IO): Undef.
 1722 	* configure.in (--enable-newlib-nano-formatted-io): New option.
 1723 	* configure: Regenerated.
 1724 	* libc/configure.in (--enable-newlib-nano-formatted-io): New option.
 1725 	* libc/configure: Regenerated.
 1726 	* libc/stdio/Makefile.am (NEWLIB_NANO_FORMATTED_IO): Support new
 1727 	configuration option.
 1728 	* libc/stdio/Makefile.in: Regenerated.
 1729 	* libc/stdio/asnprintf.c (_asniprintf_r, asniprintf): Use
 1730 	_NANO_FORMATTED_IO to declare alias prototypes.
 1731 	* libc/stdio/asprintf.c (_asiprintf_r, asiprintf): Ditto.
 1732 	* libc/stdio/dprintf.c (_diprintf_r, diprintf): Ditto.
 1733 	* libc/stdio/fprintf.c (_fiprintf_r, fiprintf): Ditto.
 1734 	* libc/stdio/fscanf.c (fiscanf, _fiscanf_r): Ditto.
 1735 	* libc/stdio/printf.c (_iprintf_r, iprintf): Ditto.
 1736 	* libc/stdio/scanf.c (iscanf, _iscanf_r): Ditto.
 1737 	* libc/stdio/snprintf.c (_sniprintf_r, sniprintf): Ditto.
 1738 	* libc/stdio/sprintf.c (_siprintf_r, siprintf): Ditto.
 1739 	* libc/stdio/sscanf.c (siscanf, _siscanf_r): Ditto.
 1740 	* libc/stdio/vasnprintf.c (_vasniprintf_r, vasniprintf): Ditto.
 1741 	* libc/stdio/vasprintf.c (vasiprintf, _vasiprintf_r): Ditto.
 1742 	* libc/stdio/vdprintf.c (_vdiprintf_r, vdiprintf): Ditto.
 1743 	* libc/stdio/vprintf.c (viprintf, _viprintf_r): Ditto.
 1744 	* libc/stdio/vscanf.c (viscanf, _viscanf_r): Ditto.
 1745 	* libc/stdio/vsnprintf.c (vsniprintf, _vsniprintf_r): Ditto.
 1746 	* libc/stdio/vsprintf.c (vsiprintf, _vsiprintf_r): Ditto.
 1747 	* libc/stdio/vsscanf.c (vsiscanf, _vsiscanf_r): Ditto.
 1748 	* libc/stdio/nano-vfprintf.c: New file.
 1749 	* libc/stdio/nano-vfprintf_float.c: New file.
 1750 	* libc/stdio/nano-vfprintf_i.c: New file.
 1751 	* libc/stdio/nano-vfprintf_local.h: New file.
 1752 	* libc/stdio/nano-vfscanf.c: New file.
 1753 	* libc/stdio/nano-vfscanf_float.c: New file.
 1754 	* libc/stdio/nano-vfscanf_i.c: New file.
 1755 	* libc/stdio/nano-vfscanf_local.h: New file.
 1756 
 1757 2014-06-23  Corinna Vinschen  <vinschen@redhat.com>
 1758 
 1759 	* libc/argz/envz_merge.c (envz_merge): Fix memory leak (Cygwin Coverity
 1760 	Scan CID 60023).
 1761 	* libc/ctype/iswalpha.c (iswalpha): Add bounds check to avoid
 1762 	out-of-bounds read from utf8 tables (CID 59949).
 1763 	* libc/locale/ldpart.c (__part_load_locale): Add 1 byte to size of lbuf.
 1764 	Write NUL into the last byte to accommodate split_lines (CID 60047).
 1765 
 1766 2014-06-11  Richard Earnshaw  <rearnsha@arm.com>
 1767 
 1768 	* libc/machine/aarch64/strchrnul.S: New file.
 1769 	* libc/machine/aarch64/strchrnul-stub.c: New file.
 1770 	* libc/machine/aarch64/Makefile.am: Add them to build list.
 1771 	* libc/machine/aarch64/Makefile.in: Regenerated.
 1772 
 1773 2014-06-10  Richard Earnshaw  <rearnsha@arm.com>
 1774 
 1775 	* libc/machine/aarch64/strchr.S: New file.
 1776 	* libc/machine/aarch64/strchr-stub.c: New file.
 1777 	* libc/machine/aarch64/Makefile.am: Add them to build list.
 1778 	* libc/machine/aarch64/Makefile.in: Regenerated.
 1779 
 1780 2014-06-09  DJ Delorie  <dj@redhat.com>
 1781 
 1782 	* configure.host (default_newlib_nano_malloc): New.
 1783 	(msp430): Set it.
 1784 	* configure.in (newlib_nano_malloc): Leave unset if not set by
 1785 	the user.
 1786 	* configure: Regenerate.
 1787 	* libc/configure.in (NEWLIB_NANO_MALLOC): Set after running
 1788 	configure.host.
 1789 	(newlib_nano_malloc): Leave unset if not set by	the user.
 1790 	* libc/configure: Regenerate.
 1791 
 1792 2014-05-15  Daniel Cederman  <cederman@gaisler.com>
 1793 
 1794 	* libc/machine/sparc/setjmp.S (longjmp): Use register g1 instead of g6.
 1795 
 1796 2014-05-14  Kaushik Phatak  <Kaushik.Phatak@kpit.com>
 1797 
 1798 	* libc/include/machine/ieeefp.h: Define _DOUBLE_IS_32BITS when double
 1799 	options is not __RL78_64BIT_DOUBLES__.
 1800 
 1801 2014-05-12  Corinna Vinschen  <vinschen@redhat.com>
 1802 
 1803 	* libc/include/stdint.h (WCHAR_MIN): Copy definition from wchar.h.
 1804 	(WCHAR_MAX): Ditto.
 1805 	* libc/include/wchar.h (WCHAR_MIN): Add comment.
 1806 	(WCHAR_MAX): Ditto.
 1807 
 1808 2014-05-09  Corinna Vinschen  <vinschen@redhat.com>
 1809 
 1810 	* libc/include/stdio.h (tempnam): Declare as __BSD_VISIBLE or
 1811 	__XSI_VISIBLE or if __POSIX_VISIBLE >= 200112.
 1812 
 1813 2014-05-09  Corinna Vinschen  <vinschen@redhat.com>
 1814 
 1815 	* libc/include/stdio.h (fcloseall): Declare as __GNU_VISIBLE only.
 1816 	(renameat): Drop explicit __CYGWIN__ dependency.
 1817 
 1818 2014-05-05  Corinna Vinschen  <vinschen@redhat.com>
 1819 
 1820 	* libc/include/stdio.h: Declare various C99 printf/scanf functions for
 1821 	C++11, too.
 1822 
 1823 2014-04-22  Richard Earnshaw  <rearnsha@arm.com>
 1824 
 1825 	* libc/machine/arm/strcmp-arm-tiny.S: New file.
 1826 	* libc/machine/arm/strcmp-armv4.S: New file.
 1827 	* libc/machine/arm/strcmp-armv4t.S: New file.
 1828 	* libc/machine/arm/strcmp-armv6.S: New file.
 1829 	* libc/machine/arm/strcmp-armv7.S: New file.
 1830 	* libc/machine/arm/strcmp-armv7m.S: New file.
 1831 	* libc/machine/arm/strcmp.S: Replace with wrapper for various
 1832 	implementations.
 1833 	* libc/machine/arm/Makefile.am (strcmp.o, strcmp.obj): Add
 1834 	dependencies.
 1835 	* libc/machine/arm/Makefile.in: Regenerated.
 1836 
 1837 2014-04-14  Sebastian Huber  <sebastian.huber@embedded-brains.de>
 1838 
 1839 	* libc/sys/rtems/sys/cpuset.h (CPU_SET_S): Add const qualifier.
 1840 	(CPU_SET): Likewise.
 1841 
 1842 2014-04-09  DJ Delorie  <dj@redhat.com>
 1843 
 1844 	* libc/machine/rl78/setjmp.S: Add RL78/G10 support.
 1845 
 1846 2014-04-04  Ashish Kapania  <akapania@ti.com>
 1847 
 1848 	* configure.host (sys_dir, newlib_cflags): Set sys_dir to tirtos and use
 1849 	-D__DYNAMIC_REENT__ and -DMALLOC_PROVIDED compiler options for TIRTOS
 1850 	target.
 1851 	* libc/stdio/local.h (_STDIO_CLOSE_PER_REENT_STD_STREAMS): Change #ifdef
 1852 	to not define this macro when __tirtos__ is defined.
 1853 	* libc/sys/tirtos : Add support for TIRTOS.
 1854 	* libc/sys/tirtos/Makefile.am, libc/sys/tirtos/lock.c: New files.
 1855 	* libc/sys/tirtos/configure.in, libc/sys/tirtos/include/sys/lock.h: Ditto.
 1856 
 1857 2014-03-27  Richard Earnshaw  <rearnsha@arm.com>
 1858 
 1859 	* libc/machine/arm/acle-compat.h: New file.
 1860 	* libc/machine/arm/arm_asm.h: Use it.
 1861 
 1862 2014-03-21  Maciej W. Rozycki  <macro@codesourcery.com>
 1863 
 1864 	* libc/stdlib/gd_qnan.h (f_QNAN, d_QNAN0, d_QNAN1): Add MIPS
 1865 	versions.
 1866 	(ld_QNAN0, ld_QNAN1, ld_QNAN2, ld_QNAN3): Don't define for MIPS.
 1867 	(ldus_QNAN0, ldus_QNAN1, ldus_QNAN2, ldus_QNAN3, ldus_QNAN4):
 1868 	Likewise.
 1869 	* libc/stdlib/ldtoa.c (nan113, nan64, nan53, nan24): Add MIPS
 1870 	versions.
 1871 	(enan): Handle legacy MIPS payloads.
 1872 	* libm/common/s_nan.c (nan): Use __builtin_nan if supported by
 1873 	the compiler.
 1874 	* libm/common/sf_nan.c (nanf): Likewise.
 1875 
 1876 2014-03-21  Sabrina Ni  <sabrinanitw@gmail.com>
 1877 
 1878 	* libc/machine/nds32/configure: Regenerated.
 1879 	* libc/machine/nds32/configure.in: Add AC_NOEXECUTABLES.
 1880 
 1881 2014-03-21  Sabrina Ni  <sabrinanitw@gmail.com>
 1882 
 1883 	* libc/machine/nds32/Makefile.am: Use C code implemented memcpy,
 1884 	memset for 'ISA V3M'.
 1885 	* libc/machine/nds32/Makefile.in: Generated.
 1886 	* libc/machine/nds32/configure: Generated.
 1887 	* libc/machine/nds32/configure.in: Detect IS_NDS32_ISA_V3M.
 1888 
 1889 2014-03-21  Sabrina Ni  <sabrinanitw@gmail.com>
 1890 
 1891 	* libc/machine/nds32/setjmp.S: Keep jmp_buff sync with GDB.
 1892 
 1893 2014-03-21  Sabrina Ni  <sabrinanitw@gmail.com>
 1894 
 1895 	* libc/machine/nds32/setjmp.S: Optimize.
 1896 
 1897 2014-03-07  Corinna Vinschen  <vinschen@redhat.com>
 1898 	    Jeff Johnston  <jjohnstn@redhat.com>
 1899 
 1900 	* libc/include/stdlib.h (strtold): Define if _HAVE_LONG_DOUBLE is
 1901 	defined.
 1902 	* libc/stdlib/strtold.c (strtold): Ditto.  Call strtod on systems
 1903 	with long double == double, _strtold otherwise.
 1904 
 1905 2014-03-05  Corinna Vinschen  <vinschen@redhat.com>
 1906 
 1907 	* libc/include/time.h (__TM_GMTOFF): Remove Cygwin-specific definition.
 1908 	(__TM_ZONE): Ditto.
 1909 
 1910 2014-03-05  Corinna Vinschen  <vinschen@redhat.com>
 1911 
 1912 	* libc/include/time.h (__TM_GMTOFF): Define on Cygwin.
 1913 	(__TM_ZONE): Ditto.
 1914 	(struct tm): Add __TM_GMTOFF and __TM_ZONE members if they are defined.
 1915 
 1916 2014-03-04  Ed Nelson  <ed@nelson305.com>
 1917 
 1918 	* libc/include/machine/_default_types.h: Define unsigned type using
 1919 	signed type macros in case unsigned type macros are not available.
 1920 
 1921 2014-02-20  Agustin Henze  <tin@sluc.org.ar>
 1922 
 1923 	* libm/complex/complex.tex: Fix wrong syntax in documentation.
 1924 	* libm/math/math.tex: Ditto.
 1925 
 1926 2014-02-20  Corinna Vinschen  <vinschen@redhat.com>
 1927 
 1928 	* libc/stdio/open_memstream.c (internal_open_memstream_r): Initialize
 1929 	c->pos to 0.
 1930 
 1931 2014-02-11  Joey Ye  <joey.ye@arm.com>
 1932 
 1933 	* libc/sys/arm/syscalls.c (_sbrk): Define as weak symbols.
 1934 	(_read, _write): Ditto.
 1935 
 1936 2014-02-09  Corinna Vinschen  <vinschen@redhat.com>
 1937 
 1938 	* libc/include/pwd.h: Include <sys/cdefs.h>.
 1939 	* libc/include/grp.h: Ditto.
 1940 
 1941 2014-02-04  Matthias Braun  <matze@braunis.de>
 1942 
 1943 	* libm/mathfp/sf_numtest.c: Fix NaN/Inf detection logic.
 1944 
 1945 2014-01-20  Corinna Vinschen  <vinschen@redhat.com>
 1946 
 1947 	* libc/include/setjmp.h (longjmp): Fix copy/paste error.
 1948 
 1949 2014-01-19  Corinna Vinschen  <vinschen@redhat.com>
 1950 
 1951 	* libc/include/setjmp.h (longjmp): Mark "noreturn" when building with
 1952 	GCC.
 1953 
 1954 2014-01-17  Corinna Vinschen  <vinschen@redhat.com>
 1955 
 1956 	* libc/include/pwd.h: Use __foo_VISIBLE macros from sys/cdefs.h.
 1957 	(setpassent): Declare.
 1958 
 1959 2014-01-17  Sebastian Huber  <sebastian.huber@embedded-brains.de>
 1960 
 1961 	* libc/include/sys/_default_fcntl.h (LOCK_SH): Define.
 1962 	(LOCK_EX): Likewise.
 1963 	(LOCK_NB): Likewise.
 1964 	(LOCK_UN): Likewise.
 1965 	(flock): Declare.
 1966 
 1967 2014-01-17  Corinna Vinschen  <vinschen@redhat.com>
 1968 
 1969 	Introduce _STDIO_BSD_SEMANTICS flag to switch fclose/exit file flushing
 1970 	semantics from POSIX to BSD.
 1971 	* libc/stdio/fclose.c (_fclose_r): Conditionalize file flushing on
 1972 	_STDIO_BSD_SEMANTICS.  Call __sflush_r rather than _fflush_r.  Add
 1973 	comment.
 1974 	* libc/stdio/fflush.c (__sflushw_r): New function, only available
 1975 	if _STDIO_BSD_SEMANTICS is defined.
 1976 	* libc/stdio/findfp.c (_cleanup_r): Call _fwalk_reent rather than
 1977 	_fwalk.  Conditionalize cleanup function call on _STDIO_BSD_SEMANTICS.
 1978 	Add comments.  Add FIXME.
 1979 	* libc/stdio/local.h (__sflushw_r): Declare if _STDIO_BSD_SEMANTICS is
 1980 	defined.
 1981 
 1982 2014-01-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
 1983 
 1984 	* libc/include/sys/_default_fcntl.h (AT_FDCWD): Define according
 1985 	to POSIX.
 1986 	(AT_EACCESS): Likewise.
 1987 	(AT_SYMLINK_NOFOLLOW): Likewise.
 1988 	(AT_SYMLINK_FOLLOW): Likewise.
 1989 	(AT_REMOVEDIR): Likewise.
 1990 	(openat): Declare according to POSIX.
 1991 	* libc/include/stdio.h (renameat): Likewise.
 1992 	* libc/include/sys/stat.h (fchmodat): Likewise.
 1993 	(fstatat): Likewise.
 1994 	(mkdirat): Likewise.
 1995 	(mkfifoat): Likewise.
 1996 	(mknodat): Likewise.
 1997 	(utimensat): Likewise.
 1998 	(futimens): Likewise.
 1999 	* libc/include/sys/unistd.h (faccessat): Likewise.
 2000 	(fchownat): Likewise.
 2001 	(linkat): Likewise.
 2002 	(readlinkat): Likewise.
 2003 	(symlinkat): Likewise.
 2004 	(unlinkat): Likewise.
 2005 
 2006 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
 2007 
 2008 	* libc/search/hash.c (hash_delete): Change __uint32_t to u_int.
 2009 	(hash_get): Likewise.
 2010 	(hash_put): Likewise.
 2011 	(hash_seq): Likewise.
 2012 	(hash_sync): Likewise.
 2013 					
 2014 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
 2015 
 2016 	* libc/ctype/jp2uc.c: Include string.h.
 2017 	
 2018 2013-12-23  Jeff Johnston  <jjohnstn@redhat.com>
 2019 
 2020 	* NEWS: Update with 2.1.0 info.
 2021 	* README: Ditto.
 2022 	* acinclude.m4: Change version number to 2.1.0.
 2023 	* aclocal.m4: Regenerated.
 2024 	* configure: Ditto.
 2025 	* Makefile.in: Regenerated.
 2026 	* doc/aclocal.m4: Ditto.
 2027 	* doc/configure: Ditto.
 2028 	* libc/*/aclocal.m4: Ditto.
 2029 	* libc/*/configure: Ditto.
 2030 	* libc/libc.texinfo: Ditto.
 2031 	* libm/*/aclocal.m4: Ditto.
 2032 	* libm/*/configure: Ditto.
 2033 	* libm/libm.texinfo: Ditto.
 2034 	* libc/sys/linux/shared.ld: Add VERS_2.1
 2035 
 2036 2013-12-22  JF Bastien  <jfb@chromium.org>
 2037 
 2038 	* libc/include/limits.h: Define LLONG_MIN, LLONG_MAX and ULLONG_MAX 
 2039 	for C++11 too.
 2040 	* libc/include/stdlib.h: Define struct lldiv_t, _Exit, atoll, llabs 
 2041 	and lldiv for C99 and C++11.  Move wcstold to wchar.h.
 2042 	* libc/include/wchar.h: Define WCHAR_MIN and WCHAR_MAX according to
 2043 	__WCHAR_UNSIGNED__ if it is provided, and correct the limit when
 2044 	unsigned (to 32 all-1 bits, not 31).  Define FILE as in stdio.h.
 2045 	Move wcstold from stdlib.h here.
 2046 
 2047 2013-12-20  Nick Clifton  <nickc@redhat.com>
 2048 
 2049 	* configure.host (newlib_cflags): Use -Os, -ffunction-sections and
 2050 	-fdata-sections for RL78.
 2051 
 2052 2013-12-19  Corinna Vinschen  <vinschen@redhat.com>
 2053 
 2054 	* libc/stdio/vfwscanf.c (__SVFWSCANF_R): Fix fetching decimal_point in
 2055 	!_MB_CAPABLE as well as in !__HAVE_LOCALE_INFO_EXTENDED__ case.
 2056 
 2057 2013-12-18  Corinna Vinschen  <vinschen@redhat.com>
 2058 
 2059 	* libc/stdio/vfscanf.c (BUF): Change definition to take multibyte
 2060 	decimal point into account.
 2061 	(__SVFSCANF_R): Handle radix char language-dependent
 2062 	per POSIX.
 2063 	* libc/stdio/vfwscanf.c (__SVFWSCANF_R): Ditto.
 2064 
 2065 2013-12-10  Jeff Johnston  <jjohnstn@redhat.com>
 2066 
 2067 	* acconfig.h: Add _HAVE_CC_INHIBIT_LOOP_TO_LIBCALL.
 2068 	* newlib.hin: Ditto.
 2069 	* configure: Regenerate.
 2070 	* configure.in: Add setting of _HAVE_CC_INHIBIT_LOOP_TO_LIBCALL.
 2071 	* libc/string/local.h: Add check for _HAVE_CC_INHIBIT_LOOP_TO_LIBCALL
 2072 	and set __inhibit_loop_to_libcall macro appropriately.
 2073 	* libc/string/memmove.c: Use __inhibit_loop_to_libcall macro in
 2074 	function declaration.
 2075 	* libc/string/memset.c: Ditto.
 2076 
 2077 2013-12-10  Chirayu Desai  <chirayudesai1@gmail.com>
 2078 
 2079 	* libc/sys/rtems/include/limits.h: Update page size to match
 2080 	libc/sys/rtems/machine/param.h.
 2081 
 2082 2013-12-03  Sebastian Huber  <sebastian.huber@embedded-brains.de>
 2083 
 2084 	* libc/sys/rtems/sys/cpuset.h: Use __inline instead of inline.
 2085 
 2086 2013-12-03  Sebastian Huber  <sebastian.huber@embedded-brains.de>
 2087 
 2088 	* libc/include/machine/_default_types.h: Move extern "C" after
 2089 	header includes.  Include <sys/features.h> for
 2090 	__GNUC_PREREQ__().
 2091 	(__u?int.*_t): Define via GCC provided __U?INT.*_TYPE__ if
 2092 	available.
 2093 	(__intptr_t): Define.
 2094 	(__uintptr_t): Likewise.
 2095 	* libc/include/stdint.h: Include <machine/_default_types.h>
 2096 	instead of <_ansi.h>.
 2097 	(u?int.*_t): Define via __u?int.*_t provided by
 2098 	<machine/_default_types.h>.
 2099 	(u?int_fast.*_t): Define via GCC provided
 2100 	__U?INT_FAST.*_TYPE__ if available.
 2101 	(U?INT.*(MIN|MAX)): Define via GCC provided __U?INT.*(MIN|MAX)__
 2102 	if available.
 2103 	(U?INT.*_C): Define via GCC provided __U?INT.*_C if available.
 2104 	* libc/include/sys/cdefs.h: Use <machine/_default_types.h>
 2105 	instead of <stdint.h>.
 2106 	* libc/sys/rtems/sys/cpuset.h: Likewise.
 2107 	* libc/sys/rtems/machine/_types.h: Include <stdint.h> for
 2108 	FreeBSD compatibility.
 2109 
 2110 2013-11-29  Sebastian Huber <sebastian.huber@embedded-brains.de>
 2111 
 2112 	* libc/include/pthread.h (pthread_cleanup_push): Delete prototype
 2113 	and add macro of the same name.
 2114 	(pthread_cleanup_pop): Likewise.
 2115 	(_pthread_cleanup_context): Define.
 2116 	(_pthread_cleanup_push): Likewise.
 2117 	(_pthread_cleanup_pop): Likewise.
 2118 	(pthread_cleanup_push_defer_np): Define if _GNU_SOURCE is defined.
 2119 	(pthread_cleanup_pop_restore_np): Likewise.
 2120 	(_pthread_cleanup_push_defer): Likewise.
 2121 	(_pthread_cleanup_pop_restore): Likewise.
 2122 
 2123 2013-11-29  Jennifer Averett <jennifer.averett@oarcorp.com>
 2124 
 2125 	* libc/include/pthread.h (pthread_attr_setaffinity_np):
 2126 	Add pthread SMP affinity attributes to methods to RTEMS for
 2127 	compatibility with GNU/Linux.
 2128 	(pthread_attr_getaffinity_np): Likewise.
 2129 	(pthread_setaffinity_np): Likewise.
 2130 	(pthread_getaffinity_np): Likewise.
 2131 	(pthread_getattr_np): Add for GNU/Linux compatibility.
 2132 	* libc/include/sys/types.h: Add cpuset to pthread_attr_t for RTEMS.
 2133 	* libc/include/sys/cdefs.h (_GNU_SOURCE): Defining _GNU_SOURCE
 2134 	turns on all _XXX_VISBLE feature flags.
 2135 
 2136 2013-11-27  Sebastian Huber  <sebastian.huber@embedded-brains.de>
 2137 
 2138 	* libc/sys/rtems/cpusetalloc.c: New file.
 2139 	* libc/sys/rtems/cpusetfree.c: Likewise.
 2140 	* libc/sys/rtems/Makefile.am (lib_a_SOURCES): Add new files.
 2141 	* libc/sys/rtems/Makefile.in: Regenerate.
 2142 	* libc/sys/rtems/sys/cpuset.h: Delete #if 0 block.  Include
 2143 	<stddef.h> for size_t.
 2144 	(_NCPUBITS): Avoid NBBY and assume 8 bits per char.
 2145 	(__cpuset_mask): Use int instead of size_t parameter for Linux
 2146 	compatibility.
 2147 	(__cpuset_index): Likewise.
 2148 	(__cpuset_alloc): Declare.
 2149 	(__cpuset_free): Likewise.
 2150 	(CPU_ALLOC_SIZE): Likewise.
 2151 	(CPU_ALLOC): Define.
 2152 	(CPU_FREE): Likewise.
 2153 	(CPU_ZERO_S): Likewise.
 2154 	(CPU_FILL_S): Likewise.
 2155 	(CPU_SET_S): Likewise.
 2156 	(CPU_CLR_S): Likewise.
 2157 	(CPU_ISSET_S): Likewise.
 2158 	(CPU_COUNT_S): Likewise.
 2159 	(CPU_AND_S): Likewise.
 2160 	(CPU_OR_S): Likewise.
 2161 	(CPU_XOR_S): Likewise.
 2162 	(CPU_NAND_S): Likewise.
 2163 	(CPU_EQUAL_S): Likewise.
 2164 	(CPU_ZERO): Use CPU_ZERO_S().
 2165 	(CPU_FILL): Use CPU_FILL_S().
 2166 	(CPU_SET): Use CPU_SET_S().
 2167 	(CPU_CLR): Use CPU_CLR_S().
 2168 	(CPU_ISSET): Use CPU_ISSET_S().
 2169 	(CPU_COUNT): Use CPU_COUNT_S().
 2170 	(CPU_AND): Use CPU_AND_S().
 2171 	(CPU_OR): Use CPU_OR_S().
 2172 	(CPU_XOR): Use CPU_XOR_S().
 2173 	(CPU_NAND): Use CPU_NAND_S().
 2174 	(CPU_EQUAL): Use CPU_EQUAL_S().
 2175 	(CPU_CMP): Delete superfluous const qualifier.
 2176 	(CPU_EMPTY): Likewise.
 2177 
 2178 2013-11-27  Matheus Almeida  <Matheus.Almeida@imgtec.com>
 2179 
 2180 	* libc/machine/mips/setjmp.S: Fix definition of macro FPR_LAYOUT
 2181 	for ABI == N32.
 2182 
 2183 2013-11-26  Matheus Almeida  <Matheus.Almeida@imgtec.com>
 2184 
 2185 	* libc/include/machine/setjmp.h: Add support for __mips_fpr being
 2186 	64 and treat it the same as if __mips64 is set.
 2187 	* libc/machine/mips/setjmp.S: Ditto, plus add checks for _MIPS_SIM
 2188 	being _ABIN32 and _ABI64.
 2189 
 2190 2013-11-26  Joel Sherrill <joel.sherrill@oarcorp.com>
 2191 
 2192 	* libc/machine/powerpc/vfscanf.c, libc/stdio/fgetpos.c,
 2193 	libc/stdio/fgets.c, libc/stdio/fputs.c, libc/stdio/fread.c,
 2194 	libc/stdio/freopen.c, libc/stdio/fwrite.c, libc/stdio/sscanf.c,
 2195 	libc/stdlib/mbstowcs.c, libc/stdlib/mbtowc.c,
 2196 	libc/stdlib/strtod.c, libc/stdlib/strtol.c, libc/stdlib/strtoll.c,
 2197 	libc/stdlib/strtoul.c, libc/stdlib/strtoull.c,
 2198 	libc/stdlib/wcstombs.c: Fix documentation prototypes which were
 2199 	over eighty columns.
 2200 
 2201 2013-11-26  Julio Gutierrez <jgutleyva@gmail.com>
 2202 
 2203 	*libc/include/wchar.h: Add restrict keyword.
 2204 	*libc/stdio/fgetws.c (fgetws): ditto.
 2205 	*libc/stdio/fputws.c (fputws): ditto.
 2206 	*libc/stdio/fwprintf.c (fwprintf): ditto.
 2207 	*libc/stdio/fwscanf.c (fwscanf): ditto.
 2208 	*libc/stdio/swprintf.c (swprintf): ditto.
 2209 	*libc/stdio/swscanf.c (swscanf): ditto.
 2210 	*libc/stdio/vfwprintf.c (vfwprintf): ditto.
 2211 	*libc/stdio/vfwscanf.c (vfwscanf): ditto.
 2212 	*libc/stdio/vswprintf.c (vswprintf): ditto.
 2213 	*libc/stdio/vswscanf.c (vswscanf): ditto.
 2214 	*libc/stdio/vwprintf.c (vwprintf): ditto.
 2215 	*libc/stdio/vwscanf.c (vwscanf): ditto.
 2216 	*libc/stdio/wprintf.c (wprintf): ditto.
 2217 	*libc/stdio/wscanf.c (wscanf): ditto.
 2218 	*libc/stdlib/mbrlen.c (mbrlen): ditto.
 2219 	*libc/stdlib/mbrtowc.c (mbrtowc): ditto.
 2220 	*libc/stdlib/mbsnrtowcs.c (mbsnrtowcs): ditto.
 2221 	*libc/stdlib/mbsrtowcs.c (mbsrtowcs): ditto.
 2222 	*libc/stdlib/wcrtomb.c (wcrtomb): ditto.
 2223 	*libc/stdlib/wcsnrtombs.c (wcsnrtombs): ditto.
 2224 	*libc/stdlib/wcsrtombs.c (wcsrtombs): ditto.
 2225 	*libc/stdlib/wcstod.c (wcstod): ditto.
 2226 	*libc/stdlib/wcstol.c (wcstol): ditto.
 2227 	*libc/stdlib/wcstold.c (wcstold): ditto.
 2228 	*libc/stdlib/wcstoll.c (wcstoll): ditto.
 2229 	*libc/stdlib/wcstoul.c (wcstoul): ditto.
 2230 	*libc/stdlib/wcstoull.c (cstoull): ditto.
 2231 	*libc/string/wcpcpy.c (wcpcpy): ditto.
 2232 	*libc/string/wcpncpy.c (wcpncpy): ditto.
 2233 	*libc/string/wcscat.c (wcscat): ditto.
 2234 	*libc/string/wcscpy.c (wcscpy): ditto.
 2235 	*libc/string/wcsncat.c (wcsncat): ditto.
 2236 	*libc/string/wcsncpy.c (wcsncpy): ditto.
 2237 	*libc/string/wcsstr.c (wcsstr): ditto.
 2238 	*libc/string/wcstok.c (wcstok): ditto.
 2239 	*libc/string/wcsxfrm.c (wcsxfrm): ditto.
 2240 	*libc/string/wmemcpy.c (wmemcpy): ditto.
 2241 
 2242 2013-11-26  Corinna Vinschen  <vinschen@redhat.com>
 2243 
 2244 	* libc/posix/posix_spawn.c: Drop using namespace.h.
 2245 
 2246 2013-11-26  Corinna Vinschen  <vinschen@redhat.com>
 2247 
 2248 	* libc/posix/posix_spawn.c: Eliminate OS function calls not present
 2249 	in newlib or Cygwin.
 2250 	(process_spawnattr): Use sigprocmask rather than _sigprocmask.  Use
 2251 	sigaction rather than _sigaction.
 2252 	(process_file_actions_entry): Use dup2 rather than _dup2.
 2253 	(do_posix_spawn): Use execvpe rather than _execvpe.  Use waitpid
 2254 	rather than _waitpid.
 2255 
 2256 2013-11-25  Joel Sherrill <joel.sherrill@oarcorp.com>
 2257 
 2258 	* libc/iconv/lib/iconv.c, libc/time/strftime.c: Change "restrict<" to
 2259 	"restrict <" to fix formatting.
 2260 
 2261 2013-11-25  Corinna Vinschen  <vinschen@redhat.com>
 2262 
 2263 	* libc/include/spawn.h (posix_spawn_file_actions_destroy): Fix typo
 2264 	in function name.
 2265 	* libc/posix/posix_spawn.c (posix_spawn_file_actions_destroy): Ditto.
 2266 
 2267 2013-11-25  Sahil Patnayakuni <sahil.patnayakuni@gmail.com>
 2268 
 2269 	* libc/include/time.h (time): Add restrict keyword.
 2270 	* libc/include/wchar.h (wcsftime): Add restrict keyword.
 2271 	* libc/time/asctime_r.c (asctime_r): Same.
 2272 	* libc/time/gmtime_r.c (gmtime_r): Same.  
 2273 	* libc/time/lcltime_r.c (lcltime_r): Same.     
 2274 	* libc/time/strftime.c (strftime): Same.   
 2275 	* libc/time/strptime.c (strptime): Same.  
 2276 	* libc/sys/linux/linuxthreads/timer_create.c (timer_create): Same.   
 2277 	* libc/sys/linux/linuxthreads/timer_settime.c (timer_settime): Same.                            
 2278 2013-11-23 Bryan Dunsmore <dunsmoreb@gmail.com>
 2279 
 2280 	* libc/include/wordexp.h (wordexp): Add restrict keyword.
 2281 	* libc/posix/wordexp.c (wordexp): Ditto.
 2282 
 2283 2013-11-22  Bryan Dunsmore <dunsmoreb@gmail.com>
 2284 
 2285 	* libc/include/sys/time.h (gettimeofday): Add restrict keyword.
 2286 	(setitimer): Likewise.
 2287 	* libc/sys/rdos/gettod.c (gettimeofday): Likewise.
 2288 	* libc/sys/rtems/crt0.c (gettimeofday): Likewise.
 2289 
 2290 2013-11-22  Chirayu Desai  <chirayudesai1@gmail.com>
 2291 
 2292 	* libc/include/sys/unistd.h (readlink): Add restrict keyword.
 2293 	(readlinkat): Ditto.
 2294 	(swab): Ditto.
 2295 	* libc/sys/rdos/readlink.c (readlink): Ditto.
 2296 	* libc/string/swab.c (swab): Ditto.
 2297 
 2298 2013-11-21  Daniel Ramirez <javamonn@gmail.com>
 2299 
 2300 	* libc/sys/linux/statvfs.c (statvfs): Added restrict keyword.
 2301 
 2302 2013-11-21  Joel Sherrill <joel.sherrill@oarcorp.com>
 2303 
 2304 	* libc/sys/rdos/chown.c, libc/sys/rdos/close.c, libc/sys/rdos/execve.c,
 2305 	libc/sys/rdos/fork.c, libc/sys/rdos/fstat.c, libc/sys/rdos/getpid.c,
 2306 	libc/sys/rdos/gettod.c, libc/sys/rdos/isatty.c, libc/sys/rdos/kill.c,
 2307 	libc/sys/rdos/link.c, libc/sys/rdos/lseek.c, libc/sys/rdos/open.c,
 2308 	libc/sys/rdos/rdos.h, libc/sys/rdos/read.c, libc/sys/rdos/readlink.c,
 2309 	libc/sys/rdos/sbrk.c, libc/sys/rdos/stat.c, libc/sys/rdos/symlink.c,
 2310 	libc/sys/rdos/times.c, libc/sys/rdos/unlink.c, libc/sys/rdos/wait.c,
 2311 	libc/sys/rdos/write.c: Convert from DOS to UNIX CRLF.
 2312 
 2313 2013-11-21  Julio Gutierrez <jgutleyva@gmail.com>
 2314 
 2315 	* libc/include/glob.h (glob): Add restrict keyword.
 2316 	* libc/posix/glob.c (glob): Ditto.
 2317 
 2318 2013-11-21  Joel Sherrill <joel.sherrill@oarcorp.com>
 2319 
 2320 	* libc/posix/readdir_r.c: Add restrict keyword.
 2321 	* libc/machine/spu/sys/dirent.h, libc/sys/decstation/sys/dirent.h,
 2322 	libc/sys/linux/sys/dirent.h, libc/sys/rtems/sys/dirent.h,
 2323 	libc/sys/sparc64/sys/dirent.h, libc/sys/sun4/sys/dirent.h,
 2324 	libc/sys/sysvi386/sys/dirent.h: Add readdir_r() prototype.
 2325 
 2326 2013-11-21  Joel Sherrill <joel.sherrill@oarcorp.com>
 2327 
 2328 	* libc/sys/rdos/stat.c: Remove stray +.
 2329 
 2330 2013-11-21  Daniel Ramirez <javamonn@gmail.com>
 2331 
 2332 	* libc/include/sys/stat.h, libc/sys/linux/sys/stat.h, 
 2333 	libc/sys/m88kbug/syscalls.c, libc/sys/rdos/stat.c, 
 2334 	libc/sys/sparc64/sys/stat.h: Add restrict keyword.
 2335 
 2336 2013-11-20  Daniel Ramirez <javamonn@gmail.com>
 2337 
 2338 	* libc/include/search.h, libc/search/tdelete.c: Add restrict keyword.
 2339 
 2340 2013-11-20  Chirayu Desai  <chirayudesai1@gmail.com>
 2341 
 2342 	* libc/include/regex.h, libc/posix/regcomp.c,
 2343 	libc/posix/regerror.c, libc/posix/regex.3
 2344 	libc/posix/regexec.c: Add restrict keyword.
 2345 
 2346 2013-11-20  Daniel Ramirez <javamonn@gmail.com>
 2347 
 2348 	* libc/iconv/lib/iconv.c, libc/include/iconv.h, 
 2349 	libc/sys/linux/iconv/iconv.c: Add restrict keyword.
 2350 
 2351 2013-11-20  Corinna Vinschen  <vinschen@redhat.com>
 2352 
 2353 	* libc/include/stdlib.h: Declare realpath only if !__STRICT_ANSI__.
 2354 
 2355 2013-11-19  Jennifer Averett <jennifer.averett@oarcorp.com>
 2356 
 2357 	* libc/sys/rtems/sys/cpuset.h: New file.
 2358 
 2359 2013-11-19  Joel Sherrill <joel.sherrill@oarcorp.com>
 2360 
 2361 	* libc/include/stdlib.h: Add prototype of realpath().
 2362 	* libc/sys/linux/realpath.c: Add restrict keyword.
 2363 
 2364 2013-11-19  Joel Sherrill <joel.sherrill@oarcorp.com>
 2365 
 2366 	* libm/common/modfl.c: Add cast to remove compiler warning.
 2367 
 2368 2013-11-19  Terraneo Federico  <fede.tft@hotmail.it>
 2369 
 2370 	* libc/posix/closedir.c: Fix use after free.
 2371 	Remove useless test dd_fd != -1
 2372 	* libc/posix/readdir.c: Remove useless test dd_fd == -1
 2373 	* libc/posix/readdir_r.c: Ditto.
 2374 
 2375 2013-11-18  Sahil Patnayakuni  <sahilp@oarcorp.com>
 2376 
 2377 	* libc/include/stdio.h, libc/machine/powerpc/vfscanf.c,
 2378 	libc/machine/spu/fgetpos.c, libc/machine/spu/fgets.c,
 2379 	libc/machine/spu/fopen.c, libc/machine/spu/fputs.c,
 2380 	libc/machine/spu/fread.c, libc/machine/spu/freopen.c,
 2381 	libc/machine/spu/fwrite.c, libc/machine/spu/setbuf.c,
 2382 	libc/machine/spu/vfprintf.c, libc/machine/spu/vfscanf.c,
 2383 	libc/machine/spu/vsnprintf.c, libc/machine/spu/vsprintf.c,
 2384 	libc/machine/spu/vsscanf.c, libc/stdio/asnprintf.c,
 2385 	libc/stdio/asprintf.c, libc/stdio/dprintf.c,
 2386 	libc/stdio/fgetpos.c, libc/stdio/fgets.c,
 2387 	libc/stdio/fmemopen.c, libc/stdio/fopen.c,
 2388 	libc/stdio/fprintf.c, libc/stdio/fputs.c,
 2389 	libc/stdio/fread.c, libc/stdio/freopen.c,
 2390 	libc/stdio/fscanf.c, libc/stdio/fwrite.c,
 2391 	libc/stdio/printf.c, libc/stdio/scanf.c,
 2392 	libc/stdio/setbuf.c, libc/stdio/snprintf.c,
 2393 	libc/stdio/sprintf.c, libc/stdio/sscanf.c,
 2394 	libc/stdio/vdprintf.c, libc/stdio/vprintf.c,
 2395 	libc/stdio/vscanf.c, libc/stdio/vsnprintf.c,
 2396 	libc/stdio/vsprintf.c, libc/stdio/vsscanf.c: Add restrict keyword.
 2397 
 2398 2013-11-18  Sahil Patnayakuni  <sahilp@oarcorp.com>
 2399 
 2400 	* libc/include/stdlib.h, libc/stdlib/mbstowcs.c,
 2401 	libc/stdlib/mbstowcs_r.c, libc/stdlib/mbtowc.c,
 2402 	libc/stdlib/mbtowc_r.c, libc/stdlib/strtod.c,
 2403 	libc/stdlib/strtol.c, libc/stdlib/strtold.c,
 2404 	libc/stdlib/strtoll.c, libc/stdlib/strtoll_r.c,
 2405 	libc/stdlib/strtoul.c, libc/stdlib/strtoull.c,
 2406 	libc/stdlib/strtoull_r.c, libc/stdlib/wcstombs.c,
 2407 	libc/stdlib/wcstombs_r.c: Add restrict keyword.
 2408 
 2409 2013-11-18  Marcus Shawcroft  <marcus.shawcroft@arm.com>
 2410 
 2411 	* libc/include/sys/unistd.h (ftruncate, truncate): Define
 2412 	for __arm__.
 2413 
 2414 2013-11-13  Gregory Pietsch <gpietsch@comcast.net>
 2415 
 2416 	* newlib/libc/stdlib/getopt.c (getopt_internal): Add missing braces.
 2417 
 2418 2013-11-13  Freddie Chopin  <freddie_chopin@op.pl>
 2419 
 2420 	* newlib/libc/include/getopt.h (struct option): name field should be
 2421 	"const char *".
 2422 	* newlib/libc/stdlib/getopt.c (getopt_internal): Use fputs()/fputc()
 2423 	instead of fprintf() to save code space.  Fix signed/unsigned
 2424 	comparison.
 2425 
 2426 2013-11-12  Sebastian Huber  <sebastian.huber@embedded-brains.de>
 2427 
 2428 	* libc/libc/stdlib/getopt.c (getopt_internal): Fix NULL pointer access.
 2429 
 2430 2013-11-08  Terry Guo  <terry.guo@arm.com>
 2431 
 2432 	* libm/libm.texinfo: Rename node Index to Document Index.
 2433 
 2434 2013-11-08  Corinna Vinschen  <vinschen@redhat.com>
 2435 
 2436 	* libc/libc.texinfo: Rename node Library Index to Document Index.
 2437 
 2438 2013-11-04  Terraneo Federico  <fede.tft@hotmail.it>
 2439 
 2440 	* libc/stdio/fvwrite.c: Allow writing in larger chunks for fully
 2441 	buffered and unbuffered files, to improve write performance.
 2442 
 2443 2013-10-31  Terraneo Federico  <fede.tft@hotmail.it>
 2444 
 2445 	* libc/stdio/fvwrite.h: change type of uio_resid from int to size_t to
 2446 	fix fwrite() of > 2GByte buffers.
 2447 
 2448 2013-10-30  Joey Ye  <joey.ye@arm.com>
 2449 
 2450 	Implement malloc_stats for nano.
 2451 	* libc/stdlib/nano-mallocr.c (RONECALL): New parameter macro.
 2452 	(sbrk_start): New variable.
 2453 	(current_mallinfo, free_list): Forward declaration of data.
 2454 	(chunk): Define size as long type.
 2455 	(mallinfo): Synchronize with latest malloc.h.
 2456 	(nano_*): Forward declaration of functions.
 2457 	(get_chunk_from_ptr): Defined to static inline.
 2458 	(nano_mallinfo): Implement this function.
 2459 	(nano_malloc_stats): Implement this function.
 2460 
 2461 2013-10-30  Sebastian Huber  <sebastian.huber@embedded-brains.de>
 2462 
 2463 	* libc/include/machine/_default_types.h: Revert change from 2013-10-10.
 2464 
 2465 2013-10-24  Hans-Peter Nilsson  <hp@axis.com>
 2466 
 2467 	* libc/include/stdio.h [!__LARGE64_FILES] (funopen): Fix typo
 2468 	in last change.
 2469 
 2470 2013-10-23  Corinna Vinschen  <vinschen@redhat.com>
 2471 
 2472 	* libc/include/stdio.h (funopen): Change prototype of
 2473 	__readfn and __writefn parameter to match new definition of
 2474 	FILE's _read and _write methods.
 2475 	(_funopen_r): Ditto.
 2476 	(funopen): Ditto.
 2477 	(_funopen_r): Ditto.
 2478 	* libc/include/sys/config.h (_READ_WRITE_BUFSIZE_TYPE) Define
 2479 	as type int if not already defined.  Add comment to explain.
 2480 	* libc/include/sys/reent.h: Include stddef.h.
 2481 	(struct __sFILE): Change type of last parameter in declaration
 2482 	of _read and _write methods to _READ_WRITE_BUFSIZE_TYPE.
 2483 	(struct __sFILE64): Ditto.
 2484 	* libc/stdio/local.h (__sread): Declare with last parameter set
 2485 	to _READ_WRITE_BUFSIZE_TYPE.
 2486 	(__seofread): Ditto.
 2487 	(__swrite): Ditto.
 2488 	(__swrite64): Ditto.
 2489 	* libc/stdio/fvwrite.c (__sfvwrite_r): Change type of local
 2490 	variables w and s to _READ_WRITE_RETURN_TYPE.
 2491 	* libc/stdio/fflush.c (__sflush_r): Change type of local variables
 2492 	n and t to _READ_WRITE_BUFSIZE_TYPE and _READ_WRITE_RETURN_TYPE.
 2493 	Add local variables flags to keep _flags value.
 2494 	* libc/stdio/fmemopen.c (fmemreader): Align to above change.
 2495 	(fmemwriter): Ditto.
 2496 	* libc/stdio/fopencookie.c (fcreader): Ditto.
 2497 	(fcwriter): Ditto.
 2498 	* libc/stdio/funopen.c (funread): Ditto.
 2499 	(funwrite): Ditto.
 2500 	(funreader): Ditto.
 2501 	(funwriter): Ditto.
 2502 	* libc/stdio/open_memstream.c (memwriter): Ditto.
 2503 	* libc/stdio/stdio.c (__sread): Ditto.
 2504 	(__seofread): Ditto.
 2505 	(__swrite): Ditto.
 2506 	* libc/stdio64/stdio64.c (__swrite64): Ditto.
 2507 
 2508 2013-10-18  Joey Ye  <joey.ye@arm.com>
 2509 
 2510 	* configure.in (enable-newlib-global-atexit): New option.
 2511 	* configure: Regenerated.
 2512 	* newlib.hin (_REENT_GLOBAL_ATEXIT): Place-holder.
 2513 	* README (enable-newlib-global-atexit): Description for
 2514 	new option.
 2515 
 2516 2013-10-18  Sebastian Huber  <sebastian.huber@embedded-brains.de>
 2517 
 2518 	* libc/include/sys/unistd.h (MAXPATHLEN): Delete.
 2519 	* libc/include/sys/param.h (MAXPATHLEN): Define.
 2520 	* libc/sys/rtems/sys/param.h (MAXPATHLEN): Likewise.
 2521 	* libc/unix/getcwd.c: Include <sys/param.h> for MAXPATHLEN.
 2522 
 2523 2013-10-10  Sebastian Huber  <sebastian.huber@embedded-brains.de>
 2524 
 2525 	* libc/libc/sys/rtems/sys/param.h: Update some parameters to
 2526 	the latest FreeBSD values.
 2527 
 2528 2013-10-10  Sebastian Huber  <sebastian.huber@embedded-brains.de>
 2529 
 2530 	* libc/sys/rtems/machine/_types.h (_HAVE_SYSTYPES): Define.
 2531 
 2532 2013-10-10  Sebastian Huber  <sebastian.huber@embedded-brains.de>
 2533 
 2534 	* libc/sys/rtems/include/limits.h (_POSIX_HOST_NAME_MAX):
 2535 	Define.
 2536 
 2537 2013-10-10  Sebastian Huber  <sebastian.huber@embedded-brains.de>
 2538 
 2539 	* libc/sys/rtems/machine/_types.h (__dev_t): Define.
 2540 	(__dev_t_defined) Likewise.
 2541 	* libc/include/sys/_types.h (__dev_t): Delete RTEMS specific
 2542 	definition.
 2543 
 2544 2013-10-10  Sebastian Huber  <sebastian.huber@embedded-brains.de>
 2545 
 2546 	* libc/sys/rtems/machine/_types.h (_ssize_t): Delete.
 2547 	(__ssize_t_defined) Likewise.
 2548 
 2549 2013-10-30  Sebastian Huber <sebastian.huber@embedded-brains.de>
 2550 
 2551 	* libc/include/machine/_default_types.h: Revert change from 2013-10-10.
 2552 
 2553 2013-10-10  Sebastian Huber  <sebastian.huber@embedded-brains.de>
 2554 
 2555 	* libc/include/machine/_default_types.h (__int8_t): Define via
 2556 	<stdint.h> provided type.
 2557 	(__uint8_t): Likewise.
 2558 	(__int8_least_t): Likewise.
 2559 	(__uint8_least_t): Likewise.
 2560 	(__int16_t): Likewise.
 2561 	(__uint16_t): Likewise.
 2562 	(__int16_least_t): Likewise.
 2563 	(__uint16_least_t): Likewise.
 2564 	(__int32_t): Likewise.
 2565 	(__uint32_t): Likewise.
 2566 	(__int32_least_t): Likewise.
 2567 	(__uint32_least_t): Likewise.
 2568 	(__int64_t): Likewise.
 2569 	(__uint64_t): Likewise.
 2570 
 2571 2013-10-10  Sebastian Huber  <sebastian.huber@embedded-brains.de>
 2572 
 2573 	* libc/include/paths.h (_PATH_DEVNULL): Define.
 2574 	(_PATH_DEVZERO): Likewise.
 2575 
 2576 2013-10-09  Marcus Shawcroft  <marcus.shawcroft@arm.com>
 2577 
 2578 	* testsuite/newlib.wctype/twctype.c (main): Update
 2579 	iswprint(0xce2) test case.
 2580 
 2581 2013-10-03  Steve Ellcey  <sellcey@mips.com>
 2582 
 2583 	* libc/machine/mips/memset.c: Remove.
 2584 	* libc/machine/mips/memset.S: New.
 2585 	* libc/machine/mips/Makefile.am: Change memset.c to memset.S
 2586 	* libc/machine/mips/Makefile.in: Regenerate.
 2587 
 2588 2013-10-01  Petr Hosek  <phosek@chromium.org>
 2589 
 2590 	* configure.host: Disable new posix_spawn function for all
 2591 	users of posix dir except Cygwin.
 2592 	* libc/posix/Makefile.am: Add support for new posix_spawn function.
 2593 	* libc/posix/Makefile.in: Regenerate.
 2594 	* libc/posix/posix_spawn.c: New file.
 2595 	* libc/include/spawn.h: Ditto.
 2596 
 2597 2013-09-13  Joey Ye  <joey.ye@arm.com>
 2598 
 2599 	* libc/stdlib/nano-mallocr.c (nano_allopt): Typo fixed to ...
 2600 	(nano_mallopt): ... this.
 2601 
 2602 2013-09-12  Sebastian Huber  <sebastian.huber@embedded-brains.de>
 2603 
 2604 	* libc/include/sys/cdefs.h: Synchronize with latest FreeBSD
 2605 	version.
 2606 	* libc/include/stdatomic.h: Likewise.
 2607 
 2608 2013-09-08  Yaakov Selkowitz  <yselkowitz@users.sourceforge.net>
 2609 
 2610 	* libc/include/search.h (__compar_fn_t): Add typedef.
 2611 	(tdelete, tfind, tsearch): Use it.
 2612 	* libc/include/stdlib.h (__compar_fn_t): Add typedef.
 2613 	(bsearch, qsort): Use it.
 2614 
 2615 2013-08-19  Meador Inge  <meadori@codesourcery.com>
 2616 
 2617 	* libc/stdlib/__atexit.c (__register_exitproc): NULL-ify
 2618 	_on_exit_args_ptr when creating a new _atexit structure while
 2619 	_REENT_SMALL is defined.
 2620 
 2621 2013-08-12  Bin Cheng  <bin.cheng@arm.com>
 2622 
 2623 	* libc/configure.in (--enable-newlib-wchar-orient): Remove.
 2624 	* libc/configure: Regenerated.
 2625 	* libc/stdio/Makefile.am (NEWLIB_WIDE_ORIENT): Remove.
 2626 	* libc/stdio/Makefile.in: Regenerated.
 2627 
 2628 2013-08-12  Yufeng Zhang  <Yufeng.Zhang@arm.com>
 2629 
 2630 	* libc/sys/arm/crt0.S: Remove 'start'.
 2631 
 2632 2013-08-08  Freddie Chopin  <freddie_chopin@op.pl>
 2633 
 2634 	* libc/string/strncat.c: Fix typo in documentation.
 2635 
 2636 2013-08-01  Corinna Vinschen  <vinschen@redhat.com>
 2637 
 2638 	* libc/include/stdio_ext.h (__fbufsize): Define as inline function for
 2639 	gcc, as macro otherwise.
 2640 	(__freading): Ditto.
 2641 	(__fwriting): Ditto.
 2642 	(__freadable): Ditto.
 2643 	(__fwriteable): Ditto.
 2644 	(__flbf): Ditto.
 2645 	(__fpending): Ditto.
 2646 
 2647 2013-07-23  Sahil Patnayakuni  <sahilp@rtems.org>
 2648 
 2649 	* libc/sys/linux/include/netdb.h, libc/sys/linux/net/getaddrinfo.c,
 2650 	libc/sys/linux/net/getnameinfo.c: Add restrict keyword to getnameinfo()
 2651 	and getaddrinfo() to increase standards compliance and match glibc.
 2652 
 2653 2013-07-23  Sahil Patnayakuni  <sahilp@rtems.org>
 2654 
 2655 	* libc/include/string.h, libc/string/memccpy.c, libc/string/memcpy.c,
 2656 	libc/string/stpcpy.c, libc/string/stpncpy.c, libc/string/strcat.c,
 2657 	libc/string/strncat.c, libc/string/strncpy.c, libc/string/strtok.c,
 2658 	libc/string/strtok_r.c, libc/string/strxfrm.c
 2659 	libc/machine/microblaze/strcpy.c, libc/machine/xscale/memcpy.c,
 2660 	libc/machine/cris/memcpy.c: Add __restrict to prototype to
 2661 	increase standards compliance.
 2662 
 2663 2013-07-18  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
 2664 
 2665 	* libc/sys/arm/syscalls.c (do_AngelSWI): Delete.
 2666 	* libc/sys/arm/libcfuncs.c (do_AngelSWI): Delete.
 2667 	* libc/sys/arm/swi.h: Copy over from libgloss.
 2668 
 2669 2013-07-17  Janis Johnson  <janisjo@codesourcery.com>
 2670 
 2671 	* libc/machine/powerpc/configure.in: Remove extra_sources; fix
 2672 	extra_objs for powerpc*-*altivec.
 2673 	* libc/machine/powerpc/Makefile.am: Define EXTRA_lib_a_SOURCES.
 2674 	* libc/machine/powerpc/configure: Regenerated.
 2675 	* libc/machine/powerpc/Makefile.in: Regenerated.
 2676 
 2677 2013-07-16  David Holsgrove <david.holsgrove@xilinx.com>
 2678 
 2679 	* configure.host: Change to microblaze*.
 2680 	* libc/include/machine/ieeefp.h: Add __MICROBLAZEEL__.
 2681 	* libc/machine/microblaze/mb_endian.h: New file.
 2682 	* newlib/libc/machine/microblaze/strcmp.c: Add little endian support.
 2683 	* newlib/libc/machine/microblaze/strcpy.c: Likewise.
 2684 	* newlib/libc/machine/microblaze/strlen.c: Likewise.
 2685 
 2686 2013-07-09  Sabrina Ni  <sabrina@andestech.com>
 2687 
 2688 	* libc/machine/nds32/Makefile.am (lib_a_SOURCES): Add abort.c, memcpy.S,
 2689 	memset.S, strcmp.S, and strcpy.S.
 2690 	* libc/machine/nds32/Makefile.in: Regenerated.
 2691 	* libc/machine/nds32/{abort.c, memcpy.S, memset.S, strcmp.S, strcpy.S}:
 2692 	New.
 2693 
 2694 2013-07-09  Sabrina Ni  <sabrina@andestech.com>
 2695 
 2696 	* configure.host (machine_dir, syscall_dir, newlib_cflags):
 2697 	Add settings for nds32*.
 2698 	* libc/include/machine/ieeefp.h (IEEE_BIG_ENDIAN, IEEE_LITTLE_ENDIAN):
 2699 	Ditto.
 2700 	* libc/include/machine/setjmp.h (JBLEN): Ditto.
 2701 	* libc/machine/configure.in: Add nds32 subdir.
 2702 	* libc/machine/configure: Regenerated.
 2703 	* libc/machine/nds32/Makefile.am: New.
 2704 	* libc/machine/nds32/Makefile.in: New (autogenerated).
 2705 	* libc/machine/nds32/aclocal.m4: New (autogenerated).
 2706 	* libc/machine/nds32/configure.in: New.
 2707 	* libc/machine/nds32/configure: New (autogenerated).
 2708 	* libc/machine/nds32/setjmp.S: New.
 2709 
 2710 2013-07-09  Sebastian Huber  <sebastian.huber@embedded-brains.de>
 2711 
 2712 	* libc/include/sys/config.h (__DYNAMIC_REENT__): Define for RTEMS.
 2713 
 2714 2013-07-09  Bin Cheng  <bin.cheng@arm.com>
 2715 
 2716 	* libc/stdio/fwalk.c (_fwalk): Remove redundant test.
 2717 
 2718 2013-07-05  Yaakov Selkowitz  <yselkowitz@users.sourceforge.net>
 2719 
 2720 	* libc/include/sys/types.h (u_char): Add redefinition guard.
 2721 	(u_short, u_int, u_long, caddr_t, daddr_t): Ditto.
 2722 
 2723 2013-07-02  Joey Ye  <joey.ye@arm.com>
 2724 
 2725 	Lite exit support.
 2726 	* README: Add information about lite-exit.
 2727 	* acconfig.h (_LITE_EXIT): New macro.
 2728 	* configure.in (enable-lite-exit): New option.
 2729 	(_LITE_EXIT): Define new macro.
 2730 	* configure: Regenerated.
 2731 	* newlib.hin (_LITE_EXIT): New macro.
 2732 	* libc/stdlib/__atexit.c [_LITE_EXIT]: Add dummy explicit 
 2733 	reference to __call_exitprocs.
 2734 	* libc/stdlib/cxa_atexit.c [_LITE_EXIT]: Make __register_exitproc a
 2735 	weak reference.
 2736 	* libc/stdlib/exit.c (exit)[_LITE_EXIT]: Remove TWS and weakly reference
 2737 	__call_exitprocs.
 2738 
 2739 2013-07-02  Jeff Johnston  <jjohnstn@redhat.com>
 2740 
 2741 	* libc/include/sys/reent.h: Fix typo in comment.
 2742 
 2743 2013-07-01  Will Newton  <will.newton@linaro.org>
 2744 
 2745 	* libc/machine/arm/memcpy-armv7a.S: Adjust entry to
 2746 	 aligned loop to improve misaligned copy performance.
 2747 
 2748 2013-06-26  Jeff Johnston  <jjohnstn@redhat.com>
 2749 
 2750 	* libc/include/stdio.h: Specify std streams always in terms
 2751 	of _REENT.
 2752 	* libc/include/wchar.h: Ditto.
 2753 	* libc/include/sys/reent.h: Remove _RENT_ONLY check around
 2754 	setting of _REENT macro.
 2755 
 2756 2013-06-24  Yaakov Selkowitz  <yselkowitz@users.sourceforge.net>
 2757 
 2758 	* libc/include/string.h (rawmemchr): Declare.
 2759 	* libc/string/Makefile.am (ELIX_4_SOURCES): Add rawmemchr.c.
 2760 	(CHEWOUT_FILES): Add rawmemchr.def.
 2761 	* libc/string/Makefile.in: Regenerate.
 2762 	* libc/string/rawmemchr.c: New file.
 2763 
 2764 2013-06-24  Terraneo Federico  <fede.tft@hotmail.it>
 2765 
 2766 	* libc/reent/reent.c (_reclaim_reent): Free also _misc and
 2767 	_signal_buf.
 2768 
 2769 2013-06-24  Terraneo Federico  <fede.tft@hotmail.it>
 2770 
 2771 	* libc/include/sys/reent.h (_ATEXIT_INIT_PTR): Remove.
 2772 	(_REENT_INIT_ATEXIT_PTR): Remove.
 2773 	(_REENT_INIT_PTR): Reduce code size if _REENT_SMALL.
 2774 
 2775 2013-06-21  Will Newton  <will.newton@linaro.org>
 2776 
 2777 	* libc/machine/arm/strlen-armv7.S: Import latest strlen
 2778 	code from Linaro cortex-strings.
 2779 
 2780 2013-06-21  Will Newton  <will.newton@linaro.org>
 2781 
 2782 	* MAINTAINERS: Add Will Newton to Write After Approval.
 2783 
 2784 2013-06-19  Bin Cheng  <bin.cheng@arm.com>
 2785 
 2786 	* acconfig.h (_UNBUF_STREAM_OPT): Undefine.
 2787 	* newlib.hin (_UNBUF_STREAM_OPT): Undefine.
 2788 	* configure.in (--enable-newlib-unbuf-stream-opt): New option.
 2789 	* configure: Regenerate.
 2790 	* libc/stdio/vfprintf.c (_VFPRINTF_R): Don't do optimization on
 2791 	unbuffered stream files.
 2792 	* libc/stdio/vfwprintf.c (_VFWPRINTF_R): Likewise.
 2793 	* README: Add description about the option.
 2794 
 2795 2013-06-19  Terraneo Federico  <fede.tft@hotmail.it>
 2796 
 2797 	* libc/posix/readdir_r.c: Fix potential read past dirp->dd_buf.
 2798 
 2799 2013-06-13  Bir Cheng  <bin.cheng@arm.com>
 2800 
 2801 	* README: Add description for NEWLIB's feature customizing
 2802 	configuration options.
 2803 
 2804 2013-06-10  Terraneo Federico  <fede.tft@hotmail.it>
 2805 
 2806 	* libc/stdlib/gdtoa-gethex.c (__hexdig): Constify.
 2807 	(hexdig_init): Remove.
 2808 	(__hexdig_fun): New function.
 2809 	hexdig_init, added __hexdig_fun
 2810 	(gethex): Call __get_hexdig macro rather than hexdig.
 2811 	* libc/stdlib/gdtoa-hexnan.c (hexnan): Constify fpi argument.
 2812 	Call __get_hexdig macro rather than hexdig.
 2813 	* libc/stdlib/ldtoa.c: Throughout constify functions arguments where
 2814 	required by constifying the following arrays.
 2815 	(ezero): Constify.
 2816 	(eone): Constify.
 2817 	(ermsg): Constify.
 2818 	(etens): Constify.
 2819 	(emtens): Constify.
 2820 	(nan113): Constify.
 2821 	(nan64): Constify.
 2822 	(nan53): Constify.
 2823 	(nan24): Constify.
 2824 	* libc/stdlib/mprec.h (__get_hexdig): Define.
 2825 	(gethex): Constify args in declaration where appropriate.
 2826 	(hexnan): Ditto.
 2827 	(hexdig_init): Remove declaration.
 2828 	(__hexdig_fun): Declare.
 2829 	* libc/stdlib/strtod.c (fpi): Constify.
 2830 	(fpinan): Constify.
 2831 
 2832 2013-06-07  Sebastian Huber  <sebastian.huber@embedded-brains.de>
 2833 
 2834 	* libc/include/sys/cdefs.h (__has_extension): New define.
 2835 	(__has_feature): Likewise.
 2836 	(__has_include): Likewise.
 2837 	(__has_builtin): Likewise.
 2838 	* libc/include/stdatomic.h: New.
 2839 
 2840 2013-06-05  Joey Ye  <joey.ye@arm.com>
 2841 
 2842 	* libc/machine/arm/strcmp.S: Use local labels.
 2843 
 2844 2013-06-03  Joey Ye  <joey.ye@arm.com>
 2845 
 2846 	* libc/machine/arm/Makefile.am (MEMCPY_DEP): New define.
 2847 	($(lpfx)memcpy.o, $(lpfx)memcpy.obj): Depend on MEMCPY_DEP.
 2848 	* libc/machine/arm/Makefile.in: Regenerated.
 2849 	* newlib/libc/machine/arm/memcpy-stub.c: Exclude armv7-m/armv7e-m.
 2850 	* newlib/libc/machine/arm/memcpy-armv7m.S: New.
 2851 	* newlib/libc/machine/arm/memcpy.S: Replace with wrapper code.  Old
 2852 	code moved to ...
 2853 	* newlib/libc/machine/arm/memcpy-armv7a.S: ... here.  Remove 
 2854 	redundant architecture check.
 2855 
 2856 2013-05-30  Jeff Johnston  <jjohnstn@redhat.com>
 2857 
 2858 	* libc/machine/powerpc/times.c: Moved to libgloss/rs6000.
 2859 	* libc/machine/powerpc/Makefile.am: Remove times.c.
 2860 	* libc/machine/powerpc/Makefile.in: Regenerated.
 2861 
 2862 2013-05-29  Joey Ye  <joey.ye@arm.com>
 2863             Bin Cheng  <bin.cheng@arm.com>
 2864 
 2865 	* configure.in (--enable-newlib-nano-malloc): New option.
 2866 	* configure: Regenerated.
 2867 	* libc/configure.in (--enable-newlib-nano-malloc): New option.
 2868 	* libc/configure: Regenerated.
 2869 	* libc/stdlib/Makefile.am (NEWLIB_NANO_MALLOC): Use.
 2870 	* libc/stdlib/Makefile.in: Regenerated.
 2871 	* libc/stdlib/nano-mallocr.c: New file, implementing nano
 2872 	version malloc family functions.
 2873 
 2874 2013-05-28  Richard Earnshaw  <rearnsha@arm.com>
 2875 
 2876 	* libc/machine/arm/strcpy.S: Explicitly set build attributes when
 2877 	building for thumb1 targets.
 2878 
 2879 2013-05-22  Corinna Vinschen  <vinschen@redhat.com>
 2880 
 2881 	* libc/ctype/isalnum.c: Correct domain of definition to SUSv4 wording.
 2882 	* libc/ctype/isalpha.c: Ditto.
 2883 	* libc/ctype/isblank.c: Ditto.
 2884 	* libc/ctype/iscntrl.c: Ditto.
 2885 	* libc/ctype/isdigit.c: Ditto.
 2886 	* libc/ctype/islower.c: Ditto.
 2887 	* libc/ctype/isprint.c: Ditto.
 2888 	* libc/ctype/ispunct.c: Ditto.
 2889 	* libc/ctype/isxdigit.c: Ditto.
 2890 
 2891 2013-05-22  Corinna Vinschen  <vinschen@redhat.com>
 2892 
 2893 	* libc/include/sys/cdefs.h (_Static_assert): Accommodate gcc >= 4.6.
 2894 
 2895 2013-05-16  Sebastian Huber  <sebastian.huber@embedded-brains.de>
 2896 
 2897 	* libc/reent/reent.c (_wrapup_reent): Remove.
 2898 
 2899 2013-05-13  DJ Delorie  <dj@delorie.com>
 2900 	    Nick Clifton  <nickc@redhat.com>
 2901 
 2902 	* MAINTAINERS (msp430): Add.
 2903 	* configure.host (msp430): Add.
 2904 	* libc/include/machine/ieeefp.h: Add MSP430 support.
 2905 	* libc/include/machine/setjmp.h: Likewise.
 2906 	* libc/include/sys/config.h: Likewise.
 2907 	* libc/machine/configure.in (msp430): Add.
 2908 	* libc/machine/configure: Regenerate.
 2909 	* libc/machine/msp430: New directory.
 2910 
 2911 2013-05-10  Freddie Chopin  <freddie_chopin@op.pl>
 2912 
 2913 	* configure.in: Fix help text for disable-newlib-atexit-dynamic-alloc option.
 2914 	* configure: Regenerated.
 2915 
 2916 2013-05-07  Sebastian Huber  <sebastian.huber@embedded-brains.de>
 2917 
 2918 	* libc/include/sys/config.h (_REENT_GLOBAL_ATEXIT): Define for
 2919 	RTEMS.
 2920 	* libc/include/sys/reent.h (_reent): Use _REENT_GLOBAL_ATEXIT.
 2921 	(_global_atexit): Declare if _REENT_GLOBAL_ATEXIT is defined.
 2922 	* libc/reent/reent.c (_reclaim_reent): Remove atexit cleanup if
 2923 	_REENT_GLOBAL_ATEXIT is defined.
 2924 	(_wrapup_reent): Remove atexit handling if _REENT_GLOBAL_ATEXIT
 2925 	is defined.
 2926 	* libc/stdlib/__atexit.c (_global_atexit0): Define if
 2927 	_REENT_GLOBAL_ATEXIT is defined.
 2928 	* libc/stdlib/__call_atexit.c (_global_atexit): Define if
 2929 	_REENT_GLOBAL_ATEXIT is defined.
 2930 
 2931 2013-05-07  Sebastian Huber  <sebastian.huber@embedded-brains.de>
 2932 
 2933 	* libc/include/sys/reent.h (_ATEXIT_INIT): Define.
 2934 	(_ATEXIT_INIT_PTR): Likewise.
 2935 	(_REENT_INIT_ATEXIT): Likewise.
 2936 	(_REENT_INIT_ATEXIT_PTR): Likewise.
 2937 	(_GLOBAL_ATEXIT): Likewise.
 2938 	* libc/stdlib/__atexit.c (_GLOBAL_ATEXIT0): Define.
 2939 	(__register_exitproc): Use _GLOBAL_ATEXIT and _GLOBAL_ATEXIT0.
 2940 	* libc/stdlib/__call_atexit.c (__call_exitprocs): Likewise.
 2941 
 2942 2013-05-07  Sebastian Huber  <sebastian.huber@embedded-brains.de>
 2943 
 2944 	* libc/stdlib/__atexit.c (__atexit_lock): Declare.
 2945 	* libc/stdlib/__call_atexit.c (__atexit_lock): Define.
 2946 
 2947 2013-05-06  Sandra Loosemore  <sandra@codesourcery.com>
 2948 
 2949 	* configure.host (machine_dir, sys_dir, syscall_dir, newlib_cflags):
 2950 	Add settings for nios2*.
 2951 	* libc/include/machine/ieeefp.h (IEEE_BIG_ENDIAN, IEEE_LITTLE_ENDIAN):
 2952 	Likewise.
 2953 	* libc/include/machine/setjmp.h (JBLEN, JBTYPE): Likewise.
 2954 	* libc/machine/configure.in: Add nios2 subdir.
 2955 	* libc/machine/configure: Regenerated.
 2956 	* libc/machine/nios2/Makefile.am: New.
 2957 	* libc/machine/nios2/Makefile.in: New (autogenerated).
 2958 	* libc/machine/nios2/aclocal.m4: New (copied from mips version).
 2959 	* libc/machine/nios2/configure.in: New.
 2960 	* libc/machine/nios2/configure: New (autogenerated).
 2961 	* libc/machine/nios2/setjmp.s: New.
 2962 
 2963 2013-04-29  Sebastian Huber  <sebastian.huber@embedded-brains.de>
 2964 
 2965 	* libc/stdio/local.h (CHECK_INIT): Evaluate argument only once.
 2966 	(CHECK_STD_INIT): Likewise.
 2967 	* libc/stdio/fgetc.c (fgetc): Use local variable for _REENT.
 2968 	* libc/stdio/fgetwc.c (fwgetc): Likewise.
 2969 	* libc/stdio/fgetws.c (fgetws): Likewise.
 2970 	* libc/stdio/fputc.c (fputc): Likewise.
 2971 	* libc/stdio/fputwc.c (fputwc): Likewise.
 2972 	* libc/stdio/fputws.c (fputws): Likewise.
 2973 	* libc/stdio/getc.c (getc): Likewise.
 2974 	* libc/stdio/getchar.c (_getchar_r): Likewise.
 2975 	* libc/stdio/putc.c (putc): Likewise.
 2976 	* libc/stdio/putchar.c (putchar): Likewise.
 2977 	* libc/stdio/scanf.c (scanf): Likewise.
 2978 	* libc/stdio/setvbuf.c (setvbuf): Likewise.
 2979 	* libc/stdio/ungetwc.c (ungetwc): Likewise.
 2980 	* libc/stdio/vfscanf.c (VFSCANF): Likewise.
 2981 	* libc/stdio/vfwscanf.c (VFWSCANF): Likewise.
 2982 	* libc/stdio/viprintf.c (viprintf): Likewise.
 2983 	* libc/stdio/viscanf.c (viscanf): Likewise.
 2984 	* libc/stdio/vprintf.c (vprintf): Likewise.
 2985 	* libc/stdio/vscanf.c (vscanf): Likewise.
 2986 	* libc/stdio/vwprintf.c (vwprintf): Likewise.
 2987 	* libc/stdio/vwscanf.c (vwscanf): Likewise.
 2988 	* libc/stdio/wscanf.c (wscanf): Likewise.
 2989 	* libc/stdlib/ecvtbuf.c (fcvtbuf): Likewise.
 2990 	(fcvtbuf): Likewise.
 2991 	(ecvtbuf): Likewise.
 2992 	(ecvtbuf): Likewise.
 2993 	* libc/stdlib/mblen.c (mblen): Likewise.
 2994 	* libc/stdlib/mbrlen.c (mbrlen): Likewise.
 2995 	* libc/stdlib/mbrtowc.c (mbrtowc): Likewise.
 2996 	* libc/stdlib/mbtowc.c (mbtowc): Likewise.
 2997 	* libc/stdlib/rand.c (srand): Likewise.
 2998 	(rand): Likewise.
 2999 	* libc/stdlib/wcrtomb.c (wcrtomb): Likewise.
 3000 	* libc/stdlib/wctob.c (wctob): Likewise.
 3001 	* libc/stdlib/wctomb.c (wctomb): Likewise.
 3002 	* libc/string/strtok.c (strtok): Likewise.
 3003 	* libc/time/asctime.c (asctime): Likewise.
 3004 	* libc/time/gmtime.c (gmtime): Likewise.
 3005 	* libc/time/lcltime.c (lcltime): Likewise.
 3006 
 3007 2013-04-29  Sebastian Huber  <sebastian.huber@embedded-brains.de>
 3008 
 3009 	* libc/include/sys/reent.h (_REENT_INIT_PTR): Reduce code size.
 3010 
 3011 2013-04-29  Freddie Chopin  <freddie_chopin@op.pl>
 3012 
 3013 	* libc/libc.texinfo: Fix @ references and change ifinfo to be
 3014 	ifnottexinfo.
 3015 	* libm/libm.texinfo: Ditto.
 3016 
 3017 2013-04-25  Sebastian Huber  <sebastian.huber@embedded-brains.de>
 3018 
 3019 	* libc/stdio/local.h (_STDIO_CLOSE_PER_REENT_STD_STREAMS): New define.
 3020 	* libc/stdio/findfp.c (_STDIO_CLOSE_PER_REENT_STD_STREAMS): Use define.
 3021 
 3022 2013-04-24  Corinna Vinschen  <vinschen@redhat.com>
 3023 	    Nick Clifton  <nickc@redhat.com>
 3024 
 3025 	* libc/stdlib/strtod.c: Manual update to latest algorithm from NetBSD.
 3026 
 3027 2013-04-23  Corinna Vinschen  <vinschen@redhat.com>
 3028 
 3029 	Port newlib to x86_64-pc-cygwin.
 3030 	* libc/include/sys/features.h: Redefine compilation environment
 3031 	definitions for Cygwin to cover 64 bit Cygwin.
 3032 	* libc/ctype/ctype_.c (_ctype_): Fix definition for 64 bit Cygwin.
 3033 	* libc/include/machine/setjmp.h: Change definition of _JBLEN to allow
 3034 	different values for 32 bit and 64 bit Cygwin.
 3035 	* libc/include/reent.h (stat64): Define as stat under Cygwin, instead
 3036 	of as __stat64.  Undef stat64 if not building Newlib.
 3037 	* libc/include/sys/stat.h (stat64): Define as stat under Cygwin.
 3038 
 3039 2013-04-22  Sebastian Huber  <sebastian.huber@embedded-brains.de>
 3040 
 3041 	* libc/include/sys/cdefs.h: Align with latest FreeBSD file header.
 3042 	* libc/include/sys/features.h (__GNUC_PREREQ__): Define.
 3043 
 3044 2013-04-19  Corinna Vinschen  <vinschen@redhat.com>
 3045 
 3046 	* newlib/libc/search/hash.c: Revert patch from 2012-08-08.
 3047 
 3048 2013-04-16  Sebastian Huber  <sebastian.huber@embedded-brains.de>
 3049 
 3050 	* libc/sys/rtems/sys/queue.h: Delete file.
 3051 	* libc/include/sys/cdefs.h (__containerof): New define.
 3052 	(__DEQUALIFY): Likewise.
 3053 	* libc/include/sys/queue.h (TRACEBUF_INITIALIZER): Likewise.
 3054 	(TRACEBUF): Likewise.
 3055 	(LIST_FOREACH_SAFE): Likewise.
 3056 	(LIST_PREV): Likewise.
 3057 	(LIST_SWAP): Likewise.
 3058 	(QMD_LIST_CHECK_HEAD): Likewise.
 3059 	(QMD_LIST_CHECK_NEXT): Likewise.
 3060 	(QMD_LIST_CHECK_PREV): Likewise.
 3061 	(QMD_SAVELINK): Likewise.
 3062 	(QMD_TAILQ_CHECK_HEAD): Likewise.
 3063 	(QMD_TAILQ_CHECK_NEXT): Likewise.
 3064 	(QMD_TAILQ_CHECK_PREV): Likewise.
 3065 	(QMD_TAILQ_CHECK_TAIL): Likewise.
 3066 	(QMD_TRACE_ELEM): Likewise.
 3067 	(QMD_TRACE_HEAD): Likewise.
 3068 	(SLIST_FOREACH_PREVPTR): Likewise.
 3069 	(SLIST_FOREACH_SAFE): Likewise.
 3070 	(SLIST_REMOVE_AFTER): Likewise.
 3071 	(SLIST_SWAP): Likewise.
 3072 	(STAILQ_FOREACH_SAFE): Likewise.
 3073 	(STAILQ_REMOVE_AFTER): Likewise.
 3074 	(STAILQ_SWAP): Likewise.
 3075 	(TAILQ_FOREACH_REVERSE_SAFE): Likewise.
 3076 	(TAILQ_FOREACH_SAFE): Likewise.
 3077 	(TAILQ_SWAP): Likewise.
 3078 	(TRASHIT): Likewise.
 3079 	(SLIST_REMOVE): Use SLIST_REMOVE_AFTER().
 3080 	(STAILQ_LAST): Use __containerof().
 3081 	(STAILQ_REMOVE): Use STAILQ_REMOVE_AFTER().
 3082 
 3083 2013-04-12  Will Newton  <will.newton@linaro.org>
 3084 
 3085 	* libc/machine/arm/memcpy-stub.c: Use generic memcpy if unaligned
 3086 	access is not enabled.
 3087 	* libc/machine/arm/memcpy.S: Faster memcpy implementation for
 3088 	Cortex A15 cores using NEON and VFP if available.
 3089 
 3090 2013-04-12  Bin Cheng  <bin.cheng@arm.com>
 3091 
 3092 	* acconfig.h (_WCHAR_ORIENT): Undef
 3093 	* newlib.hin (_WCHAR_ORIENT): Undef
 3094 	* configure.in (--enable-newlib-wchar-orient): New option.
 3095 	* configure: Regenerated.
 3096 	* libc/configure.in (--enable-newlib-wchar-orient): New option.
 3097 	* libc/configure: Regenerated.
 3098 	* libc/stdio/Makefile.am (NEWLIB_WIDE_ORIENT): Use.
 3099 	* libc/stdio/Makefile.in: Regenerated.
 3100 	* libc/stdio/local.h (ORIENT): Use _WCHAR_ORIENT to control
 3101 	the definition. Add alternative definition.
 3102 	* libc/stdio/vfprintf.c (__sfputs_r, __sprint_r): Use _WCHAR_ORIENT
 3103 	to control the wide char output.
 3104 
 3105 2012-04-11  Jon TURNEY  <jon.turney@dronecode.org.uk>
 3106 
 3107 	* libc/include/stdlib.h (strtof, strtoll, strtoull, strtold): Also
 3108 	prototype if C++11 or later.
 3109 
 3110 2013-04-10  Bin Cheng  <bin.cheng@arm.com>
 3111 
 3112 	* acconfig.h (_FSEEK_OPTIMIZATION): Undef
 3113 	* newlib.hin (_FSEEK_OPTIMIZATION): Undef
 3114 	* configure.in (--disable-newlib-fseek-optimization): New option.
 3115 	* configure: Regenerated.
 3116 	* libc/stdio/fflush.c (__sflush_r): Use _FSEEK_OPTIMIZATION to
 3117 	control fseek optimization.
 3118 	* libc/stdio/fseeko.c (_fseeko_r): Ditto.
 3119 	* libc/stdio/makebuf.c (__smakebuf_r): Ditto.
 3120 	* libc/stdio64/fseeko64.c (_fseeko64_r): Ditto.
 3121 
 3122 2013-04-08  Matthew Gretton-Dann  <matthew.gretton-dann@linaro.org>
 3123 
 3124 	* libc/stdio/vfieeefp.h (ldieee): Fix typo.
 3125 
 3126 2013-04-02  Sebastian Huber  <sebastian.huber@embedded-brains.de>
 3127 
 3128 	* libc/posix/scandir.c (DIRSIZ): Use offsetof instead of magic
 3129 	number.
 3130 
 3131 2013-03-27  Bin Cheng  <bin.cheng@arm.com>
 3132 
 3133 	* acconfig.h (_FVWRITE_IN_STREAMIO): Undefine.
 3134 	* newlib.hin (_FVWRITE_IN_STREAMIO): Undefine.
 3135 	* configure.in (--disable-newlib-fvwrite-in-streamio): New option.
 3136 	* configure: Regenerated.
 3137 	* libc/stdio/fputs.c (_fputs_r): Use _FVWRITE_IN_STREAMIO to
 3138 	control __sfvwrite_r.  Add alternative implementation.
 3139 	* libc/stdio/fputws.c (_fputws_r): Ditto.
 3140 	* libc/stdio/fwrite.c (_fwrite_r): Ditto.
 3141 	* libc/stdio/puts.c (_puts_r): Ditto.
 3142 	* libc/stdio/vfprintf.c (__ssputs_r, __sfputs_r): New function.
 3143 	(_VFPRINTF_R): Use _FVWRITE_IN_STREAMIO to control vector buffer.
 3144 	(__SPRINT): Use _FVWRITE_IN_STREAMIO to control macro definition.
 3145 	* libc/stdio/vfwprintf.c (_VFWPRINTF_R): Use _FVWRITE_IN_STREAMIO
 3146 	to control vector buffer.
 3147 
 3148 2013-03-26  Sebastian Huber  <sebastian.huber@embedded-brains.de>
 3149 
 3150 	* libc/stdio/local.h (_STDIO_WITH_THREAD_CANCELLATION_SUPPORT):
 3151 	New define.
 3152 	* libc/stdio/fclose.c: Use
 3153 	_STDIO_WITH_THREAD_CANCELLATION_SUPPORT.
 3154 	* libc/stdio/freopen.c: Likewise.
 3155 	* libc/stdio64/freopen64.c: Likewise.
 3156 
 3157 2013-03-15  Sebastian Huber  <sebastian.huber@embedded-brains.de>
 3158 
 3159 	* newlib/libc/stdio/findfp.c (glue_with_file): New.
 3160 	(__sfmoreglue): Use glue_with_file to avoid alignment problems.
 3161 
 3162 2013-02-28  Corinna Vinschen  <vinschen@redhat.com>
 3163 
 3164 	* libc/include/machine/setjmp.h (sigjmp_buf): Fix definition of
 3165 	sigjmp_buf size if _JBTYPE is defined.
 3166 
 3167 2013-02-26  Corinna Vinschen  <vinschen@redhat.com>
 3168 
 3169 	* libc/include/malloc.h (struct mallinfo): Convert type of all members
 3170 	to size_t to match all targets.
 3171 
 3172 2013-02-20  Yaakov Selkowitz  <yselkowitz@users.sourceforge.net>
 3173 	    Joseph S. Myers <joseph@codesourcery.com>
 3174 
 3175 	* libc/include/sys/_types.h (_ssize_t): Define as signed equivalent of
 3176 	size_t with GCC.
 3177 
 3178 2013-02-19  Steve Ellcey  <sellcey@mips.com>
 3179 
 3180 	* libc/machine/mips/memcpy.S: Fix USE_PREFETCH check.
 3181 
 3182 2013-02-01  Nick Clifton  <nickc@redhat.com>
 3183 
 3184 	* libc/sys/sysnecv850/crt0.S: Add recognition of the e3v5
 3185 	architecture variant.
 3186 
 3187 2013-01-22  Joel Sherrill <joel.sherrill@oarcorp.com>
 3188 
 3189 	* libc/include/pthread.h: Add PTHREAD_RWLOCK_INITIALIZER.
 3190 	Fix typo on PTHREAD_COJND_INITIALIZER.
 3191 
 3192 2013-01-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
 3193 
 3194 	* libc/machine/aarch64/strncmp.S: Correct arithmetic for
 3195 	argument N values close to the maximum representable
 3196 	value in an unsigned 64 bit value.
 3197 
 3198 2013-01-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
 3199 
 3200 	* libc/machine/aarch64/strnlen.S: Correct arithmetic for
 3201 	argument N values close to the maximum representable
 3202 	value in an unsigned 64 bit value.
 3203 
 3204 2013-01-15  Nick Clifton  <nickc@redhat.com>
 3205 
 3206 	* libc/sys/sysnecv850/crt0.S (_start): Enable FPU for the
 3207 	V850e2v3.
 3208 
 3209 2013-01-12  Corinna Vinschen  <vinschen@redhat.com>
 3210 
 3211 	* libc/include/string.h: Fix preprocessor expressions using
 3212 	_XOPEN_SOURCE.
 3213 
 3214 2013-01-11  Corinna Vinschen  <vinschen@redhat.com>
 3215 
 3216 	* libc/stdio/vfwprintf.c (_VFWPRINTF_R): Add code to correctly handle
 3217 	's' format specifier on not _MB_CAPABLE targets.  Fix a formatting
 3218 	glitch in _MB_CAPABLE enabled code.  Add a missing 'L' specifier.
 3219 
 3220 2013-01-10  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
 3221 
 3222 	* libc/machine/aarch64/Makefile.am (lib_a_SOURCES): Add
 3223 	memcmp-stub.c and memcmp.S
 3224 	* libc/machine/aarch64/Makefile.in: Regenerated.
 3225 	* libc/machine/aarch64/memcmp-stub.c: New file.
 3226 	* libc/machine/aarch64/memcmp.S: New file.
 3227 
 3228 2013-01-10  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
 3229 
 3230 	* libc/machine/aarch64/Makefile.am (lib_a_SOURCES): Add
 3231 	strnlen-stub.c and strnlen.S
 3232 	* libc/machine/aarch64/Makefile.in: Regenerated.
 3233 	* libc/machine/aarch64/strnlen-stub.c: New file.
 3234 	* libc/machine/aarch64/strnlen.S: New file.
 3235 
 3236 2013-01-10  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
 3237 
 3238 	* libc/machine/aarch64/Makefile.am (lib_a_SOURCES):
 3239 	Add strlen.S and strlen-stub.c.
 3240 	* libc/machine/aarch64/Makefile.in: Regenerated.
 3241 	* libc/machine/aarch64/strlen-stub.c: New file.
 3242 	* libc/machine/aarch64/strlen.S: New file.
 3243 
 3244 2013-01-10  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
 3245 
 3246 	* libc/machine/aarch64/Makefile.am (lib_a_SOURCES):
 3247 	Add memmove.S and memmove-stub.c.
 3248 	* libc/machine/aarch64/Makefile.in: Regenerated.
 3249 	* libc/machine/aarch64/memmove-stub.c: New file.
 3250 	* libc/machine/aarch64/memmove.S: New file.
 3251 
 3252 2013-01-10  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
 3253 
 3254 	* libc/machine/aarch64/Makefile.am (lib_a_SOURCES): Re-ordered.
 3255 	Add strncmp.S and strncmp-stub.c.
 3256 	* libc/machine/aarch64/Makefile.in: Regenerated.
 3257 	* libc/machine/aarch64/strncmp-stub.c: New file.
 3258 	* libc/machine/aarch64/strncmp.S: New file.
 3259 
 3260 2013-01-10  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
 3261 
 3262 	* libc/machine/aarch64/Makefile.am (lib_a_SOURCES): Add
 3263 	memcpy.c memcpy-stub.c memset.S memset-stub.c strcmp.S
 3264 	strcmp-stub.c.
 3265 	* libc/machine/aarch64/Makefile.in: Regenerated.
 3266 	* libc/machine/aarch64/memcpy-stub.c: New file.
 3267 	* libc/machine/aarch64/memcpy.S: New file.
 3268 	* libc/machine/aarch64/memset-stub.c: New file.
 3269 	* libc/machine/aarch64/memset.S: New file.
 3270 	* libc/machine/aarch64/strcmp.S: New file.
 3271 	* libc/machine/aarch64/strcmp-stub.c: New file.
 3272 
 3273 2013-01-08  Jeff Johnston  <jjohnstn@redhat.com>
 3274 
 3275 	* MAINTAINERS: Add Richard Earnshaw as Arm co-maintainer
 3276 	and add Richard and Marcus Shawcroft as aarch64 maintainers.
 3277 
 3278 2013-01-07  Steve Ellcey  <sellcey@mips.com>
 3279 
 3280 	* libc/machine/mips/memcpy.S (memcpy): Check if _MIPS_SIM is set.
 3281 
 3282 2012-12-20  Jeff Johnston  <jjohnstn@redhat.com>
 3283 
 3284         * NEWS: Update with 2.0.0 info.
 3285         * README: Ditto.
 3286         * acinclude.m4: Change version number to 2.0.0.
 3287         * aclocal.m4: Regenerated.
 3288         * configure: Ditto.
 3289         * Makefile.in: Regenerated.
 3290         * doc/aclocal.m4: Ditto.
 3291         * doc/configure: Ditto.
 3292         * libc/*/aclocal.m4: Ditto.
 3293         * libc/*/configure: Ditto.
 3294         * libc/libc.texinfo: Ditto.
 3295         * libm/*/aclocal.m4: Ditto.
 3296         * libm/*/configure: Ditto.
 3297         * libm/libm.texinfo: Ditto.
 3298         * libc/sys/linux/shared.ld: Add VERS_2.0
 3299 
 3300 2012-12-19  Corinna Vinschen  <vinschen@redhat.com>
 3301 
 3302 	* libc/stdlib/strtod.c (_strtod_r): Revert change from 2011-05-16.
 3303 
 3304 2012-12-18  Jeff Johnston  <jjohnstn@redhat.com>
 3305 
 3306 	* libc/include/math.h: Remove the log2f macro.
 3307 
 3308 2012-12-18  Craig Howland  <howland@LGSInnovations.com>
 3309 
 3310 	* libc/include/math.h: Add recognition of values 1 and 2 for
 3311 	FLT_EVAL_METHOD.
 3312 
 3313 2012-12-18  Corinna Vinschen  <vinschen@redhat.com>
 3314 
 3315 	* libc/stdio/puts.c (_puts_r): Fix typo in previous patch.  Add local
 3316 	variable fp for better readability.
 3317 
 3318 2012-12-17  Jeff Johnston  <jjohnstn@redhat.com>
 3319 
 3320 	* libc/stdio/puts.c: Add fp locking and use _stdout_r macro
 3321 	to refer to the stream rather than stdout.
 3322 
 3323 2012-12-14  Yufeng Zhang  <yufeng.zhang@arm.com>
 3324 
 3325 	* libc/machine/aarch64/machine/_types.h: New file; define _ssize_t
 3326 	as long.
 3327 
 3328 2012-12-11  Steve Ellcey  <sellcey@mips.com>
 3329 
 3330 	* libc/machine/mips/memcpy.c: Remove.
 3331 	* libc/machine/mips/memcpy.S: New.
 3332 	* libc/machine/mips/Makefile.am (lib_a_CCASFLAGS): Add
 3333 	-D_COMPILING_NEWLIB.
 3334 	(lib_a_CFLAGS): Ditto.
 3335 
 3336 2012-12-04  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
 3337 
 3338 	* configure.host: Define libm_machine_dir value for arm.
 3339 	* libm/machine/configure.in: Add arm to libm machines list.
 3340 	* libm/machine/configure: Regenerate.
 3341 	* libm/machine/arm/Makefile.am: New file.
 3342 	* libm/machine/arm/Makefile.in: Generated.
 3343 	* libm/machine/arm/aclocal.m4: Generated.
 3344 	* libm/machine/arm/configure: Generated.
 3345 	* libm/machine/arm/configure.in: New file.
 3346 	* libm/machine/arm/s_ceil.c: Likewise.
 3347 	* libm/machine/arm/s_floor.c: Likewise.
 3348 	* libm/machine/arm/s_nearbyint.c: Likewise.
 3349 	* libm/machine/arm/s_rint.c: Likewise.
 3350 	* libm/machine/arm/s_round.c: Likewise.
 3351 	* libm/machine/arm/s_trunc.c: Likewise.
 3352 	* libm/machine/arm/sf_ceil.c: Likewise.
 3353 	* libm/machine/arm/sf_floor.c: Likewise.
 3354 	* libm/machine/arm/sf_nearbyint.c: Likewise.
 3355 	* libm/machine/arm/sf_rint.c: Likewise.
 3356 	* libm/machine/arm/sf_round.c: Likewise.
 3357 	* libm/machine/arm/sf_trunc.c: Likewise.
 3358 
 3359 2012-11-30  Greta Yorsh  <Greta.Yorsh@arm.com>
 3360 
 3361 	* libc/machine/arm/strcmp.S (compute_return_value): Fix return value.
 3362 	* testsuite/newlib.string/strcmp-1.c (main): Add new test cases.
 3363 
 3364 2012-11-29  Sebastian Huber  <sebastian.huber@embedded-brains.de>
 3365 
 3366 	* libc/include/sys/reent.h (__sFILE): Change type of _offset
 3367 	from int to _off_t.
 3368 	* libc/stdio/ftell.c: Use _ftello_r().
 3369 	* libc/stdio/ftello.c: Copy implementation from previous
 3370 	_ftell_r().
 3371 	* libc/stdio/fseek.c: Use _fseeko_r().
 3372 	* libc/stdio/fseeko.c: Copy implementation from previous
 3373 	_fseek_r().
 3374 
 3375 2012-11-26  Sebastian Huber  <sebastian.huber@embedded-brains.de>
 3376 
 3377 	* libc/include/inttypes.h: Add and use __INTTYPES_EXP().
 3378 
 3379 2012-11-23  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
 3380 
 3381 	* libm/machine/aarch64/configure.in: Change comment to say libm
 3382 	instead of libc.
 3383 
 3384 2012-11-12  Steve Ellcey  <sellcey@mips.com>
 3385 
 3386 	* libc/machine/mips/machine/asm.h: New.
 3387 	* libc/machine/mips/machine/regdef.h: Update register definitions
 3388 	for different ABI's.
 3389 
 3390 2012-11-11  Christopher Faylor  <me.cygwin2012@cgf.cx>
 3391 
 3392 	* libc/include/sys/time.h: Avoid guarding other than timeval
 3393 	declaration with _TIMEVAL_DEFINED.  Move timeval related macros under
 3394 	_TIMEVAL_DEFINED control.
 3395 
 3396 2012-11-01  Corinna Vinschen  <vinschen@redhat.com>
 3397 
 3398 	* libc/include/locale.h (NULL): Fetch definition via stddef.h.
 3399 	* libc/include/stdio.h (NULL): Ditto.
 3400 	* libc/include/stdlib.h (NULL): Ditto.
 3401 	* libc/include/string.h (NULL): Ditto.
 3402 	* libc/include/wchar.h (NULL): Ditto.
 3403 	* libc/include/rpc/types.h (NULL): Ditto.
 3404 	* libc/include/time.h (NULL): Ditto.  Include stddef.h earlier.
 3405 
 3406 2012-10-27  Anthony Green  <green@moxielogic.com>
 3407 
 3408 	* libc/machine/moxie/setjmp.S (setjmp): Minor optimization.
 3409 
 3410 2012-10-26  Corinna Vinschen  <vinschen@redhat.com>
 3411 
 3412 	* libc/include/sys/signal.h (sigset_t): Don't define when building
 3413 	for Cygwin.
 3414 
 3415 2012-10-24  Jeff Johnston  <jjohnstn@redhat.com>
 3416 
 3417 	* configure.in: Comment out the --enable-newlib-fp-hw option
 3418 	as the mathfp library is inaccurate and should not be used.
 3419 	* Makefile.am: Add comment regarding the mathfp directory.
 3420 	* configure: Regenerated.
 3421 	* Makefile.in: Ditto.
 3422 	* libm/mathfp/README: New file that details why the mathfp
 3423 	directory is not used.
 3424 
 3425 2012-10-22  Jon TURNEY  <jon.turney@dronecode.org.uk>
 3426 
 3427 	* libc/include/string.h (strdup, strndup): Declare if not
 3428 	__STRICT_ANSI__ or _XOPEN_SOURCE is defined appropriately.
 3429 
 3430 2012-10-22  Jon TURNEY  <jon.turney@dronecode.org.uk>
 3431 
 3432 	* libc/include/stdlib.h (strtof, strtoll, strtoull, strtold):Prototype
 3433 	if not __STRICT_ANSI__ or stdc version C99 or greater.
 3434 
 3435 2012-10-21  Hans-Peter Nilsson  <hp@bitrange.com>
 3436 
 3437 	* libc/sys/mmixware/sbrk.c (_sbrk): Drop unused extern declaration
 3438 	of "end".  Mark allocated memory by applying PRELD.
 3439 
 3440 2012-10-16  Gregory Pietsch  <gpietsch@comcast.net>
 3441 
 3442 	* libc/stdlib/getopt.c (getopt_internal): Align handling of colon to
 3443 	SUSv4 requirements.
 3444 	(__getopt_long_r): Fix formatting.
 3445 
 3446 2012-10-16  Corinna Vinschen  <vinschen@redhat.com>
 3447 
 3448 	* libc/stdio/vfprintf.c (__sbprintf): Fix comment.
 3449 
 3450 2012-10-16  Aurelien Jacobs  <aurel@gnuage.org>
 3451 
 3452 	* libc/include/assert.h (static_assert): Define.
 3453 
 3454 2012-10-16  Corinna Vinschen  <vinschen@redhat.com>
 3455 
 3456 	* libc/include/sys/features.h (__GNUC_PREREQ): Define.  Use
 3457 	throughout in place of explicit GNUC version checks.
 3458 	* libc/include/_ansi.h (_NOINLINE): Define.
 3459 	(_NOINLINE_STATIC): Define.
 3460 	* libc/stdio/vfprintf.c (__sbprintf): Define _NOINLINE_STATIC.
 3461 
 3462 2012-10-09  Peter Rosin  <peda@lysator.liu.se>
 3463 
 3464 	* libc/posix/wordfree.c (wordfree): The wrong words are freed
 3465 	when WRDE_DOOFFS is in use. Restructure the code so that the memory
 3466 	needed to be freed is instead kept in an internal linked list...
 3467 	* libc/posix/wordexp2.h: ...as defined here...
 3468 	* libc/posix/wordexp.c (wordexp): ...and build this internal
 3469 	linked list here, avoiding wasteful strdup calls in the process.
 3470 
 3471 2012-10-09  Peter Rosin  <peda@lysator.liu.se>
 3472 
 3473 	* libc/posix/wordexp.c (wordexp): Return WRDE_NOSPACE on resource
 3474 	allocation failure. Cleanup leftover resources when failing.
 3475 
 3476 2012-10-09  Peter Rosin  <peda@lysator.liu.se>
 3477 
 3478 	* libc/posix/wordexp.c (wordexp): Handle expanded words longer
 3479 	than 500 bytes.
 3480 
 3481 2012-10-09  Peter Rosin  <peda@lysator.liu.se>
 3482 
 3483 	* libc/posix/wordexp.c (wordexp): Don't leak file streams.
 3484 
 3485 2012-10-03  DJ Delorie  <dj@redhat.com>
 3486 
 3487 	* libc/machine/rl78/setjmp.S: Convert from CPP macros to GAS
 3488 	macros, to avoid dependence on the line separation character.
 3489 
 3490 2012-10-01  DJ Delorie  <dj@redhat.com>
 3491 
 3492 	* libc/sys/sysnecv850/sbrk.c (_sbrk): Change heap_start to be an
 3493 	array of undefined size, to avoid problems when compiled with
 3494 	-msda=4.
 3495 
 3496 2012-10-01  Jeff Johnston  <jjohnstn@redhat.com>
 3497 
 3498 	* README: replace sources.redhat.com with sourceware.org.
 3499 	* HOWTO: Ditto.
 3500 
 3501 2012-09-26  Ian Bolton  <ian.bolton@arm.com>
 3502         Jim MacArthur  <jim.macarthur@arm.com>
 3503         Marcus Shawcroft  <marcus.shawcroft@arm.com>
 3504         Nigel Stephens  <nigel.stephens@arm.com>
 3505         Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
 3506         Richard Earnshaw  <rearnsha@arm.com>
 3507         Sofiane Naci  <sofiane.naci@arm.com>
 3508         Tejas Belagod  <tejas.belagod@arm.com>
 3509         Yufeng Zhang  <yufeng.zhang@arm.com>
 3510 
 3511 	* configure.host: Add AArch64.
 3512 	* libc/include/machine/ieeefp.h: Add AArch64.
 3513 	* libc/include/machine/setjmp.h: Add AArch64.
 3514 	* libc/include/machine/time.h: Add AArch64.
 3515 	* libc/include/sys/config.h: Add AArch64.
 3516 	* libc/machine/aarch64/Makefile.am: New file.
 3517 	* libc/machine/aarch64/Makefile.in: Generated.
 3518 	* libc/machine/aarch64/aclocal.m4: Generated.
 3519 	* libc/machine/aarch64/configure: Generated.
 3520 	* libc/machine/aarch64/configure.in: New file.
 3521 	* libc/machine/aarch64/setjmp.S: New file.
 3522 	* libc/machine/configure.in: Add AArch64.
 3523 	* libc/machine/configure: Re-generated.
 3524 	* libm/machine/aarch64/Makefile.am: New file.
 3525 	* libm/machine/aarch64/Makefile.in: Generated.
 3526 	* libm/machine/aarch64/aclocal.m4: Generated.
 3527 	* libm/machine/aarch64/configure: Generated.
 3528 	* libm/machine/aarch64/configure.in: New file.
 3529 	* libm/machine/aarch64/s_ceil.c: New file.
 3530 	* libm/machine/aarch64/s_floor.c: New file.
 3531 	* libm/machine/aarch64/s_fma.c: New file.
 3532 	* libm/machine/aarch64/s_fmax.c: New file.
 3533 	* libm/machine/aarch64/s_fmin.c: New file.
 3534 	* libm/machine/aarch64/s_llrint.c: New file.
 3535 	* libm/machine/aarch64/s_llround.c: New file.
 3536 	* libm/machine/aarch64/s_lrint.c: New file.
 3537 	* libm/machine/aarch64/s_lround.c: New file.
 3538 	* libm/machine/aarch64/s_nearbyint.c: New file.
 3539 	* libm/machine/aarch64/s_rint.c: New file.
 3540 	* libm/machine/aarch64/s_round.c: New file.
 3541 	* libm/machine/aarch64/s_trunc.c: New file.
 3542 	* libm/machine/aarch64/sf_ceil.c: New file.
 3543 	* libm/machine/aarch64/sf_floor.c: New file.
 3544 	* libm/machine/aarch64/sf_fma.c: New file.
 3545 	* libm/machine/aarch64/sf_fmax.c: New file.
 3546 	* libm/machine/aarch64/sf_fmin.c: New file.
 3547 	* libm/machine/aarch64/sf_llrint.c: New file.
 3548 	* libm/machine/aarch64/sf_llround.c: New file.
 3549 	* libm/machine/aarch64/sf_lrint.c: New file.
 3550 	* libm/machine/aarch64/sf_lround.c: New file.
 3551 	* libm/machine/aarch64/sf_nearbyint.c: New file.
 3552 	* libm/machine/aarch64/sf_rint.c: New file.
 3553 	* libm/machine/aarch64/sf_round.c: New file.
 3554 	* libm/machine/aarch64/sf_trunc.c: New file.
 3555 	* libm/machine/configure.in: Add AArch64.
 3556 	* libm/machine/configure: Re-generated.
 3557 
 3558 2012-09-26  Michael Hope  <michael.hope@linaro.org>
 3559 
 3560 	* doc/makedoc.c (dup_): Rename to avoid colliding with dup(2). 
 3561 
 3562 2012-09-13  Anthony Green  <green@moxielogic.com>
 3563 
 3564 	* libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Add bi-endian
 3565 	support for moxie.
 3566 
 3567 2012-08-23  Christopher Faylor  <me.cygwin2012@cgf.cx>
 3568 
 3569 	* libc/stdio/flags.c (__sflags): Guard against using O_BINARY on
 3570 	systems which do not provide it.
 3571 
 3572 2012-08-21  Christopher Faylor  <me.cygwin2012@cgf.cx>
 3573 
 3574 	* libc/stdio/flags.c (__sflags): Rewrite recognition of extended mode
 3575 	flags to just loop over more allowed flags.  Support glibc 'e' flag on
 3576 	systems defining _GLIBC_EXTENSION.  Support C11 'x' flag.
 3577 
 3578 2012-08-10  Corinna Vinschen  <vinschen@redhat.com>
 3579 
 3580 	* libc/stdlib/btowc.c (btowc): Cast to avoid compiler warning.
 3581 	* libc/search/hash_buf.c (__get_buf): Initialize local vars to avoid
 3582 	compiler warning.
 3583 	* libc/stdio/fgets.c (_fgets_r): Ditto.
 3584 	* libc/time/strftime.c (strftime): Ditto.
 3585 
 3586 2012-08-10  Corinna Vinschen  <vinschen@redhat.com>
 3587 
 3588 	* libc/stdio/vfwprintf.c (_VFWPRINTF_R): Fix guard around state to
 3589 	allow usage in !FLOATING_POINT && _WANT_IO_C99_FORMATS case.
 3590 
 3591 2012-08-08  Eric Blake  <eblake@redhat.com>
 3592 
 3593 	* libc/posix/engine.c(dissect): Guard diagnostic pragma for right
 3594 	versions of GCC only.
 3595 	* libc/string/strcasestr.c: Ditto.
 3596 
 3597 2012-08-08  Corinna Vinschen  <vinschen@redhat.com>
 3598 
 3599 	Throughout, run newlib with -Wall -Werror option and fix bugs and
 3600 	compiler warnings found this way.
 3601 
 3602 	* libc/stdio/freopen.c (_freopen_r): Fix bug setting _flags.
 3603 
 3604 	* libc/include/stdio.h (_rename): Define when building newlib.
 3605 	* libc/include/sys/signal.h (_kill): Ditto.
 3606 	* libc/include/sys/stat.h (_mkdir): Ditto.
 3607 	* libc/include/sys/time.h (_gettimeofday): Ditto.
 3608 	* libc/include/sys/times.h (_times): Ditto.
 3609 	* libc/include/sys/wait.h (_wait): Ditto.
 3610 	* libc/locale/lmessages.c (empty): Don't define for Cygwin.
 3611 	* libc/locale/lmonetary.c (cnv): Ditto.
 3612 	* libc/locale/nl_langinfo.c (nl_langinfo): Ditto for variable s.
 3613 	* libc/posix/collate.c: Throughout cast to avoid compiler warning.
 3614 	* libc/posix/engine.c (matcher): Initialize dp to avoid compiler
 3615 	warning.
 3616 	(dissect): Deliberately silence gcc compiler warning.  Add comment to
 3617 	explain why.
 3618 	* libc/posix/glob.c: Disable on Cygwin.  Explain why.
 3619 	* libc/posix/regcomp.c: Fix "uninitialized" compiler warnings.
 3620 	* libc/posix/wordexp.c (wordexp): Remove num_bytes variable since result
 3621 	is never used.
 3622 	* libc/posix/popen.c (popen): Ditto for variable last.
 3623 	* libc/reent/mkdirr.c: Include sys/stat.h.
 3624 	* libc/reent/renamer.c: Include stdio.h.
 3625 	* libc/search/hash.c:  Throughout use underscored variants of the stat
 3626 	function family.
 3627 	(init_hash): Add missing definition for the __USE_INTERNAL_STAT64 case.
 3628 	* libc/search/hash_bigkey.c (__big_insert): Add parenthesis to avoid
 3629 	compiler warning.
 3630 	* libc/search/hash_page.c (overflow_page): Initalize freep to NULL to
 3631 	avoid compiler warning.
 3632 	* libc/stdio/asiprintf.c (_asiprintf_r): Cast unsigned char * to char *
 3633 	to avoid compiler warning.
 3634 	(asiprintf): Ditto.
 3635 	* libc/stdio/asprintf.c (_asprintf_r): Ditto.
 3636 	(asprintf): Ditto.
 3637 	* libc/stdio/vasiprintf.c (_vasiprintf_r): Ditto.
 3638 	* libc/stdio/vasprintf.c (_vasprintf_r): Ditto.
 3639 	* libc/stdio/mktemp.c (_gettemp): Cast to unsigned char in call to
 3640 	isdigit to avoid compiler warning.
 3641 	* libc/stdio/vfprintf.c (_VFPRINTF_R): Initialize variables used for
 3642 	grouping to avoid compiler warning.  Only define and set nseps and
 3643 	nrepeats if they are really used.
 3644 	* libc/stdio/vfwprintf.c (_VFWPRINTF_R): Ditto.  Only define state if
 3645 	it is really used.
 3646 	* libc/stdio/vfscanf.c (u_char): Revert to be defined as unsigned char.
 3647 	(__SVFSCANF_R): Cast fmt in call to __mbtowc.
 3648 	* libc/stdlib/mbtowc_r.c (JIS_state_table): Disable when building
 3649 	Cygwin.
 3650 	(JIS_action_table): Ditto.
 3651 	* libc/stdlib/wctomb_r.c (__utf8_wctomb): Add parenthesis to avoid
 3652 	compiler warning.
 3653 	* libc/string/strcasestr.c: Deliberately silence gcc compiler warning.
 3654 	Add comment to explain why.
 3655 	* libc/time/strptime.c (strptime): Cast to unsigned char in calls to
 3656 	isspace to avoid compiler warning.
 3657 	* libm/math/e_atan2.c (__ieee754_atan2): Add parenthesis to avoid
 3658 	compiler warning.
 3659 	* libm/math/e_exp.c (__ieee754_exp): Initialize k to 0 to avoid
 3660 	compiler warning.  Drop setting it to 0 later.
 3661 	* libm/math/ef_exp.c (__ieee754_expf): Ditto.
 3662 	* libm/math/e_pow.c (__ieee754_pow): Add braces to avoid compiler
 3663 	warning.
 3664 	* libm/math/ef_pow.c (__ieee754_powf): Ditto.
 3665 	* libm/math/er_lgamma.c (__ieee754_lgamma_r): Initialize nadj to 0 to
 3666 	avoid compiler warning.
 3667 	* libm/math/erf_lgamma.c (__ieee754_lgammaf_r): Ditto.
 3668 	* libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Ditto for variable z.
 3669 	* libm/common/sf_round.c (roundf): Remove signbit variable since result
 3670 	is never used.
 3671 
 3672 2012-08-07  Corinna Vinschen  <vinschen@redhat.com>
 3673 
 3674 	* libc/stdlib/mprec.h (Storeinc): Add parenthesis to avoid compiler
 3675 	warning.
 3676 
 3677 2012-07-30  Kevin Buettner  <kevinb@redhat.com>
 3678 
 3679 	* libc/sys/sysnecv850/crt0.S (_start): Use v850e-specific
 3680 	start up code for v850e2 and v850e2v3 too.
 3681 
 3682 2012-07-20  Eric Blake  <eblake@redhat.com>
 3683 
 3684 	* libc/posix/readdir.c (readdir): Drop bogus attempt to catch
 3685 	bogus pointers.
 3686 
 3687 2012-07-18  Ralf Cors├ępius  <ralf.corsepius@rtems.org>
 3688 
 3689 	* libc/sys/rtems/machine/_types.h (_ssize_t): Use signed int for
 3690 	__v850__, __851__.
 3691 
 3692 2012-07-17  Ralf Cors├ępius  <ralf.corsepius@rtems.org>
 3693 
 3694 	* libc/search/hcreate_r.c (hdestroy_r): #ifdef 0 unused vars ie, idx.
 3695 
 3696 2012-07-16  Ralf Cors├ępius  <ralf.corsepius@rtems.org>
 3697 
 3698 	* libc/posix/telldir.c: Conditionally build dd_hash_lock.
 3699 
 3700 2012-07-13  Ralf Cors├ępius  <ralf.corsepius@rtems.org>
 3701 
 3702 	* libc/sys/rtems/machine/_types.h (_ssize_t): Add __ARM_EABI__,
 3703 	__v850__, __851__.
 3704 
 3705 2012-07-09  Corinna Vinschen  <vinschen@redhat.com>
 3706 
 3707 	* libc/stdio/fileno.c (fileno): Check if f is a valid stream.  If not,
 3708 	return -1 and set errno to EBADF per POSIX.
 3709 
 3710 2012-07-06  Corinna Vinschen  <vinschen@redhat.com>
 3711 
 3712 	Allow building of Cygwin using Mingw64 SDK headers:
 3713 	* libc/include/sys/time.h: Drop _WINSOCK_H guard.  Just use
 3714 	_TIMEVAL_DEFINED instead.
 3715 	* libc/include/sys/types.h: Check for _WINSOCKAPI_ along with
 3716 	_WINSOCK_H.
 3717 	* libc/include/sys/unistd.h: Ditto.
 3718 
 3719 2012-06-28  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
 3720 
 3721 	* doc/Makefile.am (makedoc): Use LDFLAGS_FOR_BUILD not LDFLAGS.
 3722 	* doc/Makefile.in: Regenerate.
 3723 
 3724 2012-06-26  Christopher Faylor  <me.newlib2012@cgf.cx>
 3725 
 3726 	* libc/include/sys/types.h: Don't use the same preprocessor guard for
 3727 	time_t, timespec, and itimerspec.  Add a separate guard specifically
 3728 	for timespec and always unconditionally define itimerspec.
 3729 
 3730 2012-06-05  Corinna Vinschen  <vinschen@redhat.com>
 3731 
 3732 	* libc/stdio/findfp.c (__sinit): Avoid infinite recursion on
 3733 	_REENT_SMALL targets.  Add comment to explain.
 3734 
 3735 2012-05-31  Corinna Vinschen  <vinschen@redhat.com>
 3736 
 3737 	* libc/stdio/local.h (_newlib_sfp_lock_exit): Fix typo in non-pthread
 3738 	version.
 3739 
 3740 2012-05-30  Corinna Vinschen  <vinschen@redhat.com>
 3741 
 3742 	* libc/stdio/fgetws.c (_fgetws_r): Call _mbsnrtowcs_r rather than
 3743 	_mbsrtowcs_r and restrict number of wide chars to n - 1.
 3744 
 3745 2012-05-30  Corinna Vinschen  <vinschen@redhat.com>
 3746 
 3747 	* libc/stdio/local.h (_newlib_flockfile_start): New macro to
 3748 	secure stream related critical section against thread cancellation.
 3749 	(_newlib_flockfile_exit): Ditto.
 3750 	(_newlib_sfp_lock_end): Ditto.
 3751 	(_newlib_sfp_lock_start): Ditto for the list of streams.
 3752 	(_newlib_sfp_lock_exit): Ditto.
 3753 	(_newlib_sfp_lock_end): Ditto.
 3754 	Use aforementioned macros in place of _flockfile/_funlockfile
 3755 	and __sfp_lock_acquire/__sfp_lock_release throughout the code.
 3756 	* libc/stdio/fclose.c: Explicitely disable and re-enable thread
 3757 	cancellation.  Explain why.
 3758 	* libc/stdio/freopen.c: Ditto.
 3759 	* libc/stdio64/freopen64.c: Ditto.
 3760 
 3761 2012-05-21  Sandeep Kumar Singh  <Sandeep.Singh2@kpitcummins.com>
 3762 
 3763 	* libc/machine/cr16/sys/asm.h: Added some missing instructions
 3764 	and removed few unsupported instructions of cr16 target.
 3765 
 3766 2012-05-10  Yaakov Selkowitz  <yselkowitz@users.sourceforge.net>
 3767 
 3768 	* libc/include/string.h (memrchr): Declare.
 3769 	* libc/string/Makefile.am (ELIX_4_SOURCES): Add memrchr.c.
 3770 	(CHEWOUT_FILES): Add memrchr.def.
 3771 	* libc/string/Makefile.in: Regenerate.
 3772 	* libc/string/memrchr.c: New file.
 3773 
 3774 2012-05-10  Joel Sherrill <joel.sherrill@oarcorp.com>
 3775 
 3776 	* libc/sys/rtems/machine/_types.h: Add Microblaze.
 3777 
 3778 2012-05-09  Joel Sherrill <joel.sherrill@oarcorp.com>
 3779 
 3780 	* libc/sys/rtems/crt0.c: Add stubs for access(), ftruncate(),
 3781 	_getpid_r(), geteuid(), getgid, _getgid_r, getpid(), getppid(),
 3782 	and _getpid_r().
 3783 
 3784 2012-05-03  Greta Yorsh  <Greta.Yorsh@arm.com>
 3785 
 3786 	* testsuite/newlib.string/strcmp-1.c (LONG_TEST): New macro.
 3787 	(MAX_BLOCK_SIZE): Use small value when LONG_TEST is not set.
 3788 	(MAX_DIFF, MAX_LEN, MAX_ZEROS) Likewise.
 3789 
 3790 2012-03-29  Corinna Vinschen  <vinschen@redhat.com>
 3791 
 3792 	* libc/locale/locale.c (__mb_cur_max): On Cygwin, align default value
 3793 	with default UTF-8 charset.
 3794 
 3795 2012-03-26  Corinna Vinschen  <vinschen@redhat.com>
 3796 
 3797 	* libc/stdio/findfp.c (__sinit): Set __sdidinit last.
 3798 
 3799 2012-03-09  Jeff Johnston  <jjohnstn@redhat.com>
 3800 
 3801 	* libc/include/machine/setjmp-dj.h: Modify license to include
 3802 	modification in clause as permitted by DJ Delorie.
 3803 	* libc/machine/arm/access.c: Ditto.
 3804 	* libc/machine/i386/setjmp.S: Ditto.
 3805 	* libc/sys/h8300hms/sys/file.h: Ditto.
 3806 	* libc/sys/linux/machine/i386/setjmp.S: Ditto.
 3807 	* libc/sys/sysmec/access.c: Ditto.
 3808 	* libc/sys/sysnecv850/access.c: Ditto.
 3809 
 3810 2012-03-02  Jeff Johnston  <jjohnstn@redhat.com>
 3811 
 3812 	* libc/posix/readdir_r.c: Fix return code when end of
 3813 	directory is reached.
 3814 
 3815 2012-02-23  Dan Egnor  <egnor@ofb.net>
 3816 
 3817 	* configure.host: Accept "arm*" host spec instead of just "arm".
 3818 
 3819 2012-02-21  Jeremy Bennett  <jeremy.bennett@embecosm.com>
 3820             Alan Lehotsky  <apl@alum.mit.edu>
 3821             Joern Rennecke  <joern.rennecke@embecosm.com>
 3822 
 3823 	* configure.host: Add Epiphany support.
 3824 	* libc/include/machine/ieeefp.h: Likewise.
 3825 	* libc/include/machine/setjmp.h: Likewise.
 3826 	* libc/machine/configure.in, libc/sys/configure.in: Likewise.
 3827 	* libc/machine/configure, libc/sys/configure: Regenerate.
 3828 	* libc/machine/epiphany, libc/sys/epiphany: New directories.
 3829 	* NEWS: Mention addition of Epiphany.
 3830 
 3831 2012-02-15  Christopher Faylor  <me.newlib2012@cgf.cx>
 3832 
 3833 	* configure.host: Fix typo: xdir_dir -> xdr_dir.
 3834 
 3835 2012-02-09  Eric Blake  <eblake@redhat.com>
 3836 
 3837 	* libc/include/_ansi.h (_ELIDABLE_INLINE): Fix C99 mode.
 3838 
 3839 2012-02-09  Sebastian Huber  <sebastian.huber@embedded-brains.de>
 3840 
 3841 	* libc/sys/rtems/sys/utime.h: Include <sys/types.h> to provide a
 3842 	definition of time_t.
 3843 
 3844 2012-02-08  Greta Yorsh  <Greta.Yorsh@arm.com>
 3845 
 3846 	* libc/machine/arm/strcmp.S: New File.
 3847 	* libc/machine/arm/strcmp.c: Deleted.
 3848 	* libc/machine/arm/Makefile.am: Replaces strcmp.c with strcmp.S
 3849 	* libc/machine/arm/Makefile.in: Regenerated.
 3850 	* testsuite/newlib.string/strcmp-1.c: New file.
 3851 
 3852 2012-02-07  Corinna Vinschen  <vinschen@redhat.com>
 3853 
 3854 	* libc/include/inttypes.h: Redefine pointer type macros.
 3855 
 3856 2012-01-13  Yaakov Selkowitz  <yselkowitz@users.sourceforge.net>
 3857 
 3858 	* libc/stdio/sprintf.c: Document 'm' conversion specifier.
 3859 	* libc/stdio/swprintf.c: Ditto.
 3860 	* libc/stdio/vfprintf.c (_VFPRINTF_R) [_GLIBC_EXTENSION]: Handle 'm'
 3861 	conversion specifier.
 3862 	* libc/stdio/vfwprintf.c (_VFWPRINTF_R) [_GLIBC_EXTENSION]: Ditto.
 3863 
 3864 2012-01-12  Yaakov Selkowitz  <yselkowitz@users.sourceforge.net>
 3865 
 3866 	* libc/include/tgmath.h: New header.
 3867 
 3868 2012-01-09  Yaakov Selkowitz  <yselkowitz@users.sourceforge.net>
 3869 
 3870 	* libc/include/sys/unistd.h [__CYGWIN__] (get_current_dir_name):
 3871 	Declare.
 3872 
 3873 2012-01-09  Yaakov Selkowitz  <yselkowitz@users.sourceforge.net>
 3874 
 3875 	* libc/include/complex.h: Fix "/*" within comment warning.
 3876 
 3877 2012-01-09  Corinna Vinschen  <vinschen@redhat.com>
 3878 
 3879 	* libc/include/process.h: Remove Cygwin-only header.
 3880 
 3881 2012-01-03  Viachaslau Kulakouski  <Viachaslau.Kulakouski@oracle.com>
 3882 
 3883 	* libc/stdlib/__atexit.c: Refer to __atexit_lock instead of lock.
 3884 
 3885 2011-12-20  Aleksandr Platonov  <pam@oktetlabs.ru>
 3886 
 3887 	* libc/stdio/fvwrite.c (__sfvwrite_r): Set __SMBF flag to avoid double 
 3888 	free in fclose.  Enhance comment.
 3889 
 3890 2011-12-19  Jeff Johnston  <jjohnstn@redhat.com>
 3891 
 3892 	* NEWS: Update with 1.20.0 info.
 3893 	* README: Ditto.
 3894 	* acinclude.m4: Change version number to 1.20.0.
 3895 	* aclocal.m4: Regenerated.
 3896 	* configure: Ditto.
 3897 	* Makefile.in: Regenerated.
 3898 	* doc/aclocal.m4: Ditto.
 3899 	* doc/configure: Ditto.
 3900 	* libc/*/aclocal.m4: Ditto.
 3901 	* libc/*/configure: Ditto.
 3902 	* libc/libc.texinfo: Ditto.
 3903 	* libm/*/aclocal.m4: Ditto.
 3904 	* libm/*/configure: Ditto.
 3905 	* libm/libm.texinfo: Ditto.
 3906 	* libc/sys/linux/shared.ld: Add VERS_1.20
 3907 
 3908 2011-12-13  Richard Earnshaw  <rearnsha@arm.com>
 3909 	    Thomas Klein  <th.r.klein@web.de>
 3910 
 3911 	* libc/sys/arm/crt0.S: Manually set the target architecture
 3912 	when compiling for Thumb1 on EABI targets.
 3913 	Don't use SWI on M-profile cores.
 3914 	Avoid v6-only Thumb-1 MOV instruction.
 3915 
 3916 2011-12-12  Akio Idehara  <zbe64533@gmail.com>
 3917 
 3918 	* libc/time/strftime.c (get_era_info): Fix off-by-one error in month
 3919 	calculation.
 3920 
 3921 2011-12-06  Chris Johns  <chrisj@rtems.org>
 3922 
 3923 	* libc/iconv/Makefile.am (stmp-def): Use $(MAKE) rather than make.
 3924 	* libc/iconv/Makefile.in: Regenerate.
 3925 
 3926 2011-11-28  DJ Delorie  <dj@redhat.com>
 3927 
 3928 	* configure.host: Add rl78.
 3929 	* libc/include/machine/ieeefp.h: Add rl78 support.
 3930 	* libc/include/machine/setjmp.h: Add rl78 support.
 3931 	* libc/machine/configure.in: Add rl78.
 3932 	* libc/machine/rl78: New directory.
 3933 	* MAINTAINERS (rl78): Add myself as RL78 maintainer.
 3934 
 3935 2011-11-08  Corinna Vinschen  <vinschen@redhat.com>
 3936 
 3937 	* libc/iconv/ccs/Makefile.am: Add missing backslash.
 3938 	* libc/iconv/ccs/Makefile.in: Regenerate.
 3939 
 3940 2011-10-18  Dr David Alan Gilbert  <david.gilbert@linaro.org>
 3941 
 3942 	* libc/machine/arm/Makefile.am (lib_a_SOURCES): Add memchr-stub.c,
 3943 	memchr.S.
 3944 	* libc/machine/arm/arm_asm.h: Add ifdef to allow it to be included
 3945 	in .S files.
 3946 	* libc/machine/arm/memchr-stub.c: New file - just selects what to
 3947 	compile.
 3948 	* libc/machine/arm/memchr.S: New file - ARMv6t2/v7 version.
 3949 
 3950 	* libc/machine/arm/Makefile.am (lib_a_SOURCES): Add strlen-armv7.S.
 3951 	* libc/machine/arm/strlen-armv7.S: New file.
 3952 	* libc/machine/arm/strlen.c: Add ifdef optimised code so it isn't
 3953 	for v7 or 6t2.
 3954 
 3955 	* libc/machine/arm/Makefile.in: Regenerate.
 3956 
 3957 2011-10-11  Steven Abner <pheonix@zoomtown.com>
 3958 
 3959 	* libc/time/mktm_r.c: (__tzcalc_limits) Fix Julian day calculation.
 3960 	* libc/time/mktime.c: (mktime) Fix tm_yday, tm_mday updating when
 3961 	timezone causes roll over.
 3962 
 3963 2011-10-10  Nick Clifton  <nickc@redhat.com>
 3964 
 3965 	* libc/sys/arm/crt0.S: Synchronise with libgloss version.
 3966 	* libc/sys/arm/arm.h: Imported from libgloss.
 3967 
 3968 2011-10-04  Greta Yorsh  <Greta.Yorsh@arm.com>
 3969 
 3970 	* testsuite/newlib.string/memcpy-1.c: New test.
 3971 
 3972 2011-10-04  Nick Clifton  <nickc@redhat.com>
 3973 
 3974 	* libc/machine/arm/memcpy.S: Fix unaligned access copying.
 3975 
 3976 2011-09-29  Greta Yorsh  <Greta.Yorsh@arm.com>
 3977 
 3978 	* libc/machine/arm/memcpy.S: New file.  Contains a hand coded
 3979 	memcpy function optimized for the cortex-a15.
 3980 	* libc/machine/arm/memcpy-stub.c: New file.
 3981 	* libc/machine/arm/Makefile.am (lib_a_SOURCES): Add memcpy-stub.c,
 3982 	memcpy.S.
 3983 	* libc/machine/arm/Makefile.in: Regenerate.
 3984 
 3985 2011-09-08  Jeff Johnston  <jjohnstn@redhat.com>
 3986 
 3987 	* testsuite/lib/flags.exp: Add logic to add the
 3988 	srcdir include directory to compile flags.
 3989 
 3990 2011-08-26  Steven Abner  <pheonix@zoomtown.com>
 3991 
 3992 	* libc/time/mktm_r.c (_mktm_r): Fix previous fix.
 3993 
 3994 2011-08-24  Corinna Vinschen  <vinschen@redhat.com>
 3995 
 3996 	* libc/time/mktm_r.c (_mktm_r): Fix computing tm_year.
 3997 
 3998 2011-08-23  Ralf Cors├ępius  <ralf.corsepius@rtems.org>
 3999 
 4000 	* libc/stdlib/putenv_r.c: Use "strchr" instead of obsolete "index".
 4001 	* libc/stdlib/setenv_r.c: Use "memcpy" instead of obsolete "bcopy".
 4002 
 4003 2011-08-23  Ralf Cors├ępius  <ralf.corsepius@rtems.org>
 4004 
 4005 	* libc/misc/ffs.c, libc/string/bcmp.c, libc/string/bcopy.c,
 4006 	libc/string/bzero.c, libc/string/index.c, libc/string/rindex.c,
 4007 	libc/string/strcasecmp.c, libc/string/strncasecmp.c:
 4008 	Let synopsis reference "#include <strings.h>".
 4009 
 4010 2011-08-23  Ralf Cors├ępius  <ralf.corsepius@rtems.org>
 4011 
 4012 	* libc/posix/regexec.c: Define "nope" only #ifndef NDEBUG.
 4013 	* libc/stdio/vfscanf.c: Define "state" only #ifdef _MB_CAPABLE.
 4014 	* libc/string/wcwidth.c: Include <wctypes.h> for "iswprint" and
 4015 	"iswcntrl".
 4016 
 4017 2011-08-23  Ralf Cors├ępius  <ralf.corsepius@rtems.org>
 4018 
 4019 	* libc/sys/rtems/include/limits.h: Compute SSIZE_MAX based on
 4020 	__SIZE_MAX__, __SIZEOF_SIZE_T__ and __CHAR_BIT__.
 4021 
 4022 2011-08-22  Ralf Cors├ępius <ralf.corsepius@rtems.org>
 4023 
 4024 	* libc/string/index.c: Include <strings.h> for "index".
 4025 	* libc/string/rindex.c: Include <strings.h> for "rindex".
 4026 	* libc/string/strcasecmp.c: Include <strings.h> for "strcasecmp".
 4027 	Don't include <string.h>.
 4028 	* libc/string/strncasecmp.c: Include <strings.h> for "strncasecmp".
 4029 	Don't include <string.h>.
 4030 	* libc/string/bzero.c: Include <strings.h> for "bzero".
 4031 	Don't include <string.h>
 4032 	* libc/misc/ffs.c: Include <strings.h> for "ffs".
 4033 	Don't include <_ansi.h>.
 4034 
 4035 2011-08-19  Ralf Cors├ępius <ralf.corsepius@rtems.org>
 4036 
 4037 	* libc/sys/rtems/crt0.c: Rework RTEMS_STUB macro.
 4038 	Include <unistd.h>.
 4039 	Remove C++-style comments.
 4040 	Remove hppa, a29k.
 4041 	Add clock_gettime, gettimeofday, sched_yield.
 4042 
 4043 2011-08-19  Ralf Cors├ępius <ralf.corsepius@rtems.org>
 4044 
 4045 	* libc/stdio/vasiprintf.c: Include "local.h" for "_svfiprintf_r".
 4046 	* libc/stdio/vasprintf.c Include "local.h" for "_svfprintf_r".
 4047 	* libc/stdio/vsiprintf.c: Include "local.h" for "_svfiprintf_r".
 4048 	* libc/stdio/vsniprintf.c: Include "local.h" for "_svfiprintf_r".
 4049 	* libc/stdio/vsnprintf.c: Include "local.h" for "_svfprintf_r"
 4050 	* libc/stdio/vsprintf.c: Include "local.h" for "_svfprintf_r"
 4051 
 4052 2011-08-19  Ralf Cors├ępius <ralf.corsepius@rtems.org>
 4053 
 4054 	* libc/string/bcmp.c: Include <strings.h> for "bcmp".
 4055 	* libc/string/bcopy.c: Include <strings.h> for "bcopy".
 4056 	* libc/string/strcasestr.c: Include <strings.h> for "strncasecmp".
 4057 	* libc/time/strptime.c: Include <strings.h> for "strncasecmp".
 4058 
 4059 2011-08-19  Corinna Vinschen  <vinschen@redhat.com>
 4060 
 4061 	* libc/include/process.h: Remove exec family function declarations.
 4062 	Add comment.
 4063 	* libc/include/sys/unistd.h (execlpe): Declare for Cygwin.
 4064 
 4065 2011-08-19  Craig Howland  <howland@LGSInnovations.com>
 4066 
 4067 	* libc/time/mktime.c (validate_structure): Account for tm_mon possibly
 4068 	being given as negative.
 4069 	(mktime): Set tm_isdst=0 when !daylight.
 4070 
 4071 2011-08-01  Sebastian Huber  <sebastian.huber@embedded-brains.de>
 4072 
 4073 	* libc/include/sys/types.h: XML and RTEMS define
 4074 	_UNIX98_THREAD_MUTEX_ATTRIBUTES and can use the standard
 4075 	definitions. This avoids redefinition warnings.
 4076 
 4077 2011-07-26  Ralf Cors├ępius <ralf.corsepius@rtems.org>
 4078 
 4079 	* libc/sys/rtems/sys/dirent.h (scandir):
 4080 	Add const to "select" parameter.
 4081 
 4082 2011-07-25  Ralf Cors├ępius  <ralf.corsepius@rtems.org>
 4083 
 4084 	* libc/iconv/iconv.tex: Rename node "Introduction" into
 4085 	"Introduction to iconv".
 4086 
 4087 2011-07-20  Yaakov Selkowitz  <yselkowitz@...>
 4088 
 4089 	* libc/include/time.h [_POSIX_CLOCK_SELECTION] (clock_nanosleep):
 4090 	Declare.
 4091 	* libc/include/sys/features.h [__CYGWIN__] (_POSIX_CLOCK_SELECTION):
 4092 	Define.
 4093 
 4094 2011-07-19  Yaakov Selkowitz  <yselkowitz@users.sourceforge.net>
 4095 
 4096 	* libc/include/sys/unistd.h (_CS_XBS5_WIDTH_RESTRICTED_ENVS): Define.
 4097 	(_CS_V6_ENV): Fix definition.
 4098 
 4099 2011-07-19  Ralf Cors├ępius <ralf.corsepius@rtems.org>
 4100 
 4101 	* libc/locale/lmessages.c (_C_messages_locale):
 4102 	Move __HAVE_LOCALE_INFO_EXTENDED__ before codeset.
 4103 
 4104 2011-07-19  Matt Johnson  <johnso87@crhc.illinois.edu>
 4105 
 4106 	* libc/reent/sbrkr.c: Define _sbrk_r independently of the definition
 4107 	of MALLOC_PROVIDED.
 4108 
 4109 2011-07-15  Yufeng Zhang  <yufeng.zhang@arm.com>
 4110 
 4111 	* libc/stdio/vfwprintf.c (wcvt): Add a new parameter len of type
 4112 	int.  *length is set to the value of (rev - digits) regardless
 4113 	of whether _MB_CAPABLE is defined or not.  Replace BUF with len
 4114 	in calling _mbsnrtowcs_r and also in the loop where _MB_CAPABLE
 4115 	is not defined.
 4116 	(_VFWPRINTF_R): Call wcvt with an extra argument.  Call wcvt
 4117 	again with allocated new buffer if buf is not large enough for
 4118 	the conversion.
 4119 	* testsuite/newlib.stdio/stdio.exp: New.
 4120 	* testsuite/newlib.stdio/swprintf.c: Likewise.
 4121 
 4122 2011-07-15  Matt Johnson  <johnso87@crhc.illinois.edu>
 4123 
 4124 	* libc/stdio/fscanf.c (fscanf): Call _vfscanf_r instead of __svfscanf_r
 4125 	to make sure CHECK_INIT is called.
 4126 	(_fscanf_r): Ditto.
 4127 	* /libc/stdio/scanf.c (scanf): Ditto.
 4128 	(_scanf_r): Ditto.
 4129 	* libc/stdio/fwscanf.c (fwscanf): Call _vfwscanf_r instead of
 4130 	__svfwscanf_r to make sure CHECK_INIT is called.
 4131 	(_fwscanf_r): Ditto.
 4132 	* libc/stdio/wscanf.c (wscanf): Ditto.
 4133 	(_wscanf_r): Ditto.
 4134 
 4135 2011-07-13  Hans-Peter Nilsson <hp@axis.com>
 4136 
 4137 	* libm/complex/cacos.c: Use temporaries and correct sequencing
 4138 	error in previous reordering change.
 4139 
 4140 2011-06-25  Andreas Becker  <becker@se-elektronic.de>
 4141 
 4142 	* libc/time/mktime.c (mktime): Lock global timezone info while
 4143 	accessing it.
 4144 
 4145 2011-06-14  Philip Munts  <phil@munts.net>
 4146 
 4147 	* libc/time/asctime_r.c (asctime_r): Replace call to sprintf with call
 4148 	to siprintf.
 4149 	* libc/time/strftime.c: Define snprintf to sniprintf in multibyte case.
 4150 	* libc/time/tzset_r.c: Define sscanf to siscanf.
 4151 
 4152 2011-06-14  Joseph Myers  <joseph@codesourcery.com>
 4153 
 4154 	* configure.host: Don't handle ep9312, strongarm, xscale and thumb
 4155 	target names.
 4156 	* libc/machine/configure.in: Don't handle xscale target names.
 4157 	* libc/machine/configure: Regenerate.
 4158 
 4159 2011-06-14  Craig Howland <howland@LGSInnovations.com>
 4160 
 4161 	* libc/time/tzset_r.c (tzset_r):  Correct behavior for changing from
 4162 	non-GMT to GMT, when un-setting TZ.  Set _timezone and _daylight even
 4163 	if no DST is given in TZ.
 4164 
 4165 2011-06-13  Eric Blake  <eblake@redhat.com>
 4166 
 4167 	* libc/stdio/wsetup.c (__swsetup_r): Set errno on failure.
 4168 	* libc/stdio/fvwrite.c (__sfvwrite_r): Simplify.
 4169 	* libc/stdio/wbuf.c (__swbuf_r): Likewise.
 4170 	* libc/stdio/local.h (cantwrite): Adjust comment.
 4171 
 4172 2011-06-09  Yaakov Selkowitz  <yselkowitz@...>
 4173 
 4174 	* libc/include/string.h (strdupa): New macro function.
 4175 	(strndupa): New macro function.
 4176 
 4177 2011-05-27  Nick Clifton  <nickc@redhat.com>
 4178 
 4179 	* libc/sys/sysnecv850/sbrk.c (_sbrk): Tidy code.
 4180 	Base start of heap on the "heap_start" symbol.
 4181 
 4182 2011-05-25  Eric Blake  <eblake@redhat.com>
 4183 
 4184 	* libc/string/strerror.c (_strerror_r): Report "Success" for 0.
 4185 
 4186 2011-05-25  Eric Blake  <eblake@redhat.com>
 4187 
 4188 	* libc/string/strerror.c (strerror): Split body into...
 4189 	(_strerror_r): ...new reentrant function.
 4190 	* libc/string/u_strerr.c (_user_strerror): Update signature.
 4191 	* libc/include/string.h (_strerror_r): New prototype.
 4192 	* libc/posix/collate.c (__collate_err): Adjust callers.
 4193 	* libc/stdio/perror.c (_perror_r): Likewise.
 4194 	* libc/string/strerror_r.c (strerror_r): Likewise.
 4195 	* libc/string/xpg_strerror_r.c (__xpg_strerror_r): Likewise.
 4196 
 4197 2011-05-19  Yaakov Selkowitz  <yselkowitz@users.sourceforge.net>
 4198 
 4199 	* libc/include/stdio_ext.h: New header.
 4200 	* libc/stdio/fpurge.c [!__rtems__] (__fpurge): New function.
 4201 
 4202 2011-05-19  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
 4203 
 4204 	* Makefile.am (install-data-local): Fix condition and rm call.
 4205 	* Makefile.in: Regenerate.
 4206 
 4207 2011-05-16  Yaakov Selkowitz  <yselkowitz@users.sourceforge.net>
 4208 
 4209 	* libc/include/time.h (CLOCK_PROCESS_CPUTIME_ID): Rename from
 4210 	CLOCK_PROCESS_CPUTIME.
 4211 	(CLOCK_THREAD_CPUTIME_ID): Rename from CLOCK_THREAD_CPUTIME.
 4212 	* libc/include/sys/features.h [__CYGWIN__] (_POSIX_CPUTIME): Define.
 4213 	(_POSIX_THREAD_CPUTIME): Define.
 4214 
 4215 2011-05-16  Christian Bruel  <christian.bruel@st.com>
 4216 
 4217 	* libc/stdlib/strtod.c (_strtod_r): Fix nf/nd counts to not exceed
 4218 	DBL_DIG.
 4219 
 4220 2011-05-15  Corinna Vinschen  <vinschen@redhat.com>
 4221 
 4222 	* libc/include/sys/features.h (_POSIX_THREAD_ATTR_STACKADDR): Define
 4223 	to 200112L for Cygwin.
 4224 
 4225 2011-05-12  Peter Rosin  <peda@lysator.liu.se>
 4226 
 4227 	* libc/time/strptime.c (strptime): Fill in tm_yday when all of tm_year,
 4228 	tm_mon and tm_mday are updated. Fill in tm_mon, tm_mday and tm_wday
 4229 	when both of tm_year and tm_yday are updated.
 4230 
 4231 2011-05-12  Peter Rosin  <peda@lysator.liu.se>
 4232 
 4233 	* libc/time/strptime.c (first_day): Actually return the wday
 4234 	of the first day of the year.
 4235 
 4236 2011-05-10  Corinna Vinschen  <vinschen@redhat.com>
 4237 
 4238 	* libc/locale/lmessages.c (_C_messages_locale): Add missing comma.
 4239 
 4240 2011-05-04  Yaakov Selkowitz  <yselkowitz@users.sourceforge.net>
 4241 
 4242 	* libc/include/signal.h (psignal): Declare.
 4243 	* libc/sys/linux/psignal.c: Move from here...
 4244 	* libc/signal/psignal.c: ... to here. Document.
 4245 	* libc/sys/linux/Makefile.am (GENERAL_SOURCES): Move psignal.c from here...
 4246 	* libc/signal/Makefile.am (LIB_SOURCES): ... to here.
 4247 	(CHEWOUT_FILES): Add psignal.def.
 4248 	* libc/sys/linux/Makefile.in: Regenerate.
 4249 	* libc/signal/Makefile.in: Ditto.
 4250 	* libc/signal/signal.tex: Add references to psignal.
 4251 
 4252 2011-05-04  Corinna Vinschen  <vinschen@redhat.com>
 4253 
 4254 	* libc/locale/lmessages.h (__messages_load_locale): Declare.  Remove
 4255 	accidental declaration of __numeric_load_locale.
 4256 	* libc/locale/locale.c: Include timelocal.h to get declaration of
 4257 	__time_load_locale.
 4258 	(__set_locale_from_locale_alias): Fix return type.
 4259 	(__locale_msgcharset): Avoid compiler warnings.
 4260 	(_localeconv_r): Ditto.
 4261 
 4262 2011-05-04  Andy Koppe  <andy.koppe@gmail.com>
 4263 
 4264 	* libc/locale/locale.c (current_categories): On Cygwin, set LC_CTYPE 
 4265 	to C.UTF-8 to match initial __wctomb and __mbtowc settings.
 4266 	(lc_ctype_charset): On Cygwin, initialize to "UTF-8".
 4267 	(loadlocale): Remove unused Cygwin-specifc code.
 4268 
 4269 2011-05-02  Yaakov Selkowitz  <yselkowitz@users.sourceforge.net>
 4270 
 4271 	* libc/include/sys/features.h [__CYGWIN__] (_POSIX_SPIN_LOCKS): Define.
 4272 	* libc/include/sys/types.h: Cygwin provides its own pthread_spinlock_t
 4273 	typedef.
 4274 
 4275 2011-04-19  Corinna Vinschen  <vinschen@redhat.com>
 4276 
 4277 	* libc/include/sys/signal.h (_sig_func_ptr): Define with int parameter
 4278 	per POSIX.  Explain in comment.
 4279 
 4280 2011-04-15  Eric Blake  <eblake@redhat.com>
 4281 
 4282 	* libc/string/strchrnul.c (strchrnul): Fix strchrnul.
 4283 
 4284 2011-03-27  Yaakov Selkowitz  <yselkowitz@users.sourceforge.net>
 4285 
 4286 	* libc/include/string.h (strchrnul): Declare.
 4287 	* libc/string/strchrnul.c: New file.
 4288 	* libc/string/Makefile.am (ELIX_2_SOURCES): Add strchrnul.c.
 4289 	* libc/string/Makefile.in: Regenerate.
 4290 
 4291 2011-03-23  Nick Clifton  <nickc@redhat.com>
 4292 
 4293 	* libc/machine/frv/setjmp.S: Fix typo in .size directive.
 4294 
 4295 2011-03-21  Kevin Buettner  <kevinb@redhat.com>
 4296 
 4297 	* libc/sys/sysnecv850/trap.S (___trap0): Fix errno handling.
 4298 	* libc/sys/sysnecv850/rename.c: New file.
 4299 	* libc/sys/sysnecv850/Makefile.am (lib_a_SOURCES): Add rename.c
 4300 	* libc/sys/sysnecv850/Makefile.in: Regenerate.
 4301 	* libc/sys/sysnecv850/fstat.c (_fstat): Invoke trap for SYS_fstat.
 4302 	* libc/sys/sysnecv850/unlink.c (_unlink): Invoke trap for SYS_unlink.
 4303 
 4304 2011-03-03  Corinna Vinschen  <vinschen@redhat.com>
 4305 
 4306 	* libc/include/string.h: Include sys/cdefs.h.
 4307 
 4308 2011-03-03  Corinna Vinschen  <vinschen@redhat.com>
 4309 
 4310 	* libc/include/sys/cdefs.h (__CONCAT1): Define.
 4311 	(__CONCAT): Define.
 4312 	(__STRING): Define.
 4313 	(__XSTRING): Define.
 4314 	(__ASMNAME): Define.
 4315 	* libc/include/string.h (strerror_r): Use __ASMNAME to take target
 4316 	specific label prefixes into account.
 4317 
 4318 2011-03-01  Aaron Landwehr <snaphat@gmail.com>
 4319 
 4320 	* libm/complex/cproj.c: Fix typo.
 4321 	* libm/complex/cprojf.c: Ditto.
 4322 
 4323 2011-02-22  Corinna Vinschen  <vinschen@redhat.com>
 4324 
 4325 	* libc/stdio/fmemopen.c (fmemopen): Fix EINVAL condition.  Avoid SEGV
 4326 	if incoming buffer is NULL.
 4327 
 4328 2011-02-09  Eric Blake  <eblake@redhat.com>
 4329 
 4330 	* libc/include/string.h (strerror_r): Update declaration.
 4331 	* libc/string/strerror.c (strerror): Update documentation.
 4332 	* libc/string/strerror_r.c (strerror_r): Always return
 4333 	NUL-terminated string; don't overwrite too-short buf.
 4334 	* libc/string/xpg_strerror_r.c (__xpg_strerror_r): Implement POSIX
 4335 	variant.
 4336 	* libc/string/Makefile.am (GENERAL_SOURCES): Build new file.
 4337 	* libc/string/Makefile.in: Regenerate.
 4338 
 4339 2011-01-28  Corinna Vinschen  <vinschen@redhat.com>
 4340 
 4341 	* libc/stdio/fclose.c: Only use sfp lock to guard non-atomic
 4342 	changes of flags and fp lock.
 4343 	* libc/stdio/freopen.c: Ditto.
 4344 	* libc/stdio64/freopen64.c: Ditto.
 4345 	* libc/stdio/fgetc.c: Revert change from 2009-04-24, remove sfp locks
 4346 	which guard entire function to avoid potential deadlocks when using
 4347 	stdio functions in multiple thraeds.
 4348 	* libc/stdio/fgets.c: Ditto.
 4349 	* libc/stdio/fgetwc.c: Ditto.
 4350 	* libc/stdio/fgetws.c: Ditto.
 4351 	* libc/stdio/fread.c: Ditto.
 4352 	* libc/stdio/fseek.c: Ditto.
 4353 	* libc/stdio/getc.c: Ditto.
 4354 	* libc/stdio/getdelim.c: Ditto.
 4355 	* libc/stdio/gets.c: Ditto.
 4356 	* libc/stdio/vfscanf.c: Ditto.
 4357 	* libc/stdio/vfwscanf.c: Ditto.
 4358 
 4359 	* libc/stdio/fflush.c (_fflush_r): Split out core functionality into
 4360 	new function __sflush_r.  Just lock file and call __sflush_r from here.
 4361 	* libc/stdio/fwalk.c (_fwalk): Remove static helper function and move
 4362 	functionality back into main function. Don't walk a file with flags
 4363 	value of 1.  Add comment.
 4364 	(_fwalk_reent): Ditto.
 4365 	* libc/stdio/local.h (__sflush_r): Declare.
 4366 	* libc/stdio/refill.c (__srefill): Before calling fwalk, set flags
 4367 	value to 1 so this file pointer isn't walked.  Revert flags afterwards
 4368 	and call __sflush_r for this fp if necessary.  Add comments.
 4369 
 4370 2011-01-27  Corinna Vinschen  <vinschen@redhat.com>
 4371 
 4372 	* libc/include/sys/features.h: Define __STDC_ISO_10646__ for Cygwin.
 4373 	* libc/include/wchar.h: Include features.h.
 4374 
 4375 2011-01-15  Yaakov Selkowitz  <yselkowitz@users.sourceforge.net>
 4376 
 4377 	* libc/include/sys/types.h (ulong): Add typedef.
 4378 
 4379 2011-01-12  Ralf Cors├ępius  <ralf.corsepius@rtems.org>
 4380 
 4381 	* libm/math/w_tgamma.c: Only build ifndef _DOUBLE_IS_32BITS.
 4382 	* libm/math/wf_tgamma.c: Map tgamma to tgammaf, ifdef _DOUBLE_IS_32BITS.
 4383 
 4384 2011-01-12  Jeff Johnston  <jjohnstn@redhat.com>
 4385 
 4386 	* configure.host: Add noinclude variable to allow specification
 4387 	of header files to remove from installation.
 4388 	* acinclude.m4: Provide NO_INCLUDE_LIST variable based on
 4389 	noinclude variable in configure.host.
 4390 	* configure: Regenerated.
 4391 	* Makefile.am: Remove all header files in NO_INCLUDE_LIST.
 4392 	* Makefile.in: Regenerated.
 4393 
 4394 2011-01-12  Yaakov Selkowitz  <yselkowitz@users.sourceforge.net>
 4395 
 4396 	* libc/sys/linux/sys/signal.h (sig_t): Move from here...
 4397 	* libc/include/signal.h (sig_t): ...to here.
 4398 
 4399 2011-01-10  Corinna Vinschen  <vinschen@redhat.com>
 4400 
 4401 	* libc/machine/mips/strlen.c (strlen): Add delay slot for R3000.
 4402 
 4403 2011-01-10  Joel Sherrill <joel.sherrill@oarcorp.com>
 4404 
 4405 	* libc/include/string.h: Make strsignal() available unconditionally.
 4406 
 4407 2011-01-07  Ralf Corsepius  <ralf.corsepius@rtems.org>
 4408 
 4409 	* libc/sys/rtems/crt0.c: Adjust free() and calloc() to match their
 4410 	public decls.
 4411 
 4412 2011-01-05  Ralf Corsepius  <ralf.corsepius@rtems.org>
 4413 
 4414 	* Makefile.am: Move cleaning targ-include to clean-local.
 4415 	* Makefile.in: Regenerate.
 4416 
 4417 2011-01-05  Ralf Corsepius  <ralf.corsepius@rtems.org>
 4418 
 4419 	* libc/stdio/open_memstream.c (internal_open_memstream_r):
 4420 	Don't limit c->max to 64*1024 on targets with SIZE_MAX < 64*1024.
 4421 
 4422 2011-01-05  Ralf Corsepius  <ralf.corsepius@rtems.org>
 4423 
 4424 	* libc/xdr/xdr.c: Fix typos in #errors.
 4425 
 4426 2011-01-05  Ralf Corsepius  <ralf.corsepius@rtems.org>
 4427 
 4428 	* libc/xdr/xdr_private.h: Include <stdint.h>
 4429 	* libc/xdr/xdr_rec.c: Include limits.h
 4430 
 4431 2011-01-05  Ralf Corsepius  <ralf.corsepius@rtems.org>
 4432 
 4433 	* libc/Makefile.am (SUBDEFS): Remove redundant posix/stmp-def.
 4434 	* libc/Makefile.in: Regenerate.
 4435 
 4436 2011-01-05  Ralf Corsepius  <ralf.corsepius@rtems.org>
 4437 
 4438 	* libc/configure.in: Remove redundant posix_dir processing.
 4439 	* libc/configure: Regenerate.
 4440 
 4441 2010-12-31  Ralf Corsepius  <ralf.corsepius@rtems.org>
 4442 
 4443 	* MAINTAINERS: Change corinna@vinchen.de to corinna@vinschen.de.
 4444 
 4445 2010-12-26  Christopher Faylor  <me+cygwin@cgf.cx>
 4446 
 4447 	* libc/include/sys/errno.h (program_invocation_name): Declare.
 4448 	(program_invocation_short_name): Ditto.
 4449 
 4450 2010-12-16  Jeff Johnston  <jjohnstn@redhat.com>
 4451 
 4452 	* NEWS: Update with 1.19.0 info.
 4453 	* README: Ditto.
 4454 	* MAINTAINERS: Update.
 4455 	* acinclude.m4: Change version number to 1.19.0.
 4456 	* aclocal.m4: Regenerated.
 4457 	* configure: Ditto.
 4458 	* Makefile.am: Fix stmp-targ-include target.
 4459 	* Makefile.in: Regenerated.
 4460 	* doc/aclocal.m4: Ditto.
 4461 	* doc/configure: Ditto.
 4462 	* libc/*/aclocal.m4: Ditto.
 4463 	* libc/*/configure: Ditto.
 4464 	* libc/libc.texinfo: Ditto.
 4465 	* libm/*/aclocal.m4: Ditto.
 4466 	* libm/*/configure: Ditto.
 4467 	* libm/libm.texinfo: Ditto.
 4468 	* libc/sys/linux/shared.ld: Add VERS_1.19
 4469 
 4470 2010-12-14  Jeff Johnston  <jjohnstn@redhat.com>
 4471 
 4472 	* Makefile.am: Add support to copy all sub-directories of the
 4473 	sys/SYS_DIR/include directory, if they contain header files.
 4474 	* Makefile.in: Regenerated.
 4475 
 4476 2010-12-08  Jeff Johnston  <jjohnstn@redhat.com>
 4477 
 4478 	* libm/mathfp/sf_logarithm.c: Change isfinitef reference to isfinite.
 4479 
 4480 2010-12-08  Ralf Corsepius <ralf.corsepius@rtems.org>
 4481 
 4482 	* include/sys/types.h: Add #if defined(__rtems__) around
 4483 	pthread_attr_t.guardsize.
 4484 
 4485 2010-12-08  Joel Sherrill <joel@OARcorp.com>
 4486 
 4487 	* include/pthread.h: Add pthread_attr_setstack, pthread_attr_getstack,
 4488 	pthread_attr_getguardsize, pthread_attr_setguardsize.
 4489 	* include/sys/types.h (pthread_attr_t): Add guardsize.
 4490 
 4491 2010-12-08  Corinna Vinschen  <corinna@vinschen.de>
 4492 
 4493 	* libc/include/strings.h: Don't include locale.h.
 4494 
 4495 2010-12-07  Eric Blake  <eblake@redhat.com>
 4496 
 4497 	* libc/include/strings.h: Don't declare removed functions when
 4498 	requesting POSIX 2008 compliance.
 4499 
 4500 2010-12-07  Jeff Johnston  <jjohnstn@redhat.com>
 4501 
 4502 	* libc/stdlib/strtod.c (_strtod_r): Fix code to handle case whereby
 4503 	_DOUBLE_IS_32BITS is set and DBL_DIGS is 6 instead of 15.
 4504 
 4505 2010-12-07  Ralf Cors├ępius  <ralf.corsepius@rtems.org>
 4506 
 4507 	* libc/include/strings.h: New (split-out from string.h).
 4508 
 4509 2010-12-03  Craig Howland <howland@LGSInnovations.com>
 4510 
 4511 	* libc/include/math.h: Missing from previous checkin.
 4512 
 4513 2010-12-02  Craig Howland <howland@LGSInnovations.com>
 4514 
 4515 	* libm/common/s_log2.c:  Change from using M_LOG2_E to M_LN2 define
 4516 	(from math.h--the latter is POSIX, the former non-standard).
 4517 	* libm/common/sf_log2.c:  Ditto.  Change cast for M_LN2 from float to
 4518 	float_t (in case all math not done in float).
 4519 	* libc/include/math.h:  Ditto (same 2 things as sf_log2.c).
 4520 
 4521 2010-12-02  Jayant Sonar  jayant.sonar@kpitcummins.com
 4522 	    Kaushik Phatak  kaushik.phatak@kpitcummins.com
 4523 
 4524 	* configure.host: Add CR16 support.
 4525 	* libc/include/machine/ieeefp.h: Ditto.
 4526 	* libc/include/machine/setjmp.h: Ditto.
 4527 	* libc/include/sys/config.h: Ditto.
 4528 	* libc/machine/configure.in: Ditto
 4529 	* libc/machine/configure: Regenerated
 4530 	* libc/machine/cr16/aclocal.m4: New.
 4531 	* libc/machine/cr16/configure.in: New
 4532 	* libc/machine/cr16/configure: New
 4533 	* libc/machine/cr16/getenv.c: New
 4534 	* libc/machine/cr16/Makefile.am: New
 4535 	* libc/machine/cr16/Makefile.in: New
 4536 	* libc/machine/cr16/setjmp.S: New
 4537 	* libc/machine/cr16/sys/asm.h: New
 4538 	* libc/machine/cr16/sys/libh.h: New
 4539 	* libc/machine/cr16/sys/syscall.h: New
 4540 
 4541 2010-11-29  Ralf Cors├ępius  <ralf.corsepius@rtems.org>
 4542 
 4543 	* libm/complex/catan.c, libm/complex/catanf.c,
 4544 	libm/complex/ctan.c, libm/complex/ctanf.c:
 4545 	Use HUGE_VAL instead of MAXNUM.
 4546 
 4547 2010-11-25  Ralf Cors├ępius  <ralf.corsepius@rtems.org>
 4548 
 4549 	* libm/complex/cargf.c: Use crealf instead of creal.
 4550 
 4551 2010-11-19  Andy Koppe <andy.koppe@gmail.com>
 4552 
 4553 	* libc/locale/locale.c (loadlocale): Recognise the "cjknarrow"
 4554 	modifier on "C.<charset>" locales too.
 4555 
 4556 2010-11-18  Andy Koppe <andy.koppe@gmail.com>
 4557 
 4558 	* libc/locale/locale.c (loadlocale): Fix width of CJK ambigous
 4559 	characters to 1 for singlebyte charsets and 2 for non-Unicode
 4560 	multibyte charsets. Change documentation accordingly.
 4561 
 4562 2010-11-17  Bernd Schmidt  <bernds@codesourcery.com>
 4563 
 4564 	* configure.host (newlib_cflags): For tic6x, add -DCLOCK_PROVIDED.
 4565 
 4566 2010-11-16  Andrew Makhorin <mao@gnu.org>
 4567 
 4568 	* libc/machine/i386/setjmp.S (longjmp): Per POSIX, return 1 if second
 4569 	argument is 0.
 4570 
 4571 2010-11-16  Ralf Cors├ępius  <ralf.corsepius@rtems.org>
 4572 
 4573 	* libc/include/sys/types.h: Add _mode_t for __rtems__.
 4574 	* libc/sys/rtems/machine/_types.h: Provide _mode_t, _fpos_t, _off_t.
 4575 	Add _ssize_t for 64bit sparc.
 4576 	Let arm, i386, m68k, mips, PPC, sparc use 64bit _off_t, _fpos_t.
 4577 
 4578 2010-11-16  Ralf Cors├ępius  <ralf.corsepius@rtems.org>
 4579 
 4580 	* configure.host: Add -D_COMPILING_NEWLIB to newlib_cflags.
 4581 
 4582 2010-11-04  Ralf Cors├ępius  <ralf.corsepius@rtems.org>
 4583 
 4584 	* libm/complex/cacos.c: Reorder function calls to work around ICE
 4585 	in arm/thumb-gcc.
 4586 
 4587 2010-10-27  Maurice Baijens  <maurice.baijens@ellips.nl>
 4588 
 4589 	* libc/stdlib/strtol.c: Make sure signed characters are not
 4590 	sign-extended when converted to int and passed to ctype macros.
 4591 	* libc/stdlib/strtoul.c: Ditto.
 4592 	* libc/stdlib/strtoll_r.c: Ditto.
 4593 	* libc/stdlib/strtoull_r.c: Ditto.
 4594 
 4595 2010-10-18  Marco Atzeri  <marco_atzeri@yahoo.it>
 4596 
 4597 	* libm/Makefile.am: added complex functions documentation
 4598 	* libm/libm.texinfo: ditto
 4599 	* libm/complex/Makefile.am: Ditto
 4600 	* libm/complex/complex.tex: Ditto
 4601 	* libm/complex/(cabs.c, cacos.c, cacosh.c, carg.c,
 4602      	casin.c, casinh.c, catan.c, catanh.c, ccos.c, ccosh.c,
 4603      	cexp.c, cimag.c, clog.c, conj.c, cpow.c, cproj.c, creal.c,
 4604      	csin.c, csinh.c, csqrt.c, ctan.c, ctanh.c): Ditto
 4605 	* libm/Makefile.in: Regenerate
 4606 	* libm/complex/Makefile.in: Ditto 
 4607 
 4608 2010-10-14  Craig Howland <howland@LGSInnovations.com>
 4609 
 4610 	* libc/include/math.h:  Delete cabs() and cabs() prototypes
 4611 	(c.f. 2010-10-08 change by Corinna).
 4612 
 4613 2010-10-08  Bernd Schmidt  <bernds@codesourcery.com>
 4614 	Joseph Myers  <joseph@codesourcery.com>
 4615 
 4616 	* configure.host: Handle tic6x targets.
 4617 	* libc/include/machine/ieeefp.h: Define endianness for C6X.
 4618 	* libc/include/machine/setjmp.h: Add __TMS320C6X__ case.
 4619 	* libc/machine/configure.in: Handle tic6x targets.
 4620 	* libc/machine/configure: Regenerate.
 4621 	* libc/machine/tic6x/Makefile.am, libc/machine/tic6x/configure.in,
 4622 	libc/machine/tic6x/setjmp.S: New.
 4623 	* libc/machine/tic6x/Makefile.in, libc/machine/tic6x/aclocal.m4,
 4624 	libc/machine/tic6x/configure: New (generated).
 4625 
 4626 2010-10-08  Ralf Cors├ępius  <ralf.corsepius@rtems.org>
 4627 
 4628 	* libc/include/sys/unistd.h: Declare getsid, setegid, seteuid for RTEMS.
 4629 
 4630 2010-10-08  Ralf Cors├ępius  <ralf.corsepius@rtems.org>
 4631 
 4632 	* libm/common/sf_llrint.c, libm/common/sf_round.c: Add explicit casts
 4633 	to __uint32_t to avoid overflows on implicit casts.
 4634 
 4635 2010-10-08  Ralf Cors├ępius  <ralf.corsepius@rtems.org>
 4636 
 4637 	* libm/complex/complex.tex: Add empty stub.
 4638 
 4639 2010-10-08  Corinna Vinschen  <corinna@vinschen.de>
 4640 
 4641 	* libm/math/w_cabs.c: Delete.
 4642 	* libm/math/wf_cabs.c: Delete.
 4643 	* libm/math/Makefile.am (src): Remove w_cabs.c.
 4644 	(fsrc): Remove wf_cabs.c.
 4645 	* libm/math/Makefile.in: Regenerate.
 4646 
 4647 2010-10-08  Marco Atzeri  <marco_atzeri@yahoo.it>
 4648 
 4649 	* libc/include/complex.h: New complex header.
 4650 	* libm/common/fdlibm.h: Added ifdef _COMPLEX_H.
 4651 	* libm/complex/*: New complex functions imported from NetBSD.
 4652 	* libm/Makefile.am: Added complex subdir.
 4653 	* libm/Makefile.in: Regenerate.
 4654 	* libm/configure.in: Added complex subdir.
 4655 	* libm/configure: Regenerate.
 4656 
 4657 2010-10-06  Eric Blake  <eblake@redhat.com>
 4658 
 4659 	* lib/str-two-way.h (two_way_long_needle): Avoid bug with long
 4660 	periodic needle having false positive.  Affects memmem, strstr,
 4661 	strcasestr.
 4662 
 4663 2010-09-21  Craig Howland <howland@LGSInnovations.com>
 4664 
 4665 	* libc/string/memcpy.c: Do not assign size_t parameter to int.
 4666 	Use parameter directly, instead.
 4667 	* libc/string/memccpy.c:  Likewise.
 4668 	* libc/string/mempcpy.c:  Likewise.
 4669 	* libc/string/memmove.c:  Likewise.
 4670 
 4671 2010-09-09  Kevin Buettner  <kevinb@redhat.com>
 4672 
 4673 	* libc/sys/sysnecv850/Makefile.am (lib_a_SOURCES): Provide an
 4674 	empty definition.
 4675 	* libc/sys/sysnecv850/Makefile.in: Regenerate.
 4676 
 4677 2010-08-25  Sebastian Huber  <sebastian.huber@embedded-brains.de>
 4678 
 4679 	* libc/posix/opendir.c (opendir): Fix potential memory leak.
 4680 
 4681 2010-08-10  Yaakov Selkowitz  <yselkowitz@users.sourceforge.net>
 4682 
 4683 	* libc/include/sys/dir.h: New BSD-compatibility header.
 4684 
 4685 2010-08-02  Yaakov Selkowitz  <yselkowitz@users.sourceforge.net>
 4686 
 4687 	* libc/include/sys/features.h: Define _POSIX_MONOTONIC_CLOCK for Cygwin.
 4688 
 4689 2010-08-06  Corinna Vinschen  <corinna@vinschen.de>
 4690 
 4691 	* libc/include/sys/stat.h: Move all POSIX-defined symbolic constants
 4692 	out of `#ifndef _POSIX_SOURCE' guard.
 4693 
 4694 2010-08-03  Craig Howland <howland@LGSInnovations.com>
 4695 
 4696 	* libm/common/s_lrint.c (lrint):  Annotate shift operations with
 4697 	possible shift amount ranges, and use SAFE_RIGHT_SHIFT to avoid
 4698 	undefined behaviour.
 4699 	* libm/common/s_llrint.c (llrint):  Likewise.
 4700 	* libm/common/s_lround.c (lround):  Correct some comments on ranges.
 4701 	* libm/common/s_llround.c (llround):  Likewise.
 4702 
 4703 2010-07-30  Anthony Green  <green@moxielogic.com>
 4704 
 4705 	* libc/sys/rtems/machine/_types.h: Add moxie support.
 4706 
 4707 2010-07-23  Naveen.H.S  <naveenh1@kpitcummins.com>
 4708             Gina Verlekar <gina.verlekar@kpitcummins.com>
 4709 
 4710         * configure.host: Compact v850* support and add
 4711 	check for newlib_may_supply_syscalls.
 4712         * libc/sys/sysnecv850/Makefile.am: Add support for
 4713         '--disable-newlib-supplied-syscalls' option.
 4714         * libc/sys/sysnecv850/Makefile.in: Regenerated.
 4715 
 4716 2010-07-20  Dave Korn  <dave.korn.cygwin@gmail.com>
 4717 
 4718 	* libm/common/fdlibm.h (SAFE_LEFT_SHIFT): New macro definition.
 4719 	(SAFE_RIGHT_SHIFT): Likewise.
 4720 	* libm/common/s_llround.c (llround): Annotate shift operations with
 4721 	possible shift amount ranges, and use SAFE_RIGHT_SHIFT to avoid
 4722 	undefined behaviour.
 4723 	* libm/common/s_lround.c (lround): Likewise.
 4724 
 4725 2010-07-19  Eric Blake  <eblake@redhat.com>
 4726 
 4727 	* libc/stdio/mktemp.c (_gettemp): Add parameter, all callers
 4728 	changed.
 4729 	(mkostemp, _mkostemp_r, mkostemps, _mkostemps_r): New interfaces,
 4730 	for ELIX level 4.
 4731 	* libc/include/stdlib.h (mktemp): Avoid namespace issues.
 4732 	(mkostemp, mkostemps): Declare.
 4733 
 4734 2010-07-13  Corinna Vinschen  <corinna@vinschen.de>
 4735 
 4736 	* libc/include/signal.h (sighandler_t): Only define if _POSIX_SOURCE
 4737 	is undefined.
 4738 
 4739 2010-07-06  Corinna Vinschen  <corinna@vinschen.de>
 4740 
 4741 	* libc/posix/rewinddir.c (rewinddir): Remove incorrect cast to off_t.
 4742 	* libc/sys/rtems/sys/dirent.h (_seekdir): Add prototype.
 4743 	* libc/sys/linux/sys/dirent.h (_seekdir): Fix prototype to use long
 4744 	rather than off_t.
 4745 
 4746 2010-07-01  Yaakov Selkowitz  <yselkowitz@users.sourceforge.net>
 4747 
 4748 	* libc/include/signal.h (sighandler_t): Add typedef.
 4749 
 4750 2010-06-29  Antony King  <antony.king@st.com>
 4751 
 4752 	* libc/ctype/ctype_.c (__ctype_ptr): Reinstate definition (guarded by
 4753 	_NEED_OLD_CTYPE_PTR_DEFINITION) for backwards compatibility with newlib
 4754 	1.16.0 and earlier.
 4755 
 4756 2010-06-28  Yaakov Selkowitz  <yselkowitz@users.sourceforge.net>
 4757 
 4758 	* libc/include/sys/stat.h: Add ACCESSPERMS, ALLPERMS, and DEFFILEMODE.
 4759 
 4760 2010-06-18  Pavel Pisa <ppisa4lists@pikron.com>
 4761 
 4762 	* libc/include/machine/ieeefp.h[__arm__][!__VFP_FP__]: Set to
 4763 	__IEEE_BIG_ENDIAN and set __IEEE_BYTES_LITTLE_ENDIAN appropriately
 4764 	based on __ARMEL flag.
 4765 	* libc/include/machine/endian.h: To set byte order to LITTLE_ENDIAN,
 4766 	check for __IEEE_LITTLE_ENDIAN or __IEEE_BYTES_LITTLE_ENDIAN.
 4767 
 4768 2010-06-09  Paul Brook  <paul@codesourcery.com>
 4769 
 4770 	* libc/include/sys/reent.h (_reent): Adjust _REENT_SMALL to be
 4771 	binary compatible with normal layout.
 4772 	(_REENT_INIT): Adjust to match struct layout.
 4773 
 4774 2010-06-08  Jeff Johnston  <jjohnstn@redhat.com>
 4775 
 4776 	* libc/include/wordexp.h: Add __cplusplus wrapper.
 4777 
 4778 2010-06-08  Jeff Johnston  <jjohnstn@redhat.com>
 4779 
 4780 	* configure.in: Add test for enable-newlib-register-fini
 4781 	to set the _WANT_REGISTER_FINI flag.
 4782 	* configure: Regenerated.
 4783 	* Makefile.in: Ditto.
 4784 	* newlib.hin: Add _WANT_REGISTER_FINI flag.
 4785 	* libc/stdlib/__call_atexit.c: Add test for
 4786 	_WANT_REGISTER_FINI to enable the register_fini function.
 4787 
 4788 2010-06-04  Mark Mitchell  <mark@codesourcery.com>
 4789 
 4790 	* libc/stdlib/__call_atexit.c (__libc_fini): Declare.
 4791 	(register_fini): New function.
 4792 	* libc/misc/init.c (_fini): Remove.
 4793 	(__libc_fini_array): Likewise.
 4794 	* libc/misc/fini.c: New file.
 4795 	* libc/misc/Makefile.am (LIB_SOURCES): Add fini.c.
 4796 	* libc/misc/Makefile.in: Regenerate.
 4797 
 4798 2010-05-31  Kazu Hirata  <kazu@codesourcery.com>
 4799 
 4800 	* libc/stdlib/mallocr.c (malloc_extend_top): Backport the
 4801 	difference between versions 2.6.4 and 2.6.5.
 4802 
 4803 2010-05-18  Christopher Faylor  <me+cygwin@cgf.cx>
 4804 
 4805 	* libc/string/strsignal.c (strsignal): Avoid duplicate case statement
 4806 	where SIGPWR == SIGLOST.
 4807 
 4808 2010-05-11  Jeff Johnston  <jjohnstn@redhat.com>
 4809 
 4810 	* libc/stdlib/__call_atexit.c: Fix lock to be of type
 4811 	_LOCK_RECURSIVE_T as recursive usage is needed.
 4812 
 4813 2010-05-11  Jeff Johnston  <jjohnstn@redhat.com>
 4814 
 4815 	* libc/locale/locale.c (loadlocale): Fix dangling
 4816 	switch statement caused by __HAVE_LOCALE_INFO__ not being
 4817 	defined.
 4818 
 4819 2010-05-11  Joel Sherrill <joel.sherrill@oarcorp.com>
 4820 
 4821 	* libc/string/strsignal.c: New file.
 4822 	* libc/string/Makefile.am: Add support for strsignal.
 4823 	* libc/string/strings.tex: Ditto.
 4824 	* libc/string/Makefile.in: Regenerated.
 4825 
 4826 2010-05-05  DJ Delorie  <dj@redhat.com>
 4827 
 4828 	* libc/Makefile.am (stmp-sigset, stmp-iconvset, stmp-extra,
 4829 	stmp-stdio64, stmp-posix,stmp-targetdep): Use unique temporary
 4830 	file names to allow for parallel installs.
 4831 	(CLEANFILES): Add new temporary file names.
 4832 	* libc/Makefile.in: Regenerate.
 4833 
 4834 2010-05-03  Corinna Vinschen  <corinna@vinschen.de>
 4835 
 4836 	* libc/locale/lctype.c: Include <string.h> and "setlocale.h".
 4837 	(_C_ctype_locale): Add braces to initializer.
 4838 	(__ctype_load_locale): Fix compiler warnings in non-Cygwin case.
 4839 	* libc/locale/nl_langinfo.c (nl_langinfo): Expose _NL_CTYPE_MB_CUR_MAX
 4840 	case only if __HAVE_LOCALE_INFO__ is defined.
 4841 
 4842 2010-05-02  Corinna Vinschen  <corinna@vinschen.de>
 4843 
 4844 	* libc/stdlib/wctob.c (wctob): Reorganize and fix WEOF check.  Rename
 4845 	pwc to pmb and convert to array to avoid buffer overflow.  Rename c to
 4846 	wc.  Check wc for WEOF instead of for EOF.  Return first byte of pmb if
 4847 	__wctomb conversion returned exactly one byte, EOF otherwise.
 4848 
 4849 2010-04-30  Corinna Vinschen  <corinna@vinschen.de>
 4850 
 4851 	* libc/include/langinfo.h: Fix #endif positioning.
 4852 
 4853 2010-04-28  Corinna Vinschen  <corinna@vinschen.de>
 4854 
 4855 	Extend locale support to maintain wide char values of native strings
 4856 	if __HAVE_LOCALE_INFO_EXTENDED__ is defined.
 4857 	* libc/include/langinfo.h (enum __nl_item): New type.  Define all
 4858 	native values accessible through nl_langinfo.  Define previously
 4859 	existing POSIX-compatible values as macros as well.
 4860 	* libc/include/stdlib.h (__mb_cur_max): Drop declaration.
 4861 	(__locale_mb_cur_max): Declare.
 4862 	(MB_CUR_MAX): Re-define calling __locale_mb_cur_max.
 4863 	* libc/locale/Makefile.am (ELIX_SOURCES): Add lctype.c.
 4864 	* libc/locale/Makefile.in: Regenerate.
 4865 	* libc/locale/lctype.c: New file to define and load LC_CTYPE category.
 4866 	* libc/locale/lctype.h: New file, matching header.
 4867 	* libc/locale/lmessages.c (_C_messages_locale): Add default values for
 4868 	wide char members.
 4869 	(__messages_load_locale): Add _C_messages_locale in call to 
 4870 	__set_lc_messages_from_win.
 4871 	* libc/locale/lmessages.h (struct lc_messages_T): Add wide char members.
 4872 	* libc/locale/lmonetary.c (_C_monetary_locale):  Add default values for
 4873 	wide char members.
 4874 	(__monetary_load_locale): Add _C_monetary_locale in call to
 4875 	__set_lc_monetary_from_win.
 4876 	* libc/locale/lmonetary.h (struct lc_monetary_T): Add wide char members.
 4877 	Add numerical values for international currency formatting per
 4878 	POSIX-1.2008, if __HAVE_LOCALE_INFO_EXTENDED__ is defined.
 4879 	* libc/locale/lnumeric.c (_C_numeric_locale): Add default values for
 4880 	wide char members.
 4881 	(__numeric_load_locale): Add _C_numeric_locale in call to
 4882 	__set_lc_numeric_from_win.
 4883 	* libc/locale/lnumeric.h (struct lc_numeric_T): Add wide char members.
 4884 	* libc/locale/locale.c (loadlocale): Return doing nothing if category
 4885 	locale didn't change.  Convert category if chain to switch statement.
 4886 	Call __ctype_load_locale in LC_CTYPE case.
 4887 	(__locale_charset): Add (but disable for now) returning codeset from
 4888 	__get_current_ctype_locale.
 4889 	(__locale_mb_cur_max): Add (but disable for now) returning mb_cur_max
 4890 	from __get_current_ctype_locale.
 4891 	(__locale_msgcharset): Add returning codeset from
 4892 	__get_current_messages_locale.
 4893 	(_localeconv_r): Accommodate int_XXX values.
 4894 	* libc/locale/nl_langinfo.c (nl_ext): New array to define what is to
 4895 	be returned for non-POSIX values.
 4896 	(nl_Langinfo): Return correct codeset for each locale category.  Return
 4897 	extended values if __HAVE_LOCALE_INFO_EXTENDED__ is defined.
 4898 	* libc/locale/timelocal.c (_C_time_locale): Add default values for
 4899 	wide char members.
 4900 	(__time_load_locale): Add _C_time_locale in call to
 4901 	__set_lc_time_from_win.
 4902 	* libc/locale/timelocal.h (struct lc_time_T): Add wide char members.
 4903 	* libc/stdio/vfwprintf.c (_VFWPRINTF_R): Use wide char decimal point
 4904 	and thousands_sep if __HAVE_LOCALE_INFO_EXTENDED__ is defined.
 4905 	* libc/time/strftime.c: Rework to accommodate availability of wide char
 4906 	strings in LC_TIME category if __HAVE_LOCALE_INFO_EXTENDED__ is defined.
 4907 
 4908 2010-04-22  DJ Delorie  <dj@redhat.com>
 4909 
 4910 	* libc/Makefile.am (SUBDEFS): Add LIBC_POSIX_DEF.
 4911 	(libc.info): Add posix.texi.
 4912 	(libc.dvi): Likewise.
 4913 	(stmp-posix): New.
 4914 	(posix.texi): New.
 4915 	(libc_TEXINFOS): Add posix.texi.
 4916 	* libc/configure.in (LIBC_POSIX_LIB, LIBC_POSIX_DEF): Add
 4917 	tests.
 4918 	* libc/libc.texinfo: Include posix.texi
 4919 	* libc/locale/locale.c: Fix texinfo typo.
 4920 	* libc/time/strftime.c: Fix texinfo typo.
 4921 
 4922 	* libc/configure: Regenerate.
 4923 	* libc/Makefile.in: Regenerate.
 4924 	* libc/argz/Makefile.in: Regenerate.
 4925 	* libc/ctype/Makefile.in: Regenerate.
 4926 	* libc/errno/Makefile.in: Regenerate.
 4927 	* libc/iconv/Makefile.in: Regenerate.
 4928 	* libc/iconv/ccs/Makefile.in: Regenerate.
 4929 	* libc/iconv/ccs/binary/Makefile.in: Regenerate.
 4930 	* libc/iconv/ces/Makefile.in: Regenerate.
 4931 	* libc/iconv/lib/Makefile.in: Regenerate.
 4932 	* libc/locale/Makefile.in: Regenerate.
 4933 	* libc/misc/Makefile.in: Regenerate.
 4934 	* libc/posix/Makefile.in: Regenerate.
 4935 	* libc/reent/Makefile.in: Regenerate.
 4936 	* libc/search/Makefile.in: Regenerate.
 4937 	* libc/signal/Makefile.in: Regenerate.
 4938 	* libc/stdio/Makefile.in: Regenerate.
 4939 	* libc/stdio64/Makefile.in: Regenerate.
 4940 	* libc/stdlib/Makefile.in: Regenerate.
 4941 	* libc/string/Makefile.in: Regenerate.
 4942 	* libc/syscalls/Makefile.in: Regenerate.
 4943 	* libc/time/Makefile.in: Regenerate.
 4944 	* libc/unix/Makefile.in: Regenerate.
 4945 	* libc/xdr/Makefile.in: Regenerate.
 4946 
 4947 2010-04-06  Dave Korn  <dave.korn.cygwin@googlemail.com>
 4948 
 4949 	* libc/stdlib/__atexit.c (__atexit_lock): Initialise as recursive
 4950 	rather than non-recursive lock type.
 4951 	(__register_exitproc): Use recursive locking APIs on it.
 4952 	* libc/stdlib/__call_atexit.c (__call_exitprocs): Likewise.
 4953 
 4954 2010-04-06  Corinna Vinschen  <corinna@vinschen.de>
 4955 
 4956 	* libc/stdlib/btowc.c (btowc): Reorganize EOF check.  Fix incorrect
 4957 	return value if input byte is ASCII NUL.
 4958 
 4959 2010-04-01  Joel Sherrill <joel.sherrill@oarcorp.com>
 4960 
 4961 	* libc/include/sched.h: Include prototypes for
 4962 	sched_* methods.
 4963 	* libc/include/sys/sched.h: Update to POSIX
 4964 	1003.1b-2008.  Rework constants to allow sharing
 4965 	between RTEMS and Cygwin.
 4966 
 4967 2010-03-27  Corinna Vinschen  <corinna@vinschen.de>
 4968 
 4969 	* libc/locale/locale.c (loadlocale): Optimize "EUC" charset check.
 4970 	Cygwin only: Allow GB2312 and EUC-CN as alternative codeset names
 4971 	for GBK.  Add to documentation.
 4972 	* libc/locale/nl_langinfo.c (nl_langinfo): On Cygwin, translate EUCCN
 4973 	to GB2312.
 4974 
 4975 2010-03-17  Craig Howland <howland@LGSInnovations.com>
 4976 
 4977 	* libc/include/sys/features.h:  Allow for _XOPEN_SOURCE to have an
 4978 	empty definition.  Also add support for values of 500 or less.
 4979 
 4980 2010-03-09  Jeff Johnston  <jjohnstn@redhat.com>
 4981 
 4982 	* libc/posix/telldir.c (dd_loccnt): Change start index to be 1 
 4983 	instead of 0.
 4984 	(_seekdir): A loc of 0 now means rewind dir.
 4985 
 4986 2010-03-08  Craig Howland <howland@LGSInnovations.com>
 4987 
 4988 	* libm/common/s_rint.c:  Fix error when integral part had 18 bits and
 4989 	fraction had bits set beyond first radix bit.  Also, make 2-part
 4990 	adjustment consistent with 1-part adjustment when adjusting fractional
 4991 	bits.
 4992 	* libm/common/sf_rint.c:  Make fractional-bit adjustment consistent
 4993 	with s_rint.c by setting 0b.01 instead of 0b.001.
 4994 
 4995 2010-03-05  Craig Howland <howland@LGSInnovations.com>
 4996 
 4997 	* libm/math/ef_sqrt.c: Delete unused variable sign.
 4998 	* libc/stdlib/getenv.c: Delete "char *_findenv_r ();", as is not a
 4999 	proper prototype, and is properly prototyped in stdlib.h, anyway.
 5000 	* libc/stdlib/getenv_r.c: Ditto.
 5001 	* libc/search/hash.c: Add _DEFUN to __hash_open() declaration; add
 5002 	#define __DBINTERFACE_PRIVATE to activate prototypes from db_local.h.
 5003 	* libc/search/db_local.h: Correct __hash_open() prototype.
 5004 	* libc/sys/linux/cmath/math_private.h:  Eliminate compiler warnings:
 5005 	Remove #define INFINITY (redefines from math.h); remove #define __isnanf
 5006 	and #define __isinff isinff.
 5007 
 5008 2010-03-02  Craig Howland <howland@LGSInnovations.com>
 5009 
 5010 	* libc/include/sys/features.h:  Add POSIX.1-permitted definition of
 5011 	_POSIX_C_SOURCE if not already defined and _XOPEN_SOURCE has an
 5012 	appropriate value.  Specifically, check for POSIX.1-2008 & 2001 values.
 5013 	* libc/include/sys/config.h:  Add #include <sys/features.h> so that all
 5014 	includes get the new check added to it.
 5015 
 5016 2010-03-02  Charles Wilson  <cygwin@cwilson.fastmail.fm>
 5017 
 5018 	* libc/xdr/README: Correct grammatical errors.
 5019 	* libc/include/rpc/types.h: Add public types used
 5020 	by RPC implementations.
 5021 	* libc/include/rpc/xdr.h: Add defines used by RPC
 5022 	implementations.
 5023 	* libc/xdr/Makefile.am: Eliminate automake warning.
 5024 	* libc/xdr/Makefile.in: Regenerate.
 5025 
 5026 2010-03-02  Corinna Vinschen  <corinna@vinschen.de>
 5027 
 5028 	* libc/xdr/Makefile.in: Regenerate.
 5029 
 5030 2010-03-02  Charles Wilson  <cygwin@cwilson.fastmail.fm>
 5031 
 5032 	Add eXtensible Data Record (XDR) support
 5033 	* configure.host: Build libc/xdr only on cygwin.
 5034 	* Makefile.am: Install xdr headers.
 5035 	* libc/configure.in: Support new libc/xdr subdirectory.
 5036 	* libc/Makefile.am: Support new libc/xdr subdirectory.
 5037 	* libc/include/rpc/types.h: New.
 5038 	* libc/include/rpc/xdr.h: New.
 5039 	* libc/xdr/README: New.
 5040 	* libc/xdr/Makefile.am: New.
 5041 	* libc/xdr/dummy.c: New.
 5042 	* libc/xdr/xdr.c: New.
 5043 	* libc/xdr/xdr_array.c: New.
 5044 	* libc/xdr/xdr_float.c: New.
 5045 	* libc/xdr/xdr_float_vax.c: New.
 5046 	* libc/xdr/xdr_mem.c: New.
 5047 	* libc/xdr/xdr_private.c: New.
 5048 	* libc/xdr/xdr_private.h: New.
 5049 	* libc/xdr/xdr_rec.c: New.
 5050 	* libc/xdr/xdr_reference.c: New.
 5051 	* libc/xdr/xdr_sizeof.c: New.
 5052 	* libc/xdr/xdr_stdio.c: New.
 5053 
 5054 	Regenerate using ac-2.63 and am-1.11.1
 5055 	* libc/xdr/Makefile.in: New.
 5056 	* Makefile.in: Regenerate.
 5057 	* libc/configure: Regenerate.
 5058 	* libc/Makefile.in: Regenerate.
 5059 	* libc/argz/Makefile.in: Regenerate.
 5060 	* libc/ctype/Makefile.in: Regenerate.
 5061 	* libc/errno/Makefile.in: Regenerate.
 5062 	* libc/iconv/ccs/binary/Makefile.in: Regenerate.
 5063 	* libc/iconv/ccs/Makefile.in: Regenerate.
 5064 	* libc/iconv/ces/Makefile.in: Regenerate.
 5065 	* libc/iconv/lib/Makefile.in: Regenerate.
 5066 	* libc/iconv/Makefile.in: Regenerate.
 5067 	* libc/locale/Makefile.in: Regenerate.
 5068 	* libc/misc/Makefile.in: Regenerate.
 5069 	* libc/posix/Makefile.in: Regenerate.
 5070 	* libc/reent/Makefile.in: Regenerate.
 5071 	* libc/search/Makefile.in: Regenerate.
 5072 	* libc/signal/Makefile.in: Regenerate.
 5073 	* libc/stdio/Makefile.in: Regenerate.
 5074 	* libc/stdio64/Makefile.in: Regenerate.
 5075 	* libc/stdlib/Makefile.in: Regenerate.
 5076 	* libc/string/Makefile.in: Regenerate.
 5077 	* libc/syscalls/Makefile.in: Regenerate.
 5078 	* libc/time/Makefile.in: Regenerate.
 5079 	* libc/unix/Makefile.in: Regenerate.
 5080 
 5081 2010-02-26  Craig Howland <howland@LGSInnovations.com>
 5082 
 5083 	* libm/common/s_ilogb.c:  Fix typo in comments that causes doc
 5084 	generation to fail.
 5085 
 5086 2010-02-26  Corinna Vinschen  <corinna@vinschen.de>
 5087 
 5088 	* libc/time/strftime.c: Add support for era and alt_digits data from
 5089 	LC_TIME locale category.  Conditionalize using _WANT_C99_TIME_FORMATS
 5090 	flag.
 5091 	(STRTOUL): Define differently for building strftime or wcsftime.
 5092 	(STRCPY): Ditto.
 5093 	(STRCHR): Ditto.
 5094 	(STRLEN): Ditto.
 5095 	(CHECK_LENGTH): Define to simplify code.
 5096 	(era_info_t): New type to store era info.
 5097 	(get_era_info): New function to fetch era info matching incoming
 5098 	struct tm.
 5099 	(free_era_info): New function to free era info.
 5100 	(alt_digits_t): New type to store alternative digits.
 5101 	(get_alt_digits): New function to convert alt_digits string into
 5102 	alt_digits_t structure.
 5103 	(free_alt_digits): New function to free alt_digits info.
 5104 	(conv_to_alt_digits): New function to convert unsigned value into
 5105 	alternative digits.
 5106 	(strftime): Conditionalize on _WANT_C99_TIME_FORMATS.  If
 5107 	_WANT_C99_TIME_FORMATS is defined, define as just a wrapper function
 5108 	providing era_info and alt_digits pointers and call ...
 5109 	(__strftime): Rename from strftime and make static if
 5110 	_WANT_C99_TIME_FORMATS is defined.  Add parameters for era_info and
 5111 	alt_digits pointers.  Handle conversion modifiers according to
 5112 	POSIX-1.2008.  Redefine %F and %Y according to POSIX.  Add default case
 5113 	to allow to bail out on invalid conversion specifiers.
 5114 	* libc/include/sys/config.h: Move Cygwin build flags to Cygwin's
 5115 	config.h.
 5116 
 5117 	* libc/include/stdio.h: Remove __CYGWIN_USE_BIG_TYPES__ condition.
 5118 
 5119 2010-02-25  Corinna Vinschen  <corinna@vinschen.de>
 5120 
 5121 	* libc/locale/locale.c (loadlocale): Fix typo in comment.
 5122 
 5123 2010-02-25  Corinna Vinschen  <corinna@vinschen.de>
 5124 
 5125 	* libc/locale/locale.c: Throughout, extensively comment on the
 5126 	reason for using __CYGWIN__.
 5127 	(lconv): Remove _CONST entirely.
 5128 	(loadlocale): Guard calls to function loading locale-specific
 5129 	category data with __HAVE_LOCALE_INFO__ rather than __CYGWIN__.
 5130 	* libc/sys/config.h (__HAVE_LOCALE_INFO__): Define for Cygwin.
 5131 
 5132 2010-02-24  Charles Wilson  <...>
 5133 
 5134         Work around issues with new libtool files in ..
 5135 	* configure.in: Unconditionally call _LT_PROG_ECHO_BACKSLASH.
 5136 	* iconvdata/configure.in: Ditto.
 5137 	* libc/configure.in: Ditto.
 5138 	* libc/machine/configure.in: Ditto.
 5139 	* libc/machine/i386/configure.in: Ditto.
 5140 	* libc/sys/configure.in: Ditto.
 5141 	* libc/sys/linux/configure.in: Ditto.
 5142 	* libc/sys/linux/linuxthreads/configure.in: Ditto.
 5143 	* libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
 5144 	* libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
 5145 	* libc/sys/linux/machine/configure.in: Ditto.
 5146 	* libc/sys/linux/machine/i386/configure.in: Ditto.
 5147 	* libm/configure.in: Ditto.
 5148 	* libm/machine/configure.in: Ditto.
 5149 	* libm/machine/i386/configure.in: Ditto.
 5150 	* libc/machine/sh/configure.in: Ditto.  Also, call
 5151 	AC_NO_EXECUTABLES before NEWLIB_CONFIGURE.
 5152         * aclocal.m4: Regenerated.
 5153         * configure: Ditto.
 5154 	* Makefile.in: Ditto.
 5155         * doc/aclocal.m4: Ditto.
 5156 	* doc/Makefile.in: Ditto.
 5157         * libc/*/aclocal.m4: Ditto.
 5158         * libc/*/Makefile.in: Ditto.
 5159         * libc/*/configure: Ditto.
 5160         * libm/*/aclocal.m4: Ditto.
 5161 	* libm/*/Makefile.in: Ditto.
 5162         * libm/*/configure: Ditto.
 5163 
 5164 2010-02-24  Jeff Johnston  <jjohnstn@redhat.com>
 5165 
 5166 	* libc/stdlib/__call_exit.c: Add include of sys/lock.h.
 5167 
 5168 2010-02-23  Jeff Johnston  <jjohnstn@redhat.com>
 5169 
 5170 	* libc/include/sys/types.h: Fix __XMK__ sectioning and remove
 5171 	redundant code section for __XMK__.
 5172 
 5173 2010-02-22  Corinna Vinschen  <corinna@vinschen.de>
 5174 
 5175 	* libc/include/langinfo.h (_NL_TIME_DATE_FMT): Define new nl_item
 5176 	value for LC_TIME entry date_fmt.
 5177 	(_DATE_FMT): Define "official" GNU name same as _NL_TIME_DATE_FMT.
 5178 	* libc/locale/nl_langinfo.c (nl_langinfo): Add case for _DATE_FMT.
 5179 
 5180 2010-02-18  Corinna Vinschen  <corinna@vinschen.de>
 5181 
 5182 	* libc/ctype/iswalpha.c (iswalpha): Update to Unicode 5.2.
 5183 	* libc/ctype/iswprint.c (iswprint): Ditto.
 5184 	* libc/ctype/iswpunct.c (iswpunct): Drop standalone implementation.
 5185 	Define in terms of other wctype functions instead.
 5186 	* libc/ctype/towlower.c (towlower): Update to Unicode 5.2.  Add comment
 5187 	to explain how to fetch the data from the Unicode database.
 5188 	* libc/ctype/towupper.c (towupper): Ditto.
 5189 	* libc/ctype/utf8alpha.h: Ditto.
 5190 	* libc/ctype/utf8print.h: Ditto.
 5191 	* libc/ctype/utf8punct.h: Remove.
 5192 	* libc/ctype/iswcntrl.c (iswcntrl): Add comment to explain how to
 5193 	fetch the data from the Unicode database.
 5194 
 5195 2010-02-18  Corinna Vinschen  <corinna@vinschen.de>
 5196 
 5197 	* libc/locale/timelocal.h (struct lc_time_T): Add missing ERA-related
 5198 	members.
 5199 	* libc/locale/timelocal.c (_C_time_local): Set new members to empty
 5200 	strings.
 5201 	* libc/locale/nl_langinfo.c (nl_langinfo): Return values from
 5202 	__get_current_time_locale() for ERA related requests.
 5203 
 5204 2010-02-16  Corinna Vinschen  <corinna@vinschen.de>
 5205 
 5206 	* libc/ctype/iswblank.c (iswblank): Remove Unicode characters
 5207 	U+00A0 and U+200B.  Add Unicode character U+180E.  Add comment
 5208 	to explain how to generate from Unicode data file.
 5209 	* libc/ctype/iswspace.c (iswspace): Ditto.
 5210 
 5211 2010-02-15  Corinna Vinschen  <corinna@vinschen.de>
 5212 
 5213 	* libc/stdio/vfwprintf.c (_VFWPRINTF_R): Apply previous patch here
 5214 	as well.
 5215 
 5216 2010-02-15  Corinna Vinschen  <corinna@vinschen.de>
 5217 
 5218 	* libc/stdio/vfprintf.c (_VFPRINTF_R): Drop printing a redundant
 5219 	decimal point in case the float argument is an integral value.
 5220 
 5221 2010-02-11  Craig Howland <howland@LGSInnovations.com>
 5222        
 5223 	* libc/include/machine/ieeefp.h:  isfinite macro modified to run faster
 5224 	by only calling fpclassify once instead of possibly twice.
 5225 
 5226 2010-02-11  Craig Howland <howland@LGSInnovations.com>
 5227 
 5228 	* libm/common/s_ilogb.c:  Adjust documentation to reflect new returns
 5229 	(see next items) and that ilogb() and ilogbf() are C99/POSIX.
 5230 	* libm/common/s_ilogb.c (ilogb):  Use C99/POSIX FP_ILOGB0 and
 5231 	FP_ILOGBNAN returns for 0 and NAN arguments, respectively, instead of
 5232 	the prior -INT_MAX and INT_MAX.  The FP_ILOGBx defines in math.h
 5233 	presently match the prior hard-codes, so no functional change is
 5234 	actually introduced.  (Not at this time, nor planned, but the values
 5235 	are permitted to be different, so subsequent edits of math.h could
 5236 	possibly cause a functional change.)
 5237 	* libm/common/sf_ilogb.c (ilogbf):  Ditto.
 5238 
 5239 2010-02-09  Daniel Gutson  <dgutson@codesourcery.com>
 5240 
 5241 	* libc/machine/arm/arm_asm.h (_ISA_THUMB_2): __ARM_ARCH_7EM__
 5242 	added to the preprocessor condition.
 5243 
 5244 2010-02-09  Corinna Vinschen  <corinna@vinschen.de>
 5245 
 5246 	* libc/locale/lmessages.c (__messages_load_locale): Take additional
 5247 	parameters for wide char to multibyte conversion.  Call
 5248 	__set_lc_messages_from_win on Cygwin.
 5249 	* libc/locale/lmessages.h: Make C++-safe.
 5250 	(__messages_load_locale): Change declaration.
 5251 	* libc/locale/lmonetary.c (__monetary_load_locale): Use
 5252 	_monetary_locale_buf as buffer pointer.
 5253 	* libc/locale/lnumeric.c (__numeric_load_locale): Use
 5254 	_numeric_locale_buf as buffer pointer.
 5255 	* libc/locale/timelocal.c (__time_load_locale): Use time_locale_buf
 5256 	as buffer pointer.
 5257 	* libc/locale/locale.c (loadlocale): Enable loading LC_MESSAGES data
 5258 	on Cygwin.
 5259 
 5260 2010-02-08  Josef Wolf  <jw@raven.inka.de>
 5261 
 5262 	* libc/machine/m68k/memcpy.S: MISALIGEND_OK should not be set for
 5263 	__mcpu32__.
 5264 
 5265 2010-02-07  Corinna Vinschen  <corinna@vinschen.de>
 5266 
 5267 	* libc/locale/locale.c: Add Cygwin's /usr/share/locale/locale.alias
 5268 	support to documentation.
 5269 	(__set_locale_from_locale_alias): Declare when build for Cygwin.
 5270 	(loadlocale): On Cygwin, if locale can't be recognized, call
 5271 	__set_locale_from_locale_alias to check for locale alias.
 5272 	Define FAIL macro to replace `return NULL' statements.  Replace
 5273 	throughout.
 5274 
 5275 2010-02-07  Corinna Vinschen  <corinna@vinschen.de>
 5276 
 5277 	* libc/locale/locale.c: Fix typo in documentation.  Remove useless
 5278 	_MB_CAPABLE guards within other _MB_CAPABLE guards.  Add comment
 5279 	to remaining #endif's.
 5280 
 5281 2010-02-06  Corinna Vinschen  <corinna@vinschen.de>
 5282 
 5283 	* libc/ctype/ctype_cp.h (_CTYPE_GEORGIAN_PS_128_254): Define.
 5284 	(_CTYPE_GEORGIAN_PS_255): Define.
 5285 	(_CTYPE_PT154_128_254): Define.
 5286 	(_CTYPE_PT154_255): Define.
 5287 	(__ctype_cp): Add array members for above ctype definitions.
 5288 	* libc/locale/locale.c (loadlocale): Make TIS-620 charset name
 5289 	available for all targets.  Add guards for setting the conversion
 5290 	function pointers.  Add support for GEORGIAN-PS and PT154 charsets.
 5291 	Change documentation to reflect current behaviour more closely.
 5292 	* libc/locale/nl_langinfo.c (nl_langinfo): On Cygwin, translate
 5293 	"CP101" to "GEORGIAN-PS" and "CP102" to "PT154".
 5294 	* libc/stdlib/sb_charsets.c (__cp_conv): Add conversion arrays
 5295 	for GEORGIAN-PS and PT154.
 5296 	(__cp_index): Map invalid Windows codepage number 101 to
 5297 	GEORGIAN-PS conversion array, 102 to PT154 conversion array.
 5298 
 5299 2010-02-06  Ralf Corsepius  <ralf.corsepius@rtems.org>
 5300 
 5301 	* libc/posix/telldir.c: Remove bogus nested prototype of lseek().
 5302 
 5303 2010-02-05  Corinna Vinschen  <corinna@vinschen.de>
 5304 
 5305 	* libc/locale/locale.c (loadlocale): Handle ISO-8859 and KOI8 charsets
 5306 	so that the dashes are optional.  Align documentation.
 5307 
 5308 2010-02-05  Corinna Vinschen  <corinna@vinschen.de>
 5309 
 5310 	* libc/stdio/vfprintf.c: Include locale.h also if _WANT_IO_C99_FORMATS
 5311 	is defined.  Raise conversion buffer size to make sure it has enough
 5312 	room for numbers plus grouping character.  Define GROUPING flag.
 5313 	(_VFPRINTF_R): Add PRINTANDPAD macro.  Handle grouping flag character.
 5314 	Handle grouping for decimal integer and float values.
 5315 	* libc/stdio/vfwprintf.c: Ditto.
 5316 
 5317 2010-02-01  Christopher Faylor  <me+cygwin@cgf.cx>
 5318 
 5319 	* libc/stdlib/__atexit.c (__atexit_lock): Define a global lock for
 5320 	atexit functions.
 5321 	(__register_exitproc): Use __atexit_lock rather than a local static
 5322 	lock.
 5323 	* libc/stdlib/__call_atexit.c: Ditto.
 5324 
 5325 2010-01-29  Jeff Johnston  <jjohnstn@redhat.com>
 5326 
 5327 	* libc/search/Makefile.am: Create .def files for bsearch and qsort.
 5328 	* libc/search/Makefile.in: Regenerated.
 5329 	* libc/stdlib/stdlib.tex: Add bsearch and qsort.
 5330 
 5331 2010-01-24  Corinna Vinschen  <corinna@vinschen.de>
 5332 
 5333 	* libc/locale/nl_langinfo.c (nl_langinfo): Return "CP932" when using
 5334 	SJIS on Cygwin.  Explain why.
 5335 
 5336 2010-01-23  Corinna Vinschen  <corinna@vinschen.de>
 5337 
 5338 	* libc/locale/locale.c (loadlocale): Allow CP932 as alias for SJIS.
 5339 	Add to documentation.  Add a few comments to #endif's for Cygwin.  
 5340 
 5341 2010-01-23  Corinna Vinschen  <corinna@vinschen.de>
 5342 
 5343 	* libc/locale/locale.c (loadlocale): Disable JIS entirely on Cygwin.
 5344 	Allow TIS620 and TIS-620 as aliases for CP874 on Cygwin.
 5345 
 5346 2010-01-22  Corinna Vinschen  <corinna@vinschen.de>
 5347 
 5348 	* libc/locale/lmonetary.c (__monetary_load_locale): Take additional
 5349 	parameters for wide char to multibyte conversion.  Call
 5350 	__set_lc_monetary_from_win on Cygwin.
 5351 	* libc/locale/lmonetary.h: Make C++-safe.
 5352 	(__monetary_load_locale): Change declaration.
 5353 	* libc/locale/lnumeric.c (__numeric_load_locale): Take additional
 5354 	parameters for wide char to multibyte conversion.  Call
 5355 	__set_lc_numeric_from_win on Cygwin.
 5356 	* libc/locale/lnumeric.h: Make C++-safe.
 5357 	(__numeric_load_locale): Change declaration.
 5358 	* libc/locale/locale.c (lconv): De-constify for Cygwin.
 5359 	(__set_charset_from_locale): Rename from
 5360 	__set_charset_from_codepage.  Take locale as parameter instead of
 5361 	a codepage.
 5362 	(loadlocale): Allow "EUC-JP" for "EUCJP" and "EUC-KR" for "EUCKR".
 5363 	Change documnetation accordingly.  Enable LC_COLLATE, LC_MONETARY,
 5364 	LC_NUMERIC, and LC_TIME handling on Cygwin.
 5365 	(_localeconv_r): On Cygwin, copy values from monetary and numeric
 5366 	domain if change has been noted.
 5367 	* libc/locale/nl_langinfo.c (nl_langinfo): Accommodate change of
 5368 	am/pm layout in struct lc_time_T.
 5369 	* libc/locale/timelocal.c (_C_time_locale): Accommodate
 5370 	redefinition of am/pm members.
 5371 	(__time_load_locale): Take additional parameters for wide char
 5372 	to multibyte conversion.  Call __set_lc_time_from_win on Cygwin.
 5373 	* libc/locale/timelocal.h: Make C++-safe.
 5374 	(struct lc_time_T): Convert am and pm to a am_pm array for easier
 5375 	consumption by strftime and strptime.
 5376 	(__time_load_locale): Change declaration.
 5377 	* libc/time/strftime.c: Change documentation to reflect changes to
 5378 	strftime.  Remove locale constant strings in favor of access to
 5379 	locale-specifc data.
 5380 	(_ctloc): Define access method for locale-specifc data.
 5381 	(TOLOWER): Define for tolower conversion.
 5382 	(strftime): Throughout, convert locale-specific formats to use
 5383 	locale-specific data.  Add GNU-specific "%P" format.
 5384 	* libc/time/strptime.c: Remove locale constant strings in favor of
 5385 	access to locale-specifc data.
 5386 	(_ctloc): Define access method for locale-specifc data.
 5387 	(strptime): Throughout, convert locale-specific formats to use
 5388 	locale-specific data.
 5389 
 5390 2010-01-20  Corinna Vinschen  <corinna@vinschen.de>
 5391 
 5392 	* libc/locale/nl_langinfo.c (nl_langinfo): On Cygwin, translate
 5393 	often-used charsets into Linux compatible codesets.
 5394 
 5395 2010-01-19  Andy Koppe  <andy.koppe@gmail.com>
 5396 
 5397 	* libc/stdio/vfscanf.c (__SVFSCANF_R): Fix handling of non-ASCII
 5398 	characters and allow invalid bytes in format string.
 5399 
 5400 2010-01-19  Corinna Vinschen  <corinna@vinschen.de>
 5401 
 5402 	* libc/stdlib/wcstombs_r.c (_wcstombs_r): Handle invalid characters
 5403 	correctly also in the s==NULL case.
 5404 
 5405 2010-01-17  Corinna Vinschen  <corinna@vinschen.de>
 5406 
 5407 	* libc/locale/locale.c (loadlocale): Change comments to refer to
 5408 	ISO 639-3 rather than 639-2.
 5409 
 5410 2010-01-17  Corinna Vinschen  <corinna@vinschen.de>
 5411 
 5412 	* libc/locale/locale.c (loadlocale): Allow three character
 5413 	language codes to accommodate ISO 639-2 codes.
 5414 
 5415 2010-01-17  Corinna Vinschen  <corinna@vinschen.de>
 5416 
 5417 	* libc/locale/locale.c (lc_ctype_charset): Disable defaulting to
 5418 	"UTF-8" on Cygwin.
 5419 	(lc_message_charset): Ditto.
 5420 	(loadlocale): Disable setting charset of the "C" locale to "UTF-8" on
 5421 	Cygwin.
 5422 	* libc/stdlib/mbtowc_r.c (__mbtowc): Add Cygwin-specific comment.
 5423 	* libc/stdlib/wctomb_r.c (__wctomb): Ditto.
 5424 
 5425 2010-01-14  Corinna Vinschen  <corinna@vinschen.de>
 5426 
 5427 	* libc/include/sys/_default_fcntl.h (O_CLOEXEC): Define as _FNOINHERIT.
 5428 	(F_DUPFD_CLOEXEC): Define for Cygwin.
 5429 	* libc/include/sys/unistd.h (dup3): Define for Cygwin.
 5430 	(pipe2): Ditto.
 5431 
 5432 2010-01-14  Corinna Vinschen  <corinna@vinschen.de>
 5433 
 5434 	* libc/stdio/vfprintf.c (_VFPRINTF_R): Just wave bytes invalid in
 5435 	the current charset through.
 5436 
 5437 2010-01-11  Sebastian Huber  <sebastian.huber@embedded-brains.de>
 5438 
 5439 	* libc/posix/telldir.c (_cleanupdir): Fixed usage of freed memory.
 5440 
 5441 2010-01-11  Yaakov Selkowitz  <yselkowitz@users.sourceforge.net>
 5442 
 5443 	* libc/include/math.h (log2, log2f): Disable macro versions for C++,
 5444 	as they are incompatible with OpenMP/C++ headers.
 5445 
 5446 2010-01-10  Corinna Vinschen  <corinna@vinschen.de>
 5447 
 5448 	* libc/stdlib/mbtowc_r.c (__ascii_mbtowc): Disallow conversion of
 5449 	non-ASCII chars on Cygwin.
 5450 	* libc/stdlib/wctomb_r.c (__ascii_wctomb): Ditto.
 5451 
 5452 2009-12-22  Eric Blake  <ebb9@byu.net>
 5453 
 5454 	* libc/include/sys/unistd.h (suboptarg, getsubopt): Move...
 5455 	* libc/include/stdlib.h: ...here, to match POSIX for getsubopt.
 5456 
 5457 2009-12-17  Jeff Johnston  <jjohnstn@redhat.com>
 5458 
 5459 	* NEWS: Update with 1.18.0 info.
 5460 	* README: Ditto.
 5461 	* acinclude.m4: Change version number to 1.18.0.
 5462 	* aclocal.m4: Regenerated.
 5463 	* configure: Ditto.
 5464 	* doc/aclocal.m4: Ditto.
 5465 	* doc/configure: Ditto.
 5466 	* libc/*/aclocal.m4: Ditto.
 5467 	* libc/*/configure: Ditto.
 5468 	* libc/libc.texinfo: Ditto.
 5469 	* libm/*/aclocal.m4: Ditto.
 5470 	* libm/*/configure: Ditto.
 5471 	* libm/libm.texinfo: Ditto.
 5472 	* libc/sys/linux/shared.ld: Add VERS_1.18
 5473 
 5474 2009-12-17  Jeff Johnston <jjohnstn@redhat.com>
 5475 
 5476 	* libc/include/_syslist.h: Add _mkdir transform.
 5477 
 5478 2009-12-17  Jerker Back  <jerker.back@gmail.com>
 5479 
 5480 	* libc/iconv/lib/local.h[!__GNUC__]: Add alternative version of
 5481 	ICONV_ZERO_MB_STATE_T macro.
 5482 	* libc/iconv/lib/ucsconv.c (ucs_based_conversion_get_state): Use
 5483 	temporary local variable nullstate to hold empty mbstate_t.
 5484 
 5485 2009-12-17  Jerker Back  <jerker.back@gmail.com>
 5486 
 5487 	* libc/include/_ansi.h: Add new _EXFNPTR macro for using with
 5488 	function pointer arguments.
 5489 	* libc/iconv/lib/conv.h: Use _EXFNPTR rather than _EXPARM macro.
 5490 	* libc/iconv/lib/ucsconv.h: Ditto.
 5491 	* libc/include/stdlib.h: Use new _EXFNPTR macro for function pointers.
 5492 	* libc/include/sys/reent.h: Ditto.
 5493 	* libc/include/sys/unistd.h: Ditto.
 5494 	* libc/search/bsearch.c: Ditto.
 5495 	* libc/stdio/fseek.c: Ditto.
 5496 	* libc/stdio64/fseeko64.c: Ditto.
 5497 	* libc/stdlib/atexit.c: Ditto.
 5498 	* libc/stdlib/on_exit.c: Ditto.
 5499 
 5500 2009-12-17  Ralf Cors├ępius <ralf.corsepius@rtems.org>
 5501 
 5502 	* libc/include/machine/ieeefp.h: Rework __IEEE_*_ENDIAN handling.
 5503 	* libc/machine/arm/machine/endian.h: Remove (Conflicts with
 5504 	libc/include/machine/endian.h)
 5505 
 5506 2009-12-17  Ralf Cors├ępius <ralf.corsepius@rtems.org>
 5507 
 5508 	* libc/include/machine/setjmp.h: Set up _JBLEN #ifdef __m68k__.
 5509 
 5510 2009-12-17  Ralf Corsepius <ralf.corsepius@rtems.org>
 5511 
 5512 	* libc/include/pthread.h: Add pthread_atfork, pthread_rwlock_unlock
 5513 	* libc/include/sys/stat.h: Use struct timespec st_*tim,
 5514 	blksize_t st_blksize, blkcnt_t st_blocks.
 5515 	Add st_*time compatibility macros.
 5516 
 5517 2009-12-16  Joel Sherrill <joel.sherrill@oarcorp.com>
 5518 
 5519 	* libc/sys/rtems/machine/param.h: Only use sizeof(double) -1
 5520 	for ALIGNBYTES on SPARC.
 5521 
 5522 2009-12-16  Jeff Johnston  <jjohnstn@redhat.com>
 5523 
 5524 	* libc/include/sys/errno.h: Move EHOSTDOWN, EPFNOSUPPORT,
 5525 	and ETOOMANYREFS into general list as they are referenced
 5526 	by OpenGroup and needed by RTEMS.
 5527 
 5528 2009-12-16  Ralf Cors├ępius <ralf.corsepius@rtems.org>
 5529 
 5530 	* libc/search/hcreate.c: Don't include <sys/queue.h> (Unused).
 5531 
 5532 2009-12-16  Ralf Cors├ępius <ralf.corsepius@rtems.org>
 5533 
 5534 	* libc/sys/rtems/machine/_types.h: New (Derived from
 5535 	machine/_default_types.h).
 5536 	* libc/sys/rtems/crt0.c: Rework. Introduce macro RTEMS_STUB.
 5537 	* libc/sys/rtems/sys/param.h:
 5538 	Update copyright notice from FreeBSD.
 5539 	Remove HZ.
 5540 	Add #include <sys/priority.h>
 5541 	Remove priority handling (moved to sys/priority.h).
 5542 	Remove CLBYTES (Unused, abandoned in BSD).
 5543 	* libc/sys/rtems/sys/queue.h: Update copyright (from FreeBSD).
 5544 	Remove CIRCLEQ_*.
 5545 
 5546 2009-12-15  Conny Marco Menebrocker  <c-m-m@gmx.de>
 5547 
 5548 	* libc/machine/xc16x/Makefile.am: Fix typo and refer
 5549 	to puts.c instead of putc.c.
 5550 	* libc/machine/xc16x/Makefile.in: Regenerated.
 5551 
 5552 2009-12-14  Maxim Kuvyrkov <maxim@codesourcery.com>
 5553 
 5554 	* libc/machine/m68k/memcpy.S: Patch to support
 5555 	boards which do not support unaligned read/write.
 5556 
 5557 2009-12-10  Conny Marco Menebrocker  <c-m-m@gmx.de>
 5558 
 5559 	* configure.host: Add xc16x support.
 5560 	* libc/include/machine/ieeefp.h: Ditto.
 5561 	* libc/include/sys/config.h: Ditto.
 5562 	* libc/machine/configure.in: Ditto.
 5563 	* libc/machine/Makefile.in: Regenerated.
 5564 	* libc/machine/aclocal.m4: Ditto.
 5565 	* libc/machine/configure: Ditto.
 5566 	* libc/machine/xc16x/Makefile.am: New file.
 5567 	* libc/machine/xc16x/Makefile.in: Ditto.
 5568 	* libc/machine/xc16x/aclocal.m4: Ditto.
 5569 	* libc/machine/xc16x/configure: Ditto.
 5570 	* libc/machine/xc16x/configure.in: Ditto.
 5571 	* libc/machine/xc16x/putchar.c: Ditto.
 5572 	* libc/machine/xc16x/puts.c: Ditto.
 5573 	* libc/machine/xc16x/setjmp.S: Ditto.
 5574 
 5575 2009-12-08  Eric Blake  <ebb9@byu.net>
 5576 
 5577 	Fix some *at declarations.
 5578 	* libc/include/stdio.h (symlinkat): Move this...
 5579 	* libc/include/sys/_default_fcntl.h (unlinkat): ...and this...
 5580 	* libc/include/sys/unistd.h (symlinkat, unlinkat): ...here, to
 5581 	match POSIX.
 5582 
 5583 2009-12-03  Craig Howland <howland@LGSInnovations.com>
 5584 
 5585 	* libc/stdlib/strtod.c:  Correct "NO_REENT" to "_REENT_ONLY".
 5586 	* libc/stdlib/wcstod.c:  Ditto.
 5587 	* libc/stdlib/dtoastub.c:  Ditto.
 5588 
 5589 2009-11-23  Corinna Vinschen  <corinna@vinschen.de>
 5590 
 5591 	Use NetBSD fix for CVE-2009-0689 security vulnerability.
 5592 	* libc/include/sys/reent.h (_Kmax): Define here based on the sizeof
 5593 	size_t, as in latest NetBSD.
 5594 	* libc/reent/reent.c (_reclaim_reent): Use _Kmax rather than constant
 5595 	value 15.
 5596 	* libc/stdlib/mprec.c (_Kmax): Don't define here.  Explain why.
 5597 
 5598 2009-11-20  Nick Clifton  <nickc@redhat.com>
 5599 
 5600 	* libc/machine/rx/strncat.S (_strncat): Replace use of r6
 5601 	(call-saved) with r14 (call-used).
 5602 
 5603 2009-11-18  Dave Korn  <dave.korn.cygwin@googlemail.com>
 5604 
 5605 	* libm/machine/i386/f_tan.S (_f_tan): Free fp stack register
 5606 	containing useless constant before advancing fp sp over it.
 5607 	(_f_tanf): Likewise.
 5608 
 5609 2009-11-18  Corinna Vinschen  <corinna@vinschen.de>
 5610 
 5611 	* libc/stdio/vfprintf.c: Include ../stdlib/local.h.  Replace call to
 5612 	_mbtowc_r with direct call to __mbtowc.
 5613 	* libc/stdio/vfscanf.c: Ditto.
 5614 	* libc/stdlib/btowc.c: Include local.h.  Replace call to _mbtowc_r
 5615 	with direct call to __mbtowc.
 5616 	* libc/stdlib/mblen.c: Ditto.
 5617 	* libc/stdlib/mblen_r.c: Ditto.
 5618 	* libc/stdlib/mbrtowc.c: Ditto.
 5619 	* libc/stdlib/mbstowcs_r.c: Ditto.
 5620 	* libc/stdlib/mbtowc.c: Ditto.
 5621 	* libc/stdlib/wcrtomb.c: Include local.h.  Replace call to _wctomb_r
 5622 	with direct call to __wctomb.
 5623 	* libc/stdlib/wcsnrtombs.c: Ditto.
 5624 	(_wcsnrtombs_r): Ditto.
 5625 	* libc/stdlib/wcstombs_r.c: Ditto.
 5626 	* libc/stdlib/wctob.c: Ditto.
 5627 	* libc/stdlib/wctomb.c: Ditto.
 5628 
 5629 	* libc/stdlib/mbrtowc.c (mbrtowc): Implement independently from
 5630 	_mbrtowc_r, unless PREFER_SIZE_OVER_SPEED or __OPTIMIZE_SIZE__ are
 5631 	defined.
 5632 	* libc/stdlib/wcrtomb.c (wcrtomb): Implement independently from
 5633 	_wcrtomb_r, unless PREFER_SIZE_OVER_SPEED or __OPTIMIZE_SIZE__ are
 5634 	defined.
 5635 
 5636 	* libc/stdlib/mbtowc_r.c (__utf8_mbtowc): Drop unnecessary test for
 5637 	ch >= 0.
 5638 
 5639 2009-11-17  Yaakov Selkowitz  <yselkowitz@users.sourceforge.net>
 5640 
 5641 	* libm/common/fdlibm.h (logb, logbf): Move decls from here...
 5642 	* libc/include/math.h (logb, logbf): ...to here.
 5643 
 5644 2009-11-06  Jon Turney  <jon.turney@dronecode.org.uk>
 5645 
 5646 	* libc/include/ctype.h (__ctype_lookup): Fix precedence.
 5647 
 5648 2009-10-30  Corinna Vinschen  <corinna@vinschen.de>
 5649 
 5650 	* libc/stdio/fflush.c (_fflush_r): Store old errno to check for
 5651 	low-level seek error condition.  Restore old errno in case of
 5652 	success.  Don't use new position after seek as error condition,
 5653 	rather check for return value of -1 and errno.  Handle EINVAL
 5654 	just like ESPIPE.  Only set fp->_offset if errno is 0.
 5655 
 5656 2009-10-27  Nick Clifton  <nickc@redhat.com>
 5657 
 5658 	* MAINTAINERS (ARM): Add myself as an ARM maintainer.
 5659 
 5660 2009-10-26  DJ Delorie  <dj@redhat.com>
 5661 
 5662 	* configure.host: Add support for RX architecture.
 5663 	* libc/include/machine/ieeefp.h: Likewise.
 5664 	* libc/include/machine/setjmp.h: Likewise.
 5665 	* libc/include/machine/configure.in: Likewise.
 5666 	* libc/include/machine/configure: Regenerate.
 5667 	* libc/machine/rx: New directory.
 5668 	* libc/machine/rx/*: New files to support RX architecture.
 5669 
 5670 2009-10-24  Eric Blake  <ebb9@byu.net>
 5671 
 5672 	* libc/include/ctype.h (__ctype_lookup): New macro.
 5673 	(isalpha, isupper, islower, isdigit, isxdigit, isspace, ispunct)
 5674 	(isalnum, isprint, isgraph, iscntrl, isblank): Use it to fix bug
 5675 	on 64-bit machines.
 5676 
 5677 2009-10-20  Jeff Johnston  <jjohnstn@redhat.com>
 5678 
 5679 	* configure.host: Don't set -O2 flag in newlib_cflags.  Leave
 5680 	that to CFLAGS.
 5681 	* acinclude.m4: Don't reset CFLAGS before calling _AC_PROG_CC_G
 5682 	as it sets the same flags as we are using.
 5683 	* aclocal.m4: Regenerated.
 5684 	* configure: Ditto.
 5685 	* Makefile.in: Ditto.
 5686 	* iconvdata/aclocal.m4: Ditto.
 5687 	* iconvdata/configure: Ditto.
 5688 	* iconvdata/Makefile.in: Ditto.
 5689 	* doc/aclocal.m4: Ditto.
 5690 	* doc/configure: Ditto.
 5691 	* doc/Makefile.in: Ditto.
 5692 	* libc/aclocal.m4: Ditto.
 5693 	* libc/configure: Ditto.
 5694 	* libc/Makefile.in: Ditto.
 5695 	* libc/*Makefile.in: Ditto.
 5696 	* libc/*aclocal.m4: Ditto.
 5697 	* libc/*configure: Ditto.
 5698 	* libm/*Makefile.in: Ditto.
 5699 	* libm/*aclocal.m4: Ditto.
 5700 	* libm/*configure: Ditto.
 5701 
 5702 2009-10-16  Jeff Johnston  <jjohnstn@redhat.com>
 5703 
 5704 	* libc/include/sys/config.h[__CYGWIN__]: Set __USE_XOPEN2K flag
 5705 	if not __STRICT_ANSI__ or stdc version C99 or greater.
 5706 	* libc/include/stdio.h[__STRICT_ANSI__]: Add __USE_XOPEN2K check
 5707 	for fseeko and ftello prototypes.
 5708 
 5709 2009-10-15  Corinna Vinschen  <corinna@vinschen.de>
 5710 
 5711 	* libc/include/wchar.h (struct tm0: Declare as incomplete type.
 5712 
 5713 2009-10-15  Corinna Vinschen  <corinna@vinschen.de>
 5714 
 5715 	* libc/locale/nl_langinfo.c (nl_langinfo): Add Cygwin-specific temporary
 5716 	exception for KOI8 charsets.
 5717 
 5718 2009-10-13  Eric Blake  <ebb9@byu.net>
 5719 
 5720 	* libc/include/sys/unistd.h: Add _PC*, _CS*, and _SC* constants
 5721 	new to POSIX 2008.
 5722 
 5723 2009-10-13  Yaakov Selkowitz  <yselkowitz@users.sourceforge.net>
 5724 
 5725 	* libc/include/sys/signal.h: Include <sys/types.h> always.
 5726 	[__CYGWIN__, __rtems__]: Define kill first argument as pid_t per
 5727 	standards.
 5728 
 5729 2009-10-09  Dave Korn  <dave.korn@artimi.com>
 5730 
 5731 	* libc/include/sys/time.h (_TIMEVAL_DEFINED): Define when
 5732 	defining struct timeval.
 5733 
 5734 2009-10-09  Corinna Vinschen  <corinna@vinschen.de>
 5735 
 5736 	* libc/locale/locale.c (DEFAULT_LOCALE): New define.
 5737 	(__default_locale): New global variable set to the default locale.
 5738 	(__get_locale_env): Return __default_locale rather than fixed "C".
 5739 
 5740 2009-10-08  Jeff Johnston  <jjohnstn@redhat.com>
 5741 
 5742 	* configure.host: For RTEMS, define HAVE_ASSERT_FUNC.
 5743 	* libc/stdlib/assert.c (_assert_func): Do not specify
 5744 	__assert_func if HAVE_ASSERT_FUNC flag is set.
 5745 
 5746 2009-10-08  Eric Blake  <ebb9@byu.net>
 5747 
 5748 	* libc/include/getopt.h (__getopt_r, __getopt_long_r)
 5749 	(__getopt_long_only_r): Protect declarations, to avoid compiler
 5750 	warning.
 5751 
 5752 2009-10-07  Corinna Vinschen  <corinna@vinschen.de>
 5753 
 5754 	* libc/locale/nl_langinfo.c (nl_langinfo): Just return current locale
 5755 	charset on Cygwin.
 5756 
 5757 2009-10-03  Corinna Vinschen  <corinna@vinschen.de>
 5758 
 5759 	* libc/stdlib/mbtowc_r.c (__utf8_mbtowc): Allow CESU-8 surrogate
 5760 	value encoding.
 5761 	* libc/stdlib/wctomb_r.c (__utf8_mbtowc): Allow CESU-8 surrogate
 5762 	value decoding.
 5763 
 5764 2009-09-29  Corinna Vinschen  <corinna@vinschen.de>
 5765 
 5766 	* libc/locale/locale.c (loadlocale): Allow "C." same as "C-" as locale
 5767 	prefix.  Add some words to documentation.
 5768 
 5769 2009-09-29  Corinna Vinschen  <corinna@vinschen.de>
 5770 
 5771 	* libc/stdlib/sb_charsets.c: Throughout, translate undefined
 5772 	characters to their corresponding Windows Unicode value.
 5773 
 5774 2009-09-28  Michael Eager <eager@eagercon.com>
 5775 
 5776 	* configure.host: Add microblaze.
 5777 	* libc/include/machine/ieeefp.h [MICROBLAZE]: Define __IEEE_BIG_ENDIAN.
 5778 	* libc/include/machine/setjmp.h [MICROBLAZE]: Define _JBLEN, _JBTYPE.
 5779 	* libc/include/sys/config.h [MICROBLAZE]: Define _REENT_SMALL,
 5780 	_UNIX98_THREAD_MUTEX_ATTRIBUTES.
 5781 	* libc/include/sys/types.h: Treat XMK like rtems, define
 5782 	PTHREAD_MUTEX_NORMAL, PTHREAD_MUTEX_ERRORCHECK, PTHREAD_MUTEX_RECURSIVE,
 5783 	PTHREAD_MUTEX_DEFAULT, PTHREAD_STACK_MIN, define stuct pthread_attr_s.
 5784 	* libc/machine/configure.in: Add microblaze.
 5785 	* libc/machine/configure: Add microblaze (not regenerated).
 5786 	* libc/machine/microblaze/configure.in: NEW.
 5787 	* libc/machine/microblaze/configure: Generate.
 5788 	* libc/machine/microblaze/Makefile.am: NEW.
 5789 	* libc/machine/microblaze/Makefile.in: Generate.
 5790 	* libc/machine/microblaze/{abort.c, strcmp.c, strcpy.c, strlen.c,
 5791 	mallocr.c, longjmp.S, setjmp.S}: NEW.
 5792 	* libc/stdlib/mallocr.c [MICROBLAZE]: Don't declare sbrk prototype,
 5793 	mALLOc(): return malloc value.
 5794 
 5795 2009-09-27  Corinna Vinschen  <corinna@vinschen.de>
 5796 
 5797 	* libc/locale/locale.c (lc_ctype_charset): Set to "UTF-8" on Cygwin.
 5798 	(lc_message_charset): Ditto.
 5799 	(loadlocale): Set charset of the "C" locale to "UTF-8" on Cygwin.
 5800 	* libc/stdlib/mbtowc_r.c (__mbtowc): Default to __utf8_mbtowc on
 5801 	Cygwin.
 5802 	* libc/stdlib/wctomb_r.c (__wctomb): Default to __utf8_wctomb on
 5803 	Cygwin.
 5804 
 5805 2009-09-26  Eric Blake  <ebb9@byu.net>
 5806 
 5807 	* libc/include/sys/unistd.h (execvpe, fexecve) [__CYGWIN__]:
 5808 	Add declarations.
 5809 
 5810 2009-09-24  Eric Blake  <ebb9@byu.net>
 5811 
 5812 	* libc/include/sys/unistd.h (eaccess, euidaccess) [__CYGWIN__]:
 5813 	Add declarations.
 5814 
 5815 2009-09-23  Corinna Vinschen  <corinna@vinschen.de>
 5816 
 5817 	* libc/locale/locale.c: Drop Cygwin-specific windows.h include.
 5818 	(loadlocale): Call __set_charset_from_codepage with 0 codepage.
 5819 
 5820 2009-09-22  Ralf Cors├ępius <ralf.corsepius@rtems.org>
 5821 
 5822 	* libc/include/stdlib.h: Add posix_memalign.
 5823 
 5824 2009-09-22  Ralf Cors├ępius <ralf.corsepius@rtems.org>
 5825 
 5826 	* configure.host (*-rtems*): Remove -DMISSING_SYSCALL_NAMES.
 5827 	Add -DHAVE_BLKSIZE, -D_NO_WORDEXP -D_NO_POPEN.
 5828 
 5829 2009-09-22  Ralf Cors├ępius <ralf.corsepius@rtems.org>
 5830 
 5831 	* configure.host (m32c): Move setting -DABORT_PROVIDED to second
 5832 	"case $host".
 5833 
 5834 2009-09-18  Christopher Faylor  <me+cygwin@cgf.cx>
 5835 
 5836 	* libc/include/sys/unistd.h: Declare getpagesize as returning
 5837 	POSIX-mandated int.
 5838 	* libc/sys/linux/sys/unistd.h: Ditto.
 5839 
 5840 2009-08-31  Takaki Makino  <t@snowelm.com>
 5841 
 5842 	* libm/machine/i386/f_pow.c(_f_pow): Alter ASM so it works with
 5843 	newer gcc versions.
 5844 	* libm/maachine/i386/f_powf.c(_f_powf): Ditto.
 5845 
 5846 2009-08-25  Andy Koppe  <andy.koppe@gmail.com>
 5847 
 5848 	* libc/stdlib/sb_charsets.c (__micro_atoi): Allow five-digit codepage
 5849 	numbers.
 5850 	* libc/locale/locale.c (loadlocale): Set MB_CUR_MAX to 1 for KOI8
 5851 	charsets.
 5852 	* libc/stdlib/local.h (__cp_conv): Remove incorrect number of codepages.
 5853 
 5854 2009-08-24  Corinna Vinschen  <corinna@vinschen.de>
 5855 
 5856 	* libc/locale/locale.c: Update documentation.
 5857 	(loadlocale): Map "KOI8-R" and "KOI8-U" to CP20866 and CP21866.
 5858 
 5859 2009-08-24  Andy Koppe  <andy.koppe@gmail.com>
 5860 
 5861 	* libc/stdlib/sb_charsets.c (__cp_conv): Add KOI8-R (Russian, CP20866)
 5862 	and KOI8-U (Ukrainian, CP21866) to Windows codepage conversion tables.
 5863 	* libc/ctype/ctype_cp.h (__ctype_cp): Likewise for ctype tables.
 5864 
 5865 2009-08-24  Andy Koppe  <andy.koppe@gmail.com>
 5866 
 5867 	* libc/ctype/iswspace.c (iswspace): Include "non-breaking
 5868 	space" (U+00A0).
 5869 	* libc/ctype/iswblank.c (iswblank): Likewise.
 5870 
 5871 2009-08-21  Corinna Vinschen  <corinna@vinschen.de>
 5872 
 5873 	* libc/locale/locale.c (loadlocale): Throughout check charset string
 5874 	case insensitive and store internal charset string uppercased.  Allow
 5875 	"UTF8" additionally to "UTF-8".  Add this change to documentation.
 5876 
 5877 2009-08-21  Eric Blake  <ebb9@byu.net>
 5878 
 5879 	* libc/include/iconv.h (iconv): Match POSIX prototype.
 5880 	* libc/iconv/lib/iconv.c (iconv): Likewise.
 5881 
 5882 2009-08-21  Craig Howland <howland@LGSInnovations.com>
 5883 
 5884 	* libm/common/s_remquo.c (remquo):  Fix sign of quotient when |x|==|y|.
 5885 	* libc/stdio/mktemp.c:  Add #include <stdlib.h> for function prototypes.
 5886 
 5887 2009-08-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 5888 
 5889 	* iconvdata/Makefile.am (all): Remove.
 5890 	* libc/sys/a29khif/Makefile.am (all-am): Rename from ...
 5891 	(all): ... this.
 5892 	* libc/sys/arc/Makefile.am: Likewise.
 5893 	* libc/sys/arm/Makefile.am: Likewise.
 5894 	* libc/sys/d10v/Makefile.am: Likewise.
 5895 	* libc/sys/decstation/Makefile.am: Likewise.
 5896 	* libc/sys/h8300hms/Makefile.am: Likewise.
 5897 	* libc/sys/h8500hms/Makefile.am: Likewise.
 5898 	* libc/sys/linux/Makefile.am: Likewise.
 5899 	* libc/sys/linux/machine/i386/Makefile.am: Likewise.
 5900 	* libc/sys/m88kbug/Makefile.am: Likewise.
 5901 	* libc/sys/mmixware/Makefile.am: Likewise.
 5902 	* libc/sys/netware/Makefile.am: Likewise.
 5903 	* libc/sys/rdos/Makefile.am: Likewise.
 5904 	* libc/sys/rtems/Makefile.am: Likewise.
 5905 	* libc/sys/sh/Makefile.am: Likewise.
 5906 	* libc/sys/sparc64/Makefile.am: Likewise.
 5907 	* libc/sys/sun4/Makefile.am: Likewise.
 5908 	* libc/sys/sysmec/Makefile.am: Likewise.
 5909 	* libc/sys/sysnec810/Makefile.am: Likewise.
 5910 	* libc/sys/sysnecv850/Makefile.am: Likewise.
 5911 	* libc/sys/sysvi386/Makefile.am: Likewise.
 5912 	* libc/sys/sysvnecv70/Makefile.am: Likewise.
 5913 	* libc/sys/tic80/Makefile.am: Likewise.
 5914 	* libc/sys/w65/Makefile.am: Likewise.
 5915 	* libc/sys/z8ksim/Makefile.am: Likewise.
 5916 	* iconvdata/Makefile.in: Regenerate.
 5917 	* libc/sys/a29khif/Makefile.in: Likewise.
 5918 	* libc/sys/arc/Makefile.in: Likewise.
 5919 	* libc/sys/arm/Makefile.in: Likewise.
 5920 	* libc/sys/d10v/Makefile.in: Likewise.
 5921 	* libc/sys/decstation/Makefile.in: Likewise.
 5922 	* libc/sys/h8300hms/Makefile.in: Likewise.
 5923 	* libc/sys/h8500hms/Makefile.in: Likewise.
 5924 	* libc/sys/linux/Makefile.in: Likewise.
 5925 	* libc/sys/linux/machine/i386/Makefile.in: Likewise.
 5926 	* libc/sys/m88kbug/Makefile.in: Likewise.
 5927 	* libc/sys/mmixware/Makefile.in: Likewise.
 5928 	* libc/sys/netware/Makefile.in: Likewise.
 5929 	* libc/sys/rdos/Makefile.in: Likewise.
 5930 	* libc/sys/rtems/Makefile.in: Likewise.
 5931 	* libc/sys/sh/Makefile.in: Likewise.
 5932 	* libc/sys/sparc64/Makefile.in: Likewise.
 5933 	* libc/sys/sun4/Makefile.in: Likewise.
 5934 	* libc/sys/sysmec/Makefile.in: Likewise.
 5935 	* libc/sys/sysnec810/Makefile.in: Likewise.
 5936 	* libc/sys/sysnecv850/Makefile.in: Likewise.
 5937 	* libc/sys/sysvi386/Makefile.in: Likewise.
 5938 	* libc/sys/sysvnecv70/Makefile.in: Likewise.
 5939 	* libc/sys/tic80/Makefile.in: Likewise.
 5940 	* libc/sys/w65/Makefile.in: Likewise.
 5941 	* libc/sys/z8ksim/Makefile.in: Likewise.
 5942 
 5943 	* configure.in (newlib_cv_ldbl_eq_dbl): Rename cache variable
 5944 	from newlib_ldbl_eq_dbl.
 5945 	* configure: Regenerate.
 5946 
 5947 2009-08-19  Eric Blake  <ebb9@byu.net>
 5948 
 5949 	* libc/Makefile.am (SUBDEFS): Correctly build popen docs.
 5950 	* libc/libc.texinfo (Top): Add posix node to menu.
 5951 
 5952 2009-08-18  Jeff Johnston  <jjohnstn@redhat.com>
 5953 
 5954 	* newlib.hin: Add comment regarding file being manually edited.
 5955 	* Makefile.am: Add no-op rule for newlib.hin.
 5956 	* Makefile.in: Regenerated.
 5957 
 5958 2009-08-18  Jeff Johnston  <jjohnstn@redhat.com>
 5959 
 5960 	* acconfig.h: Add templates for _HAVE_LONG_DOUBLE and _LDBL_EQ_DBL.
 5961 
 5962 2009-08-18  Eric Blake  <ebb9@byu.net>
 5963 
 5964 	* libc/posix/popen.c (popen): Fix documented prototype.
 5965 
 5966 	Improve popen compatibility with glibc.
 5967 	* libc/posix/popen.c (popen): The 2006-08-22 change to use
 5968 	FD_CLOEXEC disagrees with other implementations; instead, use
 5969 	pidlist to work even when fcntl is not available.  Meanwhile,
 5970 	support the 'e' modifier to set CLOEXEC, as in glibc.  Drop
 5971 	cygwin-specific code, now that cygwin has its own version.
 5972 	* libc/posix/Makefile.am (CHEWOUT_FILES): Document popen.
 5973 	* libc/posix/posix.tex: New file.
 5974 
 5975 2009-08-17  Craig Howland <howland@LGSInnovations.com>
 5976 
 5977 	* libc/string/wcsncpy.c (wcsncpy):  Re-write function based on small
 5978 	version of strncpy() (fixing two bugs).
 5979 
 5980 2009-08-13  Corinna Vinschen  <corinna@vinschen.de>
 5981 
 5982 	* libc/stdio/mktemp.c (mkdtemp): Fix typo in function name.
 5983 
 5984 2009-08-12  Jeff Johnston  <jjohnstn@redhat.com>
 5985 
 5986 	* libc/stdio/mktemp.c (_gettemp): Do not call _mkdir_r unless
 5987 	HAVE_MKDIR is defined.
 5988 
 5989 2009-08-12  Hans-Peter Nilsson  <hp@axis.com>
 5990 
 5991 	* libc/include/reent.h: Add prototype and definition of _mkdir_r.
 5992 	* libc/reent/Makefile.am (GENERAL_SOURCES): Add mkdirr.c.
 5993 	(CHEWOUT_FILES): Add mkdirr.def.
 5994 	* libc/reent/Makefile.in: Regenerate.
 5995 	* libc/reent/mkdirr.c: New file.
 5996 
 5997 2009-08-10  Jeff Johnston  <jjohnstn@redhat.com>
 5998 
 5999 	* libc/stdlib/wcstombs.c: Change documentation to specify size_t
 6000 	return type instead of int.
 6001 
 6002 2009-07-29  Jeff Johnston  <jjohnstn@redhat.com>
 6003 
 6004 	* libc/stdlib/a64l.c: Fix to use 'a' instead of 'A' in calculation
 6005 	when a lower-case character is detected.
 6006 
 6007 2009-07-29  Corinna Vinschen  <corinna@vinschen.de>
 6008 
 6009 	* libc/stdlib/mbtowc_r.c (__utf8_mbtowc): Rework UTF-16 surrogate
 6010 	pair handling to be more bullet-proof even with incomplete UTF-8
 6011 	sequences.  Add check for 4 byte sequences resulting in values
 6012 	outside the valid Unicode range.  Add a comment to clarify checking
 6013 	for invalid CESU-8 sequences.
 6014 
 6015 2009-07-28  Corinna Vinschen  <corinna@vinschen.de>
 6016 
 6017 	* libc/stdlib/mbtowc_r.c (__utf8_mbtowc): Fix incrementing n in case
 6018 	of handling incomplete sequences.
 6019 
 6020 2009-07-22  Eric Blake  <ebb9@byu.net>
 6021 
 6022 	Avoid a fault from locking a closed standard file.
 6023 	* libc/stdio/fflush.c (_fflush_r): Give up early if stream has
 6024 	been previously closed.
 6025 
 6026 2009-07-09  Craig Howland <howland@LGSInnovations.com>
 6027 
 6028 	* libm/math/ef_scalb.c:  Replace isnanf() (pre-C99 function call) with
 6029 	isnan() (C99 macro).
 6030 	* libm/math/wf_log.c:  Ditto.
 6031 	* libm/math/wf_j0.c:  Ditto.
 6032 	* libm/math/wf_sqrt.c:  Ditto.
 6033 	* libm/math/wf_pow.c:  Ditto.
 6034 	* libm/math/wf_fmod.c:  Ditto.
 6035 	* libm/math/wf_remainder.c:  Ditto.
 6036 	* libm/math/wf_scalb.c:  Ditto.
 6037 	* libm/math/wf_atanh.c:  Ditto.
 6038 	* libm/math/wf_cosh.c:  Ditto.
 6039 	* libm/math/wf_acos.c:  Ditto.
 6040 	* libm/math/wf_acosh.c:  Ditto.
 6041 	* libm/math/wf_jn.c:  Ditto.
 6042 	* libm/math/wf_log10.c:  Ditto.
 6043 	* libm/math/wf_asin.c:  Ditto.
 6044 	* libm/math/wf_j1.c:  Ditto.
 6045 	* libm/common/sf_isnan.c:  Add #include <ieeefp.h>, fix comment.
 6046 	* libm/common/sf_isinf.c:  Add #include <ieeefp.h>, adjust comment to
 6047 	match that from s_isinf.c.
 6048 	* libc/include/machine/ieeefp.h:  Simplify isinf and isnan macros to
 6049 	remove un-necessary extension use (in a similar manner to as was
 6050 	recently done in math.h).
 6051 	* libc/include/math.h:  Remove isnanf and isinff prototypes (are in
 6052 	ieeefp.h).
 6053 	* libm/machine/spu/sf_isinf.c:  Fix comment (remove <math.h>).
 6054 
 6055 2009-07-06  Joel Sherrill <joel.sherrill@oarcorp.com>
 6056 
 6057 	* libc/include/sys/features.h: Enable UNIX98 mutex attributes
 6058 	for RTEMS.
 6059 
 6060 2009-07-03  Eric Blake  <ebb9@byu.net>
 6061 
 6062 	Add mkdtemp, mkstemps.
 6063 	* libc/stdio/mktemp.c: Fix documentation.
 6064 	(_gettemp): Add domkdir and length parameters.  Check for
 6065 	insufficient 'X' suffix.  Drop cygwin-specific code.
 6066 	(_mkstemp_r, _mktemp_r, mkstemp, mktemp): Adjust clients.
 6067 	(_mkdtemp_r, _mkstemps_r, mkdtemp, mkstemps): New functions.
 6068 	* libc/include/stdlib.h (_mkdtemp_r, _mkstemps_r, mkdtemp)
 6069 	(mkstemps): Declare them.
 6070 
 6071 	Add fpurge.
 6072 	* libc/stdio/fpurge.c (fpurge, _fpurge_r): New file.
 6073 	* libc/stdio/Makefile.am (ELIX_4_SOURCES, CHEWOUT_FILES, fpurge):
 6074 	Build it.
 6075 	* libc/stdio/Makefile.in: Regenerated.
 6076 	* libc/include/stdio.h (fpurge, _fpurge_r): New declarations.
 6077 	* libc/stdio/stdio.tex: Build documentation.
 6078 
 6079 2009-06-23  Jeff Johnston  <jjohnstn@redhat.com>
 6080 
 6081 	* Makefile.am (MATHOBJS_IN_LIBC): Add s_fpclassify and
 6082 	sf_fpclassify as these are now used for infinity testing.
 6083 	* Makefile.in: Regenerated.
 6084 
 6085 2009-06-19  Joel Sherrill <joel.sherrill@oarcorp.com>
 6086 
 6087 	* libc/sys/rtems/machine/param.h: Change ALIGNBYTES
 6088 	so it can point to an aligned structure or double.
 6089 
 6090 2009-06-18  Corinna Vinschen  <corinna@vinschen.de>
 6091 
 6092 	* libc/locale/locale.c (loadlocale): Add handling of "@cjknarrow"
 6093 	modifier on _MB_CAPABLE targets.  Add comment to explain.  Improve
 6094 	documentation.
 6095 
 6096 2009-06-17  Michael Eager <eager@eagercon.com>
 6097 
 6098 	* libc/include/pthread.h: Support XMK (Xilinx) BSP, add RTEMS to
 6099 	PTHREAD_MUTEX_NORMAL.
 6100 	* libc/include/sys/features.h: Same.
 6101 	* libc/include/sys/types.h: Same.
 6102 
 6103 2009-06-16  Corinna Vinschen  <corinna@vinschen.de>
 6104 
 6105 	* libc/include/locale.h (struct lconv): Add missing members required
 6106 	by POSIX.1-2008.
 6107 	* libc/locale/locale.c (lconv): Initialize new members to default
 6108 	values in "C" locale.
 6109 
 6110 2009-06-16  Corinna Vinschen  <corinna@vinschen.de>
 6111 
 6112 	* libc/stdio/vfprintf.c (_VFPRINTF_R): Use actual length of
 6113 	radix char instead of assuming length 1.
 6114 	* libc/stdlib/gdtoa-gethex.c: Remove use of USE_LOCALE.
 6115 	(gethex): Allow multibyte decimal point.
 6116 	Fix compiler warnings due to different signedness of pointer types.
 6117 	* libc/stdlib/strtod.c: Remove use of USE_LOCALE.
 6118 	(_strtod_r): Allow multibyte decimal point.
 6119 	* libc/stdlib/wcstod.c (_wcstod_r): Evaluate correct wide char
 6120 	endptr position if the decimal point is a multibyte char.
 6121 
 6122 2009-06-16  Craig Howland <howland@LGSInnovations.com>
 6123 
 6124 	* libc/ctype/local.h (__locale_charset): Add arguments to
 6125 	prototype
 6126 	* libc/stdlib/local.h (__locale_charset): Ditto.
 6127 
 6128 2009-06-16  Craig Howland <howland@LGSInnovations.com>
 6129 
 6130 	* libc/include/math.h:  Simplify fpclassify, isinf, isnan, and signbit
 6131 	macros to remove un-necessary extension use.  isinf and isnan also
 6132 	changed to use fpclassify.  isfinite macro modified to run faster by
 6133 	only calling fpclassify once instead of possibly twice.
 6134 
 6135 2009-06-09  Corinna Vinschen  <corinna@vinschen.de>
 6136 
 6137 	* libc/ctype/tolower.c (tolower): Cast conversion result from
 6138 	mbtowc/wctomb to unsigned char to avoid negative return values.
 6139 	* libc/ctype/toupper.c (toupper): Ditto.
 6140 
 6141 2009-06-03  IWAMURO Motonori  <deenheart@gmail.com>
 6142 
 6143 	* libc/string/wcwidth.c: Optimize for speed.
 6144 
 6145 2009-06-03  Corinna Vinschen  <corinna@vinschen.de>
 6146 
 6147 	* libc/locale/locale.c (lc_ctype_cjk_lang): New static int.
 6148 	(loadlocale): In case of setting LC_CTYPE, set lc_ctype_cjk_lang
 6149 	to 1 if the language is "jp", "ko", or "zh", to 0 otherwise.
 6150 	(__locale_cjk_lang): New function.
 6151 	* libc/string/local.h (__locale_cjk_lang): Declare.
 6152 	* libc/string/wcwidth.c: Fix comments.
 6153 	(__wcwidth): Handle CJK Ambiguous Width characters according
 6154 	to setting returned by __locale_cjk_lang.
 6155 
 6156 2009-06-02  Richard Earnshaw  <rearnsha@arm.com>
 6157 
 6158 	* libc/include/sys/config.h: Remove specification of _REENT_SMALL for
 6159 	thumb2.
 6160 
 6161 2009-06-02  IWAMURO Motonori  <deenheart@gmail.com>
 6162 
 6163 	* libc/ctype/jp2uc.c: Skip all definition if defined __CYGWIN__.
 6164 	(__jp2uc): Change the scope to static function.
 6165 	* libc/ctype/local.h (_jp2uc): Define as macro if defined __CYGWIN__.
 6166 	* libc/string/local.h (_jp2uc): Include ../ctype/local.h.
 6167 
 6168 2009-05-27  Neal H. Walfield  <neal@gnu.org>
 6169 
 6170 	* libc/include/machine/setjmp.h (sigjmp_buf): Size according to
 6171 	_JBTYPE and the size of sigset_t.
 6172 
 6173 2009-05-15  Craig Howland <howland@LGSInnovations.com>
 6174 
 6175 	* configure.in:  Add configuration test for long double type existing
 6176 	and set flag _HAVE_LONG_DOUBLE if true.  Fix INIT_ARRAY (.init_array)
 6177 	and _LDBL_EQ_DBL tests to not link so that will work with
 6178 	cross-compilers.
 6179 	* configure: Regenerated.
 6180 	* Makefile.in: Ditto.
 6181 	* newlib.hin: Add _HAVE_LONG_DOUBLE flag.
 6182 	* libc/include/math.h:  Change non-builtin defines for HUGE_VAL,
 6183 	HUGE_VALF, and HUGE_VALL to be constant expressions.  Add definitions
 6184 	for the non-builtin case for INFINITY and NAN.  Gate HUGE_VALL and
 6185 	union __ldmath definitions with (new) _HAVE_LONG_DOUBLE.
 6186 	*libm/common/s_infconst.c:  Change definitions to use values from
 6187 	float.h instead of non-so-portable integer forms.  Mark as being
 6188 	deprecated (because now removed from math.h, are not used anywhere
 6189 	in Newlib, itself).
 6190 
 6191 2009-05-15  Corinna Vinschen  <corinna@vinschen.de>
 6192 
 6193 	* libc/string/local.h: New file.
 6194 	* libc/string/wcswidth.c (wcswidth):  Convert japanese wide
 6195 	characters to Unicode here.  Handle surrogate pairs for UTF-16
 6196 	systems.  Call __wcwidth rather than wcwidth.
 6197 	* libc/string/wcwidth.c: New implementation using Markus Kuhn's
 6198 	wcwidth implementation for Unicode.
 6199 	(bisearch): New static function.
 6200 	(__wcwidth): New function.  Take wint_t rather than wchar_t as
 6201 	parameter to allow full Unicode handling on UTF-16 systems.
 6202 	Move old wcwidth implementation here for non-multibyte aware
 6203 	systems.
 6204 	(wcwidth): Convert japanese wide characters to Unicode here.
 6205 	Call __wcwidth rather than using iswprint/iswcntrl.
 6206 
 6207 2009-05-14  Corinna Vinschen  <corinna@vinschen.de>
 6208 
 6209 	* libc/ctype/local.h (JP_JIS, JP_SJIS, JP_EUCJP): Move definition
 6210 	to jp2uc.c.
 6211 	(__jp2uc): Remove declaration.
 6212 	(_jp2uc): Declare.
 6213 	* libc/ctype/jp2uc.c (JP_JIS, JP_SJIS, JP_EUCJP): Define.
 6214 	(__jp2uc): Remove Cygwin special case.
 6215 	(_jp2uc): New function.  On Cygwin, just return c.
 6216 	* libc/ctype/iswalpha.c (iswalpha): Just call _jp2uc.
 6217 	* libc/ctype/iswblank.c (iswblank): Ditto.
 6218 	* libc/ctype/iswcntrl.c (iswcntrl): Ditto.
 6219 	* libc/ctype/iswprint.c (iswprint): Ditto.
 6220 	* libc/ctype/iswpunct.c (iswpunt): Ditto.
 6221 	* libc/ctype/iswspace.c (iswspace): Ditto.
 6222 	* libc/ctype/towlower.c (towlower): Ditto.
 6223 	* libc/ctype/towupper.c (towupper): Ditto.
 6224 
 6225 2009-05-13  Paul Brook  <paul@codesourcery.com>
 6226 
 6227 	* libc/machine/arm/setjmp.S: Don't bother saving IP.  Copy SP to
 6228 	IP before saving.  Likewise when restoring.
 6229 
 6230 2009-05-13  Paul Brook  <paul@codesourcery.com>
 6231 
 6232 	* libc/machine/arm/setjmp.S: Add ARMv6-M implementation.
 6233 
 6234 2009-05-13  Corinna Vinschen  <corinna@vinschen.de>
 6235 
 6236 	* libc/locale/locale.c (setlocale): Don't build on Cygwin.
 6237 
 6238 2009-05-11  Craig Howland <howland@LGSInnovations.com>
 6239 
 6240 	* libm/machine/i386/f_llrint.c: Remove llrint() definition.
 6241 	* libm/machine/i386/f_llrintf.c: Remove llrintf() definition.
 6242 
 6243 2009-05-08  Nick Clifton  <nickc@redhat.com>
 6244 
 6245 	* MAINTAINERS: Add myself as a maintainer for the MN10300 and to
 6246 	the write-after-approval list.
 6247 
 6248 2009-04-30  Anthony Green  <green@moxielogic.com>
 6249 
 6250 	* MAINTAINERS: Add myself as moxie maintainer and to the
 6251 	write-after-approval list.
 6252 
 6253 2009-04-30  Eric Blake  <ebb9@byu.net>
 6254 
 6255 	Allow gcc warning for toupper even with extended charsets.
 6256 	* libc/include/ctype.h (toupper, tolower)
 6257 	[_MB_EXTENDED_CHARSETS_ISO]: Allow gcc warning when called with
 6258 	'char' even when we must call the function for correct behavior.
 6259 	[!_MB_EXTENDED_CHARSETS_ISO]: Fix regression in result type.
 6260 
 6261 2009-04-24  Jeff johnston  <jjohnstn@redhat.com>
 6262 
 6263 	* libc/stdio/fgetc.c: Make sure sfp lock is acquired before the
 6264 	file lock and released before the file lock to avoid a deadlock
 6265 	scenario.
 6266 	* libc/stdio/fgets.c: Ditto.
 6267 	* libc/stdio/fgetwc.c: Ditto.
 6268 	* libc/stdio/fgetws.c: Ditto.
 6269 	* libc/stdio/fread.c: Ditto.
 6270 	* libc/stdio/fseek.c: Ditto.
 6271 	* libc/stdio/getc.c: Ditto.
 6272 	* libc/stdio/getdelim.c: Ditto.
 6273 	* libc/stdio/gets.c: Ditto.
 6274 
 6275 2009-04-24  Jeff johnston  <jjohnstn@redhat.com>
 6276 
 6277 	* configure.in: Add configuration test for long double equals dbl
 6278 	and set flag _LDBL_EQ_DBL if true.
 6279 	* configure: Regenerated.
 6280 	* newlib.hin: Add _LDBL_EQ_DBL flag.
 6281 	* libc/include/math.h: Use _LDBL_EQ_DBL flag instead of
 6282 	_HAVE_LDBL_MATH.
 6283 	* libc/include/stdlib.h: Use _LDBL_EQ_DBL flag instead of
 6284 	_HAVE_LDBL_STDLIB.
 6285 	* libc/common/local.h: Remove _LDBL_EQ_DBL flag setting.
 6286 	* libc/stdlib/local.h: Ditto.
 6287 
 6288 2009-04-24  Joseph Myers  <joseph@codesourcery.com>
 6289 
 6290 	* libc/include/stdint.h (UINTPTR_MAX): Define to __UINTPTR_MAX__
 6291 	if __UINTPTR_MAX__ defined.
 6292 
 6293 2009-04-24  Eric Blake  <ebb9@byu.net>
 6294 
 6295 	Be namespace clean in ctype.h.
 6296 	* libc/include/ctype.h (_tolower, _toupper, isalpha, isupper)
 6297 	(islower, isdigit, isxdigit, isspace, ispunct, isalnum)
 6298 	(isprint, isgraph, iscntrl, isblank, toupper, tolower)
 6299 	(isascii, toascii): Don't use 'c' as macro parameter name.
 6300 
 6301 	Trigger gcc warning if isFoo macros are called with plain char.
 6302 	* libc/include/ctype.h (isalpha, isupper, islower, isdigit)
 6303 	(isxdigit, isspace, ispunct, isalnum, isprint, isgraph)
 6304 	(iscntrl, isblank, toupper, tolower): Rewrite to let 'gcc -Wall'
 6305 	warn when user calls macro with a char argument.
 6306 
 6307 2009-04-23  Mike Burgess  <wizardsguild@earthlink.net>
 6308 
 6309 	* libc/string/strcasecmp.c: Optimized rewrite.
 6310 	* libc/string/strncasecmp.c: Fix description.
 6311 	* libc/string/strlwr.c: Avoid passing signed char to tolower.
 6312 	* libc/string/strupr.c: Avoid passing signed char to tolower.
 6313 
 6314 2009-04-23  Paul Brook  <paul@codesourcery.com>
 6315 	    Kazu Hirata  <kazu@codesourcery.com>
 6316 
 6317 	* libc/stdlib/__atexit.c (__register_exitproc): Use weak reference
 6318 	to malloc.  Allocate dynamically only if it is present.
 6319 	* libc/stdlib/__call_atexit.c (__call_exitprocs): Use weak
 6320 	reference to free.  Call free only if it is present.
 6321 
 6322 2009-04-22 Anthony Green <green@moxielogic.com>
 6323 
 6324 	* configure.host: Add moxie support.
 6325 	* libc/machine/configure.in: Add moxie support.
 6326 	* libc/machine/configure: Rebuilt.
 6327 	* libc/machine/moxie/aclocal.m4: New file.
 6328 	* libc/machine/moxie/configure: New file.
 6329 	* libc/machine/moxie/configure.in: New file.
 6330 	* libc/machine/moxie/Makefile.am: New file.
 6331 	* libc/machine/moxie/Makefile.in: New file.
 6332 	* libc/machine/moxie/setjmp.S: New file.
 6333 	* libc/include/machine/setjmp.h (_JBLEN): Define for moxie.
 6334 	* libc/include/machine/ieeefp.h: Add moxie support.
 6335 
 6336 2009-04-22  Kazu Hirata  <kazu@codesourcery.com>
 6337 
 6338 	* libc/stdio/local.h (__chclass, __state_table, __action_table):
 6339 	Add extern to the declarations.
 6340 	* libc/stdlib/local.h (__iso_8859_conv, __cp_conv): Likewise.
 6341 
 6342 2009-04-21  Corinna Vinschen  <corinna@vinschen.de>
 6343 
 6344 	* libc/ctype/ctype_.c (_CTYPE_DATA_128_255): Rename from
 6345 	_CTYPE_DATA_128_256.
 6346 	* libc/ctype/ctype_cp.h: Split off all character class values for
 6347 	character 255 from the rest of the definitions.
 6348 	(__ctype_cp): Use the new definitions.  Make sure that the table
 6349 	always contains 0 for EOF (-1).
 6350 	* libc/ctype/ctype_iso.h: Ditto.
 6351 
 6352 2009-04-21  Sandra Loosemore  <sandra@codesourcery.com>
 6353 
 6354 	* libc/reent/impure.c (__sf_fake_stdin, __sf_fake_stdout)
 6355 	(__sf_fake_stderr): Declare locally with weak attribute.
 6356 
 6357 2009-04-21  Mark Mitchell  <mark@codesourcery.com>
 6358 
 6359 	* libc/include/_ansi.h: Move C++ defines to top of file.
 6360 	(_NOTHROW): New macro.
 6361 	(_EXFUN_NOTHROW): Likewise.
 6362 	* libc/include/stdlib.h (calloc): Declare with _EXFUN_NOTHROW.
 6363 	(free): Likewise.
 6364 	(malloc): Likewise.
 6365 	(realloc): Likewise.
 6366 	(_malloc_r): Likewise.
 6367 	(_callor_r): Likewise.
 6368 	(_free_r): Likewise.
 6369 	(_realloc_r): Likewise.
 6370 
 6371 2009-04-20  Jeff johnston  <jjohnstn@redhat.com>
 6372 
 6373 	* libc/include/math.h: Change _LDBL_EQ_DBL flag usage to
 6374 	be _HAVE_LDBL_MATH.
 6375 	* libc/include/stdlib.h: Change _LDBL_EQ_DBL flag usage to
 6376 	be _HAVE_LDBL_STDLIB.
 6377 
 6378 2009-04-17  Jeff johnston  <jjohnstn@redhat.com>
 6379 
 6380 	* libc/include/machine/ieeefp.h (_LDBL_EQ_DBL): Remove.
 6381 	* libc/stdlib/local.h (_LDBL_EQ_DBL): Add.
 6382 	* libc/stdlib/strtold.c: Include local.h.
 6383 	* libc/stdlib/wcstold.c: Likewise.
 6384 	* libm/common/atanl.c: Likewise.
 6385 	* libm/common/cosl.c: Likewise.
 6386 	* libm/common/sinl.c: Likewise.
 6387 	* libm/common/modfl.c: Likewise.
 6388 	* libm/common/frexpl.c: Likewise.
 6389 	* libm/common/tanhl.c: Likewise.
 6390 	* libm/common/tanl.c: Likewise.
 6391 	* libm/common/expm1l.c: Likewise.
 6392 	* libm/common/log1pl.c: Likewise.
 6393 	* libm/common/ceill.c: Likewise.
 6394 	* libm/common/fabsl.c: Likewise.
 6395 	* libm/common/floorl.c: Likewise.
 6396 	* libm/common/acosl.c: Likewise.
 6397 	* libm/common/asinl.c: Likewise.
 6398 	* libm/common/atan2l.c: Likewise.
 6399 	* libm/common/coshl.c: Likewise.
 6400 	* libm/common/expl.c: Likewise.
 6401 	* libm/common/fmodl.c: Likewise.
 6402 	* libm/common/hypotl.c: Likewise.
 6403 	* libm/common/ldexpl.c: Likewise.
 6404 	* libm/common/log10l.c: Likewise.
 6405 	* libm/common/logl.c: Likewise.
 6406 	* libm/common/powl.c: Likewise.
 6407 	* libm/common/sqrtl.c: Likewise.
 6408 	* libm/common/copysignl.c: Likewise.
 6409 	* libm/common/ilogbl.c: Likewise.
 6410 	* libm/common/nanl.c: Likewise.
 6411 	* libm/common/cbrtl.c: Likewise.
 6412 	* libm/common/asinhl.c: Likewise.
 6413 	* libm/common/nextafterl.c: Likewise.
 6414 	* libm/common/rintl.c: Likewise.
 6415 	* libm/common/scalbnl.c: Likewise.
 6416 	* libm/common/exp2l.c: Likewise.
 6417 	* libm/common/fdiml.c: Likewise.
 6418 	* libm/common/fmal.c: Likewise.
 6419 	* libm/common/fmaxl.c: Likewise.
 6420 	* libm/common/fminl.c: Likewise.
 6421 	* libm/common/lrintl.c: Likewise.
 6422 	* libm/common/lroundl.c: Likewise.
 6423 	* libm/common/nearbyintl.c: Likewise.
 6424 	* libm/common/remquol.c: Likewise.
 6425 	* libm/common/roundl.c: Likewise.
 6426 	* libm/common/scalblnl.c: Likewise.
 6427 	* libm/common/truncl.c: Likewise.
 6428 	* libm/common/acoshl.c: Likewise.
 6429 	* libm/common/atanhl.c: Likewise.
 6430 	* libm/common/erfcl.c: Likewise.
 6431 	* libm/common/erfl.c: Likewise.
 6432 	* libm/common/lgammal.c: Likewise.
 6433 	* libm/common/remainderl.c: Likewise.
 6434 	* libm/common/tgammal.c: Likewise.
 6435 	* libm/common/sinhl.c: Likewise.
 6436 	* libm/common/llroundl.c: Likewise.
 6437 	* libm/common/llrintl.c: Likewise.
 6438 	* libm/common/local.h: New file with _LDBL_EQ_DBL macro.
 6439 
 6440 2009-04-17  Ken Werner  <ken.werner@de.ibm.com>
 6441 
 6442 	* libc/include/machine/ieeefp.h: _LDBL_EQ_DBL check fixed.
 6443 	* libc/include/math.h (llrintl): Declare.
 6444 	* libm/common/llrintl.c: New File.
 6445 	* libm/common/Makefile.am: New File added.
 6446 	* libm/common/Makefile.in: Regenerate.
 6447 
 6448 2009-04-17  Ken Werner  <ken.werner@de.ibm.com>
 6449 
 6450 	* libc/configure.in: Change AC_TRY_COMPILE to AC_TRY_COMMAND to
 6451 	avoid executable test.
 6452 	* libc/configure: Regenerate.
 6453 
 6454 2009-04-17  Jeff johnston  <jjohnstn@redhat.com>
 6455 
 6456 	* configure.in: Remove _HAVE_ARRAY_ALIASING check.
 6457 	* configure: Regenerated.
 6458 	* Makefile.in: Regenerated.
 6459 	* newlib.hin: Remove _HAVE_ARRAY_ALIASING flag.
 6460 	* libc/ctype/ctype_.c: Do not check for _HAVE_ARRAY_ALIASING.
 6461 	* libm/configure.in: Change AC_TRY_COMPILE to AC_TRY_COMMAND to
 6462 	avoid executable test.
 6463 	* libm/configure: Regenerated.
 6464 
 6465 2009-04-16  Jeff johnston  <jjohnstn@redhat.com>
 6466 
 6467 	* libc/misc/init.c (__libc_fini_array): Process fini_array in
 6468 	reverse order as compliant with the ELF specification.
 6469 
 6470 2009-04-16  Ken Werner  <ken.werner@de.ibm.com>
 6471 
 6472 	* libc/machine/spu/Makefile.am: Add new File.
 6473 	* libc/machine/spu/Makefile.in: Regenerate.
 6474 	* libc/machine/spu/fdopen.c: New file.
 6475 
 6476 2009-04-16  Hans-Peter Nilsson  <hp@axis.com>
 6477 
 6478 	* libc/include/stdint.h (INTPTR_MIN, INTPTR_MAX, UINTPTR_MAX): Define.
 6479 
 6480 2009-04-16  Ken Werner  <ken.werner@de.ibm.com>
 6481 
 6482 	* libm/libm.texinfo: Add long double function support chapter.
 6483 	* libc/include/machine/ieeefp.h: Add _LDBL_EQ_DBL define.
 6484 	* libc/include/stdlib.h: Include <machine/ieeefp.h>.
 6485 	(strtold, wcstold): Declare.
 6486 	* libc/stdlib/strtold.c: New File.
 6487 	* libc/stdlib/wcstold.c: Likewise.
 6488 	* libc/configure.in: Add long double check.
 6489 	* libc/configure: Regenerate.
 6490 	* libc/stdlib/Makefile.am: Add strtold.c and wcstold.c.
 6491 	* libc/stdlib/Makefile.in: Regenerate.
 6492 	* libc/include/math.h (atanl, cosl, sinl, tanl, tanhl): Declare.
 6493 	(frexpl, modfl, ceill, fabsl, floorl, log1pl, expm1l, acosl): Ditto.
 6494 	(asinl, atan2l, coshl, sinhl, expl, ldexpl, logl, log10l, powl): Ditto.
 6495 	(sqrtl, fmodl, hypotl, copysignl, nanl, ilogbl, asinhl, cbrt): Ditto.
 6496 	(nextafterl, rintl, scalbnl, exp2l, scalblnl, tgammal): Ditto.
 6497 	(nearbyintl, lrintl, llrintl, roundl, lroundl, llround): Ditto.
 6498 	(llroundl, truncl, remquol, fdiml, fmaxl, fminl, fmal, acoshl): Ditto.
 6499 	(atanhl, remainderl, lgammal, erfl, erfcl): Ditto.
 6500 	* libm/common/atanl.c: New File.
 6501 	* libm/common/cosl.c: Likewise.
 6502 	* libm/common/sinl.c: Likewise.
 6503 	* libm/common/modfl.c: Likewise.
 6504 	* libm/common/frexpl.c: Likewise.
 6505 	* libm/common/tanhl.c: Likewise.
 6506 	* libm/common/tanl.c: Likewise.
 6507 	* libm/common/expm1l.c: Likewise.
 6508 	* libm/common/log1pl.c: Likewise.
 6509 	* libm/common/ceill.c: Likewise.
 6510 	* libm/common/fabsl.c: Likewise.
 6511 	* libm/common/floorl.c: Likewise.
 6512 	* libm/common/acosl.c: Likewise.
 6513 	* libm/common/asinl.c: Likewise.
 6514 	* libm/common/atan2l.c: Likewise.
 6515 	* libm/common/coshl.c: Likewise.
 6516 	* libm/common/expl.c: Likewise.
 6517 	* libm/common/fmodl.c: Likewise.
 6518 	* libm/common/hypotl.c: Likewise.
 6519 	* libm/common/ldexpl.c: Likewise.
 6520 	* libm/common/log10l.c: Likewise.
 6521 	* libm/common/logl.c: Likewise.
 6522 	* libm/common/powl.c: Likewise.
 6523 	* libm/common/sqrtl.c: Likewise.
 6524 	* libm/common/copysignl.c: Likewise.
 6525 	* libm/common/ilogbl.c: Likewise.
 6526 	* libm/common/nanl.c: Likewise.
 6527 	* libm/common/cbrtl.c: Likewise.
 6528 	* libm/common/asinhl.c: Likewise.
 6529 	* libm/common/nextafterl.c: Likewise.
 6530 	* libm/common/rintl.c: Likewise.
 6531 	* libm/common/scalbnl.c: Likewise.
 6532 	* libm/common/exp2l.c: Likewise.
 6533 	* libm/common/fdiml.c: Likewise.
 6534 	* libm/common/fmal.c: Likewise.
 6535 	* libm/common/fmaxl.c: Likewise.
 6536 	* libm/common/fminl.c: Likewise.
 6537 	* libm/common/lrintl.c: Likewise.
 6538 	* libm/common/lroundl.c: Likewise.
 6539 	* libm/common/nearbyintl.c: Likewise.
 6540 	* libm/common/remquol.c: Likewise.
 6541 	* libm/common/roundl.c: Likewise.
 6542 	* libm/common/scalblnl.c: Likewise.
 6543 	* libm/common/truncl.c: Likewise.
 6544 	* libm/common/acoshl.c: Likewise.
 6545 	* libm/common/atanhl.c: Likewise.
 6546 	* libm/common/erfcl.c: Likewise.
 6547 	* libm/common/erfl.c: Likewise.
 6548 	* libm/common/lgammal.c: Likewise.
 6549 	* libm/common/remainderl.c: Likewise.
 6550 	* libm/common/tgammal.c: Likewise.
 6551 	* libm/common/sinhl.c: Likewise.
 6552 	* libm/common/llroundl.c: Likewise.
 6553 	* libm/configure.in: Add long double check.
 6554 	* libm/configure: Regenerate.
 6555 	* libm/common/Makefile.am: Add new files.
 6556 	* libm/common/Makefile.in: Regenerate.
 6557 
 6558 2009-04-09  Corinna Vinschen  <corinna@vinschen.de>
 6559 
 6560 	* libc/ctype/ctype_.c (_CTYPE_DATA_0_127): Remove _B flag from TAB.
 6561 	* libc/ctype/ctype_cp.h: Mark non-cased letters in tables for codepages
 6562 	720, 862, 874, 1255, and 1256 to _U|_L.  Fix a couple of incorrect
 6563 	class mappings.
 6564 	* libc/ctype/ctype_iso.h: Mark non-cased letters in ISO-8859 tables
 6565 	6, 8, and 11 to _U|_L.  Fix a couple of incorrect class mappings.
 6566 	* libc/ctype/isblank.c (isblank): Special case TAB.
 6567 	* libc/ctype/islower.c (islower): Check explicitely for _L flag only
 6568 	in (_U|_L).
 6569 	* libc/ctype/isupper.c (isupper): Ditto, but check for _U flag.
 6570 	* libc/include/ctype.h (islower): Same in macro.
 6571 	(isupper): Ditto.
 6572 	(isblank): Special case TAB.  Redefine macro for GCC only.
 6573 
 6574 2009-04-09  Corinna Vinschen  <corinna@vinschen.de>
 6575 
 6576 	* libc/stdlib/local.h (__mbtowc): Declare extern.
 6577 	(__wctomb): Ditto.
 6578 
 6579 2009-04-09  Corinna Vinschen  <corinna@vinschen.de>
 6580 
 6581 	* libc/stdlib/mbctype.h (_iseucjp1): Like _iseucjp, but also
 6582 	recognizes 0x8e and 0x8f lead bytes.
 6583 	(_iseucjp2): Rename from _iseucjp.
 6584 	* libc/stdlib/mbtowc_r.c (__eucjp_mbtowc): Convert JIS-X-0212
 6585 	triplebyte sequences as well.
 6586 	* libc/stdlib/wctomb_r.c (__eucjp_wctomb): Convert to JIS-X-0212
 6587 	triplebyte sequences as well.
 6588 
 6589 2009-04-08  Ken Werner  <ken.werner@de.ibm.com>
 6590 
 6591 	* configure.in: Add square brackets for the array aliasing conftest.
 6592 	* configure: Regenerate.
 6593 
 6594 2009-04-06  Mike Burgess  <wizardsguild@earthlink.net>
 6595 
 6596 	* libc/string/strncasecmp.c: Optimized rewrite.
 6597 
 6598 2009-04-06  Ken Werner  <ken.werner@de.ibm.com>
 6599 
 6600 	* libc/include/sys/features.h: Undefine _POSIX_TIMERS for spu.
 6601 	* libc/include/machine/time.h (nanosleep): Declare.
 6602 
 6603 2009-04-06  Corinna Vinschen  <corinna@vinschen.de>
 6604 
 6605 	* libc/locale/locale.c (loadlocale): Set mbc_max to 3 for EUCJP.
 6606 
 6607 2009-04-04  Corinna Vinschen  <corinna@vinschen.de>
 6608 
 6609 	* libc/stdlib/wcstombs.c: Fix datatypes in documentation.
 6610 
 6611 2009-04-04  Corinna Vinschen  <corinna@vinschen.de>
 6612 
 6613 	* libc/include/stdio.h (_ELIDABLE_INLINE): Move definition from here...
 6614 	* libc/include/_ansi.h (_ELIDABLE_INLINE): ..to here.
 6615 
 6616 2009-04-03  Yaakov Selkowitz  <yselkowitz@users.sourceforge.net>
 6617 
 6618 	* libc/include/stdio.h [__SCLE] (__sgetc_r): Prototype before define
 6619 	to avoid a warning with -Wmissing-prototypes.
 6620 
 6621 2009-04-03  Ken Werner  <ken.werner@de.ibm.com>
 6622 
 6623 	* libc/machine/spu/mmap_ea.c (mmap_ea): Check length argument.
 6624 
 6625 2009-04-03  Ken Werner  <ken.werner@de.ibm.com>
 6626 
 6627 	* libc/machine/spu/sys/linux_syscalls.h: include <sys/types.h>
 6628 	(linux_getpid, linux_gettid): Declare.
 6629 
 6630 2009-04-03  Ken Werner  <ken.werner@de.ibm.com>
 6631 
 6632 	* libc/machine/spu/spu-gmon.c: Tweaks to support simultaneous SPU
 6633 	profiling.
 6634 
 6635 2009-04-03  Ken Werner  <ken.werner@de.ibm.com>
 6636 
 6637 	* libc/include/math.h: Remove duplicate copysign prototype.
 6638 	Fix __math_68881 define typo.  Guard functions of the rint family.
 6639 
 6640 2009-04-03  Craig Howland <howland@LGSInnovations.com>
 6641 
 6642 	* libm/common/s_llrint.c: New file, implementing llrint().
 6643 	* libm/common/sf_llrint.c: New file, implementing llrintf().
 6644 	* libm/common/Makefile.am:  Add s_llrint.c (src); sf_llrint.c (fsrc).
 6645 	* libm/common/Makefile.in:  Regenerate.
 6646 
 6647 2009-04-02  Corinna Vinschen  <corinna@vinschen.de>
 6648 
 6649 	* libc/ctype/ctype_c.c: Move inclusion of ctype_iso.h and
 6650 	ctype_cp.h out of ALLOW_NEGATIVE_CTYPE_INDEX case.
 6651 	(__ctype_ptr__): Constify in !_MB_CAPABLE case.  Otherwise,
 6652 	de-constify in !ALLOW_NEGATIVE_CTYPE_INDEX case, too.  Add comment.
 6653 	(__set_ctype): Set __ctype_ptr__ pointer according to definition
 6654 	of ALLOW_NEGATIVE_CTYPE_INDEX.
 6655 	* libc/include/ctype.h (__ctype_ptr__): Constify in !_MB_CAPABLE case.
 6656 
 6657 2009-03-31  Corinna Vinschen  <corinna@vinschen.de>
 6658 
 6659 	* libc/ctype/Makefile.am: Remove _tolower.c and _toupper.c
 6660 	source files.  Add a dependency rule for ctype_o to note
 6661 	changes in ctype_iso.h and ctype_cp.h.
 6662 	* libc/ctype/Makefile.in: Regenerate.
 6663 	* libc/ctype/_tolower.c: Remove file.
 6664 	* libc/ctype/_toupper.c: Remove file.
 6665 	* libc/ctype/ctype_.c: Make sure ALLOW_NEGATIVE_CTYPE_INDEX
 6666 	is always defined on Cygwin.
 6667 	(_ctype_b): Don't make `static const' on Cygwin.
 6668 	(ctype_iso.h): Include if _MB_EXTENDED_CHARSETS_ISO is set.
 6669 	(ctype_cp.h): Include if _MB_EXTENDED_CHARSETS_WINDOWS is set.
 6670 	(__ctype_ptr): Drop definition.
 6671 	(__ctype_ptr__): De-constify.  Mark as __EXPORT symbol.
 6672 	(_ctype_): Add Cygwin-specifc asm define.
 6673 	(__set_ctype): New function to set __ctype_ptr__ according to
 6674 	current charset.
 6675 	* libc/ctype/ctype_cp.h: New file containing Windows codepage
 6676 	specific character class tables.
 6677 	* libc/ctype/ctype_iso.h: New file containing ISO-8859-x
 6678 	specific character class tables.
 6679 	* libc/ctype/tolower.c (tolower): Reimplement to support any singlebyte
 6680 	charset if one of the extended charsets is enabled.
 6681 	* libc/ctype/toupper.c (toupper): Ditto.
 6682 	* libc/include/ctype.h (_tolower): Define as macro per POSIX.
 6683 	(_toupper): Ditto.
 6684 	(__ctype_ptr__): De-constify.
 6685 	(toupper): Disable macro on systems supporting extended charsets.
 6686 	(tolower): Ditto.
 6687 	* libc/include/sys/config.h (__EXPORT): Define empty if not defined.
 6688 	* libc/locale/locale.c (__mb_cur_max): Mark as __EXPORT symbol.
 6689 	(__set_ctype): Declare unconditionally.
 6690 	(loadlocale): Remove __CYGWIN__ guard around __set_ctype call.
 6691 
 6692 2009-03-26  Corinna Vinschen  <corinna@vinschen.de>
 6693 
 6694 	* libc/locale/locale.c (loadlocale): Revert to charset "GBK" instead
 6695 	of "GB2312".  Fix documentation accordingly.
 6696 
 6697 2009-03-26  Corinna Vinschen  <corinna@vinschen.de>
 6698 
 6699 	* libc/ctype/ctype_.c (_CTYPE_DATA_0_127): Mark TAB as blank character.
 6700 	* libc/ctype/isblank.c: Replace hardcoded test with test for having _B
 6701 	marker in ctype array.
 6702 	* libc/include/ctype.h (isblank): Add macro.
 6703 
 6704 2009-03-25  Craig Howland <howland@LGSInnovations.com>
 6705 
 6706 	* libc/include/math.h:  (llround, llroundf): Declare.
 6707 	* libm/common/s_llround.c: New file, implementing llround().
 6708 	* libm/common/sf_llround.c: New file, implementing llroundf().
 6709 	* libm/common/sf_lround.c: Remove spurious cast in _DOUBLE_IS_32BITS
 6710 	version of function.
 6711 	* libm/common/sf_lrint.c: Ditto.
 6712 	* libm/common/sf_logb.c:  Corrected return for subnormal argument
 6713 	by replacing existing function with a version created from sf_ilogb.c.
 6714 	* libm/common/s_logb.c: Ditto, except starting point s_ilogb.c.  Also
 6715 	added documentation for logb() and logbf().
 6716 	* libm/common/s_signbit.c:  Add signbit() documentation.
 6717 	* libm/common/s_log2.c: Update return values to match what w_log2.c has,
 6718 	since log2 uses log(); add note about being derived instead of direct.
 6719 	* libm/common/sf_fma.c: Add casts to attempt to get correct results,
 6720 	as well as comments pointing out problems with the implementation.
 6721 	* libm/common/s_fma.c: Add fma() and fmaf() documentation.
 6722 	* libm/common/sf_remquo.c: Incorrect quotient returns for large values
 6723 	corrected by discarding existing function and replacing with Sun
 6724 	verion, with some enhancements.
 6725 	* libm/common/s_remquo.c: Ditto.  Add remquo() and remquof()
 6726 	documentation.
 6727 	* libm/common/s_fmax.c: Add fmax() and fmaxf() documentation.
 6728 	* libm/common/s_fmin.c: Add fmin() and fminf() documentation.
 6729 	* libm/common/s_fdim.c: Return NAN for NAN arg, add fdim() and fdimf()
 6730 	documentation.
 6731 	* libm/common/sf_fdim.c: Return NAN for NAN arg, HUGE_VALF for inf arg.
 6732 	* libm/common/s_trunc.c: Add trunc() and truncf() documentation.
 6733 	* libm/common/s_rint.c: Add rint() and rintf() documentation.
 6734 	* libm/common/s_round.c: Add round() and roundf() documentation.
 6735 	* libm/common/s_scalbn.c: Add scalbln() and scalblnf() documentation.
 6736 	* libm/common/s_infinity.c: Add infinity() and infinityf()
 6737 	documentation.
 6738 	* libm/common/s_lround.c: Add lround(), lroundf(), llround(), and
 6739 	llroundf() documentation.
 6740 	* libm/common/s_lrint.c: Add lrint(), lrintf(), llrint(), and llrintf()
 6741 	documentation.
 6742 	* libm/common/isgreater.c: New file for documenting math.h function-like
 6743 	macros isgreater(), isgreaterequal(), isless(), islessequal(),
 6744 	islessgreater(), and isunordered().
 6745 	* libm/common/s_isnan.c: Add documentation for function-like macros
 6746 	fpclassify(), isfinite(), isinf(), isnan(), and isnormal().
 6747 	* libm/common/s_nearbyint.c: Add nearbyint() and nearbyintf()
 6748 	documentation.
 6749 	* libm/common/Makefile.am: Add s_llround.c (src); sf_llround.c (fsrc);
 6750 	s_fdim.def, s_fma.def, s_fmax.def, s_fmin.def,
 6751 	s_logb.def, s_lrint.def, s_lround.def, s_nearbyint.def, s_remquo.def,
 6752 	s_rint.def, s_round.def, s_signbit.def, s_trunc.def, and
 6753 	isgreater.def (chobj);
 6754 	re-name all existing chew files (chobj) to match source file base
 6755 	names (put in underscores), delete all special targets for chew files
 6756 	(leaving all to be generated by rule).
 6757 	* libm/common/Makefile.in: regenerate.
 6758 	* libm/math/w_exp2.c: Add "base 2" to documentation description (and
 6759 	delete TRAD_SYNOPSIS).
 6760 	* libm/math/w_gamma.c: Add tgamma() and tgammaf() documentation, along
 6761 	with some history behind the function names.
 6762 	* libm/math/math.tex: Add includes for newly-added documentation (see
 6763 	.def additions to common/Makefile.am and math/Makefile.am in this
 6764 	ChangeLog list), adjusted existing .def file names to match source file
 6765 	base names (added underscores); add mention of HUGE_VALF; rename
 6766 	"Version of library" section to "Error Handling" and add some text
 6767 	about floating-point exception; added section "Standards Compliance And
 6768 	Portability".
 6769 	* libm/math/Makefile.am: Add w_exp2.def (chobj);
 6770 	re-name all existing chew files (chobj) to match source file base
 6771 	names, delete all special targets for chew files (leaving all to be
 6772 	generated by rule).
 6773 	* libm/math/Makefile.in: regenerated
 6774 	* doc/makedoc.c: Change silent ignoring of commands < 5 characters
 6775 	to a failure when reading macro file for commands < 4 characters;
 6776 	add -v (verbose) option for printing some debugging information;
 6777 	get rid of spurious translation of "@*" to "*" (no source files used @*,
 6778 	so no existing doc pages were affected); clean up some compiler
 6779 	warnings.
 6780 	* doc/doc.str: add BUGS and SEEALSO sections (to match texi2pod.pl
 6781 	which has them); Remove ITEM command (redundant with makedoc built-in
 6782 	"o", not used in any present source file so nothing is lost, anyway).
 6783 	* HOWTO: New file to hold information for maintainers regarding how
 6784 	to do things.  Initial sections on documentation and ELIX levels.
 6785 
 6786 2009-03-25  Richard Earnshaw  <rearnsha@arm.com>
 6787 
 6788 	* libc/machine/arm/strcmp.c (strcmp_unaligned): Correctly
 6789 	detect the nul-byte in a big-endian string.
 6790 
 6791 2009-03-25  Jeff Johnston  <jjohnstn@redhat.com>
 6792 
 6793 	* libc/string/wcsdup.c: Fix documentation error.
 6794 	* libc/string/Makefile.am: Fix CHEWOUT files to contain
 6795 	wcsdup.def rather than wcsdup.
 6796 	* libc/string/Makefile.in: Regenerated.
 6797 
 6798 2009-03-25  Corinna Vinschen  <corinna@vinschen.de>
 6799 
 6800 	* libc/locale/locale.c (loadlocale): Only change __wctomb and __mbtowc
 6801 	pointers if category is LC_CTYPE.
 6802 
 6803 2009-03-25  Corinna Vinschen  <corinna@vinschen.de>
 6804 
 6805 	* libc/locale/locale.c (loadlocale): Rename charset "GBK" to
 6806 	"GB2312".  Fix documentation accordingly.
 6807 
 6808 2009-03-24  Corinna Vinschen  <corinna@vinschen.de>
 6809 
 6810 	* libc/locale/locale.c (loadlocale): Rename charset "CP949" to
 6811 	"eucKR".  Fix documentation accordingly.
 6812 
 6813 2009-03-24  Corinna Vinschen  <corinna@vinschen.de>
 6814 
 6815 	* libc/locale/locale.c (loadlocale): Allow charset starting with 'e'
 6816 	for "eucJP" charset support.
 6817 
 6818 2009-03-24  Jeff Johnston  <jjohnstn@redhat.com>
 6819 
 6820 	* libc/include/sys/errno.h: Move EFTYPE to general usage because
 6821 	it is used in libc/search.
 6822 
 6823 2009-03-24  Corinna Vinschen  <corinna@vinschen.de>
 6824 
 6825 	* libc/ctype/iswalpha.c: Handle all wchar_t as unicode on
 6826 	_MB_CAPABLE systems.
 6827 	* libc/ctype/iswblank.c: Ditto.
 6828 	* libc/ctype/iswcntrl.c: Ditto.
 6829 	* libc/ctype/iswprint.c: Ditto.
 6830 	* libc/ctype/iswpunct.c: Ditto.
 6831 	* libc/ctype/iswspace.c: Ditto.
 6832 	* libc/ctype/jp2uc.c (__jp2uc): On Cygwin, just return c.
 6833 	Explain why.
 6834 	* libc/ctype/towlower.c: Ditto.
 6835 	* libc/ctype/towupper.c: Ditto.
 6836 	* libc/include/sys/config.h: Define _MB_EXTENDED_CHARSETS_ISO
 6837 	and _MB_EXTENDED_CHARSETS_WINDOWS if _MB_EXTENDED_CHARSETS_ALL is
 6838 	defined.  Define _MB_EXTENDED_CHARSETS_ALL on Cygwin only for now.
 6839 	* libc/include/sys/reent.h (struct _reent): Mark _current_category
 6840 	and _current_locale as unused.
 6841 	* libc/locale/locale.c: Add new charset support to documentation.
 6842 	Include ../stdio/local.h from here.
 6843 	(lc_ctype_charset): Set to "ASCII" by default.
 6844 	(lc_message_charset): Ditto.
 6845 	(_setlocale_r): Don't set _current_category and _current_locale.
 6846 	(loadlocale): Add Cygwin codepage support.  On _MB_CAPABLE
 6847 	systems, set __mbtowc and __wctomb function pointers to function
 6848 	corresponding with current charset.  Don't allow non-existant
 6849 	ISO-8859-12 charset.  Add support for Windows singlebyte codepages.
 6850 	On Cygwin, add support for GBK, CP949, and BIG5.  On Cygwin,
 6851 	call __set_ctype() in case the catorgy is LC_CTYPE.  Don't set
 6852 	_current_category and _current_locale.
 6853 	* libc/stdlib/Makefile.am (GENERAL_SOURCES): Add sb_charsets.c.
 6854 	* libc/stdlib/Makefile.in: Regenerate.
 6855 	* libc/stdlib/local.h: Add prototype for __locale_charset.
 6856 	Add prototypes for __mbtowc and __wctomb pointers.
 6857 	Add prototypes for charset-specific _wctomb_r and _mbtowc_r
 6858 	functions.
 6859 	Declare tables and functions from sb_charsets.c.
 6860 	* libc/stdlib/mbtowc_r.c (__mbtowc): Define.  Set to __ascii_mbtowc
 6861 	by default.
 6862 	(_mbtowc_r): Just call __mbtowc from here.
 6863 	(__ascii_mbtowc): New function.
 6864 	(__iso_mbtowc): New function.
 6865 	(__cp_mbtowc): New function.
 6866 	(__utf8_mbtowc): New function.
 6867 	(__sjis_mbtowc): New function.  Disable on Cygwin.
 6868 	(__eucjp_mbtowc): New function.  Disable on Cygwin.
 6869 	(__jis_mbtowc): New function.  Disable on Cygwin.
 6870 	* libc/stdlib/sb_charsets.c: New file, adding singlebyte to UTF
 6871 	conversion tables for all ISO and CP charsets.
 6872 	(__iso_8859_index): New function.
 6873 	(__cp_index): New function.
 6874 	* libc/stdlib/wctomb_r.c (__wctomb): Define.  Set to __ascii_wctomb
 6875 	by default.
 6876 	(_wctomb_r): Just call __wctomb from here.
 6877 	(__ascii_wctomb): New function.
 6878 	(__utf8_wctomb): New function.
 6879 	(__sjis_wctomb): New function.  Disable on Cygwin.
 6880 	(__eucjp_wctomb): New function.  Disable on Cygwin.
 6881 	(__jis_wctomb): New function.  Disable on Cygwin.
 6882 	(__iso_wctomb): New function.
 6883 	(__cp_wctomb): New function.
 6884 
 6885 2009-03-23  Richard Earnshaw  <rearnsha@arm.com>
 6886 
 6887 	* libc/machine/arm/strcmp.c (strcmp): Treat char as unsigned.
 6888 
 6889 2009-03-23  Corinna Vinschen  <corinna@vinschen.de>
 6890 
 6891 	* libc/locale/locale.c (loadlocale): Fix typo in language and
 6892 	territory evaluation.
 6893 
 6894 2009-03-20  Jeff Johnston  <jjohnstn@redhat.com>
 6895 
 6896 	* libc/include/sys/errno.h: Protect various non-standard errnos
 6897 	with either __LINUX_ERRNO_EXTENSIONS__ or __CYGWIN__.
 6898 	* libc/include/sys/config.h[__CYGWIN__]: Define
 6899 	__LINUX_ERRNO_EXTENSIONS__.
 6900 
 6901 2009-03-19  Corinna Vinschen  <corinna@vinschen.de>
 6902 
 6903 	* libc/stdlib/mbtowc_r.c (_mbtowc_r): Return EILSEQ in case of an
 6904 	invalid character sequence.
 6905 
 6906 	* libc/stdlib/mbtowc_r.c (_mbtowc_r): Fix compiler warning due to
 6907 	missing declaration of __locale_charset.
 6908 	* libc/stdlib/wctomb_r.c (_wctomb_r): Ditto.
 6909 
 6910 2009-03-18  Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
 6911 
 6912 	* libm/common/s_log2.c: New file.
 6913 	* libm/common/sf_log2.c: Ditto.
 6914 	* libm/common/Makefile.am: Add s_log2.c and sf_log2.c.
 6915 	* libm/common/Makefile.in: Regenerated.
 6916 	* libc/include/math.h: Add log2 and log2f function prototypes.
 6917 
 6918 2009-03-17  Corinna Vinschen  <corinna@vinschen.de>
 6919 
 6920 	* libc/stdlib/mbstowcs_r.c (_mbstowcs_r): Handle NULL destination
 6921 	string correctly.
 6922 
 6923 2009-03-16  Mark Mitchell  <mark@codesourcery.com>
 6924 
 6925 	* libc/machine/arm/strlen.c (strlen): Fix defect in Thumb-2 mode.
 6926 
 6927 2009-03-16  Richard Earnshaw  <rearnsha@arm.com>
 6928 
 6929 	* libc/machine/arm/strlen.c (strlen): Correctly detect
 6930 	end-of-string.
 6931 	* libc/machine/arm/strcpy.c (strcpy): Likewise.
 6932 	* libc/machine/arm/strcmp.c (strcmp, strcmp_unaligned): Likewise.
 6933 
 6934 2009-03-15  Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
 6935 
 6936 	* libc/include/sys/errno.h (ESTRPIPE): Define.
 6937 	* libc/string/strerror.c (strerror): Decode it.
 6938 
 6939 2009-03-15  Corinna Vinschen  <corinna@vinschen.de>
 6940 
 6941 	* libc/include/wchar.h (wcsdup, _wcsdup_r): Declare.
 6942 	* libc/string/Makefile.am: Add wcsdup.c.
 6943 	* libc/string/Makefile.in: Regenerate.
 6944 	* libc/string/strings.tex: Add wcsdup documentation reference.
 6945 	* libc/string/wcsdup.c: New file.
 6946 
 6947 2009-03-14  Corinna Vinschen  <corinna@vinschen.de>
 6948 
 6949 	* libc/include/stdlib.h (_mkstemp_r, _mktemp_r): Move out of
 6950 	!_REENT_ONLY section.
 6951 
 6952 2009-03-14  Corinna Vinschen  <corinna@vinschen.de>
 6953 
 6954 	* libc/include/stdio.h (_mkstemp_r, _mktemp_r): Move declarations
 6955 	to stdlib.h.
 6956 	* libc/include/stdlib.h (mktemp, _mktemp_r): Warn when using.
 6957 	* libc/stdio/mktemp.c: Explain the security risk when using
 6958 	mktemp.
 6959 
 6960 2009-03-12  Craig Howland <howland@LGSInnovations.com>
 6961 
 6962 	* libc/time/time.tex (wcsftime.def):  Include.
 6963 	* libc/time/wcsftime.c:  Clean up documentation a little.
 6964 
 6965 2009-03-12  Craig Howland <howland@LGSInnovations.com>
 6966 
 6967 	* libc/stdio/swscanf.c:  Some documentation corrections.
 6968 
 6969 2009-03-12  Craig Howland <howland@LGSInnovations.com>
 6970 
 6971 	* libc/stdio/swprintf.c (_swprintf_r, swprintf):
 6972 	correct how terminating L'\0' is added;
 6973 	change return to match standard for when output does not fit;
 6974 	some corrections and enhancements to the docs.
 6975 	* libc/stdio/vswprintf.c (_vswprintf_r):  ditto, except for docs.
 6976 	* libc/stdio/vfwprintf.c:  some corrections to the docs and some
 6977 	enhancements to comments.  (No code changes.)
 6978 	* libc/time/strftime.c:  Correct some problems that made wcsftime()
 6979 	not work correctly:  work properly with swprintf returns that are
 6980 	different from snprintf returns, correct test vector lengths for
 6981 	when sizeof(wchar_t) > 1.
 6982 	* libc/stdio/sprintf.c:  Some documentation and comment corrections and
 6983 	enhancements to match those done to swprintf.c.
 6984 
 6985 2009-03-11  Corinna Vinschen  <corinna@vinschen.de>
 6986 
 6987 	* libc/include/wchar.h (wcscasecmp, wcsncasecmp): Declare.
 6988 	* libc/string/Makefile.am: Add wcscasecmp.c, wcsncasecmp.c
 6989 	* libc/stdio/Makefile.in: Regenerate.
 6990 	* libc/string/strings.tex: Add new documentation references.
 6991 	* libc/string/wcscasecmp.c: New file.
 6992 	* libc/string/wcsncasecmp.c: New file.
 6993 
 6994 2009-03-11  Corinna Vinschen  <corinna@vinschen.de>
 6995 
 6996 	* libc/include/wchar.h (fwscanf, swscanf, vfwscanf, vswscanf, vwscanf,
 6997 	wscanf): Declare.
 6998 	(_fwscanf_r, _swscanf_r, _vfwscanf_r, _vswscanf_r, _vwscanf_r,
 6999 	_wscanf_r): Declare.
 7000 	* libc/stdio/Makefile.am: Add new wscanf files.
 7001 	* libc/stdio/Makefile.in: Regenerate.
 7002 	* libc/stdio/fwscanf.c: New file.
 7003 	* libc/stdio/local.h (__svfwscanf_r, __ssvfwscanf_r, __svfiwscanf_r,
 7004 	__ssvfiwscanf_r): Declare.
 7005 	* libc/stdio/stdio.tex: Add new documentation references.
 7006 	* libc/stdio/swscanf.c: New file.
 7007 	* libc/stdio/vfwscanf.c: New file.
 7008 	* libc/stdio/vswscanf.c: New file.
 7009 	* libc/stdio/vwscanf.c: New file.
 7010 	* libc/stdio/wscanf.c: New file.
 7011 
 7012 	* libc/stdio/vfscanf.c (_sungetc_r): Make externaly available.  Only
 7013 	define if INTEGER_ONLY is defined.  Declare otherwise.
 7014 	(__ssrefill_r): Ditto.
 7015 	(_sfread_r): Ditto.
 7016 
 7017 	Remove static eofread/eofread1 functions and use __seofread
 7018 	function instead, throughout.
 7019 	* libc/stdio/local.h (__seofread): Declare.
 7020 	* libc/stdio/stdio.c (__seofread): Define.
 7021 
 7022 	* libc/stdio/fgetwc.c (__fgetwc): Fix compiler warning.
 7023 	* libc/stdio/fgetws.c (_fgetws_r): Ditto.
 7024 	* libc/stdio/fread.c (_fread_r): Ditto.
 7025 	* libc/stdio/vfprintf.c: Ditto.
 7026 	* libc/stdio/vswprintf.c: Ditto.
 7027 
 7028 2009-03-09  Brooks Moses  <brooks@codesourcery.com>
 7029 
 7030 	* libc/machine/arm/arm_asm.h: Fix typo.
 7031 
 7032 2009-03-09  Craig Howland <howland@LGSInnovations.com>
 7033 
 7034 	* libc/time/strftime.c:  Adapt for dual-purpose use so not only
 7035 	defines strftime(), but can also define wcsftime(); add optional
 7036 	test package; speed up %Y handling.
 7037 	* libc/time/wcsftime.c:  New file, defining wcsftime() (albeit
 7038 	indirectly by including strftime.c) and its documentation.
 7039 	* libc/time/time.tex:  Enhance tm_isdst explanation, change strftime
 7040 	description to match modified description in strftime.c
 7041 	* libc/time/Makefile.am:  Add wcsftime.c and wcsftime.def.  Add a rule
 7042 	so that wcsftime.o gets rebuilt when strftime changes.
 7043 	* libc/time/Makefile.in:  Regenerate.
 7044 	* libc/include/wchar.h (wcsftime): Declare.
 7045 
 7046 2009-03-06  Hans-Erik Floryd <hans-erik.floryd@rt-labs.com>,
 7047 	    Corinna Vinschen  <corinna@vinschen.de>
 7048 
 7049 	* libc/reent/reent.c (_reclaim_reent): Make a block from MP-related
 7050 	statements in _REENT_SMALL case.  Check if _atexit is not NULL before
 7051 	dereferencing it.
 7052 	(_wrapup_reent): Check if _atexit is not NULL before dereferencing it.
 7053 
 7054 2009-03-06  Corinna Vinschen  <corinna@vinschen.de>
 7055 
 7056 	* libc/include/stdio.h (__VALIST): Guard against multiple definition.
 7057 	* libc/include/wchar.h: Include stdarg.h.
 7058 	(__VALIST): Define conditionally.
 7059 	(fwprintf, swprintf, vfwprintf, vswprintf, vwprintf, wprintf): Declare.
 7060 	(_fwprintf_r, _swprintf_r, _vfwprintf_r, _vswprintf_r, _vwprintf_r,
 7061 	 _wprintf_r): Declare.
 7062 	* libc/stdio/Makefile.am: Add new files.
 7063 	* libc/stdio/Makefile.in: Regenerate.
 7064 	* libc/stdio/fwprintf.c: New file.
 7065 	* libc/stdio/local.h (_svfwprintf_r, _svfiwprintf_r): Declare.
 7066 	(__CH_CLASS, __STATE, __ACTION): Move definition from vfprintf.c here
 7067 	and move to the __ namespace.
 7068 	(__chclass, __state_table, __action_table): Declare.
 7069 	* libc/stdio/stdio.tex: Add new documentation references.
 7070 	* libc/stdio/swprintf.c: New file.
 7071 	* libc/stdio/vfprintf.c (__SPRINT): New macro to call the right
 7072 	__sprint_r function according to compilation unit.  Use throughout.
 7073 	(__ssprint_r): Rename STRING_ONLY variant from __sprint_r.
 7074 	Make externaly available.  Only define if INTEGER_ONLY is defined.
 7075 	(__sprint_r): Make externaly available.  Only define if INTEGER_ONLY
 7076 	is defined.  Handle stream orientation.
 7077 	(__sbprintf): Copy FILE's _flags2 member as well.
 7078 	(__chclass, __state_table, __action_table): Prepend __ to name and
 7079 	make externally available.
 7080 	* libc/stdio/vfwprintf.c: New file.
 7081 	* libc/stdio/vswprintf.c: New file.
 7082 	* libc/stdio/vwprintf.c: New file.
 7083 	* libc/stdio/wprintf.c: New file.
 7084 
 7085 2009-03-03  Corinna Vinschen  <corinna@vinschen.de>
 7086 
 7087 	* libc/locale/locale.c (_setlocale_r): New implementation based on
 7088 	FreeBSD's setlocale.
 7089 	(currentlocale): New helper function.
 7090 	(loadlocale): Ditto.
 7091 	(__locale_charset): New function.
 7092 	(__locale_msgcharset): Rename from __locale_charset.
 7093 	* libc/ctype/local.h (__lc_ctype): Remove declaration.
 7094 	(__locale_charset): Declare.
 7095 	* libc/ctype/iswalpha.c (iswalpha): Call __locale_charset instead of
 7096 	using __lc_ctype directly.  Only compare against the charset alone.
 7097 	* libc/ctype/iswblank.c (iswblank): Ditto.
 7098 	* libc/ctype/iswcntrl.c (iswcntrl): Ditto.
 7099 	* libc/ctype/iswprint.c (iswprint): Ditto.
 7100 	* libc/ctype/iswpunct.c (iswpunct): Ditto.
 7101 	* libc/ctype/iswspace.c (iswspace): Ditto.
 7102 	* libc/ctype/towlower.c (towlower): Ditto.
 7103 	* libc/ctype/towupper.c (towupper): Ditto.
 7104 	* libc/stdlib/mbtowc_r.c (_mbtowc_r): Ditto.
 7105 	* libc/stdlib/wctomb_r.c (_wctomb_r): Ditto.
 7106 	* libc/sys/linux/intl/loadmsgcat.c (_nl_init_domain_conv): Call
 7107 	__locale_msgcharset instead of __locale_charset.
 7108 
 7109 2009-03-02  Jeff Johnston  <jjohnstn@redhat.com>
 7110 
 7111 	* libc/stdlib/wctomb_r.c (_wctomb_r): When checking single-byte
 7112 	charset, cast wchar to size_t in case wchar_t is signed.
 7113 	* libc/stdlib/wctomb.c (wctomb): Add similar single-byte check.
 7114 
 7115 2009-03-02  Corinna Vinschen  <corinna@vinschen.de>
 7116 
 7117 	* libc/stdlib/wctomb_r.c (_wctomb_r): Return EILSEQ in case of an
 7118 	invalid wchar.  Return -1 if wchar doesn't fit into singlebyte
 7119 	value in case of using a singlebyte charset.
 7120 
 7121 2009-02-26  Brooks Moses  <brooks@codesourcery.com>
 7122 
 7123 	* libc/machine/arm/strcpy.c: Add missing comma.
 7124 
 7125 2009-02-26  Ralf Corsepius  <ralf.corsepius@rtems.org>
 7126 
 7127 	* libc/machine/lm32/configure.in: Let
 7128 	AC_CONFIG_SRCDIR point to setjmp.S instead of setjmp.s
 7129 	* libs/machine/lm32/configure: Regenerate.
 7130 
 7131 2009-02-25  Brooks Moses  <brooks@codesourcery.com>
 7132 
 7133 	* libc/stdlib/Makefile.am (CHEWOUT_FILES): Add
 7134 	  mbsnrtowcs.def, wcsnrtombs.def.
 7135 	* libc/stdlib/Makefile.in: Regenerate.
 7136 	* libc/stdlib/stdlib.tex (@menu): Use correct section
 7137 	  names for mbsrtowcs, wcsrtombs.
 7138 	* libc/stdlib/wcstod.c: Remove stray character in
 7139 	  documentation.
 7140 
 7141 2009-02-25  Corinna Vinschen  <corinna@vinschen.de>
 7142 
 7143 	* libc/stdlib/mbtowc_r.c (_mbtowc_r): Remove conversion of 5 and 6
 7144 	byte UTF-8 sequences since they are invalid in the Unicode standard.
 7145 	Handle surrogate pairs in case of wchar_t == UTF-16.
 7146 	* libc/stdlib/wctomb_r.c (_wctomb_r): Don't convert invalid Unicode
 7147 	wchar_t values beyond 0x10ffff into UTF-8 chars.  Handle surrogate
 7148 	pairs in case of wchar_t == UTF-16.
 7149 
 7150 2009-02-24  Kevin Buettner  <kevinb@redhat.com>
 7151 
 7152 	* libc/stdio/open_memstream.c (stdint.h): Include.
 7153 
 7154 2009-02-23  Craig Howland  <howland@LGSInnovations.com>
 7155 
 7156 	* libc/unix/ttyname.c:  Remove ttyname_r() (to a new file to avoid
 7157 	coupling ttyname_r() and ttyname() due to the latter's large buffer).
 7158 	* libc/unix/ttyname_r.c:  New file to hold ttyname_r(), previously in
 7159 	ttyname.c.
 7160 	* libc/unix/ttyname.h:  New file (common size definition for the 2
 7161 	ttyname*c files that are now split).
 7162 	* libc/unix/Makefile.am (ELIX_2_SOURCES):  Add ttyname_r.c.
 7163 	* libc/unix/Makefile.in:  Regenerate.
 7164 
 7165 2009-02-19  Corinna Vinschen  <corinna@vinschen.de>
 7166 
 7167 	* libc/include/wchar.h (mbsnrtowcs): Declare.
 7168 	(_mbsnrtowcs_r): Declare.
 7169 	(wcsnrtombs): Declare.
 7170 	(_wcsnrtombs_r): Declare.
 7171 	* libc/stdlib/Makefile.am (ELIX_2_SOURCES): Add mbsnrtowcs.c
 7172 	and wcsnrtombs.c.
 7173 	* libc/stdlib/Makefile.in: Regenerate.
 7174 	* libc/stdlib/mbsnrtowcs.c: New file, implementing _mbsnrtowcs_r
 7175 	and mbsnrtowcs.  Document mbsnrtowcs and mbsrtowcs.
 7176 	* libc/stdlib/mbsrtowcs.c (_mbsrtowcs_r): Just call _mbsnrtowcs_r.
 7177 	(mbsrtowcs): Ditto.
 7178 	* libc/stdlib/wcsnrtombs.c: New file, implementing _wcsnrtombs_r
 7179 	and wcsnrtombs.  Document wcsrtombs and wcsnrtombs.
 7180 	* libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Just call _wcsnrtombs_r.
 7181 	(wcsrtombs): Ditto.
 7182 	* libc/stdlib/stdlib.tex: Accommodate new documentation.
 7183 
 7184 2009-02-18  Jeff Johnston  <jjohnstn@redhat.com>
 7185 
 7186 	* libc/stdio/open_memstream.c (internal_open_memstream_r): Fix max
 7187 	buffer size to be in wchar_t units if wide == 1 is passed in.  In
 7188 	this case, also initialize the first character of the buffer to be
 7189 	wide char null.
 7190 	(_open_wmemstream_r): Cast buf to be (char **) to avoid warning.
 7191 	* libc/stdlib/mbtowc_r.c (_mbtowc_r): Change all occurences of
 7192 	incrementing the size_t value n to first check that n is not already
 7193 	size_t -1.  Fix some compiler warnings.
 7194 	* libc/stdlib/wcstod.c: Add includes for <wctype.h> and <math.h>.
 7195 
 7196 2009-02-18  Corinna Vinschen  <corinna@vinschen.de>
 7197 
 7198 	* libc/stdio/open_memstream.c: Add open_wmemstream to doumentation.
 7199 	(struct memstream): Add wide element.
 7200 	Change saved to a union to take char and wchar_t values.
 7201 	(memwriter): Accommodate wide-oriented oeprations.
 7202 	(memseeker): Ditto.
 7203 	(memseeker64): Ditto.
 7204 	(memcloser): Ditto.
 7205 	(internal_open_memstream_r): New static function.  Take functionality
 7206 	from former _open_memstream_r and handle additional "wide" parameter.
 7207 	(_open_memstream_r): Just call internal_open_memstream_r with wide==-1
 7208 	from here.
 7209 	(_open_wmemstream_r): New function.
 7210 	(open_wmemstream): Ditto.
 7211 	* libc/include/wchar.h (open_wmemstream): Declare.
 7212 	(_open_wmemstream_r): Declare.
 7213 
 7214 2009-02-16  Corinna Vinschen  <corinna@vinschen.de>
 7215 
 7216 	* libc/stdio/fputwc.c: Fix typo in man page info.
 7217 
 7218 2009-02-12  Corinna Vinschen  <corinna@vinschen.de>
 7219 
 7220 	* libc/include/wchar.h (_wcstod_r): Declare.
 7221 	(_wcstof_r): Declare.
 7222 	(wcstod): Declare.
 7223 	(wcstof): Declare.
 7224 	* libc/stdlib/Makefile.am (GENERAL_SOURCES): Add wcstod.c.
 7225 	(CHEWOUT_FILES): Add wcstod.def.
 7226 	* libc/stdlib/Makefile.in: Regenerate.
 7227 	* libc/stdlib/stdlib.tex: Add wcstod.
 7228 	* libc/stdlib/wcstod.c: New file.
 7229 
 7230 2009-02-05  Neal H. Walfield  <neal@gnu.org>
 7231 
 7232 	* libc/machine/x86_64/memcpy.S (memcpy): Don't use the red zone.
 7233 
 7234 2009-01-28  Jeff Johnston  <jjohnstn@redhat.com>
 7235 
 7236 	* libc/stdio/vfscanf.c (__SVFSCANF_R): Add additional check for
 7237 	inf and nan processing to not proceed if we have already collected
 7238 	zeroes.
 7239 
 7240 2009-01-26  DJ Delorie  <dj@redhat.com>
 7241 
 7242 	* configure.host (m32c-*-*): Add long long I/O support by default.
 7243 
 7244 2009-01-21  Richard Earnshaw  <rearnsha@arm.com>
 7245 
 7246 	* libc/machine/arm/arm_asm.h: New file.
 7247 	* libc/machine/arm/strlen.c: New file.
 7248 	* libc/machine/arm/strcpy.c: New file.
 7249 	* libc/machine/arm/strcmp.c: New file.
 7250 	* libc/machine/arm/Makefile.am: Add new string routines.
 7251 
 7252 2009-01-19  Neal H. Walfield  <neal@gnu.org>
 7253 
 7254 	* libc/include/stdint.h (INT64_C, UINT64_C, INTMAX_C, UINTMAX_C)
 7255 	[__have_long64 && __have_longlong64]: Use L and UL, not LL and ULL.
 7256 	* libc/include/inttypes.h (__PRI64, __SCN64, __PRIMAX, __SCNMAX,
 7257 	__PRIPTR, __SCNPTR) [__have_long64 && __have_longlong64]: Use l,
 7258 	not ll.
 7259 
 7260 2009-01-12  Nathan Froyd  <froydnj@codesourcery.com>
 7261 
 7262 	* libc/machine/powerpc/vfscanf.c (__sccl): Remove declaration.
 7263 
 7264 2009-01-12  Jeff Johnston  <jjohnstn@redhat.com>
 7265 
 7266 	* libc/stdio/fwalk.c (__fwalk, __fwalk_reent): Remove locking of
 7267 	each fp.  Let the function being called lock the fp, if necessary.
 7268 
 7269 2009-01-07  Kazu Hirata  <kazu@codesourcery.com>
 7270 
 7271 	* libc/include/sys/stdio.h (_flockfile, _funlockfile): Fix typos.
 7272 
 7273 2009-01-05  Craig Howland <howland@LGSInnovations.com>
 7274 
 7275 	* libc/stdio/fwide.c:  Correct typo in TRAD_SYNOPSIS for _fwide_r.
 7276 
 7277 2008-12-19  Jeff Johnston  <jjohnstn@redhat.com>
 7278 
 7279 	* NEWS: Update with 1.17.0 info.
 7280 	* README: Ditto.
 7281 	* acinclude.m4: Change version number to 1.17.0.
 7282 	* aclocal.m4: Regenerated.
 7283 	* configure: Ditto.
 7284 	* doc/aclocal.m4: Ditto.
 7285 	* doc/configure: Ditto.
 7286 	* libc/*/aclocal.m4: Ditto.
 7287 	* libc/*/configure: Ditto.
 7288 	* libc/libc.texinfo: Ditto.
 7289 	* libm/*/aclocal.m4: Ditto.
 7290 	* libm/*/configure: Ditto.
 7291 	* libm/libm.texinfo: Ditto.
 7292 	* libc/sys/linux/shared.ld: Add VERS_1.17
 7293 
 7294 2008-12-17  Jon Beniston <jon@beniston.com>
 7295 
 7296 	* configure.host: Set syscall_dir for lm32 target.
 7297 
 7298 2008-12-15  Jeff Johnston  <jjohnstn@redhat.com>
 7299 
 7300 	* libc/stdio/stdio.tex: Remove putwc and getwc references as they
 7301 	are included as part of fputwc and fgetwc, respectively.
 7302 
 7303 2008-12-12  Craig Howland <howland@LGSInnovations.com>
 7304 
 7305 	* libc/include/wchar.h:  Added wcstok() declaration.
 7306 	* libc/string/wcstok.c: New file, implementing wcstok.
 7307 	* libc/string/Makefile.am: Add wcstok support.
 7308 	* libc/string/wcstrings.tex: Ditto.
 7309 	* libc/string/Makefile.in: Regenerated.
 7310 
 7311 2008-12-12  Ralf Corsepius  <ralf.corsepius@rtems.org>
 7312 
 7313 	* libc/stdio/fputws.c: Fix documentation.
 7314 	* libc/stdio/getwchar.c: Ditto.
 7315 	* libc/stdio/putwchar.c: Ditto.
 7316 
 7317 2008-12-12  Ralf Corsepius  <ralf.corsepius@rtems.org>
 7318 
 7319 	* libc/include/sys/features.h: Set RTEMS's _POSIX_MONOTONIC_CLOCK to
 7320 	200112L (SUSv3 compliance).
 7321 	Comment out RTEMS's _POSIX_SHARED_MEMORY_OBJECTS (Unsupported).
 7322 
 7323 2008-12-12  Ralf Corsepius  <ralf.corsepius@rtems.org>
 7324 
 7325 	* libc/sys/rtems/crt0.c: Add stubs for getdents(), nanosleep(),
 7326 	_execve(), _exit().
 7327 
 7328 2008-12-12  Ralf Corsepius  <ralf.corsepius@rtems.org>
 7329 
 7330 	* configure.host: Let *rtems* default to c99-formats.
 7331 
 7332 2008-12-12  Craig Howland  <howland@LGSInnovations.com>
 7333 
 7334 	* libc/stdio/freopen.c:  Add <string.h> for memset prototype.
 7335 	* libc/stdio/fseek.c:  Ditto.
 7336 	* libc/stdio/fwide.c:  Add <wchar.h> for fwide prototype.
 7337 
 7338 2008-12-11 Jeff Johnston  <jjohnstn@redhat.com>
 7339 
 7340 	* libc/include/sys/time.h (gettimeofday): Change prototype so
 7341 	2nd parameter is void *, matching SUSV2.
 7342 	* libc/syscalls/sysgettod.c (gettimeofday): Ditto.
 7343 
 7344 2008-12-11 Jukka Pietarinen <jukka.pietarinen@mrf.fi>
 7345 
 7346 	* configure.host: Add lm32
 7347 	* libc/include/machine/ieeefp.h: Add __lm32__
 7348 	* libc/include/machine/setjmp.h: Add __lm32__
 7349 	* libc/machine/configure.in: Add lm32
 7350 	* libc/machine/configure: Regenerated.
 7351 	* libc/machine/lm32/aclocal.m4: New file.
 7352 	* libc/machine/lm32/configure.in: Ditto.
 7353 	* libc/machine/lm32/configure: Ditto.
 7354 	* libc/machine/lm32/Makefile.am: Ditto.
 7355 	* libc/machine/lm32/Makefile.in: Ditto.
 7356 	* libc/machine/lm32/setjmp.s: Ditto.
 7357 
 7358 2008-12-11  Craig Howland  <howland@LGSInnovations.com>
 7359 
 7360 	* libc/include/sys/lock.h:  Add void cast to avoid "statement has no
 7361 	effect" warnings from gcc.
 7362 	* libc/include/sys/stdio.h:  Ditto.
 7363 	* libc/include/sys/time.h:  Correct gettimeofday() prototype.
 7364 	* libc/stdlib/__exp10.c:  Add #include "std.h" for function prototype.
 7365 	* libc/stdlib/__ten_mu.c:  Ditto.
 7366 	* libc/stdlib/std.h:  Correct __exp10's ANSI prototype.
 7367 	* libc/stdlib/ldtoa.c:  Change eiisinf definition to ANSI form.  (Are
 7368 	already others in file without _ansi method, so did not bother.)
 7369 	* libc/stdlib/system.c:  Use _ansi forms for function prototypes and
 7370 	definitions.
 7371 	* libc/time/mktime.c:  Ditto.
 7372 	* libc/misc/__dprintf.c:  Ditto.
 7373 	* libc/include/stdio.h:  Add function prototypes for _fgetc_r,
 7374 	_fgetpos_r, _fsetpos_r, _freopen_r, _rewind_r, freopen64, _freopen64_r,
 7375 	_funopen_r, and _fopencookie_r.
 7376 	* libc/include/reent.h:  Add function prototype for _stat64_r, align
 7377 	_execve_r prototype with POSIX definition for execve.
 7378 	* libc/reent/execr.c:  Align function prototype with POSIX definition.
 7379 	* libc/stdio/asniprintf.c:  Add #include "local.h".
 7380 	* libc/stdio/vasniprintf.c:  Ditto.
 7381 	* libc/stdio/fread.c:  Remove unused variable newcount.
 7382 	* libc/stdio/local.h:  Add function prototype for __sccl.
 7383 	* libc/stdio/open_memstream.c:  Remove unused variable flags.
 7384 	* libc/stdio/vfscanf.c:  Proper prototyping for ccfn, remove prototype
 7385 	for __sccl since now in local.h.
 7386 	* libc/string/memcpy.c:  Add #include <string.h> (for real and for
 7387 	traditional synopsis), remove extraneous stddef.h and limits.h.
 7388 	* libc/syscalls/sysclose.c:  Add #include <unistd.h>.
 7389 	* libc/syscalls/sysfork.c:  Ditto.
 7390 	* libc/syscalls/sysgetpid.c:  Ditto.
 7391 	* libc/syscalls/sysexecve.c:  Add #include <unistd.h>, align function
 7392 	prototype with POSIX definition.
 7393 	* libc/syscalls/sysfstat.c:  Add #include <sys/stat.h>.
 7394 	* libc/syscalls/sysgettod.c:  Correct sys/times.h to sys/time.h.
 7395 	* libc/syscalls/syskill.c:  Add #include <signal.h>.
 7396 	* libc/syscalls/syslink.c:  Add #include <unistd.h>, fix prototype.
 7397 	* libc/syscalls/sysunlink.c:  Ditto.
 7398 	* libc/syscalls/sysstat.c:  Add #include <sys/stat.h>, fix prototype.
 7399 	* libc/syscalls/syswait.c:  Add #include <sys/wait.h>, fix prototype.
 7400 
 7401 2008-12-10  Corinna Vinschen  <corinna@vinschen.de>
 7402 
 7403 	Implement basic wide char stdio functionality, based on FreeBSD.
 7404 	* libc/include/stdio.h (__SORD): Define.
 7405 	(__SWID): Define.
 7406 	* libc/include/wchar.h: Add declarations for new wide char functions.
 7407 	(getwc): Define as macro.
 7408 	(getwchar): Ditto.
 7409 	(putwc): Ditto.
 7410 	(putwchar): Ditto.
 7411 	* libc/include/sys/reent.h (struct __sFILE): Add _mbstate member.
 7412 	(struct __sFILE64): Ditto.
 7413 	* libc/stdio/Makefile.am (ELIX_4_SOURCES): Add fgetwc.c, fgetws.c,
 7414 	fputwc.c, fputws.c, fwide.c, getwc.c, getwchar.c, putwc.c, putwchar.c
 7415 	and ungetwc.c.
 7416 	(CHEWOUT_FILES): Add fgetwc.def, fgetws.def, fputwc.def, fputws.def,
 7417 	fwide.def, getwc.def, getwchar.def, putwc.def, putwchar.def and
 7418 	ungetwc.def.
 7419 	Add header dependency rules for the new files.
 7420 	* libc/stdio/Makefile.in: Regenerate.
 7421 	* libc/stdio/fgetwc.c: New file, implementing fgetwc and _fgetwc_r.
 7422 	* libc/stdio/fgetws.c: New file, implementing fgetws and _fgetws_r.
 7423 	* libc/stdio/findfp.c (std): Initialize FILE's _mbstate member.
 7424 	(__sfmoreglue): Ditto.
 7425 	* libc/stdio/fputs.c (_fputs_r): Set stream orientation.
 7426 	* libc/stdio/fputwc.c: New file, implementing fputwc and _fputwc_r.
 7427 	* libc/stdio/fputws.c: New file, implementing fputws and _fputws_r.
 7428 	* libc/stdio/fread.c (_fread_r): Set stream orientation.
 7429 	* libc/stdio/freopen.c (_freopen_r): Reset stream orientation.  Reset
 7430 	_mbstate.
 7431 	* libc/stdio/fseek.c (_fseek_r): Reset _mbstate.
 7432 	* libc/stdio/fwide.c: New file, implementing fwide and _fwide_r.
 7433 	* libc/stdio/fwrite.c (_fwrite_r): Set stream orientation.
 7434 	* libc/stdio/getwc.c: New file, implementing getwc and _getwc_r.
 7435 	* libc/stdio/getwchar.c: New file, implementing getwchar and
 7436 	_getwchar_r.
 7437 	* libc/stdio/local.h (ORIENT): New macro.
 7438 	* libc/stdio/puts.c (_puts_r): Set stream orientation.
 7439 	* libc/stdio/putwc.c: New file, implementing putwc and _putwc_r.
 7440 	* libc/stdio/putwchar.c: New file, implementing putwchar and
 7441 	_putwchar_r.
 7442 	* libc/stdio/refill.c (__srefill_r): Set stream orientation.
 7443 	* libc/stdio/stdio.tex: Add documentation for new functions.
 7444 	* libc/stdio/ungetc.c (_ungetc_r): Set stream orientation.
 7445 	* libc/stdio/ungetwc.c: New file, implementing ungetwc and _ungetwc_r.
 7446 	* libc/stdio/vfscanf.c (__SVFSCANF_R): Set stream orientation.
 7447 	* libc/stdio/wbuf.c (__swbuf_r): Ditto.
 7448 
 7449 2008-12-10  Joseph Myers  <joseph@codesourcery.com>
 7450 
 7451 	* libc/include/stdint.h (INT32_MIN, INT32_MAX, UINT32_MAX,
 7452 	INT_LEAST32_MIN, INT_LEAST32_MAX, UINT_LEAST32_MAX): Define to
 7453 	constants with "long" types where appropriate.
 7454 	(INT_FAST8_MIN, INT_FAST8_MAX, UINT_FAST8_MAX, INT_FAST16_MIN,
 7455 	INT_FAST16_MAX, UINT_FAST16_MAX, INT_FAST32_MIN, INT_FAST32_MAX,
 7456 	UINT_FAST32_MAX, INT_FAST64_MIN, INT_FAST64_MAX, UINT_FAST64_MAX):
 7457 	Correct to match logic for defining corresponding types.
 7458 	(INTMAX_MAX, INTMAX_MIN, UINTMAX_MAX): Define.
 7459 	(SIZE_MAX): Define using __SIZE_MAX__ if available.
 7460 	(PTRDIFF_MAX): Define using __PTRDIFF_MAX__ if available.
 7461 	(PTRDIFF_MIN): Define in terms of PTRDIFF_MAX.
 7462 	(WCHAR_MAX, WCHAR_MIN, WINT_MAX, WINT_MIN): Define.
 7463 	(UINT8_C, UINT16_C): Define to give signed values if corresponding
 7464 	types would promote to int.
 7465 
 7466 2008-12-04  Corinna Vinschen  <corinna@vinschen.de>
 7467 
 7468 	* libc/include/sys/features.h (_POSIX_V6_ILP32_OFF32): Always define.
 7469 	(_POSIX_V6_LP64_OFF64): Ditto.
 7470 	(_POSIX_V6_LPBIG_OFFBIG): Ditto.
 7471 
 7472 2008-11-28  Jeff Johnston  <jjohnstn@redhat.com>
 7473 
 7474 	* libc/sys/linux/inode.c: Include <dirent.h> instead of
 7475 	<linux/dirent.h>.
 7476 	* libc/sys/linux/io64.c: Add weak alias for _stat64.
 7477 
 7478 2008-11-27  Ralf Corsepius <ralf.corsepius@rtems.org>
 7479 
 7480 	* libc/posix/telldir.c: Use #if !defined() instead of #ifndef
 7481 	to fix GCC warning.
 7482 
 7483 2008-11-27  Ken Werner  <ken.werner@de.ibm.com>
 7484 
 7485 	* libc/machine/spu/Makefile.am: Add spu-mcount.S spu-gmon.c.
 7486 	* libc/machine/spu/Makefile.in: Regenerated.
 7487 	* libc/machine/spu/spu-gmon.c: New file.
 7488 	* libc/machine/spu/spu-mcount.S: New file.
 7489 
 7490 2008-11-27  Joel Sherrill <joel.sherrill@oarcorp.com>
 7491 
 7492 	* configure.host (*-rtems*): Turn on using portion of unix subdirectory.
 7493 
 7494 2008-11-27  Craig Howland <howland@LGSInnovations.com>
 7495 
 7496 	* libc/argz/argz_add.c:  Added #include <argz.h> to get function
 7497 	prototypes.
 7498 	* libc/argz/argz_append.c: Ditto.
 7499 	* libc/argz/argz_count.c: Ditto.
 7500 	* libc/argz/argz_create.c: Ditto.
 7501 	* libc/argz/argz_create_sep.c: Ditto.
 7502 	* libc/argz/argz_delete.c: Ditto.
 7503 	* libc/argz/argz_next.c: Ditto.
 7504 	* libc/argz/argz_stringify.c: Ditto
 7505 	* libc/stdlib/strtod.c: Added #include <stdlib.h> to get function
 7506 	prototypes.
 7507 	* libc/stdlib/wcstoul.c: Added #include <wchar.h> to get function
 7508 	prototypes, corrected traditional usage comment.
 7509 	* libc/include/wchar.h: Added _mbsrtowcs_r() prototype.
 7510 
 7511 2008-11-26 Ken Werner <ken.werner@de.ibm.com>
 7512 
 7513 	* libm/machine/spu/headers/acosd2.h: Rebase against current simdmath.
 7514 	* libm/machine/spu/headers/asind2.h: Likewise.
 7515 	* libm/machine/spu/headers/asinhf4.h: Likewise.
 7516 	* libm/machine/spu/headers/divd2.h: Likewise.
 7517 	* libm/machine/spu/headers/erf_utils.h: Likewise.
 7518 	* libm/machine/spu/headers/erfcd2.h: Likewise.
 7519 	* libm/machine/spu/headers/erfcf4.h: Likewise.
 7520 	* libm/machine/spu/headers/erfd2.h: Likewise.
 7521 	* libm/machine/spu/headers/recipd2.h: Likewise.
 7522 
 7523 2008-11-25  Corinna Vinschen  <corinna@vinschen.de>
 7524 
 7525 	* libc/stdio/gets.c (_gets_r): Lock stdin here and call
 7526 	__sgetc_r instead of _getchar_r.
 7527 
 7528 2008-11-24  Craig Howland  <howland@LGSInnovations.com>
 7529 
 7530 	* libc/stdlib/wcstoull_r.c:  Add EINVAL return for bad base value,
 7531 	include wchar.h for prototype, remove extraneous includes, use
 7532 	C99/POSIX ULLONG_MAX (but allow for poor limits.h).
 7533 	* libc/stdlib/wcstoull.c:  Fix usage comments (mistakes and to add
 7534 	base value check noted above), remove extraneous includes.
 7535 	* libc/stdio/asnprintf.c:  Add #include "local.h" to get function
 7536 	prototype for _svfprintf_r().
 7537 	* libc/stdio/vasnprintf.c:  Ditto.
 7538 	* libc/stdio/local.h:  Add function prototype for __submore().
 7539 	* libc/include/stdio.h:  Add function prototypes for _fseeko_r and
 7540 	_ftello_r.
 7541 	* libc/posix/namespace.h:  Commented out define for write to
 7542 	eliminate write() prototype being missing for collate.c (which is
 7543 	the only file that presently includes namespace.h).
 7544 	* libc/include/reent.h:  Added _rename_r.
 7545 	* libc/reent/renamer.c:  Corrected function prototypes in synopses.
 7546 	* libc/locale/ldpart.c:  Use struct stat64 when calling fstat64.
 7547 
 7548 2008-11-24  Jeff Johnston  <jjohnstn@redhat.com>
 7549 
 7550 	* libc/search/hash_func.c: Comment out unused static hash functions.
 7551 	* libc/reent/stat64r.c: New file.
 7552 	* libc/reent/Makefile.am: Add stat64r.c support.
 7553 	* libc/reent/Makefile.in: Regenerated.
 7554 
 7555 2008-11-24  Joel Sherrill <joel.sherrill@oarcorp.com>
 7556 
 7557 	* libc/posix/scandir.c: Fix memory leaks.
 7558 
 7559 2008-11-24  Joel Sherrill <joel.sherrill@oarcorp.com>
 7560 
 7561 	* libc/posix/Makefile.am: Compile readdir_r.c not readdir.c twice.
 7562 	* libc/posix/Makefile.in: Regenerated.
 7563 
 7564 2008-11-24  Corinna Vinschen  <corinna@vinschen.de>
 7565 
 7566 	* libc/include/stdio.h (__SMOD): Remove definition of unused flag.
 7567 	* libc/include/sys/reent.h (struct __sFILE): Add _flags2 member.
 7568 	* libc/stdio/findfp.c (std): Initialize _flags2.
 7569 	(__sfp): Ditto.
 7570 	* libc/stdio/refill.c (__srefill_r): Drop resetting __SMOD flag.
 7571 	* libc/stdio/vfscanf.c (__ssrefill_r): Ditto.
 7572 	* libc/stdio/fseek.c (_fseek_r): Drop checking __SMOD flag.
 7573 	* libc/stdio64/fseeko64.c (_fseeko64_r): Ditto.
 7574 
 7575 2008-11-20  Ken Werner  <ken.werner@de.ibm.com>
 7576 
 7577 	* libc/machine/spu/sys/linux_syscalls.h: Additional syscall defines to
 7578 	be in sync with current kernels.
 7579 
 7580 2008-11-20  Ken Werner  <ken.werner@de.ibm.com>
 7581 	    Patrick Mansfield  <patmans@us.ibm.com>
 7582 	    Joel Schopp   <jschopp@austin.ibm.com>
 7583 
 7584 	* libc/machine/spu/configure.in: Add __ea detection.
 7585 	* libc/machine/spu/Makefile.am: Add new files.
 7586 	* libc/machine/spu/include/ea.h: New file.
 7587 	* libc/machine/spu/ea_internal.h: Likewise.
 7588 	* libc/machine/spu/sys/mman.h: Likewise.
 7589 	* libc/machine/spu/mmap_ea.c: Likewise.
 7590 	* libc/machine/spu/munmap_ea.c: Likewise.
 7591 	* libc/machine/spu/mremap_ea.c: Likewise.
 7592 	* libc/machine/spu/msync_ea.c: Likewise.
 7593 	* libc/machine/spu/memchr_ea.c: Likewise.
 7594 	* libc/machine/spu/memcmp_ea.c: Likewise.
 7595 	* libc/machine/spu/memcpy_ea.c: Likewise.
 7596 	* libc/machine/spu/memmove_ea.c: Likewise.
 7597 	* libc/machine/spu/memset_ea.c: Likewise.
 7598 	* libc/machine/spu/malloc_ea.c: Likewise.
 7599 	* libc/machine/spu/realloc_ea.c: Likewise.
 7600 	* libc/machine/spu/calloc_ea.c: Likewise.
 7601 	* libc/machine/spu/free_ea.c: Likewise.
 7602 	* libc/machine/spu/posix_memalign_ea.c: Likewise.
 7603 	* libc/machine/spu/strcat_ea.c: Likewise.
 7604 	* libc/machine/spu/strchr_ea.c: Likewise.
 7605 	* libc/machine/spu/strcmp_ea.c: Likewise.
 7606 	* libc/machine/spu/strcpy_ea.c: Likewise.
 7607 	* libc/machine/spu/strcspn_ea.c: Likewise.
 7608 	* libc/machine/spu/strlen_ea.c: Likewise.
 7609 	* libc/machine/spu/strncat_ea.c: Likewise.
 7610 	* libc/machine/spu/strncmp_ea.c: Likewise.
 7611 	* libc/machine/spu/strncpy_ea.c: Likewise.
 7612 	* libc/machine/spu/strpbrk_ea.c: Likewise.
 7613 	* libc/machine/spu/strrchr_ea.c: Likewise.
 7614 	* libc/machine/spu/strspn_ea.c: Likewise.
 7615 	* libc/machine/spu/strstr_ea.c: Likewise.
 7616 	* libc/machine/spu/read_ea.c: Likewise.
 7617 	* libc/machine/spu/pread_ea.c: Likewise.
 7618 	* libc/machine/spu/readv_ea.c: Likewise.
 7619 	* libc/machine/spu/write_ea.c: Likewise.
 7620 	* libc/machine/spu/pwrite_ea.c: Likewise.
 7621 	* libc/machine/spu/writev_ea.c: Likewise.
 7622 
 7623 2008-11-19  Joel Sherrill <joel.sherrill@oarcorp.com>
 7624 
 7625 	* libc/include/sys/config.h[__mips__]: Don't bother
 7626 	setting __ATTRIBUTE_IMPURE_PTR__ here.
 7627 	[__rtems__][__mips__]: No need to undef the __ATTRIBUTE_IMPURE_PTR__
 7628 	macro anymore.
 7629 
 7630 2008-11-19  Jeff Johnston  <jjohnstn@redhat.com>
 7631 
 7632 	* libc/sys/linux/bits/dirent.h: New header file.
 7633 	* libc/sys/linux/sys/dirent.h: Include <bits/dirent.h> instead of
 7634 	<linux/dirent.h>.
 7635 	* libc/posix/Makefile.am: Remove reallocf.
 7636 	* libc/posix/Makefile.in: Regenerated.
 7637 	* libc/posix/reallocf.c: Moved to...
 7638 	* libc/stdlib/reallocf.c: Here
 7639 	* libc/stdlib/malloc.c: Add reallocf documentation.
 7640 	* libc/include/stdlib.h: Add reallocf and _reallocf_r prototypes.
 7641 	* libc/stdlib/Makefile.am: Add reallocf.
 7642 	* libc/stdlib/Makefile.in: Regenerated.
 7643 	* libc/posix/_isatty.c: Set errno.
 7644 
 7645 2008-11-19  Craig Howland  <howland@LGSInnovations.com>
 7646 
 7647 	* libc/unix/collate.c (__collate_err): simplify to remove unnecessary
 7648 	strdup() and strlen() calls, also getting rid of a compiler warning.
 7649 
 7650 2008-11-19  Ralf Corsepius <ralf.corsepius@rtems.org>
 7651 
 7652 	* libc/include/sys/config.h: Don't put
 7653 	__ATTRIBUTE_IMPURE_PTR__ into .sdata section for mips-rtems.
 7654 
 7655 2008-11-19  Ralf Corsepius  <ralf.corsepius@rtems.org>
 7656 
 7657 	* libc/posix/runetype.h: Add include of stddef.h and remove
 7658 	defining standard types: size_t and wchar_t.
 7659 
 7660 2008-11-19  Ralf Corsepius  <ralf.corsepius@rtems.org>
 7661 
 7662 	* libc/include/pthread.h: Remove prototypes for
 7663 	pthread_attr_getcputime and pthread_attr_setcputime which
 7664 	were proposed but never approved by the POSIX standard.
 7665 
 7666 2008-11-18  Joel Sherrill <joel.sherrill@oarcorp.com>
 7667 
 7668 	* libc/unix/ttyname.c: Use isatty() instead of tcgetattr().
 7669 
 7670 2008-11-18  Jeff Johnston  <jjohnstn@redhat.com>
 7671 
 7672 	* libc/unix/basename.c: Add !_NO_BASENAME flag check so code can be
 7673 	ignored if desired by a platform.
 7674 	* libc/unix/dirname.c: Ditto except replace BASENAME with file name.
 7675 	* libc/unix/getcwd.c: Ditto.
 7676 	* libc/unix/getlogin.c: Ditto.
 7677 	* libc/unix/getpass.c: Ditto.
 7678 	* libc/unix/getpwent.c: Ditto.
 7679 	* libc/unix/getut.c: Ditto.
 7680 	* libc/unix/pread.c: Ditto.
 7681 	* libc/unix/pwrite.c: Ditto.
 7682 	* libc/unix/sigset.c: Ditto.
 7683 
 7684 2008-11-18  Craig Howland  <howland@LGSInnovations.com>
 7685 
 7686 	* libc/unix/ttyname.c: Add ttyname_r and change ttyname to use
 7687 	ttyname_r.
 7688 
 7689 2008-11-17  Joel Sherrill <joel.sherrill@oarcorp.com>
 7690 
 7691 	* configure.host: RTEMS now uses posix subdirectory.
 7692 
 7693 2008-11-17  Joel Sherrill <joel.sherrill@oarcorp.com>
 7694 
 7695 	* sys/rtems/include/limits.h: Add _POSIX2_RE_DUP_MAX.
 7696 	* sys/rtems/sys/param.h: sys/rtprio.h not needed.
 7697 
 7698 2008-10-31  Jeff Johnston  <jjohnstn@redhat.com>
 7699 
 7700 	* libc/stdio/diprintf.c: Modify documentation so eclipse newlib
 7701 	libhover docs generate properly.
 7702 	* libc/stdio/dprintf.c: Ditto.
 7703 	* libc/stdio/fflush.c: Ditto.
 7704 	* libc/stdio/fopencookie.c: Ditto.
 7705 	* libc/stdio/fread.c: Ditto.
 7706 	* libc/stdio/fsetpos.c: Ditto.
 7707 	* libc/stdio/getc_u.c: Ditto.
 7708 	* libc/stdio/getchar_u.c: Ditto.
 7709 	* libc/stdio/putc_u.c: Ditto.
 7710 	* libc/stdio/putchar_u.c: Ditto.
 7711 	* libc/stdio/remove.c: Ditto.
 7712 	* libc/stdio/siprintf.c: Ditto.
 7713 	* libc/stdio/siscanf.c: Ditto.
 7714 	* libc/stdio/sprintf.c: Ditto.
 7715 	* libc/stdio/sscanf.c: Ditto.
 7716 	* libc/stdio/vfprintf.c: Ditto.
 7717 	* libc/stdio/vfscanf.c: Ditto.
 7718 	* libc/stdio/viprintf.c: Ditto.
 7719 	* libc/stdio/viscanf.c: Ditto.
 7720 	* libc/stdlib/calloc.c: Ditto.
 7721 	* libc/stdlib/efgcvt.c: Ditto.
 7722 	* libc/stdlib/envlock.c: Ditto.
 7723 	* libc/time/asctime.c: Ditto.
 7724 	* libc/time/ctime.c: Ditto.
 7725 	* libc/time/gmtime.c: Ditto.
 7726 	* libc/time/lcltime.c: Ditto.
 7727 	* libc/time/tzset.c: Ditto.
 7728 	* libc/stdlib/envlock.h: Moved to libc/include.
 7729 
 7730 2008-10-31  Jeff Johnston  <jjohnstn@redhat.com>
 7731 
 7732 	* libc/include/limits.h: Add ARG_MAX, PATH_MAX, and _POSIX2_RE_DUP_MAX.
 7733 	* libc/include/envlock.h: New file.
 7734 	* libc/include/fnmatch.h: Ditto.
 7735 	* libc/include/glob.h: Ditto.
 7736 	* libc/include/regex.h: Ditto.
 7737 	* libc/include/wordexp.h: Ditto.
 7738 	* libc/posix/Makefile.am: Add new files moved from
 7739 	libc/sys/linux/stdlib.
 7740 	* libc/posix/Makefile.in: Regenerated.
 7741 	* libc/posix/COPYRIGHT: New file moved from libc/sys/linux/stdlib.
 7742 	* libc/posix/cclass.h: Ditto.
 7743 	* libc/posix/cname.h: Ditto.
 7744 	* libc/posix/collate.c: Ditto.
 7745 	* libc/posix/collate.h: Ditto.
 7746 	* libc/posix/collcmp.c: Ditto.
 7747 	* libc/posix/engine.c: Ditto.
 7748 	* libc/posix/fnmatch.3: Ditto.
 7749 	* libc/posix/glob.3: Ditto.
 7750 	* libc/posix/fnmatch.c: Ditto.
 7751 	* libc/posix/glob.c: Ditto.
 7752 	* libc/posix/namespace.h: Ditto.
 7753 	* libc/posix/reallocf.c: Ditto.
 7754 	* libc/posix/regcomp.c: Ditto.
 7755 	* libc/posix/regerror.c: Ditto.
 7756 	* libc/posix/regex.3: Ditto.
 7757 	* libc/posix/regex2.h: Ditto.
 7758 	* libc/posix/regexec.c: Ditto.
 7759 	* libc/posix/regfree.c: Ditto.
 7760 	* libc/posix/rune.h: Ditto.
 7761 	* libc/posix/runetype.h: Ditto.
 7762 	* libc/posix/scandir.c: Remove advertising clause which is not in
 7763 	effect.
 7764 	* libc/posix/sysexits.h: Ditto.
 7765 	* libc/posix/un-namespace.h: Ditto.
 7766 	* libc/posix/utils.h: Ditto.
 7767 	* libc/posix/wordexp.c: Ditto.
 7768 	* libc/posix/wordfree.c: Ditto.
 7769 	* libc/posix/execl.c: Add !_NO_EXECVE flag check.
 7770 	* libc/posix/execle.c: Ditto.
 7771 	* libc/posix/execlp.c: Ditto.
 7772 	* libc/posix/execv.c: Ditto.
 7773 	* libc/posix/execve.c: Ditto.
 7774 	* libc/posix/execvp.c: Ditto.
 7775 	* libc/posix/popen.c: Add !_NO_POPEN flag check.
 7776 	* libc/sys/linux/configure: Regenerated.
 7777 	* libc/sys/linux/configure.in: Remove stdlib.
 7778 	* libc/sys/linux/include/limits.h: Add include of linux/limits.h.
 7779 	* libc/sys/linux/stdlib/Makefile.am: Removed.
 7780 	* libc/sys/linux/stdlib/Makefile.in: Ditto.
 7781 	* libc/sys/linux/stdlib/COPYRIGHT: Moved to libc/posix.
 7782 	* libc/sys/linux/stdlib/cclass.h: Ditto.
 7783 	* libc/sys/linux/stdlib/cname.h: Ditto.
 7784 	* libc/sys/linux/stdlib/collate.c: Ditto.
 7785 	* libc/sys/linux/stdlib/collate.h: Ditto.
 7786 	* libc/sys/linux/stdlib/collcmp.c: Ditto.
 7787 	* libc/sys/linux/stdlib/engine.c: Ditto.
 7788 	* libc/sys/linux/stdlib/fnmatch.3: Ditto.
 7789 	* libc/sys/linux/stdlib/fnmatch.c: Ditto.
 7790 	* libc/sys/linux/stdlib/glob.3: Ditto.
 7791 	* libc/sys/linux/stdlib/glob.c: Ditto.
 7792 	* libc/sys/linux/stdlib/reallocf.c: Ditto.
 7793 	* libc/sys/linux/stdlib/regcomp.c: Ditto.
 7794 	* libc/sys/linux/stdlib/regerror.c: Ditto.
 7795 	* libc/sys/linux/stdlib/regex.3: Ditto.
 7796 	* libc/sys/linux/stdlib/regex2.h: Ditto.
 7797 	* libc/sys/linux/stdlib/regexec.c: Ditto.
 7798 	* libc/sys/linux/stdlib/regfree.c: Ditto.
 7799 	* libc/sys/linux/stdlib/utils.h: Ditto.
 7800 	* libc/sys/linux/stdlib/wordexp.c: Ditto.
 7801 	* libc/sys/linux/stdlib/wordfree.c: Ditto.
 7802 
 7803 2008-10-16  Joel Sherrill <joel.sherrill@oarcorp.com>
 7804 
 7805 	* libc/include/sys/unistd.h: RTEMS follows standard for sync().
 7806 
 7807 2008-10-16  Joel Sherrill <joel.sherrill@oarcorp.com>
 7808 
 7809 	* libc/include/time.h: Add CLOCK_MONOTONIC.
 7810 	* libc/include/sys/features.h: Define
 7811 	_POSIX_MONOTONIC_CLOCK for RTEMS.
 7812 
 7813 2008-10-15  Jeff Johnston  <jjohnstn@redhat.com>
 7814 
 7815 	* newlib.hin: Restore to previous 1.14 version which has no
 7816 	PACKAGE_ macros.
 7817 
 7818 2008-10-15  Joel Sherrill <joel.sherrill@oarcorp.com>
 7819 
 7820 	* libc/include/sys/unistd.h: Enable ttyname_r() for RTEMS.
 7821 
 7822 2008-10-15  Craig Howland  <howland@LGSInnovations.com>
 7823 
 7824 	* libc/include/ctype.h (isblank):  isblank is C99.
 7825 	* libc/ctype/isblank.c (isblank comments):  ditto.  isblank does not
 7826 	have a macro version (as was claimed in the description).
 7827 
 7828 2008-10-15  Jeff Johnston  <jjohnstn@redhat.com>
 7829 
 7830 	* libc/stdio/vfscanf.c (__ssvfiscanf_r): Do not support %lc, %C, %ls or
 7831 	%S conversions when the EL/IX level is 1.
 7832 
 7833 2008-10-06  Eric Blake  <ebb9@byu.net>
 7834 
 7835 	* libc/stdlib/ldtoa.c (etoasc): Fix rounding to even when fraction
 7836 	is 0.5 or 0.75.
 7837 
 7838 2008-10-06  Craig Howland  <howland@LGSInnovations.com>
 7839 
 7840 	* libc/time/tzset_r.c (_tzset_r):  Change US default start/end dates to
 7841 	2007 law revision of start in 2nd Sunday in March, end 1st Sun in Nov.
 7842 
 7843 2008-10-02  Jeff Johnston  <jjohnstn@redhat.com>
 7844 
 7845 	* libc/string/str-two-way.h (critical_factorization): Cast the index
 7846 	operation to ensure unsigned rollover occurs when adding to SIZE_MAX.
 7847 
 7848 2008-10-02  Jeff Johnston  <jjohnstn@redhat.com>
 7849 
 7850 	* libc/sys/linux/include/stdint.h (SIZE_MAX): Fix value which should
 7851 	be size of size_t, not int.
 7852 	(SIZE_MIN): Remove.
 7853 	* libc/sys/linux/sys/stdint.h: Ditto.
 7854 
 7855 2008-10-02  Jeff Johnston  <jjohnstn@redhat.com>
 7856 
 7857 	* libc/include/sys/reent.h[_REENT_SMALL](_REENT_INIT_RAND48): Add
 7858 	initialization of _rand_next to 1.
 7859 
 7860 2008-09-29  Peter O'Gorman  <pogma@thewrittenword.com>
 7861 	    Steve Ellcey  <sje@cup.hp.com>
 7862 
 7863 	* configure: Regenerate for new libtool.
 7864 	* aclocal.m4: Ditto.
 7865 	* Makefile.in: Ditto.
 7866 	* newlib.hin: Ditto.
 7867 	* doc/Makefile.in: Ditto.
 7868 	* doc/configure: Ditto.
 7869 	* iconvdata/Makefile.in: Ditto.
 7870 	* iconvdata/aclocal.m4: Ditto.
 7871 	* iconvdata/configure: Ditto.
 7872 	* libc/Makefile.in: Ditto.
 7873 	* libc/aclocal.m4: Ditto.
 7874 	* libc/configure: Ditto.
 7875 	* libc/argz/Makefile.in: Ditto.
 7876 	* libc/ctype/Makefile.in: Ditto.
 7877 	* libc/errno/Makefile.in: Ditto.
 7878 	* libc/iconv/Makefile.in: Ditto.
 7879 	* libc/iconv/ccs/Makefile.in: Ditto.
 7880 	* libc/iconv/ccs/binary/Makefile.in: Ditto.
 7881 	* libc/iconv/ces/Makefile.in: Ditto.
 7882 	* libc/iconv/lib/Makefile.in: Ditto.
 7883 	* libc/locale/Makefile.in: Ditto.
 7884 	* libc/machine/Makefile.in: Ditto.
 7885 	* libc/machine/aclocal.m4: Ditto.
 7886 	* libc/machine/configure: Ditto.
 7887 	* libc/machine/a29k/Makefile.in: Ditto.
 7888 	* libc/machine/a29k/configure: Ditto.
 7889 	* libc/machine/arm/Makefile.in: Ditto.
 7890 	* libc/machine/arm/configure: Ditto.
 7891 	* libc/machine/bfin/Makefile.in: Ditto.
 7892 	* libc/machine/bfin/configure: Ditto.
 7893 	* libc/machine/cris/Makefile.in: Ditto.
 7894 	* libc/machine/cris/configure: Ditto.
 7895 	* libc/machine/crx/Makefile.in: Ditto.
 7896 	* libc/machine/crx/configure: Ditto.
 7897 	* libc/machine/d10v/Makefile.in: Ditto.
 7898 	* libc/machine/d10v/configure: Ditto.
 7899 	* libc/machine/d30v/Makefile.in: Ditto.
 7900 	* libc/machine/d30v/configure: Ditto.
 7901 	* libc/machine/fr30/Makefile.in: Ditto.
 7902 	* libc/machine/fr30/configure: Ditto.
 7903 	* libc/machine/frv/Makefile.in: Ditto.
 7904 	* libc/machine/frv/configure: Ditto.
 7905 	* libc/machine/h8300/Makefile.in: Ditto.
 7906 	* libc/machine/h8300/configure: Ditto.
 7907 	* libc/machine/h8500/Makefile.in: Ditto.
 7908 	* libc/machine/h8500/configure: Ditto.
 7909 	* libc/machine/hppa/Makefile.in: Ditto.
 7910 	* libc/machine/hppa/configure: Ditto.
 7911 	* libc/machine/i386/Makefile.in: Ditto.
 7912 	* libc/machine/i386/aclocal.m4: Ditto.
 7913 	* libc/machine/i386/configure: Ditto.
 7914 	* libc/machine/i960/Makefile.in: Ditto.
 7915 	* libc/machine/i960/configure: Ditto.
 7916 	* libc/machine/iq2000/Makefile.in: Ditto.
 7917 	* libc/machine/iq2000/configure: Ditto.
 7918 	* libc/machine/m32c/Makefile.in: Ditto.
 7919 	* libc/machine/m32c/configure: Ditto.
 7920 	* libc/machine/m32r/Makefile.in: Ditto.
 7921 	* libc/machine/m32r/configure: Ditto.
 7922 	* libc/machine/m68hc11/Makefile.in: Ditto.
 7923 	* libc/machine/m68hc11/configure: Ditto.
 7924 	* libc/machine/m68k/Makefile.in: Ditto.
 7925 	* libc/machine/m68k/configure: Ditto.
 7926 	* libc/machine/m88k/Makefile.in: Ditto.
 7927 	* libc/machine/m88k/configure: Ditto.
 7928 	* libc/machine/mep/Makefile.in: Ditto.
 7929 	* libc/machine/mep/configure: Ditto.
 7930 	* libc/machine/mips/Makefile.in: Ditto.
 7931 	* libc/machine/mips/configure: Ditto.
 7932 	* libc/machine/mn10200/Makefile.in: Ditto.
 7933 	* libc/machine/mn10200/configure: Ditto.
 7934 	* libc/machine/mn10300/Makefile.in: Ditto.
 7935 	* libc/machine/mn10300/configure: Ditto.
 7936 	* libc/machine/mt/Makefile.in: Ditto.
 7937 	* libc/machine/mt/configure: Ditto.
 7938 	* libc/machine/necv70/Makefile.in: Ditto.
 7939 	* libc/machine/necv70/configure: Ditto.
 7940 	* libc/machine/powerpc/Makefile.in: Ditto.
 7941 	* libc/machine/powerpc/configure: Ditto.
 7942 	* libc/machine/sh/Makefile.in: Ditto.
 7943 	* libc/machine/sh/configure: Ditto.
 7944 	* libc/machine/sparc/Makefile.in: Ditto.
 7945 	* libc/machine/sparc/configure: Ditto.
 7946 	* libc/machine/spu/Makefile.in: Ditto.
 7947 	* libc/machine/spu/configure: Ditto.
 7948 	* libc/machine/tic4x/Makefile.in: Ditto.
 7949 	* libc/machine/tic4x/configure: Ditto.
 7950 	* libc/machine/tic80/Makefile.in: Ditto.
 7951 	* libc/machine/tic80/configure: Ditto.
 7952 	* libc/machine/v850/Makefile.in: Ditto.
 7953 	* libc/machine/v850/configure: Ditto.
 7954 	* libc/machine/w65/Makefile.in: Ditto.
 7955 	* libc/machine/w65/configure: Ditto.
 7956 	* libc/machine/x86_64/Makefile.in: Ditto.
 7957 	* libc/machine/x86_64/configure: Ditto.
 7958 	* libc/machine/xscale/Makefile.in: Ditto.
 7959 	* libc/machine/xscale/configure: Ditto.
 7960 	* libc/machine/xstormy16/Makefile.in: Ditto.
 7961 	* libc/machine/xstormy16/configure: Ditto.
 7962 	* libc/machine/z8k/Makefile.in: Ditto.
 7963 	* libc/machine/z8k/configure: Ditto.
 7964 	* libc/misc/Makefile.in: Ditto.
 7965 	* libc/posix/Makefile.in: Ditto.
 7966 	* libc/reent/Makefile.in: Ditto.
 7967 	* libc/search/Makefile.in: Ditto.
 7968 	* libc/signal/Makefile.in: Ditto.
 7969 	* libc/stdio/Makefile.in: Ditto.
 7970 	* libc/stdio64/Makefile.in: Ditto.
 7971 	* libc/stdlib/Makefile.in: Ditto.
 7972 	* libc/string/Makefile.in: Ditto.
 7973 	* libc/sys/Makefile.in: Ditto.
 7974 	* libc/sys/aclocal.m4: Ditto.
 7975 	* libc/sys/configure: Ditto.
 7976 	* libc/sys/a29khif/Makefile.in: Ditto.
 7977 	* libc/sys/a29khif/configure: Ditto.
 7978 	* libc/sys/arc/Makefile.in: Ditto.
 7979 	* libc/sys/arc/configure: Ditto.
 7980 	* libc/sys/arm/Makefile.in: Ditto.
 7981 	* libc/sys/arm/configure: Ditto.
 7982 	* libc/sys/d10v/Makefile.in: Ditto.
 7983 	* libc/sys/d10v/configure: Ditto.
 7984 	* libc/sys/decstation/Makefile.in: Ditto.
 7985 	* libc/sys/decstation/configure: Ditto.
 7986 	* libc/sys/h8300hms/Makefile.in: Ditto.
 7987 	* libc/sys/h8300hms/configure: Ditto.
 7988 	* libc/sys/h8500hms/Makefile.in: Ditto.
 7989 	* libc/sys/h8500hms/configure: Ditto.
 7990 	* libc/sys/linux/Makefile.in: Ditto.
 7991 	* libc/sys/linux/aclocal.m4: Ditto.
 7992 	* libc/sys/linux/configure: Ditto.
 7993 	* libc/sys/linux/argp/Makefile.in: Ditto.
 7994 	* libc/sys/linux/cmath/Makefile.in: Ditto.
 7995 	* libc/sys/linux/dl/Makefile.in: Ditto.
 7996 	* libc/sys/linux/iconv/Makefile.in: Ditto.
 7997 	* libc/sys/linux/intl/Makefile.in: Ditto.
 7998 	* libc/sys/linux/linuxthreads/Makefile.in: Ditto.
 7999 	* libc/sys/linux/linuxthreads/aclocal.m4: Ditto.
 8000 	* libc/sys/linux/linuxthreads/configure: Ditto.
 8001 	* libc/sys/linux/linuxthreads/machine/Makefile.in: Ditto.
 8002 	* libc/sys/linux/linuxthreads/machine/aclocal.m4: Ditto.
 8003 	* libc/sys/linux/linuxthreads/machine/configure: Ditto.
 8004 	* libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Ditto.
 8005 	* libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Ditto.
 8006 	* libc/sys/linux/linuxthreads/machine/i386/configure: Ditto.
 8007 	* libc/sys/linux/machine/Makefile.in: Ditto.
 8008 	* libc/sys/linux/machine/aclocal.m4: Ditto.
 8009 	* libc/sys/linux/machine/configure: Ditto.
 8010 	* libc/sys/linux/machine/i386/Makefile.in: Ditto.
 8011 	* libc/sys/linux/machine/i386/aclocal.m4: Ditto.
 8012 	* libc/sys/linux/machine/i386/configure: Ditto.
 8013 	* libc/sys/linux/net/Makefile.in: Ditto.
 8014 	* libc/sys/linux/stdlib/Makefile.in: Ditto.
 8015 	* libc/sys/m88kbug/Makefile.in: Ditto.
 8016 	* libc/sys/m88kbug/configure: Ditto.
 8017 	* libc/sys/mmixware/Makefile.in: Ditto.
 8018 	* libc/sys/mmixware/configure: Ditto.
 8019 	* libc/sys/netware/Makefile.in: Ditto.
 8020 	* libc/sys/netware/configure: Ditto.
 8021 	* libc/sys/rdos/Makefile.in: Ditto.
 8022 	* libc/sys/rdos/configure: Ditto.
 8023 	* libc/sys/rtems/Makefile.in: Ditto.
 8024 	* libc/sys/rtems/configure: Ditto.
 8025 	* libc/sys/sh/Makefile.in: Ditto.
 8026 	* libc/sys/sh/configure: Ditto.
 8027 	* libc/sys/sparc64/Makefile.in: Ditto.
 8028 	* libc/sys/sparc64/configure: Ditto.
 8029 	* libc/sys/sun4/Makefile.in: Ditto.
 8030 	* libc/sys/sun4/configure: Ditto.
 8031 	* libc/sys/sysmec/Makefile.in: Ditto.
 8032 	* libc/sys/sysmec/configure: Ditto.
 8033 	* libc/sys/sysnec810/Makefile.in: Ditto.
 8034 	* libc/sys/sysnec810/configure: Ditto.
 8035 	* libc/sys/sysnecv850/Makefile.in: Ditto.
 8036 	* libc/sys/sysnecv850/configure: Ditto.
 8037 	* libc/sys/sysvi386/Makefile.in: Ditto.
 8038 	* libc/sys/sysvi386/configure: Ditto.
 8039 	* libc/sys/sysvnecv70/Makefile.in: Ditto.
 8040 	* libc/sys/sysvnecv70/configure: Ditto.
 8041 	* libc/sys/tic80/Makefile.in: Ditto.
 8042 	* libc/sys/tic80/configure: Ditto.
 8043 	* libc/sys/w65/Makefile.in: Ditto.
 8044 	* libc/sys/w65/configure: Ditto.
 8045 	* libc/sys/z8ksim/Makefile.in: Ditto.
 8046 	* libc/sys/z8ksim/configure: Ditto.
 8047 	* libc/syscalls/Makefile.in: Ditto.
 8048 	* libc/time/Makefile.in: Ditto.
 8049 	* libc/unix/Makefile.in: Ditto.
 8050 	* libm/Makefile.in: Ditto.
 8051 	* libm/aclocal.m4: Ditto.
 8052 	* libm/configure: Ditto.
 8053 	* libm/common/Makefile.in: Ditto.
 8054 	* libm/machine/Makefile.in: Ditto.
 8055 	* libm/machine/aclocal.m4: Ditto.
 8056 	* libm/machine/configure: Ditto.
 8057 	* libm/machine/i386/Makefile.in: Ditto.
 8058 	* libm/machine/i386/aclocal.m4: Ditto.
 8059 	* libm/machine/i386/configure: Ditto.
 8060 	* libm/machine/spu/Makefile.in: Ditto.
 8061 	* libm/machine/spu/configure: Ditto.
 8062 	* libm/math/Makefile.in: Ditto.
 8063 	* libm/mathfp/Makefile.in: Ditto.
 8064 
 8065 2008-09-26  Craig Howland  <howland@LGSInnovations.com>
 8066 
 8067 	* libc/stdlib/getenv_r.c (_getenv_r): Modify to not match if name
 8068 	contains an equal sign.
 8069 
 8070 2008-09-25  Raphael Derossa Pereira  <raphaelpereira@gmail.com>
 8071 
 8072 	* libc/include/pthread.h[_UNIX98_THREAD_MUTEX_ATTRIBUTES]: Add
 8073 	new pthread_mutexattr_gettype and pthread_mutexattr_settype
 8074 	prototypes.
 8075 	* libc/include/sys/types.h[_UNIX98_THREAD_MUTEX_ATTRIBUTES]: Add
 8076 	new mutex type values.
 8077 	(pthread_mutexattr_t)[_UNIX98_THREAD_MUTEX_ATTRIBUTES]: Add type
 8078 	field.
 8079 
 8080 2008-09-24  Jeff Johnston  <jjohnstn@redhat.com>
 8081 
 8082 	* libc/stdlib/setenv_r.c (_unsetenv_r): Modify to return -1 only if
 8083 	name is NULL, empty, or contains equal sign.
 8084 
 8085 2008-09-24  Pawel Veselov  <pawel.veselov@gmail.com>
 8086 
 8087 	Fix setenv/getenv/unsetenv to be OpenGroup compliant:
 8088 	* libc/include/stdlib.h (unsetenv, _unsetenv_r): Redefine with integer
 8089 	return types.
 8090 	* libc/stdlib/getenv_r.c (_findenv_r): Do no special processing with
 8091 	names that contain equal chars.
 8092 	* libc/stdlib/setenv.c: Redefine _unsetenv_r as returning int.
 8093 	* libc/stdlib/setenv_r.c (_setenv_r): Return -1 and set errno to
 8094 	EINVAL if name contains an equal sign.  Do not remove any equal signs
 8095 	from the value.
 8096 	(_unsetenv_r): Modified to return int.  Return -1 and set EINVAL
 8097 	if name contains equal sign.  Return -1 if no variable(s) were found
 8098 	and return 0 otherwise.
 8099 
 8100 2008-09-19  Eric Blake  <ebb9@byu.net>
 8101 
 8102 	Supply missing POSIX errno values.
 8103 	* libc/include/sys/errno.h (ENOTRECOVERABLE, EOWNERDEAD): Define.
 8104 	* libc/string/strerror.c (strerror): Decode them, and ECANCELED.
 8105 
 8106 2008-09-10  Ken Werner  <ken.werner@de.ibm.com>
 8107 
 8108 	* libc/machine/spu/strcpy.h: Add missing header.
 8109 	* libc/machine/spu/spu_timer_slih.c: Remove unused Variable.
 8110 	* libm/machine/spu/headers/lgammaf4.h: Add type cast.
 8111 
 8112 2008-09-08  Jeff Johnston  <jjohnstn@redhat.com>
 8113 
 8114 	* libc/sys/linux/dl/atomicity.h (exchange_and_add): Fix asm
 8115 	statement to use "m" instead of "0".
 8116 	(atomic_add): Ditto.
 8117 	* libc/sys/linux/linuxthreads/spinlock.c (__pthread_release): Ditto.
 8118 	* libc/sys/linux/net/getaddrinfo.c: Add limit.h include.
 8119 	* libc/sys/linux/stdlib/glob.c: Ditto.
 8120 
 8121 2008-09-04  Ken Werner  <ken.werner@de.ibm.com>
 8122 
 8123 	* libm/machine/spu/headers/acosd2.h: Duplicated preamble text removed.
 8124 	* libm/machine/spu/headers/acosf4.h: Likewise.
 8125 	* libm/machine/spu/headers/acoshd2.h: Likewise.
 8126 	* libm/machine/spu/headers/acoshf4.h: Likewise.
 8127 	* libm/machine/spu/headers/asind2.h: Likewise.
 8128 	* libm/machine/spu/headers/asinf4.h: Likewise.
 8129 	* libm/machine/spu/headers/asinhd2.h: Likewise.
 8130 	* libm/machine/spu/headers/asinhf4.h: Likewise.
 8131 	* libm/machine/spu/headers/atan2d2.h: Likewise.
 8132 	* libm/machine/spu/headers/atan2f4.h: Likewise.
 8133 	* libm/machine/spu/headers/atand2.h: Likewise.
 8134 	* libm/machine/spu/headers/atanf4.h: Likewise.
 8135 	* libm/machine/spu/headers/atanhd2.h: Likewise.
 8136 	* libm/machine/spu/headers/atanhf4.h: Likewise.
 8137 	* libm/machine/spu/headers/cos_sin.h: Likewise.
 8138 	* libm/machine/spu/headers/cosd2.h: Likewise.
 8139 	* libm/machine/spu/headers/cosf4.h: Likewise.
 8140 	* libm/machine/spu/headers/coshd2.h: Likewise.
 8141 	* libm/machine/spu/headers/coshf4.h: Likewise.
 8142 	* libm/machine/spu/headers/divd2.h: Likewise.
 8143 	* libm/machine/spu/headers/divf4.h: Likewise.
 8144 	* libm/machine/spu/headers/erf_utils.h: Likewise.
 8145 	* libm/machine/spu/headers/erfcd2.h: Likewise.
 8146 	* libm/machine/spu/headers/erfcf4.h: Likewise.
 8147 	* libm/machine/spu/headers/erfd2.h: Likewise.
 8148 	* libm/machine/spu/headers/erff4.h: Likewise.
 8149 	* libm/machine/spu/headers/exp2d2.h: Likewise.
 8150 	* libm/machine/spu/headers/exp2f4.h: Likewise.
 8151 	* libm/machine/spu/headers/expd2.h: Likewise.
 8152 	* libm/machine/spu/headers/expf4.h: Likewise.
 8153 	* libm/machine/spu/headers/expm1d2.h: Likewise.
 8154 	* libm/machine/spu/headers/expm1f4.h: Likewise.
 8155 	* libm/machine/spu/headers/floord2.h: Likewise.
 8156 	* libm/machine/spu/headers/floorf4.h: Likewise.
 8157 	* libm/machine/spu/headers/hypotd2.h: Likewise.
 8158 	* libm/machine/spu/headers/hypotf4.h: Likewise.
 8159 	* libm/machine/spu/headers/isnand2.h: Likewise.
 8160 	* libm/machine/spu/headers/isnanf4.h: Likewise.
 8161 	* libm/machine/spu/headers/ldexpd2.h: Likewise.
 8162 	* libm/machine/spu/headers/ldexpf4.h: Likewise.
 8163 	* libm/machine/spu/headers/lgammad2.h: Likewise.
 8164 	* libm/machine/spu/headers/lgammaf4.h: Likewise.
 8165 	* libm/machine/spu/headers/log10d2.h: Likewise.
 8166 	* libm/machine/spu/headers/log1pd2.h: Likewise.
 8167 	* libm/machine/spu/headers/log1pf4.h: Likewise.
 8168 	* libm/machine/spu/headers/log2d2.h: Likewise.
 8169 	* libm/machine/spu/headers/log2f4.h: Likewise.
 8170 	* libm/machine/spu/headers/logbf4.h: Likewise.
 8171 	* libm/machine/spu/headers/logd2.h: Likewise.
 8172 	* libm/machine/spu/headers/logf4.h: Likewise.
 8173 	* libm/machine/spu/headers/nearbyintf4.h: Likewise.
 8174 	* libm/machine/spu/headers/nextafterd2.h: Likewise.
 8175 	* libm/machine/spu/headers/nextafterf4.h: Likewise.
 8176 	* libm/machine/spu/headers/powd2.h: Likewise.
 8177 	* libm/machine/spu/headers/powf4.h: Likewise.
 8178 	* libm/machine/spu/headers/recipd2.h: Likewise.
 8179 	* libm/machine/spu/headers/recipf4.h: Likewise.
 8180 	* libm/machine/spu/headers/rintf4.h: Likewise.
 8181 	* libm/machine/spu/headers/scalbnf4.h: Likewise.
 8182 	* libm/machine/spu/headers/signbitd2.h: Likewise.
 8183 	* libm/machine/spu/headers/sincosd2.h: Likewise.
 8184 	* libm/machine/spu/headers/sincosf4.h: Likewise.
 8185 	* libm/machine/spu/headers/sind2.h: Likewise.
 8186 	* libm/machine/spu/headers/sinf4.h: Likewise.
 8187 	* libm/machine/spu/headers/sinhd2.h: Likewise.
 8188 	* libm/machine/spu/headers/sinhf4.h: Likewise.
 8189 	* libm/machine/spu/headers/sqrtd2.h: Likewise.
 8190 	* libm/machine/spu/headers/sqrtf4.h: Likewise.
 8191 	* libm/machine/spu/headers/tand2.h: Likewise.
 8192 	* libm/machine/spu/headers/tanf4.h: Likewise.
 8193 	* libm/machine/spu/headers/tanhd2.h: Likewise.
 8194 	* libm/machine/spu/headers/tanhf4.h: Likewise.
 8195 	* libm/machine/spu/headers/tgammad2.h: Likewise.
 8196 	* libm/machine/spu/headers/tgammaf4.h: Likewise.
 8197 	* libm/machine/spu/headers/truncd2.h: Likewise.
 8198 	* libm/machine/spu/headers/truncf4.h: Likewise.
 8199 	* libm/machine/spu/headers/simdmath.h: Likewise.
 8200 
 8201 2008-09-04  Ken Werner  <ken.werner@de.ibm.com>
 8202 
 8203 	* libm/machine/spu/headers/acoshf4.h: Rebase against current simdmath.
 8204 	* libm/machine/spu/headers/asinhd2.h: Likewise.
 8205 	* libm/machine/spu/headers/atanhd2.h: Likewise.
 8206 	* libm/machine/spu/headers/atanhf4.h: Likewise.
 8207 	* libm/machine/spu/headers/erff4.h: Likewise.
 8208 	* libm/machine/spu/headers/expd2.h: Likewise.
 8209 	* libm/machine/spu/headers/ldexpd2.h: Likewise.
 8210 	* libm/machine/spu/headers/lgammaf4.h: Likewise.
 8211 	* libm/machine/spu/headers/logbf4.h: Likewise.
 8212 	* libm/machine/spu/headers/nextafterd2.h: Likewise.
 8213 	* libm/machine/spu/headers/nextafterf4.h: Likewise.
 8214 	* libm/machine/spu/headers/recipd2.h: Likewise.
 8215 	* libm/machine/spu/headers/simdmath.h: Likewise.
 8216 	* libm/machine/spu/headers/acoshd2.: Likewise.
 8217 
 8218 2008-09-04  Ken Werner  <ken.werner@de.ibm.com>
 8219 
 8220 	* libm/machine/spu/headers/cbrt.h: cbrt_factors[] declared.
 8221 	* libm/machine/spu/headers/cbrtf.h: Likewise.
 8222 
 8223 2008-09-01  Ken Werner  <ken.werner@de.ibm.com>
 8224 
 8225 	* libc/machine/spu/include/spu_timer.h: spu_timebase function added.
 8226 	* libc/machine/spu/spu_timebase.c: New file.
 8227 	* libc/machine/spu/Makefile.am: Add new file.
 8228 	* libc/machine/spu/Makefile.in: Regenerated.
 8229 
 8230 2008-08-28  Craig Howland  <howland@LGSInnovations.com>
 8231 
 8232 	* libc/time/mktime.c (mktime): Fix tm_isdst value usage (allowing
 8233 	any positive value from user (per std) rather than depending
 8234 	upon 1).
 8235 
 8236 2008-08-28  Corinna Vinschen  <corinna@vinschen.de>
 8237 
 8238 	* libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Optimize condition
 8239 	for accepting a converted character.
 8240 
 8241 2008-08-27  Sandra Loosemore  <sandra@codesourcery.com>
 8242 
 8243 	* libc/libc.texinfo: Remove "LOCAL KLUGE" that prevents it
 8244 	from building pdfs.
 8245 	* libm/libm.texinfo: Likewise.
 8246 
 8247 2008-08-27  Corinna Vinschen  <corinna@vinschen.de>
 8248 
 8249 	* libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Fix condition for
 8250 	accepting a converted character and continuing the loop.
 8251 
 8252 2008-07-24  Jeff Johnston  <jjohnstn@redhat.com>
 8253 
 8254 	* libc/include/ctype.h (_ctype_): Restore for C++ backward
 8255 	compatability only.
 8256 
 8257 2008-07-21  Jeff Johnston  <jjohnstn@redhat.com>
 8258 
 8259 	* libc/ctype/ctype_.c: Add new pointer __ctype_ptr__ which is one
 8260 	less than the old __ctype_ptr.
 8261 	* libc/ctype/isalnum.c: Use __ctype_ptr__.
 8262 	* libc/ctype/isalpha.c: Ditto.
 8263 	* libc/ctype/iscntrl.c: Ditto.
 8264 	* libc/ctype/isdigit.c: Ditto.
 8265 	* libc/ctype/islower.c: Ditto.
 8266 	* libc/ctype/isprint.c: Ditto.
 8267 	* libc/ctype/ispunct.c: Ditto.
 8268 	* libc/ctype/isspace.c: Ditto.
 8269 	* libc/ctype/isupper.c: Ditto.
 8270 	* libc/ctype/isxdigit.c: Ditto.
 8271 	* libc/include/ctype.h: Change ctype macros to use new __ctype_ptr__
 8272 	and add declaration of __ctype_ptr__.  Remove older ctype table pointers
 8273 	from here even though they can still work.
 8274 
 8275 2008-07-18  Ken Werner  <ken.werner@de.ibm.com>
 8276 
 8277 	* libc/machine/spu/strcpy.h: Fix error in previous patch.
 8278 
 8279 2008-07-17  Jeff Johnston  <jjohnstn@redhat.com>
 8280 
 8281 	* libc/include/assert.h (__ASSERT_FUNC): Define to __FUNCTION__ when
 8282 	__STDC_VERSION__ < 199901L and __GNUC__ >= 2.
 8283 
 8284 2008-07-17  Ken Werner  <ken.werner@de.ibm.com>
 8285 
 8286 	* libc/machine/spu/strcpy.h: Pad null bytes if necessary.
 8287 
 8288 2008-07-08  Kenji Tanaka  <tanaka.ken2@jp.panasonic.com>
 8289 
 8290 	* libc/machine/mn10300/memset.S: Fix bug where return value is
 8291 	incorrectly set if number of bytes set is a multiple of 4.
 8292 
 8293 2008-07-07  Hans-Peter Nilsson  <hp@axis.com>
 8294 
 8295 	* libc/machine/mips/strncpy.c: Include stdint.h to get uintptr_t.
 8296 	(strncpy): Cast src to uintptr_t before checking alignment with "&".
 8297 
 8298 2008-07-02  Jeff Johnston  <jjohnstn@redhat.com>
 8299 
 8300 	* libc/argz/argz_count.c: Include stddef.h to get size_t.
 8301 	* libc/argz/argz_extract.c: Ditto.
 8302 	* libc/argz/argz_stringify.c: Ditto.
 8303 	* libc/search/hash.h: Ditto.
 8304 	* libc/sys/linux/include/sched.h: Ditto.
 8305 	* libc/sys/linux/sys/types.h: Ditto.
 8306 
 8307 2008-07-02  Jeff Johnston  <jjohnstn@redhat.com>
 8308 
 8309 	* libc/machine/mips/strncpy.c (strncpy): Fix logic so unaligned
 8310 	source data is taken care of before loop unrolling.
 8311 
 8312 2008-06-25  Hans-Peter Nilsson  <hp@axis.com>
 8313 
 8314 	Fix strict-aliasing issues with _strtod_r and Storeinc.
 8315 	* libc/stdlib/strtod.c (_strtod_r): Change local variables aadj,
 8316 	rv, rv0 from double to type U.  Use accessor macros dval, dword0
 8317 	and dword1 for all accesses except for the ULtod call, where rv.i
 8318 	replaces the pointer cast.
 8319 	* libc/stdlib/mprec.h (U): Rename member L to i for easier re-use
 8320 	of access macros.  Tweak comment.
 8321 	Remove #ifdef'd YES_ALIAS code.
 8322 	(dword0, dword1, dval): Define in terms of uncast union member
 8323 	access.  Ditto for _DOUBLE_IS_32BITS variants.
 8324 	(Storeinc): Replace aliasing-flawed microoptimized definition with
 8325 	alternative suggested in comment.  Remove now stale comment.
 8326 
 8327 2008-06-21  Corinna Vinschen  <corinna@vinschen.de>
 8328 
 8329 	* libc/include/machine/setjmp.h (_longjmp): Define as function on
 8330 	Cygwin.
 8331 	(_setjmp): Ditto.
 8332 
 8333 2008-06-18  Eric Blake  <ebb9@byu.net>
 8334 
 8335 	Per Posix, strsignal returns non-const char*.
 8336 	* libc/include/string.h (strsignal): Fix return type.
 8337 
 8338 2008-06-17  Ken Werner  <ken.werner@de.ibm.com>
 8339 
 8340 	* libc/machine/spu/sys/linux_syscalls.h: New file to add Linux syscall
 8341 	support.
 8342 
 8343 2008-06-16  Ken Werner  <ken.werner@de.ibm.com>
 8344 
 8345 	* libc/machine/spu/sys/dirent.h: Add extern "C" specifier if C++.
 8346 	* libc/machine/spu/sys/sched.h: Likewise.
 8347 	* libc/machine/spu/sys/syscall.h: Likewise.
 8348 
 8349 2008-06-16  Ken Werner  <ken.werner@de.ibm.com>
 8350 
 8351 	* libc/machine/spu/mk_syscalls: Provide .type and .size directives
 8352 	in generated assembler files.
 8353 	* libc/machine/spu/fprintf.S: Regenerate.
 8354 	* libc/machine/spu/fscanf.S: Regenerate.
 8355 	* libc/machine/spu/printf.S: Regenerate.
 8356 	* libc/machine/spu/scanf.S: Regenerate.
 8357 	* libc/machine/spu/snprintf.S: Regenerate.
 8358 	* libc/machine/spu/sprintf.S: Regenerate.
 8359 	* libc/machine/spu/sscanf.S: Regenerate.
 8360 	* libc/machine/spu/stack_reg_va.S (__stack_reg_va): Provide .type
 8361 	and .size directives.
 8362 	* libc/machine/spu/setjmp.S (setjmp): Likewise.
 8363 	(longjmp): Likewise.
 8364 
 8365 2008-06-11  Jeff Johnston  <jjohnstn@redhat.com>
 8366 
 8367 	* libc/include/machine/_default_types.h: Fix GNUC check to
 8368 	handle 4.0 and greater.
 8369 
 8370 2008-06-09  Ken Werner  <ken.werner@de.ibm.com>
 8371 
 8372 	* libc/machine/spu/Makefile.am: Add new files.
 8373 	* libc/machine/spu/Makefile.in: Likewise.
 8374 	* libc/machine/spu/include/spu_timer.h: New file to add timer support
 8375 	using interrupts.
 8376 	* libc/machine/spu/spu_clock_stop.c: Likewise.
 8377 	* libc/machine/spu/spu_clock_svcs.c: Likewise.
 8378 	* libc/machine/spu/spu_timer_flih.S: Likewise.
 8379 	* libc/machine/spu/spu_timer_free.c: Likewise.
 8380 	* libc/machine/spu/spu_timer_internal.h: Likewise.
 8381 	* libc/machine/spu/spu_timer_slih.c: Likewise.
 8382 	* libc/machine/spu/spu_timer_slih_reg.c: Likewise.
 8383 	* libc/machine/spu/spu_timer_stop.c: Likewise.
 8384 	* libc/machine/spu/spu_timer_svcs.c: Likewise.
 8385 
 8386 2008-06-09  Ken Werner  <ken.werner@de.ibm.com>
 8387 
 8388 	* libc/machine/spu/strcat.c: Return value fixed.
 8389 	* libc/machine/spu/strncat.c: Likewise.
 8390 
 8391 2008-05-28  Eric Blake  <ebb9@byu.net>
 8392 
 8393 	Fix bug in previous patch.
 8394 	* libc/machine/i386/memset.S (memset): Mask second arg correctly.
 8395 
 8396 2008-05-27  Jeff Johnston  <jjohnstn@redhat.com>
 8397 
 8398 	* libc/string/memset.c: Fix documented prototype to remove
 8399 	erroneous const attribute on first parameter.
 8400 
 8401 2008-05-26  Eric Blake  <ebb9@byu.net>
 8402 
 8403 	Optimize the generic and x86 memchr.
 8404 	* libc/string/memchr.c (memchr) [!__OPTIMIZE_SIZE__]:
 8405 	Pre-align pointer so unaligned searches aren't penalized.
 8406 	* libc/machine/i386/memchr.S (memchr) [!__OPTIMIZE_SIZE__]: Word
 8407 	operations are faster than repnz byte searches.
 8408 
 8409 2008-05-26  Eric Blake  <ebb9@byu.net>
 8410 
 8411 	Optimize the generic and x86 memset.
 8412 	* libc/string/memset.c (memset) [!__OPTIMIZE_SIZE__]:
 8413 	Pre-align pointer so unaligned stores aren't penalized.
 8414 	* libc/machine/i386/memset.S (memset) [!__OPTIMIZE_SIZE__]:
 8415 	Pre-align pointer so unaligned stores aren't penalized.  Prefer
 8416 	8-byte over 4-byte alignment.  Reduce register pressure.
 8417 
 8418 2008-05-26  Eric Blake  <ebb9@byu.net>
 8419 
 8420 	Optimize the generic and x86 strlen.
 8421 	* libc/string/strlen.c (strlen) [!__OPTIMIZE_SIZE__]: Pre-align
 8422 	data so unaligned searches aren't penalized.
 8423 	* libc/machine/i386/strlen.S (strlen) [!__OPTIMIZE_SIZE__]:
 8424 	Word operations are faster than repnz byte searches.
 8425 
 8426 2008-05-23  Corinna Vinschen  <corinna@vinschen.de>
 8427 
 8428 	* libc/include/sys/_default_fcntl.h: Include <sys/time.h> on Cygwin.
 8429 
 8430 2008-05-22  Jeff Johnston  <jjohnstn@redhat.com>
 8431 
 8432 	* libc/include/sys/reent.h: Add _h_errno field.
 8433 	* libc/sys/linux/libc-symbols.h: Add default stubs for new libc macros
 8434 	now used in net directory.
 8435 	* libc/sys/linux/bits/libc-lock.h: Always define _IO_MTSAFE_IO.
 8436 	* libc/sys/linux/include/hesiod.h: Add needed macros for new code
 8437 	in net directory.
 8438 	* libc/sys/linux/include/netdb.h: Ditto.
 8439 	* libc/sys/linux/include/resolv.h: Ditto.
 8440 	* libc/sys/linux/include/stdint.h: Ditto.
 8441 	* libc/sys/linux/include/arpa/nameser.h: Ditto.
 8442 	* libc/sys/linux/include/net/ethernet.h: Ditto.
 8443 	* libc/sys/linux/include/net/if_ppp.h: Ditto.
 8444 	* libc/sys/linux/include/netinet/if_ether.h: Ditto.
 8445 	* libc/sys/linux/machine/i386/get_clockfreq.c: Remove static memmem.
 8446 	* libc/sys/linux/machine/i386/include/endian.h: Protect macros with
 8447 	flags to avoid duplicate definition.
 8448 	* libc/sys/linux/machine/i386/include/param.h: Ditto.
 8449 	* libc/sys/linux/net/Makefile.am: Modified to account for removed and
 8450 	added files.
 8451 	* libc/sys/linux/net/Makefile.in: Regenerated.
 8452 	* libc/sys/linux/net/base64.c: Replaced with glibc version of code.
 8453 	* libc/sys/linux/net/getaddrinfo.c: Ditto.
 8454 	* libc/sys/linux/net/getnameinfo.c: Ditto.
 8455 	* libc/sys/linux/net/getproto.c: Ditto.
 8456 	* libc/sys/linux/net/getservent.c: Ditto.
 8457 	* libc/sys/linux/net/inet_netof.c: Ditto.
 8458 	* libc/sys/linux/net/inet_lnaof.c: Ditto.
 8459 	* libc/sys/linux/net/ns_name.c: Ditto.
 8460 	* libc/sys/linux/net/ns_netint.c: Ditto.
 8461 	* libc/sys/linux/net/inet_ntoa.c: Ditto.
 8462 	* libc/sys/linux/net/ns_parse.c: Ditto.
 8463 	* libc/sys/linux/net/ns_print.c: Ditto.
 8464 	* libc/sys/linux/net/ns_ttl.c: Ditto.
 8465 	* libc/sys/linux/net/nsap_addr.c: Ditto.
 8466 	* libc/sys/linux/net/rcmd.c: Ditto.
 8467 	* libc/sys/linux/net/res_comp.c: Ditto.
 8468 	* libc/sys/linux/net/res_data.c: Ditto.
 8469 	* libc/sys/linux/net/res_debug.c: Ditto.
 8470 	* libc/sys/linux/net/res_init.c: Ditto.
 8471 	* libc/sys/linux/net/res_mkquery.c: Ditto.
 8472 	* libc/sys/linux/net/res_query.c: Ditto.
 8473 	* libc/sys/linux/net/res_send.c: Ditto.
 8474 	* libc/sys/linux/net/send.c: Ditto.
 8475 	* libc/sys/linux/stdlib/collate.c: Ditto.
 8476 	* libc/sys/linux/sys/ioctl.h: Ditto.
 8477 	* libc/sys/linux/sys/socket.h: Ditto.
 8478 	* libc/sys/linux/sys/unistd.h: Ditto.
 8479 	* libc/sys/linux/iconv/iconvconfig.c: Removed either because no longer
 8480 	used or because licensing includes advertising clause that cannot be
 8481 	ignored.
 8482 	* libc/sys/linux/iconv/strtab.c: Ditto.
 8483 	* libc/sys/linux/include/libc_private.h: Ditto.
 8484 	* libc/sys/linux/include/nsswitch.h: Ditto.
 8485 	* libc/sys/linux/include/net/if_atm.h: Ditto.
 8486 	* libc/sys/linux/include/net/if_media.h: Ditto.
 8487 	* libc/sys/linux/include/net/if_pppvar.h: Ditto.
 8488 	* libc/sys/linux/include/netinet/if_atm.h: Ditto.
 8489 	* libc/sys/linux/include/netinet/ip_flow.h: Ditto.
 8490 	* libc/sys/linux/intl/locale.alias: Ditto.
 8491 	* libc/sys/linux/net/addr2ascii.3: Ditto.
 8492 	* libc/sys/linux/net/bindresvport.c: Ditto.
 8493 	* libc/sys/linux/net/byteorder.3: Ditto.
 8494 	* libc/sys/linux/net/res_config.h: Ditto.
 8495 	* libc/sys/linux/net/ether_addr.c: Ditto.
 8496 	* libc/sys/linux/net/ethers.3: Ditto.
 8497 	* libc/sys/linux/net/getaddrinfo.3: Ditto.
 8498 	* libc/sys/linux/net/gethostbydns.c: Ditto.
 8499 	* libc/sys/linux/net/gethostbyht.c: Ditto.
 8500 	* libc/sys/linux/net/gethostbyname.3: Ditto.
 8501 	* libc/sys/linux/net/gethostbynis.c: Ditto.
 8502 	* libc/sys/linux/net/gethostnamadr.c: Ditto.
 8503 	* libc/sys/linux/net/getifaddrs.3: Ditto.
 8504 	* libc/sys/linux/net/getifaddrs.c: Ditto.
 8505 	* libc/sys/linux/net/getipnodebyname.3: Ditto.
 8506 	* libc/sys/linux/net/getnameinfo.3: Ditto.
 8507 	* libc/sys/linux/net/getnetbydns.c: Ditto.
 8508 	* libc/sys/linux/net/getnetbyht.c: Ditto.
 8509 	* libc/sys/linux/net/getnetbynis.c: Ditto.
 8510 	* libc/sys/linux/net/getnetent.3: Ditto.
 8511 	* libc/sys/linux/net/getnetnamadr.c: Ditto.
 8512 	* libc/sys/linux/net/getprotoent.3: Ditto.
 8513 	* libc/sys/linux/net/getprotoent.c: Ditto.
 8514 	* libc/sys/linux/net/getprotoname.c: Ditto.
 8515 	* libc/sys/linux/net/getservbyname.c: Ditto.
 8516 	* libc/sys/linux/net/getservbyport.c: Ditto.
 8517 	* libc/sys/linux/net/getservent.3: Ditto.
 8518 	* libc/sys/linux/net/herror.c: Ditto.
 8519 	* libc/sys/linux/net/hesiod.3: Ditto.
 8520 	* libc/sys/linux/net/hesiod.c: Ditto.
 8521 	* libc/sys/linux/net/if_indextoname.3: Ditto.
 8522 	* libc/sys/linux/net/inet.3: Ditto.
 8523 	* libc/sys/linux/net/inet6_option_space.3: Ditto.
 8524 	* libc/sys/linux/net/inet6_rthdr_space.3: Ditto.
 8525 	* libc/sys/linux/net/inet_makeaddr.c: Ditto.
 8526 	* libc/sys/linux/net/inet_net.3: Ditto.
 8527 	* libc/sys/linux/net/inet_network.c: Ditto.
 8528 	* libc/sys/linux/net/innetgr-stub.c: Ditto.
 8529 	* libc/sys/linux/net/ip6opt.c: Ditto.
 8530 	* libc/sys/linux/net/iso_addr.3: Ditto.
 8531 	* libc/sys/linux/net/iso_addr.c: Ditto.
 8532 	* libc/sys/linux/net/linkaddr.3: Ditto.
 8533 	* libc/sys/linux/net/linkaddr.c: Ditto.
 8534 	* libc/sys/linux/net/map_v4v6.c: Ditto.
 8535 	* libc/sys/linux/net/name6.c: Ditto.
 8536 	* libc/sys/linux/net/namespace.h: Ditto.
 8537 	* libc/sys/linux/net/ns.3: Ditto.
 8538 	* libc/sys/linux/net/ns_addr.c: Ditto.
 8539 	* libc/sys/linux/net/ns_ntoa.c: Ditto.
 8540 	* libc/sys/linux/net/nsdispatch.3: Ditto.
 8541 	* libc/sys/linux/net/nsdispatch.c: Ditto.
 8542 	* libc/sys/linux/net/nslexer.c: Ditto.
 8543 	* libc/sys/linux/net/nslexer.l: Ditto.
 8544 	* libc/sys/linux/net/nsparser.c: Ditto.
 8545 	* libc/sys/linux/net/nsparser.h: Ditto.
 8546 	* libc/sys/linux/net/nsparser.y: Ditto.
 8547 	* libc/sys/linux/net/rcmd.3: Ditto.
 8548 	* libc/sys/linux/net/rcmdsh.3: Ditto.
 8549 	* libc/sys/linux/net/res_mkupdate.c: Ditto.
 8550 	* libc/sys/linux/net/res_update.c: Ditto.
 8551 	* libc/sys/linux/net/resolver.3: Ditto.
 8552 	* libc/sys/linux/net/rthdr.c: Ditto.
 8553 	* libc/sys/linux/net/vars.c: Ditto.
 8554 	* libc/sys/linux/shlib-compat.h: New file.
 8555 	* libc/sys/linux/machine/i386/atomic.h: Ditto.
 8556 	* libc/sys/linux/net/XXX-lookup.c: Ditto.
 8557 	* libc/sys/linux/net/alias-lookup.c: Ditto.
 8558 	* libc/sys/linux/net/res_libc.c: Ditto.
 8559 	* libc/sys/linux/net/aliases.h: Ditto.
 8560 	* libc/sys/linux/net/check_pf.c: Ditto.
 8561 	* libc/sys/linux/net/databases.def: Ditto.
 8562 	* libc/sys/linux/net/digits_dots.c: Ditto.
 8563 	* libc/sys/linux/net/ether_aton.c: Ditto.
 8564 	* libc/sys/linux/net/ether_aton_r.c: Ditto.
 8565 	* libc/sys/linux/net/ether_hton.c: Ditto.
 8566 	* libc/sys/linux/net/ether_line.c: Ditto.
 8567 	* libc/sys/linux/net/ether_ntoa.c: Ditto.
 8568 	* libc/sys/linux/net/ether_ntoa_r.c: Ditto.
 8569 	* libc/sys/linux/net/ether_ntoh.c: Ditto.
 8570 	* libc/sys/linux/net/etherent.h: Ditto.
 8571 	* libc/sys/linux/net/ethers-lookup.c: Ditto.
 8572 	* libc/sys/linux/net/function.def: Ditto.
 8573 	* libc/sys/linux/net/getXXbyYY.c: Ditto.
 8574 	* libc/sys/linux/net/getXXbyYY_r.c: Ditto.
 8575 	* libc/sys/linux/net/getXXent.c: Ditto.
 8576 	* libc/sys/linux/net/getXXent_r.c: Ditto.
 8577 	* libc/sys/linux/net/getaliasent.c: Ditto.
 8578 	* libc/sys/linux/net/getaliasent_r.c: Ditto.
 8579 	* libc/sys/linux/net/getaliasname.c: Ditto.
 8580 	* libc/sys/linux/net/getaliasname_r.c: Ditto.
 8581 	* libc/sys/linux/net/gethstbyad.c: Ditto.
 8582 	* libc/sys/linux/net/gethstbyad_r.c: Ditto.
 8583 	* libc/sys/linux/net/gethstbynm.c: Ditto.
 8584 	* libc/sys/linux/net/gethstbynm2.c: Ditto.
 8585 	* libc/sys/linux/net/gethstbynm2_r.c: Ditto.
 8586 	* libc/sys/linux/net/gethstbynm_r.c: Ditto.
 8587 	* libc/sys/linux/net/gethstent.c: Ditto.
 8588 	* libc/sys/linux/net/gethstent_r.c: Ditto.
 8589 	* libc/sys/linux/net/getnetbyad.c: Ditto.
 8590 	* libc/sys/linux/net/getnetbyad_r.c: Ditto.
 8591 	* libc/sys/linux/net/getnetbynm.c: Ditto.
 8592 	* libc/sys/linux/net/getnetbynm_r.c: Ditto.
 8593 	* libc/sys/linux/net/getnetent.c: Ditto.
 8594 	* libc/sys/linux/net/getnetent_r.c: Ditto.
 8595 	* libc/sys/linux/net/getnetgrent.c: Ditto.
 8596 	* libc/sys/linux/net/getnetgrent_r.c: Ditto.
 8597 	* libc/sys/linux/net/getnssent.c: Ditto.
 8598 	* libc/sys/linux/net/getnssent_r.c: Ditto.
 8599 	* libc/sys/linux/net/getproto_r.c: Ditto.
 8600 	* libc/sys/linux/net/getprtent.c: Ditto.
 8601 	* libc/sys/linux/net/getprtent_r.c: Ditto.
 8602 	* libc/sys/linux/net/getprtname.c: Ditto.
 8603 	* libc/sys/linux/net/getprtname_r.c: Ditto.
 8604 	* libc/sys/linux/net/getrpcbyname.c: Ditto.
 8605 	* libc/sys/linux/net/getrpcbyname_r.c: Ditto.
 8606 	* libc/sys/linux/net/getrpcbynumber.c: Ditto.
 8607 	* libc/sys/linux/net/getrpcbynumber_r.c: Ditto.
 8608 	* libc/sys/linux/net/getrpcent.c: Ditto.
 8609 	* libc/sys/linux/net/getrpcent_r.c: Ditto.
 8610 	* libc/sys/linux/net/getservent_r.c: Ditto.
 8611 	* libc/sys/linux/net/getsrvbynm.c: Ditto.
 8612 	* libc/sys/linux/net/getsrvbynm_r.c: Ditto.
 8613 	* libc/sys/linux/net/getsrvbypt.c: Ditto.
 8614 	* libc/sys/linux/net/getsrvbypt_r.c: Ditto.
 8615 	* libc/sys/linux/net/grp-lookup.c: Ditto.
 8616 	* libc/sys/linux/net/herrno.c: Ditto.
 8617 	* libc/sys/linux/net/hosts-lookup.c: Ditto.
 8618 	* libc/sys/linux/net/ifaddrs.h: Ditto.
 8619 	* libc/sys/linux/net/ifreq.c: Ditto.
 8620 	* libc/sys/linux/net/ifreq.h: Ditto.
 8621 	* libc/sys/linux/net/in6_addr.c: Ditto.
 8622 	* libc/sys/linux/net/inet6_option.c: Ditto.
 8623 	* libc/sys/linux/net/inet_mkadr.c: Ditto.
 8624 	* libc/sys/linux/net/inet_net.c: Ditto.
 8625 	* libc/sys/linux/net/key-lookup.c: Ditto.
 8626 	* libc/sys/linux/net/local.h: Ditto.
 8627 	* libc/sys/linux/net/netgroup.h: Ditto.
 8628 	* libc/sys/linux/net/netgrp-lookup.c: Ditto.
 8629 	* libc/sys/linux/net/network-lookup.c: Ditto.
 8630 	* libc/sys/linux/net/not-cancel.h: Ditto.
 8631 	* libc/sys/linux/net/ns_samedomain.c: Ditto.
 8632 	* libc/sys/linux/net/nscd-types.h: Ditto.
 8633 	* libc/sys/linux/net/nss.h: Ditto.
 8634 	* libc/sys/linux/net/nsswitch.c: Ditto.
 8635 	* libc/sys/linux/net/nsswitch.h: Ditto.
 8636 	* libc/sys/linux/net/opensock.c: Ditto.
 8637 	* libc/sys/linux/net/proto-lookup.c: Ditto.
 8638 	* libc/sys/linux/net/pwd-lookup.c: Ditto.
 8639 	* libc/sys/linux/net/res_debug.h: Ditto.
 8640 	* libc/sys/linux/net/res_hconf.c: Ditto.
 8641 	* libc/sys/linux/net/res_hconf.h: Ditto.
 8642 	* libc/sys/linux/net/rexec.c: Ditto.
 8643 	* libc/sys/linux/net/rpc-lookup.c: Ditto.
 8644 	* libc/sys/linux/net/ruserpass.c: Ditto.
 8645 	* libc/sys/linux/net/service-lookup.c: Ditto.
 8646 	* libc/sys/linux/net/spwd-lookup.c: Ditto.
 8647 	* libc/sys/linux/net/nscd/nscd-client.h: Ditto.
 8648 	* libc/sys/linux/net/nscd/nscd_proto.h: Ditto.
 8649 
 8650 2008-05-21  Eric Blake  <ebb9@byu.net>
 8651 
 8652 	Optimize the generic strchr.
 8653 	* libc/string/strchr.c (strchr) [!__OPTIMIZE_SIZE__]: Pre-align
 8654 	data so unaligned searches aren't penalized.  Special-case
 8655 	searching for 0.
 8656 
 8657 	Optimize strchr for x86.
 8658 	* libc/machine/i386/strchr.S (strchr) [!__OPTIMIZE_SIZE__]:
 8659 	Pre-align data so unaligned searches aren't penalized.
 8660 	Special-case searching for 0.
 8661 
 8662 2008-05-20  Nick Clifton  <nickc@redhat.com>
 8663 
 8664 	* libc/sys/sysnecv850/crt0.S (___dso_handle): Define (weak).
 8665 
 8666 2008-05-20  DJ Delorie  <dj@redhat.com>
 8667 
 8668 	* libc/sys/sysnecv850/isatty.c (_isatty): Renamed from isatty.
 8669 
 8670 2008-05-14  Jeff Johnston  <jjohnstn@redhat.com>
 8671 
 8672 	* libc/include/sys/reent.h: Change _REENT_INIT... macros to
 8673 	access macro parameter with parentheses around it.
 8674 
 8675 2008-04-26  Mark Mitchell  <mark@codesourcery.com>
 8676 
 8677 	* libc/include/stdint.h (SIZE_MIN): Remove.
 8678 	(SIZE_MAX): Define.
 8679 	* testsuite/newlib.stdlib/stdlib.exp: New.
 8680 	* testsuite/newlib.stdlib/size_max.c: Likewise.
 8681 
 8682 2008-04-29  Eric Blake  <ebb9@byu.net>
 8683 
 8684 	Fix 2008-04-14 regression in asprintf(ptr,"").
 8685 	* libc/stdio/asnprintf.c (asnprintf, _asnprintf_r): Avoid stdio
 8686 	baggage.
 8687 	* libc/stdio/asniprintf.c (asniprintf, _asniprintf_r): Likewise.
 8688 	* libc/stdio/asiprintf.c (asiprintf, _asiprintf_r): Likewise.
 8689 	* libc/stdio/vasniprintf.c (_vasniprintf_r): Likewise.
 8690 	* libc/stdio/vsnprintf.c (_vsnprintf_r): Likewise.
 8691 	* libc/stdio/vfprintf.c (_VFPRINTF_R) [STRING_ONLY]: Always malloc
 8692 	an initial buffer for asprintf.
 8693 
 8694 2008-04-24  Corinna Vinschen  <corinna@vinschen.de>
 8695 
 8696 	* libc/include/sys/stat.h: Guard at-functions with !__INSIDE_CYGWIN__.
 8697 	(fstatat): Fix type of third parameter.
 8698 
 8699 2008-04-25  Nick Clifton  <nickc@redhat.com>
 8700 
 8701 	* libc/machine/arm/setjmp.S: Fix thumb2 support.
 8702 
 8703 2008-04-24  Nick Clifton  <nickc@redhat.com>
 8704 
 8705 	* libc/include/machine/ieeefp.h: Fix typo: _DOUBLE_IS_32_BITS
 8706 	should be _DOUBLE_IS_32BITS.
 8707 
 8708 2008-04-24  Corinna Vinschen  <corinna@vinschen.de>
 8709 
 8710 	* libc/include/sys/stat.h (UTIME_NOW): Define for Cygwin.
 8711 	(UTIME_OMIT): Ditto.
 8712 	(utimensat): Declare for Cygwin.
 8713 	(futimens): Ditto.
 8714 
 8715 2008-04-23  Ken Werner  <ken.werner@de.ibm.com>
 8716 
 8717 	* libc/include/_ansi.h: _LONG_LONG renamed to _LONG_LONG_TYPE.
 8718 	* libc/include/math.h: Likewise.
 8719 
 8720 2008-04-23  Corinna Vinschen  <corinna@vinschen.de>
 8721 
 8722 	* libc/include/stdio.h (renameat): Declare for Cygwin.
 8723 	(symlinkat): Ditto.
 8724 	* libc/include/sys/unistd.h (readlink): Align declaration to POSIX.
 8725 	(faccessat): Declare for Cygwin.
 8726 	(fchownat): Ditto.
 8727 	(linkat): Ditto.
 8728 	(readlinkat): Ditto.
 8729 	* libc/include/sys/_default_fcntl.h (AT_FDCWD): Define for Cygwin.
 8730 	(AT_EACCESS): Ditto.
 8731 	(AT_SYMLINK_NOFOLLOW): Ditto.
 8732 	(AT_SYMLINK_FOLLOW): Ditto.
 8733 	(AT_REMOVEDIR): Ditto.
 8734 	(futimesat): Declare for Cygwin.
 8735 	(openat): Ditto.
 8736 	(unlinkat): Ditto.
 8737 	* libc/include/sys/stat.h (fchmodat): Ditto.
 8738 	(fstatat): Ditto.
 8739 	(mkdirat): Ditto.
 8740 	(mkfifoat): Ditto.
 8741 	(mknodat): Ditto.
 8742 
 8743 2008-04-22  Nick Clifton  <nickc@redhat.com>
 8744 
 8745 	* libc/machine/arm/setjmp.S: Add support for thumb2 multiple
 8746 	register load/store instructions.
 8747 
 8748 2008-04-16  Patrick Mansfield  <patmans@us.ibm.com>
 8749 
 8750 	* libc/machine/spu/sys/errno.h: Use _impure_data, not _reent_data.
 8751 
 8752 2008-04-16  Patrick Mansfield  <patmans@us.ibm.com>
 8753 
 8754 	* libc/machine/spu/impure.c: Add missing underscore to impure_data.
 8755 
 8756 2008-04-14  Patrick Mansfield  <patmans@us.ibm.com>
 8757 
 8758 	* libc/machine/spu/impure.c: New file, supply a non-static _impure_data.
 8759 	* libc/machine/spu/Makefile.am: Add new file impure.c.
 8760 	* libc/machine/spu/Makefile.in: Regenerate.
 8761 	* libc/machine/spu/sys/errno.h: Define errno to be _reent_data._errno.
 8762 
 8763 2008-04-14  Jeff Johnston  <jjohnstn@redhat.com>
 8764 
 8765 	* libc/stdio/Makefile.am: Build vfprintf.c and vfscanf.c with
 8766 	-DSTRING_ONLY defined with and without -DINTEGER_ONLY defined
 8767 	to build special versions for sprintf/sscanf family functions.
 8768 	* libc/stdio/Makefile.in: Regenerated.
 8769 	* libc/stdio/vfprintf.c[STRING_ONLY][INTEGER_ONLY](_VFPRINTF_R):
 8770 	Redefine to be _svfiprintf_r which is optimized to work with siprintf
 8771 	family of functions (i.e. no I/O) and does not support floating-point.
 8772 	[STRING_ONLY][!INTEGER_ONLY](_VFPRINTF_R): Redefine to be
 8773 	_svfprintf_r which is optimized to work with sprintf family of
 8774 	functions and not use I/O.
 8775 	[STRING_ONLY](__sprint_r): New string only version of static function.
 8776 	designed to work with sprintf family of functions.
 8777 	* libc/stdio/vfscanf.c[STRING_ONLY][INTEGER_ONLY](_SVFSCANF_R):
 8778 	Redefine to be _ssvfiscanf_r which is optimized to work with siscanf
 8779 	family of functions (i.e. no I/O) and no float-point support.
 8780 	[STRING_ONLY][!INTEGER_ONLY](_SVFSCANF_R): Redefine to be
 8781 	__ssvfscanf_r which is optimized to work with sscanf family of
 8782 	functions and does not require I/O functions.
 8783 	* libc/stdio/asprintf.c: Call _svfprintf_r instead of _vfprintf_r.
 8784 	* libc/stdio/snprintf.c: Ditto.
 8785 	* libc/stdio/sprintf.c: Ditto.
 8786 	* libc/stdio/vasnprintf.c: Ditto.
 8787 	* libc/stdio/vasprintf.c: Ditto.
 8788 	* libc/stdio/siprintf.c: Call _svfiprintf_r instead of _vfiprintf_r.
 8789 	* libc/stdio/sniprintf.c: Ditto.
 8790 	* libc/stdio/vasiprintf.c: Ditto.
 8791 	* libc/stdio/vsiprintf.c: Ditto.
 8792 	* libc/stdio/vsniprintf.c: Ditto.
 8793 	* libc/stdio/vsprintf.c: Ditto.
 8794 	* libc/stdio/local.h: Add prototypes for _svfprintf_r, _svfiprintf_r,
 8795 	_ssvfscanf_r, and _ssvfiscanf_r.
 8796 	* libc/stdio/sscanf.c: Call _ssvfscanf_r instead of _svfscanf_r.
 8797 	* libc/stdio/vsscanf.c: Ditto.
 8798 	* libc/stdio/siscanf.c: Call _ssvfiscanf_r instead of _svfiscanf_r.
 8799 	* libc/stdio/vsiscanf.c: Ditto.
 8800 
 8801 2008-04-04  DJ Delorie  <dj@redhat.com>
 8802 
 8803 	* libm/machine/spu/configure: Regenerate with autoconf 2.61.
 8804 	* libc/sys/configure: Regenerate with autoconf 2.61.
 8805 	* libc/machine/configure: Regenerate with autoconf 2.61.
 8806 
 8807 2008-04-01 Patrick Mansfield <patmans@us.ibm.com>
 8808 
 8809 	* libc/machine/spu/memcmp.c: New file for SPU optimized memcmp.
 8810 	* libc/machine/spu/strncmp.h: New file supply _strncmp_internal.
 8811 	* libc/machine/spu/Makefile.am: Add memcmp.c.
 8812 	* libc/machine/spu/Makefile.in: Rebuild.
 8813 	* libc/machine/spu/strncmp.c: Use _strncmp_internal.
 8814 
 8815 2008-04-01 Patrick Mansfield <patmans@us.ibm.com>
 8816 
 8817 	* configure.host: Build SPU with -DREENTRANT_SYSCALLS_PROVIDED and
 8818 	  -DMISSING_SYSCALL_NAMES.
 8819 
 8820 2008-04-01 Patrick Mansfield <patmans@us.ibm.com>
 8821 
 8822 	* libc/machine/spu/Makefile.am: Add assert.c.
 8823 	* libc/machine/spu/Makefile.in: Regenerate.
 8824 	* libc/machine/spu/assert.c: New file.
 8825 
 8826 2008-03-27 Patrick Mansfield <patmans@us.ibm.com>
 8827 
 8828 	* libc/include/reent.h: Define _func_r functions in this file to
 8829 	func if REENTRANT_SYSCALLS_PROVIDED and MISSING_SYSCALL_NAMES are
 8830 	defined.
 8831 
 8832 2008-03-27  Corinna Vinschen  <corinna@vinschen.de>
 8833 
 8834 	* libc/include/sys/unistd.h: Declare lockf(2) and define lockf
 8835 	constants when building for Cygwin.
 8836 
 8837 2008-03-11  Jeff Johnston  <jjohnstn@redhat.com>
 8838 
 8839 	* libc/stdio/rgetc.c (__srget_r): Invoke CHECK_INIT to ensure
 8840 	stdin gets resolved properly before refilling.
 8841 
 8842 2008-03-07  Jeff Johnston  <jjohnstn@redhat.com>
 8843 
 8844 	* libc/include/getopt.h: Hide newlib extensions under
 8845 	the __need_getopt_newlib flag.
 8846 	* libc/stdlib/getopt.c: #define __need_getopt_newlib before including
 8847 	getopt.h.  Put entire code under !HAVE_GETOPT to support platforms
 8848 	with their own getopt implementation.
 8849 	* configure.host: Specify HAVE_GETOPT for x86-linux.
 8850 
 8851 2008-03-07  Jeff Johnston  <jjohnstn@redhat.com>
 8852 
 8853 	* libc/include/sys/reent.h(_REENT_SMALL_CHECK_INIT): Specify
 8854 	this macro completely instead of referring to CHECK_STD_INIT which
 8855 	is only found in libc/stdio/local.h.
 8856 	* libc/stdio/dprintf.c: Add include of local.h.
 8857 	* libc/stdio/vdprintf.c: Ditto.
 8858 	* libc/stdio/vdiprintf.c: Ditto.
 8859 
 8860 2008-03-04  Eric Blake  <ebb9@byu.net>
 8861 
 8862 	Fix strtod("nan()", ptr).
 8863 	* libc/stdlib/gdtoa-hexnan.c (hexnan): When the optional
 8864 	n-char-sequence is omitted, still parse the ().
 8865 
 8866 2008-03-03  Eric Blake  <ebb9@byu.net>
 8867 
 8868 	Fix ftell bug after ungetc.
 8869 	* libc/stdio/ftell.c (_ftell_r): Don't flush ungetc buffer on
 8870 	ftell.
 8871 	* libc/stdio64/ftello64.c (_ftello64_r): Likewise.
 8872 	* libc/stdio/fflush.c (_fflush_r): Clear unget buffer when
 8873 	repositioning underlying fd offset.
 8874 
 8875 2008-03-02  Jeff Johnston  <jjohnstn@redhat.com>
 8876 
 8877 	* libc/include/getopt.h (no_argument): Added for glibc compatibility.
 8878 	(required_argument, optional_argument): Ditto.
 8879 
 8880 2008-02-29  Gregory Pietsch  <gpietsch@comcast.net>
 8881 
 8882 	* libc/stdlib/getopt.c (getopt_internal): Rewrite to accept
 8883 	data area so as to support reentrant calls.  Change all callers
 8884 	to fill in data area with global values and restore any changes
 8885 	to the global values after call.
 8886 	(__getopt_r, __getopt_long_r, __getopt_long_only_r): New routines
 8887 	to support reentrancy that add a data area argument.
 8888 	* libc/include/getopt.h: Add new _r routines and provide macros
 8889 	so they can be called with using double-underscores.
 8890 
 8891 2008-02-21  Eric Blake  <ebb9@byu.net>
 8892 
 8893 	Fix strtod("-0x", NULL).
 8894 	* libc/stdlib/strtod.c (_strtod_r): Fall back to 0 if hex parse
 8895 	fails.
 8896 
 8897 2008-02-12  Jeff Johnston  <jjohnstn@redhat.com>
 8898 
 8899 	* libc/machine/powerpc/vfprintf.c (_VFPRINTF_R): Prepare
 8900 	for user specifying --disable-newlib-io-long-long on configure.
 8901 	Call _fflush_r instead of fflush.  For _mbtowc_r, pass the
 8902 	reentrant pointer passed in rather than _REENT.
 8903 
 8904 2008-02-12  Peter Rosin  <peda@lysator.liu.se>
 8905 
 8906 	* libc/stdlib/getopt.c (getopt_internal): Handle optional
 8907 	arguments better for long options and short options not
 8908 	appearing as the first option in a sequence.
 8909 
 8910 2008-02-11  Patrick Mansfield  <patmans@us.ibm.com>
 8911 
 8912 	* libc/machine/spu/straddr.h: New file, supplies _straddr.
 8913 	* libc/machine/spu/strcat.c: Use _straddr and _strcpy.
 8914 	* libc/machine/spu/strcpy.c: Use _strcpy.
 8915 	* libc/machine/spu/strcpy.h: Supply _strcpy for optimized SPU
 8916 	str[n]cpy and str[n]cat.
 8917 	* libc/machine/spu/strncat.c: Use _straddr and _strcpy.
 8918 	* libc/machine/spu/strncpy.c: Use _strcpy.
 8919 
 8920 2008-02-11  Patrick Mansfield  <patmans@us.ibm.com>
 8921 
 8922 	* libc/machine/spu/strlen.c: Remove the len variable and unneeded
 8923 	calculation of its value.
 8924 
 8925 2008-01-25  Hans-Peter Nilsson  <hp@bitrange.com>
 8926 
 8927 	* libc/sys/mmixware/isatty.c (_isatty): Renamed from isatty.
 8928 	Make ISO C.
 8929 
 8930 2008-01-21  DJ Delorie  <dj@redhat.com>
 8931 
 8932 	* libc/sys/sh/syscalls.c (_isatty): New.
 8933 
 8934 2008-01-21  Neal H. Walfield  <neal@gnu.org>
 8935 
 8936 	* Makefile.am (crt1.o): Use correct source.
 8937 	* Makefile.in: Regenerated.
 8938 
 8939 2008-01-15  Eric Blake  <ebb9@byu.net>
 8940 
 8941 	* libc/string/Makefile.am (ELIX_2_SOURCES): Fix definition.
 8942 	* libc/string/Makefile: Regenerate.
 8943 
 8944 2008-01-15  Corinna Vinschen  <corinna@vinschen.de>
 8945 
 8946 	* libc/include/machine/setjmp.h (__SIGMASK_FUNC): Define as
 8947 	pthread_sigmask or sigprocmask depending on _POSIX_THREADS.
 8948 	(sigsetjmp): Use __SIGMASK_FUNC.
 8949 	(siglongjmp): Ditto.
 8950 	(_setjmp): Define as macro.
 8951 	(_longjmp): Ditto.
 8952 
 8953 2008-01-11  Eric Blake  <ebb9@byu.net>
 8954 
 8955 	Make strstr and strcasestr O(n), not O(n^2); add memmem.
 8956 	* libc/string/str-two-way.h: New file.
 8957 	* libc/string/memmem.c (memmem): New file.
 8958 	* libc/include/string.h (memmem): Declare for all platforms.
 8959 	* libc/string/strstr.c (strstr): Provide O(n) implementation when
 8960 	not optimizing for space.
 8961 	* libc/string/strcasestr.c (strcasestr): Likewise.
 8962 	* libc/string/Makefile.am (ELIX_SOURCES): Rename to...
 8963 	(ELIX_2_SOURCES): ...this.
 8964 	(ELIX_4_SOURCES): New category, for memmem.
 8965 	(lib_a_SOURCES, libstring_la_SOURCES): Build new file.
 8966 	(CHEWOUT_FILES): Build documentation for memmem.
 8967 	* libc/string/strings.tex: Include new docs.
 8968 
 8969 2008-01-08  Jeff Johnston  <jjohnstn@redhat.com>
 8970 
 8971 	* libc/machine/m68k/memcpy.S: Remove % from register references
 8972 	as this is already handled by m68kasm.h.
 8973 	* libc/machine/m68k/memset.S: Ditto.
 8974 
 8975 2008-01-07  Jeff Johnston  <jjohnstn@redhat.com>
 8976 
 8977 	* libc/machine/m68k/m68kasm.h: New file.
 8978 	* libc/machine/m68k/setjmp.S: Remove common definitions and
 8979 	place in m68kasm.h.  Include "m68kasm.h".
 8980 	* libc/machine/m68k/memcpy.S: Include "m68kasm.h" and use
 8981 	SYM() macro when referencing function name.
 8982 	* libc/machine/m68k/memset.S: Ditto.
 8983 
 8984 2008-01-03  Jeff Johnston  <jjohnstn@redhat.com>
 8985 
 8986 	Make isatty syscall handling consistent with other newlib syscalls.
 8987 
 8988 	* libc/include/_syslist.h: Add _isatty.
 8989 	* libc/include/reent.h: Add _isatty_r.
 8990 	* libc/include/sys/unistd.h: Add _isatty.
 8991 	* libc/posix/Makefile.am: Add new _isatty.c file.
 8992 	* libc/posix/Makefile.in: Regenerated.
 8993 	* libc/posix/_isatty.c: New file.
 8994 	* libc/posix/isatty.c: Changed to call _isatty().
 8995 	* libc/reent/Makefile.am: Add new isattyr.c file.
 8996 	* libc/reent/Makefile.in: Regenerated.
 8997 	* libc/reent/isattyr.c: New file.
 8998 	* libc/stdio/freopen.c: Changed to call _isatty_r().
 8999 	* libc/stdio/makebuf.c: Ditto.
 9000 	* libc/sys/a29khif/_isatty.S: Change isatty to _isatty.
 9001 	* libc/sys/arc/isatty.c: Ditto.
 9002 	* libc/sys/arm/syscalls.c: Ditto.
 9003 	* libc/sys/d10v/syscalls.c: Ditto.
 9004 	* libc/sys/h8300hms/syscalls.c: Ditto.
 9005 	* libc/sys/h8500hms/syscalls.c: Ditto.
 9006 	* libc/sys/linux/Makefile.am: Add new isatty.c file.
 9007 	* libc/sys/linux/Makefile.in: Regenerated.
 9008 	* libc/sys/linux/isatty.c: New file.
 9009 	* libc/syscalls/Makefile.am: Add new sysisatty.c file.
 9010 	* libc/syscalls/Makefile.in: Regenerated.
 9011 	* libc/syscalls/sysisatty.c: New file.
 9012 
 9013 2008-01-02  Jeff Johnston  <jjohnstn@redhat.com>
 9014 
 9015 	* libc/syscalls/sysclose.c: Always call reentrant version of the
 9016 	underlying syscall since one is guaranteed to exist in libc/reent.
 9017 	* libc/syscalls/sysexecve.c: Ditto.
 9018 	* libc/syscalls/sysfcntl.c: Ditto.
 9019 	* libc/syscalls/sysfork.c: Ditto.
 9020 	* libc/syscalls/sysfstat.c: Ditto.
 9021 	* libc/syscalls/sysgetpid.c: Ditto.
 9022 	* libc/syscalls/sysgettod.c: Ditto.
 9023 	* libc/syscalls/syskill.c: Ditto.
 9024 	* libc/syscalls/syslink.c: Ditto.
 9025 	* libc/syscalls/syslseek.c: Ditto.
 9026 	* libc/syscalls/sysopen.c: Ditto.
 9027 	* libc/syscalls/sysread.c: Ditto.
 9028 	* libc/syscalls/syssbrk.c: Ditto.
 9029 	* libc/syscalls/sysstat.c: Ditto.
 9030 	* libc/syscalls/systimes.c: Ditto.
 9031 	* libc/syscalls/sysunlink.c: Ditto.
 9032 	* libc/syscalls/syswait.c: Ditto.
 9033 	* libc/syscalls/syswrite.c: Ditto.
 9034 
 9035 2007-12-19  Jeff Johnston  <jjohnstn@redhat.com>
 9036 
 9037 	* NEWS: Update with 1.16.0 info.
 9038 	* README: Ditto.
 9039 	* acinclude.m4: Change version number to 1.16.0.
 9040 	* aclocal.m4: Regenerated.
 9041 	* configure: Ditto.
 9042 	* doc/aclocal.m4: Ditto.
 9043 	* doc/configure: Ditto.
 9044 	* libc/*/aclocal.m4: Ditto.
 9045 	* libc/*/configure: Ditto.
 9046 	* libc/libc.texinfo: Ditto.
 9047 	* libm/*/aclocal.m4: Ditto.
 9048 	* libm/*/configure: Ditto.
 9049 	* libm/libm.texinfo: Ditto.
 9050 	* libc/sys/linux/shared.ld: Add VERS_1.16.
 9051 
 9052 2007-12-19  Jeff Johnston  <jjohnstn@redhat.com>
 9053 
 9054 	* libc/string/strcasestr.c: Remove id macro.
 9055 	* libc/sys/linux/linuxthreads/attr.c: Fix up sched_priority
 9056 	field reference to be __sched_priority.
 9057 	* libc/sys/linux/linuxthreads/joinrace.c: Ditto.
 9058 	* libc/sys/linux/linuxthreads/manager.c: Ditto.
 9059 	* libc/sys/linux/stdlib/collate.c: Remove id macro.
 9060 	* libc/sys/linux/stdlib/collcmp.c: Ditto.
 9061 	* libc/sys/linux/stdlib/engine.c: Ditto.
 9062 	* libc/sys/linux/stdlib/fnmatch.c: Ditto.
 9063 	* libc/sys/linux/stdlib/glob.c: Ditto.
 9064 	* libc/sys/linux/stdlib/reallocf.c: Ditto.
 9065 	* libc/sys/linux/stdlib/regcomp.c: Ditto.
 9066 	* libc/sys/linux/stdlib/regerror.c: Ditto.
 9067 	* libc/sys/linux/stdlib/regexec.c: Ditto.
 9068 	* libc/sys/linux/stdlib/regfree.c: Ditto.
 9069 	* libc/sys/linux/sys/cdefs.h: Replace with latest version.
 9070 	* libc/sys/linux/include/argp.h: Ditto.
 9071 	* libc/sys/linux/sys/libc-lock.h: New file.
 9072 	* libc/sys/linux/sys/stdint.h: Ditto.
 9073 	* libc/sys/linux/include/sched.h: New file.
 9074 
 9075 2007-12-19  Dave Korn  <dave.korn@artimi.com>
 9076 	    Jeff Johnston  <jjohnstn@redhhat.com>
 9077 
 9078 	* libc/include/_ansi.h: Add _LONG_LONG definition.
 9079 	* libc/include/math.h (llrint, llrintf, rintl, lrintl, llrintl): Add
 9080 	prototypes.
 9081 	* libc/machine/i386/machine/fastmath.h: Add support for new i386
 9082 	fast math versions of rint, lrint, and llrint family functions.
 9083 	* libm/machine/i386/Makefile.am: Add new files.
 9084 	* libm/machine/i386/Makefile.in: Regenerated.
 9085 	* libm/machine/i386/f_llrint.c, libm/machine/i386/f_lrint.c,
 9086 	libm/machine/i386/f_rint.c, libm/machine/i386/f_llrintf.c,
 9087 	libm/machine/i386/f_lrintf.c, libm/machine/i386/f_rintf.c,
 9088 	libm/machine/i386/f_llrintl.c, libm/machine/i386/f_lrintl.c,
 9089 	libm/machine/i386/f_rintl.c:  New files with fast math implementations.
 9090 
 9091 2007-12-19  Jeff Johnston  <jjohnstn@redhat.com>
 9092 
 9093 	* libc/include/sys/features.h: Add checks for C90 compilers using
 9094 	-ansi.
 9095 
 9096 2007-12-19  Corinna Vinschen  <corinna@vinschen.de>
 9097 
 9098 	* libc/include/wchar.h: Add prototypes for wcpcpy and wcpncpy.
 9099 	* libc/string/Makefile.am (ELIX_SOURCES): Add wcpcpy.c and
 9100 	wcpncpy.c.
 9101 	(CHEWOUT_FILES): Add wcpcpy.def and wcpncpy.def.
 9102 	* libc/string/Makefile.in: Regenerate.
 9103 	* libc/string/wcpcpy.c: New file.
 9104 	* libc/string/wcpncpy.c: New file.
 9105 	* libc/string/wcstrings.tex: Add wcpcpy and wcpncpy.
 9106 
 9107 2007-12-19  Corinna Vinschen  <corinna@vinschen.de>
 9108 
 9109 	* libc/stdio/vfprintf.c (_VFPRINTF_R): Use correct pointer in call to
 9110 	_wcsrtombs_r.
 9111 
 9112 2007-11-19  Nick Clifton  <nickc@redhat.com>
 9113 
 9114 	* libc/machine/mn10300/Makefile.am (CCASFLAGS): Add -Wa,--gdwarf-2.
 9115 	* libc/machine/mn10300/Makefile.in: Regenerate.
 9116 	* libc/machine/mn10300/memchar.S: Remove redundant labels.  Add
 9117 	.debug_frame section.
 9118 	* libc/machine/mn10300/memcmp.S: Likewise.
 9119 	* libc/machine/mn10300/memcpy.S: Likewise.
 9120 	* libc/machine/mn10300/memset.S: Likewise.
 9121 	* libc/machine/mn10300/strchr.S: Likewise.
 9122 	* libc/machine/mn10300/strcmp.S: Likewise.
 9123 	* libc/machine/mn10300/strcpy.S: Likewise.
 9124 	* libc/machine/mn10300/strlen.S: Likewise.
 9125 
 9126 2007-11-15  Jeff Johnston  <jjohnstn@redhat.com>
 9127 
 9128 	* libc/include/sys/_default_fcntl.h: New header file that
 9129 	is the default version of sys/fcntl.h.
 9130 	* libc/include/sys/fcntl.h: Changed to simply include
 9131 	sys/_default_fcntl.h.
 9132 	* libc/sys/arm/sys/fcntl.h: New file that includes
 9133 	sys/_default_fcntl.h and defines O_BINARY.
 9134 
 9135 2007-11-08  Corinna Vinschen  <corinna@vinschen.de>
 9136 
 9137 	* libc/include/sys/unistd.h: Remove Cygwin definition of MAXPATHLEN.
 9138 
 9139 2007-11-07  Dave Brolley  <brolley@redhat.com>
 9140 
 9141 	* libc/machine/configure: Regenerated to pick up mep-elf changes.
 9142 
 9143 	* Contribute mep-elf from Red Hat
 9144 	2006-10-27  DJ Delorie  <dj@redhat.com>
 9145 
 9146 	* libc/include/machine/setjmp.h: Add MeP support.
 9147 
 9148 	2003-04-17  DJ Delorie  <dj@redhat.com>
 9149 
 9150 	* configure.host (mep-*-*): Support "long long" type.
 9151 
 9152 	2001-06-06  DJ Delorie  <dj@redhat.com>
 9153 
 9154 	* libc/include/machine/ieeefp.h (mep): Support little endian too.
 9155 
 9156 	2001-05-14  DJ Delorie  <dj@redhat.com>
 9157 
 9158 	* configure.host: Add mep's machine_dir.
 9159 	* libc/include/setjmp.h: Add mep support.
 9160 	* libc/machine/mep: New.
 9161 	* libc/machine/mep/setjmp.S: New, support mep's setjmp/longjmp.
 9162 
 9163 	2001-05-04  DJ Delorie  <dj@redhat.com>
 9164 
 9165 	* configure.host: Add mep.
 9166 	* libc/include/machine/ieeefp.h: Ditto.
 9167 
 9168 2007-10-31  DJ Delorie  <dj@redhat.com>
 9169 
 9170 	* libc/signal/signal.c (_raise_r): Don't attempt to initialize the
 9171 	signal table, just use a default, in case initialization cause
 9172 	recursion.
 9173 
 9174 2007-10-23  Jeff Johnston  <jjohnstn@redhat.com>
 9175 
 9176 	* libc/stdlib/wcstombs_r.c: Add SUSV2 support for calculating
 9177 	size if output buffer is NULL.
 9178 
 9179 2007-10-17  Jeff Johnston  <jjohnstn@redhat.com>
 9180 
 9181 	* libm/mathfp/s_logarithm.c: Fix error introduced by previous
 9182 	fix when handling negative input values.  Make function
 9183 	consistent with math directory and glibc version such that
 9184 	inf and nan values return inf and nan respectively with no
 9185 	errno setting.
 9186 	* libm/mathfp/sf_logarithm.c: Ditto.
 9187 	* libm/math/w_log.c: Set errno to ERANGE when input is 0.0.
 9188 	* libm/math/wf_log.c: Ditto.
 9189 	* libm/math/w_log10.c: Ditto.
 9190 	* libm/math/wf_log10.c: Ditto.
 9191 
 9192 2007-10-17  Jeff Johnston  <jjohnstn@redhat.com>
 9193 
 9194 	* libm/mathfp/s_logarithm.c: Fix case where input is 0 to
 9195 	return -inf.
 9196 	* libm/mathfp/sf_logarithm.c: Ditto.
 9197 
 9198 2007-10-17  Jeff Johnston  <jjohnstn@redhat.com>
 9199 
 9200 	* libc/machine/i386/machine/fastmath.h: New file.
 9201 
 9202 2007-10-13  Eric Blake  <ebb9@byu.net>
 9203 
 9204 	* libc/stdio/vfprintf.c (_VFPRINTF_R) [__OPTIMIZE_SIZE__]:
 9205 	Correctly nest else within conditionals.
 9206 	Reported by Artur Lipowski.
 9207 
 9208 2007-10-09  Nick Clifton  <nickc@redhat.com>
 9209 
 9210 	* libc/sys/linux/dl/do-lookup.h (FCT): Support symbols with
 9211 	the STT_COMMON type.
 9212 
 9213 2007-10-09  Ben Elliston  <bje@au.ibm.com>
 9214 
 9215 	* libm/machine/spu/headers/acosd2.h: Include spu_intrinsics.h
 9216 	before simdmath.h to get a definition for `vector'.
 9217 	* libm/machine/spu/headers/asind2.h: Likewise.
 9218 
 9219 2007-09-28  Patrick Mansfield  <patmans@us.ibm.com>
 9220 
 9221 	* libm/machine/spu/headers/dom_chkd_less_than.h: New file.
 9222 	* libm/machine/spu/headers/dom_chkd_negone_one.h: Ditto.
 9223 	* libm/machine/spu/headers/dom_chkf_less_than.h: Ditto.
 9224 	* libm/machine/spu/headers/dom_chkf_negone_one.h: Ditto.
 9225 	* libm/machine/spu/headers/acos.h: Add domain check.
 9226 	* libm/machine/spu/headers/acosf.h: Ditto.
 9227 	* libm/machine/spu/headers/acosh.h: Ditto.
 9228 	* libm/machine/spu/headers/acoshf.h: Ditto.
 9229 	* libm/machine/spu/headers/asin.h: Ditto.
 9230 	* libm/machine/spu/headers/asinf.h: Ditto.
 9231 	* libm/machine/spu/headers/atanh.h: Ditto.
 9232 	* libm/machine/spu/headers/atanhf.h: Ditto.
 9233 	* libm/machine/spu/headers/fmod.h: Ditto.
 9234 	* libm/machine/spu/headers/fmodf.h: Ditto.
 9235 	* libm/machine/spu/headers/log.h: Ditto.
 9236 	* libm/machine/spu/headers/log10.h: Ditto.
 9237 	* libm/machine/spu/headers/log1p.h: Ditto.
 9238 	* libm/machine/spu/headers/log1pf.h: Ditto.
 9239 	* libm/machine/spu/headers/log2.h: Ditto.
 9240 	* libm/machine/spu/headers/log2f.h: Ditto.
 9241 	* libm/machine/spu/headers/sqrt.h: Ditto.
 9242 	* libm/machine/spu/headers/sqrtf.h: Ditto.
 9243 	* libm/machine/spu/headers/tgamma.h: Ditto.
 9244 	* libm/machine/spu/headers/tgammaf.h: Ditto.
 9245 
 9246 2007-09-28  Patrick Mansfield  <patmans@us.ibm.com>
 9247 
 9248 	* libm/machine/spu/Makefile.am: Add new C files.
 9249 	* libm/machine/spu/Makefile.in: Regenerate.
 9250 	* libm/machine/spu/headers/acos.h: New file.
 9251 	* libm/machine/spu/headers/acosd2.h: Ditto.
 9252 	* libm/machine/spu/headers/acosf.h: Ditto.
 9253 	* libm/machine/spu/headers/acosf4.h: Ditto.
 9254 	* libm/machine/spu/headers/acosh.h: Ditto.
 9255 	* libm/machine/spu/headers/acoshd2.h: Ditto.
 9256 	* libm/machine/spu/headers/acoshf.h: Ditto.
 9257 	* libm/machine/spu/headers/acoshf4.h: Ditto.
 9258 	* libm/machine/spu/headers/asin.h: Ditto.
 9259 	* libm/machine/spu/headers/asind2.h: Ditto.
 9260 	* libm/machine/spu/headers/asinf.h: Ditto.
 9261 	* libm/machine/spu/headers/asinf4.h: Ditto.
 9262 	* libm/machine/spu/headers/asinh.h: Ditto.
 9263 	* libm/machine/spu/headers/asinhd2.h: Ditto.
 9264 	* libm/machine/spu/headers/asinhf.h: Ditto.
 9265 	* libm/machine/spu/headers/asinhf4.h: Ditto.
 9266 	* libm/machine/spu/headers/atan.h: Ditto.
 9267 	* libm/machine/spu/headers/atan2.h: Ditto.
 9268 	* libm/machine/spu/headers/atan2d2.h: Ditto.
 9269 	* libm/machine/spu/headers/atan2f.h: Ditto.
 9270 	* libm/machine/spu/headers/atan2f4.h: Ditto.
 9271 	* libm/machine/spu/headers/atand2.h: Ditto.
 9272 	* libm/machine/spu/headers/atanf4.h: Ditto.
 9273 	* libm/machine/spu/headers/atanh.h: Ditto.
 9274 	* libm/machine/spu/headers/atanhd2.h: Ditto.
 9275 	* libm/machine/spu/headers/atanhf.h: Ditto.
 9276 	* libm/machine/spu/headers/atanhf4.h: Ditto.
 9277 	* libm/machine/spu/headers/cos.h: Ditto.
 9278 	* libm/machine/spu/headers/cos_sin.h: Ditto.
 9279 	* libm/machine/spu/headers/cosd2.h: Ditto.
 9280 	* libm/machine/spu/headers/cosf.h: Ditto.
 9281 	* libm/machine/spu/headers/cosf4.h: Ditto.
 9282 	* libm/machine/spu/headers/cosh.h: Ditto.
 9283 	* libm/machine/spu/headers/coshd2.h: Ditto.
 9284 	* libm/machine/spu/headers/coshf.h: Ditto.
 9285 	* libm/machine/spu/headers/coshf4.h: Ditto.
 9286 	* libm/machine/spu/headers/divd2.h: Ditto.
 9287 	* libm/machine/spu/headers/divf4.h: Ditto.
 9288 	* libm/machine/spu/headers/erf.h: Ditto.
 9289 	* libm/machine/spu/headers/erf_utils.h: Ditto.
 9290 	* libm/machine/spu/headers/erfc.h: Ditto.
 9291 	* libm/machine/spu/headers/erfcd2.h: Ditto.
 9292 	* libm/machine/spu/headers/erfcf.h: Ditto.
 9293 	* libm/machine/spu/headers/erfcf4.h: Ditto.
 9294 	* libm/machine/spu/headers/erfd2.h: Ditto.
 9295 	* libm/machine/spu/headers/erff.h: Ditto.
 9296 	* libm/machine/spu/headers/erff4.h: Ditto.
 9297 	* libm/machine/spu/headers/exp.h: Ditto.
 9298 	* libm/machine/spu/headers/exp2.h: Ditto.
 9299 	* libm/machine/spu/headers/exp2d2.h: Ditto.
 9300 	* libm/machine/spu/headers/exp2f4.h: Ditto.
 9301 	* libm/machine/spu/headers/expd2.h: Ditto.
 9302 	* libm/machine/spu/headers/expf4.h: Ditto.
 9303 	* libm/machine/spu/headers/expm1.h: Ditto.
 9304 	* libm/machine/spu/headers/expm1d2.h: Ditto.
 9305 	* libm/machine/spu/headers/expm1f.h: Ditto.
 9306 	* libm/machine/spu/headers/expm1f4.h: Ditto.
 9307 	* libm/machine/spu/headers/floord2.h: Ditto.
 9308 	* libm/machine/spu/headers/floorf4.h: Ditto.
 9309 	* libm/machine/spu/headers/hypot.h: Ditto.
 9310 	* libm/machine/spu/headers/hypotd2.h: Ditto.
 9311 	* libm/machine/spu/headers/hypotf.h: Ditto.
 9312 	* libm/machine/spu/headers/hypotf4.h: Ditto.
 9313 	* libm/machine/spu/headers/isnan.h: Ditto.
 9314 	* libm/machine/spu/headers/isnand2.h: Ditto.
 9315 	* libm/machine/spu/headers/isnanf.h: Ditto.
 9316 	* libm/machine/spu/headers/isnanf4.h: Ditto.
 9317 	* libm/machine/spu/headers/ldexpd2.h: Ditto.
 9318 	* libm/machine/spu/headers/ldexpf4.h: Ditto.
 9319 	* libm/machine/spu/headers/lgamma.h: Ditto.
 9320 	* libm/machine/spu/headers/lgammad2.h: Ditto.
 9321 	* libm/machine/spu/headers/lgammaf.h: Ditto.
 9322 	* libm/machine/spu/headers/lgammaf4.h: Ditto.
 9323 	* libm/machine/spu/headers/log.h: Ditto.
 9324 	* libm/machine/spu/headers/log10.h: Ditto.
 9325 	* libm/machine/spu/headers/log10d2.h: Ditto.
 9326 	* libm/machine/spu/headers/log1p.h: Ditto.
 9327 	* libm/machine/spu/headers/log1pd2.h: Ditto.
 9328 	* libm/machine/spu/headers/log1pf.h: Ditto.
 9329 	* libm/machine/spu/headers/log1pf4.h: Ditto.
 9330 	* libm/machine/spu/headers/log2.h: Ditto.
 9331 	* libm/machine/spu/headers/log2d2.h: Ditto.
 9332 	* libm/machine/spu/headers/log2f4.h: Ditto.
 9333 	* libm/machine/spu/headers/logbf.h: Ditto.
 9334 	* libm/machine/spu/headers/logbf4.h: Ditto.
 9335 	* libm/machine/spu/headers/logd2.h: Ditto.
 9336 	* libm/machine/spu/headers/logf4.h: Ditto.
 9337 	* libm/machine/spu/headers/nearbyintf.h: Ditto.
 9338 	* libm/machine/spu/headers/nearbyintf4.h: Ditto.
 9339 	* libm/machine/spu/headers/nextafter.h: Ditto.
 9340 	* libm/machine/spu/headers/nextafterd2.h: Ditto.
 9341 	* libm/machine/spu/headers/nextafterf.h: Ditto.
 9342 	* libm/machine/spu/headers/nextafterf4.h: Ditto.
 9343 	* libm/machine/spu/headers/pow.h: Ditto.
 9344 	* libm/machine/spu/headers/powd2.h: Ditto.
 9345 	* libm/machine/spu/headers/powf.h: Ditto.
 9346 	* libm/machine/spu/headers/powf4.h: Ditto.
 9347 	* libm/machine/spu/headers/recipd2.h: Ditto.
 9348 	* libm/machine/spu/headers/recipf4.h: Ditto.
 9349 	* libm/machine/spu/headers/rintf.h: Ditto.
 9350 	* libm/machine/spu/headers/rintf4.h: Ditto.
 9351 	* libm/machine/spu/headers/scalbnf4.h: Ditto.
 9352 	* libm/machine/spu/headers/signbit.h: Ditto.
 9353 	* libm/machine/spu/headers/signbitd2.h: Ditto.
 9354 	* libm/machine/spu/headers/simdmath.h: Ditto.
 9355 	* libm/machine/spu/headers/sin.h: Ditto.
 9356 	* libm/machine/spu/headers/sincos.h: Ditto.
 9357 	* libm/machine/spu/headers/sincosd2.h: Ditto.
 9358 	* libm/machine/spu/headers/sincosf.h: Ditto.
 9359 	* libm/machine/spu/headers/sincosf4.h: Ditto.
 9360 	* libm/machine/spu/headers/sind2.h: Ditto.
 9361 	* libm/machine/spu/headers/sinf.h: Ditto.
 9362 	* libm/machine/spu/headers/sinf4.h: Ditto.
 9363 	* libm/machine/spu/headers/sinh.h: Ditto.
 9364 	* libm/machine/spu/headers/sinhd2.h: Ditto.
 9365 	* libm/machine/spu/headers/sinhf.h: Ditto.
 9366 	* libm/machine/spu/headers/sinhf4.h: Ditto.
 9367 	* libm/machine/spu/headers/sqrtd2.h: Ditto.
 9368 	* libm/machine/spu/headers/sqrtf.h: Ditto.
 9369 	* libm/machine/spu/headers/sqrtf4.h: Ditto.
 9370 	* libm/machine/spu/headers/tan.h: Ditto.
 9371 	* libm/machine/spu/headers/tand2.h: Ditto.
 9372 	* libm/machine/spu/headers/tanf.h: Ditto.
 9373 	* libm/machine/spu/headers/tanf4.h: Ditto.
 9374 	* libm/machine/spu/headers/tanh.h: Ditto.
 9375 	* libm/machine/spu/headers/tanhd2.h: Ditto.
 9376 	* libm/machine/spu/headers/tanhf.h: Ditto.
 9377 	* libm/machine/spu/headers/tanhf4.h: Ditto.
 9378 	* libm/machine/spu/headers/tgamma.h: Ditto.
 9379 	* libm/machine/spu/headers/tgammad2.h: Ditto.
 9380 	* libm/machine/spu/headers/tgammaf.h: Ditto.
 9381 	* libm/machine/spu/headers/tgammaf4.h: Ditto.
 9382 	* libm/machine/spu/headers/truncd2.h: Ditto.
 9383 	* libm/machine/spu/headers/truncf4.h: Ditto.
 9384 	* libm/machine/spu/log2.c: Ditto.
 9385 	* libm/machine/spu/s_asinh.c: Ditto.
 9386 	* libm/machine/spu/s_atan.c: Ditto.
 9387 	* libm/machine/spu/s_cos.c: Ditto.
 9388 	* libm/machine/spu/s_erf.c: Ditto.
 9389 	* libm/machine/spu/s_expm1.c: Ditto.
 9390 	* libm/machine/spu/s_isnan.c: Ditto.
 9391 	* libm/machine/spu/s_log1p.c: Ditto.
 9392 	* libm/machine/spu/s_nextafter.c: Ditto.
 9393 	* libm/machine/spu/s_sin.c: Ditto.
 9394 	* libm/machine/spu/s_tan.c: Ditto.
 9395 	* libm/machine/spu/s_tanh.c: Ditto.
 9396 	* libm/machine/spu/sf_asinh.c: Ditto.
 9397 	* libm/machine/spu/sf_cos.c: Ditto.
 9398 	* libm/machine/spu/sf_erf.c: Ditto.
 9399 	* libm/machine/spu/sf_expm1.c: Ditto.
 9400 	* libm/machine/spu/sf_log1p.c: Ditto.
 9401 	* libm/machine/spu/sf_logb.c: Ditto.
 9402 	* libm/machine/spu/sf_nearbyint.c: Ditto.
 9403 	* libm/machine/spu/sf_nextafter.c: Ditto.
 9404 	* libm/machine/spu/sf_rint.c: Ditto.
 9405 	* libm/machine/spu/sf_sin.c: Ditto.
 9406 	* libm/machine/spu/sf_tan.c: Ditto.
 9407 	* libm/machine/spu/sf_tanh.c: Ditto.
 9408 	* libm/machine/spu/w_acos.c: Ditto.
 9409 	* libm/machine/spu/w_acosh.c: Ditto.
 9410 	* libm/machine/spu/w_asin.c: Ditto.
 9411 	* libm/machine/spu/w_atan2.c: Ditto.
 9412 	* libm/machine/spu/w_atanh.c: Ditto.
 9413 	* libm/machine/spu/w_cosh.c: Ditto.
 9414 	* libm/machine/spu/w_exp.c: Ditto.
 9415 	* libm/machine/spu/w_exp2.c: Ditto.
 9416 	* libm/machine/spu/w_hypot.c: Ditto.
 9417 	* libm/machine/spu/w_lgamma.c: Ditto.
 9418 	* libm/machine/spu/w_log.c: Ditto.
 9419 	* libm/machine/spu/w_log10.c: Ditto.
 9420 	* libm/machine/spu/w_pow.c: Ditto.
 9421 	* libm/machine/spu/w_sincos.c: Ditto.
 9422 	* libm/machine/spu/w_sinh.c: Ditto.
 9423 	* libm/machine/spu/w_tgamma.c: Ditto.
 9424 	* libm/machine/spu/wf_acos.c: Ditto.
 9425 	* libm/machine/spu/wf_acosh.c: Ditto.
 9426 	* libm/machine/spu/wf_asin.c: Ditto.
 9427 	* libm/machine/spu/wf_atan2.c: Ditto.
 9428 	* libm/machine/spu/wf_atanh.c: Ditto.
 9429 	* libm/machine/spu/wf_cosh.c: Ditto.
 9430 	* libm/machine/spu/wf_hypot.c: Ditto.
 9431 	* libm/machine/spu/wf_lgamma.c: Ditto.
 9432 	* libm/machine/spu/wf_pow.c: Ditto.
 9433 	* libm/machine/spu/wf_sincos.c: Ditto.
 9434 	* libm/machine/spu/wf_sinh.c: Ditto.
 9435 	* libm/machine/spu/wf_sqrt.c: Ditto.
 9436 	* libm/machine/spu/wf_tgamma.c: Ditto.
 9437 
 9438 2007-09-28  Patrick Mansfield  <patmans@us.ibm.com>
 9439 
 9440 	* configure.host: Define _POSIX_MODE to match the existing vector
 9441 	math code, as we don't support the matherr callout.
 9442 	* libm/machine/spu/Makefile.am: New file.
 9443 	* libm/machine/spu/Makefile.in: Auto-generated.
 9444 	* libm/machine/spu/headers/atanf.h: New file.
 9445 	* libm/machine/spu/headers/cbrt.h: Ditto.
 9446 	* libm/machine/spu/headers/cbrtf.h: Ditto.
 9447 	* libm/machine/spu/headers/ceil.h: Ditto.
 9448 	* libm/machine/spu/headers/ceilf.h: Ditto.
 9449 	* libm/machine/spu/headers/copysign.h: Ditto.
 9450 	* libm/machine/spu/headers/copysignf.h: Ditto.
 9451 	* libm/machine/spu/headers/exp2f.h: Ditto.
 9452 	* libm/machine/spu/headers/expf.h: Ditto.
 9453 	* libm/machine/spu/headers/fabs.h: Ditto.
 9454 	* libm/machine/spu/headers/fabsf.h: Ditto.
 9455 	* libm/machine/spu/headers/fdim.h: Ditto.
 9456 	* libm/machine/spu/headers/fdimf.h: Ditto.
 9457 	* libm/machine/spu/headers/floor.h: Ditto.
 9458 	* libm/machine/spu/headers/floorf.h: Ditto.
 9459 	* libm/machine/spu/headers/fma.h: Ditto.
 9460 	* libm/machine/spu/headers/fmaf.h: Ditto.
 9461 	* libm/machine/spu/headers/fmax.h: Ditto.
 9462 	* libm/machine/spu/headers/fmaxf.h: Ditto.
 9463 	* libm/machine/spu/headers/fmin.h: Ditto.
 9464 	* libm/machine/spu/headers/fminf.h: Ditto.
 9465 	* libm/machine/spu/headers/fmod.h: Ditto.
 9466 	* libm/machine/spu/headers/fmodf.h: Ditto.
 9467 	* libm/machine/spu/headers/frexp.h: Ditto.
 9468 	* libm/machine/spu/headers/frexpf.h: Ditto.
 9469 	* libm/machine/spu/headers/ilogb.h: Ditto.
 9470 	* libm/machine/spu/headers/ilogbf.h: Ditto.
 9471 	* libm/machine/spu/headers/ldexp.h: Ditto.
 9472 	* libm/machine/spu/headers/ldexpf.h: Ditto.
 9473 	* libm/machine/spu/headers/llrint.h: Ditto.
 9474 	* libm/machine/spu/headers/llrintf.h: Ditto.
 9475 	* libm/machine/spu/headers/llround.h: Ditto.
 9476 	* libm/machine/spu/headers/llroundf.h: Ditto.
 9477 	* libm/machine/spu/headers/log10f.h: Ditto.
 9478 	* libm/machine/spu/headers/log2f.h: Ditto.
 9479 	* libm/machine/spu/headers/logf.h: Ditto.
 9480 	* libm/machine/spu/headers/lrint.h: Ditto.
 9481 	* libm/machine/spu/headers/lrintf.h: Ditto.
 9482 	* libm/machine/spu/headers/lround.h: Ditto.
 9483 	* libm/machine/spu/headers/lroundf.h: Ditto.
 9484 	* libm/machine/spu/headers/nearbyint.h: Ditto.
 9485 	* libm/machine/spu/headers/remainder.h: Ditto.
 9486 	* libm/machine/spu/headers/remainderf.h: Ditto.
 9487 	* libm/machine/spu/headers/remquo.h: Ditto.
 9488 	* libm/machine/spu/headers/remquof.h: Ditto.
 9489 	* libm/machine/spu/headers/rint.h: Ditto.
 9490 	* libm/machine/spu/headers/round.h: Ditto.
 9491 	* libm/machine/spu/headers/roundf.h: Ditto.
 9492 	* libm/machine/spu/headers/scalbn.h: Ditto.
 9493 	* libm/machine/spu/headers/scalbnf.h: Ditto.
 9494 	* libm/machine/spu/headers/sqrt.h: Ditto.
 9495 	* libm/machine/spu/headers/trunc.h: Ditto.
 9496 	* libm/machine/spu/headers/truncf.h: Ditto.
 9497 	* libm/machine/spu/headers/vec_literal.h: Ditto.
 9498 	* libm/machine/spu/llrint.c: Ditto.
 9499 	* libm/machine/spu/llrintf.c: Ditto.
 9500 	* libm/machine/spu/llround.c: Ditto.
 9501 	* libm/machine/spu/llroundf.c: Ditto.
 9502 	* libm/machine/spu/log2f.c: Ditto.
 9503 	* libm/machine/spu/s_cbrt.c: Ditto.
 9504 	* libm/machine/spu/s_ceil.c: Ditto.
 9505 	* libm/machine/spu/s_copysign.c: Ditto.
 9506 	* libm/machine/spu/s_fabs.c: Ditto.
 9507 	* libm/machine/spu/s_fdim.c: Ditto.
 9508 	* libm/machine/spu/s_floor.c: Ditto.
 9509 	* libm/machine/spu/s_fma.c: Ditto.
 9510 	* libm/machine/spu/s_fmax.c: Ditto.
 9511 	* libm/machine/spu/s_fmin.c: Ditto.
 9512 	* libm/machine/spu/s_frexp.c: Ditto.
 9513 	* libm/machine/spu/s_ilogb.c: Ditto.
 9514 	* libm/machine/spu/s_ldexp.c: Ditto.
 9515 	* libm/machine/spu/s_lrint.c: Ditto.
 9516 	* libm/machine/spu/s_lround.c: Ditto.
 9517 	* libm/machine/spu/s_nearbyint.c: Ditto.
 9518 	* libm/machine/spu/s_remquo.c: Ditto.
 9519 	* libm/machine/spu/s_rint.c: Ditto.
 9520 	* libm/machine/spu/s_round.c: Ditto.
 9521 	* libm/machine/spu/s_scalbn.c: Ditto.
 9522 	* libm/machine/spu/s_trunc.c: Ditto.
 9523 	* libm/machine/spu/sf_atan.c: Ditto.
 9524 	* libm/machine/spu/sf_cbrt.c: Ditto.
 9525 	* libm/machine/spu/sf_ceil.c: Ditto.
 9526 	* libm/machine/spu/sf_copysign.c: Ditto.
 9527 	* libm/machine/spu/sf_fabs.c: Ditto.
 9528 	* libm/machine/spu/sf_fdim.c: Ditto.
 9529 	* libm/machine/spu/sf_floor.c: Ditto.
 9530 	* libm/machine/spu/sf_fma.c: Ditto.
 9531 	* libm/machine/spu/sf_fmax.c: Ditto.
 9532 	* libm/machine/spu/sf_fmin.c: Ditto.
 9533 	* libm/machine/spu/sf_frexp.c: Ditto.
 9534 	* libm/machine/spu/sf_ilogb.c: Ditto.
 9535 	* libm/machine/spu/sf_ldexp.c: Ditto.
 9536 	* libm/machine/spu/sf_lrint.c: Ditto.
 9537 	* libm/machine/spu/sf_lround.c: Ditto.
 9538 	* libm/machine/spu/sf_remquo.c: Ditto.
 9539 	* libm/machine/spu/sf_round.c: Ditto.
 9540 	* libm/machine/spu/sf_scalbn.c: Ditto.
 9541 	* libm/machine/spu/sf_trunc.c: Ditto.
 9542 	* libm/machine/spu/w_fmod.c: Ditto.
 9543 	* libm/machine/spu/w_remainder.c: Ditto.
 9544 	* libm/machine/spu/w_sqrt.c: Ditto.
 9545 	* libm/machine/spu/wf_exp.c: Ditto.
 9546 	* libm/machine/spu/wf_exp2.c: Ditto.
 9547 	* libm/machine/spu/wf_fmod.c: Ditto.
 9548 	* libm/machine/spu/wf_log.c: Ditto.
 9549 	* libm/machine/spu/wf_log10.c: Ditto.
 9550 	* libm/machine/spu/wf_remainder.c: Ditto.
 9551 
 9552 2007-09-21  Patrick Mansfield  <patmans@us.ibm.com>
 9553 
 9554 	* libc/machine/spu/sys/uio.h: New file for readv and writev use.
 9555 
 9556 2007-09-21  Patrick Mansfield  <patmans@us.ibm.com>
 9557 
 9558 	* libc/include/sched.h: New file, just include sys/sched.h.
 9559 	* libc/machine/spu/sys/sched.h: New file, has just sched_yield
 9560 	prototype.
 9561 	* libc/machine/spu/sys/utime.h: New file, has utime prototype and
 9562 	struct utimbuf definition.
 9563 
 9564 2007-09-21  Patrick Mansfield  <patmans@us.ibm.com>
 9565 
 9566 	* libc/machine/spu/sys/dirent.h: New file, add prototypes and SPU
 9567 	specific struct and typedef.
 9568 
 9569 2007-09-18  Patrick Mansfield  <patmans@us.ibm.com>
 9570 
 9571 	* libc/include/sys/types.h: Use __dev_t, __uid_t, and __gid_t to
 9572 	typedef dev_t, gid_t, and uid_t.
 9573 	* libc/include/sys/_types.h: Move previous dev_t, uid_t and gid_t
 9574 	types.h code to here, but typedef __dev_t, __uid_t, and __gid_t instead.
 9575 	Change to lower case for all __foo_t_defined names.
 9576 	* libc/machine/spu/machine/_types.h: Add SPU specific __dev_t,
 9577 	__uid_t, and __gid_t making them all four bytes. Change to lower case
 9578 	for all __foo_t_defined names.
 9579 
 9580 2007-09-18  Jeff Johnston  <jjohnstn@redhat.com>
 9581 
 9582 	* libc/reent/renamer.c: New file.
 9583 	* libc/reent/Makefile.am: Add new file.
 9584 	* libc/reent/Makefile.in: Regenerated.
 9585 	* libc/stdio/rename.c: Break out _rename_r code into reent/renamer.c
 9586 	and add check for rename syscall.
 9587 
 9588 2007-09-17  Eric Blake  <ebb9@byu.net>
 9589 
 9590 	Obey POSIX on printf("%.s", (char*)NULL).
 9591 	* libc/stdio/vfprintf.c (_VFPRINTF_R): Take precision into account
 9592 	for %s on NULL.  Skip NULL check when optimizing for size.
 9593 
 9594 2007-09-07  Jeff Johnston  <jjohnstn@redhat.com>
 9595 
 9596 	* libc/include/sys/_types.h: Protect all types with flag
 9597 	checks to allow definition in machine/_types.h.
 9598 
 9599 2007-09-07  Jeff Johnston  <jjohnstn@redhat.com>
 9600 
 9601 	* libc/sys/linux/sys/_types.h: Add _fpos_t and _fpos64_t
 9602 	definitions in light of the previous change.
 9603 
 9604 2007-09-07  Patrick Mansfield  <patmans@us.ibm.com>
 9605 
 9606 	* libc/include/machine/_default_types.h: New file, contains what
 9607 	was previously in libc/include/machine/_types.h.
 9608 	* libc/include/machine/_types.h: Now only includes
 9609 	machine/_default_types.h.
 9610 	* libc/include/sys/reent.h: Remove _fpos_t and _fpos64_t.
 9611 	* libc/include/sys/_types.h: Move _fpos_t and _fpos64_t to here,
 9612 	with conditional declarations.
 9613 	* libc/machine/spu/machine/_types.h: New file, add SPU specific
 9614 	typedefs for _fpos_t and _fpos64_t.
 9615 
 9616 2007-09-07  Jeff Johnston  <jjohnstn@redhat.com>
 9617 
 9618 	* libc/include/math.h (_M_LOG2E): Replace with..
 9619 	(_M_LOG2_E): New macro.
 9620 	(log2, log2f, M_LOG2_E): Use _M_LOG2_E.
 9621 
 9622 2007-09-06  Brian Dessent  <brian@dessent.net>
 9623 
 9624 	* libc/reent/getreent.c: Allow for case where __getreent is
 9625 	defined as a macro.
 9626 
 9627 2007-09-06  Jeff Johnston  <jjohnstn@redhat.com>
 9628 
 9629 	* libc/include/math.h (_M_LOG2E): New log2 of e macro.
 9630 	(log2): Use _M_LOG2E instead of M_LOG2E.
 9631 	(log2f): Ditto.
 9632 	(M_LOG2E): Define to be _M_LOG2E.
 9633 
 9634 2007-09-04  Kazunori Asayama <asayama@sm.sony.co.jp>
 9635 
 9636 	* libm/math/wf_tgamma.c: Add missing include.
 9637 
 9638 2007-08-31  Antony King  <antony.king@st.com>
 9639 
 9640 	* libc/stdlib/mprec.h [_DOUBLE_IS_32BITS}: Define IEEE_Arith
 9641 	bits and redefine associated dword0 macro (rvalue issue).
 9642 	* libc/stdio/vfieeefp.h: Ditto.
 9643 	* libc/stdlib/strtod.c: Add checks for _DOUBLE_IS_32BITS
 9644 	to prevent setting dword1 which is an rvalue only.
 9645 
 9646 2007-08-28  Hans Kester  <hans.kester@ellips.nl>
 9647 
 9648 	* configure.host: Added support for x86_64.
 9649 	* libc/include/machine/ieeefp.h: Define __IEEE_LITTLE_ENDIAN for x86_64.
 9650 	* libc/include/machine/setjmp.h: Define _JBTYPE and _JBLEN for x86_64.
 9651 	* libc/machine/x86_64/aclocal.m4: Generated.
 9652 	* libc/machine/x86_64/configure.in: New.
 9653 	* libc/machine/x86_64/configure: Generated.
 9654 	* libc/machine/x86_64/Makefile.am: New.
 9655 	* libc/machine/x86_64/Makefile.in: Generated.
 9656 	* libc/machine/x86_64/setjmp.S: New.
 9657 	* libc/machine/x86_64/memcpy.S: New.
 9658 	* libc/machine/x86_64/memset.S: New.
 9659 	* libc/machine/configure.in: Added support for x86_64.
 9660 	* libc/machine/configure: Regenerated.
 9661 
 9662 2007-08-24  Jeff Johnston  <jjohnstn@redhat.com>
 9663 
 9664 	* libm/common/sf_lround.c (lroundf): Cast sizeof calculation
 9665 	to int before comparing it to a signed int value.
 9666 
 9667 2007-08-24  Hans-Peter Nilsson  <hp@axis.com>
 9668 
 9669 	* libc/machine/cris/sys/errno.h (ECANCELED, ENOKEY, EKEYEXPIRED)
 9670 	(EKEYREVOKED, EKEYREJECTED, EOWNERDEAD, ENOTRECOVERABLE, ENOTSUP):
 9671 	Define.
 9672 
 9673 2007-08-23  Hidetaka Takano  <hidetaka.takano@glb.toshiba.co.jp>
 9674 
 9675 	Reduce the memory consumption of variable argument functions
 9676 	for SPU (cell):
 9677 	* libc/machine/spu/Makefile.am: Replace printf/scanf family C sources
 9678 	  to assembler sources.
 9679 	* libc/machine/spu/Makefile.in: Regenerated.
 9680 	* libc/machine/spu/stdio.c: Add __check_init function wrapping
 9681 	  CHECK_INIT macro to use from assembler routines.
 9682 	* libc/machine/spu/c99ppe.h: Add definitions for assembler code.
 9683 	* libc/machine/spu/fiprintf.S: New file.
 9684 	* libc/machine/spu/fiscanf.S: Ditto.
 9685 	* libc/machine/spu/fprintf.S: Ditto.
 9686 	* libc/machine/spu/fscanf.S: Ditto.
 9687 	* libc/machine/spu/iprintf.S: Ditto.
 9688 	* libc/machine/spu/iscanf.S: Ditto.
 9689 	* libc/machine/spu/printf.S: Ditto.
 9690 	* libc/machine/spu/scanf.S: Ditto.
 9691 	* libc/machine/spu/siprintf.S: Ditto.
 9692 	* libc/machine/spu/siscanf.S: Ditto.
 9693 	* libc/machine/spu/sniprintf.S: Ditto.
 9694 	* libc/machine/spu/snprintf.S: Ditto.
 9695 	* libc/machine/spu/sprintf.S: Ditto.
 9696 	* libc/machine/spu/sscanf.S: Ditto.
 9697 	* libc/machine/spu/stack_reg_va.S: Ditto.
 9698 	* libc/machine/spu/syscall.def: Ditto. (for maintenance)
 9699 	* libc/machine/spu/mk_syscalls: Ditto. (for maintenance)
 9700 	* libc/machine/spu/fiprintf.c: Removed. (Replaced by .S)
 9701 	* libc/machine/spu/fiscanf.c: Ditto.
 9702 	* libc/machine/spu/fprintf.c: Ditto.
 9703 	* libc/machine/spu/fscanf.c: Ditto.
 9704 	* libc/machine/spu/iprintf.c: Ditto.
 9705 	* libc/machine/spu/iscanf.c: Ditto.
 9706 	* libc/machine/spu/printf.c: Ditto.
 9707 	* libc/machine/spu/scanf.c: Ditto.
 9708 	* libc/machine/spu/siprintf.c: Ditto.
 9709 	* libc/machine/spu/siscanf.c: Ditto.
 9710 	* libc/machine/spu/sniprintf.c: Ditto.
 9711 	* libc/machine/spu/snprintf.c: Ditto.
 9712 	* libc/machine/spu/sprintf.c: Ditto.
 9713 	* libc/machine/spu/sscanf.c: Ditto.
 9714 
 9715 2007-08-03  Ralf Corsepius  <ralf.corsepius@rtems.org>
 9716 
 9717 	* libc/include/tar.h: New.
 9718 
 9719 2007-08-03  Jeff Johnston  <jjohnstn@redhat.com>
 9720 
 9721 	* libc/sys/linux/intl/Makefile.am: Change stpcpy reference to
 9722 	lcl_stpcpy to avoid conflict with new stpcpy.c in libc/string.
 9723 	* libc/sys/linux/intl/Makefile.in: Regenerated.
 9724 	* libc/sys/linux/intl/stpcpy.c: Renamed to...
 9725 	* libc/sys/linux/intl/lcl_stpcpy.c: ..this.
 9726 
 9727 2007-08-02  Eric Blake  <ebb9@byu.net>
 9728 
 9729 	Implement fmemopen and open_memstream.
 9730 	* libc/stdio/fmemopen.c (_fmemopen_r, fmemopen): New file.
 9731 	* libc/stdio/open_memstream.c (_open_memstream_r, open_memstream):
 9732 	New file.
 9733 	* libc/stdio/fopencookie.c (fcwriter): Minor optimization.
 9734 	* libc/include/stdio.h (dprintf, vdprintf): Group all POSIX 200x
 9735 	functions together.
 9736 	(fmemopen, open_memstream): Declare new functions.
 9737 	* libc/stdio/stdio.tex: Document them.
 9738 	* libc/stdio/Makefile.am (ELIX_4_SOURCES, CHEWOUT_FILES): Add
 9739 	fmemopen and open_memstream.
 9740 	* libc/stdio/Makefile.in: Regenerate.
 9741 
 9742 2007-07-31  Eric Blake  <ebb9@byu.net>
 9743 
 9744 	More POSIX stream corner cases.
 9745 	* libc/stdio/findfp.c (__sinit): Open stderr read/write.
 9746 	* libc/stdio/fdopen.c (_fdopen_r): Set O_APPEND on fd when
 9747 	requested.
 9748 	* libc/stdio64/fdopen64.c (_fdopen64_r): Likewise.
 9749 
 9750 2007-07-18  Eric Blake  <ebb9@byu.net>
 9751 
 9752 	Fix 'make info'.
 9753 	* libc/stdio/stdio.tex: Add missing include.
 9754 	* libc/stdio/vfprintf.c: Use expected node name.
 9755 	* libc/stdio/vfscanf.c: Likewise.
 9756 	* libc/stdio/sscanf.c: Likewise.
 9757 	* libc/stdio/sprintf.c: Likewise.
 9758 	* libc/stdio/siscanf.c: Likewise.
 9759 	* libc/stdio/siprintf.c: Likewise.
 9760 	* libc/stdio/fopencookie.c: Quote raw {}.
 9761 	Reported by DJ Delorie.
 9762 
 9763 2007-07-13  Eric Blake  <ebb9@byu.net>
 9764 
 9765 	Fix fflush issues.
 9766 	* libc/stdio/fflush.c (_fflush_r): New function.
 9767 	(fflush): Fix reentrancy and large offset behavior.
 9768 	* libc/include/stdio.h (_fflush_r): Add prototype.
 9769 	* libc/stdio/fclose.c (_fclose_r): All fflush callers changed.
 9770 	* libc/stdio/freopen.c (_freopen_r): Likewise.
 9771 	* libc/stdio/fseek.c (_fseek_r): Likewise.
 9772 	* libc/stdio/ftell.c (_ftell_r): Likewise.
 9773 	* libc/stdio/fvwrite.c (__sfvwrite_r): Likewise.
 9774 	* libc/stdio/refill.c (__srefill_r): Likewise.
 9775 	* libc/stdio/setvbuf.c (setvbuf): Likewise.
 9776 	* libc/stdio/ungetc.c (_ungetc_r): Likewise.
 9777 	* libc/stdio/vfprintf.c (__sbprintf): Likewise.
 9778 	* libc/stdio/wbuf.c (__swbuf_r): Likewise.
 9779 	* libc/stdio64/freopen64.c (_freopen64_r): Likewise.
 9780 	* libc/stdio64/fseeko64.c (_fseeko64_r): Likewise.  Defer to
 9781 	32-bit version if not large file.
 9782 	* libc/stdio64/ftello64.c (_ftello64_r): Likewise.
 9783 	* libc/stdio64/tmpfile64.c (_tmpfile64_r): Avoid compile warning.
 9784 
 9785 	Documentation updates.
 9786 	* libc/stdio/ungetc.c: Document ungetc.
 9787 	* libc/stdio/Makefile.am (CHEWOUT_FILES): Sort, match current list
 9788 	of files with documentation.
 9789 	* libc/stdio/Makefile.in: Regenerate.
 9790 	* libc/stdio/stdio.tex: Sort and update stdio documentation index.
 9791 
 9792 2007-07-11  Jeff Johnston  <jjohnstn@redhat.com>
 9793 
 9794 	* libc/include/math.h: Fix so C99 functions/macros are accessible
 9795 	when -std=c99 is used when compiling and not when using C89.
 9796 
 9797 2007-07-06  Corinna Vinschen  <corinna@vinschen.de>
 9798 
 9799 	* libc/include/wchar.h: Declare wcstol, wcstoll, wcstoul,
 9800 	wcstoull, _wcstol_r, _wcstoll_r, _wcstoul_r and _wcstoull_r.
 9801 	* libc/stdlib/Makefile.am (GENERAL_SOURCES): Add wcstol.c and wcstoul.c.
 9802 	(EXTENDED_SOURCES): Add wcstoll.c, wcstoll_r.c, wcstoull.c and
 9803 	wcstoull_r.c.
 9804 	(CHEWOUT_FILES): Add .def files accordingly.
 9805 	* libc/stdlib/Makefile.in: Regenerate.
 9806 	* libc/stdlib/stdlib.tex: Add documentation links for above functions.
 9807 	* libc/stdlib/strtoll.c: Fix portability note.
 9808 	* libc/stdlib/strtoull.c: Ditto.
 9809 	* libc/stdlib/wcstol.c: New file.
 9810 	* libc/stdlib/wcstoll.c: New file.
 9811 	* libc/stdlib/wcstoll_r.c: New file.
 9812 	* libc/stdlib/wcstoul.c: New file.
 9813 	* libc/stdlib/wcstoull.c: New file.
 9814 	* libc/stdlib/wcstoull_r.c: New file.
 9815 
 9816 2007-07-06  Jeff Johnston  <jjohnstn@redhat.com>
 9817 
 9818 	* libc/include/sys/time.h (gettimeofday): Change to proper
 9819 	prototype where second parameter is void *.
 9820 	* libc/reent/gettimeofdayr.c (_gettimeofday_r): Change prototype
 9821 	accordingly.
 9822 	* libc/include/reent.h: Fix prototype for _gettimeofday_r.
 9823 	* libc/sys/arm/syscalls.c: Fix gettimeofday function signature.
 9824 	* libc/sys/rdos/gettod.c: Ditto.
 9825 	* libc/sys/sh/syscalls.c: Ditto.
 9826 	* libc/time/time.c (time): Change call to _gettimeofday_r
 9827 	to pass NULL as 2nd argument.
 9828 
 9829 2007-07-06  Jeff Johnston  <jjohnstn@redhat.com>
 9830 
 9831 	* libc/sys/linux/intl/dcigettext.c: Define HAVE_STPCPY.
 9832 	* libc/sys/linux/intl/l10nflist.c: Ditto.
 9833 
 9834 2007-07-04  Corinna Vinschen  <corinna@vinschen.de>
 9835 
 9836 	* libc/include/wchar.h: Add prototype for wcsxfrm.
 9837 	* libc/string/Makefile.am (GENERAL_SOURCES): Add wcsxfrm.c.
 9838 	(CHEWOUT_FILES): Add wcsxfrm.def.
 9839 	* libc/string/Makefile.in: Regenerate.
 9840 	* libc/string/wcsxfrm.c: New file.
 9841 	* libc/string/wcstrings.tex: Add wcsxfrm.
 9842 
 9843 2007-06-28  Corinna Vinschen  <corinna@vinschen.de>
 9844 
 9845 	* libc/include/string.h: Add prototypes for stpcpy and stpncpy.
 9846 	* libc/string/Makefile.am (ELIX_SOURCES): Add stpcpy.c and
 9847 	stpncpy.c.
 9848 	(CHEWOUT_FILES): Add stpcpy.def and stpncpy.def.
 9849 	* libc/string/Makefile.in: Regenerate.
 9850 	* libc/string/stpcpy.c: New file.
 9851 	* libc/string/stpncpy.c: New file.
 9852 	* libc/string/strings.tex: Add stpcpy and stpncpy.
 9853 
 9854 2007-06-27  Eric Blake  <ebb9@byu.net>
 9855 
 9856 	Support __func__ in assert, as required by C99.
 9857 	* libc/stdlib/assert.c (__assert_func): New function.
 9858 	(__assert): Use __assert_func.
 9859 	* libc/include/assert.h (assert) [!NDEBUG]: Use __assert_func when
 9860 	possible.
 9861 
 9862 2007-06-20  Patrick Mansfield  <patmans@us.ibm.com>
 9863 
 9864 	* libc/machine/spu/perror.c: Pass errno as the second argument to
 9865 	the assist call.
 9866 
 9867 2007-06-20  Patrick Mansfield  <patmans@us.ibm.com>
 9868 
 9869 	* libc/include/sys/unistd.h[__SPU__]: Add lockf prototype and related
 9870 	defines; expose ftruncate, truncate and sync prototypes.
 9871 
 9872 2007-06-20  Patrick Mansfield  <patmans@us.ibm.com>
 9873 
 9874 	* libc/include/sys/unistd.h[__SPU__]: Make fchdir prototype visible.
 9875 	* libc/include/sys/stat.h[__SPU__]: Make mknod and lstat prototypes
 9876 	visible.
 9877 
 9878 2007-06-15  Patrick Mansfield  <patmans@us.ibm.com>
 9879 
 9880 	* libc/machine/spu/Makefile.am: Remove mktemp.c, it was left in
 9881 	from a dropped patch.
 9882 	* libc/machine/spu/Makefile.in: Regenerate.
 9883 
 9884 2007-06-13  Patrick Mansfield  <patmans@us.ibm.com>
 9885 
 9886 	* libc/machine/spu/creat.c: New file copied from libc/posix/creat.c,
 9887 	it just calls open with appropriate arguments.
 9888 	* libc/machine/spu/Makefile.am: Add creat.c.
 9889 	* libc/machine/spu/Makefile.in: Regenerate.
 9890 
 9891 2007-06-13  Jeff Johnston  <jjohnstn@redhat.com>
 9892 
 9893 	* libc/machine/spu/Makefile.am: Re-add back setjmp.S which
 9894 	I accidentally dropped.
 9895 	* libc/machine/spu/Makefile.in: Regenerated.
 9896 
 9897 2007-06-13  Patrick Mansfield  <patmans@us.ibm.com>
 9898 
 9899 	* libc/include/sys/features.h: Define _POSIX_TIMERS for spu.
 9900 	* libc/include/sys/unistd.h: Change usleep prototype to Posix
 9901 	form and move outside of OS flag checks.
 9902 	* libc/machine/spu/Makefile.am: Add sleep and usleep.
 9903 	* libc/machine/spu/Makefile.in: Regenerate.
 9904 	* libc/machine/spu/sleep.c: Copy libc/posix/sleep.c.
 9905 	* libc/machine/spu/usleep.c: Copy libc/posix/usleep.c.
 9906 
 9907 2007-06-11  Corinna Vinschen  <corinna@vinschen.de>
 9908 
 9909 	* libc/include/sys/unistd.h: Declare confstr for Cygwin.
 9910 	Define confstr constants for Cygwin.  Add comment.
 9911 
 9912 2007-06-10  Hans-Peter Nilsson  <hp@bitrange.com>
 9913 
 9914 	* libc/sys/mmixware/access.c (access): Do not try to use a magic
 9915 	file-handle and a direct syscall, just use _open.
 9916 	* libc/sys/mmixware/sys/syscall.h (TMPFNO): Remove this magic
 9917 	file-handle.
 9918 
 9919 	* libc/sys/mmixware/_exit.c (_exit): Update comment about
 9920 	passing on the exit value.
 9921 
 9922 2007-06-08  Jeff Johnston  <jjohnstn@redhat.com>
 9923 
 9924 	* libc/string/strcasestr.c: New file.
 9925 	* libc/include/string.h: Add strcasestr.
 9926 	* libc/string/strings.tex: Add strcasestr.
 9927 	* libc/string/Makefile.am: Ditto.
 9928 	* libc/string/Makefile.in: Regenerated.
 9929 
 9930 2007-06-06  Christian Groessler  <chris@groessler.org>
 9931 
 9932 	* libc/stdlib/ldtoa (_ldcheck): Make sure the setting of
 9933 	rnd is done after the last local variable declaration.
 9934 
 9935 2007-06-06  Jeff Johnston  <jjohnstn@redhat.com>
 9936 
 9937 	* libc/stdlib/mprec.h[Just_16]: Make sure that Pack_16 is defined.
 9938 
 9939 2007-06-05  Christian Groessler  <chris@groessler.org>
 9940 
 9941 	* libc/argz/argz_insert.c (argz_insert): Move delta variable
 9942 	declaration to top of function in keeping with C89 standard.
 9943 
 9944 2007-06-04  Eric Blake  <ebb9@byu.net>
 9945 
 9946 	Implement funopen, fopencookie.
 9947 	* libc/include/sys/reent.h (struct __sFILE, struct __sFILE64):
 9948 	Switch to reentrant callbacks.
 9949 	* libc/include/stdio.h (funopen): Fix declaration.
 9950 	(fopencookie): Declare.
 9951 	* libc/stdio/local.h (__sread, __swrite, __sseek, __sclose)
 9952 	(__sseek64, __swrite64): Fix prototypes.
 9953 	[__SCLE]: Pull in setmode declaration.
 9954 	* libc/stdio/stdio.c (__sread, __swrite, __sseek, __sclose): Fix
 9955 	reentrancy.
 9956 	* libc/stdio64/stdio64.c (__sseek64_r, __swrite64_r): Delete.
 9957 	(__sseek64, __swrite64): Fix reentrancy.
 9958 	* libc/stdio/fseek.c (_fseek_r): Account for overflow, and fix
 9959 	reentrancy.
 9960 	* libc/stdio/ftell.c (_ftell_r): Likewise.
 9961 	* libc/stdio/flags.c (__sflags): Don't lose __SAPP on "a+".
 9962 	* libc/stdio/fclose.c (_fclose_r): Fix reentrancy.
 9963 	* libc/stdio/freopen.c (_freopen_r): Likewise.
 9964 	* libc/stdio/fvwrite.c (__sfvwrite_r): Likewise.
 9965 	* libc/stdio/refill.c (__srefill_r): Likewise.
 9966 	* libc/stdio/siscanf.c (eofread): Likewise.
 9967 	* libc/stdio/sscanf.c (eofread): Likewise.
 9968 	* libc/stdio/vsiscanf.c (eofread1): Likewise.
 9969 	* libc/stdio/vsscanf.c (eofread1): Likewise.
 9970 	* libc/stdio64/freopen64.c (_freopen64_r): Likewise.
 9971 	* libc/stdio64/fseeko64.c (_fseeko64_r): Likewise.
 9972 	* libc/stdio64/ftello64.c (_ftello64_r): Likewise.
 9973 	* libc/stdio/fflush.c (fflush): Improve reentrancy, although more
 9974 	could be fixed.
 9975 	* libc/stdio/fopencookie.c (_fopencookie_r, fopencookie): New file.
 9976 	* libc/stdio/funopen.c (_funopen_r, funopen): New file.
 9977 	* libc/stdio/Makefile.am (ELIX_4_SOURCES, CHEWOUT_FILES): Build
 9978 	new files.
 9979 	* libc/stdio/Makefile.in: Regenerate.
 9980 
 9981 2007-05-29  Eric Blake  <ebb9@byu.net>
 9982 
 9983 	Avoid more compiler warnings.
 9984 	* libc/stdlib/btowc.c: Add missing header.
 9985 	* libc/stdlib/getopt.c (getopt_internal): Initialize variable.
 9986 	* libc/stdlib/system.c (do_system) [__CYGWIN__]: Add declaration.
 9987 	* libc/stdlib/wctob.c: Add missing header.
 9988 	* libc/string/strcpy.c (strcpy): Avoid warnings.
 9989 	* libc/string/strrchr.c (strrchr): Likewise.
 9990 
 9991 2007-05-29  Corinna Vinschen  <corinna@vinschen.de>
 9992 
 9993 	* libc/argz/argz_add_sep.c (argz_add_sep): Handle empty string
 9994 	argument.
 9995 	* libc/argz/argz_append.c (argz_append): Handle empty buf argument.
 9996 	* libc/argz/argz_create_sep.c (argz_create_sep): Return (NULL, 0)
 9997 	on empty input strings.
 9998 	* libc/argz/argz_extract.c (argz_extract): Check argz_len before
 9999 	looping through argz.
10000 	* libc/argz/argz_stringify.c (argz_stringify): Ditto.
10001 
10002 2007-05-27  Brian Dessent  <brian@dessent.net>
10003 
10004 	* libc/stdio/vfprintf.c (_VFPRINTF_R): Populate 'ox' when
10005 	handling %p.
10006 
10007 2007-05-25  Eric Blake  <ebb9@byu.net>
10008 
10009 	* libc/stdio/rewind.c (rewind): Fix regression of 2003-08-22.
10010 
10011 2007-05-24  Steve Ellcey  <sje@cup.hp.com>
10012 	    Charles Wilson  <libtool@cwilson.fastmail.fm>
10013 
10014 	* libtool.m4: removed
10015 	* configure.in: invoke _LD_DECL_SED before conditionally initializing
10016 	libtool.  Move AC_PROG_AWK outside conditional.
10017 	* libc/sys/linux/configure.in: Ditto.
10018 	* libc/sys/linux/linuxthreads/configure.in: Ditto.
10019 	* libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
10020 	* libc/sys/linux/machine/i386/configure.in: Ditto.
10021 
10022 	* iconvdata/configure.in: invoke _LD_DECL_SED before conditionally
10023 	initializing libtool.
10024 	* libc/configure.in: Ditto.
10025 	* libc/machine/configure.in: Ditto.
10026 	* libc/machine/i386/configure.in: Ditto.
10027 	* libc/sys/configure.in: Ditto.
10028 	* libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
10029 	* libc/sys/linux/machine/configure.in: Ditto.
10030 	* libm/configure.in: Ditto.
10031 	* libm/machine/configure.in: Ditto.
10032 
10033 	* Makefile.am: Ensure toplevel is included in ACLOCAL_AMFLAGS.
10034 	* doc/Makefile.am: Ditto.
10035 	* iconvdata/Makefile.am: Ditto.
10036 	* libc/Makefile.am: Ditto.
10037 	* libc/machine/Makefile.am: Ditto.
10038 	* libc/machine/a29k/Makefile.am: Ditto.
10039 	* libc/machine/arm/Makefile.am: Ditto.
10040 	* libc/machine/bfin/Makefile.am: Ditto.
10041 	* libc/machine/cris/Makefile.am: Ditto.
10042 	* libc/machine/crx/Makefile.am: Ditto.
10043 	* libc/machine/d10v/Makefile.am: Ditto.
10044 	* libc/machine/d30v/Makefile.am: Ditto.
10045 	* libc/machine/fr30/Makefile.am: Ditto.
10046 	* libc/machine/frv/Makefile.am: Ditto.
10047 	* libc/machine/h8300/Makefile.am: Ditto.
10048 	* libc/machine/h8500/Makefile.am: Ditto.
10049 	* libc/machine/hppa/Makefile.am: Ditto.
10050 	* libc/machine/i386/Makefile.am: Ditto.
10051 	* libc/machine/i960/Makefile.am: Ditto.
10052 	* libc/machine/iq2000/Makefile.am: Ditto.
10053 	* libc/machine/m32c/Makefile.am: Ditto.
10054 	* libc/machine/m32r/Makefile.am: Ditto.
10055 	* libc/machine/m68hc11/Makefile.am: Ditto.
10056 	* libc/machine/m68k/Makefile.am: Ditto.
10057 	* libc/machine/m88k/Makefile.am: Ditto.
10058 	* libc/machine/mips/Makefile.am: Ditto.
10059 	* libc/machine/mn10200/Makefile.am: Ditto.
10060 	* libc/machine/mn10300/Makefile.am: Ditto.
10061 	* libc/machine/mt/Makefile.am: Ditto.
10062 	* libc/machine/necv70/Makefile.am: Ditto.
10063 	* libc/machine/powerpc/Makefile.am: Ditto.
10064 	* libc/machine/sh/Makefile.am: Ditto.
10065 	* libc/machine/sparc/Makefile.am: Ditto.
10066 	* libc/machine/spu/Makefile.am: Ditto.
10067 	* libc/machine/tic4x/Makefile.am: Ditto.
10068 	* libc/machine/tic80/Makefile.am: Ditto.
10069 	* libc/machine/v850/Makefile.am: Ditto.
10070 	* libc/machine/w65/Makefile.am: Ditto.
10071 	* libc/machine/xscale/Makefile.am: Ditto.
10072 	* libc/machine/xstormy16/Makefile.am: Ditto.
10073 	* libc/machine/z8k/Makefile.am: Ditto.
10074 	* libc/sys/Makefile.am: Ditto.
10075 	* libc/sys/a29khif/Makefile.am: Ditto.
10076 	* libc/sys/arc/Makefile.am: Ditto.
10077 	* libc/sys/arm/Makefile.am: Ditto.
10078 	* libc/sys/d10v/Makefile.am: Ditto.
10079 	* libc/sys/decstation/Makefile.am: Ditto.
10080 	* libc/sys/h8300hms/Makefile.am: Ditto.
10081 	* libc/sys/h8500hms/Makefile.am: Ditto.
10082 	* libc/sys/linux/Makefile.am: Ditto.
10083 	* libc/sys/linux/linuxthreads/Makefile.am: Ditto.
10084 	* libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
10085 	* libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
10086 	* libc/sys/linux/machine/Makefile.am: Ditto.
10087 	* libc/sys/linux/machine/i386/Makefile.am: Ditto.
10088 	* libc/sys/m88kbug/Makefile.am: Ditto.
10089 	* libc/sys/mmixware/Makefile.am: Ditto.
10090 	* libc/sys/netware/Makefile.am: Ditto.
10091 	* libc/sys/rdos/Makefile.am: Ditto.
10092 	* libc/sys/rtems/Makefile.am: Ditto.
10093 	* libc/sys/sh/Makefile.am: Ditto.
10094 	* libc/sys/sparc64/Makefile.am: Ditto.
10095 	* libc/sys/sun4/Makefile.am: Ditto.
10096 	* libc/sys/sysmec/Makefile.am: Ditto.
10097 	* libc/sys/sysnec810/Makefile.am: Ditto.
10098 	* libc/sys/sysnecv850/Makefile.am: Ditto.
10099 	* libc/sys/sysvi386/Makefile.am: Ditto.
10100 	* libc/sys/sysvnecv70/Makefile.am: Ditto.
10101 	* libc/sys/tic80/Makefile.am: Ditto.
10102 	* libc/sys/w65/Makefile.am: Ditto.
10103 	* libc/sys/z8ksim/Makefile.am: Ditto.
10104 	* libm/Makefile.am: Ditto.
10105 	* libm/machine/Makefile.am: Ditto.
10106 	* libm/machine/i386/Makefile.am: Ditto.
10107 	* libm/machine/spu/Makefile.am: Ditto.
10108 
10109 	* aclocal.m4: Regenerate.
10110 	* iconvdata/aclocal.m4: Regenerate.
10111 	* libc/aclocal.m4: Regenerate.
10112 	* libc/machine/aclocal.m4: Regenerate.
10113 	* libc/machine/i386/aclocal.m4: Regenerate.
10114 	* libc/sys/aclocal.m4: Regenerate.
10115 	* libc/sys/linux/aclocal.m4: Regenerate.
10116 	* libc/sys/linux/linuxthreads/aclocal.m4: Regenerate.
10117 	* libc/sys/linux/linuxthreads/machine/aclocal.m4: Regenerate.
10118 	* libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Regenerate.
10119 	* libc/sys/linux/machine/aclocal.m4: Regenerate.
10120 	* libc/sys/linux/machine/i386/aclocal.m4: Regenerate.
10121 	* libm/aclocal.m4: Regenerate.
10122 	* libm/machine/aclocal.m4: Regenerate.
10123 	* libm/machine/i386/aclocal.m4: Regenerate.
10124 
10125 	* Makefile.in: Regenerate.
10126 	* doc/Makefile.in: Regenerate.
10127 	* iconvdata/Makefile.in: Regenerate.
10128 	* libc/Makefile.in: Regenerate.
10129 	* libc/argz/Makefile.in: Regenerate.
10130 	* libc/ctype/Makefile.in: Regenerate.
10131 	* libc/errno/Makefile.in: Regenerate.
10132 	* libc/iconv/Makefile.in: Regenerate.
10133 	* libc/iconv/ccs/Makefile.in: Regenerate.
10134 	* libc/iconv/ccs/binary/Makefile.in: Regenerate.
10135 	* libc/iconv/ces/Makefile.in: Regenerate.
10136 	* libc/iconv/lib/Makefile.in: Regenerate.
10137 	* libc/locale/Makefile.in: Regenerate.
10138 	* libc/machine/Makefile.in: Regenerate.
10139 	* libc/machine/a29k/Makefile.in: Regenerate.
10140 	* libc/machine/arm/Makefile.in: Regenerate.
10141 	* libc/machine/bfin/Makefile.in: Regenerate.
10142 	* libc/machine/cris/Makefile.in: Regenerate.
10143 	* libc/machine/crx/Makefile.in: Regenerate.
10144 	* libc/machine/d10v/Makefile.in: Regenerate.
10145 	* libc/machine/d30v/Makefile.in: Regenerate.
10146 	* libc/machine/fr30/Makefile.in: Regenerate.
10147 	* libc/machine/frv/Makefile.in: Regenerate.
10148 	* libc/machine/h8300/Makefile.in: Regenerate.
10149 	* libc/machine/h8500/Makefile.in: Regenerate.
10150 	* libc/machine/hppa/Makefile.in: Regenerate.
10151 	* libc/machine/i386/Makefile.in: Regenerate.
10152 	* libc/machine/i960/Makefile.in: Regenerate.
10153 	* libc/machine/iq2000/Makefile.in: Regenerate.
10154 	* libc/machine/m32c/Makefile.in: Regenerate.
10155 	* libc/machine/m32r/Makefile.in: Regenerate.
10156 	* libc/machine/m68hc11/Makefile.in: Regenerate.
10157 	* libc/machine/m68k/Makefile.in: Regenerate.
10158 	* libc/machine/m88k/Makefile.in: Regenerate.
10159 	* libc/machine/mips/Makefile.in: Regenerate.
10160 	* libc/machine/mn10200/Makefile.in: Regenerate.
10161 	* libc/machine/mn10300/Makefile.in: Regenerate.
10162 	* libc/machine/mt/Makefile.in: Regenerate.
10163 	* libc/machine/necv70/Makefile.in: Regenerate.
10164 	* libc/machine/powerpc/Makefile.in: Regenerate.
10165 	* libc/machine/sh/Makefile.in: Regenerate.
10166 	* libc/machine/sparc/Makefile.in: Regenerate.
10167 	* libc/machine/spu/Makefile.in: Regenerate.
10168 	* libc/machine/tic4x/Makefile.in: Regenerate.
10169 	* libc/machine/tic80/Makefile.in: Regenerate.
10170 	* libc/machine/v850/Makefile.in: Regenerate.
10171 	* libc/machine/w65/Makefile.in: Regenerate.
10172 	* libc/machine/xscale/Makefile.in: Regenerate.
10173 	* libc/machine/xstormy16/Makefile.in: Regenerate.
10174 	* libc/machine/z8k/Makefile.in: Regenerate.
10175 	* libc/misc/Makefile.in: Regenerate.
10176 	* libc/posix/Makefile.in: Regenerate.
10177 	* libc/reent/Makefile.in: Regenerate.
10178 	* libc/search/Makefile.in: Regenerate.
10179 	* libc/signal/Makefile.in: Regenerate.
10180 	* libc/stdio/Makefile.in: Regenerate.
10181 	* libc/stdio64/Makefile.in: Regenerate.
10182 	* libc/stdlib/Makefile.in: Regenerate.
10183 	* libc/string/Makefile.in: Regenerate.
10184 	* libc/sys/Makefile.in: Regenerate.
10185 	* libc/sys/a29khif/Makefile.in: Regenerate.
10186 	* libc/sys/arc/Makefile.in: Regenerate.
10187 	* libc/sys/arm/Makefile.in: Regenerate.
10188 	* libc/sys/d10v/Makefile.in: Regenerate.
10189 	* libc/sys/decstation/Makefile.in: Regenerate.
10190 	* libc/sys/h8300hms/Makefile.in: Regenerate.
10191 	* libc/sys/h8500hms/Makefile.in: Regenerate.
10192 	* libc/sys/linux/Makefile.in: Regenerate.
10193 	* libc/sys/linux/argp/Makefile.in: Regenerate.
10194 	* libc/sys/linux/cmath/Makefile.in: Regenerate.
10195 	* libc/sys/linux/dl/Makefile.in: Regenerate.
10196 	* libc/sys/linux/iconv/Makefile.in: Regenerate.
10197 	* libc/sys/linux/intl/Makefile.in: Regenerate.
10198 	* libc/sys/linux/linuxthreads/Makefile.in: Regenerate.
10199 	* libc/sys/linux/linuxthreads/machine/Makefile.in: Regenerate.
10200 	* libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerate.
10201 	* libc/sys/linux/machine/Makefile.in: Regenerate.
10202 	* libc/sys/linux/machine/i386/Makefile.in: Regenerate.
10203 	* libc/sys/linux/net/Makefile.in: Regenerate.
10204 	* libc/sys/linux/stdlib/Makefile.in: Regenerate.
10205 	* libc/sys/m88kbug/Makefile.in: Regenerate.
10206 	* libc/sys/mmixware/Makefile.in: Regenerate.
10207 	* libc/sys/netware/Makefile.in: Regenerate.
10208 	* libc/sys/rdos/Makefile.in: Regenerate.
10209 	* libc/sys/rtems/Makefile.in: Regenerate.
10210 	* libc/sys/sh/Makefile.in: Regenerate.
10211 	* libc/sys/sparc64/Makefile.in: Regenerate.
10212 	* libc/sys/sun4/Makefile.in: Regenerate.
10213 	* libc/sys/sysmec/Makefile.in: Regenerate.
10214 	* libc/sys/sysnec810/Makefile.in: Regenerate.
10215 	* libc/sys/sysnecv850/Makefile.in: Regenerate.
10216 	* libc/sys/sysvi386/Makefile.in: Regenerate.
10217 	* libc/sys/sysvnecv70/Makefile.in: Regenerate.
10218 	* libc/sys/tic80/Makefile.in: Regenerate.
10219 	* libc/sys/w65/Makefile.in: Regenerate.
10220 	* libc/sys/z8ksim/Makefile.in: Regenerate.
10221 	* libc/syscalls/Makefile.in: Regenerate.
10222 	* libc/time/Makefile.in: Regenerate.
10223 	* libc/unix/Makefile.in: Regenerate.
10224 	* libm/Makefile.in: Regenerate.
10225 	* libm/common/Makefile.in: Regenerate.
10226 	* libm/machine/Makefile.in: Regenerate.
10227 	* libm/machine/i386/Makefile.in: Regenerate.
10228 	* libm/machine/spu/Makefile.in: Regenerate.
10229 	* libm/math/Makefile.in: Regenerate.
10230 	* libm/mathfp/Makefile.in: Regenerate.
10231 
10232 	* configure: Regenerate.
10233 	* iconvdata/configure: Regenerate.
10234 	* libc/configure: Regenerate.
10235 	* libc/machine/configure: Regenerate.
10236 	* libc/machine/i386/configure: Regenerate.
10237 	* libc/sys/configure: Regenerate.
10238 	* libc/sys/linux/configure: Regenerate.
10239 	* libc/sys/linux/linuxthreads/configure: Regenerate.
10240 	* libc/sys/linux/linuxthreads/machine/configure: Regenerate.
10241 	* libc/sys/linux/linuxthreads/machine/i386/configure: Regenerate.
10242 	* libc/sys/linux/machine/configure: Regenerate.
10243 	* libc/sys/linux/machine/i386/configure: Regenerate.
10244 	* libm/configure: Regenerate.
10245 	* libm/machine/configure: Regenerate.
10246 	* libm/machine/i386/configure: Regenerate.
10247 
10248 2007-05-23  Eric Blake  <ebb9@byu.net>
10249 
10250 	* libc/stdio/vfprintf.c (_VFPRINTF_R): Don't truncate %p when
10251 	sizeof(void*) is 8 but sizeof(long) is 4.
10252 	* libc/stdio/vfscanf.c (__SVFSCANF_R): Likewise.  Fix %i scanning
10253 	of "-0x".  Support "-nan" and "inf" for %e.  Audit usage of ungetc
10254 	to fix reentrancy and bug on encoding error in multibyte locales.
10255 	Always return EOF on read error.
10256 
10257 2007-05-23 Patrick Mansfield <patmans@us.ibm.com>
10258 
10259 	* libc/machine/spu/sys/syscall.h: Update the __send_to_ppe
10260 	prototype.
10261 	* libc/machine/spu/fclose.c: Use the __send_to_ppe return value
10262 	instead of the slot 0 value, remove any now unused variables, and
10263 	for some cases, now store the result in an int vs int*.
10264 	* libc/machine/spu/feof.c: Ditto.
10265 	* libc/machine/spu/ferror.c: Ditto.
10266 	* libc/machine/spu/fflush.c: Ditto.
10267 	* libc/machine/spu/fgetc.c: Ditto.
10268 	* libc/machine/spu/fgetpos.c: Ditto.
10269 	* libc/machine/spu/fgets.c: Ditto.
10270 	* libc/machine/spu/fileno.c: Ditto.
10271 	* libc/machine/spu/fopen.c: Ditto.
10272 	* libc/machine/spu/fprintf.c: Ditto.
10273 	* libc/machine/spu/fputc.c: Ditto.
10274 	* libc/machine/spu/fputs.c: Ditto.
10275 	* libc/machine/spu/fread.c: Ditto.
10276 	* libc/machine/spu/freopen.c: Ditto.
10277 	* libc/machine/spu/fscanf.c: Ditto.
10278 	* libc/machine/spu/fseek.c: Ditto.
10279 	* libc/machine/spu/fsetpos.c: Ditto.
10280 	* libc/machine/spu/ftell.c: Ditto.
10281 	* libc/machine/spu/fwrite.c: Ditto.
10282 	* libc/machine/spu/getc.c: Ditto.
10283 	* libc/machine/spu/getchar.c: Ditto.
10284 	* libc/machine/spu/gets.c: Ditto.
10285 	* libc/machine/spu/printf.c: Ditto.
10286 	* libc/machine/spu/putc.c: Ditto.
10287 	* libc/machine/spu/putchar.c: Ditto.
10288 	* libc/machine/spu/puts.c: Ditto.
10289 	* libc/machine/spu/remove.c: Ditto.
10290 	* libc/machine/spu/rename.c: Ditto.
10291 	* libc/machine/spu/scanf.c: Ditto.
10292 	* libc/machine/spu/setvbuf.c: Ditto.
10293 	* libc/machine/spu/snprintf.c: Ditto.
10294 	* libc/machine/spu/sprintf.c: Ditto.
10295 	* libc/machine/spu/sscanf.c: Ditto.
10296 	* libc/machine/spu/tmpfile.c: Ditto.
10297 	* libc/machine/spu/tmpnam.c: Ditto.
10298 	* libc/machine/spu/ungetc.c: Ditto.
10299 	* libc/machine/spu/vfprintf.c: Ditto.
10300 	* libc/machine/spu/vfscanf.c: Ditto.
10301 	* libc/machine/spu/vprintf.c: Ditto.
10302 	* libc/machine/spu/vscanf.c: Ditto.
10303 	* libc/machine/spu/vsnprintf.c: Ditto.
10304 	* libc/machine/spu/vsprintf.c: Ditto.
10305 	* libc/machine/spu/vsscanf.c: Ditto.
10306 
10307 2007-05-23  Eric Blake  <ebb9@byu.net>
10308 
10309 	* libc/stdio/vfscanf.c (__SVFSCANF_R): Support scanf(%1$s).
10310 	Avoid warning when !FLOATING_POINT.
10311 	* libc/stdio/vfprintf.c (_VFPRINTF_R): Simplify _NO_POS_ARGS
10312 	slightly.
10313 
10314 2007-05-23  Corinna Vinschen  <vinschen@redhat.com>
10315 
10316 	* libc/argz/argz_create_sep.c (argz_create_sep): Initialize *argz_len
10317 	to zero.
10318 	* libc/include/argz.h: Guard against multiple inclusion.  Guard for
10319 	use with C++.
10320 
10321 2007-05-18  Eric Blake  <ebb9@byu.net>
10322 
10323 	* libc/stdio/vfprintf.c [_WANT_IO_LONG_LONG]: Allow non-gcc
10324 	compilers.
10325 	* libc/stdio/vfscanf.c: Likewise.
10326 
10327 2007-05-17  Cary R.  <cygcary <at> yahoo.com>
10328 
10329 	* libm/math/w_atan2.c: Fix atan2 to be consistent with glibc
10330 	(atan2(+0,-0), atan2(-0,-0) and atan(-0,+0))
10331 	* libm/math/wf_atan2.c: Ditto.
10332 
10333 2007-05-17  Yaakov Selkowitz  <yselkowitz <at> users.sourceforge.net>
10334 
10335 	* libm/common/Makefile.am: Add support for exp10, exp10f,
10336 	pow10, and pow10f functions.
10337 	* libm/common/Makefile.in: Regenerated.
10338 	* libm/common/s_pow10.c: New file.
10339 	* libm/common/sf_pow10.c: Ditto.
10340 	* libm/common/s_exp10.c: Ditto.
10341 	* libm/common/sf_exp10.c: Ditto.
10342 	* libc/include/math.h [!pow10]: New pow10 prototype.
10343 	[!pow10f]: New pow10f prototype.
10344 	[!exp10]: New exp10 prototype.
10345 	[!exp10f]: New exp10f prototype.
10346 
10347 2007-05-17  Charles Wilson  <cygwin@...>
10348 
10349 	* stdio/tmpfile.c: Include <sys/stat.h>.
10350 	* stdio64/tmpfile64.c: Ditto.
10351 
10352 2007-05-16  Eric Blake  <ebb9@byu.net>
10353 
10354 	Close security hole in tmpfile.
10355 	* libc/stdio/tmpfile.c (_tmpfile_r): Avoid window between filename
10356 	generation and opening the fd.
10357 	* libc/stdio64/tmpfile64.c (_tmpfile64_r): Likewise.
10358 
10359 	* libc/include/math.h (INFINITY, NAN, FP_ILOGB0, FP_ILOGBNAN)
10360 	(MATH_ERRNO, MATH_ERREXCEPT, math_errhandling): Add macros
10361 	required by POSIX.
10362 	* libc/stdlib/ldtoa.c (USE_INFINITY): Rename from INFINITY, to
10363 	avoid clash with <math.h>.
10364 
10365 	* libc/stdlib/wctomb_r.c (_wctomb_r): Avoid gcc warnings on cygwin.
10366 	* libc/search/hash.c (__hash_open): Likewise.
10367 
10368 2007-05-14 Eric Blake <ebb9@byu.net>
10369 
10370 	Reduce stack size of *printf.
10371 	* libc/stdio/vfprintf.c (_VFPRINTF_R): Fix use of decimal point
10372 	in %f.  Avoid malloc when possible for %S.
10373 	(BUF): Improve stack locality by using smaller size.
10374 	(MAXEXPLEN, _PRINTF_FLOAT_TYPE): Define.
10375 	(exponent): Use smaller stack size.
10376 
10377 2007-05-11  Eric Blake  <ebb9@byu.net>
10378 
10379 	Minimize printf/scanf size on platforms that don't need C99.
10380 	* acconfig.h (_WANT_IO_C99_FORMATS): New macro.
10381 	* newlib.hin (_WANT_IO_C99_FORMATS): Likewise.
10382 	* configure.in (newlib-io-c99-formats): New configure option.
10383 	(_WANT_IO_C99_FORMATS): Define appropriately.
10384 	* configure.host (*-linux*, cygwin): Default c99-formats to yes.
10385 	* libc/stdio/vfprintf.c (_VFPRINTF_R) [!_WANT_IO_C99_FORMATS]:
10386 	Cripple ' flag; hh, z, j, t sizes; a, A, F, C, S specifiers.
10387 	* libc/stdio/vfscanf.c (_VFSCANF_R) [!_WANT_IO_C99_FORMATS]:
10388 	Likewise.
10389 	* configure: Regenerate.
10390 
10391 	* libc/stdio/vfprintf.c (_VFPRINTF_R, cvt, exponent, chclass)
10392 	(get_arg): Support '%a' and '%A'.
10393 
10394 2007-05-09  Eric Blake  <ebb9@byu.net>
10395 
10396 	Allow zero size with non-null buf in *asnprintf.
10397 	* libc/stdio/asnprintf.c (_asnprintf_r, asnprintf): Avoid free'ing
10398 	user's buf.
10399 	* libc/stdio/asniprintf.c (_asniprintf_r, asniprintf): Likewise.
10400 	* libc/stdio/vasniprintf.c (_vasniprintf_r): Likewise.
10401 	* libc/stdio/vasnprintf.c (_vasnprintf_r): Likewise.
10402 
10403 2007-05-07  Charles Wilson  <cygwin@...>
10404 
10405 	* libc/stdio/vfprintf.c: Fix typo in comments that breaks docs.
10406 
10407 2007-05-03  Eric Blake  <ebb9@byu.net>
10408 
10409 	Add support for asnprintf, and improve *printf documentation.
10410 	* libc/stdio/Makefile.am (ELIX_SOURCES): Rename...
10411 	(ELIX_2_SOURCES): ...to this.
10412 	(ELIX_4_SOURCES): Add new variable.  Build asnprintf.
10413 	(GENERAL_SOURCES): Move dprintf to ELIX_4_SOURCES.
10414 	(CHEWOUT_FILES): Include diprintf in documentation.
10415 	* libc/stdio/Makefile.in: Regenerate.
10416 	* libc/stdio/diprintf.c: Improve documentation.
10417 	* libc/stdio/dprintf.c: Likewise.
10418 	* libc/stdio/siprintf.c: Likewise.
10419 	* libc/stdio/sprintf.c: Likewise.
10420 	* libc/stdio/vfprintf.c: Likewise.
10421 	* libc/stdio/viprintf.c: Likewise.
10422 	* libc/stdio/vsniprintf.c: Consolidate documentation.
10423 	* libc/stdio/asiprintf.c: Refer to documentation.
10424 	* libc/stdio/asprintf.c: Likewise.
10425 	* libc/stdio/fiprintf.c: Likewise.
10426 	* libc/stdio/fprintf.c: Likewise.
10427 	* libc/stdio/iprintf.c: Likewise.
10428 	* libc/stdio/printf.c: Likewise.
10429 	* libc/stdio/sniprintf.c: Likewise.
10430 	* libc/stdio/vdiprintf.c: Likewise.
10431 	* libc/stdio/vdprintf.c: Likewise.
10432 	* libc/stdio/vsiprintf.c: Likewise.
10433 	* libc/stdio/fvwrite.c (__sfvwrite_r): Handle asnprintf.
10434 	* libc/stdio/asniprintf.c (asniprintf, _asniprintf_r): New file.
10435 	* libc/stdio/asnprintf.c (asnprintf, _asnprintf_r): New file.
10436 	* libc/stdio/vasniprintf.c (vasniprintf, _vasniprintf_r): New
10437 	file.
10438 	* libc/stdio/vasnprintf.c (vasnprintf, _vasnprintf_r): New file.
10439 	* libc/stdio/vdprintf.c (_vdprintf_r): Rewrite to avoid malloc in
10440 	typical case.
10441 	* libc/stdio/vdiprintf.c (_vdiprintf_r): Likewise.
10442 	* libc/include/stdio.h: Add prototypes for new functions; sort
10443 	existing functions.
10444 
10445 2007-05-03  Kazu Hirata  <kazu@codesourcery.com>
10446 
10447 	* libc/machine/m68k/Makefile.am (lib_a_SOURCES): Add memcpy.S
10448 	and memset.S.
10449 	* libc/machine/m68k/Makefile.in: Regenerate.
10450 	* libc/machine/m68k/memcpy.S: Use sub.l followed by dbra.
10451 	* libc/machine/m68k/memset.S: Likewise.
10452 
10453 2007-05-01  Eric Blake  <ebb9@byu.net>
10454 
10455 	* libc/stdio64/local64.h: Delete, move contents to...
10456 	* libc/stdio/local.h: ...here.
10457 	* libc/stdio64/fdopen64.c: Update includes.
10458 	* libc/stdio64/fopen64.c: Likewise.
10459 	* libc/stdio64/freopen64.c: Likewise.
10460 	* libc/stdio64/fseeko64.c: Likewise.
10461 	* libc/stdio64/ftello64.c: Likewise.
10462 	* libc/stdio/findfp.c (std) [__LARGE64_FILES]: Open stdin, stdout,
10463 	and stderr with 64-bit offset.
10464 	* libc/stdio/fseek.c (_fseek_r): Avoid compile warning.
10465 	* libc/stdio/makebuf.c (__smakebuf_r): Likewise.
10466 	* libc/stdio/mktemp.c (_gettemp): Likewise.
10467 
10468 2007-05-01  Cary R.  <cygcary <at> yahoo.com>
10469 
10470 	* libm/math/e_pow.c: Fix to be consistent with glibc with regards
10471 	to treatment of NaN and +-inf arguments.
10472 	* libm/math/ef_pow.c: Ditto.
10473 	* libm/math/w_pow.c: Ditto.
10474 	* libm/math/wf_pow.c: Ditto.
10475 	* libm/math/w_acos.c: Fix domain errors to return NaN.
10476 	* libm/math/w_asin.c: Ditto.
10477 	* libm/math/wf_acos.c: Ditto.
10478 	* libm/math/wf_asin.c: Ditto.
10479 	* libm/math/w_log.c: Fix to return NaN for negative number inputs.
10480 	* libm/math/wf_log.c: Ditto.
10481 	* libm/math/wf_log10.c: Ditto.
10482 	* libm/math/w_log10.c: Ditto.
10483 
10484 2007-04-27  Jeff Johnston  <jjohnstn@redhat.com>
10485 
10486 	* libc/machine/m68k/Makefile.am: Temporarily remove
10487 	memcpy.S and memset.S until logic can be confirmed for
10488 	!(__mcoldfile__) case.
10489 	* libc/machine/m68k/Makefile.in: Regenerated.
10490 
10491 2007-04-27  Kazu Hirata  <kazu@codesourcery.com>
10492 
10493 	* libc/machine/m68k/Makefile.am (lib_a_SOURCES): Add memcpy.S
10494 	and memset.S.
10495 	* libc/machine/m68k/Makefile.in: Regenerate.
10496 	* libc/machine/m68k/memcpy.S, libc/machine/m68k/memset.S: New.
10497 
10498 2007-04-26  Patrick Mansfield <patmans@us.ibm.com>
10499 
10500 	* libc/include/ieeefp.h: use prefixed __ieeefp_ macros that can be
10501 	overridden via machine/ieeefp.h.
10502 	* libc/include/machine/ieeefp.h: Add SPU specific C99 and ieeefp
10503 	macros for isnan and related macros.
10504 	* libc/include/math.h: Allow C99 isfinite, isinf, and isnan to be
10505 	overridden via machine/ieeefp.h.
10506 	* libm/machine/spu/Makefile.am: Add new files.
10507 	* libm/machine/spu/Makefile.in: Autogenerate with new files.
10508 	* libm/machine/spu/sf_fpclassify.c: Add SPU specific __fpclassifyf.
10509 	* libm/machine/spu/sf_finite.c: Add SPU specific finitef.
10510 	* libm/machine/spu/sf_isinf.c: Add SPU specific isinff.
10511 	* libm/machine/spu/sf_isinff.c: Add SPU specific __isinff.
10512 	* libm/machine/spu/sf_isnan.c: Add SPU specific isnanf.
10513 	* libm/machine/spu/sf_isnanf.c: Add SPU specific __isnanf.
10514 	* libm/machine/spu/sf_nan.c: Add SPU specific nanf.
10515 
10516 2007-04-25  Jeff Johnston  <jjohnstn@redhat.com>
10517 
10518 	* libm/common/s_fpclassify.c (__fpclassifyf): Move this to...
10519 	* libm/common/sf_fpclassify.c: ...here.  New file.
10520 	* libm/common/Makefile.am: Add sf_fpclassify.c.
10521 	* libm/common/Makefile.in: Regenerated.
10522 
10523 2007-04-25  Patrick Mansfield <patmans@us.ibm.com>
10524 
10525 	* libc/machine/spu/sys/errno.h: New file, so spu errno values match
10526 	ppu linux values. This file is a copy of the cris/sys/errno.h plus
10527 	a few changes (see spu errno.h comments).
10528 
10529 2007-04-25  Eric Blake  <ebb9@byu.net>
10530 
10531 	* libc/stdio/vfprintf.c (get_arg): Support %1$lc.  Simplify types
10532 	that promote to int.
10533 
10534 2007-04-25  Patrick Mansfield <patmans@us.ibm.com>
10535 
10536 	* libm/machine/spu/headers/feholdexcept.h: Use *envp not env so
10537 	we clear the proper bits in the fpscr, and don't set some random ones.
10538 
10539 2007-04-24  Eric Blake  <ebb9@byu.net>
10540 
10541 	* libc/stdio/vfprintf.c (_VFPRINTF_R): Don't zero pad on infinity
10542 	or NaN with %05f.
10543 
10544 	* libc/stdio/vfprintf.c (_VFPRINTF_R): Avoid multibyte when not
10545 	_MB_CAPABLE.
10546 
10547 	* libc/include/limits.h (NL_ARGMAX): Define a default value.
10548 	* libc/stdio/vfprintf.c (MAX_POS_ARGS): Define in terms of
10549 	NL_ARGMAX, if present.
10550 
10551 2007-04-23  Brian Dessent  <brian@dessent.net>
10552 
10553 	* libc/stdio/vfprintf.c (_vfprintf_r): When the alternate-form flag
10554 	has been specified with types 'f', 'F', 'g', or 'G', ensure the
10555 	trailing decimal is printed.
10556 
10557 2007-04-23  Ralf Wildenhues  <Ralf.Wildenhues <at> gmx.de>
10558 
10559 	* confsubdir.m4 (AC_CONFIG_SUBDIRS, _AC_OUTPUT_SUBDIRS): New
10560 	file.  Override Autoconf-2.59's version of these macros with
10561 	fixed handling of multiple adjacent whitespace in arguments.
10562 	* aclocal.m4: Regenerated forcefully.
10563 	* configure: Ditto.
10564 	* Makefile.in: Ditto.
10565 	* libc/*Makefile.in: Ditto.
10566 	* libc/*aclocal.m4: Ditto.
10567 	* libc/*configure: Ditto.
10568 	* libm/*Makefile.in: Ditto.
10569 	* libm/*aclocal.m4: Ditto.
10570 	* libm/*configure: Ditto.
10571 
10572 2007-04-23  Jeff Johnston  <jjohnstn@redhat.com>
10573 
10574 	* libc/sys/arc/dummy.S: Dummy file to force .S.o suffix rule.
10575 	* libc/sys/arc/Makefile.am: Add dummy.S to EXTRA_lib_a_SOURCES
10576 	and set lib_a_CCASFLAGS so crto.o will use .S.o default suffix rule.
10577 	* libc/sys/arc/Makefile.in: Regenerated.
10578 
10579 2007-04-17  Brian Dessent  <brian@dessent.net>
10580 
10581 	* libc/stdio/sscanf.c: Update documentation comments.
10582 	* libc/stdio/vfscanf.c (__SVFSCANF_R): Handle j, t, and z modifiers.
10583 
10584 2007-04-12  Eric Blake  <ebb9@byu.net>
10585 
10586 	* libc/stdio/vfprintf.c (_VFPRINTF_F, cvt): Don't confuse %F with %e.
10587 	(chclass): Recognize 'F', 'X', 'n', and not 'W'.
10588 	(get_arg): Handle %1$F, %1$n.
10589 
10590 2007-04-10  Eric Blake  <ebb9@byu.net>
10591 
10592 	* libc/include/stdio.h (_ELIDABLE_INLINE): Work even when using
10593 	CFLAGS=-O0.
10594 
10595 2007-04-09  Eric Blake  <ebb9@byu.net>
10596 
10597 	* libc/include/stdio.h: Add gcc format attributes to printf and
10598 	scanf families.
10599 
10600 2007-04-09  Joel Schopp <jschopp@austin.ibm.com>
10601 
10602 	* libc/machine/spu/strxfrm.c: Fix strxfrm so we still copy data
10603 	even if the passed in length n is shorter than the source string.
10604 	This matches both the non-spu specific and the glibc strxfrm
10605 	behaviour.
10606 
10607 2007-04-04  Mark Mitchell  <mark@codesourcery.com>
10608 
10609 	* libc/stdlib/__call_atexit.c (__call_exitprocs): Handle atexit
10610 	functions registering additional atexit functions.
10611 
10612 	* testsuite/lib/flags.exp (newlib_include_flags): Drop
10613 	-I${newlib_dir}.
10614 
10615 2007-04-04  Patrick Mansfield <patmans@us.ibm.com>
10616 
10617 	* libc/machine/spu/sys/syscall.h: New file for __send_to_ppe
10618 	prototype.
10619 	* libc/machine/spu/c99ppe.h: Remove static version of send_to_ppe.
10620 	* libc/machine/spu/clearerr.c: Call __send_to_ppe vs send_to_ppe.
10621 	* libc/machine/spu/fclose.c: Ditto.
10622 	* libc/machine/spu/feof.c: Ditto.
10623 	* libc/machine/spu/ferror.c: Ditto.
10624 	* libc/machine/spu/fflush.c: Ditto.
10625 	* libc/machine/spu/fgetc.c: Ditto.
10626 	* libc/machine/spu/fgetpos.c: Ditto.
10627 	* libc/machine/spu/fgets.c: Ditto.
10628 	* libc/machine/spu/fileno.c: Ditto.
10629 	* libc/machine/spu/fopen.c: Ditto.
10630 	* libc/machine/spu/fprintf.c: Ditto.
10631 	* libc/machine/spu/fputc.c: Ditto.
10632 	* libc/machine/spu/fputs.c: Ditto.
10633 	* libc/machine/spu/fread.c: Ditto.
10634 	* libc/machine/spu/freopen.c: Ditto.
10635 	* libc/machine/spu/fscanf.c: Ditto.
10636 	* libc/machine/spu/fseek.c: Ditto.
10637 	* libc/machine/spu/fsetpos.c: Ditto.
10638 	* libc/machine/spu/ftell.c: Ditto.
10639 	* libc/machine/spu/fwrite.c: Ditto.
10640 	* libc/machine/spu/getc.c: Ditto.
10641 	* libc/machine/spu/getchar.c: Ditto.
10642 	* libc/machine/spu/gets.c: Ditto.
10643 	* libc/machine/spu/perror.c: Ditto.
10644 	* libc/machine/spu/printf.c: Ditto.
10645 	* libc/machine/spu/putc.c: Ditto.
10646 	* libc/machine/spu/putchar.c: Ditto.
10647 	* libc/machine/spu/puts.c: Ditto.
10648 	* libc/machine/spu/remove.c: Ditto.
10649 	* libc/machine/spu/rename.c: Ditto.
10650 	* libc/machine/spu/rewind.c: Ditto.
10651 	* libc/machine/spu/scanf.c: Ditto.
10652 	* libc/machine/spu/setbuf.c: Ditto.
10653 	* libc/machine/spu/setvbuf.c: Ditto.
10654 	* libc/machine/spu/snprintf.c: Ditto.
10655 	* libc/machine/spu/sprintf.c: Ditto.
10656 	* libc/machine/spu/sscanf.c: Ditto.
10657 	* libc/machine/spu/tmpfile.c: Ditto.
10658 	* libc/machine/spu/tmpnam.c: Ditto.
10659 	* libc/machine/spu/ungetc.c: Ditto.
10660 	* libc/machine/spu/vfprintf.c: Ditto.
10661 	* libc/machine/spu/vfscanf.c: Ditto.
10662 	* libc/machine/spu/vprintf.c: Ditto.
10663 	* libc/machine/spu/vscanf.c: Ditto.
10664 	* libc/machine/spu/vsnprintf.c: Ditto.
10665 	* libc/machine/spu/vsprintf.c: Ditto.
10666 	* libc/machine/spu/vsscanf.c: Ditto.
10667 
10668 2007-04-04  Jeff Johnston  <jjohnstn@redhat.com>
10669 
10670 	* libc/argz/argz_insert.c: Add stddef.h to get ptrdiff_t type.
10671 
10672 2007-04-04  Eric Blake  <ebb9@byu.net>
10673 
10674 	* libc/stdio/asiprintf.c (_asiprintf_r): Fix reentrancy.
10675 	(asiprintf): Avoid overhead.
10676 	* libc/stdio/asprintf.c (_asprintf_r): Fix reentrancy.
10677 	(asprintf): Avoid overhead.
10678 	* libc/stdio/diprintf.c (_diprintf_r, diprintf): New file.
10679 	* libc/stdio/dprintf.c (_dprintf_r, dprintf): Use _DEFUN.
10680 	* libc/stdio/fiprintf.c (_fiprintf_r): Add reentrant version.
10681 	(fiprintf): Avoid overhead.
10682 	* libc/stdio/fprintf.c (_fprintf_r): Add reentrant version.
10683 	(fprintf): Avoid overhead.
10684 	* libc/stdio/iprintf.c (_iprintf_r): Use _DEFUN.
10685 	(iprintf): Avoid overhead.
10686 	* libc/stdio/printf.c (_printf_r): Use _DEFUN.
10687 	(printf): Avoid overhead.
10688 	* libc/stdio/vasiprintf.c (vasiprintf): Reduce binary size.
10689 	* libc/stdio/vasprintf.c (vasprintf): Reduce binary size.
10690 	* libc/stdio/vdiprintf.c (_vdiprintf_r, vdiprintf): New file.
10691 	* libc/stdio/vdprintf.c (vdprintf): Avoid overhead.
10692 	* libc/stdio/vsiprintf.c (vsiprintf): Reduce binary size.
10693 	* libc/stdio/vsniprintf.c (vsniprintf): Reduce binary size.
10694 	* libc/stdio/vsnprintf.c (vsnprintf): Reduce binary size.
10695 	* libc/stdio/vsprintf.c (vsprintf): Reduce binary size.
10696 	* libc/stdio/Makefile.am (GENERAL_SOURCES): Add diprintf.c,
10697 	vdiprintf.c.
10698 	* libc/include/stdio.h (diprintf, _diprintf_r, vdiprintf)
10699 	(_vdiprintf_r, _fiprintf_r, _vfiprintf_r): Add prototypes.
10700 
10701 2007-03-30  Dave Korn  <dave.korn@artimi.com>
10702 
10703 	* libc/include/stdio.h (_ELIDABLE_INLINE):  New macro to conceal
10704 	conflicting inline semantics between C99 and GNU89.
10705 	(__sgetc_r):  Replace static inline with _ELIDABLE_INLINE to be
10706 	compatible with -fkeep-inline-functions usage.
10707 	(__sputc_r):  Likewise for consistency even though disabled.
10708 
10709 2007-03-29  Nick Clifton  <nickc@redhat.com>
10710 
10711 	Reflect changes made to generic vfprintf.c:
10712 	* libc/machine/powerpc/vfprintf.c (__sprint): Rename to __sprint_r
10713 	and add a "struct reent *" argument.
10714 	(__sbprintf): Rename to __sbprintf_r, add a "struct reent *"
10715 	argument and call _VFPRINTF_R instead of VFPRINTF.
10716 	(_VFPRINTF_R): Add data pointer to call to cantwrite().
10717 	Fix uses of __sprint() and __sbprintf.
10718 
10719 2007-03-20  Nick Clifton  <nickc@redhat.com>
10720 
10721 	Reflect changes made to generic vfprintf.c:
10722 	* libc/machine/powerpc/vfprintf.c (__sprint): Rename to __sprint_r
10723 	and add a "struct reent *" argument.
10724 	(__sbprintf): Rename to __sbprintf_r, add a "struct reent *"
10725 	argument and call _VFPRINTF_R instead of VFPRINTF.
10726 	(_VFPRINTF_R): Add data pointer to call to cantwrite().
10727 	Fix uses of __sprint() and __sbprintf.
10728 
10729 2007-03-16  Charles Wilson  <cygwin@...>
10730 
10731 	* libc/argz/argz_insert.c: "before" pointer is
10732 	invalid after *argz realloc.  Compute offset
10733 	between "before" and *argz, and use it after
10734 	reallocation instead.
10735 
10736 2007-03-16  Eric Blake  <ebb9@byu.net>
10737 
10738 	* libc/stdio64/fseek064.c (_fseeko64_r): Fix reentrancy.
10739 	* libc/stdio64/freopen64.c (_freopen64_r): Ditto.
10740 
10741 2007-03-15  Jeff Johnston  <jjohnstn@redhat.com>
10742 
10743 	* configure.in: Add new --enable-newlib-reent-small option.
10744 	* configure: Regenerated.
10745 	* acconfig.h: Add _WANT_REENT_SMALL.
10746 	* newlib.hin: Regenerated minus PACKAGE macros to add
10747 	_WANT_REENT_SMALL macro.
10748 	* libc/include/sys/config.h[_WANT_REENT_SMALL]: Set _REENT_SMALL
10749 	if not already set.
10750 	* libc/stdio/fflush.c[_REENT_SMALL]: Return immediately if
10751 	there is no buffer.
10752 	* libc/stdio/local.h[_REENT_SMALL]: Fix CHECK_INIT macro to
10753 	use reentrant pointer passed in when resetting the file
10754 	pointer to one of the std streams.
10755 
10756 2007-03-15  Eric Blake  <ebb9@byu.net>
10757 
10758 	* libc/stdio/local.h (cantwrite, FREEUB, FREELB): Make reentrant.
10759 	(__smakebuf): Rename...
10760 	(__smakebuf_r): to this.
10761 	* libc/stdio/fvwrite.h (__swsetup_r): Rename, from __swsetup.
10762 	* libc/stdio/makebuf.c (__smakebuf): Detect failed asprint
10763 	allocation, then rename...
10764 	(__smakebuf_r): ...to this and fix reentrancy.
10765 	* libc/stdio/wsetup.c (__swsetup): Detect failed asprintf
10766 	allocation, then rename...
10767 	(__swsetup_r): ...to this and fix reentrancy.
10768 	* libc/stdio/fseek.c (_fseek_r): Fix reentrancy.
10769 	* libc/stdio/refill.c (__srefill_r): Likewise.
10770 	* libc/stdio/fclose.c (_fclose_r): Likewise.
10771 	* libc/stdio/fread.c (_fread_r): Likewise.
10772 	* libc/stdio/freopen.c (_freopen_r): Likewise.
10773 	* libc/stdio/wbuf.c (__swbuf_r): Likewise.
10774 	* libc/stdio64/fseeko64.c (_fseeko64_r): Likewise.
10775 	* libc/stdio/fvwrite.c (__sfvwrite_r): Set errno properly on
10776 	failed asprintf allocation, and fix reentrancy.
10777 	* libc/stdio/snprintf.c (snprintf, _snprintf_r): Report overflow,
10778 	as required by POSIX.
10779 	* libc/stdio/sniprintf.c (sniprintf, _sniprintf_r): Likewise.
10780 	* libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Likewise.
10781 	* libc/stdio/vsniprintf.c (vsniprintf, _vsniprintf_r): Likewise.
10782 
10783 2007-03-12  Eric Blake  <ebb9@byu.net>
10784 
10785 	* libc/stdio/fvwrite.c (__sfvwrite_r): Fix reentrancy.
10786 	* libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Pass failed
10787 	allocation to caller.
10788 	* libc/stdio/asprintf.c (_asprintf_r, asprintf): Likewise.
10789 	* libc/stdio/asiprintf.c (_asiprintf_r, asiprintf): Likewise.
10790 	* libc/stdio/vasiprintf.c (vasiprintf, _vasiprintf_r): Likewise.
10791 
10792 2007-02-23  Jeff Johnston  <jjohnstn@redhat.com>
10793 
10794 	* libm/math/w_pow.c: Fix typo in documentation comment.
10795 
10796 2007-02-21  Patrick Mansfield <patmans@us.ibm.com>
10797 
10798 	* libc/reent/timer.c: Removed (split into two new files).
10799 	* libc/reent/timesr.c: New file for _times_r.
10800 	* libc/reent/gettimeofdayr.c: New file out _gettimeofday_r.
10801 	* reent/Makefile.in: Remove timer.c, add timesr.c and
10802 	gettimeofdayr.c.
10803 	* libc/reent/Makefile.am: Regenerate.
10804 
10805 2007-02-20  Patrick Mansfield <patmans@us.ibm.com>
10806 
10807 	* configure.host: Build SPU with default_newlib_atexit_dynamic_alloc="no".
10808 
10809 2007-02-20  Kazunori Asayama <asayama@sm.sony.co.jp>
10810 
10811 	* libc/machine/spu/Makefile.am: Add new objects.
10812 	* libc/machine/spu/Makefile.in: Regenerated.
10813 	* libc/machine/spu/fiprintf.c: New file. Add implementation of
10814 	integer-only version.
10815 	* libc/machine/spu/fiscanf.c: Ditto.
10816 	* libc/machine/spu/iprintf.c: Ditto.
10817 	* libc/machine/spu/iscanf.c: Ditto.
10818 	* libc/machine/spu/siprintf.c: Ditto.
10819 	* libc/machine/spu/siscanf.c: Ditto.
10820 	* libc/machine/spu/sniprintf.c: Ditto.
10821 	* libc/machine/spu/vfiprintf.c: Ditto.
10822 	* libc/machine/spu/vfiscanf.c: Ditto.
10823 	* libc/machine/spu/viprintf.c: Ditto.
10824 	* libc/machine/spu/viscanf.c: Ditto.
10825 	* libc/machine/spu/vsiprintf.c: Ditto.
10826 	* libc/machine/spu/vsiscanf.c: Ditto.
10827 	* libc/machine/spu/vsniprintf.c: Ditto.
10828 	* libc/machine/spu/fprintf.c: Add support for integer-only
10829 	version.
10830 	* libc/machine/spu/fscanf.c: Ditto.
10831 	* libc/machine/spu/printf.c: Ditto.
10832 	* libc/machine/spu/scanf.c: Ditto.
10833 	* libc/machine/spu/snprintf.c: Ditto.
10834 	* libc/machine/spu/sprintf.c: Ditto.
10835 	* libc/machine/spu/sscanf.c: Ditto.
10836 	* libc/machine/spu/vfprintf.c: Ditto.
10837 	* libc/machine/spu/vfscanf.c: Ditto.
10838 	* libc/machine/spu/vprintf.c: Ditto.
10839 	* libc/machine/spu/vscanf.c: Ditto.
10840 	* libc/machine/spu/vsnprintf.c: Ditto.
10841 	* libc/machine/spu/vsprintf.c: Ditto.
10842 	* libc/machine/spu/vsscanf.c: Ditto.
10843 
10844 2007-02-20  Kazunori Asayama <asayama@sm.sony.co.jp>
10845 
10846 	* libc/include/stdio.h: Add declaration for vsiprintf.
10847 
10848 2007-02-14  Patrick Mansfield <patmans@us.ibm.com>
10849 
10850 	Add a floating point environment for SPU (cell):
10851 
10852 	* configure.host: add libm_machine_dir=spu.
10853 	* libm/machine/configure: Add spu.
10854 	* libm/machine/configure.in: regenerated with spu added.
10855 	* libc/machine/spu/include/fenv.h: New file.
10856 	* libc/machine/spu/sys/fenv.h: Ditto.
10857 	* libm/machine/spu/Makefile.am: Ditto.
10858 	* libm/machine/spu/Makefile.in: Ditto.
10859 	* libm/machine/spu/aclocal.m4: Ditto.
10860 	* libm/machine/spu/configure: Ditto.
10861 	* libm/machine/spu/configure.in: Ditto.
10862 	* libm/machine/spu/fe_dfl_env.c: Ditto.
10863 	* libm/machine/spu/feclearexcept.c: Ditto.
10864 	* libm/machine/spu/fegetenv.c: Ditto.
10865 	* libm/machine/spu/fegetexceptflag.c: Ditto.
10866 	* libm/machine/spu/fegetround.c: Ditto.
10867 	* libm/machine/spu/feholdexcept.c: Ditto.
10868 	* libm/machine/spu/feraiseexcept.c: Ditto.
10869 	* libm/machine/spu/fesetenv.c: Ditto.
10870 	* libm/machine/spu/fesetexceptflag.c: Ditto.
10871 	* libm/machine/spu/fesetround.c: Ditto.
10872 	* libm/machine/spu/fetestexcept.c: Ditto.
10873 	* libm/machine/spu/feupdateenv.c: Ditto.
10874 	* libm/machine/spu/headers/feclearexcept.h: Ditto.
10875 	* libm/machine/spu/headers/fefpscr.h: Ditto.
10876 	* libm/machine/spu/headers/fegetenv.h: Ditto.
10877 	* libm/machine/spu/headers/fegetexceptflag.h: Ditto.
10878 	* libm/machine/spu/headers/fegetround.h: Ditto.
10879 	* libm/machine/spu/headers/feholdexcept.h: Ditto.
10880 	* libm/machine/spu/headers/feraiseexcept.h: Ditto.
10881 	* libm/machine/spu/headers/fesetenv.h: Ditto.
10882 	* libm/machine/spu/headers/fesetexceptflag.h: Ditto.
10883 	* libm/machine/spu/headers/fesetround.h: Ditto.
10884 	* libm/machine/spu/headers/fetestexcept.h: Ditto.
10885 	* libm/machine/spu/headers/feupdateenv.h: Ditto.
10886 
10887 2007-02-14  Corinna Vinschen  <corinna@vinschen.de>
10888 
10889 	* libc/include/sys/features.h: Add _POSIX_MESSAGE_PASSING for
10890 	Cygwin.
10891 
10892 2007-02-08  Corinna Vinschen  <corinna@vinschen.de>
10893 
10894 	* libc/include/sys/features.h: Add _POSIX_SHARED_MEMORY_OBJECTS for
10895 	Cygwin.  Fix value of _POSIX_SEMAPHORES.  Fix formatting.
10896 
10897 2007-02-07  Corinna Vinschen  <corinna@vinschen.de>
10898 
10899 	* libc/include/sys/features.h: Add definition of all supported
10900 	_POSIX_xxx values for Cygwin.
10901 	* libc/include/sys/types.h (pthread_rwlock_t): Omit definition
10902 	on Cygwin.
10903 	(pthread_rwlockattr_t): Ditto.
10904 	* libc/include/sys/unistd.h: Define all _SC_xxx values as
10905 	required by SUSv3.  Unify formatting.
10906 
10907 2007-02-02  Ralf Cors├ępius <ralf.corsepius@rtems.org>
10908 
10909 	* libc/include/sys/errno.h: Add ECANCELED.
10910 
10911 2007-02-01  Joel Schopp <jschopp@austin.ibm.com>
10912 	    Kazunori Asayama <asayama@sm.sony.co.jp>
10913 
10914 	* libc/machine/spu/Makefile.am: Add objects.
10915 	* libc/machine/spu/Makefile.in: Regenerated.
10916 	* libc/machine/spu/vsscanf.c: New file. Add a stdio function
10917 	implementation.
10918 	* libc/machine/spu/snprintf.c: Ditto.
10919 	* libc/machine/spu/sprintf.c: Ditto.
10920 	* libc/machine/spu/sscanf.c: Ditto.
10921 	* libc/machine/spu/remove.c: Ditto.
10922 	* libc/machine/spu/rename.c: Ditto.
10923 	* libc/machine/spu/tmpnam.c: Ditto.
10924 	* libc/machine/spu/vsnprintf.c: Add initialization routine of
10925 	stdio stuffs.
10926 	* libc/machine/spu/vsprintf.c: Ditto.
10927 
10928 2007-02-01  Joel Schopp <jschopp@austin.ibm.com>
10929 	    Kazunori Asayama <asayama@sm.sony.co.jp>
10930 
10931 	* configure.host: Enable SPU specific stdio directory.
10932 	* libc/machine/spu/Makefile.am: Add objects.
10933 	* libc/machine/spu/Makefile.in: Regenerated.
10934 	* libc/machine/spu/c99ppe.h: Add macros and function
10935 	declarations to initialize SPU specific stdio stuffs.
10936 	* libc/machine/spu/stdio.c: Add functions to manage Cell SPU
10937 	specific FILE structures.
10938 	* libc/machine/spu/perror.c: Add initialization routine of
10939 	stdio stuffs.
10940 	* libc/machine/spu/printf.c: Ditto.
10941 	* libc/machine/spu/putchar.c: Ditto.
10942 	* libc/machine/spu/puts.c: Ditto.
10943 	* libc/machine/spu/vprintf.c: Ditto.
10944 	* libc/machine/spu/clearerr.c: New file. Add a stdio function
10945 	implementation.
10946 	* libc/machine/spu/feof.c: Ditto.
10947 	* libc/machine/spu/ferror.c: Ditto.
10948 	* libc/machine/spu/fileno.c: Ditto.
10949 	* libc/machine/spu/fopen.c: Ditto.
10950 	* libc/machine/spu/fclose.c: Ditto.
10951 	* libc/machine/spu/freopen.c: Ditto.
10952 	* libc/machine/spu/fflush.c: Ditto.
10953 	* libc/machine/spu/fseek.c: Ditto.
10954 	* libc/machine/spu/ftell.c: Ditto.
10955 	* libc/machine/spu/rewind.c: Ditto.
10956 	* libc/machine/spu/fgetpos.c: Ditto.
10957 	* libc/machine/spu/fsetpos.c: Ditto.
10958 	* libc/machine/spu/fread.c: Ditto.
10959 	* libc/machine/spu/fwrite.c: Ditto.
10960 	* libc/machine/spu/getc.c: Ditto.
10961 	* libc/machine/spu/getchar.c: Ditto.
10962 	* libc/machine/spu/gets.c: Ditto.
10963 	* libc/machine/spu/fgetc.c: Ditto.
10964 	* libc/machine/spu/fgets.c: Ditto.
10965 	* libc/machine/spu/ungetc.c: Ditto.
10966 	* libc/machine/spu/putc.c: Ditto.
10967 	* libc/machine/spu/fputc.c: Ditto.
10968 	* libc/machine/spu/fputs.c: Ditto.
10969 	* libc/machine/spu/vfprintf.c: Ditto.
10970 	* libc/machine/spu/vfscanf.c: Ditto.
10971 	* libc/machine/spu/fprintf.c: Ditto.
10972 	* libc/machine/spu/fscanf.c: Ditto.
10973 	* libc/machine/spu/scanf.c: Ditto.
10974 	* libc/machine/spu/vscanf.c: Ditto.
10975 	* libc/machine/spu/setbuf.c: Ditto.
10976 	* libc/machine/spu/setvbuf.c: Ditto.
10977 	* libc/machine/spu/tmpfile.c: Ditto.
10978 
10979 2007-02-01  Jeff Johnston  <jjohnstn@redhat.com>
10980 
10981 	* libc/include/sys/config.h[__SPU__]: Define __CUSTOM_FILE_IO__.
10982 	* libc/include/stdio.h[!__CUSTOM_FILE_IO__]: Add flag check
10983 	around stdio macros that manipulate fields in the normal file
10984 	structure.
10985 	* libc/include/sys/reent.h[__CUSTOM_FILE_IO__]: Include
10986 	<sys/custom_file.h> to define custom FILE structure.
10987 	* libc/include/sys/custom_file.h: New default header file
10988 	that generates error if not overridden when __CUSTOM_FILE_IO__ set.
10989 	* libc/machine/spu/sys/custom_file.h: New file.
10990 
10991 2007-01-31  Kazunori Asayama <asayama@sm.sony.co.jp>
10992 
10993 	* configure.host: Define stdio directory as a variable.
10994 	* libc/Makefile.am: Define stdio related names
10995 	as macros.
10996 	* libc/configure.in: Add detection routine of stdio directory.
10997 	* libc/Makefile.in: Regenerated.
10998 	* libc/configure: Ditto.
10999 	* libc/argz/Makefile.in: Ditto.
11000 	* libc/ctype/Makefile.in: Ditto.
11001 	* libc/errno/Makefile.in: Ditto.
11002 	* libc/iconv/Makefile.in: Ditto.
11003 	* libc/iconv/ccs/Makefile.in: Ditto.
11004 	* libc/iconv/ccs/binary/Makefile.in: Ditto.
11005 	* libc/iconv/ces/Makefile.in: Ditto.
11006 	* libc/iconv/lib/Makefile.in: Ditto.
11007 	* libc/locale/Makefile.in: Ditto.
11008 	* libc/misc/Makefile.in: Ditto.
11009 	* libc/posix/Makefile.in: Ditto.
11010 	* libc/reent/Makefile.in: Ditto.
11011 	* libc/search/Makefile.in: Ditto.
11012 	* libc/signal/Makefile.in: Ditto.
11013 	* libc/stdio/Makefile.in: Ditto.
11014 	* libc/stdio64/Makefile.in: Ditto.
11015 	* libc/stdlib/Makefile.in: Ditto.
11016 	* libc/string/Makefile.in: Ditto.
11017 	* libc/syscalls/Makefile.in: Ditto.
11018 	* libc/time/Makefile.in: Ditto.
11019 	* libc/unix/Makefile.in: Ditto.
11020 
11021 2007-01-30  Ben Elliston  <bje@au.ibm.com>
11022 
11023 	* libc/machine/spu/vsnprintf.c (c99_vsnprintf_t): Const-qualify
11024 	fmt member.
11025 	* libc/machine/spu/printf.c (c99_printf_t): Likewise.
11026 	(printf): Pass fmt to va_start to suppress a warning.
11027 
11028 	* libc/search/hash.c (init_hash): Make `info' parameter const.
11029 
11030 2007-01-19  Kazunori Asayama <asayama@sm.sony.co.jp>
11031 
11032 	* libc/machine/spu/c99ppe.h: Replace vector with __vector.
11033 	* libc/machine/spu/vec_literal.h: Ditto.
11034 	* libc/machine/spu/strncmp.c: Ditto.
11035 
11036 2007-01-15  Joseph Myers  <joseph@codesourcery.com>
11037 	    Kazu Hirata  <kazu@codesourcery.com>
11038 
11039 	* libc/machine/powerpc/setjmp.S (setjmp, longjmp): Add support
11040 	for E500V1 and E500V2.
11041 
11042 2007-01-11  Jeff Johnston  <jjohnstn@redhat.com>
11043 
11044 	* libm/configure.in: Always configure machine directory.
11045 	* libm/Makefile.am: Make machine subdirectory part of SUBDIRS
11046 	unconditionally.
11047 	* libm/configure: Regenerated.
11048 	* libm/Makefile.in: Ditto.
11049 	* libm/*/Makefile.in: Ditto.
11050 
11051 2007-01-05  Brian Ford  <Brian.Ford@FlightSafety.com>
11052 
11053 	* configure.host (*-*-cygwin*): Define HAVE_BLKSIZE.
11054 
11055 2007-01-02  Ben Elliston  <bje@au.ibm.com>
11056 
11057 	* doc/makedoc.c: Include <stdlib.h>.
11058 	(malloc, realloc): Remove extern declarations.
11059 
11060 2006-12-18  Jeff Johnston  <jjohnstn@redhat.com>
11061 
11062 	* NEWS: Update with 1.15.0 info.
11063 	* README: Ditto.
11064 	* acinclude.m4: Change version number to 1.15.0.
11065 	* aclocal.m4: Regenerated.
11066 	* configure: Ditto.
11067 	* doc/aclocal.m4: Ditto.
11068 	* doc/configure: Ditto.
11069 	* libc/*/aclocal.m4: Ditto.
11070 	* libc/*/configure: Ditto.
11071 	* libc/libc.texinfo: Ditto.
11072 	* libm/*/aclocal.m4: Ditto.
11073 	* libm/*/configure: Ditto.
11074 	* libm/libm.texinfo: Ditto.
11075 	* libc/sys/linux/shared.ld: Add VERS_1.15.
11076 
11077 2006-12-18  Kazu Hirata  <kazu@codesourcery.com>
11078 
11079 	Merge from newlib-csl-20060320-branch:
11080 	2006-12-01  Nathan Sidwell  <nathan@codesourcery.com>
11081 		    Kazu Hirata  <kazu@codesourcery.com>
11082 
11083 	* configure.host: Recognize fido.
11084 
11085 2006-12-18  Joel Schopp <jschopp@austin.ibm.com>
11086 
11087 	* libc/machine/spu/c99ppe.h: New file
11088 	* libc/machine/spu/perror.c: New file to override libc/stdio version.
11089 	* libc/machine/spu/printf.c: New file
11090 	* libc/machine/spu/putchar.c: New file
11091 	* libc/machine/spu/puts.c: New file
11092 	* libc/machine/spu/vprintf.c: New file
11093 	* libc/machine/spu/vsnprintf.c: New file
11094 	* libc/machine/spu/vsprintf.c: New file
11095 	* libc/machine/spu/Makefile.am: Add new targets.
11096 	* libc/machine/spu/Makefile.in: Regenerated.
11097 
11098 2006-12-18  Jeff Johnston  <jjohnstn@redhat.com>
11099 
11100 	* aclocal.m4 */aclocal.m4: Regenerated using aclocal 1.9.6.
11101 	* Makefile.in */Makefile.in: Regenerated using automake 1.9.6.
11102 
11103 2006-12-18  Jeff Johnston  <jjohnstn@redhat.com>
11104 
11105 	* libc/stdlib/mallocr.c (malloc_extend_top): Add patch from
11106 	2.6.5 version of Doug Lea's malloc which is the basis of
11107 	this code.
11108 
11109 2006-12-18  Kazunori Asayama <asayama@sm.sony.co.jp>
11110 
11111 	* libc/include/machine/setjmp.h[__SPU__]: Replace vector with __vector.
11112 
11113 2006-12-14  Jeff Johnston  <jjohnstn@redhat.com>
11114 	    Eric Blake  <ebb9@byu.net>
11115 
11116 	* libc/stdio/fflush.c (fflush): On seekable streams, always flush
11117 	read but unused data.
11118 	* libc/stdio/fclose.c (_fclose_r): Always flush streams, since
11119 	even read streams may have side effects that must happen.
11120 
11121 2006-12-13  Joel Schopp <jschopp@austin.ibm.com>
11122 
11123 	* libc/machine/spu/setjmp.S: Fix to handle registers past 115
11124 	correctly.
11125 
11126 2006-12-13  Joel Schopp <jschopp@austin.ibm.com>
11127 
11128 	* libc/include/alloca.h: Add undef alloca to work with xlc.
11129 
11130 2006-12-12  Joel Schopp <jschopp@austin.ibm.com>
11131 
11132 	* libc/include/machine/setjmp.h[__SPU__]: Redefine _JBTYPE for
11133 	cell spu.
11134 
11135 2006-12-04  Kazunori Asayama  <asayama@sm.sony.co.jp>
11136 
11137 	* libc/machine/spu/strncpy.c: Add padding.
11138 
11139 2006-12-04  Kazunori Asayama  <asayama@sm.sony.co.jp>
11140 
11141 	* testsuite/newlib.string/tstring.c:
11142 
11143 2006-12-01  Kazunori Asayama  <asayama@sm.sony.co.jp>
11144 
11145 	* libc/machine/spu/strchr.c: Fix mask for misaligned string.
11146 	* libc/machine/spu/strrchr.c: Ditto.
11147 
11148 2006-11-30  Lev Bishop  <lev.bishop@gmail.com>
11149 
11150 	* libc/include/math.h: Allow C99 functions/macros to be
11151 	defined for C++ even when __STRICT_ANSI__.
11152 
11153 2006-11-29  Jeff Johnston  <jjohnstn@redhat.com>
11154 
11155 	* libc/stdio/makebuf.c (__smakebuf): If dealing with
11156 	an asprintf-family buffer, make the default initial size 64.
11157 
11158 2006-11-29  Eric Blake  <ebb9@byu.net>
11159 
11160 	* libc/stdio/fvwrite.c (__sfvwrite_r): Avoid off-by-one error in
11161 	asprintf, as well as quadratic realloc behavior.
11162 
11163 2006-11-29  Kazunori Asayama  <asayama@sm.sony.co.jpi
11164 
11165 	* libc/machine/spu/memset.c: Fix type of explicit cast.
11166 	* libc/machine/spu/strncmp.c: Add explicit cast.
11167 	* libc/machine/spu/strrchr.c: Ditto.
11168 	* libc/machine/spu/strspn.c: Ditto.
11169 
11170 2006-11-22  Luca Barbato  <lu_zero@gentoo.org>
11171 
11172 	* libc/machine/spu/memcpy.c: Use spu_splats, explicit cast.
11173 	* libc/machine/spu/memmove.c: Use spu_splats, explicit cast.
11174 	* libc/machine/spu/memset.c: Use spu_splats, remove apple-cast.
11175 	* libc/machine/spu/strchr.c: Use spu_splats, remove apple-cast.
11176 	* libc/machine/spu/strncat.c: Explicit cast.
11177 	* libc/machine/spu/strncmp.c: Use spu_splats.
11178 	* libc/machine/spu/strncpy.c: Explicit cast.
11179 	* libc/machine/spu/strrchr.c: Use spu_splats.
11180 	* libc/machine/spu/strspn.c: Use spu_splats.
11181 
11182 2006-11-15  Till Straumann  <strauman@slac.stanford.edu>
11183 
11184 	* libc/time/tzset_r.c (_tzset_r): Initialize local variable.
11185 
11186 2006-11-14  Eric Blake  <ebb9@byu.net>
11187 
11188 	* libc/stdio/vfprintf.c (_vfprintf_r): Support ' flag.
11189 	(chclass): ' is a flag.  j, t, and z are modifiers.
11190 
11191 2006-11-08  Jie Zhang  <jie.zhang@analog.com>
11192 
11193 	* configure.host: Add support for bfin.
11194 	* libc/include/machine/ieeefp.h: Define __IEEE_LITTLE_ENDIAN for bfin.
11195 	* libc/include/machine/setjmp.h: Define _JBLEN for bfin.
11196 	* libc/machine/bfin/aclocal.m4: Generate.
11197 	* libc/machine/bfin/configure.in: New.
11198 	* libc/machine/bfin/configure: Generate.
11199 	* libc/machine/bfin/Makefile.am: New.
11200 	* libc/machine/bfin/Makefile.in: Generate.
11201 	* libc/machine/bfin/setjmp.S: New.
11202 	* libc/machine/bfin/longjmp.S: New.
11203 	* libc/machine/configure.in: Add bfin support.
11204 	* libc/machine/configure: Generate.
11205 
11206 2006-11-07  Corinna Vinschen  <corinna@vinschen.de>
11207 
11208 	* libc/include/sys/unistd.h (_SC_STREAM_MAX): Define on Cygwin.
11209 	(_PC_FILESIZEBITS): Add definition.
11210 	(_PC_2_SYMLINKS): Ditto.
11211 	(_PC_SYMLINK_MAX): Ditto.
11212 
11213 2006-10-27  Joel Schopp  <jschopp@austin.ibm.com>
11214 
11215 	* libc/machine/spu/memcpy.c: Override generic function with vectorized
11216 	version optimized for the cell spu.
11217 	* libc/machine/spu/memmove.c: Ditto.
11218 	* libc/machine/spu/memset.c: Ditto.
11219 	* libc/machine/spu/strcat.c: Ditto.
11220 	* libc/machine/spu/strchr.c: Ditto.
11221 	* libc/machine/spu/strcmp.c: Ditto.
11222 	* libc/machine/spu/strcpy.c: Ditto.
11223 	* libc/machine/spu/strcspn.c: Ditto.
11224 	* libc/machine/spu/strlen.c: Ditto.
11225 	* libc/machine/spu/strncat.c: Ditto.
11226 	* libc/machine/spu/strncmp.c: Ditto.
11227 	* libc/machine/spu/strncpy.c: Ditto.
11228 	* libc/machine/spu/strpbrk.c: Ditto.
11229 	* libc/machine/spu/strrchr.c: Ditto.
11230 	* libc/machine/spu/strspn.c: Ditto.
11231 	* libc/machine/spu/strxfrm.c: Ditto.
11232 	* libc/machine/spu/vec_literal.h: Add abstraction of vector literals,
11233 	removing altivec style initializers.
11234 	* libc/machine/spu/Makefile.am: Add new files to list so they build
11235 	* libc/machine/spu/Makefile.in: Regenerate from new Makefile.am
11236 
11237 2006-10-27  Jeff Johnston  <jjohnstn@redhat.com>
11238 
11239 	* README: Add a brief section on how to regenerate
11240 	configuration files in newlib.
11241 
11242 2006-10-25  Vladimir Prus  <vladimir@codesourcery.com>
11243 
11244 	* libc/include/math.h: (exception): Add a comment
11245 	telling fixincludes that we handle C vs. C++ issue.
11246 
11247 2006-10-11  Yang Tse  <yangsita@gmail.com>
11248 
11249 	* libc/include/machine/setjmp.h: Use __extension__ keyword for gcc's
11250 	braced-groups.
11251 
11252 2006-10-11  Corinna Vinschen  <corinna@vinschen.de>
11253 
11254 	* libc/reent/reeent.c (_reclaim_reent): Free _REENT_MP_RESULT.
11255 
11256 2006-09-26  Jeff Johnston  <jjohnstn@redhat.com>
11257 
11258 	* libc/include/stdio.h[_REENT_SMALL]: Do not allow macros
11259 	for clearerr, feof, or fileno.
11260 	* libc/include/sys/reent.h[_REENT_SMALL](struct _reent): Change
11261 	the dummy std stream scheme to use pointers to const external
11262 	fake files, one for each standard stream.
11263 	* libc/stdio/local.h (CHECK_INIT): Change to take a file pointer
11264 	argument.  For _REENT_SMALL, reset the file pointer if it
11265 	matches one of the fake std stream pointers.
11266 	* libc/stdio/clearerr.c: Fix CHECK_INIT macro to add file pointer
11267 	argument.
11268 	* libc/stdio/fclose.c: Ditto.
11269 	* libc/stdio/feof.c: Ditto.
11270 	* libc/stdio/ferror.c: Ditto.
11271 	* libc/stdio/fflush.c: Ditto.
11272 	* libc/stdio/fgetc.c: Ditto.
11273 	* libc/stdio/fgets.c: Ditto.
11274 	* libc/stdio/fileno.c: Ditto.
11275 	* libc/stdio/findfp.c: Ditto.
11276 	* libc/stdio/fputc.c: Ditto.
11277 	* libc/stdio/fputs.c: Ditto.
11278 	* libc/stdio/fread.c: Ditto.
11279 	* libc/stdio/freopen.c: Ditto.
11280 	* libc/stdio/fseek.c: Ditto.
11281 	* libc/stdio/ftell.c: Ditto.
11282 	* libc/stdio/fwrite.c: Ditto.
11283 	* libc/stdio/getc.c: Ditto.
11284 	* libc/stdio/getdelim.c: Ditto.
11285 	* libc/stdio/putc.c: Ditto.
11286 	* libc/stdio/refill.c: Ditto.
11287 	* libc/stdio/setvbuf.c: Ditto.
11288 	* libc/stdio/ungetc.c: Ditto.
11289 	* libc/stdio/vfprintf.c: Ditto.
11290 	* libc/stdio/vfscanf.c: Ditto.
11291 	* libc/stdio/wbuf.c: Ditto.: Ditto.
11292 	* libc/stdio/wsetup.c: Ditto.
11293 	* libc/stdio64/freopen64.c: Ditto.
11294 	* libc/stdio64/fseeko64.c: Ditto.
11295 	* libc/stdio64/ftello64.c: Ditto.
11296 	* libc/machine/powerpc/vfprintf.c: Ditto.
11297 	* libc/machine/powerpc/vfscanf.c: Ditto.
11298 
11299 2006-09-22  Paul Brook  <paul@codesourcery.com>
11300 
11301 	* libc/include/sys/reent.h: Define and use __reent_assert.
11302 
11303 2006-09-13  Joel Sherrill <joel@oarcorp.com>
11304 
11305 	* libc/include/pthread.h: Add pthread barriers,
11306 	rwlocks, and spinlocks.  Change const to
11307 	_CONST and prefix parameter names with
11308 	an underscore.
11309 	* libc/include/sys/types.h: Add id and attribute
11310 	types for barriers, wrlocks, and spinlocks.
11311 	* libc/include/sys/features.h: Enable barriers,
11312 	wrlocks, and spinlocks for RTEMS.
11313 
11314 2006-09-13  Patrick Mansfield <patmans@us.ibm.com>
11315 
11316 	* libc/include/math.h: Remove _CONST from _LIB_VERSION, as it is
11317 	supposed to be writable.
11318 	* libm/common/s_lib_ver.c: Ditto.
11319 
11320 2006-09-12  Paul Brook  <paul@codesourcery.com>
11321 
11322 	* libc/stdlib/rand.c (srand): Add _REENT_CHECK_RAND48.
11323 
11324 2006-09-07  Masaki Muranaka  <monaka@monami-software.com>
11325 
11326 
11327 	* libc/machine/xstormy16/Makefile.am:
11328 	Add $(lpfx) prefix to LIBADD objects.
11329 	lib_a_DEPENDENCIES uses the value of lib_a_LIBADD.
11330 	* libc/machine/xstormy16/Makefile.in: Regenerated.
11331 
11332 2006-09-06  Eric Blake  <ebb9@byu.net>
11333 
11334 	* libc/stdio/vfprintf.c (_vfprintf_r, get_arg): Add 'hh', 'j',
11335 	't', and 'z' modifiers.
11336 
11337 2006-09-01  Kazu Hirata  <kazu@codesourcery.com>
11338 
11339 	Merge from newlib-csl-20060320-branch:
11340 	2006-05-22  Sandra Loosemore <sandra@codesourcery.com>
11341 
11342 	* configure.host: Tell it we have _rename and _system when
11343 	building m68k-unknown-elf.
11344 
11345 2006-08-29  Paul Brook  <paul@codesourcery.com>
11346 
11347 	* libc/include/sys/config.h: Define _REENT_SMALL for Thumb-2.
11348 
11349 2006-08-27  Joel Sherrill <joel.sherrill@OARcorp.com>
11350 
11351 	* libc/sys/rtems/machine/sys/param.h: Conditionalize definition of
11352 	BLKDEV_IOSIZE and MAXPHYS so it will fit into small memory targets.
11353 	This is needed to build all AVR and H8300 RTEMS multilib variants.
11354 
11355 2006-08-23  Kazunori Asayama  <asayama@sm.sony.co.jp>
11356 
11357 	* libc/machine/configure.in: Add configuration for SPU.
11358 	* libc/machine/configure: Regenerated.
11359 	* libc/machine/spu/memcpy.c: Include string.h.
11360 
11361 2006-08-22  Eric Blake  <ebb9@byu.net>
11362 
11363 	* libc/posix/popen.c (popen): Don't close output end of pipe in
11364 	child if stdout was closed on entry.
11365 	[HAVE_FCNTL]: In parent, mark file as close-on-exec, per POSIX.
11366 
11367 2006-08-19  Ramana Radhakrishnan  <ramana.r@gmail.com>
11368 
11369 	* sys/types.h: Correct syntax error caused by missing '\' on #ifdef
11370 	line.
11371 
11372 2006-08-17  Brian Ford  <Brian.Ford@FlightSafety.com>
11373 
11374 	* libc/time/gmtime.c: Correct man page; clock is not a
11375 	local time and no conversion occurs.
11376 
11377 2006-08-16  Joel Schopp  <jschopp@austin.ibm.com>
11378 
11379 	* configure.host (newlib_cflags) [spu]: Add special compiler
11380 	options to reduce size.
11381 
11382 2006-08-16  Joel Schopp  <jschopp@austin.ibm.com>
11383 
11384 	* configure.host: Add spu support.
11385 	* libc/include/stdint.h: Ditto.
11386 	* libc/include/machine/ieeefp.h: Ditto.
11387 	* libc/include/machine/setjmp.h: Ditto.
11388 	* libc/include/sys/config.h: Ditto.
11389 	* libc/include/sys/types.h: Ditto.
11390 	* libc/machine/spu/Makefile.am: New file.
11391 	* libc/machine/spu/Makefile.in: Ditto.
11392 	* libc/machine/spu/aclocal.m4: Ditto.
11393 	* libc/machine/spu/configure: Ditto.
11394 	* libc/machine/spu/configure.in: Ditto.
11395 	* libc/machine/spu/memcpy.c: Ditto.
11396 	* libc/machine/spu/setjmp.S: Ditto.
11397 
11398 2006-08-03  J"orn Rennecke  <joern.rennecke@st.com>
11399 
11400 	* dtoa.c (dtoa_r): Handle the denormalized _DOUBLE_IS_32BITS case
11401 	properly.
11402 
11403 2006-08-01  Jeff Johnston  <jjohnstn@redhat.com>
11404 
11405 	* libc/Makefile.am: Add libc_TEXINFOS dependency on
11406 	generated .texi files.
11407 	* libm/Makefile.am: Add libm_TEXINFOS dependency on
11408 	generated .texi files.
11409 	* libc/Makefile.in: Regenerated.
11410 	* libm/Makefile.in: Ditto.
11411 
11412 2006-08-01  Thiemo Seufer  <ths@mips.com>
11413 	    Nigel Stephens  <nigel@mips.com>
11414 
11415 	* libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): For MIPS
11416 	define this to force _impure_ptr to live in the .sdata section.
11417 
11418 2006-07-31  Jeff Johnston  <jjohnstn@redhat.com>
11419 
11420 	* acinclude.m4: Check for readelf tool.
11421 	* configure.in: Use ${READELF} instead of hard-coding.
11422 	* Regenerate all aclocal.m4, Makefile.in, and configure files.
11423 
11424 2006-07-31  Jeff Johnston  <jjohnstn@redhat.com>
11425 
11426 	* libc/sys/linux/mmap.c: Remove include of sys/mman.h
11427 	to avoid conflict with newer glibc's revision of mremap.
11428 
11429 2006-07-05  Jeff Johnston  <jjohnstn@redhat.com>
11430 
11431 	* libc/stdlib/mprec.h [_DOUBLE_IS_32BITS]: Turn off C99 hex
11432 	floating-point format support.  Also redefine
11433 	dword0 and dword1 macros.
11434 	* libc/stdlib/strtod.c: Add checks for _DOUBLE_IS_32BITS
11435 	to prevent setting dword1 which is an rvalue only.
11436 
11437 2006-06-22  Jeff Johnston  <jjohnstn@redhat.com>
11438 
11439 	* libc/stdlib/Makefile.am: Add new gdtoa routines.
11440 	* libc/stdlib/Makefile.in: Regenerated.
11441 	* libc/stdlib/gd_qnan.h: New file.
11442 	* libc/stdlib/gdtoa-gethex.c: Ditto.
11443 	* libc/stdlib/gdtoa-hexnan.c: Ditto.
11444 	* libc/stdlib/gdtoa.h: Ditto.
11445 	* libc/stdlib/mprec.c: Add new helper routines needed by
11446 	the new gdtoa code.
11447 	* libc/stdlib/mprec.h: Integrate some defines and prototypes
11448 	used by gdtoa routines here.
11449 	* libc/stdlib/strtod.c: Rebased on David M. Gay's gdtoa-strtod.c
11450 	which adds C99 support such as nan, inf, and hexadecimal input
11451 	format.
11452 
11453 2006-06-15  Corinna Vinschen  <corinna@vinschen.de>
11454 
11455 	* libc/include/stdio.h (__sgetc_r): Fix typo.
11456 	* libc/stdio/fread.c (_fread_r): Convert crlf calls to crlf_r.
11457 	* libc/stdio/rget.c (__srbuf): Reinstantiate.
11458 	* libc/stdio/wbuf.c (__swbuf): Ditto.
11459 
11460 2006-06-14  Jeff Johnston  <jjohnstn@redhat.com>
11461 
11462 	* libc/include/stdio.h: Add new reentrant I/O prototypes for
11463 	read/write functions.  Change getc/putc macros to have reentrant underlying
11464 	macros/functions.  This includes __sgetc_raw_r, __sgetc_r, and __sputc_r.
11465 	* libc/stdio/fgetc.c: Fix and/or add reentrant version to call
11466 	new reentrant I/O functions/macros for reading/writing.
11467 	* libc/stdio/fgets.c: Ditto.
11468 	* libc/stdio/fputc.c: Ditto.
11469 	* libc/stdio/fputs.c: Ditto.
11470 	* libc/stdio/fread.c: Ditto.
11471 	* libc/stdio/fseek.c: Ditto.
11472 	* libc/stdio64/fseeko64.c: Ditto.
11473 	* libc/stdio/fwrite.c: Ditto.
11474 	* libc/stdio/getc.c: Ditto.
11475 	* libc/stdio/getc_u.c: Ditto.
11476 	* libc/stdio/getchar.c: Ditto.
11477 	* libc/stdio/getchar_u.c: Ditto.
11478 	* libc/stdio/putc.c: Ditto.
11479 	* libc/stdio/putc_u.c: Ditto.
11480 	* libc/stdio/putchar.c: Ditto.
11481 	* libc/stdio/puts.c: Ditto.
11482 	* libc/stdio/vfprintf.c: Ditto.
11483 	* libc/stdio/vfscanf.c: Ditto.
11484 	* libc/stdio/fvwrite.c: Change __sfvwrite into reentrant __sfvwrite_r.
11485 	Change all previous callers of __sfvwrite.  Set errno to EBADF and
11486 	set error flag on if attempt is made to write to file that does not
11487 	allow writing.
11488 	* libc/stdio/fvwrite.h: Fix new reentrant prototypes.
11489 	* libc/stdio/local.h: Ditto.
11490 	* libc/stdio/refill.c: Turn __srefill into reentrant __srefill_r.
11491 	Set errno to EBADF and the error flag on if attempt is made to
11492 	read unreadable file.  Change all previous callers of __srefill.
11493 	* libc/stdio/rget.c
11494 	* libc/stdio/wbuf.c: Turn __swbuf into reentrant __swbuf_r.  Change
11495 	all previous callers of __swbuf.
11496 	* libc/sys/linux/machine/i386/huge_val.h: Ifdef out file contents since
11497 	huge value macros are already defined correctly for i386 by <math.h>.
11498 
11499 2006-06-13  Sandra Loosemore <sandra@codesourcery.com>
11500 
11501 	* /libc/sys/arm/syscalls.c (_unlink, isatty, _system, _rename):
11502 	Make them do something useful in the ARM_RDI_MONITOR case.
11503 
11504 2006-06-07  Fred Fish  <fnf@specifix.com>
11505 
11506 	* libc/search/hash_bigkey.c (MIN,MAX): Remove
11507 	defines that are already supplied by <sys/param.h>.
11508 
11509 2006-06-07  Fred Fish  <fnf@specifix.com>
11510 
11511 	* configure.host: Remove references to HAVE_GETTIMEOFDAY.
11512 
11513 2006-06-05  Shaun Jackman  <sjackman@gmail.com>
11514 
11515 	* libc/posix/Makefile.am (GENERAL_SOURCES): Add sleep.c and
11516 	usleep.c.
11517 	* libc/posix/Makefile.in: Regenerate.
11518 	* libc/posix/sleep.c: New file.
11519 	* libc/posix/usleep.c: Ditto.
11520 
11521 2006-06-05  Shaun Jackman  <sjackman@gmail.com>
11522 
11523 	* configure.host (newlib_cflags) [arm, thumb, xscale]:  Remove
11524 	-DABORT_PROVIDED flag.
11525 	* newlib/libc/sys/arm/syscalls.c (kill, exit): Sync with libgloss.
11526 	* newlib/libc/sys/arm/libcfunc.c (abort): Ditto.
11527 
11528 2006-06-05  Jeff Johnston  <jjohnstn@redhat.com>
11529 
11530 	* Makefile.am (AM_MAKEFLAGS): Pass CCASFLAGS.
11531 	* Makefile.in: Regenerated.
11532 	* libc/machine/sh/Makefile.am (AM_CCASFLAGS): Remove
11533 	extraneous CFLAGS reference now that CCASFLAGS are being extended
11534 	properly via multilib.
11535 	* libc/machine/sh/Makefile.in: Regenerated.
11536 
11537 2006-06-02  Shaun Jackman  <sjackman@gmail.com>
11538 
11539 	* libc/unix/sigset.c: Undefine sigfillset, sigdelset, and
11540 	sigismember.
11541 
11542 2006-05-23  Jeff Johnston  <jjohnstn@redhat.com>
11543 
11544 	* libc/misc/dprintf.c: Removed.
11545 	* libc/misc/__dprintf.c: Renamed from dprintf.c.
11546 	* libc/misc/Makefile.am: Changed appropriately for rename.
11547 	* libc/misc/Makefile.in: Regenerated.
11548 
11549 2006-05-23  Jeff Johnston  <jjohnstn@redhat.com>
11550 
11551 	* libc/include/stdio.h: Protect dprintf prototype
11552 	with #ifndef dprintf so as to not interfere with
11553 	historical code defining their own dprintf macro.
11554 
11555 2006-05-18  Jeff Johnston  <jjohnstn@redhat.com>
11556 
11557 	* libc/include/stdio.h: Add prototypes for fiscanf,
11558 	iscanf, and siscanf.
11559 
11560 2006-05-11  J"orn Rennecke <joern.rennecke@st.com>
11561 
11562 	* acinclude.m4 (_NEWLIB_VERSION): Rename to:
11563 	(DEF_NEWLIB_VERSION).
11564 	* configure.in (_NEWLIB_VERSION): Use NEWLIB_VERSION.
11565 	* configure: Regenerate.
11566 
11567 2006-05-09  Jeff Johnston  <jjohnstn@redhat.com>
11568 
11569 	* libc/ctype/Makefile.am: Add $(ELIX_SOURCES) to
11570 	lib_a_SOURCES.
11571 	* libc/ctype/Makefile.in: Regenerated.
11572 
11573 2006-05-09  Kazu Hirata  <kazu@codesourcery.com>
11574 
11575 	* libc/machine/arm/Makefile.am: Fix a typo.
11576 	* libc/machine/arm/Makefile.in: Regenerated.
11577 
11578 2006-05-08  J"orn Rennecke <joern.rennecke@st.com>
11579 
11580 	* libc/machine/sh/Makefile.am (AM_CCASFLAGS): Add $(CFLAGS).
11581 	* libc/machine/sh/Makefile.in: Regenerate.
11582 
11583 2006-05-03  J"orn Rennecke <joern.rennecke@st.com>
11584 
11585 	* libc/sys/sh/Makefile.am (AM_CCASFLAGS): Add $(CFLAGS).
11586 	* libc/sys/sh/Makefile.in (AM_CCASFLAGS): Likewise.
11587 
11588 2006-05-02  Jeff Johnston  <jjohnstn@redhat.com>
11589 
11590 	* libc/sys/sysnec810/Makefile.am: Specify .S files instead of
11591 	.s.
11592 	* libc/sys/sysnec810/Makefile.in: Regenerated.
11593 	* libc/sys/sysnec810/crt0.S: Renamed from .s file.
11594 	* libc/sys/sysnec810/io.S: Ditto.
11595 	* libc/sys/sysnec810/crt0.s: Renamed to .S file.
11596 	* libc/sys/sysnec810/io.s: Ditto.
11597 
11598 2006-05-01  Jeff Johnston  <jjohnstn@redhat.com>
11599 
11600 	* libc/argz/Makefile.am: Prefix any objects specified with $(lpfx).  If source file can
11601 	be specified instead of object, do so.
11602 	* libc/ctype/Makefile.am: Ditto.
11603 	* libc/iconv/ccs/Makefile.am: Ditto.
11604 	* libc/iconv/ces/Makefile.am: Ditto.
11605 	* libc/iconv/lib/Makefile.am: Ditto.
11606 	* libc/locale/Makefile.am: Ditto.
11607 	* libc/posix/Makefile.am: Ditto.
11608 	* libc/reent/Makefile.am: Ditto.
11609 	* libc/search/Makefile.am: Ditto.
11610 	* libc/stdio/Makefile.am: Ditto.
11611 	* libc/stdio64/Makefile.am: Ditto.
11612 	* libc/stdlib/Makefile.am: Ditto.
11613 	* libc/string/Makefile.am: Ditto.
11614 	* libc/syscalls/Makefile.am: Ditto.
11615 	* libc/unix/Makefile.am: Ditto.
11616 	* libc/machine/a29k/Makefile.am: Specify lib_a_CCASFLAGS so .S files will get
11617 	prefix added automatically.  Any specified rules must use $(lpfx) for
11618 	object file names.
11619 	* libc/machine/arm/Makefile.am: Ditto.
11620 	* libc/machine/cris/Makefile.am: Ditto.
11621 	* libc/machine/crx/Makefile.am: Ditto.
11622 	* libc/machine/d10v/Makefile.am: Ditto.
11623 	* libc/machine/d30v/Makefile.am: Ditto.
11624 	* libc/machine/fr30/Makefile.am: Ditto.
11625 	* libc/machine/frv/Makefile.am: Ditto.
11626 	* libc/machine/h8300/Makefile.am: Ditto.
11627 	* libc/machine/h8500/Makefile.am: Ditto.
11628 	* libc/machine/hppa/Makefile.am: Ditto.
11629 	* libc/machine/i386/Makefile.am: Ditto.
11630 	* libc/machine/i960/Makefile.am: Ditto.
11631 	* libc/machine/iq2000/Makefile.am: Ditto.
11632 	* libc/machine/m32c/Makefile.am: Ditto.
11633 	* libc/machine/m32r/Makefile.am: Ditto.
11634 	* libc/machine/m68hc11/Makefile.am: Ditto.
11635 	* libc/machine/m68k/Makefile.am: Ditto.
11636 	* libc/machine/m88k/Makefile.am: Ditto.
11637 	* libc/machine/mips/Makefile.am: Ditto.
11638 	* libc/machine/mn10200/Makefile.am: Ditto.
11639 	* libc/machine/mn10300/Makefile.am: Ditto.
11640 	* libc/machine/mt/Makefile.am: Ditto.
11641 	* libc/machine/necv70/Makefile.am: Ditto.
11642 	* libc/machine/powerpc/Makefile.am: Ditto.
11643 	* libc/machine/sh/Makefile.am: Ditto.
11644 	* libc/machine/sh/Makefile.in: Ditto.
11645 	* libc/machine/sparc/Makefile.am: Ditto.
11646 	* libc/machine/tic4x/Makefile.am: Ditto.
11647 	* libc/machine/tic80/Makefile.am: Ditto.
11648 	* libc/machine/v850/Makefile.am: Ditto.
11649 	* libc/machine/w65/Makefile.am: Ditto.
11650 	* libc/machine/xscale/Makefile.am: Ditto.
11651 	* libc/machine/xstormy16/Makefile.am: Ditto.
11652 	* libc/machine/z8k/Makefile.am: Ditto.
11653 	* libc/sys/a29khif/Makefile.am: Ditto.
11654 	* libc/sys/arm/Makefile.am: Ditto.
11655 	* libc/sys/d10v/Makefile.am: Ditto.
11656 	* libc/sys/h8300hms/Makefile.am: Ditto.
11657 	* libc/sys/h8500hms/Makefile.am: Ditto.
11658 	* libc/sys/linux/Makefile.am: Ditto.
11659 	* libc/sys/linux/linuxthreads/Makefile.am: Ditto.
11660 	* libc/sys/linux/net/Makefile.am: Ditto.
11661 	* libc/sys/linux/stdlib/Makefile.am: Ditto.
11662 	* libc/sys/m88kbug/Makefile.am: Ditto.
11663 	* libc/sys/mmixware/Makefile.am: Ditto.
11664 	* libc/sys/rdos/Makefile.am: Ditto.
11665 	* libc/sys/rtems/Makefile.am: Ditto.
11666 	* libc/sys/sh/Makefile.am: Ditto.
11667 	* libc/sys/sun4/Makefile.am: Ditto.
11668 	* libc/sys/sysmec/Makefile.am: Ditto.
11669 	* libc/sys/sysnec810/Makefile.am: Ditto.
11670 	* libc/sys/sysnecv850/Makefile.am: Ditto.
11671 	* libc/sys/sysvi386/Makefile.am: Ditto.
11672 	* libc/sys/sysvnecv70/Makefile.am: Ditto.
11673 	* libc/sys/tic80/Makefile.am: Ditto.
11674 	* libc/sys/w65/Makefile.am: Ditto.
11675 	* libc/sys/z8ksim/Makefile.am: Ditto.
11676 	* libc/machine/necv70/fastmath.S: Renamed from .s file.
11677 	* libc/machine/necv70/setjmp.S: Ditto.
11678 	* libc/machine/necv70/fastmath.s: Removed.
11679 	* libc/machine/necv70/setjmp.s: Ditto.
11680 	* libc/machine/w65/*.S: New files renamed from .s files.
11681 	* libc/machine/w65/*.s: Renamed and removed.
11682 	* libc/sys/a29khif/*.S: New files renamed from .s files.
11683 	* libc/sys/a29khif/*.s: Renamed and removed.
11684 	* libc/sys/sysvi386/*.S: New files renamed from .s files.
11685 	* libc/sys/sysvi386/*.s: Renamed and removed.
11686 	* libc/sys/sysvnecv70/*.S: New files renamed from .s files.
11687 	* libc/sys/sysvnecv70/*.s: Renamed and removed.
11688 	* libc/*Makefile.in: Regenerated as appropriate.
11689 
11690 2006-04-24  DJ Delorie  <dj@redhat.com>
11691 
11692 	* libc/machine/sh/configure.in: Avoid link tests.
11693 	* libc/machine/sh/configure: Regenerate.
11694 
11695 2006-04-18  Jeff Johnston  <jjohnstn@redhat.com>
11696 
11697 	* libc/include/sys/signal.h (sigdelset, sigfillset, sigismember): New macros.
11698 	(sigaddset, sigemptyset): Add return code.
11699 
11700 2006-04-13  Ralf Corsepius  <ralf.corsepius@rtems.org>
11701 
11702 	* acinclude.m4: New _NEWLIB_VERSION.
11703 	* acinclude.m4(NEWLIB_CONFIGURE): AC_REQUIRE(_NEWLIB_VERSION).
11704 	Use AC_CANONICAL_HOST instead of AC_CANONICAL_SYSTEM.
11705 	Use new form of AC_INIT_AUTOMAKE.
11706 	* configure.in: AC_PREREQ(2.59).
11707 	Use autoconf-2.5.x version of AC_INIT.
11708 	Use AC_CONFIG_FILES and autoconf-2.5x AC_OUTPUT instead of
11709 	autoconf-2.13's AC_OUTPUT.
11710 	* libm/configure.in: Ditto.
11711 	* libm/machine/configure.in: Ditto.
11712 	* libm/machine/i386/configure.in: Ditto.
11713 	* libc/configure.in: Ditto.
11714 	* libc/machine/a29k/configure.in: Ditto.
11715 	* libc/machine/arm/configure.in: Ditto.
11716 	* libc/machine/configure.in: Ditto.
11717 	* libc/machine/mn10300/configure.in: Ditto.
11718 	* libc/machine/powerpc/configure.in: Ditto.
11719 	* libc/machine/z8k/configure.in: Ditto.
11720 	* libc/machine/h8300/configure.in: Ditto.
11721 	* libc/machine/mips/configure.in: Ditto.
11722 	* libc/machine/crx/configure.in: Ditto.
11723 	* libc/machine/m68hc11/configure.in: Ditto.
11724 	* libc/machine/h8500/configure.in: Ditto.
11725 	* libc/machine/xscale/configure.in: Ditto.
11726 	* libc/machine/d10v/configure.in: Ditto.
11727 	* libc/machine/fr30/configure.in: Ditto.
11728 	* libc/machine/sh/configure.in: Ditto.
11729 	* libc/machine/tic80/configure.in: Ditto.
11730 	* libc/machine/m32r/configure.in: Ditto.
11731 	* libc/machine/xstormy16/configure.in: Ditto.
11732 	* libc/machine/i386/configure.in: Ditto.
11733 	* libc/machine/d30v/configure.in: Ditto.
11734 	* libc/machine/mn10200/configure.in: Ditto.
11735 	* libc/machine/frv/configure.in: Ditto.
11736 	* libc/machine/mt/configure.in: Ditto.
11737 	* libc/machine/i960/configure.in: Ditto.
11738 	* libc/machine/v850/configure.in: Ditto.
11739 	* libc/machine/necv70/configure.in: Ditto.
11740 	* libc/machine/tic4x/configure.in: Ditto.
11741 	* libc/machine/cris/configure.in: Ditto.
11742 	* libc/machine/m68k/configure.in: Ditto.
11743 	* libc/machine/m32c/configure.in: Ditto.
11744 	* libc/machine/hppa/configure.in: Ditto.
11745 	* libc/machine/w65/configure.in: Ditto.
11746 	* libc/machine/iq2000/configure.in: Ditto.
11747 	* libc/machine/sparc/configure.in: Ditto.
11748 	* libc/machine/m88k/configure.in: Ditto.
11749 	* libc/sys/linux/configure.in: Ditto.
11750 	* libc/sys/linux/machine/configure.in: Ditto.
11751 	* libc/sys/linux/machine/i386/configure.in: Ditto.
11752 	* libc/sys/linux/linuxthreads/configure.in: Ditto.
11753 	* libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
11754 	* libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
11755 	* libc/sys/arm/configure.in: Ditto.
11756 	* libc/sys/configure.in: Ditto.
11757 	* libc/sys/decstation/configure.in: Ditto.
11758 	* libc/sys/a29khif/configure.in: Ditto.
11759 	* libc/sys/sysnecv850/configure.in: Ditto.
11760 	* libc/sys/d10v/configure.in: Ditto.
11761 	* libc/sys/netware/configure.in: Ditto.
11762 	* libc/sys/mmixware/configure.in: Ditto.
11763 	* libc/sys/h8500hms/configure.in: Ditto.
11764 	* libc/sys/sh/configure.in: Ditto.
11765 	* libc/sys/tic80/configure.in: Ditto.
11766 	* libc/sys/rdos/configure.in: Ditto.
11767 	* libc/sys/sysmec/configure.in: Ditto.
11768 	* libc/sys/sysvi386/configure.in: Ditto.
11769 	* libc/sys/h8300hms/configure.in: Ditto.
11770 	* libc/sys/sparc64/configure.in: Ditto.
11771 	* libc/sys/arc/configure.in: Ditto.
11772 	* libc/sys/sysnec810/configure.in: Ditto.
11773 	* libc/sys/m88kbug/configure.in: Ditto.
11774 	* libc/sys/sysvnecv70/configure.in: Ditto.
11775 	* libc/sys/z8ksim/configure.in: Ditto.
11776 	* libc/sys/rtems/configure.in: Ditto.
11777 	* libc/sys/w65/configure.in: Ditto.
11778 	* libc/sys/sun4/configure.in: Ditto.
11779 	* doc/configure.in: Ditto.
11780 	* iconvdata/configure.in: Ditto.
11781 	* configure.in: Use AC_CONFIG_HEADER instead of AM_CONFIG_HEADER.
11782 
11783 2006-04-11  Jeff Johnston  <jjohnstn@redhat.com>
11784 
11785 	* acinclude.m4: Properly add square brackets for
11786 	AC_DEFUN macros.  Rewrite LIB_AC_PROG_CC to remove
11787 	macros no longer available.  Add LIB_AM_PROG_AS to
11788 	remove prereq of AC_PROG_CC.  Add LIB_AC_PROG_CC_GNU
11789 	macro.  Substitute lpfx (library object prefix).
11790 	* configure.host: Set lpfx depending on whether
11791 	libtool is used or not.
11792 	* configure.in: Individually specify libc and libm
11793 	to AC_CONFIG_SUBDIRS.  Add square bracket quoting as
11794 	necessary.
11795 	* Makefile.am: Use $(lpfx) to get object names for
11796 	math-library functions that should also be in libc.
11797 	* libc/machine/configure.in: Use case statement to determine
11798 	AC_CONFIG_SUBDIRS statement.
11799 	* libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
11800 	* libc/sys/linux/machine/configure.in: Ditto.
11801 	* libc/sys/configure.in: Ditto.
11802 	* libm/machine/configure.in: Ditto.
11803 	* libc/sys/linux/configure.in: Fix up AC_CONFIG_SUBDIRS.
11804 	* libm/configure.in: Add AM_CONDITIONAL statement
11805 	for HAVE_LIBM_MACHINE_DIR.
11806 	* libc/machine/a29k/Makefile.am: Modified to work with
11807 	latest automake.  Change includes setting AM_CCASFLAGS
11808 	so building .S files will properly pick up flags used
11809 	to build C files.
11810 	* libc/machine/arm/Makefile.am: Ditto.
11811 	* libc/machine/crx/Makefile.am: Ditto.
11812 	* libc/machine/d10v/Makefile.am: Ditto.
11813 	* libc/machine/d30v/Makefile.am: Ditto.
11814 	* libc/machine/fr30/Makefile.am: Ditto.
11815 	* libc/machine/frv/Makefile.am: Ditto.
11816 	* libc/machine/h8300/Makefile.am: Ditto.
11817 	* libc/machine/h8500/Makefile.am: Ditto.
11818 	* libc/machine/hppa/Makefile.am: Ditto.
11819 	* libc/machine/i386/Makefile.am: Ditto.
11820 	* libc/machine/iq2000/Makefile.am: Ditto.
11821 	* libc/machine/m32c/Makefile.am: Ditto.
11822 	* libc/machine/m32r/Makefile.am: Ditto.
11823 	* libc/machine/m68hc11/Makefile.am: Ditto.
11824 	* libc/machine/m68k/Makefile.am: Ditto.
11825 	* libc/machine/m88k/Makefile.am: Ditto.
11826 	* libc/machine/mips/Makefile.am: Ditto.
11827 	* libc/machine/mn10200/Makefile.am: Ditto.
11828 	* libc/machine/mn10300/Makefile.am: Ditto.
11829 	* libc/machine/mt/Makefile.am: Ditto.
11830 	* libc/machine/necv70/Makefile.am: Ditto.
11831 	* libc/machine/powerpc/Makefile.am: Ditto.
11832 	* libc/machine/sh/Makefile.am: Ditto.
11833 	* libc/machine/sparc/Makefile.am: Ditto.
11834 	* libc/machine/tic4x/Makefile.am: Ditto.
11835 	* libc/machine/tic80/Makefile.am: Ditto.
11836 	* libc/machine/v850/Makefile.am: Ditto.
11837 	* libc/machine/w65/Makefile.am: Ditto.
11838 	* libc/machine/xscale/Makefile.am: Ditto.
11839 	* libc/machine/xstormy16/Makefile.am: Ditto.
11840 	* libc/machine/z8k/Makefile.am: Ditto.
11841 	* libc/sys/a29khif/Makefile.am: Ditto.
11842 	* libc/sys/arc/Makefile.am: Ditto.
11843 	* libc/sys/arm/Makefile.am: Ditto.
11844 	* libc/sys/d10v/Makefile.am: Ditto.
11845 	* libc/sys/decstation/Makefile.am: Ditto.
11846 	* libc/sys/h8300hms/Makefile.am: Ditto.
11847 	* libc/sys/h8500hms/Makefile.am: Ditto.
11848 	* libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
11849 	* libc/sys/linux/machine/i386/Makefile.am: Ditto.
11850 	* libc/sys/m88kbug/Makefile.am: Ditto.
11851 	* libc/sys/mmixware/Makefile.am: Ditto.
11852 	* libc/sys/netware/Makefile.am: Ditto.
11853 	* libc/sys/rdos/Makefile.am: Ditto.
11854 	* libc/sys/rtems/Makefile.am: Ditto.
11855 	* libc/sys/sh/Makefile.am: Ditto.
11856 	* libc/sys/sparc64/Makefile.am: Ditto.
11857 	* libc/sys/sysmec/Makefile.am: Ditto.
11858 	* libc/sys/sysnec810/Makefile.am: Ditto.
11859 	* libc/sys/sysnecv850/Makefile.am: Ditto.
11860 	* libc/sys/sysvi386/Makefile.am: Ditto.
11861 	* libc/sys/sysvnecv70/Makefile.am: Ditto.
11862 	* libc/sys/tic80/Makefile.am: Ditto.
11863 	* libc/sys/w65/Makefile.am: Ditto.
11864 	* libc/sys/z8ksim/Makefile.am: Ditto.
11865 	* libm/machine/i386/Makefile.am: Ditto.
11866 	* libc/sys/arm/Makefile.am: Ditto plus add EXTRA sources including
11867 	trap.S so that automake will generate a .S.o suffix rule.
11868 	* libc/argz/Makefile.am: Modified to work with
11869 	latest automake.  Change includes adding lib_a_CFLAGS
11870 	so automake doesn't complain about libtool and non-libtool
11871 	libraries sharing objects.
11872 	* libc/ctype/Makefile.am: Ditto.
11873 	* libc/errno/Makefile.am: Ditto.
11874 	* libc/iconv/ccs/Makefile.am: Ditto.
11875 	* libc/iconv/ces/Makefile.am: Ditto.
11876 	* libc/iconv/lib/Makefile.am: Ditto.
11877 	* libc/locale/Makefile.am: Ditto.
11878 	* libc/misc/Makefile.am: Ditto.
11879 	* libc/posix/Makefile.am: Ditto.
11880 	* libc/reent/Makefile.am: Ditto.
11881 	* libc/search/Makefile.am: Ditto.
11882 	* libc/signal/Makefile.am: Ditto.
11883 	* libc/stdio/Makefile.am: Ditto.
11884 	* libc/stdio64/Makefile.am: Ditto.
11885 	* libc/stdlib/Makefile.am: Ditto.
11886 	* libc/string/Makefile.am: Ditto.
11887 	* libc/sys/linux/Makefile.am: Ditto.
11888 	* libc/sys/linux/argp/Makefile.am: Ditto.
11889 	* libc/sys/linux/cmath/Makefile.am: Ditto.
11890 	* libc/sys/linux/dl/Makefile.am: Ditto.
11891 	* libc/sys/linux/iconv/Makefile.am: Ditto.
11892 	* libc/sys/linux/intl/Makefile.am: Ditto.
11893 	* libc/sys/linux/linuxthreads/Makefile.am: Ditto.
11894 	* libc/sys/linux/net/Makefile.am: Ditto.
11895 	* libc/sys/linux/stdlib/Makefile.am: Ditto.
11896 	* libc/syscalls/Makefile.am: Ditto.
11897 	* libc/time/Makefile.am: Ditto.
11898 	* libc/unix/Makefile.am: Ditto.
11899 	* libm/Makefile.am: Ditto.
11900 	* libm/common/Makefile.am: Ditto.
11901 	* libm/math/Makefile.am: Ditto.
11902 	* libm/mathfp/Makefile.am: Ditto.
11903 	* Regenerate all aclocal.m4, Makefile.in, and configure files.
11904 
11905 2006-04-07  Jeff Johnston  <jjohnstn@redhat.com>
11906 
11907 	* libc/time/time.c (time): Do not check for HAVE_GETTIMEOFDAY
11908 	anymore.  Assume there is a gettimeofday syscall.
11909 
11910 2006-03-29  Shaun Jackman  <sjackman@gmail.com>
11911 
11912 	* libc/sys/linux/include/netinet/ip.h: Include netinet/in_systm.h
11913 	for the declaration of n_long.
11914 
11915 2006-03-29  Shaun Jackman  <sjackman@gmail.com>
11916 
11917 	* libc/sys/linux/include/net/if.h: Include sys/socket.h for
11918 	struct sockaddr.
11919 	(IFF_SMART): Replace this define with IFF_NOTRAILERS.
11920 	(IFF_CANTCHANGE): Replace IFF_SMART reference with IFF_NOTRAILERS.
11921 	(IFF_NOTRAILERS): New define.
11922 	(struct ifreq): Add ifru_netmask.
11923 	(ifr_netmask): New define.
11924 
11925 2006-03-29  Shaun Jackman  <sjackman@gmail.com>
11926 
11927 	* libc/sys/linux/sys/ioccom.h (ioctl): Change declaration to
11928 	match sys/ioctl.h.
11929 
11930 2006-03-29  Shaun Jackman  <sjackman@gmail.com>
11931 
11932 	* libtool.m4: Set lt_cv_deplibs_check_method=pass_all for
11933 	linux-newlib libc implementations.
11934 
11935 2006-03-29  Eric Blake  <ebb9@byu.net>
11936 
11937 	* libc/stdio/freopen.c (_freopen_r) [__SCLE]: Fix typo.
11938 	* libc/stdio64/freopen64.c (_freopen64_r) [__SCLE]: Likewise.
11939 
11940 2006-03-29  Jeff Johnston  <jjohnstn@redhat.com>
11941 
11942 	* libc/sys/linux/io.c (__mknod): Fix declaration of
11943 	syscall to pass a dev_t as third argument rather than
11944 	a pointer to dev_t.
11945 
11946 2006-03-29  Jeff Johnston  <jjohnstn@redhat.com>
11947 
11948 	* libc/sys/linux/net/name6.c: Fix struct references.
11949 
11950 2006-03-22  Mark Mitchell  <mark@codesourcery.com>
11951 
11952 	* configure.host: Allow hosts to set the default
11953 	newlib_atexit_dynamic_alloc value.
11954 	* configure.in: Likewise.
11955 	* configure: Regenerated.
11956 
11957 2006-03-20  Mark Mitchell  <mark@codesourcery.com>
11958 
11959 	* acconfig.h (_ATEXIT_DYNAMIC_ALLOC): Undef.
11960 	* configure.in (--disable-newlib-atexit-dynamic-alloc): New
11961 	option.
11962 	* configure: Regenerated.
11963 	* newlib.hin: Regenerated.
11964 	* libc/stdlib/__atexit.c (__register_exitproc): Don't call malloc
11965 	if _ATEXIT_DYNAMIC_ALLOC is undefined.
11966 	* libc/stdlib/__call_atexit.c (__call_exitprocs): Don't call free
11967 	if _ATEXIT_DYNAMIC_ALLOC is undefined.
11968 
11969 2006-03-17  Jeff Johnston  <jjohnstn@redhat.com>
11970 
11971 	* libc/sys/linux/linuxthreads/config.h: Remove definition
11972 	of UINT32_C.
11973 
11974 2006-03-15  Jeff Johnston  <jjohnstn@redhat.com>
11975 
11976 	* libc/stdio/wsetup.c (__swsetup): Don't make a buffer
11977 	for a string I/O file that isn't using the asprintf family.
11978 
11979 2006-03-07  Eric Blake  <ebb9@byu.net>
11980 
11981 	* libc/stdio/freopen.c (_freopen_r) [HAVE_FCNTL]: For NULL
11982 	filename, allow read-only or write-only FILE atop O_RDWR file
11983 	descriptor.
11984 	* libc/stdio64/freopen64.c (_freopen64_r) [HAVE_FCNTL]: Likewise.
11985 
11986 2006-03-07  Jeff Johnston  <jjohnstn@redhat.com>
11987 
11988 	* libm/common/sf_isinf.c[_DOUBLE_IS_32BITS]: Undef isinf.
11989 	* libm/common/sf_isnan.c[_DOUBLE_IS_32BITS]: Undef isnan.
11990 
11991 2006-03-02  Jeff Johnston  <jjohnstn@redhat.com>
11992 
11993 	* libm/math/math.tex: Fix reference to sisnan.def which
11994 	is now in common subdirectory.
11995 	* libm/mathfp/mathfp.tex: Ditto.
11996 
11997 2006-02-27  Jeff Johnston  <jjohnstn@redhat.com>
11998 
11999 	* Makefile.am (MATHOBJS_IN_LIBC): Add s_isinfd, sf_isinff,
12000 	s_isnand, and sf_isnanf object files.
12001 	* Makefile.in: Regenerated.
12002 	* libc/include/ieeefp.h: Undef isnan and isinf to avoid
12003 	conflict if <math.h> has previously been included.
12004 	* libc/include/math.h
12005 	* libc/include/math.h: Make isnan and isinf macros to
12006 	conform to C99.
12007 	(__isinfd, __isinff, __isnand, __isnanf): New functions.
12008 	* libm/common/Makefile.am: Add new s_isinfd, s_isnand, sf_isinff,
12009 	and sf_isnanf files.  Also support s_isnan, sf_isnan, s_isinf, and
12010 	sf_isinf files which have been moved from math/mathfp directories.
12011 	* libm/common/Makefile.in: Regenerated.
12012 	* libm/common/s_isinfd.c: New file.
12013 	* libm/common/s_isnand.c: Ditto.
12014 	* libm/common/sf_isinff.c: Ditto.
12015 	* libm/common/sf_isnanf.c: Ditto.
12016 	* libm/common/s_isinf.c: Moved from libm/math directory.
12017 	* libm/common/s_isnan.c: Ditto.
12018 	* libm/common/sf_isinf.c: Ditto.
12019 	* libm/common/sf_isnan.c: Ditto.
12020 	* libm/math/Makefile.am: Remove isinf and isnan family functions
12021 	which have been moved into common directory.
12022 	* libm/mathfp/Makefile.am: Ditto.
12023 	* libm/math/Makefile.in: Regenerated.
12024 	* libm/mathfp/Makefile.in: Ditto.
12025 	* libm/math/s_isinf.c: Removed.
12026 	* libm/math/s_isnan.c: Ditto.
12027 	* libm/math/sf_isinf.c: Ditto.
12028 	* libm/math/sf_isnan.c: Ditto.
12029 	* libm/mathfp/s_isinf.c: Ditto.
12030 	* libm/mathfp/s_isnan.c: Ditto.
12031 	* libm/mathfp/sf_isinf.c: Ditto.
12032 	* libm/mathfp/sf_isnan.c: Ditto.
12033 
12034 2006-02-20  Jeff Johnston  <jjohnstn@redhat.com>
12035 
12036 	* libc/stdio/fflush.c (fflush): For an fflush on a read-only
12037 	stream, turn off fseek/rewind optimization as per POSIX/SUSv3.
12038 	* libc/stdio/fseek.c (_fseek_r): After a successful unoptimized
12039 	seek, turn off the __SNPT no-optimization flag.
12040 
12041 2006-02-16  Jeff Johnston  <jjohnstn@redhat.com>
12042 
12043 	* libc/sys/linux/aio.c: Define _GNU_SOURCE so struct aioinit
12044 	will be defined.
12045 	* libc/sys/linux/sys/types.h: Move <sys/config.h> ahead of
12046 	<features.h> to preset special flags.
12047 
12048 2006-02-15  Corinna Vinschen  <corinna@vinschen.de>
12049 
12050 	* libc/include/sys/time.h (struct timeval): Change member types
12051 	according to SUSv3.
12052 	* libc/include/sys/types.h (useconds_t): Change to unsigned
12053 	according to SUSv3.
12054 	(suseconds_t): Define type.
12055 
12056 2006-02-13  Jeff Johnston  <jjohnstn@redhat.com>
12057 	    David Carne  <davidcarne@gmail.com>
12058 
12059 	* libc/string/strndup_r.c (_strndup_r): Use strnlen logic
12060 	instead of strlen to determine number of bytes to copy.
12061 	* libc/string/strnlen.c (strnlen): Fix so check for max limit occurs
12062 	before looking at storage location.
12063 
12064 2006-02-07  Paul Brook  <paul@codesourcery.com>
12065 
12066 	* libc/machine/arm/setjmp.S: Add Thumb-2 support.
12067 	* libc/sys/arm/crt0.S: Add Thumb-2 startup code.
12068 	* libc/sys/arm/libcfunc.c (do_AngelSWI): Use AngelSWIInsn.
12069 	* libc/sys/arm/swi.h (AngelSWIInsn, AngelSWIAsm): Define.
12070 	* libc/sys/arm/trap.S: Disable for Thumb-2.
12071 
12072 2006-01-31  Leif Ekblad  <leif@rdos.net>
12073 
12074 	* configure.host: RDOS support added
12075 	* libc/include/sys/config.h: Ditto.
12076 	* libc/sys/rdos/Makefile.am, libc/sys/rdos/Makefile.in: New files.
12077 	* libc/sys/rdos/aclocal.m4, libc/sys/rdos/chown.c: Ditto.
12078 	* libc/sys/rdos/close.c, libc/sys/rdos/config.h: Ditto.
12079 	* libc/sys/rdos/configure, libc/sys/rdos/configure.in: Ditto.
12080 	* libc/sys/rdos/crt0.S, libc/sys/rdos/execve.c: Ditto.
12081 	* libc/sys/rdos/fork.c, libc/sys/rdos/fstat.c: Ditto.
12082 	* libc/sys/rdos/getenv.c, libc/sys/rdos/getpid.c: Ditto.
12083 	* libc/sys/rdos/gettod.c, libc/sys/rdos/isatty.c: Ditto.
12084 	* libc/sys/rdos/kill.c, libc/sys/rdos/link.c: Ditto.
12085 	* libc/sys/rdos/lseek.c, libc/sys/rdos/open.c: Ditto.
12086 	* libc/sys/rdos/rdos.S, libc/sys/rdos/rdos.h: Ditto.
12087 	* libc/sys/rdos/rdoshelp.c, libc/sys/rdos/read.c: Ditto.
12088 	* libc/sys/rdos/readlink.c, libc/sys/rdos/sbrk.c: Ditto.
12089 	* libc/sys/rdos/stat.c, libc/sys/rdos/symlink.c: Ditto.
12090 	* libc/sys/rdos/times.c, libc/sys/rdos/unlink.c: Ditto.
12091 	* libc/sys/rdos/user.def, libc/sys/rdos/wait.c: Ditto.
12092 	* libc/sys/rdos/write.c: Ditto.
12093 
12094 2006-01-24  Jeff Johnston  <jjohnstn@redhat.com>
12095 
12096 	* acinclude.m4: Add nodefine to AM_INIT_AUTOMAKE macro invocation
12097 	so as not to define PACKAGE and VERSION in newlib.h.
12098 	* aclocal.m4: Regenerated.
12099 	* configure: Ditto.
12100 	* newlib.hin: Ditto.
12101 
12102 2006-01-20  Jeff Johnston  <jjohnstn@redhat.com>
12103 
12104 	* acconfig.h: New file to generate newlib.hin from.
12105 	* newlib.hin: Regenerated.
12106 	* stamp-h.in: Regenerated.
12107 	* Makefile.am: Add ACLOCAL_AMFLAGS so aclocal can be
12108 	called automatically.
12109 	* Makefile.in: Regenerated.
12110 	* acinclude.m4: Add proper comment for hack in previous change.
12111 	* aclocal.m4 */aclocal.m4: Regenerated.
12112 	* configure */configure: Regenerated.
12113 
12114 2006-01-11  Jeff Johnston  <jjohnstn@redhat.com>
12115 
12116 	* acinclude.m4: Add hack to prevent INSTALL in subdirs
12117 	from being set to "../".
12118 	* Makefile.am: Pass INSTALL in AM_MAKEFLAGS.
12119 	* aclocal.m4: Regenerated.
12120 	* configure: Ditto.
12121 	* Makefile.in: Ditto.
12122 	* doc/aclocal.m4: Ditto.
12123 	* doc/configure: Ditto.
12124 	* iconvdata/aclocal.m4: Ditto.
12125 	* iconvdata/configure: Ditto.
12126 	* libc/*/aclocal.m4: Ditto.
12127 	* libc/*/configure: Ditto.
12128 	* libc/libc.texinfo: Ditto.
12129 	* libm/*/aclocal.m4: Ditto.
12130 	* libm/*/configure: Ditto.
12131 
12132 2006-01-10  Eric Blake  <ebb9@byu.net>
12133 
12134 	* libc/stdio/freopen.c (_freopen_r): Fix use of oflags.
12135 	* libc/stdio64/freopen64.c (_freopen64_r): Likewise.
12136 
12137 2006-01-10  Jeff Johnston  <jjohnstn@redhat.com>
12138 
12139 	* libm/mathfp/s_frexp.c: Check for special values on
12140 	the original input, not the manipulated output value.
12141 	* libm/mathfp/sf_frexp.c: Ditto.
12142 	* libm/mathfp/s_atangent.c: Don't use local value branch
12143 	when checking for quadrant.
12144 	* libm/mathfp/sf_atangent.c: Ditto.
12145 
12146 2006-01-09  Jeff Johnston  <jjohnstn@redhat.com>
12147 
12148 	* libc/stdio/freopen.c: Switch to use isatty instead of _isatty.
12149 	* libc/stdio64/freopen64.c: Ditto.
12150 
12151 2006-01-09  Eric Blake  <ebb9@byu.net>
12152 
12153 	* libc/stdio/freopen.c (_freopen_r): Accept NULL filename.
12154 	* libc/stdio64/freopen64.c (_freopen64_r): Likewise.
12155 
12156 2006-01-06  Jeff Johnston  <jjohnstn@redhat.com>
12157 
12158 	* libc/sys/linux/include/getopt.h: Add macros needed by
12159 	new version of getopt.c in libc/stdlib.
12160 
12161 2006-01-04  Gregory Pietsch  <gpietsch@comcast.net>
12162 
12163 	* libc/stdlib/getopt.c: Replaced with version
12164 	that adds getopt_long and getopt_long_only support.
12165 	* libc/include/getopt.h: New file.
12166 
12167 2005-12-16  Jeff Johnston  <jjohnstn@redhat.com>
12168 
12169 	* NEWS: Update with 1.14.0 info.
12170 	* README: Ditto.
12171 	* acinclude.m4: Change version number to 1.14.0.
12172 	* aclocal.m4: Regenerated.
12173 	* configure: Ditto.
12174 	* doc/aclocal.m4: Ditto.
12175 	* doc/configure: Ditto.
12176 	* libc/*/aclocal.m4: Ditto.
12177 	* libc/*/configure: Ditto.
12178 	* libc/libc.texinfo: Ditto.
12179 	* libm/*/aclocal.m4: Ditto.
12180 	* libm/*/configure: Ditto.
12181 	* libm/libm.texinfo: Ditto.
12182 	* libc/sys/linux/shared.ld: Add VERS_1.14.
12183 
12184 2005-12-16  Jeff Johnston  <jjohnstn@redhat.com>
12185 
12186 	* libc/sys/linux/sys/stat.h: Change *stat64 prototypes to
12187 	take a pointer to struct stat64 rather than struct stat.
12188 
12189 2005-12-16  Ralf Corsepius <ralf.corsepius@rtems.org>
12190 
12191 	* libc/include/stdint.h: Prefer long over int for int32_t.
12192 	Use __have_long32 to set up int32_t.
12193 	* libc/include/inttypes.h: Use "#if xxx" instead of "#ifdef xxx"
12194 	(Sync with stdint.h).
12195 
12196 2005-12-14  Corinna Vinschen  <corinna@vinschen.de>
12197 
12198 	* libc/include/sys/fcntl.h: Define O_SYNC unconditionally.  Fix
12199 	typo in O_NDELAY comment.
12200 
12201 2005-12-13  Nathan Sidwell  <nathan@codesourcery.com>
12202 
12203 	* libc/include/machine/ieeefp.h (__mt__): Renamed from __ms1__.
12204 	* libc/include/machine/setjmp.h (__mt__): Likewise.
12205 	* libc/machine/mt/setjmp.S: Rename ms1 reference to mt.
12206 	* libc/machine/configure.in: Ditto.
12207 
12208 2005-12-12  Nathan Sidwell  <nathan@codesourcery.com>
12209 
12210 	* configure.host: Replace ms1 arch with mt arch.
12211 	* libc/machine/mt: Renamed from ms1 dir.
12212 
12213 2005-12-08  Shaun Jackman  <sjackman@gmail.com>
12214 
12215 	* libc/include/sys/types.h: Remove the ifdef armour around
12216 	standard POSIX types.
12217 
12218 2005-12-06  Ralf Corsepius <ralf.corsepius@rtems.org>
12219 
12220 	* libc/sys/rtems/crt0.c: Add rtems_gxx_key_create,
12221 	rtems_gxx_key_delete, rtems_gxx_getspecific,
12222 	rtems_gxx_setspecific, rtems_gxx_mutex_trylock,
12223 	rtems_gxx_recursive_mutex_init, rtems_gxx_recursive_mutex_lock,
12224 	rtems_gxx_recursive_mutex_trylock, rtems_gxx_recursive_mutex_unlock.
12225 
12226 2005-12-05  Christopher Faylor  <cgf@timesys.com>
12227 
12228 	* libc/include/stdlib.h: Move cygwin declarations to cygwin-specific
12229 	file.  Declare unsetenv and _unsetenv_r when not cygwin.
12230 
12231 2005-11-18  Jeff Johnston  <jjohnstn@redhat.com>
12232 
12233 	* libc/time/strptime.c (strptime): Don't abort for %c and %Z.
12234 	Treat %c as "%a %b %e %H:%M:%S %Y" and ignore %Z.
12235 
12236 2005-11-18  Christopher Faylor  <cgf@timesys.com>
12237 
12238 	* include/sys/time.h: Move more cygwin stuff to cygwin-specific header.
12239 
12240 2005-11-18  Christopher Faylor  <cgf@timesys.com>
12241 
12242 	* include/time.h: Remove more cygwin-specific stuff.
12243 
12244 2005-11-18  Christopher Faylor  <cgf@timesys.com>
12245 
12246 	* include/time.h: Move cygwin declarations to cygwin-specific header.
12247 	* include/sys/time.h: Rename cygwin include to "sys_time.h".
12248 
12249 2005-11-17  Jeff Johnston  <jjohnstn@redhat.com>
12250 
12251 	* libc/sys/linux/dl/dl-local.h: New file based on old dlfcn.h
12252 	in libc/sys/linux/include.
12253 	* libc/sys/linux/dl/dlfcn.h: Moved to libc/sys/linux/include.
12254 	* libc/sys/linux/dl/ldsodefs.h: Include dl-local.h instead of dlfcn.h.
12255 	* libc/sys/linux/include/dlfcn.h: Replaced with dlfcn.h formerly
12256 	in libc/sys/linux/dl.
12257 
12258 2005-11-11  Christopher Faylor  <cgf@timesys.com>
12259 
12260 	* libc/include/sys/time.h: For cygwin, use general header rather than
12261 	specific "sys/select.h".
12262 
12263 2005-11-08  Tom Walsh  <tom@openhardware.net>
12264 
12265 	* libc/time/tzvars.c: New file.
12266 	* libc/time/tzset_r.c: Moved globals into tzvars.c
12267 	so other time functions needn't link in __tzset_r and its
12268 	dependencies.
12269 	* libc/time/Makefile.am: Add the new file.
12270 	* libc/time/Makefile.in: Regenerated.
12271 
12272 2005-11-08  Christopher Faylor  <cgf@timesys.com>
12273 
12274 	* libc/include/string.h: Add cygwin-specific function declaration.
12275 
12276 2005-11-07  Corinna Vinschen  <corinna@vinschen.de>
12277 
12278 	* libc/include/ieeefp.h: Add C++ guards.
12279 
12280 2005-11-03  Jeff Johnston  <jjohnstn@redhat.com>
12281 
12282 	* libc/unix/getcwd.c: Don't use non-reentrant syscall names.
12283 	* libc/unix/getlogin.c: Ditto.
12284 	* libc/unix/getpass.c: Ditto.
12285 	* libc/unix/getut.c: Ditto.
12286 	* libc/unix/ttyname.c: Ditto.
12287 
12288 2005-11-03  Shaun Jackman  <sjackman@gmail.com>
12289 
12290 	* libc/include/sys/unistd.h (readlink, symlink): Provide these
12291 	prototypes by default.
12292 	* libc/sys/linux/include/unistd.h (readlink): Remove this
12293 	prototype.
12294 	* libc/sys/linux/sys/unistd.h (readlink, symlink): New
12295 	prototypes.
12296 
12297 2005-11-01  Ralf Corsepius <ralf.corsepius@rtems.org>
12298 
12299 	* libc/include/stdint.h: Cleanup #if vs. #ifdef.
12300 
12301 2005-10-31  Darin Johnson  <darin@usa.net>
12302 
12303 	* libm/mathfp/s_mathcnst.c: Fix endian-ness check to be
12304 	correct for constants.
12305 
12306 2005-10-28  Bob Wilson  <bob.wilson@acm.org>
12307 
12308 	* libc/stdio/siprintf.c: Wrap long lines in ANSI_SYNOPSIS.
12309 	* libc/stdio/siscanf.c: Likewise.
12310 	* libc/stdio/sprintf.c: Likewise.
12311 	* libc/stdio/sscanf.c: Likewise.
12312 	* libc/stdio/vfprintf.c: Likewise.
12313 	* libc/stdio/vfscanf.c: Likewise.
12314 	* libc/stdio/viprintf.c: Likewise.
12315 	* libc/stdio/viscanf.c: Likewise.
12316 
12317 2005-10-28  Bob Wilson  <bob.wilson@acm.org>
12318 
12319 	* libc/sys.tex (Stubs): Format examples consistently.   Change sbrk
12320 	example to use "_end" symbol instead of "end".  Change write  example
12321 	to use "outbyte" instead of "writechar".
12322 
12323 2005-10-28  Bob Wilson  <bob.wilson@acm.org>
12324 
12325 	* libc/ctype/ctype.tex: Use hyphens as appropriate, but not  otherwise.
12326 	* libc/ctype/islower.c: Likewise.
12327 	* libc/ctype/isupper.c: Likewise.
12328 	* libc/ctype/iswalnum.c: Likewise.
12329 	* libc/ctype/iswalpha.c: Likewise.
12330 	* libc/ctype/iswblank.c: Likewise.
12331 	* libc/ctype/iswcntrl.c: Likewise.
12332 	* libc/ctype/iswdigit.c: Likewise.
12333 	* libc/ctype/iswgraph.c: Likewise.
12334 	* libc/ctype/iswlower.c: Likewise.
12335 	* libc/ctype/iswprint.c: Likewise.
12336 	* libc/ctype/iswpunct.c: Likewise.
12337 	* libc/ctype/iswspace.c: Likewise.
12338 	* libc/ctype/iswupper.c: Likewise.
12339 	* libc/ctype/iswxdigit.c: Likewise.
12340 	* libc/ctype/tolower.c: Likewise.
12341 	* libc/ctype/toupper.c: Likewise.
12342 	* libc/ctype/towctrans.c: Likewise.
12343 	* libc/ctype/towlower.c: Likewise.
12344 	* libc/ctype/towupper.c: Likewise.
12345 	* libc/string/strcasecmp.c: Likewise.
12346 	* libc/string/strcoll.c: Likewise.
12347 	* libc/string/strings.tex: Likewise.
12348 	* libc/string/strlwr.c: Likewise.
12349 	* libc/string/strncasecmp.c: Likewise.
12350 	* libc/string/strupr.c: Likewise.
12351 	* libc/string/wcscoll.c: Likewise.
12352 	* libc/string/wcslcat.c: Likewise.
12353 	* libc/string/wcslcpy.c: Likewise.
12354 	* libc/string/wcsnlen.c: Likewise.
12355 	* libc/string/wcsstr.c: Likewise.
12356 	* libc/string/wcstrings.tex: Likewise.
12357 	* libc/string/wmemchr.c: Likewise.
12358 	* libc/string/wmemcmp.c: Likewise.
12359 	* libc/string/wmemcpy.c: Likewise.
12360 	* libc/string/wmemmove.c: Likewise.
12361 	* libc/string/wmemset.c: Likewise.
12362 
12363 2005-10-28  Bob Wilson  <bob.wilson@acm.org>
12364 
12365 	* libc/misc/unctrl.c: Replace FUNCTION description.
12366 	* libc/signal/signal.c: Remove documentation for raise and  _raise_r.
12367 	* libc/stdio/getdelim.c: Fix spelling errors.
12368 	* libc/stdio/getw.c: Put RETURNS on a separate line.  Fix  punctuation.
12369 	* libc/stdio/putw.c: Likewise.
12370 	* libc/stdlib/a64l.c: Fix formatting, spelling and  punctuation in
12371 	documentation.
12372 	* libc/stdlib/assert.c: Do not capitalize FUNCTION description.
12373 	* libc/stdlib/efgcvt.c: Add spaces to FUNCTION description.
12374 	* libc/stdlib/envlock.c: Use em-dash in FUNCTION description.
12375 	* libc/stdlib/mlock.c: Likewise.
12376 	* libc/stdlib/mstats.c: Likewise.
12377 	* libc/time/tzlock.c: Likewise.
12378 	* libc/stdlib/rand.c: Use "multi-threaded" and "thread-safe"  in NOTES.
12379 	* libc/stdlib/rand48.c: Remove extra space in FUNCTION  description
12380 	and hyphenate "pseudo-random".
12381 	* libc/string/bcmp.c: Remove extra blank lines in  documentation.
12382 	* libc/string/strncat.c: Likewise.
12383 	* libc/string/memchr.c: Remove extra ">" character in  documentation.
12384 	* libc/string/strcspn.c: Use "characters" instead of "chars".
12385 	* libc/string/strpbrk.c: Likewise.
12386 	* libc/string/strerror_r.c: Capitalize "GNU".
12387 	* libc/string/strnlen.c: Likewise.
12388 	* libc/string/strtok.c: Fix formatting, spelling and  punctuation in
12389 	documentation.  Use "multi-threaded" and "thread-safe" in  NOTES.
12390 	* libc/string/wcscat.c: Split PORTABILITY into two paragraphs.
12391 	* libc/string/wcschr.c: Likewise.
12392 	* libc/string/wcscmp.c: Likewise.
12393 	* libc/string/wcscpy.c: Likewise.
12394 	* libc/string/wcscspn.c: Likewise.
12395 	* libc/string/wcslen.c: Likewise.
12396 	* libc/string/wcsncat.c: Likewise.
12397 	* libc/string/wcsncmp.c: Likewise.
12398 	* libc/string/wcsncpy.c: Likewise.
12399 	* libc/string/wcsnlen.c: Likewise.
12400 	* libc/string/wcspbrk.c: Likewise.
12401 	* libc/string/wcsrchr.c: Likewise.
12402 	* libc/string/wcsspn.c: Likewise.
12403 	* libc/string/wmemchr.c: Likewise.
12404 	* libc/string/wmemcmp.c: Likewise.
12405 	* libc/string/wmemcpy.c: Likewise.
12406 	* libc/string/wmemset.c: Likewise.
12407 	* libc/string/wmemmove.c: Likewise.  Also fix FUNCTION  description.
12408 	* libc/string/wcswidth.c: Formatting and punctuation in  documentation.
12409 	* libc/string/wcwidth.c: Likewise.
12410 	* libm/common/s_modf.c: Remove extra period from documentation.
12411 	* libm/math/s_isnan.c: Fix formatting, grammar and  punctuation in
12412 	doc