12015-12-21  Freddie Chopin  <freddie.chopin@gmail.com>
2
3	* libc/stdlib/__atexit.c (__register_exitproc): Fix for
4	_ATEXIT_DYNAMIC_ALLOC.
5
62015-12-21  Freddie Chopin  <freddie.chopin@gmail.com>
7
8	* libc/stdlib/on_exit_args.{c,h}: New files.
9	* libc/stdlib/Makefile.am: Add new source file.
10	* libc/stdlib/Makefile.in: Regenerate.
11	* libc/stdlib/__atexit.c (__register_exitproc): Initialize
12	_on_exit_args_ptr field of _GLOBAL_ATEXIT on first run.
13	* libc/stdlib/on_exit.c: Force linking of static instance of
14	_on_exit_args.
15	* libc/stdlib/cxa_atexit.c: Likewise.
16
172015-12-17  Anton Kolesov  <Anton.Kolesov@synopsys.com>
18
19	* libc/machine/arc/asm.h: Define new GCC definition for old compiler.
20	* libc/machine/arc/memcmp-bs-norm.S: Use new GCC defines to detect
21	processor features.
22	* libc/machine/arc/memcmp.S: Likewise.
23	* libc/machine/arc/memcpy-archs.S: Likewise.
24	* libc/machine/arc/memcpy-bs.S: Likewise.
25	* libc/machine/arc/memcpy.S: Likewise.	* libc/machine/arc/memset-archs.S: Likewise.
26	* libc/machine/arc/memset-archs.S: Likewise.
27	* libc/machine/arc/memset-bs.S: Likewise.
28	* libc/machine/arc/memset.S: Likewise.
29	* libc/machine/arc/setjmp.S: Likewise.
30	* libc/machine/arc/strchr-bs-norm.S: Likewise.
31	* libc/machine/arc/strchr-bs.S: Likewise.
32	* libc/machine/arc/strchr.S: Likewise.
33	* libc/machine/arc/strcmp-archs.S: Likewise.
34	* libc/machine/arc/strcmp.S: Likewise.
35	* libc/machine/arc/strcpy-bs-arc600.S: Likewise.
36	* libc/machine/arc/strcpy-bs.S: Likewise.
37	* libc/machine/arc/strcpy.S: Likewise.
38	* libc/machine/arc/strlen-bs-norm.S: Likewise.
39	* libc/machine/arc/strlen-bs.S: Likewise.
40	* libc/machine/arc/strlen.S: Likewise.
41	* libc/machine/arc/strncpy-bs.S: Likewise.
42	* libc/machine/arc/strncpy.S: Likewise.
43
442015-12-17  Corinna Vinschen  <corinna@vinschen.de>
45
46	* libc/include/sys/types.h: Remove including <sys/select.h>.
47
482015-12-14  Sebastian Huber  <sebastian.huber@embedded-brains.de>
49
50	* libc/include/sys/reent.h (_REENT_INIT_PTR_ZEROED): New.
51	(_REENT_INIT_PTR): Define only once and use _REENT_INIT_PTR_ZEROED().
52
532015-12-14  Sebastian Huber  <sebastian.huber@embedded-brains.de>
54
55	* libc/include/sys/_sigset.h: New.
56	* libc/include/sys/select.h: Do not include <sys/types.h> and
57	<sys/time.h> to avoid cyclic header file dependencies.  Include
58	specialized header files instead.
59	(sigset_t): Conditionally define.
60	* libc/include/sys/signal.h (sigset_t): Likewise.
61	* libc/include/sys/time.h: Include <sys/select.h> if
62	__BSD_VISIBLE.
63	* libc/include/sys/types.h: Likewise.
64
652015-12-12  Freddie Chopin  <freddie.chopin@gmail.com>
66
67	* libc/stdlib/__atexit.c (__register_exitproc): Always release
68	lock before return.
69
702015-12-09  Thomas Preud'homme  <thomas.preudhomme@arm.com>
71
72	* libm/machine/arm/s_ceil.c: Also check that 64bit FP instructions are
73	available in the guard.
74	* libm/machine/arm/s_floor.c: Likewise.
75	* libm/machine/arm/s_nearbyint.c: Likewise.
76	* libm/machine/arm/s_rint.c: Likewise.
77	* libm/machine/arm/s_round.c: Likewise.
78	* libm/machine/arm/s_trunc.c: Likewise.
79
802015-12-08  Corinna Vinschen  <corinna@vinschen.de>
81
82	* libc/stdio/fclose.c (_fclose_r): Make _flockfile/_funlockfile calls
83	dependent on __SNLK flag.
84	* libc/stdio/findfp.c (__fp_lock): Ditto.
85	(__fp_unlock): Ditto.
86	* libc/stdio/freopen.c (_freopen_r): Ditto.
87	* libc/stdio64/freopen64.c (_freopen64_r): Ditto.
88
892015-12-08  Corinna Vinschen  <corinna@vinschen.de>
90
91	* libc/stdio/freopen.c (_freopen_r): Only reset __SWID bit per SUSv4.
92	* libc/stdio64/freopen64.c (_freopen64_r): Add missing resetting of
93	flag values and _mbstate.
94
952015-12-07  Nick Withers  <nick.withers@anu.edu.au>
96
97	* libc/sys/arm/sys/param.h (NBBY): Define if not already defined.
98	* libc/sys/rtems/include/sys/param.h (NBBY): Define.
99
1002015-12-07  Corinna Vinschen  <corinna@vinschen.de>
101
102	* libc/include/sys/types.h: Move definitions of NBBY and howmany to
103	sys/param.h.  Move definitions of select(2) macros to sys/select.h.
104	* libc/include/sys/param.h: See above.
105	* libc/include/sys/select.h: Move Cygwin's sys/select.h here.
106
1072015-11-26  Corinna Vinschen  <corinna@vinschen.de>
108
109	* libc/stdlib/strtodg.c: Add ifdef to check _HAVE_LONG_DOUBLE and
110	_LDBL_EQ_DBL.
111
1122015-11-24  Steve Ellcey  <sellcey@imgtec.com>
113
114	* libc/stdlib/strtorx.c: Fix ifdef to check _LDBL_EQ_DBL.
115
1162015-11-23  Marcus Shawcroft  <marcus.shawcroft@arm.com>
117
118	* libc/machine/arm/strlen-stub.c: Adjust strlen-armv7.S selection logic.
119	* libc/machine/arm/strlen.S: Likewise.
120
1212015-11-23  Marcus Shawcroft  <marcus.shawcroft@arm.com>
122
123	* libc/machine/arm/strlen-stub.c: Move T2 -O2 implementation to...
124	* libc/machine/arm/strlen-thumb2-Os.S: New file.
125	* libc/machine/arm/strlen.S: Include strlen-thumb2-Os.S.
126
1272015-11-21  Corinna Vinschen  <corinna@vinschen.de>
128
129	* libc/stdlib/strtodg.c: Define USE_LOCALE.
130	(_strtodg_r): Handle multibyte decimal point.
131
1322015-11-20  Corinna Vinschen  <corinna@vinschen.de>
133
134	* libc/stdlib/Makefile.am (GENERAL_SOURCES): Add strtodg.c and
135	strtorx.c.
136	* libc/stdlib/Makefile.in: Regenerate.
137	* libc/stdlib/strtodg.c: New file implementing generic string to long
138	double conversion.
139	* libc/stdlib/strtorx.c: New file, implementing IEEE format string to
140	long double conversion.
141	* libc/stdlib/mprec.h (_strtodg_r): Declare.
142	(_strtorx_r): Declare.
143	* libc/stdlib/gdtoa.h (__UShort): Define.
144	* libc/stdlib/strtold.c (__flt_rounds): Define for i386 and x86_64
145	target.
146	(FLT_ROUNDS): Define, as 0 on platforms missing a __flt_rounds
147	function.
148	(_strtold_r): Converted from strtold.  Call _strtorx_r on targets
149	supporting distinct long doubles.
150	(strtold): Just call _strtold_r.
151	* libc/include/stdlib.h (_strtold_r): Declare.
152	* libc/stdlib/ldtoa.c (_strtold): Comment out.  Explain why.
153	* libc/stdio/vfscanf.c (__SVFSCANF_R): Call _strtold_r instead of
154	_strtold.
155	* libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
156
1572015-11-20  Corinna Vinschen  <corinna@vinschen.de>
158
159	* libc/stdlib/strtod.c (match): Move from here...
160	* libc/stdlib/gdtoa-hexnan.c (match): ...to here.
161	* libc/stdlib/mprec.h (match): Declare and add __match define.
162
1632015-11-20  Corinna Vinschen  <corinna@vinschen.de>
164
165	* libc/stdlib/wcstold.c (_strtold): Drop unused declaration.
166
1672015-11-19  Yaakov Selkowitz  <yselkowi@redhat.com>
168
169	* libc/stdlib/stdlib.tex: Fix typo in rpmatch reference.
170
1712015-11-19  Corinna Vinschen  <corinna@vinschen.de>
172
173	* libc/stdlib/ldtoa.c: Convert to GNU style so as not to get crazy
174	reading the code.
175
1762015-11-19  Corinna Vinschen  <corinna@vinschen.de>
177
178	* libc/stdlib/rpmatch.c: Include sys/types.h to make GCC happy.
179
1802015-11-12  Jon Turney  <jon.turney@dronecode.org.uk>
181
182	* libc/stdio/sprintf.c: Simplify documentation markup.
183	* libc/stdio/swprintf.c: Ditto.
184
1852015-11-12  Jon Turney  <jon.turney@dronecode.org.uk>
186
187	* libc/stdio/sscanf.c: Improve documentation markup.
188	* libc/stdio/swscanf.c: Ditto.
189
1902015-11-17  Yaakov Selkowitz  <yselkowi@redhat.com>
191
192	* libc/include/stdlib.h (rpmatch): Declare.
193	* libc/stdlib/Makefile.am (ELIX_4_SOURCES): Add rpmatch.c.
194	(CHEWOUT_FILES): Add rpmatch.def.
195	* libc/stdlib/Makefile.in: Regenerate.
196	* libc/stdlib/rpmatch.c: New file.
197	* libc/stdlib/stdlib.tex: Add references to rpmatch.
198
1992015-11-13  Marcus Shawcroft  <marcus.shawcroft@arm.com>
200
201	* libc/machine/arm/strlen-stub.c: Move T1 -O2 implementation to...
202	* libc/machine/arm/strlen-thumb1-Os.S: New file.
203	* libc/machine/arm/strlen.S: Include strlen-thumb1-Os.S.
204
2052015-11-13  Marcus Shawcroft  <marcus.shawcroft@arm.com>
206
207	* libc/machine/arm/Makefile.am: Adding strlen.S.
208	* libc/machine/arm/Makefile.in: Regenerate.
209	* libc/machine/arm/strlen.S: New.
210	* libc/machine/arm/strlen-stub.c: Rewrite #if condition.
211	* libc/machine/arm/strlen-armv7.S: Remove surrounding #if.
212
2132015-11-13  Marcus Shawcroft  <marcus.shawcroft@arm.com>
214
215	* libc/machine/arm/Makefile.am: Rename strlen.c to strlen-stub.c
216	* libc/machine/arm/Makefile.in: Regenerate.
217	* libc/machine/arm/strlen.c: Rename to...
218	* libc/machine/arm/strlen-stub.c: ... this.
219
2202015-11-13  Marcus Shawcroft  <marcus.shawcroft@arm.com>
221
222	* libc/machine/arm/Makefile.am: Drop STRLEN_SRC and STRLEN_OBJ.
223	Adding strlen.c.
224	* libc/machine/arm/configure.in (HAVE_THUMB1, OPT_SIZE): Remove.
225	* libc/machine/arm/strlen.c: Include ../../string/strlen.c.
226	* libc/machine/arm/configure: Regenerate.
227	* libc/machine/arm/Makefile.in: Regenerate.
228
2292015-11-13  Marcus Shawcroft  <marcus.shawcroft@arm.com>
230
231	* libc/machine/arm/strlen.c: Refactor nested #if.
232
2332015-11-12  Anton Kolesov  <Anton.Kolesov@synopsys.com>
234
235	* configure.host: Add ARC support.
236	* libc/include/machine/setjmp.h: Likewise.
237	* libc/machine/configure: Likewise.
238	* libc/machine/configure.in: Likewise.
239	* libc/machine/arc/Makefile.am: Likewise.
240	* libc/machine/arc/Makefile.in: Likewise.
241	* libc/machine/arc/aclocal.m4: Likewise.
242	* libc/machine/arc/asm.h: Likewise.
243	* libc/machine/arc/configure: Likewise.
244	* libc/machine/arc/configure.in: Likewise.
245	* libc/machine/arc/memcmp-bs-norm.S: Likewise.
246	* libc/machine/arc/memcmp-stub.c: Likewise.
247	* libc/machine/arc/memcmp.S: Likewise.
248	* libc/machine/arc/memcpy-archs.S: Likewise.
249	* libc/machine/arc/memcpy-bs.S: Likewise.
250	* libc/machine/arc/memcpy-stub.c: Likewise.
251	* libc/machine/arc/memcpy.S: Likewise.
252	* libc/machine/arc/memset-archs.S: Likewise.
253	* libc/machine/arc/memset-bs.S: Likewise.
254	* libc/machine/arc/memset-stub.c: Likewise.
255	* libc/machine/arc/memset.S: Likewise.
256	* libc/machine/arc/setjmp.S: Likewise.
257	* libc/machine/arc/strchr-bs-norm.S: Likewise.
258	* libc/machine/arc/strchr-bs.S: Likewise.
259	* libc/machine/arc/strchr-stub.c: Likewise.
260	* libc/machine/arc/strchr.S: Likewise.
261	* libc/machine/arc/strcmp-archs.S: Likewise.
262	* libc/machine/arc/strcmp-stub.c: Likewise.
263	* libc/machine/arc/strcmp.S: Likewise.
264	* libc/machine/arc/strcpy-bs-arc600.S: Likewise.
265	* libc/machine/arc/strcpy-bs.S: Likewise.
266	* libc/machine/arc/strcpy-stub.c: Likewise.
267	* libc/machine/arc/strcpy.S: Likewise.
268	* libc/machine/arc/strlen-bs-norm.S: Likewise.
269	* libc/machine/arc/strlen-bs.S: Likewise.
270	* libc/machine/arc/strlen-stub.c: Likewise.
271	* libc/machine/arc/strlen.S: Likewise.
272	* libc/machine/arc/strncpy-bs.S: Likewise.
273	* libc/machine/arc/strncpy-stub.c: Likewise.
274	* libc/machine/arc/strncpy.S: Likewise.
275
2762015-11-12  Anton Kolesov  <Anton.Kolesov@synopsys.com>
277
278	* configure.host: Remove ARC system.
279	* libc/sys/configure: Likewise.
280	* libc/sys/configure.in: Likewise.
281	* libc/sys/arc/Makefile.am: Likewise.
282	* libc/sys/arc/Makefile.in: Likewise.
283	* libc/sys/arc/aclocal.m4: Likewise.
284	* libc/sys/arc/configure: Likewise.
285	* libc/sys/arc/configure.in: Likewise.
286	* libc/sys/arc/crt0.S: Likewise.
287	* libc/sys/arc/dummy.S: Likewise.
288	* libc/sys/arc/isatty.c: Likewise.
289	* libc/sys/arc/mem-layout.c: Likewise.
290	* libc/sys/arc/sbrk.c: Likewise.
291	* libc/sys/arc/sys/syscall.h: Likewise.
292	* libc/sys/arc/syscalls.c: Likewise.
293
2942015-11-12  Marcus Shawcroft  <marcus.shawcroft@arm.com>
295
296	* testsuite/lib/flags.exp (libgloss_link_flags): Drop multilibtop
297	from target_build_path.
298
2992015-11-06  Jon Turney  <jon.turney@dronecode.org.uk>
300
301	* doc/makedoc.c (iscommand): Only allow commands to have trailing
302	spaces, not space separated words.
303
3042015-11-06  Jon Turney  <jon.turney@dronecode.org.uk>
305
306	* libm/mathfp/s_acos.c: Fix QUICKREF.
307	* libm/mathfp/e_acosh.c: Ditto.
308	* libm/math/w_asin.c: Ditto.
309	* libm/mathfp/e_acosh.c: Ditto.
310	* libm/mathfp/s_acos.c: Ditto.
311
3122015-11-06  Jon Turney  <jon.turney@dronecode.org.uk>
313
314	* doc/doc.str: Fix INTERNAL_DEFINITION, INTERNAL_FUNCTION and
315	INTERNAL.
316
3172015-11-12  Wilco Dijkstra  <wdijkstr@arm.com>
318
319	* newlib/libc/machine/aarch64/memcpy.S (memcpy): Further tuning for
320	performance.
321
3222015-11-12  Joseph Myers  <joseph@codesourcery.com>
323
324	* libc/machine/arm/strcmp-arm-tiny.S: Use .cfi_sections
325	.debug_frame.
326	* libc/machine/arm/strcmp-armv4.S: Likewise.
327	* libc/machine/arm/strcmp-armv4t.S: Likewise.
328	* libc/machine/arm/strcmp-armv6.S: Likewise.
329	* libc/machine/arm/strcmp-armv6m.S: Likewise.
330	* libc/machine/arm/strcmp-armv7.S: Likewise.
331	* libc/machine/arm/strcmp-armv7m.S: Likewise.
332
3332015-11-06  Marcus Shawcroft  <marcus.shawcroft@arm.com>
334
335	* libc/machine/arm/Makefile.am: Drop MEMCHR_SRC and MEMCHR_OBJ.
336	* libc/machine/arm/Makefile.in: Regenerate.
337	* libc/machine/arm/memchr-stub.c: New.
338	* libc/machine/arm/memchr.S: Adjust comments.  Include memchr.c and
339	acle-compat.h.  Make .arch directive architecture dependent.
340	* libc/machine/arm/configure.in (HAVE_ARMV7): Remove.
341	* libc/machine/arm/configure: Regenerate.
342
3432015-11-06  Marcus Shawcroft  <marcus.shawcroft@arm.com>
344
345	* libc/machine/arm/Makefile.am: Drop MEMCPY_SRC and MEMCPY_OBJ.
346	* libc/machine/arm/Makefile.in: Regenerate.
347	* libc/machine/arm/configure.in: Remove HAVE_ARMV8A, HAVE_ARMV7A and
348	HAVE_ARM7M.
349	* libc/machine/arm/configure: Regenerate.
350	* libc/machine/arm/memcpy-stub.c: New.
351	* libc/machine/arm/memcpy.c: Adjust copyright year.  Adjust comments.
352	Include acle-compat.h.
353
3542015-11-06  Olivier Martin  <olivier@labapart.com>
355
356	* libc/include/stdlib.h (mktemp): Change attribute to deprecated.
357	(_mktemp_r): Ditto.
358
3592015-11-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
360
361	* libc/machine/arm/configure.in: Check for __ARM_ARCH_8A__.
362	* libc/machine/arm/memcpy.S: Handle __ARM_ARCH_8A__.
363	* libc/machine/arm/Makefile.am: Consider HAVE_ARMV8A in memcpy
364	selection.
365	* libc/machine/arm/Makefile.in: Regenerate.
366	* libc/machine/arm/configure: Regenerate.
367
3682015-11-02  Jon Turney  <jon.turney@dronecode.org.uk>
369
370	* HOWTO: Update.
371	* Makefile.shared: Move documentation rules to here...
372	* libc/argz/Makefile.am: ... from here ...
373	* libc/ctype/Makefile.am: ... and here.
374	* libc/errno/Makefile.am: Ditto.
375	* libc/iconv/Makefile.am: Ditto.
376	* libc/iconv/ccs/Makefile.am : Ditto.
377	* libc/iconv/ces/Makefile.am: Ditto.
378	* libc/iconv/lib/Makefile.am: Ditto.
379	* libc/locale/Makefile.am: Ditto.
380	* libc/misc/Makefile.am: Ditto.
381	* libc/posix/Makefile.am: Ditto.
382	* libc/reent/Makefile.am: Ditto.
383	* libc/search/Makefile.am: Ditto.
384	* libc/stdio/Makefile.am: Ditto.
385	* libc/stdio64/Makefile.am: Ditto.
386	* libc/stdlib/Makefile.am : Ditto.
387	* libc/string/Makefile.am: Ditto.
388	* libc/syscalls/Makefile.am: Ditto.
389	* libc/time/Makefile.am : Ditto.
390	* libc/unix/Makefile.am: Ditto.
391	* libc/xdr/Makefile.am: Ditto.
392	* libm/common/Makefile.am: Ditto.
393	* libm/complex/Makefile.am: Ditto.
394	* libm/math/Makefile.am: Ditto.
395	* libm/mathfp/Makefile.am: Ditto.
396
3972015-11-02  Jon Turney  <jon.turney@dronecode.org.uk>
398
399        * libc/time/wcsftime.c: Consistently use an em-dash in FUNCTION
400summary.
401        * libm/common/isgreater.c: Ditto.
402        * libm/common/s_fdim.c: Ditto.
403        * libm/common/s_fma.c: Ditto.
404        * libm/common/s_fmax.c: Ditto.
405        * libm/common/s_fmin.c: Ditto.
406        * libm/common/s_infinity.c: Ditto.
407        * libm/common/s_isnan.c: Ditto.
408        * libm/common/s_log2.c: Ditto.
409        * libm/common/s_logb.c: Ditto.
410        * libm/common/s_lrint.c: Ditto.
411        * libm/common/s_lround.c: Ditto.
412        * libm/common/s_nearbyint.c: Ditto.
413        * libm/common/s_remquo.c: Ditto.
414        * libm/common/s_rint.c: Ditto.
415        * libm/common/s_round.c: Ditto.
416        * libm/common/s_scalbn.c: Ditto.
417        * libm/common/s_signbit.c: Ditto.
418        * libm/common/s_trunc.c: Ditto.
419        * libm/math/w_exp2.c: Ditto.
420        * libm/math/w_gamma.c: Ditto.
421
4222015-11-02  Jon Turney  <jon.turney@dronecode.org.uk>
423
424        * libc/stdio/fseek.c: Add missing semicolons to prototypes in
425        SYNOPSIS.
426        * libc/stdio/fwide.c: Ditto.
427        * libc/stdio64/fseeko64.c: Ditto.
428        * libc/string/strtok.c: Ditto.
429        * libc/string/wcstok.c: Ditto.
430        * libm/math/w_cosh.c: Ditto.
431        * libm/math/w_fmod.c:  Ditto.
432        * libm/mathfp/s_cosh.c: Ditto.
433        * libm/mathfp/s_fmod.c: Ditto.
434
4352015-11-02  Steve Ellcey  <sellcey@imgtec.com>
436
437	* libc/machine/mips/memcpy.S (memcpy): Add word copies for small
438	aligned data.
439
4402015-10-30  Sebastian Huber  <sebastian.huber@embedded-brains.de>
441
442	* libc/include/pthread.h: Include <sched.h> instead of <sys/sched.h>.
443
4442015-10-26  Brian Inglis  <Brian.Inglis@SystematicSw.ab.ca>
445
446	* libc/time/strftime.c (__strftime): add support for %s (seconds from
447	Unix epoch).  Fix whitespaces.
448
4492015-10-19  Nick Clifton  <nickc@redhat.com>
450
451	* libc/include/sys/_intsup.h: Add support for 16-bit and 20-bit
452	pointers.
453
4542015-10-14  Sebastian Huber  <sebastian.huber@embedded-brains.de>
455
456	* libc/stdlib/Makefile.am (GENERAL_SOURCES): Add alloc_aligned.c.c.
457	* libc/stdlib/Makefile.in: Regenerate.
458	* libc/stdlib/aligned_alloc.c: New.
459
4602015-10-14  Sebastian Huber  <sebastian.huber@embedded-brains.de>
461
462	* libc/include/stdlib.h (alloc_aligned): Declare.
463
4642015-10-14  Sebastian Huber  <sebastian.huber@embedded-brains.de>
465
466	* libc/include/stdlib.h (at_quick_exit): Declare.
467	(quick_exit): Likewise.
468	* libc/stdlib/Makefile.am (GENERAL_SOURCES): Add
469	quick_exit.c.
470	* libc/stdlib/Makefile.in: Regenerate.
471	* libc/stdlib/quick_exit.c: New.
472
4732015-10-13  Sebastian Huber  <sebastian.huber@embedded-brains.de>
474
475	* libc/include/threads.h: New.
476	* libc/sys/rtems/include/machine/_threads.h: Likewise.
477
4782015-10-13  Sebastian Huber  <sebastian.huber@embedded-brains.de>
479
480	* libc/include/sys/cdefs.h: Synchronize with latest FreeBSD
481	version.
482
4832015-10-13  Sebastian Huber  <sebastian.huber@embedded-brains.de>
484
485	* libc/include/sys/cdefs.h: Add style changes of latest FreeBSD
486	version.
487
4882015-10-08  Nick Clifton  <nickc@redhat.com>
489
490	* libc/include/machine/setjmp.h (_JBLEN): Define for IA64.
491
4922015-09-22  James Bowman  <james.bowman@ftdichip.com>
493
494	* configure.host (ft32): minimise newlib code size
495
4962015-09-04  James Bowman  <james.bowman@ftdichip.com>
497
498	* configure.host: Add ft32 support.
499	* libc/include/machine/ieeefp.h: Ditto.
500	* libc/include/machine/setjmp.h: Ditto.
501	* libc/machine/configure.in: Ditto.
502	* libc/machine/configure: Ditto.
503	* libc/machine/ft32/Makefile.am: New file.
504	* libc/machine/ft32/Makefile.in: Ditto.
505	* libc/machine/ft32/aclocal.m4: Ditto.
506	* libc/machine/ft32/configure.in: Ditto.
507	* libc/machine/ft32/configure: Ditto.
508	* libc/machine/ft32/memcpy.S: Ditto.
509	* libc/machine/ft32/memset.S: Ditto.
510	* libc/machine/ft32/setjmp.S: Ditto.
511	* libc/machine/ft32/stpcmp.S: Ditto.
512	* libc/machine/ft32/strcmp.S: Ditto.
513	* libc/machine/ft32/strcpy.S: Ditto.
514	* libc/machine/ft32/strlen.S: Ditto.
515
5162015-09-03  Hans-Peter Nilsson  <hp@axis.com>
517
518	* libc/machine/cris/sys/signal.h (kill): Declare.
519
5202015-08-29  Corinna Vinschen  <corinna@vinschen.de>
521
522	* include/sys/unistd.h (_SC_LEVEL*): Add cache-related variables as
523	on Linux.
524
5252015-08-27  Markus Eisenmann  <meisenmann.lba@fh-salzburg.ac.at>
526
527	* libc/machine/arm/strlen-armv7.S: Fix prepocessor check to avoid
528	double definition of strlen.
529
5302015-08-27  Andre Vieira  <andre.simoesdiasvieira@arm.com>
531
532	* libc/include/sys/_intsup.h: Defined new __INTxx, __FASTxx and
533	__LEASTxx macro's to hold information regarding the respective types
534	print and scan formats.
535	* libc/include/inttypes.h: Defined LEAST and FAST specific PRI and SCN
536	macro's as these are not always the same as the INT variants. Used the
537	new __INTxx, __FASTxx and __LEASTxx macro's in their corresponding PRI
538	and SCN macros.
539
5402015-08-07  Stefan Wallentowitz  <stefan.wallentowitz@tum.de>
541
542	* libc/sys/or1k/mlock.c: Fix exception enable saving
543
5442015-08-03  Shoichi Sakon  <s-sakon@ap.jp.nec.com>
545
546	* libc/stdio/vfwscanf.c (__SVFWSCANF_R): Convert wrong usage of va_arg
547	to GET_ARG in %lc, %ls nad %l[] cases.  Fix unterminated string in %l[]
548	case.
549
5502015-07-30  Sebastian Huber  <sebastian.huber@embedded-brains.de>
551
552	* libc/sys/rtems/include/sys/lock.h (__LOCK_INIT_RECURSIVE): Use
553	proper type.
554
5552015-07-30  Wilco Dijkstra  <wdijkstr@arm.com>
556
557	* libc/machine/aarch64/memset.S (memset): Rewrite.
558
5592015-07-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
560
561	libc/sys/rtems/machine/_types.h: Move to ...
562	libc/sys/rtems/include/machine/_types.h: ... here.
563	libc/sys/rtems/machine/limits.h: Move to ...
564	libc/sys/rtems/include/machine/limits.h: ... here.
565	libc/sys/rtems/machine/param.h: Move to ...
566	libc/sys/rtems/include/machine/param.h: ... here.
567	libc/sys/rtems/sys/cpuset.h: Move to ...
568	libc/sys/rtems/include/sys/cpuset.h: ... here.
569	libc/sys/rtems/sys/dirent.h: Move to ...
570	libc/sys/rtems/include/sys/dirent.h: ... here.
571	libc/sys/rtems/sys/param.h: Move to ...
572	libc/sys/rtems/include/sys/param.h: ... here.
573	libc/sys/rtems/sys/syslimits.h: Move to ...
574	libc/sys/rtems/include/sys/syslimits.h: ... here.
575	libc/sys/rtems/sys/utime.h: Move to ...
576	libc/sys/rtems/include/sys/utime.h: ... here.
577
5782015-07-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
579
580	* libc/sys/rtems/include/sys/lock.h: New.
581
5822015-07-21  Corinna Vinschen  <corinna@vinschen.de>
583
584	* libc/include/machine/setjmp.h (siglongjmp): Declare as function on
585	Cygwin.
586	(sigsetjmp): Ditto.
587	(_longjmp): Mark as noreturn function on Cygwin.
588
5892015-07-15  Wilco Dijkstra  <wdijkstr@arm.com>
590
591	* libc/machine/aarch64/memset.S (memset):
592	Revert: Rewrite of optimized memset.
593
5942015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
595
596	* libc/machine/aarch64/memset.S (memset):
597	Rewrite of optimized memset.
598
5992015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
600
601	* libc/machine/aarch64/memcpy.S (memcpy):
602	Rewrite of optimized memcpy.
603
6042015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
605
606	* libc/machine/aarch64/memove.S (memmove):
607	Rewrite of optimized memmove.
608
6092015-07-06  Yaakov Selkowitz  <yselkowi@redhat.com>
610
611	* libc/include/libgen.h (basename): Define as __xpg_basename
612	for source compatibility with glibc.
613	Declare with __ASMNAME("basename") for ABI compatibility.
614	* libc/include/string.h (basename): Define as basename for
615	source compatibility with glibc.
616	Declare with __ASMNAME("__gnu_basename") for ABI compatibility.
617
6182015-07-06  Corinna Vinschen  <corinna@vinschen.de>
619
620	* libc/include/sys/time.h: Explicitely include sys/cdefs.h.
621	* libc/include/sys/types.h: Ditto.  Guard BSD convenience base types
622	with __BSD_VISIBLE rather than !_POSIX_SOURCE.
623
6242015-07-01  Sebastian Huber  <sebastian.huber@embedded-brains.de>
625
626	* libc/stdio/fputs.c (_puts_r): Add missing CHECK_INIT().
627	* libc/stdio/gets.c (_gets_r): Add missing _REENT_SMALL_CHECK_INIT() and
628	CHECK_INIT().  Use _stdin_r() to get the file pointer instead of stdin.
629
6302015-06-29  Jon Turney  <jon.turney@dronecode.org.uk>
631
632	* libc/ctype/Makefile.in: Regenerate.
633	* libc/posix/Makefile.in: Ditto.
634	* libc/stdio/Makefile.in: Ditto.
635	* libc/stdio64/Makefile.in: Ditto.
636	* libc/stdlib/Makefile.in: Ditto.
637	* libc/string/Makefile.in: Ditto.
638
6392015-06-23  Jon Turney  <jon.turney@dronecode.org.uk>
640
641	* libc/ctype/Makefile.am (CHEWOUT_FILES): Add isblank.def.
642	* libc/ctype/ctype.tex: Include isblank and add to menu.
643	* libc/posix/Makefile.am (CHEWOUT_FILES): Add posix_spawn.def.
644	* libc/posix/posix.tex: Include posix_spawn and add to menu.
645	* libc/stdio64/Makefile.am (CHEWOUT_FILES): Add fdopen.def.
646	* libc/stdio64/stdio64.tex: Include fdopen64 and add to menu.
647	* libc/stdio64/fdopen64.c: Improve one-line description.
648	* libc/string/Makefile.am (CHEWOUT_FILES): Add strchrnul.def.
649	* libc/string/strings.tex: Include strchrnul and add to menu.
650
6512015-06-23  Jon Turney  <jon.turney@dronecode.org.uk>
652
653	* libc/stdlib/stdlib.tex: Include itoa and utoa, and add to menu.
654	* libc/string/strings.tex: Include memrchr and rawmemchr, and add
655	to menu.
656	* libm/math/math.tex: Include exp10 and pow10, and add to menu.
657	* libm/common/s_exp10.c: Improve one-line description.
658	* libm/common/s_exp10.c: Ditto.
659
6602015-06-23  Jon Turney  <jon.turney@dronecode.org.uk>
661
662	* libc/stdlib/Makefile.am (CHEWOUT_FILES): Remove $(MALLOCR).def.
663	* libc/stdio/Makefile.am (CHEWOUT_FILES): Remove getwc.def and
664	putwc.def.
665
6662015-06-23  Jon Turney  <jon.turney@dronecode.org.uk>
667
668	* libc/locale/locale.c: Fix mismatched parentheses in
669	documentation.
670	* libc/locale/locale.tex: Ditto.
671	* libc/stdio/fgetwc.c: Ditto.
672
6732015-06-23  Jon Turney  <jon.turney@dronecode.org.uk>
674
675	* libc/stdlib/efgcvt.c: Fix typo-ed function names in
676	documentation.
677	* libc/stdlib/stdlib.tex: Fix function name in menu to match.
678
6792015-06-23  Jon Turney  <jon.turney@dronecode.org.uk>
680
681	* libc/stdio/fread.c: Fix inconsistent use of '.' to separate
682	function names in FUNCTION mark up.
683
6842015-06-23  Jon Turney  <jon.turney@dronecode.org.uk>
685
686	* libc/stdlib/llabs.c: Mark up parameter name in ANSI_SYNOPSIS.
687	* libc/time/tzset.c: Add and mark up parameter in SYNOPSIS.
688	* libm/common/s_nan.c: Ditto.
689
6902015-06-23  Jon Turney  <jon.turney@dronecode.org.uk>
691
692	* libc/stdio/getchar_u.c: Fix a non-ANSI prototype in SYNOPSIS.
693
6942015-06-23  Jon Turney  <jon.turney@dronecode.org.uk>
695
696	* libc/string/wcscpy.c: Remove stray ',' from prototype in
697	ANSI_SYNOPSIS.
698	* libc/string/wcpcpy.c: Ditto.
699
7002015-06-23  Jon Turney  <jon.turney@dronecode.org.uk>
701
702	* libc/stdlib/itoa.c: Fix makedoc markup.
703	* libc/stdlib/wcsnrtombs.c: Ditto.
704
7052015-06-23  Jon Turney  <jon.turney@dronecode.org.uk>
706
707	* libc/signal/signal.tex: Use texinfo not makedoc markup.
708	* libc/stdio/stdio.tex: Ditto.
709
7102015-06-22  Corinna Vinschen  <corinna@vinschen.de>
711
712	* libc/include/sys/signal.h: Include forgotten sys/cdefs.h.
713
7142015-06-20  Corinna Vinschen  <corinna@vinschen.de>
715
716	* libc/include/sys/signal.h: Move altstack macros completely
717	outside of rtems block.
718
7192015-06-19  Corinna Vinschen  <corinna@vinschen.de>
720
721	* libc/include/sys/signal.h: Define SS_ONSTACK and SS_DISABLE
722	unconditionally.
723	(sigaltstack): Enable prototype on Cygwin.
724
7252015-06-15  Freddie Chopin  <freddie_chopin@op.pl>
726
727	* libc/time/gmtime_r.c (gmtime_r): use faster algorithm from
728	civil_from_days() by Howard Hinnant
729
7302015-06-01  Hale Wang  <hale.wang@arm.com>
731
732	* libc/machine/arm/aeabi_memmove-arm.S (__aeabi_memmove): Update the
733	assembler implementation.
734	* libc/machine/arm/aeabi_memmove-thumb.S (__aeabi_memmove): Ditto.
735	* libc/machine/arm/aeabi_memmove-thumb2.S (__aeabi_memmove): Ditto.
736	* libc/machine/arm/aeabi_memset-arm.S (__aeabi_memset): Ditto.
737	* libc/machine/arm/aeabi_memset-thumb.S (__aeabi_memset): Ditto.
738	* libc/machine/arm/aeabi_memset-thumb2.S (__aeabi_memset): Ditto.
739
7402015-06-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
741
742	* libm/machine/aarch64/e_sqrt.c: New file.
743	* libm/machine/aarch64/ef_sqrt.c: New file.
744	* libm/machine/aarch64/s_fabs.c: New file.
745	* libm/machine/aarch64/sf_fabs.c: New file.
746	* libm/machine/aarch64/Makefile.in: Add new source files.
747	* libm/machine/aarch64/Makefile.am: Regenerate.
748
7492015-05-31  David Stacey  <drstacey@tiscali.co.uk>
750
751	* libc/argz/argz_replace.c (argz_replace): Correct behaviour when memory
752	is exhausted.
753
7542015-05-28  Corinna Vinschen  <vinschen@redhat.com>
755
756	* libc/include/sys/wait.h: Fix comment.
757
7582015-05-27  David Stacey  <drstacey@tiscali.co.uk>
759
760	* libc/argz/argz_replace.c: Fix potential memory leak.
761
7622015-05-26  DJ Delorie  <dj@redhat.com>
763
764	* libm/math/e_sqrt.c (__ieee754_sqrt): Don't truncate constant to
765	"int".
766
7672015-05-13  Nick Clifton  <nickc@redhat.com>
768
769	* libm/common/s_signbit.c (__signbitf): Fix for 16-bit targets.
770	(__signbitd): Likewise.
771
7722015-05-02  Corinna Vinschen  <vinschen@redhat.com>
773
774	* libc/include/sys/time.h: Include sys/select.h on Cygwin.  Explain why.
775
7762015-04-29  Corinna Vinschen  <vinschen@redhat.com>
777
778	* libc/include/sys/config.h: Move evaluation of _UINTPTR_EQ_ULONG and
779	_UINTPTR_EQ_ULONGLONG from here...
780	* libc/include/sys/_intsup.h: ...to here.  Rename to _INTPTR_EQ_LONG
781	and _INTPTR_EQ_LONGLONG to refer to signed base type.  Add test for
782	base type of int32_t and set _INT32_EQ_LONG accordingly.
783	* libc/include/stdint.h: Change checks for __have_long32 to checks
784	for _INT32_EQ_LONG.
785	* libc/include/inttypes.h: Ditto.  Accommodate aforementioned name
786	change.
787
7882015-04-22  Corinna Vinschen  <vinschen@redhat.com>
789
790	* libc/include/libgen.h (basename): Drop defining _BASENAME_DEFINED.
791	Always define macro basename.  Add comment to explain why.
792	* libc/include/string.h (basename): Check for basename instead of
793	_BASENAME_DEFINED.  Drop __GNUC__ branch, always use basename macro.
794	Change comment to explain why.  Add nonnull function attribute.
795
7962015-04-09  Nick Clifton  <nickc@redhat.com>
797
798	* libc/machine/rx/memchr.S: Add non-string insn using version.
799	* libc/machine/rx/memcpy.S: Likewise.
800	* libc/machine/rx/memmove.S: Likewise.
801	* libc/machine/rx/mempcpy.S: Likewise.
802	* libc/machine/rx/strcat.S: Likewise.
803	* libc/machine/rx/strcmp.S: Likewise.
804	* libc/machine/rx/strcpy.S: Likewise.
805	* libc/machine/rx/strlen.S: Likewise.
806	* libc/machine/rx/strncat.S: Likewise.
807	* libc/machine/rx/strncmp.S: Likewise.
808	* libc/machine/rx/strncpy.S: Likewise.
809
8102015-04-01  Corinna Vinschen  <vinschen@redhat.com>
811
812	* libc/include/stdint.h: Throughout add parens around MIN/MAX values.
813
8142015-04-01  Sebastian Huber  <sebastian.huber@embedded-brains.de>
815
816	* libc/include/sys/_stdint.h: New file.
817	* libc/include/stdint.h (int8_t): Move to <sys/_stdint.h>.
818	(uint8_t): Likewise.
819	(int16_t): Likewise.
820	(uint16_t): Likewise.
821	(int32_t): Likewise.
822	(uint32_t): Likewise.
823	(int64_t): Likewise.
824	(uint64_t): Likewise.
825	(intptr_t): Likewise.
826	(uintptr_t): Likewise.
827	* libc/include/sys/types.h: Include <sys/_stdint.h>.
828	* libc/sys/rtems/machine/_types.h: Remove <stdint.h> include.
829	* libc/sys/time.h>: Replace __uint32_t with uint32_t and
830	__uint64_t with uint64_t.
831
8322015-04-01  Jon TURNEY  <jon.turney@dronecode.org.uk>
833
834	* libc/include/sys/signal.h (stack_t): Make typedef generally
835	available.
836
8372015-04-01  Corinna Vinschen  <vinschen@redhat.com>
838
839	* libc/stdlib/wctomb_r.c (__utf8_wctomb): Fix check for handling a
840	lone high surrogate.
841
8422015-03-31  Corinna Vinschen  <vinschen@redhat.com>
843
844	* libc/time/lcltime_r.c (localtime_r): Call _tzset_unlocked inside
845	TZ lock.
846	* libc/time/mktime.c (mktime):  Ditto.
847	* libc/time/strftime.c (strftime, wcsftime): Ditto.  Guard against
848	calling _tzset_unlocked more than once (baring recursion).
849
8502015-03-31  Corinna Vinschen  <vinschen@redhat.com>
851
852	* libc/time/local.h (_tzset_unlocked_r): Add prototype.
853	(_tzset_unlocked): Ditto.
854	* libc/time/tzset.c (_tzset_unlocked): New function, call
855	_tzset_unlocked_r.
856	(tzset): Lock and call _tzset_unlocked_r.
857	* libc/time/tzset_r (_tzset_unlocked_r): Remove locking and rename
858	from _tzset_r.
859	(_tzset_r): Lock and call _tzset_unlocked_r.
860
8612015-03-30  Craig Howland  <howland@LGSInnovations.com>
862
863	* libc/stdlib/setenv_r.c (_setenv_r): Remove tzset() call for TZ
864	definition.
865	* libc/time/lcltime_r.c (localtime_r): Add tzset() call
866	* libc/time/mktime.c (mktime):  Ditto.
867	* libc/time/strftime.c (strftime, wcsftime): Ditto.
868
8692015-03-30  Yaakov Selkowitz  <yselkowi@redhat.com>
870
871	* libc/time/strftime.c (strftime) <%Z>: Initialize tznam to NULL.
872	Use _tzname as fallback if TM_ZONE is NULL.
873
8742015-03-30  Yaakov Selkowitz  <yselkowi@redhat.com>
875
876	* libc/include/libgen.h (_BASENAME_DEFINED): Define.
877	* libc/include/string.h (basename): Declare.
878	* libc/string/Makefile.am (ELIX_4_SOURCES): Add gnu_basename.c.
879	* libc/string/Makefile.in: Regenerate.
880	* libc/string/gnu_basename.c: New file.
881
8822015-03-23  Sebastian Huber  <sebastian.huber@embedded-brains.de>
883
884	* libc/include/sys/tree.h: New file.
885
8862013-03-23  Joel Sherrill <joel.sherrill@oarcorp.com>
887
888	* newlib.hin: Remove _UINTPTR_EQ_ULONG and _UINTPTR_EQ_ULONGLONG.
889
8902015-03-23  Joel Sherrill <joel.sherrill@oarcorp.com
891
892	* configure.in: Delete logic to determine _UINTPTR_EQ_ULONGLONG
893	and _UINTPTR_EQ_ULONG at configuration time.
894	*libc/include/sys/config.h: Add logic to determine
895	_UINTPTR_EQ_ULONGLONG and _UINTPTR_EQ_ULONG at compilation time.
896	* libc/include/inttypes.h: Add include of <sys/config.h>.
897	* configure: Regenerated.
898
8992015-03-19  Steve Ellcey  <sellcey@imgtec.com>
900
901	* libc/include/sys/time.h: Replace uint32_t and uint64_t
902	with __uint32_t and __uint64_t.
903
9042015-03-13  Jon TURNEY  <jon.turney@dronecode.org.uk>
905
906	* libc/libc.texinfo: Fix directory entry.
907	* libm/libm.texinfo: Ditto.
908
9092015-03-13  Corinna Vinschen  <vinschen@redhat.com>
910
911	* libc/include/sys/time.h: Drop including cygwin/sys_time.h on Cygwin.
912
9132015-03-13  Sebastian Huber  <sebastian.huber@embedded-brains.de>
914
915	* libc/include/machine/_types.h (__suseconds_t): Define.
916	* libc/include/sys/_timeval.h: Import from FreeBSD and add
917	MinGW-w64 compatibility.
918	(timerclear): Copy from FreeBSD <sys/time.h>.
919	(timerisset): Likewise.
920	(timercmp): Likewise.
921	(timeradd): Likewise.
922	(timersub): Likewise.
923	* libc/include/sys/time.h: (bintime, ...) Import from FreeBSD.
924	(timespecclear, ...): Likewise.
925	(inittodr, ...): Likewise.
926	(timerclear): Delete.
927	(timerisset): Likewise.
928	(timercmp): Likewise.
929	(timeradd): Likewise.
930	(timersub): Likewise.
931	(futimes): Declare if __BSD_VISIBLE.
932	(futimesat): Likewise.
933	(lutimes): Likewise.
934	(setitimer): Declare unconditionally.
935	(gettimeofday): Declare if __XSI_VISIBLE.
936	* libc/include/sys/types.h (sbintime_t): Define.
937	(suseconds_t): Define conditionally via __suseconds_t.
938
9392015-03-12  Sebastian Huber  <sebastian.huber@embedded-brains.de>
940
941	* libc/sys/rtems/include/semaphore.h: Import from FreeBSD.
942
9432015-03-11  Sebastian Huber  <sebastian.huber@embedded-brains.de>
944
945	* libc/include/sys/_timespec.h: Import from FreeBSD.
946	* libc/include/sys/timespec.h: Likewise.
947	* libc/include/time.h: Include <sys/timespec.h>.
948	* libc/include/sys/types.h (timespec): Delete.
949	(itimerspec): Likewise.
950	* libc/include/machine/time.h: Include <sys/_timespec.h>.
951	* libc/include/sys/sched.h: Likewise.
952	* libc/include/sys/signal.h: Likewise.
953	* libc/include/sys/stat.h: Likewise.
954
9552015-03-11  Nick Clifton  <nickc@redhat.com>
956
957	* testsuite/newlib.stdio/swprintf.c (main): Change size of value
958	used to initialise 'val' variable so that it will compile on
959	targets with 32-bit doubles.
960
9612015-03-05  Craig Howland  <howland@LGSInnovations.com>
962
963	* libc/include/stdio.h (FILE): Protect typedef from redefinition.
964	* libc/include/wchar.h: Ditto.
965
9662015-02-25  Gedare Bloom  <gedare@rtems.org>
967
968	* libc/include/machine/time.h (_CLOCKS_PER_SEC_): redefine for RTEMS.
969
9702015-03-03  Steve Ellcey  <sellcey@imgtec.com>
971
972	* libc/machine/mips/memset.S: Add support for mips32r6/mips64r6.
973
9742015-03-03  Steve Ellcey  <sellcey@imgtec.com>
975
976	* libc/machine/mips/memcpy.S: Add support for mips32r6/mips64r6.
977
9782015-02-26  Steve Ellcey  <sellcey@imgtec.com>
979
980	* libc/machine/mips/memcpy.S: Fix macro indentation and typos in
981	comments.
982
9832015-02-24  Jon TURNEY  <jon.turney@dronecode.org.uk>
984
985	* libc/include/sys/cdefs.h (_GNU_SOURCE): Move check so it has an
986	effect when _XOPEN_SOURCE is also defined.
987
9882015-02-17  Hale Wang  <hale.wang@arm.com>
989
990	* libc/machine/arm/aeabi_memclr.c: New file to support
991	aeabi_memclr.
992	* libc/machine/arm/aeabi_memset.c: New file to support
993	aeabi_memset.
994	* libc/machine/arm/aeabi_memset-soft.S: Ditto.
995	* libc/machine/arm/aeabi_memset-arm.S: Ditto.
996	* libc/machine/arm/aeabi_memset-thumb.S: Ditto.
997	* libc/machine/arm/aeabi_memset-thumb2.S: Ditto.
998	* libc/machine/arm/Makefile.am: Add dependencies.
999	* libc/machine/arm/Makefile.in: Regenerated.
1000
10012015-02-17  Hale Wang  <hale.wang@arm.com>
1002
1003	* libc/machine/arm/aeabi_memmove.c: New file to support
1004	aeabi_memmove.
1005	* libc/machine/arm/aeabi_memmove-soft.S: Ditto.
1006	* libc/machine/arm/aeabi_memmove-arm.S: Ditto.
1007	* libc/machine/arm/aeabi_memmove-thumb.S: Ditto.
1008	* libc/machine/arm/aeabi_memmove-thumb2.S: Ditto.
1009	* libc/machine/arm/Makefile.am: Add dependencies.
1010	* libc/machine/arm/Makefile.in: Regenerated.
1011
10122015-02-06  Nick Clifton  <nickc@redhat.com>
1013
1014	* libc/include/complex.h (cabsl): Add prototype.
1015	(cimagl): Add prototype.
1016	(creall): Add prototype.
1017	* libc/include/ieeefp.h: Include float.h.
1018	(EXT_EXPBITS, EXT_FRACHBITS, EXT_FRACLBITS)
1019	(EXT_EXP_INFNAN. EXT_EXP_BIAS, EXT_FRACBITS): Define.
1020	(struct ieee_ext, union ieee_ext_u): New types for long double
1021	support.
1022	* libc/include/math.h (finitel): Add prototype.
1023	(hypotl): Add prototype.
1024	(sqrtl): Add prototype.
1025	* libm/common/Makefile.am (lsrc): Add sl_finite.c.
1026	* libm/common/Makefile.in: Regenerate.
1027	* libm/common/fdlibm.h (__ieee754_hypotl): Add prototype.
1028	* libm/common/hypotl.c (hypotl): Add implementation for when long
1029	double is larger than double.
1030	* libm/common/sqrtl.c (sqrtl): Likewise.
1031	* libm/common/sl_finite.c: New file.  Adds implementation of the
1032	finitel function.
1033	* libm/complex/Makefile.am (lsrc): Define.
1034	(libcomplex_la_SOURCES): Add lsrc.
1035	(lib_a_SOURCES): Add lsrc.
1036	* libm/complex/Makefile.in: Regenerate.
1037	* libm/complex/cabs.c: Add documentation of cabsl function.
1038	* libm/complex/cimag.c: Add documentation of cimagl function.
1039	* libm/complex/creall.c: Add documentation of creall function.
1040	* libm/complex/cabsl.c: New file.  Adds implementation of the
1041	cabsl function.
1042	* libm/complex/cimagl.c: New file.  Adds implementation of the
1043	cimagl function.
1044	* libm/complex/creall.c: New file.  Adds implementation of the
1045	creall function.
1046	* libm/math/Makefile.am (lsrc): Define.
1047	(libmath_la_SOURCES): Add lsrc.
1048	(lib_a_SOURCES): Add lsrc.
1049	* libm/math/Makefile.in: Regenerate.
1050	* libm/math/el_hypot.c: New file.  Adds implementation of the
1051	__ieee754_hypotl function.
1052
10532015-02-04  Corinna Vinschen  <vinschen@redhat.com>
1054
1055	* libc/include/wchar.h (wcstold): Drop _LDBL_EQ_DBL requirement for
1056	declaration.
1057
10582015-01-29  Nick Clifton  <nickc@redhat.com>
1059
1060	* libc/stdlib/wcstold.c (wcstold): Add implementation for when
1061	long double is not the same as double.
1062
10632015-01-28  Christian Eggers  <ceggers@gmx.de>
1064
1065	* libc/include/sys/time.h: #include <sys/cdefs.h> for __BSD_VISIBLE.
1066
10672015-01-23  Corinna Vinschen  <vinschen@redhat.com>
1068
1069	Complete action from 2001-12-18:
1070	* libc/machine/i386/f_*: Remove duplicate files.
1071
10722015-01-22  Yaakov Selkowitz  <yselkowi@redhat.com>
1073
1074	* libc/sys/sparc64/sys/time.h: #include <sys/types.h> for time_t.
1075
10762015-01-22  Stefan Wallentowitz  <stefan.wallentowitz@tum.de>
1077
1078	* libc/sys/or1k/mlock.c: Fix dependency on libgloss.
1079
10802015-01-21  Eric Botcazou  <ebotcazou@adacore.com>
1081
1082	* configure.host: Add Visium support.
1083	* libc/machine/configure.in: Likewise.
1084	* libc/machine/configure: Regenerate.
1085	* libc/machine/visium/: New directory.
1086	* libc/include/machine/setjmp.h (_JBLEN): Define for Visium.
1087	* libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Likewise.
1088	* libc/include/machine/time.h (_CLOCKS_PER_SEC_): Likewise.
1089
10902015-01-20  Stefan Wallentowitz  <stefan.wallentowitz@tum.de>
1091
1092	* libc/sys/configure.in: Add OpenRISC.
1093	* libc/sys/configure: Regenerate.
1094
10952015-01-20  Wilco Dijkstra  <wdijkstr@arm.com>
1096
1097	* libc/machine/aarch64/strlen.S (strlen): Improve performance.
1098
10992015-01-20  Stefan Wallentowitz  <stefan.wallentowitz@tum.de>
1100
1101	* configure.host: Add extra system for OpenRISC baremetal.
1102
11032015-01-14  Joel Sherrill <joel.sherrill@oarcorp.com>
1104
1105	* libc/include/sys/unistd.h [__BSD_VISIBLE]: Add issetugid() prototype.
1106
11072015-01-14  Joel Sherrill <joel.sherrill@oarcorp.com>
1108
1109	* doc/makedoc.c: Use uintptr_t to avoid int/pointer size warnings
1110
11112015-01-14  Stefan Wallentowitz  <stefan.wallentowitz@tum.de>
1112
1113	* configure.host: Add extra system for OpenRISC baremetal
1114	* libc/include/sys/config.h: Dynamic reentrancy for or1k sys targets
1115	* libc/sys/or1k/: New system for or1k baremetal
1116	* libc/sys/or1k/Makefile.am: New file
1117	* libc/sys/or1k/Makefile.in: New file
1118	* libc/sys/or1k/aclocal.m4: New file
1119	* libc/sys/or1k/configure.in: New file
1120	* libc/sys/or1k/configure: New file
1121	* libc/sys/or1k/getreent.S: New file
1122	* libc/sys/or1k/mlock.S: New file
1123	* libc/sys/or1k/or1k-asm.S: New file
1124
11252015-01-12  Renlin Li  <renlin.li@arm.com>
1126
1127	* testsuite/newlib.wctype/tiswctype.c (main): Use wide character type
1128	function.
1129
11302015-01-08  Corinna Vinschen  <vinschen@redhat.com>
1131
1132	* libc/time/strftime.c (__strftime): Utilize __TM_GMTOFF and __TM_ZONE
1133	on systems where available.  On Cygwin, call function to get values.
1134	Add comment to explain why.  Drop TZ_LOCK/TZ_UNLOCK in 'z' case since
1135	it's not necessary.  In 'Z' case, add a comment to document a potential
1136	codeset problem.
1137
11382015-01-08  Renlin Li  <renlin.li@arm.com>
1139
1140	* testsuite/newlib.wctype/twctrans.c (main): Use towlower and towupper.
1141
11422015-01-06  Richard Earnshaw  <rearnsha@arm.com>
1143
1144	* libc/machine/aarch64/strcpy.S (strcpy): Further performance
1145	improvements.  Adjust to allow building as stpcpy.
1146	* libc/machine/aarch64/stpcpy.S: New file.
1147	* libc/machine/aarch64/stpcpy-stub.c: New file.
1148	* libc/machine/aarch64/Makefile.am (lib_a_SOURCES): Build stpcpy.
1149	* libc/machine/aarch64/Makefile.in: Regenerated.
1150
11512014-12-26  Freddie Chopin  <freddie_chopin@op.pl>
1152
1153	* libc/include/sys/features.h: update newlib version and copyright year
1154
11552014-12-18  Jeff Johnston  <jjohnstn@redhat.com>
1156
1157        * NEWS: Update with 2.2.0 info.
1158        * README: Ditto.
1159        * acinclude.m4: Change version number to 2.2.0.
1160        * libc/libc.texinfo: Ditto.
1161        * libm/libm.texinfo: Ditto.
1162        * configure: Regenerated.
1163        * Makefile.in: Regenerated.
1164        * doc/configure: Ditto.
1165        * libc/*/configure: Ditto.
1166        * libm/*/configure: Ditto.
1167        * libc/sys/linux/shared.ld: Add VERS_2.2
1168
11692014-12-18  Yaakov Selkowitz  <yselkowi@redhat.com>
1170
1171	Implement BSD/GNU unlocked stdio extensions.
1172	* libc/include/stdio.h (clearerr_unlocked, feof_unlocked,
1173	ferror_unlocked, fflush_unlocked, fgetc_unlocked, fgets_unlocked,
1174	fileno_unlocked, fputc_unlocked, fputs_unlocked, fread_unlocked,
1175	fwrite_unlocked): Declare.
1176	* libc/include/wchar.h (fgetwc_unlocked, fgetws_unlocked,
1177	fputwc_unlocked, fputws_unlocked, getwc_unlocked, getwchar_unlocked,
1178	putwc_unlocked, putwchar_unlocked): Declare.
1179	* libc/stdio/Makefile.am (ELIX_4_SOURCES): Add clearerr_u.c,
1180	feof_u.c, ferror_u.c, fflush_u.c, fgetc_u.c, fgets_u.c, fgetwc_u.c,
1181	fgetws_u.c, fileno_u.c, fputc_u.c, fputs_u.c, fputwc_u.c, fputws_u.c,
1182	fread_u.c, fwrite_u.c, getwc_u.c, getwchar_u.c, putwc_u.c, putwchar_u.c.
1183	Add necessary dependencies.
1184	* libc/stdio/Makefile.in: Regenerate.
1185	* libc/stdio/clearerr.c: Document unlocked variant.
1186	* libc/stdio/clearerr_u.c: New file.
1187	* libc/stdio/feof.c: Document unlocked variant.
1188	* libc/stdio/feof_u.c: New file.
1189	* libc/stdio/ferror.c: Document unlocked variant.
1190	* libc/stdio/ferror_u.c: New file.
1191	* libc/stdio/fflush.c: Add __IMPL_UNLOCKED__ overrides.
1192	Document unlocked variants.
1193	* libc/stdio/fflush_u.c: New file.
1194	* libc/stdio/fgetc.c: Document unlocked variants.
1195	* libc/stdio/fgetc_u.c: New file.
1196	* libc/stdio/fgets.c: Add __IMPL_UNLOCKED__ overrides.
1197	Document unlocked variants.
1198	* libc/stdio/fgets_u.c: New file.
1199	* libc/stdio/fgetwc.c: Document unlocked variants.
1200	(__fgetwc): Make non-static.
1201	* libc/stdio/fgetwc_u.c: New file.
1202	* libc/stdio/fgetws.c: Add __IMPL_UNLOCKED__ overrides.
1203	Document unlocked variants.
1204	* libc/stdio/fgetws_u.c: New file.
1205	* libc/stdio/fileno.c: Document unlocked variant.
1206	* libc/stdio/fileno_u.c: New file.
1207	* libc/stdio/fputc.c: Document unlocked variants.
1208	* libc/stdio/fputc_u.c: New file.
1209	* libc/stdio/fputs.c: Add __IMPL_UNLOCKED__ overrides.
1210	Document unlocked variants.
1211	* libc/stdio/fputs_u.c: New file.
1212	* libc/stdio/fputwc.c: Document unlocked variants.
1213	(__fputwc): Make non-static.
1214	* libc/stdio/fputwc_u.c: New file.
1215	* libc/stdio/fputws.c: Add __IMPL_UNLOCKED__ overrides.
1216	Document unlocked variants.
1217	* libc/stdio/fputws_u.c: New file.
1218	* libc/stdio/fread.c: Add __IMPL_UNLOCKED__ overrides.
1219	Document unlocked variants.
1220	* libc/stdio/fread_u.c: New file.
1221	* libc/stdio/fwrite.c: Add __IMPL_UNLOCKED__ overrides.
1222	Document unlocked variants.
1223	* libc/stdio/fwrite_u.c: New file.
1224	* libc/stdio/getwc_u.c: New file.
1225	* libc/stdio/getwchar.c: Document unlocked variants.
1226	* libc/stdio/getwchar_u.c: New file.
1227	* libc/stdio/local.h: Define locking macros as empty ifdef
1228	__IMPL_UNLOCKED__.
1229	(__fgetwc, __fputwc): Declare.
1230	* libc/stdio/putwc_u.c: New file.
1231	* libc/stdio/putwchar.c: Document unlocked variants.
1232	* libc/stdio/putwchar_u.c: New file.
1233
12342014-12-18  Corinna Vinschen  <vinschen@redhat.com>
1235
1236	* stdio.tex: Add menu entries for __fsetlocking and stdio_ext.
1237	* stdio_ext.c: Add "stdio_ext" to synopsis.
1238
12392014-12-16  DJ Delorie  <dj@redhat.com>
1240
1241	* libc/stdlib/nano-mallocr.c (ALIGN_TO): Do not assume that
1242	integers are as big as pointers.
1243
12442014-12-16  Richard Earnshaw  <rearnsha@arm.com>
1245
1246	* libc/machine/aarch64/strcpy.S: Improve handling of short strings.
1247
12482014-12-16  Jon Beniston  <jon@beniston.com>
1249
1250	* libc/include/stdlib.h (__itoa):  Declare prototype.
1251	(__utoa): Ditto.
1252	(itoa): Ditto, non-strict-ANSI only.
1253	(utoa): Ditto.
1254	* libc/stdlib/Makefile.am: Add itoa.c and utoa.c.
1255	* libc/stdlib/Makefile.in: Regenerate.
1256	* libc/stdlib/itoa.c: New file.
1257	* libc/stdlib/utoa.c: New file.
1258
12592014-12-15  Jonathan Roelofs  <jonathan@codesourcery.com>
1260
1261	* libc/include/math.h: Add log2l,logbl,nexttowardf,
1262	* nexttoward,nexttowardl
1263	* libm/common/Makefile.am: Reference new files
1264	* libm/common/Makefile.in: Reference new files
1265	* libm/common/log2l.c: New File
1266	* libm/common/logbl.c: Likewise
1267	* libm/common/nexttowardf.c: Likewise
1268	* libm/common/nexttoward.c: Likewise
1269	* libm/common/nexttowardl.c: Likewise
1270
12712014-12-15  Yaakov Selkowitz  <yselkowi@redhat.com>
1272
1273	* libc/include/stdio.h (__SNLK): Define.
1274	* libc/include/stdio_ext.h (FSETLOCKING_QUERY, FSETLOCKING_INTERNAL,
1275	FSETLOCKING_BYCALLER): Define.
1276	(__fsetlocking): Declare.
1277	* libc/stdio/Makefile.am: Build fsetlocking.c.
1278	* libc/stdio/Makefile.in: Regenerate.
1279	* libc/stdio/fsetlocking.c: New file.
1280	* libc/stdio/local.h (_newlib_flockfile_start): Make _flockfile
1281	call dependent on __SNLK flag.
1282	(_newlib_flockfile_exit, _newlib_flockfile_end): Ditto for
1283	_funlockfile calls.
1284	Define all locking macros as empty if __SINGLE_THREAD__.
1285	* libc/stdio/stdio.tex: Include fsetlocking.def.
1286
12872014-12-15  Nick Hung  <nick@andestech.com>
1288
1289	* newlib/libc/include/machine/setjmp.h: Add FPU support.
1290	* newlib/libc/machine/nds32/setjmp.S: Add FPU support.
1291
12922014-12-15  Nick Hung  <nick@andestech.com>
1293
1294	* configure.host: Add libm nds32 machine directory.
1295	* libm/machine/configure: Regenerated.
1296	* libm/machine/configure.in: Add nds32 AC_CONFIG.
1297	* libm/machine/nds32/Makefile.am: New file.
1298	* libm/machine/nds32/Makefile.in: Generated.
1299	* libm/machine/nds32/aclocal.m4: Generated.
1300	* libm/machine/nds32/configure: Generated.
1301	* libm/machine/nds32/configure.in: New file.
1302	* libm/machine/nds32/w_sqrt.S: New file.
1303	* libm/machine/nds32/wf_sqrt.S: New file.
1304
13052014-12-15  Corinna Vinschen  <vinschen@redhat.com>
1306
1307	* libc/include/stdlib.h: Include sys/cdefs.h to avoid undefined
1308	__ASMNAME.
1309
13102014-12-12  Stefan Wallentowitz  <stefan.wallentowitz@tum.de>
1311
1312	* configure.host: or1knd support, OpenRISC without delay slot
1313	* libc/include/machine/setjmp.h: Add or1knd
1314	* libc/machine/or1k/setjmp.S: Optional delay slot
1315
13162014-12-12  Stefan Wallentowitz  <stefan.wallentowitz@tum.de>
1317
1318	* libc/machine/or1k/setjmp.S: Remove save/restore of r3-r8
1319
13202014-12-11  Jonathan Roelofs  <jonathan@codesourcery.com>
1321	    Corinna Vinschen  <vinschen@redhat.com>
1322
1323	* libc/include/stdio.h: Fix type signature of __sfeof and __sferror
1324	for C++.
1325
13262014-12-11  Yaakov Selkowitz  <yselkowi@redhat.com>
1327
1328	* libc/include/stdio_ext.h: Rename __fwriteable to __fwritable.
1329	[!__GNUC__]: Declare real functions for the macros, and make
1330	the macros conditional on !__cplusplus.
1331	* libc/stdio/Makefile.am (ELIX_4_SOURCES): Add stdio_ext.c.
1332	(CHEWOUT_FILES): Add stdio_ext.def.
1333	* libc/stdio/Makefile.in: Regenerate.
1334	* libc/stdio/stdio.tex: Include stdio_ext.def.
1335	* libc/stdio/stdio_ext.c: New file.
1336
13372014-12-04  Corinna Vinschen  <vinschen@redhat.com>
1338
1339	* libc/include/stdio_ext.h: Remove excess "inline".
1340
13412014-12-10  Richard Earnshaw  <rearnsha@arm.com>
1342
1343	* libc/machine/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
1344	register.
1345
13462014-12-08  Richard Earnshaw  <rearnsha@arm.com>
1347
1348	* libc/machine/aarch64/strrchr.S: New file.
1349	* libc/machine/aarch64/strrchr-stub.c: New file.
1350	* libc/machine/aarch64/Makefile.am: Add them to build list.
1351	* libc/machine/aarch64/Makefile.in: Regenerated.
1352
13532014-12-07  Freddie Chopin  <freddie_chopin@op.pl>
1354
1355	* libc/time/gmtime_r.c (gmtime_r): Fixed bug in calculations for dates
1356	after year 2069 or before year 1901. Ideas for solution taken from
1357	musl's __secs_to_tm()
1358
13592014-12-05  Yaakov Selkowitz  <yselkowi@redhat.com>
1360
1361	* libc/include/stdlib.h (__bsd_qsort_r): Declare.
1362	(qsort_r): Declare.
1363	* libc/search/Makefile.am (ELIX_2_SOURCES): Rename from ELIX_SOURCES.
1364	(ELIX_4_SOURCES): Define.  Add bsd_qsort_r.c and qsort_r.c.
1365	(libsearch_la_SOURCES): Adapt accordingly.
1366	(lib_a_SOURCES): Adapt accordingly.
1367	(CHEWOUT_FILES): Add qsort_r.def.
1368	* libc/search/Makefile.in: Regenerate.
1369	* libc/search/bsd_qsort_r.c: New file.
1370	* libc/search/qsort.c: Update from FreeBSD HEAD. Adapt for both BSD
1371	and GNU qsort_r flavors.
1372	* libc/search/qsort_r.c: New file.
1373
13742014-12-04  Ulrich Weigand  <uweigand@de.ibm.com>
1375	    Corinna Vinschen  <vinschen@redhat.com>
1376
1377	* libc/include/sys/signal.h [__SPU__] (kill): Declare.
1378
13792014-12-03  Jeff Johnston  <jjohnstn@redhat.com>
1380
1381	* libc/include/inttypes.h: Only enable the 8-bit scanning macros
1382	if _WANT_IO_C99_FORMATS is defined by configuration.  Add comment
1383	on why.
1384
13852014-11-28  Matthew Fortune  <matthew.fortune@imgtec.com>
1386
1387	* libc/include/machine/setjmp.h [__mips__]: Remove __mips_fpr == 64
1388	from the 64-bit _JBTYPE definition.
1389	* libc/machine/mips/setjmp.S: Re-work the o32 FP64 support to match
1390	the now one-and-only supported o32 FP64 ABI extension.  Also
1391	support o32 FPXX.
1392
13932014-11-26  Hale Wang  <hale.wang@arm.com>
1394
1395	* libc/machine/arm/strcmp-armv6m.S: New file.
1396	* libc/machine/arm/strcmp.S: Add new wrapper.
1397	* libc/machine/arm/Makefile.am: Add dependencies.
1398	* libc/machine/arm/Makefile.in: Regenerated.
1399
14002014-11-25  Corinna Vinschen  <vinschen@redhat.com>
1401
1402	* libc/include/sys/_default_fcntl.h: Move all Cygwin-specific open
1403	flags from Cygwin's fcntl.h here.  Remove check for WIN32.  Remove
1404	Windows-specific macros.
1405
14062014-11-23  Joel Sherrill <joel.sherrill@oarcorp.com>
1407
1408	* libc/include/sys/resource.h: Add prototype for getrusage()
1409	to <sys/resource.h>
1410
14112014-11-21  Nick Clifton  <nickc@redhat.com>
1412
1413	PR target/63901
1414	* configure.host (msp430): Add -mhwmult=none to newlib_cflags.
1415
14162014-11-20  Peter A. Bigot  <pab@pabigot.com>
1417
1418	* libc/stdio/nano-vfprintf_i.c (_printf_i): Use LONGINT when void* is
1419	larger than an int.
1420
14212014-11-20  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1422
1423	* libc/sys/rtems/sys/syslimits.h (NGROUPS_MAX): Adjust value so
1424	that NGROUPS is even.
1425
14262014-11-12  Jon Beniston  <jon@beniston.com>
1427
1428	* libc/stdlib/strtod.c (sulp): Cast to int32_t to avoid overflow.
1429	* libc/time/gmtime_r.c (DAYS_PER_*_YEARS): Convert to long constants
1430	to avoid overflow.
1431
14322014-11-10  Richard Earnshaw  <rearnsha@arm.com>
1433
1434	* libc/machine/aarch64/strcpy.S: New file.
1435	* libc/machine/aarch64/strcpy-stub.S: New file.
1436	* libc/machine/aarch64/Makefile.am (lib_a_SOURCES): Add new files.
1437	* libc/machine/aarch64/Makefile.in: Regenerate.
1438
14392014-11-06  Joel Sherrill <joel.sherrill@oarcorp.com>
1440
1441	* configure.in: Add autoconf test to determine size of uintptr_t.
1442	* newlib.hin: Add new autoconf feature variables.
1443	* libc/include/inttypes.h: Use new feature variables.
1444	* configure: Regenerate.
1445
14462014-11-06  Terry Guo  <terry.guo@arm.com>
1447
1448	* libc/stdio/nano-vfprintf_i.c (_printf_i): Use Newlib approach to
1449	handle string that might be not nul-terminated.
1450	* testsuite/newlib.stdio/nulprintf.c: New test.
1451
14522014-10-29  Jon Turney  <jon.turney@dronecode.org.uk>
1453
1454	* libc/include/string.h: Correct guard for strcasecmp().
1455
14562014-10-29  Terry Guo  <terry.guo@arm.com>
1457
1458	* libc/stdio/vfprintf.c (_VFPRINTF_R): Remove unnecessary comparison.
1459
14602014-10-27  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1461
1462	* libc/include/sys/unistd.h (sethostname): Declare if
1463	requested.
1464
14652014-10-20  Freddie Chopin  <freddie_chopin@op.pl>
1466
1467	* libc/time/gmtime_r.c (gmtime_r): Remove dead code.
1468
14692014-10-16  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1470
1471	* libc/unix/getcwd.c (getcwd): Close directory also in case of an error.
1472
14732014-10-10  Thomas Uhle <thomas.uhle@eas.iis.fraunhofer.de>
1474
1475	* libc/include/_ansi.h: _LONG_LONG_TYPE definition removed.
1476	* libc/include/math.h: _LONG_LONG_TYPE replaced by "long long".
1477	Guards for C99 and C++11 functions fixed.
1478	* libc/include/stdlib.h: Guards for C99 and C++11 functions fixed.
1479
14802014-10-09  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1481
1482	* libc/include/stdint.h: Include <sys/_intsup.h>.
1483	(__STDINT_EXP): Delete.
1484	(__have_long32): Likewise.
1485	(__have_long64): Likewise.
1486	(__have_longlong64): Likewise.
1487	* libc/include/sys/_intsup.h: New file.
1488	(__STDINT_EXP): Move from libc/include/stdint.h.
1489	(__have_long32): Likewise.
1490	(__have_long64): Likewise.
1491	(__have_longlong64): Likewise.
1492	* libc/include/inttypes.h: Include <sys/_intsup.h>.
1493	(__INTTYPES_EXP): Delete and use __STDINT_EXP() instead.
1494
14952014-10-09  Freddie Chopin  <freddie_chopin@op.pl>
1496
1497	* libc/string/memccpy.c (memccpy): Fix warning about signed-unsigned
1498	comparison
1499	* libc/string/memchr.c (memchr): Ditto.
1500	* libc/string/memrchr.c (memrchr): Ditto.
1501	* libc/string/memset.c: (memset): Ditto.
1502	* libc/string/rawmemchr.c (rawmemchr): Ditto.
1503	* libc/string/local.h (__locale_cjk_lang): Fix "function declaration
1504	isn't a prototype" warning.
1505	* libc/string/strcasestr.c (strcasestr): Ditto.
1506	* libc/string/u_strerr.c (_user_strerror): Fix "unused parameter"
1507	warnings.
1508	* libc/string/rawmemchr.c (rawmemchr): Fix comment type
1509	"// ..." -> "/* ... */".
1510
15112014-10-08  Steve Ellcey  <sellcey@mips.com>
1512
1513	* newlib/libc/machine/mips/strcmp.c: Remove.
1514	* newlib/libc/machine/mips/strcmp.S: New.
1515	* newlib/libc/machine/mips/Makefile.am (lib_a_SOURCES):
1516	Replace strcmp.c with strcmp.S
1517	* newlib/libc/machine/mips/Makefile.in: Regenerate.
1518
15192014-10-08 Corinna Vinschen  <vinschen@redhat.com>
1520
1521	* libc/include/string.h (ffsl): Declare as GNU function.
1522	(ffsll): Ditto.
1523
15242014-09-17  Jeff Johnston  <jjohnstn@redhat.com>
1525
1526	* libc/include/sys/features.h: Add __NEWLIB__ and
1527	__NEWLIB_MINOR__ macros.
1528
15292014-09-17  Joel Sherrill <joel.sherrill@oarcorp.com>
1530	    Thomas Uhle <thomas.uhle@eas.iis.fraunhofer.de>
1531
1532	* libc/include/string.h: Correct guard for strnlen().
1533
15342014-09-15  Jeff Johnston  <jjohnstn@redhat.com>
1535
1536	* libc/time/month_lengths.c: Fix to define __month_lengths.
1537
15382014-09-12  Jeff Johnston  <jjohnstn@redhat.com>
1539
1540	* libc/time/tzcalc_limits.c: Fix __month_lengths reference.
1541
15422014-09-12  Jeff Johnston  <jjohnstn@redhat.com>
1543
1544	* libc/time/month_lengths.c: Actually add file this time.
1545	* libc/time/tzcalc_limits.c: Ditto.
1546
15472014-09-11  Freddie Chopin  <freddie_chopin@op.pl>
1548
1549	* libc/time/month_lengths.c: New file with __month_lengths array
1550	(previously mon_lengths array in mktm_r.c)
1551	* libc/time/tzcalc_limits.c: New file with __tzcalc_limits() from
1552	mktm_r.c
1553	* libc/time/lcltime_r.c (localtime_r): Simplify by changing call to
1554	_mktm_r() with call to gmtime_r() and code moved from _mktm_r() which
1555	was used to do time zone adjustments
1556	* libc/time/gmtime_r.c (gmtime_r): Simplify by moving all relevant
1557	code from _mktm_r(), breaking all dependencies on time zone related
1558	functions
1559	* libc/time/mktm_r.c: Delete file
1560	* libc/time/local.h: Update accordingly - remove declaration of
1561	_mktm_r(), add declaration of __month_lengths[]
1562	* libc/time/Makefile.am: Modify accordingly.
1563	* libc/time/Makefile.in: Regenerate.
1564
15652014-09-08  Freddie Chopin  <freddie_chopin@op.pl>
1566
1567	* libc/machine/arm/Makefile.am: Fix typo.
1568	* libc/machine/arm/Makefile.in: Regenerated.
1569
15702014-09-05  Hale Wang  <hale.wang@arm.com>
1571
1572	* libc/machine/arm/memchr.S: Clean up the wrapper.
1573	* libc/machine/arm/memcpy.S: Likewise.
1574	* libc/machine/arm/memchr-stub.c: Delete this redundant file.
1575	* libc/machine/arm/memcpy-stub.c: Likewise.
1576	* libc/machine/arm/strcmp.S: Add speed-preferred wrapper.
1577	* libc/machine/arm/strlen.S: Likewise.
1578	* libc/machine/arm/Makefile.am: Add dependencies.
1579	* libc/machine/arm/Makefile.in: Regenerated.
1580	* libc/machine/arm/configure.in: Add dependencies.
1581	* libc/machine/arm/configure: Regenerated.
1582
15832014-09-05  Bin Cheng  <bin.cheng@arm.com>
1584
1585	* libc/stdio/findfp.c (_cleanup_r): Call _fflush_r when configuration
1586	option "--enable-lite-exit" is in effect.  Refactor the code.
1587
15882014-09-05  Bin Cheng  <bin.cheng@arm.com>
1589
1590	* libc/stdio/fwalk.c (_fwalk_reent): Remove redundant test.
1591
15922014-09-04  Freddie Chopin  <freddie_chopin@op.pl>
1593
1594	* libc/time/mktm_r.c (_mktm_r): Optimize speed.
1595
15962014-09-04  Freddie Chopin  <freddie_chopin@op.pl>
1597
1598	* libc/time/clock.c (clock): Fix warnings about signed-unsigned
1599	comparisons.
1600	* libc/time/strftime.c (strftime): Likewise.
1601	* libc/time/strptime.c (match_string): Fix warning about discarding
1602	'restrict' qualifier from pointer target type.
1603
16042014-09-04  Hale Wang  <hale.wang@arm.com>
1605
1606	* libc/machine/arm/aeabi_memcpy.c: New file.
1607	* libc/machine/arm/aeabi_memcpy-armv7a.S: New file.
1608	* libc/machine/arm/Makefile.am: Add dependencies.
1609	* libc/machine/arm/Makefile.in: Regenerated.
1610
16112014-08-27  DJ Delorie  <dj@redhat.com>
1612
1613	* libc/include/math.h (frexpl): Remove parameter name.
1614
16152014-08-19  Richard Earnshaw  <rearnsha@arm.com>
1616
1617	* libc/machine/aarch64/memchr.S: Add check for zero-sized buffer.
1618
16192014-08-18 Corinna Vinschen  <vinschen@redhat.com>
1620
1621	* libc/include/sys/signal.h: Declare sigaltstack for RTEMS only.
1622
16232014-08-18  Jeff Johnston  <jjohnstn@redhat.com>
1624
1625	* libc/include/sys/config.h[__m68k__]: Set _READ_WRITE_RETURN_TYPE
1626	to _ssize_t to match underlying code in libgloss.
1627
16282014-08-18 Joel Sherrill <joel.sherrill@oarcorp.com>
1629
1630	* libc/include/string.h: Improve language and OS standard guards.
1631
16322014-08-18 Joel Sherrill <joel.sherrill@oarcorp.com>
1633
1634	* libc/include/sys/signal.h: Add sigaltstack() support.
1635
16362014-08-14  Bin Cheng  <bin.cheng@arm.com>
1637
1638	* libc/stdio/findfp.c (std): Don't inline when optimizing for code size.
1639
16402014-08-04  Jon TURNEY  <jon.turney@dronecode.org.uk>
1641
1642	* libc/include/math.h: Also define M_PI etc. if _XOPEN_SOURCE is
1643	defined appropriately.
1644
16452014-08-01  Eric Blake  <eblake@redhat.com>
1646
1647	* libc/machine/spu/spu_timer_internal.h: Decorate attribute names
1648	with __, for namespace safety.
1649	* libc/machine/xscale/machine/profile.h: Likewise.
1650	* libc/include/stdlib.h: Likewise.
1651	* libc/include/_ansi.h: Likewise.
1652	* libc/include/sys/unistd.h: Likewise.
1653	* libc/sys/linux/linuxthreads/libc-symbols.h: Likewise.
1654	* libc/sys/linux/linuxthreads/internals.h: Likewise.
1655	* libc/sys/linux/machine/i386/weakalias.h: Likewise.
1656	* libc/sys/linux/machine/i386/dl-procinfo.h: Likewise.
1657	* libc/sys/linux/machine/i386/dl-machine.h: Likewise.
1658	* libc/sys/linux/libc-symbols.h: Likewise.
1659	* libc/sys/linux/iconv/gconv_charset.h: Likewise.
1660	* libc/sys/linux/include/resolv.h: Likewise.
1661	* libc/sys/linux/sys/unistd.h: Likewise.
1662	* libc/sys/linux/dl/atomicity.h: Likewise.
1663	* libc/sys/linux/dl/dynamic-link.h: Likewise.
1664	* libc/sys/linux/dl/ldsodefs.h: Likewise.
1665
16662014-07-30  Corinna Vinschen  <vinschen@redhat.com>
1667
1668	* libc/string/strerror.c: Fix documentation so makedoc doesn't
1669	stumble over a sole EAGAIN.
1670
16712014-07-27  Anthony Green  <green@moxielogic.com>
1672
1673	* configure.host: Add moxie-*-moxiebox target.
1674
16752014-07-22  Joel Sherrill <joel.sherrill@oarcorp.com>
1676
1677	* libc/include/sys/time.h: Add prototype for adjtime() and
1678	wrap it and settimeofday() prototype with __BSD_VISIBLE.
1679
16802014-07-17  Hesham ALMatary <heshamelmatary@gmail.com>
1681
1682	* configure.host: Remove or16 and or32 targets and add or1k.
1683	* libc/include/machine/ieeefp.h: Replace or32 with or1k.
1684	* libc/machine/configure.in: Add or1k subdirectory.
1685	* libc/machine/configure: Regenerate.
1686	* libc/machine/or1k/configure.in: New file.
1687	* libc/machine/or1k/configure: New file.
1688	* libc/machine/or1k/Makefile.am: New file.
1689	* libc/machine/or1k/Makefile.in: New file.
1690	* libc/machine/or1k/setjmp.S: New file.
1691
16922014-07-14  Nick Withers  <nick.withers@anu.edu.au>
1693
1694	* libc/include/sys/errno.h: Fix comments.
1695	* libc/string/strerror.c: Fix documentation.
1696	(_strerror_r): Handle ENETRESET, EILSEQ, ENODATA, ECONNRESET,
1697	EADDRNOTAVAIL, EOVERFLOW.  Fix strings for EMFILE and EDOM.
1698
16992014-07-11  K�vin Petit  <kevin.petit@arm.com>
1700
1701	* libc/machine/aarch64/memchr.S: New file.
1702	* libc/machine/aarch64/memchr-stub.c: New file.
1703	* libc/machine/aarch64/Makefile.am: Add the new files.
1704	* libc/machine/aarch64/Makefile.in: Regenerated.
1705
17062014-07-07  Pavel Pisa  <pisa@cmp.felk.cvut.cz>
1707	    Richard Earnshaw  <rearnsha@arm.com>
1708
1709	* libc/machine/arm/memchr.S (.arch): Require revision ARMv6t2.
1710
17112014-07-07  Corinna Vinschen  <vinschen@redhat.com>
1712
1713	* configure.in (--enable-newlib-nano-formatted-io): Set to "no"
1714	by default.
1715	* configure: Regenerated.
1716
17172014-07-04  Bin Cheng  <bin.cheng@arm.com>
1718
1719	* README (--enable-newlib-nano-formatted-io): Describe.
1720	* acconfig.h (_NANO_FORMATTED_IO): Undef.
1721	* newlib.hin (_NANO_FORMATTED_IO): Undef.
1722	* configure.in (--enable-newlib-nano-formatted-io): New option.
1723	* configure: Regenerated.
1724	* libc/configure.in (--enable-newlib-nano-formatted-io): New option.
1725	* libc/configure: Regenerated.
1726	* libc/stdio/Makefile.am (NEWLIB_NANO_FORMATTED_IO): Support new
1727	configuration option.
1728	* libc/stdio/Makefile.in: Regenerated.
1729	* libc/stdio/asnprintf.c (_asniprintf_r, asniprintf): Use
1730	_NANO_FORMATTED_IO to declare alias prototypes.
1731	* libc/stdio/asprintf.c (_asiprintf_r, asiprintf): Ditto.
1732	* libc/stdio/dprintf.c (_diprintf_r, diprintf): Ditto.
1733	* libc/stdio/fprintf.c (_fiprintf_r, fiprintf): Ditto.
1734	* libc/stdio/fscanf.c (fiscanf, _fiscanf_r): Ditto.
1735	* libc/stdio/printf.c (_iprintf_r, iprintf): Ditto.
1736	* libc/stdio/scanf.c (iscanf, _iscanf_r): Ditto.
1737	* libc/stdio/snprintf.c (_sniprintf_r, sniprintf): Ditto.
1738	* libc/stdio/sprintf.c (_siprintf_r, siprintf): Ditto.
1739	* libc/stdio/sscanf.c (siscanf, _siscanf_r): Ditto.
1740	* libc/stdio/vasnprintf.c (_vasniprintf_r, vasniprintf): Ditto.
1741	* libc/stdio/vasprintf.c (vasiprintf, _vasiprintf_r): Ditto.
1742	* libc/stdio/vdprintf.c (_vdiprintf_r, vdiprintf): Ditto.
1743	* libc/stdio/vprintf.c (viprintf, _viprintf_r): Ditto.
1744	* libc/stdio/vscanf.c (viscanf, _viscanf_r): Ditto.
1745	* libc/stdio/vsnprintf.c (vsniprintf, _vsniprintf_r): Ditto.
1746	* libc/stdio/vsprintf.c (vsiprintf, _vsiprintf_r): Ditto.
1747	* libc/stdio/vsscanf.c (vsiscanf, _vsiscanf_r): Ditto.
1748	* libc/stdio/nano-vfprintf.c: New file.
1749	* libc/stdio/nano-vfprintf_float.c: New file.
1750	* libc/stdio/nano-vfprintf_i.c: New file.
1751	* libc/stdio/nano-vfprintf_local.h: New file.
1752	* libc/stdio/nano-vfscanf.c: New file.
1753	* libc/stdio/nano-vfscanf_float.c: New file.
1754	* libc/stdio/nano-vfscanf_i.c: New file.
1755	* libc/stdio/nano-vfscanf_local.h: New file.
1756
17572014-06-23  Corinna Vinschen  <vinschen@redhat.com>
1758
1759	* libc/argz/envz_merge.c (envz_merge): Fix memory leak (Cygwin Coverity
1760	Scan CID 60023).
1761	* libc/ctype/iswalpha.c (iswalpha): Add bounds check to avoid
1762	out-of-bounds read from utf8 tables (CID 59949).
1763	* libc/locale/ldpart.c (__part_load_locale): Add 1 byte to size of lbuf.
1764	Write NUL into the last byte to accommodate split_lines (CID 60047).
1765
17662014-06-11  Richard Earnshaw  <rearnsha@arm.com>
1767
1768	* libc/machine/aarch64/strchrnul.S: New file.
1769	* libc/machine/aarch64/strchrnul-stub.c: New file.
1770	* libc/machine/aarch64/Makefile.am: Add them to build list.
1771	* libc/machine/aarch64/Makefile.in: Regenerated.
1772
17732014-06-10  Richard Earnshaw  <rearnsha@arm.com>
1774
1775	* libc/machine/aarch64/strchr.S: New file.
1776	* libc/machine/aarch64/strchr-stub.c: New file.
1777	* libc/machine/aarch64/Makefile.am: Add them to build list.
1778	* libc/machine/aarch64/Makefile.in: Regenerated.
1779
17802014-06-09  DJ Delorie  <dj@redhat.com>
1781
1782	* configure.host (default_newlib_nano_malloc): New.
1783	(msp430): Set it.
1784	* configure.in (newlib_nano_malloc): Leave unset if not set by
1785	the user.
1786	* configure: Regenerate.
1787	* libc/configure.in (NEWLIB_NANO_MALLOC): Set after running
1788	configure.host.
1789	(newlib_nano_malloc): Leave unset if not set by	the user.
1790	* libc/configure: Regenerate.
1791
17922014-05-15  Daniel Cederman  <cederman@gaisler.com>
1793
1794	* libc/machine/sparc/setjmp.S (longjmp): Use register g1 instead of g6.
1795
17962014-05-14  Kaushik Phatak  <Kaushik.Phatak@kpit.com>
1797
1798	* libc/include/machine/ieeefp.h: Define _DOUBLE_IS_32BITS when double
1799	options is not __RL78_64BIT_DOUBLES__.
1800
18012014-05-12  Corinna Vinschen  <vinschen@redhat.com>
1802
1803	* libc/include/stdint.h (WCHAR_MIN): Copy definition from wchar.h.
1804	(WCHAR_MAX): Ditto.
1805	* libc/include/wchar.h (WCHAR_MIN): Add comment.
1806	(WCHAR_MAX): Ditto.
1807
18082014-05-09  Corinna Vinschen  <vinschen@redhat.com>
1809
1810	* libc/include/stdio.h (tempnam): Declare as __BSD_VISIBLE or
1811	__XSI_VISIBLE or if __POSIX_VISIBLE >= 200112.
1812
18132014-05-09  Corinna Vinschen  <vinschen@redhat.com>
1814
1815	* libc/include/stdio.h (fcloseall): Declare as __GNU_VISIBLE only.
1816	(renameat): Drop explicit __CYGWIN__ dependency.
1817
18182014-05-05  Corinna Vinschen  <vinschen@redhat.com>
1819
1820	* libc/include/stdio.h: Declare various C99 printf/scanf functions for
1821	C++11, too.
1822
18232014-04-22  Richard Earnshaw  <rearnsha@arm.com>
1824
1825	* libc/machine/arm/strcmp-arm-tiny.S: New file.
1826	* libc/machine/arm/strcmp-armv4.S: New file.
1827	* libc/machine/arm/strcmp-armv4t.S: New file.
1828	* libc/machine/arm/strcmp-armv6.S: New file.
1829	* libc/machine/arm/strcmp-armv7.S: New file.
1830	* libc/machine/arm/strcmp-armv7m.S: New file.
1831	* libc/machine/arm/strcmp.S: Replace with wrapper for various
1832	implementations.
1833	* libc/machine/arm/Makefile.am (strcmp.o, strcmp.obj): Add
1834	dependencies.
1835	* libc/machine/arm/Makefile.in: Regenerated.
1836
18372014-04-14  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1838
1839	* libc/sys/rtems/sys/cpuset.h (CPU_SET_S): Add const qualifier.
1840	(CPU_SET): Likewise.
1841
18422014-04-09  DJ Delorie  <dj@redhat.com>
1843
1844	* libc/machine/rl78/setjmp.S: Add RL78/G10 support.
1845
18462014-04-04  Ashish Kapania  <akapania@ti.com>
1847
1848	* configure.host (sys_dir, newlib_cflags): Set sys_dir to tirtos and use
1849	-D__DYNAMIC_REENT__ and -DMALLOC_PROVIDED compiler options for TIRTOS
1850	target.
1851	* libc/stdio/local.h (_STDIO_CLOSE_PER_REENT_STD_STREAMS): Change #ifdef
1852	to not define this macro when __tirtos__ is defined.
1853	* libc/sys/tirtos : Add support for TIRTOS.
1854	* libc/sys/tirtos/Makefile.am, libc/sys/tirtos/lock.c: New files.
1855	* libc/sys/tirtos/configure.in, libc/sys/tirtos/include/sys/lock.h: Ditto.
1856
18572014-03-27  Richard Earnshaw  <rearnsha@arm.com>
1858
1859	* libc/machine/arm/acle-compat.h: New file.
1860	* libc/machine/arm/arm_asm.h: Use it.
1861
18622014-03-21  Maciej W. Rozycki  <macro@codesourcery.com>
1863
1864	* libc/stdlib/gd_qnan.h (f_QNAN, d_QNAN0, d_QNAN1): Add MIPS
1865	versions.
1866	(ld_QNAN0, ld_QNAN1, ld_QNAN2, ld_QNAN3): Don't define for MIPS.
1867	(ldus_QNAN0, ldus_QNAN1, ldus_QNAN2, ldus_QNAN3, ldus_QNAN4):
1868	Likewise.
1869	* libc/stdlib/ldtoa.c (nan113, nan64, nan53, nan24): Add MIPS
1870	versions.
1871	(enan): Handle legacy MIPS payloads.
1872	* libm/common/s_nan.c (nan): Use __builtin_nan if supported by
1873	the compiler.
1874	* libm/common/sf_nan.c (nanf): Likewise.
1875
18762014-03-21  Sabrina Ni  <sabrinanitw@gmail.com>
1877
1878	* libc/machine/nds32/configure: Regenerated.
1879	* libc/machine/nds32/configure.in: Add AC_NOEXECUTABLES.
1880
18812014-03-21  Sabrina Ni  <sabrinanitw@gmail.com>
1882
1883	* libc/machine/nds32/Makefile.am: Use C code implemented memcpy,
1884	memset for 'ISA V3M'.
1885	* libc/machine/nds32/Makefile.in: Generated.
1886	* libc/machine/nds32/configure: Generated.
1887	* libc/machine/nds32/configure.in: Detect IS_NDS32_ISA_V3M.
1888
18892014-03-21  Sabrina Ni  <sabrinanitw@gmail.com>
1890
1891	* libc/machine/nds32/setjmp.S: Keep jmp_buff sync with GDB.
1892
18932014-03-21  Sabrina Ni  <sabrinanitw@gmail.com>
1894
1895	* libc/machine/nds32/setjmp.S: Optimize.
1896
18972014-03-07  Corinna Vinschen  <vinschen@redhat.com>
1898	    Jeff Johnston  <jjohnstn@redhat.com>
1899
1900	* libc/include/stdlib.h (strtold): Define if _HAVE_LONG_DOUBLE is
1901	defined.
1902	* libc/stdlib/strtold.c (strtold): Ditto.  Call strtod on systems
1903	with long double == double, _strtold otherwise.
1904
19052014-03-05  Corinna Vinschen  <vinschen@redhat.com>
1906
1907	* libc/include/time.h (__TM_GMTOFF): Remove Cygwin-specific definition.
1908	(__TM_ZONE): Ditto.
1909
19102014-03-05  Corinna Vinschen  <vinschen@redhat.com>
1911
1912	* libc/include/time.h (__TM_GMTOFF): Define on Cygwin.
1913	(__TM_ZONE): Ditto.
1914	(struct tm): Add __TM_GMTOFF and __TM_ZONE members if they are defined.
1915
19162014-03-04  Ed Nelson  <ed@nelson305.com>
1917
1918	* libc/include/machine/_default_types.h: Define unsigned type using
1919	signed type macros in case unsigned type macros are not available.
1920
19212014-02-20  Agustin Henze  <tin@sluc.org.ar>
1922
1923	* libm/complex/complex.tex: Fix wrong syntax in documentation.
1924	* libm/math/math.tex: Ditto.
1925
19262014-02-20  Corinna Vinschen  <vinschen@redhat.com>
1927
1928	* libc/stdio/open_memstream.c (internal_open_memstream_r): Initialize
1929	c->pos to 0.
1930
19312014-02-11  Joey Ye  <joey.ye@arm.com>
1932
1933	* libc/sys/arm/syscalls.c (_sbrk): Define as weak symbols.
1934	(_read, _write): Ditto.
1935
19362014-02-09  Corinna Vinschen  <vinschen@redhat.com>
1937
1938	* libc/include/pwd.h: Include <sys/cdefs.h>.
1939	* libc/include/grp.h: Ditto.
1940
19412014-02-04  Matthias Braun  <matze@braunis.de>
1942
1943	* libm/mathfp/sf_numtest.c: Fix NaN/Inf detection logic.
1944
19452014-01-20  Corinna Vinschen  <vinschen@redhat.com>
1946
1947	* libc/include/setjmp.h (longjmp): Fix copy/paste error.
1948
19492014-01-19  Corinna Vinschen  <vinschen@redhat.com>
1950
1951	* libc/include/setjmp.h (longjmp): Mark "noreturn" when building with
1952	GCC.
1953
19542014-01-17  Corinna Vinschen  <vinschen@redhat.com>
1955
1956	* libc/include/pwd.h: Use __foo_VISIBLE macros from sys/cdefs.h.
1957	(setpassent): Declare.
1958
19592014-01-17  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1960
1961	* libc/include/sys/_default_fcntl.h (LOCK_SH): Define.
1962	(LOCK_EX): Likewise.
1963	(LOCK_NB): Likewise.
1964	(LOCK_UN): Likewise.
1965	(flock): Declare.
1966
19672014-01-17  Corinna Vinschen  <vinschen@redhat.com>
1968
1969	Introduce _STDIO_BSD_SEMANTICS flag to switch fclose/exit file flushing
1970	semantics from POSIX to BSD.
1971	* libc/stdio/fclose.c (_fclose_r): Conditionalize file flushing on
1972	_STDIO_BSD_SEMANTICS.  Call __sflush_r rather than _fflush_r.  Add
1973	comment.
1974	* libc/stdio/fflush.c (__sflushw_r): New function, only available
1975	if _STDIO_BSD_SEMANTICS is defined.
1976	* libc/stdio/findfp.c (_cleanup_r): Call _fwalk_reent rather than
1977	_fwalk.  Conditionalize cleanup function call on _STDIO_BSD_SEMANTICS.
1978	Add comments.  Add FIXME.
1979	* libc/stdio/local.h (__sflushw_r): Declare if _STDIO_BSD_SEMANTICS is
1980	defined.
1981
19822014-01-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1983
1984	* libc/include/sys/_default_fcntl.h (AT_FDCWD): Define according
1985	to POSIX.
1986	(AT_EACCESS): Likewise.
1987	(AT_SYMLINK_NOFOLLOW): Likewise.
1988	(AT_SYMLINK_FOLLOW): Likewise.
1989	(AT_REMOVEDIR): Likewise.
1990	(openat): Declare according to POSIX.
1991	* libc/include/stdio.h (renameat): Likewise.
1992	* libc/include/sys/stat.h (fchmodat): Likewise.
1993	(fstatat): Likewise.
1994	(mkdirat): Likewise.
1995	(mkfifoat): Likewise.
1996	(mknodat): Likewise.
1997	(utimensat): Likewise.
1998	(futimens): Likewise.
1999	* libc/include/sys/unistd.h (faccessat): Likewise.
2000	(fchownat): Likewise.
2001	(linkat): Likewise.
2002	(readlinkat): Likewise.
2003	(symlinkat): Likewise.
2004	(unlinkat): Likewise.
2005
20062014-01-06  Mike Frysinger  <vapier@gentoo.org>
2007
2008	* libc/search/hash.c (hash_delete): Change __uint32_t to u_int.
2009	(hash_get): Likewise.
2010	(hash_put): Likewise.
2011	(hash_seq): Likewise.
2012	(hash_sync): Likewise.
2013
20142014-01-06  Mike Frysinger  <vapier@gentoo.org>
2015
2016	* libc/ctype/jp2uc.c: Include string.h.
2017
20182013-12-23  Jeff Johnston  <jjohnstn@redhat.com>
2019
2020	* NEWS: Update with 2.1.0 info.
2021	* README: Ditto.
2022	* acinclude.m4: Change version number to 2.1.0.
2023	* aclocal.m4: Regenerated.
2024	* configure: Ditto.
2025	* Makefile.in: Regenerated.
2026	* doc/aclocal.m4: Ditto.
2027	* doc/configure: Ditto.
2028	* libc/*/aclocal.m4: Ditto.
2029	* libc/*/configure: Ditto.
2030	* libc/libc.texinfo: Ditto.
2031	* libm/*/aclocal.m4: Ditto.
2032	* libm/*/configure: Ditto.
2033	* libm/libm.texinfo: Ditto.
2034	* libc/sys/linux/shared.ld: Add VERS_2.1
2035
20362013-12-22  JF Bastien  <jfb@chromium.org>
2037
2038	* libc/include/limits.h: Define LLONG_MIN, LLONG_MAX and ULLONG_MAX
2039	for C++11 too.
2040	* libc/include/stdlib.h: Define struct lldiv_t, _Exit, atoll, llabs
2041	and lldiv for C99 and C++11.  Move wcstold to wchar.h.
2042	* libc/include/wchar.h: Define WCHAR_MIN and WCHAR_MAX according to
2043	__WCHAR_UNSIGNED__ if it is provided, and correct the limit when
2044	unsigned (to 32 all-1 bits, not 31).  Define FILE as in stdio.h.
2045	Move wcstold from stdlib.h here.
2046
20472013-12-20  Nick Clifton  <nickc@redhat.com>
2048
2049	* configure.host (newlib_cflags): Use -Os, -ffunction-sections and
2050	-fdata-sections for RL78.
2051
20522013-12-19  Corinna Vinschen  <vinschen@redhat.com>
2053
2054	* libc/stdio/vfwscanf.c (__SVFWSCANF_R): Fix fetching decimal_point in
2055	!_MB_CAPABLE as well as in !__HAVE_LOCALE_INFO_EXTENDED__ case.
2056
20572013-12-18  Corinna Vinschen  <vinschen@redhat.com>
2058
2059	* libc/stdio/vfscanf.c (BUF): Change definition to take multibyte
2060	decimal point into account.
2061	(__SVFSCANF_R): Handle radix char language-dependent
2062	per POSIX.
2063	* libc/stdio/vfwscanf.c (__SVFWSCANF_R): Ditto.
2064
20652013-12-10  Jeff Johnston  <jjohnstn@redhat.com>
2066
2067	* acconfig.h: Add _HAVE_CC_INHIBIT_LOOP_TO_LIBCALL.
2068	* newlib.hin: Ditto.
2069	* configure: Regenerate.
2070	* configure.in: Add setting of _HAVE_CC_INHIBIT_LOOP_TO_LIBCALL.
2071	* libc/string/local.h: Add check for _HAVE_CC_INHIBIT_LOOP_TO_LIBCALL
2072	and set __inhibit_loop_to_libcall macro appropriately.
2073	* libc/string/memmove.c: Use __inhibit_loop_to_libcall macro in
2074	function declaration.
2075	* libc/string/memset.c: Ditto.
2076
20772013-12-10  Chirayu Desai  <chirayudesai1@gmail.com>
2078
2079	* libc/sys/rtems/include/limits.h: Update page size to match
2080	libc/sys/rtems/machine/param.h.
2081
20822013-12-03  Sebastian Huber  <sebastian.huber@embedded-brains.de>
2083
2084	* libc/sys/rtems/sys/cpuset.h: Use __inline instead of inline.
2085
20862013-12-03  Sebastian Huber  <sebastian.huber@embedded-brains.de>
2087
2088	* libc/include/machine/_default_types.h: Move extern "C" after
2089	header includes.  Include <sys/features.h> for
2090	__GNUC_PREREQ__().
2091	(__u?int.*_t): Define via GCC provided __U?INT.*_TYPE__ if
2092	available.
2093	(__intptr_t): Define.
2094	(__uintptr_t): Likewise.
2095	* libc/include/stdint.h: Include <machine/_default_types.h>
2096	instead of <_ansi.h>.
2097	(u?int.*_t): Define via __u?int.*_t provided by
2098	<machine/_default_types.h>.
2099	(u?int_fast.*_t): Define via GCC provided
2100	__U?INT_FAST.*_TYPE__ if available.
2101	(U?INT.*(MIN|MAX)): Define via GCC provided __U?INT.*(MIN|MAX)__
2102	if available.
2103	(U?INT.*_C): Define via GCC provided __U?INT.*_C if available.
2104	* libc/include/sys/cdefs.h: Use <machine/_default_types.h>
2105	instead of <stdint.h>.
2106	* libc/sys/rtems/sys/cpuset.h: Likewise.
2107	* libc/sys/rtems/machine/_types.h: Include <stdint.h> for
2108	FreeBSD compatibility.
2109
21102013-11-29  Sebastian Huber <sebastian.huber@embedded-brains.de>
2111
2112	* libc/include/pthread.h (pthread_cleanup_push): Delete prototype
2113	and add macro of the same name.
2114	(pthread_cleanup_pop): Likewise.
2115	(_pthread_cleanup_context): Define.
2116	(_pthread_cleanup_push): Likewise.
2117	(_pthread_cleanup_pop): Likewise.
2118	(pthread_cleanup_push_defer_np): Define if _GNU_SOURCE is defined.
2119	(pthread_cleanup_pop_restore_np): Likewise.
2120	(_pthread_cleanup_push_defer): Likewise.
2121	(_pthread_cleanup_pop_restore): Likewise.
2122
21232013-11-29  Jennifer Averett <jennifer.averett@oarcorp.com>
2124
2125	* libc/include/pthread.h (pthread_attr_setaffinity_np):
2126	Add pthread SMP affinity attributes to methods to RTEMS for
2127	compatibility with GNU/Linux.
2128	(pthread_attr_getaffinity_np): Likewise.
2129	(pthread_setaffinity_np): Likewise.
2130	(pthread_getaffinity_np): Likewise.
2131	(pthread_getattr_np): Add for GNU/Linux compatibility.
2132	* libc/include/sys/types.h: Add cpuset to pthread_attr_t for RTEMS.
2133	* libc/include/sys/cdefs.h (_GNU_SOURCE): Defining _GNU_SOURCE
2134	turns on all _XXX_VISBLE feature flags.
2135
21362013-11-27  Sebastian Huber  <sebastian.huber@embedded-brains.de>
2137
2138	* libc/sys/rtems/cpusetalloc.c: New file.
2139	* libc/sys/rtems/cpusetfree.c: Likewise.
2140	* libc/sys/rtems/Makefile.am (lib_a_SOURCES): Add new files.
2141	* libc/sys/rtems/Makefile.in: Regenerate.
2142	* libc/sys/rtems/sys/cpuset.h: Delete #if 0 block.  Include
2143	<stddef.h> for size_t.
2144	(_NCPUBITS): Avoid NBBY and assume 8 bits per char.
2145	(__cpuset_mask): Use int instead of size_t parameter for Linux
2146	compatibility.
2147	(__cpuset_index): Likewise.
2148	(__cpuset_alloc): Declare.
2149	(__cpuset_free): Likewise.
2150	(CPU_ALLOC_SIZE): Likewise.
2151	(CPU_ALLOC): Define.
2152	(CPU_FREE): Likewise.
2153	(CPU_ZERO_S): Likewise.
2154	(CPU_FILL_S): Likewise.
2155	(CPU_SET_S): Likewise.
2156	(CPU_CLR_S): Likewise.
2157	(CPU_ISSET_S): Likewise.
2158	(CPU_COUNT_S): Likewise.
2159	(CPU_AND_S): Likewise.
2160	(CPU_OR_S): Likewise.
2161	(CPU_XOR_S): Likewise.
2162	(CPU_NAND_S): Likewise.
2163	(CPU_EQUAL_S): Likewise.
2164	(CPU_ZERO): Use CPU_ZERO_S().
2165	(CPU_FILL): Use CPU_FILL_S().
2166	(CPU_SET): Use CPU_SET_S().
2167	(CPU_CLR): Use CPU_CLR_S().
2168	(CPU_ISSET): Use CPU_ISSET_S().
2169	(CPU_COUNT): Use CPU_COUNT_S().
2170	(CPU_AND): Use CPU_AND_S().
2171	(CPU_OR): Use CPU_OR_S().
2172	(CPU_XOR): Use CPU_XOR_S().
2173	(CPU_NAND): Use CPU_NAND_S().
2174	(CPU_EQUAL): Use CPU_EQUAL_S().
2175	(CPU_CMP): Delete superfluous const qualifier.
2176	(CPU_EMPTY): Likewise.
2177
21782013-11-27  Matheus Almeida  <Matheus.Almeida@imgtec.com>
2179
2180	* libc/machine/mips/setjmp.S: Fix definition of macro FPR_LAYOUT
2181	for ABI == N32.
2182
21832013-11-26  Matheus Almeida  <Matheus.Almeida@imgtec.com>
2184
2185	* libc/include/machine/setjmp.h: Add support for __mips_fpr being
2186	64 and treat it the same as if __mips64 is set.
2187	* libc/machine/mips/setjmp.S: Ditto, plus add checks for _MIPS_SIM
2188	being _ABIN32 and _ABI64.
2189
21902013-11-26  Joel Sherrill <joel.sherrill@oarcorp.com>
2191
2192	* libc/machine/powerpc/vfscanf.c, libc/stdio/fgetpos.c,
2193	libc/stdio/fgets.c, libc/stdio/fputs.c, libc/stdio/fread.c,
2194	libc/stdio/freopen.c, libc/stdio/fwrite.c, libc/stdio/sscanf.c,
2195	libc/stdlib/mbstowcs.c, libc/stdlib/mbtowc.c,
2196	libc/stdlib/strtod.c, libc/stdlib/strtol.c, libc/stdlib/strtoll.c,
2197	libc/stdlib/strtoul.c, libc/stdlib/strtoull.c,
2198	libc/stdlib/wcstombs.c: Fix documentation prototypes which were
2199	over eighty columns.
2200
22012013-11-26  Julio Gutierrez <jgutleyva@gmail.com>
2202
2203	*libc/include/wchar.h: Add restrict keyword.
2204	*libc/stdio/fgetws.c (fgetws): ditto.
2205	*libc/stdio/fputws.c (fputws): ditto.
2206	*libc/stdio/fwprintf.c (fwprintf): ditto.
2207	*libc/stdio/fwscanf.c (fwscanf): ditto.
2208	*libc/stdio/swprintf.c (swprintf): ditto.
2209	*libc/stdio/swscanf.c (swscanf): ditto.
2210	*libc/stdio/vfwprintf.c (vfwprintf): ditto.
2211	*libc/stdio/vfwscanf.c (vfwscanf): ditto.
2212	*libc/stdio/vswprintf.c (vswprintf): ditto.
2213	*libc/stdio/vswscanf.c (vswscanf): ditto.
2214	*libc/stdio/vwprintf.c (vwprintf): ditto.
2215	*libc/stdio/vwscanf.c (vwscanf): ditto.
2216	*libc/stdio/wprintf.c (wprintf): ditto.
2217	*libc/stdio/wscanf.c (wscanf): ditto.
2218	*libc/stdlib/mbrlen.c (mbrlen): ditto.
2219	*libc/stdlib/mbrtowc.c (mbrtowc): ditto.
2220	*libc/stdlib/mbsnrtowcs.c (mbsnrtowcs): ditto.
2221	*libc/stdlib/mbsrtowcs.c (mbsrtowcs): ditto.
2222	*libc/stdlib/wcrtomb.c (wcrtomb): ditto.
2223	*libc/stdlib/wcsnrtombs.c (wcsnrtombs): ditto.
2224	*libc/stdlib/wcsrtombs.c (wcsrtombs): ditto.
2225	*libc/stdlib/wcstod.c (wcstod): ditto.
2226	*libc/stdlib/wcstol.c (wcstol): ditto.
2227	*libc/stdlib/wcstold.c (wcstold): ditto.
2228	*libc/stdlib/wcstoll.c (wcstoll): ditto.
2229	*libc/stdlib/wcstoul.c (wcstoul): ditto.
2230	*libc/stdlib/wcstoull.c (cstoull): ditto.
2231	*libc/string/wcpcpy.c (wcpcpy): ditto.
2232	*libc/string/wcpncpy.c (wcpncpy): ditto.
2233	*libc/string/wcscat.c (wcscat): ditto.
2234	*libc/string/wcscpy.c (wcscpy): ditto.
2235	*libc/string/wcsncat.c (wcsncat): ditto.
2236	*libc/string/wcsncpy.c (wcsncpy): ditto.
2237	*libc/string/wcsstr.c (wcsstr): ditto.
2238	*libc/string/wcstok.c (wcstok): ditto.
2239	*libc/string/wcsxfrm.c (wcsxfrm): ditto.
2240	*libc/string/wmemcpy.c (wmemcpy): ditto.
2241
22422013-11-26  Corinna Vinschen  <vinschen@redhat.com>
2243
2244	* libc/posix/posix_spawn.c: Drop using namespace.h.
2245
22462013-11-26  Corinna Vinschen  <vinschen@redhat.com>
2247
2248	* libc/posix/posix_spawn.c: Eliminate OS function calls not present
2249	in newlib or Cygwin.
2250	(process_spawnattr): Use sigprocmask rather than _sigprocmask.  Use
2251	sigaction rather than _sigaction.
2252	(process_file_actions_entry): Use dup2 rather than _dup2.
2253	(do_posix_spawn): Use execvpe rather than _execvpe.  Use waitpid
2254	rather than _waitpid.
2255
22562013-11-25  Joel Sherrill <joel.sherrill@oarcorp.com>
2257
2258	* libc/iconv/lib/iconv.c, libc/time/strftime.c: Change "restrict<" to
2259	"restrict <" to fix formatting.
2260
22612013-11-25  Corinna Vinschen  <vinschen@redhat.com>
2262
2263	* libc/include/spawn.h (posix_spawn_file_actions_destroy): Fix typo
2264	in function name.
2265	* libc/posix/posix_spawn.c (posix_spawn_file_actions_destroy): Ditto.
2266
22672013-11-25  Sahil Patnayakuni <sahil.patnayakuni@gmail.com>
2268
2269	* libc/include/time.h (time): Add restrict keyword.
2270	* libc/include/wchar.h (wcsftime): Add restrict keyword.
2271	* libc/time/asctime_r.c (asctime_r): Same.
2272	* libc/time/gmtime_r.c (gmtime_r): Same.
2273	* libc/time/lcltime_r.c (lcltime_r): Same.
2274	* libc/time/strftime.c (strftime): Same.
2275	* libc/time/strptime.c (strptime): Same.
2276	* libc/sys/linux/linuxthreads/timer_create.c (timer_create): Same.
2277	* libc/sys/linux/linuxthreads/timer_settime.c (timer_settime): Same.
22782013-11-23 Bryan Dunsmore <dunsmoreb@gmail.com>
2279
2280	* libc/include/wordexp.h (wordexp): Add restrict keyword.
2281	* libc/posix/wordexp.c (wordexp): Ditto.
2282
22832013-11-22  Bryan Dunsmore <dunsmoreb@gmail.com>
2284
2285	* libc/include/sys/time.h (gettimeofday): Add restrict keyword.
2286	(setitimer): Likewise.
2287	* libc/sys/rdos/gettod.c (gettimeofday): Likewise.
2288	* libc/sys/rtems/crt0.c (gettimeofday): Likewise.
2289
22902013-11-22  Chirayu Desai  <chirayudesai1@gmail.com>
2291
2292	* libc/include/sys/unistd.h (readlink): Add restrict keyword.
2293	(readlinkat): Ditto.
2294	(swab): Ditto.
2295	* libc/sys/rdos/readlink.c (readlink): Ditto.
2296	* libc/string/swab.c (swab): Ditto.
2297
22982013-11-21  Daniel Ramirez <javamonn@gmail.com>
2299
2300	* libc/sys/linux/statvfs.c (statvfs): Added restrict keyword.
2301
23022013-11-21  Joel Sherrill <joel.sherrill@oarcorp.com>
2303
2304	* libc/sys/rdos/chown.c, libc/sys/rdos/close.c, libc/sys/rdos/execve.c,
2305	libc/sys/rdos/fork.c, libc/sys/rdos/fstat.c, libc/sys/rdos/getpid.c,
2306	libc/sys/rdos/gettod.c, libc/sys/rdos/isatty.c, libc/sys/rdos/kill.c,
2307	libc/sys/rdos/link.c, libc/sys/rdos/lseek.c, libc/sys/rdos/open.c,
2308	libc/sys/rdos/rdos.h, libc/sys/rdos/read.c, libc/sys/rdos/readlink.c,
2309	libc/sys/rdos/sbrk.c, libc/sys/rdos/stat.c, libc/sys/rdos/symlink.c,
2310	libc/sys/rdos/times.c, libc/sys/rdos/unlink.c, libc/sys/rdos/wait.c,
2311	libc/sys/rdos/write.c: Convert from DOS to UNIX CRLF.
2312
23132013-11-21  Julio Gutierrez <jgutleyva@gmail.com>
2314
2315	* libc/include/glob.h (glob): Add restrict keyword.
2316	* libc/posix/glob.c (glob): Ditto.
2317
23182013-11-21  Joel Sherrill <joel.sherrill@oarcorp.com>
2319
2320	* libc/posix/readdir_r.c: Add restrict keyword.
2321	* libc/machine/spu/sys/dirent.h, libc/sys/decstation/sys/dirent.h,
2322	libc/sys/linux/sys/dirent.h, libc/sys/rtems/sys/dirent.h,
2323	libc/sys/sparc64/sys/dirent.h, libc/sys/sun4/sys/dirent.h,
2324	libc/sys/sysvi386/sys/dirent.h: Add readdir_r() prototype.
2325
23262013-11-21  Joel Sherrill <joel.sherrill@oarcorp.com>
2327
2328	* libc/sys/rdos/stat.c: Remove stray +.
2329
23302013-11-21  Daniel Ramirez <javamonn@gmail.com>
2331
2332	* libc/include/sys/stat.h, libc/sys/linux/sys/stat.h,
2333	libc/sys/m88kbug/syscalls.c, libc/sys/rdos/stat.c,
2334	libc/sys/sparc64/sys/stat.h: Add restrict keyword.
2335
23362013-11-20  Daniel Ramirez <javamonn@gmail.com>
2337
2338	* libc/include/search.h, libc/search/tdelete.c: Add restrict keyword.
2339
23402013-11-20  Chirayu Desai  <chirayudesai1@gmail.com>
2341
2342	* libc/include/regex.h, libc/posix/regcomp.c,
2343	libc/posix/regerror.c, libc/posix/regex.3
2344	libc/posix/regexec.c: Add restrict keyword.
2345
23462013-11-20  Daniel Ramirez <javamonn@gmail.com>
2347
2348	* libc/iconv/lib/iconv.c, libc/include/iconv.h,
2349	libc/sys/linux/iconv/iconv.c: Add restrict keyword.
2350
23512013-11-20  Corinna Vinschen  <vinschen@redhat.com>
2352
2353	* libc/include/stdlib.h: Declare realpath only if !__STRICT_ANSI__.
2354
23552013-11-19  Jennifer Averett <jennifer.averett@oarcorp.com>
2356
2357	* libc/sys/rtems/sys/cpuset.h: New file.
2358
23592013-11-19  Joel Sherrill <joel.sherrill@oarcorp.com>
2360
2361	* libc/include/stdlib.h: Add prototype of realpath().
2362	* libc/sys/linux/realpath.c: Add restrict keyword.
2363
23642013-11-19  Joel Sherrill <joel.sherrill@oarcorp.com>
2365
2366	* libm/common/modfl.c: Add cast to remove compiler warning.
2367
23682013-11-19  Terraneo Federico  <fede.tft@hotmail.it>
2369
2370	* libc/posix/closedir.c: Fix use after free.
2371	Remove useless test dd_fd != -1
2372	* libc/posix/readdir.c: Remove useless test dd_fd == -1
2373	* libc/posix/readdir_r.c: Ditto.
2374
23752013-11-18  Sahil Patnayakuni  <sahilp@oarcorp.com>
2376
2377	* libc/include/stdio.h, libc/machine/powerpc/vfscanf.c,
2378	libc/machine/spu/fgetpos.c, libc/machine/spu/fgets.c,
2379	libc/machine/spu/fopen.c, libc/machine/spu/fputs.c,
2380	libc/machine/spu/fread.c, libc/machine/spu/freopen.c,
2381	libc/machine/spu/fwrite.c, libc/machine/spu/setbuf.c,
2382	libc/machine/spu/vfprintf.c, libc/machine/spu/vfscanf.c,
2383	libc/machine/spu/vsnprintf.c, libc/machine/spu/vsprintf.c,
2384	libc/machine/spu/vsscanf.c, libc/stdio/asnprintf.c,
2385	libc/stdio/asprintf.c, libc/stdio/dprintf.c,
2386	libc/stdio/fgetpos.c, libc/stdio/fgets.c,
2387	libc/stdio/fmemopen.c, libc/stdio/fopen.c,
2388	libc/stdio/fprintf.c, libc/stdio/fputs.c,
2389	libc/stdio/fread.c, libc/stdio/freopen.c,
2390	libc/stdio/fscanf.c, libc/stdio/fwrite.c,
2391	libc/stdio/printf.c, libc/stdio/scanf.c,
2392	libc/stdio/setbuf.c, libc/stdio/snprintf.c,
2393	libc/stdio/sprintf.c, libc/stdio/sscanf.c,
2394	libc/stdio/vdprintf.c, libc/stdio/vprintf.c,
2395	libc/stdio/vscanf.c, libc/stdio/vsnprintf.c,
2396	libc/stdio/vsprintf.c, libc/stdio/vsscanf.c: Add restrict keyword.
2397
23982013-11-18  Sahil Patnayakuni  <sahilp@oarcorp.com>
2399
2400	* libc/include/stdlib.h, libc/stdlib/mbstowcs.c,
2401	libc/stdlib/mbstowcs_r.c, libc/stdlib/mbtowc.c,
2402	libc/stdlib/mbtowc_r.c, libc/stdlib/strtod.c,
2403	libc/stdlib/strtol.c, libc/stdlib/strtold.c,
2404	libc/stdlib/strtoll.c, libc/stdlib/strtoll_r.c,
2405	libc/stdlib/strtoul.c, libc/stdlib/strtoull.c,
2406	libc/stdlib/strtoull_r.c, libc/stdlib/wcstombs.c,
2407	libc/stdlib/wcstombs_r.c: Add restrict keyword.
2408
24092013-11-18  Marcus Shawcroft  <marcus.shawcroft@arm.com>
2410
2411	* libc/include/sys/unistd.h (ftruncate, truncate): Define
2412	for __arm__.
2413
24142013-11-13  Gregory Pietsch <gpietsch@comcast.net>
2415
2416	* newlib/libc/stdlib/getopt.c (getopt_internal): Add missing braces.
2417
24182013-11-13  Freddie Chopin  <freddie_chopin@op.pl>
2419
2420	* newlib/libc/include/getopt.h (struct option): name field should be
2421	"const char *".
2422	* newlib/libc/stdlib/getopt.c (getopt_internal): Use fputs()/fputc()
2423	instead of fprintf() to save code space.  Fix signed/unsigned
2424	comparison.
2425
24262013-11-12  Sebastian Huber  <sebastian.huber@embedded-brains.de>
2427
2428	* libc/libc/stdlib/getopt.c (getopt_internal): Fix NULL pointer access.
2429
24302013-11-08  Terry Guo  <terry.guo@arm.com>
2431
2432	* libm/libm.texinfo: Rename node Index to Document Index.
2433
24342013-11-08  Corinna Vinschen  <vinschen@redhat.com>
2435
2436	* libc/libc.texinfo: Rename node Library Index to Document Index.
2437
24382013-11-04  Terraneo Federico  <fede.tft@hotmail.it>
2439
2440	* libc/stdio/fvwrite.c: Allow writing in larger chunks for fully
2441	buffered and unbuffered files, to improve write performance.
2442
24432013-10-31  Terraneo Federico  <fede.tft@hotmail.it>
2444
2445	* libc/stdio/fvwrite.h: change type of uio_resid from int to size_t to
2446	fix fwrite() of > 2GByte buffers.
2447
24482013-10-30  Joey Ye  <joey.ye@arm.com>
2449
2450	Implement malloc_stats for nano.
2451	* libc/stdlib/nano-mallocr.c (RONECALL): New parameter macro.
2452	(sbrk_start): New variable.
2453	(current_mallinfo, free_list): Forward declaration of data.
2454	(chunk): Define size as long type.
2455	(mallinfo): Synchronize with latest malloc.h.
2456	(nano_*): Forward declaration of functions.
2457	(get_chunk_from_ptr): Defined to static inline.
2458	(nano_mallinfo): Implement this function.
2459	(nano_malloc_stats): Implement this function.
2460
24612013-10-30  Sebastian Huber  <sebastian.huber@embedded-brains.de>
2462
2463	* libc/include/machine/_default_types.h: Revert change from 2013-10-10.
2464
24652013-10-24  Hans-Peter Nilsson  <hp@axis.com>
2466
2467	* libc/include/stdio.h [!__LARGE64_FILES] (funopen): Fix typo
2468	in last change.
2469
24702013-10-23  Corinna Vinschen  <vinschen@redhat.com>
2471
2472	* libc/include/stdio.h (funopen): Change prototype of
2473	__readfn and __writefn parameter to match new definition of
2474	FILE's _read and _write methods.
2475	(_funopen_r): Ditto.
2476	(funopen): Ditto.
2477	(_funopen_r): Ditto.
2478	* libc/include/sys/config.h (_READ_WRITE_BUFSIZE_TYPE) Define
2479	as type int if not already defined.  Add comment to explain.
2480	* libc/include/sys/reent.h: Include stddef.h.
2481	(struct __sFILE): Change type of last parameter in declaration
2482	of _read and _write methods to _READ_WRITE_BUFSIZE_TYPE.
2483	(struct __sFILE64): Ditto.
2484	* libc/stdio/local.h (__sread): Declare with last parameter set
2485	to _READ_WRITE_BUFSIZE_TYPE.
2486	(__seofread): Ditto.
2487	(__swrite): Ditto.
2488	(__swrite64): Ditto.
2489	* libc/stdio/fvwrite.c (__sfvwrite_r): Change type of local
2490	variables w and s to _READ_WRITE_RETURN_TYPE.
2491	* libc/stdio/fflush.c (__sflush_r): Change type of local variables
2492	n and t to _READ_WRITE_BUFSIZE_TYPE and _READ_WRITE_RETURN_TYPE.
2493	Add local variables flags to keep _flags value.
2494	* libc/stdio/fmemopen.c (fmemreader): Align to above change.
2495	(fmemwriter): Ditto.
2496	* libc/stdio/fopencookie.c (fcreader): Ditto.
2497	(fcwriter): Ditto.
2498	* libc/stdio/funopen.c (funread): Ditto.
2499	(funwrite): Ditto.
2500	(funreader): Ditto.
2501	(funwriter): Ditto.
2502	* libc/stdio/open_memstream.c (memwriter): Ditto.
2503	* libc/stdio/stdio.c (__sread): Ditto.
2504	(__seofread): Ditto.
2505	(__swrite): Ditto.
2506	* libc/stdio64/stdio64.c (__swrite64): Ditto.
2507
25082013-10-18  Joey Ye  <joey.ye@arm.com>
2509
2510	* configure.in (enable-newlib-global-atexit): New option.
2511	* configure: Regenerated.
2512	* newlib.hin (_REENT_GLOBAL_ATEXIT): Place-holder.
2513	* README (enable-newlib-global-atexit): Description for
2514	new option.
2515
25162013-10-18  Sebastian Huber  <sebastian.huber@embedded-brains.de>
2517
2518	* libc/include/sys/unistd.h (MAXPATHLEN): Delete.
2519	* libc/include/sys/param.h (MAXPATHLEN): Define.
2520	* libc/sys/rtems/sys/param.h (MAXPATHLEN): Likewise.
2521	* libc/unix/getcwd.c: Include <sys/param.h> for MAXPATHLEN.
2522
25232013-10-10  Sebastian Huber  <sebastian.huber@embedded-brains.de>
2524
2525	* libc/libc/sys/rtems/sys/param.h: Update some parameters to
2526	the latest FreeBSD values.
2527
25282013-10-10  Sebastian Huber  <sebastian.huber@embedded-brains.de>
2529
2530	* libc/sys/rtems/machine/_types.h (_HAVE_SYSTYPES): Define.
2531
25322013-10-10  Sebastian Huber  <sebastian.huber@embedded-brains.de>
2533
2534	* libc/sys/rtems/include/limits.h (_POSIX_HOST_NAME_MAX):
2535	Define.
2536
25372013-10-10  Sebastian Huber  <sebastian.huber@embedded-brains.de>
2538
2539	* libc/sys/rtems/machine/_types.h (__dev_t): Define.
2540	(__dev_t_defined) Likewise.
2541	* libc/include/sys/_types.h (__dev_t): Delete RTEMS specific
2542	definition.
2543
25442013-10-10  Sebastian Huber  <sebastian.huber@embedded-brains.de>
2545
2546	* libc/sys/rtems/machine/_types.h (_ssize_t): Delete.
2547	(__ssize_t_defined) Likewise.
2548
25492013-10-30  Sebastian Huber <sebastian.huber@embedded-brains.de>
2550
2551	* libc/include/machine/_default_types.h: Revert change from 2013-10-10.
2552
25532013-10-10  Sebastian Huber  <sebastian.huber@embedded-brains.de>
2554
2555	* libc/include/machine/_default_types.h (__int8_t): Define via
2556	<stdint.h> provided type.
2557	(__uint8_t): Likewise.
2558	(__int8_least_t): Likewise.
2559	(__uint8_least_t): Likewise.
2560	(__int16_t): Likewise.
2561	(__uint16_t): Likewise.
2562	(__int16_least_t): Likewise.
2563	(__uint16_least_t): Likewise.
2564	(__int32_t): Likewise.
2565	(__uint32_t): Likewise.
2566	(__int32_least_t): Likewise.
2567	(__uint32_least_t): Likewise.
2568	(__int64_t): Likewise.
2569	(__uint64_t): Likewise.
2570
25712013-10-10  Sebastian Huber  <sebastian.huber@embedded-brains.de>
2572
2573	* libc/include/paths.h (_PATH_DEVNULL): Define.
2574	(_PATH_DEVZERO): Likewise.
2575
25762013-10-09  Marcus Shawcroft  <marcus.shawcroft@arm.com>
2577
2578	* testsuite/newlib.wctype/twctype.c (main): Update
2579	iswprint(0xce2) test case.
2580
25812013-10-03  Steve Ellcey  <sellcey@mips.com>
2582
2583	* libc/machine/mips/memset.c: Remove.
2584	* libc/machine/mips/memset.S: New.
2585	* libc/machine/mips/Makefile.am: Change memset.c to memset.S
2586	* libc/machine/mips/Makefile.in: Regenerate.
2587
25882013-10-01  Petr Hosek  <phosek@chromium.org>
2589
2590	* configure.host: Disable new posix_spawn function for all
2591	users of posix dir except Cygwin.
2592	* libc/posix/Makefile.am: Add support for new posix_spawn function.
2593	* libc/posix/Makefile.in: Regenerate.
2594	* libc/posix/posix_spawn.c: New file.
2595	* libc/include/spawn.h: Ditto.
2596
25972013-09-13  Joey Ye  <joey.ye@arm.com>
2598
2599	* libc/stdlib/nano-mallocr.c (nano_allopt): Typo fixed to ...
2600	(nano_mallopt): ... this.
2601
26022013-09-12  Sebastian Huber  <sebastian.huber@embedded-brains.de>
2603
2604	* libc/include/sys/cdefs.h: Synchronize with latest FreeBSD
2605	version.
2606	* libc/include/stdatomic.h: Likewise.
2607
26082013-09-08  Yaakov Selkowitz  <yselkowitz@users.sourceforge.net>
2609
2610	* libc/include/search.h (__compar_fn_t): Add typedef.
2611	(tdelete, tfind, tsearch): Use it.
2612	* libc/include/stdlib.h (__compar_fn_t): Add typedef.
2613	(bsearch, qsort): Use it.
2614
26152013-08-19  Meador Inge  <meadori@codesourcery.com>
2616
2617	* libc/stdlib/__atexit.c (__register_exitproc): NULL-ify
2618	_on_exit_args_ptr when creating a new _atexit structure while
2619	_REENT_SMALL is defined.
2620
26212013-08-12  Bin Cheng  <bin.cheng@arm.com>
2622
2623	* libc/configure.in (--enable-newlib-wchar-orient): Remove.
2624	* libc/configure: Regenerated.
2625	* libc/stdio/Makefile.am (NEWLIB_WIDE_ORIENT): Remove.
2626	* libc/stdio/Makefile.in: Regenerated.
2627
26282013-08-12  Yufeng Zhang  <Yufeng.Zhang@arm.com>
2629
2630	* libc/sys/arm/crt0.S: Remove 'start'.
2631
26322013-08-08  Freddie Chopin  <freddie_chopin@op.pl>
2633
2634	* libc/string/strncat.c: Fix typo in documentation.
2635
26362013-08-01  Corinna Vinschen  <vinschen@redhat.com>
2637
2638	* libc/include/stdio_ext.h (__fbufsize): Define as inline function for
2639	gcc, as macro otherwise.
2640	(__freading): Ditto.
2641	(__fwriting): Ditto.
2642	(__freadable): Ditto.
2643	(__fwriteable): Ditto.
2644	(__flbf): Ditto.
2645	(__fpending): Ditto.
2646
26472013-07-23  Sahil Patnayakuni  <sahilp@rtems.org>
2648
2649	* libc/sys/linux/include/netdb.h, libc/sys/linux/net/getaddrinfo.c,
2650	libc/sys/linux/net/getnameinfo.c: Add restrict keyword to getnameinfo()
2651	and getaddrinfo() to increase standards compliance and match glibc.
2652
26532013-07-23  Sahil Patnayakuni  <sahilp@rtems.org>
2654
2655	* libc/include/string.h, libc/string/memccpy.c, libc/string/memcpy.c,
2656	libc/string/stpcpy.c, libc/string/stpncpy.c, libc/string/strcat.c,
2657	libc/string/strncat.c, libc/string/strncpy.c, libc/string/strtok.c,
2658	libc/string/strtok_r.c, libc/string/strxfrm.c
2659	libc/machine/microblaze/strcpy.c, libc/machine/xscale/memcpy.c,
2660	libc/machine/cris/memcpy.c: Add __restrict to prototype to
2661	increase standards compliance.
2662
26632013-07-18  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
2664
2665	* libc/sys/arm/syscalls.c (do_AngelSWI): Delete.
2666	* libc/sys/arm/libcfuncs.c (do_AngelSWI): Delete.
2667	* libc/sys/arm/swi.h: Copy over from libgloss.
2668
26692013-07-17  Janis Johnson  <janisjo@codesourcery.com>
2670
2671	* libc/machine/powerpc/configure.in: Remove extra_sources; fix
2672	extra_objs for powerpc*-*altivec.
2673	* libc/machine/powerpc/Makefile.am: Define EXTRA_lib_a_SOURCES.
2674	* libc/machine/powerpc/configure: Regenerated.
2675	* libc/machine/powerpc/Makefile.in: Regenerated.
2676
26772013-07-16  David Holsgrove <david.holsgrove@xilinx.com>
2678
2679	* configure.host: Change to microblaze*.
2680	* libc/include/machine/ieeefp.h: Add __MICROBLAZEEL__.
2681	* libc/machine/microblaze/mb_endian.h: New file.
2682	* newlib/libc/machine/microblaze/strcmp.c: Add little endian support.
2683	* newlib/libc/machine/microblaze/strcpy.c: Likewise.
2684	* newlib/libc/machine/microblaze/strlen.c: Likewise.
2685
26862013-07-09  Sabrina Ni  <sabrina@andestech.com>
2687
2688	* libc/machine/nds32/Makefile.am (lib_a_SOURCES): Add abort.c, memcpy.S,
2689	memset.S, strcmp.S, and strcpy.S.
2690	* libc/machine/nds32/Makefile.in: Regenerated.
2691	* libc/machine/nds32/{abort.c, memcpy.S, memset.S, strcmp.S, strcpy.S}:
2692	New.
2693
26942013-07-09  Sabrina Ni  <sabrina@andestech.com>
2695
2696	* configure.host (machine_dir, syscall_dir, newlib_cflags):
2697	Add settings for nds32*.
2698	* libc/include/machine/ieeefp.h (IEEE_BIG_ENDIAN, IEEE_LITTLE_ENDIAN):
2699	Ditto.
2700	* libc/include/machine/setjmp.h (JBLEN): Ditto.
2701	* libc/machine/configure.in: Add nds32 subdir.
2702	* libc/machine/configure: Regenerated.
2703	* libc/machine/nds32/Makefile.am: New.
2704	* libc/machine/nds32/Makefile.in: New (autogenerated).
2705	* libc/machine/nds32/aclocal.m4: New (autogenerated).
2706	* libc/machine/nds32/configure.in: New.
2707	* libc/machine/nds32/configure: New (autogenerated).
2708	* libc/machine/nds32/setjmp.S: New.
2709
27102013-07-09  Sebastian Huber  <sebastian.huber@embedded-brains.de>
2711
2712	* libc/include/sys/config.h (__DYNAMIC_REENT__): Define for RTEMS.
2713
27142013-07-09  Bin Cheng  <bin.cheng@arm.com>
2715
2716	* libc/stdio/fwalk.c (_fwalk): Remove redundant test.
2717
27182013-07-05  Yaakov Selkowitz  <yselkowitz@users.sourceforge.net>
2719
2720	* libc/include/sys/types.h (u_char): Add redefinition guard.
2721	(u_short, u_int, u_long, caddr_t, daddr_t): Ditto.
2722
27232013-07-02  Joey Ye  <joey.ye@arm.com>
2724
2725	Lite exit support.
2726	* README: Add information about lite-exit.
2727	* acconfig.h (_LITE_EXIT): New macro.
2728	* configure.in (enable-lite-exit): New option.
2729	(_LITE_EXIT): Define new macro.
2730	* configure: Regenerated.
2731	* newlib.hin (_LITE_EXIT): New macro.
2732	* libc/stdlib/__atexit.c [_LITE_EXIT]: Add dummy explicit
2733	reference to __call_exitprocs.
2734	* libc/stdlib/cxa_atexit.c [_LITE_EXIT]: Make __register_exitproc a
2735	weak reference.
2736	* libc/stdlib/exit.c (exit)[_LITE_EXIT]: Remove TWS and weakly reference
2737	__call_exitprocs.
2738
27392013-07-02  Jeff Johnston  <jjohnstn@redhat.com>
2740
2741	* libc/include/sys/reent.h: Fix typo in comment.
2742
27432013-07-01  Will Newton  <will.newton@linaro.org>
2744
2745	* libc/machine/arm/memcpy-armv7a.S: Adjust entry to
2746	 aligned loop to improve misaligned copy performance.
2747
27482013-06-26  Jeff Johnston  <jjohnstn@redhat.com>
2749
2750	* libc/include/stdio.h: Specify std streams always in terms
2751	of _REENT.
2752	* libc/include/wchar.h: Ditto.
2753	* libc/include/sys/reent.h: Remove _RENT_ONLY check around
2754	setting of _REENT macro.
2755
27562013-06-24  Yaakov Selkowitz  <yselkowitz@users.sourceforge.net>
2757
2758	* libc/include/string.h (rawmemchr): Declare.
2759	* libc/string/Makefile.am (ELIX_4_SOURCES): Add rawmemchr.c.
2760	(CHEWOUT_FILES): Add rawmemchr.def.
2761	* libc/string/Makefile.in: Regenerate.
2762	* libc/string/rawmemchr.c: New file.
2763
27642013-06-24  Terraneo Federico  <fede.tft@hotmail.it>
2765
2766	* libc/reent/reent.c (_reclaim_reent): Free also _misc and
2767	_signal_buf.
2768
27692013-06-24  Terraneo Federico  <fede.tft@hotmail.it>
2770
2771	* libc/include/sys/reent.h (_ATEXIT_INIT_PTR): Remove.
2772	(_REENT_INIT_ATEXIT_PTR): Remove.
2773	(_REENT_INIT_PTR): Reduce code size if _REENT_SMALL.
2774
27752013-06-21  Will Newton  <will.newton@linaro.org>
2776
2777	* libc/machine/arm/strlen-armv7.S: Import latest strlen
2778	code from Linaro cortex-strings.
2779
27802013-06-21  Will Newton  <will.newton@linaro.org>
2781
2782	* MAINTAINERS: Add Will Newton to Write After Approval.
2783
27842013-06-19  Bin Cheng  <bin.cheng@arm.com>
2785
2786	* acconfig.h (_UNBUF_STREAM_OPT): Undefine.
2787	* newlib.hin (_UNBUF_STREAM_OPT): Undefine.
2788	* configure.in (--enable-newlib-unbuf-stream-opt): New option.
2789	* configure: Regenerate.
2790	* libc/stdio/vfprintf.c (_VFPRINTF_R): Don't do optimization on
2791	unbuffered stream files.
2792	* libc/stdio/vfwprintf.c (_VFWPRINTF_R): Likewise.
2793	* README: Add description about the option.
2794
27952013-06-19  Terraneo Federico  <fede.tft@hotmail.it>
2796
2797	* libc/posix/readdir_r.c: Fix potential read past dirp->dd_buf.
2798
27992013-06-13  Bir Cheng  <bin.cheng@arm.com>
2800
2801	* README: Add description for NEWLIB's feature customizing
2802	configuration options.
2803
28042013-06-10  Terraneo Federico  <fede.tft@hotmail.it>
2805
2806	* libc/stdlib/gdtoa-gethex.c (__hexdig): Constify.
2807	(hexdig_init): Remove.
2808	(__hexdig_fun): New function.
2809	hexdig_init, added __hexdig_fun
2810	(gethex): Call __get_hexdig macro rather than hexdig.
2811	* libc/stdlib/gdtoa-hexnan.c (hexnan): Constify fpi argument.
2812	Call __get_hexdig macro rather than hexdig.
2813	* libc/stdlib/ldtoa.c: Throughout constify functions arguments where
2814	required by constifying the following arrays.
2815	(ezero): Constify.
2816	(eone): Constify.
2817	(ermsg): Constify.
2818	(etens): Constify.
2819	(emtens): Constify.
2820	(nan113): Constify.
2821	(nan64): Constify.
2822	(nan53): Constify.
2823	(nan24): Constify.
2824	* libc/stdlib/mprec.h (__get_hexdig): Define.
2825	(gethex): Constify args in declaration where appropriate.
2826	(hexnan): Ditto.
2827	(hexdig_init): Remove declaration.
2828	(__hexdig_fun): Declare.
2829	* libc/stdlib/strtod.c (fpi): Constify.
2830	(fpinan): Constify.
2831
28322013-06-07  Sebastian Huber  <sebastian.huber@embedded-brains.de>
2833
2834	* libc/include/sys/cdefs.h (__has_extension): New define.
2835	(__has_feature): Likewise.
2836	(__has_include): Likewise.
2837	(__has_builtin): Likewise.
2838	* libc/include/stdatomic.h: New.
2839
28402013-06-05  Joey Ye  <joey.ye@arm.com>
2841
2842	* libc/machine/arm/strcmp.S: Use local labels.
2843
28442013-06-03  Joey Ye  <joey.ye@arm.com>
2845
2846	* libc/machine/arm/Makefile.am (MEMCPY_DEP): New define.
2847	($(lpfx)memcpy.o, $(lpfx)memcpy.obj): Depend on MEMCPY_DEP.
2848	* libc/machine/arm/Makefile.in: Regenerated.
2849	* newlib/libc/machine/arm/memcpy-stub.c: Exclude armv7-m/armv7e-m.
2850	* newlib/libc/machine/arm/memcpy-armv7m.S: New.
2851	* newlib/libc/machine/arm/memcpy.S: Replace with wrapper code.  Old
2852	code moved to ...
2853	* newlib/libc/machine/arm/memcpy-armv7a.S: ... here.  Remove
2854	redundant architecture check.
2855
28562013-05-30  Jeff Johnston  <jjohnstn@redhat.com>
2857
2858	* libc/machine/powerpc/times.c: Moved to libgloss/rs6000.
2859	* libc/machine/powerpc/Makefile.am: Remove times.c.
2860	* libc/machine/powerpc/Makefile.in: Regenerated.
2861
28622013-05-29  Joey Ye  <joey.ye@arm.com>
2863            Bin Cheng  <bin.cheng@arm.com>
2864
2865	* configure.in (--enable-newlib-nano-malloc): New option.
2866	* configure: Regenerated.
2867	* libc/configure.in (--enable-newlib-nano-malloc): New option.
2868	* libc/configure: Regenerated.
2869	* libc/stdlib/Makefile.am (NEWLIB_NANO_MALLOC): Use.
2870	* libc/stdlib/Makefile.in: Regenerated.
2871	* libc/stdlib/nano-mallocr.c: New file, implementing nano
2872	version malloc family functions.
2873
28742013-05-28  Richard Earnshaw  <rearnsha@arm.com>
2875
2876	* libc/machine/arm/strcpy.S: Explicitly set build attributes when
2877	building for thumb1 targets.
2878
28792013-05-22  Corinna Vinschen  <vinschen@redhat.com>
2880
2881	* libc/ctype/isalnum.c: Correct domain of definition to SUSv4 wording.
2882	* libc/ctype/isalpha.c: Ditto.
2883	* libc/ctype/isblank.c: Ditto.
2884	* libc/ctype/iscntrl.c: Ditto.
2885	* libc/ctype/isdigit.c: Ditto.
2886	* libc/ctype/islower.c: Ditto.
2887	* libc/ctype/isprint.c: Ditto.
2888	* libc/ctype/ispunct.c: Ditto.
2889	* libc/ctype/isxdigit.c: Ditto.
2890
28912013-05-22  Corinna Vinschen  <vinschen@redhat.com>
2892
2893	* libc/include/sys/cdefs.h (_Static_assert): Accommodate gcc >= 4.6.
2894
28952013-05-16  Sebastian Huber  <sebastian.huber@embedded-brains.de>
2896
2897	* libc/reent/reent.c (_wrapup_reent): Remove.
2898
28992013-05-13  DJ Delorie  <dj@delorie.com>
2900	    Nick Clifton  <nickc@redhat.com>
2901
2902	* MAINTAINERS (msp430): Add.
2903	* configure.host (msp430): Add.
2904	* libc/include/machine/ieeefp.h: Add MSP430 support.
2905	* libc/include/machine/setjmp.h: Likewise.
2906	* libc/include/sys/config.h: Likewise.
2907	* libc/machine/configure.in (msp430): Add.
2908	* libc/machine/configure: Regenerate.
2909	* libc/machine/msp430: New directory.
2910
29112013-05-10  Freddie Chopin  <freddie_chopin@op.pl>
2912
2913	* configure.in: Fix help text for disable-newlib-atexit-dynamic-alloc option.
2914	* configure: Regenerated.
2915
29162013-05-07  Sebastian Huber  <sebastian.huber@embedded-brains.de>
2917
2918	* libc/include/sys/config.h (_REENT_GLOBAL_ATEXIT): Define for
2919	RTEMS.
2920	* libc/include/sys/reent.h (_reent): Use _REENT_GLOBAL_ATEXIT.
2921	(_global_atexit): Declare if _REENT_GLOBAL_ATEXIT is defined.
2922	* libc/reent/reent.c (_reclaim_reent): Remove atexit cleanup if
2923	_REENT_GLOBAL_ATEXIT is defined.
2924	(_wrapup_reent): Remove atexit handling if _REENT_GLOBAL_ATEXIT
2925	is defined.
2926	* libc/stdlib/__atexit.c (_global_atexit0): Define if
2927	_REENT_GLOBAL_ATEXIT is defined.
2928	* libc/stdlib/__call_atexit.c (_global_atexit): Define if
2929	_REENT_GLOBAL_ATEXIT is defined.
2930
29312013-05-07  Sebastian Huber  <sebastian.huber@embedded-brains.de>
2932
2933	* libc/include/sys/reent.h (_ATEXIT_INIT): Define.
2934	(_ATEXIT_INIT_PTR): Likewise.
2935	(_REENT_INIT_ATEXIT): Likewise.
2936	(_REENT_INIT_ATEXIT_PTR): Likewise.
2937	(_GLOBAL_ATEXIT): Likewise.
2938	* libc/stdlib/__atexit.c (_GLOBAL_ATEXIT0): Define.
2939	(__register_exitproc): Use _GLOBAL_ATEXIT and _GLOBAL_ATEXIT0.
2940	* libc/stdlib/__call_atexit.c (__call_exitprocs): Likewise.
2941
29422013-05-07  Sebastian Huber  <sebastian.huber@embedded-brains.de>
2943
2944	* libc/stdlib/__atexit.c (__atexit_lock): Declare.
2945	* libc/stdlib/__call_atexit.c (__atexit_lock): Define.
2946
29472013-05-06  Sandra Loosemore  <sandra@codesourcery.com>
2948
2949	* configure.host (machine_dir, sys_dir, syscall_dir, newlib_cflags):
2950	Add settings for nios2*.
2951	* libc/include/machine/ieeefp.h (IEEE_BIG_ENDIAN, IEEE_LITTLE_ENDIAN):
2952	Likewise.
2953	* libc/include/machine/setjmp.h (JBLEN, JBTYPE): Likewise.
2954	* libc/machine/configure.in: Add nios2 subdir.
2955	* libc/machine/configure: Regenerated.
2956	* libc/machine/nios2/Makefile.am: New.
2957	* libc/machine/nios2/Makefile.in: New (autogenerated).
2958	* libc/machine/nios2/aclocal.m4: New (copied from mips version).
2959	* libc/machine/nios2/configure.in: New.
2960	* libc/machine/nios2/configure: New (autogenerated).
2961	* libc/machine/nios2/setjmp.s: New.
2962
29632013-04-29  Sebastian Huber  <sebastian.huber@embedded-brains.de>
2964
2965	* libc/stdio/local.h (CHECK_INIT): Evaluate argument only once.
2966	(CHECK_STD_INIT): Likewise.
2967	* libc/stdio/fgetc.c (fgetc): Use local variable for _REENT.
2968	* libc/stdio/fgetwc.c (fwgetc): Likewise.
2969	* libc/stdio/fgetws.c (fgetws): Likewise.
2970	* libc/stdio/fputc.c (fputc): Likewise.
2971	* libc/stdio/fputwc.c (fputwc): Likewise.
2972	* libc/stdio/fputws.c (fputws): Likewise.
2973	* libc/stdio/getc.c (getc): Likewise.
2974	* libc/stdio/getchar.c (_getchar_r): Likewise.
2975	* libc/stdio/putc.c (putc): Likewise.
2976	* libc/stdio/putchar.c (putchar): Likewise.
2977	* libc/stdio/scanf.c (scanf): Likewise.
2978	* libc/stdio/setvbuf.c (setvbuf): Likewise.
2979	* libc/stdio/ungetwc.c (ungetwc): Likewise.
2980	* libc/stdio/vfscanf.c (VFSCANF): Likewise.
2981	* libc/stdio/vfwscanf.c (VFWSCANF): Likewise.
2982	* libc/stdio/viprintf.c (viprintf): Likewise.
2983	* libc/stdio/viscanf.c (viscanf): Likewise.
2984	* libc/stdio/vprintf.c (vprintf): Likewise.
2985	* libc/stdio/vscanf.c (vscanf): Likewise.
2986	* libc/stdio/vwprintf.c (vwprintf): Likewise.
2987	* libc/stdio/vwscanf.c (vwscanf): Likewise.
2988	* libc/stdio/wscanf.c (wscanf): Likewise.
2989	* libc/stdlib/ecvtbuf.c (fcvtbuf): Likewise.
2990	(fcvtbuf): Likewise.
2991	(ecvtbuf): Likewise.
2992	(ecvtbuf): Likewise.
2993	* libc/stdlib/mblen.c (mblen): Likewise.
2994	* libc/stdlib/mbrlen.c (mbrlen): Likewise.
2995	* libc/stdlib/mbrtowc.c (mbrtowc): Likewise.
2996	* libc/stdlib/mbtowc.c (mbtowc): Likewise.
2997	* libc/stdlib/rand.c (srand): Likewise.
2998	(rand): Likewise.
2999	* libc/stdlib/wcrtomb.c (wcrtomb): Likewise.
3000	* libc/stdlib/wctob.c (wctob): Likewise.
3001	* libc/stdlib/wctomb.c (wctomb): Likewise.
3002	* libc/string/strtok.c (strtok): Likewise.
3003	* libc/time/asctime.c (asctime): Likewise.
3004	* libc/time/gmtime.c (gmtime): Likewise.
3005	* libc/time/lcltime.c (lcltime): Likewise.
3006
30072013-04-29  Sebastian Huber  <sebastian.huber@embedded-brains.de>
3008
3009	* libc/include/sys/reent.h (_REENT_INIT_PTR): Reduce code size.
3010
30112013-04-29  Freddie Chopin  <freddie_chopin@op.pl>
3012
3013	* libc/libc.texinfo: Fix @ references and change ifinfo to be
3014	ifnottexinfo.
3015	* libm/libm.texinfo: Ditto.
3016
30172013-04-25  Sebastian Huber  <sebastian.huber@embedded-brains.de>
3018
3019	* libc/stdio/local.h (_STDIO_CLOSE_PER_REENT_STD_STREAMS): New define.
3020	* libc/stdio/findfp.c (_STDIO_CLOSE_PER_REENT_STD_STREAMS): Use define.
3021
30222013-04-24  Corinna Vinschen  <vinschen@redhat.com>
3023	    Nick Clifton  <nickc@redhat.com>
3024
3025	* libc/stdlib/strtod.c: Manual update to latest algorithm from NetBSD.
3026
30272013-04-23  Corinna Vinschen  <vinschen@redhat.com>
3028
3029	Port newlib to x86_64-pc-cygwin.
3030	* libc/include/sys/features.h: Redefine compilation environment
3031	definitions for Cygwin to cover 64 bit Cygwin.
3032	* libc/ctype/ctype_.c (_ctype_): Fix definition for 64 bit Cygwin.
3033	* libc/include/machine/setjmp.h: Change definition of _JBLEN to allow
3034	different values for 32 bit and 64 bit Cygwin.
3035	* libc/include/reent.h (stat64): Define as stat under Cygwin, instead
3036	of as __stat64.  Undef stat64 if not building Newlib.
3037	* libc/include/sys/stat.h (stat64): Define as stat under Cygwin.
3038
30392013-04-22  Sebastian Huber  <sebastian.huber@embedded-brains.de>
3040
3041	* libc/include/sys/cdefs.h: Align with latest FreeBSD file header.
3042	* libc/include/sys/features.h (__GNUC_PREREQ__): Define.
3043
30442013-04-19  Corinna Vinschen  <vinschen@redhat.com>
3045
3046	* newlib/libc/search/hash.c: Revert patch from 2012-08-08.
3047
30482013-04-16  Sebastian Huber  <sebastian.huber@embedded-brains.de>
3049
3050	* libc/sys/rtems/sys/queue.h: Delete file.
3051	* libc/include/sys/cdefs.h (__containerof): New define.
3052	(__DEQUALIFY): Likewise.
3053	* libc/include/sys/queue.h (TRACEBUF_INITIALIZER): Likewise.
3054	(TRACEBUF): Likewise.
3055	(LIST_FOREACH_SAFE): Likewise.
3056	(LIST_PREV): Likewise.
3057	(LIST_SWAP): Likewise.
3058	(QMD_LIST_CHECK_HEAD): Likewise.
3059	(QMD_LIST_CHECK_NEXT): Likewise.
3060	(QMD_LIST_CHECK_PREV): Likewise.
3061	(QMD_SAVELINK): Likewise.
3062	(QMD_TAILQ_CHECK_HEAD): Likewise.
3063	(QMD_TAILQ_CHECK_NEXT): Likewise.
3064	(QMD_TAILQ_CHECK_PREV): Likewise.
3065	(QMD_TAILQ_CHECK_TAIL): Likewise.
3066	(QMD_TRACE_ELEM): Likewise.
3067	(QMD_TRACE_HEAD): Likewise.
3068	(SLIST_FOREACH_PREVPTR): Likewise.
3069	(SLIST_FOREACH_SAFE): Likewise.
3070	(SLIST_REMOVE_AFTER): Likewise.
3071	(SLIST_SWAP): Likewise.
3072	(STAILQ_FOREACH_SAFE): Likewise.
3073	(STAILQ_REMOVE_AFTER): Likewise.
3074	(STAILQ_SWAP): Likewise.
3075	(TAILQ_FOREACH_REVERSE_SAFE): Likewise.
3076	(TAILQ_FOREACH_SAFE): Likewise.
3077	(TAILQ_SWAP): Likewise.
3078	(TRASHIT): Likewise.
3079	(SLIST_REMOVE): Use SLIST_REMOVE_AFTER().
3080	(STAILQ_LAST): Use __containerof().
3081	(STAILQ_REMOVE): Use STAILQ_REMOVE_AFTER().
3082
30832013-04-12  Will Newton  <will.newton@linaro.org>
3084
3085	* libc/machine/arm/memcpy-stub.c: Use generic memcpy if unaligned
3086	access is not enabled.
3087	* libc/machine/arm/memcpy.S: Faster memcpy implementation for
3088	Cortex A15 cores using NEON and VFP if available.
3089
30902013-04-12  Bin Cheng  <bin.cheng@arm.com>
3091
3092	* acconfig.h (_WCHAR_ORIENT): Undef
3093	* newlib.hin (_WCHAR_ORIENT): Undef
3094	* configure.in (--enable-newlib-wchar-orient): New option.
3095	* configure: Regenerated.
3096	* libc/configure.in (--enable-newlib-wchar-orient): New option.
3097	* libc/configure: Regenerated.
3098	* libc/stdio/Makefile.am (NEWLIB_WIDE_ORIENT): Use.
3099	* libc/stdio/Makefile.in: Regenerated.
3100	* libc/stdio/local.h (ORIENT): Use _WCHAR_ORIENT to control
3101	the definition. Add alternative definition.
3102	* libc/stdio/vfprintf.c (__sfputs_r, __sprint_r): Use _WCHAR_ORIENT
3103	to control the wide char output.
3104
31052012-04-11  Jon TURNEY  <jon.turney@dronecode.org.uk>
3106
3107	* libc/include/stdlib.h (strtof, strtoll, strtoull, strtold): Also
3108	prototype if C++11 or later.
3109
31102013-04-10  Bin Cheng  <bin.cheng@arm.com>
3111
3112	* acconfig.h (_FSEEK_OPTIMIZATION): Undef
3113	* newlib.hin (_FSEEK_OPTIMIZATION): Undef
3114	* configure.in (--disable-newlib-fseek-optimization): New option.
3115	* configure: Regenerated.
3116	* libc/stdio/fflush.c (__sflush_r): Use _FSEEK_OPTIMIZATION to
3117	control fseek optimization.
3118	* libc/stdio/fseeko.c (_fseeko_r): Ditto.
3119	* libc/stdio/makebuf.c (__smakebuf_r): Ditto.
3120	* libc/stdio64/fseeko64.c (_fseeko64_r): Ditto.
3121
31222013-04-08  Matthew Gretton-Dann  <matthew.gretton-dann@linaro.org>
3123
3124	* libc/stdio/vfieeefp.h (ldieee): Fix typo.
3125
31262013-04-02  Sebastian Huber  <sebastian.huber@embedded-brains.de>
3127
3128	* libc/posix/scandir.c (DIRSIZ): Use offsetof instead of magic
3129	number.
3130
31312013-03-27  Bin Cheng  <bin.cheng@arm.com>
3132
3133	* acconfig.h (_FVWRITE_IN_STREAMIO): Undefine.
3134	* newlib.hin (_FVWRITE_IN_STREAMIO): Undefine.
3135	* configure.in (--disable-newlib-fvwrite-in-streamio): New option.
3136	* configure: Regenerated.
3137	* libc/stdio/fputs.c (_fputs_r): Use _FVWRITE_IN_STREAMIO to
3138	control __sfvwrite_r.  Add alternative implementation.
3139	* libc/stdio/fputws.c (_fputws_r): Ditto.
3140	* libc/stdio/fwrite.c (_fwrite_r): Ditto.
3141	* libc/stdio/puts.c (_puts_r): Ditto.
3142	* libc/stdio/vfprintf.c (__ssputs_r, __sfputs_r): New function.
3143	(_VFPRINTF_R): Use _FVWRITE_IN_STREAMIO to control vector buffer.
3144	(__SPRINT): Use _FVWRITE_IN_STREAMIO to control macro definition.
3145	* libc/stdio/vfwprintf.c (_VFWPRINTF_R): Use _FVWRITE_IN_STREAMIO
3146	to control vector buffer.
3147
31482013-03-26  Sebastian Huber  <sebastian.huber@embedded-brains.de>
3149
3150	* libc/stdio/local.h (_STDIO_WITH_THREAD_CANCELLATION_SUPPORT):
3151	New define.
3152	* libc/stdio/fclose.c: Use
3153	_STDIO_WITH_THREAD_CANCELLATION_SUPPORT.
3154	* libc/stdio/freopen.c: Likewise.
3155	* libc/stdio64/freopen64.c: Likewise.
3156
31572013-03-15  Sebastian Huber  <sebastian.huber@embedded-brains.de>
3158
3159	* newlib/libc/stdio/findfp.c (glue_with_file): New.
3160	(__sfmoreglue): Use glue_with_file to avoid alignment problems.
3161
31622013-02-28  Corinna Vinschen  <vinschen@redhat.com>
3163
3164	* libc/include/machine/setjmp.h (sigjmp_buf): Fix definition of
3165	sigjmp_buf size if _JBTYPE is defined.
3166
31672013-02-26  Corinna Vinschen  <vinschen@redhat.com>
3168
3169	* libc/include/malloc.h (struct mallinfo): Convert type of all members
3170	to size_t to match all targets.
3171
31722013-02-20  Yaakov Selkowitz  <yselkowitz@users.sourceforge.net>
3173	    Joseph S. Myers <joseph@codesourcery.com>
3174
3175	* libc/include/sys/_types.h (_ssize_t): Define as signed equivalent of
3176	size_t with GCC.
3177
31782013-02-19  Steve Ellcey  <sellcey@mips.com>
3179
3180	* libc/machine/mips/memcpy.S: Fix USE_PREFETCH check.
3181
31822013-02-01  Nick Clifton  <nickc@redhat.com>
3183
3184	* libc/sys/sysnecv850/crt0.S: Add recognition of the e3v5
3185	architecture variant.
3186
31872013-01-22  Joel Sherrill <joel.sherrill@oarcorp.com>
3188
3189	* libc/include/pthread.h: Add PTHREAD_RWLOCK_INITIALIZER.
3190	Fix typo on PTHREAD_COJND_INITIALIZER.
3191
31922013-01-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3193
3194	* libc/machine/aarch64/strncmp.S: Correct arithmetic for
3195	argument N values close to the maximum representable
3196	value in an unsigned 64 bit value.
3197
31982013-01-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3199
3200	* libc/machine/aarch64/strnlen.S: Correct arithmetic for
3201	argument N values close to the maximum representable
3202	value in an unsigned 64 bit value.
3203
32042013-01-15  Nick Clifton  <nickc@redhat.com>
3205
3206	* libc/sys/sysnecv850/crt0.S (_start): Enable FPU for the
3207	V850e2v3.
3208
32092013-01-12  Corinna Vinschen  <vinschen@redhat.com>
3210
3211	* libc/include/string.h: Fix preprocessor expressions using
3212	_XOPEN_SOURCE.
3213
32142013-01-11  Corinna Vinschen  <vinschen@redhat.com>
3215
3216	* libc/stdio/vfwprintf.c (_VFWPRINTF_R): Add code to correctly handle
3217	's' format specifier on not _MB_CAPABLE targets.  Fix a formatting
3218	glitch in _MB_CAPABLE enabled code.  Add a missing 'L' specifier.
3219
32202013-01-10  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3221
3222	* libc/machine/aarch64/Makefile.am (lib_a_SOURCES): Add
3223	memcmp-stub.c and memcmp.S
3224	* libc/machine/aarch64/Makefile.in: Regenerated.
3225	* libc/machine/aarch64/memcmp-stub.c: New file.
3226	* libc/machine/aarch64/memcmp.S: New file.
3227
32282013-01-10  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3229
3230	* libc/machine/aarch64/Makefile.am (lib_a_SOURCES): Add
3231	strnlen-stub.c and strnlen.S
3232	* libc/machine/aarch64/Makefile.in: Regenerated.
3233	* libc/machine/aarch64/strnlen-stub.c: New file.
3234	* libc/machine/aarch64/strnlen.S: New file.
3235
32362013-01-10  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3237
3238	* libc/machine/aarch64/Makefile.am (lib_a_SOURCES):
3239	Add strlen.S and strlen-stub.c.
3240	* libc/machine/aarch64/Makefile.in: Regenerated.
3241	* libc/machine/aarch64/strlen-stub.c: New file.
3242	* libc/machine/aarch64/strlen.S: New file.
3243
32442013-01-10  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3245
3246	* libc/machine/aarch64/Makefile.am (lib_a_SOURCES):
3247	Add memmove.S and memmove-stub.c.
3248	* libc/machine/aarch64/Makefile.in: Regenerated.
3249	* libc/machine/aarch64/memmove-stub.c: New file.
3250	* libc/machine/aarch64/memmove.S: New file.
3251
32522013-01-10  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3253
3254	* libc/machine/aarch64/Makefile.am (lib_a_SOURCES): Re-ordered.
3255	Add strncmp.S and strncmp-stub.c.
3256	* libc/machine/aarch64/Makefile.in: Regenerated.
3257	* libc/machine/aarch64/strncmp-stub.c: New file.
3258	* libc/machine/aarch64/strncmp.S: New file.
3259
32602013-01-10  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3261
3262	* libc/machine/aarch64/Makefile.am (lib_a_SOURCES): Add
3263	memcpy.c memcpy-stub.c memset.S memset-stub.c strcmp.S
3264	strcmp-stub.c.
3265	* libc/machine/aarch64/Makefile.in: Regenerated.
3266	* libc/machine/aarch64/memcpy-stub.c: New file.
3267	* libc/machine/aarch64/memcpy.S: New file.
3268	* libc/machine/aarch64/memset-stub.c: New file.
3269	* libc/machine/aarch64/memset.S: New file.
3270	* libc/machine/aarch64/strcmp.S: New file.
3271	* libc/machine/aarch64/strcmp-stub.c: New file.
3272
32732013-01-08  Jeff Johnston  <jjohnstn@redhat.com>
3274
3275	* MAINTAINERS: Add Richard Earnshaw as Arm co-maintainer
3276	and add Richard and Marcus Shawcroft as aarch64 maintainers.
3277
32782013-01-07  Steve Ellcey  <sellcey@mips.com>
3279
3280	* libc/machine/mips/memcpy.S (memcpy): Check if _MIPS_SIM is set.
3281
32822012-12-20  Jeff Johnston  <jjohnstn@redhat.com>
3283
3284        * NEWS: Update with 2.0.0 info.
3285        * README: Ditto.
3286        * acinclude.m4: Change version number to 2.0.0.
3287        * aclocal.m4: Regenerated.
3288        * configure: Ditto.
3289        * Makefile.in: Regenerated.
3290        * doc/aclocal.m4: Ditto.
3291        * doc/configure: Ditto.
3292        * libc/*/aclocal.m4: Ditto.
3293        * libc/*/configure: Ditto.
3294        * libc/libc.texinfo: Ditto.
3295        * libm/*/aclocal.m4: Ditto.
3296        * libm/*/configure: Ditto.
3297        * libm/libm.texinfo: Ditto.
3298        * libc/sys/linux/shared.ld: Add VERS_2.0
3299
33002012-12-19  Corinna Vinschen  <vinschen@redhat.com>
3301
3302	* libc/stdlib/strtod.c (_strtod_r): Revert change from 2011-05-16.
3303
33042012-12-18  Jeff Johnston  <jjohnstn@redhat.com>
3305
3306	* libc/include/math.h: Remove the log2f macro.
3307
33082012-12-18  Craig Howland  <howland@LGSInnovations.com>
3309
3310	* libc/include/math.h: Add recognition of values 1 and 2 for
3311	FLT_EVAL_METHOD.
3312
33132012-12-18  Corinna Vinschen  <vinschen@redhat.com>
3314
3315	* libc/stdio/puts.c (_puts_r): Fix typo in previous patch.  Add local
3316	variable fp for better readability.
3317
33182012-12-17  Jeff Johnston  <jjohnstn@redhat.com>
3319
3320	* libc/stdio/puts.c: Add fp locking and use _stdout_r macro
3321	to refer to the stream rather than stdout.
3322
33232012-12-14  Yufeng Zhang  <yufeng.zhang@arm.com>
3324
3325	* libc/machine/aarch64/machine/_types.h: New file; define _ssize_t
3326	as long.
3327
33282012-12-11  Steve Ellcey  <sellcey@mips.com>
3329
3330	* libc/machine/mips/memcpy.c: Remove.
3331	* libc/machine/mips/memcpy.S: New.
3332	* libc/machine/mips/Makefile.am (lib_a_CCASFLAGS): Add
3333	-D_COMPILING_NEWLIB.
3334	(lib_a_CFLAGS): Ditto.
3335
33362012-12-04  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
3337
3338	* configure.host: Define libm_machine_dir value for arm.
3339	* libm/machine/configure.in: Add arm to libm machines list.
3340	* libm/machine/configure: Regenerate.
3341	* libm/machine/arm/Makefile.am: New file.
3342	* libm/machine/arm/Makefile.in: Generated.
3343	* libm/machine/arm/aclocal.m4: Generated.
3344	* libm/machine/arm/configure: Generated.
3345	* libm/machine/arm/configure.in: New file.
3346	* libm/machine/arm/s_ceil.c: Likewise.
3347	* libm/machine/arm/s_floor.c: Likewise.
3348	* libm/machine/arm/s_nearbyint.c: Likewise.
3349	* libm/machine/arm/s_rint.c: Likewise.
3350	* libm/machine/arm/s_round.c: Likewise.
3351	* libm/machine/arm/s_trunc.c: Likewise.
3352	* libm/machine/arm/sf_ceil.c: Likewise.
3353	* libm/machine/arm/sf_floor.c: Likewise.
3354	* libm/machine/arm/sf_nearbyint.c: Likewise.
3355	* libm/machine/arm/sf_rint.c: Likewise.
3356	* libm/machine/arm/sf_round.c: Likewise.
3357	* libm/machine/arm/sf_trunc.c: Likewise.
3358
33592012-11-30  Greta Yorsh  <Greta.Yorsh@arm.com>
3360
3361	* libc/machine/arm/strcmp.S (compute_return_value): Fix return value.
3362	* testsuite/newlib.string/strcmp-1.c (main): Add new test cases.
3363
33642012-11-29  Sebastian Huber  <sebastian.huber@embedded-brains.de>
3365
3366	* libc/include/sys/reent.h (__sFILE): Change type of _offset
3367	from int to _off_t.
3368	* libc/stdio/ftell.c: Use _ftello_r().
3369	* libc/stdio/ftello.c: Copy implementation from previous
3370	_ftell_r().
3371	* libc/stdio/fseek.c: Use _fseeko_r().
3372	* libc/stdio/fseeko.c: Copy implementation from previous
3373	_fseek_r().
3374
33752012-11-26  Sebastian Huber  <sebastian.huber@embedded-brains.de>
3376
3377	* libc/include/inttypes.h: Add and use __INTTYPES_EXP().
3378
33792012-11-23  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
3380
3381	* libm/machine/aarch64/configure.in: Change comment to say libm
3382	instead of libc.
3383
33842012-11-12  Steve Ellcey  <sellcey@mips.com>
3385
3386	* libc/machine/mips/machine/asm.h: New.
3387	* libc/machine/mips/machine/regdef.h: Update register definitions
3388	for different ABI's.
3389
33902012-11-11  Christopher Faylor  <me.cygwin2012@cgf.cx>
3391
3392	* libc/include/sys/time.h: Avoid guarding other than timeval
3393	declaration with _TIMEVAL_DEFINED.  Move timeval related macros under
3394	_TIMEVAL_DEFINED control.
3395
33962012-11-01  Corinna Vinschen  <vinschen@redhat.com>
3397
3398	* libc/include/locale.h (NULL): Fetch definition via stddef.h.
3399	* libc/include/stdio.h (NULL): Ditto.
3400	* libc/include/stdlib.h (NULL): Ditto.
3401	* libc/include/string.h (NULL): Ditto.
3402	* libc/include/wchar.h (NULL): Ditto.
3403	* libc/include/rpc/types.h (NULL): Ditto.
3404	* libc/include/time.h (NULL): Ditto.  Include stddef.h earlier.
3405
34062012-10-27  Anthony Green  <green@moxielogic.com>
3407
3408	* libc/machine/moxie/setjmp.S (setjmp): Minor optimization.
3409
34102012-10-26  Corinna Vinschen  <vinschen@redhat.com>
3411
3412	* libc/include/sys/signal.h (sigset_t): Don't define when building
3413	for Cygwin.
3414
34152012-10-24  Jeff Johnston  <jjohnstn@redhat.com>
3416
3417	* configure.in: Comment out the --enable-newlib-fp-hw option
3418	as the mathfp library is inaccurate and should not be used.
3419	* Makefile.am: Add comment regarding the mathfp directory.
3420	* configure: Regenerated.
3421	* Makefile.in: Ditto.
3422	* libm/mathfp/README: New file that details why the mathfp
3423	directory is not used.
3424
34252012-10-22  Jon TURNEY  <jon.turney@dronecode.org.uk>
3426
3427	* libc/include/string.h (strdup, strndup): Declare if not
3428	__STRICT_ANSI__ or _XOPEN_SOURCE is defined appropriately.
3429
34302012-10-22  Jon TURNEY  <jon.turney@dronecode.org.uk>
3431
3432	* libc/include/stdlib.h (strtof, strtoll, strtoull, strtold):Prototype
3433	if not __STRICT_ANSI__ or stdc version C99 or greater.
3434
34352012-10-21  Hans-Peter Nilsson  <hp@bitrange.com>
3436
3437	* libc/sys/mmixware/sbrk.c (_sbrk): Drop unused extern declaration
3438	of "end".  Mark allocated memory by applying PRELD.
3439
34402012-10-16  Gregory Pietsch  <gpietsch@comcast.net>
3441
3442	* libc/stdlib/getopt.c (getopt_internal): Align handling of colon to
3443	SUSv4 requirements.
3444	(__getopt_long_r): Fix formatting.
3445
34462012-10-16  Corinna Vinschen  <vinschen@redhat.com>
3447
3448	* libc/stdio/vfprintf.c (__sbprintf): Fix comment.
3449
34502012-10-16  Aurelien Jacobs  <aurel@gnuage.org>
3451
3452	* libc/include/assert.h (static_assert): Define.
3453
34542012-10-16  Corinna Vinschen  <vinschen@redhat.com>
3455
3456	* libc/include/sys/features.h (__GNUC_PREREQ): Define.  Use
3457	throughout in place of explicit GNUC version checks.
3458	* libc/include/_ansi.h (_NOINLINE): Define.
3459	(_NOINLINE_STATIC): Define.
3460	* libc/stdio/vfprintf.c (__sbprintf): Define _NOINLINE_STATIC.
3461
34622012-10-09  Peter Rosin  <peda@lysator.liu.se>
3463
3464	* libc/posix/wordfree.c (wordfree): The wrong words are freed
3465	when WRDE_DOOFFS is in use. Restructure the code so that the memory
3466	needed to be freed is instead kept in an internal linked list...
3467	* libc/posix/wordexp2.h: ...as defined here...
3468	* libc/posix/wordexp.c (wordexp): ...and build this internal
3469	linked list here, avoiding wasteful strdup calls in the process.
3470
34712012-10-09  Peter Rosin  <peda@lysator.liu.se>
3472
3473	* libc/posix/wordexp.c (wordexp): Return WRDE_NOSPACE on resource
3474	allocation failure. Cleanup leftover resources when failing.
3475
34762012-10-09  Peter Rosin  <peda@lysator.liu.se>
3477
3478	* libc/posix/wordexp.c (wordexp): Handle expanded words longer
3479	than 500 bytes.
3480
34812012-10-09  Peter Rosin  <peda@lysator.liu.se>
3482
3483	* libc/posix/wordexp.c (wordexp): Don't leak file streams.
3484
34852012-10-03  DJ Delorie  <dj@redhat.com>
3486
3487	* libc/machine/rl78/setjmp.S: Convert from CPP macros to GAS
3488	macros, to avoid dependence on the line separation character.
3489
34902012-10-01  DJ Delorie  <dj@redhat.com>
3491
3492	* libc/sys/sysnecv850/sbrk.c (_sbrk): Change heap_start to be an
3493	array of undefined size, to avoid problems when compiled with
3494	-msda=4.
3495
34962012-10-01  Jeff Johnston  <jjohnstn@redhat.com>
3497
3498	* README: replace sources.redhat.com with sourceware.org.
3499	* HOWTO: Ditto.
3500
35012012-09-26  Ian Bolton  <ian.bolton@arm.com>
3502        Jim MacArthur  <jim.macarthur@arm.com>
3503        Marcus Shawcroft  <marcus.shawcroft@arm.com>
3504        Nigel Stephens  <nigel.stephens@arm.com>
3505        Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
3506        Richard Earnshaw  <rearnsha@arm.com>
3507        Sofiane Naci  <sofiane.naci@arm.com>
3508        Tejas Belagod  <tejas.belagod@arm.com>
3509        Yufeng Zhang  <yufeng.zhang@arm.com>
3510
3511	* configure.host: Add AArch64.
3512	* libc/include/machine/ieeefp.h: Add AArch64.
3513	* libc/include/machine/setjmp.h: Add AArch64.
3514	* libc/include/machine/time.h: Add AArch64.
3515	* libc/include/sys/config.h: Add AArch64.
3516	* libc/machine/aarch64/Makefile.am: New file.
3517	* libc/machine/aarch64/Makefile.in: Generated.
3518	* libc/machine/aarch64/aclocal.m4: Generated.
3519	* libc/machine/aarch64/configure: Generated.
3520	* libc/machine/aarch64/configure.in: New file.
3521	* libc/machine/aarch64/setjmp.S: New file.
3522	* libc/machine/configure.in: Add AArch64.
3523	* libc/machine/configure: Re-generated.
3524	* libm/machine/aarch64/Makefile.am: New file.
3525	* libm/machine/aarch64/Makefile.in: Generated.
3526	* libm/machine/aarch64/aclocal.m4: Generated.
3527	* libm/machine/aarch64/configure: Generated.
3528	* libm/machine/aarch64/configure.in: New file.
3529	* libm/machine/aarch64/s_ceil.c: New file.
3530	* libm/machine/aarch64/s_floor.c: New file.
3531	* libm/machine/aarch64/s_fma.c: New file.
3532	* libm/machine/aarch64/s_fmax.c: New file.
3533	* libm/machine/aarch64/s_fmin.c: New file.
3534	* libm/machine/aarch64/s_llrint.c: New file.
3535	* libm/machine/aarch64/s_llround.c: New file.
3536	* libm/machine/aarch64/s_lrint.c: New file.
3537	* libm/machine/aarch64/s_lround.c: New file.
3538	* libm/machine/aarch64/s_nearbyint.c: New file.
3539	* libm/machine/aarch64/s_rint.c: New file.
3540	* libm/machine/aarch64/s_round.c: New file.
3541	* libm/machine/aarch64/s_trunc.c: New file.
3542	* libm/machine/aarch64/sf_ceil.c: New file.
3543	* libm/machine/aarch64/sf_floor.c: New file.
3544	* libm/machine/aarch64/sf_fma.c: New file.
3545	* libm/machine/aarch64/sf_fmax.c: New file.
3546	* libm/machine/aarch64/sf_fmin.c: New file.
3547	* libm/machine/aarch64/sf_llrint.c: New file.
3548	* libm/machine/aarch64/sf_llround.c: New file.
3549	* libm/machine/aarch64/sf_lrint.c: New file.
3550	* libm/machine/aarch64/sf_lround.c: New file.
3551	* libm/machine/aarch64/sf_nearbyint.c: New file.
3552	* libm/machine/aarch64/sf_rint.c: New file.
3553	* libm/machine/aarch64/sf_round.c: New file.
3554	* libm/machine/aarch64/sf_trunc.c: New file.
3555	* libm/machine/configure.in: Add AArch64.
3556	* libm/machine/configure: Re-generated.
3557
35582012-09-26  Michael Hope  <michael.hope@linaro.org>
3559
3560	* doc/makedoc.c (dup_): Rename to avoid colliding with dup(2).
3561
35622012-09-13  Anthony Green  <green@moxielogic.com>
3563
3564	* libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Add bi-endian
3565	support for moxie.
3566
35672012-08-23  Christopher Faylor  <me.cygwin2012@cgf.cx>
3568
3569	* libc/stdio/flags.c (__sflags): Guard against using O_BINARY on
3570	systems which do not provide it.
3571
35722012-08-21  Christopher Faylor  <me.cygwin2012@cgf.cx>
3573
3574	* libc/stdio/flags.c (__sflags): Rewrite recognition of extended mode
3575	flags to just loop over more allowed flags.  Support glibc 'e' flag on
3576	systems defining _GLIBC_EXTENSION.  Support C11 'x' flag.
3577
35782012-08-10  Corinna Vinschen  <vinschen@redhat.com>
3579
3580	* libc/stdlib/btowc.c (btowc): Cast to avoid compiler warning.
3581	* libc/search/hash_buf.c (__get_buf): Initialize local vars to avoid
3582	compiler warning.
3583	* libc/stdio/fgets.c (_fgets_r): Ditto.
3584	* libc/time/strftime.c (strftime): Ditto.
3585
35862012-08-10  Corinna Vinschen  <vinschen@redhat.com>
3587
3588	* libc/stdio/vfwprintf.c (_VFWPRINTF_R): Fix guard around state to
3589	allow usage in !FLOATING_POINT && _WANT_IO_C99_FORMATS case.
3590
35912012-08-08  Eric Blake  <eblake@redhat.com>
3592
3593	* libc/posix/engine.c(dissect): Guard diagnostic pragma for right
3594	versions of GCC only.
3595	* libc/string/strcasestr.c: Ditto.
3596
35972012-08-08  Corinna Vinschen  <vinschen@redhat.com>
3598
3599	Throughout, run newlib with -Wall -Werror option and fix bugs and
3600	compiler warnings found this way.
3601
3602	* libc/stdio/freopen.c (_freopen_r): Fix bug setting _flags.
3603
3604	* libc/include/stdio.h (_rename): Define when building newlib.
3605	* libc/include/sys/signal.h (_kill): Ditto.
3606	* libc/include/sys/stat.h (_mkdir): Ditto.
3607	* libc/include/sys/time.h (_gettimeofday): Ditto.
3608	* libc/include/sys/times.h (_times): Ditto.
3609	* libc/include/sys/wait.h (_wait): Ditto.
3610	* libc/locale/lmessages.c (empty): Don't define for Cygwin.
3611	* libc/locale/lmonetary.c (cnv): Ditto.
3612	* libc/locale/nl_langinfo.c (nl_langinfo): Ditto for variable s.
3613	* libc/posix/collate.c: Throughout cast to avoid compiler warning.
3614	* libc/posix/engine.c (matcher): Initialize dp to avoid compiler
3615	warning.
3616	(dissect): Deliberately silence gcc compiler warning.  Add comment to
3617	explain why.
3618	* libc/posix/glob.c: Disable on Cygwin.  Explain why.
3619	* libc/posix/regcomp.c: Fix "uninitialized" compiler warnings.
3620	* libc/posix/wordexp.c (wordexp): Remove num_bytes variable since result
3621	is never used.
3622	* libc/posix/popen.c (popen): Ditto for variable last.
3623	* libc/reent/mkdirr.c: Include sys/stat.h.
3624	* libc/reent/renamer.c: Include stdio.h.
3625	* libc/search/hash.c:  Throughout use underscored variants of the stat
3626	function family.
3627	(init_hash): Add missing definition for the __USE_INTERNAL_STAT64 case.
3628	* libc/search/hash_bigkey.c (__big_insert): Add parenthesis to avoid
3629	compiler warning.
3630	* libc/search/hash_page.c (overflow_page): Initalize freep to NULL to
3631	avoid compiler warning.
3632	* libc/stdio/asiprintf.c (_asiprintf_r): Cast unsigned char * to char *
3633	to avoid compiler warning.
3634	(asiprintf): Ditto.
3635	* libc/stdio/asprintf.c (_asprintf_r): Ditto.
3636	(asprintf): Ditto.
3637	* libc/stdio/vasiprintf.c (_vasiprintf_r): Ditto.
3638	* libc/stdio/vasprintf.c (_vasprintf_r): Ditto.
3639	* libc/stdio/mktemp.c (_gettemp): Cast to unsigned char in call to
3640	isdigit to avoid compiler warning.
3641	* libc/stdio/vfprintf.c (_VFPRINTF_R): Initialize variables used for
3642	grouping to avoid compiler warning.  Only define and set nseps and
3643	nrepeats if they are really used.
3644	* libc/stdio/vfwprintf.c (_VFWPRINTF_R): Ditto.  Only define state if
3645	it is really used.
3646	* libc/stdio/vfscanf.c (u_char): Revert to be defined as unsigned char.
3647	(__SVFSCANF_R): Cast fmt in call to __mbtowc.
3648	* libc/stdlib/mbtowc_r.c (JIS_state_table): Disable when building
3649	Cygwin.
3650	(JIS_action_table): Ditto.
3651	* libc/stdlib/wctomb_r.c (__utf8_wctomb): Add parenthesis to avoid
3652	compiler warning.
3653	* libc/string/strcasestr.c: Deliberately silence gcc compiler warning.
3654	Add comment to explain why.
3655	* libc/time/strptime.c (strptime): Cast to unsigned char in calls to
3656	isspace to avoid compiler warning.
3657	* libm/math/e_atan2.c (__ieee754_atan2): Add parenthesis to avoid
3658	compiler warning.
3659	* libm/math/e_exp.c (__ieee754_exp): Initialize k to 0 to avoid
3660	compiler warning.  Drop setting it to 0 later.
3661	* libm/math/ef_exp.c (__ieee754_expf): Ditto.
3662	* libm/math/e_pow.c (__ieee754_pow): Add braces to avoid compiler
3663	warning.
3664	* libm/math/ef_pow.c (__ieee754_powf): Ditto.
3665	* libm/math/er_lgamma.c (__ieee754_lgamma_r): Initialize nadj to 0 to
3666	avoid compiler warning.
3667	* libm/math/erf_lgamma.c (__ieee754_lgammaf_r): Ditto.
3668	* libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Ditto for variable z.
3669	* libm/common/sf_round.c (roundf): Remove signbit variable since result
3670	is never used.
3671
36722012-08-07  Corinna Vinschen  <vinschen@redhat.com>
3673
3674	* libc/stdlib/mprec.h (Storeinc): Add parenthesis to avoid compiler
3675	warning.
3676
36772012-07-30  Kevin Buettner  <kevinb@redhat.com>
3678
3679	* libc/sys/sysnecv850/crt0.S (_start): Use v850e-specific
3680	start up code for v850e2 and v850e2v3 too.
3681
36822012-07-20  Eric Blake  <eblake@redhat.com>
3683
3684	* libc/posix/readdir.c (readdir): Drop bogus attempt to catch
3685	bogus pointers.
3686
36872012-07-18  Ralf Corsépius  <ralf.corsepius@rtems.org>
3688
3689	* libc/sys/rtems/machine/_types.h (_ssize_t): Use signed int for
3690	__v850__, __851__.
3691
36922012-07-17  Ralf Corsépius  <ralf.corsepius@rtems.org>
3693
3694	* libc/search/hcreate_r.c (hdestroy_r): #ifdef 0 unused vars ie, idx.
3695
36962012-07-16  Ralf Corsépius  <ralf.corsepius@rtems.org>
3697
3698	* libc/posix/telldir.c: Conditionally build dd_hash_lock.
3699
37002012-07-13  Ralf Corsépius  <ralf.corsepius@rtems.org>
3701
3702	* libc/sys/rtems/machine/_types.h (_ssize_t): Add __ARM_EABI__,
3703	__v850__, __851__.
3704
37052012-07-09  Corinna Vinschen  <vinschen@redhat.com>
3706
3707	* libc/stdio/fileno.c (fileno): Check if f is a valid stream.  If not,
3708	return -1 and set errno to EBADF per POSIX.
3709
37102012-07-06  Corinna Vinschen  <vinschen@redhat.com>
3711
3712	Allow building of Cygwin using Mingw64 SDK headers:
3713	* libc/include/sys/time.h: Drop _WINSOCK_H guard.  Just use
3714	_TIMEVAL_DEFINED instead.
3715	* libc/include/sys/types.h: Check for _WINSOCKAPI_ along with
3716	_WINSOCK_H.
3717	* libc/include/sys/unistd.h: Ditto.
3718
37192012-06-28  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
3720
3721	* doc/Makefile.am (makedoc): Use LDFLAGS_FOR_BUILD not LDFLAGS.
3722	* doc/Makefile.in: Regenerate.
3723
37242012-06-26  Christopher Faylor  <me.newlib2012@cgf.cx>
3725
3726	* libc/include/sys/types.h: Don't use the same preprocessor guard for
3727	time_t, timespec, and itimerspec.  Add a separate guard specifically
3728	for timespec and always unconditionally define itimerspec.
3729
37302012-06-05  Corinna Vinschen  <vinschen@redhat.com>
3731
3732	* libc/stdio/findfp.c (__sinit): Avoid infinite recursion on
3733	_REENT_SMALL targets.  Add comment to explain.
3734
37352012-05-31  Corinna Vinschen  <vinschen@redhat.com>
3736
3737	* libc/stdio/local.h (_newlib_sfp_lock_exit): Fix typo in non-pthread
3738	version.
3739
37402012-05-30  Corinna Vinschen  <vinschen@redhat.com>
3741
3742	* libc/stdio/fgetws.c (_fgetws_r): Call _mbsnrtowcs_r rather than
3743	_mbsrtowcs_r and restrict number of wide chars to n - 1.
3744
37452012-05-30  Corinna Vinschen  <vinschen@redhat.com>
3746
3747	* libc/stdio/local.h (_newlib_flockfile_start): New macro to
3748	secure stream related critical section against thread cancellation.
3749	(_newlib_flockfile_exit): Ditto.
3750	(_newlib_sfp_lock_end): Ditto.
3751	(_newlib_sfp_lock_start): Ditto for the list of streams.
3752	(_newlib_sfp_lock_exit): Ditto.
3753	(_newlib_sfp_lock_end): Ditto.
3754	Use aforementioned macros in place of _flockfile/_funlockfile
3755	and __sfp_lock_acquire/__sfp_lock_release throughout the code.
3756	* libc/stdio/fclose.c: Explicitely disable and re-enable thread
3757	cancellation.  Explain why.
3758	* libc/stdio/freopen.c: Ditto.
3759	* libc/stdio64/freopen64.c: Ditto.
3760
37612012-05-21  Sandeep Kumar Singh  <Sandeep.Singh2@kpitcummins.com>
3762
3763	* libc/machine/cr16/sys/asm.h: Added some missing instructions
3764	and removed few unsupported instructions of cr16 target.
3765
37662012-05-10  Yaakov Selkowitz  <yselkowitz@users.sourceforge.net>
3767
3768	* libc/include/string.h (memrchr): Declare.
3769	* libc/string/Makefile.am (ELIX_4_SOURCES): Add memrchr.c.
3770	(CHEWOUT_FILES): Add memrchr.def.
3771	* libc/string/Makefile.in: Regenerate.
3772	* libc/string/memrchr.c: New file.
3773
37742012-05-10  Joel Sherrill <joel.sherrill@oarcorp.com>
3775
3776	* libc/sys/rtems/machine/_types.h: Add Microblaze.
3777
37782012-05-09  Joel Sherrill <joel.sherrill@oarcorp.com>
3779
3780	* libc/sys/rtems/crt0.c: Add stubs for access(), ftruncate(),
3781	_getpid_r(), geteuid(), getgid, _getgid_r, getpid(), getppid(),
3782	and _getpid_r().
3783
37842012-05-03  Greta Yorsh  <Greta.Yorsh@arm.com>
3785
3786	* testsuite/newlib.string/strcmp-1.c (LONG_TEST): New macro.
3787	(MAX_BLOCK_SIZE): Use small value when LONG_TEST is not set.
3788	(MAX_DIFF, MAX_LEN, MAX_ZEROS) Likewise.
3789
37902012-03-29  Corinna Vinschen  <vinschen@redhat.com>
3791
3792	* libc/locale/locale.c (__mb_cur_max): On Cygwin, align default value
3793	with default UTF-8 charset.
3794
37952012-03-26  Corinna Vinschen  <vinschen@redhat.com>
3796
3797	* libc/stdio/findfp.c (__sinit): Set __sdidinit last.
3798
37992012-03-09  Jeff Johnston  <jjohnstn@redhat.com>
3800
3801	* libc/include/machine/setjmp-dj.h: Modify license to include
3802	modification in clause as permitted by DJ Delorie.
3803	* libc/machine/arm/access.c: Ditto.
3804	* libc/machine/i386/setjmp.S: Ditto.
3805	* libc/sys/h8300hms/sys/file.h: Ditto.
3806	* libc/sys/linux/machine/i386/setjmp.S: Ditto.
3807	* libc/sys/sysmec/access.c: Ditto.
3808	* libc/sys/sysnecv850/access.c: Ditto.
3809
38102012-03-02  Jeff Johnston  <jjohnstn@redhat.com>
3811
3812	* libc/posix/readdir_r.c: Fix return code when end of
3813	directory is reached.
3814
38152012-02-23  Dan Egnor  <egnor@ofb.net>
3816
3817	* configure.host: Accept "arm*" host spec instead of just "arm".
3818
38192012-02-21  Jeremy Bennett  <jeremy.bennett@embecosm.com>
3820            Alan Lehotsky  <apl@alum.mit.edu>
3821            Joern Rennecke  <joern.rennecke@embecosm.com>
3822
3823	* configure.host: Add Epiphany support.
3824	* libc/include/machine/ieeefp.h: Likewise.
3825	* libc/include/machine/setjmp.h: Likewise.
3826	* libc/machine/configure.in, libc/sys/configure.in: Likewise.
3827	* libc/machine/configure, libc/sys/configure: Regenerate.
3828	* libc/machine/epiphany, libc/sys/epiphany: New directories.
3829	* NEWS: Mention addition of Epiphany.
3830
38312012-02-15  Christopher Faylor  <me.newlib2012@cgf.cx>
3832
3833	* configure.host: Fix typo: xdir_dir -> xdr_dir.
3834
38352012-02-09  Eric Blake  <eblake@redhat.com>
3836
3837	* libc/include/_ansi.h (_ELIDABLE_INLINE): Fix C99 mode.
3838
38392012-02-09  Sebastian Huber  <sebastian.huber@embedded-brains.de>
3840
3841	* libc/sys/rtems/sys/utime.h: Include <sys/types.h> to provide a
3842	definition of time_t.
3843
38442012-02-08  Greta Yorsh  <Greta.Yorsh@arm.com>
3845
3846	* libc/machine/arm/strcmp.S: New File.
3847	* libc/machine/arm/strcmp.c: Deleted.
3848	* libc/machine/arm/Makefile.am: Replaces strcmp.c with strcmp.S
3849	* libc/machine/arm/Makefile.in: Regenerated.
3850	* testsuite/newlib.string/strcmp-1.c: New file.
3851
38522012-02-07  Corinna Vinschen  <vinschen@redhat.com>
3853
3854	* libc/include/inttypes.h: Redefine pointer type macros.
3855
38562012-01-13  Yaakov Selkowitz  <yselkowitz@users.sourceforge.net>
3857
3858	* libc/stdio/sprintf.c: Document 'm' conversion specifier.
3859	* libc/stdio/swprintf.c: Ditto.
3860	* libc/stdio/vfprintf.c (_VFPRINTF_R) [_GLIBC_EXTENSION]: Handle 'm'
3861	conversion specifier.
3862	* libc/stdio/vfwprintf.c (_VFWPRINTF_R) [_GLIBC_EXTENSION]: Ditto.
3863
38642012-01-12  Yaakov Selkowitz  <yselkowitz@users.sourceforge.net>
3865
3866	* libc/include/tgmath.h: New header.
3867
38682012-01-09  Yaakov Selkowitz  <yselkowitz@users.sourceforge.net>
3869
3870	* libc/include/sys/unistd.h [__CYGWIN__] (get_current_dir_name):
3871	Declare.
3872
38732012-01-09  Yaakov Selkowitz  <yselkowitz@users.sourceforge.net>
3874
3875	* libc/include/complex.h: Fix "/*" within comment warning.
3876
38772012-01-09  Corinna Vinschen  <vinschen@redhat.com>
3878
3879	* libc/include/process.h: Remove Cygwin-only header.
3880
38812012-01-03  Viachaslau Kulakouski  <Viachaslau.Kulakouski@oracle.com>
3882
3883	* libc/stdlib/__atexit.c: Refer to __atexit_lock instead of lock.
3884
38852011-12-20  Aleksandr Platonov  <pam@oktetlabs.ru>
3886
3887	* libc/stdio/fvwrite.c (__sfvwrite_r): Set __SMBF flag to avoid double
3888	free in fclose.  Enhance comment.
3889
38902011-12-19  Jeff Johnston  <jjohnstn@redhat.com>
3891
3892	* NEWS: Update with 1.20.0 info.
3893	* README: Ditto.
3894	* acinclude.m4: Change version number to 1.20.0.
3895	* aclocal.m4: Regenerated.
3896	* configure: Ditto.
3897	* Makefile.in: Regenerated.
3898	* doc/aclocal.m4: Ditto.
3899	* doc/configure: Ditto.
3900	* libc/*/aclocal.m4: Ditto.
3901	* libc/*/configure: Ditto.
3902	* libc/libc.texinfo: Ditto.
3903	* libm/*/aclocal.m4: Ditto.
3904	* libm/*/configure: Ditto.
3905	* libm/libm.texinfo: Ditto.
3906	* libc/sys/linux/shared.ld: Add VERS_1.20
3907
39082011-12-13  Richard Earnshaw  <rearnsha@arm.com>
3909	    Thomas Klein  <th.r.klein@web.de>
3910
3911	* libc/sys/arm/crt0.S: Manually set the target architecture
3912	when compiling for Thumb1 on EABI targets.
3913	Don't use SWI on M-profile cores.
3914	Avoid v6-only Thumb-1 MOV instruction.
3915
39162011-12-12  Akio Idehara  <zbe64533@gmail.com>
3917
3918	* libc/time/strftime.c (get_era_info): Fix off-by-one error in month
3919	calculation.
3920
39212011-12-06  Chris Johns  <chrisj@rtems.org>
3922
3923	* libc/iconv/Makefile.am (stmp-def): Use $(MAKE) rather than make.
3924	* libc/iconv/Makefile.in: Regenerate.
3925
39262011-11-28  DJ Delorie  <dj@redhat.com>
3927
3928	* configure.host: Add rl78.
3929	* libc/include/machine/ieeefp.h: Add rl78 support.
3930	* libc/include/machine/setjmp.h: Add rl78 support.
3931	* libc/machine/configure.in: Add rl78.
3932	* libc/machine/rl78: New directory.
3933	* MAINTAINERS (rl78): Add myself as RL78 maintainer.
3934
39352011-11-08  Corinna Vinschen  <vinschen@redhat.com>
3936
3937	* libc/iconv/ccs/Makefile.am: Add missing backslash.
3938	* libc/iconv/ccs/Makefile.in: Regenerate.
3939
39402011-10-18  Dr David Alan Gilbert  <david.gilbert@linaro.org>
3941
3942	* libc/machine/arm/Makefile.am (lib_a_SOURCES): Add memchr-stub.c,
3943	memchr.S.
3944	* libc/machine/arm/arm_asm.h: Add ifdef to allow it to be included
3945	in .S files.
3946	* libc/machine/arm/memchr-stub.c: New file - just selects what to
3947	compile.
3948	* libc/machine/arm/memchr.S: New file - ARMv6t2/v7 version.
3949
3950	* libc/machine/arm/Makefile.am (lib_a_SOURCES): Add strlen-armv7.S.
3951	* libc/machine/arm/strlen-armv7.S: New file.
3952	* libc/machine/arm/strlen.c: Add ifdef optimised code so it isn't
3953	for v7 or 6t2.
3954
3955	* libc/machine/arm/Makefile.in: Regenerate.
3956
39572011-10-11  Steven Abner <pheonix@zoomtown.com>
3958
3959	* libc/time/mktm_r.c: (__tzcalc_limits) Fix Julian day calculation.
3960	* libc/time/mktime.c: (mktime) Fix tm_yday, tm_mday updating when
3961	timezone causes roll over.
3962
39632011-10-10  Nick Clifton  <nickc@redhat.com>
3964
3965	* libc/sys/arm/crt0.S: Synchronise with libgloss version.
3966	* libc/sys/arm/arm.h: Imported from libgloss.
3967
39682011-10-04  Greta Yorsh  <Greta.Yorsh@arm.com>
3969
3970	* testsuite/newlib.string/memcpy-1.c: New test.
3971
39722011-10-04  Nick Clifton  <nickc@redhat.com>
3973
3974	* libc/machine/arm/memcpy.S: Fix unaligned access copying.
3975
39762011-09-29  Greta Yorsh  <Greta.Yorsh@arm.com>
3977
3978	* libc/machine/arm/memcpy.S: New file.  Contains a hand coded
3979	memcpy function optimized for the cortex-a15.
3980	* libc/machine/arm/memcpy-stub.c: New file.
3981	* libc/machine/arm/Makefile.am (lib_a_SOURCES): Add memcpy-stub.c,
3982	memcpy.S.
3983	* libc/machine/arm/Makefile.in: Regenerate.
3984
39852011-09-08  Jeff Johnston  <jjohnstn@redhat.com>
3986
3987	* testsuite/lib/flags.exp: Add logic to add the
3988	srcdir include directory to compile flags.
3989
39902011-08-26  Steven Abner  <pheonix@zoomtown.com>
3991
3992	* libc/time/mktm_r.c (_mktm_r): Fix previous fix.
3993
39942011-08-24  Corinna Vinschen  <vinschen@redhat.com>
3995
3996	* libc/time/mktm_r.c (_mktm_r): Fix computing tm_year.
3997
39982011-08-23  Ralf Corsépius  <ralf.corsepius@rtems.org>
3999
4000	* libc/stdlib/putenv_r.c: Use "strchr" instead of obsolete "index".
4001	* libc/stdlib/setenv_r.c: Use "memcpy" instead of obsolete "bcopy".
4002
40032011-08-23  Ralf Corsépius  <ralf.corsepius@rtems.org>
4004
4005	* libc/misc/ffs.c, libc/string/bcmp.c, libc/string/bcopy.c,
4006	libc/string/bzero.c, libc/string/index.c, libc/string/rindex.c,
4007	libc/string/strcasecmp.c, libc/string/strncasecmp.c:
4008	Let synopsis reference "#include <strings.h>".
4009
40102011-08-23  Ralf Corsépius  <ralf.corsepius@rtems.org>
4011
4012	* libc/posix/regexec.c: Define "nope" only #ifndef NDEBUG.
4013	* libc/stdio/vfscanf.c: Define "state" only #ifdef _MB_CAPABLE.
4014	* libc/string/wcwidth.c: Include <wctypes.h> for "iswprint" and
4015	"iswcntrl".
4016
40172011-08-23  Ralf Corsépius  <ralf.corsepius@rtems.org>
4018
4019	* libc/sys/rtems/include/limits.h: Compute SSIZE_MAX based on
4020	__SIZE_MAX__, __SIZEOF_SIZE_T__ and __CHAR_BIT__.
4021
40222011-08-22  Ralf Corsépius <ralf.corsepius@rtems.org>
4023
4024	* libc/string/index.c: Include <strings.h> for "index".
4025	* libc/string/rindex.c: Include <strings.h> for "rindex".
4026	* libc/string/strcasecmp.c: Include <strings.h> for "strcasecmp".
4027	Don't include <string.h>.
4028	* libc/string/strncasecmp.c: Include <strings.h> for "strncasecmp".
4029	Don't include <string.h>.
4030	* libc/string/bzero.c: Include <strings.h> for "bzero".
4031	Don't include <string.h>
4032	* libc/misc/ffs.c: Include <strings.h> for "ffs".
4033	Don't include <_ansi.h>.
4034
40352011-08-19  Ralf Corsépius <ralf.corsepius@rtems.org>
4036
4037	* libc/sys/rtems/crt0.c: Rework RTEMS_STUB macro.
4038	Include <unistd.h>.
4039	Remove C++-style comments.
4040	Remove hppa, a29k.
4041	Add clock_gettime, gettimeofday, sched_yield.
4042
40432011-08-19  Ralf Corsépius <ralf.corsepius@rtems.org>
4044
4045	* libc/stdio/vasiprintf.c: Include "local.h" for "_svfiprintf_r".
4046	* libc/stdio/vasprintf.c Include "local.h" for "_svfprintf_r".
4047	* libc/stdio/vsiprintf.c: Include "local.h" for "_svfiprintf_r".
4048	* libc/stdio/vsniprintf.c: Include "local.h" for "_svfiprintf_r".
4049	* libc/stdio/vsnprintf.c: Include "local.h" for "_svfprintf_r"
4050	* libc/stdio/vsprintf.c: Include "local.h" for "_svfprintf_r"
4051
40522011-08-19  Ralf Corsépius <ralf.corsepius@rtems.org>
4053
4054	* libc/string/bcmp.c: Include <strings.h> for "bcmp".
4055	* libc/string/bcopy.c: Include <strings.h> for "bcopy".
4056	* libc/string/strcasestr.c: Include <strings.h> for "strncasecmp".
4057	* libc/time/strptime.c: Include <strings.h> for "strncasecmp".
4058
40592011-08-19  Corinna Vinschen  <vinschen@redhat.com>
4060
4061	* libc/include/process.h: Remove exec family function declarations.
4062	Add comment.
4063	* libc/include/sys/unistd.h (execlpe): Declare for Cygwin.
4064
40652011-08-19  Craig Howland  <howland@LGSInnovations.com>
4066
4067	* libc/time/mktime.c (validate_structure): Account for tm_mon possibly
4068	being given as negative.
4069	(mktime): Set tm_isdst=0 when !daylight.
4070
40712011-08-01  Sebastian Huber  <sebastian.huber@embedded-brains.de>
4072
4073	* libc/include/sys/types.h: XML and RTEMS define
4074	_UNIX98_THREAD_MUTEX_ATTRIBUTES and can use the standard
4075	definitions. This avoids redefinition warnings.
4076
40772011-07-26  Ralf Corsépius <ralf.corsepius@rtems.org>
4078
4079	* libc/sys/rtems/sys/dirent.h (scandir):
4080	Add const to "select" parameter.
4081
40822011-07-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
4083
4084	* libc/iconv/iconv.tex: Rename node "Introduction" into
4085	"Introduction to iconv".
4086
40872011-07-20  Yaakov Selkowitz  <yselkowitz@...>
4088
4089	* libc/include/time.h [_POSIX_CLOCK_SELECTION] (clock_nanosleep):
4090	Declare.
4091	* libc/include/sys/features.h [__CYGWIN__] (_POSIX_CLOCK_SELECTION):
4092	Define.
4093
40942011-07-19  Yaakov Selkowitz  <yselkowitz@users.sourceforge.net>
4095
4096	* libc/include/sys/unistd.h (_CS_XBS5_WIDTH_RESTRICTED_ENVS): Define.
4097	(_CS_V6_ENV): Fix definition.
4098
40992011-07-19  Ralf Corsépius <ralf.corsepius@rtems.org>
4100
4101	* libc/locale/lmessages.c (_C_messages_locale):
4102	Move __HAVE_LOCALE_INFO_EXTENDED__ before codeset.
4103
41042011-07-19  Matt Johnson  <johnso87@crhc.illinois.edu>
4105
4106	* libc/reent/sbrkr.c: Define _sbrk_r independently of the definition
4107	of MALLOC_PROVIDED.
4108
41092011-07-15  Yufeng Zhang  <yufeng.zhang@arm.com>
4110
4111	* libc/stdio/vfwprintf.c (wcvt): Add a new parameter len of type
4112	int.  *length is set to the value of (rev - digits) regardless
4113	of whether _MB_CAPABLE is defined or not.  Replace BUF with len
4114	in calling _mbsnrtowcs_r and also in the loop where _MB_CAPABLE
4115	is not defined.
4116	(_VFWPRINTF_R): Call wcvt with an extra argument.  Call wcvt
4117	again with allocated new buffer if buf is not large enough for
4118	the conversion.
4119	* testsuite/newlib.stdio/stdio.exp: New.
4120	* testsuite/newlib.stdio/swprintf.c: Likewise.
4121
41222011-07-15  Matt Johnson  <johnso87@crhc.illinois.edu>
4123
4124	* libc/stdio/fscanf.c (fscanf): Call _vfscanf_r instead of __svfscanf_r
4125	to make sure CHECK_INIT is called.
4126	(_fscanf_r): Ditto.
4127	* /libc/stdio/scanf.c (scanf): Ditto.
4128	(_scanf_r): Ditto.
4129	* libc/stdio/fwscanf.c (fwscanf): Call _vfwscanf_r instead of
4130	__svfwscanf_r to make sure CHECK_INIT is called.
4131	(_fwscanf_r): Ditto.
4132	* libc/stdio/wscanf.c (wscanf): Ditto.
4133	(_wscanf_r): Ditto.
4134
41352011-07-13  Hans-Peter Nilsson <hp@axis.com>
4136
4137	* libm/complex/cacos.c: Use temporaries and correct sequencing
4138	error in previous reordering change.
4139
41402011-06-25  Andreas Becker  <becker@se-elektronic.de>
4141
4142	* libc/time/mktime.c (mktime): Lock global timezone info while
4143	accessing it.
4144
41452011-06-14  Philip Munts  <phil@munts.net>
4146
4147	* libc/time/asctime_r.c (asctime_r): Replace call to sprintf with call
4148	to siprintf.
4149	* libc/time/strftime.c: Define snprintf to sniprintf in multibyte case.
4150	* libc/time/tzset_r.c: Define sscanf to siscanf.
4151
41522011-06-14  Joseph Myers  <joseph@codesourcery.com>
4153
4154	* configure.host: Don't handle ep9312, strongarm, xscale and thumb
4155	target names.
4156	* libc/machine/configure.in: Don't handle xscale target names.
4157	* libc/machine/configure: Regenerate.
4158
41592011-06-14  Craig Howland <howland@LGSInnovations.com>
4160
4161	* libc/time/tzset_r.c (tzset_r):  Correct behavior for changing from
4162	non-GMT to GMT, when un-setting TZ.  Set _timezone and _daylight even
4163	if no DST is given in TZ.
4164
41652011-06-13  Eric Blake  <eblake@redhat.com>
4166
4167	* libc/stdio/wsetup.c (__swsetup_r): Set errno on failure.
4168	* libc/stdio/fvwrite.c (__sfvwrite_r): Simplify.
4169	* libc/stdio/wbuf.c (__swbuf_r): Likewise.
4170	* libc/stdio/local.h (cantwrite): Adjust comment.
4171
41722011-06-09  Yaakov Selkowitz  <yselkowitz@...>
4173
4174	* libc/include/string.h (strdupa): New macro function.
4175	(strndupa): New macro function.
4176
41772011-05-27  Nick Clifton  <nickc@redhat.com>
4178
4179	* libc/sys/sysnecv850/sbrk.c (_sbrk): Tidy code.
4180	Base start of heap on the "heap_start" symbol.
4181
41822011-05-25  Eric Blake  <eblake@redhat.com>
4183
4184	* libc/string/strerror.c (_strerror_r): Report "Success" for 0.
4185
41862011-05-25  Eric Blake  <eblake@redhat.com>
4187
4188	* libc/string/strerror.c (strerror): Split body into...
4189	(_strerror_r): ...new reentrant function.
4190	* libc/string/u_strerr.c (_user_strerror): Update signature.
4191	* libc/include/string.h (_strerror_r): New prototype.
4192	* libc/posix/collate.c (__collate_err): Adjust callers.
4193	* libc/stdio/perror.c (_perror_r): Likewise.
4194	* libc/string/strerror_r.c (strerror_r): Likewise.
4195	* libc/string/xpg_strerror_r.c (__xpg_strerror_r): Likewise.
4196
41972011-05-19  Yaakov Selkowitz  <yselkowitz@users.sourceforge.net>
4198
4199	* libc/include/stdio_ext.h: New header.
4200	* libc/stdio/fpurge.c [!__rtems__] (__fpurge): New function.
4201
42022011-05-19  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
4203
4204	* Makefile.am (install-data-local): Fix condition and rm call.
4205	* Makefile.in: Regenerate.
4206
42072011-05-16  Yaakov Selkowitz  <yselkowitz@users.sourceforge.net>
4208
4209	* libc/include/time.h (CLOCK_PROCESS_CPUTIME_ID): Rename from
4210	CLOCK_PROCESS_CPUTIME.
4211	(CLOCK_THREAD_CPUTIME_ID): Rename from CLOCK_THREAD_CPUTIME.
4212	* libc/include/sys/features.h [__CYGWIN__] (_POSIX_CPUTIME): Define.
4213	(_POSIX_THREAD_CPUTIME): Define.
4214
42152011-05-16  Christian Bruel  <christian.bruel@st.com>
4216
4217	* libc/stdlib/strtod.c (_strtod_r): Fix nf/nd counts to not exceed
4218	DBL_DIG.
4219
42202011-05-15  Corinna Vinschen  <vinschen@redhat.com>
4221
4222	* libc/include/sys/features.h (_POSIX_THREAD_ATTR_STACKADDR): Define
4223	to 200112L for Cygwin.
4224
42252011-05-12  Peter Rosin  <peda@lysator.liu.se>
4226
4227	* libc/time/strptime.c (strptime): Fill in tm_yday when all of tm_year,
4228	tm_mon and tm_mday are updated. Fill in tm_mon, tm_mday and tm_wday
4229	when both of tm_year and tm_yday are updated.
4230
42312011-05-12  Peter Rosin  <peda@lysator.liu.se>
4232
4233	* libc/time/strptime.c (first_day): Actually return the wday
4234	of the first day of the year.
4235
42362011-05-10  Corinna Vinschen  <vinschen@redhat.com>
4237
4238	* libc/locale/lmessages.c (_C_messages_locale): Add missing comma.
4239
42402011-05-04  Yaakov Selkowitz  <yselkowitz@users.sourceforge.net>
4241
4242	* libc/include/signal.h (psignal): Declare.
4243	* libc/sys/linux/psignal.c: Move from here...
4244	* libc/signal/psignal.c: ... to here. Document.
4245	* libc/sys/linux/Makefile.am (GENERAL_SOURCES): Move psignal.c from here...
4246	* libc/signal/Makefile.am (LIB_SOURCES): ... to here.
4247	(CHEWOUT_FILES): Add psignal.def.
4248	* libc/sys/linux/Makefile.in: Regenerate.
4249	* libc/signal/Makefile.in: Ditto.
4250	* libc/signal/signal.tex: Add references to psignal.
4251
42522011-05-04  Corinna Vinschen  <vinschen@redhat.com>
4253
4254	* libc/locale/lmessages.h (__messages_load_locale): Declare.  Remove
4255	accidental declaration of __numeric_load_locale.
4256	* libc/locale/locale.c: Include timelocal.h to get declaration of
4257	__time_load_locale.
4258	(__set_locale_from_locale_alias): Fix return type.
4259	(__locale_msgcharset): Avoid compiler warnings.
4260	(_localeconv_r): Ditto.
4261
42622011-05-04  Andy Koppe  <andy.koppe@gmail.com>
4263
4264	* libc/locale/locale.c (current_categories): On Cygwin, set LC_CTYPE
4265	to C.UTF-8 to match initial __wctomb and __mbtowc settings.
4266	(lc_ctype_charset): On Cygwin, initialize to "UTF-8".
4267	(loadlocale): Remove unused Cygwin-specifc code.
4268
42692011-05-02  Yaakov Selkowitz  <yselkowitz@users.sourceforge.net>
4270
4271	* libc/include/sys/features.h [__CYGWIN__] (_POSIX_SPIN_LOCKS): Define.
4272	* libc/include/sys/types.h: Cygwin provides its own pthread_spinlock_t
4273	typedef.
4274
42752011-04-19  Corinna Vinschen  <vinschen@redhat.com>
4276
4277	* libc/include/sys/signal.h (_sig_func_ptr): Define with int parameter
4278	per POSIX.  Explain in comment.
4279
42802011-04-15  Eric Blake  <eblake@redhat.com>
4281
4282	* libc/string/strchrnul.c (strchrnul): Fix strchrnul.
4283
42842011-03-27  Yaakov Selkowitz  <yselkowitz@users.sourceforge.net>
4285
4286	* libc/include/string.h (strchrnul): Declare.
4287	* libc/string/strchrnul.c: New file.
4288	* libc/string/Makefile.am (ELIX_2_SOURCES): Add strchrnul.c.
4289	* libc/string/Makefile.in: Regenerate.
4290
42912011-03-23  Nick Clifton  <nickc@redhat.com>
4292
4293	* libc/machine/frv/setjmp.S: Fix typo in .size directive.
4294
42952011-03-21  Kevin Buettner  <kevinb@redhat.com>
4296
4297	* libc/sys/sysnecv850/trap.S (___trap0): Fix errno handling.
4298	* libc/sys/sysnecv850/rename.c: New file.
4299	* libc/sys/sysnecv850/Makefile.am (lib_a_SOURCES): Add rename.c
4300	* libc/sys/sysnecv850/Makefile.in: Regenerate.
4301	* libc/sys/sysnecv850/fstat.c (_fstat): Invoke trap for SYS_fstat.
4302	* libc/sys/sysnecv850/unlink.c (_unlink): Invoke trap for SYS_unlink.
4303
43042011-03-03  Corinna Vinschen  <vinschen@redhat.com>
4305
4306	* libc/include/string.h: Include sys/cdefs.h.
4307
43082011-03-03  Corinna Vinschen  <vinschen@redhat.com>
4309
4310	* libc/include/sys/cdefs.h (__CONCAT1): Define.
4311	(__CONCAT): Define.
4312	(__STRING): Define.
4313	(__XSTRING): Define.
4314	(__ASMNAME): Define.
4315	* libc/include/string.h (strerror_r): Use __ASMNAME to take target
4316	specific label prefixes into account.
4317
43182011-03-01  Aaron Landwehr <snaphat@gmail.com>
4319
4320	* libm/complex/cproj.c: Fix typo.
4321	* libm/complex/cprojf.c: Ditto.
4322
43232011-02-22  Corinna Vinschen  <vinschen@redhat.com>
4324
4325	* libc/stdio/fmemopen.c (fmemopen): Fix EINVAL condition.  Avoid SEGV
4326	if incoming buffer is NULL.
4327
43282011-02-09  Eric Blake  <eblake@redhat.com>
4329
4330	* libc/include/string.h (strerror_r): Update declaration.
4331	* libc/string/strerror.c (strerror): Update documentation.
4332	* libc/string/strerror_r.c (strerror_r): Always return
4333	NUL-terminated string; don't overwrite too-short buf.
4334	* libc/string/xpg_strerror_r.c (__xpg_strerror_r): Implement POSIX
4335	variant.
4336	* libc/string/Makefile.am (GENERAL_SOURCES): Build new file.
4337	* libc/string/Makefile.in: Regenerate.
4338
43392011-01-28  Corinna Vinschen  <vinschen@redhat.com>
4340
4341	* libc/stdio/fclose.c: Only use sfp lock to guard non-atomic
4342	changes of flags and fp lock.
4343	* libc/stdio/freopen.c: Ditto.
4344	* libc/stdio64/freopen64.c: Ditto.
4345	* libc/stdio/fgetc.c: Revert change from 2009-04-24, remove sfp locks
4346	which guard entire function to avoid potential deadlocks when using
4347	stdio functions in multiple thraeds.
4348	* libc/stdio/fgets.c: Ditto.
4349	* libc/stdio/fgetwc.c: Ditto.
4350	* libc/stdio/fgetws.c: Ditto.
4351	* libc/stdio/fread.c: Ditto.
4352	* libc/stdio/fseek.c: Ditto.
4353	* libc/stdio/getc.c: Ditto.
4354	* libc/stdio/getdelim.c: Ditto.
4355	* libc/stdio/gets.c: Ditto.
4356	* libc/stdio/vfscanf.c: Ditto.
4357	* libc/stdio/vfwscanf.c: Ditto.
4358
4359	* libc/stdio/fflush.c (_fflush_r): Split out core functionality into
4360	new function __sflush_r.  Just lock file and call __sflush_r from here.
4361	* libc/stdio/fwalk.c (_fwalk): Remove static helper function and move
4362	functionality back into main function. Don't walk a file with flags
4363	value of 1.  Add comment.
4364	(_fwalk_reent): Ditto.
4365	* libc/stdio/local.h (__sflush_r): Declare.
4366	* libc/stdio/refill.c (__srefill): Before calling fwalk, set flags
4367	value to 1 so this file pointer isn't walked.  Revert flags afterwards
4368	and call __sflush_r for this fp if necessary.  Add comments.
4369
43702011-01-27  Corinna Vinschen  <vinschen@redhat.com>
4371
4372	* libc/include/sys/features.h: Define __STDC_ISO_10646__ for Cygwin.
4373	* libc/include/wchar.h: Include features.h.
4374
43752011-01-15  Yaakov Selkowitz  <yselkowitz@users.sourceforge.net>
4376
4377	* libc/include/sys/types.h (ulong): Add typedef.
4378
43792011-01-12  Ralf Corsépius  <ralf.corsepius@rtems.org>
4380
4381	* libm/math/w_tgamma.c: Only build ifndef _DOUBLE_IS_32BITS.
4382	* libm/math/wf_tgamma.c: Map tgamma to tgammaf, ifdef _DOUBLE_IS_32BITS.
4383
43842011-01-12  Jeff Johnston  <jjohnstn@redhat.com>
4385
4386	* configure.host: Add noinclude variable to allow specification
4387	of header files to remove from installation.
4388	* acinclude.m4: Provide NO_INCLUDE_LIST variable based on
4389	noinclude variable in configure.host.
4390	* configure: Regenerated.
4391	* Makefile.am: Remove all header files in NO_INCLUDE_LIST.
4392	* Makefile.in: Regenerated.
4393
43942011-01-12  Yaakov Selkowitz  <yselkowitz@users.sourceforge.net>
4395
4396	* libc/sys/linux/sys/signal.h (sig_t): Move from here...
4397	* libc/include/signal.h (sig_t): ...to here.
4398
43992011-01-10  Corinna Vinschen  <vinschen@redhat.com>
4400
4401	* libc/machine/mips/strlen.c (strlen): Add delay slot for R3000.
4402
44032011-01-10  Joel Sherrill <joel.sherrill@oarcorp.com>
4404
4405	* libc/include/string.h: Make strsignal() available unconditionally.
4406
44072011-01-07  Ralf Corsepius  <ralf.corsepius@rtems.org>
4408
4409	* libc/sys/rtems/crt0.c: Adjust free() and calloc() to match their
4410	public decls.
4411
44122011-01-05  Ralf Corsepius  <ralf.corsepius@rtems.org>
4413
4414	* Makefile.am: Move cleaning targ-include to clean-local.
4415	* Makefile.in: Regenerate.
4416
44172011-01-05  Ralf Corsepius  <ralf.corsepius@rtems.org>
4418
4419	* libc/stdio/open_memstream.c (internal_open_memstream_r):
4420	Don't limit c->max to 64*1024 on targets with SIZE_MAX < 64*1024.
4421
44222011-01-05  Ralf Corsepius  <ralf.corsepius@rtems.org>
4423
4424	* libc/xdr/xdr.c: Fix typos in #errors.
4425
44262011-01-05  Ralf Corsepius  <ralf.corsepius@rtems.org>
4427
4428	* libc/xdr/xdr_private.h: Include <stdint.h>
4429	* libc/xdr/xdr_rec.c: Include limits.h
4430
44312011-01-05  Ralf Corsepius  <ralf.corsepius@rtems.org>
4432
4433	* libc/Makefile.am (SUBDEFS): Remove redundant posix/stmp-def.
4434	* libc/Makefile.in: Regenerate.
4435
44362011-01-05  Ralf Corsepius  <ralf.corsepius@rtems.org>
4437
4438	* libc/configure.in: Remove redundant posix_dir processing.
4439	* libc/configure: Regenerate.
4440
44412010-12-31  Ralf Corsepius  <ralf.corsepius@rtems.org>
4442
4443	* MAINTAINERS: Change corinna@vinchen.de to corinna@vinschen.de.
4444
44452010-12-26  Christopher Faylor  <me+cygwin@cgf.cx>
4446
4447	* libc/include/sys/errno.h (program_invocation_name): Declare.
4448	(program_invocation_short_name): Ditto.
4449
44502010-12-16  Jeff Johnston  <jjohnstn@redhat.com>
4451
4452	* NEWS: Update with 1.19.0 info.
4453	* README: Ditto.
4454	* MAINTAINERS: Update.
4455	* acinclude.m4: Change version number to 1.19.0.
4456	* aclocal.m4: Regenerated.
4457	* configure: Ditto.
4458	* Makefile.am: Fix stmp-targ-include target.
4459	* Makefile.in: Regenerated.
4460	* doc/aclocal.m4: Ditto.
4461	* doc/configure: Ditto.
4462	* libc/*/aclocal.m4: Ditto.
4463	* libc/*/configure: Ditto.
4464	* libc/libc.texinfo: Ditto.
4465	* libm/*/aclocal.m4: Ditto.
4466	* libm/*/configure: Ditto.
4467	* libm/libm.texinfo: Ditto.
4468	* libc/sys/linux/shared.ld: Add VERS_1.19
4469
44702010-12-14  Jeff Johnston  <jjohnstn@redhat.com>
4471
4472	* Makefile.am: Add support to copy all sub-directories of the
4473	sys/SYS_DIR/include directory, if they contain header files.
4474	* Makefile.in: Regenerated.
4475
44762010-12-08  Jeff Johnston  <jjohnstn@redhat.com>
4477
4478	* libm/mathfp/sf_logarithm.c: Change isfinitef reference to isfinite.
4479
44802010-12-08  Ralf Corsepius <ralf.corsepius@rtems.org>
4481
4482	* include/sys/types.h: Add #if defined(__rtems__) around
4483	pthread_attr_t.guardsize.
4484
44852010-12-08  Joel Sherrill <joel@OARcorp.com>
4486
4487	* include/pthread.h: Add pthread_attr_setstack, pthread_attr_getstack,
4488	pthread_attr_getguardsize, pthread_attr_setguardsize.
4489	* include/sys/types.h (pthread_attr_t): Add guardsize.
4490
44912010-12-08  Corinna Vinschen  <corinna@vinschen.de>
4492
4493	* libc/include/strings.h: Don't include locale.h.
4494
44952010-12-07  Eric Blake  <eblake@redhat.com>
4496
4497	* libc/include/strings.h: Don't declare removed functions when
4498	requesting POSIX 2008 compliance.
4499
45002010-12-07  Jeff Johnston  <jjohnstn@redhat.com>
4501
4502	* libc/stdlib/strtod.c (_strtod_r): Fix code to handle case whereby
4503	_DOUBLE_IS_32BITS is set and DBL_DIGS is 6 instead of 15.
4504
45052010-12-07  Ralf Corsépius  <ralf.corsepius@rtems.org>
4506
4507	* libc/include/strings.h: New (split-out from string.h).
4508
45092010-12-03  Craig Howland <howland@LGSInnovations.com>
4510
4511	* libc/include/math.h: Missing from previous checkin.
4512
45132010-12-02  Craig Howland <howland@LGSInnovations.com>
4514
4515	* libm/common/s_log2.c:  Change from using M_LOG2_E to M_LN2 define
4516	(from math.h--the latter is POSIX, the former non-standard).
4517	* libm/common/sf_log2.c:  Ditto.  Change cast for M_LN2 from float to
4518	float_t (in case all math not done in float).
4519	* libc/include/math.h:  Ditto (same 2 things as sf_log2.c).
4520
45212010-12-02  Jayant Sonar  jayant.sonar@kpitcummins.com
4522	    Kaushik Phatak  kaushik.phatak@kpitcummins.com
4523
4524	* configure.host: Add CR16 support.
4525	* libc/include/machine/ieeefp.h: Ditto.
4526	* libc/include/machine/setjmp.h: Ditto.
4527	* libc/include/sys/config.h: Ditto.
4528	* libc/machine/configure.in: Ditto
4529	* libc/machine/configure: Regenerated
4530	* libc/machine/cr16/aclocal.m4: New.
4531	* libc/machine/cr16/configure.in: New
4532	* libc/machine/cr16/configure: New
4533	* libc/machine/cr16/getenv.c: New
4534	* libc/machine/cr16/Makefile.am: New
4535	* libc/machine/cr16/Makefile.in: New
4536	* libc/machine/cr16/setjmp.S: New
4537	* libc/machine/cr16/sys/asm.h: New
4538	* libc/machine/cr16/sys/libh.h: New
4539	* libc/machine/cr16/sys/syscall.h: New
4540
45412010-11-29  Ralf Corsépius  <ralf.corsepius@rtems.org>
4542
4543	* libm/complex/catan.c, libm/complex/catanf.c,
4544	libm/complex/ctan.c, libm/complex/ctanf.c:
4545	Use HUGE_VAL instead of MAXNUM.
4546
45472010-11-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
4548
4549	* libm/complex/cargf.c: Use crealf instead of creal.
4550
45512010-11-19  Andy Koppe <andy.koppe@gmail.com>
4552
4553	* libc/locale/locale.c (loadlocale): Recognise the "cjknarrow"
4554	modifier on "C.<charset>" locales too.
4555
45562010-11-18  Andy Koppe <andy.koppe@gmail.com>
4557
4558	* libc/locale/locale.c (loadlocale): Fix width of CJK ambigous
4559	characters to 1 for singlebyte charsets and 2 for non-Unicode
4560	multibyte charsets. Change documentation accordingly.
4561
45622010-11-17  Bernd Schmidt  <bernds@codesourcery.com>
4563
4564	* configure.host (newlib_cflags): For tic6x, add -DCLOCK_PROVIDED.
4565
45662010-11-16  Andrew Makhorin <mao@gnu.org>
4567
4568	* libc/machine/i386/setjmp.S (longjmp): Per POSIX, return 1 if second
4569	argument is 0.
4570
45712010-11-16  Ralf Corsépius  <ralf.corsepius@rtems.org>
4572
4573	* libc/include/sys/types.h: Add _mode_t for __rtems__.
4574	* libc/sys/rtems/machine/_types.h: Provide _mode_t, _fpos_t, _off_t.
4575	Add _ssize_t for 64bit sparc.
4576	Let arm, i386, m68k, mips, PPC, sparc use 64bit _off_t, _fpos_t.
4577
45782010-11-16  Ralf Corsépius  <ralf.corsepius@rtems.org>
4579
4580	* configure.host: Add -D_COMPILING_NEWLIB to newlib_cflags.
4581
45822010-11-04  Ralf Corsépius  <ralf.corsepius@rtems.org>
4583
4584	* libm/complex/cacos.c: Reorder function calls to work around ICE
4585	in arm/thumb-gcc.
4586
45872010-10-27  Maurice Baijens  <maurice.baijens@ellips.nl>
4588
4589	* libc/stdlib/strtol.c: Make sure signed characters are not
4590	sign-extended when converted to int and passed to ctype macros.
4591	* libc/stdlib/strtoul.c: Ditto.
4592	* libc/stdlib/strtoll_r.c: Ditto.
4593	* libc/stdlib/strtoull_r.c: Ditto.
4594
45952010-10-18  Marco Atzeri  <marco_atzeri@yahoo.it>
4596
4597	* libm/Makefile.am: added complex functions documentation
4598	* libm/libm.texinfo: ditto
4599	* libm/complex/Makefile.am: Ditto
4600	* libm/complex/complex.tex: Ditto
4601	* libm/complex/(cabs.c, cacos.c, cacosh.c, carg.c,
4602     	casin.c, casinh.c, catan.c, catanh.c, ccos.c, ccosh.c,
4603     	cexp.c, cimag.c, clog.c, conj.c, cpow.c, cproj.c, creal.c,
4604     	csin.c, csinh.c, csqrt.c, ctan.c, ctanh.c): Ditto
4605	* libm/Makefile.in: Regenerate
4606	* libm/complex/Makefile.in: Ditto
4607
46082010-10-14  Craig Howland <howland@LGSInnovations.com>
4609
4610	* libc/include/math.h:  Delete cabs() and cabs() prototypes
4611	(c.f. 2010-10-08 change by Corinna).
4612
46132010-10-08  Bernd Schmidt  <bernds@codesourcery.com>
4614	Joseph Myers  <joseph@codesourcery.com>
4615
4616	* configure.host: Handle tic6x targets.
4617	* libc/include/machine/ieeefp.h: Define endianness for C6X.
4618	* libc/include/machine/setjmp.h: Add __TMS320C6X__ case.
4619	* libc/machine/configure.in: Handle tic6x targets.
4620	* libc/machine/configure: Regenerate.
4621	* libc/machine/tic6x/Makefile.am, libc/machine/tic6x/configure.in,
4622	libc/machine/tic6x/setjmp.S: New.
4623	* libc/machine/tic6x/Makefile.in, libc/machine/tic6x/aclocal.m4,
4624	libc/machine/tic6x/configure: New (generated).
4625
46262010-10-08  Ralf Corsépius  <ralf.corsepius@rtems.org>
4627
4628	* libc/include/sys/unistd.h: Declare getsid, setegid, seteuid for RTEMS.
4629
46302010-10-08  Ralf Corsépius  <ralf.corsepius@rtems.org>
4631
4632	* libm/common/sf_llrint.c, libm/common/sf_round.c: Add explicit casts
4633	to __uint32_t to avoid overflows on implicit casts.
4634
46352010-10-08  Ralf Corsépius  <ralf.corsepius@rtems.org>
4636
4637	* libm/complex/complex.tex: Add empty stub.
4638
46392010-10-08  Corinna Vinschen  <corinna@vinschen.de>
4640
4641	* libm/math/w_cabs.c: Delete.
4642	* libm/math/wf_cabs.c: Delete.
4643	* libm/math/Makefile.am (src): Remove w_cabs.c.
4644	(fsrc): Remove wf_cabs.c.
4645	* libm/math/Makefile.in: Regenerate.
4646
46472010-10-08  Marco Atzeri  <marco_atzeri@yahoo.it>
4648
4649	* libc/include/complex.h: New complex header.
4650	* libm/common/fdlibm.h: Added ifdef _COMPLEX_H.
4651	* libm/complex/*: New complex functions imported from NetBSD.
4652	* libm/Makefile.am: Added complex subdir.
4653	* libm/Makefile.in: Regenerate.
4654	* libm/configure.in: Added complex subdir.
4655	* libm/configure: Regenerate.
4656
46572010-10-06  Eric Blake  <eblake@redhat.com>
4658
4659	* lib/str-two-way.h (two_way_long_needle): Avoid bug with long
4660	periodic needle having false positive.  Affects memmem, strstr,
4661	strcasestr.
4662
46632010-09-21  Craig Howland <howland@LGSInnovations.com>
4664
4665	* libc/string/memcpy.c: Do not assign size_t parameter to int.
4666	Use parameter directly, instead.
4667	* libc/string/memccpy.c:  Likewise.
4668	* libc/string/mempcpy.c:  Likewise.
4669	* libc/string/memmove.c:  Likewise.
4670
46712010-09-09  Kevin Buettner  <kevinb@redhat.com>
4672
4673	* libc/sys/sysnecv850/Makefile.am (lib_a_SOURCES): Provide an
4674	empty definition.
4675	* libc/sys/sysnecv850/Makefile.in: Regenerate.
4676
46772010-08-25  Sebastian Huber  <sebastian.huber@embedded-brains.de>
4678
4679	* libc/posix/opendir.c (opendir): Fix potential memory leak.
4680
46812010-08-10  Yaakov Selkowitz  <yselkowitz@users.sourceforge.net>
4682
4683	* libc/include/sys/dir.h: New BSD-compatibility header.
4684
46852010-08-02  Yaakov Selkowitz  <yselkowitz@users.sourceforge.net>
4686
4687	* libc/include/sys/features.h: Define _POSIX_MONOTONIC_CLOCK for Cygwin.
4688
46892010-08-06  Corinna Vinschen  <corinna@vinschen.de>
4690
4691	* libc/include/sys/stat.h: Move all POSIX-defined symbolic constants
4692	out of `#ifndef _POSIX_SOURCE' guard.
4693
46942010-08-03  Craig Howland <howland@LGSInnovations.com>
4695
4696	* libm/common/s_lrint.c (lrint):  Annotate shift operations with
4697	possible shift amount ranges, and use SAFE_RIGHT_SHIFT to avoid
4698	undefined behaviour.
4699	* libm/common/s_llrint.c (llrint):  Likewise.
4700	* libm/common/s_lround.c (lround):  Correct some comments on ranges.
4701	* libm/common/s_llround.c (llround):  Likewise.
4702
47032010-07-30  Anthony Green  <green@moxielogic.com>
4704
4705	* libc/sys/rtems/machine/_types.h: Add moxie support.
4706
47072010-07-23  Naveen.H.S  <naveenh1@kpitcummins.com>
4708            Gina Verlekar <gina.verlekar@kpitcummins.com>
4709
4710        * configure.host: Compact v850* support and add
4711	check for newlib_may_supply_syscalls.
4712        * libc/sys/sysnecv850/Makefile.am: Add support for
4713        '--disable-newlib-supplied-syscalls' option.
4714        * libc/sys/sysnecv850/Makefile.in: Regenerated.
4715
47162010-07-20  Dave Korn  <dave.korn.cygwin@gmail.com>
4717
4718	* libm/common/fdlibm.h (SAFE_LEFT_SHIFT): New macro definition.
4719	(SAFE_RIGHT_SHIFT): Likewise.
4720	* libm/common/s_llround.c (llround): Annotate shift operations with
4721	possible shift amount ranges, and use SAFE_RIGHT_SHIFT to avoid
4722	undefined behaviour.
4723	* libm/common/s_lround.c (lround): Likewise.
4724
47252010-07-19  Eric Blake  <eblake@redhat.com>
4726
4727	* libc/stdio/mktemp.c (_gettemp): Add parameter, all callers
4728	changed.
4729	(mkostemp, _mkostemp_r, mkostemps, _mkostemps_r): New interfaces,
4730	for ELIX level 4.
4731	* libc/include/stdlib.h (mktemp): Avoid namespace issues.
4732	(mkostemp, mkostemps): Declare.
4733
47342010-07-13  Corinna Vinschen  <corinna@vinschen.de>
4735
4736	* libc/include/signal.h (sighandler_t): Only define if _POSIX_SOURCE
4737	is undefined.
4738
47392010-07-06  Corinna Vinschen  <corinna@vinschen.de>
4740
4741	* libc/posix/rewinddir.c (rewinddir): Remove incorrect cast to off_t.
4742	* libc/sys/rtems/sys/dirent.h (_seekdir): Add prototype.
4743	* libc/sys/linux/sys/dirent.h (_seekdir): Fix prototype to use long
4744	rather than off_t.
4745
47462010-07-01  Yaakov Selkowitz  <yselkowitz@users.sourceforge.net>
4747
4748	* libc/include/signal.h (sighandler_t): Add typedef.
4749
47502010-06-29  Antony King  <antony.king@st.com>
4751
4752	* libc/ctype/ctype_.c (__ctype_ptr): Reinstate definition (guarded by
4753	_NEED_OLD_CTYPE_PTR_DEFINITION) for backwards compatibility with newlib
4754	1.16.0 and earlier.
4755
47562010-06-28  Yaakov Selkowitz  <yselkowitz@users.sourceforge.net>
4757
4758	* libc/include/sys/stat.h: Add ACCESSPERMS, ALLPERMS, and DEFFILEMODE.
4759
47602010-06-18  Pavel Pisa <ppisa4lists@pikron.com>
4761
4762	* libc/include/machine/ieeefp.h[__arm__][!__VFP_FP__]: Set to
4763	__IEEE_BIG_ENDIAN and set __IEEE_BYTES_LITTLE_ENDIAN appropriately
4764	based on __ARMEL flag.
4765	* libc/include/machine/endian.h: To set byte order to LITTLE_ENDIAN,
4766	check for __IEEE_LITTLE_ENDIAN or __IEEE_BYTES_LITTLE_ENDIAN.
4767
47682010-06-09  Paul Brook  <paul@codesourcery.com>
4769
4770	* libc/include/sys/reent.h (_reent): Adjust _REENT_SMALL to be
4771	binary compatible with normal layout.
4772	(_REENT_INIT): Adjust to match struct layout.
4773
47742010-06-08  Jeff Johnston  <jjohnstn@redhat.com>
4775
4776	* libc/include/wordexp.h: Add __cplusplus wrapper.
4777
47782010-06-08  Jeff Johnston  <jjohnstn@redhat.com>
4779
4780	* configure.in: Add test for enable-newlib-register-fini
4781	to set the _WANT_REGISTER_FINI flag.
4782	* configure: Regenerated.
4783	* Makefile.in: Ditto.
4784	* newlib.hin: Add _WANT_REGISTER_FINI flag.
4785	* libc/stdlib/__call_atexit.c: Add test for
4786	_WANT_REGISTER_FINI to enable the register_fini function.
4787
47882010-06-04  Mark Mitchell  <mark@codesourcery.com>
4789
4790	* libc/stdlib/__call_atexit.c (__libc_fini): Declare.
4791	(register_fini): New function.
4792	* libc/misc/init.c (_fini): Remove.
4793	(__libc_fini_array): Likewise.
4794	* libc/misc/fini.c: New file.
4795	* libc/misc/Makefile.am (LIB_SOURCES): Add fini.c.
4796	* libc/misc/Makefile.in: Regenerate.
4797
47982010-05-31  Kazu Hirata  <kazu@codesourcery.com>
4799
4800	* libc/stdlib/mallocr.c (malloc_extend_top): Backport the
4801	difference between versions 2.6.4 and 2.6.5.
4802
48032010-05-18  Christopher Faylor  <me+cygwin@cgf.cx>
4804
4805	* libc/string/strsignal.c (strsignal): Avoid duplicate case statement
4806	where SIGPWR == SIGLOST.
4807
48082010-05-11  Jeff Johnston  <jjohnstn@redhat.com>
4809
4810	* libc/stdlib/__call_atexit.c: Fix lock to be of type
4811	_LOCK_RECURSIVE_T as recursive usage is needed.
4812
48132010-05-11  Jeff Johnston  <jjohnstn@redhat.com>
4814
4815	* libc/locale/locale.c (loadlocale): Fix dangling
4816	switch statement caused by __HAVE_LOCALE_INFO__ not being
4817	defined.
4818
48192010-05-11  Joel Sherrill <joel.sherrill@oarcorp.com>
4820
4821	* libc/string/strsignal.c: New file.
4822	* libc/string/Makefile.am: Add support for strsignal.
4823	* libc/string/strings.tex: Ditto.
4824	* libc/string/Makefile.in: Regenerated.
4825
48262010-05-05  DJ Delorie  <dj@redhat.com>
4827
4828	* libc/Makefile.am (stmp-sigset, stmp-iconvset, stmp-extra,
4829	stmp-stdio64, stmp-posix,stmp-targetdep): Use unique temporary
4830	file names to allow for parallel installs.
4831	(CLEANFILES): Add new temporary file names.
4832	* libc/Makefile.in: Regenerate.
4833
48342010-05-03  Corinna Vinschen  <corinna@vinschen.de>
4835
4836	* libc/locale/lctype.c: Include <string.h> and "setlocale.h".
4837	(_C_ctype_locale): Add braces to initializer.
4838	(__ctype_load_locale): Fix compiler warnings in non-Cygwin case.
4839	* libc/locale/nl_langinfo.c (nl_langinfo): Expose _NL_CTYPE_MB_CUR_MAX
4840	case only if __HAVE_LOCALE_INFO__ is defined.
4841
48422010-05-02  Corinna Vinschen  <corinna@vinschen.de>
4843
4844	* libc/stdlib/wctob.c (wctob): Reorganize and fix WEOF check.  Rename
4845	pwc to pmb and convert to array to avoid buffer overflow.  Rename c to
4846	wc.  Check wc for WEOF instead of for EOF.  Return first byte of pmb if
4847	__wctomb conversion returned exactly one byte, EOF otherwise.
4848
48492010-04-30  Corinna Vinschen  <corinna@vinschen.de>
4850
4851	* libc/include/langinfo.h: Fix #endif positioning.
4852
48532010-04-28  Corinna Vinschen  <corinna@vinschen.de>
4854
4855	Extend locale support to maintain wide char values of native strings
4856	if __HAVE_LOCALE_INFO_EXTENDED__ is defined.
4857	* libc/include/langinfo.h (enum __nl_item): New type.  Define all
4858	native values accessible through nl_langinfo.  Define previously
4859	existing POSIX-compatible values as macros as well.
4860	* libc/include/stdlib.h (__mb_cur_max): Drop declaration.
4861	(__locale_mb_cur_max): Declare.
4862	(MB_CUR_MAX): Re-define calling __locale_mb_cur_max.
4863	* libc/locale/Makefile.am (ELIX_SOURCES): Add lctype.c.
4864	* libc/locale/Makefile.in: Regenerate.
4865	* libc/locale/lctype.c: New file to define and load LC_CTYPE category.
4866	* libc/locale/lctype.h: New file, matching header.
4867	* libc/locale/lmessages.c (_C_messages_locale): Add default values for
4868	wide char members.
4869	(__messages_load_locale): Add _C_messages_locale in call to
4870	__set_lc_messages_from_win.
4871	* libc/locale/lmessages.h (struct lc_messages_T): Add wide char members.
4872	* libc/locale/lmonetary.c (_C_monetary_locale):  Add default values for
4873	wide char members.
4874	(__monetary_load_locale): Add _C_monetary_locale in call to
4875	__set_lc_monetary_from_win.
4876	* libc/locale/lmonetary.h (struct lc_monetary_T): Add wide char members.
4877	Add numerical values for international currency formatting per
4878	POSIX-1.2008, if __HAVE_LOCALE_INFO_EXTENDED__ is defined.
4879	* libc/locale/lnumeric.c (_C_numeric_locale): Add default values for
4880	wide char members.
4881	(__numeric_load_locale): Add _C_numeric_locale in call to
4882	__set_lc_numeric_from_win.
4883	* libc/locale/lnumeric.h (struct lc_numeric_T): Add wide char members.
4884	* libc/locale/locale.c (loadlocale): Return doing nothing if category
4885	locale didn't change.  Convert category if chain to switch statement.
4886	Call __ctype_load_locale in LC_CTYPE case.
4887	(__locale_charset): Add (but disable for now) returning codeset from
4888	__get_current_ctype_locale.
4889	(__locale_mb_cur_max): Add (but disable for now) returning mb_cur_max
4890	from __get_current_ctype_locale.
4891	(__locale_msgcharset): Add returning codeset from
4892	__get_current_messages_locale.
4893	(_localeconv_r): Accommodate int_XXX values.
4894	* libc/locale/nl_langinfo.c (nl_ext): New array to define what is to
4895	be returned for non-POSIX values.
4896	(nl_Langinfo): Return correct codeset for each locale category.  Return
4897	extended values if __HAVE_LOCALE_INFO_EXTENDED__ is defined.
4898	* libc/locale/timelocal.c (_C_time_locale): Add default values for
4899	wide char members.
4900	(__time_load_locale): Add _C_time_locale in call to
4901	__set_lc_time_from_win.
4902	* libc/locale/timelocal.h (struct lc_time_T): Add wide char members.
4903	* libc/stdio/vfwprintf.c (_VFWPRINTF_R): Use wide char decimal point
4904	and thousands_sep if __HAVE_LOCALE_INFO_EXTENDED__ is defined.
4905	* libc/time/strftime.c: Rework to accommodate availability of wide char
4906	strings in LC_TIME category if __HAVE_LOCALE_INFO_EXTENDED__ is defined.
4907
49082010-04-22  DJ Delorie  <dj@redhat.com>
4909
4910	* libc/Makefile.am (SUBDEFS): Add LIBC_POSIX_DEF.
4911	(libc.info): Add posix.texi.
4912	(libc.dvi): Likewise.
4913	(stmp-posix): New.
4914	(posix.texi): New.
4915	(libc_TEXINFOS): Add posix.texi.
4916	* libc/configure.in (LIBC_POSIX_LIB, LIBC_POSIX_DEF): Add
4917	tests.
4918	* libc/libc.texinfo: Include posix.texi
4919	* libc/locale/locale.c: Fix texinfo typo.
4920	* libc/time/strftime.c: Fix texinfo typo.
4921
4922	* libc/configure: Regenerate.
4923	* libc/Makefile.in: Regenerate.
4924	* libc/argz/Makefile.in: Regenerate.
4925	* libc/ctype/Makefile.in: Regenerate.
4926	* libc/errno/Makefile.in: Regenerate.
4927	* libc/iconv/Makefile.in: Regenerate.
4928	* libc/iconv/ccs/Makefile.in: Regenerate.
4929	* libc/iconv/ccs/binary/Makefile.in: Regenerate.
4930	* libc/iconv/ces/Makefile.in: Regenerate.
4931	* libc/iconv/lib/Makefile.in: Regenerate.
4932	* libc/locale/Makefile.in: Regenerate.
4933	* libc/misc/Makefile.in: Regenerate.
4934	* libc/posix/Makefile.in: Regenerate.
4935	* libc/reent/Makefile.in: Regenerate.
4936	* libc/search/Makefile.in: Regenerate.
4937	* libc/signal/Makefile.in: Regenerate.
4938	* libc/stdio/Makefile.in: Regenerate.
4939	* libc/stdio64/Makefile.in: Regenerate.
4940	* libc/stdlib/Makefile.in: Regenerate.
4941	* libc/string/Makefile.in: Regenerate.
4942	* libc/syscalls/Makefile.in: Regenerate.
4943	* libc/time/Makefile.in: Regenerate.
4944	* libc/unix/Makefile.in: Regenerate.
4945	* libc/xdr/Makefile.in: Regenerate.
4946
49472010-04-06  Dave Korn  <dave.korn.cygwin@googlemail.com>
4948
4949	* libc/stdlib/__atexit.c (__atexit_lock): Initialise as recursive
4950	rather than non-recursive lock type.
4951	(__register_exitproc): Use recursive locking APIs on it.
4952	* libc/stdlib/__call_atexit.c (__call_exitprocs): Likewise.
4953
49542010-04-06  Corinna Vinschen  <corinna@vinschen.de>
4955
4956	* libc/stdlib/btowc.c (btowc): Reorganize EOF check.  Fix incorrect
4957	return value if input byte is ASCII NUL.
4958
49592010-04-01  Joel Sherrill <joel.sherrill@oarcorp.com>
4960
4961	* libc/include/sched.h: Include prototypes for
4962	sched_* methods.
4963	* libc/include/sys/sched.h: Update to POSIX
4964	1003.1b-2008.  Rework constants to allow sharing
4965	between RTEMS and Cygwin.
4966
49672010-03-27  Corinna Vinschen  <corinna@vinschen.de>
4968
4969	* libc/locale/locale.c (loadlocale): Optimize "EUC" charset check.
4970	Cygwin only: Allow GB2312 and EUC-CN as alternative codeset names
4971	for GBK.  Add to documentation.
4972	* libc/locale/nl_langinfo.c (nl_langinfo): On Cygwin, translate EUCCN
4973	to GB2312.
4974
49752010-03-17  Craig Howland <howland@LGSInnovations.com>
4976
4977	* libc/include/sys/features.h:  Allow for _XOPEN_SOURCE to have an
4978	empty definition.  Also add support for values of 500 or less.
4979
49802010-03-09  Jeff Johnston  <jjohnstn@redhat.com>
4981
4982	* libc/posix/telldir.c (dd_loccnt): Change start index to be 1
4983	instead of 0.
4984	(_seekdir): A loc of 0 now means rewind dir.
4985
49862010-03-08  Craig Howland <howland@LGSInnovations.com>
4987
4988	* libm/common/s_rint.c:  Fix error when integral part had 18 bits and
4989	fraction had bits set beyond first radix bit.  Also, make 2-part
4990	adjustment consistent with 1-part adjustment when adjusting fractional
4991	bits.
4992	* libm/common/sf_rint.c:  Make fractional-bit adjustment consistent
4993	with s_rint.c by setting 0b.01 instead of 0b.001.
4994
49952010-03-05  Craig Howland <howland@LGSInnovations.com>
4996
4997	* libm/math/ef_sqrt.c: Delete unused variable sign.
4998	* libc/stdlib/getenv.c: Delete "char *_findenv_r ();", as is not a
4999	proper prototype, and is properly prototyped in stdlib.h, anyway.
5000	* libc/stdlib/getenv_r.c: Ditto.
5001	* libc/search/hash.c: Add _DEFUN to __hash_open() declaration; add
5002	#define __DBINTERFACE_PRIVATE to activate prototypes from db_local.h.
5003	* libc/search/db_local.h: Correct __hash_open() prototype.
5004	* libc/sys/linux/cmath/math_private.h:  Eliminate compiler warnings:
5005	Remove #define INFINITY (redefines from math.h); remove #define __isnanf
5006	and #define __isinff isinff.
5007
50082010-03-02  Craig Howland <howland@LGSInnovations.com>
5009
5010	* libc/include/sys/features.h:  Add POSIX.1-permitted definition of
5011	_POSIX_C_SOURCE if not already defined and _XOPEN_SOURCE has an
5012	appropriate value.  Specifically, check for POSIX.1-2008 & 2001 values.
5013	* libc/include/sys/config.h:  Add #include <sys/features.h> so that all
5014	includes get the new check added to it.
5015
50162010-03-02  Charles Wilson  <cygwin@cwilson.fastmail.fm>
5017
5018	* libc/xdr/README: Correct grammatical errors.
5019	* libc/include/rpc/types.h: Add public types used
5020	by RPC implementations.
5021	* libc/include/rpc/xdr.h: Add defines used by RPC
5022	implementations.
5023	* libc/xdr/Makefile.am: Eliminate automake warning.
5024	* libc/xdr/Makefile.in: Regenerate.
5025
50262010-03-02  Corinna Vinschen  <corinna@vinschen.de>
5027
5028	* libc/xdr/Makefile.in: Regenerate.
5029
50302010-03-02  Charles Wilson  <cygwin@cwilson.fastmail.fm>
5031
5032	Add eXtensible Data Record (XDR) support
5033	* configure.host: Build libc/xdr only on cygwin.
5034	* Makefile.am: Install xdr headers.
5035	* libc/configure.in: Support new libc/xdr subdirectory.
5036	* libc/Makefile.am: Support new libc/xdr subdirectory.
5037	* libc/include/rpc/types.h: New.
5038	* libc/include/rpc/xdr.h: New.
5039	* libc/xdr/README: New.
5040	* libc/xdr/Makefile.am: New.
5041	* libc/xdr/dummy.c: New.
5042	* libc/xdr/xdr.c: New.
5043	* libc/xdr/xdr_array.c: New.
5044	* libc/xdr/xdr_float.c: New.
5045	* libc/xdr/xdr_float_vax.c: New.
5046	* libc/xdr/xdr_mem.c: New.
5047	* libc/xdr/xdr_private.c: New.
5048	* libc/xdr/xdr_private.h: New.
5049	* libc/xdr/xdr_rec.c: New.
5050	* libc/xdr/xdr_reference.c: New.
5051	* libc/xdr/xdr_sizeof.c: New.
5052	* libc/xdr/xdr_stdio.c: New.
5053
5054	Regenerate using ac-2.63 and am-1.11.1
5055	* libc/xdr/Makefile.in: New.
5056	* Makefile.in: Regenerate.
5057	* libc/configure: Regenerate.
5058	* libc/Makefile.in: Regenerate.
5059	* libc/argz/Makefile.in: Regenerate.
5060	* libc/ctype/Makefile.in: Regenerate.
5061	* libc/errno/Makefile.in: Regenerate.
5062	* libc/iconv/ccs/binary/Makefile.in: Regenerate.
5063	* libc/iconv/ccs/Makefile.in: Regenerate.
5064	* libc/iconv/ces/Makefile.in: Regenerate.
5065	* libc/iconv/lib/Makefile.in: Regenerate.
5066	* libc/iconv/Makefile.in: Regenerate.
5067	* libc/locale/Makefile.in: Regenerate.
5068	* libc/misc/Makefile.in: Regenerate.
5069	* libc/posix/Makefile.in: Regenerate.
5070	* libc/reent/Makefile.in: Regenerate.
5071	* libc/search/Makefile.in: Regenerate.
5072	* libc/signal/Makefile.in: Regenerate.
5073	* libc/stdio/Makefile.in: Regenerate.
5074	* libc/stdio64/Makefile.in: Regenerate.
5075	* libc/stdlib/Makefile.in: Regenerate.
5076	* libc/string/Makefile.in: Regenerate.
5077	* libc/syscalls/Makefile.in: Regenerate.
5078	* libc/time/Makefile.in: Regenerate.
5079	* libc/unix/Makefile.in: Regenerate.
5080
50812010-02-26  Craig Howland <howland@LGSInnovations.com>
5082
5083	* libm/common/s_ilogb.c:  Fix typo in comments that causes doc
5084	generation to fail.
5085
50862010-02-26  Corinna Vinschen  <corinna@vinschen.de>
5087
5088	* libc/time/strftime.c: Add support for era and alt_digits data from
5089	LC_TIME locale category.  Conditionalize using _WANT_C99_TIME_FORMATS
5090	flag.
5091	(STRTOUL): Define differently for building strftime or wcsftime.
5092	(STRCPY): Ditto.
5093	(STRCHR): Ditto.
5094	(STRLEN): Ditto.
5095	(CHECK_LENGTH): Define to simplify code.
5096	(era_info_t): New type to store era info.
5097	(get_era_info): New function to fetch era info matching incoming
5098	struct tm.
5099	(free_era_info): New function to free era info.
5100	(alt_digits_t): New type to store alternative digits.
5101	(get_alt_digits): New function to convert alt_digits string into
5102	alt_digits_t structure.
5103	(free_alt_digits): New function to free alt_digits info.
5104	(conv_to_alt_digits): New function to convert unsigned value into
5105	alternative digits.
5106	(strftime): Conditionalize on _WANT_C99_TIME_FORMATS.  If
5107	_WANT_C99_TIME_FORMATS is defined, define as just a wrapper function
5108	providing era_info and alt_digits pointers and call ...
5109	(__strftime): Rename from strftime and make static if
5110	_WANT_C99_TIME_FORMATS is defined.  Add parameters for era_info and
5111	alt_digits pointers.  Handle conversion modifiers according to
5112	POSIX-1.2008.  Redefine %F and %Y according to POSIX.  Add default case
5113	to allow to bail out on invalid conversion specifiers.
5114	* libc/include/sys/config.h: Move Cygwin build flags to Cygwin's
5115	config.h.
5116
5117	* libc/include/stdio.h: Remove __CYGWIN_USE_BIG_TYPES__ condition.
5118
51192010-02-25  Corinna Vinschen  <corinna@vinschen.de>
5120
5121	* libc/locale/locale.c (loadlocale): Fix typo in comment.
5122
51232010-02-25  Corinna Vinschen  <corinna@vinschen.de>
5124
5125	* libc/locale/locale.c: Throughout, extensively comment on the
5126	reason for using __CYGWIN__.
5127	(lconv): Remove _CONST entirely.
5128	(loadlocale): Guard calls to function loading locale-specific
5129	category data with __HAVE_LOCALE_INFO__ rather than __CYGWIN__.
5130	* libc/sys/config.h (__HAVE_LOCALE_INFO__): Define for Cygwin.
5131
51322010-02-24  Charles Wilson  <...>
5133
5134        Work around issues with new libtool files in ..
5135	* configure.in: Unconditionally call _LT_PROG_ECHO_BACKSLASH.
5136	* iconvdata/configure.in: Ditto.
5137	* libc/configure.in: Ditto.
5138	* libc/machine/configure.in: Ditto.
5139	* libc/machine/i386/configure.in: Ditto.
5140	* libc/sys/configure.in: Ditto.
5141	* libc/sys/linux/configure.in: Ditto.
5142	* libc/sys/linux/linuxthreads/configure.in: Ditto.
5143	* libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
5144	* libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
5145	* libc/sys/linux/machine/configure.in: Ditto.
5146	* libc/sys/linux/machine/i386/configure.in: Ditto.
5147	* libm/configure.in: Ditto.
5148	* libm/machine/configure.in: Ditto.
5149	* libm/machine/i386/configure.in: Ditto.
5150	* libc/machine/sh/configure.in: Ditto.  Also, call
5151	AC_NO_EXECUTABLES before NEWLIB_CONFIGURE.
5152        * aclocal.m4: Regenerated.
5153        * configure: Ditto.
5154	* Makefile.in: Ditto.
5155        * doc/aclocal.m4: Ditto.
5156	* doc/Makefile.in: Ditto.
5157        * libc/*/aclocal.m4: Ditto.
5158        * libc/*/Makefile.in: Ditto.
5159        * libc/*/configure: Ditto.
5160        * libm/*/aclocal.m4: Ditto.
5161	* libm/*/Makefile.in: Ditto.
5162        * libm/*/configure: Ditto.
5163
51642010-02-24  Jeff Johnston  <jjohnstn@redhat.com>
5165
5166	* libc/stdlib/__call_exit.c: Add include of sys/lock.h.
5167
51682010-02-23  Jeff Johnston  <jjohnstn@redhat.com>
5169
5170	* libc/include/sys/types.h: Fix __XMK__ sectioning and remove
5171	redundant code section for __XMK__.
5172
51732010-02-22  Corinna Vinschen  <corinna@vinschen.de>
5174
5175	* libc/include/langinfo.h (_NL_TIME_DATE_FMT): Define new nl_item
5176	value for LC_TIME entry date_fmt.
5177	(_DATE_FMT): Define "official" GNU name same as _NL_TIME_DATE_FMT.
5178	* libc/locale/nl_langinfo.c (nl_langinfo): Add case for _DATE_FMT.
5179
51802010-02-18  Corinna Vinschen  <corinna@vinschen.de>
5181
5182	* libc/ctype/iswalpha.c (iswalpha): Update to Unicode 5.2.
5183	* libc/ctype/iswprint.c (iswprint): Ditto.
5184	* libc/ctype/iswpunct.c (iswpunct): Drop standalone implementation.
5185	Define in terms of other wctype functions instead.
5186	* libc/ctype/towlower.c (towlower): Update to Unicode 5.2.  Add comment
5187	to explain how to fetch the data from the Unicode database.
5188	* libc/ctype/towupper.c (towupper): Ditto.
5189	* libc/ctype/utf8alpha.h: Ditto.
5190	* libc/ctype/utf8print.h: Ditto.
5191	* libc/ctype/utf8punct.h: Remove.
5192	* libc/ctype/iswcntrl.c (iswcntrl): Add comment to explain how to
5193	fetch the data from the Unicode database.
5194
51952010-02-18  Corinna Vinschen  <corinna@vinschen.de>
5196
5197	* libc/locale/timelocal.h (struct lc_time_T): Add missing ERA-related
5198	members.
5199	* libc/locale/timelocal.c (_C_time_local): Set new members to empty
5200	strings.
5201	* libc/locale/nl_langinfo.c (nl_langinfo): Return values from
5202	__get_current_time_locale() for ERA related requests.
5203
52042010-02-16  Corinna Vinschen  <corinna@vinschen.de>
5205
5206	* libc/ctype/iswblank.c (iswblank): Remove Unicode characters
5207	U+00A0 and U+200B.  Add Unicode character U+180E.  Add comment
5208	to explain how to generate from Unicode data file.
5209	* libc/ctype/iswspace.c (iswspace): Ditto.
5210
52112010-02-15  Corinna Vinschen  <corinna@vinschen.de>
5212
5213	* libc/stdio/vfwprintf.c (_VFWPRINTF_R): Apply previous patch here
5214	as well.
5215
52162010-02-15  Corinna Vinschen  <corinna@vinschen.de>
5217
5218	* libc/stdio/vfprintf.c (_VFPRINTF_R): Drop printing a redundant
5219	decimal point in case the float argument is an integral value.
5220
52212010-02-11  Craig Howland <howland@LGSInnovations.com>
5222
5223	* libc/include/machine/ieeefp.h:  isfinite macro modified to run faster
5224	by only calling fpclassify once instead of possibly twice.
5225
52262010-02-11  Craig Howland <howland@LGSInnovations.com>
5227
5228	* libm/common/s_ilogb.c:  Adjust documentation to reflect new returns
5229	(see next items) and that ilogb() and ilogbf() are C99/POSIX.
5230	* libm/common/s_ilogb.c (ilogb):  Use C99/POSIX FP_ILOGB0 and
5231	FP_ILOGBNAN returns for 0 and NAN arguments, respectively, instead of
5232	the prior -INT_MAX and INT_MAX.  The FP_ILOGBx defines in math.h
5233	presently match the prior hard-codes, so no functional change is
5234	actually introduced.  (Not at this time, nor planned, but the values
5235	are permitted to be different, so subsequent edits of math.h could
5236	possibly cause a functional change.)
5237	* libm/common/sf_ilogb.c (ilogbf):  Ditto.
5238
52392010-02-09  Daniel Gutson  <dgutson@codesourcery.com>
5240
5241	* libc/machine/arm/arm_asm.h (_ISA_THUMB_2): __ARM_ARCH_7EM__
5242	added to the preprocessor condition.
5243
52442010-02-09  Corinna Vinschen  <corinna@vinschen.de>
5245
5246	* libc/locale/lmessages.c (__messages_load_locale): Take additional
5247	parameters for wide char to multibyte conversion.  Call
5248	__set_lc_messages_from_win on Cygwin.
5249	* libc/locale/lmessages.h: Make C++-safe.
5250	(__messages_load_locale): Change declaration.
5251	* libc/locale/lmonetary.c (__monetary_load_locale): Use
5252	_monetary_locale_buf as buffer pointer.
5253	* libc/locale/lnumeric.c (__numeric_load_locale): Use
5254	_numeric_locale_buf as buffer pointer.
5255	* libc/locale/timelocal.c (__time_load_locale): Use time_locale_buf
5256	as buffer pointer.
5257	* libc/locale/locale.c (loadlocale): Enable loading LC_MESSAGES data
5258	on Cygwin.
5259
52602010-02-08  Josef Wolf  <jw@raven.inka.de>
5261
5262	* libc/machine/m68k/memcpy.S: MISALIGEND_OK should not be set for
5263	__mcpu32__.
5264
52652010-02-07  Corinna Vinschen  <corinna@vinschen.de>
5266
5267	* libc/locale/locale.c: Add Cygwin's /usr/share/locale/locale.alias
5268	support to documentation.
5269	(__set_locale_from_locale_alias): Declare when build for Cygwin.
5270	(loadlocale): On Cygwin, if locale can't be recognized, call
5271	__set_locale_from_locale_alias to check for locale alias.
5272	Define FAIL macro to replace `return NULL' statements.  Replace
5273	throughout.
5274
52752010-02-07  Corinna Vinschen  <corinna@vinschen.de>
5276
5277	* libc/locale/locale.c: Fix typo in documentation.  Remove useless
5278	_MB_CAPABLE guards within other _MB_CAPABLE guards.  Add comment
5279	to remaining #endif's.
5280
52812010-02-06  Corinna Vinschen  <corinna@vinschen.de>
5282
5283	* libc/ctype/ctype_cp.h (_CTYPE_GEORGIAN_PS_128_254): Define.
5284	(_CTYPE_GEORGIAN_PS_255): Define.
5285	(_CTYPE_PT154_128_254): Define.
5286	(_CTYPE_PT154_255): Define.
5287	(__ctype_cp): Add array members for above ctype definitions.
5288	* libc/locale/locale.c (loadlocale): Make TIS-620 charset name
5289	available for all targets.  Add guards for setting the conversion
5290	function pointers.  Add support for GEORGIAN-PS and PT154 charsets.
5291	Change documentation to reflect current behaviour more closely.
5292	* libc/locale/nl_langinfo.c (nl_langinfo): On Cygwin, translate
5293	"CP101" to "GEORGIAN-PS" and "CP102" to "PT154".
5294	* libc/stdlib/sb_charsets.c (__cp_conv): Add conversion arrays
5295	for GEORGIAN-PS and PT154.
5296	(__cp_index): Map invalid Windows codepage number 101 to
5297	GEORGIAN-PS conversion array, 102 to PT154 conversion array.
5298
52992010-02-06  Ralf Corsepius  <ralf.corsepius@rtems.org>
5300
5301	* libc/posix/telldir.c: Remove bogus nested prototype of lseek().
5302
53032010-02-05  Corinna Vinschen  <corinna@vinschen.de>
5304
5305	* libc/locale/locale.c (loadlocale): Handle ISO-8859 and KOI8 charsets
5306	so that the dashes are optional.  Align documentation.
5307
53082010-02-05  Corinna Vinschen  <corinna@vinschen.de>
5309
5310	* libc/stdio/vfprintf.c: Include locale.h also if _WANT_IO_C99_FORMATS
5311	is defined.  Raise conversion buffer size to make sure it has enough
5312	room for numbers plus grouping character.  Define GROUPING flag.
5313	(_VFPRINTF_R): Add PRINTANDPAD macro.  Handle grouping flag character.
5314	Handle grouping for decimal integer and float values.
5315	* libc/stdio/vfwprintf.c: Ditto.
5316
53172010-02-01  Christopher Faylor  <me+cygwin@cgf.cx>
5318
5319	* libc/stdlib/__atexit.c (__atexit_lock): Define a global lock for
5320	atexit functions.
5321	(__register_exitproc): Use __atexit_lock rather than a local static
5322	lock.
5323	* libc/stdlib/__call_atexit.c: Ditto.
5324
53252010-01-29  Jeff Johnston  <jjohnstn@redhat.com>
5326
5327	* libc/search/Makefile.am: Create .def files for bsearch and qsort.
5328	* libc/search/Makefile.in: Regenerated.
5329	* libc/stdlib/stdlib.tex: Add bsearch and qsort.
5330
53312010-01-24  Corinna Vinschen  <corinna@vinschen.de>
5332
5333	* libc/locale/nl_langinfo.c (nl_langinfo): Return "CP932" when using
5334	SJIS on Cygwin.  Explain why.
5335
53362010-01-23  Corinna Vinschen  <corinna@vinschen.de>
5337
5338	* libc/locale/locale.c (loadlocale): Allow CP932 as alias for SJIS.
5339	Add to documentation.  Add a few comments to #endif's for Cygwin.
5340
53412010-01-23  Corinna Vinschen  <corinna@vinschen.de>
5342
5343	* libc/locale/locale.c (loadlocale): Disable JIS entirely on Cygwin.
5344	Allow TIS620 and TIS-620 as aliases for CP874 on Cygwin.
5345
53462010-01-22  Corinna Vinschen  <corinna@vinschen.de>
5347
5348	* libc/locale/lmonetary.c (__monetary_load_locale): Take additional
5349	parameters for wide char to multibyte conversion.  Call
5350	__set_lc_monetary_from_win on Cygwin.
5351	* libc/locale/lmonetary.h: Make C++-safe.
5352	(__monetary_load_locale): Change declaration.
5353	* libc/locale/lnumeric.c (__numeric_load_locale): Take additional
5354	parameters for wide char to multibyte conversion.  Call
5355	__set_lc_numeric_from_win on Cygwin.
5356	* libc/locale/lnumeric.h: Make C++-safe.
5357	(__numeric_load_locale): Change declaration.
5358	* libc/locale/locale.c (lconv): De-constify for Cygwin.
5359	(__set_charset_from_locale): Rename from
5360	__set_charset_from_codepage.  Take locale as parameter instead of
5361	a codepage.
5362	(loadlocale): Allow "EUC-JP" for "EUCJP" and "EUC-KR" for "EUCKR".
5363	Change documnetation accordingly.  Enable LC_COLLATE, LC_MONETARY,
5364	LC_NUMERIC, and LC_TIME handling on Cygwin.
5365	(_localeconv_r): On Cygwin, copy values from monetary and numeric
5366	domain if change has been noted.
5367	* libc/locale/nl_langinfo.c (nl_langinfo): Accommodate change of
5368	am/pm layout in struct lc_time_T.
5369	* libc/locale/timelocal.c (_C_time_locale): Accommodate
5370	redefinition of am/pm members.
5371	(__time_load_locale): Take additional parameters for wide char
5372	to multibyte conversion.  Call __set_lc_time_from_win on Cygwin.
5373	* libc/locale/timelocal.h: Make C++-safe.
5374	(struct lc_time_T): Convert am and pm to a am_pm array for easier
5375	consumption by strftime and strptime.
5376	(__time_load_locale): Change declaration.
5377	* libc/time/strftime.c: Change documentation to reflect changes to
5378	strftime.  Remove locale constant strings in favor of access to
5379	locale-specifc data.
5380	(_ctloc): Define access method for locale-specifc data.
5381	(TOLOWER): Define for tolower conversion.
5382	(strftime): Throughout, convert locale-specific formats to use
5383	locale-specific data.  Add GNU-specific "%P" format.
5384	* libc/time/strptime.c: Remove locale constant strings in favor of
5385	access to locale-specifc data.
5386	(_ctloc): Define access method for locale-specifc data.
5387	(strptime): Throughout, convert locale-specific formats to use
5388	locale-specific data.
5389
53902010-01-20  Corinna Vinschen  <corinna@vinschen.de>
5391
5392	* libc/locale/nl_langinfo.c (nl_langinfo): On Cygwin, translate
5393	often-used charsets into Linux compatible codesets.
5394
53952010-01-19  Andy Koppe  <andy.koppe@gmail.com>
5396
5397	* libc/stdio/vfscanf.c (__SVFSCANF_R): Fix handling of non-ASCII
5398	characters and allow invalid bytes in format string.
5399
54002010-01-19  Corinna Vinschen  <corinna@vinschen.de>
5401
5402	* libc/stdlib/wcstombs_r.c (_wcstombs_r): Handle invalid characters
5403	correctly also in the s==NULL case.
5404
54052010-01-17  Corinna Vinschen  <corinna@vinschen.de>
5406
5407	* libc/locale/locale.c (loadlocale): Change comments to refer to
5408	ISO 639-3 rather than 639-2.
5409
54102010-01-17  Corinna Vinschen  <corinna@vinschen.de>
5411
5412	* libc/locale/locale.c (loadlocale): Allow three character
5413	language codes to accommodate ISO 639-2 codes.
5414
54152010-01-17  Corinna Vinschen  <corinna@vinschen.de>
5416
5417	* libc/locale/locale.c (lc_ctype_charset): Disable defaulting to
5418	"UTF-8" on Cygwin.
5419	(lc_message_charset): Ditto.
5420	(loadlocale): Disable setting charset of the "C" locale to "UTF-8" on
5421	Cygwin.
5422	* libc/stdlib/mbtowc_r.c (__mbtowc): Add Cygwin-specific comment.
5423	* libc/stdlib/wctomb_r.c (__wctomb): Ditto.
5424
54252010-01-14  Corinna Vinschen  <corinna@vinschen.de>
5426
5427	* libc/include/sys/_default_fcntl.h (O_CLOEXEC): Define as _FNOINHERIT.
5428	(F_DUPFD_CLOEXEC): Define for Cygwin.
5429	* libc/include/sys/unistd.h (dup3): Define for Cygwin.
5430	(pipe2): Ditto.
5431
54322010-01-14  Corinna Vinschen  <corinna@vinschen.de>
5433
5434	* libc/stdio/vfprintf.c (_VFPRINTF_R): Just wave bytes invalid in
5435	the current charset through.
5436
54372010-01-11  Sebastian Huber  <sebastian.huber@embedded-brains.de>
5438
5439	* libc/posix/telldir.c (_cleanupdir): Fixed usage of freed memory.
5440
54412010-01-11  Yaakov Selkowitz  <yselkowitz@users.sourceforge.net>
5442
5443	* libc/include/math.h (log2, log2f): Disable macro versions for C++,
5444	as they are incompatible with OpenMP/C++ headers.
5445
54462010-01-10  Corinna Vinschen  <corinna@vinschen.de>
5447
5448	* libc/stdlib/mbtowc_r.c (__ascii_mbtowc): Disallow conversion of
5449	non-ASCII chars on Cygwin.
5450	* libc/stdlib/wctomb_r.c (__ascii_wctomb): Ditto.
5451
54522009-12-22  Eric Blake  <ebb9@byu.net>
5453
5454	* libc/include/sys/unistd.h (suboptarg, getsubopt): Move...
5455	* libc/include/stdlib.h: ...here, to match POSIX for getsubopt.
5456
54572009-12-17  Jeff Johnston  <jjohnstn@redhat.com>
5458
5459	* NEWS: Update with 1.18.0 info.
5460	* README: Ditto.
5461	* acinclude.m4: Change version number to 1.18.0.
5462	* aclocal.m4: Regenerated.
5463	* configure: Ditto.
5464	* doc/aclocal.m4: Ditto.
5465	* doc/configure: Ditto.
5466	* libc/*/aclocal.m4: Ditto.
5467	* libc/*/configure: Ditto.
5468	* libc/libc.texinfo: Ditto.
5469	* libm/*/aclocal.m4: Ditto.
5470	* libm/*/configure: Ditto.
5471	* libm/libm.texinfo: Ditto.
5472	* libc/sys/linux/shared.ld: Add VERS_1.18
5473
54742009-12-17  Jeff Johnston <jjohnstn@redhat.com>
5475
5476	* libc/include/_syslist.h: Add _mkdir transform.
5477
54782009-12-17  Jerker Back  <jerker.back@gmail.com>
5479
5480	* libc/iconv/lib/local.h[!__GNUC__]: Add alternative version of
5481	ICONV_ZERO_MB_STATE_T macro.
5482	* libc/iconv/lib/ucsconv.c (ucs_based_conversion_get_state): Use
5483	temporary local variable nullstate to hold empty mbstate_t.
5484
54852009-12-17  Jerker Back  <jerker.back@gmail.com>
5486
5487	* libc/include/_ansi.h: Add new _EXFNPTR macro for using with
5488	function pointer arguments.
5489	* libc/iconv/lib/conv.h: Use _EXFNPTR rather than _EXPARM macro.
5490	* libc/iconv/lib/ucsconv.h: Ditto.
5491	* libc/include/stdlib.h: Use new _EXFNPTR macro for function pointers.
5492	* libc/include/sys/reent.h: Ditto.
5493	* libc/include/sys/unistd.h: Ditto.
5494	* libc/search/bsearch.c: Ditto.
5495	* libc/stdio/fseek.c: Ditto.
5496	* libc/stdio64/fseeko64.c: Ditto.
5497	* libc/stdlib/atexit.c: Ditto.
5498	* libc/stdlib/on_exit.c: Ditto.
5499
55002009-12-17  Ralf Corsépius <ralf.corsepius@rtems.org>
5501
5502	* libc/include/machine/ieeefp.h: Rework __IEEE_*_ENDIAN handling.
5503	* libc/machine/arm/machine/endian.h: Remove (Conflicts with
5504	libc/include/machine/endian.h)
5505
55062009-12-17  Ralf Corsépius <ralf.corsepius@rtems.org>
5507
5508	* libc/include/machine/setjmp.h: Set up _JBLEN #ifdef __m68k__.
5509
55102009-12-17  Ralf Corsepius <ralf.corsepius@rtems.org>
5511
5512	* libc/include/pthread.h: Add pthread_atfork, pthread_rwlock_unlock
5513	* libc/include/sys/stat.h: Use struct timespec st_*tim,
5514	blksize_t st_blksize, blkcnt_t st_blocks.
5515	Add st_*time compatibility macros.
5516
55172009-12-16  Joel Sherrill <joel.sherrill@oarcorp.com>
5518
5519	* libc/sys/rtems/machine/param.h: Only use sizeof(double) -1
5520	for ALIGNBYTES on SPARC.
5521
55222009-12-16  Jeff Johnston  <jjohnstn@redhat.com>
5523
5524	* libc/include/sys/errno.h: Move EHOSTDOWN, EPFNOSUPPORT,
5525	and ETOOMANYREFS into general list as they are referenced
5526	by OpenGroup and needed by RTEMS.
5527
55282009-12-16  Ralf Corsépius <ralf.corsepius@rtems.org>
5529
5530	* libc/search/hcreate.c: Don't include <sys/queue.h> (Unused).
5531
55322009-12-16  Ralf Corsépius <ralf.corsepius@rtems.org>
5533
5534	* libc/sys/rtems/machine/_types.h: New (Derived from
5535	machine/_default_types.h).
5536	* libc/sys/rtems/crt0.c: Rework. Introduce macro RTEMS_STUB.
5537	* libc/sys/rtems/sys/param.h:
5538	Update copyright notice from FreeBSD.
5539	Remove HZ.
5540	Add #include <sys/priority.h>
5541	Remove priority handling (moved to sys/priority.h).
5542	Remove CLBYTES (Unused, abandoned in BSD).
5543	* libc/sys/rtems/sys/queue.h: Update copyright (from FreeBSD).
5544	Remove CIRCLEQ_*.
5545
55462009-12-15  Conny Marco Menebrocker  <c-m-m@gmx.de>
5547
5548	* libc/machine/xc16x/Makefile.am: Fix typo and refer
5549	to puts.c instead of putc.c.
5550	* libc/machine/xc16x/Makefile.in: Regenerated.
5551
55522009-12-14  Maxim Kuvyrkov <maxim@codesourcery.com>
5553
5554	* libc/machine/m68k/memcpy.S: Patch to support
5555	boards which do not support unaligned read/write.
5556
55572009-12-10  Conny Marco Menebrocker  <c-m-m@gmx.de>
5558
5559	* configure.host: Add xc16x support.
5560	* libc/include/machine/ieeefp.h: Ditto.
5561	* libc/include/sys/config.h: Ditto.
5562	* libc/machine/configure.in: Ditto.
5563	* libc/machine/Makefile.in: Regenerated.
5564	* libc/machine/aclocal.m4: Ditto.
5565	* libc/machine/configure: Ditto.
5566	* libc/machine/xc16x/Makefile.am: New file.
5567	* libc/machine/xc16x/Makefile.in: Ditto.
5568	* libc/machine/xc16x/aclocal.m4: Ditto.
5569	* libc/machine/xc16x/configure: Ditto.
5570	* libc/machine/xc16x/configure.in: Ditto.
5571	* libc/machine/xc16x/putchar.c: Ditto.
5572	* libc/machine/xc16x/puts.c: Ditto.
5573	* libc/machine/xc16x/setjmp.S: Ditto.
5574
55752009-12-08  Eric Blake  <ebb9@byu.net>
5576
5577	Fix some *at declarations.
5578	* libc/include/stdio.h (symlinkat): Move this...
5579	* libc/include/sys/_default_fcntl.h (unlinkat): ...and this...
5580	* libc/include/sys/unistd.h (symlinkat, unlinkat): ...here, to
5581	match POSIX.
5582
55832009-12-03  Craig Howland <howland@LGSInnovations.com>
5584
5585	* libc/stdlib/strtod.c:  Correct "NO_REENT" to "_REENT_ONLY".
5586	* libc/stdlib/wcstod.c:  Ditto.
5587	* libc/stdlib/dtoastub.c:  Ditto.
5588
55892009-11-23  Corinna Vinschen  <corinna@vinschen.de>
5590
5591	Use NetBSD fix for CVE-2009-0689 security vulnerability.
5592	* libc/include/sys/reent.h (_Kmax): Define here based on the sizeof
5593	size_t, as in latest NetBSD.
5594	* libc/reent/reent.c (_reclaim_reent): Use _Kmax rather than constant
5595	value 15.
5596	* libc/stdlib/mprec.c (_Kmax): Don't define here.  Explain why.
5597
55982009-11-20  Nick Clifton  <nickc@redhat.com>
5599
5600	* libc/machine/rx/strncat.S (_strncat): Replace use of r6
5601	(call-saved) with r14 (call-used).
5602
56032009-11-18  Dave Korn  <dave.korn.cygwin@googlemail.com>
5604
5605	* libm/machine/i386/f_tan.S (_f_tan): Free fp stack register
5606	containing useless constant before advancing fp sp over it.
5607	(_f_tanf): Likewise.
5608
56092009-11-18  Corinna Vinschen  <corinna@vinschen.de>
5610
5611	* libc/stdio/vfprintf.c: Include ../stdlib/local.h.  Replace call to
5612	_mbtowc_r with direct call to __mbtowc.
5613	* libc/stdio/vfscanf.c: Ditto.
5614	* libc/stdlib/btowc.c: Include local.h.  Replace call to _mbtowc_r
5615	with direct call to __mbtowc.
5616	* libc/stdlib/mblen.c: Ditto.
5617	* libc/stdlib/mblen_r.c: Ditto.
5618	* libc/stdlib/mbrtowc.c: Ditto.
5619	* libc/stdlib/mbstowcs_r.c: Ditto.
5620	* libc/stdlib/mbtowc.c: Ditto.
5621	* libc/stdlib/wcrtomb.c: Include local.h.  Replace call to _wctomb_r
5622	with direct call to __wctomb.
5623	* libc/stdlib/wcsnrtombs.c: Ditto.
5624	(_wcsnrtombs_r): Ditto.
5625	* libc/stdlib/wcstombs_r.c: Ditto.
5626	* libc/stdlib/wctob.c: Ditto.
5627	* libc/stdlib/wctomb.c: Ditto.
5628
5629	* libc/stdlib/mbrtowc.c (mbrtowc): Implement independently from
5630	_mbrtowc_r, unless PREFER_SIZE_OVER_SPEED or __OPTIMIZE_SIZE__ are
5631	defined.
5632	* libc/stdlib/wcrtomb.c (wcrtomb): Implement independently from
5633	_wcrtomb_r, unless PREFER_SIZE_OVER_SPEED or __OPTIMIZE_SIZE__ are
5634	defined.
5635
5636	* libc/stdlib/mbtowc_r.c (__utf8_mbtowc): Drop unnecessary test for
5637	ch >= 0.
5638
56392009-11-17  Yaakov Selkowitz  <yselkowitz@users.sourceforge.net>
5640
5641	* libm/common/fdlibm.h (logb, logbf): Move decls from here...
5642	* libc/include/math.h (logb, logbf): ...to here.
5643
56442009-11-06  Jon Turney  <jon.turney@dronecode.org.uk>
5645
5646	* libc/include/ctype.h (__ctype_lookup): Fix precedence.
5647
56482009-10-30  Corinna Vinschen  <corinna@vinschen.de>
5649
5650	* libc/stdio/fflush.c (_fflush_r): Store old errno to check for
5651	low-level seek error condition.  Restore old errno in case of
5652	success.  Don't use new position after seek as error condition,
5653	rather check for return value of -1 and errno.  Handle EINVAL
5654	just like ESPIPE.  Only set fp->_offset if errno is 0.
5655
56562009-10-27  Nick Clifton  <nickc@redhat.com>
5657
5658	* MAINTAINERS (ARM): Add myself as an ARM maintainer.
5659
56602009-10-26  DJ Delorie  <dj@redhat.com>
5661
5662	* configure.host: Add support for RX architecture.
5663	* libc/include/machine/ieeefp.h: Likewise.
5664	* libc/include/machine/setjmp.h: Likewise.
5665	* libc/include/machine/configure.in: Likewise.
5666	* libc/include/machine/configure: Regenerate.
5667	* libc/machine/rx: New directory.
5668	* libc/machine/rx/*: New files to support RX architecture.
5669
56702009-10-24  Eric Blake  <ebb9@byu.net>
5671
5672	* libc/include/ctype.h (__ctype_lookup): New macro.
5673	(isalpha, isupper, islower, isdigit, isxdigit, isspace, ispunct)
5674	(isalnum, isprint, isgraph, iscntrl, isblank): Use it to fix bug
5675	on 64-bit machines.
5676
56772009-10-20  Jeff Johnston  <jjohnstn@redhat.com>
5678
5679	* configure.host: Don't set -O2 flag in newlib_cflags.  Leave
5680	that to CFLAGS.
5681	* acinclude.m4: Don't reset CFLAGS before calling _AC_PROG_CC_G
5682	as it sets the same flags as we are using.
5683	* aclocal.m4: Regenerated.
5684	* configure: Ditto.
5685	* Makefile.in: Ditto.
5686	* iconvdata/aclocal.m4: Ditto.
5687	* iconvdata/configure: Ditto.
5688	* iconvdata/Makefile.in: Ditto.
5689	* doc/aclocal.m4: Ditto.
5690	* doc/configure: Ditto.
5691	* doc/Makefile.in: Ditto.
5692	* libc/aclocal.m4: Ditto.
5693	* libc/configure: Ditto.
5694	* libc/Makefile.in: Ditto.
5695	* libc/*Makefile.in: Ditto.
5696	* libc/*aclocal.m4: Ditto.
5697	* libc/*configure: Ditto.
5698	* libm/*Makefile.in: Ditto.
5699	* libm/*aclocal.m4: Ditto.
5700	* libm/*configure: Ditto.
5701
57022009-10-16  Jeff Johnston  <jjohnstn@redhat.com>
5703
5704	* libc/include/sys/config.h[__CYGWIN__]: Set __USE_XOPEN2K flag
5705	if not __STRICT_ANSI__ or stdc version C99 or greater.
5706	* libc/include/stdio.h[__STRICT_ANSI__]: Add __USE_XOPEN2K check
5707	for fseeko and ftello prototypes.
5708
57092009-10-15  Corinna Vinschen  <corinna@vinschen.de>
5710
5711	* libc/include/wchar.h (struct tm0: Declare as incomplete type.
5712
57132009-10-15  Corinna Vinschen  <corinna@vinschen.de>
5714
5715	* libc/locale/nl_langinfo.c (nl_langinfo): Add Cygwin-specific temporary
5716	exception for KOI8 charsets.
5717
57182009-10-13  Eric Blake  <ebb9@byu.net>
5719
5720	* libc/include/sys/unistd.h: Add _PC*, _CS*, and _SC* constants
5721	new to POSIX 2008.
5722
57232009-10-13  Yaakov Selkowitz  <yselkowitz@users.sourceforge.net>
5724
5725	* libc/include/sys/signal.h: Include <sys/types.h> always.
5726	[__CYGWIN__, __rtems__]: Define kill first argument as pid_t per
5727	standards.
5728
57292009-10-09  Dave Korn  <dave.korn@artimi.com>
5730
5731	* libc/include/sys/time.h (_TIMEVAL_DEFINED): Define when
5732	defining struct timeval.
5733
57342009-10-09  Corinna Vinschen  <corinna@vinschen.de>
5735
5736	* libc/locale/locale.c (DEFAULT_LOCALE): New define.
5737	(__default_locale): New global variable set to the default locale.
5738	(__get_locale_env): Return __default_locale rather than fixed "C".
5739
57402009-10-08  Jeff Johnston  <jjohnstn@redhat.com>
5741
5742	* configure.host: For RTEMS, define HAVE_ASSERT_FUNC.
5743	* libc/stdlib/assert.c (_assert_func): Do not specify
5744	__assert_func if HAVE_ASSERT_FUNC flag is set.
5745
57462009-10-08  Eric Blake  <ebb9@byu.net>
5747
5748	* libc/include/getopt.h (__getopt_r, __getopt_long_r)
5749	(__getopt_long_only_r): Protect declarations, to avoid compiler
5750	warning.
5751
57522009-10-07  Corinna Vinschen  <corinna@vinschen.de>
5753
5754	* libc/locale/nl_langinfo.c (nl_langinfo): Just return current locale
5755	charset on Cygwin.
5756
57572009-10-03  Corinna Vinschen  <corinna@vinschen.de>
5758
5759	* libc/stdlib/mbtowc_r.c (__utf8_mbtowc): Allow CESU-8 surrogate
5760	value encoding.
5761	* libc/stdlib/wctomb_r.c (__utf8_mbtowc): Allow CESU-8 surrogate
5762	value decoding.
5763
57642009-09-29  Corinna Vinschen  <corinna@vinschen.de>
5765
5766	* libc/locale/locale.c (loadlocale): Allow "C." same as "C-" as locale
5767	prefix.  Add some words to documentation.
5768
57692009-09-29  Corinna Vinschen  <corinna@vinschen.de>
5770
5771	* libc/stdlib/sb_charsets.c: Throughout, translate undefined
5772	characters to their corresponding Windows Unicode value.
5773
57742009-09-28  Michael Eager <eager@eagercon.com>
5775
5776	* configure.host: Add microblaze.
5777	* libc/include/machine/ieeefp.h [MICROBLAZE]: Define __IEEE_BIG_ENDIAN.
5778	* libc/include/machine/setjmp.h [MICROBLAZE]: Define _JBLEN, _JBTYPE.
5779	* libc/include/sys/config.h [MICROBLAZE]: Define _REENT_SMALL,
5780	_UNIX98_THREAD_MUTEX_ATTRIBUTES.
5781	* libc/include/sys/types.h: Treat XMK like rtems, define
5782	PTHREAD_MUTEX_NORMAL, PTHREAD_MUTEX_ERRORCHECK, PTHREAD_MUTEX_RECURSIVE,
5783	PTHREAD_MUTEX_DEFAULT, PTHREAD_STACK_MIN, define stuct pthread_attr_s.
5784	* libc/machine/configure.in: Add microblaze.
5785	* libc/machine/configure: Add microblaze (not regenerated).
5786	* libc/machine/microblaze/configure.in: NEW.
5787	* libc/machine/microblaze/configure: Generate.
5788	* libc/machine/microblaze/Makefile.am: NEW.
5789	* libc/machine/microblaze/Makefile.in: Generate.
5790	* libc/machine/microblaze/{abort.c, strcmp.c, strcpy.c, strlen.c,
5791	mallocr.c, longjmp.S, setjmp.S}: NEW.
5792	* libc/stdlib/mallocr.c [MICROBLAZE]: Don't declare sbrk prototype,
5793	mALLOc(): return malloc value.
5794
57952009-09-27  Corinna Vinschen  <corinna@vinschen.de>
5796
5797	* libc/locale/locale.c (lc_ctype_charset): Set to "UTF-8" on Cygwin.
5798	(lc_message_charset): Ditto.
5799	(loadlocale): Set charset of the "C" locale to "UTF-8" on Cygwin.
5800	* libc/stdlib/mbtowc_r.c (__mbtowc): Default to __utf8_mbtowc on
5801	Cygwin.
5802	* libc/stdlib/wctomb_r.c (__wctomb): Default to __utf8_wctomb on
5803	Cygwin.
5804
58052009-09-26  Eric Blake  <ebb9@byu.net>
5806
5807	* libc/include/sys/unistd.h (execvpe, fexecve) [__CYGWIN__]:
5808	Add declarations.
5809
58102009-09-24  Eric Blake  <ebb9@byu.net>
5811
5812	* libc/include/sys/unistd.h (eaccess, euidaccess) [__CYGWIN__]:
5813	Add declarations.
5814
58152009-09-23  Corinna Vinschen  <corinna@vinschen.de>
5816
5817	* libc/locale/locale.c: Drop Cygwin-specific windows.h include.
5818	(loadlocale): Call __set_charset_from_codepage with 0 codepage.
5819
58202009-09-22  Ralf Corsépius <ralf.corsepius@rtems.org>
5821
5822	* libc/include/stdlib.h: Add posix_memalign.
5823
58242009-09-22  Ralf Corsépius <ralf.corsepius@rtems.org>
5825
5826	* configure.host (*-rtems*): Remove -DMISSING_SYSCALL_NAMES.
5827	Add -DHAVE_BLKSIZE, -D_NO_WORDEXP -D_NO_POPEN.
5828
58292009-09-22  Ralf Corsépius <ralf.corsepius@rtems.org>
5830
5831	* configure.host (m32c): Move setting -DABORT_PROVIDED to second
5832	"case $host".
5833
58342009-09-18  Christopher Faylor  <me+cygwin@cgf.cx>
5835
5836	* libc/include/sys/unistd.h: Declare getpagesize as returning
5837	POSIX-mandated int.
5838	* libc/sys/linux/sys/unistd.h: Ditto.
5839
58402009-08-31  Takaki Makino  <t@snowelm.com>
5841
5842	* libm/machine/i386/f_pow.c(_f_pow): Alter ASM so it works with
5843	newer gcc versions.
5844	* libm/maachine/i386/f_powf.c(_f_powf): Ditto.
5845
58462009-08-25  Andy Koppe  <andy.koppe@gmail.com>
5847
5848	* libc/stdlib/sb_charsets.c (__micro_atoi): Allow five-digit codepage
5849	numbers.
5850	* libc/locale/locale.c (loadlocale): Set MB_CUR_MAX to 1 for KOI8
5851	charsets.
5852	* libc/stdlib/local.h (__cp_conv): Remove incorrect number of codepages.
5853
58542009-08-24  Corinna Vinschen  <corinna@vinschen.de>
5855
5856	* libc/locale/locale.c: Update documentation.
5857	(loadlocale): Map "KOI8-R" and "KOI8-U" to CP20866 and CP21866.
5858
58592009-08-24  Andy Koppe  <andy.koppe@gmail.com>
5860
5861	* libc/stdlib/sb_charsets.c (__cp_conv): Add KOI8-R (Russian, CP20866)
5862	and KOI8-U (Ukrainian, CP21866) to Windows codepage conversion tables.
5863	* libc/ctype/ctype_cp.h (__ctype_cp): Likewise for ctype tables.
5864
58652009-08-24  Andy Koppe  <andy.koppe@gmail.com>
5866
5867	* libc/ctype/iswspace.c (iswspace): Include "non-breaking
5868	space" (U+00A0).
5869	* libc/ctype/iswblank.c (iswblank): Likewise.
5870
58712009-08-21  Corinna Vinschen  <corinna@vinschen.de>
5872
5873	* libc/locale/locale.c (loadlocale): Throughout check charset string
5874	case insensitive and store internal charset string uppercased.  Allow
5875	"UTF8" additionally to "UTF-8".  Add this change to documentation.
5876
58772009-08-21  Eric Blake  <ebb9@byu.net>
5878
5879	* libc/include/iconv.h (iconv): Match POSIX prototype.
5880	* libc/iconv/lib/iconv.c (iconv): Likewise.
5881
58822009-08-21  Craig Howland <howland@LGSInnovations.com>
5883
5884	* libm/common/s_remquo.c (remquo):  Fix sign of quotient when |x|==|y|.
5885	* libc/stdio/mktemp.c:  Add #include <stdlib.h> for function prototypes.
5886
58872009-08-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5888
5889	* iconvdata/Makefile.am (all): Remove.
5890	* libc/sys/a29khif/Makefile.am (all-am): Rename from ...
5891	(all): ... this.
5892	* libc/sys/arc/Makefile.am: Likewise.
5893	* libc/sys/arm/Makefile.am: Likewise.
5894	* libc/sys/d10v/Makefile.am: Likewise.
5895	* libc/sys/decstation/Makefile.am: Likewise.
5896	* libc/sys/h8300hms/Makefile.am: Likewise.
5897	* libc/sys/h8500hms/Makefile.am: Likewise.
5898	* libc/sys/linux/Makefile.am: Likewise.
5899	* libc/sys/linux/machine/i386/Makefile.am: Likewise.
5900	* libc/sys/m88kbug/Makefile.am: Likewise.
5901	* libc/sys/mmixware/Makefile.am: Likewise.
5902	* libc/sys/netware/Makefile.am: Likewise.
5903	* libc/sys/rdos/Makefile.am: Likewise.
5904	* libc/sys/rtems/Makefile.am: Likewise.
5905	* libc/sys/sh/Makefile.am: Likewise.
5906	* libc/sys/sparc64/Makefile.am: Likewise.
5907	* libc/sys/sun4/Makefile.am: Likewise.
5908	* libc/sys/sysmec/Makefile.am: Likewise.
5909	* libc/sys/sysnec810/Makefile.am: Likewise.
5910	* libc/sys/sysnecv850/Makefile.am: Likewise.
5911	* libc/sys/sysvi386/Makefile.am: Likewise.
5912	* libc/sys/sysvnecv70/Makefile.am: Likewise.
5913	* libc/sys/tic80/Makefile.am: Likewise.
5914	* libc/sys/w65/Makefile.am: Likewise.
5915	* libc/sys/z8ksim/Makefile.am: Likewise.
5916	* iconvdata/Makefile.in: Regenerate.
5917	* libc/sys/a29khif/Makefile.in: Likewise.
5918	* libc/sys/arc/Makefile.in: Likewise.
5919	* libc/sys/arm/Makefile.in: Likewise.
5920	* libc/sys/d10v/Makefile.in: Likewise.
5921	* libc/sys/decstation/Makefile.in: Likewise.
5922	* libc/sys/h8300hms/Makefile.in: Likewise.
5923	* libc/sys/h8500hms/Makefile.in: Likewise.
5924	* libc/sys/linux/Makefile.in: Likewise.
5925	* libc/sys/linux/machine/i386/Makefile.in: Likewise.
5926	* libc/sys/m88kbug/Makefile.in: Likewise.
5927	* libc/sys/mmixware/Makefile.in: Likewise.
5928	* libc/sys/netware/Makefile.in: Likewise.
5929	* libc/sys/rdos/Makefile.in: Likewise.
5930	* libc/sys/rtems/Makefile.in: Likewise.
5931	* libc/sys/sh/Makefile.in: Likewise.
5932	* libc/sys/sparc64/Makefile.in: Likewise.
5933	* libc/sys/sun4/Makefile.in: Likewise.
5934	* libc/sys/sysmec/Makefile.in: Likewise.
5935	* libc/sys/sysnec810/Makefile.in: Likewise.
5936	* libc/sys/sysnecv850/Makefile.in: Likewise.
5937	* libc/sys/sysvi386/Makefile.in: Likewise.
5938	* libc/sys/sysvnecv70/Makefile.in: Likewise.
5939	* libc/sys/tic80/Makefile.in: Likewise.
5940	* libc/sys/w65/Makefile.in: Likewise.
5941	* libc/sys/z8ksim/Makefile.in: Likewise.
5942
5943	* configure.in (newlib_cv_ldbl_eq_dbl): Rename cache variable
5944	from newlib_ldbl_eq_dbl.
5945	* configure: Regenerate.
5946
59472009-08-19  Eric Blake  <ebb9@byu.net>
5948
5949	* libc/Makefile.am (SUBDEFS): Correctly build popen docs.
5950	* libc/libc.texinfo (Top): Add posix node to menu.
5951
59522009-08-18  Jeff Johnston  <jjohnstn@redhat.com>
5953
5954	* newlib.hin: Add comment regarding file being manually edited.
5955	* Makefile.am: Add no-op rule for newlib.hin.
5956	* Makefile.in: Regenerated.
5957
59582009-08-18  Jeff Johnston  <jjohnstn@redhat.com>
5959
5960	* acconfig.h: Add templates for _HAVE_LONG_DOUBLE and _LDBL_EQ_DBL.
5961
59622009-08-18  Eric Blake  <ebb9@byu.net>
5963
5964	* libc/posix/popen.c (popen): Fix documented prototype.
5965
5966	Improve popen compatibility with glibc.
5967	* libc/posix/popen.c (popen): The 2006-08-22 change to use
5968	FD_CLOEXEC disagrees with other implementations; instead, use
5969	pidlist to work even when fcntl is not available.  Meanwhile,
5970	support the 'e' modifier to set CLOEXEC, as in glibc.  Drop
5971	cygwin-specific code, now that cygwin has its own version.
5972	* libc/posix/Makefile.am (CHEWOUT_FILES): Document popen.
5973	* libc/posix/posix.tex: New file.
5974
59752009-08-17  Craig Howland <howland@LGSInnovations.com>
5976
5977	* libc/string/wcsncpy.c (wcsncpy):  Re-write function based on small
5978	version of strncpy() (fixing two bugs).
5979
59802009-08-13  Corinna Vinschen  <corinna@vinschen.de>
5981
5982	* libc/stdio/mktemp.c (mkdtemp): Fix typo in function name.
5983
59842009-08-12  Jeff Johnston  <jjohnstn@redhat.com>
5985
5986	* libc/stdio/mktemp.c (_gettemp): Do not call _mkdir_r unless
5987	HAVE_MKDIR is defined.
5988
59892009-08-12  Hans-Peter Nilsson  <hp@axis.com>
5990
5991	* libc/include/reent.h: Add prototype and definition of _mkdir_r.
5992	* libc/reent/Makefile.am (GENERAL_SOURCES): Add mkdirr.c.
5993	(CHEWOUT_FILES): Add mkdirr.def.
5994	* libc/reent/Makefile.in: Regenerate.
5995	* libc/reent/mkdirr.c: New file.
5996
59972009-08-10  Jeff Johnston  <jjohnstn@redhat.com>
5998
5999	* libc/stdlib/wcstombs.c: Change documentation to specify size_t
6000	return type instead of int.
6001
60022009-07-29  Jeff Johnston  <jjohnstn@redhat.com>
6003
6004	* libc/stdlib/a64l.c: Fix to use 'a' instead of 'A' in calculation
6005	when a lower-case character is detected.
6006
60072009-07-29  Corinna Vinschen  <corinna@vinschen.de>
6008
6009	* libc/stdlib/mbtowc_r.c (__utf8_mbtowc): Rework UTF-16 surrogate
6010	pair handling to be more bullet-proof even with incomplete UTF-8
6011	sequences.  Add check for 4 byte sequences resulting in values
6012	outside the valid Unicode range.  Add a comment to clarify checking
6013	for invalid CESU-8 sequences.
6014
60152009-07-28  Corinna Vinschen  <corinna@vinschen.de>
6016
6017	* libc/stdlib/mbtowc_r.c (__utf8_mbtowc): Fix incrementing n in case
6018	of handling incomplete sequences.
6019
60202009-07-22  Eric Blake  <ebb9@byu.net>
6021
6022	Avoid a fault from locking a closed standard file.
6023	* libc/stdio/fflush.c (_fflush_r): Give up early if stream has
6024	been previously closed.
6025
60262009-07-09  Craig Howland <howland@LGSInnovations.com>
6027
6028	* libm/math/ef_scalb.c:  Replace isnanf() (pre-C99 function call) with
6029	isnan() (C99 macro).
6030	* libm/math/wf_log.c:  Ditto.
6031	* libm/math/wf_j0.c:  Ditto.
6032	* libm/math/wf_sqrt.c:  Ditto.
6033	* libm/math/wf_pow.c:  Ditto.
6034	* libm/math/wf_fmod.c:  Ditto.
6035	* libm/math/wf_remainder.c:  Ditto.
6036	* libm/math/wf_scalb.c:  Ditto.
6037	* libm/math/wf_atanh.c:  Ditto.
6038	* libm/math/wf_cosh.c:  Ditto.
6039	* libm/math/wf_acos.c:  Ditto.
6040	* libm/math/wf_acosh.c:  Ditto.
6041	* libm/math/wf_jn.c:  Ditto.
6042	* libm/math/wf_log10.c:  Ditto.
6043	* libm/math/wf_asin.c:  Ditto.
6044	* libm/math/wf_j1.c:  Ditto.
6045	* libm/common/sf_isnan.c:  Add #include <ieeefp.h>, fix comment.
6046	* libm/common/sf_isinf.c:  Add #include <ieeefp.h>, adjust comment to
6047	match that from s_isinf.c.
6048	* libc/include/machine/ieeefp.h:  Simplify isinf and isnan macros to
6049	remove un-necessary extension use (in a similar manner to as was
6050	recently done in math.h).
6051	* libc/include/math.h:  Remove isnanf and isinff prototypes (are in
6052	ieeefp.h).
6053	* libm/machine/spu/sf_isinf.c:  Fix comment (remove <math.h>).
6054
60552009-07-06  Joel Sherrill <joel.sherrill@oarcorp.com>
6056
6057	* libc/include/sys/features.h: Enable UNIX98 mutex attributes
6058	for RTEMS.
6059
60602009-07-03  Eric Blake  <ebb9@byu.net>
6061
6062	Add mkdtemp, mkstemps.
6063	* libc/stdio/mktemp.c: Fix documentation.
6064	(_gettemp): Add domkdir and length parameters.  Check for
6065	insufficient 'X' suffix.  Drop cygwin-specific code.
6066	(_mkstemp_r, _mktemp_r, mkstemp, mktemp): Adjust clients.
6067	(_mkdtemp_r, _mkstemps_r, mkdtemp, mkstemps): New functions.
6068	* libc/include/stdlib.h (_mkdtemp_r, _mkstemps_r, mkdtemp)
6069	(mkstemps): Declare them.
6070
6071	Add fpurge.
6072	* libc/stdio/fpurge.c (fpurge, _fpurge_r): New file.
6073	* libc/stdio/Makefile.am (ELIX_4_SOURCES, CHEWOUT_FILES, fpurge):
6074	Build it.
6075	* libc/stdio/Makefile.in: Regenerated.
6076	* libc/include/stdio.h (fpurge, _fpurge_r): New declarations.
6077	* libc/stdio/stdio.tex: Build documentation.
6078
60792009-06-23  Jeff Johnston  <jjohnstn@redhat.com>
6080
6081	* Makefile.am (MATHOBJS_IN_LIBC): Add s_fpclassify and
6082	sf_fpclassify as these are now used for infinity testing.
6083	* Makefile.in: Regenerated.
6084
60852009-06-19  Joel Sherrill <joel.sherrill@oarcorp.com>
6086
6087	* libc/sys/rtems/machine/param.h: Change ALIGNBYTES
6088	so it can point to an aligned structure or double.
6089
60902009-06-18  Corinna Vinschen  <corinna@vinschen.de>
6091
6092	* libc/locale/locale.c (loadlocale): Add handling of "@cjknarrow"
6093	modifier on _MB_CAPABLE targets.  Add comment to explain.  Improve
6094	documentation.
6095
60962009-06-17  Michael Eager <eager@eagercon.com>
6097
6098	* libc/include/pthread.h: Support XMK (Xilinx) BSP, add RTEMS to
6099	PTHREAD_MUTEX_NORMAL.
6100	* libc/include/sys/features.h: Same.
6101	* libc/include/sys/types.h: Same.
6102
61032009-06-16  Corinna Vinschen  <corinna@vinschen.de>
6104
6105	* libc/include/locale.h (struct lconv): Add missing members required
6106	by POSIX.1-2008.
6107	* libc/locale/locale.c (lconv): Initialize new members to default
6108	values in "C" locale.
6109
61102009-06-16  Corinna Vinschen  <corinna@vinschen.de>
6111
6112	* libc/stdio/vfprintf.c (_VFPRINTF_R): Use actual length of
6113	radix char instead of assuming length 1.
6114	* libc/stdlib/gdtoa-gethex.c: Remove use of USE_LOCALE.
6115	(gethex): Allow multibyte decimal point.
6116	Fix compiler warnings due to different signedness of pointer types.
6117	* libc/stdlib/strtod.c: Remove use of USE_LOCALE.
6118	(_strtod_r): Allow multibyte decimal point.
6119	* libc/stdlib/wcstod.c (_wcstod_r): Evaluate correct wide char
6120	endptr position if the decimal point is a multibyte char.
6121
61222009-06-16  Craig Howland <howland@LGSInnovations.com>
6123
6124	* libc/ctype/local.h (__locale_charset): Add arguments to
6125	prototype
6126	* libc/stdlib/local.h (__locale_charset): Ditto.
6127
61282009-06-16  Craig Howland <howland@LGSInnovations.com>
6129
6130	* libc/include/math.h:  Simplify fpclassify, isinf, isnan, and signbit
6131	macros to remove un-necessary extension use.  isinf and isnan also
6132	changed to use fpclassify.  isfinite macro modified to run faster by
6133	only calling fpclassify once instead of possibly twice.
6134
61352009-06-09  Corinna Vinschen  <corinna@vinschen.de>
6136
6137	* libc/ctype/tolower.c (tolower): Cast conversion result from
6138	mbtowc/wctomb to unsigned char to avoid negative return values.
6139	* libc/ctype/toupper.c (toupper): Ditto.
6140
61412009-06-03  IWAMURO Motonori  <deenheart@gmail.com>
6142
6143	* libc/string/wcwidth.c: Optimize for speed.
6144
61452009-06-03  Corinna Vinschen  <corinna@vinschen.de>
6146
6147	* libc/locale/locale.c (lc_ctype_cjk_lang): New static int.
6148	(loadlocale): In case of setting LC_CTYPE, set lc_ctype_cjk_lang
6149	to 1 if the language is "jp", "ko", or "zh", to 0 otherwise.
6150	(__locale_cjk_lang): New function.
6151	* libc/string/local.h (__locale_cjk_lang): Declare.
6152	* libc/string/wcwidth.c: Fix comments.
6153	(__wcwidth): Handle CJK Ambiguous Width characters according
6154	to setting returned by __locale_cjk_lang.
6155
61562009-06-02  Richard Earnshaw  <rearnsha@arm.com>
6157
6158	* libc/include/sys/config.h: Remove specification of _REENT_SMALL for
6159	thumb2.
6160
61612009-06-02  IWAMURO Motonori  <deenheart@gmail.com>
6162
6163	* libc/ctype/jp2uc.c: Skip all definition if defined __CYGWIN__.
6164	(__jp2uc): Change the scope to static function.
6165	* libc/ctype/local.h (_jp2uc): Define as macro if defined __CYGWIN__.
6166	* libc/string/local.h (_jp2uc): Include ../ctype/local.h.
6167
61682009-05-27  Neal H. Walfield  <neal@gnu.org>
6169
6170	* libc/include/machine/setjmp.h (sigjmp_buf): Size according to
6171	_JBTYPE and the size of sigset_t.
6172
61732009-05-15  Craig Howland <howland@LGSInnovations.com>
6174
6175	* configure.in:  Add configuration test for long double type existing
6176	and set flag _HAVE_LONG_DOUBLE if true.  Fix INIT_ARRAY (.init_array)
6177	and _LDBL_EQ_DBL tests to not link so that will work with
6178	cross-compilers.
6179	* configure: Regenerated.
6180	* Makefile.in: Ditto.
6181	* newlib.hin: Add _HAVE_LONG_DOUBLE flag.
6182	* libc/include/math.h:  Change non-builtin defines for HUGE_VAL,
6183	HUGE_VALF, and HUGE_VALL to be constant expressions.  Add definitions
6184	for the non-builtin case for INFINITY and NAN.  Gate HUGE_VALL and
6185	union __ldmath definitions with (new) _HAVE_LONG_DOUBLE.
6186	*libm/common/s_infconst.c:  Change definitions to use values from
6187	float.h instead of non-so-portable integer forms.  Mark as being
6188	deprecated (because now removed from math.h, are not used anywhere
6189	in Newlib, itself).
6190
61912009-05-15  Corinna Vinschen  <corinna@vinschen.de>
6192
6193	* libc/string/local.h: New file.
6194	* libc/string/wcswidth.c (wcswidth):  Convert japanese wide
6195	characters to Unicode here.  Handle surrogate pairs for UTF-16
6196	systems.  Call __wcwidth rather than wcwidth.
6197	* libc/string/wcwidth.c: New implementation using Markus Kuhn's
6198	wcwidth implementation for Unicode.
6199	(bisearch): New static function.
6200	(__wcwidth): New function.  Take wint_t rather than wchar_t as
6201	parameter to allow full Unicode handling on UTF-16 systems.
6202	Move old wcwidth implementation here for non-multibyte aware
6203	systems.
6204	(wcwidth): Convert japanese wide characters to Unicode here.
6205	Call __wcwidth rather than using iswprint/iswcntrl.
6206
62072009-05-14  Corinna Vinschen  <corinna@vinschen.de>
6208
6209	* libc/ctype/local.h (JP_JIS, JP_SJIS, JP_EUCJP): Move definition
6210	to jp2uc.c.
6211	(__jp2uc): Remove declaration.
6212	(_jp2uc): Declare.
6213	* libc/ctype/jp2uc.c (JP_JIS, JP_SJIS, JP_EUCJP): Define.
6214	(__jp2uc): Remove Cygwin special case.
6215	(_jp2uc): New function.  On Cygwin, just return c.
6216	* libc/ctype/iswalpha.c (iswalpha): Just call _jp2uc.
6217	* libc/ctype/iswblank.c (iswblank): Ditto.
6218	* libc/ctype/iswcntrl.c (iswcntrl): Ditto.
6219	* libc/ctype/iswprint.c (iswprint): Ditto.
6220	* libc/ctype/iswpunct.c (iswpunt): Ditto.
6221	* libc/ctype/iswspace.c (iswspace): Ditto.
6222	* libc/ctype/towlower.c (towlower): Ditto.
6223	* libc/ctype/towupper.c (towupper): Ditto.
6224
62252009-05-13  Paul Brook  <paul@codesourcery.com>
6226
6227	* libc/machine/arm/setjmp.S: Don't bother saving IP.  Copy SP to
6228	IP before saving.  Likewise when restoring.
6229
62302009-05-13  Paul Brook  <paul@codesourcery.com>
6231
6232	* libc/machine/arm/setjmp.S: Add ARMv6-M implementation.
6233
62342009-05-13  Corinna Vinschen  <corinna@vinschen.de>
6235
6236	* libc/locale/locale.c (setlocale): Don't build on Cygwin.
6237
62382009-05-11  Craig Howland <howland@LGSInnovations.com>
6239
6240	* libm/machine/i386/f_llrint.c: Remove llrint() definition.
6241	* libm/machine/i386/f_llrintf.c: Remove llrintf() definition.
6242
62432009-05-08  Nick Clifton  <nickc@redhat.com>
6244
6245	* MAINTAINERS: Add myself as a maintainer for the MN10300 and to
6246	the write-after-approval list.
6247
62482009-04-30  Anthony Green  <green@moxielogic.com>
6249
6250	* MAINTAINERS: Add myself as moxie maintainer and to the
6251	write-after-approval list.
6252
62532009-04-30  Eric Blake  <ebb9@byu.net>
6254
6255	Allow gcc warning for toupper even with extended charsets.
6256	* libc/include/ctype.h (toupper, tolower)
6257	[_MB_EXTENDED_CHARSETS_ISO]: Allow gcc warning when called with
6258	'char' even when we must call the function for correct behavior.
6259	[!_MB_EXTENDED_CHARSETS_ISO]: Fix regression in result type.
6260
62612009-04-24  Jeff johnston  <jjohnstn@redhat.com>
6262
6263	* libc/stdio/fgetc.c: Make sure sfp lock is acquired before the
6264	file lock and released before the file lock to avoid a deadlock
6265	scenario.
6266	* libc/stdio/fgets.c: Ditto.
6267	* libc/stdio/fgetwc.c: Ditto.
6268	* libc/stdio/fgetws.c: Ditto.
6269	* libc/stdio/fread.c: Ditto.
6270	* libc/stdio/fseek.c: Ditto.
6271	* libc/stdio/getc.c: Ditto.
6272	* libc/stdio/getdelim.c: Ditto.
6273	* libc/stdio/gets.c: Ditto.
6274
62752009-04-24  Jeff johnston  <jjohnstn@redhat.com>
6276
6277	* configure.in: Add configuration test for long double equals dbl
6278	and set flag _LDBL_EQ_DBL if true.
6279	* configure: Regenerated.
6280	* newlib.hin: Add _LDBL_EQ_DBL flag.
6281	* libc/include/math.h: Use _LDBL_EQ_DBL flag instead of
6282	_HAVE_LDBL_MATH.
6283	* libc/include/stdlib.h: Use _LDBL_EQ_DBL flag instead of
6284	_HAVE_LDBL_STDLIB.
6285	* libc/common/local.h: Remove _LDBL_EQ_DBL flag setting.
6286	* libc/stdlib/local.h: Ditto.
6287
62882009-04-24  Joseph Myers  <joseph@codesourcery.com>
6289
6290	* libc/include/stdint.h (UINTPTR_MAX): Define to __UINTPTR_MAX__
6291	if __UINTPTR_MAX__ defined.
6292
62932009-04-24  Eric Blake  <ebb9@byu.net>
6294
6295	Be namespace clean in ctype.h.
6296	* libc/include/ctype.h (_tolower, _toupper, isalpha, isupper)
6297	(islower, isdigit, isxdigit, isspace, ispunct, isalnum)
6298	(isprint, isgraph, iscntrl, isblank, toupper, tolower)
6299	(isascii, toascii): Don't use 'c' as macro parameter name.
6300
6301	Trigger gcc warning if isFoo macros are called with plain char.
6302	* libc/include/ctype.h (isalpha, isupper, islower, isdigit)
6303	(isxdigit, isspace, ispunct, isalnum, isprint, isgraph)
6304	(iscntrl, isblank, toupper, tolower): Rewrite to let 'gcc -Wall'
6305	warn when user calls macro with a char argument.
6306
63072009-04-23  Mike Burgess  <wizardsguild@earthlink.net>
6308
6309	* libc/string/strcasecmp.c: Optimized rewrite.
6310	* libc/string/strncasecmp.c: Fix description.
6311	* libc/string/strlwr.c: Avoid passing signed char to tolower.
6312	* libc/string/strupr.c: Avoid passing signed char to tolower.
6313
63142009-04-23  Paul Brook  <paul@codesourcery.com>
6315	    Kazu Hirata  <kazu@codesourcery.com>
6316
6317	* libc/stdlib/__atexit.c (__register_exitproc): Use weak reference
6318	to malloc.  Allocate dynamically only if it is present.
6319	* libc/stdlib/__call_atexit.c (__call_exitprocs): Use weak
6320	reference to free.  Call free only if it is present.
6321
63222009-04-22 Anthony Green <green@moxielogic.com>
6323
6324	* configure.host: Add moxie support.
6325	* libc/machine/configure.in: Add moxie support.
6326	* libc/machine/configure: Rebuilt.
6327	* libc/machine/moxie/aclocal.m4: New file.
6328	* libc/machine/moxie/configure: New file.
6329	* libc/machine/moxie/configure.in: New file.
6330	* libc/machine/moxie/Makefile.am: New file.
6331	* libc/machine/moxie/Makefile.in: New file.
6332	* libc/machine/moxie/setjmp.S: New file.
6333	* libc/include/machine/setjmp.h (_JBLEN): Define for moxie.
6334	* libc/include/machine/ieeefp.h: Add moxie support.
6335
63362009-04-22  Kazu Hirata  <kazu@codesourcery.com>
6337
6338	* libc/stdio/local.h (__chclass, __state_table, __action_table):
6339	Add extern to the declarations.
6340	* libc/stdlib/local.h (__iso_8859_conv, __cp_conv): Likewise.
6341
63422009-04-21  Corinna Vinschen  <corinna@vinschen.de>
6343
6344	* libc/ctype/ctype_.c (_CTYPE_DATA_128_255): Rename from
6345	_CTYPE_DATA_128_256.
6346	* libc/ctype/ctype_cp.h: Split off all character class values for
6347	character 255 from the rest of the definitions.
6348	(__ctype_cp): Use the new definitions.  Make sure that the table
6349	always contains 0 for EOF (-1).
6350	* libc/ctype/ctype_iso.h: Ditto.
6351
63522009-04-21  Sandra Loosemore  <sandra@codesourcery.com>
6353
6354	* libc/reent/impure.c (__sf_fake_stdin, __sf_fake_stdout)
6355	(__sf_fake_stderr): Declare locally with weak attribute.
6356
63572009-04-21  Mark Mitchell  <mark@codesourcery.com>
6358
6359	* libc/include/_ansi.h: Move C++ defines to top of file.
6360	(_NOTHROW): New macro.
6361	(_EXFUN_NOTHROW): Likewise.
6362	* libc/include/stdlib.h (calloc): Declare with _EXFUN_NOTHROW.
6363	(free): Likewise.
6364	(malloc): Likewise.
6365	(realloc): Likewise.
6366	(_malloc_r): Likewise.
6367	(_callor_r): Likewise.
6368	(_free_r): Likewise.
6369	(_realloc_r): Likewise.
6370
63712009-04-20  Jeff johnston  <jjohnstn@redhat.com>
6372
6373	* libc/include/math.h: Change _LDBL_EQ_DBL flag usage to
6374	be _HAVE_LDBL_MATH.
6375	* libc/include/stdlib.h: Change _LDBL_EQ_DBL flag usage to
6376	be _HAVE_LDBL_STDLIB.
6377
63782009-04-17  Jeff johnston  <jjohnstn@redhat.com>
6379
6380	* libc/include/machine/ieeefp.h (_LDBL_EQ_DBL): Remove.
6381	* libc/stdlib/local.h (_LDBL_EQ_DBL): Add.
6382	* libc/stdlib/strtold.c: Include local.h.
6383	* libc/stdlib/wcstold.c: Likewise.
6384	* libm/common/atanl.c: Likewise.
6385	* libm/common/cosl.c: Likewise.
6386	* libm/common/sinl.c: Likewise.
6387	* libm/common/modfl.c: Likewise.
6388	* libm/common/frexpl.c: Likewise.
6389	* libm/common/tanhl.c: Likewise.
6390	* libm/common/tanl.c: Likewise.
6391	* libm/common/expm1l.c: Likewise.
6392	* libm/common/log1pl.c: Likewise.
6393	* libm/common/ceill.c: Likewise.
6394	* libm/common/fabsl.c: Likewise.
6395	* libm/common/floorl.c: Likewise.
6396	* libm/common/acosl.c: Likewise.
6397	* libm/common/asinl.c: Likewise.
6398	* libm/common/atan2l.c: Likewise.
6399	* libm/common/coshl.c: Likewise.
6400	* libm/common/expl.c: Likewise.
6401	* libm/common/fmodl.c: Likewise.
6402	* libm/common/hypotl.c: Likewise.
6403	* libm/common/ldexpl.c: Likewise.
6404	* libm/common/log10l.c: Likewise.
6405	* libm/common/logl.c: Likewise.
6406	* libm/common/powl.c: Likewise.
6407	* libm/common/sqrtl.c: Likewise.
6408	* libm/common/copysignl.c: Likewise.
6409	* libm/common/ilogbl.c: Likewise.
6410	* libm/common/nanl.c: Likewise.
6411	* libm/common/cbrtl.c: Likewise.
6412	* libm/common/asinhl.c: Likewise.
6413	* libm/common/nextafterl.c: Likewise.
6414	* libm/common/rintl.c: Likewise.
6415	* libm/common/scalbnl.c: Likewise.
6416	* libm/common/exp2l.c: Likewise.
6417	* libm/common/fdiml.c: Likewise.
6418	* libm/common/fmal.c: Likewise.
6419	* libm/common/fmaxl.c: Likewise.
6420	* libm/common/fminl.c: Likewise.
6421	* libm/common/lrintl.c: Likewise.
6422	* libm/common/lroundl.c: Likewise.
6423	* libm/common/nearbyintl.c: Likewise.
6424	* libm/common/remquol.c: Likewise.
6425	* libm/common/roundl.c: Likewise.
6426	* libm/common/scalblnl.c: Likewise.
6427	* libm/common/truncl.c: Likewise.
6428	* libm/common/acoshl.c: Likewise.
6429	* libm/common/atanhl.c: Likewise.
6430	* libm/common/erfcl.c: Likewise.
6431	* libm/common/erfl.c: Likewise.
6432	* libm/common/lgammal.c: Likewise.
6433	* libm/common/remainderl.c: Likewise.
6434	* libm/common/tgammal.c: Likewise.
6435	* libm/common/sinhl.c: Likewise.
6436	* libm/common/llroundl.c: Likewise.
6437	* libm/common/llrintl.c: Likewise.
6438	* libm/common/local.h: New file with _LDBL_EQ_DBL macro.
6439
64402009-04-17  Ken Werner  <ken.werner@de.ibm.com>
6441
6442	* libc/include/machine/ieeefp.h: _LDBL_EQ_DBL check fixed.
6443	* libc/include/math.h (llrintl): Declare.
6444	* libm/common/llrintl.c: New File.
6445	* libm/common/Makefile.am: New File added.
6446	* libm/common/Makefile.in: Regenerate.
6447
64482009-04-17  Ken Werner  <ken.werner@de.ibm.com>
6449
6450	* libc/configure.in: Change AC_TRY_COMPILE to AC_TRY_COMMAND to
6451	avoid executable test.
6452	* libc/configure: Regenerate.
6453
64542009-04-17  Jeff johnston  <jjohnstn@redhat.com>
6455
6456	* configure.in: Remove _HAVE_ARRAY_ALIASING check.
6457	* configure: Regenerated.
6458	* Makefile.in: Regenerated.
6459	* newlib.hin: Remove _HAVE_ARRAY_ALIASING flag.
6460	* libc/ctype/ctype_.c: Do not check for _HAVE_ARRAY_ALIASING.
6461	* libm/configure.in: Change AC_TRY_COMPILE to AC_TRY_COMMAND to
6462	avoid executable test.
6463	* libm/configure: Regenerated.
6464
64652009-04-16  Jeff johnston  <jjohnstn@redhat.com>
6466
6467	* libc/misc/init.c (__libc_fini_array): Process fini_array in
6468	reverse order as compliant with the ELF specification.
6469
64702009-04-16  Ken Werner  <ken.werner@de.ibm.com>
6471
6472	* libc/machine/spu/Makefile.am: Add new File.
6473	* libc/machine/spu/Makefile.in: Regenerate.
6474	* libc/machine/spu/fdopen.c: New file.
6475
64762009-04-16  Hans-Peter Nilsson  <hp@axis.com>
6477
6478	* libc/include/stdint.h (INTPTR_MIN, INTPTR_MAX, UINTPTR_MAX): Define.
6479
64802009-04-16  Ken Werner  <ken.werner@de.ibm.com>
6481
6482	* libm/libm.texinfo: Add long double function support chapter.
6483	* libc/include/machine/ieeefp.h: Add _LDBL_EQ_DBL define.
6484	* libc/include/stdlib.h: Include <machine/ieeefp.h>.
6485	(strtold, wcstold): Declare.
6486	* libc/stdlib/strtold.c: New File.
6487	* libc/stdlib/wcstold.c: Likewise.
6488	* libc/configure.in: Add long double check.
6489	* libc/configure: Regenerate.
6490	* libc/stdlib/Makefile.am: Add strtold.c and wcstold.c.
6491	* libc/stdlib/Makefile.in: Regenerate.
6492	* libc/include/math.h (atanl, cosl, sinl, tanl, tanhl): Declare.
6493	(frexpl, modfl, ceill, fabsl, floorl, log1pl, expm1l, acosl): Ditto.
6494	(asinl, atan2l, coshl, sinhl, expl, ldexpl, logl, log10l, powl): Ditto.
6495	(sqrtl, fmodl, hypotl, copysignl, nanl, ilogbl, asinhl, cbrt): Ditto.
6496	(nextafterl, rintl, scalbnl, exp2l, scalblnl, tgammal): Ditto.
6497	(nearbyintl, lrintl, llrintl, roundl, lroundl, llround): Ditto.
6498	(llroundl, truncl, remquol, fdiml, fmaxl, fminl, fmal, acoshl): Ditto.
6499	(atanhl, remainderl, lgammal, erfl, erfcl): Ditto.
6500	* libm/common/atanl.c: New File.
6501	* libm/common/cosl.c: Likewise.
6502	* libm/common/sinl.c: Likewise.
6503	* libm/common/modfl.c: Likewise.
6504	* libm/common/frexpl.c: Likewise.
6505	* libm/common/tanhl.c: Likewise.
6506	* libm/common/tanl.c: Likewise.
6507	* libm/common/expm1l.c: Likewise.
6508	* libm/common/log1pl.c: Likewise.
6509	* libm/common/ceill.c: Likewise.
6510	* libm/common/fabsl.c: Likewise.
6511	* libm/common/floorl.c: Likewise.
6512	* libm/common/acosl.c: Likewise.
6513	* libm/common/asinl.c: Likewise.
6514	* libm/common/atan2l.c: Likewise.
6515	* libm/common/coshl.c: Likewise.
6516	* libm/common/expl.c: Likewise.
6517	* libm/common/fmodl.c: Likewise.
6518	* libm/common/hypotl.c: Likewise.
6519	* libm/common/ldexpl.c: Likewise.
6520	* libm/common/log10l.c: Likewise.
6521	* libm/common/logl.c: Likewise.
6522	* libm/common/powl.c: Likewise.
6523	* libm/common/sqrtl.c: Likewise.
6524	* libm/common/copysignl.c: Likewise.
6525	* libm/common/ilogbl.c: Likewise.
6526	* libm/common/nanl.c: Likewise.
6527	* libm/common/cbrtl.c: Likewise.
6528	* libm/common/asinhl.c: Likewise.
6529	* libm/common/nextafterl.c: Likewise.
6530	* libm/common/rintl.c: Likewise.
6531	* libm/common/scalbnl.c: Likewise.
6532	* libm/common/exp2l.c: Likewise.
6533	* libm/common/fdiml.c: Likewise.
6534	* libm/common/fmal.c: Likewise.
6535	* libm/common/fmaxl.c: Likewise.
6536	* libm/common/fminl.c: Likewise.
6537	* libm/common/lrintl.c: Likewise.
6538	* libm/common/lroundl.c: Likewise.
6539	* libm/common/nearbyintl.c: Likewise.
6540	* libm/common/remquol.c: Likewise.
6541	* libm/common/roundl.c: Likewise.
6542	* libm/common/scalblnl.c: Likewise.
6543	* libm/common/truncl.c: Likewise.
6544	* libm/common/acoshl.c: Likewise.
6545	* libm/common/atanhl.c: Likewise.
6546	* libm/common/erfcl.c: Likewise.
6547	* libm/common/erfl.c: Likewise.
6548	* libm/common/lgammal.c: Likewise.
6549	* libm/common/remainderl.c: Likewise.
6550	* libm/common/tgammal.c: Likewise.
6551	* libm/common/sinhl.c: Likewise.
6552	* libm/common/llroundl.c: Likewise.
6553	* libm/configure.in: Add long double check.
6554	* libm/configure: Regenerate.
6555	* libm/common/Makefile.am: Add new files.
6556	* libm/common/Makefile.in: Regenerate.
6557
65582009-04-09  Corinna Vinschen  <corinna@vinschen.de>
6559
6560	* libc/ctype/ctype_.c (_CTYPE_DATA_0_127): Remove _B flag from TAB.
6561	* libc/ctype/ctype_cp.h: Mark non-cased letters in tables for codepages
6562	720, 862, 874, 1255, and 1256 to _U|_L.  Fix a couple of incorrect
6563	class mappings.
6564	* libc/ctype/ctype_iso.h: Mark non-cased letters in ISO-8859 tables
6565	6, 8, and 11 to _U|_L.  Fix a couple of incorrect class mappings.
6566	* libc/ctype/isblank.c (isblank): Special case TAB.
6567	* libc/ctype/islower.c (islower): Check explicitely for _L flag only
6568	in (_U|_L).
6569	* libc/ctype/isupper.c (isupper): Ditto, but check for _U flag.
6570	* libc/include/ctype.h (islower): Same in macro.
6571	(isupper): Ditto.
6572	(isblank): Special case TAB.  Redefine macro for GCC only.
6573
65742009-04-09  Corinna Vinschen  <corinna@vinschen.de>
6575
6576	* libc/stdlib/local.h (__mbtowc): Declare extern.
6577	(__wctomb): Ditto.
6578
65792009-04-09  Corinna Vinschen  <corinna@vinschen.de>
6580
6581	* libc/stdlib/mbctype.h (_iseucjp1): Like _iseucjp, but also
6582	recognizes 0x8e and 0x8f lead bytes.
6583	(_iseucjp2): Rename from _iseucjp.
6584	* libc/stdlib/mbtowc_r.c (__eucjp_mbtowc): Convert JIS-X-0212
6585	triplebyte sequences as well.
6586	* libc/stdlib/wctomb_r.c (__eucjp_wctomb): Convert to JIS-X-0212
6587	triplebyte sequences as well.
6588
65892009-04-08  Ken Werner  <ken.werner@de.ibm.com>
6590
6591	* configure.in: Add square brackets for the array aliasing conftest.
6592	* configure: Regenerate.
6593
65942009-04-06  Mike Burgess  <wizardsguild@earthlink.net>
6595
6596	* libc/string/strncasecmp.c: Optimized rewrite.
6597
65982009-04-06  Ken Werner  <ken.werner@de.ibm.com>
6599
6600	* libc/include/sys/features.h: Undefine _POSIX_TIMERS for spu.
6601	* libc/include/machine/time.h (nanosleep): Declare.
6602
66032009-04-06  Corinna Vinschen  <corinna@vinschen.de>
6604
6605	* libc/locale/locale.c (loadlocale): Set mbc_max to 3 for EUCJP.
6606
66072009-04-04  Corinna Vinschen  <corinna@vinschen.de>
6608
6609	* libc/stdlib/wcstombs.c: Fix datatypes in documentation.
6610
66112009-04-04  Corinna Vinschen  <corinna@vinschen.de>
6612
6613	* libc/include/stdio.h (_ELIDABLE_INLINE): Move definition from here...
6614	* libc/include/_ansi.h (_ELIDABLE_INLINE): ..to here.
6615
66162009-04-03  Yaakov Selkowitz  <yselkowitz@users.sourceforge.net>
6617
6618	* libc/include/stdio.h [__SCLE] (__sgetc_r): Prototype before define
6619	to avoid a warning with -Wmissing-prototypes.
6620
66212009-04-03  Ken Werner  <ken.werner@de.ibm.com>
6622
6623	* libc/machine/spu/mmap_ea.c (mmap_ea): Check length argument.
6624
66252009-04-03  Ken Werner  <ken.werner@de.ibm.com>
6626
6627	* libc/machine/spu/sys/linux_syscalls.h: include <sys/types.h>
6628	(linux_getpid, linux_gettid): Declare.
6629
66302009-04-03  Ken Werner  <ken.werner@de.ibm.com>
6631
6632	* libc/machine/spu/spu-gmon.c: Tweaks to support simultaneous SPU
6633	profiling.
6634
66352009-04-03  Ken Werner  <ken.werner@de.ibm.com>
6636
6637	* libc/include/math.h: Remove duplicate copysign prototype.
6638	Fix __math_68881 define typo.  Guard functions of the rint family.
6639
66402009-04-03  Craig Howland <howland@LGSInnovations.com>
6641
6642	* libm/common/s_llrint.c: New file, implementing llrint().
6643	* libm/common/sf_llrint.c: New file, implementing llrintf().
6644	* libm/common/Makefile.am:  Add s_llrint.c (src); sf_llrint.c (fsrc).
6645	* libm/common/Makefile.in:  Regenerate.
6646
66472009-04-02  Corinna Vinschen  <corinna@vinschen.de>
6648
6649	* libc/ctype/ctype_c.c: Move inclusion of ctype_iso.h and
6650	ctype_cp.h out of ALLOW_NEGATIVE_CTYPE_INDEX case.
6651	(__ctype_ptr__): Constify in !_MB_CAPABLE case.  Otherwise,
6652	de-constify in !ALLOW_NEGATIVE_CTYPE_INDEX case, too.  Add comment.
6653	(__set_ctype): Set __ctype_ptr__ pointer according to definition
6654	of ALLOW_NEGATIVE_CTYPE_INDEX.
6655	* libc/include/ctype.h (__ctype_ptr__): Constify in !_MB_CAPABLE case.
6656
66572009-03-31  Corinna Vinschen  <corinna@vinschen.de>
6658
6659	* libc/ctype/Makefile.am: Remove _tolower.c and _toupper.c
6660	source files.  Add a dependency rule for ctype_o to note
6661	changes in ctype_iso.h and ctype_cp.h.
6662	* libc/ctype/Makefile.in: Regenerate.
6663	* libc/ctype/_tolower.c: Remove file.
6664	* libc/ctype/_toupper.c: Remove file.
6665	* libc/ctype/ctype_.c: Make sure ALLOW_NEGATIVE_CTYPE_INDEX
6666	is always defined on Cygwin.
6667	(_ctype_b): Don't make `static const' on Cygwin.
6668	(ctype_iso.h): Include if _MB_EXTENDED_CHARSETS_ISO is set.
6669	(ctype_cp.h): Include if _MB_EXTENDED_CHARSETS_WINDOWS is set.
6670	(__ctype_ptr): Drop definition.
6671	(__ctype_ptr__): De-constify.  Mark as __EXPORT symbol.
6672	(_ctype_): Add Cygwin-specifc asm define.
6673	(__set_ctype): New function to set __ctype_ptr__ according to
6674	current charset.
6675	* libc/ctype/ctype_cp.h: New file containing Windows codepage
6676	specific character class tables.
6677	* libc/ctype/ctype_iso.h: New file containing ISO-8859-x
6678	specific character class tables.
6679	* libc/ctype/tolower.c (tolower): Reimplement to support any singlebyte
6680	charset if one of the extended charsets is enabled.
6681	* libc/ctype/toupper.c (toupper): Ditto.
6682	* libc/include/ctype.h (_tolower): Define as macro per POSIX.
6683	(_toupper): Ditto.
6684	(__ctype_ptr__): De-constify.
6685	(toupper): Disable macro on systems supporting extended charsets.
6686	(tolower): Ditto.
6687	* libc/include/sys/config.h (__EXPORT): Define empty if not defined.
6688	* libc/locale/locale.c (__mb_cur_max): Mark as __EXPORT symbol.
6689	(__set_ctype): Declare unconditionally.
6690	(loadlocale): Remove __CYGWIN__ guard around __set_ctype call.
6691
66922009-03-26  Corinna Vinschen  <corinna@vinschen.de>
6693
6694	* libc/locale/locale.c (loadlocale): Revert to charset "GBK" instead
6695	of "GB2312".  Fix documentation accordingly.
6696
66972009-03-26  Corinna Vinschen  <corinna@vinschen.de>
6698
6699	* libc/ctype/ctype_.c (_CTYPE_DATA_0_127): Mark TAB as blank character.
6700	* libc/ctype/isblank.c: Replace hardcoded test with test for having _B
6701	marker in ctype array.
6702	* libc/include/ctype.h (isblank): Add macro.
6703
67042009-03-25  Craig Howland <howland@LGSInnovations.com>
6705
6706	* libc/include/math.h:  (llround, llroundf): Declare.
6707	* libm/common/s_llround.c: New file, implementing llround().
6708	* libm/common/sf_llround.c: New file, implementing llroundf().
6709	* libm/common/sf_lround.c: Remove spurious cast in _DOUBLE_IS_32BITS
6710	version of function.
6711	* libm/common/sf_lrint.c: Ditto.
6712	* libm/common/sf_logb.c:  Corrected return for subnormal argument
6713	by replacing existing function with a version created from sf_ilogb.c.
6714	* libm/common/s_logb.c: Ditto, except starting point s_ilogb.c.  Also
6715	added documentation for logb() and logbf().
6716	* libm/common/s_signbit.c:  Add signbit() documentation.
6717	* libm/common/s_log2.c: Update return values to match what w_log2.c has,
6718	since log2 uses log(); add note about being derived instead of direct.
6719	* libm/common/sf_fma.c: Add casts to attempt to get correct results,
6720	as well as comments pointing out problems with the implementation.
6721	* libm/common/s_fma.c: Add fma() and fmaf() documentation.
6722	* libm/common/sf_remquo.c: Incorrect quotient returns for large values
6723	corrected by discarding existing function and replacing with Sun
6724	verion, with some enhancements.
6725	* libm/common/s_remquo.c: Ditto.  Add remquo() and remquof()
6726	documentation.
6727	* libm/common/s_fmax.c: Add fmax() and fmaxf() documentation.
6728	* libm/common/s_fmin.c: Add fmin() and fminf() documentation.
6729	* libm/common/s_fdim.c: Return NAN for NAN arg, add fdim() and fdimf()
6730	documentation.
6731	* libm/common/sf_fdim.c: Return NAN for NAN arg, HUGE_VALF for inf arg.
6732	* libm/common/s_trunc.c: Add trunc() and truncf() documentation.
6733	* libm/common/s_rint.c: Add rint() and rintf() documentation.
6734	* libm/common/s_round.c: Add round() and roundf() documentation.
6735	* libm/common/s_scalbn.c: Add scalbln() and scalblnf() documentation.
6736	* libm/common/s_infinity.c: Add infinity() and infinityf()
6737	documentation.
6738	* libm/common/s_lround.c: Add lround(), lroundf(), llround(), and
6739	llroundf() documentation.
6740	* libm/common/s_lrint.c: Add lrint(), lrintf(), llrint(), and llrintf()
6741	documentation.
6742	* libm/common/isgreater.c: New file for documenting math.h function-like
6743	macros isgreater(), isgreaterequal(), isless(), islessequal(),
6744	islessgreater(), and isunordered().
6745	* libm/common/s_isnan.c: Add documentation for function-like macros
6746	fpclassify(), isfinite(), isinf(), isnan(), and isnormal().
6747	* libm/common/s_nearbyint.c: Add nearbyint() and nearbyintf()
6748	documentation.
6749	* libm/common/Makefile.am: Add s_llround.c (src); sf_llround.c (fsrc);
6750	s_fdim.def, s_fma.def, s_fmax.def, s_fmin.def,
6751	s_logb.def, s_lrint.def, s_lround.def, s_nearbyint.def, s_remquo.def,
6752	s_rint.def, s_round.def, s_signbit.def, s_trunc.def, and
6753	isgreater.def (chobj);
6754	re-name all existing chew files (chobj) to match source file base
6755	names (put in underscores), delete all special targets for chew files
6756	(leaving all to be generated by rule).
6757	* libm/common/Makefile.in: regenerate.
6758	* libm/math/w_exp2.c: Add "base 2" to documentation description (and
6759	delete TRAD_SYNOPSIS).
6760	* libm/math/w_gamma.c: Add tgamma() and tgammaf() documentation, along
6761	with some history behind the function names.
6762	* libm/math/math.tex: Add includes for newly-added documentation (see
6763	.def additions to common/Makefile.am and math/Makefile.am in this
6764	ChangeLog list), adjusted existing .def file names to match source file
6765	base names (added underscores); add mention of HUGE_VALF; rename
6766	"Version of library" section to "Error Handling" and add some text
6767	about floating-point exception; added section "Standards Compliance And
6768	Portability".
6769	* libm/math/Makefile.am: Add w_exp2.def (chobj);
6770	re-name all existing chew files (chobj) to match source file base
6771	names, delete all special targets for chew files (leaving all to be
6772	generated by rule).
6773	* libm/math/Makefile.in: regenerated
6774	* doc/makedoc.c: Change silent ignoring of commands < 5 characters
6775	to a failure when reading macro file for commands < 4 characters;
6776	add -v (verbose) option for printing some debugging information;
6777	get rid of spurious translation of "@*" to "*" (no source files used @*,
6778	so no existing doc pages were affected); clean up some compiler
6779	warnings.
6780	* doc/doc.str: add BUGS and SEEALSO sections (to match texi2pod.pl
6781	which has them); Remove ITEM command (redundant with makedoc built-in
6782	"o", not used in any present source file so nothing is lost, anyway).
6783	* HOWTO: New file to hold information for maintainers regarding how
6784	to do things.  Initial sections on documentation and ELIX levels.
6785
67862009-03-25  Richard Earnshaw  <rearnsha@arm.com>
6787
6788	* libc/machine/arm/strcmp.c (strcmp_unaligned): Correctly
6789	detect the nul-byte in a big-endian string.
6790
67912009-03-25  Jeff Johnston  <jjohnstn@redhat.com>
6792
6793	* libc/string/wcsdup.c: Fix documentation error.
6794	* libc/string/Makefile.am: Fix CHEWOUT files to contain
6795	wcsdup.def rather than wcsdup.
6796	* libc/string/Makefile.in: Regenerated.
6797
67982009-03-25  Corinna Vinschen  <corinna@vinschen.de>
6799
6800	* libc/locale/locale.c (loadlocale): Only change __wctomb and __mbtowc
6801	pointers if category is LC_CTYPE.
6802
68032009-03-25  Corinna Vinschen  <corinna@vinschen.de>
6804
6805	* libc/locale/locale.c (loadlocale): Rename charset "GBK" to
6806	"GB2312".  Fix documentation accordingly.
6807
68082009-03-24  Corinna Vinschen  <corinna@vinschen.de>
6809
6810	* libc/locale/locale.c (loadlocale): Rename charset "CP949" to
6811	"eucKR".  Fix documentation accordingly.
6812
68132009-03-24  Corinna Vinschen  <corinna@vinschen.de>
6814
6815	* libc/locale/locale.c (loadlocale): Allow charset starting with 'e'
6816	for "eucJP" charset support.
6817
68182009-03-24  Jeff Johnston  <jjohnstn@redhat.com>
6819
6820	* libc/include/sys/errno.h: Move EFTYPE to general usage because
6821	it is used in libc/search.
6822
68232009-03-24  Corinna Vinschen  <corinna@vinschen.de>
6824
6825	* libc/ctype/iswalpha.c: Handle all wchar_t as unicode on
6826	_MB_CAPABLE systems.
6827	* libc/ctype/iswblank.c: Ditto.
6828	* libc/ctype/iswcntrl.c: Ditto.
6829	* libc/ctype/iswprint.c: Ditto.
6830	* libc/ctype/iswpunct.c: Ditto.
6831	* libc/ctype/iswspace.c: Ditto.
6832	* libc/ctype/jp2uc.c (__jp2uc): On Cygwin, just return c.
6833	Explain why.
6834	* libc/ctype/towlower.c: Ditto.
6835	* libc/ctype/towupper.c: Ditto.
6836	* libc/include/sys/config.h: Define _MB_EXTENDED_CHARSETS_ISO
6837	and _MB_EXTENDED_CHARSETS_WINDOWS if _MB_EXTENDED_CHARSETS_ALL is
6838	defined.  Define _MB_EXTENDED_CHARSETS_ALL on Cygwin only for now.
6839	* libc/include/sys/reent.h (struct _reent): Mark _current_category
6840	and _current_locale as unused.
6841	* libc/locale/locale.c: Add new charset support to documentation.
6842	Include ../stdio/local.h from here.
6843	(lc_ctype_charset): Set to "ASCII" by default.
6844	(lc_message_charset): Ditto.
6845	(_setlocale_r): Don't set _current_category and _current_locale.
6846	(loadlocale): Add Cygwin codepage support.  On _MB_CAPABLE
6847	systems, set __mbtowc and __wctomb function pointers to function
6848	corresponding with current charset.  Don't allow non-existant
6849	ISO-8859-12 charset.  Add support for Windows singlebyte codepages.
6850	On Cygwin, add support for GBK, CP949, and BIG5.  On Cygwin,
6851	call __set_ctype() in case the catorgy is LC_CTYPE.  Don't set
6852	_current_category and _current_locale.
6853	* libc/stdlib/Makefile.am (GENERAL_SOURCES): Add sb_charsets.c.
6854	* libc/stdlib/Makefile.in: Regenerate.
6855	* libc/stdlib/local.h: Add prototype for __locale_charset.
6856	Add prototypes for __mbtowc and __wctomb pointers.
6857	Add prototypes for charset-specific _wctomb_r and _mbtowc_r
6858	functions.
6859	Declare tables and functions from sb_charsets.c.
6860	* libc/stdlib/mbtowc_r.c (__mbtowc): Define.  Set to __ascii_mbtowc
6861	by default.
6862	(_mbtowc_r): Just call __mbtowc from here.
6863	(__ascii_mbtowc): New function.
6864	(__iso_mbtowc): New function.
6865	(__cp_mbtowc): New function.
6866	(__utf8_mbtowc): New function.
6867	(__sjis_mbtowc): New function.  Disable on Cygwin.
6868	(__eucjp_mbtowc): New function.  Disable on Cygwin.
6869	(__jis_mbtowc): New function.  Disable on Cygwin.
6870	* libc/stdlib/sb_charsets.c: New file, adding singlebyte to UTF
6871	conversion tables for all ISO and CP charsets.
6872	(__iso_8859_index): New function.
6873	(__cp_index): New function.
6874	* libc/stdlib/wctomb_r.c (__wctomb): Define.  Set to __ascii_wctomb
6875	by default.
6876	(_wctomb_r): Just call __wctomb from here.
6877	(__ascii_wctomb): New function.
6878	(__utf8_wctomb): New function.
6879	(__sjis_wctomb): New function.  Disable on Cygwin.
6880	(__eucjp_wctomb): New function.  Disable on Cygwin.
6881	(__jis_wctomb): New function.  Disable on Cygwin.
6882	(__iso_wctomb): New function.
6883	(__cp_wctomb): New function.
6884
68852009-03-23  Richard Earnshaw  <rearnsha@arm.com>
6886
6887	* libc/machine/arm/strcmp.c (strcmp): Treat char as unsigned.
6888
68892009-03-23  Corinna Vinschen  <corinna@vinschen.de>
6890
6891	* libc/locale/locale.c (loadlocale): Fix typo in language and
6892	territory evaluation.
6893
68942009-03-20  Jeff Johnston  <jjohnstn@redhat.com>
6895
6896	* libc/include/sys/errno.h: Protect various non-standard errnos
6897	with either __LINUX_ERRNO_EXTENSIONS__ or __CYGWIN__.
6898	* libc/include/sys/config.h[__CYGWIN__]: Define
6899	__LINUX_ERRNO_EXTENSIONS__.
6900
69012009-03-19  Corinna Vinschen  <corinna@vinschen.de>
6902
6903	* libc/stdlib/mbtowc_r.c (_mbtowc_r): Return EILSEQ in case of an
6904	invalid character sequence.
6905
6906	* libc/stdlib/mbtowc_r.c (_mbtowc_r): Fix compiler warning due to
6907	missing declaration of __locale_charset.
6908	* libc/stdlib/wctomb_r.c (_wctomb_r): Ditto.
6909
69102009-03-18  Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
6911
6912	* libm/common/s_log2.c: New file.
6913	* libm/common/sf_log2.c: Ditto.
6914	* libm/common/Makefile.am: Add s_log2.c and sf_log2.c.
6915	* libm/common/Makefile.in: Regenerated.
6916	* libc/include/math.h: Add log2 and log2f function prototypes.
6917
69182009-03-17  Corinna Vinschen  <corinna@vinschen.de>
6919
6920	* libc/stdlib/mbstowcs_r.c (_mbstowcs_r): Handle NULL destination
6921	string correctly.
6922
69232009-03-16  Mark Mitchell  <mark@codesourcery.com>
6924
6925	* libc/machine/arm/strlen.c (strlen): Fix defect in Thumb-2 mode.
6926
69272009-03-16  Richard Earnshaw  <rearnsha@arm.com>
6928
6929	* libc/machine/arm/strlen.c (strlen): Correctly detect
6930	end-of-string.
6931	* libc/machine/arm/strcpy.c (strcpy): Likewise.
6932	* libc/machine/arm/strcmp.c (strcmp, strcmp_unaligned): Likewise.
6933
69342009-03-15  Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
6935
6936	* libc/include/sys/errno.h (ESTRPIPE): Define.
6937	* libc/string/strerror.c (strerror): Decode it.
6938
69392009-03-15  Corinna Vinschen  <corinna@vinschen.de>
6940
6941	* libc/include/wchar.h (wcsdup, _wcsdup_r): Declare.
6942	* libc/string/Makefile.am: Add wcsdup.c.
6943	* libc/string/Makefile.in: Regenerate.
6944	* libc/string/strings.tex: Add wcsdup documentation reference.
6945	* libc/string/wcsdup.c: New file.
6946
69472009-03-14  Corinna Vinschen  <corinna@vinschen.de>
6948
6949	* libc/include/stdlib.h (_mkstemp_r, _mktemp_r): Move out of
6950	!_REENT_ONLY section.
6951
69522009-03-14  Corinna Vinschen  <corinna@vinschen.de>
6953
6954	* libc/include/stdio.h (_mkstemp_r, _mktemp_r): Move declarations
6955	to stdlib.h.
6956	* libc/include/stdlib.h (mktemp, _mktemp_r): Warn when using.
6957	* libc/stdio/mktemp.c: Explain the security risk when using
6958	mktemp.
6959
69602009-03-12  Craig Howland <howland@LGSInnovations.com>
6961
6962	* libc/time/time.tex (wcsftime.def):  Include.
6963	* libc/time/wcsftime.c:  Clean up documentation a little.
6964
69652009-03-12  Craig Howland <howland@LGSInnovations.com>
6966
6967	* libc/stdio/swscanf.c:  Some documentation corrections.
6968
69692009-03-12  Craig Howland <howland@LGSInnovations.com>
6970
6971	* libc/stdio/swprintf.c (_swprintf_r, swprintf):
6972	correct how terminating L'\0' is added;
6973	change return to match standard for when output does not fit;
6974	some corrections and enhancements to the docs.
6975	* libc/stdio/vswprintf.c (_vswprintf_r):  ditto, except for docs.
6976	* libc/stdio/vfwprintf.c:  some corrections to the docs and some
6977	enhancements to comments.  (No code changes.)
6978	* libc/time/strftime.c:  Correct some problems that made wcsftime()
6979	not work correctly:  work properly with swprintf returns that are
6980	different from snprintf returns, correct test vector lengths for
6981	when sizeof(wchar_t) > 1.
6982	* libc/stdio/sprintf.c:  Some documentation and comment corrections and
6983	enhancements to match those done to swprintf.c.
6984
69852009-03-11  Corinna Vinschen  <corinna@vinschen.de>
6986
6987	* libc/include/wchar.h (wcscasecmp, wcsncasecmp): Declare.
6988	* libc/string/Makefile.am: Add wcscasecmp.c, wcsncasecmp.c
6989	* libc/stdio/Makefile.in: Regenerate.
6990	* libc/string/strings.tex: Add new documentation references.
6991	* libc/string/wcscasecmp.c: New file.
6992	* libc/string/wcsncasecmp.c: New file.
6993
69942009-03-11  Corinna Vinschen  <corinna@vinschen.de>
6995
6996	* libc/include/wchar.h (fwscanf, swscanf, vfwscanf, vswscanf, vwscanf,
6997	wscanf): Declare.
6998	(_fwscanf_r, _swscanf_r, _vfwscanf_r, _vswscanf_r, _vwscanf_r,
6999	_wscanf_r): Declare.
7000	* libc/stdio/Makefile.am: Add new wscanf files.
7001	* libc/stdio/Makefile.in: Regenerate.
7002	* libc/stdio/fwscanf.c: New file.
7003	* libc/stdio/local.h (__svfwscanf_r, __ssvfwscanf_r, __svfiwscanf_r,
7004	__ssvfiwscanf_r): Declare.
7005	* libc/stdio/stdio.tex: Add new documentation references.
7006	* libc/stdio/swscanf.c: New file.
7007	* libc/stdio/vfwscanf.c: New file.
7008	* libc/stdio/vswscanf.c: New file.
7009	* libc/stdio/vwscanf.c: New file.
7010	* libc/stdio/wscanf.c: New file.
7011
7012	* libc/stdio/vfscanf.c (_sungetc_r): Make externaly available.  Only
7013	define if INTEGER_ONLY is defined.  Declare otherwise.
7014	(__ssrefill_r): Ditto.
7015	(_sfread_r): Ditto.
7016
7017	Remove static eofread/eofread1 functions and use __seofread
7018	function instead, throughout.
7019	* libc/stdio/local.h (__seofread): Declare.
7020	* libc/stdio/stdio.c (__seofread): Define.
7021
7022	* libc/stdio/fgetwc.c (__fgetwc): Fix compiler warning.
7023	* libc/stdio/fgetws.c (_fgetws_r): Ditto.
7024	* libc/stdio/fread.c (_fread_r): Ditto.
7025	* libc/stdio/vfprintf.c: Ditto.
7026	* libc/stdio/vswprintf.c: Ditto.
7027
70282009-03-09  Brooks Moses  <brooks@codesourcery.com>
7029
7030	* libc/machine/arm/arm_asm.h: Fix typo.
7031
70322009-03-09  Craig Howland <howland@LGSInnovations.com>
7033
7034	* libc/time/strftime.c:  Adapt for dual-purpose use so not only
7035	defines strftime(), but can also define wcsftime(); add optional
7036	test package; speed up %Y handling.
7037	* libc/time/wcsftime.c:  New file, defining wcsftime() (albeit
7038	indirectly by including strftime.c) and its documentation.
7039	* libc/time/time.tex:  Enhance tm_isdst explanation, change strftime
7040	description to match modified description in strftime.c
7041	* libc/time/Makefile.am:  Add wcsftime.c and wcsftime.def.  Add a rule
7042	so that wcsftime.o gets rebuilt when strftime changes.
7043	* libc/time/Makefile.in:  Regenerate.
7044	* libc/include/wchar.h (wcsftime): Declare.
7045
70462009-03-06  Hans-Erik Floryd <hans-erik.floryd@rt-labs.com>,
7047	    Corinna Vinschen  <corinna@vinschen.de>
7048
7049	* libc/reent/reent.c (_reclaim_reent): Make a block from MP-related
7050	statements in _REENT_SMALL case.  Check if _atexit is not NULL before
7051	dereferencing it.
7052	(_wrapup_reent): Check if _atexit is not NULL before dereferencing it.
7053
70542009-03-06  Corinna Vinschen  <corinna@vinschen.de>
7055
7056	* libc/include/stdio.h (__VALIST): Guard against multiple definition.
7057	* libc/include/wchar.h: Include stdarg.h.
7058	(__VALIST): Define conditionally.
7059	(fwprintf, swprintf, vfwprintf, vswprintf, vwprintf, wprintf): Declare.
7060	(_fwprintf_r, _swprintf_r, _vfwprintf_r, _vswprintf_r, _vwprintf_r,
7061	 _wprintf_r): Declare.
7062	* libc/stdio/Makefile.am: Add new files.
7063	* libc/stdio/Makefile.in: Regenerate.
7064	* libc/stdio/fwprintf.c: New file.
7065	* libc/stdio/local.h (_svfwprintf_r, _svfiwprintf_r): Declare.
7066	(__CH_CLASS, __STATE, __ACTION): Move definition from vfprintf.c here
7067	and move to the __ namespace.
7068	(__chclass, __state_table, __action_table): Declare.
7069	* libc/stdio/stdio.tex: Add new documentation references.
7070	* libc/stdio/swprintf.c: New file.
7071	* libc/stdio/vfprintf.c (__SPRINT): New macro to call the right
7072	__sprint_r function according to compilation unit.  Use throughout.
7073	(__ssprint_r): Rename STRING_ONLY variant from __sprint_r.
7074	Make externaly available.  Only define if INTEGER_ONLY is defined.
7075	(__sprint_r): Make externaly available.  Only define if INTEGER_ONLY
7076	is defined.  Handle stream orientation.
7077	(__sbprintf): Copy FILE's _flags2 member as well.
7078	(__chclass, __state_table, __action_table): Prepend __ to name and
7079	make externally available.
7080	* libc/stdio/vfwprintf.c: New file.
7081	* libc/stdio/vswprintf.c: New file.
7082	* libc/stdio/vwprintf.c: New file.
7083	* libc/stdio/wprintf.c: New file.
7084
70852009-03-03  Corinna Vinschen  <corinna@vinschen.de>
7086
7087	* libc/locale/locale.c (_setlocale_r): New implementation based on
7088	FreeBSD's setlocale.
7089	(currentlocale): New helper function.
7090	(loadlocale): Ditto.
7091	(__locale_charset): New function.
7092	(__locale_msgcharset): Rename from __locale_charset.
7093	* libc/ctype/local.h (__lc_ctype): Remove declaration.
7094	(__locale_charset): Declare.
7095	* libc/ctype/iswalpha.c (iswalpha): Call __locale_charset instead of
7096	using __lc_ctype directly.  Only compare against the charset alone.
7097	* libc/ctype/iswblank.c (iswblank): Ditto.
7098	* libc/ctype/iswcntrl.c (iswcntrl): Ditto.
7099	* libc/ctype/iswprint.c (iswprint): Ditto.
7100	* libc/ctype/iswpunct.c (iswpunct): Ditto.
7101	* libc/ctype/iswspace.c (iswspace): Ditto.
7102	* libc/ctype/towlower.c (towlower): Ditto.
7103	* libc/ctype/towupper.c (towupper): Ditto.
7104	* libc/stdlib/mbtowc_r.c (_mbtowc_r): Ditto.
7105	* libc/stdlib/wctomb_r.c (_wctomb_r): Ditto.
7106	* libc/sys/linux/intl/loadmsgcat.c (_nl_init_domain_conv): Call
7107	__locale_msgcharset instead of __locale_charset.
7108
71092009-03-02  Jeff Johnston  <jjohnstn@redhat.com>
7110
7111	* libc/stdlib/wctomb_r.c (_wctomb_r): When checking single-byte
7112	charset, cast wchar to size_t in case wchar_t is signed.
7113	* libc/stdlib/wctomb.c (wctomb): Add similar single-byte check.
7114
71152009-03-02  Corinna Vinschen  <corinna@vinschen.de>
7116
7117	* libc/stdlib/wctomb_r.c (_wctomb_r): Return EILSEQ in case of an
7118	invalid wchar.  Return -1 if wchar doesn't fit into singlebyte
7119	value in case of using a singlebyte charset.
7120
71212009-02-26  Brooks Moses  <brooks@codesourcery.com>
7122
7123	* libc/machine/arm/strcpy.c: Add missing comma.
7124
71252009-02-26  Ralf Corsepius  <ralf.corsepius@rtems.org>
7126
7127	* libc/machine/lm32/configure.in: Let
7128	AC_CONFIG_SRCDIR point to setjmp.S instead of setjmp.s
7129	* libs/machine/lm32/configure: Regenerate.
7130
71312009-02-25  Brooks Moses  <brooks@codesourcery.com>
7132
7133	* libc/stdlib/Makefile.am (CHEWOUT_FILES): Add
7134	  mbsnrtowcs.def, wcsnrtombs.def.
7135	* libc/stdlib/Makefile.in: Regenerate.
7136	* libc/stdlib/stdlib.tex (@menu): Use correct section
7137	  names for mbsrtowcs, wcsrtombs.
7138	* libc/stdlib/wcstod.c: Remove stray character in
7139	  documentation.
7140
71412009-02-25  Corinna Vinschen  <corinna@vinschen.de>
7142
7143	* libc/stdlib/mbtowc_r.c (_mbtowc_r): Remove conversion of 5 and 6
7144	byte UTF-8 sequences since they are invalid in the Unicode standard.
7145	Handle surrogate pairs in case of wchar_t == UTF-16.
7146	* libc/stdlib/wctomb_r.c (_wctomb_r): Don't convert invalid Unicode
7147	wchar_t values beyond 0x10ffff into UTF-8 chars.  Handle surrogate
7148	pairs in case of wchar_t == UTF-16.
7149
71502009-02-24  Kevin Buettner  <kevinb@redhat.com>
7151
7152	* libc/stdio/open_memstream.c (stdint.h): Include.
7153
71542009-02-23  Craig Howland  <howland@LGSInnovations.com>
7155
7156	* libc/unix/ttyname.c:  Remove ttyname_r() (to a new file to avoid
7157	coupling ttyname_r() and ttyname() due to the latter's large buffer).
7158	* libc/unix/ttyname_r.c:  New file to hold ttyname_r(), previously in
7159	ttyname.c.
7160	* libc/unix/ttyname.h:  New file (common size definition for the 2
7161	ttyname*c files that are now split).
7162	* libc/unix/Makefile.am (ELIX_2_SOURCES):  Add ttyname_r.c.
7163	* libc/unix/Makefile.in:  Regenerate.
7164
71652009-02-19  Corinna Vinschen  <corinna@vinschen.de>
7166
7167	* libc/include/wchar.h (mbsnrtowcs): Declare.
7168	(_mbsnrtowcs_r): Declare.
7169	(wcsnrtombs): Declare.
7170	(_wcsnrtombs_r): Declare.
7171	* libc/stdlib/Makefile.am (ELIX_2_SOURCES): Add mbsnrtowcs.c
7172	and wcsnrtombs.c.
7173	* libc/stdlib/Makefile.in: Regenerate.
7174	* libc/stdlib/mbsnrtowcs.c: New file, implementing _mbsnrtowcs_r
7175	and mbsnrtowcs.  Document mbsnrtowcs and mbsrtowcs.
7176	* libc/stdlib/mbsrtowcs.c (_mbsrtowcs_r): Just call _mbsnrtowcs_r.
7177	(mbsrtowcs): Ditto.
7178	* libc/stdlib/wcsnrtombs.c: New file, implementing _wcsnrtombs_r
7179	and wcsnrtombs.  Document wcsrtombs and wcsnrtombs.
7180	* libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Just call _wcsnrtombs_r.
7181	(wcsrtombs): Ditto.
7182	* libc/stdlib/stdlib.tex: Accommodate new documentation.
7183
71842009-02-18  Jeff Johnston  <jjohnstn@redhat.com>
7185
7186	* libc/stdio/open_memstream.c (internal_open_memstream_r): Fix max
7187	buffer size to be in wchar_t units if wide == 1 is passed in.  In
7188	this case, also initialize the first character of the buffer to be
7189	wide char null.
7190	(_open_wmemstream_r): Cast buf to be (char **) to avoid warning.
7191	* libc/stdlib/mbtowc_r.c (_mbtowc_r): Change all occurences of
7192	incrementing the size_t value n to first check that n is not already
7193	size_t -1.  Fix some compiler warnings.
7194	* libc/stdlib/wcstod.c: Add includes for <wctype.h> and <math.h>.
7195
71962009-02-18  Corinna Vinschen  <corinna@vinschen.de>
7197
7198	* libc/stdio/open_memstream.c: Add open_wmemstream to doumentation.
7199	(struct memstream): Add wide element.
7200	Change saved to a union to take char and wchar_t values.
7201	(memwriter): Accommodate wide-oriented oeprations.
7202	(memseeker): Ditto.
7203	(memseeker64): Ditto.
7204	(memcloser): Ditto.
7205	(internal_open_memstream_r): New static function.  Take functionality
7206	from former _open_memstream_r and handle additional "wide" parameter.
7207	(_open_memstream_r): Just call internal_open_memstream_r with wide==-1
7208	from here.
7209	(_open_wmemstream_r): New function.
7210	(open_wmemstream): Ditto.
7211	* libc/include/wchar.h (open_wmemstream): Declare.
7212	(_open_wmemstream_r): Declare.
7213
72142009-02-16  Corinna Vinschen  <corinna@vinschen.de>
7215
7216	* libc/stdio/fputwc.c: Fix typo in man page info.
7217
72182009-02-12  Corinna Vinschen  <corinna@vinschen.de>
7219
7220	* libc/include/wchar.h (_wcstod_r): Declare.
7221	(_wcstof_r): Declare.
7222	(wcstod): Declare.
7223	(wcstof): Declare.
7224	* libc/stdlib/Makefile.am (GENERAL_SOURCES): Add wcstod.c.
7225	(CHEWOUT_FILES): Add wcstod.def.
7226	* libc/stdlib/Makefile.in: Regenerate.
7227	* libc/stdlib/stdlib.tex: Add wcstod.
7228	* libc/stdlib/wcstod.c: New file.
7229
72302009-02-05  Neal H. Walfield  <neal@gnu.org>
7231
7232	* libc/machine/x86_64/memcpy.S (memcpy): Don't use the red zone.
7233
72342009-01-28  Jeff Johnston  <jjohnstn@redhat.com>
7235
7236	* libc/stdio/vfscanf.c (__SVFSCANF_R): Add additional check for
7237	inf and nan processing to not proceed if we have already collected
7238	zeroes.
7239
72402009-01-26  DJ Delorie  <dj@redhat.com>
7241
7242	* configure.host (m32c-*-*): Add long long I/O support by default.
7243
72442009-01-21  Richard Earnshaw  <rearnsha@arm.com>
7245
7246	* libc/machine/arm/arm_asm.h: New file.
7247	* libc/machine/arm/strlen.c: New file.
7248	* libc/machine/arm/strcpy.c: New file.
7249	* libc/machine/arm/strcmp.c: New file.
7250	* libc/machine/arm/Makefile.am: Add new string routines.
7251
72522009-01-19  Neal H. Walfield  <neal@gnu.org>
7253
7254	* libc/include/stdint.h (INT64_C, UINT64_C, INTMAX_C, UINTMAX_C)
7255	[__have_long64 && __have_longlong64]: Use L and UL, not LL and ULL.
7256	* libc/include/inttypes.h (__PRI64, __SCN64, __PRIMAX, __SCNMAX,
7257	__PRIPTR, __SCNPTR) [__have_long64 && __have_longlong64]: Use l,
7258	not ll.
7259
72602009-01-12  Nathan Froyd  <froydnj@codesourcery.com>
7261
7262	* libc/machine/powerpc/vfscanf.c (__sccl): Remove declaration.
7263
72642009-01-12  Jeff Johnston  <jjohnstn@redhat.com>
7265
7266	* libc/stdio/fwalk.c (__fwalk, __fwalk_reent): Remove locking of
7267	each fp.  Let the function being called lock the fp, if necessary.
7268
72692009-01-07  Kazu Hirata  <kazu@codesourcery.com>
7270
7271	* libc/include/sys/stdio.h (_flockfile, _funlockfile): Fix typos.
7272
72732009-01-05  Craig Howland <howland@LGSInnovations.com>
7274
7275	* libc/stdio/fwide.c:  Correct typo in TRAD_SYNOPSIS for _fwide_r.
7276
72772008-12-19  Jeff Johnston  <jjohnstn@redhat.com>
7278
7279	* NEWS: Update with 1.17.0 info.
7280	* README: Ditto.
7281	* acinclude.m4: Change version number to 1.17.0.
7282	* aclocal.m4: Regenerated.
7283	* configure: Ditto.
7284	* doc/aclocal.m4: Ditto.
7285	* doc/configure: Ditto.
7286	* libc/*/aclocal.m4: Ditto.
7287	* libc/*/configure: Ditto.
7288	* libc/libc.texinfo: Ditto.
7289	* libm/*/aclocal.m4: Ditto.
7290	* libm/*/configure: Ditto.
7291	* libm/libm.texinfo: Ditto.
7292	* libc/sys/linux/shared.ld: Add VERS_1.17
7293
72942008-12-17  Jon Beniston <jon@beniston.com>
7295
7296	* configure.host: Set syscall_dir for lm32 target.
7297
72982008-12-15  Jeff Johnston  <jjohnstn@redhat.com>
7299
7300	* libc/stdio/stdio.tex: Remove putwc and getwc references as they
7301	are included as part of fputwc and fgetwc, respectively.
7302
73032008-12-12  Craig Howland <howland@LGSInnovations.com>
7304
7305	* libc/include/wchar.h:  Added wcstok() declaration.
7306	* libc/string/wcstok.c: New file, implementing wcstok.
7307	* libc/string/Makefile.am: Add wcstok support.
7308	* libc/string/wcstrings.tex: Ditto.
7309	* libc/string/Makefile.in: Regenerated.
7310
73112008-12-12  Ralf Corsepius  <ralf.corsepius@rtems.org>
7312
7313	* libc/stdio/fputws.c: Fix documentation.
7314	* libc/stdio/getwchar.c: Ditto.
7315	* libc/stdio/putwchar.c: Ditto.
7316
73172008-12-12  Ralf Corsepius  <ralf.corsepius@rtems.org>
7318
7319	* libc/include/sys/features.h: Set RTEMS's _POSIX_MONOTONIC_CLOCK to
7320	200112L (SUSv3 compliance).
7321	Comment out RTEMS's _POSIX_SHARED_MEMORY_OBJECTS (Unsupported).
7322
73232008-12-12  Ralf Corsepius  <ralf.corsepius@rtems.org>
7324
7325	* libc/sys/rtems/crt0.c: Add stubs for getdents(), nanosleep(),
7326	_execve(), _exit().
7327
73282008-12-12  Ralf Corsepius  <ralf.corsepius@rtems.org>
7329
7330	* configure.host: Let *rtems* default to c99-formats.
7331
73322008-12-12  Craig Howland  <howland@LGSInnovations.com>
7333
7334	* libc/stdio/freopen.c:  Add <string.h> for memset prototype.
7335	* libc/stdio/fseek.c:  Ditto.
7336	* libc/stdio/fwide.c:  Add <wchar.h> for fwide prototype.
7337
73382008-12-11 Jeff Johnston  <jjohnstn@redhat.com>
7339
7340	* libc/include/sys/time.h (gettimeofday): Change prototype so
7341	2nd parameter is void *, matching SUSV2.
7342	* libc/syscalls/sysgettod.c (gettimeofday): Ditto.
7343
73442008-12-11 Jukka Pietarinen <jukka.pietarinen@mrf.fi>
7345
7346	* configure.host: Add lm32
7347	* libc/include/machine/ieeefp.h: Add __lm32__
7348	* libc/include/machine/setjmp.h: Add __lm32__
7349	* libc/machine/configure.in: Add lm32
7350	* libc/machine/configure: Regenerated.
7351	* libc/machine/lm32/aclocal.m4: New file.
7352	* libc/machine/lm32/configure.in: Ditto.
7353	* libc/machine/lm32/configure: Ditto.
7354	* libc/machine/lm32/Makefile.am: Ditto.
7355	* libc/machine/lm32/Makefile.in: Ditto.
7356	* libc/machine/lm32/setjmp.s: Ditto.
7357
73582008-12-11  Craig Howland  <howland@LGSInnovations.com>
7359
7360	* libc/include/sys/lock.h:  Add void cast to avoid "statement has no
7361	effect" warnings from gcc.
7362	* libc/include/sys/stdio.h:  Ditto.
7363	* libc/include/sys/time.h:  Correct gettimeofday() prototype.
7364	* libc/stdlib/__exp10.c:  Add #include "std.h" for function prototype.
7365	* libc/stdlib/__ten_mu.c:  Ditto.
7366	* libc/stdlib/std.h:  Correct __exp10's ANSI prototype.
7367	* libc/stdlib/ldtoa.c:  Change eiisinf definition to ANSI form.  (Are
7368	already others in file without _ansi method, so did not bother.)
7369	* libc/stdlib/system.c:  Use _ansi forms for function prototypes and
7370	definitions.
7371	* libc/time/mktime.c:  Ditto.
7372	* libc/misc/__dprintf.c:  Ditto.
7373	* libc/include/stdio.h:  Add function prototypes for _fgetc_r,
7374	_fgetpos_r, _fsetpos_r, _freopen_r, _rewind_r, freopen64, _freopen64_r,
7375	_funopen_r, and _fopencookie_r.
7376	* libc/include/reent.h:  Add function prototype for _stat64_r, align
7377	_execve_r prototype with POSIX definition for execve.
7378	* libc/reent/execr.c:  Align function prototype with POSIX definition.
7379	* libc/stdio/asniprintf.c:  Add #include "local.h".
7380	* libc/stdio/vasniprintf.c:  Ditto.
7381	* libc/stdio/fread.c:  Remove unused variable newcount.
7382	* libc/stdio/local.h:  Add function prototype for __sccl.
7383	* libc/stdio/open_memstream.c:  Remove unused variable flags.
7384	* libc/stdio/vfscanf.c:  Proper prototyping for ccfn, remove prototype
7385	for __sccl since now in local.h.
7386	* libc/string/memcpy.c:  Add #include <string.h> (for real and for
7387	traditional synopsis), remove extraneous stddef.h and limits.h.
7388	* libc/syscalls/sysclose.c:  Add #include <unistd.h>.
7389	* libc/syscalls/sysfork.c:  Ditto.
7390	* libc/syscalls/sysgetpid.c:  Ditto.
7391	* libc/syscalls/sysexecve.c:  Add #include <unistd.h>, align function
7392	prototype with POSIX definition.
7393	* libc/syscalls/sysfstat.c:  Add #include <sys/stat.h>.
7394	* libc/syscalls/sysgettod.c:  Correct sys/times.h to sys/time.h.
7395	* libc/syscalls/syskill.c:  Add #include <signal.h>.
7396	* libc/syscalls/syslink.c:  Add #include <unistd.h>, fix prototype.
7397	* libc/syscalls/sysunlink.c:  Ditto.
7398	* libc/syscalls/sysstat.c:  Add #include <sys/stat.h>, fix prototype.
7399	* libc/syscalls/syswait.c:  Add #include <sys/wait.h>, fix prototype.
7400
74012008-12-10  Corinna Vinschen  <corinna@vinschen.de>
7402
7403	Implement basic wide char stdio functionality, based on FreeBSD.
7404	* libc/include/stdio.h (__SORD): Define.
7405	(__SWID): Define.
7406	* libc/include/wchar.h: Add declarations for new wide char functions.
7407	(getwc): Define as macro.
7408	(getwchar): Ditto.
7409	(putwc): Ditto.
7410	(putwchar): Ditto.
7411	* libc/include/sys/reent.h (struct __sFILE): Add _mbstate member.
7412	(struct __sFILE64): Ditto.
7413	* libc/stdio/Makefile.am (ELIX_4_SOURCES): Add fgetwc.c, fgetws.c,
7414	fputwc.c, fputws.c, fwide.c, getwc.c, getwchar.c, putwc.c, putwchar.c
7415	and ungetwc.c.
7416	(CHEWOUT_FILES): Add fgetwc.def, fgetws.def, fputwc.def, fputws.def,
7417	fwide.def, getwc.def, getwchar.def, putwc.def, putwchar.def and
7418	ungetwc.def.
7419	Add header dependency rules for the new files.
7420	* libc/stdio/Makefile.in: Regenerate.
7421	* libc/stdio/fgetwc.c: New file, implementing fgetwc and _fgetwc_r.
7422	* libc/stdio/fgetws.c: New file, implementing fgetws and _fgetws_r.
7423	* libc/stdio/findfp.c (std): Initialize FILE's _mbstate member.
7424	(__sfmoreglue): Ditto.
7425	* libc/stdio/fputs.c (_fputs_r): Set stream orientation.
7426	* libc/stdio/fputwc.c: New file, implementing fputwc and _fputwc_r.
7427	* libc/stdio/fputws.c: New file, implementing fputws and _fputws_r.
7428	* libc/stdio/fread.c (_fread_r): Set stream orientation.
7429	* libc/stdio/freopen.c (_freopen_r): Reset stream orientation.  Reset
7430	_mbstate.
7431	* libc/stdio/fseek.c (_fseek_r): Reset _mbstate.
7432	* libc/stdio/fwide.c: New file, implementing fwide and _fwide_r.
7433	* libc/stdio/fwrite.c (_fwrite_r): Set stream orientation.
7434	* libc/stdio/getwc.c: New file, implementing getwc and _getwc_r.
7435	* libc/stdio/getwchar.c: New file, implementing getwchar and
7436	_getwchar_r.
7437	* libc/stdio/local.h (ORIENT): New macro.
7438	* libc/stdio/puts.c (_puts_r): Set stream orientation.
7439	* libc/stdio/putwc.c: New file, implementing putwc and _putwc_r.
7440	* libc/stdio/putwchar.c: New file, implementing putwchar and
7441	_putwchar_r.
7442	* libc/stdio/refill.c (__srefill_r): Set stream orientation.
7443	* libc/stdio/stdio.tex: Add documentation for new functions.
7444	* libc/stdio/ungetc.c (_ungetc_r): Set stream orientation.
7445	* libc/stdio/ungetwc.c: New file, implementing ungetwc and _ungetwc_r.
7446	* libc/stdio/vfscanf.c (__SVFSCANF_R): Set stream orientation.
7447	* libc/stdio/wbuf.c (__swbuf_r): Ditto.
7448
74492008-12-10  Joseph Myers  <joseph@codesourcery.com>
7450
7451	* libc/include/stdint.h (INT32_MIN, INT32_MAX, UINT32_MAX,
7452	INT_LEAST32_MIN, INT_LEAST32_MAX, UINT_LEAST32_MAX): Define to
7453	constants with "long" types where appropriate.
7454	(INT_FAST8_MIN, INT_FAST8_MAX, UINT_FAST8_MAX, INT_FAST16_MIN,
7455	INT_FAST16_MAX, UINT_FAST16_MAX, INT_FAST32_MIN, INT_FAST32_MAX,
7456	UINT_FAST32_MAX, INT_FAST64_MIN, INT_FAST64_MAX, UINT_FAST64_MAX):
7457	Correct to match logic for defining corresponding types.
7458	(INTMAX_MAX, INTMAX_MIN, UINTMAX_MAX): Define.
7459	(SIZE_MAX): Define using __SIZE_MAX__ if available.
7460	(PTRDIFF_MAX): Define using __PTRDIFF_MAX__ if available.
7461	(PTRDIFF_MIN): Define in terms of PTRDIFF_MAX.
7462	(WCHAR_MAX, WCHAR_MIN, WINT_MAX, WINT_MIN): Define.
7463	(UINT8_C, UINT16_C): Define to give signed values if corresponding
7464	types would promote to int.
7465
74662008-12-04  Corinna Vinschen  <corinna@vinschen.de>
7467
7468	* libc/include/sys/features.h (_POSIX_V6_ILP32_OFF32): Always define.
7469	(_POSIX_V6_LP64_OFF64): Ditto.
7470	(_POSIX_V6_LPBIG_OFFBIG): Ditto.
7471
74722008-11-28  Jeff Johnston  <jjohnstn@redhat.com>
7473
7474	* libc/sys/linux/inode.c: Include <dirent.h> instead of
7475	<linux/dirent.h>.
7476	* libc/sys/linux/io64.c: Add weak alias for _stat64.
7477
74782008-11-27  Ralf Corsepius <ralf.corsepius@rtems.org>
7479
7480	* libc/posix/telldir.c: Use #if !defined() instead of #ifndef
7481	to fix GCC warning.
7482
74832008-11-27  Ken Werner  <ken.werner@de.ibm.com>
7484
7485	* libc/machine/spu/Makefile.am: Add spu-mcount.S spu-gmon.c.
7486	* libc/machine/spu/Makefile.in: Regenerated.
7487	* libc/machine/spu/spu-gmon.c: New file.
7488	* libc/machine/spu/spu-mcount.S: New file.
7489
74902008-11-27  Joel Sherrill <joel.sherrill@oarcorp.com>
7491
7492	* configure.host (*-rtems*): Turn on using portion of unix subdirectory.
7493
74942008-11-27  Craig Howland <howland@LGSInnovations.com>
7495
7496	* libc/argz/argz_add.c:  Added #include <argz.h> to get function
7497	prototypes.
7498	* libc/argz/argz_append.c: Ditto.
7499	* libc/argz/argz_count.c: Ditto.
7500	* libc/argz/argz_create.c: Ditto.
7501	* libc/argz/argz_create_sep.c: Ditto.
7502	* libc/argz/argz_delete.c: Ditto.
7503	* libc/argz/argz_next.c: Ditto.
7504	* libc/argz/argz_stringify.c: Ditto
7505	* libc/stdlib/strtod.c: Added #include <stdlib.h> to get function
7506	prototypes.
7507	* libc/stdlib/wcstoul.c: Added #include <wchar.h> to get function
7508	prototypes, corrected traditional usage comment.
7509	* libc/include/wchar.h: Added _mbsrtowcs_r() prototype.
7510
75112008-11-26 Ken Werner <ken.werner@de.ibm.com>
7512
7513	* libm/machine/spu/headers/acosd2.h: Rebase against current simdmath.
7514	* libm/machine/spu/headers/asind2.h: Likewise.
7515	* libm/machine/spu/headers/asinhf4.h: Likewise.
7516	* libm/machine/spu/headers/divd2.h: Likewise.
7517	* libm/machine/spu/headers/erf_utils.h: Likewise.
7518	* libm/machine/spu/headers/erfcd2.h: Likewise.
7519	* libm/machine/spu/headers/erfcf4.h: Likewise.
7520	* libm/machine/spu/headers/erfd2.h: Likewise.
7521	* libm/machine/spu/headers/recipd2.h: Likewise.
7522
75232008-11-25  Corinna Vinschen  <corinna@vinschen.de>
7524
7525	* libc/stdio/gets.c (_gets_r): Lock stdin here and call
7526	__sgetc_r instead of _getchar_r.
7527
75282008-11-24  Craig Howland  <howland@LGSInnovations.com>
7529
7530	* libc/stdlib/wcstoull_r.c:  Add EINVAL return for bad base value,
7531	include wchar.h for prototype, remove extraneous includes, use
7532	C99/POSIX ULLONG_MAX (but allow for poor limits.h).
7533	* libc/stdlib/wcstoull.c:  Fix usage comments (mistakes and to add
7534	base value check noted above), remove extraneous includes.
7535	* libc/stdio/asnprintf.c:  Add #include "local.h" to get function
7536	prototype for _svfprintf_r().
7537	* libc/stdio/vasnprintf.c:  Ditto.
7538	* libc/stdio/local.h:  Add function prototype for __submore().
7539	* libc/include/stdio.h:  Add function prototypes for _fseeko_r and
7540	_ftello_r.
7541	* libc/posix/namespace.h:  Commented out define for write to
7542	eliminate write() prototype being missing for collate.c (which is
7543	the only file that presently includes namespace.h).
7544	* libc/include/reent.h:  Added _rename_r.
7545	* libc/reent/renamer.c:  Corrected function prototypes in synopses.
7546	* libc/locale/ldpart.c:  Use struct stat64 when calling fstat64.
7547
75482008-11-24  Jeff Johnston  <jjohnstn@redhat.com>
7549
7550	* libc/search/hash_func.c: Comment out unused static hash functions.
7551	* libc/reent/stat64r.c: New file.
7552	* libc/reent/Makefile.am: Add stat64r.c support.
7553	* libc/reent/Makefile.in: Regenerated.
7554
75552008-11-24  Joel Sherrill <joel.sherrill@oarcorp.com>
7556
7557	* libc/posix/scandir.c: Fix memory leaks.
7558
75592008-11-24  Joel Sherrill <joel.sherrill@oarcorp.com>
7560
7561	* libc/posix/Makefile.am: Compile readdir_r.c not readdir.c twice.
7562	* libc/posix/Makefile.in: Regenerated.
7563
75642008-11-24  Corinna Vinschen  <corinna@vinschen.de>
7565
7566	* libc/include/stdio.h (__SMOD): Remove definition of unused flag.
7567	* libc/include/sys/reent.h (struct __sFILE): Add _flags2 member.
7568	* libc/stdio/findfp.c (std): Initialize _flags2.
7569	(__sfp): Ditto.
7570	* libc/stdio/refill.c (__srefill_r): Drop resetting __SMOD flag.
7571	* libc/stdio/vfscanf.c (__ssrefill_r): Ditto.
7572	* libc/stdio/fseek.c (_fseek_r): Drop checking __SMOD flag.
7573	* libc/stdio64/fseeko64.c (_fseeko64_r): Ditto.
7574
75752008-11-20  Ken Werner  <ken.werner@de.ibm.com>
7576
7577	* libc/machine/spu/sys/linux_syscalls.h: Additional syscall defines to
7578	be in sync with current kernels.
7579
75802008-11-20  Ken Werner  <ken.werner@de.ibm.com>
7581	    Patrick Mansfield  <patmans@us.ibm.com>
7582	    Joel Schopp   <jschopp@austin.ibm.com>
7583
7584	* libc/machine/spu/configure.in: Add __ea detection.
7585	* libc/machine/spu/Makefile.am: Add new files.
7586	* libc/machine/spu/include/ea.h: New file.
7587	* libc/machine/spu/ea_internal.h: Likewise.
7588	* libc/machine/spu/sys/mman.h: Likewise.
7589	* libc/machine/spu/mmap_ea.c: Likewise.
7590	* libc/machine/spu/munmap_ea.c: Likewise.
7591	* libc/machine/spu/mremap_ea.c: Likewise.
7592	* libc/machine/spu/msync_ea.c: Likewise.
7593	* libc/machine/spu/memchr_ea.c: Likewise.
7594	* libc/machine/spu/memcmp_ea.c: Likewise.
7595	* libc/machine/spu/memcpy_ea.c: Likewise.
7596	* libc/machine/spu/memmove_ea.c: Likewise.
7597	* libc/machine/spu/memset_ea.c: Likewise.
7598	* libc/machine/spu/malloc_ea.c: Likewise.
7599	* libc/machine/spu/realloc_ea.c: Likewise.
7600	* libc/machine/spu/calloc_ea.c: Likewise.
7601	* libc/machine/spu/free_ea.c: Likewise.
7602	* libc/machine/spu/posix_memalign_ea.c: Likewise.
7603	* libc/machine/spu/strcat_ea.c: Likewise.
7604	* libc/machine/spu/strchr_ea.c: Likewise.
7605	* libc/machine/spu/strcmp_ea.c: Likewise.
7606	* libc/machine/spu/strcpy_ea.c: Likewise.
7607	* libc/machine/spu/strcspn_ea.c: Likewise.
7608	* libc/machine/spu/strlen_ea.c: Likewise.
7609	* libc/machine/spu/strncat_ea.c: Likewise.
7610	* libc/machine/spu/strncmp_ea.c: Likewise.
7611	* libc/machine/spu/strncpy_ea.c: Likewise.
7612	* libc/machine/spu/strpbrk_ea.c: Likewise.
7613	* libc/machine/spu/strrchr_ea.c: Likewise.
7614	* libc/machine/spu/strspn_ea.c: Likewise.
7615	* libc/machine/spu/strstr_ea.c: Likewise.
7616	* libc/machine/spu/read_ea.c: Likewise.
7617	* libc/machine/spu/pread_ea.c: Likewise.
7618	* libc/machine/spu/readv_ea.c: Likewise.
7619	* libc/machine/spu/write_ea.c: Likewise.
7620	* libc/machine/spu/pwrite_ea.c: Likewise.
7621	* libc/machine/spu/writev_ea.c: Likewise.
7622
76232008-11-19  Joel Sherrill <joel.sherrill@oarcorp.com>
7624
7625	* libc/include/sys/config.h[__mips__]: Don't bother
7626	setting __ATTRIBUTE_IMPURE_PTR__ here.
7627	[__rtems__][__mips__]: No need to undef the __ATTRIBUTE_IMPURE_PTR__
7628	macro anymore.
7629
76302008-11-19  Jeff Johnston  <jjohnstn@redhat.com>
7631
7632	* libc/sys/linux/bits/dirent.h: New header file.
7633	* libc/sys/linux/sys/dirent.h: Include <bits/dirent.h> instead of
7634	<linux/dirent.h>.
7635	* libc/posix/Makefile.am: Remove reallocf.
7636	* libc/posix/Makefile.in: Regenerated.
7637	* libc/posix/reallocf.c: Moved to...
7638	* libc/stdlib/reallocf.c: Here
7639	* libc/stdlib/malloc.c: Add reallocf documentation.
7640	* libc/include/stdlib.h: Add reallocf and _reallocf_r prototypes.
7641	* libc/stdlib/Makefile.am: Add reallocf.
7642	* libc/stdlib/Makefile.in: Regenerated.
7643	* libc/posix/_isatty.c: Set errno.
7644
76452008-11-19  Craig Howland  <howland@LGSInnovations.com>
7646
7647	* libc/unix/collate.c (__collate_err): simplify to remove unnecessary
7648	strdup() and strlen() calls, also getting rid of a compiler warning.
7649
76502008-11-19  Ralf Corsepius <ralf.corsepius@rtems.org>
7651
7652	* libc/include/sys/config.h: Don't put
7653	__ATTRIBUTE_IMPURE_PTR__ into .sdata section for mips-rtems.
7654
76552008-11-19  Ralf Corsepius  <ralf.corsepius@rtems.org>
7656
7657	* libc/posix/runetype.h: Add include of stddef.h and remove
7658	defining standard types: size_t and wchar_t.
7659
76602008-11-19  Ralf Corsepius  <ralf.corsepius@rtems.org>
7661
7662	* libc/include/pthread.h: Remove prototypes for
7663	pthread_attr_getcputime and pthread_attr_setcputime which
7664	were proposed but never approved by the POSIX standard.
7665
76662008-11-18  Joel Sherrill <joel.sherrill@oarcorp.com>
7667
7668	* libc/unix/ttyname.c: Use isatty() instead of tcgetattr().
7669
76702008-11-18  Jeff Johnston  <jjohnstn@redhat.com>
7671
7672	* libc/unix/basename.c: Add !_NO_BASENAME flag check so code can be
7673	ignored if desired by a platform.
7674	* libc/unix/dirname.c: Ditto except replace BASENAME with file name.
7675	* libc/unix/getcwd.c: Ditto.
7676	* libc/unix/getlogin.c: Ditto.
7677	* libc/unix/getpass.c: Ditto.
7678	* libc/unix/getpwent.c: Ditto.
7679	* libc/unix/getut.c: Ditto.
7680	* libc/unix/pread.c: Ditto.
7681	* libc/unix/pwrite.c: Ditto.
7682	* libc/unix/sigset.c: Ditto.
7683
76842008-11-18  Craig Howland  <howland@LGSInnovations.com>
7685
7686	* libc/unix/ttyname.c: Add ttyname_r and change ttyname to use
7687	ttyname_r.
7688
76892008-11-17  Joel Sherrill <joel.sherrill@oarcorp.com>
7690
7691	* configure.host: RTEMS now uses posix subdirectory.
7692
76932008-11-17  Joel Sherrill <joel.sherrill@oarcorp.com>
7694
7695	* sys/rtems/include/limits.h: Add _POSIX2_RE_DUP_MAX.
7696	* sys/rtems/sys/param.h: sys/rtprio.h not needed.
7697
76982008-10-31  Jeff Johnston  <jjohnstn@redhat.com>
7699
7700	* libc/stdio/diprintf.c: Modify documentation so eclipse newlib
7701	libhover docs generate properly.
7702	* libc/stdio/dprintf.c: Ditto.
7703	* libc/stdio/fflush.c: Ditto.
7704	* libc/stdio/fopencookie.c: Ditto.
7705	* libc/stdio/fread.c: Ditto.
7706	* libc/stdio/fsetpos.c: Ditto.
7707	* libc/stdio/getc_u.c: Ditto.
7708	* libc/stdio/getchar_u.c: Ditto.
7709	* libc/stdio/putc_u.c: Ditto.
7710	* libc/stdio/putchar_u.c: Ditto.
7711	* libc/stdio/remove.c: Ditto.
7712	* libc/stdio/siprintf.c: Ditto.
7713	* libc/stdio/siscanf.c: Ditto.
7714	* libc/stdio/sprintf.c: Ditto.
7715	* libc/stdio/sscanf.c: Ditto.
7716	* libc/stdio/vfprintf.c: Ditto.
7717	* libc/stdio/vfscanf.c: Ditto.
7718	* libc/stdio/viprintf.c: Ditto.
7719	* libc/stdio/viscanf.c: Ditto.
7720	* libc/stdlib/calloc.c: Ditto.
7721	* libc/stdlib/efgcvt.c: Ditto.
7722	* libc/stdlib/envlock.c: Ditto.
7723	* libc/time/asctime.c: Ditto.
7724	* libc/time/ctime.c: Ditto.
7725	* libc/time/gmtime.c: Ditto.
7726	* libc/time/lcltime.c: Ditto.
7727	* libc/time/tzset.c: Ditto.
7728	* libc/stdlib/envlock.h: Moved to libc/include.
7729
77302008-10-31  Jeff Johnston  <jjohnstn@redhat.com>
7731
7732	* libc/include/limits.h: Add ARG_MAX, PATH_MAX, and _POSIX2_RE_DUP_MAX.
7733	* libc/include/envlock.h: New file.
7734	* libc/include/fnmatch.h: Ditto.
7735	* libc/include/glob.h: Ditto.
7736	* libc/include/regex.h: Ditto.
7737	* libc/include/wordexp.h: Ditto.
7738	* libc/posix/Makefile.am: Add new files moved from
7739	libc/sys/linux/stdlib.
7740	* libc/posix/Makefile.in: Regenerated.
7741	* libc/posix/COPYRIGHT: New file moved from libc/sys/linux/stdlib.
7742	* libc/posix/cclass.h: Ditto.
7743	* libc/posix/cname.h: Ditto.
7744	* libc/posix/collate.c: Ditto.
7745	* libc/posix/collate.h: Ditto.
7746	* libc/posix/collcmp.c: Ditto.
7747	* libc/posix/engine.c: Ditto.
7748	* libc/posix/fnmatch.3: Ditto.
7749	* libc/posix/glob.3: Ditto.
7750	* libc/posix/fnmatch.c: Ditto.
7751	* libc/posix/glob.c: Ditto.
7752	* libc/posix/namespace.h: Ditto.
7753	* libc/posix/reallocf.c: Ditto.
7754	* libc/posix/regcomp.c: Ditto.
7755	* libc/posix/regerror.c: Ditto.
7756	* libc/posix/regex.3: Ditto.
7757	* libc/posix/regex2.h: Ditto.
7758	* libc/posix/regexec.c: Ditto.
7759	* libc/posix/regfree.c: Ditto.
7760	* libc/posix/rune.h: Ditto.
7761	* libc/posix/runetype.h: Ditto.
7762	* libc/posix/scandir.c: Remove advertising clause which is not in
7763	effect.
7764	* libc/posix/sysexits.h: Ditto.
7765	* libc/posix/un-namespace.h: Ditto.
7766	* libc/posix/utils.h: Ditto.
7767	* libc/posix/wordexp.c: Ditto.
7768	* libc/posix/wordfree.c: Ditto.
7769	* libc/posix/execl.c: Add !_NO_EXECVE flag check.
7770	* libc/posix/execle.c: Ditto.
7771	* libc/posix/execlp.c: Ditto.
7772	* libc/posix/execv.c: Ditto.
7773	* libc/posix/execve.c: Ditto.
7774	* libc/posix/execvp.c: Ditto.
7775	* libc/posix/popen.c: Add !_NO_POPEN flag check.
7776	* libc/sys/linux/configure: Regenerated.
7777	* libc/sys/linux/configure.in: Remove stdlib.
7778	* libc/sys/linux/include/limits.h: Add include of linux/limits.h.
7779	* libc/sys/linux/stdlib/Makefile.am: Removed.
7780	* libc/sys/linux/stdlib/Makefile.in: Ditto.
7781	* libc/sys/linux/stdlib/COPYRIGHT: Moved to libc/posix.
7782	* libc/sys/linux/stdlib/cclass.h: Ditto.
7783	* libc/sys/linux/stdlib/cname.h: Ditto.
7784	* libc/sys/linux/stdlib/collate.c: Ditto.
7785	* libc/sys/linux/stdlib/collate.h: Ditto.
7786	* libc/sys/linux/stdlib/collcmp.c: Ditto.
7787	* libc/sys/linux/stdlib/engine.c: Ditto.
7788	* libc/sys/linux/stdlib/fnmatch.3: Ditto.
7789	* libc/sys/linux/stdlib/fnmatch.c: Ditto.
7790	* libc/sys/linux/stdlib/glob.3: Ditto.
7791	* libc/sys/linux/stdlib/glob.c: Ditto.
7792	* libc/sys/linux/stdlib/reallocf.c: Ditto.
7793	* libc/sys/linux/stdlib/regcomp.c: Ditto.
7794	* libc/sys/linux/stdlib/regerror.c: Ditto.
7795	* libc/sys/linux/stdlib/regex.3: Ditto.
7796	* libc/sys/linux/stdlib/regex2.h: Ditto.
7797	* libc/sys/linux/stdlib/regexec.c: Ditto.
7798	* libc/sys/linux/stdlib/regfree.c: Ditto.
7799	* libc/sys/linux/stdlib/utils.h: Ditto.
7800	* libc/sys/linux/stdlib/wordexp.c: Ditto.
7801	* libc/sys/linux/stdlib/wordfree.c: Ditto.
7802
78032008-10-16  Joel Sherrill <joel.sherrill@oarcorp.com>
7804
7805	* libc/include/sys/unistd.h: RTEMS follows standard for sync().
7806
78072008-10-16  Joel Sherrill <joel.sherrill@oarcorp.com>
7808
7809	* libc/include/time.h: Add CLOCK_MONOTONIC.
7810	* libc/include/sys/features.h: Define
7811	_POSIX_MONOTONIC_CLOCK for RTEMS.
7812
78132008-10-15  Jeff Johnston  <jjohnstn@redhat.com>
7814
7815	* newlib.hin: Restore to previous 1.14 version which has no
7816	PACKAGE_ macros.
7817
78182008-10-15  Joel Sherrill <joel.sherrill@oarcorp.com>
7819
7820	* libc/include/sys/unistd.h: Enable ttyname_r() for RTEMS.
7821
78222008-10-15  Craig Howland  <howland@LGSInnovations.com>
7823
7824	* libc/include/ctype.h (isblank):  isblank is C99.
7825	* libc/ctype/isblank.c (isblank comments):  ditto.  isblank does not
7826	have a macro version (as was claimed in the description).
7827
78282008-10-15  Jeff Johnston  <jjohnstn@redhat.com>
7829
7830	* libc/stdio/vfscanf.c (__ssvfiscanf_r): Do not support %lc, %C, %ls or
7831	%S conversions when the EL/IX level is 1.
7832
78332008-10-06  Eric Blake  <ebb9@byu.net>
7834
7835	* libc/stdlib/ldtoa.c (etoasc): Fix rounding to even when fraction
7836	is 0.5 or 0.75.
7837
78382008-10-06  Craig Howland  <howland@LGSInnovations.com>
7839
7840	* libc/time/tzset_r.c (_tzset_r):  Change US default start/end dates to
7841	2007 law revision of start in 2nd Sunday in March, end 1st Sun in Nov.
7842
78432008-10-02  Jeff Johnston  <jjohnstn@redhat.com>
7844
7845	* libc/string/str-two-way.h (critical_factorization): Cast the index
7846	operation to ensure unsigned rollover occurs when adding to SIZE_MAX.
7847
78482008-10-02  Jeff Johnston  <jjohnstn@redhat.com>
7849
7850	* libc/sys/linux/include/stdint.h (SIZE_MAX): Fix value which should
7851	be size of size_t, not int.
7852	(SIZE_MIN): Remove.
7853	* libc/sys/linux/sys/stdint.h: Ditto.
7854
78552008-10-02  Jeff Johnston  <jjohnstn@redhat.com>
7856
7857	* libc/include/sys/reent.h[_REENT_SMALL](_REENT_INIT_RAND48): Add
7858	initialization of _rand_next to 1.
7859
78602008-09-29  Peter O'Gorman  <pogma@thewrittenword.com>
7861	    Steve Ellcey  <sje@cup.hp.com>
7862
7863	* configure: Regenerate for new libtool.
7864	* aclocal.m4: Ditto.
7865	* Makefile.in: Ditto.
7866	* newlib.hin: Ditto.
7867	* doc/Makefile.in: Ditto.
7868	* doc/configure: Ditto.
7869	* iconvdata/Makefile.in: Ditto.
7870	* iconvdata/aclocal.m4: Ditto.
7871	* iconvdata/configure: Ditto.
7872	* libc/Makefile.in: Ditto.
7873	* libc/aclocal.m4: Ditto.
7874	* libc/configure: Ditto.
7875	* libc/argz/Makefile.in: Ditto.
7876	* libc/ctype/Makefile.in: Ditto.
7877	* libc/errno/Makefile.in: Ditto.
7878	* libc/iconv/Makefile.in: Ditto.
7879	* libc/iconv/ccs/Makefile.in: Ditto.
7880	* libc/iconv/ccs/binary/Makefile.in: Ditto.
7881	* libc/iconv/ces/Makefile.in: Ditto.
7882	* libc/iconv/lib/Makefile.in: Ditto.
7883	* libc/locale/Makefile.in: Ditto.
7884	* libc/machine/Makefile.in: Ditto.
7885	* libc/machine/aclocal.m4: Ditto.
7886	* libc/machine/configure: Ditto.
7887	* libc/machine/a29k/Makefile.in: Ditto.
7888	* libc/machine/a29k/configure: Ditto.
7889	* libc/machine/arm/Makefile.in: Ditto.
7890	* libc/machine/arm/configure: Ditto.
7891	* libc/machine/bfin/Makefile.in: Ditto.
7892	* libc/machine/bfin/configure: Ditto.
7893	* libc/machine/cris/Makefile.in: Ditto.
7894	* libc/machine/cris/configure: Ditto.
7895	* libc/machine/crx/Makefile.in: Ditto.
7896	* libc/machine/crx/configure: Ditto.
7897	* libc/machine/d10v/Makefile.in: Ditto.
7898	* libc/machine/d10v/configure: Ditto.
7899	* libc/machine/d30v/Makefile.in: Ditto.
7900	* libc/machine/d30v/configure: Ditto.
7901	* libc/machine/fr30/Makefile.in: Ditto.
7902	* libc/machine/fr30/configure: Ditto.
7903	* libc/machine/frv/Makefile.in: Ditto.
7904	* libc/machine/frv/configure: Ditto.
7905	* libc/machine/h8300/Makefile.in: Ditto.
7906	* libc/machine/h8300/configure: Ditto.
7907	* libc/machine/h8500/Makefile.in: Ditto.
7908	* libc/machine/h8500/configure: Ditto.
7909	* libc/machine/hppa/Makefile.in: Ditto.
7910	* libc/machine/hppa/configure: Ditto.
7911	* libc/machine/i386/Makefile.in: Ditto.
7912	* libc/machine/i386/aclocal.m4: Ditto.
7913	* libc/machine/i386/configure: Ditto.
7914	* libc/machine/i960/Makefile.in: Ditto.
7915	* libc/machine/i960/configure: Ditto.
7916	* libc/machine/iq2000/Makefile.in: Ditto.
7917	* libc/machine/iq2000/configure: Ditto.
7918	* libc/machine/m32c/Makefile.in: Ditto.
7919	* libc/machine/m32c/configure: Ditto.
7920	* libc/machine/m32r/Makefile.in: Ditto.
7921	* libc/machine/m32r/configure: Ditto.
7922	* libc/machine/m68hc11/Makefile.in: Ditto.
7923	* libc/machine/m68hc11/configure: Ditto.
7924	* libc/machine/m68k/Makefile.in: Ditto.
7925	* libc/machine/m68k/configure: Ditto.
7926	* libc/machine/m88k/Makefile.in: Ditto.
7927	* libc/machine/m88k/configure: Ditto.
7928	* libc/machine/mep/Makefile.in: Ditto.
7929	* libc/machine/mep/configure: Ditto.
7930	* libc/machine/mips/Makefile.in: Ditto.
7931	* libc/machine/mips/configure: Ditto.
7932	* libc/machine/mn10200/Makefile.in: Ditto.
7933	* libc/machine/mn10200/configure: Ditto.
7934	* libc/machine/mn10300/Makefile.in: Ditto.
7935	* libc/machine/mn10300/configure: Ditto.
7936	* libc/machine/mt/Makefile.in: Ditto.
7937	* libc/machine/mt/configure: Ditto.
7938	* libc/machine/necv70/Makefile.in: Ditto.
7939	* libc/machine/necv70/configure: Ditto.
7940	* libc/machine/powerpc/Makefile.in: Ditto.
7941	* libc/machine/powerpc/configure: Ditto.
7942	* libc/machine/sh/Makefile.in: Ditto.
7943	* libc/machine/sh/configure: Ditto.
7944	* libc/machine/sparc/Makefile.in: Ditto.
7945	* libc/machine/sparc/configure: Ditto.
7946	* libc/machine/spu/Makefile.in: Ditto.
7947	* libc/machine/spu/configure: Ditto.
7948	* libc/machine/tic4x/Makefile.in: Ditto.
7949	* libc/machine/tic4x/configure: Ditto.
7950	* libc/machine/tic80/Makefile.in: Ditto.
7951	* libc/machine/tic80/configure: Ditto.
7952	* libc/machine/v850/Makefile.in: Ditto.
7953	* libc/machine/v850/configure: Ditto.
7954	* libc/machine/w65/Makefile.in: Ditto.
7955	* libc/machine/w65/configure: Ditto.
7956	* libc/machine/x86_64/Makefile.in: Ditto.
7957	* libc/machine/x86_64/configure: Ditto.
7958	* libc/machine/xscale/Makefile.in: Ditto.
7959	* libc/machine/xscale/configure: Ditto.
7960	* libc/machine/xstormy16/Makefile.in: Ditto.
7961	* libc/machine/xstormy16/configure: Ditto.
7962	* libc/machine/z8k/Makefile.in: Ditto.
7963	* libc/machine/z8k/configure: Ditto.
7964	* libc/misc/Makefile.in: Ditto.
7965	* libc/posix/Makefile.in: Ditto.
7966	* libc/reent/Makefile.in: Ditto.
7967	* libc/search/Makefile.in: Ditto.
7968	* libc/signal/Makefile.in: Ditto.
7969	* libc/stdio/Makefile.in: Ditto.
7970	* libc/stdio64/Makefile.in: Ditto.
7971	* libc/stdlib/Makefile.in: Ditto.
7972	* libc/string/Makefile.in: Ditto.
7973	* libc/sys/Makefile.in: Ditto.
7974	* libc/sys/aclocal.m4: Ditto.
7975	* libc/sys/configure: Ditto.
7976	* libc/sys/a29khif/Makefile.in: Ditto.
7977	* libc/sys/a29khif/configure: Ditto.
7978	* libc/sys/arc/Makefile.in: Ditto.
7979	* libc/sys/arc/configure: Ditto.
7980	* libc/sys/arm/Makefile.in: Ditto.
7981	* libc/sys/arm/configure: Ditto.
7982	* libc/sys/d10v/Makefile.in: Ditto.
7983	* libc/sys/d10v/configure: Ditto.
7984	* libc/sys/decstation/Makefile.in: Ditto.
7985	* libc/sys/decstation/configure: Ditto.
7986	* libc/sys/h8300hms/Makefile.in: Ditto.
7987	* libc/sys/h8300hms/configure: Ditto.
7988	* libc/sys/h8500hms/Makefile.in: Ditto.
7989	* libc/sys/h8500hms/configure: Ditto.
7990	* libc/sys/linux/Makefile.in: Ditto.
7991	* libc/sys/linux/aclocal.m4: Ditto.
7992	* libc/sys/linux/configure: Ditto.
7993	* libc/sys/linux/argp/Makefile.in: Ditto.
7994	* libc/sys/linux/cmath/Makefile.in: Ditto.
7995	* libc/sys/linux/dl/Makefile.in: Ditto.
7996	* libc/sys/linux/iconv/Makefile.in: Ditto.
7997	* libc/sys/linux/intl/Makefile.in: Ditto.
7998	* libc/sys/linux/linuxthreads/Makefile.in: Ditto.
7999	* libc/sys/linux/linuxthreads/aclocal.m4: Ditto.
8000	* libc/sys/linux/linuxthreads/configure: Ditto.
8001	* libc/sys/linux/linuxthreads/machine/Makefile.in: Ditto.
8002	* libc/sys/linux/linuxthreads/machine/aclocal.m4: Ditto.
8003	* libc/sys/linux/linuxthreads/machine/configure: Ditto.
8004	* libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Ditto.
8005	* libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Ditto.
8006	* libc/sys/linux/linuxthreads/machine/i386/configure: Ditto.
8007	* libc/sys/linux/machine/Makefile.in: Ditto.
8008	* libc/sys/linux/machine/aclocal.m4: Ditto.
8009	* libc/sys/linux/machine/configure: Ditto.
8010	* libc/sys/linux/machine/i386/Makefile.in: Ditto.
8011	* libc/sys/linux/machine/i386/aclocal.m4: Ditto.
8012	* libc/sys/linux/machine/i386/configure: Ditto.
8013	* libc/sys/linux/net/Makefile.in: Ditto.
8014	* libc/sys/linux/stdlib/Makefile.in: Ditto.
8015	* libc/sys/m88kbug/Makefile.in: Ditto.
8016	* libc/sys/m88kbug/configure: Ditto.
8017	* libc/sys/mmixware/Makefile.in: Ditto.
8018	* libc/sys/mmixware/configure: Ditto.
8019	* libc/sys/netware/Makefile.in: Ditto.
8020	* libc/sys/netware/configure: Ditto.
8021	* libc/sys/rdos/Makefile.in: Ditto.
8022	* libc/sys/rdos/configure: Ditto.
8023	* libc/sys/rtems/Makefile.in: Ditto.
8024	* libc/sys/rtems/configure: Ditto.
8025	* libc/sys/sh/Makefile.in: Ditto.
8026	* libc/sys/sh/configure: Ditto.
8027	* libc/sys/sparc64/Makefile.in: Ditto.
8028	* libc/sys/sparc64/configure: Ditto.
8029	* libc/sys/sun4/Makefile.in: Ditto.
8030	* libc/sys/sun4/configure: Ditto.
8031	* libc/sys/sysmec/Makefile.in: Ditto.
8032	* libc/sys/sysmec/configure: Ditto.
8033	* libc/sys/sysnec810/Makefile.in: Ditto.
8034	* libc/sys/sysnec810/configure: Ditto.
8035	* libc/sys/sysnecv850/Makefile.in: Ditto.
8036	* libc/sys/sysnecv850/configure: Ditto.
8037	* libc/sys/sysvi386/Makefile.in: Ditto.
8038	* libc/sys/sysvi386/configure: Ditto.
8039	* libc/sys/sysvnecv70/Makefile.in: Ditto.
8040	* libc/sys/sysvnecv70/configure: Ditto.
8041	* libc/sys/tic80/Makefile.in: Ditto.
8042	* libc/sys/tic80/configure: Ditto.
8043	* libc/sys/w65/Makefile.in: Ditto.
8044	* libc/sys/w65/configure: Ditto.
8045	* libc/sys/z8ksim/Makefile.in: Ditto.
8046	* libc/sys/z8ksim/configure: Ditto.
8047	* libc/syscalls/Makefile.in: Ditto.
8048	* libc/time/Makefile.in: Ditto.
8049	* libc/unix/Makefile.in: Ditto.
8050	* libm/Makefile.in: Ditto.
8051	* libm/aclocal.m4: Ditto.
8052	* libm/configure: Ditto.
8053	* libm/common/Makefile.in: Ditto.
8054	* libm/machine/Makefile.in: Ditto.
8055	* libm/machine/aclocal.m4: Ditto.
8056	* libm/machine/configure: Ditto.
8057	* libm/machine/i386/Makefile.in: Ditto.
8058	* libm/machine/i386/aclocal.m4: Ditto.
8059	* libm/machine/i386/configure: Ditto.
8060	* libm/machine/spu/Makefile.in: Ditto.
8061	* libm/machine/spu/configure: Ditto.
8062	* libm/math/Makefile.in: Ditto.
8063	* libm/mathfp/Makefile.in: Ditto.
8064
80652008-09-26  Craig Howland  <howland@LGSInnovations.com>
8066
8067	* libc/stdlib/getenv_r.c (_getenv_r): Modify to not match if name
8068	contains an equal sign.
8069
80702008-09-25  Raphael Derossa Pereira  <raphaelpereira@gmail.com>
8071
8072	* libc/include/pthread.h[_UNIX98_THREAD_MUTEX_ATTRIBUTES]: Add
8073	new pthread_mutexattr_gettype and pthread_mutexattr_settype
8074	prototypes.
8075	* libc/include/sys/types.h[_UNIX98_THREAD_MUTEX_ATTRIBUTES]: Add
8076	new mutex type values.
8077	(pthread_mutexattr_t)[_UNIX98_THREAD_MUTEX_ATTRIBUTES]: Add type
8078	field.
8079
80802008-09-24  Jeff Johnston  <jjohnstn@redhat.com>
8081
8082	* libc/stdlib/setenv_r.c (_unsetenv_r): Modify to return -1 only if
8083	name is NULL, empty, or contains equal sign.
8084
80852008-09-24  Pawel Veselov  <pawel.veselov@gmail.com>
8086
8087	Fix setenv/getenv/unsetenv to be OpenGroup compliant:
8088	* libc/include/stdlib.h (unsetenv, _unsetenv_r): Redefine with integer
8089	return types.
8090	* libc/stdlib/getenv_r.c (_findenv_r): Do no special processing with
8091	names that contain equal chars.
8092	* libc/stdlib/setenv.c: Redefine _unsetenv_r as returning int.
8093	* libc/stdlib/setenv_r.c (_setenv_r): Return -1 and set errno to
8094	EINVAL if name contains an equal sign.  Do not remove any equal signs
8095	from the value.
8096	(_unsetenv_r): Modified to return int.  Return -1 and set EINVAL
8097	if name contains equal sign.  Return -1 if no variable(s) were found
8098	and return 0 otherwise.
8099
81002008-09-19  Eric Blake  <ebb9@byu.net>
8101
8102	Supply missing POSIX errno values.
8103	* libc/include/sys/errno.h (ENOTRECOVERABLE, EOWNERDEAD): Define.
8104	* libc/string/strerror.c (strerror): Decode them, and ECANCELED.
8105
81062008-09-10  Ken Werner  <ken.werner@de.ibm.com>
8107
8108	* libc/machine/spu/strcpy.h: Add missing header.
8109	* libc/machine/spu/spu_timer_slih.c: Remove unused Variable.
8110	* libm/machine/spu/headers/lgammaf4.h: Add type cast.
8111
81122008-09-08  Jeff Johnston  <jjohnstn@redhat.com>
8113
8114	* libc/sys/linux/dl/atomicity.h (exchange_and_add): Fix asm
8115	statement to use "m" instead of "0".
8116	(atomic_add): Ditto.
8117	* libc/sys/linux/linuxthreads/spinlock.c (__pthread_release): Ditto.
8118	* libc/sys/linux/net/getaddrinfo.c: Add limit.h include.
8119	* libc/sys/linux/stdlib/glob.c: Ditto.
8120
81212008-09-04  Ken Werner  <ken.werner@de.ibm.com>
8122
8123	* libm/machine/spu/headers/acosd2.h: Duplicated preamble text removed.
8124	* libm/machine/spu/headers/acosf4.h: Likewise.
8125	* libm/machine/spu/headers/acoshd2.h: Likewise.
8126	* libm/machine/spu/headers/acoshf4.h: Likewise.
8127	* libm/machine/spu/headers/asind2.h: Likewise.
8128	* libm/machine/spu/headers/asinf4.h: Likewise.
8129	* libm/machine/spu/headers/asinhd2.h: Likewise.
8130	* libm/machine/spu/headers/asinhf4.h: Likewise.
8131	* libm/machine/spu/headers/atan2d2.h: Likewise.
8132	* libm/machine/spu/headers/atan2f4.h: Likewise.
8133	* libm/machine/spu/headers/atand2.h: Likewise.
8134	* libm/machine/spu/headers/atanf4.h: Likewise.
8135	* libm/machine/spu/headers/atanhd2.h: Likewise.
8136	* libm/machine/spu/headers/atanhf4.h: Likewise.
8137	* libm/machine/spu/headers/cos_sin.h: Likewise.
8138	* libm/machine/spu/headers/cosd2.h: Likewise.
8139	* libm/machine/spu/headers/cosf4.h: Likewise.
8140	* libm/machine/spu/headers/coshd2.h: Likewise.
8141	* libm/machine/spu/headers/coshf4.h: Likewise.
8142	* libm/machine/spu/headers/divd2.h: Likewise.
8143	* libm/machine/spu/headers/divf4.h: Likewise.
8144	* libm/machine/spu/headers/erf_utils.h: Likewise.
8145	* libm/machine/spu/headers/erfcd2.h: Likewise.
8146	* libm/machine/spu/headers/erfcf4.h: Likewise.
8147	* libm/machine/spu/headers/erfd2.h: Likewise.
8148	* libm/machine/spu/headers/erff4.h: Likewise.
8149	* libm/machine/spu/headers/exp2d2.h: Likewise.
8150	* libm/machine/spu/headers/exp2f4.h: Likewise.
8151	* libm/machine/spu/headers/expd2.h: Likewise.
8152	* libm/machine/spu/headers/expf4.h: Likewise.
8153	* libm/machine/spu/headers/expm1d2.h: Likewise.
8154	* libm/machine/spu/headers/expm1f4.h: Likewise.
8155	* libm/machine/spu/headers/floord2.h: Likewise.
8156	* libm/machine/spu/headers/floorf4.h: Likewise.
8157	* libm/machine/spu/headers/hypotd2.h: Likewise.
8158	* libm/machine/spu/headers/hypotf4.h: Likewise.
8159	* libm/machine/spu/headers/isnand2.h: Likewise.
8160	* libm/machine/spu/headers/isnanf4.h: Likewise.
8161	* libm/machine/spu/headers/ldexpd2.h: Likewise.
8162	* libm/machine/spu/headers/ldexpf4.h: Likewise.
8163	* libm/machine/spu/headers/lgammad2.h: Likewise.
8164	* libm/machine/spu/headers/lgammaf4.h: Likewise.
8165	* libm/machine/spu/headers/log10d2.h: Likewise.
8166	* libm/machine/spu/headers/log1pd2.h: Likewise.
8167	* libm/machine/spu/headers/log1pf4.h: Likewise.
8168	* libm/machine/spu/headers/log2d2.h: Likewise.
8169	* libm/machine/spu/headers/log2f4.h: Likewise.
8170	* libm/machine/spu/headers/logbf4.h: Likewise.
8171	* libm/machine/spu/headers/logd2.h: Likewise.
8172	* libm/machine/spu/headers/logf4.h: Likewise.
8173	* libm/machine/spu/headers/nearbyintf4.h: Likewise.
8174	* libm/machine/spu/headers/nextafterd2.h: Likewise.
8175	* libm/machine/spu/headers/nextafterf4.h: Likewise.
8176	* libm/machine/spu/headers/powd2.h: Likewise.
8177	* libm/machine/spu/headers/powf4.h: Likewise.
8178	* libm/machine/spu/headers/recipd2.h: Likewise.
8179	* libm/machine/spu/headers/recipf4.h: Likewise.
8180	* libm/machine/spu/headers/rintf4.h: Likewise.
8181	* libm/machine/spu/headers/scalbnf4.h: Likewise.
8182	* libm/machine/spu/headers/signbitd2.h: Likewise.
8183	* libm/machine/spu/headers/sincosd2.h: Likewise.
8184	* libm/machine/spu/headers/sincosf4.h: Likewise.
8185	* libm/machine/spu/headers/sind2.h: Likewise.
8186	* libm/machine/spu/headers/sinf4.h: Likewise.
8187	* libm/machine/spu/headers/sinhd2.h: Likewise.
8188	* libm/machine/spu/headers/sinhf4.h: Likewise.
8189	* libm/machine/spu/headers/sqrtd2.h: Likewise.
8190	* libm/machine/spu/headers/sqrtf4.h: Likewise.
8191	* libm/machine/spu/headers/tand2.h: Likewise.
8192	* libm/machine/spu/headers/tanf4.h: Likewise.
8193	* libm/machine/spu/headers/tanhd2.h: Likewise.
8194	* libm/machine/spu/headers/tanhf4.h: Likewise.
8195	* libm/machine/spu/headers/tgammad2.h: Likewise.
8196	* libm/machine/spu/headers/tgammaf4.h: Likewise.
8197	* libm/machine/spu/headers/truncd2.h: Likewise.
8198	* libm/machine/spu/headers/truncf4.h: Likewise.
8199	* libm/machine/spu/headers/simdmath.h: Likewise.
8200
82012008-09-04  Ken Werner  <ken.werner@de.ibm.com>
8202
8203	* libm/machine/spu/headers/acoshf4.h: Rebase against current simdmath.
8204	* libm/machine/spu/headers/asinhd2.h: Likewise.
8205	* libm/machine/spu/headers/atanhd2.h: Likewise.
8206	* libm/machine/spu/headers/atanhf4.h: Likewise.
8207	* libm/machine/spu/headers/erff4.h: Likewise.
8208	* libm/machine/spu/headers/expd2.h: Likewise.
8209	* libm/machine/spu/headers/ldexpd2.h: Likewise.
8210	* libm/machine/spu/headers/lgammaf4.h: Likewise.
8211	* libm/machine/spu/headers/logbf4.h: Likewise.
8212	* libm/machine/spu/headers/nextafterd2.h: Likewise.
8213	* libm/machine/spu/headers/nextafterf4.h: Likewise.
8214	* libm/machine/spu/headers/recipd2.h: Likewise.
8215	* libm/machine/spu/headers/simdmath.h: Likewise.
8216	* libm/machine/spu/headers/acoshd2.: Likewise.
8217
82182008-09-04  Ken Werner  <ken.werner@de.ibm.com>
8219
8220	* libm/machine/spu/headers/cbrt.h: cbrt_factors[] declared.
8221	* libm/machine/spu/headers/cbrtf.h: Likewise.
8222
82232008-09-01  Ken Werner  <ken.werner@de.ibm.com>
8224
8225	* libc/machine/spu/include/spu_timer.h: spu_timebase function added.
8226	* libc/machine/spu/spu_timebase.c: New file.
8227	* libc/machine/spu/Makefile.am: Add new file.
8228	* libc/machine/spu/Makefile.in: Regenerated.
8229
82302008-08-28  Craig Howland  <howland@LGSInnovations.com>
8231
8232	* libc/time/mktime.c (mktime): Fix tm_isdst value usage (allowing
8233	any positive value from user (per std) rather than depending
8234	upon 1).
8235
82362008-08-28  Corinna Vinschen  <corinna@vinschen.de>
8237
8238	* libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Optimize condition
8239	for accepting a converted character.
8240
82412008-08-27  Sandra Loosemore  <sandra@codesourcery.com>
8242
8243	* libc/libc.texinfo: Remove "LOCAL KLUGE" that prevents it
8244	from building pdfs.
8245	* libm/libm.texinfo: Likewise.
8246
82472008-08-27  Corinna Vinschen  <corinna@vinschen.de>
8248
8249	* libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Fix condition for
8250	accepting a converted character and continuing the loop.
8251
82522008-07-24  Jeff Johnston  <jjohnstn@redhat.com>
8253
8254	* libc/include/ctype.h (_ctype_): Restore for C++ backward
8255	compatability only.
8256
82572008-07-21  Jeff Johnston  <jjohnstn@redhat.com>
8258
8259	* libc/ctype/ctype_.c: Add new pointer __ctype_ptr__ which is one
8260	less than the old __ctype_ptr.
8261	* libc/ctype/isalnum.c: Use __ctype_ptr__.
8262	* libc/ctype/isalpha.c: Ditto.
8263	* libc/ctype/iscntrl.c: Ditto.
8264	* libc/ctype/isdigit.c: Ditto.
8265	* libc/ctype/islower.c: Ditto.
8266	* libc/ctype/isprint.c: Ditto.
8267	* libc/ctype/ispunct.c: Ditto.
8268	* libc/ctype/isspace.c: Ditto.
8269	* libc/ctype/isupper.c: Ditto.
8270	* libc/ctype/isxdigit.c: Ditto.
8271	* libc/include/ctype.h: Change ctype macros to use new __ctype_ptr__
8272	and add declaration of __ctype_ptr__.  Remove older ctype table pointers
8273	from here even though they can still work.
8274
82752008-07-18  Ken Werner  <ken.werner@de.ibm.com>
8276
8277	* libc/machine/spu/strcpy.h: Fix error in previous patch.
8278
82792008-07-17  Jeff Johnston  <jjohnstn@redhat.com>
8280
8281	* libc/include/assert.h (__ASSERT_FUNC): Define to __FUNCTION__ when
8282	__STDC_VERSION__ < 199901L and __GNUC__ >= 2.
8283
82842008-07-17  Ken Werner  <ken.werner@de.ibm.com>
8285
8286	* libc/machine/spu/strcpy.h: Pad null bytes if necessary.
8287
82882008-07-08  Kenji Tanaka  <tanaka.ken2@jp.panasonic.com>
8289
8290	* libc/machine/mn10300/memset.S: Fix bug where return value is
8291	incorrectly set if number of bytes set is a multiple of 4.
8292
82932008-07-07  Hans-Peter Nilsson  <hp@axis.com>
8294
8295	* libc/machine/mips/strncpy.c: Include stdint.h to get uintptr_t.
8296	(strncpy): Cast src to uintptr_t before checking alignment with "&".
8297
82982008-07-02  Jeff Johnston  <jjohnstn@redhat.com>
8299
8300	* libc/argz/argz_count.c: Include stddef.h to get size_t.
8301	* libc/argz/argz_extract.c: Ditto.
8302	* libc/argz/argz_stringify.c: Ditto.
8303	* libc/search/hash.h: Ditto.
8304	* libc/sys/linux/include/sched.h: Ditto.
8305	* libc/sys/linux/sys/types.h: Ditto.
8306
83072008-07-02  Jeff Johnston  <jjohnstn@redhat.com>
8308
8309	* libc/machine/mips/strncpy.c (strncpy): Fix logic so unaligned
8310	source data is taken care of before loop unrolling.
8311
83122008-06-25  Hans-Peter Nilsson  <hp@axis.com>
8313
8314	Fix strict-aliasing issues with _strtod_r and Storeinc.
8315	* libc/stdlib/strtod.c (_strtod_r): Change local variables aadj,
8316	rv, rv0 from double to type U.  Use accessor macros dval, dword0
8317	and dword1 for all accesses except for the ULtod call, where rv.i
8318	replaces the pointer cast.
8319	* libc/stdlib/mprec.h (U): Rename member L to i for easier re-use
8320	of access macros.  Tweak comment.
8321	Remove #ifdef'd YES_ALIAS code.
8322	(dword0, dword1, dval): Define in terms of uncast union member
8323	access.  Ditto for _DOUBLE_IS_32BITS variants.
8324	(Storeinc): Replace aliasing-flawed microoptimized definition with
8325	alternative suggested in comment.  Remove now stale comment.
8326
83272008-06-21  Corinna Vinschen  <corinna@vinschen.de>
8328
8329	* libc/include/machine/setjmp.h (_longjmp): Define as function on
8330	Cygwin.
8331	(_setjmp): Ditto.
8332
83332008-06-18  Eric Blake  <ebb9@byu.net>
8334
8335	Per Posix, strsignal returns non-const char*.
8336	* libc/include/string.h (strsignal): Fix return type.
8337
83382008-06-17  Ken Werner  <ken.werner@de.ibm.com>
8339
8340	* libc/machine/spu/sys/linux_syscalls.h: New file to add Linux syscall
8341	support.
8342
83432008-06-16  Ken Werner  <ken.werner@de.ibm.com>
8344
8345	* libc/machine/spu/sys/dirent.h: Add extern "C" specifier if C++.
8346	* libc/machine/spu/sys/sched.h: Likewise.
8347	* libc/machine/spu/sys/syscall.h: Likewise.
8348
83492008-06-16  Ken Werner  <ken.werner@de.ibm.com>
8350
8351	* libc/machine/spu/mk_syscalls: Provide .type and .size directives
8352	in generated assembler files.
8353	* libc/machine/spu/fprintf.S: Regenerate.
8354	* libc/machine/spu/fscanf.S: Regenerate.
8355	* libc/machine/spu/printf.S: Regenerate.
8356	* libc/machine/spu/scanf.S: Regenerate.
8357	* libc/machine/spu/snprintf.S: Regenerate.
8358	* libc/machine/spu/sprintf.S: Regenerate.
8359	* libc/machine/spu/sscanf.S: Regenerate.
8360	* libc/machine/spu/stack_reg_va.S (__stack_reg_va): Provide .type
8361	and .size directives.
8362	* libc/machine/spu/setjmp.S (setjmp): Likewise.
8363	(longjmp): Likewise.
8364
83652008-06-11  Jeff Johnston  <jjohnstn@redhat.com>
8366
8367	* libc/include/machine/_default_types.h: Fix GNUC check to
8368	handle 4.0 and greater.
8369
83702008-06-09  Ken Werner  <ken.werner@de.ibm.com>
8371
8372	* libc/machine/spu/Makefile.am: Add new files.
8373	* libc/machine/spu/Makefile.in: Likewise.
8374	* libc/machine/spu/include/spu_timer.h: New file to add timer support
8375	using interrupts.
8376	* libc/machine/spu/spu_clock_stop.c: Likewise.
8377	* libc/machine/spu/spu_clock_svcs.c: Likewise.
8378	* libc/machine/spu/spu_timer_flih.S: Likewise.
8379	* libc/machine/spu/spu_timer_free.c: Likewise.
8380	* libc/machine/spu/spu_timer_internal.h: Likewise.
8381	* libc/machine/spu/spu_timer_slih.c: Likewise.
8382	* libc/machine/spu/spu_timer_slih_reg.c: Likewise.
8383	* libc/machine/spu/spu_timer_stop.c: Likewise.
8384	* libc/machine/spu/spu_timer_svcs.c: Likewise.
8385
83862008-06-09  Ken Werner  <ken.werner@de.ibm.com>
8387
8388	* libc/machine/spu/strcat.c: Return value fixed.
8389	* libc/machine/spu/strncat.c: Likewise.
8390
83912008-05-28  Eric Blake  <ebb9@byu.net>
8392
8393	Fix bug in previous patch.
8394	* libc/machine/i386/memset.S (memset): Mask second arg correctly.
8395
83962008-05-27  Jeff Johnston  <jjohnstn@redhat.com>
8397
8398	* libc/string/memset.c: Fix documented prototype to remove
8399	erroneous const attribute on first parameter.
8400
84012008-05-26  Eric Blake  <ebb9@byu.net>
8402
8403	Optimize the generic and x86 memchr.
8404	* libc/string/memchr.c (memchr) [!__OPTIMIZE_SIZE__]:
8405	Pre-align pointer so unaligned searches aren't penalized.
8406	* libc/machine/i386/memchr.S (memchr) [!__OPTIMIZE_SIZE__]: Word
8407	operations are faster than repnz byte searches.
8408
84092008-05-26  Eric Blake  <ebb9@byu.net>
8410
8411	Optimize the generic and x86 memset.
8412	* libc/string/memset.c (memset) [!__OPTIMIZE_SIZE__]:
8413	Pre-align pointer so unaligned stores aren't penalized.
8414	* libc/machine/i386/memset.S (memset) [!__OPTIMIZE_SIZE__]:
8415	Pre-align pointer so unaligned stores aren't penalized.  Prefer
8416	8-byte over 4-byte alignment.  Reduce register pressure.
8417
84182008-05-26  Eric Blake  <ebb9@byu.net>
8419
8420	Optimize the generic and x86 strlen.
8421	* libc/string/strlen.c (strlen) [!__OPTIMIZE_SIZE__]: Pre-align
8422	data so unaligned searches aren't penalized.
8423	* libc/machine/i386/strlen.S (strlen) [!__OPTIMIZE_SIZE__]:
8424	Word operations are faster than repnz byte searches.
8425
84262008-05-23  Corinna Vinschen  <corinna@vinschen.de>
8427
8428	* libc/include/sys/_default_fcntl.h: Include <sys/time.h> on Cygwin.
8429
84302008-05-22  Jeff Johnston  <jjohnstn@redhat.com>
8431
8432	* libc/include/sys/reent.h: Add _h_errno field.
8433	* libc/sys/linux/libc-symbols.h: Add default stubs for new libc macros
8434	now used in net directory.
8435	* libc/sys/linux/bits/libc-lock.h: Always define _IO_MTSAFE_IO.
8436	* libc/sys/linux/include/hesiod.h: Add needed macros for new code
8437	in net directory.
8438	* libc/sys/linux/include/netdb.h: Ditto.
8439	* libc/sys/linux/include/resolv.h: Ditto.
8440	* libc/sys/linux/include/stdint.h: Ditto.
8441	* libc/sys/linux/include/arpa/nameser.h: Ditto.
8442	* libc/sys/linux/include/net/ethernet.h: Ditto.
8443	* libc/sys/linux/include/net/if_ppp.h: Ditto.
8444	* libc/sys/linux/include/netinet/if_ether.h: Ditto.
8445	* libc/sys/linux/machine/i386/get_clockfreq.c: Remove static memmem.
8446	* libc/sys/linux/machine/i386/include/endian.h: Protect macros with
8447	flags to avoid duplicate definition.
8448	* libc/sys/linux/machine/i386/include/param.h: Ditto.
8449	* libc/sys/linux/net/Makefile.am: Modified to account for removed and
8450	added files.
8451	* libc/sys/linux/net/Makefile.in: Regenerated.
8452	* libc/sys/linux/net/base64.c: Replaced with glibc version of code.
8453	* libc/sys/linux/net/getaddrinfo.c: Ditto.
8454	* libc/sys/linux/net/getnameinfo.c: Ditto.
8455	* libc/sys/linux/net/getproto.c: Ditto.
8456	* libc/sys/linux/net/getservent.c: Ditto.
8457	* libc/sys/linux/net/inet_netof.c: Ditto.
8458	* libc/sys/linux/net/inet_lnaof.c: Ditto.
8459	* libc/sys/linux/net/ns_name.c: Ditto.
8460	* libc/sys/linux/net/ns_netint.c: Ditto.
8461	* libc/sys/linux/net/inet_ntoa.c: Ditto.
8462	* libc/sys/linux/net/ns_parse.c: Ditto.
8463	* libc/sys/linux/net/ns_print.c: Ditto.
8464	* libc/sys/linux/net/ns_ttl.c: Ditto.
8465	* libc/sys/linux/net/nsap_addr.c: Ditto.
8466	* libc/sys/linux/net/rcmd.c: Ditto.
8467	* libc/sys/linux/net/res_comp.c: Ditto.
8468	* libc/sys/linux/net/res_data.c: Ditto.
8469	* libc/sys/linux/net/res_debug.c: Ditto.
8470	* libc/sys/linux/net/res_init.c: Ditto.
8471	* libc/sys/linux/net/res_mkquery.c: Ditto.
8472	* libc/sys/linux/net/res_query.c: Ditto.
8473	* libc/sys/linux/net/res_send.c: Ditto.
8474	* libc/sys/linux/net/send.c: Ditto.
8475	* libc/sys/linux/stdlib/collate.c: Ditto.
8476	* libc/sys/linux/sys/ioctl.h: Ditto.
8477	* libc/sys/linux/sys/socket.h: Ditto.
8478	* libc/sys/linux/sys/unistd.h: Ditto.
8479	* libc/sys/linux/iconv/iconvconfig.c: Removed either because no longer
8480	used or because licensing includes advertising clause that cannot be
8481	ignored.
8482	* libc/sys/linux/iconv/strtab.c: Ditto.
8483	* libc/sys/linux/include/libc_private.h: Ditto.
8484	* libc/sys/linux/include/nsswitch.h: Ditto.
8485	* libc/sys/linux/include/net/if_atm.h: Ditto.
8486	* libc/sys/linux/include/net/if_media.h: Ditto.
8487	* libc/sys/linux/include/net/if_pppvar.h: Ditto.
8488	* libc/sys/linux/include/netinet/if_atm.h: Ditto.
8489	* libc/sys/linux/include/netinet/ip_flow.h: Ditto.
8490	* libc/sys/linux/intl/locale.alias: Ditto.
8491	* libc/sys/linux/net/addr2ascii.3: Ditto.
8492	* libc/sys/linux/net/bindresvport.c: Ditto.
8493	* libc/sys/linux/net/byteorder.3: Ditto.
8494	* libc/sys/linux/net/res_config.h: Ditto.
8495	* libc/sys/linux/net/ether_addr.c: Ditto.
8496	* libc/sys/linux/net/ethers.3: Ditto.
8497	* libc/sys/linux/net/getaddrinfo.3: Ditto.
8498	* libc/sys/linux/net/gethostbydns.c: Ditto.
8499	* libc/sys/linux/net/gethostbyht.c: Ditto.
8500	* libc/sys/linux/net/gethostbyname.3: Ditto.
8501	* libc/sys/linux/net/gethostbynis.c: Ditto.
8502	* libc/sys/linux/net/gethostnamadr.c: Ditto.
8503	* libc/sys/linux/net/getifaddrs.3: Ditto.
8504	* libc/sys/linux/net/getifaddrs.c: Ditto.
8505	* libc/sys/linux/net/getipnodebyname.3: Ditto.
8506	* libc/sys/linux/net/getnameinfo.3: Ditto.
8507	* libc/sys/linux/net/getnetbydns.c: Ditto.
8508	* libc/sys/linux/net/getnetbyht.c: Ditto.
8509	* libc/sys/linux/net/getnetbynis.c: Ditto.
8510	* libc/sys/linux/net/getnetent.3: Ditto.
8511	* libc/sys/linux/net/getnetnamadr.c: Ditto.
8512	* libc/sys/linux/net/getprotoent.3: Ditto.
8513	* libc/sys/linux/net/getprotoent.c: Ditto.
8514	* libc/sys/linux/net/getprotoname.c: Ditto.
8515	* libc/sys/linux/net/getservbyname.c: Ditto.
8516	* libc/sys/linux/net/getservbyport.c: Ditto.
8517	* libc/sys/linux/net/getservent.3: Ditto.
8518	* libc/sys/linux/net/herror.c: Ditto.
8519	* libc/sys/linux/net/hesiod.3: Ditto.
8520	* libc/sys/linux/net/hesiod.c: Ditto.
8521	* libc/sys/linux/net/if_indextoname.3: Ditto.
8522	* libc/sys/linux/net/inet.3: Ditto.
8523	* libc/sys/linux/net/inet6_option_space.3: Ditto.
8524	* libc/sys/linux/net/inet6_rthdr_space.3: Ditto.
8525	* libc/sys/linux/net/inet_makeaddr.c: Ditto.
8526	* libc/sys/linux/net/inet_net.3: Ditto.
8527	* libc/sys/linux/net/inet_network.c: Ditto.
8528	* libc/sys/linux/net/innetgr-stub.c: Ditto.
8529	* libc/sys/linux/net/ip6opt.c: Ditto.
8530	* libc/sys/linux/net/iso_addr.3: Ditto.
8531	* libc/sys/linux/net/iso_addr.c: Ditto.
8532	* libc/sys/linux/net/linkaddr.3: Ditto.
8533	* libc/sys/linux/net/linkaddr.c: Ditto.
8534	* libc/sys/linux/net/map_v4v6.c: Ditto.
8535	* libc/sys/linux/net/name6.c: Ditto.
8536	* libc/sys/linux/net/namespace.h: Ditto.
8537	* libc/sys/linux/net/ns.3: Ditto.
8538	* libc/sys/linux/net/ns_addr.c: Ditto.
8539	* libc/sys/linux/net/ns_ntoa.c: Ditto.
8540	* libc/sys/linux/net/nsdispatch.3: Ditto.
8541	* libc/sys/linux/net/nsdispatch.c: Ditto.
8542	* libc/sys/linux/net/nslexer.c: Ditto.
8543	* libc/sys/linux/net/nslexer.l: Ditto.
8544	* libc/sys/linux/net/nsparser.c: Ditto.
8545	* libc/sys/linux/net/nsparser.h: Ditto.
8546	* libc/sys/linux/net/nsparser.y: Ditto.
8547	* libc/sys/linux/net/rcmd.3: Ditto.
8548	* libc/sys/linux/net/rcmdsh.3: Ditto.
8549	* libc/sys/linux/net/res_mkupdate.c: Ditto.
8550	* libc/sys/linux/net/res_update.c: Ditto.
8551	* libc/sys/linux/net/resolver.3: Ditto.
8552	* libc/sys/linux/net/rthdr.c: Ditto.
8553	* libc/sys/linux/net/vars.c: Ditto.
8554	* libc/sys/linux/shlib-compat.h: New file.
8555	* libc/sys/linux/machine/i386/atomic.h: Ditto.
8556	* libc/sys/linux/net/XXX-lookup.c: Ditto.
8557	* libc/sys/linux/net/alias-lookup.c: Ditto.
8558	* libc/sys/linux/net/res_libc.c: Ditto.
8559	* libc/sys/linux/net/aliases.h: Ditto.
8560	* libc/sys/linux/net/check_pf.c: Ditto.
8561	* libc/sys/linux/net/databases.def: Ditto.
8562	* libc/sys/linux/net/digits_dots.c: Ditto.
8563	* libc/sys/linux/net/ether_aton.c: Ditto.
8564	* libc/sys/linux/net/ether_aton_r.c: Ditto.
8565	* libc/sys/linux/net/ether_hton.c: Ditto.
8566	* libc/sys/linux/net/ether_line.c: Ditto.
8567	* libc/sys/linux/net/ether_ntoa.c: Ditto.
8568	* libc/sys/linux/net/ether_ntoa_r.c: Ditto.
8569	* libc/sys/linux/net/ether_ntoh.c: Ditto.
8570	* libc/sys/linux/net/etherent.h: Ditto.
8571	* libc/sys/linux/net/ethers-lookup.c: Ditto.
8572	* libc/sys/linux/net/function.def: Ditto.
8573	* libc/sys/linux/net/getXXbyYY.c: Ditto.
8574	* libc/sys/linux/net/getXXbyYY_r.c: Ditto.
8575	* libc/sys/linux/net/getXXent.c: Ditto.
8576	* libc/sys/linux/net/getXXent_r.c: Ditto.
8577	* libc/sys/linux/net/getaliasent.c: Ditto.
8578	* libc/sys/linux/net/getaliasent_r.c: Ditto.
8579	* libc/sys/linux/net/getaliasname.c: Ditto.
8580	* libc/sys/linux/net/getaliasname_r.c: Ditto.
8581	* libc/sys/linux/net/gethstbyad.c: Ditto.
8582	* libc/sys/linux/net/gethstbyad_r.c: Ditto.
8583	* libc/sys/linux/net/gethstbynm.c: Ditto.
8584	* libc/sys/linux/net/gethstbynm2.c: Ditto.
8585	* libc/sys/linux/net/gethstbynm2_r.c: Ditto.
8586	* libc/sys/linux/net/gethstbynm_r.c: Ditto.
8587	* libc/sys/linux/net/gethstent.c: Ditto.
8588	* libc/sys/linux/net/gethstent_r.c: Ditto.
8589	* libc/sys/linux/net/getnetbyad.c: Ditto.
8590	* libc/sys/linux/net/getnetbyad_r.c: Ditto.
8591	* libc/sys/linux/net/getnetbynm.c: Ditto.
8592	* libc/sys/linux/net/getnetbynm_r.c: Ditto.
8593	* libc/sys/linux/net/getnetent.c: Ditto.
8594	* libc/sys/linux/net/getnetent_r.c: Ditto.
8595	* libc/sys/linux/net/getnetgrent.c: Ditto.
8596	* libc/sys/linux/net/getnetgrent_r.c: Ditto.
8597	* libc/sys/linux/net/getnssent.c: Ditto.
8598	* libc/sys/linux/net/getnssent_r.c: Ditto.
8599	* libc/sys/linux/net/getproto_r.c: Ditto.
8600	* libc/sys/linux/net/getprtent.c: Ditto.
8601	* libc/sys/linux/net/getprtent_r.c: Ditto.
8602	* libc/sys/linux/net/getprtname.c: Ditto.
8603	* libc/sys/linux/net/getprtname_r.c: Ditto.
8604	* libc/sys/linux/net/getrpcbyname.c: Ditto.
8605	* libc/sys/linux/net/getrpcbyname_r.c: Ditto.
8606	* libc/sys/linux/net/getrpcbynumber.c: Ditto.
8607	* libc/sys/linux/net/getrpcbynumber_r.c: Ditto.
8608	* libc/sys/linux/net/getrpcent.c: Ditto.
8609	* libc/sys/linux/net/getrpcent_r.c: Ditto.
8610	* libc/sys/linux/net/getservent_r.c: Ditto.
8611	* libc/sys/linux/net/getsrvbynm.c: Ditto.
8612	* libc/sys/linux/net/getsrvbynm_r.c: Ditto.
8613	* libc/sys/linux/net/getsrvbypt.c: Ditto.
8614	* libc/sys/linux/net/getsrvbypt_r.c: Ditto.
8615	* libc/sys/linux/net/grp-lookup.c: Ditto.
8616	* libc/sys/linux/net/herrno.c: Ditto.
8617	* libc/sys/linux/net/hosts-lookup.c: Ditto.
8618	* libc/sys/linux/net/ifaddrs.h: Ditto.
8619	* libc/sys/linux/net/ifreq.c: Ditto.
8620	* libc/sys/linux/net/ifreq.h: Ditto.
8621	* libc/sys/linux/net/in6_addr.c: Ditto.
8622	* libc/sys/linux/net/inet6_option.c: Ditto.
8623	* libc/sys/linux/net/inet_mkadr.c: Ditto.
8624	* libc/sys/linux/net/inet_net.c: Ditto.
8625	* libc/sys/linux/net/key-lookup.c: Ditto.
8626	* libc/sys/linux/net/local.h: Ditto.
8627	* libc/sys/linux/net/netgroup.h: Ditto.
8628	* libc/sys/linux/net/netgrp-lookup.c: Ditto.
8629	* libc/sys/linux/net/network-lookup.c: Ditto.
8630	* libc/sys/linux/net/not-cancel.h: Ditto.
8631	* libc/sys/linux/net/ns_samedomain.c: Ditto.
8632	* libc/sys/linux/net/nscd-types.h: Ditto.
8633	* libc/sys/linux/net/nss.h: Ditto.
8634	* libc/sys/linux/net/nsswitch.c: Ditto.
8635	* libc/sys/linux/net/nsswitch.h: Ditto.
8636	* libc/sys/linux/net/opensock.c: Ditto.
8637	* libc/sys/linux/net/proto-lookup.c: Ditto.
8638	* libc/sys/linux/net/pwd-lookup.c: Ditto.
8639	* libc/sys/linux/net/res_debug.h: Ditto.
8640	* libc/sys/linux/net/res_hconf.c: Ditto.
8641	* libc/sys/linux/net/res_hconf.h: Ditto.
8642	* libc/sys/linux/net/rexec.c: Ditto.
8643	* libc/sys/linux/net/rpc-lookup.c: Ditto.
8644	* libc/sys/linux/net/ruserpass.c: Ditto.
8645	* libc/sys/linux/net/service-lookup.c: Ditto.
8646	* libc/sys/linux/net/spwd-lookup.c: Ditto.
8647	* libc/sys/linux/net/nscd/nscd-client.h: Ditto.
8648	* libc/sys/linux/net/nscd/nscd_proto.h: Ditto.
8649
86502008-05-21  Eric Blake  <ebb9@byu.net>
8651
8652	Optimize the generic strchr.
8653	* libc/string/strchr.c (strchr) [!__OPTIMIZE_SIZE__]: Pre-align
8654	data so unaligned searches aren't penalized.  Special-case
8655	searching for 0.
8656
8657	Optimize strchr for x86.
8658	* libc/machine/i386/strchr.S (strchr) [!__OPTIMIZE_SIZE__]:
8659	Pre-align data so unaligned searches aren't penalized.
8660	Special-case searching for 0.
8661
86622008-05-20  Nick Clifton  <nickc@redhat.com>
8663
8664	* libc/sys/sysnecv850/crt0.S (___dso_handle): Define (weak).
8665
86662008-05-20  DJ Delorie  <dj@redhat.com>
8667
8668	* libc/sys/sysnecv850/isatty.c (_isatty): Renamed from isatty.
8669
86702008-05-14  Jeff Johnston  <jjohnstn@redhat.com>
8671
8672	* libc/include/sys/reent.h: Change _REENT_INIT... macros to
8673	access macro parameter with parentheses around it.
8674
86752008-04-26  Mark Mitchell  <mark@codesourcery.com>
8676
8677	* libc/include/stdint.h (SIZE_MIN): Remove.
8678	(SIZE_MAX): Define.
8679	* testsuite/newlib.stdlib/stdlib.exp: New.
8680	* testsuite/newlib.stdlib/size_max.c: Likewise.
8681
86822008-04-29  Eric Blake  <ebb9@byu.net>
8683
8684	Fix 2008-04-14 regression in asprintf(ptr,"").
8685	* libc/stdio/asnprintf.c (asnprintf, _asnprintf_r): Avoid stdio
8686	baggage.
8687	* libc/stdio/asniprintf.c (asniprintf, _asniprintf_r): Likewise.
8688	* libc/stdio/asiprintf.c (asiprintf, _asiprintf_r): Likewise.
8689	* libc/stdio/vasniprintf.c (_vasniprintf_r): Likewise.
8690	* libc/stdio/vsnprintf.c (_vsnprintf_r): Likewise.
8691	* libc/stdio/vfprintf.c (_VFPRINTF_R) [STRING_ONLY]: Always malloc
8692	an initial buffer for asprintf.
8693
86942008-04-24  Corinna Vinschen  <corinna@vinschen.de>
8695
8696	* libc/include/sys/stat.h: Guard at-functions with !__INSIDE_CYGWIN__.
8697	(fstatat): Fix type of third parameter.
8698
86992008-04-25  Nick Clifton  <nickc@redhat.com>
8700
8701	* libc/machine/arm/setjmp.S: Fix thumb2 support.
8702
87032008-04-24  Nick Clifton  <nickc@redhat.com>
8704
8705	* libc/include/machine/ieeefp.h: Fix typo: _DOUBLE_IS_32_BITS
8706	should be _DOUBLE_IS_32BITS.
8707
87082008-04-24  Corinna Vinschen  <corinna@vinschen.de>
8709
8710	* libc/include/sys/stat.h (UTIME_NOW): Define for Cygwin.
8711	(UTIME_OMIT): Ditto.
8712	(utimensat): Declare for Cygwin.
8713	(futimens): Ditto.
8714
87152008-04-23  Ken Werner  <ken.werner@de.ibm.com>
8716
8717	* libc/include/_ansi.h: _LONG_LONG renamed to _LONG_LONG_TYPE.
8718	* libc/include/math.h: Likewise.
8719
87202008-04-23  Corinna Vinschen  <corinna@vinschen.de>
8721
8722	* libc/include/stdio.h (renameat): Declare for Cygwin.
8723	(symlinkat): Ditto.
8724	* libc/include/sys/unistd.h (readlink): Align declaration to POSIX.
8725	(faccessat): Declare for Cygwin.
8726	(fchownat): Ditto.
8727	(linkat): Ditto.
8728	(readlinkat): Ditto.
8729	* libc/include/sys/_default_fcntl.h (AT_FDCWD): Define for Cygwin.
8730	(AT_EACCESS): Ditto.
8731	(AT_SYMLINK_NOFOLLOW): Ditto.
8732	(AT_SYMLINK_FOLLOW): Ditto.
8733	(AT_REMOVEDIR): Ditto.
8734	(futimesat): Declare for Cygwin.
8735	(openat): Ditto.
8736	(unlinkat): Ditto.
8737	* libc/include/sys/stat.h (fchmodat): Ditto.
8738	(fstatat): Ditto.
8739	(mkdirat): Ditto.
8740	(mkfifoat): Ditto.
8741	(mknodat): Ditto.
8742
87432008-04-22  Nick Clifton  <nickc@redhat.com>
8744
8745	* libc/machine/arm/setjmp.S: Add support for thumb2 multiple
8746	register load/store instructions.
8747
87482008-04-16  Patrick Mansfield  <patmans@us.ibm.com>
8749
8750	* libc/machine/spu/sys/errno.h: Use _impure_data, not _reent_data.
8751
87522008-04-16  Patrick Mansfield  <patmans@us.ibm.com>
8753
8754	* libc/machine/spu/impure.c: Add missing underscore to impure_data.
8755
87562008-04-14  Patrick Mansfield  <patmans@us.ibm.com>
8757
8758	* libc/machine/spu/impure.c: New file, supply a non-static _impure_data.
8759	* libc/machine/spu/Makefile.am: Add new file impure.c.
8760	* libc/machine/spu/Makefile.in: Regenerate.
8761	* libc/machine/spu/sys/errno.h: Define errno to be _reent_data._errno.
8762
87632008-04-14  Jeff Johnston  <jjohnstn@redhat.com>
8764
8765	* libc/stdio/Makefile.am: Build vfprintf.c and vfscanf.c with
8766	-DSTRING_ONLY defined with and without -DINTEGER_ONLY defined
8767	to build special versions for sprintf/sscanf family functions.
8768	* libc/stdio/Makefile.in: Regenerated.
8769	* libc/stdio/vfprintf.c[STRING_ONLY][INTEGER_ONLY](_VFPRINTF_R):
8770	Redefine to be _svfiprintf_r which is optimized to work with siprintf
8771	family of functions (i.e. no I/O) and does not support floating-point.
8772	[STRING_ONLY][!INTEGER_ONLY](_VFPRINTF_R): Redefine to be
8773	_svfprintf_r which is optimized to work with sprintf family of
8774	functions and not use I/O.
8775	[STRING_ONLY](__sprint_r): New string only version of static function.
8776	designed to work with sprintf family of functions.
8777	* libc/stdio/vfscanf.c[STRING_ONLY][INTEGER_ONLY](_SVFSCANF_R):
8778	Redefine to be _ssvfiscanf_r which is optimized to work with siscanf
8779	family of functions (i.e. no I/O) and no float-point support.
8780	[STRING_ONLY][!INTEGER_ONLY](_SVFSCANF_R): Redefine to be
8781	__ssvfscanf_r which is optimized to work with sscanf family of
8782	functions and does not require I/O functions.
8783	* libc/stdio/asprintf.c: Call _svfprintf_r instead of _vfprintf_r.
8784	* libc/stdio/snprintf.c: Ditto.
8785	* libc/stdio/sprintf.c: Ditto.
8786	* libc/stdio/vasnprintf.c: Ditto.
8787	* libc/stdio/vasprintf.c: Ditto.
8788	* libc/stdio/siprintf.c: Call _svfiprintf_r instead of _vfiprintf_r.
8789	* libc/stdio/sniprintf.c: Ditto.
8790	* libc/stdio/vasiprintf.c: Ditto.
8791	* libc/stdio/vsiprintf.c: Ditto.
8792	* libc/stdio/vsniprintf.c: Ditto.
8793	* libc/stdio/vsprintf.c: Ditto.
8794	* libc/stdio/local.h: Add prototypes for _svfprintf_r, _svfiprintf_r,
8795	_ssvfscanf_r, and _ssvfiscanf_r.
8796	* libc/stdio/sscanf.c: Call _ssvfscanf_r instead of _svfscanf_r.
8797	* libc/stdio/vsscanf.c: Ditto.
8798	* libc/stdio/siscanf.c: Call _ssvfiscanf_r instead of _svfiscanf_r.
8799	* libc/stdio/vsiscanf.c: Ditto.
8800
88012008-04-04  DJ Delorie  <dj@redhat.com>
8802
8803	* libm/machine/spu/configure: Regenerate with autoconf 2.61.
8804	* libc/sys/configure: Regenerate with autoconf 2.61.
8805	* libc/machine/configure: Regenerate with autoconf 2.61.
8806
88072008-04-01 Patrick Mansfield <patmans@us.ibm.com>
8808
8809	* libc/machine/spu/memcmp.c: New file for SPU optimized memcmp.
8810	* libc/machine/spu/strncmp.h: New file supply _strncmp_internal.
8811	* libc/machine/spu/Makefile.am: Add memcmp.c.
8812	* libc/machine/spu/Makefile.in: Rebuild.
8813	* libc/machine/spu/strncmp.c: Use _strncmp_internal.
8814
88152008-04-01 Patrick Mansfield <patmans@us.ibm.com>
8816
8817	* configure.host: Build SPU with -DREENTRANT_SYSCALLS_PROVIDED and
8818	  -DMISSING_SYSCALL_NAMES.
8819
88202008-04-01 Patrick Mansfield <patmans@us.ibm.com>
8821
8822	* libc/machine/spu/Makefile.am: Add assert.c.
8823	* libc/machine/spu/Makefile.in: Regenerate.
8824	* libc/machine/spu/assert.c: New file.
8825
88262008-03-27 Patrick Mansfield <patmans@us.ibm.com>
8827
8828	* libc/include/reent.h: Define _func_r functions in this file to
8829	func if REENTRANT_SYSCALLS_PROVIDED and MISSING_SYSCALL_NAMES are
8830	defined.
8831
88322008-03-27  Corinna Vinschen  <corinna@vinschen.de>
8833
8834	* libc/include/sys/unistd.h: Declare lockf(2) and define lockf
8835	constants when building for Cygwin.
8836
88372008-03-11  Jeff Johnston  <jjohnstn@redhat.com>
8838
8839	* libc/stdio/rgetc.c (__srget_r): Invoke CHECK_INIT to ensure
8840	stdin gets resolved properly before refilling.
8841
88422008-03-07  Jeff Johnston  <jjohnstn@redhat.com>
8843
8844	* libc/include/getopt.h: Hide newlib extensions under
8845	the __need_getopt_newlib flag.
8846	* libc/stdlib/getopt.c: #define __need_getopt_newlib before including
8847	getopt.h.  Put entire code under !HAVE_GETOPT to support platforms
8848	with their own getopt implementation.
8849	* configure.host: Specify HAVE_GETOPT for x86-linux.
8850
88512008-03-07  Jeff Johnston  <jjohnstn@redhat.com>
8852
8853	* libc/include/sys/reent.h(_REENT_SMALL_CHECK_INIT): Specify
8854	this macro completely instead of referring to CHECK_STD_INIT which
8855	is only found in libc/stdio/local.h.
8856	* libc/stdio/dprintf.c: Add include of local.h.
8857	* libc/stdio/vdprintf.c: Ditto.
8858	* libc/stdio/vdiprintf.c: Ditto.
8859
88602008-03-04  Eric Blake  <ebb9@byu.net>
8861
8862	Fix strtod("nan()", ptr).
8863	* libc/stdlib/gdtoa-hexnan.c (hexnan): When the optional
8864	n-char-sequence is omitted, still parse the ().
8865
88662008-03-03  Eric Blake  <ebb9@byu.net>
8867
8868	Fix ftell bug after ungetc.
8869	* libc/stdio/ftell.c (_ftell_r): Don't flush ungetc buffer on
8870	ftell.
8871	* libc/stdio64/ftello64.c (_ftello64_r): Likewise.
8872	* libc/stdio/fflush.c (_fflush_r): Clear unget buffer when
8873	repositioning underlying fd offset.
8874
88752008-03-02  Jeff Johnston  <jjohnstn@redhat.com>
8876
8877	* libc/include/getopt.h (no_argument): Added for glibc compatibility.
8878	(required_argument, optional_argument): Ditto.
8879
88802008-02-29  Gregory Pietsch  <gpietsch@comcast.net>
8881
8882	* libc/stdlib/getopt.c (getopt_internal): Rewrite to accept
8883	data area so as to support reentrant calls.  Change all callers
8884	to fill in data area with global values and restore any changes
8885	to the global values after call.
8886	(__getopt_r, __getopt_long_r, __getopt_long_only_r): New routines
8887	to support reentrancy that add a data area argument.
8888	* libc/include/getopt.h: Add new _r routines and provide macros
8889	so they can be called with using double-underscores.
8890
88912008-02-21  Eric Blake  <ebb9@byu.net>
8892
8893	Fix strtod("-0x", NULL).
8894	* libc/stdlib/strtod.c (_strtod_r): Fall back to 0 if hex parse
8895	fails.
8896
88972008-02-12  Jeff Johnston  <jjohnstn@redhat.com>
8898
8899	* libc/machine/powerpc/vfprintf.c (_VFPRINTF_R): Prepare
8900	for user specifying --disable-newlib-io-long-long on configure.
8901	Call _fflush_r instead of fflush.  For _mbtowc_r, pass the
8902	reentrant pointer passed in rather than _REENT.
8903
89042008-02-12  Peter Rosin  <peda@lysator.liu.se>
8905
8906	* libc/stdlib/getopt.c (getopt_internal): Handle optional
8907	arguments better for long options and short options not
8908	appearing as the first option in a sequence.
8909
89102008-02-11  Patrick Mansfield  <patmans@us.ibm.com>
8911
8912	* libc/machine/spu/straddr.h: New file, supplies _straddr.
8913	* libc/machine/spu/strcat.c: Use _straddr and _strcpy.
8914	* libc/machine/spu/strcpy.c: Use _strcpy.
8915	* libc/machine/spu/strcpy.h: Supply _strcpy for optimized SPU
8916	str[n]cpy and str[n]cat.
8917	* libc/machine/spu/strncat.c: Use _straddr and _strcpy.
8918	* libc/machine/spu/strncpy.c: Use _strcpy.
8919
89202008-02-11  Patrick Mansfield  <patmans@us.ibm.com>
8921
8922	* libc/machine/spu/strlen.c: Remove the len variable and unneeded
8923	calculation of its value.
8924
89252008-01-25  Hans-Peter Nilsson  <hp@bitrange.com>
8926
8927	* libc/sys/mmixware/isatty.c (_isatty): Renamed from isatty.
8928	Make ISO C.
8929
89302008-01-21  DJ Delorie  <dj@redhat.com>
8931
8932	* libc/sys/sh/syscalls.c (_isatty): New.
8933
89342008-01-21  Neal H. Walfield  <neal@gnu.org>
8935
8936	* Makefile.am (crt1.o): Use correct source.
8937	* Makefile.in: Regenerated.
8938
89392008-01-15  Eric Blake  <ebb9@byu.net>
8940
8941	* libc/string/Makefile.am (ELIX_2_SOURCES): Fix definition.
8942	* libc/string/Makefile: Regenerate.
8943
89442008-01-15  Corinna Vinschen  <corinna@vinschen.de>
8945
8946	* libc/include/machine/setjmp.h (__SIGMASK_FUNC): Define as
8947	pthread_sigmask or sigprocmask depending on _POSIX_THREADS.
8948	(sigsetjmp): Use __SIGMASK_FUNC.
8949	(siglongjmp): Ditto.
8950	(_setjmp): Define as macro.
8951	(_longjmp): Ditto.
8952
89532008-01-11  Eric Blake  <ebb9@byu.net>
8954
8955	Make strstr and strcasestr O(n), not O(n^2); add memmem.
8956	* libc/string/str-two-way.h: New file.
8957	* libc/string/memmem.c (memmem): New file.
8958	* libc/include/string.h (memmem): Declare for all platforms.
8959	* libc/string/strstr.c (strstr): Provide O(n) implementation when
8960	not optimizing for space.
8961	* libc/string/strcasestr.c (strcasestr): Likewise.
8962	* libc/string/Makefile.am (ELIX_SOURCES): Rename to...
8963	(ELIX_2_SOURCES): ...this.
8964	(ELIX_4_SOURCES): New category, for memmem.
8965	(lib_a_SOURCES, libstring_la_SOURCES): Build new file.
8966	(CHEWOUT_FILES): Build documentation for memmem.
8967	* libc/string/strings.tex: Include new docs.
8968
89692008-01-08  Jeff Johnston  <jjohnstn@redhat.com>
8970
8971	* libc/machine/m68k/memcpy.S: Remove % from register references
8972	as this is already handled by m68kasm.h.
8973	* libc/machine/m68k/memset.S: Ditto.
8974
89752008-01-07  Jeff Johnston  <jjohnstn@redhat.com>
8976
8977	* libc/machine/m68k/m68kasm.h: New file.
8978	* libc/machine/m68k/setjmp.S: Remove common definitions and
8979	place in m68kasm.h.  Include "m68kasm.h".
8980	* libc/machine/m68k/memcpy.S: Include "m68kasm.h" and use
8981	SYM() macro when referencing function name.
8982	* libc/machine/m68k/memset.S: Ditto.
8983
89842008-01-03  Jeff Johnston  <jjohnstn@redhat.com>
8985
8986	Make isatty syscall handling consistent with other newlib syscalls.
8987
8988	* libc/include/_syslist.h: Add _isatty.
8989	* libc/include/reent.h: Add _isatty_r.
8990	* libc/include/sys/unistd.h: Add _isatty.
8991	* libc/posix/Makefile.am: Add new _isatty.c file.
8992	* libc/posix/Makefile.in: Regenerated.
8993	* libc/posix/_isatty.c: New file.
8994	* libc/posix/isatty.c: Changed to call _isatty().
8995	* libc/reent/Makefile.am: Add new isattyr.c file.
8996	* libc/reent/Makefile.in: Regenerated.
8997	* libc/reent/isattyr.c: New file.
8998	* libc/stdio/freopen.c: Changed to call _isatty_r().
8999	* libc/stdio/makebuf.c: Ditto.
9000	* libc/sys/a29khif/_isatty.S: Change isatty to _isatty.
9001	* libc/sys/arc/isatty.c: Ditto.
9002	* libc/sys/arm/syscalls.c: Ditto.
9003	* libc/sys/d10v/syscalls.c: Ditto.
9004	* libc/sys/h8300hms/syscalls.c: Ditto.
9005	* libc/sys/h8500hms/syscalls.c: Ditto.
9006	* libc/sys/linux/Makefile.am: Add new isatty.c file.
9007	* libc/sys/linux/Makefile.in: Regenerated.
9008	* libc/sys/linux/isatty.c: New file.
9009	* libc/syscalls/Makefile.am: Add new sysisatty.c file.
9010	* libc/syscalls/Makefile.in: Regenerated.
9011	* libc/syscalls/sysisatty.c: New file.
9012
90132008-01-02  Jeff Johnston  <jjohnstn@redhat.com>
9014
9015	* libc/syscalls/sysclose.c: Always call reentrant version of the
9016	underlying syscall since one is guaranteed to exist in libc/reent.
9017	* libc/syscalls/sysexecve.c: Ditto.
9018	* libc/syscalls/sysfcntl.c: Ditto.
9019	* libc/syscalls/sysfork.c: Ditto.
9020	* libc/syscalls/sysfstat.c: Ditto.
9021	* libc/syscalls/sysgetpid.c: Ditto.
9022	* libc/syscalls/sysgettod.c: Ditto.
9023	* libc/syscalls/syskill.c: Ditto.
9024	* libc/syscalls/syslink.c: Ditto.
9025	* libc/syscalls/syslseek.c: Ditto.
9026	* libc/syscalls/sysopen.c: Ditto.
9027	* libc/syscalls/sysread.c: Ditto.
9028	* libc/syscalls/syssbrk.c: Ditto.
9029	* libc/syscalls/sysstat.c: Ditto.
9030	* libc/syscalls/systimes.c: Ditto.
9031	* libc/syscalls/sysunlink.c: Ditto.
9032	* libc/syscalls/syswait.c: Ditto.
9033	* libc/syscalls/syswrite.c: Ditto.
9034
90352007-12-19  Jeff Johnston  <jjohnstn@redhat.com>
9036
9037	* NEWS: Update with 1.16.0 info.
9038	* README: Ditto.
9039	* acinclude.m4: Change version number to 1.16.0.
9040	* aclocal.m4: Regenerated.
9041	* configure: Ditto.
9042	* doc/aclocal.m4: Ditto.
9043	* doc/configure: Ditto.
9044	* libc/*/aclocal.m4: Ditto.
9045	* libc/*/configure: Ditto.
9046	* libc/libc.texinfo: Ditto.
9047	* libm/*/aclocal.m4: Ditto.
9048	* libm/*/configure: Ditto.
9049	* libm/libm.texinfo: Ditto.
9050	* libc/sys/linux/shared.ld: Add VERS_1.16.
9051
90522007-12-19  Jeff Johnston  <jjohnstn@redhat.com>
9053
9054	* libc/string/strcasestr.c: Remove id macro.
9055	* libc/sys/linux/linuxthreads/attr.c: Fix up sched_priority
9056	field reference to be __sched_priority.
9057	* libc/sys/linux/linuxthreads/joinrace.c: Ditto.
9058	* libc/sys/linux/linuxthreads/manager.c: Ditto.
9059	* libc/sys/linux/stdlib/collate.c: Remove id macro.
9060	* libc/sys/linux/stdlib/collcmp.c: Ditto.
9061	* libc/sys/linux/stdlib/engine.c: Ditto.
9062	* libc/sys/linux/stdlib/fnmatch.c: Ditto.
9063	* libc/sys/linux/stdlib/glob.c: Ditto.
9064	* libc/sys/linux/stdlib/reallocf.c: Ditto.
9065	* libc/sys/linux/stdlib/regcomp.c: Ditto.
9066	* libc/sys/linux/stdlib/regerror.c: Ditto.
9067	* libc/sys/linux/stdlib/regexec.c: Ditto.
9068	* libc/sys/linux/stdlib/regfree.c: Ditto.
9069	* libc/sys/linux/sys/cdefs.h: Replace with latest version.
9070	* libc/sys/linux/include/argp.h: Ditto.
9071	* libc/sys/linux/sys/libc-lock.h: New file.
9072	* libc/sys/linux/sys/stdint.h: Ditto.
9073	* libc/sys/linux/include/sched.h: New file.
9074
90752007-12-19  Dave Korn  <dave.korn@artimi.com>
9076	    Jeff Johnston  <jjohnstn@redhhat.com>
9077
9078	* libc/include/_ansi.h: Add _LONG_LONG definition.
9079	* libc/include/math.h (llrint, llrintf, rintl, lrintl, llrintl): Add
9080	prototypes.
9081	* libc/machine/i386/machine/fastmath.h: Add support for new i386
9082	fast math versions of rint, lrint, and llrint family functions.
9083	* libm/machine/i386/Makefile.am: Add new files.
9084	* libm/machine/i386/Makefile.in: Regenerated.
9085	* libm/machine/i386/f_llrint.c, libm/machine/i386/f_lrint.c,
9086	libm/machine/i386/f_rint.c, libm/machine/i386/f_llrintf.c,
9087	libm/machine/i386/f_lrintf.c, libm/machine/i386/f_rintf.c,
9088	libm/machine/i386/f_llrintl.c, libm/machine/i386/f_lrintl.c,
9089	libm/machine/i386/f_rintl.c:  New files with fast math implementations.
9090
90912007-12-19  Jeff Johnston  <jjohnstn@redhat.com>
9092
9093	* libc/include/sys/features.h: Add checks for C90 compilers using
9094	-ansi.
9095
90962007-12-19  Corinna Vinschen  <corinna@vinschen.de>
9097
9098	* libc/include/wchar.h: Add prototypes for wcpcpy and wcpncpy.
9099	* libc/string/Makefile.am (ELIX_SOURCES): Add wcpcpy.c and
9100	wcpncpy.c.
9101	(CHEWOUT_FILES): Add wcpcpy.def and wcpncpy.def.
9102	* libc/string/Makefile.in: Regenerate.
9103	* libc/string/wcpcpy.c: New file.
9104	* libc/string/wcpncpy.c: New file.
9105	* libc/string/wcstrings.tex: Add wcpcpy and wcpncpy.
9106
91072007-12-19  Corinna Vinschen  <corinna@vinschen.de>
9108
9109	* libc/stdio/vfprintf.c (_VFPRINTF_R): Use correct pointer in call to
9110	_wcsrtombs_r.
9111
91122007-11-19  Nick Clifton  <nickc@redhat.com>
9113
9114	* libc/machine/mn10300/Makefile.am (CCASFLAGS): Add -Wa,--gdwarf-2.
9115	* libc/machine/mn10300/Makefile.in: Regenerate.
9116	* libc/machine/mn10300/memchar.S: Remove redundant labels.  Add
9117	.debug_frame section.
9118	* libc/machine/mn10300/memcmp.S: Likewise.
9119	* libc/machine/mn10300/memcpy.S: Likewise.
9120	* libc/machine/mn10300/memset.S: Likewise.
9121	* libc/machine/mn10300/strchr.S: Likewise.
9122	* libc/machine/mn10300/strcmp.S: Likewise.
9123	* libc/machine/mn10300/strcpy.S: Likewise.
9124	* libc/machine/mn10300/strlen.S: Likewise.
9125
91262007-11-15  Jeff Johnston  <jjohnstn@redhat.com>
9127
9128	* libc/include/sys/_default_fcntl.h: New header file that
9129	is the default version of sys/fcntl.h.
9130	* libc/include/sys/fcntl.h: Changed to simply include
9131	sys/_default_fcntl.h.
9132	* libc/sys/arm/sys/fcntl.h: New file that includes
9133	sys/_default_fcntl.h and defines O_BINARY.
9134
91352007-11-08  Corinna Vinschen  <corinna@vinschen.de>
9136
9137	* libc/include/sys/unistd.h: Remove Cygwin definition of MAXPATHLEN.
9138
91392007-11-07  Dave Brolley  <brolley@redhat.com>
9140
9141	* libc/machine/configure: Regenerated to pick up mep-elf changes.
9142
9143	* Contribute mep-elf from Red Hat
9144	2006-10-27  DJ Delorie  <dj@redhat.com>
9145
9146	* libc/include/machine/setjmp.h: Add MeP support.
9147
9148	2003-04-17  DJ Delorie  <dj@redhat.com>
9149
9150	* configure.host (mep-*-*): Support "long long" type.
9151
9152	2001-06-06  DJ Delorie  <dj@redhat.com>
9153
9154	* libc/include/machine/ieeefp.h (mep): Support little endian too.
9155
9156	2001-05-14  DJ Delorie  <dj@redhat.com>
9157
9158	* configure.host: Add mep's machine_dir.
9159	* libc/include/setjmp.h: Add mep support.
9160	* libc/machine/mep: New.
9161	* libc/machine/mep/setjmp.S: New, support mep's setjmp/longjmp.
9162
9163	2001-05-04  DJ Delorie  <dj@redhat.com>
9164
9165	* configure.host: Add mep.
9166	* libc/include/machine/ieeefp.h: Ditto.
9167
91682007-10-31  DJ Delorie  <dj@redhat.com>
9169
9170	* libc/signal/signal.c (_raise_r): Don't attempt to initialize the
9171	signal table, just use a default, in case initialization cause
9172	recursion.
9173
91742007-10-23  Jeff Johnston  <jjohnstn@redhat.com>
9175
9176	* libc/stdlib/wcstombs_r.c: Add SUSV2 support for calculating
9177	size if output buffer is NULL.
9178
91792007-10-17  Jeff Johnston  <jjohnstn@redhat.com>
9180
9181	* libm/mathfp/s_logarithm.c: Fix error introduced by previous
9182	fix when handling negative input values.  Make function
9183	consistent with math directory and glibc version such that
9184	inf and nan values return inf and nan respectively with no
9185	errno setting.
9186	* libm/mathfp/sf_logarithm.c: Ditto.
9187	* libm/math/w_log.c: Set errno to ERANGE when input is 0.0.
9188	* libm/math/wf_log.c: Ditto.
9189	* libm/math/w_log10.c: Ditto.
9190	* libm/math/wf_log10.c: Ditto.
9191
91922007-10-17  Jeff Johnston  <jjohnstn@redhat.com>
9193
9194	* libm/mathfp/s_logarithm.c: Fix case where input is 0 to
9195	return -inf.
9196	* libm/mathfp/sf_logarithm.c: Ditto.
9197
91982007-10-17  Jeff Johnston  <jjohnstn@redhat.com>
9199
9200	* libc/machine/i386/machine/fastmath.h: New file.
9201
92022007-10-13  Eric Blake  <ebb9@byu.net>
9203
9204	* libc/stdio/vfprintf.c (_VFPRINTF_R) [__OPTIMIZE_SIZE__]:
9205	Correctly nest else within conditionals.
9206	Reported by Artur Lipowski.
9207
92082007-10-09  Nick Clifton  <nickc@redhat.com>
9209
9210	* libc/sys/linux/dl/do-lookup.h (FCT): Support symbols with
9211	the STT_COMMON type.
9212
92132007-10-09  Ben Elliston  <bje@au.ibm.com>
9214
9215	* libm/machine/spu/headers/acosd2.h: Include spu_intrinsics.h
9216	before simdmath.h to get a definition for `vector'.
9217	* libm/machine/spu/headers/asind2.h: Likewise.
9218
92192007-09-28  Patrick Mansfield  <patmans@us.ibm.com>
9220
9221	* libm/machine/spu/headers/dom_chkd_less_than.h: New file.
9222	* libm/machine/spu/headers/dom_chkd_negone_one.h: Ditto.
9223	* libm/machine/spu/headers/dom_chkf_less_than.h: Ditto.
9224	* libm/machine/spu/headers/dom_chkf_negone_one.h: Ditto.
9225	* libm/machine/spu/headers/acos.h: Add domain check.
9226	* libm/machine/spu/headers/acosf.h: Ditto.
9227	* libm/machine/spu/headers/acosh.h: Ditto.
9228	* libm/machine/spu/headers/acoshf.h: Ditto.
9229	* libm/machine/spu/headers/asin.h: Ditto.
9230	* libm/machine/spu/headers/asinf.h: Ditto.
9231	* libm/machine/spu/headers/atanh.h: Ditto.
9232	* libm/machine/spu/headers/atanhf.h: Ditto.
9233	* libm/machine/spu/headers/fmod.h: Ditto.
9234	* libm/machine/spu/headers/fmodf.h: Ditto.
9235	* libm/machine/spu/headers/log.h: Ditto.
9236	* libm/machine/spu/headers/log10.h: Ditto.
9237	* libm/machine/spu/headers/log1p.h: Ditto.
9238	* libm/machine/spu/headers/log1pf.h: Ditto.
9239	* libm/machine/spu/headers/log2.h: Ditto.
9240	* libm/machine/spu/headers/log2f.h: Ditto.
9241	* libm/machine/spu/headers/sqrt.h: Ditto.
9242	* libm/machine/spu/headers/sqrtf.h: Ditto.
9243	* libm/machine/spu/headers/tgamma.h: Ditto.
9244	* libm/machine/spu/headers/tgammaf.h: Ditto.
9245
92462007-09-28  Patrick Mansfield  <patmans@us.ibm.com>
9247
9248	* libm/machine/spu/Makefile.am: Add new C files.
9249	* libm/machine/spu/Makefile.in: Regenerate.
9250	* libm/machine/spu/headers/acos.h: New file.
9251	* libm/machine/spu/headers/acosd2.h: Ditto.
9252	* libm/machine/spu/headers/acosf.h: Ditto.
9253	* libm/machine/spu/headers/acosf4.h: Ditto.
9254	* libm/machine/spu/headers/acosh.h: Ditto.
9255	* libm/machine/spu/headers/acoshd2.h: Ditto.
9256	* libm/machine/spu/headers/acoshf.h: Ditto.
9257	* libm/machine/spu/headers/acoshf4.h: Ditto.
9258	* libm/machine/spu/headers/asin.h: Ditto.
9259	* libm/machine/spu/headers/asind2.h: Ditto.
9260	* libm/machine/spu/headers/asinf.h: Ditto.
9261	* libm/machine/spu/headers/asinf4.h: Ditto.
9262	* libm/machine/spu/headers/asinh.h: Ditto.
9263	* libm/machine/spu/headers/asinhd2.h: Ditto.
9264	* libm/machine/spu/headers/asinhf.h: Ditto.
9265	* libm/machine/spu/headers/asinhf4.h: Ditto.
9266	* libm/machine/spu/headers/atan.h: Ditto.
9267	* libm/machine/spu/headers/atan2.h: Ditto.
9268	* libm/machine/spu/headers/atan2d2.h: Ditto.
9269	* libm/machine/spu/headers/atan2f.h: Ditto.
9270	* libm/machine/spu/headers/atan2f4.h: Ditto.
9271	* libm/machine/spu/headers/atand2.h: Ditto.
9272	* libm/machine/spu/headers/atanf4.h: Ditto.
9273	* libm/machine/spu/headers/atanh.h: Ditto.
9274	* libm/machine/spu/headers/atanhd2.h: Ditto.
9275	* libm/machine/spu/headers/atanhf.h: Ditto.
9276	* libm/machine/spu/headers/atanhf4.h: Ditto.
9277	* libm/machine/spu/headers/cos.h: Ditto.
9278	* libm/machine/spu/headers/cos_sin.h: Ditto.
9279	* libm/machine/spu/headers/cosd2.h: Ditto.
9280	* libm/machine/spu/headers/cosf.h: Ditto.
9281	* libm/machine/spu/headers/cosf4.h: Ditto.
9282	* libm/machine/spu/headers/cosh.h: Ditto.
9283	* libm/machine/spu/headers/coshd2.h: Ditto.
9284	* libm/machine/spu/headers/coshf.h: Ditto.
9285	* libm/machine/spu/headers/coshf4.h: Ditto.
9286	* libm/machine/spu/headers/divd2.h: Ditto.
9287	* libm/machine/spu/headers/divf4.h: Ditto.
9288	* libm/machine/spu/headers/erf.h: Ditto.
9289	* libm/machine/spu/headers/erf_utils.h: Ditto.
9290	* libm/machine/spu/headers/erfc.h: Ditto.
9291	* libm/machine/spu/headers/erfcd2.h: Ditto.
9292	* libm/machine/spu/headers/erfcf.h: Ditto.
9293	* libm/machine/spu/headers/erfcf4.h: Ditto.
9294	* libm/machine/spu/headers/erfd2.h: Ditto.
9295	* libm/machine/spu/headers/erff.h: Ditto.
9296	* libm/machine/spu/headers/erff4.h: Ditto.
9297	* libm/machine/spu/headers/exp.h: Ditto.
9298	* libm/machine/spu/headers/exp2.h: Ditto.
9299	* libm/machine/spu/headers/exp2d2.h: Ditto.
9300	* libm/machine/spu/headers/exp2f4.h: Ditto.
9301	* libm/machine/spu/headers/expd2.h: Ditto.
9302	* libm/machine/spu/headers/expf4.h: Ditto.
9303	* libm/machine/spu/headers/expm1.h: Ditto.
9304	* libm/machine/spu/headers/expm1d2.h: Ditto.
9305	* libm/machine/spu/headers/expm1f.h: Ditto.
9306	* libm/machine/spu/headers/expm1f4.h: Ditto.
9307	* libm/machine/spu/headers/floord2.h: Ditto.
9308	* libm/machine/spu/headers/floorf4.h: Ditto.
9309	* libm/machine/spu/headers/hypot.h: Ditto.
9310	* libm/machine/spu/headers/hypotd2.h: Ditto.
9311	* libm/machine/spu/headers/hypotf.h: Ditto.
9312	* libm/machine/spu/headers/hypotf4.h: Ditto.
9313	* libm/machine/spu/headers/isnan.h: Ditto.
9314	* libm/machine/spu/headers/isnand2.h: Ditto.
9315	* libm/machine/spu/headers/isnanf.h: Ditto.
9316	* libm/machine/spu/headers/isnanf4.h: Ditto.
9317	* libm/machine/spu/headers/ldexpd2.h: Ditto.
9318	* libm/machine/spu/headers/ldexpf4.h: Ditto.
9319	* libm/machine/spu/headers/lgamma.h: Ditto.
9320	* libm/machine/spu/headers/lgammad2.h: Ditto.
9321	* libm/machine/spu/headers/lgammaf.h: Ditto.
9322	* libm/machine/spu/headers/lgammaf4.h: Ditto.
9323	* libm/machine/spu/headers/log.h: Ditto.
9324	* libm/machine/spu/headers/log10.h: Ditto.
9325	* libm/machine/spu/headers/log10d2.h: Ditto.
9326	* libm/machine/spu/headers/log1p.h: Ditto.
9327	* libm/machine/spu/headers/log1pd2.h: Ditto.
9328	* libm/machine/spu/headers/log1pf.h: Ditto.
9329	* libm/machine/spu/headers/log1pf4.h: Ditto.
9330	* libm/machine/spu/headers/log2.h: Ditto.
9331	* libm/machine/spu/headers/log2d2.h: Ditto.
9332	* libm/machine/spu/headers/log2f4.h: Ditto.
9333	* libm/machine/spu/headers/logbf.h: Ditto.
9334	* libm/machine/spu/headers/logbf4.h: Ditto.
9335	* libm/machine/spu/headers/logd2.h: Ditto.
9336	* libm/machine/spu/headers/logf4.h: Ditto.
9337	* libm/machine/spu/headers/nearbyintf.h: Ditto.
9338	* libm/machine/spu/headers/nearbyintf4.h: Ditto.
9339	* libm/machine/spu/headers/nextafter.h: Ditto.
9340	* libm/machine/spu/headers/nextafterd2.h: Ditto.
9341	* libm/machine/spu/headers/nextafterf.h: Ditto.
9342	* libm/machine/spu/headers/nextafterf4.h: Ditto.
9343	* libm/machine/spu/headers/pow.h: Ditto.
9344	* libm/machine/spu/headers/powd2.h: Ditto.
9345	* libm/machine/spu/headers/powf.h: Ditto.
9346	* libm/machine/spu/headers/powf4.h: Ditto.
9347	* libm/machine/spu/headers/recipd2.h: Ditto.
9348	* libm/machine/spu/headers/recipf4.h: Ditto.
9349	* libm/machine/spu/headers/rintf.h: Ditto.
9350	* libm/machine/spu/headers/rintf4.h: Ditto.
9351	* libm/machine/spu/headers/scalbnf4.h: Ditto.
9352	* libm/machine/spu/headers/signbit.h: Ditto.
9353	* libm/machine/spu/headers/signbitd2.h: Ditto.
9354	* libm/machine/spu/headers/simdmath.h: Ditto.
9355	* libm/machine/spu/headers/sin.h: Ditto.
9356	* libm/machine/spu/headers/sincos.h: Ditto.
9357	* libm/machine/spu/headers/sincosd2.h: Ditto.
9358	* libm/machine/spu/headers/sincosf.h: Ditto.
9359	* libm/machine/spu/headers/sincosf4.h: Ditto.
9360	* libm/machine/spu/headers/sind2.h: Ditto.
9361	* libm/machine/spu/headers/sinf.h: Ditto.
9362	* libm/machine/spu/headers/sinf4.h: Ditto.
9363	* libm/machine/spu/headers/sinh.h: Ditto.
9364	* libm/machine/spu/headers/sinhd2.h: Ditto.
9365	* libm/machine/spu/headers/sinhf.h: Ditto.
9366	* libm/machine/spu/headers/sinhf4.h: Ditto.
9367	* libm/machine/spu/headers/sqrtd2.h: Ditto.
9368	* libm/machine/spu/headers/sqrtf.h: Ditto.
9369	* libm/machine/spu/headers/sqrtf4.h: Ditto.
9370	* libm/machine/spu/headers/tan.h: Ditto.
9371	* libm/machine/spu/headers/tand2.h: Ditto.
9372	* libm/machine/spu/headers/tanf.h: Ditto.
9373	* libm/machine/spu/headers/tanf4.h: Ditto.
9374	* libm/machine/spu/headers/tanh.h: Ditto.
9375	* libm/machine/spu/headers/tanhd2.h: Ditto.
9376	* libm/machine/spu/headers/tanhf.h: Ditto.
9377	* libm/machine/spu/headers/tanhf4.h: Ditto.
9378	* libm/machine/spu/headers/tgamma.h: Ditto.
9379	* libm/machine/spu/headers/tgammad2.h: Ditto.
9380	* libm/machine/spu/headers/tgammaf.h: Ditto.
9381	* libm/machine/spu/headers/tgammaf4.h: Ditto.
9382	* libm/machine/spu/headers/truncd2.h: Ditto.
9383	* libm/machine/spu/headers/truncf4.h: Ditto.
9384	* libm/machine/spu/log2.c: Ditto.
9385	* libm/machine/spu/s_asinh.c: Ditto.
9386	* libm/machine/spu/s_atan.c: Ditto.
9387	* libm/machine/spu/s_cos.c: Ditto.
9388	* libm/machine/spu/s_erf.c: Ditto.
9389	* libm/machine/spu/s_expm1.c: Ditto.
9390	* libm/machine/spu/s_isnan.c: Ditto.
9391	* libm/machine/spu/s_log1p.c: Ditto.
9392	* libm/machine/spu/s_nextafter.c: Ditto.
9393	* libm/machine/spu/s_sin.c: Ditto.
9394	* libm/machine/spu/s_tan.c: Ditto.
9395	* libm/machine/spu/s_tanh.c: Ditto.
9396	* libm/machine/spu/sf_asinh.c: Ditto.
9397	* libm/machine/spu/sf_cos.c: Ditto.
9398	* libm/machine/spu/sf_erf.c: Ditto.
9399	* libm/machine/spu/sf_expm1.c: Ditto.
9400	* libm/machine/spu/sf_log1p.c: Ditto.
9401	* libm/machine/spu/sf_logb.c: Ditto.
9402	* libm/machine/spu/sf_nearbyint.c: Ditto.
9403	* libm/machine/spu/sf_nextafter.c: Ditto.
9404	* libm/machine/spu/sf_rint.c: Ditto.
9405	* libm/machine/spu/sf_sin.c: Ditto.
9406	* libm/machine/spu/sf_tan.c: Ditto.
9407	* libm/machine/spu/sf_tanh.c: Ditto.
9408	* libm/machine/spu/w_acos.c: Ditto.
9409	* libm/machine/spu/w_acosh.c: Ditto.
9410	* libm/machine/spu/w_asin.c: Ditto.
9411	* libm/machine/spu/w_atan2.c: Ditto.
9412	* libm/machine/spu/w_atanh.c: Ditto.
9413	* libm/machine/spu/w_cosh.c: Ditto.
9414	* libm/machine/spu/w_exp.c: Ditto.
9415	* libm/machine/spu/w_exp2.c: Ditto.
9416	* libm/machine/spu/w_hypot.c: Ditto.
9417	* libm/machine/spu/w_lgamma.c: Ditto.
9418	* libm/machine/spu/w_log.c: Ditto.
9419	* libm/machine/spu/w_log10.c: Ditto.
9420	* libm/machine/spu/w_pow.c: Ditto.
9421	* libm/machine/spu/w_sincos.c: Ditto.
9422	* libm/machine/spu/w_sinh.c: Ditto.
9423	* libm/machine/spu/w_tgamma.c: Ditto.
9424	* libm/machine/spu/wf_acos.c: Ditto.
9425	* libm/machine/spu/wf_acosh.c: Ditto.
9426	* libm/machine/spu/wf_asin.c: Ditto.
9427	* libm/machine/spu/wf_atan2.c: Ditto.
9428	* libm/machine/spu/wf_atanh.c: Ditto.
9429	* libm/machine/spu/wf_cosh.c: Ditto.
9430	* libm/machine/spu/wf_hypot.c: Ditto.
9431	* libm/machine/spu/wf_lgamma.c: Ditto.
9432	* libm/machine/spu/wf_pow.c: Ditto.
9433	* libm/machine/spu/wf_sincos.c: Ditto.
9434	* libm/machine/spu/wf_sinh.c: Ditto.
9435	* libm/machine/spu/wf_sqrt.c: Ditto.
9436	* libm/machine/spu/wf_tgamma.c: Ditto.
9437
94382007-09-28  Patrick Mansfield  <patmans@us.ibm.com>
9439
9440	* configure.host: Define _POSIX_MODE to match the existing vector
9441	math code, as we don't support the matherr callout.
9442	* libm/machine/spu/Makefile.am: New file.
9443	* libm/machine/spu/Makefile.in: Auto-generated.
9444	* libm/machine/spu/headers/atanf.h: New file.
9445	* libm/machine/spu/headers/cbrt.h: Ditto.
9446	* libm/machine/spu/headers/cbrtf.h: Ditto.
9447	* libm/machine/spu/headers/ceil.h: Ditto.
9448	* libm/machine/spu/headers/ceilf.h: Ditto.
9449	* libm/machine/spu/headers/copysign.h: Ditto.
9450	* libm/machine/spu/headers/copysignf.h: Ditto.
9451	* libm/machine/spu/headers/exp2f.h: Ditto.
9452	* libm/machine/spu/headers/expf.h: Ditto.
9453	* libm/machine/spu/headers/fabs.h: Ditto.
9454	* libm/machine/spu/headers/fabsf.h: Ditto.
9455	* libm/machine/spu/headers/fdim.h: Ditto.
9456	* libm/machine/spu/headers/fdimf.h: Ditto.
9457	* libm/machine/spu/headers/floor.h: Ditto.
9458	* libm/machine/spu/headers/floorf.h: Ditto.
9459	* libm/machine/spu/headers/fma.h: Ditto.
9460	* libm/machine/spu/headers/fmaf.h: Ditto.
9461	* libm/machine/spu/headers/fmax.h: Ditto.
9462	* libm/machine/spu/headers/fmaxf.h: Ditto.
9463	* libm/machine/spu/headers/fmin.h: Ditto.
9464	* libm/machine/spu/headers/fminf.h: Ditto.
9465	* libm/machine/spu/headers/fmod.h: Ditto.
9466	* libm/machine/spu/headers/fmodf.h: Ditto.
9467	* libm/machine/spu/headers/frexp.h: Ditto.
9468	* libm/machine/spu/headers/frexpf.h: Ditto.
9469	* libm/machine/spu/headers/ilogb.h: Ditto.
9470	* libm/machine/spu/headers/ilogbf.h: Ditto.
9471	* libm/machine/spu/headers/ldexp.h: Ditto.
9472	* libm/machine/spu/headers/ldexpf.h: Ditto.
9473	* libm/machine/spu/headers/llrint.h: Ditto.
9474	* libm/machine/spu/headers/llrintf.h: Ditto.
9475	* libm/machine/spu/headers/llround.h: Ditto.
9476	* libm/machine/spu/headers/llroundf.h: Ditto.
9477	* libm/machine/spu/headers/log10f.h: Ditto.
9478	* libm/machine/spu/headers/log2f.h: Ditto.
9479	* libm/machine/spu/headers/logf.h: Ditto.
9480	* libm/machine/spu/headers/lrint.h: Ditto.
9481	* libm/machine/spu/headers/lrintf.h: Ditto.
9482	* libm/machine/spu/headers/lround.h: Ditto.
9483	* libm/machine/spu/headers/lroundf.h: Ditto.
9484	* libm/machine/spu/headers/nearbyint.h: Ditto.
9485	* libm/machine/spu/headers/remainder.h: Ditto.
9486	* libm/machine/spu/headers/remainderf.h: Ditto.
9487	* libm/machine/spu/headers/remquo.h: Ditto.
9488	* libm/machine/spu/headers/remquof.h: Ditto.
9489	* libm/machine/spu/headers/rint.h: Ditto.
9490	* libm/machine/spu/headers/round.h: Ditto.
9491	* libm/machine/spu/headers/roundf.h: Ditto.
9492	* libm/machine/spu/headers/scalbn.h: Ditto.
9493	* libm/machine/spu/headers/scalbnf.h: Ditto.
9494	* libm/machine/spu/headers/sqrt.h: Ditto.
9495	* libm/machine/spu/headers/trunc.h: Ditto.
9496	* libm/machine/spu/headers/truncf.h: Ditto.
9497	* libm/machine/spu/headers/vec_literal.h: Ditto.
9498	* libm/machine/spu/llrint.c: Ditto.
9499	* libm/machine/spu/llrintf.c: Ditto.
9500	* libm/machine/spu/llround.c: Ditto.
9501	* libm/machine/spu/llroundf.c: Ditto.
9502	* libm/machine/spu/log2f.c: Ditto.
9503	* libm/machine/spu/s_cbrt.c: Ditto.
9504	* libm/machine/spu/s_ceil.c: Ditto.
9505	* libm/machine/spu/s_copysign.c: Ditto.
9506	* libm/machine/spu/s_fabs.c: Ditto.
9507	* libm/machine/spu/s_fdim.c: Ditto.
9508	* libm/machine/spu/s_floor.c: Ditto.
9509	* libm/machine/spu/s_fma.c: Ditto.
9510	* libm/machine/spu/s_fmax.c: Ditto.
9511	* libm/machine/spu/s_fmin.c: Ditto.
9512	* libm/machine/spu/s_frexp.c: Ditto.
9513	* libm/machine/spu/s_ilogb.c: Ditto.
9514	* libm/machine/spu/s_ldexp.c: Ditto.
9515	* libm/machine/spu/s_lrint.c: Ditto.
9516	* libm/machine/spu/s_lround.c: Ditto.
9517	* libm/machine/spu/s_nearbyint.c: Ditto.
9518	* libm/machine/spu/s_remquo.c: Ditto.
9519	* libm/machine/spu/s_rint.c: Ditto.
9520	* libm/machine/spu/s_round.c: Ditto.
9521	* libm/machine/spu/s_scalbn.c: Ditto.
9522	* libm/machine/spu/s_trunc.c: Ditto.
9523	* libm/machine/spu/sf_atan.c: Ditto.
9524	* libm/machine/spu/sf_cbrt.c: Ditto.
9525	* libm/machine/spu/sf_ceil.c: Ditto.
9526	* libm/machine/spu/sf_copysign.c: Ditto.
9527	* libm/machine/spu/sf_fabs.c: Ditto.
9528	* libm/machine/spu/sf_fdim.c: Ditto.
9529	* libm/machine/spu/sf_floor.c: Ditto.
9530	* libm/machine/spu/sf_fma.c: Ditto.
9531	* libm/machine/spu/sf_fmax.c: Ditto.
9532	* libm/machine/spu/sf_fmin.c: Ditto.
9533	* libm/machine/spu/sf_frexp.c: Ditto.
9534	* libm/machine/spu/sf_ilogb.c: Ditto.
9535	* libm/machine/spu/sf_ldexp.c: Ditto.
9536	* libm/machine/spu/sf_lrint.c: Ditto.
9537	* libm/machine/spu/sf_lround.c: Ditto.
9538	* libm/machine/spu/sf_remquo.c: Ditto.
9539	* libm/machine/spu/sf_round.c: Ditto.
9540	* libm/machine/spu/sf_scalbn.c: Ditto.
9541	* libm/machine/spu/sf_trunc.c: Ditto.
9542	* libm/machine/spu/w_fmod.c: Ditto.
9543	* libm/machine/spu/w_remainder.c: Ditto.
9544	* libm/machine/spu/w_sqrt.c: Ditto.
9545	* libm/machine/spu/wf_exp.c: Ditto.
9546	* libm/machine/spu/wf_exp2.c: Ditto.
9547	* libm/machine/spu/wf_fmod.c: Ditto.
9548	* libm/machine/spu/wf_log.c: Ditto.
9549	* libm/machine/spu/wf_log10.c: Ditto.
9550	* libm/machine/spu/wf_remainder.c: Ditto.
9551
95522007-09-21  Patrick Mansfield  <patmans@us.ibm.com>
9553
9554	* libc/machine/spu/sys/uio.h: New file for readv and writev use.
9555
95562007-09-21  Patrick Mansfield  <patmans@us.ibm.com>
9557
9558	* libc/include/sched.h: New file, just include sys/sched.h.
9559	* libc/machine/spu/sys/sched.h: New file, has just sched_yield
9560	prototype.
9561	* libc/machine/spu/sys/utime.h: New file, has utime prototype and
9562	struct utimbuf definition.
9563
95642007-09-21  Patrick Mansfield  <patmans@us.ibm.com>
9565
9566	* libc/machine/spu/sys/dirent.h: New file, add prototypes and SPU
9567	specific struct and typedef.
9568
95692007-09-18  Patrick Mansfield  <patmans@us.ibm.com>
9570
9571	* libc/include/sys/types.h: Use __dev_t, __uid_t, and __gid_t to
9572	typedef dev_t, gid_t, and uid_t.
9573	* libc/include/sys/_types.h: Move previous dev_t, uid_t and gid_t
9574	types.h code to here, but typedef __dev_t, __uid_t, and __gid_t instead.
9575	Change to lower case for all __foo_t_defined names.
9576	* libc/machine/spu/machine/_types.h: Add SPU specific __dev_t,
9577	__uid_t, and __gid_t making them all four bytes. Change to lower case
9578	for all __foo_t_defined names.
9579
95802007-09-18  Jeff Johnston  <jjohnstn@redhat.com>
9581
9582	* libc/reent/renamer.c: New file.
9583	* libc/reent/Makefile.am: Add new file.
9584	* libc/reent/Makefile.in: Regenerated.
9585	* libc/stdio/rename.c: Break out _rename_r code into reent/renamer.c
9586	and add check for rename syscall.
9587
95882007-09-17  Eric Blake  <ebb9@byu.net>
9589
9590	Obey POSIX on printf("%.s", (char*)NULL).
9591	* libc/stdio/vfprintf.c (_VFPRINTF_R): Take precision into account
9592	for %s on NULL.  Skip NULL check when optimizing for size.
9593
95942007-09-07  Jeff Johnston  <jjohnstn@redhat.com>
9595
9596	* libc/include/sys/_types.h: Protect all types with flag
9597	checks to allow definition in machine/_types.h.
9598
95992007-09-07  Jeff Johnston  <jjohnstn@redhat.com>
9600
9601	* libc/sys/linux/sys/_types.h: Add _fpos_t and _fpos64_t
9602	definitions in light of the previous change.
9603
96042007-09-07  Patrick Mansfield  <patmans@us.ibm.com>
9605
9606	* libc/include/machine/_default_types.h: New file, contains what
9607	was previously in libc/include/machine/_types.h.
9608	* libc/include/machine/_types.h: Now only includes
9609	machine/_default_types.h.
9610	* libc/include/sys/reent.h: Remove _fpos_t and _fpos64_t.
9611	* libc/include/sys/_types.h: Move _fpos_t and _fpos64_t to here,
9612	with conditional declarations.
9613	* libc/machine/spu/machine/_types.h: New file, add SPU specific
9614	typedefs for _fpos_t and _fpos64_t.
9615
96162007-09-07  Jeff Johnston  <jjohnstn@redhat.com>
9617
9618	* libc/include/math.h (_M_LOG2E): Replace with..
9619	(_M_LOG2_E): New macro.
9620	(log2, log2f, M_LOG2_E): Use _M_LOG2_E.
9621
96222007-09-06  Brian Dessent  <brian@dessent.net>
9623
9624	* libc/reent/getreent.c: Allow for case where __getreent is
9625	defined as a macro.
9626
96272007-09-06  Jeff Johnston  <jjohnstn@redhat.com>
9628
9629	* libc/include/math.h (_M_LOG2E): New log2 of e macro.
9630	(log2): Use _M_LOG2E instead of M_LOG2E.
9631	(log2f): Ditto.
9632	(M_LOG2E): Define to be _M_LOG2E.
9633
96342007-09-04  Kazunori Asayama <asayama@sm.sony.co.jp>
9635
9636	* libm/math/wf_tgamma.c: Add missing include.
9637
96382007-08-31  Antony King  <antony.king@st.com>
9639
9640	* libc/stdlib/mprec.h [_DOUBLE_IS_32BITS}: Define IEEE_Arith
9641	bits and redefine associated dword0 macro (rvalue issue).
9642	* libc/stdio/vfieeefp.h: Ditto.
9643	* libc/stdlib/strtod.c: Add checks for _DOUBLE_IS_32BITS
9644	to prevent setting dword1 which is an rvalue only.
9645
96462007-08-28  Hans Kester  <hans.kester@ellips.nl>
9647
9648	* configure.host: Added support for x86_64.
9649	* libc/include/machine/ieeefp.h: Define __IEEE_LITTLE_ENDIAN for x86_64.
9650	* libc/include/machine/setjmp.h: Define _JBTYPE and _JBLEN for x86_64.
9651	* libc/machine/x86_64/aclocal.m4: Generated.
9652	* libc/machine/x86_64/configure.in: New.
9653	* libc/machine/x86_64/configure: Generated.
9654	* libc/machine/x86_64/Makefile.am: New.
9655	* libc/machine/x86_64/Makefile.in: Generated.
9656	* libc/machine/x86_64/setjmp.S: New.
9657	* libc/machine/x86_64/memcpy.S: New.
9658	* libc/machine/x86_64/memset.S: New.
9659	* libc/machine/configure.in: Added support for x86_64.
9660	* libc/machine/configure: Regenerated.
9661
96622007-08-24  Jeff Johnston  <jjohnstn@redhat.com>
9663
9664	* libm/common/sf_lround.c (lroundf): Cast sizeof calculation
9665	to int before comparing it to a signed int value.
9666
96672007-08-24  Hans-Peter Nilsson  <hp@axis.com>
9668
9669	* libc/machine/cris/sys/errno.h (ECANCELED, ENOKEY, EKEYEXPIRED)
9670	(EKEYREVOKED, EKEYREJECTED, EOWNERDEAD, ENOTRECOVERABLE, ENOTSUP):
9671	Define.
9672
96732007-08-23  Hidetaka Takano  <hidetaka.takano@glb.toshiba.co.jp>
9674
9675	Reduce the memory consumption of variable argument functions
9676	for SPU (cell):
9677	* libc/machine/spu/Makefile.am: Replace printf/scanf family C sources
9678	  to assembler sources.
9679	* libc/machine/spu/Makefile.in: Regenerated.
9680	* libc/machine/spu/stdio.c: Add __check_init function wrapping
9681	  CHECK_INIT macro to use from assembler routines.
9682	* libc/machine/spu/c99ppe.h: Add definitions for assembler code.
9683	* libc/machine/spu/fiprintf.S: New file.
9684	* libc/machine/spu/fiscanf.S: Ditto.
9685	* libc/machine/spu/fprintf.S: Ditto.
9686	* libc/machine/spu/fscanf.S: Ditto.
9687	* libc/machine/spu/iprintf.S: Ditto.
9688	* libc/machine/spu/iscanf.S: Ditto.
9689	* libc/machine/spu/printf.S: Ditto.
9690	* libc/machine/spu/scanf.S: Ditto.
9691	* libc/machine/spu/siprintf.S: Ditto.
9692	* libc/machine/spu/siscanf.S: Ditto.
9693	* libc/machine/spu/sniprintf.S: Ditto.
9694	* libc/machine/spu/snprintf.S: Ditto.
9695	* libc/machine/spu/sprintf.S: Ditto.
9696	* libc/machine/spu/sscanf.S: Ditto.
9697	* libc/machine/spu/stack_reg_va.S: Ditto.
9698	* libc/machine/spu/syscall.def: Ditto. (for maintenance)
9699	* libc/machine/spu/mk_syscalls: Ditto. (for maintenance)
9700	* libc/machine/spu/fiprintf.c: Removed. (Replaced by .S)
9701	* libc/machine/spu/fiscanf.c: Ditto.
9702	* libc/machine/spu/fprintf.c: Ditto.
9703	* libc/machine/spu/fscanf.c: Ditto.
9704	* libc/machine/spu/iprintf.c: Ditto.
9705	* libc/machine/spu/iscanf.c: Ditto.
9706	* libc/machine/spu/printf.c: Ditto.
9707	* libc/machine/spu/scanf.c: Ditto.
9708	* libc/machine/spu/siprintf.c: Ditto.
9709	* libc/machine/spu/siscanf.c: Ditto.
9710	* libc/machine/spu/sniprintf.c: Ditto.
9711	* libc/machine/spu/snprintf.c: Ditto.
9712	* libc/machine/spu/sprintf.c: Ditto.
9713	* libc/machine/spu/sscanf.c: Ditto.
9714
97152007-08-03  Ralf Corsepius  <ralf.corsepius@rtems.org>
9716
9717	* libc/include/tar.h: New.
9718
97192007-08-03  Jeff Johnston  <jjohnstn@redhat.com>
9720
9721	* libc/sys/linux/intl/Makefile.am: Change stpcpy reference to
9722	lcl_stpcpy to avoid conflict with new stpcpy.c in libc/string.
9723	* libc/sys/linux/intl/Makefile.in: Regenerated.
9724	* libc/sys/linux/intl/stpcpy.c: Renamed to...
9725	* libc/sys/linux/intl/lcl_stpcpy.c: ..this.
9726
97272007-08-02  Eric Blake  <ebb9@byu.net>
9728
9729	Implement fmemopen and open_memstream.
9730	* libc/stdio/fmemopen.c (_fmemopen_r, fmemopen): New file.
9731	* libc/stdio/open_memstream.c (_open_memstream_r, open_memstream):
9732	New file.
9733	* libc/stdio/fopencookie.c (fcwriter): Minor optimization.
9734	* libc/include/stdio.h (dprintf, vdprintf): Group all POSIX 200x
9735	functions together.
9736	(fmemopen, open_memstream): Declare new functions.
9737	* libc/stdio/stdio.tex: Document them.
9738	* libc/stdio/Makefile.am (ELIX_4_SOURCES, CHEWOUT_FILES): Add
9739	fmemopen and open_memstream.
9740	* libc/stdio/Makefile.in: Regenerate.
9741
97422007-07-31  Eric Blake  <ebb9@byu.net>
9743
9744	More POSIX stream corner cases.
9745	* libc/stdio/findfp.c (__sinit): Open stderr read/write.
9746	* libc/stdio/fdopen.c (_fdopen_r): Set O_APPEND on fd when
9747	requested.
9748	* libc/stdio64/fdopen64.c (_fdopen64_r): Likewise.
9749
97502007-07-18  Eric Blake  <ebb9@byu.net>
9751
9752	Fix 'make info'.
9753	* libc/stdio/stdio.tex: Add missing include.
9754	* libc/stdio/vfprintf.c: Use expected node name.
9755	* libc/stdio/vfscanf.c: Likewise.
9756	* libc/stdio/sscanf.c: Likewise.
9757	* libc/stdio/sprintf.c: Likewise.
9758	* libc/stdio/siscanf.c: Likewise.
9759	* libc/stdio/siprintf.c: Likewise.
9760	* libc/stdio/fopencookie.c: Quote raw {}.
9761	Reported by DJ Delorie.
9762
97632007-07-13  Eric Blake  <ebb9@byu.net>
9764
9765	Fix fflush issues.
9766	* libc/stdio/fflush.c (_fflush_r): New function.
9767	(fflush): Fix reentrancy and large offset behavior.
9768	* libc/include/stdio.h (_fflush_r): Add prototype.
9769	* libc/stdio/fclose.c (_fclose_r): All fflush callers changed.
9770	* libc/stdio/freopen.c (_freopen_r): Likewise.
9771	* libc/stdio/fseek.c (_fseek_r): Likewise.
9772	* libc/stdio/ftell.c (_ftell_r): Likewise.
9773	* libc/stdio/fvwrite.c (__sfvwrite_r): Likewise.
9774	* libc/stdio/refill.c (__srefill_r): Likewise.
9775	* libc/stdio/setvbuf.c (setvbuf): Likewise.
9776	* libc/stdio/ungetc.c (_ungetc_r): Likewise.
9777	* libc/stdio/vfprintf.c (__sbprintf): Likewise.
9778	* libc/stdio/wbuf.c (__swbuf_r): Likewise.
9779	* libc/stdio64/freopen64.c (_freopen64_r): Likewise.
9780	* libc/stdio64/fseeko64.c (_fseeko64_r): Likewise.  Defer to
9781	32-bit version if not large file.
9782	* libc/stdio64/ftello64.c (_ftello64_r): Likewise.
9783	* libc/stdio64/tmpfile64.c (_tmpfile64_r): Avoid compile warning.
9784
9785	Documentation updates.
9786	* libc/stdio/ungetc.c: Document ungetc.
9787	* libc/stdio/Makefile.am (CHEWOUT_FILES): Sort, match current list
9788	of files with documentation.
9789	* libc/stdio/Makefile.in: Regenerate.
9790	* libc/stdio/stdio.tex: Sort and update stdio documentation index.
9791
97922007-07-11  Jeff Johnston  <jjohnstn@redhat.com>
9793
9794	* libc/include/math.h: Fix so C99 functions/macros are accessible
9795	when -std=c99 is used when compiling and not when using C89.
9796
97972007-07-06  Corinna Vinschen  <corinna@vinschen.de>
9798
9799	* libc/include/wchar.h: Declare wcstol, wcstoll, wcstoul,
9800	wcstoull, _wcstol_r, _wcstoll_r, _wcstoul_r and _wcstoull_r.
9801	* libc/stdlib/Makefile.am (GENERAL_SOURCES): Add wcstol.c and wcstoul.c.
9802	(EXTENDED_SOURCES): Add wcstoll.c, wcstoll_r.c, wcstoull.c and
9803	wcstoull_r.c.
9804	(CHEWOUT_FILES): Add .def files accordingly.
9805	* libc/stdlib/Makefile.in: Regenerate.
9806	* libc/stdlib/stdlib.tex: Add documentation links for above functions.
9807	* libc/stdlib/strtoll.c: Fix portability note.
9808	* libc/stdlib/strtoull.c: Ditto.
9809	* libc/stdlib/wcstol.c: New file.
9810	* libc/stdlib/wcstoll.c: New file.
9811	* libc/stdlib/wcstoll_r.c: New file.
9812	* libc/stdlib/wcstoul.c: New file.
9813	* libc/stdlib/wcstoull.c: New file.
9814	* libc/stdlib/wcstoull_r.c: New file.
9815
98162007-07-06  Jeff Johnston  <jjohnstn@redhat.com>
9817
9818	* libc/include/sys/time.h (gettimeofday): Change to proper
9819	prototype where second parameter is void *.
9820	* libc/reent/gettimeofdayr.c (_gettimeofday_r): Change prototype
9821	accordingly.
9822	* libc/include/reent.h: Fix prototype for _gettimeofday_r.
9823	* libc/sys/arm/syscalls.c: Fix gettimeofday function signature.
9824	* libc/sys/rdos/gettod.c: Ditto.
9825	* libc/sys/sh/syscalls.c: Ditto.
9826	* libc/time/time.c (time): Change call to _gettimeofday_r
9827	to pass NULL as 2nd argument.
9828
98292007-07-06  Jeff Johnston  <jjohnstn@redhat.com>
9830
9831	* libc/sys/linux/intl/dcigettext.c: Define HAVE_STPCPY.
9832	* libc/sys/linux/intl/l10nflist.c: Ditto.
9833
98342007-07-04  Corinna Vinschen  <corinna@vinschen.de>
9835
9836	* libc/include/wchar.h: Add prototype for wcsxfrm.
9837	* libc/string/Makefile.am (GENERAL_SOURCES): Add wcsxfrm.c.
9838	(CHEWOUT_FILES): Add wcsxfrm.def.
9839	* libc/string/Makefile.in: Regenerate.
9840	* libc/string/wcsxfrm.c: New file.
9841	* libc/string/wcstrings.tex: Add wcsxfrm.
9842
98432007-06-28  Corinna Vinschen  <corinna@vinschen.de>
9844
9845	* libc/include/string.h: Add prototypes for stpcpy and stpncpy.
9846	* libc/string/Makefile.am (ELIX_SOURCES): Add stpcpy.c and
9847	stpncpy.c.
9848	(CHEWOUT_FILES): Add stpcpy.def and stpncpy.def.
9849	* libc/string/Makefile.in: Regenerate.
9850	* libc/string/stpcpy.c: New file.
9851	* libc/string/stpncpy.c: New file.
9852	* libc/string/strings.tex: Add stpcpy and stpncpy.
9853
98542007-06-27  Eric Blake  <ebb9@byu.net>
9855
9856	Support __func__ in assert, as required by C99.
9857	* libc/stdlib/assert.c (__assert_func): New function.
9858	(__assert): Use __assert_func.
9859	* libc/include/assert.h (assert) [!NDEBUG]: Use __assert_func when
9860	possible.
9861
98622007-06-20  Patrick Mansfield  <patmans@us.ibm.com>
9863
9864	* libc/machine/spu/perror.c: Pass errno as the second argument to
9865	the assist call.
9866
98672007-06-20  Patrick Mansfield  <patmans@us.ibm.com>
9868
9869	* libc/include/sys/unistd.h[__SPU__]: Add lockf prototype and related
9870	defines; expose ftruncate, truncate and sync prototypes.
9871
98722007-06-20  Patrick Mansfield  <patmans@us.ibm.com>
9873
9874	* libc/include/sys/unistd.h[__SPU__]: Make fchdir prototype visible.
9875	* libc/include/sys/stat.h[__SPU__]: Make mknod and lstat prototypes
9876	visible.
9877
98782007-06-15  Patrick Mansfield  <patmans@us.ibm.com>
9879
9880	* libc/machine/spu/Makefile.am: Remove mktemp.c, it was left in
9881	from a dropped patch.
9882	* libc/machine/spu/Makefile.in: Regenerate.
9883
98842007-06-13  Patrick Mansfield  <patmans@us.ibm.com>
9885
9886	* libc/machine/spu/creat.c: New file copied from libc/posix/creat.c,
9887	it just calls open with appropriate arguments.
9888	* libc/machine/spu/Makefile.am: Add creat.c.
9889	* libc/machine/spu/Makefile.in: Regenerate.
9890
98912007-06-13  Jeff Johnston  <jjohnstn@redhat.com>
9892
9893	* libc/machine/spu/Makefile.am: Re-add back setjmp.S which
9894	I accidentally dropped.
9895	* libc/machine/spu/Makefile.in: Regenerated.
9896
98972007-06-13  Patrick Mansfield  <patmans@us.ibm.com>
9898
9899	* libc/include/sys/features.h: Define _POSIX_TIMERS for spu.
9900	* libc/include/sys/unistd.h: Change usleep prototype to Posix
9901	form and move outside of OS flag checks.
9902	* libc/machine/spu/Makefile.am: Add sleep and usleep.
9903	* libc/machine/spu/Makefile.in: Regenerate.
9904	* libc/machine/spu/sleep.c: Copy libc/posix/sleep.c.
9905	* libc/machine/spu/usleep.c: Copy libc/posix/usleep.c.
9906
99072007-06-11  Corinna Vinschen  <corinna@vinschen.de>
9908
9909	* libc/include/sys/unistd.h: Declare confstr for Cygwin.
9910	Define confstr constants for Cygwin.  Add comment.
9911
99122007-06-10  Hans-Peter Nilsson  <hp@bitrange.com>
9913
9914	* libc/sys/mmixware/access.c (access): Do not try to use a magic
9915	file-handle and a direct syscall, just use _open.
9916	* libc/sys/mmixware/sys/syscall.h (TMPFNO): Remove this magic
9917	file-handle.
9918
9919	* libc/sys/mmixware/_exit.c (_exit): Update comment about
9920	passing on the exit value.
9921
99222007-06-08  Jeff Johnston  <jjohnstn@redhat.com>
9923
9924	* libc/string/strcasestr.c: New file.
9925	* libc/include/string.h: Add strcasestr.
9926	* libc/string/strings.tex: Add strcasestr.
9927	* libc/string/Makefile.am: Ditto.
9928	* libc/string/Makefile.in: Regenerated.
9929
99302007-06-06  Christian Groessler  <chris@groessler.org>
9931
9932	* libc/stdlib/ldtoa (_ldcheck): Make sure the setting of
9933	rnd is done after the last local variable declaration.
9934
99352007-06-06  Jeff Johnston  <jjohnstn@redhat.com>
9936
9937	* libc/stdlib/mprec.h[Just_16]: Make sure that Pack_16 is defined.
9938
99392007-06-05  Christian Groessler  <chris@groessler.org>
9940
9941	* libc/argz/argz_insert.c (argz_insert): Move delta variable
9942	declaration to top of function in keeping with C89 standard.
9943
99442007-06-04  Eric Blake  <ebb9@byu.net>
9945
9946	Implement funopen, fopencookie.
9947	* libc/include/sys/reent.h (struct __sFILE, struct __sFILE64):
9948	Switch to reentrant callbacks.
9949	* libc/include/stdio.h (funopen): Fix declaration.
9950	(fopencookie): Declare.
9951	* libc/stdio/local.h (__sread, __swrite, __sseek, __sclose)
9952	(__sseek64, __swrite64): Fix prototypes.
9953	[__SCLE]: Pull in setmode declaration.
9954	* libc/stdio/stdio.c (__sread, __swrite, __sseek, __sclose): Fix
9955	reentrancy.
9956	* libc/stdio64/stdio64.c (__sseek64_r, __swrite64_r): Delete.
9957	(__sseek64, __swrite64): Fix reentrancy.
9958	* libc/stdio/fseek.c (_fseek_r): Account for overflow, and fix
9959	reentrancy.
9960	* libc/stdio/ftell.c (_ftell_r): Likewise.
9961	* libc/stdio/flags.c (__sflags): Don't lose __SAPP on "a+".
9962	* libc/stdio/fclose.c (_fclose_r): Fix reentrancy.
9963	* libc/stdio/freopen.c (_freopen_r): Likewise.
9964	* libc/stdio/fvwrite.c (__sfvwrite_r): Likewise.
9965	* libc/stdio/refill.c (__srefill_r): Likewise.
9966	* libc/stdio/siscanf.c (eofread): Likewise.
9967	* libc/stdio/sscanf.c (eofread): Likewise.
9968	* libc/stdio/vsiscanf.c (eofread1): Likewise.
9969	* libc/stdio/vsscanf.c (eofread1): Likewise.
9970	* libc/stdio64/freopen64.c (_freopen64_r): Likewise.
9971	* libc/stdio64/fseeko64.c (_fseeko64_r): Likewise.
9972	* libc/stdio64/ftello64.c (_ftello64_r): Likewise.
9973	* libc/stdio/fflush.c (fflush): Improve reentrancy, although more
9974	could be fixed.
9975	* libc/stdio/fopencookie.c (_fopencookie_r, fopencookie): New file.
9976	* libc/stdio/funopen.c (_funopen_r, funopen): New file.
9977	* libc/stdio/Makefile.am (ELIX_4_SOURCES, CHEWOUT_FILES): Build
9978	new files.
9979	* libc/stdio/Makefile.in: Regenerate.
9980
99812007-05-29  Eric Blake  <ebb9@byu.net>
9982
9983	Avoid more compiler warnings.
9984	* libc/stdlib/btowc.c: Add missing header.
9985	* libc/stdlib/getopt.c (getopt_internal): Initialize variable.
9986	* libc/stdlib/system.c (do_system) [__CYGWIN__]: Add declaration.
9987	* libc/stdlib/wctob.c: Add missing header.
9988	* libc/string/strcpy.c (strcpy): Avoid warnings.
9989	* libc/string/strrchr.c (strrchr): Likewise.
9990
99912007-05-29  Corinna Vinschen  <corinna@vinschen.de>
9992
9993	* libc/argz/argz_add_sep.c (argz_add_sep): Handle empty string
9994	argument.
9995	* libc/argz/argz_append.c (argz_append): Handle empty buf argument.
9996	* libc/argz/argz_create_sep.c (argz_create_sep): Return (NULL, 0)
9997	on empty input strings.
9998	* libc/argz/argz_extract.c (argz_extract): Check argz_len before
9999	looping through argz.
10000	* libc/argz/argz_stringify.c (argz_stringify): Ditto.
10001
100022007-05-27  Brian Dessent  <brian@dessent.net>
10003
10004	* libc/stdio/vfprintf.c (_VFPRINTF_R): Populate 'ox' when
10005	handling %p.
10006
100072007-05-25  Eric Blake  <ebb9@byu.net>
10008
10009	* libc/stdio/rewind.c (rewind): Fix regression of 2003-08-22.
10010
100112007-05-24  Steve Ellcey  <sje@cup.hp.com>
10012	    Charles Wilson  <libtool@cwilson.fastmail.fm>
10013
10014	* libtool.m4: removed
10015	* configure.in: invoke _LD_DECL_SED before conditionally initializing
10016	libtool.  Move AC_PROG_AWK outside conditional.
10017	* libc/sys/linux/configure.in: Ditto.
10018	* libc/sys/linux/linuxthreads/configure.in: Ditto.
10019	* libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
10020	* libc/sys/linux/machine/i386/configure.in: Ditto.
10021
10022	* iconvdata/configure.in: invoke _LD_DECL_SED before conditionally
10023	initializing libtool.
10024	* libc/configure.in: Ditto.
10025	* libc/machine/configure.in: Ditto.
10026	* libc/machine/i386/configure.in: Ditto.
10027	* libc/sys/configure.in: Ditto.
10028	* libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
10029	* libc/sys/linux/machine/configure.in: Ditto.
10030	* libm/configure.in: Ditto.
10031	* libm/machine/configure.in: Ditto.
10032
10033	* Makefile.am: Ensure toplevel is included in ACLOCAL_AMFLAGS.
10034	* doc/Makefile.am: Ditto.
10035	* iconvdata/Makefile.am: Ditto.
10036	* libc/Makefile.am: Ditto.
10037	* libc/machine/Makefile.am: Ditto.
10038	* libc/machine/a29k/Makefile.am: Ditto.
10039	* libc/machine/arm/Makefile.am: Ditto.
10040	* libc/machine/bfin/Makefile.am: Ditto.
10041	* libc/machine/cris/Makefile.am: Ditto.
10042	* libc/machine/crx/Makefile.am: Ditto.
10043	* libc/machine/d10v/Makefile.am: Ditto.
10044	* libc/machine/d30v/Makefile.am: Ditto.
10045	* libc/machine/fr30/Makefile.am: Ditto.
10046	* libc/machine/frv/Makefile.am: Ditto.
10047	* libc/machine/h8300/Makefile.am: Ditto.
10048	* libc/machine/h8500/Makefile.am: Ditto.
10049	* libc/machine/hppa/Makefile.am: Ditto.
10050	* libc/machine/i386/Makefile.am: Ditto.
10051	* libc/machine/i960/Makefile.am: Ditto.
10052	* libc/machine/iq2000/Makefile.am: Ditto.
10053	* libc/machine/m32c/Makefile.am: Ditto.
10054	* libc/machine/m32r/Makefile.am: Ditto.
10055	* libc/machine/m68hc11/Makefile.am: Ditto.
10056	* libc/machine/m68k/Makefile.am: Ditto.
10057	* libc/machine/m88k/Makefile.am: Ditto.
10058	* libc/machine/mips/Makefile.am: Ditto.
10059	* libc/machine/mn10200/Makefile.am: Ditto.
10060	* libc/machine/mn10300/Makefile.am: Ditto.
10061	* libc/machine/mt/Makefile.am: Ditto.
10062	* libc/machine/necv70/Makefile.am: Ditto.
10063	* libc/machine/powerpc/Makefile.am: Ditto.
10064	* libc/machine/sh/Makefile.am: Ditto.
10065	* libc/machine/sparc/Makefile.am: Ditto.
10066	* libc/machine/spu/Makefile.am: Ditto.
10067	* libc/machine/tic4x/Makefile.am: Ditto.
10068	* libc/machine/tic80/Makefile.am: Ditto.
10069	* libc/machine/v850/Makefile.am: Ditto.
10070	* libc/machine/w65/Makefile.am: Ditto.
10071	* libc/machine/xscale/Makefile.am: Ditto.
10072	* libc/machine/xstormy16/Makefile.am: Ditto.
10073	* libc/machine/z8k/Makefile.am: Ditto.
10074	* libc/sys/Makefile.am: Ditto.
10075	* libc/sys/a29khif/Makefile.am: Ditto.
10076	* libc/sys/arc/Makefile.am: Ditto.
10077	* libc/sys/arm/Makefile.am: Ditto.
10078	* libc/sys/d10v/Makefile.am: Ditto.
10079	* libc/sys/decstation/Makefile.am: Ditto.
10080	* libc/sys/h8300hms/Makefile.am: Ditto.
10081	* libc/sys/h8500hms/Makefile.am: Ditto.
10082	* libc/sys/linux/Makefile.am: Ditto.
10083	* libc/sys/linux/linuxthreads/Makefile.am: Ditto.
10084	* libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
10085	* libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
10086	* libc/sys/linux/machine/Makefile.am: Ditto.
10087	* libc/sys/linux/machine/i386/Makefile.am: Ditto.
10088	* libc/sys/m88kbug/Makefile.am: Ditto.
10089	* libc/sys/mmixware/Makefile.am: Ditto.
10090	* libc/sys/netware/Makefile.am: Ditto.
10091	* libc/sys/rdos/Makefile.am: Ditto.
10092	* libc/sys/rtems/Makefile.am: Ditto.
10093	* libc/sys/sh/Makefile.am: Ditto.
10094	* libc/sys/sparc64/Makefile.am: Ditto.
10095	* libc/sys/sun4/Makefile.am: Ditto.
10096	* libc/sys/sysmec/Makefile.am: Ditto.
10097	* libc/sys/sysnec810/Makefile.am: Ditto.
10098	* libc/sys/sysnecv850/Makefile.am: Ditto.
10099	* libc/sys/sysvi386/Makefile.am: Ditto.
10100	* libc/sys/sysvnecv70/Makefile.am: Ditto.
10101	* libc/sys/tic80/Makefile.am: Ditto.
10102	* libc/sys/w65/Makefile.am: Ditto.
10103	* libc/sys/z8ksim/Makefile.am: Ditto.
10104	* libm/Makefile.am: Ditto.
10105	* libm/machine/Makefile.am: Ditto.
10106	* libm/machine/i386/Makefile.am: Ditto.
10107	* libm/machine/spu/Makefile.am: Ditto.
10108
10109	* aclocal.m4: Regenerate.
10110	* iconvdata/aclocal.m4: Regenerate.
10111	* libc/aclocal.m4: Regenerate.
10112	* libc/machine/aclocal.m4: Regenerate.
10113	* libc/machine/i386/aclocal.m4: Regenerate.
10114	* libc/sys/aclocal.m4: Regenerate.
10115	* libc/sys/linux/aclocal.m4: Regenerate.
10116	* libc/sys/linux/linuxthreads/aclocal.m4: Regenerate.
10117	* libc/sys/linux/linuxthreads/machine/aclocal.m4: Regenerate.
10118	* libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Regenerate.
10119	* libc/sys/linux/machine/aclocal.m4: Regenerate.
10120	* libc/sys/linux/machine/i386/aclocal.m4: Regenerate.
10121	* libm/aclocal.m4: Regenerate.
10122	* libm/machine/aclocal.m4: Regenerate.
10123	* libm/machine/i386/aclocal.m4: Regenerate.
10124
10125	* Makefile.in: Regenerate.
10126	* doc/Makefile.in: Regenerate.
10127	* iconvdata/Makefile.in: Regenerate.
10128	* libc/Makefile.in: Regenerate.
10129	* libc/argz/Makefile.in: Regenerate.
10130	* libc/ctype/Makefile.in: Regenerate.
10131	* libc/errno/Makefile.in: Regenerate.
10132	* libc/iconv/Makefile.in: Regenerate.
10133	* libc/iconv/ccs/Makefile.in: Regenerate.
10134	* libc/iconv/ccs/binary/Makefile.in: Regenerate.
10135	* libc/iconv/ces/Makefile.in: Regenerate.
10136	* libc/iconv/lib/Makefile.in: Regenerate.
10137	* libc/locale/Makefile.in: Regenerate.
10138	* libc/machine/Makefile.in: Regenerate.
10139	* libc/machine/a29k/Makefile.in: Regenerate.
10140	* libc/machine/arm/Makefile.in: Regenerate.
10141	* libc/machine/bfin/Makefile.in: Regenerate.
10142	* libc/machine/cris/Makefile.in: Regenerate.
10143	* libc/machine/crx/Makefile.in: Regenerate.
10144	* libc/machine/d10v/Makefile.in: Regenerate.
10145	* libc/machine/d30v/Makefile.in: Regenerate.
10146	* libc/machine/fr30/Makefile.in: Regenerate.
10147	* libc/machine/frv/Makefile.in: Regenerate.
10148	* libc/machine/h8300/Makefile.in: Regenerate.
10149	* libc/machine/h8500/Makefile.in: Regenerate.
10150	* libc/machine/hppa/Makefile.in: Regenerate.
10151	* libc/machine/i386/Makefile.in: Regenerate.
10152	* libc/machine/i960/Makefile.in: Regenerate.
10153	* libc/machine/iq2000/Makefile.in: Regenerate.
10154	* libc/machine/m32c/Makefile.in: Regenerate.
10155	* libc/machine/m32r/Makefile.in: Regenerate.
10156	* libc/machine/m68hc11/Makefile.in: Regenerate.
10157	* libc/machine/m68k/Makefile.in: Regenerate.
10158	* libc/machine/m88k/Makefile.in: Regenerate.
10159	* libc/machine/mips/Makefile.in: Regenerate.
10160	* libc/machine/mn10200/Makefile.in: Regenerate.
10161	* libc/machine/mn10300/Makefile.in: Regenerate.
10162	* libc/machine/mt/Makefile.in: Regenerate.
10163	* libc/machine/necv70/Makefile.in: Regenerate.
10164	* libc/machine/powerpc/Makefile.in: Regenerate.
10165	* libc/machine/sh/Makefile.in: Regenerate.
10166	* libc/machine/sparc/Makefile.in: Regenerate.
10167	* libc/machine/spu/Makefile.in: Regenerate.
10168	* libc/machine/tic4x/Makefile.in: Regenerate.
10169	* libc/machine/tic80/Makefile.in: Regenerate.
10170	* libc/machine/v850/Makefile.in: Regenerate.
10171	* libc/machine/w65/Makefile.in: Regenerate.
10172	* libc/machine/xscale/Makefile.in: Regenerate.
10173	* libc/machine/xstormy16/Makefile.in: Regenerate.
10174	* libc/machine/z8k/Makefile.in: Regenerate.
10175	* libc/misc/Makefile.in: Regenerate.
10176	* libc/posix/Makefile.in: Regenerate.
10177	* libc/reent/Makefile.in: Regenerate.
10178	* libc/search/Makefile.in: Regenerate.
10179	* libc/signal/Makefile.in: Regenerate.
10180	* libc/stdio/Makefile.in: Regenerate.
10181	* libc/stdio64/Makefile.in: Regenerate.
10182	* libc/stdlib/Makefile.in: Regenerate.
10183	* libc/string/Makefile.in: Regenerate.
10184	* libc/sys/Makefile.in: Regenerate.
10185	* libc/sys/a29khif/Makefile.in: Regenerate.
10186	* libc/sys/arc/Makefile.in: Regenerate.
10187	* libc/sys/arm/Makefile.in: Regenerate.
10188	* libc/sys/d10v/Makefile.in: Regenerate.
10189	* libc/sys/decstation/Makefile.in: Regenerate.
10190	* libc/sys/h8300hms/Makefile.in: Regenerate.
10191	* libc/sys/h8500hms/Makefile.in: Regenerate.
10192	* libc/sys/linux/Makefile.in: Regenerate.
10193	* libc/sys/linux/argp/Makefile.in: Regenerate.
10194	* libc/sys/linux/cmath/Makefile.in: Regenerate.
10195	* libc/sys/linux/dl/Makefile.in: Regenerate.
10196	* libc/sys/linux/iconv/Makefile.in: Regenerate.
10197	* libc/sys/linux/intl/Makefile.in: Regenerate.
10198	* libc/sys/linux/linuxthreads/Makefile.in: Regenerate.
10199	* libc/sys/linux/linuxthreads/machine/Makefile.in: Regenerate.
10200	* libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerate.
10201	* libc/sys/linux/machine/Makefile.in: Regenerate.
10202	* libc/sys/linux/machine/i386/Makefile.in: Regenerate.
10203	* libc/sys/linux/net/Makefile.in: Regenerate.
10204	* libc/sys/linux/stdlib/Makefile.in: Regenerate.
10205	* libc/sys/m88kbug/Makefile.in: Regenerate.
10206	* libc/sys/mmixware/Makefile.in: Regenerate.
10207	* libc/sys/netware/Makefile.in: Regenerate.
10208	* libc/sys/rdos/Makefile.in: Regenerate.
10209	* libc/sys/rtems/Makefile.in: Regenerate.
10210	* libc/sys/sh/Makefile.in: Regenerate.
10211	* libc/sys/sparc64/Makefile.in: Regenerate.
10212	* libc/sys/sun4/Makefile.in: Regenerate.
10213	* libc/sys/sysmec/Makefile.in: Regenerate.
10214	* libc/sys/sysnec810/Makefile.in: Regenerate.
10215	* libc/sys/sysnecv850/Makefile.in: Regenerate.
10216	* libc/sys/sysvi386/Makefile.in: Regenerate.
10217	* libc/sys/sysvnecv70/Makefile.in: Regenerate.
10218	* libc/sys/tic80/Makefile.in: Regenerate.
10219	* libc/sys/w65/Makefile.in: Regenerate.
10220	* libc/sys/z8ksim/Makefile.in: Regenerate.
10221	* libc/syscalls/Makefile.in: Regenerate.
10222	* libc/time/Makefile.in: Regenerate.
10223	* libc/unix/Makefile.in: Regenerate.
10224	* libm/Makefile.in: Regenerate.
10225	* libm/common/Makefile.in: Regenerate.
10226	* libm/machine/Makefile.in: Regenerate.
10227	* libm/machine/i386/Makefile.in: Regenerate.
10228	* libm/machine/spu/Makefile.in: Regenerate.
10229	* libm/math/Makefile.in: Regenerate.
10230	* libm/mathfp/Makefile.in: Regenerate.
10231
10232	* configure: Regenerate.
10233	* iconvdata/configure: Regenerate.
10234	* libc/configure: Regenerate.
10235	* libc/machine/configure: Regenerate.
10236	* libc/machine/i386/configure: Regenerate.
10237	* libc/sys/configure: Regenerate.
10238	* libc/sys/linux/configure: Regenerate.
10239	* libc/sys/linux/linuxthreads/configure: Regenerate.
10240	* libc/sys/linux/linuxthreads/machine/configure: Regenerate.
10241	* libc/sys/linux/linuxthreads/machine/i386/configure: Regenerate.
10242	* libc/sys/linux/machine/configure: Regenerate.
10243	* libc/sys/linux/machine/i386/configure: Regenerate.
10244	* libm/configure: Regenerate.
10245	* libm/machine/configure: Regenerate.
10246	* libm/machine/i386/configure: Regenerate.
10247
102482007-05-23  Eric Blake  <ebb9@byu.net>
10249
10250	* libc/stdio/vfprintf.c (_VFPRINTF_R): Don't truncate %p when
10251	sizeof(void*) is 8 but sizeof(long) is 4.
10252	* libc/stdio/vfscanf.c (__SVFSCANF_R): Likewise.  Fix %i scanning
10253	of "-0x".  Support "-nan" and "inf" for %e.  Audit usage of ungetc
10254	to fix reentrancy and bug on encoding error in multibyte locales.
10255	Always return EOF on read error.
10256
102572007-05-23 Patrick Mansfield <patmans@us.ibm.com>
10258
10259	* libc/machine/spu/sys/syscall.h: Update the __send_to_ppe
10260	prototype.
10261	* libc/machine/spu/fclose.c: Use the __send_to_ppe return value
10262	instead of the slot 0 value, remove any now unused variables, and
10263	for some cases, now store the result in an int vs int*.
10264	* libc/machine/spu/feof.c: Ditto.
10265	* libc/machine/spu/ferror.c: Ditto.
10266	* libc/machine/spu/fflush.c: Ditto.
10267	* libc/machine/spu/fgetc.c: Ditto.
10268	* libc/machine/spu/fgetpos.c: Ditto.
10269	* libc/machine/spu/fgets.c: Ditto.
10270	* libc/machine/spu/fileno.c: Ditto.
10271	* libc/machine/spu/fopen.c: Ditto.
10272	* libc/machine/spu/fprintf.c: Ditto.
10273	* libc/machine/spu/fputc.c: Ditto.
10274	* libc/machine/spu/fputs.c: Ditto.
10275	* libc/machine/spu/fread.c: Ditto.
10276	* libc/machine/spu/freopen.c: Ditto.
10277	* libc/machine/spu/fscanf.c: Ditto.
10278	* libc/machine/spu/fseek.c: Ditto.
10279	* libc/machine/spu/fsetpos.c: Ditto.
10280	* libc/machine/spu/ftell.c: Ditto.
10281	* libc/machine/spu/fwrite.c: Ditto.
10282	* libc/machine/spu/getc.c: Ditto.
10283	* libc/machine/spu/getchar.c: Ditto.
10284	* libc/machine/spu/gets.c: Ditto.
10285	* libc/machine/spu/printf.c: Ditto.
10286	* libc/machine/spu/putc.c: Ditto.
10287	* libc/machine/spu/putchar.c: Ditto.
10288	* libc/machine/spu/puts.c: Ditto.
10289	* libc/machine/spu/remove.c: Ditto.
10290	* libc/machine/spu/rename.c: Ditto.
10291	* libc/machine/spu/scanf.c: Ditto.
10292	* libc/machine/spu/setvbuf.c: Ditto.
10293	* libc/machine/spu/snprintf.c: Ditto.
10294	* libc/machine/spu/sprintf.c: Ditto.
10295	* libc/machine/spu/sscanf.c: Ditto.
10296	* libc/machine/spu/tmpfile.c: Ditto.
10297	* libc/machine/spu/tmpnam.c: Ditto.
10298	* libc/machine/spu/ungetc.c: Ditto.
10299	* libc/machine/spu/vfprintf.c: Ditto.
10300	* libc/machine/spu/vfscanf.c: Ditto.
10301	* libc/machine/spu/vprintf.c: Ditto.
10302	* libc/machine/spu/vscanf.c: Ditto.
10303	* libc/machine/spu/vsnprintf.c: Ditto.
10304	* libc/machine/spu/vsprintf.c: Ditto.
10305	* libc/machine/spu/vsscanf.c: Ditto.
10306
103072007-05-23  Eric Blake  <ebb9@byu.net>
10308
10309	* libc/stdio/vfscanf.c (__SVFSCANF_R): Support scanf(%1$s).
10310	Avoid warning when !FLOATING_POINT.
10311	* libc/stdio/vfprintf.c (_VFPRINTF_R): Simplify _NO_POS_ARGS
10312	slightly.
10313
103142007-05-23  Corinna Vinschen  <vinschen@redhat.com>
10315
10316	* libc/argz/argz_create_sep.c (argz_create_sep): Initialize *argz_len
10317	to zero.
10318	* libc/include/argz.h: Guard against multiple inclusion.  Guard for
10319	use with C++.
10320
103212007-05-18  Eric Blake  <ebb9@byu.net>
10322
10323	* libc/stdio/vfprintf.c [_WANT_IO_LONG_LONG]: Allow non-gcc
10324	compilers.
10325	* libc/stdio/vfscanf.c: Likewise.
10326
103272007-05-17  Cary R.  <cygcary <at> yahoo.com>
10328
10329	* libm/math/w_atan2.c: Fix atan2 to be consistent with glibc
10330	(atan2(+0,-0), atan2(-0,-0) and atan(-0,+0))
10331	* libm/math/wf_atan2.c: Ditto.
10332
103332007-05-17  Yaakov Selkowitz  <yselkowitz <at> users.sourceforge.net>
10334
10335	* libm/common/Makefile.am: Add support for exp10, exp10f,
10336	pow10, and pow10f functions.
10337	* libm/common/Makefile.in: Regenerated.
10338	* libm/common/s_pow10.c: New file.
10339	* libm/common/sf_pow10.c: Ditto.
10340	* libm/common/s_exp10.c: Ditto.
10341	* libm/common/sf_exp10.c: Ditto.
10342	* libc/include/math.h [!pow10]: New pow10 prototype.
10343	[!pow10f]: New pow10f prototype.
10344	[!exp10]: New exp10 prototype.
10345	[!exp10f]: New exp10f prototype.
10346
103472007-05-17  Charles Wilson  <cygwin@...>
10348
10349	* stdio/tmpfile.c: Include <sys/stat.h>.
10350	* stdio64/tmpfile64.c: Ditto.
10351
103522007-05-16  Eric Blake  <ebb9@byu.net>
10353
10354	Close security hole in tmpfile.
10355	* libc/stdio/tmpfile.c (_tmpfile_r): Avoid window between filename
10356	generation and opening the fd.
10357	* libc/stdio64/tmpfile64.c (_tmpfile64_r): Likewise.
10358
10359	* libc/include/math.h (INFINITY, NAN, FP_ILOGB0, FP_ILOGBNAN)
10360	(MATH_ERRNO, MATH_ERREXCEPT, math_errhandling): Add macros
10361	required by POSIX.
10362	* libc/stdlib/ldtoa.c (USE_INFINITY): Rename from INFINITY, to
10363	avoid clash with <math.h>.
10364
10365	* libc/stdlib/wctomb_r.c (_wctomb_r): Avoid gcc warnings on cygwin.
10366	* libc/search/hash.c (__hash_open): Likewise.
10367
103682007-05-14 Eric Blake <ebb9@byu.net>
10369
10370	Reduce stack size of *printf.
10371	* libc/stdio/vfprintf.c (_VFPRINTF_R): Fix use of decimal point
10372	in %f.  Avoid malloc when possible for %S.
10373	(BUF): Improve stack locality by using smaller size.
10374	(MAXEXPLEN, _PRINTF_FLOAT_TYPE): Define.
10375	(exponent): Use smaller stack size.
10376
103772007-05-11  Eric Blake  <ebb9@byu.net>
10378
10379	Minimize printf/scanf size on platforms that don't need C99.
10380	* acconfig.h (_WANT_IO_C99_FORMATS): New macro.
10381	* newlib.hin (_WANT_IO_C99_FORMATS): Likewise.
10382	* configure.in (newlib-io-c99-formats): New configure option.
10383	(_WANT_IO_C99_FORMATS): Define appropriately.
10384	* configure.host (*-linux*, cygwin): Default c99-formats to yes.
10385	* libc/stdio/vfprintf.c (_VFPRINTF_R) [!_WANT_IO_C99_FORMATS]:
10386	Cripple ' flag; hh, z, j, t sizes; a, A, F, C, S specifiers.
10387	* libc/stdio/vfscanf.c (_VFSCANF_R) [!_WANT_IO_C99_FORMATS]:
10388	Likewise.
10389	* configure: Regenerate.
10390
10391	* libc/stdio/vfprintf.c (_VFPRINTF_R, cvt, exponent, chclass)
10392	(get_arg): Support '%a' and '%A'.
10393
103942007-05-09  Eric Blake  <ebb9@byu.net>
10395
10396	Allow zero size with non-null buf in *asnprintf.
10397	* libc/stdio/asnprintf.c (_asnprintf_r, asnprintf): Avoid free'ing
10398	user's buf.
10399	* libc/stdio/asniprintf.c (_asniprintf_r, asniprintf): Likewise.
10400	* libc/stdio/vasniprintf.c (_vasniprintf_r): Likewise.
10401	* libc/stdio/vasnprintf.c (_vasnprintf_r): Likewise.
10402
104032007-05-07  Charles Wilson  <cygwin@...>
10404
10405	* libc/stdio/vfprintf.c: Fix typo in comments that breaks docs.
10406
104072007-05-03  Eric Blake  <ebb9@byu.net>
10408
10409	Add support for asnprintf, and improve *printf documentation.
10410	* libc/stdio/Makefile.am (ELIX_SOURCES): Rename...
10411	(ELIX_2_SOURCES): ...to this.
10412	(ELIX_4_SOURCES): Add new variable.  Build asnprintf.
10413	(GENERAL_SOURCES): Move dprintf to ELIX_4_SOURCES.
10414	(CHEWOUT_FILES): Include diprintf in documentation.
10415	* libc/stdio/Makefile.in: Regenerate.
10416	* libc/stdio/diprintf.c: Improve documentation.
10417	* libc/stdio/dprintf.c: Likewise.
10418	* libc/stdio/siprintf.c: Likewise.
10419	* libc/stdio/sprintf.c: Likewise.
10420	* libc/stdio/vfprintf.c: Likewise.
10421	* libc/stdio/viprintf.c: Likewise.
10422	* libc/stdio/vsniprintf.c: Consolidate documentation.
10423	* libc/stdio/asiprintf.c: Refer to documentation.
10424	* libc/stdio/asprintf.c: Likewise.
10425	* libc/stdio/fiprintf.c: Likewise.
10426	* libc/stdio/fprintf.c: Likewise.
10427	* libc/stdio/iprintf.c: Likewise.
10428	* libc/stdio/printf.c: Likewise.
10429	* libc/stdio/sniprintf.c: Likewise.
10430	* libc/stdio/vdiprintf.c: Likewise.
10431	* libc/stdio/vdprintf.c: Likewise.
10432	* libc/stdio/vsiprintf.c: Likewise.
10433	* libc/stdio/fvwrite.c (__sfvwrite_r): Handle asnprintf.
10434	* libc/stdio/asniprintf.c (asniprintf, _asniprintf_r): New file.
10435	* libc/stdio/asnprintf.c (asnprintf, _asnprintf_r): New file.
10436	* libc/stdio/vasniprintf.c (vasniprintf, _vasniprintf_r): New
10437	file.
10438	* libc/stdio/vasnprintf.c (vasnprintf, _vasnprintf_r): New file.
10439	* libc/stdio/vdprintf.c (_vdprintf_r): Rewrite to avoid malloc in
10440	typical case.
10441	* libc/stdio/vdiprintf.c (_vdiprintf_r): Likewise.
10442	* libc/include/stdio.h: Add prototypes for new functions; sort
10443	existing functions.
10444
104452007-05-03  Kazu Hirata  <kazu@codesourcery.com>
10446
10447	* libc/machine/m68k/Makefile.am (lib_a_SOURCES): Add memcpy.S
10448	and memset.S.
10449	* libc/machine/m68k/Makefile.in: Regenerate.
10450	* libc/machine/m68k/memcpy.S: Use sub.l followed by dbra.
10451	* libc/machine/m68k/memset.S: Likewise.
10452
104532007-05-01  Eric Blake  <ebb9@byu.net>
10454
10455	* libc/stdio64/local64.h: Delete, move contents to...
10456	* libc/stdio/local.h: ...here.
10457	* libc/stdio64/fdopen64.c: Update includes.
10458	* libc/stdio64/fopen64.c: Likewise.
10459	* libc/stdio64/freopen64.c: Likewise.
10460	* libc/stdio64/fseeko64.c: Likewise.
10461	* libc/stdio64/ftello64.c: Likewise.
10462	* libc/stdio/findfp.c (std) [__LARGE64_FILES]: Open stdin, stdout,
10463	and stderr with 64-bit offset.
10464	* libc/stdio/fseek.c (_fseek_r): Avoid compile warning.
10465	* libc/stdio/makebuf.c (__smakebuf_r): Likewise.
10466	* libc/stdio/mktemp.c (_gettemp): Likewise.
10467
104682007-05-01  Cary R.  <cygcary <at> yahoo.com>
10469
10470	* libm/math/e_pow.c: Fix to be consistent with glibc with regards
10471	to treatment of NaN and +-inf arguments.
10472	* libm/math/ef_pow.c: Ditto.
10473	* libm/math/w_pow.c: Ditto.
10474	* libm/math/wf_pow.c: Ditto.
10475	* libm/math/w_acos.c: Fix domain errors to return NaN.
10476	* libm/math/w_asin.c: Ditto.
10477	* libm/math/wf_acos.c: Ditto.
10478	* libm/math/wf_asin.c: Ditto.
10479	* libm/math/w_log.c: Fix to return NaN for negative number inputs.
10480	* libm/math/wf_log.c: Ditto.
10481	* libm/math/wf_log10.c: Ditto.
10482	* libm/math/w_log10.c: Ditto.
10483
104842007-04-27  Jeff Johnston  <jjohnstn@redhat.com>
10485
10486	* libc/machine/m68k/Makefile.am: Temporarily remove
10487	memcpy.S and memset.S until logic can be confirmed for
10488	!(__mcoldfile__) case.
10489	* libc/machine/m68k/Makefile.in: Regenerated.
10490
104912007-04-27  Kazu Hirata  <kazu@codesourcery.com>
10492
10493	* libc/machine/m68k/Makefile.am (lib_a_SOURCES): Add memcpy.S
10494	and memset.S.
10495	* libc/machine/m68k/Makefile.in: Regenerate.
10496	* libc/machine/m68k/memcpy.S, libc/machine/m68k/memset.S: New.
10497
104982007-04-26  Patrick Mansfield <patmans@us.ibm.com>
10499
10500	* libc/include/ieeefp.h: use prefixed __ieeefp_ macros that can be
10501	overridden via machine/ieeefp.h.
10502	* libc/include/machine/ieeefp.h: Add SPU specific C99 and ieeefp
10503	macros for isnan and related macros.
10504	* libc/include/math.h: Allow C99 isfinite, isinf, and isnan to be
10505	overridden via machine/ieeefp.h.
10506	* libm/machine/spu/Makefile.am: Add new files.
10507	* libm/machine/spu/Makefile.in: Autogenerate with new files.
10508	* libm/machine/spu/sf_fpclassify.c: Add SPU specific __fpclassifyf.
10509	* libm/machine/spu/sf_finite.c: Add SPU specific finitef.
10510	* libm/machine/spu/sf_isinf.c: Add SPU specific isinff.
10511	* libm/machine/spu/sf_isinff.c: Add SPU specific __isinff.
10512	* libm/machine/spu/sf_isnan.c: Add SPU specific isnanf.
10513	* libm/machine/spu/sf_isnanf.c: Add SPU specific __isnanf.
10514	* libm/machine/spu/sf_nan.c: Add SPU specific nanf.
10515
105162007-04-25  Jeff Johnston  <jjohnstn@redhat.com>
10517
10518	* libm/common/s_fpclassify.c (__fpclassifyf): Move this to...
10519	* libm/common/sf_fpclassify.c: ...here.  New file.
10520	* libm/common/Makefile.am: Add sf_fpclassify.c.
10521	* libm/common/Makefile.in: Regenerated.
10522
105232007-04-25  Patrick Mansfield <patmans@us.ibm.com>
10524
10525	* libc/machine/spu/sys/errno.h: New file, so spu errno values match
10526	ppu linux values. This file is a copy of the cris/sys/errno.h plus
10527	a few changes (see spu errno.h comments).
10528
105292007-04-25  Eric Blake  <ebb9@byu.net>
10530
10531	* libc/stdio/vfprintf.c (get_arg): Support %1$lc.  Simplify types
10532	that promote to int.
10533
105342007-04-25  Patrick Mansfield <patmans@us.ibm.com>
10535
10536	* libm/machine/spu/headers/feholdexcept.h: Use *envp not env so
10537	we clear the proper bits in the fpscr, and don't set some random ones.
10538
105392007-04-24  Eric Blake  <ebb9@byu.net>
10540
10541	* libc/stdio/vfprintf.c (_VFPRINTF_R): Don't zero pad on infinity
10542	or NaN with %05f.
10543
10544	* libc/stdio/vfprintf.c (_VFPRINTF_R): Avoid multibyte when not
10545	_MB_CAPABLE.
10546
10547	* libc/include/limits.h (NL_ARGMAX): Define a default value.
10548	* libc/stdio/vfprintf.c (MAX_POS_ARGS): Define in terms of
10549	NL_ARGMAX, if present.
10550
105512007-04-23  Brian Dessent  <brian@dessent.net>
10552
10553	* libc/stdio/vfprintf.c (_vfprintf_r): When the alternate-form flag
10554	has been specified with types 'f', 'F', 'g', or 'G', ensure the
10555	trailing decimal is printed.
10556
105572007-04-23  Ralf Wildenhues  <Ralf.Wildenhues <at> gmx.de>
10558
10559	* confsubdir.m4 (AC_CONFIG_SUBDIRS, _AC_OUTPUT_SUBDIRS): New
10560	file.  Override Autoconf-2.59's version of these macros with
10561	fixed handling of multiple adjacent whitespace in arguments.
10562	* aclocal.m4: Regenerated forcefully.
10563	* configure: Ditto.
10564	* Makefile.in: Ditto.
10565	* libc/*Makefile.in: Ditto.
10566	* libc/*aclocal.m4: Ditto.
10567	* libc/*configure: Ditto.
10568	* libm/*Makefile.in: Ditto.
10569	* libm/*aclocal.m4: Ditto.
10570	* libm/*configure: Ditto.
10571
105722007-04-23  Jeff Johnston  <jjohnstn@redhat.com>
10573
10574	* libc/sys/arc/dummy.S: Dummy file to force .S.o suffix rule.
10575	* libc/sys/arc/Makefile.am: Add dummy.S to EXTRA_lib_a_SOURCES
10576	and set lib_a_CCASFLAGS so crto.o will use .S.o default suffix rule.
10577	* libc/sys/arc/Makefile.in: Regenerated.
10578
105792007-04-17  Brian Dessent  <brian@dessent.net>
10580
10581	* libc/stdio/sscanf.c: Update documentation comments.
10582	* libc/stdio/vfscanf.c (__SVFSCANF_R): Handle j, t, and z modifiers.
10583
105842007-04-12  Eric Blake  <ebb9@byu.net>
10585
10586	* libc/stdio/vfprintf.c (_VFPRINTF_F, cvt): Don't confuse %F with %e.
10587	(chclass): Recognize 'F', 'X', 'n', and not 'W'.
10588	(get_arg): Handle %1$F, %1$n.
10589
105902007-04-10  Eric Blake  <ebb9@byu.net>
10591
10592	* libc/include/stdio.h (_ELIDABLE_INLINE): Work even when using
10593	CFLAGS=-O0.
10594
105952007-04-09  Eric Blake  <ebb9@byu.net>
10596
10597	* libc/include/stdio.h: Add gcc format attributes to printf and
10598	scanf families.
10599
106002007-04-09  Joel Schopp <jschopp@austin.ibm.com>
10601
10602	* libc/machine/spu/strxfrm.c: Fix strxfrm so we still copy data
10603	even if the passed in length n is shorter than the source string.
10604	This matches both the non-spu specific and the glibc strxfrm
10605	behaviour.
10606
106072007-04-04  Mark Mitchell  <mark@codesourcery.com>
10608
10609	* libc/stdlib/__call_atexit.c (__call_exitprocs): Handle atexit
10610	functions registering additional atexit functions.
10611
10612	* testsuite/lib/flags.exp (newlib_include_flags): Drop
10613	-I${newlib_dir}.
10614
106152007-04-04  Patrick Mansfield <patmans@us.ibm.com>
10616
10617	* libc/machine/spu/sys/syscall.h: New file for __send_to_ppe
10618	prototype.
10619	* libc/machine/spu/c99ppe.h: Remove static version of send_to_ppe.
10620	* libc/machine/spu/clearerr.c: Call __send_to_ppe vs send_to_ppe.
10621	* libc/machine/spu/fclose.c: Ditto.
10622	* libc/machine/spu/feof.c: Ditto.
10623	* libc/machine/spu/ferror.c: Ditto.
10624	* libc/machine/spu/fflush.c: Ditto.
10625	* libc/machine/spu/fgetc.c: Ditto.
10626	* libc/machine/spu/fgetpos.c: Ditto.
10627	* libc/machine/spu/fgets.c: Ditto.
10628	* libc/machine/spu/fileno.c: Ditto.
10629	* libc/machine/spu/fopen.c: Ditto.
10630	* libc/machine/spu/fprintf.c: Ditto.
10631	* libc/machine/spu/fputc.c: Ditto.
10632	* libc/machine/spu/fputs.c: Ditto.
10633	* libc/machine/spu/fread.c: Ditto.
10634	* libc/machine/spu/freopen.c: Ditto.
10635	* libc/machine/spu/fscanf.c: Ditto.
10636	* libc/machine/spu/fseek.c: Ditto.
10637	* libc/machine/spu/fsetpos.c: Ditto.
10638	* libc/machine/spu/ftell.c: Ditto.
10639	* libc/machine/spu/fwrite.c: Ditto.
10640	* libc/machine/spu/getc.c: Ditto.
10641	* libc/machine/spu/getchar.c: Ditto.
10642	* libc/machine/spu/gets.c: Ditto.
10643	* libc/machine/spu/perror.c: Ditto.
10644	* libc/machine/spu/printf.c: Ditto.
10645	* libc/machine/spu/putc.c: Ditto.
10646	* libc/machine/spu/putchar.c: Ditto.
10647	* libc/machine/spu/puts.c: Ditto.
10648	* libc/machine/spu/remove.c: Ditto.
10649	* libc/machine/spu/rename.c: Ditto.
10650	* libc/machine/spu/rewind.c: Ditto.
10651	* libc/machine/spu/scanf.c: Ditto.
10652	* libc/machine/spu/setbuf.c: Ditto.
10653	* libc/machine/spu/setvbuf.c: Ditto.
10654	* libc/machine/spu/snprintf.c: Ditto.
10655	* libc/machine/spu/sprintf.c: Ditto.
10656	* libc/machine/spu/sscanf.c: Ditto.
10657	* libc/machine/spu/tmpfile.c: Ditto.
10658	* libc/machine/spu/tmpnam.c: Ditto.
10659	* libc/machine/spu/ungetc.c: Ditto.
10660	* libc/machine/spu/vfprintf.c: Ditto.
10661	* libc/machine/spu/vfscanf.c: Ditto.
10662	* libc/machine/spu/vprintf.c: Ditto.
10663	* libc/machine/spu/vscanf.c: Ditto.
10664	* libc/machine/spu/vsnprintf.c: Ditto.
10665	* libc/machine/spu/vsprintf.c: Ditto.
10666	* libc/machine/spu/vsscanf.c: Ditto.
10667
106682007-04-04  Jeff Johnston  <jjohnstn@redhat.com>
10669
10670	* libc/argz/argz_insert.c: Add stddef.h to get ptrdiff_t type.
10671
106722007-04-04  Eric Blake  <ebb9@byu.net>
10673
10674	* libc/stdio/asiprintf.c (_asiprintf_r): Fix reentrancy.
10675	(asiprintf): Avoid overhead.
10676	* libc/stdio/asprintf.c (_asprintf_r): Fix reentrancy.
10677	(asprintf): Avoid overhead.
10678	* libc/stdio/diprintf.c (_diprintf_r, diprintf): New file.
10679	* libc/stdio/dprintf.c (_dprintf_r, dprintf): Use _DEFUN.
10680	* libc/stdio/fiprintf.c (_fiprintf_r): Add reentrant version.
10681	(fiprintf): Avoid overhead.
10682	* libc/stdio/fprintf.c (_fprintf_r): Add reentrant version.
10683	(fprintf): Avoid overhead.
10684	* libc/stdio/iprintf.c (_iprintf_r): Use _DEFUN.
10685	(iprintf): Avoid overhead.
10686	* libc/stdio/printf.c (_printf_r): Use _DEFUN.
10687	(printf): Avoid overhead.
10688	* libc/stdio/vasiprintf.c (vasiprintf): Reduce binary size.
10689	* libc/stdio/vasprintf.c (vasprintf): Reduce binary size.
10690	* libc/stdio/vdiprintf.c (_vdiprintf_r, vdiprintf): New file.
10691	* libc/stdio/vdprintf.c (vdprintf): Avoid overhead.
10692	* libc/stdio/vsiprintf.c (vsiprintf): Reduce binary size.
10693	* libc/stdio/vsniprintf.c (vsniprintf): Reduce binary size.
10694	* libc/stdio/vsnprintf.c (vsnprintf): Reduce binary size.
10695	* libc/stdio/vsprintf.c (vsprintf): Reduce binary size.
10696	* libc/stdio/Makefile.am (GENERAL_SOURCES): Add diprintf.c,
10697	vdiprintf.c.
10698	* libc/include/stdio.h (diprintf, _diprintf_r, vdiprintf)
10699	(_vdiprintf_r, _fiprintf_r, _vfiprintf_r): Add prototypes.
10700
107012007-03-30  Dave Korn  <dave.korn@artimi.com>
10702
10703	* libc/include/stdio.h (_ELIDABLE_INLINE):  New macro to conceal
10704	conflicting inline semantics between C99 and GNU89.
10705	(__sgetc_r):  Replace static inline with _ELIDABLE_INLINE to be
10706	compatible with -fkeep-inline-functions usage.
10707	(__sputc_r):  Likewise for consistency even though disabled.
10708
107092007-03-29  Nick Clifton  <nickc@redhat.com>
10710
10711	Reflect changes made to generic vfprintf.c:
10712	* libc/machine/powerpc/vfprintf.c (__sprint): Rename to __sprint_r
10713	and add a "struct reent *" argument.
10714	(__sbprintf): Rename to __sbprintf_r, add a "struct reent *"
10715	argument and call _VFPRINTF_R instead of VFPRINTF.
10716	(_VFPRINTF_R): Add data pointer to call to cantwrite().
10717	Fix uses of __sprint() and __sbprintf.
10718
107192007-03-20  Nick Clifton  <nickc@redhat.com>
10720
10721	Reflect changes made to generic vfprintf.c:
10722	* libc/machine/powerpc/vfprintf.c (__sprint): Rename to __sprint_r
10723	and add a "struct reent *" argument.
10724	(__sbprintf): Rename to __sbprintf_r, add a "struct reent *"
10725	argument and call _VFPRINTF_R instead of VFPRINTF.
10726	(_VFPRINTF_R): Add data pointer to call to cantwrite().
10727	Fix uses of __sprint() and __sbprintf.
10728
107292007-03-16  Charles Wilson  <cygwin@...>
10730
10731	* libc/argz/argz_insert.c: "before" pointer is
10732	invalid after *argz realloc.  Compute offset
10733	between "before" and *argz, and use it after
10734	reallocation instead.
10735
107362007-03-16  Eric Blake  <ebb9@byu.net>
10737
10738	* libc/stdio64/fseek064.c (_fseeko64_r): Fix reentrancy.
10739	* libc/stdio64/freopen64.c (_freopen64_r): Ditto.
10740
107412007-03-15  Jeff Johnston  <jjohnstn@redhat.com>
10742
10743	* configure.in: Add new --enable-newlib-reent-small option.
10744	* configure: Regenerated.
10745	* acconfig.h: Add _WANT_REENT_SMALL.
10746	* newlib.hin: Regenerated minus PACKAGE macros to add
10747	_WANT_REENT_SMALL macro.
10748	* libc/include/sys/config.h[_WANT_REENT_SMALL]: Set _REENT_SMALL
10749	if not already set.
10750	* libc/stdio/fflush.c[_REENT_SMALL]: Return immediately if
10751	there is no buffer.
10752	* libc/stdio/local.h[_REENT_SMALL]: Fix CHECK_INIT macro to
10753	use reentrant pointer passed in when resetting the file
10754	pointer to one of the std streams.
10755
107562007-03-15  Eric Blake  <ebb9@byu.net>
10757
10758	* libc/stdio/local.h (cantwrite, FREEUB, FREELB): Make reentrant.
10759	(__smakebuf): Rename...
10760	(__smakebuf_r): to this.
10761	* libc/stdio/fvwrite.h (__swsetup_r): Rename, from __swsetup.
10762	* libc/stdio/makebuf.c (__smakebuf): Detect failed asprint
10763	allocation, then rename...
10764	(__smakebuf_r): ...to this and fix reentrancy.
10765	* libc/stdio/wsetup.c (__swsetup): Detect failed asprintf
10766	allocation, then rename...
10767	(__swsetup_r): ...to this and fix reentrancy.
10768	* libc/stdio/fseek.c (_fseek_r): Fix reentrancy.
10769	* libc/stdio/refill.c (__srefill_r): Likewise.
10770	* libc/stdio/fclose.c (_fclose_r): Likewise.
10771	* libc/stdio/fread.c (_fread_r): Likewise.
10772	* libc/stdio/freopen.c (_freopen_r): Likewise.
10773	* libc/stdio/wbuf.c (__swbuf_r): Likewise.
10774	* libc/stdio64/fseeko64.c (_fseeko64_r): Likewise.
10775	* libc/stdio/fvwrite.c (__sfvwrite_r): Set errno properly on
10776	failed asprintf allocation, and fix reentrancy.
10777	* libc/stdio/snprintf.c (snprintf, _snprintf_r): Report overflow,
10778	as required by POSIX.
10779	* libc/stdio/sniprintf.c (sniprintf, _sniprintf_r): Likewise.
10780	* libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Likewise.
10781	* libc/stdio/vsniprintf.c (vsniprintf, _vsniprintf_r): Likewise.
10782
107832007-03-12  Eric Blake  <ebb9@byu.net>
10784
10785	* libc/stdio/fvwrite.c (__sfvwrite_r): Fix reentrancy.
10786	* libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Pass failed
10787	allocation to caller.
10788	* libc/stdio/asprintf.c (_asprintf_r, asprintf): Likewise.
10789	* libc/stdio/asiprintf.c (_asiprintf_r, asiprintf): Likewise.
10790	* libc/stdio/vasiprintf.c (vasiprintf, _vasiprintf_r): Likewise.
10791
107922007-02-23  Jeff Johnston  <jjohnstn@redhat.com>
10793
10794	* libm/math/w_pow.c: Fix typo in documentation comment.
10795
107962007-02-21  Patrick Mansfield <patmans@us.ibm.com>
10797
10798	* libc/reent/timer.c: Removed (split into two new files).
10799	* libc/reent/timesr.c: New file for _times_r.
10800	* libc/reent/gettimeofdayr.c: New file out _gettimeofday_r.
10801	* reent/Makefile.in: Remove timer.c, add timesr.c and
10802	gettimeofdayr.c.
10803	* libc/reent/Makefile.am: Regenerate.
10804
108052007-02-20  Patrick Mansfield <patmans@us.ibm.com>
10806
10807	* configure.host: Build SPU with default_newlib_atexit_dynamic_alloc="no".
10808
108092007-02-20  Kazunori Asayama <asayama@sm.sony.co.jp>
10810
10811	* libc/machine/spu/Makefile.am: Add new objects.
10812	* libc/machine/spu/Makefile.in: Regenerated.
10813	* libc/machine/spu/fiprintf.c: New file. Add implementation of
10814	integer-only version.
10815	* libc/machine/spu/fiscanf.c: Ditto.
10816	* libc/machine/spu/iprintf.c: Ditto.
10817	* libc/machine/spu/iscanf.c: Ditto.
10818	* libc/machine/spu/siprintf.c: Ditto.
10819	* libc/machine/spu/siscanf.c: Ditto.
10820	* libc/machine/spu/sniprintf.c: Ditto.
10821	* libc/machine/spu/vfiprintf.c: Ditto.
10822	* libc/machine/spu/vfiscanf.c: Ditto.
10823	* libc/machine/spu/viprintf.c: Ditto.
10824	* libc/machine/spu/viscanf.c: Ditto.
10825	* libc/machine/spu/vsiprintf.c: Ditto.
10826	* libc/machine/spu/vsiscanf.c: Ditto.
10827	* libc/machine/spu/vsniprintf.c: Ditto.
10828	* libc/machine/spu/fprintf.c: Add support for integer-only
10829	version.
10830	* libc/machine/spu/fscanf.c: Ditto.
10831	* libc/machine/spu/printf.c: Ditto.
10832	* libc/machine/spu/scanf.c: Ditto.
10833	* libc/machine/spu/snprintf.c: Ditto.
10834	* libc/machine/spu/sprintf.c: Ditto.
10835	* libc/machine/spu/sscanf.c: Ditto.
10836	* libc/machine/spu/vfprintf.c: Ditto.
10837	* libc/machine/spu/vfscanf.c: Ditto.
10838	* libc/machine/spu/vprintf.c: Ditto.
10839	* libc/machine/spu/vscanf.c: Ditto.
10840	* libc/machine/spu/vsnprintf.c: Ditto.
10841	* libc/machine/spu/vsprintf.c: Ditto.
10842	* libc/machine/spu/vsscanf.c: Ditto.
10843
108442007-02-20  Kazunori Asayama <asayama@sm.sony.co.jp>
10845
10846	* libc/include/stdio.h: Add declaration for vsiprintf.
10847
108482007-02-14  Patrick Mansfield <patmans@us.ibm.com>
10849
10850	Add a floating point environment for SPU (cell):
10851
10852	* configure.host: add libm_machine_dir=spu.
10853	* libm/machine/configure: Add spu.
10854	* libm/machine/configure.in: regenerated with spu added.
10855	* libc/machine/spu/include/fenv.h: New file.
10856	* libc/machine/spu/sys/fenv.h: Ditto.
10857	* libm/machine/spu/Makefile.am: Ditto.
10858	* libm/machine/spu/Makefile.in: Ditto.
10859	* libm/machine/spu/aclocal.m4: Ditto.
10860	* libm/machine/spu/configure: Ditto.
10861	* libm/machine/spu/configure.in: Ditto.
10862	* libm/machine/spu/fe_dfl_env.c: Ditto.
10863	* libm/machine/spu/feclearexcept.c: Ditto.
10864	* libm/machine/spu/fegetenv.c: Ditto.
10865	* libm/machine/spu/fegetexceptflag.c: Ditto.
10866	* libm/machine/spu/fegetround.c: Ditto.
10867	* libm/machine/spu/feholdexcept.c: Ditto.
10868	* libm/machine/spu/feraiseexcept.c: Ditto.
10869	* libm/machine/spu/fesetenv.c: Ditto.
10870	* libm/machine/spu/fesetexceptflag.c: Ditto.
10871	* libm/machine/spu/fesetround.c: Ditto.
10872	* libm/machine/spu/fetestexcept.c: Ditto.
10873	* libm/machine/spu/feupdateenv.c: Ditto.
10874	* libm/machine/spu/headers/feclearexcept.h: Ditto.
10875	* libm/machine/spu/headers/fefpscr.h: Ditto.
10876	* libm/machine/spu/headers/fegetenv.h: Ditto.
10877	* libm/machine/spu/headers/fegetexceptflag.h: Ditto.
10878	* libm/machine/spu/headers/fegetround.h: Ditto.
10879	* libm/machine/spu/headers/feholdexcept.h: Ditto.
10880	* libm/machine/spu/headers/feraiseexcept.h: Ditto.
10881	* libm/machine/spu/headers/fesetenv.h: Ditto.
10882	* libm/machine/spu/headers/fesetexceptflag.h: Ditto.
10883	* libm/machine/spu/headers/fesetround.h: Ditto.
10884	* libm/machine/spu/headers/fetestexcept.h: Ditto.
10885	* libm/machine/spu/headers/feupdateenv.h: Ditto.
10886
108872007-02-14  Corinna Vinschen  <corinna@vinschen.de>
10888
10889	* libc/include/sys/features.h: Add _POSIX_MESSAGE_PASSING for
10890	Cygwin.
10891
108922007-02-08  Corinna Vinschen  <corinna@vinschen.de>
10893
10894	* libc/include/sys/features.h: Add _POSIX_SHARED_MEMORY_OBJECTS for
10895	Cygwin.  Fix value of _POSIX_SEMAPHORES.  Fix formatting.
10896
108972007-02-07  Corinna Vinschen  <corinna@vinschen.de>
10898
10899	* libc/include/sys/features.h: Add definition of all supported
10900	_POSIX_xxx values for Cygwin.
10901	* libc/include/sys/types.h (pthread_rwlock_t): Omit definition
10902	on Cygwin.
10903	(pthread_rwlockattr_t): Ditto.
10904	* libc/include/sys/unistd.h: Define all _SC_xxx values as
10905	required by SUSv3.  Unify formatting.
10906
109072007-02-02  Ralf Corsépius <ralf.corsepius@rtems.org>
10908
10909	* libc/include/sys/errno.h: Add ECANCELED.
10910
109112007-02-01  Joel Schopp <jschopp@austin.ibm.com>
10912	    Kazunori Asayama <asayama@sm.sony.co.jp>
10913
10914	* libc/machine/spu/Makefile.am: Add objects.
10915	* libc/machine/spu/Makefile.in: Regenerated.
10916	* libc/machine/spu/vsscanf.c: New file. Add a stdio function
10917	implementation.
10918	* libc/machine/spu/snprintf.c: Ditto.
10919	* libc/machine/spu/sprintf.c: Ditto.
10920	* libc/machine/spu/sscanf.c: Ditto.
10921	* libc/machine/spu/remove.c: Ditto.
10922	* libc/machine/spu/rename.c: Ditto.
10923	* libc/machine/spu/tmpnam.c: Ditto.
10924	* libc/machine/spu/vsnprintf.c: Add initialization routine of
10925	stdio stuffs.
10926	* libc/machine/spu/vsprintf.c: Ditto.
10927
109282007-02-01  Joel Schopp <jschopp@austin.ibm.com>
10929	    Kazunori Asayama <asayama@sm.sony.co.jp>
10930
10931	* configure.host: Enable SPU specific stdio directory.
10932	* libc/machine/spu/Makefile.am: Add objects.
10933	* libc/machine/spu/Makefile.in: Regenerated.
10934	* libc/machine/spu/c99ppe.h: Add macros and function
10935	declarations to initialize SPU specific stdio stuffs.
10936	* libc/machine/spu/stdio.c: Add functions to manage Cell SPU
10937	specific FILE structures.
10938	* libc/machine/spu/perror.c: Add initialization routine of
10939	stdio stuffs.
10940	* libc/machine/spu/printf.c: Ditto.
10941	* libc/machine/spu/putchar.c: Ditto.
10942	* libc/machine/spu/puts.c: Ditto.
10943	* libc/machine/spu/vprintf.c: Ditto.
10944	* libc/machine/spu/clearerr.c: New file. Add a stdio function
10945	implementation.
10946	* libc/machine/spu/feof.c: Ditto.
10947	* libc/machine/spu/ferror.c: Ditto.
10948	* libc/machine/spu/fileno.c: Ditto.
10949	* libc/machine/spu/fopen.c: Ditto.
10950	* libc/machine/spu/fclose.c: Ditto.
10951	* libc/machine/spu/freopen.c: Ditto.
10952	* libc/machine/spu/fflush.c: Ditto.
10953	* libc/machine/spu/fseek.c: Ditto.
10954	* libc/machine/spu/ftell.c: Ditto.
10955	* libc/machine/spu/rewind.c: Ditto.
10956	* libc/machine/spu/fgetpos.c: Ditto.
10957	* libc/machine/spu/fsetpos.c: Ditto.
10958	* libc/machine/spu/fread.c: Ditto.
10959	* libc/machine/spu/fwrite.c: Ditto.
10960	* libc/machine/spu/getc.c: Ditto.
10961	* libc/machine/spu/getchar.c: Ditto.
10962	* libc/machine/spu/gets.c: Ditto.
10963	* libc/machine/spu/fgetc.c: Ditto.
10964	* libc/machine/spu/fgets.c: Ditto.
10965	* libc/machine/spu/ungetc.c: Ditto.
10966	* libc/machine/spu/putc.c: Ditto.
10967	* libc/machine/spu/fputc.c: Ditto.
10968	* libc/machine/spu/fputs.c: Ditto.
10969	* libc/machine/spu/vfprintf.c: Ditto.
10970	* libc/machine/spu/vfscanf.c: Ditto.
10971	* libc/machine/spu/fprintf.c: Ditto.
10972	* libc/machine/spu/fscanf.c: Ditto.
10973	* libc/machine/spu/scanf.c: Ditto.
10974	* libc/machine/spu/vscanf.c: Ditto.
10975	* libc/machine/spu/setbuf.c: Ditto.
10976	* libc/machine/spu/setvbuf.c: Ditto.
10977	* libc/machine/spu/tmpfile.c: Ditto.
10978
109792007-02-01  Jeff Johnston  <jjohnstn@redhat.com>
10980
10981	* libc/include/sys/config.h[__SPU__]: Define __CUSTOM_FILE_IO__.
10982	* libc/include/stdio.h[!__CUSTOM_FILE_IO__]: Add flag check
10983	around stdio macros that manipulate fields in the normal file
10984	structure.
10985	* libc/include/sys/reent.h[__CUSTOM_FILE_IO__]: Include
10986	<sys/custom_file.h> to define custom FILE structure.
10987	* libc/include/sys/custom_file.h: New default header file
10988	that generates error if not overridden when __CUSTOM_FILE_IO__ set.
10989	* libc/machine/spu/sys/custom_file.h: New file.
10990
109912007-01-31  Kazunori Asayama <asayama@sm.sony.co.jp>
10992
10993	* configure.host: Define stdio directory as a variable.
10994	* libc/Makefile.am: Define stdio related names
10995	as macros.
10996	* libc/configure.in: Add detection routine of stdio directory.
10997	* libc/Makefile.in: Regenerated.
10998	* libc/configure: Ditto.
10999	* libc/argz/Makefile.in: Ditto.
11000	* libc/ctype/Makefile.in: Ditto.
11001	* libc/errno/Makefile.in: Ditto.
11002	* libc/iconv/Makefile.in: Ditto.
11003	* libc/iconv/ccs/Makefile.in: Ditto.
11004	* libc/iconv/ccs/binary/Makefile.in: Ditto.
11005	* libc/iconv/ces/Makefile.in: Ditto.
11006	* libc/iconv/lib/Makefile.in: Ditto.
11007	* libc/locale/Makefile.in: Ditto.
11008	* libc/misc/Makefile.in: Ditto.
11009	* libc/posix/Makefile.in: Ditto.
11010	* libc/reent/Makefile.in: Ditto.
11011	* libc/search/Makefile.in: Ditto.
11012	* libc/signal/Makefile.in: Ditto.
11013	* libc/stdio/Makefile.in: Ditto.
11014	* libc/stdio64/Makefile.in: Ditto.
11015	* libc/stdlib/Makefile.in: Ditto.
11016	* libc/string/Makefile.in: Ditto.
11017	* libc/syscalls/Makefile.in: Ditto.
11018	* libc/time/Makefile.in: Ditto.
11019	* libc/unix/Makefile.in: Ditto.
11020
110212007-01-30  Ben Elliston  <bje@au.ibm.com>
11022
11023	* libc/machine/spu/vsnprintf.c (c99_vsnprintf_t): Const-qualify
11024	fmt member.
11025	* libc/machine/spu/printf.c (c99_printf_t): Likewise.
11026	(printf): Pass fmt to va_start to suppress a warning.
11027
11028	* libc/search/hash.c (init_hash): Make `info' parameter const.
11029
110302007-01-19  Kazunori Asayama <asayama@sm.sony.co.jp>
11031
11032	* libc/machine/spu/c99ppe.h: Replace vector with __vector.
11033	* libc/machine/spu/vec_literal.h: Ditto.
11034	* libc/machine/spu/strncmp.c: Ditto.
11035
110362007-01-15  Joseph Myers  <joseph@codesourcery.com>
11037	    Kazu Hirata  <kazu@codesourcery.com>
11038
11039	* libc/machine/powerpc/setjmp.S (setjmp, longjmp): Add support
11040	for E500V1 and E500V2.
11041
110422007-01-11  Jeff Johnston  <jjohnstn@redhat.com>
11043
11044	* libm/configure.in: Always configure machine directory.
11045	* libm/Makefile.am: Make machine subdirectory part of SUBDIRS
11046	unconditionally.
11047	* libm/configure: Regenerated.
11048	* libm/Makefile.in: Ditto.
11049	* libm/*/Makefile.in: Ditto.
11050
110512007-01-05  Brian Ford  <Brian.Ford@FlightSafety.com>
11052
11053	* configure.host (*-*-cygwin*): Define HAVE_BLKSIZE.
11054
110552007-01-02  Ben Elliston  <bje@au.ibm.com>
11056
11057	* doc/makedoc.c: Include <stdlib.h>.
11058	(malloc, realloc): Remove extern declarations.
11059
110602006-12-18  Jeff Johnston  <jjohnstn@redhat.com>
11061
11062	* NEWS: Update with 1.15.0 info.
11063	* README: Ditto.
11064	* acinclude.m4: Change version number to 1.15.0.
11065	* aclocal.m4: Regenerated.
11066	* configure: Ditto.
11067	* doc/aclocal.m4: Ditto.
11068	* doc/configure: Ditto.
11069	* libc/*/aclocal.m4: Ditto.
11070	* libc/*/configure: Ditto.
11071	* libc/libc.texinfo: Ditto.
11072	* libm/*/aclocal.m4: Ditto.
11073	* libm/*/configure: Ditto.
11074	* libm/libm.texinfo: Ditto.
11075	* libc/sys/linux/shared.ld: Add VERS_1.15.
11076
110772006-12-18  Kazu Hirata  <kazu@codesourcery.com>
11078
11079	Merge from newlib-csl-20060320-branch:
11080	2006-12-01  Nathan Sidwell  <nathan@codesourcery.com>
11081		    Kazu Hirata  <kazu@codesourcery.com>
11082
11083	* configure.host: Recognize fido.
11084
110852006-12-18  Joel Schopp <jschopp@austin.ibm.com>
11086
11087	* libc/machine/spu/c99ppe.h: New file
11088	* libc/machine/spu/perror.c: New file to override libc/stdio version.
11089	* libc/machine/spu/printf.c: New file
11090	* libc/machine/spu/putchar.c: New file
11091	* libc/machine/spu/puts.c: New file
11092	* libc/machine/spu/vprintf.c: New file
11093	* libc/machine/spu/vsnprintf.c: New file
11094	* libc/machine/spu/vsprintf.c: New file
11095	* libc/machine/spu/Makefile.am: Add new targets.
11096	* libc/machine/spu/Makefile.in: Regenerated.
11097
110982006-12-18  Jeff Johnston  <jjohnstn@redhat.com>
11099
11100	* aclocal.m4 */aclocal.m4: Regenerated using aclocal 1.9.6.
11101	* Makefile.in */Makefile.in: Regenerated using automake 1.9.6.
11102
111032006-12-18  Jeff Johnston  <jjohnstn@redhat.com>
11104
11105	* libc/stdlib/mallocr.c (malloc_extend_top): Add patch from
11106	2.6.5 version of Doug Lea's malloc which is the basis of
11107	this code.
11108
111092006-12-18  Kazunori Asayama <asayama@sm.sony.co.jp>
11110
11111	* libc/include/machine/setjmp.h[__SPU__]: Replace vector with __vector.
11112
111132006-12-14  Jeff Johnston  <jjohnstn@redhat.com>
11114	    Eric Blake  <ebb9@byu.net>
11115
11116	* libc/stdio/fflush.c (fflush): On seekable streams, always flush
11117	read but unused data.
11118	* libc/stdio/fclose.c (_fclose_r): Always flush streams, since
11119	even read streams may have side effects that must happen.
11120
111212006-12-13  Joel Schopp <jschopp@austin.ibm.com>
11122
11123	* libc/machine/spu/setjmp.S: Fix to handle registers past 115
11124	correctly.
11125
111262006-12-13  Joel Schopp <jschopp@austin.ibm.com>
11127
11128	* libc/include/alloca.h: Add undef alloca to work with xlc.
11129
111302006-12-12  Joel Schopp <jschopp@austin.ibm.com>
11131
11132	* libc/include/machine/setjmp.h[__SPU__]: Redefine _JBTYPE for
11133	cell spu.
11134
111352006-12-04  Kazunori Asayama  <asayama@sm.sony.co.jp>
11136
11137	* libc/machine/spu/strncpy.c: Add padding.
11138
111392006-12-04  Kazunori Asayama  <asayama@sm.sony.co.jp>
11140
11141	* testsuite/newlib.string/tstring.c:
11142
111432006-12-01  Kazunori Asayama  <asayama@sm.sony.co.jp>
11144
11145	* libc/machine/spu/strchr.c: Fix mask for misaligned string.
11146	* libc/machine/spu/strrchr.c: Ditto.
11147
111482006-11-30  Lev Bishop  <lev.bishop@gmail.com>
11149
11150	* libc/include/math.h: Allow C99 functions/macros to be
11151	defined for C++ even when __STRICT_ANSI__.
11152
111532006-11-29  Jeff Johnston  <jjohnstn@redhat.com>
11154
11155	* libc/stdio/makebuf.c (__smakebuf): If dealing with
11156	an asprintf-family buffer, make the default initial size 64.
11157
111582006-11-29  Eric Blake  <ebb9@byu.net>
11159
11160	* libc/stdio/fvwrite.c (__sfvwrite_r): Avoid off-by-one error in
11161	asprintf, as well as quadratic realloc behavior.
11162
111632006-11-29  Kazunori Asayama  <asayama@sm.sony.co.jpi
11164
11165	* libc/machine/spu/memset.c: Fix type of explicit cast.
11166	* libc/machine/spu/strncmp.c: Add explicit cast.
11167	* libc/machine/spu/strrchr.c: Ditto.
11168	* libc/machine/spu/strspn.c: Ditto.
11169
111702006-11-22  Luca Barbato  <lu_zero@gentoo.org>
11171
11172	* libc/machine/spu/memcpy.c: Use spu_splats, explicit cast.
11173	* libc/machine/spu/memmove.c: Use spu_splats, explicit cast.
11174	* libc/machine/spu/memset.c: Use spu_splats, remove apple-cast.
11175	* libc/machine/spu/strchr.c: Use spu_splats, remove apple-cast.
11176	* libc/machine/spu/strncat.c: Explicit cast.
11177	* libc/machine/spu/strncmp.c: Use spu_splats.
11178	* libc/machine/spu/strncpy.c: Explicit cast.
11179	* libc/machine/spu/strrchr.c: Use spu_splats.
11180	* libc/machine/spu/strspn.c: Use spu_splats.
11181
111822006-11-15  Till Straumann  <strauman@slac.stanford.edu>
11183
11184	* libc/time/tzset_r.c (_tzset_r): Initialize local variable.
11185
111862006-11-14  Eric Blake  <ebb9@byu.net>
11187
11188	* libc/stdio/vfprintf.c (_vfprintf_r): Support ' flag.
11189	(chclass): ' is a flag.  j, t, and z are modifiers.
11190
111912006-11-08  Jie Zhang  <jie.zhang@analog.com>
11192
11193	* configure.host: Add support for bfin.
11194	* libc/include/machine/ieeefp.h: Define __IEEE_LITTLE_ENDIAN for bfin.
11195	* libc/include/machine/setjmp.h: Define _JBLEN for bfin.
11196	* libc/machine/bfin/aclocal.m4: Generate.
11197	* libc/machine/bfin/configure.in: New.
11198	* libc/machine/bfin/configure: Generate.
11199	* libc/machine/bfin/Makefile.am: New.
11200	* libc/machine/bfin/Makefile.in: Generate.
11201	* libc/machine/bfin/setjmp.S: New.
11202	* libc/machine/bfin/longjmp.S: New.
11203	* libc/machine/configure.in: Add bfin support.
11204	* libc/machine/configure: Generate.
11205
112062006-11-07  Corinna Vinschen  <corinna@vinschen.de>
11207
11208	* libc/include/sys/unistd.h (_SC_STREAM_MAX): Define on Cygwin.
11209	(_PC_FILESIZEBITS): Add definition.
11210	(_PC_2_SYMLINKS): Ditto.
11211	(_PC_SYMLINK_MAX): Ditto.
11212
112132006-10-27  Joel Schopp  <jschopp@austin.ibm.com>
11214
11215	* libc/machine/spu/memcpy.c: Override generic function with vectorized
11216	version optimized for the cell spu.
11217	* libc/machine/spu/memmove.c: Ditto.
11218	* libc/machine/spu/memset.c: Ditto.
11219	* libc/machine/spu/strcat.c: Ditto.
11220	* libc/machine/spu/strchr.c: Ditto.
11221	* libc/machine/spu/strcmp.c: Ditto.
11222	* libc/machine/spu/strcpy.c: Ditto.
11223	* libc/machine/spu/strcspn.c: Ditto.
11224	* libc/machine/spu/strlen.c: Ditto.
11225	* libc/machine/spu/strncat.c: Ditto.
11226	* libc/machine/spu/strncmp.c: Ditto.
11227	* libc/machine/spu/strncpy.c: Ditto.
11228	* libc/machine/spu/strpbrk.c: Ditto.
11229	* libc/machine/spu/strrchr.c: Ditto.
11230	* libc/machine/spu/strspn.c: Ditto.
11231	* libc/machine/spu/strxfrm.c: Ditto.
11232	* libc/machine/spu/vec_literal.h: Add abstraction of vector literals,
11233	removing altivec style initializers.
11234	* libc/machine/spu/Makefile.am: Add new files to list so they build
11235	* libc/machine/spu/Makefile.in: Regenerate from new Makefile.am
11236
112372006-10-27  Jeff Johnston  <jjohnstn@redhat.com>
11238
11239	* README: Add a brief section on how to regenerate
11240	configuration files in newlib.
11241
112422006-10-25  Vladimir Prus  <vladimir@codesourcery.com>
11243
11244	* libc/include/math.h: (exception): Add a comment
11245	telling fixincludes that we handle C vs. C++ issue.
11246
112472006-10-11  Yang Tse  <yangsita@gmail.com>
11248
11249	* libc/include/machine/setjmp.h: Use __extension__ keyword for gcc's
11250	braced-groups.
11251
112522006-10-11  Corinna Vinschen  <corinna@vinschen.de>
11253
11254	* libc/reent/reeent.c (_reclaim_reent): Free _REENT_MP_RESULT.
11255
112562006-09-26  Jeff Johnston  <jjohnstn@redhat.com>
11257
11258	* libc/include/stdio.h[_REENT_SMALL]: Do not allow macros
11259	for clearerr, feof, or fileno.
11260	* libc/include/sys/reent.h[_REENT_SMALL](struct _reent): Change
11261	the dummy std stream scheme to use pointers to const external
11262	fake files, one for each standard stream.
11263	* libc/stdio/local.h (CHECK_INIT): Change to take a file pointer
11264	argument.  For _REENT_SMALL, reset the file pointer if it
11265	matches one of the fake std stream pointers.
11266	* libc/stdio/clearerr.c: Fix CHECK_INIT macro to add file pointer
11267	argument.
11268	* libc/stdio/fclose.c: Ditto.
11269	* libc/stdio/feof.c: Ditto.
11270	* libc/stdio/ferror.c: Ditto.
11271	* libc/stdio/fflush.c: Ditto.
11272	* libc/stdio/fgetc.c: Ditto.
11273	* libc/stdio/fgets.c: Ditto.
11274	* libc/stdio/fileno.c: Ditto.
11275	* libc/stdio/findfp.c: Ditto.
11276	* libc/stdio/fputc.c: Ditto.
11277	* libc/stdio/fputs.c: Ditto.
11278	* libc/stdio/fread.c: Ditto.
11279	* libc/stdio/freopen.c: Ditto.
11280	* libc/stdio/fseek.c: Ditto.
11281	* libc/stdio/ftell.c: Ditto.
11282	* libc/stdio/fwrite.c: Ditto.
11283	* libc/stdio/getc.c: Ditto.
11284	* libc/stdio/getdelim.c: Ditto.
11285	* libc/stdio/putc.c: Ditto.
11286	* libc/stdio/refill.c: Ditto.
11287	* libc/stdio/setvbuf.c: Ditto.
11288	* libc/stdio/ungetc.c: Ditto.
11289	* libc/stdio/vfprintf.c: Ditto.
11290	* libc/stdio/vfscanf.c: Ditto.
11291	* libc/stdio/wbuf.c: Ditto.: Ditto.
11292	* libc/stdio/wsetup.c: Ditto.
11293	* libc/stdio64/freopen64.c: Ditto.
11294	* libc/stdio64/fseeko64.c: Ditto.
11295	* libc/stdio64/ftello64.c: Ditto.
11296	* libc/machine/powerpc/vfprintf.c: Ditto.
11297	* libc/machine/powerpc/vfscanf.c: Ditto.
11298
112992006-09-22  Paul Brook  <paul@codesourcery.com>
11300
11301	* libc/include/sys/reent.h: Define and use __reent_assert.
11302
113032006-09-13  Joel Sherrill <joel@oarcorp.com>
11304
11305	* libc/include/pthread.h: Add pthread barriers,
11306	rwlocks, and spinlocks.  Change const to
11307	_CONST and prefix parameter names with
11308	an underscore.
11309	* libc/include/sys/types.h: Add id and attribute
11310	types for barriers, wrlocks, and spinlocks.
11311	* libc/include/sys/features.h: Enable barriers,
11312	wrlocks, and spinlocks for RTEMS.
11313
113142006-09-13  Patrick Mansfield <patmans@us.ibm.com>
11315
11316	* libc/include/math.h: Remove _CONST from _LIB_VERSION, as it is
11317	supposed to be writable.
11318	* libm/common/s_lib_ver.c: Ditto.
11319
113202006-09-12  Paul Brook  <paul@codesourcery.com>
11321
11322	* libc/stdlib/rand.c (srand): Add _REENT_CHECK_RAND48.
11323
113242006-09-07  Masaki Muranaka  <monaka@monami-software.com>
11325
11326
11327	* libc/machine/xstormy16/Makefile.am:
11328	Add $(lpfx) prefix to LIBADD objects.
11329	lib_a_DEPENDENCIES uses the value of lib_a_LIBADD.
11330	* libc/machine/xstormy16/Makefile.in: Regenerated.
11331
113322006-09-06  Eric Blake  <ebb9@byu.net>
11333
11334	* libc/stdio/vfprintf.c (_vfprintf_r, get_arg): Add 'hh', 'j',
11335	't', and 'z' modifiers.
11336
113372006-09-01  Kazu Hirata  <kazu@codesourcery.com>
11338
11339	Merge from newlib-csl-20060320-branch:
11340	2006-05-22  Sandra Loosemore <sandra@codesourcery.com>
11341
11342	* configure.host: Tell it we have _rename and _system when
11343	building m68k-unknown-elf.
11344
113452006-08-29  Paul Brook  <paul@codesourcery.com>
11346
11347	* libc/include/sys/config.h: Define _REENT_SMALL for Thumb-2.
11348
113492006-08-27  Joel Sherrill <joel.sherrill@OARcorp.com>
11350
11351	* libc/sys/rtems/machine/sys/param.h: Conditionalize definition of
11352	BLKDEV_IOSIZE and MAXPHYS so it will fit into small memory targets.
11353	This is needed to build all AVR and H8300 RTEMS multilib variants.
11354
113552006-08-23  Kazunori Asayama  <asayama@sm.sony.co.jp>
11356
11357	* libc/machine/configure.in: Add configuration for SPU.
11358	* libc/machine/configure: Regenerated.
11359	* libc/machine/spu/memcpy.c: Include string.h.
11360
113612006-08-22  Eric Blake  <ebb9@byu.net>
11362
11363	* libc/posix/popen.c (popen): Don't close output end of pipe in
11364	child if stdout was closed on entry.
11365	[HAVE_FCNTL]: In parent, mark file as close-on-exec, per POSIX.
11366
113672006-08-19  Ramana Radhakrishnan  <ramana.r@gmail.com>
11368
11369	* sys/types.h: Correct syntax error caused by missing '\' on #ifdef
11370	line.
11371
113722006-08-17  Brian Ford  <Brian.Ford@FlightSafety.com>
11373
11374	* libc/time/gmtime.c: Correct man page; clock is not a
11375	local time and no conversion occurs.
11376
113772006-08-16  Joel Schopp  <jschopp@austin.ibm.com>
11378
11379	* configure.host (newlib_cflags) [spu]: Add special compiler
11380	options to reduce size.
11381
113822006-08-16  Joel Schopp  <jschopp@austin.ibm.com>
11383
11384	* configure.host: Add spu support.
11385	* libc/include/stdint.h: Ditto.
11386	* libc/include/machine/ieeefp.h: Ditto.
11387	* libc/include/machine/setjmp.h: Ditto.
11388	* libc/include/sys/config.h: Ditto.
11389	* libc/include/sys/types.h: Ditto.
11390	* libc/machine/spu/Makefile.am: New file.
11391	* libc/machine/spu/Makefile.in: Ditto.
11392	* libc/machine/spu/aclocal.m4: Ditto.
11393	* libc/machine/spu/configure: Ditto.
11394	* libc/machine/spu/configure.in: Ditto.
11395	* libc/machine/spu/memcpy.c: Ditto.
11396	* libc/machine/spu/setjmp.S: Ditto.
11397
113982006-08-03  J"orn Rennecke  <joern.rennecke@st.com>
11399
11400	* dtoa.c (dtoa_r): Handle the denormalized _DOUBLE_IS_32BITS case
11401	properly.
11402
114032006-08-01  Jeff Johnston  <jjohnstn@redhat.com>
11404
11405	* libc/Makefile.am: Add libc_TEXINFOS dependency on
11406	generated .texi files.
11407	* libm/Makefile.am: Add libm_TEXINFOS dependency on
11408	generated .texi files.
11409	* libc/Makefile.in: Regenerated.
11410	* libm/Makefile.in: Ditto.
11411
114122006-08-01  Thiemo Seufer  <ths@mips.com>
11413	    Nigel Stephens  <nigel@mips.com>
11414
11415	* libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): For MIPS
11416	define this to force _impure_ptr to live in the .sdata section.
11417
114182006-07-31  Jeff Johnston  <jjohnstn@redhat.com>
11419
11420	* acinclude.m4: Check for readelf tool.
11421	* configure.in: Use ${READELF} instead of hard-coding.
11422	* Regenerate all aclocal.m4, Makefile.in, and configure files.
11423
114242006-07-31  Jeff Johnston  <jjohnstn@redhat.com>
11425
11426	* libc/sys/linux/mmap.c: Remove include of sys/mman.h
11427	to avoid conflict with newer glibc's revision of mremap.
11428
114292006-07-05  Jeff Johnston  <jjohnstn@redhat.com>
11430
11431	* libc/stdlib/mprec.h [_DOUBLE_IS_32BITS]: Turn off C99 hex
11432	floating-point format support.  Also redefine
11433	dword0 and dword1 macros.
11434	* libc/stdlib/strtod.c: Add checks for _DOUBLE_IS_32BITS
11435	to prevent setting dword1 which is an rvalue only.
11436
114372006-06-22  Jeff Johnston  <jjohnstn@redhat.com>
11438
11439	* libc/stdlib/Makefile.am: Add new gdtoa routines.
11440	* libc/stdlib/Makefile.in: Regenerated.
11441	* libc/stdlib/gd_qnan.h: New file.
11442	* libc/stdlib/gdtoa-gethex.c: Ditto.
11443	* libc/stdlib/gdtoa-hexnan.c: Ditto.
11444	* libc/stdlib/gdtoa.h: Ditto.
11445	* libc/stdlib/mprec.c: Add new helper routines needed by
11446	the new gdtoa code.
11447	* libc/stdlib/mprec.h: Integrate some defines and prototypes
11448	used by gdtoa routines here.
11449	* libc/stdlib/strtod.c: Rebased on David M. Gay's gdtoa-strtod.c
11450	which adds C99 support such as nan, inf, and hexadecimal input
11451	format.
11452
114532006-06-15  Corinna Vinschen  <corinna@vinschen.de>
11454
11455	* libc/include/stdio.h (__sgetc_r): Fix typo.
11456	* libc/stdio/fread.c (_fread_r): Convert crlf calls to crlf_r.
11457	* libc/stdio/rget.c (__srbuf): Reinstantiate.
11458	* libc/stdio/wbuf.c (__swbuf): Ditto.
11459
114602006-06-14  Jeff Johnston  <jjohnstn@redhat.com>
11461
11462	* libc/include/stdio.h: Add new reentrant I/O prototypes for
11463	read/write functions.  Change getc/putc macros to have reentrant underlying
11464	macros/functions.  This includes __sgetc_raw_r, __sgetc_r, and __sputc_r.
11465	* libc/stdio/fgetc.c: Fix and/or add reentrant version to call
11466	new reentrant I/O functions/macros for reading/writing.
11467	* libc/stdio/fgets.c: Ditto.
11468	* libc/stdio/fputc.c: Ditto.
11469	* libc/stdio/fputs.c: Ditto.
11470	* libc/stdio/fread.c: Ditto.
11471	* libc/stdio/fseek.c: Ditto.
11472	* libc/stdio64/fseeko64.c: Ditto.
11473	* libc/stdio/fwrite.c: Ditto.
11474	* libc/stdio/getc.c: Ditto.
11475	* libc/stdio/getc_u.c: Ditto.
11476	* libc/stdio/getchar.c: Ditto.
11477	* libc/stdio/getchar_u.c: Ditto.
11478	* libc/stdio/putc.c: Ditto.
11479	* libc/stdio/putc_u.c: Ditto.
11480	* libc/stdio/putchar.c: Ditto.
11481	* libc/stdio/puts.c: Ditto.
11482	* libc/stdio/vfprintf.c: Ditto.
11483	* libc/stdio/vfscanf.c: Ditto.
11484	* libc/stdio/fvwrite.c: Change __sfvwrite into reentrant __sfvwrite_r.
11485	Change all previous callers of __sfvwrite.  Set errno to EBADF and
11486	set error flag on if attempt is made to write to file that does not
11487	allow writing.
11488	* libc/stdio/fvwrite.h: Fix new reentrant prototypes.
11489	* libc/stdio/local.h: Ditto.
11490	* libc/stdio/refill.c: Turn __srefill into reentrant __srefill_r.
11491	Set errno to EBADF and the error flag on if attempt is made to
11492	read unreadable file.  Change all previous callers of __srefill.
11493	* libc/stdio/rget.c
11494	* libc/stdio/wbuf.c: Turn __swbuf into reentrant __swbuf_r.  Change
11495	all previous callers of __swbuf.
11496	* libc/sys/linux/machine/i386/huge_val.h: Ifdef out file contents since
11497	huge value macros are already defined correctly for i386 by <math.h>.
11498
114992006-06-13  Sandra Loosemore <sandra@codesourcery.com>
11500
11501	* /libc/sys/arm/syscalls.c (_unlink, isatty, _system, _rename):
11502	Make them do something useful in the ARM_RDI_MONITOR case.
11503
115042006-06-07  Fred Fish  <fnf@specifix.com>
11505
11506	* libc/search/hash_bigkey.c (MIN,MAX): Remove
11507	defines that are already supplied by <sys/param.h>.
11508
115092006-06-07  Fred Fish  <fnf@specifix.com>
11510
11511	* configure.host: Remove references to HAVE_GETTIMEOFDAY.
11512
115132006-06-05  Shaun Jackman  <sjackman@gmail.com>
11514
11515	* libc/posix/Makefile.am (GENERAL_SOURCES): Add sleep.c and
11516	usleep.c.
11517	* libc/posix/Makefile.in: Regenerate.
11518	* libc/posix/sleep.c: New file.
11519	* libc/posix/usleep.c: Ditto.
11520
115212006-06-05  Shaun Jackman  <sjackman@gmail.com>
11522
11523	* configure.host (newlib_cflags) [arm, thumb, xscale]:  Remove
11524	-DABORT_PROVIDED flag.
11525	* newlib/libc/sys/arm/syscalls.c (kill, exit): Sync with libgloss.
11526	* newlib/libc/sys/arm/libcfunc.c (abort): Ditto.
11527
115282006-06-05  Jeff Johnston  <jjohnstn@redhat.com>
11529
11530	* Makefile.am (AM_MAKEFLAGS): Pass CCASFLAGS.
11531	* Makefile.in: Regenerated.
11532	* libc/machine/sh/Makefile.am (AM_CCASFLAGS): Remove
11533	extraneous CFLAGS reference now that CCASFLAGS are being extended
11534	properly via multilib.
11535	* libc/machine/sh/Makefile.in: Regenerated.
11536
115372006-06-02  Shaun Jackman  <sjackman@gmail.com>
11538
11539	* libc/unix/sigset.c: Undefine sigfillset, sigdelset, and
11540	sigismember.
11541
115422006-05-23  Jeff Johnston  <jjohnstn@redhat.com>
11543
11544	* libc/misc/dprintf.c: Removed.
11545	* libc/misc/__dprintf.c: Renamed from dprintf.c.
11546	* libc/misc/Makefile.am: Changed appropriately for rename.
11547	* libc/misc/Makefile.in: Regenerated.
11548
115492006-05-23  Jeff Johnston  <jjohnstn@redhat.com>
11550
11551	* libc/include/stdio.h: Protect dprintf prototype
11552	with #ifndef dprintf so as to not interfere with
11553	historical code defining their own dprintf macro.
11554
115552006-05-18  Jeff Johnston  <jjohnstn@redhat.com>
11556
11557	* libc/include/stdio.h: Add prototypes for fiscanf,
11558	iscanf, and siscanf.
11559
115602006-05-11  J"orn Rennecke <joern.rennecke@st.com>
11561
11562	* acinclude.m4 (_NEWLIB_VERSION): Rename to:
11563	(DEF_NEWLIB_VERSION).
11564	* configure.in (_NEWLIB_VERSION): Use NEWLIB_VERSION.
11565	* configure: Regenerate.
11566
115672006-05-09  Jeff Johnston  <jjohnstn@redhat.com>
11568
11569	* libc/ctype/Makefile.am: Add $(ELIX_SOURCES) to
11570	lib_a_SOURCES.
11571	* libc/ctype/Makefile.in: Regenerated.
11572
115732006-05-09  Kazu Hirata  <kazu@codesourcery.com>
11574
11575	* libc/machine/arm/Makefile.am: Fix a typo.
11576	* libc/machine/arm/Makefile.in: Regenerated.
11577
115782006-05-08  J"orn Rennecke <joern.rennecke@st.com>
11579
11580	* libc/machine/sh/Makefile.am (AM_CCASFLAGS): Add $(CFLAGS).
11581	* libc/machine/sh/Makefile.in: Regenerate.
11582
115832006-05-03  J"orn Rennecke <joern.rennecke@st.com>
11584
11585	* libc/sys/sh/Makefile.am (AM_CCASFLAGS): Add $(CFLAGS).
11586	* libc/sys/sh/Makefile.in (AM_CCASFLAGS): Likewise.
11587
115882006-05-02  Jeff Johnston  <jjohnstn@redhat.com>
11589
11590	* libc/sys/sysnec810/Makefile.am: Specify .S files instead of
11591	.s.
11592	* libc/sys/sysnec810/Makefile.in: Regenerated.
11593	* libc/sys/sysnec810/crt0.S: Renamed from .s file.
11594	* libc/sys/sysnec810/io.S: Ditto.
11595	* libc/sys/sysnec810/crt0.s: Renamed to .S file.
11596	* libc/sys/sysnec810/io.s: Ditto.
11597
115982006-05-01  Jeff Johnston  <jjohnstn@redhat.com>
11599
11600	* libc/argz/Makefile.am: Prefix any objects specified with $(lpfx).  If source file can
11601	be specified instead of object, do so.
11602	* libc/ctype/Makefile.am: Ditto.
11603	* libc/iconv/ccs/Makefile.am: Ditto.
11604	* libc/iconv/ces/Makefile.am: Ditto.
11605	* libc/iconv/lib/Makefile.am: Ditto.
11606	* libc/locale/Makefile.am: Ditto.
11607	* libc/posix/Makefile.am: Ditto.
11608	* libc/reent/Makefile.am: Ditto.
11609	* libc/search/Makefile.am: Ditto.
11610	* libc/stdio/Makefile.am: Ditto.
11611	* libc/stdio64/Makefile.am: Ditto.
11612	* libc/stdlib/Makefile.am: Ditto.
11613	* libc/string/Makefile.am: Ditto.
11614	* libc/syscalls/Makefile.am: Ditto.
11615	* libc/unix/Makefile.am: Ditto.
11616	* libc/machine/a29k/Makefile.am: Specify lib_a_CCASFLAGS so .S files will get
11617	prefix added automatically.  Any specified rules must use $(lpfx) for
11618	object file names.
11619	* libc/machine/arm/Makefile.am: Ditto.
11620	* libc/machine/cris/Makefile.am: Ditto.
11621	* libc/machine/crx/Makefile.am: Ditto.
11622	* libc/machine/d10v/Makefile.am: Ditto.
11623	* libc/machine/d30v/Makefile.am: Ditto.
11624	* libc/machine/fr30/Makefile.am: Ditto.
11625	* libc/machine/frv/Makefile.am: Ditto.
11626	* libc/machine/h8300/Makefile.am: Ditto.
11627	* libc/machine/h8500/Makefile.am: Ditto.
11628	* libc/machine/hppa/Makefile.am: Ditto.
11629	* libc/machine/i386/Makefile.am: Ditto.
11630	* libc/machine/i960/Makefile.am: Ditto.
11631	* libc/machine/iq2000/Makefile.am: Ditto.
11632	* libc/machine/m32c/Makefile.am: Ditto.
11633	* libc/machine/m32r/Makefile.am: Ditto.
11634	* libc/machine/m68hc11/Makefile.am: Ditto.
11635	* libc/machine/m68k/Makefile.am: Ditto.
11636	* libc/machine/m88k/Makefile.am: Ditto.
11637	* libc/machine/mips/Makefile.am: Ditto.
11638	* libc/machine/mn10200/Makefile.am: Ditto.
11639	* libc/machine/mn10300/Makefile.am: Ditto.
11640	* libc/machine/mt/Makefile.am: Ditto.
11641	* libc/machine/necv70/Makefile.am: Ditto.
11642	* libc/machine/powerpc/Makefile.am: Ditto.
11643	* libc/machine/sh/Makefile.am: Ditto.
11644	* libc/machine/sh/Makefile.in: Ditto.
11645	* libc/machine/sparc/Makefile.am: Ditto.
11646	* libc/machine/tic4x/Makefile.am: Ditto.
11647	* libc/machine/tic80/Makefile.am: Ditto.
11648	* libc/machine/v850/Makefile.am: Ditto.
11649	* libc/machine/w65/Makefile.am: Ditto.
11650	* libc/machine/xscale/Makefile.am: Ditto.
11651	* libc/machine/xstormy16/Makefile.am: Ditto.
11652	* libc/machine/z8k/Makefile.am: Ditto.
11653	* libc/sys/a29khif/Makefile.am: Ditto.
11654	* libc/sys/arm/Makefile.am: Ditto.
11655	* libc/sys/d10v/Makefile.am: Ditto.
11656	* libc/sys/h8300hms/Makefile.am: Ditto.
11657	* libc/sys/h8500hms/Makefile.am: Ditto.
11658	* libc/sys/linux/Makefile.am: Ditto.
11659	* libc/sys/linux/linuxthreads/Makefile.am: Ditto.
11660	* libc/sys/linux/net/Makefile.am: Ditto.
11661	* libc/sys/linux/stdlib/Makefile.am: Ditto.
11662	* libc/sys/m88kbug/Makefile.am: Ditto.
11663	* libc/sys/mmixware/Makefile.am: Ditto.
11664	* libc/sys/rdos/Makefile.am: Ditto.
11665	* libc/sys/rtems/Makefile.am: Ditto.
11666	* libc/sys/sh/Makefile.am: Ditto.
11667	* libc/sys/sun4/Makefile.am: Ditto.
11668	* libc/sys/sysmec/Makefile.am: Ditto.
11669	* libc/sys/sysnec810/Makefile.am: Ditto.
11670	* libc/sys/sysnecv850/Makefile.am: Ditto.
11671	* libc/sys/sysvi386/Makefile.am: Ditto.
11672	* libc/sys/sysvnecv70/Makefile.am: Ditto.
11673	* libc/sys/tic80/Makefile.am: Ditto.
11674	* libc/sys/w65/Makefile.am: Ditto.
11675	* libc/sys/z8ksim/Makefile.am: Ditto.
11676	* libc/machine/necv70/fastmath.S: Renamed from .s file.
11677	* libc/machine/necv70/setjmp.S: Ditto.
11678	* libc/machine/necv70/fastmath.s: Removed.
11679	* libc/machine/necv70/setjmp.s: Ditto.
11680	* libc/machine/w65/*.S: New files renamed from .s files.
11681	* libc/machine/w65/*.s: Renamed and removed.
11682	* libc/sys/a29khif/*.S: New files renamed from .s files.
11683	* libc/sys/a29khif/*.s: Renamed and removed.
11684	* libc/sys/sysvi386/*.S: New files renamed from .s files.
11685	* libc/sys/sysvi386/*.s: Renamed and removed.
11686	* libc/sys/sysvnecv70/*.S: New files renamed from .s files.
11687	* libc/sys/sysvnecv70/*.s: Renamed and removed.
11688	* libc/*Makefile.in: Regenerated as appropriate.
11689
116902006-04-24  DJ Delorie  <dj@redhat.com>
11691
11692	* libc/machine/sh/configure.in: Avoid link tests.
11693	* libc/machine/sh/configure: Regenerate.
11694
116952006-04-18  Jeff Johnston  <jjohnstn@redhat.com>
11696
11697	* libc/include/sys/signal.h (sigdelset, sigfillset, sigismember): New macros.
11698	(sigaddset, sigemptyset): Add return code.
11699
117002006-04-13  Ralf Corsepius  <ralf.corsepius@rtems.org>
11701
11702	* acinclude.m4: New _NEWLIB_VERSION.
11703	* acinclude.m4(NEWLIB_CONFIGURE): AC_REQUIRE(_NEWLIB_VERSION).
11704	Use AC_CANONICAL_HOST instead of AC_CANONICAL_SYSTEM.
11705	Use new form of AC_INIT_AUTOMAKE.
11706	* configure.in: AC_PREREQ(2.59).
11707	Use autoconf-2.5.x version of AC_INIT.
11708	Use AC_CONFIG_FILES and autoconf-2.5x AC_OUTPUT instead of
11709	autoconf-2.13's AC_OUTPUT.
11710	* libm/configure.in: Ditto.
11711	* libm/machine/configure.in: Ditto.
11712	* libm/machine/i386/configure.in: Ditto.
11713	* libc/configure.in: Ditto.
11714	* libc/machine/a29k/configure.in: Ditto.
11715	* libc/machine/arm/configure.in: Ditto.
11716	* libc/machine/configure.in: Ditto.
11717	* libc/machine/mn10300/configure.in: Ditto.
11718	* libc/machine/powerpc/configure.in: Ditto.
11719	* libc/machine/z8k/configure.in: Ditto.
11720	* libc/machine/h8300/configure.in: Ditto.
11721	* libc/machine/mips/configure.in: Ditto.
11722	* libc/machine/crx/configure.in: Ditto.
11723	* libc/machine/m68hc11/configure.in: Ditto.
11724	* libc/machine/h8500/configure.in: Ditto.
11725	* libc/machine/xscale/configure.in: Ditto.
11726	* libc/machine/d10v/configure.in: Ditto.
11727	* libc/machine/fr30/configure.in: Ditto.
11728	* libc/machine/sh/configure.in: Ditto.
11729	* libc/machine/tic80/configure.in: Ditto.
11730	* libc/machine/m32r/configure.in: Ditto.
11731	* libc/machine/xstormy16/configure.in: Ditto.
11732	* libc/machine/i386/configure.in: Ditto.
11733	* libc/machine/d30v/configure.in: Ditto.
11734	* libc/machine/mn10200/configure.in: Ditto.
11735	* libc/machine/frv/configure.in: Ditto.
11736	* libc/machine/mt/configure.in: Ditto.
11737	* libc/machine/i960/configure.in: Ditto.
11738	* libc/machine/v850/configure.in: Ditto.
11739	* libc/machine/necv70/configure.in: Ditto.
11740	* libc/machine/tic4x/configure.in: Ditto.
11741	* libc/machine/cris/configure.in: Ditto.
11742	* libc/machine/m68k/configure.in: Ditto.
11743	* libc/machine/m32c/configure.in: Ditto.
11744	* libc/machine/hppa/configure.in: Ditto.
11745	* libc/machine/w65/configure.in: Ditto.
11746	* libc/machine/iq2000/configure.in: Ditto.
11747	* libc/machine/sparc/configure.in: Ditto.
11748	* libc/machine/m88k/configure.in: Ditto.
11749	* libc/sys/linux/configure.in: Ditto.
11750	* libc/sys/linux/machine/configure.in: Ditto.
11751	* libc/sys/linux/machine/i386/configure.in: Ditto.
11752	* libc/sys/linux/linuxthreads/configure.in: Ditto.
11753	* libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
11754	* libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
11755	* libc/sys/arm/configure.in: Ditto.
11756	* libc/sys/configure.in: Ditto.
11757	* libc/sys/decstation/configure.in: Ditto.
11758	* libc/sys/a29khif/configure.in: Ditto.
11759	* libc/sys/sysnecv850/configure.in: Ditto.
11760	* libc/sys/d10v/configure.in: Ditto.
11761	* libc/sys/netware/configure.in: Ditto.
11762	* libc/sys/mmixware/configure.in: Ditto.
11763	* libc/sys/h8500hms/configure.in: Ditto.
11764	* libc/sys/sh/configure.in: Ditto.
11765	* libc/sys/tic80/configure.in: Ditto.
11766	* libc/sys/rdos/configure.in: Ditto.
11767	* libc/sys/sysmec/configure.in: Ditto.
11768	* libc/sys/sysvi386/configure.in: Ditto.
11769	* libc/sys/h8300hms/configure.in: Ditto.
11770	* libc/sys/sparc64/configure.in: Ditto.
11771	* libc/sys/arc/configure.in: Ditto.
11772	* libc/sys/sysnec810/configure.in: Ditto.
11773	* libc/sys/m88kbug/configure.in: Ditto.
11774	* libc/sys/sysvnecv70/configure.in: Ditto.
11775	* libc/sys/z8ksim/configure.in: Ditto.
11776	* libc/sys/rtems/configure.in: Ditto.
11777	* libc/sys/w65/configure.in: Ditto.
11778	* libc/sys/sun4/configure.in: Ditto.
11779	* doc/configure.in: Ditto.
11780	* iconvdata/configure.in: Ditto.
11781	* configure.in: Use AC_CONFIG_HEADER instead of AM_CONFIG_HEADER.
11782
117832006-04-11  Jeff Johnston  <jjohnstn@redhat.com>
11784
11785	* acinclude.m4: Properly add square brackets for
11786	AC_DEFUN macros.  Rewrite LIB_AC_PROG_CC to remove
11787	macros no longer available.  Add LIB_AM_PROG_AS to
11788	remove prereq of AC_PROG_CC.  Add LIB_AC_PROG_CC_GNU
11789	macro.  Substitute lpfx (library object prefix).
11790	* configure.host: Set lpfx depending on whether
11791	libtool is used or not.
11792	* configure.in: Individually specify libc and libm
11793	to AC_CONFIG_SUBDIRS.  Add square bracket quoting as
11794	necessary.
11795	* Makefile.am: Use $(lpfx) to get object names for
11796	math-library functions that should also be in libc.
11797	* libc/machine/configure.in: Use case statement to determine
11798	AC_CONFIG_SUBDIRS statement.
11799	* libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
11800	* libc/sys/linux/machine/configure.in: Ditto.
11801	* libc/sys/configure.in: Ditto.
11802	* libm/machine/configure.in: Ditto.
11803	* libc/sys/linux/configure.in: Fix up AC_CONFIG_SUBDIRS.
11804	* libm/configure.in: Add AM_CONDITIONAL statement
11805	for HAVE_LIBM_MACHINE_DIR.
11806	* libc/machine/a29k/Makefile.am: Modified to work with
11807	latest automake.  Change includes setting AM_CCASFLAGS
11808	so building .S files will properly pick up flags used
11809	to build C files.
11810	* libc/machine/arm/Makefile.am: Ditto.
11811	* libc/machine/crx/Makefile.am: Ditto.
11812	* libc/machine/d10v/Makefile.am: Ditto.
11813	* libc/machine/d30v/Makefile.am: Ditto.
11814	* libc/machine/fr30/Makefile.am: Ditto.
11815	* libc/machine/frv/Makefile.am: Ditto.
11816	* libc/machine/h8300/Makefile.am: Ditto.
11817	* libc/machine/h8500/Makefile.am: Ditto.
11818	* libc/machine/hppa/Makefile.am: Ditto.
11819	* libc/machine/i386/Makefile.am: Ditto.
11820	* libc/machine/iq2000/Makefile.am: Ditto.
11821	* libc/machine/m32c/Makefile.am: Ditto.
11822	* libc/machine/m32r/Makefile.am: Ditto.
11823	* libc/machine/m68hc11/Makefile.am: Ditto.
11824	* libc/machine/m68k/Makefile.am: Ditto.
11825	* libc/machine/m88k/Makefile.am: Ditto.
11826	* libc/machine/mips/Makefile.am: Ditto.
11827	* libc/machine/mn10200/Makefile.am: Ditto.
11828	* libc/machine/mn10300/Makefile.am: Ditto.
11829	* libc/machine/mt/Makefile.am: Ditto.
11830	* libc/machine/necv70/Makefile.am: Ditto.
11831	* libc/machine/powerpc/Makefile.am: Ditto.
11832	* libc/machine/sh/Makefile.am: Ditto.
11833	* libc/machine/sparc/Makefile.am: Ditto.
11834	* libc/machine/tic4x/Makefile.am: Ditto.
11835	* libc/machine/tic80/Makefile.am: Ditto.
11836	* libc/machine/v850/Makefile.am: Ditto.
11837	* libc/machine/w65/Makefile.am: Ditto.
11838	* libc/machine/xscale/Makefile.am: Ditto.
11839	* libc/machine/xstormy16/Makefile.am: Ditto.
11840	* libc/machine/z8k/Makefile.am: Ditto.
11841	* libc/sys/a29khif/Makefile.am: Ditto.
11842	* libc/sys/arc/Makefile.am: Ditto.
11843	* libc/sys/arm/Makefile.am: Ditto.
11844	* libc/sys/d10v/Makefile.am: Ditto.
11845	* libc/sys/decstation/Makefile.am: Ditto.
11846	* libc/sys/h8300hms/Makefile.am: Ditto.
11847	* libc/sys/h8500hms/Makefile.am: Ditto.
11848	* libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
11849	* libc/sys/linux/machine/i386/Makefile.am: Ditto.
11850	* libc/sys/m88kbug/Makefile.am: Ditto.
11851	* libc/sys/mmixware/Makefile.am: Ditto.
11852	* libc/sys/netware/Makefile.am: Ditto.
11853	* libc/sys/rdos/Makefile.am: Ditto.
11854	* libc/sys/rtems/Makefile.am: Ditto.
11855	* libc/sys/sh/Makefile.am: Ditto.
11856	* libc/sys/sparc64/Makefile.am: Ditto.
11857	* libc/sys/sysmec/Makefile.am: Ditto.
11858	* libc/sys/sysnec810/Makefile.am: Ditto.
11859	* libc/sys/sysnecv850/Makefile.am: Ditto.
11860	* libc/sys/sysvi386/Makefile.am: Ditto.
11861	* libc/sys/sysvnecv70/Makefile.am: Ditto.
11862	* libc/sys/tic80/Makefile.am: Ditto.
11863	* libc/sys/w65/Makefile.am: Ditto.
11864	* libc/sys/z8ksim/Makefile.am: Ditto.
11865	* libm/machine/i386/Makefile.am: Ditto.
11866	* libc/sys/arm/Makefile.am: Ditto plus add EXTRA sources including
11867	trap.S so that automake will generate a .S.o suffix rule.
11868	* libc/argz/Makefile.am: Modified to work with
11869	latest automake.  Change includes adding lib_a_CFLAGS
11870	so automake doesn't complain about libtool and non-libtool
11871	libraries sharing objects.
11872	* libc/ctype/Makefile.am: Ditto.
11873	* libc/errno/Makefile.am: Ditto.
11874	* libc/iconv/ccs/Makefile.am: Ditto.
11875	* libc/iconv/ces/Makefile.am: Ditto.
11876	* libc/iconv/lib/Makefile.am: Ditto.
11877	* libc/locale/Makefile.am: Ditto.
11878	* libc/misc/Makefile.am: Ditto.
11879	* libc/posix/Makefile.am: Ditto.
11880	* libc/reent/Makefile.am: Ditto.
11881	* libc/search/Makefile.am: Ditto.
11882	* libc/signal/Makefile.am: Ditto.
11883	* libc/stdio/Makefile.am: Ditto.
11884	* libc/stdio64/Makefile.am: Ditto.
11885	* libc/stdlib/Makefile.am: Ditto.
11886	* libc/string/Makefile.am: Ditto.
11887	* libc/sys/linux/Makefile.am: Ditto.
11888	* libc/sys/linux/argp/Makefile.am: Ditto.
11889	* libc/sys/linux/cmath/Makefile.am: Ditto.
11890	* libc/sys/linux/dl/Makefile.am: Ditto.
11891	* libc/sys/linux/iconv/Makefile.am: Ditto.
11892	* libc/sys/linux/intl/Makefile.am: Ditto.
11893	* libc/sys/linux/linuxthreads/Makefile.am: Ditto.
11894	* libc/sys/linux/net/Makefile.am: Ditto.
11895	* libc/sys/linux/stdlib/Makefile.am: Ditto.
11896	* libc/syscalls/Makefile.am: Ditto.
11897	* libc/time/Makefile.am: Ditto.
11898	* libc/unix/Makefile.am: Ditto.
11899	* libm/Makefile.am: Ditto.
11900	* libm/common/Makefile.am: Ditto.
11901	* libm/math/Makefile.am: Ditto.
11902	* libm/mathfp/Makefile.am: Ditto.
11903	* Regenerate all aclocal.m4, Makefile.in, and configure files.
11904
119052006-04-07  Jeff Johnston  <jjohnstn@redhat.com>
11906
11907	* libc/time/time.c (time): Do not check for HAVE_GETTIMEOFDAY
11908	anymore.  Assume there is a gettimeofday syscall.
11909
119102006-03-29  Shaun Jackman  <sjackman@gmail.com>
11911
11912	* libc/sys/linux/include/netinet/ip.h: Include netinet/in_systm.h
11913	for the declaration of n_long.
11914
119152006-03-29  Shaun Jackman  <sjackman@gmail.com>
11916
11917	* libc/sys/linux/include/net/if.h: Include sys/socket.h for
11918	struct sockaddr.
11919	(IFF_SMART): Replace this define with IFF_NOTRAILERS.
11920	(IFF_CANTCHANGE): Replace IFF_SMART reference with IFF_NOTRAILERS.
11921	(IFF_NOTRAILERS): New define.
11922	(struct ifreq): Add ifru_netmask.
11923	(ifr_netmask): New define.
11924
119252006-03-29  Shaun Jackman  <sjackman@gmail.com>
11926
11927	* libc/sys/linux/sys/ioccom.h (ioctl): Change declaration to
11928	match sys/ioctl.h.
11929
119302006-03-29  Shaun Jackman  <sjackman@gmail.com>
11931
11932	* libtool.m4: Set lt_cv_deplibs_check_method=pass_all for
11933	linux-newlib libc implementations.
11934
119352006-03-29  Eric Blake  <ebb9@byu.net>
11936
11937	* libc/stdio/freopen.c (_freopen_r) [__SCLE]: Fix typo.
11938	* libc/stdio64/freopen64.c (_freopen64_r) [__SCLE]: Likewise.
11939
119402006-03-29  Jeff Johnston  <jjohnstn@redhat.com>
11941
11942	* libc/sys/linux/io.c (__mknod): Fix declaration of
11943	syscall to pass a dev_t as third argument rather than
11944	a pointer to dev_t.
11945
119462006-03-29  Jeff Johnston  <jjohnstn@redhat.com>
11947
11948	* libc/sys/linux/net/name6.c: Fix struct references.
11949
119502006-03-22  Mark Mitchell  <mark@codesourcery.com>
11951
11952	* configure.host: Allow hosts to set the default
11953	newlib_atexit_dynamic_alloc value.
11954	* configure.in: Likewise.
11955	* configure: Regenerated.
11956
119572006-03-20  Mark Mitchell  <mark@codesourcery.com>
11958
11959	* acconfig.h (_ATEXIT_DYNAMIC_ALLOC): Undef.
11960	* configure.in (--disable-newlib-atexit-dynamic-alloc): New
11961	option.
11962	* configure: Regenerated.
11963	* newlib.hin: Regenerated.
11964	* libc/stdlib/__atexit.c (__register_exitproc): Don't call malloc
11965	if _ATEXIT_DYNAMIC_ALLOC is undefined.
11966	* libc/stdlib/__call_atexit.c (__call_exitprocs): Don't call free
11967	if _ATEXIT_DYNAMIC_ALLOC is undefined.
11968
119692006-03-17  Jeff Johnston  <jjohnstn@redhat.com>
11970
11971	* libc/sys/linux/linuxthreads/config.h: Remove definition
11972	of UINT32_C.
11973
119742006-03-15  Jeff Johnston  <jjohnstn@redhat.com>
11975
11976	* libc/stdio/wsetup.c (__swsetup): Don't make a buffer
11977	for a string I/O file that isn't using the asprintf family.
11978
119792006-03-07  Eric Blake  <ebb9@byu.net>
11980
11981	* libc/stdio/freopen.c (_freopen_r) [HAVE_FCNTL]: For NULL
11982	filename, allow read-only or write-only FILE atop O_RDWR file
11983	descriptor.
11984	* libc/stdio64/freopen64.c (_freopen64_r) [HAVE_FCNTL]: Likewise.
11985
119862006-03-07  Jeff Johnston  <jjohnstn@redhat.com>
11987
11988	* libm/common/sf_isinf.c[_DOUBLE_IS_32BITS]: Undef isinf.
11989	* libm/common/sf_isnan.c[_DOUBLE_IS_32BITS]: Undef isnan.
11990
119912006-03-02  Jeff Johnston  <jjohnstn@redhat.com>
11992
11993	* libm/math/math.tex: Fix reference to sisnan.def which
11994	is now in common subdirectory.
11995	* libm/mathfp/mathfp.tex: Ditto.
11996
119972006-02-27  Jeff Johnston  <jjohnstn@redhat.com>
11998
11999	* Makefile.am (MATHOBJS_IN_LIBC): Add s_isinfd, sf_isinff,
12000	s_isnand, and sf_isnanf object files.
12001	* Makefile.in: Regenerated.
12002	* libc/include/ieeefp.h: Undef isnan and isinf to avoid
12003	conflict if <math.h> has previously been included.
12004	* libc/include/math.h
12005	* libc/include/math.h: Make isnan and isinf macros to
12006	conform to C99.
12007	(__isinfd, __isinff, __isnand, __isnanf): New functions.
12008	* libm/common/Makefile.am: Add new s_isinfd, s_isnand, sf_isinff,
12009	and sf_isnanf files.  Also support s_isnan, sf_isnan, s_isinf, and
12010	sf_isinf files which have been moved from math/mathfp directories.
12011	* libm/common/Makefile.in: Regenerated.
12012	* libm/common/s_isinfd.c: New file.
12013	* libm/common/s_isnand.c: Ditto.
12014	* libm/common/sf_isinff.c: Ditto.
12015	* libm/common/sf_isnanf.c: Ditto.
12016	* libm/common/s_isinf.c: Moved from libm/math directory.
12017	* libm/common/s_isnan.c: Ditto.
12018	* libm/common/sf_isinf.c: Ditto.
12019	* libm/common/sf_isnan.c: Ditto.
12020	* libm/math/Makefile.am: Remove isinf and isnan family functions
12021	which have been moved into common directory.
12022	* libm/mathfp/Makefile.am: Ditto.
12023	* libm/math/Makefile.in: Regenerated.
12024	* libm/mathfp/Makefile.in: Ditto.
12025	* libm/math/s_isinf.c: Removed.
12026	* libm/math/s_isnan.c: Ditto.
12027	* libm/math/sf_isinf.c: Ditto.
12028	* libm/math/sf_isnan.c: Ditto.
12029	* libm/mathfp/s_isinf.c: Ditto.
12030	* libm/mathfp/s_isnan.c: Ditto.
12031	* libm/mathfp/sf_isinf.c: Ditto.
12032	* libm/mathfp/sf_isnan.c: Ditto.
12033
120342006-02-20  Jeff Johnston  <jjohnstn@redhat.com>
12035
12036	* libc/stdio/fflush.c (fflush): For an fflush on a read-only
12037	stream, turn off fseek/rewind optimization as per POSIX/SUSv3.
12038	* libc/stdio/fseek.c (_fseek_r): After a successful unoptimized
12039	seek, turn off the __SNPT no-optimization flag.
12040
120412006-02-16  Jeff Johnston  <jjohnstn@redhat.com>
12042
12043	* libc/sys/linux/aio.c: Define _GNU_SOURCE so struct aioinit
12044	will be defined.
12045	* libc/sys/linux/sys/types.h: Move <sys/config.h> ahead of
12046	<features.h> to preset special flags.
12047
120482006-02-15  Corinna Vinschen  <corinna@vinschen.de>
12049
12050	* libc/include/sys/time.h (struct timeval): Change member types
12051	according to SUSv3.
12052	* libc/include/sys/types.h (useconds_t): Change to unsigned
12053	according to SUSv3.
12054	(suseconds_t): Define type.
12055
120562006-02-13  Jeff Johnston  <jjohnstn@redhat.com>
12057	    David Carne  <davidcarne@gmail.com>
12058
12059	* libc/string/strndup_r.c (_strndup_r): Use strnlen logic
12060	instead of strlen to determine number of bytes to copy.
12061	* libc/string/strnlen.c (strnlen): Fix so check for max limit occurs
12062	before looking at storage location.
12063
120642006-02-07  Paul Brook  <paul@codesourcery.com>
12065
12066	* libc/machine/arm/setjmp.S: Add Thumb-2 support.
12067	* libc/sys/arm/crt0.S: Add Thumb-2 startup code.
12068	* libc/sys/arm/libcfunc.c (do_AngelSWI): Use AngelSWIInsn.
12069	* libc/sys/arm/swi.h (AngelSWIInsn, AngelSWIAsm): Define.
12070	* libc/sys/arm/trap.S: Disable for Thumb-2.
12071
120722006-01-31  Leif Ekblad  <leif@rdos.net>
12073
12074	* configure.host: RDOS support added
12075	* libc/include/sys/config.h: Ditto.
12076	* libc/sys/rdos/Makefile.am, libc/sys/rdos/Makefile.in: New files.
12077	* libc/sys/rdos/aclocal.m4, libc/sys/rdos/chown.c: Ditto.
12078	* libc/sys/rdos/close.c, libc/sys/rdos/config.h: Ditto.
12079	* libc/sys/rdos/configure, libc/sys/rdos/configure.in: Ditto.
12080	* libc/sys/rdos/crt0.S, libc/sys/rdos/execve.c: Ditto.
12081	* libc/sys/rdos/fork.c, libc/sys/rdos/fstat.c: Ditto.
12082	* libc/sys/rdos/getenv.c, libc/sys/rdos/getpid.c: Ditto.
12083	* libc/sys/rdos/gettod.c, libc/sys/rdos/isatty.c: Ditto.
12084	* libc/sys/rdos/kill.c, libc/sys/rdos/link.c: Ditto.
12085	* libc/sys/rdos/lseek.c, libc/sys/rdos/open.c: Ditto.
12086	* libc/sys/rdos/rdos.S, libc/sys/rdos/rdos.h: Ditto.
12087	* libc/sys/rdos/rdoshelp.c, libc/sys/rdos/read.c: Ditto.
12088	* libc/sys/rdos/readlink.c, libc/sys/rdos/sbrk.c: Ditto.
12089	* libc/sys/rdos/stat.c, libc/sys/rdos/symlink.c: Ditto.
12090	* libc/sys/rdos/times.c, libc/sys/rdos/unlink.c: Ditto.
12091	* libc/sys/rdos/user.def, libc/sys/rdos/wait.c: Ditto.
12092	* libc/sys/rdos/write.c: Ditto.
12093
120942006-01-24  Jeff Johnston  <jjohnstn@redhat.com>
12095
12096	* acinclude.m4: Add nodefine to AM_INIT_AUTOMAKE macro invocation
12097	so as not to define PACKAGE and VERSION in newlib.h.
12098	* aclocal.m4: Regenerated.
12099	* configure: Ditto.
12100	* newlib.hin: Ditto.
12101
121022006-01-20  Jeff Johnston  <jjohnstn@redhat.com>
12103
12104	* acconfig.h: New file to generate newlib.hin from.
12105	* newlib.hin: Regenerated.
12106	* stamp-h.in: Regenerated.
12107	* Makefile.am: Add ACLOCAL_AMFLAGS so aclocal can be
12108	called automatically.
12109	* Makefile.in: Regenerated.
12110	* acinclude.m4: Add proper comment for hack in previous change.
12111	* aclocal.m4 */aclocal.m4: Regenerated.
12112	* configure */configure: Regenerated.
12113
121142006-01-11  Jeff Johnston  <jjohnstn@redhat.com>
12115
12116	* acinclude.m4: Add hack to prevent INSTALL in subdirs
12117	from being set to "../".
12118	* Makefile.am: Pass INSTALL in AM_MAKEFLAGS.
12119	* aclocal.m4: Regenerated.
12120	* configure: Ditto.
12121	* Makefile.in: Ditto.
12122	* doc/aclocal.m4: Ditto.
12123	* doc/configure: Ditto.
12124	* iconvdata/aclocal.m4: Ditto.
12125	* iconvdata/configure: Ditto.
12126	* libc/*/aclocal.m4: Ditto.
12127	* libc/*/configure: Ditto.
12128	* libc/libc.texinfo: Ditto.
12129	* libm/*/aclocal.m4: Ditto.
12130	* libm/*/configure: Ditto.
12131
121322006-01-10  Eric Blake  <ebb9@byu.net>
12133
12134	* libc/stdio/freopen.c (_freopen_r): Fix use of oflags.
12135	* libc/stdio64/freopen64.c (_freopen64_r): Likewise.
12136
121372006-01-10  Jeff Johnston  <jjohnstn@redhat.com>
12138
12139	* libm/mathfp/s_frexp.c: Check for special values on
12140	the original input, not the manipulated output value.
12141	* libm/mathfp/sf_frexp.c: Ditto.
12142	* libm/mathfp/s_atangent.c: Don't use local value branch
12143	when checking for quadrant.
12144	* libm/mathfp/sf_atangent.c: Ditto.
12145
121462006-01-09  Jeff Johnston  <jjohnstn@redhat.com>
12147
12148	* libc/stdio/freopen.c: Switch to use isatty instead of _isatty.
12149	* libc/stdio64/freopen64.c: Ditto.
12150
121512006-01-09  Eric Blake  <ebb9@byu.net>
12152
12153	* libc/stdio/freopen.c (_freopen_r): Accept NULL filename.
12154	* libc/stdio64/freopen64.c (_freopen64_r): Likewise.
12155
121562006-01-06  Jeff Johnston  <jjohnstn@redhat.com>
12157
12158	* libc/sys/linux/include/getopt.h: Add macros needed by
12159	new version of getopt.c in libc/stdlib.
12160
121612006-01-04  Gregory Pietsch  <gpietsch@comcast.net>
12162
12163	* libc/stdlib/getopt.c: Replaced with version
12164	that adds getopt_long and getopt_long_only support.
12165	* libc/include/getopt.h: New file.
12166
121672005-12-16  Jeff Johnston  <jjohnstn@redhat.com>
12168
12169	* NEWS: Update with 1.14.0 info.
12170	* README: Ditto.
12171	* acinclude.m4: Change version number to 1.14.0.
12172	* aclocal.m4: Regenerated.
12173	* configure: Ditto.
12174	* doc/aclocal.m4: Ditto.
12175	* doc/configure: Ditto.
12176	* libc/*/aclocal.m4: Ditto.
12177	* libc/*/configure: Ditto.
12178	* libc/libc.texinfo: Ditto.
12179	* libm/*/aclocal.m4: Ditto.
12180	* libm/*/configure: Ditto.
12181	* libm/libm.texinfo: Ditto.
12182	* libc/sys/linux/shared.ld: Add VERS_1.14.
12183
121842005-12-16  Jeff Johnston  <jjohnstn@redhat.com>
12185
12186	* libc/sys/linux/sys/stat.h: Change *stat64 prototypes to
12187	take a pointer to struct stat64 rather than struct stat.
12188
121892005-12-16  Ralf Corsepius <ralf.corsepius@rtems.org>
12190
12191	* libc/include/stdint.h: Prefer long over int for int32_t.
12192	Use __have_long32 to set up int32_t.
12193	* libc/include/inttypes.h: Use "#if xxx" instead of "#ifdef xxx"
12194	(Sync with stdint.h).
12195
121962005-12-14  Corinna Vinschen  <corinna@vinschen.de>
12197
12198	* libc/include/sys/fcntl.h: Define O_SYNC unconditionally.  Fix
12199	typo in O_NDELAY comment.
12200
122012005-12-13  Nathan Sidwell  <nathan@codesourcery.com>
12202
12203	* libc/include/machine/ieeefp.h (__mt__): Renamed from __ms1__.
12204	* libc/include/machine/setjmp.h (__mt__): Likewise.
12205	* libc/machine/mt/setjmp.S: Rename ms1 reference to mt.
12206	* libc/machine/configure.in: Ditto.
12207
122082005-12-12  Nathan Sidwell  <nathan@codesourcery.com>
12209
12210	* configure.host: Replace ms1 arch with mt arch.
12211	* libc/machine/mt: Renamed from ms1 dir.
12212
122132005-12-08  Shaun Jackman  <sjackman@gmail.com>
12214
12215	* libc/include/sys/types.h: Remove the ifdef armour around
12216	standard POSIX types.
12217
122182005-12-06  Ralf Corsepius <ralf.corsepius@rtems.org>
12219
12220	* libc/sys/rtems/crt0.c: Add rtems_gxx_key_create,
12221	rtems_gxx_key_delete, rtems_gxx_getspecific,
12222	rtems_gxx_setspecific, rtems_gxx_mutex_trylock,
12223	rtems_gxx_recursive_mutex_init, rtems_gxx_recursive_mutex_lock,
12224	rtems_gxx_recursive_mutex_trylock, rtems_gxx_recursive_mutex_unlock.
12225
122262005-12-05  Christopher Faylor  <cgf@timesys.com>
12227
12228	* libc/include/stdlib.h: Move cygwin declarations to cygwin-specific
12229	file.  Declare unsetenv and _unsetenv_r when not cygwin.
12230
122312005-11-18  Jeff Johnston  <jjohnstn@redhat.com>
12232
12233	* libc/time/strptime.c (strptime): Don't abort for %c and %Z.
12234	Treat %c as "%a %b %e %H:%M:%S %Y" and ignore %Z.
12235
122362005-11-18  Christopher Faylor  <cgf@timesys.com>
12237
12238	* include/sys/time.h: Move more cygwin stuff to cygwin-specific header.
12239
122402005-11-18  Christopher Faylor  <cgf@timesys.com>
12241
12242	* include/time.h: Remove more cygwin-specific stuff.
12243
122442005-11-18  Christopher Faylor  <cgf@timesys.com>
12245
12246	* include/time.h: Move cygwin declarations to cygwin-specific header.
12247	* include/sys/time.h: Rename cygwin include to "sys_time.h".
12248
122492005-11-17  Jeff Johnston  <jjohnstn@redhat.com>
12250
12251	* libc/sys/linux/dl/dl-local.h: New file based on old dlfcn.h
12252	in libc/sys/linux/include.
12253	* libc/sys/linux/dl/dlfcn.h: Moved to libc/sys/linux/include.
12254	* libc/sys/linux/dl/ldsodefs.h: Include dl-local.h instead of dlfcn.h.
12255	* libc/sys/linux/include/dlfcn.h: Replaced with dlfcn.h formerly
12256	in libc/sys/linux/dl.
12257
122582005-11-11  Christopher Faylor  <cgf@timesys.com>
12259
12260	* libc/include/sys/time.h: For cygwin, use general header rather than
12261	specific "sys/select.h".
12262
122632005-11-08  Tom Walsh  <tom@openhardware.net>
12264
12265	* libc/time/tzvars.c: New file.
12266	* libc/time/tzset_r.c: Moved globals into tzvars.c
12267	so other time functions needn't link in __tzset_r and its
12268	dependencies.
12269	* libc/time/Makefile.am: Add the new file.
12270	* libc/time/Makefile.in: Regenerated.
12271
122722005-11-08  Christopher Faylor  <cgf@timesys.com>
12273
12274	* libc/include/string.h: Add cygwin-specific function declaration.
12275
122762005-11-07  Corinna Vinschen  <corinna@vinschen.de>
12277
12278	* libc/include/ieeefp.h: Add C++ guards.
12279
122802005-11-03  Jeff Johnston  <jjohnstn@redhat.com>
12281
12282	* libc/unix/getcwd.c: Don't use non-reentrant syscall names.
12283	* libc/unix/getlogin.c: Ditto.
12284	* libc/unix/getpass.c: Ditto.
12285	* libc/unix/getut.c: Ditto.
12286	* libc/unix/ttyname.c: Ditto.
12287
122882005-11-03  Shaun Jackman  <sjackman@gmail.com>
12289
12290	* libc/include/sys/unistd.h (readlink, symlink): Provide these
12291	prototypes by default.
12292	* libc/sys/linux/include/unistd.h (readlink): Remove this
12293	prototype.
12294	* libc/sys/linux/sys/unistd.h (readlink, symlink): New
12295	prototypes.
12296
122972005-11-01  Ralf Corsepius <ralf.corsepius@rtems.org>
12298
12299	* libc/include/stdint.h: Cleanup #if vs. #ifdef.
12300
123012005-10-31  Darin Johnson  <darin@usa.net>
12302
12303	* libm/mathfp/s_mathcnst.c: Fix endian-ness check to be
12304	correct for constants.
12305
123062005-10-28  Bob Wilson  <bob.wilson@acm.org>
12307
12308	* libc/stdio/siprintf.c: Wrap long lines in ANSI_SYNOPSIS.
12309	* libc/stdio/siscanf.c: Likewise.
12310	* libc/stdio/sprintf.c: Likewise.
12311	* libc/stdio/sscanf.c: Likewise.
12312	* libc/stdio/vfprintf.c: Likewise.
12313	* libc/stdio/vfscanf.c: Likewise.
12314	* libc/stdio/viprintf.c: Likewise.
12315	* libc/stdio/viscanf.c: Likewise.
12316
123172005-10-28  Bob Wilson  <bob.wilson@acm.org>
12318
12319	* libc/sys.tex (Stubs): Format examples consistently.   Change sbrk
12320	example to use "_end" symbol instead of "end".  Change write  example
12321	to use "outbyte" instead of "writechar".
12322
123232005-10-28  Bob Wilson  <bob.wilson@acm.org>
12324
12325	* libc/ctype/ctype.tex: Use hyphens as appropriate, but not  otherwise.
12326	* libc/ctype/islower.c: Likewise.
12327	* libc/ctype/isupper.c: Likewise.
12328	* libc/ctype/iswalnum.c: Likewise.
12329	* libc/ctype/iswalpha.c: Likewise.
12330	* libc/ctype/iswblank.c: Likewise.
12331	* libc/ctype/iswcntrl.c: Likewise.
12332	* libc/ctype/iswdigit.c: Likewise.
12333	* libc/ctype/iswgraph.c: Likewise.
12334	* libc/ctype/iswlower.c: Likewise.
12335	* libc/ctype/iswprint.c: Likewise.
12336	* libc/ctype/iswpunct.c: Likewise.
12337	* libc/ctype/iswspace.c: Likewise.
12338	* libc/ctype/iswupper.c: Likewise.
12339	* libc/ctype/iswxdigit.c: Likewise.
12340	* libc/ctype/tolower.c: Likewise.
12341	* libc/ctype/toupper.c: Likewise.
12342	* libc/ctype/towctrans.c: Likewise.
12343	* libc/ctype/towlower.c: Likewise.
12344	* libc/ctype/towupper.c: Likewise.
12345	* libc/string/strcasecmp.c: Likewise.
12346	* libc/string/strcoll.c: Likewise.
12347	* libc/string/strings.tex: Likewise.
12348	* libc/string/strlwr.c: Likewise.
12349	* libc/string/strncasecmp.c: Likewise.
12350	* libc/string/strupr.c: Likewise.
12351	* libc/string/wcscoll.c: Likewise.
12352	* libc/string/wcslcat.c: Likewise.
12353	* libc/string/wcslcpy.c: Likewise.
12354	* libc/string/wcsnlen.c: Likewise.
12355	* libc/string/wcsstr.c: Likewise.
12356	* libc/string/wcstrings.tex: Likewise.
12357	* libc/string/wmemchr.c: Likewise.
12358	* libc/string/wmemcmp.c: Likewise.
12359	* libc/string/wmemcpy.c: Likewise.
12360	* libc/string/wmemmove.c: Likewise.
12361	* libc/string/wmemset.c: Likewise.
12362
123632005-10-28  Bob Wilson  <bob.wilson@acm.org>
12364
12365	* libc/misc/unctrl.c: Replace FUNCTION description.
12366	* libc/signal/signal.c: Remove documentation for raise and  _raise_r.
12367	* libc/stdio/getdelim.c: Fix spelling errors.
12368	* libc/stdio/getw.c: Put RETURNS on a separate line.  Fix  punctuation.
12369	* libc/stdio/putw.c: Likewise.
12370	* libc/stdlib/a64l.c: Fix formatting, spelling and  punctuation in
12371	documentation.
12372	* libc/stdlib/assert.c: Do not capitalize FUNCTION description.
12373	* libc/stdlib/efgcvt.c: Add spaces to FUNCTION description.
12374	* libc/stdlib/envlock.c: Use em-dash in FUNCTION description.
12375	* libc/stdlib/mlock.c: Likewise.
12376	* libc/stdlib/mstats.c: Likewise.
12377	* libc/time/tzlock.c: Likewise.
12378	* libc/stdlib/rand.c: Use "multi-threaded" and "thread-safe"  in NOTES.
12379	* libc/stdlib/rand48.c: Remove extra space in FUNCTION  description
12380	and hyphenate "pseudo-random".
12381	* libc/string/bcmp.c: Remove extra blank lines in  documentation.
12382	* libc/string/strncat.c: Likewise.
12383	* libc/string/memchr.c: Remove extra ">" character in  documentation.
12384	* libc/string/strcspn.c: Use "characters" instead of "chars".
12385	* libc/string/strpbrk.c: Likewise.
12386	* libc/string/strerror_r.c: Capitalize "GNU".
12387	* libc/string/strnlen.c: Likewise.
12388	* libc/string/strtok.c: Fix formatting, spelling and  punctuation in
12389	documentation.  Use "multi-threaded" and "thread-safe" in  NOTES.
12390	* libc/string/wcscat.c: Split PORTABILITY into two paragraphs.
12391	* libc/string/wcschr.c: Likewise.
12392	* libc/string/wcscmp.c: Likewise.
12393	* libc/string/wcscpy.c: Likewise.
12394	* libc/string/wcscspn.c: Likewise.
12395	* libc/string/wcslen.c: Likewise.
12396	* libc/string/wcsncat.c: Likewise.
12397	* libc/string/wcsncmp.c: Likewise.
12398	* libc/string/wcsncpy.c: Likewise.
12399	* libc/string/wcsnlen.c: Likewise.
12400	* libc/string/wcspbrk.c: Likewise.
12401	* libc/string/wcsrchr.c: Likewise.
12402	* libc/string/wcsspn.c: Likewise.
12403	* libc/string/wmemchr.c: Likewise.
12404	* libc/string/wmemcmp.c: Likewise.
12405	* libc/string/wmemcpy.c: Likewise.
12406	* libc/string/wmemset.c: Likewise.
12407	* libc/string/wmemmove.c: Likewise.  Also fix FUNCTION  description.
12408	* libc/string/wcswidth.c: Formatting and punctuation in  documentation.
12409	* libc/string/wcwidth.c: Likewise.
12410	* libm/common/s_modf.c: Remove extra period from documentation.
12411	* libm/math/s_isnan.c: Fix formatting, grammar and  punctuation in
12412	documentation.
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.
12420
124212005-10-26  Shaun Jackman  <sjackman@gmail.com>
12422
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
12426	extraneous #endif.
12427	* libc/sys/linux/sys/lock.h: Do not include
12428	machine/weakalias.h, since it's not used by this file.
12429
124302005-10-26  Jeff Johnston  <jjohnstn@redhat.com>
12431
12432	* libc/Makefile.am: Reorder SUBLIBS so machine and sys
12433	directories can override properly.
12434
124352005-10-20  Jeff Johnston  <jjohnstn@redhat.com>
12436
12437	* libc/include/math.h (HUGE_VAL, HUGE_VALF, HUGE_VALL): When
12438	gcc is 3.3 or greater, use special gcc builtins.
12439
124402005-10-20  Corinna Vinschen <corinna@vinschen.de>
12441
12442	* libc/include/sys/time.h: Declare futimes and lutimes for Cygwin.
12443
124442005-10-18  Corinna Vinschen <corinna@vinschen.de>
12445
12446	* libc/include/sys/features.h: Define _POSIX_MEMLOCK_RANGE for Cygwin.
12447
124482005-10-14  Jeff Johnston  <jjohnstn@redhat.com>
12449
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.
12461
124622005-10-14  Jeff Johnston  <jjohnstn@redhat.com>
12463
12464	* libc/sys/linux/net/gethostbydns.c (dprintf): Rename to
12465	dbgprintf to prevent conflict with new dprintf function.
12466
124672005-10-14  Jeff Johnston  <jjohnstn@redhat.com>
12468
12469	* libc/stdio/vfprintf.c (_VFPRINTF_R): Fix up "inf" and
12470	"nan" processing for systems that have long double support.
12471
124722005-10-14  Jeff Johnston  <jjohnstn@redhat.com>
12473
12474	* libc/sys/linux/sys/types.h (int8_t): Add type.
12475
124762005-10-14  Bob Wilson  <bob.wilson@acm.org>
12477
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.
12483
124842005-10-14  Bob Wilson  <bob.wilson@acm.org>
12485
12486	* libc/libc.texinfo (Top): Surround this node with @ifnottex
12487	instead of @ifinfo.  Update menu to add Introduction and match
12488	SUBDIRS order.
12489	(Introduction): New section.
12490
124912005-10-14  Bob Wilson  <bob.wilson@acm.org>
12492
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.
12498
124992005-10-11  Shaun Jackman  <sjackman@gmail.com>
12500
12501	* libc/include/stdio.h (dprintf): New declaration.
12502	(vdprintf): Ditto.
12503	* libc/stdio/Makefile.am (GENERAL_SOURCES): Add dprintf.c
12504	and vdprintf.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.
12509
125102005-10-11  David Weatherford  <weath@tensilica.com>
12511
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.
12515
125162005-10-07  Bob Wilson  <bob.wilson@acm.org>
12517
12518	* libc/stdlib/mallocr.c (mALLOc, rEALLOCc, mEMALIGn): Set errno
12519	to ENOMEM on failure.
12520
125212005-10-06  Ralf Corsepius <ralf.corsepius@rtems.org>
12522
12523	* libc/include/stdint.h: Add [u]int_fast<N>_t types.
12524
125252005-10-04  Ralf Corsepius <ralf.corsepius@rtems.org>
12526
12527	* libc/include/stdint.h: Move magic to set __have_long* to the
12528	beginning.  Use #if __have* instead of #if defined(__have*).
12529	Minor typo fixes.
12530
125312005-10-04  James E Wilson  <wilson@specifix.com>
12532
12533	* libc/include/sys/dirent.h (_DIRENT_H_): Delete #include_next.  Add
12534	#error.
12535
125362005-10-03  Jeff Johnston  <jjohnstn@redhat.com>
12537
12538	* libc/sys/linux/include/stdint.h: Include <sys/types.h> and
12539	incorporate Ralf's change below.
12540
125412005-10-03  Ralf Corsepius <ralf.corsepius@rtems.org>
12542
12543	* libc/include/stdint.h:
12544	Use __INTMAX_TYPE__ to derive intmax_t.
12545	Use __UINTMAX_TYPE__ to derive uintmax_t.
12546	Fix minor typo.
12547
125482005-09-27  Ralf Corsepius <ralf.corsepius@rtems.org>
12549
12550	* libc/include/stdint.h: Correct __STDINT_EXP macro incorrectly
12551	handling GCC >= 4.
12552
125532005-09-20  Jeff Johnston  <jjohnstn@redhat.com>
12554
12555	* libc/sys/linux/include/stdint.h: Update to match functionality
12556	of generic newlib stdint.h.
12557
125582005-09-20  Jeff Johnston  <jjohnstn@redhat.com>
12559
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
12566	type defined.
12567
125682005-09-20  Shaun Jackman  <sjackman@gmail.com>
12569
12570	* libc/include/stdint.h: Fix typo in names of
12571	LEAST macros.
12572
125732005-09-20  Jeff Johnston  <jjohnstn@redhat.com>
12574
12575	* libc/sys/rtems/include/inttypes.h: Moved to...
12576	* libc/include/inttypes.h: ...here.
12577
125782005-09-19  Jeff Johnston  <jjohnstn@redhat.com>
12579
12580	* libc/sys/rtems/include/stdint.h: Moved to...
12581	* libc/include/stdint.h: ...here.
12582
125832005-09-08  Jeff Johnston  <jjohnstn@redhat.com>
12584
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
12590	glibc headers.
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
12595	optimized away.
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
12604	use #pragma weak.
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.
12618
126192005-09-08  Eric Blake  <ebb9@byu.net>
12620
12621	* libc/argz/argz_insert.c (argz_insert): Don't die with EINVAL when
12622	before is NULL.
12623
126242005-09-08  Brian Dessent  <brian@dessent.net>
12625
12626	* sf_lrint.c (lrintf): Mask 'i0' correctly when extracting
12627	mantissa.
12628	* s_lrint.c: Ditto.
12629
126302005-09-02  Jeff Johnston  <jjohnstn@redhat.com>
12631
12632	* libc/include/stdio.h: Add prototype for viprintf.
12633
126342005-09-01  Jeff Johnston  <jjohnstn@redhat.com>
12635
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.
12639
126402005-08-31  Paul Brook  <paul@codesourcery.com>
12641
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.
12655
126562005-08-26  Christopher Faylor  <cgf@timesys.com>
12657
12658	* libc/include/string.h: Revert previous change.
12659
126602005-08-25  Christopher Faylor  <cgf@timesys.com>
12661
12662	* libc/include/string.h: For Cygwin, Define strerror_r as per ISO C.
12663
126642005-08-22  Shaun Jackman  <sjackman@gmail.com>
12665
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.
12670
126712005-08-10  DJ Delorie  <dj@redhat.com>
12672
12673	* MAINTAINERS (CPU Ports): Add CPU port maintainer section.
12674
126752005-08-10  Stephen Huw Clarke  <stephen.clarke@st.com>
12676
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.
12681
126822005-08-10  DJ Delorie  <dj@redhat.com>
12683
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.
12695
126962005-08-02  Bob Wilson  <bob.wilson@acm.org>
12697
12698	* libm/math/ef_hypot.c (__ieee754_hypotf): Add missing exponent bias
12699	to the value for 2^126.
12700
127012005-07-26  Hans-Peter Nilsson  <hp@bitrange.com>
12702
12703	* libc/machine/cris/libcdtor.c (defaultors): Mark artificially as
12704	used.
12705
127062005-07-20  Bob Wilson  <bob.wilson@acm.org>
12707	   Darin Petkov <darin@tensilica.com>
12708
12709       * libm/math/ef_atan2.c (pi, pi_lo): Use round-to-nearest value of pi.
12710
127112005-07-19  Paul Brook  <paul@codesourcery.com>
12712
12713	* libc/sys/arm/crt0.S: Ensure doubleword stack alignment.
12714
127152005-07-18  Joseph S. Myers  <joseph@codesourcery.com>
12716
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.
12721
127222005-07-08  Ola Hugosson   <Ola.Hugosson@anoto.com>
12723
12724	* libc/string/wcsspn.c (wcsspn): Add missing increment of q.
12725
127262005-07-07  Shaun Jackman  <sjackman@gmail.com>
12727
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.
12731
127322005-07-06  Aldy Hernandez  <aldyh@redhat.com>
12733
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.
12743
127442005-07-04  Mark Mitchell  <mark@codesourcery.com>
12745
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
12753	$tmpdir.
12754	* testsuite/lib/passfail.exp (newlib_pass_fail): Put executables
12755	in $tmpdir.
12756
127572005-06-28  Dave Korn  <dave.korn@artimi.com>
12758
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.
12762
127632005-06-16  Christopher Faylor  <cgf@timesys.com>
12764
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.
12768	(_ldcheck): Ditto.
12769	(_strtold): Ditto.
12770	(union uconv): New union.
12771
127722005-06-03  Jeff Johnston  <jjohnstn@redhat.com>
12773
12774	* libc/stdlib/mallocr.c (MALLOC_COPY): Switch to use memmove
12775	instead of memcpy.
12776
127772005-05-12  Jeff Johnston  <jjohnstn@redhat.com>
12778
12779	* configure.host (mn10300-*): Add long long I/O support by default.
12780
127812005-05-12  Jeff Johnston  <jjohnstn@redhat.com>
12782
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
12787	in libc/unix.
12788	* libc/sys/linux/Makefile.am: Support changes above.
12789	* libc/sys/linux/Makefile.in: Regenerated.
12790
127912005-04-28  Jeff Johnston  <jjohnstn@redhat.com>
12792
12793	* libc/stdio/vfscanf.c (__svfscanf_r): Fix code thinko
12794	when checking for multiple flags.
12795
127962005-04-18  Hans-Peter Nilsson  <hp@axis.com>
12797
12798	* configure.host <cris-*-* | crisv32-*-*>: Set
12799	default_newlib_io_long_long="yes".
12800
128012005-04-08  Jeff Johnston  <jjohnstn@redhat.com>
12802
12803	* libc/include/libgen.h: New file.
12804
128052005-04-08  Shaun Jackman  <sjackman@gmail.com>
12806
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.
12811
128122005-04-07  Shaun Jackman  <sjackman@gmail.com>
12813
12814	* libc/sys/linux/inode.c (lchown): New function.
12815
128162005-04-07  Shaun Jackman  <sjackman@gmail.com>
12817
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.
12821
128222005-04-05  Dave Korn  <dave.korn@artimi.com>
12823
12824	* libc/stdio/vfscanf.c (__svfscanf_r): If an error occurs processing
12825	something that looks like a "NaN", put back the characters processed.
12826
128272005-04-01  Corinna Vinschen  <corinna@vinschen.de>
12828
12829	* libc/stdlib/strtod.c (_strtod_r): Never change s00.
12830
128312005-03-23  Christopher Faylor  <cgf@timesys.com>
12832
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.
12836
128372005-03-22  Jeff Johnston  <jjohnstn@redhat.com>
12838
12839	* configure.host: For arc, set -DREENTRANT_SYSCALLS_PROVIDED flag on.
12840	* libc/sys/arc/syscalls.c: Change functions to use __errno_r rather
12841	than errno.
12842
128432005-03-22  Christopher Faylor  <cgf@timesys.com>
12844
12845	* libc/include/machine/_types.h: Make trivial change to comment to
12846	avoid a spurious warning from gcc.
12847
128482005-03-21  Nicholas Wourms  <nwourms@netscape.net>
12849
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
12852	reent.h include.
12853
128542005-03-18  Hans-Peter Nilsson  <hp@axis.com>
12855	    Corinna Vinschen  <corinna@vinschen.de>
12856
12857	* libc/include/ctype.h: Remove invalid +1 offset from
12858	ctype macro references to __ctype_ptr.
12859	(_ctype_): Move declaration outside #ifndef __cplusplus.
12860
128612005-03-18  Corinna Vinschen  <corinna@vinschen.de>
12862
12863	* libc/include/machine/setjmp.h (sigsetjmp): Use GCC extension to
12864	evaluate first parameter only once.
12865	(siglongjmp): Ditto.
12866
128672005-03-17  Jeff Johnston  <jjohnstn@redhat.com>
12868
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.
12878
128792005-03-17  Hans-Peter Nilsson  <hp@axis.com>
12880
12881	* configure.host (newlib_cflags) <cris-*-*, crisv32-*-*>: Add
12882	-DCOMPACT_CTYPE.
12883
128842005-03-06  Ralf Corsepius  <ralf.corsepius@rtems.org>
12885
12886	* libc/sys/rtems/include/inttypes.h: New file.
12887	* libc/sys/rtems/include/stdint.h: Ditto.
12888
128892005-03-06  Ralf Corsepius  <ralf.corsepius@rtems.org>
12890
12891	* libc/string/memcmp.c: Fix to avoid pointer signedness warning.
12892
128932005-03-06  Ralf Corsepius  <ralf.corsepius@rtems.org>
12894
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.
12901
129022005-02-25  Ralf Corsepius  <ralf.corsepius@rtems.org>
12903
12904	* libm/common/fdlibm.h (FLT_UWORD_MAX, FLT_UWORD_HALF_MAX): Add
12905	L qualifier for these long constants.
12906
129072005-02-25  Eric Blake  <ebb9@byu.net>
12908
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.
12917
129182005-02-24  Ralf Corsepius  <ralf.corsepius@rtems.org>
12919
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.
12923
129242005-02-24  Ralf Corsepius  <ralf.corsepius@rtems.org>
12925
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.
12930
129312005-02-23  Corinna Vinschen  <corinna@vinschen.de>
12932
12933	* libc/include/time.h (_timezone): Change to long also for Cygwin.
12934	(timezone): Drop cast from definition.
12935
129362005-02-23  Jeff Johnston  <jjohnstn@redhat.com>
12937
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.
12953
129542005-02-23  Corinna Vinschen  <corinna@vinschen.de>
12955
12956	* libc/include/sys/unistd.h: Define getpeereid for Cygwin.
12957
129582005-02-22  Corinna Vinschen  <corinna@vinschen.de>
12959
12960	* libc/include/sys/unistd.h: Define fdatasync also for Cygwin.
12961
129622005-02-16  Eric Blake  <ebb9@byu.net>
12963
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).
12973
129742005-02-08  Corinna Vinschen  <corinna@vinschen.de>
12975
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.
12980
129812005-02-07  Antony King  <antony.king@st.com>
12982
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.
13041
130422005-02-07  Jeff Johnston  <jjohnstn@redhat.com>
13043
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
13048	functions.
13049
130502005-02-07  Jeff Johnston  <jjohnstn@redhat.com>
13051
13052	* libc/include/math.h (isfinite, isnormal, isunordered): Change
13053	input variable names to avoid mixups with nesting macros.
13054
130552005-01-27  Hans-Peter Nilsson  <hp@axis.com>
13056
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
13067	files.
13068
130692005-01-27  Hans-Peter Nilsson  <hp@axis.com>
13070
13071	* testsuite/newlib.string/memmove1.c: New test.
13072
130732005-01-27  Hans-Peter Nilsson  <hp@axis.com>
13074
13075	* testsuite/include/check.h: Include stdlib.h.
13076
130772005-01-27  Hans-Peter Nilsson  <hp@axis.com>
13078
13079	* Makefile.am (stmp-targ-include): Support include header files
13080	from machine directories.
13081	(install-data-local): Ditto.
13082	* Makefile.in: Regenerate.
13083
130842005-01-24  Jeff Johnston  <jjohnstn@redhat.com>
13085
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.
13091
130922005-01-20  Jeff Johnston  <jjohnstn@redhat.com>
13093
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
13097	to POSIX.
13098
130992005-01-19  Shaun Jackman  <sjackman@gmail.com>
13100
13101	* libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
13102	environment variable is set.
13103
131042005-01-19  Shaun Jackman  <sjackman@gmail.com>
13105
13106	* tzset_r.c (_tzname): Add a comma.
13107
131082005-01-18  Aldy Hernandez  <aldyh@redhat.com>
13109
13110	* libc/machine/powerpc/vfprintf.c: Use _REENT when calling
13111	_VFPRINTF_R.
13112
131132005-01-07  Paul Brook  <paul@codesourcery.com>
13114
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.
13123
131242005-01-06  Jeff Johnston  <jjohnstn@redhat.com>
13125
13126	* libc/stdlib/strtod.c (_strtod_r): Add NaN support.
13127	* (strtof): Ditto.
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.
13132
131332005-01-06  Hans-Peter Nilsson  <hp@axis.com>
13134
13135	* libc/stdio/ftell.c (ftell_r): Add parenthesis for __SWR
13136	bit-test in combination with NULL test.
13137
131382005-01-06  Hans-Peter Nilsson  <hp@axis.com>
13139
13140	* README: Fix typo of LGPL.  Change "license" to "copyright".
13141
131422004-12-17  Jeff Johnston  <jjohnstn@redhat.com>
13143
13144	* NEWS: Update with 1.13.0 info.
13145	* README: Ditto.
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.
13158
131592004-12-17  Christian Groessler  <chris@groessler.org>
13160
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.
13169
131702004-12-13  Jeff Johnston  <jjohnstn@redhat.com>
13171
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.
13175
131762004-12-09  Alex Mogilnikov  <alx@intellectronika.ru>
13177
13178	* libc/time/tzset_r (_tzset_r): Properly skip over
13179	'/' when it is detected.
13180
131812004-12-08  Alex Mogilnikov  <alx@intellectronika.ru>
13182
13183	* libc/time/tzset_r (_tzset_r): Fix loop.
13184
131852004-12-08  Alex Mogilnikov  <alx@intellectronika.ru>
13186
13187	* libc/time/mktm_r (_mktm_r): Fix overflow calculation for
13188	m_day.
13189	(__tzcalc_limits): Fix reference to month array to be zero-based.
13190
131912004-12-07  Jeff Johnston  <jjohnstn@redhat.com>
13192
13193	* libc/sys/linux/sys/unistd.h: Add prototypes for ftruncate, truncate,
13194	and usleep.
13195
131962004-12-03  Jeff Johnston  <jjohnstn@redhat.com>
13197
13198	* Makefile.am (libc_la_LDFLAGS): Add -lgcc to handle any
13199	libgcc dependencies.
13200	(libm_la_LDFLAGS): Ditto.
13201	* Makefile.in: Regenerated.
13202
132032004-12-03  Shaun Jackman  <sjackman@gmail.com>
13204
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.
13209
132102004-12-02  Shaun Jackman  <sjackman@gmail.com>
13211
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
13217	be redefined.
13218
132192004-11-26  Paul Brook  <paul@codesourcery.com>
13220
13221	* libc/sys/arm/crt0.S (_start): Add .cantunwind annotation.
13222
132232004-11-24  Jeff Johnston  <jjohnstn@redhat.com>
13224
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.
13229
132302004-11-24  Jeff Johnston  <jjohnstn@redhat.com>
13231
13232	* libc/stdio/Makefile.am: Fix missing vfscanf.
13233	* libc/stdio/Makefile.in: Regenerated.
13234
132352004-11-23  Jeff Johnston  <jjohnstn@redhat.com>
13236
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
13241	family functions.
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.
13263
132642004-11-19  Shaun Jackman  <sjackman@gmail.com>
13265
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.
13271
132722004-11-17  Christopher Faylor  <cgf@timesys.com>
13273
13274	* libc/stdio/refill.c (__srefill): Try again after EOF on Cygwin.  Clear
13275	EOF flag if successful.
13276
132772004-10-28  Christopher Faylor  <cgf@timesys.com>
13278
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
13281	include.
13282
132832004-10-26  Jason Tishler  <jason@tishler.net>
13284
13285	* libc/stdio/fread.c (fread): Fix return value for unbuffered
13286	fread.
13287
132882004-10-25  Ralf Corsepius <corsepiu@faw.uni-ulm.de>
13289
13290	* libc/include/machine/setjmp.h: Add AVR support.
13291	* libc/sys/rtems/crt0.S [__AVR__]: Add __stack.
13292
132932004-10-08  Jeff Johnston  <jjohnstn@redhat.com>
13294
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.
13299
133002004-10-05  Tomer Levi  <Tomer.Levi@nsc.com>
13301
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.
13315
133162004-10-05  Jeff Johnston  <jjohnstn@redhat.com>
13317
13318	* Makefile.am (stmp-targ-include): Support sys header files
13319	from machine directories.
13320	* Makefile.in: Regenerated.
13321
133222004-10-04  Jeff Johnston  <jjohnstn@redhat.com>
13323
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.
13327
133282004-09-24  Jeff Johnston  <jjohnstn@redhat.com>
13329
13330	* libc/stdio/local.h: Include <stdlib.h>.
13331
133322004-09-24  Corinna Vinschen  <corinna@vinschen.de>
13333
13334	* libc/stdio/fread.c (fread): Include <malloc.h>.
13335
133362004-09-22  Jeff Johnston  <jjohnstn@redhat.com>
13337
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.
13341
133422004-09-21  Ian Lance Taylor  <ian@wasabisystems.com>
13343
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.
13348
133492004-09-16  Antony King  <antony.king@st.com>
13350
13351	* libc/include/sys/lock.h: Replaced empty {} with (0) to conform
13352	with locking API.
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
13357	not NULL.
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.
13367
133682004-09-16  Antony King  <antony.king@st.com>
13369
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.
13374
133752004-09-16  Antony King  <antony.king@st.com>
13376
13377	* libc/stdio64/freopen64.c: Remove casting of fp lock to
13378	_LOCK_RECURSIVE_T.
13379
133802004-09-16  Antony King  <antony.king@st.com>
13381
13382	* libc/time/tzlock.c: Add default stubs that use generic
13383	locking code.
13384
133852004-09-16  Antony King  <antony.king@st.com>
13386
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.
13393
133942004-09-15  Corinna Vinschen  <vinschen@redhat.com>
13395
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.
13400
134012004-09-15  Jeff Johnston  <jjohnstn@redhat.com>
13402
13403	* configure.host: Reverting 2004-09-14 change as fix has occurred on
13404	Cygwin side.
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.
13423
134242004-09-14  Jeff Johnston  <jjohnstn@redhat.com>
13425
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.
13447
134482004-09-13 Artem B. Bityuckiy  <dedekind@oktetlabs.ru>
13449
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.
13455
134562004-09-09  Paul Brook  <paul@codesourcery.com>
13457
13458	* libc/include/sys/reent.h (struct _on_exit_args): Add _dso_handle
13459	and _is_cxa.
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
13464	__call_exit.c.
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
13477	_on_exit_args_ptr.
13478
134792004-08-23  Jeff Johnston  <jjohnstn@redhat.com>
13480
13481	* libc/include/sys/unistd.h (getpass): Change prototype to use
13482	const instead of __const.
13483
134842004-08-16  Nathan Sidwell  <nathan@codesourcery.com>
13485
13486	* libc/stdio/vfscanf.c (_NO_LONGLONG): Move out of FLOATING_POINT
13487	#if.
13488
134892004-08-12  Jeff Johnston  <jjohnstn@redhat.com>
13490
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.
13495
134962004-07-30  Alexandre Oliva  <aoliva@redhat.com>
13497
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.
13507
135082004-07-29  Jeff Johnston  <jjohnstn@redhat.com>
13509
13510	* libc/time/strptime.c: Correct full-name of "March" typo.
13511
135122004-07-16  Anil Paranjpe  <anilp1@kpitcummins.com>
13513
13514	* configure.host (h8300*-*-*): Default long long printing support.
13515
135162004-07-16  Jeff Johnston  <jjohnstn@redhat.com>
13517
13518	* libc/stdio/fvwrite.c (_sfvwrite):  For asprintf family
13519	calls, if realloc fails, free up buffer as it is no longer
13520	used.
13521
135222004-07-07  Artem B. Bityuckiy  <dedekind@oktetlabs.ru>
13523
13524	* libc/iconv/iconv.tex: Updated to represent recent changes.
13525	* libc/iconv/lib/iconv.c: Documentation updated.
13526
135272004-07-07  Nick Clifton  <nickc@redhat.com>
13528
13529	* configure.host (newlib_cflags): Define PREFER_SIZE_OVER_SPEED
13530	for xStormy16.
13531
135322004-07-06  Chris Demetriou  <cgd@broadcom.com>
13533
13534	* configure.host (mips*-*-elf*): Default long long printing
13535	support.
13536
135372004-07-05  Jeff Johnston  <jjohnstn@redhat.com>
13538
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.
13545
135462004-06-29  Artem B. Bityuckiy  <dedekind@oktetlabs.ru>
13547
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.
13559
135602004-06-25  Artem B. Bityuckiy  <dedekind@oktetlabs.ru>
13561
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.
13738
137392004-06-22  Alexandre Oliva  <aoliva@redhat.com>
13740
13741	* libc/include/machine/setjmp.h [__H8300__] (_JBTYPE): Define,
13742	instead of typedefing jmp_buf.
13743
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
13754	__H8300SX__.
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.
13769
137702004-06-17  Jeff Johnston  <jjohnstn@redhat.com>
13771
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.
13775
137762004-06-14  Jeff Johnston  <jjohnstn@redhat.com>
13777
13778	* libc/sys/linux/machine/i386/syscall.h: For now, set up
13779	__syscall_return macro for systems with vsyscall.
13780
137812004-06-11  Antony King  <antony.king@st.com>
13782
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
13790	<sys/reent.h>.
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
13795	_LOCK_RECURSIVE_T.
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
13802	locking code.
13803	* libc/stdlib/mlock.c: Ditto.
13804
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.
13809
138102004-06-09  Jeff Johnston  <jjohnstn@redhat.com>
13811
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.
13820
138212004-06-09  Toralf Lund  <toralf@procaptura.com>
13822
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.
13832
138332004-06-02  Jeff Johnston  <jjohnstn@redhat.com>
13834
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.
13838
138392004-05-27  Jeff Johnston  <jjohnstn@redhat.com>
13840
13841	* libc/stdio/vfprintf.c (_VFPRINTF): Move file locking
13842	from here ...
13843	(_VFPRINTF_R): ... to here so all I/O printf routines
13844	are covered.
13845
138462004-05-26  Jeff Johnston  <jjohnstn@redhat.com>
13847
13848	* libc/search/hash_buf.c: Protect MAX and MIN macros from
13849	redefinition.
13850	* libc/search/hash.c: Ditto.
13851
138522004-05-25  Artem B. Bityuckiy  <abitytsky@softminecorp.com>
13853
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.
13871
138722004-05-25  Jeff Johnston  <jjohnstn@redhat.com>
13873
13874	* testsuite/include/check.h: Add include of <stdio.h>.
13875
138762004-05-17  Corinna Vinschen  <corinna@vinschen.de>
13877
13878	* libc/include/grp.h: Declare getgrnam_r and getgrgid_r also on Cygwin.
13879
138802004-05-11  Artem B. Bityuckiy  <abitytsky@softminecorp.com>
13881
13882	* libc/stdio/vfprintf.c (VFPRINTF_R): Use _free_r instead
13883	of free.
13884
138852004-05-07  Artem B. Bityuckiy  <abitytsky@softminecorp.com>
13886
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
13893	prototypes.
13894
138952004-05-07  Jeff Johnston  <jjohnstn@redhat.com>
13896
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>.
13906
139072004-05-03  Artem B. Bityuckiy  <abitytsky@softminecorp.com>
13908
13909	* libc/stdio/vfprintf.c (_VFPRINTF_R): Set error flag when
13910	multibyte functions return failure for %C, %S, %lc, and %ls
13911	format specifiers.
13912
139132004-05-03  Artem B. Bityuckiy  <abitytsky@softminecorp.com>
13914
13915	* testsuite/include/check.h (CHECK): Add flush of stdout.
13916
139172004-05-03  Artem B. Bityuckiy  <abitytsky@softminecorp.com>
13918
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.
13923
139242004-04-28  Artem B. Bityuckiy  <abitytsky@softminecorp.com>
13925
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.
13931
139322004-04-26  Aldy Hernandez  <aldyh@redhat.com>
13933
13934	* libc/machine/powerpc/vfscanf.c (__svfscanf_r): Fix typo in
13935	CT_INT case.
13936
139372004-04-23  Artem B. Bityuckiy  <abitytsky@softminecorp.com>
13938
13939	* configure.in: Define _MB_CAPABLE if mb supported.
13940	* configure: Regenerated.
13941	* configure.host: Remove manual setting of MB_CAPABLE compiler
13942	flag.
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
13965
139662004-04-23  Jeff Johnston  <jjohnstn@redhat.com>
13967
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.
13974
139752004-04-23  Jeff Johnston  <jjohnstn@redhat.com>
13976
13977	* libc/include/stdio.h: (_ftell_r, _fseek_r): New prototypes.
13978
139792004-04-23  Artem B. Bityuckiy  <abitytsky@softminecorp.com>
13980
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
14014	warnings.
14015
140162004-04-21  J"orn Rennecke <joern.rennecke@superh.com>
14017
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.
14023
140242004-04-20  Corinna Vinschen  <corinna@vinschen.de>
14025
14026	* libc/include/sys/unistd.h (ttyname_r): Add missing comma.
14027
140282004-04-20  Corinna Vinschen  <corinna@vinschen.de>
14029
14030	* libc/include/sys/unistd.h (ttyname_r): Add declaration for Cygwin.
14031
140322004-04-10  Corinna Vinschen  <corinna@vinschen.de>
14033
14034	* libc/include/sys/unistd.h (sync): Define void on Cygwin according
14035	to SUSv3.
14036
140372004-04-08  Artem B. Bityuckiy  <abitytsky@softminecorp.com>
14038
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.
14045
140462004-04-08  Jeff Johnston  <jjohnstn@redhat.com>
14047
14048	* libc/stdio/fwalk.c (_fwalk_reent): New version of _fwalk
14049	to handle _r reentrant functions.
14050
140512004-04-08  Eric Christopher  <echristo@redhat.com>
14052
14053	* libc/include/machine/setjmp.h: Fix endif locations.
14054
140552004-04-01  Artem B. Bityuckiy  <abitytsky@softminecorp.com>
14056
14057	* libc/time/strptime.c: Add standard includes to avoid
14058	warning messages at compilation time.
14059
140602004-04-01  Jeff Johnston  <jjohnstn@redhat.com>
14061
14062	* libc/stdio/vfscanf.c (__svfscanf_r): Add locking/unlocking
14063	of file.
14064
140652004-03-30  Jeff Johnston  <jjohnstn@redhat.com>
14066
14067	* libc/machine/h8300/Makefile.am: Reformat slightly.
14068	* libc/machine/h8300/Makefile.in: Regenerate.
14069
140702004-03-30  Thomas Pfaff  <tpfaff@gmx.net>
14071
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.
14075
140762004-03-25  Thomas Pfaff  <tpfaff@gmx.net>
14077
14078	* libc/stdio/fclose.c (fclose): Protect file pointer list when
14079	releasing a file.
14080	 * libc/stdio/fcloseall.c (_fcloseall_r): Close all files via
14081	fwalk.
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
14085	to recursive.
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
14100	file pointers.
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
14110	list.
14111
141122004-03-25  Jeff Johnston  <jjohnstn@redhat.com>
14113
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.
14118
141192004-03-11  Kazu Hirata  <kazu@cs.umass.edu>
14120
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.
14126
141272004-03-09  Thomas Pfaff  <tpfaff@gmx.net>
14128
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.
14135
141362004-02-10  Christopher Faylor  <cgf@redhat.com>
14137
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.
14142
141432004-02-09  Christopher Faylor  <cgf@redhat.com>
14144
14145	* libc/include/time.h (TIMER_RELTIME): New define.
14146
141472004-02-09  Jeff Johnston  <jjohnstn@redhat.com>
14148
14149	* libc/stdlib/Makefile.am: Add mallstatsr to LIBADD_OBJS.
14150	* libc/stdlib/Makefile.in: Regenerated.
14151
141522004-02-08  Christopher Faylor  <cgf@redhat.com>
14153
14154	* libc/include/sys/features.h: Add _POSIX_TIMERS define for __CYGWIN__.
14155	* libc/include/sys/reent.h (__getreent): Protect against possibly being
14156	defined.
14157	* libc/include/sys/unistd.h (fdatasync): Don't define for __CYGWIN__.
14158
141592004-02-05  Paul Brook  <paul@codesourcery.com>
14160
14161	* libc/include/machine/ieeefp.h[__arm__][__VFP_FP__]: Set
14162	IEEE_{BIG,LITTLE} based on __ARMEL__ flag.
14163
141642004-02-02  Jeff Johnston  <jjohnstn@redhat.com>
14165
14166	* NEWS: Update with 1.12.0 info.
14167	* README: Ditto.
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.
14180
141812004-02-02  Joel Sherrill  <joel@oarcorp.com>
14182
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.
14192
141932004-01-30  Jeff Johnston  <jjohnstn@redhat.com>
14194
14195	* libc/stdio/fwalk.c (_fwalk.c): Don't traverse the
14196	file chain on the passed in reentrancy struct if it
14197	is _GLOBAL_REENT.
14198
141992004-01-30  Artem B. Bityuckiy  <abitytsky@softminecorp.com>
14200	    Jeff Johnston  <jjohnstn@redhat.com>
14201
14202	* libc/iconv/iconv.tex: Updated with more information.
14203
142042004-01-30  Thomas Pfaff  <tpfaff@gmx.net>
14205	    Jeff Johnston  <jjohnstn@redhat.com>
14206
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.
14210
142112004-01-27  Jeff Johnston  <jjohnstn@redhat.com>
14212
14213	* libc/stdlib/atexit.c: Protect global atexit list with a
14214	lock when newlib is multithreaded.
14215
142162004-01-27  Artem B. Bityuckiy  <abitytsky@softminecorp.com>
14217
14218	* configure.in: Add support to generate iconv converter flags
14219	for newlib.h
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
14229	UCS2/UCS4/UTF8.
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.
14332
143332004-01-23  Artem B. Bityuckiy  <abitytsky@softminecorp.com>
14334
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.
14415
144162004-01-22  Thomas Pfaff  <tpfaff@gmx.net>
14417
14418	* libc/stdio/findfp.c (__sfp): Protect global FILE pointer list
14419	by a lock when newlib is multithreaded.
14420
144212004-01-21  Jeff Johnston  <jjohnstn@redhat.com>
14422
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
14429	of _wctomb_r.
14430
144312004-01-19  Thomas Pfaff  <tpfaff@gmx.net>
14432
14433	* libc/stdio/fclose.c (fclose): Release FILE as the last step.
14434	* libc/stdio/freopen.c (freopen): Ditto.
14435
144362004-01-16  Christopher Faylor  <cgf@redhat.com>
14437
14438	* libc/stdio/vfprintf.c: Add sys/lock.h include.
14439
144402004-01-16  Thomas Pfaff  <tpfaff@gmx.net>
14441
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
14445	instead.
14446
144472004-01-15  Thomas Pfaff  <tpfaff@gmx.net>
14448
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
14452	member.
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
14456	_lock member.
14457
144582004-01-08  Joel Sherrill  <joel@oarcorp.com>
14459
14460	* libc/ctype/iswctype.c, include/sys/reent.h, libc/stdlib/a64l.c:
14461	Remove warnings.
14462
144632004-01-08  Joel Sherrill  <joel@oarcorp.com>
14464
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.
14472
144732004-01-06  Mark Mitchell  <mark@codesourcery.com>
14474
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.
14478
144792004-01-06  Jeff Johnston  <jjohnstn@redhat.com>
14480
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.
14484
144852003-12-05  Jeff Johnston  <jjohnstn@redhat.com>
14486
14487	* libc/include/sys/stat.h: No longer include stat-dj.h.
14488	* libc/include/sys/stat-dj.h: Removed.
14489
144902003-12-05  Jeff Johnston  <jjohnstn@redhat.com>
14491
14492	* libc/include/wchar.h: Include <sys/reent.h>.
14493
144942003-12-05  Christopher Faylor  <cgf@redhat.com>
14495
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.
14503
145042003-12-05  Christopher Faylor  <cgf@redhat.com>
14505
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.
14510
145112003-12-05  Christopher Faylor  <cgf@redhat.com>
14512
14513	* libc/stdlib/mbrtowc.c: Change include order to prevent compiler
14514	errors when defining _mbrtowc.
14515
145162003-12-04  Artem B. Bityuckiy  <abitytsky@softminecorp.com>
14517
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
14522	code within.
14523
145242003-12-04  Jeff Johnston  <jjohnstn@redhat.com>
14525
14526	* libc/include/wchar.h: Add prototypes for _mbrtowc_r,
14527	_wcrtomb_r, and _wcsrtombs_r.
14528
145292003-12-01  Corinna Vinschen  <corinna@vinschen.de>
14530
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.
14533
145342003-11-28  Christopher Faylor  <cgf@redhat.com>
14535
14536	* libc/include/sys/signal.h: Use system specific signal file when
14537	building on cygwin.
14538
145392003-11-27  Jeff Johnston  <jjohnstn@redhat.com>
14540
14541	* libc/include/stdlib.h (_atoi_r): New prototype.
14542	* libc/stdlib/atoi.c (_atoi_r): New reentrant function.
14543
145442003-11-27  Jeff Johnston  <jjohnstn@redhat.com>
14545
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.
14549
145502003-11-27  Artem B. Bityuckiy  <abitytsky@softminecorp.com>
14551	    Jeff Johnston  <jjohnstn@redhat.com>
14552
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.
14561
145622003-11-26  Corinna Vinschen  <corinna@vinschen.de>
14563
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.
14567
145682003-11-24  Artem B. Bityuckiy  <abitytsky@softminecorp.com>
14569
14570	* libc/stdio/vfprintf.c (_VFPRINTF_R): Fix check for 'C' format
14571	specifier to use ch instead of *fmt.
14572
145732003-11-21  Artem B. Bityuckiy  <abitytsky@softminecorp.com>
14574
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.
14578
145792003-11-21  Jeff Johnston  <jjohnstn@redhat.com>
14580
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.
14584
145852003-11-20 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
14586
14587	* libc/machine/h8300/defines.h : Correct pointer register defines
14588	for normal mode.
14589	* libc/machine/h8300/memcpy.S : Use add/sub instead of adds/subs
14590	for normal mode.
14591	* libc/machine/h8300/reg_memcpy.S : Likewise.
14592	* libc/machine/h8300/reg_memset.S : Likewise.
14593	* libc/machine/h8300/strcmp.S : Likewise.
14594
145952003-11-19  Nicholas Wourms  <nwourms@netscape.net>
14596
14597	* configure.host: Enable positional arguments for printf
14598	family for Cygwin.
14599	* libc/stdio/vfprintf.c (_VFPRINTF_R): Remove extraneous
14600	pointer reference for quad_ptr_t.
14601
146022003-11-19  Jeff Johnston  <jjohnstn@redhat.com>
14603
14604	* libc/stdio/scanf.c: Don't include local.h more than once.
14605
146062003-11-18  Corinna Vinschen  <corinna@vinschen.de>
14607
14608	* libc/include/sys/fcntl.h: Declare _open64.
14609	* libc/include/sys/stat.h: Declare _fstat64.
14610	* libc/include/sys/unistd.h: Declare _lseek64.
14611
146122003-11-17  Corinna Vinschen  <corinna@vinschen.de>
14613
14614	* libc/include/stdlib.h (getprogname): Declare for Cygwin.
14615	(setprogname): Ditto.
14616
146172003-11-10  Jeff Johnston  <jjohnstn@redhat.com>
14618
14619	* libc/machine/powerpc/ufix64toa.c (_ufix64to_r): Fix shifts
14620	to use (Ebits + 1) which accounts for the sign-bit.
14621
146222003-11-07  Jeff Johnston  <jjohnstn@redhat.com>
14623
14624	* configure.host: Remove -DLOOSE_KERNEL_NAMES flag for linux
14625	x86 build.
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
14638	kernel types.
14639	* testsuite/newlib.wctype/twctype.c: Fix testcase to properly
14640	test _ELIX_LEVEL macro.
14641
146422003-11-07  Jeff Johnston  <jjohnstn@redhat.com>
14643
14644	* libc/stdio/vfprintf.c (_VFPRINTF_R): Fix typos that should be
14645	referring to _NO_LONGLONG macro.
14646
146472003-11-06  Jeff Johnston  <jjohnstn@redhat.com>
14648
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.
14687
146882003-11-05  Jeff Johnston  <jjohnstn@redhat.com>
14689	    Artem B. Bityuckiy  <abitytsky@softminecorp.com>
14690
14691	* libc/stdio/vfprintf.c (_VFPRINTF_R): Add support for
14692	%ls, %S, %lc, and %C format specifiers.
14693	(get_arg): Ditto.
14694	* libc/stdio/sprintf.c: Add documentation regarding new
14695	format specifiers added in vfprintf.c.
14696
146972003-11-05  Jeff Johnston  <jjohnstn@redhat.com>
14698
14699	* libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Numerous fixes
14700	to make code work as specified in standard.
14701
147022003-10-23  Jeff Johnston  <jjohnstn@redhat.com>
14703
14704	* configure.in: Use absolute newlib basedir when forming
14705	CC_FOR_NEWLIB include options.
14706	* configure: Regenerated.
14707
147082003-10-23  Artem B. Bityuckiy  <abitytsky@softminecorp.com>
14709
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.
14715
147162003-10-22  Richard Sandiford  <rsandifo@redhat.com>
14717
14718	* libc/stdlib/exit.c (exit): Handle null _GLOBAL_REENT->_atexits.
14719
147202003-10-20  Bob Wilson  <bob.wilson@acm.org>
14721
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
14763	"floating-point".
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.
14784
147852003-10-15  Alexandre Oliva  <aoliva@redhat.com>
14786
14787	* Makefile.am: Add $(MAKE) comments to multido and multiclean
14788	lines, to enable parallel make.
14789	* Makefile.in: Rebuilt.
14790
147912003-10-14  Christopher Faylor  <cgf@redhat.com>
14792
14793	* libc/time/clock.c: Clarify documentation of return value when no
14794	measurement is available.
14795
147962003-09-29  Ian Lance Taylor  <ian@wasabisystems.com>
14797
14798	* libm/configure.in: Check libm_machine_dir, not machine_dir.
14799	* libm/configure: Regenerate.
14800	* libm/Makefile.in: Ditto.
14801
148022003-09-29  J"orn Rennecke <joern.rennecke@superh.com>
14803
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.
14807
148082003-09-11  James E Wilson  <wilson@specifixinc.com>
14809
14810	* MAINTAINERS: Update my e-mail address.
14811
148122003-09-10  Corinna Vinschen  <corinna@vinschen.de>
14813
14814	* libc/include/sys/unistd.h: Declare function daemon for Cygwin.
14815
148162003-09-09  Jeff Johnston  <jjohnstn@redhat.com>
14817
14818	* libc/machine/powerpc/fix64.h: Fix typo for _simdldcheck
14819	prototype.
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
14827	carry from word2.
14828
148292003-09-09  Corinna Vinschen  <corinna@vinschen.de>
14830
14831	* libc/include/grp.h: Don't define setgrfile, group_from_gid and
14832	setgroupent for Cygwin.
14833
148342003-09-05  Jeff Johnston  <jjohnstn@redhat.com>
14835
14836	* libc/stdlib/exit.c (exit): Setting of struct _atexit ptr p
14837	is different for _REENT_SMALL than when using regular reent
14838	struct.
14839
148402003-09-05  Ben Elliston  <bje@wasabisystems.com>
14841
14842	* libc/ctype/wctype.c (_DEFUN): Remove empty default case, as
14843	modern versions of GCC issue a warning.
14844
14845	* libc/machine/xscale/memcmp.c (memcmp): Strip trailing whitespace
14846	after continuation characters that induces a warning from modern
14847	versions of GCC.
14848
148492003-09-04  Ben Elliston  <bje@wasabisystems.com>
14850
14851	* libc/stdlib/mstats.c[_ELIX_LEVEL]: Fix guards.  #ifndef FOO ||
14852	FOO >= 2 is invalid; use #if !defined (FOO) || FOO >= 2 instead.
14853
148542003-09-02  Thomas Pfaff  <tpfaff@gmx.net>
14855
14856	* libc/stdlib/atexit.c: Rename _REENT to _GLOBAL_REENT throughout.
14857	* libc/stdlib/exit.c : Ditto.
14858	* libc/stdlib/on_exit.c: Ditto.
14859
148602003-08-27  Corinna Vinschen  <corinna@vinschen.de>
14861
14862	* libc/include/reent.h: Define stat64 as __stat64 when
14863	compiling newlib for Cygwin.
14864
148652003-08-26  Jeff Johnston  <jjohnstn@redhat.com>
14866
14867	* libc/include/sys/stat.h[__CYGWIN__]: Only define stat64 as
14868	__stat64 when compiling newlib.
14869
148702003-08-26  Jeff Johnston  <jjohnstn@redhat.com>
14871
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
14877	pointer.
14878	* libc/stdio64/tmpfile64.c(_tmpfile64_r): Call _fopen64_r.
14879
148802003-08-23  Christopher Faylor  <cgf@redhat.com>
14881
14882	* libc/stdio64/fseeko64.c (fseeko64_r): Rename second fseeko64_r
14883	definition to fseeko64.
14884
148852003-08-22  Jeff Johnston  <jjohnstn@redhat.com>
14886
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
14919	cleaning up.
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
14931	data pointer.
14932	(get_arg): Add extra struct _reent pointer argument.
14933	* libc/stdio64/fgetpos64.c: Add _r versions, remove any reference
14934	to fp->_data.
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.
14943
149442003-08-19  Jeff Johnston  <jjohnstn@redhat.com>
14945
14946	* libc/stdlib/mallocr.c (mALLOc, rEALLOc, mEMEALIGn): Enhance
14947	overflow detection.
14948
149492003-08-13  Aldy Hernandez  <aldyh@redhat.com>
14950
14951	* libc/machine/powerpc/machine/stdlib.h: Wrap SPE functions in
14952	extern "C".
14953
149542003-08-13  Jeff Johnston  <jjohnstn@redhat.com>
14955
14956	* libc/include/math.h: Add prototypes for __signbitf and
14957	__signbitd.
14958
149592003-07-31  Jeff Johnston  <jjohnstn@redhat.com>
14960
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.
14970
149712003-07-31  Nick Clifton  <nickc@redhat.com>
14972
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.
14979
149802003-07-29  Honda Hiroki  <hhonda@ipflex.com>
14981
14982	* libc/stdio/vfprintf.c: Set output size to 1 when
14983	we have %f format with precision 0 and # flag not specified.
14984
149852003-07-29  Alexandre Oliva  <aoliva@redhat.com>
14986
14987	* libc/machine/mn10300/setjmp.S: Never emit both .am33 and
14988	.am33_2.
14989
149902003-07-25  Christopher Faylor  <cgf@redhat.com>
14991
14992	* libc/stdio64/fdopen64.c: Include sys/lock.h.
14993
149942003-07-25  Christopher Faylor  <cgf@redhat.com>
14995
14996	* configure.host: Find cygwin include directory, when appropriate.
14997
149982003-07-24  Christopher Faylor  <cgf@redhat.com>
14999
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.
15005
150062003-07-10  Alexandre Oliva  <aoliva@redhat.com>
15007
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.
15012
150132003-07-10  J"orn Rennecke <joern.rennecke@superh.com>
15014
15015	* libc/include/sys/unistd.h (ftruncate, truncate): Also declare
15016	for __sh__.
15017	* libc/sys/sh/Makefile.am (lib_a_SOURCES): Add ftruncate.c and
15018	truncate.c.
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.
15023
150242003-07-09  Alexandre Oliva  <aoliva@redhat.com>
15025
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.
15030
150312003-07-07  Jeff Johnston  <jjohnstn@redhat.com>
15032
15033	* libc/include/stdbool.h: Removed as this is defined by gcc.
15034
150352003-07-03  Shaun Jackman  <sjackman@pathwayconnect.com>
15036
15037	* libc/include/stdbool.h: New header file defined by C99.
15038
150392003-07-02  Jeff Johnston  <jjohnstn@redhat.com>
15040
15041	* libc/include/sys/types.h (int8_t): Make signed.
15042
150432003-07-02  Jeff Johnston  <jjohnstn@redhat.com>
15044
15045	* libc/sys/linux/include/mqueue.h: Add include of <sys/fcntl.h>.
15046
150472003-06-27  Jose Goncalves  <jose.goncalves@inov.pt>
15048
15049	* libc/sys/linux/mq_open.c (mq_open): Only set created flag
15050	on if we actually created the shared memory file exclusively.
15051
150522003-06-27  Joe Vornehm  <joev@mitre.org>
15053
15054	* libm/common/s_fpclassify.c (__fpclassifyf): Fix
15055	comparisons to account for unsigned internal value w.
15056
150572003-06-26  Jeff Johnston  <jjohnstn@redhat.com>
15058
15059	* libc/sys/linux/mq_open.c (mq_open): Must allocate rdbuf and
15060	wrbuf for a non-creating open.
15061
150622003-06-24  Kazu Hirata  <kazu@cs.umass.edu>
15063
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.
15071
150722003-06-24  Richard Sandiford  <rsandifo@redhat.com>
15073
15074	* libc/sys/h8300hms/crt0.S (_start): Fix register sizes in call
15075	to atexit().
15076
150772003-06-20  Jeff Johnston  <jjohnstn@redhat.com>
15078
15079	* configure.host (iq2000): Add tabs.
15080
150812003-06-20  Jeff Johnston  <jjohnstn@redhat.com>
15082
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
15092	for <features.h>.
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.
15102
151032003-06-11  Nick Clifton  <nickc@redhat.com>
15104
15105	* libc/reent/reent.c (reclaim_reent): Fix typo in code to free
15106	_on_exit_args_ptr.
15107
151082003-06-10  Stan Cox  <scox@redhat.com>
15109	    Anthony Green  <green@redhat.com>
15110
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.
15118
151192003-06-10  Richard Sandiford  <rsandifo@redhat.com>
15120
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.
15126
151272003-06-06  Jeff Johnston  <jjohnstn@redhat.com>
15128
15129	* libc/argz/argz_add.c: Change to use _DEFUN macro for function
15130	definition.
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.
15152
151532003-06-05  Nick Clifton  <nickc@redhat.com>
15154
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
15159	needed.
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
15163	_fntypes field.
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
15168	structure.
15169
151702003-06-04  Jeff Johnston  <jjohnstn@redhat.com>
15171
15172	* libc/sys/linux/net/Makefile.am: Remove extraneous markers.
15173	* libc/sys/linux/net/Makefile.in: Regenerated.
15174
151752003-06-03  Jeff Johnston  <jjohnstn@redhat.com>
15176
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.
15211
152122003-06-03  Till Straumann  <strauman@SLAC.Stanford.EDU>
15213
15214	* libc/time/tzset_r.c: Change local variables that are
15215	set via sscanf using the %h format specifier to be unsigned short
15216	instead of int.
15217
152182003-05-30  Kelley Cook  <kelleycook@wideopenwest.com>
15219
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.
15225
152262003-05-28  Jeff Johnston  <jjohnstn@redhat.com>
15227	    Tom Fitzsimmons  <fitzsim@redhat.com>
15228
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.
15793
157942003-05-28  Dhananjay Deshpande  <dhananjayd@kpitcummins.com>
15795
15796	* newlib/libc/machine/h8300/memcpy.S: Use .h8300hn and .h8300sn for
15797	normal mode
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
15804
158052003-05-13  Corinna Vinschen  <corinna@vinschen.de>
15806
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.
15811
158122003-05-13  Corinna Vinschen  <corinna@vinschen.de>
15813
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.
15821
158222003-05-12  Corinna Vinschen  <corinna@vinschen.de>
15823
15824	* libc/include/stdio.h: Change one __CYGWIN__ to __CYGWIN32__.
15825
158262003-05-12  Corinna Vinschen  <corinna@vinschen.de>
15827
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
15843	directory.
15844	* libc/sys/cygwin/sys/param.h: Ditto.
15845	* libc/sys/cygwin/sys/utime.h: Ditto.
15846	* libc/sys/cygwin/sys/utmp.h: Ditto.
15847
158482003-05-11  Corinna Vinschen  <corinna@vinschen.de>
15849
15850	* libc/include/sys/types.h: Don't define key_t for Cygwin.
15851
158522003-05-10  Christopher Faylor  <cgf@redhat.com>
15853
15854	* libc/sys/cygwin/sys/dirent.h (struct dirent): Accommodate (slightly)
15855	64 bit inodes.
15856
158572003-05-09  Corinna Vinschen  <corinna@vinschen.de>
15858
15859	* libc/include/sys/config.h: Remove all Cygwin specific configuration.
15860	Include cygwin/config.h instead.
15861
158622003-04-16  Jeff Johnston  <jjohnstn@redhat.com>
15863
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.
15867
158682003-04-15  Chris January <chris@atomice.net>
15869
15870	* newlib/libc/include/sys/unistd.h: add declaration for gethostid on
15871	Cygwin.
15872
158732003-04-09  J"orn Rennecke <joern.rennecke@superh.com>
15874
15875	* libc/machine/sh/memset.S: Avoid clobbering volatile
15876	objects following a tiny to-be-set array in the same quadword.
15877
158782001-04-09  Corinna Vinschen  <corinna@vinschen.de>
15879
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.
15886
15887Thu Apr  3 14:01:16 2003  J"orn Rennecke <joern.rennecke@superh.com>
15888
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.
15892
158932001-04-03  Corinna Vinschen  <corinna@vinschen.de>
15894
15895	* libc/string/wcscoll.c: Fix comment.
15896
158972001-04-02  Corinna Vinschen  <corinna@vinschen.de>
15898
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.
15904
159052003-04-01  Corinna Vinschen  <corinna@vinschen.de>
15906
15907	* libc/stdio/sscanf.c: Update flags description.
15908	* libc/stdio/vfscanf.c: Add CHAR flag value to denote 8 bit target
15909	type.
15910	(__svfscanf_r): Add 'hh' and 'll' handling.
15911
159122003-04-01  Corinna Vinschen  <corinna@vinschen.de>
15913
15914	* libc/sys/cygwin/sys/dirent.h (struct DIR): Change type of
15915	__d_position member to _off_t.
15916
159172003-03-20  Jeff Johnston  <jjohnstn@redhat.com>
15918
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.
15922
159232003-03-18  D.Venkatasubramanian  <dvenkat@noida.hcltech.com>
15924
15925	* libc/include/sys/h8300hms/crt0.S[__SIMULATOR__]: Add commandline
15926	support.
15927	* configure.host (h8300*-*-*): Added comment regarding -D__SIMULATOR__
15928	flag to support simulator only extensions.
15929
159302003-03-17  Bob Cassels  <bcassels@abinitio.com>
15931
15932	* libc/string/wcschr.c: (wcschr): Look for character first,
15933	then for end of string, so you can do wcschr(x, '\0').
15934
159352003-03-10  Corinna Vinschen  <corinna@vinschen.de>
15936
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.
15944	(__sseek): 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.
15950
159512003-03-09  Corinna Vinschen  <corinna@vinschen.de>
15952
15953	* libc/reent/lseekr.c (lseek_r): Use _off_t instead of off_t.
15954
159552003-03-09  Corinna Vinschen  <corinna@vinschen.de>
15956
15957	* libc/include/sys/config.h: Define __CYGWIN_USE_BIG_TYPES__ for
15958	Cygwin.
15959
159602003-03-09  Corinna Vinschen  <corinna@vinschen.de>
15961
15962	* libc/include/pwd.h: Add guards to avoid type clashes when compiling
15963	Cygwin.
15964	* libc/include/sys/stat.h: Ditto.
15965	* libc/include/sys/unistd.h: Ditto.
15966	* libc/sys/cygwin/sys/dirent.h: Ditto.
15967
159682003-03-07  Christopher Faylor  <cgf@redhat.com>
15969
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.
15973
159742003-03-07  Corinna Vinschen  <corinna@vinschen.de>
15975
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.
15983
159842003-03-07   Jeff Johnston  <jjohnstn@redhat.com>
15985
15986	* libc/include/sys/reent.h: Remove extraneous _sig_func
15987	declaration.
15988
159892003-02-25   D.Venkatasubramanian <dvenkat@noida.hcltech.com>
15990
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.
16004
160052003-02-20  Nick Clifton  <nickc@redhat.com>
16006
16007	* Add support for Cirrus Maverick ARM co-processor:
16008
16009	2000-09-13  Aldy Hernandez  <aldyh@redhat.com>
16010
16011		* libc/include/machine/ieeefp.h: Set IEEE_BIG_ENDIAN or
16012		IEEE_LITTLE_ENDIAN depending on endian mode (cirrus).
16013
16014	2000-08-11  Aldy Hernandez  <aldyh@redhat.com>
16015
16016		* configure.host: set sys_dir, syscall_dir, and
16017		newlib_cflags for ep9312 host.
16018
16019	* configure.host: Restore alpha sorting of entries in case
16020	statements.
16021
160222003-02-19  Jeff Johnston  <jjohnstn@redhat.com>
16023
16024	* libc/stdlib/mallocr.c (unlink): Revert 02/18 fix.
16025
160262003-02-18  Christian Groessler  <chris@groessler.org>
16027
16028	* libc/machine/z8k/setjmp.S (_setjmp / _longjmp): Fix to
16029	support z8001 segmented mode.
16030
160312003-02-18  Earnie Boyd  <earnie@users.sf.net>
16032
16033	* libc/stdlib/mallocr.c (unlink): Don't assign a value to a pointer
16034	with a NULL value.
16035
160362003-02-10  Christopher Faylor  <cgf@redhat.com>
16037
16038	* libc/include/sys/types.h: Don't define __MS_types__ for Cygwin.
16039	Don't define some types under cygwin.
16040
160412003-02-07  Jeff Johnston  <jjohnstn@redhat.com>
16042
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
16056	is disabled.
16057	* libc/sys/arm/Makefile.in: Regenerated.
16058
160592003-02-05  Jonathan Larmour  <jifl@eCosCentric.com>
16060
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.
16067
160682003-02-03  Jeff Johnston  <jjohnstn@redhat.com>
16069
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.
16073
160742003-01-31  Michael Snyder  <msnyder@redhat.com>
16075
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.
16079
160802003-01-31  Michael Snyder  <msnyder@redhat.com>
16081
16082	* libc/sys/h8300hms/crt0.S (_start): Change local label
16083	from .loop to .Loop, so that ld and gdb will ignore it.
16084
160852003-01-29  Jason Tishler  <jason@tishler.net>
16086
16087	* libc/include/time.h: Declare nanosleep() under Cygwin.
16088
160892003-01-24  Nick Clifton  <nickc@redhat.com>
16090
16091	* Add sh2e support:
16092
16093	2002-04-02  Alexandre Oliva  <aoliva@redhat.com>
16094
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.
16098
160992003-01-24  Corinna Vinschen  <corinna@vinschen.de>
16100
16101	* libc/include/sys/unistd.h: Add setregid and setreuid declarations
16102	for Cygwin.
16103
161042003-01-21 Anita Kulkarni  <anitak@kpit.com>
16105
16106	* libc/time/difftime.c : Typecast the result to double.
16107
161082003-01-20  Christopher Faylor  <cgf@redhat.com>
16109
16110	* libc/include/sys/unistd.h: Add rresvport declaration for cygwin.
16111
161122003-01-18  Nick Clifton  <nickc@redhat.com>
16113
16114	* libc/include/machine/ieeefp.h : Define __IEEE_BIG_ENDIAN,
16115	__SMALL_BITFIELDS and _DOUBLE_IS_32BITS for IP2K.
16116
161172003-01-16  Joel Sherrill <joel@OARcorp.com>
16118
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
16122	libc/include.
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.
16127
161282003-01-14  Christopher Faylor  <cgf@redhat.com>
16129
16130	* libc/time/strftime.c (strftime): Add '%h' and '%l, %k' GNU
16131	extensions.
16132
161332003-01-08  Richard Sandiford  <rsandifo@redhat.com>
16134
16135	* configure.host (mips64vr-elf, mips64vrel-elf): New config.
16136
161372003-01-07  Charles Wilson  <cwilson@ece.gatech.edu>
16138
16139	* libc/stdio/sprintf.c: fix typo
16140	* libc/stdio/vfprintf.c: fix typo
16141
161422003-01-07  Jeff Johnston  <jjohnstn@redhat.com>
16143
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.
16148
161492003-01-06  Charles Wilson  <cwilson@ece.gatech.edu>
16150
16151	* Makefile.am: Add vasprintf.
16152	* Makefile.in: Regenerated.
16153
161542003-01-06  Charles Wilson  <cwilson@ece.gatech.edu>
16155
16156	* asprintf.c (_asprintf_r): insure both declarations
16157	are the same.
16158
161592002-12-28  Christopher Faylor  <cgf@redhat.com>
16160
16161	* libc/include/sys/unistd.h: Under cygwin, just include getopt.h rather
16162	than defining getopt directly.
16163
161642002-12-20  Jeff Johnston  <jjohnstn@redhat.com>
16165
16166	* NEWS: Update with 1.11.0 info.
16167	* README: Ditto.
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.
16180
161812002-12-20  Jeff Johnston  <jjohnstn@redhat.com>
16182
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.
16223
162242002-12-20  Jeff Johnston  <jjohnstn@redhat.com>
16225
16226	* libc/stdlib/environ.c: Update license to Red Hat.
16227	* libc/machine/hppa/setjmp.S: Ditto.
16228	* libm/test/Makefile.in: Ditto.
16229
162302002-12-19  Jeff Johnston  <jjohnstn@redhat.com>
16231
16232	* configure.host: Remove references to go32.
16233	* libc/sys/go32/*: Removed.
16234
162352002-12-16  Kazu Hirata  <kazu@cs.umass.edu>
16236
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
16240	platforms.
16241
162422002-12-10  Joel Sherrill  <joel@OARcorp.com>
16243
16244	* libc/include/machine/setjmp.h: Make sure _JBLEN is defined
16245	for i386-rtems targets.
16246
162472002-12-06  Jeff Johnston  <jjohnstn@redhat.com>
16248
16249	* libc/include/stdlib.h (strtof): New prototype (from C99).
16250	(strtodf): Changed from prototype to macro which redefines
16251	to strtof.
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
16255	strtodf.
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
16259	calls strtof.
16260
162612002-11-27  Christopher Faylor  <cgf@redhat.com>
16262
16263	* libc/string/memset.c (memset): Fix comment.
16264
162652002-11-26  Christopher Faylor  <cgf@redhat.com>
16266
16267	* libc/string/memset.c (memset): Move initialization of 'd' earlier in
16268	function.
16269
162702002-11-25  Christopher Faylor  <cgf@redhat.com>
16271
16272	* libc/string/memset.c (memset): Minor optimization: Use new 'd'
16273	variable, introduced below, everywhere.
16274
162752002-11-25  Kazu Hirata  <kazu@cs.umass.edu>
16276
16277	* libc/string/memset.c (memset): Make it safe even if
16278	sizeof (int) = 2.
16279
162802002-11-22  Joe Buehler  <jbuehler@hekimian.com>
16281
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.
16286
162872002-11-22  Vijay L. Khuspe  <vijayk1@kpit.com>
16288
16289	* libc/sys/h8300hms/read.c: Add support for normal mode
16290	architecture.
16291
162922002-11-20  Ryo Tsuruta  <ryo@kitanet.ne.jp>
16293
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.
16297
162982002-11-18  Nick Clifton  <nickc@redhat.com>
16299
16300	* libc/sys/arm/crt0.S: Add NULL to end of argv array.
16301
163022002-11-14  Jeff Johnston  <jjohnstn@redhat.com>
16303
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.
16308
163092002-11-06  Christopher Faylor  <cgf@redhat.com>
16310
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.
16317
163182002-11-12  Jeff Johnston  <jjohnstn@redhat.com>
16319
16320	* libc/stdlib/ldtoa.c (e64toe): When checking the exponent
16321	for inf/nan, make sure that the check ignores the sign bit.
16322
163232002-11-07  Joel Sherrill <joel@OARcorp.com>
16324
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.
16336
163372002-11-06  Sergey Okhapkin  <sos@prospect.com.ru>
16338
16339	* include/utmp.h: Define WTMP_FILE.  Define and use UT_IDLEN.
16340
163412002-11-06  Kazuhiro Fujieda  <fujieda@jaist.ac.jp>
16342
16343	* libc/include/wchar.h: Use _{BEGIN,END}_STD_C instead of extern "C".
16344	* libc/include/wctype.h: Ditto.
16345
163462002-11-04  Jeff Johnston  <jjohnstn@redhat.com>
16347
16348	* libc/include/wchar.h: Add extern "C" specifier if C++.
16349	* libc/include/wctype.h: Ditto.
16350
163512002-10-18  Jeff Johnston  <jjohnstn@redhat.com>
16352
16353	* testsuite/newlib.wctype/tiswctype.c: New test case.
16354	* testsuite/newlib.wctype/twctrans.c: Ditto.
16355
163562002-10-18  Jeff Johnston  <jjohnstn@redhat.com>
16357
16358	* libc/sys/linux/machine/i386/include/endian.h: New file.
16359	* libc/sys/linux/machine/i386/include/param.h: Ditto.
16360
163612002-10-18  Jeff Johnston  <jjohnstn@redhat.com>
16362
16363	* libm/machine/i386/aclocal.m4: Regenerated.
16364	* libm/machine/i386/configure: Ditto.
16365
163662002-10-18  Jeff Johnston  <jjohnstn@redhat.com>
16367
16368	* testsuite/include/check.h: New header file to use with
16369	test cases.
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.
16374
163752002-10-11  Graham Stott  <graham.stott@btinternet.com>
16376	    Richard Sandiford  <rsandifo@redhat.com>
16377
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.
16381
163822002-10-07	Joel Sherrill <joel@OARcorp.com>
16383
16384	* libc/sys/rtems/crt0.c: Add even more symbols so gcc() can link
16385	dummy programs.
16386
163872002-10-07	Joel Sherrill <joel@OARcorp.com>
16388
16389	* libc/include/pthread.h: Define PTHREAD_CANCELED.
16390
163912002-10-07	Joel Sherrill <joel@OARcorp.com>
16392
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.
16396
163972002-10-07  Jeff Johnston  <jjohnstn@redhat.com>
16398
16399	* Makefile.am: Add EXTRA_DIRS to allow future dependencies on
16400	the build library.
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.
16409
164102002-10-03  Jeff Johnston  <jjohnstn@redhat.com>
16411
16412	* libc/include/reent.h: Update documentation at start of file.
16413
164142002-09-27  Jim Wilson  <wilson@redhat.com>
16415
16416	* libc/sys/sysnecv850/crt0.S (start): Delete v850 code for initializing
16417	the ctbp register.
16418
164192002-09-27  Jeff Johnston  <jjohnstn@redhat.com>
16420
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.
16427
164282002-09-24  Jeff Johnston  <jjohnstn@redhat.com>
16429
16430	* libc/time/ctime.c: Fix prototype documentation.
16431
164322002-09-24  Corinna Vinschen  <corinna@vinschen.de>
16433
16434	* libc/include/sys/errno.h: Add EOVERFLOW.
16435
164362002-09-20  Jeff Johnston  <jjohnstn@redhat.com>
16437
16438	* libc/include/wctype.h: New file.
16439
164402002-09-20  Jeff Johnston  <jjohnstn@redhat.com>
16441
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.
16475
164762002-09-20  Jeff Johnston  <jjohnstn@redhat.com>
16477
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.
16482
164832002-09-19  Jeff Johnston  <jjohnstn@redhat.com>
16484
16485	* libc/syscalls/sysfcntl.c (fcntl): Fix typo in preprocessor
16486	statement comment.
16487
164882002-09-19  Jeff Johnston  <jjohnstn@redhat.com>
16489
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.
16502
165032002-09-16  Jeff Johnston  <jjohnstn@redhat.com>
16504
16505	* libc/include/wchar.h (mbstate_t): Change protective flag to
16506	be _MBSTATE_T.
16507	* libc/include/sys/_types.h (_mbstate_t): Remove protective flag.
16508	[__CYGWIN__]: Remove special code that defines mbstate_t and WEOF
16509	for Cygwin.
16510	* libc/sys/linux/sys/_types.h (_mbstate_t): Remove protective flag.
16511
165122002-09-11  Jeff Johnston  <jjohnstn@redhat.com>
16513
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.
16591
165922002-09-09  Jeff Johnston  <jjohnstn@redhat.com>
16593
16594	* libc/sys/linux/machine/i386/crt0.c (_start): Remove
16595	code that clears the .bss section.
16596
165972002-09-09  Jeff Johnston  <jjohnstn@redhat.com>
16598
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
16607	return -1.
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.
16627
166282002-09-06  Jeff Johnston  <jjohnstn@redhat.com>
16629
16630	* libc/include/sys/config.h (MB_LEN_MAX): Removed as this
16631	is defined by <limits.h>.
16632
166332002-09-05  Kazuhiro Fujieda  <fujieda@jaist.ac.jp>
16634
16635	* libc/include/wchar.h (WCHAR_MAX): Only define if not already
16636	defined.
16637
166382002-09-04  Kazuhiro Fujieda  <fujieda@jaist.ac.jp>
16639
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.
16645
166462002-09-03  Jeff Johnston  <jjohnstn@redhat.com>
16647
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.
16652
166532002-09-03  Jeff Johnston  <jjohnstn@redhat.com>
16654
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
16659	_lock field.
16660	* libc/stdio/findfp.c (std)[!__SINGLE_THREAD__]: Initialize _lock
16661	field.
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
16669	<time.h>.
16670
166712002-08-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
16672
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.
16685
166862002-08-29  Jeff Johnston  <jjohnstn@redhat.com>
16687
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.
16694
166952002-08-29  Kazuhiro Fujieda  <fujieda@jaist.ac.jp>
16696
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.
16728
167292002-08-29  Jeff Johnston  <jjohnstn@redhat.com>
16730
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.
16734
167352002-08-28  Jeff Johnston  <jjohnstn@redhat.com>
16736
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.
16741
167422002-08-28  Jeff Johnston  <jjohnstn@redhat.com>
16743
16744	* libc/include/newlib.h: New file for tools that use newlib
16745	headers but don't build newlib first (e.g. gcc).
16746
167472002-08-28  Jeff Johnston  <jjohnstn@redhat.com>
16748
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.
16754
167552002-08-27  Egor Duda  <deo@logos-m.ru>
16756
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.
16767
167682002-08-27  Jeff Johnston  <jjohnstn@redhat.com>
16769
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.
16784
167852002-08-26  Wu Yongwei <adah@netstd.com>
16786
16787	* time.h (timezonevar): Change "#if" to "#ifdef".
16788
167892002-08-26  Jeff Johnston  <jjohnstn@redhat.com>
16790
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.
16798	* configure.in:
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
16855	weak alias.
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
16859	functionality.
16860	* libc/unix/Makefile.am: Add EL/IX level checking.
16861	* libc/unix/Makefile.in: Regenerated.
16862
168632002-08-26  Christopher Faylor  <cgf@redhat.com>
16864
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.
16869
168702002-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
16871
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
16924	profile.c.
16925	* libc/sys/linux/machine/i386/Makefile.am (LIB_SOURCES): Add
16926	dl-procinfo.c.
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
16930	to C-UTF-8.
16931	* testsuite/newlib.locale/UTF-8.exp: Likewise.
16932
169332002-08-20  Casper S. Hornstrup  <chorns@users.sourceforge.net>
16934
16935	* libc/stdlib/mallocr.c: #include windows.h on Win32.
16936	  (AlignPage): Continue macro on next line.
16937
169382002-08-19  Jeff Johnston  <jjohnstn@redhat.com>
16939
16940	* libc/sys/linux/include/pthread.h: New file.
16941
169422002-08-19  Jeff Johnston  <jjohnstn@redhat.com>
16943
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
16947	to get mprec.h.
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.
16954
169552002-08-18  Christopher Faylor  <cgf@redhat.com>
16956
16957	* libc/include/sys/unistd.h: Add getsid declaration for cygwin.
16958
169592002-08-17  Jeff Johnston  <jjohnstn@redhat.com>
16960
16961	* libc/include/sys/config.h[__PPC__][__SPE__]: Set
16962	_LONG_DOUBLE to double.
16963
169642002-08-17  Jeff Johnston  <jjohnstn@redhat.com>
16965
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.
16990
169912002-08-17  Jeff Johnston  <jjohnstn@redhat.com>
16992
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.
17014
170152002-08-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
17016
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.
17034
170352002-08-12  Jeff Johnston  <jjohnstn@redhat.com>
17036
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.
17040
170412002-08-09  Jason Tishler  <jason@tishler.net>
17042
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.
17047	(rEALLOc): Ditto.
17048
170492002-08-09  Jeff Johnston  <jjohnstn@redhat.com>
17050
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.
17063
170642002-08-07  Richard Sandiford  <rsandifo@redhat.com>
17065
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.
17070
170712002-08-04  Christopher Faylor  <cgf@redhat.com>
17072
17073	* libc/stdio/popen.c (popen): Allow "rb", "rt", "wb", and "wt"
17074	arguments for popen to match similar functionality in fopen.
17075
170762002-07-29  Pierre Humblet  <pierre.humblet@ieee.org>
17077
17078	* libc/include/sys/unistd.h: Add setgroups prototype for Cygwin.
17079
170802002-07-29  Jeff Johnston  <jjohnstn@redhat.com>
17081
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.
17086
170872002-07-26  Jeff Johnston  <jjohnstn@redhat.com>
17088
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.
17101
171022002-07-26  Jeff Johnston  <jjohnstn@redhat.com>
17103
17104	* libc/string/strings.tex: Fix typo for memccpy.
17105
171062002-07-25  Jeff Johnston  <jjohnstn@redhat.com>
17107
17108	* libc/sys/linux/io64.c (truncate64, ftruncate64): Added.
17109	* libc/sys/linux/sys/types.h (off64_t): Definition added.
17110
171112002-07-25  Jeff Johnston  <jjohnstn@redhat.com>
17112
17113	* libc/sys/linux/Makefile.am: Add fclean.c.
17114	* libc/sys/linux/Makefile.in: Regenerated.
17115	* libc/sys/linux/fclean.c: New file.
17116
171172002-07-25  Jeff Johnston  <jjohnstn@redhat.com>
17118
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>.
17125
171262002-07-25  Jeff Johnston  <jjohnstn@redhat.com>
17127
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.
17134
171352002-07-24  Jeff Johnston  <jjohnstn@redhat.com>
17136
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.
17151
171522002-07-24  Jeff Johnston  <jjohnstn@redhat.com>
17153
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.
17160
171612002-07-24  Stephane Carrez  <stcarrez@nerim.fr>
17162
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.
17176
171772002-07-23  Jeff Johnston  <jjohnstn@redhat.com>
17178
17179	* libc/include/string.h: Add mempcpy, strndup, and _strndup_r
17180	prototypes.
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.
17195
171962002-07-23  Jeff Johnston  <jjohnstn@redhat.com>
17197
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.
17208
172092002-07-22  Jeff Johnston  <jjohnstn@redhat.com>
17210
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.
17217
172182002-07-22  Jeff Johnston  <jjohnstn@redhat.com>
17219
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.
17224
172252002-07-22  Aldy Hernandez  <aldyh@redhat.com>
17226
17227	* libc/machine/powerpc/time.c: New file.
17228	* libc/machine/powerpc/Makefile.am (lib_a_SOURCES): Add
17229	time.c.
17230	* libc/machine/powerpc/Makefile.in: Regenerated.
17231
172322002-07-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
17233
17234	* libc/libc.texinfo: Change copyright notices to Red Hat from
17235	Cygnus.
17236	* libm/libm.texinfo: Likewise.
17237	* README: Change docs URL to
17238	http://sources.redhat.com/newlib/docs.html.
17239
172402002-07-19  Jeff Johnston  <jjohnstn@redhat.com>
17241
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.
17250
172512002-07-19  Jeff Johnston  <jjohnstn@redhat.com>
17252
17253	* libc/stdio64/Makefile.am: Remove missing files.
17254	* libc/stdio64/Makefile.in: Regenerated.
17255
172562002-07-19  Jeff Johnston  <jjohnstn@redhat.com>
17257
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.
17268
172692002-07-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
17270
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
17274	value to (char *).
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):
17281	Change esp to ebp.
17282
172832002-07-17  Jeff Johnston  <jjohnstn@redhat.com>
17284
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
17288	large files.
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
17331	open64.
17332
173332002-07-16  Jeff Johnston  <jjohnstn@redhat.com>
17334
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.
17345
173462002-07-15  Jeff Johnston  <jjohnstn@redhat.com>
17347
17348	* libc/include/sys/config.h[__H8300__]: Replace __SMALL_BITFIELDS
17349	definition that was removed in error.
17350
173512002-07-15  Jeff Johnston  <jjohnstn@redhat.com>
17352
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.
17358
173592002-07-15  Jeff Johnston  <jjohnstn@redhat.com>
17360
17361	* libc/sys/linux/callocr.c: Fix so code references
17362	calloc.
17363
173642002-07-15  Jeff Johnston  <jjohnstn@redhat.com>
17365
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
17411	getpagesize.c.
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>.
17421
174222002-07-12  Jeff Johnston  <jjohnstn@redhat.com>
17423
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.
17429
174302002-07-11  Chris Demetriou  <cgd@broadcom.com>
17431
17432	* testsuite/newlib.search/hsearchtest.c: New file to test
17433	newlib/libc/search.
17434	* testsuite/newlib.search/hsearchtest.exp: Likewise.
17435
174362002-07-10  Florian Schrack  <florian.schrack@freenet.de>
17437
17438	* libc/sys/mmixware/read.c: Use SYS_Fgets syscall if dealing with
17439	a terminal.
17440	* libc/sys/mmixware/sys/syscall.h (SYS_Fgets): Definition added.
17441
174422002-07-08  Jeff Johnston  <jjohnstn@redhat.com>
17443
17444	* libc/include/math.h (MAXFLOAT): Added.
17445
17446Mon Jul  8 13:55:23 2002  J"orn Rennecke <joern.rennecke@superh.com>
17447
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
17453	for SHcompact.
17454
174552002-07-04  Jeff Johnston  <jjohnstn@redhat.com>
17456
17457	* libc/sys/linux/inode.c: Fix utime prototype and add _LIBC
17458	define before including <sys/lock.h>.
17459
174602002-07-04  Jeff Johnston  <jjohnstn@redhat.com>
17461
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.
17471
174722002-07-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
17473
17474	* libtool.m4: New file.
17475	* libc/sys/linux/process.c: Implement vfork in terms of fork,
17476	rather than as a syscall.
17477
174782002-07-04  Jeff Johnston  <jjohnstn@redhat.com>
17479
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.
17487
174882002-07-04  Jeff Johnston  <jjohnstn@redhat.com>
17489
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.
17499
175002002-07-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
17501
17502	* libc/search/hcreate.c: Remove advertising clause from license.
17503	* libc/search/hcreate_r.c: Likewise.
17504
175052002-07-02  Chris Demetriou  <cgd@broadcom.com>
17506
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.
17517
175182002-06-28  Thomas Fitzsimmons  <fitzsim@redhat.com>
17519
17520	* libm/mathfp/sf_pow.c (powf): Change k from int to float.
17521
175222002-06-27  Benjamin Kosnik  <bkoz@redhat.com>
17523
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.
17535	(_END_STD_C): Add.
17536
175372002-06-27  Jeff Johnston  <jjohnstn@redhat.com>
17538
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.
17550
175512002-06-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
17552
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.
17557
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.
17562
175632002-06-27  Jeff Johnston  <jjohnstn@redhat.com>
17564
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>.
17583
17584Wed Jun 26 16:33:25 2002  J"orn Rennecke <joern.rennecke@superh.com>
17585
17586	* libc/sys/sh/crt0.S: Remove vestigial .section directive.
17587
175882002-06-25  Jeff Johnston  <jjohnstn@redhat.com>
17589
17590	* libc/sys/linux/Makefile.am: Consolidate additional items under
17591	ADD_OBJS.
17592	* libc/sys/linux/Makefile.in: Regenerated.
17593
175942002-06-25  Jeff Johnston  <jjohnstn@redhat.com>
17595
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.
17599
176002002-06-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
17601
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
17606	"db_local.h".
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.
17612
176132002-06-24  J"orn Rennecke <joern.rennecke@superh.com>
17614
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.
17618
176192002-06-24  Jeff Johnston  <jjohnstn@redhat.com>
17620
17621	* libc/sys/linux/gethostname.c: Change name to __gethostname and
17622	add gethostname alias.
17623
176242002-06-24  Jeff Johnston  <jjohnstn@redhat.com>
17625
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.
17632
176332002-06-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
17634
17635	* libc/include/ndbm.h: Remove.
17636	* libc/search/ndbm.c: Remove.
17637
176382002-06-24  WATANABE Hirofumi <eban@os.rim.or.jp>
17639
17640	* libc/stdio/fseek.c (fseek): Fix braces.
17641
176422002-06-21  Corinna Vinschen  <corinna@vinschen.de>
17643
17644	* libc/time/strftime.c (strftime): Add %e format specifier.
17645
176462002-06-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
17647
17648	* libc/search/hash.h (LITTLE_ENDIAN, BIG_ENDIAN): Define if not
17649	previously defined.
17650
176512002-06-21  Richard Earnshaw  (rearnsha@arm.com)
17652
17653	* libc/sys/arm/sys/param.h (BIG_ENDIAN, LITTLE_ENDIAN): Define.
17654	(BYTE_ORDER): Define as appropriate for the target.
17655
176562002-06-21  Jeff Johnston  <jjohnstn@redhat.com>
17657
17658	* libc/include/sys/config.h[__linux__]: Set _READ_WRITE_RETURN_TYPE
17659	to _ssize_t.
17660	* libc/sys/linux/io.c (read, write): Change to return ssize_t.
17661
176622002-06-21  Jeff Johnston  <jjohnstn@redhat.com>
17663
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.
17679
176802002-06-21  Jeff Johnston  <jjohnstn@redhat.com>
17681
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
17687	by default case.
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.
17706
177072002-06-21  Jeff Johnston  <jjohnstn@redhat.com>
17708
17709	* libc/include/errno.h: Protect from multiple inclusion.
17710
177112002-06-21  Nick Clifton  <nickc@cambridge.redhat.com>
17712
17713	* libc/sys/arm/swi.h (ADP_Stopped_RunTimeError): Set correct value.
17714
177152002-06-20  Thomas Fitzsimmons  <fitzsim@redhat.com>
17716
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
17755	qsort.c.
17756	(CHEWOUT_FILES): Remove bsearch.def and qsort.def.
17757	* libc/stdlib/stdlib.tex: Remove references to bsearch and qsort.
17758
177592002-06-19  Jeff Johnston  <jjohnstn@redhat.com>
17760
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
17777	__uid_t_defined.
17778
177792002-06-19  J"orn Rennecke <joern.rennecke@superh.com>
17780
17781	* libm/common/sf_lround.c (round): Change name to: (lround).
17782	* libm/common/sf_remquo.c (remquo): Pass all arguemnts to
17783	remquof.
17784
177852002-06-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
17786
17787	* testsuite/lib/passfail.exp (newlib_pass_fail_all): New
17788	procedure.
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.
17793
177942002-06-18  Dave Brolley  <brolley@redhat.com>
17795
17796	From Catherine Moore, Michael Meissner, Richard Sandiford:
17797	* libc/include/machine/setjmp.h (_JBLEN): Define for __frv__.
17798	(_JBTYPE): Ditto.
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.
17806
178072002-06-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
17808
17809	* libc/include/ctype.h: Remove isblank macro.
17810
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.
17815
178162002-06-18  Jeff Johnston  <jjohnstn@redhat.com>
17817
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.
17822
178232002-06-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
17824
17825	* libc/sys/linux/sys/errno.h (EFTYPE): Add macro.
17826
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.
17856
178572002-06-13  Jeff Johnston  <jjohnstn@redhat.com>
17858
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.
17863
178642002-06-13  Stephen L. Moshier  <steve@moshier.net>
17865
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)
17868	instead of x.
17869	* libm/math/ef_pow.c (__ieee754_powf): Ditto.
17870
17871Thu Jun 13 19:23:40 2002  J"orn Rennecke <joern.rennecke@superh.com>
17872
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.
17876
17877	* libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
17878	Fixed bug in writing end of set region.
17879
178802002-06-10  Christopher Faylor  <cgf@redhat.com>
17881
17882	* libc/include/process.h: Remove cygwin-only sexec* declarations.  Fix
17883	spawnve declaration.
17884
178852002-06-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
17886
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
17927
179282002-06-05  Jeff Johnston  <jjohnstn@redhat.com>
17929
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
17933	and psignal.
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.
17951
179522002-06-03  Corinna Vinschen  <corinna@vinschen.de>
17953
17954	* libc/include/sys/types.h: Don't define dev_t when compiling for
17955	Cygwin.
17956
179572002-05-31  Jeff Johnston  <jjohnstn@redhat.com>
17958
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.
17975
179762002-05-30  Jeff Johnston  <jjohnstn@redhat.com>
17977
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.
17992
179932002-05-28  Jeff Johnston  <jjohnstn@redhat.com>
17994
17995	* libc/sys/linux/Makefile.am: Add support for cfspeed.c and
17996	tcsendbrk.c.
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.
18006
180072002-05-24  Jeff Johnston  <jjohnstn@redhat.com>
18008
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.
18017
180182002-05-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
18019
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.
18027
180282002-05-23  Jeff Johnston  <jjohnstn@redhat.com>
18029
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.
18037
180382002-05-23  Gareth Pearce  <tilps@hotmail.com>
18039
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.
18044
180452002-05-23  Jeff Johnston  <jjohnstn@redhat.com>
18046
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.
18055
180562002-05-23  Jeff Johnston  <jjohnstn@redhat.com>
18057
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.
18063
180642002-05-22  Jeff Johnston  <jjohnstn@redhat.com>
18065
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
18069	shm_unlink.c.
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.
18073
180742002-05-22  Jeff Johnston  <jjohnstn@redhat.com>
18075
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.
18080
180812002-05-22  Corinna Vinschen  <vinschen@redhat.com>
18082
18083	* libc/include/sys/types.h: Revert previous patch.
18084
180852002-05-22  Corinna Vinschen  <vinschen@redhat.com>
18086
18087	* libc/include/sys/types.h: Include cygwin/types.h always under
18088	Cygwin, not only if _POSIX_THREADS is defined.
18089
180902002-05-21 Dhananjay Deshpande <dhananjayd@kpit.com>
18091
18092	* configure.host: Specify sys_dir=h8300hms for h8300-*-coff* target.
18093
180942002-05-17  Jeff Johnston  <jjohnstn@redhat.com>
18095
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
18102	__DYNAMIC_REENT__.
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
18131	to raise.
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
18135	__gettimeofday.
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
18141	setjmp.S.
18142	* libc/sys/linux/machine/i386/Makefile.in: Regenerated.
18143	* libc/sys/linux/machine/i386/crt0.c: Add support to clear .bss
18144	section.
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.
18166
181672002-05-14 Dhananjay Deshpande <dhananjayd@kpit.com>
18168
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.
18173
18174Thu May 16 17:24:57 2002  J"orn Rennecke <joern.rennecke@superh.com>
18175
18176	* libc/machine/sh/strcpy.S (strcpy): Replace LITTLE_ENDIAN with
18177	__LITTLE_ENDIAN__.  make sure r0 has right value at first loop
18178	exit point.
18179
181802002-05-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
18181
18182	* testsuite/lib/newlib.exp: Add newlib_include_flags to compile
18183	options when testing natively on i[3456]86-*-linux.
18184
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
18188	tests.
18189	* testsuite/newlib.locale/UTF-8.exp: Update to support new
18190	newlib_check_output behaviour.
18191	* testsuite/newlib.locale/UTF-8.c: Likewise.
18192
181932002-05-15  Jeff Johnston  <jjohnstn@redhat.com>
18194
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
18198	and atexit.
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.
18209
182102002-05-13  Jeff Johnston  <jjohnstn@redhat.com>
18211
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.
18215
182162002-05-13  Jeff Johnston  <jjohnstn@redhat.com>
18217
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.
18227
182282002-05-10  Mark Bradshaw  <bradshaw@staff.crosswalk.com>
18229
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.
18234
182352002-05-10  Jeff Johnston  <jjohnstn@redhat.com>
18236
18237	* libc/string/strchr.c: Fix comment typo.
18238
182392002-05-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
18240
18241	* acinclude.m4: Add support for --enable-newlib-multithread.
18242	* configure.host (newlib_cflags): Add -D__SINGLE_THREAD__ if
18243	--enable-newlib-multithread=no.
18244
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.
18254
18255Wed May  8 17:47:35 2002  J"orn Rennecke <joern.rennecke@superh.com>
18256
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.
18260
182612002-05-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
18262
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.
18288
182892002-05-06  Jeff Johnston  <jjohnstn@redhat.com>
18290
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'.
18297
18298	* libc/include/stdlib.h (a64l, l64a, _l64a_r): Added prototypes.
18299
183002002-05-06  Nick Clifton  <nickc@cambridge.redhat.com>
18301
18302	* libc/sys/arm/syscalls.c (_rename): Add parameter names.
18303	(_sbrk): Add cast of return value.
18304
183052002-05-06  Jeff Johnston  <jjohnstn@redhat.com>
18306
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.
18313
183142002-05-06  Jeff Johnston  <jjohnstn@redhat.com>
18315
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.
18320
183212002-05-03  Christopher Faylor  <cgf@redhat.com>
18322
18323	* libc/include/sys/unistd.h: Define getdomainname under cygwin.
18324
183252002-05-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
18326
18327	* configure.in (CC_FOR_NEWLIB): Change -isystem's to -I's.
18328
183292002-05-01  Christopher Faylor  <cgf@redhat.com>
18330
18331	* utmp.h: Define more UNIX constants.
18332
183332002-05-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
18334
18335	* Makefile.am: Add support for checking multilibs.
18336
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.
18344
18345	* Makefile.am (site.exp): Remove newlib_cflags.  Add
18346	multibuildtop.
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.
18352
183532002-04-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
18354
18355	* testsuite/lib/newlib.exp (newlib_target_compile): Change
18356	method of finding libgloss_target_dir.
18357
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.
18366
183672002-04-29  Jeff Johnston  <jjohnstn@redhat.com>
18368
18369	* libc/sys/linux/io64.c (fstat64, lstat64): New syscalls added.
18370
183712002-04-29  Jonathan Larmour  <jlarmour@redhat.com>
18372
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
18377	targets.
18378
183792002-04-29  Jeff Johnston  <jjohnstn@redhat.com>
18380
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.
18390
183912002-04-26  Jeff Johnston  <jjohnstn@redhat.com>
18392
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.
18398
183992002-04-26  Jeff Johnston  <jjohnstn@redhat.com>
18400
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
18405	$(CC_FOR_NEWLIB).
18406	* configure: Regenerated.
18407	* Makefile.in: Ditto.
18408
184092002-04-25  Jeff Johnston  <jjohnstn@redhat.com>
18410
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.
18415
184162002-04-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
18417
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.
18422
184232002-04-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
18424
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.
18446
184472002-04-23  Jeff Johnston  <jjohnstn@redhat.com>
18448
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.
18455
184562002-04-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
18457
18458	* acinclude.m4 (newlib_cflags): Remove include directories that
18459	are already specified in the top-level configure.in's FLAGS_FOR_TARGET.
18460
184612002-04-19  Bill Siegmund  <ctc-dsl@pacbell.net>
18462
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.
18472
184732002-04-19  Alexandre Oliva  <aoliva@redhat.com>
18474
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.
18478
184792002-04-19  Jeff Johnston  <jjohnstn@redhat.com>
18480
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.
18505
185062002-04-19	Joel Sherrill <joel@OARcorp.com>
18507
18508	* libs/sys/rtems/crt0.c: Satisfy gcc's references to libc functions
18509	while autoconf is trying to link main(){}.
18510
185112002-04-17  Jeff Johnston  <jjohnstn@redhat.com>
18512
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>.
18515
185162002-04-17  Jeff Johnston  <jjohnstn@redhat.com>
18517
18518	* libc/time/time.tex: Add tzset info.
18519
185202002-04-17  Jeff Johnston  <jjohnstn@redhat.com>
18521
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
18532	tzset_r.c.
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.
18546
185472002-04-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
18548
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.
18557
185582002-04-13  Alexandre Oliva  <aoliva@redhat.com>
18559
18560	* libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
18561	fails, don't bail out, and try to correct next time.
18562
18563	* libc/include/sys/config.h: Include limits.h.
18564
185652002-04-12  Eric Norum  <eric.norum@usask.com>
18566
18567	* libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
18568	routine to allow autoconf to determine that building executables
18569	for rtems works.
18570	(rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
18571	(rtems_gxx_mutex_once): Ditto.
18572
185732002-04-09  Tom Rix  <trix@redhat.com>
18574
18575	* libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
18576
185772002-04-09  Mark Bradshaw  <bradshaw@staff.crosswalk.com>
18578
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.
18583
185842002-04-08  Jeff Johnston  <jjohnstn@redhat.com>
18585
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.
18591
185922002-04-04  Jeff Johnston  <jjohnstn@redhat.com>
18593
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.
18606
186072002-04-03  Jeff Johnston  <jjohnstn@redhat.com>
18608
18609	* configure.host: Add support for machine subdirectory of
18610	sys subdirectory.
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
18658	types.
18659
186602002-04-01  Jeff Johnston  <jjohnstn@redhat.com>
18661
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.
18682
186832002-04-01  Till Straumann <strauman@SLAC.Stanford.EDU>
18684
18685	* libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
18686
18687Wed Mar 27 07:34:44 2002  Jason Tishler <jason@tishler.net>
18688
18689	* libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
18690
18691Tue Mar 26 17:17:10 2002  J"orn Rennecke <joern.rennecke@superh.com>
18692
18693	* libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
18694	Store high part of leading bytes too.
18695
186962002-03-22  Richard Sandiford  <rsandifo@redhat.com>
18697
18698	* libm/math/ef_hypot.c: Increase scale factor to 68.
18699
187002002-03-13  Alexandre Oliva  <aoliva@redhat.com>
18701
18702	* libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
18703	error.
18704
187052002-03-12  Jeff Johnston  <jjohnstn@redhat.com>
18706
18707	* libc/sys/go32/access.c: Change license to relaxed license
18708	used in identical file throughout newlib/libgloss.
18709
187102002-03-12  Richard Earnshaw  <rearnsha@arm.com>
18711
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.
18716
187172002-03-11  Michael Meissner  <meissner@redhat.com>
18718
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.
18727
187282002-03-06  Jeff Johnston  <jjohnstn@redhat.com>
18729
18730	* libc/machine/i386/Makefile.am: Add $(oext) for setjmp
18731	object so it works for shared library or statici library.
187322002-04-17  Jeff Johnston  <jjohnstn@redhat.com>
18733
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
18744	tzset_r.c.
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.
18758
187592002-04-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
18760
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.
18769
187702002-04-13  Alexandre Oliva  <aoliva@redhat.com>
18771
18772	* libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
18773	fails, don't bail out, and try to correct next time.
18774
18775	* libc/include/sys/config.h: Include limits.h.
18776
187772002-04-12  Eric Norum  <eric.norum@usask.com>
18778
18779	* libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
18780	routine to allow autoconf to determine that building executables
18781	for rtems works.
18782	(rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
18783	(rtems_gxx_mutex_once): Ditto.
18784
187852002-04-09  Tom Rix  <trix@redhat.com>
18786
18787	* libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
18788
187892002-04-09  Mark Bradshaw  <bradshaw@staff.crosswalk.com>
18790
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.
18795
187962002-04-08  Jeff Johnston  <jjohnstn@redhat.com>
18797
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.
18803
188042002-04-04  Jeff Johnston  <jjohnstn@redhat.com>
18805
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.
18818
188192002-04-03  Jeff Johnston  <jjohnstn@redhat.com>
18820
18821	* configure.host: Add support for machine subdirectory of
18822	sys subdirectory.
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
18870	types.
18871
188722002-04-01  Jeff Johnston  <jjohnstn@redhat.com>
18873
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.
18894
188952002-04-01  Till Straumann <strauman@SLAC.Stanford.EDU>
18896
18897	* libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
18898
18899Wed Mar 27 07:34:44 2002  Jason Tishler <jason@tishler.net>
18900
18901	* libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
18902
18903Tue Mar 26 17:17:10 2002  J"orn Rennecke <joern.rennecke@superh.com>
18904
18905	* libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
18906	Store high part of leading bytes too.
18907
189082002-03-22  Richard Sandiford  <rsandifo@redhat.com>
18909
18910	* libm/math/ef_hypot.c: Increase scale factor to 68.
18911
189122002-03-13  Alexandre Oliva  <aoliva@redhat.com>
18913
18914	* libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
18915	error.
18916
189172002-03-12  Jeff Johnston  <jjohnstn@redhat.com>
18918
18919	* libc/sys/go32/access.c: Change license to relaxed license
18920	used in identical file throughout newlib/libgloss.
18921
189222002-03-12  Richard Earnshaw  <rearnsha@arm.com>
18923
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.
18928
189292002-03-11  Michael Meissner  <meissner@redhat.com>
18930
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.
18939
189402002-03-06  Jeff Johnston  <jjohnstn@redhat.com>
18941
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.
18945
18946Wed Mar  6 10:24:26 2002  J"orn Rennecke <joern.rennecke@superh.com>
18947
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.
18956
189572002-02-27  Jeff Johnston  <jjohnstn@redhat.com>
18958
18959	* configure.host: Add check for --disable-newlib-io-float
18960	configuration option and add -DNO_FLOATING_POINT to newlib cflags
18961	if appropriate.
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.
18970
189712002-02-25  Jeff Johnston  <jjohnstn@redhat.com>
18972
18973	* libc/include/sys/config.h: Add __extension__ in front of
18974	long long references.
18975
189762002-02-23  Corinna Vinschen  <corinna@vinschen.de>
18977
18978	* libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin.
18979	(_stat): Ditto.
18980
189812002-02-23  Corinna Vinschen  <corinna@vinschen.de>
18982
18983	* libc/sys/cygwin/sys/dirent.h (struct __DIR): Use __off32_t instead
18984	of off_t.
18985
189862002-02-20  Nick Clifton  <nickc@cambridge.redhat.com>
18987
18988	* libc/machine/xscale/strchr.c (strchr): Add 'r1' to the list of
18989	clobbered registers.
18990
189912002-02-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
18992
18993	* configure.host (newlib_cflags): When host is in m68* add
18994	-DCOMPACT_CTYPE.
18995
189962002-02-15  Jeff Johnston  <jjohnstn@redhat.com>
18997
18998	* libc/include/sys/config.h: Add definitions for
18999	__int16_t, __uint16_t, __int64_t, and __uint64_t.
19000
190012002-02-12  Hans-Peter Nilsson  <hp@bitrange.com>
19002
19003	* libc/sys/mmixware/link.c: New.
19004	* libc/sys/mmixware/sys/syscall.h (TRAP1i, I3f): Make asm
19005	volatile.
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.
19011
190122002-02-10  Corinna Vinschen  <corinna@vinschen.de>
19013
19014	* libc/include/grp.h: Don't declare group functions when compiling
19015	Cygwin.
19016
190172002-02-09  Corinna Vinschen  <corinna@vinschen.de>
19018
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.
19024
190252002-02-08  matthew green  <mrg@redhat.com>
19026
19027	* libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): Allocate
19028	_REENT_EMERGENCY_SIZE, not sizeof(char *).
19029
190302002-02-08  Alexandre Oliva  <aoliva@redhat.com>
19031
19032	Contribute sh64-elf.
19033	2001-03-13  Alexandre Oliva  <aoliva@redhat.com>
19034	* configure.host (newlib_cflags) [sh*-*-*]: Enable long long
19035	support in printf.
19036	2001-01-29  Alexandre Oliva  <aoliva@redhat.com>
19037	* libc/machine/sh/setjmp.S [SH5]: Switch to SHmedia mode before
19038	any labels.
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.
19056
190572002-02-07  Jeff Johnston  <jjohnstn@redhat.com>
19058
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.
19065
190662002-02-05  Manik Raina <manik@cisco.com>
19067
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.
19072
190732002-02-04  Jeff Johnston  <jjohnstn@redhat.com>
19074
19075	* libc/include/sys/reent.h [(!_REENT_SMALL]: Add
19076	_REENT_CHECK_EMERGENCY macro.
19077
190782002-02-03  matthew green  <mrg@redhat.com>
19079
19080	* libc/reent/signgam.c (__signgam): Fix error in previous.
19081
190822002-02-02  matthew green  <mrg@redhat.com>
19083
19084	* libc/include/sys/config.h (_REENT_SMALL): Define for Xstormy16.
19085
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
19089	for _REENT_SMALL.
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.
19099
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.
19115
19116	* libc/stdio/tmpnam.c (_tmpnam_r): Use _REENT_EMERGENCY().
19117
19118	* libc/reent/reent.c (_wrapup_reent): Adjust for _REENT_SMALL atexit.
19119	* libc/include/sys/reent.h (_atexit): Limit atexit() entries to 32
19120	for _REENT_SMALL.
19121	* libc/stdlib/atexit.c (atexit): Rearrange for _REENT_SMALL case.
19122	* libc/stdlib/exit.c (exit): Rearrange for _REENT_SMALL case.
19123
19124	* libc/include/sys/reent.h (struct _rand48): Keep _rand_next if
19125	_REENT_SMALL.
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.
19140
19141	* libc/stdlib/mallocr.c (malloc_stats): Call _REENT_SMALL_CHECK_INIT().
19142	* libc/stdlib/mstats.c (_mstats_r): Call _REENT_SMALL_CHECK_INIT().
19143
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.
19147
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.
19151
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
19157	_REENT_TM().
19158
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().
19165
191662002-02-01  Geoffrey Keating  <geoffk@redhat.com>
19167
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.
19173
191742002-01-28  Thomas Fitzsimmons  <fitzsim@redhat.com>
19175
19176	* libc/include/sys/signal.h [__CYGWIN__]: Issue error message
19177	when _CYGWIN_TYPES_H is not defined.
19178
191792002-01-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
19180
19181	* libc/include/sys/signal.h: Revert 2002-01-23 change.
19182
191832002-01-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
19184
19185	* libc/include/sys/signal.h: Remove pthread_kill declaration
19186	when __CYGWIN__ is defined.
19187
191882002-01-18  Mark Bradshaw  <bradshaw@staff.crosswalk.com>
19189
19190	* libc/include/time.h: Add prototype for strptime for Cygwin.
19191
191922002-01-17  Nick Clifton  <nickc@cambridge.redhat.com>
19193
19194	* libc/machine/xscale/memset.c (memset): Fix bug when len == 1 and
19195	dst was not word aligned.
19196
19197	* libc/sys/arm/syscalls.c (_sbrk): Return -1 rather than aborting
19198	if too much memory is requested.
19199
192002002-01-11 Jeff Johnston  <jjohnstn@redhat.com>
19201
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.
19205
192062002-01-07 Jeff Johnston  <jjohnstn@redhat.com>
19207
19208	* MAINTAINERS: Change e-mail addresses to refer to redhat domain.
19209
192102002-01-07 Alan Matsuoka <alanm@redhat.com>
19211
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.
19215
192162001-12-28  Corinna Vinschen  <corinna@vinschen.de>
19217
19218	* libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE.
19219
192202001-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>
19224
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.
19235
192362001-12-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
19237
19238	* libm/machine/configure.in (HAVE_LIBM_MACHINE_DIR): New conditional.
19239	* libm/machine/Makefile.am [HAVE_LIBM_MACHINE_DIR] (LIBM_MACHLIB): New variable.
19240
192412001-12-19  Corinna Vinschen  <corinna@vinschen.de>
19242
19243	* libm/machine/Makefile.am: Change rules to create correct lib.a.
19244	* libm/machine/Makefile.in: Regenerated through automake.
19245
192462001-12-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
19247
19248	* Makefile.am (DOCDIR): Force to empty string when doc
19249	directory is not present.
19250
192512001-12-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
19252
19253	* libc/machine/i386/f_*: Move to libm/machine/i386.
19254
192552001-12-18      Joel Sherrill <joel@OARcorp.com>
19256
19257	* libm/machine/Makefile.am: Add dummy doc stub so
19258	"make info" works.
19259
192602001-12-17	Joel Sherrill <joel@OARcorp.com>
19261
19262	* libc/include/sys/types.h (ino_t): RTEMS uses long also.
19263
192642001-12-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
19265
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.
19272
192732001-12-17  Corinna Vinschen  <vinschen@redhat.de>
19274
19275	* libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allow
19276	conditionalized including of getopt stuff.
19277
192782001-12-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
19279
19280	* libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) to
19281	compile line.
19282	(vfiprintf.$(oext)): Likewise.
19283
192842001-12-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
19285
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.
19331
193322001-12-13 Anita Kulkarni <anitak@kpit.com>
19333
19334	* libc/sys/sh/crt0.S: Remove stack symbol definition 0xdeaddead.
19335
193362001-12-06  John Peacock <jpeacock@rowman.com>
19337
19338	* libc/include/sys/unistd.h: Correct ualarm declaration.
19339
193402001-12-05  Nick Clifton  <nickc@cambridge.redhat.com>
19341
19342	* libc/sys/arm/crt0.S: For __USES_INITFINI__ preserve the argument
19343	vector before calling the initialisation functions.
19344
193452001-11-29  Christopher Faylor  <cgf@redhat.com>
19346
19347	* libc/include/dirent.h: Protect against multiple inclusion.
19348
193492001-11-27  Christopher Faylor  <cgf@redhat.com>
19350
19351	* libc/include/sys/types.h: Define useconds_t.
19352	* libc/include/sys/ulimit.h: Declare ualarm.
19353
193542001-11-21  Christopher Faylor  <cgf@redhat.com>
19355
19356	* libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.
19357
193582001-11-19  Hans-Peter Nilsson  <hp@bitrange.com>
19359
19360	* libc/sys/mmixware/*: Tweak license header in all source files.
19361
193622001-11-12  Corinna Vinschen  <vinschen@redhat.com>
19363
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__
19367	isn't defined.
19368	* libc/sys/linux/include/alloca.h: Move to libc/include.
19369
193702001-11-12  Anthony Green  <green@redhat.com>
19371
19372	* libc/sys/arm/crt0.S (__stack_base__): New symbol.
19373
193742001-11-13  Hans-Peter Nilsson  <hp@bitrange.com>
19375
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.
19379
193802001-11-12  Hans-Peter Nilsson  <hp@bitrange.com>
19381
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.
19403
194042001-11-05  Corinna Vinschen  <corinna@vinschen.de>
19405
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
19410	logwtmp().
19411
194122001-11-01  Arati Dikey  <aratidikey@hotmail.com>
19413
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.
19418
194192001-10-24  Christopher Faylor  <cgf@redhat.com>
19420
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.
19425
194262001-10-22  Geoffrey Keating  <geoffk@redhat.com>
19427
19428	* libc/include/math.h: The C++ standard adds the single-precision
19429	versions of the elementary functions.
19430
194312001-10-22  Christopher Faylor  <cgf@redhat.com>
19432
19433	* libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations
19434	throughout.
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.
19438
194392001-10-17  Corinna Vinschen  <corinna@vinschen.de>
19440
19441	* libc/include/sys/unistd.h: Add prototype for fchdir() when
19442	__CYGWIN__ or __rtems__ is defined.
19443
194442001-10-01  Charles Wilson  <cwilson@ece.gatech.edu>
19445
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
19457	as _strtoll_r
19458	* libc/stdlib/strtoull_r.c: rename __strtoull_r
19459	as _strtoull_r
19460	* libc/stdlib/strtoull.c: new file
19461	* libc/stdlib/strtoll.c: new file
19462
19463Mon Sep 17 17:29:47 2001  Christopher Faylor <cgf@cygnus.com>
19464
19465	* libc/include/process.h: Add getpid() declaration.
19466
194672001-09-14  Nick Clifton  <nickc@cambridge.redhat.com>
19468
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.
19472
194732001-09-13  Jeff Johnston  <jjohnstn@redhat.com>
19474
19475	* libc/stdlib/Makefile.am: Add support to build strtoll_r.c
19476	and strtoull_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.
19484
19485Thu Sep 13 08:49:49 2001  Jason Tishler <jason@tishler.net>
19486
19487	* strftime.c (strftime): Fix "%W" implementation to properly handle
19488	Mondays too.
19489
194902001-09-07  Jeff Law  <law@redhat.com>
19491
19492	* libc/sys/h8300hms/crt0.S: For H8/300H and H8/S, load address of
19493	__fini with "mov.l" instead of "mov.w".
19494
194952001-09-05  Corinna Vinschen  <corinna@vinschen.de>
19496
19497	* libc/sys/cygwin/include/unistd.h: New file, wrapping sys/unistd.h
19498	and getopt.h.
19499
195002001-09-04  Jason Merrill  <jason_merrill@redhat.com>
19501
19502	* libc/sys/h8300hms/crt0.S: Support ELF initialization.
19503
195042001-09-03  Corinna Vinschen  <corinna@vinschen.de>
19505
19506	* libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number
19507	field.
19508	(__DIRENT_VERSION): New define.
19509
195102001-09-03  Corinna Vinschen  <corinna@vinschen.de>
19511
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.
19515
195162001-08-29  Joel Sherrill <joel@OARcorp.com>
19517
19518	* libc/include/sys/unistd.h: Prototype chroot() for RTEMS.
19519
195202001-08-29  Ralf Corsepius <corsepiu@faw.uni-ulm.de>
19521
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.
19532
195332001-08-29  Jeff Johnston  <jjohnstn@redhat.com>
19534
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.
19538
195392001-08-29  Jeff Johnston  <jjohnstn@redhat.com>
19540
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
19547	<sys/_types.h>.
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 *.
19551
19552Wed Aug 29 14:17:38 2001  J"orn Rennecke <amylaar@redhat.com>
19553
19554	* configure.host (h8300-*-elf*, h8500-*-elf*): New cases.
19555	* libc/sys/h8300hms/crt1.c (__main): Don't reference __ctors /
19556	__ctors_end.
19557	* libc/sys/h8300hms/syscalls.c: Include errno.h.
19558	(_unlink): New stub function.
19559
19560Sat Aug 25 22:22:25 2001  Christopher Faylor <cgf@cygnus.com>
19561
19562	* libc/include/sys/errno.h: Add a cautionary comment.
19563
195642001-08-21  Jeff Johnston  <jjohnstn@redhat.com>
19565
19566	* libc/stdlib/mallocr.c [!defined(MALLOC_ALIGNMENT)]: Add conditional
19567	for SIZE_SZ so that alignment ends up a minimum of 8.
19568
19569Mon Aug 13 22:26:01 2001  Christopher Faylor <cgf@cygnus.com>
19570
19571	* libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro
19572	arguments.
19573
19574	* libc/include/sys/errno.h: Declare sys_errlist and sys_nerr, under
19575	Cygwin.
19576
195772001-08-13  Jeff Johnston  <jjohnstn@redhat.com>
19578
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.
19582
195832001-08-02  Jeff Johnston  <jjohnstn@redhat.com>
19584
19585	* libc/include/stdio.h (BUFSIZ): Define to __BUFSIZ__ if provided,
19586	otherwise default.
19587
195882001-07-12  Aldy Hernandez  <aldyh@redhat.com>
19589
19590	* libc/machine/mips/setjmp.S: Allow mips16 and mips64 to coexist.
19591
195922001-06-27  Nick Clifton  <nickc@cambridge.redhat.com>
19593
19594	* libc/include/machine/ieeefp.h (__IEEE_BYTES_LITTLE_ENDIAN):
19595	Define for little endian ARMs.
19596
19597	* libc/stdlib/mprec.h (Storeinc): Use little endian version if
19598	__IEEE_BYTES_LITTLE_ENDIAN is defined.
19599
196002001-06-11  Danny Smith  <dannysmith@users.sourceforge.net>
19601
19602	* /libc/include/ctype.h (is* and to* macros): Do not define if C++.
19603
196042001-06-11  Egor Duda  <deo@logos-m.ru>
19605
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_
19611	array elements.
19612
196132001-06-08  Jonathan Larmour  <jlarmour@redhat.com>
19614
19615	* libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencing
19616	NULL pointer.
19617
196182001-05-28  Nick Clifton  <nickc@cambridge.redhat.com>
19619
19620	* libc/stdio/vfprintf.c (_VFPRINTF_R): Handle printf ("%#.0o",0)
19621
196222001-05-25  Nick Clifton  <nickc@cambridge.redhat.com>
19623
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.
19628
19629Mon May  7 20:39:25 2001  Christopher Faylor <cgf@cygnus.com>
19630
19631	* libc/include/sys/stat.h: Revert March 3, Cygwin change.
19632	* libc/include/sys/unistd.h: Ditto.
19633
196342001-05-04  Earnie Boyd  <earnie@users.sourceforge.net>
19635
19636	* libc/string/strrchr.c: Use strchr for the speed improvements.
19637
196382001-05-01  Jeff Johnston  <jjohnstn@redhat.com>
19639
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.
19643
196442001-04-27  Jeff Johnston  <jjohnstn@redhat.com>
19645
19646	* libc/stdio/vfscanf.c (__svfscanf_r): Initialize new_exp local var.
19647
196482001-04-27  Jeff Johnston  <jjohnstn@redhat.com>
19649
19650	* libc/include/stdlib.h: Add prototype for _strtod_r.
19651
196522001-04-24  Charles Wilson  <cwilson@ece.gatech.edu
19653
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.
19662
196632001-04-22  Earnie Boyd  <earnie@users.sourceforge.net>
19664
19665	* libc/include/sys/unistd.h [X_OK]: Use better protection against
19666	Cygwin X_OK definitions in sys/file.h.
19667
19668Fri Apr 20 23:17:51 2001  Christopher Faylor <cgf@cygnus.com>
19669
19670	* libc/include/sys/time.h: Define timercmp and other macros for
19671	__CYGWIN__, too.
19672
196732001-04-20  Jeff Johnston  <jjohnstn@redhat.com>
19674
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.
19686
196872001-04-20  Jeff Johnston  <jjohnstn@redhat.com>
19688
19689	* libc/include/stdio.h[!_REENT_ONLY]: Moved various functions together
19690	into one list.
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
19707	routines.
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
19714	_REENT argument.
19715	* libc/stdio/vscanf.c: New file.
19716	* libc/stdio/vsscanf.c: Ditto.
19717
197182001-04-19  Robert Collins  <rbtcollins@hotmail.com>
19719
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.)
19724
197252001-04-17  Stephen L. Moshier  <moshier@moshier.ne.mediaone.net>
19726
19727	* newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi):
19728	 Correct the numerical values.
19729
197302001-04-13  Robert Collins <rbtcollins@hotmail.com>
19731
19732	* libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only).
19733
19734Thu Apr 12 23:11:00 2001  Corinna Vinschen <corinna@vinschen.de>
19735
19736	* libc/include/sys/errno.h: Add ECASECLASH to indicate case clash
19737	on case insensitve file systems.
19738
197392001-04-12  Robert Collins <rbtcollins@hotmail.com>
19740
19741	* libc/include/sys/features.h: Add appropriate defines for Cygwin
19742	pthread support.
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.
19746
197472001-04-04  Richard Sandiford  <rsandifo@redhat.com>
19748
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.
19755
197562001-03-29  Jeff Johnston  <jjohnstn@redhat.com>
19757
19758	* libc/sys/arm/setjmp.S: Added .code 16 specifier for thumb-mode
19759	prolog to by-pass possible assembler error.
19760
197612001-03-21  Egor Duda  <deo@logos-m.ru>
19762
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.
19767
197682001-03-20  Danny Smith <dannysmith@users.sourceforge.net>
19769
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
19773	_SYS_TYPES_FD_SET.
19774	* libc/include/sys/unistd.h (gethostname): Don't declare if defined
19775	(_WINSOCK_H) || defined (__USE_W32_SOCKETS).
19776
19777Sat Mar 17 18:30:00 2001  Corinna Vinschen <corinna@vinschen.de>
19778
19779	* libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS and
19780	_PC_POSIX_SECURITY constants for Cygwin.
19781
19782Wed Mar 14  9:34:00 2001  Corinna Vinschen <corinna@vinschen.de>
19783
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.
19789
197902001-03-13  Alexandre Oliva  <aoliva@redhat.com>
19791
19792	* libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make it
19793	equivalent to LONGINT.
19794
197952001-03-08  Richard Sandiford  <rsandifo@redhat.com>
19796
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.
19800
19801Wed Mar  7 16:02:07 2001  Christopher Faylor <cgf@cygnus.com>
19802
19803	* libc/include/sys/config.h: Use ssize_t for Cygwin read/write
19804	  declarations.
19805
19806Mon Mar  5 21:48:54 2001  J"orn Rennecke <amylaar@redhat.com>
19807
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.
19817
198182001-03-05  Jeff Johnston  <jjohnstn@redhat.com>
19819
19820	* libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants.
19821
19822Sat Mar  3 00:34:14 2001  Christopher Faylor <cgf@cygnus.com>
19823
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
19827	for Cygwin.
19828
198292001-03-02  Jeff Johnston  <jjohnstn@redhat.com>
19830
19831	* libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype
19832	of strtok_r is always defined.
19833
198342001-03-02  Jeff Johnston  <jjohnstn@redhat.com>
19835
19836	* libc/include/machine/ansi.h: New dummy header file.
19837
198382001-02-22  Jeff Johnston  <jjohnstn@redhat.com>
19839
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.
19863
198642001-02-21  Jeff Johnston  <jjohnstn@redhat.com>
19865
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.
19870
19871Thu Feb 15 01:39:51 2001  Christopher Faylor <cgf@cygnus.com>
19872
19873	* libc/include/sys/signal.h: Always include sys/types.h under Cygwin.
19874
198752001-02-14  Kazuhiro Fujieda  <fujieda@jaist.ac.jp>
19876
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
19888	NetBSD C library.
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.
19900
199012001-02-12  Jeff Johnston  <jjohnstn@redhat.com>
19902
19903	* libc/include/sys/stat.h: Add mknod for Cygwin now that
19904	Cygwin definition has correct prototype.
19905
199062001-02-08  Jeff Johnston  <jjohnstn@redhat.com>
19907
19908	* libc/include/sys/stat.h: Must revert change for mknod
19909	for CYGWIN until winsup/cygwin/syscalls.cc changes mknod
19910	prototype.
19911
199122001-02-08  Jeff Johnston  <jjohnstn@redhat.com>
19913
19914	* libc/include/stdio.h: Revert putw prototype.
19915
199162001-02-08  Edward M. Lee  <tailbert@yahoo.com>
19917
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.
19924
199252001-02-07  Jeff Johnston  <jjohnstn@redhat.com>
19926
19927	* libc/sys/rtems/sys/types.h: Removed.
19928
199292001-02-05  Charles Wilson  <cwilson@ece.gatech.edu>
19930
19931	* libc/include/locale.h: add LC_MESSAGES definition
19932
199332001-02-01  Alexandre Oliva  <aoliva@redhat.com>
19934
19935	* libc/sys/sh/sys/syscall.h (SYS_get_argc, SYS_get_argN_len,
19936	SYS_get_argN):
19937	* libc/sys/sh/syscalls.c (__setup_argv_for_main,
19938	__setup_argv_and_call_main): New.
19939
199402001-01-31  Jeff Johnston  <jjohnstn@redhat.com>
19941
19942	* libc/include/stdio.h (FILENAME_MAX): Changed to use __FILENAME_MAX__
19943	if defined.
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.
19948
19949Mon Jan 29 23:03:06 2001  Christopher Faylor <cgf@cygnus.com>
19950
19951	* libc/stdlib/mallocr.c: Undefine windows preprocessor variables when
19952	compiling under Cygwin.
19953
199542001-01-29  Jeff Johnston  <jjohnstn@redhat.com>
19955
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.
19961
199622001-01-25  Alexandre Oliva  <aoliva@redhat.com>
19963
19964	* libc/sys/sh/syscalls.c (_times): New.
19965
19966	* configure.host (sh*-*-*): Add -DHAVE_GETTIMEOFDAY to newlib_cflags.
19967	* libc/sys/sh/syscalls.c (_gettimeofday): New.
19968
199692001-01-23  Jeff Johnston  <jjohnstn@redhat.com>
19970
19971	* libc/include/math.h (signgam): Regress previous fix as
19972	it does not handle programs with extern int signgam in them.
19973
199742001-01-23  Jeff Johnston  <jjohnstn@redhat.com>
19975
19976	* libc/include/math.h (signgam): Changed to a macro refering to
19977	its location in the reentrant structure.
19978
199792001-01-23  Jeff Johnston  <jjohnstn@redhat.com>
19980
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
19984	print.
19985
199862001-01-18  Jeff Johnston  <jjohnstn@redhat.com>
19987
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.
19999
20000Wed Jan 17 23:20:56 2001  Christopher Faylor <cgf@cygnus.com>
20001
20002	* libc/include/sys/unistd.h: Use correct declaration for setdtablesize.
20003
20004Fri Jan 12 00:34:31 2001  Christopher Faylor <cgf@cygnus.com>
20005
20006	* libc/include/sys/signal.h: Add some SA_* defines for Cygwin.
20007
20008Thu Jan 11 20:42:06  2001  Earnie Boyd  <earnie_boyd@yahoo.com>
20009
20010	* libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__
20011
200122001-01-09  Nick Clifton  <nickc@redhat.com>
20013
20014	* configure.host (v859): Remove unsupported compiler options.
20015
20016Fri Jan  5 19:57:00 EST 2001  Aaron J. Grier  <aaron@frye.com>
20017
20018	* src/newlib/configure.host (*-*-rtems*): add printf long long
20019	support for RTEMS.
20020
200212000-12-19  Graham Stott <grahams@redhat.com>
20022
20023	* libc/machine/xscale/memcmp.c (memcmp): Add clobber for "lr".
20024
20025Wed Dec 14  Jeff Johnston  <jjohnstn@redhat.com>
20026
20027	* configure.host: Turn on long double I/O for Cygwin.
20028
20029Wed Dec 14  Jeff Johnston  <jjohnstn@redhat.com>
20030
20031	* MAINTAINERS: Removed Ranjith.
20032	* NEWS: Updated for 1.9.0.
20033	* README: Updated.
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.
20088
20089Wed Dec 13 11:52:00 2000  Corinna Vinschen <vinschen@cygnus.com>
20090
20091	* libc/include/sys/unistd.h: Add declarations for `chroot' and `getwd'
20092	when __CYGWIN__ is defined.
20093
200942000-12-13  Jeff Johnston  <jjohnstn@redhat.com>
20095
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.
20102
201032000-12-13  Jeff Johnston  <jjohnstn@redhat.com>
20104
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.
20109
201102000-12-12  Jeff Johnston  <jjohnstn@redhat.com>
20111
20112	* libc/include/sys/unistd.h: Restored Cygwin _SC
20113	constants and moved new constants appropriately
20114	so Cygwin will build.
20115
201162000-12-11  Joel Sherrill <joel@OARcorp.com>
20117
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
20150
201512000-12-08  Werner Almesberger  <Werner.Almesberger@epfl.ch>
20152
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.
20196
201972000-12-08  Ralf Corsepius <corsepiu@faw.uni-ulm.de>
20198
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.
20205
202062000-12-07  Jay Kulpinski <jskulpin@eng01.gdds.com>
20207
20208	* libc/stdio/vfprintf.c: Minor modification to avoid requiring
20209	a floating point register unless really printing a floating
20210	point number.
20211
202122000-12-07  Jeff Johnston  <jjohnstn@redhat.com>
20213
20214	* libc/stdlib/ldtoa.c: Removed include of alloca.h.
20215	Also removed \r's.
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.
20220
202212000-12-06  Jeff Johnston  <jjohnstn@redhat.com>
20222
20223
20224	* libc/stdio/vfscanf.c: Fix typo for _NO_LONGDBL macro.
20225
202262000-12-06  Jeff Johnston  <jjohnstn@redhat.com>
20227
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
20238	and long double.
20239
20240Wed Dec  6 12:01:00 2000  Corinna Vinschen <vinschen@cygnus.com>
20241
20242	* libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'.
20243
202442000-12-04  Joel Sherrill <joel@OARcorp.com>
20245
20246	* libc/include/machine/time.h: RTEMS systems can configure clock
20247	tick rate so use sysconf() to ask.
20248
202492000-12-04  Joel Sherrill <joel@OARcorp.com>
20250
20251	* libc/include/sys/times.h: Add reference to POSIX standard.
20252
202532000-12-04  Joel Sherrill <joel@OARcorp.com>
20254
20255	* libc/include/sys/time.h: Added BSD timer manipulation macros
20256	used by RTEMS code.
20257
202582000-12-04  Joel Sherrill <joel@OARcorp.com>
20259
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
20263	satisfy gcc.
20264
202652000-12-04  Joel Sherrill <joel@OARcorp.com>
20266
20267	* libc/stdlib/system.c: Avoid compiling do_system() for RTEMS.
20268
202692000-12-04  Joel Sherrill <joel@OARcorp.com>
20270
20271	* libc/include/ieeefp.h: Added entries for OpenCores CPUs.
20272
202732000-12-04  Joel Sherrill <joel@OARcorp.com>
20274
20275	* configure.host (or16, or32): New entries for OpenCores
20276	OpenRisc CPUs.
20277	(*-*-rtems*): Add -DNO_EXEC.
20278
202792000-12-04  Keith Outwater <vac4050@cae597.rsc.raytheon.com>
20280
20281	* libc/include/sys/errno.h: Added comments on many error numbers.
20282	* libc/string/strerror.c: Added some more strings.
20283
202842000-11-30  Jeff Johnston <jjohnstn@redhat.com>
20285
20286	* libc/sys/sh/syscalls.c (_link): New stub.
20287
202882000-11-29  Nick Clifton  <nickc@redhat.com>
20289
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.
20306
20307Sat Nov 25 11:24:00 2000  Corinna Vinschen <vinschen@cygnus.com>
20308
20309	* libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro to
20310	avoid compiler warnings.
20311
203122000-11-22  Michael Meissner  <meissner@redhat.com>
20313
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.
20322
20323	* libc/stdlib/getenv.c (environ): Delete unused reference to
20324	environ.
20325
20326	* libc/stdlib/getenv_r.c: Make initial comment friendlier to emacs
20327	colorization.
20328	* libc/stdlib/system.c: Ditto.
20329
20330Tue Nov 21 20:32:21 2000  Christopher Faylor <cgf@cygnus.com>
20331
20332	* libc/sys/cygwin/sys/dirent.h: Change definition to avoid necessity of
20333	including windows headers.
20334
203352000-11-20  Jeff Johnston  <jjohnstn@redhat.com>
20336
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.
20342
20343Mon Nov  6 12:56:00 2000  Corinna Vinschen <vinschen@cygnus.com>
20344
20345	* libc/include/sys/types.h: Change type of i to `size_t' in
20346	FD_ZERO macro to avoid compiler warnings.
20347
20348Sun Oct 29 20:06:41 2000  Christopher Faylor <cgf@cygnus.com>
20349
20350	* libc/include/stdlib.h: Avoid declaring cfree under Cygwin.
20351	* libc/include/malloc.h: Ditto.  Also remove obsolete declaration.
20352
20353Tue Oct 24 20:16:00 2000  Corinna Vinschen <vinschen@cygnus.com>
20354
20355	* libc/include/sys/unistd.h: Add defines for sysconf values
20356	_SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and
20357	_SC_AVPHYS_PAGES.
20358
20359Mon Oct  9 20:26:33 2000  Christopher Faylor <cgf@cygnus.com>
20360
20361	* libc/include/sys/unistd.h: Add getdtablesize and setdtablesize
20362	declarations for __CYGWIN__.
20363
203642000-09-19  Geoffrey Keating  <geoffk@cygnus.com>
20365
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.
20370
203712000-09-13  Jeff Johnston  <jjohnstn@redhat.com>
20372
20373	* libc/machine/v850/setjmp.S: Fixed tab problems caused by
20374	clipping patch from e-mail reader.
20375
203762000-09-13  Will Cohen  <wcohen@redhat.com>
20377
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
20381	passed to it.
20382
203832000-09-06  Jeff Johnston <jjohnstn@redhat.com>
20384
20385	* libc/include/sys/types.h (FD_ZERO): Remove call to bzero and
20386	inline code to prevent having to include another header file.
20387
20388Wed Sep  6 15:06:40 2000  Christopher Faylor <cgf@cygnus.com>
20389
20390	* Makefile.am: Fix space vs. tab problem in install-data-local.
20391	* Makefile.in: Regenerate.
20392
20393Wed Sep  6 13:49:51 2000  Christopher Faylor <cgf@cygnus.com>
20394
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.
20399
204002000-09-05  Manfred Hollstein  <manfredh@redhat.com>
20401
20402	* Makefile.am (install-data-local): Use optional $(DESTDIR) where
20403	required, as documented in the gnu coding standards.
20404	* Makefile.in: Regenerate.
20405
204062000-09-05  Jeff Johnston <jjohnstn@redhat.com>
20407
20408	* libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to
20409	make O_NDELAY and O_NONBLOCK have the same value.
20410
204112000-08-30  Kazu Hirata  <kazu@hxi.com>
20412
20413	* libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.
20414
204152000-08-30  Werner Almesberger  <Werner.Almesberger@epfl.ch>
20416
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
20420	everywhere else.
20421
204222000-08-30  Geoffrey Keating  <geoffk@cygnus.com>
20423
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.
20428
204292000-08-29  Werner Almesberger  <Werner.Almesberger@epfl.ch>
20430
20431	* libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed
20432	(broken) support for non-existent /etc/passwd field "comment".
20433
204342000-08-27  Werner Almesberger  <Werner.Almesberger@epfl.ch>
20435
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
20442
204432000-08-27  Werner Almesberger  <Werner.Almesberger@epfl.ch>
20444
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.
20464
204652000-08-25  DJ Delorie  <dj@redhat.com>
20466
20467	* libc/include/sys/unistd.h (environ): this one isn't from the
20468	DLL, no __IMPORT
20469
20470Fri Aug 25 13:37:11 2000  Christopher Faylor <cgf@cygnus.com>
20471
20472	* libc/stdlib/system.c (do_system): Eliminate explicit declaration of
20473	environ when compiling under cygwin since it is already declared in
20474	unistd.h.
20475
204762000-08-23  Werner Almesberger  <Werner.Almesberger@epfl.ch>
20477
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 ||
20486	precedence.
20487	* libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
20488	Added "_execve" prototype (for execl.c, execle.c, execv.c, and
20489	execve.c).
20490	* libc/posix/popen.c (popen): added parentheses to clarify && and ||
20491	precedence.
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]).
20498
204992000-08-23  Werner Almesberger  <Werner.Almesberger@epfl.ch>
20500
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"
20509	prototypes.
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.
20525
205262000-08-23  Werner Almesberger  <Wernen Almesberger@epfl.ch>
20527
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"
20537	and "gid"
20538
205392000-08-23  Werner Almesberger  <Werner.Almesberger@epfl.ch>
20540
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
20544	of envlock.h.
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).
20550
205512000-08-22  Werner Almesberger  <Werner.Almesberger@epfl.ch>
20552
20553	* libc/unix/getut.c (utmpname): added _CONST to reflect common use
20554	and prototype in cygwin's utmp.h
20555
205562000-08-16  Eric Fifer  <efifer@sanwaint.com>
20557
20558	* libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
20559
205602000-08-09  Nick Clifton  <nickc@cygnus.com>
20561
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
20564	toolchain.
20565
205662000-08-08  Jeff Johnston <jjohnstn@redhat.com>
20567
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.
20574
205752000-08-01  DJ Delorie  <dj@redhat.com>
20576
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
20585
205862000-07-28  Michael Meissner  <meissner@redhat.com>
20587
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.
20593
20594Thu Jul 27 10:46:01 2000  Christopher Faylor <cgf@cygnus.com>
20595
20596	* libc/include/math.h: Use appropriate dll import linkage for
20597	__infinity under Cygwin.
20598
205992000-07-13  DJ Delorie  <dj@cygnus.com>
20600
20601	* libc/stdio/vfprintf.c: pad 0.0 correctly with %e
20602
20603Wed Jun 28 14:08:00 2000  Keith Walker  <keith.walker@arm.com>
20604
20605	* libc/sys/arm/crt0.S (.LC30): Added missing length parameter
20606	to argument list for AngelSWI_Reason_GetCmdLine.
20607
20608Tue Jun 27 15:49:00 2000  Marek Michalkiewicz  <marekm@linux.org.pl>
20609
20610	* configure.host: Add support for AVR target.
20611	* libc/include/machine/ieeefp.h: Likewise.
20612	* libc/include/sys/config.h: Likewise.
20613
20614Thu Jun 22 18:35:00 2000  Ranjith Kumaran  <ranjith@cygnus.com>
20615
20616	* README: Newlib 1.8.2 must be built in a separate directory
20617	than the sources.
20618
20619Tue Jun 20 14:30:00 2000  Jeff Johnston  <jjohnstn@cygnus.com>
20620
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.
20625
20626Fri Jun 16 23:02:00 2000  Corinna Vinschen <corinna@vinschen.de>
20627
20628	* libc/include/sys/unistd.h: Add prototypes for `seteuid' and
20629	`setegid' provided by Cygwin.
20630
20631Thu Jun 15  0:21:00 2000  Corinna Vinschen <corinna@vinschen.de>
20632
20633	* libc/stdio/fdopen.c: Take explicit given bin/textmode into
20634	account for Cygwin.
20635
20636Fri Jun  9 14:28:00 2000  Jeff Johnston  <jjohnstn@cygnus.com>
20637
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.
20643
20644Thu Jun  8 21:18:00 2000  Ranjith Kumaran  <ranjith@cygnus.com>
20645
20646	* libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX.
20647	* libc/include/sys/config.h: Define __RAND_MAX.
20648
20649Thu Jun  8 17:54:00 2000  Jeff Johnston  <jjohnstn@cygnus.com>
20650
20651	* libc/stdlib/rand_r.c: New algorithm that meets minimal
20652	standard.
20653
20654Fri Jun  2 23:02:11 2000  Christopher Faylor <cgf@cygnus.com>
20655
20656	* libc/include/string.h: Work around problem with strsignal and gdb.
20657
20658Tue May 30 13:13:01 2000  Christopher Faylor <cgf@cygnus.com>
20659
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 *.
20673
206742000-05-26  Marek Michalkiewicz  <marekm@linux.org.pl>
20675
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.
20690
206912000-05-19  DJ Delorie  <dj@cygnus.com>
20692
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
20703
207042000-05-18  DJ Delorie  <dj@cygnus.com>
20705
20706	* libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLE
20707
20708Mon May 15 18:54:00 2000  Jeff Johnston  <jjohnstn@cygnus.com>
20709
20710	* libc/include/ctype.h: Changed tolower and toupper macros
20711	to use __extension__ to prevent pedantic warnings.
20712
20713Mon May 15 14:26:00 2000  Joel Sherrill  <joel@oarcorp.com>
20714
20715	* libc/sys/rtems/sys/time.h: Add macros for manipulating timeval
20716	structures.
20717
20718Wed May 10 19:24:53 2000  Jim Wilson  <wilson@cygnus.com>
20719
20720	* libc/include/machine/ieeefp.h: Add ia64 support.
20721	* configure.host: Likewise.
20722
20723Wed May 10 13:52:24 2000  Egor Duda <deo@logos-m.ru>
20724
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
20727	ANSI standard.
20728
20729Wed May 03 17:57:00 2000  Corinna Vinschen <corinna@vinschen.de>
20730
20731	* libc/include/sys/errno.h: Add define for ENOSHARE ("No such
20732	host or network path") used by cygwin. Add some comments.
20733
20734Tue May 02 23:45:48 2000  DJ Delorie  <dj@cygnus.com>
20735
20736	* libc/include/stdio.h (FILE): define __SCLE for "convert line
20737	endings" for Cygwin.
20738	(__sgetc): convert line endings if needed
20739	(__sputc): ditto
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
20745
20746Thu Apr 27 07:45:48 2000  Alexandre Oliva  <aoliva@cygnus.com>
20747
20748	* libc/machine/mn10300/setjmp.S (setjmp, longjmp): Use
20749	post-increment when it is worth it, spacewise.
20750
20751Mon Apr 17 12:46:00 2000  Marek Michalkiewicz <marekm@linux.org.pl>
20752
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
20756	return type.
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.
20775
20776Sun Apr 16 12:45:00 2000  Corinna Vinschen <corinna@vinschen.de>
20777
20778	* libc/posix/execvp.c (execvp): Check path for
20779	trailing slash.
20780
20781Fri Mar 31 20:39:00 2000  Corinna Vinschen <corinna@vinschen.de>
20782
20783	* libc/include/sys/unistd.h: Add prototypes for
20784	fchmod, fchown, lchown.
20785
20786Fri Mar 24 15:34:00 2000  Jeff Johnston  <jjohnstn@cygnus.com>
20787
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.
20840
208412000-03-24  Nick Clifton  <nickc@cygnus.com>
20842
20843	* libc/sys/arm/syscalls.c: Fix compile time warnings.
20844	(do_AngelSWI): Add "cc" to list o registers clobbered.
20845
20846Thu Mar 22 14:57:00 2000  Fernando Nasser <fnasser@redhat.com>
20847
20848	* libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid
20849	information to be clobbered by an Angel C library support syscall.
20850
20851Tue Mar 21 19:08:00 2000  Jeff Johnston <jjohnstn@cygnus.com>
20852
20853	* libc/stdlib/envlock.c: Fixed comment typo.
20854
20855Fri Mar 17 15:37:00 2000  Jeff Johnston <jjohnstn@cygnus.com>
20856
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.
20860
20861Mon Mar 13 15:22:00 2000  Sergei Organov <osv@javad.ru>
20862
20863	* libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
20864
20865Fri Mar 10 16:09:20 2000  Jeff Johnston <jjohnstn@cygnus.com>
20866
20867	* libc/include/string.h: Include <sys/types.h>.
20868
20869Fri Mar 10 14:53:50 2000  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
20870
20871	* libc/stdio/putw.c (putw): Return 0 on success, to be compliant
20872	with XSH5, not SVID.
20873
20874Thu Mar  9 17:20:41 2000  Jeff Johnston <jjohnstn@cygnus.com>
20875
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.
20881
20882Wed Mar  8 17:11:41 2000  Jeff Johnston <jjohnstn@cygnus.com>
20883
20884	* libc/include/string.h: Changed last argument to size_t.
20885	* libc/string/swab.c: Changed last argument to size_t.
20886
20887Wed Mar  8 00:46:41 2000  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
20888
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.
20895
20896Wed Mar  8 00:43:07 2000  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
20897
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.
20904
20905Wed Mar  8 00:38:35 2000  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
20906
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.
20913
20914Fri Feb 25 14:50:50 2000  Jeff Johnston <jjohnstn@cygnus.com>
20915
20916	* libc/stdio/flags.c (__sflags): Added check that mode[1]
20917	is non-null before looking at mode[2].
20918
20919Thu Feb 24 11:43:00 2000  Ran Cabell <rcabell@norfolk.infi.net>
20920
20921	* libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS.
20922	* libm/mathfp/sf_atan.c: Ditto.
20923
20924Thu Feb 24 11:39:00 2000  Joel Sherrill <joel@OARcorp.com>
20925
20926	* libc/include/sys/stat.h: Add RTEMS prototype for lstat.
20927
20928Tue Feb 22 14:37:00 2000  Ran Cabell <rcabell@norfolk.infi.net>
20929
20930	* libm/mathfp/sf_exp.c: Corrected _DOUBLE_IS_32_BITS to be
20931	_DOUBLE_IS_32BITS.
20932
20933Mon Feb 21 11:43:50 2000  Jeff Johnston <jjohnstn@cygnus.com>
20934
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.
20938
20939Thu Feb 17 01:42:50 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
20940
20941	* libc/stdio/vfscanf.c (limits.h): #include.
20942	(MAX_LONG_LEN): #define.
20943	(__svfscanf): Handle floating point numbers with arbitrary amounts
20944	of leading zeroes.
20945
209462000-02-15  Nick Clifton  <nickc@cygnus.com>
20947
20948	* libc/sys/arm/syscalls.c (_fstat): Initialise all fields to
20949	zero.  Set the blocksize to 1024/
20950
20951Thu Jan 20 18:57:00 2000  Fernando Nasser <fnasser@redhat.com>
20952
20953	* setvbuf.c (setvbuf):  Set size to BUFSIZ when passed a zero size
20954	with line buffering.
20955
20956Mon Jan 10 18:43:00 2000  Jeff Johnston <jjohnstn@cygnus.com>
20957
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.
21019
21020Mon Jan 10 18:43:46 2000  Jeff Johnston <jjohnstn@cygnus.com>
21021
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,
21041	and _strdup_r.
21042
21043Thu Jan  6 15:33:46 2000  Christopher Faylor <cgf@cygnus.com>
21044
21045	patch from Corinna Vinschen <corinna@vinschen.de>
21046	* libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16.
21047
21048Mon Jan 03 14:36:00 2000  Sergei Organov <osv@javad.ru>
21049
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.
21054
21055Tue Dec 14 5:42:00 1999  Ranjith Kumaran <ranjith@cygnus.com>
21056
21057	* libc/machine/i960/setjmp.S: fix typo leaving .link_pix uncommented
21058	* libc/include/locale.h: define NULL to be 0.
21059
21060Tue Dec  7 15:41:45 1999  Jim Wilson  <wilson@cygnus.com>
21061
21062	* libc/sys/sh/syscalls.c (stack_ptr): Move definition before first
21063	function.
21064
21065Wed Dec  1 17:39:29 1999  Jeffrey A Law  (law@cygnus.com)
21066
21067	* libc/machine/mn10300/setjmp.S: Handle am33.
21068
210691999-11-26  Nick Clifton  <nickc@cygnus.com>
21070
21071	* libc/sys/arm/syscalls.c: Add function prototypes.
21072	(stack_ptr): Move declaration before function definitions.
21073
21074Sat Nov 20 17:13:00 1999  Ranjith Kumaran <ranjith@cygnus.com>
21075
21076	* NEWS: Updated version information.
21077	* README: Ditto.
21078
21079Tue Nov 09 12:19:21 1999  Jeff Johnston <jjohnstn@cygnus.com>
21080
21081	* libc/machine/i386/strchr.S: Fixed alignment test.
21082
21083Thu Oct 28 05:30:46 1999  Andrew Cagney  <cagney@makita.cygnus.com>
21084
21085	* libc/sys/d10v/crt0.S (_start): Construct a real stack frame.
21086
21087Thu Oct 28 15:29:11 1999  Andrew Cagney  <cagney@b1.cygnus.com>
21088
21089	* libc/sys/d10v/crt0.S (_start): Initialize both SPI and SPU
21090	ensuring that there is space between the two.
21091
21092Thu Oct 14 13:39:21 1999  Christopher Faylor <cgf@cygnus.com>
21093
21094	* libc/stdio/flags.c: Conditionalize check for 't' for cygwin case
21095	only.
21096
210971999-10-08  Vadim Egorov  <egorovv@1c.ru>
21098
21099	* libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin
21100	section
21101
21102Sat Oct  2 02:02:00 MEST 1999  Ralf Corsepius <corsepiu@faw.uni-ulm.de>
21103
21104	* libc/machine/sh/asm.h: Added __SH4_SINGLE__ to DELAYED_BRANCHES
21105	* libc/machine/sh/memcpy.S: Fix line wrapping in SL macro
21106
21107Fri Oct  1 13:17:59 CDT 1999  <joel@OARcorp.com>
21108	* libc/include/grp.h: Added getgrnam_r and getgrgid_r prototypes
21109	  per POSIX 1003.1b.
21110	* libc/include/pwd.h: Added getpwnam_r and getpwuid_r prototypes
21111	  per POSIX 1003.1b.
21112
211131999-09-13  DJ Delorie  <dj@cygnus.com>
21114
21115	* libc/stdio/mktemp.c (_gettemp): on cygwin, check for EACCESS
21116	also.
21117
21118Thu Sep  9 15:31:00 1999  Jeff Johnston <jjohnstn@cygnus.com>
21119
21120	* setvbuf.c (setvbuf):  When mallocing a buffer of size BUFSIZ,
21121	also note BUFSIZ as its size.
21122
21123Tue Sep  7 17:15:00 1999  Joel Sherrill <joel@OARcorp.com>
21124
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.
21141
21142Tue Sep  7 17:15:00 1999   Jay Kulpinski <jskulpin@eng01.gdds.com>
21143
21144	* libc/stdlib/mprec.c: Fixed unitialized variable problem.
21145
21146Fri Sep  3 12:35:20 1999  Jeff Johnston <jjohnstn@cygnus.com>
21147
21148	* libc/stdio/ftell.c (ftell): Backing off Joern's fix and
21149	my patch.
21150
21151Thu Sep  2 22:05:20 1999  Christopher Faylor <cgf@cygnus.com>
21152
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.
21156
211571999-09-01  Nick Clifton  <nickc@cygnus.com>
21158
21159	* libc/sys/arm/syscalls.c (_link): Add stub.
21160
21161Fri Aug 27 23:09:09 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
21162
21163	* ftell.c (ftell): Use actual position within buffer for text mode.
21164	* findfp.c (std): Initialize ptr->_bf._size.
21165
21166Wed Aug 18 18:48:02 1999  Christopher Faylor <cgf@cygnus.com>
21167
21168	* libc/include/sys/unistd.h: Add nice() declaration.
21169
211701999-08-09  Nick Clifton  <nickc@cygnus.com>
21171
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
21174	mode change.
21175
21176Thu Aug  5 17:37:00 1999  Ranjith Kumaran <ranjith@cygnus.com>
21177
21178	* libc/reent/reent.tex: Updated list of reentrant functions.
21179
211801999-07-09  Michael Meissner  <meissner@cygnus.com>
21181
21182	* libc/include/stdlib.h (_findenv{,_r}): Add prototypes.
21183
21184Tue Jul  6 10:46:24 1999  Jeff Johnston <jjohnstn@cygnus.com>
21185
21186	* libc/stdio/sprintf.c: Moved snprintf and _snprintf_r to
21187	separate file.
21188	* libc/stdio/snprintf.c: New file.
21189	* libc/stdio/vsprintf.c: Moved vsnprintf and _vsnprintf_r to
21190	separate file.
21191	* libc/stdio/vsnprintf.c: New file.
21192	* libc/stdio/Makefile.am: Added snprintf.c and vsnprintf.c.
21193	* libc/stdio/Makefile.in: Regenerated.
21194
21195Mon Jul  5 14:43:24 1999  Christopher Faylor <cgf@cygnus.com>
21196
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.
21203
21204Wed Jun 30 16:36:27 1999  Jeff Johnston  <jjohnstn@cygnus.com>
21205
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.
21210
21211Fri Jun 25 10:49:27 1999  Jeff Johnston  <jjohnstn@cygnus.com>
21212
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.
21217
21218Thu June 03 16:25:00 1999  Jeff Johnston <jjohnstn@cygnus.com>
21219
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.
21249
21250Thu June 03 16:20:00 1999  Ranjith Kumaran <ranjith@cygnus.com>
21251
21252	* libc/include/stdlib/stdlib.tex: Add link to env_lock.
21253
21254Fri May 28 17:09:00 1999  Ranjith Kumaran <ranjith@cygnus.com>
21255
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.
21268
21269Mon May 17 22:01:38 1999  Christopher Faylor <cgf@cygnus.com>
21270
21271	* libc/include/sys/types.h: Define __MS_types__ whenever
21272	cygwin or win32.
21273
21274Sun May 16 16:02:41 1999  Christopher Faylor <cgf@cygnus.com>
21275
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.
21280
21281Mon May  3 11:49:18 1999  Geoffrey Noer  <noer@cygnus.com>
21282
21283	* libc/include/machine/setjmp.h: Accept CYGWIN define, even if
21284	_WIN32 isn't defined.
21285
21286Mon May  3 11:41:51 1999  Jeff Johnston  <jjohnstn@cygnus.com>
21287
21288	* libm/common/s_rint.c (rint): Add volatile qualifier for
21289	intermediate value w.
21290	* libm/common/sf_rint.c (rintf): Ditto.
21291
21292Thu Apr 29 20:34:27 1999  Jeff Johnston  <jjohnstn@cygnus.com>
21293
21294	* libc/sys/arm/syscalls.c (remap_handle): Added check to
21295	ensure that std streams are initialized before being referenced.
21296
212971999-04-27  Jason Molenda  (jsm@bugshack.cygnus.com)
21298
21299	* README: Update reference to newlib@cygnus.com new
21300	newlib@sourceware.cygnus.com address.
21301
21302Mon Apr 26 18:17:33 1999  Geoffrey Noer  <noer@cygnus.com>
21303
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.
21307
21308Sat Apr 24 19:59:55 1999  Christopher Faylor <cgf@cygnus.com>
21309
21310	* libc/include/sys/fcntl.h: Correct _O_CREATE to _O_CREAT.
21311
21312Wed Apr 21 18:01:00 1999  Ranjith Kumaran  <ranjith@cygnus.com>
21313
21314	* libc/include/sys/reent.h: Change Long and ULong to __Long and
21315	__ULong.
21316	* libc/stdlib/dtoa.c: Ditto.
21317	* libc/stdlib/mprec.c: Ditto.
21318	* libc/stdlib/mprec.h: Ditto.
21319	* libc/stdlib/strtod.c: Ditto.
21320
213211999-04-21  Nick Clifton  <nickc@cygnus.com>
21322
21323	* configure.host (mcore): Remove mcore machine directory.
21324
213251999-04-18  Nick Clifton  <nickc@cygnus.com>
21326
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.
21330
213311999-04-13  Mark Salter  <msalter@cygnus.com>
21332
21333	* libc/sys/arm/libcfunc.c: Moved isatty to syscall.c
21334	* libc/sys/arm/syscalls.c: Added isatty.
21335
21336Wed Apr 07 16:06:04 1999  Jeff Johnston  <jjohnstn@cygnus.com>
21337
21338	* libc/stdlib/ecvtbuf.c (fcvtbuf): Fixed code to properly
21339	insert zeroes after significant digits.
21340
21341Wed Mar 17 22:06:04 1999  Jeff Johnston  <jjohnstn@cygnus.com>
21342
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
21347
21348Wed Mar 17 17:35:04 1999  Jeff Johnston  <jjohnstn@cygnus.com>
21349
21350	* aclocal.m4: Regenerated.
21351	* configure: Regenerated.
21352
21353Wed Mar 17 16:35:04 1999  Jeff Johnston  <jjohnstn@cygnus.com>
21354
21355	* libc/machine/i386/Makefile.am (lib_a_SOURCES): Added missing
21356	f_tanf reference.
21357	* libc/machine/i386/Makefile.in: Regenerated.
21358
21359Tue Mar 16 14:56:36 1999  Jeff Johnston  <jjohnstn@cygnus.com>
21360
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.
21365
21366Tue Mar 16 13:55:36 1999  Corinna Vinschen  <corinna.vinschen@cityweb.de>
21367
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.
21371
21372Fri Mar 12 19:11:58 1999  Jeff Johnston  <jjohnstn@cygnus.com>
21373
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.
21378
21379Thu Mar 11 21:32:13 1999  Jeff Johnston  <jjohnstn@cygnus.com>
21380
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
21385	option used.
21386	* libc/include/machine/fastmath.h: Add definitions for x86
21387	fast-math routines.
21388
21389Wed Mar 10 17:56:00 1999 Ranjith Kumaran  <ranjith@cygnus.com>
21390
21391	* libc/stdlib/strtod.c: Change from unsigned long to ULong.
21392
21393Tue Mar  9 14:31:58 1999  Geoffrey Noer  <noer@cygnus.com>
21394
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.
21399
21400Tue Mar 09 15:55:00 1999 Ranjith Kumaran  <ranjith@cygnus.com>
21401
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.
21406
21407Tue Mar 02 18:07:49 1999 Ranjith Kumaran  <ranjith@cygnus.com>
21408
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.
21426
21427Sun Feb 28 23:18:49 1999  Geoffrey Noer  <noer@cygnus.com>
21428
21429	* aclocal.m4: Regenerate.
21430	* configure: Regenerate.
21431
21432Tue Feb 23 13:57:26 1999  Jeff Johnston  <jjohnstn@cygnus.com>
21433
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.
21437
21438Thu Feb 18 11:13:28 1999  Jeff Johnston  <jjohnstn@cygnus.com>
21439
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.
21445
21446Mon Feb 15 17:48:17 1999  Jeff Johnston  <jjohnstn@cygnus.com>
21447
21448	* libc/stdlib/mprec.h (mult): Define mult to be _multiply instead of _mult.
21449
214501999-02-10  Nick Clifton  <nickc@cygnus.com>
21451
21452	* libc/sys/arm/syscalls.c (initialise_monitor_handles): Make block
21453	volatile so that its assignments will not be discarded.
21454
21455Wed Feb 10 17:19:40 1999  Jeff Johnston  <jjohnstn@cygnus.com>
21456
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.
21465
214661999-02-08  Nick Clifton  <nickc@cygnus.com>
21467
21468	* configure.host: Add support for StrongARM target.
21469
21470Fri Feb  5 11:13:14 1999  Jeff Johnston  <jjohnstn@cygnus.com>
21471
21472	* libc/string/strncpy.c (strncpy): Removed redundant code
21473	that was copying bytes if data unaligned.
21474
214751999-02-02  Brendan Kehoe  <brendan@cygnus.com>
21476
21477	* libc/stdlib/Makefile.{am,in} (CHEWOUT_FILES): Add mblen.def,
21478	mbstowcs.def, and wcstombs.def.
21479
21480Sat Jan 30 02:36:33 1999  Christopher Faylor <cgf@cygnus.com>
21481
21482	* libc/include/sys/errno.h: Add Cygwin errno.
21483	* libc/stdio/flags.c: Don't default to O_TEXT if no other flag
21484	is specified.
21485
214861999-01-29  Nick Clifton  <nickc@cygnus.com>
21487
21488	* libc/sys/arm/syscalls.c: Move C library functions into seperate
21489	file.
21490
21491	* libc/sys/arm/libcfunc.c: New file containing C library functions
21492	from syscalls.c
21493
21494	* libc/sys/arm/Makefile.am (lib_a_SOURCES): Add libcfuncs.c
21495	* libc/sys/arm/Makefile.in (lib_a_SOURCES): Regenerate.
21496
21497
214981999-01-27  Michael Meissner  <meissner@cygnus.com>
21499
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.
21503
21504Mon Jan 25 12:05:38 1999  Jeff Johnston  <jjohnstn@cygnus.com>
21505
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.
21512
215131999-01-22  DJ Delorie  <dj@cygnus.com>
21514
21515	* libc/include/stdlib.h: don't use dllimport if we're building
21516	newlib, since it's inside cygwin.dll
21517
21518Fri Jan 22 14:57:18 1999  Christopher Faylor <cgf@cygnus.com>
21519
21520	* libc/ctype/ctype_.c: Need to use __declspec(dllexport) for
21521	_ctype_ under cygwin.
21522
21523Fri Jan 22 09:50:19 1999  Christopher Faylor <cgf@cygnus.com>
21524
21525	* include/stdlib.h: Fix typo from previous checkin.
21526
21527Thu Jan 21 22:42:21 1999  Christopher Faylor <cgf@cygnus.com>
21528
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.
21536
21537Sat Jan 16 13:29:54 1999  Christopher Faylor <cgf@cygnus.com>
21538
21539	* libc/stdio/setvbuf.c: Always clean up when _IONBF or possible
21540	access of bogus pointer will result in SIGSEGV.
21541
215421999-01-07  Nick Clifton  <nickc@cygnus.com>
21543
21544	* libc/sys/arm/setjmp.S: Use C macros to cope with the possibility
21545	of an underscore prefix to function names.
21546
21547Fri Jan  8 19:00:07 1999  Jeff Johnston  <jjohnstn@cygnus.com>
21548
21549	* libc/machine/i386/i386mach.h (__REG_PREFIX__): Create new
21550	define __REG_PREFIX__ instead of using __REGISTER_PREFIX__.
21551
215521998-12-31  Michael Meissner  <meissner@cygnus.com>
21553
21554	* libc/machine/i386/i386mach.h (__REGISTER_PREFIX__): Only define
21555	to `%' if not already defined.
21556
215571998-12-30  Michael Meissner  <meissner@cygnus.com>
21558
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.
21562
21563	* libc/include/sys/reent.h (struct _reent): The _sig_func type
21564	points to a function taking an integer, not void.
21565
21566Tue Dec 29 14:35:53 1998  Christopher Faylor <cgf@cygnus.com>
21567
21568	* configure.host: Add a define for Cygwin builds.
21569	* libc/include/ctype.h: Don't use dll imported variables in newlib.
21570
21571Mon Dec 28 09:19:56 1998  Christopher Faylor <cgf@cygnus.com>
21572
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.
21579
21580Sat Dec 26 00:13:53 1998  Christopher Faylor <cgf@cygnus.com>
21581
21582	* libc/include/sys/unistd.h: Add proto for getpass.
21583
21584Fri Dec 18 19:28:19 1998  Geoffrey Noer  <noer@cygnus.com>
21585
21586	* libc/sys/cygwin/sys/dirent.h: add protos for scandir and
21587	alphasort.
21588
21589Fri Dec 18 16:33:25 1998  Geoffrey Noer  <noer@cygnus.com>
21590
21591	* libc/posix/execvp.c (execvp): call cygwin_posix_path_list_p,
21592	not posix_path_list_p.
21593
215941998-12-15  Nick Clifton  <nickc@cygnus.com>
21595
21596	* libc/string/memchr.c: Treat 'c' argument as an unsigned byte not
21597	a signed int.
21598
215991998-12-13  Nick Clifton  <nickc@cygnus.com>
21600
21601	* libc/include/machine/setjmp.h (_JBLEN): Set to 10.
21602
216031998-12-12  Nick Clifton  <nickc@cygnus.com>
21604
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.
21609
216101998-12-11  Nick Clifton  <nickc@cygnus.com>
21611
21612	* configure.host: Remove use of libc/sys for FR30 port.
21613	* libc/sys/fr30: Remove directory (replaced by libgloss).
21614
216151998-12-10  Ken Raeburn  <raeburn@cygnus.com>
21616
21617	* libc/string/strcat.c (ALIGNED): Sense of result was reversed.
21618	* libc/string/strncat.c (ALIGNED): Ditto.
21619
21620Wed Dec  9 14:37:57 1998  Geoffrey Noer  <noer@cygnus.com>
21621
21622	* libc/include/sys/time.h: include sys/types.h
21623
21624Tue Dec  8 15:53:18 1998  Jeff Johnston  <jjohnstn@cygnus.com>
21625
21626	* libc/machine/i386/memcmp.S (memcmp): Fix for unequal
21627	comparison found when checking word at a time.
21628
216291998-12-04  Nick Clifton  <nickc@cygnus.com>
21630
21631	* libc/sys/fr30/crt0.s (_start): Initialise frame pointer.
21632
216331998-12-03  Nick Clifton  <nickc@cygnus.com>
21634
21635	* libc/sys/fr30/syscalls.c (_times): New function stub.
21636
21637Thu Dec  3 15:59:19 1998  Jeff Johnston  <jjohnstn@cygnus.com>
21638
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.
21658
216591998-12-02  Nick Clifton  <nickc@cygnus.com>
21660
21661	* libc/sys/fr30/crt0.s (_start): Fix function names.
21662
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.
21674
21675Tue Dec  1 16:28:56 1998  Geoffrey Noer  <noer@cygnus.com>
21676
21677	* libc/sys/cygwin/sys/utmp.h: new file, moved from winsup/include.
21678
216791998-12-01  Ken Raeburn  <raeburn@cygnus.com>
21680
21681	* libc/time/strftime.c (strftime): Also handle %y for years before
21682	1900.
21683
21684Tue Dec  1 13:26:07 1998  Christopher Faylor <cgf@cygnus.com>
21685
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.
21690
21691Mon Nov 30 16:24:19 1998  Jeff Johnston  <jjohnstn@cygnus.com>
21692
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.
21752
21753Mon Nov 30 13:02:17 1998  Christopher Faylor <cgf@cygnus.com>
21754
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.
21759
21760Thu Nov 26 00:21:32 1998  Christopher Faylor <cgf@cygnus.com>
21761
21762	* Makefile.am: Add default for AR_FLAGS.
21763	* Makefile.in: Regenerate.
21764
21765Tue Nov 24 18:48:56 1998  Geoffrey Noer  <noer@cygnus.com>
21766
21767	* libc/include/time.h: move __cplusplus wrapper after includes
21768	* libc/include/sys/time.h: ditto.  If Cygwin, include
21769	sys/select.h.
21770	* libc/include/sys/types.h: lose "32" in comment about Cygwin.
21771
217721998-11-23  Ken Raeburn  <raeburn@cygnus.com>
21773
21774	* libc/time/strftime.c (strftime): Handle %y after year 2000.
21775
21776Wed Nov 18 12:22:41 1998  Nick Clifton  <nickc@cygnus.com>
21777
21778	* libc/sys/fr30/crt0.s (_start): Switch over to using int #9 as
21779	abnormnal end-of-crt0 marker.
21780
21781Tue Nov 17 16:27:58 1998  Nick Clifton  <nickc@cygnus.com>
21782
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.
21787
21788Mon Nov  16 23:15:00 1998  Ranjith Kumaran <ranjith@cygnus.com>
21789
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.
21824
21825Mon Nov  2 23:12:00 1998  Ranjith Kumaran <ranjith@cygnus.com>
21826
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.
21852
21853Mon Nov  2 16:43:18 1998  Geoffrey Noer  <noer@cygnus.com>
21854
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
21861
21862Tue Oct 20 17:28:28 1998  Geoffrey Noer  <noer@cygnus.com>
21863
21864	* libc/stdio/tmpnam.c (_tempnam_r): not enough memory allocated
21865	for length
21866
21867Tue Oct 20 18:49:05 1998  Jeff Johnston  <jjohnstn@cygnus.com>
21868
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
21891	to be const.
21892	* libc/misc/unctrl.c: Defined arrays __unctrl and __unctrllen
21893	to be const.
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'
21898	to be const.
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.
21902
21903Mon Oct 12 00:26:33 1998  Christopher Faylor <cgf@cygnus.com>
21904
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.
21908
21909Fri Oct  9 16:27:36 1998  Jeff Johnston  <jjohnstn@cygnus.com>
21910
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.
21915
21916Wed Oct  7 14:02:40 1998  Jeff Johnston  <jjohnstn@cygnus.com>
21917
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.
21922
21923Tue Oct  6 16:08:05 1998  Jeff Johnston  <jjohnstn@cygnus.com>
21924
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.
21946
21947Tue Oct  6 14:14:05 1998  Jeff Johnston  <jjohnstn@cygnus.com>
21948
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.
21958
21959Tue Oct  6 13:58:05 1998  Jeff Johnston  <jjohnstn@cygnus.com>
21960
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.
21968
219691998-09-25  Mark Salter  <msalter@cygnus.com>
21970
21971	* libc/include/machine/setjmp.h: Fixed test for mn10300 and mn10200
21972	by adding leading and trailing underscores to symbol names.
21973
21974Tue Sep 22 15:33:41 1998  Christopher Faylor <cgf@cygnus.com>
21975
21976	* Makefile.in: Add default for AR_FLAGS.
21977
21978Tue Sep 22 15:02:49 1998  Christopher Faylor <cgf@cygnus.com>
21979
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.
21985
21986	* Regenerate all aclocal.m4 and configure files.
21987
21988Mon Sep 21 14:44:16 1998  Nick Clifton  <nickc@cygnus.com>
21989
21990	* libc/sys/arm/crt0.S: Prepend a period to all local labels that
21991	used to start with LC.
21992
21993Thu Sep 17 18:18:11 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
21994
21995	* libc/machine/sh/setjmp.S (setjmp): Handle __SH4* like __SH3E__ .
21996	(longjmp): Likewise.
21997
21998Thu Sep 17 16:25:33 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
21999
22000	* libc/machine/sh/memset.S (memset): Move copy from r4 to r4 before
22001	the test for small number of bytes.
22002
22003Thu Sep 10 11:40:00 1998  Ranjith Kumaran <ranjith@cygnus.com>
22004
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
22007	libm.
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.
22090
22091Wed Sep  2 02:49:03 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
22092
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.
22095
220961998-09-01  Michael Meissner  <meissner@cygnus.com>
22097
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.
22101
22102	* libc/stdlib/Makefile.in: Regenerate with automake version 1.3b.
22103
22104Mon Aug 31 11:39:31 1998  Jeff Johnston  <jjohnstn@cygnus.com>
22105
22106	* libc/machine/mn10300/memcpy.S (_memcpy): Move alignment test
22107	ahead of test for number of bytes being moved.
22108
22109Thu Aug 27 14:07:53 1998  Christopher Faylor <cgf@cygnus.com>
22110
22111	* libc/include/sys/unistd.h: Nothing special needed for
22112	_exit under cygwin.
22113
22114Wed Aug 26 15:05:21 1998  Nick Clifton  <nickc@cygnus.com>
22115
22116	* libc/sys/arm/syscalls.c (_sbrk): Rename '_end' to 'end' to
22117	conform to user label naming conventions.
22118
22119Mon Aug 24 14:46:19 1998  Geoffrey Noer <noer@cygnus.com>
22120
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.
22132
22133Fri Aug 21 14:44:14 1998  Jeff Johnston  <jjohnstn@cygnus.com>
22134
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.
22141
22142Wed Aug 19 16:20:13 1998  Jim Wilson  <wilson@cygnus.com>
22143
22144	* libc/sys/sparc64/Makefile.am (.S_r.o, .c_r.o): Change -DREENTRANT
22145	to -DREENT.
22146	* libc/sys/sparc64/Makefile.in: Rebuild.
22147
22148Tue Aug 18 22:38:29 1998  Ian Lance Taylor  <ian@cygnus.com>
22149
22150	* Makefile.am (MAKEOVERRIDES): Define.
22151	* Makefile.in: Rebuild.
22152
22153Tue Aug 18 12:38:47 1998  Jim Wilson  <wilson@cygnus.com>
22154
22155	* libc/sys/sparc64/sys/stat.h (stat): Add const.
22156
22157Mon Aug 17 22:27:06 1998  Ian Lance Taylor  <ian@cygnus.com>
22158
22159	* acinclude.m4 (NEWLIB_CONFIGURE): Use top_builddir in
22160	newlib_cflags when looking for targ-include.
22161	* */aclocal.m4, */configure: Rebuild.
22162
22163Fri Jul 31 10:57:42 1998  Catherine Moore  <clm@cygnus.com>
22164
22165	* libc/sys/arm/syscalls.c (_sbrk): Change "__end__"
22166	to "_end".
22167
22168Wed Jul 29 00:02:01 1998  Mark Alexander  <marka@cygnus.com>
22169
22170	* libc/include/sys/config.h: Define __IEEE_LITTLE_ENDIAN
22171	on SPARCs with little-endian data.
22172	* libc/include/machine/ieeefp.h: Ditto.
22173
22174Wed Jul 22 18:00:10 1998  Ian Lance Taylor  <ian@cygnus.com>
22175
22176	* acinclude.m4: Handle a relative srcdir correctly when setting
22177	newlib_cflags.
22178	* */aclocal.m4, */configure: Rebuild.
22179
22180Wed Jul 22 17:11:33 1998  Jeff Johnston  <jjohnstn@cygnus.com>
22181
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
22229
22230Tue Jul 21 12:34:54 1998  Ian Lance Taylor  <ian@cygnus.com>
22231
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.
22235
22236	* Makefile.am (AM_MAKEFLAGS): Add CFLAGS_FOR_BUILD.  Remove some
22237	unused directory variables.  Remove duplicate CFLAGS.
22238	* Makefile.in: Rebuild.
22239
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.
22244
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.
22253
22254Mon Jul 20 20:49:24 1998  Christopher Faylor <cgf@cygnus.com>
22255
22256	* libc/include/sys/fcntl.h: Add O_NOINHERIT, Win32-specific
22257	flag.
22258
22259Fri Jul 17 16:13:16 1998  Ian Lance Taylor  <ian@cygnus.com>
22260
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.
22265
22266Sat Jul 11 18:14:49 1998  Felix Lee  <flee@cygnus.com>
22267
22268	* libc/stdio/vfprintf.c: enable long long support, sometimes.
22269	* configure.in (*-*-cygwin32): add -DWANT_PRINTF_LONG_LONG.
22270
22271Tue Jul  7 01:51:55 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
22272
22273	* libc/machine/sh/strcmp.S, libc/machine/sh/strcpy.S: New files.
22274	* libc/machine/sh/Makefile.in: Add rules for new files.
22275
22276Tue Jul  7 01:40:55 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
22277
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.
22281
22282Thu Jul  2 10:33:16 1998  Nick Clifton  <nickc@cygnus.com>
22283
22284	* libc/sys/arm/syscalls.c (_exit): Add comment, noting that exit
22285	code is ignored.
22286
22287Wed Jun 24 13:56:54 1998  Jeff Johnston  <jjohnstn@cygnus.com>
22288
22289	* libc/stdio/tmpnam.c (_tmpnam_r): Changed routine to use
22290	internal static buffer when s is NULL, as prescribed by ANSI.
22291
222921998-06-22  Vladimir N. Makarov  <vmakarov@cygnus.com>
22293
22294	* libc/sys/h8300hms/Makefile.in (OFILES): malloc.o has been
22295	removed.
22296	* libc/sys/h8300hms/malloc.c: has been removed.  Now malloc.c from
22297	libc/stdlib will be used for h8300hms.
22298
22299Thu Jun 18 16:56:05 1998  Jeff Johnston  <jjohnstn@cygnus.com>
22300
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.
22313
22314Wed Jun 17 12:50:26 1998  Mark Alexander  <marka@cygnus.com>
22315
22316	* configure.in: Don't use libc/sys/sysmec for MN10200; it's
22317	been replaced with libgloss/mn10200.
22318
22319Fri Jun 12 14:34:39 1998  Michael Meissner  <meissner@cygnus.com>
22320
22321	* libc/string/strchr.c (strchr): Make s a constant pointer to
22322	avoid warning.
22323
22324Tue Jun  9 16:29:30 1998  Jason Molenda  (crash@bugshack.cygnus.com)
22325
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).
22329
22330Thu Jun  4 12:16:46 1998  Michael Meissner  <meissner@cygnus.com>
22331
22332	* libc/string/strncat.c (strncat):  Make -Os act the same as
22333	PREFER_SIZE_OVER_SPEED being defined.
22334
22335Wed Jun  3 17:52:33 1998  Michael Meissner  <meissner@cygnus.com>
22336
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.
22350
22351Mon Jun  1 15:25:07 1998  Geoffrey Noer  <noer@cygnus.com>
22352
22353	* libc/include/sys/itimer.h: remove
22354	* libc/include/sys/time.h: itimer stuff should be here
22355
22356Mon Jun  1 16:31:29 1998  Jeff Johnston  <jjohnstn@cygnus.com>
22357
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.
22360
22361Sat May 30 09:33:51 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
22362
22363	* libc/stdlib/mprec.c (b2d): Inilialize d in non-VAX case too.
22364
22365Fri May 29 22:25:10 1998  Geoffrey Noer  <noer@cygnus.com>
22366
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
22371
22372Fri May 29 16:10:28 1998  Geoffrey Noer  <noer@cygnus.com>
22373
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
22381	sys/types.h.
22382
22383Fri May 29 03:04:29 1998  Geoffrey Noer  <noer@cygnus.com>
22384
22385	* libc/include/sys/fcntl.h: add _close proto for Cygwin32
22386
22387Thu May 28 16:34:21 1998  Geoffrey Noer  <noer@cygnus.com>
22388
22389	* libc/include/process.h: add secure exec protos
22390
22391Wed May 27 13:54:51 1998  Jeffrey A Law  (law@cygnus.com)
22392
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.
22399
22400Tue May 26 18:04:21 1998  Geoffrey Noer  <noer@cygnus.com>
22401
22402	* libc/include/sys/signal.h: add __cplusplus wrapper
22403
22404Tue May 26 15:10:22 1998  Geoffrey Noer  <noer@cygnus.com>
22405
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
22408	function.
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
22412
22413Sun May 24 23:56:20 1998  Christopher Faylor <cgf@cygnus.com>
22414
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.
22418
22419Sun May 24 01:32:14 1998  Christopher Faylor <cgf@cygnus.com>
22420
22421	* libc/include/time.h: Fix typo in tzset.
22422
22423Fri May 22 17:00:48 1998  Geoffrey Noer  <noer@cygnus.com>
22424
22425	* libc/include/sys/time.h: add missing Cygwin32 function protos
22426	* libc/include/sys/unistd.h: ditto
22427	* libc/include/time.h: ditto
22428
22429Wed May 20 20:35:11 1998  Geoffrey Noer  <noer@cygnus.com>
22430
22431	* libc/sys/cygwin32/sys/param.h: add protected NULL def, remove
22432	FIXME.
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__.
22436
22437Wed May 20 18:49:21 1998  Geoffrey Noer  <noer@cygnus.com>
22438
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
22441	including types.h.
22442
22443Wed May 20 14:45:40 1998  Geoffrey Noer  <noer@cygnus.com>
22444
22445	* libm/math/Makefile.in: add s_signgam.o to obj list
22446
22447Tue May 19 11:57:11 1998  Jeff Johnston  <jjohnstn@cygnus.com>
22448
22449	* libc/include/sys/reent.h (_REENT_INIT): Initialize current locale to "C".
22450
22451Mon May 18 22:36:12 1998  Christopher Faylor <cgf@cygnus.com>
22452
22453	* libc/include/sys/signal.h: cygwin32 exports sig{empty,add}set,
22454	so don't use defines.
22455
22456Mon May 18 19:01:02 1998  Michael Meissner  <meissner@cygnus.com>
22457
22458	* libc/sys/d10v/crt0.S: Use correct stab for 16-bit ints.
22459
22460Sun May 17 18:40:32 1998  Frank Ch. Eigler  <fche@cygnus.com>
22461
22462	* libc/stdlib/mbtowc_r.c (_mbtowc_r): Accept a NULL
22463	_current_locale as default locale.
22464
22465Sat May 16 21:59:59 1998  Bob Manson  <manson@charmed.cygnus.com>
22466
22467	* libc/stdlib/mallocr.c (mALLOc): Add explicit tests for
22468	insufficient space in a chunk.
22469
22470Tue May 12 14:41:01 1998  Jeff Johnston  <jjohnstn@cygnus.com>
22471
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
22476	defined.
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
22504	call _mbtowc_r().
22505
22506Tue May  5 16:07:23 1998  Nick Clifton  <nickc@cygnus.com>
22507
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.
22514
22515Wed Apr 29 15:22:15 1998  Jeff Johnston  <jjohnstn@cygnus.com>
22516
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.
22522
22523Fri Apr 24 18:00:09 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
22524
22525	* libc/machine/sh/memcpy.S (L_odddst, big endian version):
22526	When needing to transfer an initial 2-byte-word, store as
22527	two single bytes.
22528
22529Wed Apr 22 17:56:03 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
22530
22531	* libc/sys/sh/crt0.S (start): Handle __SH4_SINGLE_ONLY__ like
22532	__SH3E__ .
22533	* libc/machine/sh/memcpy.S (DELAYED_BRANCHES, SL): Likewise.
22534	* libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Likewise.
22535
22536Wed Apr 22 12:28:03 1998  Michael Meissner  <meissner@cygnus.com>
22537
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
22541	used.
22542
22543Tue Apr 21 23:13:34 1998  Geoffrey Noer  <noer@cygnus.com>
22544
22545	* libc/include/machine/setjmp.h: change sigsetjmp and
22546	siglongjmp definitions to use an array instead of a struct
22547	for __CYGWIN32__
22548
22549Tue Apr 14 11:47:47 1998  Doug Evans  <devans@canuck.cygnus.com>
22550
22551	* libc/reent/impure.c (__ATTRIBUTE_IMPURE_DATA__): Fix spelling.
22552
22553Mon Apr  6 15:05:08 1998  Jonathan Larmour  <jlarmour@cygnus.co.uk>
22554
22555	* libc/string/strxfrm.c: fix to get correct return value
22556
22557Wed Apr  1 16:09:05 1998  Nick Clifton  <nickc@cygnus.com>
22558
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
22561	by the debugger.
22562
22563Wed Mar 18 09:45:10 1998  Nick Clifton  <nickc@cygnus.com>
22564
22565	* configure.in (links): Do not use ARM debiugging protocols for PE
22566	builds.
22567
22568	* libc/sys/arm/syscalls.c (_sbrk): Add "_sbrk: " to error
22569	message.
22570
22571Fri Mar 13 11:24:34 1998  Jeff Johnston  <jjohnstn@cygnus.com>
22572
22573	* libc/stdio/findfp.c (__sinit): Made stdout default to
22574	line buffered mode as defined by ANSI.
22575
22576Tue Mar 10 11:41:26 1997  Bob Manson  <manson@charmed.cygnus.com>
22577
22578	* libc/include/sys/itimer.h: New file.
22579
22580	* libc/signal/signal.c (__sigtramp_r,__sigtramp): New functions.
22581
22582Mon Mar  9 14:19:26 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
22583
22584	* libc/machine/sh/memcpy.S: (_memcpy): Fix for execute/memcpy-1.c
22585	failure.
22586
22587Fri Feb 27 13:56:10 1998  Michael Meissner  <meissner@cygnus.com>
22588
22589	* libc/machine/d30v/setjmp.S (longjmp): Fix order of parallel
22590	insns.
22591
22592Wed Feb 25 09:29:54 1998  Nick Clifton  <nickc@cygnus.com>
22593
22594	* libc/sys/arm/syscalls.c (_open): Add varags to conform to prototype.
22595
22596Tue Feb 24 18:00:13 1998  Michael Meissner  <meissner@cygnus.com>
22597
22598	* libc/machine/d30v/{setjmp.S,Makefile.in}: New files for D30V
22599	support.
22600
22601	* libc/include/machine/setjmp.h: Add D30V support.
22602
22603	* configure.in (d30v-*): Add d30v machine directory.
22604
22605Mon Feb 23 09:32:58 1998  Mark Alexander  <marka@cygnus.com>
22606
22607	* configure.in: Don't use libc/sys/sysmec for MN10300; it's
22608	been replaced with libgloss/mn10300.
22609
22610Sat Feb 21 17:44:43 1998  Geoffrey Noer  <noer@cygnus.com>
22611
22612	* libc/stdlib/mallocr.c: remove __malloc_copy routine now that
22613	it is no longer needed.
22614
22615Thu Feb 19 16:15:10 1998  Geoffrey Noer  <noer@cygnus.com>
22616
22617	* libc/include/sys/signal.h: add sigpause proto for Cygwin32
22618
22619Wed Feb 18 23:51:08 1998  Geoffrey Noer  <noer@cygnus.com>
22620
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
22623	that time.
22624
22625Wed Feb 18 23:25:02 1998  Geoffrey Noer  <noer@cygnus.com>
22626
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.
22632
22633Wed Feb 18 16:27:40 1998  Geoffrey Noer  <noer@cygnus.com>
22634
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.
22639
22640Mon Feb 16 23:34:07 1998  Andrew Cagney  <cagney@b1.cygnus.com>
22641
22642	* libc/sys/d10v/crt0.S (_start): Set PSW{SW} - select SPU.
22643
22644Thu Feb 12 15:09:20 1998  Ranjith Kumaran <ranjith@cygnus.com>
22645
22646	* libc/sys/go32/longjmp.S: Fix longjmp to not return 0.
22647
22648Wed Feb 11 17:50:45 1998  Jeff Johnston  <jjohnstn@cygnus.com>
22649
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.
22653
22654
22655Mon Feb  9 03:44:02 1998  Geoffrey Noer  <noer@cygnus.com>
22656
22657	* libc/sys/cygwin32/crt0.c: add missing args to main() extern
22658
22659Fri Feb  6 16:32:32 1998  Nick Clifton  <nickc@cygnus.com>
22660
22661	* libc/sys/sysnecv850/crt0.S (_start): Initialise _ctbp even for
22662	v850 builds.
22663
22664	* configure.in: Add -msmall-sld to target_cflags for v850 builds.
22665
22666Wed Feb  4 16:56:20 1998  Jeff Johnston  <jjohnstn@cygnus.com>
22667
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).
22671
22672Tue Feb  3 18:08:34 1998  Jeff Johnston  <jjohnstn@cygnus.com>
22673
22674	* libc/machine/sh/memcpy.S: (_memcpy): Update to
22675	latest version supplied by customer.
22676	* libc/machine/sh/memset.S (_memset): Ditto.
22677
22678Mon Feb  2 16:20:39 1998  Nick Clifton  <nickc@cygnus.com>
22679
22680	* libc/sys/sysnecv850/Makefile.in (OFILES): Add link.o (for
22681	PR14730).
22682
22683Mon Feb  2 15:13:26 1998  Geoffrey Noer  <noer@cygnus.com>
22684
22685	* libc/include/string.h: remove redefinition of ffs
22686
22687Wed Jan 28 13:30:14 1998  Geoffrey Noer  <noer@cygnus.com>
22688
22689	* libc/include/sys/signal.h: include _ansi.h so _EXFUN is
22690	defined
22691
22692Wed Jan 28 10:38:34 1998  Jeff Johnston  <jjohnstn@cygnus.com>
22693
22694	* libc/machine/tic80/setjmp.S: Adding _setjmp to allow
22695	TI Libraries to link to libc.a
22696
22697Sat Jan 24 10:15:56 1998  Michael Meissner  <meissner@cygnus.com>
22698
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.
22704
22705Fri Jan 23 11:32:10 1998  Michael Meissner  <meissner@cygnus.com>
22706
22707	* libc/machine/d10v/setjmp.S: Change to new ABI.  Add simple
22708	minded stabs so function name shows up when running the simulator
22709	with -t.
22710	* libc/sys/d10v/{crt0,trap}.S: Ditto.
22711
22712Thu Jan 22 15:57:14 1998  Fred Fish  <fnf@cygnus.com>
22713
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.
22717
22718Wed Jan 21 14:22:23 1998  Bill Moyer <billm@cygnus.com>
22719
22720	* libc/stdlib/getopt.c (getopt): replaced __progname
22721	with nargv[0] to improve portability to imbedded systems.
22722
22723Thu Jan 15 12:32:38 1998  Nick Clifton  <nickc@cygnus.com>
22724
22725	* libc/sys/arm/syscalls.c (initialise_angel_handles): Applied
22726	patch supplied by Tont.Thompson@arm.com to fix the creation of the
22727	stdout file.
22728
22729Wed Jan 14 13:00:19 1998  Ian Lance Taylor  <ian@cygnus.com>
22730
22731	* libc/stdio/tmpnam.c (worker): Generate a different file name
22732	each time.
22733
22734	* libc/posix/popen.c (popen): If __CYGWIN32__, and execing /bin/sh
22735	fails, try an execlp for sh.
22736
22737	* host/any (INCLUDES): If target_os is cygwin32, then add a -I
22738	option for the winsup include directory.
22739
22740Wed Jan  7 17:02:58 1998  Nick Clifton  <nickc@cygnus.com>
22741
22742	* libc/sys/arm/syscalls.c: Applied patches for Angel based remote
22743	debugging interface from Tony.Thompson@arm.com.
22744
22745	* libc/sys/arm/crt0.S (_mainCRTStartup): ditto.
22746	* libc/sys/arm/swi.h: ditto.
22747
22748Tue Jan  6 14:15:10 1998  Geoffrey Noer  <noer@cygnus.com>
22749
22750	* libc/sys/cygwin32/sys/dirent.h: add __d_dirhash field to
22751	DIR struct used for readdir hashes.
22752
22753Thu Jan  1 11:22:22 1998  Jeffrey A Law  (law@cygnus.com)
22754
22755	* libc/string/strchr.c: Use "unsigned chars" as necessary.
22756
22757Wed Dec 31 04:25:30 1997  Jeffrey A Law  (law@cygnus.com)
22758
22759	* libc/stdlib/mallocr.c (idx2binblock): Don't lose on 16bit
22760	integer targets.
22761
22762Sat Dec 13 15:11:06 1997  Ian Lance Taylor  <ian@cygnus.com>
22763
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.
22768
22769Wed Dec 10 12:15:54 1997  Ian Lance Taylor  <ian@cygnus.com>
22770
22771	* libc/stdlib/mallocr.c: If INTERNAL_NEWLIB, include
22772	<sys/config.h>.
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
22777	long.
22778
22779Tue Dec  9 19:23:42 1997  Michael Meissner  <meissner@cygnus.com>
22780
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
22783	times.
22784
22785Tue Dec  9 14:13:18 1997  Jeff Johnston  <jjohnstn@cygnus.com>
22786
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.
22837
22838Mon Dec  8 12:12:58 1997  Ian Lance Taylor  <ian@cygnus.com>
22839
22840	* libc/stdlib/mallocr.c (malloc_extend_top): Add patch from Doug
22841	Lea in case of a foreign sbrk.
22842
22843Fri Dec  5 23:27:28 1997  Ian Lance Taylor  <ian@cygnus.com>
22844
22845	Incorporate Doug Lea's malloc:
22846	* libc/stdlib/mallocr.c: Completely replaced.
22847	* libc/stdlib/malloc.c: Document malloc_usable_size and memalign.
22848	(realloc): Remove.
22849	* libc/stdlib/calloc.c (calloc): Just call _calloc_r.
22850	* libc/stdlib/mstats.c: Document mallinfo, malloc_stats, and
22851	mallopt.
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
22876	routines.
22877	* libc/include/stdlib.h (cfree): Correct declaration.
22878
22879Tue Dec  2 10:12:16 1997  Nick Clifton  <nickc@cygnus.com>
22880
22881	* libc/include/machine/setjmp.h: Add support for Thumb target.
22882
22883	* libc/include/machine/ieeefp.h: Add support for Thumb target.
22884
22885	* configure.in (links): Add support for Thumb target.
22886
22887Wed Nov 26 09:56:17 1997  Nick Clifton  <nickc@cygnus.com>
22888
22889	* libc/sys/arm/setjmp.S: Updated with version from branch.
22890
22891Thu Nov 20 01:21:43 1997  Geoffrey Noer  <noer@cygnus.com>
22892
22893	* libc/include/stdio.h: add POSIX-required define L_ctermid
22894	for ctermid
22895
22896Wed Nov 19 16:11:40 1997  Michael Meissner  <meissner@cygnus.com>
22897
22898	* configure.in (d30v-*-*): Define ABORT_MESSAGE, SMALL_MEMORY, in
22899	addition to MISSING_SYSCALL_NAMES.
22900
22901Mon Nov 17 20:05:05 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
22902
22903	* libc/include/sys/config.h: (UINT_MAX, for D10V):  Make unsigned.
22904
22905Mon Nov 10 22:26:55 1997  Geoffrey Noer  <noer@cygnus.com>
22906
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.
22910
22911Mon Nov 10 17:11:08 1997  Geoffrey Noer  <noer@cygnus.com>
22912
22913	* libc/sys/cygwin32/sys/utime.h: new (moved here from
22914	winsup/include) so as not to conflict with the one in
22915	libc/include.
22916	* libc/include/string.h: add protos for strsignal, strtosigno
22917
22918Mon Nov 10 13:49:54 1997  Michael Meissner  <meissner@cygnus.com>
22919
22920	* libc/include/sys/config.h: Define __IEEE_BIG_ENDIAN if d30v.
22921
22922	* configure.in (d30v-*-*): Add configuration.
22923
22924Thu Oct 30 14:01:23 1997  Nick Clifton  <nickc@cygnus.com>
22925
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.
22928
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.
22932
22933Fri Oct 24 18:57:05 1997  Jeffrey A Law  (law@cygnus.com)
22934
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
22937	source string.
22938
22939Thu Oct 23 01:37:41 1997  Geoffrey Noer  <noer@cygnus.com>
22940
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
22944
22945Tue Oct 21 18:42:00 1997  Jim Wilson  <wilson@cygnus.com>
22946
22947	* libc/string/strcat.c (strcat): Add missing comment end.
22948	* libc/string/strncat.c (strncat): Likewise.
22949
22950Tue Oct 21 17:23:34 1997  Nick Clifton  <nickc@cygnus.com>
22951
22952	* configure.in (links): Define PREFER_SIZE_OVER_SPEED for v850
22953	targets.
22954	* libc/string/{memchr.c, memcmp.c, memcpy.c}:	Add space
22955	optimised version which is selected if PREFER_SIZE_OVER_SPEED is
22956	defined.
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.
22960
22961Mon Oct 13 15:12:35 1997  Ian Lance Taylor  <ian@cygnus.com>
22962
22963	* libc/include/sys/param.h (BIG_ENDIAN): Define if __i386__.
22964	(LITTLE_ENDIAN, BYTE_ORDER): Likewise.
22965
22966Thu Oct  9 13:54:44 1997  Doug Evans  <dje@canuck.cygnus.com>
22967
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}.
22973
22974Tue Oct  7 14:01:29 1997 Bill Moyer     (billm@cygnus.com)
22975			 Jeffrey A Law  (law@cygnus.com)
22976
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.
22981
22982Mon Oct  6 14:07:59 1997  Nick Clifton  <nickc@cygnus.com>
22983
22984	* libc/sys/sysnecv850/Makefile.in (crt0.o trap.o): Explicit
22985	rules.
22986
22987	* libc/include/sys/config.h: Use __v850 to select v850
22988	endianness.
22989
22990	* libc/include/machine/setjmp.h: Use __v850 to select v850 jump
22991	buffer size.
22992
22993	* libc/include/machine/ieeefp.h: Use __v850 to select v850
22994	endianness.
22995
22996Thu Sep 25 14:11:37 1997  Geoffrey Noer  <noer@cygnus.com>
22997
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.
23001
23002Tue Sep 23 18:17:20 1997  Geoffrey Noer  <noer@cygnus.com>
23003
23004	* libc/include/stdlib.h: define unsetenv proto for __CYGWIN32__
23005
23006Thu Sep 18 12:50:15 1997  Angela Marie Thomas (angela@cygnus.com)
23007
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
23011
23012Wed Sep 17 17:42:27 1997  Nick Clifton  <nickc@cygnus.com>
23013
23014	* libc/sys/sysnecv850/crt0.S: Created V850e version.
23015
23016Tue Sep  9 10:40:57 1997  Doug Evans  <dje@canuck.cygnus.com>
23017
23018	* configure.in (target_cpu): Add `arc'.
23019
23020Tue Sep  9 10:40:42 1997  Joel Sherrill  <joel@OARcorp.com>
23021
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.
23027
23028Sun Sep  7 16:41:41 1997  Gavin Koch  <gavin@cygnus.com>
23029
23030	* libc/machine/mips/setjmp.S: Handle mips16 builds.
23031
23032Thu Aug 21 20:05:38 1997  Ian Lance Taylor  <ian@cygnus.com>
23033
23034	* libc/include/stdio.h (siprintf): Declare.
23035
23036Mon Aug 18 11:19:13 1997  Nick Clifton  <nickc@cygnus.com>
23037
23038	* libc/sys/sysnecv850/Makefile.in (.c.o): Add rule that includes
23039	TARGET_CFLAGS and NEWLIB_FLAGS.
23040
23041Mon Aug 18 11:15:43 1997  Nick Clifton  <nickc@cygnus.com>
23042
23043	* configure.in (links): Add support for v850ea target.
23044
23045Mon Aug 18 11:15:43 1997  Nick Clifton  <nickc@cygnus.com>
23046
23047	* configure.in (links): Add support for v850e target.
23048
23049Wed Aug 13 19:16:54 1997  Nick Clifton  <nickc@cygnus.com>
23050
23051	* libc/sys/sysnecv850/crt0.S: Remove initial setting of r0 to 0.
23052
23053Mon Aug 11 15:49:54 1997  Doug Evans  <dje@canuck.cygnus.com>
23054
23055	* configure.in (arc-*-*): Add support for.
23056	* libc/include/machine/ieeefp.h (__arc__): Add support for the ARC.
23057
23058Fri Jul 25 17:37:41 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
23059
23060	* libc/sys/sh/crt0.S (start): Add fpscr initialization for SH4.
23061
23062Thu Jul 24 18:32:17 1997  Geoffrey Noer  <noer@cygnus.com>
23063
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
23068	for CYGWIN32
23069	* libc/include/sys/unistd.h: add _POSIX defines for CYGWIN32
23070
23071Tue Jul 22 16:03:06 1997  Ian Lance Taylor  <ian@cygnus.com>
23072
23073	* libc/include/stdlib.h (realpath): Declare if __CYGWIN32__ and
23074	not _STRICT_ANSI.
23075
23076Thu Jul 10 15:11:52 1997  Doug Evans  <dje@canuck.cygnus.com>
23077
23078	* libm/math/k_standard.c (__kernel_standard): Call fflush(stdout)
23079	ifndef _USE_WRITE, instead of ifdef _USE_WRITE.
23080
23081Thu Jul 10 16:00:09 1997  Mike Meissner  <meissner@cygnus.com>
23082
23083	* libc/machine/tic80/setjmp.S (setjmp,longjmp): Use ld.d and st.d
23084	to load/store memory.
23085
23086Mon Jul  7 17:38:17 1997  Ian Lance Taylor  <ian@cygnus.com>
23087
23088	* libc/include/sys/fcntl.h: Define _O_* symbols with leading
23089	underscores if _WIN32.
23090
23091Wed Jul  2 10:07:20 1997  Doug Evans  <dje@canuck.cygnus.com>
23092
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>.
23096
23097Wed Jun 25 10:18:49 1997  Doug Evans  <dje@canuck.cygnus.com>
23098
23099	* libc/stdio/tmpnam.c (worker): Handle _open_r being stubbed out.
23100	(_tmpnam_r, _tempnam_r): Update.
23101
23102Wed Jun 25 00:16:55 1997  Mark Alexander  <marka@cygnus.com>
23103
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.
23107
23108Tue Jun 24 23:27:38 1997  Mark Alexander  <marka@cygnus.com>
23109
23110	* libc/include/machine/setjmp.h: Use __TIC80__ instead of __tic80__.
23111
23112Tue Jun 24 14:53:40 1997  Doug Evans  <dje@canuck.cygnus.com>
23113
23114	From Joel Sherrill <joel@oarcorp.com>.
23115	* libc/stdlib/getenv.c (_findenv): Avoid dereferencing null `environ'.
23116
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.
23123
23124Fri Jun 20 11:13:16 1997  Geoffrey Noer  <noer@cygnus.com>
23125
23126	patch from sos@prospect.com.ru (Sergey Okhapkin):
23127	* include/sys/wait.h: correct operator precidence bug
23128	in WIFSIGNALED
23129
23130Wed Jun 18 22:08:27 1997  Geoffrey Noer  <noer@cygnus.com>
23131
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
23137
23138Mon Jun 16 21:02:22 1997  Geoffrey Noer  <noer@cygnus.com>
23139
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
23144	increment NSIG
23145
23146Thu Jun 12 18:52:41 1997  Ian Lance Taylor  <ian@cygnus.com>
23147
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.
23151
23152Wed Jun 11 09:46:26 1997  Jeffrey A Law  (law@cygnus.com)
23153
23154	* libc/machine/mn10200/setjmp.S: Implement setjmp/longjmp
23155	* libc/machine/mn10300/setjmp.S: Likewise.
23156
23157	* libc/sys/sysmec/crt0.S: Use "call" instead of "calls" for
23158	the mn10300 (more relaxing opportunities).
23159
23160Tue Jun 10 17:24:45 1997  Mike Meissner  <meissner@cygnus.com>
23161
23162	* configure.in (powerpc*-*-{eabi,elf,linux,rtems,sysv,solaris}):
23163	Build libraries with -mstrict-align.
23164
23165Fri Jun  6 14:07:59 1997  Ian Lance Taylor  <ian@cygnus.com>
23166
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.
23174
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.
23179
23180	* libc/include/malloc.h: New file.
23181
23182	* libc/include/string.h: Define strcmpi, stricmp, strncmpi, and
23183	strnicmp if they are not already defined.
23184
23185	* libc/include/time.h: If __CYGWIN32__, declare tzset and define
23186	_timezone, _daylight, and _tzname.
23187
23188Wed Jun  4 12:51:16 1997  Doug Evans  <dje@canuck.cygnus.com>
23189
23190	* configure.in: Sort all configuration tables.
23191
23192	From Joel Sherrill <joel@oarcorp.com>
23193	* Makefile.in (stmp-targ-include): Copy $(sys_dir)/include/*.h.
23194
23195Tue Jun  3 14:47:46 1997  Ian Lance Taylor  <ian@cygnus.com>
23196
23197	* libc/include/sys/signal.h: Don't include <sys/types.h>.  Just
23198	use int when declaring kill.
23199
23200	* libc/include/sys/timeb.h: New file.
23201
23202Mon Jun  2 12:06:58 1997  Geoffrey Noer  <noer@cirdan.cygnus.com>
23203
23204	* libc/include/sys/time.h: add itimer support for Cygwin32
23205
23206Mon May 19 11:56:46 1997  Mike Meissner  <meissner@cygnus.com>
23207
23208	* libc/stdlib/abort.c (abort): If ABORT_MESSAGE is defined, write
23209	out a message that abort was called to stderr.
23210
23211Fri May 16 15:02:59 1997  Bob Manson  <manson@charmed.cygnus.com>
23212
23213	* libc/sys/sysmec/fstat.c (_fstat): Set st_blksize to 4096
23214	so that libio doesn't freak.
23215
23216	* libc/sys/sysmec/sbrk.c (_sbrk): The argument is a size_t, not
23217	int.
23218
23219	* libc/stdlib/mallocr.c (_morecore_r): Use size_t for
23220	memory sizes, not int.
23221
23222Wed May 14 21:16:58 1997  Bob Manson  <manson@charmed.cygnus.com>
23223
23224	* libm/math/ef_hypot.c: Use long constants where
23225	appropriate.
23226	* libm/math/ef_sqrt.c: Ditto.
23227
23228	* libc/sys/sysmec/times.c(_times): Change to times.
23229
23230	* libc/sys/sysmec/read.c(_read): The third argument is
23231	size_t.
23232	* libc/sys/sysmec/write.c (_write): Ditto.
23233
23234	* libc/sys/sysmec/lseek.c: Include unistd.h for off_t.
23235	(_lseek): It's off_t for the second argument.
23236
23237Wed May 14 15:23:36 1997  Mike Meissner  <meissner@cygnus.com>
23238
23239	* libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN): Define here,
23240	as well as machine/ieeefp.h.
23241
23242Thu May  8 15:47:25 1997  Geoffrey Noer  <noer@cygnus.com>
23243
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
23249	defined.
23250	* libc/include/sys/unistd.h: add ftruncate proto for
23251	winsup functions (when __CYGWIN32__)
23252
23253Fri Apr 25 10:10:16 1997  Doug Evans  <dje@canuck.cygnus.com>
23254
23255	* libc/sys/h8300hms/sbrk.c (stack_ptr): Add definition.
23256
23257Thu Apr 24 15:46:51 1997  Mike Stump  <mrs@cygnus.com>
23258
23259	* libc/include/machine/setjmp.h: Add tic80 support.
23260	* libc/machine/tic80/setjmp.S: Likewise.
23261
23262Tue Apr 22 16:54:40 1997  Geoffrey Noer  <noer@pizza.cygnus.com>
23263
23264	* libc/sys/cygwin32/crt0.c: Add reference to main() so we can
23265	link programs from libraries only (such as in the X11
23266	distribution)
23267
23268Mon Apr 21 15:02:12 1997  Fred Fish  <fnf@cygnus.com>
23269
23270	* libc/sys/arm/syscalls.c (signal): Remove stub, signal()
23271	supplied elsewhere in newlib.
23272
23273Mon Apr 14 16:25:55 1997  Ian Lance Taylor  <ian@cygnus.com>
23274
23275	* Makefile.in (INSTALL): Change install.sh to install-sh.
23276
23277Fri Apr 11 17:04:02 1997  Jason Molenda  (crash@godzilla.cygnus.co.jp)
23278
23279	* README: update WWW address for on-line documentation.
23280
23281Wed Apr  9 00:38:13 1997  Geoffrey Noer  <noer@cygnus.com>
23282
23283	* libc/include/sys/signal.h: for _WIN32, define SIGCONT and
23284	increment NSIG
23285
23286Mon Apr  7 23:54:00 1997  Jeffrey A Law  (law@cygnus.com)
23287
23288	* libc/sys/sysmec/crt0.S: Update for new calling conventions on the
23289	mn10300.
23290	* libc/sys/sysmec/trap.S: Don't compare a register to itself.
23291
23292Tue Mar 25 08:47:43 1997  Jeffrey A Law  (law@cygnus.com)
23293
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.
23304
23305Tue Mar 18 14:14:34 1997  Jeffrey A Law  (law@cygnus.com)
23306
23307	* libc/sys/sysmec/trap.S: Use "syscall" to trigger an
23308	emulated syscall instead of "trap".
23309
23310Fri Mar 14 11:26:13 1997  Michael Meissner  <meissner@cygnus.com>
23311
23312	* libc/sys/d10v/trap.S (__trap0): Use trap 15 for system calls,
23313	not trap 0.
23314
23315Sun Mar  9 23:27:04 1997  Doug Evans  <dje@seba.cygnus.com>
23316
23317	* configure.in (m32r-*-*): Add -msdata=sdata to target_cflags.
23318
23319Sat Mar  8 09:05:01 1997  Fred Fish  <fnf@cygnus.com>
23320
23321	* libc/machine/arm/Makefile.in: Fix comment, is for "arm"
23322	not "sh".
23323	* libc/machine/m32r/Makefile.in: Fix comment, is for "m32r"
23324	not "d10v".
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.
23328
23329Wed Mar  5 11:32:12 1997  J.T. Conklin  <jtc@cygnus.com>
23330
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
23334
23335Thu Feb 27 16:27:55 1997  Fred Fish  <fnf@cygnus.com>
23336
23337	* libc/include/machine/ieeefp.h (_IEEE_LITTLE_ENDIAN): Define
23338	for TIc80.
23339
23340Wed Feb 26 13:43:39 1997  Jeffrey A Law  (law@cygnus.com)
23341
23342	* libc/sys/sysmec/crt0.S: Handle new calling conventions for
23343	the mn10200.
23344
23345Wed Feb 26 07:11:03 1997  Michael Meissner  <meissner@cygnus.com>
23346
23347	* libc/machine/powerpc/setjmp.S (longjmp): Correct return status
23348	(patch from andrew@pogo.WV.TEK.COM).
23349
23350Fri Feb 14 11:49:28 1997  Doug Evans  <dje@canuck.cygnus.com>
23351
23352	* libc/machine/m32r/setjmp.S (setjmp): Save r12.
23353	(longjmp): Restore r12. Fix code that handles returning 1 if passed 0.
23354
23355Mon Feb 10 10:02:34 1997  Fred Fish  <fnf@cygnus.com>
23356
23357	* configure.in:  Add cases for "tic80" to set machine_dir,
23358	sys_dir, and syscall_dir.
23359
23360Sun Feb  2 17:57:15 1997  Geoffrey Noer  <noer@cygnus.com>
23361
23362	* libc/sys/cygwin32/crt0.c: initialize floating pt registers
23363
23364Wed Jan 29 15:57:38 1997  Geoffrey Noer  <noer@cygnus.com>
23365
23366	* libc/include/math.h: avoid conflicts with ANSI C++ <exception>
23367
23368Mon Jan 27 12:50:01 1997  Doug Evans  <dje@seba.cygnus.com>
23369
23370	* libc/machine/m32r/setjmp.S: Use proper comment delimiter.
23371	Use proper constant prefix.
23372
23373Fri Jan 24 10:59:04 1997  Jeffrey A Law  (law@cygnus.com)
23374
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
23377	sizes.
23378
23379Tue Jan 14 13:29:55 PST 1997  Jeremy Allison <jra@cygnus.com>
23380
23381	* configure.in: Added -DSIGNAL_PROVIDED to cygwin32
23382	target as signal is provided in winsup.
23383
23384Tue Jan 14 11:10:13 1997  Jeremy Allison <jra@cygnus.com>
23385
23386	* libc/include/sys/process.h: Corrected const definitions
23387	in spawn functions. Added cwait.
23388
23389Thu Jan  2 12:22:41 1997  Jeffrey A Law  (law@cygnus.com)
23390
23391	* libc/include/machine/ieeefp.h: mn10200 uses 16bit ints and 32bit
23392	doubles.
23393	* libc/include/sys/config.h: Similarly.
23394
23395Tue Dec 31 18:36:14 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
23396
23397	* configure.in (sparc-sun-sunos*): Add -DSIGNAL_PROVIDED to the
23398	target_cflags.
23399	(i[3456]86-*-sco*): Ditto.
23400
23401	* libc/signal/Makefile.in (OFILES): Add signal.o.
23402	(CFILES): Add signal.c.
23403
23404	* libc/signal/raise.c (_raise_r): Only compile code if
23405	SIGNAL_PROVIDED is defined.
23406
23407	* libc/signal/signal.c: Redo whole file so that it works with
23408	current newlib.  Use _kill_r if no signal handler provided.
23409
23410	* libc/sys/{go32,sparc64,sysmec}/Makefile.in: Delete raise and
23411	signal stubs.
23412	* libc/sys/sysvnecv70/Makefile.in: Ditto.
23413	* libc/sys/sysnecv850/Makefile.in: Ditto.
23414
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.
23419
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.
23423
23424	* NEWS: Document software signals being provided.
23425
23426Mon Dec 23 11:54:19 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
23427
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.
23435
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
23438	.sdata section.
23439
23440Sun Dec 22 23:33:05 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
23441
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
23445	its attributes.
23446
23447	* libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__):
23448
23449Wed Dec 18 10:12:04 1996  Jeffrey A Law  (law@cygnus.com)
23450
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.
23454
23455Mon Dec 16 10:05:36 1996  Jeffrey A Law  (law@cygnus.com)
23456
23457	* libc/sys/sysmec/crt0.S: Handle mn10200 too.
23458
23459Fri Dec 13 11:05:20 1996  Jeremy Allison <jra@cygnus.com>
23460
23461	* libc/include/sys/errno.h: Added net errno's.
23462
23463Wed Dec 11 16:24:25 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
23464
23465	* libc/misc/ffs.c: New file to support ffs function for GCC test
23466	gcc.c-torture/execute/960909-1.c.
23467
23468	* libc/misc/Makefile.in ({O,CHEWOUT_}FILES): Add ffs.
23469
23470Sat Dec  7 10:12:37 1996  Jeffrey A Law  (law@cygnus.com)
23471
23472	* libc/sys/sysmec/crt0.S: Handle underscore prefix.
23473	* libc/sys/sysmec/trap.S: Likewise.
23474
23475Fri Dec  6 15:08:49 1996  Jim Wilson  <wilson@cygnus.com>
23476
23477	* configure.in (mips*vr4300*-*-*): Delete use of sys/vr4300.
23478	* libc/sys/vr4300/{Makefile.in,crt0.S,syscalls.c}: Delete.
23479
23480Wed Dec  4 16:25:27 1996  Jeffrey A Law  (law@cygnus.com)
23481
23482	* libc/sys/sysmec/signal.c: Dummy file.
23483	* libc/sys/sysmec/Makefile.in: Build it.
23484
23485Wed Nov 27 13:10:18 1996  Ian Lance Taylor  <ian@cygnus.com>
23486
23487	* libc/machine/mips/machine/regdef.h: Define pc as $pc for
23488	mips16.
23489
23490Mon Nov 25 09:58:28 1996  Jeffrey A Law  (law@cygnus.com)
23491
23492	* libc/sys/sysmec/{crt0.S,trap0.S}: Actually try to implement
23493	c-startup and simulator traps.
23494
23495
23496	* libc/sys/sysmec/crt0.S: Remove bogus '_' symbol prefixing
23497	* libc/sys/sysmec/trap0.S: Likewise.
23498
23499Sat Nov 23 09:01:03 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
23500
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
23504	byte alignment.
23505
23506	* libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Define if d10v.
23507
23508	* libc/sys/d10v/syscalls.c (_sbrk): Add better checks for running
23509	out of memory.
23510
23511Mon Nov 18 13:08:26 1996  Jeffrey A Law  (law@cygnus.com)
23512
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.
23519
23520Fri Nov 15 16:41:41 1996  Doug Evans  <dje@canuck.cygnus.com>
23521
23522	* libc/sys/arm/crt0.S: Use .text, not .section .text.
23523	* libc/sys/arm/syscalls.c: Rewrite to set errno properly.
23524
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.
23530
23531Fri Nov 15 11:41:50 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
23532
23533	* libc/sys/d10v/syscalls.c (_sbrk): Align initial heap_end to 8
23534	byte boundary.
23535
23536	* configure.in (d10v*): Define SMALL_MEMORY.
23537
23538Mon Nov 11 10:30:44 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
23539
23540	* configure.in (powerpc*-{eabi,elf,linux,rtem,sysv,solaris}*): Add
23541	-mrelocatable-lib and -mno-eabi flags.
23542
23543Mon Nov 11 09:01:39 1996  Jeffrey A Law  (law@cygnus.com)
23544
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.
23548
23549Wed Oct 30 09:41:11 1996  Jeffrey A Law  (law@cygnus.com)
23550
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
23555	SYS_gettimeofday.
23556
23557Tue Oct 29 13:40:09 1996  Jeffrey A Law  (law@cygnus.com)
23558
23559	* libc/sys/sysnecv850/Makefile.in (OFILES): Add access.o
23560	* libc/sys/sysnecv850/access.c: New file.
23561
23562Mon Oct 21 19:47:02 1996  Ian Lance Taylor  <ian@cygnus.com>
23563
23564	* libc/sys/vr4300/Makefile.in (clean): Remove $(OFILES).
23565
23566	* libc/stdlib/mprec.h (word0, word1): Use __uint32_t, not unsigned
23567	long.
23568
23569Mon Oct 21 14:43:07 1996  Jeffrey A Law  (law@cygnus.com)
23570
23571	* libc/sys/sysnecv850/crt0.S: Initialize ep and gp registers.
23572
23573Thu Oct 17 11:47:16 1996  Doug Evans  <dje@seba.cygnus.com>
23574
23575	* libc/include/machine/{ieeefp.h,setjmp.h}: Add m32r support.
23576	* libc/include/sys/config.h: Add m32r support.
23577
23578Wed Oct 16 23:08:05 1996  Jeffrey A Law  (law@cygnus.com)
23579
23580	* libc/sys/sysnecv850/v850.ld: Remove.  It doesn't belong
23581	here.
23582
23583Wed Oct 16 21:18:07 1996  Mark Alexander  <marka@cygnus.com>
23584
23585	* libc/include/machine/setjmp.h: Add D10v support.
23586
23587Tue Oct 15 22:28:26 1996  Jeffrey A Law  (law@cygnus.com)
23588
23589	* configure.in: Configure the "libc/syscalls" directory for
23590	the v850.
23591
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.
23597
23598Tue Oct 15 16:24:39 1996  Stu Grossman  (grossman@critters.cygnus.com)
23599
23600	* libc/sys/sysnecv850/crt0.S (start):  Allocate spill space on
23601	stack for args for main and other routines.  Zero out args for
23602	main.
23603
23604	* libc/sys/sysnecv850/v850.ld:  New.  Linker script to layout memory
23605	correctly.
23606
23607Tue Oct 15 11:51:42 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
23608
23609	* libc/stdio/findfp.c (std): Remove extraneous ';' after
23610	function.
23611
23612	* libc/sys/d10v/sys/syscall.h (SYS_kill): Add.
23613
23614	* libc/sys/d10v/{syscalls.c,trap.S} (_kill,_getpid): Make these
23615	real system calls now.
23616
23617	* libc/stdio/setvbuf (setvbuf): Cast pointers to _POINTER_INT
23618	before casting them to int.
23619	* libc/stdio/tmpnam.c (_tempnam_r): Ditto.
23620
23621	* libc/stdlib/mallocr.c (_morecore_r): Use _POINTER_INT when
23622	aligning pointer.
23623	* libc/string/memset.c (memset): Ditto.
23624
23625	* libc/stdio/vfscanf.c (__svfscanf): When converting to pointer,
23626	first convert ints to _POINTER_INT to eliminate GCC warning.
23627
23628	* libc/stdio/vfprintf.c (_vfprintf_r): Use _POINTER_INT when
23629	processing %p.
23630
23631	* libm/math/ef_scalb.c (__ieee754_scalbf): Cut down range to 32000
23632	from 65000 if ints are only 16 bits.
23633
23634	* libm/math/sf_scalbn.c (scalbnf): Cut down overflow test to 30000
23635	from 50000 if ints are only 16 bits.
23636
23637	* libc/include/sys/config.h (_POINTER_INT): New macro, to give an
23638	int type that is the same size as a pointer.
23639
23640	* libc/misc/dprintf.c (__dprintf): Use _POINTER_INT when
23641	processing %p.
23642	(get_number): Explicitly cast number to long before shifting by 16
23643	or 24, in case ints are short.
23644
23645	* libc/include/sys/config.h (_POINTER_INT): Define as short.
23646
23647Wed Oct  9 16:54:32 1996  Jeremy Allison <jra@cygnus.com>
23648
23649	* libc/string.h: Added ffs, removed swab.
23650	* libc/sys/errno.h: Added EOPNOTSUPP.
23651	* libc/sys/unistd.h: Added swab.
23652
23653Thu Oct  3 17:08:50 1996  Jeremy Allison <jra@cygnus.com>
23654
23655	* libc/include/sys/stat.h: Added fchmod.
23656	* libc/include/sys/unistd.h: Added fsync.
23657
23658Tue Oct  1 17:34:08 1996  Jeremy Allison <jra@cygnus.com>
23659
23660	* libc/include/sys/errno.h: Added defines for EPFNOSUPPORT (96)
23661	and ECONNRESET (104) for cygwin32.
23662
23663Tue Oct  1 16:24:05 1996  Gavin Koch  <gavin@cygnus.com>
23664
23665	* libc/sys/sysnecv850/_exit.c: added _do_dtors to
23666	do the static destructors.
23667
23668Mon Sep 30 15:59:05 1996  Stu Grossman  (grossman@critters.cygnus.com)
23669
23670	* libc/sys/sysnecv850/trap.S:  Change I/O to use trap 31.
23671
23672Mon Sep 30 12:02:50 1996  Doug Evans  <dje@canuck.cygnus.com>
23673
23674	* libc/machine/m32r/{Makefile.in,setjmp.S}: New files.
23675	* configure.in: Recognize m32r-*-*.
23676
23677Mon Sep 30 00:34:41 1996  James G. Smith  <jsmith@cygnus.co.uk>
23678
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.
23684
23685Fri Sep 27 13:08:03 1996  Mark Alexander  <marka@cygnus.com>
23686
23687	* libc/sys/d10v/{trap.S,sys/syscall.h}: Add time() function.
23688
23689Fri Sep 27 12:32:00 1996  Jeremy Allison <jra@cygnus.com>
23690
23691	* libc/include/sys/types.h: Added ssize_t definition.
23692
23693Wed Sep 25 14:52:18 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
23694
23695	* libc/machine/d10v/setjmp.S: Use ';' for comments.
23696	* libc/sys/d10v/{crt0.S,trap.S}: Ditto.
23697
23698	* libc/machine/d10v/setjmp.S (longjmp): Use exef0t || instead of
23699	branch around a single ldi instruction.
23700
23701	* libc/sys/d10v/crt0.S (_start): Use auto-increment to zero bss.
23702	Call exit, instead of just issuing a stop instruction.
23703
23704Sun Sep 22 17:26:55 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
23705
23706	* libc/sys/d10v/{trap.S,syscalls.c}: Add -mint32 support.
23707
23708Fri Sep 20 13:23:12 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
23709
23710	* libc/stdlib/mprec.h: Explicitly declare all large constants as
23711	longs, and then cast them to __uint32_t.
23712
23713	* libc/include/sys/config.h: Protect against multiple inclusions.
23714
23715Tue Sep 17 13:10:33 1996  Mark Alexander  <marka@cygnus.com>
23716
23717	* configure.in (d10v*): Set syscall_dir.
23718
23719Sun Sep 15 10:41:59 1996  Mark Alexander  <marka@cygnus.com>
23720
23721	* libc/sys/d10v/crt0.S: Set stack pointer.
23722
23723Thu Sep 12 13:02:38 1996  Mark Alexander  <marka@cygnus.com>
23724
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.
23728
23729Wed Sep 11 10:28:18 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
23730
23731	* libc/machine/v850/Makefile.in (setjmp.o): Fix dependency.
23732
23733Thu Sep  5 19:23:06 1996  Doug Evans  <dje@canuck.cygnus.com>
23734
23735	* libc/posix/execvp.c (execvp): Don't search PATH if file has '/'.
23736	Handle empty entries in $PATH.
23737
23738Tue Sep 03 18:15:02 1996  Mark Alexander  <marka@cygnus.com>
23739
23740	* libc/machine/d10v/setjmp.S: Make it really work.
23741
23742Tue Sep  3 12:16:26 1996  Ian Lance Taylor  <ian@cygnus.com>
23743
23744	* libc/sys/sh/crt0.S: If __ELF__, use ELF section attributes for
23745	the .stack section.
23746
23747Tue Sep  3 10:08:45 1996  Jeffrey A Law  (law@cygnus.com)
23748
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
23759	syscalls.
23760	* sys/sysnecv850/crt0.S: Use cmp/bl, not tst/bz.
23761	* sys/sysnec850/sbrk.c: New version.
23762
23763Sun Sep  1 20:08:27 1996  Jeffrey A Law  (law@cygnus.com)
23764
23765	* sys/sysnecv850/crt0.S: Fix order of comparison args.  Loop
23766	as long as r6 is less than r7.
23767
23768Sun Sep  1 13:54:19 1996  Ian Lance Taylor  <ian@cygnus.com>
23769
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.
23773
23774Sun Sep  1 11:35:26 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
23775
23776	* libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Define for
23777	d10v.
23778	(__SMALL_BITFIELDS): Ditto.
23779
23780	* libc/include/sys/config.h (_DOUBLE_IS_32BITS): Define for d10v.
23781
23782Sat Aug 31 16:42:36 1996  Jeffrey A Law  (law@cygnus.com)
23783
23784	* libc/sys/sysnecv850/misc.c (raise, getpid, kill): Remove '_'
23785	prefix.
23786
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.
23791
23792	* libc/sys/sysnecv850/crt0.S: Don't try to zero out an empty
23793	.bss.
23794
23795Fri Aug 30 11:18:45 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
23796
23797	* libc/include/sys/config.h: Define INT_MAX, UINT_MAX
23798	appropriately for D10V, depending on -mint16/-mint32.
23799
23800Thu Aug 29 16:09:37 1996  Mark Alexander  <marka@cygnus.com>
23801
23802	* configure.in: Add cases for D10V.
23803
23804Thu Aug 29 17:03:23 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
23805
23806	* configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
23807
23808Wed Aug 28 21:05:52 1996  Jeffrey A Law  (law@cygnus.com)
23809
23810	* libc/include/machine/ieeefp.h: Fix typo.
23811
23812Wed Aug 28 19:47:55 1996  Mark Alexander  <marka@cygnus.com>
23813
23814	* libc/sys/d10v: New directory for D10V stuff.
23815	* libc/include/machine/ieeefp.h: Add D10V defines.
23816
23817Mon Aug 26 13:34:58 1996  Doug Evans  <dje@canuck.cygnus.com>
23818
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.
23823
23824Thu Aug 22 16:38:19 1996  Jeffrey A Law  (law@cygnus.com)
23825
23826	* libc/sys/sysnecv850: New directory for v850 stuff.
23827
23828	* libc/machine/v850: New directory for v850 stuff.
23829	* libc/machine/v850/setjmp.S: setjmp/longjmp support.
23830
23831	* configure.in: Add support for the v850.
23832
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.
23836
23837Sat Aug 17 04:06:36 1996  Geoffrey Noer  <noer@cygnus.com>
23838
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).
23847
23848Thu Aug 15 17:09:21 1996  Geoffrey Noer  <noer@cygnus.com>
23849
23850	* libc/include/stdlib.h: add multibyte character functions.  Add
23851	__eprintf for assert.
23852
23853Thu Aug 15 11:15:40 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
23854
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.
23858
23859Wed Aug 14 23:43:28 1996  Geoffrey Noer  <noer@cygnus.com>
23860
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
23868
23869Fri Aug  2 18:28:07 1996  J.T. Conklin  <jtc@rtl.cygnus.com>
23870
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
23875	zero.
23876
23877Fri Jul 19 11:41:52 1996  J.T. Conklin  <jtc@rtl.cygnus.com>
23878
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.
23884
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.
23895
23896	* libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, sbrkr.c,
23897	signalr.c, statr.c, timer.c} (errno): declare extern rather
23898	than as a common.
23899
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.
23903
23904Mon Jul 15 16:50:59 1996  Doug Evans  <dje@canuck.cygnus.com>
23905
23906	* libc/posix/execvp.c (execvp): Use posix_path_list_p to determine
23907	path delimiter.
23908	* libc/include/sys/unistd.h (_SC_PATH_RULES): Delete.
23909	(_PATH_RULES_{UNKNOWN,WIN32,POSIX}): Delete.
23910
23911Thu Jul 11 14:34:14 1996  Geoffrey Noer  <noer@cygnus.com>
23912
23913	* libc/include/signal.h: _sig_func_ptr function takes an int
23914	* libc/include/sys/signal.h: sa_handler function takes an int
23915
23916Tue Jul  9 21:22:32 1996  Jeffrey A Law  (law@cygnus.com)
23917
23918	* libc/include/machine/ieeefp.h: Simplify H8/S support.
23919	* libc/include/sys/config.h: Add missing H8/S conditional.
23920
23921Sun Jun 30 12:05:46 1996  Doug Evans  <dje@canuck.cygnus.com>
23922
23923	* libc/include/sys/unistd.h (MAXPATHLEN): Add cygwin32 value.
23924
23925Wed Jun 26 09:57:54 1996  Jeffrey A Law  (law@cygnus.com)
23926
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.
23934
23935Tue Jun 25 23:15:45 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
23936
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.
23945
23946Fri Jun 21 19:24:41 1996  Ian Lance Taylor  <ian@cygnus.com>
23947
23948	* libc/include/sys/reent.h (_REENT_INIT): Update for change to
23949	_reent struct.
23950
23951Wed Jun 19 14:00:09 1996  Doug Evans  <dje@canuck.cygnus.com>
23952
23953	* libc/posix/execvp.c: Delete _WIN32 support.  For __CYGWIN32__
23954	fetch current path rules with sysconf and handler posix/win32
23955	appropriately.
23956
23957	* libc/include/sys/unistd.h (_PATH_RULES{,_POSIX,_WIN32}): Define.
23958
23959	* libc/include/process.h: Prepend '_' to P_{WAIT,NOWAIT,OVERLAY}.
23960	(WAIT_CHILD): Always define.
23961
23962Sat Jun 15 17:50:42 1996  Ian Lance Taylor  <ian@cygnus.com>
23963
23964	* libc/stdlib/eprintf.c: New file.
23965	* libc/stdlib/Makefile.in (OFILES): Add eprintf.o.
23966	(eprintf.o): New target.
23967
23968Thu Jun 13 16:44:32 1996  Doug Evans  <dje@canuck.cygnus.com>
23969
23970	* libc/sys/cygwin32/crt0.c (__cygwin_crt0_bp): New global.
23971	(mainCRTStartup): Do int3 if __cygwin_crt0_bp non-zero.
23972
23973Thu Jun 13 17:45:17 1996  Mike Meissner  <meissner@rtl.cygnus.com>
23974
23975	* libc/include/machine/ieeefp.h: Add support for AIX and Windows
23976	NT in PowerPC endianess cases.
23977
23978Tue Jun 11 12:26:28 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
23979
23980	* libc/include/machine/ieeefp.h: Clean up PowerPC endianess.
23981
23982Thu Jun  6 11:34:20 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
23983
23984	* libc/string/strtok.c: Fix doc typo.
23985
23986Mon Jun  3 11:30:00 1996  J.T. Conklin  <jtc@rtl.cygnus.com>
23987
23988	* libc/include/sys/reent.h (struct _reent): Removed _asctime,
23989	_next, _scanpoint, _signgam fields.
23990
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
23996	by POSIX.1c.
23997
23998	* libc/string/strtok.c: Update documentation to describe
23999	strtok_r().
24000
24001Sat Jun  1 23:50:39 1996  Michael Meissner  <meissner@cygnus.com>
24002
24003	* libc/include/sys/stat.h (stat structure): Use the expanded stat
24004	structure on Solaris, and PowerPC systems even though __svr4__ is
24005	defined.
24006
24007Tue May 28 13:02:42 1996  Doug Evans  <dje@canuck.cygnus.com>
24008
24009	* libc/sys/go32/sys/errno.h (ENOSYS,ESPIPE): Keep values <= 255.
24010
24011Fri May 17 10:34:44 1996  Ian Lance Taylor  <ian@cygnus.com>
24012
24013	* host/any: Use ../.. rather than .. to get to the main build
24014	directory.  This matches the current layout of the build
24015	directory.
24016
24017Wed May 15 15:52:27 1996  Jeffrey A Law  (law@cygnus.com)
24018
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.
24024
24025	* libc/sys/h8300hms/crt0.S: Use temporary label names
24026	for branch targets.
24027
24028Mon May 13 14:26:30 1996  Doug Evans  <dje@canuck.cygnus.com>
24029
24030	* libc/stdio/fopen.c (_fopen_r): Fix arguments to fseek.
24031
24032Fri May  3 16:38:23 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
24033
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.
24037
24038Mon Apr 29 21:38:02 1996  Doug Evans  <dje@canuck.cygnus.com>
24039
24040	* libc/sys/arm/syscalls.c (_sbrk): Rename end to __end__.
24041
24042Thu Apr 25 06:38:59 1996  Michael Meissner  <meissner@cygnus.com>
24043
24044	* libc/sys/cygwin32/crt0.c (mainCRTStartup): On PowerPC, set the
24045	exception handler to __cygwin_exception_handler.
24046
24047Tue Apr 23 15:14:20 1996  Ian Lance Taylor  <ian@cygnus.com>
24048
24049	* libc/include/machine/setjmp.h: Check _AM29K, not ___AM29K__.
24050
24051Sun Apr 21 12:11:51 1996  Doug Evans  <dje@blues.cygnus.com>
24052
24053	* libm/math/Makefile.in ({w,wf}_cabs.o,{w,wf}_drem.o): Add rule for
24054	SunOS VPATH.
24055	* libc/stdlib/Makefile.in (atoff.o,atol.o,mblen.o,mbstowcs.o,
24056	wcstombs.o): Likewise.
24057
24058Thu Apr 18 12:37:01 1996  Doug Evans  <dje@canuck.cygnus.com>
24059
24060	* libc/stdlib/environ.c (initial_env): New static local.
24061	(environ): Point to `initial_env'.
24062
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.
24068
24069Thu Apr 18 12:10:52 1996  Jeffrey A Law  (law@cygnus.com)
24070
24071	* libc/machine/h8300/strcmp.S: Sign extend the result to
24072	32bits so we don't lose with -mint32.
24073
24074Sun Apr 14 19:59:52 1996  Doug Evans  <dje@canuck.cygnus.com>
24075
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.
24082
24083Thu Mar 28 13:44:42 1996  Doug Evans  <dje@canuck.cygnus.com>
24084
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.
24088
24089Mon Mar 25 15:29:14 1996  J.T. Conklin  <jtc@rtl.cygnus.com>
24090
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.
24094
24095Mon Mar 25 11:59:23 1996  Jeffrey A Law  (law@cygnus.com)
24096
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.
24100
24101Fri Mar 22 13:59:37 1996  Jeffrey A Law  (law@cygnus.com)
24102
24103	* libc/include/sys/config.h: Define DOUBLE_IS_32BITS for
24104	the h8300, h8500, and others.  Add comments for some rather
24105	dubious code.
24106
24107Thu Mar 14 18:04:43 1996  Ian Lance Taylor  <ian@cygnus.com>
24108
24109	* Makefile.in (check): Check that testsuite exists before cd.
24110
24111Tue Mar 12 11:46:47 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
24112
24113	* libc/include/string.h (strsep): Correct prototype.
24114
24115Mon Mar 11 09:55:19 1996  Doug Evans  <dje@charmed.cygnus.com>
24116
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'.
24120
24121Wed Mar  6 11:51:55 1996  Doug Evans  <dje@charmed.cygnus.com>
24122
24123	* libc/posix/{creat.c,isatty.c}: New files.
24124	* libc/posix/Makefile.in (OFILES): Add creat.o, isatty.o.
24125
24126	* libc/sys/sparc64/crt0.S (environ): Delete.
24127	(.LHaveBias): Renamed from HaveBias.
24128
24129Thu Feb 15 10:48:37 1996  Doug Evans  <dje@charmed.cygnus.com>
24130
24131	* libc/stdlib/mallocr.c (etext): Move decl inside ifdef WARN_VLIMIT.
24132	(_morecore_r): Delete SBRK_IS_ALLOC support.
24133
24134Tue Feb 13 09:44:09 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
24135
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.
24139
24140Tue Feb 13 06:32:07 1996  Doug Evans  <dje@charmed.cygnus.com>
24141
24142	* libc/sys/sparclite/{Makefile.in,crt0.s}: Deleted.
24143	crt0.s replaced by version in libgloss.
24144
24145Mon Feb  5 15:17:51 1996  J.T. Conklin  <jtc@rtl.cygnus.com>
24146
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.
24150
24151	* libm/math/sf_asinh.c: Fix typo.
24152
24153	* Makefile.in (MATHOBJS_IN_LIBC): Removed sr_ldexp.o and
24154	srf_ldexp.o.
24155
24156	* libm/libm.texinfo: Change documentation to reflect changes
24157	in reentrancy model.
24158	* libm/math/w_gamma.c: Likewise.
24159
24160Wed Jan 31 18:49:45 1996  Steve Chamberlain  <sac@slash.cygnus.com>
24161
24162	* configure.in (*-*-cygwin32): New.
24163	(*-*-win32): Deleted.
24164	* libc/sys/win32 renamed libc/sys/cygwin32.
24165
24166Tue Jan 30 22:09:03 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
24167
24168	* libc/include/sys/file.h: New include file.
24169
24170Fri Jan 26 15:52:54 1996  Steve Chamberlain  <sac@slash.cygnus.com>
24171
24172	* libc/include/machine/setjmp.h: Increase size of PPC jmp_buf.
24173
24174Tue Jan 23 17:49:16 1996  Steve Chamberlain  <sac@slash.cygnus.com>
24175
24176	* libc/include/sys/wait.h (WIFSIGNALED): Fix.
24177
24178Tue Jan 16 09:28:10 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
24179
24180	* doc/makedoc.c (realloc): Declare at file scope.
24181	(catchar): Not here.
24182
24183Wed Dec 27 15:45:23 1995  Doug Evans  <dje@canuck.cygnus.com>
24184
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.
24188
24189	From David Johnson <davidj@ICSI.Berkeley.EDU>
24190	* {libc,libm}/Makefile.in (lib[cm].a): Delete library first.
24191
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.
24198
24199Tue Dec 19 15:24:46 1995  Kim Knuttila  <krk@cygnus.com>
24200
24201	* configure.in (links): set sys_dir, posix_dir, syscall_dir
24202
24203Wed Dec 13 04:16:25 1995  Michael Meissner  <meissner@wogglebug.tiac.net>
24204
24205	* doc/makedoc.c (init_string_with_size,nextword): Move malloc
24206	declaration out to external scope and declare it PTR, not char *.
24207
24208Mon Dec 11 17:35:12 1995  steve chamberlain  <sac@slash.cygnus.com>
24209
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.
24214
24215Fri Dec  1 16:48:46 1995  James G. Smith  <jsmith@cygnus.co.uk>
24216
24217	* libc/sys/vr4300/syscalls.c (sbrk): Fixed memory
24218	addressing. System call returns size, not (last address + 1).
24219
24220Thu Nov 30 15:05:26 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
24221
24222	* libm/math/*.c: Removed _foo_r() reentrancy API.
24223	* libc/include/math.h: Removed _foo_r prototypes and macros.
24224
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.
24232
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 *
24236	for same reason.
24237
24238Wed Nov 29 14:25:05 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
24239
24240	* libc/stdlib/strtol.c (_strtol_r): Replaced with implementation
24241	from NetBSD C library.
24242	* libc/stdlib/strtoul.c (_strtoul_r): Likewise.
24243
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.
24251
24252Tue Nov 28 16:54:26 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
24253
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
24259	compilers.
24260
24261Tue Nov 28 16:03:32 1995  Doug Evans  <dje@canuck.cygnus.com>
24262
24263	* libc/sys/arm/crt0.S: Zero bss.
24264
24265Fri Nov 24 16:09:23 1995  Doug Evans  <dje@deneb.cygnus.com>
24266
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.
24272
24273	* libc/include/sys/reent.h (struct _reent): Make __sf last member.
24274
24275Wed Nov 22 19:49:47 1995  Doug Evans  <dje@deneb.cygnus.com>
24276
24277	* libc/stdio/vfprintf.c (__sbprintf): Init fake._data.
24278	(_vfprintf_r): Call CHECK_INIT.
24279
24280Tue Nov 14 02:52:12 1995  Doug Evans  <dje@canuck.cygnus.com>
24281
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.
24286
24287Wed Nov  8 01:24:08 1995  James G. Smith  <jsmith@pasanda.cygnus.co.uk>
24288
24289	* libc/sys/vr4300/syscalls.c: Added clean version of sbrk().
24290	* libc/sys/vr4300/crt0.S: Cleaned up. Added check for FPU
24291	presence.
24292
24293Thu Nov  2 22:25:06 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
24294
24295	* libc/string/strtok.c: Include string.h to pick up strtok_r
24296	prototype.
24297
24298Wed Nov  1 18:54:11 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
24299
24300	* libc/string/strtok.c: include <_ansi.h>.
24301	* libc/time/asctime_r.c: `reresult' -> `result'.
24302
24303Wed Nov  1 14:35:52 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
24304
24305	* libc/time/{ctime.c, gmtime.c, lcltime.c}: Wrap functions
24306	in #ifndef _REENT_ONLY ... #endif conditional.
24307
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.
24312
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
24318	strtok_r.
24319
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
24325	functions.
24326	* libc/time/lcltime.c: Renamed from localtime.c
24327
24328	* libc/include/time.h: Add prototypes for asctime_r, ctime_r,
24329	gmtime_r, and localtime_r.
24330
24331Sat Oct 28 14:34:31 1995  steve chamberlain  <sac@slash.cygnus.com>
24332
24333	* libc/sys/win32/crt0.c (mainCRTStartup): Call cygwin_crt0.
24334	* libc/include/sys/unistd.h (getlogin): Revert change of
24335	Oct 19.
24336	* libc/include/sys/signal.h (sigprocmask): Change prototype
24337	so it compiles with c++.
24338
24339Wed Oct 25 15:43:18 1995  Michael Meissner  <meissner@cygnus.com>
24340
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.
24344
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.
24350
24351Mon Oct 23 11:20:51 1995  James G. Smith  <jsmith@pasanda.cygnus.co.uk>
24352
24353	* libc/sys/vr4300/syscalls.c: Added empty kill() function,
24354	referenced by standard libraries.
24355
24356Thu Oct 19 21:39:47 1995  Fred Fish  <fnf@cygnus.com>
24357
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".
24363
24364Thu Oct 19 16:32:17 1995  steve chamberlain  <sac@slash.cygnus.com>
24365
24366	* libc/sys/unistd.h (getlogin): Returns const char *.
24367
24368Wed Oct 18 12:57:50 1995  steve chamberlain  <sac@slash.cygnus.com>
24369
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
24378
24379Wed Oct 18 09:58:27 1995  Brendan Kehoe  <brendan@lisa.cygnus.com>
24380
24381	* libc/unix/sigset.c (sigemptyset, sigaddset): Prefix #undef to
24382	avoid macro expansion for these two names.
24383
24384Tue Oct 17 08:45:33 1995  Doug Evans  <dje@canuck.cygnus.com>
24385
24386	* libc/machine/h8500/psi.S: r6 renamed to fp.
24387
24388Sun Oct 15 12:58:10 1995  Michael Meissner  <meissner@wogglebug.tiac.net>
24389
24390	* configure.in (powerpc*): No longer need to define
24391	NO_LONGLONG_POINTERS to supress warnings.
24392
24393Sat Oct 14 12:55:08 1995  Jim Wilson  <wilson@chestnut.cygnus.com>
24394
24395	* libc/reent/reent.c (_reclaim_reent): Call cleanup indirectly
24396	through PTR instead of directly.
24397
24398	* libc/sys/sh/crt0.S: Clean up formatting.  Delete unused
24399	non-standard constructor support.
24400
24401Thu Oct 12 11:39:42 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
24402
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>.
24407
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.
24412
24413	* libc/stdlib/qsort.c: Replaced with implementation from
24414	NetBSD C library.
24415
24416Tue Oct 10 14:01:10 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
24417
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.
24422
24423Tue Oct 10 12:15:23 1995  steve chamberlain  <sac@slash.cygnus.com>
24424
24425	* libc/sys/win32/syscalls.c (rename): New.
24426	* libc/sys/win32/include/winkernel.h (MoveFileExA): New.
24427
24428Fri Oct  6 12:18:43 1995  Jim Wilson  <wilson@chestnut.cygnus.com>
24429
24430	* libc/machine/sh/Makefile.in (setjmp.o): Depend on setjmp.S.
24431	* libc/machine/sh/setjmp.S: Rename from setjmp.s.
24432
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.
24436
24437Fri Oct  6 11:19:05 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
24438
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.
24445
24446Thu Oct  5 17:27:30 1995  steve chamberlain  <sac@slash.cygnus.com>
24447
24448	* libc/sys/posix/popen.c (sys/types.h): Include.
24449
24450Thu Oct  5 16:33:01 1995  Doug Evans  <dje@canuck.cygnus.com>
24451
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):
24461	New functions.
24462	(__lookup_fhandler): New function.
24463	(__lookup_fhandler_hook, __fhandler_normal): New variables.
24464
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.
24471
24472Thu Oct  5 14:25:14 1995  steve chamberlain  <sac@slash.cygnus.com>
24473
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.
24483
24484Wed Oct  4 13:10:35 1995  Doug Evans  <dje@canuck.cygnus.com>
24485
24486	* libc/sys/win32/dirsearch.c (opendir): stat real path name.
24487	Don't append "/*" to search pattern if trailing '/' already there,
24488	append "*".
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.
24498	(_open): Call it.
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.
24503
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.
24507
24508Sat Sep 30 15:00:15 1995  Jason Molenda  (crash@phyeaux.cygnus.com)
24509
24510	* libc/sys/win32/spawn.c (_spawn): Make quoting rules more
24511	complicated.
24512
24513Sat Sep 30 10:25:57 1995  Jason Molenda    (crash@phydeaux.cygnus.com)
24514
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__.
24518
24519Sat Sep 30 04:30:09 1995  Jason Molenda   (crash@phydeaux.cygnus.com)
24520
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
24524	file.
24525
24526Fri Sep 29 01:49:17 1995  steve chamberlain  <sac@slash.cygnus.com>
24527
24528	* libc/sys/syscalls.c (getcwd): Fix off by one error.
24529
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.
24534
24535Fri Sep 29 04:33:53 1995  Doug Evans  <dje@deneb.cygnus.com>
24536
24537	* libc/sys/arm/crt0.S (fp): Initialize to 0.
24538	Conditionally include .idata$3 stuff ifdef __pe__.
24539
24540Fri Sep 29 01:49:17 1995  steve chamberlain  <sac@slash.cygnus.com>
24541
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.
24550
24551Thu Sep 28 16:29:09 1995  Doug Evans  <dje@deneb.cygnus.com>
24552
24553	* libc/sys/arm/crt0.S (_start): Define.
24554
24555Thu Sep 28 12:26:45 1995  steve chamberlain  <sac@slash.cygnus.com>
24556
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.
24559
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.
24569	(_open): Ditto.
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.
24575
24576Thu Sep 28 10:11:27 1995  Doug Evans  <dje@canuck.cygnus.com>
24577
24578	* libc/sys/win32/spawn.c (_spawn): Fix quoting.
24579
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.
24590
24591Wed Sep 27 16:36:46 1995  steve chamberlain  <sac@slash.cygnus.com>
24592
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.
24604
24605Tue Sep 26 18:18:47 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
24606
24607	* libc/sys/win32/key.c: include "include/wincon.h".
24608
24609Tue Sep 26 07:21:48 1995  steve chamberlain  <sac@slash.cygnus.com>
24610
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.
24624
24625Fri Sep 22 13:47:27 1995  Doug Evans  <dje@canuck.cygnus.com>
24626
24627	* configure.in (cfg-ml-com.in invocation): Use ${with_multilib_top}
24628	if defined.
24629	(cfg-ml-pos.in invocation): Likewise.
24630
24631Fri Sep 22 11:43:44 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
24632
24633	* Makefile.in (MATHOBJS_IN_LIBC): Added s_isinf.o, sf_isinf.o,
24634	s_isnan.o and sf_isnan.o.
24635
24636Wed Sep 20 14:50:19 1995  Ian Lance Taylor  <ian@cygnus.com>
24637
24638	* All Makefile.in files: added maintainer-clean target as a
24639	synonym for realclean.
24640
24641Wed Sep 20 11:02:50 1995  Jeff Law  (law@snake.cs.utah.edu)
24642
24643	* libc/include/machine/setjmp.h: Add hppa support.
24644	* libc/machine/hppa/setjmp.S: New file with setjmp/longjmp
24645	support.
24646	* libc/machine/hppa/Makefile.in: Related changes.
24647
24648Tue Sep 19 12:09:01 1995  J.T. Conklin  <jtc@blues.cygnus.com>
24649
24650	* configure.in (machine_dir): Don't set for v810-*-*.
24651
24652Fri Sep 15 20:22:08 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
24653
24654	* libc/sys/win32/crt0.c (passover): Change to handle MKS quoting
24655	conventions correctly.
24656
24657Thu Sep 14 13:37:22 1995  J.T. Conklin  <jtc@blues.cygnus.com>
24658
24659	* libc/stdio/puts.c: Update documentation of return value to match
24660	ANSI standard.
24661
24662Thu Sep 14 01:52:37 1995  Doug Evans  <dje@canuck.cygnus.com>
24663
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
24670	CHILD_P.
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.
24675
24676	* libc/sys/win32/spawn.c (_execve): Don't pass _P_SEARCH_PATH to
24677	_spawn.
24678	(_exit): Use CHILD_P.
24679	* libc/sys/win32/syscalls.c (_fstat): Fix call to memset.
24680	(_stat): Likewise.
24681
24682Mon Sep 11 23:09:39 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
24683
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.
24687
24688Mon Sep 11 11:43:38 1995  J.T. Conklin  <jtc@cygnus.com>
24689
24690	* libc/include/machine/ieeefp.h: On the h8/300, h8/300h and
24691	h8/500 define _DOUBLE_IS_32BITS.
24692
24693Sat Sep  9 17:55:54 1995  Doug Evans  <dje@canuck.cygnus.com>
24694
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.
24721
24722	* libc/sys/win32/syscalls.h (procinfo): New members `handle_valid_p'
24723	and `exit_code'.
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
24732	didn't exec.
24733	(wait_for_any): Likewise.  Start scan after root entry.
24734
24735Fri Sep  8 18:48:02 1995  Jason Molenda   (crash@phydeaux.cygnus.com)
24736
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.
24741
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,
24745	and STDERR_FILENO.
24746
24747Thu Sep  7 21:02:22 1995  Jason Molenda   (crash@phydeaux.cygnus.com)
24748
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
24753	on filename.
24754	(_fstat): use .namehash for inode number of the fd.
24755
24756Thu Sep  7 12:57:19 1995  steve chamberlain  <sac@slash.cygnus.com>
24757
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.
24761
24762Wed Sep  6 18:38:26 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
24763
24764	* libc/include/sys/types.h (ino_t): Define ino_t correctly for
24765	win32 environment.
24766
24767Wed Sep  6 18:09:29 1995  Jason Molenda   (crash@phydeaux.cygnus.com)
24768
24769	* libc/sys/win32/include/grp.h: Removed.
24770	* libc/sys/include/grp.h: Added.
24771	* libc/sys/win32/grp.c: Include <grp.h>.
24772
24773Wed Sep  6 16:52:48 1995  steve chamberlain  <sac@slash.cygnus.com>
24774
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,
24783	 __hmap): Deleted.
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.
24806
24807Wed Sep  6 17:03:53 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
24808
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
24812	types under win32.
24813	(mode_t): add a #else to avoid multiple definitons.
24814
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.
24820
24821Wed Sep  6 10:41:34 1995  Doug Evans  <dje@canuck.cygnus.com>
24822
24823	* libc/include/sys/types.h (mode_t): Correct for svr4 sparc's
24824	and (maybe) sparc64.
24825	(nlink_t): Provide typedef.
24826
24827Tue Sep  5 18:46:05 1995  Jason Molenda   (crash@phydeaux.cygnus.com)
24828
24829	* libc/sys/win32/grp.c: New file.
24830	* libc/sys/win32/include/grp.h: New file.
24831
24832Tue Sep  5 13:47:27 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
24833
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.
24839
24840Fri Sep  1 15:35:18 1995  James G. Smith  <jsmith@beauty.cygnus.com>
24841
24842	* libc/sys/vr4300/syscalls.c: Added missing support
24843	routines. _raise() and getpid().
24844
24845Fri Sep  1 14:12:48 1995  James G. Smith  <jsmith@rtl.cygnus.com>
24846
24847	* configure.in (mips*vr4300*-*-elf): Fixed silly mistake
24848
24849Fri Sep  1 08:42:11 1995  James G. Smith  <jsmith@beauty.cygnus.com>
24850
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.
24856
24857Thu Aug 31 09:16:52 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
24858
24859	* libc/stdlib/Makefile.in (CHEWOUT_FILES): Removed atol.def.
24860	* libc/stdlib/stdlib.tex: Don't include atol.def.
24861
24862Wed Aug 30 20:38:28 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
24863
24864	* libc/sys/win32/uname.c (uname): hardcode processor as `i386'.
24865
24866Wed Aug 30 10:48:08 1995  steve chamberlain  <sac@slash.cygnus.com>
24867
24868	* libc/ctype/Makefile.in: Fill in _to* dependencies.
24869
24870Tue Aug 29 17:14:29 1995  steve chamberlain  <sac@slash.cygnus.com>
24871
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.
24877
24878Tue Aug 29 19:00:09 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
24879
24880	* libc/stdlib/atol.c (atol): DEFUN -> _DEFUN.
24881
24882Tue Aug 29 16:08:09 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
24883
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.
24889
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.
24898
24899Tue Aug 29 12:17:32 1995  Doug Evans  <dje@canuck.cygnus.com>
24900
24901	* libc/sys/sparc64/sys/types.h: Deleted.
24902
24903Mon Aug 28 22:06:08 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
24904
24905	* libc/sys/win32/uname.c (uname): change `Windows/NT' to `Windows_NT'
24906	and recognize Windows_95 systems.
24907
24908Mon Aug 28 19:50:54 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
24909
24910	* libc/sys/win32/crt0.c (vfork_init, hmap_init): standard I/O fds
24911	and passed fds should be opened in text mode.
24912
24913Mon Aug 28 18:51:22 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
24914
24915	* libc/sys/win32/crt0.c (vfork_init): mark passed fds as used
24916	in __hmap, set to binary mode by default.
24917
24918Tue Aug 22 14:12:37 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
24919
24920	* libc/sys/sh/syscalls.c: Updated all functions to call __trap34.
24921	* libc/sys/sh/trap.S (__trap34): Renamed from __trap3.  Use trap
24922	vector 34.
24923
24924Sat Aug 19 18:25:37 1995  steve chamberlain  <sac@slash.cygnus.com>
24925
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.
24929
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.
24939
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.
24946
24947	* posix/execvp (execvp): Don't crash if no PATH envname.
24948
24949Fri Aug 18 12:22:59 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
24950
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
24956	sources.
24957
24958Thu Aug 17 11:03:27 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
24959
24960	* libc/machine/h8500/setjmp.S: New file.
24961	* libc/include/machine/setjmp.h: Updated for H8/500.
24962
24963Wed Aug 16 16:19:11 1995  steve chamberlain  <sac@slash.cygnus.com>
24964
24965	* libc/sys/win32/syscalls.c (_open): More stracing.
24966	(_stat): Open the file in O_BINARY.
24967
24968Wed Aug 16 15:49:01 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
24969
24970	* libc/machine/h8300/setjmp.S: New file.
24971	* libc/include/machine/setjmp.h: Updated for H8/300 and H8/300H.
24972
24973Tue Aug 15 10:31:09 1995  Doug Evans  <dje@canuck.cygnus.com>
24974
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.
24985
24986	* libc/sys/win32/syscalls.c (queue_file_deletion): Add trace message.
24987	(process_deletion_queue): Likewise.
24988
24989	* libc/sys/win32/Makefile.in (lib.a): Don't call $(RANLIB).
24990
24991Mon Aug 14 10:14:10 1995  steve chamberlain  <sac@slash.cygnus.com>
24992
24993	* libc/sys/win32: Copyrights and gratuitous indenting.
24994
24995Mon Aug 14 01:32:58 1995  Doug Evans  <dje@canuck.cygnus.com>
24996
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
25002	_P_APPEND_EXE.
25003	(_exit): Call __close_all_files.
25004
25005	* libc/stdlib/system.c: #include <errno.h>.
25006	(_system_r): Fix results in -DNO_EXEC case.
25007
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.
25014
25015	* libc/include/errno.h (ENAMETOOLONG): Define.
25016	* libc/string/strerror.c (strerror): Reword ENFILE.
25017	Add ENOSYS, ENMFILE, ENOTEMPTY, ENAMETOOLONG.
25018
25019Sun Aug 13 22:42:25 1995  Doug Evans  <dje@canuck.cygnus.com>
25020
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
25025	if error.
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.
25031
25032	* libc/stdlib/getopt.c: New file.
25033	* libc/stdlib/Makefile.in: Build it.
25034
25035Sat Aug 12 12:17:14 1995  Doug Evans  <dje@canuck.cygnus.com>
25036
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.
25042
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.
25048
25049	* libc/sys/win32/smallprint.c (rn): Fix digit list.
25050
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.
25080
25081Sat Aug 12 11:08:00 1995  steve chamberlain  <sac@slash.cygnus.com>
25082
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
25103
25104Fri Aug 11 17:11:52 1995  Doug Evans  <dje@canuck.cygnus.com>
25105
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
25114	from libc/unix.
25115	* libc/Makefile.in (LIBC_POSIX_LIB): Define.
25116	(SUBDIRS): Add posix.
25117	(SUBLIBS): Add $(LIBC_POSIX_LIB).
25118
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.
25123
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.
25141	(main): Call here.
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.
25173
25174Thu Aug 10 16:32:52 1995  Doug Evans  <dje@canuck.cygnus.com>
25175
25176	* libc/sys/h8500hms/misc.c (kill): Handle SIGABRT.
25177
25178Thu Aug 10 12:07:38 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
25179
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.
25185
25186Wed Aug  9 14:18:39 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
25187
25188	* Makefile.in (all): set rootpre and srcrootpre before calling
25189	sub-makes.
25190
25191Tue Aug  8 17:20:45 1995  steve chamberlain  <sac@slash.cygnus.com>
25192
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.
25202
25203Mon Aug  7 13:04:54 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
25204
25205	* libc/include/math.h (cabs, cabsf, drem, dremf): New declarations.
25206
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.
25213
25214Thu Aug  3 08:13:05 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
25215
25216	* libc/sys/h8500hms/misc.c: New file.
25217	* libc/sys/h8500hms/Makefile.in (OFILES): Add misc.o.
25218
25219Wed Aug  2 16:46:27 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
25220
25221	* libc/time/localtime.c (localtime): Fix problem with leap year
25222	handling.  Stole algorithm from Arthur David Olson's tz code.
25223
25224Mon Jul 31 10:21:54 1995  steve chamberlain  <sac@slash.cygnus.com>
25225
25226	* configure.in: (z8k-*sim): Renamed z8k-*-coff.
25227
25228	* libc/sys/z8ksim/glue.c (_getpid, _kill): New
25229	(_exit): Use argument.
25230
25231Fri Jul 28 15:17:04 1995  Doug Evans  <dje@canuck.cygnus.com>
25232
25233	* libc/sys/win32/sys/winbase.h (_WINBASE_H): Define.
25234
25235Wed Jul 26 16:24:19 1995  steve chamberlain  <sac@slash.cygnus.com>
25236
25237	* libc/sys/sh/trap.S (perrno): Align correctly. (pr 7532)
25238
25239Mon Jul 24 13:42:52 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
25240
25241	* configure.in (sparc*): Add -DMALLOC_ALIGNMENT=8 to
25242	target_cflags.
25243
25244Mon Jul 24 11:42:07 1995  steve chamberlain  <sac@slash.cygnus.com>
25245
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}:
25250	New files.
25251
25252Fri Jul 21 11:22:26 1995  Doug Evans  <dje@canuck.cygnus.com>
25253
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.
25258
25259Fri Jul 21 07:11:42 1995  steve chamberlain  <sac@slash.cygnus.com>
25260
25261	* libc/include/sys/signal.h (__WIN32__): New.
25262
25263	* configure.in (i386-*-win32): Remobe SBRK_IS_ALLOC.
25264
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.
25269
25270Fri Jul 14 08:24:58 1995  steve chamberlain  <sac@slash.cygnus.com>
25271
25272	from medp@primag.co.uk:
25273	* libc/stdio/setvbuf.c (setvbuf): Fix line buffering on
25274	dynamically allocated buffers.
25275
25276Thu Jul 20 10:11:03 1995  Fred Fish  <fnf@fishbowl>
25277
25278	* libc/include/sys/unistd.h (_exit):  Add _ATTRIBUTE ((noreturn)).
25279	* libc/stdlib/exit.c (unistd.h):  Include to pick up _exit() declaration.
25280
25281Thu Jul 20 10:16:25 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
25282
25283	* configure.in (powerpc): Fix previous fix.
25284
25285Wed Jul 19 14:08:55 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
25286
25287	* configure.in (powerpc-*eabiaix*): Update PowerPC multilib
25288	directories for this target.
25289
25290Wed Jul 19 00:34:30 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
25291
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.
25295
25296Tue Jul 18 21:16:00 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
25297
25298	* configure.in: Update current PowerPC multilib directories.
25299	Split big and little endian configurations.
25300
25301Tue Jul 18 11:55:33 1995  Ian Lance Taylor  <ian@cygnus.com>
25302
25303	* configure.in: Add --enable-single-float option to configure to
25304	control use of MIPS single-float directories.  Default to yes.
25305
25306	* Makefile.in (all): Don't recurse into multilib directory if it
25307	does not exist.
25308
25309Mon Jul 17 15:51:30 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
25310
25311	* libc/sys/sh/syscalls.c: Fix typo.
25312
25313Mon Jul  3 14:38:52 1995  Steve Chamberlain  <sac@slash.cygnus.com>
25314
25315	* Makefile.in, libc/Makefile.in, libc/sys/Makefile.in:
25316	Pass down DLLTOOL.
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
25323	is defined.
25324
25325Wed Jun 28 18:34:54 1995  Steve Chamberlain  <sac@slash.cygnus.com>
25326
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).
25332
25333Thu Jun 22 11:45:18 1995  Doug Evans  <dje@canuck.cygnus.com>
25334
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.
25337
25338Mon Jun 19 11:40:40 1995  Doug Evans  <dje@canuck.cygnus.com>
25339
25340	* libc/include/machine/ieeefp.h (arm): Change to always be
25341	__IEEE_BIG_ENDIAN (even on little endian ARM's).
25342
25343Thu Jun  8 14:22:28 1995  Steve Chamberlain  <sac@slash.cygnus.com>
25344
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.
25348
25349Wed Jun  7 14:04:35 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
25350
25351	* configure.in (powerpc): Define multidirs.
25352
25353Mon Jun  5 16:10:13 1995  Doug Evans  <dje@canuck.cygnus.com>
25354
25355	* libc/sys/arm/crt0.S: Add __USER_LABEL_PREFIX__ support.
25356
25357Thu Jun  1 10:51:47 1995  Sean Eric Fagan <sef@cygnus.com>
25358
25359	* configure.in (sparclite): Delete target_cflags.  Define multidirs.
25360
25361Wed May 24 14:23:25 1995  Steve Chamberlain  <sac@slash.cygnus.com>
25362
25363	* configure.in, libc/include/machine/ieeefp.h: Modified
25364	for arm:
25365	libc/machine/arm/*, libc/sys/arm/*: New
25366
25367Tue May 23 13:53:07 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
25368
25369	* libc/include/machine/ieeefp.h: Use __PPC__ instead of
25370	  __powerpc__ when determining endianness.
25371
25372Wed May 10 07:55:56 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
25373
25374	* configure.in (m68*): Add multidir for the m68332.
25375
25376	* host/any (CC): Fix typo in last change.
25377
25378Fri Apr 14 22:20:31 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
25379
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
25384	operands.
25385
25386Fri Apr 14 14:14:29 1995  Doug Evans  <dje@chestnut.cygnus.com>
25387
25388	* libc/include/errno.h (ENOTEMPTY): Define.
25389
25390Thu Apr  6 12:21:20 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
25391
25392	* configure.in (sparc-sun-sunos*): Add -DMALLOC_ALIGNMENT=8 to
25393	  target_cflags.
25394
25395	* libc/sys/sun4/Makefile.in (COPYOFILES): Added rem.o, multiply.o,
25396	  and umultiply.o.
25397
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.
25401
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.
25406
25407	* libc/stdlib/ldiv.c (ldiv): Call labs() instead of abs().
25408
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).
25412
25413	* libc/include/stdlib.h (mblen, mbtowc, wctomb, mbstowcs,
25414	  wcstombs): Define.
25415	* libc/stdlib/{mblen.c, mbstowcs.c, wcstombs.c}: New files, null
25416	  versions of these functions that I orignally wrote for the
25417	  NetBSD C library.
25418	* libc/stdlib/{mbtowc.c, wctomb.c}: Replaced functions with
25419	  versions I wrote for NetBSD.
25420
25421Wed Mar 29 12:42:42 1995  Kung Hsu  <kung@mexican.cygnus.com>
25422
25423	* libc/sys/sparclite/Makefile.in: add crt0.s and make info.
25424	* libc/sys/sparclite/crt0.s: ditto.
25425
25426Tue Mar 28 20:28:03 1995  Rob Savoye  <rob@rtl.cygnus.com>
25427
25428	* configure.in: Add soft-float for proelf.
25429
25430Mon Mar 27 12:07:56 1995  Steve Chamberlain  <sac@bang.hack.com>
25431
25432	* libc/stdlib/mprec.h (Bcopy): Copy the right number
25433	of bytes.
25434
25435Mon Mar 27 11:24:22 1995  Doug Evans  <dje@chestnut.cygnus.com>
25436
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.
25446
25447Mon Mar 20 16:57:39 1995  Doug Evans  <dje@deneb.cygnus.com>
25448
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.
25454
25455Fri Mar 10 11:30:38 1995  Ian Lance Taylor  <ian@cygnus.com>
25456
25457	* configure.in (i[345]86-*-go32): Compile with -DNO_EXEC.
25458
25459Mon Feb 27 18:00:39 1995  Jim Wilson  <wilson@chestnut.cygnus.com>
25460
25461	* libc/machine/h8500/psi.S (EXTPSIHI_RN_SN): Ifdef out.
25462
25463Mon Feb 13 16:10:03 1995  Ian Lance Taylor  <ian@cygnus.com>
25464
25465	* libc/include/regdef.h: New file.
25466	* libc/machine/mips/machine/regdef.h: New file.
25467
25468Mon Feb  6 15:24:29 1995  Doug Evans  <dje@canuck.cygnus.com>
25469
25470	* libc/sys/sparc64/sys/fcntl.h (open): Add ellipsis.
25471
25472Fri Jan 27 13:52:10 1995  Steve Chamberlain  <sac@splat>
25473
25474	* libc/sys/sh/crt0.S: Pass main's return to exit.
25475	* libc/sys/sh/trap.S: Put errno in the right place.
25476
25477Tue Jan 24 18:57:56 1995  Ian Lance Taylor  <ian@sanguine.cygnus.com>
25478
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.
25486
25487Sun Jan 22 21:26:14 1995  Steve Chamberlain  <sac@splat>
25488
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.
25493
25494Fri Jan 20 18:33:18 1995  Ian Lance Taylor  <ian@sanguine.cygnus.com>
25495
25496	* configure.in: Add many entries to multidirs for mips targets.
25497
25498Wed Jan 18 10:19:25 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
25499
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
25502	  the actual answer.
25503	* libm/math/ef_jn.c (__ieee754_ynf): Likewise.
25504
25505Sun Jan 15 21:48:58 1995  Steve Chamberlain  <sac@splat>
25506
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.
25513
25514Wed Jan 11 15:59:01 1995  Ian Lance Taylor  <ian@sanguine.cygnus.com>
25515
25516	* libc/sys/Makefile.in (lib.a, crt0.o): Depend upon subs.
25517
25518Tue Jan  3 15:57:03 1995  Rob Savoye  <rob@darkstar.cygnus.com>
25519
25520	* Makefile.in, configure.in: Remove any references to the old
25521	"stub" dir.
25522
25523Thu Dec 22 10:42:08 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
25524
25525	* libc/syscalls/sysopen.c: Write _HAVE_STDC version of open, which
25526	uses ... in prototype.
25527
25528
25529Wed Nov 30 08:39:42 1994  Ian Lance Taylor  <ian@rtl.cygnus.com>
25530
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.
25537
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.
25545
25546Wed Nov 23 22:39:28 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
25547
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.
25551
25552Wed Nov 16 18:21:45 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
25553
25554	* configure.in: Configure big and little endian versions for MIPS
25555	targets.
25556
25557Sat Nov 12 21:12:51 1994  Doug Evans  <dje@canuck.cygnus.com>
25558
25559	* libc/include/limits.h: Deleted.
25560	* libc/include/machine/limits.h: Deleted.
25561
25562Thu Nov 10 15:32:44 1994  Rob Savoye  <rob@rtl.cygnus.com>
25563
25564	* ChangeLog: Remove stub directory. This has all been rewritten
25565	and moved to devo/libgloss.
25566
25567Thu Sep 29 18:31:04 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
25568
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.
25578
25579Mon Sep 26 21:17:46 1994  Doug Evans  (dje@canuck.cygnus.com)
25580
25581	* Makefile.in (VERSION): Define.  For net newlib releases.
25582
25583Thu Sep 22 19:01:26 1994  Doug Evans  (dje@canuck.cygnus.com)
25584
25585	* README: New file.
25586
25587Mon Sep 19 16:35:23 1994  Jim Wilson  (wilson@sphagnum.cygnus.com)
25588
25589	* libc/stdlib/ecvtbuf.c (_gcvt): Undo last change.
25590
25591Mon Sep 19 11:44:23 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
25592
25593	* libc/stdlib/setenv.c (_findenv): Declare.
25594
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.
25610
25611Thu Sep  8 16:39:12 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
25612
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.
25622
25623Sun Sep  4 17:42:43 1994  Jim Wilson  (wilson@sphagnum.cygnus.com)
25624
25625	* libc/stdlib/ecvtbuf.c (_gcvt): Output '-' for negative numbers.
25626
25627Fri Sep  2 10:56:01 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
25628
25629	* libc/include/_ansi.h (_PARAMS): Don't define if already defined.
25630
25631Wed Aug 24 11:11:03 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
25632
25633	* configure.in: Change i[34]86 to i[345]86.
25634
25635	* libc/include/math.h: Don't define HUGE_VAL if it is already
25636	defined.
25637
25638Wed Aug 17 15:18:02 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
25639
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.
25644
25645Tue Aug 16 16:12:53 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
25646
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.
25653
25654Thu Aug 11 15:16:09 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
25655
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.
25672	(.c.o): New rule.
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.
25689
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.
25693
25694Tue Aug  9 13:43:23 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
25695
25696	* bcopy.c: fixed documentation, bcopy was not specified by ANSI.
25697
25698Wed Aug  3 05:39:41 1994  D. V. Henkel-Wallace  (gumby@cygnus.com)
25699
25700	* libc/include/sys/reent.h: (struct _Bigint): add _reclaim
25701	structure.
25702	(struct _reent): add _p5s, _cvtlen, _cvtbuf.
25703	(_reclaim_reent): declare new entry point.
25704	* libc/reent/reent.c (cleanup_glue, _reclaim_reent): new
25705	functions.
25706
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.
25710
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).
25717
25718	* libc/stdlib/dtoastub.c: remove spurious inclusion of mprec.h.
25719
25720Mon Aug  1 16:52:24 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
25721
25722	* libc/include/machine/ieeefp.h: Check _AM29K, not ___AM29K__.
25723
25724Thu Jul 28 15:40:21 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
25725
25726	* Makefile.in: Make link to libg.a after libc.a; this is needed
25727	  for the testsuites to build executables when everything comes
25728	  from the tree.
25729
25730Mon Jun 27 17:14:29 1994  Bill Cox  (bill@rtl.cygnus.com)
25731
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.
25734
25735Wed Jun 22 10:26:00 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
25736
25737	* libc/include/stdio.h: Use __VALIST, not va_list.
25738
25739Tue May 17 15:43:28 1994  Bill Cox  (bill@rtl.cygnus.com)
25740
25741	* testsuite/config/unix-libm.exp, testsuite/lib/libm.exp,
25742	testsuite/libm.sac/execute.exp:
25743	  Replace error proc calls with perror calls.
25744
25745Wed May 11 09:25:28 1994  Doug Evans  (dje@canuck.cygnus.com)
25746
25747	* libc/include/*.h: #include "_ansi.h" instead of <_ansi.h>.
25748	* libc/include/time.h: #define NULL as 0L.
25749
25750Mon May  9 18:41:20 1994  Doug Evans  (dje@canuck.cygnus.com)
25751
25752	* host/any (INCLUDES): Delete -I of gcc/include, gcc -B takes
25753	care of it.
25754
25755Mon May  9 18:39:39 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
25756
25757	* libc/include/sys/signal.h: Check for __GO32__, not __i386__ and
25758	not __unix__.
25759
25760Sat May  7 17:07:36 1994  Steve Chamberlain  (sac@cygnus.com)
25761
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.
25767
25768Thu May  5 13:47:48 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
25769
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.
25774
25775	All Makefile.in files: Added mostlyclean, realclean and distclean
25776	targets.
25777
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.
25781
25782Tue Apr 26 15:10:34 1994  Doug Evans  (dje@canuck.cygnus.com)
25783
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.
25787
25788Fri Apr 22 12:58:24 1994  Stan Shebs  (shebs@andros.cygnus.com)
25789
25790	* stub/ex93x/crt0.s (start): Add code to clear bss.
25791
25792Wed Apr 13 10:34:58 1994  Doug Evans  (dje@canuck.cygnus.com)
25793
25794	* libc/include/sys/types.h (time_t): Properly protect inside
25795	#ifndef __time_t_defined.
25796
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.
25802
25803Mon Apr 11 17:37:09 1994  Bill Cox  (bill@rtl.cygnus.com)
25804
25805	* testsuite/Makefile.in (EXPECT, RUNTEST): Set these for the check
25806	goal.
25807
25808	* testsuite/Makefile.in (check): Set TCL_LIBRARY for runtest.
25809	* testsuite/libm.paranoia/Makefile.in (check): Set TCL_LIBRARY for
25810	runtest.
25811	* testsuite/libm.sac/Makefile.in (check): Set TCL_LIBRARY for
25812	runtest.
25813
25814Sat Apr  9 16:18:09 1994  Doug Evans  (dje@cygnus.com)
25815
25816	* libc/sys/sparc64/sys/fcntl.h: New file, define solaris versions
25817	of the various constants.
25818
25819Thu Apr  7 21:19:07 1994  Mark Eichin  (eichin@cygnus.com)
25820
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.
25824
25825Thu Apr  7 02:50:43 1994  Doug Evans  (dje@cygnus.com)
25826
25827	* libc/include/_syslist.h (_gettimeofday): Define.
25828	(_times): Ditto.
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.
25858
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.
25862
25863Mon Mar 21 16:51:03 1994  Doug Evans  (dje@canuck.cygnus.com)
25864
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
25871	even if obsolete.
25872
25873Sun Mar 20 15:51:47 1994  Doug Evans  (dje@cygnus.com)
25874
25875	* configure.in (target_cflags): Move init.
25876	(sparc64-*-*): Define HAVE_BLKSIZE.
25877
25878Wed Mar  9 10:44:52 1994  Doug Evans  (dje@canuck.cygnus.com)
25879
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.
25884	Sort syscalls.
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.
25895
25896Mon Mar  7 14:40:08 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
25897
25898	* configure.in: Remove extraneous echo.
25899
25900Thu Mar  3 12:14:22 1994  Doug Evans  (dje@canuck.cygnus.com)
25901
25902	* libc/sys/sparc64/sys/dirent.h (MAXNAMLEN): #undef to avoid
25903	collision with unistd.h, and fix for svr4.
25904
25905Wed Mar  2 13:55:25 1994  Doug Evans  (dje@canuck.cygnus.com)
25906
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.
25910	(_llicvt): Define.
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.
25915
25916Fri Feb 11 21:52:11 1994  Steve Chamberlain  (sac@sphagnum.cygnus.com)
25917
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.
25926
25927Wed Feb  9 15:12:35 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
25928
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:
25934	New files.
25935
25936	* libc/include/stdio.h (_iprintf_r): Declare correctly.
25937
25938Thu Jan 27 10:36:27 1994  Steve Chamberlain  (sac@cygnus.com)
25939
25940	* libc/stdlib/callocr.c: New file with _calloc_r in it.
25941	* libc/stdlib/calloc.c (calloc_r): Now in callocr.c
25942
25943Thu Jan 20 15:14:37 1994  Doug Evans  (dje@canuck.cygnus.com)
25944
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
25948	trailing blanks.
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).
25952
25953Wed Jan 19 16:34:18 1994  Rob Savoye  (rob@darkstar.cygnus.com)
25954
25955	* stub/shared/m68k-crt0.S: Changed so it compiles (and runs) on a
25956	stock m68000.
25957
25958Mon Jan 17 15:41:53 1994  Doug Evans  (dje@canuck.cygnus.com)
25959
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
25962	longs.
25963
25964Thu Jan  6 14:53:21 1994  Doug Evans  (dje@canuck.cygnus.com)
25965
25966	* libc/sys/sparc64/{time2.c,utime.S,utime2.c}: New files.
25967
25968Sat Dec 11 16:17:20 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
25969
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
25978	get play area
25979	* libc/stdlib/mprec.h: Define Just_16 if generating for z8000.
25980
25981Mon Dec  6 15:59:53 1993  Doug Evans  (dje@rtl.cygnus.com)
25982
25983	* libc/include/assert.h (assert): Handle -traditional.
25984
25985Tue Nov 16 15:49:24 1993  Mark Eichin  (eichin@cygnus.com)
25986
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.
25990
25991Tue Nov 16 12:31:57 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
25992
25993	* libc/sys/go32/lstat.s: new file, copied from stat.s and renamed
25994	stat to lstat
25995
25996Mon Nov 15 15:50:43 1993  Steve Chamberlain  (sac@jonny.cygnus.com)
25997
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.
26001
26002Mon Nov 15 15:25:38 1993  Mark Eichin  (eichin@cygnus.com)
26003
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
26006	param of access.
26007
26008Fri Nov 12 20:25:28 1993  Mark Eichin  (eichin@cygnus.com)
26009
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.
26016
26017Mon Nov  8 07:50:16 1993  Doug Evans  (dje@canuck.cygnus.com)
26018
26019	* configure.in: Remove h8300h, we have multilib now.
26020
26021Fri Nov  5 12:37:27 1993  Mark Eichin  (eichin@cygnus.com)
26022
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,
26027	strcasecmp.
26028
26029Fri Nov  5 09:05:45 1993  D. V. Henkel-Wallace  (gumby@blues.cygnus.com)
26030
26031	* Change netware config not to look for cpu explicitly.
26032
26033Thu Nov  4 14:21:25 1993  Doug Evans  (dje@canuck.cygnus.com)
26034
26035	* libc/sys/sparc64/{creat.c,junk.c}: New files.
26036	* libc/sys/sparc64/Makefile.in: Add dependencies.
26037
26038Wed Nov  3 10:42:49 1993  Doug Evans  (dje@canuck.cygnus.com)
26039
26040	* configure.in: Clean up v9 a bit, new "os" aoutv8.
26041
26042Tue Nov  2 10:00:44 1993  D. V. Henkel-Wallace  (gumby@cygnus.com)
26043
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
26049
26050	* libc/time/localtime.c: don't return a dangling stack ptr.
26051
26052Wed Sep 29 20:42:34 1993  Rob Savoye  (rob@darkstar.cygnus.com)
26053
26054	* stub/mvme135/crt0.S, stub/mvme135/glue.c: Moved to stub/generic.
26055
26056Wed Sep 29 16:27:49 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
26057
26058	* libc/include/stdio.h (__sputc): comment out static inline which
26059	  confuses coff toolchains.
26060
26061Thu Sep  2 16:31:36 1993  Mark Eichin  (eichin@cygnus.com)
26062
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.
26067
26068Fri Oct 29 13:59:58 1993  Jeffrey Wheat  (cassidy@cygnus.com)
26069
26070	* configure.in: fixed double quote gotcha.
26071
26072Wed Oct 27 15:27:09 1993  Rob Savoye  (rob@darkstar.cygnus.com)
26073
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.
26079
26080Tue Oct 26 17:01:23 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
26081
26082	* configure.in: Configure testsuites only if they exist.
26083
26084Tue Oct 26 12:37:11 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
26085
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.
26090
26091	* libc/sys/netware: New directory.  Contains simplistic and
26092	probably incorrect stubs for NetWare.  Should be enough to load
26093	the library.
26094	* libc/sys/netware/crt0.c, libc/sys/netware/environ.c,
26095	libc/sys/netware/getpid.c, libc/sys/netware/link.c: New NetWare
26096	stub files.
26097
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.
26102
26103Mon Oct 25 16:48:08 1993  Roland H. Pesch  (pesch@cygnus.com)
26104
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.)
26109
26110Fri Oct 22 20:37:32 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
26111
26112	* configure.in: handle mips* instead of mips
26113
26114Thu Oct 21 08:57:24 1993  Ian Lance Taylor  (ian@cygnus.com)
26115
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.
26119
26120Fri Oct 15 14:17:40 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
26121
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
26126	middle.
26127	* lib/stdlib/strtol.c (_strtol_r): Determine overflow correctly.
26128
26129Thu Oct 14 21:49:52 1993  Doug Evans  (dje@canuck.cygnus.com)
26130
26131	* libc/machine/h8300/divsi3.S (divmodsi4): Fix h8300h case.
26132
26133Fri Oct  1 17:17:34 1993  Doug Evans  (dje@canuck.cygnus.com)
26134
26135	* Makefile.in (INSTALL): Use $srcrootpre.
26136	(crt0.o): Replace $< with $(CRT0_DIR)/$(CRT0), Sun make
26137	can't handle it.
26138	* libc/Makefile.in (crt0.o): Spell out $<, Sun make can't handle
26139	it.
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.
26144
26145Thu Sep 30 11:09:17 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
26146
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.
26153
26154Mon Sep 20 14:04:46 1993  Doug Evans  (dje@canuck.cygnus.com)
26155
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.
26162
26163Mon Sep 20 10:38:32 1993  Doug Evans  (dje@canuck.cygnus.com)
26164
26165	* libc/sys/sparc64/{template.S template_r.S}: New files.
26166	* libc/sys/sparc64/Makefile.in: Build source for trivial syscalls
26167	from templates.
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
26171	templates.
26172
26173Sun Sep 19 14:52:57 1993  Doug Evans  (dje@canuck.cygnus.com)
26174
26175	* libc/time/time.c: #include <_ansi.h>.
26176
26177Sun Sep 19 13:43:25 1993  Doug Evans  (dje@canuck.cygnus.com)
26178
26179	* configure.in (sparc64-*-*): Remove -D__SIZE_TYPE__.
26180
26181Mon Sep 13 13:52:16 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
26182
26183	* configure.in: match m8* rather than m88k so that m88110 is
26184	  recognized as well.
26185
26186Tue Sep  7 12:19:32 1993  Doug Evans  (dje@canuck.cygnus.com)
26187
26188	* libc/sys/h8300hms/{Makefile.in, _exit.c, misc.c}:
26189	Renamed exit.c to _exit.c to avoid collision with stdlib/exit.c.
26190	misc.c: New file.
26191
26192	* configure.in: Add multilib support to h8300.
26193
26194Mon Sep  6 14:07:06 1993  Doug Evans  (dje@canuck.cygnus.com)
26195
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.
26199
26200Mon Sep  6 14:24:18 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
26201
26202	* configure.in: Corrected multidirs for sparc target.
26203
26204Mon Aug 30 15:56:44 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
26205
26206	Support for building newlib multiple times with different
26207	compilation flags.
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
26219	${srcrootpre}.
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.
26224
26225Mon Aug 30 10:34:24 1993  Doug Evans  (dje@canuck.cygnus.com)
26226
26227	* libc/machine/h8300/{mulhi3.S, divhi3.S}: Comment out if h8300h.
26228	* libc/machine/h8300/{mulsi3.S, divsi3.S}: Add h8300h support.
26229
26230Thu Aug 26 19:38:12 1993  Doug Evans  (dje@canuck.cygnus.com)
26231
26232	* libc/sys/h8300hms/exit.c (_exit): New function.
26233
26234Wed Aug 25 16:31:48 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
26235
26236	* configure.in: recognize m88110.
26237
26238Fri Aug 20 16:46:23 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
26239
26240	* libc/sys/m88kbug/crt0.c: pretty up, remove extraneous comments,
26241	  prototype main and call with args.
26242
26243Fri Jul 30 16:52:47 1993  K. Richard Pixley  (rich@cygnus.com)
26244
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.
26249
26250Tue Jul 27 16:31:16 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
26251
26252	Patches to fix info building when target does not use sys
26253	directory.
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
26256	  libc/sys.tex.
26257	* libc/sys/Makefile.in (doc): do nothing.
26258
26259Mon Jul 26 17:08:11 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
26260
26261	* libc/Makefile.in (CRT0): new macro.
26262	  (all): depend on $(CRT0) rather than crt0.o.
26263
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.
26267
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
26271	  $(CRT0).
26272	  ($(CRT0)): recur by cd'ing into $(CRT0_DIR).
26273
26274Sun Jul 25 17:51:51 MDT 1993  Jeffrey Wheat  (cassidy@cygnus.com)
26275
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.
26280
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.
26284
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.
26288
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.
26292
26293Fri Jul 23 19:20:07 1993  Per Bothner  (bothner@kalessin)
26294
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
26301	redefinition.
26302	* libc/include/stdio.h (getlogin, cuserid):  Removed.  These
26303	should be only in unistd.h.
26304
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 {
26307	... }.
26308
26309Fri Jul 23 10:15:33 1993  Doug Evans  (dje@canuck.cygnus.com)
26310
26311	* libc/machine/sparc/Makefile.in: Must create a library, even
26312	if empty.
26313
26314Wed Jul 21 16:00:37 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
26315
26316	* configure.in: set machine_dir for m88k.  edit crt0 definition
26317	  into makefiles.
26318
26319	* Makefile.in, libc/Makefile.in (crt0): pull up from lower directories.
26320
26321	* libc/Makefile.in (all): also build crt0.o.
26322
26323	* libc/machine/i386/Makefile.in, libc/machine/sparc/Makefile.in,
26324	  libc/machine/z8k/Makefile.in, libm/Makefile.in (clean): no need
26325	  to remove CRT0.
26326
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.
26331
26332	* libc/sys/m88kbug/crt0.c (start): renamed to _start.
26333	  (_start): key off edata rather than _start_bss.
26334
26335Wed Jul 21 14:29:47 1993  david d `zoo' zuhn  (zoo@cygnus.com)
26336
26337	* libc/include/sys/unistd.h, libc/include/reent.h,
26338	libc/reent/sbrkr.c: change sbrk to return void* instead of char*.
26339
26340Tue Jul 20 13:19:18 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
26341
26342	* libm/Makefile.in, libc/Makefile.in ($(SUBDIRS)): dollar escape a dollar sign.
26343
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
26346	  library.
26347	  (libm.a): break into two rules, one for libm.a and one for
26348	  libm/libm.a.  Force subdirs current before rebuilding library.
26349
26350	* libc/Makefile.in (SUBLIBS): fix typo.
26351
26352	* libc/sys/Makefile.in (all): force descent into subdirs, then
26353	  rebuild library iff out of of date.
26354
26355Fri Jul 16 17:47:57 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
26356
26357	Rework so that library is built and then finished rather than
26358	being built on each invocation of make.
26359
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
26366	  configuration.
26367	  (configdirs): drop stub.  It will be added only
26368	  when needed.
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.
26378	  (all): reworked.
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
26396	  RANLIB.
26397	  (all): reworked.
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
26402	  makefiles.
26403	* Makefile, libc/Makefile.in, doc/Makefile.in, libc/sys/Makefile.in:
26404	  updated copyright.
26405	  (all): reworked.
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,
26409	  TARGETCRT0.
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
26416	  removed.
26417	  (clean): assume sys_dir always exists.
26418	* libm/test/Makefile.in (Makefile): call $(SHELL) rather than sh.
26419	  drop redundant ./
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.
26434	  (all): reworked.
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):
26438	  new macros.
26439	  (SUBDIRS): moved to follow frag inclusion, change stub to
26440	  stub_dir.
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,
26445	  TARGETCRT0.
26446	  (force): new target to force rebuilds.
26447	* stub/configure.in: determine and set stub_lib for for Makefile.
26448
26449Thu Jul 15 12:01:27 1993  Doug Evans  (dje@canuck.cygnus.com)
26450
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.
26454
26455	* libc/machine/h8300/Makefile.in: Make `all' the default target.
26456	* libc/machine/h8300/{cmpsi.S,ucmpsi.S}: #ifdef out entire file if
26457	h8300h.
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.
26462
26463Thu Jul 15 10:13:29 1993  Ian Lance Taylor  (ian@cygnus.com)
26464
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.
26468
26469Wed Jul 14 10:10:30 1993  Doug Evans  (dje@canuck.cygnus.com)
26470
26471	* configure.in: Recognize h8300h as variant of h8300.
26472
26473Tue Jul 13 12:24:11 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
26474
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.
26480
26481Mon Jul 12 18:08:42 1993  K. Richard Pixley  (rich@cygnus.com)
26482
26483	* configure.in: add sys_dir assignment for m88k-bug.
26484
26485Thu Jul  8 09:16:21 1993  Doug Evans  (dje@canuck.cygnus.com)
26486
26487	* libc/sys/sparc64/sys/syscallasm.h: New macros to handle either
26488	a.out or elf.
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.
26493
26494Thu Jul  8 09:11:28 1993  Doug Evans  (dje@canuck.cygnus.com)
26495
26496	* libc/include/sys/stat.h: Move st_atime so not doubly defined for
26497	svr4.
26498
26499Thu Jul  8 09:09:16 1993  Doug Evans  (dje@canuck.cygnus.com)
26500
26501	* libc/include/machine/ieeefp.h: Add support for h8/300h.
26502
26503Fri Jul  2 10:11:20 1993  K. Richard Pixley  (rich@cygnus.com)
26504
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
26508	this.
26509
26510	* libm/math/Makefile.in (FAKEC): added atanf.c log1pf.c scalbnf.c.
26511
26512Fri Jul  2 09:15:21 1993  Ian Lance Taylor  (ian@cygnus.com)
26513
26514	* doc/makedoc.c: Include <ctype.h>.
26515
26516Wed Jun 30 09:35:06 1993  Doug Evans  (dje@canuck.cygnus.com)
26517
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.
26521
26522	* libm/test/Makefile.in (all): Link with ../../lib[cm].a.
26523
26524Sun Jun 27 17:05:20 1993  Doug Evans  (dje@sphagnum.cygnus.com)
26525
26526	* libc/include/errno.h (ENOSYS): Added.
26527
26528	* libc/unix/getpwd.c (getcwd): Fix typo (_up -> up).
26529
26530Mon Jun 21 09:03:32 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
26531
26532	* libc/stdio/fflush.c (fflush): Check for reent struct
26533	initialization.
26534	* libc/stdio/fdopen.c (fdopen): Avoid namespace conflict.
26535
26536Fri Jun 18 16:06:05 1993  Mark Eichin  (eichin@rtl.cygnus.com)
26537
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
26548	calls.
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.
26556
26557Wed Jun  9 09:48:26 1993  Ian Lance Taylor  (ian@cygnus.com)
26558
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.
26561
26562Thu Jun  3 10:01:15 1993  Doug Evans  (dje@canuck.cygnus.com)
26563
26564	* libc/include/math.h: Rename xxx_r fns to _xxx_r.
26565
26566Wed Jun  2 16:54:16 1993  Jim Wilson  (wilson@sphagnum.cygnus.com)
26567
26568	* libc/include/sys/stat.h: Surround text after #endif with
26569	comments.
26570
26571Wed Jun  2 12:47:32 1993  Ian Lance Taylor  (ian@cygnus.com)
26572
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.
26576
26577	* libm/math/modf.c (modf): We now take the address of ipart, so
26578	don't make it a register variable.
26579
26580Tue Jun  1 18:25:54 1993  Doug Evans  (dje@canuck.cygnus.com)
26581
26582	* libm/math/*: Rename all xxx_r fns to _xxx_r.
26583
26584Wed May 26 22:06:35 1993  Roland H. Pesch  (pesch@cygnus.com)
26585
26586	* libc/libc.texinfo and embedded docn throughout: formatting
26587	improvements, minor rephrasing for clarity, and improved
26588	reentrancy docn.
26589
26590Sun May 23 17:29:49 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
26591
26592	* libm/ieeefp/infinity.c (maxpowtwof): Fix initialzation bug.
26593
26594	* libc/stdio/cvt.c (_licvt): Print the right value on machines
26595	where sizeof(int) != sizeof(long).
26596
26597Fri May 21 22:09:32 1993  Roland H. Pesch  (pesch@fowanton.cygnus.com)
26598
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).
26604
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).
26613
26614	* doc/doc.str: delete fossil expansion for "func"
26615
26616	* default.menu, no-signal.menu: delete.
26617
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.
26621
26622Thu May 20 21:38:37 MDT 1993  Jeffrey Wheat  (cassidy@cygnus.com)
26623
26624	* configure.in: added testsuite/libm.sac
26625
26626Wed May 19 14:52:34 1993  Doug Evans  (dje@thepub.cygnus.com)
26627
26628	* libc/sys/sparc64/crt0.S: Set %g4 to 0 (to test Medium/Anywhere
26629	code model).
26630
26631Tue May 18 13:17:21 1993  Ian Lance Taylor  (ian@cygnus.com)
26632
26633	* libm/Makefile.in: Use $(MAKE) rather than make, and define
26634	MAKEOVERRIDES to be empty.
26635
26636Mon May 17 08:42:44 1993  Ian Lance Taylor  (ian@cygnus.com)
26637
26638	* configure.in: Don't build mips-*-* with -msoft-float, since that
26639	makes it incompatible with hard floating point.
26640
26641Mon May 17 00:03:35 MDT 1993  Jeffrey Wheat  (cassidy@cygnus.com)
26642
26643	* Makefile.in: added recursive 'make check'
26644
26645Thu May 13 16:24:18 MDT 1993  Jeffrey Wheat  (cassidy@cygnus.com)
26646
26647	* configure.in: added ./testsuite ./testsuite/libm.paranoia
26648	* ./testsuite/Makefile.in: created
26649	* ./testsuite/libm.paranoia: paranoia tests added
26650
26651Thu May 13 10:30:24 1993  Ian Lance Taylor  (ian@cygnus.com)
26652
26653	* configure.in: For mips-*-* set machine_dir to mips.
26654
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.
26660
26661	* libc/machine/lmips: Removed unused and useless directory.
26662
26663Mon May  3 10:22:31 1993  Ian Lance Taylor  (ian@cygnus.com)
26664
26665	* configure.in: Accept i486-*-sco* as well as i386-*-sco*.
26666
26667Thu Apr 15 15:16:44 1993  Doug Evans  (dje@canuck.cygnus.com)
26668
26669	* libc/sys/sparc64/crt0.S: Add comment (%g1 contains atexit arg at
26670	start up).
26671
26672Fri Apr  9 13:32:26 1993  Ian Lance Taylor  (ian@cygnus.com)
26673
26674	* libc/include/machine/setjmp-dj.h: Use _SETJMP_DJ_H rather than
26675	SETJMP_H.
26676
26677Thu Apr  8 10:07:18 1993  Doug Evans  (dje@canuck.cygnus.com)
26678
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.
26686
26687Thu Apr  8 07:56:33 1993  Ian Lance Taylor  (ian@cygnus.com)
26688
26689	* libc/stdio/Makefile.in: Added dependencies on local header
26690	files.
26691	* libc/stdio/std.h, libc/stdio/vfprintf.h: Removed unused header
26692	files.
26693
26694Wed Apr  7 16:19:32 1993  Ian Lance Taylor  (ian@cygnus.com)
26695
26696	* libc/include/machine/ieeefp.h: Added __MIPSEB__ case.
26697
26698Wed Apr  7 10:55:21 1993  Doug Evans  (dje@canuck.cygnus.com)
26699
26700	* libc/stdio/siprintf.c libc/stdio/sscanf.c libc/stdio/vsprintf.c:
26701	Initialize _data.
26702
26703	* libc/stdio/vfprintf.c: No need to declare _icvt, _licvt, _sicvt.
26704	* libc/stdio/local.h: Add prototype for _licvt.
26705
26706	* libc/stdio/ungetc.c (__submore): Use _malloc_r,_realloc_r
26707	instead of malloc,reealloc.
26708
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.
26713
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.
26717
26718	* libc/stdlib/atexit.c: moved global data to struct _reent.
26719	* libc/stdlib/exit.c: use struct _atexit in struct _reent.
26720
26721	* libc/reent/reent.c (inpure_data): _REENT_INIT macro modified.
26722
26723Wed Apr  7 09:41:50 1993  Doug Evans  (dje@canuck.cygnus.com)
26724
26725	* libc/include/sys/reent.h: Stuff required by ANSI headers moved
26726	here from ../reent.h.
26727
26728Tue Apr  6 12:56:01 1993  Ian Lance Taylor  (ian@cygnus.com)
26729
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.
26736
26737Mon Apr  5 10:18:16 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
26738
26739	* libm/ieeefp/infinity.c (maxpowtwo): Fix initialization bug.
26740
26741Sat Apr  3 11:06:07 1993  Doug Evans  (dje@canuck.cygnus.com)
26742
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.
26752
26753Fri Apr  2 11:27:12 1993  Doug Evans  (dje@canuck.cygnus.com)
26754
26755	* libc/include/sys/signal.h: #define _SYS_SIGNAL_H for general
26756	case.
26757
26758Fri Apr  2 09:41:10 1993  Doug Evans  (dje@canuck.cygnus.com)
26759
26760	* libc/sys/sparc64/execve.S (execve): Insert nop in delay slot,
26761	rather than whatever macro seterrno() has.
26762
26763Thu Apr  1 16:47:08 1993  Doug Evans  (dje@canuck.cygnus.com)
26764
26765	* libc/locale/locale.c: Reentrant routines _r_xxx renamed to
26766	_xxx_r.  struct reent_struct renamed to struct _reent for ANSI.
26767
26768	* libc/include/machine/fastmath.h: Use _HAVE_STDC instead of
26769	__STDC__.
26770
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.
26774
26775	* libc/signal/signal.c: Reentrant routines _r_xxx renamed to
26776	_xxx_r.  struct reent_struct renamed to struct _reent for ANSI.
26777
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.
26788
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__.
26796
26797	* libc/string/strtok.c: Reentrant routines _r_xxx renamed to
26798	_xxx_r.
26799	struct reent_struct renamed to struct _reent for ANSI.
26800	Structure members given leading "_" for ANSI.
26801
26802	* libc/time/asctime.c: Reentrant routines _r_xxx renamed to
26803	_xxx_r.
26804	struct reent_struct renamed to struct _reent for ANSI.
26805
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.
26811
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.
26822
26823	* libc/include/string.h: Add NULL and size_t.
26824
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,
26828	write.
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.
26835
26836	* libc/sys/sparc64/crt0.S (start): Fix initialization of environ.
26837
26838	* libc/include/stdlib.h (RAND_MAX): Fix value.
26839
26840Thu Apr  1 12:28:30 1993  Ian Lance Taylor  (ian@cygnus.com)
26841
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.
26845
26846	* stub/mvme135/mvme.S: Renamed exceptionhandler to
26847	exceptionHandler, which is what mvme135-stub.c expects.
26848
26849Wed Mar 31 17:42:03 1993  Doug Evans  (dje@cygnus.com)
26850
26851	* libc/stdio/tmpnam.c (worker): Fix test for _r_open() failure.
26852
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
26855	compliant).
26856
26857Tue Mar 30 09:58:21 1993  Doug Evans  (dje@canuck.cygnus.com)
26858
26859	* libc/reent/execr.c (_r_wait): Re-order args to make reent_struct
26860	first.
26861	libc/reent/filer.c (_r_open, _r_close, _r_lseek, _r_read,
26862	_r_write): Ditto.
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.
26867
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.
26880
26881	* libc/stdlib/malloc.c (_r_morecore): Re-order args to _r_sbrk.
26882	* libc/stdlib/system.c (_r_system): Ditto for _r_wait.
26883
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).
26887
26888	* stub/mvme135/mvme135-stub.c (initializeRemcomErrorFrame): Remove
26889	reference to __STDC__.
26890
26891Mon Mar 29 12:34:32 1993  Doug Evans  (dje@canuck.cygnus.com)
26892
26893	* libc/stdlib/exit.c (exit): Use _REENT->__cleanup instead of
26894	global __cleanup.
26895
26896Wed Mar 24 11:54:35 1993  Doug Evans  (dje@canuck.cygnus.com)
26897
26898	* libc/stdio/freopen.c (freopen): Ensure stdio is initialized
26899	first.
26900	libc/stdio/fclose.c (fclose): Ditto.
26901
26902Tue Mar 23 01:26:52 1993  Doug Evans  (dje@rtl.cygnus.com)
26903
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}
26914
26915	* libc/locale/locale.c: Reformat and rename for ANSI, GNU style.
26916
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}
26923
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
26929	strxfrm.c}
26930
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.
26934
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}
26939
26940Fri Mar 19 11:28:01 1993  Doug Evans  (dje@cygnus.com)
26941
26942	* libc/include/stdio.h (stdin_r): Fix.
26943
26944Fri Mar 19 09:43:48 1993  Ian Lance Taylor  (ian@cygnus.com)
26945
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).
26949
26950Tue Mar 16 15:11:08 1993  Ian Lance Taylor  (ian@cygnus.com)
26951
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).
26968
26969Mon Mar 15 08:45:41 1993  Ian Lance Taylor  (ian@cygnus.com)
26970
26971	* libc/sys/go32/gerrno.s: Renamed from errno.s to avoid conflict
26972	with errno/errno.c.
26973
26974Fri Mar 12 09:46:54 1993  Ian Lance Taylor  (ian@cygnus.com)
26975
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
26991	"local.h".
26992	libc/stdio/wbuf.c: Include "fvwrite.h"
26993
26994	* libc/stdlib/{dtoa.c, ecvtbuf.c, mprec.c, strtod.c}: Include
26995	<string.h>.
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.
27000
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
27006	functions.
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
27010	declarations.
27011	(struct reent_struct): Moved errno to beginning.  Added _signgam.
27012	libc/include/stdio.h, libc/include/stdlib.h: Added function
27013	declarations.
27014
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
27019	files.
27020
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.
27027
27028	* libc/sys/a29khif/stubs.s: Use register lr0, not v0.
27029
27030	* libc/sys/sun/Makefile.in (COPYOFILES): Don't pull in errno.o.
27031
27032Mon Mar  8 16:43:43 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
27033
27034	* libc/sys/a29khif/stubs.s: clobber safe register, and fill all
27035	delay slots.
27036
27037Tue Mar  2 14:47:00 1993  Jeffrey Osier      (jeffrey@fowanton.cygnus.com)
27038
27039	* libc/libc.texinfo:  comment out reentrancy chapter (duh)
27040
27041Tue Mar  2 14:34:16 1993  Jeffrey Osier      (jeffrey@fowanton.cygnus.com)
27042
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
27047
27048Tue Mar  2 14:34:16 1993  Jeffrey Osier      (jeffrey@fowanton.cygnus.com)
27049
27050	* libc/reent/reent.tex:  New file.  (text from
27051	newlib/libc/libc.texinfo)
27052
27053Fri Feb 26 12:20:54 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
27054
27055	support for reentrancy
27056	* libc/reent/reent.c, libc/reent/Makefile.in, libc/reent/reent.c:
27057	new files
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.
27082
27083	new routines:
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
27089
27090Wed Feb 17 20:17:15 1993  Mark Eichin  (eichin@cygnus.com)
27091
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,
27098	and sparc.
27099
27100Wed Feb 17 13:01:34 1993  Jim Wilson  (wilson@sphagnum.cygnus.com)
27101
27102	* configure.in (sparc*): Don't set -fsoft-float for sparc
27103	configurations.  Do set -fsoft-float for sparclite configurations.
27104
27105Fri Feb 12 16:25:52 1993  Roland H. Pesch  (pesch@fowanton.cygnus.com)
27106
27107	* default.menu, no-signal.menu: alternate forms of libc main menu
27108	  (in newlib rather than newlib/libc due to configuration restrictions)
27109
27110	* configure.in: select one of the two menus above, link to
27111	libc.menu
27112
27113	* libc/libc.texinfo: include menu from separate file
27114
27115Fri Feb 12 12:50:06 1993  Ian Lance Taylor  (ian@cygnus.com)
27116
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.
27127
27128Thu Feb 11 15:25:15 1993  Ian Lance Taylor  (ian@cygnus.com)
27129
27130	* Makefile.in (here and most subdirectories): Only pass down CHEW
27131	and TARGETDOC when making info, not for other targets.
27132
27133	* Makefile.in (here and most subdirectories), host/any: Use $(AR)
27134	$(AR_FLAGS) rather than $(ARUPDATE).
27135
27136Wed Feb 10 11:57:52 1993  Ian Lance Taylor  (ian@cygnus.com)
27137
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.
27143
27144Tue Feb  9 14:01:42 1993  Mark Eichin  (eichin@cygnus.com)
27145
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.)
27149
27150Fri Jan 15 12:09:50 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
27151
27152	* libc/sys/config.h, libc/machine/ieeefp.h: add Z8000 support
27153	* libc/stdio/Makefile.in: pass CFLAGS so vfiprintf.c gets built
27154	correctly.
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.
27160
27161Tue Dec 29 10:15:33 1992  Ian Lance Taylor  (ian@cygnus.com)
27162
27163	* stub/mvme135/mvme135-asm.S: new file.
27164	stub/mvme135mvme135-stub.c: moved all assembler routines into
27165	mvme135-asm.S.
27166	stub/mvme135/Makefile.in: build mvme135-stub.o.
27167
27168Mon Dec 28 12:40:43 1992  Ian Lance Taylor  (ian@cygnus.com)
27169
27170	* Makefile.in: don't pass down $(CPP); use $(CC) -E in
27171	sub-Makefiles instead, to try to avoid line length limitations.
27172
27173Mon Dec 21 18:36:13 1992  Per Bothner  (bothner@rtl.cygnus.com)
27174
27175	* libc/include/unistd.h (read, write):  Use void* instead of
27176	char*.
27177
27178Thu Dec 17 13:49:46 1992  Mark Eichin  (eichin@cygnus.com)
27179
27180	* stub/go32/resetpc: sample script to send a reset packet to the
27181	stub
27182
27183	* stub/go32/I386STUB.C: new file, gdb/i386stub.c modified for the
27184	DOS environment, which compiles with Turbo C.
27185
27186	* stub/go32/DSER32.LNK: new file, linker commands for serial
27187	remote stub.
27188
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.
27191
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.
27195
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.
27199
27200	* stub/go32/DEBUG32.LNK, stub/go32/GO32.LNK: fix paths to match
27201	default Turbo C installation (\tc rather than \usr)
27202
27203	* stub/go32/MONO.C (printf): current Turbo C uses "..." instead of
27204	"&..."
27205
27206Mon Dec 14 09:37:33 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
27207
27208	* libc/include/math.h: added _DOUBLE_IS_32BITS checks
27209
27210Thu Nov 12 22:31:04 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
27211
27212	* libc/stdio/cvt.c (licvt): new function to convert ints when
27213	sizeof(int) != sizeof(long).
27214
27215	* libc/include/stdio.h: added prototype for iprintf.
27216	* libc/include/machine/limits.h machine/ieeefp.h: z8k stuff
27217
27218Tue Nov 10 12:18:12 1992  Ian Lance Taylor  (ian@cygnus.com)
27219
27220	* libc/machine/m68k/setjmp.S: use __USER_LABEL_PREFIX__ and
27221	__REGISTER_PREFIX__.
27222
27223Mon Nov  2 13:50:14 1992  Ian Lance Taylor  (ian@cygnus.com)
27224
27225	* libc/sys/m68kbare: moved into stub directory.
27226
27227Mon Nov  2 13:40:42 1992  Ian Lance Taylor  (ian@cygnus.com)
27228
27229	* configure.in, Makefile.in: created new directory stub, to hold
27230	sample code for specific targets.
27231
27232Wed Oct 28 02:19:55 1992  Mark Eichin  (eichin@cygnus.com)
27233
27234	* restored libc/sys/go32/sys/fcntl.h, to override incorrect values
27235	in the unified libc/include/sys/fcntl.h.
27236
27237Wed Oct 21 13:55:58 1992  Doug Evans  (dje@rtl.cygnus.com)
27238
27239	* libc/stdlib/ecvtbuf.c: (print_f,_gcvt): printf("%f", 0.01)
27240	printed .01, not 0.01.
27241
27242Mon Oct 19 11:05:55 1992  Ian Lance Taylor  (ian@cygnus.com)
27243
27244	* configure.in: compile with -m68000 for m68* targets.
27245
27246Sun Oct 18 05:29:05 1992  Mark Eichin  (eichin@cygnus.com)
27247
27248	* libm/math/remainder.c (remainder): document the svr4 and sunos
27249	references used to construct the function.
27250
27251Sat Oct 17 21:46:16 1992  Mark Eichin  (eichin@cygnus.com)
27252
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
27256	page.)
27257
27258Thu Oct 15 07:48:05 1992  Ian Lance Taylor  (ian@cygnus.com)
27259
27260	* libc/string/bcopy.c: BSD version works on overlapping strings,
27261	so ours should too.
27262
27263	* libc/stdlib/system.c: always invoke /bin/sh, not getenv
27264	("SHELL").
27265
27266Wed Oct 14 11:07:11 1992  Ian Lance Taylor  (ian@cygnus.com)
27267
27268	* Makefile.in (docs): new target.
27269
27270Wed Oct 14 07:44:25 1992  Ian Lance Taylor  (ian@cygnus.com)
27271
27272	* libc/include/sys/times.h: define clock_t as required by POSIX.
27273	libc/include/time.h: protect clock_t from multiple definitions.
27274
27275Wed Oct  7 11:02:21 1992  Mark Eichin  (eichin at tweedledumber.cygnus.com)
27276
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
27281	can.)
27282
27283Tue Oct  6 09:22:12 1992  Ian Lance Taylor  (ian@cygnus.com)
27284
27285	* libc/sys/vxworks68, libc/sys/vxworks960: removed, since they
27286	were doing nothing useful.
27287
27288Tue Oct  6 08:48:13 1992  Ian Lance Taylor  (ian@cygnus.com)
27289
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.
27294
27295	* libc/stdlib/malloc.c: only compile this file if MALLOC_PROVIDED
27296	is not defined; this provides a hook for VxWorks.
27297
27298Mon Oct  5 03:44:57 1992  Mark Eichin  (eichin at tweedledumber.cygnus.com)
27299
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.
27303
27304Fri Oct  2 13:12:07 1992  Ian Lance Taylor  (ian@cygnus.com)
27305
27306	* libc/sys/a29khif/Makefile.in: assemble Steve's list of stubs so
27307	that C programs can call functions without using initial
27308	underscores.
27309
27310Thu Oct  1 09:37:47 1992  Ian Lance Taylor  (ian@cygnus.com)
27311
27312	* libc/stdlib/abort.c (abort): call exit, in case kill returns.
27313
27314Wed Sep 30 08:22:18 1992  Ian Lance Taylor  (ian@cygnus.com)
27315
27316	* configure.in: set TARGET_CFLAGS for certain CPU types to
27317	-msoft-float.
27318
27319Tue Sep 29 21:09:32 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
27320
27321	* libc/sys/m68kbare/glue.c: use <_ansi.h> instead of <ansidecl.h>
27322
27323Mon Sep 28 14:58:44 1992  Ian Lance Taylor  (ian@cygnus.com)
27324
27325	* configure.in: added sys_dir m68kbare for m68k*-unknown-aout and
27326	m68k*-unknown-coff.
27327
27328Fri Sep 25 08:33:21 1992  Ian Lance Taylor  (ian@cygnus.com)
27329
27330	* libc/include/stdio.h: define __need___va_list before including
27331	<stdarg.h>, to avoid defining va_arg, et. al.
27332
27333Tue Sep 22 13:47:00 1992  Ian Lance Taylor  (ian@cygnus.com)
27334
27335	* libc/sys/Makefile.in: handle the case of an empty $(sys_dir)
27336	(don't cd to the user's home directory).
27337
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
27341	way.
27342
27343Tue Sep 22 10:12:44 1992  Ian Lance Taylor  (ian@cygnus.com)
27344
27345	* configure.in: always configure the libc/sys directory, since it
27346	now provides a required documentation file.
27347
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.
27351
27352Mon Sep 21 22:42:26 1992  Ian Lance Taylor  (ian@tweedledumbest.cygnus.com)
27353
27354	* libc/stdlib/ecvtbuf.c (_gcvt): string for 0 was not null
27355	terminated.
27356
27357	* libc/stdio/local.h: include <stdarg.h> to define va_list.
27358	libc/stdio/vsprintf.c: include <stdarg.h> rather than <varargs.h>.
27359
27360	* libc/include/float.h, libc/include/stdarg.h,
27361	libc/include/stddef.h, libc/include/varargs.h: removed; use gcc
27362	versions instead.
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
27365	NULL.
27366	libc/include/time.h: get size_t from stddef.h.  Protect definition
27367	of NULL.
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
27373	instead.
27374	libc/include/machine/varargs.h: removed; use gcc version instead.
27375	libc/include/sys/types.h: explicitly include <machine/types.h>.
27376
27377	* libm/math/sqrt.h: using the fp-bit routines appears to require
27378	more iterations.
27379
27380	* Makefile.in, host/any: let system include files override machine
27381	include files.
27382
27383Sat Sep 19 21:10:06 1992  Mark Eichin  (eichin at tweedledumber.cygnus.com)
27384
27385	* libc/include/machine/types.h: allow __*_TYPE__ from cpp to
27386	override _*_T_ definitions defaulted here.
27387
27388Tue Sep 15 11:14:46 1992  Ian Lance Taylor  (ian@cygnus.com)
27389
27390	* Makefile.in (install): install the include files in
27391	$(tooldir)/include, not $(exec_prefix)/include.
27392
27393Fri Sep 11 15:48:43 1992  Ian Lance Taylor  (ian@cygnus.com)
27394
27395	* Makefile.in (install): fixed typo, and changed install to not
27396	force rebuild of libc.a and libm.a.
27397
27398Thu Sep 10 10:46:09 1992  Ian Lance Taylor  (ian@cygnus.com)
27399
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.
27403
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
27407	header files.
27408
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.
27412
27413Thu Sep 10 10:13:13 1992  Ian Lance Taylor  (ian@cygnus.com)
27414
27415	* libc/include/sys/param.h: new generic file, which may be
27416	overridden for specific systems.
27417
27418	* libc/include/sys/signal.h: define all ANSI signal names, and
27419	NSIG (which is not ANSI) for a29k.
27420
27421Tue Sep  8 09:04:30 1992  Ian Lance Taylor  (ian@cygnus.com)
27422
27423	* Makefile.in: don't pass down arguments the lower level makes
27424	will not need.
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.
27429
27430Tue Sep  8 08:27:22 1992  Ian Lance Taylor  (ian@cygnus.com)
27431
27432	* libc/include/sys/fcntl.h: include <sys/types.h> to ensure that
27433	mode_t is defined.
27434
27435Mon Sep  7 14:02:07 1992  Ian Lance Taylor  (ian@cygnus.com)
27436
27437	* Fixed make info and make install-info for newlib, changing most
27438	Makefile.in and several *.tex files.  Moved doc directory from
27439	libc to top level.
27440
27441	* libc/time/mktime.c (_DAYS_IN_MONTH): actually, not const.
27442	Should be rewritten.
27443
27444	* libc/string/strings.tex: renamed node index to node index
27445	function, so that it does not conflict with the top level index
27446	node.
27447
27448	* libc/include/sys/config.h: define __IEEE_BIG_ENDIAN for h8300.
27449
27450Fri Sep  4 02:34:06 1992  Ian Lance Taylor  (ian@cygnus.com)
27451
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.
27456
27457	* libc/time/localtime.c (_DAYS_IN_MONTH): actually, not const.
27458	Should be rewritten.
27459
27460Tue Sep  1 15:21:14 1992  Ian Lance Taylor  (ian@cygnus.com)
27461
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}.
27466
27467	* libc/ctype/ctype_.c: marked _ctype_ array _CONST.
27468	* libc/include/ctype.h: marked _ctype_ as _CONST.
27469
27470	* libc/locale/locale.c (lconv, localeconv): marked static lconv as
27471	_CONST.
27472
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.
27477
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.
27482
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.
27487
27488	* libm/math/gamma.h: made local variables non-static.
27489
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
27492	_CONST.
27493
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.
27498
27499Wed Aug 26 21:09:06 1992  Ian Lance Taylor  (ian@cygnus.com)
27500
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.
27504
27505	* libm/sqrt.c: sqrt(Infinity) should not be a domain error.
27506
27507	* libm/frexp.c: handle denormalized numbers as arguments.
27508
27509	* libm/math/Makefile.in: added some dependencies for .c files
27510	which include local .h files.
27511
27512Mon Aug 24 12:57:58 1992  Ian Lance Taylor  (ian@cygnus.com)
27513
27514	* libc/configure.in: set target_alias for OSE*.  Replace
27515	target_makefile_frag if it is blank.
27516
27517	* libc/Makefile.in: make sure everything is passed to subsidiary
27518	makes; create all directories when installing.
27519
27520	* libm/ieeefp/Makefile.in, libm/math/Makefile.in: use
27521	CROSS_ARUPDATE instead of AR.
27522
27523	* libm/configure.in: set target_alias for OSE*.  Replace
27524	target_makefile_frag if it is blank.
27525
27526	* libm/Makefile.in: make sure everything is passed to subsidiary
27527	makes; create all directories when installing.
27528
27529Thu Aug 20 15:11:51 1992  Mark Eichin  (eichin@cygnus.com)
27530
27531	* add following change from libc copy.
27532
27533Wed Aug 19 18:54:49 1992  Roland H. Pesch  (pesch@fowanton.cygnus.com)
27534
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
27538	of contents).
27539
27540	* libc/ctype/tolower.c, libc/ctype/toupper.c: (doc changes in
27541	  comments only) avoid using underbars in section headings
27542
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
27547
27548	* libc/math/bessel.c: (doc, comments only) shorten heading
27549
27550	* libc/stdlib/efgcvt.c, libc/stdlib/mbtowc.c, libc/stdlib/wctomb.c
27551	(doc, comments only) shorten headings
27552
27553	* libc/time/localtime.c (doc, comments only): shorten headings
27554
27555	* libm/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
27556	  isnan
27557	  libm/ieeefp/fpmask.c, libm/ieeefp/fpround.c,
27558	  libm/ieeefp/fpsticky.c (doc changes in comments only): shorten
27559	  headings
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
27563
27564Wed Aug 19 07:06:37 1992  Mark Eichin  (eichin at tweedledumber.cygnus.com)
27565
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
27576	original.
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.
27580
27581Mon Aug 10 11:43:20 1992  Ian Lance Taylor  (ian@dumbest.cygnus.com)
27582
27583	* libc/Makefile.in: always create installation directories.
27584
27585Sun Aug  9 22:45:48 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
27586
27587	* libc/configure.in: handle host properly (using canonical
27588	triples), better error message for the case of target not found
27589
27590Thu May 28 01:56:37 1992  Michael Tiemann  (tiemann@rtl.cygnus.com)
27591
27592	* libc/Makefile.in (insincdir): Ensure this directory exists
27593	before attempting installation.
27594
27595Fri May  1 18:16:42 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
27596
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.
27600
27601Tue Apr 28 19:08:37 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
27602
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
27607	routines
27608	* libc/libc.texinfo: Modifed to include the copyright info from
27609	the mprec files
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
27614
27615Mon Apr 27 13:41:33 1992  Roland H. Pesch  (pesch@fowanton.cygnus.com)
27616
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.
27622
27623Fri Apr 24 11:26:48 1992  Roland H. Pesch  (pesch@fowanton.cygnus.com)
27624
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
27637
27638Tue Apr 21 14:48:50 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
27639
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
27645
27646Tue Apr 21 12:32:21 1992  Roland H. Pesch  (pesch@fowanton.cygnus.com)
27647
27648	* libc/ctype/isupper.c: revise doc;
27649	  libc/ctype/ctype.tex: use doc from isupper.c
27650
27651	* libc/string/bzero.c: new doc
27652
27653Mon Apr 20 14:19:42 1992  Roland H. Pesch  (pesch@fowanton.cygnus.com)
27654
27655	* libc/stdlib/system.c, libc/stdlib/exit.c, libc/stdlib/abort.c:
27656	new doc
27657	* libc/stdlib/Makefile.in: extract new doc
27658	* libc/stdlib/stdlib.tex: use new doc
27659
27660	* libc/string/strerror.c: expanded doc.
27661
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
27669
27670Mon Apr 20 09:38:17 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
27671
27672	* libc/config/ebmon29k: added CROSS_CPP rule and other fixes
27673	* libc/include/ieeefp.h: fixed ansi conflict with isnanf, isinff,
27674	finitef functions.
27675	* libc/sys/a29khif/sys/*.h: ansidecl.h was renamed to _ansi.h some
27676	time ago.
27677
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
27688
27689Mon Apr 13 09:12:58 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
27690
27691	Release 1.03 for NEC, major mods. Main differences from release
27692	1.02::
27693
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
27701	chars.
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
27711	and function form.
27712	* math2.c: test for frexp, frexpf, ldexp, ldexpf, modf modff, pow,
27713	powf
27714
27715	In the library:
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
27721	than sprintf.
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
27727	altered
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
27732
27733Local Variables:
27734version-control: never
27735End:
27736