]> sourceware.org Git - newlib-cygwin.git/blob - newlib/ChangeLog
* configure.host: Allow hosts to set the default
[newlib-cygwin.git] / newlib / ChangeLog
1 2006-03-22 Mark Mitchell <mark@codesourcery.com>
2
3 * configure.host: Allow hosts to set the default
4 newlib_atexit_dynamic_alloc value.
5 * configure.in: Likewise.
6 * configure: Regenerated.
7
8 2006-03-20 Mark Mitchell <mark@codesourcery.com>
9
10 * acconfig.h (_ATEXIT_DYNAMIC_ALLOC): Undef.
11 * configure.in (--disable-newlib-atexit-dynamic-alloc): New
12 option.
13 * configure: Regenerated.
14 * newlib.hin: Regenerated.
15 * libc/stdlib/__atexit.c (__register_exitproc): Don't call malloc
16 if _ATEXIT_DYNAMIC_ALLOC is undefined.
17 * libc/stdlib/__call_atexit.c (__call_exitprocs): Don't call free
18 if _ATEXIT_DYNAMIC_ALLOC is undefined.
19
20 2006-03-17 Jeff Johnston <jjohnstn@redhat.com>
21
22 * libc/sys/linux/linuxthreads/config.h: Remove definition
23 of UINT32_C.
24
25 2006-03-15 Jeff Johnston <jjohnstn@redhat.com>
26
27 * libc/stdio/wsetup.c (__swsetup): Don't make a buffer
28 for a string I/O file that isn't using the asprintf family.
29
30 2006-03-07 Eric Blake <ebb9@byu.net>
31
32 * libc/stdio/freopen.c (_freopen_r) [HAVE_FCNTL]: For NULL
33 filename, allow read-only or write-only FILE atop O_RDWR file
34 descriptor.
35 * libc/stdio64/freopen64.c (_freopen64_r) [HAVE_FCNTL]: Likewise.
36
37 2006-03-07 Jeff Johnston <jjohnstn@redhat.com>
38
39 * libm/common/sf_isinf.c[_DOUBLE_IS_32BITS]: Undef isinf.
40 * libm/common/sf_isnan.c[_DOUBLE_IS_32BITS]: Undef isnan.
41
42 2006-03-02 Jeff Johnston <jjohnstn@redhat.com>
43
44 * libm/math/math.tex: Fix reference to sisnan.def which
45 is now in common subdirectory.
46 * libm/mathfp/mathfp.tex: Ditto.
47
48 2006-02-27 Jeff Johnston <jjohnstn@redhat.com>
49
50 * Makefile.am (MATHOBJS_IN_LIBC): Add s_isinfd, sf_isinff,
51 s_isnand, and sf_isnanf object files.
52 * Makefile.in: Regenerated.
53 * libc/include/ieeefp.h: Undef isnan and isinf to avoid
54 conflict if <math.h> has previously been included.
55 * libc/include/math.h
56 * libc/include/math.h: Make isnan and isinf macros to
57 conform to C99.
58 (__isinfd, __isinff, __isnand, __isnanf): New functions.
59 * libm/common/Makefile.am: Add new s_isinfd, s_isnand, sf_isinff,
60 and sf_isnanf files. Also support s_isnan, sf_isnan, s_isinf, and
61 sf_isinf files which have been moved from math/mathfp directories.
62 * libm/common/Makefile.in: Regenerated.
63 * libm/common/s_isinfd.c: New file.
64 * libm/common/s_isnand.c: Ditto.
65 * libm/common/sf_isinff.c: Ditto.
66 * libm/common/sf_isnanf.c: Ditto.
67 * libm/common/s_isinf.c: Moved from libm/math directory.
68 * libm/common/s_isnan.c: Ditto.
69 * libm/common/sf_isinf.c: Ditto.
70 * libm/common/sf_isnan.c: Ditto.
71 * libm/math/Makefile.am: Remove isinf and isnan family functions
72 which have been moved into common directory.
73 * libm/mathfp/Makefile.am: Ditto.
74 * libm/math/Makefile.in: Regenerated.
75 * libm/mathfp/Makefile.in: Ditto.
76 * libm/math/s_isinf.c: Removed.
77 * libm/math/s_isnan.c: Ditto.
78 * libm/math/sf_isinf.c: Ditto.
79 * libm/math/sf_isnan.c: Ditto.
80 * libm/mathfp/s_isinf.c: Ditto.
81 * libm/mathfp/s_isnan.c: Ditto.
82 * libm/mathfp/sf_isinf.c: Ditto.
83 * libm/mathfp/sf_isnan.c: Ditto.
84
85 2006-02-20 Jeff Johnston <jjohnstn@redhat.com>
86
87 * libc/stdio/fflush.c (fflush): For an fflush on a read-only
88 stream, turn off fseek/rewind optimization as per POSIX/SUSv3.
89 * libc/stdio/fseek.c (_fseek_r): After a successful unoptimized
90 seek, turn off the __SNPT no-optimization flag.
91
92 2006-02-16 Jeff Johnston <jjohnstn@redhat.com>
93
94 * libc/sys/linux/aio.c: Define _GNU_SOURCE so struct aioinit
95 will be defined.
96 * libc/sys/linux/sys/types.h: Move <sys/config.h> ahead of
97 <features.h> to preset special flags.
98
99 2006-02-15 Corinna Vinschen <corinna@vinschen.de>
100
101 * libc/include/sys/time.h (struct timeval): Change member types
102 according to SUSv3.
103 * libc/include/sys/types.h (useconds_t): Change to unsigned
104 according to SUSv3.
105 (suseconds_t): Define type.
106
107 2006-02-13 Jeff Johnston <jjohnstn@redhat.com>
108 David Carne <davidcarne@gmail.com>
109
110 * libc/string/strndup_r.c (_strndup_r): Use strnlen logic
111 instead of strlen to determine number of bytes to copy.
112 * libc/string/strnlen.c (strnlen): Fix so check for max limit occurs
113 before looking at storage location.
114
115 2006-02-07 Paul Brook <paul@codesourcery.com>
116
117 * libc/machine/arm/setjmp.S: Add Thumb-2 support.
118 * libc/sys/arm/crt0.S: Add Thumb-2 startup code.
119 * libc/sys/arm/libcfunc.c (do_AngelSWI): Use AngelSWIInsn.
120 * libc/sys/arm/swi.h (AngelSWIInsn, AngelSWIAsm): Define.
121 * libc/sys/arm/trap.S: Disable for Thumb-2.
122
123 2006-01-31 Leif Ekblad <leif@rdos.net>
124
125 * configure.host: RDOS support added
126 * libc/include/sys/config.h: Ditto.
127 * libc/sys/rdos/Makefile.am, libc/sys/rdos/Makefile.in: New files.
128 * libc/sys/rdos/aclocal.m4, libc/sys/rdos/chown.c: Ditto.
129 * libc/sys/rdos/close.c, libc/sys/rdos/config.h: Ditto.
130 * libc/sys/rdos/configure, libc/sys/rdos/configure.in: Ditto.
131 * libc/sys/rdos/crt0.S, libc/sys/rdos/execve.c: Ditto.
132 * libc/sys/rdos/fork.c, libc/sys/rdos/fstat.c: Ditto.
133 * libc/sys/rdos/getenv.c, libc/sys/rdos/getpid.c: Ditto.
134 * libc/sys/rdos/gettod.c, libc/sys/rdos/isatty.c: Ditto.
135 * libc/sys/rdos/kill.c, libc/sys/rdos/link.c: Ditto.
136 * libc/sys/rdos/lseek.c, libc/sys/rdos/open.c: Ditto.
137 * libc/sys/rdos/rdos.S, libc/sys/rdos/rdos.h: Ditto.
138 * libc/sys/rdos/rdoshelp.c, libc/sys/rdos/read.c: Ditto.
139 * libc/sys/rdos/readlink.c, libc/sys/rdos/sbrk.c: Ditto.
140 * libc/sys/rdos/stat.c, libc/sys/rdos/symlink.c: Ditto.
141 * libc/sys/rdos/times.c, libc/sys/rdos/unlink.c: Ditto.
142 * libc/sys/rdos/user.def, libc/sys/rdos/wait.c: Ditto.
143 * libc/sys/rdos/write.c: Ditto.
144
145 2006-01-24 Jeff Johnston <jjohnstn@redhat.com>
146
147 * acinclude.m4: Add nodefine to AM_INIT_AUTOMAKE macro invocation
148 so as not to define PACKAGE and VERSION in newlib.h.
149 * aclocal.m4: Regenerated.
150 * configure: Ditto.
151 * newlib.hin: Ditto.
152
153 2006-01-20 Jeff Johnston <jjohnstn@redhat.com>
154
155 * acconfig.h: New file to generate newlib.hin from.
156 * newlib.hin: Regenerated.
157 * stamp-h.in: Regenerated.
158 * Makefile.am: Add ACLOCAL_AMFLAGS so aclocal can be
159 called automatically.
160 * Makefile.in: Regenerated.
161 * acinclude.m4: Add proper comment for hack in previous change.
162 * aclocal.m4 */aclocal.m4: Regenerated.
163 * configure */configure: Regenerated.
164
165 2006-01-11 Jeff Johnston <jjohnstn@redhat.com>
166
167 * acinclude.m4: Add hack to prevent INSTALL in subdirs
168 from being set to "../".
169 * Makefile.am: Pass INSTALL in AM_MAKEFLAGS.
170 * aclocal.m4: Regenerated.
171 * configure: Ditto.
172 * Makefile.in: Ditto.
173 * doc/aclocal.m4: Ditto.
174 * doc/configure: Ditto.
175 * iconvdata/aclocal.m4: Ditto.
176 * iconvdata/configure: Ditto.
177 * libc/*/aclocal.m4: Ditto.
178 * libc/*/configure: Ditto.
179 * libc/libc.texinfo: Ditto.
180 * libm/*/aclocal.m4: Ditto.
181 * libm/*/configure: Ditto.
182
183 2006-01-10 Eric Blake <ebb9@byu.net>
184
185 * libc/stdio/freopen.c (_freopen_r): Fix use of oflags.
186 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
187
188 2006-01-10 Jeff Johnston <jjohnstn@redhat.com>
189
190 * libm/mathfp/s_frexp.c: Check for special values on
191 the original input, not the manipulated output value.
192 * libm/mathfp/sf_frexp.c: Ditto.
193 * libm/mathfp/s_atangent.c: Don't use local value branch
194 when checking for quadrant.
195 * libm/mathfp/sf_atangent.c: Ditto.
196
197 2006-01-09 Jeff Johnston <jjohnstn@redhat.com>
198
199 * libc/stdio/freopen.c: Switch to use isatty instead of _isatty.
200 * libc/stdio64/freopen64.c: Ditto.
201
202 2006-01-09 Eric Blake <ebb9@byu.net>
203
204 * libc/stdio/freopen.c (_freopen_r): Accept NULL filename.
205 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
206
207 2006-01-06 Jeff Johnston <jjohnstn@redhat.com>
208
209 * libc/sys/linux/include/getopt.h: Add macros needed by
210 new version of getopt.c in libc/stdlib.
211
212 2006-01-04 Gregory Pietsch <gpietsch@comcast.net>
213
214 * libc/stdlib/getopt.c: Replaced with version
215 that adds getopt_long and getopt_long_only support.
216 * libc/include/getopt.h: New file.
217
218 2005-12-16 Jeff Johnston <jjohnstn@redhat.com>
219
220 * NEWS: Update with 1.14.0 info.
221 * README: Ditto.
222 * acinclude.m4: Change version number to 1.14.0.
223 * aclocal.m4: Regenerated.
224 * configure: Ditto.
225 * doc/aclocal.m4: Ditto.
226 * doc/configure: Ditto.
227 * libc/*/aclocal.m4: Ditto.
228 * libc/*/configure: Ditto.
229 * libc/libc.texinfo: Ditto.
230 * libm/*/aclocal.m4: Ditto.
231 * libm/*/configure: Ditto.
232 * libm/libm.texinfo: Ditto.
233 * libc/sys/linux/shared.ld: Add VERS_1.14.
234
235 2005-12-16 Jeff Johnston <jjohnstn@redhat.com>
236
237 * libc/sys/linux/sys/stat.h: Change *stat64 prototypes to
238 take a pointer to struct stat64 rather than struct stat.
239
240 2005-12-16 Ralf Corsepius <ralf.corsepius@rtems.org>
241
242 * libc/include/stdint.h: Prefer long over int for int32_t.
243 Use __have_long32 to set up int32_t.
244 * libc/include/inttypes.h: Use "#if xxx" instead of "#ifdef xxx"
245 (Sync with stdint.h).
246
247 2005-12-14 Corinna Vinschen <corinna@vinschen.de>
248
249 * libc/include/sys/fcntl.h: Define O_SYNC unconditionally. Fix
250 typo in O_NDELAY comment.
251
252 2005-12-13 Nathan Sidwell <nathan@codesourcery.com>
253
254 * libc/include/machine/ieeefp.h (__mt__): Renamed from __ms1__.
255 * libc/include/machine/setjmp.h (__mt__): Likewise.
256 * libc/machine/mt/setjmp.S: Rename ms1 reference to mt.
257 * libc/machine/configure.in: Ditto.
258
259 2005-12-12 Nathan Sidwell <nathan@codesourcery.com>
260
261 * configure.host: Replace ms1 arch with mt arch.
262 * libc/machine/mt: Renamed from ms1 dir.
263
264 2005-12-08 Shaun Jackman <sjackman@gmail.com>
265
266 * libc/include/sys/types.h: Remove the ifdef armour around
267 standard POSIX types.
268
269 2005-12-06 Ralf Corsepius <ralf.corsepius@rtems.org>
270
271 * libc/sys/rtems/crt0.c: Add rtems_gxx_key_create,
272 rtems_gxx_key_delete, rtems_gxx_getspecific,
273 rtems_gxx_setspecific, rtems_gxx_mutex_trylock,
274 rtems_gxx_recursive_mutex_init, rtems_gxx_recursive_mutex_lock,
275 rtems_gxx_recursive_mutex_trylock, rtems_gxx_recursive_mutex_unlock.
276
277 2005-12-05 Christopher Faylor <cgf@timesys.com>
278
279 * libc/include/stdlib.h: Move cygwin declarations to cygwin-specific
280 file. Declare unsetenv and _unsetenv_r when not cygwin.
281
282 2005-11-18 Jeff Johnston <jjohnstn@redhat.com>
283
284 * libc/time/strptime.c (strptime): Don't abort for %c and %Z.
285 Treat %c as "%a %b %e %H:%M:%S %Y" and ignore %Z.
286
287 2005-11-18 Christopher Faylor <cgf@timesys.com>
288
289 * include/sys/time.h: Move more cygwin stuff to cygwin-specific header.
290
291 2005-11-18 Christopher Faylor <cgf@timesys.com>
292
293 * include/time.h: Remove more cygwin-specific stuff.
294
295 2005-11-18 Christopher Faylor <cgf@timesys.com>
296
297 * include/time.h: Move cygwin declarations to cygwin-specific header.
298 * include/sys/time.h: Rename cygwin include to "sys_time.h".
299
300 2005-11-17 Jeff Johnston <jjohnstn@redhat.com>
301
302 * libc/sys/linux/dl/dl-local.h: New file based on old dlfcn.h
303 in libc/sys/linux/include.
304 * libc/sys/linux/dl/dlfcn.h: Moved to libc/sys/linux/include.
305 * libc/sys/linux/dl/ldsodefs.h: Include dl-local.h instead of dlfcn.h.
306 * libc/sys/linux/include/dlfcn.h: Replaced with dlfcn.h formerly
307 in libc/sys/linux/dl.
308
309 2005-11-11 Christopher Faylor <cgf@timesys.com>
310
311 * libc/include/sys/time.h: For cygwin, use general header rather than
312 specific "sys/select.h".
313
314 2005-11-08 Tom Walsh <tom@openhardware.net>
315
316 * libc/time/tzvars.c: New file.
317 * libc/time/tzset_r.c: Moved globals into tzvars.c
318 so other time functions needn't link in __tzset_r and its
319 dependencies.
320 * libc/time/Makefile.am: Add the new file.
321 * libc/time/Makefile.in: Regenerated.
322
323 2005-11-08 Christopher Faylor <cgf@timesys.com>
324
325 * libc/include/string.h: Add cygwin-specific function declaration.
326
327 2005-11-07 Corinna Vinschen <corinna@vinschen.de>
328
329 * libc/include/ieeefp.h: Add C++ guards.
330
331 2005-11-03 Jeff Johnston <jjohnstn@redhat.com>
332
333 * libc/unix/getcwd.c: Don't use non-reentrant syscall names.
334 * libc/unix/getlogin.c: Ditto.
335 * libc/unix/getpass.c: Ditto.
336 * libc/unix/getut.c: Ditto.
337 * libc/unix/ttyname.c: Ditto.
338
339 2005-11-03 Shaun Jackman <sjackman@gmail.com>
340
341 * libc/include/sys/unistd.h (readlink, symlink): Provide these
342 prototypes by default.
343 * libc/sys/linux/include/unistd.h (readlink): Remove this
344 prototype.
345 * libc/sys/linux/sys/unistd.h (readlink, symlink): New
346 prototypes.
347
348 2005-11-01 Ralf Corsepius <ralf.corsepius@rtems.org>
349
350 * libc/include/stdint.h: Cleanup #if vs. #ifdef.
351
352 2005-10-31 Darin Johnson <darin@usa.net>
353
354 * libm/mathfp/s_mathcnst.c: Fix endian-ness check to be
355 correct for constants.
356
357 2005-10-28 Bob Wilson <bob.wilson@acm.org>
358
359 * libc/stdio/siprintf.c: Wrap long lines in ANSI_SYNOPSIS.
360 * libc/stdio/siscanf.c: Likewise.
361 * libc/stdio/sprintf.c: Likewise.
362 * libc/stdio/sscanf.c: Likewise.
363 * libc/stdio/vfprintf.c: Likewise.
364 * libc/stdio/vfscanf.c: Likewise.
365 * libc/stdio/viprintf.c: Likewise.
366 * libc/stdio/viscanf.c: Likewise.
367
368 2005-10-28 Bob Wilson <bob.wilson@acm.org>
369
370 * libc/sys.tex (Stubs): Format examples consistently. Change sbrk
371 example to use "_end" symbol instead of "end". Change write example
372 to use "outbyte" instead of "writechar".
373
374 2005-10-28 Bob Wilson <bob.wilson@acm.org>
375
376 * libc/ctype/ctype.tex: Use hyphens as appropriate, but not otherwise.
377 * libc/ctype/islower.c: Likewise.
378 * libc/ctype/isupper.c: Likewise.
379 * libc/ctype/iswalnum.c: Likewise.
380 * libc/ctype/iswalpha.c: Likewise.
381 * libc/ctype/iswblank.c: Likewise.
382 * libc/ctype/iswcntrl.c: Likewise.
383 * libc/ctype/iswdigit.c: Likewise.
384 * libc/ctype/iswgraph.c: Likewise.
385 * libc/ctype/iswlower.c: Likewise.
386 * libc/ctype/iswprint.c: Likewise.
387 * libc/ctype/iswpunct.c: Likewise.
388 * libc/ctype/iswspace.c: Likewise.
389 * libc/ctype/iswupper.c: Likewise.
390 * libc/ctype/iswxdigit.c: Likewise.
391 * libc/ctype/tolower.c: Likewise.
392 * libc/ctype/toupper.c: Likewise.
393 * libc/ctype/towctrans.c: Likewise.
394 * libc/ctype/towlower.c: Likewise.
395 * libc/ctype/towupper.c: Likewise.
396 * libc/string/strcasecmp.c: Likewise.
397 * libc/string/strcoll.c: Likewise.
398 * libc/string/strings.tex: Likewise.
399 * libc/string/strlwr.c: Likewise.
400 * libc/string/strncasecmp.c: Likewise.
401 * libc/string/strupr.c: Likewise.
402 * libc/string/wcscoll.c: Likewise.
403 * libc/string/wcslcat.c: Likewise.
404 * libc/string/wcslcpy.c: Likewise.
405 * libc/string/wcsnlen.c: Likewise.
406 * libc/string/wcsstr.c: Likewise.
407 * libc/string/wcstrings.tex: Likewise.
408 * libc/string/wmemchr.c: Likewise.
409 * libc/string/wmemcmp.c: Likewise.
410 * libc/string/wmemcpy.c: Likewise.
411 * libc/string/wmemmove.c: Likewise.
412 * libc/string/wmemset.c: Likewise.
413
414 2005-10-28 Bob Wilson <bob.wilson@acm.org>
415
416 * libc/misc/unctrl.c: Replace FUNCTION description.
417 * libc/signal/signal.c: Remove documentation for raise and _raise_r.
418 * libc/stdio/getdelim.c: Fix spelling errors.
419 * libc/stdio/getw.c: Put RETURNS on a separate line. Fix punctuation.
420 * libc/stdio/putw.c: Likewise.
421 * libc/stdlib/a64l.c: Fix formatting, spelling and punctuation in
422 documentation.
423 * libc/stdlib/assert.c: Do not capitalize FUNCTION description.
424 * libc/stdlib/efgcvt.c: Add spaces to FUNCTION description.
425 * libc/stdlib/envlock.c: Use em-dash in FUNCTION description.
426 * libc/stdlib/mlock.c: Likewise.
427 * libc/stdlib/mstats.c: Likewise.
428 * libc/time/tzlock.c: Likewise.
429 * libc/stdlib/rand.c: Use "multi-threaded" and "thread-safe" in NOTES.
430 * libc/stdlib/rand48.c: Remove extra space in FUNCTION description
431 and hyphenate "pseudo-random".
432 * libc/string/bcmp.c: Remove extra blank lines in documentation.
433 * libc/string/strncat.c: Likewise.
434 * libc/string/memchr.c: Remove extra ">" character in documentation.
435 * libc/string/strcspn.c: Use "characters" instead of "chars".
436 * libc/string/strpbrk.c: Likewise.
437 * libc/string/strerror_r.c: Capitalize "GNU".
438 * libc/string/strnlen.c: Likewise.
439 * libc/string/strtok.c: Fix formatting, spelling and punctuation in
440 documentation. Use "multi-threaded" and "thread-safe" in NOTES.
441 * libc/string/wcscat.c: Split PORTABILITY into two paragraphs.
442 * libc/string/wcschr.c: Likewise.
443 * libc/string/wcscmp.c: Likewise.
444 * libc/string/wcscpy.c: Likewise.
445 * libc/string/wcscspn.c: Likewise.
446 * libc/string/wcslen.c: Likewise.
447 * libc/string/wcsncat.c: Likewise.
448 * libc/string/wcsncmp.c: Likewise.
449 * libc/string/wcsncpy.c: Likewise.
450 * libc/string/wcsnlen.c: Likewise.
451 * libc/string/wcspbrk.c: Likewise.
452 * libc/string/wcsrchr.c: Likewise.
453 * libc/string/wcsspn.c: Likewise.
454 * libc/string/wmemchr.c: Likewise.
455 * libc/string/wmemcmp.c: Likewise.
456 * libc/string/wmemcpy.c: Likewise.
457 * libc/string/wmemset.c: Likewise.
458 * libc/string/wmemmove.c: Likewise. Also fix FUNCTION description.
459 * libc/string/wcswidth.c: Formatting and punctuation in documentation.
460 * libc/string/wcwidth.c: Likewise.
461 * libm/common/s_modf.c: Remove extra period from documentation.
462 * libm/math/s_isnan.c: Fix formatting, grammar and punctuation in
463 documentation.
464 * libm/mathfp/s_isnan.c: Likewise.
465 * libm/math/s_ldexp.c: Fix punctuation.
466 * libm/mathfp/s_ldexp.c: Likewise.
467 * libm/math/w_log.c: Likewise.
468 * libm/mathfp/s_logarithm.c: Likewise.
469 * libm/math/w_j0.c: Add spaces to FUNCTION description.
470 * libm/mathfp/w_jn.c: Likewise.
471
472 2005-10-26 Shaun Jackman <sjackman@gmail.com>
473
474 * libc/posix/scandir.c (scandir): Update the function
475 prototype to match the header.
476 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Remove an
477 extraneous #endif.
478 * libc/sys/linux/sys/lock.h: Do not include
479 machine/weakalias.h, since it's not used by this file.
480
481 2005-10-26 Jeff Johnston <jjohnstn@redhat.com>
482
483 * libc/Makefile.am: Reorder SUBLIBS so machine and sys
484 directories can override properly.
485
486 2005-10-20 Jeff Johnston <jjohnstn@redhat.com>
487
488 * libc/include/math.h (HUGE_VAL, HUGE_VALF, HUGE_VALL): When
489 gcc is 3.3 or greater, use special gcc builtins.
490
491 2005-10-20 Corinna Vinschen <corinna@vinschen.de>
492
493 * libc/include/sys/time.h: Declare futimes and lutimes for Cygwin.
494
495 2005-10-18 Corinna Vinschen <corinna@vinschen.de>
496
497 * libc/include/sys/features.h: Define _POSIX_MEMLOCK_RANGE for Cygwin.
498
499 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
500
501 * libc/include/math.h (HUGE_VALF, HUGE_VALL): New.
502 * libm/common/Makefile.am: Add s_infconst.c support.
503 * libm/common/Makefile.in: Regenerated.
504 * libm/common/s_infconst.c: New file with float and
505 long double infinity support added.
506 * libm/math/Makefile.am: Remove s_infconst.c support.
507 * libm/math/Makefile.in: Regenerated.
508 * libm/math/s_infconst.c: Moved to common directory.
509 * libm/mathfp/Makefile.am: Remove s_infconst.c support.
510 * libm/mathfp/Makefile.in: Regenerated.
511 * libm/mathfp/s_infconst.c: Moved to common directory.
512
513 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
514
515 * libc/sys/linux/net/gethostbydns.c (dprintf): Rename to
516 dbgprintf to prevent conflict with new dprintf function.
517
518 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
519
520 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix up "inf" and
521 "nan" processing for systems that have long double support.
522
523 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
524
525 * libc/sys/linux/sys/types.h (int8_t): Add type.
526
527 2005-10-14 Bob Wilson <bob.wilson@acm.org>
528
529 * libm/common/Makefile.am (doc): Do not append to $(TARGETDOC).
530 * libm/common/Makefile.in: Regenerate.
531 * libm/common/common.tex: Delete file.
532 * libm/math/math.tex: Include .def files from common/.
533 * libm/mathfp/mathfp.tex: Likewise.
534
535 2005-10-14 Bob Wilson <bob.wilson@acm.org>
536
537 * libc/libc.texinfo (Top): Surround this node with @ifnottex
538 instead of @ifinfo. Update menu to add Introduction and match
539 SUBDIRS order.
540 (Introduction): New section.
541
542 2005-10-14 Bob Wilson <bob.wilson@acm.org>
543
544 * libc/reent/reent.tex (Reentrancy): Replace "Cygnus C Library"
545 with "Red Hat newlib C Library".
546 * libc/sys.tex (Stubs): Likewise.
547 * libm/math/math.tex (Math): Likewise.
548 * libm/mathfp/mathfp.tex (Math): Likewise.
549
550 2005-10-11 Shaun Jackman <sjackman@gmail.com>
551
552 * libc/include/stdio.h (dprintf): New declaration.
553 (vdprintf): Ditto.
554 * libc/stdio/Makefile.am (GENERAL_SOURCES): Add dprintf.c
555 and vdprintf.c.
556 * libc/stdio/Makefile.in: Regenerate.
557 * libc/stdio/dprintf.c: New file.
558 * libc/stdio/vdprintf.c: New file.
559 * libc/stdio/stdio.tex (dprintf): New entry.
560
561 2005-10-11 David Weatherford <weath@tensilica.com>
562
563 * libc/stdio/vfprintf.c (_VFPRINTF_R): Recognize 'F' format.
564 Print "inf" and "nan" in lowercase for e/f/g formats and in
565 uppercase for E/F/G formats.
566
567 2005-10-07 Bob Wilson <bob.wilson@acm.org>
568
569 * libc/stdlib/mallocr.c (mALLOc, rEALLOCc, mEMALIGn): Set errno
570 to ENOMEM on failure.
571
572 2005-10-06 Ralf Corsepius <ralf.corsepius@rtems.org>
573
574 * libc/include/stdint.h: Add [u]int_fast<N>_t types.
575
576 2005-10-04 Ralf Corsepius <ralf.corsepius@rtems.org>
577
578 * libc/include/stdint.h: Move magic to set __have_long* to the
579 beginning. Use #if __have* instead of #if defined(__have*).
580 Minor typo fixes.
581
582 2005-10-04 James E Wilson <wilson@specifix.com>
583
584 * libc/include/sys/dirent.h (_DIRENT_H_): Delete #include_next. Add
585 #error.
586
587 2005-10-03 Jeff Johnston <jjohnstn@redhat.com>
588
589 * libc/sys/linux/include/stdint.h: Include <sys/types.h> and
590 incorporate Ralf's change below.
591
592 2005-10-03 Ralf Corsepius <ralf.corsepius@rtems.org>
593
594 * libc/include/stdint.h:
595 Use __INTMAX_TYPE__ to derive intmax_t.
596 Use __UINTMAX_TYPE__ to derive uintmax_t.
597 Fix minor typo.
598
599 2005-09-27 Ralf Corsepius <ralf.corsepius@rtems.org>
600
601 * libc/include/stdint.h: Correct __STDINT_EXP macro incorrectly
602 handling GCC >= 4.
603
604 2005-09-20 Jeff Johnston <jjohnstn@redhat.com>
605
606 * libc/sys/linux/include/stdint.h: Update to match functionality
607 of generic newlib stdint.h.
608
609 2005-09-20 Jeff Johnston <jjohnstn@redhat.com>
610
611 * libc/include/stdint.h (__EXP): Rename to __STDINT_EXP
612 and do not #undef the macro after it is used. Fix typos.
613 Also change 64-bit constants to use the __have_long64 and
614 __have_longlong64 flags to determine if long or long long
615 constants should be used.
616 * libc/include/inttypes.h: Include stddef.h to get wchar_t
617 type defined.
618
619 2005-09-20 Shaun Jackman <sjackman@gmail.com>
620
621 * libc/include/stdint.h: Fix typo in names of
622 LEAST macros.
623
624 2005-09-20 Jeff Johnston <jjohnstn@redhat.com>
625
626 * libc/sys/rtems/include/inttypes.h: Moved to...
627 * libc/include/inttypes.h: ...here.
628
629 2005-09-19 Jeff Johnston <jjohnstn@redhat.com>
630
631 * libc/sys/rtems/include/stdint.h: Moved to...
632 * libc/include/stdint.h: ...here.
633
634 2005-09-08 Jeff Johnston <jjohnstn@redhat.com>
635
636 * Makefile.am: Add include files under bits sub-directory.
637 * Makefile.in: Regenerated.
638 * libc/sys/linux/argp/argp-fs-xinl.c: Set __OPTIMIZE__ to
639 actual value of 1 to be compatible with newer glibc headers.
640 * libc/sys/linux/sys/cdefs.h: Fix to be compatible with newer
641 glibc headers.
642 * libc/sys/linux/sys/dirent.h: Ditto.
643 * libc/sys/linux/argp/argp-xinl.c: Ditto.
644 * libc/sys/linux/dl/dl-runtime.c: Make sure fixup and
645 profile_fixup routines are marked used so they won't be
646 optimized away.
647 * libc/sys/linux/dl/dl-cache.c: Don't use weak_extern macro
648 to mark functions as weak.
649 * libc/sys/linux/dl/dl-open.c: Ditto.
650 * libc/sys/linux/iconv/gconv_open.c: Fix to obey new gcc4
651 rules about lvalues.
652 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
653 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Don't use
654 weak_extern macro to mark functions as weak. Instead always
655 use #pragma weak.
656 * iconvdata/jis0208.h: Fix to work with gcc4.
657 * libc/sys/linux/dl/dl-load.c: Ditto.
658 * libc/sys/linux/dl/dl-reloc.c: Ditto.
659 * libc/sys/linux/dl/do-rel.h: Ditto.
660 * libc/sys/linux/dl/dynamic-link.h: Ditto.
661 * libc/sys/linux/include/ltdl.h: Ditto.
662 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
663 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
664 * libc/sys/linux/net/ns_ntoa.c: Ditto.
665 * libc/sys/linux/bits/initspin.h: New file.
666 * libc/sys/linux/bits/libc-lock.h: Ditto.
667 * libc/sys/linux/bits/pthreadtypes.h: Ditto.
668 * libc/sys/linux/bits/typesizes.h: Ditto.
669
670 2005-09-08 Eric Blake <ebb9@byu.net>
671
672 * libc/argz/argz_insert.c (argz_insert): Don't die with EINVAL when
673 before is NULL.
674
675 2005-09-08 Brian Dessent <brian@dessent.net>
676
677 * sf_lrint.c (lrintf): Mask 'i0' correctly when extracting
678 mantissa.
679 * s_lrint.c: Ditto.
680
681 2005-09-02 Jeff Johnston <jjohnstn@redhat.com>
682
683 * libc/include/stdio.h: Add prototype for viprintf.
684
685 2005-09-01 Jeff Johnston <jjohnstn@redhat.com>
686
687 * libm/mathfp/s_pow.c: (pow): Change code so 0 raised to
688 any positive power results in 0.
689 * libm/mathfp/sf_pow.c (powf): Ditto.
690
691 2005-08-31 Paul Brook <paul@codesourcery.com>
692
693 * configure.host: Set have_crt0 to no for Arm targts when not
694 providing syscalls. Set sys_dir=arm unconditionally.
695 Default have_crt0 based on sys_dir.
696 * configure.in: Use have_crt0.
697 * libc/configure.in: Ditto.
698 * libc/sys/configure.in: Ditto.
699 * configure: Regenerate.
700 * libc/configure: Regenerate.
701 * libc/sys/configure: Regenerate.
702 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add aeabi_atexit.c.
703 Only build other files when providing syscalls.
704 * libc/sys/arm/Makefile.in: Regenerate.
705 * libc/sys/arm/aeabi_atexit.c: New file.
706
707 2005-08-26 Christopher Faylor <cgf@timesys.com>
708
709 * libc/include/string.h: Revert previous change.
710
711 2005-08-25 Christopher Faylor <cgf@timesys.com>
712
713 * libc/include/string.h: For Cygwin, Define strerror_r as per ISO C.
714
715 2005-08-22 Shaun Jackman <sjackman@gmail.com>
716
717 * libc/include/_syslist.h: If HAVE_OPENDIR is not defined,
718 define _opendir as opendir, _readdir as readdir, and
719 _closedir as closedir so that the implementations in
720 libc/posix will be used.
721
722 2005-08-10 DJ Delorie <dj@redhat.com>
723
724 * MAINTAINERS (CPU Ports): Add CPU port maintainer section.
725
726 2005-08-10 Stephen Huw Clarke <stephen.clarke@st.com>
727
728 * libm/common/sf_fmax.c: Fix to properly handle NaNs.
729 * libm/common/s_max.c: Ditto.
730 * libm/common/sf_fmin.c: Ditto.
731 * libm/common/s_min.c: Ditto.
732
733 2005-08-10 DJ Delorie <dj@redhat.com>
734
735 * configure.host: Add m32c support.
736 * libc/include/machine/ieeefp.h: Likewise.
737 * libc/include/machine/setjmp.h: Likewise.
738 * libc/include/sys/config.h: Likewise.
739 * libc/machine/m32c: New directory, Renesas R8C/M16C/M32C support.
740 * libc/machine/m32c/aclocal.m4: New file.
741 * libc/machine/m32c/configure: Ditto.
742 * libc/machine/m32c/configure.in: Ditto.
743 * libc/machine/m32c/Makefile.am: Ditto.
744 * libc/machine/m32c/Makefile.in: Ditto.
745 * libc/machine/m32c/setjmp.S: Ditto.
746
747 2005-08-02 Bob Wilson <bob.wilson@acm.org>
748
749 * libm/math/ef_hypot.c (__ieee754_hypotf): Add missing exponent bias
750 to the value for 2^126.
751
752 2005-07-26 Hans-Peter Nilsson <hp@bitrange.com>
753
754 * libc/machine/cris/libcdtor.c (defaultors): Mark artificially as
755 used.
756
757 2005-07-20 Bob Wilson <bob.wilson@acm.org>
758 Darin Petkov <darin@tensilica.com>
759
760 * libm/math/ef_atan2.c (pi, pi_lo): Use round-to-nearest value of pi.
761
762 2005-07-19 Paul Brook <paul@codesourcery.com>
763
764 * libc/sys/arm/crt0.S: Ensure doubleword stack alignment.
765
766 2005-07-18 Joseph S. Myers <joseph@codesourcery.com>
767
768 * testsuite/lib/checkoutput.exp (newlib_check_output): Use test
769 names after PASS and FAIL which do not depend on source directory
770 name or on whether test passed or failed.
771 * testsuite/lib/passfail.exp (newlib_pass_fail): Likewise.
772
773 2005-07-08 Ola Hugosson <Ola.Hugosson@anoto.com>
774
775 * libc/string/wcsspn.c (wcsspn): Add missing increment of q.
776
777 2005-07-07 Shaun Jackman <sjackman@gmail.com>
778
779 * libc/unix/ttyname.c (ttyname): Avoid calling _closedir
780 twice for the same directory. _closedir calls free, and freeing
781 the same pointer twice may cause a crash.
782
783 2005-07-06 Aldy Hernandez <aldyh@redhat.com>
784
785 * configure.host: Added entry for ms1*.
786 * libc/include/machine/ieeefp.h: Handle ms1.
787 * libc/include/machine/setjmp.h (_JBLEN): Define for ms1.
788 * libc/machine/ms1/aclocal.m4: New.
789 * libc/machine/ms1/configure: New.
790 * libc/machine/ms1/configure.in: New.
791 * libc/machine/ms1/Makefile.am: New.
792 * libc/machine/ms1/Makefile.in: New.
793 * libc/machine/ms1/setjmp.S: New.
794
795 2005-07-04 Mark Mitchell <mark@codesourcery.com>
796
797 * Makefile.am (site.exp): Set tmpdir.
798 * Makefile.in: Regenerated.
799 * testsuite/lib/checkoutput.exp (newlib_check_output): Put
800 executables in $tmpdir.
801 * testsuite/lib/flags.exp (libgloss_link_flags): Use the original
802 libgloss version if not running in the build directory.
803 * testsuite/lib/newlib.exp (newlib_init): Put testglue.o in
804 $tmpdir.
805 * testsuite/lib/passfail.exp (newlib_pass_fail): Put executables
806 in $tmpdir.
807
808 2005-06-28 Dave Korn <dave.korn@artimi.com>
809
810 * libm/common/s_lrint.c (lrint): Fix signed-vs-unsigned comparison
811 and miscalculation caused by fp representation of zero.
812 * libm/common/sf_lrint.c (lrintf): Likewise.
813
814 2005-06-16 Christopher Faylor <cgf@timesys.com>
815
816 * libc/stdio/vfprintf.c (cvt): Don't rely on pointer aliasing to
817 determine characteristics of long double. Use a union instead.
818 * ldtoa.c (_ldtoa_r): Ditto.
819 (_ldcheck): Ditto.
820 (_strtold): Ditto.
821 (union uconv): New union.
822
823 2005-06-03 Jeff Johnston <jjohnstn@redhat.com>
824
825 * libc/stdlib/mallocr.c (MALLOC_COPY): Switch to use memmove
826 instead of memcpy.
827
828 2005-05-12 Jeff Johnston <jjohnstn@redhat.com>
829
830 * configure.host (mn10300-*): Add long long I/O support by default.
831
832 2005-05-12 Jeff Johnston <jjohnstn@redhat.com>
833
834 * libc/sys/linux/getpwuid.c: Removed.
835 * libc/sys/linux/getpwnam.c: Removed.
836 * libc/sys/linux/getpwent.c: New file containing logic
837 from files removed above. This allows overriding of file
838 in libc/unix.
839 * libc/sys/linux/Makefile.am: Support changes above.
840 * libc/sys/linux/Makefile.in: Regenerated.
841
842 2005-04-28 Jeff Johnston <jjohnstn@redhat.com>
843
844 * libc/stdio/vfscanf.c (__svfscanf_r): Fix code thinko
845 when checking for multiple flags.
846
847 2005-04-18 Hans-Peter Nilsson <hp@axis.com>
848
849 * configure.host <cris-*-* | crisv32-*-*>: Set
850 default_newlib_io_long_long="yes".
851
852 2005-04-08 Jeff Johnston <jjohnstn@redhat.com>
853
854 * libc/include/libgen.h: New file.
855
856 2005-04-08 Shaun Jackman <sjackman@gmail.com>
857
858 * libc/unix/Makefile.am: Add support for basename and dirname.
859 * libc/unix/Makefile.in: Regenerated.
860 * libc/unix/basename.c: New file.
861 * libc/unix/dirname.c: New file.
862
863 2005-04-07 Shaun Jackman <sjackman@gmail.com>
864
865 * libc/sys/linux/inode.c (lchown): New function.
866
867 2005-04-07 Shaun Jackman <sjackman@gmail.com>
868
869 * libc/unix/Makefile.am (LIB_OBJS): Include all the ELIX objects if no
870 ELIX level is defined.
871 * libc/unix/Makefile.in: Regenerated.
872
873 2005-04-05 Dave Korn <dave.korn@artimi.com>
874
875 * libc/stdio/vfscanf.c (__svfscanf_r): If an error occurs processing
876 something that looks like a "NaN", put back the characters processed.
877
878 2005-04-01 Corinna Vinschen <corinna@vinschen.de>
879
880 * libc/stdlib/strtod.c (_strtod_r): Never change s00.
881
882 2005-03-23 Christopher Faylor <cgf@timesys.com>
883
884 * configure.host: For cygwin, redefine CC with cygwin include directory
885 first to mimic the behavior of the top-level configury. Move include
886 directory out of newlib_cflags.
887
888 2005-03-22 Jeff Johnston <jjohnstn@redhat.com>
889
890 * configure.host: For arc, set -DREENTRANT_SYSCALLS_PROVIDED flag on.
891 * libc/sys/arc/syscalls.c: Change functions to use __errno_r rather
892 than errno.
893
894 2005-03-22 Christopher Faylor <cgf@timesys.com>
895
896 * libc/include/machine/_types.h: Make trivial change to comment to
897 avoid a spurious warning from gcc.
898
899 2005-03-21 Nicholas Wourms <nwourms@netscape.net>
900
901 * libc/stdio/vfprintf.c: Move newlib.h before _WANT_IO_POS_ARGS test,
902 since _WANT_IO_POS_ARGS is now defined in there. Remove duplicate
903 reent.h include.
904
905 2005-03-18 Hans-Peter Nilsson <hp@axis.com>
906 Corinna Vinschen <corinna@vinschen.de>
907
908 * libc/include/ctype.h: Remove invalid +1 offset from
909 ctype macro references to __ctype_ptr.
910 (_ctype_): Move declaration outside #ifndef __cplusplus.
911
912 2005-03-18 Corinna Vinschen <corinna@vinschen.de>
913
914 * libc/include/machine/setjmp.h (sigsetjmp): Use GCC extension to
915 evaluate first parameter only once.
916 (siglongjmp): Ditto.
917
918 2005-03-17 Jeff Johnston <jjohnstn@redhat.com>
919
920 * configure.in: Add new check to see if compiler supports
921 aliasing of arrays and define _HAVE_ARRAY_ALIASING if true.
922 * configure: Regenerated.
923 * Makefile.in: Ditto.
924 * newlib.hin: Add _HAVE_ARRAY_ALIASING.
925 * libc/ctype/ctype_.c: Check for _HAVE_ARRAY_ALIASING before
926 aliasing the _ctype_ array to _ctype_b.
927 * libc/include/ctype.h: Change macros to use __ctype_ptr. Mark
928 _ctype_ as deprecated.
929
930 2005-03-17 Hans-Peter Nilsson <hp@axis.com>
931
932 * configure.host (newlib_cflags) <cris-*-*, crisv32-*-*>: Add
933 -DCOMPACT_CTYPE.
934
935 2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
936
937 * libc/sys/rtems/include/inttypes.h: New file.
938 * libc/sys/rtems/include/stdint.h: Ditto.
939
940 2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
941
942 * libc/string/memcmp.c: Fix to avoid pointer signedness warning.
943
944 2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
945
946 * libc/include/machine/_types.h: New file.
947 * libc/include/sys/types.h: Do not check for __rtems__
948 when including <machine/_types.h>. Remove some redundant
949 declarations now that <machine/_types.h> is included.
950 * libc/sys/rtems/machine/_types.h: Removed. Replaced with
951 shared header file.
952
953 2005-02-25 Ralf Corsepious <ralf.corsepius@rtems.org>
954
955 * libm/common/fdlibm.h (FLT_UWORD_MAX, FLT_UWORD_HALF_MAX): Add
956 L qualifier for these long constants.
957
958 2005-02-25 Eric Blake <ebb9@byu.net>
959
960 * libc/include/time.h (__tzrule_struct): Make offset long, since
961 a 16-bit int overflows on a 12-hour offset.
962 * libc/sys/linux/include/time.h: Ditto.
963 * libc/time/mktime.c (mktime): Use new type of __tzrule.offset.
964 * libc/time/mktm_r.c: Ditto.
965 * libc/time/gettzinfo.c: Ditto.
966 * libc/time/strftime.c (strftime): Fix '%x' to deal with negative
967 years. Fix '%z' to use long, not int.
968
969 2005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
970
971 * libm/common/s_fpclassify.c: Use __uint32_t instead of int to
972 manipulate float values in integer form.
973 * libm/common/sf_round.c: Ditto.
974
975 2005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
976
977 * libc/include/sys/types.h [__rtems__]: Include new
978 header file machine/_types.h.
979 * libc/include/machine/types.h: Ditto.
980 * libc/sys/rtems/machine/_types.h: New file.
981
982 2005-02-23 Corinna Vinschen <corinna@vinschen.de>
983
984 * libc/include/time.h (_timezone): Change to long also for Cygwin.
985 (timezone): Drop cast from definition.
986
987 2005-02-23 Jeff Johnston <jjohnstn@redhat.com>
988
989 * libc/include/time.h [!CYGWIN](_timezone): Change to long.
990 (__tzrule_type, __tzinfo_type): New types.
991 (__gettzinfo): New function.
992 * libc/sys/linux/include/time.h: Ditto.
993 * libc/time/Makefile.am: Add gettzinfo.c.
994 * libc/time/Makefile.in: Regenerated.
995 * libc/time/local.h: Moved __tzrule_type to time.h.
996 * libc/time/mktime.c: Call __gettzinfo to reference
997 __tznorth, __tzyear, and __tzrule array.
998 * libc/time/mktm_r.c: Ditto.
999 * libc/time/strftime.c: Ditto.
1000 * libc/time/tzset_r.c: Ditto. Also remove definition
1001 of __tzrule which is now in gettzinfo.c. Change _timezone
1002 references to not cast to time_t.
1003 * libc/time/gettzinfo.c: New file.
1004
1005 2005-02-23 Corinna Vinschen <corinna@vinschen.de>
1006
1007 * libc/include/sys/unistd.h: Define getpeereid for Cygwin.
1008
1009 2005-02-22 Corinna Vinschen <corinna@vinschen.de>
1010
1011 * libc/include/sys/unistd.h: Define fdatasync also for Cygwin.
1012
1013 2005-02-16 Eric Blake <ebb9@byu.net>
1014
1015 * libc/time/time.tex: Improve the documentation.
1016 * libc/time/strftime.c: Improve the documentation.
1017 (iso_year_adjust): New helper function.
1018 (strftime): Simplify '%E' and '%O'. Change '%c' to use
1019 recursion. Fix '%C', '%y', and '%Y' to deal with years with more
1020 than 4 characters. Combine '%d' and '%e'. Implement '%D', '%F',
1021 '%g', '%G', '%n', '%R', '%t', '%T', '%u', '%V', '%X', and '%z'.
1022 Avoid core dumps on valid inputs (maxsize == 0, or
1023 tim_p->tm_isdst > 1).
1024
1025 2005-02-08 Corinna Vinschen <corinna@vinschen.de>
1026
1027 * libc/include/pwd.h (struct passwd): Change pw_uid and pw_gid
1028 members to uid_t and gid_t according to SUSv3.
1029 * libc/include/sys/time.h (utimes): Change second parameter
1030 to const according to SUSv3.
1031
1032 2005-02-07 Antony King <antony.king@st.com>
1033
1034 * libc/stdio/clearerr.c (clearerr): Ensure CHECK_INIT() is
1035 called before _flockfile to prevent lock object use before
1036 initialisation. _REENT_SMALL_CHECK_INIT() and CHECK_INIT()
1037 take a struct _reent * instead of a FILE *.
1038 * libc/stdio/fclose.c (_fclose_r): Ditto.
1039 * libc/stdio/feof.c (feof): Ditto.
1040 * libc/stdio/ferror.c (ferror): Ditto.
1041 * libc/stdio/fflush.c (fflush): Ditto.
1042 * libc/stdio/fgetc.c (fgetc): Ditto.
1043 * libc/stdio/fgets.c (fgets): Ditto.
1044 * libc/stdio/fileno.c (fileno): Ditto.
1045 * libc/stdio/fputc.c (fputc): Ditto.
1046 * libc/stdio/fputs.c (fputs): Ditto.
1047 * libc/stdio/fread.c (fread): Ditto.
1048 * libc/stdio/freopen.c (_freopen_r): Ditto.
1049 * libc/stdio/fseek.c (_fseek_r): Ditto.
1050 * libc/stdio/ftell.c (_ftell_r): Ditto.
1051 * libc/stdio/fwrite.c (fwrite): Ditto.
1052 * libc/stdio/getc.c (getc): Ditto.
1053 * libc/stdio/getdelim.c (__getdelim): Ditto.
1054 * libc/stdio/putc.c (putc): Ditto.
1055 * libc/stdio/setvbuf.c (setvbuf): Ditto.
1056 * libc/stdio/ungetc.c (_ungetc_r): Ditto.
1057 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
1058 * libc/stdio64/freopen64.c (_freopen64_r): Ditto.
1059 * libc/stdio64/fseeko64.c (_fseeko64_r): Ditto.
1060 * libc/stdio64/ftello64.c (_ftello64_r): Ditto.
1061 * libc/stdio/local.h (CHECK_INIT): Argument is now a struct
1062 _reent * instead of a FILE * and so replace incorrect use of
1063 _REENT with argument.
1064 * libc/sys/arm/syscalls.c (CHECK_INIT): Ditto.
1065 * libc/stdio/getchar.c (getchar): _REENT_SMALL_CHECK_INIT() and
1066 CHECK_INIT() take a struct _reent * instead of a FILE *.
1067 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Ditto.
1068 * libc/stdio/iscanf.c (iscanf, _iscanf_r): Ditto.
1069 * libc/stdio/perror.c (perror): Ditto.
1070 * libc/stdio/printf.c (printf, _printf_r): Ditto.
1071 * libc/stdio/putchar.c (putchar): Ditto.
1072 * libc/stdio/puts.c (puts): Ditto.
1073 * libc/stdio/refill.c (__srefill): Ditto.
1074 * libc/stdio/scanf.c (scanf, _scanf_r): Ditto.
1075 * libc/stdio/vfscanf.c (VFSCANF, _VFSCANF_R): Ditto.
1076 * libc/stdio/viprintf.c (viprintf, _viprintf_r): Ditto.
1077 * libc/stdio/viscanf.c (viscanf, _viscanf_r): Ditto.
1078 * libc/stdio/vprintf.c (vprintf, _vprintf_r): Ditto.
1079 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Ditto.
1080 * libc/stdio/wbuf.c (__swbuf): Ditto.
1081 * libc/stdio/wsetup.c (__swsetup): Ditto.
1082 * libc/stdlib/mallocr.c (malloc_stats): Ditto.
1083 * libc/stdlib/mstats.c (_mstats_r): Ditto.
1084 * libc/include/sys/reent.h (_REENT_SMALL_CHECK_INIT): Ditto.
1085 * libc/machine/powerpc/vfscanf.c (vfscanf): Ditto.
1086 * libc/stdio/fgetpos.c (_fgetpos_r): Removed unnecessary calls
1087 to _flockfile and _funlockfile; rely on locking in _ftell_r.
1088 * libc/stdio64/fgetpos64.c (_fgetpos64_r): Ditto (_ftello64_r).
1089 * libc/machine/powerpc/vfprintf.c (__sbprintf): Removed unnecessary
1090 initialision of _data field in FILE structure.
1091 * libc/machine/powerpc/vfprintf.c (VFPRINTF): Added CHECK_INIT() call.
1092
1093 2005-02-07 Jeff Johnston <jjohnstn@redhat.com>
1094
1095 * libc/stdio/findfp.c (__sinit): Protect with new lock.
1096 (__sinit_lock): New lock.
1097 (__sinit_lock_acquire, __sinit_lock_release): New functions.
1098 * libc/stdio/local.h: Add reference to new __sinit locking
1099 functions.
1100
1101 2005-02-07 Jeff Johnston <jjohnstn@redhat.com>
1102
1103 * libc/include/math.h (isfinite, isnormal, isunordered): Change
1104 input variable names to avoid mixups with nesting macros.
1105
1106 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
1107
1108 * configure.host: Add support for cris-*-* and crisv32-*-*.
1109 * libc/include/machine/ieeefp.h: Ditto.
1110 * libc/include/machine/setjmp.h: Ditto.
1111 * libc/machine/cris/configure.in, libc/machine/cris/Makefile.am,
1112 libc/machine/cris/libcdtor.c, libc/machine/cris/setjmp.c,
1113 libc/machine/cris/memmove.c, libc/machine/cris/memcpy.c,
1114 libc/machine/cris/memset.c, libc/machine/cris/include/pthread.h,
1115 libc/machine/cris/sys/signal.h, libc/machine/cris/sys/fcntl.h,
1116 libc/machine/cris/sys/errno.h, libc/machine/cris/aclocal.m4,
1117 libc/machine/cris/configure, libc/machine/cris/Makefile.in: New
1118 files.
1119
1120 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
1121
1122 * testsuite/newlib.string/memmove1.c: New test.
1123
1124 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
1125
1126 * testsuite/include/check.h: Include stdlib.h.
1127
1128 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
1129
1130 * Makefile.am (stmp-targ-include): Support include header files
1131 from machine directories.
1132 (install-data-local): Ditto.
1133 * Makefile.in: Regenerate.
1134
1135 2005-01-24 Jeff Johnston <jjohnstn@redhat.com>
1136
1137 * libc/include/string.h: Remove Linux-specific declaration of
1138 strsignal and add #include <sys/string.h>.
1139 * libc/include/sys/string.h: New file.
1140 * libc/include/sys/linux/sys/string.h: New file with strsignal
1141 declaration deleted above.
1142
1143 2005-01-20 Jeff Johnston <jjohnstn@redhat.com>
1144
1145 * libc/time/strftime.c (strftime): Change %r and %x to be compliant
1146 to POSIX standard for "C" locale. Allow %E and %O modifiers
1147 to be ignored as long as they precede valid specifiers according
1148 to POSIX.
1149
1150 2005-01-19 Shaun Jackman <sjackman@gmail.com>
1151
1152 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
1153 environment variable is set.
1154
1155 2005-01-19 Shaun Jackman <sjackman@gmail.com>
1156
1157 * tzset_r.c (_tzname): Add a comma.
1158
1159 2005-01-18 Aldy Hernandez <aldyh@redhat.com>
1160
1161 * libc/machine/powerpc/vfprintf.c: Use _REENT when calling
1162 _VFPRINTF_R.
1163
1164 2005-01-07 Paul Brook <paul@codesourcery.com>
1165
1166 * configure.in: Add test for .init_array.
1167 * configure: Regenerate.
1168 * newlib.hin: Add HAVE_INITFINI_ARRAY.
1169 * libc/misc/Makefile.am: Add init.c
1170 * libc/misc/Makefile.in: Regenerate.
1171 * libc/misc/init.c: New file.
1172 * libc/sys/arm/crt0.S: Call __libc_{init,fini}_array instead of
1173 _init/_fini if they exist.
1174
1175 2005-01-06 Jeff Johnston <jjohnstn@redhat.com>
1176
1177 * libc/stdlib/strtod.c (_strtod_r): Add NaN support.
1178 * (strtof): Ditto.
1179 * libc/stdio/vfscanf.c (__svfscanf_r): Ditto.
1180 * Makefile.am (MATHOBJS_IN_LIBC): Add s_nan and sf_nan
1181 functions for use by strtod and strtof.
1182 * Makefile.in: Regenerated.
1183
1184 2005-01-06 Hans-Peter Nilsson <hp@axis.com>
1185
1186 * libc/stdio/ftell.c (ftell_r): Add parenthesis for __SWR
1187 bit-test in combination with NULL test.
1188
1189 2005-01-06 Hans-Peter Nilsson <hp@axis.com>
1190
1191 * README: Fix typo of LGPL. Change "license" to "copyright".
1192
1193 2004-12-17 Jeff Johnston <jjohnstn@redhat.com>
1194
1195 * NEWS: Update with 1.13.0 info.
1196 * README: Ditto.
1197 * acinclude.m4: Change version number to 1.13.0.
1198 * aclocal.m4: Regenerated.
1199 * configure: Ditto.
1200 * doc/aclocal.m4: Ditto.
1201 * doc/configure: Ditto.
1202 * libc/*/aclocal.m4: Ditto.
1203 * libc/*/configure: Ditto.
1204 * libc/libc.texinfo: Ditto.
1205 * libm/*/aclocal.m4: Ditto.
1206 * libm/*/configure: Ditto.
1207 * libm/libm.texinfo: Ditto.
1208 * libc/sys/linux/shared.ld: Add VERS_1.13.
1209
1210 2004-12-17 Christian Groessler <chris@groessler.org>
1211
1212 * libc/machine/z8k/memcmp.S: New file.
1213 * libc/machine/z8k/memcpy.S: Ditto.
1214 * libc/machine/z8k/memmove.S: Ditto.
1215 * libc/machine/z8k/memset.S: Ditto.
1216 * libc/machine/z8k/Makefile.am: Add new files.
1217 * libc/machine/z8k/Makefile.in: Regenerated.
1218 * libc/machine/z8k/setjmp.S: Fix indirect register usage in Z8002
1219 part. Implement Z8002 stdcall version.
1220
1221 2004-12-13 Jeff Johnston <jjohnstn@redhat.com>
1222
1223 * libc/stdio/fread.c (fread): For unbuffered I/O, attempt
1224 a low-level read if we don't get the full amount of bytes so
1225 EOF or error flags will be set.
1226
1227 2004-12-09 Alex Mogilnikov <alx@intellectronika.ru>
1228
1229 * libc/time/tzset_r (_tzset_r): Properly skip over
1230 '/' when it is detected.
1231
1232 2004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
1233
1234 * libc/time/tzset_r (_tzset_r): Fix loop.
1235
1236 2004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
1237
1238 * libc/time/mktm_r (_mktm_r): Fix overflow calculation for
1239 m_day.
1240 (__tzcalc_limits): Fix reference to month array to be zero-based.
1241
1242 2004-12-07 Jeff Johnston <jjohnstn@redhat.com>
1243
1244 * libc/sys/linux/sys/unistd.h: Add prototypes for ftruncate, truncate,
1245 and usleep.
1246
1247 2004-12-03 Jeff Johnston <jjohnstn@redhat.com>
1248
1249 * Makefile.am (libc_la_LDFLAGS): Add -lgcc to handle any
1250 libgcc dependencies.
1251 (libm_la_LDFLAGS): Ditto.
1252 * Makefile.in: Regenerated.
1253
1254 2004-12-03 Shaun Jackman <sjackman@gmail.com>
1255
1256 * libc/sys/linux/linuxthreads/Makefile.am (install-data-local): Fix
1257 our link to use readlink so as to preserve any relative link created
1258 by install-toollibLIBRARIES.
1259 * libc/sys/linux/linuxthreads/Makefile.in: Regenerated.
1260
1261 2004-12-02 Shaun Jackman <sjackman@gmail.com>
1262
1263 * libc/sys/linux/stdlib/glob.c: Include <sys/types.h> which defines
1264 time_t before including sys/stat.h, which uses it.
1265 * libc/sys/linux/sys/stat.h: Include <sys/types.h> and
1266 <linux/time.h> just prior to definition of __KERNEL__ so as to
1267 allow building on Debian Linux where otherwise, mktime would
1268 be redefined.
1269
1270 2004-11-26 Paul Brook <paul@codesourcery.com>
1271
1272 * libc/sys/arm/crt0.S (_start): Add .cantunwind annotation.
1273
1274 2004-11-24 Jeff Johnston <jjohnstn@redhat.com>
1275
1276 * libc/include/stdlib.h (putenv, _putenv_r): Change to remove
1277 const for value string parameter to match Single Unix and glibc.
1278 * libc/stdlib/putenv.c: Ditto.
1279 * libc/stdlib/putenv_r.c: Ditto.
1280
1281 2004-11-24 Jeff Johnston <jjohnstn@redhat.com>
1282
1283 * libc/stdio/Makefile.am: Fix missing vfscanf.
1284 * libc/stdio/Makefile.in: Regenerated.
1285
1286 2004-11-23 Jeff Johnston <jjohnstn@redhat.com>
1287
1288 * libc/include/stdio.h: Add new iprintf and iscanf variants. Also
1289 do some reordering.
1290 * libc/machine/powerpc/vfscanf.c: Remove __sccl function.
1291 * libc/stdio/Makefile.am: Add support for new iprintf and iscanf
1292 family functions.
1293 * libc/stdio/Makefile.in: Regenerated.
1294 * libc/stdio/fiprintf.c: Remove doc to siprintf.c.
1295 * libc/stdio/iprintf.c: Ditto.
1296 * libc/stdio/local.h (__svfiscanf_r): New prototype.
1297 * libc/stdio/siprintf.c: Add docs for various iprintf family functions.
1298 * libc/stdio/sniprintf.c: Move docs to siprintf.c.
1299 * libc/stdio/stdio.tex: Add new functions.
1300 * libc/stdio/vfscanf.c: Split out __sccl function to separate
1301 file and add special name defines so this file can be used
1302 to build vfiscanf.o.
1303 * libc/stdio/asiprintf.c: New file.
1304 * libc/stdio/fiscanf.c: Ditto.
1305 * libc/stdio/iscanf.c: Ditto.
1306 * libc/stdio/sccl.c: Ditto.
1307 * libc/stdio/siscanf.c: Ditto.
1308 * libc/stdio/vasiprintf.c: Ditto.
1309 * libc/stdio/viprintf.c: Ditto.
1310 * libc/stdio/viscanf.c: Ditto.
1311 * libc/stdio/vsiprintf.c: Ditto.
1312 * libc/stdio/vsiscanf.c: Ditto.
1313 * libc/stdio/vsniprintf.c: Ditto.
1314
1315 2004-11-19 Shaun Jackman <sjackman@gmail.com>
1316
1317 * libc/include/stdio.h: Add sniprintf.
1318 * libc/stdio/Makefile.am: Add sniprintf.c.
1319 * libc/stdio/Makefile.in: Regenerated.
1320 * libc/stdio/sniprintf.c: New file.
1321 * libc/stdio/stdio.tex: Add sniprintf.
1322
1323 2004-11-17 Christopher Faylor <cgf@timesys.com>
1324
1325 * libc/stdio/refill.c (__srefill): Try again after EOF on Cygwin. Clear
1326 EOF flag if successful.
1327
1328 2004-10-28 Christopher Faylor <cgf@timesys.com>
1329
1330 * libc/include/sys/signal.h: Move <signal.h> include to bottom of file
1331 so that all relevant definitions have been performed for use in the
1332 include.
1333
1334 2004-10-26 Jason Tishler <jason@tishler.net>
1335
1336 * libc/stdio/fread.c (fread): Fix return value for unbuffered
1337 fread.
1338
1339 2004-10-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
1340
1341 * libc/include/machine/setjmp.h: Add AVR support.
1342 * libc/sys/rtems/crt0.S [__AVR__]: Add __stack.
1343
1344 2004-10-08 Jeff Johnston <jjohnstn@redhat.com>
1345
1346 * libc/include/sys/signal.h: If <signal.h> didn't include
1347 this header file, include <signal.h> to account for
1348 applications that take advantage that the two header
1349 files are the same in glibc.
1350
1351 2004-10-05 Tomer Levi <Tomer.Levi@nsc.com>
1352
1353 * configure.host: Add support for crx.
1354 * libc/include/machine/ieeefp.h: Ditto.
1355 * libc/include/machine/setjmp.h: Ditto.
1356 * libc/machine/crx/Makefile.am: New file.
1357 * libc/machine/crx/configure.in: Ditto.
1358 * libc/machine/crx/setjmp.S: Ditto.
1359 * libc/machine/crx/getenv.c: Ditto.
1360 * libc/machine/crx/aclocal.m4: Generate.
1361 * libc/machine/crx/configure: Ditto.
1362 * libc/machine/crx/Makefile.in: Ditto.
1363 * libc/machine/crx/sys/asm.h: New file.
1364 * libc/machine/crx/sys/libh.h: Ditto.
1365 * libc/machine/crx/sys/syscall.h: Ditto.
1366
1367 2004-10-05 Jeff Johnston <jjohnstn@redhat.com>
1368
1369 * Makefile.am (stmp-targ-include): Support sys header files
1370 from machine directories.
1371 * Makefile.in: Regenerated.
1372
1373 2004-10-04 Jeff Johnston <jjohnstn@redhat.com>
1374
1375 * libc/stdio/vfscanf.c (__svfscanf_r): For int conversions,
1376 count skipped zero characters as part of the nread count for %n.
1377 * libc/machine/powerpc/vfscanf.c: Ditto.
1378
1379 2004-09-24 Jeff Johnston <jjohnstn@redhat.com>
1380
1381 * libc/stdio/local.h: Include <stdlib.h>.
1382
1383 2004-09-24 Corinna Vinschen <corinna@vinschen.de>
1384
1385 * libc/stdio/fread.c (fread): Include <malloc.h>.
1386
1387 2004-09-22 Jeff Johnston <jjohnstn@redhat.com>
1388
1389 * libc/stdio/fread.c (fread): For non-space-optimized case,
1390 add special code for unbuffered files to use user buffer and
1391 only require one low-level system read.
1392
1393 2004-09-21 Ian Lance Taylor <ian@wasabisystems.com>
1394
1395 * libc/machine/xscale/setjmp.S: New file, copied from
1396 libc/machine/arm/setjmp.S.
1397 * libc/machine/xscale/Makefile.am (lib_a_SOURCES): Add setjmp.S.
1398 * libc/machine/xscale/Makefile.in: Regenerate.
1399
1400 2004-09-16 Antony King <antony.king@st.com>
1401
1402 * libc/include/sys/lock.h: Replaced empty {} with (0) to conform
1403 with locking API.
1404 * libc/include/sys/stdio.h: (_flockfile)[!_SINGLE_THREAD]: Add
1405 check for__SSTR in _flags and if set, skip lock request.
1406 (_funlockfile)[!SINGLE_THREAD]: Ditto.
1407 * libc/stdio/local.h (CHECK_INIT): Added check that _REENT is
1408 not NULL.
1409 * libc/stdio/siprintf.c (siprintf, _siprintf_r): Added missing
1410 initialisation of _file to -1 in local FILE.
1411 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Ditto.
1412 * libc/stdio/sscanf.c (sscanf, _sscanf_r): Ditto.
1413 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
1414 * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
1415 * libc/stdio/sscanf.c (sscanf, _sscanf_r): Added __SSTR flag to
1416 _flags in local FILE to prevent locking.
1417 * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
1418
1419 2004-09-16 Antony King <antony.king@st.com>
1420
1421 * libc/stdio/fwalk.c (_fwalk): Remove check for _GLOBAL_REENT
1422 and only walk the reentrancy parameter.
1423 (_fwalk_reent): Ditto.
1424 * libc/stdlib/exit.c: Remove out of date _REENT_ONLY check.
1425
1426 2004-09-16 Antony King <antony.king@st.com>
1427
1428 * libc/stdio64/freopen64.c: Remove casting of fp lock to
1429 _LOCK_RECURSIVE_T.
1430
1431 2004-09-16 Antony King <antony.king@st.com>
1432
1433 * libc/time/tzlock.c: Add default stubs that use generic
1434 locking code.
1435
1436 2004-09-16 Antony King <antony.king@st.com>
1437
1438 * libc/ctype/ctype.tex: Added missing documentation.
1439 * libc/stdio/stdio.tex Ditto.
1440 * libc/stdlib/stdlib.tex Ditto.
1441 * libc/string/strings.tex Ditto.
1442 * libc/time/time.tex: Ditto.
1443 * libc/stdio/setbuffer.c: Removed setlinebuf documentation.
1444
1445 2004-09-15 Corinna Vinschen <vinschen@redhat.com>
1446
1447 * libc/reent/impure.c (reent_data): Define as alias to impure_data
1448 when building for Cygwin.
1449 * libc/include/sys/reent.h (_GLOBAL_REENT): Revert definition to
1450 _global_impure_ptr.
1451
1452 2004-09-15 Jeff Johnston <jjohnstn@redhat.com>
1453
1454 * configure.host: Reverting 2004-09-14 change as fix has occurred on
1455 Cygwin side.
1456 * configure.in: Ditto.
1457 * libc/configure.in: Ditto.
1458 * libc/sys/configure.in: Ditto.
1459 * configure: Ditto.
1460 * libc/configure: Ditto.
1461 * libc/sys/configure: Ditto.
1462 * libc/include/sys/reent.h: Ditto.
1463 * libc/stdlib/__atexit.c: Ditto.
1464 * libc/stdlib/__call_atexit.c: Ditto.
1465 * libc/stdlib/cxa_atexit.c: Ditto.
1466 * libc/stdlib/cxa_finalize.c: Ditto.
1467 * libc/sys/cygwin/Makefile.am: Removed again.
1468 * libc/sys/cygwin/Makefile.in: Ditto.
1469 * libc/sys/cygwin/aclocal.m4: Ditto.
1470 * libc/sys/cygwin/configure: Ditto.
1471 * libc/sys/cygwin/configure.in: Ditto.
1472 * libc/sys/cygwin/dummy.c: Ditto.
1473 * libc/sys/cygwin/sys/reent.h: Ditto.
1474
1475 2004-09-14 Jeff Johnston <jjohnstn@redhat.com>
1476
1477 * configure.host: Add Cygwin sys directory.
1478 * configure.in: Do not set CRT0 for cygwin.
1479 * libc/configure.in: Ditto.
1480 * libc/sys/configure.in: Ditto.
1481 * configure: Regenerated.
1482 * libc/configure: Ditto.
1483 * libc/sys/configure: Ditto.
1484 * libc/include/sys/reent.h: Add __REENT_HAS_CXA_SUPPORT flag.
1485 * libc/stdlib/__atexit.c: Keep cxa support protected by new
1486 __REENT_HAS_CXA_SUPPORT flag.
1487 * libc/stdlib/__call_atexit.c: Ditto.
1488 * libc/stdlib/cxa_atexit.c: Ditto.
1489 * libc/stdlib/cxa_finalize.c: Ditto.
1490 * libc/sys/cygwin/Makefile.am: New file.
1491 * libc/sys/cygwin/Makefile.in: Ditto.
1492 * libc/sys/cygwin/aclocal.m4: Ditto.
1493 * libc/sys/cygwin/configure: Ditto.
1494 * libc/sys/cygwin/configure.in: Ditto.
1495 * libc/sys/cygwin/dummy.c: Ditto.
1496 * libc/sys/cygwin/sys/reent.h: Ditto. This file is stabilized
1497 version of reent.h.
1498
1499 2004-09-13 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
1500
1501 * libc/iconv/iconv.tex: Updated with new content.
1502 * libc/iconv/lib/iconvnls.c: Reference ICONV_DEFAULT_NLSPATH
1503 instead of NLS_DEFAULT_NLSPATH.
1504 * libc/iconv/lib/iconvnls.h: Fix typo.
1505 * libc/include/sys/iconvnls.h: New file.
1506
1507 2004-09-09 Paul Brook <paul@codesourcery.com>
1508
1509 * libc/include/sys/reent.h (struct _on_exit_args): Add _dso_handle
1510 and _is_cxa.
1511 (struct _atexit): Add _next when _REENT_SMALL.
1512 (struct _reent): Add _atexit0 when _REENT_SMALL.
1513 (_REENT_INIT_PTR): Adjust.
1514 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add __atexit.c and
1515 __call_exit.c.
1516 (EXTENDED_SOURCES): Add cxa_atexit.c and cxa_finalize.c.
1517 * libc/stdlib/Makefile.in: Regenerate.
1518 * libc/stdlib/__atexit.c: New file.
1519 * libc/stdlib/__call_atexit.c: New file.
1520 * libc/stdlib/atexit.h: Remove old definitions. Add new.
1521 * libc/stdlib/atexit.c (atexit): Use __register_exitproc.
1522 * libc/stdlib/cxa_atexit.c: New file.
1523 * libc/stdlib/cxa_finalize.c: New file.
1524 * libc/stdlib/exit.c (exit): Use __call_exitprocs.
1525 * libc/stdlib/on_exit.c (on_exit): Use __register_exitproc.
1526 2004-09-09 Jeff Johnston <jjohnstn@redhat.com>
1527 * libc/reent/reent.c [_REENT_SMALL]: Fix reference to
1528 _on_exit_args_ptr.
1529
1530 2004-08-23 Jeff Johnston <jjohnstn@redhat.com>
1531
1532 * libc/include/sys/unistd.h (getpass): Change prototype to use
1533 const instead of __const.
1534
1535 2004-08-16 Nathan Sidwell <nathan@codesourcery.com>
1536
1537 * libc/stdio/vfscanf.c (_NO_LONGLONG): Move out of FLOATING_POINT
1538 #if.
1539
1540 2004-08-12 Jeff Johnston <jjohnstn@redhat.com>
1541
1542 * libc/sys/linux/sys/types.h (u64): New typedef to allow building
1543 on linux systems with glibc 2.3.3 installed.
1544 * libc/sys/linux/dl/dl-runtime.c: Fix prototypes for fixup and
1545 profile_fixup so newlib can build on fc3 system.
1546
1547 2004-07-30 Alexandre Oliva <aoliva@redhat.com>
1548
1549 Introduce SH2a support.
1550 2004-03-16 Corinna Vinschen <vinschen@redhat.com>
1551 * libc/include/machine/ieeefp.h: Define _DOUBLE_IS_32BITS for
1552 __SH2A_SINGLE_ONLY__, too.
1553 * libc/machine/sh/asm.h: Define DELAYED_BRANCHES for __SH2A__, too.
1554 2004-02-24 Corinna Vinschen <vinschen@redhat.com>
1555 * libc/sys/sh/crt0.S (start_l): Support sh2a-nofpu. Fix comments.
1556 2004-02-10 DJ Delorie <dj@redhat.com>
1557 * libc/sys/sh/crt0.S (start_l): Support sh2a.
1558
1559 2004-07-29 Jeff Johnston <jjohnstn@redhat.com>
1560
1561 * libc/time/strptime.c: Correct full-name of "March" typo.
1562
1563 2004-07-16 Anil Paranjpe <anilp1@kpitcummins.com>
1564
1565 * configure.host (h8300*-*-*): Default long long printing support.
1566
1567 2004-07-16 Jeff Johnston <jjohnstn@redhat.com>
1568
1569 * libc/stdio/fvwrite.c (_sfvwrite): For asprintf family
1570 calls, if realloc fails, free up buffer as it is no longer
1571 used.
1572
1573 2004-07-07 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
1574
1575 * libc/iconv/iconv.tex: Updated to represent recent changes.
1576 * libc/iconv/lib/iconv.c: Documentation updated.
1577
1578 2004-07-07 Nick Clifton <nickc@redhat.com>
1579
1580 * configure.host (newlib_cflags): Define PREFER_SIZE_OVER_SPEED
1581 for xStormy16.
1582
1583 2004-07-06 Chris Demetriou <cgd@broadcom.com>
1584
1585 * configure.host (mips*-*-elf*): Default long long printing
1586 support.
1587
1588 2004-07-05 Jeff Johnston <jjohnstn@redhat.com>
1589
1590 * libc/Makefile.am (libc.dvi): Add target and specify
1591 same dependencies as libc.info.
1592 * libc/Makefile.in: Regenerated.
1593 * libm/Makefile.am (libm.dvi): Add target and specify
1594 same dependencies as libm.info.
1595 * libm/Makefile.in: Regenerated.
1596
1597 2004-06-29 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
1598
1599 * acinclude.m4: Move --enable-newlib-iconv option back here.
1600 * configure.in: Remove --enable-newlib-iconv option. Don't
1601 tie iconv support to --enable-newlib-mb.
1602 * aclocal.m4: Regenerated.
1603 * configure: Ditto.
1604 * doc/aclocal.m4, doc/configure: Ditto.
1605 * iconvdata/aclocal.m4, iconvdata/configure: Ditto.
1606 * libm/*/aclocal.m4: Ditto.
1607 * libm/*/configure: Ditto.
1608 * libc/*/aclocal.m4: Ditto.
1609 * libc/*/configure: Ditto.
1610
1611 2004-06-25 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
1612
1613 * acinclude.m4: Move iconv options into configure.in.
1614 * aclocal.m4: Regenerated.
1615 * configure: Ditto.
1616 * configure.in: Add iconv options.
1617 * newlib.hin: Add new iconv encodings and remove deleted ones.
1618 * doc/aclocal.m4: Regenerated.
1619 * doc/configure: Ditto.
1620 * iconvdata/aclocal.m4: Ditto.
1621 * iconvdata/configure: Ditto.
1622 * libc/iconv: Design change. New size-optimized ccs format.
1623 * libc/iconv/AUTHORS: Removed.
1624 * libc/iconv/COPYING: Ditto.
1625 * libc/iconv/README.ORIGINAL: Ditto.
1626 * libc/iconv/README.TODO: Ditto.
1627 * libc/iconv/charset.aliases: Ditto.
1628 * libc/iconv/encoding.aliases: New file.
1629 * libc/iconv/Makefile.am: Updated.
1630 * libc/iconv/Makefile.in: Regenerated.
1631 * libc/iconv/iconv.tex: Updated.
1632 * libc/iconv/ccs/Makefile.am: Ditto.
1633 * libc/iconv/ccs/Makefile.in: Regenerated.
1634 * libc/iconv/ccs/big5.c: Updated.
1635 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
1636 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
1637 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
1638 * libc/iconv/ccs/cp775.c: Ditto.
1639 * libc/iconv/ccs/cp850.c: Ditto.
1640 * libc/iconv/ccs/cp852.c: Ditto.
1641 * libc/iconv/ccs/cp855.c: Ditto.
1642 * libc/iconv/ccs/cp866.c: Ditto.
1643 * libc/iconv/ccs/iso_8859_1.c: Ditto.
1644 * libc/iconv/ccs/README.CCS.SOURCES: Removed.
1645 * libc/iconv/ccs/gb_2312_80.c: Ditto.
1646 * libc/iconv/ccs/iconv_mktbl: Ditto.
1647 * libc/iconv/ccs/jis_x0201.c: Ditto.
1648 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
1649 * libc/iconv/ccs/shift_jis.c: Ditto.
1650 * libc/iconv/ccs/us_ascii.c: Ditto.
1651 * libc/iconv/ccs/ccs.h: New file.
1652 * libc/iconv/ccs/ccsbi.c: Ditto.
1653 * libc/iconv/ccs/ccsbi.h: Ditto.
1654 * libc/iconv/ccs/ccsnames.h: Ditto.
1655 * libc/iconv/ccs/iso_8859_10.c: Ditto.
1656 * libc/iconv/ccs/iso_8859_11.c: Ditto.
1657 * libc/iconv/ccs/iso_8859_13.c: Ditto.
1658 * libc/iconv/ccs/iso_8859_14.c: Ditto.
1659 * libc/iconv/ccs/iso_8859_3.c: Ditto.
1660 * libc/iconv/ccs/iso_8859_6.c: Ditto.
1661 * libc/iconv/ccs/iso_8859_7.c: Ditto.
1662 * libc/iconv/ccs/iso_8859_8.c: Ditto.
1663 * libc/iconv/ccs/iso_8859_9.c: Ditto.
1664 * libc/iconv/ccs/iso_ir_111.c: Ditto.
1665 * libc/iconv/ccs/jis_x0201_1976.c: Ditto.
1666 * libc/iconv/ccs/jis_x0208_1990.c: Ditto.
1667 * libc/iconv/ccs/koi8_ru.c: Ditto.
1668 * libc/iconv/ccs/koi8_uni.c: Ditto.
1669 * libc/iconv/ccs/mktbl.pl: Ditto.
1670 * libc/iconv/ccs/win_1250.c: Ditto.
1671 * libc/iconv/ccs/win_1251.c: Ditto.
1672 * libc/iconv/ccs/win_1252.c: Ditto.
1673 * libc/iconv/ccs/win_1253.c: Ditto.
1674 * libc/iconv/ccs/win_1254.c: Ditto.
1675 * libc/iconv/ccs/win_1255.c: Ditto.
1676 * libc/iconv/ccs/win_1256.c: Ditto.
1677 * libc/iconv/ccs/win_1257.c: Ditto.
1678 * libc/iconv/ccs/win_1258.c: Ditto.
1679 * libc/iconv/ccs/iso_8859_15.c: Updated.
1680 * libc/iconv/ccs/iso_8859_2.c: Ditto.
1681 * libc/iconv/ccs/iso_8859_4.c: Ditto.
1682 * libc/iconv/ccs/iso_8859_5.c: Ditto.
1683 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
1684 * libc/iconv/ccs/koi8_r.c: Ditto.
1685 * libc/iconv/ccs/koi8_u.c: Ditto.
1686 * libc/iconv/ccs/ksx1001.c: Ditto.
1687 * libc/iconv/ccs/binary/gb_2312_80.cct: Removed.
1688 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
1689 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
1690 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
1691 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
1692 * libc/iconv/ccs/binary/Makefile.am: Updated.
1693 * libc/iconv/ccs/binary/Makefile.in: Regenerated.
1694 * libc/iconv/ccs/binary/big5.cct: Updated.
1695 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
1696 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
1697 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
1698 * libc/iconv/ccs/binary/cp775.cct: Updated.: Ditto.
1699 * libc/iconv/ccs/binary/cp850.cct: Ditto.: Ditto.
1700 * libc/iconv/ccs/binary/cp852.cct: Ditto.: Ditto.
1701 * libc/iconv/ccs/binary/cp855.cct: Ditto.: Ditto.
1702 * libc/iconv/ccs/binary/cp866.cct: Ditto.: Ditto.
1703 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
1704 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
1705 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
1706 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
1707 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
1708 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
1709 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
1710 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
1711 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
1712 * libc/iconv/ccs/binary/iso_8859_10.cct: New file.
1713 * libc/iconv/ccs/binary/iso_8859_11.cct: Ditto.
1714 * libc/iconv/ccs/binary/iso_8859_13.cct: Ditto.
1715 * libc/iconv/ccs/binary/iso_8859_14.cct: Ditto.
1716 * libc/iconv/ccs/binary/iso_8859_3.cct: Ditto.
1717 * libc/iconv/ccs/binary/iso_8859_6.cct: Ditto.
1718 * libc/iconv/ccs/binary/iso_8859_7.cct: Ditto.
1719 * libc/iconv/ccs/binary/iso_8859_8.cct: Ditto.
1720 * libc/iconv/ccs/binary/iso_8859_9.cct: Ditto.
1721 * libc/iconv/ccs/binary/iso_ir_111.cct: Ditto.
1722 * libc/iconv/ccs/binary/jis_x0201_1976.cct: Ditto.
1723 * libc/iconv/ccs/binary/jis_x0208_1990.cct: Ditto.
1724 * libc/iconv/ccs/binary/koi8_ru.cct: Ditto.
1725 * libc/iconv/ccs/binary/koi8_uni.cct: Ditto.
1726 * libc/iconv/ccs/binary/win_1250.cct: Ditto.
1727 * libc/iconv/ccs/binary/win_1251.cct: Ditto.
1728 * libc/iconv/ccs/binary/win_1252.cct: Ditto.
1729 * libc/iconv/ccs/binary/win_1253.cct: Ditto.
1730 * libc/iconv/ccs/binary/win_1254.cct: Ditto.
1731 * libc/iconv/ccs/binary/win_1255.cct: Ditto.
1732 * libc/iconv/ccs/binary/win_1256.cct: Ditto.
1733 * libc/iconv/ccs/binary/win_1257.cct: Ditto.
1734 * libc/iconv/ccs/binary/win_1258.cct: Ditto.
1735 * libc/iconv/ces/Makefile.am: Updated.
1736 * libc/iconv/ces/Makefile.in: Regenerated.
1737 * libc/iconv/ces/ucs-2-internal.c: Updated.
1738 * libc/iconv/ces/ucs-4-internal.c: Ditto.
1739 * libc/iconv/ces/utf-16.c: Ditto.
1740 * libc/iconv/ces/utf-8.c: Ditto.
1741 * libc/iconv/ces/cesbi.c: New file.
1742 * libc/iconv/ces/cesbi.h: Ditto.
1743 * libc/iconv/ces/cesdeps.h: Ditto.
1744 * libc/iconv/ces/euc.c: Ditto.
1745 * libc/iconv/ces/mkdeps.pl: Ditto.
1746 * libc/iconv/ces/table-pcs.c: Ditto.
1747 * libc/iconv/ces/table.c: Ditto.
1748 * libc/iconv/ces/ucs-2.c: Ditto.
1749 * libc/iconv/ces/ucs-4.c: Ditto.
1750 * libc/iconv/ces/us-ascii.c: Ditto.
1751 * libc/iconv/ces/euc-jp.c: Removed.
1752 * libc/iconv/ces/euc-kr.c: Ditto.
1753 * libc/iconv/ces/euc-tw.c: Ditto.
1754 * libc/iconv/ces/gb2312.c: Ditto.
1755 * libc/iconv/ces/iso-10646-ucs-2.: Ditto.c
1756 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
1757 * libc/iconv/lib/Makefile.am: Updated.
1758 * libc/iconv/lib/Makefile.in: Regenerated.
1759 * libc/iconv/lib/endian.h: Updated.
1760 * libc/iconv/lib/iconv.c: Ditto.
1761 * libc/iconv/lib/local.h: Ditto.
1762 * libc/iconv/lib/aliases.c: Removed.
1763 * libc/iconv/lib/bialiasesi.c: Ditto.
1764 * libc/iconv/lib/biccs.c: Ditto.
1765 * libc/iconv/lib/bices.c: Ditto.
1766 * libc/iconv/lib/ccs.c: Ditto.
1767 * libc/iconv/lib/ces.c: Ditto.
1768 * libc/iconv/lib/ces_euc.c: Ditto.
1769 * libc/iconv/lib/ces_iso2022.c: Ditto.
1770 * libc/iconv/lib/ces_table.c: Ditto.
1771 * libc/iconv/lib/converter.c: Ditto.
1772 * libc/iconv/lib/deps.h: Ditto.
1773 * libc/iconv/lib/loaddata.c: Ditto.
1774 * libc/iconv/lib/aliasesbi.c: New file.
1775 * libc/iconv/lib/aliasesi.c: Ditto.
1776 * libc/iconv/lib/conv.h: Ditto.
1777 * libc/iconv/lib/encnames.h: Ditto.
1778 * libc/iconv/lib/encoding.deps: Ditto.
1779 * libc/iconv/lib/iconvnls.c: Ditto.
1780 * libc/iconv/lib/iconvnls.h: Ditto.
1781 * libc/iconv/lib/nullconv.c: Ditto.
1782 * libc/iconv/lib/ucsconv.c: Ditto.
1783 * libc/iconv/lib/ucsconv.h: Ditto.
1784 * libc/include/iconv.h: Update copyright.
1785 * libc/*/aclocal.m4: Regenerated.
1786 * libc/*/configure: Ditto.
1787 * libm/*/aclocal.m4: Ditto.
1788 * libm/*/configure: Ditto.
1789
1790 2004-06-22 Alexandre Oliva <aoliva@redhat.com>
1791
1792 * libc/include/machine/setjmp.h [__H8300__] (_JBTYPE): Define,
1793 instead of typedefing jmp_buf.
1794
1795 2003-07-02 Richard Sandiford <rsandifo@redhat.com>
1796 * libc/machine/h8300/Makefile.am (lib_a_SOURCES): Add h8sx_strcpy.S.
1797 * libc/machine/h8300/defines.h (LEN): New macro.
1798 * libc/machine/h8300/memcpy.S: Add h8sx version.
1799 * libc/machine/h8300/memset.S: Likewise.
1800 * libc/machine/h8300/strcmp.S: Likewise.
1801 * libc/machine/h8300/setjmp.S: Use h8sx move instructions.
1802 * libc/machine/h8300/h8sx_strcpy.S: New file.
1803 2003-06-30 Richard Sandiford <rsandifo@redhat.com>
1804 * libc/include/machine/ieeefp.h: Extend __H8300S__ handling to
1805 __H8300SX__.
1806 * libc/include/machine/setjmp.h: Likewise.
1807 * libc/include/sys/config.h: Likewise.
1808 * libc/machine/h8300/defines.h: Likewise.
1809 * libc/machine/h8300/setjmp.S: Likewise.
1810 * libc/machine/h8300/strcmp.S: Likewise.
1811 * libc/sys/h8300hms/close.S: Likewise.
1812 * libc/sys/h8300hms/fstat.S: Likewise.
1813 * libc/sys/h8300hms/lseek.S: Likewise.
1814 * libc/sys/h8300hms/read.S: Likewise.
1815 * libc/sys/h8300hms/write.S: Likewise.
1816 * libc/sys/h8300hms/crt0.S: Likewise.
1817 * libc/machine/h8300/setarch.h: Use .h8300sx or .h8300sxn if
1818 __H8300SX__ is defined.
1819 * libc/sys/h8300hms/setarch.h: Likewise.
1820
1821 2004-06-17 Jeff Johnston <jjohnstn@redhat.com>
1822
1823 * libc/include/sys/reent.h (_GLOBAL_REENT): Back
1824 out change which set _GLOBAL_REENT to _global_impure_ptr until
1825 we understand why Cygwin breaks because of it.
1826
1827 2004-06-14 Jeff Johnston <jjohnstn@redhat.com>
1828
1829 * libc/sys/linux/machine/i386/syscall.h: For now, set up
1830 __syscall_return macro for systems with vsyscall.
1831
1832 2004-06-11 Antony King <antony.king@st.com>
1833
1834 * libc/include/sys/_types.h: Include <sys/lock.h> and change
1835 _flock_t to be of type _LOCK_RECURSIVE_T.
1836 * libc/include/sys/reent.h: (_REENT_INIT): Reformat.
1837 (_REENT_INIT_PTR): Ditto. Use memset where appropriate.
1838 (_global_impure_ptr): New declaration.
1839 (_GLOBAL_REENT): Change to be _global_impure_ptr.
1840 * libc/include/sys/stdio.h: Include <sys/lock.h> and
1841 <sys/reent.h>.
1842 (_flockfile)[!_SINGLE_THREAD]: Add code for lock call.
1843 (_funlockfile)[!SINGLE_THREAD]: Ditto.
1844 * libc/reent/impure.c: Set _global_impure_ptr to _impure_ptr.
1845 * libc/stdio/fclose.c: Remove casting of fp lock to
1846 _LOCK_RECURSIVE_T.
1847 * libc/stdio/findfp.c: Ditto.
1848 * libc/stdio/fopen.c: Ditto.
1849 * libc/stdio/freopen.c: Ditto.
1850 * libc/stdio/vfprintf.c: Ditto.
1851 * libc/stdio64/fopen64.c: Ditto.
1852 * libc/stdlib/envlock.c: Add default stubs that use generic
1853 locking code.
1854 * libc/stdlib/mlock.c: Ditto.
1855
1856 Jeff Johnston <jjohnstn@redhat.com>
1857 * libc/sys/linux/sys/_types.h (__flock_mutex_t): New subtype.
1858 (_flock_t): Change to be a struct containing a single member
1859 named mutex which is of type __flock_mutex_t.
1860
1861 2004-06-09 Jeff Johnston <jjohnstn@redhat.com>
1862
1863 * libc/sys/linux/Makefile.am: Change siglist.inc to be generated
1864 from /usr/include/asm/signal.h instead of kernel sources. Also
1865 default max to 32 if not found in header file.
1866 * libc/sys/linux/Makefile.in: Regenerated.
1867 * libc/sys/linux/machine/i386/socketcall.h: Fix for Fedora Core 2
1868 systems where __syscall_return is not defined.
1869 * libc/sys/linux/machine/i386/syscall.h: Change for Fedora Core 2
1870 systems to use syscall() function instead of assembler interrupt.
1871
1872 2004-06-09 Toralf Lund <toralf@procaptura.com>
1873
1874 * libc/sys/arm/setjmp.S, libc/sys/arm/access.c: Move
1875 files from libc/sys/arm to libc/machine/arm.
1876 * libc/machine/arm/Makefile.am, libc/machine/arm/Makefile.in: Add
1877 library build support for files moved from libc/sys/arm.
1878 * libc/sys/arm/Makefile.am, libc/sys/arm/Makefile.in: Remove
1879 references to access and setjmp.
1880 * configure.host: Add checks for newlib_may_supply_syscalls to
1881 determine whether or not to use sys/arm directory and use
1882 special compiler flags: ARM_RDI_MONITOR and ARM_RDP_MONITOR.
1883
1884 2004-06-02 Jeff Johnston <jjohnstn@redhat.com>
1885
1886 * libc/stdio/vfscanf.c (__svfscanf_r): For CT_INT conversions,
1887 reset digit flags appropriately after we have discovered "0x".
1888 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
1889
1890 2004-05-27 Jeff Johnston <jjohnstn@redhat.com>
1891
1892 * libc/stdio/vfprintf.c (_VFPRINTF): Move file locking
1893 from here ...
1894 (_VFPRINTF_R): ... to here so all I/O printf routines
1895 are covered.
1896
1897 2004-05-26 Jeff Johnston <jjohnstn@redhat.com>
1898
1899 * libc/search/hash_buf.c: Protect MAX and MIN macros from
1900 redefinition.
1901 * libc/search/hash.c: Ditto.
1902
1903 2004-05-25 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1904
1905 * newlib.hin: (_WANT_IO_POS_ARGS): New define.
1906 (_WANT_IO_LONG_LONG): Ditto.
1907 (_WANT_IO_LONG_DOUBLE): Ditto.
1908 * configure.in: Add new configuration options
1909 --enable-newlib-io-long-long and --enable-newlib-io-long-double
1910 which tie to new defines in newlib.hin.
1911 * configure: Regenerated.
1912 * configure.host: Add checks for new configuration options. Also
1913 fix up check for --enable-newlib-io-pos-args so configuration
1914 option will override any default for a given platform.
1915 Remove defining compiler flags for the _WANT_IO* options.
1916 * libc/stdio/vfprintf.c: Change to use new newlib.hin defines
1917 instead of looking for old compiler flags.
1918 * libc/stdio/vfscanf.c: Ditto.
1919 * libc/stdio/vfieeefp.h: Ditto.
1920 * libc/machine/powerpc/vfprintf.c: Ditto.
1921 * libc/machine/powerpc/vfscanf.c: Ditto.
1922
1923 2004-05-25 Jeff Johnston <jjohnstn@redhat.com>
1924
1925 * testsuite/include/check.h: Add include of <stdio.h>.
1926
1927 2004-05-17 Corinna Vinschen <corinna@vinschen.de>
1928
1929 * libc/include/grp.h: Declare getgrnam_r and getgrgid_r also on Cygwin.
1930
1931 2004-05-11 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1932
1933 * libc/stdio/vfprintf.c (VFPRINTF_R): Use _free_r instead
1934 of free.
1935
1936 2004-05-07 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1937
1938 * libc/stdio/iprintf.c (_iprintf_r): Fix old-style argument
1939 list for reentrant pointer. Call _vfiprintf_r.
1940 * libc/stdio/siprintf.c (_siprintf_r): New function.
1941 * libc/stdio/vfprintf.c (__sbprintf): Add reetrant struct
1942 pointer argument. Change all callers. Call _VFPRINTF_R.
1943 * libc/include/stdio.h (_siprintf_r, _vfiprintf_r): New
1944 prototypes.
1945
1946 2004-05-07 Jeff Johnston <jjohnstn@redhat.com>
1947
1948 * libc/include/sys/param.h: Remove endian info and include
1949 <machine/endian.h> instead.
1950 * libc/include/machine/endian.h: New file.
1951 * libc/include/machine/param.h: Ditto.
1952 * libc/machine/arm/machine/endian.h: Ditto.
1953 * libc/machine/arm/machine/param.h: Ditto.
1954 * libc/sys/arm/sys/param.h: Removed.
1955 * libc/sys/sysvi386/sys/param.h: Ditto.
1956 * libc/sys/rtems/sys/param.h: Modified to include <machine/endian.h>.
1957
1958 2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1959
1960 * libc/stdio/vfprintf.c (_VFPRINTF_R): Set error flag when
1961 multibyte functions return failure for %C, %S, %lc, and %ls
1962 format specifiers.
1963
1964 2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1965
1966 * testsuite/include/check.h (CHECK): Add flush of stdout.
1967
1968 2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1969
1970 * libc/include/stdio.h (_ungetc_r): New prototype.
1971 * libc/stdio/ungetc.c (_ungetc_r): New reentrant function.
1972 (__submore): Add reentrant struct pointer argument.
1973 (ungetc): Change to call _ungetc_r.
1974
1975 2004-04-28 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1976
1977 * libc/stdio/local.h (_fwalk_reent): Specify prototype of
1978 function pointer argument.
1979 * libc/stdio/fwalk.c (_fwalk, _fwalk_reent): Change prototypes
1980 to specify function pointer arguments.
1981 (__fwalk, __fwalk_reent): Ditto.
1982
1983 2004-04-26 Aldy Hernandez <aldyh@redhat.com>
1984
1985 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Fix typo in
1986 CT_INT case.
1987
1988 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1989
1990 * configure.in: Define _MB_CAPABLE if mb supported.
1991 * configure: Regenerated.
1992 * configure.host: Remove manual setting of MB_CAPABLE compiler
1993 flag.
1994 * newlib.hin: Add _MB_CAPABLE flag.
1995 * libc/ctype/iswalpha.c, libc/ctype/iswblank.c: Include <newlib.h>
1996 and check for _MB_CAPABLE flag instead of MB_CAPABLE.
1997 * libc/ctype/iswcntrl.c, libc/ctype/iswprint.c: Ditto.
1998 * libc/ctype/iswpunct.c, libc/ctype/iswspace.c: Ditto.
1999 * libc/ctype/jp2uc.c: Ditto.
2000 * libc/ctype/towlower.c, libc/ctype/towupper.c: Ditto.
2001 * libc/locale/locale.c: Ditto
2002 * libc/machine/powerpc/vfscanf.c: Ditto
2003 * libc/stdio/vfprintf.c, libc/stdio/vfscanf.c: Ditto
2004 * libc/stdlib/mblen.c: Ditto
2005 * libc/stdlib/mblen_r.c, libc/stdlib/mbrlen.c: Ditto
2006 * libc/stdlib/mbrtowc.c, libc/stdlib/mbsrtowcs.c: Ditto
2007 * libc/stdlib/mbstowcs.c, libc/stdlib/mbtowc.c: Ditto
2008 * libc/stdlib/mbtowc_r.c, libc/stdlib/wcrtomb.c: Ditto
2009 * libc/stdlib/wcsrtombs.c, libc/stdlib/wcstombs.c: Ditto
2010 * libc/stdlib/wctomb.c, libc/sys/linux/intl/dcigettext.c: Ditto
2011 * libc/sys/linux/intl/explodename.c: Ditto
2012 * libc/sys/linux/intl/finddomain.c: Ditto
2013 * libc/sys/linux/intl/l10nflist.c: Ditto
2014 * libc/sys/linux/intl/loadmsgcat.c: Ditto
2015 * libc/sys/linux/intl/localealias.c: Ditto
2016
2017 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
2018
2019 * libc/machine/powerpc/vfscanf.c (NNZDIGITS): New define.
2020 (__svfscanf_r): In integer conversions, leave out leading zeroes
2021 which are not part of a base prefix.
2022 Keep track of width truncation to fit into buf, not counting left-out
2023 zeroes against width till the truncation has been compensated for.
2024 This is based on Joern's patch of 04/21 for libc/stdio/vfscanf.c.
2025
2026 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
2027
2028 * libc/include/stdio.h: (_ftell_r, _fseek_r): New prototypes.
2029
2030 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
2031
2032 * libc/stdio/asprintf.c libc/stdio/clearerr.c,
2033 libc/stdio/fclose.c libc/stdio/fcloseall.c libc/stdio/fdopen.c,
2034 libc/stdio/feof.c libc/stdio/ferror.c libc/stdio/fflush.c,
2035 libc/stdio/fgetc.c libc/stdio/fgetpos.c libc/stdio/fgets.c,
2036 libc/stdio/fileno.c libc/stdio/findfp.c libc/stdio/fiprintf.c,
2037 libc/stdio/flags.c libc/stdio/fopen.c libc/stdio/fprintf.c,
2038 libc/stdio/fputc.c libc/stdio/fputs.c libc/stdio/fread.c,
2039 libc/stdio/freopen.c libc/stdio/fscanf.c libc/stdio/fseek.c,
2040 libc/stdio/fseeko.c libc/stdio/fsetpos.c libc/stdio/ftell.c,
2041 libc/stdio/ftello.c libc/stdio/fvwrite.c libc/stdio/fwalk.c,
2042 libc/stdio/fwrite.c libc/stdio/getc.c libc/stdio/getc_u.c,
2043 libc/stdio/getchar.c libc/stdio/getchar_u.c,
2044 libc/stdio/getdelim.c libc/stdio/getline.c libc/stdio/gets.c,
2045 libc/stdio/getw.c libc/stdio/iprintf.c libc/stdio/local.h,
2046 libc/stdio/makebuf.c libc/stdio/mktemp.c libc/stdio/perror.c,
2047 libc/stdio/printf.c libc/stdio/putc.c libc/stdio/putc_u.c,
2048 libc/stdio/putchar.c libc/stdio/putchar_u.c libc/stdio/puts.c,
2049 libc/stdio/putw.c libc/stdio/refill.c libc/stdio/remove.c,
2050 libc/stdio/rename.c libc/stdio/rewind.c libc/stdio/rget.c,
2051 libc/stdio/scanf.c libc/stdio/setbuf.c libc/stdio/setbuffer.c,
2052 libc/stdio/setlinebuf.c libc/stdio/setvbuf.c,
2053 libc/stdio/siprintf.c libc/stdio/snprintf.c,
2054 libc/stdio/sprintf.c libc/stdio/sscanf.c libc/stdio/stdio.c,
2055 libc/stdio/tmpfile.c libc/stdio/tmpnam.c libc/stdio/ungetc.c,
2056 libc/stdio/vasprintf.c libc/stdio/vfieeefp.h,
2057 libc/stdio/vfprintf.c libc/stdio/vfscanf.c,
2058 libc/stdio/vprintf.c libc/stdio/vscanf.c,
2059 libc/stdio/vsnprintf.c libc/stdio/vsprintf.c,
2060 libc/stdio/vsscanf.c libc/stdio/wbuf.c,
2061 libc/stdio/wsetup.c: Perform minor formatting changes. Move
2062 copyright notices to top of file, ensure that <_ansi.h> is
2063 included, be consistent with open parentheses, use _DEFUN macro,
2064 include "local.h" where needed, and remove various compiler
2065 warnings.
2066
2067 2004-04-21 J"orn Rennecke <joern.rennecke@superh.com>
2068
2069 * libc/stdio/vfscanf.c (NNZDIGITS): New define.
2070 (__svfscanf_r): In integer conversions, leave out leading zeroes
2071 which are not part of a base prefix.
2072 Keep track of width truncation to fit into buf, not counting left-out
2073 zeroes against width till the truncation has been compensated for.
2074
2075 2004-04-20 Corinna Vinschen <corinna@vinschen.de>
2076
2077 * libc/include/sys/unistd.h (ttyname_r): Add missing comma.
2078
2079 2004-04-20 Corinna Vinschen <corinna@vinschen.de>
2080
2081 * libc/include/sys/unistd.h (ttyname_r): Add declaration for Cygwin.
2082
2083 2004-04-10 Corinna Vinschen <corinna@vinschen.de>
2084
2085 * libc/include/sys/unistd.h (sync): Define void on Cygwin according
2086 to SUSv3.
2087
2088 2004-04-08 Artem B. Bityuckiy <abitytsky@softminecorp.com>
2089
2090 * libc/stdio/fclose.c (_fclose_r): New function.
2091 * libc/stdio/freopen.c (_freopen_r): Call _fclose_r.
2092 * libc/stdio/fcloseall.c (_fcloseall_r): Call _fwalk_reent.
2093 * libc/stdio64/freopen64.c (_freopen64_r): Use _fclose_r.
2094 * libc/include/stdio.h (_fclose_r): New prototype.
2095 * libc/stdio/fopen.c: Fix typo in comment.
2096
2097 2004-04-08 Jeff Johnston <jjohnstn@redhat.com>
2098
2099 * libc/stdio/fwalk.c (_fwalk_reent): New version of _fwalk
2100 to handle _r reentrant functions.
2101
2102 2004-04-08 Eric Christopher <echristo@redhat.com>
2103
2104 * libc/include/machine/setjmp.h: Fix endif locations.
2105
2106 2004-04-01 Artem B. Bityuckiy <abitytsky@softminecorp.com>
2107
2108 * libc/time/strptime.c: Add standard includes to avoid
2109 warning messages at compilation time.
2110
2111 2004-04-01 Jeff Johnston <jjohnstn@redhat.com>
2112
2113 * libc/stdio/vfscanf.c (__svfscanf_r): Add locking/unlocking
2114 of file.
2115
2116 2004-03-30 Jeff Johnston <jjohnstn@redhat.com>
2117
2118 * libc/machine/h8300/Makefile.am: Reformat slightly.
2119 * libc/machine/h8300/Makefile.in: Regenerate.
2120
2121 2004-03-30 Thomas Pfaff <tpfaff@gmx.net>
2122
2123 * libc/stdio/findfp.c (__fp_lock_all): Add call to
2124 __sfp_lock_acquire.
2125 (__fp_unlock_all): Add call to __sfp_lock_release.
2126
2127 2004-03-25 Thomas Pfaff <tpfaff@gmx.net>
2128
2129 * libc/stdio/fclose.c (fclose): Protect file pointer list when
2130 releasing a file.
2131 * libc/stdio/fcloseall.c (_fcloseall_r): Close all files via
2132 fwalk.
2133 * libc/stdio/fdopen.c (_fdopen_r): Add calls to
2134 _flockfile/_funlockfile.
2135 * libc/stdio/findfp.c: Move __sfp_lock. Change __sfp_lock type
2136 to recursive.
2137 Change __lock_acquire/__lock_release calls for __sfp_lock to
2138 __sfp_lock_acquire/__sfp_lock_release throughout.
2139 (std): Make sure that file lock is only initialized once.
2140 (__sfp): Move _file initialization. Initialize file lock.
2141 (__sfp_lock_acquire): New function.
2142 (__sfp_lock_release): Ditto.
2143 (__fp_lock_all): Remove __sfp_lock_acquire call.
2144 (__fp_unlock_all): Remove __sfp_lock_release call.
2145 * libc/stdio/fopen.c (_fopen_r): Protect file pointer list.
2146 Add calls to _flockfile/_funlockfile. Remove
2147 __lock_init_recursive call.
2148 * libc/stdio/freopen.c (_freopen_r): Protect file pointer list.
2149 * libc/stdio/fwalk.c (__fwalk): New static function.
2150 (_fwalk): Protect file pointer list. Use __fwalk to walk through
2151 file pointers.
2152 * libc/stdio/local.h: Add defines for
2153 __sfp_lock_acquire/__sfp_lock_release when
2154 single threaded. Add function prototypes otherwise.
2155 * libc/stdio64/fdopen64.c (_fdopen64_r): Add calls to
2156 _flockfile/_funlockfile.
2157 * libc/stdio/fopen64.c (_fopen64_r): Protect file pointer list.
2158 Add calls to _flockfile/_funlockfile. Remove
2159 __lock_init_recursive call.
2160 * libc/stdio/freopen64.c (_freopen64_r): Protect file pointer
2161 list.
2162
2163 2004-03-25 Jeff Johnston <jjohnstn@redhat.com>
2164
2165 * libc/sys/linux/sys/lock.h: Turn on __USE_GNU flag if not already
2166 defined. Change __LOCK_RECURSIVE_INIT to be __LOCK_INIT_RECURSIVE.
2167 * libc/sys/linux/dl/dl-support.c: Change __LOCK_RECURSIVE_INIT
2168 to be __LOCK_INIT_RECURSIVE.
2169
2170 2004-03-11 Kazu Hirata <kazu@cs.umass.edu>
2171
2172 * libc/sys/h8300hms/Makefile.am (lib_a_SOURCES): Replace
2173 _exit.c with _exit.S.
2174 * libc/sys/h8300hms/Makefile.in: Regenerate.
2175 * libc/sys/h8300hms/_exit.c: Remove.
2176 * libc/sys/h8300hms/_exit.S: New.
2177
2178 2004-03-09 Thomas Pfaff <tpfaff@gmx.net>
2179
2180 * libc/stdio/findfp.c (__sfp): Rename lock to __sfp_lock.
2181 Change __sfp_lock to static global.
2182 (__fp_lock): New static function.
2183 (__fp_unlock): Ditto.
2184 (__fp_lock_all): New function.
2185 (__fp_unlock_all): Ditto.
2186
2187 2004-02-10 Christopher Faylor <cgf@redhat.com>
2188
2189 * libm/mathfp/er_gamma.c (gamma): Add new non-reentrant function.
2190 * libm/mathfp/er_lgamma.c (lgamma): Ditto.
2191 * libm/mathfp/erf_gamma.c (gammaf): Ditto.
2192 * libm/mathfp/erf_lgamma.c (lgammaf): Ditto.
2193
2194 2004-02-09 Christopher Faylor <cgf@redhat.com>
2195
2196 * libc/include/time.h (TIMER_RELTIME): New define.
2197
2198 2004-02-09 Jeff Johnston <jjohnstn@redhat.com>
2199
2200 * libc/stdlib/Makefile.am: Add mallstatsr to LIBADD_OBJS.
2201 * libc/stdlib/Makefile.in: Regenerated.
2202
2203 2004-02-08 Christopher Faylor <cgf@redhat.com>
2204
2205 * libc/include/sys/features.h: Add _POSIX_TIMERS define for __CYGWIN__.
2206 * libc/include/sys/reent.h (__getreent): Protect against possibly being
2207 defined.
2208 * libc/include/sys/unistd.h (fdatasync): Don't define for __CYGWIN__.
2209
2210 2004-02-05 Paul Brook <paul@codesourcery.com>
2211
2212 * libc/include/machine/ieeefp.h[__arm__][__VFP_FP__]: Set
2213 IEEE_{BIG,LITTLE} based on __ARMEL__ flag.
2214
2215 2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
2216
2217 * NEWS: Update with 1.12.0 info.
2218 * README: Ditto.
2219 * acinclude.m4: Change version number to 1.12.0.
2220 * aclocal.m4: Regenerated.
2221 * configure: Ditto.
2222 * doc/aclocal.m4: Ditto.
2223 * doc/configure: Ditto.
2224 * libc/*/aclocal.m4: Ditto.
2225 * libc/*/configure: Ditto.
2226 * libc/libc.texinfo: Ditto.
2227 * libm/*/aclocal.m4: Ditto.
2228 * libm/*/configure: Ditto.
2229 * libm/libm.texinfo: Ditto.
2230 * libc/sys/linux/shared.ld: Add VERS_1.12.
2231
2232 2004-02-02 Joel Sherrill <joel@oarcorp.com>
2233
2234 * configure.host: Add support for tic4x.
2235 * libc/include/machine/ieeefp.h: Ditto.
2236 * libc/include/machine/setjmp.h: Ditto.
2237 * libc/machine/tic4x/Makefile.am: New file.
2238 * libc/machine/tic4x/configure.in: Ditto.
2239 * libc/machine/tic4x/setjmp.S: Ditto.
2240 * libc/machine/tic4x/aclocal.m4: Generated.
2241 * libc/machine/tic4x/configure: Ditto.
2242 * libc/machine/tic4x/Makefile.in: Ditto.
2243
2244 2004-01-30 Jeff Johnston <jjohnstn@redhat.com>
2245
2246 * libc/stdio/fwalk.c (_fwalk.c): Don't traverse the
2247 file chain on the passed in reentrancy struct if it
2248 is _GLOBAL_REENT.
2249
2250 2004-01-30 Artem B. Bityuckiy <abitytsky@softminecorp.com>
2251 Jeff Johnston <jjohnstn@redhat.com>
2252
2253 * libc/iconv/iconv.tex: Updated with more information.
2254
2255 2004-01-30 Thomas Pfaff <tpfaff@gmx.net>
2256 Jeff Johnston <jjohnstn@redhat.com>
2257
2258 * libc/stdio/fwalk.c (_fwalk): Traverse the given reentrancy
2259 struct for std streams and traverse the global reeentrancy
2260 struct for all other streams.
2261
2262 2004-01-27 Jeff Johnston <jjohnstn@redhat.com>
2263
2264 * libc/stdlib/atexit.c: Protect global atexit list with a
2265 lock when newlib is multithreaded.
2266
2267 2004-01-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
2268
2269 * configure.in: Add support to generate iconv converter flags
2270 for newlib.h
2271 * newlib.hin: Add iconv converter flags.
2272 * configure: Regenerated.
2273 * libc/Makefile.in: Ditto.
2274 * libc/configure.in: Moved iconv converter parsing logic to
2275 top level newlib configure.in.
2276 * libc/configure: Regenerated.
2277 * libc/iconv/Makefile.in: Ditto.
2278 * libc/iconv/README.TODO
2279 * libc/iconv/charset.aliases: Remove wrong BE aliases for
2280 UCS2/UCS4/UTF8.
2281 * libc/iconv/ccs/Makefile.am: Remove C flag setting now that
2282 newlib.h can be used.
2283 * libc/iconv/ces/Makefile.am: Ditto.
2284 * libc/iconv/lib/Makefile.am: Ditto.
2285 * libc/iconv/ccs/Makefile.in: Regenerated.
2286 * libc/iconv/ces/Makefile.in: Ditto.
2287 * libc/iconv/lib/Makefile.in: Ditto.
2288 * libc/iconv/ccs/README.CCS.SOURCES: Updated.
2289 * libc/iconv/ccs/iconv_mktbl: Don't write junk strings to binaries.
2290 * libc/iconv/ccs/big5.c: Switch to use new underscored flags
2291 defined in newlib.h.
2292 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
2293 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
2294 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
2295 * libc/iconv/ccs/cp775.c: Ditto.
2296 * libc/iconv/ccs/cp850.c: Ditto.
2297 * libc/iconv/ccs/cp852.c: Ditto.
2298 * libc/iconv/ccs/cp855.c: Ditto.
2299 * libc/iconv/ccs/cp866.c: Ditto.
2300 * libc/iconv/ccs/gb_2312_80.c: Ditto.
2301 * libc/iconv/ccs/iso_8859_1.c: Ditto.
2302 * libc/iconv/ccs/iso_8859_15.c: Ditto.
2303 * libc/iconv/ccs/iso_8859_2.c: Ditto.
2304 * libc/iconv/ccs/iso_8859_4.c: Ditto.
2305 * libc/iconv/ccs/iso_8859_5.c: Ditto.
2306 * libc/iconv/ccs/jis_x0201.c: Ditto.
2307 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
2308 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
2309 * libc/iconv/ccs/koi8_r.c: Ditto.
2310 * libc/iconv/ccs/koi8_u.c: Ditto.
2311 * libc/iconv/ccs/ksx1001.c: Ditto.
2312 * libc/iconv/ccs/shift_jis.c: Ditto.
2313 * libc/iconv/ccs/us_ascii.c: Ditto.
2314 * libc/iconv/ccs/binary/big5.cct: Newly generated.
2315 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
2316 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
2317 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
2318 * libc/iconv/ccs/binary/cp775.cct: Ditto.
2319 * libc/iconv/ccs/binary/cp850.cct: Ditto.
2320 * libc/iconv/ccs/binary/cp852.cct: Ditto.
2321 * libc/iconv/ccs/binary/cp855.cct: Ditto.
2322 * libc/iconv/ccs/binary/cp866.cct: Ditto.
2323 * libc/iconv/ccs/binary/gb_2312_80.cct: Ditto.
2324 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
2325 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
2326 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
2327 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
2328 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
2329 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
2330 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
2331 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
2332 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
2333 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
2334 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
2335 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
2336 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
2337 * libc/iconv/lib/bialiasesi.c: Sync with charset.aliases.
2338 * libc/iconv/ces/euc-jp.c: Use newlib.h macros.
2339 * libc/iconv/ces/euc-kr.c: Ditto.
2340 * libc/iconv/ces/euc-tw.c: Ditto.
2341 * libc/iconv/ces/gb2312.c: Ditto.
2342 * libc/iconv/ces/iso-10646-ucs-2.c: Ditto.
2343 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
2344 * libc/iconv/ces/ucs-2-internal.c: Ditto.
2345 * libc/iconv/ces/ucs-4-internal.c: Ditto.
2346 * libc/iconv/ces/utf-16.c: Ditto.
2347 * libc/iconv/ces/utf-8.c: Ditto.
2348 * libc/iconv/lib/aliases.c: Ditto.
2349 * libc/iconv/lib/biccs.c: Ditto.
2350 * libc/iconv/lib/bices.c: Ditto.
2351 * libc/iconv/lib/ccs.c: Ditto.
2352 * libc/iconv/lib/ces.c: Ditto.
2353 * libc/iconv/lib/ces_euc.c: Ditto.
2354 * libc/iconv/lib/ces_iso2022.c: Ditto.
2355 * libc/iconv/lib/ces_table.c: Ditto.
2356 * libc/iconv/lib/converter.c: Ditto.
2357 * libc/iconv/lib/deps.h: Ditto.
2358 * libc/iconv/lib/endian.h: Ditto.
2359 * libc/iconv/lib/iconv.c: Ditto.
2360 * libc/iconv/lib/loaddata.c: Ditto.
2361 * libc/iconv/lib/local.h: Include newlib.h.
2362 * libc/argz/Makefile.in: Regenerated.
2363 * libc/ctype/Makefile.in: Ditto.
2364 * libc/errno/Makefile.in: Ditto.
2365 * libc/iconv/ccs/binary/Makefile.in: Ditto.
2366 * libc/locale/Makefile.in: Ditto.
2367 * libc/misc/Makefile.in: Ditto.
2368 * libc/posix/Makefile.in: Ditto.
2369 * libc/reent/Makefile.in: Ditto.
2370 * libc/search/Makefile.in: Ditto.
2371 * libc/signal/Makefile.in: Ditto.
2372 * libc/stdio/Makefile.in: Ditto.
2373 * libc/stdio64/Makefile.in: Ditto.
2374 * libc/stdlib/Makefile.in: Ditto.
2375 * libc/string/Makefile.in: Ditto.
2376 * libc/syscalls/Makefile.in: Ditto.
2377 * libc/time/Makefile.in: Ditto.
2378 * libc/unix/Makefile.in: Ditto.
2379 * testsuite/newlib.iconv/iconv.exp: New file.
2380 * testsuite/newlib.iconv/iconvjp.c: Ditto.
2381 * testsuite/newlib.iconv/iconvnm.c: Ditto.
2382 * testsuite/newlib.iconv/iconvru.c: Ditto.
2383
2384 2004-01-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
2385
2386 * acinclude.m4 (--enable-newlib-iconv): New configuration option.
2387 (--enable-newlib-builtin-converters): Ditto.
2388 * configure.in: Add code to set _ICONV_ENABLED flag.
2389 Set _MB_LEN_MAX to 1 if not mb enabled.
2390 * configure: Regenerated.
2391 * aclocal.m4: Ditto.
2392 * Makefile.in: Ditto.
2393 * newlib.hin: Add _ICONV_ENABLED flag.
2394 * libc/Makefile.am: Add support for iconv.
2395 * libc/configure.in: Ditto.
2396 * libc/Makefile.in: Regenerated.
2397 * libc/aclocal.m4: Ditto.
2398 * libc/configure: Ditto.
2399 * libc/libc.texinfo: Add iconv documentation.
2400 * libc/iconv/AUTHORS, libc/iconv/COPYING, libc/iconv/Makefile.am,
2401 libc/iconv/Makefile.in, libc/iconv/README.ORIGINAL,
2402 libc/iconv/README.TODO, libc/iconv/charset.aliases,
2403 libc/iconv/iconv.tex, libc/iconv/ccs/Makefile.am,
2404 libc/iconv/ccs/Makefile.in, libc/iconv/ccs/README.CCS.SOURCES,
2405 libc/iconv/ccs/big5.c, libc/iconv/ccs/cns11643_plane1.c,
2406 libc/iconv/ccs/cns11643_plane14.c, libc/iconv/ccs/cns11643_plane2.c,
2407 libc/iconv/ccs/cp775.c, libc/iconv/ccs/cp850.c,
2408 libc/iconv/ccs/cp852.c, libc/iconv/ccs/cp855.c,
2409 libc/iconv/ccs/cp866.c, libc/iconv/ccs/gb_2312_80.c,
2410 libc/iconv/ccs/iconv_mktbl, libc/iconv/ccs/iso_8859_1.c,
2411 libc/iconv/ccs/iso_8859_15.c, libc/iconv/ccs/iso_8859_2.c,
2412 libc/iconv/ccs/iso_8859_4.c, libc/iconv/ccs/iso_8859_5.c,
2413 libc/iconv/ccs/jis_x0201.c, libc/iconv/ccs/jis_x0208_1983.c,
2414 libc/iconv/ccs/jis_x0212_1990.c, libc/iconv/ccs/koi8_r.c,
2415 libc/iconv/ccs/koi8_u.c, libc/iconv/ccs/ksx1001.c,
2416 libc/iconv/ccs/shift_jis.c, libc/iconv/ccs/us_ascii.c,
2417 libc/iconv/ccs/binary/Makefile.am, libc/iconv/ccs/binary/Makefile.in,
2418 libc/iconv/ccs/binary/big5.cct,
2419 libc/iconv/ccs/binary/cns11643_plane1.cct,
2420 libc/iconv/ccs/binary/cns11643_plane14.cct,
2421 libc/iconv/ccs/binary/cns11643_plane2.cct,
2422 libc/iconv/ccs/binary/cp775.cct, libc/iconv/ccs/binary/cp850.cct,
2423 libc/iconv/ccs/binary/cp852.cct, libc/iconv/ccs/binary/cp855.cct,
2424 libc/iconv/ccs/binary/cp866.cct, libc/iconv/ccs/binary/gb_2312_80.cct,
2425 libc/iconv/ccs/binary/iso_8859_1.cct,
2426 libc/iconv/ccs/binary/iso_8859_15.cct,
2427 libc/iconv/ccs/binary/iso_8859_2.cct,
2428 libc/iconv/ccs/binary/iso_8859_4.cct,
2429 libc/iconv/ccs/binary/iso_8859_5.cct,
2430 libc/iconv/ccs/binary/jis_x0201.cct,
2431 libc/iconv/ccs/binary/jis_x0208_1983.cct,
2432 libc/iconv/ccs/binary/jis_x0212_1990.cct,
2433 libc/iconv/ccs/binary/koi8_r.cct, libc/iconv/ccs/binary/koi8_u.cct,
2434 libc/iconv/ccs/binary/ksx1001.cct,
2435 libc/iconv/ccs/binary/shift_jis.cct,
2436 libc/iconv/ccs/binary/us_ascii.cct,
2437 libc/iconv/ces/Makefile.am, libc/iconv/ces/Makefile.in,
2438 libc/iconv/ces/euc-jp.c, libc/iconv/ces/euc-kr.c,
2439 libc/iconv/ces/euc-tw.c, libc/iconv/ces/gb2312.c,
2440 libc/iconv/ces/iso-10646-ucs-2.c, libc/iconv/ces/iso-10646-ucs-4.c,
2441 libc/iconv/ces/ucs-2-internal.c, libc/iconv/ces/ucs-4-internal.c,
2442 libc/iconv/ces/utf-16.c, libc/iconv/ces/utf-8.c,
2443 libc/iconv/lib/Makefile.am, libc/iconv/lib/Makefile.in,
2444 libc/iconv/lib/aliases.c, libc/iconv/lib/bialiasesi.c,
2445 libc/iconv/lib/biccs.c, libc/iconv/lib/bices.c,
2446 libc/iconv/lib/ccs.c, libc/iconv/lib/ces.c,
2447 libc/iconv/lib/ces_euc.c, libc/iconv/lib/ces_iso2022.c,
2448 libc/iconv/lib/ces_table.c, libc/iconv/lib/converter.c,
2449 libc/iconv/lib/deps.h, libc/iconv/lib/endian.h,
2450 libc/iconv/lib/iconv.c, libc/iconv/lib/loaddata.c,
2451 libc/iconv/lib/local.h, libc/include/iconv.h: New files.
2452 * libc/sys/linux/include/iconv.h: Ditto.
2453 * libc/include/sys/_types.h (_iconv_t): Added.
2454 * doc/aclocal.m4: Regenerated.
2455 * doc/configure: Ditto.
2456 * doc/Makefile.in: Ditto.
2457 * iconvdata/Makefile.in: Ditto.
2458 * iconvdata/aclocal.m4: Ditto.
2459 * iconvdata/configure: Ditto.
2460 * libc/*aclocal.m4: Ditto.
2461 * libc/*Makefile.in: Ditto.
2462 * libc/*configure: Ditto.
2463 * libm/*aclocal.m4: Ditto.
2464 * libm/*Makefile.in: Ditto.
2465 * libm/*configure: Ditto.
2466
2467 2004-01-22 Thomas Pfaff <tpfaff@gmx.net>
2468
2469 * libc/stdio/findfp.c (__sfp): Protect global FILE pointer list
2470 by a lock when newlib is multithreaded.
2471
2472 2004-01-21 Jeff Johnston <jjohnstn@redhat.com>
2473
2474 * libc/stdlib/mbrtowc.c (_mbrtowc_r): Fix case where s is null
2475 pointer to match C99 spec.
2476 * libc/stdlib/mbsrtowcs.c (_mbsrtowc_r): Fix to ignore len when
2477 dst is NULL. Also fix to not alter src pointer when dst is NULL
2478 and call _mbrtowc_r instead of _mbtowc_r.
2479 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Call _wcrtomb_r instead
2480 of _wctomb_r.
2481
2482 2004-01-19 Thomas Pfaff <tpfaff@gmx.net>
2483
2484 * libc/stdio/fclose.c (fclose): Release FILE as the last step.
2485 * libc/stdio/freopen.c (freopen): Ditto.
2486
2487 2004-01-16 Christopher Faylor <cgf@redhat.com>
2488
2489 * libc/stdio/vfprintf.c: Add sys/lock.h include.
2490
2491 2004-01-16 Thomas Pfaff <tpfaff@gmx.net>
2492
2493 * libc/stdio/findfp.c (__sfp): Remove unnecessary memset.
2494 * libc/stdio/vfprintf.c (__sbprintf): Ditto.
2495 Add calls to __lock_init_recursive and __lock_close_recursive
2496 instead.
2497
2498 2004-01-15 Thomas Pfaff <tpfaff@gmx.net>
2499
2500 * libc/stdio/fclose.c: Include sys/lock.h.
2501 (fclose): Destroy lock when file is closed.
2502 * libc/stdio/findfp.c (__sfp): Initialize file pointers _lock
2503 member.
2504 * libc/stdio/freopen.c: Include sys/lock.h.
2505 (_freopen_r): Destroy lock when file is closed.
2506 * libc/stdio/vfprintf.c (__sbprintf): Initialize file pointers
2507 _lock member.
2508
2509 2004-01-08 Joel Sherrill <joel@oarcorp.com>
2510
2511 * libc/ctype/iswctype.c, include/sys/reent.h, libc/stdlib/a64l.c:
2512 Remove warnings.
2513
2514 2004-01-08 Joel Sherrill <joel@oarcorp.com>
2515
2516 * libc/sys/rtems/sys/queue.h: New file.
2517 * libc/include/sys/signal.h: Reflect renumbering of signals to
2518 fit into 32-bit mask.
2519 * libc/include/sys/unistd.h: Add fdatasync() prototype.
2520 * libc/sys/rtems/crt0.c: Add more symbols which may be implicitly
2521 required. In particular, add the reentrant variants of libc calls.
2522 * libc/sys/rtems/sys/dirent.h: Add scandir() prototype.
2523
2524 2004-01-06 Mark Mitchell <mark@codesourcery.com>
2525
2526 * libc/sys/arm/syscalls.c (unistd.h): Include it.
2527 (remap_handle): Use STDIN_FILENO instead of __sfileno(stdin).
2528 Similarly for stdout and stderr.
2529
2530 2004-01-06 Jeff Johnston <jjohnstn@redhat.com>
2531
2532 * libc/libc.texinfo: Correct escape character for @ sign
2533 so file will be processed by make info. Update copyright years.
2534 * libm/libm.texinfo: Ditto.
2535
2536 2003-12-05 Jeff Johnston <jjohnstn@redhat.com>
2537
2538 * libc/include/sys/stat.h: No longer include stat-dj.h.
2539 * libc/include/sys/stat-dj.h: Removed.
2540
2541 2003-12-05 Jeff Johnston <jjohnstn@redhat.com>
2542
2543 * libc/include/wchar.h: Include <sys/reent.h>.
2544
2545 2003-12-05 Christopher Faylor <cgf@redhat.com>
2546
2547 * libc/stdlib/mbrlen.c: Change include order to prevent compiler errors
2548 when defining _mbrtowc.
2549 * libc/stdlib/mbsinit.c: Ditto.
2550 * libc/stdlib/mbsrtowcs.c: Ditto.
2551 * libc/stdlib/wcrtomb.c: Ditto.
2552 * libc/stdlib/wcsrtombs.c: Ditto.
2553 * libc/stdlib/wctob.c: Ditto.
2554
2555 2003-12-05 Christopher Faylor <cgf@redhat.com>
2556
2557 * libc/stdlib/mbrlen.c: Change include order to prevent compiler
2558 errors when defining _mbrtowc.
2559 * libc/stdlib/mbsinit.c: Ditto.
2560 * libc/stdlib/mbsrtowcs.c: Ditto.
2561
2562 2003-12-05 Christopher Faylor <cgf@redhat.com>
2563
2564 * libc/stdlib/mbrtowc.c: Change include order to prevent compiler
2565 errors when defining _mbrtowc.
2566
2567 2003-12-04 Artem B. Bityuckiy <abitytsky@softminecorp.com>
2568
2569 * libc/stdio/vfprintf.c (_VFPRINTF_R): Use _r versions
2570 of mb routines for %lc and %ls support.
2571 * libc/stdio/vfscanf.c (_svfscanf_r): Add %lc, %C,
2572 %ls, and %S support. Remove CYGNUS_NEC markers and
2573 code within.
2574
2575 2003-12-04 Jeff Johnston <jjohnstn@redhat.com>
2576
2577 * libc/include/wchar.h: Add prototypes for _mbrtowc_r,
2578 _wcrtomb_r, and _wcsrtombs_r.
2579
2580 2003-12-01 Corinna Vinschen <corinna@vinschen.de>
2581
2582 * libc/include/sys/fcntl.h: Don't define struct flock when on
2583 Cygwin. This is done in winsup/cygwin/include/cygwin/types.h now.
2584
2585 2003-11-28 Christopher Faylor <cgf@redhat.com>
2586
2587 * libc/include/sys/signal.h: Use system specific signal file when
2588 building on cygwin.
2589
2590 2003-11-27 Jeff Johnston <jjohnstn@redhat.com>
2591
2592 * libc/include/stdlib.h (_atoi_r): New prototype.
2593 * libc/stdlib/atoi.c (_atoi_r): New reentrant function.
2594
2595 2003-11-27 Jeff Johnston <jjohnstn@redhat.com>
2596
2597 * libc/include/stdlib.h (_atoll_r, _atol_r): New prototypes.
2598 * libc/stdlib/atol.c (_atol_r): New reentrant function.
2599 * libc/stdlib/atoll.c (_atoll_r): Ditto.
2600
2601 2003-11-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
2602 Jeff Johnston <jjohnstn@redhat.com>
2603
2604 * libc/include/stdlib.h (lldiv_t): New type.
2605 (atoll, llabs, lldiv): New prototypes.
2606 * libc/stdlib/Makefile.am: Add support for atoll, llabs, and lldiv.
2607 * libc/stdlib/stdlib.tex: Ditto.
2608 * libc/stdlib/Makefile.in: Regenerated.
2609 * libc/stdlib/atoll.c: New file.
2610 * libc/stdlib/llabs.c: Ditto.
2611 * libc/stdlib/lldiv.c: Ditto.
2612
2613 2003-11-26 Corinna Vinschen <corinna@vinschen.de>
2614
2615 * libc/include/fcntl.h: Declare syscalls only when building newlib.
2616 * libc/include/unistd.h: Ditto.
2617 * libc/include/stat.h: Ditto. Also declare struct stat64.
2618
2619 2003-11-24 Artem B. Bityuckiy <abitytsky@softminecorp.com>
2620
2621 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix check for 'C' format
2622 specifier to use ch instead of *fmt.
2623
2624 2003-11-21 Artem B. Bityuckiy <abitytsky@softminecorp.com>
2625
2626 * libc/stdio/vfprintf.c (_VFPRINTF_R, get_arg): Move mb-specific
2627 code within checks for MB_CAPABLE. For non-mb-capable platforms,
2628 use simple byte logic.
2629
2630 2003-11-21 Jeff Johnston <jjohnstn@redhat.com>
2631
2632 * libc/stdio/vfscanf.c (__svfscanf_r)[!_NO_LONGDBL]: Don't use
2633 _strtold routine for processing floats and doubles since it
2634 is not as fast as _strtod_r.
2635
2636 2003-11-20 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
2637
2638 * libc/machine/h8300/defines.h : Correct pointer register defines
2639 for normal mode.
2640 * libc/machine/h8300/memcpy.S : Use add/sub instead of adds/subs
2641 for normal mode.
2642 * libc/machine/h8300/reg_memcpy.S : Likewise.
2643 * libc/machine/h8300/reg_memset.S : Likewise.
2644 * libc/machine/h8300/strcmp.S : Likewise.
2645
2646 2003-11-19 Nicholas Wourms <nwourms@netscape.net>
2647
2648 * configure.host: Enable positional arguments for printf
2649 family for Cygwin.
2650 * libc/stdio/vfprintf.c (_VFPRINTF_R): Remove extraneous
2651 pointer reference for quad_ptr_t.
2652
2653 2003-11-19 Jeff Johnston <jjohnstn@redhat.com>
2654
2655 * libc/stdio/scanf.c: Don't include local.h more than once.
2656
2657 2003-11-18 Corinna Vinschen <corinna@vinschen.de>
2658
2659 * libc/include/sys/fcntl.h: Declare _open64.
2660 * libc/include/sys/stat.h: Declare _fstat64.
2661 * libc/include/sys/unistd.h: Declare _lseek64.
2662
2663 2003-11-17 Corinna Vinschen <corinna@vinschen.de>
2664
2665 * libc/include/stdlib.h (getprogname): Declare for Cygwin.
2666 (setprogname): Ditto.
2667
2668 2003-11-10 Jeff Johnston <jjohnstn@redhat.com>
2669
2670 * libc/machine/powerpc/ufix64toa.c (_ufix64to_r): Fix shifts
2671 to use (Ebits + 1) which accounts for the sign-bit.
2672
2673 2003-11-07 Jeff Johnston <jjohnstn@redhat.com>
2674
2675 * configure.host: Remove -DLOOSE_KERNEL_NAMES flag for linux
2676 x86 build.
2677 * iconvdata/Makefile.am: Make dependent on newlib's configure.host
2678 and set up default flags to pass to aclocal.
2679 * iconvdata/Makefile.in: Regenerated.
2680 * libc/sys/linux/Makefile.am: Add _ELIX_LEVEL_4 getlogin, getpwnam,
2681 and getpwuid routines.
2682 * libc/sys/linux/Makefile.in: Regenerated.
2683 * libc/sys/linux/getlogin.c: New stub file to allow x86-linux
2684 applications to link with newlib's shared libc library.
2685 * libc/sys/linux/getpwnam.c: Ditto.
2686 * libc/sys/linux/getpwuid.c: Ditto.
2687 * libc/sys/linux/sys/types.h: Include <features.h> and supply types
2688 that were formerly supplied by /usr/include/linux/types.h with
2689 kernel types.
2690 * testsuite/newlib.wctype/twctype.c: Fix testcase to properly
2691 test _ELIX_LEVEL macro.
2692
2693 2003-11-07 Jeff Johnston <jjohnstn@redhat.com>
2694
2695 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix typos that should be
2696 referring to _NO_LONGLONG macro.
2697
2698 2003-11-06 Jeff Johnston <jjohnstn@redhat.com>
2699
2700 * libc/sys/linux/linuxthreads/td_init.c: Replace function name
2701 in LOG() macro so this will compile on gcc 3.4 and up.
2702 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
2703 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
2704 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
2705 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
2706 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
2707 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
2708 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
2709 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
2710 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
2711 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
2712 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
2713 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
2714 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
2715 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
2716 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
2717 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
2718 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
2719 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
2720 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
2721 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
2722 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
2723 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
2724 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
2725 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
2726 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
2727 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
2728 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
2729 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
2730 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
2731 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
2732 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
2733 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
2734 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
2735 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
2736 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
2737 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
2738
2739 2003-11-05 Jeff Johnston <jjohnstn@redhat.com>
2740 Artem B. Bityuckiy <abitytsky@softminecorp.com>
2741
2742 * libc/stdio/vfprintf.c (_VFPRINTF_R): Add support for
2743 %ls, %S, %lc, and %C format specifiers.
2744 (get_arg): Ditto.
2745 * libc/stdio/sprintf.c: Add documentation regarding new
2746 format specifiers added in vfprintf.c.
2747
2748 2003-11-05 Jeff Johnston <jjohnstn@redhat.com>
2749
2750 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Numerous fixes
2751 to make code work as specified in standard.
2752
2753 2003-10-23 Jeff Johnston <jjohnstn@redhat.com>
2754
2755 * configure.in: Use absolute newlib basedir when forming
2756 CC_FOR_NEWLIB include options.
2757 * configure: Regenerated.
2758
2759 2003-10-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
2760
2761 * libc/string/wcsnlen.c: New file.
2762 * libc/include/wchar.h: Add wcsnlen prototype.
2763 * libc/string/Makefile.am: Add wcsnlen support.
2764 * libc/string/Makefile.in: Regenerated.
2765 * libc/string/wcstrings.tex: Add wcsnlen documentation.
2766
2767 2003-10-22 Richard Sandiford <rsandifo@redhat.com>
2768
2769 * libc/stdlib/exit.c (exit): Handle null _GLOBAL_REENT->_atexits.
2770
2771 2003-10-20 Bob Wilson <bob.wilson@acm.org>
2772
2773 * libc/locale/locale.c: Use double quotes in code.
2774 * libc/locale/locale.tex: Likewise.
2775 * libc/libc.texinfo: Hyphenate "floating-point".
2776 * libc/machine/necv70/necv70.tex: Likewise.
2777 * libc/stdio/sprintf.c: Likewise.
2778 * libc/stdio/sscanf.c: Likewise.
2779 * libc/stdlib/atof.c: Likewise.
2780 * libc/stdlib/ldtoa.c: Fix comment typo.
2781 * libc/stdlib/div.c: Use @ifnottex instead of @ifinfo.
2782 * libc/stdlib/ldiv.c: Likewise.
2783 * libm/common/s_expm1.c: Likewise.
2784 * libm/common/s_ilogb.c: Hyphenate "floating-point". Use "nonzero".
2785 * libm/common/s_infinity: Hyphenate "double- and single-precision".
2786 * libm/common/s_nan.c: Likewise. Also correct the FUNCTION summary.
2787 * libm/common/s_nextafter.c: Fix typo. Hyphenate "double-precision"
2788 and "floating-point".
2789 * libm/common/s_scalbn.c: Correct the FUNCTION summary.
2790 * libm/math/e_pow.c: Fix comment typo.
2791 * libm/math/math.tex: Hyphenate "single-precision" and "floating-point".
2792 * libm/math/s_asinh.c: Use @ifnottex instead of @ifinfo.
2793 * libm/math/s_atan.c: Likewise.
2794 * libm/math/s_frexp.c: Likewise. Also use "nonzero".
2795 * libm/math/s_isnan.c: Hyphenate "single-precision" and
2796 "floating-point". Use "nonzero".
2797 * libm/math/s_ldexp.c: Use @ifnottex instead of @ifinfo.
2798 * libm/math/w_acos.c: Likewise.
2799 * libm/math/w_acosh.c: Likewise.
2800 * libm/math/w_asin.c: Likewise.
2801 * libm/math/w_atan2.c: Likewise.
2802 * libm/math/w_atanh.c: Likewise.
2803 * libm/math/w_cosh.c: Likewise.
2804 * libm/math/w_exp.c: Likewise.
2805 * libm/math/w_exp2.c: Likewise. Add missing @end and missing @tex
2806 version of 2^x in the description.
2807 * libm/math/w_fmod.c: Use @ifnottex instead of @ifinfo.
2808 * libm/math/w_gamma.c: Likewise.
2809 * libm/math/w_hypot.c: Likewise.
2810 * libm/math/w_j0.c: Likewise.
2811 * libm/math/w_sinh.c: Likewise.
2812 * libm/math/w_pow.c: Replace "exp1.0nt" with "exponent".
2813 * libm/mathfp/mathfp.tex: Hyphenate "single-precision" and
2814 "floating-point".
2815 * libm/mathfp/e_acosh.c: Use @ifnottex instead of @ifinfo.
2816 * libm/mathfp/e_atanh.c: Likewise.
2817 * libm/mathfp/e_hypot.c: Likewise.
2818 * libm/mathfp/er_lgamma.c: Likewise.
2819 * libm/mathfp/s_acos.c: Likewise.
2820 * libm/mathfp/s_asine.c: Likewise.
2821 * libm/mathfp/s_asinh.c: Likewise.
2822 * libm/mathfp/s_atan.c: Likewise.
2823 * libm/mathfp/s_atan2.c: Likewise.
2824 * libm/mathfp/s_atangent.c: Likewise.
2825 * libm/mathfp/s_cosh.c: Likewise.
2826 * libm/mathfp/s_exp.c: Likewise.
2827 * libm/mathfp/s_fmod.c: Likewise.
2828 * libm/mathfp/s_frexp.c: Likewise. Also use "nonzero".
2829 * libm/mathfp/s_isnan.c: Hyphenate "single-precision" and
2830 "floating-point". Use "nonzero".
2831 * libm/math/s_pow.c: Replace "exp1.0nt" with "exponent".
2832 * libm/mathfp/s_ldexp.c: Use @ifnottex instead of @ifinfo.
2833 * libm/mathfp/s_sineh.c: Likewise.
2834 * libm/mathfp/w_jn.c: Likewise.
2835
2836 2003-10-15 Alexandre Oliva <aoliva@redhat.com>
2837
2838 * Makefile.am: Add $(MAKE) comments to multido and multiclean
2839 lines, to enable parallel make.
2840 * Makefile.in: Rebuilt.
2841
2842 2003-10-14 Christopher Faylor <cgf@redhat.com>
2843
2844 * libc/time/clock.c: Clarify documentation of return value when no
2845 measurement is available.
2846
2847 2003-09-29 Ian Lance Taylor <ian@wasabisystems.com>
2848
2849 * libm/configure.in: Check libm_machine_dir, not machine_dir.
2850 * libm/configure: Regenerate.
2851 * libm/Makefile.in: Ditto.
2852
2853 2003-09-29 J"orn Rennecke <joern.rennecke@superh.com>
2854
2855 * libc/machine/sh/strncpy.S: New file.
2856 * libc/machine/sh/Makefile.am: Add entry & rule for new file.
2857 * libc/machine/sh/Makefile.in: Regenerate.
2858
2859 2003-09-11 James E Wilson <wilson@specifixinc.com>
2860
2861 * MAINTAINERS: Update my e-mail address.
2862
2863 2003-09-10 Corinna Vinschen <corinna@vinschen.de>
2864
2865 * libc/include/sys/unistd.h: Declare function daemon for Cygwin.
2866
2867 2003-09-09 Jeff Johnston <jjohnstn@redhat.com>
2868
2869 * libc/machine/powerpc/fix64.h: Fix typo for _simdldcheck
2870 prototype.
2871 * libc/machine/powerpc/simdldtoa.c: Remove prototype for
2872 _simdldcheck(). Also add unsigned cast for index variable in
2873 for loop using sizeof operators.
2874 * libc/machine/powerpc/strtoufix32.c: Remove unused variable.
2875 * libc/machine/powerpc/strtosfix64.c: Fix call to _simdldcheck.
2876 * libc/machine/powerpc/strtoufix64.c (_strtoufix64_r): Ditto
2877 plus fix shift calculation for determining if there is a
2878 carry from word2.
2879
2880 2003-09-09 Corinna Vinschen <corinna@vinschen.de>
2881
2882 * libc/include/grp.h: Don't define setgrfile, group_from_gid and
2883 setgroupent for Cygwin.
2884
2885 2003-09-05 Jeff Johnston <jjohnstn@redhat.com>
2886
2887 * libc/stdlib/exit.c (exit): Setting of struct _atexit ptr p
2888 is different for _REENT_SMALL than when using regular reent
2889 struct.
2890
2891 2003-09-05 Ben Elliston <bje@wasabisystems.com>
2892
2893 * libc/ctype/wctype.c (_DEFUN): Remove empty default case, as
2894 modern versions of GCC issue a warning.
2895
2896 * libc/machine/xscale/memcmp.c (memcmp): Strip trailing whitespace
2897 after continuation characters that induces a warning from modern
2898 versions of GCC.
2899
2900 2003-09-04 Ben Elliston <bje@wasabisystems.com>
2901
2902 * libc/stdlib/mstats.c[_ELIX_LEVEL]: Fix guards. #ifndef FOO ||
2903 FOO >= 2 is invalid; use #if !defined (FOO) || FOO >= 2 instead.
2904
2905 2003-09-02 Thomas Pfaff <tpfaff@gmx.net>
2906
2907 * libc/stdlib/atexit.c: Rename _REENT to _GLOBAL_REENT throughout.
2908 * libc/stdlib/exit.c : Ditto.
2909 * libc/stdlib/on_exit.c: Ditto.
2910
2911 2003-08-27 Corinna Vinschen <corinna@vinschen.de>
2912
2913 * libc/include/reent.h: Define stat64 as __stat64 when
2914 compiling newlib for Cygwin.
2915
2916 2003-08-26 Jeff Johnston <jjohnstn@redhat.com>
2917
2918 * libc/include/sys/stat.h[__CYGWIN__]: Only define stat64 as
2919 __stat64 when compiling newlib.
2920
2921 2003-08-26 Jeff Johnston <jjohnstn@redhat.com>
2922
2923 * libc/include/stdio.h: Allow the io64 function prototypes for
2924 Cygwin when compiling newlib.
2925 * libc/include/sys/stat.h[__CYGWIN__]: Define stat64 as __stat64
2926 to expose the Cygwin struct __stat64 type.
2927 * libc/stdio64/fseeko64.c: Use _fstat64_r and pass a struct stat64
2928 pointer.
2929 * libc/stdio64/tmpfile64.c(_tmpfile64_r): Call _fopen64_r.
2930
2931 2003-08-23 Christopher Faylor <cgf@redhat.com>
2932
2933 * libc/stdio64/fseeko64.c (fseeko64_r): Rename second fseeko64_r
2934 definition to fseeko64.
2935
2936 2003-08-22 Jeff Johnston <jjohnstn@redhat.com>
2937
2938 * libc/include/sys/reent.h: Add _GLOBAL_REENT macro.
2939 * libc/stdio: Globally remove/replace all references to fp->_data.
2940 Replace with _REENT or _GLOBAL_REENT where appropriate.
2941 * libc/stdio/asprintf.c: Ditto.
2942 * libc/stdio/fclose.c: Ditto.
2943 * libc/stdio/fvwrite.c: Ditto.
2944 * libc/stdio/makebuf.c: Ditto.
2945 * libc/stdio/refill.c: Ditto.
2946 * libc/stdio/local.h: Ditto.
2947 * libc/stdio/setvbuf.c: Ditto.
2948 * libc/stdio/sscanf.c: Ditto.
2949 * libc/stdio/stdio.c: Ditto.
2950 * libc/stdio/ungetc.c: Ditto.
2951 * libc/stdio/vfscanf.c: Ditto.
2952 * libc/stdio/vsscanf.c: Ditto.
2953 * libc/stdio/fopen.c: Ditto. Also use _fseek_r in _fopen_r.
2954 * libc/stdio/vasprintf.c: Ditto. Also call _vfprintf_r directly.
2955 * libc/stdio/vsnprintf.c: Ditto.
2956 * libc/stdio/vsprintf.c: Ditto.
2957 * libc/stdio/fcloseall.c(fcloseall): Use _GLOBAL_REENT macro
2958 instead of _REENT to walk file list.
2959 * libc/stdio/fflush.c: Ditto.
2960 * libc/stdio/fgetpos.c: Add reentrant version and have regular
2961 version call reentrant version with _REENT argument.
2962 * libc/stdio/fsetpos.c: Ditto.
2963 * libc/stdio/fseek.c: Ditto.
2964 * libc/stdio/fseeko.c: Ditto.
2965 * libc/stdio/ftell.c: Ditto.
2966 * libc/stdio/ftello.c: Ditto.
2967 * libc/stdio/freopen.c: Ditto.
2968 * libc/stdio/findfp.c: Use _GLOBAL_REENT pointer when adding
2969 new files to chain. Also use _GLOBAL_REENT pointer for
2970 cleaning up.
2971 * libc/stdio/fiprintf.c: Reformatted to minimize duplicate code.
2972 * libc/stdio/siprintf.c: Ditto.
2973 * libc/stdio/iprintf.c: Ditto.
2974 * libc/stdio/fprintf.c: Ditto.
2975 * libc/stdio/printf.c: Ditto.
2976 * libc/stdio/snprintf.c: Call _vfprintf_r directly.
2977 * libc/stdio/sprintf.c: Ditto.
2978 * libc/stdio/vprintf.c: Ditto. Also add _REENT_ONLY check.
2979 * libc/stdio/rewind.c: Call _fseek_r directly.
2980 * libc/stdio/tmpfile.c: Call _fopen_r and _remove_r directly.
2981 * libc/stdio/vfprintf.c (_VFPRINTF_R): Change _r routines to use
2982 data pointer.
2983 (get_arg): Add extra struct _reent pointer argument.
2984 * libc/stdio64/fgetpos64.c: Add _r versions, remove any reference
2985 to fp->_data.
2986 * libc/stdio64/fopen64.c: Ditto.
2987 * libc/stdio64/freopen64.c: Ditto.
2988 * libc/stdio64/fsetpos64.c: Ditto.
2989 * libc/stdio64/ftello64.c: Ditto.
2990 * libc/stdio64/local64.h: Ditto.
2991 * libc/stdio64/stdio64.c: Ditto.
2992 * libc/stdio64/fseeko64.c: Ditto plus use _fstat_r instead of
2993 _fstat64_r for the meantime.
2994
2995 2003-08-19 Jeff Johnston <jjohnstn@redhat.com>
2996
2997 * libc/stdlib/mallocr.c (mALLOc, rEALLOc, mEMEALIGn): Enhance
2998 overflow detection.
2999
3000 2003-08-13 Aldy Hernandez <aldyh@redhat.com>
3001
3002 * libc/machine/powerpc/machine/stdlib.h: Wrap SPE functions in
3003 extern "C".
3004
3005 2003-08-13 Jeff Johnston <jjohnstn@redhat.com>
3006
3007 * libc/include/math.h: Add prototypes for __signbitf and
3008 __signbitd.
3009
3010 2003-07-31 Jeff Johnston <jjohnstn@redhat.com>
3011
3012 * libc/ctype/iswalpha.c: Fix calls to __jp2uc to pass the
3013 correct type of conversion when dealing with EUCJP or SJIS.
3014 * libc/ctype/iswblank.c: Ditto.
3015 * libc/ctype/iswcntrl.c: Ditto.
3016 * libc/ctype/iswprint.c: Ditto.
3017 * libc/ctype/iswpunct.c: Ditto.
3018 * libc/ctype/iswspace.c: Ditto.
3019 * libc/ctype/towlower.c: Ditto.
3020 * libc/ctype/towupper.c: Ditto.
3021
3022 2003-07-31 Nick Clifton <nickc@redhat.com>
3023
3024 * libc/sys/sysnecv850/crt0.S (_start): Allocate 4 slots on stack
3025 before calling main, in case it saves its argument registers.
3026 Remove reference to deleted v850ea port.
3027 * configure.host: Remove reference to deleted v850ea port.
3028 Do not use -mv850 when building for v850e target. This
3029 prevents the ctbp system register from being initialised.
3030
3031 2003-07-29 Honda Hiroki <hhonda@ipflex.com>
3032
3033 * libc/stdio/vfprintf.c: Set output size to 1 when
3034 we have %f format with precision 0 and # flag not specified.
3035
3036 2003-07-29 Alexandre Oliva <aoliva@redhat.com>
3037
3038 * libc/machine/mn10300/setjmp.S: Never emit both .am33 and
3039 .am33_2.
3040
3041 2003-07-25 Christopher Faylor <cgf@redhat.com>
3042
3043 * libc/stdio64/fdopen64.c: Include sys/lock.h.
3044
3045 2003-07-25 Christopher Faylor <cgf@redhat.com>
3046
3047 * configure.host: Find cygwin include directory, when appropriate.
3048
3049 2003-07-24 Christopher Faylor <cgf@redhat.com>
3050
3051 * libc/stdio64/fdopen64.c: New file.
3052 * libc/stdio64/Makefile.am (LIB_OBJS): Add fdopen64.o
3053 * libc/stdio64/Makefile.in: Regenerate.
3054 * libc/include/stdio.h (fdopen64): Define.
3055 * libc/include/stdio.h (_fdopen64_r): Ditto.
3056
3057 2003-07-10 Alexandre Oliva <aoliva@redhat.com>
3058
3059 2000-04-27 Alexandre Oliva <aoliva@cygnus.com>
3060 * libc/include/machine/setjmp.h (_JBLEN, AM33/2.0): Set to 26.
3061 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Save and
3062 restore callee-saved FP registers.
3063
3064 2003-07-10 J"orn Rennecke <joern.rennecke@superh.com>
3065
3066 * libc/include/sys/unistd.h (ftruncate, truncate): Also declare
3067 for __sh__.
3068 * libc/sys/sh/Makefile.am (lib_a_SOURCES): Add ftruncate.c and
3069 truncate.c.
3070 * libc/sys/sh/Makefile.in: Regenerate.
3071 * libc/sys/sh/sys/syscall.h: (SYS_truncate, SYS_ftruncate): Define.
3072 * libc/sys/sh/ftruncate.c: New file.
3073 * libc/sys/sh/truncate.c: Likewise.
3074
3075 2003-07-09 Alexandre Oliva <aoliva@redhat.com>
3076
3077 * libc/include/math.h (nan, nanf): Update prototype to C99.
3078 * libm/common/s_nan.c (nan): Likewise.
3079 * libm/common/s_nanf.c (nanf, nan): Likewise.
3080 * libc/sys/linux/cmath/math_private.h (nan, nanf): Likewise.
3081
3082 2003-07-07 Jeff Johnston <jjohnstn@redhat.com>
3083
3084 * libc/include/stdbool.h: Removed as this is defined by gcc.
3085
3086 2003-07-03 Shaun Jackman <sjackman@pathwayconnect.com>
3087
3088 * libc/include/stdbool.h: New header file defined by C99.
3089
3090 2003-07-02 Jeff Johnston <jjohnstn@redhat.com>
3091
3092 * libc/include/sys/types.h (int8_t): Make signed.
3093
3094 2003-07-02 Jeff Johnston <jjohnstn@redhat.com>
3095
3096 * libc/sys/linux/include/mqueue.h: Add include of <sys/fcntl.h>.
3097
3098 2003-06-27 Jose Goncalves <jose.goncalves@inov.pt>
3099
3100 * libc/sys/linux/mq_open.c (mq_open): Only set created flag
3101 on if we actually created the shared memory file exclusively.
3102
3103 2003-06-27 Joe Vornehm <joev@mitre.org>
3104
3105 * libm/common/s_fpclassify.c (__fpclassifyf): Fix
3106 comparisons to account for unsigned internal value w.
3107
3108 2003-06-26 Jeff Johnston <jjohnstn@redhat.com>
3109
3110 * libc/sys/linux/mq_open.c (mq_open): Must allocate rdbuf and
3111 wrbuf for a non-creating open.
3112
3113 2003-06-24 Kazu Hirata <kazu@cs.umass.edu>
3114
3115 * libc/machine/h8300/setarch.h: New.
3116 * libc/machine/h8300/memcpy.S: Use it.
3117 * libc/machine/h8300/memset.S: Likewise.
3118 * libc/machine/h8300/reg_memcpy.S: Likewise.
3119 * libc/machine/h8300/reg_memset.S: Likewise.
3120 * libc/machine/h8300/setjmp.S: Likewise.
3121 * libc/machine/h8300/strcmp.S: Likewise.
3122
3123 2003-06-24 Richard Sandiford <rsandifo@redhat.com>
3124
3125 * libc/sys/h8300hms/crt0.S (_start): Fix register sizes in call
3126 to atexit().
3127
3128 2003-06-20 Jeff Johnston <jjohnstn@redhat.com>
3129
3130 * configure.host (iq2000): Add tabs.
3131
3132 2003-06-20 Jeff Johnston <jjohnstn@redhat.com>
3133
3134 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix macros
3135 to handle latest on_exit change.
3136 * libc/sys/linux/Makefile.am: Remove special compilation
3137 for malloc.c and mcheck.c.
3138 * libc/sys/linux/Makefile.in: Regenerated.
3139 * libc/sys/linux/mntent.c: Add definition of _LIBC flag
3140 after including <features.h>.
3141 * libc/sys/linux/mcheck.c: Ditto.
3142 * libc/sys/linux/malloc.c: Ditto plus define _GNU_SOURCE
3143 for <features.h>.
3144 * libc/sys/linux/intl/Makefile.am: Remove -D_LIBC and
3145 add -DNOT_IN_libc to C flags.
3146 * libc/sys/linux/intl/Makefile.in: Regenerated.
3147 * libc/sys/linux/intl/config.h: Add definition of _LIBC.
3148 * libc/sys/linux/linuxthreads/semaphore.h: Include
3149 <bits/pthreadtypes.h>.
3150 * libc/sys/linux/sys/dirent.h: Define _LIBC and NOT_IN_libc after
3151 including <features.h>.
3152 * libc/sys/linux/sys/lock.h: Ditto.
3153
3154 2003-06-11 Nick Clifton <nickc@redhat.com>
3155
3156 * libc/reent/reent.c (reclaim_reent): Fix typo in code to free
3157 _on_exit_args_ptr.
3158
3159 2003-06-10 Stan Cox <scox@redhat.com>
3160 Anthony Green <green@redhat.com>
3161
3162 * configure.host: Add iq2000 support.
3163 * newlib/libc/include/machine/ieeefp.h: Ditto.
3164 * newlib/libc/include/machine/setjmp.h: Ditto.
3165 * libc/machine/iq2000, libc/machine/iq2000/setjmp.S,
3166 libc/machine/iq2000/aclocal.m4, libc/machine/iq2000/configure,
3167 libc/machine/iq2000/configure.in, libc/machine/iq2000/Makefile.am,
3168 libc/machine/iq2000/Makefile.in: New files.
3169
3170 2003-06-10 Richard Sandiford <rsandifo@redhat.com>
3171
3172 * libc/sys/h8300hms/setarch.h: New file.
3173 * libc/sys/h8300hms/close.S, libc/sys/h8300hms/fstat.S,
3174 libc/sys/h8300hms/lseek.S, libc/sys/h8300hms/open.S,
3175 libc/sys/h8300hms/read.S, libc/sys/h8300hms/stat.S,
3176 libc/sys/h8300hms/write.S, libc/sys/h8300hms/crt0.S: Use it.
3177
3178 2003-06-06 Jeff Johnston <jjohnstn@redhat.com>
3179
3180 * libc/argz/argz_add.c: Change to use _DEFUN macro for function
3181 definition.
3182 * libc/argz/argz_add_sep.c: Ditto.
3183 * libc/argz/argz_append.c libc/argz/argz_count.c: Ditto.
3184 * libc/argz/argz_create.c libc/argz/argz_create_sep.c: Ditto.
3185 * libc/argz/argz_delete.c libc/argz/argz_extract.c: Ditto.
3186 * libc/argz/argz_insert.c libc/argz/argz_next.c: Ditto.
3187 * libc/argz/argz_replace.c libc/argz/argz_stringify.c: Ditto.
3188 * libc/argz/envz_add.c libc/argz/envz_entry.c: Ditto.
3189 * libc/argz/envz_get.c libc/argz/envz_merge.c: Ditto.
3190 * libc/argz/envz_remove.c libc/argz/envz_strip.c: Ditto.
3191 * libc/locale/nl_langinfo.c libc/misc/ffs.c: Ditto.
3192 * libc/posix/closedir.c libc/posix/creat.c: Ditto.
3193 * libc/posix/execl.c libc/posix/execle.c: Ditto.
3194 * libc/posix/execlp.c libc/posix/execve.c: Ditto.
3195 * libc/posix/isatty.c libc/posix/opendir.c: Ditto.
3196 * libc/posix/popen.c libc/posix/readdir.c: Ditto.
3197 * libc/posix/readdir_r.c libc/posix/rewinddir.c: Ditto.
3198 * libc/posix/scandir.c libc/posix/seekdir.c: Ditto.
3199 * libc/posix/telldir.c libc/search/hcreate.c: Ditto.
3200 * libc/search/tdelete.c libc/search/tdestroy.c: Ditto.
3201 * libc/search/tfind.c libc/search/tsearch.c: Ditto.
3202 * libc/search/twalk.c libc/signal/signal.c: Ditto.
3203
3204 2003-06-05 Nick Clifton <nickc@redhat.com>
3205
3206 * libc/include/sys/reent.h (struct _on_exit_args): New
3207 structure containing fields used by the on_exit() function.
3208 (struct _atexit): Include struct _on_exit_args. For
3209 _REENT_SMALL do his via a pointer that is initialised when
3210 needed.
3211 * libc/reent/reent.c (_reclaim_reent): Free the _on_exit_args
3212 structure, if one has been allocated.
3213 * libc/stdlib/atexit.c (atexit): Update indirection to
3214 _fntypes field.
3215 * libc/stdlib/on_exit.c (on_exit): Indirect via the
3216 _on_exit_args structure. For _REENT_SMALL, allocate a
3217 structure if one does not exist.
3218 * libc/stdlib/exit.c (exit): Indirect via the _on_exit_args
3219 structure.
3220
3221 2003-06-04 Jeff Johnston <jjohnstn@redhat.com>
3222
3223 * libc/sys/linux/net/Makefile.am: Remove extraneous markers.
3224 * libc/sys/linux/net/Makefile.in: Regenerated.
3225
3226 2003-06-03 Jeff Johnston <jjohnstn@redhat.com>
3227
3228 * libc/reent/execr.c: Use _DEFUN macro for function declaration.
3229 * libc/reent/fcntlr.c: Ditto.
3230 * libc/reent/fstat64r.c: Ditto.
3231 * libc/reent/linkr.c: Ditto.
3232 * libc/reent/lseek64r.c: Ditto.
3233 * libc/reent/lseekr.c: Ditto.
3234 * libc/reent/openr.c: Ditto.
3235 * libc/reent/readr.c: Ditto.
3236 * libc/reent/reent.c: Ditto.
3237 * libc/reent/sbrkr.c: Ditto.
3238 * libc/reent/signalr.c: Ditto.
3239 * libc/reent/signgam.c: Ditto.
3240 * libc/reent/statr.c: Ditto.
3241 * libc/reent/timer.c: Ditto.
3242 * libc/reent/unlinkr.c: Ditto.
3243 * libc/reent/writer.c: Ditto.
3244 * libc/syscalls/sysclose.c: Ditto.
3245 * libc/syscalls/sysexecve.c: Ditto.
3246 * libc/syscalls/sysfcntl.c: Ditto.
3247 * libc/syscalls/sysfork.c: Ditto.
3248 * libc/syscalls/sysfstat.c: Ditto.
3249 * libc/syscalls/sysgetpid.c: Ditto.
3250 * libc/syscalls/sysgettod.c: Ditto.
3251 * libc/syscalls/syskill.c: Ditto.
3252 * libc/syscalls/syslink.c: Ditto.
3253 * libc/syscalls/syslseek.c: Ditto.
3254 * libc/syscalls/sysopen.c: Ditto.
3255 * libc/syscalls/sysread.c: Ditto.
3256 * libc/syscalls/syssbrk.c: Ditto.
3257 * libc/syscalls/sysstat.c: Ditto.
3258 * libc/syscalls/systimes.c: Ditto.
3259 * libc/syscalls/sysunlink.c: Ditto.
3260 * libc/syscalls/syswait.c: Ditto.
3261 * libc/syscalls/syswrite.c: Ditto.
3262
3263 2003-06-03 Till Straumann <strauman@SLAC.Stanford.EDU>
3264
3265 * libc/time/tzset_r.c: Change local variables that are
3266 set via sscanf using the %h format specifier to be unsigned short
3267 instead of int.
3268
3269 2003-05-30 Kelley Cook <kelleycook@wideopenwest.com>
3270
3271 * configure.host: Allow i[34567]86 variant.
3272 * configure.in: Likewise.
3273 * README: Likewise to the docs.
3274 * configure: Regenerated.
3275 * Makefile.in: Ditto.
3276
3277 2003-05-28 Jeff Johnston <jjohnstn@redhat.com>
3278 Tom Fitzsimmons <fitzsim@redhat.com>
3279
3280 * configure.in: Add iconvdata support for x86 linux.
3281 * configure: Regenerated.
3282 * libc/sys/linux/Makefile.am: Add EL/IX level 3 network, dynamic
3283 library, iconv, and linuxthreads support.
3284 * libc/sys/linux/configure.in: Ditto.
3285 * libc/sys/linux/Makefile.in: Regenerated.
3286 * libc/sys/linux/configure: Ditto.
3287 * iconvdata/EUC-JP.irreversible: New file.
3288 * iconvdata/Makefile.am: Ditto.
3289 * iconvdata/Makefile.in: Ditto.
3290 * iconvdata/SJIS.irreversible: Ditto.
3291 * iconvdata/aclocal.m4: Ditto.
3292 * iconvdata/configure: Ditto.
3293 * iconvdata/configure.in: Ditto.
3294 * iconvdata/dummy.c: Ditto.
3295 * iconvdata/euc-jp.c: Ditto.
3296 * iconvdata/gconv-modules: Ditto.
3297 * iconvdata/jis0201.c: Ditto.
3298 * iconvdata/jis0201.h: Ditto.
3299 * iconvdata/jis0208.c: Ditto.
3300 * iconvdata/jis0208.h: Ditto.
3301 * iconvdata/jis0212.c: Ditto.
3302 * iconvdata/jis0212.h: Ditto.
3303 * iconvdata/sjis.c: Ditto.
3304 * libc/include/errno.h: Protect definition of error_t.
3305 * libc/sys/linux/gethostid.c: New file.
3306 * libc/sys/linux/sethostid.c: Ditto.
3307 * libc/sys/linux/dl/Makefile.am: Ditto.
3308 * libc/sys/linux/dl/Makefile.in: Ditto.
3309 * libc/sys/linux/dl/abi-tag.h: Ditto.
3310 * libc/sys/linux/dl/atomicity.h: Ditto.
3311 * libc/sys/linux/dl/dl-addr.c: Ditto.
3312 * libc/sys/linux/dl/dl-cache.c: Ditto.
3313 * libc/sys/linux/dl/dl-cache.h: Ditto.
3314 * libc/sys/linux/dl/dl-close.c: Ditto.
3315 * libc/sys/linux/dl/dl-debug.c: Ditto.
3316 * libc/sys/linux/dl/dl-deps.c: Ditto.
3317 * libc/sys/linux/dl/dl-dst.h: Ditto.
3318 * libc/sys/linux/dl/dl-error.c: Ditto.
3319 * libc/sys/linux/dl/dl-fini.c: Ditto.
3320 * libc/sys/linux/dl/dl-init.c: Ditto.
3321 * libc/sys/linux/dl/dl-iteratephdr.c: Ditto.
3322 * libc/sys/linux/dl/dl-libc.c: Ditto.
3323 * libc/sys/linux/dl/dl-librecon.h: Ditto.
3324 * libc/sys/linux/dl/dl-load.c: Ditto.
3325 * libc/sys/linux/dl/dl-lookup.c: Ditto.
3326 * libc/sys/linux/dl/dl-lookupcfg.h: Ditto.
3327 * libc/sys/linux/dl/dl-minimal.c: Ditto.
3328 * libc/sys/linux/dl/dl-misc.c: Ditto.
3329 * libc/sys/linux/dl/dl-object.c: Ditto.
3330 * libc/sys/linux/dl/dl-open.c: Ditto.
3331 * libc/sys/linux/dl/dl-osinfo.h: Ditto.
3332 * libc/sys/linux/dl/dl-profile.c: Ditto.
3333 * libc/sys/linux/dl/dl-profstub.c: Ditto.
3334 * libc/sys/linux/dl/dl-reloc.c: Ditto.
3335 * libc/sys/linux/dl/dl-runtime.c: Ditto.
3336 * libc/sys/linux/dl/dl-support.c: Ditto.
3337 * libc/sys/linux/dl/dl-sym.c: Ditto.
3338 * libc/sys/linux/dl/dl-version.c: Ditto.
3339 * libc/sys/linux/dl/dlfcn.h: Ditto.
3340 * libc/sys/linux/dl/do-lookup.h: Ditto.
3341 * libc/sys/linux/dl/do-rel.h: Ditto.
3342 * libc/sys/linux/dl/dynamic-link.h: Ditto.
3343 * libc/sys/linux/dl/kernel-features.h: Ditto.
3344 * libc/sys/linux/dl/ldsodefs.h: Ditto.
3345 * libc/sys/linux/dl/libintl.h: Ditto.
3346 * libc/sys/linux/dl/trusted-dirs.h: Ditto.
3347 * libc/sys/linux/dl/unsecvars.h: Ditto.
3348 * libc/sys/linux/iconv/Makefile.am: Ditto.
3349 * libc/sys/linux/iconv/Makefile.in: Ditto.
3350 * libc/sys/linux/iconv/categories.def: Ditto.
3351 * libc/sys/linux/iconv/dummy-repertoire.c: Ditto.
3352 * libc/sys/linux/iconv/gconv.c: Ditto.
3353 * libc/sys/linux/iconv/gconv_builtin.c: Ditto.
3354 * libc/sys/linux/iconv/gconv_builtin.h: Ditto.
3355 * libc/sys/linux/iconv/gconv_cache.c: Ditto.
3356 * libc/sys/linux/iconv/gconv_charset.h: Ditto.
3357 * libc/sys/linux/iconv/gconv_close.c: Ditto.
3358 * libc/sys/linux/iconv/gconv_conf.c: Ditto.
3359 * libc/sys/linux/iconv/gconv_db.c: Ditto.
3360 * libc/sys/linux/iconv/gconv_dl.c: Ditto.
3361 * libc/sys/linux/iconv/gconv_int.h: Ditto.
3362 * libc/sys/linux/iconv/gconv_open.c: Ditto.
3363 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
3364 * libc/sys/linux/iconv/gconv_trans.c: Ditto.
3365 * libc/sys/linux/iconv/hash-string.h: Ditto.
3366 * libc/sys/linux/iconv/iconv.c: Ditto.
3367 * libc/sys/linux/iconv/iconv.h: Ditto.
3368 * libc/sys/linux/iconv/iconv_charmap.c: Ditto.
3369 * libc/sys/linux/iconv/iconv_close.c: Ditto.
3370 * libc/sys/linux/iconv/iconv_open.c: Ditto.
3371 * libc/sys/linux/iconv/iconvconfig.c: Ditto.
3372 * libc/sys/linux/iconv/iconvconfig.h: Ditto.
3373 * libc/sys/linux/iconv/loadinfo.h: Ditto.
3374 * libc/sys/linux/iconv/localeinfo.h: Ditto.
3375 * libc/sys/linux/iconv/loop.c: Ditto.
3376 * libc/sys/linux/iconv/skeleton.c: Ditto.
3377 * libc/sys/linux/iconv/strtab.c: Ditto.
3378 * libc/sys/linux/include/dl-hash.h: Ditto.
3379 * libc/sys/linux/include/dlfcn.h: Ditto.
3380 * libc/sys/linux/include/fnmatch.h: Ditto.
3381 * libc/sys/linux/include/gconv.h: Ditto.
3382 * libc/sys/linux/include/glob.h: Ditto.
3383 * libc/sys/linux/include/hesiod.h: Ditto.
3384 * libc/sys/linux/include/ifaddrs.h: Ditto.
3385 * libc/sys/linux/include/libc_private.h: Ditto.
3386 * libc/sys/linux/include/link.h: Ditto.
3387 * libc/sys/linux/include/namespace.h: Ditto.
3388 * libc/sys/linux/include/netconfig.h: Ditto.
3389 * libc/sys/linux/include/netdb.h: Ditto.
3390 * libc/sys/linux/include/nsswitch.h: Ditto.
3391 * libc/sys/linux/include/regex.h: Ditto.
3392 * libc/sys/linux/include/resolv.h: Ditto.
3393 * libc/sys/linux/include/rune.h: Ditto.
3394 * libc/sys/linux/include/runetype.h: Ditto.
3395 * libc/sys/linux/include/semaphore.h: Ditto.
3396 * libc/sys/linux/include/setlocale.h: Ditto.
3397 * libc/sys/linux/include/un-namespace.h: Ditto.
3398 * libc/sys/linux/include/wordexp.h: Ditto.
3399 * libc/sys/linux/include/arpa/ftp.h: Ditto.
3400 * libc/sys/linux/include/arpa/inet.h: Ditto.
3401 * libc/sys/linux/include/arpa/nameser.h: Ditto.
3402 * libc/sys/linux/include/arpa/nameser_compat.h: Ditto.
3403 * libc/sys/linux/include/arpa/telnet.h: Ditto.
3404 * libc/sys/linux/include/arpa/tftp.h: Ditto.
3405 * libc/sys/linux/include/net/bpf.h: Ditto.
3406 * libc/sys/linux/include/net/bpf_compat.h: Ditto.
3407 * libc/sys/linux/include/net/bpfdesc.h: Ditto.
3408 * libc/sys/linux/include/net/bridge.h: Ditto.
3409 * libc/sys/linux/include/net/ethernet.h: Ditto.
3410 * libc/sys/linux/include/net/fddi.h: Ditto.
3411 * libc/sys/linux/include/net/if.h: Ditto.
3412 * libc/sys/linux/include/net/if_arc.h: Ditto.
3413 * libc/sys/linux/include/net/if_arp.h: Ditto.
3414 * libc/sys/linux/include/net/if_atm.h: Ditto.
3415 * libc/sys/linux/include/net/if_dl.h: Ditto.
3416 * libc/sys/linux/include/net/if_gif.h: Ditto.
3417 * libc/sys/linux/include/net/if_ieee80211.h: Ditto.
3418 * libc/sys/linux/include/net/if_llc.h: Ditto.
3419 * libc/sys/linux/include/net/if_media.h: Ditto.
3420 * libc/sys/linux/include/net/if_mib.h: Ditto.
3421 * libc/sys/linux/include/net/if_ppp.h: Ditto.
3422 * libc/sys/linux/include/net/if_pppvar.h: Ditto.
3423 * libc/sys/linux/include/net/if_slvar.h: Ditto.
3424 * libc/sys/linux/include/net/if_sppp.h: Ditto.
3425 * libc/sys/linux/include/net/if_stf.h: Ditto.
3426 * libc/sys/linux/include/net/if_tap.h: Ditto.
3427 * libc/sys/linux/include/net/if_tapvar.h: Ditto.
3428 * libc/sys/linux/include/net/if_tun.h: Ditto.
3429 * libc/sys/linux/include/net/if_tunvar.h: Ditto.
3430 * libc/sys/linux/include/net/if_types.h: Ditto.
3431 * libc/sys/linux/include/net/if_var.h: Ditto.
3432 * libc/sys/linux/include/net/if_vlan_var.h: Ditto.
3433 * libc/sys/linux/include/net/intrq.h: Ditto.
3434 * libc/sys/linux/include/net/iso88025.h: Ditto.
3435 * libc/sys/linux/include/net/net_osdep.h: Ditto.
3436 * libc/sys/linux/include/net/netisr.h: Ditto.
3437 * libc/sys/linux/include/net/pfil.h: Ditto.
3438 * libc/sys/linux/include/net/pfkeyv2.h: Ditto.
3439 * libc/sys/linux/include/net/ppp_comp.h: Ditto.
3440 * libc/sys/linux/include/net/ppp_defs.h: Ditto.
3441 * libc/sys/linux/include/net/radix.h: Ditto.
3442 * libc/sys/linux/include/net/raw_cb.h: Ditto.
3443 * libc/sys/linux/include/net/route.h: Ditto.
3444 * libc/sys/linux/include/net/slcompress.h: Ditto.
3445 * libc/sys/linux/include/net/slip.h: Ditto.
3446 * libc/sys/linux/include/net/zlib.h: Ditto.
3447 * libc/sys/linux/include/netinet/icmp6.h: Ditto.
3448 * libc/sys/linux/include/netinet/icmp_var.h: Ditto.
3449 * libc/sys/linux/include/netinet/if_atm.h: Ditto.
3450 * libc/sys/linux/include/netinet/if_ether.h: Ditto.
3451 * libc/sys/linux/include/netinet/igmp.h: Ditto.
3452 * libc/sys/linux/include/netinet/igmp_var.h: Ditto.
3453 * libc/sys/linux/include/netinet/in.h: Ditto.
3454 * libc/sys/linux/include/netinet/in_gif.h: Ditto.
3455 * libc/sys/linux/include/netinet/in_pcb.h: Ditto.
3456 * libc/sys/linux/include/netinet/in_systm.h: Ditto.
3457 * libc/sys/linux/include/netinet/in_var.h: Ditto.
3458 * libc/sys/linux/include/netinet/ip.h: Ditto.
3459 * libc/sys/linux/include/netinet/ip6.h: Ditto.
3460 * libc/sys/linux/include/netinet/ip_dummynet.h: Ditto.
3461 * libc/sys/linux/include/netinet/ip_ecn.h: Ditto.
3462 * libc/sys/linux/include/netinet/ip_encap.h: Ditto.
3463 * libc/sys/linux/include/netinet/ip_flow.h: Ditto.
3464 * libc/sys/linux/include/netinet/ip_fw.h: Ditto.
3465 * libc/sys/linux/include/netinet/ip_icmp.h: Ditto.
3466 * libc/sys/linux/include/netinet/ip_mroute.h: Ditto.
3467 * libc/sys/linux/include/netinet/ip_var.h: Ditto.
3468 * libc/sys/linux/include/netinet/ipprotosw.h: Ditto.
3469 * libc/sys/linux/include/netinet/tcp.h: Ditto.
3470 * libc/sys/linux/include/netinet/tcp_debug.h: Ditto.
3471 * libc/sys/linux/include/netinet/tcp_fsm.h: Ditto.
3472 * libc/sys/linux/include/netinet/tcp_seq.h: Ditto.
3473 * libc/sys/linux/include/netinet/tcp_timer.h: Ditto.
3474 * libc/sys/linux/include/netinet/tcp_var.h: Ditto.
3475 * libc/sys/linux/include/netinet/tcpip.h: Ditto.
3476 * libc/sys/linux/include/netinet/udp.h: Ditto.
3477 * libc/sys/linux/include/netinet/udp_var.h: Ditto.
3478 * libc/sys/linux/include/netinet6/ah.h: Ditto.
3479 * libc/sys/linux/include/netinet6/ah6.h: Ditto.
3480 * libc/sys/linux/include/netinet6/esp.h: Ditto.
3481 * libc/sys/linux/include/netinet6/esp6.h: Ditto.
3482 * libc/sys/linux/include/netinet6/esp_rijndael.h: Ditto.
3483 * libc/sys/linux/include/netinet6/icmp6.h: Ditto.
3484 * libc/sys/linux/include/netinet6/in6.h: Ditto.
3485 * libc/sys/linux/include/netinet6/in6_gif.h: Ditto.
3486 * libc/sys/linux/include/netinet6/in6_ifattach.h: Ditto.
3487 * libc/sys/linux/include/netinet6/in6_pcb.h: Ditto.
3488 * libc/sys/linux/include/netinet6/in6_prefix.h: Ditto.
3489 * libc/sys/linux/include/netinet6/in6_var.h: Ditto.
3490 * libc/sys/linux/include/netinet6/ip6.h: Ditto.
3491 * libc/sys/linux/include/netinet6/ip6_ecn.h: Ditto.
3492 * libc/sys/linux/include/netinet6/ip6_fw.h: Ditto.
3493 * libc/sys/linux/include/netinet6/ip6_mroute.h: Ditto.
3494 * libc/sys/linux/include/netinet6/ip6_var.h: Ditto.
3495 * libc/sys/linux/include/netinet6/ip6protosw.h: Ditto.
3496 * libc/sys/linux/include/netinet6/ipcomp.h: Ditto.
3497 * libc/sys/linux/include/netinet6/ipcomp6.h: Ditto.
3498 * libc/sys/linux/include/netinet6/ipsec.h: Ditto.
3499 * libc/sys/linux/include/netinet6/ipsec6.h: Ditto.
3500 * libc/sys/linux/include/netinet6/mld6_var.h: Ditto.
3501 * libc/sys/linux/include/netinet6/nd6.h: Ditto.
3502 * libc/sys/linux/include/netinet6/pim6.h: Ditto.
3503 * libc/sys/linux/include/netinet6/pim6_var.h: Ditto.
3504 * libc/sys/linux/include/netinet6/raw_ip6.h: Ditto.
3505 * libc/sys/linux/include/netinet6/scope6_var.h: Ditto.
3506 * libc/sys/linux/include/netinet6/tcp6_var.h: Ditto.
3507 * libc/sys/linux/include/netinet6/udp6_var.h: Ditto.
3508 * libc/sys/linux/include/netns/idp.h: Ditto.
3509 * libc/sys/linux/include/netns/idp_var.h: Ditto.
3510 * libc/sys/linux/include/netns/ns.h: Ditto.
3511 * libc/sys/linux/include/netns/ns_error.h: Ditto.
3512 * libc/sys/linux/include/netns/ns_if.h: Ditto.
3513 * libc/sys/linux/include/netns/ns_pcb.h: Ditto.
3514 * libc/sys/linux/include/netns/sp.h: Ditto.
3515 * libc/sys/linux/include/netns/spidp.h: Ditto.
3516 * libc/sys/linux/include/netns/spp_debug.h: Ditto.
3517 * libc/sys/linux/include/netns/spp_timer.h: Ditto.
3518 * libc/sys/linux/include/netns/spp_var.h: Ditto.
3519 * libc/sys/linux/include/rpc/Makefile: Ditto.
3520 * libc/sys/linux/include/rpc/auth.h: Ditto.
3521 * libc/sys/linux/include/rpc/auth_des.h: Ditto.
3522 * libc/sys/linux/include/rpc/auth_kerb.h: Ditto.
3523 * libc/sys/linux/include/rpc/auth_unix.h: Ditto.
3524 * libc/sys/linux/include/rpc/clnt.h: Ditto.
3525 * libc/sys/linux/include/rpc/clnt_soc.h: Ditto.
3526 * libc/sys/linux/include/rpc/clnt_stat.h: Ditto.
3527 * libc/sys/linux/include/rpc/des.h: Ditto.
3528 * libc/sys/linux/include/rpc/des_crypt.h: Ditto.
3529 * libc/sys/linux/include/rpc/nettype.h: Ditto.
3530 * libc/sys/linux/include/rpc/pmap_clnt.h: Ditto.
3531 * libc/sys/linux/include/rpc/pmap_prot.h: Ditto.
3532 * libc/sys/linux/include/rpc/pmap_rmt.h: Ditto.
3533 * libc/sys/linux/include/rpc/raw.h: Ditto.
3534 * libc/sys/linux/include/rpc/rpc.h: Ditto.
3535 * libc/sys/linux/include/rpc/rpc_com.h: Ditto.
3536 * libc/sys/linux/include/rpc/rpc_msg.h: Ditto.
3537 * libc/sys/linux/include/rpc/rpcb_clnt.h: Ditto.
3538 * libc/sys/linux/include/rpc/rpcb_prot.h: Ditto.
3539 * libc/sys/linux/include/rpc/rpcb_prot.x: Ditto.
3540 * libc/sys/linux/include/rpc/rpcent.h: Ditto.
3541 * libc/sys/linux/include/rpc/svc.h: Ditto.
3542 * libc/sys/linux/include/rpc/svc_auth.h: Ditto.
3543 * libc/sys/linux/include/rpc/svc_dg.h: Ditto.
3544 * libc/sys/linux/include/rpc/svc_soc.h: Ditto.
3545 * libc/sys/linux/include/rpc/types.h: Ditto.
3546 * libc/sys/linux/include/rpc/xdr.h: Ditto.
3547 * libc/sys/linux/intl/Makefile.am: Ditto.
3548 * libc/sys/linux/intl/Makefile.in: Ditto.
3549 * libc/sys/linux/intl/bindtextdom.c: Ditto.
3550 * libc/sys/linux/intl/catgets.c: Ditto.
3551 * libc/sys/linux/intl/catgetsinfo.h: Ditto.
3552 * libc/sys/linux/intl/config.h: Ditto.
3553 * libc/sys/linux/intl/dcgettext.c: Ditto.
3554 * libc/sys/linux/intl/dcigettext.c: Ditto.
3555 * libc/sys/linux/intl/dcngettext.c: Ditto.
3556 * libc/sys/linux/intl/dgettext.c: Ditto.
3557 * libc/sys/linux/intl/dngettext.c: Ditto.
3558 * libc/sys/linux/intl/explodename.c: Ditto.
3559 * libc/sys/linux/intl/finddomain.c: Ditto.
3560 * libc/sys/linux/intl/gettext.c: Ditto.
3561 * libc/sys/linux/intl/gettext.h: Ditto.
3562 * libc/sys/linux/intl/gettextP.h: Ditto.
3563 * libc/sys/linux/intl/hash-string.h: Ditto.
3564 * libc/sys/linux/intl/l10nflist.c: Ditto.
3565 * libc/sys/linux/intl/loadinfo.h: Ditto.
3566 * libc/sys/linux/intl/loadmsgcat.c: Ditto.
3567 * libc/sys/linux/intl/locale.alias: Ditto.
3568 * libc/sys/linux/intl/localealias.c: Ditto.
3569 * libc/sys/linux/intl/ngettext.c: Ditto.
3570 * libc/sys/linux/intl/open_catalog.c: Ditto.
3571 * libc/sys/linux/intl/plural.c: Ditto.
3572 * libc/sys/linux/intl/plural.y: Ditto.
3573 * libc/sys/linux/intl/stpcpy.c: Ditto.
3574 * libc/sys/linux/intl/textdomain.c: Ditto.
3575 * libc/sys/linux/linuxthreads/LICENSE: Ditto.
3576 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
3577 * libc/sys/linux/linuxthreads/Makefile.in: Ditto.
3578 * libc/sys/linux/linuxthreads/aclocal.m4: Ditto.
3579 * libc/sys/linux/linuxthreads/attr.c: Ditto.
3580 * libc/sys/linux/linuxthreads/barrier.c: Ditto.
3581 * libc/sys/linux/linuxthreads/bp-sym.h: Ditto.
3582 * libc/sys/linux/linuxthreads/cancel.c: Ditto.
3583 * libc/sys/linux/linuxthreads/condvar.c: Ditto.
3584 * libc/sys/linux/linuxthreads/config.h: Ditto.
3585 * libc/sys/linux/linuxthreads/configure: Ditto.
3586 * libc/sys/linux/linuxthreads/configure.in: Ditto.
3587 * libc/sys/linux/linuxthreads/defs.awk: Ditto.
3588 * libc/sys/linux/linuxthreads/ecmutex.c: Ditto.
3589 * libc/sys/linux/linuxthreads/events.c: Ditto.
3590 * libc/sys/linux/linuxthreads/getcpuclockid.c: Ditto.
3591 * libc/sys/linux/linuxthreads/getreent.c: Ditto.
3592 * libc/sys/linux/linuxthreads/internals.h: Ditto.
3593 * libc/sys/linux/linuxthreads/join.c: Ditto.
3594 * libc/sys/linux/linuxthreads/joinrace.c: Ditto.
3595 * libc/sys/linux/linuxthreads/kernel-features.h: Ditto.
3596 * libc/sys/linux/linuxthreads/libc-internal.h: Ditto.
3597 * libc/sys/linux/linuxthreads/libc-symbols.h: Ditto.
3598 * libc/sys/linux/linuxthreads/linuxthreads.texi: Ditto.
3599 * libc/sys/linux/linuxthreads/lockfile.c: Ditto.
3600 * libc/sys/linux/linuxthreads/manager.c: Ditto.
3601 * libc/sys/linux/linuxthreads/mq_notify.c: Ditto.
3602 * libc/sys/linux/linuxthreads/mutex.c: Ditto.
3603 * libc/sys/linux/linuxthreads/no-tsd.c: Ditto.
3604 * libc/sys/linux/linuxthreads/oldsemaphore.c: Ditto.
3605 * libc/sys/linux/linuxthreads/posix-timer.h: Ditto.
3606 * libc/sys/linux/linuxthreads/prio.c: Ditto.
3607 * libc/sys/linux/linuxthreads/proc_service.h: Ditto.
3608 * libc/sys/linux/linuxthreads/pt-machine.c: Ditto.
3609 * libc/sys/linux/linuxthreads/ptclock_gettime.c: Ditto.
3610 * libc/sys/linux/linuxthreads/ptclock_settime.c: Ditto.
3611 * libc/sys/linux/linuxthreads/ptfork.c: Ditto.
3612 * libc/sys/linux/linuxthreads/pthread.c: Ditto.
3613 * libc/sys/linux/linuxthreads/ptlongjmp.c: Ditto.
3614 * libc/sys/linux/linuxthreads/queue.h: Ditto.
3615 * libc/sys/linux/linuxthreads/reent.c: Ditto.
3616 * libc/sys/linux/linuxthreads/reqsyscalls.c: Ditto.
3617 * libc/sys/linux/linuxthreads/restart.h: Ditto.
3618 * libc/sys/linux/linuxthreads/rwlock.c: Ditto.
3619 * libc/sys/linux/linuxthreads/semaphore.c: Ditto.
3620 * libc/sys/linux/linuxthreads/semaphore.h: Ditto.
3621 * libc/sys/linux/linuxthreads/shlib-compat.h: Ditto.
3622 * libc/sys/linux/linuxthreads/signals.c: Ditto.
3623 * libc/sys/linux/linuxthreads/specific.c: Ditto.
3624 * libc/sys/linux/linuxthreads/spinlock.c: Ditto.
3625 * libc/sys/linux/linuxthreads/spinlock.h: Ditto.
3626 * libc/sys/linux/linuxthreads/sysctl.c: Ditto.
3627 * libc/sys/linux/linuxthreads/td_init.c: Ditto.
3628 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
3629 * libc/sys/linux/linuxthreads/td_symbol_list.c: Ditto.
3630 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
3631 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
3632 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
3633 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
3634 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
3635 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
3636 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
3637 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
3638 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
3639 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
3640 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
3641 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
3642 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
3643 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
3644 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
3645 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
3646 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
3647 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
3648 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
3649 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
3650 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
3651 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
3652 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
3653 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
3654 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
3655 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
3656 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
3657 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
3658 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
3659 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
3660 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
3661 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
3662 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
3663 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
3664 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
3665 * libc/sys/linux/linuxthreads/testrtsig.h: Ditto.
3666 * libc/sys/linux/linuxthreads/thread_db.h: Ditto.
3667 * libc/sys/linux/linuxthreads/thread_dbP.h: Ditto.
3668 * libc/sys/linux/linuxthreads/timer_create.c: Ditto.
3669 * libc/sys/linux/linuxthreads/timer_delete.c: Ditto.
3670 * libc/sys/linux/linuxthreads/timer_getoverr.c: Ditto.
3671 * libc/sys/linux/linuxthreads/timer_gettime.c: Ditto.
3672 * libc/sys/linux/linuxthreads/timer_routines.c: Ditto.
3673 * libc/sys/linux/linuxthreads/timer_settime.c: Ditto.
3674 * libc/sys/linux/linuxthreads/tst-cancel.c: Ditto.
3675 * libc/sys/linux/linuxthreads/tst-context.c: Ditto.
3676 * libc/sys/linux/linuxthreads/tststack.c: Ditto.
3677 * libc/sys/linux/linuxthreads/unload.c: Ditto.
3678 * libc/sys/linux/linuxthreads/weaks.c: Ditto.
3679 * libc/sys/linux/linuxthreads/wrapsyscall.c: Ditto.
3680 * libc/sys/linux/linuxthreads/bits/initspin.h: Ditto.
3681 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Ditto.
3682 * libc/sys/linux/linuxthreads/bits/libc-tsd.h: Ditto.
3683 * libc/sys/linux/linuxthreads/bits/local_lim.h: Ditto.
3684 * libc/sys/linux/linuxthreads/bits/posix_opt.h: Ditto.
3685 * libc/sys/linux/linuxthreads/bits/pthreadtypes.h: Ditto.
3686 * libc/sys/linux/linuxthreads/bits/sigthread.h: Ditto.
3687 * libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
3688 * libc/sys/linux/linuxthreads/machine/Makefile.in: Ditto.
3689 * libc/sys/linux/linuxthreads/machine/aclocal.m4: Ditto.
3690 * libc/sys/linux/linuxthreads/machine/configure: Ditto.
3691 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
3692 * libc/sys/linux/linuxthreads/machine/generic/generic-sysd: Ditto.ep.h
3693 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
3694 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Ditto.
3695 * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Ditto.
3696 * libc/sys/linux/linuxthreads/machine/i386/bp-asm.h: Ditto.
3697 * libc/sys/linux/linuxthreads/machine/i386/clone.S: Ditto.
3698 * libc/sys/linux/linuxthreads/machine/i386/configure: Ditto.
3699 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
3700 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.S: Ditto.
3701 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.h: Ditto.
3702 * libc/sys/linux/linuxthreads/machine/i386/pspinlock.c: Ditto.
3703 * libc/sys/linux/linuxthreads/machine/i386/pt-machine.h: Ditto.
3704 * libc/sys/linux/linuxthreads/machine/i386/sigcontextinfo.h: Ditto.
3705 * libc/sys/linux/linuxthreads/machine/i386/stackinfo.h: Ditto.
3706 * libc/sys/linux/linuxthreads/machine/i386/sysdep.S: Ditto.
3707 * libc/sys/linux/linuxthreads/machine/i386/sysdep.h: Ditto.
3708 * libc/sys/linux/linuxthreads/machine/i386/useldt.h: Ditto.
3709 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
3710 * libc/sys/linux/net/Makefile.am: Ditto.
3711 * libc/sys/linux/net/Makefile.in: Ditto.
3712 * libc/sys/linux/net/addr2ascii.3: Ditto.
3713 * libc/sys/linux/net/addr2ascii.c: Ditto.
3714 * libc/sys/linux/net/ascii2addr.c: Ditto.
3715 * libc/sys/linux/net/base64.c: Ditto.
3716 * libc/sys/linux/net/bindresvport.c: Ditto.
3717 * libc/sys/linux/net/byteorder.3: Ditto.
3718 * libc/sys/linux/net/ether_addr.c: Ditto.
3719 * libc/sys/linux/net/ethers.3: Ditto.
3720 * libc/sys/linux/net/getaddrinfo.3: Ditto.
3721 * libc/sys/linux/net/getaddrinfo.c: Ditto.
3722 * libc/sys/linux/net/gethostbydns.c: Ditto.
3723 * libc/sys/linux/net/gethostbyht.c: Ditto.
3724 * libc/sys/linux/net/gethostbyname.3: Ditto.
3725 * libc/sys/linux/net/gethostbynis.c: Ditto.
3726 * libc/sys/linux/net/gethostnamadr.c: Ditto.
3727 * libc/sys/linux/net/getifaddrs.3: Ditto.
3728 * libc/sys/linux/net/getifaddrs.c: Ditto.
3729 * libc/sys/linux/net/getipnodebyname.3: Ditto.
3730 * libc/sys/linux/net/getnameinfo.3: Ditto.
3731 * libc/sys/linux/net/getnameinfo.c: Ditto.
3732 * libc/sys/linux/net/getnetbydns.c: Ditto.
3733 * libc/sys/linux/net/getnetbyht.c: Ditto.
3734 * libc/sys/linux/net/getnetbynis.c: Ditto.
3735 * libc/sys/linux/net/getnetent.3: Ditto.
3736 * libc/sys/linux/net/getnetnamadr.c: Ditto.
3737 * libc/sys/linux/net/getproto.c: Ditto.
3738 * libc/sys/linux/net/getprotoent.3: Ditto.
3739 * libc/sys/linux/net/getprotoent.c: Ditto.
3740 * libc/sys/linux/net/getprotoname.c: Ditto.
3741 * libc/sys/linux/net/getservbyname.c: Ditto.
3742 * libc/sys/linux/net/getservbyport.c: Ditto.
3743 * libc/sys/linux/net/getservent.3: Ditto.
3744 * libc/sys/linux/net/getservent.c: Ditto.
3745 * libc/sys/linux/net/herror.c: Ditto.
3746 * libc/sys/linux/net/hesiod.3: Ditto.
3747 * libc/sys/linux/net/hesiod.c: Ditto.
3748 * libc/sys/linux/net/if_indextoname.3: Ditto.
3749 * libc/sys/linux/net/ifname.c: Ditto.
3750 * libc/sys/linux/net/inet.3: Ditto.
3751 * libc/sys/linux/net/inet6_option_s: Ditto.pace.3
3752 * libc/sys/linux/net/inet6_rthdr_space.3: Ditto.
3753 * libc/sys/linux/net/inet_addr.c: Ditto.
3754 * libc/sys/linux/net/inet_lnaof.c: Ditto.
3755 * libc/sys/linux/net/inet_makeaddr.c: Ditto.
3756 * libc/sys/linux/net/inet_net.3: Ditto.
3757 * libc/sys/linux/net/inet_net_ntop.c: Ditto.
3758 * libc/sys/linux/net/inet_net_pton.c: Ditto.
3759 * libc/sys/linux/net/inet_neta.c: Ditto.
3760 * libc/sys/linux/net/inet_netof.c: Ditto.
3761 * libc/sys/linux/net/inet_network.c: Ditto.
3762 * libc/sys/linux/net/inet_ntoa.c: Ditto.
3763 * libc/sys/linux/net/inet_ntop.c: Ditto.
3764 * libc/sys/linux/net/inet_pton.c: Ditto.
3765 * libc/sys/linux/net/innetgr-stub.c: Ditto.
3766 * libc/sys/linux/net/ip6opt.c: Ditto.
3767 * libc/sys/linux/net/iso_addr.3: Ditto.
3768 * libc/sys/linux/net/iso_addr.c: Ditto.
3769 * libc/sys/linux/net/issetugid-stub.c: Ditto.
3770 * libc/sys/linux/net/linkaddr.3: Ditto.
3771 * libc/sys/linux/net/linkaddr.c: Ditto.
3772 * libc/sys/linux/net/map_v4v6.c: Ditto.
3773 * libc/sys/linux/net/name6.c: Ditto.
3774 * libc/sys/linux/net/namespace.h: Ditto.
3775 * libc/sys/linux/net/ns.3: Ditto.
3776 * libc/sys/linux/net/ns_addr.c: Ditto.
3777 * libc/sys/linux/net/ns_name.c: Ditto.
3778 * libc/sys/linux/net/ns_netint.c: Ditto.
3779 * libc/sys/linux/net/ns_ntoa.c: Ditto.
3780 * libc/sys/linux/net/ns_parse.c: Ditto.
3781 * libc/sys/linux/net/ns_print.c: Ditto.
3782 * libc/sys/linux/net/ns_ttl.c: Ditto.
3783 * libc/sys/linux/net/nsap_addr.c: Ditto.
3784 * libc/sys/linux/net/nsdispatch.3: Ditto.
3785 * libc/sys/linux/net/nsdispatch.c: Ditto.
3786 * libc/sys/linux/net/nslexer.c: Ditto.
3787 * libc/sys/linux/net/nslexer.l: Ditto.
3788 * libc/sys/linux/net/nsparser.c: Ditto.
3789 * libc/sys/linux/net/nsparser.h: Ditto.
3790 * libc/sys/linux/net/nsparser.y: Ditto.
3791 * libc/sys/linux/net/rcmd.3: Ditto.
3792 * libc/sys/linux/net/rcmd.c: Ditto.
3793 * libc/sys/linux/net/rcmdsh.3: Ditto.
3794 * libc/sys/linux/net/rcmdsh.c: Ditto.
3795 * libc/sys/linux/net/recv.c: Ditto.
3796 * libc/sys/linux/net/res_comp.c: Ditto.
3797 * libc/sys/linux/net/res_config.h: Ditto.
3798 * libc/sys/linux/net/res_data.c: Ditto.
3799 * libc/sys/linux/net/res_debug.c: Ditto.
3800 * libc/sys/linux/net/res_init.c: Ditto.
3801 * libc/sys/linux/net/res_mkquery.c: Ditto.
3802 * libc/sys/linux/net/res_mkupdate.c: Ditto.
3803 * libc/sys/linux/net/res_query.c: Ditto.
3804 * libc/sys/linux/net/res_send.c: Ditto.
3805 * libc/sys/linux/net/res_update.c: Ditto.
3806 * libc/sys/linux/net/resolver.3: Ditto.
3807 * libc/sys/linux/net/rthdr.c: Ditto.
3808 * libc/sys/linux/net/send.c: Ditto.
3809 * libc/sys/linux/net/un-namespace.h: Ditto.
3810 * libc/sys/linux/net/vars.c: Ditto.
3811 * libc/sys/linux/stdlib/COPYRIGHT: Ditto.
3812 * libc/sys/linux/stdlib/Makefile.am: Ditto.
3813 * libc/sys/linux/stdlib/Makefile.in: Ditto.
3814 * libc/sys/linux/stdlib/cclass.h: Ditto.
3815 * libc/sys/linux/stdlib/cname.h: Ditto.
3816 * libc/sys/linux/stdlib/collate.c: Ditto.
3817 * libc/sys/linux/stdlib/collate.h: Ditto.
3818 * libc/sys/linux/stdlib/collcmp.c: Ditto.
3819 * libc/sys/linux/stdlib/engine.c: Ditto.
3820 * libc/sys/linux/stdlib/fnmatch.3: Ditto.
3821 * libc/sys/linux/stdlib/fnmatch.c: Ditto.
3822 * libc/sys/linux/stdlib/glob.3: Ditto.
3823 * libc/sys/linux/stdlib/glob.c: Ditto.
3824 * libc/sys/linux/stdlib/reallocf.c: Ditto.
3825 * libc/sys/linux/stdlib/regcomp.c: Ditto.
3826 * libc/sys/linux/stdlib/regerror.c: Ditto.
3827 * libc/sys/linux/stdlib/regex.3: Ditto.
3828 * libc/sys/linux/stdlib/regex2.h: Ditto.
3829 * libc/sys/linux/stdlib/regexec.c: Ditto.
3830 * libc/sys/linux/stdlib/regfree.c: Ditto.
3831 * libc/sys/linux/stdlib/utils.h: Ditto.
3832 * libc/sys/linux/stdlib/wordexp.c: Ditto.
3833 * libc/sys/linux/stdlib/wordfree.c: Ditto.
3834 * libc/sys/linux/sys/dlfcn.h: Ditto.
3835 * libc/sys/linux/sys/elfclass.h: Ditto.
3836 * libc/sys/linux/sys/event.h: Ditto.
3837 * libc/sys/linux/sys/ioccom.h: Ditto.
3838 * libc/sys/linux/sys/libc-tsd.h: Ditto.
3839 * libc/sys/linux/sys/link.h: Ditto.
3840 * libc/sys/linux/sys/lock.h: Ditto.
3841 * libc/sys/linux/sys/param.h: Ditto.
3842 * libc/sys/linux/sys/socket.h: Ditto.
3843 * libc/sys/linux/sys/sockio.h: Ditto.
3844
3845 2003-05-28 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
3846
3847 * newlib/libc/machine/h8300/memcpy.S: Use .h8300hn and .h8300sn for
3848 normal mode
3849 * newlib/libc/machine/h8300/memset.S: Likewise
3850 * newlib/lib/machine/h8300/reg_memcpy.S: Likewise
3851 * newlib/lib/machine/h8300/reg_memset.S: Likewise
3852 * newlib/lib/machine/h8300/setjmp.S: Likewise
3853 * newlib/lib/machine/h8300/strcmp.S: Likewise
3854 * newlib/lib/sys/h8300hms/crt0.S: Likewise
3855
3856 2003-05-13 Corinna Vinschen <corinna@vinschen.de>
3857
3858 * libc/ctype/ctype_.c: Remove checks for deprecated __CYGWIN32__.
3859 * libc/include/stdio.h: Ditto.
3860 * libc/include/sys/config.h: Ditto.
3861 * libc/stdio/mktemp.c: Ditto.
3862
3863 2003-05-13 Corinna Vinschen <corinna@vinschen.de>
3864
3865 * libc/locale/ldpart.c (__part_load_locale): Substitute
3866 __CYGWIN_USE_BIG_TYPES__ by __USE_INTERNAL_STAT64.
3867 * libc/search/hash.c (__hash_open): Ditto.
3868 (init_hash): Ditto.
3869 * libc/stdio/fseek.c (fseek): Ditto.
3870 * libc/stdio/makebuf.c (__smakebuf): Ditto.
3871 * libc/stdio/mktemp.c (_gettemp): Ditto.
3872
3873 2003-05-12 Corinna Vinschen <corinna@vinschen.de>
3874
3875 * libc/include/stdio.h: Change one __CYGWIN__ to __CYGWIN32__.
3876
3877 2003-05-12 Corinna Vinschen <corinna@vinschen.de>
3878
3879 * configure.host: Accomodate removing the libc/sys/cygwin dir.
3880 * libc/locale/ldpart.c (__part_load_locale): Use 64 bit stat call
3881 if __CYGWIN_USE_BIG_TYPES__ is set.
3882 * libc/search/hash.c (__hash_open): Ditto.
3883 (init_hash): Ditto.
3884 * libc/stdio/fseek.c (fseek): Ditto.
3885 * libc/stdio/makebuf.c (__smakebuf): Ditto.
3886 * libc/stdio/mktemp.c (_gettemp): Ditto.
3887 * libc/sys/cygwin/Makefile.am: Remove.
3888 * libc/sys/cygwin/Makefile.in: Remove.
3889 * libc/sys/cygwin/aclocal.m4: Remove.
3890 * libc/sys/cygwin/configure: Remove.
3891 * libc/sys/cygwin/configure.in: Remove.
3892 * libc/sys/cygwin/crt0.c: Move to winsup/cygwin directory.
3893 * libc/sys/cygwin/sys/dirent.h: Move to winsup/cygwin/include/sys
3894 directory.
3895 * libc/sys/cygwin/sys/param.h: Ditto.
3896 * libc/sys/cygwin/sys/utime.h: Ditto.
3897 * libc/sys/cygwin/sys/utmp.h: Ditto.
3898
3899 2003-05-11 Corinna Vinschen <corinna@vinschen.de>
3900
3901 * libc/include/sys/types.h: Don't define key_t for Cygwin.
3902
3903 2003-05-10 Christopher Faylor <cgf@redhat.com>
3904
3905 * libc/sys/cygwin/sys/dirent.h (struct dirent): Accommodate (slightly)
3906 64 bit inodes.
3907
3908 2003-05-09 Corinna Vinschen <corinna@vinschen.de>
3909
3910 * libc/include/sys/config.h: Remove all Cygwin specific configuration.
3911 Include cygwin/config.h instead.
3912
3913 2003-04-16 Jeff Johnston <jjohnstn@redhat.com>
3914
3915 * newlib/libc/machine/powerpc (ato*fix*.c,strto*fix*.c): Shield
3916 all code with #ifdef __SPE__ test.
3917 * newlib/libc/machine/powerpc (simdldtoa.c, ufix64toa.c): Ditto.
3918
3919 2003-04-15 Chris January <chris@atomice.net>
3920
3921 * newlib/libc/include/sys/unistd.h: add declaration for gethostid on
3922 Cygwin.
3923
3924 2003-04-09 J"orn Rennecke <joern.rennecke@superh.com>
3925
3926 * libc/machine/sh/memset.S: Avoid clobbering volatile
3927 objects following a tiny to-be-set array in the same quadword.
3928
3929 2001-04-09 Corinna Vinschen <corinna@vinschen.de>
3930
3931 * libc/include/wchar.h: Add definitions for wcswidth and wcwidth.
3932 * libc/string/Makefile.am: Add wcswidth.c and wcwidth.c
3933 * libc/string/Makefile.in: Regenerated.
3934 * libc/string/wcswidth.c: New file.
3935 * libc/string/wcwidth.c: New file.
3936 * libc/string/wcstrings.tex: Add wcswidth and wcwidth.
3937
3938 Thu Apr 3 14:01:16 2003 J"orn Rennecke <joern.rennecke@superh.com>
3939
3940 * libc/machine/sh/memset.S: Fix problem with alloco region
3941 exceeding destination region for length >= 88 bytes, start
3942 & 0x16 == 0, end & 0x1f == 18.
3943
3944 2001-04-03 Corinna Vinschen <corinna@vinschen.de>
3945
3946 * libc/string/wcscoll.c: Fix comment.
3947
3948 2001-04-02 Corinna Vinschen <corinna@vinschen.de>
3949
3950 * libc/include/wchar.h: Add definition for wcscoll.
3951 * libc/string/Makefile.am: Add wcscoll.c.
3952 * libc/string/Makefile.in: Regenerated.
3953 * libc/string/wcscoll.c: New file.
3954 * libc/string/wcstrings.tex: Add wcscoll.
3955
3956 2003-04-01 Corinna Vinschen <corinna@vinschen.de>
3957
3958 * libc/stdio/sscanf.c: Update flags description.
3959 * libc/stdio/vfscanf.c: Add CHAR flag value to denote 8 bit target
3960 type.
3961 (__svfscanf_r): Add 'hh' and 'll' handling.
3962
3963 2003-04-01 Corinna Vinschen <corinna@vinschen.de>
3964
3965 * libc/sys/cygwin/sys/dirent.h (struct DIR): Change type of
3966 __d_position member to _off_t.
3967
3968 2003-03-20 Jeff Johnston <jjohnstn@redhat.com>
3969
3970 * libc/stdio/vfscanf.c (__svfscanf_r): For floating point conversion,
3971 count all characters used to create number against maximum width.
3972 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
3973
3974 2003-03-18 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
3975
3976 * libc/include/sys/h8300hms/crt0.S[__SIMULATOR__]: Add commandline
3977 support.
3978 * configure.host (h8300*-*-*): Added comment regarding -D__SIMULATOR__
3979 flag to support simulator only extensions.
3980
3981 2003-03-17 Bob Cassels <bcassels@abinitio.com>
3982
3983 * libc/string/wcschr.c: (wcschr): Look for character first,
3984 then for end of string, so you can do wcschr(x, '\0').
3985
3986 2003-03-10 Corinna Vinschen <corinna@vinschen.de>
3987
3988 * libc/include/stdio.h: Declare fgetpos, fsetpos, fseeko and ftello
3989 with internal (_fpos_t and _off_t) datatypes when compiling newlib.
3990 * libc/include/sys/unistd.h: Declare _lseek using _off_t.
3991 * libc/reent/lseekr.c (_lseek_r): Use _off_t instead of off_t.
3992 * libc/stdio/fseeko.c (fseeko): Ditto.
3993 * libc/stdio/ftello.c (ftello): Ditto.
3994 * libc/stdio/stdio.c (__swrite): Ditto.
3995 (__sseek): Ditto.
3996 * libc/stdio/fgetpos.c (fgetpos): Use _fpos_t instead of fpos_t.
3997 * libc/stdio/fseek.c (fseek): Ditto.
3998 * libc/stdio/fsetpos.c (fsetpos): Ditto.
3999 * libc/stdio/ftell.c (ftell): Ditto.
4000 * libc/stdio/local.h: Declare __sseek using _off_t.
4001
4002 2003-03-09 Corinna Vinschen <corinna@vinschen.de>
4003
4004 * libc/reent/lseekr.c (lseek_r): Use _off_t instead of off_t.
4005
4006 2003-03-09 Corinna Vinschen <corinna@vinschen.de>
4007
4008 * libc/include/sys/config.h: Define __CYGWIN_USE_BIG_TYPES__ for
4009 Cygwin.
4010
4011 2003-03-09 Corinna Vinschen <corinna@vinschen.de>
4012
4013 * libc/include/pwd.h: Add guards to avoid type clashes when compiling
4014 Cygwin.
4015 * libc/include/sys/stat.h: Ditto.
4016 * libc/include/sys/unistd.h: Ditto.
4017 * libc/sys/cygwin/sys/dirent.h: Ditto.
4018
4019 2003-03-07 Christopher Faylor <cgf@redhat.com>
4020
4021 * libc/include/sys/unistd.h: Guard getopt.h call to force only
4022 declaration of getopt and avoid getopt_long declaration.
4023 * libc/sys/cygwin/include/unistd.h: Remove.
4024
4025 2003-03-07 Corinna Vinschen <corinna@vinschen.de>
4026
4027 * configure.host: Define stdio64_dir for Cygwin.
4028 * libc/include/stdio.h: Change definition of fpos_t to fulfill
4029 Cygwin 64bit file access requirements.
4030 Drop definition of f*64() functions when compiled for Cygwin.
4031 * libc/include/sys/config.h: Define __LARGE64_FILES for Cygwin.
4032 * libc/reent/lseek64r.c: Use _off64_t instead of off64_t.
4033 * libc/stdio64/local64.h: Use _fpos64_t instead of fpos64_t.
4034
4035 2003-03-07 Jeff Johnston <jjohnstn@redhat.com>
4036
4037 * libc/include/sys/reent.h: Remove extraneous _sig_func
4038 declaration.
4039
4040 2003-02-25 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
4041
4042 * libc/sys/h8300hms/Makefile.am: Add support for new files.
4043 * libc/sys/h8300hms/Makefile.in: Regenerated.
4044 * libc/sys/h8300hms/close.S: New file.
4045 * libc/sys/h8300hms/fstat.S: Ditto.
4046 * libc/sys/h8300hms/lseek.S: Ditto.
4047 * libc/sys/h8300hms/open.S: Ditto.
4048 * libc/sys/h8300hms/stat.S: Ditto.
4049 * libc/sys/h8300hms/read.S: New file to replace read.c.
4050 * libc/sys/h8300hms/read.c: Removed.
4051 * libc/sys/h8300hms/syscalls.c: Removed functions _open,
4052 _lseek, _close, _stat, _fstat.
4053 * libc/sys/h8300hms/write.S: New file to replace write.c.
4054 * libc/sys/h8300hms/write.c: Removed.
4055
4056 2003-02-20 Nick Clifton <nickc@redhat.com>
4057
4058 * Add support for Cirrus Maverick ARM co-processor:
4059
4060 2000-09-13 Aldy Hernandez <aldyh@redhat.com>
4061
4062 * libc/include/machine/ieeefp.h: Set IEEE_BIG_ENDIAN or
4063 IEEE_LITTLE_ENDIAN depending on endian mode (cirrus).
4064
4065 2000-08-11 Aldy Hernandez <aldyh@redhat.com>
4066
4067 * configure.host: set sys_dir, syscall_dir, and
4068 newlib_cflags for ep9312 host.
4069
4070 * configure.host: Restore alpha sorting of entries in case
4071 statements.
4072
4073 2003-02-19 Jeff Johnston <jjohnstn@redhat.com>
4074
4075 * libc/stdlib/mallocr.c (unlink): Revert 02/18 fix.
4076
4077 2003-02-18 Christian Groessler <chris@groessler.org>
4078
4079 * libc/machine/z8k/setjmp.S (_setjmp / _longjmp): Fix to
4080 support z8001 segmented mode.
4081
4082 2003-02-18 Earnie Boyd <earnie@users.sf.net>
4083
4084 * libc/stdlib/mallocr.c (unlink): Don't assign a value to a pointer
4085 with a NULL value.
4086
4087 2003-02-10 Christopher Faylor <cgf@redhat.com>
4088
4089 * libc/include/sys/types.h: Don't define __MS_types__ for Cygwin.
4090 Don't define some types under cygwin.
4091
4092 2003-02-07 Jeff Johnston <jjohnstn@redhat.com>
4093
4094 * acinclude.m4 (--disable-newlib-supplied-syscalls): New configuration
4095 option to allow disabling of syscalls being supplied in newlib.
4096 * aclocal.m4: Regenerated.
4097 * configure: Ditto.
4098 * configure.host: Add support of new configuration option and add
4099 -D__NO_SYSCALLS__ if newlib supplied syscalls are disabled.
4100 * doc/aclocal.m4: Regenerated.
4101 * doc/configure: Ditto.
4102 * libc/*aclocal.m4: Ditto.
4103 * libc/*configure: Ditto.
4104 * libm/*aclocal.m4: Ditto.
4105 * libm/*configure: Ditto.
4106 * libc/sys/arm/Makefile.am: Don't build syscalls.o if new option
4107 is disabled.
4108 * libc/sys/arm/Makefile.in: Regenerated.
4109
4110 2003-02-05 Jonathan Larmour <jifl@eCosCentric.com>
4111
4112 * libc/stdio/vsprintf.c (vsprintf, _vsprintf_r): Set _file fd to
4113 -1 to be sure it cannot later match a valid file fd causing
4114 isatty() to return 1.
4115 * libc/stdio/asprintf.c (asprintf, _asprintf_r): Ditto.
4116 * libc/stdio/sprintf.c (sprintf, _sprintf_r): Ditto.
4117 * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Ditto.
4118
4119 2003-02-03 Jeff Johnston <jjohnstn@redhat.com>
4120
4121 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate the format
4122 buffer based on the precision, after we have processed the input value
4123 in a local buffer and know its relative magnitude.
4124
4125 2003-01-31 Michael Snyder <msnyder@redhat.com>
4126
4127 * libc/sys/h8300hms/_exit.c (_exit, __exit): Slip a magic cookie
4128 into registers r1 and r2, so that the simulator can distinguish
4129 this trap from a breakpoint trap. Copied from libgloss.
4130
4131 2003-01-31 Michael Snyder <msnyder@redhat.com>
4132
4133 * libc/sys/h8300hms/crt0.S (_start): Change local label
4134 from .loop to .Loop, so that ld and gdb will ignore it.
4135
4136 2003-01-29 Jason Tishler <jason@tishler.net>
4137
4138 * libc/include/time.h: Declare nanosleep() under Cygwin.
4139
4140 2003-01-24 Nick Clifton <nickc@redhat.com>
4141
4142 * Add sh2e support:
4143
4144 2002-04-02 Alexandre Oliva <aoliva@redhat.com>
4145
4146 * libc/machine/sh/asm.h: Added __SH2E__ next to __SH3E__.
4147 * libc/machine/sh/setjmp.S: Likewise.
4148 * libc/include/machine/ieeefp.h: Likewise.
4149
4150 2003-01-24 Corinna Vinschen <corinna@vinschen.de>
4151
4152 * libc/include/sys/unistd.h: Add setregid and setreuid declarations
4153 for Cygwin.
4154
4155 2003-01-21 Anita Kulkarni <anitak@kpit.com>
4156
4157 * libc/time/difftime.c : Typecast the result to double.
4158
4159 2003-01-20 Christopher Faylor <cgf@redhat.com>
4160
4161 * libc/include/sys/unistd.h: Add rresvport declaration for cygwin.
4162
4163 2003-01-18 Nick Clifton <nickc@redhat.com>
4164
4165 * libc/include/machine/ieeefp.h : Define __IEEE_BIG_ENDIAN,
4166 __SMALL_BITFIELDS and _DOUBLE_IS_32BITS for IP2K.
4167
4168 2003-01-16 Joel Sherrill <joel@OARcorp.com>
4169
4170 * libc/sys/rtems/include/limits.h, libc/sys/rtems/sys/param.h,
4171 libc/sys/rtems/sys/syslimits.h: Update to be in sync with what
4172 constants are defined in each file in the shared versions in
4173 libc/include.
4174 * libc/sys/rtems/crt0.c: Define extra symbols on SH and HP-PA to
4175 autoconf can link programs.
4176 * libc/include/machine/types.h: Explicitly specify signed on
4177 intXX_t types to ensure they are signed.
4178
4179 2003-01-14 Christopher Faylor <cgf@redhat.com>
4180
4181 * libc/time/strftime.c (strftime): Add '%h' and '%l, %k' GNU
4182 extensions.
4183
4184 2003-01-08 Richard Sandiford <rsandifo@redhat.com>
4185
4186 * configure.host (mips64vr-elf, mips64vrel-elf): New config.
4187
4188 2003-01-07 Charles Wilson <cwilson@ece.gatech.edu>
4189
4190 * libc/stdio/sprintf.c: fix typo
4191 * libc/stdio/vfprintf.c: fix typo
4192
4193 2003-01-07 Jeff Johnston <jjohnstn@redhat.com>
4194
4195 * configure.host: Support long double I/O for x86-linux.
4196 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate a buffer
4197 large enough to hold formatted result.
4198 * libc/machine/powerpc/simdldtoa.c (_simdldtoa_r): Ditto.
4199
4200 2003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
4201
4202 * Makefile.am: Add vasprintf.
4203 * Makefile.in: Regenerated.
4204
4205 2003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
4206
4207 * asprintf.c (_asprintf_r): insure both declarations
4208 are the same.
4209
4210 2002-12-28 Christopher Faylor <cgf@redhat.com>
4211
4212 * libc/include/sys/unistd.h: Under cygwin, just include getopt.h rather
4213 than defining getopt directly.
4214
4215 2002-12-20 Jeff Johnston <jjohnstn@redhat.com>
4216
4217 * NEWS: Update with 1.11.0 info.
4218 * README: Ditto.
4219 * acinclude.m4: Change version number to 1.11.0.
4220 * aclocal.m4: Regenerated.
4221 * configure: Ditto.
4222 * doc/aclocal.m4: Ditto.
4223 * doc/configure: Ditto.
4224 * libc/*/aclocal.m4: Ditto.
4225 * libc/*/configure: Ditto.
4226 * libc/libc.texinfo: Ditto.
4227 * libm/*/aclocal.m4: Ditto.
4228 * libm/*/configure: Ditto.
4229 * libm/libm.texinfo: Ditto.
4230 * libc/sys/linux/shared.ld: Add VERS_1.11.
4231
4232 2002-12-20 Jeff Johnston <jjohnstn@redhat.com>
4233
4234 * libc/machine/i386/f_atan2.S: Change copyright from Cygnus
4235 Solutions to Red Hat Inc.
4236 * libc/machine/i386/f_atan2f.S: Ditto.
4237 * libc/machine/i386/f_exp.c: Ditto.
4238 * libc/machine/i386/f_expf.c: Ditto.
4239 * libc/machine/i386/f_frexp.S: Ditto.
4240 * libc/machine/i386/f_frexpf.S: Ditto.
4241 * libc/machine/i386/f_ldexp.S: Ditto.
4242 * libc/machine/i386/f_ldexpf.S: Ditto.
4243 * libc/machine/i386/f_log.S: Ditto.
4244 * libc/machine/i386/f_log10.S: Ditto.
4245 * libc/machine/i386/f_log10f.S: Ditto.
4246 * libc/machine/i386/f_logf.S: Ditto.
4247 * libc/machine/i386/f_pow.c: Ditto.
4248 * libc/machine/i386/f_powf.c: Ditto.
4249 * libc/machine/i386/f_tan.S: Ditto.
4250 * libc/machine/i386/f_tanf.S: Ditto.
4251 * libc/machine/i386/memchr.S: Ditto.
4252 * libc/machine/i386/memcmp.S: Ditto.
4253 * libc/machine/i386/memcpy.S: Ditto.
4254 * libc/machine/i386/memmove.S: Ditto.
4255 * libc/machine/i386/memset.S: Ditto.
4256 * libc/machine/i386/strchr.S: Ditto.
4257 * libc/machine/i386/strlen.S: Ditto.
4258 * libm/machine/i386/f_atan2.S: Ditto.
4259 * libm/machine/i386/f_atan2f.S: Ditto.
4260 * libm/machine/i386/f_exp.c: Ditto.
4261 * libm/machine/i386/f_expf.c: Ditto.
4262 * libm/machine/i386/f_frexp.S: Ditto.
4263 * libm/machine/i386/f_frexpf.S: Ditto.
4264 * libm/machine/i386/f_ldexp.S: Ditto.
4265 * libm/machine/i386/f_ldexpf.S: Ditto.
4266 * libm/machine/i386/f_log.S: Ditto.
4267 * libm/machine/i386/f_log10.S: Ditto.
4268 * libm/machine/i386/f_log10f.S: Ditto.
4269 * libm/machine/i386/f_logf.S: Ditto.
4270 * libm/machine/i386/f_pow.c: Ditto.
4271 * libm/machine/i386/f_powf.c: Ditto.
4272 * libm/machine/i386/f_tan.S: Ditto.
4273 * libm/machine/i386/f_tanf.S: Ditto.
4274
4275 2002-12-20 Jeff Johnston <jjohnstn@redhat.com>
4276
4277 * libc/stdlib/environ.c: Update license to Red Hat.
4278 * libc/machine/hppa/setjmp.S: Ditto.
4279 * libm/test/Makefile.in: Ditto.
4280
4281 2002-12-19 Jeff Johnston <jjohnstn@redhat.com>
4282
4283 * configure.host: Remove references to go32.
4284 * libc/sys/go32/*: Removed.
4285
4286 2002-12-16 Kazu Hirata <kazu@cs.umass.edu>
4287
4288 * libc/include/sys/config.h: Change setting of INT_MAX
4289 and UINT_MAX, to use __INT_MAX__ for __H8300__, __H8300H__,
4290 __H8300S__. Also consolidate flag settings for these
4291 platforms.
4292
4293 2002-12-10 Joel Sherrill <joel@OARcorp.com>
4294
4295 * libc/include/machine/setjmp.h: Make sure _JBLEN is defined
4296 for i386-rtems targets.
4297
4298 2002-12-06 Jeff Johnston <jjohnstn@redhat.com>
4299
4300 * libc/include/stdlib.h (strtof): New prototype (from C99).
4301 (strtodf): Changed from prototype to macro which redefines
4302 to strtof.
4303 * libc/stdlib/atof.c: Change documentation to refer to strtof
4304 instead of strtodf.
4305 * libc/stdlib/atoff.c (atoff): Change to call strtof instead of
4306 strtodf.
4307 * libc/stdlib/strtod.c (strtodf): Renamed to strtof.
4308 (strtof): New function.
4309 * libm/test/convert.c (test_strtodf): Renamed to test_strtof which
4310 calls strtof.
4311
4312 2002-11-27 Christopher Faylor <cgf@redhat.com>
4313
4314 * libc/string/memset.c (memset): Fix comment.
4315
4316 2002-11-26 Christopher Faylor <cgf@redhat.com>
4317
4318 * libc/string/memset.c (memset): Move initialization of 'd' earlier in
4319 function.
4320
4321 2002-11-25 Christopher Faylor <cgf@redhat.com>
4322
4323 * libc/string/memset.c (memset): Minor optimization: Use new 'd'
4324 variable, introduced below, everywhere.
4325
4326 2002-11-25 Kazu Hirata <kazu@cs.umass.edu>
4327
4328 * libc/string/memset.c (memset): Make it safe even if
4329 sizeof (int) = 2.
4330
4331 2002-11-22 Joe Buehler <jbuehler@hekimian.com>
4332
4333 * configure.in: Change check for libc/include in ${CC} to
4334 use an intermediate value so as to work with different shells.
4335 * configure: Regenerated.
4336 * Makefile.in: Ditto.
4337
4338 2002-11-22 Vijay L. Khuspe <vijayk1@kpit.com>
4339
4340 * libc/sys/h8300hms/read.c: Add support for normal mode
4341 architecture.
4342
4343 2002-11-20 Ryo Tsuruta <ryo@kitanet.ne.jp>
4344
4345 * libc/machine/h8300/setjmp.S (setjmp, longjmp): Combine common
4346 code for __H8300H__ and __H8300S__. Also return 32-bit return code
4347 when -mint32 is used.
4348
4349 2002-11-18 Nick Clifton <nickc@redhat.com>
4350
4351 * libc/sys/arm/crt0.S: Add NULL to end of argv array.
4352
4353 2002-11-14 Jeff Johnston <jjohnstn@redhat.com>
4354
4355 * testsuite/lib/passfail.exp (newlib_pass_fail): Changed to
4356 only issue one pass/fail message for a compile/link/execute.
4357 * testsuite/newlib.elix/elix.exp: New file.
4358 * testsuite/newlib.elix/tmmap.c: Ditto.
4359
4360 2002-11-06 Christopher Faylor <cgf@redhat.com>
4361
4362 * libc/stdlib/malign.c: Don't compile if MALLOC_PROVIDED.
4363 * libc/stdlib/mlock.c: Ditto.
4364 * libc/stdlib/msize.c: Ditto.
4365 * libc/stdlib/msize.c: Ditto.
4366 * libc/stdlib/mtrim.c: Ditto.
4367 * libc/stdlib/valloc.c: Ditto.
4368
4369 2002-11-12 Jeff Johnston <jjohnstn@redhat.com>
4370
4371 * libc/stdlib/ldtoa.c (e64toe): When checking the exponent
4372 for inf/nan, make sure that the check ignores the sign bit.
4373
4374 2002-11-07 Joel Sherrill <joel@OARcorp.com>
4375
4376 * libc/sys/rtems/machine: New directory.
4377 * libc/sys/rtems/machine/limits.h, libc/sys/rtems/machine/param.h,
4378 libc/sys/rtems/sys/param.h, libc/sys/rtems/sys/syslimits.h,
4379 libc/sys/rtems/sys/utime.h: New files added to make *-rtems newlib
4380 targets more BSD like when installed without requiring files to
4381 be overwritten at install point when RTEMS itself is installed.
4382 * Makefile.am: Pick up system dependent machine .h files such as
4383 might be found on a BSD-ish system.
4384 * Makefile.in: Regenerate.
4385 * libc/include/machine/types.h: When on an RTEMS target, define a
4386 few BSD flavor types.
4387
4388 2002-11-06 Sergey Okhapkin <sos@prospect.com.ru>
4389
4390 * include/utmp.h: Define WTMP_FILE. Define and use UT_IDLEN.
4391
4392 2002-11-06 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
4393
4394 * libc/include/wchar.h: Use _{BEGIN,END}_STD_C instead of extern "C".
4395 * libc/include/wctype.h: Ditto.
4396
4397 2002-11-04 Jeff Johnston <jjohnstn@redhat.com>
4398
4399 * libc/include/wchar.h: Add extern "C" specifier if C++.
4400 * libc/include/wctype.h: Ditto.
4401
4402 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
4403
4404 * testsuite/newlib.wctype/tiswctype.c: New test case.
4405 * testsuite/newlib.wctype/twctrans.c: Ditto.
4406
4407 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
4408
4409 * libc/sys/linux/machine/i386/include/endian.h: New file.
4410 * libc/sys/linux/machine/i386/include/param.h: Ditto.
4411
4412 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
4413
4414 * libm/machine/i386/aclocal.m4: Regenerated.
4415 * libm/machine/i386/configure: Ditto.
4416
4417 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
4418
4419 * testsuite/include/check.h: New header file to use with
4420 test cases.
4421 * testsuite/lib/newlib.exp: Add testsuite/include directory
4422 to list of header files to use.
4423 * testsuite/newlib.wctype/twctype.c: New test case for iswctype fns.
4424 * testsuite/newlib.wctype/wctype.exp: New file.
4425
4426 2002-10-11 Graham Stott <graham.stott@btinternet.com>
4427 Richard Sandiford <rsandifo@redhat.com>
4428
4429 * libc/include/sys/config.h (SIZE_T_SMALLER_THAN_LONG): Undefine.
4430 * libc/stdlib/mallocr.c (long_sub_size_t): Define in a way that
4431 doesn't require the SIZE_T_SMALLER_THAN_LONG macro.
4432
4433 2002-10-07 Joel Sherrill <joel@OARcorp.com>
4434
4435 * libc/sys/rtems/crt0.c: Add even more symbols so gcc() can link
4436 dummy programs.
4437
4438 2002-10-07 Joel Sherrill <joel@OARcorp.com>
4439
4440 * libc/include/pthread.h: Define PTHREAD_CANCELED.
4441
4442 2002-10-07 Joel Sherrill <joel@OARcorp.com>
4443
4444 * libc/machine/hppa/DEFS.h, libc/machine/hppa/pcc_prefix.s,
4445 libc/machine/hppa/setjmp.S, libc/machine/hppa/DEFS.h: Make this
4446 compile with current GNU tools.
4447
4448 2002-10-07 Jeff Johnston <jjohnstn@redhat.com>
4449
4450 * Makefile.am: Add EXTRA_DIRS to allow future dependencies on
4451 the build library.
4452 * configure.in: Ditto.
4453 * Makefile.in: Regenerated.
4454 * configure: Ditto.
4455 * libc/sys/linux/Makefile.am: Add EXTRA_SUBDIRS and EXTRA_SUBLIBS
4456 for specifying configured libraries/directories.
4457 * libc/sys/linux/configure.in: Ditto.
4458 * libc/sys/linux/Makefile.in: Regenerated.
4459 * libc/sys/linux/configure: Ditto.
4460
4461 2002-10-03 Jeff Johnston <jjohnstn@redhat.com>
4462
4463 * libc/include/reent.h: Update documentation at start of file.
4464
4465 2002-09-27 Jim Wilson <wilson@redhat.com>
4466
4467 * libc/sys/sysnecv850/crt0.S (start): Delete v850 code for initializing
4468 the ctbp register.
4469
4470 2002-09-27 Jeff Johnston <jjohnstn@redhat.com>
4471
4472 * libc/ctype/jp2uc.c: Change to use multiple arrays in jp2uc.h.
4473 Also convert to EUCJP before using arrays. For values not in
4474 the conversion arrays, return WEOF.
4475 * libc/ctype/jp2uc.h: Change from one array to a number of
4476 arrays to account for the fact that the originating table
4477 is not contiguous for the input values since some are invalid.
4478
4479 2002-09-24 Jeff Johnston <jjohnstn@redhat.com>
4480
4481 * libc/time/ctime.c: Fix prototype documentation.
4482
4483 2002-09-24 Corinna Vinschen <corinna@vinschen.de>
4484
4485 * libc/include/sys/errno.h: Add EOVERFLOW.
4486
4487 2002-09-20 Jeff Johnston <jjohnstn@redhat.com>
4488
4489 * libc/include/wctype.h: New file.
4490
4491 2002-09-20 Jeff Johnston <jjohnstn@redhat.com>
4492
4493 * libc/ctype/Makefile.am: Add new files.
4494 * libc/ctype/Makefile.in: Regenerated.
4495 * libc/ctype/ctype.tex: Add new iswxxxx, towxxxx, wctype,
4496 and wctrans functions to documentation index.
4497 * libc/ctype/iswalnum.c: New file.
4498 * libc/ctype/iswalpha.c: Ditto.
4499 * libc/ctype/iswblank.c: Ditto.
4500 * libc/ctype/iswcntrl.c: Ditto.
4501 * libc/ctype/iswctype.c: Ditto.
4502 * libc/ctype/iswdigit.c: Ditto.
4503 * libc/ctype/iswgraph.c: Ditto.
4504 * libc/ctype/iswlower.c: Ditto.
4505 * libc/ctype/iswprint.c: Ditto.
4506 * libc/ctype/iswpunct.c: Ditto.
4507 * libc/ctype/iswspace.c: Ditto.
4508 * libc/ctype/iswupper.c: Ditto.
4509 * libc/ctype/iswxdigit.c: Ditto.
4510 * libc/ctype/jp2uc.c: Ditto.
4511 * libc/ctype/jp2uc.h: Ditto.
4512 * libc/ctype/local.h: Ditto.
4513 * libc/ctype/towctrans.c: Ditto.
4514 * libc/ctype/towlower.c: Ditto.
4515 * libc/ctype/towupper.c: Ditto.
4516 * libc/ctype/utf8alpha.h: Ditto.
4517 * libc/ctype/utf8print.h: Ditto.
4518 * libc/ctype/utf8punct.h: Ditto.
4519 * libc/ctype/wctrans.c: Ditto.
4520 * libc/ctype/wctype.c: Ditto.
4521 * libc/locale/locale.c (__lc_ctype): New external array to
4522 replace static lc_ctype array.
4523 * libc/stdlib/mbtowc_r.c: Use __lc_ctype to check current lc_ctype
4524 rather than reentrancy structure's _current_locale field.
4525 * libc/stdlib/wctomb_r.c: Ditto.
4526
4527 2002-09-20 Jeff Johnston <jjohnstn@redhat.com>
4528
4529 * configure.host: Minor comment and formatting changes.
4530 * libc/Makefile.am: Add libc_la_DEPENDENCIES.
4531 * libc/Makefile.in: Regenerated.
4532 * libc/include/sys/config.h: Minor format change.
4533
4534 2002-09-19 Jeff Johnston <jjohnstn@redhat.com>
4535
4536 * libc/syscalls/sysfcntl.c (fcntl): Fix typo in preprocessor
4537 statement comment.
4538
4539 2002-09-19 Jeff Johnston <jjohnstn@redhat.com>
4540
4541 * libc/posix/opendir.c (opendir): Change code to check
4542 for HAVE_FCNTL before calling fcntl.
4543 * libc/search/hash.c (hash_open): Ditto.
4544 * libc/search/hash_page.c (open_tmp): Ditto.
4545 * libc/reent/Makefile.am: Add fcntlr.c.
4546 * libc/reent/Makefile.in: Regenerated.
4547 * libc/reent/fcntlr.c: New file.
4548 * libc/stdio/fdopen.c (_fdopen_r): Change to call _fcntl_r
4549 instead of _fcntl when HAVE_FCNTL flag is set.
4550 * libc/syscalls/sysfcntl.c (fcntl): Check for HAVE_FCNTL flag
4551 to see if _fcntl or _fcntl_r should be called. If flag is not
4552 set, default to ENOSYS stub.
4553
4554 2002-09-16 Jeff Johnston <jjohnstn@redhat.com>
4555
4556 * libc/include/wchar.h (mbstate_t): Change protective flag to
4557 be _MBSTATE_T.
4558 * libc/include/sys/_types.h (_mbstate_t): Remove protective flag.
4559 [__CYGWIN__]: Remove special code that defines mbstate_t and WEOF
4560 for Cygwin.
4561 * libc/sys/linux/sys/_types.h (_mbstate_t): Remove protective flag.
4562
4563 2002-09-11 Jeff Johnston <jjohnstn@redhat.com>
4564
4565 * acinclude.m4 (enable-newlib-mb): Change check to
4566 default newlib_mb variable to empty string rather than "no".
4567 * configure.host: Remove hard-coding of -DMB_CAPABLE for
4568 x86-linux and Cygwin. Add code to check for newlib_mb
4569 being unset in which case set to "yes" for x86-linux and
4570 Cygwin. Change check for newlib_mb being "yes" to allow
4571 for an empty string.
4572 * configure.in (_MB_LEN_MAX): New AC_DEFINE.
4573 * newlib.hin (_MB_LEN_MAX): New define to configure.
4574 * aclocal.m4: Regenerated.
4575 * configure: Ditto.
4576 * libc/include/limits.h: New file.
4577 * libc/sys/linux/include/limits.h: Ditto.
4578 * doc/aclocal.m4 doc/configure libc/aclocal.m4
4579 libc/configure libc/include/%redact libc/machine/aclocal.m4
4580 libc/machine/configure libc/machine/a29k/aclocal.m4
4581 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
4582 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
4583 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
4584 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
4585 libc/machine/fr30/configure libc/machine/frv/aclocal.m4
4586 libc/machine/frv/configure libc/machine/h8300/aclocal.m4
4587 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
4588 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
4589 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
4590 libc/machine/i386/configure libc/machine/i960/aclocal.m4
4591 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
4592 libc/machine/m32r/configure libc/machine/m68hc11/aclocal.m4
4593 libc/machine/m68hc11/configure libc/machine/m68k/aclocal.m4
4594 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
4595 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
4596 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
4597 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
4598 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
4599 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
4600 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
4601 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
4602 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
4603 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
4604 libc/machine/v850/configure libc/machine/w65/aclocal.m4
4605 libc/machine/w65/configure libc/machine/xscale/aclocal.m4
4606 libc/machine/xscale/configure
4607 libc/machine/xstormy16/aclocal.m4
4608 libc/machine/xstormy16/configure libc/machine/z8k/aclocal.m4
4609 libc/machine/z8k/configure libc/sys/aclocal.m4
4610 libc/sys/configure libc/sys/a29khif/aclocal.m4
4611 libc/sys/a29khif/configure libc/sys/arc/aclocal.m4
4612 libc/sys/arc/configure libc/sys/arm/aclocal.m4
4613 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
4614 libc/sys/cygwin/configure libc/sys/d10v/aclocal.m4
4615 libc/sys/d10v/configure libc/sys/decstation/aclocal.m4
4616 libc/sys/decstation/configure libc/sys/go32/aclocal.m4
4617 libc/sys/go32/configure libc/sys/h8300hms/aclocal.m4
4618 libc/sys/h8300hms/configure libc/sys/h8500hms/aclocal.m4
4619 libc/sys/h8500hms/configure libc/sys/idt/aclocal.m4
4620 libc/sys/idt/configure libc/sys/linux/aclocal.m4
4621 libc/sys/linux/configure libc/sys/linux/include/%redact
4622 libc/sys/linux/machine/aclocal.m4
4623 libc/sys/linux/machine/configure
4624 libc/sys/linux/machine/i386/aclocal.m4
4625 libc/sys/linux/machine/i386/configure
4626 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
4627 libc/sys/mmixware/aclocal.m4 libc/sys/mmixware/configure
4628 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
4629 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
4630 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
4631 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
4632 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
4633 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
4634 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
4635 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
4636 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
4637 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
4638 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
4639 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
4640 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
4641 libm/aclocal.m4 libm/configure: Regenerated.
4642
4643 2002-09-09 Jeff Johnston <jjohnstn@redhat.com>
4644
4645 * libc/sys/linux/machine/i386/crt0.c (_start): Remove
4646 code that clears the .bss section.
4647
4648 2002-09-09 Jeff Johnston <jjohnstn@redhat.com>
4649
4650 * libc/include/sys/_types.h (_mbstate_t): Changed to use
4651 unsigned char internally.
4652 * libc/sys/linux/sys/_types.h: Ditto.
4653 * libc/include/sys/reent.h
4654 * libc/stdlib/mblen.c (mblen): Use function-specific state
4655 value from default reentrancy structure.
4656 * libc/stdlib/mblen_r.c (_mblen_r): If return code from
4657 _mbtowc_r is less than 0, reset state __count value and
4658 return -1.
4659 * libc/stdlib/mbrlen.c (mbrlen): If the input state pointer
4660 is NULL, use the function-specific pointer provided in the
4661 default reentrancy structure.
4662 * libc/stdlib/mbrtowc.c: Add reentrant form of function.
4663 If input state pointer is NULL, use function-specific area
4664 provided in reentrancy structure.
4665 * libc/stdlib/mbsrtowcs.c: Ditto.
4666 * libc/stdlib/wcrtomb.c: Ditto.
4667 * libc/stdlib/wcsrtombs.c: Ditto.
4668 * libc/stdlib/mbstowcs.c: Reformat.
4669 * libc/stdlib/wcstombs.c: Ditto.
4670 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): If an error occurs,
4671 reset the state's __count value and return -1.
4672 * libc/stdlib/mbtowc.c: Ditto.
4673 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Add restartable functionality.
4674 If number of bytes is used up before completing a valid multibyte
4675 character, return -2 and save the state.
4676 * libc/stdlib/wctomb_r.c (_wctomb_r): Define __state as __count
4677 and change some __count references to __state for clarity.
4678
4679 2002-09-06 Jeff Johnston <jjohnstn@redhat.com>
4680
4681 * libc/include/sys/config.h (MB_LEN_MAX): Removed as this
4682 is defined by <limits.h>.
4683
4684 2002-09-05 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
4685
4686 * libc/include/wchar.h (WCHAR_MAX): Only define if not already
4687 defined.
4688
4689 2002-09-04 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
4690
4691 * libc/include/sys/config.h: Define accordingly __WCHAR_MAX__.
4692 * libc/include/wchar.h: Define WCHAR_MIN as 0 and WCHAR_MAX as
4693 __WCHAR_MAX__ or 0x7fffffffu.
4694 * libc/string/wcscmp.c: Delete wrong and unnecessary type cast.
4695 * libc/string/wcsncmp.c: Ditto.
4696
4697 2002-09-03 Jeff Johnston <jjohnstn@redhat.com>
4698
4699 * libc/string/wcschr.c: Add include of <stddef.h>.
4700 * libc/string/wcspbrk.c: Ditto.
4701 * libc/string/wcsrchr.c: Ditto.
4702 * libc/string/wcsstr.c: Ditto.
4703
4704 2002-09-03 Jeff Johnston <jjohnstn@redhat.com>
4705
4706 * libc/include/sys/_types.h (_flock_t): Added.
4707 * libc/include/sys/lock.h (__lock_try_acquire): New interface.
4708 (__lock_try_acquire_recursive): Ditto.
4709 * libc/include/sys/reent.h (__sFILE, __sFILE64): Add new
4710 _lock field.
4711 * libc/stdio/findfp.c (std)[!__SINGLE_THREAD__]: Initialize _lock
4712 field.
4713 * libc/stdio/fopen.c (_fopen_r)[!__SINGLE_THREAD__]: Ditto.
4714 * libc/stdio64/fopen64.c (_fopen64_r)[!__SINGLE_THREAD__]: Ditto.
4715 * libc/sys/linux/include/time.h (struct timespec): Moved from
4716 <sys/types.h> and added check for __need_timespec flag so type
4717 can be defined by itself.
4718 * libc/sys/linux/sys/_types.h (_flock_t): New type.
4719 * libc/sys/linux/sys/types.h (struct timespec): Moved to
4720 <time.h>.
4721
4722 2002-08-29 Thomas Fitzsimmons <fitzsim@redhat.com>
4723
4724 * libc/sys/linux/argp: New directory.
4725 * libc/sys/linux/getopt.c: New file.
4726 * libc/sys/linux/getopt1.c: New file.
4727 * libc/sys/linux/getoptlong.c: Remove file.
4728 * libc/sys/linux/include/argp.h: New file.
4729 * libc/sys/linux/Makefile.am: Define argp_dir and ARGP_LIB,
4730 based on ELIX level.
4731 (SUBDIRS): Add argp_dir.
4732 (SUBLIBS): Add ARGP_LIB.
4733 (ELIX_2_OBJS): Add getopt.$(oext), getopt1.$(oext), remove
4734 getopt_long.$(oext).
4735 * libc/sys/linux/configure.in (AC_OUTPUT): Add argp/Makefile.
4736
4737 2002-08-29 Jeff Johnston <jjohnstn@redhat.com>
4738
4739 * libc/libc.texinfo: Add node reference to wide-character strings.
4740 * libc/string/wcstrings.tex: New file.
4741 * libc/string/strtok_r.c: Remove outdated advertising clause.
4742 * libc/string/Makefile.am (doc): Add wide-character string
4743 chapter to documentation.
4744 * libc/string/Makefile.in: Regenerated.
4745
4746 2002-08-29 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
4747
4748 * libc/include/wchar.h: Define NULL. Define WEOF more general
4749 way. Declare functions in newlib manner.
4750 * libc/stdlib/Makefile.am: Delete wmem*.c
4751 * libc/stdlib/Makefile.in: Regenerated.
4752 * libc/stdlib/wmemchr.c: Delete.
4753 * libc/stdlib/wmemcmp.c: Ditto.
4754 * libc/stdlib/wmemcpy.c: Ditto.
4755 * libc/stdlib/wmemmove.c: Ditto.
4756 * libc/stdlib/wmemset.c: Ditto.
4757 * libc/string/Makefile.am: Add wmem*.c and wcs*.c.
4758 * libc/string/Makefile.in: Regenerated.
4759 * libc/string/wcscat.c: New file derived from the NetBSD C Library.
4760 * libc/string/wcschr.c: Ditto.
4761 * libc/string/wcscmp.c: Ditto.
4762 * libc/string/wcscpy.c: Ditto.
4763 * libc/string/wcscspn.c: Ditto.
4764 * libc/string/wcslcat.c: Ditto.
4765 * libc/string/wcslcpy.c: Ditto.
4766 * libc/string/wcslen.c: Ditto.
4767 * libc/string/wcsncat.c: Ditto.
4768 * libc/string/wcsncmp.c: Ditto.
4769 * libc/string/wcsncpy.c: Ditto.
4770 * libc/string/wcspbrk.c: Ditto.
4771 * libc/string/wcsrchr.c: Ditto.
4772 * libc/string/wcsspn.c: Ditto.
4773 * libc/string/wcsstr.c: Ditto.
4774 * libc/string/wmemchr.c: Ditto.
4775 * libc/string/wmemcmp.c: Ditto.
4776 * libc/string/wmemcpy.c: Ditto.
4777 * libc/string/wmemmove.c: Ditto.
4778 * libc/string/wmemset.c: Ditto.
4779
4780 2002-08-29 Jeff Johnston <jjohnstn@redhat.com>
4781
4782 * libc/locale/locale.c (_setlocale_r)[MB_CAPABLE]: Fix so
4783 default locale "" is accepted for LC_CTYPE or LC_MESSAGES
4784 and is treated as if "C" was specified.
4785
4786 2002-08-28 Jeff Johnston <jjohnstn@redhat.com>
4787
4788 * Makefile.am (install-data-local): Move install of build
4789 newlib.h after installing headers in libc/include so as to
4790 overwrite default newlib.h.
4791 * Makefile.in: Regenerated.
4792
4793 2002-08-28 Jeff Johnston <jjohnstn@redhat.com>
4794
4795 * libc/include/newlib.h: New file for tools that use newlib
4796 headers but don't build newlib first (e.g. gcc).
4797
4798 2002-08-28 Jeff Johnston <jjohnstn@redhat.com>
4799
4800 * libc/stdlib/wmemchr.c: Explicitly include <_ansi.h>.
4801 * libc/stdlib/wmemcmp.c: Ditto.
4802 * libc/stdlib/wmemcpy.c: Ditto.
4803 * libc/stdlib/wmemmove.c: Ditto.
4804 * libc/stdlib/wmemset.c: Ditto.
4805
4806 2002-08-27 Egor Duda <deo@logos-m.ru>
4807
4808 * libc/stdlib/wmemchr.c: New file.
4809 * libc/stdlib/wmemcmp.c: Ditto.
4810 * libc/stdlib/wmemcpy.c: Ditto.
4811 * libc/stdlib/wmemmove.c: Ditto.
4812 * libc/stdlib/wmemset.c: Ditto.
4813 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add new files.
4814 * configure.host: Default -DMB_CAPABLE for cygwin.
4815 * libc/include/wchar.h: Declare wmemchr(), wmemcmp(), wmemcpy(),
4816 wmemmove() and wmemset(). Add include of <_ansi.h>.
4817 * libc/stdlib/Makefile.in: Regenerate.
4818
4819 2002-08-27 Jeff Johnston <jjohnstn@redhat.com>
4820
4821 * configure.host: Remove _ELIX_LEVEL flag setting.
4822 * Makefile.am(stmp-targ-include): Copy newlib.h to targ-include.
4823 (install-data-local): Install newlib.h.
4824 * Makefile.in: Regenerated.
4825 * aclocal.m4: Ditto.
4826 * configure: Ditto.
4827 * configure.in: Add AM_CONFIG_HEADER to generate newlib.h based on
4828 newlib.hin. Add AC_DEFINE_UNQUOTED entries for _ELIX_LEVEL
4829 and _NEWLIB_VERSION to fill in newlib.h header file entries.
4830 In AC_OUTPUT statement, unset ac_file so multilib support does
4831 not use last ac_file temporary used in newlib.h configuration.
4832 * libc/include/_ansi.h: Include <newlib.h>.
4833 * newlib.hin: New template file for newlib.h.
4834 * stamp-h.in: New file.
4835
4836 2002-08-26 Wu Yongwei <adah@netstd.com>
4837
4838 * time.h (timezonevar): Change "#if" to "#ifdef".
4839
4840 2002-08-26 Jeff Johnston <jjohnstn@redhat.com>
4841
4842 * Makefile.am(LIBC_OBJECTLISTS): Add STDIO64_OBJECTLIST.
4843 * Makefile.in: Regenerated.
4844 * acinclude.m4: Add support for --enable-newlib-elix-level option.
4845 * aclocal.m4: Regenerated.
4846 * configure: Ditto.
4847 * configure.host: Add code to define _ELIX_LEVEL if
4848 --enable-newlib-elix-level option is used.
4849 * configure.in:
4850 * libc/aclocal.m4: Regenerated.
4851 * libc/configure: Ditto.
4852 * libc/argz/Makefile.am: Add EL/IX level checking.
4853 * libc/argz/Makefile.in: Regenerated.
4854 * libc/argz/dummy.c: New file.
4855 * libc/ctype/Makefile.am: Add EL/IX level checking.
4856 * libc/ctype/Makefile.in: Regenerated.
4857 * libc/locale/Makefile.am: Add EL/IX level checking.
4858 * libc/locale/Makefile.in: Regenerated.
4859 * libc/posix/Makefile.am: Add EL/IX level checking.
4860 * libc/posix/Makefile.in: Regenerated.
4861 * libc/posix/telldir.c: Add EL/IX level checking.
4862 * libc/reent/Makefile.am: Ditto.
4863 * libc/reent/fstat64r.c: Ditto.
4864 * libc/reent/lseek64r.c: Ditto.
4865 * libc/reent/open64r.c: Ditto.
4866 * libc/reent/Makefile.in: Regenerated.
4867 * libc/search/Makefile.am: Add EL/IX level checking.
4868 * libc/search/Makefile.in: Regenerated.
4869 * libc/stdio/Makefile.am: Add EL/IX level checking.
4870 * libc/stdio/Makefile.in: Regenerated.
4871 * libc/stdio64/Makefile.am: Add EL/IX level checking.
4872 * libc/stdio64/Makefile.in: Regenerated.
4873 * libc/stdio64/dummy.c: New file.
4874 * libc/stdio64/fgetpos64.c: Fix so _LARGE64_FILES macro is checked
4875 after first include.
4876 * libc/stdio64/fopen64.c: Ditto.
4877 * libc/stdio64/freopen64.c: Ditto.
4878 * libc/stdio64/fseeko64.c: Ditto.
4879 * libc/stdio64/fsetpos64.c: Ditto.
4880 * libc/stdio64/ftello64.c: Ditto.
4881 * libc/stdio64/tmpfile64.c: Ditto.
4882 * libc/stdlib/Makefile.am: Add EL/IX level checking.
4883 * libc/stdlib/Makefile.in: Regenerated.
4884 * libc/stdlib/mstats.c: Add EL/IX level checking.
4885 * libc/string/Makefile.am: Ditto.
4886 * libc/string/Makefile.in: Regenerated.
4887 * libc/sys/linux/Makefile.am: Add EL/IX level checking.
4888 * libc/sys/linux/Makefile.in: Regenerated.
4889 * libc/sys/linux/aclocal.m4: Ditto.
4890 * libc/sys/linux/configure: Ditto.
4891 * libc/sys/linux/aio.c: Add EL/IX level checking.
4892 * libc/sys/linux/ftok.c: Ditto.
4893 * libc/sys/linux/getdate.c: Ditto.
4894 * libc/sys/linux/ids.c: Ditto.
4895 * libc/sys/linux/inode.c: Ditto.
4896 * libc/sys/linux/io.c: Ditto.
4897 * libc/sys/linux/process.c: Ditto.
4898 * libc/sys/linux/resource.c: Ditto.
4899 * libc/sys/linux/sched.c: Ditto.
4900 * libc/sys/linux/sig.c: Ditto.
4901 * libc/sys/linux/termios.c: Ditto.
4902 * libc/sys/linux/wait.c: Ditto plus add __waitpid and
4903 __libc___waitpid weak aliases.
4904 * libc/sys/linux/machine/i386/syscall.h: Add new _base macros
4905 that generate the code for a syscall, but do not create a
4906 weak alias.
4907 * libc/syscalls/Makefile.am: Add EL/IX level checking.
4908 * libc/syscalls/Makefile.in: Regenerated.
4909 * libc/time/tzset_r.c: Change to replace strdup with equivalent
4910 functionality.
4911 * libc/unix/Makefile.am: Add EL/IX level checking.
4912 * libc/unix/Makefile.in: Regenerated.
4913
4914 2002-08-26 Christopher Faylor <cgf@redhat.com>
4915
4916 * libc/include/malloc.h: On cygwin, define malloc _r functions as
4917 wrapper macros to standard malloc functions.
4918 * libc/include/stdlib.h: Ditto.
4919 * configure.host: Always define MALLOC_PROVIDED on cygwin.
4920
4921 2002-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
4922
4923 * libc/include/langinfo.h: New file.
4924 * libc/include/wchar.h: Likewise.
4925 * libc/include/sys/syslimits.h: Likewise.
4926 * libc/locale/fix_grouping.c: Likewise.
4927 * libc/locale/ldpart.c: Likewise.
4928 * libc/locale/ldpart.h: Likewise.
4929 * libc/locale/lmessages.c: Likewise.
4930 * libc/locale/lmessages.h: Likewise.
4931 * libc/locale/lmonetary.c: Likewise.
4932 * libc/locale/lmonetary.h: Likewise.
4933 * libc/locale/lnumeric.c: Likewise.
4934 * libc/locale/lnumeric.h: Likewise.
4935 * libc/locale/nl_langinfo.3: Likewise.
4936 * libc/locale/nl_langinfo.c: Likewise.
4937 * libc/locale/timelocal.c: Likewise.
4938 * libc/locale/timelocal.h: Likewise.
4939 * libc/stdlib/btowc.c: Likewise.
4940 * libc/stdlib/mbrlen.c: Likewise.
4941 * libc/stdlib/mbrtowc.c: Likewise.
4942 * libc/stdlib/mbsinit.c: Likewise.
4943 * libc/stdlib/mbsrtowcs.c: Likewise.
4944 * libc/stdlib/wcrtomb.c: Likewise.
4945 * libc/stdlib/wcsrtombs.c: Likewise.
4946 * libc/stdlib/wctob.c: Likewise.
4947 * libc/sys/linux/prof-freq.c: Likewise.
4948 * libc/sys/linux/profile.c: Likewise.
4949 * libc/sys/linux/machine/i386/dl-procinfo.c: Likewise.
4950 * libc/sys/linux/machine/i386/dl-procinfo.h: Likewise.
4951 * libc/include/stdlib.h: Change re-entrant functions to take
4952 mbstate_t pointers.
4953 * libc/include/sys/_types.h: Define _mbstate_t.
4954 * libc/include/sys/config.h (MB_LEN_MAX): New macro.
4955 * libc/include/sys/errno.h (EILSEQ): New error code.
4956 * libc/include/sys/reent.h: Include wchar.h. Change reentrant
4957 structure to use mbstate_t.
4958 * libc/locale/Makefile.am (LIB_SOURCES): Add new files.
4959 * libc/machine/powerpc/vfprintf.c: Use mbstate_t.
4960 * libc/machine/powerpc/vfscanf.c: Likewise.
4961 * libc/stdio/getdelim.c: Reallocate buffer only when necessary.
4962 * libc/stdio/vfprintf.c: Likewise.
4963 * libc/stdio/vfscanf.c: Likewise.
4964 * libc/stdlib/Makefile.am (LIB_SOURCES): Add new files.
4965 * libc/stdlib/mblen.c: Use mbstate_t.
4966 * libc/stdlib/mblen_r.c: Likewise.
4967 * libc/stdlib/mbstowcs.c: Likewise.
4968 * libc/stdlib/mbstowcs_r.c: Likewise.
4969 * libc/stdlib/mbtowc.c: Likewise.
4970 * libc/stdlib/mbtowc_r.c: Likewise.
4971 * libc/stdlib/wcstombs.c: Likewise.
4972 * libc/stdlib/wcstombs_r.c: Likewise.
4973 * libc/stdlib/wctomb_r.c: Likewise.
4974 * libc/sys/linux/Makefile.am (LIB_SOURCES): Add prof-freq.c and
4975 profile.c.
4976 * libc/sys/linux/machine/i386/Makefile.am (LIB_SOURCES): Add
4977 dl-procinfo.c.
4978 * libc/sys/linux/sys/errno.h (EILSEQ): New error code.
4979 * libc/sys/linux/sys/types.h (off_t): Define type.
4980 * testsuite/newlib.locale/UTF-8.c: Change locale name from UTF-8
4981 to C-UTF-8.
4982 * testsuite/newlib.locale/UTF-8.exp: Likewise.
4983
4984 2002-08-20 Casper S. Hornstrup <chorns@users.sourceforge.net>
4985
4986 * libc/stdlib/mallocr.c: #include windows.h on Win32.
4987 (AlignPage): Continue macro on next line.
4988
4989 2002-08-19 Jeff Johnston <jjohnstn@redhat.com>
4990
4991 * libc/sys/linux/include/pthread.h: New file.
4992
4993 2002-08-19 Jeff Johnston <jjohnstn@redhat.com>
4994
4995 * libc/include/sys/types.h: Support __need_inttypes macro
4996 that only sets the __intxx and __uintxx types.
4997 * libc/machine/powerpc/Makefile.am: Add stdlib to include directories
4998 to get mprec.h.
4999 * libc/machine/powerpc/Makefile.in: Regenerated.
5000 * libc/machine/powerpc/vfprintf.c: Fix state variable type.
5001 * libc/machine/powerpc/vfscanf.c: Fix state variable type. Remove
5002 redundant fixed-point conversion prototypes.
5003 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Include <sys/types.h>
5004 after setting __need_inttypes.
5005
5006 2002-08-18 Christopher Faylor <cgf@redhat.com>
5007
5008 * libc/include/sys/unistd.h: Add getsid declaration for cygwin.
5009
5010 2002-08-17 Jeff Johnston <jjohnstn@redhat.com>
5011
5012 * libc/include/sys/config.h[__PPC__][__SPE__]: Set
5013 _LONG_DOUBLE to double.
5014
5015 2002-08-17 Jeff Johnston <jjohnstn@redhat.com>
5016
5017 * configure.host: Add powerpc*-*-eabispe* configuration.
5018 * libc/machine/powerpc/atosfix16.c: New fixed-point conversion file.
5019 * libc/machine/powerpc/atosfix32.c: Ditto.
5020 * libc/machine/powerpc/atosfix64.c: Ditto.
5021 * libc/machine/powerpc/atoufix16.c: Ditto.
5022 * libc/machine/powerpc/atoufix32.c: Ditto.
5023 * libc/machine/powerpc/atoufix64.c: Ditto.
5024 * libc/machine/powerpc/fix64.h: Ditto.
5025 * libc/machine/powerpc/simdldtoa.c: Ditto.
5026 * libc/machine/powerpc/strtosfix16.c: Ditto.
5027 * libc/machine/powerpc/strtosfix32.c: Ditto.
5028 * libc/machine/powerpc/strtosfix64.c: Ditto.
5029 * libc/machine/powerpc/strtoufix16.c: Ditto.
5030 * libc/machine/powerpc/strtoufix32.c: Ditto.
5031 * libc/machine/powerpc/strtoufix64.c: Ditto.
5032 * libc/machine/powerpc/ufix64toa.c: Ditto.
5033 * libc/machine/powerpc/configure.in: Add check for
5034 powerpc*-eabispe and add fixed-point conversion functions.
5035 * libc/machine/powerpc/configure: Regenerated.
5036 * libc/machine/powerpc/vfprintf.c[__SPE__]: Add support for
5037 %r and %R format specifiers which handle fixed-point data.
5038 * libc/machine/powerpc/vfscanf.c[__SPE__]: Ditto.
5039 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Add fixed-point
5040 function prototypes.
5041
5042 2002-08-17 Jeff Johnston <jjohnstn@redhat.com>
5043
5044 * Makefile.am: Move cmath stuff into libc/sys/linux.
5045 * Makefile.in: Regenerated.
5046 * configure.host: Default -DMB_CAPABLE for x86-linux.
5047 * libc/include/reent.h: Define _sbrk to take signed int argument.
5048 * libc/include/sys/unistd.h: Ditto for _sbrk_r and sbrk.
5049 * libc/locale/locale.c[MB_CAPABLE]: Add LC_MESSAGES support and
5050 make locale name checking more efficient. Also allow "C-ISO-8859-1"
5051 locale for LC_CTYPE and LC_MESSAGES.
5052 * libc/reent/sbrkr.c: Change prototype to take ptrdiff_t.
5053 * libc/sys/linux/brk.c: Change sbrk prototype.
5054 * libc/sys/linux/include/time.h: Remove Cygwin stuff and
5055 include <sys/features.h>.
5056 (CLOCK_THREAD_CPUTIME): Renamed to CLOCK_THREAD_CPUTIME_ID.
5057 (CLOCK_PROCESS_CPUTIME): Renamed to CLOCK_PROCESS_CPUTIME_ID.
5058 * libc/sys/linux/sys/cdefs.h: Replace with glibc sys/cdefs.h
5059 with a few local additions.
5060 * libc/sys/linux/sys/features.h: New file.
5061 * libc/sys/linux/sys/unistd.h: Change _sbrk_r and sbrk prototypes
5062 to take signed argument.
5063 * libc/syscalls/syssbrk.c: Change sbrk, _sbrk_r, and _sbrk
5064 prototypes to take signed size argument.
5065
5066 2002-08-16 Thomas Fitzsimmons <fitzsim@redhat.com>
5067
5068 * libc/sys/linux/cmath: New directory.
5069 * libc/sys/linux/include/cmathcalls.h: New file.
5070 * libc/sys/linux/include/complex.h: New file.
5071 * libc/sys/linux/machine/i386/huge_val.h: New file
5072 * libm/math/w_sincos.c: New file
5073 * libm/math/wf_sincos.c: New file
5074 * libm/mathfp/s_sincos.c: New file
5075 * libm/mathfp/sf_sincos.c: New file
5076 * Makefile.am (LIBC_OBJECTLISTS): Add cmath/objectlist.awk.in.
5077 * libc/include/math.h: Add sincos and sincosf declarations.
5078 * libc/sys/linux/Makefile.am (SUBDIRS): Add cmath.
5079 (SUBLIBS): Likewise.
5080 * libc/sys/linux/configure.in (AC_OUTPUT): Add cmath.
5081 * libm/math/Makefile.am (src): Add w_sincos.c.
5082 (fsrc): Add wf_sincos.c.
5083 * libm/mathfp/Makefile.am (src): Add s_sincos.c
5084 (fsrc): Add sf_sincos.c.
5085
5086 2002-08-12 Jeff Johnston <jjohnstn@redhat.com>
5087
5088 * libc/sys/linux/machine/i386/crt0.c (__bss_start,_end):
5089 Declare as extern chars and use the address operator to
5090 properly use values set in linker script.
5091
5092 2002-08-09 Jason Tishler <jason@tishler.net>
5093
5094 * libc/stdlib/mallocr.c: Include <limits.h>.
5095 (request2size): Change macro to do
5096 unsigned long comparisons and avoid signed overflow.
5097 (mALLOc): Add overflow check for the number of bytes to allocate.
5098 (rEALLOc): Ditto.
5099
5100 2002-08-09 Jeff Johnston <jjohnstn@redhat.com>
5101
5102 * configure.host: Add check for --enable-newlib-io-pos-args
5103 and define WANT_IO_POS_ARGS flag if enabled. Define
5104 the flag by default for x86-linux configurations.
5105 * configure.in: Add support for --enable-newlib-io-pos-args.
5106 * libc/configure.in: Ditto.
5107 * configure: Regenerated.
5108 * libc/configure: Ditto.
5109 * libc/stdio/Makefile.am: Specify -fshort-enums for compiling
5110 vfprintf.c and vfiprintf.c.
5111 * libc/stdio/Makefile.in: Regenerated.
5112 * libc/stdio/vfprintf.c: Add positional argument support that
5113 is enabled by compiling with -DWANT_IO_POS_ARGS.
5114
5115 2002-08-07 Richard Sandiford <rsandifo@redhat.com>
5116
5117 * libc/include/machine/setjmp.h: For mips, define _JBLEN based
5118 based on __mips_soft_float rather than __mips64.
5119 * libc/machine/mips/setjmp.S: Provide hard and soft float versions
5120 of both 32-bit and 64-bit code.
5121
5122 2002-08-04 Christopher Faylor <cgf@redhat.com>
5123
5124 * libc/stdio/popen.c (popen): Allow "rb", "rt", "wb", and "wt"
5125 arguments for popen to match similar functionality in fopen.
5126
5127 2002-07-29 Pierre Humblet <pierre.humblet@ieee.org>
5128
5129 * libc/include/sys/unistd.h: Add setgroups prototype for Cygwin.
5130
5131 2002-07-29 Jeff Johnston <jjohnstn@redhat.com>
5132
5133 * libc/sys/linux/Makefile.am: Add aio64.c.
5134 * libc/sys/linux/Makefile.in: Regenerated.
5135 * libc/sys/linux/aio.c (aio_init): ENOSYS stub added.
5136 * libc/sys/linux/aio64.c: New file.
5137
5138 2002-07-26 Jeff Johnston <jjohnstn@redhat.com>
5139
5140 * libc/include/sys/param.h (MAX, MIN): Added macros.
5141 * libc/sys/linux/Makefile.am: Add new files.
5142 * libc/sys/linux/Makefile.in: Regenerated.
5143 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
5144 * libc/sys/linux/inode.c (fchdir): Added syscall.
5145 * libc/sys/linux/ftw.c: New file.
5146 * libc/sys/linux/ftw64.c: Ditto.
5147 * libc/sys/linux/getwd.c: Ditto.
5148 * libc/sys/linux/scandir64.c: Ditto.
5149 * libc/sys/linux/strverscmp.c: Ditto.
5150 * libc/sys/linux/versionsort.c: Ditto.
5151 * libc/sys/linux/versionsort64.c: Ditto.
5152
5153 2002-07-26 Jeff Johnston <jjohnstn@redhat.com>
5154
5155 * libc/string/strings.tex: Fix typo for memccpy.
5156
5157 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
5158
5159 * libc/sys/linux/io64.c (truncate64, ftruncate64): Added.
5160 * libc/sys/linux/sys/types.h (off64_t): Definition added.
5161
5162 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
5163
5164 * libc/sys/linux/Makefile.am: Add fclean.c.
5165 * libc/sys/linux/Makefile.in: Regenerated.
5166 * libc/sys/linux/fclean.c: New file.
5167
5168 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
5169
5170 * libc/sys/linux/Makefile.am: Add confstr.c.
5171 * libc/sys/linux/Makefile.in: Regenerated.
5172 * libc/sys/linux/confstr.c: New file.
5173 * libc/sys/linux/confstr.h: Ditto.
5174 * libc/sys/linux/sys/unistd.h: Include <features.h> and
5175 <bits/environments.h>.
5176
5177 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
5178
5179 * libc/sys/linux/config.h (__set_errno): Macro definition removed.
5180 * libc/sys/linux/fpathconf.c (__set_errno): Ditto.
5181 * libc/sys/linux/libc-internal.h (__set_errno): Ditto.
5182 * libc/sys/linux/pathconf.c (__set_errno): Ditto.
5183 * libc/sys/linux/ttyname_r.c (__set_errno): Ditto.
5184 * libc/sys/linux/sys/errno.h (__set_errno): Macro definition added.
5185
5186 2002-07-24 Jeff Johnston <jjohnstn@redhat.com>
5187
5188 * libc/sys/linux/Makefile.am: Add new files.
5189 * libc/sys/linux/Makefile.in: Regenerated.
5190 * libc/sys/linux/fstab.c: New file.
5191 * libc/sys/linux/fstatvfs.c: Ditto.
5192 * libc/sys/linux/fstatvfs64.c: Ditto.
5193 * libc/sys/linux/internal_statvfs.c: Ditto.
5194 * libc/sys/linux/mntent.c: Ditto.
5195 * libc/sys/linux/mntent_r.c: Ditto.
5196 * libc/sys/linux/statvfs.c: Ditto.
5197 * libc/sys/linux/statvfs64.c: Ditto.
5198 * libc/sys/linux/include/paths.h: Ditto.
5199 * libc/sys/linux/inode.c (statfs, fstatfs): New syscalls
5200 with double-underscore weak-aliases.
5201 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
5202
5203 2002-07-24 Jeff Johnston <jjohnstn@redhat.com>
5204
5205 * libc/include/signal.h (SIG_IGN, SIG_DFL, SIG_ERR): Change
5206 to use _sig_func_ptr type casted constants.
5207 (_sig_func_ptr): Typedef moved to sys/signal.h.
5208 * libc/include/sys/signal.h (_sig_func_ptr): Typedef added.
5209 For __rtems, use POSIX definition, otherwise default to ANSI.
5210 * libc/sys/linux/sys/signal.h (_sig_func_ptr): Typedef added.
5211
5212 2002-07-24 Stephane Carrez <stcarrez@nerim.fr>
5213
5214 * configure.host: Recognize m6811-elf and m6812-elf targets.
5215 * libc/include/machine/setjmp.h (_JBLEN): Define for 68hc11/68hc12.
5216 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Define for 68HC11.
5217 (_DOUBLE_IS_32BITS): Define when compiling with -fshort-double.
5218 * libc/include/sys/config.h (INT_MAX, UINT_MAX): Define
5219 according to __INT_MAX__.
5220 (_POINTER_INT): Define to short.
5221 * libc/machine/m68hc11/Makefile.am: New file.
5222 * libc/machine/m68hc11/Makefile.in: New file.
5223 * libc/machine/m68hc11/configure.in: New file.
5224 * libc/machine/m68hc11/configure: New file.
5225 * libc/machine/m68hc11/aclocal.m4: New file.
5226 * libc/machine/m68hc11/setjmp.S: New file.
5227
5228 2002-07-23 Jeff Johnston <jjohnstn@redhat.com>
5229
5230 * libc/include/string.h: Add mempcpy, strndup, and _strndup_r
5231 prototypes.
5232 * libc/stdlib/Makefile.am: Remove strdup.c and strdup_r.c.
5233 * libc/stdlib/Makefile.in: Regenerated.
5234 * libc/stdlib/strdup.c: Removed.
5235 * libc/stdlib/strdup_r.c: Removed.
5236 * libc/string/Makefile.am: Add strdup.c, strdup_r.c, memccpy.c,
5237 mempcpy.c, strndup.c, and strndup_r.c.
5238 * libc/string/Makefile.in: Regenerated.
5239 * libc/string/memccpy.c: New file.
5240 * libc/string/mempcpy.c: Ditto.
5241 * libc/string/strndup.c: Ditto.
5242 * libc/string/strndup_r.c: Ditto.
5243 * libc/string/strdup.c: New file moved from stdlib.
5244 * libc/string/strdup_r.c: Ditto.
5245 * libc/string/strings.tex: Add memccpy and mempcpy documentation.
5246
5247 2002-07-23 Jeff Johnston <jjohnstn@redhat.com>
5248
5249 * libc/include/stdio.h: Move fcloseall prototype within
5250 #ifndef _REENT_ONLY section.
5251 * libc/sys/linux/Makefile.am: Add new files.
5252 * libc/sys/linux/Makefile.in: Regenerated.
5253 * libc/sys/linux/sys/stdio.h: Add ctermid prototype.
5254 * libc/sys/linux/sys/unistd.h: Add ttyname_r prototype.
5255 * libc/sys/linux/sys/types.h: Add ino64_t type.
5256 * libc/sys/linux/ctermid.c: New file.
5257 * libc/sys/linux/ttyname_r.c: Ditto.
5258 * libc/sys/linux/readdir64.c: Ditto.
5259
5260 2002-07-22 Jeff Johnston <jjohnstn@redhat.com>
5261
5262 * libc/include/stdio.h (fcloseall, _fcloseall_r): Added prototypes.
5263 * libc/stdio/Makefile.am: Added fcloseall.c support.
5264 * libc/stdio/Makefile.in: Regenerated.
5265 * libc/stdio/fcloseall.c: New file.
5266 * libc/stdio64/Makefile.am: Remove missing .def references.
5267 * libc/stdio64/Makefile.in: Regenerated.
5268
5269 2002-07-22 Jeff Johnston <jjohnstn@redhat.com>
5270
5271 * libc/machine/powerpc/time.c: Removed..renamed to times.c.
5272 * libc/machine/powerpc/times.c: New file.
5273 * libc/machine/powerpc/Makefile.am: Change time.c to times.c.
5274 * libc/machine/powerpc/Makefile.in: Regenerated.
5275
5276 2002-07-22 Aldy Hernandez <aldyh@redhat.com>
5277
5278 * libc/machine/powerpc/time.c: New file.
5279 * libc/machine/powerpc/Makefile.am (lib_a_SOURCES): Add
5280 time.c.
5281 * libc/machine/powerpc/Makefile.in: Regenerated.
5282
5283 2002-07-22 Thomas Fitzsimmons <fitzsim@redhat.com>
5284
5285 * libc/libc.texinfo: Change copyright notices to Red Hat from
5286 Cygnus.
5287 * libm/libm.texinfo: Likewise.
5288 * README: Change docs URL to
5289 http://sources.redhat.com/newlib/docs.html.
5290
5291 2002-07-19 Jeff Johnston <jjohnstn@redhat.com>
5292
5293 * libc/sys/linux/Makefile.am: Add pathconf.c and fpathconf.c.
5294 * libc/sys/linux/Makefile.in: Regenerated.
5295 * libc/sys/linux/inode.c: Add chmod, fchmod, and chown syscalls.
5296 * libc/sys/linux/io.c: Add ftruncate syscall.
5297 * libc/sys/linux/fpathconf.c: New file.
5298 * libc/sys/linux/pathconf.c: Ditto.
5299 * libc/sys/linux/linux_fsinfo.h: Ditto.
5300 * libc/sys/linux/sys/unistd.h: Ditto.
5301
5302 2002-07-19 Jeff Johnston <jjohnstn@redhat.com>
5303
5304 * libc/stdio64/Makefile.am: Remove missing files.
5305 * libc/stdio64/Makefile.in: Regenerated.
5306
5307 2002-07-19 Jeff Johnston <jjohnstn@redhat.com>
5308
5309 * libc/include/sys/config.h[__i386__][__linux__]: Define
5310 _LARGE64FILE_SOURCE to 1.
5311 * libc/sys/linux/Makefile.am: Add getrlimit64.c and setrlimit64.c.
5312 * libc/sys/linux/Makefile.in: Regenerated.
5313 * libc/sys/linux/resource.c: Add __getrlimit and __setrlimit aliases.
5314 * libc/sys/linux/sys/linux_time.h: Protect struct timeval definition.
5315 * libc/sys/linux/sys/resource.h: Include <bits/resource.h> instead
5316 of <linux/resource.h>.
5317 * libc/sys/linux/getrlimit64.c: New file.
5318 * libc/sys/linux/setrlimit64.c: Ditto.
5319
5320 2002-07-19 Thomas Fitzsimmons <fitzsim@redhat.com>
5321
5322 * libc/argz/argz_replace.c: Include buf_findstr.h.
5323 * libc/argz/buf_findstr.c: Likewise.
5324 * libc/argz/envz_entry.c: Include buf_findstr.h. Cast return
5325 value to (char *).
5326 * libc/argz/envz_get.c: Likewise.
5327 * libc/include/sys/unistd.h: Add getopt and getsubopt declarations.
5328 * libc/stdlib/Makefile.am (LIB_SOURCES): Add getsubopt.c.
5329 * libc/stdlib/getsubopt.3: New file.
5330 * libc/stdlib/getsubopt.c: New file.
5331 * libc/sys/linux/machine/i386/socketcall.h (__sockcall_base):
5332 Change esp to ebp.
5333
5334 2002-07-17 Jeff Johnston <jjohnstn@redhat.com>
5335
5336 * configure.host(stdio64_dir): New setting that is used to
5337 enable building of new stdio64 directory.
5338 * libc/Makefile.am[HAVE_STDIO64_DIR]: Add support for
5339 large files.
5340 (stmp-stdio64,stdio64.texi): New targets to optionally add in
5341 stdio64 info to info files.
5342 * libc/Makefile.in: Regenerated.
5343 * libc/configure: Ditto.
5344 * libc/configure.in: Add configuration variables that are set
5345 when stdio64 is selected as subdir in configure.host.
5346 * libc/libc.texinfo: Add optional menu item for Stdio64, based
5347 on whether STDIO64 flag is set or not.
5348 * libc/sys.tex: Add optional stdio64 syscalls based on whether
5349 STDIO64 flag is set or not.
5350 * libc/include/reent.h[__LARGE64_FILES]: Add new stdio64
5351 _r sycall routines.
5352 * libc/include/stdio.h[__LARGE64_FILES]: Add new stdio64 prototypes.
5353 (FILE): Typedef'd to __FILE instead of struct __sFILE directly.
5354 (__SL64): New file flag indicating file is opened via fopen64.
5355 * libc/include/sys/_types.h(_off64_t): Added.
5356 * libc/include/sys/config.h: For x86-linux, define __LARGE64_FILES.
5357 * libc/include/sys/reent.h(struct __sFILE64): New file structure
5358 for 64-bit offset large file support.
5359 (__FILE): New intermediate type either set to struct __sFILE64 or
5360 struct __sFILE, depending on whether __LARGE64_FILES is set or not.
5361 * libc/reent/Makefile.am[HAVE_STDIO64_DIR]: Add new files.
5362 * libc/reent/Makefile.in: Regenerated.
5363 * libc/reent/fstat64r.c: New file.
5364 * libc/reent/lseek64r.c: Ditto.
5365 * libc/reent/open64r.c: Ditto.
5366 * libc/reent/reent.tex: Optionally add stdio64 reentrant syscalls
5367 based on whether STDIO64 flag is set.
5368 * libc/stdio/stdio.tex: Add blank line.
5369 * libc/stdio64/Makefile.am: New file.
5370 * libc/stdio64/Makefile.in: Ditto.
5371 * libc/stdio64/fgetpos64.c: Ditto.
5372 * libc/stdio64/fopen64.: Ditto.
5373 * libc/stdio64/freopen64.c: Ditto.
5374 * libc/stdio64/fseeko64.c: Ditto.
5375 * libc/stdio64/fsetpos64.c: Ditto.
5376 * libc/stdio64/ftello64.c: Ditto.
5377 * libc/stdio64/local64.h: Ditto.
5378 * libc/stdio64/stdio64.c: Ditto.
5379 * libc/stdio64/stdio64.tex: Ditto.
5380 * libc/stdio64/tmpfile64.c: Ditto.
5381 * libc/sys/linux/io64.c: Add weak aliases for lseek64, fstat64, and
5382 open64.
5383
5384 2002-07-16 Jeff Johnston <jjohnstn@redhat.com>
5385
5386 * libc/Makefile.am (stmp-extra): New target to set makeinfo flag
5387 if LIBC_EXTRA_LIB is present.
5388 * libc/Makefile.in: Regenerated.
5389 * libc/libc.texinfo: Add blank line.
5390 * libc/argz/Makefile.am: Add doc support.
5391 * libc/search/Makefile.am: Ditto.
5392 * libc/argz/Makefile.in: Regenerated.
5393 * libc/search/Makefile.in: Ditto.
5394 * libc/misc/misc.tex: Add ffs function.
5395 * libc/stdio/ftell.c: Fix missing doc delimeter in description.
5396
5397 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
5398
5399 * libc/include/sys/config.h[__H8300__]: Replace __SMALL_BITFIELDS
5400 definition that was removed in error.
5401
5402 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
5403
5404 * libc/include/machine/ieeefp.h: Change to only define
5405 floating point defines (e.g one of __IEEE_BIG_ENDIAN or
5406 __IEEE_LITTLE_ENDIAN must be defined for each platform).
5407 * libc/include/sys/config.h: Include <machine/ieeefp.h> and
5408 remove redundant floating point definitions.
5409
5410 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
5411
5412 * libc/sys/linux/callocr.c: Fix so code references
5413 calloc.
5414
5415 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
5416
5417 * libc/sys/linux/Makefile.am: Add new files.
5418 * libc/sys/linux/Makefile.in: Regenerated.
5419 * libc/sys/linux/bp-sym.h: Moved to include directory.
5420 * libc/sys/linux/mmap.c: Add weak aliases: __mmap, __munmap, __mremap.
5421 * libc/sys/linux/inode.c: Set _LIBC to 1.
5422 * libc/sys/linux/mq_close.c: Ditto.
5423 * libc/sys/linux/mq_getattr.c: Ditto.
5424 * libc/sys/linux/mq_open.c: Ditto.
5425 * libc/sys/linux/mq_receive.c: Ditto.
5426 * libc/sys/linux/mq_send.c: Ditto.
5427 * libc/sys/linux/mq_setattr.c: Ditto.
5428 * libc/sys/linux/mq_unlink.c: Ditto.
5429 * libc/sys/linux/calloc.c: New file.
5430 * libc/sys/linux/callocr.c: Ditto.
5431 * libc/sys/linux/cfreer.c: Ditto.
5432 * libc/sys/linux/config.h: Ditto.
5433 * libc/sys/linux/free.c: Ditto.
5434 * libc/sys/linux/freer.c: Ditto.
5435 * libc/sys/linux/msize.c: Ditto.
5436 * libc/sys/linux/msizer.c: Ditto.
5437 * libc/sys/linux/mstats.c: Ditto.
5438 * libc/sys/linux/mtrim.c: Ditto.
5439 * libc/sys/linux/mtrimr.c: Ditto.
5440 * libc/sys/linux/pvallocr.c: Ditto.
5441 * libc/sys/linux/realloc.c: Ditto.
5442 * libc/sys/linux/reallocr.c: Ditto.
5443 * libc/sys/linux/thread-m.h: Ditto.
5444 * libc/sys/linux/vallocr.c: Ditto.
5445 * libc/sys/linux/bp-checks.h: Ditto.
5446 * libc/sys/linux/libc-symbols.h: Ditto.
5447 * libc/sys/linux/libc-tsd.h: Ditto.
5448 * libc/sys/linux/libintl.h: Ditto.
5449 * libc/sys/linux/malign.c: Ditto.
5450 * libc/sys/linux/malignr.c: Ditto.
5451 * libc/sys/linux/mallinfor.c: Ditto.
5452 * libc/sys/linux/malloc.c: Ditto.
5453 * libc/sys/linux/mallocr.c: Ditto.
5454 * libc/sys/linux/malloptr.c: Ditto.
5455 * libc/sys/linux/mallstatsr.c: Ditto.
5456 * libc/sys/linux/mcheck.c: Ditto.
5457 * libc/sys/linux/mhooks.h: Ditto.
5458 * libc/sys/linux/include/bp-sym.h: Ditto.
5459 * libc/sys/linux/include/malloc.h: Ditto.
5460 * libc/sys/linux/include/mcheck.h: Ditto.
5461 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Remove
5462 getpagesize.c.
5463 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerated.
5464 * libc/sys/linux/linuxthreads/machine/i386/getpagesize.c: Moved.
5465 * libc/sys/linux/machine/i386/getpagesize.c: New file.
5466 * libc/sys/linux/machine/i386/Makefile.am: Add getpagesize.c.
5467 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
5468 * libc/sys/linux/machine/i386/sysdep.h: New file.
5469 * libc/sys/linux/machine/i386/weakalias.h: Add weak_function support.
5470 * libc/sys/linux/sys/dirent.h: Set _LIBC to 1.
5471 * libc/sys/linux/sys/lock.h: Include <machine/weakalias.h>.
5472
5473 2002-07-12 Jeff Johnston <jjohnstn@redhat.com>
5474
5475 * libc/sys/linux/include/mqueue.h: Change to use <bits/siginfo.h>
5476 instead of <asm/siginfo.h>.
5477 * libc/sys/linux/sys/signal.h: Change to include various linux
5478 <bits/xxx.h> header files, rather than <linux/signal.h> so as
5479 to work with multiple releases of glibc header files.
5480
5481 2002-07-11 Chris Demetriou <cgd@broadcom.com>
5482
5483 * testsuite/newlib.search/hsearchtest.c: New file to test
5484 newlib/libc/search.
5485 * testsuite/newlib.search/hsearchtest.exp: Likewise.
5486
5487 2002-07-10 Florian Schrack <florian.schrack@freenet.de>
5488
5489 * libc/sys/mmixware/read.c: Use SYS_Fgets syscall if dealing with
5490 a terminal.
5491 * libc/sys/mmixware/sys/syscall.h (SYS_Fgets): Definition added.
5492
5493 2002-07-08 Jeff Johnston <jjohnstn@redhat.com>
5494
5495 * libc/include/math.h (MAXFLOAT): Added.
5496
5497 Mon Jul 8 13:55:23 2002 J"orn Rennecke <joern.rennecke@superh.com>
5498
5499 * libc/machine/sh/Makefile.am (lib_a_SOURCES):
5500 Make strcmp.S unconditional.
5501 * libc/machine/sh/Makefile.in: Regenerate.
5502 * libc/machine/sh/asm.h (DELAYED_BRANCHES, SL): Also for __SH5__ .
5503 * strcmp.S (strcmp): Add SHmedia variant. Use different registers
5504 for SHcompact.
5505
5506 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
5507
5508 * libc/sys/linux/inode.c: Fix utime prototype and add _LIBC
5509 define before including <sys/lock.h>.
5510
5511 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
5512
5513 * libc/include/utime.h: Add include of <_ansi.h>.
5514 * libc/sys/linux/Makefile.am: Add utimes.c.
5515 * libc/sys/linux/Makefile.in: Regenerated.
5516 * libc/sys/linux/inode.c(__umask): New static routine.
5517 (umask): Written to use __umask and attempt to thread lock.
5518 (getumask): New function written to use __umask and thread lock.
5519 * libc/sys/linux/utimes.c: New file.
5520 * libc/sys/linux/sys/time.h: Fix utimes prototype.
5521 * libc/sys/linux/sys/utime.h: New file.
5522
5523 2002-07-04 Thomas Fitzsimmons <fitzsim@redhat.com>
5524
5525 * libtool.m4: New file.
5526 * libc/sys/linux/process.c: Implement vfork in terms of fork,
5527 rather than as a syscall.
5528
5529 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
5530
5531 * libc/include/stdio.h: Add new prototypes.
5532 * libc/stdio/Makefile.am: Add fseeko.c and ftello.c.
5533 * libc/stdio/Makefile.in: Regenerated.
5534 * libc/stdio/fseek.c: Add fseeko documentation.
5535 * libc/stdio/ftell.c: Add ftello documentation.
5536 * libc/stdio/fseeko.c: New file.
5537 * libc/stdio/ftello.c: New file.
5538
5539 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
5540
5541 * libc/stdio/Makefile.am: Add asprintf.c and vasprintf.c.
5542 * libc/stdio/Makefile.in: Regenerated.
5543 * libc/stdio/asprintf.c: New file.
5544 * libc/stdio/vasprintf.c: Ditto.
5545 * libc/stdio/fvwrite.c: Add code to dynamically reallocate
5546 the buffer for asprintf support.
5547 * libc/stdio/sprintf.c: Add asprintf documentation.
5548 * libc/stdio/vfprintf.c: Add vasprintf documentation.
5549 * libc/include/stdio.h: Add new prototypes.
5550
5551 2002-07-02 Thomas Fitzsimmons <fitzsim@redhat.com>
5552
5553 * libc/search/hcreate.c: Remove advertising clause from license.
5554 * libc/search/hcreate_r.c: Likewise.
5555
5556 2002-07-02 Chris Demetriou <cgd@broadcom.com>
5557
5558 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN)
5559 (__IEEE_BIG_ENDIAN): Define appropriately for MIPS.
5560 Check that one of them is defined and error out if not.
5561 Add any platforms defined in <machine/ieeefp.h> that are missing.
5562 * libc/search/hash.h (DB_BYTE_ORDER, DB_BIG_ENDIAN)
5563 (DB_LITTLE_ENDIAN): New defines.
5564 * libc/search/hash.c: Replace all incorrect checks for
5565 _IEEE_LITTLE_ENDIAN with tests of BYTE_ORDER, and all uses of
5566 BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN with DB_* versions.
5567 * libc/search/hash_page.c: Likewise.
5568
5569 2002-06-28 Thomas Fitzsimmons <fitzsim@redhat.com>
5570
5571 * libm/mathfp/sf_pow.c (powf): Change k from int to float.
5572
5573 2002-06-27 Benjamin Kosnik <bkoz@redhat.com>
5574
5575 * libc/include/stdio.h: Untangle, add _BEGIN_STD_C and _END_STD_C.
5576 * libc/include/time.h: Same.
5577 * libc/include/string.h: Same.
5578 * libc/include/stdlib.h: Same.
5579 * libc/include/signal.h: Same.
5580 * libc/include/setjmp.h: Same.
5581 * libc/include/math.h: Same.
5582 * libc/include/locale.h: Same.
5583 * libc/include/ctype.h: Same.
5584 * libc/include/machine/setjmp.h: Same.
5585 * libc/include/_ansi.h (_BEGIN_STD_C): Add.
5586 (_END_STD_C): Add.
5587
5588 2002-06-27 Jeff Johnston <jjohnstn@redhat.com>
5589
5590 * libc/include/sys/_types.h: Define _ssize_t as int if int is
5591 32-bits, otherwise define it as long.
5592 * libc/include/sys/types.h: Include <_ansi.h> and <sys/_types.h>
5593 and define ssize_t as _ssize_t.
5594 * libc/reent/readr.c: Change return type to _ssize_t.
5595 * libc/reent/writer.c: Ditto.
5596 * libc/sys/linux/Makefile.am: Add aio.c.
5597 * libc/sys/linux/Makefile.in: Regenerated.
5598 * libc/sys/linux/aio.c: New file.
5599 * libc/sys/linux/sys/cdefs.h: Add __restrict_arr definition.
5600 * libm/common/fdlibm.h: Undef __P before defining it.
5601
5602 2002-06-27 Thomas Fitzsimmons <fitzsim@redhat.com>
5603
5604 * libm/mathfp/s_pow.c (pow): Fix checks on variable k. Add
5605 exponent_is_even_int variable. Handle case where x is
5606 negative, and y is an odd integer.
5607 * libm/mathfp/sf_pow.c (powf): Likewise.
5608
5609 * libm/mathfp/er_lgamma.c: Remove __kernel references.
5610 * libm/mathfp/erf_lgamma.c: Likewise.
5611 * libm/mathfp/s_tgamma.c: Likewise.
5612 * libm/mathfp/sf_tgamma.c: Likewise.
5613
5614 2002-06-27 Jeff Johnston <jjohnstn@redhat.com>
5615
5616 * libc/sys/linux/Makefile.am: Add new clock routines.
5617 * libc/sys/linux/Makefile.in: Regenerated.
5618 * libc/sys/linux/clock_getres.c: New file.
5619 * libc/sys/linux/clock_gettime.c: Ditto.
5620 * libc/sys/linux/clock_settime.c: Ditto.
5621 * libc/sys/linux/hp-timing.h: Ditto.
5622 * libc/sys/linux/libc-internal.h: Ditto.
5623 * libc/sys/linux/sysconf.c: Fix typo.
5624 * libc/sys/linux/include/time.h: Add include of <sys/linux_time.h>.
5625 * libc/sys/linux/machine/hp-timing.h: New file.
5626 * libc/sys/linux/machine/i386/Makefile.am: Add new files.
5627 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
5628 * libc/sys/linux/machine/i386/get_clockfreq.c: New file.
5629 * libc/sys/linux/machine/i386/hp-timing.c: Ditto.
5630 * libc/sys/linux/machine/i386/hp-timing.h: Ditto.
5631 * libc/sys/linux/sys/linux_time.h: New file.
5632 * libc/sys/linux/sys/time.h: Remove include of <linux/time.h> and
5633 replace with <sys/linux_time.h>.
5634
5635 Wed Jun 26 16:33:25 2002 J"orn Rennecke <joern.rennecke@superh.com>
5636
5637 * libc/sys/sh/crt0.S: Remove vestigial .section directive.
5638
5639 2002-06-25 Jeff Johnston <jjohnstn@redhat.com>
5640
5641 * libc/sys/linux/Makefile.am: Consolidate additional items under
5642 ADD_OBJS.
5643 * libc/sys/linux/Makefile.in: Regenerated.
5644
5645 2002-06-25 Jeff Johnston <jjohnstn@redhat.com>
5646
5647 * libc/sys/linux/sethostname.c: New file.
5648 * libc/sys/linux/Makefile.am: Add sethostname.c support.
5649 * libc/sys/linux/Makefile.in: Regenerated.
5650
5651 2002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
5652
5653 * libc/search/db_local.h: New file.
5654 * libc/include/db.h: Remove.
5655 * libc/search/Makefile.am (LIB_SOURCES): Add db_local.h.
5656 * libc/search/hash.c (MIN,MAX): Add macros. Change <db.h> to
5657 "db_local.h".
5658 * libc/search/hash_bigkey.c: Likewise.
5659 * libc/search/hash_buf.c: Likewise.
5660 * libc/search/hash_func.c: Likewise.
5661 * libc/search/hash_log2.c: Likewise.
5662 * libc/search/hash_page.c: Likewise.
5663
5664 2002-06-24 J"orn Rennecke <joern.rennecke@superh.com>
5665
5666 * libc/machine/sh/strlen.S: New file.
5667 * libc/machine/sh/Makefile.am (lib_a_SOURCES): Add rule for it.
5668 * libc/machine/sh/Makefile.am: Regenerate.
5669
5670 2002-06-24 Jeff Johnston <jjohnstn@redhat.com>
5671
5672 * libc/sys/linux/gethostname.c: Change name to __gethostname and
5673 add gethostname alias.
5674
5675 2002-06-24 Jeff Johnston <jjohnstn@redhat.com>
5676
5677 * libc/include/math.h: Remove <sys/types.h>.
5678 (__dmath): Use __ULong instead of __uint32_t.
5679 * libc/include/sys/reent.h: If long or int is not 32-bits,
5680 include <sys/types.h> to get definitions for __int32_t and __uint32_t.
5681 * libc/stdlib/mprec.h: Include <sys/types.h> to get integer defs.
5682 * libm/common/fdlibm.h: Ditto.
5683
5684 2002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
5685
5686 * libc/include/ndbm.h: Remove.
5687 * libc/search/ndbm.c: Remove.
5688
5689 2002-06-24 WATANABE Hirofumi <eban@os.rim.or.jp>
5690
5691 * libc/stdio/fseek.c (fseek): Fix braces.
5692
5693 2002-06-21 Corinna Vinschen <corinna@vinschen.de>
5694
5695 * libc/time/strftime.c (strftime): Add %e format specifier.
5696
5697 2002-06-21 Thomas Fitzsimmons <fitzsim@redhat.com>
5698
5699 * libc/search/hash.h (LITTLE_ENDIAN, BIG_ENDIAN): Define if not
5700 previously defined.
5701
5702 2002-06-21 Richard Earnshaw (rearnsha@arm.com)
5703
5704 * libc/sys/arm/sys/param.h (BIG_ENDIAN, LITTLE_ENDIAN): Define.
5705 (BYTE_ORDER): Define as appropriate for the target.
5706
5707 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
5708
5709 * libc/include/sys/config.h[__linux__]: Set _READ_WRITE_RETURN_TYPE
5710 to _ssize_t.
5711 * libc/sys/linux/io.c (read, write): Change to return ssize_t.
5712
5713 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
5714
5715 * libc/include/stdio.h (__getline, __getdelim): New prototypes.
5716 * libc/include/time.h [HAVE_GETDATE](getdate, getdate_r): Ditto.
5717 [HAVE_GETDATE](getdate_err): New error code.
5718 * libc/stdio/Makefile.am: Add support for getline.c and getdelim.c.
5719 * libc/stdio/Makefile.in: Regenerated.
5720 * libc/stdio/getdelim.c: New file.
5721 * libc/stdio/getline.c: Ditto.
5722 * libc/sys/linux/Makefile.am: Add support for getdate.c, getdate_err.c
5723 and ntp_gettime.c. Also add AM_CFLAGS to point to libc/stdio.
5724 * libc/sys/linux/Makefile.in: Regenerated.
5725 * libc/sys/linux/getdate.c: New file.
5726 * libc/sys/linux/getdate_err.c: Ditto.
5727 * libc/sys/linux/ntp_gettime.c: Ditto.
5728 * libc/sys/linux/time.c (adjtimex, ntp_adjtime): New functions.
5729 * libc/sys/linux/sys/stdio.h (getline, getdelim): New macros.
5730
5731 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
5732
5733 * libc/include/math.h: Add <sys/types.h> to get _uint32_t definition.
5734 * libc/include/machine/types.h: Skip __off_t, __pid_t, and
5735 __loff_t definitions if special _HAVE_SYSTYPES macro defined.
5736 * libc/include/sys/config.h: Removed _uint*, _int* definitions.
5737 * libc/include/sys/param.h: Remove i386 case which is handled
5738 by default case.
5739 (BIG_ENDIAN, LITTLE_ENDIAN): Protect
5740 definitions in case they are already defined.
5741 (BYTE_ORDER): Add default case using _IEEE_BIG_ENDIAN and
5742 _IEEE_LITTLE_ENDIAN flags.
5743 * libc/include/sys/reent.h: Change __uint32_t references to
5744 use _ULong instead.
5745 (_REENT_GETDATE_REENT_P): New macro.
5746 * libc/include/sys/types.h (__int16_t, __uint16_t): Added.
5747 (__int32_t, __uint32_t, __int64_t, __uint64_t): Ditto.
5748 * libc/search/hash.h: Add default setting of BYTE_ORDER,
5749 LITTLE_ENDIAN, and BIG_ENDIAN, if not already defined.
5750 * libc/sys/linux/sys/types.h: Include <sys/_types.h>. Define
5751 ssize_t based on _ssize_t. Remove __socklen_t, __uintptr_t,
5752 pid_t, off_t, loff_t, caddr_t, and daddr_t type
5753 definitions which are done by subsequent glibc headers.
5754 Add macro definitions to prevent subsequent header files from
5755 defining pid_t, off_t, ssize_t, and key_t. Move uintptr_t and
5756 intptr_t to after glibc definitions of types they are based on.
5757
5758 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
5759
5760 * libc/include/errno.h: Protect from multiple inclusion.
5761
5762 2002-06-21 Nick Clifton <nickc@cambridge.redhat.com>
5763
5764 * libc/sys/arm/swi.h (ADP_Stopped_RunTimeError): Set correct value.
5765
5766 2002-06-20 Thomas Fitzsimmons <fitzsim@redhat.com>
5767
5768 * Makefile.am (LIB_OBJECTLISTS): Add
5769 libc/search/objectlist.awk.in.
5770 * libc/Makefile.am (SUBDIRS): Add search.
5771 (SUBLIBS): Add search/libsearch.la.
5772 * libc/configure.in (AC_OUTPUT): Add search/Makefile.
5773 * libc/search: New directory.
5774 * libc/search/Makefile.am: New file.
5775 * libc/search/extern.h: New file.
5776 * libc/search/hash.c: New file.
5777 * libc/search/hash.h: New file.
5778 * libc/search/hash_bigkey.c: New file.
5779 * libc/search/hash_buf.c: New file.
5780 * libc/search/hash_func.c: New file.
5781 * libc/search/hash_log2.c: New file.
5782 * libc/search/hash_page.c: New file.
5783 * libc/search/hcreate.3: New file.
5784 * libc/search/hcreate.c: New file.
5785 * libc/search/hcreate_r.c: New file.
5786 * libc/search/ndbm.c: New file.
5787 * libc/search/page.h: New file.
5788 * libc/search/tdelete.c: New file.
5789 * libc/search/tdestroy.c: New file.
5790 * libc/search/tfind.c: New file.
5791 * libc/search/tsearch.3: New file.
5792 * libc/search/tsearch.c: New file.
5793 * libc/search/twalk.c: New file.
5794 * libc/include/db.h: New file.
5795 * libc/include/ndbm.h: New file.
5796 * libc/include/search.h: New file.
5797 * libc/include/sys/queue.h: New file.
5798 * libc/include/sys/cdefs.h: New file.
5799 * libc/include/sys/param.h
5800 [__IEEE_LITTLE_ENDIAN,__IEEE_BIG_ENDIAN]: Set BYTE_ORDER to
5801 LITTLE_ENDIAN or BIG_ENDIAN.
5802 * libc/include/sys/errno.h (EFTYPE): New macro.
5803 * libc/search/bsearch.c: Move from libc/stdlib.
5804 * libc/search/qsort.c: Likewise.
5805 * libc/stdlib/Makefile.am (LIB_SOURCES): Remove bsearch.c and
5806 qsort.c.
5807 (CHEWOUT_FILES): Remove bsearch.def and qsort.def.
5808 * libc/stdlib/stdlib.tex: Remove references to bsearch and qsort.
5809
5810 2002-06-19 Jeff Johnston <jjohnstn@redhat.com>
5811
5812 * libc/sys/linux/Makefile.am: Add support for message queue routines,
5813 ipc routines, and ftok.
5814 * libc/sys/linux/Makefile.in: Regenerated.
5815 * libc/sys/linux/ftok.c: New file.
5816 * libc/sys/linux/ipc.c: Ditto.
5817 * libc/sys/linux/mq_close.c: Ditto.
5818 * libc/sys/linux/mq_getattr.c: Ditto.
5819 * libc/sys/linux/mq_notify.c: Ditto.
5820 * libc/sys/linux/mq_open.c: Ditto.
5821 * libc/sys/linux/mq_receive.c: Ditto.
5822 * libc/sys/linux/mq_send.c: Ditto.
5823 * libc/sys/linux/mq_setattr.c: Ditto.
5824 * libc/sys/linux/mq_unlink.c: Ditto.
5825 * libc/sys/linux/mqlocal.h: Ditto.
5826 * libc/sys/linux/include/mqueue.h: Ditto.
5827 * libc/sys/linux/sys/types.h: Define __gid_t_defined and
5828 __uid_t_defined.
5829
5830 2002-06-19 J"orn Rennecke <joern.rennecke@superh.com>
5831
5832 * libm/common/sf_lround.c (round): Change name to: (lround).
5833 * libm/common/sf_remquo.c (remquo): Pass all arguemnts to
5834 remquof.
5835
5836 2002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
5837
5838 * testsuite/lib/passfail.exp (newlib_pass_fail_all): New
5839 procedure.
5840 (newlib_pass_fail): Change to compile and run only one file.
5841 * testsuite/newlib.locale/locale.exp: Use new
5842 newlib_pass_fail_all procedure.
5843 * testsuite/newlib.string/string.exp: Likewise.
5844
5845 2002-06-18 Dave Brolley <brolley@redhat.com>
5846
5847 From Catherine Moore, Michael Meissner, Richard Sandiford:
5848 * libc/include/machine/setjmp.h (_JBLEN): Define for __frv__.
5849 (_JBTYPE): Ditto.
5850 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Ditto.
5851 (__ATTRIBUTE_IMPURE_PTR__): Ditto.
5852 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Ditto.
5853 * configure.host: Support frv-*-*.
5854 * libc/machine/frv/Makefile.am: New file.
5855 * libc/machine/frv/configure.in: New file.
5856 * libc/machine/frv/setjmp.S: New file.
5857
5858 2002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
5859
5860 * libc/include/ctype.h: Remove isblank macro.
5861
5862 * libc/ctype/Makefile.am (LIB_SOURCES): Add isblank.c.
5863 * libc/ctype/isblank.c: New file.
5864 * libc/include/ctype.h [!__STRICT_ANSI__]: Add isblank
5865 declaration. Add isblank macro.
5866
5867 2002-06-18 Jeff Johnston <jjohnstn@redhat.com>
5868
5869 * testsuite/newlib.stdlib/atexit.c: New file.
5870 * testsuite/newlib.stdlib/atexit.exp: Ditto.
5871 * testsuite/newlib.string/tstring.c: Change default start size
5872 to something more reasonable for embedded platforms.
5873
5874 2002-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
5875
5876 * libc/sys/linux/sys/errno.h (EFTYPE): Add macro.
5877
5878 * libc/argz: New directory.
5879 * libc/argz/*: New files.
5880 * libc/argz/argz_add.c: New file.
5881 * libc/argz/argz_add_sep.c: New file.
5882 * libc/argz/argz_append.c: New file.
5883 * libc/argz/argz_count.c: New file.
5884 * libc/argz/argz_create.c: New file.
5885 * libc/argz/argz_create_sep.c: New file.
5886 * libc/argz/argz_delete.c: New file.
5887 * libc/argz/argz_extract.c: New file.
5888 * libc/argz/argz_insert.c: New file.
5889 * libc/argz/argz_next.c: New file.
5890 * libc/argz/argz_replace.c: New file.
5891 * libc/argz/argz_stringify.c: New file.
5892 * libc/argz/buf_findstr.c: New file.
5893 * libc/argz/envz_add.c: New file.
5894 * libc/argz/envz_entry.c: New file.
5895 * libc/argz/envz_get.c: New file.
5896 * libc/argz/envz_merge.c: New file.
5897 * libc/argz/envz_remove.c: New file.
5898 * libc/argz/envz_strip.c: New file.
5899 * libc/include/argz.h: New file.
5900 * libc/include/envz.h: New file.
5901 * Makefile.am (LIBC_OBJECTLISTS): Add
5902 libc/argz/objectlist.awk.in.
5903 * libc/Makefile.am (SUBDIRS): Add argz.
5904 (SUBLIBS): Add argz/libargz.la.
5905 * libc/configure.in (AC_OUTPUT): Add argz/Makefile.
5906 * libc/include/errno.h: Add error_t typedef.
5907
5908 2002-06-13 Jeff Johnston <jjohnstn@redhat.com>
5909
5910 * libc/include/stdlib.h: Add _Exit prototype.
5911 * libc/stdlib/Makefile.am: Add _Exit.c support.
5912 * libc/stdlib/Makefile.in: Ditto.
5913 * libc/stdlib/_Exit.c: New file.
5914
5915 2002-06-13 Stephen L. Moshier <steve@moshier.net>
5916
5917 * libm/math/e_pow.c (__ieee754_pow): Fix case whereby
5918 x is close to -1.0 and y is very large to use ax (absolute value)
5919 instead of x.
5920 * libm/math/ef_pow.c (__ieee754_powf): Ditto.
5921
5922 Thu Jun 13 19:23:40 2002 J"orn Rennecke <joern.rennecke@superh.com>
5923
5924 * libc/machine/sh/strcpy.S (strcpy, __SHMEDIA__ code):
5925 Fix clobbering bytes before destination if src and dst have same
5926 non-zero misalignment.
5927
5928 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
5929 Fixed bug in writing end of set region.
5930
5931 2002-06-10 Christopher Faylor <cgf@redhat.com>
5932
5933 * libc/include/process.h: Remove cygwin-only sexec* declarations. Fix
5934 spawnve declaration.
5935
5936 2002-06-06 Thomas Fitzsimmons <fitzsim@redhat.com>
5937
5938 * libm/common/s_fdim.c: New file.
5939 * libm/common/s_fma.c: Likewise.
5940 * libm/common/s_fmax.c: Likewise.
5941 * libm/common/s_fmin.c: Likewise.
5942 * libm/common/s_fpclassify.c: Likewise.
5943 * libm/common/s_lrint.c: Likewise.
5944 * libm/common/s_lround.c: Likewise.
5945 * libm/common/s_nearbyint.c: Likewise.
5946 * libm/common/s_remquo.c: Likewise.
5947 * libm/common/s_round.c: Likewise.
5948 * libm/common/s_scalbln.c: Likewise.
5949 * libm/common/s_signbit.c: Likewise.
5950 * libm/common/s_trunc.c: Likewise.
5951 * libm/common/sf_fdim.c: Likewise.
5952 * libm/common/sf_fma.c: Likewise.
5953 * libm/common/sf_fmax.c: Likewise.
5954 * libm/common/sf_fmin.c: Likewise.
5955 * libm/common/sf_lrint.c: Likewise.
5956 * libm/common/sf_lround.c: Likewise.
5957 * libm/common/sf_nearbyint.c: Likewise.
5958 * libm/common/sf_remquo.c: Likewise.
5959 * libm/common/sf_round.c: Likewise.
5960 * libm/common/sf_scalbln.c: Likewise.
5961 * libm/common/sf_trunc.c: Likewise.
5962 * libm/math/w_exp2.c: Likewise.
5963 * libm/math/w_tgamma.c: Likewise.
5964 * libm/math/wf_exp2.c: Likewise.
5965 * libm/math/wf_tgamma.c: Likewise.
5966 * libm/mathfp/s_exp2.c: Likewise.
5967 * libm/mathfp/s_tgamma.c: Likewise.
5968 * libm/mathfp/sf_exp2.c: Likewise.
5969 * libm/mathfp/sf_tgamma.c: Likewise.
5970 * libm/math/er_gamma.c: Fix return value.
5971 * libm/math/erf_gamma.c: Likewise.
5972 * libm/mathfp/er_gamma.c: Likewise.
5973 * libm/mathfp/erf_gamma.c: Likewise.
5974 * libc/include/math.h (!__STRICT_ANSI__): Include ISOC99-specific
5975 declarations and macros.
5976 Regenerated all Makefile.in, aclocal.m4 and configure files to
5977 use new libtool macros in top-level libtool.m4
5978
5979 2002-06-05 Jeff Johnston <jjohnstn@redhat.com>
5980
5981 * libc/include/string.h[__linux__]: Add strsignal prototype.
5982 * libc/include/sys/lock.h: New file with default locking support.
5983 * libc/include/sys/reent.h: Add signal buffer support for strsignal
5984 and psignal.
5985 * libc/posix/Makefile.am: Add support for readdir_r.c.
5986 * libc/posix/Makefile.in: Regenerated.
5987 * libc/posix/closedir.c: Add locking support and hash table cleanup.
5988 * libc/posix/opendir.c: Add lock support.
5989 * libc/posix/readdir.c: Ditto.
5990 * libc/posix/rewinddir.c: Ditto.
5991 * libc/posix/scandir.c: Ditto.
5992 * libc/posix/seekdir.c: Ditto.
5993 * libc/posix/telldir.c: Ditto plus add _cleanupdir routine to
5994 clean up leftover hash table entries.
5995 * libc/posix/readdir_r.c: New file.
5996 * libc/sys/linux/Makefile.am: Add psignal.c and strsignal.c support.
5997 * libc/sys/linux/Makefile.in: Regenerated.
5998 * libc/sys/linux/sys/dirent.h: Add dd_lock to DIR structure.
5999 * libc/sys/linux/sys/signal.h: Add psignal prototype.
6000 * libc/sys/linux/psignal.c: New file.
6001 * libc/sys/linux/strsignal.c: Ditto.
6002
6003 2002-06-03 Corinna Vinschen <corinna@vinschen.de>
6004
6005 * libc/include/sys/types.h: Don't define dev_t when compiling for
6006 Cygwin.
6007
6008 2002-05-31 Jeff Johnston <jjohnstn@redhat.com>
6009
6010 * libc/sys/linux/Makefile.am: Add sig.c and sigaction.c. Also
6011 make siglist.inc dependent on sig.c instead of signal.c.
6012 * libc/sys/linux/Makefile.in: Regenerated.
6013 * libc/sys/linux/sig.c: Rename from signal.c and change code to
6014 use NSIG instead of _NSIG.
6015 * libc/sys/linux/sigaction.c: New file.
6016 * libc/sys/linux/signal.c: Changed to be linux signal() function
6017 so as to override regular newlib default signal.c.
6018 * libc/sys/linux/machine/i386/Makefile.am: Remove sigset.c.
6019 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
6020 * libc/sys/linux/machine/i386/sigset.c: Moved to linux main directory.
6021 * libc/sys/linux/sigset.c: Moved from machine/i386 directory.
6022 * libc/sys/linux/sys/signal.h: Redefine NSIG to _NSIG and override
6023 default linux sigset_t typedef by defining it equal to __sigset_t.
6024 * libc/unix/sigset.c: Add check so code isn't compiled on systems
6025 with a sigset_t that isn't implemented with a single int.
6026
6027 2002-05-30 Jeff Johnston <jjohnstn@redhat.com>
6028
6029 * libc/sys/linux/Makefile.am: Add support for new files.
6030 * libc/sys/linux/Makefile.in: Regenerated.
6031 * libc/sys/linux/ids.c: Add __getuid weak alias for getuid.
6032 * libc/sys/linux/signal.c: Change to use real-time syscalls for
6033 sigsuspend, sigprocmask, and sigpending. Also remove sigaction as
6034 it is in a separate file now.
6035 * libc/sys/linux/machine/i386/Makefile.am
6036 * libc/sys/linux/machine/i386/Makefile.in
6037 * libc/sys/linux/sys/signal.h: Add include of <bits/signum.h>.
6038 * libc/sys/linux/sigaction.c: New file.
6039 * libc/sys/linux/sigqueue.c: Ditto.
6040 * libc/sys/linux/sigwait.c: Ditto.
6041 * libc/sys/linux/machine/i386/sigaction.c: Ditto.
6042 * libc/sys/linux/kernel_sigaction.h: Ditto.
6043
6044 2002-05-28 Jeff Johnston <jjohnstn@redhat.com>
6045
6046 * libc/sys/linux/Makefile.am: Add support for cfspeed.c and
6047 tcsendbrk.c.
6048 * libc/sys/linux/Makefile.in: Regenerated.
6049 * libc/sys/linux/termios.c: Add tcflow(), tcflush(),
6050 tcgetpgrp(), and tcsetpgrp() functions.
6051 * libc/sys/linux/sys/termios.h: Add include of machine/termios.h
6052 to get __MAX_BAUD rate.
6053 * libc/sys/linux/machine/i386/include/termios.h: New file.
6054 * libc/include/machine/termios.h: Ditto.
6055 * libc/sys/linux/cfspeed.c: Ditto.
6056 * libc/sys/linux/tcsendbrk.c: Ditto.
6057
6058 2002-05-24 Jeff Johnston <jjohnstn@redhat.com>
6059
6060 * libc/include/string.h: Add strnlen and strerror_r prototypes.
6061 * libc/string/Makefile.am: Add strnlen.c and strerror_r.c support.
6062 * libc/string/Makefile.in: Regenerated.
6063 * libc/string/strerror_r.c: New file.
6064 * libc/string/strnlen.c: New file.
6065 * libc/sys/linux/Makefile.am: Add rename.c.
6066 * libc/sys/linux/Makefile.in: Regenerated.
6067 * libc/sys/linux/rename.c: New file to override default rename.
6068
6069 2002-05-24 Thomas Fitzsimmons <fitzsim@redhat.com>
6070
6071 * libc/sys/linux/sys/cdefs.h: Add __weak_reference macros.
6072 * libc/sys/linux/sys/time.h: Add conversion macros.
6073 * libc/sys/linux/sys/types.h: Add FD_ macros. Include <bits/types.h>.
6074 * libc/sys/linux/ids.c: Add setresuid and syslog syscalls.
6075 * libc/sys/linux/gethostname.c: New file.
6076 * libc/sys/linux/seteuid.c: New file.
6077 * libc/sys/linux/sysctl.c: New file.
6078
6079 2002-05-23 Jeff Johnston <jjohnstn@redhat.com>
6080
6081 * libc/string/Makefile.am: Add support for strsep.c.
6082 * libc/string/Makefile.in: Regenerated.
6083 * libc/string/strsep.c: New file.
6084 * libc/string/strtok.c: Change to call __strtok_r service routine.
6085 * libc/string/strtok_r.c: Add __strtok_r routine which takes
6086 additional flag parameter regarding whether to skip leading delimeters.
6087 Change strtok_r to call __strtok_r.
6088
6089 2002-05-23 Gareth Pearce <tilps@hotmail.com>
6090
6091 * libc/stdio/Makefile.am: Modify to add setbuffer.c and setlinebuf.c.
6092 * libc/stdio/Makefile.in: Regenerated.
6093 * libc/stdio/setbuffer.c: New file.
6094 * libc/stdio/setlinebuf.c: New file.
6095
6096 2002-05-23 Jeff Johnston <jjohnstn@redhat.com>
6097
6098 * libc/sys/linux/Makefile.am: Add resource.c.
6099 * libc/sys/linux/Makefile.in: Regenerated.
6100 * libc/sys/linux/resource.c: New file.
6101 * libc/sys/linux/time.c: Add settimeofday, getitimer, and setitimer.
6102 * libc/sys/linux/machine/i386/Makefile.am: Remove syscalls.c.
6103 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
6104 * libc/sys/linux/machine/i386/syscalls.c: Removed as functions
6105 are now found in libc/sys/linux/resource.c.
6106
6107 2002-05-23 Jeff Johnston <jjohnstn@redhat.com>
6108
6109 * libc/include/string.h (bcmp, bcopy, bzero): Change prototypes
6110 to use void * pointers and comply with Single Unix spec.
6111 * libc/string/bcmp.c: Change to use void * instead of char *.
6112 * libc/string/bcopy.c: Ditto.
6113 * libc/string/bzero.c: Ditto.
6114
6115 2002-05-22 Jeff Johnston <jjohnstn@redhat.com>
6116
6117 * libc/sys/linux/shm_open.c: New file.
6118 * libc/sys/linux/shm_unlink.c: Ditto.
6119 * libc/sys/linux/Makefile.am: Add support for shm_open.c and
6120 shm_unlink.c.
6121 * libc/sys/linux/Makefile.in: Regenerated.
6122 * libc/sys/linux/sys/types.h: Add some additional checks to see
6123 if clock_t or time_t is already defined.
6124
6125 2002-05-22 Jeff Johnston <jjohnstn@redhat.com>
6126
6127 * Makefile.am: Don't pass $toollibdir down directly in
6128 AM_MAKEFLAGS as it causes all multilibs to use the same toollibdir.
6129 Pass it under the name: top_toollibdir.
6130 * Makefile.in: Regenerated.
6131
6132 2002-05-22 Corinna Vinschen <vinschen@redhat.com>
6133
6134 * libc/include/sys/types.h: Revert previous patch.
6135
6136 2002-05-22 Corinna Vinschen <vinschen@redhat.com>
6137
6138 * libc/include/sys/types.h: Include cygwin/types.h always under
6139 Cygwin, not only if _POSIX_THREADS is defined.
6140
6141 2002-05-21 Dhananjay Deshpande <dhananjayd@kpit.com>
6142
6143 * configure.host: Specify sys_dir=h8300hms for h8300-*-coff* target.
6144
6145 2002-05-17 Jeff Johnston <jjohnstn@redhat.com>
6146
6147 * Makefile.am: Copy and install headers from sys/machine/include
6148 directory. Also pass $toollibdir to lower-level directories.
6149 * Makefile.in: Regenerated.
6150 * libc/include/stdio.h[!_REENT_ONLY]: Change stdin, stdout, and
6151 stderr to use _REENT macro instead of _impure_ptr directly.
6152 * libc/include/sys/config.h[__i386__][__linux__]: Define
6153 __DYNAMIC_REENT__.
6154 * libc/include/sys/reent.h[!_REENT_ONLY]: Change _REENT macro to be
6155 call to __getreent() function if !__SINGLE_THREAD__ and
6156 __DYNAMIC_REENT__ is set.
6157 * libc/reent/Makefile.am: Add support for getreent.c.
6158 * libc/reent/Makefile.in: Regenerated.
6159 * libc/string/strerror.c: Add check if EOPNOTSUPP and ENOTSUP are same.
6160 * libc/sys/linux/Makefile.am: Add support for new files.
6161 * libc/sys/linux/configure.in: Add $EXTRA_DIRS variable.
6162 * libc/sys/linux/Makefile.in: Regenerated.
6163 * libc/sys/linux/configure: Ditto.
6164 * libc/sys/linux/io.c: Add poll syscall. Also weak-alias
6165 __close, __read, __write, __poll, __open, __lseek, __fcntl from
6166 their __libc_ counterparts.
6167 * libc/sys/linux/io64.c: Add __libc_ prefix to lseek64 and open64
6168 and weak-alias to regular names.
6169 * libc/sys/linux/pread64.c: Rename to __libc_pread64 and weak-alias
6170 to pread64 and __pread64.
6171 * libc/sys/linux/process.c: Weak_alias __libc_getpid to __getpid.
6172 * libc/sys/linux/pwrite64.c: Rename to __libc_pwrite64 and
6173 weak-alias to pwrite64.
6174 * libc/sys/linux/sched.c: Weak-alias __libc_sched_getparam,
6175 __libc_sched_getscheduler, __libc_sched_get_priority_max,
6176 __libc_sched_get_priority_min, and __libc_sched_setschedule to
6177 name with __ instead of __libc_.
6178 * libc/sys/linux/siglongjmp.c: Include <machine/weakalias.h>.
6179 Rename siglongjmp to __libc_siglongjmp and weak-alias to siglongjmp.
6180 Call __libc_longjmp instead of longjmp, from __libc_siglongjmp.
6181 * libc/sys/linux/signal.c: Rename raise to __libc_raise and weak-alias
6182 to raise.
6183 * libc/sys/linux/socket.c: Weak-alias __libc_connect to __connect and
6184 __libc_send to __send.
6185 * libc/sys/linux/time.c: Weak-alias __libc_gettimeofday to
6186 __gettimeofday.
6187 * libc/sys/linux/wait.c: Rename wait to __libc_wait and weak-alias
6188 it to wait. Rename wait3 to __libc_wait3 and weak-alias it to wait3.
6189 * libc/sys/linux/include/setjmp.h: Use __jmp_buf in sigjmp_buf
6190 type and typedef __jmp_buf to jmp_buf.
6191 * libc/sys/linux/machine/i386/Makefile.am: Add syscalls.c and
6192 setjmp.S.
6193 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
6194 * libc/sys/linux/machine/i386/crt0.c: Add support to clear .bss
6195 section.
6196 * libc/sys/linux/machine/i386/socketcall.h: Change to use __libc_
6197 prefix for function macros and then use weak_alias() to regular names.
6198 * libc/sys/linux/machine/i386/syscall.h: Ditto.
6199 * libc/sys/linux/sys/errno.h: Define EOPNOTSUP to be ENOTSUP.
6200 * libc/sys/linux/sys/stdio.h: Define _flockfile and _funlockfile
6201 to be flockfile() and funlockfile() respectively.
6202 * libc/sys/linux/sys/types.h
6203 * libc/reent/getreent.c: New file.
6204 * libc/sys/linux/flockfile.c: Ditto.
6205 * libc/sys/linux/funlockfile.c: Ditto.
6206 * libc/sys/linux/getreent.c: Ditto.
6207 * libc/sys/linux/pread.c: Ditto.
6208 * libc/sys/linux/pwrite.c: Ditto.
6209 * libc/sys/linux/raise.c: Ditto.
6210 * libc/sys/linux/system.c: Ditto.
6211 * libc/sys/linux/tcdrain.c: Ditto.
6212 * libc/sys/linux/machine/i386/i386mach.h: Ditto.
6213 * libc/sys/linux/machine/i386/setjmp.S: Ditto.
6214 * libc/sys/linux/machine/i386/syscalls.c: Ditto.
6215 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
6216 * libc/sys/linux/machine/i386/include/setjmp.h: Ditto.
6217
6218 2002-05-14 Dhananjay Deshpande <dhananjayd@kpit.com>
6219
6220 * newlib/libc/sys/h8300hms/Makeile.am (lib_a_SOURCES): Add read.c.
6221 * newlib/libc/sys/h8300hms/read.c: New file. Magic trap 0xC8 for sim.
6222 * newlib/libc/sys/h8300hms/syscalls.c: Move _read() to read.c.
6223 * newlib/libs/sys/h8300hms/sys/syscall.h: New file.
6224
6225 Thu May 16 17:24:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
6226
6227 * libc/machine/sh/strcpy.S (strcpy): Replace LITTLE_ENDIAN with
6228 __LITTLE_ENDIAN__. make sure r0 has right value at first loop
6229 exit point.
6230
6231 2002-05-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6232
6233 * testsuite/lib/newlib.exp: Add newlib_include_flags to compile
6234 options when testing natively on i[3456]86-*-linux.
6235
6236 * testsuite/lib/checkoutput.exp (newlib_check_output): Output
6237 only one pass or fail per test file. Trim \r's from output
6238 values received from test programs. Remove support for named
6239 tests.
6240 * testsuite/newlib.locale/UTF-8.exp: Update to support new
6241 newlib_check_output behaviour.
6242 * testsuite/newlib.locale/UTF-8.c: Likewise.
6243
6244 2002-05-15 Jeff Johnston <jjohnstn@redhat.com>
6245
6246 * libc/include/stdlib.h: Add on_exit prototype.
6247 * libc/include/sys/reent.h (struct _atexit): Add argument array
6248 and bits to track type of exit routine to support both on_exit
6249 and atexit.
6250 (_REENT_INIT_PTR): Add missing fields that won't be zeroed out
6251 by default and change the setting of the atexit structure.
6252 (_REENT_INIT)[!_REENT_SMALL]: Remove extraneous end brace.
6253 * libc/stdlib/on_exit.c: New file.
6254 * libc/stdlib/Makefile.am: Add support for on_exit.
6255 * libc/stdlib/Makefile.in: Regenerated.
6256 * libc/stdlib/atexit.c: Change to initialize types field.
6257 * libc/stdlib/exit.c: Change to look at types field for each
6258 exit routine and either call an atexit-style or an on_exit-style
6259 routine accordingly.
6260
6261 2002-05-13 Jeff Johnston <jjohnstn@redhat.com>
6262
6263 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Don't
6264 allow v specifier with n or L specifiers. For vector c format,
6265 move tmp declaration to the top.
6266
6267 2002-05-13 Jeff Johnston <jjohnstn@redhat.com>
6268
6269 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Restore
6270 the original format specifier when looping for vectors to compensate
6271 for any changes made in vector %g format processing.
6272 Also add syntax checking for various invalid scenarios
6273 involving vector format extensions.
6274 * libc/machine/powerpc/vfscanf.c(__VFSCANF_R)[__ALTIVEC__]: Fix
6275 return code setting for vector formats. Also treat vector
6276 separator mismatch as a match error instead of an input error.
6277 Perform some syntax checking for vector formats.
6278
6279 2002-05-10 Mark Bradshaw <bradshaw@staff.crosswalk.com>
6280
6281 * libc/include/string.h (!__STRICT_ANSI__): Add strlcat and strlcpy.
6282 * libc/string/Makefile.am: Add strlcat.c and strlcpy.c.
6283 * libc/string/strlcat.c: New file.
6284 * libc/string/strlcpy.c: New file.
6285
6286 2002-05-10 Jeff Johnston <jjohnstn@redhat.com>
6287
6288 * libc/string/strchr.c: Fix comment typo.
6289
6290 2002-05-08 Thomas Fitzsimmons <fitzsim@redhat.com>
6291
6292 * acinclude.m4: Add support for --enable-newlib-multithread.
6293 * configure.host (newlib_cflags): Add -D__SINGLE_THREAD__ if
6294 --enable-newlib-multithread=no.
6295
6296 * libc/stdio/getc_u.c: New file.
6297 * libc/stdio/getchar_u.c: New file.
6298 * libc/stdio/putc_u.c: New file.
6299 * libc/stdio/putchar_u.c: New file.
6300 * libc/include/stdio.h: Add declarations for getc_unlocked,
6301 getchar_unlocked, putc_unlocked and putchar_unlocked.
6302 * libc/stdio/Makefile.am (LIB_SOURCES): Add new files.
6303 (CHEWOUT_FILES): Add new files' .def's.
6304 * libc/stdio/putchar.c (_putchar_r): Replace __sputc with putc.
6305
6306 Wed May 8 17:47:35 2002 J"orn Rennecke <joern.rennecke@superh.com>
6307
6308 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
6309 Also handle as single quad word when destination ends at last
6310 byte of first quad word. Fix byte selection in single quad code.
6311
6312 2002-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
6313
6314 * libc/include/sys/stdio.h: New file.
6315 * libc/sys/linux/sys/stdio.h: New file.
6316 * libc/include/stdio.h: Add declarations for flockfile,
6317 ftrylockfile, and funlockfile. Include <sys/stdio.h>.
6318 * libc/stdio/clearerr.c: Add file locking.
6319 * libc/stdio/fclose.c: Likewise.
6320 * libc/stdio/feof.c: Likewise.
6321 * libc/stdio/ferror.c: Likewise.
6322 * libc/stdio/fflush.c: Likewise.
6323 * libc/stdio/fgetc.c: Likewise.
6324 * libc/stdio/fgetpos.c: Likewise.
6325 * libc/stdio/fgets.c: Likewise.
6326 * libc/stdio/fileno.c: Likewise.
6327 * libc/stdio/fputc.c: Likewise.
6328 * libc/stdio/fputs.c: Likewise.
6329 * libc/stdio/fread.c: Likewise.
6330 * libc/stdio/freopen.c: Likewise.
6331 * libc/stdio/fseek.c: Likewise.
6332 * libc/stdio/ftell.c: Likewise.
6333 * libc/stdio/fwrite.c: Likewise.
6334 * libc/stdio/getc.c: Likewise.
6335 * libc/stdio/putc.c: Likewise.
6336 * libc/stdio/setvbuf.c: Likewise.
6337 * libc/stdio/ungetc.c: Likewise.
6338 * libc/stdio/vfprintf.c: Likewise.
6339
6340 2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
6341
6342 * libc/machine/powerpc/vfprintf.c[__ALTIVEC__]: Add vector
6343 support for 'p' format. Fix code to print bytes for vector
6344 integer formats that do not specify 'h' or 'l'.
6345 * libc/machine/powerpc/vfscanf.c[__ALTIVEC__]: Add vector support
6346 for 'p' specifier. Fix code to scan 16 bytes for vector integer
6347 formats that do not specify 'h' or 'l'.
6348
6349 * libc/include/stdlib.h (a64l, l64a, _l64a_r): Added prototypes.
6350
6351 2002-05-06 Nick Clifton <nickc@cambridge.redhat.com>
6352
6353 * libc/sys/arm/syscalls.c (_rename): Add parameter names.
6354 (_sbrk): Add cast of return value.
6355
6356 2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
6357
6358 * libc/include/sys/reent.h (_l64a_buf): New reentrant area.
6359 (_REENT_L64A_BUF): New macro for accessing area.
6360 * libc/stdlib/Makefile.am: Add a64l.c and l64a.c.
6361 * libc/stdlib/Makefile.in: Regenerated.
6362 * libc/stdlib/a64l.c: New file.
6363 * libc/stdlib/l64a.c: New file.
6364
6365 2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
6366
6367 * libc/unix/pread.c: Fix typo for _pread_r.
6368 * libc/unix/pwrite.c: Fix type for _pwrite_r.
6369 * libc/sys/linux/pread64.c: Fix typo for read syscall.
6370 * libc/sys/linux/pwrite64.c: Fix typo for write syscall.
6371
6372 2002-05-03 Christopher Faylor <cgf@redhat.com>
6373
6374 * libc/include/sys/unistd.h: Define getdomainname under cygwin.
6375
6376 2002-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
6377
6378 * configure.in (CC_FOR_NEWLIB): Change -isystem's to -I's.
6379
6380 2002-05-01 Christopher Faylor <cgf@redhat.com>
6381
6382 * utmp.h: Define more UNIX constants.
6383
6384 2002-05-01 Thomas Fitzsimmons <fitzsim@redhat.com>
6385
6386 * Makefile.am: Add support for checking multilibs.
6387
6388 * libc/Makefile.am (SUBLIBS): Add LIBC_EXTRA_LIB.
6389 (SUBDEFS): Add LIBC_EXTRA_DEF.
6390 * libc/configure.in (LIBC_EXTRA_LIB): New variable.
6391 (LIBC_EXTRA_DEF): Likewise.
6392 (extra_dir): Likewise.
6393 * libc/machine/xscale/machine: New directory.
6394 * libc/machine/xscale/machine/profile.h: New file.
6395
6396 * Makefile.am (site.exp): Remove newlib_cflags. Add
6397 multibuildtop.
6398 * testsuite/newlib.locale/UTF-8.c: Change fprintf's to printf's.
6399 * testsuite/lib/flags.exp: New file.
6400 * testsuite/lib/newlib.exp: Load flags.exp.
6401 (newlib_target_compile): Remove libgloss directory references.
6402 (newlib_init): Remove newlib_cflags references.
6403
6404 2002-04-30 Thomas Fitzsimmons <fitzsim@redhat.com>
6405
6406 * testsuite/lib/newlib.exp (newlib_target_compile): Change
6407 method of finding libgloss_target_dir.
6408
6409 * Makefile.am (site.exp): Change host_alias, host_triplet,
6410 target_alias, target_triplet to refer to gcc's host and target
6411 variables (newlib's build and host variables).
6412 * testsuite/lib/newlib.exp (newlib_init): Change build
6413 references to host references, host references to target
6414 references to reflect Makefile.am changes.
6415 (newlib_target_compile): Likewise.
6416 (newlib_finish): Likewise.
6417
6418 2002-04-29 Jeff Johnston <jjohnstn@redhat.com>
6419
6420 * libc/sys/linux/io64.c (fstat64, lstat64): New syscalls added.
6421
6422 2002-04-29 Jonathan Larmour <jlarmour@redhat.com>
6423
6424 * libc/sys/arm/syscalls.c (_rename): New function. Just a stub.
6425 (_system): New function. Ditto.
6426 * libc/stdlib/system.c (_system_r): Call _system if HAVE_SYSTEM.
6427 * configure.host: define HAVE_SYSTEM and HAVE_RENAME for xscale
6428 targets.
6429
6430 2002-04-29 Jeff Johnston <jjohnstn@redhat.com>
6431
6432 * libc/include/sys/unistd.h (pread, pwrite): Added prototypes.
6433 * libc/unix/Makefile.am: Add pread.c and pwrite.c.
6434 * libc/sys/linux/Makefile.am: Add pread64.c and pwrite64.c.
6435 * libc/sys/linux/Makefile.in: Regenerated.
6436 * libc/unix/Makefile.in: Ditto.
6437 * libc/sys/linux/pread64.c: New file.
6438 * libc/sys/linux/pwrite64.c: Ditto.
6439 * libc/unix/pread.c: Ditto.
6440 * libc/unix/pwrite.c: Ditto.
6441
6442 2002-04-26 Jeff Johnston <jjohnstn@redhat.com>
6443
6444 * libc/sys/linux/Makefile.am: Add io64.c.
6445 * libc/sys/linux/Makefile.in: Regenerated.
6446 * libc/sys/linux/io.c(mkfifo, fsync, fdatasync): Added syscalls.
6447 * libc/sys/linux/signal.c (sigwaitinfo, sigtimedwait): Ditto.
6448 * libc/sys/linux/io64.c: New file.
6449
6450 2002-04-26 Jeff Johnston <jjohnstn@redhat.com>
6451
6452 * configure.in (CC_FOR_NEWLIB): New variable that
6453 bases on $(CC) and adds targ-include and libc/include as
6454 -isystem directives if they are not already part of $(CC).
6455 * Makefile.am (AM_MAKEFLAGS): Change setting of CC to equal
6456 $(CC_FOR_NEWLIB).
6457 * configure: Regenerated.
6458 * Makefile.in: Ditto.
6459
6460 2002-04-25 Jeff Johnston <jjohnstn@redhat.com>
6461
6462 * libc/sys/linux/Makefile.am: Add support for sched.c.
6463 * libc/sys/linux/Makefile.in: Regenerated.
6464 * libc/sys/linux/sched.c: New file.
6465 * libc/sys/linux/sys/types.h: Add struct timespec.
6466
6467 2002-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
6468
6469 * configure.in (CC_FOR_BUILD): Set to gcc whether
6470 cross-compiling or not.
6471 (CC): Add -isystem's for targ-include and libc/include when they
6472 do not already appear in CC.
6473
6474 2002-04-24 Thomas Fitzsimmons <fitzsim@redhat.com>
6475
6476 * Makefile.am (check-DEJAGNU): New target.
6477 (site.exp): Likewise.
6478 * acinclude.m4 (NEWLIB_CONFIGURE): Replace AC_CANONICAL_HOST
6479 with AC_CANONICAL_SYSTEM. Remove AC_CANONICAL_BUILD.
6480 * libc/locale/locale.c (_setlocale_r): Add UTF-8 support.
6481 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Likewise.
6482 * libc/stdlib/wctomb_r.c (_wctomb_r): Likewise.
6483 * testsuite: New directory.
6484 * testsuite/config: Likewise.
6485 * testsuite/lib: Likewise.
6486 * testsuite/newlib.locale: Likewise.
6487 * testsuite/newlib.string: Likewise.
6488 * testsuite/config/default.exp: New file.
6489 * testsuite/lib/checkoutput.exp: New file.
6490 * testsuite/lib/newlib.exp: New file.
6491 * testsuite/lib/passfail.exp: New file.
6492 * testsuite/newlib.locale/UTF-8.c: New file.
6493 * testsuite/newlib.locale/UTF-8.exp: New file.
6494 * testsuite/newlib.locale/locale.exp: New file.
6495 * testsuite/newlib.string/string.exp: New file.
6496 * testsuite/newlib.string/tstring.c: New file.
6497
6498 2002-04-23 Jeff Johnston <jjohnstn@redhat.com>
6499
6500 * libc/include/machine/types.h (__pid_t, __off_t, __loff_t): Added.
6501 * libc/sys/linux/Makefile.am: Add support for mmap.c.
6502 * libc/sys/linux/Makefile.in: Regenerated.
6503 * libc/sys/linux/mmap.c: New file.
6504 * libc/sys/linux/machine/i386/syscall.h: Add _syscall6 macro.
6505 * libc/sys/linux/sys/types.h (pid_t, off_t, loff_t): Added.
6506
6507 2002-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
6508
6509 * acinclude.m4 (newlib_cflags): Remove include directories that
6510 are already specified in the top-level configure.in's FLAGS_FOR_TARGET.
6511
6512 2002-04-19 Bill Siegmund <ctc-dsl@pacbell.net>
6513
6514 * libc/machine/xscale/memchr.c: Don't use multi-line strings.
6515 * libc/machine/xscale/memcmp.c: Ditto.
6516 * libc/machine/xscale/memcpy.c: Ditto.
6517 * libc/machine/xscale/memmove.c: Ditto.
6518 * libc/machine/xscale/memset.c: Ditto.
6519 * libc/machine/xscale/strchr.c: Ditto.
6520 * libc/machine/xscale/strcmp.c: Ditto.
6521 * libc/machine/xscale/strcpy.c: Ditto.
6522 * libc/machine/xscale/strlen.c: Ditto.
6523
6524 2002-04-19 Alexandre Oliva <aoliva@redhat.com>
6525
6526 * libc/include/sys/config.h: Remove include of <limits.h>.
6527 (__INT_MAX__, __LONG_MAX__): Define like GCC's limits.h would
6528 define INT_MAX and LONG_MAX. Use them in tests.
6529
6530 2002-04-19 Jeff Johnston <jjohnstn@redhat.com>
6531
6532 * configure.host: Add support for powerpc-eabialtivec*.
6533 * libc/include/malloc.h: Add include of <machine/malloc.h>.
6534 * libc/include/stdlib.h: Add include of <machine/stdlib.h>.
6535 * libc/include/machine/malloc.h: New file.
6536 * libc/include/machine/stdlib.h: Ditto.
6537 * libc/include/machine/setjmp.h: Add support for powerpc altivec.
6538 * libc/machine/powerpc/Makefile.am: Add conditional objects and
6539 sources based on configuration.
6540 * libc/machine/powerpc/Makefile.in: Regenerated.
6541 * libc/machine/powerpc/configure: Ditto.
6542 * libc/machine/powerpc/configure.in: Add check for
6543 powerpc-eabialtivec* in which case add in additional source files.
6544 * libc/machine/powerpc/setjmp.S: Add altivec support.
6545 * libc/machine/powerpc/vec_calloc.c: New file.
6546 * libc/machine/powerpc/vec_free.c: Ditto.
6547 * libc/machine/powerpc/vec_malloc.c: Ditto.
6548 * libc/machine/powerpc/vec_mallocr.c: Ditto.
6549 * libc/machine/powerpc/vec_realloc.c: Ditto.
6550 * libc/machine/powerpc/machine/malloc.h: Ditto.
6551 * libc/machine/powerpc/machine/stdlib.h: Ditto.
6552 * libc/machine/powerpc/vfprintf.c: New file that is vfprintf.c
6553 with added altivec format specifiers.
6554 * libc/machine/powerpc/vfscanf.c: New file that is vfscanf.c with
6555 added altivec format specifiers.
6556
6557 2002-04-19 Joel Sherrill <joel@OARcorp.com>
6558
6559 * libs/sys/rtems/crt0.c: Satisfy gcc's references to libc functions
6560 while autoconf is trying to link main(){}.
6561
6562 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
6563
6564 * libc/sys/linux/signal.c: Remove include of <bits/sigset.h>.
6565 * libc/sys/linux/sys/signal.h: Add include of <bits/sigset.h>.
6566
6567 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
6568
6569 * libc/time/time.tex: Add tzset info.
6570
6571 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
6572
6573 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
6574 (strptime): Moved prototype to be within !__STRICT_ANSI__.
6575 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
6576 (tzname): Defined for all platforms.
6577 (daylight, timezone): Defined only for CYGWIN.
6578 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
6579 environment set up.
6580 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
6581 environment variable is set.
6582 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
6583 tzset_r.c.
6584 * libc/time/Makefile.in: Regenerated.
6585 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
6586 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
6587 * libc/time/lcltime_r.c (lcltime_r): Ditto.
6588 * libc/time/local.h: New local header file.
6589 * libc/time/mktime.c (mktime): Add timezone support.
6590 * libc/time/mktm_r.c: New file which is the common engine
6591 for gmtime_r and lcltime_r. This code has timezone support.
6592 * libc/time/strftime.c (strftime): Add %Z timezone support.
6593 * libc/time/tzlock.c: New file containing timezone lock stubs.
6594 * libc/time/tzset.c: New file containing tzset() routine.
6595 * libc/time/tzset_r.c: New file containing _tzset_r and
6596 internal routine for calculating timezone changes for specified year.
6597
6598 2002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
6599
6600 * configure.in (CRT0_DIR): Set to libc/.
6601 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
6602 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
6603 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
6604 $(CRT1_DIR)/$(CRT1).
6605 * libc/machine/xstormy16/Makefile.in: Regenerated.
6606 * libc/machine/xstormy16/aclocal.m4: Regenerated.
6607 * libc/machine/xstormy16/configure: Regenerated.
6608
6609 2002-04-13 Alexandre Oliva <aoliva@redhat.com>
6610
6611 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
6612 fails, don't bail out, and try to correct next time.
6613
6614 * libc/include/sys/config.h: Include limits.h.
6615
6616 2002-04-12 Eric Norum <eric.norum@usask.com>
6617
6618 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
6619 routine to allow autoconf to determine that building executables
6620 for rtems works.
6621 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
6622 (rtems_gxx_mutex_once): Ditto.
6623
6624 2002-04-09 Tom Rix <trix@redhat.com>
6625
6626 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
6627
6628 2002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
6629
6630 * libc/include/time.h: Fix strptime declaration.
6631 * libc/time/Makefile.am: Add strptime.c.
6632 * libc/time/Makefile.in: Regenerated.
6633 * libc/time/strptime.c: New file.
6634
6635 2002-04-08 Jeff Johnston <jjohnstn@redhat.com>
6636
6637 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
6638 siglongjmp prototype, and sigsetjmp macro definition.
6639 * libc/sys/linux/siglongjmp.c: New file.
6640 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
6641 * libc/sys/linux/Makefile.in: Regenerated.
6642
6643 2002-04-04 Jeff Johnston <jjohnstn@redhat.com>
6644
6645 * Makefile.am: Add support for installing crt1.o if one exists.
6646 * configure.host: Specify crt1.o for linux.
6647 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
6648 * Makefile.in: Regenerated.
6649 * configure: Ditto.
6650 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
6651 Added for non-Cygwin, non-RTEMS configurations.
6652 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
6653 * libc/sys/linux/Makefile.in: Regenerated.
6654 * libc/sys/linux/crt1.c: New empty file to override one defaulted
6655 by gcc. This fixes problem with reconfiguring linux newlib build.
6656 * libc/sys/linux/sysconf.c: New file.
6657
6658 2002-04-03 Jeff Johnston <jjohnstn@redhat.com>
6659
6660 * configure.host: Add support for machine subdirectory of
6661 sys subdirectory.
6662 * configure.in: Add check for sys machine subdirectory.
6663 * Makefile.am: Ditto.
6664 * configure: Regenerated.
6665 * Makefile.in: Ditto.
6666 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
6667 * libc/sys/linux/sys/syscall.h: Ditto.
6668 * libc/sys/linux/sleep.c: New file.
6669 * libc/sys/linux/socket.c: Ditto.
6670 * libc/sys/linux/sockops.h: Ditto.
6671 * libc/sys/linux/stack.c: Ditto.
6672 * libc/sys/linux/usleep.c: Ditto.
6673 * libc/sys/linux/machine/Makefile.am: Ditto.
6674 * libc/sys/linux/machine/Makefile.in: Ditto.
6675 * libc/sys/linux/machine/aclocal.m4: Ditto.
6676 * libc/sys/linux/machine/configure: Ditto.
6677 * libc/sys/linux/machine/configure.in: Ditto.
6678 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
6679 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
6680 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
6681 * libc/sys/linux/machine/i386/configure: Ditto.
6682 * libc/sys/linux/machine/i386/configure.in: Ditto.
6683 * libc/sys/linux/machine/i386/crt0.c: Ditto.
6684 * libc/sys/linux/machine/i386/sigset.c: Ditto.
6685 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
6686 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
6687 * libc/sys/linux/machine/i386/syscall.h: Ditto.
6688 * libc/sys/linux/sys/select.h: Ditto.
6689 * libc/sys/linux/configure.in: Add support for machine directory.
6690 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
6691 * libc/sys/linux/Makefile.in: Regenerated.
6692 * libc/sys/linux/configure: Ditto.
6693 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
6694 * libc/sys/linux/inode.c: Ditto.
6695 * libc/sys/linux/linux.c: Ditto.
6696 * libc/sys/linux/process.c: Ditto.
6697 * libc/sys/linux/systat.c: Ditto.
6698 * libc/sys/linux/time.c: Ditto.
6699 * libc/sys/linux/wait.c: Ditto.
6700 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
6701 * libc/sys/linux/io.c: Change header plus add readv/writev.
6702 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
6703 use __sigsuspend syscall.
6704 * libc/sys/linux/select.c: Change header plus change select to
6705 use _newselect syscall.
6706 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
6707 used by glibc header files.
6708 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
6709 types.
6710
6711 2002-04-01 Jeff Johnston <jjohnstn@redhat.com>
6712
6713 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
6714 initializing a struct _reent that has been dynamically allocated.
6715 (_REENT_CHECK_MISC): New macro that checks _misc struct for
6716 _REENT_SMALL and does nothing otherwise.
6717 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
6718 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
6719 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
6720 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
6721 [_REENT_SMALL](struct _misc_reent): New structure containing
6722 miscellaneous reentrant areas needed by newlib.
6723 [_REENT_SMALL](struct _reent): Add _misc pointer.
6724 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
6725 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
6726 and _REENT_STRTOK_LAST macros.
6727 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
6728 and _REENT_MBLEN_STATE macros.
6729 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
6730 and _REENT_MBTOWC_STATE macros.
6731 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
6732 and _REENT_WCTOMB_STATE macros.
6733
6734 2002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
6735
6736 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
6737
6738 Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
6739
6740 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
6741
6742 Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
6743
6744 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
6745 Store high part of leading bytes too.
6746
6747 2002-03-22 Richard Sandiford <rsandifo@redhat.com>
6748
6749 * libm/math/ef_hypot.c: Increase scale factor to 68.
6750
6751 2002-03-13 Alexandre Oliva <aoliva@redhat.com>
6752
6753 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
6754 error.
6755
6756 2002-03-12 Jeff Johnston <jjohnstn@redhat.com>
6757
6758 * libc/sys/go32/access.c: Change license to relaxed license
6759 used in identical file throughout newlib/libgloss.
6760
6761 2002-03-12 Richard Earnshaw <rearnsha@arm.com>
6762
6763 * libc/sys/arm/access.c: New file.
6764 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
6765 * libc/sys/arm/Makefile.in: Regenerate.
6766 * libc/sys/arm/syscalls.c (_stat): New function.
6767
6768 2002-03-11 Michael Meissner <meissner@redhat.com>
6769
6770 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
6771 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
6772 * libc/machine/mips/Makefile.in: Regenerate.
6773 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
6774 * libc/machine/mips/memset.c: Dito.
6775 * libc/machine/mips/strcmp.c: Dito.
6776 * libc/machine/mips/strlen.c: Dito.
6777 * libc/machine/mips/strncmp.c: Dito.
6778
6779 2002-03-06 Jeff Johnston <jjohnstn@redhat.com>
6780
6781 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
6782 object so it works for shared library or statici library.
6783 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
6784
6785 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
6786 (strptime): Moved prototype to be within !__STRICT_ANSI__.
6787 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
6788 (tzname): Defined for all platforms.
6789 (daylight, timezone): Defined only for CYGWIN.
6790 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
6791 environment set up.
6792 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
6793 environment variable is set.
6794 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
6795 tzset_r.c.
6796 * libc/time/Makefile.in: Regenerated.
6797 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
6798 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
6799 * libc/time/lcltime_r.c (lcltime_r): Ditto.
6800 * libc/time/local.h: New local header file.
6801 * libc/time/mktime.c (mktime): Add timezone support.
6802 * libc/time/mktm_r.c: New file which is the common engine
6803 for gmtime_r and lcltime_r. This code has timezone support.
6804 * libc/time/strftime.c (strftime): Add %Z timezone support.
6805 * libc/time/tzlock.c: New file containing timezone lock stubs.
6806 * libc/time/tzset.c: New file containing tzset() routine.
6807 * libc/time/tzset_r.c: New file containing _tzset_r and
6808 internal routine for calculating timezone changes for specified year.
6809
6810 2002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
6811
6812 * configure.in (CRT0_DIR): Set to libc/.
6813 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
6814 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
6815 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
6816 $(CRT1_DIR)/$(CRT1).
6817 * libc/machine/xstormy16/Makefile.in: Regenerated.
6818 * libc/machine/xstormy16/aclocal.m4: Regenerated.
6819 * libc/machine/xstormy16/configure: Regenerated.
6820
6821 2002-04-13 Alexandre Oliva <aoliva@redhat.com>
6822
6823 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
6824 fails, don't bail out, and try to correct next time.
6825
6826 * libc/include/sys/config.h: Include limits.h.
6827
6828 2002-04-12 Eric Norum <eric.norum@usask.com>
6829
6830 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
6831 routine to allow autoconf to determine that building executables
6832 for rtems works.
6833 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
6834 (rtems_gxx_mutex_once): Ditto.
6835
6836 2002-04-09 Tom Rix <trix@redhat.com>
6837
6838 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
6839
6840 2002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
6841
6842 * libc/include/time.h: Fix strptime declaration.
6843 * libc/time/Makefile.am: Add strptime.c.
6844 * libc/time/Makefile.in: Regenerated.
6845 * libc/time/strptime.c: New file.
6846
6847 2002-04-08 Jeff Johnston <jjohnstn@redhat.com>
6848
6849 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
6850 siglongjmp prototype, and sigsetjmp macro definition.
6851 * libc/sys/linux/siglongjmp.c: New file.
6852 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
6853 * libc/sys/linux/Makefile.in: Regenerated.
6854
6855 2002-04-04 Jeff Johnston <jjohnstn@redhat.com>
6856
6857 * Makefile.am: Add support for installing crt1.o if one exists.
6858 * configure.host: Specify crt1.o for linux.
6859 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
6860 * Makefile.in: Regenerated.
6861 * configure: Ditto.
6862 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
6863 Added for non-Cygwin, non-RTEMS configurations.
6864 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
6865 * libc/sys/linux/Makefile.in: Regenerated.
6866 * libc/sys/linux/crt1.c: New empty file to override one defaulted
6867 by gcc. This fixes problem with reconfiguring linux newlib build.
6868 * libc/sys/linux/sysconf.c: New file.
6869
6870 2002-04-03 Jeff Johnston <jjohnstn@redhat.com>
6871
6872 * configure.host: Add support for machine subdirectory of
6873 sys subdirectory.
6874 * configure.in: Add check for sys machine subdirectory.
6875 * Makefile.am: Ditto.
6876 * configure: Regenerated.
6877 * Makefile.in: Ditto.
6878 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
6879 * libc/sys/linux/sys/syscall.h: Ditto.
6880 * libc/sys/linux/sleep.c: New file.
6881 * libc/sys/linux/socket.c: Ditto.
6882 * libc/sys/linux/sockops.h: Ditto.
6883 * libc/sys/linux/stack.c: Ditto.
6884 * libc/sys/linux/usleep.c: Ditto.
6885 * libc/sys/linux/machine/Makefile.am: Ditto.
6886 * libc/sys/linux/machine/Makefile.in: Ditto.
6887 * libc/sys/linux/machine/aclocal.m4: Ditto.
6888 * libc/sys/linux/machine/configure: Ditto.
6889 * libc/sys/linux/machine/configure.in: Ditto.
6890 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
6891 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
6892 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
6893 * libc/sys/linux/machine/i386/configure: Ditto.
6894 * libc/sys/linux/machine/i386/configure.in: Ditto.
6895 * libc/sys/linux/machine/i386/crt0.c: Ditto.
6896 * libc/sys/linux/machine/i386/sigset.c: Ditto.
6897 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
6898 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
6899 * libc/sys/linux/machine/i386/syscall.h: Ditto.
6900 * libc/sys/linux/sys/select.h: Ditto.
6901 * libc/sys/linux/configure.in: Add support for machine directory.
6902 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
6903 * libc/sys/linux/Makefile.in: Regenerated.
6904 * libc/sys/linux/configure: Ditto.
6905 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
6906 * libc/sys/linux/inode.c: Ditto.
6907 * libc/sys/linux/linux.c: Ditto.
6908 * libc/sys/linux/process.c: Ditto.
6909 * libc/sys/linux/systat.c: Ditto.
6910 * libc/sys/linux/time.c: Ditto.
6911 * libc/sys/linux/wait.c: Ditto.
6912 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
6913 * libc/sys/linux/io.c: Change header plus add readv/writev.
6914 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
6915 use __sigsuspend syscall.
6916 * libc/sys/linux/select.c: Change header plus change select to
6917 use _newselect syscall.
6918 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
6919 used by glibc header files.
6920 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
6921 types.
6922
6923 2002-04-01 Jeff Johnston <jjohnstn@redhat.com>
6924
6925 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
6926 initializing a struct _reent that has been dynamically allocated.
6927 (_REENT_CHECK_MISC): New macro that checks _misc struct for
6928 _REENT_SMALL and does nothing otherwise.
6929 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
6930 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
6931 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
6932 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
6933 [_REENT_SMALL](struct _misc_reent): New structure containing
6934 miscellaneous reentrant areas needed by newlib.
6935 [_REENT_SMALL](struct _reent): Add _misc pointer.
6936 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
6937 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
6938 and _REENT_STRTOK_LAST macros.
6939 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
6940 and _REENT_MBLEN_STATE macros.
6941 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
6942 and _REENT_MBTOWC_STATE macros.
6943 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
6944 and _REENT_WCTOMB_STATE macros.
6945
6946 2002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
6947
6948 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
6949
6950 Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
6951
6952 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
6953
6954 Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
6955
6956 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
6957 Store high part of leading bytes too.
6958
6959 2002-03-22 Richard Sandiford <rsandifo@redhat.com>
6960
6961 * libm/math/ef_hypot.c: Increase scale factor to 68.
6962
6963 2002-03-13 Alexandre Oliva <aoliva@redhat.com>
6964
6965 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
6966 error.
6967
6968 2002-03-12 Jeff Johnston <jjohnstn@redhat.com>
6969
6970 * libc/sys/go32/access.c: Change license to relaxed license
6971 used in identical file throughout newlib/libgloss.
6972
6973 2002-03-12 Richard Earnshaw <rearnsha@arm.com>
6974
6975 * libc/sys/arm/access.c: New file.
6976 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
6977 * libc/sys/arm/Makefile.in: Regenerate.
6978 * libc/sys/arm/syscalls.c (_stat): New function.
6979
6980 2002-03-11 Michael Meissner <meissner@redhat.com>
6981
6982 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
6983 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
6984 * libc/machine/mips/Makefile.in: Regenerate.
6985 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
6986 * libc/machine/mips/memset.c: Dito.
6987 * libc/machine/mips/strcmp.c: Dito.
6988 * libc/machine/mips/strlen.c: Dito.
6989 * libc/machine/mips/strncmp.c: Dito.
6990
6991 2002-03-06 Jeff Johnston <jjohnstn@redhat.com>
6992
6993 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
6994 object so it works for shared library or statici library.
6995 * libc/machine/i386/Makefile.in: Regenerated.
6996
6997 Wed Mar 6 10:24:26 2002 J"orn Rennecke <joern.rennecke@superh.com>
6998
6999 * libc/machine/sh/Makefile.am (lib_a_SOURCES, SH64 case):
7000 Add memcpy.S, memset.S and strcpy.S.
7001 * libc/machine/sh/Makefile.in: Regenerate.
7002 * libc/machine/sh/asm.h (_ENTRY): Set SH5 alignment to 8 bytes.
7003 (SHHI, SHLO): Define.
7004 * libc/machine/sh/memset.S: Add code for SH5.
7005 * libc/machine/sh/memset.S: Likewise.
7006 * libc/machine/sh/strcpy.S: Likewise.
7007
7008 2002-02-27 Jeff Johnston <jjohnstn@redhat.com>
7009
7010 * configure.host: Add check for --disable-newlib-io-float
7011 configuration option and add -DNO_FLOATING_POINT to newlib cflags
7012 if appropriate.
7013 * acinclude.m4: Added --disable-newlib-io-float option.
7014 * aclocal.m4: Regenerated.
7015 * configure: Ditto.
7016 * doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
7017 * libc/*/aclocal.m4 libc/*/configure
7018 * libm/*/aclocal.m4 libm/*/configure: Ditto.
7019 * libc/stdio/vfprintf.c [!INTEGER_ONLY]: Only set FLOATING_POINT
7020 if NO_FLOATING_POINT flag is not defined.
7021
7022 2002-02-25 Jeff Johnston <jjohnstn@redhat.com>
7023
7024 * libc/include/sys/config.h: Add __extension__ in front of
7025 long long references.
7026
7027 2002-02-23 Corinna Vinschen <corinna@vinschen.de>
7028
7029 * libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin.
7030 (_stat): Ditto.
7031
7032 2002-02-23 Corinna Vinschen <corinna@vinschen.de>
7033
7034 * libc/sys/cygwin/sys/dirent.h (struct __DIR): Use __off32_t instead
7035 of off_t.
7036
7037 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
7038
7039 * libc/machine/xscale/strchr.c (strchr): Add 'r1' to the list of
7040 clobbered registers.
7041
7042 2002-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
7043
7044 * configure.host (newlib_cflags): When host is in m68* add
7045 -DCOMPACT_CTYPE.
7046
7047 2002-02-15 Jeff Johnston <jjohnstn@redhat.com>
7048
7049 * libc/include/sys/config.h: Add definitions for
7050 __int16_t, __uint16_t, __int64_t, and __uint64_t.
7051
7052 2002-02-12 Hans-Peter Nilsson <hp@bitrange.com>
7053
7054 * libc/sys/mmixware/link.c: New.
7055 * libc/sys/mmixware/sys/syscall.h (TRAP1i, I3f): Make asm
7056 volatile.
7057 * libc/sys/mmixware/times.c (_times): Renamed from times.
7058 * libc/sys/mmixware/open.c (_open): Attempt to handle O_APPEND
7059 properly by reading previous contents, not through BinaryReadWrite.
7060 * libc/sys/mmixware/Makefile.am (lib_a_SOURCES): Add link.c
7061 * libc/sys/mmixware/Makefile.in: Regenerate.
7062
7063 2002-02-10 Corinna Vinschen <corinna@vinschen.de>
7064
7065 * libc/include/grp.h: Don't declare group functions when compiling
7066 Cygwin.
7067
7068 2002-02-09 Corinna Vinschen <corinna@vinschen.de>
7069
7070 * libc/include/grp.h: Include Cygwin specific header.
7071 * libc/include/sys/stat.h: Ditto. Don't define `struct stat'
7072 when compiling for Cygwin.
7073 * libc/include/sys/types.h: Don't define off_t, uid_t
7074 and gid_t when compiling for Cygwin.
7075
7076 2002-02-08 matthew green <mrg@redhat.com>
7077
7078 * libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): Allocate
7079 _REENT_EMERGENCY_SIZE, not sizeof(char *).
7080
7081 2002-02-08 Alexandre Oliva <aoliva@redhat.com>
7082
7083 Contribute sh64-elf.
7084 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
7085 * configure.host (newlib_cflags) [sh*-*-*]: Enable long long
7086 support in printf.
7087 2001-01-29 Alexandre Oliva <aoliva@redhat.com>
7088 * libc/machine/sh/setjmp.S [SH5]: Switch to SHmedia mode before
7089 any labels.
7090 2001-01-24 Alexandre Oliva <aoliva@redhat.com>
7091 * libc/sys/sh/trap.S (___trap34) [SH5]: Don't trash r2.
7092 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
7093 * libc/machine/sh/configure.in: Rework conditionals.
7094 * libc/machine/sh/Makefile.am: Likewise.
7095 * libc/machine/sh/configure, libc/machine/sh/Makefile.in: Rebuilt.
7096 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
7097 * configure.host: Match `sh*'.
7098 * libc/include/machine/setjmp.h: Define for SH5.
7099 * libc/machine/sh/configure.in: Detect SH5.
7100 * libc/machine/sh/configure: Rebuilt.
7101 * libc/machine/sh/Makefile.am: Use only setjmp.S for SH5.
7102 * libc/machine/sh/Makefile.in: Rebuilt.
7103 * libc/machine/sh/asm.h: Adjust for SH5.
7104 * libc/machine/sh/setjmp.S: Implement in SHmedia.
7105 * libc/sys/sh/crt0.S: Likewise.
7106 * libc/sys/sh/trap.S: Likewise.
7107
7108 2002-02-07 Jeff Johnston <jjohnstn@redhat.com>
7109
7110 * libc/machine/i386/Makefile.am: (mach_add_src): Remove.
7111 (mach_add_obj): Conditionally set to setjmp.o or nothing.
7112 (LIB_SOURCES): Remove $(mach_add_src).
7113 (lib_a_LIBADD, lib_a_DEPENDENCIES): Add and set to $(mach_add_src).
7114 (lib_la_LIBADD, lib_la_DEPENDENCIES): Ditto.
7115 * libc/machine/i386/Makefile.in: Regenerate.
7116
7117 2002-02-05 Manik Raina <manik@cisco.com>
7118
7119 * libc/misc/dprintf.c (parse_number): #if 0 unused function.
7120 * libc/stdlib/ldtoa.c (_ldcheck): Remove unused local variables
7121 s, p, k, and outstr.
7122 * libc/stdlib/dtoa.c (_dtoa_r): Initialize mlo.
7123
7124 2002-02-04 Jeff Johnston <jjohnstn@redhat.com>
7125
7126 * libc/include/sys/reent.h [(!_REENT_SMALL]: Add
7127 _REENT_CHECK_EMERGENCY macro.
7128
7129 2002-02-03 matthew green <mrg@redhat.com>
7130
7131 * libc/reent/signgam.c (__signgam): Fix error in previous.
7132
7133 2002-02-02 matthew green <mrg@redhat.com>
7134
7135 * libc/include/sys/config.h (_REENT_SMALL): Define for Xstormy16.
7136
7137 * libc/reent/reent.c (_reclaim_reent): Clean for _REENT_SMALL case.
7138 * libc/reent/reent.tex: Add blurb about _REENT_SMALL.
7139 * libc/include/sys/reent.h (struct _reent): Completely new version
7140 for _REENT_SMALL.
7141 (_REENT_INIT): New defines, different defintion depending on _REENT_SMALL.
7142 (_REENT_CHECK, _REENT_CHECK_TM): Likewise.
7143 (_REENT_CHECK_ASCTIME_BUF, _REENT_INIT_RAND48): Likewise.
7144 (_REENT_CHECK_RAND48, _REENT_INIT_MP, _REENT_CHECK_MP): Likewise.
7145 (_REENT_CHECK_EMERGENCY, _REENT_SIGNGAM, _REENT_RAND_NEXT): Likewise.
7146 (_REENT_RAND48_SEED, _REENT_RAND48_MULT, _REENT_RAND48_ADD): Likewise.
7147 (_REENT_MP_RESULT, _REENT_MP_RESULT_K, _REENT_MP_P5S): Likewise.
7148 (_REENT_MP_FREELIST, _REENT_ASCTIME_BUF, _REENT_TM): Likewise.
7149 (_REENT_EMERGENCY): Likewise.
7150
7151 * libc/include/sys/reent.h (struct __sFILE_fake): New struct, same as
7152 the start of the real __sFILE, used for stdin, stdout and stderr until
7153 they are setup properly.
7154 (struct __sFILE): Move location of _data in _REENT_SMALL case.
7155 * libc/stdio/findfp.c (__sinit): Rearrange for _REENT_SMALL case by
7156 allocated stdin, stdout and stderr.
7157 * libc/stdio/getchar.c (_getchar_r): Call _REENT_SMALL_CHECK_INIT().
7158 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Likewise.
7159 * libc/stdio/perror.c (_perror_r): Likewise.
7160 * libc/stdio/printf.c (printf, _printf_r): Likewise.
7161 * libc/stdio/putchar.c (_putchar_r): Likewise.
7162 * libc/stdio/puts.c (_puts_r): Likewise.
7163 * libc/stdio/scanf.c (scanf, _scanf_r): Likewise.
7164 * libc/stdio/vprintf.c (vprintf): Likewise.
7165 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Likewise.
7166
7167 * libc/stdio/tmpnam.c (_tmpnam_r): Use _REENT_EMERGENCY().
7168
7169 * libc/reent/reent.c (_wrapup_reent): Adjust for _REENT_SMALL atexit.
7170 * libc/include/sys/reent.h (_atexit): Limit atexit() entries to 32
7171 for _REENT_SMALL.
7172 * libc/stdlib/atexit.c (atexit): Rearrange for _REENT_SMALL case.
7173 * libc/stdlib/exit.c (exit): Rearrange for _REENT_SMALL case.
7174
7175 * libc/include/sys/reent.h (struct _rand48): Keep _rand_next if
7176 _REENT_SMALL.
7177 * libc/stdlib/drand48.c (_drand48_r): Call _REENT_CHECK_RAND48().
7178 * libc/stdlib/lcong48.c (_lcong48_r): Likewise.
7179 * libc/stdlib/lrand48.c (_lrand48_r): Likewise.
7180 * libc/stdlib/mrand48.c (_mrand48_r): Likewise.
7181 * libc/stdlib/rand48.c (__dorand48): Likewise.
7182 * libc/stdlib/seed48.c (_seed48_r): Likewise.
7183 * libc/stdlib/srand48.c (_srand48_r): Likewise.
7184 * libc/stdlib/rand48.h (__rand48_seed, __rand48_mult, __rand48_add): Define
7185 as _REENT_RAND48_SEED(), _REENT_RAND48_MULT() and _REENT_RAND48_ADD().
7186 * libc/stdlib/dtoa.c (_dtoa_r): Call _REENT_CHECK_MP(). Use
7187 _REENT_MP_RESULT() and _REENT_MP_RESULT_K().
7188 * libc/stdlib/ldtoa.c (_ldtoa_r): Likewise.
7189 * libc/stdlib/rand.c (srand): Use _REENT_RAND_NEXT().
7190 * libc/stdlib/rand.c (rand): Likewise.
7191
7192 * libc/stdlib/mallocr.c (malloc_stats): Call _REENT_SMALL_CHECK_INIT().
7193 * libc/stdlib/mstats.c (_mstats_r): Call _REENT_SMALL_CHECK_INIT().
7194
7195 * libc/stdlib/mprec.c (Balloc): Call _REENT_CHECK_MP. Use
7196 _REENT_MP_FREELIST() and _REENT_MP_P5S.
7197 * libc/include/sys/reent.h (struct _mprec): New structure.
7198
7199 * libc/include/sys/reent.h (struct _reent): Rename _strtok_last to
7200 _unused_strtok_last.
7201 * libc/string/strtok.c (strtok): Use a local static variable.
7202
7203 * libc/include/sys/reent.h (_REENT_ASCTIME_SIZE): New define.
7204 (_REENT_EMERGENCY_SIZE): Likewise.
7205 * libc/time/asctime.c (asctime): Call _REENT_CHECK_ASCTIME_BUF(). Use
7206 _REENT_ASCTIME_BUF().
7207 * libc/time/lcltime.c (localtime): Call _REENT_CHECK_TM(). Use
7208 _REENT_TM().
7209
7210 * libc/include/math.h (__singam_r): Use _REENT_SIGNGAM().
7211 * libc/reent/signgam.c (__signgam): Use _REENT_SIGNGAM().
7212 * libm/math/w_gamma.c (gamma): Use _REENT_SIGNGAM().
7213 * libm/math/w_lgamma.c (lgamma): Use _REENT_SIGNGAM().
7214 * libm/math/wf_gamma.c (gammaf): Use _REENT_SIGNGAM().
7215 * libm/math/wf_lgamma.c (lgammaf): Use _REENT_SIGNGAM().
7216
7217 2002-02-01 Geoffrey Keating <geoffk@redhat.com>
7218
7219 * configure.host (xstormy16): Don't use the generic malloc.
7220 * libc/machine/xstormy16/Makefile.am: Build tiny-malloc.
7221 * libc/machine/xstormy16/Makefile.in: Regenerate.
7222 * libc/machine/xstormy16/mallocr.c: New file.
7223 * libc/machine/xstormy16/tiny-malloc.c: New file.
7224
7225 2002-01-28 Thomas Fitzsimmons <fitzsim@redhat.com>
7226
7227 * libc/include/sys/signal.h [__CYGWIN__]: Issue error message
7228 when _CYGWIN_TYPES_H is not defined.
7229
7230 2002-01-24 Thomas Fitzsimmons <fitzsim@redhat.com>
7231
7232 * libc/include/sys/signal.h: Revert 2002-01-23 change.
7233
7234 2002-01-23 Thomas Fitzsimmons <fitzsim@redhat.com>
7235
7236 * libc/include/sys/signal.h: Remove pthread_kill declaration
7237 when __CYGWIN__ is defined.
7238
7239 2002-01-18 Mark Bradshaw <bradshaw@staff.crosswalk.com>
7240
7241 * libc/include/time.h: Add prototype for strptime for Cygwin.
7242
7243 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
7244
7245 * libc/machine/xscale/memset.c (memset): Fix bug when len == 1 and
7246 dst was not word aligned.
7247
7248 * libc/sys/arm/syscalls.c (_sbrk): Return -1 rather than aborting
7249 if too much memory is requested.
7250
7251 2002-01-11 Jeff Johnston <jjohnstn@redhat.com>
7252
7253 * libc/stdio/vfscanf.c (__svfscanf_r): Change loop that
7254 reads blanks from the input file to break if EOF reached
7255 rather than end processing.
7256
7257 2002-01-07 Jeff Johnston <jjohnstn@redhat.com>
7258
7259 * MAINTAINERS: Change e-mail addresses to refer to redhat domain.
7260
7261 2002-01-07 Alan Matsuoka <alanm@redhat.com>
7262
7263 * libc/include/machine/ieeefp.h: Configure d10v doubles to
7264 be 32 bits if __DOUBLE__ == 32 otherwise doubles are 64 bits.
7265 libc/include/sys/config.h: Ditto.
7266
7267 2001-12-28 Corinna Vinschen <corinna@vinschen.de>
7268
7269 * libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE.
7270
7271 2001-12-22 Geoffrey Keating <geoffk@redhat.com>
7272 Catherine Moore <clm@redhat.com>
7273 Richard Henderson <rth@redhat.com>
7274 Corinna Vinschen <vinschen@redhat.com>
7275
7276 * configure.host: Add support for xstormy16.
7277 * libc/include/machine/ieeefp.h: Add support for xstormy16.
7278 * libc/include/machine/setjmp.h: Add support for xstormy16.
7279 * libc/include/sys/config.h: Add support for xstormy16.
7280 * libc/machine/xstormy16/Makefile.am: New file.
7281 * libc/machine/xstormy16/Makefile.in: New file.
7282 * libc/machine/xstormy16/aclocal.m4: New file.
7283 * libc/machine/xstormy16/configure: New file.
7284 * libc/machine/xstormy16/configure.in: New file.
7285 * libc/machine/xstormy16/setjmp.S: New file.
7286
7287 2001-12-19 Thomas Fitzsimmons <fitzsim@redhat.com>
7288
7289 * libm/machine/configure.in (HAVE_LIBM_MACHINE_DIR): New conditional.
7290 * libm/machine/Makefile.am [HAVE_LIBM_MACHINE_DIR] (LIBM_MACHLIB): New variable.
7291
7292 2001-12-19 Corinna Vinschen <corinna@vinschen.de>
7293
7294 * libm/machine/Makefile.am: Change rules to create correct lib.a.
7295 * libm/machine/Makefile.in: Regenerated through automake.
7296
7297 2001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
7298
7299 * Makefile.am (DOCDIR): Force to empty string when doc
7300 directory is not present.
7301
7302 2001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
7303
7304 * libc/machine/i386/f_*: Move to libm/machine/i386.
7305
7306 2001-12-18 Joel Sherrill <joel@OARcorp.com>
7307
7308 * libm/machine/Makefile.am: Add dummy doc stub so
7309 "make info" works.
7310
7311 2001-12-17 Joel Sherrill <joel@OARcorp.com>
7312
7313 * libc/include/sys/types.h (ino_t): RTEMS uses long also.
7314
7315 2001-12-17 Thomas Fitzsimmons <fitzsim@redhat.com>
7316
7317 * libc/stdlib/Makefile.am (LIB_COMPILE): Change to equal
7318 $(COMPILE) rather than $(CC).
7319 * libc/stdio/Makefile.am (LIB_COMPILE): Likewise.
7320 (vfprintf.$(oext)): Remove $(INCLUDES), made redundant by
7321 $(LIB_COMPILE) change.
7322 (vfiprintf.$(oext)): Likewise.
7323
7324 2001-12-17 Corinna Vinschen <vinschen@redhat.de>
7325
7326 * libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allow
7327 conditionalized including of getopt stuff.
7328
7329 2001-12-14 Thomas Fitzsimmons <fitzsim@redhat.com>
7330
7331 * libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) to
7332 compile line.
7333 (vfiprintf.$(oext)): Likewise.
7334
7335 2001-12-13 Thomas Fitzsimmons <fitzsim@redhat.com>
7336
7337 * Makefile.shared: New file.
7338 * libc/sys/linux/shared.ld: New file.
7339 * libm/machine/*: New files.
7340 * libm/machine/i386/*: New files.
7341 * Makefile.am: Add libtool support. Change math and mathfp
7342 references to variables.
7343 * configure.host: Add variables for libtool support. Add
7344 libm_machine_dir variable.
7345 * configure.in: Add objectlist variables, for libtool
7346 support. Add CC_FOR_BUILD tests.
7347 * libc/Makefile.am: Add libtool support. Change crt0.o
7348 reference to be a variable reference.
7349 * libc/configure.in: Add libtool support. Change sublib
7350 names to be lib${subdir}.la when using libtool.
7351 * libc/ctype/Makefile.am: Add libtool support.
7352 * libc/errno/Makefile.am: Likewise.
7353 * libc/locale/Makefile.am: Likewise.
7354 * libc/machine/Makefile.am: Likewise.
7355 * libc/machine/configure.in: Likewise.
7356 * libc/machine/i386/Makefile.am: Likewise.
7357 * libc/machine/i386/configure.in: Likewise.
7358 * libc/misc/Makefile.am: Likewise.
7359 * libc/posix/Makefile.am: Likewise.
7360 * libc/reent/Makefile.am: Likewise.
7361 * libc/signal/Makefile.am: Likewise.
7362 * libc/stdio/Makefile.am: Likewise.
7363 * libc/stdlib/Makefile.am: Likewise.
7364 * libc/string/Makefile.am: Likewise.
7365 * libc/sys/Makefile.am: Likewise.
7366 * libc/sys/configure.in: Likewise.
7367 * libc/sys/linux/Makefile.am: Add libtool support. Change
7368 awk reference to a variable reference. Change signal.h
7369 reference to a variable reference.
7370 * libc/sys/linux/configure.in: Add libtool support.
7371 * libc/syscalls/Makefile.am: Likewise.
7372 * libc/time/Makefile.am: Likewise.
7373 * libc/unix/Makefile.am: Likewise.
7374 * libm/Makefile.am: Add libtool support. Change math and
7375 mathfp references to variables.
7376 * libm/configure.in: Add libtool support. Add
7377 LIBM_MACHINE_LIB variable.
7378 * libm/common/Makefile.am: Add libtool support.
7379 * libm/math/Makefile.am: Likewise.
7380 * libm/mathfp/Makefile.am: Likewise.
7381 Regenerate all Makefile.in, aclocal.m4, and configure.
7382
7383 2001-12-13 Anita Kulkarni <anitak@kpit.com>
7384
7385 * libc/sys/sh/crt0.S: Remove stack symbol definition 0xdeaddead.
7386
7387 2001-12-06 John Peacock <jpeacock@rowman.com>
7388
7389 * libc/include/sys/unistd.h: Correct ualarm declaration.
7390
7391 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
7392
7393 * libc/sys/arm/crt0.S: For __USES_INITFINI__ preserve the argument
7394 vector before calling the initialisation functions.
7395
7396 2001-11-29 Christopher Faylor <cgf@redhat.com>
7397
7398 * libc/include/dirent.h: Protect against multiple inclusion.
7399
7400 2001-11-27 Christopher Faylor <cgf@redhat.com>
7401
7402 * libc/include/sys/types.h: Define useconds_t.
7403 * libc/include/sys/ulimit.h: Declare ualarm.
7404
7405 2001-11-21 Christopher Faylor <cgf@redhat.com>
7406
7407 * libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.
7408
7409 2001-11-19 Hans-Peter Nilsson <hp@bitrange.com>
7410
7411 * libc/sys/mmixware/*: Tweak license header in all source files.
7412
7413 2001-11-12 Corinna Vinschen <vinschen@redhat.com>
7414
7415 * libc/include/alloca.h: Move libc/sys/linux/include/alloca.h
7416 to here. Rearrange for general inclusion by stdlib.h.
7417 * libc/include/stdlib.h: Include <alloca.h> if __STRICT_ANSI__
7418 isn't defined.
7419 * libc/sys/linux/include/alloca.h: Move to libc/include.
7420
7421 2001-11-12 Anthony Green <green@redhat.com>
7422
7423 * libc/sys/arm/crt0.S (__stack_base__): New symbol.
7424
7425 2001-11-13 Hans-Peter Nilsson <hp@bitrange.com>
7426
7427 * libc/sys/mmixware/*: Correct spacing in all source files.
7428 * libc/sys/mmixware/syscall.h: Move misplaced file...
7429 * libc/sys/mmixware/sys/syscall.h: ...here.
7430
7431 2001-11-12 Hans-Peter Nilsson <hp@bitrange.com>
7432
7433 * libc/include/machine/ieeefp.h: Add support for mmix target.
7434 * libc/include/machine/setjmp.h: Ditto.
7435 * configure.host: Ditto.
7436 * libc/sys/mmixware/Makefile.am, libc/sys/mmixware/_exit.c,
7437 libc/sys/mmixware/access.c, libc/sys/mmixware/aclocal.m4,
7438 libc/sys/mmixware/chmod.c, libc/sys/mmixware/chown.c,
7439 libc/sys/mmixware/close.c, libc/sys/mmixware/configure.in,
7440 libc/sys/mmixware/creat.c, libc/sys/mmixware/crt0.c,
7441 libc/sys/mmixware/execv.c, libc/sys/mmixware/execve.c,
7442 libc/sys/mmixware/fork.c, libc/sys/mmixware/fstat.c,
7443 libc/sys/mmixware/getpid.c, libc/sys/mmixware/gettime.c,
7444 libc/sys/mmixware/isatty.c, libc/sys/mmixware/kill.c,
7445 libc/sys/mmixware/lseek.c, libc/sys/mmixware/open.c,
7446 libc/sys/mmixware/pipe.c, libc/sys/mmixware/read.c,
7447 libc/sys/mmixware/sbrk.c, libc/sys/mmixware/setjmp.S,
7448 libc/sys/mmixware/stat.c, libc/sys/mmixware/sys/syscall.h,
7449 libc/sys/mmixware/time.c, libc/sys/mmixware/times.c,
7450 libc/sys/mmixware/unlink.c, libc/sys/mmixware/utime.c,
7451 libc/sys/mmixware/wait.c, libc/sys/mmixware/write.c: New files.
7452 * libc/sys/mmixware/configure, libc/sys/mmixware/Makefile.in,
7453 libc/sys/mmixware/aclocal.m4: Generate.
7454
7455 2001-11-05 Corinna Vinschen <corinna@vinschen.de>
7456
7457 * libc/include/sys/unistd.h: Add prototypes for endusershell(),
7458 getusershell(), iruserok(), revoke(), ruserok() and setusershell()
7459 when __CYGWIN__ is defined.
7460 * libc/sys/cygwin/sys/utmp.h: Add prototypes for login_tty() and
7461 logwtmp().
7462
7463 2001-11-01 Arati Dikey <aratidikey@hotmail.com>
7464
7465 * libm/mathfp/sf_isinf.c (isinff): Change to use _DEFUN macro.
7466 [_DOUBLE_IS_32BITS](isinf): New function that calls isinff.
7467 * libm/mathfp/sf_isnan.c (isnanf): Change to use _DEFUN macro.
7468 [_DOUBLE_IS_32BITS](isnan): New function that calls isnanf.
7469
7470 2001-10-24 Christopher Faylor <cgf@redhat.com>
7471
7472 * libc/stdio/fseek.c: Reset pointer to buffer base
7473 when forced to seek outside of current buffer contents.
7474 This prevents the code from erroneously thinking there is
7475 anything in the current buffer.
7476
7477 2001-10-22 Geoffrey Keating <geoffk@redhat.com>
7478
7479 * libc/include/math.h: The C++ standard adds the single-precision
7480 versions of the elementary functions.
7481
7482 2001-10-22 Christopher Faylor <cgf@redhat.com>
7483
7484 * libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations
7485 throughout.
7486 * signal.h: Change comment to reflect __CYGWIN__ rather than __CYGWIN32__.
7487 * popen.c (popen): Use __CYGWIN_ rather than __CYGWIN32__.
7488 * system.c (_system_r): Ditto.
7489
7490 2001-10-17 Corinna Vinschen <corinna@vinschen.de>
7491
7492 * libc/include/sys/unistd.h: Add prototype for fchdir() when
7493 __CYGWIN__ or __rtems__ is defined.
7494
7495 2001-10-01 Charles Wilson <cwilson@ece.gatech.edu>
7496
7497 * libc/include/stdlib.h: add declarations for
7498 _strtoull_r, _strtoll_r, strtoull, and strtoll.
7499 * libc/stdio/local.h: remove declarations of
7500 __strtoull_r and __strtoll_r.
7501 * libc/stdio/vfscanf.c(__svfscanf_r): call
7502 _strtoull_r instead of __strtoull_r. Ditto
7503 _strtoll_r vs. __strtoll_r.
7504 * libc/stdlib/Makefile.am: add new files to
7505 .c list and .def list
7506 * libc/stdlib/Makefile.in: regenerate
7507 * libc/stdlib/strtoll_r.c: rename __strtoll_r
7508 as _strtoll_r
7509 * libc/stdlib/strtoull_r.c: rename __strtoull_r
7510 as _strtoull_r
7511 * libc/stdlib/strtoull.c: new file
7512 * libc/stdlib/strtoll.c: new file
7513
7514 Mon Sep 17 17:29:47 2001 Christopher Faylor <cgf@cygnus.com>
7515
7516 * libc/include/process.h: Add getpid() declaration.
7517
7518 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
7519
7520 * libc/sys/arm/crt0.S: Add calls to _init and _fini (via atexit)
7521 for new style arm/elf ctor/dtor handling.
7522 Minor formatting tidy up.
7523
7524 2001-09-13 Jeff Johnston <jjohnstn@redhat.com>
7525
7526 * libc/stdlib/Makefile.am: Add support to build strtoll_r.c
7527 and strtoull_r.c.
7528 * libc/stdlib/Makefile.in: Regenerated.
7529 * libc/stdlib/strtoll_r.c: New file.
7530 * libc/stdlib/strtoull_r.c: New file.
7531 * libc/stdio/local.h: Add prototypes for long long string
7532 conversion routines.
7533 * libc/stdio/vfscanf.c (__svfscanf_r): Add optional long long support
7534 tied to %L integer conversion specifier.
7535
7536 Thu Sep 13 08:49:49 2001 Jason Tishler <jason@tishler.net>
7537
7538 * strftime.c (strftime): Fix "%W" implementation to properly handle
7539 Mondays too.
7540
7541 2001-09-07 Jeff Law <law@redhat.com>
7542
7543 * libc/sys/h8300hms/crt0.S: For H8/300H and H8/S, load address of
7544 __fini with "mov.l" instead of "mov.w".
7545
7546 2001-09-05 Corinna Vinschen <corinna@vinschen.de>
7547
7548 * libc/sys/cygwin/include/unistd.h: New file, wrapping sys/unistd.h
7549 and getopt.h.
7550
7551 2001-09-04 Jason Merrill <jason_merrill@redhat.com>
7552
7553 * libc/sys/h8300hms/crt0.S: Support ELF initialization.
7554
7555 2001-09-03 Corinna Vinschen <corinna@vinschen.de>
7556
7557 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number
7558 field.
7559 (__DIRENT_VERSION): New define.
7560
7561 2001-09-03 Corinna Vinschen <corinna@vinschen.de>
7562
7563 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add `d_fd' member.
7564 Shrink __d_reserved accordingly to keep structure size.
7565 (dirfd): Declare external.
7566
7567 2001-08-29 Joel Sherrill <joel@OARcorp.com>
7568
7569 * libc/include/sys/unistd.h: Prototype chroot() for RTEMS.
7570
7571 2001-08-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
7572
7573 * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S,
7574 libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c,
7575 libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S,
7576 libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S,
7577 libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S,
7578 libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S,
7579 libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c,
7580 libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S:
7581 Add conditional compilation to avoid HW FPU instructions
7582 when compiled for soft-float.
7583
7584 2001-08-29 Jeff Johnston <jjohnstn@redhat.com>
7585
7586 * Makefile.am: Add check for ln failing when creating libg.a
7587 so that cp gets used as a backup.
7588 * Makefile.in: Regenerated.
7589
7590 2001-08-29 Jeff Johnston <jjohnstn@redhat.com>
7591
7592 * libc/include/sys/reent.h: Add include of <sys/_types.h>.
7593 No longer include time.h. Add struct __tm to use for
7594 _localtime_buf in the reentrant structure. Add a
7595 _NULL definition to use in initializing the reentrant struct.
7596 * libc/include/sys/config.h: For CYGWIN32 and RTEMS, change
7597 the _READ_WRITE_RETURN_TYPE to _ssize_t which is found in
7598 <sys/_types.h>.
7599 * libc/include/sys/unistd.h: Include <sys/_types.h>.
7600 * libc/time/lcltime.c (localtime): Cast the reentrant struct
7601 _localtime_buf to be struct tm *.
7602
7603 Wed Aug 29 14:17:38 2001 J"orn Rennecke <amylaar@redhat.com>
7604
7605 * configure.host (h8300-*-elf*, h8500-*-elf*): New cases.
7606 * libc/sys/h8300hms/crt1.c (__main): Don't reference __ctors /
7607 __ctors_end.
7608 * libc/sys/h8300hms/syscalls.c: Include errno.h.
7609 (_unlink): New stub function.
7610
7611 Sat Aug 25 22:22:25 2001 Christopher Faylor <cgf@cygnus.com>
7612
7613 * libc/include/sys/errno.h: Add a cautionary comment.
7614
7615 2001-08-21 Jeff Johnston <jjohnstn@redhat.com>
7616
7617 * libc/stdlib/mallocr.c [!defined(MALLOC_ALIGNMENT)]: Add conditional
7618 for SIZE_SZ so that alignment ends up a minimum of 8.
7619
7620 Mon Aug 13 22:26:01 2001 Christopher Faylor <cgf@cygnus.com>
7621
7622 * libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro
7623 arguments.
7624
7625 * libc/include/sys/errno.h: Declare sys_errlist and sys_nerr, under
7626 Cygwin.
7627
7628 2001-08-13 Jeff Johnston <jjohnstn@redhat.com>
7629
7630 * libc/include/malloc.h (M_MXFAST, M_NLBLKS, M_GRAIN, M_KEEP): New
7631 macro constants for mallopt options.
7632 (M_TRIM_THRESHOLD, M_TOP_PAD, M_MMAP_THRESHOLD, M_MMAP_MAX): Ditto.
7633
7634 2001-08-02 Jeff Johnston <jjohnstn@redhat.com>
7635
7636 * libc/include/stdio.h (BUFSIZ): Define to __BUFSIZ__ if provided,
7637 otherwise default.
7638
7639 2001-07-12 Aldy Hernandez <aldyh@redhat.com>
7640
7641 * libc/machine/mips/setjmp.S: Allow mips16 and mips64 to coexist.
7642
7643 2001-06-27 Nick Clifton <nickc@cambridge.redhat.com>
7644
7645 * libc/include/machine/ieeefp.h (__IEEE_BYTES_LITTLE_ENDIAN):
7646 Define for little endian ARMs.
7647
7648 * libc/stdlib/mprec.h (Storeinc): Use little endian version if
7649 __IEEE_BYTES_LITTLE_ENDIAN is defined.
7650
7651 2001-06-11 Danny Smith <dannysmith@users.sourceforge.net>
7652
7653 * /libc/include/ctype.h (is* and to* macros): Do not define if C++.
7654
7655 2001-06-11 Egor Duda <deo@logos-m.ru>
7656
7657 * libc/ctype/ctype_.c: When compiled with gcc on platforms
7658 with signed char, make _ctype_[-128] ... _ctype[-1] refer to
7659 initialized memory region. Platform can define COMPACT_CTYPE
7660 to avoid allocation of the additional 128 bytes of data.
7661 Add pointer to _ctype_ array. Always initialize all _ctype_
7662 array elements.
7663
7664 2001-06-08 Jonathan Larmour <jlarmour@redhat.com>
7665
7666 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencing
7667 NULL pointer.
7668
7669 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
7670
7671 * libc/stdio/vfprintf.c (_VFPRINTF_R): Handle printf ("%#.0o",0)
7672
7673 2001-05-25 Nick Clifton <nickc@cambridge.redhat.com>
7674
7675 * libc/machine/xscale/memcmp.c: Fix bug when both pointers have
7676 matching, non-word alignment, and the length is <= 4 but more than
7677 enough to move them over a word boundary.
7678 Add comments explaining what each instruction does.
7679
7680 Mon May 7 20:39:25 2001 Christopher Faylor <cgf@cygnus.com>
7681
7682 * libc/include/sys/stat.h: Revert March 3, Cygwin change.
7683 * libc/include/sys/unistd.h: Ditto.
7684
7685 2001-05-04 Earnie Boyd <earnie@users.sourceforge.net>
7686
7687 * libc/string/strrchr.c: Use strchr for the speed improvements.
7688
7689 2001-05-01 Jeff Johnston <jjohnstn@redhat.com>
7690
7691 * libc/stdio/findfp (__sinit)[HAVE_FCNTL]: For platforms that have
7692 real file systems, let __smakebuf() determine if line buffering
7693 should be used for stdout.
7694
7695 2001-04-27 Jeff Johnston <jjohnstn@redhat.com>
7696
7697 * libc/stdio/vfscanf.c (__svfscanf_r): Initialize new_exp local var.
7698
7699 2001-04-27 Jeff Johnston <jjohnstn@redhat.com>
7700
7701 * libc/include/stdlib.h: Add prototype for _strtod_r.
7702
7703 2001-04-24 Charles Wilson <cwilson@ece.gatech.edu
7704
7705 * libc/stdio/vprintf.c (vprintf): fix signature to use _DEFUN
7706 * libc/stdio/vprintf.c (_vprintf_r): new function
7707 * libc/stdio/vsnprintf.c (vsnprintf): fix signature to use _DEFUN
7708 * libc/stdio/vsnprintf.c (_vsnprintf_r): fix signature to use
7709 _DEFUN, and call _vfprintf_r, not vfprintf.
7710 * libc/stdio/vsprintf.c (vsprintf.c): fix signature to use _DEFUN
7711 * libc/stdio/vsprintf.c (_vsprintf_r): fix signature to use
7712 _DEFUN, and call _vfprintf_r, not vfprintf.
7713
7714 2001-04-22 Earnie Boyd <earnie@users.sourceforge.net>
7715
7716 * libc/include/sys/unistd.h [X_OK]: Use better protection against
7717 Cygwin X_OK definitions in sys/file.h.
7718
7719 Fri Apr 20 23:17:51 2001 Christopher Faylor <cgf@cygnus.com>
7720
7721 * libc/include/sys/time.h: Define timercmp and other macros for
7722 __CYGWIN__, too.
7723
7724 2001-04-20 Jeff Johnston <jjohnstn@redhat.com>
7725
7726 * acinclude.m4: Added --enable-malloc-debugging configure flag.
7727 * configure.host: For Cygwin specify -DMALLOC_PROVIDED if
7728 --enable-malloc-debugging selected.
7729 * aclocal.m4 configure: Regenerated.
7730 libm/aclocal.m4 libm/configure: Ditto.
7731 * libc/aclocal.m4 libc/configure: Ditto.
7732 * libc/machine/aclocal.m4 libc/machine/configure: Ditto.
7733 * libc/machine/*/aclocal.m4 libc/machine/*/configure: Ditto.
7734 * libc/sys/aclocal.m4 libc/sys/configure: Ditto.
7735 * libc/sys/*/aclocal.m4 libc/sys/*/configure: Ditto.
7736 * doc/aclocal.m4 doc/configure: Ditto.
7737
7738 2001-04-20 Jeff Johnston <jjohnstn@redhat.com>
7739
7740 * libc/include/stdio.h[!_REENT_ONLY]: Moved various functions together
7741 into one list.
7742 [!__STRICT_ANSI__]: Moved non-ANSI I/O functions in this list.
7743 (vfscanf, vscanf, vsscanf, _vfscanf_r, _vscanf_r, _vsscanf_r): New
7744 function prototypes.
7745 (_fscanf_r, _sscanf_r): Ditto.
7746 * libc/include/stdlib.h: Added _strtod_r prototype.
7747 * libc/stdio/Makefile.am: Add new v*scanf functions.
7748 * libc/stdio/Makefile.in: Regenerate.
7749 * libc/stdio/fscanf.c: Reorganized so HAVE_STDC only affects prototype
7750 and code is shared. Added reentrant _fscanf_r which calls __svfscanf_r.
7751 * libc/stdio/scanf.c: Changed to call __svfscanf_r.
7752 * libc/stdio/sscanf.c: Changed documentation to add reentrant routines.
7753 (sscanf): Changed to call __svfscanf_r with _REENT argument.
7754 (_sscanf_r): New routine.
7755 * libc/stdio/local.h: Removed __svfscanf prototype and replaced it
7756 with __svfscanf_r prototype.
7757 * libc/stdio/vfscanf.c (vfscanf, _vfscanf_r: New
7758 routines.
7759 (__svfscanf_r): Reentrant version of __svfscanf which takes reetrancy
7760 structure as argument as calls reentrant versions of helper functions
7761 (e.g. _strtol_r, _strtoul_r). Also replaced calls to atol and atof
7762 to _strtol_r and _strtod_r respectively.
7763 * libc/stdio/vfscanf.c: Also changed __svfscanf to call __svfscanf_r.
7764 * libc/stdlib/strtod.c (strtod): Changed to call _strtod_r with
7765 _REENT argument.
7766 * libc/stdio/vscanf.c: New file.
7767 * libc/stdio/vsscanf.c: Ditto.
7768
7769 2001-04-19 Robert Collins <rbtcollins@hotmail.com>
7770
7771 * include/time.h[__CYGWIN__]: Define tzname to _tzname if not defined.
7772 Define daylight to _daylight if it is not defined
7773 Prepare a variable export of timezone based on timezonevariable.
7774 (Cannot be used with the timezone() function.)
7775
7776 2001-04-17 Stephen L. Moshier <moshier@moshier.ne.mediaone.net>
7777
7778 * newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi):
7779 Correct the numerical values.
7780
7781 2001-04-13 Robert Collins <rbtcollins@hotmail.com>
7782
7783 * libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only).
7784
7785 Thu Apr 12 23:11:00 2001 Corinna Vinschen <corinna@vinschen.de>
7786
7787 * libc/include/sys/errno.h: Add ECASECLASH to indicate case clash
7788 on case insensitve file systems.
7789
7790 2001-04-12 Robert Collins <rbtcollins@hotmail.com>
7791
7792 * libc/include/sys/features.h: Add appropriate defines for Cygwin
7793 pthread support.
7794 * libc/include/sys/signal.h: Remove unneeded __CYGWIN__ protection.
7795 * libc/include/sys/types.h: Protect __CYGWIN__ from the rtems pthreads
7796 types. Include <cygwin/types.h> for the cygwin specific typedefs.
7797
7798 2001-04-04 Richard Sandiford <rsandifo@redhat.com>
7799
7800 * libc/include/machine/ieeefp.h: Comment about new configuration
7801 macros _FLT_LARGEST_EXPONENT_IS_NORMAL and _FLT_NO_DENORMALS.
7802 * libm/common/fdlib.h: Define new macros for testing floats.
7803 * libm/common/sf_*: Use them.
7804 * libm/math/ef_*: Likewise.
7805 * libm/math/sf_*: Likewise.
7806
7807 2001-03-29 Jeff Johnston <jjohnstn@redhat.com>
7808
7809 * libc/sys/arm/setjmp.S: Added .code 16 specifier for thumb-mode
7810 prolog to by-pass possible assembler error.
7811
7812 2001-03-21 Egor Duda <deo@logos-m.ru>
7813
7814 Allow building internal stubs for non-reentrant syscalls
7815 if target provides its own malloc
7816 * libc/reent/reent.c (errno): Move definition here.
7817 * libc/reent/sbrkr.c: From here.
7818
7819 2001-03-20 Danny Smith <dannysmith@users.sourceforge.net>
7820
7821 * libc/include/sys/types.h (BSD int typedefs): Guard with
7822 _BSDTYPES_DEFINED rather than _WINSOCK_H.
7823 (fd_set): Add !defined __USE_W32_SOCKETS to guard; define
7824 _SYS_TYPES_FD_SET.
7825 * libc/include/sys/unistd.h (gethostname): Don't declare if defined
7826 (_WINSOCK_H) || defined (__USE_W32_SOCKETS).
7827
7828 Sat Mar 17 18:30:00 2001 Corinna Vinschen <corinna@vinschen.de>
7829
7830 * libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS and
7831 _PC_POSIX_SECURITY constants for Cygwin.
7832
7833 Wed Mar 14 9:34:00 2001 Corinna Vinschen <corinna@vinschen.de>
7834
7835 * libc/sys/cygwin/crt0.c: Add copyright hint.
7836 * libc/sys/cygwin/sys/dirent.h: Ditto.
7837 * libc/sys/cygwin/sys/param.h: Ditto.
7838 * libc/sys/cygwin/sys/utime.h: Ditto.
7839 * libc/sys/cygwin/sys/utmp.h: Ditto.
7840
7841 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
7842
7843 * libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make it
7844 equivalent to LONGINT.
7845
7846 2001-03-08 Richard Sandiford <rsandifo@redhat.com>
7847
7848 * (libc/include/machine/setjmp.h): Use 23 long long ints for a
7849 jmpbuf on MIPS64 targets.
7850 * (libc/machine/mips/setjmp.S): Add MIPS64 version.
7851
7852 Wed Mar 7 16:02:07 2001 Christopher Faylor <cgf@cygnus.com>
7853
7854 * libc/include/sys/config.h: Use ssize_t for Cygwin read/write
7855 declarations.
7856
7857 Mon Mar 5 21:48:54 2001 J"orn Rennecke <amylaar@redhat.com>
7858
7859 * libc/include/sys/config.h (_READ_WRITE_RETURN_TYPE): Define.
7860 For RTEMS, define to be ssize_t. Default to int if not defined.
7861 * libc/stdio/sscanf.c (eofread): Return _READ_WRITE_RETURN_TYPE.
7862 * libc/stdio/stdio.c (__sread, __swrite): Likewise.
7863 * libc/stdio/local.h (__sread, __swrite): Likewise.
7864 * libc/include/sys/reent.h (_read, _write): Likewise.
7865 * libc/include/sys/unistd.h (read, write, _read, _write): Likewise.
7866 * libc/syscalls/sysread.c (read): Likewise.
7867 * libc/syscalls/syswrite.c (write): Likewise.
7868
7869 2001-03-05 Jeff Johnston <jjohnstn@redhat.com>
7870
7871 * libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants.
7872
7873 Sat Mar 3 00:34:14 2001 Christopher Faylor <cgf@cygnus.com>
7874
7875 * libc/include/sys/stat.h: Use special defines for executable stat bits
7876 when compiling for Cygwin.
7877 * libc/include/sys/unistd.h: Use special define for X_OK when compiling
7878 for Cygwin.
7879
7880 2001-03-02 Jeff Johnston <jjohnstn@redhat.com>
7881
7882 * libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype
7883 of strtok_r is always defined.
7884
7885 2001-03-02 Jeff Johnston <jjohnstn@redhat.com>
7886
7887 * libc/include/machine/ansi.h: New dummy header file.
7888
7889 2001-02-22 Jeff Johnston <jjohnstn@redhat.com>
7890
7891 * libc/include/machine/setjmp-dj.h: With DJ Delorie's permission,
7892 changed the copyright information to allow free modification of the
7893 file with no reference to "copying.dj".
7894 * libc/include/sys/stat-dj.h: Ditto.
7895 * libc/machine/i386/setjmp.S: Ditto.
7896 * libc/sys/h8300hms/sys/file.h: Ditto.
7897 * libc/sys/sysmec/access.c: Ditto.
7898 * libc/sys/sysnecv850/access.c: Ditto.
7899 * libc/stdio/mktemp.c: Fixed typo for the word copyright.
7900 * libc/stdlib/getenv_r.c: Ditto.
7901 * libc/stdlib/putenv_r.c: Ditto.
7902 * libc/stdlib/setenv_r.c: Ditto.
7903 * libc/stdlib/getenv.c: Removed DJ reference since any possible
7904 modifications will now be in the _r version of this file.
7905 * libc/stdlib/putenv.c: Ditto.
7906 * libc/stdlib/setenv.c: Ditto.
7907 * libc/sys/go32/copying.dj: Removed DJ's address which is no longer
7908 valid. Added a reference to DJ's web page that contains his address.
7909 * libc/sys/go32/*.s: Removed references to DJ's old address.
7910 * libc/sys/go32/*.c: Ditto.
7911 * libc/sys/go32/*.h: Ditto.
7912 * libc/sys/go32/*.S: Ditto.
7913 * libc/sys/go32/sys/*.h: Ditto.
7914
7915 2001-02-21 Jeff Johnston <jjohnstn@redhat.com>
7916
7917 * libc/stdio/fdopen.c (fdopen): Protect calls to _fcntl() with
7918 HAVE_FCNTL flag check.
7919 * configure.host: Define HAVE_FCNTL for Cygwin, go32, RTEMS, sparc64,
7920 powerpcle, x86 netware, x86 sco, x86 Linux and Vxworks.
7921
7922 Thu Feb 15 01:39:51 2001 Christopher Faylor <cgf@cygnus.com>
7923
7924 * libc/include/sys/signal.h: Always include sys/types.h under Cygwin.
7925
7926 2001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
7927
7928 * libc/include/stdlib.h: Add declarations of rand48 functions and
7929 their reentrant versions.
7930 * libc/include/sys/reent.h: Move macros from rand48.h. Add
7931 struct _rand48 for shared parameters of rand48 functions.
7932 (struct _reent): Add a variable _r48 of struct _rand48.
7933 (_REENT_INIT): Add _r48 initialization.
7934 * libc/stdlib/Makefile.am (lib_a_SOURCES): Add rand48 functions.
7935 (CHEWOUT_FILES): Add rand48.def.
7936 * libc/stdlib/Makefile.am: Add dependencies for rand48 functions.
7937 * libc/stdlib/Makefile.in: Regenerated.
7938 * libc/stdlib/drand48.c (drand48, _drand48_r): Derived from the
7939 NetBSD C library.
7940 * libc/stdlib/erand48.c (erand48, _erand48_r): Ditto.
7941 * libc/stdlib/jrand48.c (jrand48, _jrand48_r): Ditto.
7942 * libc/stdlib/lcong48.c (lcong48, _lcong48_r): Ditto.
7943 * libc/stdlib/lrand48.c (lrand48, _lrand48_r): Ditto.
7944 * libc/stdlib/mrand48.c (mrand48, _mrand48_r): Ditto.
7945 * libc/stdlib/nrand48.c (nrand48, _nrand48_r): Ditto.
7946 * libc/stdlib/seed48.c (seed48, _seed48_r): Ditto.
7947 * libc/stdlib/srand48.c (srand48, _srand48_r): Ditto.
7948 * libc/stdlib/rand48.c (__dorand48): Ditto.
7949 * libc/stdlib/rand48.h: Ditto, and modify declarations of global
7950 parameters into macros referring them in the reentrant structure.
7951
7952 2001-02-12 Jeff Johnston <jjohnstn@redhat.com>
7953
7954 * libc/include/sys/stat.h: Add mknod for Cygwin now that
7955 Cygwin definition has correct prototype.
7956
7957 2001-02-08 Jeff Johnston <jjohnstn@redhat.com>
7958
7959 * libc/include/sys/stat.h: Must revert change for mknod
7960 for CYGWIN until winsup/cygwin/syscalls.cc changes mknod
7961 prototype.
7962
7963 2001-02-08 Jeff Johnston <jjohnstn@redhat.com>
7964
7965 * libc/include/stdio.h: Revert putw prototype.
7966
7967 2001-02-08 Edward M. Lee <tailbert@yahoo.com>
7968
7969 * libc/include/grp.h: add prototype for initgroups.
7970 * libc/include/stdio.h: fix prototype for putw.
7971 * libc/include/sys/signal.h: add prototype for killpg.
7972 * libc/include/sys/stat.h: enable mknod/lstat for CYGWIN.
7973 * libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp,
7974 vhangup and remove duplicate sysconf prototype.
7975
7976 2001-02-07 Jeff Johnston <jjohnstn@redhat.com>
7977
7978 * libc/sys/rtems/sys/types.h: Removed.
7979
7980 2001-02-05 Charles Wilson <cwilson@ece.gatech.edu>
7981
7982 * libc/include/locale.h: add LC_MESSAGES definition
7983
7984 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
7985
7986 * libc/sys/sh/sys/syscall.h (SYS_get_argc, SYS_get_argN_len,
7987 SYS_get_argN):
7988 * libc/sys/sh/syscalls.c (__setup_argv_for_main,
7989 __setup_argv_and_call_main): New.
7990
7991 2001-01-31 Jeff Johnston <jjohnstn@redhat.com>
7992
7993 * libc/include/stdio.h (FILENAME_MAX): Changed to use __FILENAME_MAX__
7994 if defined.
7995 (FOPEN_MAX): Changed to use __FOPEN_MAX__ if defined.
7996 (L_tmpnam): Changed to use __L_tmpnam__ if defined.
7997 * libc/include/sys/config.h: Changed to set __FILENAME_MAX__
7998 appropriately for Cygwin and RTEMS so not to exceed PATH_MAX.
7999
8000 Mon Jan 29 23:03:06 2001 Christopher Faylor <cgf@cygnus.com>
8001
8002 * libc/stdlib/mallocr.c: Undefine windows preprocessor variables when
8003 compiling under Cygwin.
8004
8005 2001-01-29 Jeff Johnston <jjohnstn@redhat.com>
8006
8007 * libc/include/math.h (signgam): Change to errno-like solution
8008 using a function to return the address of the real signgam.
8009 * libc/reent/signgam.c: New file containing __signgam().
8010 * libc/reent/Makefile.am: Added signgam.c to list of files.
8011 * libc/reent/Makefile.in: Regenerated.
8012
8013 2001-01-25 Alexandre Oliva <aoliva@redhat.com>
8014
8015 * libc/sys/sh/syscalls.c (_times): New.
8016
8017 * configure.host (sh*-*-*): Add -DHAVE_GETTIMEOFDAY to newlib_cflags.
8018 * libc/sys/sh/syscalls.c (_gettimeofday): New.
8019
8020 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
8021
8022 * libc/include/math.h (signgam): Regress previous fix as
8023 it does not handle programs with extern int signgam in them.
8024
8025 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
8026
8027 * libc/include/math.h (signgam): Changed to a macro refering to
8028 its location in the reentrant structure.
8029
8030 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
8031
8032 * libc/stdio/vfprintf.c (_VFPRINTF_R): Modification to fix
8033 that suppressed . for %.0f, 0.1. Check now looks if there
8034 are padding zeroes (expt) in addition to any digits (ndig) to
8035 print.
8036
8037 2001-01-18 Jeff Johnston <jjohnstn@redhat.com>
8038
8039 * libc/sys/arc/Makefile.am: New file.
8040 * libc/sys/arc/Makefile.in: Ditto.
8041 * libc/sys/arc/aclocal.m4: Ditto.
8042 * libc/sys/arc/configure: Ditto.
8043 * libc/sys/arc/configure.in: Ditto.
8044 * libc/sys/arc/crt0.S: Ditto.
8045 * libc/sys/arc/isatty.c: Ditto.
8046 * libc/sys/arc/mem-layout.c: Ditto.
8047 * libc/sys/arc/sbrk.c: Ditto.
8048 * libc/sys/arc/syscalls.c: Ditto.
8049 * libc/sys/arc/sys/syscall.h: Ditto.
8050
8051 Wed Jan 17 23:20:56 2001 Christopher Faylor <cgf@cygnus.com>
8052
8053 * libc/include/sys/unistd.h: Use correct declaration for setdtablesize.
8054
8055 Fri Jan 12 00:34:31 2001 Christopher Faylor <cgf@cygnus.com>
8056
8057 * libc/include/sys/signal.h: Add some SA_* defines for Cygwin.
8058
8059 Thu Jan 11 20:42:06 2001 Earnie Boyd <earnie_boyd@yahoo.com>
8060
8061 * libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__
8062
8063 2001-01-09 Nick Clifton <nickc@redhat.com>
8064
8065 * configure.host (v859): Remove unsupported compiler options.
8066
8067 Fri Jan 5 19:57:00 EST 2001 Aaron J. Grier <aaron@frye.com>
8068
8069 * src/newlib/configure.host (*-*-rtems*): add printf long long
8070 support for RTEMS.
8071
8072 2000-12-19 Graham Stott <grahams@redhat.com>
8073
8074 * libc/machine/xscale/memcmp.c (memcmp): Add clobber for "lr".
8075
8076 Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
8077
8078 * configure.host: Turn on long double I/O for Cygwin.
8079
8080 Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
8081
8082 * MAINTAINERS: Removed Ranjith.
8083 * NEWS: Updated for 1.9.0.
8084 * README: Updated.
8085 * acinclude.m4: Updated to release 1.9.0.
8086 * aclocal.m4 configure
8087 doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
8088 libc/machine/aclocal.m4 libc/machine/configure
8089 libc/machine/a29k/aclocal.m4 libc/machine/a29k/configure
8090 libc/machine/arm/aclocal.m4 libc/machine/arm/configure
8091 libc/machine/d10v/aclocal.m4 libc/machine/d10v/configure
8092 libc/machine/d30v/aclocal.m4 libc/machine/d30v/configure
8093 libc/machine/fr30/aclocal.m4 libc/machine/fr30/configure
8094 libc/machine/h8300/aclocal.m4 libc/machine/h8300/configure
8095 libc/machine/h8500/aclocal.m4 libc/machine/h8500/configure
8096 libc/machine/hppa/aclocal.m4 libc/machine/hppa/configure
8097 libc/machine/i386/aclocal.m4 libc/machine/i386/configure
8098 libc/machine/i960/aclocal.m4 libc/machine/i960/configure
8099 libc/machine/m32r/aclocal.m4 libc/machine/m32r/configure
8100 libc/machine/m68k/aclocal.m4 libc/machine/m68k/configure
8101 libc/machine/m88k/aclocal.m4 libc/machine/m88k/configure
8102 libc/machine/mips/aclocal.m4 libc/machine/mips/configure
8103 libc/machine/mn10200/aclocal.m4 libc/machine/mn10200/configure
8104 libc/machine/mn10300/aclocal.m4 libc/machine/mn10300/configure
8105 libc/machine/necv70/aclocal.m4 libc/machine/necv70/configure
8106 libc/machine/powerpc/aclocal.m4 libc/machine/powerpc/configure
8107 libc/machine/sh/aclocal.m4 libc/machine/sh/configure
8108 libc/machine/sparc/aclocal.m4 libc/machine/sparc/configure
8109 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
8110 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
8111 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
8112 libc/machine/xscale/aclocal.m4 libc/machine/xscale/configure
8113 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
8114 libc/sys/aclocal.m4 libc/sys/configure
8115 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
8116 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
8117 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
8118 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
8119 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
8120 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
8121 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
8122 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
8123 libc/sys/linux/aclocal.m4 libc/sys/linux/configure
8124 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
8125 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
8126 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
8127 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
8128 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
8129 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
8130 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
8131 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
8132 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
8133 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
8134 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
8135 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
8136 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
8137 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
8138 libm/aclocal.m4 libm/configure: Regenerated.
8139
8140 Wed Dec 13 11:52:00 2000 Corinna Vinschen <vinschen@cygnus.com>
8141
8142 * libc/include/sys/unistd.h: Add declarations for `chroot' and `getwd'
8143 when __CYGWIN__ is defined.
8144
8145 2000-12-13 Jeff Johnston <jjohnstn@redhat.com>
8146
8147 * libc/stdlib/ldtoa.c (_ldcheck): New routine
8148 that categorizes a long double as NaN, Infinity, or other.
8149 * libc/stdio/vfprintf.c [WANT_IO_LONG_DBL](_VFPRINTF_R): Removed
8150 isinfl and isnanl static routines which were i386-specific. Changed
8151 calls to the two removed routines to a single _ldcheck call.
8152 * libc/stdio/vfieeefp.h (ldieee): Fixed missing semi-colons.
8153
8154 2000-12-13 Jeff Johnston <jjohnstn@redhat.com>
8155
8156 * Makefile.am: Fixed install-data-local target to use
8157 $(mkinstalldirs) for the installed header files to ensure
8158 the directories exist before copying.
8159 * Makefile.in: Regenerated.
8160
8161 2000-12-12 Jeff Johnston <jjohnstn@redhat.com>
8162
8163 * libc/include/sys/unistd.h: Restored Cygwin _SC
8164 constants and moved new constants appropriately
8165 so Cygwin will build.
8166
8167 2000-12-11 Joel Sherrill <joel@OARcorp.com>
8168
8169 * Merge RTEMS specific .h files into main libc/include.
8170 * libc/sys/rtems/include/signal.h: Removed.
8171 * libc/sys/rtems/include/time.h: Removed.
8172 * libc/sys/rtems/sys/features.h: Removed.
8173 * libc/sys/rtems/sys/sched.h: Removed.
8174 * libc/sys/rtems/sys/siginfo.h: Removed.
8175 * libc/sys/rtems/sys/signal.h: Removed.
8176 * libc/sys/rtems/sys/time.h: Removed.
8177 * libc/sys/rtems/sys/times.h: Removed.
8178 definitions for time_t and clock_t since these are
8179 no longer in time.h.
8180 * libc/include/pthread.h: New file.
8181 * libc/include/sys/sched.h: New file.
8182 * libc/include/sys/features.h: New file.
8183 * libc/include/time.h: Removed duplicate definition of clock_t
8184 and time_t, get them from <sys/types.h> instead. Add prototypes
8185 for POSIX clock and timer functionality.
8186 * libc/sys/linux/sys/types.h: Changed to include
8187 * libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_.
8188 * libc/include/sys/signal.h: Add more complete set of POSIX
8189 signal functionality including real-time and threaded signals.
8190 * libc/include/sys/types.h: Add clock_t, time_t, struct
8191 timespec, and struct itimerspec. Centralizing these makes
8192 things cleaner. RTEMS uses 64-bit dev_t.
8193 Added numerous primitive definitions
8194 for pthreads including macros, pthread_attr_t,
8195 pthread_mutexattr_t, pthread_condattr_t, pthread_key_t,
8196 pthread_once_t, and pthread_t.
8197 * libc/include/sys/unistd.h: Added getlogin_r() prototype.
8198 If RTEMS follow POSIX on read(), write() and sbrk() prototype.
8199 Feature flags removed and moved to new file <sys/features.h>.
8200 Full set of POSIX sysconf() constants
8201
8202 2000-12-08 Werner Almesberger <Werner.Almesberger@epfl.ch>
8203
8204 * configure.host: Added x86 linux target.
8205 * libc/unix/getpass.c (_PATH_PASSWD, _PASSWORD_LEN): Default
8206 definitions provided if not already defined.
8207 * libc/sys/linux/crt0.c: New file.
8208 * libc/sys/linux/Makefile.am: Ditto.
8209 * libc/sys/linux/Makefile.in: Ditto.
8210 * libc/sys/linux/aclocal.m4: Ditto.
8211 * libc/sys/linux/brk.c: Ditto.
8212 * libc/sys/linux/configure: Ditto.
8213 * libc/sys/linux/configure.in: Ditto.
8214 * libc/sys/linux/getoptlong.c: Ditto.
8215 * libc/sys/linux/ids.c: Ditto.
8216 * libc/sys/linux/inode.c: Ditto.
8217 * libc/sys/linux/io.c: Ditto.
8218 * libc/sys/linux/linux.c: Ditto.
8219 * libc/sys/linux/process.c: Ditto.
8220 * libc/sys/linux/realpath.c: Ditto.
8221 * libc/sys/linux/select.c: Ditto.
8222 * libc/sys/linux/signal.c: Ditto.
8223 * libc/sys/linux/systat.c: Ditto.
8224 * libc/sys/linux/termios.c: Ditto.
8225 * libc/sys/linux/time.c: Ditto.
8226 * libc/sys/linux/wait.c: Ditto.
8227 * libc/sys/linux/include/alloca.h: Ditto.
8228 * libc/sys/linux/include/getopt.h: Ditto.
8229 * libc/sys/linux/include/stdint.h: Ditto.
8230 * libc/sys/linux/include/unistd.h: Ditto.
8231 * libc/sys/linux/sys/cdefs.h: Ditto.
8232 * libc/sys/linux/sys/dirent.h: Ditto.
8233 * libc/sys/linux/sys/errno.h: Ditto.
8234 * libc/sys/linux/sys/fcntl.h: Ditto.
8235 * libc/sys/linux/sys/file.h: Ditto.
8236 * libc/sys/linux/sys/ioctl.h: Ditto.
8237 * libc/sys/linux/sys/resource.h: Ditto.
8238 * libc/sys/linux/sys/signal.h: Ditto.
8239 * libc/sys/linux/sys/stat.h: Ditto.
8240 * libc/sys/linux/sys/syscall.h: Ditto.
8241 * libc/sys/linux/sys/termios.h: Ditto.
8242 * libc/sys/linux/sys/time.h: Ditto.
8243 * libc/sys/linux/sys/types.h: Ditto.
8244 * libc/sys/linux/sys/utmp.h: Ditto.
8245 * libc/sys/linux/sys/utsname.h: Ditto.
8246 * libc/sys/linux/sys/wait.h: Ditto.
8247
8248 2000-12-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
8249
8250 * Makefile.am: $(INSTALL), $(INSTALL_DATA), and $(INSTALL_PROGRAM)
8251 can be a relative path to $(top_srcdir)/install.sh so ensure the
8252 autoconf detected settings are properly passed recursively.
8253 Similarly, add AM_MAKEFLAGS to FLAGS_TO_PASS so they also get passed
8254 properly to subdirectories.
8255 * Makefile.in: Regenerated.
8256
8257 2000-12-07 Jay Kulpinski <jskulpin@eng01.gdds.com>
8258
8259 * libc/stdio/vfprintf.c: Minor modification to avoid requiring
8260 a floating point register unless really printing a floating
8261 point number.
8262
8263 2000-12-07 Jeff Johnston <jjohnstn@redhat.com>
8264
8265 * libc/stdlib/ldtoa.c: Removed include of alloca.h.
8266 Also removed \r's.
8267 (asctoeg): Replaced alloca call with stack array and malloc
8268 when storage exceeds reasonable limit.
8269 (e53toe): Fixed einfin calls missing ldp parameter.
8270 (eiisinf): Hide behind check for LDBL_MANT_DIG == 64.
8271
8272 2000-12-06 Jeff Johnston <jjohnstn@redhat.com>
8273
8274
8275 * libc/stdio/vfscanf.c: Fix typo for _NO_LONGDBL macro.
8276
8277 2000-12-06 Jeff Johnston <jjohnstn@redhat.com>
8278
8279 * libc/stdlib/Makefile.am: Added ldtoa.c to list of sources.
8280 * libc/stdlib/Makefile.in: Regenerated.
8281 * libc/stdio/floatio.h: Added suitable MAXEXP for long double.
8282 * libc/stdio/vfieeefp.h: Added long double bit structures.
8283 * libc/stdio/vfprintf.c[WANT_IO_LONG_DBL]: Added long double support.
8284 [WANT_IO_LONG_DBL](isinfl, isnanl): New static long double routines.
8285 (exponent): Changed expbuf to reasonable maximum instead of MAXEXP.
8286 * libc/stdio/vfscanf.c[WANT_IO_LONG_DBL]: Added long double support.
8287 * libc/stdlib/ldtoa.c: New file containing _ldtoa_r and
8288 _strtold routines used for conversions between character
8289 and long double.
8290
8291 Wed Dec 6 12:01:00 2000 Corinna Vinschen <vinschen@cygnus.com>
8292
8293 * libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'.
8294
8295 2000-12-04 Joel Sherrill <joel@OARcorp.com>
8296
8297 * libc/include/machine/time.h: RTEMS systems can configure clock
8298 tick rate so use sysconf() to ask.
8299
8300 2000-12-04 Joel Sherrill <joel@OARcorp.com>
8301
8302 * libc/include/sys/times.h: Add reference to POSIX standard.
8303
8304 2000-12-04 Joel Sherrill <joel@OARcorp.com>
8305
8306 * libc/include/sys/time.h: Added BSD timer manipulation macros
8307 used by RTEMS code.
8308
8309 2000-12-04 Joel Sherrill <joel@OARcorp.com>
8310
8311 * libc/sys/rtems/crt0.c: Add stubs for functions implicitly
8312 referenced by code generated by gcc 2.8.1.
8313 (a29k): Add stubs for V_SPILL, V_FILL, V_BSD_OS, V_EPI_OS to
8314 satisfy gcc.
8315
8316 2000-12-04 Joel Sherrill <joel@OARcorp.com>
8317
8318 * libc/stdlib/system.c: Avoid compiling do_system() for RTEMS.
8319
8320 2000-12-04 Joel Sherrill <joel@OARcorp.com>
8321
8322 * libc/include/ieeefp.h: Added entries for OpenCores CPUs.
8323
8324 2000-12-04 Joel Sherrill <joel@OARcorp.com>
8325
8326 * configure.host (or16, or32): New entries for OpenCores
8327 OpenRisc CPUs.
8328 (*-*-rtems*): Add -DNO_EXEC.
8329
8330 2000-12-04 Keith Outwater <vac4050@cae597.rsc.raytheon.com>
8331
8332 * libc/include/sys/errno.h: Added comments on many error numbers.
8333 * libc/string/strerror.c: Added some more strings.
8334
8335 2000-11-30 Jeff Johnston <jjohnstn@redhat.com>
8336
8337 * libc/sys/sh/syscalls.c (_link): New stub.
8338
8339 2000-11-29 Nick Clifton <nickc@redhat.com>
8340
8341 * configure.host: Add xscale target.
8342 * libc/machine/xscale: New directory.
8343 * libc/machine/xscale/Makefile.am: New file.
8344 * libc/machine/xscale/Makefile.in: New file.
8345 * libc/machine/xscale/aclocal.m4: New file.
8346 * libc/machine/xscale/configure: New file.
8347 * libc/machine/xscale/configure.in: New file.
8348 * libc/machine/xscale/memchr.S: New file.
8349 * libc/machine/xscale/memcmp.S: New file.
8350 * libc/machine/xscale/memcpy.S: New file.
8351 * libc/machine/xscale/memmove.S: New file.
8352 * libc/machine/xscale/memset.S: New file.
8353 * libc/machine/xscale/strchr.S: New file.
8354 * libc/machine/xscale/strcmp.S: New file.
8355 * libc/machine/xscale/strcpy.S: New file.
8356 * libc/machine/xscale/strlen.S: New file.
8357
8358 Sat Nov 25 11:24:00 2000 Corinna Vinschen <vinschen@cygnus.com>
8359
8360 * libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro to
8361 avoid compiler warnings.
8362
8363 2000-11-22 Michael Meissner <meissner@redhat.com>
8364
8365 * libc/posix/execl.c (execl): Don't reference environ directly,
8366 reference it only via a static pointer to avoid problems with some
8367 shared library systems and with different uses of small data where
8368 the user specifies his own version of environ.
8369 * libc/posix/execv.c (execv): Ditto.
8370 * libc/stdlib/getenv_r.c (_findenv_r): Ditto.
8371 * libc/stdlib/setenv_r.c (_setenv_r,_unsetenv_r): Ditto.
8372 * libc/stdlib/system.c (system, !cygwin32 case): Ditto.
8373
8374 * libc/stdlib/getenv.c (environ): Delete unused reference to
8375 environ.
8376
8377 * libc/stdlib/getenv_r.c: Make initial comment friendlier to emacs
8378 colorization.
8379 * libc/stdlib/system.c: Ditto.
8380
8381 Tue Nov 21 20:32:21 2000 Christopher Faylor <cgf@cygnus.com>
8382
8383 * libc/sys/cygwin/sys/dirent.h: Change definition to avoid necessity of
8384 including windows headers.
8385
8386 2000-11-20 Jeff Johnston <jjohnstn@redhat.com>
8387
8388 * libc/include/sys/unistd.h: Removed definition of MAXNAMLEN.
8389 * libc/include/dirent.h: Added definition of MAXNAMLEN if
8390 not defined by sys/dirent.h.
8391 * libc/posix/execvp.c: Added include of dirent.h to get
8392 MAXNAMLEN value which used to be in unistd.h.
8393
8394 Mon Nov 6 12:56:00 2000 Corinna Vinschen <vinschen@cygnus.com>
8395
8396 * libc/include/sys/types.h: Change type of i to `size_t' in
8397 FD_ZERO macro to avoid compiler warnings.
8398
8399 Sun Oct 29 20:06:41 2000 Christopher Faylor <cgf@cygnus.com>
8400
8401 * libc/include/stdlib.h: Avoid declaring cfree under Cygwin.
8402 * libc/include/malloc.h: Ditto. Also remove obsolete declaration.
8403
8404 Tue Oct 24 20:16:00 2000 Corinna Vinschen <vinschen@cygnus.com>
8405
8406 * libc/include/sys/unistd.h: Add defines for sysconf values
8407 _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and
8408 _SC_AVPHYS_PAGES.
8409
8410 Mon Oct 9 20:26:33 2000 Christopher Faylor <cgf@cygnus.com>
8411
8412 * libc/include/sys/unistd.h: Add getdtablesize and setdtablesize
8413 declarations for __CYGWIN__.
8414
8415 2000-09-19 Geoffrey Keating <geoffk@cygnus.com>
8416
8417 * libc/signal/signal.c (__sigtramp_r): ISO C requires
8418 case labels to be integral constant expressions, so
8419 use an if/else tree instead.
8420 (_raise_r): Likewise.
8421
8422 2000-09-13 Jeff Johnston <jjohnstn@redhat.com>
8423
8424 * libc/machine/v850/setjmp.S: Fixed tab problems caused by
8425 clipping patch from e-mail reader.
8426
8427 2000-09-13 Will Cohen <wcohen@redhat.com>
8428
8429 * libc/machine/v850/setjmp.S (_setjmp): Save r1 rather than r0.
8430 Added return value 0.
8431 (_longjmp): Allow longjmp to return value of second argument
8432 passed to it.
8433
8434 2000-09-06 Jeff Johnston <jjohnstn@redhat.com>
8435
8436 * libc/include/sys/types.h (FD_ZERO): Remove call to bzero and
8437 inline code to prevent having to include another header file.
8438
8439 Wed Sep 6 15:06:40 2000 Christopher Faylor <cgf@cygnus.com>
8440
8441 * Makefile.am: Fix space vs. tab problem in install-data-local.
8442 * Makefile.in: Regenerate.
8443
8444 Wed Sep 6 13:49:51 2000 Christopher Faylor <cgf@cygnus.com>
8445
8446 * libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__.
8447 (_EXPARM): New macro for defining a function parameter.
8448 * libc/include/stdlib.h: Use _EXPARM.
8449 * libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
8450
8451 2000-09-05 Manfred Hollstein <manfredh@redhat.com>
8452
8453 * Makefile.am (install-data-local): Use optional $(DESTDIR) where
8454 required, as documented in the gnu coding standards.
8455 * Makefile.in: Regenerate.
8456
8457 2000-09-05 Jeff Johnston <jjohnstn@redhat.com>
8458
8459 * libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to
8460 make O_NDELAY and O_NONBLOCK have the same value.
8461
8462 2000-08-30 Kazu Hirata <kazu@hxi.com>
8463
8464 * libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.
8465
8466 2000-08-30 Werner Almesberger <Werner.Almesberger@epfl.ch>
8467
8468 * libc/posix/execve.c: included unistd.h for "_execve" prototype.
8469 * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed
8470 "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like
8471 everywhere else.
8472
8473 2000-08-30 Geoffrey Keating <geoffk@cygnus.com>
8474
8475 * libc/string/swab.c: Specify that it's defined in <unistd.h>.
8476 * libc/include/string.h: Don't include <sys/types.h>,
8477 as it causes really bad namespace pollution. Don't declare
8478 swab(), it is properly declared in unistd.h.
8479
8480 2000-08-29 Werner Almesberger <Werner.Almesberger@epfl.ch>
8481
8482 * libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed
8483 (broken) support for non-existent /etc/passwd field "comment".
8484
8485 2000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
8486
8487 * libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen
8488 only if _DIRENT_HAVE_D_NAMLEN is defined.
8489 (alphasort): aligned prototype with
8490 libc/sys/cygwin/sys/dirent.h and simplified function body.
8491 * libc/posix/telldir.c (telldir): changed "telldir" prototype to
8492 long telldir (DIR *) as mentioned in annex B of POSIX.1
8493
8494 2000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
8495
8496 * libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type
8497 of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined;
8498 Added __CLI and __STI macros (controlled via
8499 _I386MACH_ALLOW_HW_INTERRUPTS macro).
8500 * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S
8501 libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S
8502 libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S
8503 libc/machine/i386/f_log.S libc/machine/i386/f_log10.S
8504 libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S
8505 libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S
8506 libc/machine/i386/memchr.S libc/machine/i386/memcmp.S
8507 libc/machine/i386/memcpy.S libc/machine/i386/memmove.S
8508 libc/machine/i386/memset.S libc/machine/i386/setjmp.S
8509 libc/machine/i386/strchr.S libc/machine/i386/strlen.S:
8510 (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol)
8511 for all global entry points.
8512 * libc/machine/i386/setjmp.S: removed code replicated in
8513 libc/machine/i386/i386mach.h and included i386mach.h instead;
8514 Use __CLI and __STI instead of cli and sti.
8515
8516 2000-08-25 DJ Delorie <dj@redhat.com>
8517
8518 * libc/include/sys/unistd.h (environ): this one isn't from the
8519 DLL, no __IMPORT
8520
8521 Fri Aug 25 13:37:11 2000 Christopher Faylor <cgf@cygnus.com>
8522
8523 * libc/stdlib/system.c (do_system): Eliminate explicit declaration of
8524 environ when compiling under cygwin since it is already declared in
8525 unistd.h.
8526
8527 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
8528
8529 * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
8530 like x << y-z to the equivalent x << (y-z).
8531 (d2b): changed if statements with assignment to perform the
8532 assignment prior to the if check.
8533 * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
8534 * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
8535 * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
8536 * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
8537 precedence.
8538 * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
8539 Added "_execve" prototype (for execl.c, execle.c, execv.c, and
8540 execve.c).
8541 * libc/posix/popen.c (popen): added parentheses to clarify && and ||
8542 precedence.
8543 * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
8544 clarify && and || precendence (and to remove pascalism).
8545 * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
8546 * libm/math/s_infconst.c: added another pair of braces to all
8547 initializers for __infinity (need three: for __infinity[1] array,
8548 for union __dmath, and for i[2]).
8549
8550 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
8551
8552 * libc/stdlib/abort.c: changed description: uses "raise" instead of
8553 "getpid" and "kill"; added: uses "write" and "_exit".
8554 Also included unistd.h for "_exit" prototype.
8555 * libc/stdlib/system.c: included unistd.h for "execve" prototype,
8556 reent.h for "_fork_r" and "_wait_r" prototypes.
8557 (do_system): changed extern char *environ[] to POSIX-friendly
8558 extern char **environ.
8559 * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp"
8560 prototypes.
8561 * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype.
8562 * libc/reent/execr.c: included sys/wait.h for "wait" prototype.
8563 * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype.
8564 * libc/reent/openr.c: included fcntl.h for "open" prototype.
8565 * libc/reent/signalr.c: included signal.h for "kill" prototype,
8566 unistd.h for "getpid" prototype.
8567 * libc/reent/statr.c: included sys/stat.h for "stat" prototype.
8568 * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype.
8569 * libc/unix/getut.c (utmpname): removed local, incorrect "strdup"
8570 prototype. Also included stdlib.h for "abort", string.h for
8571 "strdup" and "strncmp" prototypes.
8572 * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and
8573 "strncpy", unistd.h for "read" and "close" prototypes.
8574 * libc/posix/execvp.c: included string.h for "strchr", "strlen", and
8575 "strcat" prototypes.
8576
8577 2000-08-23 Werner Almesberger <Wernen Almesberger@epfl.ch>
8578
8579 * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's
8580 used later (ifdef __SCLE)
8581 * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's
8582 used later (ifdef MB_CAPABLE)
8583 * libc/string/memset.c (memset): removed unused variables "count"
8584 and "unaligned_addr"
8585 * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and
8586 "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE)
8587 * libc/unix/getpwent.c (getpwnam): removed unused variables "uid"
8588 and "gid"
8589
8590 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
8591
8592 * libc/stdlib/envlock.c: changed documented "__env_lock" and
8593 "__env_unlock" prototype from "void *" or "char *" to
8594 "struct _reent *" to match real function. Also added include
8595 of envlock.h.
8596 * libc/stdlib/mlock.c: changed documented "__malloc_lock" and
8597 "__malloc_unlock" prototype from "void *" or "char *" to
8598 "struct _reent *" to match real function.
8599 * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock"
8600 prototypes (for getenv_r.c and setenv_r.c).
8601
8602 2000-08-22 Werner Almesberger <Werner.Almesberger@epfl.ch>
8603
8604 * libc/unix/getut.c (utmpname): added _CONST to reflect common use
8605 and prototype in cygwin's utmp.h
8606
8607 2000-08-16 Eric Fifer <efifer@sanwaint.com>
8608
8609 * libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
8610
8611 2000-08-09 Nick Clifton <nickc@cygnus.com>
8612
8613 * libc/sys/arm/setjmp.S: Recode to clean up function prologues and
8614 epilogue and to allow the functions to be used in a Thumb based
8615 toolchain.
8616
8617 2000-08-08 Jeff Johnston <jjohnstn@redhat.com>
8618
8619 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code
8620 so size of 0 results in nothing being written to string.
8621 Also fixed code so that when size is non-zero, there is only
8622 a maximum of size - 1 characters written to the array and
8623 a nul terminator is appended at the end.
8624 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
8625
8626 2000-08-01 DJ Delorie <dj@redhat.com>
8627
8628 * libc/include/sys/config.h: define __IMPORT appropriately
8629 * libc/include/ctype.h (_ctype_): use __IMPORT
8630 * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto
8631 * libc/include/math.h (__mb_cur_max): ditto
8632 * libc/include/time.h (_timezone, _daylight, _tzname): ditto
8633 * libc/include/unctrl.h (__unctrl, __unctrllen): ditto
8634 * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto
8635 * libc/include/unistd.h (environ): ditto
8636
8637 2000-07-28 Michael Meissner <meissner@redhat.com>
8638
8639 * libc/include/math.h (__infinity): Declare as an array without
8640 bounds to get around small data support. Rewrite Cygwin support
8641 to be more general.
8642 * libm/math/s_infconst.c (__infinity): Ditto.
8643 * libm/mathfp/s_infconst.c (__infinity): Ditto.
8644
8645 Thu Jul 27 10:46:01 2000 Christopher Faylor <cgf@cygnus.com>
8646
8647 * libc/include/math.h: Use appropriate dll import linkage for
8648 __infinity under Cygwin.
8649
8650 2000-07-13 DJ Delorie <dj@cygnus.com>
8651
8652 * libc/stdio/vfprintf.c: pad 0.0 correctly with %e
8653
8654 Wed Jun 28 14:08:00 2000 Keith Walker <keith.walker@arm.com>
8655
8656 * libc/sys/arm/crt0.S (.LC30): Added missing length parameter
8657 to argument list for AngelSWI_Reason_GetCmdLine.
8658
8659 Tue Jun 27 15:49:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
8660
8661 * configure.host: Add support for AVR target.
8662 * libc/include/machine/ieeefp.h: Likewise.
8663 * libc/include/sys/config.h: Likewise.
8664
8665 Thu Jun 22 18:35:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
8666
8667 * README: Newlib 1.8.2 must be built in a separate directory
8668 than the sources.
8669
8670 Tue Jun 20 14:30:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
8671
8672 * libc/include/sys/reent.h (_rand_next): Added __extension__
8673 qualifier as long long type is not strict ANSI.
8674 * libc/stdlib/rand.c (rand): Added __extension__ qualifier
8675 to long long constant.
8676
8677 Fri Jun 16 23:02:00 2000 Corinna Vinschen <corinna@vinschen.de>
8678
8679 * libc/include/sys/unistd.h: Add prototypes for `seteuid' and
8680 `setegid' provided by Cygwin.
8681
8682 Thu Jun 15 0:21:00 2000 Corinna Vinschen <corinna@vinschen.de>
8683
8684 * libc/stdio/fdopen.c: Take explicit given bin/textmode into
8685 account for Cygwin.
8686
8687 Fri Jun 9 14:28:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
8688
8689 * libc/include/sys/reent.h (_rand_next): Changed to
8690 unsigned long long and moved to end of _reent struct in _new union.
8691 (_REENT_INIT): Changed to move _rand_next initialization.
8692 * libc/stdlib/rand.c (rand): Changed to use unsigned long long
8693 linear congruential algorithm that is used by DJGPP.
8694
8695 Thu Jun 8 21:18:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
8696
8697 * libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX.
8698 * libc/include/sys/config.h: Define __RAND_MAX.
8699
8700 Thu Jun 8 17:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
8701
8702 * libc/stdlib/rand_r.c: New algorithm that meets minimal
8703 standard.
8704
8705 Fri Jun 2 23:02:11 2000 Christopher Faylor <cgf@cygnus.com>
8706
8707 * libc/include/string.h: Work around problem with strsignal and gdb.
8708
8709 Tue May 30 13:13:01 2000 Christopher Faylor <cgf@cygnus.com>
8710
8711 * libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__
8712 * libc/include/malloc.h: Ditto.
8713 * libc/include/process.h: Ditto.
8714 * libc/include/stdio.h: Ditto.
8715 * libc/include/stdlib.h: Ditto.
8716 * libc/include/time.h: Ditto.
8717 * libc/include/machine/setjmp.h: Ditto.
8718 * libc/include/sys/errno.h: Ditto.
8719 * libc/include/sys/signal.h: Ditto.
8720 * libc/include/sys/stat.h: Ditto.
8721 * libc/include/sys/time.h: Ditto.
8722 * libc/include/sys/unistd.h: Ditto.
8723 * libc/include/string.h: Ditto. strsignal should return a const char *.
8724
8725 2000-05-26 Marek Michalkiewicz <marekm@linux.org.pl>
8726
8727 * libm/common/s_expm1.c (expm1): Add curly braces, avoid warnings.
8728 * libm/common/s_log1p.c (log1p): Likewise.
8729 * libm/common/s_scalbn.c (scalbn): Likewise.
8730 * libm/math/e_log.c: Likewise.
8731 * libm/math/e_asin.c: Likewise.
8732 * libm/math/ef_asin.c: Likewise.
8733 * libm/math/e_j0.c (pzero, qzero): Remove redundant test.
8734 * libm/math/e_j1.c (pone, qone): Likewise.
8735 * libm/math/ef_j0.c (pzerof, qzerof): Likewise.
8736 * libm/math/ef_j1.c (ponef, qonef): Likewise.
8737 * libm/mathfp/e_j0.c (pzero, qzero): Likewise.
8738 * libm/mathfp/e_j1.c (pone, qone): Likewise.
8739 * libm/mathfp/ef_j0.c (pzerof, qzerof): Likewise.
8740 * libm/mathfp/ef_j1.c (ponef, qonef): Likewise.
8741
8742 2000-05-19 DJ Delorie <dj@cygnus.com>
8743
8744 * libc/stdio/stdio.c (__stextmode): new, see if file is text mode
8745 (__sread): always read in binary mode
8746 (__swrite): always write in binary mode
8747 * libc/include/stdio.h: no getc/putc macros for cygwin; causes
8748 compatibility issues with different dll versions
8749 * libc/stdio/fopen.c: use __stextmode
8750 * libc/stdio/fdopen.c: ditto
8751 * libc/stdio/freopen.c: ditto
8752 * libc/stdio/findfp.c: set up __SCLE for std{in,out,err}
8753 * libc/stdio/local.h: declare __stextmode
8754
8755 2000-05-18 DJ Delorie <dj@cygnus.com>
8756
8757 * libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLE
8758
8759 Mon May 15 18:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
8760
8761 * libc/include/ctype.h: Changed tolower and toupper macros
8762 to use __extension__ to prevent pedantic warnings.
8763
8764 Mon May 15 14:26:00 2000 Joel Sherrill <joel@oarcorp.com>
8765
8766 * libc/sys/rtems/sys/time.h: Add macros for manipulating timeval
8767 structures.
8768
8769 Wed May 10 19:24:53 2000 Jim Wilson <wilson@cygnus.com>
8770
8771 * libc/include/machine/ieeefp.h: Add ia64 support.
8772 * configure.host: Likewise.
8773
8774 Wed May 10 13:52:24 2000 Egor Duda <deo@logos-m.ru>
8775
8776 * libc/time/asctime_r.c (asctime_r): Change output format. Day of
8777 month is now padded with space, not zero. This now conforms to
8778 ANSI standard.
8779
8780 Wed May 03 17:57:00 2000 Corinna Vinschen <corinna@vinschen.de>
8781
8782 * libc/include/sys/errno.h: Add define for ENOSHARE ("No such
8783 host or network path") used by cygwin. Add some comments.
8784
8785 Tue May 02 23:45:48 2000 DJ Delorie <dj@cygnus.com>
8786
8787 * libc/include/stdio.h (FILE): define __SCLE for "convert line
8788 endings" for Cygwin.
8789 (__sgetc): convert line endings if needed
8790 (__sputc): ditto
8791 * libc/stdio/fdopen.c (_fdopen_r): Remember if we opened in text mode
8792 * libc/stdio/fopen.c (_fopen_r): ditto
8793 * libc/stdio/freopen.c (freopen): ditto
8794 * libc/stdio/fread.c (fread): perform CRLF conversions if __SCLE
8795 * libc/stdio/fvwrite.c (__sfvwrite): ditto
8796
8797 Thu Apr 27 07:45:48 2000 Alexandre Oliva <aoliva@cygnus.com>
8798
8799 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Use
8800 post-increment when it is worth it, spacewise.
8801
8802 Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
8803
8804 * libc/signal/signal.c (_signal_r) : Removed unused local variable temp.
8805 * libc/stdio/findfp.c (std): Added declaration of flags and file.
8806 * libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int
8807 return type.
8808 * libc/stdio/putchar.c (putchar): Added return statement.
8809 * libc/stdio/refill.c (lflush): Added correct parentheses.
8810 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
8811 * libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which
8812 prints long value to use l qualifier.
8813 * libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning
8814 messages and initialized local values: ilim, ilim1, and spec_case.
8815 * libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp.
8816 * libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses.
8817 * libc/stdlib/mprec.c: Ditto.
8818 * libc/stdlib/setenv_r.c: Ditto.
8819 * libc/stdlib/strtod.c: Ditto.
8820 * libc/stdlib/strtol.c: Ditto.
8821 * libc/stdlib/strtoul.c: Ditto.
8822 * libm/common/sf_expm1.c: Added curly braces to if else clauses.
8823 * libm/common/sf_log1p.c: Ditto.
8824 * libm/common/sf_scalbn.c: Ditto.
8825 * libm/math/ef_log.c: Ditto.
8826
8827 Sun Apr 16 12:45:00 2000 Corinna Vinschen <corinna@vinschen.de>
8828
8829 * libc/posix/execvp.c (execvp): Check path for
8830 trailing slash.
8831
8832 Fri Mar 31 20:39:00 2000 Corinna Vinschen <corinna@vinschen.de>
8833
8834 * libc/include/sys/unistd.h: Add prototypes for
8835 fchmod, fchown, lchown.
8836
8837 Fri Mar 24 15:34:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
8838
8839 * acinclude.m4: Changed release to 1.8.2.
8840 * aclocal.m4 configure doc/aclocal.m4 doc/configure
8841 libc/aclocal.m4 libc/configure libc/machine/aclocal.m4
8842 libc/machine/configure libc/machine/a29k/aclocal.m4
8843 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
8844 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
8845 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
8846 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
8847 libc/machine/fr30/configure libc/machine/h8300/aclocal.m4
8848 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
8849 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
8850 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
8851 libc/machine/i386/configure libc/machine/i960/aclocal.m4
8852 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
8853 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
8854 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
8855 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
8856 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
8857 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
8858 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
8859 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
8860 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
8861 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
8862 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
8863 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
8864 libc/machine/v850/configure libc/machine/w65/aclocal.m4
8865 libc/machine/w65/configure libc/machine/z8k/aclocal.m4
8866 libc/machine/z8k/configure libc/sys/aclocal.m4
8867 libc/sys/aclocal.m4 libc/sys/configure
8868 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
8869 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
8870 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
8871 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
8872 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
8873 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
8874 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
8875 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
8876 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
8877 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
8878 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
8879 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
8880 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
8881 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
8882 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
8883 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
8884 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
8885 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
8886 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
8887 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
8888 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
8889 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
8890 libm/aclocal.m4 libm/configure: Regenerated.
8891
8892 2000-03-24 Nick Clifton <nickc@cygnus.com>
8893
8894 * libc/sys/arm/syscalls.c: Fix compile time warnings.
8895 (do_AngelSWI): Add "cc" to list o registers clobbered.
8896
8897 Thu Mar 22 14:57:00 2000 Fernando Nasser <fnasser@redhat.com>
8898
8899 * libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid
8900 information to be clobbered by an Angel C library support syscall.
8901
8902 Tue Mar 21 19:08:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
8903
8904 * libc/stdlib/envlock.c: Fixed comment typo.
8905
8906 Fri Mar 17 15:37:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
8907
8908 * libc/stdio/vfscanf.c (__svfscanf): Fixed floating point
8909 code to update nread as each character is processed instead
8910 of using buffer contents which throw away leading zeroes.
8911
8912 Mon Mar 13 15:22:00 2000 Sergei Organov <osv@javad.ru>
8913
8914 * libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
8915
8916 Fri Mar 10 16:09:20 2000 Jeff Johnston <jjohnstn@cygnus.com>
8917
8918 * libc/include/string.h: Include <sys/types.h>.
8919
8920 Fri Mar 10 14:53:50 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8921
8922 * libc/stdio/putw.c (putw): Return 0 on success, to be compliant
8923 with XSH5, not SVID.
8924
8925 Thu Mar 9 17:20:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
8926
8927 * libc/include/string.h: Changed last argument back to ssize_t
8928 to make it compatible with XPG4 definition which is
8929 defined in <unistd.h>. There is a conflict in the SVID 3
8930 and XPG4 definitions and newlib will settle with XPG4.
8931 * libc/string/swab.c: Ditto.
8932
8933 Wed Mar 8 17:11:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
8934
8935 * libc/include/string.h: Changed last argument to size_t.
8936 * libc/string/swab.c: Changed last argument to size_t.
8937
8938 Wed Mar 8 00:46:41 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8939
8940 * libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.
8941 (CHEWOUT_FILES): Added unlinkr.def.
8942 * libc/reent/Makefile.in: Rebuilt.
8943 * libc/sys.tex: Include unlinkr.def.
8944 * libc/reent/linkr.c (_unlink_r): Moved to...
8945 * libc/reent/unlinkr.c: ... new file.
8946
8947 Wed Mar 8 00:43:07 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8948
8949 * libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.
8950 (CHEWOUT_FILES): Added swab.def.
8951 * libc/string/Makefile.in: Rebuilt.
8952 * libc/string/string.tex: Include swab.def.
8953 * libc/include/string.h (swab): Declare.
8954 * libc/string/swab.c: New file.
8955
8956 Wed Mar 8 00:38:35 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8957
8958 * libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.
8959 (CHEWOUT_FILES): Added getw.def and putw.def.
8960 * libc/stdio/Makefile.in: Rebuilt.
8961 * libc/stdio/stdio.tex: Include getw.def and putw.def.
8962 * libc/stdio/getw.c: New file.
8963 * libc/stdio/putw.c: New file.
8964
8965 Fri Feb 25 14:50:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
8966
8967 * libc/stdio/flags.c (__sflags): Added check that mode[1]
8968 is non-null before looking at mode[2].
8969
8970 Thu Feb 24 11:43:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
8971
8972 * libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS.
8973 * libm/mathfp/sf_atan.c: Ditto.
8974
8975 Thu Feb 24 11:39:00 2000 Joel Sherrill <joel@OARcorp.com>
8976
8977 * libc/include/sys/stat.h: Add RTEMS prototype for lstat.
8978
8979 Tue Feb 22 14:37:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
8980
8981 * libm/mathfp/sf_exp.c: Corrected _DOUBLE_IS_32_BITS to be
8982 _DOUBLE_IS_32BITS.
8983
8984 Mon Feb 21 11:43:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
8985
8986 * libc/stdio/vfprintf.c (VFPRINTF): Added CHECK_INIT
8987 call prior to calling _VFPRINTF_R so reentrant data area is set.
8988 (_VFPRINTF_R): Removed now extraneous CHECK_INIT call.
8989
8990 Thu Feb 17 01:42:50 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
8991
8992 * libc/stdio/vfscanf.c (limits.h): #include.
8993 (MAX_LONG_LEN): #define.
8994 (__svfscanf): Handle floating point numbers with arbitrary amounts
8995 of leading zeroes.
8996
8997 2000-02-15 Nick Clifton <nickc@cygnus.com>
8998
8999 * libc/sys/arm/syscalls.c (_fstat): Initialise all fields to
9000 zero. Set the blocksize to 1024/
9001
9002 Thu Jan 20 18:57:00 2000 Fernando Nasser <fnasser@redhat.com>
9003
9004 * setvbuf.c (setvbuf): Set size to BUFSIZ when passed a zero size
9005 with line buffering.
9006
9007 Mon Jan 10 18:43:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
9008
9009 * acinclude.m4: Changed include directory for winsup headers.
9010 * aclocal.m4 configure libc/aclocal.m4
9011 libc/configure libc/ctype/Makefile.in libc/errno/Makefile.in
9012 libc/locale/Makefile.in libc/machine/aclocal.m4
9013 libc/machine/configure libc/machine/a29k/aclocal.m4
9014 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
9015 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
9016 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
9017 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
9018 libc/machine/fr30/configure
9019 libc/machine/h8300/aclocal.m4
9020 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
9021 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
9022 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
9023 libc/machine/i386/configure libc/machine/i960/aclocal.m4
9024 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
9025 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
9026 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
9027 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
9028 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
9029 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
9030 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
9031 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
9032 libc/machine/powerpc/configure
9033 libc/machine/sh/aclocal.m4
9034 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
9035 libc/machine/sparc/configure
9036 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
9037 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
9038 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
9039 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
9040 libc/misc/Makefile.in libc/posix/Makefile.in
9041 libc/reent/Makefile.in
9042 libc/signal/Makefile.in
9043 libc/string/Makefile.in libc/sys/aclocal.m4 libc/sys/configure
9044 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
9045 libc/sys/arm/Makefile.in libc/sys/arm/aclocal.m4
9046 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
9047 libc/sys/cygwin/configure libc/sys/d10v/Makefile.in
9048 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
9049 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
9050 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
9051 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
9052 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
9053 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
9054 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
9055 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
9056 libc/sys/sh/Makefile.in libc/sys/sh/aclocal.m4
9057 libc/sys/sh/configure libc/sys/sparc64/aclocal.m4
9058 libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4
9059 libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4
9060 libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4
9061 libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4
9062 libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4
9063 libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4
9064 libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4
9065 libc/sys/tic80/configure libc/sys/w65/aclocal.m4
9066 libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4
9067 libc/sys/z8ksim/configure libc/syscalls/Makefile.in
9068 libc/time/Makefile.in libc/unix/Makefile.in libm/aclocal.m4
9069 libm/configure: Regenerated.
9070
9071 Mon Jan 10 18:43:46 2000 Jeff Johnston <jjohnstn@cygnus.com>
9072
9073 * libc/stdlib/putenv_r.c (_putenv_r): New file.
9074 * libc/stdlib/strdup_r.c (_strdup_r): New file.
9075 * libc/include/string.h: Added _strdup_r.
9076 * libc/stdlib/putenv.c: Added call to reentrant version.
9077 * libc/stdlib/strdup.c: Ditto.
9078 * libc/stdlib/Makefile.am: Added _putenv_r and _unsetenv_r.
9079 * libc/include/stdlib.h: Ditto.
9080 * libc/stdlib/Makefile.in: Regenerated.
9081 * libc/string/Makefile.in: Regenerated.
9082 * libc/stdlib/setenv.c: Added reentrant version of unsetenv.
9083 * libc/stdlib/setenv_r.c: Added unsetenv_r and changed memory
9084 management calls to reentrant versions.
9085 * libc/stdlib/wcstombs.c: Added #ifndef _REENT_ONLY wrapper.
9086 * libc/stdlib/wctomb.c: Ditto.
9087 * libc/stdlib/mblen.c: Ditto.
9088 * libc/stdlib/mbstowcs.c: Ditto.
9089 * libc/stdlib/mbtowc.c: Ditto.
9090 * libc/stdlib/getenv.c: Ditto.
9091 * libc/reent/reent.tex: Added references to _putenv_r, _setenv_r,
9092 and _strdup_r.
9093
9094 Thu Jan 6 15:33:46 2000 Christopher Faylor <cgf@cygnus.com>
9095
9096 patch from Corinna Vinschen <corinna@vinschen.de>
9097 * libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16.
9098
9099 Mon Jan 03 14:36:00 2000 Sergei Organov <osv@javad.ru>
9100
9101 * libm/mathfp/s_atangent.c: Fix exponent calculation.
9102 * libm/mathfp/s_ldexp.c: Ditto.
9103 * libm/mathfp/sf_atangent.c: Ditto.
9104 * libm/mathfp/sf_ldexp.c: Ditto.
9105
9106 Tue Dec 14 5:42:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
9107
9108 * libc/machine/i960/setjmp.S: fix typo leaving .link_pix uncommented
9109 * libc/include/locale.h: define NULL to be 0.
9110
9111 Tue Dec 7 15:41:45 1999 Jim Wilson <wilson@cygnus.com>
9112
9113 * libc/sys/sh/syscalls.c (stack_ptr): Move definition before first
9114 function.
9115
9116 Wed Dec 1 17:39:29 1999 Jeffrey A Law (law@cygnus.com)
9117
9118 * libc/machine/mn10300/setjmp.S: Handle am33.
9119
9120 1999-11-26 Nick Clifton <nickc@cygnus.com>
9121
9122 * libc/sys/arm/syscalls.c: Add function prototypes.
9123 (stack_ptr): Move declaration before function definitions.
9124
9125 Sat Nov 20 17:13:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
9126
9127 * NEWS: Updated version information.
9128 * README: Ditto.
9129
9130 Tue Nov 09 12:19:21 1999 Jeff Johnston <jjohnstn@cygnus.com>
9131
9132 * libc/machine/i386/strchr.S: Fixed alignment test.
9133
9134 Thu Oct 28 05:30:46 1999 Andrew Cagney <cagney@makita.cygnus.com>
9135
9136 * libc/sys/d10v/crt0.S (_start): Construct a real stack frame.
9137
9138 Thu Oct 28 15:29:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
9139
9140 * libc/sys/d10v/crt0.S (_start): Initialize both SPI and SPU
9141 ensuring that there is space between the two.
9142
9143 Thu Oct 14 13:39:21 1999 Christopher Faylor <cgf@cygnus.com>
9144
9145 * libc/stdio/flags.c: Conditionalize check for 't' for cygwin case
9146 only.
9147
9148 1999-10-08 Vadim Egorov <egorovv@1c.ru>
9149
9150 * libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin
9151 section
9152
9153 Sat Oct 2 02:02:00 MEST 1999 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
9154
9155 * libc/machine/sh/asm.h: Added __SH4_SINGLE__ to DELAYED_BRANCHES
9156 * libc/machine/sh/memcpy.S: Fix line wrapping in SL macro
9157
9158 Fri Oct 1 13:17:59 CDT 1999 <joel@OARcorp.com>
9159 * libc/include/grp.h: Added getgrnam_r and getgrgid_r prototypes
9160 per POSIX 1003.1b.
9161 * libc/include/pwd.h: Added getpwnam_r and getpwuid_r prototypes
9162 per POSIX 1003.1b.
9163
9164 1999-09-13 DJ Delorie <dj@cygnus.com>
9165
9166 * libc/stdio/mktemp.c (_gettemp): on cygwin, check for EACCESS
9167 also.
9168
9169 Thu Sep 9 15:31:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
9170
9171 * setvbuf.c (setvbuf): When mallocing a buffer of size BUFSIZ,
9172 also note BUFSIZ as its size.
9173
9174 Tue Sep 7 17:15:00 1999 Joel Sherrill <joel@OARcorp.com>
9175
9176 * configure.host: Corrected feature defines for RTEMS.
9177 * libc/include/sys/stat.h: Added protototype for RTEMS mknod.
9178 * libc/include/sys/stat.h: mkfifo() should take const path arg.
9179 * libc/include/sys/unistd.h: pathconf() should take const path arg.
9180 Enabled usleep(), ftruncate(), and truncate() prototypes for RTEMS.
9181 Added defines for _POSIX_JOB_CONTROL, _POSIX_SAVED_IDS, and
9182 _POSIX_VERSION for RTEMS. Added defines for _PC_ASYNC_IO,
9183 _PC_PRIO_IO, and _PC_SYNC_IO.
9184 * libc/machine/m68k/Makefile.am: Added strcpy.c and strlen.c.
9185 * libc/machine/m68k/Makefile.in: Regenerated.
9186 * libc/machine/m68k/strcpy.c: New file.
9187 * libc/machine/m68k/strlen.c: New file.
9188 * libc/stdio/tmpnam.c: Always make the returned name usable.
9189 * libc/sys/rtems/crt0.c: New version that passes all autoconf tests.
9190 * libc/sys/rtems/sys/dirent.h: New file.
9191 * libc/sys/rtems/sys/types.h: Added dev_t.
9192
9193 Tue Sep 7 17:15:00 1999 Jay Kulpinski <jskulpin@eng01.gdds.com>
9194
9195 * libc/stdlib/mprec.c: Fixed unitialized variable problem.
9196
9197 Fri Sep 3 12:35:20 1999 Jeff Johnston <jjohnstn@cygnus.com>
9198
9199 * libc/stdio/ftell.c (ftell): Backing off Joern's fix and
9200 my patch.
9201
9202 Thu Sep 2 22:05:20 1999 Christopher Faylor <cgf@cygnus.com>
9203
9204 patch from Jeff Johnston <jjohnstn@cygnus.com>
9205 * libc/stdio/ftell.c (ftell): Avoid using buffer position when the
9206 buffer is not in a useful state.
9207
9208 1999-09-01 Nick Clifton <nickc@cygnus.com>
9209
9210 * libc/sys/arm/syscalls.c (_link): Add stub.
9211
9212 Fri Aug 27 23:09:09 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
9213
9214 * ftell.c (ftell): Use actual position within buffer for text mode.
9215 * findfp.c (std): Initialize ptr->_bf._size.
9216
9217 Wed Aug 18 18:48:02 1999 Christopher Faylor <cgf@cygnus.com>
9218
9219 * libc/include/sys/unistd.h: Add nice() declaration.
9220
9221 1999-08-09 Nick Clifton <nickc@cygnus.com>
9222
9223 * libc/sys/arm/crt0.S (change_mode): Rename to __change_mode and
9224 declare as a thumb function so that the disassembler will see the
9225 mode change.
9226
9227 Thu Aug 5 17:37:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
9228
9229 * libc/reent/reent.tex: Updated list of reentrant functions.
9230
9231 1999-07-09 Michael Meissner <meissner@cygnus.com>
9232
9233 * libc/include/stdlib.h (_findenv{,_r}): Add prototypes.
9234
9235 Tue Jul 6 10:46:24 1999 Jeff Johnston <jjohnstn@cygnus.com>
9236
9237 * libc/stdio/sprintf.c: Moved snprintf and _snprintf_r to
9238 separate file.
9239 * libc/stdio/snprintf.c: New file.
9240 * libc/stdio/vsprintf.c: Moved vsnprintf and _vsnprintf_r to
9241 separate file.
9242 * libc/stdio/vsnprintf.c: New file.
9243 * libc/stdio/Makefile.am: Added snprintf.c and vsnprintf.c.
9244 * libc/stdio/Makefile.in: Regenerated.
9245
9246 Mon Jul 5 14:43:24 1999 Christopher Faylor <cgf@cygnus.com>
9247
9248 Patch submitted by Egor Duda <deo@logos-m.ru>:
9249 * libc/include/stdio.h: Add declarations for *nprintf.
9250 * libc/stdio/sprintf.c (snprintf): New function.
9251 (_snprintf_r): New function.
9252 * libc/stdio/vsprintf.c (vsnprintf): New function.
9253 (_vnsprintf_r): New function.
9254
9255 Wed Jun 30 16:36:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
9256
9257 * libc/Makefile.am (stmp-targetdep): Remove extraneous blank.
9258 * libm/Makefile.am (stmp-targetdep): Ditto.
9259 * libc/Makefile.in: Regenerated.
9260 * libm/Makefile.in: Ditto.
9261
9262 Fri Jun 25 10:49:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
9263
9264 * libc/Makefile.am (stmp-targetdep): Ignore "." in SUBDIRS.
9265 * libm/Makefile.am (stmp-targetdep): Ditto.
9266 * libc/Makefile.in: Regenerated.
9267 * libm/Makefile.in: Ditto.
9268
9269 Thu June 03 16:25:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
9270
9271 * Makefile.am: Removed dependencies on all-recursive and added "."
9272 to the SUBDIRS list to prevent infinite recursion from occurring.
9273 Also removed any references to EXTRA_DATA.
9274 * libc/Makefile.am: Ditto.
9275 * libc/machine/Makefile.am: Ditto.
9276 * libc/machine/i386/Makefile.am: Ditto.
9277 * libm/Makefile.am: Ditto.
9278 * libc/sys/Makefile.am: Ditto.
9279 * Makefile.in: Regenerated.
9280 * aclocal.m4: Ditto.
9281 * configure: Ditto.
9282 * doc/Makefile.in: Ditto.
9283 * doc/aclocal.m4: Ditto.
9284 * doc/configure: Ditto.
9285 * libc/Makefile.in: Ditto.
9286 * libc/aclocal.m4: Ditto.
9287 * libc/configure: Ditto.
9288 * libc/machine/Makefile.in: Ditto.
9289 * libc/machine/aclocal.m4: Ditto.
9290 * libc/machine/configure: Ditto.
9291 * libc/machine/mn10300/Makefile.in: Ditto.
9292 * libc/machine/mn10300/aclocal.m4: Ditto.
9293 * libc/machine/mn10300/configure: Ditto.
9294 * libc/sys/Makefile.in: Ditto.
9295 * libc/sys/aclocal.m4: Ditto.
9296 * libc/sys/configure: Ditto.
9297 * libm/Makefile.in: Ditto.
9298 * libm/aclocal.m4: Ditto.
9299 * libm/configure: Ditto.
9300
9301 Thu June 03 16:20:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
9302
9303 * libc/include/stdlib/stdlib.tex: Add link to env_lock.
9304
9305 Fri May 28 17:09:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
9306
9307 * libc/include/stdlib.h: Add reentrant routines.
9308 * libc/stdlib/Makefile.am: Add reentrant routines.
9309 * libc/stdlib/Makefile.in: Ditto.
9310 * libc/stdlib/envlock.c: New file.
9311 * libc/stdlib/envlock.h: New file.
9312 * libc/stdlib/getenv.c: Modify to call reentrant routine.
9313 * libc/stdlib/getenv_r.c: New file.
9314 * libc/stdlib/mblen.c: Modify to call reentrant routine.
9315 * libc/stdlib/mblen_r.c: New file.
9316 * libc/stdlib/setenv.c: Modify to call reentrant routine.
9317 * libc/stdlib/setenv_r.c: New file.
9318 * libc/stdlib/stdlib.tex: Add reentrant routines.
9319
9320 Mon May 17 22:01:38 1999 Christopher Faylor <cgf@cygnus.com>
9321
9322 * libc/include/sys/types.h: Define __MS_types__ whenever
9323 cygwin or win32.
9324
9325 Sun May 16 16:02:41 1999 Christopher Faylor <cgf@cygnus.com>
9326
9327 * libc/include/machine/ieeefp.h: Always default to little
9328 endian if Windows, regardless of architecture.
9329 * libc/include/machine/sethmp.h: Define JBLEN if CYGWIN
9330 regardless of architecture.
9331
9332 Mon May 3 11:49:18 1999 Geoffrey Noer <noer@cygnus.com>
9333
9334 * libc/include/machine/setjmp.h: Accept CYGWIN define, even if
9335 _WIN32 isn't defined.
9336
9337 Mon May 3 11:41:51 1999 Jeff Johnston <jjohnstn@cygnus.com>
9338
9339 * libm/common/s_rint.c (rint): Add volatile qualifier for
9340 intermediate value w.
9341 * libm/common/sf_rint.c (rintf): Ditto.
9342
9343 Thu Apr 29 20:34:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
9344
9345 * libc/sys/arm/syscalls.c (remap_handle): Added check to
9346 ensure that std streams are initialized before being referenced.
9347
9348 1999-04-27 Jason Molenda (jsm@bugshack.cygnus.com)
9349
9350 * README: Update reference to newlib@cygnus.com new
9351 newlib@sourceware.cygnus.com address.
9352
9353 Mon Apr 26 18:17:33 1999 Geoffrey Noer <noer@cygnus.com>
9354
9355 * libc/include/sys/types.h: Define MS_types if CYGWIN is defined.
9356 * libc/include/sys/fcntl.h: Define _O_BINARY et al if CYGWIN is
9357 defined, even if _WIN32 isn't defined.
9358
9359 Sat Apr 24 19:59:55 1999 Christopher Faylor <cgf@cygnus.com>
9360
9361 * libc/include/sys/fcntl.h: Correct _O_CREATE to _O_CREAT.
9362
9363 Wed Apr 21 18:01:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
9364
9365 * libc/include/sys/reent.h: Change Long and ULong to __Long and
9366 __ULong.
9367 * libc/stdlib/dtoa.c: Ditto.
9368 * libc/stdlib/mprec.c: Ditto.
9369 * libc/stdlib/mprec.h: Ditto.
9370 * libc/stdlib/strtod.c: Ditto.
9371
9372 1999-04-21 Nick Clifton <nickc@cygnus.com>
9373
9374 * configure.host (mcore): Remove mcore machine directory.
9375
9376 1999-04-18 Nick Clifton <nickc@cygnus.com>
9377
9378 * libc/include/machine/ieeefp.h: Add support for mcore target.
9379 * libc/include/machine/setjmp.h: Add support for mcore target.
9380 * configure.host: Add support for mcore target.
9381
9382 1999-04-13 Mark Salter <msalter@cygnus.com>
9383
9384 * libc/sys/arm/libcfunc.c: Moved isatty to syscall.c
9385 * libc/sys/arm/syscalls.c: Added isatty.
9386
9387 Wed Apr 07 16:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
9388
9389 * libc/stdlib/ecvtbuf.c (fcvtbuf): Fixed code to properly
9390 insert zeroes after significant digits.
9391
9392 Wed Mar 17 22:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
9393
9394 * libc/stdio/vfprintf.c (cvt): Changed floating point
9395 cvt routine to use union used by dtoa to properly determine
9396 if the sign bit is on or not.
9397 * libc/stdio/vfieeefp.h: New file
9398
9399 Wed Mar 17 17:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
9400
9401 * aclocal.m4: Regenerated.
9402 * configure: Regenerated.
9403
9404 Wed Mar 17 16:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
9405
9406 * libc/machine/i386/Makefile.am (lib_a_SOURCES): Added missing
9407 f_tanf reference.
9408 * libc/machine/i386/Makefile.in: Regenerated.
9409
9410 Tue Mar 16 14:56:36 1999 Jeff Johnston <jjohnstn@cygnus.com>
9411
9412 * acinclude.m4: Changed to work with new automake.
9413 * configure: Regenerated.
9414 * libc/machine/i386/aclocal.m4: Regenerated.
9415 * libc/machine/i386/configure: Regenerated.
9416
9417 Tue Mar 16 13:55:36 1999 Corinna Vinschen <corinna.vinschen@cityweb.de>
9418
9419 * libc/sys/cygwin/sys/dirent.h: Add additional prototypes
9420 for telldir() and seekdir(). Rename unused structure element
9421 for use with these two routines.
9422
9423 Fri Mar 12 19:11:58 1999 Jeff Johnston <jjohnstn@cygnus.com>
9424
9425 * libc/time/mktime.c (validate_structure): Multiple fixes to
9426 code to handle cases where input fields are outside valid ranges.
9427 * libc/stdlib/div.c (div): Modified invalid rounding check.
9428 * libc/stdlib/ldiv.c (ldiv): Ditto.
9429
9430 Thu Mar 11 21:32:13 1999 Jeff Johnston <jjohnstn@cygnus.com>
9431
9432 * libc/machine/i386/memcpy.S: Performance rewrite.
9433 * libc/machine/i386/memmove.S: Ditto.
9434 * libc/machine/i386/i386mach.h: Added more register definitions.
9435 * libc/include/math.h: Include <machine/fastmath.h> if -ffast-math
9436 option used.
9437 * libc/include/machine/fastmath.h: Add definitions for x86
9438 fast-math routines.
9439
9440 Wed Mar 10 17:56:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
9441
9442 * libc/stdlib/strtod.c: Change from unsigned long to ULong.
9443
9444 Tue Mar 9 14:31:58 1999 Geoffrey Noer <noer@cygnus.com>
9445
9446 Adjust newlib headers for new Cygwin Win32 API header files:
9447 * libc/include/sys/time.h: Check _WINSOCK_H rather than
9448 _GNU_H_WINDOWS32_SOCKETS.
9449 * libc/include/sys/types.h: Ditto.
9450
9451 Tue Mar 09 15:55:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
9452
9453 *include/sys/reent.h: Add checks for size of Bigint element Long.
9454 *libc/dtoa.c: Change routines to use generic Long type.
9455 *libc/mprec.c: Change routines to use generic Long type.
9456 *libc/mprec.h: Change routines to use generic Long type.
9457
9458 Tue Mar 02 18:07:49 1999 Ranjith Kumaran <ranjith@cygnus.com>
9459
9460 * libc/Makefile.am: Add .def files.
9461 * libc/Makefile.in: Regenerate.
9462 * libc/e_acosh.c: Documentation update.
9463 * libc/e_atanh.c: Documentation update.
9464 * libc/e_hypot.c: Documentation update.
9465 * libc/e_remainder.c: Documentation update.
9466 * libc/er_lgamma.c: Documentation update.
9467 * libc/mathfp.tex: Documentation update.
9468 * libc/s_acos.c: Documentation update.
9469 * libc/s_atan.c: Documentation update.
9470 * libc/s_atan2.c: Documentation update.
9471 * libc/s_cosh.c: Documentation update.
9472 * libc/s_fmod.c: Documentation update.
9473 * libc/s_isnan.c: Documentation update.
9474 * libc/s_log10.c: Documentation update.
9475 * libc/s_pow.c: Documentation update.
9476 * libc/w_jn.c: Documentation update.
9477
9478 Sun Feb 28 23:18:49 1999 Geoffrey Noer <noer@cygnus.com>
9479
9480 * aclocal.m4: Regenerate.
9481 * configure: Regenerate.
9482
9483 Tue Feb 23 13:57:26 1999 Jeff Johnston <jjohnstn@cygnus.com>
9484
9485 * libc/machine/mn10300/setjmp.S (_longjmp): Fixed longjmp
9486 to return 1 if user specified return code is 0.
9487 * libc/machine/mn10200/setjmp.S (_longjmp): Ditto.
9488
9489 Thu Feb 18 11:13:28 1999 Jeff Johnston <jjohnstn@cygnus.com>
9490
9491 * libc/machine/mn10200/setjmp.S (_setjmp/_longjmp): Fixed setjmp
9492 to save the return address. Fixed longjmp to return to the original
9493 calling address of setjmp and to return the user specified return code
9494 rather than default to 1.
9495 * libc/machine/mn10300/setjmp.S (_setjmp/_longjmp): Ditto.
9496
9497 Mon Feb 15 17:48:17 1999 Jeff Johnston <jjohnstn@cygnus.com>
9498
9499 * libc/stdlib/mprec.h (mult): Define mult to be _multiply instead of _mult.
9500
9501 1999-02-10 Nick Clifton <nickc@cygnus.com>
9502
9503 * libc/sys/arm/syscalls.c (initialise_monitor_handles): Make block
9504 volatile so that its assignments will not be discarded.
9505
9506 Wed Feb 10 17:19:40 1999 Jeff Johnston <jjohnstn@cygnus.com>
9507
9508 * libc/include/_ansi.h: Corrected _STRICT_ANSI reference to
9509 be __STRICT_ANSI__ which is generated by compiler.
9510 * libc/include/ctype.h: Ditto.
9511 * libc/include/math.h: Ditto.
9512 * libc/include/stdio.h: Ditto.
9513 * libc/include/stdlib.h: Ditto.
9514 * libc/include/string.h: Ditto.
9515 * libc/include/sys/signal.h: Ditto.
9516
9517 1999-02-08 Nick Clifton <nickc@cygnus.com>
9518
9519 * configure.host: Add support for StrongARM target.
9520
9521 Fri Feb 5 11:13:14 1999 Jeff Johnston <jjohnstn@cygnus.com>
9522
9523 * libc/string/strncpy.c (strncpy): Removed redundant code
9524 that was copying bytes if data unaligned.
9525
9526 1999-02-02 Brendan Kehoe <brendan@cygnus.com>
9527
9528 * libc/stdlib/Makefile.{am,in} (CHEWOUT_FILES): Add mblen.def,
9529 mbstowcs.def, and wcstombs.def.
9530
9531 Sat Jan 30 02:36:33 1999 Christopher Faylor <cgf@cygnus.com>
9532
9533 * libc/include/sys/errno.h: Add Cygwin errno.
9534 * libc/stdio/flags.c: Don't default to O_TEXT if no other flag
9535 is specified.
9536
9537 1999-01-29 Nick Clifton <nickc@cygnus.com>
9538
9539 * libc/sys/arm/syscalls.c: Move C library functions into seperate
9540 file.
9541
9542 * libc/sys/arm/libcfunc.c: New file containing C library functions
9543 from syscalls.c
9544
9545 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add libcfuncs.c
9546 * libc/sys/arm/Makefile.in (lib_a_SOURCES): Regenerate.
9547
9548
9549 1999-01-27 Michael Meissner <meissner@cygnus.com>
9550
9551 * libc/include/machine/setjmp.h (D30V _JBLEN/_JBTYPE): Use double
9552 type, and cut size in half so that the jmp_buf array is guaranteed
9553 to be aligned on a 64-bit boundary.
9554
9555 Mon Jan 25 12:05:38 1999 Jeff Johnston <jjohnstn@cygnus.com>
9556
9557 * libc/string/strings.tex: Added information about
9558 strcasecmp and strncasecmp.
9559 * libc/stdlib/stdlib.tex: Added missing information
9560 about mblen, mbstowcs, and wcstombs.
9561 * libc/string/strchr.c: Changed how mask is built to use
9562 shift operators so register will be used instead of storage.
9563
9564 1999-01-22 DJ Delorie <dj@cygnus.com>
9565
9566 * libc/include/stdlib.h: don't use dllimport if we're building
9567 newlib, since it's inside cygwin.dll
9568
9569 Fri Jan 22 14:57:18 1999 Christopher Faylor <cgf@cygnus.com>
9570
9571 * libc/ctype/ctype_.c: Need to use __declspec(dllexport) for
9572 _ctype_ under cygwin.
9573
9574 Fri Jan 22 09:50:19 1999 Christopher Faylor <cgf@cygnus.com>
9575
9576 * include/stdlib.h: Fix typo from previous checkin.
9577
9578 Thu Jan 21 22:42:21 1999 Christopher Faylor <cgf@cygnus.com>
9579
9580 * include/ctype.h: Use __declspec(dllimport) method for exporting
9581 variable from cygwin DLL.
9582 * include/time.h: Ditto.
9583 * sys/errno.h: Ditto.
9584 * include/stdlib.h: Export __mb_cur_max from cygwin DLL.
9585 * libc/locale/locale.c: Use __declspec(dllexport) method for
9586 exporting variable from cygwin DLL.
9587
9588 Sat Jan 16 13:29:54 1999 Christopher Faylor <cgf@cygnus.com>
9589
9590 * libc/stdio/setvbuf.c: Always clean up when _IONBF or possible
9591 access of bogus pointer will result in SIGSEGV.
9592
9593 1999-01-07 Nick Clifton <nickc@cygnus.com>
9594
9595 * libc/sys/arm/setjmp.S: Use C macros to cope with the possibility
9596 of an underscore prefix to function names.
9597
9598 Fri Jan 8 19:00:07 1999 Jeff Johnston <jjohnstn@cygnus.com>
9599
9600 * libc/machine/i386/i386mach.h (__REG_PREFIX__): Create new
9601 define __REG_PREFIX__ instead of using __REGISTER_PREFIX__.
9602
9603 1998-12-31 Michael Meissner <meissner@cygnus.com>
9604
9605 * libc/machine/i386/i386mach.h (__REGISTER_PREFIX__): Only define
9606 to `%' if not already defined.
9607
9608 1998-12-30 Michael Meissner <meissner@cygnus.com>
9609
9610 * libc/stdio/tmpnam.c (_tempnam_r): Make directory and prefix
9611 arguments const char *, not char *.
9612 * libc/include/stdio.h (_tempnam_r): Ditto.
9613
9614 * libc/include/sys/reent.h (struct _reent): The _sig_func type
9615 points to a function taking an integer, not void.
9616
9617 Tue Dec 29 14:35:53 1998 Christopher Faylor <cgf@cygnus.com>
9618
9619 * configure.host: Add a define for Cygwin builds.
9620 * libc/include/ctype.h: Don't use dll imported variables in newlib.
9621
9622 Mon Dec 28 09:19:56 1998 Christopher Faylor <cgf@cygnus.com>
9623
9624 * libc/include/ctype.h: Define _ctype_ as dll imported variable
9625 for use with Cygwin.
9626 * libc/include/sys/errno.h: Define _sys_errlist and _sys_nerr as
9627 dll imported variables for use with Cygwin.
9628 * libc/ctype/ctype_.c: Undefine _ctype_ in case it has been defined
9629 as a dll imported variable for Cygwin.
9630
9631 Sat Dec 26 00:13:53 1998 Christopher Faylor <cgf@cygnus.com>
9632
9633 * libc/include/sys/unistd.h: Add proto for getpass.
9634
9635 Fri Dec 18 19:28:19 1998 Geoffrey Noer <noer@cygnus.com>
9636
9637 * libc/sys/cygwin/sys/dirent.h: add protos for scandir and
9638 alphasort.
9639
9640 Fri Dec 18 16:33:25 1998 Geoffrey Noer <noer@cygnus.com>
9641
9642 * libc/posix/execvp.c (execvp): call cygwin_posix_path_list_p,
9643 not posix_path_list_p.
9644
9645 1998-12-15 Nick Clifton <nickc@cygnus.com>
9646
9647 * libc/string/memchr.c: Treat 'c' argument as an unsigned byte not
9648 a signed int.
9649
9650 1998-12-13 Nick Clifton <nickc@cygnus.com>
9651
9652 * libc/include/machine/setjmp.h (_JBLEN): Set to 10.
9653
9654 1998-12-12 Nick Clifton <nickc@cygnus.com>
9655
9656 * libc/machine/fr30/setjmp.S: New file, supplied by Mark Slater
9657 <msalter@cygnus.com>
9658 * libc/machine/fr30/Makefile.am: Add build of setjmp.S
9659 * libc/machine/fr30/Makefile.in: Regenerated.
9660
9661 1998-12-11 Nick Clifton <nickc@cygnus.com>
9662
9663 * configure.host: Remove use of libc/sys for FR30 port.
9664 * libc/sys/fr30: Remove directory (replaced by libgloss).
9665
9666 1998-12-10 Ken Raeburn <raeburn@cygnus.com>
9667
9668 * libc/string/strcat.c (ALIGNED): Sense of result was reversed.
9669 * libc/string/strncat.c (ALIGNED): Ditto.
9670
9671 Wed Dec 9 14:37:57 1998 Geoffrey Noer <noer@cygnus.com>
9672
9673 * libc/include/sys/time.h: include sys/types.h
9674
9675 Tue Dec 8 15:53:18 1998 Jeff Johnston <jjohnstn@cygnus.com>
9676
9677 * libc/machine/i386/memcmp.S (memcmp): Fix for unequal
9678 comparison found when checking word at a time.
9679
9680 1998-12-04 Nick Clifton <nickc@cygnus.com>
9681
9682 * libc/sys/fr30/crt0.s (_start): Initialise frame pointer.
9683
9684 1998-12-03 Nick Clifton <nickc@cygnus.com>
9685
9686 * libc/sys/fr30/syscalls.c (_times): New function stub.
9687
9688 Thu Dec 3 15:59:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
9689
9690 * configure.host (mach_add_setjmp): Replaced mach_add_objs
9691 with mach_add_setjmp flag which indicates if setjmp should
9692 be added to the machine directory objects.
9693 * acinclude.m4: Removed reference to mach_add_objs.
9694 * aclocal.m4: Regenerated.
9695 * Makefile.in: Regenerated.
9696 * configure: Regenerated.
9697 * libc/aclocal.m4: Regenerated.
9698 * libc/Makefile.in: Regenerated.
9699 * libc/configure: Regenerated.
9700 * libc/machine/aclocal.m4: Regenerated.
9701 * libc/machine/Makefile.in: Regenerated.
9702 * libc/machine/configure: Regenerated.
9703 * libc/machine/i386/aclocal.m4: Regenerated.
9704 * libc/machine/i386/Makefile.am: Altered to selectively add
9705 setjmp.S to the src files list.
9706 * libc/machine/i386/Makefile.in: Regenerated.
9707 * libc/machine/i386/configure.in: Altered to test mach_add_setjmp.
9708 * libc/machine/i386/configure: Regenerated.
9709
9710 1998-12-02 Nick Clifton <nickc@cygnus.com>
9711
9712 * libc/sys/fr30/crt0.s (_start): Fix function names.
9713
9714 * libc/machine/fr30: New directory
9715 * libc/machine/fr30/Makefile.am: New file.
9716 * libc/machine/fr30/Makefile.in: New generated file.
9717 * libc/machine/fr30/configure.in: New file.
9718 * libc/machine/fr30/configure: New generated file.
9719 * libc/machine/fr30/aclocal.m4: New generated file.
9720 * libc/sys/fr30/Makefile.am: New file.
9721 * libc/sys/fr30/Makefile.in: New generated file.
9722 * libc/sys/fr30/configure.in: New file.
9723 * libc/sys/fr30/configure: New generated file.
9724 * libc/sys/fr30/syscalls.c: New file.
9725
9726 Tue Dec 1 16:28:56 1998 Geoffrey Noer <noer@cygnus.com>
9727
9728 * libc/sys/cygwin/sys/utmp.h: new file, moved from winsup/include.
9729
9730 1998-12-01 Ken Raeburn <raeburn@cygnus.com>
9731
9732 * libc/time/strftime.c (strftime): Also handle %y for years before
9733 1900.
9734
9735 Tue Dec 1 13:26:07 1998 Christopher Faylor <cgf@cygnus.com>
9736
9737 * libc/string/strcasecmp.c (strcasecmp): Adhere to standard
9738 UNIX convention. Perform tolower on characters before comparing
9739 them rather than use toupper.
9740 * libc/string/strncasecmp.c (strncasecmp): Ditto.
9741
9742 Mon Nov 30 16:24:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
9743
9744 * configure.host: Added using i386 machine directory
9745 for all x86 cross-compiler and configuring
9746 which added object files to use via new "mach_add_objs" variable.
9747 * configure: Regenerated.
9748 * libc/configure: Regenerated.
9749 * libc/Makefile.in: Regenerated.
9750 * libc/aclocal.m4: Regenerated.
9751 * libc/ctype/Makefile.in: Regenerated.
9752 * libc/errno/Makefile.in: Regenerated.
9753 * libc/locale/Makefile.in: Regenerated.
9754 * libc/machine/Makefile.in: Regenerated.
9755 * libc/machine/aclocal.m4: Regenerated.
9756 * libc/machine/configure: Regenerated.
9757 * libc/posix/Makefile.in: Regenerated.
9758 * libc/reent/Makefile.in: Regenerated.
9759 * libc/signal/Makefile.in: Regenerated.
9760 * libc/stdio/Makefile.in: Regenerated.
9761 * libc/stdlib/Makefile.in: Regenerated.
9762 * libc/string/Makefile.in: Regenerated.
9763 * libc/string/memmove.c: Optimized code to use memcpy
9764 logic when performing a non-destructive copy.
9765 * libc/string/strncmp.c: Altered code to allow building
9766 optimized for size or speed.
9767 * libc/syscalls/Makefile.in: Regenerated.
9768 * libc/time/Makefile.in: Regenerated.
9769 * libc/unix/Makefile.in: Regenerated.
9770 * libc/machine/i386/Makefile.am: Added new files and reference
9771 to "mach_add_objs" to indicate optional object files.
9772 * libc/machine/i386/Makefile.in: Regenerated.
9773 * libc/machine/i386/aclocal.m4: Regenerated.
9774 * libc/machine/i386/configure: Regenerated.
9775 * libc/machine/i386/memchr.S: New file that implements
9776 function in Intel assembler.
9777 * libc/machine/i386/memcmp.S: ditto.
9778 * libc/machine/i386/memcpy.S: ditto.
9779 * libc/machine/i386/memmove.S: ditto.
9780 * libc/machine/i386/memset.S: ditto.
9781 * libc/machine/i386/strchr.S: ditto.
9782 * libc/machine/i386/strlen.S: ditto.
9783 * libc/machine/i386/f_atan2.S: New file that implements
9784 fast version of math function to be used by compiler when
9785 --ffast_math compile option is used.
9786 * libc/machine/i386/f_atan2f.S: ditto.
9787 * libc/machine/i386/f_exp.c: ditto.
9788 * libc/machine/i386/f_expf.c: ditto.
9789 * libc/machine/i386/f_frexp.S: ditto.
9790 * libc/machine/i386/f_frexpf.S: ditto.
9791 * libc/machine/i386/f_ldexp.S: ditto.
9792 * libc/machine/i386/f_ldexpf.S: ditto.
9793 * libc/machine/i386/f_log.S: ditto.
9794 * libc/machine/i386/f_logf.S: ditto.
9795 * libc/machine/i386/f_log10.S: ditto.
9796 * libc/machine/i386/f_log10f.S: ditto.
9797 * libc/machine/i386/f_math.h: New file.
9798 * libc/machine/i386/f_pow.c: ditto.
9799 * libc/machine/i386/f_powf.S: ditto.
9800 * libc/machine/i386/f_tan.S: ditto.
9801 * libc/machine/i386/f_tan.S: ditto.
9802 * libc/machine/i386/i386mach.h: New file.
9803
9804 Mon Nov 30 13:02:17 1998 Christopher Faylor <cgf@cygnus.com>
9805
9806 patch from Mumit Khan <khan@xraylith.wisc.edu>
9807 * libc/include/stdio.h (tempnam): Add prototype.
9808 * libc/stdio/tmpnam.c (_tempnam_r): Handle NULL prefix.
9809 (tempnam): Adhere to prototype.
9810
9811 Thu Nov 26 00:21:32 1998 Christopher Faylor <cgf@cygnus.com>
9812
9813 * Makefile.am: Add default for AR_FLAGS.
9814 * Makefile.in: Regenerate.
9815
9816 Tue Nov 24 18:48:56 1998 Geoffrey Noer <noer@cygnus.com>
9817
9818 * libc/include/time.h: move __cplusplus wrapper after includes
9819 * libc/include/sys/time.h: ditto. If Cygwin, include
9820 sys/select.h.
9821 * libc/include/sys/types.h: lose "32" in comment about Cygwin.
9822
9823 1998-11-23 Ken Raeburn <raeburn@cygnus.com>
9824
9825 * libc/time/strftime.c (strftime): Handle %y after year 2000.
9826
9827 Wed Nov 18 12:22:41 1998 Nick Clifton <nickc@cygnus.com>
9828
9829 * libc/sys/fr30/crt0.s (_start): Switch over to using int #9 as
9830 abnormnal end-of-crt0 marker.
9831
9832 Tue Nov 17 16:27:58 1998 Nick Clifton <nickc@cygnus.com>
9833
9834 * libc/sys/fr30/crt0.s: New file/directory.
9835 * libc/include/machine/setjmp.h: Add FR30 target.
9836 * libc/include/machine/ieeefp.h: Add FR30 target.
9837 * configure.host: Add FR30 target.
9838
9839 Mon Nov 16 23:15:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
9840
9841 * libm/math: Files that are duplicated in common directory removed.
9842 * libm/math/fdlibm.h: Removed.
9843 * libm/math/s_cbrt.c: Removed.
9844 * libm/math/s_copysign.c: Removed.
9845 * libm/math/s_expm1.c: Removed.
9846 * libm/math/s_finite.c: Removed.
9847 * libm/math/s_ilogb.c: Removed.
9848 * libm/math/s_infinity.c: Removed.
9849 * libm/math/s_lib_ver.c: Removed.
9850 * libm/math/s_log1p.c: Removed.
9851 * libm/math/s_logb.c: Removed.
9852 * libm/math/s_matherr.c: Removed.
9853 * libm/math/s_modf.c: Removed.
9854 * libm/math/s_nan.c: Removed.
9855 * libm/math/s_nextafter.c: Removed.
9856 * libm/math/s_rint.c: Removed.
9857 * libm/math/s_scalbn.c: Removed.
9858 * libm/math/sf_cbrt.c: Removed.
9859 * libm/math/sf_copysign.c: Removed.
9860 * libm/math/sf_expm1.c: Removed.
9861 * libm/math/sf_finite.c: Removed.
9862 * libm/math/sf_ilogb.c: Removed.
9863 * libm/math/sf_infinity.c: Removed.
9864 * libm/math/sf_log1p.c: Removed.
9865 * libm/math/sf_logb.c: Removed.
9866 * libm/math/sf_modf.c: Removed.
9867 * libm/math/sf_nan.c: Removed.
9868 * libm/math/sf_nextafter.c: Removed.
9869 * libm/math/sf_rint.c: Removed.
9870 * libm/math/sf_scalbn.c: Removed.
9871 * libm/math/Makefile.am: Removed references to deleted files (above).
9872 * libm/math/Makefile.in: Regenerated.
9873 * libm/Makefile.am: Added common directory to math.
9874 * libm/Makefile.in: Regenerated.
9875
9876 Mon Nov 2 23:12:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
9877
9878 * libm/mathfp: Add non-ANSI functions.
9879 * libm/mathfp/e_acosh.c acosh(): New file.
9880 * libm/mathfp/e_atanh.c atanh(): New file.
9881 * libm/mathfp/e_hypot.c hypot(): New file.
9882 * libm/mathfp/e_j0.c j0(): New file.
9883 * libm/mathfp/e_j1.c j1(): New file.
9884 * libm/mathfp/e_remainder.c remainder(): New file.
9885 * libm/mathfp/e_scalb.c scalb(): New file.
9886 * libm/mathfp/ef_acosh.c acoshf(): New file.
9887 * libm/mathfp/ef_atanh.c atanhf(): New file.
9888 * libm/mathfp/ef_hypot.c hypotf(): New file.
9889 * libm/mathfp/ef_j0.c j0f(): New file.
9890 * libm/mathfp/ef_j1.c j1f(): New file.
9891 * libm/mathfp/ef_remainder.c remainderf(): New file.
9892 * libm/mathfp/ef_scalb.c scalbf(): New file.
9893 * libm/mathfp/er_gamma.c gamma_r: New file.
9894 * libm/mathfp/er_lgamma.c lgamma_r(): New file.
9895 * libm/mathfp/erf_gamma.c gamma_rf(): New file.
9896 * libm/mathfp/erf_lgamma.c lgamma_rf(): New file.
9897 * libm/mathfp/w_cabs.c cabs(): New file.
9898 * libm/mathfp/w_drem.c drem(): New file.
9899 * libm/mathfp/w_jn.c jn(): New file.
9900 * libm/mathfp/wf_cabs.c cabsf(): New file.
9901 * libm/mathfp/wf_drem.c dremf(): New file.
9902 * libm/mathfp/wf_jn.c jnf(): New file.
9903
9904 Mon Nov 2 16:43:18 1998 Geoffrey Noer <noer@cygnus.com>
9905
9906 * libc/sys/cygwin32: remove directory and contents
9907 * libc/sys/cygwin: and add back, losing the "32".
9908 * configure.host: check for cygwin* instead of cygwin32.
9909 * acinclude.m4: ditto.
9910 * aclocal.m4: regenerate with aclocal
9911 * configure: regenerate with autoconf
9912
9913 Tue Oct 20 17:28:28 1998 Geoffrey Noer <noer@cygnus.com>
9914
9915 * libc/stdio/tmpnam.c (_tempnam_r): not enough memory allocated
9916 for length
9917
9918 Tue Oct 20 18:49:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
9919
9920 * libc/include/sys/reent.h (struct _reent): Added variables _rand_next, _strtok_last,
9921 _asctime_buf, _localtime_buf and _gamma_signgam to struct reent
9922 to make rand/srand, strtok, asctime, localtime, w_gamma,
9923 w_lgamma, wf_gamma, and wf_lgamma reentrant. Included
9924 time.h to bring in struct tm definition.
9925 * libc/stdlib/rand.c (rand, srand): Don't emit functions 'rand' and 'srand' if
9926 '_REENT_ONLY' is set. Used variable '_rand_next' from struct reent.
9927 * libc/stdlib/strtok.c (strtok): Used variable '_strtok_last' from struct reent
9928 instead of static variable.
9929 * libc/stdlib/asctime.c (asctime): Used variable '_asctime_buf' from
9930 struct reent instead of static variable.
9931 * libc/stdlib/lcltime.c (localtime): Used variable '_localtime_buf' from
9932 struct reent instead of static variable.
9933 * libm/math/Makefile.am: Removed s_signgam.o.
9934 * libm/math/Makefile.in: Regenerated.
9935 * libm/math/w_gamma.c (gamma): Used variable '_gamma_signgam' from
9936 struct reent instead of global variable 'signgam'.
9937 * libm/math/w_lgamma.c (lgamma): Likewise.
9938 * libm/math/wf_gamma.c (gammaf): Likewise.
9939 * libm/math/wf_lgamma.c (lgammaf): Likewise.
9940 * libm/math/s_signgam.c: Removed.
9941 * libc/include/unctrl.h: Defined arrays __unctrl and __unctrllen
9942 to be const.
9943 * libc/misc/unctrl.c: Defined arrays __unctrl and __unctrllen
9944 to be const.
9945 * libc/reent/Makefile.am: Added dependence for impure.o on impure.c and
9946 libc/include/reent.h.
9947 * libc/reent/Makefile.in: Regenerated.
9948 * libc/stdio/vfprintf.c (_vfprintf_r): Defined arrays 'blanks' and 'zeroes'
9949 to be const.
9950 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Defined arrays 'JIS_state_table' and
9951 'JIS_action_table' to be const.
9952 * libm/math/s_lib_ver.c: define variable _LIB_VERSION to be const.
9953
9954 Mon Oct 12 00:26:33 1998 Christopher Faylor <cgf@cygnus.com>
9955
9956 * acinclude.m4: $with_target_subdir should default to '.'
9957 or confusion results when configuring in same directory as sources.
9958 * Regenerate all aclocal.m4 and configure files.
9959
9960 Fri Oct 9 16:27:36 1998 Jeff Johnston <jjohnstn@cygnus.com>
9961
9962 * libc/stdlib/mallocr.c: Added 16 byte alignment support which
9963 can be set by defining MALLOC_ALIGNMENT=16. Also added support
9964 for platforms where sizeof(size_t) < sizeof(long) via
9965 SIZE_T_SMALLER_THAN_LONG macro.
9966
9967 Wed Oct 7 14:02:40 1998 Jeff Johnston <jjohnstn@cygnus.com>
9968
9969 * libc/include/time.h (CLOCKS_PER_SEC): Change CLOCKS_PER_SEC
9970 to refer to _CLOCKS_PER_SEC_ and added including <machine/time.h>
9971 which sets _CLOCKS_PER_SEC_ for selected machines.
9972 * libc/include/machine/time.h: New file.
9973
9974 Tue Oct 6 16:08:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
9975
9976 * libc/syscalls/sysexecve.c: New file.
9977 * libc/syscalls/sysgettod.c: New file.
9978 * libc/syscalls/systimes.c: New file.
9979 * libc/syscalls/Makefile.am: Added new objects.
9980 * libc/syscalls/Makefile.in: Regenerated.
9981 * libc/include/_syslist.h (_execve): Moved define in file.
9982 * libc/include/reent.h: Added _execve_r declaration.
9983 * libc/Makefile.in: Regenerated.
9984 * libc/ctype/Makefile.in: Regenerated.
9985 * libc/errno/Makefile.in: Regenerated.
9986 * libc/locale/Makefile.in: Regenerated.
9987 * libc/machine/Makefile.in: Regenerated.
9988 * libc/misc/Makefile.in: Regenerated.
9989 * libc/posix/Makefile.in: Regenerated.
9990 * libc/reent/Makefile.in: Regenerated.
9991 * libc/reent/execr.c (_execve_r): Added _execve_r function.
9992 * libc/signal/Makefile.in: Regenerated.
9993 * libc/stdio/Makefile.in: Regenerated.
9994 * libc/time/Makefile.in: Regenerated.
9995 * libc/unix/Makefile.in: Regenerated.
9996 * libm/mathfp/Makefile.in: Regenerated.
9997
9998 Tue Oct 6 14:14:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
9999
10000 * libc/string/Makefile.in: Regenerated.
10001 * libc/string/memchr.c (memchr): Moved code to reduce object size.
10002 * libc/string/memcpy.c (memcpy): Ditto.
10003 * libc/string/memcmp.c (memcmp): Ditto.
10004 * libc/string/memset.c (memset): Ditto.
10005 * libc/string/strchr.c (strchr): Ditto.
10006 * libc/string/strcmp.c (strcmp): Ditto.
10007 * libc/string/strcpy.c (strcpy): Ditto.
10008 * libc/string/strlen.c (strlen): Ditto.
10009
10010 Tue Oct 6 13:58:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
10011
10012 * libm/acinclude.m4: Removed since newlib/acinclude.m4 can be used
10013 to generate aclocal.m4.
10014 * libm/Makefile.in: Regenerated.
10015 * libm/aclocal.m4: Regenerated.
10016 * libm/configure: Regenerated.
10017 * libm/math/Makefile.in: Regenerated.
10018 * libm/mathfp/Makefile.in: Regenerated.
10019
10020 1998-09-25 Mark Salter <msalter@cygnus.com>
10021
10022 * libc/include/machine/setjmp.h: Fixed test for mn10300 and mn10200
10023 by adding leading and trailing underscores to symbol names.
10024
10025 Tue Sep 22 15:33:41 1998 Christopher Faylor <cgf@cygnus.com>
10026
10027 * Makefile.in: Add default for AR_FLAGS.
10028
10029 Tue Sep 22 15:02:49 1998 Christopher Faylor <cgf@cygnus.com>
10030
10031 patch from ian@airs.com (Ian Taylor):
10032 * acinclude.m4: Run AC_CANONICAL_BUILD explicitly before
10033 NEWLIB_CONFIGURE so AC_CANONICAL_HOST will be run before it
10034 is needed for detecting the build machine. Required for
10035 cygwin native builds.
10036
10037 * Regenerate all aclocal.m4 and configure files.
10038
10039 Mon Sep 21 14:44:16 1998 Nick Clifton <nickc@cygnus.com>
10040
10041 * libc/sys/arm/crt0.S: Prepend a period to all local labels that
10042 used to start with LC.
10043
10044 Thu Sep 17 18:18:11 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
10045
10046 * libc/machine/sh/setjmp.S (setjmp): Handle __SH4* like __SH3E__ .
10047 (longjmp): Likewise.
10048
10049 Thu Sep 17 16:25:33 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
10050
10051 * libc/machine/sh/memset.S (memset): Move copy from r4 to r4 before
10052 the test for small number of bytes.
10053
10054 Thu Sep 10 11:40:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
10055
10056 * Makefile.am: Add --enable-newlib-hw-fp check. This builds the new
10057 math library that uses floating point algorithms instead of the old
10058 libm.
10059 * Makefile.in: Regenerate with automake version 1.3b.
10060 * configure: Rebuild.
10061 * libm/Makefile.in: Regenerate with automake version 1.3b.
10062 * libm/aclocal.m4: Regenerate.
10063 * libm/configure: Rebuild.
10064 * libm/configure.in: Add newlib_hw_fp definition and mathfp directory.
10065 * libm/acinclude.m4: Define macros for configure.in.
10066 * libm/config.h.in: Generate.
10067 * libm/mathfp/Makefile.am: New file.
10068 * libm/mathfp/Makefile.in: Generate.
10069 * libm/mathfp/s_acos.c (acos): New file.
10070 * libm/mathfp/s_asin.c (asin): New file.
10071 * libm/mathfp/s_asine.c (asine): New file.
10072 * libm/mathfp/s_atan.c (atan): New file.
10073 * libm/mathfp/s_atan2.c (atan2): New file.
10074 * libm/mathfp/s_atangent.c (atangent): New file.
10075 * libm/mathfp/s_ceil.c (ceil): New file.
10076 * libm/mathfp/s_copysign.c (copysign): New file.
10077 * libm/mathfp/s_cos.c (cos): New file.
10078 * libm/mathfp/s_cosh.c (cosh): New file.
10079 * libm/mathfp/s_exp.c (exp): New file.
10080 * libm/mathfp/s_fabs.c (fabs): New file.
10081 * libm/mathfp/s_finite.c (finite): New file.
10082 * libm/mathfp/s_floor.c (floor): New file.
10083 * libm/mathfp/s_fmod.c (fmod): New file.
10084 * libm/mathfp/s_frexp.c (frexp): New file.
10085 * libm/mathfp/s_infconst.c: New file.
10086 * libm/mathfp/s_isinf (isinf).c: New file.
10087 * libm/mathfp/s_isnan.c (isnan): New file.
10088 * libm/mathfp/s_ispos.c (ispos): New file.
10089 * libm/mathfp/s_ldexp.c (ldexp): New file.
10090 * libm/mathfp/s_log.c (log): New file.
10091 * libm/mathfp/s_log10.c (log10): New file.
10092 * libm/mathfp/s_logarithm.c (logarithm): New file.
10093 * libm/mathfp/s_mathcnst.c: New file.
10094 * libm/mathfp/s_modf (modf).c: New file.
10095 * libm/mathfp/s_numtest.c (numtest): New file.
10096 * libm/mathfp/s_pow.c (pow): New file.
10097 * libm/mathfp/s_scalbn.c (scalbn): New file.
10098 * libm/mathfp/s_sin (sin).c: New file.
10099 * libm/mathfp/s_sine.c (sine): New file.
10100 * libm/mathfp/s_sineh.c (sineh): New file.
10101 * libm/mathfp/s_sinf.c (sinf): New file.
10102 * libm/mathfp/s_sinh.c (sinh): New file.
10103 * libm/mathfp/s_sqrt.c (sqrt): New file.
10104 * libm/mathfp/s_tan.c (tan): New file.
10105 * libm/mathfp/s_tanh.c (tanh): New file.
10106 * libm/mathfp/sf_acos.c (acosf): New file.
10107 * libm/mathfp/sf_asin.c (asinf): New file.
10108 * libm/mathfp/sf_asine.c (asinef): New file.
10109 * libm/mathfp/sf_atan.c (atanf): New file.
10110 * libm/mathfp/sf_atan2.c (atan2f): New file.
10111 * libm/mathfp/sf_atangent.c (atangent): New file.
10112 * libm/mathfp/sf_ceil.c (ceilf): New file.
10113 * libm/mathfp/sf_copysign.c (copysignf): New file.
10114 * libm/mathfp/sf_cos.c (cosf): New file.
10115 * libm/mathfp/sf_cosh.c (coshf): New file.
10116 * libm/mathfp/sf_exp.c (expf): New file.
10117 * libm/mathfp/sf_fabs.c (fabsf): New file.
10118 * libm/mathfp/sf_finite.c (finitef): New file.
10119 * libm/mathfp/sf_floor.c (floorf): New file.
10120 * libm/mathfp/sf_fmod.c (fmodf): New file.
10121 * libm/mathfp/sf_frexp.c (frexpf): New file.
10122 * libm/mathfp/sf_isinf.c (isinff): New file.
10123 * libm/mathfp/sf_isnan.c (isnanf): New file.
10124 * libm/mathfp/sf_ispos.c (isposf): New file.
10125 * libm/mathfp/sf_ldexp.c (ldexpf): New file.
10126 * libm/mathfp/sf_log.c (logf): New file.
10127 * libm/mathfp/sf_log10.c (log10f): New file.
10128 * libm/mathfp/sf_logarithm.c (logarithmf): New file.
10129 * libm/mathfp/sf_modf.c (modff): New file.
10130 * libm/mathfp/sf_numtest.c (numtestf): New file.
10131 * libm/mathfp/sf_pow.c (powf): New file.
10132 * libm/mathfp/sf_scalbn.c (scalbnf): New file.
10133 * libm/mathfp/sf_sin.c (sinf): New file.
10134 * libm/mathfp/sf_sine.c (sinef): New file.
10135 * libm/mathfp/sf_sineh.c (sinehf): New file.
10136 * libm/mathfp/sf_sinh.c (sinhf): New file.
10137 * libm/mathfp/sf_sqrt.c (sqrtf): New file.
10138 * libm/mathfp/sf_tan.c (tanf): New file.
10139 * libm/mathfp/sf_tanh.c (tanhf): New file.
10140 * libm/mathfp/zmath.h: New file.
10141
10142 Wed Sep 2 02:49:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
10143
10144 * libc/machine/sh/strcmp.S (L_char_loop): Re-load r0 at loop
10145 exit if it has been overwritten by pre-fetching in delay slot.
10146
10147 1998-09-01 Michael Meissner <meissner@cygnus.com>
10148
10149 * Makefile.am (tooldir): Add in host_alias, so that multilib
10150 libraries are installed in the directory the compiler looks in.
10151 * Makefile.in: Regenerate.
10152
10153 * libc/stdlib/Makefile.in: Regenerate with automake version 1.3b.
10154
10155 Mon Aug 31 11:39:31 1998 Jeff Johnston <jjohnstn@cygnus.com>
10156
10157 * libc/machine/mn10300/memcpy.S (_memcpy): Move alignment test
10158 ahead of test for number of bytes being moved.
10159
10160 Thu Aug 27 14:07:53 1998 Christopher Faylor <cgf@cygnus.com>
10161
10162 * libc/include/sys/unistd.h: Nothing special needed for
10163 _exit under cygwin.
10164
10165 Wed Aug 26 15:05:21 1998 Nick Clifton <nickc@cygnus.com>
10166
10167 * libc/sys/arm/syscalls.c (_sbrk): Rename '_end' to 'end' to
10168 conform to user label naming conventions.
10169
10170 Mon Aug 24 14:46:19 1998 Geoffrey Noer <noer@cygnus.com>
10171
10172 * libc/sys/cygwin32/sys/utime.h: variable names in
10173 protos should start with two leading underscores
10174 * libc/include/string.h: ditto
10175 * libc/include/sys/signal.h: ditto
10176 * libc/include/sys/stat.h: ditto
10177 * libc/include/sys/time.h: ditto
10178 * libc/include/sys/unistd.h: ditto
10179 * libc/include/ctype.h: ditto
10180 * libc/include/stdlib.h: ditto
10181 * libc/include/sys/reent.h: struct _atexit function ptr takes a
10182 void, same with _sig_func.
10183
10184 Fri Aug 21 14:44:14 1998 Jeff Johnston <jjohnstn@cygnus.com>
10185
10186 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Added preprocessor checks
10187 for MB_CAPABLE to reduce code size when newlib is not configured
10188 with --enable-newlib-mb.
10189 * libc/stdlib/Makefile.am: Specified -fshort-enums when building
10190 mbtowc_r.o to minimize size.
10191 * libc/stdlib/Makefile.in: Rebuild.
10192
10193 Wed Aug 19 16:20:13 1998 Jim Wilson <wilson@cygnus.com>
10194
10195 * libc/sys/sparc64/Makefile.am (.S_r.o, .c_r.o): Change -DREENTRANT
10196 to -DREENT.
10197 * libc/sys/sparc64/Makefile.in: Rebuild.
10198
10199 Tue Aug 18 22:38:29 1998 Ian Lance Taylor <ian@cygnus.com>
10200
10201 * Makefile.am (MAKEOVERRIDES): Define.
10202 * Makefile.in: Rebuild.
10203
10204 Tue Aug 18 12:38:47 1998 Jim Wilson <wilson@cygnus.com>
10205
10206 * libc/sys/sparc64/sys/stat.h (stat): Add const.
10207
10208 Mon Aug 17 22:27:06 1998 Ian Lance Taylor <ian@cygnus.com>
10209
10210 * acinclude.m4 (NEWLIB_CONFIGURE): Use top_builddir in
10211 newlib_cflags when looking for targ-include.
10212 * */aclocal.m4, */configure: Rebuild.
10213
10214 Fri Jul 31 10:57:42 1998 Catherine Moore <clm@cygnus.com>
10215
10216 * libc/sys/arm/syscalls.c (_sbrk): Change "__end__"
10217 to "_end".
10218
10219 Wed Jul 29 00:02:01 1998 Mark Alexander <marka@cygnus.com>
10220
10221 * libc/include/sys/config.h: Define __IEEE_LITTLE_ENDIAN
10222 on SPARCs with little-endian data.
10223 * libc/include/machine/ieeefp.h: Ditto.
10224
10225 Wed Jul 22 18:00:10 1998 Ian Lance Taylor <ian@cygnus.com>
10226
10227 * acinclude.m4: Handle a relative srcdir correctly when setting
10228 newlib_cflags.
10229 * */aclocal.m4, */configure: Rebuild.
10230
10231 Wed Jul 22 17:11:33 1998 Jeff Johnston <jjohnstn@cygnus.com>
10232
10233 * libm/math/wrf_lgamma.c (lgammaf_r): Initialize exc.err to 0 and
10234 also set exc.arg1, exc.arg2 appropriately in case matherr is supplied.
10235 * libm/math/wrf_gamma.c (gammaf_r): ditto
10236 * libm/math/wr_lgamma.c (lgamma_r): ditto
10237 * libm/math/wr_gamma.c (gamma_r): ditto
10238 * libm/math/wf_sqrt.c (sqrtf): ditto
10239 * libm/math/wf_sinh.c (sinhf): ditto
10240 * libm/math/wf_scalb.c (scalbf): ditto
10241 * libm/math/wf_remainder.c (remainderf): ditto
10242 * libm/math/wf_pow.c (powf): ditto
10243 * libm/math/wf_log10.c (log10f): ditto
10244 * libm/math/wf_log.c (logf): ditto
10245 * libm/math/wf_lgamma.c (lgammaf): ditto
10246 * libm/math/wf_jn.c (jnf, ynf): ditto
10247 * libm/math/wf_j1.c (j1f, y1f): ditto
10248 * libm/math/wf_j0.c (j0f, y0f): ditto
10249 * libm/math/wf_hypot.c (hypotf): ditto
10250 * libm/math/wf_gamma.c (gammaf): ditto
10251 * libm/math/wf_fmod.c (fmodf): ditto
10252 * libm/math/wf_exp.c (expf): ditto
10253 * libm/math/wf_cosh.c (coshf): ditto
10254 * libm/math/wf_atanh.c (atanhf): ditto
10255 * libm/math/wf_atan2f.c (atan2f): ditto
10256 * libm/math/wf_asin.c (asinf): ditto
10257 * libm/math/wf_acosh.c (acoshf): ditto
10258 * libm/math/wf_acos.c (acosf): ditto
10259 * libm/math/w_sqrt.c (sqrt): ditto
10260 * libm/math/w_sinh.c (sinh): ditto
10261 * libm/math/w_scalb.c (scalb): ditto
10262 * libm/math/w_remainder.c (remainder): ditto
10263 * libm/math/w_pow.c (pow): ditto
10264 * libm/math/w_log10.c (log10): ditto
10265 * libm/math/w_log.c (log): ditto
10266 * libm/math/w_lgamma.c (lgamma): ditto
10267 * libm/math/w_jn.c (jn, yn): ditto
10268 * libm/math/w_j1.c (j1, y1): ditto
10269 * libm/math/w_j0.c (j0, y0): ditto
10270 * libm/math/w_hypot.c (hypot): ditto
10271 * libm/math/w_gamma.c (gamma): ditto
10272 * libm/math/w_fmod.c (fmod): ditto
10273 * libm/math/w_exp.c (exp): ditto
10274 * libm/math/w_cosh.c (cosh): ditto
10275 * libm/math/w_atanh.c (atanh): ditto
10276 * libm/math/w_atan2f.c (atan2): ditto
10277 * libm/math/w_asin.c (asin): ditto
10278 * libm/math/w_acosh.c (acosh): ditto
10279 * libm/math/w_acos.c (acos): ditto
10280
10281 Tue Jul 21 12:34:54 1998 Ian Lance Taylor <ian@cygnus.com>
10282
10283 * libm/math/Makefile.am (src): Add w_cabs.c and w_drem.c.
10284 (fsrc): Add wf_cabs.c and wf_drem.c.
10285 * libm/math/Makefile.in: Rebuild.
10286
10287 * Makefile.am (AM_MAKEFLAGS): Add CFLAGS_FOR_BUILD. Remove some
10288 unused directory variables. Remove duplicate CFLAGS.
10289 * Makefile.in: Rebuild.
10290
10291 * doc/Makefile.am ($(MKDOC)): Don't use $(CFLAGS) when building
10292 with $(CC_FOR_BUILD).
10293 (makedoc.o): Likewise.
10294 * doc/Makefile.in: Rebuild.
10295
10296 * libc/sys/cygwin32/Makefile.am (EXTRA_LIBRARIES): Define, to
10297 force a definition of COMPILE.
10298 (libfoo_a_SOURCES): Define.
10299 * libc/sys/cygwin32/Makefile.in: Rebuild.
10300 * libc/sys/tic80/Makefile.am (EXTRA_LIBRARIES): Define, to
10301 force a definition of COMPILE.
10302 (libfoo_a_SOURCES): Define.
10303 * libc/sys/tic80/Makefile.in: Rebuild.
10304
10305 Mon Jul 20 20:49:24 1998 Christopher Faylor <cgf@cygnus.com>
10306
10307 * libc/include/sys/fcntl.h: Add O_NOINHERIT, Win32-specific
10308 flag.
10309
10310 Fri Jul 17 16:13:16 1998 Ian Lance Taylor <ian@cygnus.com>
10311
10312 * Build using autoconf and automake. Added many Makefile.am and
10313 configure.in files, plus generated files. Old configure.in files
10314 and all old Makefile.in files completely replaced. Removed
10315 host/any. Added acinclude.m4 and configure.host.
10316
10317 Sat Jul 11 18:14:49 1998 Felix Lee <flee@cygnus.com>
10318
10319 * libc/stdio/vfprintf.c: enable long long support, sometimes.
10320 * configure.in (*-*-cygwin32): add -DWANT_PRINTF_LONG_LONG.
10321
10322 Tue Jul 7 01:51:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
10323
10324 * libc/machine/sh/strcmp.S, libc/machine/sh/strcpy.S: New files.
10325 * libc/machine/sh/Makefile.in: Add rules for new files.
10326
10327 Tue Jul 7 01:40:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
10328
10329 * libc/machine/sh/asm.h (SL, DELAYED_BRANCHES): Define.
10330 * libc/machine/sh/memset.S (memset): Remove uses of dt; shorten code.
10331 * libc/machine/sh/memcpy.S (SL, DELAYED_BRANCHES): Don't define.
10332
10333 Thu Jul 2 10:33:16 1998 Nick Clifton <nickc@cygnus.com>
10334
10335 * libc/sys/arm/syscalls.c (_exit): Add comment, noting that exit
10336 code is ignored.
10337
10338 Wed Jun 24 13:56:54 1998 Jeff Johnston <jjohnstn@cygnus.com>
10339
10340 * libc/stdio/tmpnam.c (_tmpnam_r): Changed routine to use
10341 internal static buffer when s is NULL, as prescribed by ANSI.
10342
10343 1998-06-22 Vladimir N. Makarov <vmakarov@cygnus.com>
10344
10345 * libc/sys/h8300hms/Makefile.in (OFILES): malloc.o has been
10346 removed.
10347 * libc/sys/h8300hms/malloc.c: has been removed. Now malloc.c from
10348 libc/stdlib will be used for h8300hms.
10349
10350 Thu Jun 18 16:56:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
10351
10352 * libc/machine/mn10300/strlen.S (_strlen): New optimized assembler
10353 version that can be built either for speed or size.
10354 * libc/machine/mn10300/memset.S (_memset): ditto
10355 * libc/machine/mn10300/memchr.S (_memchr): ditto
10356 * libc/machine/mn10300/memcpy.S (_memcpy): ditto
10357 * libc/machine/mn10300/memcmp.S (_memcmp): ditto
10358 * libc/machine/mn10300/strchr.S (_strchr): ditto
10359 * libc/machine/mn10300/strcmp.S (_strcmp): ditto
10360 * libc/machine/mn10300/strcpy.S (_strcpy): ditto
10361 * libc/machine/mn10300/Makefile.in: Added entries for
10362 memchr.o, memcmp.o, memcpy.o, memset.o, strchr.o,
10363 strcmp.o, strcpy.o, and strlen.o.
10364
10365 Wed Jun 17 12:50:26 1998 Mark Alexander <marka@cygnus.com>
10366
10367 * configure.in: Don't use libc/sys/sysmec for MN10200; it's
10368 been replaced with libgloss/mn10200.
10369
10370 Fri Jun 12 14:34:39 1998 Michael Meissner <meissner@cygnus.com>
10371
10372 * libc/string/strchr.c (strchr): Make s a constant pointer to
10373 avoid warning.
10374
10375 Tue Jun 9 16:29:30 1998 Jason Molenda (crash@bugshack.cygnus.com)
10376
10377 * configure.in (target == arm* or thumb*): Define ARM_RDI_MONITOR
10378 instead of ARM_RDP_MONITOR (sys/libc/arm/crt0.S to assume Angel
10379 board SWIs instead of Demon board SWIs).
10380
10381 Thu Jun 4 12:16:46 1998 Michael Meissner <meissner@cygnus.com>
10382
10383 * libc/string/strncat.c (strncat): Make -Os act the same as
10384 PREFER_SIZE_OVER_SPEED being defined.
10385
10386 Wed Jun 3 17:52:33 1998 Michael Meissner <meissner@cygnus.com>
10387
10388 * libc/string/memchr.c (memchr): Make -Os act the same as
10389 PREFER_SIZE_OVER_SPEED being defined.
10390 * libc/string/memcmp.c (memcmp): Ditto.
10391 * libc/string/memcpy.c (memcpy): Ditto.
10392 * libc/string/memset.c (memset): Ditto.
10393 * libc/string/strcat.c (strcat): Ditto.
10394 * libc/string/strchr.c (strchr): Ditto.
10395 * libc/string/strcmp.c (strcmp): Ditto.
10396 * libc/string/strcpy.c (strcpy): Ditto.
10397 * libc/string/strlen.c (strlen): Ditto.
10398 * libc/string/strncat.c (strncat): Ditto.
10399 * libc/string/strncmp.c (strncmp): Ditto.
10400 * libc/string/strncpy.c (strncpy): Ditto.
10401
10402 Mon Jun 1 15:25:07 1998 Geoffrey Noer <noer@cygnus.com>
10403
10404 * libc/include/sys/itimer.h: remove
10405 * libc/include/sys/time.h: itimer stuff should be here
10406
10407 Mon Jun 1 16:31:29 1998 Jeff Johnston <jjohnstn@cygnus.com>
10408
10409 * libc/stdio/vfprintf.c (cvt): Changed code to look at sign
10410 bit instead of comparing to 0 so -0.0 can be printed correctly.
10411
10412 Sat May 30 09:33:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
10413
10414 * libc/stdlib/mprec.c (b2d): Inilialize d in non-VAX case too.
10415
10416 Fri May 29 22:25:10 1998 Geoffrey Noer <noer@cygnus.com>
10417
10418 * libc/include/sys/unistd.h: fix sync() proto
10419 * libc/include/sys/fcntl.h: remove _close which is already
10420 defined in unistd.h.
10421 * libc/include/sys/time.h: add getitimer proto
10422
10423 Fri May 29 16:10:28 1998 Geoffrey Noer <noer@cygnus.com>
10424
10425 * libc/string/strchr.c: convert arg to unsigned char
10426 * libc/include/stdlib.h: add protos for random, srandom
10427 * libc/include/sys/stat.h: add lstat proto
10428 * libc/include/sys/time.h: add setitimer proto
10429 * libc/include/sys/unistd.h: add readlink, symlink protos
10430 * libc/include/process.h: instead of including windows.h and using
10431 HANDLEs in sexec protos, just use void *s. Need to include
10432 sys/types.h.
10433
10434 Fri May 29 03:04:29 1998 Geoffrey Noer <noer@cygnus.com>
10435
10436 * libc/include/sys/fcntl.h: add _close proto for Cygwin32
10437
10438 Thu May 28 16:34:21 1998 Geoffrey Noer <noer@cygnus.com>
10439
10440 * libc/include/process.h: add secure exec protos
10441
10442 Wed May 27 13:54:51 1998 Jeffrey A Law (law@cygnus.com)
10443
10444 * libc/stdlib/dtoa.c (_dtoa_r): Use "double_union" for variables
10445 which are accessed as both doubles and integers.
10446 * libc/stdlib/mprec.c (ulp, b2d, ratio): Likewise.
10447 * libc/stdlib/strtod.c (_strtod_r): Likewise.
10448 * libc/stdlib/mprec.h: Add "union double_union" and change
10449 word0/word1 macros to use it.
10450
10451 Tue May 26 18:04:21 1998 Geoffrey Noer <noer@cygnus.com>
10452
10453 * libc/include/sys/signal.h: add __cplusplus wrapper
10454
10455 Tue May 26 15:10:22 1998 Geoffrey Noer <noer@cygnus.com>
10456
10457 * libc/include/sys/utime.h: new generic file that gets replaced by
10458 libc/sys/SYSDIR/sys/utime.h on systems that support the utime
10459 function.
10460 * sys/cygwin32/sys/utime.h: use _EXFUN in utime proto
10461 * libc/include/time.h: remove duplicate utime proto
10462 * libc/include/utime.h: add comment
10463
10464 Sun May 24 23:56:20 1998 Christopher Faylor <cgf@cygnus.com>
10465
10466 * libc/include/sys/time.h: Add missing include to
10467 allow use of _EXFUN. Remove times function that is
10468 already defined in times.h.
10469
10470 Sun May 24 01:32:14 1998 Christopher Faylor <cgf@cygnus.com>
10471
10472 * libc/include/time.h: Fix typo in tzset.
10473
10474 Fri May 22 17:00:48 1998 Geoffrey Noer <noer@cygnus.com>
10475
10476 * libc/include/sys/time.h: add missing Cygwin32 function protos
10477 * libc/include/sys/unistd.h: ditto
10478 * libc/include/time.h: ditto
10479
10480 Wed May 20 20:35:11 1998 Geoffrey Noer <noer@cygnus.com>
10481
10482 * libc/sys/cygwin32/sys/param.h: add protected NULL def, remove
10483 FIXME.
10484 * libc/include/sys/types.h: add a new __MS_types__ section
10485 to define vm_offset_t, vm_size_t, int32_t et al, register_t,
10486 __BIT_TYPES_DEFINED__.
10487
10488 Wed May 20 18:49:21 1998 Geoffrey Noer <noer@cygnus.com>
10489
10490 * libc/sys/cygwin32/sys/param.h: move here from winsup/include/sys
10491 since it overrides the one in libc/include/sys. Also, start
10492 including types.h.
10493
10494 Wed May 20 14:45:40 1998 Geoffrey Noer <noer@cygnus.com>
10495
10496 * libm/math/Makefile.in: add s_signgam.o to obj list
10497
10498 Tue May 19 11:57:11 1998 Jeff Johnston <jjohnstn@cygnus.com>
10499
10500 * libc/include/sys/reent.h (_REENT_INIT): Initialize current locale to "C".
10501
10502 Mon May 18 22:36:12 1998 Christopher Faylor <cgf@cygnus.com>
10503
10504 * libc/include/sys/signal.h: cygwin32 exports sig{empty,add}set,
10505 so don't use defines.
10506
10507 Mon May 18 19:01:02 1998 Michael Meissner <meissner@cygnus.com>
10508
10509 * libc/sys/d10v/crt0.S: Use correct stab for 16-bit ints.
10510
10511 Sun May 17 18:40:32 1998 Frank Ch. Eigler <fche@cygnus.com>
10512
10513 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Accept a NULL
10514 _current_locale as default locale.
10515
10516 Sat May 16 21:59:59 1998 Bob Manson <manson@charmed.cygnus.com>
10517
10518 * libc/stdlib/mallocr.c (mALLOc): Add explicit tests for
10519 insufficient space in a chunk.
10520
10521 Tue May 12 14:41:01 1998 Jeff Johnston <jjohnstn@cygnus.com>
10522
10523 * configure.in (links): Added check for --enable-newlib-mb configure
10524 option which defines the MB_CAPABLE macro.
10525 * libc/locale/locale.c (_setlocale_r): Added support for setting
10526 LC_CTYPE to "C-JIS", "C-SJIS" or "C-EUCJP", when MB_CAPABLE is
10527 defined.
10528 * libc/stdlib/mbtowc_r.c (_mbtowc_r): New function _mbtowc_r that
10529 implements mbtowc() with multibyte support for JIS, SJIS, and EUC-JP.
10530 * libc/stdlib/wctomb_r.c (_wctomb_r): New function _wctomb_r that
10531 implements wctomb() with multibyte support for JIS, SJIS, and EUC-JP.
10532 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): New function _mbstowcs_r that
10533 implements mbstowcs() with multibyte support for JIS, SJIS, and EUC-JP.
10534 * libc/stdlib/wcstombs_r.c (_wcstombs_r): New function _wcstomb_r that implements
10535 wcstombs() with multibyte support for JIS, SJIS, and EUC-JP.
10536 * libc/stdlib/Makefile.in: Added new multibyte
10537 routines: _mbtowc_r(), _wctomb_r(), _mbstowcs_r(), and _wcstombs_r().
10538 * libc/include/stdlib.h: Added declarations of _mbtowc_r(), _wctomb_r(),
10539 _mbstowcs_r(), and _wcstombs_r().
10540 * libc/stdlib/mbctype.h: New internal header file that contains macros to test
10541 for JIS, SJIS, and EUC-JP characters.
10542 * libc/stdlib/mblen.c (mblen): Added code to call _mbtowc_r() if
10543 MB_CAPABLE defined.
10544 * libc/stdlib/mbtowc.c (mbtowc): Added code to call _mbtowc_r() if
10545 MB_CAPABLE defined.
10546 * libc/stdlib/wctomb.c (wctomb): Added code to call _wctomb_r() if
10547 MB_CAPABLE defined.
10548 * libc/stdlib/mbstowcs.c (mbstowcs): Added code to call _mbstowcs_r()
10549 if MB_CAPABLE defined.
10550 * libc/stdlib/wcstombs.c (wcstombs): Added code to call _wcstombs_r()
10551 if MB_CAPABLE defined.
10552 * libc/stdio/vfscanf.c (__svfscanf): Added multibyte tolerance
10553 to the format string processing when MB_CAPABLE.
10554 * libc/stdio/vfprintf.c (_VFPRINTF_R): Changed mbtowc() call to
10555 call _mbtowc_r().
10556
10557 Tue May 5 16:07:23 1998 Nick Clifton <nickc@cygnus.com>
10558
10559 The following modifications are courtesy of Anthony Thompson,
10560 athompson@cambridge.arm.com:
10561 * libc/sys/arm/syscalls.c: Initialise and track stdin/out/err for
10562 boith RDI and RDP monitors.
10563 * libc/sys/arm/crt0.S: Call initialise_monitor_handles() for both
10564 RDI and RDP monitors.
10565
10566 Wed Apr 29 15:22:15 1998 Jeff Johnston <jjohnstn@cygnus.com>
10567
10568 * configure.in (links): Added -DHAVE_GETTIMEOFDAY for arm and thumb.
10569 * libc/sys/arm/syscalls.c (_gettimeofday _times): Added functions.
10570 (_swiopen): Fixed open flags to treat write with append as just append.
10571 (_swilseek): Fixed lseek support to properly handle offsets from SEEK_END.
10572 * libc/sys/arm/sys/param.h: New file to override param.h for ARM.
10573
10574 Fri Apr 24 18:00:09 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
10575
10576 * libc/machine/sh/memcpy.S (L_odddst, big endian version):
10577 When needing to transfer an initial 2-byte-word, store as
10578 two single bytes.
10579
10580 Wed Apr 22 17:56:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
10581
10582 * libc/sys/sh/crt0.S (start): Handle __SH4_SINGLE_ONLY__ like
10583 __SH3E__ .
10584 * libc/machine/sh/memcpy.S (DELAYED_BRANCHES, SL): Likewise.
10585 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Likewise.
10586
10587 Wed Apr 22 12:28:03 1998 Michael Meissner <meissner@cygnus.com>
10588
10589 * configure.in (target_cflags): If --enable-target-optspace, use
10590 -Os to compile newlib rather than -O2. Default to using -Os for
10591 d10v, d30v and m32r if --{enable,disable}-target-optspace is not
10592 used.
10593
10594 Tue Apr 21 23:13:34 1998 Geoffrey Noer <noer@cygnus.com>
10595
10596 * libc/include/machine/setjmp.h: change sigsetjmp and
10597 siglongjmp definitions to use an array instead of a struct
10598 for __CYGWIN32__
10599
10600 Tue Apr 14 11:47:47 1998 Doug Evans <devans@canuck.cygnus.com>
10601
10602 * libc/reent/impure.c (__ATTRIBUTE_IMPURE_DATA__): Fix spelling.
10603
10604 Mon Apr 6 15:05:08 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
10605
10606 * libc/string/strxfrm.c: fix to get correct return value
10607
10608 Wed Apr 1 16:09:05 1998 Nick Clifton <nickc@cygnus.com>
10609
10610 * libc/sys/arm/crt0.S: Set top of RAM to be 0x800000 for PE
10611 builds. Make mode change labels global so that they will be seen
10612 by the debugger.
10613
10614 Wed Mar 18 09:45:10 1998 Nick Clifton <nickc@cygnus.com>
10615
10616 * configure.in (links): Do not use ARM debiugging protocols for PE
10617 builds.
10618
10619 * libc/sys/arm/syscalls.c (_sbrk): Add "_sbrk: " to error
10620 message.
10621
10622 Fri Mar 13 11:24:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
10623
10624 * libc/stdio/findfp.c (__sinit): Made stdout default to
10625 line buffered mode as defined by ANSI.
10626
10627 Tue Mar 10 11:41:26 1997 Bob Manson <manson@charmed.cygnus.com>
10628
10629 * libc/include/sys/itimer.h: New file.
10630
10631 * libc/signal/signal.c (__sigtramp_r,__sigtramp): New functions.
10632
10633 Mon Mar 9 14:19:26 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
10634
10635 * libc/machine/sh/memcpy.S: (_memcpy): Fix for execute/memcpy-1.c
10636 failure.
10637
10638 Fri Feb 27 13:56:10 1998 Michael Meissner <meissner@cygnus.com>
10639
10640 * libc/machine/d30v/setjmp.S (longjmp): Fix order of parallel
10641 insns.
10642
10643 Wed Feb 25 09:29:54 1998 Nick Clifton <nickc@cygnus.com>
10644
10645 * libc/sys/arm/syscalls.c (_open): Add varags to conform to prototype.
10646
10647 Tue Feb 24 18:00:13 1998 Michael Meissner <meissner@cygnus.com>
10648
10649 * libc/machine/d30v/{setjmp.S,Makefile.in}: New files for D30V
10650 support.
10651
10652 * libc/include/machine/setjmp.h: Add D30V support.
10653
10654 * configure.in (d30v-*): Add d30v machine directory.
10655
10656 Mon Feb 23 09:32:58 1998 Mark Alexander <marka@cygnus.com>
10657
10658 * configure.in: Don't use libc/sys/sysmec for MN10300; it's
10659 been replaced with libgloss/mn10300.
10660
10661 Sat Feb 21 17:44:43 1998 Geoffrey Noer <noer@cygnus.com>
10662
10663 * libc/stdlib/mallocr.c: remove __malloc_copy routine now that
10664 it is no longer needed.
10665
10666 Thu Feb 19 16:15:10 1998 Geoffrey Noer <noer@cygnus.com>
10667
10668 * libc/include/sys/signal.h: add sigpause proto for Cygwin32
10669
10670 Wed Feb 18 23:51:08 1998 Geoffrey Noer <noer@cygnus.com>
10671
10672 * libc/stdio/fdopen.c (fdopen): Make all writes go to the end of
10673 the file when O_APPEND is set, wherever the EOF happens to be at
10674 that time.
10675
10676 Wed Feb 18 23:25:02 1998 Geoffrey Noer <noer@cygnus.com>
10677
10678 patch from cgf@bbc.com (Christopher Faylor):
10679 * libc/stdio/freopen.c (freopen): Conform to standard UNIX
10680 convention of closing fp prior to attempting to open the file
10681 argument. This allows correct operation when reopening
10682 stdin/stdout/stderr. Replaces last freopen.c patch.
10683
10684 Wed Feb 18 16:27:40 1998 Geoffrey Noer <noer@cygnus.com>
10685
10686 patch from cgf@bbc.com (Christopher Faylor):
10687 * libc/stdio/freopen.c: freopen was not preserving the fd
10688 of the stream being operated on. This confuses programs that
10689 expect that the handles for stdout and stderr will be 1 and 2.
10690
10691 Mon Feb 16 23:34:07 1998 Andrew Cagney <cagney@b1.cygnus.com>
10692
10693 * libc/sys/d10v/crt0.S (_start): Set PSW{SW} - select SPU.
10694
10695 Thu Feb 12 15:09:20 1998 Ranjith Kumaran <ranjith@cygnus.com>
10696
10697 * libc/sys/go32/longjmp.S: Fix longjmp to not return 0.
10698
10699 Wed Feb 11 17:50:45 1998 Jeff Johnston <jjohnstn@cygnus.com>
10700
10701 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Alignment code
10702 altered to not use a branch. Also added hint that last
10703 bclr in longjmp will likely result in branch.
10704
10705
10706 Mon Feb 9 03:44:02 1998 Geoffrey Noer <noer@cygnus.com>
10707
10708 * libc/sys/cygwin32/crt0.c: add missing args to main() extern
10709
10710 Fri Feb 6 16:32:32 1998 Nick Clifton <nickc@cygnus.com>
10711
10712 * libc/sys/sysnecv850/crt0.S (_start): Initialise _ctbp even for
10713 v850 builds.
10714
10715 * configure.in: Add -msmall-sld to target_cflags for v850 builds.
10716
10717 Wed Feb 4 16:56:20 1998 Jeff Johnston <jjohnstn@cygnus.com>
10718
10719 * libc/machine/powerpc/setjmp.S (longjmp): Fixed code
10720 that loads FR14 to specify offset of 8 rather than 4
10721 so it loads from offset 96 (where setjmp stored it).
10722
10723 Tue Feb 3 18:08:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
10724
10725 * libc/machine/sh/memcpy.S: (_memcpy): Update to
10726 latest version supplied by customer.
10727 * libc/machine/sh/memset.S (_memset): Ditto.
10728
10729 Mon Feb 2 16:20:39 1998 Nick Clifton <nickc@cygnus.com>
10730
10731 * libc/sys/sysnecv850/Makefile.in (OFILES): Add link.o (for
10732 PR14730).
10733
10734 Mon Feb 2 15:13:26 1998 Geoffrey Noer <noer@cygnus.com>
10735
10736 * libc/include/string.h: remove redefinition of ffs
10737
10738 Wed Jan 28 13:30:14 1998 Geoffrey Noer <noer@cygnus.com>
10739
10740 * libc/include/sys/signal.h: include _ansi.h so _EXFUN is
10741 defined
10742
10743 Wed Jan 28 10:38:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
10744
10745 * libc/machine/tic80/setjmp.S: Adding _setjmp to allow
10746 TI Libraries to link to libc.a
10747
10748 Sat Jan 24 10:15:56 1998 Michael Meissner <meissner@cygnus.com>
10749
10750 * libc/include/sys/fcntl.h (_open,_fcntl): Add prototypes.
10751 * libc/include/sys/stat.h (_{,f}stat): Ditto.
10752 * libc/include/sys/wait.h (_wait): Ditto.
10753 * libc/include/sys/unistd.h (_close,_fork,_getpid): Ditto.
10754 (_link,_lseek,_read,_sbrk,_unlink,_write): Ditto.
10755
10756 Fri Jan 23 11:32:10 1998 Michael Meissner <meissner@cygnus.com>
10757
10758 * libc/machine/d10v/setjmp.S: Change to new ABI. Add simple
10759 minded stabs so function name shows up when running the simulator
10760 with -t.
10761 * libc/sys/d10v/{crt0,trap}.S: Ditto.
10762
10763 Thu Jan 22 15:57:14 1998 Fred Fish <fnf@cygnus.com>
10764
10765 * libc/sys/d10v/trap.S: Change syscalls to use trap 15.
10766 * libc/sys/d10v/crt0.S: Use R6 where we used to use R2.
10767 Use R5 where we used to use R3.
10768
10769 Wed Jan 21 14:22:23 1998 Bill Moyer <billm@cygnus.com>
10770
10771 * libc/stdlib/getopt.c (getopt): replaced __progname
10772 with nargv[0] to improve portability to imbedded systems.
10773
10774 Thu Jan 15 12:32:38 1998 Nick Clifton <nickc@cygnus.com>
10775
10776 * libc/sys/arm/syscalls.c (initialise_angel_handles): Applied
10777 patch supplied by Tont.Thompson@arm.com to fix the creation of the
10778 stdout file.
10779
10780 Wed Jan 14 13:00:19 1998 Ian Lance Taylor <ian@cygnus.com>
10781
10782 * libc/stdio/tmpnam.c (worker): Generate a different file name
10783 each time.
10784
10785 * libc/posix/popen.c (popen): If __CYGWIN32__, and execing /bin/sh
10786 fails, try an execlp for sh.
10787
10788 * host/any (INCLUDES): If target_os is cygwin32, then add a -I
10789 option for the winsup include directory.
10790
10791 Wed Jan 7 17:02:58 1998 Nick Clifton <nickc@cygnus.com>
10792
10793 * libc/sys/arm/syscalls.c: Applied patches for Angel based remote
10794 debugging interface from Tony.Thompson@arm.com.
10795
10796 * libc/sys/arm/crt0.S (_mainCRTStartup): ditto.
10797 * libc/sys/arm/swi.h: ditto.
10798
10799 Tue Jan 6 14:15:10 1998 Geoffrey Noer <noer@cygnus.com>
10800
10801 * libc/sys/cygwin32/sys/dirent.h: add __d_dirhash field to
10802 DIR struct used for readdir hashes.
10803
10804 Thu Jan 1 11:22:22 1998 Jeffrey A Law (law@cygnus.com)
10805
10806 * libc/string/strchr.c: Use "unsigned chars" as necessary.
10807
10808 Wed Dec 31 04:25:30 1997 Jeffrey A Law (law@cygnus.com)
10809
10810 * libc/stdlib/mallocr.c (idx2binblock): Don't lose on 16bit
10811 integer targets.
10812
10813 Sat Dec 13 15:11:06 1997 Ian Lance Taylor <ian@cygnus.com>
10814
10815 * libc/stdlib/mallocr.c (__malloc_copy): New function, compiled if
10816 INTERNAL_NEWLIB and __CYGWIN32__ and DEFINE_MALLOC.
10817 * libc/include/malloc.h: Add extern "C" if __cplusplus.
10818 (__malloc_copy): Declare.
10819
10820 Wed Dec 10 12:15:54 1997 Ian Lance Taylor <ian@cygnus.com>
10821
10822 * libc/stdlib/mallocr.c: If INTERNAL_NEWLIB, include
10823 <sys/config.h>.
10824 (POINTER_UINT): Define.
10825 (DEFAULT_TRIM_THRESHOLD): Mark constants as long.
10826 (MALLOC_ALIGNMENT): Don't define if already defined.
10827 (malloc_extend_top): Cast pointers to POINTER_UINT, not unsigned
10828 long.
10829
10830 Tue Dec 9 19:23:42 1997 Michael Meissner <meissner@cygnus.com>
10831
10832 * libc/string/memset.c (memset): Fiddle with code so that the long
10833 value being stored is not a stack value. Unroll storing longs 4
10834 times.
10835
10836 Tue Dec 9 14:13:18 1997 Jeff Johnston <jjohnstn@cygnus.com>
10837
10838 * Reduce code size for libm modules.
10839 * libm/math/w_sqrt.c (sqrt): Remove call to kernel_standard
10840 and simply move code into sqrt.
10841 * libm/math/wrf_lgamma.c (lgammaf_r): Likewise.
10842 * libm/math/wr_lgamma.c (lgamma_r): Likewise.
10843 * libm/math/wrf_gamma.c (gammaf_r): Likewise.
10844 * libm/math/wr_gamma.c (gamma_r): Likewise.
10845 * libm/math/wf_sinh.c (sinfh): Likewise.
10846 * libm/math/w_sinh.c (sinh): Likewise.
10847 * libm/math/wf_scalb.c (scalbf): Likewise.
10848 * libm/math/w_scalb.c (scalb): Likewise.
10849 * libm/math/wf_remainder.c (remainderf): Likewise.
10850 * libm/math/w_remainder.c (remainder): Likewise.
10851 * libm/math/wf_pow.c (powf): Likewise.
10852 * libm/math/w_pow.c (pow): Likewise.
10853 * libm/math/wf_log10.c (log10f): Likewise.
10854 * libm/math/w_log10.c (log10): Likewise.
10855 * libm/math/wf_log.c (logf): Likewise.
10856 * libm/math/w_log.c (log): Likewise.
10857 * libm/math/w_lgamma.c (lgamma): Likewise.
10858 * libm/math/wf_lgamma.c (lgammaf): Likewise.
10859 * libm/math/wf_jn.c (jnf): Likewise.
10860 * libm/math/w_jn.c (jn): Likewise.
10861 * libm/math/wf_j1.c (j1f): Likewise.
10862 * libm/math/w_j1.c (j1): Likewise.
10863 * libm/math/wf_j0.c (j0f): Likewise.
10864 * libm/math/w_j0.c (j0): Likewise.
10865 * libm/math/wf_hypot.c (hypotf): Likewise.
10866 * libm/math/w_hypot.c (hypot): Likewise.
10867 * libm/math/wf_gamma.c (gammaf): Likewise.
10868 * libm/math/w_gamma.c (gamma): Likewise.
10869 * libm/math/wf_fmod.c (fmodf): Likewise.
10870 * libm/math/w_fmod.c (fmod): Likewise.
10871 * libm/math/wf_exp.c (expf): Likewise.
10872 * libm/math/w_exp.c (exp): Likewise.
10873 * libm/math/wf_cosh.c (coshf): Likewise.
10874 * libm/math/w_cosh.c (cosh): Likewise.
10875 * libm/math/wf_atanh.c (atanhf): Likewise.
10876 * libm/math/w_atanh.c (atanh): Likewise.
10877 * libm/math/wf_atan2.c (atan2f): Likewise.
10878 * libm/math/w_atan2.c (atan2): Likewise.
10879 * libm/math/wf_asin.c (asinf): Likewise.
10880 * libm/math/w_asin.c (asin): Likewise.
10881 * libm/math/wf_acosh.c (acoshf): Likewise.
10882 * libm/math/w_acosh.c (acosh): Likewise.
10883 * libm/math/wf_acos.c (asocf): Likewise.
10884 * libm/math/w_acos.c (acos): Likewise.
10885 * libm/math/wf_sqrt.c (sqrtf): Likewise.
10886 * libm/math/k_standard.c (_k_standard): Don't require SVID behavior
10887 for embedded systems.
10888
10889 Mon Dec 8 12:12:58 1997 Ian Lance Taylor <ian@cygnus.com>
10890
10891 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from Doug
10892 Lea in case of a foreign sbrk.
10893
10894 Fri Dec 5 23:27:28 1997 Ian Lance Taylor <ian@cygnus.com>
10895
10896 Incorporate Doug Lea's malloc:
10897 * libc/stdlib/mallocr.c: Completely replaced.
10898 * libc/stdlib/malloc.c: Document malloc_usable_size and memalign.
10899 (realloc): Remove.
10900 * libc/stdlib/calloc.c (calloc): Just call _calloc_r.
10901 * libc/stdlib/mstats.c: Document mallinfo, malloc_stats, and
10902 mallopt.
10903 (mallinfo, malloc_stats, mallopt): New functions.
10904 (_mstats_r): Just call _malloc_stats_r.
10905 * libc/stdlib/malign.c: New file.
10906 * libc/stdlib/mlock.c: New file.
10907 * libc/stdlib/msize.c: New file.
10908 * libc/stdlib/mtrim.c: New file.
10909 * libc/stdlib/realloc.c: New file.
10910 * libc/stdlib/valloc.c: New file.
10911 * libc/stdlib/malloc.h: Remove.
10912 * libc/stdlib/callocr.c: Remove.
10913 * libc/stdlib/Makefile.in (OFILES): Add cfreer.o, freer.o,
10914 malign.o, malignr.o, mallinfor.o, malloptr.o, mallstatsr.o,
10915 mlock.o, msize.o, msizer.o, mtrim.o, pvallocr.o, realloc.o,
10916 reallocr.o, valloc.o, vallocr.o.
10917 (CHEWOUT_FILES): Add mlock.def, mstats.def.
10918 (MALLOC_CFLAGS): New variable.
10919 (mallocr.o): New target, build from mallocr.c.
10920 (freer.o, reallocr.o, callocr.o, cfreer.o, malignr.o): Likewise.
10921 (vallocr.o, pvallocr.o, mallinfor.o, mallstatsr.o): Likewise.
10922 (msizer.o, malloptr.o): Likewise.
10923 (malign.o, mlock.o, msize.o, mtrim.o, realloc.o): New targets.
10924 (valloc.o): New target.
10925 * libc/stdlib/stdlib.tex: Include mlock.def and mstats.def.
10926 * libc/include/malloc.h: Declare struct mallinfo, and new
10927 routines.
10928 * libc/include/stdlib.h (cfree): Correct declaration.
10929
10930 Tue Dec 2 10:12:16 1997 Nick Clifton <nickc@cygnus.com>
10931
10932 * libc/include/machine/setjmp.h: Add support for Thumb target.
10933
10934 * libc/include/machine/ieeefp.h: Add support for Thumb target.
10935
10936 * configure.in (links): Add support for Thumb target.
10937
10938 Wed Nov 26 09:56:17 1997 Nick Clifton <nickc@cygnus.com>
10939
10940 * libc/sys/arm/setjmp.S: Updated with version from branch.
10941
10942 Thu Nov 20 01:21:43 1997 Geoffrey Noer <noer@cygnus.com>
10943
10944 * libc/include/stdio.h: add POSIX-required define L_ctermid
10945 for ctermid
10946
10947 Wed Nov 19 16:11:40 1997 Michael Meissner <meissner@cygnus.com>
10948
10949 * configure.in (d30v-*-*): Define ABORT_MESSAGE, SMALL_MEMORY, in
10950 addition to MISSING_SYSCALL_NAMES.
10951
10952 Mon Nov 17 20:05:05 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
10953
10954 * libc/include/sys/config.h: (UINT_MAX, for D10V): Make unsigned.
10955
10956 Mon Nov 10 22:26:55 1997 Geoffrey Noer <noer@cygnus.com>
10957
10958 * libc/include/string.h: change strsignal proto to return
10959 a char *. This eliminates compile problems in gdb resulting
10960 from gdb's definition of strsignal in defs.h.
10961
10962 Mon Nov 10 17:11:08 1997 Geoffrey Noer <noer@cygnus.com>
10963
10964 * libc/sys/cygwin32/sys/utime.h: new (moved here from
10965 winsup/include) so as not to conflict with the one in
10966 libc/include.
10967 * libc/include/string.h: add protos for strsignal, strtosigno
10968
10969 Mon Nov 10 13:49:54 1997 Michael Meissner <meissner@cygnus.com>
10970
10971 * libc/include/sys/config.h: Define __IEEE_BIG_ENDIAN if d30v.
10972
10973 * configure.in (d30v-*-*): Add configuration.
10974
10975 Thu Oct 30 14:01:23 1997 Nick Clifton <nickc@cygnus.com>
10976
10977 * configure.in (links): Add -DARM_RD[P|I]_MONITOR to target_cflags
10978 to select which kind of debug monitor is in use for an ARM target.
10979
10980 * libc/sys/arm/crt0.S: New version: Supports Thumb startups and
10981 Angel and Demon debug monitors. Part of this code was supplied by
10982 Tony Thompson at ARM: athompso@arm.com.
10983
10984 Fri Oct 24 18:57:05 1997 Jeffrey A Law (law@cygnus.com)
10985
10986 * strncat.c (strncat): Don't call strncpy; strncay has the wrong
10987 semantics when the count is greater than the length of the second
10988 source string.
10989
10990 Thu Oct 23 01:37:41 1997 Geoffrey Noer <noer@cygnus.com>
10991
10992 * libc/include/sys/signal.h: reorder CYGWIN32 signal numbers
10993 * libc/include/sys/unistd.h: add protos for usleep, truncate,
10994 truncate and ftruncate take off_t, not size_t
10995
10996 Tue Oct 21 18:42:00 1997 Jim Wilson <wilson@cygnus.com>
10997
10998 * libc/string/strcat.c (strcat): Add missing comment end.
10999 * libc/string/strncat.c (strncat): Likewise.
11000
11001 Tue Oct 21 17:23:34 1997 Nick Clifton <nickc@cygnus.com>
11002
11003 * configure.in (links): Define PREFER_SIZE_OVER_SPEED for v850
11004 targets.
11005 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Add space
11006 optimised version which is selected if PREFER_SIZE_OVER_SPEED is
11007 defined.
11008 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
11009 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
11010 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
11011
11012 Mon Oct 13 15:12:35 1997 Ian Lance Taylor <ian@cygnus.com>
11013
11014 * libc/include/sys/param.h (BIG_ENDIAN): Define if __i386__.
11015 (LITTLE_ENDIAN, BYTE_ORDER): Likewise.
11016
11017 Thu Oct 9 13:54:44 1997 Doug Evans <dje@canuck.cygnus.com>
11018
11019 * libc/machine/i386/setjmp.S: New file.
11020 * libc/machine/i386/Makefile.in: Delete COPYOFILES.
11021 (OFILES): Add setjmp.o.
11022 (setjmp.o): Add rule for.
11023 * configure.in: Don't set machine_dir for *-*-{go32,sco*,cygwin32}.
11024
11025 Tue Oct 7 14:01:29 1997 Bill Moyer (billm@cygnus.com)
11026 Jeffrey A Law (law@cygnus.com)
11027
11028 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Reimplement to run faster.
11029 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
11030 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
11031 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
11032
11033 Mon Oct 6 14:07:59 1997 Nick Clifton <nickc@cygnus.com>
11034
11035 * libc/sys/sysnecv850/Makefile.in (crt0.o trap.o): Explicit
11036 rules.
11037
11038 * libc/include/sys/config.h: Use __v850 to select v850
11039 endianness.
11040
11041 * libc/include/machine/setjmp.h: Use __v850 to select v850 jump
11042 buffer size.
11043
11044 * libc/include/machine/ieeefp.h: Use __v850 to select v850
11045 endianness.
11046
11047 Thu Sep 25 14:11:37 1997 Geoffrey Noer <noer@cygnus.com>
11048
11049 * libc/stdlib/setenv.c: change unsetenv definition to match
11050 style of setenv (with _DEFUN). The string should be a const.
11051 * libc/include/stdlib.h: unsetenv proto should return void.
11052
11053 Tue Sep 23 18:17:20 1997 Geoffrey Noer <noer@cygnus.com>
11054
11055 * libc/include/stdlib.h: define unsetenv proto for __CYGWIN32__
11056
11057 Thu Sep 18 12:50:15 1997 Angela Marie Thomas (angela@cygnus.com)
11058
11059 * libc/stdio/glue.h: remove.
11060 * libc/stdio/findfp.c, libc/stdio/fwalk.c: remove #include "glue.h"
11061 * libc/stdio/Makefile.in: remove glue.h dependencies
11062
11063 Wed Sep 17 17:42:27 1997 Nick Clifton <nickc@cygnus.com>
11064
11065 * libc/sys/sysnecv850/crt0.S: Created V850e version.
11066
11067 Tue Sep 9 10:40:57 1997 Doug Evans <dje@canuck.cygnus.com>
11068
11069 * configure.in (target_cpu): Add `arc'.
11070
11071 Tue Sep 9 10:40:42 1997 Joel Sherrill <joel@OARcorp.com>
11072
11073 * newlib/configure.in (*-*-rtems*): Add -DSIGNAL_PROVIDED and
11074 -DREENTRANT_SYSCALLS_PROVIDED to the target_cflags.
11075 * newlib/libc/include/sys/errno.h: Add ENOTSUP.
11076 * newlib/libc/reent/reent.c: Add _wrapup_reent.
11077 * newlib/libc/sys/rtems/sys/types.h: Avoid redefinitions for go32.
11078
11079 Sun Sep 7 16:41:41 1997 Gavin Koch <gavin@cygnus.com>
11080
11081 * libc/machine/mips/setjmp.S: Handle mips16 builds.
11082
11083 Thu Aug 21 20:05:38 1997 Ian Lance Taylor <ian@cygnus.com>
11084
11085 * libc/include/stdio.h (siprintf): Declare.
11086
11087 Mon Aug 18 11:19:13 1997 Nick Clifton <nickc@cygnus.com>
11088
11089 * libc/sys/sysnecv850/Makefile.in (.c.o): Add rule that includes
11090 TARGET_CFLAGS and NEWLIB_FLAGS.
11091
11092 Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
11093
11094 * configure.in (links): Add support for v850ea target.
11095
11096 Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
11097
11098 * configure.in (links): Add support for v850e target.
11099
11100 Wed Aug 13 19:16:54 1997 Nick Clifton <nickc@cygnus.com>
11101
11102 * libc/sys/sysnecv850/crt0.S: Remove initial setting of r0 to 0.
11103
11104 Mon Aug 11 15:49:54 1997 Doug Evans <dje@canuck.cygnus.com>
11105
11106 * configure.in (arc-*-*): Add support for.
11107 * libc/include/machine/ieeefp.h (__arc__): Add support for the ARC.
11108
11109 Fri Jul 25 17:37:41 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
11110
11111 * libc/sys/sh/crt0.S (start): Add fpscr initialization for SH4.
11112
11113 Thu Jul 24 18:32:17 1997 Geoffrey Noer <noer@cygnus.com>
11114
11115 * libc/stdlib/bsearch.c (bsearch): remove last unneeded
11116 comparison which accesses invalid memory when the key is
11117 larger than the last member of the array.
11118 * libc/include/machine/setjmp.h: add sigsetjmp, siglongjmp
11119 for CYGWIN32
11120 * libc/include/sys/unistd.h: add _POSIX defines for CYGWIN32
11121
11122 Tue Jul 22 16:03:06 1997 Ian Lance Taylor <ian@cygnus.com>
11123
11124 * libc/include/stdlib.h (realpath): Declare if __CYGWIN32__ and
11125 not _STRICT_ANSI.
11126
11127 Thu Jul 10 15:11:52 1997 Doug Evans <dje@canuck.cygnus.com>
11128
11129 * libm/math/k_standard.c (__kernel_standard): Call fflush(stdout)
11130 ifndef _USE_WRITE, instead of ifdef _USE_WRITE.
11131
11132 Thu Jul 10 16:00:09 1997 Mike Meissner <meissner@cygnus.com>
11133
11134 * libc/machine/tic80/setjmp.S (setjmp,longjmp): Use ld.d and st.d
11135 to load/store memory.
11136
11137 Mon Jul 7 17:38:17 1997 Ian Lance Taylor <ian@cygnus.com>
11138
11139 * libc/include/sys/fcntl.h: Define _O_* symbols with leading
11140 underscores if _WIN32.
11141
11142 Wed Jul 2 10:07:20 1997 Doug Evans <dje@canuck.cygnus.com>
11143
11144 * libm/math/k_standard.c (__kernel_standard): Delete reentrancy
11145 support ifdef _USE_WRITE missed in last change.
11146 From Anders Blomdell <anders.blomdell@control.lth.se>.
11147
11148 Wed Jun 25 10:18:49 1997 Doug Evans <dje@canuck.cygnus.com>
11149
11150 * libc/stdio/tmpnam.c (worker): Handle _open_r being stubbed out.
11151 (_tmpnam_r, _tempnam_r): Update.
11152
11153 Wed Jun 25 00:16:55 1997 Mark Alexander <marka@cygnus.com>
11154
11155 * libc/machine/sparc/setjmp.S: New file.
11156 * libc/machine/sparc/Makefile.in: Add setjmp.
11157 * libc/include/machine/setjmp.h: Increase jmpbuf size for sparc.
11158
11159 Tue Jun 24 23:27:38 1997 Mark Alexander <marka@cygnus.com>
11160
11161 * libc/include/machine/setjmp.h: Use __TIC80__ instead of __tic80__.
11162
11163 Tue Jun 24 14:53:40 1997 Doug Evans <dje@canuck.cygnus.com>
11164
11165 From Joel Sherrill <joel@oarcorp.com>.
11166 * libc/stdlib/getenv.c (_findenv): Avoid dereferencing null `environ'.
11167
11168 Add rtems support. From Joel Sherrill <joel@oarcorp.com>.
11169 * configure.in: Recognize *-*-rtems*.
11170 * libc/sys/rtems/{Makefile.in,crt0.c,dummysys.c}: New files.
11171 * libc/sys/rtems/sys/{features.h,sched.h,siginfo.h,signal.h,
11172 time.h,times.h,types.h}: New files.
11173 * libc/sys/rtems/include/{limits.h,signal.h,time.h}. New files.
11174
11175 Fri Jun 20 11:13:16 1997 Geoffrey Noer <noer@cygnus.com>
11176
11177 patch from sos@prospect.com.ru (Sergey Okhapkin):
11178 * include/sys/wait.h: correct operator precidence bug
11179 in WIFSIGNALED
11180
11181 Wed Jun 18 22:08:27 1997 Geoffrey Noer <noer@cygnus.com>
11182
11183 * libc/include/stdlib.h: remove unsetenv proto since it conflicts
11184 with newlib's unsetenv function
11185 * libc/sys/cygwin32/sys: new directory for includes
11186 * libc/sys/cygwin32/sys/dirent.h: move cygwin32's dirent.h
11187 here from winsup/include/sys
11188
11189 Mon Jun 16 21:02:22 1997 Geoffrey Noer <noer@cygnus.com>
11190
11191 * libc/include/sys/unistd.h: _exit should only be
11192 labelled noreturn when not __CYGWIN32__
11193 * libc/include/stdlib.h: for __CYGWIN32__, add proto for unsetenv
11194 * libc/include/sys/signal.h: add SIGIO to _WIN32 list and
11195 increment NSIG
11196
11197 Thu Jun 12 18:52:41 1997 Ian Lance Taylor <ian@cygnus.com>
11198
11199 * libc/include/sys/time.h: Only define timeval and timezone if
11200 _GNU_H_WINDOWS32_SOCKETS is not defined.
11201 * libc/include/sys/stat.h: If _WIN32, define _S_IFMT, etc.
11202
11203 Wed Jun 11 09:46:26 1997 Jeffrey A Law (law@cygnus.com)
11204
11205 * libc/machine/mn10200/setjmp.S: Implement setjmp/longjmp
11206 * libc/machine/mn10300/setjmp.S: Likewise.
11207
11208 * libc/sys/sysmec/crt0.S: Use "call" instead of "calls" for
11209 the mn10300 (more relaxing opportunities).
11210
11211 Tue Jun 10 17:24:45 1997 Mike Meissner <meissner@cygnus.com>
11212
11213 * configure.in (powerpc*-*-{eabi,elf,linux,rtems,sysv,solaris}):
11214 Build libraries with -mstrict-align.
11215
11216 Fri Jun 6 14:07:59 1997 Ian Lance Taylor <ian@cygnus.com>
11217
11218 * libc/string/strlwr.c: New file.
11219 * libc/string/strupr.c: New file.
11220 * libc/include/string.h: Declare strlwr and strupr.
11221 * libc/string/Makefile.in (OFILES): Add strlwr.o and strupr.o.
11222 (CHEWOUT_FILES): Add strlwr.def and strupr.def.
11223 (strlwr.o, strupr.o): New targets.
11224 * libc/string/strings.tex: Include strlwr and strupr docs.
11225
11226 * libc/include/sys/types.h: Don't define u_char, et. al., if
11227 _GNU_H_WINDOWS32_SOCKETS is defined. Likewise for fd_set,
11228 et. al. Make FD_SETSIZE default 64 rather than 60. Define
11229 _types_fd_set rather than fd_set, and define fd_set as a macro.
11230
11231 * libc/include/malloc.h: New file.
11232
11233 * libc/include/string.h: Define strcmpi, stricmp, strncmpi, and
11234 strnicmp if they are not already defined.
11235
11236 * libc/include/time.h: If __CYGWIN32__, declare tzset and define
11237 _timezone, _daylight, and _tzname.
11238
11239 Wed Jun 4 12:51:16 1997 Doug Evans <dje@canuck.cygnus.com>
11240
11241 * configure.in: Sort all configuration tables.
11242
11243 From Joel Sherrill <joel@oarcorp.com>
11244 * Makefile.in (stmp-targ-include): Copy $(sys_dir)/include/*.h.
11245
11246 Tue Jun 3 14:47:46 1997 Ian Lance Taylor <ian@cygnus.com>
11247
11248 * libc/include/sys/signal.h: Don't include <sys/types.h>. Just
11249 use int when declaring kill.
11250
11251 * libc/include/sys/timeb.h: New file.
11252
11253 Mon Jun 2 12:06:58 1997 Geoffrey Noer <noer@cirdan.cygnus.com>
11254
11255 * libc/include/sys/time.h: add itimer support for Cygwin32
11256
11257 Mon May 19 11:56:46 1997 Mike Meissner <meissner@cygnus.com>
11258
11259 * libc/stdlib/abort.c (abort): If ABORT_MESSAGE is defined, write
11260 out a message that abort was called to stderr.
11261
11262 Fri May 16 15:02:59 1997 Bob Manson <manson@charmed.cygnus.com>
11263
11264 * libc/sys/sysmec/fstat.c (_fstat): Set st_blksize to 4096
11265 so that libio doesn't freak.
11266
11267 * libc/sys/sysmec/sbrk.c (_sbrk): The argument is a size_t, not
11268 int.
11269
11270 * libc/stdlib/mallocr.c (_morecore_r): Use size_t for
11271 memory sizes, not int.
11272
11273 Wed May 14 21:16:58 1997 Bob Manson <manson@charmed.cygnus.com>
11274
11275 * libm/math/ef_hypot.c: Use long constants where
11276 appropriate.
11277 * libm/math/ef_sqrt.c: Ditto.
11278
11279 * libc/sys/sysmec/times.c(_times): Change to times.
11280
11281 * libc/sys/sysmec/read.c(_read): The third argument is
11282 size_t.
11283 * libc/sys/sysmec/write.c (_write): Ditto.
11284
11285 * libc/sys/sysmec/lseek.c: Include unistd.h for off_t.
11286 (_lseek): It's off_t for the second argument.
11287
11288 Wed May 14 15:23:36 1997 Mike Meissner <meissner@cygnus.com>
11289
11290 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN): Define here,
11291 as well as machine/ieeefp.h.
11292
11293 Thu May 8 15:47:25 1997 Geoffrey Noer <noer@cygnus.com>
11294
11295 * libc/include/sys/signal.h: add signal protos for winsup
11296 functions (when __CYGWIN32__), include types.h
11297 * libc/include/sys/types.h: Change __go32_types__ internal
11298 define to __MS_types__ since it's used for more than just
11299 GO32 configs. Define this if GO32, __MSDOS__, or _WIN32 are
11300 defined.
11301 * libc/include/sys/unistd.h: add ftruncate proto for
11302 winsup functions (when __CYGWIN32__)
11303
11304 Fri Apr 25 10:10:16 1997 Doug Evans <dje@canuck.cygnus.com>
11305
11306 * libc/sys/h8300hms/sbrk.c (stack_ptr): Add definition.
11307
11308 Thu Apr 24 15:46:51 1997 Mike Stump <mrs@cygnus.com>
11309
11310 * libc/include/machine/setjmp.h: Add tic80 support.
11311 * libc/machine/tic80/setjmp.S: Likewise.
11312
11313 Tue Apr 22 16:54:40 1997 Geoffrey Noer <noer@pizza.cygnus.com>
11314
11315 * libc/sys/cygwin32/crt0.c: Add reference to main() so we can
11316 link programs from libraries only (such as in the X11
11317 distribution)
11318
11319 Mon Apr 21 15:02:12 1997 Fred Fish <fnf@cygnus.com>
11320
11321 * libc/sys/arm/syscalls.c (signal): Remove stub, signal()
11322 supplied elsewhere in newlib.
11323
11324 Mon Apr 14 16:25:55 1997 Ian Lance Taylor <ian@cygnus.com>
11325
11326 * Makefile.in (INSTALL): Change install.sh to install-sh.
11327
11328 Fri Apr 11 17:04:02 1997 Jason Molenda (crash@godzilla.cygnus.co.jp)
11329
11330 * README: update WWW address for on-line documentation.
11331
11332 Wed Apr 9 00:38:13 1997 Geoffrey Noer <noer@cygnus.com>
11333
11334 * libc/include/sys/signal.h: for _WIN32, define SIGCONT and
11335 increment NSIG
11336
11337 Mon Apr 7 23:54:00 1997 Jeffrey A Law (law@cygnus.com)
11338
11339 * libc/sys/sysmec/crt0.S: Update for new calling conventions on the
11340 mn10300.
11341 * libc/sys/sysmec/trap.S: Don't compare a register to itself.
11342
11343 Tue Mar 25 08:47:43 1997 Jeffrey A Law (law@cygnus.com)
11344
11345 * libc/sys/arm/syscalls.c: Fix/add stack/heap collision detection.
11346 * libc/sys/d10v/syscalls.c: Likewise.
11347 * libc/sys/h8300hms/sbrk.c: Likewise.
11348 * libc/sys/h8500hms/syscalls.c: Likewise.
11349 * libc/sys/m88kbug/syscalls.c: Likewise.
11350 * libc/sys/sh/syscalls.c: Likewise.
11351 * libc/sys/sysmec/sbrk.c: Likewise.
11352 * libc/sys/sysnecv850/sbrk.c: Likewise.
11353 * libc/sys/w65/syscalls.c: Likewise.
11354 * libc/sys.tex: Update sbrk sample code to include stack/heap collision.
11355
11356 Tue Mar 18 14:14:34 1997 Jeffrey A Law (law@cygnus.com)
11357
11358 * libc/sys/sysmec/trap.S: Use "syscall" to trigger an
11359 emulated syscall instead of "trap".
11360
11361 Fri Mar 14 11:26:13 1997 Michael Meissner <meissner@cygnus.com>
11362
11363 * libc/sys/d10v/trap.S (__trap0): Use trap 15 for system calls,
11364 not trap 0.
11365
11366 Sun Mar 9 23:27:04 1997 Doug Evans <dje@seba.cygnus.com>
11367
11368 * configure.in (m32r-*-*): Add -msdata=sdata to target_cflags.
11369
11370 Sat Mar 8 09:05:01 1997 Fred Fish <fnf@cygnus.com>
11371
11372 * libc/machine/arm/Makefile.in: Fix comment, is for "arm"
11373 not "sh".
11374 * libc/machine/m32r/Makefile.in: Fix comment, is for "m32r"
11375 not "d10v".
11376 * libc/sys/tic80/crt0.c: New file for TIc80.
11377 * libc/sys/tic80/Makefile.in: New file for TIc80.
11378 * libc/machine/tic80/Makefile.in: New file for TIc80.
11379
11380 Wed Mar 5 11:32:12 1997 J.T. Conklin <jtc@cygnus.com>
11381
11382 * libc/machine/sh/memcpy.S: New file.
11383 * libc/machine/sh/memset.S: New file.
11384 * libc/machine/sh/Makefile.in (OFILES): Add memcpy.o and memset.o
11385
11386 Thu Feb 27 16:27:55 1997 Fred Fish <fnf@cygnus.com>
11387
11388 * libc/include/machine/ieeefp.h (_IEEE_LITTLE_ENDIAN): Define
11389 for TIc80.
11390
11391 Wed Feb 26 13:43:39 1997 Jeffrey A Law (law@cygnus.com)
11392
11393 * libc/sys/sysmec/crt0.S: Handle new calling conventions for
11394 the mn10200.
11395
11396 Wed Feb 26 07:11:03 1997 Michael Meissner <meissner@cygnus.com>
11397
11398 * libc/machine/powerpc/setjmp.S (longjmp): Correct return status
11399 (patch from andrew@pogo.WV.TEK.COM).
11400
11401 Fri Feb 14 11:49:28 1997 Doug Evans <dje@canuck.cygnus.com>
11402
11403 * libc/machine/m32r/setjmp.S (setjmp): Save r12.
11404 (longjmp): Restore r12. Fix code that handles returning 1 if passed 0.
11405
11406 Mon Feb 10 10:02:34 1997 Fred Fish <fnf@cygnus.com>
11407
11408 * configure.in: Add cases for "tic80" to set machine_dir,
11409 sys_dir, and syscall_dir.
11410
11411 Sun Feb 2 17:57:15 1997 Geoffrey Noer <noer@cygnus.com>
11412
11413 * libc/sys/cygwin32/crt0.c: initialize floating pt registers
11414
11415 Wed Jan 29 15:57:38 1997 Geoffrey Noer <noer@cygnus.com>
11416
11417 * libc/include/math.h: avoid conflicts with ANSI C++ <exception>
11418
11419 Mon Jan 27 12:50:01 1997 Doug Evans <dje@seba.cygnus.com>
11420
11421 * libc/machine/m32r/setjmp.S: Use proper comment delimiter.
11422 Use proper constant prefix.
11423
11424 Fri Jan 24 10:59:04 1997 Jeffrey A Law (law@cygnus.com)
11425
11426 * libc/sys/sysmec/*.c: Don't cast args to syscall to integers,
11427 that loses on the mn10200 where ints and pointers are different
11428 sizes.
11429
11430 Tue Jan 14 13:29:55 PST 1997 Jeremy Allison <jra@cygnus.com>
11431
11432 * configure.in: Added -DSIGNAL_PROVIDED to cygwin32
11433 target as signal is provided in winsup.
11434
11435 Tue Jan 14 11:10:13 1997 Jeremy Allison <jra@cygnus.com>
11436
11437 * libc/include/sys/process.h: Corrected const definitions
11438 in spawn functions. Added cwait.
11439
11440 Thu Jan 2 12:22:41 1997 Jeffrey A Law (law@cygnus.com)
11441
11442 * libc/include/machine/ieeefp.h: mn10200 uses 16bit ints and 32bit
11443 doubles.
11444 * libc/include/sys/config.h: Similarly.
11445
11446 Tue Dec 31 18:36:14 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11447
11448 * configure.in (sparc-sun-sunos*): Add -DSIGNAL_PROVIDED to the
11449 target_cflags.
11450 (i[3456]86-*-sco*): Ditto.
11451
11452 * libc/signal/Makefile.in (OFILES): Add signal.o.
11453 (CFILES): Add signal.c.
11454
11455 * libc/signal/raise.c (_raise_r): Only compile code if
11456 SIGNAL_PROVIDED is defined.
11457
11458 * libc/signal/signal.c: Redo whole file so that it works with
11459 current newlib. Use _kill_r if no signal handler provided.
11460
11461 * libc/sys/{go32,sparc64,sysmec}/Makefile.in: Delete raise and
11462 signal stubs.
11463 * libc/sys/sysvnecv70/Makefile.in: Ditto.
11464 * libc/sys/sysnecv850/Makefile.in: Ditto.
11465
11466 * libc/sys/{go32,sparc64}/signal.c: Delete, stub no longer used.
11467 * libc/sys/sysmec/{raise,signal}.c: Ditto.
11468 * libc/sys/sysvnecv70/signal.s: Ditto.
11469 * libc/sys/sysnecv850/raise.c: Ditto.
11470
11471 * libc/sys/sysnecv850/kill.c (_kill): Encode signal # so that
11472 simulator and debugger can tell the difference between a signal
11473 being raised and an exit system call.
11474
11475 * NEWS: Document software signals being provided.
11476
11477 Mon Dec 23 11:54:19 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11478
11479 * libc/reent/impure.c (_REENT_ATTR): Delete in favor of
11480 __ATTRIBUTE_IMPURE_PTR__. Move PowerPC definition to
11481 include/sys/config.h.
11482 (impure_data): Use __ATTRIBUTE_IMPURE_DATA__ for attributes.
11483 Change from 'inpure_data'.
11484 (_impure_ptr): Use __ATTRIBUTE_IMPURE_PTR__ for attributes. Use
11485 &impure_data, not &inpure_data.
11486
11487 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): If PowerPC
11488 and and System V ABI, define so that _impure_ptr lives in the
11489 .sdata section.
11490
11491 Sun Dec 22 23:33:05 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11492
11493 * libc/include/sys/reent.h (__ATTRIBUTE_IMPURE_PTR__): Define as
11494 nothing if not defined.
11495 (_impure_ptr): Use __ATTRIBUTRE_IMPURE_PTR__, so a machine can set
11496 its attributes.
11497
11498 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__):
11499
11500 Wed Dec 18 10:12:04 1996 Jeffrey A Law (law@cygnus.com)
11501
11502 * libc/sys/sysmec/crt0.S: Fix mn10200 stuff.
11503 * libc/sys/sysmec/trap.s: Handle mn10200 too.
11504 * libc/machine/mn10200/setjmp.S: Fix mn10200 stuff.
11505
11506 Mon Dec 16 10:05:36 1996 Jeffrey A Law (law@cygnus.com)
11507
11508 * libc/sys/sysmec/crt0.S: Handle mn10200 too.
11509
11510 Fri Dec 13 11:05:20 1996 Jeremy Allison <jra@cygnus.com>
11511
11512 * libc/include/sys/errno.h: Added net errno's.
11513
11514 Wed Dec 11 16:24:25 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11515
11516 * libc/misc/ffs.c: New file to support ffs function for GCC test
11517 gcc.c-torture/execute/960909-1.c.
11518
11519 * libc/misc/Makefile.in ({O,CHEWOUT_}FILES): Add ffs.
11520
11521 Sat Dec 7 10:12:37 1996 Jeffrey A Law (law@cygnus.com)
11522
11523 * libc/sys/sysmec/crt0.S: Handle underscore prefix.
11524 * libc/sys/sysmec/trap.S: Likewise.
11525
11526 Fri Dec 6 15:08:49 1996 Jim Wilson <wilson@cygnus.com>
11527
11528 * configure.in (mips*vr4300*-*-*): Delete use of sys/vr4300.
11529 * libc/sys/vr4300/{Makefile.in,crt0.S,syscalls.c}: Delete.
11530
11531 Wed Dec 4 16:25:27 1996 Jeffrey A Law (law@cygnus.com)
11532
11533 * libc/sys/sysmec/signal.c: Dummy file.
11534 * libc/sys/sysmec/Makefile.in: Build it.
11535
11536 Wed Nov 27 13:10:18 1996 Ian Lance Taylor <ian@cygnus.com>
11537
11538 * libc/machine/mips/machine/regdef.h: Define pc as $pc for
11539 mips16.
11540
11541 Mon Nov 25 09:58:28 1996 Jeffrey A Law (law@cygnus.com)
11542
11543 * libc/sys/sysmec/{crt0.S,trap0.S}: Actually try to implement
11544 c-startup and simulator traps.
11545
11546
11547 * libc/sys/sysmec/crt0.S: Remove bogus '_' symbol prefixing
11548 * libc/sys/sysmec/trap0.S: Likewise.
11549
11550 Sat Nov 23 09:01:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11551
11552 * libc/stdlib/mallocr.c (ROUND_TO): If SMALL_MEMORY, set to 0x7 to
11553 round to double word alignment.
11554 (_morecore_r): Combine rounding up pointers to both ROUND_TO and 8
11555 byte alignment.
11556
11557 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Define if d10v.
11558
11559 * libc/sys/d10v/syscalls.c (_sbrk): Add better checks for running
11560 out of memory.
11561
11562 Mon Nov 18 13:08:26 1996 Jeffrey A Law (law@cygnus.com)
11563
11564 * configure.in: Handle mn10200 and mn10300.
11565 * libc/include/machine/{ieeefp.h,setjmp.h}: Likewise.
11566 * libc/include/sys/config.h: Likewise.
11567 * libc/sys/sysmec: New directory for mec stuff.
11568 * libc/machine/mn10300: New directory for mn10300 stuff.
11569 * libc/machine/mn10200: Similarly for mn10200 stuff.
11570
11571 Fri Nov 15 16:41:41 1996 Doug Evans <dje@canuck.cygnus.com>
11572
11573 * libc/sys/arm/crt0.S: Use .text, not .section .text.
11574 * libc/sys/arm/syscalls.c: Rewrite to set errno properly.
11575
11576 * libc/include/sys/types.h (_ST_INT32): New macro, local to file.
11577 (nlink_t): Change type from unsigned int to unsigned short.
11578 (mode_t): Ensure size is 32 bits even if int is 16.
11579 * libc/include/sys/stat.h (st_nlink): Change type to nlink_t.
11580 (st_spare[123]): Change type from int to long.
11581
11582 Fri Nov 15 11:41:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11583
11584 * libc/sys/d10v/syscalls.c (_sbrk): Align initial heap_end to 8
11585 byte boundary.
11586
11587 * configure.in (d10v*): Define SMALL_MEMORY.
11588
11589 Mon Nov 11 10:30:44 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11590
11591 * configure.in (powerpc*-{eabi,elf,linux,rtem,sysv,solaris}*): Add
11592 -mrelocatable-lib and -mno-eabi flags.
11593
11594 Mon Nov 11 09:01:39 1996 Jeffrey A Law (law@cygnus.com)
11595
11596 * libc/machine/h8300/memcpy.S: Fix comments to reflect reality.
11597 Fix handling of mis-aligned source operand when both the
11598 destination & length are properly aligned.
11599
11600 Wed Oct 30 09:41:11 1996 Jeffrey A Law (law@cygnus.com)
11601
11602 * libc/sys/sysnecv850/Makefile.in (OFILES): Add
11603 times.o, time.o and gettime.o
11604 * libc/sys/sysnecv850/{time.c, times.c, gettime.c}: New files.
11605 * libc/sys/sysnecv850/sys/syscall.h: Add SYS_times and
11606 SYS_gettimeofday.
11607
11608 Tue Oct 29 13:40:09 1996 Jeffrey A Law (law@cygnus.com)
11609
11610 * libc/sys/sysnecv850/Makefile.in (OFILES): Add access.o
11611 * libc/sys/sysnecv850/access.c: New file.
11612
11613 Mon Oct 21 19:47:02 1996 Ian Lance Taylor <ian@cygnus.com>
11614
11615 * libc/sys/vr4300/Makefile.in (clean): Remove $(OFILES).
11616
11617 * libc/stdlib/mprec.h (word0, word1): Use __uint32_t, not unsigned
11618 long.
11619
11620 Mon Oct 21 14:43:07 1996 Jeffrey A Law (law@cygnus.com)
11621
11622 * libc/sys/sysnecv850/crt0.S: Initialize ep and gp registers.
11623
11624 Thu Oct 17 11:47:16 1996 Doug Evans <dje@seba.cygnus.com>
11625
11626 * libc/include/machine/{ieeefp.h,setjmp.h}: Add m32r support.
11627 * libc/include/sys/config.h: Add m32r support.
11628
11629 Wed Oct 16 23:08:05 1996 Jeffrey A Law (law@cygnus.com)
11630
11631 * libc/sys/sysnecv850/v850.ld: Remove. It doesn't belong
11632 here.
11633
11634 Wed Oct 16 21:18:07 1996 Mark Alexander <marka@cygnus.com>
11635
11636 * libc/include/machine/setjmp.h: Add D10v support.
11637
11638 Tue Oct 15 22:28:26 1996 Jeffrey A Law (law@cygnus.com)
11639
11640 * configure.in: Configure the "libc/syscalls" directory for
11641 the v850.
11642
11643 * libc/sys/sysnecv850/{close.c, execve.c, fork.c}: Add missing '_'.
11644 * libc/sys/sysnecv850/{fstat.c, getpid.c, kill.c}: Likewise.
11645 * libc/sys/sysnecv850/{lseek.c, open.c, read.c}: Likewise.
11646 * libc/sys/sysnecv850/{sbrk.c, stat.c, unlink.c}: Likewise.
11647 * libc/sys/sysnecv850/{wait.c, write.c}: Likewise.
11648
11649 Tue Oct 15 16:24:39 1996 Stu Grossman (grossman@critters.cygnus.com)
11650
11651 * libc/sys/sysnecv850/crt0.S (start): Allocate spill space on
11652 stack for args for main and other routines. Zero out args for
11653 main.
11654
11655 * libc/sys/sysnecv850/v850.ld: New. Linker script to layout memory
11656 correctly.
11657
11658 Tue Oct 15 11:51:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11659
11660 * libc/stdio/findfp.c (std): Remove extraneous ';' after
11661 function.
11662
11663 * libc/sys/d10v/sys/syscall.h (SYS_kill): Add.
11664
11665 * libc/sys/d10v/{syscalls.c,trap.S} (_kill,_getpid): Make these
11666 real system calls now.
11667
11668 * libc/stdio/setvbuf (setvbuf): Cast pointers to _POINTER_INT
11669 before casting them to int.
11670 * libc/stdio/tmpnam.c (_tempnam_r): Ditto.
11671
11672 * libc/stdlib/mallocr.c (_morecore_r): Use _POINTER_INT when
11673 aligning pointer.
11674 * libc/string/memset.c (memset): Ditto.
11675
11676 * libc/stdio/vfscanf.c (__svfscanf): When converting to pointer,
11677 first convert ints to _POINTER_INT to eliminate GCC warning.
11678
11679 * libc/stdio/vfprintf.c (_vfprintf_r): Use _POINTER_INT when
11680 processing %p.
11681
11682 * libm/math/ef_scalb.c (__ieee754_scalbf): Cut down range to 32000
11683 from 65000 if ints are only 16 bits.
11684
11685 * libm/math/sf_scalbn.c (scalbnf): Cut down overflow test to 30000
11686 from 50000 if ints are only 16 bits.
11687
11688 * libc/include/sys/config.h (_POINTER_INT): New macro, to give an
11689 int type that is the same size as a pointer.
11690
11691 * libc/misc/dprintf.c (__dprintf): Use _POINTER_INT when
11692 processing %p.
11693 (get_number): Explicitly cast number to long before shifting by 16
11694 or 24, in case ints are short.
11695
11696 * libc/include/sys/config.h (_POINTER_INT): Define as short.
11697
11698 Wed Oct 9 16:54:32 1996 Jeremy Allison <jra@cygnus.com>
11699
11700 * libc/string.h: Added ffs, removed swab.
11701 * libc/sys/errno.h: Added EOPNOTSUPP.
11702 * libc/sys/unistd.h: Added swab.
11703
11704 Thu Oct 3 17:08:50 1996 Jeremy Allison <jra@cygnus.com>
11705
11706 * libc/include/sys/stat.h: Added fchmod.
11707 * libc/include/sys/unistd.h: Added fsync.
11708
11709 Tue Oct 1 17:34:08 1996 Jeremy Allison <jra@cygnus.com>
11710
11711 * libc/include/sys/errno.h: Added defines for EPFNOSUPPORT (96)
11712 and ECONNRESET (104) for cygwin32.
11713
11714 Tue Oct 1 16:24:05 1996 Gavin Koch <gavin@cygnus.com>
11715
11716 * libc/sys/sysnecv850/_exit.c: added _do_dtors to
11717 do the static destructors.
11718
11719 Mon Sep 30 15:59:05 1996 Stu Grossman (grossman@critters.cygnus.com)
11720
11721 * libc/sys/sysnecv850/trap.S: Change I/O to use trap 31.
11722
11723 Mon Sep 30 12:02:50 1996 Doug Evans <dje@canuck.cygnus.com>
11724
11725 * libc/machine/m32r/{Makefile.in,setjmp.S}: New files.
11726 * configure.in: Recognize m32r-*-*.
11727
11728 Mon Sep 30 00:34:41 1996 James G. Smith <jsmith@cygnus.co.uk>
11729
11730 * libc/sys/arm/trap.S (__rt_stkovf_split_big,
11731 __rt_stkovf_split_small): Added default software stack overflow
11732 handlers, which just call SWI_Exit.
11733 * libc/sys/arm/crt0.S (_mainCRTStartup): Simple software stack
11734 limit initialisation.
11735
11736 Fri Sep 27 13:08:03 1996 Mark Alexander <marka@cygnus.com>
11737
11738 * libc/sys/d10v/{trap.S,sys/syscall.h}: Add time() function.
11739
11740 Fri Sep 27 12:32:00 1996 Jeremy Allison <jra@cygnus.com>
11741
11742 * libc/include/sys/types.h: Added ssize_t definition.
11743
11744 Wed Sep 25 14:52:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11745
11746 * libc/machine/d10v/setjmp.S: Use ';' for comments.
11747 * libc/sys/d10v/{crt0.S,trap.S}: Ditto.
11748
11749 * libc/machine/d10v/setjmp.S (longjmp): Use exef0t || instead of
11750 branch around a single ldi instruction.
11751
11752 * libc/sys/d10v/crt0.S (_start): Use auto-increment to zero bss.
11753 Call exit, instead of just issuing a stop instruction.
11754
11755 Sun Sep 22 17:26:55 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11756
11757 * libc/sys/d10v/{trap.S,syscalls.c}: Add -mint32 support.
11758
11759 Fri Sep 20 13:23:12 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11760
11761 * libc/stdlib/mprec.h: Explicitly declare all large constants as
11762 longs, and then cast them to __uint32_t.
11763
11764 * libc/include/sys/config.h: Protect against multiple inclusions.
11765
11766 Tue Sep 17 13:10:33 1996 Mark Alexander <marka@cygnus.com>
11767
11768 * configure.in (d10v*): Set syscall_dir.
11769
11770 Sun Sep 15 10:41:59 1996 Mark Alexander <marka@cygnus.com>
11771
11772 * libc/sys/d10v/crt0.S: Set stack pointer.
11773
11774 Thu Sep 12 13:02:38 1996 Mark Alexander <marka@cygnus.com>
11775
11776 * libc/sys/d10v/{trap.S, syscalls.c}: Rewrite most system calls
11777 in assembly for efficiency. Change calling convention to allow
11778 long ints to be returned.
11779
11780 Wed Sep 11 10:28:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11781
11782 * libc/machine/v850/Makefile.in (setjmp.o): Fix dependency.
11783
11784 Thu Sep 5 19:23:06 1996 Doug Evans <dje@canuck.cygnus.com>
11785
11786 * libc/posix/execvp.c (execvp): Don't search PATH if file has '/'.
11787 Handle empty entries in $PATH.
11788
11789 Tue Sep 03 18:15:02 1996 Mark Alexander <marka@cygnus.com>
11790
11791 * libc/machine/d10v/setjmp.S: Make it really work.
11792
11793 Tue Sep 3 12:16:26 1996 Ian Lance Taylor <ian@cygnus.com>
11794
11795 * libc/sys/sh/crt0.S: If __ELF__, use ELF section attributes for
11796 the .stack section.
11797
11798 Tue Sep 3 10:08:45 1996 Jeffrey A Law (law@cygnus.com)
11799
11800 * sys/sysnecv850/sys/file.h: Remove.
11801 * sys/sysnecv850/sys/syscall.h: New file.
11802 * sys/sysnecv850/{misc.c,syscalls.c,malloc.c}: Deleted.
11803 * sys/sysnecv850/{chmod.c, chown.c, close.c, creat.c} New files.
11804 * sys/sysnecv850/{execv.c, execve.c, fork.c, fstat.c} New files.
11805 * sys/sysnecv850/{getpid.c, isatty.c, kill.c, lseek.c} New files.
11806 * sys/sysnecv850/{open.c, pipe.c, raise.c, read.c} New files.
11807 * sys/sysnecv850/{stat.c, unlink.c, utime.c, wait.c} New files.
11808 * sys/sysnec850/trap.S: New file.
11809 * sys/sysnecv850/{_exit.c, write.c}: Use new TRAP0 mechanism for
11810 syscalls.
11811 * sys/sysnecv850/crt0.S: Use cmp/bl, not tst/bz.
11812 * sys/sysnec850/sbrk.c: New version.
11813
11814 Sun Sep 1 20:08:27 1996 Jeffrey A Law (law@cygnus.com)
11815
11816 * sys/sysnecv850/crt0.S: Fix order of comparison args. Loop
11817 as long as r6 is less than r7.
11818
11819 Sun Sep 1 13:54:19 1996 Ian Lance Taylor <ian@cygnus.com>
11820
11821 * Makefile.in (mostlyclean): Separate from clean target. Don't
11822 remove *.a or targ-include.
11823 * libc/machine/sparc/Makefile.in (mostlyclean): New target.
11824
11825 Sun Sep 1 11:35:26 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11826
11827 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Define for
11828 d10v.
11829 (__SMALL_BITFIELDS): Ditto.
11830
11831 * libc/include/sys/config.h (_DOUBLE_IS_32BITS): Define for d10v.
11832
11833 Sat Aug 31 16:42:36 1996 Jeffrey A Law (law@cygnus.com)
11834
11835 * libc/sys/sysnecv850/misc.c (raise, getpid, kill): Remove '_'
11836 prefix.
11837
11838 * libc/sys/sysnecv850/sbrk.c (sbrk): Remove '_' prefix.
11839 * libc/sys/sysnecv850/syscalls.c (read, lseek, close): Likewise.
11840 * libc/sys/sysnecv850/syscalls.c (fstat, open, close): Likewise.
11841 * libc/sys/sysnecv850/write.c (write): Likewise.
11842
11843 * libc/sys/sysnecv850/crt0.S: Don't try to zero out an empty
11844 .bss.
11845
11846 Fri Aug 30 11:18:45 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11847
11848 * libc/include/sys/config.h: Define INT_MAX, UINT_MAX
11849 appropriately for D10V, depending on -mint16/-mint32.
11850
11851 Thu Aug 29 16:09:37 1996 Mark Alexander <marka@cygnus.com>
11852
11853 * configure.in: Add cases for D10V.
11854
11855 Thu Aug 29 17:03:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11856
11857 * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
11858
11859 Wed Aug 28 21:05:52 1996 Jeffrey A Law (law@cygnus.com)
11860
11861 * libc/include/machine/ieeefp.h: Fix typo.
11862
11863 Wed Aug 28 19:47:55 1996 Mark Alexander <marka@cygnus.com>
11864
11865 * libc/sys/d10v: New directory for D10V stuff.
11866 * libc/include/machine/ieeefp.h: Add D10V defines.
11867
11868 Mon Aug 26 13:34:58 1996 Doug Evans <dje@canuck.cygnus.com>
11869
11870 * libc/include/sys/errno.h: Add winsup/include/sys/errno.h values:
11871 ELOOP, ENOBUFS, EAFNOSUPPORT, EPROTOTYPE, ENOTSOCK, ENOPROTOOPT,
11872 ESHUTDOWN, ECONNREFUSED, EADDRINUSE, ECONNABORTED, EWOULDBLOCK.
11873 * libc/string/strerror.c (strerror): Add them.
11874
11875 Thu Aug 22 16:38:19 1996 Jeffrey A Law (law@cygnus.com)
11876
11877 * libc/sys/sysnecv850: New directory for v850 stuff.
11878
11879 * libc/machine/v850: New directory for v850 stuff.
11880 * libc/machine/v850/setjmp.S: setjmp/longjmp support.
11881
11882 * configure.in: Add support for the v850.
11883
11884 * libc/include/machine/ieeefp.h: Add v850 defines.
11885 * libc/include/machine/setjmp.h: Likewise.
11886 * libc/include/sys/config.h: Add v850 defines.
11887
11888 Sat Aug 17 04:06:36 1996 Geoffrey Noer <noer@cygnus.com>
11889
11890 * libc/include/machine/ieeefp.h
11891 * libc/include/machine/setjmp.h
11892 * libc/include/sys/fcntl.h
11893 * libc/include/sys/signal.h
11894 * libc/include/sys/types.h
11895 * libc/stdlib/system.c:
11896 Fix preprocessor defines to match new scheme (_WIN32 for WIN32
11897 API availability, __CYGWIN32__ for cygwin32 environment specific).
11898
11899 Thu Aug 15 17:09:21 1996 Geoffrey Noer <noer@cygnus.com>
11900
11901 * libc/include/stdlib.h: add multibyte character functions. Add
11902 __eprintf for assert.
11903
11904 Thu Aug 15 11:15:40 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11905
11906 * libc/stdlib/malloc.h (MALLOC_ALIGNMENT): Use either pointer
11907 arithmetic or __alignof__ to properly get the alignment, instead
11908 of hardwiring it to 4.
11909
11910 Wed Aug 14 23:43:28 1996 Geoffrey Noer <noer@cygnus.com>
11911
11912 * libc/stdio/fseek.c: add fflush call to adjust seek offset
11913 on append stream (fix from NetBSD sources), adjust curoff offset
11914 for ungetc's benefit.
11915 * libc/stdio/ftell.c: adjust curoff offset for ungetc's benefit.
11916 * libc/stdio/rewind.c: replace code with up to date NetBSD
11917 code to undo hacks made to work around above problem of not
11918 having fflush call mentioned above
11919
11920 Fri Aug 2 18:28:07 1996 J.T. Conklin <jtc@rtl.cygnus.com>
11921
11922 * libc/reent/{closer.c, execr.c, fstatr.c, linkr.c, lseekr.c,
11923 openr.c, readr.c, sbrkr.c, signalr.c, statr.c, timer.c, writer.c}:
11924 Partially revert last changes. The thread specific errno is set
11925 iff if the underlying syscall fails and the global errno is not
11926 zero.
11927
11928 Fri Jul 19 11:41:52 1996 J.T. Conklin <jtc@rtl.cygnus.com>
11929
11930 * libc/reent/filer.c: Removed files, all functions have split out
11931 into their own files.
11932 * libc/reent/{closer.c, lseekr.c, openr.c, readr.c, writer.c}:
11933 New files containing functions formally in filer.c
11934 * libc/reent/Makefile.in: Updated for above change.
11935
11936 * libc/reent/execr.c (_fork_r, _wait_r): Set errno if underlying
11937 syscall fails, not if errno is changed.
11938 * libc/reent/filer.c (_open_r, _close_r, _lseek_r, _read_r,
11939 _write_r): Likewise.
11940 * libc/reent/fstatr.c (_fstat_r): Likewise.
11941 * libc/reent/linkr.c (_link_r, _unlink_r): Likewise.
11942 * libc/reent/sbrkr.c (_sbrk_r): Likewise.
11943 * libc/reent/signalr.c (_kill_r): Likewise.
11944 * libc/reent/statr.c (_stat_r): Likewise.
11945 * libc/reent/timer.c (_gettimeofday_r): Likewise.
11946
11947 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, sbrkr.c,
11948 signalr.c, statr.c, timer.c} (errno): declare extern rather
11949 than as a common.
11950
11951 * libc/stdio/vfprintf.c (__sbprintf): Use the VFPRINTF macro
11952 instead of calling vfprintf so that i*printf will not require
11953 floating point support code.
11954
11955 Mon Jul 15 16:50:59 1996 Doug Evans <dje@canuck.cygnus.com>
11956
11957 * libc/posix/execvp.c (execvp): Use posix_path_list_p to determine
11958 path delimiter.
11959 * libc/include/sys/unistd.h (_SC_PATH_RULES): Delete.
11960 (_PATH_RULES_{UNKNOWN,WIN32,POSIX}): Delete.
11961
11962 Thu Jul 11 14:34:14 1996 Geoffrey Noer <noer@cygnus.com>
11963
11964 * libc/include/signal.h: _sig_func_ptr function takes an int
11965 * libc/include/sys/signal.h: sa_handler function takes an int
11966
11967 Tue Jul 9 21:22:32 1996 Jeffrey A Law (law@cygnus.com)
11968
11969 * libc/include/machine/ieeefp.h: Simplify H8/S support.
11970 * libc/include/sys/config.h: Add missing H8/S conditional.
11971
11972 Sun Jun 30 12:05:46 1996 Doug Evans <dje@canuck.cygnus.com>
11973
11974 * libc/include/sys/unistd.h (MAXPATHLEN): Add cygwin32 value.
11975
11976 Wed Jun 26 09:57:54 1996 Jeffrey A Law (law@cygnus.com)
11977
11978 * libc/include/machine/setjmp.h: Handle H8/S.
11979 * libc/include/machine/ieeefp.h: Likewise.
11980 * libc/include/sys/config.h: Likewise.
11981 * libc/machine/h8300/{defines.h, memcpy.S, memset.S}: Likewise.
11982 * libc/machine/h8300/{reg_memcpy.S, reg_memset.S}: Likewise.
11983 * libc/machine/h8300/{strcmp.S, setjmp.S}: Likewise.
11984 * libc/sys/h8300hms/crt0.S: Likewise.
11985
11986 Tue Jun 25 23:15:45 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
11987
11988 * Makefile.in (datadir): Set to $(prefix)/share.
11989 (oldincludedir, docdir): Removed.
11990 * doc/Makefile.in (datadir): Set to $(prefix)/share.
11991 (oldincludedir, docdir): Removed.
11992 * libc/Makefile.in (datadir): Set to $(prefix)/share.
11993 (oldincludedir, docdir): Removed.
11994 * libm/Makefile.in (datadir): Set to $(prefix)/share.
11995 (oldincludedir, docdir): Removed.
11996
11997 Fri Jun 21 19:24:41 1996 Ian Lance Taylor <ian@cygnus.com>
11998
11999 * libc/include/sys/reent.h (_REENT_INIT): Update for change to
12000 _reent struct.
12001
12002 Wed Jun 19 14:00:09 1996 Doug Evans <dje@canuck.cygnus.com>
12003
12004 * libc/posix/execvp.c: Delete _WIN32 support. For __CYGWIN32__
12005 fetch current path rules with sysconf and handler posix/win32
12006 appropriately.
12007
12008 * libc/include/sys/unistd.h (_PATH_RULES{,_POSIX,_WIN32}): Define.
12009
12010 * libc/include/process.h: Prepend '_' to P_{WAIT,NOWAIT,OVERLAY}.
12011 (WAIT_CHILD): Always define.
12012
12013 Sat Jun 15 17:50:42 1996 Ian Lance Taylor <ian@cygnus.com>
12014
12015 * libc/stdlib/eprintf.c: New file.
12016 * libc/stdlib/Makefile.in (OFILES): Add eprintf.o.
12017 (eprintf.o): New target.
12018
12019 Thu Jun 13 16:44:32 1996 Doug Evans <dje@canuck.cygnus.com>
12020
12021 * libc/sys/cygwin32/crt0.c (__cygwin_crt0_bp): New global.
12022 (mainCRTStartup): Do int3 if __cygwin_crt0_bp non-zero.
12023
12024 Thu Jun 13 17:45:17 1996 Mike Meissner <meissner@rtl.cygnus.com>
12025
12026 * libc/include/machine/ieeefp.h: Add support for AIX and Windows
12027 NT in PowerPC endianess cases.
12028
12029 Tue Jun 11 12:26:28 1996 Michael Meissner <meissner@tiktok.cygnus.com>
12030
12031 * libc/include/machine/ieeefp.h: Clean up PowerPC endianess.
12032
12033 Thu Jun 6 11:34:20 1996 Michael Meissner <meissner@tiktok.cygnus.com>
12034
12035 * libc/string/strtok.c: Fix doc typo.
12036
12037 Mon Jun 3 11:30:00 1996 J.T. Conklin <jtc@rtl.cygnus.com>
12038
12039 * libc/include/sys/reent.h (struct _reent): Removed _asctime,
12040 _next, _scanpoint, _signgam fields.
12041
12042 * libc/include/stdlib.h (rand_r): Added new declaration.
12043 (_rand_r, _srand_r): Removed declarations.
12044 * libc/stdlib/rand.c (_rand_r, _srand_r): Removed, these functions
12045 have been made obsolete by rand_r.
12046 * libc/stdlib/rand_r.c: New file, rand_r function as specified
12047 by POSIX.1c.
12048
12049 * libc/string/strtok.c: Update documentation to describe
12050 strtok_r().
12051
12052 Sat Jun 1 23:50:39 1996 Michael Meissner <meissner@cygnus.com>
12053
12054 * libc/include/sys/stat.h (stat structure): Use the expanded stat
12055 structure on Solaris, and PowerPC systems even though __svr4__ is
12056 defined.
12057
12058 Tue May 28 13:02:42 1996 Doug Evans <dje@canuck.cygnus.com>
12059
12060 * libc/sys/go32/sys/errno.h (ENOSYS,ESPIPE): Keep values <= 255.
12061
12062 Fri May 17 10:34:44 1996 Ian Lance Taylor <ian@cygnus.com>
12063
12064 * host/any: Use ../.. rather than .. to get to the main build
12065 directory. This matches the current layout of the build
12066 directory.
12067
12068 Wed May 15 15:52:27 1996 Jeffrey A Law (law@cygnus.com)
12069
12070 * libc/machine/h8300/__main.S: Delete. No longer needed.
12071 * libc/machine/h8300/Makefile.in: Corresponding changes.
12072 * libc/sys/h8300hms/crt1.c: New file.
12073 * libc/sys/h8300hms/Makefile.in: Corresponding changes.
12074 * libc/sys/h8300hms/crt0.s: Call __main.
12075
12076 * libc/sys/h8300hms/crt0.S: Use temporary label names
12077 for branch targets.
12078
12079 Mon May 13 14:26:30 1996 Doug Evans <dje@canuck.cygnus.com>
12080
12081 * libc/stdio/fopen.c (_fopen_r): Fix arguments to fseek.
12082
12083 Fri May 3 16:38:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
12084
12085 * libc/reent/impure.c (_impure_ptr): Force the impure pointer into
12086 .sdata on the PowerPC so that we can link newlib with code
12087 compiled with -msdata.
12088
12089 Mon Apr 29 21:38:02 1996 Doug Evans <dje@canuck.cygnus.com>
12090
12091 * libc/sys/arm/syscalls.c (_sbrk): Rename end to __end__.
12092
12093 Thu Apr 25 06:38:59 1996 Michael Meissner <meissner@cygnus.com>
12094
12095 * libc/sys/cygwin32/crt0.c (mainCRTStartup): On PowerPC, set the
12096 exception handler to __cygwin_exception_handler.
12097
12098 Tue Apr 23 15:14:20 1996 Ian Lance Taylor <ian@cygnus.com>
12099
12100 * libc/include/machine/setjmp.h: Check _AM29K, not ___AM29K__.
12101
12102 Sun Apr 21 12:11:51 1996 Doug Evans <dje@blues.cygnus.com>
12103
12104 * libm/math/Makefile.in ({w,wf}_cabs.o,{w,wf}_drem.o): Add rule for
12105 SunOS VPATH.
12106 * libc/stdlib/Makefile.in (atoff.o,atol.o,mblen.o,mbstowcs.o,
12107 wcstombs.o): Likewise.
12108
12109 Thu Apr 18 12:37:01 1996 Doug Evans <dje@canuck.cygnus.com>
12110
12111 * libc/stdlib/environ.c (initial_env): New static local.
12112 (environ): Point to `initial_env'.
12113
12114 * libc/include/machine/setjmp.h: Clean up.
12115 (__H8300H__,__PPC__): Define _JBTYPE.
12116 (__arm__): Provide entry for.
12117 (sigjmp_buf): Delete.
12118 (jmp_buf): Use _JBTYPE if defined, otherwise int.
12119
12120 Thu Apr 18 12:10:52 1996 Jeffrey A Law (law@cygnus.com)
12121
12122 * libc/machine/h8300/strcmp.S: Sign extend the result to
12123 32bits so we don't lose with -mint32.
12124
12125 Sun Apr 14 19:59:52 1996 Doug Evans <dje@canuck.cygnus.com>
12126
12127 * libc/sys/go32/sys/errno.h: New file.
12128 * libc/sys/go32/Makefile.in (stat.o): Depend on stat.c.
12129 * libc/sys/go32/gerrno.s (syscall_error): Call __errno to get
12130 errno's address (make compatible with rest of newlib).
12131 * libc/sys/go32/stat.c (fixinode): Set errno upon failure.
12132 * libc/string/strerror.c (strerror): Surround each case with #ifdef.
12133
12134 Thu Mar 28 13:44:42 1996 Doug Evans <dje@canuck.cygnus.com>
12135
12136 * libc/machine/sparc/{scan.c,shuffle.c}: New files.
12137 * libc/machine/sparc/Makefile.in: Build them.
12138 * libc/machine/sparc/machine/sparclet.h: New file.
12139
12140 Mon Mar 25 15:29:14 1996 J.T. Conklin <jtc@rtl.cygnus.com>
12141
12142 * libc/machine/sh/asm.h: New file.
12143 * libc/machine/sh/setjmp.S: Only save clobbered registers. Added
12144 support for SH3e's FP registers. Use asm.h.
12145
12146 Mon Mar 25 11:59:23 1996 Jeffrey A Law (law@cygnus.com)
12147
12148 * libc/stdio/vfprintf.c (cvt): Accept a reent structure
12149 as first argument. Call _dtoa_r and pass the reent structure
12150 instead of calling __dtoa.
12151
12152 Fri Mar 22 13:59:37 1996 Jeffrey A Law (law@cygnus.com)
12153
12154 * libc/include/sys/config.h: Define DOUBLE_IS_32BITS for
12155 the h8300, h8500, and others. Add comments for some rather
12156 dubious code.
12157
12158 Thu Mar 14 18:04:43 1996 Ian Lance Taylor <ian@cygnus.com>
12159
12160 * Makefile.in (check): Check that testsuite exists before cd.
12161
12162 Tue Mar 12 11:46:47 1996 Michael Meissner <meissner@tiktok.cygnus.com>
12163
12164 * libc/include/string.h (strsep): Correct prototype.
12165
12166 Mon Mar 11 09:55:19 1996 Doug Evans <dje@charmed.cygnus.com>
12167
12168 * libc/sys/h8300/_exit.c (_exit,__exit): Set r0 to 0 before `sleep'.
12169 * libc/sys/h8300/misc.c (_kill): Set r0 to indicate abort and `sleep'.
12170 * libc/sys/h8300/crt0.S (_start): Call exit instead of `sleep'.
12171
12172 Wed Mar 6 11:51:55 1996 Doug Evans <dje@charmed.cygnus.com>
12173
12174 * libc/posix/{creat.c,isatty.c}: New files.
12175 * libc/posix/Makefile.in (OFILES): Add creat.o, isatty.o.
12176
12177 * libc/sys/sparc64/crt0.S (environ): Delete.
12178 (.LHaveBias): Renamed from HaveBias.
12179
12180 Thu Feb 15 10:48:37 1996 Doug Evans <dje@charmed.cygnus.com>
12181
12182 * libc/stdlib/mallocr.c (etext): Move decl inside ifdef WARN_VLIMIT.
12183 (_morecore_r): Delete SBRK_IS_ALLOC support.
12184
12185 Tue Feb 13 09:44:09 1996 Michael Meissner <meissner@tiktok.cygnus.com>
12186
12187 * libc/sys/cygwin32/Makefile.in (lib.a): Make lib.a with a dummy
12188 module rather than touch, so we don't get warning messages when
12189 all of the libraries are combined into libc.a.
12190
12191 Tue Feb 13 06:32:07 1996 Doug Evans <dje@charmed.cygnus.com>
12192
12193 * libc/sys/sparclite/{Makefile.in,crt0.s}: Deleted.
12194 crt0.s replaced by version in libgloss.
12195
12196 Mon Feb 5 15:17:51 1996 J.T. Conklin <jtc@rtl.cygnus.com>
12197
12198 * libc/reent/Makefile.in (OFILES): Add impure.o.
12199 * libc/reent/impure.o: New file, define initial reentrancy struct.
12200 * libc/reent/reent.c: Remove above definition.
12201
12202 * libm/math/sf_asinh.c: Fix typo.
12203
12204 * Makefile.in (MATHOBJS_IN_LIBC): Removed sr_ldexp.o and
12205 srf_ldexp.o.
12206
12207 * libm/libm.texinfo: Change documentation to reflect changes
12208 in reentrancy model.
12209 * libm/math/w_gamma.c: Likewise.
12210
12211 Wed Jan 31 18:49:45 1996 Steve Chamberlain <sac@slash.cygnus.com>
12212
12213 * configure.in (*-*-cygwin32): New.
12214 (*-*-win32): Deleted.
12215 * libc/sys/win32 renamed libc/sys/cygwin32.
12216
12217 Tue Jan 30 22:09:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
12218
12219 * libc/include/sys/file.h: New include file.
12220
12221 Fri Jan 26 15:52:54 1996 Steve Chamberlain <sac@slash.cygnus.com>
12222
12223 * libc/include/machine/setjmp.h: Increase size of PPC jmp_buf.
12224
12225 Tue Jan 23 17:49:16 1996 Steve Chamberlain <sac@slash.cygnus.com>
12226
12227 * libc/include/sys/wait.h (WIFSIGNALED): Fix.
12228
12229 Tue Jan 16 09:28:10 1996 Michael Meissner <meissner@tiktok.cygnus.com>
12230
12231 * doc/makedoc.c (realloc): Declare at file scope.
12232 (catchar): Not here.
12233
12234 Wed Dec 27 15:45:23 1995 Doug Evans <dje@canuck.cygnus.com>
12235
12236 * Makefile.in (VERSION): Update to 1.7.0.
12237 * {libc,libm}/Makefile.in (VERSION): Likewise.
12238 * configure.in: Minor clean up of multilib stuff.
12239
12240 From David Johnson <davidj@ICSI.Berkeley.EDU>
12241 * {libc,libm}/Makefile.in (lib[cm].a): Delete library first.
12242
12243 * libc/stdlib/environ.c: New file.
12244 * libc/stdlib/Makefile.in (OFILES): Build it.
12245 * libc/sys/h8500hms/crt0.c (environ): Deleted.
12246 * libc/sys/m88kbug/crt0.c (environ): Deleted.
12247 * libc/sys/z8ksim/crt0.c (environ): Deleted.
12248 * libc/sys/netware/environ.c: Deleted.
12249
12250 Tue Dec 19 15:24:46 1995 Kim Knuttila <krk@cygnus.com>
12251
12252 * configure.in (links): set sys_dir, posix_dir, syscall_dir
12253
12254 Wed Dec 13 04:16:25 1995 Michael Meissner <meissner@wogglebug.tiac.net>
12255
12256 * doc/makedoc.c (init_string_with_size,nextword): Move malloc
12257 declaration out to external scope and declare it PTR, not char *.
12258
12259 Mon Dec 11 17:35:12 1995 steve chamberlain <sac@slash.cygnus.com>
12260
12261 * libc/include/sys/unistd.h (getpagesize): New declaration.
12262 (_SC_PAGESIZE): New definition.
12263 * libc/include/time.h (CLK_TCK): Defined as CLOCKS_PER_SEC.
12264 * libc/configure.in (i[345]86-*-win32): Remove -DNO_FORK.
12265
12266 Fri Dec 1 16:48:46 1995 James G. Smith <jsmith@cygnus.co.uk>
12267
12268 * libc/sys/vr4300/syscalls.c (sbrk): Fixed memory
12269 addressing. System call returns size, not (last address + 1).
12270
12271 Thu Nov 30 15:05:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12272
12273 * libm/math/*.c: Removed _foo_r() reentrancy API.
12274 * libc/include/math.h: Removed _foo_r prototypes and macros.
12275
12276 * libm/math/*.c: On systems with IEEE single precision "doubles"
12277 move foo() -> foof() wrapper code from the files that implement
12278 the standard IEEE double precision functions to the files that
12279 implement IEEE single precision functions. (ie. On those systems
12280 sin is moved from s_sin.c to sf_sin.c). There should eventually
12281 be use of a C extension (like gcc's alias attribute) so that the
12282 wrappers are not needed at all.
12283
12284 * libc/sys/sysnec810/sbrk.c: Cast &end to char * to get around
12285 strict NEC V810 compiler.
12286 * libc/misc/dprintf.c (getnumber): Cast char * to unsigned char *
12287 for same reason.
12288
12289 Wed Nov 29 14:25:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12290
12291 * libc/stdlib/strtol.c (_strtol_r): Replaced with implementation
12292 from NetBSD C library.
12293 * libc/stdlib/strtoul.c (_strtoul_r): Likewise.
12294
12295 * libc/stdlib/assert.c (__assert): Renamed from __assertfail
12296 and adapted from implementation I wrote for NetBSD C library.
12297 The difference is __assert doesn't take a format argument,
12298 so that there won't be multiple copies of the same string
12299 constant in the executable if assertions are enabled in
12300 more than one source module.
12301 * libc/include/assert.h (assert): Changed to call __assert.
12302
12303 Tue Nov 28 16:54:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12304
12305 * libc/stdlib/strtod.c (_strtod_r): Changed to not assign to
12306 word1 on systems with 32 bit doubles.
12307 * libc/stdlib/qsort.c (qsort): Cast some void *'s to char *'s
12308 so that we can do arithmetic on them.
12309 * libc/misc/dprintf.c: Changed to support stdarg.h for ANSI
12310 compilers.
12311
12312 Tue Nov 28 16:03:32 1995 Doug Evans <dje@canuck.cygnus.com>
12313
12314 * libc/sys/arm/crt0.S: Zero bss.
12315
12316 Fri Nov 24 16:09:23 1995 Doug Evans <dje@deneb.cygnus.com>
12317
12318 * libc/include/unctrl.h: New file.
12319 * libc/misc/{Makefile.in,dprintf.c,unctrl.c,misc.tex}: New files.
12320 * configure.in (subdirs): Add libc/misc.
12321 * libc/Makefile.in (SUBDIRS): Add misc.
12322 (SUBLIBS): Add misc/lib.a.
12323
12324 * libc/include/sys/reent.h (struct _reent): Make __sf last member.
12325
12326 Wed Nov 22 19:49:47 1995 Doug Evans <dje@deneb.cygnus.com>
12327
12328 * libc/stdio/vfprintf.c (__sbprintf): Init fake._data.
12329 (_vfprintf_r): Call CHECK_INIT.
12330
12331 Tue Nov 14 02:52:12 1995 Doug Evans <dje@canuck.cygnus.com>
12332
12333 * Makefile.in (MULTITOP): Delete.
12334 (MULTISRCTOP, MULTIBUILDTOP): Add.
12335 * configure.in: Delete call to cfg-ml-com.in. Call config-ml.in
12336 instead of cfg-ml-pos.in.
12337
12338 Wed Nov 8 01:24:08 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
12339
12340 * libc/sys/vr4300/syscalls.c: Added clean version of sbrk().
12341 * libc/sys/vr4300/crt0.S: Cleaned up. Added check for FPU
12342 presence.
12343
12344 Thu Nov 2 22:25:06 1995 Michael Meissner <meissner@tiktok.cygnus.com>
12345
12346 * libc/string/strtok.c: Include string.h to pick up strtok_r
12347 prototype.
12348
12349 Wed Nov 1 18:54:11 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12350
12351 * libc/string/strtok.c: include <_ansi.h>.
12352 * libc/time/asctime_r.c: `reresult' -> `result'.
12353
12354 Wed Nov 1 14:35:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12355
12356 * libc/time/{ctime.c, gmtime.c, lcltime.c}: Wrap functions
12357 in #ifndef _REENT_ONLY ... #endif conditional.
12358
12359 * libc/include/string.h (_strtok_r): Remove declaration.
12360 * libc/include/time.h (_asctime_r): Remove declaration.
12361 * libc/string/strtok.c (_strtok_r): Removed.
12362 * libc/time/asctime.c (_asctime_r): Removed.
12363
12364 * libc/string/Makefile.in (OFILES): Add new object.
12365 * libc/string/strtok_r.c: New file. strtok_r function as
12366 specified by POSIX.1c, adapted from strtok implementation
12367 from NetBSD C library.
12368 * libc/string/strtok.c (strtok): Reimplemented in terms of
12369 strtok_r.
12370
12371 * libc/time/Makefile.in (OFILES): Add new objects.
12372 * libc/time/{asctime_r.c, ctime_r.c, gmtime_r.c, lcltime_r.c}:
12373 New files, reentrant time functions specified by POSIX.1c.
12374 * libc/time/{asctime.c, ctime.c, gmtime.c, lcltime.c}: Non-
12375 reentrant time functions re-written in terms of reentrant
12376 functions.
12377 * libc/time/lcltime.c: Renamed from localtime.c
12378
12379 * libc/include/time.h: Add prototypes for asctime_r, ctime_r,
12380 gmtime_r, and localtime_r.
12381
12382 Sat Oct 28 14:34:31 1995 steve chamberlain <sac@slash.cygnus.com>
12383
12384 * libc/sys/win32/crt0.c (mainCRTStartup): Call cygwin_crt0.
12385 * libc/include/sys/unistd.h (getlogin): Revert change of
12386 Oct 19.
12387 * libc/include/sys/signal.h (sigprocmask): Change prototype
12388 so it compiles with c++.
12389
12390 Wed Oct 25 15:43:18 1995 Michael Meissner <meissner@cygnus.com>
12391
12392 * libc/include/machine/setjmp.h (PowerPC _JBLEN): Consider it a
12393 PowerPC if __PPC__ is defined. Bump jump_buf length to 62 ints,
12394 to give some room in case we need to align the jmp_buf.
12395
12396 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Rewrite to use
12397 the new ppc-asm.h include file the compiler provides to specify
12398 function prologue/epilogue. Eliminate saves of the xer and ctr
12399 registers, which are volatile. Before starting to save registers,
12400 align to 8 byte boundary.
12401
12402 Mon Oct 23 11:20:51 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
12403
12404 * libc/sys/vr4300/syscalls.c: Added empty kill() function,
12405 referenced by standard libraries.
12406
12407 Thu Oct 19 21:39:47 1995 Fred Fish <fnf@cygnus.com>
12408
12409 * libc/unix/Makefile.in, libc/string/Makefile.in,
12410 libc/stdio/Makefile.in, libc/reent/Makefile.in,
12411 libc/posix/Makefile.in:
12412 Remove tabs from otherwise empty line. Confuses some
12413 older non-GNU versions of "make".
12414
12415 Thu Oct 19 16:32:17 1995 steve chamberlain <sac@slash.cygnus.com>
12416
12417 * libc/sys/unistd.h (getlogin): Returns const char *.
12418
12419 Wed Oct 18 12:57:50 1995 steve chamberlain <sac@slash.cygnus.com>
12420
12421 * libc/include/fcntl.h (O_BINARY, O_TEXT): New.
12422 * libc/include/errno.h: Moved into and include...
12423 * libc/include/sys/errno.h: New file.
12424 * libc/include/sys/wait.h: New file.
12425 * libc/stdio/rename.c (_rename_r): Use _rename system call if available.
12426 * libc/sys/win32/*: Moved out.
12427 * libc/sys/win32/crt0.c: Rewritten to cope with shared library.
12428 * configure.in (i[345]86-*-win32): HAVE_RENAME
12429
12430 Wed Oct 18 09:58:27 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
12431
12432 * libc/unix/sigset.c (sigemptyset, sigaddset): Prefix #undef to
12433 avoid macro expansion for these two names.
12434
12435 Tue Oct 17 08:45:33 1995 Doug Evans <dje@canuck.cygnus.com>
12436
12437 * libc/machine/h8500/psi.S: r6 renamed to fp.
12438
12439 Sun Oct 15 12:58:10 1995 Michael Meissner <meissner@wogglebug.tiac.net>
12440
12441 * configure.in (powerpc*): No longer need to define
12442 NO_LONGLONG_POINTERS to supress warnings.
12443
12444 Sat Oct 14 12:55:08 1995 Jim Wilson <wilson@chestnut.cygnus.com>
12445
12446 * libc/reent/reent.c (_reclaim_reent): Call cleanup indirectly
12447 through PTR instead of directly.
12448
12449 * libc/sys/sh/crt0.S: Clean up formatting. Delete unused
12450 non-standard constructor support.
12451
12452 Thu Oct 12 11:39:42 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12453
12454 * libc/stdlib/dtoa.c (_dtoa_r): Set result pointer to the
12455 address of the Bigint instead of the address of its _x field,
12456 as the size the result buffer was calculated accordingly.
12457 Fix from Jim Wilson <wilson@chestnut@cygnus.com>.
12458
12459 * libc/stdlib/{div.c, ldiv.c}: Replaced with implementation
12460 from NetBSD C library. No longer special cases division by
12461 zero (which needs to be done by the application anyway), but
12462 it doesn't need to call abs() (or labs()) four times either.
12463
12464 * libc/stdlib/qsort.c: Replaced with implementation from
12465 NetBSD C library.
12466
12467 Tue Oct 10 14:01:10 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12468
12469 * libc/stdio/vfprintf.c: Replaced with implementation from
12470 NetBSD C library (which is derived from the 4.4BSD C library).
12471 * libc/stdio/cvt.c: Removed.
12472 * libc/stdio/Makefile: Updated.
12473
12474 Tue Oct 10 12:15:23 1995 steve chamberlain <sac@slash.cygnus.com>
12475
12476 * libc/sys/win32/syscalls.c (rename): New.
12477 * libc/sys/win32/include/winkernel.h (MoveFileExA): New.
12478
12479 Fri Oct 6 12:18:43 1995 Jim Wilson <wilson@chestnut.cygnus.com>
12480
12481 * libc/machine/sh/Makefile.in (setjmp.o): Depend on setjmp.S.
12482 * libc/machine/sh/setjmp.S: Rename from setjmp.s.
12483
12484 * libc/sys/sh/Makefile.in (OFILES, all): Delete setjmp.o.
12485 (setjmp.o): Delete rule to build setjmp.o.
12486 * libc/sys/sh/setjmp.S: Delete file.
12487
12488 Fri Oct 6 11:19:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12489
12490 * libc/stdlib/mprec.c (d2b): Added support for _DOUBLE_IS_32BITS.
12491 * libc/stdlib/mprec.h: Fixed constants used for IEEE single float
12492 format. Added #defines to map d2b, i2b, low0bits, lshift, mult,
12493 pow5mult and s2b to identifiers with leading underscores.
12494 * libc/stdlib/Makefile.in: Add mprec.h as a dependency to dtoa.o,
12495 ecvtbuf.o, mprec.o and strtod.o. Sort dependencies.
12496
12497 Thu Oct 5 17:27:30 1995 steve chamberlain <sac@slash.cygnus.com>
12498
12499 * libc/sys/posix/popen.c (sys/types.h): Include.
12500
12501 Thu Oct 5 16:33:01 1995 Doug Evans <dje@canuck.cygnus.com>
12502
12503 * libc/sys/win32/syscalls.h (fhandler): New struct.
12504 (__lookup_fhandler, __lookup_fhandler_hook): Declare.
12505 (__fhandler_normal): Declare.
12506 (hinfo): New member op_handlers.
12507 * libc/sys/win32/syscalls.c (__read): Don't validate fd.
12508 (__write): Likewise.
12509 (_read, _write, _open, _close, _lseek): Validate fd here.
12510 Move file type specific stuff to foo_normal.
12511 (read_normal, write_normal, open_normal, close_normal, lseek_normal):
12512 New functions.
12513 (__lookup_fhandler): New function.
12514 (__lookup_fhandler_hook, __fhandler_normal): New variables.
12515
12516 From anders.blomdell@control.lth.se (Anders Blomdell)
12517 * libc/sys/win32/crt0.c (vfork_init): Unset __FD_TABLE__.
12518 Don't touch standard handles.
12519 * libc/sys/win32/spawn.c (_spawn): Use STARTF_USESTDHANDLES.
12520 (_execve): Only create __FD_TABLE__ if necessary.
12521 * libc/sys/win32/include/winkernel.h (STARTF_*): Define.
12522
12523 Thu Oct 5 14:25:14 1995 steve chamberlain <sac@slash.cygnus.com>
12524
12525 * libc/sys/win32/sys/termios.h (FLUSHO): New.
12526 * libc/sys/win32/include/win*.h: Moved a load of prototypes around.
12527 * libc/sys/win32/pipe.c (_fctnl): Ignore F_SETFL without errors.
12528 * libc/sys/win32/exception.c (ehandler3): set strace when a signal
12529 without a handler is received.
12530 * libc/sys/win32/Makefile.in: Remove --nodelete.
12531 * libc/sys/win32/resouce.c (gettimeofday): New.
12532 * libc/sys/win32/syscalls.c (path_to_real_path): New.
12533 * libc/sys/win32/syscalls.h (include/wincon.h): Don't include.
12534
12535 Wed Oct 4 13:10:35 1995 Doug Evans <dje@canuck.cygnus.com>
12536
12537 * libc/sys/win32/dirsearch.c (opendir): stat real path name.
12538 Don't append "/*" to search pattern if trailing '/' already there,
12539 append "*".
12540 * libc/sys/win32/spawn.c (_spawn): CreateProcess doesn't seem to
12541 like /'s, convert them to \'s. Handle //<drive>/ path names.
12542 Add space for quoted \'s in arg string. Print translated prog name
12543 and original prog name.
12544 (_execve): Handle parent doing exec a teensy bit better.
12545 * libc/sys/win32/syscalls.h (__path_to_real_path): Update prototype.
12546 * libc/sys/win32/syscalls.c (__path_to_real_path): Don't assume
12547 path needs conversion, handle both cases. Delete `const' from result.
12548 (hash_path_name): New function.
12549 (_open): Call it.
12550 (_stat): Likewise. Fill in more fields for directories.
12551 * libc/sys/win32/wait.c (_wait): Explicitly pass -1 to waitpid.
12552 (wait_for_any): Fix trace message.
12553 (waitpid): Explicitly test for intpid == 0.
12554
12555 From anders.blomdell@control.lth.se (Anders Blomdell)
12556 * libc/sys/win32/spawn.c (__vfork_get_empty_entry): zero fill result
12557 so `next' is valid.
12558
12559 Sat Sep 30 15:00:15 1995 Jason Molenda (crash@phyeaux.cygnus.com)
12560
12561 * libc/sys/win32/spawn.c (_spawn): Make quoting rules more
12562 complicated.
12563
12564 Sat Sep 30 10:25:57 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12565
12566 * libc/include/_ansi.h: set _HAVE_STDC if __STDC__ is defined
12567 at all, not just == 1.
12568 * libm/math/wf_acos.c (acosf): check for _HAVE_STDC, not __STDC__.
12569
12570 Sat Sep 30 04:30:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12571
12572 * libc/sys/win32/include/winbase.h: include <wintypes.h> and <winnt.h>
12573 * libc/sys/win32/include/wintypes.h: include <winnt.h>
12574 * libc/sys/win32/include/winnt.h: avoid multiple inclusion of this
12575 file.
12576
12577 Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
12578
12579 * libc/sys/syscalls.c (getcwd): Fix off by one error.
12580
12581 * libc/sys/signal.c (sleep): Fill it in.
12582 * libc/sys/termios.c (tcflush): Use PurgeComm
12583 (tcsetattr): Set some more of the bits.
12584 * libc/sys/include/winkernel.h: Add PurgeComm and Sleep.
12585
12586 Fri Sep 29 04:33:53 1995 Doug Evans <dje@deneb.cygnus.com>
12587
12588 * libc/sys/arm/crt0.S (fp): Initialize to 0.
12589 Conditionally include .idata$3 stuff ifdef __pe__.
12590
12591 Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
12592
12593 * libc/sys/win32/crt0.c (hmap_init): Call __init_hinfo.
12594 * libc/sys/win32/pipe.c (pipe): Ditto.
12595 * libc/sys/win32/syscalls.c (__read): Use new vtime and vmin fields.
12596 * libc/sys/win32/syscalls.h (hinfo): vtime, vmin are new.
12597 * libc/sys/win32/termios.c (tcsetattr): Init new fields.
12598 (tcgetattr): Contents are new.
12599 * libc/sys/win32/include/winkernel.h (DCB): New.
12600 (GetCommState, SetCommState): New.
12601
12602 Thu Sep 28 16:29:09 1995 Doug Evans <dje@deneb.cygnus.com>
12603
12604 * libc/sys/arm/crt0.S (_start): Define.
12605
12606 Thu Sep 28 12:26:45 1995 steve chamberlain <sac@slash.cygnus.com>
12607
12608 * libc/sys/arm/crt0.S: Move stack to top of RAM on PIE board.
12609 * libc/sys/arm/syscalls.c (_read, _write): Use the SWI properly.
12610
12611 * libc/sys/win32/sysconf.c: New
12612 * libc/sys/win32/sys/winadvapi.h: New
12613 * libc/sys/win32/syscalls.h (hinfo): Added timeout_len, w_binary, r_binary.
12614 * libc/sys/win32/crt0.c (hmap_init): Initialize new fields.
12615 * libc/sys/win32/pipe.c (pipe): Ditto.
12616 * libc/sys/win32/signal.c (_raise): New.
12617 (_kill): Moved from spawn.c
12618 * libc/sys/win32/spawn.c (kill): Moved to signal.c
12619 * libc/sys/win32/syscalls.c (__read): Use new fields.
12620 (_open): Ditto.
12621 * libc/sys/win32/termios.c (tcflush, tcsetattr, tcgetattr): Fill in.
12622 * libc/sys/win32/exceptions.c (__stack_trace): Keep going for longer.
12623 * libc/include/sys/unistd.h (rmdir): Takes const path.
12624 * libc/include/sys/stat.h (mkdir): Takes const path.
12625 * libc/include/sys/signal.h (SIGTTOU, SIGTTIN): New for win32.
12626
12627 Thu Sep 28 10:11:27 1995 Doug Evans <dje@canuck.cygnus.com>
12628
12629 * libc/sys/win32/spawn.c (_spawn): Fix quoting.
12630
12631 Add support for specifying paths as //<drive>/foo/bar.
12632 * libc/sys/win32/syscalls.h (__path_needs_conversion_p): Declare.
12633 (__path_to_real_path): Declare.
12634 (PATH_TO_REAL_PATH): New macro.
12635 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): Minor cleanup.
12636 (__path_needs_conversion_p, __path_to_real_path): New functions.
12637 (_open): Fix test for error return from CreateFileA.
12638 Handle new path syntax.
12639 (_link, mkdir, rmdir, getcwd, chdir, stat): Handle new path syntax.
12640 * libc/sys/win32/dirsearch.c (opendir): Likewise.
12641
12642 Wed Sep 27 16:36:46 1995 steve chamberlain <sac@slash.cygnus.com>
12643
12644 * libc/sys/win32/include/*.h: Reorganized
12645 * libc/sys/win32/include/WINREADME: New.
12646 * libc/sys/win32/Makefile.in (DLLS): Build version.a.
12647 * libc/sys/win32/*.c: Fix for new include scheme.
12648 * libc/sys/win32/crt0.c (__this_uinfo_buf, __this_uinfo): New.
12649 * libc/sys/win32/getlogin.c (getlogin): Use uinfo.
12650 * libc/sys/win32/passwd.c (*): Fix.
12651 * libc/sys/win32/syscalls.c (get[e|][g|u]id): Use passwd info.
12652 (_stat): Get directory owner and permissions right.
12653 * libc/sys/win32/syscalls.h (uinfo): New.
12654 * libc/sys/win32/version.def: Remove leading underscores.
12655
12656 Tue Sep 26 18:18:47 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12657
12658 * libc/sys/win32/key.c: include "include/wincon.h".
12659
12660 Tue Sep 26 07:21:48 1995 steve chamberlain <sac@slash.cygnus.com>
12661
12662 * libc/sys/win32/{key, stubs}.c: New.
12663 * libc/sys/win32/Makefile: Adjust to cope.
12664 * libc/sys/win32/crt0.c (vfork_init_first): Cope with -ve pids.
12665 (environ_init): Change env names to upper case.
12666 * libc/sys/win32/dirsearch.c (readdir): Don't fill in inode number.
12667 * libc/sys/win32/passwd.c (*): Fill in the functions.
12668 * libc/sys/win32/pipe.c (_fcntl): F_GETFL returns O_RDWR.
12669 * libc/sys/win32/spawn.c (_spawn): Cope with -ve pids.
12670 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): New function.
12671 (_open): Initialze hmap->execable_p too.
12672 * libc/sys/win32/syscalls.c (getuid, getgid, geteuid, getegid): Return from macros.
12673 (_fstat): Fill in permissions.
12674 * libc/sys/win32/syscalls.h (hinfo): Add execable_p.
12675
12676 Fri Sep 22 13:47:27 1995 Doug Evans <dje@canuck.cygnus.com>
12677
12678 * configure.in (cfg-ml-com.in invocation): Use ${with_multilib_top}
12679 if defined.
12680 (cfg-ml-pos.in invocation): Likewise.
12681
12682 Fri Sep 22 11:43:44 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12683
12684 * Makefile.in (MATHOBJS_IN_LIBC): Added s_isinf.o, sf_isinf.o,
12685 s_isnan.o and sf_isnan.o.
12686
12687 Wed Sep 20 14:50:19 1995 Ian Lance Taylor <ian@cygnus.com>
12688
12689 * All Makefile.in files: added maintainer-clean target as a
12690 synonym for realclean.
12691
12692 Wed Sep 20 11:02:50 1995 Jeff Law (law@snake.cs.utah.edu)
12693
12694 * libc/include/machine/setjmp.h: Add hppa support.
12695 * libc/machine/hppa/setjmp.S: New file with setjmp/longjmp
12696 support.
12697 * libc/machine/hppa/Makefile.in: Related changes.
12698
12699 Tue Sep 19 12:09:01 1995 J.T. Conklin <jtc@blues.cygnus.com>
12700
12701 * configure.in (machine_dir): Don't set for v810-*-*.
12702
12703 Fri Sep 15 20:22:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12704
12705 * libc/sys/win32/crt0.c (passover): Change to handle MKS quoting
12706 conventions correctly.
12707
12708 Thu Sep 14 13:37:22 1995 J.T. Conklin <jtc@blues.cygnus.com>
12709
12710 * libc/stdio/puts.c: Update documentation of return value to match
12711 ANSI standard.
12712
12713 Thu Sep 14 01:52:37 1995 Doug Evans <dje@canuck.cygnus.com>
12714
12715 Fix file descriptor inheritance.
12716 * libc/sys/win32/syscalls.h (CHILD_P): Define again.
12717 (NOT_OPEN_FD): Fix.
12718 * libc/sys/win32/spawn.c (vfork0): Only create inheritable handle if
12719 close-on-exec flag not set. Initialize child's entire fd table.
12720 * libc/sys/win32/syscalls.c (_open): Only create inheritable handle if
12721 CHILD_P.
12722 * libc/sys/win32/pipe.c (pipe): Only create new handle as inheritable
12723 if CHILD_P. Initialize entire hmap entry.
12724 (dup): Only create new handle as inheritable if CHILD_P.
12725 (dup2): Likewise. Properly initialize hmap entry.
12726
12727 * libc/sys/win32/spawn.c (_execve): Don't pass _P_SEARCH_PATH to
12728 _spawn.
12729 (_exit): Use CHILD_P.
12730 * libc/sys/win32/syscalls.c (_fstat): Fix call to memset.
12731 (_stat): Likewise.
12732
12733 Mon Sep 11 23:09:39 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12734
12735 * libc/sys/win32/crt0.c (passover): fix up the state table.
12736 * libc/posix/popen.c: Added.
12737 * libc/posix/Makefile.in: compile popen.c.
12738
12739 Mon Sep 11 11:43:38 1995 J.T. Conklin <jtc@cygnus.com>
12740
12741 * libc/include/machine/ieeefp.h: On the h8/300, h8/300h and
12742 h8/500 define _DOUBLE_IS_32BITS.
12743
12744 Sat Sep 9 17:55:54 1995 Doug Evans <dje@canuck.cygnus.com>
12745
12746 Get vfork/exec/spawn/cwait/wait working again.
12747 * libc/sys/win32/syscalls.h (VFORK_NEWBORN_PSEUDO_PID): Define.
12748 (procinfo): New member vfork_level.
12749 * libc/sys/win32/crt0.c (__vfork_next_pid): Delete.
12750 (vfork_init_first): Use GetCurrentProcessId to get pid.
12751 Initialize vfork_level.
12752 (vfork_init): Delete __PID__.
12753 (environ_init): New function. Undo patch of Aug 19, Posix says
12754 environment variables are case sensitive.
12755 (mainCRTStartup): Call it.
12756 * libc/sys/win32/spawn.c (__vfork_next_pid): Delete.
12757 (my_longjump: Make static.
12758 (_spawn): New argument `h'. Delete setting of __PID__.
12759 Delete local `idx'. Look for chars that need quotes, rather than
12760 ones that don't. Set handle of created process in `h'.
12761 Result is process id if created task.
12762 (allocate_spawn_entry): New function.
12763 (spawnvp, spawnv): Call it. Store handle and pid in procinfo entry.
12764 (_execve): Set __FD_TABLE__ before spawning child.
12765 Scan our fd table when passing fds, not our parent's.
12766 Store handle and pid in procinfo entry.
12767 (vfork0): Ensure strace message always printed.
12768 Set child pid to VFORK_NEWBORN_PSEUDO_PID.
12769 (vfork): Don't clobber result of vfork0.
12770 * libc/sys/win32/wait.c (cwait): Fix non-error result (is pid).
12771 (wait_for_any): Ignore processes in state FORK_STATE_VFORK_0.
12772
12773 * libc/sys/win32/syscalls.h (procinfo): New members `handle_valid_p'
12774 and `exit_code'.
12775 * libc/sys/win32/spawn.c (allocate_spawn_entry): Initialize them.
12776 (vfork0): Likewise. Distinguish children, grandchildren, etc. by
12777 adding vfork level to pseudo-pid.
12778 (vfork1): If not root, set state back to FORK_STATE_VFORK_0.
12779 (spawnvp, spawnv, _execve): Set handle_valid_p if success.
12780 (_exit): If child, set exit code.
12781 (__vfork_record_death): Only close process handle if valid.
12782 * libc/sys/win32/wait.c (wait_for_single): Watch for children that
12783 didn't exec.
12784 (wait_for_any): Likewise. Start scan after root entry.
12785
12786 Fri Sep 8 18:48:02 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12787
12788 * libc/include/sys/types.h (off_t): off_t back to 32 bits.
12789 * libc/include/sys/_types.h (_off_t): _off_t back to 32 bits.
12790 * libc/sys/win32/syscalls.c (_fstat): st_size is lower 32-bits
12791 of actual file length.
12792
12793 * libc/sys/win32/sys/wait.h: include <sys/types.h>.
12794 * libc/include/paths.h: _PATH_BSHELL added.
12795 * libc/include/sys/unistd.h: define STDIN_FILENO, STDOUT_FILENO,
12796 and STDERR_FILENO.
12797
12798 Thu Sep 7 21:02:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12799
12800 * libc/include/ar.h: Added.
12801 * libc/include/sys/types.h: ino_t goes back to 32-bits.
12802 * libc/sys/win32/syscalls.h (hinfo): added .namehash field.
12803 * libc/sys/win32/syscalls.c (_open): compute .namehash based
12804 on filename.
12805 (_fstat): use .namehash for inode number of the fd.
12806
12807 Thu Sep 7 12:57:19 1995 steve chamberlain <sac@slash.cygnus.com>
12808
12809 * libc/sys/win32/{console,ioctl,pipe,spawn,syscalls,wait}.? (*):
12810 Change hinfo to __this_procinfo.
12811 * libc/sys/win32/crt0.c: Remove procinfo_list.
12812
12813 Wed Sep 6 18:38:26 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12814
12815 * libc/include/sys/types.h (ino_t): Define ino_t correctly for
12816 win32 environment.
12817
12818 Wed Sep 6 18:09:29 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12819
12820 * libc/sys/win32/include/grp.h: Removed.
12821 * libc/sys/include/grp.h: Added.
12822 * libc/sys/win32/grp.c: Include <grp.h>.
12823
12824 Wed Sep 6 16:52:48 1995 steve chamberlain <sac@slash.cygnus.com>
12825
12826 * libc/include/sys/signal.h (__need_MAX_SIGNALS): Removed.
12827 (sigset_t, sigaction, SIG_SETMASK, SIG_BLOCK, SIG_UNBLOCK):
12828 Defined for all but strict ANSI.
12829 * libc/include/sys/reent.h (__need_MAX_SIGNALS): Removed.
12830 * libc/include/machine/setjmp.h: Get win32 _JBLEN right.
12831 * libc/signal/signal.c (_signal_r): Changed from using
12832 _MAX_SIGNALS to NSIG.
12833 * libc/sys/win32/crt0.c (__current_pid, __parent_hmap, __child_hmap,
12834 __hmap): Deleted.
12835 (__strace, __vfork_next_pid): New.
12836 (__exe_suffix): Default to 1.
12837 (passover, table): Understand quoted arguments.
12838 (vfork_init_first): New.
12839 (vfork_init): Initialize new process structure.
12840 (mainCRTStartup): Pass environ to main.
12841 * exceptions.c (__sig_mask): New
12842 (ehandler3): Ignore signals in mask.
12843 (really_exit): Remove CHILD_P test.
12844 * pipe.c (pipe, dup, dup2): Use new process and file structure.
12845 * resource.c (getrusage): Ditto.
12846 * signal.c (sigprocmask): New.
12847 * spawn.c (*): Rewritten.
12848 * syscalls.c (*): Use new process and file structure.
12849 (find_unused_handle): New.
12850 * syscalls.h (MAX_HANDLES): Deleted.
12851 (hinfo): Removed child_created_p.
12852 (MAX_CHILDREN): Deleted.
12853 (vfork_jmp_info, procinfo): New.
12854 * wait.c (*): Mostly new.
12855 * sys/strace.h (_STRACE_PARANOID): New.
12856 * sys/param.h: New file.
12857
12858 Wed Sep 6 17:03:53 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12859
12860 * libc/include/sys/stat.h: add S_BLKSIZE.
12861 * libc/include/sys/_types.h: _off_t is a 64-bit type under win32.
12862 * libc/include/sys/types.h: define off_t and ino_t to be 64 bit
12863 types under win32.
12864 (mode_t): add a #else to avoid multiple definitons.
12865
12866 * libc/sys/win32/Makefile.in: add grp.c.
12867 * libc/sys/win32/grp.c: include grp.h correctly.
12868 * libc/sys/win32/syscalls.c (_fstat): set almost all of the fields
12869 of the st structure with real information.
12870 * libc/sys/win32 (dirent): d_ino is of type ino_t.
12871
12872 Wed Sep 6 10:41:34 1995 Doug Evans <dje@canuck.cygnus.com>
12873
12874 * libc/include/sys/types.h (mode_t): Correct for svr4 sparc's
12875 and (maybe) sparc64.
12876 (nlink_t): Provide typedef.
12877
12878 Tue Sep 5 18:46:05 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12879
12880 * libc/sys/win32/grp.c: New file.
12881 * libc/sys/win32/include/grp.h: New file.
12882
12883 Tue Sep 5 13:47:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12884
12885 * libc/include/machine/ieeefp.h: Added whitespace to make this
12886 file easier to maintain.
12887 On the sh, define either __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN
12888 depending on the value of __LITTLE_ENDIAN__.
12889 On the sh3e, define _DOUBLE_IS_32BITS.
12890
12891 Fri Sep 1 15:35:18 1995 James G. Smith <jsmith@beauty.cygnus.com>
12892
12893 * libc/sys/vr4300/syscalls.c: Added missing support
12894 routines. _raise() and getpid().
12895
12896 Fri Sep 1 14:12:48 1995 James G. Smith <jsmith@rtl.cygnus.com>
12897
12898 * configure.in (mips*vr4300*-*-elf): Fixed silly mistake
12899
12900 Fri Sep 1 08:42:11 1995 James G. Smith <jsmith@beauty.cygnus.com>
12901
12902 * configure.in (mips*vr4300*-idt-*) Add support for RISQ monitor
12903 and VR4300 processor.
12904 * libc/sys/vr4300: Add directory.
12905 * libc/sys/vr4300/{Makefile.in, crt0.S, syscalls.c}: Add SIM
12906 monitor run-time support.
12907
12908 Thu Aug 31 09:16:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12909
12910 * libc/stdlib/Makefile.in (CHEWOUT_FILES): Removed atol.def.
12911 * libc/stdlib/stdlib.tex: Don't include atol.def.
12912
12913 Wed Aug 30 20:38:28 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12914
12915 * libc/sys/win32/uname.c (uname): hardcode processor as `i386'.
12916
12917 Wed Aug 30 10:48:08 1995 steve chamberlain <sac@slash.cygnus.com>
12918
12919 * libc/ctype/Makefile.in: Fill in _to* dependencies.
12920
12921 Tue Aug 29 17:14:29 1995 steve chamberlain <sac@slash.cygnus.com>
12922
12923 * libc/sys/win32/{dirsearch.c,sys/dirent.h}: Fix namespace problems.
12924 * libc/sys/win32/sys/dirent.h (struct dirent): Added d_ino.
12925 * libc/sys/win32/strace.c (__sys_printf): Increase size of buffer.
12926 * libc/sys/win32/smallprint.c (__small_vsprintf): Remove debug.
12927 * libc/sys/win32/dirsearch.c (readdir): Set d_ino.
12928
12929 Tue Aug 29 19:00:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12930
12931 * libc/stdlib/atol.c (atol): DEFUN -> _DEFUN.
12932
12933 Tue Aug 29 16:08:09 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12934
12935 * libc/stdlib/Makefile.in (OFILES): Added atoff.o and atol.o.
12936 * libc/stdlib/atoff.c: New file.
12937 * libc/stdlib/atof.c (atoff): Moved to atoff.c.
12938 * libc/stdlib/atoi.c (atol): Removed.
12939 * libc/stdlib/atol.c: Removed duplicate documentation.
12940
12941 * libc/include/ctype.h (_tolower, _toupper): Moved inside
12942 #ifndef _STRICT_ANSI conditional.
12943 * libc/ctype/Makefile.in (OFILES): Added _tolower.o and _toupper.o
12944 * libc/ctype/_tolower.c: New file.
12945 * libc/ctype/_toupper.c: New file.
12946 * libc/ctype/tolower.c (_tolower): Moved to _tolower.c.
12947 * libc/ctype/toupper.c (_toupper): Moved to _toupper.c.
12948 * libc/ctype/toascii.c (_toascii): Removed.
12949
12950 Tue Aug 29 12:17:32 1995 Doug Evans <dje@canuck.cygnus.com>
12951
12952 * libc/sys/sparc64/sys/types.h: Deleted.
12953
12954 Mon Aug 28 22:06:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12955
12956 * libc/sys/win32/uname.c (uname): change `Windows/NT' to `Windows_NT'
12957 and recognize Windows_95 systems.
12958
12959 Mon Aug 28 19:50:54 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12960
12961 * libc/sys/win32/crt0.c (vfork_init, hmap_init): standard I/O fds
12962 and passed fds should be opened in text mode.
12963
12964 Mon Aug 28 18:51:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12965
12966 * libc/sys/win32/crt0.c (vfork_init): mark passed fds as used
12967 in __hmap, set to binary mode by default.
12968
12969 Tue Aug 22 14:12:37 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12970
12971 * libc/sys/sh/syscalls.c: Updated all functions to call __trap34.
12972 * libc/sys/sh/trap.S (__trap34): Renamed from __trap3. Use trap
12973 vector 34.
12974
12975 Sat Aug 19 18:25:37 1995 steve chamberlain <sac@slash.cygnus.com>
12976
12977 * Makefile.in (install): Install all libraries found in the
12978 top level. If there's a sys/<type>/include directory,
12979 install those headers into include.
12980
12981 * libc/sys/win32/kernel.def351: Delete
12982 * libc/sys/win32/{comctl32.def, comdlg32.def, ctl3d32.def,
12983 glaux.def, glu32.def, largeint.def, libc.def, libcmt.def,
12984 lz32.def, mgmtapi.def, mpr.def, msacm32.def, msvcrt.def,
12985 nddeapi.def, netapi32.def, odbc32.def, odbccp32.def, oldnames.def,
12986 ole32.def, oleaut32.def, opengl32.def, rasapi32.def, rpcndr.def,
12987 rpcns4.def, rpcrt4.def, scrnsave.def, shell32.def, snmp.def,
12988 uuid.def, vdmdbg.def, version.def, vfw32.def, win32spl.def,
12989 winmm.def, winspool.def, winstrm.def, wsock32.def}: New.
12990
12991 * libc/sys/win32/Makefile.in: Update for new files and new dlltool options.
12992 * libc/sys/win32/crt0.c: Force all env names to upper case.
12993 * libc/sys/win32/sys/win*.h -> libc/sys/win32/include
12994 * libc/sys/win32/*.c: Headers have moved.
12995 * libs/sys/win32/*.[ch]: Test for open_p rather than BAD_HANDLE,
12996 __vfork_child_idx is now __vfork_child_ptr.
12997
12998 * posix/execvp (execvp): Don't crash if no PATH envname.
12999
13000 Fri Aug 18 12:22:59 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13001
13002 * libc/include/sys/reent.h (_Bigint): Removed _reclaim field.
13003 * libc/reent/reent.c (_reclaim_reent): Free Bigint's by going
13004 through the _freelist instead of through the _reclaim list.
13005 * libc/stdlib/mprec.c (_Balloc): Don't put new node on _reclaim list.
13006 * libc/stdlib/mprec.c (_Bcopy): Make like version in master dtoa.c
13007 sources.
13008
13009 Thu Aug 17 11:03:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13010
13011 * libc/machine/h8500/setjmp.S: New file.
13012 * libc/include/machine/setjmp.h: Updated for H8/500.
13013
13014 Wed Aug 16 16:19:11 1995 steve chamberlain <sac@slash.cygnus.com>
13015
13016 * libc/sys/win32/syscalls.c (_open): More stracing.
13017 (_stat): Open the file in O_BINARY.
13018
13019 Wed Aug 16 15:49:01 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13020
13021 * libc/machine/h8300/setjmp.S: New file.
13022 * libc/include/machine/setjmp.h: Updated for H8/300 and H8/300H.
13023
13024 Tue Aug 15 10:31:09 1995 Doug Evans <dje@canuck.cygnus.com>
13025
13026 * libc/sys/win32/crt0.c (__exe_suffix): New global.
13027 (mainCRTStartup): Set __exe_suffix from LIBC_EXE_SUFFIX.
13028 * libc/sys/win32/spawn.c (_spawn): Add .exe suffix based on
13029 __exe_suffix. Free fd_tab after setting env variable.
13030 (spawnv,_execve): Update.
13031 * libc/sys/win32/syscalls.h (__exe_suffix): Declare.
13032 * libc/sys/win32/smallprint.c (puts,putn): New (static) functions.
13033 (__small_vfprintf): New function.
13034 * libc/sys/win32/strace.c (__sys_printf): Call __small_vfprintf.
13035 * libc/sys/win32/wait.c (cwait): Validate argument.
13036
13037 * libc/sys/win32/syscalls.c (queue_file_deletion): Add trace message.
13038 (process_deletion_queue): Likewise.
13039
13040 * libc/sys/win32/Makefile.in (lib.a): Don't call $(RANLIB).
13041
13042 Mon Aug 14 10:14:10 1995 steve chamberlain <sac@slash.cygnus.com>
13043
13044 * libc/sys/win32: Copyrights and gratuitous indenting.
13045
13046 Mon Aug 14 01:32:58 1995 Doug Evans <dje@canuck.cygnus.com>
13047
13048 * libc/sys/win32/syscalls.c (queue_file_deletion): Finish.
13049 (process_deletion_queue): Likewise.
13050 (__close_all_files): New function.
13051 (_close): Only queue file deletion if really a file.
13052 * libc/sys/win32/spawn.c (_spawn): Only ensure .exe suffix if
13053 _P_APPEND_EXE.
13054 (_exit): Call __close_all_files.
13055
13056 * libc/stdlib/system.c: #include <errno.h>.
13057 (_system_r): Fix results in -DNO_EXEC case.
13058
13059 * libc/sys/win32/sys/dirent.h (DIR): New member __d_dirname.
13060 Reorganize structure.
13061 * libc/sys/win32/dirsearch.c (opendir): Use stat to determine
13062 if argument is valid. Save directory name in DIR. malloc space
13063 for dirent struct separately.
13064 * libc/sys/win32/syscalls.c (stat): Fix test for directory.
13065
13066 * libc/include/errno.h (ENAMETOOLONG): Define.
13067 * libc/string/strerror.c (strerror): Reword ENFILE.
13068 Add ENOSYS, ENMFILE, ENOTEMPTY, ENAMETOOLONG.
13069
13070 Sun Aug 13 22:42:25 1995 Doug Evans <dje@canuck.cygnus.com>
13071
13072 * libc/sys/win32/crt0.c (__progname): New global.
13073 (mainCRTStartup): Support strace=bitmask,filename.
13074 * libc/sys/win32/dirsearch.c (all fns): Add trace messages.
13075 * libc/sys/win32/syscalls.c (_write): Print parent trace message
13076 if error.
13077 (getcwd): Handle len too small. Convert '\\' to '/'.
13078 * libc/sys/win32/sys/fcntl.h (O_RDWR): = O_RDONLY|O_WRONLY.
13079 Add prototypes for open, creat, fcntl.
13080 (O_APPEND): Change value to conform to Microsoft's value.
13081 * libc/sys/win32/sys/strace.h (_STRACE): Protect in do/while.
13082
13083 * libc/stdlib/getopt.c: New file.
13084 * libc/stdlib/Makefile.in: Build it.
13085
13086 Sat Aug 12 12:17:14 1995 Doug Evans <dje@canuck.cygnus.com>
13087
13088 * libc/posix/execvp.c (execvp): Watch for DOS drives ifdef _WIN32.
13089 Fix scanning of $PATH.
13090 * libc/posix/exec*.c: Call _execve, not execve.
13091 * libc/posix/execve.c: New file.
13092 * libc/posix/Makefile.in (OFILES): Add execve.o.
13093
13094 * libc/sys/win32/sys/strace.h (_STRACE_ALL, _STRACE_UHOH,
13095 _STRACE_STARTUP, _STRACE_SYSCALL): More bit masks of things to trace.
13096 (_STRACE): If level==0, always print. Handle new bit mask scheme.
13097 * libc/sys/win32/crt0.c: Update _STRACE calls.
13098 * libc/sys/win32/{pipe.c,resource.c,spawn.c,syscalls.c,wait.c}: Ditto.
13099
13100 * libc/sys/win32/smallprint.c (rn): Fix digit list.
13101
13102 * libc/sys/win32/syscalls.c (__really_exit): Move from here,
13103 * libc/sys/win32/exceptions.c (really_exit): to here. Avoid recursion.
13104 * libc/sys/win32/spawn.c (spawnvp): Pass `prog' as image name.
13105 Print __seterrno trace message first.
13106 (_execve): Renamed from execve.
13107 (vfork): Update __strace usage.
13108 (__vfork_child_pid): Deleted.
13109 (__vfork_children, __vfork_child_idx): New globals.
13110 (_spawnvp): New function.
13111 (spawnvp, spawnv, _execve): Call _spawnvp.
13112 (init_child): Record child in __vfork_children.
13113 (__vfork_get_entry, __vfork_record_death): New functions.
13114 * libc/sys/win32/crt0.c (mainCRTStartup): Initialize __vfork_children.
13115 * libc/sys/win32/kernel32.def (WaitForMultipleObjects): Define.
13116 * libc/sys/win32/syscalls.h (CHILD_P): New macro. All files updated.
13117 (MAX_CHILDREN, CHILD_INTERIM_PID): Define.
13118 (children): New typedef.
13119 (__vfork_children,__vfork_child_idx): Declare.
13120 (__vfork_get_entry,__vfork_record_death): Declare.
13121 * libc/sys/win32/wait.c (wait_for_single,wait_for_any): New functions.
13122 (waitpid): Handle pid == -1.
13123 * libc/sys/win32/sys/wintypes.h (WaitForMultipleObjects): Declare.
13124 * configure.in (i386-win32): Add -DNO_FORK.
13125 * libc/syscalls/sysfork.c (fork): Don't define for NO_FORK.
13126 * libc/reent/execr.c (_fork_r): Likewise.
13127 * libc/stdlib/system.c (do_system): New function.
13128 If WIN32, try to get shell path from $SH_PATH, use vfork.
13129 (_system_r): Return 1 for (s == NULL) if WIN32 or unix,
13130 otherwise return 0.
13131
13132 Sat Aug 12 11:08:00 1995 steve chamberlain <sac@slash.cygnus.com>
13133
13134 * libc/stdlib/{mallocr.c, mstats.c}: Move mstats from mallocr to mstats.c.
13135 * libc/sys/win32/fcntl.h: Don't include self.
13136 * libc/sys/win32/sys/strace.h (_STRACE_WM, _strace_wm): New.
13137 * libc/sys/win32/sys/winbase.h: (GetUserName) New.
13138 * libc/sys/win32/sys/wincon.h (HANDLER_ROUTINE): Define correctly.
13139 * libc/sys/win32/sys/wintypes.h (GetFileType, GetCurrentProcess, CloseHandle,
13140 SetFilePointer, CreateFileA, GetFileInformationByHandle, GetStdHandle):
13141 Correct prototypes.
13142 * libc/sys/win32/strace.c: New file.
13143 * libc/sys/win32/smallprint.c: New file.
13144 * libc/sys/win32/crt0.c (func): Delete.
13145 (mainCRTStartup): Fix alloca usage. Set handles explictly.
13146 * libc/sys/win32/dirsearch.c: Clean up handle usage, fix calls to __seterrno.
13147 * libc/sys/win32/exceptions.c: Lint.
13148 * libc/sys/win32/{ioctl.c, pipe.c, resource.c, spawn.c, cwait.c, syscalls.c}:
13149 Clean up handle usage.
13150 * libc/sys/win32/syscalls.c (__sys_printf): Moved into strace.c
13151 (open.c): Default file type is text.
13152 * libc/sys/win32/uname.c (uname): Use __small_sprintf.
13153 * libc/sys/win32/advapi32.def: New
13154
13155 Fri Aug 11 17:11:52 1995 Doug Evans <dje@canuck.cygnus.com>
13156
13157 * configure.in (posix_dir, libc_posix_lib): New variables.
13158 Define LIBC_POSIX_LIB in makefile to be $libc_posix_lib.
13159 (i[345]86-*-win32): Define posix_dir.
13160 Delete -DNO_EXEC. Define -DHAVE_OPENDIR.
13161 (if unix_dir): Fix typo.
13162 * libc/posix/{Makefile.in,closedir,opendir,readdir,rewinddir,
13163 scandir,seekdir,telldir}: New files.
13164 * libc/posix/{execl.c,execle.c,execlp.c,execv.c,execvp.c}: Move here
13165 from libc/unix.
13166 * libc/Makefile.in (LIBC_POSIX_LIB): Define.
13167 (SUBDIRS): Add posix.
13168 (SUBLIBS): Add $(LIBC_POSIX_LIB).
13169
13170 * libc/include/sys/signal.h (SIGCHLD): Add for _WIN32.
13171 (NSIG): Increase to 21.
13172 * libc/include/sys/unistd.h (pid_t): Move from here,
13173 * libc/include/sys/types.h (pid_t): to here.
13174
13175 * libc/sys/win32/syscalls.h: #include "sys/strace.h".
13176 (__ptrace): Delete.
13177 (hinfo): New members close_exec_p, child_created_p.
13178 (struct exception_list): Define.
13179 (__hmap): Redefine as pointer to table.
13180 (__parent_hmap, __child_hmap): New globals.
13181 (__set_errno, __really_exit): Declare.
13182 (__vfork_child_pid): Declare.
13183 * libc/sys/win32/crt0.c (__strace, __trace_file): New global.
13184 (__orig_stdin, __orig_stdout, __orig_stderr): New globals.
13185 (__parent_hmap, __child_hmap): New globals.
13186 (__hmap): Redefine as pointer to active map.
13187 (__get_console): New function.
13188 (mainCRTStartup): Change leading '=' in environ vars to '!'.
13189 (env __FD_TABLE__): Watch for this and initialize our fd/handle
13190 mapping table from it if defined.
13191 (argv, envp): Dump if __strace >= 4.
13192 (main): Call here.
13193 * libc/sys/win32/exceptions.c (myp): Redefine.
13194 (__syscalls_b): Delete.
13195 (__stack_trace): New function.
13196 (ehandler3): Update to use _STRACE. Print stack trace.
13197 Call __really_exit instead of exit.
13198 (init_exceptions): Delete args argc,argv. New arg mine.
13199 * libc/sys/win32/kernel32.def (CreatePipe, DuplicateHandle, FindClose,
13200 FindFirstFileA, FindNextFileA, GetComputerNameA,
13201 GetEnvironmentVariableA, ReadFile, SetEnvironmentVariableA): Define.
13202 * libc/sys/win32/signal.c (signal): Validate arg.
13203 (alarm, sleep): Define as stubs for now.
13204 * libc/sys/win32/syscalls.c (all fns): Update to use _STRACE.
13205 (__syscalls_b, errno): Delete.
13206 (__vfork_child_pid, __vfork_jmp_buf): New globals.
13207 (__seterrno): Handle more errors.
13208 (__sys_printf): Renamed from _ptrace.
13209 (__really_exit): New function.
13210 (queue_file_deletion, process_deletion_queue): New functions.
13211 (__resume_parent): New function.
13212 (_unlink): Handle trying to delete open file.
13213 (__totime_t): Renamed from totime_t.
13214 (setsid, __read, __write): New functions.
13215 (cwait, spawnvp, R, D, getrusage, _execve, _fork, _wait): Delete.
13216 * libc/sys/win32/{dirsearch.c,getlogin.c,misc.c,resource.c,passwd.c,
13217 times.c,spawn.c,pipe.c,wait.c,termios.c,ioctl.c,uname.c}: New files.
13218 * libc/sys/win32/console.c: Update to new definition of __hmap.
13219 * libc/sys/win32/Makefile.in: Build new files.
13220 * libc/sys/win32/sys/{dirent.h,winerror.h,wait.h,termios.h}: New files.
13221 * libc/sys/win32/sys/{ioctl.h,utsname.h}: New files.
13222 * libc/sys/win32/sys/strace.h: Renamed from ptrace.h.
13223 * libc/sys/win32/sys/wintypes.h (GetCurrentDirectoryA): Fix prototype.
13224
13225 Thu Aug 10 16:32:52 1995 Doug Evans <dje@canuck.cygnus.com>
13226
13227 * libc/sys/h8500hms/misc.c (kill): Handle SIGABRT.
13228
13229 Thu Aug 10 12:07:38 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13230
13231 * libc/stdlib/{dtoa.c, strtod.c}: Merged assorted changes that
13232 have been made to the master dtoa.c sources (from netlib.att.com)
13233 since they were integrated into newlib in early 1992. Fixes
13234 problems with storage leaks and handling of numbers with very
13235 negative exponents.
13236
13237 Wed Aug 9 14:18:39 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13238
13239 * Makefile.in (all): set rootpre and srcrootpre before calling
13240 sub-makes.
13241
13242 Tue Aug 8 17:20:45 1995 steve chamberlain <sac@slash.cygnus.com>
13243
13244 * libc/sys/win32/crt0.c: Change __hmap usage.
13245 * libc/sys/win32/exceptions.c: Use _ptrace call.
13246 * libc/sys/win32/syscalls.c: Use _ptrace call.
13247 (read, write): Cope with DOS style CRLF when in TEXT mode.
13248 * libc/sys/win32/syscalls.h: Declare hinfo struct.
13249 * libc/sys/win32/user32.def: Get DefWindowProc arg list right.
13250 * libc/sys/win32/sys/fcntl.h, ptrace.h: New.
13251 * libc/sys/win32/sys/windows.h: Fill in rest of messages.
13252 * libc/sys/win32/sys/wintypes.h: Fix attribute syntax.
13253
13254 Mon Aug 7 13:04:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13255
13256 * libc/include/math.h (cabs, cabsf, drem, dremf): New declarations.
13257
13258 * libm/math/{w_cabs.c, wf_cabs.c, w_drem.c, wf_drem.c}: New files,
13259 wrappers for hypot() and remainder() for BSD libm compatibility.
13260 These are public domain implementations written by me for the
13261 NetBSD libm some time ago. Note cabs() is required by ucbtest.
13262 * libm/math/Makefile.in (obj): Added w_cabs.o and w_drem.o.
13263 (fobj): Added wf_cabs.o and wf_drem.o.
13264
13265 Thu Aug 3 08:13:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13266
13267 * libc/sys/h8500hms/misc.c: New file.
13268 * libc/sys/h8500hms/Makefile.in (OFILES): Add misc.o.
13269
13270 Wed Aug 2 16:46:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13271
13272 * libc/time/localtime.c (localtime): Fix problem with leap year
13273 handling. Stole algorithm from Arthur David Olson's tz code.
13274
13275 Mon Jul 31 10:21:54 1995 steve chamberlain <sac@slash.cygnus.com>
13276
13277 * configure.in: (z8k-*sim): Renamed z8k-*-coff.
13278
13279 * libc/sys/z8ksim/glue.c (_getpid, _kill): New
13280 (_exit): Use argument.
13281
13282 Fri Jul 28 15:17:04 1995 Doug Evans <dje@canuck.cygnus.com>
13283
13284 * libc/sys/win32/sys/winbase.h (_WINBASE_H): Define.
13285
13286 Wed Jul 26 16:24:19 1995 steve chamberlain <sac@slash.cygnus.com>
13287
13288 * libc/sys/sh/trap.S (perrno): Align correctly. (pr 7532)
13289
13290 Mon Jul 24 13:42:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13291
13292 * configure.in (sparc*): Add -DMALLOC_ALIGNMENT=8 to
13293 target_cflags.
13294
13295 Mon Jul 24 11:42:07 1995 steve chamberlain <sac@slash.cygnus.com>
13296
13297 * libc/sys/win32/crt0.c (mainCRTStartup): Look for
13298 ptrace with case insensitivity
13299 * libc/sys/win32/{user32.def, gdi32.def, exceptions.c, screen.c,
13300 sys/winbase.h, sys/windows.h, sys/wintypes.h, sys/winuser.h}:
13301 New files.
13302
13303 Fri Jul 21 11:22:26 1995 Doug Evans <dje@canuck.cygnus.com>
13304
13305 * Makefile.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
13306 (MULTITOP, MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): New variables.
13307 (all, install, *clean): Use new multilib support.
13308 * configure.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
13309
13310 Fri Jul 21 07:11:42 1995 steve chamberlain <sac@slash.cygnus.com>
13311
13312 * libc/include/sys/signal.h (__WIN32__): New.
13313
13314 * configure.in (i386-*-win32): Remobe SBRK_IS_ALLOC.
13315
13316 * libc/stdlib/mprec.c (Balloc): Fix trampling problem.
13317 (ulp, b2d): Handle 32 bit doubles.
13318 * libc/stdlib/mprec.h: Handle 32 bit doubles.
13319 * libc/stdlib/strtod.c (_strtod_r): Ditto.
13320
13321 Fri Jul 14 08:24:58 1995 steve chamberlain <sac@slash.cygnus.com>
13322
13323 from medp@primag.co.uk:
13324 * libc/stdio/setvbuf.c (setvbuf): Fix line buffering on
13325 dynamically allocated buffers.
13326
13327 Thu Jul 20 10:11:03 1995 Fred Fish <fnf@fishbowl>
13328
13329 * libc/include/sys/unistd.h (_exit): Add _ATTRIBUTE ((noreturn)).
13330 * libc/stdlib/exit.c (unistd.h): Include to pick up _exit() declaration.
13331
13332 Thu Jul 20 10:16:25 1995 Michael Meissner <meissner@tiktok.cygnus.com>
13333
13334 * configure.in (powerpc): Fix previous fix.
13335
13336 Wed Jul 19 14:08:55 1995 Michael Meissner <meissner@tiktok.cygnus.com>
13337
13338 * configure.in (powerpc-*eabiaix*): Update PowerPC multilib
13339 directories for this target.
13340
13341 Wed Jul 19 00:34:30 1995 Jeffrey A. Law <law@rtl.cygnus.com>
13342
13343 * configure.in (hppa): Add machine_dir definition.
13344 * libc/machine/hppa: New directory with PA specific implementations
13345 of the basic memory/string functions.
13346
13347 Tue Jul 18 21:16:00 1995 Michael Meissner <meissner@tiktok.cygnus.com>
13348
13349 * configure.in: Update current PowerPC multilib directories.
13350 Split big and little endian configurations.
13351
13352 Tue Jul 18 11:55:33 1995 Ian Lance Taylor <ian@cygnus.com>
13353
13354 * configure.in: Add --enable-single-float option to configure to
13355 control use of MIPS single-float directories. Default to yes.
13356
13357 * Makefile.in (all): Don't recurse into multilib directory if it
13358 does not exist.
13359
13360 Mon Jul 17 15:51:30 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13361
13362 * libc/sys/sh/syscalls.c: Fix typo.
13363
13364 Mon Jul 3 14:38:52 1995 Steve Chamberlain <sac@slash.cygnus.com>
13365
13366 * Makefile.in, libc/Makefile.in, libc/sys/Makefile.in:
13367 Pass down DLLTOOL.
13368 * libc/include/process.h: Define WAIT_CHILD.
13369 * libc/include/types.h: Get sizes right for win32.
13370 * configure.in (i386-*-pe): Becomes i386-win32.
13371 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
13372 wintypes.h,sys/file.h,sys/resource.h}: Second pass.
13373 * libc/stdlib/mallocr.c: Don't round up memory block if SBRK_IS_ALLOC
13374 is defined.
13375
13376 Wed Jun 28 18:34:54 1995 Steve Chamberlain <sac@slash.cygnus.com>
13377
13378 * configure.in (i[345]86-*-pe): New target (NT).
13379 * host/any: DLLTOOL new.
13380 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
13381 wintypes.h,sys/file.h,sys/resource.h}: Preliminary support for
13382 WIN32 (just enough to cross host the comp-tools).
13383
13384 Thu Jun 22 11:45:18 1995 Doug Evans <dje@canuck.cygnus.com>
13385
13386 * libc/machine/h8300/{cmpsi.S,ucmpsi.S,divhi3.S,mulhi3.S,mulsi3.S}:
13387 Deleted. These files live in gcc/config/h8300/lib1funcs.asm now.
13388
13389 Mon Jun 19 11:40:40 1995 Doug Evans <dje@canuck.cygnus.com>
13390
13391 * libc/include/machine/ieeefp.h (arm): Change to always be
13392 __IEEE_BIG_ENDIAN (even on little endian ARM's).
13393
13394 Thu Jun 8 14:22:28 1995 Steve Chamberlain <sac@slash.cygnus.com>
13395
13396 * libc/sys/crt0.S: Initialze sp, and call exit after main.
13397 * libc/sys/syscalls.c (abort): New.
13398 * configure.in (arm): Define ABORT_PROVIDED.
13399
13400 Wed Jun 7 14:04:35 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13401
13402 * configure.in (powerpc): Define multidirs.
13403
13404 Mon Jun 5 16:10:13 1995 Doug Evans <dje@canuck.cygnus.com>
13405
13406 * libc/sys/arm/crt0.S: Add __USER_LABEL_PREFIX__ support.
13407
13408 Thu Jun 1 10:51:47 1995 Sean Eric Fagan <sef@cygnus.com>
13409
13410 * configure.in (sparclite): Delete target_cflags. Define multidirs.
13411
13412 Wed May 24 14:23:25 1995 Steve Chamberlain <sac@slash.cygnus.com>
13413
13414 * configure.in, libc/include/machine/ieeefp.h: Modified
13415 for arm:
13416 libc/machine/arm/*, libc/sys/arm/*: New
13417
13418 Tue May 23 13:53:07 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13419
13420 * libc/include/machine/ieeefp.h: Use __PPC__ instead of
13421 __powerpc__ when determining endianness.
13422
13423 Wed May 10 07:55:56 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13424
13425 * configure.in (m68*): Add multidir for the m68332.
13426
13427 * host/any (CC): Fix typo in last change.
13428
13429 Fri Apr 14 22:20:31 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
13430
13431 * libc/include/sys/config.h: Test __m68k__ instead of __m68000__
13432 when determining endianness.
13433 * libc/include/machine/ieeefp.h: Ditto.
13434 * libc/machine/m68k/setjmp.S: Use '&' instead of '#' for immediate
13435 operands.
13436
13437 Fri Apr 14 14:14:29 1995 Doug Evans <dje@chestnut.cygnus.com>
13438
13439 * libc/include/errno.h (ENOTEMPTY): Define.
13440
13441 Thu Apr 6 12:21:20 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13442
13443 * configure.in (sparc-sun-sunos*): Add -DMALLOC_ALIGNMENT=8 to
13444 target_cflags.
13445
13446 * libc/sys/sun4/Makefile.in (COPYOFILES): Added rem.o, multiply.o,
13447 and umultiply.o.
13448
13449 * libc/stdio/tmpnam.c (worker): Unconditionally increment count
13450 instead of only when open succeeds. ANSI requires that multiple
13451 calls to tmpnam() result in different files.
13452
13453 * libc/sys/sun4/Makefile.in (COPYRENAMEOFILES): New macro, list of
13454 objects pulled in from /lib/libc.a that must be renamed before
13455 being pulled into newlib. /lib/libc.a's div.o conflicted with
13456 newlib's file with the same name.
13457
13458 * libc/stdlib/ldiv.c (ldiv): Call labs() instead of abs().
13459
13460 * host/any (CC, AS, AR, RANLIB): Changed so that executables in
13461 the build tree will only be used if the executables are present
13462 (instead of just the Makefiles).
13463
13464 * libc/include/stdlib.h (mblen, mbtowc, wctomb, mbstowcs,
13465 wcstombs): Define.
13466 * libc/stdlib/{mblen.c, mbstowcs.c, wcstombs.c}: New files, null
13467 versions of these functions that I orignally wrote for the
13468 NetBSD C library.
13469 * libc/stdlib/{mbtowc.c, wctomb.c}: Replaced functions with
13470 versions I wrote for NetBSD.
13471
13472 Wed Mar 29 12:42:42 1995 Kung Hsu <kung@mexican.cygnus.com>
13473
13474 * libc/sys/sparclite/Makefile.in: add crt0.s and make info.
13475 * libc/sys/sparclite/crt0.s: ditto.
13476
13477 Tue Mar 28 20:28:03 1995 Rob Savoye <rob@rtl.cygnus.com>
13478
13479 * configure.in: Add soft-float for proelf.
13480
13481 Mon Mar 27 12:07:56 1995 Steve Chamberlain <sac@bang.hack.com>
13482
13483 * libc/stdlib/mprec.h (Bcopy): Copy the right number
13484 of bytes.
13485
13486 Mon Mar 27 11:24:22 1995 Doug Evans <dje@chestnut.cygnus.com>
13487
13488 * Makefile.in (all): Depend on `force'.
13489 * configure.in (syscall_dir): Renamed from fake_sys_dir.
13490 (libc_syscall_lib): Renamed from libc_fake_sys_lib.
13491 (LIBC_SYSCALL_LIB): Renamed from LIBC_FAKE_SYS_LIB.
13492 * libc/Makefile.in: Likewise.
13493 * libc/include/reent.h: Update syscall references.
13494 (_fcntl_r): Add prototype.
13495 * libc/syscalls/*.c #include <reent.h>.
13496 (*) Call reentrant version if REENTRANT_SYSCALLS_PROVIDED.
13497
13498 Mon Mar 20 16:57:39 1995 Doug Evans <dje@deneb.cygnus.com>
13499
13500 * libc/include/sys/stat-dj.h (S_ISBLK): Define.
13501 (S_ISCHR, S_ISDIR, S_ISFIFO, S_ISREG): Define.
13502 * libc/include/sys/stat.h (stat-dj.h): Include ifdef MSDOS.
13503 (time.h, sys/types.h): Always include (even if MSDOS).
13504 (stat): Fix prototype.
13505
13506 Fri Mar 10 11:30:38 1995 Ian Lance Taylor <ian@cygnus.com>
13507
13508 * configure.in (i[345]86-*-go32): Compile with -DNO_EXEC.
13509
13510 Mon Feb 27 18:00:39 1995 Jim Wilson <wilson@chestnut.cygnus.com>
13511
13512 * libc/machine/h8500/psi.S (EXTPSIHI_RN_SN): Ifdef out.
13513
13514 Mon Feb 13 16:10:03 1995 Ian Lance Taylor <ian@cygnus.com>
13515
13516 * libc/include/regdef.h: New file.
13517 * libc/machine/mips/machine/regdef.h: New file.
13518
13519 Mon Feb 6 15:24:29 1995 Doug Evans <dje@canuck.cygnus.com>
13520
13521 * libc/sys/sparc64/sys/fcntl.h (open): Add ellipsis.
13522
13523 Fri Jan 27 13:52:10 1995 Steve Chamberlain <sac@splat>
13524
13525 * libc/sys/sh/crt0.S: Pass main's return to exit.
13526 * libc/sys/sh/trap.S: Put errno in the right place.
13527
13528 Tue Jan 24 18:57:56 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
13529
13530 * libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Integrate change
13531 from fdlibm 5.2: handle |x| < 3pi/4 more efficiently.
13532 * libm/math/ef_rem_pio2.c: Likewise.
13533 * libm/math/e_log10.c: Remove unused static one.
13534 * libm/math/ef_log10.c: Likewise.
13535 * libm/math/s_frexp.c: Likewise.
13536 * libm/math/sf_frexp.c: Likewise.
13537
13538 Sun Jan 22 21:26:14 1995 Steve Chamberlain <sac@splat>
13539
13540 * libc/sys/go32/Makefile.in, clock.S, dir.c, setjmp.S, stat.c,
13541 longjmp.S: Upgraded.
13542 * libc/sys/go32/sys/setjmp.h: Upgraded.
13543 * libc/sys/go32/sys/go32.h, dpmi.h: New files.
13544
13545 Fri Jan 20 18:33:18 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
13546
13547 * configure.in: Add many entries to multidirs for mips targets.
13548
13549 Wed Jan 18 10:19:25 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13550
13551 * libm/math/e_jn.c (__ieee754_yn): Integrate change from fdlibm
13552 5.2 which fixes bug where jn(-1,x) is three times larger than
13553 the actual answer.
13554 * libm/math/ef_jn.c (__ieee754_ynf): Likewise.
13555
13556 Sun Jan 15 21:48:58 1995 Steve Chamberlain <sac@splat>
13557
13558 * libc/sys/w65/sys/syscalls.h: New file
13559 * libc/include/machine/ieeefp.h: W65 support.
13560 * libc/include/sys/config.h: Ditto.
13561 * libc/machine/w65/Makefile.in, cmpsi, divsi3, lshrhi.s, mulsi3.c,
13562 sdivhi3.s, smulhi3.s, udivhi3.s, umodhi3.s: New files.
13563 * libc/sys/w65/Makefile.in, crt0.c, syscalls.c, trap.c: New files.
13564
13565 Wed Jan 11 15:59:01 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
13566
13567 * libc/sys/Makefile.in (lib.a, crt0.o): Depend upon subs.
13568
13569 Tue Jan 3 15:57:03 1995 Rob Savoye <rob@darkstar.cygnus.com>
13570
13571 * Makefile.in, configure.in: Remove any references to the old
13572 "stub" dir.
13573
13574 Thu Dec 22 10:42:08 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
13575
13576 * libc/syscalls/sysopen.c: Write _HAVE_STDC version of open, which
13577 uses ... in prototype.
13578
13579
13580 Wed Nov 30 08:39:42 1994 Ian Lance Taylor <ian@rtl.cygnus.com>
13581
13582 * libc/sys/a29khif/sys/libconfig.h: Remove.
13583 * libc/sys/go32/sys/libconfig.h: Remove.
13584 * libc/sys/sun4/sys/libconfig.h: Remove.
13585 * libc/sys/sysvi386/sys/libconfig.h: Remove.
13586 * libc/sys/sysvnecv70/sys/libconfig.h: Remove.
13587 * libc/sys/sparc64/sys/libconfig.h: Remove.
13588
13589 * libc/include/_ansi.h (_FLOAT_ARG, _FLOAT_RET): Don't define.
13590 * libc/include/sys/config.h (_FLOAT_ARG, _FLOAT_RET): Likewise.
13591 * libc/include/math.h: Change all uses of _FLOAT_RET and
13592 _FLOAT_ARG to float.
13593 * libm/test/math.c: Likewise.
13594 * testsuite/libm.sac/math.c: Likewise.
13595 * testsuite/libm.sac/working/math.c: Likewise.
13596
13597 Wed Nov 23 22:39:28 1994 Steve Chamberlain (sac@jonny.cygnus.com)
13598
13599 * libc/sys/sh/trap.s,crt0.s,setjmp.s: Renamed with .S so that
13600 gcc calls gas with endian option.
13601 * configure.in (sh): Build little endian version too.
13602
13603 Wed Nov 16 18:21:45 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
13604
13605 * configure.in: Configure big and little endian versions for MIPS
13606 targets.
13607
13608 Sat Nov 12 21:12:51 1994 Doug Evans <dje@canuck.cygnus.com>
13609
13610 * libc/include/limits.h: Deleted.
13611 * libc/include/machine/limits.h: Deleted.
13612
13613 Thu Nov 10 15:32:44 1994 Rob Savoye <rob@rtl.cygnus.com>
13614
13615 * ChangeLog: Remove stub directory. This has all been rewritten
13616 and moved to devo/libgloss.
13617
13618 Thu Sep 29 18:31:04 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
13619
13620 * Makefile.in (dvi): Add to info target, use $@ in sub make.
13621 (docs): Merge into info target.
13622 * libm/Makefile.in (dvi): Add $(srcdir).
13623 * libm/math/Makefile.in (chobjs): Remove underscores from file
13624 names. Texinfo doesn't like them.
13625 (wacos.def, ...): Add explicit targets for all .def files.
13626 * libm/math/math.tex: Remove underscores from @include file names.
13627 * doc/Makefile.in (dvi): Add dummy target.
13628 * testsuite/Makefile.in (dvi): Add dummy target.
13629
13630 Mon Sep 26 21:17:46 1994 Doug Evans (dje@canuck.cygnus.com)
13631
13632 * Makefile.in (VERSION): Define. For net newlib releases.
13633
13634 Thu Sep 22 19:01:26 1994 Doug Evans (dje@canuck.cygnus.com)
13635
13636 * README: New file.
13637
13638 Mon Sep 19 16:35:23 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
13639
13640 * libc/stdlib/ecvtbuf.c (_gcvt): Undo last change.
13641
13642 Mon Sep 19 11:44:23 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
13643
13644 * libc/stdlib/setenv.c (_findenv): Declare.
13645
13646 * libc/include/sys/fcntl.h: Fix declarations of open, creat, and
13647 fcntl to not use _EXFUN, and change string parameters to open and
13648 creat to be ``const char *''.
13649 * libc/sys/sparc64/sys/fcntl.h: Likewise.
13650 * libc/sys/sparc64/creat.c (creat): Make PATH const.
13651 * libc/syscalls/sysopen.c: Include <fcntl.h>.
13652 (open) Make _FILE const.
13653 * libc/sys/z8ksim/glue.c (_open): Make BUF const.
13654 (_creat): Make PATH const.
13655 * libc/sys/h8300hms/syscalls.c (_open): Make PATH const.
13656 * libc/sys/h8500hms/syscalls.c (_open): Likewise.
13657 * libc/sys/m88kbug/syscalls.c (open): Likewise.
13658 * libc/sys/sh/syscalls.c (_open): Likewise.
13659 * stub/shared/glue.c (open): Make BUF const.
13660 * stub/ex93x/syscalls.c (open): Make FILENAME const.
13661
13662 Thu Sep 8 16:39:12 1994 Steve Chamberlain (sac@jonny.cygnus.com)
13663
13664 * libc/include/errno.h: Add ENMFILE
13665 * libc/include/sys/config.h: Support Z8000.
13666 * libc/include/sys/signal.h: New signals for go32.
13667 * libc/machine/h8500/psi.S (__addpsir0r0): New function
13668 * libc/machine/h8500/cmpsi.S (__ucmppsi2): New function
13669 * libc/machine/sh/sdivsi3.s (__sdivsi3): Rewritten.
13670 * libc/stdlib/mallocr.c (_morecore_r): Minimum chunk
13671 size is variable, depending upon CHUNK_POWER.
13672 * libc/sys/go32/*.c: Upgrade to new go32 stuff.
13673
13674 Sun Sep 4 17:42:43 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
13675
13676 * libc/stdlib/ecvtbuf.c (_gcvt): Output '-' for negative numbers.
13677
13678 Fri Sep 2 10:56:01 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
13679
13680 * libc/include/_ansi.h (_PARAMS): Don't define if already defined.
13681
13682 Wed Aug 24 11:11:03 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
13683
13684 * configure.in: Change i[34]86 to i[345]86.
13685
13686 * libc/include/math.h: Don't define HUGE_VAL if it is already
13687 defined.
13688
13689 Wed Aug 17 15:18:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
13690
13691 * testsuite/libm.sac/test_erfc.c: Correct some result values.
13692 * testsuite/libm.sac/test_gammaf.c: Likewise.
13693 * testsuite/libm.sac/test_sin.c: Likewise.
13694 * testsuite/libm.sac/test_tanh.c: Likewise.
13695
13696 Tue Aug 16 16:12:53 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
13697
13698 * libc/include/machine/ieeefp.h: Don't try set endianness if it is
13699 already set. Define typedefs __int32_t and __uint32_t.
13700 * libc/include/math.h: Include <machine/ieeefp.h>.
13701 (union __dmath): Use __uint32_t.
13702 * libm/math/fdlibm.h, libm/math/*.c: Use __int32_t and __uint32_t
13703 instead of int and unsigned int.
13704
13705 Thu Aug 11 15:16:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
13706
13707 Replace the math library with the SunPRO fdlibm package.
13708 * libm/math: Completely changed all files.
13709 * libm/ieeefp: Remove contents and directory.
13710 * libm/Makefile.in (LIBM_FP_LIB): Remove.
13711 (SUBDIRS): Just set to math/lib.a.
13712 * libm/libm.texinfo: Updated for new library.
13713 * libc/include/math.h: Extensive changes for new math library.
13714 * libc/include/ieeefp.h (isnanf, isinff, finitef): Change argument
13715 from _FLOAT_ARG to float.
13716 (maxpowtwo, maxpowtwof): Don't declare.
13717 * configure.in (fp_dir): Removed; was always ieeefp anyhow.
13718 (libm_fp_lib): Removed.
13719 * Makefile.in (MATHOBJS_IN_LIBC): Updated with new file names.
13720 * testsuite/libm.paranoia/Makefile.in (check): Correct --srcdir
13721 argument to ${RUNTEST}.
13722 * testsuite/libm.sac/Makefile.in (LOCAL_CFLAGS): Define.
13723 (.c.o): New rule.
13724 (RUNTESTFLAGS): Set CC and CFLAGS.
13725 (TESTS): Remove test_log2 and test_log2f.
13726 (${TESTS}): Pass ${LOCAL_CFLAGS}, not ${CFLAGS}.
13727 * testsuite/libm.sac/math.c (run_vector_1): Use float, not
13728 _FLOAT_ARG, for single precision argument type.
13729 * testsuite/libm.sac/sac.exp: Treat an error in bit 63 as an
13730 expected failure. Close the input pipe.
13731 * testsuite/libm.sac/test.c (test_sok, test_iok, test_scok):
13732 Correct misspelling of inaccurate.
13733 (test_mok): Use ``inaccurate'', not ``wrong''.
13734 * testsuite/libm.sac/{test_acos.c, test_acosh.c, test_asin.c,
13735 test_asinh.c, test_atan.c, test_atanh.c, test_ceil.c,
13736 test_ceilf.c, test_cos.c, test_cosh.c, test_erf.c, test_erf.c,
13737 test_fabs.c, test_floor.c, test_floorf.c, test_fmod.c,
13738 test_fmodf.c, test_gamma.c, test_log1p.c, test_log1pf.c,
13739 test_yn.c): Correct many result values. Many are still wrong.
13740
13741 * libc/stdlib/ecvtbuf.c (print_e): If _dtoa_r sets decpt to 9999,
13742 just copy the string.
13743 (_gcvt): Always return the buffer.
13744
13745 Tue Aug 9 13:43:23 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
13746
13747 * bcopy.c: fixed documentation, bcopy was not specified by ANSI.
13748
13749 Wed Aug 3 05:39:41 1994 D. V. Henkel-Wallace (gumby@cygnus.com)
13750
13751 * libc/include/sys/reent.h: (struct _Bigint): add _reclaim
13752 structure.
13753 (struct _reent): add _p5s, _cvtlen, _cvtbuf.
13754 (_reclaim_reent): declare new entry point.
13755 * libc/reent/reent.c (cleanup_glue, _reclaim_reent): new
13756 functions.
13757
13758 * libc/stdlib/mprec.c (Balloc): Keep track of every struct bigint
13759 ever allocated, so that we can later reclaim them all.
13760 (pow5mult): make reentrant.
13761
13762 * libc/stdlib/ecvtbuf.c (fcvtbuf, ecvtbuf): extend these functions
13763 so that when given NULL as a buffer, return a pointer to static
13764 space in the rent structure. This is not documented behaviour;
13765 it's only to support ecvt and fcvt, which aren't ANSI anyway.
13766 * libc/stdlib/efgcvt.c (fcvt, ecvt) Use new functionality (and
13767 therefore become reentrant).
13768
13769 * libc/stdlib/dtoastub.c: remove spurious inclusion of mprec.h.
13770
13771 Mon Aug 1 16:52:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
13772
13773 * libc/include/machine/ieeefp.h: Check _AM29K, not ___AM29K__.
13774
13775 Thu Jul 28 15:40:21 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
13776
13777 * Makefile.in: Make link to libg.a after libc.a; this is needed
13778 for the testsuites to build executables when everything comes
13779 from the tree.
13780
13781 Mon Jun 27 17:14:29 1994 Bill Cox (bill@rtl.cygnus.com)
13782
13783 * libc/Makefile.in: Add a VERSION variable so we can keep track.
13784 * libm/Makefile.in: Add a VERSION variable so we can keep track.
13785
13786 Wed Jun 22 10:26:00 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
13787
13788 * libc/include/stdio.h: Use __VALIST, not va_list.
13789
13790 Tue May 17 15:43:28 1994 Bill Cox (bill@rtl.cygnus.com)
13791
13792 * testsuite/config/unix-libm.exp, testsuite/lib/libm.exp,
13793 testsuite/libm.sac/execute.exp:
13794 Replace error proc calls with perror calls.
13795
13796 Wed May 11 09:25:28 1994 Doug Evans (dje@canuck.cygnus.com)
13797
13798 * libc/include/*.h: #include "_ansi.h" instead of <_ansi.h>.
13799 * libc/include/time.h: #define NULL as 0L.
13800
13801 Mon May 9 18:41:20 1994 Doug Evans (dje@canuck.cygnus.com)
13802
13803 * host/any (INCLUDES): Delete -I of gcc/include, gcc -B takes
13804 care of it.
13805
13806 Mon May 9 18:39:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
13807
13808 * libc/include/sys/signal.h: Check for __GO32__, not __i386__ and
13809 not __unix__.
13810
13811 Sat May 7 17:07:36 1994 Steve Chamberlain (sac@cygnus.com)
13812
13813 * configure.in (TARGET_CFLAGS): Set -O2 as default.
13814 (z8k-*-*): Use syscalls fake sys dir.
13815 * libc/sys/z8k/glue.c: Rename syscalls.
13816 * libc/sys/go32/Makefile.in: Use new routines.
13817 * libc/machine/Makefile.in: Fix typo in ln stuff.
13818
13819 Thu May 5 13:47:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
13820
13821 * Makefile.in (libm.a, crt0.o): Use cp if ln fails.
13822 * libc/Makefile.in (crt0.o): Likewise.
13823 * libc/machine/Makefile.in (lib.a): Likewise.
13824 * libc/sys/Makefile.in (lib.a, crt0.o): Likewise.
13825
13826 All Makefile.in files: Added mostlyclean, realclean and distclean
13827 targets.
13828
13829 * Makefile.in: Don't bother to unexport XTRAFLAGS or
13830 XTRAFLAGS_FOR_TARGET, since they are no longer passed down from
13831 the top level Makefile.
13832
13833 Tue Apr 26 15:10:34 1994 Doug Evans (dje@canuck.cygnus.com)
13834
13835 * libc/sys/sparc64/sys/stat.h: New file.
13836 * libc/sys/sparc64/sys/time.h: New file.
13837 * libc/sys/sparc64/sys/types.h: New file.
13838
13839 Fri Apr 22 12:58:24 1994 Stan Shebs (shebs@andros.cygnus.com)
13840
13841 * stub/ex93x/crt0.s (start): Add code to clear bss.
13842
13843 Wed Apr 13 10:34:58 1994 Doug Evans (dje@canuck.cygnus.com)
13844
13845 * libc/include/sys/types.h (time_t): Properly protect inside
13846 #ifndef __time_t_defined.
13847
13848 * libc/stdio/fileno.c: New file.
13849 * libc/stdio/Makefile.in (OFILES, CHEWOUT_FILES): Add fileno.
13850 (fileno.o): Add dependency.
13851 * libc/include/stdio.h (__sgetc): Rename never to _never.
13852 (fileno macro): Disable, needs to do CHECK_INIT first.
13853
13854 Mon Apr 11 17:37:09 1994 Bill Cox (bill@rtl.cygnus.com)
13855
13856 * testsuite/Makefile.in (EXPECT, RUNTEST): Set these for the check
13857 goal.
13858
13859 * testsuite/Makefile.in (check): Set TCL_LIBRARY for runtest.
13860 * testsuite/libm.paranoia/Makefile.in (check): Set TCL_LIBRARY for
13861 runtest.
13862 * testsuite/libm.sac/Makefile.in (check): Set TCL_LIBRARY for
13863 runtest.
13864
13865 Sat Apr 9 16:18:09 1994 Doug Evans (dje@cygnus.com)
13866
13867 * libc/sys/sparc64/sys/fcntl.h: New file, define solaris versions
13868 of the various constants.
13869
13870 Thu Apr 7 21:19:07 1994 Mark Eichin (eichin@cygnus.com)
13871
13872 * libc/include/math.h: #ifndef __math_68881 around things which
13873 conflict with the (gcc-provided) inline functions in
13874 gcc/ginclude/math-68881.h.
13875
13876 Thu Apr 7 02:50:43 1994 Doug Evans (dje@cygnus.com)
13877
13878 * libc/include/_syslist.h (_gettimeofday): Define.
13879 (_times): Ditto.
13880 * libc/include/reent.h: #include <machine/types.h> to get _CLOCK_T_.
13881 (struct tms, timeval, timezone): Declare.
13882 (_gettimeofday_r, _times_r): Declare.
13883 * libc/include/time.h (_CLOCK_T_): Don't #undef. Remove
13884 #ifdef _CLOCK_T_ surrounding definition of clock_t.
13885 (time_t): Add multiple definition protection, __time_t_defined.
13886 * libc/include/sys/time.h: Don't #include <time.h>.
13887 Always define struct timezone (remove #ifndef _TIME_H_).
13888 * libc/include/sys/times.h (_CLOCK_T_): Don't #undef. Remove
13889 #ifdef _CLOCK_T_ surrounding definition of clock_t.
13890 * libc/reent/Makefile.in (OFILES): Add timer.o.
13891 (CHEWOUT_FILES): Add timer.def. Add timer.o/timer.c dependence.
13892 * libc/reent/timer.c: New file.
13893 * libc/time/clock.c: #include <reent.h>.
13894 (clock): Call _times_r instead of times.
13895 * libc/time/time.c (HAVE_GETTIMEOFDAY): Renamed from
13896 HAVE_GET_TIME_OF_DAY.
13897 Add comment regarding supporting OS routine(s) required (for docs).
13898 #include <reent.h>.
13899 (time): Call _gettimeofday_r instead of gettimeofday.
13900 * libc/time/asctime.c: Fix comment regarding supporting OS routines.
13901 * libc/time/ctime.c: Ditto.
13902 * libc/time/strftime.c: Ditto.
13903 * libc/sys/sparc64/Makefile.in (TEMPLATE_SFILES): Remove gettimeofday.
13904 (TEMPLATE_SFILES_R): Define here. Also define times.
13905 Add times_r.o/times.S dependence.
13906 (time2.c, junk.c): Deleted.
13907 * libc/sys/sparc64/time2.c: Deleted.
13908 * configure.in (sparc64-*-*): Define HAVE_GETTIMEOFDAY.
13909
13910 * libc/stdio/mktemp.c (_getpid_r): Renamed from _getpid.
13911 * libc/stdio/tmpnam.c (_getpid_r): Ditto.
13912 * libc/sys/sparc64/junk.c: Deleted.
13913
13914 Mon Mar 21 16:51:03 1994 Doug Evans (dje@canuck.cygnus.com)
13915
13916 * libc/sys/sparc64/Makefile.in: Add times syscall.
13917 * libc/sys/sparc64/crt0.S: Handle stack bias at run time so we can
13918 be used with and without it. Add comment clarifying Medium/Anywhere
13919 model requirements.
13920 * libc/sys/sparc64/sigsetjmp.S (setjmp, longjmp): Add svr4 support.
13921 * libc/sys/sparc64/sys/syscall.h (SYS_times): Define for sunos4
13922 even if obsolete.
13923
13924 Sun Mar 20 15:51:47 1994 Doug Evans (dje@cygnus.com)
13925
13926 * configure.in (target_cflags): Move init.
13927 (sparc64-*-*): Define HAVE_BLKSIZE.
13928
13929 Wed Mar 9 10:44:52 1994 Doug Evans (dje@canuck.cygnus.com)
13930
13931 * libc/include/sys/_types.h: New file.
13932 * libc/include/reent.h: #include it.
13933 Add comment describing REENTRANT_SYSCALLS_PROVIDED and
13934 MISSING_SYSCALL_NAMES.
13935 Sort syscalls.
13936 * libc/include/_syslist.h: Remove _raise.
13937 * libc/reent/signalr.c: New file.
13938 * libc/reent/Makefile.in: Compile it.
13939 * libc/signal/signal.c: Only use ifdef SIMULATED_SIGNALS.
13940 Add doc for raise and _raise_r.
13941 * libc/signal/raise.c: Only use ifndef SIMULATED_SIGNALS.
13942 (raise): Call _raise_r.
13943 (_raise_r): Call _getpid_r and _kill_r.
13944 * libc/stdlib/abort.c: Remove inclusion of stdio.h and _syslist.h.
13945 (abort): Loop forever calling raise and _exit.
13946
13947 Mon Mar 7 14:40:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
13948
13949 * configure.in: Remove extraneous echo.
13950
13951 Thu Mar 3 12:14:22 1994 Doug Evans (dje@canuck.cygnus.com)
13952
13953 * libc/sys/sparc64/sys/dirent.h (MAXNAMLEN): #undef to avoid
13954 collision with unistd.h, and fix for svr4.
13955
13956 Wed Mar 2 13:55:25 1994 Doug Evans (dje@canuck.cygnus.com)
13957
13958 * libc/stdio/local.h (_llicvt): Declare.
13959 (CVT_BUF_SIZE): Define (and buffer size from 512 to 128).
13960 * libc/stdio/cvt.c: Include "local.h" to get CVT_BUF_SIZE.
13961 (_llicvt): Define.
13962 (_sicvt): Fix function header (`value' is short).
13963 * libc/stdio/vfprintf.c (_vfprintf_r): Use CVT_BUF_SIZE.
13964 Add printing of long long's support.
13965 Add printing of 8 byte pointer support.
13966
13967 Fri Feb 11 21:52:11 1994 Steve Chamberlain (sac@sphagnum.cygnus.com)
13968
13969 * libc/sys/sh/syscalls.c (pipe, execv, wait, fork, utime, chown,
13970 stat, chmod): New hooks.
13971 (sbrk): Abort if stack and heap collide.
13972 * libc/machine/sh/udivsi3, libc/machine/sh/sdivsi3 Modified to
13973 shortcut when given small args.
13974 * libc/machine/sh/setjmp.s: Rewritten.
13975 * libc/machine/sh/strcmp.s (strcmp): New function takes advantage
13976 of cmp/str instruction.
13977
13978 Wed Feb 9 15:12:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
13979
13980 * configure.in: Accept powerpc* as a CPU type, using fp_dir ieeefp
13981 and machine_dir powerpc.
13982 * libc/include/machine/setjmp.h, libc/include/machine/ieeefp.h:
13983 Add cases for __powerpc__.
13984 * libc/machine/powerpc/Makefile.in, libc/machine/powerpc/setjmp.S:
13985 New files.
13986
13987 * libc/include/stdio.h (_iprintf_r): Declare correctly.
13988
13989 Thu Jan 27 10:36:27 1994 Steve Chamberlain (sac@cygnus.com)
13990
13991 * libc/stdlib/callocr.c: New file with _calloc_r in it.
13992 * libc/stdlib/calloc.c (calloc_r): Now in callocr.c
13993
13994 Thu Jan 20 15:14:37 1994 Doug Evans (dje@canuck.cygnus.com)
13995
13996 * libc/stdlib/ecvtbuf.c (print_f): Remove local "done".
13997 (print_e): More comments to describe args, etc.
13998 "type" arg may now be 'g' or 'G' for %g/G format --> remove
13999 trailing blanks.
14000 (_gcvt): Remove locals decpt, sign, end, p, done.
14001 More comments for print_e invocation.
14002 Pass "type" to print_e as is (g/G).
14003
14004 Wed Jan 19 16:34:18 1994 Rob Savoye (rob@darkstar.cygnus.com)
14005
14006 * stub/shared/m68k-crt0.S: Changed so it compiles (and runs) on a
14007 stock m68000.
14008
14009 Mon Jan 17 15:41:53 1994 Doug Evans (dje@canuck.cygnus.com)
14010
14011 * libc/stdlib/mallocr.c (_morecore_r): Fix aligning of pointer so it
14012 works with any sized pointer, including ones bigger than ints and
14013 longs.
14014
14015 Thu Jan 6 14:53:21 1994 Doug Evans (dje@canuck.cygnus.com)
14016
14017 * libc/sys/sparc64/{time2.c,utime.S,utime2.c}: New files.
14018
14019 Sat Dec 11 16:17:20 1993 Steve Chamberlain (sac@thepub.cygnus.com)
14020
14021 * libc/include/stdlib.h (_calloc_r): Add prototype.
14022 * libc/machine/h8500/negsi2.c: New file.
14023 * libc/machine/h8500/divsi3.c: Prevent overflow when dividing v
14024 large unsigned numbers.
14025 * libc/machine/h8500/cmpsi.c: Add cmppsi.
14026 * libc/stdlib/mallocr.c (morecore_r): Fix aligning pointers so it
14027 works when sizeof(size_t) != sizeof(char *).
14028 * libc/stdlib/mprec.c (Balloc): Call calloc rather than malloc to
14029 get play area
14030 * libc/stdlib/mprec.h: Define Just_16 if generating for z8000.
14031
14032 Mon Dec 6 15:59:53 1993 Doug Evans (dje@rtl.cygnus.com)
14033
14034 * libc/include/assert.h (assert): Handle -traditional.
14035
14036 Tue Nov 16 15:49:24 1993 Mark Eichin (eichin@cygnus.com)
14037
14038 * Makefile.in: added ; after every "fi" and "done" that wasn't at
14039 the end of a line (ie. anything before a backslash continuation)
14040 so that bash handles them.
14041
14042 Tue Nov 16 12:31:57 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
14043
14044 * libc/sys/go32/lstat.s: new file, copied from stat.s and renamed
14045 stat to lstat
14046
14047 Mon Nov 15 15:50:43 1993 Steve Chamberlain (sac@jonny.cygnus.com)
14048
14049 * libc/sys/sh/crt0.s, libc/sys/sh/trap.s,
14050 libc/machine/sh/sdivsi3.s, libc/machine/sh/setjmp.s,
14051 libc/machine/sh/udivsi3.s: Use new calling convention.
14052
14053 Mon Nov 15 15:25:38 1993 Mark Eichin (eichin@cygnus.com)
14054
14055 * libc/include/sys/unistd.h, libc/include/sys/stat.h: ANSI-fy
14056 chmod, access, chdir, chown by making _path const. Also fix _amode
14057 param of access.
14058
14059 Fri Nov 12 20:25:28 1993 Mark Eichin (eichin@cygnus.com)
14060
14061 * libc/sys/a29khif/_tmpnam.s (_tmpnam): renamed function to
14062 _khif_tmpnam, because it doesn't comply with ANSI but may be
14063 useful anyway. Real tmpnam was already in libc/stdio, and was
14064 colliding with this one (pr 2176.)
14065 * libc/sys/a29khif/stubs.s (tmpnam): removed tmpnam. This file is
14066 the wrong idea anyhow.
14067
14068 Mon Nov 8 07:50:16 1993 Doug Evans (dje@canuck.cygnus.com)
14069
14070 * configure.in: Remove h8300h, we have multilib now.
14071
14072 Fri Nov 5 12:37:27 1993 Mark Eichin (eichin@cygnus.com)
14073
14074 * libc/string/strcasecmp.c, libc/string/strncasecmp.c: new
14075 functions, to get preference over the ones in libiberty (since we
14076 provide correct declarations in <string.h>.
14077 * libc/string/Makefile.in: add support for strncasecmp,
14078 strcasecmp.
14079
14080 Fri Nov 5 09:05:45 1993 D. V. Henkel-Wallace (gumby@blues.cygnus.com)
14081
14082 * Change netware config not to look for cpu explicitly.
14083
14084 Thu Nov 4 14:21:25 1993 Doug Evans (dje@canuck.cygnus.com)
14085
14086 * libc/sys/sparc64/{creat.c,junk.c}: New files.
14087 * libc/sys/sparc64/Makefile.in: Add dependencies.
14088
14089 Wed Nov 3 10:42:49 1993 Doug Evans (dje@canuck.cygnus.com)
14090
14091 * configure.in: Clean up v9 a bit, new "os" aoutv8.
14092
14093 Tue Nov 2 10:00:44 1993 D. V. Henkel-Wallace (gumby@cygnus.com)
14094
14095 * libc/include/sys/reent.h: make structure smaller by allocating
14096 some stuff when needed.
14097 * libc/signal/signal.c: allocate as needed
14098 * libc/stdio/findfp.c,stdio/local.h: ditto
14099 * libc/stdlib/mprec.c: ditto
14100
14101 * libc/time/localtime.c: don't return a dangling stack ptr.
14102
14103 Wed Sep 29 20:42:34 1993 Rob Savoye (rob@darkstar.cygnus.com)
14104
14105 * stub/mvme135/crt0.S, stub/mvme135/glue.c: Moved to stub/generic.
14106
14107 Wed Sep 29 16:27:49 1993 K. Richard Pixley (rich@sendai.cygnus.com)
14108
14109 * libc/include/stdio.h (__sputc): comment out static inline which
14110 confuses coff toolchains.
14111
14112 Thu Sep 2 16:31:36 1993 Mark Eichin (eichin@cygnus.com)
14113
14114 * libc/sys/a29khif/{_close.s, _fstat.s, _lseek.s, _sbrk.s,
14115 _write.s, getpid.c, kill.c, read.s}:
14116 * libc/sys/a29khif/stubs.s: eliminated stubs that already go
14117 through the syscalls directory.
14118
14119 Fri Oct 29 13:59:58 1993 Jeffrey Wheat (cassidy@cygnus.com)
14120
14121 * configure.in: fixed double quote gotcha.
14122
14123 Wed Oct 27 15:27:09 1993 Rob Savoye (rob@darkstar.cygnus.com)
14124
14125 * stub/ex931: stub library for sparclite board.
14126 * stub/idp: Renamed from mc68ec. Added contructor table
14127 stuff to linker script.
14128 * stub/mvme135: Renamed from m68kmvme. Added contructor table
14129 stuff to linker script.
14130
14131 Tue Oct 26 17:01:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
14132
14133 * configure.in: Configure testsuites only if they exist.
14134
14135 Tue Oct 26 12:37:11 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
14136
14137 * configure.in: Don't set machine_dir for i386 until there is
14138 something in libc/machine/i386 to compile. For i[34]86-*-netware*
14139 use sys/netware, don't use signal, define NO_EXEC, ABORT_PROVIDED,
14140 CLOCK_PROVIDED and MALLOC_PROVIDED.
14141
14142 * libc/sys/netware: New directory. Contains simplistic and
14143 probably incorrect stubs for NetWare. Should be enough to load
14144 the library.
14145 * libc/sys/netware/crt0.c, libc/sys/netware/environ.c,
14146 libc/sys/netware/getpid.c, libc/sys/netware/link.c: New NetWare
14147 stub files.
14148
14149 * libc/reent/execr.c: Don't use if NO_EXEC is defined.
14150 * libc/reent/sbrkr.c: Don't use if MALLOC_PROVIDED is defined.
14151 * libc/stdlib/abort.c: Don't use if ABORT_PROVIDED is defined.
14152 * libc/time/clock.c: Don't use if CLOCK_PROVIDED is defined.
14153
14154 Mon Oct 25 16:48:08 1993 Roland H. Pesch (pesch@cygnus.com)
14155
14156 * testsuite/Makefile.in: add "docs" dummy target for consistency
14157 with rest of newlib; turn "info" and "install-info" into dummy
14158 targets, since they wouldn't have worked. (Depended on
14159 nonexistent "doc" subdir.)
14160
14161 Fri Oct 22 20:37:32 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
14162
14163 * configure.in: handle mips* instead of mips
14164
14165 Thu Oct 21 08:57:24 1993 Ian Lance Taylor (ian@cygnus.com)
14166
14167 * libc/include/sys/dirent.h: New file. If it is not overridden by
14168 a version of libc/sys/*/sys/dirent.h, it includes the next
14169 <dirent.h> file in case there is one lurking somewhere.
14170
14171 Fri Oct 15 14:17:40 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
14172
14173 * libc/stdlib/strtoul.c (_strtoul_r): Several changes for ANSI
14174 compliance, namely: Accept a minus sign. Consider a single 0 with
14175 a radix of 0 as being a conversion. Determine overflow correctly.
14176 If an overflow occurs, set *ptr to the end of the number, not the
14177 middle.
14178 * lib/stdlib/strtol.c (_strtol_r): Determine overflow correctly.
14179
14180 Thu Oct 14 21:49:52 1993 Doug Evans (dje@canuck.cygnus.com)
14181
14182 * libc/machine/h8300/divsi3.S (divmodsi4): Fix h8300h case.
14183
14184 Fri Oct 1 17:17:34 1993 Doug Evans (dje@canuck.cygnus.com)
14185
14186 * Makefile.in (INSTALL): Use $srcrootpre.
14187 (crt0.o): Replace $< with $(CRT0_DIR)/$(CRT0), Sun make
14188 can't handle it.
14189 * libc/Makefile.in (crt0.o): Spell out $<, Sun make can't handle
14190 it.
14191 * libc/sys/Makefile.in (crt0.o, lib.a): Ditto.
14192 * stub/Makefile.in (crt0.o, TARGETLIB): Ditto.
14193 * libc/sys/sparc64/Makefile.in (isatty.o): Sun VPATH lossage.
14194 * libm/math/Makefile.in (matherr.o): Ditto.
14195
14196 Thu Sep 30 11:09:17 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
14197
14198 * configure.in: Build multidirs for z8k.
14199 * libc/include/stdlib.h (_strtoul_r): add prototype.
14200 * libc/include/machine/limits.h: Get INT_MIN right for all the z8k family.
14201 * libc/include/machine/setjmp.h: Add for z8k.
14202 * libc/machine/z8k/{mulsi.o, udivsi3.o, umodsi3.o, modsi3.o} obsolete.
14203 * libc/sys/z8ksim/glue.c: tidy up.
14204
14205 Mon Sep 20 14:04:46 1993 Doug Evans (dje@canuck.cygnus.com)
14206
14207 * libc/unix/{execl.c execle.c execlp.c execv.c execvp.c}:
14208 New files. Requires execve system call.
14209 * libc/unix/Makefile.in: Use them.
14210 * libc/sys/sparc64/{execl.c execle.c execlp.c execv.c execvp.c}:
14211 Deleted, moved to libc/unix.
14212 * libc/sys/sparc64/Makefile.in: Remove them.
14213
14214 Mon Sep 20 10:38:32 1993 Doug Evans (dje@canuck.cygnus.com)
14215
14216 * libc/sys/sparc64/{template.S template_r.S}: New files.
14217 * libc/sys/sparc64/Makefile.in: Build source for trivial syscalls
14218 from templates.
14219 * libc/sys/sparc64/{chdir.S chmod.S close.S dup.S fcntl.S
14220 fork.S fstat.S lseek.S link.S mkdir.S open.S pipe.S read.S rmdir.S
14221 umask.S unlink.S wait4.S write.S}: Removed, now built from
14222 templates.
14223
14224 Sun Sep 19 14:52:57 1993 Doug Evans (dje@canuck.cygnus.com)
14225
14226 * libc/time/time.c: #include <_ansi.h>.
14227
14228 Sun Sep 19 13:43:25 1993 Doug Evans (dje@canuck.cygnus.com)
14229
14230 * configure.in (sparc64-*-*): Remove -D__SIZE_TYPE__.
14231
14232 Mon Sep 13 13:52:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
14233
14234 * configure.in: match m8* rather than m88k so that m88110 is
14235 recognized as well.
14236
14237 Tue Sep 7 12:19:32 1993 Doug Evans (dje@canuck.cygnus.com)
14238
14239 * libc/sys/h8300hms/{Makefile.in, _exit.c, misc.c}:
14240 Renamed exit.c to _exit.c to avoid collision with stdlib/exit.c.
14241 misc.c: New file.
14242
14243 * configure.in: Add multilib support to h8300.
14244
14245 Mon Sep 6 14:07:06 1993 Doug Evans (dje@canuck.cygnus.com)
14246
14247 * libc/stdlib/abort.c (abort): Remove _VOLATILE from return type.
14248 * libc/include/_ansi.h (_ATTRIBUTE): New macro for __attribute__.
14249 * libc/include/stdlib.h (exit, abort): Add noreturn attribute.
14250
14251 Mon Sep 6 14:24:18 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
14252
14253 * configure.in: Corrected multidirs for sparc target.
14254
14255 Mon Aug 30 15:56:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
14256
14257 Support for building newlib multiple times with different
14258 compilation flags.
14259 * configure.in: Only configure doc at top level. Set multidirs
14260 when appropriate for target, unless not at top level. If
14261 multidirs is set, independently configure each subdirectory.
14262 Adjust TOP, MULTIDIRS and MULTISUBDIR appropriately in Makefile.
14263 * Makefile.in (MULTIDIRS, MULTISUBDIR): New variables,
14264 automagically set by configure.in.
14265 (all): If MULTIDIRS is set, build multiple copies of libraries.
14266 (install): If MULTIDIRS is set, install multiple copies of
14267 libraries. Install in $(tooldir)/lib/$(MULTISUBDIR). If
14268 MULTISUBDIR is set, don't bother to install header files.
14269 * host/any (INCLUDES, CHEW): Use $(SRCTOP) rather than $(TOP) from
14270 ${srcrootpre}.
14271 * stub/configure.in: Set MULTISUBDIR appropriately.
14272 * stub/Makefile.in (install): Install in
14273 $(tooldir)/lib/$(MULTISUBDIR).
14274 * All Makefile.in files: Define SRCTOP as well as TOP.
14275
14276 Mon Aug 30 10:34:24 1993 Doug Evans (dje@canuck.cygnus.com)
14277
14278 * libc/machine/h8300/{mulhi3.S, divhi3.S}: Comment out if h8300h.
14279 * libc/machine/h8300/{mulsi3.S, divsi3.S}: Add h8300h support.
14280
14281 Thu Aug 26 19:38:12 1993 Doug Evans (dje@canuck.cygnus.com)
14282
14283 * libc/sys/h8300hms/exit.c (_exit): New function.
14284
14285 Wed Aug 25 16:31:48 1993 K. Richard Pixley (rich@sendai.cygnus.com)
14286
14287 * configure.in: recognize m88110.
14288
14289 Fri Aug 20 16:46:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
14290
14291 * libc/sys/m88kbug/crt0.c: pretty up, remove extraneous comments,
14292 prototype main and call with args.
14293
14294 Fri Jul 30 16:52:47 1993 K. Richard Pixley (rich@cygnus.com)
14295
14296 First real try at system traps for m88k-bug.
14297 * libc/sys/m88kbug/syscalls.c: many changes. Convert from stubs
14298 to real trap calls.
14299 * libc/sys/m88kbug/sys/systraps.h: new file.
14300
14301 Tue Jul 27 16:31:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
14302
14303 Patches to fix info building when target does not use sys
14304 directory.
14305 * libc/Makefile.in (targetdep.tex): add sys.tex separately.
14306 * libc/sys.tex, libc/sys/sys.tex: moved from libc/sys/sys.tex to
14307 libc/sys.tex.
14308 * libc/sys/Makefile.in (doc): do nothing.
14309
14310 Mon Jul 26 17:08:11 1993 K. Richard Pixley (rich@sendai.cygnus.com)
14311
14312 * libc/Makefile.in (CRT0): new macro.
14313 (all): depend on $(CRT0) rather than crt0.o.
14314
14315 * configure.in: fix libc_sys_dir -> libc_sys_lib thinko.
14316 do not default crt0, instead, set crt0 and crt0_dir based on
14317 sys_dir and stub_dir.
14318
14319 * Makefile.in (CRT0_DIR): new macro.
14320 (all): depend on $(CRT0) rather than crt0.o which may not exist.
14321 (crt0.o): depend on $(CRT0_DIR)/$(CRT0) rather than simply
14322 $(CRT0).
14323 ($(CRT0)): recur by cd'ing into $(CRT0_DIR).
14324
14325 Sun Jul 25 17:51:51 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
14326
14327 * testsuite/lib/libm.exp:
14328 added code to support compiling and linking of tests for
14329 libm.sac (paranoia to be added next) and processing the
14330 pass or failure of the tests.
14331
14332 * testsuite/config/unix-libm.exp:
14333 platform specific proc's for dealing with compiler, linker
14334 and the way we execute and process the test results.
14335
14336 * testsuite/libm.sac/execute.exp:
14337 generic framework for the sac tests. the config and lib
14338 expect code for specific platforms tie it all together.
14339
14340 * testsuite/libm.sac/test_is.c:
14341 changed the output of the test to be consistant with the
14342 other tests. parsing of pass nad fail messages is now fixed.
14343
14344 Fri Jul 23 19:20:07 1993 Per Bothner (bothner@kalessin)
14345
14346 * libc/include/{assert.h, ctype.h, dirent.h, errno.h, fastmath.h,
14347 locale.h, math.h, pwd.h, reent.h, setjmp.h, signal.h, stdio.h,
14348 stdlib.h, string.h, termios.h, time.h, utime.h, utmp.h}: For C++:
14349 #ifdef __cplusplus, surround by extern ""C { ... }.
14350 * libc/include/assert.h: Do *not* protect assert.h against
14351 multiple inclusion! Also, #undef it before #define, to allow
14352 redefinition.
14353 * libc/include/stdio.h (getlogin, cuserid): Removed. These
14354 should be only in unistd.h.
14355
14356 * libc/include/sys/{fcntl.h, reent.h, stat.h, time.h, times.h,
14357 unistd.h}: For C++: #ifdef __cplusplus, surround by extern ""C {
14358 ... }.
14359
14360 Fri Jul 23 10:15:33 1993 Doug Evans (dje@canuck.cygnus.com)
14361
14362 * libc/machine/sparc/Makefile.in: Must create a library, even
14363 if empty.
14364
14365 Wed Jul 21 16:00:37 1993 K. Richard Pixley (rich@sendai.cygnus.com)
14366
14367 * configure.in: set machine_dir for m88k. edit crt0 definition
14368 into makefiles.
14369
14370 * Makefile.in, libc/Makefile.in (crt0): pull up from lower directories.
14371
14372 * libc/Makefile.in (all): also build crt0.o.
14373
14374 * libc/machine/i386/Makefile.in, libc/machine/sparc/Makefile.in,
14375 libc/machine/z8k/Makefile.in, libm/Makefile.in (clean): no need
14376 to remove CRT0.
14377
14378 * libc/machine/m88k/Makefile.in (TOP, TARGETLIB): removed.
14379 (all): reworked to build in place.
14380 (clean): remove lib.a
14381 (Makefile): remove redundant ./, call $(SHELL) rather than sh.
14382
14383 * libc/sys/m88kbug/crt0.c (start): renamed to _start.
14384 (_start): key off edata rather than _start_bss.
14385
14386 Wed Jul 21 14:29:47 1993 david d `zoo' zuhn (zoo@cygnus.com)
14387
14388 * libc/include/sys/unistd.h, libc/include/reent.h,
14389 libc/reent/sbrkr.c: change sbrk to return void* instead of char*.
14390
14391 Tue Jul 20 13:19:18 1993 K. Richard Pixley (rich@sendai.cygnus.com)
14392
14393 * libm/Makefile.in, libc/Makefile.in ($(SUBDIRS)): dollar escape a dollar sign.
14394
14395 * Makefile.in (libc.a): break into two rules, one for libc.a and
14396 one for libc/libc.a. Force subdirs current before rebuilding
14397 library.
14398 (libm.a): break into two rules, one for libm.a and one for
14399 libm/libm.a. Force subdirs current before rebuilding library.
14400
14401 * libc/Makefile.in (SUBLIBS): fix typo.
14402
14403 * libc/sys/Makefile.in (all): force descent into subdirs, then
14404 rebuild library iff out of of date.
14405
14406 Fri Jul 16 17:47:57 1993 K. Richard Pixley (rich@sendai.cygnus.com)
14407
14408 Rework so that library is built and then finished rather than
14409 being built on each invocation of make.
14410
14411 * host/any (machine_dir, sys_dir, signal_dir): these are not
14412 shared and have been moved to their associated Makefile.in's.
14413 (AR_FLAGS): switch to qc which is faster.
14414 * configure.in: no longer assign machine_dir for m88k. set
14415 stub_dir, stub_lib, & crt0 for m68k*-unknown-{aout,coff}. If
14416 stub_dir set, then add to configdirs. add comment about silly
14417 configuration.
14418 (configdirs): drop stub. It will be added only
14419 when needed.
14420 (libm_fp_lib, libc_unix_lib, libc_signal_lib, libc_machine_lib,
14421 libc_sys_dir, fake_sys_dir, libc_fake_sys_lib, stub_dir,
14422 stub_lib, crt0): new variables for tailoring lower level
14423 makefiles. Assign accordingly and edit into makefiles.
14424 * libm/Makefile.in: updated copyright.
14425 (TARGETLIB): removed.
14426 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir.
14427 (SUBDIRS): removed TARGETDEP_DIRS.
14428 (LIBM_FP_LIB, SUBLIBS): new macros.
14429 (all): reworked.
14430 (force): new target to force rebuilds.
14431 (Makefile): call $(SHELL) rather than sh. drop redundant ./
14432 * libc/sys/a29khif/Makefile.in, libc/sys/decstation/Makefile.in,
14433 libc/sys/go32/Makefile.in, libc/sys/h8300hms/Makefile.in,
14434 libc/sys/h8500hms/Makefile.in, libc/sys/m88kbug/Makefile.in,
14435 libc/sys/sh/Makefile.in, libc/sys/sparc64/Makefile.in,
14436 libc/sys/sun4/Makefile.in, libc/sys/sysvi386/Makefile.in,
14437 libc/sys/sysvnecv70/Makefile.in, libc/sys/z8ksim/Makefile.in,
14438 stub/m68kmvme/Makefile.in: updated copyright.
14439 (TARGETLIB, TARGETCRT0, CRT0): macros removed.
14440 (all): reworked. made this the default rule.
14441 (clean): also remove lib.a.
14442 (Makefile): call $(SHELL) rather than sh. drop redundant ./
14443 * stub/Makefile.in: updated copyright.
14444 (TARGETLIB, TARGETCRT0, CRT0, TOP): removed.
14445 (stub_lib): new macro.
14446 (FLAGS_TO_PASS): removed TARGETLIB, stub_dir, TARGETCRT0. Added
14447 RANLIB.
14448 (all): reworked.
14449 (clean, install): assume stub_dir exists.
14450 (Makefile): depend on configure.in. call $(SHELL) rather than
14451 sh. drop redundant ./
14452 * stub/configure.in (stublib): new macro, assign it, edit it into
14453 makefiles.
14454 * Makefile, libc/Makefile.in, doc/Makefile.in, libc/sys/Makefile.in:
14455 updated copyright.
14456 (all): reworked.
14457 (Makefile): call $(SHELL) rather than sh. drop redundant ./
14458 * libc/Makefile.in (TARGETCRT0): removed.
14459 (FLAGS_TO_PASS): dropped TARGETLIB, machine_dir, sys_dir,
14460 TARGETCRT0.
14461 (SUBDIRS): drop TARGETDEP_DIRS.
14462 (LIBC_SIGNAL_LIB, LIBC_SYS_LIB, LIBC_MACHINE_LIB, LIBC_UNIX_LIB,
14463 LIBC_FAKE_SYS_LIB, SUBLIBS): new macros for configuration.
14464 (force): new target to force rebuilds.
14465 * libc/sys/Makefile.in (TARGETCRT0, sys_dir): removed.
14466 (FLAGS_TO_PASS): TARGETLIB, machine_dir, sys_dir, TARGETCRT0
14467 removed.
14468 (clean): assume sys_dir always exists.
14469 * libm/test/Makefile.in (Makefile): call $(SHELL) rather than sh.
14470 drop redundant ./
14471 * libc/ctype/Makefile.in, libc/errno/Makefile.in,
14472 libc/locale/Makefile.in, libc/machine/Makefile.in,
14473 libc/machine/a29k/Makefile.in, libc/machine/h8300/Makefile.in,
14474 libc/machine/h8500/Makefile.in, libc/machine/i386/Makefile.in,
14475 libc/machine/i960/Makefile.in, libc/machine/m68k/Makefile.in,
14476 libc/machine/mips/Makefile.in, libc/machine/necv70/Makefile.in,
14477 libc/machine/sh/Makefile.in, libc/machine/sparc/Makefile.in,
14478 libc/machine/z8k/Makefile.in, libc/reent/Makefile.in,
14479 libc/signal/Makefile.in, libc/stdio/Makefile.in,
14480 libc/stdlib/Makefile.in, libc/string/Makefile.in,
14481 libc/sys/Makefile.in, libc/syscalls/Makefile.in,
14482 libc/time/Makefile.in, libc/unix/Makefile.in,
14483 libm/ieeefp/Makefile.in, libm/math/Makefile.in: updated copyright.
14484 (TARGETLIB): removed.
14485 (all): reworked.
14486 (clean): also remove lib.a.
14487 (Makefile): call $(SHELL) rather than sh. drop redundant ./
14488 * Makefile.in: (machine_dir, sys_dir, stub_dir, stub_lib, CRT0):
14489 new macros.
14490 (SUBDIRS): moved to follow frag inclusion, change stub to
14491 stub_dir.
14492 (FLAGS_TO_PASS): removed machine_dir, sys_dir, signal_dir which
14493 are now set in the libc Makefile.
14494 * libc/machine/Makefile.in (TARGETCRT0, machine_dir): removed.
14495 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir,
14496 TARGETCRT0.
14497 (force): new target to force rebuilds.
14498 * stub/configure.in: determine and set stub_lib for for Makefile.
14499
14500 Thu Jul 15 12:01:27 1993 Doug Evans (dje@canuck.cygnus.com)
14501
14502 * libc/sys/h8300hms/Makefile.in: Make `all' the default target.
14503 crt0.s renamed to crt0.S.
14504 * libc/sys/h8300hms/crt0.S: Add h8/300h support.
14505
14506 * libc/machine/h8300/Makefile.in: Make `all' the default target.
14507 * libc/machine/h8300/{cmpsi.S,ucmpsi.S}: #ifdef out entire file if
14508 h8300h.
14509 * libc/machine/h8300/defines.h: Add macros to handle pointers for
14510 h8300 (16 bits) and h8300h (32 bits).
14511 * libc/machine/h8300/{divsi3.S,mulsi3.S,memcpy.S,memset.S,
14512 reg_memcpy.S,reg_memset.S,strcmp.S}: Add h8300h support.
14513
14514 Thu Jul 15 10:13:29 1993 Ian Lance Taylor (ian@cygnus.com)
14515
14516 * libc/machine/m88k/setjmp.S, Makefile.in: New files; a simple
14517 implementation of setjmp and longjmp for the m88k.
14518 * libc/include/machine/setjmp.h: Added __m88000__ case.
14519
14520 Wed Jul 14 10:10:30 1993 Doug Evans (dje@canuck.cygnus.com)
14521
14522 * configure.in: Recognize h8300h as variant of h8300.
14523
14524 Tue Jul 13 12:24:11 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
14525
14526 * libc/include/sys/unistd.h (read, write): get prototypes right.
14527 (sbrk): New prototype.
14528 * libc/reent/sbrkr.c (sbrkr): Use correct sbrk prototype.
14529 * libc/stdio/local.h: Include unistd.h.
14530 * libc/machine/h8300/syscalls.c: Names have changed.
14531
14532 Mon Jul 12 18:08:42 1993 K. Richard Pixley (rich@cygnus.com)
14533
14534 * configure.in: add sys_dir assignment for m88k-bug.
14535
14536 Thu Jul 8 09:16:21 1993 Doug Evans (dje@canuck.cygnus.com)
14537
14538 * libc/sys/sparc64/sys/syscallasm.h: New macros to handle either
14539 a.out or elf.
14540 * libc/sys/sparc64: all *.S files: Use new macros.
14541 * libc/sys/sparc64/isatty.c: New file.
14542 * libc/sys/sparc64/Makefile.in: Stop using /lib/libc.a for
14543 functions beyond what newlib provides.
14544
14545 Thu Jul 8 09:11:28 1993 Doug Evans (dje@canuck.cygnus.com)
14546
14547 * libc/include/sys/stat.h: Move st_atime so not doubly defined for
14548 svr4.
14549
14550 Thu Jul 8 09:09:16 1993 Doug Evans (dje@canuck.cygnus.com)
14551
14552 * libc/include/machine/ieeefp.h: Add support for h8/300h.
14553
14554 Fri Jul 2 10:11:20 1993 K. Richard Pixley (rich@cygnus.com)
14555
14556 * configure.in: add m88k.
14557 * libc/include/machine/ieeefp.h: add case for m88k. Also add
14558 sanity check so no one else need ever chase what I did to find
14559 this.
14560
14561 * libm/math/Makefile.in (FAKEC): added atanf.c log1pf.c scalbnf.c.
14562
14563 Fri Jul 2 09:15:21 1993 Ian Lance Taylor (ian@cygnus.com)
14564
14565 * doc/makedoc.c: Include <ctype.h>.
14566
14567 Wed Jun 30 09:35:06 1993 Doug Evans (dje@canuck.cygnus.com)
14568
14569 * libc/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
14570 * libc/sys/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
14571 * libc/machine/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
14572
14573 * libm/test/Makefile.in (all): Link with ../../lib[cm].a.
14574
14575 Sun Jun 27 17:05:20 1993 Doug Evans (dje@sphagnum.cygnus.com)
14576
14577 * libc/include/errno.h (ENOSYS): Added.
14578
14579 * libc/unix/getpwd.c (getcwd): Fix typo (_up -> up).
14580
14581 Mon Jun 21 09:03:32 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
14582
14583 * libc/stdio/fflush.c (fflush): Check for reent struct
14584 initialization.
14585 * libc/stdio/fdopen.c (fdopen): Avoid namespace conflict.
14586
14587 Fri Jun 18 16:06:05 1993 Mark Eichin (eichin@rtl.cygnus.com)
14588
14589 * libc/stdlib/dtoastub.c: new file -- move user callable "dtoa"
14590 out of dtoa.c so it doesn't pollute the namespace.
14591 * libc/include/_syslist.h: new file -- mappings from _function to
14592 function, for systems where we can't win (by default, all of them,
14593 until we start updating system calls.)
14594 * libc/syscalls: new directory -- stubs for exporting _function
14595 names as unmodified function names.
14596 * libc/configure.in: add MISSING_SYSCALL_NAMES to enable
14597 _syslist.h on all platforms by default, but put hooks in for
14598 fake_sys_dir so we can include it when we've renamed the system
14599 calls.
14600 * libc/reent/execr.c libc/reent/filer.c libc/reent/fstatr.c
14601 libc/reent/linkr.c libc/reent/sbrkr.c libc/reent/statr.c
14602 libc/signal/raise.c libc/signal/signal.c libc/stdio/fdopen.c
14603 libc/stdio/mktemp.c libc/stdio/tmpnam.c libc/stdlib/abort.c
14604 libc/stdlib/system.c libc/unix/getcwd.c libc/unix/getlogin.c
14605 libc/unix/getpass.c libc/unix/getut.c libc/unix/ttyname.c: change
14606 non ANSI functions to call _function.
14607
14608 Wed Jun 9 09:48:26 1993 Ian Lance Taylor (ian@cygnus.com)
14609
14610 * libc/stdlib/strtoul.c (_strtoul_r): Handle leading 0 correctly
14611 when base 16 is specified. Don't accept non-digits if radix > 10.
14612
14613 Thu Jun 3 10:01:15 1993 Doug Evans (dje@canuck.cygnus.com)
14614
14615 * libc/include/math.h: Rename xxx_r fns to _xxx_r.
14616
14617 Wed Jun 2 16:54:16 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
14618
14619 * libc/include/sys/stat.h: Surround text after #endif with
14620 comments.
14621
14622 Wed Jun 2 12:47:32 1993 Ian Lance Taylor (ian@cygnus.com)
14623
14624 * libc/stdlib/mallocr.c: If MALLOC_PROVIDED is defined, just make
14625 _malloc_r, _realloc_r, and free_r call the corresponding
14626 non-reentrant functions.
14627
14628 * libm/math/modf.c (modf): We now take the address of ipart, so
14629 don't make it a register variable.
14630
14631 Tue Jun 1 18:25:54 1993 Doug Evans (dje@canuck.cygnus.com)
14632
14633 * libm/math/*: Rename all xxx_r fns to _xxx_r.
14634
14635 Wed May 26 22:06:35 1993 Roland H. Pesch (pesch@cygnus.com)
14636
14637 * libc/libc.texinfo and embedded docn throughout: formatting
14638 improvements, minor rephrasing for clarity, and improved
14639 reentrancy docn.
14640
14641 Sun May 23 17:29:49 1993 Steve Chamberlain (sac@thepub.cygnus.com)
14642
14643 * libm/ieeefp/infinity.c (maxpowtwof): Fix initialzation bug.
14644
14645 * libc/stdio/cvt.c (_licvt): Print the right value on machines
14646 where sizeof(int) != sizeof(long).
14647
14648 Fri May 21 22:09:32 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
14649
14650 * libc/reent/execr.c, libc/reent/filer.c, libc/reent/linkr.c,
14651 libc/reent/sbrkr.c, libc/reent/statr.c, libc/stdio/tmpnam.c,
14652 libc/stdlib/atol.c, libc/stdlib/rand.c, libc/string/strpbrk.c,
14653 libc/string/strspn.c, libm/ieeefp/isnan.c, libm/math/bessel.c,
14654 libm/math/matherr.c: changes for better docn formatting (info).
14655
14656 * libc/libc.texinfo, libc/ctype/ctype.tex, libc/locale/locale/tex,
14657 libc/reent/reent.tex, libc/signal/signal.tex,
14658 libc/stdio/stdio.tex, libc/stdlib/stdlib.tex,
14659 libc/string/strings.tex, libc/sys/sys.tex, libc/time/time.tex,
14660 libm/libm.texinfo, libm/ieeefp/ieeefp.tex, libm/math/math.tex: use
14661 makeinfo node defaulting to get better Info file node structure.
14662 (Requires recent sac change to doc/makedoc.c and doc/doc.str.)
14663 Also include a few formerly missing sections (subroutines).
14664
14665 * doc/doc.str: delete fossil expansion for "func"
14666
14667 * default.menu, no-signal.menu: delete.
14668
14669 * Makefile.in, libc/Makefile.in, configure.in, host/any: simplify
14670 method used to adjust doc for missing "signals" chapter when
14671 signal_dir is empty.
14672
14673 Thu May 20 21:38:37 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
14674
14675 * configure.in: added testsuite/libm.sac
14676
14677 Wed May 19 14:52:34 1993 Doug Evans (dje@thepub.cygnus.com)
14678
14679 * libc/sys/sparc64/crt0.S: Set %g4 to 0 (to test Medium/Anywhere
14680 code model).
14681
14682 Tue May 18 13:17:21 1993 Ian Lance Taylor (ian@cygnus.com)
14683
14684 * libm/Makefile.in: Use $(MAKE) rather than make, and define
14685 MAKEOVERRIDES to be empty.
14686
14687 Mon May 17 08:42:44 1993 Ian Lance Taylor (ian@cygnus.com)
14688
14689 * configure.in: Don't build mips-*-* with -msoft-float, since that
14690 makes it incompatible with hard floating point.
14691
14692 Mon May 17 00:03:35 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
14693
14694 * Makefile.in: added recursive 'make check'
14695
14696 Thu May 13 16:24:18 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
14697
14698 * configure.in: added ./testsuite ./testsuite/libm.paranoia
14699 * ./testsuite/Makefile.in: created
14700 * ./testsuite/libm.paranoia: paranoia tests added
14701
14702 Thu May 13 10:30:24 1993 Ian Lance Taylor (ian@cygnus.com)
14703
14704 * configure.in: For mips-*-* set machine_dir to mips.
14705
14706 * libc/machine/mips: New directory.
14707 * libc/machine/mips/Makefile.in: New file.
14708 * libc/machine/mips/setjmp.S: New file; simplistic MIPS version of
14709 setjmp and longjmp.
14710 * libc/include/machine/setjmp.h: Added __mips__ case.
14711
14712 * libc/machine/lmips: Removed unused and useless directory.
14713
14714 Mon May 3 10:22:31 1993 Ian Lance Taylor (ian@cygnus.com)
14715
14716 * configure.in: Accept i486-*-sco* as well as i386-*-sco*.
14717
14718 Thu Apr 15 15:16:44 1993 Doug Evans (dje@canuck.cygnus.com)
14719
14720 * libc/sys/sparc64/crt0.S: Add comment (%g1 contains atexit arg at
14721 start up).
14722
14723 Fri Apr 9 13:32:26 1993 Ian Lance Taylor (ian@cygnus.com)
14724
14725 * libc/include/machine/setjmp-dj.h: Use _SETJMP_DJ_H rather than
14726 SETJMP_H.
14727
14728 Thu Apr 8 10:07:18 1993 Doug Evans (dje@canuck.cygnus.com)
14729
14730 * libm/test/convert.c: structure member errno -> errno_val.
14731 Must include <errno.h> to use errno, it's a macro now.
14732 * libm/test/math.c: Ditto.
14733 * libm/test/math2.c: Include errno.h.
14734 * libm/test/string.c: Ditto.
14735 * libm/test/test.h: structure member errno -> errno_val.
14736 Remove extern int errno decl.
14737
14738 Thu Apr 8 07:56:33 1993 Ian Lance Taylor (ian@cygnus.com)
14739
14740 * libc/stdio/Makefile.in: Added dependencies on local header
14741 files.
14742 * libc/stdio/std.h, libc/stdio/vfprintf.h: Removed unused header
14743 files.
14744
14745 Wed Apr 7 16:19:32 1993 Ian Lance Taylor (ian@cygnus.com)
14746
14747 * libc/include/machine/ieeefp.h: Added __MIPSEB__ case.
14748
14749 Wed Apr 7 10:55:21 1993 Doug Evans (dje@canuck.cygnus.com)
14750
14751 * libc/stdio/siprintf.c libc/stdio/sscanf.c libc/stdio/vsprintf.c:
14752 Initialize _data.
14753
14754 * libc/stdio/vfprintf.c: No need to declare _icvt, _licvt, _sicvt.
14755 * libc/stdio/local.h: Add prototype for _licvt.
14756
14757 * libc/stdio/ungetc.c (__submore): Use _malloc_r,_realloc_r
14758 instead of malloc,reealloc.
14759
14760 * libc/stdlib/local.h: New file.
14761 * libc/stdlib/efgcvt.c: #include local.h.
14762 (gcvt): Fix call to _gcvt.
14763 * libc/stdlib/ecvtbuf.c: #include local.h.
14764
14765 * libc/stdlib/Makefile.in: new files mallocr.c mstats.c.
14766 * libc/stdlib/mallocr.c mstats.c malloc.h: New files.
14767 * libc/stdlib/malloc.c: main routines moved to mallocr.c.
14768
14769 * libc/stdlib/atexit.c: moved global data to struct _reent.
14770 * libc/stdlib/exit.c: use struct _atexit in struct _reent.
14771
14772 * libc/reent/reent.c (inpure_data): _REENT_INIT macro modified.
14773
14774 Wed Apr 7 09:41:50 1993 Doug Evans (dje@canuck.cygnus.com)
14775
14776 * libc/include/sys/reent.h: Stuff required by ANSI headers moved
14777 here from ../reent.h.
14778
14779 Tue Apr 6 12:56:01 1993 Ian Lance Taylor (ian@cygnus.com)
14780
14781 * Makefile.in (MATHOBJS_IN_LIBC): List of object files which
14782 should be provided in both libc.a and libm.a.
14783 (libc.a): Depend on targ-include and libm.a. Copy
14784 $(MATHOBJS_IN_LIBC) from libm.a to libc.a.
14785 (libm.a): Depend on targ-include.
14786 * configure.in (subdirs): Removed libc/math.
14787
14788 Mon Apr 5 10:18:16 1993 Steve Chamberlain (sac@thepub.cygnus.com)
14789
14790 * libm/ieeefp/infinity.c (maxpowtwo): Fix initialization bug.
14791
14792 Sat Apr 3 11:06:07 1993 Doug Evans (dje@canuck.cygnus.com)
14793
14794 * libc/include/{errno.h, math.h, stdio.h, stdlib.h}: Use
14795 sys/reent.h instead of reent.h.
14796 * libc/include/reent.h: Split into two parts: stuff needed by ANSI
14797 headers moved to sys/reent.h.
14798 * libc/include/signal.h: _MAX_SIGNALS moved to sys/signal.h.
14799 * libc/include/sys/signal.h: Define _MAX_SIGNALS if
14800 __need__MAX_SIGNALS defined.
14801 * libc/include/stdio.h: struct __sFILE moved to sys/reent.h.
14802 std{in,out,err} refer to new _std{in,out,err} members.
14803
14804 Fri Apr 2 11:27:12 1993 Doug Evans (dje@canuck.cygnus.com)
14805
14806 * libc/include/sys/signal.h: #define _SYS_SIGNAL_H for general
14807 case.
14808
14809 Fri Apr 2 09:41:10 1993 Doug Evans (dje@canuck.cygnus.com)
14810
14811 * libc/sys/sparc64/execve.S (execve): Insert nop in delay slot,
14812 rather than whatever macro seterrno() has.
14813
14814 Thu Apr 1 16:47:08 1993 Doug Evans (dje@canuck.cygnus.com)
14815
14816 * libc/locale/locale.c: Reentrant routines _r_xxx renamed to
14817 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
14818
14819 * libc/include/machine/fastmath.h: Use _HAVE_STDC instead of
14820 __STDC__.
14821
14822 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, reent.c,
14823 reent.tex, sbrkr.c, statr.c}: _r_xxx reentrant routines renamed to
14824 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
14825
14826 * libc/signal/signal.c: Reentrant routines _r_xxx renamed to
14827 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
14828
14829 * libc/stdio/{fclose.c, fdopen.c, findfp.c, fiprintf.c, flags.c,
14830 fopen.c, fprintf.c, freopen.c, fscanf.c, fseek.c, ftell.c,
14831 fwalk.c, getchar.c, gets.c, iprintf.c, local.h, makebuf.c,
14832 mktemp.c, perror.c, printf.c, putchar.c, puts.c, refill.c,
14833 remove.c, rename.c, scanf.c, setvbuf.c, siprintf.c, sprintf.c,
14834 sscanf.c, stdio.c, tmpfile.c, tmpnam.c, vfprintf.c, vfprintf.h,
14835 vfscanf.c, vprintf.c, vsprintf.c}: Reentrant routines _r_xxx
14836 renamed to _xxx_r. struct reent_struct renamed to struct _reent
14837 for ANSI. structure members given leading "_" for ANSI. Use
14838 _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
14839
14840 * libc/stdlib/{__adjust.c, calloc.c, dtoa.c, ecvtbuf.c, malloc.c,
14841 mprec.c, mprec.h, rand.c, std.h, strtod.c, strtol.c, strtoul.c,
14842 system.c}: Reentrant routines _r_xxx renamed to _xxx_r. struct
14843 reent_struct renamed to struct _reent for ANSI.
14844 Structure members given leading "_" for ANSI.
14845 _CONST --> const in prototypes.
14846 Use _HAVE_STDC instead of __STDC__.
14847
14848 * libc/string/strtok.c: Reentrant routines _r_xxx renamed to
14849 _xxx_r.
14850 struct reent_struct renamed to struct _reent for ANSI.
14851 Structure members given leading "_" for ANSI.
14852
14853 * libc/time/asctime.c: Reentrant routines _r_xxx renamed to
14854 _xxx_r.
14855 struct reent_struct renamed to struct _reent for ANSI.
14856
14857 * libm/math/{acos.h, acosh.h, asin.c, asinh.h, atanh.h, bessel.h,
14858 cbrt.h, cosh.h, erf.c, erf.h, error.c, exp.c, fmod.c, frexp.h,
14859 gamma.h, hypot.h, ldexp.c, log.h, log10.c, log1p.c log2.c,
14860 mathimpl.h, pow.c, remainder.c, sincos.c, sinh.h, sqrt.h, tan.c,
14861 tanh.h}: struct reent_struct renamed to struct _reent for ANSI.
14862
14863 * libc/include/{_ansi.h, ctype.h, math.h, reent.h, locale.h,
14864 signal.h, stdio.h, stdlib.h, string.h, time.h}:
14865 Use _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
14866 #ifndef _STRICT_ANSI non-ANSI routines.
14867 Reentrant routines renamed from _r_xxx to _xxx_r.
14868 No need to use _STRICT_ANSI on _xxx_r reentrant routines.
14869 Use _STRICT_ANSI instead of __STRICT_ANSI, _ANSI_SOURCE, etc.
14870 Clean up namespace (structure members have leading "_").
14871 struct reent_struct renamed to struct _reent for ANSI compliance.
14872 _CONST --> const in function prototypes.
14873
14874 * libc/include/string.h: Add NULL and size_t.
14875
14876 * libc/sys/sparc64/Makefile.in: New syscall routines for link,
14877 unlink, wait, wait4. Reentrant syscall routines close, fork,
14878 fstat, link, lseek, open, read, sbrk, stat, unlink, wait, wait4,
14879 write.
14880 * libc/sys/sparc64/cerror.S (cerror_r): New routine.
14881 * libc/sys/sparc64/{close.S, fork.S, fstat.S, link.S, lseek.S,
14882 open.S, read.S, sbrk.S, stat.S, unlink.S, wait.S, wait4.S,
14883 write.S}: Define reentrant versions.
14884 * libc/sys/sparc64/sys/syscallasm.h (defsyscall_r): New macro for
14885 reentrant syscalls.
14886
14887 * libc/sys/sparc64/crt0.S (start): Fix initialization of environ.
14888
14889 * libc/include/stdlib.h (RAND_MAX): Fix value.
14890
14891 Thu Apr 1 12:28:30 1993 Ian Lance Taylor (ian@cygnus.com)
14892
14893 * libc/sys/a29khif/_main.c: Removed unnecessary file.
14894 * libc/sys/a29khif/Makefile.in (OFILES): Removed _main.c, moved
14895 VPATH support targets after all: target.
14896
14897 * stub/mvme135/mvme.S: Renamed exceptionhandler to
14898 exceptionHandler, which is what mvme135-stub.c expects.
14899
14900 Wed Mar 31 17:42:03 1993 Doug Evans (dje@cygnus.com)
14901
14902 * libc/stdio/tmpnam.c (worker): Fix test for _r_open() failure.
14903
14904 * libc/unix/getpass.c (getpass): Use stdin,stderr instead of
14905 def_stdin/def_stderr (latter removed from stdio.h to make it ANSI
14906 compliant).
14907
14908 Tue Mar 30 09:58:21 1993 Doug Evans (dje@canuck.cygnus.com)
14909
14910 * libc/reent/execr.c (_r_wait): Re-order args to make reent_struct
14911 first.
14912 libc/reent/filer.c (_r_open, _r_close, _r_lseek, _r_read,
14913 _r_write): Ditto.
14914 libc/reent/fstatr.c (_r_fstat): Ditto.
14915 libc/reent/linkr.c (_r_link, _r_unlink): Ditto.
14916 libc/reent/sbrkr.c (_r_sbrk): Ditto.
14917 libc/reent/statr.c (_r_stat): Ditto.
14918
14919 * libc/stdio/fopen.c (_r_fopen): Re-order args to _r_open.
14920 * libc/stdio/freopen.c (freopen): Ditto for _r_open, _r_free.
14921 * libc/stdio/fseek.c (fseek): Ditto for _r_fseek.
14922 * libc/stdio/makebuf.c (__smakebuf): Ditto for _r_fstat.
14923 * libc/stdio/mktemp.c (_gettemp): Ditto for _r_stat, _r_open.
14924 * libc/stdio/remove.c (_r_remove): Ditto for _r_unlink.
14925 * libc/stdio/rename.c (_r_rename): Ditto for _r_link, _r_unlink.
14926 * libc/stdio/stdio.c (__sread): Ditto for _r_read.
14927 (__swrite): Ditto for _r_lseek, _r_write.
14928 (__sseek): Ditto for _r_lseek.
14929 (__close): Ditto for _r_close.
14930 * libc/stdio/tmpnam.c (worker): Ditto for _r_open, _r_close.
14931
14932 * libc/stdlib/malloc.c (_r_morecore): Re-order args to _r_sbrk.
14933 * libc/stdlib/system.c (_r_system): Ditto for _r_wait.
14934
14935 * libc/include/reent.h: Re-order arguments to _r_xxx syscall fns
14936 to make reent_struct the first argument (and thus consistent with
14937 the rest of newlib).
14938
14939 * stub/mvme135/mvme135-stub.c (initializeRemcomErrorFrame): Remove
14940 reference to __STDC__.
14941
14942 Mon Mar 29 12:34:32 1993 Doug Evans (dje@canuck.cygnus.com)
14943
14944 * libc/stdlib/exit.c (exit): Use _REENT->__cleanup instead of
14945 global __cleanup.
14946
14947 Wed Mar 24 11:54:35 1993 Doug Evans (dje@canuck.cygnus.com)
14948
14949 * libc/stdio/freopen.c (freopen): Ensure stdio is initialized
14950 first.
14951 libc/stdio/fclose.c (fclose): Ditto.
14952
14953 Tue Mar 23 01:26:52 1993 Doug Evans (dje@rtl.cygnus.com)
14954
14955 * Run through indent and rename reentrant routines for ANSI.
14956 libc/stdio/{clearerr.c cvt.c fclose.c fdopen.c feof.c ferror.c
14957 fflush.c fgetc.c fgetpos.c fgets.c findfp.c fiprintf.c flags.c
14958 fopen.c fprintf.c fputc.c fputs.c fread.c freopen.c fscanf.c
14959 fseek.c fsetpos.c ftell.c fvwrite.c fwalk.c fwrite.c getc.c
14960 getchar.c gets.c iprintf.c makebuf.c mktemp.c perror.c printf.c
14961 putc.c putchar.c puts.c refill.c remove.c rename.c rewind.c rget.c
14962 scanf.c setbuf.c setvbuf.c siprintf.c sprintf.c sscanf.c stdio.c
14963 tmpfile.c tmpnam.c ungetc.c vfprintf.c vfscanf.c vprintf.c
14964 vsprintf.c wbuf.c wsetup.c local.h}
14965
14966 * libc/locale/locale.c: Reformat and rename for ANSI, GNU style.
14967
14968 * Run through indent and rename xxx_r fns to _r_xxx for ANSI.
14969 libc/stdlib/{__adjust.c __exp10.c __ten_mu.c abort.c abs.c
14970 assert.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c
14971 dtoa.c ecvtbuf.c efgcvt.c exit.c getenv.c labs.c ldiv.c malloc.c
14972 mbtowc.c mprec.c putenv.c qsort.c rand.c setenv.c strdup.c
14973 strtod.c strtol.c strtoul.c system.c wctomb.c mprec.h}
14974
14975 * Run through indent.
14976 libc/string/{bcmp.c bcopy.c bzero.c index.c memchr.c memcmp.c
14977 memcpy.c memmove.c memset.c rindex.c strcat.c strchr.c strcmp.c
14978 strcoll.c strcpy.c strcspn.c strerror.c strlen.c strncat.c
14979 strncmp.c strncpy.c strpbrk.c strrchr.c strspn.c strstr.c strtok.c
14980 strxfrm.c}
14981
14982 * libc/time/{asctime.c clock.c ctime.c difftime.c gmtime.c
14983 localtime.c mktime.c strftime.c time.c}:
14984 Run through indent and rename xxx_r (reentrant) fns to _r_xxx for ANSI.
14985
14986 * Reformatting + renaming (for ANSI, GNU style, consistency).
14987 libc/include/{_ansi.h, assert.h, ctype.h, errno.h, fastmath.h,
14988 ieeefp.h, locale.h, math.h, paths.h, pwd.h, reent.h, setjmp.h,
14989 signal.h, stdio.h, stdlib.h, string.h, time.h, unistd.h}
14990
14991 Fri Mar 19 11:28:01 1993 Doug Evans (dje@cygnus.com)
14992
14993 * libc/include/stdio.h (stdin_r): Fix.
14994
14995 Fri Mar 19 09:43:48 1993 Ian Lance Taylor (ian@cygnus.com)
14996
14997 * Makefile.in: Unexport some variables to keep GNU make from
14998 putting them in the environment and using up needed ARG_MAX space
14999 (a hack is used to let this work with older makes as well).
15000
15001 Tue Mar 16 15:11:08 1993 Ian Lance Taylor (ian@cygnus.com)
15002
15003 * Makefile.in: Use $(MAKE) rather than make.
15004 (MAKEOVERRIDES): Define to be empty.
15005 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
15006 (libc.a, libm.a): Depend on targ-include.
15007 * host/any (LD): Don't define.
15008 (INCLUDES): Use targ-include.
15009 * stub/Makefile.in (MAKEOVERRIDES): Define to be empty.
15010 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
15011 * libc/Makefile.in: Use $(MAKE) rather than make.
15012 (MAKEOVERRIDES): Define to be empty.
15013 (FLAGS_TO_PASS): Don't pass LD (it's not used).
15014 (all): Rewrote to be slightly smaller.
15015 * libc/machine/Makefile.in, libc/sys/Makefile.in (MAKEOVERRIDES):
15016 Define to be empty.
15017 (FLAGS_TO_PASS): Don't pass LD (it's not used).
15018 * libm/Makefile.in (FLAGS_TO_PASS): Don't pass LD (it's not used).
15019
15020 Mon Mar 15 08:45:41 1993 Ian Lance Taylor (ian@cygnus.com)
15021
15022 * libc/sys/go32/gerrno.s: Renamed from errno.s to avoid conflict
15023 with errno/errno.c.
15024
15025 Fri Mar 12 09:46:54 1993 Ian Lance Taylor (ian@cygnus.com)
15026
15027 * Changes for reentrancy.
15028 libc/stdio/fdopen.c, libc/stdio/freopen.c, libc/stdio/perror.c:
15029 Use ptr->_errno, not errno.
15030 libc/stdio/mktemp.c (mkstemp_r, mktemp_r): New functions.
15031 libc/stdio/remove.c (remove_r): New function.
15032 libc/stdio/rename.c (rename_r): New function.
15033 libc/stdio/fopen.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
15034 libc/stdio/makebuf.c, libc/stdio/mktemp.c, libc/stdio/remove.c,
15035 libc/stdio/rename.c, libc/stdio/stdio.c, libc/stdio/tmpnam.c: Use
15036 reentrant versions of system calls.
15037 libc/stdio/gets.c: Call getchar_f, not nonexistent getchar_r.
15038 libc/stdio/scanf.c: Use stdin_r, not nonexistent stdin_n.
15039 libc/stdio/tmpfile.c: Use tmpnam_f, not nonexistent tmpnam_r.
15040 libc/stdio/findfp.c: Include <string.h>.
15041 libc/stdio/fread.c, libc/stdio/rget.c, libc/stdio/scanf.c: Include
15042 "local.h".
15043 libc/stdio/wbuf.c: Include "fvwrite.h"
15044
15045 * libc/stdlib/{dtoa.c, ecvtbuf.c, mprec.c, strtod.c}: Include
15046 <string.h>.
15047 libc/stdlib/malloc.c: Call sbrk_r rather than sbrk.
15048 (NULL): Don't define if already defined.
15049 libc/stdlib/system.c: Call reentrant versions of system calls.
15050 (system_r): New function.
15051
15052 * Changes for reentrancy.
15053 libc/include/_ansi.h (_PARAMS): New macro.
15054 libc/include/errno.h: Define errno as a macro that calls __errno.
15055 (__errno_r): New macro for reentrant code.
15056 libc/include/math.h: Include reent.h. Declare many reentrant
15057 functions.
15058 (signgam): Now a macro, not a variable.
15059 (struct exception): Added err field.
15060 libc/include/reent.h: Don't declare __sglue. Added function
15061 declarations.
15062 (struct reent_struct): Moved errno to beginning. Added _signgam.
15063 libc/include/stdio.h, libc/include/stdlib.h: Added function
15064 declarations.
15065
15066 * More reentrancy hacking.
15067 libc/errno/errno.c (__errno): New function.
15068 libc/reent/execr.c, libc/reent/filer.c, libc/reent/fstatr.c,
15069 libc/reent/linkr.c, libc/reent/sbrkr.c, libc/reent/statr.c: New
15070 files.
15071
15072 * Added many new reentrant functions to libm/math/*.
15073 libm/math/error.c (__matherror): Added reent_struct pointer
15074 argument. Changed all callers.
15075 libm/math/gamma.c (signgam): Removed. Set ptr->_signgam, instead.
15076 libm/math/exp.h, libm/math/pow.h, libm/math/sincos.h,
15077 libm/math/tan.h: Removed obsolete unused header files.
15078
15079 * libc/sys/a29khif/stubs.s: Use register lr0, not v0.
15080
15081 * libc/sys/sun/Makefile.in (COPYOFILES): Don't pull in errno.o.
15082
15083 Mon Mar 8 16:43:43 1993 Steve Chamberlain (sac@thepub.cygnus.com)
15084
15085 * libc/sys/a29khif/stubs.s: clobber safe register, and fill all
15086 delay slots.
15087
15088 Tue Mar 2 14:47:00 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
15089
15090 * libc/libc.texinfo: comment out reentrancy chapter (duh)
15091
15092 Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
15093
15094 * libc/reent/reent.tex: New file. (text from
15095 newlib/libc/libc.texinfo)
15096 * libc/stdio/tmpnam.c: fixed doc typo
15097 * libc/stdlib/rand.c: fixed doc typo
15098
15099 Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
15100
15101 * libc/reent/reent.tex: New file. (text from
15102 newlib/libc/libc.texinfo)
15103
15104 Fri Feb 26 12:20:54 1993 Steve Chamberlain (sac@thepub.cygnus.com)
15105
15106 support for reentrancy
15107 * libc/reent/reent.c, libc/reent/Makefile.in, libc/reent/reent.c:
15108 new files
15109 * libc/errno/errno.c, libc/include/ieeefp.h,
15110 libc/include/locale.h, libc/include/reent.h,
15111 libc/include/signal.h, libc/include/stdio.h,
15112 libc/include/stdlib.h, libc/include/string.h, libc/include/time.h,
15113 libc/signal/signal.c libc/stdio/cvt.c, libc/stdio/fclose.c,
15114 libc/stdio/fdopen.c, libc/stdio/fflush.c, libc/stdio/fgets.c,
15115 libc/stdio/findfp.c, libc/stdio/flags.c, libc/stdio/fopen.c,
15116 libc/stdio/fputc.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
15117 libc/stdio/ftell.c, libc/stdio/fwalk.c, libc/stdio/getchar.c,
15118 libc/stdio/gets.c, libc/stdio/glue.h, libc/stdio/iprintf.c,
15119 libc/stdio/local.h, libc/stdio/makebuf.c, libc/stdio/perror.c,
15120 libc/stdio/printf.c, libc/stdio/putchar.c, libc/stdio/puts.c,
15121 libc/stdio/refill.c, libc/stdio/scanf.c, libc/stdio/setvbuf.c,
15122 libc/stdio/sprintf.c, libc/stdio/tmpfile.c, libc/stdio/tmpnam.c,
15123 libc/stdio/ungetc.c, libc/stdio/vfprintf.c, libc/stdio/vfprintf.h,
15124 libc/stdio/vfscanf.c, libc/stdio/vprintf.c, libc/stdio/wsetup.c,
15125 libc/stdlib/__adjust.c, libc/stdlib/__exp10.c,
15126 libc/stdlib/assert.c, libc/stdlib/atexit.c, libc/stdlib/atol.c,
15127 libc/stdlib/dtoa.c, libc/stdlib/ecvtbuf.c, libc/stdlib/malloc.c,
15128 libc/stdlib/mprec.c, libc/stdlib/mprec.h, libc/stdlib/rand.c,
15129 libc/stdlib/setenv.c, libc/stdlib/std.h, libc/stdlib/strtod.c,
15130 libc/stdlib/strtol.c, libc/stdlib/strtoul.c, libc/string/strtok.c,
15131 libc/time/asctime.c, libc/time/localtime.c, libc/time/mktime.c,
15132 libc/time/strftime.c: modify to provide reentracy.
15133
15134 new routines:
15135 strtok_r, asctime_r, fdopen_r, _cleanup_r, fopen_r, iprintf_r,
15136 perror_r, printf_r, putchar_r, puts_r, scanf_r, sprintf_r,
15137 tmpfile_r, vfiprintf_r, vfprintf_r, strtod_r, dtoa_r, rand_r,
15138 srand_r, strtoul_r,strtol_r, free_r, malloc_r, morecore_r,
15139 mstats_r, realloc_r, localeconv_r, setlocale_r
15140
15141 Wed Feb 17 20:17:15 1993 Mark Eichin (eichin@cygnus.com)
15142
15143 * libc/include/machine/ieeefp.h, libc/include/machine/setjmp.h,
15144 libc/include/sys/config.h, libc/include/sys/signal.h,
15145 libc/include/sys/stat.h, libc/include/sys/types.h: For compiler
15146 provided macros (such as m68000), use the ansi version
15147 (__m68000__) so that the library can be used with code compiled
15148 -ansi. In particular, m68000, mc68000, _AM29K, i386, MIPSEL, unix,
15149 and sparc.
15150
15151 Wed Feb 17 13:01:34 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
15152
15153 * configure.in (sparc*): Don't set -fsoft-float for sparc
15154 configurations. Do set -fsoft-float for sparclite configurations.
15155
15156 Fri Feb 12 16:25:52 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
15157
15158 * default.menu, no-signal.menu: alternate forms of libc main menu
15159 (in newlib rather than newlib/libc due to configuration restrictions)
15160
15161 * configure.in: select one of the two menus above, link to
15162 libc.menu
15163
15164 * libc/libc.texinfo: include menu from separate file
15165
15166 Fri Feb 12 12:50:06 1993 Ian Lance Taylor (ian@cygnus.com)
15167
15168 * Makefile.in (FLAGS_TO_PASS): Put INSTALL back in.
15169 (info): Split long shell command in half.
15170 * libc/Makefile.in (info, targetdep.tex): Don't pass everything to
15171 sub-makes, just CHEW and TARGETDOC.
15172 (targetdep.tex): Removed now special handling of sys and machine
15173 subdirectories, made obsolete some time ago.
15174 * libc/machine/Makefile.in (doc): Don't pass everything to
15175 sub-make, just CHEW and TARGETDOC.
15176 (Makefile): New target.
15177 * libc/sys/Makefile.in (Makefile): New target.
15178
15179 Thu Feb 11 15:25:15 1993 Ian Lance Taylor (ian@cygnus.com)
15180
15181 * Makefile.in (here and most subdirectories): Only pass down CHEW
15182 and TARGETDOC when making info, not for other targets.
15183
15184 * Makefile.in (here and most subdirectories), host/any: Use $(AR)
15185 $(AR_FLAGS) rather than $(ARUPDATE).
15186
15187 Wed Feb 10 11:57:52 1993 Ian Lance Taylor (ian@cygnus.com)
15188
15189 * Try to reduce command line length:
15190 * Makefile.in (FLAGS_TO_PASS): don't pass down exec_prefix,
15191 CC_FOR_BUILD, CFLAGS_FOR_BUILD, INSTALL or CHEW.
15192 (info, docs): pass CC_FOR_BUILD and CFLAGS_FOR_BUILD to doc.
15193 (info): Pass CHEW to other subdirs.
15194
15195 Tue Feb 9 14:01:42 1993 Mark Eichin (eichin@cygnus.com)
15196
15197 * configure.in: add signal_dir, like unix_dir, but by default it
15198 is set to "signal" so that a29khif can turn it off (since a29khif
15199 has raise() as part of machine-specific signal.s.)
15200
15201 Fri Jan 15 12:09:50 1993 Steve Chamberlain (sac@thepub.cygnus.com)
15202
15203 * libc/sys/config.h, libc/machine/ieeefp.h: add Z8000 support
15204 * libc/stdio/Makefile.in: pass CFLAGS so vfiprintf.c gets built
15205 correctly.
15206 * libc/stdio/fdopen.c, libc/stdio/fgets.c, libc/stdio/fscanf.c,
15207 libc/stdio/vfprintf: type lint.
15208 * libc/sys/z8ksim/crt0.c (start): Z8001/Z8002 independent
15209 initialzation code.
15210 * libc/sys/z8ksim/glue.c: Z8001/Z8002 clean system calls.
15211
15212 Tue Dec 29 10:15:33 1992 Ian Lance Taylor (ian@cygnus.com)
15213
15214 * stub/mvme135/mvme135-asm.S: new file.
15215 stub/mvme135mvme135-stub.c: moved all assembler routines into
15216 mvme135-asm.S.
15217 stub/mvme135/Makefile.in: build mvme135-stub.o.
15218
15219 Mon Dec 28 12:40:43 1992 Ian Lance Taylor (ian@cygnus.com)
15220
15221 * Makefile.in: don't pass down $(CPP); use $(CC) -E in
15222 sub-Makefiles instead, to try to avoid line length limitations.
15223
15224 Mon Dec 21 18:36:13 1992 Per Bothner (bothner@rtl.cygnus.com)
15225
15226 * libc/include/unistd.h (read, write): Use void* instead of
15227 char*.
15228
15229 Thu Dec 17 13:49:46 1992 Mark Eichin (eichin@cygnus.com)
15230
15231 * stub/go32/resetpc: sample script to send a reset packet to the
15232 stub
15233
15234 * stub/go32/I386STUB.C: new file, gdb/i386stub.c modified for the
15235 DOS environment, which compiles with Turbo C.
15236
15237 * stub/go32/DSER32.LNK: new file, linker commands for serial
15238 remote stub.
15239
15240 * stub/go32/CONTROL.C: turn off debug_mode, add CYGNUS tag line to
15241 start up message to identify version; call set_debug_traps.
15242
15243 * stub/go32/DEBUG.C: turn off debug_mode (so stub doesn't need any
15244 keyboard interaction); call handle_exception() in go_til_stop,
15245 rather than return, so that the remote stub gets control.
15246
15247 * stub/go32/MAKEFILE: fixed to actually use DOS commands (del and
15248 rename, rather than mv), set flags that work with current Turbo C,
15249 including using the /3 flag; also, add commands to build dser32.
15250
15251 * stub/go32/DEBUG32.LNK, stub/go32/GO32.LNK: fix paths to match
15252 default Turbo C installation (\tc rather than \usr)
15253
15254 * stub/go32/MONO.C (printf): current Turbo C uses "..." instead of
15255 "&..."
15256
15257 Mon Dec 14 09:37:33 1992 Steve Chamberlain (sac@thepub.cygnus.com)
15258
15259 * libc/include/math.h: added _DOUBLE_IS_32BITS checks
15260
15261 Thu Nov 12 22:31:04 1992 Steve Chamberlain (sac@thepub.cygnus.com)
15262
15263 * libc/stdio/cvt.c (licvt): new function to convert ints when
15264 sizeof(int) != sizeof(long).
15265
15266 * libc/include/stdio.h: added prototype for iprintf.
15267 * libc/include/machine/limits.h machine/ieeefp.h: z8k stuff
15268
15269 Tue Nov 10 12:18:12 1992 Ian Lance Taylor (ian@cygnus.com)
15270
15271 * libc/machine/m68k/setjmp.S: use __USER_LABEL_PREFIX__ and
15272 __REGISTER_PREFIX__.
15273
15274 Mon Nov 2 13:50:14 1992 Ian Lance Taylor (ian@cygnus.com)
15275
15276 * libc/sys/m68kbare: moved into stub directory.
15277
15278 Mon Nov 2 13:40:42 1992 Ian Lance Taylor (ian@cygnus.com)
15279
15280 * configure.in, Makefile.in: created new directory stub, to hold
15281 sample code for specific targets.
15282
15283 Wed Oct 28 02:19:55 1992 Mark Eichin (eichin@cygnus.com)
15284
15285 * restored libc/sys/go32/sys/fcntl.h, to override incorrect values
15286 in the unified libc/include/sys/fcntl.h.
15287
15288 Wed Oct 21 13:55:58 1992 Doug Evans (dje@rtl.cygnus.com)
15289
15290 * libc/stdlib/ecvtbuf.c: (print_f,_gcvt): printf("%f", 0.01)
15291 printed .01, not 0.01.
15292
15293 Mon Oct 19 11:05:55 1992 Ian Lance Taylor (ian@cygnus.com)
15294
15295 * configure.in: compile with -m68000 for m68* targets.
15296
15297 Sun Oct 18 05:29:05 1992 Mark Eichin (eichin@cygnus.com)
15298
15299 * libm/math/remainder.c (remainder): document the svr4 and sunos
15300 references used to construct the function.
15301
15302 Sat Oct 17 21:46:16 1992 Mark Eichin (eichin@cygnus.com)
15303
15304 * libm/math/remainder.c (rint, remainder): fix old typos.
15305 * libm/math/Makefile.in: actually build remainder.c (functions
15306 rint and remainder, from SysVr4 Programmer's Guide floor(3m) man
15307 page.)
15308
15309 Thu Oct 15 07:48:05 1992 Ian Lance Taylor (ian@cygnus.com)
15310
15311 * libc/string/bcopy.c: BSD version works on overlapping strings,
15312 so ours should too.
15313
15314 * libc/stdlib/system.c: always invoke /bin/sh, not getenv
15315 ("SHELL").
15316
15317 Wed Oct 14 11:07:11 1992 Ian Lance Taylor (ian@cygnus.com)
15318
15319 * Makefile.in (docs): new target.
15320
15321 Wed Oct 14 07:44:25 1992 Ian Lance Taylor (ian@cygnus.com)
15322
15323 * libc/include/sys/times.h: define clock_t as required by POSIX.
15324 libc/include/time.h: protect clock_t from multiple definitions.
15325
15326 Wed Oct 7 11:02:21 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
15327
15328 * libm/math/sqrt.h (sqrt): actually, the final version of fp-bit
15329 does not need more than the original three iterations to get
15330 within 1 ulp. (Paranoia tests for rounding to better than that,
15331 but further iterations *don't* help, only more subtle changes
15332 can.)
15333
15334 Tue Oct 6 09:22:12 1992 Ian Lance Taylor (ian@cygnus.com)
15335
15336 * libc/sys/vxworks68, libc/sys/vxworks960: removed, since they
15337 were doing nothing useful.
15338
15339 Tue Oct 6 08:48:13 1992 Ian Lance Taylor (ian@cygnus.com)
15340
15341 * configure.in: define MALLOC_PROVIDED for vxworks targets;
15342 removed sys_dir settings of vxworks68 and vxworks960.
15343 host/any: don't pass -nostdinc to gcc, since newlib no longer
15344 provides all required header files.
15345
15346 * libc/stdlib/malloc.c: only compile this file if MALLOC_PROVIDED
15347 is not defined; this provides a hook for VxWorks.
15348
15349 Mon Oct 5 03:44:57 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
15350
15351 * libc/stdio/setvbuf.c (setvbuf): while ANSI does say to malloc a
15352 buffer if buf is NULL, don't do it here -- it is already being
15353 done by makebuf elsewhere in stdio.
15354
15355 Fri Oct 2 13:12:07 1992 Ian Lance Taylor (ian@cygnus.com)
15356
15357 * libc/sys/a29khif/Makefile.in: assemble Steve's list of stubs so
15358 that C programs can call functions without using initial
15359 underscores.
15360
15361 Thu Oct 1 09:37:47 1992 Ian Lance Taylor (ian@cygnus.com)
15362
15363 * libc/stdlib/abort.c (abort): call exit, in case kill returns.
15364
15365 Wed Sep 30 08:22:18 1992 Ian Lance Taylor (ian@cygnus.com)
15366
15367 * configure.in: set TARGET_CFLAGS for certain CPU types to
15368 -msoft-float.
15369
15370 Tue Sep 29 21:09:32 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
15371
15372 * libc/sys/m68kbare/glue.c: use <_ansi.h> instead of <ansidecl.h>
15373
15374 Mon Sep 28 14:58:44 1992 Ian Lance Taylor (ian@cygnus.com)
15375
15376 * configure.in: added sys_dir m68kbare for m68k*-unknown-aout and
15377 m68k*-unknown-coff.
15378
15379 Fri Sep 25 08:33:21 1992 Ian Lance Taylor (ian@cygnus.com)
15380
15381 * libc/include/stdio.h: define __need___va_list before including
15382 <stdarg.h>, to avoid defining va_arg, et. al.
15383
15384 Tue Sep 22 13:47:00 1992 Ian Lance Taylor (ian@cygnus.com)
15385
15386 * libc/sys/Makefile.in: handle the case of an empty $(sys_dir)
15387 (don't cd to the user's home directory).
15388
15389 * libc/Makefile.in: replaced all instances of $(MAKE) with make.
15390 In general this is the wrong thing to do, but I can't get around
15391 GNU make's insistence on passing command line arguments any other
15392 way.
15393
15394 Tue Sep 22 10:12:44 1992 Ian Lance Taylor (ian@cygnus.com)
15395
15396 * configure.in: always configure the libc/sys directory, since it
15397 now provides a required documentation file.
15398
15399 * Makefile.in: replaced all instances of $(MAKE) with make. In
15400 general this is the wrong thing to do, but I can't get around GNU
15401 make's insistence on passing command line arguments any other way.
15402
15403 Mon Sep 21 22:42:26 1992 Ian Lance Taylor (ian@tweedledumbest.cygnus.com)
15404
15405 * libc/stdlib/ecvtbuf.c (_gcvt): string for 0 was not null
15406 terminated.
15407
15408 * libc/stdio/local.h: include <stdarg.h> to define va_list.
15409 libc/stdio/vsprintf.c: include <stdarg.h> rather than <varargs.h>.
15410
15411 * libc/include/float.h, libc/include/stdarg.h,
15412 libc/include/stddef.h, libc/include/varargs.h: removed; use gcc
15413 versions instead.
15414 libc/include/stdio.h: get size_t from <stddef.h>, and va_list from
15415 <stdarg.h>, not from <machine/types.h>. Protect definition of
15416 NULL.
15417 libc/include/time.h: get size_t from stddef.h. Protect definition
15418 of NULL.
15419 libc/include/machine/limits.h: override gcc <limits.h> by defining
15420 _LIMITS_H___. Don't define CLK_TCK. Copied in gcc <limits.h> to
15421 get correct INT_MIN and LONG_LONG values.
15422 libc/include/machine/types.h: don't define ptrdiff_t, wchar_t,
15423 size_t or va_list at all; they're now gotten from stddef.h
15424 instead.
15425 libc/include/machine/varargs.h: removed; use gcc version instead.
15426 libc/include/sys/types.h: explicitly include <machine/types.h>.
15427
15428 * libm/math/sqrt.h: using the fp-bit routines appears to require
15429 more iterations.
15430
15431 * Makefile.in, host/any: let system include files override machine
15432 include files.
15433
15434 Sat Sep 19 21:10:06 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
15435
15436 * libc/include/machine/types.h: allow __*_TYPE__ from cpp to
15437 override _*_T_ definitions defaulted here.
15438
15439 Tue Sep 15 11:14:46 1992 Ian Lance Taylor (ian@cygnus.com)
15440
15441 * Makefile.in (install): install the include files in
15442 $(tooldir)/include, not $(exec_prefix)/include.
15443
15444 Fri Sep 11 15:48:43 1992 Ian Lance Taylor (ian@cygnus.com)
15445
15446 * Makefile.in (install): fixed typo, and changed install to not
15447 force rebuild of libc.a and libm.a.
15448
15449 Thu Sep 10 10:46:09 1992 Ian Lance Taylor (ian@cygnus.com)
15450
15451 * libc/sys/a29khif/*: Changed all .include's to include
15452 sys/sysmac.h, not plain sysmac.h. The header files live in sys so
15453 that they will be installed for the user.
15454
15455 * Makefile.in (all): create targ-include, a directory holding the
15456 machine and system specific header files during the build.
15457 (install): fixed installation of machine and system specific
15458 header files.
15459
15460 * Makefile.in: fixed comment.
15461 host/any: change .s.o rule to use $(AS) rather than $(CC), so that
15462 we can pass $(INCLUDES) to it.
15463
15464 Thu Sep 10 10:13:13 1992 Ian Lance Taylor (ian@cygnus.com)
15465
15466 * libc/include/sys/param.h: new generic file, which may be
15467 overridden for specific systems.
15468
15469 * libc/include/sys/signal.h: define all ANSI signal names, and
15470 NSIG (which is not ANSI) for a29k.
15471
15472 Tue Sep 8 09:04:30 1992 Ian Lance Taylor (ian@cygnus.com)
15473
15474 * Makefile.in: don't pass down arguments the lower level makes
15475 will not need.
15476 * libc/Makefile.in: recurse directly, rather than using subdir_do,
15477 in hopes of avoiding argument length limits.
15478 * libm/Makefile.in: recurse directly, rather using subdir_do, in
15479 hopes of avoiding argument length limits.
15480
15481 Tue Sep 8 08:27:22 1992 Ian Lance Taylor (ian@cygnus.com)
15482
15483 * libc/include/sys/fcntl.h: include <sys/types.h> to ensure that
15484 mode_t is defined.
15485
15486 Mon Sep 7 14:02:07 1992 Ian Lance Taylor (ian@cygnus.com)
15487
15488 * Fixed make info and make install-info for newlib, changing most
15489 Makefile.in and several *.tex files. Moved doc directory from
15490 libc to top level.
15491
15492 * libc/time/mktime.c (_DAYS_IN_MONTH): actually, not const.
15493 Should be rewritten.
15494
15495 * libc/string/strings.tex: renamed node index to node index
15496 function, so that it does not conflict with the top level index
15497 node.
15498
15499 * libc/include/sys/config.h: define __IEEE_BIG_ENDIAN for h8300.
15500
15501 Fri Sep 4 02:34:06 1992 Ian Lance Taylor (ian@cygnus.com)
15502
15503 * Overhauled general configuration for newlib. Eliminated all
15504 target dependent Makefile fragments. Create libraries in newlib
15505 rather than newlib/libc and newlib/libm. Use CC, et. al., rather
15506 than CROSS_CC, et. al. Broke make docs; will fix later.
15507
15508 * libc/time/localtime.c (_DAYS_IN_MONTH): actually, not const.
15509 Should be rewritten.
15510
15511 Tue Sep 1 15:21:14 1992 Ian Lance Taylor (ian@cygnus.com)
15512
15513 * libc/configure.in: cleaned up somewhat; switch on ${target}
15514 rather than ${target_alias}.
15515 * libm/configure.in: cleaned up somewhat; switch on ${target}
15516 rather than ${target_alias}.
15517
15518 * libc/ctype/ctype_.c: marked _ctype_ array _CONST.
15519 * libc/include/ctype.h: marked _ctype_ as _CONST.
15520
15521 * libc/locale/locale.c (lconv, localeconv): marked static lconv as
15522 _CONST.
15523
15524 * libc/stdio/cvt.c, libc/stdio/findfp.c (__sfmoreglue),
15525 libc/stdio/vfscanf.c (__svfscanf): made static variables const.
15526 libc/stdio/gets.c (gets): removed non-ANSI warning message.
15527 libc/stdio/tmpnam.c (tmpnam): removed unneeded filename variable.
15528
15529 * libc/stdlib/mprec.h, libc/stdlib/mprec.c (pow5mult, tens,
15530 bigtens, tinytens): marked arrays _CONST.
15531 libc/stdlib/qsort.c (swap): if __GNUC__, use _builtin_alloca
15532 rather than a static variable.
15533
15534 * libc/time/asctime.c (asctime), libc/time/localtime.c
15535 (_DAYS_IN_MONTH), libc/time/mktime.c (_DAYS_IN_MONTH,
15536 _DAYS_BEFORE_MONTH), libc/time/strftime.c (dname_len, dname,
15537 mname_len, mname): Marked static arrays _CONST.
15538
15539 * libm/math/gamma.h: made local variables non-static.
15540
15541 * libm/math/acos.h, libm/math/bessel.c, libm/math/erf.c,
15542 libm/math/exp.c, libm/math/gamma.h: marked static arrays as
15543 _CONST.
15544
15545 * libm/math/constants.c: removed file, because the constants it
15546 defined were never referenced.
15547 libm/math/Makefile.in: removed references to constants.c.
15548 libm/math/mathimpl.h: removed declarations of constants.
15549
15550 Wed Aug 26 21:09:06 1992 Ian Lance Taylor (ian@cygnus.com)
15551
15552 * libc/include/machine/varargs.h: only call __builtin_saveregs if
15553 it is sensibly defined in libgcc2. Checks preprocessor defines,
15554 which is not a good solution.
15555
15556 * libm/sqrt.c: sqrt(Infinity) should not be a domain error.
15557
15558 * libm/frexp.c: handle denormalized numbers as arguments.
15559
15560 * libm/math/Makefile.in: added some dependencies for .c files
15561 which include local .h files.
15562
15563 Mon Aug 24 12:57:58 1992 Ian Lance Taylor (ian@cygnus.com)
15564
15565 * libc/configure.in: set target_alias for OSE*. Replace
15566 target_makefile_frag if it is blank.
15567
15568 * libc/Makefile.in: make sure everything is passed to subsidiary
15569 makes; create all directories when installing.
15570
15571 * libm/ieeefp/Makefile.in, libm/math/Makefile.in: use
15572 CROSS_ARUPDATE instead of AR.
15573
15574 * libm/configure.in: set target_alias for OSE*. Replace
15575 target_makefile_frag if it is blank.
15576
15577 * libm/Makefile.in: make sure everything is passed to subsidiary
15578 makes; create all directories when installing.
15579
15580 Thu Aug 20 15:11:51 1992 Mark Eichin (eichin@cygnus.com)
15581
15582 * add following change from libc copy.
15583
15584 Wed Aug 19 18:54:49 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
15585
15586 * libc/libc.texinfo: make copyright disclaimers appear on back of
15587 title page; make format of same slightly less ugly; avoid using
15588 underbars in section headings (avoids nasty texinfo bug in table
15589 of contents).
15590
15591 * libc/ctype/tolower.c, libc/ctype/toupper.c: (doc changes in
15592 comments only) avoid using underbars in section headings
15593
15594 * libc/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
15595 isnan ieeefp/fpmask.c, ieeefp/fpround.c, ieeefp/fpsticky.c (doc
15596 changes in comments only): shorten headings ieeefp/infinity.c,
15597 ieeefp/isnan.c: (doc, comments only) more informative headings
15598
15599 * libc/math/bessel.c: (doc, comments only) shorten heading
15600
15601 * libc/stdlib/efgcvt.c, libc/stdlib/mbtowc.c, libc/stdlib/wctomb.c
15602 (doc, comments only) shorten headings
15603
15604 * libc/time/localtime.c (doc, comments only): shorten headings
15605
15606 * libm/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
15607 isnan
15608 libm/ieeefp/fpmask.c, libm/ieeefp/fpround.c,
15609 libm/ieeefp/fpsticky.c (doc changes in comments only): shorten
15610 headings
15611 libm/ieeefp/infinity.c, libm/ieeefp/isnan.c: (doc, comments
15612 only) more informative headings
15613 * libm/math/bessel.c: (doc, comments only) shorten heading
15614
15615 Wed Aug 19 07:06:37 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
15616
15617 * .../Makefile.in: use CROSS_ARUPDATE consistently.
15618 * config/*.mt: define CROSS_AR as well as CROSS_ARUPDATE
15619 * config/*.mt: define CROSS_CPP based on CROSS_CC, not /lib/cpp.
15620 * .../Makefile.in: get rid of .c.o rule - if TOP is correctly
15621 defined, the one from the .mt file will be correct.
15622 * libc/include/machine, libc/include/sys: created, and populated
15623 with common files from machine/*/machine. ifdefs were used for
15624 most, typically by handling exceptions first and then filling in
15625 defaults. Files with D.J. Delorie copyright #included rather than
15626 copied. Most files in include/sys really were the same in the
15627 original.
15628 * libc/include/...: cleaned up use of _EXFUN.
15629 * libc/stdlib/mprec.c: mprec.h doesn't get installed, so include
15630 it with double quotes, not angles.
15631
15632 Mon Aug 10 11:43:20 1992 Ian Lance Taylor (ian@dumbest.cygnus.com)
15633
15634 * libc/Makefile.in: always create installation directories.
15635
15636 Sun Aug 9 22:45:48 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
15637
15638 * libc/configure.in: handle host properly (using canonical
15639 triples), better error message for the case of target not found
15640
15641 Thu May 28 01:56:37 1992 Michael Tiemann (tiemann@rtl.cygnus.com)
15642
15643 * libc/Makefile.in (insincdir): Ensure this directory exists
15644 before attempting installation.
15645
15646 Fri May 1 18:16:42 1992 Steve Chamberlain (sac@thepub.cygnus.com)
15647
15648 * libc/stdlib/assert.c: now calls abort like it should
15649 * libc/sys/a29khif: many many patches for 29khif work
15650 * libc/machine/i386: gnulib2 expanded there.
15651
15652 Tue Apr 28 19:08:37 1992 Steve Chamberlain (sac@thepub.cygnus.com)
15653
15654 Added accurate fp conversion routines to stdlib, moved dcvt from
15655 stdio to stdlib and called it ecvtbuf:
15656 * libc/stdlib/mprec.c, mprec.h: new files for multiprec arithmetic
15657 * libc/stdlib/Makefile.in, efgcvt.c, strtod.c: modified to use new
15658 routines
15659 * libc/libc.texinfo: Modifed to include the copyright info from
15660 the mprec files
15661 * libc/stdlib/efgcvt.c: now xref to ecvtbuf in stdlib.
15662 * libc/test/ : many vector which tested for the implementation
15663 defined returns of strange conversion requests have been updated
15664 to relflect the new implementation
15665
15666 Mon Apr 27 13:41:33 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
15667
15668 * libc/libc.texinfo: new chapter on variable arg lists
15669 (stdarg.h/varargs.h)
15670 * libc/libc.texinfo: new title
15671 * libc/time/gmtime.c, libc/time/localtime./c, libc/time/mktime.c:
15672 (doc only) shorter headings for better formatting.
15673
15674 Fri Apr 24 11:26:48 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
15675
15676 * libc/libc.texinfo: three more info menu entries
15677 * libc/locale/locale.tex: new chapter
15678 * libc/locale/locale.c: new doc for setlocale, localeconv
15679 * libc/locale/Makefile.in: use new locale doc
15680 * libc/signal/signal.tex: new chapter
15681 * libc/signal/raise.c, libc/signal/signal.c: new doc
15682 * libc/signal/Makefile.in: use new doc
15683 * libc/time/time.tex: new chapter
15684 * libc/time/asctime.c libc/time/clock.c libc/time/ctime.c
15685 libc/time/difftime.c libc/time/gmtime.c libc/time/localtime.c
15686 libc/time/mktime.c libc/time/strftime.c libc/time/time.c: new doc
15687 * libc/time/Makefile.in: use new doc
15688
15689 Tue Apr 21 14:48:50 1992 Steve Chamberlain (sac@thepub.cygnus.com)
15690
15691 * libm/math/log1p.c: split to use the new function way of float
15692 function definition. math/log1p.h deleted
15693 * libm/math/scalb.c: obsolete and deleted
15694 * libm/math/scalbn.c: created from part log1p.c
15695 * libm/math/Makefile.in: know about log1p and scalbn
15696
15697 Tue Apr 21 12:32:21 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
15698
15699 * libc/ctype/isupper.c: revise doc;
15700 libc/ctype/ctype.tex: use doc from isupper.c
15701
15702 * libc/string/bzero.c: new doc
15703
15704 Mon Apr 20 14:19:42 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
15705
15706 * libc/stdlib/system.c, libc/stdlib/exit.c, libc/stdlib/abort.c:
15707 new doc
15708 * libc/stdlib/Makefile.in: extract new doc
15709 * libc/stdlib/stdlib.tex: use new doc
15710
15711 * libc/string/strerror.c: expanded doc.
15712
15713 * libc/stdio/Makefile.in: extract doc from more files
15714 * libc/stdio/fopen.c, libc/stdio/perror.c, libc/stdio/remove.c,
15715 libc/stdio/rename.c, libc/stdio/rewind.c, libc/stdio/setbuf.c,
15716 libc/stdio/setvbuf.c, libc/stdio/sprintf.c, libc/stdio/tmpfile.c,
15717 libc/stdio/tmpnam.c, libc/stdio/vfprintf.c, libc/stdio/vprintf.c,
15718 libc/stdio/vsprintf.c: new doc
15719 * libc/stdio/stdio.tex: use new doc
15720
15721 Mon Apr 20 09:38:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
15722
15723 * libc/config/ebmon29k: added CROSS_CPP rule and other fixes
15724 * libc/include/ieeefp.h: fixed ansi conflict with isnanf, isinff,
15725 finitef functions.
15726 * libc/sys/a29khif/sys/*.h: ansidecl.h was renamed to _ansi.h some
15727 time ago.
15728
15729 * libc/stdio/stdio.h: added P_tmpdir for /tmp (SVID thing)
15730 * libc/stdio/setbuf.c: added ansi style definition.
15731 * libc/stdio/setvbuf.c: added ansi definition, now mallocs own
15732 buffer if none provided.
15733 * libc/stdio/tmpfile.c: lint
15734 * libc/stdio/tmpnam.c (worker): created. (tmpnam): mallocs buffer
15735 rather than using static, also make sure file isn't already
15736 present. Uses P_tmpdir. (tempnam): rewritten to use new
15737 subroutine, and uses P_tmpdir.
15738 * libc/stdio/siprintf.c: created
15739
15740 Mon Apr 13 09:12:58 1992 Steve Chamberlain (sac@thepub.cygnus.com)
15741
15742 Release 1.03 for NEC, major mods. Main differences from release
15743 1.02::
15744
15745 More tests in test/:
15746 * jn_vec.c, jnf_vec.c, yn_vec.c, ynf_vec.c, log2_vec.c,
15747 log2f_vec.c, atan2_vec.c, atan2f_vec.c: new test vectors.
15748 * test_ieee.c: tests for ieee flags & masks - get/set rounding,
15749 get/set mask, get/set sticky and get/set roundtoi. Tests
15750 that setting the bits changes the way arithmetic is done.
15751 * string.c: added test to make sure memcmp does it with unsigned
15752 chars.
15753 * test.c: cleaned up and removed lint.
15754 * sprint_vec, sprint_ivec.c, convert.c, conv_vec.c, iconf_vec.c,
15755 dvec.c: tests for string to value conversions, sprintf, scanf,
15756 atof, atoff, strtod, strtodf, atoi, atol, strtol, ecvtbuf, ecvt,
15757 ecvtf, fcvtbuf, fcvt, fcvtf, gcvt, gcvtf. Some attention paid to
15758 rounding in sprintf too.
15759 * test_is.c: tests for isalnum, isalpha, isascii, iscntrl,
15760 isdigit, isgraph, islower, isprint, ispunct, isspace, isupper,
15761 isxdigit, toascii, tolower, toupper, _tolower, _toupper in macro
15762 and function form.
15763 * math2.c: test for frexp, frexpf, ldexp, ldexpf, modf modff, pow,
15764 powf
15765
15766 In the library:
15767 * libc/stdlib/div.c, libc/stdlib/ldiv.c, libc/stdlib/strtod.c,
15768 libc/stdlib/strtol.c, libc/stdlib/stroul.c, libc/stdlib/abs.c,
15769 libc/stdlib/bsearch.c, libc/stdlib/calloc.c, libc/stdlib/getenv.c,
15770 libc/stdlib/labs.c, libc/stdlib/malloc.c: new documentation
15771 * libc/stdlib/efgcvt.c: rewritten to use new _dcvt routines rather
15772 than sprintf.
15773 * libc/stdio/dcvt.c: rewritten to make more useful elsewhere.
15774 * Method of producting float versions of double functions has
15775 changed, functions will be modified gradually. So far:
15776 libm/math/exp.c, libm/math/pow.c, libm/math/modf.c,
15777 libm/math/sincos.c, libm/math/fmod.c, libm/math/tan.c have been
15778 altered
15779 * libc/string/memcmp.c: now uses unsigned chars
15780 * libc/string/bcmp.c, libc/string/strcpy.c,
15781 libc/stsring/strxfrm.c: fixed doc
15782 * libc/sys/sysvnecv70.tex: fix example of sbrk code
15783 \f
15784 Local Variables:
15785 version-control: never
15786 End:
This page took 0.76221 seconds and 5 git commands to generate.