1 2015-12-21 Freddie Chopin <freddie.chopin@gmail.com>
3 * libc/stdlib/__atexit.c (__register_exitproc): Fix for
6 2015-12-21 Freddie Chopin <freddie.chopin@gmail.com>
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
15 * libc/stdlib/cxa_atexit.c: Likewise.
17 2015-12-17 Anton Kolesov <Anton.Kolesov@synopsys.com>
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
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.
44 2015-12-17 Corinna Vinschen <corinna@vinschen.de>
46 * libc/include/sys/types.h: Remove including <sys/select.h>.
48 2015-12-14 Sebastian Huber <sebastian.huber@embedded-brains.de>
50 * libc/include/sys/reent.h (_REENT_INIT_PTR_ZEROED): New.
51 (_REENT_INIT_PTR): Define only once and use _REENT_INIT_PTR_ZEROED().
53 2015-12-14 Sebastian Huber <sebastian.huber@embedded-brains.de>
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
63 * libc/include/sys/types.h: Likewise.
65 2015-12-12 Freddie Chopin <freddie.chopin@gmail.com>
67 * libc/stdlib/__atexit.c (__register_exitproc): Always release
70 2015-12-09 Thomas Preud'homme <thomas.preudhomme@arm.com>
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.
80 2015-12-08 Corinna Vinschen <corinna@vinschen.de>
82 * libc/stdio/fclose.c (_fclose_r): Make _flockfile/_funlockfile calls
83 dependent on __SNLK flag.
84 * libc/stdio/findfp.c (__fp_lock): Ditto.
86 * libc/stdio/freopen.c (_freopen_r): Ditto.
87 * libc/stdio64/freopen64.c (_freopen64_r): Ditto.
89 2015-12-08 Corinna Vinschen <corinna@vinschen.de>
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.
95 2015-12-07 Nick Withers <nick.withers@anu.edu.au>
97 * libc/sys/arm/sys/param.h (NBBY): Define if not already defined.
98 * libc/sys/rtems/include/sys/param.h (NBBY): Define.
100 2015-12-07 Corinna Vinschen <corinna@vinschen.de>
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.
107 2015-11-26 Corinna Vinschen <corinna@vinschen.de>
109 * libc/stdlib/strtodg.c: Add ifdef to check _HAVE_LONG_DOUBLE and
112 2015-11-24 Steve Ellcey <sellcey@imgtec.com>
114 * libc/stdlib/strtorx.c: Fix ifdef to check _LDBL_EQ_DBL.
116 2015-11-23 Marcus Shawcroft <marcus.shawcroft@arm.com>
118 * libc/machine/arm/strlen-stub.c: Adjust strlen-armv7.S selection logic.
119 * libc/machine/arm/strlen.S: Likewise.
121 2015-11-23 Marcus Shawcroft <marcus.shawcroft@arm.com>
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.
127 2015-11-21 Corinna Vinschen <corinna@vinschen.de>
129 * libc/stdlib/strtodg.c: Define USE_LOCALE.
130 (_strtodg_r): Handle multibyte decimal point.
132 2015-11-20 Corinna Vinschen <corinna@vinschen.de>
134 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add strtodg.c and
136 * libc/stdlib/Makefile.in: Regenerate.
137 * libc/stdlib/strtodg.c: New file implementing generic string to long
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
146 (FLT_ROUNDS): Define, as 0 on platforms missing a __flt_rounds
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
155 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
157 2015-11-20 Corinna Vinschen <corinna@vinschen.de>
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.
163 2015-11-20 Corinna Vinschen <corinna@vinschen.de>
165 * libc/stdlib/wcstold.c (_strtold): Drop unused declaration.
167 2015-11-19 Yaakov Selkowitz <yselkowi@redhat.com>
169 * libc/stdlib/stdlib.tex: Fix typo in rpmatch reference.
171 2015-11-19 Corinna Vinschen <corinna@vinschen.de>
173 * libc/stdlib/ldtoa.c: Convert to GNU style so as not to get crazy
176 2015-11-19 Corinna Vinschen <corinna@vinschen.de>
178 * libc/stdlib/rpmatch.c: Include sys/types.h to make GCC happy.
180 2015-11-12 Jon Turney <jon.turney@dronecode.org.uk>
182 * libc/stdio/sprintf.c: Simplify documentation markup.
183 * libc/stdio/swprintf.c: Ditto.
185 2015-11-12 Jon Turney <jon.turney@dronecode.org.uk>
187 * libc/stdio/sscanf.c: Improve documentation markup.
188 * libc/stdio/swscanf.c: Ditto.
190 2015-11-17 Yaakov Selkowitz <yselkowi@redhat.com>
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.
199 2015-11-13 Marcus Shawcroft <marcus.shawcroft@arm.com>
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.
205 2015-11-13 Marcus Shawcroft <marcus.shawcroft@arm.com>
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.
213 2015-11-13 Marcus Shawcroft <marcus.shawcroft@arm.com>
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.
220 2015-11-13 Marcus Shawcroft <marcus.shawcroft@arm.com>
222 * libc/machine/arm/Makefile.am: Drop STRLEN_SRC and STRLEN_OBJ.
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.
229 2015-11-13 Marcus Shawcroft <marcus.shawcroft@arm.com>
231 * libc/machine/arm/strlen.c: Refactor nested #if.
233 2015-11-12 Anton Kolesov <Anton.Kolesov@synopsys.com>
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.
276 2015-11-12 Anton Kolesov <Anton.Kolesov@synopsys.com>
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.
294 2015-11-12 Marcus Shawcroft <marcus.shawcroft@arm.com>
296 * testsuite/lib/flags.exp (libgloss_link_flags): Drop multilibtop
297 from target_build_path.
299 2015-11-06 Jon Turney <jon.turney@dronecode.org.uk>
301 * doc/makedoc.c (iscommand): Only allow commands to have trailing
302 spaces, not space separated words.
304 2015-11-06 Jon Turney <jon.turney@dronecode.org.uk>
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.
312 2015-11-06 Jon Turney <jon.turney@dronecode.org.uk>
314 * doc/doc.str: Fix INTERNAL_DEFINITION, INTERNAL_FUNCTION and
317 2015-11-12 Wilco Dijkstra <wdijkstr@arm.com>
319 * newlib/libc/machine/aarch64/memcpy.S (memcpy): Further tuning for
322 2015-11-12 Joseph Myers <joseph@codesourcery.com>
324 * libc/machine/arm/strcmp-arm-tiny.S: Use .cfi_sections
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.
333 2015-11-06 Marcus Shawcroft <marcus.shawcroft@arm.com>
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.
343 2015-11-06 Marcus Shawcroft <marcus.shawcroft@arm.com>
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
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.
354 2015-11-06 Olivier Martin <olivier@labapart.com>
356 * libc/include/stdlib.h (mktemp): Change attribute to deprecated.
359 2015-11-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
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
365 * libc/machine/arm/Makefile.in: Regenerate.
366 * libc/machine/arm/configure: Regenerate.
368 2015-11-02 Jon Turney <jon.turney@dronecode.org.uk>
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.
397 2015-11-02 Jon Turney <jon.turney@dronecode.org.uk>
399 * libc/time/wcsftime.c: Consistently use an em-dash in FUNCTION
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.
422 2015-11-02 Jon Turney <jon.turney@dronecode.org.uk>
424 * libc/stdio/fseek.c: Add missing semicolons to prototypes in
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.
435 2015-11-02 Steve Ellcey <sellcey@imgtec.com>
437 * libc/machine/mips/memcpy.S (memcpy): Add word copies for small
440 2015-10-30 Sebastian Huber <sebastian.huber@embedded-brains.de>
442 * libc/include/pthread.h: Include <sched.h> instead of <sys/sched.h>.
444 2015-10-26 Brian Inglis <Brian.Inglis@SystematicSw.ab.ca>
446 * libc/time/strftime.c (__strftime): add support for %s (seconds from
447 Unix epoch). Fix whitespaces.
449 2015-10-19 Nick Clifton <nickc@redhat.com>
451 * libc/include/sys/_intsup.h: Add support for 16-bit and 20-bit
454 2015-10-14 Sebastian Huber <sebastian.huber@embedded-brains.de>
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.
460 2015-10-14 Sebastian Huber <sebastian.huber@embedded-brains.de>
462 * libc/include/stdlib.h (alloc_aligned): Declare.
464 2015-10-14 Sebastian Huber <sebastian.huber@embedded-brains.de>
466 * libc/include/stdlib.h (at_quick_exit): Declare.
467 (quick_exit): Likewise.
468 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add
470 * libc/stdlib/Makefile.in: Regenerate.
471 * libc/stdlib/quick_exit.c: New.
473 2015-10-13 Sebastian Huber <sebastian.huber@embedded-brains.de>
475 * libc/include/threads.h: New.
476 * libc/sys/rtems/include/machine/_threads.h: Likewise.
478 2015-10-13 Sebastian Huber <sebastian.huber@embedded-brains.de>
480 * libc/include/sys/cdefs.h: Synchronize with latest FreeBSD
483 2015-10-13 Sebastian Huber <sebastian.huber@embedded-brains.de>
485 * libc/include/sys/cdefs.h: Add style changes of latest FreeBSD
488 2015-10-08 Nick Clifton <nickc@redhat.com>
490 * libc/include/machine/setjmp.h (_JBLEN): Define for IA64.
492 2015-09-22 James Bowman <james.bowman@ftdichip.com>
494 * configure.host (ft32): minimise newlib code size
496 2015-09-04 James Bowman <james.bowman@ftdichip.com>
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.
516 2015-09-03 Hans-Peter Nilsson <hp@axis.com>
518 * libc/machine/cris/sys/signal.h (kill): Declare.
520 2015-08-29 Corinna Vinschen <corinna@vinschen.de>
522 * include/sys/unistd.h (_SC_LEVEL*): Add cache-related variables as
525 2015-08-27 Markus Eisenmann <meisenmann.lba@fh-salzburg.ac.at>
527 * libc/machine/arm/strlen-armv7.S: Fix prepocessor check to avoid
528 double definition of strlen.
530 2015-08-27 Andre Vieira <andre.simoesdiasvieira@arm.com>
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
540 2015-08-07 Stefan Wallentowitz <stefan.wallentowitz@tum.de>
542 * libc/sys/or1k/mlock.c: Fix exception enable saving
544 2015-08-03 Shoichi Sakon <s-sakon@ap.jp.nec.com>
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[]
550 2015-07-30 Sebastian Huber <sebastian.huber@embedded-brains.de>
552 * libc/sys/rtems/include/sys/lock.h (__LOCK_INIT_RECURSIVE): Use
555 2015-07-30 Wilco Dijkstra <wdijkstr@arm.com>
557 * libc/machine/aarch64/memset.S (memset): Rewrite.
559 2015-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
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.
578 2015-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
580 * libc/sys/rtems/include/sys/lock.h: New.
582 2015-07-21 Corinna Vinschen <corinna@vinschen.de>
584 * libc/include/machine/setjmp.h (siglongjmp): Declare as function on
587 (_longjmp): Mark as noreturn function on Cygwin.
589 2015-07-15 Wilco Dijkstra <wdijkstr@arm.com>
591 * libc/machine/aarch64/memset.S (memset):
592 Revert: Rewrite of optimized memset.
594 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
596 * libc/machine/aarch64/memset.S (memset):
597 Rewrite of optimized memset.
599 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
601 * libc/machine/aarch64/memcpy.S (memcpy):
602 Rewrite of optimized memcpy.
604 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
606 * libc/machine/aarch64/memove.S (memmove):
607 Rewrite of optimized memmove.
609 2015-07-06 Yaakov Selkowitz <yselkowi@redhat.com>
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.
618 2015-07-06 Corinna Vinschen <corinna@vinschen.de>
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.
624 2015-07-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
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.
630 2015-06-29 Jon Turney <jon.turney@dronecode.org.uk>
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.
639 2015-06-23 Jon Turney <jon.turney@dronecode.org.uk>
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.
651 2015-06-23 Jon Turney <jon.turney@dronecode.org.uk>
653 * libc/stdlib/stdlib.tex: Include itoa and utoa, and add to menu.
654 * libc/string/strings.tex: Include memrchr and rawmemchr, and add
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.
660 2015-06-23 Jon Turney <jon.turney@dronecode.org.uk>
662 * libc/stdlib/Makefile.am (CHEWOUT_FILES): Remove $(MALLOCR).def.
663 * libc/stdio/Makefile.am (CHEWOUT_FILES): Remove getwc.def and
666 2015-06-23 Jon Turney <jon.turney@dronecode.org.uk>
668 * libc/locale/locale.c: Fix mismatched parentheses in
670 * libc/locale/locale.tex: Ditto.
671 * libc/stdio/fgetwc.c: Ditto.
673 2015-06-23 Jon Turney <jon.turney@dronecode.org.uk>
675 * libc/stdlib/efgcvt.c: Fix typo-ed function names in
677 * libc/stdlib/stdlib.tex: Fix function name in menu to match.
679 2015-06-23 Jon Turney <jon.turney@dronecode.org.uk>
681 * libc/stdio/fread.c: Fix inconsistent use of '.' to separate
682 function names in FUNCTION mark up.
684 2015-06-23 Jon Turney <jon.turney@dronecode.org.uk>
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.
690 2015-06-23 Jon Turney <jon.turney@dronecode.org.uk>
692 * libc/stdio/getchar_u.c: Fix a non-ANSI prototype in SYNOPSIS.
694 2015-06-23 Jon Turney <jon.turney@dronecode.org.uk>
696 * libc/string/wcscpy.c: Remove stray ',' from prototype in
698 * libc/string/wcpcpy.c: Ditto.
700 2015-06-23 Jon Turney <jon.turney@dronecode.org.uk>
702 * libc/stdlib/itoa.c: Fix makedoc markup.
703 * libc/stdlib/wcsnrtombs.c: Ditto.
705 2015-06-23 Jon Turney <jon.turney@dronecode.org.uk>
707 * libc/signal/signal.tex: Use texinfo not makedoc markup.
708 * libc/stdio/stdio.tex: Ditto.
710 2015-06-22 Corinna Vinschen <corinna@vinschen.de>
712 * libc/include/sys/signal.h: Include forgotten sys/cdefs.h.
714 2015-06-20 Corinna Vinschen <corinna@vinschen.de>
716 * libc/include/sys/signal.h: Move altstack macros completely
717 outside of rtems block.
719 2015-06-19 Corinna Vinschen <corinna@vinschen.de>
721 * libc/include/sys/signal.h: Define SS_ONSTACK and SS_DISABLE
723 (sigaltstack): Enable prototype on Cygwin.
725 2015-06-15 Freddie Chopin <freddie_chopin@op.pl>
727 * libc/time/gmtime_r.c (gmtime_r): use faster algorithm from
728 civil_from_days() by Howard Hinnant
730 2015-06-01 Hale Wang <hale.wang@arm.com>
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.
740 2015-06-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
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.
749 2015-05-31 David Stacey <drstacey@tiscali.co.uk>
751 * libc/argz/argz_replace.c (argz_replace): Correct behaviour when memory
754 2015-05-28 Corinna Vinschen <vinschen@redhat.com>
756 * libc/include/sys/wait.h: Fix comment.
758 2015-05-27 David Stacey <drstacey@tiscali.co.uk>
760 * libc/argz/argz_replace.c: Fix potential memory leak.
762 2015-05-26 DJ Delorie <dj@redhat.com>
764 * libm/math/e_sqrt.c (__ieee754_sqrt): Don't truncate constant to
767 2015-05-13 Nick Clifton <nickc@redhat.com>
769 * libm/common/s_signbit.c (__signbitf): Fix for 16-bit targets.
770 (__signbitd): Likewise.
772 2015-05-02 Corinna Vinschen <vinschen@redhat.com>
774 * libc/include/sys/time.h: Include sys/select.h on Cygwin. Explain why.
776 2015-04-29 Corinna Vinschen <vinschen@redhat.com>
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
785 * libc/include/inttypes.h: Ditto. Accommodate aforementioned name
788 2015-04-22 Corinna Vinschen <vinschen@redhat.com>
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.
796 2015-04-09 Nick Clifton <nickc@redhat.com>
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.
810 2015-04-01 Corinna Vinschen <vinschen@redhat.com>
812 * libc/include/stdint.h: Throughout add parens around MIN/MAX values.
814 2015-04-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
816 * libc/include/sys/_stdint.h: New file.
817 * libc/include/stdint.h (int8_t): Move to <sys/_stdint.h>.
820 (uint16_t): Likewise.
822 (uint32_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.
832 2015-04-01 Jon TURNEY <jon.turney@dronecode.org.uk>
834 * libc/include/sys/signal.h (stack_t): Make typedef generally
837 2015-04-01 Corinna Vinschen <vinschen@redhat.com>
839 * libc/stdlib/wctomb_r.c (__utf8_wctomb): Fix check for handling a
842 2015-03-31 Corinna Vinschen <vinschen@redhat.com>
844 * libc/time/lcltime_r.c (localtime_r): Call _tzset_unlocked inside
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).
850 2015-03-31 Corinna Vinschen <vinschen@redhat.com>
852 * libc/time/local.h (_tzset_unlocked_r): Add prototype.
853 (_tzset_unlocked): Ditto.
854 * libc/time/tzset.c (_tzset_unlocked): New function, call
856 (tzset): Lock and call _tzset_unlocked_r.
857 * libc/time/tzset_r (_tzset_unlocked_r): Remove locking and rename
859 (_tzset_r): Lock and call _tzset_unlocked_r.
861 2015-03-30 Craig Howland <howland@LGSInnovations.com>
863 * libc/stdlib/setenv_r.c (_setenv_r): Remove tzset() call for TZ
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.
869 2015-03-30 Yaakov Selkowitz <yselkowi@redhat.com>
871 * libc/time/strftime.c (strftime) <%Z>: Initialize tznam to NULL.
872 Use _tzname as fallback if TM_ZONE is NULL.
874 2015-03-30 Yaakov Selkowitz <yselkowi@redhat.com>
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.
882 2015-03-23 Sebastian Huber <sebastian.huber@embedded-brains.de>
884 * libc/include/sys/tree.h: New file.
886 2013-03-23 Joel Sherrill <joel.sherrill@oarcorp.com>
888 * newlib.hin: Remove _UINTPTR_EQ_ULONG and _UINTPTR_EQ_ULONGLONG.
890 2015-03-23 Joel Sherrill <joel.sherrill@oarcorp.com
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.
899 2015-03-19 Steve Ellcey <sellcey@imgtec.com>
901 * libc/include/sys/time.h: Replace uint32_t and uint64_t
902 with __uint32_t and __uint64_t.
904 2015-03-13 Jon TURNEY <jon.turney@dronecode.org.uk>
906 * libc/libc.texinfo: Fix directory entry.
907 * libm/libm.texinfo: Ditto.
909 2015-03-13 Corinna Vinschen <vinschen@redhat.com>
911 * libc/include/sys/time.h: Drop including cygwin/sys_time.h on Cygwin.
913 2015-03-13 Sebastian Huber <sebastian.huber@embedded-brains.de>
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.
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.
939 2015-03-12 Sebastian Huber <sebastian.huber@embedded-brains.de>
941 * libc/sys/rtems/include/semaphore.h: Import from FreeBSD.
943 2015-03-11 Sebastian Huber <sebastian.huber@embedded-brains.de>
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.
955 2015-03-11 Nick Clifton <nickc@redhat.com>
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.
961 2015-03-05 Craig Howland <howland@LGSInnovations.com>
963 * libc/include/stdio.h (FILE): Protect typedef from redefinition.
964 * libc/include/wchar.h: Ditto.
966 2015-02-25 Gedare Bloom <gedare@rtems.org>
968 * libc/include/machine/time.h (_CLOCKS_PER_SEC_): redefine for RTEMS.
970 2015-03-03 Steve Ellcey <sellcey@imgtec.com>
972 * libc/machine/mips/memset.S: Add support for mips32r6/mips64r6.
974 2015-03-03 Steve Ellcey <sellcey@imgtec.com>
976 * libc/machine/mips/memcpy.S: Add support for mips32r6/mips64r6.
978 2015-02-26 Steve Ellcey <sellcey@imgtec.com>
980 * libc/machine/mips/memcpy.S: Fix macro indentation and typos in
983 2015-02-24 Jon TURNEY <jon.turney@dronecode.org.uk>
985 * libc/include/sys/cdefs.h (_GNU_SOURCE): Move check so it has an
986 effect when _XOPEN_SOURCE is also defined.
988 2015-02-17 Hale Wang <hale.wang@arm.com>
990 * libc/machine/arm/aeabi_memclr.c: New file to support
992 * libc/machine/arm/aeabi_memset.c: New file to support
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.
1001 2015-02-17 Hale Wang <hale.wang@arm.com>
1003 * libc/machine/arm/aeabi_memmove.c: New file to support
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.
1012 2015-02-06 Nick Clifton <nickc@redhat.com>
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
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
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
1042 * libm/complex/cimagl.c: New file. Adds implementation of the
1044 * libm/complex/creall.c: New file. Adds implementation of the
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.
1053 2015-02-04 Corinna Vinschen <vinschen@redhat.com>
1055 * libc/include/wchar.h (wcstold): Drop _LDBL_EQ_DBL requirement for
1058 2015-01-29 Nick Clifton <nickc@redhat.com>
1060 * libc/stdlib/wcstold.c (wcstold): Add implementation for when
1061 long double is not the same as double.
1063 2015-01-28 Christian Eggers <ceggers@gmx.de>
1065 * libc/include/sys/time.h: #include <sys/cdefs.h> for __BSD_VISIBLE.
1067 2015-01-23 Corinna Vinschen <vinschen@redhat.com>
1069 Complete action from 2001-12-18:
1070 * libc/machine/i386/f_*: Remove duplicate files.
1072 2015-01-22 Yaakov Selkowitz <yselkowi@redhat.com>
1074 * libc/sys/sparc64/sys/time.h: #include <sys/types.h> for time_t.
1076 2015-01-22 Stefan Wallentowitz <stefan.wallentowitz@tum.de>
1078 * libc/sys/or1k/mlock.c: Fix dependency on libgloss.
1080 2015-01-21 Eric Botcazou <ebotcazou@adacore.com>
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.
1090 2015-01-20 Stefan Wallentowitz <stefan.wallentowitz@tum.de>
1092 * libc/sys/configure.in: Add OpenRISC.
1093 * libc/sys/configure: Regenerate.
1095 2015-01-20 Wilco Dijkstra <wdijkstr@arm.com>
1097 * libc/machine/aarch64/strlen.S (strlen): Improve performance.
1099 2015-01-20 Stefan Wallentowitz <stefan.wallentowitz@tum.de>
1101 * configure.host: Add extra system for OpenRISC baremetal.
1103 2015-01-14 Joel Sherrill <joel.sherrill@oarcorp.com>
1105 * libc/include/sys/unistd.h [__BSD_VISIBLE]: Add issetugid() prototype.
1107 2015-01-14 Joel Sherrill <joel.sherrill@oarcorp.com>
1109 * doc/makedoc.c: Use uintptr_t to avoid int/pointer size warnings
1111 2015-01-14 Stefan Wallentowitz <stefan.wallentowitz@tum.de>
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
1125 2015-01-12 Renlin Li <renlin.li@arm.com>
1127 * testsuite/newlib.wctype/tiswctype.c (main): Use wide character type
1130 2015-01-08 Corinna Vinschen <vinschen@redhat.com>
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
1138 2015-01-08 Renlin Li <renlin.li@arm.com>
1140 * testsuite/newlib.wctype/twctrans.c (main): Use towlower and towupper.
1142 2015-01-06 Richard Earnshaw <rearnsha@arm.com>
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.
1151 2014-12-26 Freddie Chopin <freddie_chopin@op.pl>
1153 * libc/include/sys/features.h: update newlib version and copyright year
1155 2014-12-18 Jeff Johnston <jjohnstn@redhat.com>
1157 * NEWS: Update with 2.2.0 info.
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
1169 2014-12-18 Yaakov Selkowitz <yselkowi@redhat.com>
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
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.
1234 2014-12-18 Corinna Vinschen <vinschen@redhat.com>
1236 * stdio.tex: Add menu entries for __fsetlocking and stdio_ext.
1237 * stdio_ext.c: Add "stdio_ext" to synopsis.
1239 2014-12-16 DJ Delorie <dj@redhat.com>
1241 * libc/stdlib/nano-mallocr.c (ALIGN_TO): Do not assume that
1242 integers are as big as pointers.
1244 2014-12-16 Richard Earnshaw <rearnsha@arm.com>
1246 * libc/machine/aarch64/strcpy.S: Improve handling of short strings.
1248 2014-12-16 Jon Beniston <jon@beniston.com>
1250 * libc/include/stdlib.h (__itoa): Declare prototype.
1252 (itoa): Ditto, non-strict-ANSI only.
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.
1259 2014-12-15 Jonathan Roelofs <jonathan@codesourcery.com>
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
1271 2014-12-15 Yaakov Selkowitz <yselkowi@redhat.com>
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
1284 Define all locking macros as empty if __SINGLE_THREAD__.
1285 * libc/stdio/stdio.tex: Include fsetlocking.def.
1287 2014-12-15 Nick Hung <nick@andestech.com>
1289 * newlib/libc/include/machine/setjmp.h: Add FPU support.
1290 * newlib/libc/machine/nds32/setjmp.S: Add FPU support.
1292 2014-12-15 Nick Hung <nick@andestech.com>
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.
1305 2014-12-15 Corinna Vinschen <vinschen@redhat.com>
1307 * libc/include/stdlib.h: Include sys/cdefs.h to avoid undefined
1310 2014-12-12 Stefan Wallentowitz <stefan.wallentowitz@tum.de>
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
1316 2014-12-12 Stefan Wallentowitz <stefan.wallentowitz@tum.de>
1318 * libc/machine/or1k/setjmp.S: Remove save/restore of r3-r8
1320 2014-12-11 Jonathan Roelofs <jonathan@codesourcery.com>
1321 Corinna Vinschen <vinschen@redhat.com>
1323 * libc/include/stdio.h: Fix type signature of __sfeof and __sferror
1326 2014-12-11 Yaakov Selkowitz <yselkowi@redhat.com>
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.
1337 2014-12-04 Corinna Vinschen <vinschen@redhat.com>
1339 * libc/include/stdio_ext.h: Remove excess "inline".
1341 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
1343 * libc/machine/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
1346 2014-12-08 Richard Earnshaw <rearnsha@arm.com>
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.
1353 2014-12-07 Freddie Chopin <freddie_chopin@op.pl>
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()
1359 2014-12-05 Yaakov Selkowitz <yselkowi@redhat.com>
1361 * libc/include/stdlib.h (__bsd_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.
1374 2014-12-04 Ulrich Weigand <uweigand@de.ibm.com>
1375 Corinna Vinschen <vinschen@redhat.com>
1377 * libc/include/sys/signal.h [__SPU__] (kill): Declare.
1379 2014-12-03 Jeff Johnston <jjohnstn@redhat.com>
1381 * libc/include/inttypes.h: Only enable the 8-bit scanning macros
1382 if _WANT_IO_C99_FORMATS is defined by configuration. Add comment
1385 2014-11-28 Matthew Fortune <matthew.fortune@imgtec.com>
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
1393 2014-11-26 Hale Wang <hale.wang@arm.com>
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.
1400 2014-11-25 Corinna Vinschen <vinschen@redhat.com>
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.
1406 2014-11-23 Joel Sherrill <joel.sherrill@oarcorp.com>
1408 * libc/include/sys/resource.h: Add prototype for getrusage()
1411 2014-11-21 Nick Clifton <nickc@redhat.com>
1414 * configure.host (msp430): Add -mhwmult=none to newlib_cflags.
1416 2014-11-20 Peter A. Bigot <pab@pabigot.com>
1418 * libc/stdio/nano-vfprintf_i.c (_printf_i): Use LONGINT when void* is
1421 2014-11-20 Sebastian Huber <sebastian.huber@embedded-brains.de>
1423 * libc/sys/rtems/sys/syslimits.h (NGROUPS_MAX): Adjust value so
1424 that NGROUPS is even.
1426 2014-11-12 Jon Beniston <jon@beniston.com>
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
1432 2014-11-10 Richard Earnshaw <rearnsha@arm.com>
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.
1439 2014-11-06 Joel Sherrill <joel.sherrill@oarcorp.com>
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.
1446 2014-11-06 Terry Guo <terry.guo@arm.com>
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.
1452 2014-10-29 Jon Turney <jon.turney@dronecode.org.uk>
1454 * libc/include/string.h: Correct guard for strcasecmp().
1456 2014-10-29 Terry Guo <terry.guo@arm.com>
1458 * libc/stdio/vfprintf.c (_VFPRINTF_R): Remove unnecessary comparison.
1460 2014-10-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
1462 * libc/include/sys/unistd.h (sethostname): Declare if
1465 2014-10-20 Freddie Chopin <freddie_chopin@op.pl>
1467 * libc/time/gmtime_r.c (gmtime_r): Remove dead code.
1469 2014-10-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
1471 * libc/unix/getcwd.c (getcwd): Close directory also in case of an error.
1473 2014-10-10 Thomas Uhle <thomas.uhle@eas.iis.fraunhofer.de>
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.
1480 2014-10-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
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.
1495 2014-10-09 Freddie Chopin <freddie_chopin@op.pl>
1497 * libc/string/memccpy.c (memccpy): Fix warning about signed-unsigned
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"
1508 * libc/string/rawmemchr.c (rawmemchr): Fix comment type
1509 "// ..." -> "/* ... */".
1511 2014-10-08 Steve Ellcey <sellcey@mips.com>
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.
1519 2014-10-08 Corinna Vinschen <vinschen@redhat.com>
1521 * libc/include/string.h (ffsl): Declare as GNU function.
1524 2014-09-17 Jeff Johnston <jjohnstn@redhat.com>
1526 * libc/include/sys/features.h: Add __NEWLIB__ and
1527 __NEWLIB_MINOR__ macros.
1529 2014-09-17 Joel Sherrill <joel.sherrill@oarcorp.com>
1530 Thomas Uhle <thomas.uhle@eas.iis.fraunhofer.de>
1532 * libc/include/string.h: Correct guard for strnlen().
1534 2014-09-15 Jeff Johnston <jjohnstn@redhat.com>
1536 * libc/time/month_lengths.c: Fix to define __month_lengths.
1538 2014-09-12 Jeff Johnston <jjohnstn@redhat.com>
1540 * libc/time/tzcalc_limits.c: Fix __month_lengths reference.
1542 2014-09-12 Jeff Johnston <jjohnstn@redhat.com>
1544 * libc/time/month_lengths.c: Actually add file this time.
1545 * libc/time/tzcalc_limits.c: Ditto.
1547 2014-09-11 Freddie Chopin <freddie_chopin@op.pl>
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
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
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.
1565 2014-09-08 Freddie Chopin <freddie_chopin@op.pl>
1567 * libc/machine/arm/Makefile.am: Fix typo.
1568 * libc/machine/arm/Makefile.in: Regenerated.
1570 2014-09-05 Hale Wang <hale.wang@arm.com>
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.
1583 2014-09-05 Bin Cheng <bin.cheng@arm.com>
1585 * libc/stdio/findfp.c (_cleanup_r): Call _fflush_r when configuration
1586 option "--enable-lite-exit" is in effect. Refactor the code.
1588 2014-09-05 Bin Cheng <bin.cheng@arm.com>
1590 * libc/stdio/fwalk.c (_fwalk_reent): Remove redundant test.
1592 2014-09-04 Freddie Chopin <freddie_chopin@op.pl>
1594 * libc/time/mktm_r.c (_mktm_r): Optimize speed.
1596 2014-09-04 Freddie Chopin <freddie_chopin@op.pl>
1598 * libc/time/clock.c (clock): Fix warnings about signed-unsigned
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.
1604 2014-09-04 Hale Wang <hale.wang@arm.com>
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.
1611 2014-08-27 DJ Delorie <dj@redhat.com>
1613 * libc/include/math.h (frexpl): Remove parameter name.
1615 2014-08-19 Richard Earnshaw <rearnsha@arm.com>
1617 * libc/machine/aarch64/memchr.S: Add check for zero-sized buffer.
1619 2014-08-18 Corinna Vinschen <vinschen@redhat.com>
1621 * libc/include/sys/signal.h: Declare sigaltstack for RTEMS only.
1623 2014-08-18 Jeff Johnston <jjohnstn@redhat.com>
1625 * libc/include/sys/config.h[__m68k__]: Set _READ_WRITE_RETURN_TYPE
1626 to _ssize_t to match underlying code in libgloss.
1628 2014-08-18 Joel Sherrill <joel.sherrill@oarcorp.com>
1630 * libc/include/string.h: Improve language and OS standard guards.
1632 2014-08-18 Joel Sherrill <joel.sherrill@oarcorp.com>
1634 * libc/include/sys/signal.h: Add sigaltstack() support.
1636 2014-08-14 Bin Cheng <bin.cheng@arm.com>
1638 * libc/stdio/findfp.c (std): Don't inline when optimizing for code size.
1640 2014-08-04 Jon TURNEY <jon.turney@dronecode.org.uk>
1642 * libc/include/math.h: Also define M_PI etc. if _XOPEN_SOURCE is
1643 defined appropriately.
1645 2014-08-01 Eric Blake <eblake@redhat.com>
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.
1666 2014-07-30 Corinna Vinschen <vinschen@redhat.com>
1668 * libc/string/strerror.c: Fix documentation so makedoc doesn't
1669 stumble over a sole EAGAIN.
1671 2014-07-27 Anthony Green <green@moxielogic.com>
1673 * configure.host: Add moxie-*-moxiebox target.
1675 2014-07-22 Joel Sherrill <joel.sherrill@oarcorp.com>
1677 * libc/include/sys/time.h: Add prototype for adjtime() and
1678 wrap it and settimeofday() prototype with __BSD_VISIBLE.
1680 2014-07-17 Hesham ALMatary <heshamelmatary@gmail.com>
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.
1692 2014-07-14 Nick Withers <nick.withers@anu.edu.au>
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.
1699 2014-07-11 Kévin Petit <kevin.petit@arm.com>
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.
1706 2014-07-07 Pavel Pisa <pisa@cmp.felk.cvut.cz>
1707 Richard Earnshaw <rearnsha@arm.com>
1709 * libc/machine/arm/memchr.S (.arch): Require revision ARMv6t2.
1711 2014-07-07 Corinna Vinschen <vinschen@redhat.com>
1713 * configure.in (--enable-newlib-nano-formatted-io): Set to "no"
1715 * configure: Regenerated.
1717 2014-07-04 Bin Cheng <bin.cheng@arm.com>
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.
1757 2014-06-23 Corinna Vinschen <vinschen@redhat.com>
1759 * libc/argz/envz_merge.c (envz_merge): Fix memory leak (Cygwin Coverity
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).
1766 2014-06-11 Richard Earnshaw <rearnsha@arm.com>
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.
1773 2014-06-10 Richard Earnshaw <rearnsha@arm.com>
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.
1780 2014-06-09 DJ Delorie <dj@redhat.com>
1782 * configure.host (default_newlib_nano_malloc): New.
1784 * configure.in (newlib_nano_malloc): Leave unset if not set by
1786 * configure: Regenerate.
1787 * libc/configure.in (NEWLIB_NANO_MALLOC): Set after running
1789 (newlib_nano_malloc): Leave unset if not set by the user.
1790 * libc/configure: Regenerate.
1792 2014-05-15 Daniel Cederman <cederman@gaisler.com>
1794 * libc/machine/sparc/setjmp.S (longjmp): Use register g1 instead of g6.
1796 2014-05-14 Kaushik Phatak <Kaushik.Phatak@kpit.com>
1798 * libc/include/machine/ieeefp.h: Define _DOUBLE_IS_32BITS when double
1799 options is not __RL78_64BIT_DOUBLES__.
1801 2014-05-12 Corinna Vinschen <vinschen@redhat.com>
1803 * libc/include/stdint.h (WCHAR_MIN): Copy definition from wchar.h.
1805 * libc/include/wchar.h (WCHAR_MIN): Add comment.
1808 2014-05-09 Corinna Vinschen <vinschen@redhat.com>
1810 * libc/include/stdio.h (tempnam): Declare as __BSD_VISIBLE or
1811 __XSI_VISIBLE or if __POSIX_VISIBLE >= 200112.
1813 2014-05-09 Corinna Vinschen <vinschen@redhat.com>
1815 * libc/include/stdio.h (fcloseall): Declare as __GNU_VISIBLE only.
1816 (renameat): Drop explicit __CYGWIN__ dependency.
1818 2014-05-05 Corinna Vinschen <vinschen@redhat.com>
1820 * libc/include/stdio.h: Declare various C99 printf/scanf functions for
1823 2014-04-22 Richard Earnshaw <rearnsha@arm.com>
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
1833 * libc/machine/arm/Makefile.am (strcmp.o, strcmp.obj): Add
1835 * libc/machine/arm/Makefile.in: Regenerated.
1837 2014-04-14 Sebastian Huber <sebastian.huber@embedded-brains.de>
1839 * libc/sys/rtems/sys/cpuset.h (CPU_SET_S): Add const qualifier.
1840 (CPU_SET): Likewise.
1842 2014-04-09 DJ Delorie <dj@redhat.com>
1844 * libc/machine/rl78/setjmp.S: Add RL78/G10 support.
1846 2014-04-04 Ashish Kapania <akapania@ti.com>
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
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.
1857 2014-03-27 Richard Earnshaw <rearnsha@arm.com>
1859 * libc/machine/arm/acle-compat.h: New file.
1860 * libc/machine/arm/arm_asm.h: Use it.
1862 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
1864 * libc/stdlib/gd_qnan.h (f_QNAN, d_QNAN0, d_QNAN1): Add MIPS
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):
1869 * libc/stdlib/ldtoa.c (nan113, nan64, nan53, nan24): Add MIPS
1871 (enan): Handle legacy MIPS payloads.
1872 * libm/common/s_nan.c (nan): Use __builtin_nan if supported by
1874 * libm/common/sf_nan.c (nanf): Likewise.
1876 2014-03-21 Sabrina Ni <sabrinanitw@gmail.com>
1878 * libc/machine/nds32/configure: Regenerated.
1879 * libc/machine/nds32/configure.in: Add AC_NOEXECUTABLES.
1881 2014-03-21 Sabrina Ni <sabrinanitw@gmail.com>
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.
1889 2014-03-21 Sabrina Ni <sabrinanitw@gmail.com>
1891 * libc/machine/nds32/setjmp.S: Keep jmp_buff sync with GDB.
1893 2014-03-21 Sabrina Ni <sabrinanitw@gmail.com>
1895 * libc/machine/nds32/setjmp.S: Optimize.
1897 2014-03-07 Corinna Vinschen <vinschen@redhat.com>
1898 Jeff Johnston <jjohnstn@redhat.com>
1900 * libc/include/stdlib.h (strtold): Define if _HAVE_LONG_DOUBLE is
1902 * libc/stdlib/strtold.c (strtold): Ditto. Call strtod on systems
1903 with long double == double, _strtold otherwise.
1905 2014-03-05 Corinna Vinschen <vinschen@redhat.com>
1907 * libc/include/time.h (__TM_GMTOFF): Remove Cygwin-specific definition.
1910 2014-03-05 Corinna Vinschen <vinschen@redhat.com>
1912 * libc/include/time.h (__TM_GMTOFF): Define on Cygwin.
1914 (struct tm): Add __TM_GMTOFF and __TM_ZONE members if they are defined.
1916 2014-03-04 Ed Nelson <ed@nelson305.com>
1918 * libc/include/machine/_default_types.h: Define unsigned type using
1919 signed type macros in case unsigned type macros are not available.
1921 2014-02-20 Agustin Henze <tin@sluc.org.ar>
1923 * libm/complex/complex.tex: Fix wrong syntax in documentation.
1924 * libm/math/math.tex: Ditto.
1926 2014-02-20 Corinna Vinschen <vinschen@redhat.com>
1928 * libc/stdio/open_memstream.c (internal_open_memstream_r): Initialize
1931 2014-02-11 Joey Ye <joey.ye@arm.com>
1933 * libc/sys/arm/syscalls.c (_sbrk): Define as weak symbols.
1934 (_read, _write): Ditto.
1936 2014-02-09 Corinna Vinschen <vinschen@redhat.com>
1938 * libc/include/pwd.h: Include <sys/cdefs.h>.
1939 * libc/include/grp.h: Ditto.
1941 2014-02-04 Matthias Braun <matze@braunis.de>
1943 * libm/mathfp/sf_numtest.c: Fix NaN/Inf detection logic.
1945 2014-01-20 Corinna Vinschen <vinschen@redhat.com>
1947 * libc/include/setjmp.h (longjmp): Fix copy/paste error.
1949 2014-01-19 Corinna Vinschen <vinschen@redhat.com>
1951 * libc/include/setjmp.h (longjmp): Mark "noreturn" when building with
1954 2014-01-17 Corinna Vinschen <vinschen@redhat.com>
1956 * libc/include/pwd.h: Use __foo_VISIBLE macros from sys/cdefs.h.
1957 (setpassent): Declare.
1959 2014-01-17 Sebastian Huber <sebastian.huber@embedded-brains.de>
1961 * libc/include/sys/_default_fcntl.h (LOCK_SH): Define.
1962 (LOCK_EX): Likewise.
1963 (LOCK_NB): Likewise.
1964 (LOCK_UN): Likewise.
1967 2014-01-17 Corinna Vinschen <vinschen@redhat.com>
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
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
1982 2014-01-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
1984 * libc/include/sys/_default_fcntl.h (AT_FDCWD): Define according
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.
2002 (readlinkat): Likewise.
2003 (symlinkat): Likewise.
2004 (unlinkat): Likewise.
2006 2014-01-06 Mike Frysinger <vapier@gentoo.org>
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.
2014 2014-01-06 Mike Frysinger <vapier@gentoo.org>
2016 * libc/ctype/jp2uc.c: Include string.h.
2018 2013-12-23 Jeff Johnston <jjohnstn@redhat.com>
2020 * NEWS: Update with 2.1.0 info.
2022 * acinclude.m4: Change version number to 2.1.0.
2023 * aclocal.m4: Regenerated.
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
2036 2013-12-22 JF Bastien <jfb@chromium.org>
2038 * libc/include/limits.h: Define LLONG_MIN, LLONG_MAX and ULLONG_MAX
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.
2047 2013-12-20 Nick Clifton <nickc@redhat.com>
2049 * configure.host (newlib_cflags): Use -Os, -ffunction-sections and
2050 -fdata-sections for RL78.
2052 2013-12-19 Corinna Vinschen <vinschen@redhat.com>
2054 * libc/stdio/vfwscanf.c (__SVFWSCANF_R): Fix fetching decimal_point in
2055 !_MB_CAPABLE as well as in !__HAVE_LOCALE_INFO_EXTENDED__ case.
2057 2013-12-18 Corinna Vinschen <vinschen@redhat.com>
2059 * libc/stdio/vfscanf.c (BUF): Change definition to take multibyte
2060 decimal point into account.
2061 (__SVFSCANF_R): Handle radix char language-dependent
2063 * libc/stdio/vfwscanf.c (__SVFWSCANF_R): Ditto.
2065 2013-12-10 Jeff Johnston <jjohnstn@redhat.com>
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.
2077 2013-12-10 Chirayu Desai <chirayudesai1@gmail.com>
2079 * libc/sys/rtems/include/limits.h: Update page size to match
2080 libc/sys/rtems/machine/param.h.
2082 2013-12-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
2084 * libc/sys/rtems/sys/cpuset.h: Use __inline instead of inline.
2086 2013-12-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
2088 * libc/include/machine/_default_types.h: Move extern "C" after
2089 header includes. Include <sys/features.h> for
2091 (__u?int.*_t): Define via GCC provided __U?INT.*_TYPE__ if
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)__
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.
2110 2013-11-29 Sebastian Huber <sebastian.huber@embedded-brains.de>
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.
2123 2013-11-29 Jennifer Averett <jennifer.averett@oarcorp.com>
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.
2136 2013-11-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
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
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.
2178 2013-11-27 Matheus Almeida <Matheus.Almeida@imgtec.com>
2180 * libc/machine/mips/setjmp.S: Fix definition of macro FPR_LAYOUT
2183 2013-11-26 Matheus Almeida <Matheus.Almeida@imgtec.com>
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.
2190 2013-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
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.
2201 2013-11-26 Julio Gutierrez <jgutleyva@gmail.com>
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.
2242 2013-11-26 Corinna Vinschen <vinschen@redhat.com>
2244 * libc/posix/posix_spawn.c: Drop using namespace.h.
2246 2013-11-26 Corinna Vinschen <vinschen@redhat.com>
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.
2256 2013-11-25 Joel Sherrill <joel.sherrill@oarcorp.com>
2258 * libc/iconv/lib/iconv.c, libc/time/strftime.c: Change "restrict<" to
2259 "restrict <" to fix formatting.
2261 2013-11-25 Corinna Vinschen <vinschen@redhat.com>
2263 * libc/include/spawn.h (posix_spawn_file_actions_destroy): Fix typo
2265 * libc/posix/posix_spawn.c (posix_spawn_file_actions_destroy): Ditto.
2267 2013-11-25 Sahil Patnayakuni <sahil.patnayakuni@gmail.com>
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>
2280 * libc/include/wordexp.h (wordexp): Add restrict keyword.
2281 * libc/posix/wordexp.c (wordexp): Ditto.
2283 2013-11-22 Bryan Dunsmore <dunsmoreb@gmail.com>
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.
2290 2013-11-22 Chirayu Desai <chirayudesai1@gmail.com>
2292 * libc/include/sys/unistd.h (readlink): Add restrict keyword.
2293 (readlinkat): Ditto.
2295 * libc/sys/rdos/readlink.c (readlink): Ditto.
2296 * libc/string/swab.c (swab): Ditto.
2298 2013-11-21 Daniel Ramirez <javamonn@gmail.com>
2300 * libc/sys/linux/statvfs.c (statvfs): Added restrict keyword.
2302 2013-11-21 Joel Sherrill <joel.sherrill@oarcorp.com>
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.
2313 2013-11-21 Julio Gutierrez <jgutleyva@gmail.com>
2315 * libc/include/glob.h (glob): Add restrict keyword.
2316 * libc/posix/glob.c (glob): Ditto.
2318 2013-11-21 Joel Sherrill <joel.sherrill@oarcorp.com>
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.
2326 2013-11-21 Joel Sherrill <joel.sherrill@oarcorp.com>
2328 * libc/sys/rdos/stat.c: Remove stray +.
2330 2013-11-21 Daniel Ramirez <javamonn@gmail.com>
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.
2336 2013-11-20 Daniel Ramirez <javamonn@gmail.com>
2338 * libc/include/search.h, libc/search/tdelete.c: Add restrict keyword.
2340 2013-11-20 Chirayu Desai <chirayudesai1@gmail.com>
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.
2346 2013-11-20 Daniel Ramirez <javamonn@gmail.com>
2348 * libc/iconv/lib/iconv.c, libc/include/iconv.h,
2349 libc/sys/linux/iconv/iconv.c: Add restrict keyword.
2351 2013-11-20 Corinna Vinschen <vinschen@redhat.com>
2353 * libc/include/stdlib.h: Declare realpath only if !__STRICT_ANSI__.
2355 2013-11-19 Jennifer Averett <jennifer.averett@oarcorp.com>
2357 * libc/sys/rtems/sys/cpuset.h: New file.
2359 2013-11-19 Joel Sherrill <joel.sherrill@oarcorp.com>
2361 * libc/include/stdlib.h: Add prototype of realpath().
2362 * libc/sys/linux/realpath.c: Add restrict keyword.
2364 2013-11-19 Joel Sherrill <joel.sherrill@oarcorp.com>
2366 * libm/common/modfl.c: Add cast to remove compiler warning.
2368 2013-11-19 Terraneo Federico <fede.tft@hotmail.it>
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.
2375 2013-11-18 Sahil Patnayakuni <sahilp@oarcorp.com>
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.
2398 2013-11-18 Sahil Patnayakuni <sahilp@oarcorp.com>
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.
2409 2013-11-18 Marcus Shawcroft <marcus.shawcroft@arm.com>
2411 * libc/include/sys/unistd.h (ftruncate, truncate): Define
2414 2013-11-13 Gregory Pietsch <gpietsch@comcast.net>
2416 * newlib/libc/stdlib/getopt.c (getopt_internal): Add missing braces.
2418 2013-11-13 Freddie Chopin <freddie_chopin@op.pl>
2420 * newlib/libc/include/getopt.h (struct option): name field should be
2422 * newlib/libc/stdlib/getopt.c (getopt_internal): Use fputs()/fputc()
2423 instead of fprintf() to save code space. Fix signed/unsigned
2426 2013-11-12 Sebastian Huber <sebastian.huber@embedded-brains.de>
2428 * libc/libc/stdlib/getopt.c (getopt_internal): Fix NULL pointer access.
2430 2013-11-08 Terry Guo <terry.guo@arm.com>
2432 * libm/libm.texinfo: Rename node Index to Document Index.
2434 2013-11-08 Corinna Vinschen <vinschen@redhat.com>
2436 * libc/libc.texinfo: Rename node Library Index to Document Index.
2438 2013-11-04 Terraneo Federico <fede.tft@hotmail.it>
2440 * libc/stdio/fvwrite.c: Allow writing in larger chunks for fully
2441 buffered and unbuffered files, to improve write performance.
2443 2013-10-31 Terraneo Federico <fede.tft@hotmail.it>
2445 * libc/stdio/fvwrite.h: change type of uio_resid from int to size_t to
2446 fix fwrite() of > 2GByte buffers.
2448 2013-10-30 Joey Ye <joey.ye@arm.com>
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.
2461 2013-10-30 Sebastian Huber <sebastian.huber@embedded-brains.de>
2463 * libc/include/machine/_default_types.h: Revert change from 2013-10-10.
2465 2013-10-24 Hans-Peter Nilsson <hp@axis.com>
2467 * libc/include/stdio.h [!__LARGE64_FILES] (funopen): Fix typo
2470 2013-10-23 Corinna Vinschen <vinschen@redhat.com>
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.
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.
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.
2498 * libc/stdio/funopen.c (funread): Ditto.
2502 * libc/stdio/open_memstream.c (memwriter): Ditto.
2503 * libc/stdio/stdio.c (__sread): Ditto.
2504 (__seofread): Ditto.
2506 * libc/stdio64/stdio64.c (__swrite64): Ditto.
2508 2013-10-18 Joey Ye <joey.ye@arm.com>
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
2516 2013-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
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.
2523 2013-10-10 Sebastian Huber <sebastian.huber@embedded-brains.de>
2525 * libc/libc/sys/rtems/sys/param.h: Update some parameters to
2526 the latest FreeBSD values.
2528 2013-10-10 Sebastian Huber <sebastian.huber@embedded-brains.de>
2530 * libc/sys/rtems/machine/_types.h (_HAVE_SYSTYPES): Define.
2532 2013-10-10 Sebastian Huber <sebastian.huber@embedded-brains.de>
2534 * libc/sys/rtems/include/limits.h (_POSIX_HOST_NAME_MAX):
2537 2013-10-10 Sebastian Huber <sebastian.huber@embedded-brains.de>
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
2544 2013-10-10 Sebastian Huber <sebastian.huber@embedded-brains.de>
2546 * libc/sys/rtems/machine/_types.h (_ssize_t): Delete.
2547 (__ssize_t_defined) Likewise.
2549 2013-10-30 Sebastian Huber <sebastian.huber@embedded-brains.de>
2551 * libc/include/machine/_default_types.h: Revert change from 2013-10-10.
2553 2013-10-10 Sebastian Huber <sebastian.huber@embedded-brains.de>
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.
2571 2013-10-10 Sebastian Huber <sebastian.huber@embedded-brains.de>
2573 * libc/include/paths.h (_PATH_DEVNULL): Define.
2574 (_PATH_DEVZERO): Likewise.
2576 2013-10-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
2578 * testsuite/newlib.wctype/twctype.c (main): Update
2579 iswprint(0xce2) test case.
2581 2013-10-03 Steve Ellcey <sellcey@mips.com>
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.
2588 2013-10-01 Petr Hosek <phosek@chromium.org>
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.
2597 2013-09-13 Joey Ye <joey.ye@arm.com>
2599 * libc/stdlib/nano-mallocr.c (nano_allopt): Typo fixed to ...
2600 (nano_mallopt): ... this.
2602 2013-09-12 Sebastian Huber <sebastian.huber@embedded-brains.de>
2604 * libc/include/sys/cdefs.h: Synchronize with latest FreeBSD
2606 * libc/include/stdatomic.h: Likewise.
2608 2013-09-08 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
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.
2615 2013-08-19 Meador Inge <meadori@codesourcery.com>
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.
2621 2013-08-12 Bin Cheng <bin.cheng@arm.com>
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.
2628 2013-08-12 Yufeng Zhang <Yufeng.Zhang@arm.com>
2630 * libc/sys/arm/crt0.S: Remove 'start'.
2632 2013-08-08 Freddie Chopin <freddie_chopin@op.pl>
2634 * libc/string/strncat.c: Fix typo in documentation.
2636 2013-08-01 Corinna Vinschen <vinschen@redhat.com>
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.
2645 (__fpending): Ditto.
2647 2013-07-23 Sahil Patnayakuni <sahilp@rtems.org>
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.
2653 2013-07-23 Sahil Patnayakuni <sahilp@rtems.org>
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.
2663 2013-07-18 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
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.
2669 2013-07-17 Janis Johnson <janisjo@codesourcery.com>
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.
2677 2013-07-16 David Holsgrove <david.holsgrove@xilinx.com>
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.
2686 2013-07-09 Sabrina Ni <sabrina@andestech.com>
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}:
2694 2013-07-09 Sabrina Ni <sabrina@andestech.com>
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):
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.
2710 2013-07-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
2712 * libc/include/sys/config.h (__DYNAMIC_REENT__): Define for RTEMS.
2714 2013-07-09 Bin Cheng <bin.cheng@arm.com>
2716 * libc/stdio/fwalk.c (_fwalk): Remove redundant test.
2718 2013-07-05 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
2720 * libc/include/sys/types.h (u_char): Add redefinition guard.
2721 (u_short, u_int, u_long, caddr_t, daddr_t): Ditto.
2723 2013-07-02 Joey Ye <joey.ye@arm.com>
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
2736 * libc/stdlib/exit.c (exit)[_LITE_EXIT]: Remove TWS and weakly reference
2739 2013-07-02 Jeff Johnston <jjohnstn@redhat.com>
2741 * libc/include/sys/reent.h: Fix typo in comment.
2743 2013-07-01 Will Newton <will.newton@linaro.org>
2745 * libc/machine/arm/memcpy-armv7a.S: Adjust entry to
2746 aligned loop to improve misaligned copy performance.
2748 2013-06-26 Jeff Johnston <jjohnstn@redhat.com>
2750 * libc/include/stdio.h: Specify std streams always in terms
2752 * libc/include/wchar.h: Ditto.
2753 * libc/include/sys/reent.h: Remove _RENT_ONLY check around
2754 setting of _REENT macro.
2756 2013-06-24 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
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.
2764 2013-06-24 Terraneo Federico <fede.tft@hotmail.it>
2766 * libc/reent/reent.c (_reclaim_reent): Free also _misc and
2769 2013-06-24 Terraneo Federico <fede.tft@hotmail.it>
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.
2775 2013-06-21 Will Newton <will.newton@linaro.org>
2777 * libc/machine/arm/strlen-armv7.S: Import latest strlen
2778 code from Linaro cortex-strings.
2780 2013-06-21 Will Newton <will.newton@linaro.org>
2782 * MAINTAINERS: Add Will Newton to Write After Approval.
2784 2013-06-19 Bin Cheng <bin.cheng@arm.com>
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.
2795 2013-06-19 Terraneo Federico <fede.tft@hotmail.it>
2797 * libc/posix/readdir_r.c: Fix potential read past dirp->dd_buf.
2799 2013-06-13 Bir Cheng <bin.cheng@arm.com>
2801 * README: Add description for NEWLIB's feature customizing
2802 configuration options.
2804 2013-06-10 Terraneo Federico <fede.tft@hotmail.it>
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.
2824 * libc/stdlib/mprec.h (__get_hexdig): Define.
2825 (gethex): Constify args in declaration where appropriate.
2827 (hexdig_init): Remove declaration.
2828 (__hexdig_fun): Declare.
2829 * libc/stdlib/strtod.c (fpi): Constify.
2832 2013-06-07 Sebastian Huber <sebastian.huber@embedded-brains.de>
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.
2840 2013-06-05 Joey Ye <joey.ye@arm.com>
2842 * libc/machine/arm/strcmp.S: Use local labels.
2844 2013-06-03 Joey Ye <joey.ye@arm.com>
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
2853 * newlib/libc/machine/arm/memcpy-armv7a.S: ... here. Remove
2854 redundant architecture check.
2856 2013-05-30 Jeff Johnston <jjohnstn@redhat.com>
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.
2862 2013-05-29 Joey Ye <joey.ye@arm.com>
2863 Bin Cheng <bin.cheng@arm.com>
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.
2874 2013-05-28 Richard Earnshaw <rearnsha@arm.com>
2876 * libc/machine/arm/strcpy.S: Explicitly set build attributes when
2877 building for thumb1 targets.
2879 2013-05-22 Corinna Vinschen <vinschen@redhat.com>
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.
2891 2013-05-22 Corinna Vinschen <vinschen@redhat.com>
2893 * libc/include/sys/cdefs.h (_Static_assert): Accommodate gcc >= 4.6.
2895 2013-05-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
2897 * libc/reent/reent.c (_wrapup_reent): Remove.
2899 2013-05-13 DJ Delorie <dj@delorie.com>
2900 Nick Clifton <nickc@redhat.com>
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.
2911 2013-05-10 Freddie Chopin <freddie_chopin@op.pl>
2913 * configure.in: Fix help text for disable-newlib-atexit-dynamic-alloc option.
2914 * configure: Regenerated.
2916 2013-05-07 Sebastian Huber <sebastian.huber@embedded-brains.de>
2918 * libc/include/sys/config.h (_REENT_GLOBAL_ATEXIT): Define for
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
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.
2931 2013-05-07 Sebastian Huber <sebastian.huber@embedded-brains.de>
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.
2942 2013-05-07 Sebastian Huber <sebastian.huber@embedded-brains.de>
2944 * libc/stdlib/__atexit.c (__atexit_lock): Declare.
2945 * libc/stdlib/__call_atexit.c (__atexit_lock): Define.
2947 2013-05-06 Sandra Loosemore <sandra@codesourcery.com>
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):
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.
2963 2013-04-29 Sebastian Huber <sebastian.huber@embedded-brains.de>
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.
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.
3007 2013-04-29 Sebastian Huber <sebastian.huber@embedded-brains.de>
3009 * libc/include/sys/reent.h (_REENT_INIT_PTR): Reduce code size.
3011 2013-04-29 Freddie Chopin <freddie_chopin@op.pl>
3013 * libc/libc.texinfo: Fix @ references and change ifinfo to be
3015 * libm/libm.texinfo: Ditto.
3017 2013-04-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
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.
3022 2013-04-24 Corinna Vinschen <vinschen@redhat.com>
3023 Nick Clifton <nickc@redhat.com>
3025 * libc/stdlib/strtod.c: Manual update to latest algorithm from NetBSD.
3027 2013-04-23 Corinna Vinschen <vinschen@redhat.com>
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.
3039 2013-04-22 Sebastian Huber <sebastian.huber@embedded-brains.de>
3041 * libc/include/sys/cdefs.h: Align with latest FreeBSD file header.
3042 * libc/include/sys/features.h (__GNUC_PREREQ__): Define.
3044 2013-04-19 Corinna Vinschen <vinschen@redhat.com>
3046 * newlib/libc/search/hash.c: Revert patch from 2012-08-08.
3048 2013-04-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
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().
3083 2013-04-12 Will Newton <will.newton@linaro.org>
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.
3090 2013-04-12 Bin Cheng <bin.cheng@arm.com>
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.
3105 2012-04-11 Jon TURNEY <jon.turney@dronecode.org.uk>
3107 * libc/include/stdlib.h (strtof, strtoll, strtoull, strtold): Also
3108 prototype if C++11 or later.
3110 2013-04-10 Bin Cheng <bin.cheng@arm.com>
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.
3122 2013-04-08 Matthew Gretton-Dann <matthew.gretton-dann@linaro.org>
3124 * libc/stdio/vfieeefp.h (ldieee): Fix typo.
3126 2013-04-02 Sebastian Huber <sebastian.huber@embedded-brains.de>
3128 * libc/posix/scandir.c (DIRSIZ): Use offsetof instead of magic
3131 2013-03-27 Bin Cheng <bin.cheng@arm.com>
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.
3148 2013-03-26 Sebastian Huber <sebastian.huber@embedded-brains.de>
3150 * libc/stdio/local.h (_STDIO_WITH_THREAD_CANCELLATION_SUPPORT):
3152 * libc/stdio/fclose.c: Use
3153 _STDIO_WITH_THREAD_CANCELLATION_SUPPORT.
3154 * libc/stdio/freopen.c: Likewise.
3155 * libc/stdio64/freopen64.c: Likewise.
3157 2013-03-15 Sebastian Huber <sebastian.huber@embedded-brains.de>
3159 * newlib/libc/stdio/findfp.c (glue_with_file): New.
3160 (__sfmoreglue): Use glue_with_file to avoid alignment problems.
3162 2013-02-28 Corinna Vinschen <vinschen@redhat.com>
3164 * libc/include/machine/setjmp.h (sigjmp_buf): Fix definition of
3165 sigjmp_buf size if _JBTYPE is defined.
3167 2013-02-26 Corinna Vinschen <vinschen@redhat.com>
3169 * libc/include/malloc.h (struct mallinfo): Convert type of all members
3170 to size_t to match all targets.
3172 2013-02-20 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
3173 Joseph S. Myers <joseph@codesourcery.com>
3175 * libc/include/sys/_types.h (_ssize_t): Define as signed equivalent of
3178 2013-02-19 Steve Ellcey <sellcey@mips.com>
3180 * libc/machine/mips/memcpy.S: Fix USE_PREFETCH check.
3182 2013-02-01 Nick Clifton <nickc@redhat.com>
3184 * libc/sys/sysnecv850/crt0.S: Add recognition of the e3v5
3185 architecture variant.
3187 2013-01-22 Joel Sherrill <joel.sherrill@oarcorp.com>
3189 * libc/include/pthread.h: Add PTHREAD_RWLOCK_INITIALIZER.
3190 Fix typo on PTHREAD_COJND_INITIALIZER.
3192 2013-01-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
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.
3198 2013-01-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
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.
3204 2013-01-15 Nick Clifton <nickc@redhat.com>
3206 * libc/sys/sysnecv850/crt0.S (_start): Enable FPU for the
3209 2013-01-12 Corinna Vinschen <vinschen@redhat.com>
3211 * libc/include/string.h: Fix preprocessor expressions using
3214 2013-01-11 Corinna Vinschen <vinschen@redhat.com>
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.
3220 2013-01-10 Marcus Shawcroft <marcus.shawcroft@linaro.org>
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.
3228 2013-01-10 Marcus Shawcroft <marcus.shawcroft@linaro.org>
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.
3236 2013-01-10 Marcus Shawcroft <marcus.shawcroft@linaro.org>
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.
3244 2013-01-10 Marcus Shawcroft <marcus.shawcroft@linaro.org>
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.
3252 2013-01-10 Marcus Shawcroft <marcus.shawcroft@linaro.org>
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.
3260 2013-01-10 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3262 * libc/machine/aarch64/Makefile.am (lib_a_SOURCES): Add
3263 memcpy.c memcpy-stub.c memset.S memset-stub.c strcmp.S
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.
3273 2013-01-08 Jeff Johnston <jjohnstn@redhat.com>
3275 * MAINTAINERS: Add Richard Earnshaw as Arm co-maintainer
3276 and add Richard and Marcus Shawcroft as aarch64 maintainers.
3278 2013-01-07 Steve Ellcey <sellcey@mips.com>
3280 * libc/machine/mips/memcpy.S (memcpy): Check if _MIPS_SIM is set.
3282 2012-12-20 Jeff Johnston <jjohnstn@redhat.com>
3284 * NEWS: Update with 2.0.0 info.
3286 * acinclude.m4: Change version number to 2.0.0.
3287 * aclocal.m4: Regenerated.
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
3300 2012-12-19 Corinna Vinschen <vinschen@redhat.com>
3302 * libc/stdlib/strtod.c (_strtod_r): Revert change from 2011-05-16.
3304 2012-12-18 Jeff Johnston <jjohnstn@redhat.com>
3306 * libc/include/math.h: Remove the log2f macro.
3308 2012-12-18 Craig Howland <howland@LGSInnovations.com>
3310 * libc/include/math.h: Add recognition of values 1 and 2 for
3313 2012-12-18 Corinna Vinschen <vinschen@redhat.com>
3315 * libc/stdio/puts.c (_puts_r): Fix typo in previous patch. Add local
3316 variable fp for better readability.
3318 2012-12-17 Jeff Johnston <jjohnstn@redhat.com>
3320 * libc/stdio/puts.c: Add fp locking and use _stdout_r macro
3321 to refer to the stream rather than stdout.
3323 2012-12-14 Yufeng Zhang <yufeng.zhang@arm.com>
3325 * libc/machine/aarch64/machine/_types.h: New file; define _ssize_t
3328 2012-12-11 Steve Ellcey <sellcey@mips.com>
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.
3336 2012-12-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
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.
3359 2012-11-30 Greta Yorsh <Greta.Yorsh@arm.com>
3361 * libc/machine/arm/strcmp.S (compute_return_value): Fix return value.
3362 * testsuite/newlib.string/strcmp-1.c (main): Add new test cases.
3364 2012-11-29 Sebastian Huber <sebastian.huber@embedded-brains.de>
3366 * libc/include/sys/reent.h (__sFILE): Change type of _offset
3368 * libc/stdio/ftell.c: Use _ftello_r().
3369 * libc/stdio/ftello.c: Copy implementation from previous
3371 * libc/stdio/fseek.c: Use _fseeko_r().
3372 * libc/stdio/fseeko.c: Copy implementation from previous
3375 2012-11-26 Sebastian Huber <sebastian.huber@embedded-brains.de>
3377 * libc/include/inttypes.h: Add and use __INTTYPES_EXP().
3379 2012-11-23 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3381 * libm/machine/aarch64/configure.in: Change comment to say libm
3384 2012-11-12 Steve Ellcey <sellcey@mips.com>
3386 * libc/machine/mips/machine/asm.h: New.
3387 * libc/machine/mips/machine/regdef.h: Update register definitions
3388 for different ABI's.
3390 2012-11-11 Christopher Faylor <me.cygwin2012@cgf.cx>
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.
3396 2012-11-01 Corinna Vinschen <vinschen@redhat.com>
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.
3406 2012-10-27 Anthony Green <green@moxielogic.com>
3408 * libc/machine/moxie/setjmp.S (setjmp): Minor optimization.
3410 2012-10-26 Corinna Vinschen <vinschen@redhat.com>
3412 * libc/include/sys/signal.h (sigset_t): Don't define when building
3415 2012-10-24 Jeff Johnston <jjohnstn@redhat.com>
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.
3425 2012-10-22 Jon TURNEY <jon.turney@dronecode.org.uk>
3427 * libc/include/string.h (strdup, strndup): Declare if not
3428 __STRICT_ANSI__ or _XOPEN_SOURCE is defined appropriately.
3430 2012-10-22 Jon TURNEY <jon.turney@dronecode.org.uk>
3432 * libc/include/stdlib.h (strtof, strtoll, strtoull, strtold):Prototype
3433 if not __STRICT_ANSI__ or stdc version C99 or greater.
3435 2012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
3437 * libc/sys/mmixware/sbrk.c (_sbrk): Drop unused extern declaration
3438 of "end". Mark allocated memory by applying PRELD.
3440 2012-10-16 Gregory Pietsch <gpietsch@comcast.net>
3442 * libc/stdlib/getopt.c (getopt_internal): Align handling of colon to
3444 (__getopt_long_r): Fix formatting.
3446 2012-10-16 Corinna Vinschen <vinschen@redhat.com>
3448 * libc/stdio/vfprintf.c (__sbprintf): Fix comment.
3450 2012-10-16 Aurelien Jacobs <aurel@gnuage.org>
3452 * libc/include/assert.h (static_assert): Define.
3454 2012-10-16 Corinna Vinschen <vinschen@redhat.com>
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.
3462 2012-10-09 Peter Rosin <peda@lysator.liu.se>
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.
3471 2012-10-09 Peter Rosin <peda@lysator.liu.se>
3473 * libc/posix/wordexp.c (wordexp): Return WRDE_NOSPACE on resource
3474 allocation failure. Cleanup leftover resources when failing.
3476 2012-10-09 Peter Rosin <peda@lysator.liu.se>
3478 * libc/posix/wordexp.c (wordexp): Handle expanded words longer
3481 2012-10-09 Peter Rosin <peda@lysator.liu.se>
3483 * libc/posix/wordexp.c (wordexp): Don't leak file streams.
3485 2012-10-03 DJ Delorie <dj@redhat.com>
3487 * libc/machine/rl78/setjmp.S: Convert from CPP macros to GAS
3488 macros, to avoid dependence on the line separation character.
3490 2012-10-01 DJ Delorie <dj@redhat.com>
3492 * libc/sys/sysnecv850/sbrk.c (_sbrk): Change heap_start to be an
3493 array of undefined size, to avoid problems when compiled with
3496 2012-10-01 Jeff Johnston <jjohnstn@redhat.com>
3498 * README: replace sources.redhat.com with sourceware.org.
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>
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.
3558 2012-09-26 Michael Hope <michael.hope@linaro.org>
3560 * doc/makedoc.c (dup_): Rename to avoid colliding with dup(2).
3562 2012-09-13 Anthony Green <green@moxielogic.com>
3564 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Add bi-endian
3567 2012-08-23 Christopher Faylor <me.cygwin2012@cgf.cx>
3569 * libc/stdio/flags.c (__sflags): Guard against using O_BINARY on
3570 systems which do not provide it.
3572 2012-08-21 Christopher Faylor <me.cygwin2012@cgf.cx>
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.
3578 2012-08-10 Corinna Vinschen <vinschen@redhat.com>
3580 * libc/stdlib/btowc.c (btowc): Cast to avoid compiler warning.
3581 * libc/search/hash_buf.c (__get_buf): Initialize local vars to avoid
3583 * libc/stdio/fgets.c (_fgets_r): Ditto.
3584 * libc/time/strftime.c (strftime): Ditto.
3586 2012-08-10 Corinna Vinschen <vinschen@redhat.com>
3588 * libc/stdio/vfwprintf.c (_VFWPRINTF_R): Fix guard around state to
3589 allow usage in !FLOATING_POINT && _WANT_IO_C99_FORMATS case.
3591 2012-08-08 Eric Blake <eblake@redhat.com>
3593 * libc/posix/engine.c(dissect): Guard diagnostic pragma for right
3594 versions of GCC only.
3595 * libc/string/strcasestr.c: Ditto.
3597 2012-08-08 Corinna Vinschen <vinschen@redhat.com>
3599 Throughout, run newlib with -Wall -Werror option and fix bugs and
3600 compiler warnings found this way.
3602 * libc/stdio/freopen.c (_freopen_r): Fix bug setting _flags.
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
3616 (dissect): Deliberately silence gcc compiler warning. Add comment to
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
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
3627 (init_hash): Add missing definition for the __USE_INTERNAL_STAT64 case.
3628 * libc/search/hash_bigkey.c (__big_insert): Add parenthesis to avoid
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.
3635 * libc/stdio/asprintf.c (_asprintf_r): 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
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
3650 (JIS_action_table): Ditto.
3651 * libc/stdlib/wctomb_r.c (__utf8_wctomb): Add parenthesis to avoid
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
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
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
3672 2012-08-07 Corinna Vinschen <vinschen@redhat.com>
3674 * libc/stdlib/mprec.h (Storeinc): Add parenthesis to avoid compiler
3677 2012-07-30 Kevin Buettner <kevinb@redhat.com>
3679 * libc/sys/sysnecv850/crt0.S (_start): Use v850e-specific
3680 start up code for v850e2 and v850e2v3 too.
3682 2012-07-20 Eric Blake <eblake@redhat.com>
3684 * libc/posix/readdir.c (readdir): Drop bogus attempt to catch
3687 2012-07-18 Ralf Corsépius <ralf.corsepius@rtems.org>
3689 * libc/sys/rtems/machine/_types.h (_ssize_t): Use signed int for
3692 2012-07-17 Ralf Corsépius <ralf.corsepius@rtems.org>
3694 * libc/search/hcreate_r.c (hdestroy_r): #ifdef 0 unused vars ie, idx.
3696 2012-07-16 Ralf Corsépius <ralf.corsepius@rtems.org>
3698 * libc/posix/telldir.c: Conditionally build dd_hash_lock.
3700 2012-07-13 Ralf Corsépius <ralf.corsepius@rtems.org>
3702 * libc/sys/rtems/machine/_types.h (_ssize_t): Add __ARM_EABI__,
3705 2012-07-09 Corinna Vinschen <vinschen@redhat.com>
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.
3710 2012-07-06 Corinna Vinschen <vinschen@redhat.com>
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
3717 * libc/include/sys/unistd.h: Ditto.
3719 2012-06-28 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
3721 * doc/Makefile.am (makedoc): Use LDFLAGS_FOR_BUILD not LDFLAGS.
3722 * doc/Makefile.in: Regenerate.
3724 2012-06-26 Christopher Faylor <me.newlib2012@cgf.cx>
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.
3730 2012-06-05 Corinna Vinschen <vinschen@redhat.com>
3732 * libc/stdio/findfp.c (__sinit): Avoid infinite recursion on
3733 _REENT_SMALL targets. Add comment to explain.
3735 2012-05-31 Corinna Vinschen <vinschen@redhat.com>
3737 * libc/stdio/local.h (_newlib_sfp_lock_exit): Fix typo in non-pthread
3740 2012-05-30 Corinna Vinschen <vinschen@redhat.com>
3742 * libc/stdio/fgetws.c (_fgetws_r): Call _mbsnrtowcs_r rather than
3743 _mbsrtowcs_r and restrict number of wide chars to n - 1.
3745 2012-05-30 Corinna Vinschen <vinschen@redhat.com>
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.
3761 2012-05-21 Sandeep Kumar Singh <Sandeep.Singh2@kpitcummins.com>
3763 * libc/machine/cr16/sys/asm.h: Added some missing instructions
3764 and removed few unsupported instructions of cr16 target.
3766 2012-05-10 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
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.
3774 2012-05-10 Joel Sherrill <joel.sherrill@oarcorp.com>
3776 * libc/sys/rtems/machine/_types.h: Add Microblaze.
3778 2012-05-09 Joel Sherrill <joel.sherrill@oarcorp.com>
3780 * libc/sys/rtems/crt0.c: Add stubs for access(), ftruncate(),
3781 _getpid_r(), geteuid(), getgid, _getgid_r, getpid(), getppid(),
3784 2012-05-03 Greta Yorsh <Greta.Yorsh@arm.com>
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.
3790 2012-03-29 Corinna Vinschen <vinschen@redhat.com>
3792 * libc/locale/locale.c (__mb_cur_max): On Cygwin, align default value
3793 with default UTF-8 charset.
3795 2012-03-26 Corinna Vinschen <vinschen@redhat.com>
3797 * libc/stdio/findfp.c (__sinit): Set __sdidinit last.
3799 2012-03-09 Jeff Johnston <jjohnstn@redhat.com>
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.
3810 2012-03-02 Jeff Johnston <jjohnstn@redhat.com>
3812 * libc/posix/readdir_r.c: Fix return code when end of
3813 directory is reached.
3815 2012-02-23 Dan Egnor <egnor@ofb.net>
3817 * configure.host: Accept "arm*" host spec instead of just "arm".
3819 2012-02-21 Jeremy Bennett <jeremy.bennett@embecosm.com>
3820 Alan Lehotsky <apl@alum.mit.edu>
3821 Joern Rennecke <joern.rennecke@embecosm.com>
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.
3831 2012-02-15 Christopher Faylor <me.newlib2012@cgf.cx>
3833 * configure.host: Fix typo: xdir_dir -> xdr_dir.
3835 2012-02-09 Eric Blake <eblake@redhat.com>
3837 * libc/include/_ansi.h (_ELIDABLE_INLINE): Fix C99 mode.
3839 2012-02-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
3841 * libc/sys/rtems/sys/utime.h: Include <sys/types.h> to provide a
3842 definition of time_t.
3844 2012-02-08 Greta Yorsh <Greta.Yorsh@arm.com>
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.
3852 2012-02-07 Corinna Vinschen <vinschen@redhat.com>
3854 * libc/include/inttypes.h: Redefine pointer type macros.
3856 2012-01-13 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
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.
3864 2012-01-12 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
3866 * libc/include/tgmath.h: New header.
3868 2012-01-09 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
3870 * libc/include/sys/unistd.h [__CYGWIN__] (get_current_dir_name):
3873 2012-01-09 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
3875 * libc/include/complex.h: Fix "/*" within comment warning.
3877 2012-01-09 Corinna Vinschen <vinschen@redhat.com>
3879 * libc/include/process.h: Remove Cygwin-only header.
3881 2012-01-03 Viachaslau Kulakouski <Viachaslau.Kulakouski@oracle.com>
3883 * libc/stdlib/__atexit.c: Refer to __atexit_lock instead of lock.
3885 2011-12-20 Aleksandr Platonov <pam@oktetlabs.ru>
3887 * libc/stdio/fvwrite.c (__sfvwrite_r): Set __SMBF flag to avoid double
3888 free in fclose. Enhance comment.
3890 2011-12-19 Jeff Johnston <jjohnstn@redhat.com>
3892 * NEWS: Update with 1.20.0 info.
3894 * acinclude.m4: Change version number to 1.20.0.
3895 * aclocal.m4: Regenerated.
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
3908 2011-12-13 Richard Earnshaw <rearnsha@arm.com>
3909 Thomas Klein <th.r.klein@web.de>
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.
3916 2011-12-12 Akio Idehara <zbe64533@gmail.com>
3918 * libc/time/strftime.c (get_era_info): Fix off-by-one error in month
3921 2011-12-06 Chris Johns <chrisj@rtems.org>
3923 * libc/iconv/Makefile.am (stmp-def): Use $(MAKE) rather than make.
3924 * libc/iconv/Makefile.in: Regenerate.
3926 2011-11-28 DJ Delorie <dj@redhat.com>
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.
3935 2011-11-08 Corinna Vinschen <vinschen@redhat.com>
3937 * libc/iconv/ccs/Makefile.am: Add missing backslash.
3938 * libc/iconv/ccs/Makefile.in: Regenerate.
3940 2011-10-18 Dr David Alan Gilbert <david.gilbert@linaro.org>
3942 * libc/machine/arm/Makefile.am (lib_a_SOURCES): Add memchr-stub.c,
3944 * libc/machine/arm/arm_asm.h: Add ifdef to allow it to be included
3946 * libc/machine/arm/memchr-stub.c: New file - just selects what to
3948 * libc/machine/arm/memchr.S: New file - ARMv6t2/v7 version.
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
3955 * libc/machine/arm/Makefile.in: Regenerate.
3957 2011-10-11 Steven Abner <pheonix@zoomtown.com>
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.
3963 2011-10-10 Nick Clifton <nickc@redhat.com>
3965 * libc/sys/arm/crt0.S: Synchronise with libgloss version.
3966 * libc/sys/arm/arm.h: Imported from libgloss.
3968 2011-10-04 Greta Yorsh <Greta.Yorsh@arm.com>
3970 * testsuite/newlib.string/memcpy-1.c: New test.
3972 2011-10-04 Nick Clifton <nickc@redhat.com>
3974 * libc/machine/arm/memcpy.S: Fix unaligned access copying.
3976 2011-09-29 Greta Yorsh <Greta.Yorsh@arm.com>
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,
3983 * libc/machine/arm/Makefile.in: Regenerate.
3985 2011-09-08 Jeff Johnston <jjohnstn@redhat.com>
3987 * testsuite/lib/flags.exp: Add logic to add the
3988 srcdir include directory to compile flags.
3990 2011-08-26 Steven Abner <pheonix@zoomtown.com>
3992 * libc/time/mktm_r.c (_mktm_r): Fix previous fix.
3994 2011-08-24 Corinna Vinschen <vinschen@redhat.com>
3996 * libc/time/mktm_r.c (_mktm_r): Fix computing tm_year.
3998 2011-08-23 Ralf Corsépius <ralf.corsepius@rtems.org>
4000 * libc/stdlib/putenv_r.c: Use "strchr" instead of obsolete "index".
4001 * libc/stdlib/setenv_r.c: Use "memcpy" instead of obsolete "bcopy".
4003 2011-08-23 Ralf Corsépius <ralf.corsepius@rtems.org>
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>".
4010 2011-08-23 Ralf Corsépius <ralf.corsepius@rtems.org>
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
4017 2011-08-23 Ralf Corsépius <ralf.corsepius@rtems.org>
4019 * libc/sys/rtems/include/limits.h: Compute SSIZE_MAX based on
4020 __SIZE_MAX__, __SIZEOF_SIZE_T__ and __CHAR_BIT__.
4022 2011-08-22 Ralf Corsépius <ralf.corsepius@rtems.org>
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>.
4035 2011-08-19 Ralf Corsépius <ralf.corsepius@rtems.org>
4037 * libc/sys/rtems/crt0.c: Rework RTEMS_STUB macro.
4039 Remove C++-style comments.
4041 Add clock_gettime, gettimeofday, sched_yield.
4043 2011-08-19 Ralf Corsépius <ralf.corsepius@rtems.org>
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"
4052 2011-08-19 Ralf Corsépius <ralf.corsepius@rtems.org>
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".
4059 2011-08-19 Corinna Vinschen <vinschen@redhat.com>
4061 * libc/include/process.h: Remove exec family function declarations.
4063 * libc/include/sys/unistd.h (execlpe): Declare for Cygwin.
4065 2011-08-19 Craig Howland <howland@LGSInnovations.com>
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.
4071 2011-08-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
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.
4077 2011-07-26 Ralf Corsépius <ralf.corsepius@rtems.org>
4079 * libc/sys/rtems/sys/dirent.h (scandir):
4080 Add const to "select" parameter.
4082 2011-07-25 Ralf Corsépius <ralf.corsepius@rtems.org>
4084 * libc/iconv/iconv.tex: Rename node "Introduction" into
4085 "Introduction to iconv".
4087 2011-07-20 Yaakov Selkowitz <yselkowitz@...>
4089 * libc/include/time.h [_POSIX_CLOCK_SELECTION] (clock_nanosleep):
4091 * libc/include/sys/features.h [__CYGWIN__] (_POSIX_CLOCK_SELECTION):
4094 2011-07-19 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
4096 * libc/include/sys/unistd.h (_CS_XBS5_WIDTH_RESTRICTED_ENVS): Define.
4097 (_CS_V6_ENV): Fix definition.
4099 2011-07-19 Ralf Corsépius <ralf.corsepius@rtems.org>
4101 * libc/locale/lmessages.c (_C_messages_locale):
4102 Move __HAVE_LOCALE_INFO_EXTENDED__ before codeset.
4104 2011-07-19 Matt Johnson <johnso87@crhc.illinois.edu>
4106 * libc/reent/sbrkr.c: Define _sbrk_r independently of the definition
4109 2011-07-15 Yufeng Zhang <yufeng.zhang@arm.com>
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
4116 (_VFWPRINTF_R): Call wcvt with an extra argument. Call wcvt
4117 again with allocated new buffer if buf is not large enough for
4119 * testsuite/newlib.stdio/stdio.exp: New.
4120 * testsuite/newlib.stdio/swprintf.c: Likewise.
4122 2011-07-15 Matt Johnson <johnso87@crhc.illinois.edu>
4124 * libc/stdio/fscanf.c (fscanf): Call _vfscanf_r instead of __svfscanf_r
4125 to make sure CHECK_INIT is called.
4127 * /libc/stdio/scanf.c (scanf): 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.
4135 2011-07-13 Hans-Peter Nilsson <hp@axis.com>
4137 * libm/complex/cacos.c: Use temporaries and correct sequencing
4138 error in previous reordering change.
4140 2011-06-25 Andreas Becker <becker@se-elektronic.de>
4142 * libc/time/mktime.c (mktime): Lock global timezone info while
4145 2011-06-14 Philip Munts <phil@munts.net>
4147 * libc/time/asctime_r.c (asctime_r): Replace call to sprintf with call
4149 * libc/time/strftime.c: Define snprintf to sniprintf in multibyte case.
4150 * libc/time/tzset_r.c: Define sscanf to siscanf.
4152 2011-06-14 Joseph Myers <joseph@codesourcery.com>
4154 * configure.host: Don't handle ep9312, strongarm, xscale and thumb
4156 * libc/machine/configure.in: Don't handle xscale target names.
4157 * libc/machine/configure: Regenerate.
4159 2011-06-14 Craig Howland <howland@LGSInnovations.com>
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.
4165 2011-06-13 Eric Blake <eblake@redhat.com>
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.
4172 2011-06-09 Yaakov Selkowitz <yselkowitz@...>
4174 * libc/include/string.h (strdupa): New macro function.
4175 (strndupa): New macro function.
4177 2011-05-27 Nick Clifton <nickc@redhat.com>
4179 * libc/sys/sysnecv850/sbrk.c (_sbrk): Tidy code.
4180 Base start of heap on the "heap_start" symbol.
4182 2011-05-25 Eric Blake <eblake@redhat.com>
4184 * libc/string/strerror.c (_strerror_r): Report "Success" for 0.
4186 2011-05-25 Eric Blake <eblake@redhat.com>
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.
4197 2011-05-19 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
4199 * libc/include/stdio_ext.h: New header.
4200 * libc/stdio/fpurge.c [!__rtems__] (__fpurge): New function.
4202 2011-05-19 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
4204 * Makefile.am (install-data-local): Fix condition and rm call.
4205 * Makefile.in: Regenerate.
4207 2011-05-16 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
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.
4215 2011-05-16 Christian Bruel <christian.bruel@st.com>
4217 * libc/stdlib/strtod.c (_strtod_r): Fix nf/nd counts to not exceed
4220 2011-05-15 Corinna Vinschen <vinschen@redhat.com>
4222 * libc/include/sys/features.h (_POSIX_THREAD_ATTR_STACKADDR): Define
4223 to 200112L for Cygwin.
4225 2011-05-12 Peter Rosin <peda@lysator.liu.se>
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.
4231 2011-05-12 Peter Rosin <peda@lysator.liu.se>
4233 * libc/time/strptime.c (first_day): Actually return the wday
4234 of the first day of the year.
4236 2011-05-10 Corinna Vinschen <vinschen@redhat.com>
4238 * libc/locale/lmessages.c (_C_messages_locale): Add missing comma.
4240 2011-05-04 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
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.
4252 2011-05-04 Corinna Vinschen <vinschen@redhat.com>
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
4258 (__set_locale_from_locale_alias): Fix return type.
4259 (__locale_msgcharset): Avoid compiler warnings.
4260 (_localeconv_r): Ditto.
4262 2011-05-04 Andy Koppe <andy.koppe@gmail.com>
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.
4269 2011-05-02 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
4271 * libc/include/sys/features.h [__CYGWIN__] (_POSIX_SPIN_LOCKS): Define.
4272 * libc/include/sys/types.h: Cygwin provides its own pthread_spinlock_t
4275 2011-04-19 Corinna Vinschen <vinschen@redhat.com>
4277 * libc/include/sys/signal.h (_sig_func_ptr): Define with int parameter
4278 per POSIX. Explain in comment.
4280 2011-04-15 Eric Blake <eblake@redhat.com>
4282 * libc/string/strchrnul.c (strchrnul): Fix strchrnul.
4284 2011-03-27 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
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.
4291 2011-03-23 Nick Clifton <nickc@redhat.com>
4293 * libc/machine/frv/setjmp.S: Fix typo in .size directive.
4295 2011-03-21 Kevin Buettner <kevinb@redhat.com>
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.
4304 2011-03-03 Corinna Vinschen <vinschen@redhat.com>
4306 * libc/include/string.h: Include sys/cdefs.h.
4308 2011-03-03 Corinna Vinschen <vinschen@redhat.com>
4310 * libc/include/sys/cdefs.h (__CONCAT1): 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.
4318 2011-03-01 Aaron Landwehr <snaphat@gmail.com>
4320 * libm/complex/cproj.c: Fix typo.
4321 * libm/complex/cprojf.c: Ditto.
4323 2011-02-22 Corinna Vinschen <vinschen@redhat.com>
4325 * libc/stdio/fmemopen.c (fmemopen): Fix EINVAL condition. Avoid SEGV
4326 if incoming buffer is NULL.
4328 2011-02-09 Eric Blake <eblake@redhat.com>
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
4336 * libc/string/Makefile.am (GENERAL_SOURCES): Build new file.
4337 * libc/string/Makefile.in: Regenerate.
4339 2011-01-28 Corinna Vinschen <vinschen@redhat.com>
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.
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.
4370 2011-01-27 Corinna Vinschen <vinschen@redhat.com>
4372 * libc/include/sys/features.h: Define __STDC_ISO_10646__ for Cygwin.
4373 * libc/include/wchar.h: Include features.h.
4375 2011-01-15 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
4377 * libc/include/sys/types.h (ulong): Add typedef.
4379 2011-01-12 Ralf Corsépius <ralf.corsepius@rtems.org>
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.
4384 2011-01-12 Jeff Johnston <jjohnstn@redhat.com>
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.
4394 2011-01-12 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
4396 * libc/sys/linux/sys/signal.h (sig_t): Move from here...
4397 * libc/include/signal.h (sig_t): ...to here.
4399 2011-01-10 Corinna Vinschen <vinschen@redhat.com>
4401 * libc/machine/mips/strlen.c (strlen): Add delay slot for R3000.
4403 2011-01-10 Joel Sherrill <joel.sherrill@oarcorp.com>
4405 * libc/include/string.h: Make strsignal() available unconditionally.
4407 2011-01-07 Ralf Corsepius <ralf.corsepius@rtems.org>
4409 * libc/sys/rtems/crt0.c: Adjust free() and calloc() to match their
4412 2011-01-05 Ralf Corsepius <ralf.corsepius@rtems.org>
4414 * Makefile.am: Move cleaning targ-include to clean-local.
4415 * Makefile.in: Regenerate.
4417 2011-01-05 Ralf Corsepius <ralf.corsepius@rtems.org>
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.
4422 2011-01-05 Ralf Corsepius <ralf.corsepius@rtems.org>
4424 * libc/xdr/xdr.c: Fix typos in #errors.
4426 2011-01-05 Ralf Corsepius <ralf.corsepius@rtems.org>
4428 * libc/xdr/xdr_private.h: Include <stdint.h>
4429 * libc/xdr/xdr_rec.c: Include limits.h
4431 2011-01-05 Ralf Corsepius <ralf.corsepius@rtems.org>
4433 * libc/Makefile.am (SUBDEFS): Remove redundant posix/stmp-def.
4434 * libc/Makefile.in: Regenerate.
4436 2011-01-05 Ralf Corsepius <ralf.corsepius@rtems.org>
4438 * libc/configure.in: Remove redundant posix_dir processing.
4439 * libc/configure: Regenerate.
4441 2010-12-31 Ralf Corsepius <ralf.corsepius@rtems.org>
4443 * MAINTAINERS: Change corinna@vinchen.de to corinna@vinschen.de.
4445 2010-12-26 Christopher Faylor <me+cygwin@cgf.cx>
4447 * libc/include/sys/errno.h (program_invocation_name): Declare.
4448 (program_invocation_short_name): Ditto.
4450 2010-12-16 Jeff Johnston <jjohnstn@redhat.com>
4452 * NEWS: Update with 1.19.0 info.
4454 * MAINTAINERS: Update.
4455 * acinclude.m4: Change version number to 1.19.0.
4456 * aclocal.m4: Regenerated.
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
4470 2010-12-14 Jeff Johnston <jjohnstn@redhat.com>
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.
4476 2010-12-08 Jeff Johnston <jjohnstn@redhat.com>
4478 * libm/mathfp/sf_logarithm.c: Change isfinitef reference to isfinite.
4480 2010-12-08 Ralf Corsepius <ralf.corsepius@rtems.org>
4482 * include/sys/types.h: Add #if defined(__rtems__) around
4483 pthread_attr_t.guardsize.
4485 2010-12-08 Joel Sherrill <joel@OARcorp.com>
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.
4491 2010-12-08 Corinna Vinschen <corinna@vinschen.de>
4493 * libc/include/strings.h: Don't include locale.h.
4495 2010-12-07 Eric Blake <eblake@redhat.com>
4497 * libc/include/strings.h: Don't declare removed functions when
4498 requesting POSIX 2008 compliance.
4500 2010-12-07 Jeff Johnston <jjohnstn@redhat.com>
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.
4505 2010-12-07 Ralf Corsépius <ralf.corsepius@rtems.org>
4507 * libc/include/strings.h: New (split-out from string.h).
4509 2010-12-03 Craig Howland <howland@LGSInnovations.com>
4511 * libc/include/math.h: Missing from previous checkin.
4513 2010-12-02 Craig Howland <howland@LGSInnovations.com>
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).
4521 2010-12-02 Jayant Sonar jayant.sonar@kpitcummins.com
4522 Kaushik Phatak kaushik.phatak@kpitcummins.com
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
4541 2010-11-29 Ralf Corsépius <ralf.corsepius@rtems.org>
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.
4547 2010-11-25 Ralf Corsépius <ralf.corsepius@rtems.org>
4549 * libm/complex/cargf.c: Use crealf instead of creal.
4551 2010-11-19 Andy Koppe <andy.koppe@gmail.com>
4553 * libc/locale/locale.c (loadlocale): Recognise the "cjknarrow"
4554 modifier on "C.<charset>" locales too.
4556 2010-11-18 Andy Koppe <andy.koppe@gmail.com>
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.
4562 2010-11-17 Bernd Schmidt <bernds@codesourcery.com>
4564 * configure.host (newlib_cflags): For tic6x, add -DCLOCK_PROVIDED.
4566 2010-11-16 Andrew Makhorin <mao@gnu.org>
4568 * libc/machine/i386/setjmp.S (longjmp): Per POSIX, return 1 if second
4571 2010-11-16 Ralf Corsépius <ralf.corsepius@rtems.org>
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.
4578 2010-11-16 Ralf Corsépius <ralf.corsepius@rtems.org>
4580 * configure.host: Add -D_COMPILING_NEWLIB to newlib_cflags.
4582 2010-11-04 Ralf Corsépius <ralf.corsepius@rtems.org>
4584 * libm/complex/cacos.c: Reorder function calls to work around ICE
4587 2010-10-27 Maurice Baijens <maurice.baijens@ellips.nl>
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.
4595 2010-10-18 Marco Atzeri <marco_atzeri@yahoo.it>
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
4608 2010-10-14 Craig Howland <howland@LGSInnovations.com>
4610 * libc/include/math.h: Delete cabs() and cabs() prototypes
4611 (c.f. 2010-10-08 change by Corinna).
4613 2010-10-08 Bernd Schmidt <bernds@codesourcery.com>
4614 Joseph Myers <joseph@codesourcery.com>
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).
4626 2010-10-08 Ralf Corsépius <ralf.corsepius@rtems.org>
4628 * libc/include/sys/unistd.h: Declare getsid, setegid, seteuid for RTEMS.
4630 2010-10-08 Ralf Corsépius <ralf.corsepius@rtems.org>
4632 * libm/common/sf_llrint.c, libm/common/sf_round.c: Add explicit casts
4633 to __uint32_t to avoid overflows on implicit casts.
4635 2010-10-08 Ralf Corsépius <ralf.corsepius@rtems.org>
4637 * libm/complex/complex.tex: Add empty stub.
4639 2010-10-08 Corinna Vinschen <corinna@vinschen.de>
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.
4647 2010-10-08 Marco Atzeri <marco_atzeri@yahoo.it>
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.
4657 2010-10-06 Eric Blake <eblake@redhat.com>
4659 * lib/str-two-way.h (two_way_long_needle): Avoid bug with long
4660 periodic needle having false positive. Affects memmem, strstr,
4663 2010-09-21 Craig Howland <howland@LGSInnovations.com>
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.
4671 2010-09-09 Kevin Buettner <kevinb@redhat.com>
4673 * libc/sys/sysnecv850/Makefile.am (lib_a_SOURCES): Provide an
4675 * libc/sys/sysnecv850/Makefile.in: Regenerate.
4677 2010-08-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
4679 * libc/posix/opendir.c (opendir): Fix potential memory leak.
4681 2010-08-10 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
4683 * libc/include/sys/dir.h: New BSD-compatibility header.
4685 2010-08-02 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
4687 * libc/include/sys/features.h: Define _POSIX_MONOTONIC_CLOCK for Cygwin.
4689 2010-08-06 Corinna Vinschen <corinna@vinschen.de>
4691 * libc/include/sys/stat.h: Move all POSIX-defined symbolic constants
4692 out of `#ifndef _POSIX_SOURCE' guard.
4694 2010-08-03 Craig Howland <howland@LGSInnovations.com>
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.
4703 2010-07-30 Anthony Green <green@moxielogic.com>
4705 * libc/sys/rtems/machine/_types.h: Add moxie support.
4707 2010-07-23 Naveen.H.S <naveenh1@kpitcummins.com>
4708 Gina Verlekar <gina.verlekar@kpitcummins.com>
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.
4716 2010-07-20 Dave Korn <dave.korn.cygwin@gmail.com>
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.
4725 2010-07-19 Eric Blake <eblake@redhat.com>
4727 * libc/stdio/mktemp.c (_gettemp): Add parameter, all callers
4729 (mkostemp, _mkostemp_r, mkostemps, _mkostemps_r): New interfaces,
4731 * libc/include/stdlib.h (mktemp): Avoid namespace issues.
4732 (mkostemp, mkostemps): Declare.
4734 2010-07-13 Corinna Vinschen <corinna@vinschen.de>
4736 * libc/include/signal.h (sighandler_t): Only define if _POSIX_SOURCE
4739 2010-07-06 Corinna Vinschen <corinna@vinschen.de>
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
4746 2010-07-01 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
4748 * libc/include/signal.h (sighandler_t): Add typedef.
4750 2010-06-29 Antony King <antony.king@st.com>
4752 * libc/ctype/ctype_.c (__ctype_ptr): Reinstate definition (guarded by
4753 _NEED_OLD_CTYPE_PTR_DEFINITION) for backwards compatibility with newlib
4756 2010-06-28 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
4758 * libc/include/sys/stat.h: Add ACCESSPERMS, ALLPERMS, and DEFFILEMODE.
4760 2010-06-18 Pavel Pisa <ppisa4lists@pikron.com>
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.
4768 2010-06-09 Paul Brook <paul@codesourcery.com>
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.
4774 2010-06-08 Jeff Johnston <jjohnstn@redhat.com>
4776 * libc/include/wordexp.h: Add __cplusplus wrapper.
4778 2010-06-08 Jeff Johnston <jjohnstn@redhat.com>
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.
4788 2010-06-04 Mark Mitchell <mark@codesourcery.com>
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.
4798 2010-05-31 Kazu Hirata <kazu@codesourcery.com>
4800 * libc/stdlib/mallocr.c (malloc_extend_top): Backport the
4801 difference between versions 2.6.4 and 2.6.5.
4803 2010-05-18 Christopher Faylor <me+cygwin@cgf.cx>
4805 * libc/string/strsignal.c (strsignal): Avoid duplicate case statement
4806 where SIGPWR == SIGLOST.
4808 2010-05-11 Jeff Johnston <jjohnstn@redhat.com>
4810 * libc/stdlib/__call_atexit.c: Fix lock to be of type
4811 _LOCK_RECURSIVE_T as recursive usage is needed.
4813 2010-05-11 Jeff Johnston <jjohnstn@redhat.com>
4815 * libc/locale/locale.c (loadlocale): Fix dangling
4816 switch statement caused by __HAVE_LOCALE_INFO__ not being
4819 2010-05-11 Joel Sherrill <joel.sherrill@oarcorp.com>
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.
4826 2010-05-05 DJ Delorie <dj@redhat.com>
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.
4834 2010-05-03 Corinna Vinschen <corinna@vinschen.de>
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.
4842 2010-05-02 Corinna Vinschen <corinna@vinschen.de>
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.
4849 2010-04-30 Corinna Vinschen <corinna@vinschen.de>
4851 * libc/include/langinfo.h: Fix #endif positioning.
4853 2010-04-28 Corinna Vinschen <corinna@vinschen.de>
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
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
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
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
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.
4908 2010-04-22 DJ Delorie <dj@redhat.com>
4910 * libc/Makefile.am (SUBDEFS): Add LIBC_POSIX_DEF.
4911 (libc.info): Add posix.texi.
4912 (libc.dvi): Likewise.
4915 (libc_TEXINFOS): Add posix.texi.
4916 * libc/configure.in (LIBC_POSIX_LIB, LIBC_POSIX_DEF): Add
4918 * libc/libc.texinfo: Include posix.texi
4919 * libc/locale/locale.c: Fix texinfo typo.
4920 * libc/time/strftime.c: Fix texinfo typo.
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.
4947 2010-04-06 Dave Korn <dave.korn.cygwin@googlemail.com>
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.
4954 2010-04-06 Corinna Vinschen <corinna@vinschen.de>
4956 * libc/stdlib/btowc.c (btowc): Reorganize EOF check. Fix incorrect
4957 return value if input byte is ASCII NUL.
4959 2010-04-01 Joel Sherrill <joel.sherrill@oarcorp.com>
4961 * libc/include/sched.h: Include prototypes for
4963 * libc/include/sys/sched.h: Update to POSIX
4964 1003.1b-2008. Rework constants to allow sharing
4965 between RTEMS and Cygwin.
4967 2010-03-27 Corinna Vinschen <corinna@vinschen.de>
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
4975 2010-03-17 Craig Howland <howland@LGSInnovations.com>
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.
4980 2010-03-09 Jeff Johnston <jjohnstn@redhat.com>
4982 * libc/posix/telldir.c (dd_loccnt): Change start index to be 1
4984 (_seekdir): A loc of 0 now means rewind dir.
4986 2010-03-08 Craig Howland <howland@LGSInnovations.com>
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
4992 * libm/common/sf_rint.c: Make fractional-bit adjustment consistent
4993 with s_rint.c by setting 0b.01 instead of 0b.001.
4995 2010-03-05 Craig Howland <howland@LGSInnovations.com>
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.
5008 2010-03-02 Craig Howland <howland@LGSInnovations.com>
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.
5016 2010-03-02 Charles Wilson <cygwin@cwilson.fastmail.fm>
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
5023 * libc/xdr/Makefile.am: Eliminate automake warning.
5024 * libc/xdr/Makefile.in: Regenerate.
5026 2010-03-02 Corinna Vinschen <corinna@vinschen.de>
5028 * libc/xdr/Makefile.in: Regenerate.
5030 2010-03-02 Charles Wilson <cygwin@cwilson.fastmail.fm>
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.
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.
5081 2010-02-26 Craig Howland <howland@LGSInnovations.com>
5083 * libm/common/s_ilogb.c: Fix typo in comments that causes doc
5086 2010-02-26 Corinna Vinschen <corinna@vinschen.de>
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
5091 (STRTOUL): Define differently for building strftime or wcsftime.
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
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
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
5117 * libc/include/stdio.h: Remove __CYGWIN_USE_BIG_TYPES__ condition.
5119 2010-02-25 Corinna Vinschen <corinna@vinschen.de>
5121 * libc/locale/locale.c (loadlocale): Fix typo in comment.
5123 2010-02-25 Corinna Vinschen <corinna@vinschen.de>
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.
5132 2010-02-24 Charles Wilson <...>
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.
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.
5164 2010-02-24 Jeff Johnston <jjohnstn@redhat.com>
5166 * libc/stdlib/__call_exit.c: Add include of sys/lock.h.
5168 2010-02-23 Jeff Johnston <jjohnstn@redhat.com>
5170 * libc/include/sys/types.h: Fix __XMK__ sectioning and remove
5171 redundant code section for __XMK__.
5173 2010-02-22 Corinna Vinschen <corinna@vinschen.de>
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.
5180 2010-02-18 Corinna Vinschen <corinna@vinschen.de>
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.
5195 2010-02-18 Corinna Vinschen <corinna@vinschen.de>
5197 * libc/locale/timelocal.h (struct lc_time_T): Add missing ERA-related
5199 * libc/locale/timelocal.c (_C_time_local): Set new members to empty
5201 * libc/locale/nl_langinfo.c (nl_langinfo): Return values from
5202 __get_current_time_locale() for ERA related requests.
5204 2010-02-16 Corinna Vinschen <corinna@vinschen.de>
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.
5211 2010-02-15 Corinna Vinschen <corinna@vinschen.de>
5213 * libc/stdio/vfwprintf.c (_VFWPRINTF_R): Apply previous patch here
5216 2010-02-15 Corinna Vinschen <corinna@vinschen.de>
5218 * libc/stdio/vfprintf.c (_VFPRINTF_R): Drop printing a redundant
5219 decimal point in case the float argument is an integral value.
5221 2010-02-11 Craig Howland <howland@LGSInnovations.com>
5223 * libc/include/machine/ieeefp.h: isfinite macro modified to run faster
5224 by only calling fpclassify once instead of possibly twice.
5226 2010-02-11 Craig Howland <howland@LGSInnovations.com>
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.
5239 2010-02-09 Daniel Gutson <dgutson@codesourcery.com>
5241 * libc/machine/arm/arm_asm.h (_ISA_THUMB_2): __ARM_ARCH_7EM__
5242 added to the preprocessor condition.
5244 2010-02-09 Corinna Vinschen <corinna@vinschen.de>
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
5257 * libc/locale/locale.c (loadlocale): Enable loading LC_MESSAGES data
5260 2010-02-08 Josef Wolf <jw@raven.inka.de>
5262 * libc/machine/m68k/memcpy.S: MISALIGEND_OK should not be set for
5265 2010-02-07 Corinna Vinschen <corinna@vinschen.de>
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
5275 2010-02-07 Corinna Vinschen <corinna@vinschen.de>
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.
5281 2010-02-06 Corinna Vinschen <corinna@vinschen.de>
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.
5299 2010-02-06 Ralf Corsepius <ralf.corsepius@rtems.org>
5301 * libc/posix/telldir.c: Remove bogus nested prototype of lseek().
5303 2010-02-05 Corinna Vinschen <corinna@vinschen.de>
5305 * libc/locale/locale.c (loadlocale): Handle ISO-8859 and KOI8 charsets
5306 so that the dashes are optional. Align documentation.
5308 2010-02-05 Corinna Vinschen <corinna@vinschen.de>
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.
5317 2010-02-01 Christopher Faylor <me+cygwin@cgf.cx>
5319 * libc/stdlib/__atexit.c (__atexit_lock): Define a global lock for
5321 (__register_exitproc): Use __atexit_lock rather than a local static
5323 * libc/stdlib/__call_atexit.c: Ditto.
5325 2010-01-29 Jeff Johnston <jjohnstn@redhat.com>
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.
5331 2010-01-24 Corinna Vinschen <corinna@vinschen.de>
5333 * libc/locale/nl_langinfo.c (nl_langinfo): Return "CP932" when using
5334 SJIS on Cygwin. Explain why.
5336 2010-01-23 Corinna Vinschen <corinna@vinschen.de>
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.
5341 2010-01-23 Corinna Vinschen <corinna@vinschen.de>
5343 * libc/locale/locale.c (loadlocale): Disable JIS entirely on Cygwin.
5344 Allow TIS620 and TIS-620 as aliases for CP874 on Cygwin.
5346 2010-01-22 Corinna Vinschen <corinna@vinschen.de>
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
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.
5390 2010-01-20 Corinna Vinschen <corinna@vinschen.de>
5392 * libc/locale/nl_langinfo.c (nl_langinfo): On Cygwin, translate
5393 often-used charsets into Linux compatible codesets.
5395 2010-01-19 Andy Koppe <andy.koppe@gmail.com>
5397 * libc/stdio/vfscanf.c (__SVFSCANF_R): Fix handling of non-ASCII
5398 characters and allow invalid bytes in format string.
5400 2010-01-19 Corinna Vinschen <corinna@vinschen.de>
5402 * libc/stdlib/wcstombs_r.c (_wcstombs_r): Handle invalid characters
5403 correctly also in the s==NULL case.
5405 2010-01-17 Corinna Vinschen <corinna@vinschen.de>
5407 * libc/locale/locale.c (loadlocale): Change comments to refer to
5408 ISO 639-3 rather than 639-2.
5410 2010-01-17 Corinna Vinschen <corinna@vinschen.de>
5412 * libc/locale/locale.c (loadlocale): Allow three character
5413 language codes to accommodate ISO 639-2 codes.
5415 2010-01-17 Corinna Vinschen <corinna@vinschen.de>
5417 * libc/locale/locale.c (lc_ctype_charset): Disable defaulting to
5419 (lc_message_charset): Ditto.
5420 (loadlocale): Disable setting charset of the "C" locale to "UTF-8" on
5422 * libc/stdlib/mbtowc_r.c (__mbtowc): Add Cygwin-specific comment.
5423 * libc/stdlib/wctomb_r.c (__wctomb): Ditto.
5425 2010-01-14 Corinna Vinschen <corinna@vinschen.de>
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.
5432 2010-01-14 Corinna Vinschen <corinna@vinschen.de>
5434 * libc/stdio/vfprintf.c (_VFPRINTF_R): Just wave bytes invalid in
5435 the current charset through.
5437 2010-01-11 Sebastian Huber <sebastian.huber@embedded-brains.de>
5439 * libc/posix/telldir.c (_cleanupdir): Fixed usage of freed memory.
5441 2010-01-11 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
5443 * libc/include/math.h (log2, log2f): Disable macro versions for C++,
5444 as they are incompatible with OpenMP/C++ headers.
5446 2010-01-10 Corinna Vinschen <corinna@vinschen.de>
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.
5452 2009-12-22 Eric Blake <ebb9@byu.net>
5454 * libc/include/sys/unistd.h (suboptarg, getsubopt): Move...
5455 * libc/include/stdlib.h: ...here, to match POSIX for getsubopt.
5457 2009-12-17 Jeff Johnston <jjohnstn@redhat.com>
5459 * NEWS: Update with 1.18.0 info.
5461 * acinclude.m4: Change version number to 1.18.0.
5462 * aclocal.m4: Regenerated.
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
5474 2009-12-17 Jeff Johnston <jjohnstn@redhat.com>
5476 * libc/include/_syslist.h: Add _mkdir transform.
5478 2009-12-17 Jerker Back <jerker.back@gmail.com>
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.
5485 2009-12-17 Jerker Back <jerker.back@gmail.com>
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.
5500 2009-12-17 Ralf Corsépius <ralf.corsepius@rtems.org>
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)
5506 2009-12-17 Ralf Corsépius <ralf.corsepius@rtems.org>
5508 * libc/include/machine/setjmp.h: Set up _JBLEN #ifdef __m68k__.
5510 2009-12-17 Ralf Corsepius <ralf.corsepius@rtems.org>
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.
5517 2009-12-16 Joel Sherrill <joel.sherrill@oarcorp.com>
5519 * libc/sys/rtems/machine/param.h: Only use sizeof(double) -1
5520 for ALIGNBYTES on SPARC.
5522 2009-12-16 Jeff Johnston <jjohnstn@redhat.com>
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.
5528 2009-12-16 Ralf Corsépius <ralf.corsepius@rtems.org>
5530 * libc/search/hcreate.c: Don't include <sys/queue.h> (Unused).
5532 2009-12-16 Ralf Corsépius <ralf.corsepius@rtems.org>
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.
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).
5546 2009-12-15 Conny Marco Menebrocker <c-m-m@gmx.de>
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.
5552 2009-12-14 Maxim Kuvyrkov <maxim@codesourcery.com>
5554 * libc/machine/m68k/memcpy.S: Patch to support
5555 boards which do not support unaligned read/write.
5557 2009-12-10 Conny Marco Menebrocker <c-m-m@gmx.de>
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.
5575 2009-12-08 Eric Blake <ebb9@byu.net>
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
5583 2009-12-03 Craig Howland <howland@LGSInnovations.com>
5585 * libc/stdlib/strtod.c: Correct "NO_REENT" to "_REENT_ONLY".
5586 * libc/stdlib/wcstod.c: Ditto.
5587 * libc/stdlib/dtoastub.c: Ditto.
5589 2009-11-23 Corinna Vinschen <corinna@vinschen.de>
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
5596 * libc/stdlib/mprec.c (_Kmax): Don't define here. Explain why.
5598 2009-11-20 Nick Clifton <nickc@redhat.com>
5600 * libc/machine/rx/strncat.S (_strncat): Replace use of r6
5601 (call-saved) with r14 (call-used).
5603 2009-11-18 Dave Korn <dave.korn.cygwin@googlemail.com>
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.
5609 2009-11-18 Corinna Vinschen <corinna@vinschen.de>
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.
5629 * libc/stdlib/mbrtowc.c (mbrtowc): Implement independently from
5630 _mbrtowc_r, unless PREFER_SIZE_OVER_SPEED or __OPTIMIZE_SIZE__ are
5632 * libc/stdlib/wcrtomb.c (wcrtomb): Implement independently from
5633 _wcrtomb_r, unless PREFER_SIZE_OVER_SPEED or __OPTIMIZE_SIZE__ are
5636 * libc/stdlib/mbtowc_r.c (__utf8_mbtowc): Drop unnecessary test for
5639 2009-11-17 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
5641 * libm/common/fdlibm.h (logb, logbf): Move decls from here...
5642 * libc/include/math.h (logb, logbf): ...to here.
5644 2009-11-06 Jon Turney <jon.turney@dronecode.org.uk>
5646 * libc/include/ctype.h (__ctype_lookup): Fix precedence.
5648 2009-10-30 Corinna Vinschen <corinna@vinschen.de>
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.
5656 2009-10-27 Nick Clifton <nickc@redhat.com>
5658 * MAINTAINERS (ARM): Add myself as an ARM maintainer.
5660 2009-10-26 DJ Delorie <dj@redhat.com>
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.
5670 2009-10-24 Eric Blake <ebb9@byu.net>
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
5677 2009-10-20 Jeff Johnston <jjohnstn@redhat.com>
5679 * configure.host: Don't set -O2 flag in newlib_cflags. Leave
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.
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.
5702 2009-10-16 Jeff Johnston <jjohnstn@redhat.com>
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.
5709 2009-10-15 Corinna Vinschen <corinna@vinschen.de>
5711 * libc/include/wchar.h (struct tm0: Declare as incomplete type.
5713 2009-10-15 Corinna Vinschen <corinna@vinschen.de>
5715 * libc/locale/nl_langinfo.c (nl_langinfo): Add Cygwin-specific temporary
5716 exception for KOI8 charsets.
5718 2009-10-13 Eric Blake <ebb9@byu.net>
5720 * libc/include/sys/unistd.h: Add _PC*, _CS*, and _SC* constants
5723 2009-10-13 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
5725 * libc/include/sys/signal.h: Include <sys/types.h> always.
5726 [__CYGWIN__, __rtems__]: Define kill first argument as pid_t per
5729 2009-10-09 Dave Korn <dave.korn@artimi.com>
5731 * libc/include/sys/time.h (_TIMEVAL_DEFINED): Define when
5732 defining struct timeval.
5734 2009-10-09 Corinna Vinschen <corinna@vinschen.de>
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".
5740 2009-10-08 Jeff Johnston <jjohnstn@redhat.com>
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.
5746 2009-10-08 Eric Blake <ebb9@byu.net>
5748 * libc/include/getopt.h (__getopt_r, __getopt_long_r)
5749 (__getopt_long_only_r): Protect declarations, to avoid compiler
5752 2009-10-07 Corinna Vinschen <corinna@vinschen.de>
5754 * libc/locale/nl_langinfo.c (nl_langinfo): Just return current locale
5757 2009-10-03 Corinna Vinschen <corinna@vinschen.de>
5759 * libc/stdlib/mbtowc_r.c (__utf8_mbtowc): Allow CESU-8 surrogate
5761 * libc/stdlib/wctomb_r.c (__utf8_mbtowc): Allow CESU-8 surrogate
5764 2009-09-29 Corinna Vinschen <corinna@vinschen.de>
5766 * libc/locale/locale.c (loadlocale): Allow "C." same as "C-" as locale
5767 prefix. Add some words to documentation.
5769 2009-09-29 Corinna Vinschen <corinna@vinschen.de>
5771 * libc/stdlib/sb_charsets.c: Throughout, translate undefined
5772 characters to their corresponding Windows Unicode value.
5774 2009-09-28 Michael Eager <eager@eagercon.com>
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.
5795 2009-09-27 Corinna Vinschen <corinna@vinschen.de>
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
5802 * libc/stdlib/wctomb_r.c (__wctomb): Default to __utf8_wctomb on
5805 2009-09-26 Eric Blake <ebb9@byu.net>
5807 * libc/include/sys/unistd.h (execvpe, fexecve) [__CYGWIN__]:
5810 2009-09-24 Eric Blake <ebb9@byu.net>
5812 * libc/include/sys/unistd.h (eaccess, euidaccess) [__CYGWIN__]:
5815 2009-09-23 Corinna Vinschen <corinna@vinschen.de>
5817 * libc/locale/locale.c: Drop Cygwin-specific windows.h include.
5818 (loadlocale): Call __set_charset_from_codepage with 0 codepage.
5820 2009-09-22 Ralf Corsépius <ralf.corsepius@rtems.org>
5822 * libc/include/stdlib.h: Add posix_memalign.
5824 2009-09-22 Ralf Corsépius <ralf.corsepius@rtems.org>
5826 * configure.host (*-rtems*): Remove -DMISSING_SYSCALL_NAMES.
5827 Add -DHAVE_BLKSIZE, -D_NO_WORDEXP -D_NO_POPEN.
5829 2009-09-22 Ralf Corsépius <ralf.corsepius@rtems.org>
5831 * configure.host (m32c): Move setting -DABORT_PROVIDED to second
5834 2009-09-18 Christopher Faylor <me+cygwin@cgf.cx>
5836 * libc/include/sys/unistd.h: Declare getpagesize as returning
5838 * libc/sys/linux/sys/unistd.h: Ditto.
5840 2009-08-31 Takaki Makino <t@snowelm.com>
5842 * libm/machine/i386/f_pow.c(_f_pow): Alter ASM so it works with
5844 * libm/maachine/i386/f_powf.c(_f_powf): Ditto.
5846 2009-08-25 Andy Koppe <andy.koppe@gmail.com>
5848 * libc/stdlib/sb_charsets.c (__micro_atoi): Allow five-digit codepage
5850 * libc/locale/locale.c (loadlocale): Set MB_CUR_MAX to 1 for KOI8
5852 * libc/stdlib/local.h (__cp_conv): Remove incorrect number of codepages.
5854 2009-08-24 Corinna Vinschen <corinna@vinschen.de>
5856 * libc/locale/locale.c: Update documentation.
5857 (loadlocale): Map "KOI8-R" and "KOI8-U" to CP20866 and CP21866.
5859 2009-08-24 Andy Koppe <andy.koppe@gmail.com>
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.
5865 2009-08-24 Andy Koppe <andy.koppe@gmail.com>
5867 * libc/ctype/iswspace.c (iswspace): Include "non-breaking
5869 * libc/ctype/iswblank.c (iswblank): Likewise.
5871 2009-08-21 Corinna Vinschen <corinna@vinschen.de>
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.
5877 2009-08-21 Eric Blake <ebb9@byu.net>
5879 * libc/include/iconv.h (iconv): Match POSIX prototype.
5880 * libc/iconv/lib/iconv.c (iconv): Likewise.
5882 2009-08-21 Craig Howland <howland@LGSInnovations.com>
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.
5887 2009-08-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5889 * iconvdata/Makefile.am (all): Remove.
5890 * libc/sys/a29khif/Makefile.am (all-am): Rename from ...
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.
5943 * configure.in (newlib_cv_ldbl_eq_dbl): Rename cache variable
5944 from newlib_ldbl_eq_dbl.
5945 * configure: Regenerate.
5947 2009-08-19 Eric Blake <ebb9@byu.net>
5949 * libc/Makefile.am (SUBDEFS): Correctly build popen docs.
5950 * libc/libc.texinfo (Top): Add posix node to menu.
5952 2009-08-18 Jeff Johnston <jjohnstn@redhat.com>
5954 * newlib.hin: Add comment regarding file being manually edited.
5955 * Makefile.am: Add no-op rule for newlib.hin.
5956 * Makefile.in: Regenerated.
5958 2009-08-18 Jeff Johnston <jjohnstn@redhat.com>
5960 * acconfig.h: Add templates for _HAVE_LONG_DOUBLE and _LDBL_EQ_DBL.
5962 2009-08-18 Eric Blake <ebb9@byu.net>
5964 * libc/posix/popen.c (popen): Fix documented prototype.
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.
5975 2009-08-17 Craig Howland <howland@LGSInnovations.com>
5977 * libc/string/wcsncpy.c (wcsncpy): Re-write function based on small
5978 version of strncpy() (fixing two bugs).
5980 2009-08-13 Corinna Vinschen <corinna@vinschen.de>
5982 * libc/stdio/mktemp.c (mkdtemp): Fix typo in function name.
5984 2009-08-12 Jeff Johnston <jjohnstn@redhat.com>
5986 * libc/stdio/mktemp.c (_gettemp): Do not call _mkdir_r unless
5987 HAVE_MKDIR is defined.
5989 2009-08-12 Hans-Peter Nilsson <hp@axis.com>
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.
5997 2009-08-10 Jeff Johnston <jjohnstn@redhat.com>
5999 * libc/stdlib/wcstombs.c: Change documentation to specify size_t
6000 return type instead of int.
6002 2009-07-29 Jeff Johnston <jjohnstn@redhat.com>
6004 * libc/stdlib/a64l.c: Fix to use 'a' instead of 'A' in calculation
6005 when a lower-case character is detected.
6007 2009-07-29 Corinna Vinschen <corinna@vinschen.de>
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.
6015 2009-07-28 Corinna Vinschen <corinna@vinschen.de>
6017 * libc/stdlib/mbtowc_r.c (__utf8_mbtowc): Fix incrementing n in case
6018 of handling incomplete sequences.
6020 2009-07-22 Eric Blake <ebb9@byu.net>
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.
6026 2009-07-09 Craig Howland <howland@LGSInnovations.com>
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
6053 * libm/machine/spu/sf_isinf.c: Fix comment (remove <math.h>).
6055 2009-07-06 Joel Sherrill <joel.sherrill@oarcorp.com>
6057 * libc/include/sys/features.h: Enable UNIX98 mutex attributes
6060 2009-07-03 Eric Blake <ebb9@byu.net>
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.
6072 * libc/stdio/fpurge.c (fpurge, _fpurge_r): New file.
6073 * libc/stdio/Makefile.am (ELIX_4_SOURCES, CHEWOUT_FILES, fpurge):
6075 * libc/stdio/Makefile.in: Regenerated.
6076 * libc/include/stdio.h (fpurge, _fpurge_r): New declarations.
6077 * libc/stdio/stdio.tex: Build documentation.
6079 2009-06-23 Jeff Johnston <jjohnstn@redhat.com>
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.
6085 2009-06-19 Joel Sherrill <joel.sherrill@oarcorp.com>
6087 * libc/sys/rtems/machine/param.h: Change ALIGNBYTES
6088 so it can point to an aligned structure or double.
6090 2009-06-18 Corinna Vinschen <corinna@vinschen.de>
6092 * libc/locale/locale.c (loadlocale): Add handling of "@cjknarrow"
6093 modifier on _MB_CAPABLE targets. Add comment to explain. Improve
6096 2009-06-17 Michael Eager <eager@eagercon.com>
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.
6103 2009-06-16 Corinna Vinschen <corinna@vinschen.de>
6105 * libc/include/locale.h (struct lconv): Add missing members required
6107 * libc/locale/locale.c (lconv): Initialize new members to default
6108 values in "C" locale.
6110 2009-06-16 Corinna Vinschen <corinna@vinschen.de>
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.
6122 2009-06-16 Craig Howland <howland@LGSInnovations.com>
6124 * libc/ctype/local.h (__locale_charset): Add arguments to
6126 * libc/stdlib/local.h (__locale_charset): Ditto.
6128 2009-06-16 Craig Howland <howland@LGSInnovations.com>
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.
6135 2009-06-09 Corinna Vinschen <corinna@vinschen.de>
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.
6141 2009-06-03 IWAMURO Motonori <deenheart@gmail.com>
6143 * libc/string/wcwidth.c: Optimize for speed.
6145 2009-06-03 Corinna Vinschen <corinna@vinschen.de>
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.
6156 2009-06-02 Richard Earnshaw <rearnsha@arm.com>
6158 * libc/include/sys/config.h: Remove specification of _REENT_SMALL for
6161 2009-06-02 IWAMURO Motonori <deenheart@gmail.com>
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.
6168 2009-05-27 Neal H. Walfield <neal@gnu.org>
6170 * libc/include/machine/setjmp.h (sigjmp_buf): Size according to
6171 _JBTYPE and the size of sigset_t.
6173 2009-05-15 Craig Howland <howland@LGSInnovations.com>
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
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
6191 2009-05-15 Corinna Vinschen <corinna@vinschen.de>
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
6204 (wcwidth): Convert japanese wide characters to Unicode here.
6205 Call __wcwidth rather than using iswprint/iswcntrl.
6207 2009-05-14 Corinna Vinschen <corinna@vinschen.de>
6209 * libc/ctype/local.h (JP_JIS, JP_SJIS, JP_EUCJP): Move definition
6211 (__jp2uc): Remove declaration.
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.
6225 2009-05-13 Paul Brook <paul@codesourcery.com>
6227 * libc/machine/arm/setjmp.S: Don't bother saving IP. Copy SP to
6228 IP before saving. Likewise when restoring.
6230 2009-05-13 Paul Brook <paul@codesourcery.com>
6232 * libc/machine/arm/setjmp.S: Add ARMv6-M implementation.
6234 2009-05-13 Corinna Vinschen <corinna@vinschen.de>
6236 * libc/locale/locale.c (setlocale): Don't build on Cygwin.
6238 2009-05-11 Craig Howland <howland@LGSInnovations.com>
6240 * libm/machine/i386/f_llrint.c: Remove llrint() definition.
6241 * libm/machine/i386/f_llrintf.c: Remove llrintf() definition.
6243 2009-05-08 Nick Clifton <nickc@redhat.com>
6245 * MAINTAINERS: Add myself as a maintainer for the MN10300 and to
6246 the write-after-approval list.
6248 2009-04-30 Anthony Green <green@moxielogic.com>
6250 * MAINTAINERS: Add myself as moxie maintainer and to the
6251 write-after-approval list.
6253 2009-04-30 Eric Blake <ebb9@byu.net>
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.
6261 2009-04-24 Jeff johnston <jjohnstn@redhat.com>
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
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.
6275 2009-04-24 Jeff johnston <jjohnstn@redhat.com>
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
6283 * libc/include/stdlib.h: Use _LDBL_EQ_DBL flag instead of
6285 * libc/common/local.h: Remove _LDBL_EQ_DBL flag setting.
6286 * libc/stdlib/local.h: Ditto.
6288 2009-04-24 Joseph Myers <joseph@codesourcery.com>
6290 * libc/include/stdint.h (UINTPTR_MAX): Define to __UINTPTR_MAX__
6291 if __UINTPTR_MAX__ defined.
6293 2009-04-24 Eric Blake <ebb9@byu.net>
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.
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.
6307 2009-04-23 Mike Burgess <wizardsguild@earthlink.net>
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.
6314 2009-04-23 Paul Brook <paul@codesourcery.com>
6315 Kazu Hirata <kazu@codesourcery.com>
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.
6322 2009-04-22 Anthony Green <green@moxielogic.com>
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.
6336 2009-04-22 Kazu Hirata <kazu@codesourcery.com>
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.
6342 2009-04-21 Corinna Vinschen <corinna@vinschen.de>
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.
6352 2009-04-21 Sandra Loosemore <sandra@codesourcery.com>
6354 * libc/reent/impure.c (__sf_fake_stdin, __sf_fake_stdout)
6355 (__sf_fake_stderr): Declare locally with weak attribute.
6357 2009-04-21 Mark Mitchell <mark@codesourcery.com>
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.
6365 (realloc): Likewise.
6366 (_malloc_r): Likewise.
6367 (_callor_r): Likewise.
6368 (_free_r): Likewise.
6369 (_realloc_r): Likewise.
6371 2009-04-20 Jeff johnston <jjohnstn@redhat.com>
6373 * libc/include/math.h: Change _LDBL_EQ_DBL flag usage to
6375 * libc/include/stdlib.h: Change _LDBL_EQ_DBL flag usage to
6376 be _HAVE_LDBL_STDLIB.
6378 2009-04-17 Jeff johnston <jjohnstn@redhat.com>
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.
6440 2009-04-17 Ken Werner <ken.werner@de.ibm.com>
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.
6448 2009-04-17 Ken Werner <ken.werner@de.ibm.com>
6450 * libc/configure.in: Change AC_TRY_COMPILE to AC_TRY_COMMAND to
6451 avoid executable test.
6452 * libc/configure: Regenerate.
6454 2009-04-17 Jeff johnston <jjohnstn@redhat.com>
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.
6465 2009-04-16 Jeff johnston <jjohnstn@redhat.com>
6467 * libc/misc/init.c (__libc_fini_array): Process fini_array in
6468 reverse order as compliant with the ELF specification.
6470 2009-04-16 Ken Werner <ken.werner@de.ibm.com>
6472 * libc/machine/spu/Makefile.am: Add new File.
6473 * libc/machine/spu/Makefile.in: Regenerate.
6474 * libc/machine/spu/fdopen.c: New file.
6476 2009-04-16 Hans-Peter Nilsson <hp@axis.com>
6478 * libc/include/stdint.h (INTPTR_MIN, INTPTR_MAX, UINTPTR_MAX): Define.
6480 2009-04-16 Ken Werner <ken.werner@de.ibm.com>
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.
6558 2009-04-09 Corinna Vinschen <corinna@vinschen.de>
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
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
6569 * libc/ctype/isupper.c (isupper): Ditto, but check for _U flag.
6570 * libc/include/ctype.h (islower): Same in macro.
6572 (isblank): Special case TAB. Redefine macro for GCC only.
6574 2009-04-09 Corinna Vinschen <corinna@vinschen.de>
6576 * libc/stdlib/local.h (__mbtowc): Declare extern.
6579 2009-04-09 Corinna Vinschen <corinna@vinschen.de>
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.
6589 2009-04-08 Ken Werner <ken.werner@de.ibm.com>
6591 * configure.in: Add square brackets for the array aliasing conftest.
6592 * configure: Regenerate.
6594 2009-04-06 Mike Burgess <wizardsguild@earthlink.net>
6596 * libc/string/strncasecmp.c: Optimized rewrite.
6598 2009-04-06 Ken Werner <ken.werner@de.ibm.com>
6600 * libc/include/sys/features.h: Undefine _POSIX_TIMERS for spu.
6601 * libc/include/machine/time.h (nanosleep): Declare.
6603 2009-04-06 Corinna Vinschen <corinna@vinschen.de>
6605 * libc/locale/locale.c (loadlocale): Set mbc_max to 3 for EUCJP.
6607 2009-04-04 Corinna Vinschen <corinna@vinschen.de>
6609 * libc/stdlib/wcstombs.c: Fix datatypes in documentation.
6611 2009-04-04 Corinna Vinschen <corinna@vinschen.de>
6613 * libc/include/stdio.h (_ELIDABLE_INLINE): Move definition from here...
6614 * libc/include/_ansi.h (_ELIDABLE_INLINE): ..to here.
6616 2009-04-03 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
6618 * libc/include/stdio.h [__SCLE] (__sgetc_r): Prototype before define
6619 to avoid a warning with -Wmissing-prototypes.
6621 2009-04-03 Ken Werner <ken.werner@de.ibm.com>
6623 * libc/machine/spu/mmap_ea.c (mmap_ea): Check length argument.
6625 2009-04-03 Ken Werner <ken.werner@de.ibm.com>
6627 * libc/machine/spu/sys/linux_syscalls.h: include <sys/types.h>
6628 (linux_getpid, linux_gettid): Declare.
6630 2009-04-03 Ken Werner <ken.werner@de.ibm.com>
6632 * libc/machine/spu/spu-gmon.c: Tweaks to support simultaneous SPU
6635 2009-04-03 Ken Werner <ken.werner@de.ibm.com>
6637 * libc/include/math.h: Remove duplicate copysign prototype.
6638 Fix __math_68881 define typo. Guard functions of the rint family.
6640 2009-04-03 Craig Howland <howland@LGSInnovations.com>
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.
6647 2009-04-02 Corinna Vinschen <corinna@vinschen.de>
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.
6657 2009-03-31 Corinna Vinschen <corinna@vinschen.de>
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
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.
6684 (__ctype_ptr__): De-constify.
6685 (toupper): Disable macro on systems supporting extended charsets.
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.
6692 2009-03-26 Corinna Vinschen <corinna@vinschen.de>
6694 * libc/locale/locale.c (loadlocale): Revert to charset "GBK" instead
6695 of "GB2312". Fix documentation accordingly.
6697 2009-03-26 Corinna Vinschen <corinna@vinschen.de>
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.
6704 2009-03-25 Craig Howland <howland@LGSInnovations.com>
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()
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()
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()
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()
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()
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
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
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
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.
6786 2009-03-25 Richard Earnshaw <rearnsha@arm.com>
6788 * libc/machine/arm/strcmp.c (strcmp_unaligned): Correctly
6789 detect the nul-byte in a big-endian string.
6791 2009-03-25 Jeff Johnston <jjohnstn@redhat.com>
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.
6798 2009-03-25 Corinna Vinschen <corinna@vinschen.de>
6800 * libc/locale/locale.c (loadlocale): Only change __wctomb and __mbtowc
6801 pointers if category is LC_CTYPE.
6803 2009-03-25 Corinna Vinschen <corinna@vinschen.de>
6805 * libc/locale/locale.c (loadlocale): Rename charset "GBK" to
6806 "GB2312". Fix documentation accordingly.
6808 2009-03-24 Corinna Vinschen <corinna@vinschen.de>
6810 * libc/locale/locale.c (loadlocale): Rename charset "CP949" to
6811 "eucKR". Fix documentation accordingly.
6813 2009-03-24 Corinna Vinschen <corinna@vinschen.de>
6815 * libc/locale/locale.c (loadlocale): Allow charset starting with 'e'
6816 for "eucJP" charset support.
6818 2009-03-24 Jeff Johnston <jjohnstn@redhat.com>
6820 * libc/include/sys/errno.h: Move EFTYPE to general usage because
6821 it is used in libc/search.
6823 2009-03-24 Corinna Vinschen <corinna@vinschen.de>
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.
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
6859 Declare tables and functions from sb_charsets.c.
6860 * libc/stdlib/mbtowc_r.c (__mbtowc): Define. Set to __ascii_mbtowc
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
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.
6885 2009-03-23 Richard Earnshaw <rearnsha@arm.com>
6887 * libc/machine/arm/strcmp.c (strcmp): Treat char as unsigned.
6889 2009-03-23 Corinna Vinschen <corinna@vinschen.de>
6891 * libc/locale/locale.c (loadlocale): Fix typo in language and
6892 territory evaluation.
6894 2009-03-20 Jeff Johnston <jjohnstn@redhat.com>
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__.
6901 2009-03-19 Corinna Vinschen <corinna@vinschen.de>
6903 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Return EILSEQ in case of an
6904 invalid character sequence.
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.
6910 2009-03-18 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
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.
6918 2009-03-17 Corinna Vinschen <corinna@vinschen.de>
6920 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): Handle NULL destination
6923 2009-03-16 Mark Mitchell <mark@codesourcery.com>
6925 * libc/machine/arm/strlen.c (strlen): Fix defect in Thumb-2 mode.
6927 2009-03-16 Richard Earnshaw <rearnsha@arm.com>
6929 * libc/machine/arm/strlen.c (strlen): Correctly detect
6931 * libc/machine/arm/strcpy.c (strcpy): Likewise.
6932 * libc/machine/arm/strcmp.c (strcmp, strcmp_unaligned): Likewise.
6934 2009-03-15 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
6936 * libc/include/sys/errno.h (ESTRPIPE): Define.
6937 * libc/string/strerror.c (strerror): Decode it.
6939 2009-03-15 Corinna Vinschen <corinna@vinschen.de>
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.
6947 2009-03-14 Corinna Vinschen <corinna@vinschen.de>
6949 * libc/include/stdlib.h (_mkstemp_r, _mktemp_r): Move out of
6950 !_REENT_ONLY section.
6952 2009-03-14 Corinna Vinschen <corinna@vinschen.de>
6954 * libc/include/stdio.h (_mkstemp_r, _mktemp_r): Move declarations
6956 * libc/include/stdlib.h (mktemp, _mktemp_r): Warn when using.
6957 * libc/stdio/mktemp.c: Explain the security risk when using
6960 2009-03-12 Craig Howland <howland@LGSInnovations.com>
6962 * libc/time/time.tex (wcsftime.def): Include.
6963 * libc/time/wcsftime.c: Clean up documentation a little.
6965 2009-03-12 Craig Howland <howland@LGSInnovations.com>
6967 * libc/stdio/swscanf.c: Some documentation corrections.
6969 2009-03-12 Craig Howland <howland@LGSInnovations.com>
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.
6985 2009-03-11 Corinna Vinschen <corinna@vinschen.de>
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.
6994 2009-03-11 Corinna Vinschen <corinna@vinschen.de>
6996 * libc/include/wchar.h (fwscanf, swscanf, vfwscanf, vswscanf, vwscanf,
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.
7012 * libc/stdio/vfscanf.c (_sungetc_r): Make externaly available. Only
7013 define if INTEGER_ONLY is defined. Declare otherwise.
7014 (__ssrefill_r): Ditto.
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.
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.
7028 2009-03-09 Brooks Moses <brooks@codesourcery.com>
7030 * libc/machine/arm/arm_asm.h: Fix typo.
7032 2009-03-09 Craig Howland <howland@LGSInnovations.com>
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.
7046 2009-03-06 Hans-Erik Floryd <hans-erik.floryd@rt-labs.com>,
7047 Corinna Vinschen <corinna@vinschen.de>
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
7052 (_wrapup_reent): Check if _atexit is not NULL before dereferencing it.
7054 2009-03-06 Corinna Vinschen <corinna@vinschen.de>
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.
7085 2009-03-03 Corinna Vinschen <corinna@vinschen.de>
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.
7109 2009-03-02 Jeff Johnston <jjohnstn@redhat.com>
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.
7115 2009-03-02 Corinna Vinschen <corinna@vinschen.de>
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.
7121 2009-02-26 Brooks Moses <brooks@codesourcery.com>
7123 * libc/machine/arm/strcpy.c: Add missing comma.
7125 2009-02-26 Ralf Corsepius <ralf.corsepius@rtems.org>
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.
7131 2009-02-25 Brooks Moses <brooks@codesourcery.com>
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
7141 2009-02-25 Corinna Vinschen <corinna@vinschen.de>
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.
7150 2009-02-24 Kevin Buettner <kevinb@redhat.com>
7152 * libc/stdio/open_memstream.c (stdint.h): Include.
7154 2009-02-23 Craig Howland <howland@LGSInnovations.com>
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
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.
7165 2009-02-19 Corinna Vinschen <corinna@vinschen.de>
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
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.
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.
7182 * libc/stdlib/stdlib.tex: Accommodate new documentation.
7184 2009-02-18 Jeff Johnston <jjohnstn@redhat.com>
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
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>.
7196 2009-02-18 Corinna Vinschen <corinna@vinschen.de>
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.
7203 (memseeker64): 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
7209 (_open_wmemstream_r): New function.
7210 (open_wmemstream): Ditto.
7211 * libc/include/wchar.h (open_wmemstream): Declare.
7212 (_open_wmemstream_r): Declare.
7214 2009-02-16 Corinna Vinschen <corinna@vinschen.de>
7216 * libc/stdio/fputwc.c: Fix typo in man page info.
7218 2009-02-12 Corinna Vinschen <corinna@vinschen.de>
7220 * libc/include/wchar.h (_wcstod_r): Declare.
7221 (_wcstof_r): 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.
7230 2009-02-05 Neal H. Walfield <neal@gnu.org>
7232 * libc/machine/x86_64/memcpy.S (memcpy): Don't use the red zone.
7234 2009-01-28 Jeff Johnston <jjohnstn@redhat.com>
7236 * libc/stdio/vfscanf.c (__SVFSCANF_R): Add additional check for
7237 inf and nan processing to not proceed if we have already collected
7240 2009-01-26 DJ Delorie <dj@redhat.com>
7242 * configure.host (m32c-*-*): Add long long I/O support by default.
7244 2009-01-21 Richard Earnshaw <rearnsha@arm.com>
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.
7252 2009-01-19 Neal H. Walfield <neal@gnu.org>
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,
7260 2009-01-12 Nathan Froyd <froydnj@codesourcery.com>
7262 * libc/machine/powerpc/vfscanf.c (__sccl): Remove declaration.
7264 2009-01-12 Jeff Johnston <jjohnstn@redhat.com>
7266 * libc/stdio/fwalk.c (__fwalk, __fwalk_reent): Remove locking of
7267 each fp. Let the function being called lock the fp, if necessary.
7269 2009-01-07 Kazu Hirata <kazu@codesourcery.com>
7271 * libc/include/sys/stdio.h (_flockfile, _funlockfile): Fix typos.
7273 2009-01-05 Craig Howland <howland@LGSInnovations.com>
7275 * libc/stdio/fwide.c: Correct typo in TRAD_SYNOPSIS for _fwide_r.
7277 2008-12-19 Jeff Johnston <jjohnstn@redhat.com>
7279 * NEWS: Update with 1.17.0 info.
7281 * acinclude.m4: Change version number to 1.17.0.
7282 * aclocal.m4: Regenerated.
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
7294 2008-12-17 Jon Beniston <jon@beniston.com>
7296 * configure.host: Set syscall_dir for lm32 target.
7298 2008-12-15 Jeff Johnston <jjohnstn@redhat.com>
7300 * libc/stdio/stdio.tex: Remove putwc and getwc references as they
7301 are included as part of fputwc and fgetwc, respectively.
7303 2008-12-12 Craig Howland <howland@LGSInnovations.com>
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.
7311 2008-12-12 Ralf Corsepius <ralf.corsepius@rtems.org>
7313 * libc/stdio/fputws.c: Fix documentation.
7314 * libc/stdio/getwchar.c: Ditto.
7315 * libc/stdio/putwchar.c: Ditto.
7317 2008-12-12 Ralf Corsepius <ralf.corsepius@rtems.org>
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).
7323 2008-12-12 Ralf Corsepius <ralf.corsepius@rtems.org>
7325 * libc/sys/rtems/crt0.c: Add stubs for getdents(), nanosleep(),
7328 2008-12-12 Ralf Corsepius <ralf.corsepius@rtems.org>
7330 * configure.host: Let *rtems* default to c99-formats.
7332 2008-12-12 Craig Howland <howland@LGSInnovations.com>
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.
7338 2008-12-11 Jeff Johnston <jjohnstn@redhat.com>
7340 * libc/include/sys/time.h (gettimeofday): Change prototype so
7341 2nd parameter is void *, matching SUSV2.
7342 * libc/syscalls/sysgettod.c (gettimeofday): Ditto.
7344 2008-12-11 Jukka Pietarinen <jukka.pietarinen@mrf.fi>
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.
7358 2008-12-11 Craig Howland <howland@LGSInnovations.com>
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
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.
7401 2008-12-10 Corinna Vinschen <corinna@vinschen.de>
7403 Implement basic wide char stdio functionality, based on FreeBSD.
7404 * libc/include/stdio.h (__SORD): Define.
7406 * libc/include/wchar.h: Add declarations for new wide char functions.
7407 (getwc): Define as macro.
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
7416 (CHEWOUT_FILES): Add fgetwc.def, fgetws.def, fputwc.def, fputws.def,
7417 fwide.def, getwc.def, getwchar.def, putwc.def, putwchar.def and
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
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
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
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.
7449 2008-12-10 Joseph Myers <joseph@codesourcery.com>
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.
7466 2008-12-04 Corinna Vinschen <corinna@vinschen.de>
7468 * libc/include/sys/features.h (_POSIX_V6_ILP32_OFF32): Always define.
7469 (_POSIX_V6_LP64_OFF64): Ditto.
7470 (_POSIX_V6_LPBIG_OFFBIG): Ditto.
7472 2008-11-28 Jeff Johnston <jjohnstn@redhat.com>
7474 * libc/sys/linux/inode.c: Include <dirent.h> instead of
7476 * libc/sys/linux/io64.c: Add weak alias for _stat64.
7478 2008-11-27 Ralf Corsepius <ralf.corsepius@rtems.org>
7480 * libc/posix/telldir.c: Use #if !defined() instead of #ifndef
7483 2008-11-27 Ken Werner <ken.werner@de.ibm.com>
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.
7490 2008-11-27 Joel Sherrill <joel.sherrill@oarcorp.com>
7492 * configure.host (*-rtems*): Turn on using portion of unix subdirectory.
7494 2008-11-27 Craig Howland <howland@LGSInnovations.com>
7496 * libc/argz/argz_add.c: Added #include <argz.h> to get function
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
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.
7511 2008-11-26 Ken Werner <ken.werner@de.ibm.com>
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.
7523 2008-11-25 Corinna Vinschen <corinna@vinschen.de>
7525 * libc/stdio/gets.c (_gets_r): Lock stdin here and call
7526 __sgetc_r instead of _getchar_r.
7528 2008-11-24 Craig Howland <howland@LGSInnovations.com>
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
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.
7548 2008-11-24 Jeff Johnston <jjohnstn@redhat.com>
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.
7555 2008-11-24 Joel Sherrill <joel.sherrill@oarcorp.com>
7557 * libc/posix/scandir.c: Fix memory leaks.
7559 2008-11-24 Joel Sherrill <joel.sherrill@oarcorp.com>
7561 * libc/posix/Makefile.am: Compile readdir_r.c not readdir.c twice.
7562 * libc/posix/Makefile.in: Regenerated.
7564 2008-11-24 Corinna Vinschen <corinna@vinschen.de>
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.
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.
7575 2008-11-20 Ken Werner <ken.werner@de.ibm.com>
7577 * libc/machine/spu/sys/linux_syscalls.h: Additional syscall defines to
7578 be in sync with current kernels.
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>
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.
7623 2008-11-19 Joel Sherrill <joel.sherrill@oarcorp.com>
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__
7630 2008-11-19 Jeff Johnston <jjohnstn@redhat.com>
7632 * libc/sys/linux/bits/dirent.h: New header file.
7633 * libc/sys/linux/sys/dirent.h: Include <bits/dirent.h> instead of
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.
7645 2008-11-19 Craig Howland <howland@LGSInnovations.com>
7647 * libc/unix/collate.c (__collate_err): simplify to remove unnecessary
7648 strdup() and strlen() calls, also getting rid of a compiler warning.
7650 2008-11-19 Ralf Corsepius <ralf.corsepius@rtems.org>
7652 * libc/include/sys/config.h: Don't put
7653 __ATTRIBUTE_IMPURE_PTR__ into .sdata section for mips-rtems.
7655 2008-11-19 Ralf Corsepius <ralf.corsepius@rtems.org>
7657 * libc/posix/runetype.h: Add include of stddef.h and remove
7658 defining standard types: size_t and wchar_t.
7660 2008-11-19 Ralf Corsepius <ralf.corsepius@rtems.org>
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.
7666 2008-11-18 Joel Sherrill <joel.sherrill@oarcorp.com>
7668 * libc/unix/ttyname.c: Use isatty() instead of tcgetattr().
7670 2008-11-18 Jeff Johnston <jjohnstn@redhat.com>
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.
7684 2008-11-18 Craig Howland <howland@LGSInnovations.com>
7686 * libc/unix/ttyname.c: Add ttyname_r and change ttyname to use
7689 2008-11-17 Joel Sherrill <joel.sherrill@oarcorp.com>
7691 * configure.host: RTEMS now uses posix subdirectory.
7693 2008-11-17 Joel Sherrill <joel.sherrill@oarcorp.com>
7695 * sys/rtems/include/limits.h: Add _POSIX2_RE_DUP_MAX.
7696 * sys/rtems/sys/param.h: sys/rtprio.h not needed.
7698 2008-10-31 Jeff Johnston <jjohnstn@redhat.com>
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.
7730 2008-10-31 Jeff Johnston <jjohnstn@redhat.com>
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
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.
7803 2008-10-16 Joel Sherrill <joel.sherrill@oarcorp.com>
7805 * libc/include/sys/unistd.h: RTEMS follows standard for sync().
7807 2008-10-16 Joel Sherrill <joel.sherrill@oarcorp.com>
7809 * libc/include/time.h: Add CLOCK_MONOTONIC.
7810 * libc/include/sys/features.h: Define
7811 _POSIX_MONOTONIC_CLOCK for RTEMS.
7813 2008-10-15 Jeff Johnston <jjohnstn@redhat.com>
7815 * newlib.hin: Restore to previous 1.14 version which has no
7818 2008-10-15 Joel Sherrill <joel.sherrill@oarcorp.com>
7820 * libc/include/sys/unistd.h: Enable ttyname_r() for RTEMS.
7822 2008-10-15 Craig Howland <howland@LGSInnovations.com>
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).
7828 2008-10-15 Jeff Johnston <jjohnstn@redhat.com>
7830 * libc/stdio/vfscanf.c (__ssvfiscanf_r): Do not support %lc, %C, %ls or
7831 %S conversions when the EL/IX level is 1.
7833 2008-10-06 Eric Blake <ebb9@byu.net>
7835 * libc/stdlib/ldtoa.c (etoasc): Fix rounding to even when fraction
7838 2008-10-06 Craig Howland <howland@LGSInnovations.com>
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.
7843 2008-10-02 Jeff Johnston <jjohnstn@redhat.com>
7845 * libc/string/str-two-way.h (critical_factorization): Cast the index
7846 operation to ensure unsigned rollover occurs when adding to SIZE_MAX.
7848 2008-10-02 Jeff Johnston <jjohnstn@redhat.com>
7850 * libc/sys/linux/include/stdint.h (SIZE_MAX): Fix value which should
7851 be size of size_t, not int.
7853 * libc/sys/linux/sys/stdint.h: Ditto.
7855 2008-10-02 Jeff Johnston <jjohnstn@redhat.com>
7857 * libc/include/sys/reent.h[_REENT_SMALL](_REENT_INIT_RAND48): Add
7858 initialization of _rand_next to 1.
7860 2008-09-29 Peter O'Gorman <pogma@thewrittenword.com>
7861 Steve Ellcey <sje@cup.hp.com>
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.
8065 2008-09-26 Craig Howland <howland@LGSInnovations.com>
8067 * libc/stdlib/getenv_r.c (_getenv_r): Modify to not match if name
8068 contains an equal sign.
8070 2008-09-25 Raphael Derossa Pereira <raphaelpereira@gmail.com>
8072 * libc/include/pthread.h[_UNIX98_THREAD_MUTEX_ATTRIBUTES]: Add
8073 new pthread_mutexattr_gettype and pthread_mutexattr_settype
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
8080 2008-09-24 Jeff Johnston <jjohnstn@redhat.com>
8082 * libc/stdlib/setenv_r.c (_unsetenv_r): Modify to return -1 only if
8083 name is NULL, empty, or contains equal sign.
8085 2008-09-24 Pawel Veselov <pawel.veselov@gmail.com>
8087 Fix setenv/getenv/unsetenv to be OpenGroup compliant:
8088 * libc/include/stdlib.h (unsetenv, _unsetenv_r): Redefine with integer
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
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.
8100 2008-09-19 Eric Blake <ebb9@byu.net>
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.
8106 2008-09-10 Ken Werner <ken.werner@de.ibm.com>
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.
8112 2008-09-08 Jeff Johnston <jjohnstn@redhat.com>
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.
8121 2008-09-04 Ken Werner <ken.werner@de.ibm.com>
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.
8201 2008-09-04 Ken Werner <ken.werner@de.ibm.com>
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.
8218 2008-09-04 Ken Werner <ken.werner@de.ibm.com>
8220 * libm/machine/spu/headers/cbrt.h: cbrt_factors[] declared.
8221 * libm/machine/spu/headers/cbrtf.h: Likewise.
8223 2008-09-01 Ken Werner <ken.werner@de.ibm.com>
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.
8230 2008-08-28 Craig Howland <howland@LGSInnovations.com>
8232 * libc/time/mktime.c (mktime): Fix tm_isdst value usage (allowing
8233 any positive value from user (per std) rather than depending
8236 2008-08-28 Corinna Vinschen <corinna@vinschen.de>
8238 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Optimize condition
8239 for accepting a converted character.
8241 2008-08-27 Sandra Loosemore <sandra@codesourcery.com>
8243 * libc/libc.texinfo: Remove "LOCAL KLUGE" that prevents it
8245 * libm/libm.texinfo: Likewise.
8247 2008-08-27 Corinna Vinschen <corinna@vinschen.de>
8249 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Fix condition for
8250 accepting a converted character and continuing the loop.
8252 2008-07-24 Jeff Johnston <jjohnstn@redhat.com>
8254 * libc/include/ctype.h (_ctype_): Restore for C++ backward
8257 2008-07-21 Jeff Johnston <jjohnstn@redhat.com>
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.
8275 2008-07-18 Ken Werner <ken.werner@de.ibm.com>
8277 * libc/machine/spu/strcpy.h: Fix error in previous patch.
8279 2008-07-17 Jeff Johnston <jjohnstn@redhat.com>
8281 * libc/include/assert.h (__ASSERT_FUNC): Define to __FUNCTION__ when
8282 __STDC_VERSION__ < 199901L and __GNUC__ >= 2.
8284 2008-07-17 Ken Werner <ken.werner@de.ibm.com>
8286 * libc/machine/spu/strcpy.h: Pad null bytes if necessary.
8288 2008-07-08 Kenji Tanaka <tanaka.ken2@jp.panasonic.com>
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.
8293 2008-07-07 Hans-Peter Nilsson <hp@axis.com>
8295 * libc/machine/mips/strncpy.c: Include stdint.h to get uintptr_t.
8296 (strncpy): Cast src to uintptr_t before checking alignment with "&".
8298 2008-07-02 Jeff Johnston <jjohnstn@redhat.com>
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.
8307 2008-07-02 Jeff Johnston <jjohnstn@redhat.com>
8309 * libc/machine/mips/strncpy.c (strncpy): Fix logic so unaligned
8310 source data is taken care of before loop unrolling.
8312 2008-06-25 Hans-Peter Nilsson <hp@axis.com>
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.
8327 2008-06-21 Corinna Vinschen <corinna@vinschen.de>
8329 * libc/include/machine/setjmp.h (_longjmp): Define as function on
8333 2008-06-18 Eric Blake <ebb9@byu.net>
8335 Per Posix, strsignal returns non-const char*.
8336 * libc/include/string.h (strsignal): Fix return type.
8338 2008-06-17 Ken Werner <ken.werner@de.ibm.com>
8340 * libc/machine/spu/sys/linux_syscalls.h: New file to add Linux syscall
8343 2008-06-16 Ken Werner <ken.werner@de.ibm.com>
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.
8349 2008-06-16 Ken Werner <ken.werner@de.ibm.com>
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.
8365 2008-06-11 Jeff Johnston <jjohnstn@redhat.com>
8367 * libc/include/machine/_default_types.h: Fix GNUC check to
8368 handle 4.0 and greater.
8370 2008-06-09 Ken Werner <ken.werner@de.ibm.com>
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
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.
8386 2008-06-09 Ken Werner <ken.werner@de.ibm.com>
8388 * libc/machine/spu/strcat.c: Return value fixed.
8389 * libc/machine/spu/strncat.c: Likewise.
8391 2008-05-28 Eric Blake <ebb9@byu.net>
8393 Fix bug in previous patch.
8394 * libc/machine/i386/memset.S (memset): Mask second arg correctly.
8396 2008-05-27 Jeff Johnston <jjohnstn@redhat.com>
8398 * libc/string/memset.c: Fix documented prototype to remove
8399 erroneous const attribute on first parameter.
8401 2008-05-26 Eric Blake <ebb9@byu.net>
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.
8409 2008-05-26 Eric Blake <ebb9@byu.net>
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.
8418 2008-05-26 Eric Blake <ebb9@byu.net>
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.
8426 2008-05-23 Corinna Vinschen <corinna@vinschen.de>
8428 * libc/include/sys/_default_fcntl.h: Include <sys/time.h> on Cygwin.
8430 2008-05-22 Jeff Johnston <jjohnstn@redhat.com>
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
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
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
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.
8650 2008-05-21 Eric Blake <ebb9@byu.net>
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
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.
8662 2008-05-20 Nick Clifton <nickc@redhat.com>
8664 * libc/sys/sysnecv850/crt0.S (___dso_handle): Define (weak).
8666 2008-05-20 DJ Delorie <dj@redhat.com>
8668 * libc/sys/sysnecv850/isatty.c (_isatty): Renamed from isatty.
8670 2008-05-14 Jeff Johnston <jjohnstn@redhat.com>
8672 * libc/include/sys/reent.h: Change _REENT_INIT... macros to
8673 access macro parameter with parentheses around it.
8675 2008-04-26 Mark Mitchell <mark@codesourcery.com>
8677 * libc/include/stdint.h (SIZE_MIN): Remove.
8679 * testsuite/newlib.stdlib/stdlib.exp: New.
8680 * testsuite/newlib.stdlib/size_max.c: Likewise.
8682 2008-04-29 Eric Blake <ebb9@byu.net>
8684 Fix 2008-04-14 regression in asprintf(ptr,"").
8685 * libc/stdio/asnprintf.c (asnprintf, _asnprintf_r): Avoid stdio
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.
8694 2008-04-24 Corinna Vinschen <corinna@vinschen.de>
8696 * libc/include/sys/stat.h: Guard at-functions with !__INSIDE_CYGWIN__.
8697 (fstatat): Fix type of third parameter.
8699 2008-04-25 Nick Clifton <nickc@redhat.com>
8701 * libc/machine/arm/setjmp.S: Fix thumb2 support.
8703 2008-04-24 Nick Clifton <nickc@redhat.com>
8705 * libc/include/machine/ieeefp.h: Fix typo: _DOUBLE_IS_32_BITS
8706 should be _DOUBLE_IS_32BITS.
8708 2008-04-24 Corinna Vinschen <corinna@vinschen.de>
8710 * libc/include/sys/stat.h (UTIME_NOW): Define for Cygwin.
8711 (UTIME_OMIT): Ditto.
8712 (utimensat): Declare for Cygwin.
8715 2008-04-23 Ken Werner <ken.werner@de.ibm.com>
8717 * libc/include/_ansi.h: _LONG_LONG renamed to _LONG_LONG_TYPE.
8718 * libc/include/math.h: Likewise.
8720 2008-04-23 Corinna Vinschen <corinna@vinschen.de>
8722 * libc/include/stdio.h (renameat): Declare for Cygwin.
8724 * libc/include/sys/unistd.h (readlink): Align declaration to POSIX.
8725 (faccessat): Declare for Cygwin.
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.
8737 * libc/include/sys/stat.h (fchmodat): Ditto.
8743 2008-04-22 Nick Clifton <nickc@redhat.com>
8745 * libc/machine/arm/setjmp.S: Add support for thumb2 multiple
8746 register load/store instructions.
8748 2008-04-16 Patrick Mansfield <patmans@us.ibm.com>
8750 * libc/machine/spu/sys/errno.h: Use _impure_data, not _reent_data.
8752 2008-04-16 Patrick Mansfield <patmans@us.ibm.com>
8754 * libc/machine/spu/impure.c: Add missing underscore to impure_data.
8756 2008-04-14 Patrick Mansfield <patmans@us.ibm.com>
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.
8763 2008-04-14 Jeff Johnston <jjohnstn@redhat.com>
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.
8801 2008-04-04 DJ Delorie <dj@redhat.com>
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.
8807 2008-04-01 Patrick Mansfield <patmans@us.ibm.com>
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.
8815 2008-04-01 Patrick Mansfield <patmans@us.ibm.com>
8817 * configure.host: Build SPU with -DREENTRANT_SYSCALLS_PROVIDED and
8818 -DMISSING_SYSCALL_NAMES.
8820 2008-04-01 Patrick Mansfield <patmans@us.ibm.com>
8822 * libc/machine/spu/Makefile.am: Add assert.c.
8823 * libc/machine/spu/Makefile.in: Regenerate.
8824 * libc/machine/spu/assert.c: New file.
8826 2008-03-27 Patrick Mansfield <patmans@us.ibm.com>
8828 * libc/include/reent.h: Define _func_r functions in this file to
8829 func if REENTRANT_SYSCALLS_PROVIDED and MISSING_SYSCALL_NAMES are
8832 2008-03-27 Corinna Vinschen <corinna@vinschen.de>
8834 * libc/include/sys/unistd.h: Declare lockf(2) and define lockf
8835 constants when building for Cygwin.
8837 2008-03-11 Jeff Johnston <jjohnstn@redhat.com>
8839 * libc/stdio/rgetc.c (__srget_r): Invoke CHECK_INIT to ensure
8840 stdin gets resolved properly before refilling.
8842 2008-03-07 Jeff Johnston <jjohnstn@redhat.com>
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.
8851 2008-03-07 Jeff Johnston <jjohnstn@redhat.com>
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.
8860 2008-03-04 Eric Blake <ebb9@byu.net>
8862 Fix strtod("nan()", ptr).
8863 * libc/stdlib/gdtoa-hexnan.c (hexnan): When the optional
8864 n-char-sequence is omitted, still parse the ().
8866 2008-03-03 Eric Blake <ebb9@byu.net>
8868 Fix ftell bug after ungetc.
8869 * libc/stdio/ftell.c (_ftell_r): Don't flush ungetc buffer on
8871 * libc/stdio64/ftello64.c (_ftello64_r): Likewise.
8872 * libc/stdio/fflush.c (_fflush_r): Clear unget buffer when
8873 repositioning underlying fd offset.
8875 2008-03-02 Jeff Johnston <jjohnstn@redhat.com>
8877 * libc/include/getopt.h (no_argument): Added for glibc compatibility.
8878 (required_argument, optional_argument): Ditto.
8880 2008-02-29 Gregory Pietsch <gpietsch@comcast.net>
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.
8891 2008-02-21 Eric Blake <ebb9@byu.net>
8893 Fix strtod("-0x", NULL).
8894 * libc/stdlib/strtod.c (_strtod_r): Fall back to 0 if hex parse
8897 2008-02-12 Jeff Johnston <jjohnstn@redhat.com>
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.
8904 2008-02-12 Peter Rosin <peda@lysator.liu.se>
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.
8910 2008-02-11 Patrick Mansfield <patmans@us.ibm.com>
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.
8920 2008-02-11 Patrick Mansfield <patmans@us.ibm.com>
8922 * libc/machine/spu/strlen.c: Remove the len variable and unneeded
8923 calculation of its value.
8925 2008-01-25 Hans-Peter Nilsson <hp@bitrange.com>
8927 * libc/sys/mmixware/isatty.c (_isatty): Renamed from isatty.
8930 2008-01-21 DJ Delorie <dj@redhat.com>
8932 * libc/sys/sh/syscalls.c (_isatty): New.
8934 2008-01-21 Neal H. Walfield <neal@gnu.org>
8936 * Makefile.am (crt1.o): Use correct source.
8937 * Makefile.in: Regenerated.
8939 2008-01-15 Eric Blake <ebb9@byu.net>
8941 * libc/string/Makefile.am (ELIX_2_SOURCES): Fix definition.
8942 * libc/string/Makefile: Regenerate.
8944 2008-01-15 Corinna Vinschen <corinna@vinschen.de>
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.
8953 2008-01-11 Eric Blake <ebb9@byu.net>
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.
8969 2008-01-08 Jeff Johnston <jjohnstn@redhat.com>
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.
8975 2008-01-07 Jeff Johnston <jjohnstn@redhat.com>
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.
8984 2008-01-03 Jeff Johnston <jjohnstn@redhat.com>
8986 Make isatty syscall handling consistent with other newlib syscalls.
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.
9013 2008-01-02 Jeff Johnston <jjohnstn@redhat.com>
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.
9035 2007-12-19 Jeff Johnston <jjohnstn@redhat.com>
9037 * NEWS: Update with 1.16.0 info.
9039 * acinclude.m4: Change version number to 1.16.0.
9040 * aclocal.m4: Regenerated.
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.
9052 2007-12-19 Jeff Johnston <jjohnstn@redhat.com>
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.
9075 2007-12-19 Dave Korn <dave.korn@artimi.com>
9076 Jeff Johnston <jjohnstn@redhhat.com>
9078 * libc/include/_ansi.h: Add _LONG_LONG definition.
9079 * libc/include/math.h (llrint, llrintf, rintl, lrintl, llrintl): Add
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.
9091 2007-12-19 Jeff Johnston <jjohnstn@redhat.com>
9093 * libc/include/sys/features.h: Add checks for C90 compilers using
9096 2007-12-19 Corinna Vinschen <corinna@vinschen.de>
9098 * libc/include/wchar.h: Add prototypes for wcpcpy and wcpncpy.
9099 * libc/string/Makefile.am (ELIX_SOURCES): Add wcpcpy.c and
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.
9107 2007-12-19 Corinna Vinschen <corinna@vinschen.de>
9109 * libc/stdio/vfprintf.c (_VFPRINTF_R): Use correct pointer in call to
9112 2007-11-19 Nick Clifton <nickc@redhat.com>
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.
9126 2007-11-15 Jeff Johnston <jjohnstn@redhat.com>
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.
9135 2007-11-08 Corinna Vinschen <corinna@vinschen.de>
9137 * libc/include/sys/unistd.h: Remove Cygwin definition of MAXPATHLEN.
9139 2007-11-07 Dave Brolley <brolley@redhat.com>
9141 * libc/machine/configure: Regenerated to pick up mep-elf changes.
9143 * Contribute mep-elf from Red Hat
9144 2006-10-27 DJ Delorie <dj@redhat.com>
9146 * libc/include/machine/setjmp.h: Add MeP support.
9148 2003-04-17 DJ Delorie <dj@redhat.com>
9150 * configure.host (mep-*-*): Support "long long" type.
9152 2001-06-06 DJ Delorie <dj@redhat.com>
9154 * libc/include/machine/ieeefp.h (mep): Support little endian too.
9156 2001-05-14 DJ Delorie <dj@redhat.com>
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.
9163 2001-05-04 DJ Delorie <dj@redhat.com>
9165 * configure.host: Add mep.
9166 * libc/include/machine/ieeefp.h: Ditto.
9168 2007-10-31 DJ Delorie <dj@redhat.com>
9170 * libc/signal/signal.c (_raise_r): Don't attempt to initialize the
9171 signal table, just use a default, in case initialization cause
9174 2007-10-23 Jeff Johnston <jjohnstn@redhat.com>
9176 * libc/stdlib/wcstombs_r.c: Add SUSV2 support for calculating
9177 size if output buffer is NULL.
9179 2007-10-17 Jeff Johnston <jjohnstn@redhat.com>
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
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.
9192 2007-10-17 Jeff Johnston <jjohnstn@redhat.com>
9194 * libm/mathfp/s_logarithm.c: Fix case where input is 0 to
9196 * libm/mathfp/sf_logarithm.c: Ditto.
9198 2007-10-17 Jeff Johnston <jjohnstn@redhat.com>
9200 * libc/machine/i386/machine/fastmath.h: New file.
9202 2007-10-13 Eric Blake <ebb9@byu.net>
9204 * libc/stdio/vfprintf.c (_VFPRINTF_R) [__OPTIMIZE_SIZE__]:
9205 Correctly nest else within conditionals.
9206 Reported by Artur Lipowski.
9208 2007-10-09 Nick Clifton <nickc@redhat.com>
9210 * libc/sys/linux/dl/do-lookup.h (FCT): Support symbols with
9211 the STT_COMMON type.
9213 2007-10-09 Ben Elliston <bje@au.ibm.com>
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.
9219 2007-09-28 Patrick Mansfield <patmans@us.ibm.com>
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.
9246 2007-09-28 Patrick Mansfield <patmans@us.ibm.com>
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.
9438 2007-09-28 Patrick Mansfield <patmans@us.ibm.com>
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.
9552 2007-09-21 Patrick Mansfield <patmans@us.ibm.com>
9554 * libc/machine/spu/sys/uio.h: New file for readv and writev use.
9556 2007-09-21 Patrick Mansfield <patmans@us.ibm.com>
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
9561 * libc/machine/spu/sys/utime.h: New file, has utime prototype and
9562 struct utimbuf definition.
9564 2007-09-21 Patrick Mansfield <patmans@us.ibm.com>
9566 * libc/machine/spu/sys/dirent.h: New file, add prototypes and SPU
9567 specific struct and typedef.
9569 2007-09-18 Patrick Mansfield <patmans@us.ibm.com>
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.
9580 2007-09-18 Jeff Johnston <jjohnstn@redhat.com>
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.
9588 2007-09-17 Eric Blake <ebb9@byu.net>
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.
9594 2007-09-07 Jeff Johnston <jjohnstn@redhat.com>
9596 * libc/include/sys/_types.h: Protect all types with flag
9597 checks to allow definition in machine/_types.h.
9599 2007-09-07 Jeff Johnston <jjohnstn@redhat.com>
9601 * libc/sys/linux/sys/_types.h: Add _fpos_t and _fpos64_t
9602 definitions in light of the previous change.
9604 2007-09-07 Patrick Mansfield <patmans@us.ibm.com>
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.
9616 2007-09-07 Jeff Johnston <jjohnstn@redhat.com>
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.
9622 2007-09-06 Brian Dessent <brian@dessent.net>
9624 * libc/reent/getreent.c: Allow for case where __getreent is
9627 2007-09-06 Jeff Johnston <jjohnstn@redhat.com>
9629 * libc/include/math.h (_M_LOG2E): New log2 of e macro.
9630 (log2): Use _M_LOG2E instead of M_LOG2E.
9632 (M_LOG2E): Define to be _M_LOG2E.
9634 2007-09-04 Kazunori Asayama <asayama@sm.sony.co.jp>
9636 * libm/math/wf_tgamma.c: Add missing include.
9638 2007-08-31 Antony King <antony.king@st.com>
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.
9646 2007-08-28 Hans Kester <hans.kester@ellips.nl>
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.
9662 2007-08-24 Jeff Johnston <jjohnstn@redhat.com>
9664 * libm/common/sf_lround.c (lroundf): Cast sizeof calculation
9665 to int before comparing it to a signed int value.
9667 2007-08-24 Hans-Peter Nilsson <hp@axis.com>
9669 * libc/machine/cris/sys/errno.h (ECANCELED, ENOKEY, EKEYEXPIRED)
9670 (EKEYREVOKED, EKEYREJECTED, EOWNERDEAD, ENOTRECOVERABLE, ENOTSUP):
9673 2007-08-23 Hidetaka Takano <hidetaka.takano@glb.toshiba.co.jp>
9675 Reduce the memory consumption of variable argument functions
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.
9715 2007-08-03 Ralf Corsepius <ralf.corsepius@rtems.org>
9717 * libc/include/tar.h: New.
9719 2007-08-03 Jeff Johnston <jjohnstn@redhat.com>
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.
9727 2007-08-02 Eric Blake <ebb9@byu.net>
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):
9733 * libc/stdio/fopencookie.c (fcwriter): Minor optimization.
9734 * libc/include/stdio.h (dprintf, vdprintf): Group all POSIX 200x
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.
9742 2007-07-31 Eric Blake <ebb9@byu.net>
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
9748 * libc/stdio64/fdopen64.c (_fdopen64_r): Likewise.
9750 2007-07-18 Eric Blake <ebb9@byu.net>
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.
9763 2007-07-13 Eric Blake <ebb9@byu.net>
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.
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.
9792 2007-07-11 Jeff Johnston <jjohnstn@redhat.com>
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.
9797 2007-07-06 Corinna Vinschen <corinna@vinschen.de>
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
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.
9816 2007-07-06 Jeff Johnston <jjohnstn@redhat.com>
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
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.
9829 2007-07-06 Jeff Johnston <jjohnstn@redhat.com>
9831 * libc/sys/linux/intl/dcigettext.c: Define HAVE_STPCPY.
9832 * libc/sys/linux/intl/l10nflist.c: Ditto.
9834 2007-07-04 Corinna Vinschen <corinna@vinschen.de>
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.
9843 2007-06-28 Corinna Vinschen <corinna@vinschen.de>
9845 * libc/include/string.h: Add prototypes for stpcpy and stpncpy.
9846 * libc/string/Makefile.am (ELIX_SOURCES): Add stpcpy.c and
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.
9854 2007-06-27 Eric Blake <ebb9@byu.net>
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
9862 2007-06-20 Patrick Mansfield <patmans@us.ibm.com>
9864 * libc/machine/spu/perror.c: Pass errno as the second argument to
9867 2007-06-20 Patrick Mansfield <patmans@us.ibm.com>
9869 * libc/include/sys/unistd.h[__SPU__]: Add lockf prototype and related
9870 defines; expose ftruncate, truncate and sync prototypes.
9872 2007-06-20 Patrick Mansfield <patmans@us.ibm.com>
9874 * libc/include/sys/unistd.h[__SPU__]: Make fchdir prototype visible.
9875 * libc/include/sys/stat.h[__SPU__]: Make mknod and lstat prototypes
9878 2007-06-15 Patrick Mansfield <patmans@us.ibm.com>
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.
9884 2007-06-13 Patrick Mansfield <patmans@us.ibm.com>
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.
9891 2007-06-13 Jeff Johnston <jjohnstn@redhat.com>
9893 * libc/machine/spu/Makefile.am: Re-add back setjmp.S which
9894 I accidentally dropped.
9895 * libc/machine/spu/Makefile.in: Regenerated.
9897 2007-06-13 Patrick Mansfield <patmans@us.ibm.com>
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.
9907 2007-06-11 Corinna Vinschen <corinna@vinschen.de>
9909 * libc/include/sys/unistd.h: Declare confstr for Cygwin.
9910 Define confstr constants for Cygwin. Add comment.
9912 2007-06-10 Hans-Peter Nilsson <hp@bitrange.com>
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
9919 * libc/sys/mmixware/_exit.c (_exit): Update comment about
9920 passing on the exit value.
9922 2007-06-08 Jeff Johnston <jjohnstn@redhat.com>
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.
9930 2007-06-06 Christian Groessler <chris@groessler.org>
9932 * libc/stdlib/ldtoa (_ldcheck): Make sure the setting of
9933 rnd is done after the last local variable declaration.
9935 2007-06-06 Jeff Johnston <jjohnstn@redhat.com>
9937 * libc/stdlib/mprec.h[Just_16]: Make sure that Pack_16 is defined.
9939 2007-06-05 Christian Groessler <chris@groessler.org>
9941 * libc/argz/argz_insert.c (argz_insert): Move delta variable
9942 declaration to top of function in keeping with C89 standard.
9944 2007-06-04 Eric Blake <ebb9@byu.net>
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
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
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
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
9979 * libc/stdio/Makefile.in: Regenerate.
9981 2007-05-29 Eric Blake <ebb9@byu.net>
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.
9991 2007-05-29 Corinna Vinschen <corinna@vinschen.de>
9993 * libc/argz/argz_add_sep.c (argz_add_sep): Handle empty string
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.
10002 2007-05-27 Brian Dessent <brian@dessent.net>
10004 * libc/stdio/vfprintf.c (_VFPRINTF_R): Populate 'ox' when
10007 2007-05-25 Eric Blake <ebb9@byu.net>
10009 * libc/stdio/rewind.c (rewind): Fix regression of 2003-08-22.
10011 2007-05-24 Steve Ellcey <sje@cup.hp.com>
10012 Charles Wilson <libtool@cwilson.fastmail.fm>
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.
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.
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.
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.
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.
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.
10248 2007-05-23 Eric Blake <ebb9@byu.net>
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.
10257 2007-05-23 Patrick Mansfield <patmans@us.ibm.com>
10259 * libc/machine/spu/sys/syscall.h: Update the __send_to_ppe
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.
10307 2007-05-23 Eric Blake <ebb9@byu.net>
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
10314 2007-05-23 Corinna Vinschen <vinschen@redhat.com>
10316 * libc/argz/argz_create_sep.c (argz_create_sep): Initialize *argz_len
10318 * libc/include/argz.h: Guard against multiple inclusion. Guard for
10321 2007-05-18 Eric Blake <ebb9@byu.net>
10323 * libc/stdio/vfprintf.c [_WANT_IO_LONG_LONG]: Allow non-gcc
10325 * libc/stdio/vfscanf.c: Likewise.
10327 2007-05-17 Cary R. <cygcary <at> yahoo.com>
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.
10333 2007-05-17 Yaakov Selkowitz <yselkowitz <at> users.sourceforge.net>
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.
10347 2007-05-17 Charles Wilson <cygwin@...>
10349 * stdio/tmpfile.c: Include <sys/stat.h>.
10350 * stdio64/tmpfile64.c: Ditto.
10352 2007-05-16 Eric Blake <ebb9@byu.net>
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.
10359 * libc/include/math.h (INFINITY, NAN, FP_ILOGB0, FP_ILOGBNAN)
10360 (MATH_ERRNO, MATH_ERREXCEPT, math_errhandling): Add macros
10362 * libc/stdlib/ldtoa.c (USE_INFINITY): Rename from INFINITY, to
10363 avoid clash with <math.h>.
10365 * libc/stdlib/wctomb_r.c (_wctomb_r): Avoid gcc warnings on cygwin.
10366 * libc/search/hash.c (__hash_open): Likewise.
10368 2007-05-14 Eric Blake <ebb9@byu.net>
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.
10377 2007-05-11 Eric Blake <ebb9@byu.net>
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]:
10389 * configure: Regenerate.
10391 * libc/stdio/vfprintf.c (_VFPRINTF_R, cvt, exponent, chclass)
10392 (get_arg): Support '%a' and '%A'.
10394 2007-05-09 Eric Blake <ebb9@byu.net>
10396 Allow zero size with non-null buf in *asnprintf.
10397 * libc/stdio/asnprintf.c (_asnprintf_r, asnprintf): Avoid free'ing
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.
10403 2007-05-07 Charles Wilson <cygwin@...>
10405 * libc/stdio/vfprintf.c: Fix typo in comments that breaks docs.
10407 2007-05-03 Eric Blake <ebb9@byu.net>
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
10438 * libc/stdio/vasnprintf.c (vasnprintf, _vasnprintf_r): New file.
10439 * libc/stdio/vdprintf.c (_vdprintf_r): Rewrite to avoid malloc in
10441 * libc/stdio/vdiprintf.c (_vdiprintf_r): Likewise.
10442 * libc/include/stdio.h: Add prototypes for new functions; sort
10443 existing functions.
10445 2007-05-03 Kazu Hirata <kazu@codesourcery.com>
10447 * libc/machine/m68k/Makefile.am (lib_a_SOURCES): Add memcpy.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.
10453 2007-05-01 Eric Blake <ebb9@byu.net>
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.
10468 2007-05-01 Cary R. <cygcary <at> yahoo.com>
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.
10484 2007-04-27 Jeff Johnston <jjohnstn@redhat.com>
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.
10491 2007-04-27 Kazu Hirata <kazu@codesourcery.com>
10493 * libc/machine/m68k/Makefile.am (lib_a_SOURCES): Add memcpy.S
10495 * libc/machine/m68k/Makefile.in: Regenerate.
10496 * libc/machine/m68k/memcpy.S, libc/machine/m68k/memset.S: New.
10498 2007-04-26 Patrick Mansfield <patmans@us.ibm.com>
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.
10516 2007-04-25 Jeff Johnston <jjohnstn@redhat.com>
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.
10523 2007-04-25 Patrick Mansfield <patmans@us.ibm.com>
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).
10529 2007-04-25 Eric Blake <ebb9@byu.net>
10531 * libc/stdio/vfprintf.c (get_arg): Support %1$lc. Simplify types
10532 that promote to int.
10534 2007-04-25 Patrick Mansfield <patmans@us.ibm.com>
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.
10539 2007-04-24 Eric Blake <ebb9@byu.net>
10541 * libc/stdio/vfprintf.c (_VFPRINTF_R): Don't zero pad on infinity
10544 * libc/stdio/vfprintf.c (_VFPRINTF_R): Avoid multibyte when not
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.
10551 2007-04-23 Brian Dessent <brian@dessent.net>
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.
10557 2007-04-23 Ralf Wildenhues <Ralf.Wildenhues <at> gmx.de>
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.
10572 2007-04-23 Jeff Johnston <jjohnstn@redhat.com>
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.
10579 2007-04-17 Brian Dessent <brian@dessent.net>
10581 * libc/stdio/sscanf.c: Update documentation comments.
10582 * libc/stdio/vfscanf.c (__SVFSCANF_R): Handle j, t, and z modifiers.
10584 2007-04-12 Eric Blake <ebb9@byu.net>
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.
10590 2007-04-10 Eric Blake <ebb9@byu.net>
10592 * libc/include/stdio.h (_ELIDABLE_INLINE): Work even when using
10595 2007-04-09 Eric Blake <ebb9@byu.net>
10597 * libc/include/stdio.h: Add gcc format attributes to printf and
10600 2007-04-09 Joel Schopp <jschopp@austin.ibm.com>
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
10607 2007-04-04 Mark Mitchell <mark@codesourcery.com>
10609 * libc/stdlib/__call_atexit.c (__call_exitprocs): Handle atexit
10610 functions registering additional atexit functions.
10612 * testsuite/lib/flags.exp (newlib_include_flags): Drop
10615 2007-04-04 Patrick Mansfield <patmans@us.ibm.com>
10617 * libc/machine/spu/sys/syscall.h: New file for __send_to_ppe
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.
10668 2007-04-04 Jeff Johnston <jjohnstn@redhat.com>
10670 * libc/argz/argz_insert.c: Add stddef.h to get ptrdiff_t type.
10672 2007-04-04 Eric Blake <ebb9@byu.net>
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,
10698 * libc/include/stdio.h (diprintf, _diprintf_r, vdiprintf)
10699 (_vdiprintf_r, _fiprintf_r, _vfiprintf_r): Add prototypes.
10701 2007-03-30 Dave Korn <dave.korn@artimi.com>
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.
10709 2007-03-29 Nick Clifton <nickc@redhat.com>
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.
10719 2007-03-20 Nick Clifton <nickc@redhat.com>
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.
10729 2007-03-16 Charles Wilson <cygwin@...>
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.
10736 2007-03-16 Eric Blake <ebb9@byu.net>
10738 * libc/stdio64/fseek064.c (_fseeko64_r): Fix reentrancy.
10739 * libc/stdio64/freopen64.c (_freopen64_r): Ditto.
10741 2007-03-15 Jeff Johnston <jjohnstn@redhat.com>
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.
10756 2007-03-15 Eric Blake <ebb9@byu.net>
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.
10783 2007-03-12 Eric Blake <ebb9@byu.net>
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.
10792 2007-02-23 Jeff Johnston <jjohnstn@redhat.com>
10794 * libm/math/w_pow.c: Fix typo in documentation comment.
10796 2007-02-21 Patrick Mansfield <patmans@us.ibm.com>
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
10803 * libc/reent/Makefile.am: Regenerate.
10805 2007-02-20 Patrick Mansfield <patmans@us.ibm.com>
10807 * configure.host: Build SPU with default_newlib_atexit_dynamic_alloc="no".
10809 2007-02-20 Kazunori Asayama <asayama@sm.sony.co.jp>
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
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.
10844 2007-02-20 Kazunori Asayama <asayama@sm.sony.co.jp>
10846 * libc/include/stdio.h: Add declaration for vsiprintf.
10848 2007-02-14 Patrick Mansfield <patmans@us.ibm.com>
10850 Add a floating point environment for SPU (cell):
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.
10887 2007-02-14 Corinna Vinschen <corinna@vinschen.de>
10889 * libc/include/sys/features.h: Add _POSIX_MESSAGE_PASSING for
10892 2007-02-08 Corinna Vinschen <corinna@vinschen.de>
10894 * libc/include/sys/features.h: Add _POSIX_SHARED_MEMORY_OBJECTS for
10895 Cygwin. Fix value of _POSIX_SEMAPHORES. Fix formatting.
10897 2007-02-07 Corinna Vinschen <corinna@vinschen.de>
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
10903 (pthread_rwlockattr_t): Ditto.
10904 * libc/include/sys/unistd.h: Define all _SC_xxx values as
10905 required by SUSv3. Unify formatting.
10907 2007-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
10909 * libc/include/sys/errno.h: Add ECANCELED.
10911 2007-02-01 Joel Schopp <jschopp@austin.ibm.com>
10912 Kazunori Asayama <asayama@sm.sony.co.jp>
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
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
10926 * libc/machine/spu/vsprintf.c: Ditto.
10928 2007-02-01 Joel Schopp <jschopp@austin.ibm.com>
10929 Kazunori Asayama <asayama@sm.sony.co.jp>
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
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
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.
10979 2007-02-01 Jeff Johnston <jjohnstn@redhat.com>
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
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.
10991 2007-01-31 Kazunori Asayama <asayama@sm.sony.co.jp>
10993 * configure.host: Define stdio directory as a variable.
10994 * libc/Makefile.am: Define stdio related names
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.
11021 2007-01-30 Ben Elliston <bje@au.ibm.com>
11023 * libc/machine/spu/vsnprintf.c (c99_vsnprintf_t): Const-qualify
11025 * libc/machine/spu/printf.c (c99_printf_t): Likewise.
11026 (printf): Pass fmt to va_start to suppress a warning.
11028 * libc/search/hash.c (init_hash): Make `info' parameter const.
11030 2007-01-19 Kazunori Asayama <asayama@sm.sony.co.jp>
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.
11036 2007-01-15 Joseph Myers <joseph@codesourcery.com>
11037 Kazu Hirata <kazu@codesourcery.com>
11039 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Add support
11040 for E500V1 and E500V2.
11042 2007-01-11 Jeff Johnston <jjohnstn@redhat.com>
11044 * libm/configure.in: Always configure machine directory.
11045 * libm/Makefile.am: Make machine subdirectory part of SUBDIRS
11047 * libm/configure: Regenerated.
11048 * libm/Makefile.in: Ditto.
11049 * libm/*/Makefile.in: Ditto.
11051 2007-01-05 Brian Ford <Brian.Ford@FlightSafety.com>
11053 * configure.host (*-*-cygwin*): Define HAVE_BLKSIZE.
11055 2007-01-02 Ben Elliston <bje@au.ibm.com>
11057 * doc/makedoc.c: Include <stdlib.h>.
11058 (malloc, realloc): Remove extern declarations.
11060 2006-12-18 Jeff Johnston <jjohnstn@redhat.com>
11062 * NEWS: Update with 1.15.0 info.
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.
11077 2006-12-18 Kazu Hirata <kazu@codesourcery.com>
11079 Merge from newlib-csl-20060320-branch:
11080 2006-12-01 Nathan Sidwell <nathan@codesourcery.com>
11081 Kazu Hirata <kazu@codesourcery.com>
11083 * configure.host: Recognize fido.
11085 2006-12-18 Joel Schopp <jschopp@austin.ibm.com>
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.
11098 2006-12-18 Jeff Johnston <jjohnstn@redhat.com>
11100 * aclocal.m4 */aclocal.m4: Regenerated using aclocal 1.9.6.
11101 * Makefile.in */Makefile.in: Regenerated using automake 1.9.6.
11103 2006-12-18 Jeff Johnston <jjohnstn@redhat.com>
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
11109 2006-12-18 Kazunori Asayama <asayama@sm.sony.co.jp>
11111 * libc/include/machine/setjmp.h[__SPU__]: Replace vector with __vector.
11113 2006-12-14 Jeff Johnston <jjohnstn@redhat.com>
11114 Eric Blake <ebb9@byu.net>
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.
11121 2006-12-13 Joel Schopp <jschopp@austin.ibm.com>
11123 * libc/machine/spu/setjmp.S: Fix to handle registers past 115
11126 2006-12-13 Joel Schopp <jschopp@austin.ibm.com>
11128 * libc/include/alloca.h: Add undef alloca to work with xlc.
11130 2006-12-12 Joel Schopp <jschopp@austin.ibm.com>
11132 * libc/include/machine/setjmp.h[__SPU__]: Redefine _JBTYPE for
11135 2006-12-04 Kazunori Asayama <asayama@sm.sony.co.jp>
11137 * libc/machine/spu/strncpy.c: Add padding.
11139 2006-12-04 Kazunori Asayama <asayama@sm.sony.co.jp>
11141 * testsuite/newlib.string/tstring.c:
11143 2006-12-01 Kazunori Asayama <asayama@sm.sony.co.jp>
11145 * libc/machine/spu/strchr.c: Fix mask for misaligned string.
11146 * libc/machine/spu/strrchr.c: Ditto.
11148 2006-11-30 Lev Bishop <lev.bishop@gmail.com>
11150 * libc/include/math.h: Allow C99 functions/macros to be
11151 defined for C++ even when __STRICT_ANSI__.
11153 2006-11-29 Jeff Johnston <jjohnstn@redhat.com>
11155 * libc/stdio/makebuf.c (__smakebuf): If dealing with
11156 an asprintf-family buffer, make the default initial size 64.
11158 2006-11-29 Eric Blake <ebb9@byu.net>
11160 * libc/stdio/fvwrite.c (__sfvwrite_r): Avoid off-by-one error in
11161 asprintf, as well as quadratic realloc behavior.
11163 2006-11-29 Kazunori Asayama <asayama@sm.sony.co.jpi
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.
11170 2006-11-22 Luca Barbato <lu_zero@gentoo.org>
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.
11182 2006-11-15 Till Straumann <strauman@slac.stanford.edu>
11184 * libc/time/tzset_r.c (_tzset_r): Initialize local variable.
11186 2006-11-14 Eric Blake <ebb9@byu.net>
11188 * libc/stdio/vfprintf.c (_vfprintf_r): Support ' flag.
11189 (chclass): ' is a flag. j, t, and z are modifiers.
11191 2006-11-08 Jie Zhang <jie.zhang@analog.com>
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.
11206 2006-11-07 Corinna Vinschen <corinna@vinschen.de>
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.
11213 2006-10-27 Joel Schopp <jschopp@austin.ibm.com>
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
11237 2006-10-27 Jeff Johnston <jjohnstn@redhat.com>
11239 * README: Add a brief section on how to regenerate
11240 configuration files in newlib.
11242 2006-10-25 Vladimir Prus <vladimir@codesourcery.com>
11244 * libc/include/math.h: (exception): Add a comment
11245 telling fixincludes that we handle C vs. C++ issue.
11247 2006-10-11 Yang Tse <yangsita@gmail.com>
11249 * libc/include/machine/setjmp.h: Use __extension__ keyword for gcc's
11252 2006-10-11 Corinna Vinschen <corinna@vinschen.de>
11254 * libc/reent/reeent.c (_reclaim_reent): Free _REENT_MP_RESULT.
11256 2006-09-26 Jeff Johnston <jjohnstn@redhat.com>
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
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.
11299 2006-09-22 Paul Brook <paul@codesourcery.com>
11301 * libc/include/sys/reent.h: Define and use __reent_assert.
11303 2006-09-13 Joel Sherrill <joel@oarcorp.com>
11305 * libc/include/pthread.h: Add pthread barriers,
11306 rwlocks, and spinlocks. Change const to
11307 _CONST and prefix parameter names with
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.
11314 2006-09-13 Patrick Mansfield <patmans@us.ibm.com>
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.
11320 2006-09-12 Paul Brook <paul@codesourcery.com>
11322 * libc/stdlib/rand.c (srand): Add _REENT_CHECK_RAND48.
11324 2006-09-07 Masaki Muranaka <monaka@monami-software.com>
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.
11332 2006-09-06 Eric Blake <ebb9@byu.net>
11334 * libc/stdio/vfprintf.c (_vfprintf_r, get_arg): Add 'hh', 'j',
11335 't', and 'z' modifiers.
11337 2006-09-01 Kazu Hirata <kazu@codesourcery.com>
11339 Merge from newlib-csl-20060320-branch:
11340 2006-05-22 Sandra Loosemore <sandra@codesourcery.com>
11342 * configure.host: Tell it we have _rename and _system when
11343 building m68k-unknown-elf.
11345 2006-08-29 Paul Brook <paul@codesourcery.com>
11347 * libc/include/sys/config.h: Define _REENT_SMALL for Thumb-2.
11349 2006-08-27 Joel Sherrill <joel.sherrill@OARcorp.com>
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.
11355 2006-08-23 Kazunori Asayama <asayama@sm.sony.co.jp>
11357 * libc/machine/configure.in: Add configuration for SPU.
11358 * libc/machine/configure: Regenerated.
11359 * libc/machine/spu/memcpy.c: Include string.h.
11361 2006-08-22 Eric Blake <ebb9@byu.net>
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.
11367 2006-08-19 Ramana Radhakrishnan <ramana.r@gmail.com>
11369 * sys/types.h: Correct syntax error caused by missing '\' on #ifdef
11372 2006-08-17 Brian Ford <Brian.Ford@FlightSafety.com>
11374 * libc/time/gmtime.c: Correct man page; clock is not a
11375 local time and no conversion occurs.
11377 2006-08-16 Joel Schopp <jschopp@austin.ibm.com>
11379 * configure.host (newlib_cflags) [spu]: Add special compiler
11380 options to reduce size.
11382 2006-08-16 Joel Schopp <jschopp@austin.ibm.com>
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.
11398 2006-08-03 J"orn Rennecke <joern.rennecke@st.com>
11400 * dtoa.c (dtoa_r): Handle the denormalized _DOUBLE_IS_32BITS case
11403 2006-08-01 Jeff Johnston <jjohnstn@redhat.com>
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.
11412 2006-08-01 Thiemo Seufer <ths@mips.com>
11413 Nigel Stephens <nigel@mips.com>
11415 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): For MIPS
11416 define this to force _impure_ptr to live in the .sdata section.
11418 2006-07-31 Jeff Johnston <jjohnstn@redhat.com>
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.
11424 2006-07-31 Jeff Johnston <jjohnstn@redhat.com>
11426 * libc/sys/linux/mmap.c: Remove include of sys/mman.h
11427 to avoid conflict with newer glibc's revision of mremap.
11429 2006-07-05 Jeff Johnston <jjohnstn@redhat.com>
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.
11437 2006-06-22 Jeff Johnston <jjohnstn@redhat.com>
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
11453 2006-06-15 Corinna Vinschen <corinna@vinschen.de>
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.
11460 2006-06-14 Jeff Johnston <jjohnstn@redhat.com>
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
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>.
11499 2006-06-13 Sandra Loosemore <sandra@codesourcery.com>
11501 * /libc/sys/arm/syscalls.c (_unlink, isatty, _system, _rename):
11502 Make them do something useful in the ARM_RDI_MONITOR case.
11504 2006-06-07 Fred Fish <fnf@specifix.com>
11506 * libc/search/hash_bigkey.c (MIN,MAX): Remove
11507 defines that are already supplied by <sys/param.h>.
11509 2006-06-07 Fred Fish <fnf@specifix.com>
11511 * configure.host: Remove references to HAVE_GETTIMEOFDAY.
11513 2006-06-05 Shaun Jackman <sjackman@gmail.com>
11515 * libc/posix/Makefile.am (GENERAL_SOURCES): Add sleep.c and
11517 * libc/posix/Makefile.in: Regenerate.
11518 * libc/posix/sleep.c: New file.
11519 * libc/posix/usleep.c: Ditto.
11521 2006-06-05 Shaun Jackman <sjackman@gmail.com>
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.
11528 2006-06-05 Jeff Johnston <jjohnstn@redhat.com>
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.
11537 2006-06-02 Shaun Jackman <sjackman@gmail.com>
11539 * libc/unix/sigset.c: Undefine sigfillset, sigdelset, and
11542 2006-05-23 Jeff Johnston <jjohnstn@redhat.com>
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.
11549 2006-05-23 Jeff Johnston <jjohnstn@redhat.com>
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.
11555 2006-05-18 Jeff Johnston <jjohnstn@redhat.com>
11557 * libc/include/stdio.h: Add prototypes for fiscanf,
11558 iscanf, and siscanf.
11560 2006-05-11 J"orn Rennecke <joern.rennecke@st.com>
11562 * acinclude.m4 (_NEWLIB_VERSION): Rename to:
11563 (DEF_NEWLIB_VERSION).
11564 * configure.in (_NEWLIB_VERSION): Use NEWLIB_VERSION.
11565 * configure: Regenerate.
11567 2006-05-09 Jeff Johnston <jjohnstn@redhat.com>
11569 * libc/ctype/Makefile.am: Add $(ELIX_SOURCES) to
11571 * libc/ctype/Makefile.in: Regenerated.
11573 2006-05-09 Kazu Hirata <kazu@codesourcery.com>
11575 * libc/machine/arm/Makefile.am: Fix a typo.
11576 * libc/machine/arm/Makefile.in: Regenerated.
11578 2006-05-08 J"orn Rennecke <joern.rennecke@st.com>
11580 * libc/machine/sh/Makefile.am (AM_CCASFLAGS): Add $(CFLAGS).
11581 * libc/machine/sh/Makefile.in: Regenerate.
11583 2006-05-03 J"orn Rennecke <joern.rennecke@st.com>
11585 * libc/sys/sh/Makefile.am (AM_CCASFLAGS): Add $(CFLAGS).
11586 * libc/sys/sh/Makefile.in (AM_CCASFLAGS): Likewise.
11588 2006-05-02 Jeff Johnston <jjohnstn@redhat.com>
11590 * libc/sys/sysnec810/Makefile.am: Specify .S files instead of
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.
11598 2006-05-01 Jeff Johnston <jjohnstn@redhat.com>
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
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.
11690 2006-04-24 DJ Delorie <dj@redhat.com>
11692 * libc/machine/sh/configure.in: Avoid link tests.
11693 * libc/machine/sh/configure: Regenerate.
11695 2006-04-18 Jeff Johnston <jjohnstn@redhat.com>
11697 * libc/include/sys/signal.h (sigdelset, sigfillset, sigismember): New macros.
11698 (sigaddset, sigemptyset): Add return code.
11700 2006-04-13 Ralf Corsepius <ralf.corsepius@rtems.org>
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.
11783 2006-04-11 Jeff Johnston <jjohnstn@redhat.com>
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
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
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.
11905 2006-04-07 Jeff Johnston <jjohnstn@redhat.com>
11907 * libc/time/time.c (time): Do not check for HAVE_GETTIMEOFDAY
11908 anymore. Assume there is a gettimeofday syscall.
11910 2006-03-29 Shaun Jackman <sjackman@gmail.com>
11912 * libc/sys/linux/include/netinet/ip.h: Include netinet/in_systm.h
11913 for the declaration of n_long.
11915 2006-03-29 Shaun Jackman <sjackman@gmail.com>
11917 * libc/sys/linux/include/net/if.h: Include sys/socket.h for
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.
11925 2006-03-29 Shaun Jackman <sjackman@gmail.com>
11927 * libc/sys/linux/sys/ioccom.h (ioctl): Change declaration to
11930 2006-03-29 Shaun Jackman <sjackman@gmail.com>
11932 * libtool.m4: Set lt_cv_deplibs_check_method=pass_all for
11933 linux-newlib libc implementations.
11935 2006-03-29 Eric Blake <ebb9@byu.net>
11937 * libc/stdio/freopen.c (_freopen_r) [__SCLE]: Fix typo.
11938 * libc/stdio64/freopen64.c (_freopen64_r) [__SCLE]: Likewise.
11940 2006-03-29 Jeff Johnston <jjohnstn@redhat.com>
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.
11946 2006-03-29 Jeff Johnston <jjohnstn@redhat.com>
11948 * libc/sys/linux/net/name6.c: Fix struct references.
11950 2006-03-22 Mark Mitchell <mark@codesourcery.com>
11952 * configure.host: Allow hosts to set the default
11953 newlib_atexit_dynamic_alloc value.
11954 * configure.in: Likewise.
11955 * configure: Regenerated.
11957 2006-03-20 Mark Mitchell <mark@codesourcery.com>
11959 * acconfig.h (_ATEXIT_DYNAMIC_ALLOC): Undef.
11960 * configure.in (--disable-newlib-atexit-dynamic-alloc): New
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.
11969 2006-03-17 Jeff Johnston <jjohnstn@redhat.com>
11971 * libc/sys/linux/linuxthreads/config.h: Remove definition
11974 2006-03-15 Jeff Johnston <jjohnstn@redhat.com>
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.
11979 2006-03-07 Eric Blake <ebb9@byu.net>
11981 * libc/stdio/freopen.c (_freopen_r) [HAVE_FCNTL]: For NULL
11982 filename, allow read-only or write-only FILE atop O_RDWR file
11984 * libc/stdio64/freopen64.c (_freopen64_r) [HAVE_FCNTL]: Likewise.
11986 2006-03-07 Jeff Johnston <jjohnstn@redhat.com>
11988 * libm/common/sf_isinf.c[_DOUBLE_IS_32BITS]: Undef isinf.
11989 * libm/common/sf_isnan.c[_DOUBLE_IS_32BITS]: Undef isnan.
11991 2006-03-02 Jeff Johnston <jjohnstn@redhat.com>
11993 * libm/math/math.tex: Fix reference to sisnan.def which
11994 is now in common subdirectory.
11995 * libm/mathfp/mathfp.tex: Ditto.
11997 2006-02-27 Jeff Johnston <jjohnstn@redhat.com>
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
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.
12034 2006-02-20 Jeff Johnston <jjohnstn@redhat.com>
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.
12041 2006-02-16 Jeff Johnston <jjohnstn@redhat.com>
12043 * libc/sys/linux/aio.c: Define _GNU_SOURCE so struct aioinit
12045 * libc/sys/linux/sys/types.h: Move <sys/config.h> ahead of
12046 <features.h> to preset special flags.
12048 2006-02-15 Corinna Vinschen <corinna@vinschen.de>
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.
12056 2006-02-13 Jeff Johnston <jjohnstn@redhat.com>
12057 David Carne <davidcarne@gmail.com>
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.
12064 2006-02-07 Paul Brook <paul@codesourcery.com>
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.
12072 2006-01-31 Leif Ekblad <leif@rdos.net>
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.
12094 2006-01-24 Jeff Johnston <jjohnstn@redhat.com>
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.
12102 2006-01-20 Jeff Johnston <jjohnstn@redhat.com>
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.
12114 2006-01-11 Jeff Johnston <jjohnstn@redhat.com>
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.
12132 2006-01-10 Eric Blake <ebb9@byu.net>
12134 * libc/stdio/freopen.c (_freopen_r): Fix use of oflags.
12135 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
12137 2006-01-10 Jeff Johnston <jjohnstn@redhat.com>
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.
12146 2006-01-09 Jeff Johnston <jjohnstn@redhat.com>
12148 * libc/stdio/freopen.c: Switch to use isatty instead of _isatty.
12149 * libc/stdio64/freopen64.c: Ditto.
12151 2006-01-09 Eric Blake <ebb9@byu.net>
12153 * libc/stdio/freopen.c (_freopen_r): Accept NULL filename.
12154 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
12156 2006-01-06 Jeff Johnston <jjohnstn@redhat.com>
12158 * libc/sys/linux/include/getopt.h: Add macros needed by
12159 new version of getopt.c in libc/stdlib.
12161 2006-01-04 Gregory Pietsch <gpietsch@comcast.net>
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.
12167 2005-12-16 Jeff Johnston <jjohnstn@redhat.com>
12169 * NEWS: Update with 1.14.0 info.
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.
12184 2005-12-16 Jeff Johnston <jjohnstn@redhat.com>
12186 * libc/sys/linux/sys/stat.h: Change *stat64 prototypes to
12187 take a pointer to struct stat64 rather than struct stat.
12189 2005-12-16 Ralf Corsepius <ralf.corsepius@rtems.org>
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).
12196 2005-12-14 Corinna Vinschen <corinna@vinschen.de>
12198 * libc/include/sys/fcntl.h: Define O_SYNC unconditionally. Fix
12199 typo in O_NDELAY comment.
12201 2005-12-13 Nathan Sidwell <nathan@codesourcery.com>
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.
12208 2005-12-12 Nathan Sidwell <nathan@codesourcery.com>
12210 * configure.host: Replace ms1 arch with mt arch.
12211 * libc/machine/mt: Renamed from ms1 dir.
12213 2005-12-08 Shaun Jackman <sjackman@gmail.com>
12215 * libc/include/sys/types.h: Remove the ifdef armour around
12216 standard POSIX types.
12218 2005-12-06 Ralf Corsepius <ralf.corsepius@rtems.org>
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.
12226 2005-12-05 Christopher Faylor <cgf@timesys.com>
12228 * libc/include/stdlib.h: Move cygwin declarations to cygwin-specific
12229 file. Declare unsetenv and _unsetenv_r when not cygwin.
12231 2005-11-18 Jeff Johnston <jjohnstn@redhat.com>
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.
12236 2005-11-18 Christopher Faylor <cgf@timesys.com>
12238 * include/sys/time.h: Move more cygwin stuff to cygwin-specific header.
12240 2005-11-18 Christopher Faylor <cgf@timesys.com>
12242 * include/time.h: Remove more cygwin-specific stuff.
12244 2005-11-18 Christopher Faylor <cgf@timesys.com>
12246 * include/time.h: Move cygwin declarations to cygwin-specific header.
12247 * include/sys/time.h: Rename cygwin include to "sys_time.h".
12249 2005-11-17 Jeff Johnston <jjohnstn@redhat.com>
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.
12258 2005-11-11 Christopher Faylor <cgf@timesys.com>
12260 * libc/include/sys/time.h: For cygwin, use general header rather than
12261 specific "sys/select.h".
12263 2005-11-08 Tom Walsh <tom@openhardware.net>
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
12269 * libc/time/Makefile.am: Add the new file.
12270 * libc/time/Makefile.in: Regenerated.
12272 2005-11-08 Christopher Faylor <cgf@timesys.com>
12274 * libc/include/string.h: Add cygwin-specific function declaration.
12276 2005-11-07 Corinna Vinschen <corinna@vinschen.de>
12278 * libc/include/ieeefp.h: Add C++ guards.
12280 2005-11-03 Jeff Johnston <jjohnstn@redhat.com>
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.
12288 2005-11-03 Shaun Jackman <sjackman@gmail.com>
12290 * libc/include/sys/unistd.h (readlink, symlink): Provide these
12291 prototypes by default.
12292 * libc/sys/linux/include/unistd.h (readlink): Remove this
12294 * libc/sys/linux/sys/unistd.h (readlink, symlink): New
12297 2005-11-01 Ralf Corsepius <ralf.corsepius@rtems.org>
12299 * libc/include/stdint.h: Cleanup #if vs. #ifdef.
12301 2005-10-31 Darin Johnson <darin@usa.net>
12303 * libm/mathfp/s_mathcnst.c: Fix endian-ness check to be
12304 correct for constants.
12306 2005-10-28 Bob Wilson <bob.wilson@acm.org>
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.
12317 2005-10-28 Bob Wilson <bob.wilson@acm.org>
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".
12323 2005-10-28 Bob Wilson <bob.wilson@acm.org>
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.
12363 2005-10-28 Bob Wilson <bob.wilson@acm.org>
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
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
12413 * libm/mathfp/s_isnan.c: Likewise.
12414 * libm/math/s_ldexp.c: Fix punctuation.
12415 * libm/mathfp/s_ldexp.c: Likewise.
12416 * libm/math/w_log.c: Likewise.
12417 * libm/mathfp/s_logarithm.c: Likewise.
12418 * libm/math/w_j0.c: Add spaces to FUNCTION description.
12419 * libm/mathfp/w_jn.c: Likewise.
12421 2005-10-26 Shaun Jackman <sjackman@gmail.com>
12423 * libc/posix/scandir.c (scandir): Update the function
12424 prototype to match the header.
12425 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Remove an
12427 * libc/sys/linux/sys/lock.h: Do not include
12428 machine/weakalias.h, since it's not used by this file.
12430 2005-10-26 Jeff Johnston <jjohnstn@redhat.com>
12432 * libc/Makefile.am: Reorder SUBLIBS so machine and sys
12433 directories can override properly.
12435 2005-10-20 Jeff Johnston <jjohnstn@redhat.com>
12437 * libc/include/math.h (HUGE_VAL, HUGE_VALF, HUGE_VALL): When
12438 gcc is 3.3 or greater, use special gcc builtins.
12440 2005-10-20 Corinna Vinschen <corinna@vinschen.de>
12442 * libc/include/sys/time.h: Declare futimes and lutimes for Cygwin.
12444 2005-10-18 Corinna Vinschen <corinna@vinschen.de>
12446 * libc/include/sys/features.h: Define _POSIX_MEMLOCK_RANGE for Cygwin.
12448 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
12450 * libc/include/math.h (HUGE_VALF, HUGE_VALL): New.
12451 * libm/common/Makefile.am: Add s_infconst.c support.
12452 * libm/common/Makefile.in: Regenerated.
12453 * libm/common/s_infconst.c: New file with float and
12454 long double infinity support added.
12455 * libm/math/Makefile.am: Remove s_infconst.c support.
12456 * libm/math/Makefile.in: Regenerated.
12457 * libm/math/s_infconst.c: Moved to common directory.
12458 * libm/mathfp/Makefile.am: Remove s_infconst.c support.
12459 * libm/mathfp/Makefile.in: Regenerated.
12460 * libm/mathfp/s_infconst.c: Moved to common directory.
12462 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
12464 * libc/sys/linux/net/gethostbydns.c (dprintf): Rename to
12465 dbgprintf to prevent conflict with new dprintf function.
12467 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
12469 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix up "inf" and
12470 "nan" processing for systems that have long double support.
12472 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
12474 * libc/sys/linux/sys/types.h (int8_t): Add type.
12476 2005-10-14 Bob Wilson <bob.wilson@acm.org>
12478 * libm/common/Makefile.am (doc): Do not append to $(TARGETDOC).
12479 * libm/common/Makefile.in: Regenerate.
12480 * libm/common/common.tex: Delete file.
12481 * libm/math/math.tex: Include .def files from common/.
12482 * libm/mathfp/mathfp.tex: Likewise.
12484 2005-10-14 Bob Wilson <bob.wilson@acm.org>
12486 * libc/libc.texinfo (Top): Surround this node with @ifnottex
12487 instead of @ifinfo. Update menu to add Introduction and match
12489 (Introduction): New section.
12491 2005-10-14 Bob Wilson <bob.wilson@acm.org>
12493 * libc/reent/reent.tex (Reentrancy): Replace "Cygnus C Library"
12494 with "Red Hat newlib C Library".
12495 * libc/sys.tex (Stubs): Likewise.
12496 * libm/math/math.tex (Math): Likewise.
12497 * libm/mathfp/mathfp.tex (Math): Likewise.
12499 2005-10-11 Shaun Jackman <sjackman@gmail.com>
12501 * libc/include/stdio.h (dprintf): New declaration.
12503 * libc/stdio/Makefile.am (GENERAL_SOURCES): Add dprintf.c
12505 * libc/stdio/Makefile.in: Regenerate.
12506 * libc/stdio/dprintf.c: New file.
12507 * libc/stdio/vdprintf.c: New file.
12508 * libc/stdio/stdio.tex (dprintf): New entry.
12510 2005-10-11 David Weatherford <weath@tensilica.com>
12512 * libc/stdio/vfprintf.c (_VFPRINTF_R): Recognize 'F' format.
12513 Print "inf" and "nan" in lowercase for e/f/g formats and in
12514 uppercase for E/F/G formats.
12516 2005-10-07 Bob Wilson <bob.wilson@acm.org>
12518 * libc/stdlib/mallocr.c (mALLOc, rEALLOCc, mEMALIGn): Set errno
12519 to ENOMEM on failure.
12521 2005-10-06 Ralf Corsepius <ralf.corsepius@rtems.org>
12523 * libc/include/stdint.h: Add [u]int_fast<N>_t types.
12525 2005-10-04 Ralf Corsepius <ralf.corsepius@rtems.org>
12527 * libc/include/stdint.h: Move magic to set __have_long* to the
12528 beginning. Use #if __have* instead of #if defined(__have*).
12531 2005-10-04 James E Wilson <wilson@specifix.com>
12533 * libc/include/sys/dirent.h (_DIRENT_H_): Delete #include_next. Add
12536 2005-10-03 Jeff Johnston <jjohnstn@redhat.com>
12538 * libc/sys/linux/include/stdint.h: Include <sys/types.h> and
12539 incorporate Ralf's change below.
12541 2005-10-03 Ralf Corsepius <ralf.corsepius@rtems.org>
12543 * libc/include/stdint.h:
12544 Use __INTMAX_TYPE__ to derive intmax_t.
12545 Use __UINTMAX_TYPE__ to derive uintmax_t.
12548 2005-09-27 Ralf Corsepius <ralf.corsepius@rtems.org>
12550 * libc/include/stdint.h: Correct __STDINT_EXP macro incorrectly
12553 2005-09-20 Jeff Johnston <jjohnstn@redhat.com>
12555 * libc/sys/linux/include/stdint.h: Update to match functionality
12556 of generic newlib stdint.h.
12558 2005-09-20 Jeff Johnston <jjohnstn@redhat.com>
12560 * libc/include/stdint.h (__EXP): Rename to __STDINT_EXP
12561 and do not #undef the macro after it is used. Fix typos.
12562 Also change 64-bit constants to use the __have_long64 and
12563 __have_longlong64 flags to determine if long or long long
12564 constants should be used.
12565 * libc/include/inttypes.h: Include stddef.h to get wchar_t
12568 2005-09-20 Shaun Jackman <sjackman@gmail.com>
12570 * libc/include/stdint.h: Fix typo in names of
12573 2005-09-20 Jeff Johnston <jjohnstn@redhat.com>
12575 * libc/sys/rtems/include/inttypes.h: Moved to...
12576 * libc/include/inttypes.h: ...here.
12578 2005-09-19 Jeff Johnston <jjohnstn@redhat.com>
12580 * libc/sys/rtems/include/stdint.h: Moved to...
12581 * libc/include/stdint.h: ...here.
12583 2005-09-08 Jeff Johnston <jjohnstn@redhat.com>
12585 * Makefile.am: Add include files under bits sub-directory.
12586 * Makefile.in: Regenerated.
12587 * libc/sys/linux/argp/argp-fs-xinl.c: Set __OPTIMIZE__ to
12588 actual value of 1 to be compatible with newer glibc headers.
12589 * libc/sys/linux/sys/cdefs.h: Fix to be compatible with newer
12591 * libc/sys/linux/sys/dirent.h: Ditto.
12592 * libc/sys/linux/argp/argp-xinl.c: Ditto.
12593 * libc/sys/linux/dl/dl-runtime.c: Make sure fixup and
12594 profile_fixup routines are marked used so they won't be
12596 * libc/sys/linux/dl/dl-cache.c: Don't use weak_extern macro
12597 to mark functions as weak.
12598 * libc/sys/linux/dl/dl-open.c: Ditto.
12599 * libc/sys/linux/iconv/gconv_open.c: Fix to obey new gcc4
12600 rules about lvalues.
12601 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
12602 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Don't use
12603 weak_extern macro to mark functions as weak. Instead always
12605 * iconvdata/jis0208.h: Fix to work with gcc4.
12606 * libc/sys/linux/dl/dl-load.c: Ditto.
12607 * libc/sys/linux/dl/dl-reloc.c: Ditto.
12608 * libc/sys/linux/dl/do-rel.h: Ditto.
12609 * libc/sys/linux/dl/dynamic-link.h: Ditto.
12610 * libc/sys/linux/include/ltdl.h: Ditto.
12611 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
12612 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
12613 * libc/sys/linux/net/ns_ntoa.c: Ditto.
12614 * libc/sys/linux/bits/initspin.h: New file.
12615 * libc/sys/linux/bits/libc-lock.h: Ditto.
12616 * libc/sys/linux/bits/pthreadtypes.h: Ditto.
12617 * libc/sys/linux/bits/typesizes.h: Ditto.
12619 2005-09-08 Eric Blake <ebb9@byu.net>
12621 * libc/argz/argz_insert.c (argz_insert): Don't die with EINVAL when
12624 2005-09-08 Brian Dessent <brian@dessent.net>
12626 * sf_lrint.c (lrintf): Mask 'i0' correctly when extracting
12628 * s_lrint.c: Ditto.
12630 2005-09-02 Jeff Johnston <jjohnstn@redhat.com>
12632 * libc/include/stdio.h: Add prototype for viprintf.
12634 2005-09-01 Jeff Johnston <jjohnstn@redhat.com>
12636 * libm/mathfp/s_pow.c: (pow): Change code so 0 raised to
12637 any positive power results in 0.
12638 * libm/mathfp/sf_pow.c (powf): Ditto.
12640 2005-08-31 Paul Brook <paul@codesourcery.com>
12642 * configure.host: Set have_crt0 to no for Arm targts when not
12643 providing syscalls. Set sys_dir=arm unconditionally.
12644 Default have_crt0 based on sys_dir.
12645 * configure.in: Use have_crt0.
12646 * libc/configure.in: Ditto.
12647 * libc/sys/configure.in: Ditto.
12648 * configure: Regenerate.
12649 * libc/configure: Regenerate.
12650 * libc/sys/configure: Regenerate.
12651 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add aeabi_atexit.c.
12652 Only build other files when providing syscalls.
12653 * libc/sys/arm/Makefile.in: Regenerate.
12654 * libc/sys/arm/aeabi_atexit.c: New file.
12656 2005-08-26 Christopher Faylor <cgf@timesys.com>
12658 * libc/include/string.h: Revert previous change.
12660 2005-08-25 Christopher Faylor <cgf@timesys.com>
12662 * libc/include/string.h: For Cygwin, Define strerror_r as per ISO C.
12664 2005-08-22 Shaun Jackman <sjackman@gmail.com>
12666 * libc/include/_syslist.h: If HAVE_OPENDIR is not defined,
12667 define _opendir as opendir, _readdir as readdir, and
12668 _closedir as closedir so that the implementations in
12669 libc/posix will be used.
12671 2005-08-10 DJ Delorie <dj@redhat.com>
12673 * MAINTAINERS (CPU Ports): Add CPU port maintainer section.
12675 2005-08-10 Stephen Huw Clarke <stephen.clarke@st.com>
12677 * libm/common/sf_fmax.c: Fix to properly handle NaNs.
12678 * libm/common/s_max.c: Ditto.
12679 * libm/common/sf_fmin.c: Ditto.
12680 * libm/common/s_min.c: Ditto.
12682 2005-08-10 DJ Delorie <dj@redhat.com>
12684 * configure.host: Add m32c support.
12685 * libc/include/machine/ieeefp.h: Likewise.
12686 * libc/include/machine/setjmp.h: Likewise.
12687 * libc/include/sys/config.h: Likewise.
12688 * libc/machine/m32c: New directory, Renesas R8C/M16C/M32C support.
12689 * libc/machine/m32c/aclocal.m4: New file.
12690 * libc/machine/m32c/configure: Ditto.
12691 * libc/machine/m32c/configure.in: Ditto.
12692 * libc/machine/m32c/Makefile.am: Ditto.
12693 * libc/machine/m32c/Makefile.in: Ditto.
12694 * libc/machine/m32c/setjmp.S: Ditto.
12696 2005-08-02 Bob Wilson <bob.wilson@acm.org>
12698 * libm/math/ef_hypot.c (__ieee754_hypotf): Add missing exponent bias
12699 to the value for 2^126.
12701 2005-07-26 Hans-Peter Nilsson <hp@bitrange.com>
12703 * libc/machine/cris/libcdtor.c (defaultors): Mark artificially as
12706 2005-07-20 Bob Wilson <bob.wilson@acm.org>
12707 Darin Petkov <darin@tensilica.com>
12709 * libm/math/ef_atan2.c (pi, pi_lo): Use round-to-nearest value of pi.
12711 2005-07-19 Paul Brook <paul@codesourcery.com>
12713 * libc/sys/arm/crt0.S: Ensure doubleword stack alignment.
12715 2005-07-18 Joseph S. Myers <joseph@codesourcery.com>
12717 * testsuite/lib/checkoutput.exp (newlib_check_output): Use test
12718 names after PASS and FAIL which do not depend on source directory
12719 name or on whether test passed or failed.
12720 * testsuite/lib/passfail.exp (newlib_pass_fail): Likewise.
12722 2005-07-08 Ola Hugosson <Ola.Hugosson@anoto.com>
12724 * libc/string/wcsspn.c (wcsspn): Add missing increment of q.
12726 2005-07-07 Shaun Jackman <sjackman@gmail.com>
12728 * libc/unix/ttyname.c (ttyname): Avoid calling _closedir
12729 twice for the same directory. _closedir calls free, and freeing
12730 the same pointer twice may cause a crash.
12732 2005-07-06 Aldy Hernandez <aldyh@redhat.com>
12734 * configure.host: Added entry for ms1*.
12735 * libc/include/machine/ieeefp.h: Handle ms1.
12736 * libc/include/machine/setjmp.h (_JBLEN): Define for ms1.
12737 * libc/machine/ms1/aclocal.m4: New.
12738 * libc/machine/ms1/configure: New.
12739 * libc/machine/ms1/configure.in: New.
12740 * libc/machine/ms1/Makefile.am: New.
12741 * libc/machine/ms1/Makefile.in: New.
12742 * libc/machine/ms1/setjmp.S: New.
12744 2005-07-04 Mark Mitchell <mark@codesourcery.com>
12746 * Makefile.am (site.exp): Set tmpdir.
12747 * Makefile.in: Regenerated.
12748 * testsuite/lib/checkoutput.exp (newlib_check_output): Put
12749 executables in $tmpdir.
12750 * testsuite/lib/flags.exp (libgloss_link_flags): Use the original
12751 libgloss version if not running in the build directory.
12752 * testsuite/lib/newlib.exp (newlib_init): Put testglue.o in
12754 * testsuite/lib/passfail.exp (newlib_pass_fail): Put executables
12757 2005-06-28 Dave Korn <dave.korn@artimi.com>
12759 * libm/common/s_lrint.c (lrint): Fix signed-vs-unsigned comparison
12760 and miscalculation caused by fp representation of zero.
12761 * libm/common/sf_lrint.c (lrintf): Likewise.
12763 2005-06-16 Christopher Faylor <cgf@timesys.com>
12765 * libc/stdio/vfprintf.c (cvt): Don't rely on pointer aliasing to
12766 determine characteristics of long double. Use a union instead.
12767 * ldtoa.c (_ldtoa_r): Ditto.
12770 (union uconv): New union.
12772 2005-06-03 Jeff Johnston <jjohnstn@redhat.com>
12774 * libc/stdlib/mallocr.c (MALLOC_COPY): Switch to use memmove
12777 2005-05-12 Jeff Johnston <jjohnstn@redhat.com>
12779 * configure.host (mn10300-*): Add long long I/O support by default.
12781 2005-05-12 Jeff Johnston <jjohnstn@redhat.com>
12783 * libc/sys/linux/getpwuid.c: Removed.
12784 * libc/sys/linux/getpwnam.c: Removed.
12785 * libc/sys/linux/getpwent.c: New file containing logic
12786 from files removed above. This allows overriding of file
12788 * libc/sys/linux/Makefile.am: Support changes above.
12789 * libc/sys/linux/Makefile.in: Regenerated.
12791 2005-04-28 Jeff Johnston <jjohnstn@redhat.com>
12793 * libc/stdio/vfscanf.c (__svfscanf_r): Fix code thinko
12794 when checking for multiple flags.
12796 2005-04-18 Hans-Peter Nilsson <hp@axis.com>
12798 * configure.host <cris-*-* | crisv32-*-*>: Set
12799 default_newlib_io_long_long="yes".
12801 2005-04-08 Jeff Johnston <jjohnstn@redhat.com>
12803 * libc/include/libgen.h: New file.
12805 2005-04-08 Shaun Jackman <sjackman@gmail.com>
12807 * libc/unix/Makefile.am: Add support for basename and dirname.
12808 * libc/unix/Makefile.in: Regenerated.
12809 * libc/unix/basename.c: New file.
12810 * libc/unix/dirname.c: New file.
12812 2005-04-07 Shaun Jackman <sjackman@gmail.com>
12814 * libc/sys/linux/inode.c (lchown): New function.
12816 2005-04-07 Shaun Jackman <sjackman@gmail.com>
12818 * libc/unix/Makefile.am (LIB_OBJS): Include all the ELIX objects if no
12819 ELIX level is defined.
12820 * libc/unix/Makefile.in: Regenerated.
12822 2005-04-05 Dave Korn <dave.korn@artimi.com>
12824 * libc/stdio/vfscanf.c (__svfscanf_r): If an error occurs processing
12825 something that looks like a "NaN", put back the characters processed.
12827 2005-04-01 Corinna Vinschen <corinna@vinschen.de>
12829 * libc/stdlib/strtod.c (_strtod_r): Never change s00.
12831 2005-03-23 Christopher Faylor <cgf@timesys.com>
12833 * configure.host: For cygwin, redefine CC with cygwin include directory
12834 first to mimic the behavior of the top-level configury. Move include
12835 directory out of newlib_cflags.
12837 2005-03-22 Jeff Johnston <jjohnstn@redhat.com>
12839 * configure.host: For arc, set -DREENTRANT_SYSCALLS_PROVIDED flag on.
12840 * libc/sys/arc/syscalls.c: Change functions to use __errno_r rather
12843 2005-03-22 Christopher Faylor <cgf@timesys.com>
12845 * libc/include/machine/_types.h: Make trivial change to comment to
12846 avoid a spurious warning from gcc.
12848 2005-03-21 Nicholas Wourms <nwourms@netscape.net>
12850 * libc/stdio/vfprintf.c: Move newlib.h before _WANT_IO_POS_ARGS test,
12851 since _WANT_IO_POS_ARGS is now defined in there. Remove duplicate
12854 2005-03-18 Hans-Peter Nilsson <hp@axis.com>
12855 Corinna Vinschen <corinna@vinschen.de>
12857 * libc/include/ctype.h: Remove invalid +1 offset from
12858 ctype macro references to __ctype_ptr.
12859 (_ctype_): Move declaration outside #ifndef __cplusplus.
12861 2005-03-18 Corinna Vinschen <corinna@vinschen.de>
12863 * libc/include/machine/setjmp.h (sigsetjmp): Use GCC extension to
12864 evaluate first parameter only once.
12865 (siglongjmp): Ditto.
12867 2005-03-17 Jeff Johnston <jjohnstn@redhat.com>
12869 * configure.in: Add new check to see if compiler supports
12870 aliasing of arrays and define _HAVE_ARRAY_ALIASING if true.
12871 * configure: Regenerated.
12872 * Makefile.in: Ditto.
12873 * newlib.hin: Add _HAVE_ARRAY_ALIASING.
12874 * libc/ctype/ctype_.c: Check for _HAVE_ARRAY_ALIASING before
12875 aliasing the _ctype_ array to _ctype_b.
12876 * libc/include/ctype.h: Change macros to use __ctype_ptr. Mark
12877 _ctype_ as deprecated.
12879 2005-03-17 Hans-Peter Nilsson <hp@axis.com>
12881 * configure.host (newlib_cflags) <cris-*-*, crisv32-*-*>: Add
12884 2005-03-06 Ralf Corsepius <ralf.corsepius@rtems.org>
12886 * libc/sys/rtems/include/inttypes.h: New file.
12887 * libc/sys/rtems/include/stdint.h: Ditto.
12889 2005-03-06 Ralf Corsepius <ralf.corsepius@rtems.org>
12891 * libc/string/memcmp.c: Fix to avoid pointer signedness warning.
12893 2005-03-06 Ralf Corsepius <ralf.corsepius@rtems.org>
12895 * libc/include/machine/_types.h: New file.
12896 * libc/include/sys/types.h: Do not check for __rtems__
12897 when including <machine/_types.h>. Remove some redundant
12898 declarations now that <machine/_types.h> is included.
12899 * libc/sys/rtems/machine/_types.h: Removed. Replaced with
12900 shared header file.
12902 2005-02-25 Ralf Corsepius <ralf.corsepius@rtems.org>
12904 * libm/common/fdlibm.h (FLT_UWORD_MAX, FLT_UWORD_HALF_MAX): Add
12905 L qualifier for these long constants.
12907 2005-02-25 Eric Blake <ebb9@byu.net>
12909 * libc/include/time.h (__tzrule_struct): Make offset long, since
12910 a 16-bit int overflows on a 12-hour offset.
12911 * libc/sys/linux/include/time.h: Ditto.
12912 * libc/time/mktime.c (mktime): Use new type of __tzrule.offset.
12913 * libc/time/mktm_r.c: Ditto.
12914 * libc/time/gettzinfo.c: Ditto.
12915 * libc/time/strftime.c (strftime): Fix '%x' to deal with negative
12916 years. Fix '%z' to use long, not int.
12918 2005-02-24 Ralf Corsepius <ralf.corsepius@rtems.org>
12920 * libm/common/s_fpclassify.c: Use __uint32_t instead of int to
12921 manipulate float values in integer form.
12922 * libm/common/sf_round.c: Ditto.
12924 2005-02-24 Ralf Corsepius <ralf.corsepius@rtems.org>
12926 * libc/include/sys/types.h [__rtems__]: Include new
12927 header file machine/_types.h.
12928 * libc/include/machine/types.h: Ditto.
12929 * libc/sys/rtems/machine/_types.h: New file.
12931 2005-02-23 Corinna Vinschen <corinna@vinschen.de>
12933 * libc/include/time.h (_timezone): Change to long also for Cygwin.
12934 (timezone): Drop cast from definition.
12936 2005-02-23 Jeff Johnston <jjohnstn@redhat.com>
12938 * libc/include/time.h [!CYGWIN](_timezone): Change to long.
12939 (__tzrule_type, __tzinfo_type): New types.
12940 (__gettzinfo): New function.
12941 * libc/sys/linux/include/time.h: Ditto.
12942 * libc/time/Makefile.am: Add gettzinfo.c.
12943 * libc/time/Makefile.in: Regenerated.
12944 * libc/time/local.h: Moved __tzrule_type to time.h.
12945 * libc/time/mktime.c: Call __gettzinfo to reference
12946 __tznorth, __tzyear, and __tzrule array.
12947 * libc/time/mktm_r.c: Ditto.
12948 * libc/time/strftime.c: Ditto.
12949 * libc/time/tzset_r.c: Ditto. Also remove definition
12950 of __tzrule which is now in gettzinfo.c. Change _timezone
12951 references to not cast to time_t.
12952 * libc/time/gettzinfo.c: New file.
12954 2005-02-23 Corinna Vinschen <corinna@vinschen.de>
12956 * libc/include/sys/unistd.h: Define getpeereid for Cygwin.
12958 2005-02-22 Corinna Vinschen <corinna@vinschen.de>
12960 * libc/include/sys/unistd.h: Define fdatasync also for Cygwin.
12962 2005-02-16 Eric Blake <ebb9@byu.net>
12964 * libc/time/time.tex: Improve the documentation.
12965 * libc/time/strftime.c: Improve the documentation.
12966 (iso_year_adjust): New helper function.
12967 (strftime): Simplify '%E' and '%O'. Change '%c' to use
12968 recursion. Fix '%C', '%y', and '%Y' to deal with years with more
12969 than 4 characters. Combine '%d' and '%e'. Implement '%D', '%F',
12970 '%g', '%G', '%n', '%R', '%t', '%T', '%u', '%V', '%X', and '%z'.
12971 Avoid core dumps on valid inputs (maxsize == 0, or
12972 tim_p->tm_isdst > 1).
12974 2005-02-08 Corinna Vinschen <corinna@vinschen.de>
12976 * libc/include/pwd.h (struct passwd): Change pw_uid and pw_gid
12977 members to uid_t and gid_t according to SUSv3.
12978 * libc/include/sys/time.h (utimes): Change second parameter
12979 to const according to SUSv3.
12981 2005-02-07 Antony King <antony.king@st.com>
12983 * libc/stdio/clearerr.c (clearerr): Ensure CHECK_INIT() is
12984 called before _flockfile to prevent lock object use before
12985 initialisation. _REENT_SMALL_CHECK_INIT() and CHECK_INIT()
12986 take a struct _reent * instead of a FILE *.
12987 * libc/stdio/fclose.c (_fclose_r): Ditto.
12988 * libc/stdio/feof.c (feof): Ditto.
12989 * libc/stdio/ferror.c (ferror): Ditto.
12990 * libc/stdio/fflush.c (fflush): Ditto.
12991 * libc/stdio/fgetc.c (fgetc): Ditto.
12992 * libc/stdio/fgets.c (fgets): Ditto.
12993 * libc/stdio/fileno.c (fileno): Ditto.
12994 * libc/stdio/fputc.c (fputc): Ditto.
12995 * libc/stdio/fputs.c (fputs): Ditto.
12996 * libc/stdio/fread.c (fread): Ditto.
12997 * libc/stdio/freopen.c (_freopen_r): Ditto.
12998 * libc/stdio/fseek.c (_fseek_r): Ditto.
12999 * libc/stdio/ftell.c (_ftell_r): Ditto.
13000 * libc/stdio/fwrite.c (fwrite): Ditto.
13001 * libc/stdio/getc.c (getc): Ditto.
13002 * libc/stdio/getdelim.c (__getdelim): Ditto.
13003 * libc/stdio/putc.c (putc): Ditto.
13004 * libc/stdio/setvbuf.c (setvbuf): Ditto.
13005 * libc/stdio/ungetc.c (_ungetc_r): Ditto.
13006 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
13007 * libc/stdio64/freopen64.c (_freopen64_r): Ditto.
13008 * libc/stdio64/fseeko64.c (_fseeko64_r): Ditto.
13009 * libc/stdio64/ftello64.c (_ftello64_r): Ditto.
13010 * libc/stdio/local.h (CHECK_INIT): Argument is now a struct
13011 _reent * instead of a FILE * and so replace incorrect use of
13012 _REENT with argument.
13013 * libc/sys/arm/syscalls.c (CHECK_INIT): Ditto.
13014 * libc/stdio/getchar.c (getchar): _REENT_SMALL_CHECK_INIT() and
13015 CHECK_INIT() take a struct _reent * instead of a FILE *.
13016 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Ditto.
13017 * libc/stdio/iscanf.c (iscanf, _iscanf_r): Ditto.
13018 * libc/stdio/perror.c (perror): Ditto.
13019 * libc/stdio/printf.c (printf, _printf_r): Ditto.
13020 * libc/stdio/putchar.c (putchar): Ditto.
13021 * libc/stdio/puts.c (puts): Ditto.
13022 * libc/stdio/refill.c (__srefill): Ditto.
13023 * libc/stdio/scanf.c (scanf, _scanf_r): Ditto.
13024 * libc/stdio/vfscanf.c (VFSCANF, _VFSCANF_R): Ditto.
13025 * libc/stdio/viprintf.c (viprintf, _viprintf_r): Ditto.
13026 * libc/stdio/viscanf.c (viscanf, _viscanf_r): Ditto.
13027 * libc/stdio/vprintf.c (vprintf, _vprintf_r): Ditto.
13028 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Ditto.
13029 * libc/stdio/wbuf.c (__swbuf): Ditto.
13030 * libc/stdio/wsetup.c (__swsetup): Ditto.
13031 * libc/stdlib/mallocr.c (malloc_stats): Ditto.
13032 * libc/stdlib/mstats.c (_mstats_r): Ditto.
13033 * libc/include/sys/reent.h (_REENT_SMALL_CHECK_INIT): Ditto.
13034 * libc/machine/powerpc/vfscanf.c (vfscanf): Ditto.
13035 * libc/stdio/fgetpos.c (_fgetpos_r): Removed unnecessary calls
13036 to _flockfile and _funlockfile; rely on locking in _ftell_r.
13037 * libc/stdio64/fgetpos64.c (_fgetpos64_r): Ditto (_ftello64_r).
13038 * libc/machine/powerpc/vfprintf.c (__sbprintf): Removed unnecessary
13039 initialision of _data field in FILE structure.
13040 * libc/machine/powerpc/vfprintf.c (VFPRINTF): Added CHECK_INIT() call.
13042 2005-02-07 Jeff Johnston <jjohnstn@redhat.com>
13044 * libc/stdio/findfp.c (__sinit): Protect with new lock.
13045 (__sinit_lock): New lock.
13046 (__sinit_lock_acquire, __sinit_lock_release): New functions.
13047 * libc/stdio/local.h: Add reference to new __sinit locking
13050 2005-02-07 Jeff Johnston <jjohnstn@redhat.com>
13052 * libc/include/math.h (isfinite, isnormal, isunordered): Change
13053 input variable names to avoid mixups with nesting macros.
13055 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
13057 * configure.host: Add support for cris-*-* and crisv32-*-*.
13058 * libc/include/machine/ieeefp.h: Ditto.
13059 * libc/include/machine/setjmp.h: Ditto.
13060 * libc/machine/cris/configure.in, libc/machine/cris/Makefile.am,
13061 libc/machine/cris/libcdtor.c, libc/machine/cris/setjmp.c,
13062 libc/machine/cris/memmove.c, libc/machine/cris/memcpy.c,
13063 libc/machine/cris/memset.c, libc/machine/cris/include/pthread.h,
13064 libc/machine/cris/sys/signal.h, libc/machine/cris/sys/fcntl.h,
13065 libc/machine/cris/sys/errno.h, libc/machine/cris/aclocal.m4,
13066 libc/machine/cris/configure, libc/machine/cris/Makefile.in: New
13069 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
13071 * testsuite/newlib.string/memmove1.c: New test.
13073 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
13075 * testsuite/include/check.h: Include stdlib.h.
13077 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
13079 * Makefile.am (stmp-targ-include): Support include header files
13080 from machine directories.
13081 (install-data-local): Ditto.
13082 * Makefile.in: Regenerate.
13084 2005-01-24 Jeff Johnston <jjohnstn@redhat.com>
13086 * libc/include/string.h: Remove Linux-specific declaration of
13087 strsignal and add #include <sys/string.h>.
13088 * libc/include/sys/string.h: New file.
13089 * libc/include/sys/linux/sys/string.h: New file with strsignal
13090 declaration deleted above.
13092 2005-01-20 Jeff Johnston <jjohnstn@redhat.com>
13094 * libc/time/strftime.c (strftime): Change %r and %x to be compliant
13095 to POSIX standard for "C" locale. Allow %E and %O modifiers
13096 to be ignored as long as they precede valid specifiers according
13099 2005-01-19 Shaun Jackman <sjackman@gmail.com>
13101 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
13102 environment variable is set.
13104 2005-01-19 Shaun Jackman <sjackman@gmail.com>
13106 * tzset_r.c (_tzname): Add a comma.
13108 2005-01-18 Aldy Hernandez <aldyh@redhat.com>
13110 * libc/machine/powerpc/vfprintf.c: Use _REENT when calling
13113 2005-01-07 Paul Brook <paul@codesourcery.com>
13115 * configure.in: Add test for .init_array.
13116 * configure: Regenerate.
13117 * newlib.hin: Add HAVE_INITFINI_ARRAY.
13118 * libc/misc/Makefile.am: Add init.c
13119 * libc/misc/Makefile.in: Regenerate.
13120 * libc/misc/init.c: New file.
13121 * libc/sys/arm/crt0.S: Call __libc_{init,fini}_array instead of
13122 _init/_fini if they exist.
13124 2005-01-06 Jeff Johnston <jjohnstn@redhat.com>
13126 * libc/stdlib/strtod.c (_strtod_r): Add NaN support.
13128 * libc/stdio/vfscanf.c (__svfscanf_r): Ditto.
13129 * Makefile.am (MATHOBJS_IN_LIBC): Add s_nan and sf_nan
13130 functions for use by strtod and strtof.
13131 * Makefile.in: Regenerated.
13133 2005-01-06 Hans-Peter Nilsson <hp@axis.com>
13135 * libc/stdio/ftell.c (ftell_r): Add parenthesis for __SWR
13136 bit-test in combination with NULL test.
13138 2005-01-06 Hans-Peter Nilsson <hp@axis.com>
13140 * README: Fix typo of LGPL. Change "license" to "copyright".
13142 2004-12-17 Jeff Johnston <jjohnstn@redhat.com>
13144 * NEWS: Update with 1.13.0 info.
13146 * acinclude.m4: Change version number to 1.13.0.
13147 * aclocal.m4: Regenerated.
13148 * configure: Ditto.
13149 * doc/aclocal.m4: Ditto.
13150 * doc/configure: Ditto.
13151 * libc/*/aclocal.m4: Ditto.
13152 * libc/*/configure: Ditto.
13153 * libc/libc.texinfo: Ditto.
13154 * libm/*/aclocal.m4: Ditto.
13155 * libm/*/configure: Ditto.
13156 * libm/libm.texinfo: Ditto.
13157 * libc/sys/linux/shared.ld: Add VERS_1.13.
13159 2004-12-17 Christian Groessler <chris@groessler.org>
13161 * libc/machine/z8k/memcmp.S: New file.
13162 * libc/machine/z8k/memcpy.S: Ditto.
13163 * libc/machine/z8k/memmove.S: Ditto.
13164 * libc/machine/z8k/memset.S: Ditto.
13165 * libc/machine/z8k/Makefile.am: Add new files.
13166 * libc/machine/z8k/Makefile.in: Regenerated.
13167 * libc/machine/z8k/setjmp.S: Fix indirect register usage in Z8002
13168 part. Implement Z8002 stdcall version.
13170 2004-12-13 Jeff Johnston <jjohnstn@redhat.com>
13172 * libc/stdio/fread.c (fread): For unbuffered I/O, attempt
13173 a low-level read if we don't get the full amount of bytes so
13174 EOF or error flags will be set.
13176 2004-12-09 Alex Mogilnikov <alx@intellectronika.ru>
13178 * libc/time/tzset_r (_tzset_r): Properly skip over
13179 '/' when it is detected.
13181 2004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
13183 * libc/time/tzset_r (_tzset_r): Fix loop.
13185 2004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
13187 * libc/time/mktm_r (_mktm_r): Fix overflow calculation for
13189 (__tzcalc_limits): Fix reference to month array to be zero-based.
13191 2004-12-07 Jeff Johnston <jjohnstn@redhat.com>
13193 * libc/sys/linux/sys/unistd.h: Add prototypes for ftruncate, truncate,
13196 2004-12-03 Jeff Johnston <jjohnstn@redhat.com>
13198 * Makefile.am (libc_la_LDFLAGS): Add -lgcc to handle any
13199 libgcc dependencies.
13200 (libm_la_LDFLAGS): Ditto.
13201 * Makefile.in: Regenerated.
13203 2004-12-03 Shaun Jackman <sjackman@gmail.com>
13205 * libc/sys/linux/linuxthreads/Makefile.am (install-data-local): Fix
13206 our link to use readlink so as to preserve any relative link created
13207 by install-toollibLIBRARIES.
13208 * libc/sys/linux/linuxthreads/Makefile.in: Regenerated.
13210 2004-12-02 Shaun Jackman <sjackman@gmail.com>
13212 * libc/sys/linux/stdlib/glob.c: Include <sys/types.h> which defines
13213 time_t before including sys/stat.h, which uses it.
13214 * libc/sys/linux/sys/stat.h: Include <sys/types.h> and
13215 <linux/time.h> just prior to definition of __KERNEL__ so as to
13216 allow building on Debian Linux where otherwise, mktime would
13219 2004-11-26 Paul Brook <paul@codesourcery.com>
13221 * libc/sys/arm/crt0.S (_start): Add .cantunwind annotation.
13223 2004-11-24 Jeff Johnston <jjohnstn@redhat.com>
13225 * libc/include/stdlib.h (putenv, _putenv_r): Change to remove
13226 const for value string parameter to match Single Unix and glibc.
13227 * libc/stdlib/putenv.c: Ditto.
13228 * libc/stdlib/putenv_r.c: Ditto.
13230 2004-11-24 Jeff Johnston <jjohnstn@redhat.com>
13232 * libc/stdio/Makefile.am: Fix missing vfscanf.
13233 * libc/stdio/Makefile.in: Regenerated.
13235 2004-11-23 Jeff Johnston <jjohnstn@redhat.com>
13237 * libc/include/stdio.h: Add new iprintf and iscanf variants. Also
13238 do some reordering.
13239 * libc/machine/powerpc/vfscanf.c: Remove __sccl function.
13240 * libc/stdio/Makefile.am: Add support for new iprintf and iscanf
13242 * libc/stdio/Makefile.in: Regenerated.
13243 * libc/stdio/fiprintf.c: Remove doc to siprintf.c.
13244 * libc/stdio/iprintf.c: Ditto.
13245 * libc/stdio/local.h (__svfiscanf_r): New prototype.
13246 * libc/stdio/siprintf.c: Add docs for various iprintf family functions.
13247 * libc/stdio/sniprintf.c: Move docs to siprintf.c.
13248 * libc/stdio/stdio.tex: Add new functions.
13249 * libc/stdio/vfscanf.c: Split out __sccl function to separate
13250 file and add special name defines so this file can be used
13251 to build vfiscanf.o.
13252 * libc/stdio/asiprintf.c: New file.
13253 * libc/stdio/fiscanf.c: Ditto.
13254 * libc/stdio/iscanf.c: Ditto.
13255 * libc/stdio/sccl.c: Ditto.
13256 * libc/stdio/siscanf.c: Ditto.
13257 * libc/stdio/vasiprintf.c: Ditto.
13258 * libc/stdio/viprintf.c: Ditto.
13259 * libc/stdio/viscanf.c: Ditto.
13260 * libc/stdio/vsiprintf.c: Ditto.
13261 * libc/stdio/vsiscanf.c: Ditto.
13262 * libc/stdio/vsniprintf.c: Ditto.
13264 2004-11-19 Shaun Jackman <sjackman@gmail.com>
13266 * libc/include/stdio.h: Add sniprintf.
13267 * libc/stdio/Makefile.am: Add sniprintf.c.
13268 * libc/stdio/Makefile.in: Regenerated.
13269 * libc/stdio/sniprintf.c: New file.
13270 * libc/stdio/stdio.tex: Add sniprintf.
13272 2004-11-17 Christopher Faylor <cgf@timesys.com>
13274 * libc/stdio/refill.c (__srefill): Try again after EOF on Cygwin. Clear
13275 EOF flag if successful.
13277 2004-10-28 Christopher Faylor <cgf@timesys.com>
13279 * libc/include/sys/signal.h: Move <signal.h> include to bottom of file
13280 so that all relevant definitions have been performed for use in the
13283 2004-10-26 Jason Tishler <jason@tishler.net>
13285 * libc/stdio/fread.c (fread): Fix return value for unbuffered
13288 2004-10-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
13290 * libc/include/machine/setjmp.h: Add AVR support.
13291 * libc/sys/rtems/crt0.S [__AVR__]: Add __stack.
13293 2004-10-08 Jeff Johnston <jjohnstn@redhat.com>
13295 * libc/include/sys/signal.h: If <signal.h> didn't include
13296 this header file, include <signal.h> to account for
13297 applications that take advantage that the two header
13298 files are the same in glibc.
13300 2004-10-05 Tomer Levi <Tomer.Levi@nsc.com>
13302 * configure.host: Add support for crx.
13303 * libc/include/machine/ieeefp.h: Ditto.
13304 * libc/include/machine/setjmp.h: Ditto.
13305 * libc/machine/crx/Makefile.am: New file.
13306 * libc/machine/crx/configure.in: Ditto.
13307 * libc/machine/crx/setjmp.S: Ditto.
13308 * libc/machine/crx/getenv.c: Ditto.
13309 * libc/machine/crx/aclocal.m4: Generate.
13310 * libc/machine/crx/configure: Ditto.
13311 * libc/machine/crx/Makefile.in: Ditto.
13312 * libc/machine/crx/sys/asm.h: New file.
13313 * libc/machine/crx/sys/libh.h: Ditto.
13314 * libc/machine/crx/sys/syscall.h: Ditto.
13316 2004-10-05 Jeff Johnston <jjohnstn@redhat.com>
13318 * Makefile.am (stmp-targ-include): Support sys header files
13319 from machine directories.
13320 * Makefile.in: Regenerated.
13322 2004-10-04 Jeff Johnston <jjohnstn@redhat.com>
13324 * libc/stdio/vfscanf.c (__svfscanf_r): For int conversions,
13325 count skipped zero characters as part of the nread count for %n.
13326 * libc/machine/powerpc/vfscanf.c: Ditto.
13328 2004-09-24 Jeff Johnston <jjohnstn@redhat.com>
13330 * libc/stdio/local.h: Include <stdlib.h>.
13332 2004-09-24 Corinna Vinschen <corinna@vinschen.de>
13334 * libc/stdio/fread.c (fread): Include <malloc.h>.
13336 2004-09-22 Jeff Johnston <jjohnstn@redhat.com>
13338 * libc/stdio/fread.c (fread): For non-space-optimized case,
13339 add special code for unbuffered files to use user buffer and
13340 only require one low-level system read.
13342 2004-09-21 Ian Lance Taylor <ian@wasabisystems.com>
13344 * libc/machine/xscale/setjmp.S: New file, copied from
13345 libc/machine/arm/setjmp.S.
13346 * libc/machine/xscale/Makefile.am (lib_a_SOURCES): Add setjmp.S.
13347 * libc/machine/xscale/Makefile.in: Regenerate.
13349 2004-09-16 Antony King <antony.king@st.com>
13351 * libc/include/sys/lock.h: Replaced empty {} with (0) to conform
13353 * libc/include/sys/stdio.h: (_flockfile)[!_SINGLE_THREAD]: Add
13354 check for__SSTR in _flags and if set, skip lock request.
13355 (_funlockfile)[!SINGLE_THREAD]: Ditto.
13356 * libc/stdio/local.h (CHECK_INIT): Added check that _REENT is
13358 * libc/stdio/siprintf.c (siprintf, _siprintf_r): Added missing
13359 initialisation of _file to -1 in local FILE.
13360 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Ditto.
13361 * libc/stdio/sscanf.c (sscanf, _sscanf_r): Ditto.
13362 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
13363 * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
13364 * libc/stdio/sscanf.c (sscanf, _sscanf_r): Added __SSTR flag to
13365 _flags in local FILE to prevent locking.
13366 * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
13368 2004-09-16 Antony King <antony.king@st.com>
13370 * libc/stdio/fwalk.c (_fwalk): Remove check for _GLOBAL_REENT
13371 and only walk the reentrancy parameter.
13372 (_fwalk_reent): Ditto.
13373 * libc/stdlib/exit.c: Remove out of date _REENT_ONLY check.
13375 2004-09-16 Antony King <antony.king@st.com>
13377 * libc/stdio64/freopen64.c: Remove casting of fp lock to
13380 2004-09-16 Antony King <antony.king@st.com>
13382 * libc/time/tzlock.c: Add default stubs that use generic
13385 2004-09-16 Antony King <antony.king@st.com>
13387 * libc/ctype/ctype.tex: Added missing documentation.
13388 * libc/stdio/stdio.tex Ditto.
13389 * libc/stdlib/stdlib.tex Ditto.
13390 * libc/string/strings.tex Ditto.
13391 * libc/time/time.tex: Ditto.
13392 * libc/stdio/setbuffer.c: Removed setlinebuf documentation.
13394 2004-09-15 Corinna Vinschen <vinschen@redhat.com>
13396 * libc/reent/impure.c (reent_data): Define as alias to impure_data
13397 when building for Cygwin.
13398 * libc/include/sys/reent.h (_GLOBAL_REENT): Revert definition to
13399 _global_impure_ptr.
13401 2004-09-15 Jeff Johnston <jjohnstn@redhat.com>
13403 * configure.host: Reverting 2004-09-14 change as fix has occurred on
13405 * configure.in: Ditto.
13406 * libc/configure.in: Ditto.
13407 * libc/sys/configure.in: Ditto.
13408 * configure: Ditto.
13409 * libc/configure: Ditto.
13410 * libc/sys/configure: Ditto.
13411 * libc/include/sys/reent.h: Ditto.
13412 * libc/stdlib/__atexit.c: Ditto.
13413 * libc/stdlib/__call_atexit.c: Ditto.
13414 * libc/stdlib/cxa_atexit.c: Ditto.
13415 * libc/stdlib/cxa_finalize.c: Ditto.
13416 * libc/sys/cygwin/Makefile.am: Removed again.
13417 * libc/sys/cygwin/Makefile.in: Ditto.
13418 * libc/sys/cygwin/aclocal.m4: Ditto.
13419 * libc/sys/cygwin/configure: Ditto.
13420 * libc/sys/cygwin/configure.in: Ditto.
13421 * libc/sys/cygwin/dummy.c: Ditto.
13422 * libc/sys/cygwin/sys/reent.h: Ditto.
13424 2004-09-14 Jeff Johnston <jjohnstn@redhat.com>
13426 * configure.host: Add Cygwin sys directory.
13427 * configure.in: Do not set CRT0 for cygwin.
13428 * libc/configure.in: Ditto.
13429 * libc/sys/configure.in: Ditto.
13430 * configure: Regenerated.
13431 * libc/configure: Ditto.
13432 * libc/sys/configure: Ditto.
13433 * libc/include/sys/reent.h: Add __REENT_HAS_CXA_SUPPORT flag.
13434 * libc/stdlib/__atexit.c: Keep cxa support protected by new
13435 __REENT_HAS_CXA_SUPPORT flag.
13436 * libc/stdlib/__call_atexit.c: Ditto.
13437 * libc/stdlib/cxa_atexit.c: Ditto.
13438 * libc/stdlib/cxa_finalize.c: Ditto.
13439 * libc/sys/cygwin/Makefile.am: New file.
13440 * libc/sys/cygwin/Makefile.in: Ditto.
13441 * libc/sys/cygwin/aclocal.m4: Ditto.
13442 * libc/sys/cygwin/configure: Ditto.
13443 * libc/sys/cygwin/configure.in: Ditto.
13444 * libc/sys/cygwin/dummy.c: Ditto.
13445 * libc/sys/cygwin/sys/reent.h: Ditto. This file is stabilized
13446 version of reent.h.
13448 2004-09-13 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
13450 * libc/iconv/iconv.tex: Updated with new content.
13451 * libc/iconv/lib/iconvnls.c: Reference ICONV_DEFAULT_NLSPATH
13452 instead of NLS_DEFAULT_NLSPATH.
13453 * libc/iconv/lib/iconvnls.h: Fix typo.
13454 * libc/include/sys/iconvnls.h: New file.
13456 2004-09-09 Paul Brook <paul@codesourcery.com>
13458 * libc/include/sys/reent.h (struct _on_exit_args): Add _dso_handle
13460 (struct _atexit): Add _next when _REENT_SMALL.
13461 (struct _reent): Add _atexit0 when _REENT_SMALL.
13462 (_REENT_INIT_PTR): Adjust.
13463 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add __atexit.c and
13465 (EXTENDED_SOURCES): Add cxa_atexit.c and cxa_finalize.c.
13466 * libc/stdlib/Makefile.in: Regenerate.
13467 * libc/stdlib/__atexit.c: New file.
13468 * libc/stdlib/__call_atexit.c: New file.
13469 * libc/stdlib/atexit.h: Remove old definitions. Add new.
13470 * libc/stdlib/atexit.c (atexit): Use __register_exitproc.
13471 * libc/stdlib/cxa_atexit.c: New file.
13472 * libc/stdlib/cxa_finalize.c: New file.
13473 * libc/stdlib/exit.c (exit): Use __call_exitprocs.
13474 * libc/stdlib/on_exit.c (on_exit): Use __register_exitproc.
13475 2004-09-09 Jeff Johnston <jjohnstn@redhat.com>
13476 * libc/reent/reent.c [_REENT_SMALL]: Fix reference to
13479 2004-08-23 Jeff Johnston <jjohnstn@redhat.com>
13481 * libc/include/sys/unistd.h (getpass): Change prototype to use
13482 const instead of __const.
13484 2004-08-16 Nathan Sidwell <nathan@codesourcery.com>
13486 * libc/stdio/vfscanf.c (_NO_LONGLONG): Move out of FLOATING_POINT
13489 2004-08-12 Jeff Johnston <jjohnstn@redhat.com>
13491 * libc/sys/linux/sys/types.h (u64): New typedef to allow building
13492 on linux systems with glibc 2.3.3 installed.
13493 * libc/sys/linux/dl/dl-runtime.c: Fix prototypes for fixup and
13494 profile_fixup so newlib can build on fc3 system.
13496 2004-07-30 Alexandre Oliva <aoliva@redhat.com>
13498 Introduce SH2a support.
13499 2004-03-16 Corinna Vinschen <vinschen@redhat.com>
13500 * libc/include/machine/ieeefp.h: Define _DOUBLE_IS_32BITS for
13501 __SH2A_SINGLE_ONLY__, too.
13502 * libc/machine/sh/asm.h: Define DELAYED_BRANCHES for __SH2A__, too.
13503 2004-02-24 Corinna Vinschen <vinschen@redhat.com>
13504 * libc/sys/sh/crt0.S (start_l): Support sh2a-nofpu. Fix comments.
13505 2004-02-10 DJ Delorie <dj@redhat.com>
13506 * libc/sys/sh/crt0.S (start_l): Support sh2a.
13508 2004-07-29 Jeff Johnston <jjohnstn@redhat.com>
13510 * libc/time/strptime.c: Correct full-name of "March" typo.
13512 2004-07-16 Anil Paranjpe <anilp1@kpitcummins.com>
13514 * configure.host (h8300*-*-*): Default long long printing support.
13516 2004-07-16 Jeff Johnston <jjohnstn@redhat.com>
13518 * libc/stdio/fvwrite.c (_sfvwrite): For asprintf family
13519 calls, if realloc fails, free up buffer as it is no longer
13522 2004-07-07 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
13524 * libc/iconv/iconv.tex: Updated to represent recent changes.
13525 * libc/iconv/lib/iconv.c: Documentation updated.
13527 2004-07-07 Nick Clifton <nickc@redhat.com>
13529 * configure.host (newlib_cflags): Define PREFER_SIZE_OVER_SPEED
13532 2004-07-06 Chris Demetriou <cgd@broadcom.com>
13534 * configure.host (mips*-*-elf*): Default long long printing
13537 2004-07-05 Jeff Johnston <jjohnstn@redhat.com>
13539 * libc/Makefile.am (libc.dvi): Add target and specify
13540 same dependencies as libc.info.
13541 * libc/Makefile.in: Regenerated.
13542 * libm/Makefile.am (libm.dvi): Add target and specify
13543 same dependencies as libm.info.
13544 * libm/Makefile.in: Regenerated.
13546 2004-06-29 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
13548 * acinclude.m4: Move --enable-newlib-iconv option back here.
13549 * configure.in: Remove --enable-newlib-iconv option. Don't
13550 tie iconv support to --enable-newlib-mb.
13551 * aclocal.m4: Regenerated.
13552 * configure: Ditto.
13553 * doc/aclocal.m4, doc/configure: Ditto.
13554 * iconvdata/aclocal.m4, iconvdata/configure: Ditto.
13555 * libm/*/aclocal.m4: Ditto.
13556 * libm/*/configure: Ditto.
13557 * libc/*/aclocal.m4: Ditto.
13558 * libc/*/configure: Ditto.
13560 2004-06-25 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
13562 * acinclude.m4: Move iconv options into configure.in.
13563 * aclocal.m4: Regenerated.
13564 * configure: Ditto.
13565 * configure.in: Add iconv options.
13566 * newlib.hin: Add new iconv encodings and remove deleted ones.
13567 * doc/aclocal.m4: Regenerated.
13568 * doc/configure: Ditto.
13569 * iconvdata/aclocal.m4: Ditto.
13570 * iconvdata/configure: Ditto.
13571 * libc/iconv: Design change. New size-optimized ccs format.
13572 * libc/iconv/AUTHORS: Removed.
13573 * libc/iconv/COPYING: Ditto.
13574 * libc/iconv/README.ORIGINAL: Ditto.
13575 * libc/iconv/README.TODO: Ditto.
13576 * libc/iconv/charset.aliases: Ditto.
13577 * libc/iconv/encoding.aliases: New file.
13578 * libc/iconv/Makefile.am: Updated.
13579 * libc/iconv/Makefile.in: Regenerated.
13580 * libc/iconv/iconv.tex: Updated.
13581 * libc/iconv/ccs/Makefile.am: Ditto.
13582 * libc/iconv/ccs/Makefile.in: Regenerated.
13583 * libc/iconv/ccs/big5.c: Updated.
13584 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
13585 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
13586 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
13587 * libc/iconv/ccs/cp775.c: Ditto.
13588 * libc/iconv/ccs/cp850.c: Ditto.
13589 * libc/iconv/ccs/cp852.c: Ditto.
13590 * libc/iconv/ccs/cp855.c: Ditto.
13591 * libc/iconv/ccs/cp866.c: Ditto.
13592 * libc/iconv/ccs/iso_8859_1.c: Ditto.
13593 * libc/iconv/ccs/README.CCS.SOURCES: Removed.
13594 * libc/iconv/ccs/gb_2312_80.c: Ditto.
13595 * libc/iconv/ccs/iconv_mktbl: Ditto.
13596 * libc/iconv/ccs/jis_x0201.c: Ditto.
13597 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
13598 * libc/iconv/ccs/shift_jis.c: Ditto.
13599 * libc/iconv/ccs/us_ascii.c: Ditto.
13600 * libc/iconv/ccs/ccs.h: New file.
13601 * libc/iconv/ccs/ccsbi.c: Ditto.
13602 * libc/iconv/ccs/ccsbi.h: Ditto.
13603 * libc/iconv/ccs/ccsnames.h: Ditto.
13604 * libc/iconv/ccs/iso_8859_10.c: Ditto.
13605 * libc/iconv/ccs/iso_8859_11.c: Ditto.
13606 * libc/iconv/ccs/iso_8859_13.c: Ditto.
13607 * libc/iconv/ccs/iso_8859_14.c: Ditto.
13608 * libc/iconv/ccs/iso_8859_3.c: Ditto.
13609 * libc/iconv/ccs/iso_8859_6.c: Ditto.
13610 * libc/iconv/ccs/iso_8859_7.c: Ditto.
13611 * libc/iconv/ccs/iso_8859_8.c: Ditto.
13612 * libc/iconv/ccs/iso_8859_9.c: Ditto.
13613 * libc/iconv/ccs/iso_ir_111.c: Ditto.
13614 * libc/iconv/ccs/jis_x0201_1976.c: Ditto.
13615 * libc/iconv/ccs/jis_x0208_1990.c: Ditto.
13616 * libc/iconv/ccs/koi8_ru.c: Ditto.
13617 * libc/iconv/ccs/koi8_uni.c: Ditto.
13618 * libc/iconv/ccs/mktbl.pl: Ditto.
13619 * libc/iconv/ccs/win_1250.c: Ditto.
13620 * libc/iconv/ccs/win_1251.c: Ditto.
13621 * libc/iconv/ccs/win_1252.c: Ditto.
13622 * libc/iconv/ccs/win_1253.c: Ditto.
13623 * libc/iconv/ccs/win_1254.c: Ditto.
13624 * libc/iconv/ccs/win_1255.c: Ditto.
13625 * libc/iconv/ccs/win_1256.c: Ditto.
13626 * libc/iconv/ccs/win_1257.c: Ditto.
13627 * libc/iconv/ccs/win_1258.c: Ditto.
13628 * libc/iconv/ccs/iso_8859_15.c: Updated.
13629 * libc/iconv/ccs/iso_8859_2.c: Ditto.
13630 * libc/iconv/ccs/iso_8859_4.c: Ditto.
13631 * libc/iconv/ccs/iso_8859_5.c: Ditto.
13632 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
13633 * libc/iconv/ccs/koi8_r.c: Ditto.
13634 * libc/iconv/ccs/koi8_u.c: Ditto.
13635 * libc/iconv/ccs/ksx1001.c: Ditto.
13636 * libc/iconv/ccs/binary/gb_2312_80.cct: Removed.
13637 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
13638 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
13639 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
13640 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
13641 * libc/iconv/ccs/binary/Makefile.am: Updated.
13642 * libc/iconv/ccs/binary/Makefile.in: Regenerated.
13643 * libc/iconv/ccs/binary/big5.cct: Updated.
13644 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
13645 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
13646 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
13647 * libc/iconv/ccs/binary/cp775.cct: Updated.: Ditto.
13648 * libc/iconv/ccs/binary/cp850.cct: Ditto.: Ditto.
13649 * libc/iconv/ccs/binary/cp852.cct: Ditto.: Ditto.
13650 * libc/iconv/ccs/binary/cp855.cct: Ditto.: Ditto.
13651 * libc/iconv/ccs/binary/cp866.cct: Ditto.: Ditto.
13652 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
13653 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
13654 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
13655 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
13656 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
13657 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
13658 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
13659 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
13660 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
13661 * libc/iconv/ccs/binary/iso_8859_10.cct: New file.
13662 * libc/iconv/ccs/binary/iso_8859_11.cct: Ditto.
13663 * libc/iconv/ccs/binary/iso_8859_13.cct: Ditto.
13664 * libc/iconv/ccs/binary/iso_8859_14.cct: Ditto.
13665 * libc/iconv/ccs/binary/iso_8859_3.cct: Ditto.
13666 * libc/iconv/ccs/binary/iso_8859_6.cct: Ditto.
13667 * libc/iconv/ccs/binary/iso_8859_7.cct: Ditto.
13668 * libc/iconv/ccs/binary/iso_8859_8.cct: Ditto.
13669 * libc/iconv/ccs/binary/iso_8859_9.cct: Ditto.
13670 * libc/iconv/ccs/binary/iso_ir_111.cct: Ditto.
13671 * libc/iconv/ccs/binary/jis_x0201_1976.cct: Ditto.
13672 * libc/iconv/ccs/binary/jis_x0208_1990.cct: Ditto.
13673 * libc/iconv/ccs/binary/koi8_ru.cct: Ditto.
13674 * libc/iconv/ccs/binary/koi8_uni.cct: Ditto.
13675 * libc/iconv/ccs/binary/win_1250.cct: Ditto.
13676 * libc/iconv/ccs/binary/win_1251.cct: Ditto.
13677 * libc/iconv/ccs/binary/win_1252.cct: Ditto.
13678 * libc/iconv/ccs/binary/win_1253.cct: Ditto.
13679 * libc/iconv/ccs/binary/win_1254.cct: Ditto.
13680 * libc/iconv/ccs/binary/win_1255.cct: Ditto.
13681 * libc/iconv/ccs/binary/win_1256.cct: Ditto.
13682 * libc/iconv/ccs/binary/win_1257.cct: Ditto.
13683 * libc/iconv/ccs/binary/win_1258.cct: Ditto.
13684 * libc/iconv/ces/Makefile.am: Updated.
13685 * libc/iconv/ces/Makefile.in: Regenerated.
13686 * libc/iconv/ces/ucs-2-internal.c: Updated.
13687 * libc/iconv/ces/ucs-4-internal.c: Ditto.
13688 * libc/iconv/ces/utf-16.c: Ditto.
13689 * libc/iconv/ces/utf-8.c: Ditto.
13690 * libc/iconv/ces/cesbi.c: New file.
13691 * libc/iconv/ces/cesbi.h: Ditto.
13692 * libc/iconv/ces/cesdeps.h: Ditto.
13693 * libc/iconv/ces/euc.c: Ditto.
13694 * libc/iconv/ces/mkdeps.pl: Ditto.
13695 * libc/iconv/ces/table-pcs.c: Ditto.
13696 * libc/iconv/ces/table.c: Ditto.
13697 * libc/iconv/ces/ucs-2.c: Ditto.
13698 * libc/iconv/ces/ucs-4.c: Ditto.
13699 * libc/iconv/ces/us-ascii.c: Ditto.
13700 * libc/iconv/ces/euc-jp.c: Removed.
13701 * libc/iconv/ces/euc-kr.c: Ditto.
13702 * libc/iconv/ces/euc-tw.c: Ditto.
13703 * libc/iconv/ces/gb2312.c: Ditto.
13704 * libc/iconv/ces/iso-10646-ucs-2.: Ditto.c
13705 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
13706 * libc/iconv/lib/Makefile.am: Updated.
13707 * libc/iconv/lib/Makefile.in: Regenerated.
13708 * libc/iconv/lib/endian.h: Updated.
13709 * libc/iconv/lib/iconv.c: Ditto.
13710 * libc/iconv/lib/local.h: Ditto.
13711 * libc/iconv/lib/aliases.c: Removed.
13712 * libc/iconv/lib/bialiasesi.c: Ditto.
13713 * libc/iconv/lib/biccs.c: Ditto.
13714 * libc/iconv/lib/bices.c: Ditto.
13715 * libc/iconv/lib/ccs.c: Ditto.
13716 * libc/iconv/lib/ces.c: Ditto.
13717 * libc/iconv/lib/ces_euc.c: Ditto.
13718 * libc/iconv/lib/ces_iso2022.c: Ditto.
13719 * libc/iconv/lib/ces_table.c: Ditto.
13720 * libc/iconv/lib/converter.c: Ditto.
13721 * libc/iconv/lib/deps.h: Ditto.
13722 * libc/iconv/lib/loaddata.c: Ditto.
13723 * libc/iconv/lib/aliasesbi.c: New file.
13724 * libc/iconv/lib/aliasesi.c: Ditto.
13725 * libc/iconv/lib/conv.h: Ditto.
13726 * libc/iconv/lib/encnames.h: Ditto.
13727 * libc/iconv/lib/encoding.deps: Ditto.
13728 * libc/iconv/lib/iconvnls.c: Ditto.
13729 * libc/iconv/lib/iconvnls.h: Ditto.
13730 * libc/iconv/lib/nullconv.c: Ditto.
13731 * libc/iconv/lib/ucsconv.c: Ditto.
13732 * libc/iconv/lib/ucsconv.h: Ditto.
13733 * libc/include/iconv.h: Update copyright.
13734 * libc/*/aclocal.m4: Regenerated.
13735 * libc/*/configure: Ditto.
13736 * libm/*/aclocal.m4: Ditto.
13737 * libm/*/configure: Ditto.
13739 2004-06-22 Alexandre Oliva <aoliva@redhat.com>
13741 * libc/include/machine/setjmp.h [__H8300__] (_JBTYPE): Define,
13742 instead of typedefing jmp_buf.
13744 2003-07-02 Richard Sandiford <rsandifo@redhat.com>
13745 * libc/machine/h8300/Makefile.am (lib_a_SOURCES): Add h8sx_strcpy.S.
13746 * libc/machine/h8300/defines.h (LEN): New macro.
13747 * libc/machine/h8300/memcpy.S: Add h8sx version.
13748 * libc/machine/h8300/memset.S: Likewise.
13749 * libc/machine/h8300/strcmp.S: Likewise.
13750 * libc/machine/h8300/setjmp.S: Use h8sx move instructions.
13751 * libc/machine/h8300/h8sx_strcpy.S: New file.
13752 2003-06-30 Richard Sandiford <rsandifo@redhat.com>
13753 * libc/include/machine/ieeefp.h: Extend __H8300S__ handling to
13755 * libc/include/machine/setjmp.h: Likewise.
13756 * libc/include/sys/config.h: Likewise.
13757 * libc/machine/h8300/defines.h: Likewise.
13758 * libc/machine/h8300/setjmp.S: Likewise.
13759 * libc/machine/h8300/strcmp.S: Likewise.
13760 * libc/sys/h8300hms/close.S: Likewise.
13761 * libc/sys/h8300hms/fstat.S: Likewise.
13762 * libc/sys/h8300hms/lseek.S: Likewise.
13763 * libc/sys/h8300hms/read.S: Likewise.
13764 * libc/sys/h8300hms/write.S: Likewise.
13765 * libc/sys/h8300hms/crt0.S: Likewise.
13766 * libc/machine/h8300/setarch.h: Use .h8300sx or .h8300sxn if
13767 __H8300SX__ is defined.
13768 * libc/sys/h8300hms/setarch.h: Likewise.
13770 2004-06-17 Jeff Johnston <jjohnstn@redhat.com>
13772 * libc/include/sys/reent.h (_GLOBAL_REENT): Back
13773 out change which set _GLOBAL_REENT to _global_impure_ptr until
13774 we understand why Cygwin breaks because of it.
13776 2004-06-14 Jeff Johnston <jjohnstn@redhat.com>
13778 * libc/sys/linux/machine/i386/syscall.h: For now, set up
13779 __syscall_return macro for systems with vsyscall.
13781 2004-06-11 Antony King <antony.king@st.com>
13783 * libc/include/sys/_types.h: Include <sys/lock.h> and change
13784 _flock_t to be of type _LOCK_RECURSIVE_T.
13785 * libc/include/sys/reent.h: (_REENT_INIT): Reformat.
13786 (_REENT_INIT_PTR): Ditto. Use memset where appropriate.
13787 (_global_impure_ptr): New declaration.
13788 (_GLOBAL_REENT): Change to be _global_impure_ptr.
13789 * libc/include/sys/stdio.h: Include <sys/lock.h> and
13791 (_flockfile)[!_SINGLE_THREAD]: Add code for lock call.
13792 (_funlockfile)[!SINGLE_THREAD]: Ditto.
13793 * libc/reent/impure.c: Set _global_impure_ptr to _impure_ptr.
13794 * libc/stdio/fclose.c: Remove casting of fp lock to
13796 * libc/stdio/findfp.c: Ditto.
13797 * libc/stdio/fopen.c: Ditto.
13798 * libc/stdio/freopen.c: Ditto.
13799 * libc/stdio/vfprintf.c: Ditto.
13800 * libc/stdio64/fopen64.c: Ditto.
13801 * libc/stdlib/envlock.c: Add default stubs that use generic
13803 * libc/stdlib/mlock.c: Ditto.
13805 Jeff Johnston <jjohnstn@redhat.com>
13806 * libc/sys/linux/sys/_types.h (__flock_mutex_t): New subtype.
13807 (_flock_t): Change to be a struct containing a single member
13808 named mutex which is of type __flock_mutex_t.
13810 2004-06-09 Jeff Johnston <jjohnstn@redhat.com>
13812 * libc/sys/linux/Makefile.am: Change siglist.inc to be generated
13813 from /usr/include/asm/signal.h instead of kernel sources. Also
13814 default max to 32 if not found in header file.
13815 * libc/sys/linux/Makefile.in: Regenerated.
13816 * libc/sys/linux/machine/i386/socketcall.h: Fix for Fedora Core 2
13817 systems where __syscall_return is not defined.
13818 * libc/sys/linux/machine/i386/syscall.h: Change for Fedora Core 2
13819 systems to use syscall() function instead of assembler interrupt.
13821 2004-06-09 Toralf Lund <toralf@procaptura.com>
13823 * libc/sys/arm/setjmp.S, libc/sys/arm/access.c: Move
13824 files from libc/sys/arm to libc/machine/arm.
13825 * libc/machine/arm/Makefile.am, libc/machine/arm/Makefile.in: Add
13826 library build support for files moved from libc/sys/arm.
13827 * libc/sys/arm/Makefile.am, libc/sys/arm/Makefile.in: Remove
13828 references to access and setjmp.
13829 * configure.host: Add checks for newlib_may_supply_syscalls to
13830 determine whether or not to use sys/arm directory and use
13831 special compiler flags: ARM_RDI_MONITOR and ARM_RDP_MONITOR.
13833 2004-06-02 Jeff Johnston <jjohnstn@redhat.com>
13835 * libc/stdio/vfscanf.c (__svfscanf_r): For CT_INT conversions,
13836 reset digit flags appropriately after we have discovered "0x".
13837 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
13839 2004-05-27 Jeff Johnston <jjohnstn@redhat.com>
13841 * libc/stdio/vfprintf.c (_VFPRINTF): Move file locking
13843 (_VFPRINTF_R): ... to here so all I/O printf routines
13846 2004-05-26 Jeff Johnston <jjohnstn@redhat.com>
13848 * libc/search/hash_buf.c: Protect MAX and MIN macros from
13850 * libc/search/hash.c: Ditto.
13852 2004-05-25 Artem B. Bityuckiy <abitytsky@softminecorp.com>
13854 * newlib.hin: (_WANT_IO_POS_ARGS): New define.
13855 (_WANT_IO_LONG_LONG): Ditto.
13856 (_WANT_IO_LONG_DOUBLE): Ditto.
13857 * configure.in: Add new configuration options
13858 --enable-newlib-io-long-long and --enable-newlib-io-long-double
13859 which tie to new defines in newlib.hin.
13860 * configure: Regenerated.
13861 * configure.host: Add checks for new configuration options. Also
13862 fix up check for --enable-newlib-io-pos-args so configuration
13863 option will override any default for a given platform.
13864 Remove defining compiler flags for the _WANT_IO* options.
13865 * libc/stdio/vfprintf.c: Change to use new newlib.hin defines
13866 instead of looking for old compiler flags.
13867 * libc/stdio/vfscanf.c: Ditto.
13868 * libc/stdio/vfieeefp.h: Ditto.
13869 * libc/machine/powerpc/vfprintf.c: Ditto.
13870 * libc/machine/powerpc/vfscanf.c: Ditto.
13872 2004-05-25 Jeff Johnston <jjohnstn@redhat.com>
13874 * testsuite/include/check.h: Add include of <stdio.h>.
13876 2004-05-17 Corinna Vinschen <corinna@vinschen.de>
13878 * libc/include/grp.h: Declare getgrnam_r and getgrgid_r also on Cygwin.
13880 2004-05-11 Artem B. Bityuckiy <abitytsky@softminecorp.com>
13882 * libc/stdio/vfprintf.c (VFPRINTF_R): Use _free_r instead
13885 2004-05-07 Artem B. Bityuckiy <abitytsky@softminecorp.com>
13887 * libc/stdio/iprintf.c (_iprintf_r): Fix old-style argument
13888 list for reentrant pointer. Call _vfiprintf_r.
13889 * libc/stdio/siprintf.c (_siprintf_r): New function.
13890 * libc/stdio/vfprintf.c (__sbprintf): Add reetrant struct
13891 pointer argument. Change all callers. Call _VFPRINTF_R.
13892 * libc/include/stdio.h (_siprintf_r, _vfiprintf_r): New
13895 2004-05-07 Jeff Johnston <jjohnstn@redhat.com>
13897 * libc/include/sys/param.h: Remove endian info and include
13898 <machine/endian.h> instead.
13899 * libc/include/machine/endian.h: New file.
13900 * libc/include/machine/param.h: Ditto.
13901 * libc/machine/arm/machine/endian.h: Ditto.
13902 * libc/machine/arm/machine/param.h: Ditto.
13903 * libc/sys/arm/sys/param.h: Removed.
13904 * libc/sys/sysvi386/sys/param.h: Ditto.
13905 * libc/sys/rtems/sys/param.h: Modified to include <machine/endian.h>.
13907 2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
13909 * libc/stdio/vfprintf.c (_VFPRINTF_R): Set error flag when
13910 multibyte functions return failure for %C, %S, %lc, and %ls
13913 2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
13915 * testsuite/include/check.h (CHECK): Add flush of stdout.
13917 2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
13919 * libc/include/stdio.h (_ungetc_r): New prototype.
13920 * libc/stdio/ungetc.c (_ungetc_r): New reentrant function.
13921 (__submore): Add reentrant struct pointer argument.
13922 (ungetc): Change to call _ungetc_r.
13924 2004-04-28 Artem B. Bityuckiy <abitytsky@softminecorp.com>
13926 * libc/stdio/local.h (_fwalk_reent): Specify prototype of
13927 function pointer argument.
13928 * libc/stdio/fwalk.c (_fwalk, _fwalk_reent): Change prototypes
13929 to specify function pointer arguments.
13930 (__fwalk, __fwalk_reent): Ditto.
13932 2004-04-26 Aldy Hernandez <aldyh@redhat.com>
13934 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Fix typo in
13937 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
13939 * configure.in: Define _MB_CAPABLE if mb supported.
13940 * configure: Regenerated.
13941 * configure.host: Remove manual setting of MB_CAPABLE compiler
13943 * newlib.hin: Add _MB_CAPABLE flag.
13944 * libc/ctype/iswalpha.c, libc/ctype/iswblank.c: Include <newlib.h>
13945 and check for _MB_CAPABLE flag instead of MB_CAPABLE.
13946 * libc/ctype/iswcntrl.c, libc/ctype/iswprint.c: Ditto.
13947 * libc/ctype/iswpunct.c, libc/ctype/iswspace.c: Ditto.
13948 * libc/ctype/jp2uc.c: Ditto.
13949 * libc/ctype/towlower.c, libc/ctype/towupper.c: Ditto.
13950 * libc/locale/locale.c: Ditto
13951 * libc/machine/powerpc/vfscanf.c: Ditto
13952 * libc/stdio/vfprintf.c, libc/stdio/vfscanf.c: Ditto
13953 * libc/stdlib/mblen.c: Ditto
13954 * libc/stdlib/mblen_r.c, libc/stdlib/mbrlen.c: Ditto
13955 * libc/stdlib/mbrtowc.c, libc/stdlib/mbsrtowcs.c: Ditto
13956 * libc/stdlib/mbstowcs.c, libc/stdlib/mbtowc.c: Ditto
13957 * libc/stdlib/mbtowc_r.c, libc/stdlib/wcrtomb.c: Ditto
13958 * libc/stdlib/wcsrtombs.c, libc/stdlib/wcstombs.c: Ditto
13959 * libc/stdlib/wctomb.c, libc/sys/linux/intl/dcigettext.c: Ditto
13960 * libc/sys/linux/intl/explodename.c: Ditto
13961 * libc/sys/linux/intl/finddomain.c: Ditto
13962 * libc/sys/linux/intl/l10nflist.c: Ditto
13963 * libc/sys/linux/intl/loadmsgcat.c: Ditto
13964 * libc/sys/linux/intl/localealias.c: Ditto
13966 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
13968 * libc/machine/powerpc/vfscanf.c (NNZDIGITS): New define.
13969 (__svfscanf_r): In integer conversions, leave out leading zeroes
13970 which are not part of a base prefix.
13971 Keep track of width truncation to fit into buf, not counting left-out
13972 zeroes against width till the truncation has been compensated for.
13973 This is based on Joern's patch of 04/21 for libc/stdio/vfscanf.c.
13975 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
13977 * libc/include/stdio.h: (_ftell_r, _fseek_r): New prototypes.
13979 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
13981 * libc/stdio/asprintf.c libc/stdio/clearerr.c,
13982 libc/stdio/fclose.c libc/stdio/fcloseall.c libc/stdio/fdopen.c,
13983 libc/stdio/feof.c libc/stdio/ferror.c libc/stdio/fflush.c,
13984 libc/stdio/fgetc.c libc/stdio/fgetpos.c libc/stdio/fgets.c,
13985 libc/stdio/fileno.c libc/stdio/findfp.c libc/stdio/fiprintf.c,
13986 libc/stdio/flags.c libc/stdio/fopen.c libc/stdio/fprintf.c,
13987 libc/stdio/fputc.c libc/stdio/fputs.c libc/stdio/fread.c,
13988 libc/stdio/freopen.c libc/stdio/fscanf.c libc/stdio/fseek.c,
13989 libc/stdio/fseeko.c libc/stdio/fsetpos.c libc/stdio/ftell.c,
13990 libc/stdio/ftello.c libc/stdio/fvwrite.c libc/stdio/fwalk.c,
13991 libc/stdio/fwrite.c libc/stdio/getc.c libc/stdio/getc_u.c,
13992 libc/stdio/getchar.c libc/stdio/getchar_u.c,
13993 libc/stdio/getdelim.c libc/stdio/getline.c libc/stdio/gets.c,
13994 libc/stdio/getw.c libc/stdio/iprintf.c libc/stdio/local.h,
13995 libc/stdio/makebuf.c libc/stdio/mktemp.c libc/stdio/perror.c,
13996 libc/stdio/printf.c libc/stdio/putc.c libc/stdio/putc_u.c,
13997 libc/stdio/putchar.c libc/stdio/putchar_u.c libc/stdio/puts.c,
13998 libc/stdio/putw.c libc/stdio/refill.c libc/stdio/remove.c,
13999 libc/stdio/rename.c libc/stdio/rewind.c libc/stdio/rget.c,
14000 libc/stdio/scanf.c libc/stdio/setbuf.c libc/stdio/setbuffer.c,
14001 libc/stdio/setlinebuf.c libc/stdio/setvbuf.c,
14002 libc/stdio/siprintf.c libc/stdio/snprintf.c,
14003 libc/stdio/sprintf.c libc/stdio/sscanf.c libc/stdio/stdio.c,
14004 libc/stdio/tmpfile.c libc/stdio/tmpnam.c libc/stdio/ungetc.c,
14005 libc/stdio/vasprintf.c libc/stdio/vfieeefp.h,
14006 libc/stdio/vfprintf.c libc/stdio/vfscanf.c,
14007 libc/stdio/vprintf.c libc/stdio/vscanf.c,
14008 libc/stdio/vsnprintf.c libc/stdio/vsprintf.c,
14009 libc/stdio/vsscanf.c libc/stdio/wbuf.c,
14010 libc/stdio/wsetup.c: Perform minor formatting changes. Move
14011 copyright notices to top of file, ensure that <_ansi.h> is
14012 included, be consistent with open parentheses, use _DEFUN macro,
14013 include "local.h" where needed, and remove various compiler
14016 2004-04-21 J"orn Rennecke <joern.rennecke@superh.com>
14018 * libc/stdio/vfscanf.c (NNZDIGITS): New define.
14019 (__svfscanf_r): In integer conversions, leave out leading zeroes
14020 which are not part of a base prefix.
14021 Keep track of width truncation to fit into buf, not counting left-out
14022 zeroes against width till the truncation has been compensated for.
14024 2004-04-20 Corinna Vinschen <corinna@vinschen.de>
14026 * libc/include/sys/unistd.h (ttyname_r): Add missing comma.
14028 2004-04-20 Corinna Vinschen <corinna@vinschen.de>
14030 * libc/include/sys/unistd.h (ttyname_r): Add declaration for Cygwin.
14032 2004-04-10 Corinna Vinschen <corinna@vinschen.de>
14034 * libc/include/sys/unistd.h (sync): Define void on Cygwin according
14037 2004-04-08 Artem B. Bityuckiy <abitytsky@softminecorp.com>
14039 * libc/stdio/fclose.c (_fclose_r): New function.
14040 * libc/stdio/freopen.c (_freopen_r): Call _fclose_r.
14041 * libc/stdio/fcloseall.c (_fcloseall_r): Call _fwalk_reent.
14042 * libc/stdio64/freopen64.c (_freopen64_r): Use _fclose_r.
14043 * libc/include/stdio.h (_fclose_r): New prototype.
14044 * libc/stdio/fopen.c: Fix typo in comment.
14046 2004-04-08 Jeff Johnston <jjohnstn@redhat.com>
14048 * libc/stdio/fwalk.c (_fwalk_reent): New version of _fwalk
14049 to handle _r reentrant functions.
14051 2004-04-08 Eric Christopher <echristo@redhat.com>
14053 * libc/include/machine/setjmp.h: Fix endif locations.
14055 2004-04-01 Artem B. Bityuckiy <abitytsky@softminecorp.com>
14057 * libc/time/strptime.c: Add standard includes to avoid
14058 warning messages at compilation time.
14060 2004-04-01 Jeff Johnston <jjohnstn@redhat.com>
14062 * libc/stdio/vfscanf.c (__svfscanf_r): Add locking/unlocking
14065 2004-03-30 Jeff Johnston <jjohnstn@redhat.com>
14067 * libc/machine/h8300/Makefile.am: Reformat slightly.
14068 * libc/machine/h8300/Makefile.in: Regenerate.
14070 2004-03-30 Thomas Pfaff <tpfaff@gmx.net>
14072 * libc/stdio/findfp.c (__fp_lock_all): Add call to
14073 __sfp_lock_acquire.
14074 (__fp_unlock_all): Add call to __sfp_lock_release.
14076 2004-03-25 Thomas Pfaff <tpfaff@gmx.net>
14078 * libc/stdio/fclose.c (fclose): Protect file pointer list when
14080 * libc/stdio/fcloseall.c (_fcloseall_r): Close all files via
14082 * libc/stdio/fdopen.c (_fdopen_r): Add calls to
14083 _flockfile/_funlockfile.
14084 * libc/stdio/findfp.c: Move __sfp_lock. Change __sfp_lock type
14086 Change __lock_acquire/__lock_release calls for __sfp_lock to
14087 __sfp_lock_acquire/__sfp_lock_release throughout.
14088 (std): Make sure that file lock is only initialized once.
14089 (__sfp): Move _file initialization. Initialize file lock.
14090 (__sfp_lock_acquire): New function.
14091 (__sfp_lock_release): Ditto.
14092 (__fp_lock_all): Remove __sfp_lock_acquire call.
14093 (__fp_unlock_all): Remove __sfp_lock_release call.
14094 * libc/stdio/fopen.c (_fopen_r): Protect file pointer list.
14095 Add calls to _flockfile/_funlockfile. Remove
14096 __lock_init_recursive call.
14097 * libc/stdio/freopen.c (_freopen_r): Protect file pointer list.
14098 * libc/stdio/fwalk.c (__fwalk): New static function.
14099 (_fwalk): Protect file pointer list. Use __fwalk to walk through
14101 * libc/stdio/local.h: Add defines for
14102 __sfp_lock_acquire/__sfp_lock_release when
14103 single threaded. Add function prototypes otherwise.
14104 * libc/stdio64/fdopen64.c (_fdopen64_r): Add calls to
14105 _flockfile/_funlockfile.
14106 * libc/stdio/fopen64.c (_fopen64_r): Protect file pointer list.
14107 Add calls to _flockfile/_funlockfile. Remove
14108 __lock_init_recursive call.
14109 * libc/stdio/freopen64.c (_freopen64_r): Protect file pointer
14112 2004-03-25 Jeff Johnston <jjohnstn@redhat.com>
14114 * libc/sys/linux/sys/lock.h: Turn on __USE_GNU flag if not already
14115 defined. Change __LOCK_RECURSIVE_INIT to be __LOCK_INIT_RECURSIVE.
14116 * libc/sys/linux/dl/dl-support.c: Change __LOCK_RECURSIVE_INIT
14117 to be __LOCK_INIT_RECURSIVE.
14119 2004-03-11 Kazu Hirata <kazu@cs.umass.edu>
14121 * libc/sys/h8300hms/Makefile.am (lib_a_SOURCES): Replace
14122 _exit.c with _exit.S.
14123 * libc/sys/h8300hms/Makefile.in: Regenerate.
14124 * libc/sys/h8300hms/_exit.c: Remove.
14125 * libc/sys/h8300hms/_exit.S: New.
14127 2004-03-09 Thomas Pfaff <tpfaff@gmx.net>
14129 * libc/stdio/findfp.c (__sfp): Rename lock to __sfp_lock.
14130 Change __sfp_lock to static global.
14131 (__fp_lock): New static function.
14132 (__fp_unlock): Ditto.
14133 (__fp_lock_all): New function.
14134 (__fp_unlock_all): Ditto.
14136 2004-02-10 Christopher Faylor <cgf@redhat.com>
14138 * libm/mathfp/er_gamma.c (gamma): Add new non-reentrant function.
14139 * libm/mathfp/er_lgamma.c (lgamma): Ditto.
14140 * libm/mathfp/erf_gamma.c (gammaf): Ditto.
14141 * libm/mathfp/erf_lgamma.c (lgammaf): Ditto.
14143 2004-02-09 Christopher Faylor <cgf@redhat.com>
14145 * libc/include/time.h (TIMER_RELTIME): New define.
14147 2004-02-09 Jeff Johnston <jjohnstn@redhat.com>
14149 * libc/stdlib/Makefile.am: Add mallstatsr to LIBADD_OBJS.
14150 * libc/stdlib/Makefile.in: Regenerated.
14152 2004-02-08 Christopher Faylor <cgf@redhat.com>
14154 * libc/include/sys/features.h: Add _POSIX_TIMERS define for __CYGWIN__.
14155 * libc/include/sys/reent.h (__getreent): Protect against possibly being
14157 * libc/include/sys/unistd.h (fdatasync): Don't define for __CYGWIN__.
14159 2004-02-05 Paul Brook <paul@codesourcery.com>
14161 * libc/include/machine/ieeefp.h[__arm__][__VFP_FP__]: Set
14162 IEEE_{BIG,LITTLE} based on __ARMEL__ flag.
14164 2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
14166 * NEWS: Update with 1.12.0 info.
14168 * acinclude.m4: Change version number to 1.12.0.
14169 * aclocal.m4: Regenerated.
14170 * configure: Ditto.
14171 * doc/aclocal.m4: Ditto.
14172 * doc/configure: Ditto.
14173 * libc/*/aclocal.m4: Ditto.
14174 * libc/*/configure: Ditto.
14175 * libc/libc.texinfo: Ditto.
14176 * libm/*/aclocal.m4: Ditto.
14177 * libm/*/configure: Ditto.
14178 * libm/libm.texinfo: Ditto.
14179 * libc/sys/linux/shared.ld: Add VERS_1.12.
14181 2004-02-02 Joel Sherrill <joel@oarcorp.com>
14183 * configure.host: Add support for tic4x.
14184 * libc/include/machine/ieeefp.h: Ditto.
14185 * libc/include/machine/setjmp.h: Ditto.
14186 * libc/machine/tic4x/Makefile.am: New file.
14187 * libc/machine/tic4x/configure.in: Ditto.
14188 * libc/machine/tic4x/setjmp.S: Ditto.
14189 * libc/machine/tic4x/aclocal.m4: Generated.
14190 * libc/machine/tic4x/configure: Ditto.
14191 * libc/machine/tic4x/Makefile.in: Ditto.
14193 2004-01-30 Jeff Johnston <jjohnstn@redhat.com>
14195 * libc/stdio/fwalk.c (_fwalk.c): Don't traverse the
14196 file chain on the passed in reentrancy struct if it
14199 2004-01-30 Artem B. Bityuckiy <abitytsky@softminecorp.com>
14200 Jeff Johnston <jjohnstn@redhat.com>
14202 * libc/iconv/iconv.tex: Updated with more information.
14204 2004-01-30 Thomas Pfaff <tpfaff@gmx.net>
14205 Jeff Johnston <jjohnstn@redhat.com>
14207 * libc/stdio/fwalk.c (_fwalk): Traverse the given reentrancy
14208 struct for std streams and traverse the global reeentrancy
14209 struct for all other streams.
14211 2004-01-27 Jeff Johnston <jjohnstn@redhat.com>
14213 * libc/stdlib/atexit.c: Protect global atexit list with a
14214 lock when newlib is multithreaded.
14216 2004-01-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
14218 * configure.in: Add support to generate iconv converter flags
14220 * newlib.hin: Add iconv converter flags.
14221 * configure: Regenerated.
14222 * libc/Makefile.in: Ditto.
14223 * libc/configure.in: Moved iconv converter parsing logic to
14224 top level newlib configure.in.
14225 * libc/configure: Regenerated.
14226 * libc/iconv/Makefile.in: Ditto.
14227 * libc/iconv/README.TODO
14228 * libc/iconv/charset.aliases: Remove wrong BE aliases for
14230 * libc/iconv/ccs/Makefile.am: Remove C flag setting now that
14231 newlib.h can be used.
14232 * libc/iconv/ces/Makefile.am: Ditto.
14233 * libc/iconv/lib/Makefile.am: Ditto.
14234 * libc/iconv/ccs/Makefile.in: Regenerated.
14235 * libc/iconv/ces/Makefile.in: Ditto.
14236 * libc/iconv/lib/Makefile.in: Ditto.
14237 * libc/iconv/ccs/README.CCS.SOURCES: Updated.
14238 * libc/iconv/ccs/iconv_mktbl: Don't write junk strings to binaries.
14239 * libc/iconv/ccs/big5.c: Switch to use new underscored flags
14240 defined in newlib.h.
14241 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
14242 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
14243 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
14244 * libc/iconv/ccs/cp775.c: Ditto.
14245 * libc/iconv/ccs/cp850.c: Ditto.
14246 * libc/iconv/ccs/cp852.c: Ditto.
14247 * libc/iconv/ccs/cp855.c: Ditto.
14248 * libc/iconv/ccs/cp866.c: Ditto.
14249 * libc/iconv/ccs/gb_2312_80.c: Ditto.
14250 * libc/iconv/ccs/iso_8859_1.c: Ditto.
14251 * libc/iconv/ccs/iso_8859_15.c: Ditto.
14252 * libc/iconv/ccs/iso_8859_2.c: Ditto.
14253 * libc/iconv/ccs/iso_8859_4.c: Ditto.
14254 * libc/iconv/ccs/iso_8859_5.c: Ditto.
14255 * libc/iconv/ccs/jis_x0201.c: Ditto.
14256 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
14257 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
14258 * libc/iconv/ccs/koi8_r.c: Ditto.
14259 * libc/iconv/ccs/koi8_u.c: Ditto.
14260 * libc/iconv/ccs/ksx1001.c: Ditto.
14261 * libc/iconv/ccs/shift_jis.c: Ditto.
14262 * libc/iconv/ccs/us_ascii.c: Ditto.
14263 * libc/iconv/ccs/binary/big5.cct: Newly generated.
14264 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
14265 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
14266 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
14267 * libc/iconv/ccs/binary/cp775.cct: Ditto.
14268 * libc/iconv/ccs/binary/cp850.cct: Ditto.
14269 * libc/iconv/ccs/binary/cp852.cct: Ditto.
14270 * libc/iconv/ccs/binary/cp855.cct: Ditto.
14271 * libc/iconv/ccs/binary/cp866.cct: Ditto.
14272 * libc/iconv/ccs/binary/gb_2312_80.cct: Ditto.
14273 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
14274 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
14275 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
14276 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
14277 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
14278 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
14279 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
14280 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
14281 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
14282 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
14283 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
14284 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
14285 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
14286 * libc/iconv/lib/bialiasesi.c: Sync with charset.aliases.
14287 * libc/iconv/ces/euc-jp.c: Use newlib.h macros.
14288 * libc/iconv/ces/euc-kr.c: Ditto.
14289 * libc/iconv/ces/euc-tw.c: Ditto.
14290 * libc/iconv/ces/gb2312.c: Ditto.
14291 * libc/iconv/ces/iso-10646-ucs-2.c: Ditto.
14292 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
14293 * libc/iconv/ces/ucs-2-internal.c: Ditto.
14294 * libc/iconv/ces/ucs-4-internal.c: Ditto.
14295 * libc/iconv/ces/utf-16.c: Ditto.
14296 * libc/iconv/ces/utf-8.c: Ditto.
14297 * libc/iconv/lib/aliases.c: Ditto.
14298 * libc/iconv/lib/biccs.c: Ditto.
14299 * libc/iconv/lib/bices.c: Ditto.
14300 * libc/iconv/lib/ccs.c: Ditto.
14301 * libc/iconv/lib/ces.c: Ditto.
14302 * libc/iconv/lib/ces_euc.c: Ditto.
14303 * libc/iconv/lib/ces_iso2022.c: Ditto.
14304 * libc/iconv/lib/ces_table.c: Ditto.
14305 * libc/iconv/lib/converter.c: Ditto.
14306 * libc/iconv/lib/deps.h: Ditto.
14307 * libc/iconv/lib/endian.h: Ditto.
14308 * libc/iconv/lib/iconv.c: Ditto.
14309 * libc/iconv/lib/loaddata.c: Ditto.
14310 * libc/iconv/lib/local.h: Include newlib.h.
14311 * libc/argz/Makefile.in: Regenerated.
14312 * libc/ctype/Makefile.in: Ditto.
14313 * libc/errno/Makefile.in: Ditto.
14314 * libc/iconv/ccs/binary/Makefile.in: Ditto.
14315 * libc/locale/Makefile.in: Ditto.
14316 * libc/misc/Makefile.in: Ditto.
14317 * libc/posix/Makefile.in: Ditto.
14318 * libc/reent/Makefile.in: Ditto.
14319 * libc/search/Makefile.in: Ditto.
14320 * libc/signal/Makefile.in: Ditto.
14321 * libc/stdio/Makefile.in: Ditto.
14322 * libc/stdio64/Makefile.in: Ditto.
14323 * libc/stdlib/Makefile.in: Ditto.
14324 * libc/string/Makefile.in: Ditto.
14325 * libc/syscalls/Makefile.in: Ditto.
14326 * libc/time/Makefile.in: Ditto.
14327 * libc/unix/Makefile.in: Ditto.
14328 * testsuite/newlib.iconv/iconv.exp: New file.
14329 * testsuite/newlib.iconv/iconvjp.c: Ditto.
14330 * testsuite/newlib.iconv/iconvnm.c: Ditto.
14331 * testsuite/newlib.iconv/iconvru.c: Ditto.
14333 2004-01-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
14335 * acinclude.m4 (--enable-newlib-iconv): New configuration option.
14336 (--enable-newlib-builtin-converters): Ditto.
14337 * configure.in: Add code to set _ICONV_ENABLED flag.
14338 Set _MB_LEN_MAX to 1 if not mb enabled.
14339 * configure: Regenerated.
14340 * aclocal.m4: Ditto.
14341 * Makefile.in: Ditto.
14342 * newlib.hin: Add _ICONV_ENABLED flag.
14343 * libc/Makefile.am: Add support for iconv.
14344 * libc/configure.in: Ditto.
14345 * libc/Makefile.in: Regenerated.
14346 * libc/aclocal.m4: Ditto.
14347 * libc/configure: Ditto.
14348 * libc/libc.texinfo: Add iconv documentation.
14349 * libc/iconv/AUTHORS, libc/iconv/COPYING, libc/iconv/Makefile.am,
14350 libc/iconv/Makefile.in, libc/iconv/README.ORIGINAL,
14351 libc/iconv/README.TODO, libc/iconv/charset.aliases,
14352 libc/iconv/iconv.tex, libc/iconv/ccs/Makefile.am,
14353 libc/iconv/ccs/Makefile.in, libc/iconv/ccs/README.CCS.SOURCES,
14354 libc/iconv/ccs/big5.c, libc/iconv/ccs/cns11643_plane1.c,
14355 libc/iconv/ccs/cns11643_plane14.c, libc/iconv/ccs/cns11643_plane2.c,
14356 libc/iconv/ccs/cp775.c, libc/iconv/ccs/cp850.c,
14357 libc/iconv/ccs/cp852.c, libc/iconv/ccs/cp855.c,
14358 libc/iconv/ccs/cp866.c, libc/iconv/ccs/gb_2312_80.c,
14359 libc/iconv/ccs/iconv_mktbl, libc/iconv/ccs/iso_8859_1.c,
14360 libc/iconv/ccs/iso_8859_15.c, libc/iconv/ccs/iso_8859_2.c,
14361 libc/iconv/ccs/iso_8859_4.c, libc/iconv/ccs/iso_8859_5.c,
14362 libc/iconv/ccs/jis_x0201.c, libc/iconv/ccs/jis_x0208_1983.c,
14363 libc/iconv/ccs/jis_x0212_1990.c, libc/iconv/ccs/koi8_r.c,
14364 libc/iconv/ccs/koi8_u.c, libc/iconv/ccs/ksx1001.c,
14365 libc/iconv/ccs/shift_jis.c, libc/iconv/ccs/us_ascii.c,
14366 libc/iconv/ccs/binary/Makefile.am, libc/iconv/ccs/binary/Makefile.in,
14367 libc/iconv/ccs/binary/big5.cct,
14368 libc/iconv/ccs/binary/cns11643_plane1.cct,
14369 libc/iconv/ccs/binary/cns11643_plane14.cct,
14370 libc/iconv/ccs/binary/cns11643_plane2.cct,
14371 libc/iconv/ccs/binary/cp775.cct, libc/iconv/ccs/binary/cp850.cct,
14372 libc/iconv/ccs/binary/cp852.cct, libc/iconv/ccs/binary/cp855.cct,
14373 libc/iconv/ccs/binary/cp866.cct, libc/iconv/ccs/binary/gb_2312_80.cct,
14374 libc/iconv/ccs/binary/iso_8859_1.cct,
14375 libc/iconv/ccs/binary/iso_8859_15.cct,
14376 libc/iconv/ccs/binary/iso_8859_2.cct,
14377 libc/iconv/ccs/binary/iso_8859_4.cct,
14378 libc/iconv/ccs/binary/iso_8859_5.cct,
14379 libc/iconv/ccs/binary/jis_x0201.cct,
14380 libc/iconv/ccs/binary/jis_x0208_1983.cct,
14381 libc/iconv/ccs/binary/jis_x0212_1990.cct,
14382 libc/iconv/ccs/binary/koi8_r.cct, libc/iconv/ccs/binary/koi8_u.cct,
14383 libc/iconv/ccs/binary/ksx1001.cct,
14384 libc/iconv/ccs/binary/shift_jis.cct,
14385 libc/iconv/ccs/binary/us_ascii.cct,
14386 libc/iconv/ces/Makefile.am, libc/iconv/ces/Makefile.in,
14387 libc/iconv/ces/euc-jp.c, libc/iconv/ces/euc-kr.c,
14388 libc/iconv/ces/euc-tw.c, libc/iconv/ces/gb2312.c,
14389 libc/iconv/ces/iso-10646-ucs-2.c, libc/iconv/ces/iso-10646-ucs-4.c,
14390 libc/iconv/ces/ucs-2-internal.c, libc/iconv/ces/ucs-4-internal.c,
14391 libc/iconv/ces/utf-16.c, libc/iconv/ces/utf-8.c,
14392 libc/iconv/lib/Makefile.am, libc/iconv/lib/Makefile.in,
14393 libc/iconv/lib/aliases.c, libc/iconv/lib/bialiasesi.c,
14394 libc/iconv/lib/biccs.c, libc/iconv/lib/bices.c,
14395 libc/iconv/lib/ccs.c, libc/iconv/lib/ces.c,
14396 libc/iconv/lib/ces_euc.c, libc/iconv/lib/ces_iso2022.c,
14397 libc/iconv/lib/ces_table.c, libc/iconv/lib/converter.c,
14398 libc/iconv/lib/deps.h, libc/iconv/lib/endian.h,
14399 libc/iconv/lib/iconv.c, libc/iconv/lib/loaddata.c,
14400 libc/iconv/lib/local.h, libc/include/iconv.h: New files.
14401 * libc/sys/linux/include/iconv.h: Ditto.
14402 * libc/include/sys/_types.h (_iconv_t): Added.
14403 * doc/aclocal.m4: Regenerated.
14404 * doc/configure: Ditto.
14405 * doc/Makefile.in: Ditto.
14406 * iconvdata/Makefile.in: Ditto.
14407 * iconvdata/aclocal.m4: Ditto.
14408 * iconvdata/configure: Ditto.
14409 * libc/*aclocal.m4: Ditto.
14410 * libc/*Makefile.in: Ditto.
14411 * libc/*configure: Ditto.
14412 * libm/*aclocal.m4: Ditto.
14413 * libm/*Makefile.in: Ditto.
14414 * libm/*configure: Ditto.
14416 2004-01-22 Thomas Pfaff <tpfaff@gmx.net>
14418 * libc/stdio/findfp.c (__sfp): Protect global FILE pointer list
14419 by a lock when newlib is multithreaded.
14421 2004-01-21 Jeff Johnston <jjohnstn@redhat.com>
14423 * libc/stdlib/mbrtowc.c (_mbrtowc_r): Fix case where s is null
14424 pointer to match C99 spec.
14425 * libc/stdlib/mbsrtowcs.c (_mbsrtowc_r): Fix to ignore len when
14426 dst is NULL. Also fix to not alter src pointer when dst is NULL
14427 and call _mbrtowc_r instead of _mbtowc_r.
14428 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Call _wcrtomb_r instead
14431 2004-01-19 Thomas Pfaff <tpfaff@gmx.net>
14433 * libc/stdio/fclose.c (fclose): Release FILE as the last step.
14434 * libc/stdio/freopen.c (freopen): Ditto.
14436 2004-01-16 Christopher Faylor <cgf@redhat.com>
14438 * libc/stdio/vfprintf.c: Add sys/lock.h include.
14440 2004-01-16 Thomas Pfaff <tpfaff@gmx.net>
14442 * libc/stdio/findfp.c (__sfp): Remove unnecessary memset.
14443 * libc/stdio/vfprintf.c (__sbprintf): Ditto.
14444 Add calls to __lock_init_recursive and __lock_close_recursive
14447 2004-01-15 Thomas Pfaff <tpfaff@gmx.net>
14449 * libc/stdio/fclose.c: Include sys/lock.h.
14450 (fclose): Destroy lock when file is closed.
14451 * libc/stdio/findfp.c (__sfp): Initialize file pointers _lock
14453 * libc/stdio/freopen.c: Include sys/lock.h.
14454 (_freopen_r): Destroy lock when file is closed.
14455 * libc/stdio/vfprintf.c (__sbprintf): Initialize file pointers
14458 2004-01-08 Joel Sherrill <joel@oarcorp.com>
14460 * libc/ctype/iswctype.c, include/sys/reent.h, libc/stdlib/a64l.c:
14463 2004-01-08 Joel Sherrill <joel@oarcorp.com>
14465 * libc/sys/rtems/sys/queue.h: New file.
14466 * libc/include/sys/signal.h: Reflect renumbering of signals to
14467 fit into 32-bit mask.
14468 * libc/include/sys/unistd.h: Add fdatasync() prototype.
14469 * libc/sys/rtems/crt0.c: Add more symbols which may be implicitly
14470 required. In particular, add the reentrant variants of libc calls.
14471 * libc/sys/rtems/sys/dirent.h: Add scandir() prototype.
14473 2004-01-06 Mark Mitchell <mark@codesourcery.com>
14475 * libc/sys/arm/syscalls.c (unistd.h): Include it.
14476 (remap_handle): Use STDIN_FILENO instead of __sfileno(stdin).
14477 Similarly for stdout and stderr.
14479 2004-01-06 Jeff Johnston <jjohnstn@redhat.com>
14481 * libc/libc.texinfo: Correct escape character for @ sign
14482 so file will be processed by make info. Update copyright years.
14483 * libm/libm.texinfo: Ditto.
14485 2003-12-05 Jeff Johnston <jjohnstn@redhat.com>
14487 * libc/include/sys/stat.h: No longer include stat-dj.h.
14488 * libc/include/sys/stat-dj.h: Removed.
14490 2003-12-05 Jeff Johnston <jjohnstn@redhat.com>
14492 * libc/include/wchar.h: Include <sys/reent.h>.
14494 2003-12-05 Christopher Faylor <cgf@redhat.com>
14496 * libc/stdlib/mbrlen.c: Change include order to prevent compiler errors
14497 when defining _mbrtowc.
14498 * libc/stdlib/mbsinit.c: Ditto.
14499 * libc/stdlib/mbsrtowcs.c: Ditto.
14500 * libc/stdlib/wcrtomb.c: Ditto.
14501 * libc/stdlib/wcsrtombs.c: Ditto.
14502 * libc/stdlib/wctob.c: Ditto.
14504 2003-12-05 Christopher Faylor <cgf@redhat.com>
14506 * libc/stdlib/mbrlen.c: Change include order to prevent compiler
14507 errors when defining _mbrtowc.
14508 * libc/stdlib/mbsinit.c: Ditto.
14509 * libc/stdlib/mbsrtowcs.c: Ditto.
14511 2003-12-05 Christopher Faylor <cgf@redhat.com>
14513 * libc/stdlib/mbrtowc.c: Change include order to prevent compiler
14514 errors when defining _mbrtowc.
14516 2003-12-04 Artem B. Bityuckiy <abitytsky@softminecorp.com>
14518 * libc/stdio/vfprintf.c (_VFPRINTF_R): Use _r versions
14519 of mb routines for %lc and %ls support.
14520 * libc/stdio/vfscanf.c (_svfscanf_r): Add %lc, %C,
14521 %ls, and %S support. Remove CYGNUS_NEC markers and
14524 2003-12-04 Jeff Johnston <jjohnstn@redhat.com>
14526 * libc/include/wchar.h: Add prototypes for _mbrtowc_r,
14527 _wcrtomb_r, and _wcsrtombs_r.
14529 2003-12-01 Corinna Vinschen <corinna@vinschen.de>
14531 * libc/include/sys/fcntl.h: Don't define struct flock when on
14532 Cygwin. This is done in winsup/cygwin/include/cygwin/types.h now.
14534 2003-11-28 Christopher Faylor <cgf@redhat.com>
14536 * libc/include/sys/signal.h: Use system specific signal file when
14537 building on cygwin.
14539 2003-11-27 Jeff Johnston <jjohnstn@redhat.com>
14541 * libc/include/stdlib.h (_atoi_r): New prototype.
14542 * libc/stdlib/atoi.c (_atoi_r): New reentrant function.
14544 2003-11-27 Jeff Johnston <jjohnstn@redhat.com>
14546 * libc/include/stdlib.h (_atoll_r, _atol_r): New prototypes.
14547 * libc/stdlib/atol.c (_atol_r): New reentrant function.
14548 * libc/stdlib/atoll.c (_atoll_r): Ditto.
14550 2003-11-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
14551 Jeff Johnston <jjohnstn@redhat.com>
14553 * libc/include/stdlib.h (lldiv_t): New type.
14554 (atoll, llabs, lldiv): New prototypes.
14555 * libc/stdlib/Makefile.am: Add support for atoll, llabs, and lldiv.
14556 * libc/stdlib/stdlib.tex: Ditto.
14557 * libc/stdlib/Makefile.in: Regenerated.
14558 * libc/stdlib/atoll.c: New file.
14559 * libc/stdlib/llabs.c: Ditto.
14560 * libc/stdlib/lldiv.c: Ditto.
14562 2003-11-26 Corinna Vinschen <corinna@vinschen.de>
14564 * libc/include/fcntl.h: Declare syscalls only when building newlib.
14565 * libc/include/unistd.h: Ditto.
14566 * libc/include/stat.h: Ditto. Also declare struct stat64.
14568 2003-11-24 Artem B. Bityuckiy <abitytsky@softminecorp.com>
14570 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix check for 'C' format
14571 specifier to use ch instead of *fmt.
14573 2003-11-21 Artem B. Bityuckiy <abitytsky@softminecorp.com>
14575 * libc/stdio/vfprintf.c (_VFPRINTF_R, get_arg): Move mb-specific
14576 code within checks for MB_CAPABLE. For non-mb-capable platforms,
14577 use simple byte logic.
14579 2003-11-21 Jeff Johnston <jjohnstn@redhat.com>
14581 * libc/stdio/vfscanf.c (__svfscanf_r)[!_NO_LONGDBL]: Don't use
14582 _strtold routine for processing floats and doubles since it
14583 is not as fast as _strtod_r.
14585 2003-11-20 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
14587 * libc/machine/h8300/defines.h : Correct pointer register defines
14589 * libc/machine/h8300/memcpy.S : Use add/sub instead of adds/subs
14591 * libc/machine/h8300/reg_memcpy.S : Likewise.
14592 * libc/machine/h8300/reg_memset.S : Likewise.
14593 * libc/machine/h8300/strcmp.S : Likewise.
14595 2003-11-19 Nicholas Wourms <nwourms@netscape.net>
14597 * configure.host: Enable positional arguments for printf
14599 * libc/stdio/vfprintf.c (_VFPRINTF_R): Remove extraneous
14600 pointer reference for quad_ptr_t.
14602 2003-11-19 Jeff Johnston <jjohnstn@redhat.com>
14604 * libc/stdio/scanf.c: Don't include local.h more than once.
14606 2003-11-18 Corinna Vinschen <corinna@vinschen.de>
14608 * libc/include/sys/fcntl.h: Declare _open64.
14609 * libc/include/sys/stat.h: Declare _fstat64.
14610 * libc/include/sys/unistd.h: Declare _lseek64.
14612 2003-11-17 Corinna Vinschen <corinna@vinschen.de>
14614 * libc/include/stdlib.h (getprogname): Declare for Cygwin.
14615 (setprogname): Ditto.
14617 2003-11-10 Jeff Johnston <jjohnstn@redhat.com>
14619 * libc/machine/powerpc/ufix64toa.c (_ufix64to_r): Fix shifts
14620 to use (Ebits + 1) which accounts for the sign-bit.
14622 2003-11-07 Jeff Johnston <jjohnstn@redhat.com>
14624 * configure.host: Remove -DLOOSE_KERNEL_NAMES flag for linux
14626 * iconvdata/Makefile.am: Make dependent on newlib's configure.host
14627 and set up default flags to pass to aclocal.
14628 * iconvdata/Makefile.in: Regenerated.
14629 * libc/sys/linux/Makefile.am: Add _ELIX_LEVEL_4 getlogin, getpwnam,
14630 and getpwuid routines.
14631 * libc/sys/linux/Makefile.in: Regenerated.
14632 * libc/sys/linux/getlogin.c: New stub file to allow x86-linux
14633 applications to link with newlib's shared libc library.
14634 * libc/sys/linux/getpwnam.c: Ditto.
14635 * libc/sys/linux/getpwuid.c: Ditto.
14636 * libc/sys/linux/sys/types.h: Include <features.h> and supply types
14637 that were formerly supplied by /usr/include/linux/types.h with
14639 * testsuite/newlib.wctype/twctype.c: Fix testcase to properly
14640 test _ELIX_LEVEL macro.
14642 2003-11-07 Jeff Johnston <jjohnstn@redhat.com>
14644 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix typos that should be
14645 referring to _NO_LONGLONG macro.
14647 2003-11-06 Jeff Johnston <jjohnstn@redhat.com>
14649 * libc/sys/linux/linuxthreads/td_init.c: Replace function name
14650 in LOG() macro so this will compile on gcc 3.4 and up.
14651 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
14652 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
14653 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
14654 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
14655 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
14656 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
14657 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
14658 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
14659 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
14660 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
14661 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
14662 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
14663 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
14664 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
14665 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
14666 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
14667 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
14668 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
14669 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
14670 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
14671 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
14672 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
14673 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
14674 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
14675 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
14676 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
14677 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
14678 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
14679 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
14680 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
14681 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
14682 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
14683 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
14684 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
14685 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
14686 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
14688 2003-11-05 Jeff Johnston <jjohnstn@redhat.com>
14689 Artem B. Bityuckiy <abitytsky@softminecorp.com>
14691 * libc/stdio/vfprintf.c (_VFPRINTF_R): Add support for
14692 %ls, %S, %lc, and %C format specifiers.
14694 * libc/stdio/sprintf.c: Add documentation regarding new
14695 format specifiers added in vfprintf.c.
14697 2003-11-05 Jeff Johnston <jjohnstn@redhat.com>
14699 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Numerous fixes
14700 to make code work as specified in standard.
14702 2003-10-23 Jeff Johnston <jjohnstn@redhat.com>
14704 * configure.in: Use absolute newlib basedir when forming
14705 CC_FOR_NEWLIB include options.
14706 * configure: Regenerated.
14708 2003-10-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
14710 * libc/string/wcsnlen.c: New file.
14711 * libc/include/wchar.h: Add wcsnlen prototype.
14712 * libc/string/Makefile.am: Add wcsnlen support.
14713 * libc/string/Makefile.in: Regenerated.
14714 * libc/string/wcstrings.tex: Add wcsnlen documentation.
14716 2003-10-22 Richard Sandiford <rsandifo@redhat.com>
14718 * libc/stdlib/exit.c (exit): Handle null _GLOBAL_REENT->_atexits.
14720 2003-10-20 Bob Wilson <bob.wilson@acm.org>
14722 * libc/locale/locale.c: Use double quotes in code.
14723 * libc/locale/locale.tex: Likewise.
14724 * libc/libc.texinfo: Hyphenate "floating-point".
14725 * libc/machine/necv70/necv70.tex: Likewise.
14726 * libc/stdio/sprintf.c: Likewise.
14727 * libc/stdio/sscanf.c: Likewise.
14728 * libc/stdlib/atof.c: Likewise.
14729 * libc/stdlib/ldtoa.c: Fix comment typo.
14730 * libc/stdlib/div.c: Use @ifnottex instead of @ifinfo.
14731 * libc/stdlib/ldiv.c: Likewise.
14732 * libm/common/s_expm1.c: Likewise.
14733 * libm/common/s_ilogb.c: Hyphenate "floating-point". Use "nonzero".
14734 * libm/common/s_infinity: Hyphenate "double- and single-precision".
14735 * libm/common/s_nan.c: Likewise. Also correct the FUNCTION summary.
14736 * libm/common/s_nextafter.c: Fix typo. Hyphenate "double-precision"
14737 and "floating-point".
14738 * libm/common/s_scalbn.c: Correct the FUNCTION summary.
14739 * libm/math/e_pow.c: Fix comment typo.
14740 * libm/math/math.tex: Hyphenate "single-precision" and "floating-point".
14741 * libm/math/s_asinh.c: Use @ifnottex instead of @ifinfo.
14742 * libm/math/s_atan.c: Likewise.
14743 * libm/math/s_frexp.c: Likewise. Also use "nonzero".
14744 * libm/math/s_isnan.c: Hyphenate "single-precision" and
14745 "floating-point". Use "nonzero".
14746 * libm/math/s_ldexp.c: Use @ifnottex instead of @ifinfo.
14747 * libm/math/w_acos.c: Likewise.
14748 * libm/math/w_acosh.c: Likewise.
14749 * libm/math/w_asin.c: Likewise.
14750 * libm/math/w_atan2.c: Likewise.
14751 * libm/math/w_atanh.c: Likewise.
14752 * libm/math/w_cosh.c: Likewise.
14753 * libm/math/w_exp.c: Likewise.
14754 * libm/math/w_exp2.c: Likewise. Add missing @end and missing @tex
14755 version of 2^x in the description.
14756 * libm/math/w_fmod.c: Use @ifnottex instead of @ifinfo.
14757 * libm/math/w_gamma.c: Likewise.
14758 * libm/math/w_hypot.c: Likewise.
14759 * libm/math/w_j0.c: Likewise.
14760 * libm/math/w_sinh.c: Likewise.
14761 * libm/math/w_pow.c: Replace "exp1.0nt" with "exponent".
14762 * libm/mathfp/mathfp.tex: Hyphenate "single-precision" and
14764 * libm/mathfp/e_acosh.c: Use @ifnottex instead of @ifinfo.
14765 * libm/mathfp/e_atanh.c: Likewise.
14766 * libm/mathfp/e_hypot.c: Likewise.
14767 * libm/mathfp/er_lgamma.c: Likewise.
14768 * libm/mathfp/s_acos.c: Likewise.
14769 * libm/mathfp/s_asine.c: Likewise.
14770 * libm/mathfp/s_asinh.c: Likewise.
14771 * libm/mathfp/s_atan.c: Likewise.
14772 * libm/mathfp/s_atan2.c: Likewise.
14773 * libm/mathfp/s_atangent.c: Likewise.
14774 * libm/mathfp/s_cosh.c: Likewise.
14775 * libm/mathfp/s_exp.c: Likewise.
14776 * libm/mathfp/s_fmod.c: Likewise.
14777 * libm/mathfp/s_frexp.c: Likewise. Also use "nonzero".
14778 * libm/mathfp/s_isnan.c: Hyphenate "single-precision" and
14779 "floating-point". Use "nonzero".
14780 * libm/math/s_pow.c: Replace "exp1.0nt" with "exponent".
14781 * libm/mathfp/s_ldexp.c: Use @ifnottex instead of @ifinfo.
14782 * libm/mathfp/s_sineh.c: Likewise.
14783 * libm/mathfp/w_jn.c: Likewise.
14785 2003-10-15 Alexandre Oliva <aoliva@redhat.com>
14787 * Makefile.am: Add $(MAKE) comments to multido and multiclean
14788 lines, to enable parallel make.
14789 * Makefile.in: Rebuilt.
14791 2003-10-14 Christopher Faylor <cgf@redhat.com>
14793 * libc/time/clock.c: Clarify documentation of return value when no
14794 measurement is available.
14796 2003-09-29 Ian Lance Taylor <ian@wasabisystems.com>
14798 * libm/configure.in: Check libm_machine_dir, not machine_dir.
14799 * libm/configure: Regenerate.
14800 * libm/Makefile.in: Ditto.
14802 2003-09-29 J"orn Rennecke <joern.rennecke@superh.com>
14804 * libc/machine/sh/strncpy.S: New file.
14805 * libc/machine/sh/Makefile.am: Add entry & rule for new file.
14806 * libc/machine/sh/Makefile.in: Regenerate.
14808 2003-09-11 James E Wilson <wilson@specifixinc.com>
14810 * MAINTAINERS: Update my e-mail address.
14812 2003-09-10 Corinna Vinschen <corinna@vinschen.de>
14814 * libc/include/sys/unistd.h: Declare function daemon for Cygwin.
14816 2003-09-09 Jeff Johnston <jjohnstn@redhat.com>
14818 * libc/machine/powerpc/fix64.h: Fix typo for _simdldcheck
14820 * libc/machine/powerpc/simdldtoa.c: Remove prototype for
14821 _simdldcheck(). Also add unsigned cast for index variable in
14822 for loop using sizeof operators.
14823 * libc/machine/powerpc/strtoufix32.c: Remove unused variable.
14824 * libc/machine/powerpc/strtosfix64.c: Fix call to _simdldcheck.
14825 * libc/machine/powerpc/strtoufix64.c (_strtoufix64_r): Ditto
14826 plus fix shift calculation for determining if there is a
14829 2003-09-09 Corinna Vinschen <corinna@vinschen.de>
14831 * libc/include/grp.h: Don't define setgrfile, group_from_gid and
14832 setgroupent for Cygwin.
14834 2003-09-05 Jeff Johnston <jjohnstn@redhat.com>
14836 * libc/stdlib/exit.c (exit): Setting of struct _atexit ptr p
14837 is different for _REENT_SMALL than when using regular reent
14840 2003-09-05 Ben Elliston <bje@wasabisystems.com>
14842 * libc/ctype/wctype.c (_DEFUN): Remove empty default case, as
14843 modern versions of GCC issue a warning.
14845 * libc/machine/xscale/memcmp.c (memcmp): Strip trailing whitespace
14846 after continuation characters that induces a warning from modern
14849 2003-09-04 Ben Elliston <bje@wasabisystems.com>
14851 * libc/stdlib/mstats.c[_ELIX_LEVEL]: Fix guards. #ifndef FOO ||
14852 FOO >= 2 is invalid; use #if !defined (FOO) || FOO >= 2 instead.
14854 2003-09-02 Thomas Pfaff <tpfaff@gmx.net>
14856 * libc/stdlib/atexit.c: Rename _REENT to _GLOBAL_REENT throughout.
14857 * libc/stdlib/exit.c : Ditto.
14858 * libc/stdlib/on_exit.c: Ditto.
14860 2003-08-27 Corinna Vinschen <corinna@vinschen.de>
14862 * libc/include/reent.h: Define stat64 as __stat64 when
14863 compiling newlib for Cygwin.
14865 2003-08-26 Jeff Johnston <jjohnstn@redhat.com>
14867 * libc/include/sys/stat.h[__CYGWIN__]: Only define stat64 as
14868 __stat64 when compiling newlib.
14870 2003-08-26 Jeff Johnston <jjohnstn@redhat.com>
14872 * libc/include/stdio.h: Allow the io64 function prototypes for
14873 Cygwin when compiling newlib.
14874 * libc/include/sys/stat.h[__CYGWIN__]: Define stat64 as __stat64
14875 to expose the Cygwin struct __stat64 type.
14876 * libc/stdio64/fseeko64.c: Use _fstat64_r and pass a struct stat64
14878 * libc/stdio64/tmpfile64.c(_tmpfile64_r): Call _fopen64_r.
14880 2003-08-23 Christopher Faylor <cgf@redhat.com>
14882 * libc/stdio64/fseeko64.c (fseeko64_r): Rename second fseeko64_r
14883 definition to fseeko64.
14885 2003-08-22 Jeff Johnston <jjohnstn@redhat.com>
14887 * libc/include/sys/reent.h: Add _GLOBAL_REENT macro.
14888 * libc/stdio: Globally remove/replace all references to fp->_data.
14889 Replace with _REENT or _GLOBAL_REENT where appropriate.
14890 * libc/stdio/asprintf.c: Ditto.
14891 * libc/stdio/fclose.c: Ditto.
14892 * libc/stdio/fvwrite.c: Ditto.
14893 * libc/stdio/makebuf.c: Ditto.
14894 * libc/stdio/refill.c: Ditto.
14895 * libc/stdio/local.h: Ditto.
14896 * libc/stdio/setvbuf.c: Ditto.
14897 * libc/stdio/sscanf.c: Ditto.
14898 * libc/stdio/stdio.c: Ditto.
14899 * libc/stdio/ungetc.c: Ditto.
14900 * libc/stdio/vfscanf.c: Ditto.
14901 * libc/stdio/vsscanf.c: Ditto.
14902 * libc/stdio/fopen.c: Ditto. Also use _fseek_r in _fopen_r.
14903 * libc/stdio/vasprintf.c: Ditto. Also call _vfprintf_r directly.
14904 * libc/stdio/vsnprintf.c: Ditto.
14905 * libc/stdio/vsprintf.c: Ditto.
14906 * libc/stdio/fcloseall.c(fcloseall): Use _GLOBAL_REENT macro
14907 instead of _REENT to walk file list.
14908 * libc/stdio/fflush.c: Ditto.
14909 * libc/stdio/fgetpos.c: Add reentrant version and have regular
14910 version call reentrant version with _REENT argument.
14911 * libc/stdio/fsetpos.c: Ditto.
14912 * libc/stdio/fseek.c: Ditto.
14913 * libc/stdio/fseeko.c: Ditto.
14914 * libc/stdio/ftell.c: Ditto.
14915 * libc/stdio/ftello.c: Ditto.
14916 * libc/stdio/freopen.c: Ditto.
14917 * libc/stdio/findfp.c: Use _GLOBAL_REENT pointer when adding
14918 new files to chain. Also use _GLOBAL_REENT pointer for
14920 * libc/stdio/fiprintf.c: Reformatted to minimize duplicate code.
14921 * libc/stdio/siprintf.c: Ditto.
14922 * libc/stdio/iprintf.c: Ditto.
14923 * libc/stdio/fprintf.c: Ditto.
14924 * libc/stdio/printf.c: Ditto.
14925 * libc/stdio/snprintf.c: Call _vfprintf_r directly.
14926 * libc/stdio/sprintf.c: Ditto.
14927 * libc/stdio/vprintf.c: Ditto. Also add _REENT_ONLY check.
14928 * libc/stdio/rewind.c: Call _fseek_r directly.
14929 * libc/stdio/tmpfile.c: Call _fopen_r and _remove_r directly.
14930 * libc/stdio/vfprintf.c (_VFPRINTF_R): Change _r routines to use
14932 (get_arg): Add extra struct _reent pointer argument.
14933 * libc/stdio64/fgetpos64.c: Add _r versions, remove any reference
14935 * libc/stdio64/fopen64.c: Ditto.
14936 * libc/stdio64/freopen64.c: Ditto.
14937 * libc/stdio64/fsetpos64.c: Ditto.
14938 * libc/stdio64/ftello64.c: Ditto.
14939 * libc/stdio64/local64.h: Ditto.
14940 * libc/stdio64/stdio64.c: Ditto.
14941 * libc/stdio64/fseeko64.c: Ditto plus use _fstat_r instead of
14942 _fstat64_r for the meantime.
14944 2003-08-19 Jeff Johnston <jjohnstn@redhat.com>
14946 * libc/stdlib/mallocr.c (mALLOc, rEALLOc, mEMEALIGn): Enhance
14947 overflow detection.
14949 2003-08-13 Aldy Hernandez <aldyh@redhat.com>
14951 * libc/machine/powerpc/machine/stdlib.h: Wrap SPE functions in
14954 2003-08-13 Jeff Johnston <jjohnstn@redhat.com>
14956 * libc/include/math.h: Add prototypes for __signbitf and
14959 2003-07-31 Jeff Johnston <jjohnstn@redhat.com>
14961 * libc/ctype/iswalpha.c: Fix calls to __jp2uc to pass the
14962 correct type of conversion when dealing with EUCJP or SJIS.
14963 * libc/ctype/iswblank.c: Ditto.
14964 * libc/ctype/iswcntrl.c: Ditto.
14965 * libc/ctype/iswprint.c: Ditto.
14966 * libc/ctype/iswpunct.c: Ditto.
14967 * libc/ctype/iswspace.c: Ditto.
14968 * libc/ctype/towlower.c: Ditto.
14969 * libc/ctype/towupper.c: Ditto.
14971 2003-07-31 Nick Clifton <nickc@redhat.com>
14973 * libc/sys/sysnecv850/crt0.S (_start): Allocate 4 slots on stack
14974 before calling main, in case it saves its argument registers.
14975 Remove reference to deleted v850ea port.
14976 * configure.host: Remove reference to deleted v850ea port.
14977 Do not use -mv850 when building for v850e target. This
14978 prevents the ctbp system register from being initialised.
14980 2003-07-29 Honda Hiroki <hhonda@ipflex.com>
14982 * libc/stdio/vfprintf.c: Set output size to 1 when
14983 we have %f format with precision 0 and # flag not specified.
14985 2003-07-29 Alexandre Oliva <aoliva@redhat.com>
14987 * libc/machine/mn10300/setjmp.S: Never emit both .am33 and
14990 2003-07-25 Christopher Faylor <cgf@redhat.com>
14992 * libc/stdio64/fdopen64.c: Include sys/lock.h.
14994 2003-07-25 Christopher Faylor <cgf@redhat.com>
14996 * configure.host: Find cygwin include directory, when appropriate.
14998 2003-07-24 Christopher Faylor <cgf@redhat.com>
15000 * libc/stdio64/fdopen64.c: New file.
15001 * libc/stdio64/Makefile.am (LIB_OBJS): Add fdopen64.o
15002 * libc/stdio64/Makefile.in: Regenerate.
15003 * libc/include/stdio.h (fdopen64): Define.
15004 * libc/include/stdio.h (_fdopen64_r): Ditto.
15006 2003-07-10 Alexandre Oliva <aoliva@redhat.com>
15008 2000-04-27 Alexandre Oliva <aoliva@cygnus.com>
15009 * libc/include/machine/setjmp.h (_JBLEN, AM33/2.0): Set to 26.
15010 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Save and
15011 restore callee-saved FP registers.
15013 2003-07-10 J"orn Rennecke <joern.rennecke@superh.com>
15015 * libc/include/sys/unistd.h (ftruncate, truncate): Also declare
15017 * libc/sys/sh/Makefile.am (lib_a_SOURCES): Add ftruncate.c and
15019 * libc/sys/sh/Makefile.in: Regenerate.
15020 * libc/sys/sh/sys/syscall.h: (SYS_truncate, SYS_ftruncate): Define.
15021 * libc/sys/sh/ftruncate.c: New file.
15022 * libc/sys/sh/truncate.c: Likewise.
15024 2003-07-09 Alexandre Oliva <aoliva@redhat.com>
15026 * libc/include/math.h (nan, nanf): Update prototype to C99.
15027 * libm/common/s_nan.c (nan): Likewise.
15028 * libm/common/s_nanf.c (nanf, nan): Likewise.
15029 * libc/sys/linux/cmath/math_private.h (nan, nanf): Likewise.
15031 2003-07-07 Jeff Johnston <jjohnstn@redhat.com>
15033 * libc/include/stdbool.h: Removed as this is defined by gcc.
15035 2003-07-03 Shaun Jackman <sjackman@pathwayconnect.com>
15037 * libc/include/stdbool.h: New header file defined by C99.
15039 2003-07-02 Jeff Johnston <jjohnstn@redhat.com>
15041 * libc/include/sys/types.h (int8_t): Make signed.
15043 2003-07-02 Jeff Johnston <jjohnstn@redhat.com>
15045 * libc/sys/linux/include/mqueue.h: Add include of <sys/fcntl.h>.
15047 2003-06-27 Jose Goncalves <jose.goncalves@inov.pt>
15049 * libc/sys/linux/mq_open.c (mq_open): Only set created flag
15050 on if we actually created the shared memory file exclusively.
15052 2003-06-27 Joe Vornehm <joev@mitre.org>
15054 * libm/common/s_fpclassify.c (__fpclassifyf): Fix
15055 comparisons to account for unsigned internal value w.
15057 2003-06-26 Jeff Johnston <jjohnstn@redhat.com>
15059 * libc/sys/linux/mq_open.c (mq_open): Must allocate rdbuf and
15060 wrbuf for a non-creating open.
15062 2003-06-24 Kazu Hirata <kazu@cs.umass.edu>
15064 * libc/machine/h8300/setarch.h: New.
15065 * libc/machine/h8300/memcpy.S: Use it.
15066 * libc/machine/h8300/memset.S: Likewise.
15067 * libc/machine/h8300/reg_memcpy.S: Likewise.
15068 * libc/machine/h8300/reg_memset.S: Likewise.
15069 * libc/machine/h8300/setjmp.S: Likewise.
15070 * libc/machine/h8300/strcmp.S: Likewise.
15072 2003-06-24 Richard Sandiford <rsandifo@redhat.com>
15074 * libc/sys/h8300hms/crt0.S (_start): Fix register sizes in call
15077 2003-06-20 Jeff Johnston <jjohnstn@redhat.com>
15079 * configure.host (iq2000): Add tabs.
15081 2003-06-20 Jeff Johnston <jjohnstn@redhat.com>
15083 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix macros
15084 to handle latest on_exit change.
15085 * libc/sys/linux/Makefile.am: Remove special compilation
15086 for malloc.c and mcheck.c.
15087 * libc/sys/linux/Makefile.in: Regenerated.
15088 * libc/sys/linux/mntent.c: Add definition of _LIBC flag
15089 after including <features.h>.
15090 * libc/sys/linux/mcheck.c: Ditto.
15091 * libc/sys/linux/malloc.c: Ditto plus define _GNU_SOURCE
15093 * libc/sys/linux/intl/Makefile.am: Remove -D_LIBC and
15094 add -DNOT_IN_libc to C flags.
15095 * libc/sys/linux/intl/Makefile.in: Regenerated.
15096 * libc/sys/linux/intl/config.h: Add definition of _LIBC.
15097 * libc/sys/linux/linuxthreads/semaphore.h: Include
15098 <bits/pthreadtypes.h>.
15099 * libc/sys/linux/sys/dirent.h: Define _LIBC and NOT_IN_libc after
15100 including <features.h>.
15101 * libc/sys/linux/sys/lock.h: Ditto.
15103 2003-06-11 Nick Clifton <nickc@redhat.com>
15105 * libc/reent/reent.c (reclaim_reent): Fix typo in code to free
15108 2003-06-10 Stan Cox <scox@redhat.com>
15109 Anthony Green <green@redhat.com>
15111 * configure.host: Add iq2000 support.
15112 * newlib/libc/include/machine/ieeefp.h: Ditto.
15113 * newlib/libc/include/machine/setjmp.h: Ditto.
15114 * libc/machine/iq2000, libc/machine/iq2000/setjmp.S,
15115 libc/machine/iq2000/aclocal.m4, libc/machine/iq2000/configure,
15116 libc/machine/iq2000/configure.in, libc/machine/iq2000/Makefile.am,
15117 libc/machine/iq2000/Makefile.in: New files.
15119 2003-06-10 Richard Sandiford <rsandifo@redhat.com>
15121 * libc/sys/h8300hms/setarch.h: New file.
15122 * libc/sys/h8300hms/close.S, libc/sys/h8300hms/fstat.S,
15123 libc/sys/h8300hms/lseek.S, libc/sys/h8300hms/open.S,
15124 libc/sys/h8300hms/read.S, libc/sys/h8300hms/stat.S,
15125 libc/sys/h8300hms/write.S, libc/sys/h8300hms/crt0.S: Use it.
15127 2003-06-06 Jeff Johnston <jjohnstn@redhat.com>
15129 * libc/argz/argz_add.c: Change to use _DEFUN macro for function
15131 * libc/argz/argz_add_sep.c: Ditto.
15132 * libc/argz/argz_append.c libc/argz/argz_count.c: Ditto.
15133 * libc/argz/argz_create.c libc/argz/argz_create_sep.c: Ditto.
15134 * libc/argz/argz_delete.c libc/argz/argz_extract.c: Ditto.
15135 * libc/argz/argz_insert.c libc/argz/argz_next.c: Ditto.
15136 * libc/argz/argz_replace.c libc/argz/argz_stringify.c: Ditto.
15137 * libc/argz/envz_add.c libc/argz/envz_entry.c: Ditto.
15138 * libc/argz/envz_get.c libc/argz/envz_merge.c: Ditto.
15139 * libc/argz/envz_remove.c libc/argz/envz_strip.c: Ditto.
15140 * libc/locale/nl_langinfo.c libc/misc/ffs.c: Ditto.
15141 * libc/posix/closedir.c libc/posix/creat.c: Ditto.
15142 * libc/posix/execl.c libc/posix/execle.c: Ditto.
15143 * libc/posix/execlp.c libc/posix/execve.c: Ditto.
15144 * libc/posix/isatty.c libc/posix/opendir.c: Ditto.
15145 * libc/posix/popen.c libc/posix/readdir.c: Ditto.
15146 * libc/posix/readdir_r.c libc/posix/rewinddir.c: Ditto.
15147 * libc/posix/scandir.c libc/posix/seekdir.c: Ditto.
15148 * libc/posix/telldir.c libc/search/hcreate.c: Ditto.
15149 * libc/search/tdelete.c libc/search/tdestroy.c: Ditto.
15150 * libc/search/tfind.c libc/search/tsearch.c: Ditto.
15151 * libc/search/twalk.c libc/signal/signal.c: Ditto.
15153 2003-06-05 Nick Clifton <nickc@redhat.com>
15155 * libc/include/sys/reent.h (struct _on_exit_args): New
15156 structure containing fields used by the on_exit() function.
15157 (struct _atexit): Include struct _on_exit_args. For
15158 _REENT_SMALL do his via a pointer that is initialised when
15160 * libc/reent/reent.c (_reclaim_reent): Free the _on_exit_args
15161 structure, if one has been allocated.
15162 * libc/stdlib/atexit.c (atexit): Update indirection to
15164 * libc/stdlib/on_exit.c (on_exit): Indirect via the
15165 _on_exit_args structure. For _REENT_SMALL, allocate a
15166 structure if one does not exist.
15167 * libc/stdlib/exit.c (exit): Indirect via the _on_exit_args
15170 2003-06-04 Jeff Johnston <jjohnstn@redhat.com>
15172 * libc/sys/linux/net/Makefile.am: Remove extraneous markers.
15173 * libc/sys/linux/net/Makefile.in: Regenerated.
15175 2003-06-03 Jeff Johnston <jjohnstn@redhat.com>
15177 * libc/reent/execr.c: Use _DEFUN macro for function declaration.
15178 * libc/reent/fcntlr.c: Ditto.
15179 * libc/reent/fstat64r.c: Ditto.
15180 * libc/reent/linkr.c: Ditto.
15181 * libc/reent/lseek64r.c: Ditto.
15182 * libc/reent/lseekr.c: Ditto.
15183 * libc/reent/openr.c: Ditto.
15184 * libc/reent/readr.c: Ditto.
15185 * libc/reent/reent.c: Ditto.
15186 * libc/reent/sbrkr.c: Ditto.
15187 * libc/reent/signalr.c: Ditto.
15188 * libc/reent/signgam.c: Ditto.
15189 * libc/reent/statr.c: Ditto.
15190 * libc/reent/timer.c: Ditto.
15191 * libc/reent/unlinkr.c: Ditto.
15192 * libc/reent/writer.c: Ditto.
15193 * libc/syscalls/sysclose.c: Ditto.
15194 * libc/syscalls/sysexecve.c: Ditto.
15195 * libc/syscalls/sysfcntl.c: Ditto.
15196 * libc/syscalls/sysfork.c: Ditto.
15197 * libc/syscalls/sysfstat.c: Ditto.
15198 * libc/syscalls/sysgetpid.c: Ditto.
15199 * libc/syscalls/sysgettod.c: Ditto.
15200 * libc/syscalls/syskill.c: Ditto.
15201 * libc/syscalls/syslink.c: Ditto.
15202 * libc/syscalls/syslseek.c: Ditto.
15203 * libc/syscalls/sysopen.c: Ditto.
15204 * libc/syscalls/sysread.c: Ditto.
15205 * libc/syscalls/syssbrk.c: Ditto.
15206 * libc/syscalls/sysstat.c: Ditto.
15207 * libc/syscalls/systimes.c: Ditto.
15208 * libc/syscalls/sysunlink.c: Ditto.
15209 * libc/syscalls/syswait.c: Ditto.
15210 * libc/syscalls/syswrite.c: Ditto.
15212 2003-06-03 Till Straumann <strauman@SLAC.Stanford.EDU>
15214 * libc/time/tzset_r.c: Change local variables that are
15215 set via sscanf using the %h format specifier to be unsigned short
15218 2003-05-30 Kelley Cook <kelleycook@wideopenwest.com>
15220 * configure.host: Allow i[34567]86 variant.
15221 * configure.in: Likewise.
15222 * README: Likewise to the docs.
15223 * configure: Regenerated.
15224 * Makefile.in: Ditto.
15226 2003-05-28 Jeff Johnston <jjohnstn@redhat.com>
15227 Tom Fitzsimmons <fitzsim@redhat.com>
15229 * configure.in: Add iconvdata support for x86 linux.
15230 * configure: Regenerated.
15231 * libc/sys/linux/Makefile.am: Add EL/IX level 3 network, dynamic
15232 library, iconv, and linuxthreads support.
15233 * libc/sys/linux/configure.in: Ditto.
15234 * libc/sys/linux/Makefile.in: Regenerated.
15235 * libc/sys/linux/configure: Ditto.
15236 * iconvdata/EUC-JP.irreversible: New file.
15237 * iconvdata/Makefile.am: Ditto.
15238 * iconvdata/Makefile.in: Ditto.
15239 * iconvdata/SJIS.irreversible: Ditto.
15240 * iconvdata/aclocal.m4: Ditto.
15241 * iconvdata/configure: Ditto.
15242 * iconvdata/configure.in: Ditto.
15243 * iconvdata/dummy.c: Ditto.
15244 * iconvdata/euc-jp.c: Ditto.
15245 * iconvdata/gconv-modules: Ditto.
15246 * iconvdata/jis0201.c: Ditto.
15247 * iconvdata/jis0201.h: Ditto.
15248 * iconvdata/jis0208.c: Ditto.
15249 * iconvdata/jis0208.h: Ditto.
15250 * iconvdata/jis0212.c: Ditto.
15251 * iconvdata/jis0212.h: Ditto.
15252 * iconvdata/sjis.c: Ditto.
15253 * libc/include/errno.h: Protect definition of error_t.
15254 * libc/sys/linux/gethostid.c: New file.
15255 * libc/sys/linux/sethostid.c: Ditto.
15256 * libc/sys/linux/dl/Makefile.am: Ditto.
15257 * libc/sys/linux/dl/Makefile.in: Ditto.
15258 * libc/sys/linux/dl/abi-tag.h: Ditto.
15259 * libc/sys/linux/dl/atomicity.h: Ditto.
15260 * libc/sys/linux/dl/dl-addr.c: Ditto.
15261 * libc/sys/linux/dl/dl-cache.c: Ditto.
15262 * libc/sys/linux/dl/dl-cache.h: Ditto.
15263 * libc/sys/linux/dl/dl-close.c: Ditto.
15264 * libc/sys/linux/dl/dl-debug.c: Ditto.
15265 * libc/sys/linux/dl/dl-deps.c: Ditto.
15266 * libc/sys/linux/dl/dl-dst.h: Ditto.
15267 * libc/sys/linux/dl/dl-error.c: Ditto.
15268 * libc/sys/linux/dl/dl-fini.c: Ditto.
15269 * libc/sys/linux/dl/dl-init.c: Ditto.
15270 * libc/sys/linux/dl/dl-iteratephdr.c: Ditto.
15271 * libc/sys/linux/dl/dl-libc.c: Ditto.
15272 * libc/sys/linux/dl/dl-librecon.h: Ditto.
15273 * libc/sys/linux/dl/dl-load.c: Ditto.
15274 * libc/sys/linux/dl/dl-lookup.c: Ditto.
15275 * libc/sys/linux/dl/dl-lookupcfg.h: Ditto.
15276 * libc/sys/linux/dl/dl-minimal.c: Ditto.
15277 * libc/sys/linux/dl/dl-misc.c: Ditto.
15278 * libc/sys/linux/dl/dl-object.c: Ditto.
15279 * libc/sys/linux/dl/dl-open.c: Ditto.
15280 * libc/sys/linux/dl/dl-osinfo.h: Ditto.
15281 * libc/sys/linux/dl/dl-profile.c: Ditto.
15282 * libc/sys/linux/dl/dl-profstub.c: Ditto.
15283 * libc/sys/linux/dl/dl-reloc.c: Ditto.
15284 * libc/sys/linux/dl/dl-runtime.c: Ditto.
15285 * libc/sys/linux/dl/dl-support.c: Ditto.
15286 * libc/sys/linux/dl/dl-sym.c: Ditto.
15287 * libc/sys/linux/dl/dl-version.c: Ditto.
15288 * libc/sys/linux/dl/dlfcn.h: Ditto.
15289 * libc/sys/linux/dl/do-lookup.h: Ditto.
15290 * libc/sys/linux/dl/do-rel.h: Ditto.
15291 * libc/sys/linux/dl/dynamic-link.h: Ditto.
15292 * libc/sys/linux/dl/kernel-features.h: Ditto.
15293 * libc/sys/linux/dl/ldsodefs.h: Ditto.
15294 * libc/sys/linux/dl/libintl.h: Ditto.
15295 * libc/sys/linux/dl/trusted-dirs.h: Ditto.
15296 * libc/sys/linux/dl/unsecvars.h: Ditto.
15297 * libc/sys/linux/iconv/Makefile.am: Ditto.
15298 * libc/sys/linux/iconv/Makefile.in: Ditto.
15299 * libc/sys/linux/iconv/categories.def: Ditto.
15300 * libc/sys/linux/iconv/dummy-repertoire.c: Ditto.
15301 * libc/sys/linux/iconv/gconv.c: Ditto.
15302 * libc/sys/linux/iconv/gconv_builtin.c: Ditto.
15303 * libc/sys/linux/iconv/gconv_builtin.h: Ditto.
15304 * libc/sys/linux/iconv/gconv_cache.c: Ditto.
15305 * libc/sys/linux/iconv/gconv_charset.h: Ditto.
15306 * libc/sys/linux/iconv/gconv_close.c: Ditto.
15307 * libc/sys/linux/iconv/gconv_conf.c: Ditto.
15308 * libc/sys/linux/iconv/gconv_db.c: Ditto.
15309 * libc/sys/linux/iconv/gconv_dl.c: Ditto.
15310 * libc/sys/linux/iconv/gconv_int.h: Ditto.
15311 * libc/sys/linux/iconv/gconv_open.c: Ditto.
15312 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
15313 * libc/sys/linux/iconv/gconv_trans.c: Ditto.
15314 * libc/sys/linux/iconv/hash-string.h: Ditto.
15315 * libc/sys/linux/iconv/iconv.c: Ditto.
15316 * libc/sys/linux/iconv/iconv.h: Ditto.
15317 * libc/sys/linux/iconv/iconv_charmap.c: Ditto.
15318 * libc/sys/linux/iconv/iconv_close.c: Ditto.
15319 * libc/sys/linux/iconv/iconv_open.c: Ditto.
15320 * libc/sys/linux/iconv/iconvconfig.c: Ditto.
15321 * libc/sys/linux/iconv/iconvconfig.h: Ditto.
15322 * libc/sys/linux/iconv/loadinfo.h: Ditto.
15323 * libc/sys/linux/iconv/localeinfo.h: Ditto.
15324 * libc/sys/linux/iconv/loop.c: Ditto.
15325 * libc/sys/linux/iconv/skeleton.c: Ditto.
15326 * libc/sys/linux/iconv/strtab.c: Ditto.
15327 * libc/sys/linux/include/dl-hash.h: Ditto.
15328 * libc/sys/linux/include/dlfcn.h: Ditto.
15329 * libc/sys/linux/include/fnmatch.h: Ditto.
15330 * libc/sys/linux/include/gconv.h: Ditto.
15331 * libc/sys/linux/include/glob.h: Ditto.
15332 * libc/sys/linux/include/hesiod.h: Ditto.
15333 * libc/sys/linux/include/ifaddrs.h: Ditto.
15334 * libc/sys/linux/include/libc_private.h: Ditto.
15335 * libc/sys/linux/include/link.h: Ditto.
15336 * libc/sys/linux/include/namespace.h: Ditto.
15337 * libc/sys/linux/include/netconfig.h: Ditto.
15338 * libc/sys/linux/include/netdb.h: Ditto.
15339 * libc/sys/linux/include/nsswitch.h: Ditto.
15340 * libc/sys/linux/include/regex.h: Ditto.
15341 * libc/sys/linux/include/resolv.h: Ditto.
15342 * libc/sys/linux/include/rune.h: Ditto.
15343 * libc/sys/linux/include/runetype.h: Ditto.
15344 * libc/sys/linux/include/semaphore.h: Ditto.
15345 * libc/sys/linux/include/setlocale.h: Ditto.
15346 * libc/sys/linux/include/un-namespace.h: Ditto.
15347 * libc/sys/linux/include/wordexp.h: Ditto.
15348 * libc/sys/linux/include/arpa/ftp.h: Ditto.
15349 * libc/sys/linux/include/arpa/inet.h: Ditto.
15350 * libc/sys/linux/include/arpa/nameser.h: Ditto.
15351 * libc/sys/linux/include/arpa/nameser_compat.h: Ditto.
15352 * libc/sys/linux/include/arpa/telnet.h: Ditto.
15353 * libc/sys/linux/include/arpa/tftp.h: Ditto.
15354 * libc/sys/linux/include/net/bpf.h: Ditto.
15355 * libc/sys/linux/include/net/bpf_compat.h: Ditto.
15356 * libc/sys/linux/include/net/bpfdesc.h: Ditto.
15357 * libc/sys/linux/include/net/bridge.h: Ditto.
15358 * libc/sys/linux/include/net/ethernet.h: Ditto.
15359 * libc/sys/linux/include/net/fddi.h: Ditto.
15360 * libc/sys/linux/include/net/if.h: Ditto.
15361 * libc/sys/linux/include/net/if_arc.h: Ditto.
15362 * libc/sys/linux/include/net/if_arp.h: Ditto.
15363 * libc/sys/linux/include/net/if_atm.h: Ditto.
15364 * libc/sys/linux/include/net/if_dl.h: Ditto.
15365 * libc/sys/linux/include/net/if_gif.h: Ditto.
15366 * libc/sys/linux/include/net/if_ieee80211.h: Ditto.
15367 * libc/sys/linux/include/net/if_llc.h: Ditto.
15368 * libc/sys/linux/include/net/if_media.h: Ditto.
15369 * libc/sys/linux/include/net/if_mib.h: Ditto.
15370 * libc/sys/linux/include/net/if_ppp.h: Ditto.
15371 * libc/sys/linux/include/net/if_pppvar.h: Ditto.
15372 * libc/sys/linux/include/net/if_slvar.h: Ditto.
15373 * libc/sys/linux/include/net/if_sppp.h: Ditto.
15374 * libc/sys/linux/include/net/if_stf.h: Ditto.
15375 * libc/sys/linux/include/net/if_tap.h: Ditto.
15376 * libc/sys/linux/include/net/if_tapvar.h: Ditto.
15377 * libc/sys/linux/include/net/if_tun.h: Ditto.
15378 * libc/sys/linux/include/net/if_tunvar.h: Ditto.
15379 * libc/sys/linux/include/net/if_types.h: Ditto.
15380 * libc/sys/linux/include/net/if_var.h: Ditto.
15381 * libc/sys/linux/include/net/if_vlan_var.h: Ditto.
15382 * libc/sys/linux/include/net/intrq.h: Ditto.
15383 * libc/sys/linux/include/net/iso88025.h: Ditto.
15384 * libc/sys/linux/include/net/net_osdep.h: Ditto.
15385 * libc/sys/linux/include/net/netisr.h: Ditto.
15386 * libc/sys/linux/include/net/pfil.h: Ditto.
15387 * libc/sys/linux/include/net/pfkeyv2.h: Ditto.
15388 * libc/sys/linux/include/net/ppp_comp.h: Ditto.
15389 * libc/sys/linux/include/net/ppp_defs.h: Ditto.
15390 * libc/sys/linux/include/net/radix.h: Ditto.
15391 * libc/sys/linux/include/net/raw_cb.h: Ditto.
15392 * libc/sys/linux/include/net/route.h: Ditto.
15393 * libc/sys/linux/include/net/slcompress.h: Ditto.
15394 * libc/sys/linux/include/net/slip.h: Ditto.
15395 * libc/sys/linux/include/net/zlib.h: Ditto.
15396 * libc/sys/linux/include/netinet/icmp6.h: Ditto.
15397 * libc/sys/linux/include/netinet/icmp_var.h: Ditto.
15398 * libc/sys/linux/include/netinet/if_atm.h: Ditto.
15399 * libc/sys/linux/include/netinet/if_ether.h: Ditto.
15400 * libc/sys/linux/include/netinet/igmp.h: Ditto.
15401 * libc/sys/linux/include/netinet/igmp_var.h: Ditto.
15402 * libc/sys/linux/include/netinet/in.h: Ditto.
15403 * libc/sys/linux/include/netinet/in_gif.h: Ditto.
15404 * libc/sys/linux/include/netinet/in_pcb.h: Ditto.
15405 * libc/sys/linux/include/netinet/in_systm.h: Ditto.
15406 * libc/sys/linux/include/netinet/in_var.h: Ditto.
15407 * libc/sys/linux/include/netinet/ip.h: Ditto.
15408 * libc/sys/linux/include/netinet/ip6.h: Ditto.
15409 * libc/sys/linux/include/netinet/ip_dummynet.h: Ditto.
15410 * libc/sys/linux/include/netinet/ip_ecn.h: Ditto.
15411 * libc/sys/linux/include/netinet/ip_encap.h: Ditto.
15412 * libc/sys/linux/include/netinet/ip_flow.h: Ditto.
15413 * libc/sys/linux/include/netinet/ip_fw.h: Ditto.
15414 * libc/sys/linux/include/netinet/ip_icmp.h: Ditto.
15415 * libc/sys/linux/include/netinet/ip_mroute.h: Ditto.
15416 * libc/sys/linux/include/netinet/ip_var.h: Ditto.
15417 * libc/sys/linux/include/netinet/ipprotosw.h: Ditto.
15418 * libc/sys/linux/include/netinet/tcp.h: Ditto.
15419 * libc/sys/linux/include/netinet/tcp_debug.h: Ditto.
15420 * libc/sys/linux/include/netinet/tcp_fsm.h: Ditto.
15421 * libc/sys/linux/include/netinet/tcp_seq.h: Ditto.
15422 * libc/sys/linux/include/netinet/tcp_timer.h: Ditto.
15423 * libc/sys/linux/include/netinet/tcp_var.h: Ditto.
15424 * libc/sys/linux/include/netinet/tcpip.h: Ditto.
15425 * libc/sys/linux/include/netinet/udp.h: Ditto.
15426 * libc/sys/linux/include/netinet/udp_var.h: Ditto.
15427 * libc/sys/linux/include/netinet6/ah.h: Ditto.
15428 * libc/sys/linux/include/netinet6/ah6.h: Ditto.
15429 * libc/sys/linux/include/netinet6/esp.h: Ditto.
15430 * libc/sys/linux/include/netinet6/esp6.h: Ditto.
15431 * libc/sys/linux/include/netinet6/esp_rijndael.h: Ditto.
15432 * libc/sys/linux/include/netinet6/icmp6.h: Ditto.
15433 * libc/sys/linux/include/netinet6/in6.h: Ditto.
15434 * libc/sys/linux/include/netinet6/in6_gif.h: Ditto.
15435 * libc/sys/linux/include/netinet6/in6_ifattach.h: Ditto.
15436 * libc/sys/linux/include/netinet6/in6_pcb.h: Ditto.
15437 * libc/sys/linux/include/netinet6/in6_prefix.h: Ditto.
15438 * libc/sys/linux/include/netinet6/in6_var.h: Ditto.
15439 * libc/sys/linux/include/netinet6/ip6.h: Ditto.
15440 * libc/sys/linux/include/netinet6/ip6_ecn.h: Ditto.
15441 * libc/sys/linux/include/netinet6/ip6_fw.h: Ditto.
15442 * libc/sys/linux/include/netinet6/ip6_mroute.h: Ditto.
15443 * libc/sys/linux/include/netinet6/ip6_var.h: Ditto.
15444 * libc/sys/linux/include/netinet6/ip6protosw.h: Ditto.
15445 * libc/sys/linux/include/netinet6/ipcomp.h: Ditto.
15446 * libc/sys/linux/include/netinet6/ipcomp6.h: Ditto.
15447 * libc/sys/linux/include/netinet6/ipsec.h: Ditto.
15448 * libc/sys/linux/include/netinet6/ipsec6.h: Ditto.
15449 * libc/sys/linux/include/netinet6/mld6_var.h: Ditto.
15450 * libc/sys/linux/include/netinet6/nd6.h: Ditto.
15451 * libc/sys/linux/include/netinet6/pim6.h: Ditto.
15452 * libc/sys/linux/include/netinet6/pim6_var.h: Ditto.
15453 * libc/sys/linux/include/netinet6/raw_ip6.h: Ditto.
15454 * libc/sys/linux/include/netinet6/scope6_var.h: Ditto.
15455 * libc/sys/linux/include/netinet6/tcp6_var.h: Ditto.
15456 * libc/sys/linux/include/netinet6/udp6_var.h: Ditto.
15457 * libc/sys/linux/include/netns/idp.h: Ditto.
15458 * libc/sys/linux/include/netns/idp_var.h: Ditto.
15459 * libc/sys/linux/include/netns/ns.h: Ditto.
15460 * libc/sys/linux/include/netns/ns_error.h: Ditto.
15461 * libc/sys/linux/include/netns/ns_if.h: Ditto.
15462 * libc/sys/linux/include/netns/ns_pcb.h: Ditto.
15463 * libc/sys/linux/include/netns/sp.h: Ditto.
15464 * libc/sys/linux/include/netns/spidp.h: Ditto.
15465 * libc/sys/linux/include/netns/spp_debug.h: Ditto.
15466 * libc/sys/linux/include/netns/spp_timer.h: Ditto.
15467 * libc/sys/linux/include/netns/spp_var.h: Ditto.
15468 * libc/sys/linux/include/rpc/Makefile: Ditto.
15469 * libc/sys/linux/include/rpc/auth.h: Ditto.
15470 * libc/sys/linux/include/rpc/auth_des.h: Ditto.
15471 * libc/sys/linux/include/rpc/auth_kerb.h: Ditto.
15472 * libc/sys/linux/include/rpc/auth_unix.h: Ditto.
15473 * libc/sys/linux/include/rpc/clnt.h: Ditto.
15474 * libc/sys/linux/include/rpc/clnt_soc.h: Ditto.
15475 * libc/sys/linux/include/rpc/clnt_stat.h: Ditto.
15476 * libc/sys/linux/include/rpc/des.h: Ditto.
15477 * libc/sys/linux/include/rpc/des_crypt.h: Ditto.
15478 * libc/sys/linux/include/rpc/nettype.h: Ditto.
15479 * libc/sys/linux/include/rpc/pmap_clnt.h: Ditto.
15480 * libc/sys/linux/include/rpc/pmap_prot.h: Ditto.
15481 * libc/sys/linux/include/rpc/pmap_rmt.h: Ditto.
15482 * libc/sys/linux/include/rpc/raw.h: Ditto.
15483 * libc/sys/linux/include/rpc/rpc.h: Ditto.
15484 * libc/sys/linux/include/rpc/rpc_com.h: Ditto.
15485 * libc/sys/linux/include/rpc/rpc_msg.h: Ditto.
15486 * libc/sys/linux/include/rpc/rpcb_clnt.h: Ditto.
15487 * libc/sys/linux/include/rpc/rpcb_prot.h: Ditto.
15488 * libc/sys/linux/include/rpc/rpcb_prot.x: Ditto.
15489 * libc/sys/linux/include/rpc/rpcent.h: Ditto.
15490 * libc/sys/linux/include/rpc/svc.h: Ditto.
15491 * libc/sys/linux/include/rpc/svc_auth.h: Ditto.
15492 * libc/sys/linux/include/rpc/svc_dg.h: Ditto.
15493 * libc/sys/linux/include/rpc/svc_soc.h: Ditto.
15494 * libc/sys/linux/include/rpc/types.h: Ditto.
15495 * libc/sys/linux/include/rpc/xdr.h: Ditto.
15496 * libc/sys/linux/intl/Makefile.am: Ditto.
15497 * libc/sys/linux/intl/Makefile.in: Ditto.
15498 * libc/sys/linux/intl/bindtextdom.c: Ditto.
15499 * libc/sys/linux/intl/catgets.c: Ditto.
15500 * libc/sys/linux/intl/catgetsinfo.h: Ditto.
15501 * libc/sys/linux/intl/config.h: Ditto.
15502 * libc/sys/linux/intl/dcgettext.c: Ditto.
15503 * libc/sys/linux/intl/dcigettext.c: Ditto.
15504 * libc/sys/linux/intl/dcngettext.c: Ditto.
15505 * libc/sys/linux/intl/dgettext.c: Ditto.
15506 * libc/sys/linux/intl/dngettext.c: Ditto.
15507 * libc/sys/linux/intl/explodename.c: Ditto.
15508 * libc/sys/linux/intl/finddomain.c: Ditto.
15509 * libc/sys/linux/intl/gettext.c: Ditto.
15510 * libc/sys/linux/intl/gettext.h: Ditto.
15511 * libc/sys/linux/intl/gettextP.h: Ditto.
15512 * libc/sys/linux/intl/hash-string.h: Ditto.
15513 * libc/sys/linux/intl/l10nflist.c: Ditto.
15514 * libc/sys/linux/intl/loadinfo.h: Ditto.
15515 * libc/sys/linux/intl/loadmsgcat.c: Ditto.
15516 * libc/sys/linux/intl/locale.alias: Ditto.
15517 * libc/sys/linux/intl/localealias.c: Ditto.
15518 * libc/sys/linux/intl/ngettext.c: Ditto.
15519 * libc/sys/linux/intl/open_catalog.c: Ditto.
15520 * libc/sys/linux/intl/plural.c: Ditto.
15521 * libc/sys/linux/intl/plural.y: Ditto.
15522 * libc/sys/linux/intl/stpcpy.c: Ditto.
15523 * libc/sys/linux/intl/textdomain.c: Ditto.
15524 * libc/sys/linux/linuxthreads/LICENSE: Ditto.
15525 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
15526 * libc/sys/linux/linuxthreads/Makefile.in: Ditto.
15527 * libc/sys/linux/linuxthreads/aclocal.m4: Ditto.
15528 * libc/sys/linux/linuxthreads/attr.c: Ditto.
15529 * libc/sys/linux/linuxthreads/barrier.c: Ditto.
15530 * libc/sys/linux/linuxthreads/bp-sym.h: Ditto.
15531 * libc/sys/linux/linuxthreads/cancel.c: Ditto.
15532 * libc/sys/linux/linuxthreads/condvar.c: Ditto.
15533 * libc/sys/linux/linuxthreads/config.h: Ditto.
15534 * libc/sys/linux/linuxthreads/configure: Ditto.
15535 * libc/sys/linux/linuxthreads/configure.in: Ditto.
15536 * libc/sys/linux/linuxthreads/defs.awk: Ditto.
15537 * libc/sys/linux/linuxthreads/ecmutex.c: Ditto.
15538 * libc/sys/linux/linuxthreads/events.c: Ditto.
15539 * libc/sys/linux/linuxthreads/getcpuclockid.c: Ditto.
15540 * libc/sys/linux/linuxthreads/getreent.c: Ditto.
15541 * libc/sys/linux/linuxthreads/internals.h: Ditto.
15542 * libc/sys/linux/linuxthreads/join.c: Ditto.
15543 * libc/sys/linux/linuxthreads/joinrace.c: Ditto.
15544 * libc/sys/linux/linuxthreads/kernel-features.h: Ditto.
15545 * libc/sys/linux/linuxthreads/libc-internal.h: Ditto.
15546 * libc/sys/linux/linuxthreads/libc-symbols.h: Ditto.
15547 * libc/sys/linux/linuxthreads/linuxthreads.texi: Ditto.
15548 * libc/sys/linux/linuxthreads/lockfile.c: Ditto.
15549 * libc/sys/linux/linuxthreads/manager.c: Ditto.
15550 * libc/sys/linux/linuxthreads/mq_notify.c: Ditto.
15551 * libc/sys/linux/linuxthreads/mutex.c: Ditto.
15552 * libc/sys/linux/linuxthreads/no-tsd.c: Ditto.
15553 * libc/sys/linux/linuxthreads/oldsemaphore.c: Ditto.
15554 * libc/sys/linux/linuxthreads/posix-timer.h: Ditto.
15555 * libc/sys/linux/linuxthreads/prio.c: Ditto.
15556 * libc/sys/linux/linuxthreads/proc_service.h: Ditto.
15557 * libc/sys/linux/linuxthreads/pt-machine.c: Ditto.
15558 * libc/sys/linux/linuxthreads/ptclock_gettime.c: Ditto.
15559 * libc/sys/linux/linuxthreads/ptclock_settime.c: Ditto.
15560 * libc/sys/linux/linuxthreads/ptfork.c: Ditto.
15561 * libc/sys/linux/linuxthreads/pthread.c: Ditto.
15562 * libc/sys/linux/linuxthreads/ptlongjmp.c: Ditto.
15563 * libc/sys/linux/linuxthreads/queue.h: Ditto.
15564 * libc/sys/linux/linuxthreads/reent.c: Ditto.
15565 * libc/sys/linux/linuxthreads/reqsyscalls.c: Ditto.
15566 * libc/sys/linux/linuxthreads/restart.h: Ditto.
15567 * libc/sys/linux/linuxthreads/rwlock.c: Ditto.
15568 * libc/sys/linux/linuxthreads/semaphore.c: Ditto.
15569 * libc/sys/linux/linuxthreads/semaphore.h: Ditto.
15570 * libc/sys/linux/linuxthreads/shlib-compat.h: Ditto.
15571 * libc/sys/linux/linuxthreads/signals.c: Ditto.
15572 * libc/sys/linux/linuxthreads/specific.c: Ditto.
15573 * libc/sys/linux/linuxthreads/spinlock.c: Ditto.
15574 * libc/sys/linux/linuxthreads/spinlock.h: Ditto.
15575 * libc/sys/linux/linuxthreads/sysctl.c: Ditto.
15576 * libc/sys/linux/linuxthreads/td_init.c: Ditto.
15577 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
15578 * libc/sys/linux/linuxthreads/td_symbol_list.c: Ditto.
15579 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
15580 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
15581 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
15582 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
15583 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
15584 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
15585 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
15586 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
15587 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
15588 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
15589 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
15590 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
15591 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
15592 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
15593 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
15594 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
15595 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
15596 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
15597 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
15598 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
15599 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
15600 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
15601 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
15602 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
15603 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
15604 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
15605 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
15606 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
15607 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
15608 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
15609 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
15610 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
15611 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
15612 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
15613 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
15614 * libc/sys/linux/linuxthreads/testrtsig.h: Ditto.
15615 * libc/sys/linux/linuxthreads/thread_db.h: Ditto.
15616 * libc/sys/linux/linuxthreads/thread_dbP.h: Ditto.
15617 * libc/sys/linux/linuxthreads/timer_create.c: Ditto.
15618 * libc/sys/linux/linuxthreads/timer_delete.c: Ditto.
15619 * libc/sys/linux/linuxthreads/timer_getoverr.c: Ditto.
15620 * libc/sys/linux/linuxthreads/timer_gettime.c: Ditto.
15621 * libc/sys/linux/linuxthreads/timer_routines.c: Ditto.
15622 * libc/sys/linux/linuxthreads/timer_settime.c: Ditto.
15623 * libc/sys/linux/linuxthreads/tst-cancel.c: Ditto.
15624 * libc/sys/linux/linuxthreads/tst-context.c: Ditto.
15625 * libc/sys/linux/linuxthreads/tststack.c: Ditto.
15626 * libc/sys/linux/linuxthreads/unload.c: Ditto.
15627 * libc/sys/linux/linuxthreads/weaks.c: Ditto.
15628 * libc/sys/linux/linuxthreads/wrapsyscall.c: Ditto.
15629 * libc/sys/linux/linuxthreads/bits/initspin.h: Ditto.
15630 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Ditto.
15631 * libc/sys/linux/linuxthreads/bits/libc-tsd.h: Ditto.
15632 * libc/sys/linux/linuxthreads/bits/local_lim.h: Ditto.
15633 * libc/sys/linux/linuxthreads/bits/posix_opt.h: Ditto.
15634 * libc/sys/linux/linuxthreads/bits/pthreadtypes.h: Ditto.
15635 * libc/sys/linux/linuxthreads/bits/sigthread.h: Ditto.
15636 * libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
15637 * libc/sys/linux/linuxthreads/machine/Makefile.in: Ditto.
15638 * libc/sys/linux/linuxthreads/machine/aclocal.m4: Ditto.
15639 * libc/sys/linux/linuxthreads/machine/configure: Ditto.
15640 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
15641 * libc/sys/linux/linuxthreads/machine/generic/generic-sysd: Ditto.ep.h
15642 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
15643 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Ditto.
15644 * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Ditto.
15645 * libc/sys/linux/linuxthreads/machine/i386/bp-asm.h: Ditto.
15646 * libc/sys/linux/linuxthreads/machine/i386/clone.S: Ditto.
15647 * libc/sys/linux/linuxthreads/machine/i386/configure: Ditto.
15648 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
15649 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.S: Ditto.
15650 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.h: Ditto.
15651 * libc/sys/linux/linuxthreads/machine/i386/pspinlock.c: Ditto.
15652 * libc/sys/linux/linuxthreads/machine/i386/pt-machine.h: Ditto.
15653 * libc/sys/linux/linuxthreads/machine/i386/sigcontextinfo.h: Ditto.
15654 * libc/sys/linux/linuxthreads/machine/i386/stackinfo.h: Ditto.
15655 * libc/sys/linux/linuxthreads/machine/i386/sysdep.S: Ditto.
15656 * libc/sys/linux/linuxthreads/machine/i386/sysdep.h: Ditto.
15657 * libc/sys/linux/linuxthreads/machine/i386/useldt.h: Ditto.
15658 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
15659 * libc/sys/linux/net/Makefile.am: Ditto.
15660 * libc/sys/linux/net/Makefile.in: Ditto.
15661 * libc/sys/linux/net/addr2ascii.3: Ditto.
15662 * libc/sys/linux/net/addr2ascii.c: Ditto.
15663 * libc/sys/linux/net/ascii2addr.c: Ditto.
15664 * libc/sys/linux/net/base64.c: Ditto.
15665 * libc/sys/linux/net/bindresvport.c: Ditto.
15666 * libc/sys/linux/net/byteorder.3: Ditto.
15667 * libc/sys/linux/net/ether_addr.c: Ditto.
15668 * libc/sys/linux/net/ethers.3: Ditto.
15669 * libc/sys/linux/net/getaddrinfo.3: Ditto.
15670 * libc/sys/linux/net/getaddrinfo.c: Ditto.
15671 * libc/sys/linux/net/gethostbydns.c: Ditto.
15672 * libc/sys/linux/net/gethostbyht.c: Ditto.
15673 * libc/sys/linux/net/gethostbyname.3: Ditto.
15674 * libc/sys/linux/net/gethostbynis.c: Ditto.
15675 * libc/sys/linux/net/gethostnamadr.c: Ditto.
15676 * libc/sys/linux/net/getifaddrs.3: Ditto.
15677 * libc/sys/linux/net/getifaddrs.c: Ditto.
15678 * libc/sys/linux/net/getipnodebyname.3: Ditto.
15679 * libc/sys/linux/net/getnameinfo.3: Ditto.
15680 * libc/sys/linux/net/getnameinfo.c: Ditto.
15681 * libc/sys/linux/net/getnetbydns.c: Ditto.
15682 * libc/sys/linux/net/getnetbyht.c: Ditto.
15683 * libc/sys/linux/net/getnetbynis.c: Ditto.
15684 * libc/sys/linux/net/getnetent.3: Ditto.
15685 * libc/sys/linux/net/getnetnamadr.c: Ditto.
15686 * libc/sys/linux/net/getproto.c: Ditto.
15687 * libc/sys/linux/net/getprotoent.3: Ditto.
15688 * libc/sys/linux/net/getprotoent.c: Ditto.
15689 * libc/sys/linux/net/getprotoname.c: Ditto.
15690 * libc/sys/linux/net/getservbyname.c: Ditto.
15691 * libc/sys/linux/net/getservbyport.c: Ditto.
15692 * libc/sys/linux/net/getservent.3: Ditto.
15693 * libc/sys/linux/net/getservent.c: Ditto.
15694 * libc/sys/linux/net/herror.c: Ditto.
15695 * libc/sys/linux/net/hesiod.3: Ditto.
15696 * libc/sys/linux/net/hesiod.c: Ditto.
15697 * libc/sys/linux/net/if_indextoname.3: Ditto.
15698 * libc/sys/linux/net/ifname.c: Ditto.
15699 * libc/sys/linux/net/inet.3: Ditto.
15700 * libc/sys/linux/net/inet6_option_s: Ditto.pace.3
15701 * libc/sys/linux/net/inet6_rthdr_space.3: Ditto.
15702 * libc/sys/linux/net/inet_addr.c: Ditto.
15703 * libc/sys/linux/net/inet_lnaof.c: Ditto.
15704 * libc/sys/linux/net/inet_makeaddr.c: Ditto.
15705 * libc/sys/linux/net/inet_net.3: Ditto.
15706 * libc/sys/linux/net/inet_net_ntop.c: Ditto.
15707 * libc/sys/linux/net/inet_net_pton.c: Ditto.
15708 * libc/sys/linux/net/inet_neta.c: Ditto.
15709 * libc/sys/linux/net/inet_netof.c: Ditto.
15710 * libc/sys/linux/net/inet_network.c: Ditto.
15711 * libc/sys/linux/net/inet_ntoa.c: Ditto.
15712 * libc/sys/linux/net/inet_ntop.c: Ditto.
15713 * libc/sys/linux/net/inet_pton.c: Ditto.
15714 * libc/sys/linux/net/innetgr-stub.c: Ditto.
15715 * libc/sys/linux/net/ip6opt.c: Ditto.
15716 * libc/sys/linux/net/iso_addr.3: Ditto.
15717 * libc/sys/linux/net/iso_addr.c: Ditto.
15718 * libc/sys/linux/net/issetugid-stub.c: Ditto.
15719 * libc/sys/linux/net/linkaddr.3: Ditto.
15720 * libc/sys/linux/net/linkaddr.c: Ditto.
15721 * libc/sys/linux/net/map_v4v6.c: Ditto.
15722 * libc/sys/linux/net/name6.c: Ditto.
15723 * libc/sys/linux/net/namespace.h: Ditto.
15724 * libc/sys/linux/net/ns.3: Ditto.
15725 * libc/sys/linux/net/ns_addr.c: Ditto.
15726 * libc/sys/linux/net/ns_name.c: Ditto.
15727 * libc/sys/linux/net/ns_netint.c: Ditto.
15728 * libc/sys/linux/net/ns_ntoa.c: Ditto.
15729 * libc/sys/linux/net/ns_parse.c: Ditto.
15730 * libc/sys/linux/net/ns_print.c: Ditto.
15731 * libc/sys/linux/net/ns_ttl.c: Ditto.
15732 * libc/sys/linux/net/nsap_addr.c: Ditto.
15733 * libc/sys/linux/net/nsdispatch.3: Ditto.
15734 * libc/sys/linux/net/nsdispatch.c: Ditto.
15735 * libc/sys/linux/net/nslexer.c: Ditto.
15736 * libc/sys/linux/net/nslexer.l: Ditto.
15737 * libc/sys/linux/net/nsparser.c: Ditto.
15738 * libc/sys/linux/net/nsparser.h: Ditto.
15739 * libc/sys/linux/net/nsparser.y: Ditto.
15740 * libc/sys/linux/net/rcmd.3: Ditto.
15741 * libc/sys/linux/net/rcmd.c: Ditto.
15742 * libc/sys/linux/net/rcmdsh.3: Ditto.
15743 * libc/sys/linux/net/rcmdsh.c: Ditto.
15744 * libc/sys/linux/net/recv.c: Ditto.
15745 * libc/sys/linux/net/res_comp.c: Ditto.
15746 * libc/sys/linux/net/res_config.h: Ditto.
15747 * libc/sys/linux/net/res_data.c: Ditto.
15748 * libc/sys/linux/net/res_debug.c: Ditto.
15749 * libc/sys/linux/net/res_init.c: Ditto.
15750 * libc/sys/linux/net/res_mkquery.c: Ditto.
15751 * libc/sys/linux/net/res_mkupdate.c: Ditto.
15752 * libc/sys/linux/net/res_query.c: Ditto.
15753 * libc/sys/linux/net/res_send.c: Ditto.
15754 * libc/sys/linux/net/res_update.c: Ditto.
15755 * libc/sys/linux/net/resolver.3: Ditto.
15756 * libc/sys/linux/net/rthdr.c: Ditto.
15757 * libc/sys/linux/net/send.c: Ditto.
15758 * libc/sys/linux/net/un-namespace.h: Ditto.
15759 * libc/sys/linux/net/vars.c: Ditto.
15760 * libc/sys/linux/stdlib/COPYRIGHT: Ditto.
15761 * libc/sys/linux/stdlib/Makefile.am: Ditto.
15762 * libc/sys/linux/stdlib/Makefile.in: Ditto.
15763 * libc/sys/linux/stdlib/cclass.h: Ditto.
15764 * libc/sys/linux/stdlib/cname.h: Ditto.
15765 * libc/sys/linux/stdlib/collate.c: Ditto.
15766 * libc/sys/linux/stdlib/collate.h: Ditto.
15767 * libc/sys/linux/stdlib/collcmp.c: Ditto.
15768 * libc/sys/linux/stdlib/engine.c: Ditto.
15769 * libc/sys/linux/stdlib/fnmatch.3: Ditto.
15770 * libc/sys/linux/stdlib/fnmatch.c: Ditto.
15771 * libc/sys/linux/stdlib/glob.3: Ditto.
15772 * libc/sys/linux/stdlib/glob.c: Ditto.
15773 * libc/sys/linux/stdlib/reallocf.c: Ditto.
15774 * libc/sys/linux/stdlib/regcomp.c: Ditto.
15775 * libc/sys/linux/stdlib/regerror.c: Ditto.
15776 * libc/sys/linux/stdlib/regex.3: Ditto.
15777 * libc/sys/linux/stdlib/regex2.h: Ditto.
15778 * libc/sys/linux/stdlib/regexec.c: Ditto.
15779 * libc/sys/linux/stdlib/regfree.c: Ditto.
15780 * libc/sys/linux/stdlib/utils.h: Ditto.
15781 * libc/sys/linux/stdlib/wordexp.c: Ditto.
15782 * libc/sys/linux/stdlib/wordfree.c: Ditto.
15783 * libc/sys/linux/sys/dlfcn.h: Ditto.
15784 * libc/sys/linux/sys/elfclass.h: Ditto.
15785 * libc/sys/linux/sys/event.h: Ditto.
15786 * libc/sys/linux/sys/ioccom.h: Ditto.
15787 * libc/sys/linux/sys/libc-tsd.h: Ditto.
15788 * libc/sys/linux/sys/link.h: Ditto.
15789 * libc/sys/linux/sys/lock.h: Ditto.
15790 * libc/sys/linux/sys/param.h: Ditto.
15791 * libc/sys/linux/sys/socket.h: Ditto.
15792 * libc/sys/linux/sys/sockio.h: Ditto.
15794 2003-05-28 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
15796 * newlib/libc/machine/h8300/memcpy.S: Use .h8300hn and .h8300sn for
15798 * newlib/libc/machine/h8300/memset.S: Likewise
15799 * newlib/lib/machine/h8300/reg_memcpy.S: Likewise
15800 * newlib/lib/machine/h8300/reg_memset.S: Likewise
15801 * newlib/lib/machine/h8300/setjmp.S: Likewise
15802 * newlib/lib/machine/h8300/strcmp.S: Likewise
15803 * newlib/lib/sys/h8300hms/crt0.S: Likewise
15805 2003-05-13 Corinna Vinschen <corinna@vinschen.de>
15807 * libc/ctype/ctype_.c: Remove checks for deprecated __CYGWIN32__.
15808 * libc/include/stdio.h: Ditto.
15809 * libc/include/sys/config.h: Ditto.
15810 * libc/stdio/mktemp.c: Ditto.
15812 2003-05-13 Corinna Vinschen <corinna@vinschen.de>
15814 * libc/locale/ldpart.c (__part_load_locale): Substitute
15815 __CYGWIN_USE_BIG_TYPES__ by __USE_INTERNAL_STAT64.
15816 * libc/search/hash.c (__hash_open): Ditto.
15817 (init_hash): Ditto.
15818 * libc/stdio/fseek.c (fseek): Ditto.
15819 * libc/stdio/makebuf.c (__smakebuf): Ditto.
15820 * libc/stdio/mktemp.c (_gettemp): Ditto.
15822 2003-05-12 Corinna Vinschen <corinna@vinschen.de>
15824 * libc/include/stdio.h: Change one __CYGWIN__ to __CYGWIN32__.
15826 2003-05-12 Corinna Vinschen <corinna@vinschen.de>
15828 * configure.host: Accomodate removing the libc/sys/cygwin dir.
15829 * libc/locale/ldpart.c (__part_load_locale): Use 64 bit stat call
15830 if __CYGWIN_USE_BIG_TYPES__ is set.
15831 * libc/search/hash.c (__hash_open): Ditto.
15832 (init_hash): Ditto.
15833 * libc/stdio/fseek.c (fseek): Ditto.
15834 * libc/stdio/makebuf.c (__smakebuf): Ditto.
15835 * libc/stdio/mktemp.c (_gettemp): Ditto.
15836 * libc/sys/cygwin/Makefile.am: Remove.
15837 * libc/sys/cygwin/Makefile.in: Remove.
15838 * libc/sys/cygwin/aclocal.m4: Remove.
15839 * libc/sys/cygwin/configure: Remove.
15840 * libc/sys/cygwin/configure.in: Remove.
15841 * libc/sys/cygwin/crt0.c: Move to winsup/cygwin directory.
15842 * libc/sys/cygwin/sys/dirent.h: Move to winsup/cygwin/include/sys
15844 * libc/sys/cygwin/sys/param.h: Ditto.
15845 * libc/sys/cygwin/sys/utime.h: Ditto.
15846 * libc/sys/cygwin/sys/utmp.h: Ditto.
15848 2003-05-11 Corinna Vinschen <corinna@vinschen.de>
15850 * libc/include/sys/types.h: Don't define key_t for Cygwin.
15852 2003-05-10 Christopher Faylor <cgf@redhat.com>
15854 * libc/sys/cygwin/sys/dirent.h (struct dirent): Accommodate (slightly)
15857 2003-05-09 Corinna Vinschen <corinna@vinschen.de>
15859 * libc/include/sys/config.h: Remove all Cygwin specific configuration.
15860 Include cygwin/config.h instead.
15862 2003-04-16 Jeff Johnston <jjohnstn@redhat.com>
15864 * newlib/libc/machine/powerpc (ato*fix*.c,strto*fix*.c): Shield
15865 all code with #ifdef __SPE__ test.
15866 * newlib/libc/machine/powerpc (simdldtoa.c, ufix64toa.c): Ditto.
15868 2003-04-15 Chris January <chris@atomice.net>
15870 * newlib/libc/include/sys/unistd.h: add declaration for gethostid on
15873 2003-04-09 J"orn Rennecke <joern.rennecke@superh.com>
15875 * libc/machine/sh/memset.S: Avoid clobbering volatile
15876 objects following a tiny to-be-set array in the same quadword.
15878 2001-04-09 Corinna Vinschen <corinna@vinschen.de>
15880 * libc/include/wchar.h: Add definitions for wcswidth and wcwidth.
15881 * libc/string/Makefile.am: Add wcswidth.c and wcwidth.c
15882 * libc/string/Makefile.in: Regenerated.
15883 * libc/string/wcswidth.c: New file.
15884 * libc/string/wcwidth.c: New file.
15885 * libc/string/wcstrings.tex: Add wcswidth and wcwidth.
15887 Thu Apr 3 14:01:16 2003 J"orn Rennecke <joern.rennecke@superh.com>
15889 * libc/machine/sh/memset.S: Fix problem with alloco region
15890 exceeding destination region for length >= 88 bytes, start
15891 & 0x16 == 0, end & 0x1f == 18.
15893 2001-04-03 Corinna Vinschen <corinna@vinschen.de>
15895 * libc/string/wcscoll.c: Fix comment.
15897 2001-04-02 Corinna Vinschen <corinna@vinschen.de>
15899 * libc/include/wchar.h: Add definition for wcscoll.
15900 * libc/string/Makefile.am: Add wcscoll.c.
15901 * libc/string/Makefile.in: Regenerated.
15902 * libc/string/wcscoll.c: New file.
15903 * libc/string/wcstrings.tex: Add wcscoll.
15905 2003-04-01 Corinna Vinschen <corinna@vinschen.de>
15907 * libc/stdio/sscanf.c: Update flags description.
15908 * libc/stdio/vfscanf.c: Add CHAR flag value to denote 8 bit target
15910 (__svfscanf_r): Add 'hh' and 'll' handling.
15912 2003-04-01 Corinna Vinschen <corinna@vinschen.de>
15914 * libc/sys/cygwin/sys/dirent.h (struct DIR): Change type of
15915 __d_position member to _off_t.
15917 2003-03-20 Jeff Johnston <jjohnstn@redhat.com>
15919 * libc/stdio/vfscanf.c (__svfscanf_r): For floating point conversion,
15920 count all characters used to create number against maximum width.
15921 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
15923 2003-03-18 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
15925 * libc/include/sys/h8300hms/crt0.S[__SIMULATOR__]: Add commandline
15927 * configure.host (h8300*-*-*): Added comment regarding -D__SIMULATOR__
15928 flag to support simulator only extensions.
15930 2003-03-17 Bob Cassels <bcassels@abinitio.com>
15932 * libc/string/wcschr.c: (wcschr): Look for character first,
15933 then for end of string, so you can do wcschr(x, '\0').
15935 2003-03-10 Corinna Vinschen <corinna@vinschen.de>
15937 * libc/include/stdio.h: Declare fgetpos, fsetpos, fseeko and ftello
15938 with internal (_fpos_t and _off_t) datatypes when compiling newlib.
15939 * libc/include/sys/unistd.h: Declare _lseek using _off_t.
15940 * libc/reent/lseekr.c (_lseek_r): Use _off_t instead of off_t.
15941 * libc/stdio/fseeko.c (fseeko): Ditto.
15942 * libc/stdio/ftello.c (ftello): Ditto.
15943 * libc/stdio/stdio.c (__swrite): Ditto.
15945 * libc/stdio/fgetpos.c (fgetpos): Use _fpos_t instead of fpos_t.
15946 * libc/stdio/fseek.c (fseek): Ditto.
15947 * libc/stdio/fsetpos.c (fsetpos): Ditto.
15948 * libc/stdio/ftell.c (ftell): Ditto.
15949 * libc/stdio/local.h: Declare __sseek using _off_t.
15951 2003-03-09 Corinna Vinschen <corinna@vinschen.de>
15953 * libc/reent/lseekr.c (lseek_r): Use _off_t instead of off_t.
15955 2003-03-09 Corinna Vinschen <corinna@vinschen.de>
15957 * libc/include/sys/config.h: Define __CYGWIN_USE_BIG_TYPES__ for
15960 2003-03-09 Corinna Vinschen <corinna@vinschen.de>
15962 * libc/include/pwd.h: Add guards to avoid type clashes when compiling
15964 * libc/include/sys/stat.h: Ditto.
15965 * libc/include/sys/unistd.h: Ditto.
15966 * libc/sys/cygwin/sys/dirent.h: Ditto.
15968 2003-03-07 Christopher Faylor <cgf@redhat.com>
15970 * libc/include/sys/unistd.h: Guard getopt.h call to force only
15971 declaration of getopt and avoid getopt_long declaration.
15972 * libc/sys/cygwin/include/unistd.h: Remove.
15974 2003-03-07 Corinna Vinschen <corinna@vinschen.de>
15976 * configure.host: Define stdio64_dir for Cygwin.
15977 * libc/include/stdio.h: Change definition of fpos_t to fulfill
15978 Cygwin 64bit file access requirements.
15979 Drop definition of f*64() functions when compiled for Cygwin.
15980 * libc/include/sys/config.h: Define __LARGE64_FILES for Cygwin.
15981 * libc/reent/lseek64r.c: Use _off64_t instead of off64_t.
15982 * libc/stdio64/local64.h: Use _fpos64_t instead of fpos64_t.
15984 2003-03-07 Jeff Johnston <jjohnstn@redhat.com>
15986 * libc/include/sys/reent.h: Remove extraneous _sig_func
15989 2003-02-25 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
15991 * libc/sys/h8300hms/Makefile.am: Add support for new files.
15992 * libc/sys/h8300hms/Makefile.in: Regenerated.
15993 * libc/sys/h8300hms/close.S: New file.
15994 * libc/sys/h8300hms/fstat.S: Ditto.
15995 * libc/sys/h8300hms/lseek.S: Ditto.
15996 * libc/sys/h8300hms/open.S: Ditto.
15997 * libc/sys/h8300hms/stat.S: Ditto.
15998 * libc/sys/h8300hms/read.S: New file to replace read.c.
15999 * libc/sys/h8300hms/read.c: Removed.
16000 * libc/sys/h8300hms/syscalls.c: Removed functions _open,
16001 _lseek, _close, _stat, _fstat.
16002 * libc/sys/h8300hms/write.S: New file to replace write.c.
16003 * libc/sys/h8300hms/write.c: Removed.
16005 2003-02-20 Nick Clifton <nickc@redhat.com>
16007 * Add support for Cirrus Maverick ARM co-processor:
16009 2000-09-13 Aldy Hernandez <aldyh@redhat.com>
16011 * libc/include/machine/ieeefp.h: Set IEEE_BIG_ENDIAN or
16012 IEEE_LITTLE_ENDIAN depending on endian mode (cirrus).
16014 2000-08-11 Aldy Hernandez <aldyh@redhat.com>
16016 * configure.host: set sys_dir, syscall_dir, and
16017 newlib_cflags for ep9312 host.
16019 * configure.host: Restore alpha sorting of entries in case
16022 2003-02-19 Jeff Johnston <jjohnstn@redhat.com>
16024 * libc/stdlib/mallocr.c (unlink): Revert 02/18 fix.
16026 2003-02-18 Christian Groessler <chris@groessler.org>
16028 * libc/machine/z8k/setjmp.S (_setjmp / _longjmp): Fix to
16029 support z8001 segmented mode.
16031 2003-02-18 Earnie Boyd <earnie@users.sf.net>
16033 * libc/stdlib/mallocr.c (unlink): Don't assign a value to a pointer
16036 2003-02-10 Christopher Faylor <cgf@redhat.com>
16038 * libc/include/sys/types.h: Don't define __MS_types__ for Cygwin.
16039 Don't define some types under cygwin.
16041 2003-02-07 Jeff Johnston <jjohnstn@redhat.com>
16043 * acinclude.m4 (--disable-newlib-supplied-syscalls): New configuration
16044 option to allow disabling of syscalls being supplied in newlib.
16045 * aclocal.m4: Regenerated.
16046 * configure: Ditto.
16047 * configure.host: Add support of new configuration option and add
16048 -D__NO_SYSCALLS__ if newlib supplied syscalls are disabled.
16049 * doc/aclocal.m4: Regenerated.
16050 * doc/configure: Ditto.
16051 * libc/*aclocal.m4: Ditto.
16052 * libc/*configure: Ditto.
16053 * libm/*aclocal.m4: Ditto.
16054 * libm/*configure: Ditto.
16055 * libc/sys/arm/Makefile.am: Don't build syscalls.o if new option
16057 * libc/sys/arm/Makefile.in: Regenerated.
16059 2003-02-05 Jonathan Larmour <jifl@eCosCentric.com>
16061 * libc/stdio/vsprintf.c (vsprintf, _vsprintf_r): Set _file fd to
16062 -1 to be sure it cannot later match a valid file fd causing
16063 isatty() to return 1.
16064 * libc/stdio/asprintf.c (asprintf, _asprintf_r): Ditto.
16065 * libc/stdio/sprintf.c (sprintf, _sprintf_r): Ditto.
16066 * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Ditto.
16068 2003-02-03 Jeff Johnston <jjohnstn@redhat.com>
16070 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate the format
16071 buffer based on the precision, after we have processed the input value
16072 in a local buffer and know its relative magnitude.
16074 2003-01-31 Michael Snyder <msnyder@redhat.com>
16076 * libc/sys/h8300hms/_exit.c (_exit, __exit): Slip a magic cookie
16077 into registers r1 and r2, so that the simulator can distinguish
16078 this trap from a breakpoint trap. Copied from libgloss.
16080 2003-01-31 Michael Snyder <msnyder@redhat.com>
16082 * libc/sys/h8300hms/crt0.S (_start): Change local label
16083 from .loop to .Loop, so that ld and gdb will ignore it.
16085 2003-01-29 Jason Tishler <jason@tishler.net>
16087 * libc/include/time.h: Declare nanosleep() under Cygwin.
16089 2003-01-24 Nick Clifton <nickc@redhat.com>
16091 * Add sh2e support:
16093 2002-04-02 Alexandre Oliva <aoliva@redhat.com>
16095 * libc/machine/sh/asm.h: Added __SH2E__ next to __SH3E__.
16096 * libc/machine/sh/setjmp.S: Likewise.
16097 * libc/include/machine/ieeefp.h: Likewise.
16099 2003-01-24 Corinna Vinschen <corinna@vinschen.de>
16101 * libc/include/sys/unistd.h: Add setregid and setreuid declarations
16104 2003-01-21 Anita Kulkarni <anitak@kpit.com>
16106 * libc/time/difftime.c : Typecast the result to double.
16108 2003-01-20 Christopher Faylor <cgf@redhat.com>
16110 * libc/include/sys/unistd.h: Add rresvport declaration for cygwin.
16112 2003-01-18 Nick Clifton <nickc@redhat.com>
16114 * libc/include/machine/ieeefp.h : Define __IEEE_BIG_ENDIAN,
16115 __SMALL_BITFIELDS and _DOUBLE_IS_32BITS for IP2K.
16117 2003-01-16 Joel Sherrill <joel@OARcorp.com>
16119 * libc/sys/rtems/include/limits.h, libc/sys/rtems/sys/param.h,
16120 libc/sys/rtems/sys/syslimits.h: Update to be in sync with what
16121 constants are defined in each file in the shared versions in
16123 * libc/sys/rtems/crt0.c: Define extra symbols on SH and HP-PA to
16124 autoconf can link programs.
16125 * libc/include/machine/types.h: Explicitly specify signed on
16126 intXX_t types to ensure they are signed.
16128 2003-01-14 Christopher Faylor <cgf@redhat.com>
16130 * libc/time/strftime.c (strftime): Add '%h' and '%l, %k' GNU
16133 2003-01-08 Richard Sandiford <rsandifo@redhat.com>
16135 * configure.host (mips64vr-elf, mips64vrel-elf): New config.
16137 2003-01-07 Charles Wilson <cwilson@ece.gatech.edu>
16139 * libc/stdio/sprintf.c: fix typo
16140 * libc/stdio/vfprintf.c: fix typo
16142 2003-01-07 Jeff Johnston <jjohnstn@redhat.com>
16144 * configure.host: Support long double I/O for x86-linux.
16145 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate a buffer
16146 large enough to hold formatted result.
16147 * libc/machine/powerpc/simdldtoa.c (_simdldtoa_r): Ditto.
16149 2003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
16151 * Makefile.am: Add vasprintf.
16152 * Makefile.in: Regenerated.
16154 2003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
16156 * asprintf.c (_asprintf_r): insure both declarations
16159 2002-12-28 Christopher Faylor <cgf@redhat.com>
16161 * libc/include/sys/unistd.h: Under cygwin, just include getopt.h rather
16162 than defining getopt directly.
16164 2002-12-20 Jeff Johnston <jjohnstn@redhat.com>
16166 * NEWS: Update with 1.11.0 info.
16168 * acinclude.m4: Change version number to 1.11.0.
16169 * aclocal.m4: Regenerated.
16170 * configure: Ditto.
16171 * doc/aclocal.m4: Ditto.
16172 * doc/configure: Ditto.
16173 * libc/*/aclocal.m4: Ditto.
16174 * libc/*/configure: Ditto.
16175 * libc/libc.texinfo: Ditto.
16176 * libm/*/aclocal.m4: Ditto.
16177 * libm/*/configure: Ditto.
16178 * libm/libm.texinfo: Ditto.
16179 * libc/sys/linux/shared.ld: Add VERS_1.11.
16181 2002-12-20 Jeff Johnston <jjohnstn@redhat.com>
16183 * libc/machine/i386/f_atan2.S: Change copyright from Cygnus
16184 Solutions to Red Hat Inc.
16185 * libc/machine/i386/f_atan2f.S: Ditto.
16186 * libc/machine/i386/f_exp.c: Ditto.
16187 * libc/machine/i386/f_expf.c: Ditto.
16188 * libc/machine/i386/f_frexp.S: Ditto.
16189 * libc/machine/i386/f_frexpf.S: Ditto.
16190 * libc/machine/i386/f_ldexp.S: Ditto.
16191 * libc/machine/i386/f_ldexpf.S: Ditto.
16192 * libc/machine/i386/f_log.S: Ditto.
16193 * libc/machine/i386/f_log10.S: Ditto.
16194 * libc/machine/i386/f_log10f.S: Ditto.
16195 * libc/machine/i386/f_logf.S: Ditto.
16196 * libc/machine/i386/f_pow.c: Ditto.
16197 * libc/machine/i386/f_powf.c: Ditto.
16198 * libc/machine/i386/f_tan.S: Ditto.
16199 * libc/machine/i386/f_tanf.S: Ditto.
16200 * libc/machine/i386/memchr.S: Ditto.
16201 * libc/machine/i386/memcmp.S: Ditto.
16202 * libc/machine/i386/memcpy.S: Ditto.
16203 * libc/machine/i386/memmove.S: Ditto.
16204 * libc/machine/i386/memset.S: Ditto.
16205 * libc/machine/i386/strchr.S: Ditto.
16206 * libc/machine/i386/strlen.S: Ditto.
16207 * libm/machine/i386/f_atan2.S: Ditto.
16208 * libm/machine/i386/f_atan2f.S: Ditto.
16209 * libm/machine/i386/f_exp.c: Ditto.
16210 * libm/machine/i386/f_expf.c: Ditto.
16211 * libm/machine/i386/f_frexp.S: Ditto.
16212 * libm/machine/i386/f_frexpf.S: Ditto.
16213 * libm/machine/i386/f_ldexp.S: Ditto.
16214 * libm/machine/i386/f_ldexpf.S: Ditto.
16215 * libm/machine/i386/f_log.S: Ditto.
16216 * libm/machine/i386/f_log10.S: Ditto.
16217 * libm/machine/i386/f_log10f.S: Ditto.
16218 * libm/machine/i386/f_logf.S: Ditto.
16219 * libm/machine/i386/f_pow.c: Ditto.
16220 * libm/machine/i386/f_powf.c: Ditto.
16221 * libm/machine/i386/f_tan.S: Ditto.
16222 * libm/machine/i386/f_tanf.S: Ditto.
16224 2002-12-20 Jeff Johnston <jjohnstn@redhat.com>
16226 * libc/stdlib/environ.c: Update license to Red Hat.
16227 * libc/machine/hppa/setjmp.S: Ditto.
16228 * libm/test/Makefile.in: Ditto.
16230 2002-12-19 Jeff Johnston <jjohnstn@redhat.com>
16232 * configure.host: Remove references to go32.
16233 * libc/sys/go32/*: Removed.
16235 2002-12-16 Kazu Hirata <kazu@cs.umass.edu>
16237 * libc/include/sys/config.h: Change setting of INT_MAX
16238 and UINT_MAX, to use __INT_MAX__ for __H8300__, __H8300H__,
16239 __H8300S__. Also consolidate flag settings for these
16242 2002-12-10 Joel Sherrill <joel@OARcorp.com>
16244 * libc/include/machine/setjmp.h: Make sure _JBLEN is defined
16245 for i386-rtems targets.
16247 2002-12-06 Jeff Johnston <jjohnstn@redhat.com>
16249 * libc/include/stdlib.h (strtof): New prototype (from C99).
16250 (strtodf): Changed from prototype to macro which redefines
16252 * libc/stdlib/atof.c: Change documentation to refer to strtof
16253 instead of strtodf.
16254 * libc/stdlib/atoff.c (atoff): Change to call strtof instead of
16256 * libc/stdlib/strtod.c (strtodf): Renamed to strtof.
16257 (strtof): New function.
16258 * libm/test/convert.c (test_strtodf): Renamed to test_strtof which
16261 2002-11-27 Christopher Faylor <cgf@redhat.com>
16263 * libc/string/memset.c (memset): Fix comment.
16265 2002-11-26 Christopher Faylor <cgf@redhat.com>
16267 * libc/string/memset.c (memset): Move initialization of 'd' earlier in
16270 2002-11-25 Christopher Faylor <cgf@redhat.com>
16272 * libc/string/memset.c (memset): Minor optimization: Use new 'd'
16273 variable, introduced below, everywhere.
16275 2002-11-25 Kazu Hirata <kazu@cs.umass.edu>
16277 * libc/string/memset.c (memset): Make it safe even if
16280 2002-11-22 Joe Buehler <jbuehler@hekimian.com>
16282 * configure.in: Change check for libc/include in ${CC} to
16283 use an intermediate value so as to work with different shells.
16284 * configure: Regenerated.
16285 * Makefile.in: Ditto.
16287 2002-11-22 Vijay L. Khuspe <vijayk1@kpit.com>
16289 * libc/sys/h8300hms/read.c: Add support for normal mode
16292 2002-11-20 Ryo Tsuruta <ryo@kitanet.ne.jp>
16294 * libc/machine/h8300/setjmp.S (setjmp, longjmp): Combine common
16295 code for __H8300H__ and __H8300S__. Also return 32-bit return code
16296 when -mint32 is used.
16298 2002-11-18 Nick Clifton <nickc@redhat.com>
16300 * libc/sys/arm/crt0.S: Add NULL to end of argv array.
16302 2002-11-14 Jeff Johnston <jjohnstn@redhat.com>
16304 * testsuite/lib/passfail.exp (newlib_pass_fail): Changed to
16305 only issue one pass/fail message for a compile/link/execute.
16306 * testsuite/newlib.elix/elix.exp: New file.
16307 * testsuite/newlib.elix/tmmap.c: Ditto.
16309 2002-11-06 Christopher Faylor <cgf@redhat.com>
16311 * libc/stdlib/malign.c: Don't compile if MALLOC_PROVIDED.
16312 * libc/stdlib/mlock.c: Ditto.
16313 * libc/stdlib/msize.c: Ditto.
16314 * libc/stdlib/msize.c: Ditto.
16315 * libc/stdlib/mtrim.c: Ditto.
16316 * libc/stdlib/valloc.c: Ditto.
16318 2002-11-12 Jeff Johnston <jjohnstn@redhat.com>
16320 * libc/stdlib/ldtoa.c (e64toe): When checking the exponent
16321 for inf/nan, make sure that the check ignores the sign bit.
16323 2002-11-07 Joel Sherrill <joel@OARcorp.com>
16325 * libc/sys/rtems/machine: New directory.
16326 * libc/sys/rtems/machine/limits.h, libc/sys/rtems/machine/param.h,
16327 libc/sys/rtems/sys/param.h, libc/sys/rtems/sys/syslimits.h,
16328 libc/sys/rtems/sys/utime.h: New files added to make *-rtems newlib
16329 targets more BSD like when installed without requiring files to
16330 be overwritten at install point when RTEMS itself is installed.
16331 * Makefile.am: Pick up system dependent machine .h files such as
16332 might be found on a BSD-ish system.
16333 * Makefile.in: Regenerate.
16334 * libc/include/machine/types.h: When on an RTEMS target, define a
16335 few BSD flavor types.
16337 2002-11-06 Sergey Okhapkin <sos@prospect.com.ru>
16339 * include/utmp.h: Define WTMP_FILE. Define and use UT_IDLEN.
16341 2002-11-06 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
16343 * libc/include/wchar.h: Use _{BEGIN,END}_STD_C instead of extern "C".
16344 * libc/include/wctype.h: Ditto.
16346 2002-11-04 Jeff Johnston <jjohnstn@redhat.com>
16348 * libc/include/wchar.h: Add extern "C" specifier if C++.
16349 * libc/include/wctype.h: Ditto.
16351 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
16353 * testsuite/newlib.wctype/tiswctype.c: New test case.
16354 * testsuite/newlib.wctype/twctrans.c: Ditto.
16356 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
16358 * libc/sys/linux/machine/i386/include/endian.h: New file.
16359 * libc/sys/linux/machine/i386/include/param.h: Ditto.
16361 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
16363 * libm/machine/i386/aclocal.m4: Regenerated.
16364 * libm/machine/i386/configure: Ditto.
16366 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
16368 * testsuite/include/check.h: New header file to use with
16370 * testsuite/lib/newlib.exp: Add testsuite/include directory
16371 to list of header files to use.
16372 * testsuite/newlib.wctype/twctype.c: New test case for iswctype fns.
16373 * testsuite/newlib.wctype/wctype.exp: New file.
16375 2002-10-11 Graham Stott <graham.stott@btinternet.com>
16376 Richard Sandiford <rsandifo@redhat.com>
16378 * libc/include/sys/config.h (SIZE_T_SMALLER_THAN_LONG): Undefine.
16379 * libc/stdlib/mallocr.c (long_sub_size_t): Define in a way that
16380 doesn't require the SIZE_T_SMALLER_THAN_LONG macro.
16382 2002-10-07 Joel Sherrill <joel@OARcorp.com>
16384 * libc/sys/rtems/crt0.c: Add even more symbols so gcc() can link
16387 2002-10-07 Joel Sherrill <joel@OARcorp.com>
16389 * libc/include/pthread.h: Define PTHREAD_CANCELED.
16391 2002-10-07 Joel Sherrill <joel@OARcorp.com>
16393 * libc/machine/hppa/DEFS.h, libc/machine/hppa/pcc_prefix.s,
16394 libc/machine/hppa/setjmp.S, libc/machine/hppa/DEFS.h: Make this
16395 compile with current GNU tools.
16397 2002-10-07 Jeff Johnston <jjohnstn@redhat.com>
16399 * Makefile.am: Add EXTRA_DIRS to allow future dependencies on
16401 * configure.in: Ditto.
16402 * Makefile.in: Regenerated.
16403 * configure: Ditto.
16404 * libc/sys/linux/Makefile.am: Add EXTRA_SUBDIRS and EXTRA_SUBLIBS
16405 for specifying configured libraries/directories.
16406 * libc/sys/linux/configure.in: Ditto.
16407 * libc/sys/linux/Makefile.in: Regenerated.
16408 * libc/sys/linux/configure: Ditto.
16410 2002-10-03 Jeff Johnston <jjohnstn@redhat.com>
16412 * libc/include/reent.h: Update documentation at start of file.
16414 2002-09-27 Jim Wilson <wilson@redhat.com>
16416 * libc/sys/sysnecv850/crt0.S (start): Delete v850 code for initializing
16419 2002-09-27 Jeff Johnston <jjohnstn@redhat.com>
16421 * libc/ctype/jp2uc.c: Change to use multiple arrays in jp2uc.h.
16422 Also convert to EUCJP before using arrays. For values not in
16423 the conversion arrays, return WEOF.
16424 * libc/ctype/jp2uc.h: Change from one array to a number of
16425 arrays to account for the fact that the originating table
16426 is not contiguous for the input values since some are invalid.
16428 2002-09-24 Jeff Johnston <jjohnstn@redhat.com>
16430 * libc/time/ctime.c: Fix prototype documentation.
16432 2002-09-24 Corinna Vinschen <corinna@vinschen.de>
16434 * libc/include/sys/errno.h: Add EOVERFLOW.
16436 2002-09-20 Jeff Johnston <jjohnstn@redhat.com>
16438 * libc/include/wctype.h: New file.
16440 2002-09-20 Jeff Johnston <jjohnstn@redhat.com>
16442 * libc/ctype/Makefile.am: Add new files.
16443 * libc/ctype/Makefile.in: Regenerated.
16444 * libc/ctype/ctype.tex: Add new iswxxxx, towxxxx, wctype,
16445 and wctrans functions to documentation index.
16446 * libc/ctype/iswalnum.c: New file.
16447 * libc/ctype/iswalpha.c: Ditto.
16448 * libc/ctype/iswblank.c: Ditto.
16449 * libc/ctype/iswcntrl.c: Ditto.
16450 * libc/ctype/iswctype.c: Ditto.
16451 * libc/ctype/iswdigit.c: Ditto.
16452 * libc/ctype/iswgraph.c: Ditto.
16453 * libc/ctype/iswlower.c: Ditto.
16454 * libc/ctype/iswprint.c: Ditto.
16455 * libc/ctype/iswpunct.c: Ditto.
16456 * libc/ctype/iswspace.c: Ditto.
16457 * libc/ctype/iswupper.c: Ditto.
16458 * libc/ctype/iswxdigit.c: Ditto.
16459 * libc/ctype/jp2uc.c: Ditto.
16460 * libc/ctype/jp2uc.h: Ditto.
16461 * libc/ctype/local.h: Ditto.
16462 * libc/ctype/towctrans.c: Ditto.
16463 * libc/ctype/towlower.c: Ditto.
16464 * libc/ctype/towupper.c: Ditto.
16465 * libc/ctype/utf8alpha.h: Ditto.
16466 * libc/ctype/utf8print.h: Ditto.
16467 * libc/ctype/utf8punct.h: Ditto.
16468 * libc/ctype/wctrans.c: Ditto.
16469 * libc/ctype/wctype.c: Ditto.
16470 * libc/locale/locale.c (__lc_ctype): New external array to
16471 replace static lc_ctype array.
16472 * libc/stdlib/mbtowc_r.c: Use __lc_ctype to check current lc_ctype
16473 rather than reentrancy structure's _current_locale field.
16474 * libc/stdlib/wctomb_r.c: Ditto.
16476 2002-09-20 Jeff Johnston <jjohnstn@redhat.com>
16478 * configure.host: Minor comment and formatting changes.
16479 * libc/Makefile.am: Add libc_la_DEPENDENCIES.
16480 * libc/Makefile.in: Regenerated.
16481 * libc/include/sys/config.h: Minor format change.
16483 2002-09-19 Jeff Johnston <jjohnstn@redhat.com>
16485 * libc/syscalls/sysfcntl.c (fcntl): Fix typo in preprocessor
16488 2002-09-19 Jeff Johnston <jjohnstn@redhat.com>
16490 * libc/posix/opendir.c (opendir): Change code to check
16491 for HAVE_FCNTL before calling fcntl.
16492 * libc/search/hash.c (hash_open): Ditto.
16493 * libc/search/hash_page.c (open_tmp): Ditto.
16494 * libc/reent/Makefile.am: Add fcntlr.c.
16495 * libc/reent/Makefile.in: Regenerated.
16496 * libc/reent/fcntlr.c: New file.
16497 * libc/stdio/fdopen.c (_fdopen_r): Change to call _fcntl_r
16498 instead of _fcntl when HAVE_FCNTL flag is set.
16499 * libc/syscalls/sysfcntl.c (fcntl): Check for HAVE_FCNTL flag
16500 to see if _fcntl or _fcntl_r should be called. If flag is not
16501 set, default to ENOSYS stub.
16503 2002-09-16 Jeff Johnston <jjohnstn@redhat.com>
16505 * libc/include/wchar.h (mbstate_t): Change protective flag to
16507 * libc/include/sys/_types.h (_mbstate_t): Remove protective flag.
16508 [__CYGWIN__]: Remove special code that defines mbstate_t and WEOF
16510 * libc/sys/linux/sys/_types.h (_mbstate_t): Remove protective flag.
16512 2002-09-11 Jeff Johnston <jjohnstn@redhat.com>
16514 * acinclude.m4 (enable-newlib-mb): Change check to
16515 default newlib_mb variable to empty string rather than "no".
16516 * configure.host: Remove hard-coding of -DMB_CAPABLE for
16517 x86-linux and Cygwin. Add code to check for newlib_mb
16518 being unset in which case set to "yes" for x86-linux and
16519 Cygwin. Change check for newlib_mb being "yes" to allow
16520 for an empty string.
16521 * configure.in (_MB_LEN_MAX): New AC_DEFINE.
16522 * newlib.hin (_MB_LEN_MAX): New define to configure.
16523 * aclocal.m4: Regenerated.
16524 * configure: Ditto.
16525 * libc/include/limits.h: New file.
16526 * libc/sys/linux/include/limits.h: Ditto.
16527 * doc/aclocal.m4 doc/configure libc/aclocal.m4
16528 libc/configure libc/machine/aclocal.m4
16529 libc/machine/configure libc/machine/a29k/aclocal.m4
16530 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
16531 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
16532 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
16533 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
16534 libc/machine/fr30/configure libc/machine/frv/aclocal.m4
16535 libc/machine/frv/configure libc/machine/h8300/aclocal.m4
16536 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
16537 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
16538 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
16539 libc/machine/i386/configure libc/machine/i960/aclocal.m4
16540 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
16541 libc/machine/m32r/configure libc/machine/m68hc11/aclocal.m4
16542 libc/machine/m68hc11/configure libc/machine/m68k/aclocal.m4
16543 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
16544 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
16545 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
16546 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
16547 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
16548 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
16549 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
16550 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
16551 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
16552 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
16553 libc/machine/v850/configure libc/machine/w65/aclocal.m4
16554 libc/machine/w65/configure libc/machine/xscale/aclocal.m4
16555 libc/machine/xscale/configure
16556 libc/machine/xstormy16/aclocal.m4
16557 libc/machine/xstormy16/configure libc/machine/z8k/aclocal.m4
16558 libc/machine/z8k/configure libc/sys/aclocal.m4
16559 libc/sys/configure libc/sys/a29khif/aclocal.m4
16560 libc/sys/a29khif/configure libc/sys/arc/aclocal.m4
16561 libc/sys/arc/configure libc/sys/arm/aclocal.m4
16562 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
16563 libc/sys/cygwin/configure libc/sys/d10v/aclocal.m4
16564 libc/sys/d10v/configure libc/sys/decstation/aclocal.m4
16565 libc/sys/decstation/configure libc/sys/go32/aclocal.m4
16566 libc/sys/go32/configure libc/sys/h8300hms/aclocal.m4
16567 libc/sys/h8300hms/configure libc/sys/h8500hms/aclocal.m4
16568 libc/sys/h8500hms/configure libc/sys/idt/aclocal.m4
16569 libc/sys/idt/configure libc/sys/linux/aclocal.m4
16570 libc/sys/linux/configure
16571 libc/sys/linux/machine/aclocal.m4
16572 libc/sys/linux/machine/configure
16573 libc/sys/linux/machine/i386/aclocal.m4
16574 libc/sys/linux/machine/i386/configure
16575 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
16576 libc/sys/mmixware/aclocal.m4 libc/sys/mmixware/configure
16577 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
16578 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
16579 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
16580 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
16581 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
16582 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
16583 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
16584 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
16585 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
16586 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
16587 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
16588 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
16589 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
16590 libm/aclocal.m4 libm/configure: Regenerated.
16592 2002-09-09 Jeff Johnston <jjohnstn@redhat.com>
16594 * libc/sys/linux/machine/i386/crt0.c (_start): Remove
16595 code that clears the .bss section.
16597 2002-09-09 Jeff Johnston <jjohnstn@redhat.com>
16599 * libc/include/sys/_types.h (_mbstate_t): Changed to use
16600 unsigned char internally.
16601 * libc/sys/linux/sys/_types.h: Ditto.
16602 * libc/include/sys/reent.h
16603 * libc/stdlib/mblen.c (mblen): Use function-specific state
16604 value from default reentrancy structure.
16605 * libc/stdlib/mblen_r.c (_mblen_r): If return code from
16606 _mbtowc_r is less than 0, reset state __count value and
16608 * libc/stdlib/mbrlen.c (mbrlen): If the input state pointer
16609 is NULL, use the function-specific pointer provided in the
16610 default reentrancy structure.
16611 * libc/stdlib/mbrtowc.c: Add reentrant form of function.
16612 If input state pointer is NULL, use function-specific area
16613 provided in reentrancy structure.
16614 * libc/stdlib/mbsrtowcs.c: Ditto.
16615 * libc/stdlib/wcrtomb.c: Ditto.
16616 * libc/stdlib/wcsrtombs.c: Ditto.
16617 * libc/stdlib/mbstowcs.c: Reformat.
16618 * libc/stdlib/wcstombs.c: Ditto.
16619 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): If an error occurs,
16620 reset the state's __count value and return -1.
16621 * libc/stdlib/mbtowc.c: Ditto.
16622 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Add restartable functionality.
16623 If number of bytes is used up before completing a valid multibyte
16624 character, return -2 and save the state.
16625 * libc/stdlib/wctomb_r.c (_wctomb_r): Define __state as __count
16626 and change some __count references to __state for clarity.
16628 2002-09-06 Jeff Johnston <jjohnstn@redhat.com>
16630 * libc/include/sys/config.h (MB_LEN_MAX): Removed as this
16631 is defined by <limits.h>.
16633 2002-09-05 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
16635 * libc/include/wchar.h (WCHAR_MAX): Only define if not already
16638 2002-09-04 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
16640 * libc/include/sys/config.h: Define accordingly __WCHAR_MAX__.
16641 * libc/include/wchar.h: Define WCHAR_MIN as 0 and WCHAR_MAX as
16642 __WCHAR_MAX__ or 0x7fffffffu.
16643 * libc/string/wcscmp.c: Delete wrong and unnecessary type cast.
16644 * libc/string/wcsncmp.c: Ditto.
16646 2002-09-03 Jeff Johnston <jjohnstn@redhat.com>
16648 * libc/string/wcschr.c: Add include of <stddef.h>.
16649 * libc/string/wcspbrk.c: Ditto.
16650 * libc/string/wcsrchr.c: Ditto.
16651 * libc/string/wcsstr.c: Ditto.
16653 2002-09-03 Jeff Johnston <jjohnstn@redhat.com>
16655 * libc/include/sys/_types.h (_flock_t): Added.
16656 * libc/include/sys/lock.h (__lock_try_acquire): New interface.
16657 (__lock_try_acquire_recursive): Ditto.
16658 * libc/include/sys/reent.h (__sFILE, __sFILE64): Add new
16660 * libc/stdio/findfp.c (std)[!__SINGLE_THREAD__]: Initialize _lock
16662 * libc/stdio/fopen.c (_fopen_r)[!__SINGLE_THREAD__]: Ditto.
16663 * libc/stdio64/fopen64.c (_fopen64_r)[!__SINGLE_THREAD__]: Ditto.
16664 * libc/sys/linux/include/time.h (struct timespec): Moved from
16665 <sys/types.h> and added check for __need_timespec flag so type
16666 can be defined by itself.
16667 * libc/sys/linux/sys/_types.h (_flock_t): New type.
16668 * libc/sys/linux/sys/types.h (struct timespec): Moved to
16671 2002-08-29 Thomas Fitzsimmons <fitzsim@redhat.com>
16673 * libc/sys/linux/argp: New directory.
16674 * libc/sys/linux/getopt.c: New file.
16675 * libc/sys/linux/getopt1.c: New file.
16676 * libc/sys/linux/getoptlong.c: Remove file.
16677 * libc/sys/linux/include/argp.h: New file.
16678 * libc/sys/linux/Makefile.am: Define argp_dir and ARGP_LIB,
16679 based on ELIX level.
16680 (SUBDIRS): Add argp_dir.
16681 (SUBLIBS): Add ARGP_LIB.
16682 (ELIX_2_OBJS): Add getopt.$(oext), getopt1.$(oext), remove
16683 getopt_long.$(oext).
16684 * libc/sys/linux/configure.in (AC_OUTPUT): Add argp/Makefile.
16686 2002-08-29 Jeff Johnston <jjohnstn@redhat.com>
16688 * libc/libc.texinfo: Add node reference to wide-character strings.
16689 * libc/string/wcstrings.tex: New file.
16690 * libc/string/strtok_r.c: Remove outdated advertising clause.
16691 * libc/string/Makefile.am (doc): Add wide-character string
16692 chapter to documentation.
16693 * libc/string/Makefile.in: Regenerated.
16695 2002-08-29 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
16697 * libc/include/wchar.h: Define NULL. Define WEOF more general
16698 way. Declare functions in newlib manner.
16699 * libc/stdlib/Makefile.am: Delete wmem*.c
16700 * libc/stdlib/Makefile.in: Regenerated.
16701 * libc/stdlib/wmemchr.c: Delete.
16702 * libc/stdlib/wmemcmp.c: Ditto.
16703 * libc/stdlib/wmemcpy.c: Ditto.
16704 * libc/stdlib/wmemmove.c: Ditto.
16705 * libc/stdlib/wmemset.c: Ditto.
16706 * libc/string/Makefile.am: Add wmem*.c and wcs*.c.
16707 * libc/string/Makefile.in: Regenerated.
16708 * libc/string/wcscat.c: New file derived from the NetBSD C Library.
16709 * libc/string/wcschr.c: Ditto.
16710 * libc/string/wcscmp.c: Ditto.
16711 * libc/string/wcscpy.c: Ditto.
16712 * libc/string/wcscspn.c: Ditto.
16713 * libc/string/wcslcat.c: Ditto.
16714 * libc/string/wcslcpy.c: Ditto.
16715 * libc/string/wcslen.c: Ditto.
16716 * libc/string/wcsncat.c: Ditto.
16717 * libc/string/wcsncmp.c: Ditto.
16718 * libc/string/wcsncpy.c: Ditto.
16719 * libc/string/wcspbrk.c: Ditto.
16720 * libc/string/wcsrchr.c: Ditto.
16721 * libc/string/wcsspn.c: Ditto.
16722 * libc/string/wcsstr.c: Ditto.
16723 * libc/string/wmemchr.c: Ditto.
16724 * libc/string/wmemcmp.c: Ditto.
16725 * libc/string/wmemcpy.c: Ditto.
16726 * libc/string/wmemmove.c: Ditto.
16727 * libc/string/wmemset.c: Ditto.
16729 2002-08-29 Jeff Johnston <jjohnstn@redhat.com>
16731 * libc/locale/locale.c (_setlocale_r)[MB_CAPABLE]: Fix so
16732 default locale "" is accepted for LC_CTYPE or LC_MESSAGES
16733 and is treated as if "C" was specified.
16735 2002-08-28 Jeff Johnston <jjohnstn@redhat.com>
16737 * Makefile.am (install-data-local): Move install of build
16738 newlib.h after installing headers in libc/include so as to
16739 overwrite default newlib.h.
16740 * Makefile.in: Regenerated.
16742 2002-08-28 Jeff Johnston <jjohnstn@redhat.com>
16744 * libc/include/newlib.h: New file for tools that use newlib
16745 headers but don't build newlib first (e.g. gcc).
16747 2002-08-28 Jeff Johnston <jjohnstn@redhat.com>
16749 * libc/stdlib/wmemchr.c: Explicitly include <_ansi.h>.
16750 * libc/stdlib/wmemcmp.c: Ditto.
16751 * libc/stdlib/wmemcpy.c: Ditto.
16752 * libc/stdlib/wmemmove.c: Ditto.
16753 * libc/stdlib/wmemset.c: Ditto.
16755 2002-08-27 Egor Duda <deo@logos-m.ru>
16757 * libc/stdlib/wmemchr.c: New file.
16758 * libc/stdlib/wmemcmp.c: Ditto.
16759 * libc/stdlib/wmemcpy.c: Ditto.
16760 * libc/stdlib/wmemmove.c: Ditto.
16761 * libc/stdlib/wmemset.c: Ditto.
16762 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add new files.
16763 * configure.host: Default -DMB_CAPABLE for cygwin.
16764 * libc/include/wchar.h: Declare wmemchr(), wmemcmp(), wmemcpy(),
16765 wmemmove() and wmemset(). Add include of <_ansi.h>.
16766 * libc/stdlib/Makefile.in: Regenerate.
16768 2002-08-27 Jeff Johnston <jjohnstn@redhat.com>
16770 * configure.host: Remove _ELIX_LEVEL flag setting.
16771 * Makefile.am(stmp-targ-include): Copy newlib.h to targ-include.
16772 (install-data-local): Install newlib.h.
16773 * Makefile.in: Regenerated.
16774 * aclocal.m4: Ditto.
16775 * configure: Ditto.
16776 * configure.in: Add AM_CONFIG_HEADER to generate newlib.h based on
16777 newlib.hin. Add AC_DEFINE_UNQUOTED entries for _ELIX_LEVEL
16778 and _NEWLIB_VERSION to fill in newlib.h header file entries.
16779 In AC_OUTPUT statement, unset ac_file so multilib support does
16780 not use last ac_file temporary used in newlib.h configuration.
16781 * libc/include/_ansi.h: Include <newlib.h>.
16782 * newlib.hin: New template file for newlib.h.
16783 * stamp-h.in: New file.
16785 2002-08-26 Wu Yongwei <adah@netstd.com>
16787 * time.h (timezonevar): Change "#if" to "#ifdef".
16789 2002-08-26 Jeff Johnston <jjohnstn@redhat.com>
16791 * Makefile.am(LIBC_OBJECTLISTS): Add STDIO64_OBJECTLIST.
16792 * Makefile.in: Regenerated.
16793 * acinclude.m4: Add support for --enable-newlib-elix-level option.
16794 * aclocal.m4: Regenerated.
16795 * configure: Ditto.
16796 * configure.host: Add code to define _ELIX_LEVEL if
16797 --enable-newlib-elix-level option is used.
16799 * libc/aclocal.m4: Regenerated.
16800 * libc/configure: Ditto.
16801 * libc/argz/Makefile.am: Add EL/IX level checking.
16802 * libc/argz/Makefile.in: Regenerated.
16803 * libc/argz/dummy.c: New file.
16804 * libc/ctype/Makefile.am: Add EL/IX level checking.
16805 * libc/ctype/Makefile.in: Regenerated.
16806 * libc/locale/Makefile.am: Add EL/IX level checking.
16807 * libc/locale/Makefile.in: Regenerated.
16808 * libc/posix/Makefile.am: Add EL/IX level checking.
16809 * libc/posix/Makefile.in: Regenerated.
16810 * libc/posix/telldir.c: Add EL/IX level checking.
16811 * libc/reent/Makefile.am: Ditto.
16812 * libc/reent/fstat64r.c: Ditto.
16813 * libc/reent/lseek64r.c: Ditto.
16814 * libc/reent/open64r.c: Ditto.
16815 * libc/reent/Makefile.in: Regenerated.
16816 * libc/search/Makefile.am: Add EL/IX level checking.
16817 * libc/search/Makefile.in: Regenerated.
16818 * libc/stdio/Makefile.am: Add EL/IX level checking.
16819 * libc/stdio/Makefile.in: Regenerated.
16820 * libc/stdio64/Makefile.am: Add EL/IX level checking.
16821 * libc/stdio64/Makefile.in: Regenerated.
16822 * libc/stdio64/dummy.c: New file.
16823 * libc/stdio64/fgetpos64.c: Fix so _LARGE64_FILES macro is checked
16824 after first include.
16825 * libc/stdio64/fopen64.c: Ditto.
16826 * libc/stdio64/freopen64.c: Ditto.
16827 * libc/stdio64/fseeko64.c: Ditto.
16828 * libc/stdio64/fsetpos64.c: Ditto.
16829 * libc/stdio64/ftello64.c: Ditto.
16830 * libc/stdio64/tmpfile64.c: Ditto.
16831 * libc/stdlib/Makefile.am: Add EL/IX level checking.
16832 * libc/stdlib/Makefile.in: Regenerated.
16833 * libc/stdlib/mstats.c: Add EL/IX level checking.
16834 * libc/string/Makefile.am: Ditto.
16835 * libc/string/Makefile.in: Regenerated.
16836 * libc/sys/linux/Makefile.am: Add EL/IX level checking.
16837 * libc/sys/linux/Makefile.in: Regenerated.
16838 * libc/sys/linux/aclocal.m4: Ditto.
16839 * libc/sys/linux/configure: Ditto.
16840 * libc/sys/linux/aio.c: Add EL/IX level checking.
16841 * libc/sys/linux/ftok.c: Ditto.
16842 * libc/sys/linux/getdate.c: Ditto.
16843 * libc/sys/linux/ids.c: Ditto.
16844 * libc/sys/linux/inode.c: Ditto.
16845 * libc/sys/linux/io.c: Ditto.
16846 * libc/sys/linux/process.c: Ditto.
16847 * libc/sys/linux/resource.c: Ditto.
16848 * libc/sys/linux/sched.c: Ditto.
16849 * libc/sys/linux/sig.c: Ditto.
16850 * libc/sys/linux/termios.c: Ditto.
16851 * libc/sys/linux/wait.c: Ditto plus add __waitpid and
16852 __libc___waitpid weak aliases.
16853 * libc/sys/linux/machine/i386/syscall.h: Add new _base macros
16854 that generate the code for a syscall, but do not create a
16856 * libc/syscalls/Makefile.am: Add EL/IX level checking.
16857 * libc/syscalls/Makefile.in: Regenerated.
16858 * libc/time/tzset_r.c: Change to replace strdup with equivalent
16860 * libc/unix/Makefile.am: Add EL/IX level checking.
16861 * libc/unix/Makefile.in: Regenerated.
16863 2002-08-26 Christopher Faylor <cgf@redhat.com>
16865 * libc/include/malloc.h: On cygwin, define malloc _r functions as
16866 wrapper macros to standard malloc functions.
16867 * libc/include/stdlib.h: Ditto.
16868 * configure.host: Always define MALLOC_PROVIDED on cygwin.
16870 2002-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
16872 * libc/include/langinfo.h: New file.
16873 * libc/include/wchar.h: Likewise.
16874 * libc/include/sys/syslimits.h: Likewise.
16875 * libc/locale/fix_grouping.c: Likewise.
16876 * libc/locale/ldpart.c: Likewise.
16877 * libc/locale/ldpart.h: Likewise.
16878 * libc/locale/lmessages.c: Likewise.
16879 * libc/locale/lmessages.h: Likewise.
16880 * libc/locale/lmonetary.c: Likewise.
16881 * libc/locale/lmonetary.h: Likewise.
16882 * libc/locale/lnumeric.c: Likewise.
16883 * libc/locale/lnumeric.h: Likewise.
16884 * libc/locale/nl_langinfo.3: Likewise.
16885 * libc/locale/nl_langinfo.c: Likewise.
16886 * libc/locale/timelocal.c: Likewise.
16887 * libc/locale/timelocal.h: Likewise.
16888 * libc/stdlib/btowc.c: Likewise.
16889 * libc/stdlib/mbrlen.c: Likewise.
16890 * libc/stdlib/mbrtowc.c: Likewise.
16891 * libc/stdlib/mbsinit.c: Likewise.
16892 * libc/stdlib/mbsrtowcs.c: Likewise.
16893 * libc/stdlib/wcrtomb.c: Likewise.
16894 * libc/stdlib/wcsrtombs.c: Likewise.
16895 * libc/stdlib/wctob.c: Likewise.
16896 * libc/sys/linux/prof-freq.c: Likewise.
16897 * libc/sys/linux/profile.c: Likewise.
16898 * libc/sys/linux/machine/i386/dl-procinfo.c: Likewise.
16899 * libc/sys/linux/machine/i386/dl-procinfo.h: Likewise.
16900 * libc/include/stdlib.h: Change re-entrant functions to take
16901 mbstate_t pointers.
16902 * libc/include/sys/_types.h: Define _mbstate_t.
16903 * libc/include/sys/config.h (MB_LEN_MAX): New macro.
16904 * libc/include/sys/errno.h (EILSEQ): New error code.
16905 * libc/include/sys/reent.h: Include wchar.h. Change reentrant
16906 structure to use mbstate_t.
16907 * libc/locale/Makefile.am (LIB_SOURCES): Add new files.
16908 * libc/machine/powerpc/vfprintf.c: Use mbstate_t.
16909 * libc/machine/powerpc/vfscanf.c: Likewise.
16910 * libc/stdio/getdelim.c: Reallocate buffer only when necessary.
16911 * libc/stdio/vfprintf.c: Likewise.
16912 * libc/stdio/vfscanf.c: Likewise.
16913 * libc/stdlib/Makefile.am (LIB_SOURCES): Add new files.
16914 * libc/stdlib/mblen.c: Use mbstate_t.
16915 * libc/stdlib/mblen_r.c: Likewise.
16916 * libc/stdlib/mbstowcs.c: Likewise.
16917 * libc/stdlib/mbstowcs_r.c: Likewise.
16918 * libc/stdlib/mbtowc.c: Likewise.
16919 * libc/stdlib/mbtowc_r.c: Likewise.
16920 * libc/stdlib/wcstombs.c: Likewise.
16921 * libc/stdlib/wcstombs_r.c: Likewise.
16922 * libc/stdlib/wctomb_r.c: Likewise.
16923 * libc/sys/linux/Makefile.am (LIB_SOURCES): Add prof-freq.c and
16925 * libc/sys/linux/machine/i386/Makefile.am (LIB_SOURCES): Add
16927 * libc/sys/linux/sys/errno.h (EILSEQ): New error code.
16928 * libc/sys/linux/sys/types.h (off_t): Define type.
16929 * testsuite/newlib.locale/UTF-8.c: Change locale name from UTF-8
16931 * testsuite/newlib.locale/UTF-8.exp: Likewise.
16933 2002-08-20 Casper S. Hornstrup <chorns@users.sourceforge.net>
16935 * libc/stdlib/mallocr.c: #include windows.h on Win32.
16936 (AlignPage): Continue macro on next line.
16938 2002-08-19 Jeff Johnston <jjohnstn@redhat.com>
16940 * libc/sys/linux/include/pthread.h: New file.
16942 2002-08-19 Jeff Johnston <jjohnstn@redhat.com>
16944 * libc/include/sys/types.h: Support __need_inttypes macro
16945 that only sets the __intxx and __uintxx types.
16946 * libc/machine/powerpc/Makefile.am: Add stdlib to include directories
16948 * libc/machine/powerpc/Makefile.in: Regenerated.
16949 * libc/machine/powerpc/vfprintf.c: Fix state variable type.
16950 * libc/machine/powerpc/vfscanf.c: Fix state variable type. Remove
16951 redundant fixed-point conversion prototypes.
16952 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Include <sys/types.h>
16953 after setting __need_inttypes.
16955 2002-08-18 Christopher Faylor <cgf@redhat.com>
16957 * libc/include/sys/unistd.h: Add getsid declaration for cygwin.
16959 2002-08-17 Jeff Johnston <jjohnstn@redhat.com>
16961 * libc/include/sys/config.h[__PPC__][__SPE__]: Set
16962 _LONG_DOUBLE to double.
16964 2002-08-17 Jeff Johnston <jjohnstn@redhat.com>
16966 * configure.host: Add powerpc*-*-eabispe* configuration.
16967 * libc/machine/powerpc/atosfix16.c: New fixed-point conversion file.
16968 * libc/machine/powerpc/atosfix32.c: Ditto.
16969 * libc/machine/powerpc/atosfix64.c: Ditto.
16970 * libc/machine/powerpc/atoufix16.c: Ditto.
16971 * libc/machine/powerpc/atoufix32.c: Ditto.
16972 * libc/machine/powerpc/atoufix64.c: Ditto.
16973 * libc/machine/powerpc/fix64.h: Ditto.
16974 * libc/machine/powerpc/simdldtoa.c: Ditto.
16975 * libc/machine/powerpc/strtosfix16.c: Ditto.
16976 * libc/machine/powerpc/strtosfix32.c: Ditto.
16977 * libc/machine/powerpc/strtosfix64.c: Ditto.
16978 * libc/machine/powerpc/strtoufix16.c: Ditto.
16979 * libc/machine/powerpc/strtoufix32.c: Ditto.
16980 * libc/machine/powerpc/strtoufix64.c: Ditto.
16981 * libc/machine/powerpc/ufix64toa.c: Ditto.
16982 * libc/machine/powerpc/configure.in: Add check for
16983 powerpc*-eabispe and add fixed-point conversion functions.
16984 * libc/machine/powerpc/configure: Regenerated.
16985 * libc/machine/powerpc/vfprintf.c[__SPE__]: Add support for
16986 %r and %R format specifiers which handle fixed-point data.
16987 * libc/machine/powerpc/vfscanf.c[__SPE__]: Ditto.
16988 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Add fixed-point
16989 function prototypes.
16991 2002-08-17 Jeff Johnston <jjohnstn@redhat.com>
16993 * Makefile.am: Move cmath stuff into libc/sys/linux.
16994 * Makefile.in: Regenerated.
16995 * configure.host: Default -DMB_CAPABLE for x86-linux.
16996 * libc/include/reent.h: Define _sbrk to take signed int argument.
16997 * libc/include/sys/unistd.h: Ditto for _sbrk_r and sbrk.
16998 * libc/locale/locale.c[MB_CAPABLE]: Add LC_MESSAGES support and
16999 make locale name checking more efficient. Also allow "C-ISO-8859-1"
17000 locale for LC_CTYPE and LC_MESSAGES.
17001 * libc/reent/sbrkr.c: Change prototype to take ptrdiff_t.
17002 * libc/sys/linux/brk.c: Change sbrk prototype.
17003 * libc/sys/linux/include/time.h: Remove Cygwin stuff and
17004 include <sys/features.h>.
17005 (CLOCK_THREAD_CPUTIME): Renamed to CLOCK_THREAD_CPUTIME_ID.
17006 (CLOCK_PROCESS_CPUTIME): Renamed to CLOCK_PROCESS_CPUTIME_ID.
17007 * libc/sys/linux/sys/cdefs.h: Replace with glibc sys/cdefs.h
17008 with a few local additions.
17009 * libc/sys/linux/sys/features.h: New file.
17010 * libc/sys/linux/sys/unistd.h: Change _sbrk_r and sbrk prototypes
17011 to take signed argument.
17012 * libc/syscalls/syssbrk.c: Change sbrk, _sbrk_r, and _sbrk
17013 prototypes to take signed size argument.
17015 2002-08-16 Thomas Fitzsimmons <fitzsim@redhat.com>
17017 * libc/sys/linux/cmath: New directory.
17018 * libc/sys/linux/include/cmathcalls.h: New file.
17019 * libc/sys/linux/include/complex.h: New file.
17020 * libc/sys/linux/machine/i386/huge_val.h: New file
17021 * libm/math/w_sincos.c: New file
17022 * libm/math/wf_sincos.c: New file
17023 * libm/mathfp/s_sincos.c: New file
17024 * libm/mathfp/sf_sincos.c: New file
17025 * Makefile.am (LIBC_OBJECTLISTS): Add cmath/objectlist.awk.in.
17026 * libc/include/math.h: Add sincos and sincosf declarations.
17027 * libc/sys/linux/Makefile.am (SUBDIRS): Add cmath.
17028 (SUBLIBS): Likewise.
17029 * libc/sys/linux/configure.in (AC_OUTPUT): Add cmath.
17030 * libm/math/Makefile.am (src): Add w_sincos.c.
17031 (fsrc): Add wf_sincos.c.
17032 * libm/mathfp/Makefile.am (src): Add s_sincos.c
17033 (fsrc): Add sf_sincos.c.
17035 2002-08-12 Jeff Johnston <jjohnstn@redhat.com>
17037 * libc/sys/linux/machine/i386/crt0.c (__bss_start,_end):
17038 Declare as extern chars and use the address operator to
17039 properly use values set in linker script.
17041 2002-08-09 Jason Tishler <jason@tishler.net>
17043 * libc/stdlib/mallocr.c: Include <limits.h>.
17044 (request2size): Change macro to do
17045 unsigned long comparisons and avoid signed overflow.
17046 (mALLOc): Add overflow check for the number of bytes to allocate.
17049 2002-08-09 Jeff Johnston <jjohnstn@redhat.com>
17051 * configure.host: Add check for --enable-newlib-io-pos-args
17052 and define WANT_IO_POS_ARGS flag if enabled. Define
17053 the flag by default for x86-linux configurations.
17054 * configure.in: Add support for --enable-newlib-io-pos-args.
17055 * libc/configure.in: Ditto.
17056 * configure: Regenerated.
17057 * libc/configure: Ditto.
17058 * libc/stdio/Makefile.am: Specify -fshort-enums for compiling
17059 vfprintf.c and vfiprintf.c.
17060 * libc/stdio/Makefile.in: Regenerated.
17061 * libc/stdio/vfprintf.c: Add positional argument support that
17062 is enabled by compiling with -DWANT_IO_POS_ARGS.
17064 2002-08-07 Richard Sandiford <rsandifo@redhat.com>
17066 * libc/include/machine/setjmp.h: For mips, define _JBLEN based
17067 based on __mips_soft_float rather than __mips64.
17068 * libc/machine/mips/setjmp.S: Provide hard and soft float versions
17069 of both 32-bit and 64-bit code.
17071 2002-08-04 Christopher Faylor <cgf@redhat.com>
17073 * libc/stdio/popen.c (popen): Allow "rb", "rt", "wb", and "wt"
17074 arguments for popen to match similar functionality in fopen.
17076 2002-07-29 Pierre Humblet <pierre.humblet@ieee.org>
17078 * libc/include/sys/unistd.h: Add setgroups prototype for Cygwin.
17080 2002-07-29 Jeff Johnston <jjohnstn@redhat.com>
17082 * libc/sys/linux/Makefile.am: Add aio64.c.
17083 * libc/sys/linux/Makefile.in: Regenerated.
17084 * libc/sys/linux/aio.c (aio_init): ENOSYS stub added.
17085 * libc/sys/linux/aio64.c: New file.
17087 2002-07-26 Jeff Johnston <jjohnstn@redhat.com>
17089 * libc/include/sys/param.h (MAX, MIN): Added macros.
17090 * libc/sys/linux/Makefile.am: Add new files.
17091 * libc/sys/linux/Makefile.in: Regenerated.
17092 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
17093 * libc/sys/linux/inode.c (fchdir): Added syscall.
17094 * libc/sys/linux/ftw.c: New file.
17095 * libc/sys/linux/ftw64.c: Ditto.
17096 * libc/sys/linux/getwd.c: Ditto.
17097 * libc/sys/linux/scandir64.c: Ditto.
17098 * libc/sys/linux/strverscmp.c: Ditto.
17099 * libc/sys/linux/versionsort.c: Ditto.
17100 * libc/sys/linux/versionsort64.c: Ditto.
17102 2002-07-26 Jeff Johnston <jjohnstn@redhat.com>
17104 * libc/string/strings.tex: Fix typo for memccpy.
17106 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
17108 * libc/sys/linux/io64.c (truncate64, ftruncate64): Added.
17109 * libc/sys/linux/sys/types.h (off64_t): Definition added.
17111 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
17113 * libc/sys/linux/Makefile.am: Add fclean.c.
17114 * libc/sys/linux/Makefile.in: Regenerated.
17115 * libc/sys/linux/fclean.c: New file.
17117 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
17119 * libc/sys/linux/Makefile.am: Add confstr.c.
17120 * libc/sys/linux/Makefile.in: Regenerated.
17121 * libc/sys/linux/confstr.c: New file.
17122 * libc/sys/linux/confstr.h: Ditto.
17123 * libc/sys/linux/sys/unistd.h: Include <features.h> and
17124 <bits/environments.h>.
17126 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
17128 * libc/sys/linux/config.h (__set_errno): Macro definition removed.
17129 * libc/sys/linux/fpathconf.c (__set_errno): Ditto.
17130 * libc/sys/linux/libc-internal.h (__set_errno): Ditto.
17131 * libc/sys/linux/pathconf.c (__set_errno): Ditto.
17132 * libc/sys/linux/ttyname_r.c (__set_errno): Ditto.
17133 * libc/sys/linux/sys/errno.h (__set_errno): Macro definition added.
17135 2002-07-24 Jeff Johnston <jjohnstn@redhat.com>
17137 * libc/sys/linux/Makefile.am: Add new files.
17138 * libc/sys/linux/Makefile.in: Regenerated.
17139 * libc/sys/linux/fstab.c: New file.
17140 * libc/sys/linux/fstatvfs.c: Ditto.
17141 * libc/sys/linux/fstatvfs64.c: Ditto.
17142 * libc/sys/linux/internal_statvfs.c: Ditto.
17143 * libc/sys/linux/mntent.c: Ditto.
17144 * libc/sys/linux/mntent_r.c: Ditto.
17145 * libc/sys/linux/statvfs.c: Ditto.
17146 * libc/sys/linux/statvfs64.c: Ditto.
17147 * libc/sys/linux/include/paths.h: Ditto.
17148 * libc/sys/linux/inode.c (statfs, fstatfs): New syscalls
17149 with double-underscore weak-aliases.
17150 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
17152 2002-07-24 Jeff Johnston <jjohnstn@redhat.com>
17154 * libc/include/signal.h (SIG_IGN, SIG_DFL, SIG_ERR): Change
17155 to use _sig_func_ptr type casted constants.
17156 (_sig_func_ptr): Typedef moved to sys/signal.h.
17157 * libc/include/sys/signal.h (_sig_func_ptr): Typedef added.
17158 For __rtems, use POSIX definition, otherwise default to ANSI.
17159 * libc/sys/linux/sys/signal.h (_sig_func_ptr): Typedef added.
17161 2002-07-24 Stephane Carrez <stcarrez@nerim.fr>
17163 * configure.host: Recognize m6811-elf and m6812-elf targets.
17164 * libc/include/machine/setjmp.h (_JBLEN): Define for 68hc11/68hc12.
17165 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Define for 68HC11.
17166 (_DOUBLE_IS_32BITS): Define when compiling with -fshort-double.
17167 * libc/include/sys/config.h (INT_MAX, UINT_MAX): Define
17168 according to __INT_MAX__.
17169 (_POINTER_INT): Define to short.
17170 * libc/machine/m68hc11/Makefile.am: New file.
17171 * libc/machine/m68hc11/Makefile.in: New file.
17172 * libc/machine/m68hc11/configure.in: New file.
17173 * libc/machine/m68hc11/configure: New file.
17174 * libc/machine/m68hc11/aclocal.m4: New file.
17175 * libc/machine/m68hc11/setjmp.S: New file.
17177 2002-07-23 Jeff Johnston <jjohnstn@redhat.com>
17179 * libc/include/string.h: Add mempcpy, strndup, and _strndup_r
17181 * libc/stdlib/Makefile.am: Remove strdup.c and strdup_r.c.
17182 * libc/stdlib/Makefile.in: Regenerated.
17183 * libc/stdlib/strdup.c: Removed.
17184 * libc/stdlib/strdup_r.c: Removed.
17185 * libc/string/Makefile.am: Add strdup.c, strdup_r.c, memccpy.c,
17186 mempcpy.c, strndup.c, and strndup_r.c.
17187 * libc/string/Makefile.in: Regenerated.
17188 * libc/string/memccpy.c: New file.
17189 * libc/string/mempcpy.c: Ditto.
17190 * libc/string/strndup.c: Ditto.
17191 * libc/string/strndup_r.c: Ditto.
17192 * libc/string/strdup.c: New file moved from stdlib.
17193 * libc/string/strdup_r.c: Ditto.
17194 * libc/string/strings.tex: Add memccpy and mempcpy documentation.
17196 2002-07-23 Jeff Johnston <jjohnstn@redhat.com>
17198 * libc/include/stdio.h: Move fcloseall prototype within
17199 #ifndef _REENT_ONLY section.
17200 * libc/sys/linux/Makefile.am: Add new files.
17201 * libc/sys/linux/Makefile.in: Regenerated.
17202 * libc/sys/linux/sys/stdio.h: Add ctermid prototype.
17203 * libc/sys/linux/sys/unistd.h: Add ttyname_r prototype.
17204 * libc/sys/linux/sys/types.h: Add ino64_t type.
17205 * libc/sys/linux/ctermid.c: New file.
17206 * libc/sys/linux/ttyname_r.c: Ditto.
17207 * libc/sys/linux/readdir64.c: Ditto.
17209 2002-07-22 Jeff Johnston <jjohnstn@redhat.com>
17211 * libc/include/stdio.h (fcloseall, _fcloseall_r): Added prototypes.
17212 * libc/stdio/Makefile.am: Added fcloseall.c support.
17213 * libc/stdio/Makefile.in: Regenerated.
17214 * libc/stdio/fcloseall.c: New file.
17215 * libc/stdio64/Makefile.am: Remove missing .def references.
17216 * libc/stdio64/Makefile.in: Regenerated.
17218 2002-07-22 Jeff Johnston <jjohnstn@redhat.com>
17220 * libc/machine/powerpc/time.c: Removed..renamed to times.c.
17221 * libc/machine/powerpc/times.c: New file.
17222 * libc/machine/powerpc/Makefile.am: Change time.c to times.c.
17223 * libc/machine/powerpc/Makefile.in: Regenerated.
17225 2002-07-22 Aldy Hernandez <aldyh@redhat.com>
17227 * libc/machine/powerpc/time.c: New file.
17228 * libc/machine/powerpc/Makefile.am (lib_a_SOURCES): Add
17230 * libc/machine/powerpc/Makefile.in: Regenerated.
17232 2002-07-22 Thomas Fitzsimmons <fitzsim@redhat.com>
17234 * libc/libc.texinfo: Change copyright notices to Red Hat from
17236 * libm/libm.texinfo: Likewise.
17237 * README: Change docs URL to
17238 http://sources.redhat.com/newlib/docs.html.
17240 2002-07-19 Jeff Johnston <jjohnstn@redhat.com>
17242 * libc/sys/linux/Makefile.am: Add pathconf.c and fpathconf.c.
17243 * libc/sys/linux/Makefile.in: Regenerated.
17244 * libc/sys/linux/inode.c: Add chmod, fchmod, and chown syscalls.
17245 * libc/sys/linux/io.c: Add ftruncate syscall.
17246 * libc/sys/linux/fpathconf.c: New file.
17247 * libc/sys/linux/pathconf.c: Ditto.
17248 * libc/sys/linux/linux_fsinfo.h: Ditto.
17249 * libc/sys/linux/sys/unistd.h: Ditto.
17251 2002-07-19 Jeff Johnston <jjohnstn@redhat.com>
17253 * libc/stdio64/Makefile.am: Remove missing files.
17254 * libc/stdio64/Makefile.in: Regenerated.
17256 2002-07-19 Jeff Johnston <jjohnstn@redhat.com>
17258 * libc/include/sys/config.h[__i386__][__linux__]: Define
17259 _LARGE64FILE_SOURCE to 1.
17260 * libc/sys/linux/Makefile.am: Add getrlimit64.c and setrlimit64.c.
17261 * libc/sys/linux/Makefile.in: Regenerated.
17262 * libc/sys/linux/resource.c: Add __getrlimit and __setrlimit aliases.
17263 * libc/sys/linux/sys/linux_time.h: Protect struct timeval definition.
17264 * libc/sys/linux/sys/resource.h: Include <bits/resource.h> instead
17265 of <linux/resource.h>.
17266 * libc/sys/linux/getrlimit64.c: New file.
17267 * libc/sys/linux/setrlimit64.c: Ditto.
17269 2002-07-19 Thomas Fitzsimmons <fitzsim@redhat.com>
17271 * libc/argz/argz_replace.c: Include buf_findstr.h.
17272 * libc/argz/buf_findstr.c: Likewise.
17273 * libc/argz/envz_entry.c: Include buf_findstr.h. Cast return
17275 * libc/argz/envz_get.c: Likewise.
17276 * libc/include/sys/unistd.h: Add getopt and getsubopt declarations.
17277 * libc/stdlib/Makefile.am (LIB_SOURCES): Add getsubopt.c.
17278 * libc/stdlib/getsubopt.3: New file.
17279 * libc/stdlib/getsubopt.c: New file.
17280 * libc/sys/linux/machine/i386/socketcall.h (__sockcall_base):
17283 2002-07-17 Jeff Johnston <jjohnstn@redhat.com>
17285 * configure.host(stdio64_dir): New setting that is used to
17286 enable building of new stdio64 directory.
17287 * libc/Makefile.am[HAVE_STDIO64_DIR]: Add support for
17289 (stmp-stdio64,stdio64.texi): New targets to optionally add in
17290 stdio64 info to info files.
17291 * libc/Makefile.in: Regenerated.
17292 * libc/configure: Ditto.
17293 * libc/configure.in: Add configuration variables that are set
17294 when stdio64 is selected as subdir in configure.host.
17295 * libc/libc.texinfo: Add optional menu item for Stdio64, based
17296 on whether STDIO64 flag is set or not.
17297 * libc/sys.tex: Add optional stdio64 syscalls based on whether
17298 STDIO64 flag is set or not.
17299 * libc/include/reent.h[__LARGE64_FILES]: Add new stdio64
17300 _r sycall routines.
17301 * libc/include/stdio.h[__LARGE64_FILES]: Add new stdio64 prototypes.
17302 (FILE): Typedef'd to __FILE instead of struct __sFILE directly.
17303 (__SL64): New file flag indicating file is opened via fopen64.
17304 * libc/include/sys/_types.h(_off64_t): Added.
17305 * libc/include/sys/config.h: For x86-linux, define __LARGE64_FILES.
17306 * libc/include/sys/reent.h(struct __sFILE64): New file structure
17307 for 64-bit offset large file support.
17308 (__FILE): New intermediate type either set to struct __sFILE64 or
17309 struct __sFILE, depending on whether __LARGE64_FILES is set or not.
17310 * libc/reent/Makefile.am[HAVE_STDIO64_DIR]: Add new files.
17311 * libc/reent/Makefile.in: Regenerated.
17312 * libc/reent/fstat64r.c: New file.
17313 * libc/reent/lseek64r.c: Ditto.
17314 * libc/reent/open64r.c: Ditto.
17315 * libc/reent/reent.tex: Optionally add stdio64 reentrant syscalls
17316 based on whether STDIO64 flag is set.
17317 * libc/stdio/stdio.tex: Add blank line.
17318 * libc/stdio64/Makefile.am: New file.
17319 * libc/stdio64/Makefile.in: Ditto.
17320 * libc/stdio64/fgetpos64.c: Ditto.
17321 * libc/stdio64/fopen64.: Ditto.
17322 * libc/stdio64/freopen64.c: Ditto.
17323 * libc/stdio64/fseeko64.c: Ditto.
17324 * libc/stdio64/fsetpos64.c: Ditto.
17325 * libc/stdio64/ftello64.c: Ditto.
17326 * libc/stdio64/local64.h: Ditto.
17327 * libc/stdio64/stdio64.c: Ditto.
17328 * libc/stdio64/stdio64.tex: Ditto.
17329 * libc/stdio64/tmpfile64.c: Ditto.
17330 * libc/sys/linux/io64.c: Add weak aliases for lseek64, fstat64, and
17333 2002-07-16 Jeff Johnston <jjohnstn@redhat.com>
17335 * libc/Makefile.am (stmp-extra): New target to set makeinfo flag
17336 if LIBC_EXTRA_LIB is present.
17337 * libc/Makefile.in: Regenerated.
17338 * libc/libc.texinfo: Add blank line.
17339 * libc/argz/Makefile.am: Add doc support.
17340 * libc/search/Makefile.am: Ditto.
17341 * libc/argz/Makefile.in: Regenerated.
17342 * libc/search/Makefile.in: Ditto.
17343 * libc/misc/misc.tex: Add ffs function.
17344 * libc/stdio/ftell.c: Fix missing doc delimeter in description.
17346 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
17348 * libc/include/sys/config.h[__H8300__]: Replace __SMALL_BITFIELDS
17349 definition that was removed in error.
17351 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
17353 * libc/include/machine/ieeefp.h: Change to only define
17354 floating point defines (e.g one of __IEEE_BIG_ENDIAN or
17355 __IEEE_LITTLE_ENDIAN must be defined for each platform).
17356 * libc/include/sys/config.h: Include <machine/ieeefp.h> and
17357 remove redundant floating point definitions.
17359 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
17361 * libc/sys/linux/callocr.c: Fix so code references
17364 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
17366 * libc/sys/linux/Makefile.am: Add new files.
17367 * libc/sys/linux/Makefile.in: Regenerated.
17368 * libc/sys/linux/bp-sym.h: Moved to include directory.
17369 * libc/sys/linux/mmap.c: Add weak aliases: __mmap, __munmap, __mremap.
17370 * libc/sys/linux/inode.c: Set _LIBC to 1.
17371 * libc/sys/linux/mq_close.c: Ditto.
17372 * libc/sys/linux/mq_getattr.c: Ditto.
17373 * libc/sys/linux/mq_open.c: Ditto.
17374 * libc/sys/linux/mq_receive.c: Ditto.
17375 * libc/sys/linux/mq_send.c: Ditto.
17376 * libc/sys/linux/mq_setattr.c: Ditto.
17377 * libc/sys/linux/mq_unlink.c: Ditto.
17378 * libc/sys/linux/calloc.c: New file.
17379 * libc/sys/linux/callocr.c: Ditto.
17380 * libc/sys/linux/cfreer.c: Ditto.
17381 * libc/sys/linux/config.h: Ditto.
17382 * libc/sys/linux/free.c: Ditto.
17383 * libc/sys/linux/freer.c: Ditto.
17384 * libc/sys/linux/msize.c: Ditto.
17385 * libc/sys/linux/msizer.c: Ditto.
17386 * libc/sys/linux/mstats.c: Ditto.
17387 * libc/sys/linux/mtrim.c: Ditto.
17388 * libc/sys/linux/mtrimr.c: Ditto.
17389 * libc/sys/linux/pvallocr.c: Ditto.
17390 * libc/sys/linux/realloc.c: Ditto.
17391 * libc/sys/linux/reallocr.c: Ditto.
17392 * libc/sys/linux/thread-m.h: Ditto.
17393 * libc/sys/linux/vallocr.c: Ditto.
17394 * libc/sys/linux/bp-checks.h: Ditto.
17395 * libc/sys/linux/libc-symbols.h: Ditto.
17396 * libc/sys/linux/libc-tsd.h: Ditto.
17397 * libc/sys/linux/libintl.h: Ditto.
17398 * libc/sys/linux/malign.c: Ditto.
17399 * libc/sys/linux/malignr.c: Ditto.
17400 * libc/sys/linux/mallinfor.c: Ditto.
17401 * libc/sys/linux/malloc.c: Ditto.
17402 * libc/sys/linux/mallocr.c: Ditto.
17403 * libc/sys/linux/malloptr.c: Ditto.
17404 * libc/sys/linux/mallstatsr.c: Ditto.
17405 * libc/sys/linux/mcheck.c: Ditto.
17406 * libc/sys/linux/mhooks.h: Ditto.
17407 * libc/sys/linux/include/bp-sym.h: Ditto.
17408 * libc/sys/linux/include/malloc.h: Ditto.
17409 * libc/sys/linux/include/mcheck.h: Ditto.
17410 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Remove
17412 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerated.
17413 * libc/sys/linux/linuxthreads/machine/i386/getpagesize.c: Moved.
17414 * libc/sys/linux/machine/i386/getpagesize.c: New file.
17415 * libc/sys/linux/machine/i386/Makefile.am: Add getpagesize.c.
17416 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
17417 * libc/sys/linux/machine/i386/sysdep.h: New file.
17418 * libc/sys/linux/machine/i386/weakalias.h: Add weak_function support.
17419 * libc/sys/linux/sys/dirent.h: Set _LIBC to 1.
17420 * libc/sys/linux/sys/lock.h: Include <machine/weakalias.h>.
17422 2002-07-12 Jeff Johnston <jjohnstn@redhat.com>
17424 * libc/sys/linux/include/mqueue.h: Change to use <bits/siginfo.h>
17425 instead of <asm/siginfo.h>.
17426 * libc/sys/linux/sys/signal.h: Change to include various linux
17427 <bits/xxx.h> header files, rather than <linux/signal.h> so as
17428 to work with multiple releases of glibc header files.
17430 2002-07-11 Chris Demetriou <cgd@broadcom.com>
17432 * testsuite/newlib.search/hsearchtest.c: New file to test
17433 newlib/libc/search.
17434 * testsuite/newlib.search/hsearchtest.exp: Likewise.
17436 2002-07-10 Florian Schrack <florian.schrack@freenet.de>
17438 * libc/sys/mmixware/read.c: Use SYS_Fgets syscall if dealing with
17440 * libc/sys/mmixware/sys/syscall.h (SYS_Fgets): Definition added.
17442 2002-07-08 Jeff Johnston <jjohnstn@redhat.com>
17444 * libc/include/math.h (MAXFLOAT): Added.
17446 Mon Jul 8 13:55:23 2002 J"orn Rennecke <joern.rennecke@superh.com>
17448 * libc/machine/sh/Makefile.am (lib_a_SOURCES):
17449 Make strcmp.S unconditional.
17450 * libc/machine/sh/Makefile.in: Regenerate.
17451 * libc/machine/sh/asm.h (DELAYED_BRANCHES, SL): Also for __SH5__ .
17452 * strcmp.S (strcmp): Add SHmedia variant. Use different registers
17455 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
17457 * libc/sys/linux/inode.c: Fix utime prototype and add _LIBC
17458 define before including <sys/lock.h>.
17460 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
17462 * libc/include/utime.h: Add include of <_ansi.h>.
17463 * libc/sys/linux/Makefile.am: Add utimes.c.
17464 * libc/sys/linux/Makefile.in: Regenerated.
17465 * libc/sys/linux/inode.c(__umask): New static routine.
17466 (umask): Written to use __umask and attempt to thread lock.
17467 (getumask): New function written to use __umask and thread lock.
17468 * libc/sys/linux/utimes.c: New file.
17469 * libc/sys/linux/sys/time.h: Fix utimes prototype.
17470 * libc/sys/linux/sys/utime.h: New file.
17472 2002-07-04 Thomas Fitzsimmons <fitzsim@redhat.com>
17474 * libtool.m4: New file.
17475 * libc/sys/linux/process.c: Implement vfork in terms of fork,
17476 rather than as a syscall.
17478 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
17480 * libc/include/stdio.h: Add new prototypes.
17481 * libc/stdio/Makefile.am: Add fseeko.c and ftello.c.
17482 * libc/stdio/Makefile.in: Regenerated.
17483 * libc/stdio/fseek.c: Add fseeko documentation.
17484 * libc/stdio/ftell.c: Add ftello documentation.
17485 * libc/stdio/fseeko.c: New file.
17486 * libc/stdio/ftello.c: New file.
17488 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
17490 * libc/stdio/Makefile.am: Add asprintf.c and vasprintf.c.
17491 * libc/stdio/Makefile.in: Regenerated.
17492 * libc/stdio/asprintf.c: New file.
17493 * libc/stdio/vasprintf.c: Ditto.
17494 * libc/stdio/fvwrite.c: Add code to dynamically reallocate
17495 the buffer for asprintf support.
17496 * libc/stdio/sprintf.c: Add asprintf documentation.
17497 * libc/stdio/vfprintf.c: Add vasprintf documentation.
17498 * libc/include/stdio.h: Add new prototypes.
17500 2002-07-02 Thomas Fitzsimmons <fitzsim@redhat.com>
17502 * libc/search/hcreate.c: Remove advertising clause from license.
17503 * libc/search/hcreate_r.c: Likewise.
17505 2002-07-02 Chris Demetriou <cgd@broadcom.com>
17507 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN)
17508 (__IEEE_BIG_ENDIAN): Define appropriately for MIPS.
17509 Check that one of them is defined and error out if not.
17510 Add any platforms defined in <machine/ieeefp.h> that are missing.
17511 * libc/search/hash.h (DB_BYTE_ORDER, DB_BIG_ENDIAN)
17512 (DB_LITTLE_ENDIAN): New defines.
17513 * libc/search/hash.c: Replace all incorrect checks for
17514 _IEEE_LITTLE_ENDIAN with tests of BYTE_ORDER, and all uses of
17515 BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN with DB_* versions.
17516 * libc/search/hash_page.c: Likewise.
17518 2002-06-28 Thomas Fitzsimmons <fitzsim@redhat.com>
17520 * libm/mathfp/sf_pow.c (powf): Change k from int to float.
17522 2002-06-27 Benjamin Kosnik <bkoz@redhat.com>
17524 * libc/include/stdio.h: Untangle, add _BEGIN_STD_C and _END_STD_C.
17525 * libc/include/time.h: Same.
17526 * libc/include/string.h: Same.
17527 * libc/include/stdlib.h: Same.
17528 * libc/include/signal.h: Same.
17529 * libc/include/setjmp.h: Same.
17530 * libc/include/math.h: Same.
17531 * libc/include/locale.h: Same.
17532 * libc/include/ctype.h: Same.
17533 * libc/include/machine/setjmp.h: Same.
17534 * libc/include/_ansi.h (_BEGIN_STD_C): Add.
17537 2002-06-27 Jeff Johnston <jjohnstn@redhat.com>
17539 * libc/include/sys/_types.h: Define _ssize_t as int if int is
17540 32-bits, otherwise define it as long.
17541 * libc/include/sys/types.h: Include <_ansi.h> and <sys/_types.h>
17542 and define ssize_t as _ssize_t.
17543 * libc/reent/readr.c: Change return type to _ssize_t.
17544 * libc/reent/writer.c: Ditto.
17545 * libc/sys/linux/Makefile.am: Add aio.c.
17546 * libc/sys/linux/Makefile.in: Regenerated.
17547 * libc/sys/linux/aio.c: New file.
17548 * libc/sys/linux/sys/cdefs.h: Add __restrict_arr definition.
17549 * libm/common/fdlibm.h: Undef __P before defining it.
17551 2002-06-27 Thomas Fitzsimmons <fitzsim@redhat.com>
17553 * libm/mathfp/s_pow.c (pow): Fix checks on variable k. Add
17554 exponent_is_even_int variable. Handle case where x is
17555 negative, and y is an odd integer.
17556 * libm/mathfp/sf_pow.c (powf): Likewise.
17558 * libm/mathfp/er_lgamma.c: Remove __kernel references.
17559 * libm/mathfp/erf_lgamma.c: Likewise.
17560 * libm/mathfp/s_tgamma.c: Likewise.
17561 * libm/mathfp/sf_tgamma.c: Likewise.
17563 2002-06-27 Jeff Johnston <jjohnstn@redhat.com>
17565 * libc/sys/linux/Makefile.am: Add new clock routines.
17566 * libc/sys/linux/Makefile.in: Regenerated.
17567 * libc/sys/linux/clock_getres.c: New file.
17568 * libc/sys/linux/clock_gettime.c: Ditto.
17569 * libc/sys/linux/clock_settime.c: Ditto.
17570 * libc/sys/linux/hp-timing.h: Ditto.
17571 * libc/sys/linux/libc-internal.h: Ditto.
17572 * libc/sys/linux/sysconf.c: Fix typo.
17573 * libc/sys/linux/include/time.h: Add include of <sys/linux_time.h>.
17574 * libc/sys/linux/machine/hp-timing.h: New file.
17575 * libc/sys/linux/machine/i386/Makefile.am: Add new files.
17576 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
17577 * libc/sys/linux/machine/i386/get_clockfreq.c: New file.
17578 * libc/sys/linux/machine/i386/hp-timing.c: Ditto.
17579 * libc/sys/linux/machine/i386/hp-timing.h: Ditto.
17580 * libc/sys/linux/sys/linux_time.h: New file.
17581 * libc/sys/linux/sys/time.h: Remove include of <linux/time.h> and
17582 replace with <sys/linux_time.h>.
17584 Wed Jun 26 16:33:25 2002 J"orn Rennecke <joern.rennecke@superh.com>
17586 * libc/sys/sh/crt0.S: Remove vestigial .section directive.
17588 2002-06-25 Jeff Johnston <jjohnstn@redhat.com>
17590 * libc/sys/linux/Makefile.am: Consolidate additional items under
17592 * libc/sys/linux/Makefile.in: Regenerated.
17594 2002-06-25 Jeff Johnston <jjohnstn@redhat.com>
17596 * libc/sys/linux/sethostname.c: New file.
17597 * libc/sys/linux/Makefile.am: Add sethostname.c support.
17598 * libc/sys/linux/Makefile.in: Regenerated.
17600 2002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
17602 * libc/search/db_local.h: New file.
17603 * libc/include/db.h: Remove.
17604 * libc/search/Makefile.am (LIB_SOURCES): Add db_local.h.
17605 * libc/search/hash.c (MIN,MAX): Add macros. Change <db.h> to
17607 * libc/search/hash_bigkey.c: Likewise.
17608 * libc/search/hash_buf.c: Likewise.
17609 * libc/search/hash_func.c: Likewise.
17610 * libc/search/hash_log2.c: Likewise.
17611 * libc/search/hash_page.c: Likewise.
17613 2002-06-24 J"orn Rennecke <joern.rennecke@superh.com>
17615 * libc/machine/sh/strlen.S: New file.
17616 * libc/machine/sh/Makefile.am (lib_a_SOURCES): Add rule for it.
17617 * libc/machine/sh/Makefile.am: Regenerate.
17619 2002-06-24 Jeff Johnston <jjohnstn@redhat.com>
17621 * libc/sys/linux/gethostname.c: Change name to __gethostname and
17622 add gethostname alias.
17624 2002-06-24 Jeff Johnston <jjohnstn@redhat.com>
17626 * libc/include/math.h: Remove <sys/types.h>.
17627 (__dmath): Use __ULong instead of __uint32_t.
17628 * libc/include/sys/reent.h: If long or int is not 32-bits,
17629 include <sys/types.h> to get definitions for __int32_t and __uint32_t.
17630 * libc/stdlib/mprec.h: Include <sys/types.h> to get integer defs.
17631 * libm/common/fdlibm.h: Ditto.
17633 2002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
17635 * libc/include/ndbm.h: Remove.
17636 * libc/search/ndbm.c: Remove.
17638 2002-06-24 WATANABE Hirofumi <eban@os.rim.or.jp>
17640 * libc/stdio/fseek.c (fseek): Fix braces.
17642 2002-06-21 Corinna Vinschen <corinna@vinschen.de>
17644 * libc/time/strftime.c (strftime): Add %e format specifier.
17646 2002-06-21 Thomas Fitzsimmons <fitzsim@redhat.com>
17648 * libc/search/hash.h (LITTLE_ENDIAN, BIG_ENDIAN): Define if not
17649 previously defined.
17651 2002-06-21 Richard Earnshaw (rearnsha@arm.com)
17653 * libc/sys/arm/sys/param.h (BIG_ENDIAN, LITTLE_ENDIAN): Define.
17654 (BYTE_ORDER): Define as appropriate for the target.
17656 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
17658 * libc/include/sys/config.h[__linux__]: Set _READ_WRITE_RETURN_TYPE
17660 * libc/sys/linux/io.c (read, write): Change to return ssize_t.
17662 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
17664 * libc/include/stdio.h (__getline, __getdelim): New prototypes.
17665 * libc/include/time.h [HAVE_GETDATE](getdate, getdate_r): Ditto.
17666 [HAVE_GETDATE](getdate_err): New error code.
17667 * libc/stdio/Makefile.am: Add support for getline.c and getdelim.c.
17668 * libc/stdio/Makefile.in: Regenerated.
17669 * libc/stdio/getdelim.c: New file.
17670 * libc/stdio/getline.c: Ditto.
17671 * libc/sys/linux/Makefile.am: Add support for getdate.c, getdate_err.c
17672 and ntp_gettime.c. Also add AM_CFLAGS to point to libc/stdio.
17673 * libc/sys/linux/Makefile.in: Regenerated.
17674 * libc/sys/linux/getdate.c: New file.
17675 * libc/sys/linux/getdate_err.c: Ditto.
17676 * libc/sys/linux/ntp_gettime.c: Ditto.
17677 * libc/sys/linux/time.c (adjtimex, ntp_adjtime): New functions.
17678 * libc/sys/linux/sys/stdio.h (getline, getdelim): New macros.
17680 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
17682 * libc/include/math.h: Add <sys/types.h> to get _uint32_t definition.
17683 * libc/include/machine/types.h: Skip __off_t, __pid_t, and
17684 __loff_t definitions if special _HAVE_SYSTYPES macro defined.
17685 * libc/include/sys/config.h: Removed _uint*, _int* definitions.
17686 * libc/include/sys/param.h: Remove i386 case which is handled
17688 (BIG_ENDIAN, LITTLE_ENDIAN): Protect
17689 definitions in case they are already defined.
17690 (BYTE_ORDER): Add default case using _IEEE_BIG_ENDIAN and
17691 _IEEE_LITTLE_ENDIAN flags.
17692 * libc/include/sys/reent.h: Change __uint32_t references to
17693 use _ULong instead.
17694 (_REENT_GETDATE_REENT_P): New macro.
17695 * libc/include/sys/types.h (__int16_t, __uint16_t): Added.
17696 (__int32_t, __uint32_t, __int64_t, __uint64_t): Ditto.
17697 * libc/search/hash.h: Add default setting of BYTE_ORDER,
17698 LITTLE_ENDIAN, and BIG_ENDIAN, if not already defined.
17699 * libc/sys/linux/sys/types.h: Include <sys/_types.h>. Define
17700 ssize_t based on _ssize_t. Remove __socklen_t, __uintptr_t,
17701 pid_t, off_t, loff_t, caddr_t, and daddr_t type
17702 definitions which are done by subsequent glibc headers.
17703 Add macro definitions to prevent subsequent header files from
17704 defining pid_t, off_t, ssize_t, and key_t. Move uintptr_t and
17705 intptr_t to after glibc definitions of types they are based on.
17707 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
17709 * libc/include/errno.h: Protect from multiple inclusion.
17711 2002-06-21 Nick Clifton <nickc@cambridge.redhat.com>
17713 * libc/sys/arm/swi.h (ADP_Stopped_RunTimeError): Set correct value.
17715 2002-06-20 Thomas Fitzsimmons <fitzsim@redhat.com>
17717 * Makefile.am (LIB_OBJECTLISTS): Add
17718 libc/search/objectlist.awk.in.
17719 * libc/Makefile.am (SUBDIRS): Add search.
17720 (SUBLIBS): Add search/libsearch.la.
17721 * libc/configure.in (AC_OUTPUT): Add search/Makefile.
17722 * libc/search: New directory.
17723 * libc/search/Makefile.am: New file.
17724 * libc/search/extern.h: New file.
17725 * libc/search/hash.c: New file.
17726 * libc/search/hash.h: New file.
17727 * libc/search/hash_bigkey.c: New file.
17728 * libc/search/hash_buf.c: New file.
17729 * libc/search/hash_func.c: New file.
17730 * libc/search/hash_log2.c: New file.
17731 * libc/search/hash_page.c: New file.
17732 * libc/search/hcreate.3: New file.
17733 * libc/search/hcreate.c: New file.
17734 * libc/search/hcreate_r.c: New file.
17735 * libc/search/ndbm.c: New file.
17736 * libc/search/page.h: New file.
17737 * libc/search/tdelete.c: New file.
17738 * libc/search/tdestroy.c: New file.
17739 * libc/search/tfind.c: New file.
17740 * libc/search/tsearch.3: New file.
17741 * libc/search/tsearch.c: New file.
17742 * libc/search/twalk.c: New file.
17743 * libc/include/db.h: New file.
17744 * libc/include/ndbm.h: New file.
17745 * libc/include/search.h: New file.
17746 * libc/include/sys/queue.h: New file.
17747 * libc/include/sys/cdefs.h: New file.
17748 * libc/include/sys/param.h
17749 [__IEEE_LITTLE_ENDIAN,__IEEE_BIG_ENDIAN]: Set BYTE_ORDER to
17750 LITTLE_ENDIAN or BIG_ENDIAN.
17751 * libc/include/sys/errno.h (EFTYPE): New macro.
17752 * libc/search/bsearch.c: Move from libc/stdlib.
17753 * libc/search/qsort.c: Likewise.
17754 * libc/stdlib/Makefile.am (LIB_SOURCES): Remove bsearch.c and
17756 (CHEWOUT_FILES): Remove bsearch.def and qsort.def.
17757 * libc/stdlib/stdlib.tex: Remove references to bsearch and qsort.
17759 2002-06-19 Jeff Johnston <jjohnstn@redhat.com>
17761 * libc/sys/linux/Makefile.am: Add support for message queue routines,
17762 ipc routines, and ftok.
17763 * libc/sys/linux/Makefile.in: Regenerated.
17764 * libc/sys/linux/ftok.c: New file.
17765 * libc/sys/linux/ipc.c: Ditto.
17766 * libc/sys/linux/mq_close.c: Ditto.
17767 * libc/sys/linux/mq_getattr.c: Ditto.
17768 * libc/sys/linux/mq_notify.c: Ditto.
17769 * libc/sys/linux/mq_open.c: Ditto.
17770 * libc/sys/linux/mq_receive.c: Ditto.
17771 * libc/sys/linux/mq_send.c: Ditto.
17772 * libc/sys/linux/mq_setattr.c: Ditto.
17773 * libc/sys/linux/mq_unlink.c: Ditto.
17774 * libc/sys/linux/mqlocal.h: Ditto.
17775 * libc/sys/linux/include/mqueue.h: Ditto.
17776 * libc/sys/linux/sys/types.h: Define __gid_t_defined and
17779 2002-06-19 J"orn Rennecke <joern.rennecke@superh.com>
17781 * libm/common/sf_lround.c (round): Change name to: (lround).
17782 * libm/common/sf_remquo.c (remquo): Pass all arguemnts to
17785 2002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
17787 * testsuite/lib/passfail.exp (newlib_pass_fail_all): New
17789 (newlib_pass_fail): Change to compile and run only one file.
17790 * testsuite/newlib.locale/locale.exp: Use new
17791 newlib_pass_fail_all procedure.
17792 * testsuite/newlib.string/string.exp: Likewise.
17794 2002-06-18 Dave Brolley <brolley@redhat.com>
17796 From Catherine Moore, Michael Meissner, Richard Sandiford:
17797 * libc/include/machine/setjmp.h (_JBLEN): Define for __frv__.
17799 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Ditto.
17800 (__ATTRIBUTE_IMPURE_PTR__): Ditto.
17801 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Ditto.
17802 * configure.host: Support frv-*-*.
17803 * libc/machine/frv/Makefile.am: New file.
17804 * libc/machine/frv/configure.in: New file.
17805 * libc/machine/frv/setjmp.S: New file.
17807 2002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
17809 * libc/include/ctype.h: Remove isblank macro.
17811 * libc/ctype/Makefile.am (LIB_SOURCES): Add isblank.c.
17812 * libc/ctype/isblank.c: New file.
17813 * libc/include/ctype.h [!__STRICT_ANSI__]: Add isblank
17814 declaration. Add isblank macro.
17816 2002-06-18 Jeff Johnston <jjohnstn@redhat.com>
17818 * testsuite/newlib.stdlib/atexit.c: New file.
17819 * testsuite/newlib.stdlib/atexit.exp: Ditto.
17820 * testsuite/newlib.string/tstring.c: Change default start size
17821 to something more reasonable for embedded platforms.
17823 2002-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
17825 * libc/sys/linux/sys/errno.h (EFTYPE): Add macro.
17827 * libc/argz: New directory.
17828 * libc/argz/*: New files.
17829 * libc/argz/argz_add.c: New file.
17830 * libc/argz/argz_add_sep.c: New file.
17831 * libc/argz/argz_append.c: New file.
17832 * libc/argz/argz_count.c: New file.
17833 * libc/argz/argz_create.c: New file.
17834 * libc/argz/argz_create_sep.c: New file.
17835 * libc/argz/argz_delete.c: New file.
17836 * libc/argz/argz_extract.c: New file.
17837 * libc/argz/argz_insert.c: New file.
17838 * libc/argz/argz_next.c: New file.
17839 * libc/argz/argz_replace.c: New file.
17840 * libc/argz/argz_stringify.c: New file.
17841 * libc/argz/buf_findstr.c: New file.
17842 * libc/argz/envz_add.c: New file.
17843 * libc/argz/envz_entry.c: New file.
17844 * libc/argz/envz_get.c: New file.
17845 * libc/argz/envz_merge.c: New file.
17846 * libc/argz/envz_remove.c: New file.
17847 * libc/argz/envz_strip.c: New file.
17848 * libc/include/argz.h: New file.
17849 * libc/include/envz.h: New file.
17850 * Makefile.am (LIBC_OBJECTLISTS): Add
17851 libc/argz/objectlist.awk.in.
17852 * libc/Makefile.am (SUBDIRS): Add argz.
17853 (SUBLIBS): Add argz/libargz.la.
17854 * libc/configure.in (AC_OUTPUT): Add argz/Makefile.
17855 * libc/include/errno.h: Add error_t typedef.
17857 2002-06-13 Jeff Johnston <jjohnstn@redhat.com>
17859 * libc/include/stdlib.h: Add _Exit prototype.
17860 * libc/stdlib/Makefile.am: Add _Exit.c support.
17861 * libc/stdlib/Makefile.in: Ditto.
17862 * libc/stdlib/_Exit.c: New file.
17864 2002-06-13 Stephen L. Moshier <steve@moshier.net>
17866 * libm/math/e_pow.c (__ieee754_pow): Fix case whereby
17867 x is close to -1.0 and y is very large to use ax (absolute value)
17869 * libm/math/ef_pow.c (__ieee754_powf): Ditto.
17871 Thu Jun 13 19:23:40 2002 J"orn Rennecke <joern.rennecke@superh.com>
17873 * libc/machine/sh/strcpy.S (strcpy, __SHMEDIA__ code):
17874 Fix clobbering bytes before destination if src and dst have same
17875 non-zero misalignment.
17877 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
17878 Fixed bug in writing end of set region.
17880 2002-06-10 Christopher Faylor <cgf@redhat.com>
17882 * libc/include/process.h: Remove cygwin-only sexec* declarations. Fix
17883 spawnve declaration.
17885 2002-06-06 Thomas Fitzsimmons <fitzsim@redhat.com>
17887 * libm/common/s_fdim.c: New file.
17888 * libm/common/s_fma.c: Likewise.
17889 * libm/common/s_fmax.c: Likewise.
17890 * libm/common/s_fmin.c: Likewise.
17891 * libm/common/s_fpclassify.c: Likewise.
17892 * libm/common/s_lrint.c: Likewise.
17893 * libm/common/s_lround.c: Likewise.
17894 * libm/common/s_nearbyint.c: Likewise.
17895 * libm/common/s_remquo.c: Likewise.
17896 * libm/common/s_round.c: Likewise.
17897 * libm/common/s_scalbln.c: Likewise.
17898 * libm/common/s_signbit.c: Likewise.
17899 * libm/common/s_trunc.c: Likewise.
17900 * libm/common/sf_fdim.c: Likewise.
17901 * libm/common/sf_fma.c: Likewise.
17902 * libm/common/sf_fmax.c: Likewise.
17903 * libm/common/sf_fmin.c: Likewise.
17904 * libm/common/sf_lrint.c: Likewise.
17905 * libm/common/sf_lround.c: Likewise.
17906 * libm/common/sf_nearbyint.c: Likewise.
17907 * libm/common/sf_remquo.c: Likewise.
17908 * libm/common/sf_round.c: Likewise.
17909 * libm/common/sf_scalbln.c: Likewise.
17910 * libm/common/sf_trunc.c: Likewise.
17911 * libm/math/w_exp2.c: Likewise.
17912 * libm/math/w_tgamma.c: Likewise.
17913 * libm/math/wf_exp2.c: Likewise.
17914 * libm/math/wf_tgamma.c: Likewise.
17915 * libm/mathfp/s_exp2.c: Likewise.
17916 * libm/mathfp/s_tgamma.c: Likewise.
17917 * libm/mathfp/sf_exp2.c: Likewise.
17918 * libm/mathfp/sf_tgamma.c: Likewise.
17919 * libm/math/er_gamma.c: Fix return value.
17920 * libm/math/erf_gamma.c: Likewise.
17921 * libm/mathfp/er_gamma.c: Likewise.
17922 * libm/mathfp/erf_gamma.c: Likewise.
17923 * libc/include/math.h (!__STRICT_ANSI__): Include ISOC99-specific
17924 declarations and macros.
17925 Regenerated all Makefile.in, aclocal.m4 and configure files to
17926 use new libtool macros in top-level libtool.m4
17928 2002-06-05 Jeff Johnston <jjohnstn@redhat.com>
17930 * libc/include/string.h[__linux__]: Add strsignal prototype.
17931 * libc/include/sys/lock.h: New file with default locking support.
17932 * libc/include/sys/reent.h: Add signal buffer support for strsignal
17934 * libc/posix/Makefile.am: Add support for readdir_r.c.
17935 * libc/posix/Makefile.in: Regenerated.
17936 * libc/posix/closedir.c: Add locking support and hash table cleanup.
17937 * libc/posix/opendir.c: Add lock support.
17938 * libc/posix/readdir.c: Ditto.
17939 * libc/posix/rewinddir.c: Ditto.
17940 * libc/posix/scandir.c: Ditto.
17941 * libc/posix/seekdir.c: Ditto.
17942 * libc/posix/telldir.c: Ditto plus add _cleanupdir routine to
17943 clean up leftover hash table entries.
17944 * libc/posix/readdir_r.c: New file.
17945 * libc/sys/linux/Makefile.am: Add psignal.c and strsignal.c support.
17946 * libc/sys/linux/Makefile.in: Regenerated.
17947 * libc/sys/linux/sys/dirent.h: Add dd_lock to DIR structure.
17948 * libc/sys/linux/sys/signal.h: Add psignal prototype.
17949 * libc/sys/linux/psignal.c: New file.
17950 * libc/sys/linux/strsignal.c: Ditto.
17952 2002-06-03 Corinna Vinschen <corinna@vinschen.de>
17954 * libc/include/sys/types.h: Don't define dev_t when compiling for
17957 2002-05-31 Jeff Johnston <jjohnstn@redhat.com>
17959 * libc/sys/linux/Makefile.am: Add sig.c and sigaction.c. Also
17960 make siglist.inc dependent on sig.c instead of signal.c.
17961 * libc/sys/linux/Makefile.in: Regenerated.
17962 * libc/sys/linux/sig.c: Rename from signal.c and change code to
17963 use NSIG instead of _NSIG.
17964 * libc/sys/linux/sigaction.c: New file.
17965 * libc/sys/linux/signal.c: Changed to be linux signal() function
17966 so as to override regular newlib default signal.c.
17967 * libc/sys/linux/machine/i386/Makefile.am: Remove sigset.c.
17968 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
17969 * libc/sys/linux/machine/i386/sigset.c: Moved to linux main directory.
17970 * libc/sys/linux/sigset.c: Moved from machine/i386 directory.
17971 * libc/sys/linux/sys/signal.h: Redefine NSIG to _NSIG and override
17972 default linux sigset_t typedef by defining it equal to __sigset_t.
17973 * libc/unix/sigset.c: Add check so code isn't compiled on systems
17974 with a sigset_t that isn't implemented with a single int.
17976 2002-05-30 Jeff Johnston <jjohnstn@redhat.com>
17978 * libc/sys/linux/Makefile.am: Add support for new files.
17979 * libc/sys/linux/Makefile.in: Regenerated.
17980 * libc/sys/linux/ids.c: Add __getuid weak alias for getuid.
17981 * libc/sys/linux/signal.c: Change to use real-time syscalls for
17982 sigsuspend, sigprocmask, and sigpending. Also remove sigaction as
17983 it is in a separate file now.
17984 * libc/sys/linux/machine/i386/Makefile.am
17985 * libc/sys/linux/machine/i386/Makefile.in
17986 * libc/sys/linux/sys/signal.h: Add include of <bits/signum.h>.
17987 * libc/sys/linux/sigaction.c: New file.
17988 * libc/sys/linux/sigqueue.c: Ditto.
17989 * libc/sys/linux/sigwait.c: Ditto.
17990 * libc/sys/linux/machine/i386/sigaction.c: Ditto.
17991 * libc/sys/linux/kernel_sigaction.h: Ditto.
17993 2002-05-28 Jeff Johnston <jjohnstn@redhat.com>
17995 * libc/sys/linux/Makefile.am: Add support for cfspeed.c and
17997 * libc/sys/linux/Makefile.in: Regenerated.
17998 * libc/sys/linux/termios.c: Add tcflow(), tcflush(),
17999 tcgetpgrp(), and tcsetpgrp() functions.
18000 * libc/sys/linux/sys/termios.h: Add include of machine/termios.h
18001 to get __MAX_BAUD rate.
18002 * libc/sys/linux/machine/i386/include/termios.h: New file.
18003 * libc/include/machine/termios.h: Ditto.
18004 * libc/sys/linux/cfspeed.c: Ditto.
18005 * libc/sys/linux/tcsendbrk.c: Ditto.
18007 2002-05-24 Jeff Johnston <jjohnstn@redhat.com>
18009 * libc/include/string.h: Add strnlen and strerror_r prototypes.
18010 * libc/string/Makefile.am: Add strnlen.c and strerror_r.c support.
18011 * libc/string/Makefile.in: Regenerated.
18012 * libc/string/strerror_r.c: New file.
18013 * libc/string/strnlen.c: New file.
18014 * libc/sys/linux/Makefile.am: Add rename.c.
18015 * libc/sys/linux/Makefile.in: Regenerated.
18016 * libc/sys/linux/rename.c: New file to override default rename.
18018 2002-05-24 Thomas Fitzsimmons <fitzsim@redhat.com>
18020 * libc/sys/linux/sys/cdefs.h: Add __weak_reference macros.
18021 * libc/sys/linux/sys/time.h: Add conversion macros.
18022 * libc/sys/linux/sys/types.h: Add FD_ macros. Include <bits/types.h>.
18023 * libc/sys/linux/ids.c: Add setresuid and syslog syscalls.
18024 * libc/sys/linux/gethostname.c: New file.
18025 * libc/sys/linux/seteuid.c: New file.
18026 * libc/sys/linux/sysctl.c: New file.
18028 2002-05-23 Jeff Johnston <jjohnstn@redhat.com>
18030 * libc/string/Makefile.am: Add support for strsep.c.
18031 * libc/string/Makefile.in: Regenerated.
18032 * libc/string/strsep.c: New file.
18033 * libc/string/strtok.c: Change to call __strtok_r service routine.
18034 * libc/string/strtok_r.c: Add __strtok_r routine which takes
18035 additional flag parameter regarding whether to skip leading delimeters.
18036 Change strtok_r to call __strtok_r.
18038 2002-05-23 Gareth Pearce <tilps@hotmail.com>
18040 * libc/stdio/Makefile.am: Modify to add setbuffer.c and setlinebuf.c.
18041 * libc/stdio/Makefile.in: Regenerated.
18042 * libc/stdio/setbuffer.c: New file.
18043 * libc/stdio/setlinebuf.c: New file.
18045 2002-05-23 Jeff Johnston <jjohnstn@redhat.com>
18047 * libc/sys/linux/Makefile.am: Add resource.c.
18048 * libc/sys/linux/Makefile.in: Regenerated.
18049 * libc/sys/linux/resource.c: New file.
18050 * libc/sys/linux/time.c: Add settimeofday, getitimer, and setitimer.
18051 * libc/sys/linux/machine/i386/Makefile.am: Remove syscalls.c.
18052 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
18053 * libc/sys/linux/machine/i386/syscalls.c: Removed as functions
18054 are now found in libc/sys/linux/resource.c.
18056 2002-05-23 Jeff Johnston <jjohnstn@redhat.com>
18058 * libc/include/string.h (bcmp, bcopy, bzero): Change prototypes
18059 to use void * pointers and comply with Single Unix spec.
18060 * libc/string/bcmp.c: Change to use void * instead of char *.
18061 * libc/string/bcopy.c: Ditto.
18062 * libc/string/bzero.c: Ditto.
18064 2002-05-22 Jeff Johnston <jjohnstn@redhat.com>
18066 * libc/sys/linux/shm_open.c: New file.
18067 * libc/sys/linux/shm_unlink.c: Ditto.
18068 * libc/sys/linux/Makefile.am: Add support for shm_open.c and
18070 * libc/sys/linux/Makefile.in: Regenerated.
18071 * libc/sys/linux/sys/types.h: Add some additional checks to see
18072 if clock_t or time_t is already defined.
18074 2002-05-22 Jeff Johnston <jjohnstn@redhat.com>
18076 * Makefile.am: Don't pass $toollibdir down directly in
18077 AM_MAKEFLAGS as it causes all multilibs to use the same toollibdir.
18078 Pass it under the name: top_toollibdir.
18079 * Makefile.in: Regenerated.
18081 2002-05-22 Corinna Vinschen <vinschen@redhat.com>
18083 * libc/include/sys/types.h: Revert previous patch.
18085 2002-05-22 Corinna Vinschen <vinschen@redhat.com>
18087 * libc/include/sys/types.h: Include cygwin/types.h always under
18088 Cygwin, not only if _POSIX_THREADS is defined.
18090 2002-05-21 Dhananjay Deshpande <dhananjayd@kpit.com>
18092 * configure.host: Specify sys_dir=h8300hms for h8300-*-coff* target.
18094 2002-05-17 Jeff Johnston <jjohnstn@redhat.com>
18096 * Makefile.am: Copy and install headers from sys/machine/include
18097 directory. Also pass $toollibdir to lower-level directories.
18098 * Makefile.in: Regenerated.
18099 * libc/include/stdio.h[!_REENT_ONLY]: Change stdin, stdout, and
18100 stderr to use _REENT macro instead of _impure_ptr directly.
18101 * libc/include/sys/config.h[__i386__][__linux__]: Define
18103 * libc/include/sys/reent.h[!_REENT_ONLY]: Change _REENT macro to be
18104 call to __getreent() function if !__SINGLE_THREAD__ and
18105 __DYNAMIC_REENT__ is set.
18106 * libc/reent/Makefile.am: Add support for getreent.c.
18107 * libc/reent/Makefile.in: Regenerated.
18108 * libc/string/strerror.c: Add check if EOPNOTSUPP and ENOTSUP are same.
18109 * libc/sys/linux/Makefile.am: Add support for new files.
18110 * libc/sys/linux/configure.in: Add $EXTRA_DIRS variable.
18111 * libc/sys/linux/Makefile.in: Regenerated.
18112 * libc/sys/linux/configure: Ditto.
18113 * libc/sys/linux/io.c: Add poll syscall. Also weak-alias
18114 __close, __read, __write, __poll, __open, __lseek, __fcntl from
18115 their __libc_ counterparts.
18116 * libc/sys/linux/io64.c: Add __libc_ prefix to lseek64 and open64
18117 and weak-alias to regular names.
18118 * libc/sys/linux/pread64.c: Rename to __libc_pread64 and weak-alias
18119 to pread64 and __pread64.
18120 * libc/sys/linux/process.c: Weak_alias __libc_getpid to __getpid.
18121 * libc/sys/linux/pwrite64.c: Rename to __libc_pwrite64 and
18122 weak-alias to pwrite64.
18123 * libc/sys/linux/sched.c: Weak-alias __libc_sched_getparam,
18124 __libc_sched_getscheduler, __libc_sched_get_priority_max,
18125 __libc_sched_get_priority_min, and __libc_sched_setschedule to
18126 name with __ instead of __libc_.
18127 * libc/sys/linux/siglongjmp.c: Include <machine/weakalias.h>.
18128 Rename siglongjmp to __libc_siglongjmp and weak-alias to siglongjmp.
18129 Call __libc_longjmp instead of longjmp, from __libc_siglongjmp.
18130 * libc/sys/linux/signal.c: Rename raise to __libc_raise and weak-alias
18132 * libc/sys/linux/socket.c: Weak-alias __libc_connect to __connect and
18133 __libc_send to __send.
18134 * libc/sys/linux/time.c: Weak-alias __libc_gettimeofday to
18136 * libc/sys/linux/wait.c: Rename wait to __libc_wait and weak-alias
18137 it to wait. Rename wait3 to __libc_wait3 and weak-alias it to wait3.
18138 * libc/sys/linux/include/setjmp.h: Use __jmp_buf in sigjmp_buf
18139 type and typedef __jmp_buf to jmp_buf.
18140 * libc/sys/linux/machine/i386/Makefile.am: Add syscalls.c and
18142 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
18143 * libc/sys/linux/machine/i386/crt0.c: Add support to clear .bss
18145 * libc/sys/linux/machine/i386/socketcall.h: Change to use __libc_
18146 prefix for function macros and then use weak_alias() to regular names.
18147 * libc/sys/linux/machine/i386/syscall.h: Ditto.
18148 * libc/sys/linux/sys/errno.h: Define EOPNOTSUP to be ENOTSUP.
18149 * libc/sys/linux/sys/stdio.h: Define _flockfile and _funlockfile
18150 to be flockfile() and funlockfile() respectively.
18151 * libc/sys/linux/sys/types.h
18152 * libc/reent/getreent.c: New file.
18153 * libc/sys/linux/flockfile.c: Ditto.
18154 * libc/sys/linux/funlockfile.c: Ditto.
18155 * libc/sys/linux/getreent.c: Ditto.
18156 * libc/sys/linux/pread.c: Ditto.
18157 * libc/sys/linux/pwrite.c: Ditto.
18158 * libc/sys/linux/raise.c: Ditto.
18159 * libc/sys/linux/system.c: Ditto.
18160 * libc/sys/linux/tcdrain.c: Ditto.
18161 * libc/sys/linux/machine/i386/i386mach.h: Ditto.
18162 * libc/sys/linux/machine/i386/setjmp.S: Ditto.
18163 * libc/sys/linux/machine/i386/syscalls.c: Ditto.
18164 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
18165 * libc/sys/linux/machine/i386/include/setjmp.h: Ditto.
18167 2002-05-14 Dhananjay Deshpande <dhananjayd@kpit.com>
18169 * newlib/libc/sys/h8300hms/Makeile.am (lib_a_SOURCES): Add read.c.
18170 * newlib/libc/sys/h8300hms/read.c: New file. Magic trap 0xC8 for sim.
18171 * newlib/libc/sys/h8300hms/syscalls.c: Move _read() to read.c.
18172 * newlib/libs/sys/h8300hms/sys/syscall.h: New file.
18174 Thu May 16 17:24:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
18176 * libc/machine/sh/strcpy.S (strcpy): Replace LITTLE_ENDIAN with
18177 __LITTLE_ENDIAN__. make sure r0 has right value at first loop
18180 2002-05-15 Thomas Fitzsimmons <fitzsim@redhat.com>
18182 * testsuite/lib/newlib.exp: Add newlib_include_flags to compile
18183 options when testing natively on i[3456]86-*-linux.
18185 * testsuite/lib/checkoutput.exp (newlib_check_output): Output
18186 only one pass or fail per test file. Trim \r's from output
18187 values received from test programs. Remove support for named
18189 * testsuite/newlib.locale/UTF-8.exp: Update to support new
18190 newlib_check_output behaviour.
18191 * testsuite/newlib.locale/UTF-8.c: Likewise.
18193 2002-05-15 Jeff Johnston <jjohnstn@redhat.com>
18195 * libc/include/stdlib.h: Add on_exit prototype.
18196 * libc/include/sys/reent.h (struct _atexit): Add argument array
18197 and bits to track type of exit routine to support both on_exit
18199 (_REENT_INIT_PTR): Add missing fields that won't be zeroed out
18200 by default and change the setting of the atexit structure.
18201 (_REENT_INIT)[!_REENT_SMALL]: Remove extraneous end brace.
18202 * libc/stdlib/on_exit.c: New file.
18203 * libc/stdlib/Makefile.am: Add support for on_exit.
18204 * libc/stdlib/Makefile.in: Regenerated.
18205 * libc/stdlib/atexit.c: Change to initialize types field.
18206 * libc/stdlib/exit.c: Change to look at types field for each
18207 exit routine and either call an atexit-style or an on_exit-style
18208 routine accordingly.
18210 2002-05-13 Jeff Johnston <jjohnstn@redhat.com>
18212 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Don't
18213 allow v specifier with n or L specifiers. For vector c format,
18214 move tmp declaration to the top.
18216 2002-05-13 Jeff Johnston <jjohnstn@redhat.com>
18218 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Restore
18219 the original format specifier when looping for vectors to compensate
18220 for any changes made in vector %g format processing.
18221 Also add syntax checking for various invalid scenarios
18222 involving vector format extensions.
18223 * libc/machine/powerpc/vfscanf.c(__VFSCANF_R)[__ALTIVEC__]: Fix
18224 return code setting for vector formats. Also treat vector
18225 separator mismatch as a match error instead of an input error.
18226 Perform some syntax checking for vector formats.
18228 2002-05-10 Mark Bradshaw <bradshaw@staff.crosswalk.com>
18230 * libc/include/string.h (!__STRICT_ANSI__): Add strlcat and strlcpy.
18231 * libc/string/Makefile.am: Add strlcat.c and strlcpy.c.
18232 * libc/string/strlcat.c: New file.
18233 * libc/string/strlcpy.c: New file.
18235 2002-05-10 Jeff Johnston <jjohnstn@redhat.com>
18237 * libc/string/strchr.c: Fix comment typo.
18239 2002-05-08 Thomas Fitzsimmons <fitzsim@redhat.com>
18241 * acinclude.m4: Add support for --enable-newlib-multithread.
18242 * configure.host (newlib_cflags): Add -D__SINGLE_THREAD__ if
18243 --enable-newlib-multithread=no.
18245 * libc/stdio/getc_u.c: New file.
18246 * libc/stdio/getchar_u.c: New file.
18247 * libc/stdio/putc_u.c: New file.
18248 * libc/stdio/putchar_u.c: New file.
18249 * libc/include/stdio.h: Add declarations for getc_unlocked,
18250 getchar_unlocked, putc_unlocked and putchar_unlocked.
18251 * libc/stdio/Makefile.am (LIB_SOURCES): Add new files.
18252 (CHEWOUT_FILES): Add new files' .def's.
18253 * libc/stdio/putchar.c (_putchar_r): Replace __sputc with putc.
18255 Wed May 8 17:47:35 2002 J"orn Rennecke <joern.rennecke@superh.com>
18257 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
18258 Also handle as single quad word when destination ends at last
18259 byte of first quad word. Fix byte selection in single quad code.
18261 2002-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
18263 * libc/include/sys/stdio.h: New file.
18264 * libc/sys/linux/sys/stdio.h: New file.
18265 * libc/include/stdio.h: Add declarations for flockfile,
18266 ftrylockfile, and funlockfile. Include <sys/stdio.h>.
18267 * libc/stdio/clearerr.c: Add file locking.
18268 * libc/stdio/fclose.c: Likewise.
18269 * libc/stdio/feof.c: Likewise.
18270 * libc/stdio/ferror.c: Likewise.
18271 * libc/stdio/fflush.c: Likewise.
18272 * libc/stdio/fgetc.c: Likewise.
18273 * libc/stdio/fgetpos.c: Likewise.
18274 * libc/stdio/fgets.c: Likewise.
18275 * libc/stdio/fileno.c: Likewise.
18276 * libc/stdio/fputc.c: Likewise.
18277 * libc/stdio/fputs.c: Likewise.
18278 * libc/stdio/fread.c: Likewise.
18279 * libc/stdio/freopen.c: Likewise.
18280 * libc/stdio/fseek.c: Likewise.
18281 * libc/stdio/ftell.c: Likewise.
18282 * libc/stdio/fwrite.c: Likewise.
18283 * libc/stdio/getc.c: Likewise.
18284 * libc/stdio/putc.c: Likewise.
18285 * libc/stdio/setvbuf.c: Likewise.
18286 * libc/stdio/ungetc.c: Likewise.
18287 * libc/stdio/vfprintf.c: Likewise.
18289 2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
18291 * libc/machine/powerpc/vfprintf.c[__ALTIVEC__]: Add vector
18292 support for 'p' format. Fix code to print bytes for vector
18293 integer formats that do not specify 'h' or 'l'.
18294 * libc/machine/powerpc/vfscanf.c[__ALTIVEC__]: Add vector support
18295 for 'p' specifier. Fix code to scan 16 bytes for vector integer
18296 formats that do not specify 'h' or 'l'.
18298 * libc/include/stdlib.h (a64l, l64a, _l64a_r): Added prototypes.
18300 2002-05-06 Nick Clifton <nickc@cambridge.redhat.com>
18302 * libc/sys/arm/syscalls.c (_rename): Add parameter names.
18303 (_sbrk): Add cast of return value.
18305 2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
18307 * libc/include/sys/reent.h (_l64a_buf): New reentrant area.
18308 (_REENT_L64A_BUF): New macro for accessing area.
18309 * libc/stdlib/Makefile.am: Add a64l.c and l64a.c.
18310 * libc/stdlib/Makefile.in: Regenerated.
18311 * libc/stdlib/a64l.c: New file.
18312 * libc/stdlib/l64a.c: New file.
18314 2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
18316 * libc/unix/pread.c: Fix typo for _pread_r.
18317 * libc/unix/pwrite.c: Fix type for _pwrite_r.
18318 * libc/sys/linux/pread64.c: Fix typo for read syscall.
18319 * libc/sys/linux/pwrite64.c: Fix typo for write syscall.
18321 2002-05-03 Christopher Faylor <cgf@redhat.com>
18323 * libc/include/sys/unistd.h: Define getdomainname under cygwin.
18325 2002-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
18327 * configure.in (CC_FOR_NEWLIB): Change -isystem's to -I's.
18329 2002-05-01 Christopher Faylor <cgf@redhat.com>
18331 * utmp.h: Define more UNIX constants.
18333 2002-05-01 Thomas Fitzsimmons <fitzsim@redhat.com>
18335 * Makefile.am: Add support for checking multilibs.
18337 * libc/Makefile.am (SUBLIBS): Add LIBC_EXTRA_LIB.
18338 (SUBDEFS): Add LIBC_EXTRA_DEF.
18339 * libc/configure.in (LIBC_EXTRA_LIB): New variable.
18340 (LIBC_EXTRA_DEF): Likewise.
18341 (extra_dir): Likewise.
18342 * libc/machine/xscale/machine: New directory.
18343 * libc/machine/xscale/machine/profile.h: New file.
18345 * Makefile.am (site.exp): Remove newlib_cflags. Add
18347 * testsuite/newlib.locale/UTF-8.c: Change fprintf's to printf's.
18348 * testsuite/lib/flags.exp: New file.
18349 * testsuite/lib/newlib.exp: Load flags.exp.
18350 (newlib_target_compile): Remove libgloss directory references.
18351 (newlib_init): Remove newlib_cflags references.
18353 2002-04-30 Thomas Fitzsimmons <fitzsim@redhat.com>
18355 * testsuite/lib/newlib.exp (newlib_target_compile): Change
18356 method of finding libgloss_target_dir.
18358 * Makefile.am (site.exp): Change host_alias, host_triplet,
18359 target_alias, target_triplet to refer to gcc's host and target
18360 variables (newlib's build and host variables).
18361 * testsuite/lib/newlib.exp (newlib_init): Change build
18362 references to host references, host references to target
18363 references to reflect Makefile.am changes.
18364 (newlib_target_compile): Likewise.
18365 (newlib_finish): Likewise.
18367 2002-04-29 Jeff Johnston <jjohnstn@redhat.com>
18369 * libc/sys/linux/io64.c (fstat64, lstat64): New syscalls added.
18371 2002-04-29 Jonathan Larmour <jlarmour@redhat.com>
18373 * libc/sys/arm/syscalls.c (_rename): New function. Just a stub.
18374 (_system): New function. Ditto.
18375 * libc/stdlib/system.c (_system_r): Call _system if HAVE_SYSTEM.
18376 * configure.host: define HAVE_SYSTEM and HAVE_RENAME for xscale
18379 2002-04-29 Jeff Johnston <jjohnstn@redhat.com>
18381 * libc/include/sys/unistd.h (pread, pwrite): Added prototypes.
18382 * libc/unix/Makefile.am: Add pread.c and pwrite.c.
18383 * libc/sys/linux/Makefile.am: Add pread64.c and pwrite64.c.
18384 * libc/sys/linux/Makefile.in: Regenerated.
18385 * libc/unix/Makefile.in: Ditto.
18386 * libc/sys/linux/pread64.c: New file.
18387 * libc/sys/linux/pwrite64.c: Ditto.
18388 * libc/unix/pread.c: Ditto.
18389 * libc/unix/pwrite.c: Ditto.
18391 2002-04-26 Jeff Johnston <jjohnstn@redhat.com>
18393 * libc/sys/linux/Makefile.am: Add io64.c.
18394 * libc/sys/linux/Makefile.in: Regenerated.
18395 * libc/sys/linux/io.c(mkfifo, fsync, fdatasync): Added syscalls.
18396 * libc/sys/linux/signal.c (sigwaitinfo, sigtimedwait): Ditto.
18397 * libc/sys/linux/io64.c: New file.
18399 2002-04-26 Jeff Johnston <jjohnstn@redhat.com>
18401 * configure.in (CC_FOR_NEWLIB): New variable that
18402 bases on $(CC) and adds targ-include and libc/include as
18403 -isystem directives if they are not already part of $(CC).
18404 * Makefile.am (AM_MAKEFLAGS): Change setting of CC to equal
18406 * configure: Regenerated.
18407 * Makefile.in: Ditto.
18409 2002-04-25 Jeff Johnston <jjohnstn@redhat.com>
18411 * libc/sys/linux/Makefile.am: Add support for sched.c.
18412 * libc/sys/linux/Makefile.in: Regenerated.
18413 * libc/sys/linux/sched.c: New file.
18414 * libc/sys/linux/sys/types.h: Add struct timespec.
18416 2002-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
18418 * configure.in (CC_FOR_BUILD): Set to gcc whether
18419 cross-compiling or not.
18420 (CC): Add -isystem's for targ-include and libc/include when they
18421 do not already appear in CC.
18423 2002-04-24 Thomas Fitzsimmons <fitzsim@redhat.com>
18425 * Makefile.am (check-DEJAGNU): New target.
18426 (site.exp): Likewise.
18427 * acinclude.m4 (NEWLIB_CONFIGURE): Replace AC_CANONICAL_HOST
18428 with AC_CANONICAL_SYSTEM. Remove AC_CANONICAL_BUILD.
18429 * libc/locale/locale.c (_setlocale_r): Add UTF-8 support.
18430 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Likewise.
18431 * libc/stdlib/wctomb_r.c (_wctomb_r): Likewise.
18432 * testsuite: New directory.
18433 * testsuite/config: Likewise.
18434 * testsuite/lib: Likewise.
18435 * testsuite/newlib.locale: Likewise.
18436 * testsuite/newlib.string: Likewise.
18437 * testsuite/config/default.exp: New file.
18438 * testsuite/lib/checkoutput.exp: New file.
18439 * testsuite/lib/newlib.exp: New file.
18440 * testsuite/lib/passfail.exp: New file.
18441 * testsuite/newlib.locale/UTF-8.c: New file.
18442 * testsuite/newlib.locale/UTF-8.exp: New file.
18443 * testsuite/newlib.locale/locale.exp: New file.
18444 * testsuite/newlib.string/string.exp: New file.
18445 * testsuite/newlib.string/tstring.c: New file.
18447 2002-04-23 Jeff Johnston <jjohnstn@redhat.com>
18449 * libc/include/machine/types.h (__pid_t, __off_t, __loff_t): Added.
18450 * libc/sys/linux/Makefile.am: Add support for mmap.c.
18451 * libc/sys/linux/Makefile.in: Regenerated.
18452 * libc/sys/linux/mmap.c: New file.
18453 * libc/sys/linux/machine/i386/syscall.h: Add _syscall6 macro.
18454 * libc/sys/linux/sys/types.h (pid_t, off_t, loff_t): Added.
18456 2002-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
18458 * acinclude.m4 (newlib_cflags): Remove include directories that
18459 are already specified in the top-level configure.in's FLAGS_FOR_TARGET.
18461 2002-04-19 Bill Siegmund <ctc-dsl@pacbell.net>
18463 * libc/machine/xscale/memchr.c: Don't use multi-line strings.
18464 * libc/machine/xscale/memcmp.c: Ditto.
18465 * libc/machine/xscale/memcpy.c: Ditto.
18466 * libc/machine/xscale/memmove.c: Ditto.
18467 * libc/machine/xscale/memset.c: Ditto.
18468 * libc/machine/xscale/strchr.c: Ditto.
18469 * libc/machine/xscale/strcmp.c: Ditto.
18470 * libc/machine/xscale/strcpy.c: Ditto.
18471 * libc/machine/xscale/strlen.c: Ditto.
18473 2002-04-19 Alexandre Oliva <aoliva@redhat.com>
18475 * libc/include/sys/config.h: Remove include of <limits.h>.
18476 (__INT_MAX__, __LONG_MAX__): Define like GCC's limits.h would
18477 define INT_MAX and LONG_MAX. Use them in tests.
18479 2002-04-19 Jeff Johnston <jjohnstn@redhat.com>
18481 * configure.host: Add support for powerpc-eabialtivec*.
18482 * libc/include/malloc.h: Add include of <machine/malloc.h>.
18483 * libc/include/stdlib.h: Add include of <machine/stdlib.h>.
18484 * libc/include/machine/malloc.h: New file.
18485 * libc/include/machine/stdlib.h: Ditto.
18486 * libc/include/machine/setjmp.h: Add support for powerpc altivec.
18487 * libc/machine/powerpc/Makefile.am: Add conditional objects and
18488 sources based on configuration.
18489 * libc/machine/powerpc/Makefile.in: Regenerated.
18490 * libc/machine/powerpc/configure: Ditto.
18491 * libc/machine/powerpc/configure.in: Add check for
18492 powerpc-eabialtivec* in which case add in additional source files.
18493 * libc/machine/powerpc/setjmp.S: Add altivec support.
18494 * libc/machine/powerpc/vec_calloc.c: New file.
18495 * libc/machine/powerpc/vec_free.c: Ditto.
18496 * libc/machine/powerpc/vec_malloc.c: Ditto.
18497 * libc/machine/powerpc/vec_mallocr.c: Ditto.
18498 * libc/machine/powerpc/vec_realloc.c: Ditto.
18499 * libc/machine/powerpc/machine/malloc.h: Ditto.
18500 * libc/machine/powerpc/machine/stdlib.h: Ditto.
18501 * libc/machine/powerpc/vfprintf.c: New file that is vfprintf.c
18502 with added altivec format specifiers.
18503 * libc/machine/powerpc/vfscanf.c: New file that is vfscanf.c with
18504 added altivec format specifiers.
18506 2002-04-19 Joel Sherrill <joel@OARcorp.com>
18508 * libs/sys/rtems/crt0.c: Satisfy gcc's references to libc functions
18509 while autoconf is trying to link main(){}.
18511 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
18513 * libc/sys/linux/signal.c: Remove include of <bits/sigset.h>.
18514 * libc/sys/linux/sys/signal.h: Add include of <bits/sigset.h>.
18516 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
18518 * libc/time/time.tex: Add tzset info.
18520 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
18522 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
18523 (strptime): Moved prototype to be within !__STRICT_ANSI__.
18524 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
18525 (tzname): Defined for all platforms.
18526 (daylight, timezone): Defined only for CYGWIN.
18527 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
18528 environment set up.
18529 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
18530 environment variable is set.
18531 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
18533 * libc/time/Makefile.in: Regenerated.
18534 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
18535 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
18536 * libc/time/lcltime_r.c (lcltime_r): Ditto.
18537 * libc/time/local.h: New local header file.
18538 * libc/time/mktime.c (mktime): Add timezone support.
18539 * libc/time/mktm_r.c: New file which is the common engine
18540 for gmtime_r and lcltime_r. This code has timezone support.
18541 * libc/time/strftime.c (strftime): Add %Z timezone support.
18542 * libc/time/tzlock.c: New file containing timezone lock stubs.
18543 * libc/time/tzset.c: New file containing tzset() routine.
18544 * libc/time/tzset_r.c: New file containing _tzset_r and
18545 internal routine for calculating timezone changes for specified year.
18547 2002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
18549 * configure.in (CRT0_DIR): Set to libc/.
18550 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
18551 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
18552 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
18553 $(CRT1_DIR)/$(CRT1).
18554 * libc/machine/xstormy16/Makefile.in: Regenerated.
18555 * libc/machine/xstormy16/aclocal.m4: Regenerated.
18556 * libc/machine/xstormy16/configure: Regenerated.
18558 2002-04-13 Alexandre Oliva <aoliva@redhat.com>
18560 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
18561 fails, don't bail out, and try to correct next time.
18563 * libc/include/sys/config.h: Include limits.h.
18565 2002-04-12 Eric Norum <eric.norum@usask.com>
18567 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
18568 routine to allow autoconf to determine that building executables
18570 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
18571 (rtems_gxx_mutex_once): Ditto.
18573 2002-04-09 Tom Rix <trix@redhat.com>
18575 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
18577 2002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
18579 * libc/include/time.h: Fix strptime declaration.
18580 * libc/time/Makefile.am: Add strptime.c.
18581 * libc/time/Makefile.in: Regenerated.
18582 * libc/time/strptime.c: New file.
18584 2002-04-08 Jeff Johnston <jjohnstn@redhat.com>
18586 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
18587 siglongjmp prototype, and sigsetjmp macro definition.
18588 * libc/sys/linux/siglongjmp.c: New file.
18589 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
18590 * libc/sys/linux/Makefile.in: Regenerated.
18592 2002-04-04 Jeff Johnston <jjohnstn@redhat.com>
18594 * Makefile.am: Add support for installing crt1.o if one exists.
18595 * configure.host: Specify crt1.o for linux.
18596 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
18597 * Makefile.in: Regenerated.
18598 * configure: Ditto.
18599 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
18600 Added for non-Cygwin, non-RTEMS configurations.
18601 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
18602 * libc/sys/linux/Makefile.in: Regenerated.
18603 * libc/sys/linux/crt1.c: New empty file to override one defaulted
18604 by gcc. This fixes problem with reconfiguring linux newlib build.
18605 * libc/sys/linux/sysconf.c: New file.
18607 2002-04-03 Jeff Johnston <jjohnstn@redhat.com>
18609 * configure.host: Add support for machine subdirectory of
18611 * configure.in: Add check for sys machine subdirectory.
18612 * Makefile.am: Ditto.
18613 * configure: Regenerated.
18614 * Makefile.in: Ditto.
18615 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
18616 * libc/sys/linux/sys/syscall.h: Ditto.
18617 * libc/sys/linux/sleep.c: New file.
18618 * libc/sys/linux/socket.c: Ditto.
18619 * libc/sys/linux/sockops.h: Ditto.
18620 * libc/sys/linux/stack.c: Ditto.
18621 * libc/sys/linux/usleep.c: Ditto.
18622 * libc/sys/linux/machine/Makefile.am: Ditto.
18623 * libc/sys/linux/machine/Makefile.in: Ditto.
18624 * libc/sys/linux/machine/aclocal.m4: Ditto.
18625 * libc/sys/linux/machine/configure: Ditto.
18626 * libc/sys/linux/machine/configure.in: Ditto.
18627 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
18628 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
18629 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
18630 * libc/sys/linux/machine/i386/configure: Ditto.
18631 * libc/sys/linux/machine/i386/configure.in: Ditto.
18632 * libc/sys/linux/machine/i386/crt0.c: Ditto.
18633 * libc/sys/linux/machine/i386/sigset.c: Ditto.
18634 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
18635 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
18636 * libc/sys/linux/machine/i386/syscall.h: Ditto.
18637 * libc/sys/linux/sys/select.h: Ditto.
18638 * libc/sys/linux/configure.in: Add support for machine directory.
18639 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
18640 * libc/sys/linux/Makefile.in: Regenerated.
18641 * libc/sys/linux/configure: Ditto.
18642 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
18643 * libc/sys/linux/inode.c: Ditto.
18644 * libc/sys/linux/linux.c: Ditto.
18645 * libc/sys/linux/process.c: Ditto.
18646 * libc/sys/linux/systat.c: Ditto.
18647 * libc/sys/linux/time.c: Ditto.
18648 * libc/sys/linux/wait.c: Ditto.
18649 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
18650 * libc/sys/linux/io.c: Change header plus add readv/writev.
18651 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
18652 use __sigsuspend syscall.
18653 * libc/sys/linux/select.c: Change header plus change select to
18654 use _newselect syscall.
18655 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
18656 used by glibc header files.
18657 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
18660 2002-04-01 Jeff Johnston <jjohnstn@redhat.com>
18662 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
18663 initializing a struct _reent that has been dynamically allocated.
18664 (_REENT_CHECK_MISC): New macro that checks _misc struct for
18665 _REENT_SMALL and does nothing otherwise.
18666 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
18667 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
18668 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
18669 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
18670 [_REENT_SMALL](struct _misc_reent): New structure containing
18671 miscellaneous reentrant areas needed by newlib.
18672 [_REENT_SMALL](struct _reent): Add _misc pointer.
18673 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
18674 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
18675 and _REENT_STRTOK_LAST macros.
18676 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
18677 and _REENT_MBLEN_STATE macros.
18678 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
18679 and _REENT_MBTOWC_STATE macros.
18680 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
18681 and _REENT_WCTOMB_STATE macros.
18683 2002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
18685 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
18687 Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
18689 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
18691 Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
18693 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
18694 Store high part of leading bytes too.
18696 2002-03-22 Richard Sandiford <rsandifo@redhat.com>
18698 * libm/math/ef_hypot.c: Increase scale factor to 68.
18700 2002-03-13 Alexandre Oliva <aoliva@redhat.com>
18702 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
18705 2002-03-12 Jeff Johnston <jjohnstn@redhat.com>
18707 * libc/sys/go32/access.c: Change license to relaxed license
18708 used in identical file throughout newlib/libgloss.
18710 2002-03-12 Richard Earnshaw <rearnsha@arm.com>
18712 * libc/sys/arm/access.c: New file.
18713 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
18714 * libc/sys/arm/Makefile.in: Regenerate.
18715 * libc/sys/arm/syscalls.c (_stat): New function.
18717 2002-03-11 Michael Meissner <meissner@redhat.com>
18719 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
18720 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
18721 * libc/machine/mips/Makefile.in: Regenerate.
18722 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
18723 * libc/machine/mips/memset.c: Dito.
18724 * libc/machine/mips/strcmp.c: Dito.
18725 * libc/machine/mips/strlen.c: Dito.
18726 * libc/machine/mips/strncmp.c: Dito.
18728 2002-03-06 Jeff Johnston <jjohnstn@redhat.com>
18730 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
18731 object so it works for shared library or statici library.
18732 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
18734 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
18735 (strptime): Moved prototype to be within !__STRICT_ANSI__.
18736 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
18737 (tzname): Defined for all platforms.
18738 (daylight, timezone): Defined only for CYGWIN.
18739 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
18740 environment set up.
18741 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
18742 environment variable is set.
18743 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
18745 * libc/time/Makefile.in: Regenerated.
18746 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
18747 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
18748 * libc/time/lcltime_r.c (lcltime_r): Ditto.
18749 * libc/time/local.h: New local header file.
18750 * libc/time/mktime.c (mktime): Add timezone support.
18751 * libc/time/mktm_r.c: New file which is the common engine
18752 for gmtime_r and lcltime_r. This code has timezone support.
18753 * libc/time/strftime.c (strftime): Add %Z timezone support.
18754 * libc/time/tzlock.c: New file containing timezone lock stubs.
18755 * libc/time/tzset.c: New file containing tzset() routine.
18756 * libc/time/tzset_r.c: New file containing _tzset_r and
18757 internal routine for calculating timezone changes for specified year.
18759 2002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
18761 * configure.in (CRT0_DIR): Set to libc/.
18762 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
18763 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
18764 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
18765 $(CRT1_DIR)/$(CRT1).
18766 * libc/machine/xstormy16/Makefile.in: Regenerated.
18767 * libc/machine/xstormy16/aclocal.m4: Regenerated.
18768 * libc/machine/xstormy16/configure: Regenerated.
18770 2002-04-13 Alexandre Oliva <aoliva@redhat.com>
18772 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
18773 fails, don't bail out, and try to correct next time.
18775 * libc/include/sys/config.h: Include limits.h.
18777 2002-04-12 Eric Norum <eric.norum@usask.com>
18779 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
18780 routine to allow autoconf to determine that building executables
18782 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
18783 (rtems_gxx_mutex_once): Ditto.
18785 2002-04-09 Tom Rix <trix@redhat.com>
18787 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
18789 2002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
18791 * libc/include/time.h: Fix strptime declaration.
18792 * libc/time/Makefile.am: Add strptime.c.
18793 * libc/time/Makefile.in: Regenerated.
18794 * libc/time/strptime.c: New file.
18796 2002-04-08 Jeff Johnston <jjohnstn@redhat.com>
18798 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
18799 siglongjmp prototype, and sigsetjmp macro definition.
18800 * libc/sys/linux/siglongjmp.c: New file.
18801 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
18802 * libc/sys/linux/Makefile.in: Regenerated.
18804 2002-04-04 Jeff Johnston <jjohnstn@redhat.com>
18806 * Makefile.am: Add support for installing crt1.o if one exists.
18807 * configure.host: Specify crt1.o for linux.
18808 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
18809 * Makefile.in: Regenerated.
18810 * configure: Ditto.
18811 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
18812 Added for non-Cygwin, non-RTEMS configurations.
18813 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
18814 * libc/sys/linux/Makefile.in: Regenerated.
18815 * libc/sys/linux/crt1.c: New empty file to override one defaulted
18816 by gcc. This fixes problem with reconfiguring linux newlib build.
18817 * libc/sys/linux/sysconf.c: New file.
18819 2002-04-03 Jeff Johnston <jjohnstn@redhat.com>
18821 * configure.host: Add support for machine subdirectory of
18823 * configure.in: Add check for sys machine subdirectory.
18824 * Makefile.am: Ditto.
18825 * configure: Regenerated.
18826 * Makefile.in: Ditto.
18827 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
18828 * libc/sys/linux/sys/syscall.h: Ditto.
18829 * libc/sys/linux/sleep.c: New file.
18830 * libc/sys/linux/socket.c: Ditto.
18831 * libc/sys/linux/sockops.h: Ditto.
18832 * libc/sys/linux/stack.c: Ditto.
18833 * libc/sys/linux/usleep.c: Ditto.
18834 * libc/sys/linux/machine/Makefile.am: Ditto.
18835 * libc/sys/linux/machine/Makefile.in: Ditto.
18836 * libc/sys/linux/machine/aclocal.m4: Ditto.
18837 * libc/sys/linux/machine/configure: Ditto.
18838 * libc/sys/linux/machine/configure.in: Ditto.
18839 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
18840 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
18841 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
18842 * libc/sys/linux/machine/i386/configure: Ditto.
18843 * libc/sys/linux/machine/i386/configure.in: Ditto.
18844 * libc/sys/linux/machine/i386/crt0.c: Ditto.
18845 * libc/sys/linux/machine/i386/sigset.c: Ditto.
18846 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
18847 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
18848 * libc/sys/linux/machine/i386/syscall.h: Ditto.
18849 * libc/sys/linux/sys/select.h: Ditto.
18850 * libc/sys/linux/configure.in: Add support for machine directory.
18851 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
18852 * libc/sys/linux/Makefile.in: Regenerated.
18853 * libc/sys/linux/configure: Ditto.
18854 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
18855 * libc/sys/linux/inode.c: Ditto.
18856 * libc/sys/linux/linux.c: Ditto.
18857 * libc/sys/linux/process.c: Ditto.
18858 * libc/sys/linux/systat.c: Ditto.
18859 * libc/sys/linux/time.c: Ditto.
18860 * libc/sys/linux/wait.c: Ditto.
18861 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
18862 * libc/sys/linux/io.c: Change header plus add readv/writev.
18863 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
18864 use __sigsuspend syscall.
18865 * libc/sys/linux/select.c: Change header plus change select to
18866 use _newselect syscall.
18867 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
18868 used by glibc header files.
18869 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
18872 2002-04-01 Jeff Johnston <jjohnstn@redhat.com>
18874 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
18875 initializing a struct _reent that has been dynamically allocated.
18876 (_REENT_CHECK_MISC): New macro that checks _misc struct for
18877 _REENT_SMALL and does nothing otherwise.
18878 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
18879 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
18880 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
18881 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
18882 [_REENT_SMALL](struct _misc_reent): New structure containing
18883 miscellaneous reentrant areas needed by newlib.
18884 [_REENT_SMALL](struct _reent): Add _misc pointer.
18885 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
18886 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
18887 and _REENT_STRTOK_LAST macros.
18888 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
18889 and _REENT_MBLEN_STATE macros.
18890 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
18891 and _REENT_MBTOWC_STATE macros.
18892 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
18893 and _REENT_WCTOMB_STATE macros.
18895 2002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
18897 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
18899 Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
18901 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
18903 Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
18905 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
18906 Store high part of leading bytes too.
18908 2002-03-22 Richard Sandiford <rsandifo@redhat.com>
18910 * libm/math/ef_hypot.c: Increase scale factor to 68.
18912 2002-03-13 Alexandre Oliva <aoliva@redhat.com>
18914 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
18917 2002-03-12 Jeff Johnston <jjohnstn@redhat.com>
18919 * libc/sys/go32/access.c: Change license to relaxed license
18920 used in identical file throughout newlib/libgloss.
18922 2002-03-12 Richard Earnshaw <rearnsha@arm.com>
18924 * libc/sys/arm/access.c: New file.
18925 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
18926 * libc/sys/arm/Makefile.in: Regenerate.
18927 * libc/sys/arm/syscalls.c (_stat): New function.
18929 2002-03-11 Michael Meissner <meissner@redhat.com>
18931 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
18932 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
18933 * libc/machine/mips/Makefile.in: Regenerate.
18934 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
18935 * libc/machine/mips/memset.c: Dito.
18936 * libc/machine/mips/strcmp.c: Dito.
18937 * libc/machine/mips/strlen.c: Dito.
18938 * libc/machine/mips/strncmp.c: Dito.
18940 2002-03-06 Jeff Johnston <jjohnstn@redhat.com>
18942 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
18943 object so it works for shared library or statici library.
18944 * libc/machine/i386/Makefile.in: Regenerated.
18946 Wed Mar 6 10:24:26 2002 J"orn Rennecke <joern.rennecke@superh.com>
18948 * libc/machine/sh/Makefile.am (lib_a_SOURCES, SH64 case):
18949 Add memcpy.S, memset.S and strcpy.S.
18950 * libc/machine/sh/Makefile.in: Regenerate.
18951 * libc/machine/sh/asm.h (_ENTRY): Set SH5 alignment to 8 bytes.
18952 (SHHI, SHLO): Define.
18953 * libc/machine/sh/memset.S: Add code for SH5.
18954 * libc/machine/sh/memset.S: Likewise.
18955 * libc/machine/sh/strcpy.S: Likewise.
18957 2002-02-27 Jeff Johnston <jjohnstn@redhat.com>
18959 * configure.host: Add check for --disable-newlib-io-float
18960 configuration option and add -DNO_FLOATING_POINT to newlib cflags
18962 * acinclude.m4: Added --disable-newlib-io-float option.
18963 * aclocal.m4: Regenerated.
18964 * configure: Ditto.
18965 * doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
18966 * libc/*/aclocal.m4 libc/*/configure
18967 * libm/*/aclocal.m4 libm/*/configure: Ditto.
18968 * libc/stdio/vfprintf.c [!INTEGER_ONLY]: Only set FLOATING_POINT
18969 if NO_FLOATING_POINT flag is not defined.
18971 2002-02-25 Jeff Johnston <jjohnstn@redhat.com>
18973 * libc/include/sys/config.h: Add __extension__ in front of
18974 long long references.
18976 2002-02-23 Corinna Vinschen <corinna@vinschen.de>
18978 * libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin.
18981 2002-02-23 Corinna Vinschen <corinna@vinschen.de>
18983 * libc/sys/cygwin/sys/dirent.h (struct __DIR): Use __off32_t instead
18986 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
18988 * libc/machine/xscale/strchr.c (strchr): Add 'r1' to the list of
18989 clobbered registers.
18991 2002-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
18993 * configure.host (newlib_cflags): When host is in m68* add
18996 2002-02-15 Jeff Johnston <jjohnstn@redhat.com>
18998 * libc/include/sys/config.h: Add definitions for
18999 __int16_t, __uint16_t, __int64_t, and __uint64_t.
19001 2002-02-12 Hans-Peter Nilsson <hp@bitrange.com>
19003 * libc/sys/mmixware/link.c: New.
19004 * libc/sys/mmixware/sys/syscall.h (TRAP1i, I3f): Make asm
19006 * libc/sys/mmixware/times.c (_times): Renamed from times.
19007 * libc/sys/mmixware/open.c (_open): Attempt to handle O_APPEND
19008 properly by reading previous contents, not through BinaryReadWrite.
19009 * libc/sys/mmixware/Makefile.am (lib_a_SOURCES): Add link.c
19010 * libc/sys/mmixware/Makefile.in: Regenerate.
19012 2002-02-10 Corinna Vinschen <corinna@vinschen.de>
19014 * libc/include/grp.h: Don't declare group functions when compiling
19017 2002-02-09 Corinna Vinschen <corinna@vinschen.de>
19019 * libc/include/grp.h: Include Cygwin specific header.
19020 * libc/include/sys/stat.h: Ditto. Don't define `struct stat'
19021 when compiling for Cygwin.
19022 * libc/include/sys/types.h: Don't define off_t, uid_t
19023 and gid_t when compiling for Cygwin.
19025 2002-02-08 matthew green <mrg@redhat.com>
19027 * libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): Allocate
19028 _REENT_EMERGENCY_SIZE, not sizeof(char *).
19030 2002-02-08 Alexandre Oliva <aoliva@redhat.com>
19032 Contribute sh64-elf.
19033 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
19034 * configure.host (newlib_cflags) [sh*-*-*]: Enable long long
19036 2001-01-29 Alexandre Oliva <aoliva@redhat.com>
19037 * libc/machine/sh/setjmp.S [SH5]: Switch to SHmedia mode before
19039 2001-01-24 Alexandre Oliva <aoliva@redhat.com>
19040 * libc/sys/sh/trap.S (___trap34) [SH5]: Don't trash r2.
19041 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
19042 * libc/machine/sh/configure.in: Rework conditionals.
19043 * libc/machine/sh/Makefile.am: Likewise.
19044 * libc/machine/sh/configure, libc/machine/sh/Makefile.in: Rebuilt.
19045 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
19046 * configure.host: Match `sh*'.
19047 * libc/include/machine/setjmp.h: Define for SH5.
19048 * libc/machine/sh/configure.in: Detect SH5.
19049 * libc/machine/sh/configure: Rebuilt.
19050 * libc/machine/sh/Makefile.am: Use only setjmp.S for SH5.
19051 * libc/machine/sh/Makefile.in: Rebuilt.
19052 * libc/machine/sh/asm.h: Adjust for SH5.
19053 * libc/machine/sh/setjmp.S: Implement in SHmedia.
19054 * libc/sys/sh/crt0.S: Likewise.
19055 * libc/sys/sh/trap.S: Likewise.
19057 2002-02-07 Jeff Johnston <jjohnstn@redhat.com>
19059 * libc/machine/i386/Makefile.am: (mach_add_src): Remove.
19060 (mach_add_obj): Conditionally set to setjmp.o or nothing.
19061 (LIB_SOURCES): Remove $(mach_add_src).
19062 (lib_a_LIBADD, lib_a_DEPENDENCIES): Add and set to $(mach_add_src).
19063 (lib_la_LIBADD, lib_la_DEPENDENCIES): Ditto.
19064 * libc/machine/i386/Makefile.in: Regenerate.
19066 2002-02-05 Manik Raina <manik@cisco.com>
19068 * libc/misc/dprintf.c (parse_number): #if 0 unused function.
19069 * libc/stdlib/ldtoa.c (_ldcheck): Remove unused local variables
19070 s, p, k, and outstr.
19071 * libc/stdlib/dtoa.c (_dtoa_r): Initialize mlo.
19073 2002-02-04 Jeff Johnston <jjohnstn@redhat.com>
19075 * libc/include/sys/reent.h [(!_REENT_SMALL]: Add
19076 _REENT_CHECK_EMERGENCY macro.
19078 2002-02-03 matthew green <mrg@redhat.com>
19080 * libc/reent/signgam.c (__signgam): Fix error in previous.
19082 2002-02-02 matthew green <mrg@redhat.com>
19084 * libc/include/sys/config.h (_REENT_SMALL): Define for Xstormy16.
19086 * libc/reent/reent.c (_reclaim_reent): Clean for _REENT_SMALL case.
19087 * libc/reent/reent.tex: Add blurb about _REENT_SMALL.
19088 * libc/include/sys/reent.h (struct _reent): Completely new version
19090 (_REENT_INIT): New defines, different defintion depending on _REENT_SMALL.
19091 (_REENT_CHECK, _REENT_CHECK_TM): Likewise.
19092 (_REENT_CHECK_ASCTIME_BUF, _REENT_INIT_RAND48): Likewise.
19093 (_REENT_CHECK_RAND48, _REENT_INIT_MP, _REENT_CHECK_MP): Likewise.
19094 (_REENT_CHECK_EMERGENCY, _REENT_SIGNGAM, _REENT_RAND_NEXT): Likewise.
19095 (_REENT_RAND48_SEED, _REENT_RAND48_MULT, _REENT_RAND48_ADD): Likewise.
19096 (_REENT_MP_RESULT, _REENT_MP_RESULT_K, _REENT_MP_P5S): Likewise.
19097 (_REENT_MP_FREELIST, _REENT_ASCTIME_BUF, _REENT_TM): Likewise.
19098 (_REENT_EMERGENCY): Likewise.
19100 * libc/include/sys/reent.h (struct __sFILE_fake): New struct, same as
19101 the start of the real __sFILE, used for stdin, stdout and stderr until
19102 they are setup properly.
19103 (struct __sFILE): Move location of _data in _REENT_SMALL case.
19104 * libc/stdio/findfp.c (__sinit): Rearrange for _REENT_SMALL case by
19105 allocated stdin, stdout and stderr.
19106 * libc/stdio/getchar.c (_getchar_r): Call _REENT_SMALL_CHECK_INIT().
19107 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Likewise.
19108 * libc/stdio/perror.c (_perror_r): Likewise.
19109 * libc/stdio/printf.c (printf, _printf_r): Likewise.
19110 * libc/stdio/putchar.c (_putchar_r): Likewise.
19111 * libc/stdio/puts.c (_puts_r): Likewise.
19112 * libc/stdio/scanf.c (scanf, _scanf_r): Likewise.
19113 * libc/stdio/vprintf.c (vprintf): Likewise.
19114 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Likewise.
19116 * libc/stdio/tmpnam.c (_tmpnam_r): Use _REENT_EMERGENCY().
19118 * libc/reent/reent.c (_wrapup_reent): Adjust for _REENT_SMALL atexit.
19119 * libc/include/sys/reent.h (_atexit): Limit atexit() entries to 32
19121 * libc/stdlib/atexit.c (atexit): Rearrange for _REENT_SMALL case.
19122 * libc/stdlib/exit.c (exit): Rearrange for _REENT_SMALL case.
19124 * libc/include/sys/reent.h (struct _rand48): Keep _rand_next if
19126 * libc/stdlib/drand48.c (_drand48_r): Call _REENT_CHECK_RAND48().
19127 * libc/stdlib/lcong48.c (_lcong48_r): Likewise.
19128 * libc/stdlib/lrand48.c (_lrand48_r): Likewise.
19129 * libc/stdlib/mrand48.c (_mrand48_r): Likewise.
19130 * libc/stdlib/rand48.c (__dorand48): Likewise.
19131 * libc/stdlib/seed48.c (_seed48_r): Likewise.
19132 * libc/stdlib/srand48.c (_srand48_r): Likewise.
19133 * libc/stdlib/rand48.h (__rand48_seed, __rand48_mult, __rand48_add): Define
19134 as _REENT_RAND48_SEED(), _REENT_RAND48_MULT() and _REENT_RAND48_ADD().
19135 * libc/stdlib/dtoa.c (_dtoa_r): Call _REENT_CHECK_MP(). Use
19136 _REENT_MP_RESULT() and _REENT_MP_RESULT_K().
19137 * libc/stdlib/ldtoa.c (_ldtoa_r): Likewise.
19138 * libc/stdlib/rand.c (srand): Use _REENT_RAND_NEXT().
19139 * libc/stdlib/rand.c (rand): Likewise.
19141 * libc/stdlib/mallocr.c (malloc_stats): Call _REENT_SMALL_CHECK_INIT().
19142 * libc/stdlib/mstats.c (_mstats_r): Call _REENT_SMALL_CHECK_INIT().
19144 * libc/stdlib/mprec.c (Balloc): Call _REENT_CHECK_MP. Use
19145 _REENT_MP_FREELIST() and _REENT_MP_P5S.
19146 * libc/include/sys/reent.h (struct _mprec): New structure.
19148 * libc/include/sys/reent.h (struct _reent): Rename _strtok_last to
19149 _unused_strtok_last.
19150 * libc/string/strtok.c (strtok): Use a local static variable.
19152 * libc/include/sys/reent.h (_REENT_ASCTIME_SIZE): New define.
19153 (_REENT_EMERGENCY_SIZE): Likewise.
19154 * libc/time/asctime.c (asctime): Call _REENT_CHECK_ASCTIME_BUF(). Use
19155 _REENT_ASCTIME_BUF().
19156 * libc/time/lcltime.c (localtime): Call _REENT_CHECK_TM(). Use
19159 * libc/include/math.h (__singam_r): Use _REENT_SIGNGAM().
19160 * libc/reent/signgam.c (__signgam): Use _REENT_SIGNGAM().
19161 * libm/math/w_gamma.c (gamma): Use _REENT_SIGNGAM().
19162 * libm/math/w_lgamma.c (lgamma): Use _REENT_SIGNGAM().
19163 * libm/math/wf_gamma.c (gammaf): Use _REENT_SIGNGAM().
19164 * libm/math/wf_lgamma.c (lgammaf): Use _REENT_SIGNGAM().
19166 2002-02-01 Geoffrey Keating <geoffk@redhat.com>
19168 * configure.host (xstormy16): Don't use the generic malloc.
19169 * libc/machine/xstormy16/Makefile.am: Build tiny-malloc.
19170 * libc/machine/xstormy16/Makefile.in: Regenerate.
19171 * libc/machine/xstormy16/mallocr.c: New file.
19172 * libc/machine/xstormy16/tiny-malloc.c: New file.
19174 2002-01-28 Thomas Fitzsimmons <fitzsim@redhat.com>
19176 * libc/include/sys/signal.h [__CYGWIN__]: Issue error message
19177 when _CYGWIN_TYPES_H is not defined.
19179 2002-01-24 Thomas Fitzsimmons <fitzsim@redhat.com>
19181 * libc/include/sys/signal.h: Revert 2002-01-23 change.
19183 2002-01-23 Thomas Fitzsimmons <fitzsim@redhat.com>
19185 * libc/include/sys/signal.h: Remove pthread_kill declaration
19186 when __CYGWIN__ is defined.
19188 2002-01-18 Mark Bradshaw <bradshaw@staff.crosswalk.com>
19190 * libc/include/time.h: Add prototype for strptime for Cygwin.
19192 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
19194 * libc/machine/xscale/memset.c (memset): Fix bug when len == 1 and
19195 dst was not word aligned.
19197 * libc/sys/arm/syscalls.c (_sbrk): Return -1 rather than aborting
19198 if too much memory is requested.
19200 2002-01-11 Jeff Johnston <jjohnstn@redhat.com>
19202 * libc/stdio/vfscanf.c (__svfscanf_r): Change loop that
19203 reads blanks from the input file to break if EOF reached
19204 rather than end processing.
19206 2002-01-07 Jeff Johnston <jjohnstn@redhat.com>
19208 * MAINTAINERS: Change e-mail addresses to refer to redhat domain.
19210 2002-01-07 Alan Matsuoka <alanm@redhat.com>
19212 * libc/include/machine/ieeefp.h: Configure d10v doubles to
19213 be 32 bits if __DOUBLE__ == 32 otherwise doubles are 64 bits.
19214 libc/include/sys/config.h: Ditto.
19216 2001-12-28 Corinna Vinschen <corinna@vinschen.de>
19218 * libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE.
19220 2001-12-22 Geoffrey Keating <geoffk@redhat.com>
19221 Catherine Moore <clm@redhat.com>
19222 Richard Henderson <rth@redhat.com>
19223 Corinna Vinschen <vinschen@redhat.com>
19225 * configure.host: Add support for xstormy16.
19226 * libc/include/machine/ieeefp.h: Add support for xstormy16.
19227 * libc/include/machine/setjmp.h: Add support for xstormy16.
19228 * libc/include/sys/config.h: Add support for xstormy16.
19229 * libc/machine/xstormy16/Makefile.am: New file.
19230 * libc/machine/xstormy16/Makefile.in: New file.
19231 * libc/machine/xstormy16/aclocal.m4: New file.
19232 * libc/machine/xstormy16/configure: New file.
19233 * libc/machine/xstormy16/configure.in: New file.
19234 * libc/machine/xstormy16/setjmp.S: New file.
19236 2001-12-19 Thomas Fitzsimmons <fitzsim@redhat.com>
19238 * libm/machine/configure.in (HAVE_LIBM_MACHINE_DIR): New conditional.
19239 * libm/machine/Makefile.am [HAVE_LIBM_MACHINE_DIR] (LIBM_MACHLIB): New variable.
19241 2001-12-19 Corinna Vinschen <corinna@vinschen.de>
19243 * libm/machine/Makefile.am: Change rules to create correct lib.a.
19244 * libm/machine/Makefile.in: Regenerated through automake.
19246 2001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
19248 * Makefile.am (DOCDIR): Force to empty string when doc
19249 directory is not present.
19251 2001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
19253 * libc/machine/i386/f_*: Move to libm/machine/i386.
19255 2001-12-18 Joel Sherrill <joel@OARcorp.com>
19257 * libm/machine/Makefile.am: Add dummy doc stub so
19260 2001-12-17 Joel Sherrill <joel@OARcorp.com>
19262 * libc/include/sys/types.h (ino_t): RTEMS uses long also.
19264 2001-12-17 Thomas Fitzsimmons <fitzsim@redhat.com>
19266 * libc/stdlib/Makefile.am (LIB_COMPILE): Change to equal
19267 $(COMPILE) rather than $(CC).
19268 * libc/stdio/Makefile.am (LIB_COMPILE): Likewise.
19269 (vfprintf.$(oext)): Remove $(INCLUDES), made redundant by
19270 $(LIB_COMPILE) change.
19271 (vfiprintf.$(oext)): Likewise.
19273 2001-12-17 Corinna Vinschen <vinschen@redhat.de>
19275 * libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allow
19276 conditionalized including of getopt stuff.
19278 2001-12-14 Thomas Fitzsimmons <fitzsim@redhat.com>
19280 * libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) to
19282 (vfiprintf.$(oext)): Likewise.
19284 2001-12-13 Thomas Fitzsimmons <fitzsim@redhat.com>
19286 * Makefile.shared: New file.
19287 * libc/sys/linux/shared.ld: New file.
19288 * libm/machine/*: New files.
19289 * libm/machine/i386/*: New files.
19290 * Makefile.am: Add libtool support. Change math and mathfp
19291 references to variables.
19292 * configure.host: Add variables for libtool support. Add
19293 libm_machine_dir variable.
19294 * configure.in: Add objectlist variables, for libtool
19295 support. Add CC_FOR_BUILD tests.
19296 * libc/Makefile.am: Add libtool support. Change crt0.o
19297 reference to be a variable reference.
19298 * libc/configure.in: Add libtool support. Change sublib
19299 names to be lib${subdir}.la when using libtool.
19300 * libc/ctype/Makefile.am: Add libtool support.
19301 * libc/errno/Makefile.am: Likewise.
19302 * libc/locale/Makefile.am: Likewise.
19303 * libc/machine/Makefile.am: Likewise.
19304 * libc/machine/configure.in: Likewise.
19305 * libc/machine/i386/Makefile.am: Likewise.
19306 * libc/machine/i386/configure.in: Likewise.
19307 * libc/misc/Makefile.am: Likewise.
19308 * libc/posix/Makefile.am: Likewise.
19309 * libc/reent/Makefile.am: Likewise.
19310 * libc/signal/Makefile.am: Likewise.
19311 * libc/stdio/Makefile.am: Likewise.
19312 * libc/stdlib/Makefile.am: Likewise.
19313 * libc/string/Makefile.am: Likewise.
19314 * libc/sys/Makefile.am: Likewise.
19315 * libc/sys/configure.in: Likewise.
19316 * libc/sys/linux/Makefile.am: Add libtool support. Change
19317 awk reference to a variable reference. Change signal.h
19318 reference to a variable reference.
19319 * libc/sys/linux/configure.in: Add libtool support.
19320 * libc/syscalls/Makefile.am: Likewise.
19321 * libc/time/Makefile.am: Likewise.
19322 * libc/unix/Makefile.am: Likewise.
19323 * libm/Makefile.am: Add libtool support. Change math and
19324 mathfp references to variables.
19325 * libm/configure.in: Add libtool support. Add
19326 LIBM_MACHINE_LIB variable.
19327 * libm/common/Makefile.am: Add libtool support.
19328 * libm/math/Makefile.am: Likewise.
19329 * libm/mathfp/Makefile.am: Likewise.
19330 Regenerate all Makefile.in, aclocal.m4, and configure.
19332 2001-12-13 Anita Kulkarni <anitak@kpit.com>
19334 * libc/sys/sh/crt0.S: Remove stack symbol definition 0xdeaddead.
19336 2001-12-06 John Peacock <jpeacock@rowman.com>
19338 * libc/include/sys/unistd.h: Correct ualarm declaration.
19340 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
19342 * libc/sys/arm/crt0.S: For __USES_INITFINI__ preserve the argument
19343 vector before calling the initialisation functions.
19345 2001-11-29 Christopher Faylor <cgf@redhat.com>
19347 * libc/include/dirent.h: Protect against multiple inclusion.
19349 2001-11-27 Christopher Faylor <cgf@redhat.com>
19351 * libc/include/sys/types.h: Define useconds_t.
19352 * libc/include/sys/ulimit.h: Declare ualarm.
19354 2001-11-21 Christopher Faylor <cgf@redhat.com>
19356 * libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.
19358 2001-11-19 Hans-Peter Nilsson <hp@bitrange.com>
19360 * libc/sys/mmixware/*: Tweak license header in all source files.
19362 2001-11-12 Corinna Vinschen <vinschen@redhat.com>
19364 * libc/include/alloca.h: Move libc/sys/linux/include/alloca.h
19365 to here. Rearrange for general inclusion by stdlib.h.
19366 * libc/include/stdlib.h: Include <alloca.h> if __STRICT_ANSI__
19368 * libc/sys/linux/include/alloca.h: Move to libc/include.
19370 2001-11-12 Anthony Green <green@redhat.com>
19372 * libc/sys/arm/crt0.S (__stack_base__): New symbol.
19374 2001-11-13 Hans-Peter Nilsson <hp@bitrange.com>
19376 * libc/sys/mmixware/*: Correct spacing in all source files.
19377 * libc/sys/mmixware/syscall.h: Move misplaced file...
19378 * libc/sys/mmixware/sys/syscall.h: ...here.
19380 2001-11-12 Hans-Peter Nilsson <hp@bitrange.com>
19382 * libc/include/machine/ieeefp.h: Add support for mmix target.
19383 * libc/include/machine/setjmp.h: Ditto.
19384 * configure.host: Ditto.
19385 * libc/sys/mmixware/Makefile.am, libc/sys/mmixware/_exit.c,
19386 libc/sys/mmixware/access.c, libc/sys/mmixware/aclocal.m4,
19387 libc/sys/mmixware/chmod.c, libc/sys/mmixware/chown.c,
19388 libc/sys/mmixware/close.c, libc/sys/mmixware/configure.in,
19389 libc/sys/mmixware/creat.c, libc/sys/mmixware/crt0.c,
19390 libc/sys/mmixware/execv.c, libc/sys/mmixware/execve.c,
19391 libc/sys/mmixware/fork.c, libc/sys/mmixware/fstat.c,
19392 libc/sys/mmixware/getpid.c, libc/sys/mmixware/gettime.c,
19393 libc/sys/mmixware/isatty.c, libc/sys/mmixware/kill.c,
19394 libc/sys/mmixware/lseek.c, libc/sys/mmixware/open.c,
19395 libc/sys/mmixware/pipe.c, libc/sys/mmixware/read.c,
19396 libc/sys/mmixware/sbrk.c, libc/sys/mmixware/setjmp.S,
19397 libc/sys/mmixware/stat.c, libc/sys/mmixware/sys/syscall.h,
19398 libc/sys/mmixware/time.c, libc/sys/mmixware/times.c,
19399 libc/sys/mmixware/unlink.c, libc/sys/mmixware/utime.c,
19400 libc/sys/mmixware/wait.c, libc/sys/mmixware/write.c: New files.
19401 * libc/sys/mmixware/configure, libc/sys/mmixware/Makefile.in,
19402 libc/sys/mmixware/aclocal.m4: Generate.
19404 2001-11-05 Corinna Vinschen <corinna@vinschen.de>
19406 * libc/include/sys/unistd.h: Add prototypes for endusershell(),
19407 getusershell(), iruserok(), revoke(), ruserok() and setusershell()
19408 when __CYGWIN__ is defined.
19409 * libc/sys/cygwin/sys/utmp.h: Add prototypes for login_tty() and
19412 2001-11-01 Arati Dikey <aratidikey@hotmail.com>
19414 * libm/mathfp/sf_isinf.c (isinff): Change to use _DEFUN macro.
19415 [_DOUBLE_IS_32BITS](isinf): New function that calls isinff.
19416 * libm/mathfp/sf_isnan.c (isnanf): Change to use _DEFUN macro.
19417 [_DOUBLE_IS_32BITS](isnan): New function that calls isnanf.
19419 2001-10-24 Christopher Faylor <cgf@redhat.com>
19421 * libc/stdio/fseek.c: Reset pointer to buffer base
19422 when forced to seek outside of current buffer contents.
19423 This prevents the code from erroneously thinking there is
19424 anything in the current buffer.
19426 2001-10-22 Geoffrey Keating <geoffk@redhat.com>
19428 * libc/include/math.h: The C++ standard adds the single-precision
19429 versions of the elementary functions.
19431 2001-10-22 Christopher Faylor <cgf@redhat.com>
19433 * libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations
19435 * signal.h: Change comment to reflect __CYGWIN__ rather than __CYGWIN32__.
19436 * popen.c (popen): Use __CYGWIN_ rather than __CYGWIN32__.
19437 * system.c (_system_r): Ditto.
19439 2001-10-17 Corinna Vinschen <corinna@vinschen.de>
19441 * libc/include/sys/unistd.h: Add prototype for fchdir() when
19442 __CYGWIN__ or __rtems__ is defined.
19444 2001-10-01 Charles Wilson <cwilson@ece.gatech.edu>
19446 * libc/include/stdlib.h: add declarations for
19447 _strtoull_r, _strtoll_r, strtoull, and strtoll.
19448 * libc/stdio/local.h: remove declarations of
19449 __strtoull_r and __strtoll_r.
19450 * libc/stdio/vfscanf.c(__svfscanf_r): call
19451 _strtoull_r instead of __strtoull_r. Ditto
19452 _strtoll_r vs. __strtoll_r.
19453 * libc/stdlib/Makefile.am: add new files to
19454 .c list and .def list
19455 * libc/stdlib/Makefile.in: regenerate
19456 * libc/stdlib/strtoll_r.c: rename __strtoll_r
19458 * libc/stdlib/strtoull_r.c: rename __strtoull_r
19460 * libc/stdlib/strtoull.c: new file
19461 * libc/stdlib/strtoll.c: new file
19463 Mon Sep 17 17:29:47 2001 Christopher Faylor <cgf@cygnus.com>
19465 * libc/include/process.h: Add getpid() declaration.
19467 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
19469 * libc/sys/arm/crt0.S: Add calls to _init and _fini (via atexit)
19470 for new style arm/elf ctor/dtor handling.
19471 Minor formatting tidy up.
19473 2001-09-13 Jeff Johnston <jjohnstn@redhat.com>
19475 * libc/stdlib/Makefile.am: Add support to build strtoll_r.c
19477 * libc/stdlib/Makefile.in: Regenerated.
19478 * libc/stdlib/strtoll_r.c: New file.
19479 * libc/stdlib/strtoull_r.c: New file.
19480 * libc/stdio/local.h: Add prototypes for long long string
19481 conversion routines.
19482 * libc/stdio/vfscanf.c (__svfscanf_r): Add optional long long support
19483 tied to %L integer conversion specifier.
19485 Thu Sep 13 08:49:49 2001 Jason Tishler <jason@tishler.net>
19487 * strftime.c (strftime): Fix "%W" implementation to properly handle
19490 2001-09-07 Jeff Law <law@redhat.com>
19492 * libc/sys/h8300hms/crt0.S: For H8/300H and H8/S, load address of
19493 __fini with "mov.l" instead of "mov.w".
19495 2001-09-05 Corinna Vinschen <corinna@vinschen.de>
19497 * libc/sys/cygwin/include/unistd.h: New file, wrapping sys/unistd.h
19500 2001-09-04 Jason Merrill <jason_merrill@redhat.com>
19502 * libc/sys/h8300hms/crt0.S: Support ELF initialization.
19504 2001-09-03 Corinna Vinschen <corinna@vinschen.de>
19506 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number
19508 (__DIRENT_VERSION): New define.
19510 2001-09-03 Corinna Vinschen <corinna@vinschen.de>
19512 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add `d_fd' member.
19513 Shrink __d_reserved accordingly to keep structure size.
19514 (dirfd): Declare external.
19516 2001-08-29 Joel Sherrill <joel@OARcorp.com>
19518 * libc/include/sys/unistd.h: Prototype chroot() for RTEMS.
19520 2001-08-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
19522 * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S,
19523 libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c,
19524 libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S,
19525 libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S,
19526 libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S,
19527 libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S,
19528 libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c,
19529 libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S:
19530 Add conditional compilation to avoid HW FPU instructions
19531 when compiled for soft-float.
19533 2001-08-29 Jeff Johnston <jjohnstn@redhat.com>
19535 * Makefile.am: Add check for ln failing when creating libg.a
19536 so that cp gets used as a backup.
19537 * Makefile.in: Regenerated.
19539 2001-08-29 Jeff Johnston <jjohnstn@redhat.com>
19541 * libc/include/sys/reent.h: Add include of <sys/_types.h>.
19542 No longer include time.h. Add struct __tm to use for
19543 _localtime_buf in the reentrant structure. Add a
19544 _NULL definition to use in initializing the reentrant struct.
19545 * libc/include/sys/config.h: For CYGWIN32 and RTEMS, change
19546 the _READ_WRITE_RETURN_TYPE to _ssize_t which is found in
19548 * libc/include/sys/unistd.h: Include <sys/_types.h>.
19549 * libc/time/lcltime.c (localtime): Cast the reentrant struct
19550 _localtime_buf to be struct tm *.
19552 Wed Aug 29 14:17:38 2001 J"orn Rennecke <amylaar@redhat.com>
19554 * configure.host (h8300-*-elf*, h8500-*-elf*): New cases.
19555 * libc/sys/h8300hms/crt1.c (__main): Don't reference __ctors /
19557 * libc/sys/h8300hms/syscalls.c: Include errno.h.
19558 (_unlink): New stub function.
19560 Sat Aug 25 22:22:25 2001 Christopher Faylor <cgf@cygnus.com>
19562 * libc/include/sys/errno.h: Add a cautionary comment.
19564 2001-08-21 Jeff Johnston <jjohnstn@redhat.com>
19566 * libc/stdlib/mallocr.c [!defined(MALLOC_ALIGNMENT)]: Add conditional
19567 for SIZE_SZ so that alignment ends up a minimum of 8.
19569 Mon Aug 13 22:26:01 2001 Christopher Faylor <cgf@cygnus.com>
19571 * libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro
19574 * libc/include/sys/errno.h: Declare sys_errlist and sys_nerr, under
19577 2001-08-13 Jeff Johnston <jjohnstn@redhat.com>
19579 * libc/include/malloc.h (M_MXFAST, M_NLBLKS, M_GRAIN, M_KEEP): New
19580 macro constants for mallopt options.
19581 (M_TRIM_THRESHOLD, M_TOP_PAD, M_MMAP_THRESHOLD, M_MMAP_MAX): Ditto.
19583 2001-08-02 Jeff Johnston <jjohnstn@redhat.com>
19585 * libc/include/stdio.h (BUFSIZ): Define to __BUFSIZ__ if provided,
19588 2001-07-12 Aldy Hernandez <aldyh@redhat.com>
19590 * libc/machine/mips/setjmp.S: Allow mips16 and mips64 to coexist.
19592 2001-06-27 Nick Clifton <nickc@cambridge.redhat.com>
19594 * libc/include/machine/ieeefp.h (__IEEE_BYTES_LITTLE_ENDIAN):
19595 Define for little endian ARMs.
19597 * libc/stdlib/mprec.h (Storeinc): Use little endian version if
19598 __IEEE_BYTES_LITTLE_ENDIAN is defined.
19600 2001-06-11 Danny Smith <dannysmith@users.sourceforge.net>
19602 * /libc/include/ctype.h (is* and to* macros): Do not define if C++.
19604 2001-06-11 Egor Duda <deo@logos-m.ru>
19606 * libc/ctype/ctype_.c: When compiled with gcc on platforms
19607 with signed char, make _ctype_[-128] ... _ctype[-1] refer to
19608 initialized memory region. Platform can define COMPACT_CTYPE
19609 to avoid allocation of the additional 128 bytes of data.
19610 Add pointer to _ctype_ array. Always initialize all _ctype_
19613 2001-06-08 Jonathan Larmour <jlarmour@redhat.com>
19615 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencing
19618 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
19620 * libc/stdio/vfprintf.c (_VFPRINTF_R): Handle printf ("%#.0o",0)
19622 2001-05-25 Nick Clifton <nickc@cambridge.redhat.com>
19624 * libc/machine/xscale/memcmp.c: Fix bug when both pointers have
19625 matching, non-word alignment, and the length is <= 4 but more than
19626 enough to move them over a word boundary.
19627 Add comments explaining what each instruction does.
19629 Mon May 7 20:39:25 2001 Christopher Faylor <cgf@cygnus.com>
19631 * libc/include/sys/stat.h: Revert March 3, Cygwin change.
19632 * libc/include/sys/unistd.h: Ditto.
19634 2001-05-04 Earnie Boyd <earnie@users.sourceforge.net>
19636 * libc/string/strrchr.c: Use strchr for the speed improvements.
19638 2001-05-01 Jeff Johnston <jjohnstn@redhat.com>
19640 * libc/stdio/findfp (__sinit)[HAVE_FCNTL]: For platforms that have
19641 real file systems, let __smakebuf() determine if line buffering
19642 should be used for stdout.
19644 2001-04-27 Jeff Johnston <jjohnstn@redhat.com>
19646 * libc/stdio/vfscanf.c (__svfscanf_r): Initialize new_exp local var.
19648 2001-04-27 Jeff Johnston <jjohnstn@redhat.com>
19650 * libc/include/stdlib.h: Add prototype for _strtod_r.
19652 2001-04-24 Charles Wilson <cwilson@ece.gatech.edu
19654 * libc/stdio/vprintf.c (vprintf): fix signature to use _DEFUN
19655 * libc/stdio/vprintf.c (_vprintf_r): new function
19656 * libc/stdio/vsnprintf.c (vsnprintf): fix signature to use _DEFUN
19657 * libc/stdio/vsnprintf.c (_vsnprintf_r): fix signature to use
19658 _DEFUN, and call _vfprintf_r, not vfprintf.
19659 * libc/stdio/vsprintf.c (vsprintf.c): fix signature to use _DEFUN
19660 * libc/stdio/vsprintf.c (_vsprintf_r): fix signature to use
19661 _DEFUN, and call _vfprintf_r, not vfprintf.
19663 2001-04-22 Earnie Boyd <earnie@users.sourceforge.net>
19665 * libc/include/sys/unistd.h [X_OK]: Use better protection against
19666 Cygwin X_OK definitions in sys/file.h.
19668 Fri Apr 20 23:17:51 2001 Christopher Faylor <cgf@cygnus.com>
19670 * libc/include/sys/time.h: Define timercmp and other macros for
19673 2001-04-20 Jeff Johnston <jjohnstn@redhat.com>
19675 * acinclude.m4: Added --enable-malloc-debugging configure flag.
19676 * configure.host: For Cygwin specify -DMALLOC_PROVIDED if
19677 --enable-malloc-debugging selected.
19678 * aclocal.m4 configure: Regenerated.
19679 libm/aclocal.m4 libm/configure: Ditto.
19680 * libc/aclocal.m4 libc/configure: Ditto.
19681 * libc/machine/aclocal.m4 libc/machine/configure: Ditto.
19682 * libc/machine/*/aclocal.m4 libc/machine/*/configure: Ditto.
19683 * libc/sys/aclocal.m4 libc/sys/configure: Ditto.
19684 * libc/sys/*/aclocal.m4 libc/sys/*/configure: Ditto.
19685 * doc/aclocal.m4 doc/configure: Ditto.
19687 2001-04-20 Jeff Johnston <jjohnstn@redhat.com>
19689 * libc/include/stdio.h[!_REENT_ONLY]: Moved various functions together
19691 [!__STRICT_ANSI__]: Moved non-ANSI I/O functions in this list.
19692 (vfscanf, vscanf, vsscanf, _vfscanf_r, _vscanf_r, _vsscanf_r): New
19693 function prototypes.
19694 (_fscanf_r, _sscanf_r): Ditto.
19695 * libc/include/stdlib.h: Added _strtod_r prototype.
19696 * libc/stdio/Makefile.am: Add new v*scanf functions.
19697 * libc/stdio/Makefile.in: Regenerate.
19698 * libc/stdio/fscanf.c: Reorganized so HAVE_STDC only affects prototype
19699 and code is shared. Added reentrant _fscanf_r which calls __svfscanf_r.
19700 * libc/stdio/scanf.c: Changed to call __svfscanf_r.
19701 * libc/stdio/sscanf.c: Changed documentation to add reentrant routines.
19702 (sscanf): Changed to call __svfscanf_r with _REENT argument.
19703 (_sscanf_r): New routine.
19704 * libc/stdio/local.h: Removed __svfscanf prototype and replaced it
19705 with __svfscanf_r prototype.
19706 * libc/stdio/vfscanf.c (vfscanf, _vfscanf_r: New
19708 (__svfscanf_r): Reentrant version of __svfscanf which takes reetrancy
19709 structure as argument as calls reentrant versions of helper functions
19710 (e.g. _strtol_r, _strtoul_r). Also replaced calls to atol and atof
19711 to _strtol_r and _strtod_r respectively.
19712 * libc/stdio/vfscanf.c: Also changed __svfscanf to call __svfscanf_r.
19713 * libc/stdlib/strtod.c (strtod): Changed to call _strtod_r with
19715 * libc/stdio/vscanf.c: New file.
19716 * libc/stdio/vsscanf.c: Ditto.
19718 2001-04-19 Robert Collins <rbtcollins@hotmail.com>
19720 * include/time.h[__CYGWIN__]: Define tzname to _tzname if not defined.
19721 Define daylight to _daylight if it is not defined
19722 Prepare a variable export of timezone based on timezonevariable.
19723 (Cannot be used with the timezone() function.)
19725 2001-04-17 Stephen L. Moshier <moshier@moshier.ne.mediaone.net>
19727 * newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi):
19728 Correct the numerical values.
19730 2001-04-13 Robert Collins <rbtcollins@hotmail.com>
19732 * libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only).
19734 Thu Apr 12 23:11:00 2001 Corinna Vinschen <corinna@vinschen.de>
19736 * libc/include/sys/errno.h: Add ECASECLASH to indicate case clash
19737 on case insensitve file systems.
19739 2001-04-12 Robert Collins <rbtcollins@hotmail.com>
19741 * libc/include/sys/features.h: Add appropriate defines for Cygwin
19743 * libc/include/sys/signal.h: Remove unneeded __CYGWIN__ protection.
19744 * libc/include/sys/types.h: Protect __CYGWIN__ from the rtems pthreads
19745 types. Include <cygwin/types.h> for the cygwin specific typedefs.
19747 2001-04-04 Richard Sandiford <rsandifo@redhat.com>
19749 * libc/include/machine/ieeefp.h: Comment about new configuration
19750 macros _FLT_LARGEST_EXPONENT_IS_NORMAL and _FLT_NO_DENORMALS.
19751 * libm/common/fdlib.h: Define new macros for testing floats.
19752 * libm/common/sf_*: Use them.
19753 * libm/math/ef_*: Likewise.
19754 * libm/math/sf_*: Likewise.
19756 2001-03-29 Jeff Johnston <jjohnstn@redhat.com>
19758 * libc/sys/arm/setjmp.S: Added .code 16 specifier for thumb-mode
19759 prolog to by-pass possible assembler error.
19761 2001-03-21 Egor Duda <deo@logos-m.ru>
19763 Allow building internal stubs for non-reentrant syscalls
19764 if target provides its own malloc
19765 * libc/reent/reent.c (errno): Move definition here.
19766 * libc/reent/sbrkr.c: From here.
19768 2001-03-20 Danny Smith <dannysmith@users.sourceforge.net>
19770 * libc/include/sys/types.h (BSD int typedefs): Guard with
19771 _BSDTYPES_DEFINED rather than _WINSOCK_H.
19772 (fd_set): Add !defined __USE_W32_SOCKETS to guard; define
19774 * libc/include/sys/unistd.h (gethostname): Don't declare if defined
19775 (_WINSOCK_H) || defined (__USE_W32_SOCKETS).
19777 Sat Mar 17 18:30:00 2001 Corinna Vinschen <corinna@vinschen.de>
19779 * libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS and
19780 _PC_POSIX_SECURITY constants for Cygwin.
19782 Wed Mar 14 9:34:00 2001 Corinna Vinschen <corinna@vinschen.de>
19784 * libc/sys/cygwin/crt0.c: Add copyright hint.
19785 * libc/sys/cygwin/sys/dirent.h: Ditto.
19786 * libc/sys/cygwin/sys/param.h: Ditto.
19787 * libc/sys/cygwin/sys/utime.h: Ditto.
19788 * libc/sys/cygwin/sys/utmp.h: Ditto.
19790 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
19792 * libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make it
19793 equivalent to LONGINT.
19795 2001-03-08 Richard Sandiford <rsandifo@redhat.com>
19797 * (libc/include/machine/setjmp.h): Use 23 long long ints for a
19798 jmpbuf on MIPS64 targets.
19799 * (libc/machine/mips/setjmp.S): Add MIPS64 version.
19801 Wed Mar 7 16:02:07 2001 Christopher Faylor <cgf@cygnus.com>
19803 * libc/include/sys/config.h: Use ssize_t for Cygwin read/write
19806 Mon Mar 5 21:48:54 2001 J"orn Rennecke <amylaar@redhat.com>
19808 * libc/include/sys/config.h (_READ_WRITE_RETURN_TYPE): Define.
19809 For RTEMS, define to be ssize_t. Default to int if not defined.
19810 * libc/stdio/sscanf.c (eofread): Return _READ_WRITE_RETURN_TYPE.
19811 * libc/stdio/stdio.c (__sread, __swrite): Likewise.
19812 * libc/stdio/local.h (__sread, __swrite): Likewise.
19813 * libc/include/sys/reent.h (_read, _write): Likewise.
19814 * libc/include/sys/unistd.h (read, write, _read, _write): Likewise.
19815 * libc/syscalls/sysread.c (read): Likewise.
19816 * libc/syscalls/syswrite.c (write): Likewise.
19818 2001-03-05 Jeff Johnston <jjohnstn@redhat.com>
19820 * libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants.
19822 Sat Mar 3 00:34:14 2001 Christopher Faylor <cgf@cygnus.com>
19824 * libc/include/sys/stat.h: Use special defines for executable stat bits
19825 when compiling for Cygwin.
19826 * libc/include/sys/unistd.h: Use special define for X_OK when compiling
19829 2001-03-02 Jeff Johnston <jjohnstn@redhat.com>
19831 * libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype
19832 of strtok_r is always defined.
19834 2001-03-02 Jeff Johnston <jjohnstn@redhat.com>
19836 * libc/include/machine/ansi.h: New dummy header file.
19838 2001-02-22 Jeff Johnston <jjohnstn@redhat.com>
19840 * libc/include/machine/setjmp-dj.h: With DJ Delorie's permission,
19841 changed the copyright information to allow free modification of the
19842 file with no reference to "copying.dj".
19843 * libc/include/sys/stat-dj.h: Ditto.
19844 * libc/machine/i386/setjmp.S: Ditto.
19845 * libc/sys/h8300hms/sys/file.h: Ditto.
19846 * libc/sys/sysmec/access.c: Ditto.
19847 * libc/sys/sysnecv850/access.c: Ditto.
19848 * libc/stdio/mktemp.c: Fixed typo for the word copyright.
19849 * libc/stdlib/getenv_r.c: Ditto.
19850 * libc/stdlib/putenv_r.c: Ditto.
19851 * libc/stdlib/setenv_r.c: Ditto.
19852 * libc/stdlib/getenv.c: Removed DJ reference since any possible
19853 modifications will now be in the _r version of this file.
19854 * libc/stdlib/putenv.c: Ditto.
19855 * libc/stdlib/setenv.c: Ditto.
19856 * libc/sys/go32/copying.dj: Removed DJ's address which is no longer
19857 valid. Added a reference to DJ's web page that contains his address.
19858 * libc/sys/go32/*.s: Removed references to DJ's old address.
19859 * libc/sys/go32/*.c: Ditto.
19860 * libc/sys/go32/*.h: Ditto.
19861 * libc/sys/go32/*.S: Ditto.
19862 * libc/sys/go32/sys/*.h: Ditto.
19864 2001-02-21 Jeff Johnston <jjohnstn@redhat.com>
19866 * libc/stdio/fdopen.c (fdopen): Protect calls to _fcntl() with
19867 HAVE_FCNTL flag check.
19868 * configure.host: Define HAVE_FCNTL for Cygwin, go32, RTEMS, sparc64,
19869 powerpcle, x86 netware, x86 sco, x86 Linux and Vxworks.
19871 Thu Feb 15 01:39:51 2001 Christopher Faylor <cgf@cygnus.com>
19873 * libc/include/sys/signal.h: Always include sys/types.h under Cygwin.
19875 2001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
19877 * libc/include/stdlib.h: Add declarations of rand48 functions and
19878 their reentrant versions.
19879 * libc/include/sys/reent.h: Move macros from rand48.h. Add
19880 struct _rand48 for shared parameters of rand48 functions.
19881 (struct _reent): Add a variable _r48 of struct _rand48.
19882 (_REENT_INIT): Add _r48 initialization.
19883 * libc/stdlib/Makefile.am (lib_a_SOURCES): Add rand48 functions.
19884 (CHEWOUT_FILES): Add rand48.def.
19885 * libc/stdlib/Makefile.am: Add dependencies for rand48 functions.
19886 * libc/stdlib/Makefile.in: Regenerated.
19887 * libc/stdlib/drand48.c (drand48, _drand48_r): Derived from the
19889 * libc/stdlib/erand48.c (erand48, _erand48_r): Ditto.
19890 * libc/stdlib/jrand48.c (jrand48, _jrand48_r): Ditto.
19891 * libc/stdlib/lcong48.c (lcong48, _lcong48_r): Ditto.
19892 * libc/stdlib/lrand48.c (lrand48, _lrand48_r): Ditto.
19893 * libc/stdlib/mrand48.c (mrand48, _mrand48_r): Ditto.
19894 * libc/stdlib/nrand48.c (nrand48, _nrand48_r): Ditto.
19895 * libc/stdlib/seed48.c (seed48, _seed48_r): Ditto.
19896 * libc/stdlib/srand48.c (srand48, _srand48_r): Ditto.
19897 * libc/stdlib/rand48.c (__dorand48): Ditto.
19898 * libc/stdlib/rand48.h: Ditto, and modify declarations of global
19899 parameters into macros referring them in the reentrant structure.
19901 2001-02-12 Jeff Johnston <jjohnstn@redhat.com>
19903 * libc/include/sys/stat.h: Add mknod for Cygwin now that
19904 Cygwin definition has correct prototype.
19906 2001-02-08 Jeff Johnston <jjohnstn@redhat.com>
19908 * libc/include/sys/stat.h: Must revert change for mknod
19909 for CYGWIN until winsup/cygwin/syscalls.cc changes mknod
19912 2001-02-08 Jeff Johnston <jjohnstn@redhat.com>
19914 * libc/include/stdio.h: Revert putw prototype.
19916 2001-02-08 Edward M. Lee <tailbert@yahoo.com>
19918 * libc/include/grp.h: add prototype for initgroups.
19919 * libc/include/stdio.h: fix prototype for putw.
19920 * libc/include/sys/signal.h: add prototype for killpg.
19921 * libc/include/sys/stat.h: enable mknod/lstat for CYGWIN.
19922 * libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp,
19923 vhangup and remove duplicate sysconf prototype.
19925 2001-02-07 Jeff Johnston <jjohnstn@redhat.com>
19927 * libc/sys/rtems/sys/types.h: Removed.
19929 2001-02-05 Charles Wilson <cwilson@ece.gatech.edu>
19931 * libc/include/locale.h: add LC_MESSAGES definition
19933 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
19935 * libc/sys/sh/sys/syscall.h (SYS_get_argc, SYS_get_argN_len,
19937 * libc/sys/sh/syscalls.c (__setup_argv_for_main,
19938 __setup_argv_and_call_main): New.
19940 2001-01-31 Jeff Johnston <jjohnstn@redhat.com>
19942 * libc/include/stdio.h (FILENAME_MAX): Changed to use __FILENAME_MAX__
19944 (FOPEN_MAX): Changed to use __FOPEN_MAX__ if defined.
19945 (L_tmpnam): Changed to use __L_tmpnam__ if defined.
19946 * libc/include/sys/config.h: Changed to set __FILENAME_MAX__
19947 appropriately for Cygwin and RTEMS so not to exceed PATH_MAX.
19949 Mon Jan 29 23:03:06 2001 Christopher Faylor <cgf@cygnus.com>
19951 * libc/stdlib/mallocr.c: Undefine windows preprocessor variables when
19952 compiling under Cygwin.
19954 2001-01-29 Jeff Johnston <jjohnstn@redhat.com>
19956 * libc/include/math.h (signgam): Change to errno-like solution
19957 using a function to return the address of the real signgam.
19958 * libc/reent/signgam.c: New file containing __signgam().
19959 * libc/reent/Makefile.am: Added signgam.c to list of files.
19960 * libc/reent/Makefile.in: Regenerated.
19962 2001-01-25 Alexandre Oliva <aoliva@redhat.com>
19964 * libc/sys/sh/syscalls.c (_times): New.
19966 * configure.host (sh*-*-*): Add -DHAVE_GETTIMEOFDAY to newlib_cflags.
19967 * libc/sys/sh/syscalls.c (_gettimeofday): New.
19969 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
19971 * libc/include/math.h (signgam): Regress previous fix as
19972 it does not handle programs with extern int signgam in them.
19974 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
19976 * libc/include/math.h (signgam): Changed to a macro refering to
19977 its location in the reentrant structure.
19979 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
19981 * libc/stdio/vfprintf.c (_VFPRINTF_R): Modification to fix
19982 that suppressed . for %.0f, 0.1. Check now looks if there
19983 are padding zeroes (expt) in addition to any digits (ndig) to
19986 2001-01-18 Jeff Johnston <jjohnstn@redhat.com>
19988 * libc/sys/arc/Makefile.am: New file.
19989 * libc/sys/arc/Makefile.in: Ditto.
19990 * libc/sys/arc/aclocal.m4: Ditto.
19991 * libc/sys/arc/configure: Ditto.
19992 * libc/sys/arc/configure.in: Ditto.
19993 * libc/sys/arc/crt0.S: Ditto.
19994 * libc/sys/arc/isatty.c: Ditto.
19995 * libc/sys/arc/mem-layout.c: Ditto.
19996 * libc/sys/arc/sbrk.c: Ditto.
19997 * libc/sys/arc/syscalls.c: Ditto.
19998 * libc/sys/arc/sys/syscall.h: Ditto.
20000 Wed Jan 17 23:20:56 2001 Christopher Faylor <cgf@cygnus.com>
20002 * libc/include/sys/unistd.h: Use correct declaration for setdtablesize.
20004 Fri Jan 12 00:34:31 2001 Christopher Faylor <cgf@cygnus.com>
20006 * libc/include/sys/signal.h: Add some SA_* defines for Cygwin.
20008 Thu Jan 11 20:42:06 2001 Earnie Boyd <earnie_boyd@yahoo.com>
20010 * libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__
20012 2001-01-09 Nick Clifton <nickc@redhat.com>
20014 * configure.host (v859): Remove unsupported compiler options.
20016 Fri Jan 5 19:57:00 EST 2001 Aaron J. Grier <aaron@frye.com>
20018 * src/newlib/configure.host (*-*-rtems*): add printf long long
20021 2000-12-19 Graham Stott <grahams@redhat.com>
20023 * libc/machine/xscale/memcmp.c (memcmp): Add clobber for "lr".
20025 Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
20027 * configure.host: Turn on long double I/O for Cygwin.
20029 Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
20031 * MAINTAINERS: Removed Ranjith.
20032 * NEWS: Updated for 1.9.0.
20034 * acinclude.m4: Updated to release 1.9.0.
20035 * aclocal.m4 configure
20036 doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
20037 libc/machine/aclocal.m4 libc/machine/configure
20038 libc/machine/a29k/aclocal.m4 libc/machine/a29k/configure
20039 libc/machine/arm/aclocal.m4 libc/machine/arm/configure
20040 libc/machine/d10v/aclocal.m4 libc/machine/d10v/configure
20041 libc/machine/d30v/aclocal.m4 libc/machine/d30v/configure
20042 libc/machine/fr30/aclocal.m4 libc/machine/fr30/configure
20043 libc/machine/h8300/aclocal.m4 libc/machine/h8300/configure
20044 libc/machine/h8500/aclocal.m4 libc/machine/h8500/configure
20045 libc/machine/hppa/aclocal.m4 libc/machine/hppa/configure
20046 libc/machine/i386/aclocal.m4 libc/machine/i386/configure
20047 libc/machine/i960/aclocal.m4 libc/machine/i960/configure
20048 libc/machine/m32r/aclocal.m4 libc/machine/m32r/configure
20049 libc/machine/m68k/aclocal.m4 libc/machine/m68k/configure
20050 libc/machine/m88k/aclocal.m4 libc/machine/m88k/configure
20051 libc/machine/mips/aclocal.m4 libc/machine/mips/configure
20052 libc/machine/mn10200/aclocal.m4 libc/machine/mn10200/configure
20053 libc/machine/mn10300/aclocal.m4 libc/machine/mn10300/configure
20054 libc/machine/necv70/aclocal.m4 libc/machine/necv70/configure
20055 libc/machine/powerpc/aclocal.m4 libc/machine/powerpc/configure
20056 libc/machine/sh/aclocal.m4 libc/machine/sh/configure
20057 libc/machine/sparc/aclocal.m4 libc/machine/sparc/configure
20058 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
20059 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
20060 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
20061 libc/machine/xscale/aclocal.m4 libc/machine/xscale/configure
20062 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
20063 libc/sys/aclocal.m4 libc/sys/configure
20064 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
20065 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
20066 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
20067 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
20068 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
20069 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
20070 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
20071 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
20072 libc/sys/linux/aclocal.m4 libc/sys/linux/configure
20073 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
20074 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
20075 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
20076 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
20077 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
20078 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
20079 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
20080 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
20081 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
20082 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
20083 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
20084 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
20085 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
20086 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
20087 libm/aclocal.m4 libm/configure: Regenerated.
20089 Wed Dec 13 11:52:00 2000 Corinna Vinschen <vinschen@cygnus.com>
20091 * libc/include/sys/unistd.h: Add declarations for `chroot' and `getwd'
20092 when __CYGWIN__ is defined.
20094 2000-12-13 Jeff Johnston <jjohnstn@redhat.com>
20096 * libc/stdlib/ldtoa.c (_ldcheck): New routine
20097 that categorizes a long double as NaN, Infinity, or other.
20098 * libc/stdio/vfprintf.c [WANT_IO_LONG_DBL](_VFPRINTF_R): Removed
20099 isinfl and isnanl static routines which were i386-specific. Changed
20100 calls to the two removed routines to a single _ldcheck call.
20101 * libc/stdio/vfieeefp.h (ldieee): Fixed missing semi-colons.
20103 2000-12-13 Jeff Johnston <jjohnstn@redhat.com>
20105 * Makefile.am: Fixed install-data-local target to use
20106 $(mkinstalldirs) for the installed header files to ensure
20107 the directories exist before copying.
20108 * Makefile.in: Regenerated.
20110 2000-12-12 Jeff Johnston <jjohnstn@redhat.com>
20112 * libc/include/sys/unistd.h: Restored Cygwin _SC
20113 constants and moved new constants appropriately
20114 so Cygwin will build.
20116 2000-12-11 Joel Sherrill <joel@OARcorp.com>
20118 * Merge RTEMS specific .h files into main libc/include.
20119 * libc/sys/rtems/include/signal.h: Removed.
20120 * libc/sys/rtems/include/time.h: Removed.
20121 * libc/sys/rtems/sys/features.h: Removed.
20122 * libc/sys/rtems/sys/sched.h: Removed.
20123 * libc/sys/rtems/sys/siginfo.h: Removed.
20124 * libc/sys/rtems/sys/signal.h: Removed.
20125 * libc/sys/rtems/sys/time.h: Removed.
20126 * libc/sys/rtems/sys/times.h: Removed.
20127 definitions for time_t and clock_t since these are
20128 no longer in time.h.
20129 * libc/include/pthread.h: New file.
20130 * libc/include/sys/sched.h: New file.
20131 * libc/include/sys/features.h: New file.
20132 * libc/include/time.h: Removed duplicate definition of clock_t
20133 and time_t, get them from <sys/types.h> instead. Add prototypes
20134 for POSIX clock and timer functionality.
20135 * libc/sys/linux/sys/types.h: Changed to include
20136 * libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_.
20137 * libc/include/sys/signal.h: Add more complete set of POSIX
20138 signal functionality including real-time and threaded signals.
20139 * libc/include/sys/types.h: Add clock_t, time_t, struct
20140 timespec, and struct itimerspec. Centralizing these makes
20141 things cleaner. RTEMS uses 64-bit dev_t.
20142 Added numerous primitive definitions
20143 for pthreads including macros, pthread_attr_t,
20144 pthread_mutexattr_t, pthread_condattr_t, pthread_key_t,
20145 pthread_once_t, and pthread_t.
20146 * libc/include/sys/unistd.h: Added getlogin_r() prototype.
20147 If RTEMS follow POSIX on read(), write() and sbrk() prototype.
20148 Feature flags removed and moved to new file <sys/features.h>.
20149 Full set of POSIX sysconf() constants
20151 2000-12-08 Werner Almesberger <Werner.Almesberger@epfl.ch>
20153 * configure.host: Added x86 linux target.
20154 * libc/unix/getpass.c (_PATH_PASSWD, _PASSWORD_LEN): Default
20155 definitions provided if not already defined.
20156 * libc/sys/linux/crt0.c: New file.
20157 * libc/sys/linux/Makefile.am: Ditto.
20158 * libc/sys/linux/Makefile.in: Ditto.
20159 * libc/sys/linux/aclocal.m4: Ditto.
20160 * libc/sys/linux/brk.c: Ditto.
20161 * libc/sys/linux/configure: Ditto.
20162 * libc/sys/linux/configure.in: Ditto.
20163 * libc/sys/linux/getoptlong.c: Ditto.
20164 * libc/sys/linux/ids.c: Ditto.
20165 * libc/sys/linux/inode.c: Ditto.
20166 * libc/sys/linux/io.c: Ditto.
20167 * libc/sys/linux/linux.c: Ditto.
20168 * libc/sys/linux/process.c: Ditto.
20169 * libc/sys/linux/realpath.c: Ditto.
20170 * libc/sys/linux/select.c: Ditto.
20171 * libc/sys/linux/signal.c: Ditto.
20172 * libc/sys/linux/systat.c: Ditto.
20173 * libc/sys/linux/termios.c: Ditto.
20174 * libc/sys/linux/time.c: Ditto.
20175 * libc/sys/linux/wait.c: Ditto.
20176 * libc/sys/linux/include/alloca.h: Ditto.
20177 * libc/sys/linux/include/getopt.h: Ditto.
20178 * libc/sys/linux/include/stdint.h: Ditto.
20179 * libc/sys/linux/include/unistd.h: Ditto.
20180 * libc/sys/linux/sys/cdefs.h: Ditto.
20181 * libc/sys/linux/sys/dirent.h: Ditto.
20182 * libc/sys/linux/sys/errno.h: Ditto.
20183 * libc/sys/linux/sys/fcntl.h: Ditto.
20184 * libc/sys/linux/sys/file.h: Ditto.
20185 * libc/sys/linux/sys/ioctl.h: Ditto.
20186 * libc/sys/linux/sys/resource.h: Ditto.
20187 * libc/sys/linux/sys/signal.h: Ditto.
20188 * libc/sys/linux/sys/stat.h: Ditto.
20189 * libc/sys/linux/sys/syscall.h: Ditto.
20190 * libc/sys/linux/sys/termios.h: Ditto.
20191 * libc/sys/linux/sys/time.h: Ditto.
20192 * libc/sys/linux/sys/types.h: Ditto.
20193 * libc/sys/linux/sys/utmp.h: Ditto.
20194 * libc/sys/linux/sys/utsname.h: Ditto.
20195 * libc/sys/linux/sys/wait.h: Ditto.
20197 2000-12-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
20199 * Makefile.am: $(INSTALL), $(INSTALL_DATA), and $(INSTALL_PROGRAM)
20200 can be a relative path to $(top_srcdir)/install.sh so ensure the
20201 autoconf detected settings are properly passed recursively.
20202 Similarly, add AM_MAKEFLAGS to FLAGS_TO_PASS so they also get passed
20203 properly to subdirectories.
20204 * Makefile.in: Regenerated.
20206 2000-12-07 Jay Kulpinski <jskulpin@eng01.gdds.com>
20208 * libc/stdio/vfprintf.c: Minor modification to avoid requiring
20209 a floating point register unless really printing a floating
20212 2000-12-07 Jeff Johnston <jjohnstn@redhat.com>
20214 * libc/stdlib/ldtoa.c: Removed include of alloca.h.
20216 (asctoeg): Replaced alloca call with stack array and malloc
20217 when storage exceeds reasonable limit.
20218 (e53toe): Fixed einfin calls missing ldp parameter.
20219 (eiisinf): Hide behind check for LDBL_MANT_DIG == 64.
20221 2000-12-06 Jeff Johnston <jjohnstn@redhat.com>
20224 * libc/stdio/vfscanf.c: Fix typo for _NO_LONGDBL macro.
20226 2000-12-06 Jeff Johnston <jjohnstn@redhat.com>
20228 * libc/stdlib/Makefile.am: Added ldtoa.c to list of sources.
20229 * libc/stdlib/Makefile.in: Regenerated.
20230 * libc/stdio/floatio.h: Added suitable MAXEXP for long double.
20231 * libc/stdio/vfieeefp.h: Added long double bit structures.
20232 * libc/stdio/vfprintf.c[WANT_IO_LONG_DBL]: Added long double support.
20233 [WANT_IO_LONG_DBL](isinfl, isnanl): New static long double routines.
20234 (exponent): Changed expbuf to reasonable maximum instead of MAXEXP.
20235 * libc/stdio/vfscanf.c[WANT_IO_LONG_DBL]: Added long double support.
20236 * libc/stdlib/ldtoa.c: New file containing _ldtoa_r and
20237 _strtold routines used for conversions between character
20240 Wed Dec 6 12:01:00 2000 Corinna Vinschen <vinschen@cygnus.com>
20242 * libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'.
20244 2000-12-04 Joel Sherrill <joel@OARcorp.com>
20246 * libc/include/machine/time.h: RTEMS systems can configure clock
20247 tick rate so use sysconf() to ask.
20249 2000-12-04 Joel Sherrill <joel@OARcorp.com>
20251 * libc/include/sys/times.h: Add reference to POSIX standard.
20253 2000-12-04 Joel Sherrill <joel@OARcorp.com>
20255 * libc/include/sys/time.h: Added BSD timer manipulation macros
20256 used by RTEMS code.
20258 2000-12-04 Joel Sherrill <joel@OARcorp.com>
20260 * libc/sys/rtems/crt0.c: Add stubs for functions implicitly
20261 referenced by code generated by gcc 2.8.1.
20262 (a29k): Add stubs for V_SPILL, V_FILL, V_BSD_OS, V_EPI_OS to
20265 2000-12-04 Joel Sherrill <joel@OARcorp.com>
20267 * libc/stdlib/system.c: Avoid compiling do_system() for RTEMS.
20269 2000-12-04 Joel Sherrill <joel@OARcorp.com>
20271 * libc/include/ieeefp.h: Added entries for OpenCores CPUs.
20273 2000-12-04 Joel Sherrill <joel@OARcorp.com>
20275 * configure.host (or16, or32): New entries for OpenCores
20277 (*-*-rtems*): Add -DNO_EXEC.
20279 2000-12-04 Keith Outwater <vac4050@cae597.rsc.raytheon.com>
20281 * libc/include/sys/errno.h: Added comments on many error numbers.
20282 * libc/string/strerror.c: Added some more strings.
20284 2000-11-30 Jeff Johnston <jjohnstn@redhat.com>
20286 * libc/sys/sh/syscalls.c (_link): New stub.
20288 2000-11-29 Nick Clifton <nickc@redhat.com>
20290 * configure.host: Add xscale target.
20291 * libc/machine/xscale: New directory.
20292 * libc/machine/xscale/Makefile.am: New file.
20293 * libc/machine/xscale/Makefile.in: New file.
20294 * libc/machine/xscale/aclocal.m4: New file.
20295 * libc/machine/xscale/configure: New file.
20296 * libc/machine/xscale/configure.in: New file.
20297 * libc/machine/xscale/memchr.S: New file.
20298 * libc/machine/xscale/memcmp.S: New file.
20299 * libc/machine/xscale/memcpy.S: New file.
20300 * libc/machine/xscale/memmove.S: New file.
20301 * libc/machine/xscale/memset.S: New file.
20302 * libc/machine/xscale/strchr.S: New file.
20303 * libc/machine/xscale/strcmp.S: New file.
20304 * libc/machine/xscale/strcpy.S: New file.
20305 * libc/machine/xscale/strlen.S: New file.
20307 Sat Nov 25 11:24:00 2000 Corinna Vinschen <vinschen@cygnus.com>
20309 * libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro to
20310 avoid compiler warnings.
20312 2000-11-22 Michael Meissner <meissner@redhat.com>
20314 * libc/posix/execl.c (execl): Don't reference environ directly,
20315 reference it only via a static pointer to avoid problems with some
20316 shared library systems and with different uses of small data where
20317 the user specifies his own version of environ.
20318 * libc/posix/execv.c (execv): Ditto.
20319 * libc/stdlib/getenv_r.c (_findenv_r): Ditto.
20320 * libc/stdlib/setenv_r.c (_setenv_r,_unsetenv_r): Ditto.
20321 * libc/stdlib/system.c (system, !cygwin32 case): Ditto.
20323 * libc/stdlib/getenv.c (environ): Delete unused reference to
20326 * libc/stdlib/getenv_r.c: Make initial comment friendlier to emacs
20328 * libc/stdlib/system.c: Ditto.
20330 Tue Nov 21 20:32:21 2000 Christopher Faylor <cgf@cygnus.com>
20332 * libc/sys/cygwin/sys/dirent.h: Change definition to avoid necessity of
20333 including windows headers.
20335 2000-11-20 Jeff Johnston <jjohnstn@redhat.com>
20337 * libc/include/sys/unistd.h: Removed definition of MAXNAMLEN.
20338 * libc/include/dirent.h: Added definition of MAXNAMLEN if
20339 not defined by sys/dirent.h.
20340 * libc/posix/execvp.c: Added include of dirent.h to get
20341 MAXNAMLEN value which used to be in unistd.h.
20343 Mon Nov 6 12:56:00 2000 Corinna Vinschen <vinschen@cygnus.com>
20345 * libc/include/sys/types.h: Change type of i to `size_t' in
20346 FD_ZERO macro to avoid compiler warnings.
20348 Sun Oct 29 20:06:41 2000 Christopher Faylor <cgf@cygnus.com>
20350 * libc/include/stdlib.h: Avoid declaring cfree under Cygwin.
20351 * libc/include/malloc.h: Ditto. Also remove obsolete declaration.
20353 Tue Oct 24 20:16:00 2000 Corinna Vinschen <vinschen@cygnus.com>
20355 * libc/include/sys/unistd.h: Add defines for sysconf values
20356 _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and
20359 Mon Oct 9 20:26:33 2000 Christopher Faylor <cgf@cygnus.com>
20361 * libc/include/sys/unistd.h: Add getdtablesize and setdtablesize
20362 declarations for __CYGWIN__.
20364 2000-09-19 Geoffrey Keating <geoffk@cygnus.com>
20366 * libc/signal/signal.c (__sigtramp_r): ISO C requires
20367 case labels to be integral constant expressions, so
20368 use an if/else tree instead.
20369 (_raise_r): Likewise.
20371 2000-09-13 Jeff Johnston <jjohnstn@redhat.com>
20373 * libc/machine/v850/setjmp.S: Fixed tab problems caused by
20374 clipping patch from e-mail reader.
20376 2000-09-13 Will Cohen <wcohen@redhat.com>
20378 * libc/machine/v850/setjmp.S (_setjmp): Save r1 rather than r0.
20379 Added return value 0.
20380 (_longjmp): Allow longjmp to return value of second argument
20383 2000-09-06 Jeff Johnston <jjohnstn@redhat.com>
20385 * libc/include/sys/types.h (FD_ZERO): Remove call to bzero and
20386 inline code to prevent having to include another header file.
20388 Wed Sep 6 15:06:40 2000 Christopher Faylor <cgf@cygnus.com>
20390 * Makefile.am: Fix space vs. tab problem in install-data-local.
20391 * Makefile.in: Regenerate.
20393 Wed Sep 6 13:49:51 2000 Christopher Faylor <cgf@cygnus.com>
20395 * libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__.
20396 (_EXPARM): New macro for defining a function parameter.
20397 * libc/include/stdlib.h: Use _EXPARM.
20398 * libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
20400 2000-09-05 Manfred Hollstein <manfredh@redhat.com>
20402 * Makefile.am (install-data-local): Use optional $(DESTDIR) where
20403 required, as documented in the gnu coding standards.
20404 * Makefile.in: Regenerate.
20406 2000-09-05 Jeff Johnston <jjohnstn@redhat.com>
20408 * libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to
20409 make O_NDELAY and O_NONBLOCK have the same value.
20411 2000-08-30 Kazu Hirata <kazu@hxi.com>
20413 * libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.
20415 2000-08-30 Werner Almesberger <Werner.Almesberger@epfl.ch>
20417 * libc/posix/execve.c: included unistd.h for "_execve" prototype.
20418 * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed
20419 "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like
20422 2000-08-30 Geoffrey Keating <geoffk@cygnus.com>
20424 * libc/string/swab.c: Specify that it's defined in <unistd.h>.
20425 * libc/include/string.h: Don't include <sys/types.h>,
20426 as it causes really bad namespace pollution. Don't declare
20427 swab(), it is properly declared in unistd.h.
20429 2000-08-29 Werner Almesberger <Werner.Almesberger@epfl.ch>
20431 * libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed
20432 (broken) support for non-existent /etc/passwd field "comment".
20434 2000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
20436 * libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen
20437 only if _DIRENT_HAVE_D_NAMLEN is defined.
20438 (alphasort): aligned prototype with
20439 libc/sys/cygwin/sys/dirent.h and simplified function body.
20440 * libc/posix/telldir.c (telldir): changed "telldir" prototype to
20441 long telldir (DIR *) as mentioned in annex B of POSIX.1
20443 2000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
20445 * libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type
20446 of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined;
20447 Added __CLI and __STI macros (controlled via
20448 _I386MACH_ALLOW_HW_INTERRUPTS macro).
20449 * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S
20450 libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S
20451 libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S
20452 libc/machine/i386/f_log.S libc/machine/i386/f_log10.S
20453 libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S
20454 libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S
20455 libc/machine/i386/memchr.S libc/machine/i386/memcmp.S
20456 libc/machine/i386/memcpy.S libc/machine/i386/memmove.S
20457 libc/machine/i386/memset.S libc/machine/i386/setjmp.S
20458 libc/machine/i386/strchr.S libc/machine/i386/strlen.S:
20459 (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol)
20460 for all global entry points.
20461 * libc/machine/i386/setjmp.S: removed code replicated in
20462 libc/machine/i386/i386mach.h and included i386mach.h instead;
20463 Use __CLI and __STI instead of cli and sti.
20465 2000-08-25 DJ Delorie <dj@redhat.com>
20467 * libc/include/sys/unistd.h (environ): this one isn't from the
20470 Fri Aug 25 13:37:11 2000 Christopher Faylor <cgf@cygnus.com>
20472 * libc/stdlib/system.c (do_system): Eliminate explicit declaration of
20473 environ when compiling under cygwin since it is already declared in
20476 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
20478 * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
20479 like x << y-z to the equivalent x << (y-z).
20480 (d2b): changed if statements with assignment to perform the
20481 assignment prior to the if check.
20482 * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
20483 * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
20484 * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
20485 * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
20487 * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
20488 Added "_execve" prototype (for execl.c, execle.c, execv.c, and
20490 * libc/posix/popen.c (popen): added parentheses to clarify && and ||
20492 * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
20493 clarify && and || precendence (and to remove pascalism).
20494 * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
20495 * libm/math/s_infconst.c: added another pair of braces to all
20496 initializers for __infinity (need three: for __infinity[1] array,
20497 for union __dmath, and for i[2]).
20499 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
20501 * libc/stdlib/abort.c: changed description: uses "raise" instead of
20502 "getpid" and "kill"; added: uses "write" and "_exit".
20503 Also included unistd.h for "_exit" prototype.
20504 * libc/stdlib/system.c: included unistd.h for "execve" prototype,
20505 reent.h for "_fork_r" and "_wait_r" prototypes.
20506 (do_system): changed extern char *environ[] to POSIX-friendly
20507 extern char **environ.
20508 * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp"
20510 * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype.
20511 * libc/reent/execr.c: included sys/wait.h for "wait" prototype.
20512 * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype.
20513 * libc/reent/openr.c: included fcntl.h for "open" prototype.
20514 * libc/reent/signalr.c: included signal.h for "kill" prototype,
20515 unistd.h for "getpid" prototype.
20516 * libc/reent/statr.c: included sys/stat.h for "stat" prototype.
20517 * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype.
20518 * libc/unix/getut.c (utmpname): removed local, incorrect "strdup"
20519 prototype. Also included stdlib.h for "abort", string.h for
20520 "strdup" and "strncmp" prototypes.
20521 * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and
20522 "strncpy", unistd.h for "read" and "close" prototypes.
20523 * libc/posix/execvp.c: included string.h for "strchr", "strlen", and
20524 "strcat" prototypes.
20526 2000-08-23 Werner Almesberger <Wernen Almesberger@epfl.ch>
20528 * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's
20529 used later (ifdef __SCLE)
20530 * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's
20531 used later (ifdef MB_CAPABLE)
20532 * libc/string/memset.c (memset): removed unused variables "count"
20533 and "unaligned_addr"
20534 * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and
20535 "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE)
20536 * libc/unix/getpwent.c (getpwnam): removed unused variables "uid"
20539 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
20541 * libc/stdlib/envlock.c: changed documented "__env_lock" and
20542 "__env_unlock" prototype from "void *" or "char *" to
20543 "struct _reent *" to match real function. Also added include
20545 * libc/stdlib/mlock.c: changed documented "__malloc_lock" and
20546 "__malloc_unlock" prototype from "void *" or "char *" to
20547 "struct _reent *" to match real function.
20548 * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock"
20549 prototypes (for getenv_r.c and setenv_r.c).
20551 2000-08-22 Werner Almesberger <Werner.Almesberger@epfl.ch>
20553 * libc/unix/getut.c (utmpname): added _CONST to reflect common use
20554 and prototype in cygwin's utmp.h
20556 2000-08-16 Eric Fifer <efifer@sanwaint.com>
20558 * libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
20560 2000-08-09 Nick Clifton <nickc@cygnus.com>
20562 * libc/sys/arm/setjmp.S: Recode to clean up function prologues and
20563 epilogue and to allow the functions to be used in a Thumb based
20566 2000-08-08 Jeff Johnston <jjohnstn@redhat.com>
20568 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code
20569 so size of 0 results in nothing being written to string.
20570 Also fixed code so that when size is non-zero, there is only
20571 a maximum of size - 1 characters written to the array and
20572 a nul terminator is appended at the end.
20573 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
20575 2000-08-01 DJ Delorie <dj@redhat.com>
20577 * libc/include/sys/config.h: define __IMPORT appropriately
20578 * libc/include/ctype.h (_ctype_): use __IMPORT
20579 * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto
20580 * libc/include/math.h (__mb_cur_max): ditto
20581 * libc/include/time.h (_timezone, _daylight, _tzname): ditto
20582 * libc/include/unctrl.h (__unctrl, __unctrllen): ditto
20583 * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto
20584 * libc/include/unistd.h (environ): ditto
20586 2000-07-28 Michael Meissner <meissner@redhat.com>
20588 * libc/include/math.h (__infinity): Declare as an array without
20589 bounds to get around small data support. Rewrite Cygwin support
20590 to be more general.
20591 * libm/math/s_infconst.c (__infinity): Ditto.
20592 * libm/mathfp/s_infconst.c (__infinity): Ditto.
20594 Thu Jul 27 10:46:01 2000 Christopher Faylor <cgf@cygnus.com>
20596 * libc/include/math.h: Use appropriate dll import linkage for
20597 __infinity under Cygwin.
20599 2000-07-13 DJ Delorie <dj@cygnus.com>
20601 * libc/stdio/vfprintf.c: pad 0.0 correctly with %e
20603 Wed Jun 28 14:08:00 2000 Keith Walker <keith.walker@arm.com>
20605 * libc/sys/arm/crt0.S (.LC30): Added missing length parameter
20606 to argument list for AngelSWI_Reason_GetCmdLine.
20608 Tue Jun 27 15:49:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
20610 * configure.host: Add support for AVR target.
20611 * libc/include/machine/ieeefp.h: Likewise.
20612 * libc/include/sys/config.h: Likewise.
20614 Thu Jun 22 18:35:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
20616 * README: Newlib 1.8.2 must be built in a separate directory
20619 Tue Jun 20 14:30:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
20621 * libc/include/sys/reent.h (_rand_next): Added __extension__
20622 qualifier as long long type is not strict ANSI.
20623 * libc/stdlib/rand.c (rand): Added __extension__ qualifier
20624 to long long constant.
20626 Fri Jun 16 23:02:00 2000 Corinna Vinschen <corinna@vinschen.de>
20628 * libc/include/sys/unistd.h: Add prototypes for `seteuid' and
20629 `setegid' provided by Cygwin.
20631 Thu Jun 15 0:21:00 2000 Corinna Vinschen <corinna@vinschen.de>
20633 * libc/stdio/fdopen.c: Take explicit given bin/textmode into
20634 account for Cygwin.
20636 Fri Jun 9 14:28:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
20638 * libc/include/sys/reent.h (_rand_next): Changed to
20639 unsigned long long and moved to end of _reent struct in _new union.
20640 (_REENT_INIT): Changed to move _rand_next initialization.
20641 * libc/stdlib/rand.c (rand): Changed to use unsigned long long
20642 linear congruential algorithm that is used by DJGPP.
20644 Thu Jun 8 21:18:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
20646 * libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX.
20647 * libc/include/sys/config.h: Define __RAND_MAX.
20649 Thu Jun 8 17:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
20651 * libc/stdlib/rand_r.c: New algorithm that meets minimal
20654 Fri Jun 2 23:02:11 2000 Christopher Faylor <cgf@cygnus.com>
20656 * libc/include/string.h: Work around problem with strsignal and gdb.
20658 Tue May 30 13:13:01 2000 Christopher Faylor <cgf@cygnus.com>
20660 * libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__
20661 * libc/include/malloc.h: Ditto.
20662 * libc/include/process.h: Ditto.
20663 * libc/include/stdio.h: Ditto.
20664 * libc/include/stdlib.h: Ditto.
20665 * libc/include/time.h: Ditto.
20666 * libc/include/machine/setjmp.h: Ditto.
20667 * libc/include/sys/errno.h: Ditto.
20668 * libc/include/sys/signal.h: Ditto.
20669 * libc/include/sys/stat.h: Ditto.
20670 * libc/include/sys/time.h: Ditto.
20671 * libc/include/sys/unistd.h: Ditto.
20672 * libc/include/string.h: Ditto. strsignal should return a const char *.
20674 2000-05-26 Marek Michalkiewicz <marekm@linux.org.pl>
20676 * libm/common/s_expm1.c (expm1): Add curly braces, avoid warnings.
20677 * libm/common/s_log1p.c (log1p): Likewise.
20678 * libm/common/s_scalbn.c (scalbn): Likewise.
20679 * libm/math/e_log.c: Likewise.
20680 * libm/math/e_asin.c: Likewise.
20681 * libm/math/ef_asin.c: Likewise.
20682 * libm/math/e_j0.c (pzero, qzero): Remove redundant test.
20683 * libm/math/e_j1.c (pone, qone): Likewise.
20684 * libm/math/ef_j0.c (pzerof, qzerof): Likewise.
20685 * libm/math/ef_j1.c (ponef, qonef): Likewise.
20686 * libm/mathfp/e_j0.c (pzero, qzero): Likewise.
20687 * libm/mathfp/e_j1.c (pone, qone): Likewise.
20688 * libm/mathfp/ef_j0.c (pzerof, qzerof): Likewise.
20689 * libm/mathfp/ef_j1.c (ponef, qonef): Likewise.
20691 2000-05-19 DJ Delorie <dj@cygnus.com>
20693 * libc/stdio/stdio.c (__stextmode): new, see if file is text mode
20694 (__sread): always read in binary mode
20695 (__swrite): always write in binary mode
20696 * libc/include/stdio.h: no getc/putc macros for cygwin; causes
20697 compatibility issues with different dll versions
20698 * libc/stdio/fopen.c: use __stextmode
20699 * libc/stdio/fdopen.c: ditto
20700 * libc/stdio/freopen.c: ditto
20701 * libc/stdio/findfp.c: set up __SCLE for std{in,out,err}
20702 * libc/stdio/local.h: declare __stextmode
20704 2000-05-18 DJ Delorie <dj@cygnus.com>
20706 * libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLE
20708 Mon May 15 18:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
20710 * libc/include/ctype.h: Changed tolower and toupper macros
20711 to use __extension__ to prevent pedantic warnings.
20713 Mon May 15 14:26:00 2000 Joel Sherrill <joel@oarcorp.com>
20715 * libc/sys/rtems/sys/time.h: Add macros for manipulating timeval
20718 Wed May 10 19:24:53 2000 Jim Wilson <wilson@cygnus.com>
20720 * libc/include/machine/ieeefp.h: Add ia64 support.
20721 * configure.host: Likewise.
20723 Wed May 10 13:52:24 2000 Egor Duda <deo@logos-m.ru>
20725 * libc/time/asctime_r.c (asctime_r): Change output format. Day of
20726 month is now padded with space, not zero. This now conforms to
20729 Wed May 03 17:57:00 2000 Corinna Vinschen <corinna@vinschen.de>
20731 * libc/include/sys/errno.h: Add define for ENOSHARE ("No such
20732 host or network path") used by cygwin. Add some comments.
20734 Tue May 02 23:45:48 2000 DJ Delorie <dj@cygnus.com>
20736 * libc/include/stdio.h (FILE): define __SCLE for "convert line
20737 endings" for Cygwin.
20738 (__sgetc): convert line endings if needed
20740 * libc/stdio/fdopen.c (_fdopen_r): Remember if we opened in text mode
20741 * libc/stdio/fopen.c (_fopen_r): ditto
20742 * libc/stdio/freopen.c (freopen): ditto
20743 * libc/stdio/fread.c (fread): perform CRLF conversions if __SCLE
20744 * libc/stdio/fvwrite.c (__sfvwrite): ditto
20746 Thu Apr 27 07:45:48 2000 Alexandre Oliva <aoliva@cygnus.com>
20748 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Use
20749 post-increment when it is worth it, spacewise.
20751 Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
20753 * libc/signal/signal.c (_signal_r) : Removed unused local variable temp.
20754 * libc/stdio/findfp.c (std): Added declaration of flags and file.
20755 * libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int
20757 * libc/stdio/putchar.c (putchar): Added return statement.
20758 * libc/stdio/refill.c (lflush): Added correct parentheses.
20759 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
20760 * libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which
20761 prints long value to use l qualifier.
20762 * libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning
20763 messages and initialized local values: ilim, ilim1, and spec_case.
20764 * libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp.
20765 * libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses.
20766 * libc/stdlib/mprec.c: Ditto.
20767 * libc/stdlib/setenv_r.c: Ditto.
20768 * libc/stdlib/strtod.c: Ditto.
20769 * libc/stdlib/strtol.c: Ditto.
20770 * libc/stdlib/strtoul.c: Ditto.
20771 * libm/common/sf_expm1.c: Added curly braces to if else clauses.
20772 * libm/common/sf_log1p.c: Ditto.
20773 * libm/common/sf_scalbn.c: Ditto.
20774 * libm/math/ef_log.c: Ditto.
20776 Sun Apr 16 12:45:00 2000 Corinna Vinschen <corinna@vinschen.de>
20778 * libc/posix/execvp.c (execvp): Check path for
20781 Fri Mar 31 20:39:00 2000 Corinna Vinschen <corinna@vinschen.de>
20783 * libc/include/sys/unistd.h: Add prototypes for
20784 fchmod, fchown, lchown.
20786 Fri Mar 24 15:34:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
20788 * acinclude.m4: Changed release to 1.8.2.
20789 * aclocal.m4 configure doc/aclocal.m4 doc/configure
20790 libc/aclocal.m4 libc/configure libc/machine/aclocal.m4
20791 libc/machine/configure libc/machine/a29k/aclocal.m4
20792 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
20793 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
20794 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
20795 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
20796 libc/machine/fr30/configure libc/machine/h8300/aclocal.m4
20797 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
20798 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
20799 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
20800 libc/machine/i386/configure libc/machine/i960/aclocal.m4
20801 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
20802 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
20803 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
20804 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
20805 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
20806 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
20807 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
20808 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
20809 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
20810 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
20811 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
20812 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
20813 libc/machine/v850/configure libc/machine/w65/aclocal.m4
20814 libc/machine/w65/configure libc/machine/z8k/aclocal.m4
20815 libc/machine/z8k/configure libc/sys/aclocal.m4
20816 libc/sys/aclocal.m4 libc/sys/configure
20817 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
20818 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
20819 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
20820 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
20821 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
20822 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
20823 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
20824 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
20825 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
20826 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
20827 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
20828 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
20829 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
20830 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
20831 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
20832 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
20833 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
20834 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
20835 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
20836 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
20837 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
20838 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
20839 libm/aclocal.m4 libm/configure: Regenerated.
20841 2000-03-24 Nick Clifton <nickc@cygnus.com>
20843 * libc/sys/arm/syscalls.c: Fix compile time warnings.
20844 (do_AngelSWI): Add "cc" to list o registers clobbered.
20846 Thu Mar 22 14:57:00 2000 Fernando Nasser <fnasser@redhat.com>
20848 * libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid
20849 information to be clobbered by an Angel C library support syscall.
20851 Tue Mar 21 19:08:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
20853 * libc/stdlib/envlock.c: Fixed comment typo.
20855 Fri Mar 17 15:37:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
20857 * libc/stdio/vfscanf.c (__svfscanf): Fixed floating point
20858 code to update nread as each character is processed instead
20859 of using buffer contents which throw away leading zeroes.
20861 Mon Mar 13 15:22:00 2000 Sergei Organov <osv@javad.ru>
20863 * libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
20865 Fri Mar 10 16:09:20 2000 Jeff Johnston <jjohnstn@cygnus.com>
20867 * libc/include/string.h: Include <sys/types.h>.
20869 Fri Mar 10 14:53:50 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
20871 * libc/stdio/putw.c (putw): Return 0 on success, to be compliant
20872 with XSH5, not SVID.
20874 Thu Mar 9 17:20:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
20876 * libc/include/string.h: Changed last argument back to ssize_t
20877 to make it compatible with XPG4 definition which is
20878 defined in <unistd.h>. There is a conflict in the SVID 3
20879 and XPG4 definitions and newlib will settle with XPG4.
20880 * libc/string/swab.c: Ditto.
20882 Wed Mar 8 17:11:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
20884 * libc/include/string.h: Changed last argument to size_t.
20885 * libc/string/swab.c: Changed last argument to size_t.
20887 Wed Mar 8 00:46:41 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
20889 * libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.
20890 (CHEWOUT_FILES): Added unlinkr.def.
20891 * libc/reent/Makefile.in: Rebuilt.
20892 * libc/sys.tex: Include unlinkr.def.
20893 * libc/reent/linkr.c (_unlink_r): Moved to...
20894 * libc/reent/unlinkr.c: ... new file.
20896 Wed Mar 8 00:43:07 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
20898 * libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.
20899 (CHEWOUT_FILES): Added swab.def.
20900 * libc/string/Makefile.in: Rebuilt.
20901 * libc/string/string.tex: Include swab.def.
20902 * libc/include/string.h (swab): Declare.
20903 * libc/string/swab.c: New file.
20905 Wed Mar 8 00:38:35 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
20907 * libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.
20908 (CHEWOUT_FILES): Added getw.def and putw.def.
20909 * libc/stdio/Makefile.in: Rebuilt.
20910 * libc/stdio/stdio.tex: Include getw.def and putw.def.
20911 * libc/stdio/getw.c: New file.
20912 * libc/stdio/putw.c: New file.
20914 Fri Feb 25 14:50:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
20916 * libc/stdio/flags.c (__sflags): Added check that mode[1]
20917 is non-null before looking at mode[2].
20919 Thu Feb 24 11:43:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
20921 * libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS.
20922 * libm/mathfp/sf_atan.c: Ditto.
20924 Thu Feb 24 11:39:00 2000 Joel Sherrill <joel@OARcorp.com>
20926 * libc/include/sys/stat.h: Add RTEMS prototype for lstat.
20928 Tue Feb 22 14:37:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
20930 * libm/mathfp/sf_exp.c: Corrected _DOUBLE_IS_32_BITS to be
20933 Mon Feb 21 11:43:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
20935 * libc/stdio/vfprintf.c (VFPRINTF): Added CHECK_INIT
20936 call prior to calling _VFPRINTF_R so reentrant data area is set.
20937 (_VFPRINTF_R): Removed now extraneous CHECK_INIT call.
20939 Thu Feb 17 01:42:50 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
20941 * libc/stdio/vfscanf.c (limits.h): #include.
20942 (MAX_LONG_LEN): #define.
20943 (__svfscanf): Handle floating point numbers with arbitrary amounts
20946 2000-02-15 Nick Clifton <nickc@cygnus.com>
20948 * libc/sys/arm/syscalls.c (_fstat): Initialise all fields to
20949 zero. Set the blocksize to 1024/
20951 Thu Jan 20 18:57:00 2000 Fernando Nasser <fnasser@redhat.com>
20953 * setvbuf.c (setvbuf): Set size to BUFSIZ when passed a zero size
20954 with line buffering.
20956 Mon Jan 10 18:43:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
20958 * acinclude.m4: Changed include directory for winsup headers.
20959 * aclocal.m4 configure libc/aclocal.m4
20960 libc/configure libc/ctype/Makefile.in libc/errno/Makefile.in
20961 libc/locale/Makefile.in libc/machine/aclocal.m4
20962 libc/machine/configure libc/machine/a29k/aclocal.m4
20963 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
20964 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
20965 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
20966 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
20967 libc/machine/fr30/configure
20968 libc/machine/h8300/aclocal.m4
20969 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
20970 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
20971 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
20972 libc/machine/i386/configure libc/machine/i960/aclocal.m4
20973 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
20974 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
20975 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
20976 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
20977 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
20978 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
20979 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
20980 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
20981 libc/machine/powerpc/configure
20982 libc/machine/sh/aclocal.m4
20983 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
20984 libc/machine/sparc/configure
20985 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
20986 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
20987 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
20988 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
20989 libc/misc/Makefile.in libc/posix/Makefile.in
20990 libc/reent/Makefile.in
20991 libc/signal/Makefile.in
20992 libc/string/Makefile.in libc/sys/aclocal.m4 libc/sys/configure
20993 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
20994 libc/sys/arm/Makefile.in libc/sys/arm/aclocal.m4
20995 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
20996 libc/sys/cygwin/configure libc/sys/d10v/Makefile.in
20997 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
20998 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
20999 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
21000 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
21001 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
21002 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
21003 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
21004 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
21005 libc/sys/sh/Makefile.in libc/sys/sh/aclocal.m4
21006 libc/sys/sh/configure libc/sys/sparc64/aclocal.m4
21007 libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4
21008 libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4
21009 libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4
21010 libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4
21011 libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4
21012 libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4
21013 libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4
21014 libc/sys/tic80/configure libc/sys/w65/aclocal.m4
21015 libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4
21016 libc/sys/z8ksim/configure libc/syscalls/Makefile.in
21017 libc/time/Makefile.in libc/unix/Makefile.in libm/aclocal.m4
21018 libm/configure: Regenerated.
21020 Mon Jan 10 18:43:46 2000 Jeff Johnston <jjohnstn@cygnus.com>
21022 * libc/stdlib/putenv_r.c (_putenv_r): New file.
21023 * libc/stdlib/strdup_r.c (_strdup_r): New file.
21024 * libc/include/string.h: Added _strdup_r.
21025 * libc/stdlib/putenv.c: Added call to reentrant version.
21026 * libc/stdlib/strdup.c: Ditto.
21027 * libc/stdlib/Makefile.am: Added _putenv_r and _unsetenv_r.
21028 * libc/include/stdlib.h: Ditto.
21029 * libc/stdlib/Makefile.in: Regenerated.
21030 * libc/string/Makefile.in: Regenerated.
21031 * libc/stdlib/setenv.c: Added reentrant version of unsetenv.
21032 * libc/stdlib/setenv_r.c: Added unsetenv_r and changed memory
21033 management calls to reentrant versions.
21034 * libc/stdlib/wcstombs.c: Added #ifndef _REENT_ONLY wrapper.
21035 * libc/stdlib/wctomb.c: Ditto.
21036 * libc/stdlib/mblen.c: Ditto.
21037 * libc/stdlib/mbstowcs.c: Ditto.
21038 * libc/stdlib/mbtowc.c: Ditto.
21039 * libc/stdlib/getenv.c: Ditto.
21040 * libc/reent/reent.tex: Added references to _putenv_r, _setenv_r,
21043 Thu Jan 6 15:33:46 2000 Christopher Faylor <cgf@cygnus.com>
21045 patch from Corinna Vinschen <corinna@vinschen.de>
21046 * libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16.
21048 Mon Jan 03 14:36:00 2000 Sergei Organov <osv@javad.ru>
21050 * libm/mathfp/s_atangent.c: Fix exponent calculation.
21051 * libm/mathfp/s_ldexp.c: Ditto.
21052 * libm/mathfp/sf_atangent.c: Ditto.
21053 * libm/mathfp/sf_ldexp.c: Ditto.
21055 Tue Dec 14 5:42:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
21057 * libc/machine/i960/setjmp.S: fix typo leaving .link_pix uncommented
21058 * libc/include/locale.h: define NULL to be 0.
21060 Tue Dec 7 15:41:45 1999 Jim Wilson <wilson@cygnus.com>
21062 * libc/sys/sh/syscalls.c (stack_ptr): Move definition before first
21065 Wed Dec 1 17:39:29 1999 Jeffrey A Law (law@cygnus.com)
21067 * libc/machine/mn10300/setjmp.S: Handle am33.
21069 1999-11-26 Nick Clifton <nickc@cygnus.com>
21071 * libc/sys/arm/syscalls.c: Add function prototypes.
21072 (stack_ptr): Move declaration before function definitions.
21074 Sat Nov 20 17:13:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
21076 * NEWS: Updated version information.
21079 Tue Nov 09 12:19:21 1999 Jeff Johnston <jjohnstn@cygnus.com>
21081 * libc/machine/i386/strchr.S: Fixed alignment test.
21083 Thu Oct 28 05:30:46 1999 Andrew Cagney <cagney@makita.cygnus.com>
21085 * libc/sys/d10v/crt0.S (_start): Construct a real stack frame.
21087 Thu Oct 28 15:29:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
21089 * libc/sys/d10v/crt0.S (_start): Initialize both SPI and SPU
21090 ensuring that there is space between the two.
21092 Thu Oct 14 13:39:21 1999 Christopher Faylor <cgf@cygnus.com>
21094 * libc/stdio/flags.c: Conditionalize check for 't' for cygwin case
21097 1999-10-08 Vadim Egorov <egorovv@1c.ru>
21099 * libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin
21102 Sat Oct 2 02:02:00 MEST 1999 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
21104 * libc/machine/sh/asm.h: Added __SH4_SINGLE__ to DELAYED_BRANCHES
21105 * libc/machine/sh/memcpy.S: Fix line wrapping in SL macro
21107 Fri Oct 1 13:17:59 CDT 1999 <joel@OARcorp.com>
21108 * libc/include/grp.h: Added getgrnam_r and getgrgid_r prototypes
21110 * libc/include/pwd.h: Added getpwnam_r and getpwuid_r prototypes
21113 1999-09-13 DJ Delorie <dj@cygnus.com>
21115 * libc/stdio/mktemp.c (_gettemp): on cygwin, check for EACCESS
21118 Thu Sep 9 15:31:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
21120 * setvbuf.c (setvbuf): When mallocing a buffer of size BUFSIZ,
21121 also note BUFSIZ as its size.
21123 Tue Sep 7 17:15:00 1999 Joel Sherrill <joel@OARcorp.com>
21125 * configure.host: Corrected feature defines for RTEMS.
21126 * libc/include/sys/stat.h: Added protototype for RTEMS mknod.
21127 * libc/include/sys/stat.h: mkfifo() should take const path arg.
21128 * libc/include/sys/unistd.h: pathconf() should take const path arg.
21129 Enabled usleep(), ftruncate(), and truncate() prototypes for RTEMS.
21130 Added defines for _POSIX_JOB_CONTROL, _POSIX_SAVED_IDS, and
21131 _POSIX_VERSION for RTEMS. Added defines for _PC_ASYNC_IO,
21132 _PC_PRIO_IO, and _PC_SYNC_IO.
21133 * libc/machine/m68k/Makefile.am: Added strcpy.c and strlen.c.
21134 * libc/machine/m68k/Makefile.in: Regenerated.
21135 * libc/machine/m68k/strcpy.c: New file.
21136 * libc/machine/m68k/strlen.c: New file.
21137 * libc/stdio/tmpnam.c: Always make the returned name usable.
21138 * libc/sys/rtems/crt0.c: New version that passes all autoconf tests.
21139 * libc/sys/rtems/sys/dirent.h: New file.
21140 * libc/sys/rtems/sys/types.h: Added dev_t.
21142 Tue Sep 7 17:15:00 1999 Jay Kulpinski <jskulpin@eng01.gdds.com>
21144 * libc/stdlib/mprec.c: Fixed unitialized variable problem.
21146 Fri Sep 3 12:35:20 1999 Jeff Johnston <jjohnstn@cygnus.com>
21148 * libc/stdio/ftell.c (ftell): Backing off Joern's fix and
21151 Thu Sep 2 22:05:20 1999 Christopher Faylor <cgf@cygnus.com>
21153 patch from Jeff Johnston <jjohnstn@cygnus.com>
21154 * libc/stdio/ftell.c (ftell): Avoid using buffer position when the
21155 buffer is not in a useful state.
21157 1999-09-01 Nick Clifton <nickc@cygnus.com>
21159 * libc/sys/arm/syscalls.c (_link): Add stub.
21161 Fri Aug 27 23:09:09 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
21163 * ftell.c (ftell): Use actual position within buffer for text mode.
21164 * findfp.c (std): Initialize ptr->_bf._size.
21166 Wed Aug 18 18:48:02 1999 Christopher Faylor <cgf@cygnus.com>
21168 * libc/include/sys/unistd.h: Add nice() declaration.
21170 1999-08-09 Nick Clifton <nickc@cygnus.com>
21172 * libc/sys/arm/crt0.S (change_mode): Rename to __change_mode and
21173 declare as a thumb function so that the disassembler will see the
21176 Thu Aug 5 17:37:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
21178 * libc/reent/reent.tex: Updated list of reentrant functions.
21180 1999-07-09 Michael Meissner <meissner@cygnus.com>
21182 * libc/include/stdlib.h (_findenv{,_r}): Add prototypes.
21184 Tue Jul 6 10:46:24 1999 Jeff Johnston <jjohnstn@cygnus.com>
21186 * libc/stdio/sprintf.c: Moved snprintf and _snprintf_r to
21188 * libc/stdio/snprintf.c: New file.
21189 * libc/stdio/vsprintf.c: Moved vsnprintf and _vsnprintf_r to
21191 * libc/stdio/vsnprintf.c: New file.
21192 * libc/stdio/Makefile.am: Added snprintf.c and vsnprintf.c.
21193 * libc/stdio/Makefile.in: Regenerated.
21195 Mon Jul 5 14:43:24 1999 Christopher Faylor <cgf@cygnus.com>
21197 Patch submitted by Egor Duda <deo@logos-m.ru>:
21198 * libc/include/stdio.h: Add declarations for *nprintf.
21199 * libc/stdio/sprintf.c (snprintf): New function.
21200 (_snprintf_r): New function.
21201 * libc/stdio/vsprintf.c (vsnprintf): New function.
21202 (_vnsprintf_r): New function.
21204 Wed Jun 30 16:36:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
21206 * libc/Makefile.am (stmp-targetdep): Remove extraneous blank.
21207 * libm/Makefile.am (stmp-targetdep): Ditto.
21208 * libc/Makefile.in: Regenerated.
21209 * libm/Makefile.in: Ditto.
21211 Fri Jun 25 10:49:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
21213 * libc/Makefile.am (stmp-targetdep): Ignore "." in SUBDIRS.
21214 * libm/Makefile.am (stmp-targetdep): Ditto.
21215 * libc/Makefile.in: Regenerated.
21216 * libm/Makefile.in: Ditto.
21218 Thu June 03 16:25:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
21220 * Makefile.am: Removed dependencies on all-recursive and added "."
21221 to the SUBDIRS list to prevent infinite recursion from occurring.
21222 Also removed any references to EXTRA_DATA.
21223 * libc/Makefile.am: Ditto.
21224 * libc/machine/Makefile.am: Ditto.
21225 * libc/machine/i386/Makefile.am: Ditto.
21226 * libm/Makefile.am: Ditto.
21227 * libc/sys/Makefile.am: Ditto.
21228 * Makefile.in: Regenerated.
21229 * aclocal.m4: Ditto.
21230 * configure: Ditto.
21231 * doc/Makefile.in: Ditto.
21232 * doc/aclocal.m4: Ditto.
21233 * doc/configure: Ditto.
21234 * libc/Makefile.in: Ditto.
21235 * libc/aclocal.m4: Ditto.
21236 * libc/configure: Ditto.
21237 * libc/machine/Makefile.in: Ditto.
21238 * libc/machine/aclocal.m4: Ditto.
21239 * libc/machine/configure: Ditto.
21240 * libc/machine/mn10300/Makefile.in: Ditto.
21241 * libc/machine/mn10300/aclocal.m4: Ditto.
21242 * libc/machine/mn10300/configure: Ditto.
21243 * libc/sys/Makefile.in: Ditto.
21244 * libc/sys/aclocal.m4: Ditto.
21245 * libc/sys/configure: Ditto.
21246 * libm/Makefile.in: Ditto.
21247 * libm/aclocal.m4: Ditto.
21248 * libm/configure: Ditto.
21250 Thu June 03 16:20:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
21252 * libc/include/stdlib/stdlib.tex: Add link to env_lock.
21254 Fri May 28 17:09:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
21256 * libc/include/stdlib.h: Add reentrant routines.
21257 * libc/stdlib/Makefile.am: Add reentrant routines.
21258 * libc/stdlib/Makefile.in: Ditto.
21259 * libc/stdlib/envlock.c: New file.
21260 * libc/stdlib/envlock.h: New file.
21261 * libc/stdlib/getenv.c: Modify to call reentrant routine.
21262 * libc/stdlib/getenv_r.c: New file.
21263 * libc/stdlib/mblen.c: Modify to call reentrant routine.
21264 * libc/stdlib/mblen_r.c: New file.
21265 * libc/stdlib/setenv.c: Modify to call reentrant routine.
21266 * libc/stdlib/setenv_r.c: New file.
21267 * libc/stdlib/stdlib.tex: Add reentrant routines.
21269 Mon May 17 22:01:38 1999 Christopher Faylor <cgf@cygnus.com>
21271 * libc/include/sys/types.h: Define __MS_types__ whenever
21274 Sun May 16 16:02:41 1999 Christopher Faylor <cgf@cygnus.com>
21276 * libc/include/machine/ieeefp.h: Always default to little
21277 endian if Windows, regardless of architecture.
21278 * libc/include/machine/sethmp.h: Define JBLEN if CYGWIN
21279 regardless of architecture.
21281 Mon May 3 11:49:18 1999 Geoffrey Noer <noer@cygnus.com>
21283 * libc/include/machine/setjmp.h: Accept CYGWIN define, even if
21284 _WIN32 isn't defined.
21286 Mon May 3 11:41:51 1999 Jeff Johnston <jjohnstn@cygnus.com>
21288 * libm/common/s_rint.c (rint): Add volatile qualifier for
21289 intermediate value w.
21290 * libm/common/sf_rint.c (rintf): Ditto.
21292 Thu Apr 29 20:34:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
21294 * libc/sys/arm/syscalls.c (remap_handle): Added check to
21295 ensure that std streams are initialized before being referenced.
21297 1999-04-27 Jason Molenda (jsm@bugshack.cygnus.com)
21299 * README: Update reference to newlib@cygnus.com new
21300 newlib@sourceware.cygnus.com address.
21302 Mon Apr 26 18:17:33 1999 Geoffrey Noer <noer@cygnus.com>
21304 * libc/include/sys/types.h: Define MS_types if CYGWIN is defined.
21305 * libc/include/sys/fcntl.h: Define _O_BINARY et al if CYGWIN is
21306 defined, even if _WIN32 isn't defined.
21308 Sat Apr 24 19:59:55 1999 Christopher Faylor <cgf@cygnus.com>
21310 * libc/include/sys/fcntl.h: Correct _O_CREATE to _O_CREAT.
21312 Wed Apr 21 18:01:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
21314 * libc/include/sys/reent.h: Change Long and ULong to __Long and
21316 * libc/stdlib/dtoa.c: Ditto.
21317 * libc/stdlib/mprec.c: Ditto.
21318 * libc/stdlib/mprec.h: Ditto.
21319 * libc/stdlib/strtod.c: Ditto.
21321 1999-04-21 Nick Clifton <nickc@cygnus.com>
21323 * configure.host (mcore): Remove mcore machine directory.
21325 1999-04-18 Nick Clifton <nickc@cygnus.com>
21327 * libc/include/machine/ieeefp.h: Add support for mcore target.
21328 * libc/include/machine/setjmp.h: Add support for mcore target.
21329 * configure.host: Add support for mcore target.
21331 1999-04-13 Mark Salter <msalter@cygnus.com>
21333 * libc/sys/arm/libcfunc.c: Moved isatty to syscall.c
21334 * libc/sys/arm/syscalls.c: Added isatty.
21336 Wed Apr 07 16:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
21338 * libc/stdlib/ecvtbuf.c (fcvtbuf): Fixed code to properly
21339 insert zeroes after significant digits.
21341 Wed Mar 17 22:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
21343 * libc/stdio/vfprintf.c (cvt): Changed floating point
21344 cvt routine to use union used by dtoa to properly determine
21345 if the sign bit is on or not.
21346 * libc/stdio/vfieeefp.h: New file
21348 Wed Mar 17 17:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
21350 * aclocal.m4: Regenerated.
21351 * configure: Regenerated.
21353 Wed Mar 17 16:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
21355 * libc/machine/i386/Makefile.am (lib_a_SOURCES): Added missing
21357 * libc/machine/i386/Makefile.in: Regenerated.
21359 Tue Mar 16 14:56:36 1999 Jeff Johnston <jjohnstn@cygnus.com>
21361 * acinclude.m4: Changed to work with new automake.
21362 * configure: Regenerated.
21363 * libc/machine/i386/aclocal.m4: Regenerated.
21364 * libc/machine/i386/configure: Regenerated.
21366 Tue Mar 16 13:55:36 1999 Corinna Vinschen <corinna.vinschen@cityweb.de>
21368 * libc/sys/cygwin/sys/dirent.h: Add additional prototypes
21369 for telldir() and seekdir(). Rename unused structure element
21370 for use with these two routines.
21372 Fri Mar 12 19:11:58 1999 Jeff Johnston <jjohnstn@cygnus.com>
21374 * libc/time/mktime.c (validate_structure): Multiple fixes to
21375 code to handle cases where input fields are outside valid ranges.
21376 * libc/stdlib/div.c (div): Modified invalid rounding check.
21377 * libc/stdlib/ldiv.c (ldiv): Ditto.
21379 Thu Mar 11 21:32:13 1999 Jeff Johnston <jjohnstn@cygnus.com>
21381 * libc/machine/i386/memcpy.S: Performance rewrite.
21382 * libc/machine/i386/memmove.S: Ditto.
21383 * libc/machine/i386/i386mach.h: Added more register definitions.
21384 * libc/include/math.h: Include <machine/fastmath.h> if -ffast-math
21386 * libc/include/machine/fastmath.h: Add definitions for x86
21387 fast-math routines.
21389 Wed Mar 10 17:56:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
21391 * libc/stdlib/strtod.c: Change from unsigned long to ULong.
21393 Tue Mar 9 14:31:58 1999 Geoffrey Noer <noer@cygnus.com>
21395 Adjust newlib headers for new Cygwin Win32 API header files:
21396 * libc/include/sys/time.h: Check _WINSOCK_H rather than
21397 _GNU_H_WINDOWS32_SOCKETS.
21398 * libc/include/sys/types.h: Ditto.
21400 Tue Mar 09 15:55:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
21402 *include/sys/reent.h: Add checks for size of Bigint element Long.
21403 *libc/dtoa.c: Change routines to use generic Long type.
21404 *libc/mprec.c: Change routines to use generic Long type.
21405 *libc/mprec.h: Change routines to use generic Long type.
21407 Tue Mar 02 18:07:49 1999 Ranjith Kumaran <ranjith@cygnus.com>
21409 * libc/Makefile.am: Add .def files.
21410 * libc/Makefile.in: Regenerate.
21411 * libc/e_acosh.c: Documentation update.
21412 * libc/e_atanh.c: Documentation update.
21413 * libc/e_hypot.c: Documentation update.
21414 * libc/e_remainder.c: Documentation update.
21415 * libc/er_lgamma.c: Documentation update.
21416 * libc/mathfp.tex: Documentation update.
21417 * libc/s_acos.c: Documentation update.
21418 * libc/s_atan.c: Documentation update.
21419 * libc/s_atan2.c: Documentation update.
21420 * libc/s_cosh.c: Documentation update.
21421 * libc/s_fmod.c: Documentation update.
21422 * libc/s_isnan.c: Documentation update.
21423 * libc/s_log10.c: Documentation update.
21424 * libc/s_pow.c: Documentation update.
21425 * libc/w_jn.c: Documentation update.
21427 Sun Feb 28 23:18:49 1999 Geoffrey Noer <noer@cygnus.com>
21429 * aclocal.m4: Regenerate.
21430 * configure: Regenerate.
21432 Tue Feb 23 13:57:26 1999 Jeff Johnston <jjohnstn@cygnus.com>
21434 * libc/machine/mn10300/setjmp.S (_longjmp): Fixed longjmp
21435 to return 1 if user specified return code is 0.
21436 * libc/machine/mn10200/setjmp.S (_longjmp): Ditto.
21438 Thu Feb 18 11:13:28 1999 Jeff Johnston <jjohnstn@cygnus.com>
21440 * libc/machine/mn10200/setjmp.S (_setjmp/_longjmp): Fixed setjmp
21441 to save the return address. Fixed longjmp to return to the original
21442 calling address of setjmp and to return the user specified return code
21443 rather than default to 1.
21444 * libc/machine/mn10300/setjmp.S (_setjmp/_longjmp): Ditto.
21446 Mon Feb 15 17:48:17 1999 Jeff Johnston <jjohnstn@cygnus.com>
21448 * libc/stdlib/mprec.h (mult): Define mult to be _multiply instead of _mult.
21450 1999-02-10 Nick Clifton <nickc@cygnus.com>
21452 * libc/sys/arm/syscalls.c (initialise_monitor_handles): Make block
21453 volatile so that its assignments will not be discarded.
21455 Wed Feb 10 17:19:40 1999 Jeff Johnston <jjohnstn@cygnus.com>
21457 * libc/include/_ansi.h: Corrected _STRICT_ANSI reference to
21458 be __STRICT_ANSI__ which is generated by compiler.
21459 * libc/include/ctype.h: Ditto.
21460 * libc/include/math.h: Ditto.
21461 * libc/include/stdio.h: Ditto.
21462 * libc/include/stdlib.h: Ditto.
21463 * libc/include/string.h: Ditto.
21464 * libc/include/sys/signal.h: Ditto.
21466 1999-02-08 Nick Clifton <nickc@cygnus.com>
21468 * configure.host: Add support for StrongARM target.
21470 Fri Feb 5 11:13:14 1999 Jeff Johnston <jjohnstn@cygnus.com>
21472 * libc/string/strncpy.c (strncpy): Removed redundant code
21473 that was copying bytes if data unaligned.
21475 1999-02-02 Brendan Kehoe <brendan@cygnus.com>
21477 * libc/stdlib/Makefile.{am,in} (CHEWOUT_FILES): Add mblen.def,
21478 mbstowcs.def, and wcstombs.def.
21480 Sat Jan 30 02:36:33 1999 Christopher Faylor <cgf@cygnus.com>
21482 * libc/include/sys/errno.h: Add Cygwin errno.
21483 * libc/stdio/flags.c: Don't default to O_TEXT if no other flag
21486 1999-01-29 Nick Clifton <nickc@cygnus.com>
21488 * libc/sys/arm/syscalls.c: Move C library functions into seperate
21491 * libc/sys/arm/libcfunc.c: New file containing C library functions
21494 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add libcfuncs.c
21495 * libc/sys/arm/Makefile.in (lib_a_SOURCES): Regenerate.
21498 1999-01-27 Michael Meissner <meissner@cygnus.com>
21500 * libc/include/machine/setjmp.h (D30V _JBLEN/_JBTYPE): Use double
21501 type, and cut size in half so that the jmp_buf array is guaranteed
21502 to be aligned on a 64-bit boundary.
21504 Mon Jan 25 12:05:38 1999 Jeff Johnston <jjohnstn@cygnus.com>
21506 * libc/string/strings.tex: Added information about
21507 strcasecmp and strncasecmp.
21508 * libc/stdlib/stdlib.tex: Added missing information
21509 about mblen, mbstowcs, and wcstombs.
21510 * libc/string/strchr.c: Changed how mask is built to use
21511 shift operators so register will be used instead of storage.
21513 1999-01-22 DJ Delorie <dj@cygnus.com>
21515 * libc/include/stdlib.h: don't use dllimport if we're building
21516 newlib, since it's inside cygwin.dll
21518 Fri Jan 22 14:57:18 1999 Christopher Faylor <cgf@cygnus.com>
21520 * libc/ctype/ctype_.c: Need to use __declspec(dllexport) for
21521 _ctype_ under cygwin.
21523 Fri Jan 22 09:50:19 1999 Christopher Faylor <cgf@cygnus.com>
21525 * include/stdlib.h: Fix typo from previous checkin.
21527 Thu Jan 21 22:42:21 1999 Christopher Faylor <cgf@cygnus.com>
21529 * include/ctype.h: Use __declspec(dllimport) method for exporting
21530 variable from cygwin DLL.
21531 * include/time.h: Ditto.
21532 * sys/errno.h: Ditto.
21533 * include/stdlib.h: Export __mb_cur_max from cygwin DLL.
21534 * libc/locale/locale.c: Use __declspec(dllexport) method for
21535 exporting variable from cygwin DLL.
21537 Sat Jan 16 13:29:54 1999 Christopher Faylor <cgf@cygnus.com>
21539 * libc/stdio/setvbuf.c: Always clean up when _IONBF or possible
21540 access of bogus pointer will result in SIGSEGV.
21542 1999-01-07 Nick Clifton <nickc@cygnus.com>
21544 * libc/sys/arm/setjmp.S: Use C macros to cope with the possibility
21545 of an underscore prefix to function names.
21547 Fri Jan 8 19:00:07 1999 Jeff Johnston <jjohnstn@cygnus.com>
21549 * libc/machine/i386/i386mach.h (__REG_PREFIX__): Create new
21550 define __REG_PREFIX__ instead of using __REGISTER_PREFIX__.
21552 1998-12-31 Michael Meissner <meissner@cygnus.com>
21554 * libc/machine/i386/i386mach.h (__REGISTER_PREFIX__): Only define
21555 to `%' if not already defined.
21557 1998-12-30 Michael Meissner <meissner@cygnus.com>
21559 * libc/stdio/tmpnam.c (_tempnam_r): Make directory and prefix
21560 arguments const char *, not char *.
21561 * libc/include/stdio.h (_tempnam_r): Ditto.
21563 * libc/include/sys/reent.h (struct _reent): The _sig_func type
21564 points to a function taking an integer, not void.
21566 Tue Dec 29 14:35:53 1998 Christopher Faylor <cgf@cygnus.com>
21568 * configure.host: Add a define for Cygwin builds.
21569 * libc/include/ctype.h: Don't use dll imported variables in newlib.
21571 Mon Dec 28 09:19:56 1998 Christopher Faylor <cgf@cygnus.com>
21573 * libc/include/ctype.h: Define _ctype_ as dll imported variable
21574 for use with Cygwin.
21575 * libc/include/sys/errno.h: Define _sys_errlist and _sys_nerr as
21576 dll imported variables for use with Cygwin.
21577 * libc/ctype/ctype_.c: Undefine _ctype_ in case it has been defined
21578 as a dll imported variable for Cygwin.
21580 Sat Dec 26 00:13:53 1998 Christopher Faylor <cgf@cygnus.com>
21582 * libc/include/sys/unistd.h: Add proto for getpass.
21584 Fri Dec 18 19:28:19 1998 Geoffrey Noer <noer@cygnus.com>
21586 * libc/sys/cygwin/sys/dirent.h: add protos for scandir and
21589 Fri Dec 18 16:33:25 1998 Geoffrey Noer <noer@cygnus.com>
21591 * libc/posix/execvp.c (execvp): call cygwin_posix_path_list_p,
21592 not posix_path_list_p.
21594 1998-12-15 Nick Clifton <nickc@cygnus.com>
21596 * libc/string/memchr.c: Treat 'c' argument as an unsigned byte not
21599 1998-12-13 Nick Clifton <nickc@cygnus.com>
21601 * libc/include/machine/setjmp.h (_JBLEN): Set to 10.
21603 1998-12-12 Nick Clifton <nickc@cygnus.com>
21605 * libc/machine/fr30/setjmp.S: New file, supplied by Mark Slater
21606 <msalter@cygnus.com>
21607 * libc/machine/fr30/Makefile.am: Add build of setjmp.S
21608 * libc/machine/fr30/Makefile.in: Regenerated.
21610 1998-12-11 Nick Clifton <nickc@cygnus.com>
21612 * configure.host: Remove use of libc/sys for FR30 port.
21613 * libc/sys/fr30: Remove directory (replaced by libgloss).
21615 1998-12-10 Ken Raeburn <raeburn@cygnus.com>
21617 * libc/string/strcat.c (ALIGNED): Sense of result was reversed.
21618 * libc/string/strncat.c (ALIGNED): Ditto.
21620 Wed Dec 9 14:37:57 1998 Geoffrey Noer <noer@cygnus.com>
21622 * libc/include/sys/time.h: include sys/types.h
21624 Tue Dec 8 15:53:18 1998 Jeff Johnston <jjohnstn@cygnus.com>
21626 * libc/machine/i386/memcmp.S (memcmp): Fix for unequal
21627 comparison found when checking word at a time.
21629 1998-12-04 Nick Clifton <nickc@cygnus.com>
21631 * libc/sys/fr30/crt0.s (_start): Initialise frame pointer.
21633 1998-12-03 Nick Clifton <nickc@cygnus.com>
21635 * libc/sys/fr30/syscalls.c (_times): New function stub.
21637 Thu Dec 3 15:59:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
21639 * configure.host (mach_add_setjmp): Replaced mach_add_objs
21640 with mach_add_setjmp flag which indicates if setjmp should
21641 be added to the machine directory objects.
21642 * acinclude.m4: Removed reference to mach_add_objs.
21643 * aclocal.m4: Regenerated.
21644 * Makefile.in: Regenerated.
21645 * configure: Regenerated.
21646 * libc/aclocal.m4: Regenerated.
21647 * libc/Makefile.in: Regenerated.
21648 * libc/configure: Regenerated.
21649 * libc/machine/aclocal.m4: Regenerated.
21650 * libc/machine/Makefile.in: Regenerated.
21651 * libc/machine/configure: Regenerated.
21652 * libc/machine/i386/aclocal.m4: Regenerated.
21653 * libc/machine/i386/Makefile.am: Altered to selectively add
21654 setjmp.S to the src files list.
21655 * libc/machine/i386/Makefile.in: Regenerated.
21656 * libc/machine/i386/configure.in: Altered to test mach_add_setjmp.
21657 * libc/machine/i386/configure: Regenerated.
21659 1998-12-02 Nick Clifton <nickc@cygnus.com>
21661 * libc/sys/fr30/crt0.s (_start): Fix function names.
21663 * libc/machine/fr30: New directory
21664 * libc/machine/fr30/Makefile.am: New file.
21665 * libc/machine/fr30/Makefile.in: New generated file.
21666 * libc/machine/fr30/configure.in: New file.
21667 * libc/machine/fr30/configure: New generated file.
21668 * libc/machine/fr30/aclocal.m4: New generated file.
21669 * libc/sys/fr30/Makefile.am: New file.
21670 * libc/sys/fr30/Makefile.in: New generated file.
21671 * libc/sys/fr30/configure.in: New file.
21672 * libc/sys/fr30/configure: New generated file.
21673 * libc/sys/fr30/syscalls.c: New file.
21675 Tue Dec 1 16:28:56 1998 Geoffrey Noer <noer@cygnus.com>
21677 * libc/sys/cygwin/sys/utmp.h: new file, moved from winsup/include.
21679 1998-12-01 Ken Raeburn <raeburn@cygnus.com>
21681 * libc/time/strftime.c (strftime): Also handle %y for years before
21684 Tue Dec 1 13:26:07 1998 Christopher Faylor <cgf@cygnus.com>
21686 * libc/string/strcasecmp.c (strcasecmp): Adhere to standard
21687 UNIX convention. Perform tolower on characters before comparing
21688 them rather than use toupper.
21689 * libc/string/strncasecmp.c (strncasecmp): Ditto.
21691 Mon Nov 30 16:24:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
21693 * configure.host: Added using i386 machine directory
21694 for all x86 cross-compiler and configuring
21695 which added object files to use via new "mach_add_objs" variable.
21696 * configure: Regenerated.
21697 * libc/configure: Regenerated.
21698 * libc/Makefile.in: Regenerated.
21699 * libc/aclocal.m4: Regenerated.
21700 * libc/ctype/Makefile.in: Regenerated.
21701 * libc/errno/Makefile.in: Regenerated.
21702 * libc/locale/Makefile.in: Regenerated.
21703 * libc/machine/Makefile.in: Regenerated.
21704 * libc/machine/aclocal.m4: Regenerated.
21705 * libc/machine/configure: Regenerated.
21706 * libc/posix/Makefile.in: Regenerated.
21707 * libc/reent/Makefile.in: Regenerated.
21708 * libc/signal/Makefile.in: Regenerated.
21709 * libc/stdio/Makefile.in: Regenerated.
21710 * libc/stdlib/Makefile.in: Regenerated.
21711 * libc/string/Makefile.in: Regenerated.
21712 * libc/string/memmove.c: Optimized code to use memcpy
21713 logic when performing a non-destructive copy.
21714 * libc/string/strncmp.c: Altered code to allow building
21715 optimized for size or speed.
21716 * libc/syscalls/Makefile.in: Regenerated.
21717 * libc/time/Makefile.in: Regenerated.
21718 * libc/unix/Makefile.in: Regenerated.
21719 * libc/machine/i386/Makefile.am: Added new files and reference
21720 to "mach_add_objs" to indicate optional object files.
21721 * libc/machine/i386/Makefile.in: Regenerated.
21722 * libc/machine/i386/aclocal.m4: Regenerated.
21723 * libc/machine/i386/configure: Regenerated.
21724 * libc/machine/i386/memchr.S: New file that implements
21725 function in Intel assembler.
21726 * libc/machine/i386/memcmp.S: ditto.
21727 * libc/machine/i386/memcpy.S: ditto.
21728 * libc/machine/i386/memmove.S: ditto.
21729 * libc/machine/i386/memset.S: ditto.
21730 * libc/machine/i386/strchr.S: ditto.
21731 * libc/machine/i386/strlen.S: ditto.
21732 * libc/machine/i386/f_atan2.S: New file that implements
21733 fast version of math function to be used by compiler when
21734 --ffast_math compile option is used.
21735 * libc/machine/i386/f_atan2f.S: ditto.
21736 * libc/machine/i386/f_exp.c: ditto.
21737 * libc/machine/i386/f_expf.c: ditto.
21738 * libc/machine/i386/f_frexp.S: ditto.
21739 * libc/machine/i386/f_frexpf.S: ditto.
21740 * libc/machine/i386/f_ldexp.S: ditto.
21741 * libc/machine/i386/f_ldexpf.S: ditto.
21742 * libc/machine/i386/f_log.S: ditto.
21743 * libc/machine/i386/f_logf.S: ditto.
21744 * libc/machine/i386/f_log10.S: ditto.
21745 * libc/machine/i386/f_log10f.S: ditto.
21746 * libc/machine/i386/f_math.h: New file.
21747 * libc/machine/i386/f_pow.c: ditto.
21748 * libc/machine/i386/f_powf.S: ditto.
21749 * libc/machine/i386/f_tan.S: ditto.
21750 * libc/machine/i386/f_tan.S: ditto.
21751 * libc/machine/i386/i386mach.h: New file.
21753 Mon Nov 30 13:02:17 1998 Christopher Faylor <cgf@cygnus.com>
21755 patch from Mumit Khan <khan@xraylith.wisc.edu>
21756 * libc/include/stdio.h (tempnam): Add prototype.
21757 * libc/stdio/tmpnam.c (_tempnam_r): Handle NULL prefix.
21758 (tempnam): Adhere to prototype.
21760 Thu Nov 26 00:21:32 1998 Christopher Faylor <cgf@cygnus.com>
21762 * Makefile.am: Add default for AR_FLAGS.
21763 * Makefile.in: Regenerate.
21765 Tue Nov 24 18:48:56 1998 Geoffrey Noer <noer@cygnus.com>
21767 * libc/include/time.h: move __cplusplus wrapper after includes
21768 * libc/include/sys/time.h: ditto. If Cygwin, include
21770 * libc/include/sys/types.h: lose "32" in comment about Cygwin.
21772 1998-11-23 Ken Raeburn <raeburn@cygnus.com>
21774 * libc/time/strftime.c (strftime): Handle %y after year 2000.
21776 Wed Nov 18 12:22:41 1998 Nick Clifton <nickc@cygnus.com>
21778 * libc/sys/fr30/crt0.s (_start): Switch over to using int #9 as
21779 abnormnal end-of-crt0 marker.
21781 Tue Nov 17 16:27:58 1998 Nick Clifton <nickc@cygnus.com>
21783 * libc/sys/fr30/crt0.s: New file/directory.
21784 * libc/include/machine/setjmp.h: Add FR30 target.
21785 * libc/include/machine/ieeefp.h: Add FR30 target.
21786 * configure.host: Add FR30 target.
21788 Mon Nov 16 23:15:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
21790 * libm/math: Files that are duplicated in common directory removed.
21791 * libm/math/fdlibm.h: Removed.
21792 * libm/math/s_cbrt.c: Removed.
21793 * libm/math/s_copysign.c: Removed.
21794 * libm/math/s_expm1.c: Removed.
21795 * libm/math/s_finite.c: Removed.
21796 * libm/math/s_ilogb.c: Removed.
21797 * libm/math/s_infinity.c: Removed.
21798 * libm/math/s_lib_ver.c: Removed.
21799 * libm/math/s_log1p.c: Removed.
21800 * libm/math/s_logb.c: Removed.
21801 * libm/math/s_matherr.c: Removed.
21802 * libm/math/s_modf.c: Removed.
21803 * libm/math/s_nan.c: Removed.
21804 * libm/math/s_nextafter.c: Removed.
21805 * libm/math/s_rint.c: Removed.
21806 * libm/math/s_scalbn.c: Removed.
21807 * libm/math/sf_cbrt.c: Removed.
21808 * libm/math/sf_copysign.c: Removed.
21809 * libm/math/sf_expm1.c: Removed.
21810 * libm/math/sf_finite.c: Removed.
21811 * libm/math/sf_ilogb.c: Removed.
21812 * libm/math/sf_infinity.c: Removed.
21813 * libm/math/sf_log1p.c: Removed.
21814 * libm/math/sf_logb.c: Removed.
21815 * libm/math/sf_modf.c: Removed.
21816 * libm/math/sf_nan.c: Removed.
21817 * libm/math/sf_nextafter.c: Removed.
21818 * libm/math/sf_rint.c: Removed.
21819 * libm/math/sf_scalbn.c: Removed.
21820 * libm/math/Makefile.am: Removed references to deleted files (above).
21821 * libm/math/Makefile.in: Regenerated.
21822 * libm/Makefile.am: Added common directory to math.
21823 * libm/Makefile.in: Regenerated.
21825 Mon Nov 2 23:12:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
21827 * libm/mathfp: Add non-ANSI functions.
21828 * libm/mathfp/e_acosh.c acosh(): New file.
21829 * libm/mathfp/e_atanh.c atanh(): New file.
21830 * libm/mathfp/e_hypot.c hypot(): New file.
21831 * libm/mathfp/e_j0.c j0(): New file.
21832 * libm/mathfp/e_j1.c j1(): New file.
21833 * libm/mathfp/e_remainder.c remainder(): New file.
21834 * libm/mathfp/e_scalb.c scalb(): New file.
21835 * libm/mathfp/ef_acosh.c acoshf(): New file.
21836 * libm/mathfp/ef_atanh.c atanhf(): New file.
21837 * libm/mathfp/ef_hypot.c hypotf(): New file.
21838 * libm/mathfp/ef_j0.c j0f(): New file.
21839 * libm/mathfp/ef_j1.c j1f(): New file.
21840 * libm/mathfp/ef_remainder.c remainderf(): New file.
21841 * libm/mathfp/ef_scalb.c scalbf(): New file.
21842 * libm/mathfp/er_gamma.c gamma_r: New file.
21843 * libm/mathfp/er_lgamma.c lgamma_r(): New file.
21844 * libm/mathfp/erf_gamma.c gamma_rf(): New file.
21845 * libm/mathfp/erf_lgamma.c lgamma_rf(): New file.
21846 * libm/mathfp/w_cabs.c cabs(): New file.
21847 * libm/mathfp/w_drem.c drem(): New file.
21848 * libm/mathfp/w_jn.c jn(): New file.
21849 * libm/mathfp/wf_cabs.c cabsf(): New file.
21850 * libm/mathfp/wf_drem.c dremf(): New file.
21851 * libm/mathfp/wf_jn.c jnf(): New file.
21853 Mon Nov 2 16:43:18 1998 Geoffrey Noer <noer@cygnus.com>
21855 * libc/sys/cygwin32: remove directory and contents
21856 * libc/sys/cygwin: and add back, losing the "32".
21857 * configure.host: check for cygwin* instead of cygwin32.
21858 * acinclude.m4: ditto.
21859 * aclocal.m4: regenerate with aclocal
21860 * configure: regenerate with autoconf
21862 Tue Oct 20 17:28:28 1998 Geoffrey Noer <noer@cygnus.com>
21864 * libc/stdio/tmpnam.c (_tempnam_r): not enough memory allocated
21867 Tue Oct 20 18:49:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
21869 * libc/include/sys/reent.h (struct _reent): Added variables _rand_next, _strtok_last,
21870 _asctime_buf, _localtime_buf and _gamma_signgam to struct reent
21871 to make rand/srand, strtok, asctime, localtime, w_gamma,
21872 w_lgamma, wf_gamma, and wf_lgamma reentrant. Included
21873 time.h to bring in struct tm definition.
21874 * libc/stdlib/rand.c (rand, srand): Don't emit functions 'rand' and 'srand' if
21875 '_REENT_ONLY' is set. Used variable '_rand_next' from struct reent.
21876 * libc/stdlib/strtok.c (strtok): Used variable '_strtok_last' from struct reent
21877 instead of static variable.
21878 * libc/stdlib/asctime.c (asctime): Used variable '_asctime_buf' from
21879 struct reent instead of static variable.
21880 * libc/stdlib/lcltime.c (localtime): Used variable '_localtime_buf' from
21881 struct reent instead of static variable.
21882 * libm/math/Makefile.am: Removed s_signgam.o.
21883 * libm/math/Makefile.in: Regenerated.
21884 * libm/math/w_gamma.c (gamma): Used variable '_gamma_signgam' from
21885 struct reent instead of global variable 'signgam'.
21886 * libm/math/w_lgamma.c (lgamma): Likewise.
21887 * libm/math/wf_gamma.c (gammaf): Likewise.
21888 * libm/math/wf_lgamma.c (lgammaf): Likewise.
21889 * libm/math/s_signgam.c: Removed.
21890 * libc/include/unctrl.h: Defined arrays __unctrl and __unctrllen
21892 * libc/misc/unctrl.c: Defined arrays __unctrl and __unctrllen
21894 * libc/reent/Makefile.am: Added dependence for impure.o on impure.c and
21895 libc/include/reent.h.
21896 * libc/reent/Makefile.in: Regenerated.
21897 * libc/stdio/vfprintf.c (_vfprintf_r): Defined arrays 'blanks' and 'zeroes'
21899 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Defined arrays 'JIS_state_table' and
21900 'JIS_action_table' to be const.
21901 * libm/math/s_lib_ver.c: define variable _LIB_VERSION to be const.
21903 Mon Oct 12 00:26:33 1998 Christopher Faylor <cgf@cygnus.com>
21905 * acinclude.m4: $with_target_subdir should default to '.'
21906 or confusion results when configuring in same directory as sources.
21907 * Regenerate all aclocal.m4 and configure files.
21909 Fri Oct 9 16:27:36 1998 Jeff Johnston <jjohnstn@cygnus.com>
21911 * libc/stdlib/mallocr.c: Added 16 byte alignment support which
21912 can be set by defining MALLOC_ALIGNMENT=16. Also added support
21913 for platforms where sizeof(size_t) < sizeof(long) via
21914 SIZE_T_SMALLER_THAN_LONG macro.
21916 Wed Oct 7 14:02:40 1998 Jeff Johnston <jjohnstn@cygnus.com>
21918 * libc/include/time.h (CLOCKS_PER_SEC): Change CLOCKS_PER_SEC
21919 to refer to _CLOCKS_PER_SEC_ and added including <machine/time.h>
21920 which sets _CLOCKS_PER_SEC_ for selected machines.
21921 * libc/include/machine/time.h: New file.
21923 Tue Oct 6 16:08:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
21925 * libc/syscalls/sysexecve.c: New file.
21926 * libc/syscalls/sysgettod.c: New file.
21927 * libc/syscalls/systimes.c: New file.
21928 * libc/syscalls/Makefile.am: Added new objects.
21929 * libc/syscalls/Makefile.in: Regenerated.
21930 * libc/include/_syslist.h (_execve): Moved define in file.
21931 * libc/include/reent.h: Added _execve_r declaration.
21932 * libc/Makefile.in: Regenerated.
21933 * libc/ctype/Makefile.in: Regenerated.
21934 * libc/errno/Makefile.in: Regenerated.
21935 * libc/locale/Makefile.in: Regenerated.
21936 * libc/machine/Makefile.in: Regenerated.
21937 * libc/misc/Makefile.in: Regenerated.
21938 * libc/posix/Makefile.in: Regenerated.
21939 * libc/reent/Makefile.in: Regenerated.
21940 * libc/reent/execr.c (_execve_r): Added _execve_r function.
21941 * libc/signal/Makefile.in: Regenerated.
21942 * libc/stdio/Makefile.in: Regenerated.
21943 * libc/time/Makefile.in: Regenerated.
21944 * libc/unix/Makefile.in: Regenerated.
21945 * libm/mathfp/Makefile.in: Regenerated.
21947 Tue Oct 6 14:14:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
21949 * libc/string/Makefile.in: Regenerated.
21950 * libc/string/memchr.c (memchr): Moved code to reduce object size.
21951 * libc/string/memcpy.c (memcpy): Ditto.
21952 * libc/string/memcmp.c (memcmp): Ditto.
21953 * libc/string/memset.c (memset): Ditto.
21954 * libc/string/strchr.c (strchr): Ditto.
21955 * libc/string/strcmp.c (strcmp): Ditto.
21956 * libc/string/strcpy.c (strcpy): Ditto.
21957 * libc/string/strlen.c (strlen): Ditto.
21959 Tue Oct 6 13:58:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
21961 * libm/acinclude.m4: Removed since newlib/acinclude.m4 can be used
21962 to generate aclocal.m4.
21963 * libm/Makefile.in: Regenerated.
21964 * libm/aclocal.m4: Regenerated.
21965 * libm/configure: Regenerated.
21966 * libm/math/Makefile.in: Regenerated.
21967 * libm/mathfp/Makefile.in: Regenerated.
21969 1998-09-25 Mark Salter <msalter@cygnus.com>
21971 * libc/include/machine/setjmp.h: Fixed test for mn10300 and mn10200
21972 by adding leading and trailing underscores to symbol names.
21974 Tue Sep 22 15:33:41 1998 Christopher Faylor <cgf@cygnus.com>
21976 * Makefile.in: Add default for AR_FLAGS.
21978 Tue Sep 22 15:02:49 1998 Christopher Faylor <cgf@cygnus.com>
21980 patch from ian@airs.com (Ian Taylor):
21981 * acinclude.m4: Run AC_CANONICAL_BUILD explicitly before
21982 NEWLIB_CONFIGURE so AC_CANONICAL_HOST will be run before it
21983 is needed for detecting the build machine. Required for
21984 cygwin native builds.
21986 * Regenerate all aclocal.m4 and configure files.
21988 Mon Sep 21 14:44:16 1998 Nick Clifton <nickc@cygnus.com>
21990 * libc/sys/arm/crt0.S: Prepend a period to all local labels that
21991 used to start with LC.
21993 Thu Sep 17 18:18:11 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
21995 * libc/machine/sh/setjmp.S (setjmp): Handle __SH4* like __SH3E__ .
21996 (longjmp): Likewise.
21998 Thu Sep 17 16:25:33 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
22000 * libc/machine/sh/memset.S (memset): Move copy from r4 to r4 before
22001 the test for small number of bytes.
22003 Thu Sep 10 11:40:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
22005 * Makefile.am: Add --enable-newlib-hw-fp check. This builds the new
22006 math library that uses floating point algorithms instead of the old
22008 * Makefile.in: Regenerate with automake version 1.3b.
22009 * configure: Rebuild.
22010 * libm/Makefile.in: Regenerate with automake version 1.3b.
22011 * libm/aclocal.m4: Regenerate.
22012 * libm/configure: Rebuild.
22013 * libm/configure.in: Add newlib_hw_fp definition and mathfp directory.
22014 * libm/acinclude.m4: Define macros for configure.in.
22015 * libm/config.h.in: Generate.
22016 * libm/mathfp/Makefile.am: New file.
22017 * libm/mathfp/Makefile.in: Generate.
22018 * libm/mathfp/s_acos.c (acos): New file.
22019 * libm/mathfp/s_asin.c (asin): New file.
22020 * libm/mathfp/s_asine.c (asine): New file.
22021 * libm/mathfp/s_atan.c (atan): New file.
22022 * libm/mathfp/s_atan2.c (atan2): New file.
22023 * libm/mathfp/s_atangent.c (atangent): New file.
22024 * libm/mathfp/s_ceil.c (ceil): New file.
22025 * libm/mathfp/s_copysign.c (copysign): New file.
22026 * libm/mathfp/s_cos.c (cos): New file.
22027 * libm/mathfp/s_cosh.c (cosh): New file.
22028 * libm/mathfp/s_exp.c (exp): New file.
22029 * libm/mathfp/s_fabs.c (fabs): New file.
22030 * libm/mathfp/s_finite.c (finite): New file.
22031 * libm/mathfp/s_floor.c (floor): New file.
22032 * libm/mathfp/s_fmod.c (fmod): New file.
22033 * libm/mathfp/s_frexp.c (frexp): New file.
22034 * libm/mathfp/s_infconst.c: New file.
22035 * libm/mathfp/s_isinf (isinf).c: New file.
22036 * libm/mathfp/s_isnan.c (isnan): New file.
22037 * libm/mathfp/s_ispos.c (ispos): New file.
22038 * libm/mathfp/s_ldexp.c (ldexp): New file.
22039 * libm/mathfp/s_log.c (log): New file.
22040 * libm/mathfp/s_log10.c (log10): New file.
22041 * libm/mathfp/s_logarithm.c (logarithm): New file.
22042 * libm/mathfp/s_mathcnst.c: New file.
22043 * libm/mathfp/s_modf (modf).c: New file.
22044 * libm/mathfp/s_numtest.c (numtest): New file.
22045 * libm/mathfp/s_pow.c (pow): New file.
22046 * libm/mathfp/s_scalbn.c (scalbn): New file.
22047 * libm/mathfp/s_sin (sin).c: New file.
22048 * libm/mathfp/s_sine.c (sine): New file.
22049 * libm/mathfp/s_sineh.c (sineh): New file.
22050 * libm/mathfp/s_sinf.c (sinf): New file.
22051 * libm/mathfp/s_sinh.c (sinh): New file.
22052 * libm/mathfp/s_sqrt.c (sqrt): New file.
22053 * libm/mathfp/s_tan.c (tan): New file.
22054 * libm/mathfp/s_tanh.c (tanh): New file.
22055 * libm/mathfp/sf_acos.c (acosf): New file.
22056 * libm/mathfp/sf_asin.c (asinf): New file.
22057 * libm/mathfp/sf_asine.c (asinef): New file.
22058 * libm/mathfp/sf_atan.c (atanf): New file.
22059 * libm/mathfp/sf_atan2.c (atan2f): New file.
22060 * libm/mathfp/sf_atangent.c (atangent): New file.
22061 * libm/mathfp/sf_ceil.c (ceilf): New file.
22062 * libm/mathfp/sf_copysign.c (copysignf): New file.
22063 * libm/mathfp/sf_cos.c (cosf): New file.
22064 * libm/mathfp/sf_cosh.c (coshf): New file.
22065 * libm/mathfp/sf_exp.c (expf): New file.
22066 * libm/mathfp/sf_fabs.c (fabsf): New file.
22067 * libm/mathfp/sf_finite.c (finitef): New file.
22068 * libm/mathfp/sf_floor.c (floorf): New file.
22069 * libm/mathfp/sf_fmod.c (fmodf): New file.
22070 * libm/mathfp/sf_frexp.c (frexpf): New file.
22071 * libm/mathfp/sf_isinf.c (isinff): New file.
22072 * libm/mathfp/sf_isnan.c (isnanf): New file.
22073 * libm/mathfp/sf_ispos.c (isposf): New file.
22074 * libm/mathfp/sf_ldexp.c (ldexpf): New file.
22075 * libm/mathfp/sf_log.c (logf): New file.
22076 * libm/mathfp/sf_log10.c (log10f): New file.
22077 * libm/mathfp/sf_logarithm.c (logarithmf): New file.
22078 * libm/mathfp/sf_modf.c (modff): New file.
22079 * libm/mathfp/sf_numtest.c (numtestf): New file.
22080 * libm/mathfp/sf_pow.c (powf): New file.
22081 * libm/mathfp/sf_scalbn.c (scalbnf): New file.
22082 * libm/mathfp/sf_sin.c (sinf): New file.
22083 * libm/mathfp/sf_sine.c (sinef): New file.
22084 * libm/mathfp/sf_sineh.c (sinehf): New file.
22085 * libm/mathfp/sf_sinh.c (sinhf): New file.
22086 * libm/mathfp/sf_sqrt.c (sqrtf): New file.
22087 * libm/mathfp/sf_tan.c (tanf): New file.
22088 * libm/mathfp/sf_tanh.c (tanhf): New file.
22089 * libm/mathfp/zmath.h: New file.
22091 Wed Sep 2 02:49:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
22093 * libc/machine/sh/strcmp.S (L_char_loop): Re-load r0 at loop
22094 exit if it has been overwritten by pre-fetching in delay slot.
22096 1998-09-01 Michael Meissner <meissner@cygnus.com>
22098 * Makefile.am (tooldir): Add in host_alias, so that multilib
22099 libraries are installed in the directory the compiler looks in.
22100 * Makefile.in: Regenerate.
22102 * libc/stdlib/Makefile.in: Regenerate with automake version 1.3b.
22104 Mon Aug 31 11:39:31 1998 Jeff Johnston <jjohnstn@cygnus.com>
22106 * libc/machine/mn10300/memcpy.S (_memcpy): Move alignment test
22107 ahead of test for number of bytes being moved.
22109 Thu Aug 27 14:07:53 1998 Christopher Faylor <cgf@cygnus.com>
22111 * libc/include/sys/unistd.h: Nothing special needed for
22112 _exit under cygwin.
22114 Wed Aug 26 15:05:21 1998 Nick Clifton <nickc@cygnus.com>
22116 * libc/sys/arm/syscalls.c (_sbrk): Rename '_end' to 'end' to
22117 conform to user label naming conventions.
22119 Mon Aug 24 14:46:19 1998 Geoffrey Noer <noer@cygnus.com>
22121 * libc/sys/cygwin32/sys/utime.h: variable names in
22122 protos should start with two leading underscores
22123 * libc/include/string.h: ditto
22124 * libc/include/sys/signal.h: ditto
22125 * libc/include/sys/stat.h: ditto
22126 * libc/include/sys/time.h: ditto
22127 * libc/include/sys/unistd.h: ditto
22128 * libc/include/ctype.h: ditto
22129 * libc/include/stdlib.h: ditto
22130 * libc/include/sys/reent.h: struct _atexit function ptr takes a
22131 void, same with _sig_func.
22133 Fri Aug 21 14:44:14 1998 Jeff Johnston <jjohnstn@cygnus.com>
22135 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Added preprocessor checks
22136 for MB_CAPABLE to reduce code size when newlib is not configured
22137 with --enable-newlib-mb.
22138 * libc/stdlib/Makefile.am: Specified -fshort-enums when building
22139 mbtowc_r.o to minimize size.
22140 * libc/stdlib/Makefile.in: Rebuild.
22142 Wed Aug 19 16:20:13 1998 Jim Wilson <wilson@cygnus.com>
22144 * libc/sys/sparc64/Makefile.am (.S_r.o, .c_r.o): Change -DREENTRANT
22146 * libc/sys/sparc64/Makefile.in: Rebuild.
22148 Tue Aug 18 22:38:29 1998 Ian Lance Taylor <ian@cygnus.com>
22150 * Makefile.am (MAKEOVERRIDES): Define.
22151 * Makefile.in: Rebuild.
22153 Tue Aug 18 12:38:47 1998 Jim Wilson <wilson@cygnus.com>
22155 * libc/sys/sparc64/sys/stat.h (stat): Add const.
22157 Mon Aug 17 22:27:06 1998 Ian Lance Taylor <ian@cygnus.com>
22159 * acinclude.m4 (NEWLIB_CONFIGURE): Use top_builddir in
22160 newlib_cflags when looking for targ-include.
22161 * */aclocal.m4, */configure: Rebuild.
22163 Fri Jul 31 10:57:42 1998 Catherine Moore <clm@cygnus.com>
22165 * libc/sys/arm/syscalls.c (_sbrk): Change "__end__"
22168 Wed Jul 29 00:02:01 1998 Mark Alexander <marka@cygnus.com>
22170 * libc/include/sys/config.h: Define __IEEE_LITTLE_ENDIAN
22171 on SPARCs with little-endian data.
22172 * libc/include/machine/ieeefp.h: Ditto.
22174 Wed Jul 22 18:00:10 1998 Ian Lance Taylor <ian@cygnus.com>
22176 * acinclude.m4: Handle a relative srcdir correctly when setting
22178 * */aclocal.m4, */configure: Rebuild.
22180 Wed Jul 22 17:11:33 1998 Jeff Johnston <jjohnstn@cygnus.com>
22182 * libm/math/wrf_lgamma.c (lgammaf_r): Initialize exc.err to 0 and
22183 also set exc.arg1, exc.arg2 appropriately in case matherr is supplied.
22184 * libm/math/wrf_gamma.c (gammaf_r): ditto
22185 * libm/math/wr_lgamma.c (lgamma_r): ditto
22186 * libm/math/wr_gamma.c (gamma_r): ditto
22187 * libm/math/wf_sqrt.c (sqrtf): ditto
22188 * libm/math/wf_sinh.c (sinhf): ditto
22189 * libm/math/wf_scalb.c (scalbf): ditto
22190 * libm/math/wf_remainder.c (remainderf): ditto
22191 * libm/math/wf_pow.c (powf): ditto
22192 * libm/math/wf_log10.c (log10f): ditto
22193 * libm/math/wf_log.c (logf): ditto
22194 * libm/math/wf_lgamma.c (lgammaf): ditto
22195 * libm/math/wf_jn.c (jnf, ynf): ditto
22196 * libm/math/wf_j1.c (j1f, y1f): ditto
22197 * libm/math/wf_j0.c (j0f, y0f): ditto
22198 * libm/math/wf_hypot.c (hypotf): ditto
22199 * libm/math/wf_gamma.c (gammaf): ditto
22200 * libm/math/wf_fmod.c (fmodf): ditto
22201 * libm/math/wf_exp.c (expf): ditto
22202 * libm/math/wf_cosh.c (coshf): ditto
22203 * libm/math/wf_atanh.c (atanhf): ditto
22204 * libm/math/wf_atan2f.c (atan2f): ditto
22205 * libm/math/wf_asin.c (asinf): ditto
22206 * libm/math/wf_acosh.c (acoshf): ditto
22207 * libm/math/wf_acos.c (acosf): ditto
22208 * libm/math/w_sqrt.c (sqrt): ditto
22209 * libm/math/w_sinh.c (sinh): ditto
22210 * libm/math/w_scalb.c (scalb): ditto
22211 * libm/math/w_remainder.c (remainder): ditto
22212 * libm/math/w_pow.c (pow): ditto
22213 * libm/math/w_log10.c (log10): ditto
22214 * libm/math/w_log.c (log): ditto
22215 * libm/math/w_lgamma.c (lgamma): ditto
22216 * libm/math/w_jn.c (jn, yn): ditto
22217 * libm/math/w_j1.c (j1, y1): ditto
22218 * libm/math/w_j0.c (j0, y0): ditto
22219 * libm/math/w_hypot.c (hypot): ditto
22220 * libm/math/w_gamma.c (gamma): ditto
22221 * libm/math/w_fmod.c (fmod): ditto
22222 * libm/math/w_exp.c (exp): ditto
22223 * libm/math/w_cosh.c (cosh): ditto
22224 * libm/math/w_atanh.c (atanh): ditto
22225 * libm/math/w_atan2f.c (atan2): ditto
22226 * libm/math/w_asin.c (asin): ditto
22227 * libm/math/w_acosh.c (acosh): ditto
22228 * libm/math/w_acos.c (acos): ditto
22230 Tue Jul 21 12:34:54 1998 Ian Lance Taylor <ian@cygnus.com>
22232 * libm/math/Makefile.am (src): Add w_cabs.c and w_drem.c.
22233 (fsrc): Add wf_cabs.c and wf_drem.c.
22234 * libm/math/Makefile.in: Rebuild.
22236 * Makefile.am (AM_MAKEFLAGS): Add CFLAGS_FOR_BUILD. Remove some
22237 unused directory variables. Remove duplicate CFLAGS.
22238 * Makefile.in: Rebuild.
22240 * doc/Makefile.am ($(MKDOC)): Don't use $(CFLAGS) when building
22241 with $(CC_FOR_BUILD).
22242 (makedoc.o): Likewise.
22243 * doc/Makefile.in: Rebuild.
22245 * libc/sys/cygwin32/Makefile.am (EXTRA_LIBRARIES): Define, to
22246 force a definition of COMPILE.
22247 (libfoo_a_SOURCES): Define.
22248 * libc/sys/cygwin32/Makefile.in: Rebuild.
22249 * libc/sys/tic80/Makefile.am (EXTRA_LIBRARIES): Define, to
22250 force a definition of COMPILE.
22251 (libfoo_a_SOURCES): Define.
22252 * libc/sys/tic80/Makefile.in: Rebuild.
22254 Mon Jul 20 20:49:24 1998 Christopher Faylor <cgf@cygnus.com>
22256 * libc/include/sys/fcntl.h: Add O_NOINHERIT, Win32-specific
22259 Fri Jul 17 16:13:16 1998 Ian Lance Taylor <ian@cygnus.com>
22261 * Build using autoconf and automake. Added many Makefile.am and
22262 configure.in files, plus generated files. Old configure.in files
22263 and all old Makefile.in files completely replaced. Removed
22264 host/any. Added acinclude.m4 and configure.host.
22266 Sat Jul 11 18:14:49 1998 Felix Lee <flee@cygnus.com>
22268 * libc/stdio/vfprintf.c: enable long long support, sometimes.
22269 * configure.in (*-*-cygwin32): add -DWANT_PRINTF_LONG_LONG.
22271 Tue Jul 7 01:51:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
22273 * libc/machine/sh/strcmp.S, libc/machine/sh/strcpy.S: New files.
22274 * libc/machine/sh/Makefile.in: Add rules for new files.
22276 Tue Jul 7 01:40:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
22278 * libc/machine/sh/asm.h (SL, DELAYED_BRANCHES): Define.
22279 * libc/machine/sh/memset.S (memset): Remove uses of dt; shorten code.
22280 * libc/machine/sh/memcpy.S (SL, DELAYED_BRANCHES): Don't define.
22282 Thu Jul 2 10:33:16 1998 Nick Clifton <nickc@cygnus.com>
22284 * libc/sys/arm/syscalls.c (_exit): Add comment, noting that exit
22287 Wed Jun 24 13:56:54 1998 Jeff Johnston <jjohnstn@cygnus.com>
22289 * libc/stdio/tmpnam.c (_tmpnam_r): Changed routine to use
22290 internal static buffer when s is NULL, as prescribed by ANSI.
22292 1998-06-22 Vladimir N. Makarov <vmakarov@cygnus.com>
22294 * libc/sys/h8300hms/Makefile.in (OFILES): malloc.o has been
22296 * libc/sys/h8300hms/malloc.c: has been removed. Now malloc.c from
22297 libc/stdlib will be used for h8300hms.
22299 Thu Jun 18 16:56:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
22301 * libc/machine/mn10300/strlen.S (_strlen): New optimized assembler
22302 version that can be built either for speed or size.
22303 * libc/machine/mn10300/memset.S (_memset): ditto
22304 * libc/machine/mn10300/memchr.S (_memchr): ditto
22305 * libc/machine/mn10300/memcpy.S (_memcpy): ditto
22306 * libc/machine/mn10300/memcmp.S (_memcmp): ditto
22307 * libc/machine/mn10300/strchr.S (_strchr): ditto
22308 * libc/machine/mn10300/strcmp.S (_strcmp): ditto
22309 * libc/machine/mn10300/strcpy.S (_strcpy): ditto
22310 * libc/machine/mn10300/Makefile.in: Added entries for
22311 memchr.o, memcmp.o, memcpy.o, memset.o, strchr.o,
22312 strcmp.o, strcpy.o, and strlen.o.
22314 Wed Jun 17 12:50:26 1998 Mark Alexander <marka@cygnus.com>
22316 * configure.in: Don't use libc/sys/sysmec for MN10200; it's
22317 been replaced with libgloss/mn10200.
22319 Fri Jun 12 14:34:39 1998 Michael Meissner <meissner@cygnus.com>
22321 * libc/string/strchr.c (strchr): Make s a constant pointer to
22324 Tue Jun 9 16:29:30 1998 Jason Molenda (crash@bugshack.cygnus.com)
22326 * configure.in (target == arm* or thumb*): Define ARM_RDI_MONITOR
22327 instead of ARM_RDP_MONITOR (sys/libc/arm/crt0.S to assume Angel
22328 board SWIs instead of Demon board SWIs).
22330 Thu Jun 4 12:16:46 1998 Michael Meissner <meissner@cygnus.com>
22332 * libc/string/strncat.c (strncat): Make -Os act the same as
22333 PREFER_SIZE_OVER_SPEED being defined.
22335 Wed Jun 3 17:52:33 1998 Michael Meissner <meissner@cygnus.com>
22337 * libc/string/memchr.c (memchr): Make -Os act the same as
22338 PREFER_SIZE_OVER_SPEED being defined.
22339 * libc/string/memcmp.c (memcmp): Ditto.
22340 * libc/string/memcpy.c (memcpy): Ditto.
22341 * libc/string/memset.c (memset): Ditto.
22342 * libc/string/strcat.c (strcat): Ditto.
22343 * libc/string/strchr.c (strchr): Ditto.
22344 * libc/string/strcmp.c (strcmp): Ditto.
22345 * libc/string/strcpy.c (strcpy): Ditto.
22346 * libc/string/strlen.c (strlen): Ditto.
22347 * libc/string/strncat.c (strncat): Ditto.
22348 * libc/string/strncmp.c (strncmp): Ditto.
22349 * libc/string/strncpy.c (strncpy): Ditto.
22351 Mon Jun 1 15:25:07 1998 Geoffrey Noer <noer@cygnus.com>
22353 * libc/include/sys/itimer.h: remove
22354 * libc/include/sys/time.h: itimer stuff should be here
22356 Mon Jun 1 16:31:29 1998 Jeff Johnston <jjohnstn@cygnus.com>
22358 * libc/stdio/vfprintf.c (cvt): Changed code to look at sign
22359 bit instead of comparing to 0 so -0.0 can be printed correctly.
22361 Sat May 30 09:33:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
22363 * libc/stdlib/mprec.c (b2d): Inilialize d in non-VAX case too.
22365 Fri May 29 22:25:10 1998 Geoffrey Noer <noer@cygnus.com>
22367 * libc/include/sys/unistd.h: fix sync() proto
22368 * libc/include/sys/fcntl.h: remove _close which is already
22369 defined in unistd.h.
22370 * libc/include/sys/time.h: add getitimer proto
22372 Fri May 29 16:10:28 1998 Geoffrey Noer <noer@cygnus.com>
22374 * libc/string/strchr.c: convert arg to unsigned char
22375 * libc/include/stdlib.h: add protos for random, srandom
22376 * libc/include/sys/stat.h: add lstat proto
22377 * libc/include/sys/time.h: add setitimer proto
22378 * libc/include/sys/unistd.h: add readlink, symlink protos
22379 * libc/include/process.h: instead of including windows.h and using
22380 HANDLEs in sexec protos, just use void *s. Need to include
22383 Fri May 29 03:04:29 1998 Geoffrey Noer <noer@cygnus.com>
22385 * libc/include/sys/fcntl.h: add _close proto for Cygwin32
22387 Thu May 28 16:34:21 1998 Geoffrey Noer <noer@cygnus.com>
22389 * libc/include/process.h: add secure exec protos
22391 Wed May 27 13:54:51 1998 Jeffrey A Law (law@cygnus.com)
22393 * libc/stdlib/dtoa.c (_dtoa_r): Use "double_union" for variables
22394 which are accessed as both doubles and integers.
22395 * libc/stdlib/mprec.c (ulp, b2d, ratio): Likewise.
22396 * libc/stdlib/strtod.c (_strtod_r): Likewise.
22397 * libc/stdlib/mprec.h: Add "union double_union" and change
22398 word0/word1 macros to use it.
22400 Tue May 26 18:04:21 1998 Geoffrey Noer <noer@cygnus.com>
22402 * libc/include/sys/signal.h: add __cplusplus wrapper
22404 Tue May 26 15:10:22 1998 Geoffrey Noer <noer@cygnus.com>
22406 * libc/include/sys/utime.h: new generic file that gets replaced by
22407 libc/sys/SYSDIR/sys/utime.h on systems that support the utime
22409 * sys/cygwin32/sys/utime.h: use _EXFUN in utime proto
22410 * libc/include/time.h: remove duplicate utime proto
22411 * libc/include/utime.h: add comment
22413 Sun May 24 23:56:20 1998 Christopher Faylor <cgf@cygnus.com>
22415 * libc/include/sys/time.h: Add missing include to
22416 allow use of _EXFUN. Remove times function that is
22417 already defined in times.h.
22419 Sun May 24 01:32:14 1998 Christopher Faylor <cgf@cygnus.com>
22421 * libc/include/time.h: Fix typo in tzset.
22423 Fri May 22 17:00:48 1998 Geoffrey Noer <noer@cygnus.com>
22425 * libc/include/sys/time.h: add missing Cygwin32 function protos
22426 * libc/include/sys/unistd.h: ditto
22427 * libc/include/time.h: ditto
22429 Wed May 20 20:35:11 1998 Geoffrey Noer <noer@cygnus.com>
22431 * libc/sys/cygwin32/sys/param.h: add protected NULL def, remove
22433 * libc/include/sys/types.h: add a new __MS_types__ section
22434 to define vm_offset_t, vm_size_t, int32_t et al, register_t,
22435 __BIT_TYPES_DEFINED__.
22437 Wed May 20 18:49:21 1998 Geoffrey Noer <noer@cygnus.com>
22439 * libc/sys/cygwin32/sys/param.h: move here from winsup/include/sys
22440 since it overrides the one in libc/include/sys. Also, start
22443 Wed May 20 14:45:40 1998 Geoffrey Noer <noer@cygnus.com>
22445 * libm/math/Makefile.in: add s_signgam.o to obj list
22447 Tue May 19 11:57:11 1998 Jeff Johnston <jjohnstn@cygnus.com>
22449 * libc/include/sys/reent.h (_REENT_INIT): Initialize current locale to "C".
22451 Mon May 18 22:36:12 1998 Christopher Faylor <cgf@cygnus.com>
22453 * libc/include/sys/signal.h: cygwin32 exports sig{empty,add}set,
22454 so don't use defines.
22456 Mon May 18 19:01:02 1998 Michael Meissner <meissner@cygnus.com>
22458 * libc/sys/d10v/crt0.S: Use correct stab for 16-bit ints.
22460 Sun May 17 18:40:32 1998 Frank Ch. Eigler <fche@cygnus.com>
22462 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Accept a NULL
22463 _current_locale as default locale.
22465 Sat May 16 21:59:59 1998 Bob Manson <manson@charmed.cygnus.com>
22467 * libc/stdlib/mallocr.c (mALLOc): Add explicit tests for
22468 insufficient space in a chunk.
22470 Tue May 12 14:41:01 1998 Jeff Johnston <jjohnstn@cygnus.com>
22472 * configure.in (links): Added check for --enable-newlib-mb configure
22473 option which defines the MB_CAPABLE macro.
22474 * libc/locale/locale.c (_setlocale_r): Added support for setting
22475 LC_CTYPE to "C-JIS", "C-SJIS" or "C-EUCJP", when MB_CAPABLE is
22477 * libc/stdlib/mbtowc_r.c (_mbtowc_r): New function _mbtowc_r that
22478 implements mbtowc() with multibyte support for JIS, SJIS, and EUC-JP.
22479 * libc/stdlib/wctomb_r.c (_wctomb_r): New function _wctomb_r that
22480 implements wctomb() with multibyte support for JIS, SJIS, and EUC-JP.
22481 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): New function _mbstowcs_r that
22482 implements mbstowcs() with multibyte support for JIS, SJIS, and EUC-JP.
22483 * libc/stdlib/wcstombs_r.c (_wcstombs_r): New function _wcstomb_r that implements
22484 wcstombs() with multibyte support for JIS, SJIS, and EUC-JP.
22485 * libc/stdlib/Makefile.in: Added new multibyte
22486 routines: _mbtowc_r(), _wctomb_r(), _mbstowcs_r(), and _wcstombs_r().
22487 * libc/include/stdlib.h: Added declarations of _mbtowc_r(), _wctomb_r(),
22488 _mbstowcs_r(), and _wcstombs_r().
22489 * libc/stdlib/mbctype.h: New internal header file that contains macros to test
22490 for JIS, SJIS, and EUC-JP characters.
22491 * libc/stdlib/mblen.c (mblen): Added code to call _mbtowc_r() if
22492 MB_CAPABLE defined.
22493 * libc/stdlib/mbtowc.c (mbtowc): Added code to call _mbtowc_r() if
22494 MB_CAPABLE defined.
22495 * libc/stdlib/wctomb.c (wctomb): Added code to call _wctomb_r() if
22496 MB_CAPABLE defined.
22497 * libc/stdlib/mbstowcs.c (mbstowcs): Added code to call _mbstowcs_r()
22498 if MB_CAPABLE defined.
22499 * libc/stdlib/wcstombs.c (wcstombs): Added code to call _wcstombs_r()
22500 if MB_CAPABLE defined.
22501 * libc/stdio/vfscanf.c (__svfscanf): Added multibyte tolerance
22502 to the format string processing when MB_CAPABLE.
22503 * libc/stdio/vfprintf.c (_VFPRINTF_R): Changed mbtowc() call to
22506 Tue May 5 16:07:23 1998 Nick Clifton <nickc@cygnus.com>
22508 The following modifications are courtesy of Anthony Thompson,
22509 athompson@cambridge.arm.com:
22510 * libc/sys/arm/syscalls.c: Initialise and track stdin/out/err for
22511 boith RDI and RDP monitors.
22512 * libc/sys/arm/crt0.S: Call initialise_monitor_handles() for both
22513 RDI and RDP monitors.
22515 Wed Apr 29 15:22:15 1998 Jeff Johnston <jjohnstn@cygnus.com>
22517 * configure.in (links): Added -DHAVE_GETTIMEOFDAY for arm and thumb.
22518 * libc/sys/arm/syscalls.c (_gettimeofday _times): Added functions.
22519 (_swiopen): Fixed open flags to treat write with append as just append.
22520 (_swilseek): Fixed lseek support to properly handle offsets from SEEK_END.
22521 * libc/sys/arm/sys/param.h: New file to override param.h for ARM.
22523 Fri Apr 24 18:00:09 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
22525 * libc/machine/sh/memcpy.S (L_odddst, big endian version):
22526 When needing to transfer an initial 2-byte-word, store as
22529 Wed Apr 22 17:56:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
22531 * libc/sys/sh/crt0.S (start): Handle __SH4_SINGLE_ONLY__ like
22533 * libc/machine/sh/memcpy.S (DELAYED_BRANCHES, SL): Likewise.
22534 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Likewise.
22536 Wed Apr 22 12:28:03 1998 Michael Meissner <meissner@cygnus.com>
22538 * configure.in (target_cflags): If --enable-target-optspace, use
22539 -Os to compile newlib rather than -O2. Default to using -Os for
22540 d10v, d30v and m32r if --{enable,disable}-target-optspace is not
22543 Tue Apr 21 23:13:34 1998 Geoffrey Noer <noer@cygnus.com>
22545 * libc/include/machine/setjmp.h: change sigsetjmp and
22546 siglongjmp definitions to use an array instead of a struct
22549 Tue Apr 14 11:47:47 1998 Doug Evans <devans@canuck.cygnus.com>
22551 * libc/reent/impure.c (__ATTRIBUTE_IMPURE_DATA__): Fix spelling.
22553 Mon Apr 6 15:05:08 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
22555 * libc/string/strxfrm.c: fix to get correct return value
22557 Wed Apr 1 16:09:05 1998 Nick Clifton <nickc@cygnus.com>
22559 * libc/sys/arm/crt0.S: Set top of RAM to be 0x800000 for PE
22560 builds. Make mode change labels global so that they will be seen
22563 Wed Mar 18 09:45:10 1998 Nick Clifton <nickc@cygnus.com>
22565 * configure.in (links): Do not use ARM debiugging protocols for PE
22568 * libc/sys/arm/syscalls.c (_sbrk): Add "_sbrk: " to error
22571 Fri Mar 13 11:24:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
22573 * libc/stdio/findfp.c (__sinit): Made stdout default to
22574 line buffered mode as defined by ANSI.
22576 Tue Mar 10 11:41:26 1997 Bob Manson <manson@charmed.cygnus.com>
22578 * libc/include/sys/itimer.h: New file.
22580 * libc/signal/signal.c (__sigtramp_r,__sigtramp): New functions.
22582 Mon Mar 9 14:19:26 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
22584 * libc/machine/sh/memcpy.S: (_memcpy): Fix for execute/memcpy-1.c
22587 Fri Feb 27 13:56:10 1998 Michael Meissner <meissner@cygnus.com>
22589 * libc/machine/d30v/setjmp.S (longjmp): Fix order of parallel
22592 Wed Feb 25 09:29:54 1998 Nick Clifton <nickc@cygnus.com>
22594 * libc/sys/arm/syscalls.c (_open): Add varags to conform to prototype.
22596 Tue Feb 24 18:00:13 1998 Michael Meissner <meissner@cygnus.com>
22598 * libc/machine/d30v/{setjmp.S,Makefile.in}: New files for D30V
22601 * libc/include/machine/setjmp.h: Add D30V support.
22603 * configure.in (d30v-*): Add d30v machine directory.
22605 Mon Feb 23 09:32:58 1998 Mark Alexander <marka@cygnus.com>
22607 * configure.in: Don't use libc/sys/sysmec for MN10300; it's
22608 been replaced with libgloss/mn10300.
22610 Sat Feb 21 17:44:43 1998 Geoffrey Noer <noer@cygnus.com>
22612 * libc/stdlib/mallocr.c: remove __malloc_copy routine now that
22613 it is no longer needed.
22615 Thu Feb 19 16:15:10 1998 Geoffrey Noer <noer@cygnus.com>
22617 * libc/include/sys/signal.h: add sigpause proto for Cygwin32
22619 Wed Feb 18 23:51:08 1998 Geoffrey Noer <noer@cygnus.com>
22621 * libc/stdio/fdopen.c (fdopen): Make all writes go to the end of
22622 the file when O_APPEND is set, wherever the EOF happens to be at
22625 Wed Feb 18 23:25:02 1998 Geoffrey Noer <noer@cygnus.com>
22627 patch from cgf@bbc.com (Christopher Faylor):
22628 * libc/stdio/freopen.c (freopen): Conform to standard UNIX
22629 convention of closing fp prior to attempting to open the file
22630 argument. This allows correct operation when reopening
22631 stdin/stdout/stderr. Replaces last freopen.c patch.
22633 Wed Feb 18 16:27:40 1998 Geoffrey Noer <noer@cygnus.com>
22635 patch from cgf@bbc.com (Christopher Faylor):
22636 * libc/stdio/freopen.c: freopen was not preserving the fd
22637 of the stream being operated on. This confuses programs that
22638 expect that the handles for stdout and stderr will be 1 and 2.
22640 Mon Feb 16 23:34:07 1998 Andrew Cagney <cagney@b1.cygnus.com>
22642 * libc/sys/d10v/crt0.S (_start): Set PSW{SW} - select SPU.
22644 Thu Feb 12 15:09:20 1998 Ranjith Kumaran <ranjith@cygnus.com>
22646 * libc/sys/go32/longjmp.S: Fix longjmp to not return 0.
22648 Wed Feb 11 17:50:45 1998 Jeff Johnston <jjohnstn@cygnus.com>
22650 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Alignment code
22651 altered to not use a branch. Also added hint that last
22652 bclr in longjmp will likely result in branch.
22655 Mon Feb 9 03:44:02 1998 Geoffrey Noer <noer@cygnus.com>
22657 * libc/sys/cygwin32/crt0.c: add missing args to main() extern
22659 Fri Feb 6 16:32:32 1998 Nick Clifton <nickc@cygnus.com>
22661 * libc/sys/sysnecv850/crt0.S (_start): Initialise _ctbp even for
22664 * configure.in: Add -msmall-sld to target_cflags for v850 builds.
22666 Wed Feb 4 16:56:20 1998 Jeff Johnston <jjohnstn@cygnus.com>
22668 * libc/machine/powerpc/setjmp.S (longjmp): Fixed code
22669 that loads FR14 to specify offset of 8 rather than 4
22670 so it loads from offset 96 (where setjmp stored it).
22672 Tue Feb 3 18:08:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
22674 * libc/machine/sh/memcpy.S: (_memcpy): Update to
22675 latest version supplied by customer.
22676 * libc/machine/sh/memset.S (_memset): Ditto.
22678 Mon Feb 2 16:20:39 1998 Nick Clifton <nickc@cygnus.com>
22680 * libc/sys/sysnecv850/Makefile.in (OFILES): Add link.o (for
22683 Mon Feb 2 15:13:26 1998 Geoffrey Noer <noer@cygnus.com>
22685 * libc/include/string.h: remove redefinition of ffs
22687 Wed Jan 28 13:30:14 1998 Geoffrey Noer <noer@cygnus.com>
22689 * libc/include/sys/signal.h: include _ansi.h so _EXFUN is
22692 Wed Jan 28 10:38:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
22694 * libc/machine/tic80/setjmp.S: Adding _setjmp to allow
22695 TI Libraries to link to libc.a
22697 Sat Jan 24 10:15:56 1998 Michael Meissner <meissner@cygnus.com>
22699 * libc/include/sys/fcntl.h (_open,_fcntl): Add prototypes.
22700 * libc/include/sys/stat.h (_{,f}stat): Ditto.
22701 * libc/include/sys/wait.h (_wait): Ditto.
22702 * libc/include/sys/unistd.h (_close,_fork,_getpid): Ditto.
22703 (_link,_lseek,_read,_sbrk,_unlink,_write): Ditto.
22705 Fri Jan 23 11:32:10 1998 Michael Meissner <meissner@cygnus.com>
22707 * libc/machine/d10v/setjmp.S: Change to new ABI. Add simple
22708 minded stabs so function name shows up when running the simulator
22710 * libc/sys/d10v/{crt0,trap}.S: Ditto.
22712 Thu Jan 22 15:57:14 1998 Fred Fish <fnf@cygnus.com>
22714 * libc/sys/d10v/trap.S: Change syscalls to use trap 15.
22715 * libc/sys/d10v/crt0.S: Use R6 where we used to use R2.
22716 Use R5 where we used to use R3.
22718 Wed Jan 21 14:22:23 1998 Bill Moyer <billm@cygnus.com>
22720 * libc/stdlib/getopt.c (getopt): replaced __progname
22721 with nargv[0] to improve portability to imbedded systems.
22723 Thu Jan 15 12:32:38 1998 Nick Clifton <nickc@cygnus.com>
22725 * libc/sys/arm/syscalls.c (initialise_angel_handles): Applied
22726 patch supplied by Tont.Thompson@arm.com to fix the creation of the
22729 Wed Jan 14 13:00:19 1998 Ian Lance Taylor <ian@cygnus.com>
22731 * libc/stdio/tmpnam.c (worker): Generate a different file name
22734 * libc/posix/popen.c (popen): If __CYGWIN32__, and execing /bin/sh
22735 fails, try an execlp for sh.
22737 * host/any (INCLUDES): If target_os is cygwin32, then add a -I
22738 option for the winsup include directory.
22740 Wed Jan 7 17:02:58 1998 Nick Clifton <nickc@cygnus.com>
22742 * libc/sys/arm/syscalls.c: Applied patches for Angel based remote
22743 debugging interface from Tony.Thompson@arm.com.
22745 * libc/sys/arm/crt0.S (_mainCRTStartup): ditto.
22746 * libc/sys/arm/swi.h: ditto.
22748 Tue Jan 6 14:15:10 1998 Geoffrey Noer <noer@cygnus.com>
22750 * libc/sys/cygwin32/sys/dirent.h: add __d_dirhash field to
22751 DIR struct used for readdir hashes.
22753 Thu Jan 1 11:22:22 1998 Jeffrey A Law (law@cygnus.com)
22755 * libc/string/strchr.c: Use "unsigned chars" as necessary.
22757 Wed Dec 31 04:25:30 1997 Jeffrey A Law (law@cygnus.com)
22759 * libc/stdlib/mallocr.c (idx2binblock): Don't lose on 16bit
22762 Sat Dec 13 15:11:06 1997 Ian Lance Taylor <ian@cygnus.com>
22764 * libc/stdlib/mallocr.c (__malloc_copy): New function, compiled if
22765 INTERNAL_NEWLIB and __CYGWIN32__ and DEFINE_MALLOC.
22766 * libc/include/malloc.h: Add extern "C" if __cplusplus.
22767 (__malloc_copy): Declare.
22769 Wed Dec 10 12:15:54 1997 Ian Lance Taylor <ian@cygnus.com>
22771 * libc/stdlib/mallocr.c: If INTERNAL_NEWLIB, include
22773 (POINTER_UINT): Define.
22774 (DEFAULT_TRIM_THRESHOLD): Mark constants as long.
22775 (MALLOC_ALIGNMENT): Don't define if already defined.
22776 (malloc_extend_top): Cast pointers to POINTER_UINT, not unsigned
22779 Tue Dec 9 19:23:42 1997 Michael Meissner <meissner@cygnus.com>
22781 * libc/string/memset.c (memset): Fiddle with code so that the long
22782 value being stored is not a stack value. Unroll storing longs 4
22785 Tue Dec 9 14:13:18 1997 Jeff Johnston <jjohnstn@cygnus.com>
22787 * Reduce code size for libm modules.
22788 * libm/math/w_sqrt.c (sqrt): Remove call to kernel_standard
22789 and simply move code into sqrt.
22790 * libm/math/wrf_lgamma.c (lgammaf_r): Likewise.
22791 * libm/math/wr_lgamma.c (lgamma_r): Likewise.
22792 * libm/math/wrf_gamma.c (gammaf_r): Likewise.
22793 * libm/math/wr_gamma.c (gamma_r): Likewise.
22794 * libm/math/wf_sinh.c (sinfh): Likewise.
22795 * libm/math/w_sinh.c (sinh): Likewise.
22796 * libm/math/wf_scalb.c (scalbf): Likewise.
22797 * libm/math/w_scalb.c (scalb): Likewise.
22798 * libm/math/wf_remainder.c (remainderf): Likewise.
22799 * libm/math/w_remainder.c (remainder): Likewise.
22800 * libm/math/wf_pow.c (powf): Likewise.
22801 * libm/math/w_pow.c (pow): Likewise.
22802 * libm/math/wf_log10.c (log10f): Likewise.
22803 * libm/math/w_log10.c (log10): Likewise.
22804 * libm/math/wf_log.c (logf): Likewise.
22805 * libm/math/w_log.c (log): Likewise.
22806 * libm/math/w_lgamma.c (lgamma): Likewise.
22807 * libm/math/wf_lgamma.c (lgammaf): Likewise.
22808 * libm/math/wf_jn.c (jnf): Likewise.
22809 * libm/math/w_jn.c (jn): Likewise.
22810 * libm/math/wf_j1.c (j1f): Likewise.
22811 * libm/math/w_j1.c (j1): Likewise.
22812 * libm/math/wf_j0.c (j0f): Likewise.
22813 * libm/math/w_j0.c (j0): Likewise.
22814 * libm/math/wf_hypot.c (hypotf): Likewise.
22815 * libm/math/w_hypot.c (hypot): Likewise.
22816 * libm/math/wf_gamma.c (gammaf): Likewise.
22817 * libm/math/w_gamma.c (gamma): Likewise.
22818 * libm/math/wf_fmod.c (fmodf): Likewise.
22819 * libm/math/w_fmod.c (fmod): Likewise.
22820 * libm/math/wf_exp.c (expf): Likewise.
22821 * libm/math/w_exp.c (exp): Likewise.
22822 * libm/math/wf_cosh.c (coshf): Likewise.
22823 * libm/math/w_cosh.c (cosh): Likewise.
22824 * libm/math/wf_atanh.c (atanhf): Likewise.
22825 * libm/math/w_atanh.c (atanh): Likewise.
22826 * libm/math/wf_atan2.c (atan2f): Likewise.
22827 * libm/math/w_atan2.c (atan2): Likewise.
22828 * libm/math/wf_asin.c (asinf): Likewise.
22829 * libm/math/w_asin.c (asin): Likewise.
22830 * libm/math/wf_acosh.c (acoshf): Likewise.
22831 * libm/math/w_acosh.c (acosh): Likewise.
22832 * libm/math/wf_acos.c (asocf): Likewise.
22833 * libm/math/w_acos.c (acos): Likewise.
22834 * libm/math/wf_sqrt.c (sqrtf): Likewise.
22835 * libm/math/k_standard.c (_k_standard): Don't require SVID behavior
22836 for embedded systems.
22838 Mon Dec 8 12:12:58 1997 Ian Lance Taylor <ian@cygnus.com>
22840 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from Doug
22841 Lea in case of a foreign sbrk.
22843 Fri Dec 5 23:27:28 1997 Ian Lance Taylor <ian@cygnus.com>
22845 Incorporate Doug Lea's malloc:
22846 * libc/stdlib/mallocr.c: Completely replaced.
22847 * libc/stdlib/malloc.c: Document malloc_usable_size and memalign.
22849 * libc/stdlib/calloc.c (calloc): Just call _calloc_r.
22850 * libc/stdlib/mstats.c: Document mallinfo, malloc_stats, and
22852 (mallinfo, malloc_stats, mallopt): New functions.
22853 (_mstats_r): Just call _malloc_stats_r.
22854 * libc/stdlib/malign.c: New file.
22855 * libc/stdlib/mlock.c: New file.
22856 * libc/stdlib/msize.c: New file.
22857 * libc/stdlib/mtrim.c: New file.
22858 * libc/stdlib/realloc.c: New file.
22859 * libc/stdlib/valloc.c: New file.
22860 * libc/stdlib/malloc.h: Remove.
22861 * libc/stdlib/callocr.c: Remove.
22862 * libc/stdlib/Makefile.in (OFILES): Add cfreer.o, freer.o,
22863 malign.o, malignr.o, mallinfor.o, malloptr.o, mallstatsr.o,
22864 mlock.o, msize.o, msizer.o, mtrim.o, pvallocr.o, realloc.o,
22865 reallocr.o, valloc.o, vallocr.o.
22866 (CHEWOUT_FILES): Add mlock.def, mstats.def.
22867 (MALLOC_CFLAGS): New variable.
22868 (mallocr.o): New target, build from mallocr.c.
22869 (freer.o, reallocr.o, callocr.o, cfreer.o, malignr.o): Likewise.
22870 (vallocr.o, pvallocr.o, mallinfor.o, mallstatsr.o): Likewise.
22871 (msizer.o, malloptr.o): Likewise.
22872 (malign.o, mlock.o, msize.o, mtrim.o, realloc.o): New targets.
22873 (valloc.o): New target.
22874 * libc/stdlib/stdlib.tex: Include mlock.def and mstats.def.
22875 * libc/include/malloc.h: Declare struct mallinfo, and new
22877 * libc/include/stdlib.h (cfree): Correct declaration.
22879 Tue Dec 2 10:12:16 1997 Nick Clifton <nickc@cygnus.com>
22881 * libc/include/machine/setjmp.h: Add support for Thumb target.
22883 * libc/include/machine/ieeefp.h: Add support for Thumb target.
22885 * configure.in (links): Add support for Thumb target.
22887 Wed Nov 26 09:56:17 1997 Nick Clifton <nickc@cygnus.com>
22889 * libc/sys/arm/setjmp.S: Updated with version from branch.
22891 Thu Nov 20 01:21:43 1997 Geoffrey Noer <noer@cygnus.com>
22893 * libc/include/stdio.h: add POSIX-required define L_ctermid
22896 Wed Nov 19 16:11:40 1997 Michael Meissner <meissner@cygnus.com>
22898 * configure.in (d30v-*-*): Define ABORT_MESSAGE, SMALL_MEMORY, in
22899 addition to MISSING_SYSCALL_NAMES.
22901 Mon Nov 17 20:05:05 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
22903 * libc/include/sys/config.h: (UINT_MAX, for D10V): Make unsigned.
22905 Mon Nov 10 22:26:55 1997 Geoffrey Noer <noer@cygnus.com>
22907 * libc/include/string.h: change strsignal proto to return
22908 a char *. This eliminates compile problems in gdb resulting
22909 from gdb's definition of strsignal in defs.h.
22911 Mon Nov 10 17:11:08 1997 Geoffrey Noer <noer@cygnus.com>
22913 * libc/sys/cygwin32/sys/utime.h: new (moved here from
22914 winsup/include) so as not to conflict with the one in
22916 * libc/include/string.h: add protos for strsignal, strtosigno
22918 Mon Nov 10 13:49:54 1997 Michael Meissner <meissner@cygnus.com>
22920 * libc/include/sys/config.h: Define __IEEE_BIG_ENDIAN if d30v.
22922 * configure.in (d30v-*-*): Add configuration.
22924 Thu Oct 30 14:01:23 1997 Nick Clifton <nickc@cygnus.com>
22926 * configure.in (links): Add -DARM_RD[P|I]_MONITOR to target_cflags
22927 to select which kind of debug monitor is in use for an ARM target.
22929 * libc/sys/arm/crt0.S: New version: Supports Thumb startups and
22930 Angel and Demon debug monitors. Part of this code was supplied by
22931 Tony Thompson at ARM: athompso@arm.com.
22933 Fri Oct 24 18:57:05 1997 Jeffrey A Law (law@cygnus.com)
22935 * strncat.c (strncat): Don't call strncpy; strncay has the wrong
22936 semantics when the count is greater than the length of the second
22939 Thu Oct 23 01:37:41 1997 Geoffrey Noer <noer@cygnus.com>
22941 * libc/include/sys/signal.h: reorder CYGWIN32 signal numbers
22942 * libc/include/sys/unistd.h: add protos for usleep, truncate,
22943 truncate and ftruncate take off_t, not size_t
22945 Tue Oct 21 18:42:00 1997 Jim Wilson <wilson@cygnus.com>
22947 * libc/string/strcat.c (strcat): Add missing comment end.
22948 * libc/string/strncat.c (strncat): Likewise.
22950 Tue Oct 21 17:23:34 1997 Nick Clifton <nickc@cygnus.com>
22952 * configure.in (links): Define PREFER_SIZE_OVER_SPEED for v850
22954 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Add space
22955 optimised version which is selected if PREFER_SIZE_OVER_SPEED is
22957 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
22958 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
22959 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
22961 Mon Oct 13 15:12:35 1997 Ian Lance Taylor <ian@cygnus.com>
22963 * libc/include/sys/param.h (BIG_ENDIAN): Define if __i386__.
22964 (LITTLE_ENDIAN, BYTE_ORDER): Likewise.
22966 Thu Oct 9 13:54:44 1997 Doug Evans <dje@canuck.cygnus.com>
22968 * libc/machine/i386/setjmp.S: New file.
22969 * libc/machine/i386/Makefile.in: Delete COPYOFILES.
22970 (OFILES): Add setjmp.o.
22971 (setjmp.o): Add rule for.
22972 * configure.in: Don't set machine_dir for *-*-{go32,sco*,cygwin32}.
22974 Tue Oct 7 14:01:29 1997 Bill Moyer (billm@cygnus.com)
22975 Jeffrey A Law (law@cygnus.com)
22977 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Reimplement to run faster.
22978 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
22979 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
22980 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
22982 Mon Oct 6 14:07:59 1997 Nick Clifton <nickc@cygnus.com>
22984 * libc/sys/sysnecv850/Makefile.in (crt0.o trap.o): Explicit
22987 * libc/include/sys/config.h: Use __v850 to select v850
22990 * libc/include/machine/setjmp.h: Use __v850 to select v850 jump
22993 * libc/include/machine/ieeefp.h: Use __v850 to select v850
22996 Thu Sep 25 14:11:37 1997 Geoffrey Noer <noer@cygnus.com>
22998 * libc/stdlib/setenv.c: change unsetenv definition to match
22999 style of setenv (with _DEFUN). The string should be a const.
23000 * libc/include/stdlib.h: unsetenv proto should return void.
23002 Tue Sep 23 18:17:20 1997 Geoffrey Noer <noer@cygnus.com>
23004 * libc/include/stdlib.h: define unsetenv proto for __CYGWIN32__
23006 Thu Sep 18 12:50:15 1997 Angela Marie Thomas (angela@cygnus.com)
23008 * libc/stdio/glue.h: remove.
23009 * libc/stdio/findfp.c, libc/stdio/fwalk.c: remove #include "glue.h"
23010 * libc/stdio/Makefile.in: remove glue.h dependencies
23012 Wed Sep 17 17:42:27 1997 Nick Clifton <nickc@cygnus.com>
23014 * libc/sys/sysnecv850/crt0.S: Created V850e version.
23016 Tue Sep 9 10:40:57 1997 Doug Evans <dje@canuck.cygnus.com>
23018 * configure.in (target_cpu): Add `arc'.
23020 Tue Sep 9 10:40:42 1997 Joel Sherrill <joel@OARcorp.com>
23022 * newlib/configure.in (*-*-rtems*): Add -DSIGNAL_PROVIDED and
23023 -DREENTRANT_SYSCALLS_PROVIDED to the target_cflags.
23024 * newlib/libc/include/sys/errno.h: Add ENOTSUP.
23025 * newlib/libc/reent/reent.c: Add _wrapup_reent.
23026 * newlib/libc/sys/rtems/sys/types.h: Avoid redefinitions for go32.
23028 Sun Sep 7 16:41:41 1997 Gavin Koch <gavin@cygnus.com>
23030 * libc/machine/mips/setjmp.S: Handle mips16 builds.
23032 Thu Aug 21 20:05:38 1997 Ian Lance Taylor <ian@cygnus.com>
23034 * libc/include/stdio.h (siprintf): Declare.
23036 Mon Aug 18 11:19:13 1997 Nick Clifton <nickc@cygnus.com>
23038 * libc/sys/sysnecv850/Makefile.in (.c.o): Add rule that includes
23039 TARGET_CFLAGS and NEWLIB_FLAGS.
23041 Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
23043 * configure.in (links): Add support for v850ea target.
23045 Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
23047 * configure.in (links): Add support for v850e target.
23049 Wed Aug 13 19:16:54 1997 Nick Clifton <nickc@cygnus.com>
23051 * libc/sys/sysnecv850/crt0.S: Remove initial setting of r0 to 0.
23053 Mon Aug 11 15:49:54 1997 Doug Evans <dje@canuck.cygnus.com>
23055 * configure.in (arc-*-*): Add support for.
23056 * libc/include/machine/ieeefp.h (__arc__): Add support for the ARC.
23058 Fri Jul 25 17:37:41 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
23060 * libc/sys/sh/crt0.S (start): Add fpscr initialization for SH4.
23062 Thu Jul 24 18:32:17 1997 Geoffrey Noer <noer@cygnus.com>
23064 * libc/stdlib/bsearch.c (bsearch): remove last unneeded
23065 comparison which accesses invalid memory when the key is
23066 larger than the last member of the array.
23067 * libc/include/machine/setjmp.h: add sigsetjmp, siglongjmp
23069 * libc/include/sys/unistd.h: add _POSIX defines for CYGWIN32
23071 Tue Jul 22 16:03:06 1997 Ian Lance Taylor <ian@cygnus.com>
23073 * libc/include/stdlib.h (realpath): Declare if __CYGWIN32__ and
23076 Thu Jul 10 15:11:52 1997 Doug Evans <dje@canuck.cygnus.com>
23078 * libm/math/k_standard.c (__kernel_standard): Call fflush(stdout)
23079 ifndef _USE_WRITE, instead of ifdef _USE_WRITE.
23081 Thu Jul 10 16:00:09 1997 Mike Meissner <meissner@cygnus.com>
23083 * libc/machine/tic80/setjmp.S (setjmp,longjmp): Use ld.d and st.d
23084 to load/store memory.
23086 Mon Jul 7 17:38:17 1997 Ian Lance Taylor <ian@cygnus.com>
23088 * libc/include/sys/fcntl.h: Define _O_* symbols with leading
23089 underscores if _WIN32.
23091 Wed Jul 2 10:07:20 1997 Doug Evans <dje@canuck.cygnus.com>
23093 * libm/math/k_standard.c (__kernel_standard): Delete reentrancy
23094 support ifdef _USE_WRITE missed in last change.
23095 From Anders Blomdell <anders.blomdell@control.lth.se>.
23097 Wed Jun 25 10:18:49 1997 Doug Evans <dje@canuck.cygnus.com>
23099 * libc/stdio/tmpnam.c (worker): Handle _open_r being stubbed out.
23100 (_tmpnam_r, _tempnam_r): Update.
23102 Wed Jun 25 00:16:55 1997 Mark Alexander <marka@cygnus.com>
23104 * libc/machine/sparc/setjmp.S: New file.
23105 * libc/machine/sparc/Makefile.in: Add setjmp.
23106 * libc/include/machine/setjmp.h: Increase jmpbuf size for sparc.
23108 Tue Jun 24 23:27:38 1997 Mark Alexander <marka@cygnus.com>
23110 * libc/include/machine/setjmp.h: Use __TIC80__ instead of __tic80__.
23112 Tue Jun 24 14:53:40 1997 Doug Evans <dje@canuck.cygnus.com>
23114 From Joel Sherrill <joel@oarcorp.com>.
23115 * libc/stdlib/getenv.c (_findenv): Avoid dereferencing null `environ'.
23117 Add rtems support. From Joel Sherrill <joel@oarcorp.com>.
23118 * configure.in: Recognize *-*-rtems*.
23119 * libc/sys/rtems/{Makefile.in,crt0.c,dummysys.c}: New files.
23120 * libc/sys/rtems/sys/{features.h,sched.h,siginfo.h,signal.h,
23121 time.h,times.h,types.h}: New files.
23122 * libc/sys/rtems/include/{limits.h,signal.h,time.h}. New files.
23124 Fri Jun 20 11:13:16 1997 Geoffrey Noer <noer@cygnus.com>
23126 patch from sos@prospect.com.ru (Sergey Okhapkin):
23127 * include/sys/wait.h: correct operator precidence bug
23130 Wed Jun 18 22:08:27 1997 Geoffrey Noer <noer@cygnus.com>
23132 * libc/include/stdlib.h: remove unsetenv proto since it conflicts
23133 with newlib's unsetenv function
23134 * libc/sys/cygwin32/sys: new directory for includes
23135 * libc/sys/cygwin32/sys/dirent.h: move cygwin32's dirent.h
23136 here from winsup/include/sys
23138 Mon Jun 16 21:02:22 1997 Geoffrey Noer <noer@cygnus.com>
23140 * libc/include/sys/unistd.h: _exit should only be
23141 labelled noreturn when not __CYGWIN32__
23142 * libc/include/stdlib.h: for __CYGWIN32__, add proto for unsetenv
23143 * libc/include/sys/signal.h: add SIGIO to _WIN32 list and
23146 Thu Jun 12 18:52:41 1997 Ian Lance Taylor <ian@cygnus.com>
23148 * libc/include/sys/time.h: Only define timeval and timezone if
23149 _GNU_H_WINDOWS32_SOCKETS is not defined.
23150 * libc/include/sys/stat.h: If _WIN32, define _S_IFMT, etc.
23152 Wed Jun 11 09:46:26 1997 Jeffrey A Law (law@cygnus.com)
23154 * libc/machine/mn10200/setjmp.S: Implement setjmp/longjmp
23155 * libc/machine/mn10300/setjmp.S: Likewise.
23157 * libc/sys/sysmec/crt0.S: Use "call" instead of "calls" for
23158 the mn10300 (more relaxing opportunities).
23160 Tue Jun 10 17:24:45 1997 Mike Meissner <meissner@cygnus.com>
23162 * configure.in (powerpc*-*-{eabi,elf,linux,rtems,sysv,solaris}):
23163 Build libraries with -mstrict-align.
23165 Fri Jun 6 14:07:59 1997 Ian Lance Taylor <ian@cygnus.com>
23167 * libc/string/strlwr.c: New file.
23168 * libc/string/strupr.c: New file.
23169 * libc/include/string.h: Declare strlwr and strupr.
23170 * libc/string/Makefile.in (OFILES): Add strlwr.o and strupr.o.
23171 (CHEWOUT_FILES): Add strlwr.def and strupr.def.
23172 (strlwr.o, strupr.o): New targets.
23173 * libc/string/strings.tex: Include strlwr and strupr docs.
23175 * libc/include/sys/types.h: Don't define u_char, et. al., if
23176 _GNU_H_WINDOWS32_SOCKETS is defined. Likewise for fd_set,
23177 et. al. Make FD_SETSIZE default 64 rather than 60. Define
23178 _types_fd_set rather than fd_set, and define fd_set as a macro.
23180 * libc/include/malloc.h: New file.
23182 * libc/include/string.h: Define strcmpi, stricmp, strncmpi, and
23183 strnicmp if they are not already defined.
23185 * libc/include/time.h: If __CYGWIN32__, declare tzset and define
23186 _timezone, _daylight, and _tzname.
23188 Wed Jun 4 12:51:16 1997 Doug Evans <dje@canuck.cygnus.com>
23190 * configure.in: Sort all configuration tables.
23192 From Joel Sherrill <joel@oarcorp.com>
23193 * Makefile.in (stmp-targ-include): Copy $(sys_dir)/include/*.h.
23195 Tue Jun 3 14:47:46 1997 Ian Lance Taylor <ian@cygnus.com>
23197 * libc/include/sys/signal.h: Don't include <sys/types.h>. Just
23198 use int when declaring kill.
23200 * libc/include/sys/timeb.h: New file.
23202 Mon Jun 2 12:06:58 1997 Geoffrey Noer <noer@cirdan.cygnus.com>
23204 * libc/include/sys/time.h: add itimer support for Cygwin32
23206 Mon May 19 11:56:46 1997 Mike Meissner <meissner@cygnus.com>
23208 * libc/stdlib/abort.c (abort): If ABORT_MESSAGE is defined, write
23209 out a message that abort was called to stderr.
23211 Fri May 16 15:02:59 1997 Bob Manson <manson@charmed.cygnus.com>
23213 * libc/sys/sysmec/fstat.c (_fstat): Set st_blksize to 4096
23214 so that libio doesn't freak.
23216 * libc/sys/sysmec/sbrk.c (_sbrk): The argument is a size_t, not
23219 * libc/stdlib/mallocr.c (_morecore_r): Use size_t for
23220 memory sizes, not int.
23222 Wed May 14 21:16:58 1997 Bob Manson <manson@charmed.cygnus.com>
23224 * libm/math/ef_hypot.c: Use long constants where
23226 * libm/math/ef_sqrt.c: Ditto.
23228 * libc/sys/sysmec/times.c(_times): Change to times.
23230 * libc/sys/sysmec/read.c(_read): The third argument is
23232 * libc/sys/sysmec/write.c (_write): Ditto.
23234 * libc/sys/sysmec/lseek.c: Include unistd.h for off_t.
23235 (_lseek): It's off_t for the second argument.
23237 Wed May 14 15:23:36 1997 Mike Meissner <meissner@cygnus.com>
23239 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN): Define here,
23240 as well as machine/ieeefp.h.
23242 Thu May 8 15:47:25 1997 Geoffrey Noer <noer@cygnus.com>
23244 * libc/include/sys/signal.h: add signal protos for winsup
23245 functions (when __CYGWIN32__), include types.h
23246 * libc/include/sys/types.h: Change __go32_types__ internal
23247 define to __MS_types__ since it's used for more than just
23248 GO32 configs. Define this if GO32, __MSDOS__, or _WIN32 are
23250 * libc/include/sys/unistd.h: add ftruncate proto for
23251 winsup functions (when __CYGWIN32__)
23253 Fri Apr 25 10:10:16 1997 Doug Evans <dje@canuck.cygnus.com>
23255 * libc/sys/h8300hms/sbrk.c (stack_ptr): Add definition.
23257 Thu Apr 24 15:46:51 1997 Mike Stump <mrs@cygnus.com>
23259 * libc/include/machine/setjmp.h: Add tic80 support.
23260 * libc/machine/tic80/setjmp.S: Likewise.
23262 Tue Apr 22 16:54:40 1997 Geoffrey Noer <noer@pizza.cygnus.com>
23264 * libc/sys/cygwin32/crt0.c: Add reference to main() so we can
23265 link programs from libraries only (such as in the X11
23268 Mon Apr 21 15:02:12 1997 Fred Fish <fnf@cygnus.com>
23270 * libc/sys/arm/syscalls.c (signal): Remove stub, signal()
23271 supplied elsewhere in newlib.
23273 Mon Apr 14 16:25:55 1997 Ian Lance Taylor <ian@cygnus.com>
23275 * Makefile.in (INSTALL): Change install.sh to install-sh.
23277 Fri Apr 11 17:04:02 1997 Jason Molenda (crash@godzilla.cygnus.co.jp)
23279 * README: update WWW address for on-line documentation.
23281 Wed Apr 9 00:38:13 1997 Geoffrey Noer <noer@cygnus.com>
23283 * libc/include/sys/signal.h: for _WIN32, define SIGCONT and
23286 Mon Apr 7 23:54:00 1997 Jeffrey A Law (law@cygnus.com)
23288 * libc/sys/sysmec/crt0.S: Update for new calling conventions on the
23290 * libc/sys/sysmec/trap.S: Don't compare a register to itself.
23292 Tue Mar 25 08:47:43 1997 Jeffrey A Law (law@cygnus.com)
23294 * libc/sys/arm/syscalls.c: Fix/add stack/heap collision detection.
23295 * libc/sys/d10v/syscalls.c: Likewise.
23296 * libc/sys/h8300hms/sbrk.c: Likewise.
23297 * libc/sys/h8500hms/syscalls.c: Likewise.
23298 * libc/sys/m88kbug/syscalls.c: Likewise.
23299 * libc/sys/sh/syscalls.c: Likewise.
23300 * libc/sys/sysmec/sbrk.c: Likewise.
23301 * libc/sys/sysnecv850/sbrk.c: Likewise.
23302 * libc/sys/w65/syscalls.c: Likewise.
23303 * libc/sys.tex: Update sbrk sample code to include stack/heap collision.
23305 Tue Mar 18 14:14:34 1997 Jeffrey A Law (law@cygnus.com)
23307 * libc/sys/sysmec/trap.S: Use "syscall" to trigger an
23308 emulated syscall instead of "trap".
23310 Fri Mar 14 11:26:13 1997 Michael Meissner <meissner@cygnus.com>
23312 * libc/sys/d10v/trap.S (__trap0): Use trap 15 for system calls,
23315 Sun Mar 9 23:27:04 1997 Doug Evans <dje@seba.cygnus.com>
23317 * configure.in (m32r-*-*): Add -msdata=sdata to target_cflags.
23319 Sat Mar 8 09:05:01 1997 Fred Fish <fnf@cygnus.com>
23321 * libc/machine/arm/Makefile.in: Fix comment, is for "arm"
23323 * libc/machine/m32r/Makefile.in: Fix comment, is for "m32r"
23325 * libc/sys/tic80/crt0.c: New file for TIc80.
23326 * libc/sys/tic80/Makefile.in: New file for TIc80.
23327 * libc/machine/tic80/Makefile.in: New file for TIc80.
23329 Wed Mar 5 11:32:12 1997 J.T. Conklin <jtc@cygnus.com>
23331 * libc/machine/sh/memcpy.S: New file.
23332 * libc/machine/sh/memset.S: New file.
23333 * libc/machine/sh/Makefile.in (OFILES): Add memcpy.o and memset.o
23335 Thu Feb 27 16:27:55 1997 Fred Fish <fnf@cygnus.com>
23337 * libc/include/machine/ieeefp.h (_IEEE_LITTLE_ENDIAN): Define
23340 Wed Feb 26 13:43:39 1997 Jeffrey A Law (law@cygnus.com)
23342 * libc/sys/sysmec/crt0.S: Handle new calling conventions for
23345 Wed Feb 26 07:11:03 1997 Michael Meissner <meissner@cygnus.com>
23347 * libc/machine/powerpc/setjmp.S (longjmp): Correct return status
23348 (patch from andrew@pogo.WV.TEK.COM).
23350 Fri Feb 14 11:49:28 1997 Doug Evans <dje@canuck.cygnus.com>
23352 * libc/machine/m32r/setjmp.S (setjmp): Save r12.
23353 (longjmp): Restore r12. Fix code that handles returning 1 if passed 0.
23355 Mon Feb 10 10:02:34 1997 Fred Fish <fnf@cygnus.com>
23357 * configure.in: Add cases for "tic80" to set machine_dir,
23358 sys_dir, and syscall_dir.
23360 Sun Feb 2 17:57:15 1997 Geoffrey Noer <noer@cygnus.com>
23362 * libc/sys/cygwin32/crt0.c: initialize floating pt registers
23364 Wed Jan 29 15:57:38 1997 Geoffrey Noer <noer@cygnus.com>
23366 * libc/include/math.h: avoid conflicts with ANSI C++ <exception>
23368 Mon Jan 27 12:50:01 1997 Doug Evans <dje@seba.cygnus.com>
23370 * libc/machine/m32r/setjmp.S: Use proper comment delimiter.
23371 Use proper constant prefix.
23373 Fri Jan 24 10:59:04 1997 Jeffrey A Law (law@cygnus.com)
23375 * libc/sys/sysmec/*.c: Don't cast args to syscall to integers,
23376 that loses on the mn10200 where ints and pointers are different
23379 Tue Jan 14 13:29:55 PST 1997 Jeremy Allison <jra@cygnus.com>
23381 * configure.in: Added -DSIGNAL_PROVIDED to cygwin32
23382 target as signal is provided in winsup.
23384 Tue Jan 14 11:10:13 1997 Jeremy Allison <jra@cygnus.com>
23386 * libc/include/sys/process.h: Corrected const definitions
23387 in spawn functions. Added cwait.
23389 Thu Jan 2 12:22:41 1997 Jeffrey A Law (law@cygnus.com)
23391 * libc/include/machine/ieeefp.h: mn10200 uses 16bit ints and 32bit
23393 * libc/include/sys/config.h: Similarly.
23395 Tue Dec 31 18:36:14 1996 Michael Meissner <meissner@tiktok.cygnus.com>
23397 * configure.in (sparc-sun-sunos*): Add -DSIGNAL_PROVIDED to the
23399 (i[3456]86-*-sco*): Ditto.
23401 * libc/signal/Makefile.in (OFILES): Add signal.o.
23402 (CFILES): Add signal.c.
23404 * libc/signal/raise.c (_raise_r): Only compile code if
23405 SIGNAL_PROVIDED is defined.
23407 * libc/signal/signal.c: Redo whole file so that it works with
23408 current newlib. Use _kill_r if no signal handler provided.
23410 * libc/sys/{go32,sparc64,sysmec}/Makefile.in: Delete raise and
23412 * libc/sys/sysvnecv70/Makefile.in: Ditto.
23413 * libc/sys/sysnecv850/Makefile.in: Ditto.
23415 * libc/sys/{go32,sparc64}/signal.c: Delete, stub no longer used.
23416 * libc/sys/sysmec/{raise,signal}.c: Ditto.
23417 * libc/sys/sysvnecv70/signal.s: Ditto.
23418 * libc/sys/sysnecv850/raise.c: Ditto.
23420 * libc/sys/sysnecv850/kill.c (_kill): Encode signal # so that
23421 simulator and debugger can tell the difference between a signal
23422 being raised and an exit system call.
23424 * NEWS: Document software signals being provided.
23426 Mon Dec 23 11:54:19 1996 Michael Meissner <meissner@tiktok.cygnus.com>
23428 * libc/reent/impure.c (_REENT_ATTR): Delete in favor of
23429 __ATTRIBUTE_IMPURE_PTR__. Move PowerPC definition to
23430 include/sys/config.h.
23431 (impure_data): Use __ATTRIBUTE_IMPURE_DATA__ for attributes.
23432 Change from 'inpure_data'.
23433 (_impure_ptr): Use __ATTRIBUTE_IMPURE_PTR__ for attributes. Use
23434 &impure_data, not &inpure_data.
23436 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): If PowerPC
23437 and and System V ABI, define so that _impure_ptr lives in the
23440 Sun Dec 22 23:33:05 1996 Michael Meissner <meissner@tiktok.cygnus.com>
23442 * libc/include/sys/reent.h (__ATTRIBUTE_IMPURE_PTR__): Define as
23443 nothing if not defined.
23444 (_impure_ptr): Use __ATTRIBUTRE_IMPURE_PTR__, so a machine can set
23447 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__):
23449 Wed Dec 18 10:12:04 1996 Jeffrey A Law (law@cygnus.com)
23451 * libc/sys/sysmec/crt0.S: Fix mn10200 stuff.
23452 * libc/sys/sysmec/trap.s: Handle mn10200 too.
23453 * libc/machine/mn10200/setjmp.S: Fix mn10200 stuff.
23455 Mon Dec 16 10:05:36 1996 Jeffrey A Law (law@cygnus.com)
23457 * libc/sys/sysmec/crt0.S: Handle mn10200 too.
23459 Fri Dec 13 11:05:20 1996 Jeremy Allison <jra@cygnus.com>
23461 * libc/include/sys/errno.h: Added net errno's.
23463 Wed Dec 11 16:24:25 1996 Michael Meissner <meissner@tiktok.cygnus.com>
23465 * libc/misc/ffs.c: New file to support ffs function for GCC test
23466 gcc.c-torture/execute/960909-1.c.
23468 * libc/misc/Makefile.in ({O,CHEWOUT_}FILES): Add ffs.
23470 Sat Dec 7 10:12:37 1996 Jeffrey A Law (law@cygnus.com)
23472 * libc/sys/sysmec/crt0.S: Handle underscore prefix.
23473 * libc/sys/sysmec/trap.S: Likewise.
23475 Fri Dec 6 15:08:49 1996 Jim Wilson <wilson@cygnus.com>
23477 * configure.in (mips*vr4300*-*-*): Delete use of sys/vr4300.
23478 * libc/sys/vr4300/{Makefile.in,crt0.S,syscalls.c}: Delete.
23480 Wed Dec 4 16:25:27 1996 Jeffrey A Law (law@cygnus.com)
23482 * libc/sys/sysmec/signal.c: Dummy file.
23483 * libc/sys/sysmec/Makefile.in: Build it.
23485 Wed Nov 27 13:10:18 1996 Ian Lance Taylor <ian@cygnus.com>
23487 * libc/machine/mips/machine/regdef.h: Define pc as $pc for
23490 Mon Nov 25 09:58:28 1996 Jeffrey A Law (law@cygnus.com)
23492 * libc/sys/sysmec/{crt0.S,trap0.S}: Actually try to implement
23493 c-startup and simulator traps.
23496 * libc/sys/sysmec/crt0.S: Remove bogus '_' symbol prefixing
23497 * libc/sys/sysmec/trap0.S: Likewise.
23499 Sat Nov 23 09:01:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
23501 * libc/stdlib/mallocr.c (ROUND_TO): If SMALL_MEMORY, set to 0x7 to
23502 round to double word alignment.
23503 (_morecore_r): Combine rounding up pointers to both ROUND_TO and 8
23506 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Define if d10v.
23508 * libc/sys/d10v/syscalls.c (_sbrk): Add better checks for running
23511 Mon Nov 18 13:08:26 1996 Jeffrey A Law (law@cygnus.com)
23513 * configure.in: Handle mn10200 and mn10300.
23514 * libc/include/machine/{ieeefp.h,setjmp.h}: Likewise.
23515 * libc/include/sys/config.h: Likewise.
23516 * libc/sys/sysmec: New directory for mec stuff.
23517 * libc/machine/mn10300: New directory for mn10300 stuff.
23518 * libc/machine/mn10200: Similarly for mn10200 stuff.
23520 Fri Nov 15 16:41:41 1996 Doug Evans <dje@canuck.cygnus.com>
23522 * libc/sys/arm/crt0.S: Use .text, not .section .text.
23523 * libc/sys/arm/syscalls.c: Rewrite to set errno properly.
23525 * libc/include/sys/types.h (_ST_INT32): New macro, local to file.
23526 (nlink_t): Change type from unsigned int to unsigned short.
23527 (mode_t): Ensure size is 32 bits even if int is 16.
23528 * libc/include/sys/stat.h (st_nlink): Change type to nlink_t.
23529 (st_spare[123]): Change type from int to long.
23531 Fri Nov 15 11:41:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
23533 * libc/sys/d10v/syscalls.c (_sbrk): Align initial heap_end to 8
23536 * configure.in (d10v*): Define SMALL_MEMORY.
23538 Mon Nov 11 10:30:44 1996 Michael Meissner <meissner@tiktok.cygnus.com>
23540 * configure.in (powerpc*-{eabi,elf,linux,rtem,sysv,solaris}*): Add
23541 -mrelocatable-lib and -mno-eabi flags.
23543 Mon Nov 11 09:01:39 1996 Jeffrey A Law (law@cygnus.com)
23545 * libc/machine/h8300/memcpy.S: Fix comments to reflect reality.
23546 Fix handling of mis-aligned source operand when both the
23547 destination & length are properly aligned.
23549 Wed Oct 30 09:41:11 1996 Jeffrey A Law (law@cygnus.com)
23551 * libc/sys/sysnecv850/Makefile.in (OFILES): Add
23552 times.o, time.o and gettime.o
23553 * libc/sys/sysnecv850/{time.c, times.c, gettime.c}: New files.
23554 * libc/sys/sysnecv850/sys/syscall.h: Add SYS_times and
23557 Tue Oct 29 13:40:09 1996 Jeffrey A Law (law@cygnus.com)
23559 * libc/sys/sysnecv850/Makefile.in (OFILES): Add access.o
23560 * libc/sys/sysnecv850/access.c: New file.
23562 Mon Oct 21 19:47:02 1996 Ian Lance Taylor <ian@cygnus.com>
23564 * libc/sys/vr4300/Makefile.in (clean): Remove $(OFILES).
23566 * libc/stdlib/mprec.h (word0, word1): Use __uint32_t, not unsigned
23569 Mon Oct 21 14:43:07 1996 Jeffrey A Law (law@cygnus.com)
23571 * libc/sys/sysnecv850/crt0.S: Initialize ep and gp registers.
23573 Thu Oct 17 11:47:16 1996 Doug Evans <dje@seba.cygnus.com>
23575 * libc/include/machine/{ieeefp.h,setjmp.h}: Add m32r support.
23576 * libc/include/sys/config.h: Add m32r support.
23578 Wed Oct 16 23:08:05 1996 Jeffrey A Law (law@cygnus.com)
23580 * libc/sys/sysnecv850/v850.ld: Remove. It doesn't belong
23583 Wed Oct 16 21:18:07 1996 Mark Alexander <marka@cygnus.com>
23585 * libc/include/machine/setjmp.h: Add D10v support.
23587 Tue Oct 15 22:28:26 1996 Jeffrey A Law (law@cygnus.com)
23589 * configure.in: Configure the "libc/syscalls" directory for
23592 * libc/sys/sysnecv850/{close.c, execve.c, fork.c}: Add missing '_'.
23593 * libc/sys/sysnecv850/{fstat.c, getpid.c, kill.c}: Likewise.
23594 * libc/sys/sysnecv850/{lseek.c, open.c, read.c}: Likewise.
23595 * libc/sys/sysnecv850/{sbrk.c, stat.c, unlink.c}: Likewise.
23596 * libc/sys/sysnecv850/{wait.c, write.c}: Likewise.
23598 Tue Oct 15 16:24:39 1996 Stu Grossman (grossman@critters.cygnus.com)
23600 * libc/sys/sysnecv850/crt0.S (start): Allocate spill space on
23601 stack for args for main and other routines. Zero out args for
23604 * libc/sys/sysnecv850/v850.ld: New. Linker script to layout memory
23607 Tue Oct 15 11:51:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
23609 * libc/stdio/findfp.c (std): Remove extraneous ';' after
23612 * libc/sys/d10v/sys/syscall.h (SYS_kill): Add.
23614 * libc/sys/d10v/{syscalls.c,trap.S} (_kill,_getpid): Make these
23615 real system calls now.
23617 * libc/stdio/setvbuf (setvbuf): Cast pointers to _POINTER_INT
23618 before casting them to int.
23619 * libc/stdio/tmpnam.c (_tempnam_r): Ditto.
23621 * libc/stdlib/mallocr.c (_morecore_r): Use _POINTER_INT when
23623 * libc/string/memset.c (memset): Ditto.
23625 * libc/stdio/vfscanf.c (__svfscanf): When converting to pointer,
23626 first convert ints to _POINTER_INT to eliminate GCC warning.
23628 * libc/stdio/vfprintf.c (_vfprintf_r): Use _POINTER_INT when
23631 * libm/math/ef_scalb.c (__ieee754_scalbf): Cut down range to 32000
23632 from 65000 if ints are only 16 bits.
23634 * libm/math/sf_scalbn.c (scalbnf): Cut down overflow test to 30000
23635 from 50000 if ints are only 16 bits.
23637 * libc/include/sys/config.h (_POINTER_INT): New macro, to give an
23638 int type that is the same size as a pointer.
23640 * libc/misc/dprintf.c (__dprintf): Use _POINTER_INT when
23642 (get_number): Explicitly cast number to long before shifting by 16
23643 or 24, in case ints are short.
23645 * libc/include/sys/config.h (_POINTER_INT): Define as short.
23647 Wed Oct 9 16:54:32 1996 Jeremy Allison <jra@cygnus.com>
23649 * libc/string.h: Added ffs, removed swab.
23650 * libc/sys/errno.h: Added EOPNOTSUPP.
23651 * libc/sys/unistd.h: Added swab.
23653 Thu Oct 3 17:08:50 1996 Jeremy Allison <jra@cygnus.com>
23655 * libc/include/sys/stat.h: Added fchmod.
23656 * libc/include/sys/unistd.h: Added fsync.
23658 Tue Oct 1 17:34:08 1996 Jeremy Allison <jra@cygnus.com>
23660 * libc/include/sys/errno.h: Added defines for EPFNOSUPPORT (96)
23661 and ECONNRESET (104) for cygwin32.
23663 Tue Oct 1 16:24:05 1996 Gavin Koch <gavin@cygnus.com>
23665 * libc/sys/sysnecv850/_exit.c: added _do_dtors to
23666 do the static destructors.
23668 Mon Sep 30 15:59:05 1996 Stu Grossman (grossman@critters.cygnus.com)
23670 * libc/sys/sysnecv850/trap.S: Change I/O to use trap 31.
23672 Mon Sep 30 12:02:50 1996 Doug Evans <dje@canuck.cygnus.com>
23674 * libc/machine/m32r/{Makefile.in,setjmp.S}: New files.
23675 * configure.in: Recognize m32r-*-*.
23677 Mon Sep 30 00:34:41 1996 James G. Smith <jsmith@cygnus.co.uk>
23679 * libc/sys/arm/trap.S (__rt_stkovf_split_big,
23680 __rt_stkovf_split_small): Added default software stack overflow
23681 handlers, which just call SWI_Exit.
23682 * libc/sys/arm/crt0.S (_mainCRTStartup): Simple software stack
23683 limit initialisation.
23685 Fri Sep 27 13:08:03 1996 Mark Alexander <marka@cygnus.com>
23687 * libc/sys/d10v/{trap.S,sys/syscall.h}: Add time() function.
23689 Fri Sep 27 12:32:00 1996 Jeremy Allison <jra@cygnus.com>
23691 * libc/include/sys/types.h: Added ssize_t definition.
23693 Wed Sep 25 14:52:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
23695 * libc/machine/d10v/setjmp.S: Use ';' for comments.
23696 * libc/sys/d10v/{crt0.S,trap.S}: Ditto.
23698 * libc/machine/d10v/setjmp.S (longjmp): Use exef0t || instead of
23699 branch around a single ldi instruction.
23701 * libc/sys/d10v/crt0.S (_start): Use auto-increment to zero bss.
23702 Call exit, instead of just issuing a stop instruction.
23704 Sun Sep 22 17:26:55 1996 Michael Meissner <meissner@tiktok.cygnus.com>
23706 * libc/sys/d10v/{trap.S,syscalls.c}: Add -mint32 support.
23708 Fri Sep 20 13:23:12 1996 Michael Meissner <meissner@tiktok.cygnus.com>
23710 * libc/stdlib/mprec.h: Explicitly declare all large constants as
23711 longs, and then cast them to __uint32_t.
23713 * libc/include/sys/config.h: Protect against multiple inclusions.
23715 Tue Sep 17 13:10:33 1996 Mark Alexander <marka@cygnus.com>
23717 * configure.in (d10v*): Set syscall_dir.
23719 Sun Sep 15 10:41:59 1996 Mark Alexander <marka@cygnus.com>
23721 * libc/sys/d10v/crt0.S: Set stack pointer.
23723 Thu Sep 12 13:02:38 1996 Mark Alexander <marka@cygnus.com>
23725 * libc/sys/d10v/{trap.S, syscalls.c}: Rewrite most system calls
23726 in assembly for efficiency. Change calling convention to allow
23727 long ints to be returned.
23729 Wed Sep 11 10:28:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
23731 * libc/machine/v850/Makefile.in (setjmp.o): Fix dependency.
23733 Thu Sep 5 19:23:06 1996 Doug Evans <dje@canuck.cygnus.com>
23735 * libc/posix/execvp.c (execvp): Don't search PATH if file has '/'.
23736 Handle empty entries in $PATH.
23738 Tue Sep 03 18:15:02 1996 Mark Alexander <marka@cygnus.com>
23740 * libc/machine/d10v/setjmp.S: Make it really work.
23742 Tue Sep 3 12:16:26 1996 Ian Lance Taylor <ian@cygnus.com>
23744 * libc/sys/sh/crt0.S: If __ELF__, use ELF section attributes for
23745 the .stack section.
23747 Tue Sep 3 10:08:45 1996 Jeffrey A Law (law@cygnus.com)
23749 * sys/sysnecv850/sys/file.h: Remove.
23750 * sys/sysnecv850/sys/syscall.h: New file.
23751 * sys/sysnecv850/{misc.c,syscalls.c,malloc.c}: Deleted.
23752 * sys/sysnecv850/{chmod.c, chown.c, close.c, creat.c} New files.
23753 * sys/sysnecv850/{execv.c, execve.c, fork.c, fstat.c} New files.
23754 * sys/sysnecv850/{getpid.c, isatty.c, kill.c, lseek.c} New files.
23755 * sys/sysnecv850/{open.c, pipe.c, raise.c, read.c} New files.
23756 * sys/sysnecv850/{stat.c, unlink.c, utime.c, wait.c} New files.
23757 * sys/sysnec850/trap.S: New file.
23758 * sys/sysnecv850/{_exit.c, write.c}: Use new TRAP0 mechanism for
23760 * sys/sysnecv850/crt0.S: Use cmp/bl, not tst/bz.
23761 * sys/sysnec850/sbrk.c: New version.
23763 Sun Sep 1 20:08:27 1996 Jeffrey A Law (law@cygnus.com)
23765 * sys/sysnecv850/crt0.S: Fix order of comparison args. Loop
23766 as long as r6 is less than r7.
23768 Sun Sep 1 13:54:19 1996 Ian Lance Taylor <ian@cygnus.com>
23770 * Makefile.in (mostlyclean): Separate from clean target. Don't
23771 remove *.a or targ-include.
23772 * libc/machine/sparc/Makefile.in (mostlyclean): New target.
23774 Sun Sep 1 11:35:26 1996 Michael Meissner <meissner@tiktok.cygnus.com>
23776 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Define for
23778 (__SMALL_BITFIELDS): Ditto.
23780 * libc/include/sys/config.h (_DOUBLE_IS_32BITS): Define for d10v.
23782 Sat Aug 31 16:42:36 1996 Jeffrey A Law (law@cygnus.com)
23784 * libc/sys/sysnecv850/misc.c (raise, getpid, kill): Remove '_'
23787 * libc/sys/sysnecv850/sbrk.c (sbrk): Remove '_' prefix.
23788 * libc/sys/sysnecv850/syscalls.c (read, lseek, close): Likewise.
23789 * libc/sys/sysnecv850/syscalls.c (fstat, open, close): Likewise.
23790 * libc/sys/sysnecv850/write.c (write): Likewise.
23792 * libc/sys/sysnecv850/crt0.S: Don't try to zero out an empty
23795 Fri Aug 30 11:18:45 1996 Michael Meissner <meissner@tiktok.cygnus.com>
23797 * libc/include/sys/config.h: Define INT_MAX, UINT_MAX
23798 appropriately for D10V, depending on -mint16/-mint32.
23800 Thu Aug 29 16:09:37 1996 Mark Alexander <marka@cygnus.com>
23802 * configure.in: Add cases for D10V.
23804 Thu Aug 29 17:03:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
23806 * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
23808 Wed Aug 28 21:05:52 1996 Jeffrey A Law (law@cygnus.com)
23810 * libc/include/machine/ieeefp.h: Fix typo.
23812 Wed Aug 28 19:47:55 1996 Mark Alexander <marka@cygnus.com>
23814 * libc/sys/d10v: New directory for D10V stuff.
23815 * libc/include/machine/ieeefp.h: Add D10V defines.
23817 Mon Aug 26 13:34:58 1996 Doug Evans <dje@canuck.cygnus.com>
23819 * libc/include/sys/errno.h: Add winsup/include/sys/errno.h values:
23820 ELOOP, ENOBUFS, EAFNOSUPPORT, EPROTOTYPE, ENOTSOCK, ENOPROTOOPT,
23821 ESHUTDOWN, ECONNREFUSED, EADDRINUSE, ECONNABORTED, EWOULDBLOCK.
23822 * libc/string/strerror.c (strerror): Add them.
23824 Thu Aug 22 16:38:19 1996 Jeffrey A Law (law@cygnus.com)
23826 * libc/sys/sysnecv850: New directory for v850 stuff.
23828 * libc/machine/v850: New directory for v850 stuff.
23829 * libc/machine/v850/setjmp.S: setjmp/longjmp support.
23831 * configure.in: Add support for the v850.
23833 * libc/include/machine/ieeefp.h: Add v850 defines.
23834 * libc/include/machine/setjmp.h: Likewise.
23835 * libc/include/sys/config.h: Add v850 defines.
23837 Sat Aug 17 04:06:36 1996 Geoffrey Noer <noer@cygnus.com>
23839 * libc/include/machine/ieeefp.h
23840 * libc/include/machine/setjmp.h
23841 * libc/include/sys/fcntl.h
23842 * libc/include/sys/signal.h
23843 * libc/include/sys/types.h
23844 * libc/stdlib/system.c:
23845 Fix preprocessor defines to match new scheme (_WIN32 for WIN32
23846 API availability, __CYGWIN32__ for cygwin32 environment specific).
23848 Thu Aug 15 17:09:21 1996 Geoffrey Noer <noer@cygnus.com>
23850 * libc/include/stdlib.h: add multibyte character functions. Add
23851 __eprintf for assert.
23853 Thu Aug 15 11:15:40 1996 Michael Meissner <meissner@tiktok.cygnus.com>
23855 * libc/stdlib/malloc.h (MALLOC_ALIGNMENT): Use either pointer
23856 arithmetic or __alignof__ to properly get the alignment, instead
23857 of hardwiring it to 4.
23859 Wed Aug 14 23:43:28 1996 Geoffrey Noer <noer@cygnus.com>
23861 * libc/stdio/fseek.c: add fflush call to adjust seek offset
23862 on append stream (fix from NetBSD sources), adjust curoff offset
23863 for ungetc's benefit.
23864 * libc/stdio/ftell.c: adjust curoff offset for ungetc's benefit.
23865 * libc/stdio/rewind.c: replace code with up to date NetBSD
23866 code to undo hacks made to work around above problem of not
23867 having fflush call mentioned above
23869 Fri Aug 2 18:28:07 1996 J.T. Conklin <jtc@rtl.cygnus.com>
23871 * libc/reent/{closer.c, execr.c, fstatr.c, linkr.c, lseekr.c,
23872 openr.c, readr.c, sbrkr.c, signalr.c, statr.c, timer.c, writer.c}:
23873 Partially revert last changes. The thread specific errno is set
23874 iff if the underlying syscall fails and the global errno is not
23877 Fri Jul 19 11:41:52 1996 J.T. Conklin <jtc@rtl.cygnus.com>
23879 * libc/reent/filer.c: Removed files, all functions have split out
23880 into their own files.
23881 * libc/reent/{closer.c, lseekr.c, openr.c, readr.c, writer.c}:
23882 New files containing functions formally in filer.c
23883 * libc/reent/Makefile.in: Updated for above change.
23885 * libc/reent/execr.c (_fork_r, _wait_r): Set errno if underlying
23886 syscall fails, not if errno is changed.
23887 * libc/reent/filer.c (_open_r, _close_r, _lseek_r, _read_r,
23888 _write_r): Likewise.
23889 * libc/reent/fstatr.c (_fstat_r): Likewise.
23890 * libc/reent/linkr.c (_link_r, _unlink_r): Likewise.
23891 * libc/reent/sbrkr.c (_sbrk_r): Likewise.
23892 * libc/reent/signalr.c (_kill_r): Likewise.
23893 * libc/reent/statr.c (_stat_r): Likewise.
23894 * libc/reent/timer.c (_gettimeofday_r): Likewise.
23896 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, sbrkr.c,
23897 signalr.c, statr.c, timer.c} (errno): declare extern rather
23900 * libc/stdio/vfprintf.c (__sbprintf): Use the VFPRINTF macro
23901 instead of calling vfprintf so that i*printf will not require
23902 floating point support code.
23904 Mon Jul 15 16:50:59 1996 Doug Evans <dje@canuck.cygnus.com>
23906 * libc/posix/execvp.c (execvp): Use posix_path_list_p to determine
23908 * libc/include/sys/unistd.h (_SC_PATH_RULES): Delete.
23909 (_PATH_RULES_{UNKNOWN,WIN32,POSIX}): Delete.
23911 Thu Jul 11 14:34:14 1996 Geoffrey Noer <noer@cygnus.com>
23913 * libc/include/signal.h: _sig_func_ptr function takes an int
23914 * libc/include/sys/signal.h: sa_handler function takes an int
23916 Tue Jul 9 21:22:32 1996 Jeffrey A Law (law@cygnus.com)
23918 * libc/include/machine/ieeefp.h: Simplify H8/S support.
23919 * libc/include/sys/config.h: Add missing H8/S conditional.
23921 Sun Jun 30 12:05:46 1996 Doug Evans <dje@canuck.cygnus.com>
23923 * libc/include/sys/unistd.h (MAXPATHLEN): Add cygwin32 value.
23925 Wed Jun 26 09:57:54 1996 Jeffrey A Law (law@cygnus.com)
23927 * libc/include/machine/setjmp.h: Handle H8/S.
23928 * libc/include/machine/ieeefp.h: Likewise.
23929 * libc/include/sys/config.h: Likewise.
23930 * libc/machine/h8300/{defines.h, memcpy.S, memset.S}: Likewise.
23931 * libc/machine/h8300/{reg_memcpy.S, reg_memset.S}: Likewise.
23932 * libc/machine/h8300/{strcmp.S, setjmp.S}: Likewise.
23933 * libc/sys/h8300hms/crt0.S: Likewise.
23935 Tue Jun 25 23:15:45 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
23937 * Makefile.in (datadir): Set to $(prefix)/share.
23938 (oldincludedir, docdir): Removed.
23939 * doc/Makefile.in (datadir): Set to $(prefix)/share.
23940 (oldincludedir, docdir): Removed.
23941 * libc/Makefile.in (datadir): Set to $(prefix)/share.
23942 (oldincludedir, docdir): Removed.
23943 * libm/Makefile.in (datadir): Set to $(prefix)/share.
23944 (oldincludedir, docdir): Removed.
23946 Fri Jun 21 19:24:41 1996 Ian Lance Taylor <ian@cygnus.com>
23948 * libc/include/sys/reent.h (_REENT_INIT): Update for change to
23951 Wed Jun 19 14:00:09 1996 Doug Evans <dje@canuck.cygnus.com>
23953 * libc/posix/execvp.c: Delete _WIN32 support. For __CYGWIN32__
23954 fetch current path rules with sysconf and handler posix/win32
23957 * libc/include/sys/unistd.h (_PATH_RULES{,_POSIX,_WIN32}): Define.
23959 * libc/include/process.h: Prepend '_' to P_{WAIT,NOWAIT,OVERLAY}.
23960 (WAIT_CHILD): Always define.
23962 Sat Jun 15 17:50:42 1996 Ian Lance Taylor <ian@cygnus.com>
23964 * libc/stdlib/eprintf.c: New file.
23965 * libc/stdlib/Makefile.in (OFILES): Add eprintf.o.
23966 (eprintf.o): New target.
23968 Thu Jun 13 16:44:32 1996 Doug Evans <dje@canuck.cygnus.com>
23970 * libc/sys/cygwin32/crt0.c (__cygwin_crt0_bp): New global.
23971 (mainCRTStartup): Do int3 if __cygwin_crt0_bp non-zero.
23973 Thu Jun 13 17:45:17 1996 Mike Meissner <meissner@rtl.cygnus.com>
23975 * libc/include/machine/ieeefp.h: Add support for AIX and Windows
23976 NT in PowerPC endianess cases.
23978 Tue Jun 11 12:26:28 1996 Michael Meissner <meissner@tiktok.cygnus.com>
23980 * libc/include/machine/ieeefp.h: Clean up PowerPC endianess.
23982 Thu Jun 6 11:34:20 1996 Michael Meissner <meissner@tiktok.cygnus.com>
23984 * libc/string/strtok.c: Fix doc typo.
23986 Mon Jun 3 11:30:00 1996 J.T. Conklin <jtc@rtl.cygnus.com>
23988 * libc/include/sys/reent.h (struct _reent): Removed _asctime,
23989 _next, _scanpoint, _signgam fields.
23991 * libc/include/stdlib.h (rand_r): Added new declaration.
23992 (_rand_r, _srand_r): Removed declarations.
23993 * libc/stdlib/rand.c (_rand_r, _srand_r): Removed, these functions
23994 have been made obsolete by rand_r.
23995 * libc/stdlib/rand_r.c: New file, rand_r function as specified
23998 * libc/string/strtok.c: Update documentation to describe
24001 Sat Jun 1 23:50:39 1996 Michael Meissner <meissner@cygnus.com>
24003 * libc/include/sys/stat.h (stat structure): Use the expanded stat
24004 structure on Solaris, and PowerPC systems even though __svr4__ is
24007 Tue May 28 13:02:42 1996 Doug Evans <dje@canuck.cygnus.com>
24009 * libc/sys/go32/sys/errno.h (ENOSYS,ESPIPE): Keep values <= 255.
24011 Fri May 17 10:34:44 1996 Ian Lance Taylor <ian@cygnus.com>
24013 * host/any: Use ../.. rather than .. to get to the main build
24014 directory. This matches the current layout of the build
24017 Wed May 15 15:52:27 1996 Jeffrey A Law (law@cygnus.com)
24019 * libc/machine/h8300/__main.S: Delete. No longer needed.
24020 * libc/machine/h8300/Makefile.in: Corresponding changes.
24021 * libc/sys/h8300hms/crt1.c: New file.
24022 * libc/sys/h8300hms/Makefile.in: Corresponding changes.
24023 * libc/sys/h8300hms/crt0.s: Call __main.
24025 * libc/sys/h8300hms/crt0.S: Use temporary label names
24026 for branch targets.
24028 Mon May 13 14:26:30 1996 Doug Evans <dje@canuck.cygnus.com>
24030 * libc/stdio/fopen.c (_fopen_r): Fix arguments to fseek.
24032 Fri May 3 16:38:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
24034 * libc/reent/impure.c (_impure_ptr): Force the impure pointer into
24035 .sdata on the PowerPC so that we can link newlib with code
24036 compiled with -msdata.
24038 Mon Apr 29 21:38:02 1996 Doug Evans <dje@canuck.cygnus.com>
24040 * libc/sys/arm/syscalls.c (_sbrk): Rename end to __end__.
24042 Thu Apr 25 06:38:59 1996 Michael Meissner <meissner@cygnus.com>
24044 * libc/sys/cygwin32/crt0.c (mainCRTStartup): On PowerPC, set the
24045 exception handler to __cygwin_exception_handler.
24047 Tue Apr 23 15:14:20 1996 Ian Lance Taylor <ian@cygnus.com>
24049 * libc/include/machine/setjmp.h: Check _AM29K, not ___AM29K__.
24051 Sun Apr 21 12:11:51 1996 Doug Evans <dje@blues.cygnus.com>
24053 * libm/math/Makefile.in ({w,wf}_cabs.o,{w,wf}_drem.o): Add rule for
24055 * libc/stdlib/Makefile.in (atoff.o,atol.o,mblen.o,mbstowcs.o,
24056 wcstombs.o): Likewise.
24058 Thu Apr 18 12:37:01 1996 Doug Evans <dje@canuck.cygnus.com>
24060 * libc/stdlib/environ.c (initial_env): New static local.
24061 (environ): Point to `initial_env'.
24063 * libc/include/machine/setjmp.h: Clean up.
24064 (__H8300H__,__PPC__): Define _JBTYPE.
24065 (__arm__): Provide entry for.
24066 (sigjmp_buf): Delete.
24067 (jmp_buf): Use _JBTYPE if defined, otherwise int.
24069 Thu Apr 18 12:10:52 1996 Jeffrey A Law (law@cygnus.com)
24071 * libc/machine/h8300/strcmp.S: Sign extend the result to
24072 32bits so we don't lose with -mint32.
24074 Sun Apr 14 19:59:52 1996 Doug Evans <dje@canuck.cygnus.com>
24076 * libc/sys/go32/sys/errno.h: New file.
24077 * libc/sys/go32/Makefile.in (stat.o): Depend on stat.c.
24078 * libc/sys/go32/gerrno.s (syscall_error): Call __errno to get
24079 errno's address (make compatible with rest of newlib).
24080 * libc/sys/go32/stat.c (fixinode): Set errno upon failure.
24081 * libc/string/strerror.c (strerror): Surround each case with #ifdef.
24083 Thu Mar 28 13:44:42 1996 Doug Evans <dje@canuck.cygnus.com>
24085 * libc/machine/sparc/{scan.c,shuffle.c}: New files.
24086 * libc/machine/sparc/Makefile.in: Build them.
24087 * libc/machine/sparc/machine/sparclet.h: New file.
24089 Mon Mar 25 15:29:14 1996 J.T. Conklin <jtc@rtl.cygnus.com>
24091 * libc/machine/sh/asm.h: New file.
24092 * libc/machine/sh/setjmp.S: Only save clobbered registers. Added
24093 support for SH3e's FP registers. Use asm.h.
24095 Mon Mar 25 11:59:23 1996 Jeffrey A Law (law@cygnus.com)
24097 * libc/stdio/vfprintf.c (cvt): Accept a reent structure
24098 as first argument. Call _dtoa_r and pass the reent structure
24099 instead of calling __dtoa.
24101 Fri Mar 22 13:59:37 1996 Jeffrey A Law (law@cygnus.com)
24103 * libc/include/sys/config.h: Define DOUBLE_IS_32BITS for
24104 the h8300, h8500, and others. Add comments for some rather
24107 Thu Mar 14 18:04:43 1996 Ian Lance Taylor <ian@cygnus.com>
24109 * Makefile.in (check): Check that testsuite exists before cd.
24111 Tue Mar 12 11:46:47 1996 Michael Meissner <meissner@tiktok.cygnus.com>
24113 * libc/include/string.h (strsep): Correct prototype.
24115 Mon Mar 11 09:55:19 1996 Doug Evans <dje@charmed.cygnus.com>
24117 * libc/sys/h8300/_exit.c (_exit,__exit): Set r0 to 0 before `sleep'.
24118 * libc/sys/h8300/misc.c (_kill): Set r0 to indicate abort and `sleep'.
24119 * libc/sys/h8300/crt0.S (_start): Call exit instead of `sleep'.
24121 Wed Mar 6 11:51:55 1996 Doug Evans <dje@charmed.cygnus.com>
24123 * libc/posix/{creat.c,isatty.c}: New files.
24124 * libc/posix/Makefile.in (OFILES): Add creat.o, isatty.o.
24126 * libc/sys/sparc64/crt0.S (environ): Delete.
24127 (.LHaveBias): Renamed from HaveBias.
24129 Thu Feb 15 10:48:37 1996 Doug Evans <dje@charmed.cygnus.com>
24131 * libc/stdlib/mallocr.c (etext): Move decl inside ifdef WARN_VLIMIT.
24132 (_morecore_r): Delete SBRK_IS_ALLOC support.
24134 Tue Feb 13 09:44:09 1996 Michael Meissner <meissner@tiktok.cygnus.com>
24136 * libc/sys/cygwin32/Makefile.in (lib.a): Make lib.a with a dummy
24137 module rather than touch, so we don't get warning messages when
24138 all of the libraries are combined into libc.a.
24140 Tue Feb 13 06:32:07 1996 Doug Evans <dje@charmed.cygnus.com>
24142 * libc/sys/sparclite/{Makefile.in,crt0.s}: Deleted.
24143 crt0.s replaced by version in libgloss.
24145 Mon Feb 5 15:17:51 1996 J.T. Conklin <jtc@rtl.cygnus.com>
24147 * libc/reent/Makefile.in (OFILES): Add impure.o.
24148 * libc/reent/impure.o: New file, define initial reentrancy struct.
24149 * libc/reent/reent.c: Remove above definition.
24151 * libm/math/sf_asinh.c: Fix typo.
24153 * Makefile.in (MATHOBJS_IN_LIBC): Removed sr_ldexp.o and
24156 * libm/libm.texinfo: Change documentation to reflect changes
24157 in reentrancy model.
24158 * libm/math/w_gamma.c: Likewise.
24160 Wed Jan 31 18:49:45 1996 Steve Chamberlain <sac@slash.cygnus.com>
24162 * configure.in (*-*-cygwin32): New.
24163 (*-*-win32): Deleted.
24164 * libc/sys/win32 renamed libc/sys/cygwin32.
24166 Tue Jan 30 22:09:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
24168 * libc/include/sys/file.h: New include file.
24170 Fri Jan 26 15:52:54 1996 Steve Chamberlain <sac@slash.cygnus.com>
24172 * libc/include/machine/setjmp.h: Increase size of PPC jmp_buf.
24174 Tue Jan 23 17:49:16 1996 Steve Chamberlain <sac@slash.cygnus.com>
24176 * libc/include/sys/wait.h (WIFSIGNALED): Fix.
24178 Tue Jan 16 09:28:10 1996 Michael Meissner <meissner@tiktok.cygnus.com>
24180 * doc/makedoc.c (realloc): Declare at file scope.
24181 (catchar): Not here.
24183 Wed Dec 27 15:45:23 1995 Doug Evans <dje@canuck.cygnus.com>
24185 * Makefile.in (VERSION): Update to 1.7.0.
24186 * {libc,libm}/Makefile.in (VERSION): Likewise.
24187 * configure.in: Minor clean up of multilib stuff.
24189 From David Johnson <davidj@ICSI.Berkeley.EDU>
24190 * {libc,libm}/Makefile.in (lib[cm].a): Delete library first.
24192 * libc/stdlib/environ.c: New file.
24193 * libc/stdlib/Makefile.in (OFILES): Build it.
24194 * libc/sys/h8500hms/crt0.c (environ): Deleted.
24195 * libc/sys/m88kbug/crt0.c (environ): Deleted.
24196 * libc/sys/z8ksim/crt0.c (environ): Deleted.
24197 * libc/sys/netware/environ.c: Deleted.
24199 Tue Dec 19 15:24:46 1995 Kim Knuttila <krk@cygnus.com>
24201 * configure.in (links): set sys_dir, posix_dir, syscall_dir
24203 Wed Dec 13 04:16:25 1995 Michael Meissner <meissner@wogglebug.tiac.net>
24205 * doc/makedoc.c (init_string_with_size,nextword): Move malloc
24206 declaration out to external scope and declare it PTR, not char *.
24208 Mon Dec 11 17:35:12 1995 steve chamberlain <sac@slash.cygnus.com>
24210 * libc/include/sys/unistd.h (getpagesize): New declaration.
24211 (_SC_PAGESIZE): New definition.
24212 * libc/include/time.h (CLK_TCK): Defined as CLOCKS_PER_SEC.
24213 * libc/configure.in (i[345]86-*-win32): Remove -DNO_FORK.
24215 Fri Dec 1 16:48:46 1995 James G. Smith <jsmith@cygnus.co.uk>
24217 * libc/sys/vr4300/syscalls.c (sbrk): Fixed memory
24218 addressing. System call returns size, not (last address + 1).
24220 Thu Nov 30 15:05:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
24222 * libm/math/*.c: Removed _foo_r() reentrancy API.
24223 * libc/include/math.h: Removed _foo_r prototypes and macros.
24225 * libm/math/*.c: On systems with IEEE single precision "doubles"
24226 move foo() -> foof() wrapper code from the files that implement
24227 the standard IEEE double precision functions to the files that
24228 implement IEEE single precision functions. (ie. On those systems
24229 sin is moved from s_sin.c to sf_sin.c). There should eventually
24230 be use of a C extension (like gcc's alias attribute) so that the
24231 wrappers are not needed at all.
24233 * libc/sys/sysnec810/sbrk.c: Cast &end to char * to get around
24234 strict NEC V810 compiler.
24235 * libc/misc/dprintf.c (getnumber): Cast char * to unsigned char *
24238 Wed Nov 29 14:25:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
24240 * libc/stdlib/strtol.c (_strtol_r): Replaced with implementation
24241 from NetBSD C library.
24242 * libc/stdlib/strtoul.c (_strtoul_r): Likewise.
24244 * libc/stdlib/assert.c (__assert): Renamed from __assertfail
24245 and adapted from implementation I wrote for NetBSD C library.
24246 The difference is __assert doesn't take a format argument,
24247 so that there won't be multiple copies of the same string
24248 constant in the executable if assertions are enabled in
24249 more than one source module.
24250 * libc/include/assert.h (assert): Changed to call __assert.
24252 Tue Nov 28 16:54:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
24254 * libc/stdlib/strtod.c (_strtod_r): Changed to not assign to
24255 word1 on systems with 32 bit doubles.
24256 * libc/stdlib/qsort.c (qsort): Cast some void *'s to char *'s
24257 so that we can do arithmetic on them.
24258 * libc/misc/dprintf.c: Changed to support stdarg.h for ANSI
24261 Tue Nov 28 16:03:32 1995 Doug Evans <dje@canuck.cygnus.com>
24263 * libc/sys/arm/crt0.S: Zero bss.
24265 Fri Nov 24 16:09:23 1995 Doug Evans <dje@deneb.cygnus.com>
24267 * libc/include/unctrl.h: New file.
24268 * libc/misc/{Makefile.in,dprintf.c,unctrl.c,misc.tex}: New files.
24269 * configure.in (subdirs): Add libc/misc.
24270 * libc/Makefile.in (SUBDIRS): Add misc.
24271 (SUBLIBS): Add misc/lib.a.
24273 * libc/include/sys/reent.h (struct _reent): Make __sf last member.
24275 Wed Nov 22 19:49:47 1995 Doug Evans <dje@deneb.cygnus.com>
24277 * libc/stdio/vfprintf.c (__sbprintf): Init fake._data.
24278 (_vfprintf_r): Call CHECK_INIT.
24280 Tue Nov 14 02:52:12 1995 Doug Evans <dje@canuck.cygnus.com>
24282 * Makefile.in (MULTITOP): Delete.
24283 (MULTISRCTOP, MULTIBUILDTOP): Add.
24284 * configure.in: Delete call to cfg-ml-com.in. Call config-ml.in
24285 instead of cfg-ml-pos.in.
24287 Wed Nov 8 01:24:08 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
24289 * libc/sys/vr4300/syscalls.c: Added clean version of sbrk().
24290 * libc/sys/vr4300/crt0.S: Cleaned up. Added check for FPU
24293 Thu Nov 2 22:25:06 1995 Michael Meissner <meissner@tiktok.cygnus.com>
24295 * libc/string/strtok.c: Include string.h to pick up strtok_r
24298 Wed Nov 1 18:54:11 1995 Jason Molenda (crash@phydeaux.cygnus.com)
24300 * libc/string/strtok.c: include <_ansi.h>.
24301 * libc/time/asctime_r.c: `reresult' -> `result'.
24303 Wed Nov 1 14:35:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
24305 * libc/time/{ctime.c, gmtime.c, lcltime.c}: Wrap functions
24306 in #ifndef _REENT_ONLY ... #endif conditional.
24308 * libc/include/string.h (_strtok_r): Remove declaration.
24309 * libc/include/time.h (_asctime_r): Remove declaration.
24310 * libc/string/strtok.c (_strtok_r): Removed.
24311 * libc/time/asctime.c (_asctime_r): Removed.
24313 * libc/string/Makefile.in (OFILES): Add new object.
24314 * libc/string/strtok_r.c: New file. strtok_r function as
24315 specified by POSIX.1c, adapted from strtok implementation
24316 from NetBSD C library.
24317 * libc/string/strtok.c (strtok): Reimplemented in terms of
24320 * libc/time/Makefile.in (OFILES): Add new objects.
24321 * libc/time/{asctime_r.c, ctime_r.c, gmtime_r.c, lcltime_r.c}:
24322 New files, reentrant time functions specified by POSIX.1c.
24323 * libc/time/{asctime.c, ctime.c, gmtime.c, lcltime.c}: Non-
24324 reentrant time functions re-written in terms of reentrant
24326 * libc/time/lcltime.c: Renamed from localtime.c
24328 * libc/include/time.h: Add prototypes for asctime_r, ctime_r,
24329 gmtime_r, and localtime_r.
24331 Sat Oct 28 14:34:31 1995 steve chamberlain <sac@slash.cygnus.com>
24333 * libc/sys/win32/crt0.c (mainCRTStartup): Call cygwin_crt0.
24334 * libc/include/sys/unistd.h (getlogin): Revert change of
24336 * libc/include/sys/signal.h (sigprocmask): Change prototype
24337 so it compiles with c++.
24339 Wed Oct 25 15:43:18 1995 Michael Meissner <meissner@cygnus.com>
24341 * libc/include/machine/setjmp.h (PowerPC _JBLEN): Consider it a
24342 PowerPC if __PPC__ is defined. Bump jump_buf length to 62 ints,
24343 to give some room in case we need to align the jmp_buf.
24345 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Rewrite to use
24346 the new ppc-asm.h include file the compiler provides to specify
24347 function prologue/epilogue. Eliminate saves of the xer and ctr
24348 registers, which are volatile. Before starting to save registers,
24349 align to 8 byte boundary.
24351 Mon Oct 23 11:20:51 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
24353 * libc/sys/vr4300/syscalls.c: Added empty kill() function,
24354 referenced by standard libraries.
24356 Thu Oct 19 21:39:47 1995 Fred Fish <fnf@cygnus.com>
24358 * libc/unix/Makefile.in, libc/string/Makefile.in,
24359 libc/stdio/Makefile.in, libc/reent/Makefile.in,
24360 libc/posix/Makefile.in:
24361 Remove tabs from otherwise empty line. Confuses some
24362 older non-GNU versions of "make".
24364 Thu Oct 19 16:32:17 1995 steve chamberlain <sac@slash.cygnus.com>
24366 * libc/sys/unistd.h (getlogin): Returns const char *.
24368 Wed Oct 18 12:57:50 1995 steve chamberlain <sac@slash.cygnus.com>
24370 * libc/include/fcntl.h (O_BINARY, O_TEXT): New.
24371 * libc/include/errno.h: Moved into and include...
24372 * libc/include/sys/errno.h: New file.
24373 * libc/include/sys/wait.h: New file.
24374 * libc/stdio/rename.c (_rename_r): Use _rename system call if available.
24375 * libc/sys/win32/*: Moved out.
24376 * libc/sys/win32/crt0.c: Rewritten to cope with shared library.
24377 * configure.in (i[345]86-*-win32): HAVE_RENAME
24379 Wed Oct 18 09:58:27 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
24381 * libc/unix/sigset.c (sigemptyset, sigaddset): Prefix #undef to
24382 avoid macro expansion for these two names.
24384 Tue Oct 17 08:45:33 1995 Doug Evans <dje@canuck.cygnus.com>
24386 * libc/machine/h8500/psi.S: r6 renamed to fp.
24388 Sun Oct 15 12:58:10 1995 Michael Meissner <meissner@wogglebug.tiac.net>
24390 * configure.in (powerpc*): No longer need to define
24391 NO_LONGLONG_POINTERS to supress warnings.
24393 Sat Oct 14 12:55:08 1995 Jim Wilson <wilson@chestnut.cygnus.com>
24395 * libc/reent/reent.c (_reclaim_reent): Call cleanup indirectly
24396 through PTR instead of directly.
24398 * libc/sys/sh/crt0.S: Clean up formatting. Delete unused
24399 non-standard constructor support.
24401 Thu Oct 12 11:39:42 1995 J.T. Conklin <jtc@rtl.cygnus.com>
24403 * libc/stdlib/dtoa.c (_dtoa_r): Set result pointer to the
24404 address of the Bigint instead of the address of its _x field,
24405 as the size the result buffer was calculated accordingly.
24406 Fix from Jim Wilson <wilson@chestnut@cygnus.com>.
24408 * libc/stdlib/{div.c, ldiv.c}: Replaced with implementation
24409 from NetBSD C library. No longer special cases division by
24410 zero (which needs to be done by the application anyway), but
24411 it doesn't need to call abs() (or labs()) four times either.
24413 * libc/stdlib/qsort.c: Replaced with implementation from
24416 Tue Oct 10 14:01:10 1995 J.T. Conklin <jtc@rtl.cygnus.com>
24418 * libc/stdio/vfprintf.c: Replaced with implementation from
24419 NetBSD C library (which is derived from the 4.4BSD C library).
24420 * libc/stdio/cvt.c: Removed.
24421 * libc/stdio/Makefile: Updated.
24423 Tue Oct 10 12:15:23 1995 steve chamberlain <sac@slash.cygnus.com>
24425 * libc/sys/win32/syscalls.c (rename): New.
24426 * libc/sys/win32/include/winkernel.h (MoveFileExA): New.
24428 Fri Oct 6 12:18:43 1995 Jim Wilson <wilson@chestnut.cygnus.com>
24430 * libc/machine/sh/Makefile.in (setjmp.o): Depend on setjmp.S.
24431 * libc/machine/sh/setjmp.S: Rename from setjmp.s.
24433 * libc/sys/sh/Makefile.in (OFILES, all): Delete setjmp.o.
24434 (setjmp.o): Delete rule to build setjmp.o.
24435 * libc/sys/sh/setjmp.S: Delete file.
24437 Fri Oct 6 11:19:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
24439 * libc/stdlib/mprec.c (d2b): Added support for _DOUBLE_IS_32BITS.
24440 * libc/stdlib/mprec.h: Fixed constants used for IEEE single float
24441 format. Added #defines to map d2b, i2b, low0bits, lshift, mult,
24442 pow5mult and s2b to identifiers with leading underscores.
24443 * libc/stdlib/Makefile.in: Add mprec.h as a dependency to dtoa.o,
24444 ecvtbuf.o, mprec.o and strtod.o. Sort dependencies.
24446 Thu Oct 5 17:27:30 1995 steve chamberlain <sac@slash.cygnus.com>
24448 * libc/sys/posix/popen.c (sys/types.h): Include.
24450 Thu Oct 5 16:33:01 1995 Doug Evans <dje@canuck.cygnus.com>
24452 * libc/sys/win32/syscalls.h (fhandler): New struct.
24453 (__lookup_fhandler, __lookup_fhandler_hook): Declare.
24454 (__fhandler_normal): Declare.
24455 (hinfo): New member op_handlers.
24456 * libc/sys/win32/syscalls.c (__read): Don't validate fd.
24457 (__write): Likewise.
24458 (_read, _write, _open, _close, _lseek): Validate fd here.
24459 Move file type specific stuff to foo_normal.
24460 (read_normal, write_normal, open_normal, close_normal, lseek_normal):
24462 (__lookup_fhandler): New function.
24463 (__lookup_fhandler_hook, __fhandler_normal): New variables.
24465 From anders.blomdell@control.lth.se (Anders Blomdell)
24466 * libc/sys/win32/crt0.c (vfork_init): Unset __FD_TABLE__.
24467 Don't touch standard handles.
24468 * libc/sys/win32/spawn.c (_spawn): Use STARTF_USESTDHANDLES.
24469 (_execve): Only create __FD_TABLE__ if necessary.
24470 * libc/sys/win32/include/winkernel.h (STARTF_*): Define.
24472 Thu Oct 5 14:25:14 1995 steve chamberlain <sac@slash.cygnus.com>
24474 * libc/sys/win32/sys/termios.h (FLUSHO): New.
24475 * libc/sys/win32/include/win*.h: Moved a load of prototypes around.
24476 * libc/sys/win32/pipe.c (_fctnl): Ignore F_SETFL without errors.
24477 * libc/sys/win32/exception.c (ehandler3): set strace when a signal
24478 without a handler is received.
24479 * libc/sys/win32/Makefile.in: Remove --nodelete.
24480 * libc/sys/win32/resouce.c (gettimeofday): New.
24481 * libc/sys/win32/syscalls.c (path_to_real_path): New.
24482 * libc/sys/win32/syscalls.h (include/wincon.h): Don't include.
24484 Wed Oct 4 13:10:35 1995 Doug Evans <dje@canuck.cygnus.com>
24486 * libc/sys/win32/dirsearch.c (opendir): stat real path name.
24487 Don't append "/*" to search pattern if trailing '/' already there,
24489 * libc/sys/win32/spawn.c (_spawn): CreateProcess doesn't seem to
24490 like /'s, convert them to \'s. Handle //<drive>/ path names.
24491 Add space for quoted \'s in arg string. Print translated prog name
24492 and original prog name.
24493 (_execve): Handle parent doing exec a teensy bit better.
24494 * libc/sys/win32/syscalls.h (__path_to_real_path): Update prototype.
24495 * libc/sys/win32/syscalls.c (__path_to_real_path): Don't assume
24496 path needs conversion, handle both cases. Delete `const' from result.
24497 (hash_path_name): New function.
24499 (_stat): Likewise. Fill in more fields for directories.
24500 * libc/sys/win32/wait.c (_wait): Explicitly pass -1 to waitpid.
24501 (wait_for_any): Fix trace message.
24502 (waitpid): Explicitly test for intpid == 0.
24504 From anders.blomdell@control.lth.se (Anders Blomdell)
24505 * libc/sys/win32/spawn.c (__vfork_get_empty_entry): zero fill result
24506 so `next' is valid.
24508 Sat Sep 30 15:00:15 1995 Jason Molenda (crash@phyeaux.cygnus.com)
24510 * libc/sys/win32/spawn.c (_spawn): Make quoting rules more
24513 Sat Sep 30 10:25:57 1995 Jason Molenda (crash@phydeaux.cygnus.com)
24515 * libc/include/_ansi.h: set _HAVE_STDC if __STDC__ is defined
24516 at all, not just == 1.
24517 * libm/math/wf_acos.c (acosf): check for _HAVE_STDC, not __STDC__.
24519 Sat Sep 30 04:30:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
24521 * libc/sys/win32/include/winbase.h: include <wintypes.h> and <winnt.h>
24522 * libc/sys/win32/include/wintypes.h: include <winnt.h>
24523 * libc/sys/win32/include/winnt.h: avoid multiple inclusion of this
24526 Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
24528 * libc/sys/syscalls.c (getcwd): Fix off by one error.
24530 * libc/sys/signal.c (sleep): Fill it in.
24531 * libc/sys/termios.c (tcflush): Use PurgeComm
24532 (tcsetattr): Set some more of the bits.
24533 * libc/sys/include/winkernel.h: Add PurgeComm and Sleep.
24535 Fri Sep 29 04:33:53 1995 Doug Evans <dje@deneb.cygnus.com>
24537 * libc/sys/arm/crt0.S (fp): Initialize to 0.
24538 Conditionally include .idata$3 stuff ifdef __pe__.
24540 Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
24542 * libc/sys/win32/crt0.c (hmap_init): Call __init_hinfo.
24543 * libc/sys/win32/pipe.c (pipe): Ditto.
24544 * libc/sys/win32/syscalls.c (__read): Use new vtime and vmin fields.
24545 * libc/sys/win32/syscalls.h (hinfo): vtime, vmin are new.
24546 * libc/sys/win32/termios.c (tcsetattr): Init new fields.
24547 (tcgetattr): Contents are new.
24548 * libc/sys/win32/include/winkernel.h (DCB): New.
24549 (GetCommState, SetCommState): New.
24551 Thu Sep 28 16:29:09 1995 Doug Evans <dje@deneb.cygnus.com>
24553 * libc/sys/arm/crt0.S (_start): Define.
24555 Thu Sep 28 12:26:45 1995 steve chamberlain <sac@slash.cygnus.com>
24557 * libc/sys/arm/crt0.S: Move stack to top of RAM on PIE board.
24558 * libc/sys/arm/syscalls.c (_read, _write): Use the SWI properly.
24560 * libc/sys/win32/sysconf.c: New
24561 * libc/sys/win32/sys/winadvapi.h: New
24562 * libc/sys/win32/syscalls.h (hinfo): Added timeout_len, w_binary, r_binary.
24563 * libc/sys/win32/crt0.c (hmap_init): Initialize new fields.
24564 * libc/sys/win32/pipe.c (pipe): Ditto.
24565 * libc/sys/win32/signal.c (_raise): New.
24566 (_kill): Moved from spawn.c
24567 * libc/sys/win32/spawn.c (kill): Moved to signal.c
24568 * libc/sys/win32/syscalls.c (__read): Use new fields.
24570 * libc/sys/win32/termios.c (tcflush, tcsetattr, tcgetattr): Fill in.
24571 * libc/sys/win32/exceptions.c (__stack_trace): Keep going for longer.
24572 * libc/include/sys/unistd.h (rmdir): Takes const path.
24573 * libc/include/sys/stat.h (mkdir): Takes const path.
24574 * libc/include/sys/signal.h (SIGTTOU, SIGTTIN): New for win32.
24576 Thu Sep 28 10:11:27 1995 Doug Evans <dje@canuck.cygnus.com>
24578 * libc/sys/win32/spawn.c (_spawn): Fix quoting.
24580 Add support for specifying paths as //<drive>/foo/bar.
24581 * libc/sys/win32/syscalls.h (__path_needs_conversion_p): Declare.
24582 (__path_to_real_path): Declare.
24583 (PATH_TO_REAL_PATH): New macro.
24584 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): Minor cleanup.
24585 (__path_needs_conversion_p, __path_to_real_path): New functions.
24586 (_open): Fix test for error return from CreateFileA.
24587 Handle new path syntax.
24588 (_link, mkdir, rmdir, getcwd, chdir, stat): Handle new path syntax.
24589 * libc/sys/win32/dirsearch.c (opendir): Likewise.
24591 Wed Sep 27 16:36:46 1995 steve chamberlain <sac@slash.cygnus.com>
24593 * libc/sys/win32/include/*.h: Reorganized
24594 * libc/sys/win32/include/WINREADME: New.
24595 * libc/sys/win32/Makefile.in (DLLS): Build version.a.
24596 * libc/sys/win32/*.c: Fix for new include scheme.
24597 * libc/sys/win32/crt0.c (__this_uinfo_buf, __this_uinfo): New.
24598 * libc/sys/win32/getlogin.c (getlogin): Use uinfo.
24599 * libc/sys/win32/passwd.c (*): Fix.
24600 * libc/sys/win32/syscalls.c (get[e|][g|u]id): Use passwd info.
24601 (_stat): Get directory owner and permissions right.
24602 * libc/sys/win32/syscalls.h (uinfo): New.
24603 * libc/sys/win32/version.def: Remove leading underscores.
24605 Tue Sep 26 18:18:47 1995 Jason Molenda (crash@phydeaux.cygnus.com)
24607 * libc/sys/win32/key.c: include "include/wincon.h".
24609 Tue Sep 26 07:21:48 1995 steve chamberlain <sac@slash.cygnus.com>
24611 * libc/sys/win32/{key, stubs}.c: New.
24612 * libc/sys/win32/Makefile: Adjust to cope.
24613 * libc/sys/win32/crt0.c (vfork_init_first): Cope with -ve pids.
24614 (environ_init): Change env names to upper case.
24615 * libc/sys/win32/dirsearch.c (readdir): Don't fill in inode number.
24616 * libc/sys/win32/passwd.c (*): Fill in the functions.
24617 * libc/sys/win32/pipe.c (_fcntl): F_GETFL returns O_RDWR.
24618 * libc/sys/win32/spawn.c (_spawn): Cope with -ve pids.
24619 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): New function.
24620 (_open): Initialze hmap->execable_p too.
24621 * libc/sys/win32/syscalls.c (getuid, getgid, geteuid, getegid): Return from macros.
24622 (_fstat): Fill in permissions.
24623 * libc/sys/win32/syscalls.h (hinfo): Add execable_p.
24625 Fri Sep 22 13:47:27 1995 Doug Evans <dje@canuck.cygnus.com>
24627 * configure.in (cfg-ml-com.in invocation): Use ${with_multilib_top}
24629 (cfg-ml-pos.in invocation): Likewise.
24631 Fri Sep 22 11:43:44 1995 J.T. Conklin <jtc@rtl.cygnus.com>
24633 * Makefile.in (MATHOBJS_IN_LIBC): Added s_isinf.o, sf_isinf.o,
24634 s_isnan.o and sf_isnan.o.
24636 Wed Sep 20 14:50:19 1995 Ian Lance Taylor <ian@cygnus.com>
24638 * All Makefile.in files: added maintainer-clean target as a
24639 synonym for realclean.
24641 Wed Sep 20 11:02:50 1995 Jeff Law (law@snake.cs.utah.edu)
24643 * libc/include/machine/setjmp.h: Add hppa support.
24644 * libc/machine/hppa/setjmp.S: New file with setjmp/longjmp
24646 * libc/machine/hppa/Makefile.in: Related changes.
24648 Tue Sep 19 12:09:01 1995 J.T. Conklin <jtc@blues.cygnus.com>
24650 * configure.in (machine_dir): Don't set for v810-*-*.
24652 Fri Sep 15 20:22:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
24654 * libc/sys/win32/crt0.c (passover): Change to handle MKS quoting
24655 conventions correctly.
24657 Thu Sep 14 13:37:22 1995 J.T. Conklin <jtc@blues.cygnus.com>
24659 * libc/stdio/puts.c: Update documentation of return value to match
24662 Thu Sep 14 01:52:37 1995 Doug Evans <dje@canuck.cygnus.com>
24664 Fix file descriptor inheritance.
24665 * libc/sys/win32/syscalls.h (CHILD_P): Define again.
24666 (NOT_OPEN_FD): Fix.
24667 * libc/sys/win32/spawn.c (vfork0): Only create inheritable handle if
24668 close-on-exec flag not set. Initialize child's entire fd table.
24669 * libc/sys/win32/syscalls.c (_open): Only create inheritable handle if
24671 * libc/sys/win32/pipe.c (pipe): Only create new handle as inheritable
24672 if CHILD_P. Initialize entire hmap entry.
24673 (dup): Only create new handle as inheritable if CHILD_P.
24674 (dup2): Likewise. Properly initialize hmap entry.
24676 * libc/sys/win32/spawn.c (_execve): Don't pass _P_SEARCH_PATH to
24678 (_exit): Use CHILD_P.
24679 * libc/sys/win32/syscalls.c (_fstat): Fix call to memset.
24682 Mon Sep 11 23:09:39 1995 Jason Molenda (crash@phydeaux.cygnus.com)
24684 * libc/sys/win32/crt0.c (passover): fix up the state table.
24685 * libc/posix/popen.c: Added.
24686 * libc/posix/Makefile.in: compile popen.c.
24688 Mon Sep 11 11:43:38 1995 J.T. Conklin <jtc@cygnus.com>
24690 * libc/include/machine/ieeefp.h: On the h8/300, h8/300h and
24691 h8/500 define _DOUBLE_IS_32BITS.
24693 Sat Sep 9 17:55:54 1995 Doug Evans <dje@canuck.cygnus.com>
24695 Get vfork/exec/spawn/cwait/wait working again.
24696 * libc/sys/win32/syscalls.h (VFORK_NEWBORN_PSEUDO_PID): Define.
24697 (procinfo): New member vfork_level.
24698 * libc/sys/win32/crt0.c (__vfork_next_pid): Delete.
24699 (vfork_init_first): Use GetCurrentProcessId to get pid.
24700 Initialize vfork_level.
24701 (vfork_init): Delete __PID__.
24702 (environ_init): New function. Undo patch of Aug 19, Posix says
24703 environment variables are case sensitive.
24704 (mainCRTStartup): Call it.
24705 * libc/sys/win32/spawn.c (__vfork_next_pid): Delete.
24706 (my_longjump: Make static.
24707 (_spawn): New argument `h'. Delete setting of __PID__.
24708 Delete local `idx'. Look for chars that need quotes, rather than
24709 ones that don't. Set handle of created process in `h'.
24710 Result is process id if created task.
24711 (allocate_spawn_entry): New function.
24712 (spawnvp, spawnv): Call it. Store handle and pid in procinfo entry.
24713 (_execve): Set __FD_TABLE__ before spawning child.
24714 Scan our fd table when passing fds, not our parent's.
24715 Store handle and pid in procinfo entry.
24716 (vfork0): Ensure strace message always printed.
24717 Set child pid to VFORK_NEWBORN_PSEUDO_PID.
24718 (vfork): Don't clobber result of vfork0.
24719 * libc/sys/win32/wait.c (cwait): Fix non-error result (is pid).
24720 (wait_for_any): Ignore processes in state FORK_STATE_VFORK_0.
24722 * libc/sys/win32/syscalls.h (procinfo): New members `handle_valid_p'
24724 * libc/sys/win32/spawn.c (allocate_spawn_entry): Initialize them.
24725 (vfork0): Likewise. Distinguish children, grandchildren, etc. by
24726 adding vfork level to pseudo-pid.
24727 (vfork1): If not root, set state back to FORK_STATE_VFORK_0.
24728 (spawnvp, spawnv, _execve): Set handle_valid_p if success.
24729 (_exit): If child, set exit code.
24730 (__vfork_record_death): Only close process handle if valid.
24731 * libc/sys/win32/wait.c (wait_for_single): Watch for children that
24733 (wait_for_any): Likewise. Start scan after root entry.
24735 Fri Sep 8 18:48:02 1995 Jason Molenda (crash@phydeaux.cygnus.com)
24737 * libc/include/sys/types.h (off_t): off_t back to 32 bits.
24738 * libc/include/sys/_types.h (_off_t): _off_t back to 32 bits.
24739 * libc/sys/win32/syscalls.c (_fstat): st_size is lower 32-bits
24740 of actual file length.
24742 * libc/sys/win32/sys/wait.h: include <sys/types.h>.
24743 * libc/include/paths.h: _PATH_BSHELL added.
24744 * libc/include/sys/unistd.h: define STDIN_FILENO, STDOUT_FILENO,
24747 Thu Sep 7 21:02:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
24749 * libc/include/ar.h: Added.
24750 * libc/include/sys/types.h: ino_t goes back to 32-bits.
24751 * libc/sys/win32/syscalls.h (hinfo): added .namehash field.
24752 * libc/sys/win32/syscalls.c (_open): compute .namehash based
24754 (_fstat): use .namehash for inode number of the fd.
24756 Thu Sep 7 12:57:19 1995 steve chamberlain <sac@slash.cygnus.com>
24758 * libc/sys/win32/{console,ioctl,pipe,spawn,syscalls,wait}.? (*):
24759 Change hinfo to __this_procinfo.
24760 * libc/sys/win32/crt0.c: Remove procinfo_list.
24762 Wed Sep 6 18:38:26 1995 Jason Molenda (crash@phydeaux.cygnus.com)
24764 * libc/include/sys/types.h (ino_t): Define ino_t correctly for
24767 Wed Sep 6 18:09:29 1995 Jason Molenda (crash@phydeaux.cygnus.com)
24769 * libc/sys/win32/include/grp.h: Removed.
24770 * libc/sys/include/grp.h: Added.
24771 * libc/sys/win32/grp.c: Include <grp.h>.
24773 Wed Sep 6 16:52:48 1995 steve chamberlain <sac@slash.cygnus.com>
24775 * libc/include/sys/signal.h (__need_MAX_SIGNALS): Removed.
24776 (sigset_t, sigaction, SIG_SETMASK, SIG_BLOCK, SIG_UNBLOCK):
24777 Defined for all but strict ANSI.
24778 * libc/include/sys/reent.h (__need_MAX_SIGNALS): Removed.
24779 * libc/include/machine/setjmp.h: Get win32 _JBLEN right.
24780 * libc/signal/signal.c (_signal_r): Changed from using
24781 _MAX_SIGNALS to NSIG.
24782 * libc/sys/win32/crt0.c (__current_pid, __parent_hmap, __child_hmap,
24784 (__strace, __vfork_next_pid): New.
24785 (__exe_suffix): Default to 1.
24786 (passover, table): Understand quoted arguments.
24787 (vfork_init_first): New.
24788 (vfork_init): Initialize new process structure.
24789 (mainCRTStartup): Pass environ to main.
24790 * exceptions.c (__sig_mask): New
24791 (ehandler3): Ignore signals in mask.
24792 (really_exit): Remove CHILD_P test.
24793 * pipe.c (pipe, dup, dup2): Use new process and file structure.
24794 * resource.c (getrusage): Ditto.
24795 * signal.c (sigprocmask): New.
24796 * spawn.c (*): Rewritten.
24797 * syscalls.c (*): Use new process and file structure.
24798 (find_unused_handle): New.
24799 * syscalls.h (MAX_HANDLES): Deleted.
24800 (hinfo): Removed child_created_p.
24801 (MAX_CHILDREN): Deleted.
24802 (vfork_jmp_info, procinfo): New.
24803 * wait.c (*): Mostly new.
24804 * sys/strace.h (_STRACE_PARANOID): New.
24805 * sys/param.h: New file.
24807 Wed Sep 6 17:03:53 1995 Jason Molenda (crash@phydeaux.cygnus.com)
24809 * libc/include/sys/stat.h: add S_BLKSIZE.
24810 * libc/include/sys/_types.h: _off_t is a 64-bit type under win32.
24811 * libc/include/sys/types.h: define off_t and ino_t to be 64 bit
24813 (mode_t): add a #else to avoid multiple definitons.
24815 * libc/sys/win32/Makefile.in: add grp.c.
24816 * libc/sys/win32/grp.c: include grp.h correctly.
24817 * libc/sys/win32/syscalls.c (_fstat): set almost all of the fields
24818 of the st structure with real information.
24819 * libc/sys/win32 (dirent): d_ino is of type ino_t.
24821 Wed Sep 6 10:41:34 1995 Doug Evans <dje@canuck.cygnus.com>
24823 * libc/include/sys/types.h (mode_t): Correct for svr4 sparc's
24824 and (maybe) sparc64.
24825 (nlink_t): Provide typedef.
24827 Tue Sep 5 18:46:05 1995 Jason Molenda (crash@phydeaux.cygnus.com)
24829 * libc/sys/win32/grp.c: New file.
24830 * libc/sys/win32/include/grp.h: New file.
24832 Tue Sep 5 13:47:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
24834 * libc/include/machine/ieeefp.h: Added whitespace to make this
24835 file easier to maintain.
24836 On the sh, define either __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN
24837 depending on the value of __LITTLE_ENDIAN__.
24838 On the sh3e, define _DOUBLE_IS_32BITS.
24840 Fri Sep 1 15:35:18 1995 James G. Smith <jsmith@beauty.cygnus.com>
24842 * libc/sys/vr4300/syscalls.c: Added missing support
24843 routines. _raise() and getpid().
24845 Fri Sep 1 14:12:48 1995 James G. Smith <jsmith@rtl.cygnus.com>
24847 * configure.in (mips*vr4300*-*-elf): Fixed silly mistake
24849 Fri Sep 1 08:42:11 1995 James G. Smith <jsmith@beauty.cygnus.com>
24851 * configure.in (mips*vr4300*-idt-*) Add support for RISQ monitor
24852 and VR4300 processor.
24853 * libc/sys/vr4300: Add directory.
24854 * libc/sys/vr4300/{Makefile.in, crt0.S, syscalls.c}: Add SIM
24855 monitor run-time support.
24857 Thu Aug 31 09:16:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
24859 * libc/stdlib/Makefile.in (CHEWOUT_FILES): Removed atol.def.
24860 * libc/stdlib/stdlib.tex: Don't include atol.def.
24862 Wed Aug 30 20:38:28 1995 Jason Molenda (crash@phydeaux.cygnus.com)
24864 * libc/sys/win32/uname.c (uname): hardcode processor as `i386'.
24866 Wed Aug 30 10:48:08 1995 steve chamberlain <sac@slash.cygnus.com>
24868 * libc/ctype/Makefile.in: Fill in _to* dependencies.
24870 Tue Aug 29 17:14:29 1995 steve chamberlain <sac@slash.cygnus.com>
24872 * libc/sys/win32/{dirsearch.c,sys/dirent.h}: Fix namespace problems.
24873 * libc/sys/win32/sys/dirent.h (struct dirent): Added d_ino.
24874 * libc/sys/win32/strace.c (__sys_printf): Increase size of buffer.
24875 * libc/sys/win32/smallprint.c (__small_vsprintf): Remove debug.
24876 * libc/sys/win32/dirsearch.c (readdir): Set d_ino.
24878 Tue Aug 29 19:00:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
24880 * libc/stdlib/atol.c (atol): DEFUN -> _DEFUN.
24882 Tue Aug 29 16:08:09 1995 J.T. Conklin <jtc@rtl.cygnus.com>
24884 * libc/stdlib/Makefile.in (OFILES): Added atoff.o and atol.o.
24885 * libc/stdlib/atoff.c: New file.
24886 * libc/stdlib/atof.c (atoff): Moved to atoff.c.
24887 * libc/stdlib/atoi.c (atol): Removed.
24888 * libc/stdlib/atol.c: Removed duplicate documentation.
24890 * libc/include/ctype.h (_tolower, _toupper): Moved inside
24891 #ifndef _STRICT_ANSI conditional.
24892 * libc/ctype/Makefile.in (OFILES): Added _tolower.o and _toupper.o
24893 * libc/ctype/_tolower.c: New file.
24894 * libc/ctype/_toupper.c: New file.
24895 * libc/ctype/tolower.c (_tolower): Moved to _tolower.c.
24896 * libc/ctype/toupper.c (_toupper): Moved to _toupper.c.
24897 * libc/ctype/toascii.c (_toascii): Removed.
24899 Tue Aug 29 12:17:32 1995 Doug Evans <dje@canuck.cygnus.com>
24901 * libc/sys/sparc64/sys/types.h: Deleted.
24903 Mon Aug 28 22:06:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
24905 * libc/sys/win32/uname.c (uname): change `Windows/NT' to `Windows_NT'
24906 and recognize Windows_95 systems.
24908 Mon Aug 28 19:50:54 1995 Jason Molenda (crash@phydeaux.cygnus.com)
24910 * libc/sys/win32/crt0.c (vfork_init, hmap_init): standard I/O fds
24911 and passed fds should be opened in text mode.
24913 Mon Aug 28 18:51:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
24915 * libc/sys/win32/crt0.c (vfork_init): mark passed fds as used
24916 in __hmap, set to binary mode by default.
24918 Tue Aug 22 14:12:37 1995 J.T. Conklin <jtc@rtl.cygnus.com>
24920 * libc/sys/sh/syscalls.c: Updated all functions to call __trap34.
24921 * libc/sys/sh/trap.S (__trap34): Renamed from __trap3. Use trap
24924 Sat Aug 19 18:25:37 1995 steve chamberlain <sac@slash.cygnus.com>
24926 * Makefile.in (install): Install all libraries found in the
24927 top level. If there's a sys/<type>/include directory,
24928 install those headers into include.
24930 * libc/sys/win32/kernel.def351: Delete
24931 * libc/sys/win32/{comctl32.def, comdlg32.def, ctl3d32.def,
24932 glaux.def, glu32.def, largeint.def, libc.def, libcmt.def,
24933 lz32.def, mgmtapi.def, mpr.def, msacm32.def, msvcrt.def,
24934 nddeapi.def, netapi32.def, odbc32.def, odbccp32.def, oldnames.def,
24935 ole32.def, oleaut32.def, opengl32.def, rasapi32.def, rpcndr.def,
24936 rpcns4.def, rpcrt4.def, scrnsave.def, shell32.def, snmp.def,
24937 uuid.def, vdmdbg.def, version.def, vfw32.def, win32spl.def,
24938 winmm.def, winspool.def, winstrm.def, wsock32.def}: New.
24940 * libc/sys/win32/Makefile.in: Update for new files and new dlltool options.
24941 * libc/sys/win32/crt0.c: Force all env names to upper case.
24942 * libc/sys/win32/sys/win*.h -> libc/sys/win32/include
24943 * libc/sys/win32/*.c: Headers have moved.
24944 * libs/sys/win32/*.[ch]: Test for open_p rather than BAD_HANDLE,
24945 __vfork_child_idx is now __vfork_child_ptr.
24947 * posix/execvp (execvp): Don't crash if no PATH envname.
24949 Fri Aug 18 12:22:59 1995 J.T. Conklin <jtc@rtl.cygnus.com>
24951 * libc/include/sys/reent.h (_Bigint): Removed _reclaim field.
24952 * libc/reent/reent.c (_reclaim_reent): Free Bigint's by going
24953 through the _freelist instead of through the _reclaim list.
24954 * libc/stdlib/mprec.c (_Balloc): Don't put new node on _reclaim list.
24955 * libc/stdlib/mprec.c (_Bcopy): Make like version in master dtoa.c
24958 Thu Aug 17 11:03:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
24960 * libc/machine/h8500/setjmp.S: New file.
24961 * libc/include/machine/setjmp.h: Updated for H8/500.
24963 Wed Aug 16 16:19:11 1995 steve chamberlain <sac@slash.cygnus.com>
24965 * libc/sys/win32/syscalls.c (_open): More stracing.
24966 (_stat): Open the file in O_BINARY.
24968 Wed Aug 16 15:49:01 1995 J.T. Conklin <jtc@rtl.cygnus.com>
24970 * libc/machine/h8300/setjmp.S: New file.
24971 * libc/include/machine/setjmp.h: Updated for H8/300 and H8/300H.
24973 Tue Aug 15 10:31:09 1995 Doug Evans <dje@canuck.cygnus.com>
24975 * libc/sys/win32/crt0.c (__exe_suffix): New global.
24976 (mainCRTStartup): Set __exe_suffix from LIBC_EXE_SUFFIX.
24977 * libc/sys/win32/spawn.c (_spawn): Add .exe suffix based on
24978 __exe_suffix. Free fd_tab after setting env variable.
24979 (spawnv,_execve): Update.
24980 * libc/sys/win32/syscalls.h (__exe_suffix): Declare.
24981 * libc/sys/win32/smallprint.c (puts,putn): New (static) functions.
24982 (__small_vfprintf): New function.
24983 * libc/sys/win32/strace.c (__sys_printf): Call __small_vfprintf.
24984 * libc/sys/win32/wait.c (cwait): Validate argument.
24986 * libc/sys/win32/syscalls.c (queue_file_deletion): Add trace message.
24987 (process_deletion_queue): Likewise.
24989 * libc/sys/win32/Makefile.in (lib.a): Don't call $(RANLIB).
24991 Mon Aug 14 10:14:10 1995 steve chamberlain <sac@slash.cygnus.com>
24993 * libc/sys/win32: Copyrights and gratuitous indenting.
24995 Mon Aug 14 01:32:58 1995 Doug Evans <dje@canuck.cygnus.com>
24997 * libc/sys/win32/syscalls.c (queue_file_deletion): Finish.
24998 (process_deletion_queue): Likewise.
24999 (__close_all_files): New function.
25000 (_close): Only queue file deletion if really a file.
25001 * libc/sys/win32/spawn.c (_spawn): Only ensure .exe suffix if
25003 (_exit): Call __close_all_files.
25005 * libc/stdlib/system.c: #include <errno.h>.
25006 (_system_r): Fix results in -DNO_EXEC case.
25008 * libc/sys/win32/sys/dirent.h (DIR): New member __d_dirname.
25009 Reorganize structure.
25010 * libc/sys/win32/dirsearch.c (opendir): Use stat to determine
25011 if argument is valid. Save directory name in DIR. malloc space
25012 for dirent struct separately.
25013 * libc/sys/win32/syscalls.c (stat): Fix test for directory.
25015 * libc/include/errno.h (ENAMETOOLONG): Define.
25016 * libc/string/strerror.c (strerror): Reword ENFILE.
25017 Add ENOSYS, ENMFILE, ENOTEMPTY, ENAMETOOLONG.
25019 Sun Aug 13 22:42:25 1995 Doug Evans <dje@canuck.cygnus.com>
25021 * libc/sys/win32/crt0.c (__progname): New global.
25022 (mainCRTStartup): Support strace=bitmask,filename.
25023 * libc/sys/win32/dirsearch.c (all fns): Add trace messages.
25024 * libc/sys/win32/syscalls.c (_write): Print parent trace message
25026 (getcwd): Handle len too small. Convert '\\' to '/'.
25027 * libc/sys/win32/sys/fcntl.h (O_RDWR): = O_RDONLY|O_WRONLY.
25028 Add prototypes for open, creat, fcntl.
25029 (O_APPEND): Change value to conform to Microsoft's value.
25030 * libc/sys/win32/sys/strace.h (_STRACE): Protect in do/while.
25032 * libc/stdlib/getopt.c: New file.
25033 * libc/stdlib/Makefile.in: Build it.
25035 Sat Aug 12 12:17:14 1995 Doug Evans <dje@canuck.cygnus.com>
25037 * libc/posix/execvp.c (execvp): Watch for DOS drives ifdef _WIN32.
25038 Fix scanning of $PATH.
25039 * libc/posix/exec*.c: Call _execve, not execve.
25040 * libc/posix/execve.c: New file.
25041 * libc/posix/Makefile.in (OFILES): Add execve.o.
25043 * libc/sys/win32/sys/strace.h (_STRACE_ALL, _STRACE_UHOH,
25044 _STRACE_STARTUP, _STRACE_SYSCALL): More bit masks of things to trace.
25045 (_STRACE): If level==0, always print. Handle new bit mask scheme.
25046 * libc/sys/win32/crt0.c: Update _STRACE calls.
25047 * libc/sys/win32/{pipe.c,resource.c,spawn.c,syscalls.c,wait.c}: Ditto.
25049 * libc/sys/win32/smallprint.c (rn): Fix digit list.
25051 * libc/sys/win32/syscalls.c (__really_exit): Move from here,
25052 * libc/sys/win32/exceptions.c (really_exit): to here. Avoid recursion.
25053 * libc/sys/win32/spawn.c (spawnvp): Pass `prog' as image name.
25054 Print __seterrno trace message first.
25055 (_execve): Renamed from execve.
25056 (vfork): Update __strace usage.
25057 (__vfork_child_pid): Deleted.
25058 (__vfork_children, __vfork_child_idx): New globals.
25059 (_spawnvp): New function.
25060 (spawnvp, spawnv, _execve): Call _spawnvp.
25061 (init_child): Record child in __vfork_children.
25062 (__vfork_get_entry, __vfork_record_death): New functions.
25063 * libc/sys/win32/crt0.c (mainCRTStartup): Initialize __vfork_children.
25064 * libc/sys/win32/kernel32.def (WaitForMultipleObjects): Define.
25065 * libc/sys/win32/syscalls.h (CHILD_P): New macro. All files updated.
25066 (MAX_CHILDREN, CHILD_INTERIM_PID): Define.
25067 (children): New typedef.
25068 (__vfork_children,__vfork_child_idx): Declare.
25069 (__vfork_get_entry,__vfork_record_death): Declare.
25070 * libc/sys/win32/wait.c (wait_for_single,wait_for_any): New functions.
25071 (waitpid): Handle pid == -1.
25072 * libc/sys/win32/sys/wintypes.h (WaitForMultipleObjects): Declare.
25073 * configure.in (i386-win32): Add -DNO_FORK.
25074 * libc/syscalls/sysfork.c (fork): Don't define for NO_FORK.
25075 * libc/reent/execr.c (_fork_r): Likewise.
25076 * libc/stdlib/system.c (do_system): New function.
25077 If WIN32, try to get shell path from $SH_PATH, use vfork.
25078 (_system_r): Return 1 for (s == NULL) if WIN32 or unix,
25079 otherwise return 0.
25081 Sat Aug 12 11:08:00 1995 steve chamberlain <sac@slash.cygnus.com>
25083 * libc/stdlib/{mallocr.c, mstats.c}: Move mstats from mallocr to mstats.c.
25084 * libc/sys/win32/fcntl.h: Don't include self.
25085 * libc/sys/win32/sys/strace.h (_STRACE_WM, _strace_wm): New.
25086 * libc/sys/win32/sys/winbase.h: (GetUserName) New.
25087 * libc/sys/win32/sys/wincon.h (HANDLER_ROUTINE): Define correctly.
25088 * libc/sys/win32/sys/wintypes.h (GetFileType, GetCurrentProcess, CloseHandle,
25089 SetFilePointer, CreateFileA, GetFileInformationByHandle, GetStdHandle):
25090 Correct prototypes.
25091 * libc/sys/win32/strace.c: New file.
25092 * libc/sys/win32/smallprint.c: New file.
25093 * libc/sys/win32/crt0.c (func): Delete.
25094 (mainCRTStartup): Fix alloca usage. Set handles explictly.
25095 * libc/sys/win32/dirsearch.c: Clean up handle usage, fix calls to __seterrno.
25096 * libc/sys/win32/exceptions.c: Lint.
25097 * libc/sys/win32/{ioctl.c, pipe.c, resource.c, spawn.c, cwait.c, syscalls.c}:
25098 Clean up handle usage.
25099 * libc/sys/win32/syscalls.c (__sys_printf): Moved into strace.c
25100 (open.c): Default file type is text.
25101 * libc/sys/win32/uname.c (uname): Use __small_sprintf.
25102 * libc/sys/win32/advapi32.def: New
25104 Fri Aug 11 17:11:52 1995 Doug Evans <dje@canuck.cygnus.com>
25106 * configure.in (posix_dir, libc_posix_lib): New variables.
25107 Define LIBC_POSIX_LIB in makefile to be $libc_posix_lib.
25108 (i[345]86-*-win32): Define posix_dir.
25109 Delete -DNO_EXEC. Define -DHAVE_OPENDIR.
25110 (if unix_dir): Fix typo.
25111 * libc/posix/{Makefile.in,closedir,opendir,readdir,rewinddir,
25112 scandir,seekdir,telldir}: New files.
25113 * libc/posix/{execl.c,execle.c,execlp.c,execv.c,execvp.c}: Move here
25115 * libc/Makefile.in (LIBC_POSIX_LIB): Define.
25116 (SUBDIRS): Add posix.
25117 (SUBLIBS): Add $(LIBC_POSIX_LIB).
25119 * libc/include/sys/signal.h (SIGCHLD): Add for _WIN32.
25120 (NSIG): Increase to 21.
25121 * libc/include/sys/unistd.h (pid_t): Move from here,
25122 * libc/include/sys/types.h (pid_t): to here.
25124 * libc/sys/win32/syscalls.h: #include "sys/strace.h".
25125 (__ptrace): Delete.
25126 (hinfo): New members close_exec_p, child_created_p.
25127 (struct exception_list): Define.
25128 (__hmap): Redefine as pointer to table.
25129 (__parent_hmap, __child_hmap): New globals.
25130 (__set_errno, __really_exit): Declare.
25131 (__vfork_child_pid): Declare.
25132 * libc/sys/win32/crt0.c (__strace, __trace_file): New global.
25133 (__orig_stdin, __orig_stdout, __orig_stderr): New globals.
25134 (__parent_hmap, __child_hmap): New globals.
25135 (__hmap): Redefine as pointer to active map.
25136 (__get_console): New function.
25137 (mainCRTStartup): Change leading '=' in environ vars to '!'.
25138 (env __FD_TABLE__): Watch for this and initialize our fd/handle
25139 mapping table from it if defined.
25140 (argv, envp): Dump if __strace >= 4.
25142 * libc/sys/win32/exceptions.c (myp): Redefine.
25143 (__syscalls_b): Delete.
25144 (__stack_trace): New function.
25145 (ehandler3): Update to use _STRACE. Print stack trace.
25146 Call __really_exit instead of exit.
25147 (init_exceptions): Delete args argc,argv. New arg mine.
25148 * libc/sys/win32/kernel32.def (CreatePipe, DuplicateHandle, FindClose,
25149 FindFirstFileA, FindNextFileA, GetComputerNameA,
25150 GetEnvironmentVariableA, ReadFile, SetEnvironmentVariableA): Define.
25151 * libc/sys/win32/signal.c (signal): Validate arg.
25152 (alarm, sleep): Define as stubs for now.
25153 * libc/sys/win32/syscalls.c (all fns): Update to use _STRACE.
25154 (__syscalls_b, errno): Delete.
25155 (__vfork_child_pid, __vfork_jmp_buf): New globals.
25156 (__seterrno): Handle more errors.
25157 (__sys_printf): Renamed from _ptrace.
25158 (__really_exit): New function.
25159 (queue_file_deletion, process_deletion_queue): New functions.
25160 (__resume_parent): New function.
25161 (_unlink): Handle trying to delete open file.
25162 (__totime_t): Renamed from totime_t.
25163 (setsid, __read, __write): New functions.
25164 (cwait, spawnvp, R, D, getrusage, _execve, _fork, _wait): Delete.
25165 * libc/sys/win32/{dirsearch.c,getlogin.c,misc.c,resource.c,passwd.c,
25166 times.c,spawn.c,pipe.c,wait.c,termios.c,ioctl.c,uname.c}: New files.
25167 * libc/sys/win32/console.c: Update to new definition of __hmap.
25168 * libc/sys/win32/Makefile.in: Build new files.
25169 * libc/sys/win32/sys/{dirent.h,winerror.h,wait.h,termios.h}: New files.
25170 * libc/sys/win32/sys/{ioctl.h,utsname.h}: New files.
25171 * libc/sys/win32/sys/strace.h: Renamed from ptrace.h.
25172 * libc/sys/win32/sys/wintypes.h (GetCurrentDirectoryA): Fix prototype.
25174 Thu Aug 10 16:32:52 1995 Doug Evans <dje@canuck.cygnus.com>
25176 * libc/sys/h8500hms/misc.c (kill): Handle SIGABRT.
25178 Thu Aug 10 12:07:38 1995 J.T. Conklin <jtc@rtl.cygnus.com>
25180 * libc/stdlib/{dtoa.c, strtod.c}: Merged assorted changes that
25181 have been made to the master dtoa.c sources (from netlib.att.com)
25182 since they were integrated into newlib in early 1992. Fixes
25183 problems with storage leaks and handling of numbers with very
25184 negative exponents.
25186 Wed Aug 9 14:18:39 1995 J.T. Conklin <jtc@rtl.cygnus.com>
25188 * Makefile.in (all): set rootpre and srcrootpre before calling
25191 Tue Aug 8 17:20:45 1995 steve chamberlain <sac@slash.cygnus.com>
25193 * libc/sys/win32/crt0.c: Change __hmap usage.
25194 * libc/sys/win32/exceptions.c: Use _ptrace call.
25195 * libc/sys/win32/syscalls.c: Use _ptrace call.
25196 (read, write): Cope with DOS style CRLF when in TEXT mode.
25197 * libc/sys/win32/syscalls.h: Declare hinfo struct.
25198 * libc/sys/win32/user32.def: Get DefWindowProc arg list right.
25199 * libc/sys/win32/sys/fcntl.h, ptrace.h: New.
25200 * libc/sys/win32/sys/windows.h: Fill in rest of messages.
25201 * libc/sys/win32/sys/wintypes.h: Fix attribute syntax.
25203 Mon Aug 7 13:04:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
25205 * libc/include/math.h (cabs, cabsf, drem, dremf): New declarations.
25207 * libm/math/{w_cabs.c, wf_cabs.c, w_drem.c, wf_drem.c}: New files,
25208 wrappers for hypot() and remainder() for BSD libm compatibility.
25209 These are public domain implementations written by me for the
25210 NetBSD libm some time ago. Note cabs() is required by ucbtest.
25211 * libm/math/Makefile.in (obj): Added w_cabs.o and w_drem.o.
25212 (fobj): Added wf_cabs.o and wf_drem.o.
25214 Thu Aug 3 08:13:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
25216 * libc/sys/h8500hms/misc.c: New file.
25217 * libc/sys/h8500hms/Makefile.in (OFILES): Add misc.o.
25219 Wed Aug 2 16:46:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
25221 * libc/time/localtime.c (localtime): Fix problem with leap year
25222 handling. Stole algorithm from Arthur David Olson's tz code.
25224 Mon Jul 31 10:21:54 1995 steve chamberlain <sac@slash.cygnus.com>
25226 * configure.in: (z8k-*sim): Renamed z8k-*-coff.
25228 * libc/sys/z8ksim/glue.c (_getpid, _kill): New
25229 (_exit): Use argument.
25231 Fri Jul 28 15:17:04 1995 Doug Evans <dje@canuck.cygnus.com>
25233 * libc/sys/win32/sys/winbase.h (_WINBASE_H): Define.
25235 Wed Jul 26 16:24:19 1995 steve chamberlain <sac@slash.cygnus.com>
25237 * libc/sys/sh/trap.S (perrno): Align correctly. (pr 7532)
25239 Mon Jul 24 13:42:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
25241 * configure.in (sparc*): Add -DMALLOC_ALIGNMENT=8 to
25244 Mon Jul 24 11:42:07 1995 steve chamberlain <sac@slash.cygnus.com>
25246 * libc/sys/win32/crt0.c (mainCRTStartup): Look for
25247 ptrace with case insensitivity
25248 * libc/sys/win32/{user32.def, gdi32.def, exceptions.c, screen.c,
25249 sys/winbase.h, sys/windows.h, sys/wintypes.h, sys/winuser.h}:
25252 Fri Jul 21 11:22:26 1995 Doug Evans <dje@canuck.cygnus.com>
25254 * Makefile.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
25255 (MULTITOP, MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): New variables.
25256 (all, install, *clean): Use new multilib support.
25257 * configure.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
25259 Fri Jul 21 07:11:42 1995 steve chamberlain <sac@slash.cygnus.com>
25261 * libc/include/sys/signal.h (__WIN32__): New.
25263 * configure.in (i386-*-win32): Remobe SBRK_IS_ALLOC.
25265 * libc/stdlib/mprec.c (Balloc): Fix trampling problem.
25266 (ulp, b2d): Handle 32 bit doubles.
25267 * libc/stdlib/mprec.h: Handle 32 bit doubles.
25268 * libc/stdlib/strtod.c (_strtod_r): Ditto.
25270 Fri Jul 14 08:24:58 1995 steve chamberlain <sac@slash.cygnus.com>
25272 from medp@primag.co.uk:
25273 * libc/stdio/setvbuf.c (setvbuf): Fix line buffering on
25274 dynamically allocated buffers.
25276 Thu Jul 20 10:11:03 1995 Fred Fish <fnf@fishbowl>
25278 * libc/include/sys/unistd.h (_exit): Add _ATTRIBUTE ((noreturn)).
25279 * libc/stdlib/exit.c (unistd.h): Include to pick up _exit() declaration.
25281 Thu Jul 20 10:16:25 1995 Michael Meissner <meissner@tiktok.cygnus.com>
25283 * configure.in (powerpc): Fix previous fix.
25285 Wed Jul 19 14:08:55 1995 Michael Meissner <meissner@tiktok.cygnus.com>
25287 * configure.in (powerpc-*eabiaix*): Update PowerPC multilib
25288 directories for this target.
25290 Wed Jul 19 00:34:30 1995 Jeffrey A. Law <law@rtl.cygnus.com>
25292 * configure.in (hppa): Add machine_dir definition.
25293 * libc/machine/hppa: New directory with PA specific implementations
25294 of the basic memory/string functions.
25296 Tue Jul 18 21:16:00 1995 Michael Meissner <meissner@tiktok.cygnus.com>
25298 * configure.in: Update current PowerPC multilib directories.
25299 Split big and little endian configurations.
25301 Tue Jul 18 11:55:33 1995 Ian Lance Taylor <ian@cygnus.com>
25303 * configure.in: Add --enable-single-float option to configure to
25304 control use of MIPS single-float directories. Default to yes.
25306 * Makefile.in (all): Don't recurse into multilib directory if it
25309 Mon Jul 17 15:51:30 1995 J.T. Conklin <jtc@rtl.cygnus.com>
25311 * libc/sys/sh/syscalls.c: Fix typo.
25313 Mon Jul 3 14:38:52 1995 Steve Chamberlain <sac@slash.cygnus.com>
25315 * Makefile.in, libc/Makefile.in, libc/sys/Makefile.in:
25317 * libc/include/process.h: Define WAIT_CHILD.
25318 * libc/include/types.h: Get sizes right for win32.
25319 * configure.in (i386-*-pe): Becomes i386-win32.
25320 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
25321 wintypes.h,sys/file.h,sys/resource.h}: Second pass.
25322 * libc/stdlib/mallocr.c: Don't round up memory block if SBRK_IS_ALLOC
25325 Wed Jun 28 18:34:54 1995 Steve Chamberlain <sac@slash.cygnus.com>
25327 * configure.in (i[345]86-*-pe): New target (NT).
25328 * host/any: DLLTOOL new.
25329 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
25330 wintypes.h,sys/file.h,sys/resource.h}: Preliminary support for
25331 WIN32 (just enough to cross host the comp-tools).
25333 Thu Jun 22 11:45:18 1995 Doug Evans <dje@canuck.cygnus.com>
25335 * libc/machine/h8300/{cmpsi.S,ucmpsi.S,divhi3.S,mulhi3.S,mulsi3.S}:
25336 Deleted. These files live in gcc/config/h8300/lib1funcs.asm now.
25338 Mon Jun 19 11:40:40 1995 Doug Evans <dje@canuck.cygnus.com>
25340 * libc/include/machine/ieeefp.h (arm): Change to always be
25341 __IEEE_BIG_ENDIAN (even on little endian ARM's).
25343 Thu Jun 8 14:22:28 1995 Steve Chamberlain <sac@slash.cygnus.com>
25345 * libc/sys/crt0.S: Initialze sp, and call exit after main.
25346 * libc/sys/syscalls.c (abort): New.
25347 * configure.in (arm): Define ABORT_PROVIDED.
25349 Wed Jun 7 14:04:35 1995 J.T. Conklin <jtc@rtl.cygnus.com>
25351 * configure.in (powerpc): Define multidirs.
25353 Mon Jun 5 16:10:13 1995 Doug Evans <dje@canuck.cygnus.com>
25355 * libc/sys/arm/crt0.S: Add __USER_LABEL_PREFIX__ support.
25357 Thu Jun 1 10:51:47 1995 Sean Eric Fagan <sef@cygnus.com>
25359 * configure.in (sparclite): Delete target_cflags. Define multidirs.
25361 Wed May 24 14:23:25 1995 Steve Chamberlain <sac@slash.cygnus.com>
25363 * configure.in, libc/include/machine/ieeefp.h: Modified
25365 libc/machine/arm/*, libc/sys/arm/*: New
25367 Tue May 23 13:53:07 1995 J.T. Conklin <jtc@rtl.cygnus.com>
25369 * libc/include/machine/ieeefp.h: Use __PPC__ instead of
25370 __powerpc__ when determining endianness.
25372 Wed May 10 07:55:56 1995 J.T. Conklin <jtc@rtl.cygnus.com>
25374 * configure.in (m68*): Add multidir for the m68332.
25376 * host/any (CC): Fix typo in last change.
25378 Fri Apr 14 22:20:31 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
25380 * libc/include/sys/config.h: Test __m68k__ instead of __m68000__
25381 when determining endianness.
25382 * libc/include/machine/ieeefp.h: Ditto.
25383 * libc/machine/m68k/setjmp.S: Use '&' instead of '#' for immediate
25386 Fri Apr 14 14:14:29 1995 Doug Evans <dje@chestnut.cygnus.com>
25388 * libc/include/errno.h (ENOTEMPTY): Define.
25390 Thu Apr 6 12:21:20 1995 J.T. Conklin <jtc@rtl.cygnus.com>
25392 * configure.in (sparc-sun-sunos*): Add -DMALLOC_ALIGNMENT=8 to
25395 * libc/sys/sun4/Makefile.in (COPYOFILES): Added rem.o, multiply.o,
25398 * libc/stdio/tmpnam.c (worker): Unconditionally increment count
25399 instead of only when open succeeds. ANSI requires that multiple
25400 calls to tmpnam() result in different files.
25402 * libc/sys/sun4/Makefile.in (COPYRENAMEOFILES): New macro, list of
25403 objects pulled in from /lib/libc.a that must be renamed before
25404 being pulled into newlib. /lib/libc.a's div.o conflicted with
25405 newlib's file with the same name.
25407 * libc/stdlib/ldiv.c (ldiv): Call labs() instead of abs().
25409 * host/any (CC, AS, AR, RANLIB): Changed so that executables in
25410 the build tree will only be used if the executables are present
25411 (instead of just the Makefiles).
25413 * libc/include/stdlib.h (mblen, mbtowc, wctomb, mbstowcs,
25415 * libc/stdlib/{mblen.c, mbstowcs.c, wcstombs.c}: New files, null
25416 versions of these functions that I orignally wrote for the
25418 * libc/stdlib/{mbtowc.c, wctomb.c}: Replaced functions with
25419 versions I wrote for NetBSD.
25421 Wed Mar 29 12:42:42 1995 Kung Hsu <kung@mexican.cygnus.com>
25423 * libc/sys/sparclite/Makefile.in: add crt0.s and make info.
25424 * libc/sys/sparclite/crt0.s: ditto.
25426 Tue Mar 28 20:28:03 1995 Rob Savoye <rob@rtl.cygnus.com>
25428 * configure.in: Add soft-float for proelf.
25430 Mon Mar 27 12:07:56 1995 Steve Chamberlain <sac@bang.hack.com>
25432 * libc/stdlib/mprec.h (Bcopy): Copy the right number
25435 Mon Mar 27 11:24:22 1995 Doug Evans <dje@chestnut.cygnus.com>
25437 * Makefile.in (all): Depend on `force'.
25438 * configure.in (syscall_dir): Renamed from fake_sys_dir.
25439 (libc_syscall_lib): Renamed from libc_fake_sys_lib.
25440 (LIBC_SYSCALL_LIB): Renamed from LIBC_FAKE_SYS_LIB.
25441 * libc/Makefile.in: Likewise.
25442 * libc/include/reent.h: Update syscall references.
25443 (_fcntl_r): Add prototype.
25444 * libc/syscalls/*.c #include <reent.h>.
25445 (*) Call reentrant version if REENTRANT_SYSCALLS_PROVIDED.
25447 Mon Mar 20 16:57:39 1995 Doug Evans <dje@deneb.cygnus.com>
25449 * libc/include/sys/stat-dj.h (S_ISBLK): Define.
25450 (S_ISCHR, S_ISDIR, S_ISFIFO, S_ISREG): Define.
25451 * libc/include/sys/stat.h (stat-dj.h): Include ifdef MSDOS.
25452 (time.h, sys/types.h): Always include (even if MSDOS).
25453 (stat): Fix prototype.
25455 Fri Mar 10 11:30:38 1995 Ian Lance Taylor <ian@cygnus.com>
25457 * configure.in (i[345]86-*-go32): Compile with -DNO_EXEC.
25459 Mon Feb 27 18:00:39 1995 Jim Wilson <wilson@chestnut.cygnus.com>
25461 * libc/machine/h8500/psi.S (EXTPSIHI_RN_SN): Ifdef out.
25463 Mon Feb 13 16:10:03 1995 Ian Lance Taylor <ian@cygnus.com>
25465 * libc/include/regdef.h: New file.
25466 * libc/machine/mips/machine/regdef.h: New file.
25468 Mon Feb 6 15:24:29 1995 Doug Evans <dje@canuck.cygnus.com>
25470 * libc/sys/sparc64/sys/fcntl.h (open): Add ellipsis.
25472 Fri Jan 27 13:52:10 1995 Steve Chamberlain <sac@splat>
25474 * libc/sys/sh/crt0.S: Pass main's return to exit.
25475 * libc/sys/sh/trap.S: Put errno in the right place.
25477 Tue Jan 24 18:57:56 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
25479 * libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Integrate change
25480 from fdlibm 5.2: handle |x| < 3pi/4 more efficiently.
25481 * libm/math/ef_rem_pio2.c: Likewise.
25482 * libm/math/e_log10.c: Remove unused static one.
25483 * libm/math/ef_log10.c: Likewise.
25484 * libm/math/s_frexp.c: Likewise.
25485 * libm/math/sf_frexp.c: Likewise.
25487 Sun Jan 22 21:26:14 1995 Steve Chamberlain <sac@splat>
25489 * libc/sys/go32/Makefile.in, clock.S, dir.c, setjmp.S, stat.c,
25490 longjmp.S: Upgraded.
25491 * libc/sys/go32/sys/setjmp.h: Upgraded.
25492 * libc/sys/go32/sys/go32.h, dpmi.h: New files.
25494 Fri Jan 20 18:33:18 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
25496 * configure.in: Add many entries to multidirs for mips targets.
25498 Wed Jan 18 10:19:25 1995 J.T. Conklin <jtc@rtl.cygnus.com>
25500 * libm/math/e_jn.c (__ieee754_yn): Integrate change from fdlibm
25501 5.2 which fixes bug where jn(-1,x) is three times larger than
25503 * libm/math/ef_jn.c (__ieee754_ynf): Likewise.
25505 Sun Jan 15 21:48:58 1995 Steve Chamberlain <sac@splat>
25507 * libc/sys/w65/sys/syscalls.h: New file
25508 * libc/include/machine/ieeefp.h: W65 support.
25509 * libc/include/sys/config.h: Ditto.
25510 * libc/machine/w65/Makefile.in, cmpsi, divsi3, lshrhi.s, mulsi3.c,
25511 sdivhi3.s, smulhi3.s, udivhi3.s, umodhi3.s: New files.
25512 * libc/sys/w65/Makefile.in, crt0.c, syscalls.c, trap.c: New files.
25514 Wed Jan 11 15:59:01 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
25516 * libc/sys/Makefile.in (lib.a, crt0.o): Depend upon subs.
25518 Tue Jan 3 15:57:03 1995 Rob Savoye <rob@darkstar.cygnus.com>
25520 * Makefile.in, configure.in: Remove any references to the old
25523 Thu Dec 22 10:42:08 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
25525 * libc/syscalls/sysopen.c: Write _HAVE_STDC version of open, which
25526 uses ... in prototype.
25529 Wed Nov 30 08:39:42 1994 Ian Lance Taylor <ian@rtl.cygnus.com>
25531 * libc/sys/a29khif/sys/libconfig.h: Remove.
25532 * libc/sys/go32/sys/libconfig.h: Remove.
25533 * libc/sys/sun4/sys/libconfig.h: Remove.
25534 * libc/sys/sysvi386/sys/libconfig.h: Remove.
25535 * libc/sys/sysvnecv70/sys/libconfig.h: Remove.
25536 * libc/sys/sparc64/sys/libconfig.h: Remove.
25538 * libc/include/_ansi.h (_FLOAT_ARG, _FLOAT_RET): Don't define.
25539 * libc/include/sys/config.h (_FLOAT_ARG, _FLOAT_RET): Likewise.
25540 * libc/include/math.h: Change all uses of _FLOAT_RET and
25541 _FLOAT_ARG to float.
25542 * libm/test/math.c: Likewise.
25543 * testsuite/libm.sac/math.c: Likewise.
25544 * testsuite/libm.sac/working/math.c: Likewise.
25546 Wed Nov 23 22:39:28 1994 Steve Chamberlain (sac@jonny.cygnus.com)
25548 * libc/sys/sh/trap.s,crt0.s,setjmp.s: Renamed with .S so that
25549 gcc calls gas with endian option.
25550 * configure.in (sh): Build little endian version too.
25552 Wed Nov 16 18:21:45 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
25554 * configure.in: Configure big and little endian versions for MIPS
25557 Sat Nov 12 21:12:51 1994 Doug Evans <dje@canuck.cygnus.com>
25559 * libc/include/limits.h: Deleted.
25560 * libc/include/machine/limits.h: Deleted.
25562 Thu Nov 10 15:32:44 1994 Rob Savoye <rob@rtl.cygnus.com>
25564 * ChangeLog: Remove stub directory. This has all been rewritten
25565 and moved to devo/libgloss.
25567 Thu Sep 29 18:31:04 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
25569 * Makefile.in (dvi): Add to info target, use $@ in sub make.
25570 (docs): Merge into info target.
25571 * libm/Makefile.in (dvi): Add $(srcdir).
25572 * libm/math/Makefile.in (chobjs): Remove underscores from file
25573 names. Texinfo doesn't like them.
25574 (wacos.def, ...): Add explicit targets for all .def files.
25575 * libm/math/math.tex: Remove underscores from @include file names.
25576 * doc/Makefile.in (dvi): Add dummy target.
25577 * testsuite/Makefile.in (dvi): Add dummy target.
25579 Mon Sep 26 21:17:46 1994 Doug Evans (dje@canuck.cygnus.com)
25581 * Makefile.in (VERSION): Define. For net newlib releases.
25583 Thu Sep 22 19:01:26 1994 Doug Evans (dje@canuck.cygnus.com)
25585 * README: New file.
25587 Mon Sep 19 16:35:23 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
25589 * libc/stdlib/ecvtbuf.c (_gcvt): Undo last change.
25591 Mon Sep 19 11:44:23 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
25593 * libc/stdlib/setenv.c (_findenv): Declare.
25595 * libc/include/sys/fcntl.h: Fix declarations of open, creat, and
25596 fcntl to not use _EXFUN, and change string parameters to open and
25597 creat to be ``const char *''.
25598 * libc/sys/sparc64/sys/fcntl.h: Likewise.
25599 * libc/sys/sparc64/creat.c (creat): Make PATH const.
25600 * libc/syscalls/sysopen.c: Include <fcntl.h>.
25601 (open) Make _FILE const.
25602 * libc/sys/z8ksim/glue.c (_open): Make BUF const.
25603 (_creat): Make PATH const.
25604 * libc/sys/h8300hms/syscalls.c (_open): Make PATH const.
25605 * libc/sys/h8500hms/syscalls.c (_open): Likewise.
25606 * libc/sys/m88kbug/syscalls.c (open): Likewise.
25607 * libc/sys/sh/syscalls.c (_open): Likewise.
25608 * stub/shared/glue.c (open): Make BUF const.
25609 * stub/ex93x/syscalls.c (open): Make FILENAME const.
25611 Thu Sep 8 16:39:12 1994 Steve Chamberlain (sac@jonny.cygnus.com)
25613 * libc/include/errno.h: Add ENMFILE
25614 * libc/include/sys/config.h: Support Z8000.
25615 * libc/include/sys/signal.h: New signals for go32.
25616 * libc/machine/h8500/psi.S (__addpsir0r0): New function
25617 * libc/machine/h8500/cmpsi.S (__ucmppsi2): New function
25618 * libc/machine/sh/sdivsi3.s (__sdivsi3): Rewritten.
25619 * libc/stdlib/mallocr.c (_morecore_r): Minimum chunk
25620 size is variable, depending upon CHUNK_POWER.
25621 * libc/sys/go32/*.c: Upgrade to new go32 stuff.
25623 Sun Sep 4 17:42:43 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
25625 * libc/stdlib/ecvtbuf.c (_gcvt): Output '-' for negative numbers.
25627 Fri Sep 2 10:56:01 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
25629 * libc/include/_ansi.h (_PARAMS): Don't define if already defined.
25631 Wed Aug 24 11:11:03 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
25633 * configure.in: Change i[34]86 to i[345]86.
25635 * libc/include/math.h: Don't define HUGE_VAL if it is already
25638 Wed Aug 17 15:18:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
25640 * testsuite/libm.sac/test_erfc.c: Correct some result values.
25641 * testsuite/libm.sac/test_gammaf.c: Likewise.
25642 * testsuite/libm.sac/test_sin.c: Likewise.
25643 * testsuite/libm.sac/test_tanh.c: Likewise.
25645 Tue Aug 16 16:12:53 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
25647 * libc/include/machine/ieeefp.h: Don't try set endianness if it is
25648 already set. Define typedefs __int32_t and __uint32_t.
25649 * libc/include/math.h: Include <machine/ieeefp.h>.
25650 (union __dmath): Use __uint32_t.
25651 * libm/math/fdlibm.h, libm/math/*.c: Use __int32_t and __uint32_t
25652 instead of int and unsigned int.
25654 Thu Aug 11 15:16:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
25656 Replace the math library with the SunPRO fdlibm package.
25657 * libm/math: Completely changed all files.
25658 * libm/ieeefp: Remove contents and directory.
25659 * libm/Makefile.in (LIBM_FP_LIB): Remove.
25660 (SUBDIRS): Just set to math/lib.a.
25661 * libm/libm.texinfo: Updated for new library.
25662 * libc/include/math.h: Extensive changes for new math library.
25663 * libc/include/ieeefp.h (isnanf, isinff, finitef): Change argument
25664 from _FLOAT_ARG to float.
25665 (maxpowtwo, maxpowtwof): Don't declare.
25666 * configure.in (fp_dir): Removed; was always ieeefp anyhow.
25667 (libm_fp_lib): Removed.
25668 * Makefile.in (MATHOBJS_IN_LIBC): Updated with new file names.
25669 * testsuite/libm.paranoia/Makefile.in (check): Correct --srcdir
25670 argument to ${RUNTEST}.
25671 * testsuite/libm.sac/Makefile.in (LOCAL_CFLAGS): Define.
25673 (RUNTESTFLAGS): Set CC and CFLAGS.
25674 (TESTS): Remove test_log2 and test_log2f.
25675 (${TESTS}): Pass ${LOCAL_CFLAGS}, not ${CFLAGS}.
25676 * testsuite/libm.sac/math.c (run_vector_1): Use float, not
25677 _FLOAT_ARG, for single precision argument type.
25678 * testsuite/libm.sac/sac.exp: Treat an error in bit 63 as an
25679 expected failure. Close the input pipe.
25680 * testsuite/libm.sac/test.c (test_sok, test_iok, test_scok):
25681 Correct misspelling of inaccurate.
25682 (test_mok): Use ``inaccurate'', not ``wrong''.
25683 * testsuite/libm.sac/{test_acos.c, test_acosh.c, test_asin.c,
25684 test_asinh.c, test_atan.c, test_atanh.c, test_ceil.c,
25685 test_ceilf.c, test_cos.c, test_cosh.c, test_erf.c, test_erf.c,
25686 test_fabs.c, test_floor.c, test_floorf.c, test_fmod.c,
25687 test_fmodf.c, test_gamma.c, test_log1p.c, test_log1pf.c,
25688 test_yn.c): Correct many result values. Many are still wrong.
25690 * libc/stdlib/ecvtbuf.c (print_e): If _dtoa_r sets decpt to 9999,
25691 just copy the string.
25692 (_gcvt): Always return the buffer.
25694 Tue Aug 9 13:43:23 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25696 * bcopy.c: fixed documentation, bcopy was not specified by ANSI.
25698 Wed Aug 3 05:39:41 1994 D. V. Henkel-Wallace (gumby@cygnus.com)
25700 * libc/include/sys/reent.h: (struct _Bigint): add _reclaim
25702 (struct _reent): add _p5s, _cvtlen, _cvtbuf.
25703 (_reclaim_reent): declare new entry point.
25704 * libc/reent/reent.c (cleanup_glue, _reclaim_reent): new
25707 * libc/stdlib/mprec.c (Balloc): Keep track of every struct bigint
25708 ever allocated, so that we can later reclaim them all.
25709 (pow5mult): make reentrant.
25711 * libc/stdlib/ecvtbuf.c (fcvtbuf, ecvtbuf): extend these functions
25712 so that when given NULL as a buffer, return a pointer to static
25713 space in the rent structure. This is not documented behaviour;
25714 it's only to support ecvt and fcvt, which aren't ANSI anyway.
25715 * libc/stdlib/efgcvt.c (fcvt, ecvt) Use new functionality (and
25716 therefore become reentrant).
25718 * libc/stdlib/dtoastub.c: remove spurious inclusion of mprec.h.
25720 Mon Aug 1 16:52:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
25722 * libc/include/machine/ieeefp.h: Check _AM29K, not ___AM29K__.
25724 Thu Jul 28 15:40:21 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25726 * Makefile.in: Make link to libg.a after libc.a; this is needed
25727 for the testsuites to build executables when everything comes
25730 Mon Jun 27 17:14:29 1994 Bill Cox (bill@rtl.cygnus.com)
25732 * libc/Makefile.in: Add a VERSION variable so we can keep track.
25733 * libm/Makefile.in: Add a VERSION variable so we can keep track.
25735 Wed Jun 22 10:26:00 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
25737 * libc/include/stdio.h: Use __VALIST, not va_list.
25739 Tue May 17 15:43:28 1994 Bill Cox (bill@rtl.cygnus.com)
25741 * testsuite/config/unix-libm.exp, testsuite/lib/libm.exp,
25742 testsuite/libm.sac/execute.exp:
25743 Replace error proc calls with perror calls.
25745 Wed May 11 09:25:28 1994 Doug Evans (dje@canuck.cygnus.com)
25747 * libc/include/*.h: #include "_ansi.h" instead of <_ansi.h>.
25748 * libc/include/time.h: #define NULL as 0L.
25750 Mon May 9 18:41:20 1994 Doug Evans (dje@canuck.cygnus.com)
25752 * host/any (INCLUDES): Delete -I of gcc/include, gcc -B takes
25755 Mon May 9 18:39:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
25757 * libc/include/sys/signal.h: Check for __GO32__, not __i386__ and
25760 Sat May 7 17:07:36 1994 Steve Chamberlain (sac@cygnus.com)
25762 * configure.in (TARGET_CFLAGS): Set -O2 as default.
25763 (z8k-*-*): Use syscalls fake sys dir.
25764 * libc/sys/z8k/glue.c: Rename syscalls.
25765 * libc/sys/go32/Makefile.in: Use new routines.
25766 * libc/machine/Makefile.in: Fix typo in ln stuff.
25768 Thu May 5 13:47:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
25770 * Makefile.in (libm.a, crt0.o): Use cp if ln fails.
25771 * libc/Makefile.in (crt0.o): Likewise.
25772 * libc/machine/Makefile.in (lib.a): Likewise.
25773 * libc/sys/Makefile.in (lib.a, crt0.o): Likewise.
25775 All Makefile.in files: Added mostlyclean, realclean and distclean
25778 * Makefile.in: Don't bother to unexport XTRAFLAGS or
25779 XTRAFLAGS_FOR_TARGET, since they are no longer passed down from
25780 the top level Makefile.
25782 Tue Apr 26 15:10:34 1994 Doug Evans (dje@canuck.cygnus.com)
25784 * libc/sys/sparc64/sys/stat.h: New file.
25785 * libc/sys/sparc64/sys/time.h: New file.
25786 * libc/sys/sparc64/sys/types.h: New file.
25788 Fri Apr 22 12:58:24 1994 Stan Shebs (shebs@andros.cygnus.com)
25790 * stub/ex93x/crt0.s (start): Add code to clear bss.
25792 Wed Apr 13 10:34:58 1994 Doug Evans (dje@canuck.cygnus.com)
25794 * libc/include/sys/types.h (time_t): Properly protect inside
25795 #ifndef __time_t_defined.
25797 * libc/stdio/fileno.c: New file.
25798 * libc/stdio/Makefile.in (OFILES, CHEWOUT_FILES): Add fileno.
25799 (fileno.o): Add dependency.
25800 * libc/include/stdio.h (__sgetc): Rename never to _never.
25801 (fileno macro): Disable, needs to do CHECK_INIT first.
25803 Mon Apr 11 17:37:09 1994 Bill Cox (bill@rtl.cygnus.com)
25805 * testsuite/Makefile.in (EXPECT, RUNTEST): Set these for the check
25808 * testsuite/Makefile.in (check): Set TCL_LIBRARY for runtest.
25809 * testsuite/libm.paranoia/Makefile.in (check): Set TCL_LIBRARY for
25811 * testsuite/libm.sac/Makefile.in (check): Set TCL_LIBRARY for
25814 Sat Apr 9 16:18:09 1994 Doug Evans (dje@cygnus.com)
25816 * libc/sys/sparc64/sys/fcntl.h: New file, define solaris versions
25817 of the various constants.
25819 Thu Apr 7 21:19:07 1994 Mark Eichin (eichin@cygnus.com)
25821 * libc/include/math.h: #ifndef __math_68881 around things which
25822 conflict with the (gcc-provided) inline functions in
25823 gcc/ginclude/math-68881.h.
25825 Thu Apr 7 02:50:43 1994 Doug Evans (dje@cygnus.com)
25827 * libc/include/_syslist.h (_gettimeofday): Define.
25829 * libc/include/reent.h: #include <machine/types.h> to get _CLOCK_T_.
25830 (struct tms, timeval, timezone): Declare.
25831 (_gettimeofday_r, _times_r): Declare.
25832 * libc/include/time.h (_CLOCK_T_): Don't #undef. Remove
25833 #ifdef _CLOCK_T_ surrounding definition of clock_t.
25834 (time_t): Add multiple definition protection, __time_t_defined.
25835 * libc/include/sys/time.h: Don't #include <time.h>.
25836 Always define struct timezone (remove #ifndef _TIME_H_).
25837 * libc/include/sys/times.h (_CLOCK_T_): Don't #undef. Remove
25838 #ifdef _CLOCK_T_ surrounding definition of clock_t.
25839 * libc/reent/Makefile.in (OFILES): Add timer.o.
25840 (CHEWOUT_FILES): Add timer.def. Add timer.o/timer.c dependence.
25841 * libc/reent/timer.c: New file.
25842 * libc/time/clock.c: #include <reent.h>.
25843 (clock): Call _times_r instead of times.
25844 * libc/time/time.c (HAVE_GETTIMEOFDAY): Renamed from
25845 HAVE_GET_TIME_OF_DAY.
25846 Add comment regarding supporting OS routine(s) required (for docs).
25847 #include <reent.h>.
25848 (time): Call _gettimeofday_r instead of gettimeofday.
25849 * libc/time/asctime.c: Fix comment regarding supporting OS routines.
25850 * libc/time/ctime.c: Ditto.
25851 * libc/time/strftime.c: Ditto.
25852 * libc/sys/sparc64/Makefile.in (TEMPLATE_SFILES): Remove gettimeofday.
25853 (TEMPLATE_SFILES_R): Define here. Also define times.
25854 Add times_r.o/times.S dependence.
25855 (time2.c, junk.c): Deleted.
25856 * libc/sys/sparc64/time2.c: Deleted.
25857 * configure.in (sparc64-*-*): Define HAVE_GETTIMEOFDAY.
25859 * libc/stdio/mktemp.c (_getpid_r): Renamed from _getpid.
25860 * libc/stdio/tmpnam.c (_getpid_r): Ditto.
25861 * libc/sys/sparc64/junk.c: Deleted.
25863 Mon Mar 21 16:51:03 1994 Doug Evans (dje@canuck.cygnus.com)
25865 * libc/sys/sparc64/Makefile.in: Add times syscall.
25866 * libc/sys/sparc64/crt0.S: Handle stack bias at run time so we can
25867 be used with and without it. Add comment clarifying Medium/Anywhere
25868 model requirements.
25869 * libc/sys/sparc64/sigsetjmp.S (setjmp, longjmp): Add svr4 support.
25870 * libc/sys/sparc64/sys/syscall.h (SYS_times): Define for sunos4
25873 Sun Mar 20 15:51:47 1994 Doug Evans (dje@cygnus.com)
25875 * configure.in (target_cflags): Move init.
25876 (sparc64-*-*): Define HAVE_BLKSIZE.
25878 Wed Mar 9 10:44:52 1994 Doug Evans (dje@canuck.cygnus.com)
25880 * libc/include/sys/_types.h: New file.
25881 * libc/include/reent.h: #include it.
25882 Add comment describing REENTRANT_SYSCALLS_PROVIDED and
25883 MISSING_SYSCALL_NAMES.
25885 * libc/include/_syslist.h: Remove _raise.
25886 * libc/reent/signalr.c: New file.
25887 * libc/reent/Makefile.in: Compile it.
25888 * libc/signal/signal.c: Only use ifdef SIMULATED_SIGNALS.
25889 Add doc for raise and _raise_r.
25890 * libc/signal/raise.c: Only use ifndef SIMULATED_SIGNALS.
25891 (raise): Call _raise_r.
25892 (_raise_r): Call _getpid_r and _kill_r.
25893 * libc/stdlib/abort.c: Remove inclusion of stdio.h and _syslist.h.
25894 (abort): Loop forever calling raise and _exit.
25896 Mon Mar 7 14:40:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
25898 * configure.in: Remove extraneous echo.
25900 Thu Mar 3 12:14:22 1994 Doug Evans (dje@canuck.cygnus.com)
25902 * libc/sys/sparc64/sys/dirent.h (MAXNAMLEN): #undef to avoid
25903 collision with unistd.h, and fix for svr4.
25905 Wed Mar 2 13:55:25 1994 Doug Evans (dje@canuck.cygnus.com)
25907 * libc/stdio/local.h (_llicvt): Declare.
25908 (CVT_BUF_SIZE): Define (and buffer size from 512 to 128).
25909 * libc/stdio/cvt.c: Include "local.h" to get CVT_BUF_SIZE.
25911 (_sicvt): Fix function header (`value' is short).
25912 * libc/stdio/vfprintf.c (_vfprintf_r): Use CVT_BUF_SIZE.
25913 Add printing of long long's support.
25914 Add printing of 8 byte pointer support.
25916 Fri Feb 11 21:52:11 1994 Steve Chamberlain (sac@sphagnum.cygnus.com)
25918 * libc/sys/sh/syscalls.c (pipe, execv, wait, fork, utime, chown,
25919 stat, chmod): New hooks.
25920 (sbrk): Abort if stack and heap collide.
25921 * libc/machine/sh/udivsi3, libc/machine/sh/sdivsi3 Modified to
25922 shortcut when given small args.
25923 * libc/machine/sh/setjmp.s: Rewritten.
25924 * libc/machine/sh/strcmp.s (strcmp): New function takes advantage
25925 of cmp/str instruction.
25927 Wed Feb 9 15:12:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
25929 * configure.in: Accept powerpc* as a CPU type, using fp_dir ieeefp
25930 and machine_dir powerpc.
25931 * libc/include/machine/setjmp.h, libc/include/machine/ieeefp.h:
25932 Add cases for __powerpc__.
25933 * libc/machine/powerpc/Makefile.in, libc/machine/powerpc/setjmp.S:
25936 * libc/include/stdio.h (_iprintf_r): Declare correctly.
25938 Thu Jan 27 10:36:27 1994 Steve Chamberlain (sac@cygnus.com)
25940 * libc/stdlib/callocr.c: New file with _calloc_r in it.
25941 * libc/stdlib/calloc.c (calloc_r): Now in callocr.c
25943 Thu Jan 20 15:14:37 1994 Doug Evans (dje@canuck.cygnus.com)
25945 * libc/stdlib/ecvtbuf.c (print_f): Remove local "done".
25946 (print_e): More comments to describe args, etc.
25947 "type" arg may now be 'g' or 'G' for %g/G format --> remove
25949 (_gcvt): Remove locals decpt, sign, end, p, done.
25950 More comments for print_e invocation.
25951 Pass "type" to print_e as is (g/G).
25953 Wed Jan 19 16:34:18 1994 Rob Savoye (rob@darkstar.cygnus.com)
25955 * stub/shared/m68k-crt0.S: Changed so it compiles (and runs) on a
25958 Mon Jan 17 15:41:53 1994 Doug Evans (dje@canuck.cygnus.com)
25960 * libc/stdlib/mallocr.c (_morecore_r): Fix aligning of pointer so it
25961 works with any sized pointer, including ones bigger than ints and
25964 Thu Jan 6 14:53:21 1994 Doug Evans (dje@canuck.cygnus.com)
25966 * libc/sys/sparc64/{time2.c,utime.S,utime2.c}: New files.
25968 Sat Dec 11 16:17:20 1993 Steve Chamberlain (sac@thepub.cygnus.com)
25970 * libc/include/stdlib.h (_calloc_r): Add prototype.
25971 * libc/machine/h8500/negsi2.c: New file.
25972 * libc/machine/h8500/divsi3.c: Prevent overflow when dividing v
25973 large unsigned numbers.
25974 * libc/machine/h8500/cmpsi.c: Add cmppsi.
25975 * libc/stdlib/mallocr.c (morecore_r): Fix aligning pointers so it
25976 works when sizeof(size_t) != sizeof(char *).
25977 * libc/stdlib/mprec.c (Balloc): Call calloc rather than malloc to
25979 * libc/stdlib/mprec.h: Define Just_16 if generating for z8000.
25981 Mon Dec 6 15:59:53 1993 Doug Evans (dje@rtl.cygnus.com)
25983 * libc/include/assert.h (assert): Handle -traditional.
25985 Tue Nov 16 15:49:24 1993 Mark Eichin (eichin@cygnus.com)
25987 * Makefile.in: added ; after every "fi" and "done" that wasn't at
25988 the end of a line (ie. anything before a backslash continuation)
25989 so that bash handles them.
25991 Tue Nov 16 12:31:57 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
25993 * libc/sys/go32/lstat.s: new file, copied from stat.s and renamed
25996 Mon Nov 15 15:50:43 1993 Steve Chamberlain (sac@jonny.cygnus.com)
25998 * libc/sys/sh/crt0.s, libc/sys/sh/trap.s,
25999 libc/machine/sh/sdivsi3.s, libc/machine/sh/setjmp.s,
26000 libc/machine/sh/udivsi3.s: Use new calling convention.
26002 Mon Nov 15 15:25:38 1993 Mark Eichin (eichin@cygnus.com)
26004 * libc/include/sys/unistd.h, libc/include/sys/stat.h: ANSI-fy
26005 chmod, access, chdir, chown by making _path const. Also fix _amode
26008 Fri Nov 12 20:25:28 1993 Mark Eichin (eichin@cygnus.com)
26010 * libc/sys/a29khif/_tmpnam.s (_tmpnam): renamed function to
26011 _khif_tmpnam, because it doesn't comply with ANSI but may be
26012 useful anyway. Real tmpnam was already in libc/stdio, and was
26013 colliding with this one (pr 2176.)
26014 * libc/sys/a29khif/stubs.s (tmpnam): removed tmpnam. This file is
26015 the wrong idea anyhow.
26017 Mon Nov 8 07:50:16 1993 Doug Evans (dje@canuck.cygnus.com)
26019 * configure.in: Remove h8300h, we have multilib now.
26021 Fri Nov 5 12:37:27 1993 Mark Eichin (eichin@cygnus.com)
26023 * libc/string/strcasecmp.c, libc/string/strncasecmp.c: new
26024 functions, to get preference over the ones in libiberty (since we
26025 provide correct declarations in <string.h>.
26026 * libc/string/Makefile.in: add support for strncasecmp,
26029 Fri Nov 5 09:05:45 1993 D. V. Henkel-Wallace (gumby@blues.cygnus.com)
26031 * Change netware config not to look for cpu explicitly.
26033 Thu Nov 4 14:21:25 1993 Doug Evans (dje@canuck.cygnus.com)
26035 * libc/sys/sparc64/{creat.c,junk.c}: New files.
26036 * libc/sys/sparc64/Makefile.in: Add dependencies.
26038 Wed Nov 3 10:42:49 1993 Doug Evans (dje@canuck.cygnus.com)
26040 * configure.in: Clean up v9 a bit, new "os" aoutv8.
26042 Tue Nov 2 10:00:44 1993 D. V. Henkel-Wallace (gumby@cygnus.com)
26044 * libc/include/sys/reent.h: make structure smaller by allocating
26045 some stuff when needed.
26046 * libc/signal/signal.c: allocate as needed
26047 * libc/stdio/findfp.c,stdio/local.h: ditto
26048 * libc/stdlib/mprec.c: ditto
26050 * libc/time/localtime.c: don't return a dangling stack ptr.
26052 Wed Sep 29 20:42:34 1993 Rob Savoye (rob@darkstar.cygnus.com)
26054 * stub/mvme135/crt0.S, stub/mvme135/glue.c: Moved to stub/generic.
26056 Wed Sep 29 16:27:49 1993 K. Richard Pixley (rich@sendai.cygnus.com)
26058 * libc/include/stdio.h (__sputc): comment out static inline which
26059 confuses coff toolchains.
26061 Thu Sep 2 16:31:36 1993 Mark Eichin (eichin@cygnus.com)
26063 * libc/sys/a29khif/{_close.s, _fstat.s, _lseek.s, _sbrk.s,
26064 _write.s, getpid.c, kill.c, read.s}:
26065 * libc/sys/a29khif/stubs.s: eliminated stubs that already go
26066 through the syscalls directory.
26068 Fri Oct 29 13:59:58 1993 Jeffrey Wheat (cassidy@cygnus.com)
26070 * configure.in: fixed double quote gotcha.
26072 Wed Oct 27 15:27:09 1993 Rob Savoye (rob@darkstar.cygnus.com)
26074 * stub/ex931: stub library for sparclite board.
26075 * stub/idp: Renamed from mc68ec. Added contructor table
26076 stuff to linker script.
26077 * stub/mvme135: Renamed from m68kmvme. Added contructor table
26078 stuff to linker script.
26080 Tue Oct 26 17:01:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
26082 * configure.in: Configure testsuites only if they exist.
26084 Tue Oct 26 12:37:11 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
26086 * configure.in: Don't set machine_dir for i386 until there is
26087 something in libc/machine/i386 to compile. For i[34]86-*-netware*
26088 use sys/netware, don't use signal, define NO_EXEC, ABORT_PROVIDED,
26089 CLOCK_PROVIDED and MALLOC_PROVIDED.
26091 * libc/sys/netware: New directory. Contains simplistic and
26092 probably incorrect stubs for NetWare. Should be enough to load
26094 * libc/sys/netware/crt0.c, libc/sys/netware/environ.c,
26095 libc/sys/netware/getpid.c, libc/sys/netware/link.c: New NetWare
26098 * libc/reent/execr.c: Don't use if NO_EXEC is defined.
26099 * libc/reent/sbrkr.c: Don't use if MALLOC_PROVIDED is defined.
26100 * libc/stdlib/abort.c: Don't use if ABORT_PROVIDED is defined.
26101 * libc/time/clock.c: Don't use if CLOCK_PROVIDED is defined.
26103 Mon Oct 25 16:48:08 1993 Roland H. Pesch (pesch@cygnus.com)
26105 * testsuite/Makefile.in: add "docs" dummy target for consistency
26106 with rest of newlib; turn "info" and "install-info" into dummy
26107 targets, since they wouldn't have worked. (Depended on
26108 nonexistent "doc" subdir.)
26110 Fri Oct 22 20:37:32 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
26112 * configure.in: handle mips* instead of mips
26114 Thu Oct 21 08:57:24 1993 Ian Lance Taylor (ian@cygnus.com)
26116 * libc/include/sys/dirent.h: New file. If it is not overridden by
26117 a version of libc/sys/*/sys/dirent.h, it includes the next
26118 <dirent.h> file in case there is one lurking somewhere.
26120 Fri Oct 15 14:17:40 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
26122 * libc/stdlib/strtoul.c (_strtoul_r): Several changes for ANSI
26123 compliance, namely: Accept a minus sign. Consider a single 0 with
26124 a radix of 0 as being a conversion. Determine overflow correctly.
26125 If an overflow occurs, set *ptr to the end of the number, not the
26127 * lib/stdlib/strtol.c (_strtol_r): Determine overflow correctly.
26129 Thu Oct 14 21:49:52 1993 Doug Evans (dje@canuck.cygnus.com)
26131 * libc/machine/h8300/divsi3.S (divmodsi4): Fix h8300h case.
26133 Fri Oct 1 17:17:34 1993 Doug Evans (dje@canuck.cygnus.com)
26135 * Makefile.in (INSTALL): Use $srcrootpre.
26136 (crt0.o): Replace $< with $(CRT0_DIR)/$(CRT0), Sun make
26138 * libc/Makefile.in (crt0.o): Spell out $<, Sun make can't handle
26140 * libc/sys/Makefile.in (crt0.o, lib.a): Ditto.
26141 * stub/Makefile.in (crt0.o, TARGETLIB): Ditto.
26142 * libc/sys/sparc64/Makefile.in (isatty.o): Sun VPATH lossage.
26143 * libm/math/Makefile.in (matherr.o): Ditto.
26145 Thu Sep 30 11:09:17 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
26147 * configure.in: Build multidirs for z8k.
26148 * libc/include/stdlib.h (_strtoul_r): add prototype.
26149 * libc/include/machine/limits.h: Get INT_MIN right for all the z8k family.
26150 * libc/include/machine/setjmp.h: Add for z8k.
26151 * libc/machine/z8k/{mulsi.o, udivsi3.o, umodsi3.o, modsi3.o} obsolete.
26152 * libc/sys/z8ksim/glue.c: tidy up.
26154 Mon Sep 20 14:04:46 1993 Doug Evans (dje@canuck.cygnus.com)
26156 * libc/unix/{execl.c execle.c execlp.c execv.c execvp.c}:
26157 New files. Requires execve system call.
26158 * libc/unix/Makefile.in: Use them.
26159 * libc/sys/sparc64/{execl.c execle.c execlp.c execv.c execvp.c}:
26160 Deleted, moved to libc/unix.
26161 * libc/sys/sparc64/Makefile.in: Remove them.
26163 Mon Sep 20 10:38:32 1993 Doug Evans (dje@canuck.cygnus.com)
26165 * libc/sys/sparc64/{template.S template_r.S}: New files.
26166 * libc/sys/sparc64/Makefile.in: Build source for trivial syscalls
26168 * libc/sys/sparc64/{chdir.S chmod.S close.S dup.S fcntl.S
26169 fork.S fstat.S lseek.S link.S mkdir.S open.S pipe.S read.S rmdir.S
26170 umask.S unlink.S wait4.S write.S}: Removed, now built from
26173 Sun Sep 19 14:52:57 1993 Doug Evans (dje@canuck.cygnus.com)
26175 * libc/time/time.c: #include <_ansi.h>.
26177 Sun Sep 19 13:43:25 1993 Doug Evans (dje@canuck.cygnus.com)
26179 * configure.in (sparc64-*-*): Remove -D__SIZE_TYPE__.
26181 Mon Sep 13 13:52:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
26183 * configure.in: match m8* rather than m88k so that m88110 is
26184 recognized as well.
26186 Tue Sep 7 12:19:32 1993 Doug Evans (dje@canuck.cygnus.com)
26188 * libc/sys/h8300hms/{Makefile.in, _exit.c, misc.c}:
26189 Renamed exit.c to _exit.c to avoid collision with stdlib/exit.c.
26192 * configure.in: Add multilib support to h8300.
26194 Mon Sep 6 14:07:06 1993 Doug Evans (dje@canuck.cygnus.com)
26196 * libc/stdlib/abort.c (abort): Remove _VOLATILE from return type.
26197 * libc/include/_ansi.h (_ATTRIBUTE): New macro for __attribute__.
26198 * libc/include/stdlib.h (exit, abort): Add noreturn attribute.
26200 Mon Sep 6 14:24:18 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
26202 * configure.in: Corrected multidirs for sparc target.
26204 Mon Aug 30 15:56:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
26206 Support for building newlib multiple times with different
26208 * configure.in: Only configure doc at top level. Set multidirs
26209 when appropriate for target, unless not at top level. If
26210 multidirs is set, independently configure each subdirectory.
26211 Adjust TOP, MULTIDIRS and MULTISUBDIR appropriately in Makefile.
26212 * Makefile.in (MULTIDIRS, MULTISUBDIR): New variables,
26213 automagically set by configure.in.
26214 (all): If MULTIDIRS is set, build multiple copies of libraries.
26215 (install): If MULTIDIRS is set, install multiple copies of
26216 libraries. Install in $(tooldir)/lib/$(MULTISUBDIR). If
26217 MULTISUBDIR is set, don't bother to install header files.
26218 * host/any (INCLUDES, CHEW): Use $(SRCTOP) rather than $(TOP) from
26220 * stub/configure.in: Set MULTISUBDIR appropriately.
26221 * stub/Makefile.in (install): Install in
26222 $(tooldir)/lib/$(MULTISUBDIR).
26223 * All Makefile.in files: Define SRCTOP as well as TOP.
26225 Mon Aug 30 10:34:24 1993 Doug Evans (dje@canuck.cygnus.com)
26227 * libc/machine/h8300/{mulhi3.S, divhi3.S}: Comment out if h8300h.
26228 * libc/machine/h8300/{mulsi3.S, divsi3.S}: Add h8300h support.
26230 Thu Aug 26 19:38:12 1993 Doug Evans (dje@canuck.cygnus.com)
26232 * libc/sys/h8300hms/exit.c (_exit): New function.
26234 Wed Aug 25 16:31:48 1993 K. Richard Pixley (rich@sendai.cygnus.com)
26236 * configure.in: recognize m88110.
26238 Fri Aug 20 16:46:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
26240 * libc/sys/m88kbug/crt0.c: pretty up, remove extraneous comments,
26241 prototype main and call with args.
26243 Fri Jul 30 16:52:47 1993 K. Richard Pixley (rich@cygnus.com)
26245 First real try at system traps for m88k-bug.
26246 * libc/sys/m88kbug/syscalls.c: many changes. Convert from stubs
26247 to real trap calls.
26248 * libc/sys/m88kbug/sys/systraps.h: new file.
26250 Tue Jul 27 16:31:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
26252 Patches to fix info building when target does not use sys
26254 * libc/Makefile.in (targetdep.tex): add sys.tex separately.
26255 * libc/sys.tex, libc/sys/sys.tex: moved from libc/sys/sys.tex to
26257 * libc/sys/Makefile.in (doc): do nothing.
26259 Mon Jul 26 17:08:11 1993 K. Richard Pixley (rich@sendai.cygnus.com)
26261 * libc/Makefile.in (CRT0): new macro.
26262 (all): depend on $(CRT0) rather than crt0.o.
26264 * configure.in: fix libc_sys_dir -> libc_sys_lib thinko.
26265 do not default crt0, instead, set crt0 and crt0_dir based on
26266 sys_dir and stub_dir.
26268 * Makefile.in (CRT0_DIR): new macro.
26269 (all): depend on $(CRT0) rather than crt0.o which may not exist.
26270 (crt0.o): depend on $(CRT0_DIR)/$(CRT0) rather than simply
26272 ($(CRT0)): recur by cd'ing into $(CRT0_DIR).
26274 Sun Jul 25 17:51:51 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
26276 * testsuite/lib/libm.exp:
26277 added code to support compiling and linking of tests for
26278 libm.sac (paranoia to be added next) and processing the
26279 pass or failure of the tests.
26281 * testsuite/config/unix-libm.exp:
26282 platform specific proc's for dealing with compiler, linker
26283 and the way we execute and process the test results.
26285 * testsuite/libm.sac/execute.exp:
26286 generic framework for the sac tests. the config and lib
26287 expect code for specific platforms tie it all together.
26289 * testsuite/libm.sac/test_is.c:
26290 changed the output of the test to be consistant with the
26291 other tests. parsing of pass nad fail messages is now fixed.
26293 Fri Jul 23 19:20:07 1993 Per Bothner (bothner@kalessin)
26295 * libc/include/{assert.h, ctype.h, dirent.h, errno.h, fastmath.h,
26296 locale.h, math.h, pwd.h, reent.h, setjmp.h, signal.h, stdio.h,
26297 stdlib.h, string.h, termios.h, time.h, utime.h, utmp.h}: For C++:
26298 #ifdef __cplusplus, surround by extern ""C { ... }.
26299 * libc/include/assert.h: Do *not* protect assert.h against
26300 multiple inclusion! Also, #undef it before #define, to allow
26302 * libc/include/stdio.h (getlogin, cuserid): Removed. These
26303 should be only in unistd.h.
26305 * libc/include/sys/{fcntl.h, reent.h, stat.h, time.h, times.h,
26306 unistd.h}: For C++: #ifdef __cplusplus, surround by extern ""C {
26309 Fri Jul 23 10:15:33 1993 Doug Evans (dje@canuck.cygnus.com)
26311 * libc/machine/sparc/Makefile.in: Must create a library, even
26314 Wed Jul 21 16:00:37 1993 K. Richard Pixley (rich@sendai.cygnus.com)
26316 * configure.in: set machine_dir for m88k. edit crt0 definition
26319 * Makefile.in, libc/Makefile.in (crt0): pull up from lower directories.
26321 * libc/Makefile.in (all): also build crt0.o.
26323 * libc/machine/i386/Makefile.in, libc/machine/sparc/Makefile.in,
26324 libc/machine/z8k/Makefile.in, libm/Makefile.in (clean): no need
26327 * libc/machine/m88k/Makefile.in (TOP, TARGETLIB): removed.
26328 (all): reworked to build in place.
26329 (clean): remove lib.a
26330 (Makefile): remove redundant ./, call $(SHELL) rather than sh.
26332 * libc/sys/m88kbug/crt0.c (start): renamed to _start.
26333 (_start): key off edata rather than _start_bss.
26335 Wed Jul 21 14:29:47 1993 david d `zoo' zuhn (zoo@cygnus.com)
26337 * libc/include/sys/unistd.h, libc/include/reent.h,
26338 libc/reent/sbrkr.c: change sbrk to return void* instead of char*.
26340 Tue Jul 20 13:19:18 1993 K. Richard Pixley (rich@sendai.cygnus.com)
26342 * libm/Makefile.in, libc/Makefile.in ($(SUBDIRS)): dollar escape a dollar sign.
26344 * Makefile.in (libc.a): break into two rules, one for libc.a and
26345 one for libc/libc.a. Force subdirs current before rebuilding
26347 (libm.a): break into two rules, one for libm.a and one for
26348 libm/libm.a. Force subdirs current before rebuilding library.
26350 * libc/Makefile.in (SUBLIBS): fix typo.
26352 * libc/sys/Makefile.in (all): force descent into subdirs, then
26353 rebuild library iff out of of date.
26355 Fri Jul 16 17:47:57 1993 K. Richard Pixley (rich@sendai.cygnus.com)
26357 Rework so that library is built and then finished rather than
26358 being built on each invocation of make.
26360 * host/any (machine_dir, sys_dir, signal_dir): these are not
26361 shared and have been moved to their associated Makefile.in's.
26362 (AR_FLAGS): switch to qc which is faster.
26363 * configure.in: no longer assign machine_dir for m88k. set
26364 stub_dir, stub_lib, & crt0 for m68k*-unknown-{aout,coff}. If
26365 stub_dir set, then add to configdirs. add comment about silly
26367 (configdirs): drop stub. It will be added only
26369 (libm_fp_lib, libc_unix_lib, libc_signal_lib, libc_machine_lib,
26370 libc_sys_dir, fake_sys_dir, libc_fake_sys_lib, stub_dir,
26371 stub_lib, crt0): new variables for tailoring lower level
26372 makefiles. Assign accordingly and edit into makefiles.
26373 * libm/Makefile.in: updated copyright.
26374 (TARGETLIB): removed.
26375 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir.
26376 (SUBDIRS): removed TARGETDEP_DIRS.
26377 (LIBM_FP_LIB, SUBLIBS): new macros.
26379 (force): new target to force rebuilds.
26380 (Makefile): call $(SHELL) rather than sh. drop redundant ./
26381 * libc/sys/a29khif/Makefile.in, libc/sys/decstation/Makefile.in,
26382 libc/sys/go32/Makefile.in, libc/sys/h8300hms/Makefile.in,
26383 libc/sys/h8500hms/Makefile.in, libc/sys/m88kbug/Makefile.in,
26384 libc/sys/sh/Makefile.in, libc/sys/sparc64/Makefile.in,
26385 libc/sys/sun4/Makefile.in, libc/sys/sysvi386/Makefile.in,
26386 libc/sys/sysvnecv70/Makefile.in, libc/sys/z8ksim/Makefile.in,
26387 stub/m68kmvme/Makefile.in: updated copyright.
26388 (TARGETLIB, TARGETCRT0, CRT0): macros removed.
26389 (all): reworked. made this the default rule.
26390 (clean): also remove lib.a.
26391 (Makefile): call $(SHELL) rather than sh. drop redundant ./
26392 * stub/Makefile.in: updated copyright.
26393 (TARGETLIB, TARGETCRT0, CRT0, TOP): removed.
26394 (stub_lib): new macro.
26395 (FLAGS_TO_PASS): removed TARGETLIB, stub_dir, TARGETCRT0. Added
26398 (clean, install): assume stub_dir exists.
26399 (Makefile): depend on configure.in. call $(SHELL) rather than
26400 sh. drop redundant ./
26401 * stub/configure.in (stublib): new macro, assign it, edit it into
26403 * Makefile, libc/Makefile.in, doc/Makefile.in, libc/sys/Makefile.in:
26406 (Makefile): call $(SHELL) rather than sh. drop redundant ./
26407 * libc/Makefile.in (TARGETCRT0): removed.
26408 (FLAGS_TO_PASS): dropped TARGETLIB, machine_dir, sys_dir,
26410 (SUBDIRS): drop TARGETDEP_DIRS.
26411 (LIBC_SIGNAL_LIB, LIBC_SYS_LIB, LIBC_MACHINE_LIB, LIBC_UNIX_LIB,
26412 LIBC_FAKE_SYS_LIB, SUBLIBS): new macros for configuration.
26413 (force): new target to force rebuilds.
26414 * libc/sys/Makefile.in (TARGETCRT0, sys_dir): removed.
26415 (FLAGS_TO_PASS): TARGETLIB, machine_dir, sys_dir, TARGETCRT0
26417 (clean): assume sys_dir always exists.
26418 * libm/test/Makefile.in (Makefile): call $(SHELL) rather than sh.
26420 * libc/ctype/Makefile.in, libc/errno/Makefile.in,
26421 libc/locale/Makefile.in, libc/machine/Makefile.in,
26422 libc/machine/a29k/Makefile.in, libc/machine/h8300/Makefile.in,
26423 libc/machine/h8500/Makefile.in, libc/machine/i386/Makefile.in,
26424 libc/machine/i960/Makefile.in, libc/machine/m68k/Makefile.in,
26425 libc/machine/mips/Makefile.in, libc/machine/necv70/Makefile.in,
26426 libc/machine/sh/Makefile.in, libc/machine/sparc/Makefile.in,
26427 libc/machine/z8k/Makefile.in, libc/reent/Makefile.in,
26428 libc/signal/Makefile.in, libc/stdio/Makefile.in,
26429 libc/stdlib/Makefile.in, libc/string/Makefile.in,
26430 libc/sys/Makefile.in, libc/syscalls/Makefile.in,
26431 libc/time/Makefile.in, libc/unix/Makefile.in,
26432 libm/ieeefp/Makefile.in, libm/math/Makefile.in: updated copyright.
26433 (TARGETLIB): removed.
26435 (clean): also remove lib.a.
26436 (Makefile): call $(SHELL) rather than sh. drop redundant ./
26437 * Makefile.in: (machine_dir, sys_dir, stub_dir, stub_lib, CRT0):
26439 (SUBDIRS): moved to follow frag inclusion, change stub to
26441 (FLAGS_TO_PASS): removed machine_dir, sys_dir, signal_dir which
26442 are now set in the libc Makefile.
26443 * libc/machine/Makefile.in (TARGETCRT0, machine_dir): removed.
26444 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir,
26446 (force): new target to force rebuilds.
26447 * stub/configure.in: determine and set stub_lib for for Makefile.
26449 Thu Jul 15 12:01:27 1993 Doug Evans (dje@canuck.cygnus.com)
26451 * libc/sys/h8300hms/Makefile.in: Make `all' the default target.
26452 crt0.s renamed to crt0.S.
26453 * libc/sys/h8300hms/crt0.S: Add h8/300h support.
26455 * libc/machine/h8300/Makefile.in: Make `all' the default target.
26456 * libc/machine/h8300/{cmpsi.S,ucmpsi.S}: #ifdef out entire file if
26458 * libc/machine/h8300/defines.h: Add macros to handle pointers for
26459 h8300 (16 bits) and h8300h (32 bits).
26460 * libc/machine/h8300/{divsi3.S,mulsi3.S,memcpy.S,memset.S,
26461 reg_memcpy.S,reg_memset.S,strcmp.S}: Add h8300h support.
26463 Thu Jul 15 10:13:29 1993 Ian Lance Taylor (ian@cygnus.com)
26465 * libc/machine/m88k/setjmp.S, Makefile.in: New files; a simple
26466 implementation of setjmp and longjmp for the m88k.
26467 * libc/include/machine/setjmp.h: Added __m88000__ case.
26469 Wed Jul 14 10:10:30 1993 Doug Evans (dje@canuck.cygnus.com)
26471 * configure.in: Recognize h8300h as variant of h8300.
26473 Tue Jul 13 12:24:11 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
26475 * libc/include/sys/unistd.h (read, write): get prototypes right.
26476 (sbrk): New prototype.
26477 * libc/reent/sbrkr.c (sbrkr): Use correct sbrk prototype.
26478 * libc/stdio/local.h: Include unistd.h.
26479 * libc/machine/h8300/syscalls.c: Names have changed.
26481 Mon Jul 12 18:08:42 1993 K. Richard Pixley (rich@cygnus.com)
26483 * configure.in: add sys_dir assignment for m88k-bug.
26485 Thu Jul 8 09:16:21 1993 Doug Evans (dje@canuck.cygnus.com)
26487 * libc/sys/sparc64/sys/syscallasm.h: New macros to handle either
26489 * libc/sys/sparc64: all *.S files: Use new macros.
26490 * libc/sys/sparc64/isatty.c: New file.
26491 * libc/sys/sparc64/Makefile.in: Stop using /lib/libc.a for
26492 functions beyond what newlib provides.
26494 Thu Jul 8 09:11:28 1993 Doug Evans (dje@canuck.cygnus.com)
26496 * libc/include/sys/stat.h: Move st_atime so not doubly defined for
26499 Thu Jul 8 09:09:16 1993 Doug Evans (dje@canuck.cygnus.com)
26501 * libc/include/machine/ieeefp.h: Add support for h8/300h.
26503 Fri Jul 2 10:11:20 1993 K. Richard Pixley (rich@cygnus.com)
26505 * configure.in: add m88k.
26506 * libc/include/machine/ieeefp.h: add case for m88k. Also add
26507 sanity check so no one else need ever chase what I did to find
26510 * libm/math/Makefile.in (FAKEC): added atanf.c log1pf.c scalbnf.c.
26512 Fri Jul 2 09:15:21 1993 Ian Lance Taylor (ian@cygnus.com)
26514 * doc/makedoc.c: Include <ctype.h>.
26516 Wed Jun 30 09:35:06 1993 Doug Evans (dje@canuck.cygnus.com)
26518 * libc/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
26519 * libc/sys/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
26520 * libc/machine/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
26522 * libm/test/Makefile.in (all): Link with ../../lib[cm].a.
26524 Sun Jun 27 17:05:20 1993 Doug Evans (dje@sphagnum.cygnus.com)
26526 * libc/include/errno.h (ENOSYS): Added.
26528 * libc/unix/getpwd.c (getcwd): Fix typo (_up -> up).
26530 Mon Jun 21 09:03:32 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
26532 * libc/stdio/fflush.c (fflush): Check for reent struct
26534 * libc/stdio/fdopen.c (fdopen): Avoid namespace conflict.
26536 Fri Jun 18 16:06:05 1993 Mark Eichin (eichin@rtl.cygnus.com)
26538 * libc/stdlib/dtoastub.c: new file -- move user callable "dtoa"
26539 out of dtoa.c so it doesn't pollute the namespace.
26540 * libc/include/_syslist.h: new file -- mappings from _function to
26541 function, for systems where we can't win (by default, all of them,
26542 until we start updating system calls.)
26543 * libc/syscalls: new directory -- stubs for exporting _function
26544 names as unmodified function names.
26545 * libc/configure.in: add MISSING_SYSCALL_NAMES to enable
26546 _syslist.h on all platforms by default, but put hooks in for
26547 fake_sys_dir so we can include it when we've renamed the system
26549 * libc/reent/execr.c libc/reent/filer.c libc/reent/fstatr.c
26550 libc/reent/linkr.c libc/reent/sbrkr.c libc/reent/statr.c
26551 libc/signal/raise.c libc/signal/signal.c libc/stdio/fdopen.c
26552 libc/stdio/mktemp.c libc/stdio/tmpnam.c libc/stdlib/abort.c
26553 libc/stdlib/system.c libc/unix/getcwd.c libc/unix/getlogin.c
26554 libc/unix/getpass.c libc/unix/getut.c libc/unix/ttyname.c: change
26555 non ANSI functions to call _function.
26557 Wed Jun 9 09:48:26 1993 Ian Lance Taylor (ian@cygnus.com)
26559 * libc/stdlib/strtoul.c (_strtoul_r): Handle leading 0 correctly
26560 when base 16 is specified. Don't accept non-digits if radix > 10.
26562 Thu Jun 3 10:01:15 1993 Doug Evans (dje@canuck.cygnus.com)
26564 * libc/include/math.h: Rename xxx_r fns to _xxx_r.
26566 Wed Jun 2 16:54:16 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
26568 * libc/include/sys/stat.h: Surround text after #endif with
26571 Wed Jun 2 12:47:32 1993 Ian Lance Taylor (ian@cygnus.com)
26573 * libc/stdlib/mallocr.c: If MALLOC_PROVIDED is defined, just make
26574 _malloc_r, _realloc_r, and free_r call the corresponding
26575 non-reentrant functions.
26577 * libm/math/modf.c (modf): We now take the address of ipart, so
26578 don't make it a register variable.
26580 Tue Jun 1 18:25:54 1993 Doug Evans (dje@canuck.cygnus.com)
26582 * libm/math/*: Rename all xxx_r fns to _xxx_r.
26584 Wed May 26 22:06:35 1993 Roland H. Pesch (pesch@cygnus.com)
26586 * libc/libc.texinfo and embedded docn throughout: formatting
26587 improvements, minor rephrasing for clarity, and improved
26590 Sun May 23 17:29:49 1993 Steve Chamberlain (sac@thepub.cygnus.com)
26592 * libm/ieeefp/infinity.c (maxpowtwof): Fix initialzation bug.
26594 * libc/stdio/cvt.c (_licvt): Print the right value on machines
26595 where sizeof(int) != sizeof(long).
26597 Fri May 21 22:09:32 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
26599 * libc/reent/execr.c, libc/reent/filer.c, libc/reent/linkr.c,
26600 libc/reent/sbrkr.c, libc/reent/statr.c, libc/stdio/tmpnam.c,
26601 libc/stdlib/atol.c, libc/stdlib/rand.c, libc/string/strpbrk.c,
26602 libc/string/strspn.c, libm/ieeefp/isnan.c, libm/math/bessel.c,
26603 libm/math/matherr.c: changes for better docn formatting (info).
26605 * libc/libc.texinfo, libc/ctype/ctype.tex, libc/locale/locale/tex,
26606 libc/reent/reent.tex, libc/signal/signal.tex,
26607 libc/stdio/stdio.tex, libc/stdlib/stdlib.tex,
26608 libc/string/strings.tex, libc/sys/sys.tex, libc/time/time.tex,
26609 libm/libm.texinfo, libm/ieeefp/ieeefp.tex, libm/math/math.tex: use
26610 makeinfo node defaulting to get better Info file node structure.
26611 (Requires recent sac change to doc/makedoc.c and doc/doc.str.)
26612 Also include a few formerly missing sections (subroutines).
26614 * doc/doc.str: delete fossil expansion for "func"
26616 * default.menu, no-signal.menu: delete.
26618 * Makefile.in, libc/Makefile.in, configure.in, host/any: simplify
26619 method used to adjust doc for missing "signals" chapter when
26620 signal_dir is empty.
26622 Thu May 20 21:38:37 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
26624 * configure.in: added testsuite/libm.sac
26626 Wed May 19 14:52:34 1993 Doug Evans (dje@thepub.cygnus.com)
26628 * libc/sys/sparc64/crt0.S: Set %g4 to 0 (to test Medium/Anywhere
26631 Tue May 18 13:17:21 1993 Ian Lance Taylor (ian@cygnus.com)
26633 * libm/Makefile.in: Use $(MAKE) rather than make, and define
26634 MAKEOVERRIDES to be empty.
26636 Mon May 17 08:42:44 1993 Ian Lance Taylor (ian@cygnus.com)
26638 * configure.in: Don't build mips-*-* with -msoft-float, since that
26639 makes it incompatible with hard floating point.
26641 Mon May 17 00:03:35 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
26643 * Makefile.in: added recursive 'make check'
26645 Thu May 13 16:24:18 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
26647 * configure.in: added ./testsuite ./testsuite/libm.paranoia
26648 * ./testsuite/Makefile.in: created
26649 * ./testsuite/libm.paranoia: paranoia tests added
26651 Thu May 13 10:30:24 1993 Ian Lance Taylor (ian@cygnus.com)
26653 * configure.in: For mips-*-* set machine_dir to mips.
26655 * libc/machine/mips: New directory.
26656 * libc/machine/mips/Makefile.in: New file.
26657 * libc/machine/mips/setjmp.S: New file; simplistic MIPS version of
26658 setjmp and longjmp.
26659 * libc/include/machine/setjmp.h: Added __mips__ case.
26661 * libc/machine/lmips: Removed unused and useless directory.
26663 Mon May 3 10:22:31 1993 Ian Lance Taylor (ian@cygnus.com)
26665 * configure.in: Accept i486-*-sco* as well as i386-*-sco*.
26667 Thu Apr 15 15:16:44 1993 Doug Evans (dje@canuck.cygnus.com)
26669 * libc/sys/sparc64/crt0.S: Add comment (%g1 contains atexit arg at
26672 Fri Apr 9 13:32:26 1993 Ian Lance Taylor (ian@cygnus.com)
26674 * libc/include/machine/setjmp-dj.h: Use _SETJMP_DJ_H rather than
26677 Thu Apr 8 10:07:18 1993 Doug Evans (dje@canuck.cygnus.com)
26679 * libm/test/convert.c: structure member errno -> errno_val.
26680 Must include <errno.h> to use errno, it's a macro now.
26681 * libm/test/math.c: Ditto.
26682 * libm/test/math2.c: Include errno.h.
26683 * libm/test/string.c: Ditto.
26684 * libm/test/test.h: structure member errno -> errno_val.
26685 Remove extern int errno decl.
26687 Thu Apr 8 07:56:33 1993 Ian Lance Taylor (ian@cygnus.com)
26689 * libc/stdio/Makefile.in: Added dependencies on local header
26691 * libc/stdio/std.h, libc/stdio/vfprintf.h: Removed unused header
26694 Wed Apr 7 16:19:32 1993 Ian Lance Taylor (ian@cygnus.com)
26696 * libc/include/machine/ieeefp.h: Added __MIPSEB__ case.
26698 Wed Apr 7 10:55:21 1993 Doug Evans (dje@canuck.cygnus.com)
26700 * libc/stdio/siprintf.c libc/stdio/sscanf.c libc/stdio/vsprintf.c:
26703 * libc/stdio/vfprintf.c: No need to declare _icvt, _licvt, _sicvt.
26704 * libc/stdio/local.h: Add prototype for _licvt.
26706 * libc/stdio/ungetc.c (__submore): Use _malloc_r,_realloc_r
26707 instead of malloc,reealloc.
26709 * libc/stdlib/local.h: New file.
26710 * libc/stdlib/efgcvt.c: #include local.h.
26711 (gcvt): Fix call to _gcvt.
26712 * libc/stdlib/ecvtbuf.c: #include local.h.
26714 * libc/stdlib/Makefile.in: new files mallocr.c mstats.c.
26715 * libc/stdlib/mallocr.c mstats.c malloc.h: New files.
26716 * libc/stdlib/malloc.c: main routines moved to mallocr.c.
26718 * libc/stdlib/atexit.c: moved global data to struct _reent.
26719 * libc/stdlib/exit.c: use struct _atexit in struct _reent.
26721 * libc/reent/reent.c (inpure_data): _REENT_INIT macro modified.
26723 Wed Apr 7 09:41:50 1993 Doug Evans (dje@canuck.cygnus.com)
26725 * libc/include/sys/reent.h: Stuff required by ANSI headers moved
26726 here from ../reent.h.
26728 Tue Apr 6 12:56:01 1993 Ian Lance Taylor (ian@cygnus.com)
26730 * Makefile.in (MATHOBJS_IN_LIBC): List of object files which
26731 should be provided in both libc.a and libm.a.
26732 (libc.a): Depend on targ-include and libm.a. Copy
26733 $(MATHOBJS_IN_LIBC) from libm.a to libc.a.
26734 (libm.a): Depend on targ-include.
26735 * configure.in (subdirs): Removed libc/math.
26737 Mon Apr 5 10:18:16 1993 Steve Chamberlain (sac@thepub.cygnus.com)
26739 * libm/ieeefp/infinity.c (maxpowtwo): Fix initialization bug.
26741 Sat Apr 3 11:06:07 1993 Doug Evans (dje@canuck.cygnus.com)
26743 * libc/include/{errno.h, math.h, stdio.h, stdlib.h}: Use
26744 sys/reent.h instead of reent.h.
26745 * libc/include/reent.h: Split into two parts: stuff needed by ANSI
26746 headers moved to sys/reent.h.
26747 * libc/include/signal.h: _MAX_SIGNALS moved to sys/signal.h.
26748 * libc/include/sys/signal.h: Define _MAX_SIGNALS if
26749 __need__MAX_SIGNALS defined.
26750 * libc/include/stdio.h: struct __sFILE moved to sys/reent.h.
26751 std{in,out,err} refer to new _std{in,out,err} members.
26753 Fri Apr 2 11:27:12 1993 Doug Evans (dje@canuck.cygnus.com)
26755 * libc/include/sys/signal.h: #define _SYS_SIGNAL_H for general
26758 Fri Apr 2 09:41:10 1993 Doug Evans (dje@canuck.cygnus.com)
26760 * libc/sys/sparc64/execve.S (execve): Insert nop in delay slot,
26761 rather than whatever macro seterrno() has.
26763 Thu Apr 1 16:47:08 1993 Doug Evans (dje@canuck.cygnus.com)
26765 * libc/locale/locale.c: Reentrant routines _r_xxx renamed to
26766 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
26768 * libc/include/machine/fastmath.h: Use _HAVE_STDC instead of
26771 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, reent.c,
26772 reent.tex, sbrkr.c, statr.c}: _r_xxx reentrant routines renamed to
26773 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
26775 * libc/signal/signal.c: Reentrant routines _r_xxx renamed to
26776 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
26778 * libc/stdio/{fclose.c, fdopen.c, findfp.c, fiprintf.c, flags.c,
26779 fopen.c, fprintf.c, freopen.c, fscanf.c, fseek.c, ftell.c,
26780 fwalk.c, getchar.c, gets.c, iprintf.c, local.h, makebuf.c,
26781 mktemp.c, perror.c, printf.c, putchar.c, puts.c, refill.c,
26782 remove.c, rename.c, scanf.c, setvbuf.c, siprintf.c, sprintf.c,
26783 sscanf.c, stdio.c, tmpfile.c, tmpnam.c, vfprintf.c, vfprintf.h,
26784 vfscanf.c, vprintf.c, vsprintf.c}: Reentrant routines _r_xxx
26785 renamed to _xxx_r. struct reent_struct renamed to struct _reent
26786 for ANSI. structure members given leading "_" for ANSI. Use
26787 _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
26789 * libc/stdlib/{__adjust.c, calloc.c, dtoa.c, ecvtbuf.c, malloc.c,
26790 mprec.c, mprec.h, rand.c, std.h, strtod.c, strtol.c, strtoul.c,
26791 system.c}: Reentrant routines _r_xxx renamed to _xxx_r. struct
26792 reent_struct renamed to struct _reent for ANSI.
26793 Structure members given leading "_" for ANSI.
26794 _CONST --> const in prototypes.
26795 Use _HAVE_STDC instead of __STDC__.
26797 * libc/string/strtok.c: Reentrant routines _r_xxx renamed to
26799 struct reent_struct renamed to struct _reent for ANSI.
26800 Structure members given leading "_" for ANSI.
26802 * libc/time/asctime.c: Reentrant routines _r_xxx renamed to
26804 struct reent_struct renamed to struct _reent for ANSI.
26806 * libm/math/{acos.h, acosh.h, asin.c, asinh.h, atanh.h, bessel.h,
26807 cbrt.h, cosh.h, erf.c, erf.h, error.c, exp.c, fmod.c, frexp.h,
26808 gamma.h, hypot.h, ldexp.c, log.h, log10.c, log1p.c log2.c,
26809 mathimpl.h, pow.c, remainder.c, sincos.c, sinh.h, sqrt.h, tan.c,
26810 tanh.h}: struct reent_struct renamed to struct _reent for ANSI.
26812 * libc/include/{_ansi.h, ctype.h, math.h, reent.h, locale.h,
26813 signal.h, stdio.h, stdlib.h, string.h, time.h}:
26814 Use _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
26815 #ifndef _STRICT_ANSI non-ANSI routines.
26816 Reentrant routines renamed from _r_xxx to _xxx_r.
26817 No need to use _STRICT_ANSI on _xxx_r reentrant routines.
26818 Use _STRICT_ANSI instead of __STRICT_ANSI, _ANSI_SOURCE, etc.
26819 Clean up namespace (structure members have leading "_").
26820 struct reent_struct renamed to struct _reent for ANSI compliance.
26821 _CONST --> const in function prototypes.
26823 * libc/include/string.h: Add NULL and size_t.
26825 * libc/sys/sparc64/Makefile.in: New syscall routines for link,
26826 unlink, wait, wait4. Reentrant syscall routines close, fork,
26827 fstat, link, lseek, open, read, sbrk, stat, unlink, wait, wait4,
26829 * libc/sys/sparc64/cerror.S (cerror_r): New routine.
26830 * libc/sys/sparc64/{close.S, fork.S, fstat.S, link.S, lseek.S,
26831 open.S, read.S, sbrk.S, stat.S, unlink.S, wait.S, wait4.S,
26832 write.S}: Define reentrant versions.
26833 * libc/sys/sparc64/sys/syscallasm.h (defsyscall_r): New macro for
26834 reentrant syscalls.
26836 * libc/sys/sparc64/crt0.S (start): Fix initialization of environ.
26838 * libc/include/stdlib.h (RAND_MAX): Fix value.
26840 Thu Apr 1 12:28:30 1993 Ian Lance Taylor (ian@cygnus.com)
26842 * libc/sys/a29khif/_main.c: Removed unnecessary file.
26843 * libc/sys/a29khif/Makefile.in (OFILES): Removed _main.c, moved
26844 VPATH support targets after all: target.
26846 * stub/mvme135/mvme.S: Renamed exceptionhandler to
26847 exceptionHandler, which is what mvme135-stub.c expects.
26849 Wed Mar 31 17:42:03 1993 Doug Evans (dje@cygnus.com)
26851 * libc/stdio/tmpnam.c (worker): Fix test for _r_open() failure.
26853 * libc/unix/getpass.c (getpass): Use stdin,stderr instead of
26854 def_stdin/def_stderr (latter removed from stdio.h to make it ANSI
26857 Tue Mar 30 09:58:21 1993 Doug Evans (dje@canuck.cygnus.com)
26859 * libc/reent/execr.c (_r_wait): Re-order args to make reent_struct
26861 libc/reent/filer.c (_r_open, _r_close, _r_lseek, _r_read,
26863 libc/reent/fstatr.c (_r_fstat): Ditto.
26864 libc/reent/linkr.c (_r_link, _r_unlink): Ditto.
26865 libc/reent/sbrkr.c (_r_sbrk): Ditto.
26866 libc/reent/statr.c (_r_stat): Ditto.
26868 * libc/stdio/fopen.c (_r_fopen): Re-order args to _r_open.
26869 * libc/stdio/freopen.c (freopen): Ditto for _r_open, _r_free.
26870 * libc/stdio/fseek.c (fseek): Ditto for _r_fseek.
26871 * libc/stdio/makebuf.c (__smakebuf): Ditto for _r_fstat.
26872 * libc/stdio/mktemp.c (_gettemp): Ditto for _r_stat, _r_open.
26873 * libc/stdio/remove.c (_r_remove): Ditto for _r_unlink.
26874 * libc/stdio/rename.c (_r_rename): Ditto for _r_link, _r_unlink.
26875 * libc/stdio/stdio.c (__sread): Ditto for _r_read.
26876 (__swrite): Ditto for _r_lseek, _r_write.
26877 (__sseek): Ditto for _r_lseek.
26878 (__close): Ditto for _r_close.
26879 * libc/stdio/tmpnam.c (worker): Ditto for _r_open, _r_close.
26881 * libc/stdlib/malloc.c (_r_morecore): Re-order args to _r_sbrk.
26882 * libc/stdlib/system.c (_r_system): Ditto for _r_wait.
26884 * libc/include/reent.h: Re-order arguments to _r_xxx syscall fns
26885 to make reent_struct the first argument (and thus consistent with
26886 the rest of newlib).
26888 * stub/mvme135/mvme135-stub.c (initializeRemcomErrorFrame): Remove
26889 reference to __STDC__.
26891 Mon Mar 29 12:34:32 1993 Doug Evans (dje@canuck.cygnus.com)
26893 * libc/stdlib/exit.c (exit): Use _REENT->__cleanup instead of
26896 Wed Mar 24 11:54:35 1993 Doug Evans (dje@canuck.cygnus.com)
26898 * libc/stdio/freopen.c (freopen): Ensure stdio is initialized
26900 libc/stdio/fclose.c (fclose): Ditto.
26902 Tue Mar 23 01:26:52 1993 Doug Evans (dje@rtl.cygnus.com)
26904 * Run through indent and rename reentrant routines for ANSI.
26905 libc/stdio/{clearerr.c cvt.c fclose.c fdopen.c feof.c ferror.c
26906 fflush.c fgetc.c fgetpos.c fgets.c findfp.c fiprintf.c flags.c
26907 fopen.c fprintf.c fputc.c fputs.c fread.c freopen.c fscanf.c
26908 fseek.c fsetpos.c ftell.c fvwrite.c fwalk.c fwrite.c getc.c
26909 getchar.c gets.c iprintf.c makebuf.c mktemp.c perror.c printf.c
26910 putc.c putchar.c puts.c refill.c remove.c rename.c rewind.c rget.c
26911 scanf.c setbuf.c setvbuf.c siprintf.c sprintf.c sscanf.c stdio.c
26912 tmpfile.c tmpnam.c ungetc.c vfprintf.c vfscanf.c vprintf.c
26913 vsprintf.c wbuf.c wsetup.c local.h}
26915 * libc/locale/locale.c: Reformat and rename for ANSI, GNU style.
26917 * Run through indent and rename xxx_r fns to _r_xxx for ANSI.
26918 libc/stdlib/{__adjust.c __exp10.c __ten_mu.c abort.c abs.c
26919 assert.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c
26920 dtoa.c ecvtbuf.c efgcvt.c exit.c getenv.c labs.c ldiv.c malloc.c
26921 mbtowc.c mprec.c putenv.c qsort.c rand.c setenv.c strdup.c
26922 strtod.c strtol.c strtoul.c system.c wctomb.c mprec.h}
26924 * Run through indent.
26925 libc/string/{bcmp.c bcopy.c bzero.c index.c memchr.c memcmp.c
26926 memcpy.c memmove.c memset.c rindex.c strcat.c strchr.c strcmp.c
26927 strcoll.c strcpy.c strcspn.c strerror.c strlen.c strncat.c
26928 strncmp.c strncpy.c strpbrk.c strrchr.c strspn.c strstr.c strtok.c
26931 * libc/time/{asctime.c clock.c ctime.c difftime.c gmtime.c
26932 localtime.c mktime.c strftime.c time.c}:
26933 Run through indent and rename xxx_r (reentrant) fns to _r_xxx for ANSI.
26935 * Reformatting + renaming (for ANSI, GNU style, consistency).
26936 libc/include/{_ansi.h, assert.h, ctype.h, errno.h, fastmath.h,
26937 ieeefp.h, locale.h, math.h, paths.h, pwd.h, reent.h, setjmp.h,
26938 signal.h, stdio.h, stdlib.h, string.h, time.h, unistd.h}
26940 Fri Mar 19 11:28:01 1993 Doug Evans (dje@cygnus.com)
26942 * libc/include/stdio.h (stdin_r): Fix.
26944 Fri Mar 19 09:43:48 1993 Ian Lance Taylor (ian@cygnus.com)
26946 * Makefile.in: Unexport some variables to keep GNU make from
26947 putting them in the environment and using up needed ARG_MAX space
26948 (a hack is used to let this work with older makes as well).
26950 Tue Mar 16 15:11:08 1993 Ian Lance Taylor (ian@cygnus.com)
26952 * Makefile.in: Use $(MAKE) rather than make.
26953 (MAKEOVERRIDES): Define to be empty.
26954 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
26955 (libc.a, libm.a): Depend on targ-include.
26956 * host/any (LD): Don't define.
26957 (INCLUDES): Use targ-include.
26958 * stub/Makefile.in (MAKEOVERRIDES): Define to be empty.
26959 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
26960 * libc/Makefile.in: Use $(MAKE) rather than make.
26961 (MAKEOVERRIDES): Define to be empty.
26962 (FLAGS_TO_PASS): Don't pass LD (it's not used).
26963 (all): Rewrote to be slightly smaller.
26964 * libc/machine/Makefile.in, libc/sys/Makefile.in (MAKEOVERRIDES):
26965 Define to be empty.
26966 (FLAGS_TO_PASS): Don't pass LD (it's not used).
26967 * libm/Makefile.in (FLAGS_TO_PASS): Don't pass LD (it's not used).
26969 Mon Mar 15 08:45:41 1993 Ian Lance Taylor (ian@cygnus.com)
26971 * libc/sys/go32/gerrno.s: Renamed from errno.s to avoid conflict
26972 with errno/errno.c.
26974 Fri Mar 12 09:46:54 1993 Ian Lance Taylor (ian@cygnus.com)
26976 * Changes for reentrancy.
26977 libc/stdio/fdopen.c, libc/stdio/freopen.c, libc/stdio/perror.c:
26978 Use ptr->_errno, not errno.
26979 libc/stdio/mktemp.c (mkstemp_r, mktemp_r): New functions.
26980 libc/stdio/remove.c (remove_r): New function.
26981 libc/stdio/rename.c (rename_r): New function.
26982 libc/stdio/fopen.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
26983 libc/stdio/makebuf.c, libc/stdio/mktemp.c, libc/stdio/remove.c,
26984 libc/stdio/rename.c, libc/stdio/stdio.c, libc/stdio/tmpnam.c: Use
26985 reentrant versions of system calls.
26986 libc/stdio/gets.c: Call getchar_f, not nonexistent getchar_r.
26987 libc/stdio/scanf.c: Use stdin_r, not nonexistent stdin_n.
26988 libc/stdio/tmpfile.c: Use tmpnam_f, not nonexistent tmpnam_r.
26989 libc/stdio/findfp.c: Include <string.h>.
26990 libc/stdio/fread.c, libc/stdio/rget.c, libc/stdio/scanf.c: Include
26992 libc/stdio/wbuf.c: Include "fvwrite.h"
26994 * libc/stdlib/{dtoa.c, ecvtbuf.c, mprec.c, strtod.c}: Include
26996 libc/stdlib/malloc.c: Call sbrk_r rather than sbrk.
26997 (NULL): Don't define if already defined.
26998 libc/stdlib/system.c: Call reentrant versions of system calls.
26999 (system_r): New function.
27001 * Changes for reentrancy.
27002 libc/include/_ansi.h (_PARAMS): New macro.
27003 libc/include/errno.h: Define errno as a macro that calls __errno.
27004 (__errno_r): New macro for reentrant code.
27005 libc/include/math.h: Include reent.h. Declare many reentrant
27007 (signgam): Now a macro, not a variable.
27008 (struct exception): Added err field.
27009 libc/include/reent.h: Don't declare __sglue. Added function
27011 (struct reent_struct): Moved errno to beginning. Added _signgam.
27012 libc/include/stdio.h, libc/include/stdlib.h: Added function
27015 * More reentrancy hacking.
27016 libc/errno/errno.c (__errno): New function.
27017 libc/reent/execr.c, libc/reent/filer.c, libc/reent/fstatr.c,
27018 libc/reent/linkr.c, libc/reent/sbrkr.c, libc/reent/statr.c: New
27021 * Added many new reentrant functions to libm/math/*.
27022 libm/math/error.c (__matherror): Added reent_struct pointer
27023 argument. Changed all callers.
27024 libm/math/gamma.c (signgam): Removed. Set ptr->_signgam, instead.
27025 libm/math/exp.h, libm/math/pow.h, libm/math/sincos.h,
27026 libm/math/tan.h: Removed obsolete unused header files.
27028 * libc/sys/a29khif/stubs.s: Use register lr0, not v0.
27030 * libc/sys/sun/Makefile.in (COPYOFILES): Don't pull in errno.o.
27032 Mon Mar 8 16:43:43 1993 Steve Chamberlain (sac@thepub.cygnus.com)
27034 * libc/sys/a29khif/stubs.s: clobber safe register, and fill all
27037 Tue Mar 2 14:47:00 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
27039 * libc/libc.texinfo: comment out reentrancy chapter (duh)
27041 Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
27043 * libc/reent/reent.tex: New file. (text from
27044 newlib/libc/libc.texinfo)
27045 * libc/stdio/tmpnam.c: fixed doc typo
27046 * libc/stdlib/rand.c: fixed doc typo
27048 Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
27050 * libc/reent/reent.tex: New file. (text from
27051 newlib/libc/libc.texinfo)
27053 Fri Feb 26 12:20:54 1993 Steve Chamberlain (sac@thepub.cygnus.com)
27055 support for reentrancy
27056 * libc/reent/reent.c, libc/reent/Makefile.in, libc/reent/reent.c:
27058 * libc/errno/errno.c, libc/include/ieeefp.h,
27059 libc/include/locale.h, libc/include/reent.h,
27060 libc/include/signal.h, libc/include/stdio.h,
27061 libc/include/stdlib.h, libc/include/string.h, libc/include/time.h,
27062 libc/signal/signal.c libc/stdio/cvt.c, libc/stdio/fclose.c,
27063 libc/stdio/fdopen.c, libc/stdio/fflush.c, libc/stdio/fgets.c,
27064 libc/stdio/findfp.c, libc/stdio/flags.c, libc/stdio/fopen.c,
27065 libc/stdio/fputc.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
27066 libc/stdio/ftell.c, libc/stdio/fwalk.c, libc/stdio/getchar.c,
27067 libc/stdio/gets.c, libc/stdio/glue.h, libc/stdio/iprintf.c,
27068 libc/stdio/local.h, libc/stdio/makebuf.c, libc/stdio/perror.c,
27069 libc/stdio/printf.c, libc/stdio/putchar.c, libc/stdio/puts.c,
27070 libc/stdio/refill.c, libc/stdio/scanf.c, libc/stdio/setvbuf.c,
27071 libc/stdio/sprintf.c, libc/stdio/tmpfile.c, libc/stdio/tmpnam.c,
27072 libc/stdio/ungetc.c, libc/stdio/vfprintf.c, libc/stdio/vfprintf.h,
27073 libc/stdio/vfscanf.c, libc/stdio/vprintf.c, libc/stdio/wsetup.c,
27074 libc/stdlib/__adjust.c, libc/stdlib/__exp10.c,
27075 libc/stdlib/assert.c, libc/stdlib/atexit.c, libc/stdlib/atol.c,
27076 libc/stdlib/dtoa.c, libc/stdlib/ecvtbuf.c, libc/stdlib/malloc.c,
27077 libc/stdlib/mprec.c, libc/stdlib/mprec.h, libc/stdlib/rand.c,
27078 libc/stdlib/setenv.c, libc/stdlib/std.h, libc/stdlib/strtod.c,
27079 libc/stdlib/strtol.c, libc/stdlib/strtoul.c, libc/string/strtok.c,
27080 libc/time/asctime.c, libc/time/localtime.c, libc/time/mktime.c,
27081 libc/time/strftime.c: modify to provide reentracy.
27084 strtok_r, asctime_r, fdopen_r, _cleanup_r, fopen_r, iprintf_r,
27085 perror_r, printf_r, putchar_r, puts_r, scanf_r, sprintf_r,
27086 tmpfile_r, vfiprintf_r, vfprintf_r, strtod_r, dtoa_r, rand_r,
27087 srand_r, strtoul_r,strtol_r, free_r, malloc_r, morecore_r,
27088 mstats_r, realloc_r, localeconv_r, setlocale_r
27090 Wed Feb 17 20:17:15 1993 Mark Eichin (eichin@cygnus.com)
27092 * libc/include/machine/ieeefp.h, libc/include/machine/setjmp.h,
27093 libc/include/sys/config.h, libc/include/sys/signal.h,
27094 libc/include/sys/stat.h, libc/include/sys/types.h: For compiler
27095 provided macros (such as m68000), use the ansi version
27096 (__m68000__) so that the library can be used with code compiled
27097 -ansi. In particular, m68000, mc68000, _AM29K, i386, MIPSEL, unix,
27100 Wed Feb 17 13:01:34 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
27102 * configure.in (sparc*): Don't set -fsoft-float for sparc
27103 configurations. Do set -fsoft-float for sparclite configurations.
27105 Fri Feb 12 16:25:52 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
27107 * default.menu, no-signal.menu: alternate forms of libc main menu
27108 (in newlib rather than newlib/libc due to configuration restrictions)
27110 * configure.in: select one of the two menus above, link to
27113 * libc/libc.texinfo: include menu from separate file
27115 Fri Feb 12 12:50:06 1993 Ian Lance Taylor (ian@cygnus.com)
27117 * Makefile.in (FLAGS_TO_PASS): Put INSTALL back in.
27118 (info): Split long shell command in half.
27119 * libc/Makefile.in (info, targetdep.tex): Don't pass everything to
27120 sub-makes, just CHEW and TARGETDOC.
27121 (targetdep.tex): Removed now special handling of sys and machine
27122 subdirectories, made obsolete some time ago.
27123 * libc/machine/Makefile.in (doc): Don't pass everything to
27124 sub-make, just CHEW and TARGETDOC.
27125 (Makefile): New target.
27126 * libc/sys/Makefile.in (Makefile): New target.
27128 Thu Feb 11 15:25:15 1993 Ian Lance Taylor (ian@cygnus.com)
27130 * Makefile.in (here and most subdirectories): Only pass down CHEW
27131 and TARGETDOC when making info, not for other targets.
27133 * Makefile.in (here and most subdirectories), host/any: Use $(AR)
27134 $(AR_FLAGS) rather than $(ARUPDATE).
27136 Wed Feb 10 11:57:52 1993 Ian Lance Taylor (ian@cygnus.com)
27138 * Try to reduce command line length:
27139 * Makefile.in (FLAGS_TO_PASS): don't pass down exec_prefix,
27140 CC_FOR_BUILD, CFLAGS_FOR_BUILD, INSTALL or CHEW.
27141 (info, docs): pass CC_FOR_BUILD and CFLAGS_FOR_BUILD to doc.
27142 (info): Pass CHEW to other subdirs.
27144 Tue Feb 9 14:01:42 1993 Mark Eichin (eichin@cygnus.com)
27146 * configure.in: add signal_dir, like unix_dir, but by default it
27147 is set to "signal" so that a29khif can turn it off (since a29khif
27148 has raise() as part of machine-specific signal.s.)
27150 Fri Jan 15 12:09:50 1993 Steve Chamberlain (sac@thepub.cygnus.com)
27152 * libc/sys/config.h, libc/machine/ieeefp.h: add Z8000 support
27153 * libc/stdio/Makefile.in: pass CFLAGS so vfiprintf.c gets built
27155 * libc/stdio/fdopen.c, libc/stdio/fgets.c, libc/stdio/fscanf.c,
27156 libc/stdio/vfprintf: type lint.
27157 * libc/sys/z8ksim/crt0.c (start): Z8001/Z8002 independent
27158 initialzation code.
27159 * libc/sys/z8ksim/glue.c: Z8001/Z8002 clean system calls.
27161 Tue Dec 29 10:15:33 1992 Ian Lance Taylor (ian@cygnus.com)
27163 * stub/mvme135/mvme135-asm.S: new file.
27164 stub/mvme135mvme135-stub.c: moved all assembler routines into
27166 stub/mvme135/Makefile.in: build mvme135-stub.o.
27168 Mon Dec 28 12:40:43 1992 Ian Lance Taylor (ian@cygnus.com)
27170 * Makefile.in: don't pass down $(CPP); use $(CC) -E in
27171 sub-Makefiles instead, to try to avoid line length limitations.
27173 Mon Dec 21 18:36:13 1992 Per Bothner (bothner@rtl.cygnus.com)
27175 * libc/include/unistd.h (read, write): Use void* instead of
27178 Thu Dec 17 13:49:46 1992 Mark Eichin (eichin@cygnus.com)
27180 * stub/go32/resetpc: sample script to send a reset packet to the
27183 * stub/go32/I386STUB.C: new file, gdb/i386stub.c modified for the
27184 DOS environment, which compiles with Turbo C.
27186 * stub/go32/DSER32.LNK: new file, linker commands for serial
27189 * stub/go32/CONTROL.C: turn off debug_mode, add CYGNUS tag line to
27190 start up message to identify version; call set_debug_traps.
27192 * stub/go32/DEBUG.C: turn off debug_mode (so stub doesn't need any
27193 keyboard interaction); call handle_exception() in go_til_stop,
27194 rather than return, so that the remote stub gets control.
27196 * stub/go32/MAKEFILE: fixed to actually use DOS commands (del and
27197 rename, rather than mv), set flags that work with current Turbo C,
27198 including using the /3 flag; also, add commands to build dser32.
27200 * stub/go32/DEBUG32.LNK, stub/go32/GO32.LNK: fix paths to match
27201 default Turbo C installation (\tc rather than \usr)
27203 * stub/go32/MONO.C (printf): current Turbo C uses "..." instead of
27206 Mon Dec 14 09:37:33 1992 Steve Chamberlain (sac@thepub.cygnus.com)
27208 * libc/include/math.h: added _DOUBLE_IS_32BITS checks
27210 Thu Nov 12 22:31:04 1992 Steve Chamberlain (sac@thepub.cygnus.com)
27212 * libc/stdio/cvt.c (licvt): new function to convert ints when
27213 sizeof(int) != sizeof(long).
27215 * libc/include/stdio.h: added prototype for iprintf.
27216 * libc/include/machine/limits.h machine/ieeefp.h: z8k stuff
27218 Tue Nov 10 12:18:12 1992 Ian Lance Taylor (ian@cygnus.com)
27220 * libc/machine/m68k/setjmp.S: use __USER_LABEL_PREFIX__ and
27221 __REGISTER_PREFIX__.
27223 Mon Nov 2 13:50:14 1992 Ian Lance Taylor (ian@cygnus.com)
27225 * libc/sys/m68kbare: moved into stub directory.
27227 Mon Nov 2 13:40:42 1992 Ian Lance Taylor (ian@cygnus.com)
27229 * configure.in, Makefile.in: created new directory stub, to hold
27230 sample code for specific targets.
27232 Wed Oct 28 02:19:55 1992 Mark Eichin (eichin@cygnus.com)
27234 * restored libc/sys/go32/sys/fcntl.h, to override incorrect values
27235 in the unified libc/include/sys/fcntl.h.
27237 Wed Oct 21 13:55:58 1992 Doug Evans (dje@rtl.cygnus.com)
27239 * libc/stdlib/ecvtbuf.c: (print_f,_gcvt): printf("%f", 0.01)
27240 printed .01, not 0.01.
27242 Mon Oct 19 11:05:55 1992 Ian Lance Taylor (ian@cygnus.com)
27244 * configure.in: compile with -m68000 for m68* targets.
27246 Sun Oct 18 05:29:05 1992 Mark Eichin (eichin@cygnus.com)
27248 * libm/math/remainder.c (remainder): document the svr4 and sunos
27249 references used to construct the function.
27251 Sat Oct 17 21:46:16 1992 Mark Eichin (eichin@cygnus.com)
27253 * libm/math/remainder.c (rint, remainder): fix old typos.
27254 * libm/math/Makefile.in: actually build remainder.c (functions
27255 rint and remainder, from SysVr4 Programmer's Guide floor(3m) man
27258 Thu Oct 15 07:48:05 1992 Ian Lance Taylor (ian@cygnus.com)
27260 * libc/string/bcopy.c: BSD version works on overlapping strings,
27261 so ours should too.
27263 * libc/stdlib/system.c: always invoke /bin/sh, not getenv
27266 Wed Oct 14 11:07:11 1992 Ian Lance Taylor (ian@cygnus.com)
27268 * Makefile.in (docs): new target.
27270 Wed Oct 14 07:44:25 1992 Ian Lance Taylor (ian@cygnus.com)
27272 * libc/include/sys/times.h: define clock_t as required by POSIX.
27273 libc/include/time.h: protect clock_t from multiple definitions.
27275 Wed Oct 7 11:02:21 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
27277 * libm/math/sqrt.h (sqrt): actually, the final version of fp-bit
27278 does not need more than the original three iterations to get
27279 within 1 ulp. (Paranoia tests for rounding to better than that,
27280 but further iterations *don't* help, only more subtle changes
27283 Tue Oct 6 09:22:12 1992 Ian Lance Taylor (ian@cygnus.com)
27285 * libc/sys/vxworks68, libc/sys/vxworks960: removed, since they
27286 were doing nothing useful.
27288 Tue Oct 6 08:48:13 1992 Ian Lance Taylor (ian@cygnus.com)
27290 * configure.in: define MALLOC_PROVIDED for vxworks targets;
27291 removed sys_dir settings of vxworks68 and vxworks960.
27292 host/any: don't pass -nostdinc to gcc, since newlib no longer
27293 provides all required header files.
27295 * libc/stdlib/malloc.c: only compile this file if MALLOC_PROVIDED
27296 is not defined; this provides a hook for VxWorks.
27298 Mon Oct 5 03:44:57 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
27300 * libc/stdio/setvbuf.c (setvbuf): while ANSI does say to malloc a
27301 buffer if buf is NULL, don't do it here -- it is already being
27302 done by makebuf elsewhere in stdio.
27304 Fri Oct 2 13:12:07 1992 Ian Lance Taylor (ian@cygnus.com)
27306 * libc/sys/a29khif/Makefile.in: assemble Steve's list of stubs so
27307 that C programs can call functions without using initial
27310 Thu Oct 1 09:37:47 1992 Ian Lance Taylor (ian@cygnus.com)
27312 * libc/stdlib/abort.c (abort): call exit, in case kill returns.
27314 Wed Sep 30 08:22:18 1992 Ian Lance Taylor (ian@cygnus.com)
27316 * configure.in: set TARGET_CFLAGS for certain CPU types to
27319 Tue Sep 29 21:09:32 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
27321 * libc/sys/m68kbare/glue.c: use <_ansi.h> instead of <ansidecl.h>
27323 Mon Sep 28 14:58:44 1992 Ian Lance Taylor (ian@cygnus.com)
27325 * configure.in: added sys_dir m68kbare for m68k*-unknown-aout and
27326 m68k*-unknown-coff.
27328 Fri Sep 25 08:33:21 1992 Ian Lance Taylor (ian@cygnus.com)
27330 * libc/include/stdio.h: define __need___va_list before including
27331 <stdarg.h>, to avoid defining va_arg, et. al.
27333 Tue Sep 22 13:47:00 1992 Ian Lance Taylor (ian@cygnus.com)
27335 * libc/sys/Makefile.in: handle the case of an empty $(sys_dir)
27336 (don't cd to the user's home directory).
27338 * libc/Makefile.in: replaced all instances of $(MAKE) with make.
27339 In general this is the wrong thing to do, but I can't get around
27340 GNU make's insistence on passing command line arguments any other
27343 Tue Sep 22 10:12:44 1992 Ian Lance Taylor (ian@cygnus.com)
27345 * configure.in: always configure the libc/sys directory, since it
27346 now provides a required documentation file.
27348 * Makefile.in: replaced all instances of $(MAKE) with make. In
27349 general this is the wrong thing to do, but I can't get around GNU
27350 make's insistence on passing command line arguments any other way.
27352 Mon Sep 21 22:42:26 1992 Ian Lance Taylor (ian@tweedledumbest.cygnus.com)
27354 * libc/stdlib/ecvtbuf.c (_gcvt): string for 0 was not null
27357 * libc/stdio/local.h: include <stdarg.h> to define va_list.
27358 libc/stdio/vsprintf.c: include <stdarg.h> rather than <varargs.h>.
27360 * libc/include/float.h, libc/include/stdarg.h,
27361 libc/include/stddef.h, libc/include/varargs.h: removed; use gcc
27363 libc/include/stdio.h: get size_t from <stddef.h>, and va_list from
27364 <stdarg.h>, not from <machine/types.h>. Protect definition of
27366 libc/include/time.h: get size_t from stddef.h. Protect definition
27368 libc/include/machine/limits.h: override gcc <limits.h> by defining
27369 _LIMITS_H___. Don't define CLK_TCK. Copied in gcc <limits.h> to
27370 get correct INT_MIN and LONG_LONG values.
27371 libc/include/machine/types.h: don't define ptrdiff_t, wchar_t,
27372 size_t or va_list at all; they're now gotten from stddef.h
27374 libc/include/machine/varargs.h: removed; use gcc version instead.
27375 libc/include/sys/types.h: explicitly include <machine/types.h>.
27377 * libm/math/sqrt.h: using the fp-bit routines appears to require
27380 * Makefile.in, host/any: let system include files override machine
27383 Sat Sep 19 21:10:06 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
27385 * libc/include/machine/types.h: allow __*_TYPE__ from cpp to
27386 override _*_T_ definitions defaulted here.
27388 Tue Sep 15 11:14:46 1992 Ian Lance Taylor (ian@cygnus.com)
27390 * Makefile.in (install): install the include files in
27391 $(tooldir)/include, not $(exec_prefix)/include.
27393 Fri Sep 11 15:48:43 1992 Ian Lance Taylor (ian@cygnus.com)
27395 * Makefile.in (install): fixed typo, and changed install to not
27396 force rebuild of libc.a and libm.a.
27398 Thu Sep 10 10:46:09 1992 Ian Lance Taylor (ian@cygnus.com)
27400 * libc/sys/a29khif/*: Changed all .include's to include
27401 sys/sysmac.h, not plain sysmac.h. The header files live in sys so
27402 that they will be installed for the user.
27404 * Makefile.in (all): create targ-include, a directory holding the
27405 machine and system specific header files during the build.
27406 (install): fixed installation of machine and system specific
27409 * Makefile.in: fixed comment.
27410 host/any: change .s.o rule to use $(AS) rather than $(CC), so that
27411 we can pass $(INCLUDES) to it.
27413 Thu Sep 10 10:13:13 1992 Ian Lance Taylor (ian@cygnus.com)
27415 * libc/include/sys/param.h: new generic file, which may be
27416 overridden for specific systems.
27418 * libc/include/sys/signal.h: define all ANSI signal names, and
27419 NSIG (which is not ANSI) for a29k.
27421 Tue Sep 8 09:04:30 1992 Ian Lance Taylor (ian@cygnus.com)
27423 * Makefile.in: don't pass down arguments the lower level makes
27425 * libc/Makefile.in: recurse directly, rather than using subdir_do,
27426 in hopes of avoiding argument length limits.
27427 * libm/Makefile.in: recurse directly, rather using subdir_do, in
27428 hopes of avoiding argument length limits.
27430 Tue Sep 8 08:27:22 1992 Ian Lance Taylor (ian@cygnus.com)
27432 * libc/include/sys/fcntl.h: include <sys/types.h> to ensure that
27435 Mon Sep 7 14:02:07 1992 Ian Lance Taylor (ian@cygnus.com)
27437 * Fixed make info and make install-info for newlib, changing most
27438 Makefile.in and several *.tex files. Moved doc directory from
27441 * libc/time/mktime.c (_DAYS_IN_MONTH): actually, not const.
27442 Should be rewritten.
27444 * libc/string/strings.tex: renamed node index to node index
27445 function, so that it does not conflict with the top level index
27448 * libc/include/sys/config.h: define __IEEE_BIG_ENDIAN for h8300.
27450 Fri Sep 4 02:34:06 1992 Ian Lance Taylor (ian@cygnus.com)
27452 * Overhauled general configuration for newlib. Eliminated all
27453 target dependent Makefile fragments. Create libraries in newlib
27454 rather than newlib/libc and newlib/libm. Use CC, et. al., rather
27455 than CROSS_CC, et. al. Broke make docs; will fix later.
27457 * libc/time/localtime.c (_DAYS_IN_MONTH): actually, not const.
27458 Should be rewritten.
27460 Tue Sep 1 15:21:14 1992 Ian Lance Taylor (ian@cygnus.com)
27462 * libc/configure.in: cleaned up somewhat; switch on ${target}
27463 rather than ${target_alias}.
27464 * libm/configure.in: cleaned up somewhat; switch on ${target}
27465 rather than ${target_alias}.
27467 * libc/ctype/ctype_.c: marked _ctype_ array _CONST.
27468 * libc/include/ctype.h: marked _ctype_ as _CONST.
27470 * libc/locale/locale.c (lconv, localeconv): marked static lconv as
27473 * libc/stdio/cvt.c, libc/stdio/findfp.c (__sfmoreglue),
27474 libc/stdio/vfscanf.c (__svfscanf): made static variables const.
27475 libc/stdio/gets.c (gets): removed non-ANSI warning message.
27476 libc/stdio/tmpnam.c (tmpnam): removed unneeded filename variable.
27478 * libc/stdlib/mprec.h, libc/stdlib/mprec.c (pow5mult, tens,
27479 bigtens, tinytens): marked arrays _CONST.
27480 libc/stdlib/qsort.c (swap): if __GNUC__, use _builtin_alloca
27481 rather than a static variable.
27483 * libc/time/asctime.c (asctime), libc/time/localtime.c
27484 (_DAYS_IN_MONTH), libc/time/mktime.c (_DAYS_IN_MONTH,
27485 _DAYS_BEFORE_MONTH), libc/time/strftime.c (dname_len, dname,
27486 mname_len, mname): Marked static arrays _CONST.
27488 * libm/math/gamma.h: made local variables non-static.
27490 * libm/math/acos.h, libm/math/bessel.c, libm/math/erf.c,
27491 libm/math/exp.c, libm/math/gamma.h: marked static arrays as
27494 * libm/math/constants.c: removed file, because the constants it
27495 defined were never referenced.
27496 libm/math/Makefile.in: removed references to constants.c.
27497 libm/math/mathimpl.h: removed declarations of constants.
27499 Wed Aug 26 21:09:06 1992 Ian Lance Taylor (ian@cygnus.com)
27501 * libc/include/machine/varargs.h: only call __builtin_saveregs if
27502 it is sensibly defined in libgcc2. Checks preprocessor defines,
27503 which is not a good solution.
27505 * libm/sqrt.c: sqrt(Infinity) should not be a domain error.
27507 * libm/frexp.c: handle denormalized numbers as arguments.
27509 * libm/math/Makefile.in: added some dependencies for .c files
27510 which include local .h files.
27512 Mon Aug 24 12:57:58 1992 Ian Lance Taylor (ian@cygnus.com)
27514 * libc/configure.in: set target_alias for OSE*. Replace
27515 target_makefile_frag if it is blank.
27517 * libc/Makefile.in: make sure everything is passed to subsidiary
27518 makes; create all directories when installing.
27520 * libm/ieeefp/Makefile.in, libm/math/Makefile.in: use
27521 CROSS_ARUPDATE instead of AR.
27523 * libm/configure.in: set target_alias for OSE*. Replace
27524 target_makefile_frag if it is blank.
27526 * libm/Makefile.in: make sure everything is passed to subsidiary
27527 makes; create all directories when installing.
27529 Thu Aug 20 15:11:51 1992 Mark Eichin (eichin@cygnus.com)
27531 * add following change from libc copy.
27533 Wed Aug 19 18:54:49 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
27535 * libc/libc.texinfo: make copyright disclaimers appear on back of
27536 title page; make format of same slightly less ugly; avoid using
27537 underbars in section headings (avoids nasty texinfo bug in table
27540 * libc/ctype/tolower.c, libc/ctype/toupper.c: (doc changes in
27541 comments only) avoid using underbars in section headings
27543 * libc/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
27544 isnan ieeefp/fpmask.c, ieeefp/fpround.c, ieeefp/fpsticky.c (doc
27545 changes in comments only): shorten headings ieeefp/infinity.c,
27546 ieeefp/isnan.c: (doc, comments only) more informative headings
27548 * libc/math/bessel.c: (doc, comments only) shorten heading
27550 * libc/stdlib/efgcvt.c, libc/stdlib/mbtowc.c, libc/stdlib/wctomb.c
27551 (doc, comments only) shorten headings
27553 * libc/time/localtime.c (doc, comments only): shorten headings
27555 * libm/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
27557 libm/ieeefp/fpmask.c, libm/ieeefp/fpround.c,
27558 libm/ieeefp/fpsticky.c (doc changes in comments only): shorten
27560 libm/ieeefp/infinity.c, libm/ieeefp/isnan.c: (doc, comments
27561 only) more informative headings
27562 * libm/math/bessel.c: (doc, comments only) shorten heading
27564 Wed Aug 19 07:06:37 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
27566 * .../Makefile.in: use CROSS_ARUPDATE consistently.
27567 * config/*.mt: define CROSS_AR as well as CROSS_ARUPDATE
27568 * config/*.mt: define CROSS_CPP based on CROSS_CC, not /lib/cpp.
27569 * .../Makefile.in: get rid of .c.o rule - if TOP is correctly
27570 defined, the one from the .mt file will be correct.
27571 * libc/include/machine, libc/include/sys: created, and populated
27572 with common files from machine/*/machine. ifdefs were used for
27573 most, typically by handling exceptions first and then filling in
27574 defaults. Files with D.J. Delorie copyright #included rather than
27575 copied. Most files in include/sys really were the same in the
27577 * libc/include/...: cleaned up use of _EXFUN.
27578 * libc/stdlib/mprec.c: mprec.h doesn't get installed, so include
27579 it with double quotes, not angles.
27581 Mon Aug 10 11:43:20 1992 Ian Lance Taylor (ian@dumbest.cygnus.com)
27583 * libc/Makefile.in: always create installation directories.
27585 Sun Aug 9 22:45:48 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
27587 * libc/configure.in: handle host properly (using canonical
27588 triples), better error message for the case of target not found
27590 Thu May 28 01:56:37 1992 Michael Tiemann (tiemann@rtl.cygnus.com)
27592 * libc/Makefile.in (insincdir): Ensure this directory exists
27593 before attempting installation.
27595 Fri May 1 18:16:42 1992 Steve Chamberlain (sac@thepub.cygnus.com)
27597 * libc/stdlib/assert.c: now calls abort like it should
27598 * libc/sys/a29khif: many many patches for 29khif work
27599 * libc/machine/i386: gnulib2 expanded there.
27601 Tue Apr 28 19:08:37 1992 Steve Chamberlain (sac@thepub.cygnus.com)
27603 Added accurate fp conversion routines to stdlib, moved dcvt from
27604 stdio to stdlib and called it ecvtbuf:
27605 * libc/stdlib/mprec.c, mprec.h: new files for multiprec arithmetic
27606 * libc/stdlib/Makefile.in, efgcvt.c, strtod.c: modified to use new
27608 * libc/libc.texinfo: Modifed to include the copyright info from
27610 * libc/stdlib/efgcvt.c: now xref to ecvtbuf in stdlib.
27611 * libc/test/ : many vector which tested for the implementation
27612 defined returns of strange conversion requests have been updated
27613 to relflect the new implementation
27615 Mon Apr 27 13:41:33 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
27617 * libc/libc.texinfo: new chapter on variable arg lists
27618 (stdarg.h/varargs.h)
27619 * libc/libc.texinfo: new title
27620 * libc/time/gmtime.c, libc/time/localtime./c, libc/time/mktime.c:
27621 (doc only) shorter headings for better formatting.
27623 Fri Apr 24 11:26:48 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
27625 * libc/libc.texinfo: three more info menu entries
27626 * libc/locale/locale.tex: new chapter
27627 * libc/locale/locale.c: new doc for setlocale, localeconv
27628 * libc/locale/Makefile.in: use new locale doc
27629 * libc/signal/signal.tex: new chapter
27630 * libc/signal/raise.c, libc/signal/signal.c: new doc
27631 * libc/signal/Makefile.in: use new doc
27632 * libc/time/time.tex: new chapter
27633 * libc/time/asctime.c libc/time/clock.c libc/time/ctime.c
27634 libc/time/difftime.c libc/time/gmtime.c libc/time/localtime.c
27635 libc/time/mktime.c libc/time/strftime.c libc/time/time.c: new doc
27636 * libc/time/Makefile.in: use new doc
27638 Tue Apr 21 14:48:50 1992 Steve Chamberlain (sac@thepub.cygnus.com)
27640 * libm/math/log1p.c: split to use the new function way of float
27641 function definition. math/log1p.h deleted
27642 * libm/math/scalb.c: obsolete and deleted
27643 * libm/math/scalbn.c: created from part log1p.c
27644 * libm/math/Makefile.in: know about log1p and scalbn
27646 Tue Apr 21 12:32:21 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
27648 * libc/ctype/isupper.c: revise doc;
27649 libc/ctype/ctype.tex: use doc from isupper.c
27651 * libc/string/bzero.c: new doc
27653 Mon Apr 20 14:19:42 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
27655 * libc/stdlib/system.c, libc/stdlib/exit.c, libc/stdlib/abort.c:
27657 * libc/stdlib/Makefile.in: extract new doc
27658 * libc/stdlib/stdlib.tex: use new doc
27660 * libc/string/strerror.c: expanded doc.
27662 * libc/stdio/Makefile.in: extract doc from more files
27663 * libc/stdio/fopen.c, libc/stdio/perror.c, libc/stdio/remove.c,
27664 libc/stdio/rename.c, libc/stdio/rewind.c, libc/stdio/setbuf.c,
27665 libc/stdio/setvbuf.c, libc/stdio/sprintf.c, libc/stdio/tmpfile.c,
27666 libc/stdio/tmpnam.c, libc/stdio/vfprintf.c, libc/stdio/vprintf.c,
27667 libc/stdio/vsprintf.c: new doc
27668 * libc/stdio/stdio.tex: use new doc
27670 Mon Apr 20 09:38:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
27672 * libc/config/ebmon29k: added CROSS_CPP rule and other fixes
27673 * libc/include/ieeefp.h: fixed ansi conflict with isnanf, isinff,
27675 * libc/sys/a29khif/sys/*.h: ansidecl.h was renamed to _ansi.h some
27678 * libc/stdio/stdio.h: added P_tmpdir for /tmp (SVID thing)
27679 * libc/stdio/setbuf.c: added ansi style definition.
27680 * libc/stdio/setvbuf.c: added ansi definition, now mallocs own
27681 buffer if none provided.
27682 * libc/stdio/tmpfile.c: lint
27683 * libc/stdio/tmpnam.c (worker): created. (tmpnam): mallocs buffer
27684 rather than using static, also make sure file isn't already
27685 present. Uses P_tmpdir. (tempnam): rewritten to use new
27686 subroutine, and uses P_tmpdir.
27687 * libc/stdio/siprintf.c: created
27689 Mon Apr 13 09:12:58 1992 Steve Chamberlain (sac@thepub.cygnus.com)
27691 Release 1.03 for NEC, major mods. Main differences from release
27694 More tests in test/:
27695 * jn_vec.c, jnf_vec.c, yn_vec.c, ynf_vec.c, log2_vec.c,
27696 log2f_vec.c, atan2_vec.c, atan2f_vec.c: new test vectors.
27697 * test_ieee.c: tests for ieee flags & masks - get/set rounding,
27698 get/set mask, get/set sticky and get/set roundtoi. Tests
27699 that setting the bits changes the way arithmetic is done.
27700 * string.c: added test to make sure memcmp does it with unsigned
27702 * test.c: cleaned up and removed lint.
27703 * sprint_vec, sprint_ivec.c, convert.c, conv_vec.c, iconf_vec.c,
27704 dvec.c: tests for string to value conversions, sprintf, scanf,
27705 atof, atoff, strtod, strtodf, atoi, atol, strtol, ecvtbuf, ecvt,
27706 ecvtf, fcvtbuf, fcvt, fcvtf, gcvt, gcvtf. Some attention paid to
27707 rounding in sprintf too.
27708 * test_is.c: tests for isalnum, isalpha, isascii, iscntrl,
27709 isdigit, isgraph, islower, isprint, ispunct, isspace, isupper,
27710 isxdigit, toascii, tolower, toupper, _tolower, _toupper in macro
27712 * math2.c: test for frexp, frexpf, ldexp, ldexpf, modf modff, pow,
27716 * libc/stdlib/div.c, libc/stdlib/ldiv.c, libc/stdlib/strtod.c,
27717 libc/stdlib/strtol.c, libc/stdlib/stroul.c, libc/stdlib/abs.c,
27718 libc/stdlib/bsearch.c, libc/stdlib/calloc.c, libc/stdlib/getenv.c,
27719 libc/stdlib/labs.c, libc/stdlib/malloc.c: new documentation
27720 * libc/stdlib/efgcvt.c: rewritten to use new _dcvt routines rather
27722 * libc/stdio/dcvt.c: rewritten to make more useful elsewhere.
27723 * Method of producting float versions of double functions has
27724 changed, functions will be modified gradually. So far:
27725 libm/math/exp.c, libm/math/pow.c, libm/math/modf.c,
27726 libm/math/sincos.c, libm/math/fmod.c, libm/math/tan.c have been
27728 * libc/string/memcmp.c: now uses unsigned chars
27729 * libc/string/bcmp.c, libc/string/strcpy.c,
27730 libc/stsring/strxfrm.c: fixed doc
27731 * libc/sys/sysvnecv70.tex: fix example of sbrk code
27734 version-control: never