]> sourceware.org Git - newlib-cygwin.git/blame - newlib/ChangeLog
2005-05-12 Jeff Johnston <jjohnstn@redhat.com>
[newlib-cygwin.git] / newlib / ChangeLog
CommitLineData
b6e654c4
JJ
12005-05-12 Jeff Johnston <jjohnstn@redhat.com>
2
3 * libc/sys/linux/getpwuid.c: Removed.
4 * libc/sys/linux/getpwnam.c: Removed.
5 * libc/sys/linux/getpwent.c: New file containing logic
6 from files removed above. This allows overriding of file
7 in libc/unix.
8 * libc/sys/linux/Makefile.am: Support changes above.
9 * libc/sys/linux/Makefile.in: Regenerated.
10
5456408b
JJ
112005-04-28 Jeff Johnston <jjohnstn@redhat.com>
12
13 * libc/stdio/vfscanf.c (__svfscanf_r): Fix code thinko
14 when checking for multiple flags.
15
1c74754f
HPN
162005-04-18 Hans-Peter Nilsson <hp@axis.com>
17
18 * configure.host <cris-*-* | crisv32-*-*>: Set
19 default_newlib_io_long_long="yes".
20
6e75bff6
JJ
212005-04-08 Jeff Johnston <jjohnstn@redhat.com>
22
23 * libc/include/libgen.h: New file.
24
252005-04-08 Shaun Jackman <sjackman@gmail.com>
26
27 * libc/unix/Makefile.am: Add support for basename and dirname.
28 * libc/unix/Makefile.in: Regenerated.
29 * libc/unix/basename.c: New file.
30 * libc/unix/dirname.c: New file.
31
95c136c4
JJ
322005-04-07 Shaun Jackman <sjackman@gmail.com>
33
34 * libc/sys/linux/inode.c (lchown): New function.
35
9ae26f7e
JJ
362005-04-07 Shaun Jackman <sjackman@gmail.com>
37
38 * libc/unix/Makefile.am (LIB_OBJS): Include all the ELIX objects if no
39 ELIX level is defined.
40 * libc/unix/Makefile.in: Regenerated.
41
85da7039
JJ
422005-04-05 Dave Korn <dave.korn@artimi.com>
43
44 * libc/stdio/vfscanf.c (__svfscanf_r): If an error occurs processing
45 something that looks like a "NaN", put back the characters processed.
46
fefc73a0
CV
472005-04-01 Corinna Vinschen <corinna@vinschen.de>
48
49 * libc/stdlib/strtod.c (_strtod_r): Never change s00.
50
e633fde1
CF
512005-03-23 Christopher Faylor <cgf@timesys.com>
52
53 * configure.host: For cygwin, redefine CC with cygwin include directory
54 first to mimic the behavior of the top-level configury. Move include
55 directory out of newlib_cflags.
56
859c94e8
JJ
572005-03-22 Jeff Johnston <jjohnstn@redhat.com>
58
59 * configure.host: For arc, set -DREENTRANT_SYSCALLS_PROVIDED flag on.
60 * libc/sys/arc/syscalls.c: Change functions to use __errno_r rather
61 than errno.
62
7e3fd32b
CF
632005-03-22 Christopher Faylor <cgf@timesys.com>
64
65 * libc/include/machine/_types.h: Make trivial change to comment to
66 avoid a spurious warning from gcc.
67
d4eb8920
JJ
682005-03-21 Nicholas Wourms <nwourms@netscape.net>
69
70 * libc/stdio/vfprintf.c: Move newlib.h before _WANT_IO_POS_ARGS test,
71 since _WANT_IO_POS_ARGS is now defined in there. Remove duplicate
72 reent.h include.
73
45030958
JJ
742005-03-18 Hans-Peter Nilsson <hp@axis.com>
75 Corinna Vinschen <corinna@vinschen.de>
76
77 * libc/include/ctype.h: Remove invalid +1 offset from
78 ctype macro references to __ctype_ptr.
79 (_ctype_): Move declaration outside #ifndef __cplusplus.
80
5c9b5ac7
CV
812005-03-18 Corinna Vinschen <corinna@vinschen.de>
82
83 * libc/include/machine/setjmp.h (sigsetjmp): Use GCC extension to
84 evaluate first parameter only once.
85 (siglongjmp): Ditto.
86
dd801fda
JJ
872005-03-17 Jeff Johnston <jjohnstn@redhat.com>
88
89 * configure.in: Add new check to see if compiler supports
90 aliasing of arrays and define _HAVE_ARRAY_ALIASING if true.
91 * configure: Regenerated.
92 * Makefile.in: Ditto.
93 * newlib.hin: Add _HAVE_ARRAY_ALIASING.
94 * libc/ctype/ctype_.c: Check for _HAVE_ARRAY_ALIASING before
95 aliasing the _ctype_ array to _ctype_b.
96 * libc/include/ctype.h: Change macros to use __ctype_ptr. Mark
97 _ctype_ as deprecated.
98
333eabc6
HPN
992005-03-17 Hans-Peter Nilsson <hp@axis.com>
100
101 * configure.host (newlib_cflags) <cris-*-*, crisv32-*-*>: Add
102 -DCOMPACT_CTYPE.
103
df5a5b35
JJ
1042005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
105
106 * libc/sys/rtems/include/inttypes.h: New file.
107 * libc/sys/rtems/include/stdint.h: Ditto.
108
9d385fb0
JJ
1092005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
110
111 * libc/string/memcmp.c: Fix to avoid pointer signedness warning.
112
2e7d9bf9
JJ
1132005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
114
115 * libc/include/machine/_types.h: New file.
116 * libc/include/sys/types.h: Do not check for __rtems__
117 when including <machine/_types.h>. Remove some redundant
118 declarations now that <machine/_types.h> is included.
119 * libc/sys/rtems/machine/_types.h: Removed. Replaced with
120 shared header file.
121
92a7e06e
JJ
1222005-02-25 Ralf Corsepious <ralf.corsepius@rtems.org>
123
124 * libm/common/fdlibm.h (FLT_UWORD_MAX, FLT_UWORD_HALF_MAX): Add
125 L qualifier for these long constants.
126
1139537a
JJ
1272005-02-25 Eric Blake <ebb9@byu.net>
128
129 * libc/include/time.h (__tzrule_struct): Make offset long, since
130 a 16-bit int overflows on a 12-hour offset.
131 * libc/sys/linux/include/time.h: Ditto.
132 * libc/time/mktime.c (mktime): Use new type of __tzrule.offset.
133 * libc/time/mktm_r.c: Ditto.
134 * libc/time/gettzinfo.c: Ditto.
135 * libc/time/strftime.c (strftime): Fix '%x' to deal with negative
136 years. Fix '%z' to use long, not int.
137
f4fd7b4c
JJ
1382005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
139
140 * libm/common/s_fpclassify.c: Use __uint32_t instead of int to
141 manipulate float values in integer form.
142 * libm/common/sf_round.c: Ditto.
143
f2f8a9a2
JJ
1442005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
145
146 * libc/include/sys/types.h [__rtems__]: Include new
147 header file machine/_types.h.
148 * libc/include/machine/types.h: Ditto.
149 * libc/sys/rtems/machine/_types.h: New file.
150
39fd43d7
CV
1512005-02-23 Corinna Vinschen <corinna@vinschen.de>
152
153 * libc/include/time.h (_timezone): Change to long also for Cygwin.
154 (timezone): Drop cast from definition.
155
6b9a74f9
JJ
1562005-02-23 Jeff Johnston <jjohnstn@redhat.com>
157
158 * libc/include/time.h [!CYGWIN](_timezone): Change to long.
159 (__tzrule_type, __tzinfo_type): New types.
160 (__gettzinfo): New function.
161 * libc/sys/linux/include/time.h: Ditto.
162 * libc/time/Makefile.am: Add gettzinfo.c.
163 * libc/time/Makefile.in: Regenerated.
164 * libc/time/local.h: Moved __tzrule_type to time.h.
165 * libc/time/mktime.c: Call __gettzinfo to reference
166 __tznorth, __tzyear, and __tzrule array.
167 * libc/time/mktm_r.c: Ditto.
168 * libc/time/strftime.c: Ditto.
169 * libc/time/tzset_r.c: Ditto. Also remove definition
170 of __tzrule which is now in gettzinfo.c. Change _timezone
171 references to not cast to time_t.
172 * libc/time/gettzinfo.c: New file.
173
6015cf9f
CV
1742005-02-23 Corinna Vinschen <corinna@vinschen.de>
175
176 * libc/include/sys/unistd.h: Define getpeereid for Cygwin.
177
5e4c05da
CV
1782005-02-22 Corinna Vinschen <corinna@vinschen.de>
179
180 * libc/include/sys/unistd.h: Define fdatasync also for Cygwin.
181
f1d439fc
JJ
1822005-02-16 Eric Blake <ebb9@byu.net>
183
184 * libc/time/time.tex: Improve the documentation.
185 * libc/time/strftime.c: Improve the documentation.
186 (iso_year_adjust): New helper function.
187 (strftime): Simplify '%E' and '%O'. Change '%c' to use
188 recursion. Fix '%C', '%y', and '%Y' to deal with years with more
189 than 4 characters. Combine '%d' and '%e'. Implement '%D', '%F',
190 '%g', '%G', '%n', '%R', '%t', '%T', '%u', '%V', '%X', and '%z'.
191 Avoid core dumps on valid inputs (maxsize == 0, or
192 tim_p->tm_isdst > 1).
193
18d3a03b
CV
1942005-02-08 Corinna Vinschen <corinna@vinschen.de>
195
196 * libc/include/pwd.h (struct passwd): Change pw_uid and pw_gid
197 members to uid_t and gid_t according to SUSv3.
198 * libc/include/sys/time.h (utimes): Change second parameter
199 to const according to SUSv3.
200
1159e0fd
JJ
2012005-02-07 Antony King <antony.king@st.com>
202
203 * libc/stdio/clearerr.c (clearerr): Ensure CHECK_INIT() is
204 called before _flockfile to prevent lock object use before
205 initialisation. _REENT_SMALL_CHECK_INIT() and CHECK_INIT()
206 take a struct _reent * instead of a FILE *.
207 * libc/stdio/fclose.c (_fclose_r): Ditto.
208 * libc/stdio/feof.c (feof): Ditto.
209 * libc/stdio/ferror.c (ferror): Ditto.
210 * libc/stdio/fflush.c (fflush): Ditto.
211 * libc/stdio/fgetc.c (fgetc): Ditto.
212 * libc/stdio/fgets.c (fgets): Ditto.
213 * libc/stdio/fileno.c (fileno): Ditto.
214 * libc/stdio/fputc.c (fputc): Ditto.
215 * libc/stdio/fputs.c (fputs): Ditto.
216 * libc/stdio/fread.c (fread): Ditto.
217 * libc/stdio/freopen.c (_freopen_r): Ditto.
218 * libc/stdio/fseek.c (_fseek_r): Ditto.
219 * libc/stdio/ftell.c (_ftell_r): Ditto.
220 * libc/stdio/fwrite.c (fwrite): Ditto.
221 * libc/stdio/getc.c (getc): Ditto.
222 * libc/stdio/getdelim.c (__getdelim): Ditto.
223 * libc/stdio/putc.c (putc): Ditto.
224 * libc/stdio/setvbuf.c (setvbuf): Ditto.
225 * libc/stdio/ungetc.c (_ungetc_r): Ditto.
226 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
227 * libc/stdio64/freopen64.c (_freopen64_r): Ditto.
228 * libc/stdio64/fseeko64.c (_fseeko64_r): Ditto.
229 * libc/stdio64/ftello64.c (_ftello64_r): Ditto.
230 * libc/stdio/local.h (CHECK_INIT): Argument is now a struct
231 _reent * instead of a FILE * and so replace incorrect use of
232 _REENT with argument.
233 * libc/sys/arm/syscalls.c (CHECK_INIT): Ditto.
234 * libc/stdio/getchar.c (getchar): _REENT_SMALL_CHECK_INIT() and
235 CHECK_INIT() take a struct _reent * instead of a FILE *.
236 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Ditto.
237 * libc/stdio/iscanf.c (iscanf, _iscanf_r): Ditto.
238 * libc/stdio/perror.c (perror): Ditto.
239 * libc/stdio/printf.c (printf, _printf_r): Ditto.
240 * libc/stdio/putchar.c (putchar): Ditto.
241 * libc/stdio/puts.c (puts): Ditto.
242 * libc/stdio/refill.c (__srefill): Ditto.
243 * libc/stdio/scanf.c (scanf, _scanf_r): Ditto.
244 * libc/stdio/vfscanf.c (VFSCANF, _VFSCANF_R): Ditto.
245 * libc/stdio/viprintf.c (viprintf, _viprintf_r): Ditto.
246 * libc/stdio/viscanf.c (viscanf, _viscanf_r): Ditto.
247 * libc/stdio/vprintf.c (vprintf, _vprintf_r): Ditto.
248 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Ditto.
249 * libc/stdio/wbuf.c (__swbuf): Ditto.
250 * libc/stdio/wsetup.c (__swsetup): Ditto.
251 * libc/stdlib/mallocr.c (malloc_stats): Ditto.
252 * libc/stdlib/mstats.c (_mstats_r): Ditto.
253 * libc/include/sys/reent.h (_REENT_SMALL_CHECK_INIT): Ditto.
254 * libc/machine/powerpc/vfscanf.c (vfscanf): Ditto.
255 * libc/stdio/fgetpos.c (_fgetpos_r): Removed unnecessary calls
256 to _flockfile and _funlockfile; rely on locking in _ftell_r.
257 * libc/stdio64/fgetpos64.c (_fgetpos64_r): Ditto (_ftello64_r).
258 * libc/machine/powerpc/vfprintf.c (__sbprintf): Removed unnecessary
259 initialision of _data field in FILE structure.
260 * libc/machine/powerpc/vfprintf.c (VFPRINTF): Added CHECK_INIT() call.
261
3d915670
JJ
2622005-02-07 Jeff Johnston <jjohnstn@redhat.com>
263
264 * libc/stdio/findfp.c (__sinit): Protect with new lock.
265 (__sinit_lock): New lock.
266 (__sinit_lock_acquire, __sinit_lock_release): New functions.
267 * libc/stdio/local.h: Add reference to new __sinit locking
268 functions.
269
b59cab1e
JJ
2702005-02-07 Jeff Johnston <jjohnstn@redhat.com>
271
272 * libc/include/math.h (isfinite, isnormal, isunordered): Change
273 input variable names to avoid mixups with nesting macros.
274
1815fdea
JJ
2752005-01-27 Hans-Peter Nilsson <hp@axis.com>
276
277 * configure.host: Add support for cris-*-* and crisv32-*-*.
278 * libc/include/machine/ieeefp.h: Ditto.
279 * libc/include/machine/setjmp.h: Ditto.
280 * libc/machine/cris/configure.in, libc/machine/cris/Makefile.am,
281 libc/machine/cris/libcdtor.c, libc/machine/cris/setjmp.c,
282 libc/machine/cris/memmove.c, libc/machine/cris/memcpy.c,
283 libc/machine/cris/memset.c, libc/machine/cris/include/pthread.h,
284 libc/machine/cris/sys/signal.h, libc/machine/cris/sys/fcntl.h,
285 libc/machine/cris/sys/errno.h, libc/machine/cris/aclocal.m4,
286 libc/machine/cris/configure, libc/machine/cris/Makefile.in: New
287 files.
288
f7d4d41a
JJ
2892005-01-27 Hans-Peter Nilsson <hp@axis.com>
290
291 * testsuite/newlib.string/memmove1.c: New test.
292
1319dec6
JJ
2932005-01-27 Hans-Peter Nilsson <hp@axis.com>
294
295 * testsuite/include/check.h: Include stdlib.h.
296
b45e65b0
JJ
2972005-01-27 Hans-Peter Nilsson <hp@axis.com>
298
299 * Makefile.am (stmp-targ-include): Support include header files
300 from machine directories.
e9743354 301 (install-data-local): Ditto.
b45e65b0
JJ
302 * Makefile.in: Regenerate.
303
dbfa92dd
JJ
3042005-01-24 Jeff Johnston <jjohnstn@redhat.com>
305
306 * libc/include/string.h: Remove Linux-specific declaration of
307 strsignal and add #include <sys/string.h>.
308 * libc/include/sys/string.h: New file.
309 * libc/include/sys/linux/sys/string.h: New file with strsignal
310 declaration deleted above.
311
6cb0c055
JJ
3122005-01-20 Jeff Johnston <jjohnstn@redhat.com>
313
314 * libc/time/strftime.c (strftime): Change %r and %x to be compliant
315 to POSIX standard for "C" locale. Allow %E and %O modifiers
316 to be ignored as long as they precede valid specifiers according
317 to POSIX.
318
52429807
JJ
3192005-01-19 Shaun Jackman <sjackman@gmail.com>
320
321 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
322 environment variable is set.
323
f693170a
JJ
3242005-01-19 Shaun Jackman <sjackman@gmail.com>
325
326 * tzset_r.c (_tzname): Add a comma.
327
464d01bf
AH
3282005-01-18 Aldy Hernandez <aldyh@redhat.com>
329
330 * libc/machine/powerpc/vfprintf.c: Use _REENT when calling
331 _VFPRINTF_R.
332
f7a74742
JJ
3332005-01-07 Paul Brook <paul@codesourcery.com>
334
335 * configure.in: Add test for .init_array.
336 * configure: Regenerate.
337 * newlib.hin: Add HAVE_INITFINI_ARRAY.
338 * libc/misc/Makefile.am: Add init.c
339 * libc/misc/Makefile.in: Regenerate.
340 * libc/misc/init.c: New file.
341 * libc/sys/arm/crt0.S: Call __libc_{init,fini}_array instead of
342 _init/_fini if they exist.
343
8fa6cb9a
JJ
3442005-01-06 Jeff Johnston <jjohnstn@redhat.com>
345
346 * libc/stdlib/strtod.c (_strtod_r): Add NaN support.
347 * (strtof): Ditto.
348 * libc/stdio/vfscanf.c (__svfscanf_r): Ditto.
349 * Makefile.am (MATHOBJS_IN_LIBC): Add s_nan and sf_nan
350 functions for use by strtod and strtof.
351 * Makefile.in: Regenerated.
352
034a3909
JJ
3532005-01-06 Hans-Peter Nilsson <hp@axis.com>
354
355 * libc/stdio/ftell.c (ftell_r): Add parenthesis for __SWR
356 bit-test in combination with NULL test.
357
9918ea2d
JJ
3582005-01-06 Hans-Peter Nilsson <hp@axis.com>
359
360 * README: Fix typo of LGPL. Change "license" to "copyright".
361
5cc3f592
JJ
3622004-12-17 Jeff Johnston <jjohnstn@redhat.com>
363
364 * NEWS: Update with 1.13.0 info.
365 * README: Ditto.
366 * acinclude.m4: Change version number to 1.13.0.
367 * aclocal.m4: Regenerated.
368 * configure: Ditto.
369 * doc/aclocal.m4: Ditto.
370 * doc/configure: Ditto.
371 * libc/*/aclocal.m4: Ditto.
372 * libc/*/configure: Ditto.
373 * libc/libc.texinfo: Ditto.
374 * libm/*/aclocal.m4: Ditto.
375 * libm/*/configure: Ditto.
376 * libm/libm.texinfo: Ditto.
377 * libc/sys/linux/shared.ld: Add VERS_1.13.
378
d8ae996c
JJ
3792004-12-17 Christian Groessler <chris@groessler.org>
380
381 * libc/machine/z8k/memcmp.S: New file.
382 * libc/machine/z8k/memcpy.S: Ditto.
383 * libc/machine/z8k/memmove.S: Ditto.
384 * libc/machine/z8k/memset.S: Ditto.
385 * libc/machine/z8k/Makefile.am: Add new files.
386 * libc/machine/z8k/Makefile.in: Regenerated.
387 * libc/machine/z8k/setjmp.S: Fix indirect register usage in Z8002
388 part. Implement Z8002 stdcall version.
389
82673116
JJ
3902004-12-13 Jeff Johnston <jjohnstn@redhat.com>
391
392 * libc/stdio/fread.c (fread): For unbuffered I/O, attempt
393 a low-level read if we don't get the full amount of bytes so
394 EOF or error flags will be set.
395
0082d4cf
JJ
3962004-12-09 Alex Mogilnikov <alx@intellectronika.ru>
397
398 * libc/time/tzset_r (_tzset_r): Properly skip over
399 '/' when it is detected.
400
3b54b74f
JJ
4012004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
402
403 * libc/time/tzset_r (_tzset_r): Fix loop.
404
4b30e154
JJ
4052004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
406
407 * libc/time/mktm_r (_mktm_r): Fix overflow calculation for
408 m_day.
409 (__tzcalc_limits): Fix reference to month array to be zero-based.
410
465eab2e
JJ
4112004-12-07 Jeff Johnston <jjohnstn@redhat.com>
412
413 * libc/sys/linux/sys/unistd.h: Add prototypes for ftruncate, truncate,
414 and usleep.
415
a2b1a849
JJ
4162004-12-03 Jeff Johnston <jjohnstn@redhat.com>
417
418 * Makefile.am (libc_la_LDFLAGS): Add -lgcc to handle any
419 libgcc dependencies.
420 (libm_la_LDFLAGS): Ditto.
421 * Makefile.in: Regenerated.
422
c80a1731
JJ
4232004-12-03 Shaun Jackman <sjackman@gmail.com>
424
425 * libc/sys/linux/linuxthreads/Makefile.am (install-data-local): Fix
426 our link to use readlink so as to preserve any relative link created
427 by install-toollibLIBRARIES.
428 * libc/sys/linux/linuxthreads/Makefile.in: Regenerated.
429
70e9da42
JJ
4302004-12-02 Shaun Jackman <sjackman@gmail.com>
431
432 * libc/sys/linux/stdlib/glob.c: Include <sys/types.h> which defines
433 time_t before including sys/stat.h, which uses it.
434 * libc/sys/linux/sys/stat.h: Include <sys/types.h> and
435 <linux/time.h> just prior to definition of __KERNEL__ so as to
436 allow building on Debian Linux where otherwise, mktime would
437 be redefined.
438
a330d85a
JJ
4392004-11-26 Paul Brook <paul@codesourcery.com>
440
441 * libc/sys/arm/crt0.S (_start): Add .cantunwind annotation.
442
c41a1cb7
JJ
4432004-11-24 Jeff Johnston <jjohnstn@redhat.com>
444
445 * libc/include/stdlib.h (putenv, _putenv_r): Change to remove
9aa189be 446 const for value string parameter to match Single Unix and glibc.
c41a1cb7
JJ
447 * libc/stdlib/putenv.c: Ditto.
448 * libc/stdlib/putenv_r.c: Ditto.
449
16ac96ee
JJ
4502004-11-24 Jeff Johnston <jjohnstn@redhat.com>
451
452 * libc/stdio/Makefile.am: Fix missing vfscanf.
453 * libc/stdio/Makefile.in: Regenerated.
454
3bf09147
JJ
4552004-11-23 Jeff Johnston <jjohnstn@redhat.com>
456
457 * libc/include/stdio.h: Add new iprintf and iscanf variants. Also
458 do some reordering.
459 * libc/machine/powerpc/vfscanf.c: Remove __sccl function.
460 * libc/stdio/Makefile.am: Add support for new iprintf and iscanf
461 family functions.
462 * libc/stdio/Makefile.in: Regenerated.
463 * libc/stdio/fiprintf.c: Remove doc to siprintf.c.
464 * libc/stdio/iprintf.c: Ditto.
465 * libc/stdio/local.h (__svfiscanf_r): New prototype.
466 * libc/stdio/siprintf.c: Add docs for various iprintf family functions.
467 * libc/stdio/sniprintf.c: Move docs to siprintf.c.
468 * libc/stdio/stdio.tex: Add new functions.
469 * libc/stdio/vfscanf.c: Split out __sccl function to separate
470 file and add special name defines so this file can be used
471 to build vfiscanf.o.
472 * libc/stdio/asiprintf.c: New file.
473 * libc/stdio/fiscanf.c: Ditto.
474 * libc/stdio/iscanf.c: Ditto.
475 * libc/stdio/sccl.c: Ditto.
476 * libc/stdio/siscanf.c: Ditto.
477 * libc/stdio/vasiprintf.c: Ditto.
478 * libc/stdio/viprintf.c: Ditto.
479 * libc/stdio/viscanf.c: Ditto.
480 * libc/stdio/vsiprintf.c: Ditto.
481 * libc/stdio/vsiscanf.c: Ditto.
482 * libc/stdio/vsniprintf.c: Ditto.
483
0f0fcb04
JJ
4842004-11-19 Shaun Jackman <sjackman@gmail.com>
485
486 * libc/include/stdio.h: Add sniprintf.
487 * libc/stdio/Makefile.am: Add sniprintf.c.
488 * libc/stdio/Makefile.in: Regenerated.
489 * libc/stdio/sniprintf.c: New file.
490 * libc/stdio/stdio.tex: Add sniprintf.
491
1f8f7e2d
CF
4922004-11-17 Christopher Faylor <cgf@timesys.com>
493
494 * libc/stdio/refill.c (__srefill): Try again after EOF on Cygwin. Clear
495 EOF flag if successful.
496
b08d08c7
CF
4972004-10-28 Christopher Faylor <cgf@timesys.com>
498
499 * libc/include/sys/signal.h: Move <signal.h> include to bottom of file
334ba104 500 so that all relevant definitions have been performed for use in the
b08d08c7
CF
501 include.
502
65b1964f
JJ
5032004-10-26 Jason Tishler <jason@tishler.net>
504
505 * libc/stdio/fread.c (fread): Fix return value for unbuffered
506 fread.
507
6382b7e3 5082004-10-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
06b5ef6e
JJ
509
510 * libc/include/machine/setjmp.h: Add AVR support.
511 * libc/sys/rtems/crt0.S [__AVR__]: Add __stack.
512
73131c2d
JJ
5132004-10-08 Jeff Johnston <jjohnstn@redhat.com>
514
515 * libc/include/sys/signal.h: If <signal.h> didn't include
516 this header file, include <signal.h> to account for
517 applications that take advantage that the two header
518 files are the same in glibc.
519
1185687a
JJ
5202004-10-05 Tomer Levi <Tomer.Levi@nsc.com>
521
522 * configure.host: Add support for crx.
523 * libc/include/machine/ieeefp.h: Ditto.
524 * libc/include/machine/setjmp.h: Ditto.
525 * libc/machine/crx/Makefile.am: New file.
526 * libc/machine/crx/configure.in: Ditto.
527 * libc/machine/crx/setjmp.S: Ditto.
528 * libc/machine/crx/getenv.c: Ditto.
529 * libc/machine/crx/aclocal.m4: Generate.
530 * libc/machine/crx/configure: Ditto.
531 * libc/machine/crx/Makefile.in: Ditto.
532 * libc/machine/crx/sys/asm.h: New file.
533 * libc/machine/crx/sys/libh.h: Ditto.
534 * libc/machine/crx/sys/syscall.h: Ditto.
535
423152ed
JJ
5362004-10-05 Jeff Johnston <jjohnstn@redhat.com>
537
538 * Makefile.am (stmp-targ-include): Support sys header files
539 from machine directories.
540 * Makefile.in: Regenerated.
541
3ea9de76
JJ
5422004-10-04 Jeff Johnston <jjohnstn@redhat.com>
543
544 * libc/stdio/vfscanf.c (__svfscanf_r): For int conversions,
545 count skipped zero characters as part of the nread count for %n.
546 * libc/machine/powerpc/vfscanf.c: Ditto.
547
2a6e1223
JJ
5482004-09-24 Jeff Johnston <jjohnstn@redhat.com>
549
550 * libc/stdio/local.h: Include <stdlib.h>.
551
d163f2fc
CV
5522004-09-24 Corinna Vinschen <corinna@vinschen.de>
553
554 * libc/stdio/fread.c (fread): Include <malloc.h>.
555
602de582
JJ
5562004-09-22 Jeff Johnston <jjohnstn@redhat.com>
557
558 * libc/stdio/fread.c (fread): For non-space-optimized case,
559 add special code for unbuffered files to use user buffer and
560 only require one low-level system read.
561
32e73f4d
ILT
5622004-09-21 Ian Lance Taylor <ian@wasabisystems.com>
563
564 * libc/machine/xscale/setjmp.S: New file, copied from
565 libc/machine/arm/setjmp.S.
566 * libc/machine/xscale/Makefile.am (lib_a_SOURCES): Add setjmp.S.
567 * libc/machine/xscale/Makefile.in: Regenerate.
568
ed6859b8
JJ
5692004-09-16 Antony King <antony.king@st.com>
570
571 * libc/include/sys/lock.h: Replaced empty {} with (0) to conform
572 with locking API.
573 * libc/include/sys/stdio.h: (_flockfile)[!_SINGLE_THREAD]: Add
574 check for__SSTR in _flags and if set, skip lock request.
575 (_funlockfile)[!SINGLE_THREAD]: Ditto.
576 * libc/stdio/local.h (CHECK_INIT): Added check that _REENT is
577 not NULL.
578 * libc/stdio/siprintf.c (siprintf, _siprintf_r): Added missing
579 initialisation of _file to -1 in local FILE.
580 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Ditto.
581 * libc/stdio/sscanf.c (sscanf, _sscanf_r): Ditto.
582 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
583 * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
584 * libc/stdio/sscanf.c (sscanf, _sscanf_r): Added __SSTR flag to
585 _flags in local FILE to prevent locking.
586 * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
587
7a0f6966
JJ
5882004-09-16 Antony King <antony.king@st.com>
589
590 * libc/stdio/fwalk.c (_fwalk): Remove check for _GLOBAL_REENT
591 and only walk the reentrancy parameter.
592 (_fwalk_reent): Ditto.
593 * libc/stdlib/exit.c: Remove out of date _REENT_ONLY check.
594
c77672c0
JJ
5952004-09-16 Antony King <antony.king@st.com>
596
597 * libc/stdio64/freopen64.c: Remove casting of fp lock to
598 _LOCK_RECURSIVE_T.
599
5c44c2e5
JJ
6002004-09-16 Antony King <antony.king@st.com>
601
602 * libc/time/tzlock.c: Add default stubs that use generic
603 locking code.
604
14613e5e
JJ
6052004-09-16 Antony King <antony.king@st.com>
606
607 * libc/ctype/ctype.tex: Added missing documentation.
608 * libc/stdio/stdio.tex Ditto.
609 * libc/stdlib/stdlib.tex Ditto.
610 * libc/string/strings.tex Ditto.
611 * libc/time/time.tex: Ditto.
612 * libc/stdio/setbuffer.c: Removed setlinebuf documentation.
613
181cb051
JJ
6142004-09-15 Corinna Vinschen <vinschen@redhat.com>
615
616 * libc/reent/impure.c (reent_data): Define as alias to impure_data
617 when building for Cygwin.
618 * libc/include/sys/reent.h (_GLOBAL_REENT): Revert definition to
619 _global_impure_ptr.
620
51d4a7ea
JJ
6212004-09-15 Jeff Johnston <jjohnstn@redhat.com>
622
623 * configure.host: Reverting 2004-09-14 change as fix has occurred on
624 Cygwin side.
625 * configure.in: Ditto.
626 * libc/configure.in: Ditto.
627 * libc/sys/configure.in: Ditto.
628 * configure: Ditto.
629 * libc/configure: Ditto.
630 * libc/sys/configure: Ditto.
631 * libc/include/sys/reent.h: Ditto.
632 * libc/stdlib/__atexit.c: Ditto.
633 * libc/stdlib/__call_atexit.c: Ditto.
634 * libc/stdlib/cxa_atexit.c: Ditto.
635 * libc/stdlib/cxa_finalize.c: Ditto.
636 * libc/sys/cygwin/Makefile.am: Removed again.
637 * libc/sys/cygwin/Makefile.in: Ditto.
638 * libc/sys/cygwin/aclocal.m4: Ditto.
639 * libc/sys/cygwin/configure: Ditto.
640 * libc/sys/cygwin/configure.in: Ditto.
641 * libc/sys/cygwin/dummy.c: Ditto.
642 * libc/sys/cygwin/sys/reent.h: Ditto.
643
98650d2f
JJ
6442004-09-14 Jeff Johnston <jjohnstn@redhat.com>
645
646 * configure.host: Add Cygwin sys directory.
647 * configure.in: Do not set CRT0 for cygwin.
648 * libc/configure.in: Ditto.
649 * libc/sys/configure.in: Ditto.
650 * configure: Regenerated.
651 * libc/configure: Ditto.
652 * libc/sys/configure: Ditto.
653 * libc/include/sys/reent.h: Add __REENT_HAS_CXA_SUPPORT flag.
654 * libc/stdlib/__atexit.c: Keep cxa support protected by new
655 __REENT_HAS_CXA_SUPPORT flag.
656 * libc/stdlib/__call_atexit.c: Ditto.
657 * libc/stdlib/cxa_atexit.c: Ditto.
658 * libc/stdlib/cxa_finalize.c: Ditto.
659 * libc/sys/cygwin/Makefile.am: New file.
660 * libc/sys/cygwin/Makefile.in: Ditto.
661 * libc/sys/cygwin/aclocal.m4: Ditto.
662 * libc/sys/cygwin/configure: Ditto.
663 * libc/sys/cygwin/configure.in: Ditto.
664 * libc/sys/cygwin/dummy.c: Ditto.
665 * libc/sys/cygwin/sys/reent.h: Ditto. This file is stabilized
666 version of reent.h.
667
d4c8e53b
JJ
6682004-09-13 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
669
670 * libc/iconv/iconv.tex: Updated with new content.
671 * libc/iconv/lib/iconvnls.c: Reference ICONV_DEFAULT_NLSPATH
672 instead of NLS_DEFAULT_NLSPATH.
673 * libc/iconv/lib/iconvnls.h: Fix typo.
674 * libc/include/sys/iconvnls.h: New file.
675
0c8593cf
JJ
6762004-09-09 Paul Brook <paul@codesourcery.com>
677
678 * libc/include/sys/reent.h (struct _on_exit_args): Add _dso_handle
679 and _is_cxa.
680 (struct _atexit): Add _next when _REENT_SMALL.
681 (struct _reent): Add _atexit0 when _REENT_SMALL.
682 (_REENT_INIT_PTR): Adjust.
683 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add __atexit.c and
684 __call_exit.c.
685 (EXTENDED_SOURCES): Add cxa_atexit.c and cxa_finalize.c.
686 * libc/stdlib/Makefile.in: Regenerate.
687 * libc/stdlib/__atexit.c: New file.
688 * libc/stdlib/__call_atexit.c: New file.
689 * libc/stdlib/atexit.h: Remove old definitions. Add new.
690 * libc/stdlib/atexit.c (atexit): Use __register_exitproc.
691 * libc/stdlib/cxa_atexit.c: New file.
692 * libc/stdlib/cxa_finalize.c: New file.
693 * libc/stdlib/exit.c (exit): Use __call_exitprocs.
694 * libc/stdlib/on_exit.c (on_exit): Use __register_exitproc.
695 2004-09-09 Jeff Johnston <jjohnstn@redhat.com>
696 * libc/reent/reent.c [_REENT_SMALL]: Fix reference to
697 _on_exit_args_ptr.
698
c6ed5a85
JJ
6992004-08-23 Jeff Johnston <jjohnstn@redhat.com>
700
701 * libc/include/sys/unistd.h (getpass): Change prototype to use
702 const instead of __const.
703
721a934c
JJ
7042004-08-16 Nathan Sidwell <nathan@codesourcery.com>
705
706 * libc/stdio/vfscanf.c (_NO_LONGLONG): Move out of FLOATING_POINT
707 #if.
708
4e53fc28
JJ
7092004-08-12 Jeff Johnston <jjohnstn@redhat.com>
710
711 * libc/sys/linux/sys/types.h (u64): New typedef to allow building
712 on linux systems with glibc 2.3.3 installed.
713 * libc/sys/linux/dl/dl-runtime.c: Fix prototypes for fixup and
714 profile_fixup so newlib can build on fc3 system.
715
82045f12
AO
7162004-07-30 Alexandre Oliva <aoliva@redhat.com>
717
718 Introduce SH2a support.
719 2004-03-16 Corinna Vinschen <vinschen@redhat.com>
720 * libc/include/machine/ieeefp.h: Define _DOUBLE_IS_32BITS for
721 __SH2A_SINGLE_ONLY__, too.
722 * libc/machine/sh/asm.h: Define DELAYED_BRANCHES for __SH2A__, too.
723 2004-02-24 Corinna Vinschen <vinschen@redhat.com>
724 * libc/sys/sh/crt0.S (start_l): Support sh2a-nofpu. Fix comments.
725 2004-02-10 DJ Delorie <dj@redhat.com>
726 * libc/sys/sh/crt0.S (start_l): Support sh2a.
727
ad6b1d79
JJ
7282004-07-29 Jeff Johnston <jjohnstn@redhat.com>
729
730 * libc/time/strptime.c: Correct full-name of "March" typo.
731
63b9dcc4
JJ
7322004-07-16 Anil Paranjpe <anilp1@kpitcummins.com>
733
734 * configure.host (h8300*-*-*): Default long long printing support.
735
dbfd3394
JJ
7362004-07-16 Jeff Johnston <jjohnstn@redhat.com>
737
738 * libc/stdio/fvwrite.c (_sfvwrite): For asprintf family
739 calls, if realloc fails, free up buffer as it is no longer
740 used.
741
6edb3da9
JJ
7422004-07-07 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
743
744 * libc/iconv/iconv.tex: Updated to represent recent changes.
745 * libc/iconv/lib/iconv.c: Documentation updated.
746
578a3560
NC
7472004-07-07 Nick Clifton <nickc@redhat.com>
748
749 * configure.host (newlib_cflags): Define PREFER_SIZE_OVER_SPEED
750 for xStormy16.
751
2bc257e3
JJ
7522004-07-06 Chris Demetriou <cgd@broadcom.com>
753
754 * configure.host (mips*-*-elf*): Default long long printing
755 support.
756
75e7ffaa
JJ
7572004-07-05 Jeff Johnston <jjohnstn@redhat.com>
758
759 * libc/Makefile.am (libc.dvi): Add target and specify
760 same dependencies as libc.info.
761 * libc/Makefile.in: Regenerated.
762 * libm/Makefile.am (libm.dvi): Add target and specify
763 same dependencies as libm.info.
764 * libm/Makefile.in: Regenerated.
765
76ce12c3
JJ
7662004-06-29 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
767
768 * acinclude.m4: Move --enable-newlib-iconv option back here.
769 * configure.in: Remove --enable-newlib-iconv option. Don't
770 tie iconv support to --enable-newlib-mb.
771 * aclocal.m4: Regenerated.
772 * configure: Ditto.
773 * doc/aclocal.m4, doc/configure: Ditto.
774 * iconvdata/aclocal.m4, iconvdata/configure: Ditto.
775 * libm/*/aclocal.m4: Ditto.
776 * libm/*/configure: Ditto.
777 * libc/*/aclocal.m4: Ditto.
778 * libc/*/configure: Ditto.
779
660dade3
JJ
7802004-06-25 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
781
782 * acinclude.m4: Move iconv options into configure.in.
783 * aclocal.m4: Regenerated.
784 * configure: Ditto.
785 * configure.in: Add iconv options.
786 * newlib.hin: Add new iconv encodings and remove deleted ones.
787 * doc/aclocal.m4: Regenerated.
788 * doc/configure: Ditto.
789 * iconvdata/aclocal.m4: Ditto.
790 * iconvdata/configure: Ditto.
791 * libc/iconv: Design change. New size-optimized ccs format.
792 * libc/iconv/AUTHORS: Removed.
793 * libc/iconv/COPYING: Ditto.
794 * libc/iconv/README.ORIGINAL: Ditto.
795 * libc/iconv/README.TODO: Ditto.
796 * libc/iconv/charset.aliases: Ditto.
797 * libc/iconv/encoding.aliases: New file.
798 * libc/iconv/Makefile.am: Updated.
799 * libc/iconv/Makefile.in: Regenerated.
800 * libc/iconv/iconv.tex: Updated.
801 * libc/iconv/ccs/Makefile.am: Ditto.
802 * libc/iconv/ccs/Makefile.in: Regenerated.
803 * libc/iconv/ccs/big5.c: Updated.
804 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
805 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
806 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
807 * libc/iconv/ccs/cp775.c: Ditto.
808 * libc/iconv/ccs/cp850.c: Ditto.
809 * libc/iconv/ccs/cp852.c: Ditto.
810 * libc/iconv/ccs/cp855.c: Ditto.
811 * libc/iconv/ccs/cp866.c: Ditto.
812 * libc/iconv/ccs/iso_8859_1.c: Ditto.
813 * libc/iconv/ccs/README.CCS.SOURCES: Removed.
814 * libc/iconv/ccs/gb_2312_80.c: Ditto.
815 * libc/iconv/ccs/iconv_mktbl: Ditto.
816 * libc/iconv/ccs/jis_x0201.c: Ditto.
817 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
818 * libc/iconv/ccs/shift_jis.c: Ditto.
819 * libc/iconv/ccs/us_ascii.c: Ditto.
820 * libc/iconv/ccs/ccs.h: New file.
821 * libc/iconv/ccs/ccsbi.c: Ditto.
822 * libc/iconv/ccs/ccsbi.h: Ditto.
823 * libc/iconv/ccs/ccsnames.h: Ditto.
824 * libc/iconv/ccs/iso_8859_10.c: Ditto.
825 * libc/iconv/ccs/iso_8859_11.c: Ditto.
826 * libc/iconv/ccs/iso_8859_13.c: Ditto.
827 * libc/iconv/ccs/iso_8859_14.c: Ditto.
828 * libc/iconv/ccs/iso_8859_3.c: Ditto.
829 * libc/iconv/ccs/iso_8859_6.c: Ditto.
830 * libc/iconv/ccs/iso_8859_7.c: Ditto.
831 * libc/iconv/ccs/iso_8859_8.c: Ditto.
832 * libc/iconv/ccs/iso_8859_9.c: Ditto.
833 * libc/iconv/ccs/iso_ir_111.c: Ditto.
834 * libc/iconv/ccs/jis_x0201_1976.c: Ditto.
835 * libc/iconv/ccs/jis_x0208_1990.c: Ditto.
836 * libc/iconv/ccs/koi8_ru.c: Ditto.
837 * libc/iconv/ccs/koi8_uni.c: Ditto.
838 * libc/iconv/ccs/mktbl.pl: Ditto.
839 * libc/iconv/ccs/win_1250.c: Ditto.
840 * libc/iconv/ccs/win_1251.c: Ditto.
841 * libc/iconv/ccs/win_1252.c: Ditto.
842 * libc/iconv/ccs/win_1253.c: Ditto.
843 * libc/iconv/ccs/win_1254.c: Ditto.
844 * libc/iconv/ccs/win_1255.c: Ditto.
845 * libc/iconv/ccs/win_1256.c: Ditto.
846 * libc/iconv/ccs/win_1257.c: Ditto.
847 * libc/iconv/ccs/win_1258.c: Ditto.
d68d3538
JJ
848 * libc/iconv/ccs/iso_8859_15.c: Updated.
849 * libc/iconv/ccs/iso_8859_2.c: Ditto.
850 * libc/iconv/ccs/iso_8859_4.c: Ditto.
851 * libc/iconv/ccs/iso_8859_5.c: Ditto.
852 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
853 * libc/iconv/ccs/koi8_r.c: Ditto.
854 * libc/iconv/ccs/koi8_u.c: Ditto.
855 * libc/iconv/ccs/ksx1001.c: Ditto.
660dade3
JJ
856 * libc/iconv/ccs/binary/gb_2312_80.cct: Removed.
857 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
858 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
859 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
860 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
861 * libc/iconv/ccs/binary/Makefile.am: Updated.
862 * libc/iconv/ccs/binary/Makefile.in: Regenerated.
863 * libc/iconv/ccs/binary/big5.cct: Updated.
864 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
865 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
866 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
867 * libc/iconv/ccs/binary/cp775.cct: Updated.: Ditto.
868 * libc/iconv/ccs/binary/cp850.cct: Ditto.: Ditto.
869 * libc/iconv/ccs/binary/cp852.cct: Ditto.: Ditto.
870 * libc/iconv/ccs/binary/cp855.cct: Ditto.: Ditto.
871 * libc/iconv/ccs/binary/cp866.cct: Ditto.: Ditto.
872 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
873 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
874 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
875 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
876 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
877 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
878 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
879 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
880 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
881 * libc/iconv/ccs/binary/iso_8859_10.cct: New file.
882 * libc/iconv/ccs/binary/iso_8859_11.cct: Ditto.
883 * libc/iconv/ccs/binary/iso_8859_13.cct: Ditto.
884 * libc/iconv/ccs/binary/iso_8859_14.cct: Ditto.
885 * libc/iconv/ccs/binary/iso_8859_3.cct: Ditto.
886 * libc/iconv/ccs/binary/iso_8859_6.cct: Ditto.
887 * libc/iconv/ccs/binary/iso_8859_7.cct: Ditto.
888 * libc/iconv/ccs/binary/iso_8859_8.cct: Ditto.
889 * libc/iconv/ccs/binary/iso_8859_9.cct: Ditto.
890 * libc/iconv/ccs/binary/iso_ir_111.cct: Ditto.
891 * libc/iconv/ccs/binary/jis_x0201_1976.cct: Ditto.
892 * libc/iconv/ccs/binary/jis_x0208_1990.cct: Ditto.
893 * libc/iconv/ccs/binary/koi8_ru.cct: Ditto.
894 * libc/iconv/ccs/binary/koi8_uni.cct: Ditto.
895 * libc/iconv/ccs/binary/win_1250.cct: Ditto.
896 * libc/iconv/ccs/binary/win_1251.cct: Ditto.
897 * libc/iconv/ccs/binary/win_1252.cct: Ditto.
898 * libc/iconv/ccs/binary/win_1253.cct: Ditto.
899 * libc/iconv/ccs/binary/win_1254.cct: Ditto.
900 * libc/iconv/ccs/binary/win_1255.cct: Ditto.
901 * libc/iconv/ccs/binary/win_1256.cct: Ditto.
902 * libc/iconv/ccs/binary/win_1257.cct: Ditto.
903 * libc/iconv/ccs/binary/win_1258.cct: Ditto.
904 * libc/iconv/ces/Makefile.am: Updated.
905 * libc/iconv/ces/Makefile.in: Regenerated.
906 * libc/iconv/ces/ucs-2-internal.c: Updated.
907 * libc/iconv/ces/ucs-4-internal.c: Ditto.
908 * libc/iconv/ces/utf-16.c: Ditto.
909 * libc/iconv/ces/utf-8.c: Ditto.
910 * libc/iconv/ces/cesbi.c: New file.
911 * libc/iconv/ces/cesbi.h: Ditto.
912 * libc/iconv/ces/cesdeps.h: Ditto.
913 * libc/iconv/ces/euc.c: Ditto.
914 * libc/iconv/ces/mkdeps.pl: Ditto.
915 * libc/iconv/ces/table-pcs.c: Ditto.
916 * libc/iconv/ces/table.c: Ditto.
917 * libc/iconv/ces/ucs-2.c: Ditto.
918 * libc/iconv/ces/ucs-4.c: Ditto.
919 * libc/iconv/ces/us-ascii.c: Ditto.
920 * libc/iconv/ces/euc-jp.c: Removed.
921 * libc/iconv/ces/euc-kr.c: Ditto.
922 * libc/iconv/ces/euc-tw.c: Ditto.
923 * libc/iconv/ces/gb2312.c: Ditto.
924 * libc/iconv/ces/iso-10646-ucs-2.: Ditto.c
925 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
926 * libc/iconv/lib/Makefile.am: Updated.
927 * libc/iconv/lib/Makefile.in: Regenerated.
928 * libc/iconv/lib/endian.h: Updated.
929 * libc/iconv/lib/iconv.c: Ditto.
930 * libc/iconv/lib/local.h: Ditto.
931 * libc/iconv/lib/aliases.c: Removed.
932 * libc/iconv/lib/bialiasesi.c: Ditto.
933 * libc/iconv/lib/biccs.c: Ditto.
934 * libc/iconv/lib/bices.c: Ditto.
935 * libc/iconv/lib/ccs.c: Ditto.
936 * libc/iconv/lib/ces.c: Ditto.
937 * libc/iconv/lib/ces_euc.c: Ditto.
938 * libc/iconv/lib/ces_iso2022.c: Ditto.
939 * libc/iconv/lib/ces_table.c: Ditto.
940 * libc/iconv/lib/converter.c: Ditto.
941 * libc/iconv/lib/deps.h: Ditto.
d68d3538
JJ
942 * libc/iconv/lib/loaddata.c: Ditto.
943 * libc/iconv/lib/aliasesbi.c: New file.
660dade3
JJ
944 * libc/iconv/lib/aliasesi.c: Ditto.
945 * libc/iconv/lib/conv.h: Ditto.
946 * libc/iconv/lib/encnames.h: Ditto.
947 * libc/iconv/lib/encoding.deps: Ditto.
948 * libc/iconv/lib/iconvnls.c: Ditto.
949 * libc/iconv/lib/iconvnls.h: Ditto.
660dade3
JJ
950 * libc/iconv/lib/nullconv.c: Ditto.
951 * libc/iconv/lib/ucsconv.c: Ditto.
952 * libc/iconv/lib/ucsconv.h: Ditto.
953 * libc/include/iconv.h: Update copyright.
954 * libc/*/aclocal.m4: Regenerated.
955 * libc/*/configure: Ditto.
956 * libm/*/aclocal.m4: Ditto.
957 * libm/*/configure: Ditto.
958
9a6831be
AO
9592004-06-22 Alexandre Oliva <aoliva@redhat.com>
960
eb6a452a
AO
961 * libc/include/machine/setjmp.h [__H8300__] (_JBTYPE): Define,
962 instead of typedefing jmp_buf.
963
9a6831be
AO
964 2003-07-02 Richard Sandiford <rsandifo@redhat.com>
965 * libc/machine/h8300/Makefile.am (lib_a_SOURCES): Add h8sx_strcpy.S.
966 * libc/machine/h8300/defines.h (LEN): New macro.
967 * libc/machine/h8300/memcpy.S: Add h8sx version.
968 * libc/machine/h8300/memset.S: Likewise.
969 * libc/machine/h8300/strcmp.S: Likewise.
970 * libc/machine/h8300/setjmp.S: Use h8sx move instructions.
971 * libc/machine/h8300/h8sx_strcpy.S: New file.
972 2003-06-30 Richard Sandiford <rsandifo@redhat.com>
973 * libc/include/machine/ieeefp.h: Extend __H8300S__ handling to
974 __H8300SX__.
975 * libc/include/machine/setjmp.h: Likewise.
976 * libc/include/sys/config.h: Likewise.
977 * libc/machine/h8300/defines.h: Likewise.
978 * libc/machine/h8300/setjmp.S: Likewise.
979 * libc/machine/h8300/strcmp.S: Likewise.
980 * libc/sys/h8300hms/close.S: Likewise.
981 * libc/sys/h8300hms/fstat.S: Likewise.
982 * libc/sys/h8300hms/lseek.S: Likewise.
983 * libc/sys/h8300hms/read.S: Likewise.
984 * libc/sys/h8300hms/write.S: Likewise.
985 * libc/sys/h8300hms/crt0.S: Likewise.
986 * libc/machine/h8300/setarch.h: Use .h8300sx or .h8300sxn if
987 __H8300SX__ is defined.
988 * libc/sys/h8300hms/setarch.h: Likewise.
989
80dba41e
JJ
9902004-06-17 Jeff Johnston <jjohnstn@redhat.com>
991
992 * libc/include/sys/reent.h (_GLOBAL_REENT): Back
993 out change which set _GLOBAL_REENT to _global_impure_ptr until
994 we understand why Cygwin breaks because of it.
995
be910599
JJ
9962004-06-14 Jeff Johnston <jjohnstn@redhat.com>
997
998 * libc/sys/linux/machine/i386/syscall.h: For now, set up
999 __syscall_return macro for systems with vsyscall.
1000
d0bd3e6f
JJ
10012004-06-11 Antony King <antony.king@st.com>
1002
1003 * libc/include/sys/_types.h: Include <sys/lock.h> and change
1004 _flock_t to be of type _LOCK_RECURSIVE_T.
1005 * libc/include/sys/reent.h: (_REENT_INIT): Reformat.
1006 (_REENT_INIT_PTR): Ditto. Use memset where appropriate.
1007 (_global_impure_ptr): New declaration.
1008 (_GLOBAL_REENT): Change to be _global_impure_ptr.
1009 * libc/include/sys/stdio.h: Include <sys/lock.h> and
1010 <sys/reent.h>.
1011 (_flockfile)[!_SINGLE_THREAD]: Add code for lock call.
1012 (_funlockfile)[!SINGLE_THREAD]: Ditto.
1013 * libc/reent/impure.c: Set _global_impure_ptr to _impure_ptr.
1014 * libc/stdio/fclose.c: Remove casting of fp lock to
1015 _LOCK_RECURSIVE_T.
1016 * libc/stdio/findfp.c: Ditto.
1017 * libc/stdio/fopen.c: Ditto.
1018 * libc/stdio/freopen.c: Ditto.
1019 * libc/stdio/vfprintf.c: Ditto.
1020 * libc/stdio64/fopen64.c: Ditto.
1021 * libc/stdlib/envlock.c: Add default stubs that use generic
1022 locking code.
1023 * libc/stdlib/mlock.c: Ditto.
1024
1025 Jeff Johnston <jjohnstn@redhat.com>
1026 * libc/sys/linux/sys/_types.h (__flock_mutex_t): New subtype.
1027 (_flock_t): Change to be a struct containing a single member
1028 named mutex which is of type __flock_mutex_t.
1029
db7033a9
JJ
10302004-06-09 Jeff Johnston <jjohnstn@redhat.com>
1031
1032 * libc/sys/linux/Makefile.am: Change siglist.inc to be generated
1033 from /usr/include/asm/signal.h instead of kernel sources. Also
1034 default max to 32 if not found in header file.
1035 * libc/sys/linux/Makefile.in: Regenerated.
1036 * libc/sys/linux/machine/i386/socketcall.h: Fix for Fedora Core 2
1037 systems where __syscall_return is not defined.
1038 * libc/sys/linux/machine/i386/syscall.h: Change for Fedora Core 2
1039 systems to use syscall() function instead of assembler interrupt.
1040
a170abec
JJ
10412004-06-09 Toralf Lund <toralf@procaptura.com>
1042
1043 * libc/sys/arm/setjmp.S, libc/sys/arm/access.c: Move
1044 files from libc/sys/arm to libc/machine/arm.
1045 * libc/machine/arm/Makefile.am, libc/machine/arm/Makefile.in: Add
1046 library build support for files moved from libc/sys/arm.
1047 * libc/sys/arm/Makefile.am, libc/sys/arm/Makefile.in: Remove
1048 references to access and setjmp.
1049 * configure.host: Add checks for newlib_may_supply_syscalls to
1050 determine whether or not to use sys/arm directory and use
1051 special compiler flags: ARM_RDI_MONITOR and ARM_RDP_MONITOR.
1052
8b57e664
JJ
10532004-06-02 Jeff Johnston <jjohnstn@redhat.com>
1054
1055 * libc/stdio/vfscanf.c (__svfscanf_r): For CT_INT conversions,
1056 reset digit flags appropriately after we have discovered "0x".
1057 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
1058
3f611058
JJ
10592004-05-27 Jeff Johnston <jjohnstn@redhat.com>
1060
1061 * libc/stdio/vfprintf.c (_VFPRINTF): Move file locking
1062 from here ...
1063 (_VFPRINTF_R): ... to here so all I/O printf routines
1064 are covered.
1065
bb42a35c
JJ
10662004-05-26 Jeff Johnston <jjohnstn@redhat.com>
1067
1068 * libc/search/hash_buf.c: Protect MAX and MIN macros from
1069 redefinition.
1070 * libc/search/hash.c: Ditto.
1071
227e6ef6
JJ
10722004-05-25 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1073
1074 * newlib.hin: (_WANT_IO_POS_ARGS): New define.
1075 (_WANT_IO_LONG_LONG): Ditto.
1076 (_WANT_IO_LONG_DOUBLE): Ditto.
1077 * configure.in: Add new configuration options
1078 --enable-newlib-io-long-long and --enable-newlib-io-long-double
1079 which tie to new defines in newlib.hin.
1080 * configure: Regenerated.
1081 * configure.host: Add checks for new configuration options. Also
1082 fix up check for --enable-newlib-io-pos-args so configuration
1083 option will override any default for a given platform.
1084 Remove defining compiler flags for the _WANT_IO* options.
1085 * libc/stdio/vfprintf.c: Change to use new newlib.hin defines
1086 instead of looking for old compiler flags.
1087 * libc/stdio/vfscanf.c: Ditto.
1088 * libc/stdio/vfieeefp.h: Ditto.
1089 * libc/machine/powerpc/vfprintf.c: Ditto.
1090 * libc/machine/powerpc/vfscanf.c: Ditto.
1091
9178da95
JJ
10922004-05-25 Jeff Johnston <jjohnstn@redhat.com>
1093
1094 * testsuite/include/check.h: Add include of <stdio.h>.
1095
cf3aae91
CV
10962004-05-17 Corinna Vinschen <corinna@vinschen.de>
1097
1098 * libc/include/grp.h: Declare getgrnam_r and getgrgid_r also on Cygwin.
1099
5b4c8ae2
JJ
11002004-05-11 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1101
1102 * libc/stdio/vfprintf.c (VFPRINTF_R): Use _free_r instead
1103 of free.
1104
11052004-05-07 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1106
1107 * libc/stdio/iprintf.c (_iprintf_r): Fix old-style argument
1108 list for reentrant pointer. Call _vfiprintf_r.
1109 * libc/stdio/siprintf.c (_siprintf_r): New function.
1110 * libc/stdio/vfprintf.c (__sbprintf): Add reetrant struct
1111 pointer argument. Change all callers. Call _VFPRINTF_R.
1112 * libc/include/stdio.h (_siprintf_r, _vfiprintf_r): New
1113 prototypes.
1114
631fbe65
JJ
11152004-05-07 Jeff Johnston <jjohnstn@redhat.com>
1116
1117 * libc/include/sys/param.h: Remove endian info and include
1118 <machine/endian.h> instead.
1119 * libc/include/machine/endian.h: New file.
1120 * libc/include/machine/param.h: Ditto.
1121 * libc/machine/arm/machine/endian.h: Ditto.
1122 * libc/machine/arm/machine/param.h: Ditto.
1123 * libc/sys/arm/sys/param.h: Removed.
1124 * libc/sys/sysvi386/sys/param.h: Ditto.
1125 * libc/sys/rtems/sys/param.h: Modified to include <machine/endian.h>.
1126
1af84bb7
JJ
11272004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1128
1129 * libc/stdio/vfprintf.c (_VFPRINTF_R): Set error flag when
1130 multibyte functions return failure for %C, %S, %lc, and %ls
1131 format specifiers.
1132
1c63798e
JJ
11332004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1134
1135 * testsuite/include/check.h (CHECK): Add flush of stdout.
1136
20b0251a
JJ
11372004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1138
1139 * libc/include/stdio.h (_ungetc_r): New prototype.
1140 * libc/stdio/ungetc.c (_ungetc_r): New reentrant function.
1141 (__submore): Add reentrant struct pointer argument.
1142 (ungetc): Change to call _ungetc_r.
1143
6194cf4a
JJ
11442004-04-28 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1145
1146 * libc/stdio/local.h (_fwalk_reent): Specify prototype of
1147 function pointer argument.
1148 * libc/stdio/fwalk.c (_fwalk, _fwalk_reent): Change prototypes
1149 to specify function pointer arguments.
1150 (__fwalk, __fwalk_reent): Ditto.
1151
b4ddf489
AH
11522004-04-26 Aldy Hernandez <aldyh@redhat.com>
1153
1154 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Fix typo in
1155 CT_INT case.
1156
f777e3a5
JJ
11572004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1158
1159 * configure.in: Define _MB_CAPABLE if mb supported.
1160 * configure: Regenerated.
1161 * configure.host: Remove manual setting of MB_CAPABLE compiler
1162 flag.
1163 * newlib.hin: Add _MB_CAPABLE flag.
1164 * libc/ctype/iswalpha.c, libc/ctype/iswblank.c: Include <newlib.h>
1165 and check for _MB_CAPABLE flag instead of MB_CAPABLE.
1166 * libc/ctype/iswcntrl.c, libc/ctype/iswprint.c: Ditto.
1167 * libc/ctype/iswpunct.c, libc/ctype/iswspace.c: Ditto.
1168 * libc/ctype/jp2uc.c: Ditto.
1169 * libc/ctype/towlower.c, libc/ctype/towupper.c: Ditto.
1170 * libc/locale/locale.c: Ditto
1171 * libc/machine/powerpc/vfscanf.c: Ditto
1172 * libc/stdio/vfprintf.c, libc/stdio/vfscanf.c: Ditto
1173 * libc/stdlib/mblen.c: Ditto
1174 * libc/stdlib/mblen_r.c, libc/stdlib/mbrlen.c: Ditto
1175 * libc/stdlib/mbrtowc.c, libc/stdlib/mbsrtowcs.c: Ditto
1176 * libc/stdlib/mbstowcs.c, libc/stdlib/mbtowc.c: Ditto
1177 * libc/stdlib/mbtowc_r.c, libc/stdlib/wcrtomb.c: Ditto
1178 * libc/stdlib/wcsrtombs.c, libc/stdlib/wcstombs.c: Ditto
1179 * libc/stdlib/wctomb.c, libc/sys/linux/intl/dcigettext.c: Ditto
1180 * libc/sys/linux/intl/explodename.c: Ditto
1181 * libc/sys/linux/intl/finddomain.c: Ditto
1182 * libc/sys/linux/intl/l10nflist.c: Ditto
1183 * libc/sys/linux/intl/loadmsgcat.c: Ditto
1184 * libc/sys/linux/intl/localealias.c: Ditto
1185
27c7566c
JJ
11862004-04-23 Jeff Johnston <jjohnstn@redhat.com>
1187
1188 * libc/machine/powerpc/vfscanf.c (NNZDIGITS): New define.
1189 (__svfscanf_r): In integer conversions, leave out leading zeroes
1190 which are not part of a base prefix.
1191 Keep track of width truncation to fit into buf, not counting left-out
1192 zeroes against width till the truncation has been compensated for.
1193 This is based on Joern's patch of 04/21 for libc/stdio/vfscanf.c.
1194
c00f9719
JJ
11952004-04-23 Jeff Johnston <jjohnstn@redhat.com>
1196
1197 * libc/include/stdio.h: (_ftell_r, _fseek_r): New prototypes.
1198
05b31577
JJ
11992004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1200
1201 * libc/stdio/asprintf.c libc/stdio/clearerr.c,
1202 libc/stdio/fclose.c libc/stdio/fcloseall.c libc/stdio/fdopen.c,
1203 libc/stdio/feof.c libc/stdio/ferror.c libc/stdio/fflush.c,
1204 libc/stdio/fgetc.c libc/stdio/fgetpos.c libc/stdio/fgets.c,
1205 libc/stdio/fileno.c libc/stdio/findfp.c libc/stdio/fiprintf.c,
1206 libc/stdio/flags.c libc/stdio/fopen.c libc/stdio/fprintf.c,
1207 libc/stdio/fputc.c libc/stdio/fputs.c libc/stdio/fread.c,
1208 libc/stdio/freopen.c libc/stdio/fscanf.c libc/stdio/fseek.c,
1209 libc/stdio/fseeko.c libc/stdio/fsetpos.c libc/stdio/ftell.c,
1210 libc/stdio/ftello.c libc/stdio/fvwrite.c libc/stdio/fwalk.c,
1211 libc/stdio/fwrite.c libc/stdio/getc.c libc/stdio/getc_u.c,
1212 libc/stdio/getchar.c libc/stdio/getchar_u.c,
1213 libc/stdio/getdelim.c libc/stdio/getline.c libc/stdio/gets.c,
1214 libc/stdio/getw.c libc/stdio/iprintf.c libc/stdio/local.h,
1215 libc/stdio/makebuf.c libc/stdio/mktemp.c libc/stdio/perror.c,
1216 libc/stdio/printf.c libc/stdio/putc.c libc/stdio/putc_u.c,
1217 libc/stdio/putchar.c libc/stdio/putchar_u.c libc/stdio/puts.c,
1218 libc/stdio/putw.c libc/stdio/refill.c libc/stdio/remove.c,
1219 libc/stdio/rename.c libc/stdio/rewind.c libc/stdio/rget.c,
1220 libc/stdio/scanf.c libc/stdio/setbuf.c libc/stdio/setbuffer.c,
1221 libc/stdio/setlinebuf.c libc/stdio/setvbuf.c,
1222 libc/stdio/siprintf.c libc/stdio/snprintf.c,
1223 libc/stdio/sprintf.c libc/stdio/sscanf.c libc/stdio/stdio.c,
1224 libc/stdio/tmpfile.c libc/stdio/tmpnam.c libc/stdio/ungetc.c,
1225 libc/stdio/vasprintf.c libc/stdio/vfieeefp.h,
1226 libc/stdio/vfprintf.c libc/stdio/vfscanf.c,
1227 libc/stdio/vprintf.c libc/stdio/vscanf.c,
1228 libc/stdio/vsnprintf.c libc/stdio/vsprintf.c,
1229 libc/stdio/vsscanf.c libc/stdio/wbuf.c,
1230 libc/stdio/wsetup.c: Perform minor formatting changes. Move
1231 copyright notices to top of file, ensure that <_ansi.h> is
1232 included, be consistent with open parentheses, use _DEFUN macro,
1233 include "local.h" where needed, and remove various compiler
1234 warnings.
1235
04e8fca1
JJ
12362004-04-21 J"orn Rennecke <joern.rennecke@superh.com>
1237
1238 * libc/stdio/vfscanf.c (NNZDIGITS): New define.
1239 (__svfscanf_r): In integer conversions, leave out leading zeroes
1240 which are not part of a base prefix.
1241 Keep track of width truncation to fit into buf, not counting left-out
1242 zeroes against width till the truncation has been compensated for.
1243
9090ec74
CV
12442004-04-20 Corinna Vinschen <corinna@vinschen.de>
1245
1246 * libc/include/sys/unistd.h (ttyname_r): Add missing comma.
1247
1c17deea
CV
12482004-04-20 Corinna Vinschen <corinna@vinschen.de>
1249
1250 * libc/include/sys/unistd.h (ttyname_r): Add declaration for Cygwin.
1251
54c7940f
CV
12522004-04-10 Corinna Vinschen <corinna@vinschen.de>
1253
1254 * libc/include/sys/unistd.h (sync): Define void on Cygwin according
1255 to SUSv3.
1256
47dcaf56
JJ
12572004-04-08 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1258
1259 * libc/stdio/fclose.c (_fclose_r): New function.
1260 * libc/stdio/freopen.c (_freopen_r): Call _fclose_r.
1261 * libc/stdio/fcloseall.c (_fcloseall_r): Call _fwalk_reent.
1262 * libc/stdio64/freopen64.c (_freopen64_r): Use _fclose_r.
1263 * libc/include/stdio.h (_fclose_r): New prototype.
1264 * libc/stdio/fopen.c: Fix typo in comment.
1265
12662004-04-08 Jeff Johnston <jjohnstn@redhat.com>
1267
1268 * libc/stdio/fwalk.c (_fwalk_reent): New version of _fwalk
1269 to handle _r reentrant functions.
1270
4121d8cf
JJ
12712004-04-08 Eric Christopher <echristo@redhat.com>
1272
1273 * libc/include/machine/setjmp.h: Fix endif locations.
1274
59c9f5f5
JJ
12752004-04-01 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1276
1277 * libc/time/strptime.c: Add standard includes to avoid
1278 warning messages at compilation time.
1279
38f4f023
JJ
12802004-04-01 Jeff Johnston <jjohnstn@redhat.com>
1281
1282 * libc/stdio/vfscanf.c (__svfscanf_r): Add locking/unlocking
1283 of file.
1284
12852004-03-30 Jeff Johnston <jjohnstn@redhat.com>
ed4c5ece
JJ
1286
1287 * libc/machine/h8300/Makefile.am: Reformat slightly.
1288 * libc/machine/h8300/Makefile.in: Regenerate.
1289
38f4f023 12902004-03-30 Thomas Pfaff <tpfaff@gmx.net>
cacc0d44
JJ
1291
1292 * libc/stdio/findfp.c (__fp_lock_all): Add call to
1293 __sfp_lock_acquire.
1294 (__fp_unlock_all): Add call to __sfp_lock_release.
1295
10dcf7e7
JJ
12962004-03-25 Thomas Pfaff <tpfaff@gmx.net>
1297
1298 * libc/stdio/fclose.c (fclose): Protect file pointer list when
1299 releasing a file.
1300 * libc/stdio/fcloseall.c (_fcloseall_r): Close all files via
1301 fwalk.
1302 * libc/stdio/fdopen.c (_fdopen_r): Add calls to
1303 _flockfile/_funlockfile.
1304 * libc/stdio/findfp.c: Move __sfp_lock. Change __sfp_lock type
1305 to recursive.
1306 Change __lock_acquire/__lock_release calls for __sfp_lock to
1307 __sfp_lock_acquire/__sfp_lock_release throughout.
1308 (std): Make sure that file lock is only initialized once.
1309 (__sfp): Move _file initialization. Initialize file lock.
1310 (__sfp_lock_acquire): New function.
1311 (__sfp_lock_release): Ditto.
1312 (__fp_lock_all): Remove __sfp_lock_acquire call.
1313 (__fp_unlock_all): Remove __sfp_lock_release call.
1314 * libc/stdio/fopen.c (_fopen_r): Protect file pointer list.
1315 Add calls to _flockfile/_funlockfile. Remove
1316 __lock_init_recursive call.
1317 * libc/stdio/freopen.c (_freopen_r): Protect file pointer list.
1318 * libc/stdio/fwalk.c (__fwalk): New static function.
1319 (_fwalk): Protect file pointer list. Use __fwalk to walk through
1320 file pointers.
1321 * libc/stdio/local.h: Add defines for
1322 __sfp_lock_acquire/__sfp_lock_release when
1323 single threaded. Add function prototypes otherwise.
1324 * libc/stdio64/fdopen64.c (_fdopen64_r): Add calls to
1325 _flockfile/_funlockfile.
1326 * libc/stdio/fopen64.c (_fopen64_r): Protect file pointer list.
1327 Add calls to _flockfile/_funlockfile. Remove
1328 __lock_init_recursive call.
1329 * libc/stdio/freopen64.c (_freopen64_r): Protect file pointer
1330 list.
1331
ec475b09
JJ
13322004-03-25 Jeff Johnston <jjohnstn@redhat.com>
1333
1334 * libc/sys/linux/sys/lock.h: Turn on __USE_GNU flag if not already
1335 defined. Change __LOCK_RECURSIVE_INIT to be __LOCK_INIT_RECURSIVE.
1336 * libc/sys/linux/dl/dl-support.c: Change __LOCK_RECURSIVE_INIT
1337 to be __LOCK_INIT_RECURSIVE.
1338
2c4ef10a
JJ
13392004-03-11 Kazu Hirata <kazu@cs.umass.edu>
1340
1341 * libc/sys/h8300hms/Makefile.am (lib_a_SOURCES): Replace
1342 _exit.c with _exit.S.
1343 * libc/sys/h8300hms/Makefile.in: Regenerate.
1344 * libc/sys/h8300hms/_exit.c: Remove.
1345 * libc/sys/h8300hms/_exit.S: New.
1346
41c3da6a
JJ
13472004-03-09 Thomas Pfaff <tpfaff@gmx.net>
1348
1349 * libc/stdio/findfp.c (__sfp): Rename lock to __sfp_lock.
1350 Change __sfp_lock to static global.
1351 (__fp_lock): New static function.
1352 (__fp_unlock): Ditto.
1353 (__fp_lock_all): New function.
1354 (__fp_unlock_all): Ditto.
1355
0ccf5430
CF
13562004-02-10 Christopher Faylor <cgf@redhat.com>
1357
1358 * libm/mathfp/er_gamma.c (gamma): Add new non-reentrant function.
1359 * libm/mathfp/er_lgamma.c (lgamma): Ditto.
1360 * libm/mathfp/erf_gamma.c (gammaf): Ditto.
1361 * libm/mathfp/erf_lgamma.c (lgammaf): Ditto.
1362
3536f0fb
CF
13632004-02-09 Christopher Faylor <cgf@redhat.com>
1364
1365 * libc/include/time.h (TIMER_RELTIME): New define.
1366
6a6e493a
JJ
13672004-02-09 Jeff Johnston <jjohnstn@redhat.com>
1368
1369 * libc/stdlib/Makefile.am: Add mallstatsr to LIBADD_OBJS.
1370 * libc/stdlib/Makefile.in: Regenerated.
1371
733309f5
CF
13722004-02-08 Christopher Faylor <cgf@redhat.com>
1373
1374 * libc/include/sys/features.h: Add _POSIX_TIMERS define for __CYGWIN__.
1375 * libc/include/sys/reent.h (__getreent): Protect against possibly being
1376 defined.
1377 * libc/include/sys/unistd.h (fdatasync): Don't define for __CYGWIN__.
1378
b4a84c66
JJ
13792004-02-05 Paul Brook <paul@codesourcery.com>
1380
1381 * libc/include/machine/ieeefp.h[__arm__][__VFP_FP__]: Set
1382 IEEE_{BIG,LITTLE} based on __ARMEL__ flag.
1383
4669438f
JJ
13842004-02-02 Jeff Johnston <jjohnstn@redhat.com>
1385
1386 * NEWS: Update with 1.12.0 info.
1387 * README: Ditto.
1388 * acinclude.m4: Change version number to 1.12.0.
1389 * aclocal.m4: Regenerated.
1390 * configure: Ditto.
1391 * doc/aclocal.m4: Ditto.
1392 * doc/configure: Ditto.
1393 * libc/*/aclocal.m4: Ditto.
1394 * libc/*/configure: Ditto.
1395 * libc/libc.texinfo: Ditto.
1396 * libm/*/aclocal.m4: Ditto.
1397 * libm/*/configure: Ditto.
1398 * libm/libm.texinfo: Ditto.
1399 * libc/sys/linux/shared.ld: Add VERS_1.12.
1400
94d61fcb
JJ
14012004-02-02 Joel Sherrill <joel@oarcorp.com>
1402
1403 * configure.host: Add support for tic4x.
1404 * libc/include/machine/ieeefp.h: Ditto.
1405 * libc/include/machine/setjmp.h: Ditto.
1406 * libc/machine/tic4x/Makefile.am: New file.
1407 * libc/machine/tic4x/configure.in: Ditto.
1408 * libc/machine/tic4x/setjmp.S: Ditto.
1409 * libc/machine/tic4x/aclocal.m4: Generated.
1410 * libc/machine/tic4x/configure: Ditto.
1411 * libc/machine/tic4x/Makefile.in: Ditto.
1412
c730e0e7
JJ
14132004-01-30 Jeff Johnston <jjohnstn@redhat.com>
1414
1415 * libc/stdio/fwalk.c (_fwalk.c): Don't traverse the
1416 file chain on the passed in reentrancy struct if it
1417 is _GLOBAL_REENT.
1418
2892ec68
JJ
14192004-01-30 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1420 Jeff Johnston <jjohnstn@redhat.com>
1421
1422 * libc/iconv/iconv.tex: Updated with more information.
1423
ff41498a
JJ
14242004-01-30 Thomas Pfaff <tpfaff@gmx.net>
1425 Jeff Johnston <jjohnstn@redhat.com>
1426
1427 * libc/stdio/fwalk.c (_fwalk): Traverse the given reentrancy
1428 struct for std streams and traverse the global reeentrancy
1429 struct for all other streams.
1430
d5b6c234
JJ
14312004-01-27 Jeff Johnston <jjohnstn@redhat.com>
1432
1433 * libc/stdlib/atexit.c: Protect global atexit list with a
1434 lock when newlib is multithreaded.
1435
01e0a777
JJ
14362004-01-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1437
1438 * configure.in: Add support to generate iconv converter flags
1439 for newlib.h
1440 * newlib.hin: Add iconv converter flags.
1441 * configure: Regenerated.
1442 * libc/Makefile.in: Ditto.
1443 * libc/configure.in: Moved iconv converter parsing logic to
1444 top level newlib configure.in.
1445 * libc/configure: Regenerated.
1446 * libc/iconv/Makefile.in: Ditto.
1447 * libc/iconv/README.TODO
1448 * libc/iconv/charset.aliases: Remove wrong BE aliases for
1449 UCS2/UCS4/UTF8.
1450 * libc/iconv/ccs/Makefile.am: Remove C flag setting now that
1451 newlib.h can be used.
1452 * libc/iconv/ces/Makefile.am: Ditto.
1453 * libc/iconv/lib/Makefile.am: Ditto.
1454 * libc/iconv/ccs/Makefile.in: Regenerated.
1455 * libc/iconv/ces/Makefile.in: Ditto.
1456 * libc/iconv/lib/Makefile.in: Ditto.
1457 * libc/iconv/ccs/README.CCS.SOURCES: Updated.
1458 * libc/iconv/ccs/iconv_mktbl: Don't write junk strings to binaries.
1459 * libc/iconv/ccs/big5.c: Switch to use new underscored flags
1460 defined in newlib.h.
1461 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
1462 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
1463 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
1464 * libc/iconv/ccs/cp775.c: Ditto.
1465 * libc/iconv/ccs/cp850.c: Ditto.
1466 * libc/iconv/ccs/cp852.c: Ditto.
1467 * libc/iconv/ccs/cp855.c: Ditto.
1468 * libc/iconv/ccs/cp866.c: Ditto.
1469 * libc/iconv/ccs/gb_2312_80.c: Ditto.
1470 * libc/iconv/ccs/iso_8859_1.c: Ditto.
1471 * libc/iconv/ccs/iso_8859_15.c: Ditto.
1472 * libc/iconv/ccs/iso_8859_2.c: Ditto.
1473 * libc/iconv/ccs/iso_8859_4.c: Ditto.
1474 * libc/iconv/ccs/iso_8859_5.c: Ditto.
1475 * libc/iconv/ccs/jis_x0201.c: Ditto.
1476 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
1477 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
1478 * libc/iconv/ccs/koi8_r.c: Ditto.
1479 * libc/iconv/ccs/koi8_u.c: Ditto.
1480 * libc/iconv/ccs/ksx1001.c: Ditto.
1481 * libc/iconv/ccs/shift_jis.c: Ditto.
1482 * libc/iconv/ccs/us_ascii.c: Ditto.
1483 * libc/iconv/ccs/binary/big5.cct: Newly generated.
1484 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
1485 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
1486 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
1487 * libc/iconv/ccs/binary/cp775.cct: Ditto.
1488 * libc/iconv/ccs/binary/cp850.cct: Ditto.
1489 * libc/iconv/ccs/binary/cp852.cct: Ditto.
1490 * libc/iconv/ccs/binary/cp855.cct: Ditto.
1491 * libc/iconv/ccs/binary/cp866.cct: Ditto.
1492 * libc/iconv/ccs/binary/gb_2312_80.cct: Ditto.
1493 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
1494 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
1495 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
1496 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
1497 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
1498 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
1499 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
1500 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
1501 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
1502 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
1503 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
1504 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
1505 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
1506 * libc/iconv/lib/bialiasesi.c: Sync with charset.aliases.
1507 * libc/iconv/ces/euc-jp.c: Use newlib.h macros.
1508 * libc/iconv/ces/euc-kr.c: Ditto.
1509 * libc/iconv/ces/euc-tw.c: Ditto.
1510 * libc/iconv/ces/gb2312.c: Ditto.
1511 * libc/iconv/ces/iso-10646-ucs-2.c: Ditto.
1512 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
1513 * libc/iconv/ces/ucs-2-internal.c: Ditto.
1514 * libc/iconv/ces/ucs-4-internal.c: Ditto.
1515 * libc/iconv/ces/utf-16.c: Ditto.
1516 * libc/iconv/ces/utf-8.c: Ditto.
1517 * libc/iconv/lib/aliases.c: Ditto.
1518 * libc/iconv/lib/biccs.c: Ditto.
1519 * libc/iconv/lib/bices.c: Ditto.
1520 * libc/iconv/lib/ccs.c: Ditto.
1521 * libc/iconv/lib/ces.c: Ditto.
1522 * libc/iconv/lib/ces_euc.c: Ditto.
1523 * libc/iconv/lib/ces_iso2022.c: Ditto.
1524 * libc/iconv/lib/ces_table.c: Ditto.
1525 * libc/iconv/lib/converter.c: Ditto.
1526 * libc/iconv/lib/deps.h: Ditto.
1527 * libc/iconv/lib/endian.h: Ditto.
1528 * libc/iconv/lib/iconv.c: Ditto.
1529 * libc/iconv/lib/loaddata.c: Ditto.
1530 * libc/iconv/lib/local.h: Include newlib.h.
1531 * libc/argz/Makefile.in: Regenerated.
1532 * libc/ctype/Makefile.in: Ditto.
1533 * libc/errno/Makefile.in: Ditto.
1534 * libc/iconv/ccs/binary/Makefile.in: Ditto.
1535 * libc/locale/Makefile.in: Ditto.
1536 * libc/misc/Makefile.in: Ditto.
1537 * libc/posix/Makefile.in: Ditto.
1538 * libc/reent/Makefile.in: Ditto.
1539 * libc/search/Makefile.in: Ditto.
1540 * libc/signal/Makefile.in: Ditto.
1541 * libc/stdio/Makefile.in: Ditto.
1542 * libc/stdio64/Makefile.in: Ditto.
1543 * libc/stdlib/Makefile.in: Ditto.
1544 * libc/string/Makefile.in: Ditto.
1545 * libc/syscalls/Makefile.in: Ditto.
1546 * libc/time/Makefile.in: Ditto.
1547 * libc/unix/Makefile.in: Ditto.
1548 * testsuite/newlib.iconv/iconv.exp: New file.
1549 * testsuite/newlib.iconv/iconvjp.c: Ditto.
1550 * testsuite/newlib.iconv/iconvnm.c: Ditto.
1551 * testsuite/newlib.iconv/iconvru.c: Ditto.
1552
786ab12c
JJ
15532004-01-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1554
1555 * acinclude.m4 (--enable-newlib-iconv): New configuration option.
1556 (--enable-newlib-builtin-converters): Ditto.
1557 * configure.in: Add code to set _ICONV_ENABLED flag.
1558 Set _MB_LEN_MAX to 1 if not mb enabled.
1559 * configure: Regenerated.
1560 * aclocal.m4: Ditto.
1561 * Makefile.in: Ditto.
1562 * newlib.hin: Add _ICONV_ENABLED flag.
1563 * libc/Makefile.am: Add support for iconv.
1564 * libc/configure.in: Ditto.
1565 * libc/Makefile.in: Regenerated.
1566 * libc/aclocal.m4: Ditto.
1567 * libc/configure: Ditto.
1568 * libc/libc.texinfo: Add iconv documentation.
1569 * libc/iconv/AUTHORS, libc/iconv/COPYING, libc/iconv/Makefile.am,
1570 libc/iconv/Makefile.in, libc/iconv/README.ORIGINAL,
1571 libc/iconv/README.TODO, libc/iconv/charset.aliases,
1572 libc/iconv/iconv.tex, libc/iconv/ccs/Makefile.am,
1573 libc/iconv/ccs/Makefile.in, libc/iconv/ccs/README.CCS.SOURCES,
1574 libc/iconv/ccs/big5.c, libc/iconv/ccs/cns11643_plane1.c,
1575 libc/iconv/ccs/cns11643_plane14.c, libc/iconv/ccs/cns11643_plane2.c,
1576 libc/iconv/ccs/cp775.c, libc/iconv/ccs/cp850.c,
1577 libc/iconv/ccs/cp852.c, libc/iconv/ccs/cp855.c,
1578 libc/iconv/ccs/cp866.c, libc/iconv/ccs/gb_2312_80.c,
1579 libc/iconv/ccs/iconv_mktbl, libc/iconv/ccs/iso_8859_1.c,
1580 libc/iconv/ccs/iso_8859_15.c, libc/iconv/ccs/iso_8859_2.c,
1581 libc/iconv/ccs/iso_8859_4.c, libc/iconv/ccs/iso_8859_5.c,
1582 libc/iconv/ccs/jis_x0201.c, libc/iconv/ccs/jis_x0208_1983.c,
1583 libc/iconv/ccs/jis_x0212_1990.c, libc/iconv/ccs/koi8_r.c,
1584 libc/iconv/ccs/koi8_u.c, libc/iconv/ccs/ksx1001.c,
1585 libc/iconv/ccs/shift_jis.c, libc/iconv/ccs/us_ascii.c,
1586 libc/iconv/ccs/binary/Makefile.am, libc/iconv/ccs/binary/Makefile.in,
1587 libc/iconv/ccs/binary/big5.cct,
1588 libc/iconv/ccs/binary/cns11643_plane1.cct,
1589 libc/iconv/ccs/binary/cns11643_plane14.cct,
1590 libc/iconv/ccs/binary/cns11643_plane2.cct,
1591 libc/iconv/ccs/binary/cp775.cct, libc/iconv/ccs/binary/cp850.cct,
1592 libc/iconv/ccs/binary/cp852.cct, libc/iconv/ccs/binary/cp855.cct,
1593 libc/iconv/ccs/binary/cp866.cct, libc/iconv/ccs/binary/gb_2312_80.cct,
1594 libc/iconv/ccs/binary/iso_8859_1.cct,
1595 libc/iconv/ccs/binary/iso_8859_15.cct,
1596 libc/iconv/ccs/binary/iso_8859_2.cct,
1597 libc/iconv/ccs/binary/iso_8859_4.cct,
1598 libc/iconv/ccs/binary/iso_8859_5.cct,
1599 libc/iconv/ccs/binary/jis_x0201.cct,
1600 libc/iconv/ccs/binary/jis_x0208_1983.cct,
1601 libc/iconv/ccs/binary/jis_x0212_1990.cct,
1602 libc/iconv/ccs/binary/koi8_r.cct, libc/iconv/ccs/binary/koi8_u.cct,
1603 libc/iconv/ccs/binary/ksx1001.cct,
1604 libc/iconv/ccs/binary/shift_jis.cct,
1605 libc/iconv/ccs/binary/us_ascii.cct,
1606 libc/iconv/ces/Makefile.am, libc/iconv/ces/Makefile.in,
1607 libc/iconv/ces/euc-jp.c, libc/iconv/ces/euc-kr.c,
1608 libc/iconv/ces/euc-tw.c, libc/iconv/ces/gb2312.c,
1609 libc/iconv/ces/iso-10646-ucs-2.c, libc/iconv/ces/iso-10646-ucs-4.c,
1610 libc/iconv/ces/ucs-2-internal.c, libc/iconv/ces/ucs-4-internal.c,
1611 libc/iconv/ces/utf-16.c, libc/iconv/ces/utf-8.c,
1612 libc/iconv/lib/Makefile.am, libc/iconv/lib/Makefile.in,
1613 libc/iconv/lib/aliases.c, libc/iconv/lib/bialiasesi.c,
1614 libc/iconv/lib/biccs.c, libc/iconv/lib/bices.c,
1615 libc/iconv/lib/ccs.c, libc/iconv/lib/ces.c,
1616 libc/iconv/lib/ces_euc.c, libc/iconv/lib/ces_iso2022.c,
1617 libc/iconv/lib/ces_table.c, libc/iconv/lib/converter.c,
1618 libc/iconv/lib/deps.h, libc/iconv/lib/endian.h,
1619 libc/iconv/lib/iconv.c, libc/iconv/lib/loaddata.c,
1620 libc/iconv/lib/local.h, libc/include/iconv.h: New files.
1621 * libc/sys/linux/include/iconv.h: Ditto.
1622 * libc/include/sys/_types.h (_iconv_t): Added.
1623 * doc/aclocal.m4: Regenerated.
1624 * doc/configure: Ditto.
1625 * doc/Makefile.in: Ditto.
1626 * iconvdata/Makefile.in: Ditto.
1627 * iconvdata/aclocal.m4: Ditto.
1628 * iconvdata/configure: Ditto.
1629 * libc/*aclocal.m4: Ditto.
1630 * libc/*Makefile.in: Ditto.
1631 * libc/*configure: Ditto.
1632 * libm/*aclocal.m4: Ditto.
1633 * libm/*Makefile.in: Ditto.
1634 * libm/*configure: Ditto.
1635
ed1a95dc
JJ
16362004-01-22 Thomas Pfaff <tpfaff@gmx.net>
1637
1638 * libc/stdio/findfp.c (__sfp): Protect global FILE pointer list
1639 by a lock when newlib is multithreaded.
1640
7d4be1ef
JJ
16412004-01-21 Jeff Johnston <jjohnstn@redhat.com>
1642
1643 * libc/stdlib/mbrtowc.c (_mbrtowc_r): Fix case where s is null
1644 pointer to match C99 spec.
1645 * libc/stdlib/mbsrtowcs.c (_mbsrtowc_r): Fix to ignore len when
1646 dst is NULL. Also fix to not alter src pointer when dst is NULL
1647 and call _mbrtowc_r instead of _mbtowc_r.
1648 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Call _wcrtomb_r instead
1649 of _wctomb_r.
1650
403f752c
JJ
16512004-01-19 Thomas Pfaff <tpfaff@gmx.net>
1652
1653 * libc/stdio/fclose.c (fclose): Release FILE as the last step.
1654 * libc/stdio/freopen.c (freopen): Ditto.
1655
85b6d63b
CF
16562004-01-16 Christopher Faylor <cgf@redhat.com>
1657
1658 * libc/stdio/vfprintf.c: Add sys/lock.h include.
1659
4af71a91
JJ
16602004-01-16 Thomas Pfaff <tpfaff@gmx.net>
1661
1662 * libc/stdio/findfp.c (__sfp): Remove unnecessary memset.
1663 * libc/stdio/vfprintf.c (__sbprintf): Ditto.
1664 Add calls to __lock_init_recursive and __lock_close_recursive
1665 instead.
1666
6a150987
JJ
16672004-01-15 Thomas Pfaff <tpfaff@gmx.net>
1668
1669 * libc/stdio/fclose.c: Include sys/lock.h.
1670 (fclose): Destroy lock when file is closed.
1671 * libc/stdio/findfp.c (__sfp): Initialize file pointers _lock
1672 member.
1673 * libc/stdio/freopen.c: Include sys/lock.h.
1674 (_freopen_r): Destroy lock when file is closed.
1675 * libc/stdio/vfprintf.c (__sbprintf): Initialize file pointers
1676 _lock member.
1677
c9524c0c
JJ
16782004-01-08 Joel Sherrill <joel@oarcorp.com>
1679
1680 * libc/ctype/iswctype.c, include/sys/reent.h, libc/stdlib/a64l.c:
1681 Remove warnings.
1682
9f13ccb3
JJ
16832004-01-08 Joel Sherrill <joel@oarcorp.com>
1684
1685 * libc/sys/rtems/sys/queue.h: New file.
1686 * libc/include/sys/signal.h: Reflect renumbering of signals to
1687 fit into 32-bit mask.
1688 * libc/include/sys/unistd.h: Add fdatasync() prototype.
1689 * libc/sys/rtems/crt0.c: Add more symbols which may be implicitly
1690 required. In particular, add the reentrant variants of libc calls.
1691 * libc/sys/rtems/sys/dirent.h: Add scandir() prototype.
1692
9488c414
JJ
16932004-01-06 Mark Mitchell <mark@codesourcery.com>
1694
1695 * libc/sys/arm/syscalls.c (unistd.h): Include it.
1696 (remap_handle): Use STDIN_FILENO instead of __sfileno(stdin).
1697 Similarly for stdout and stderr.
1698
5125f919
JJ
16992004-01-06 Jeff Johnston <jjohnstn@redhat.com>
1700
1701 * libc/libc.texinfo: Correct escape character for @ sign
1702 so file will be processed by make info. Update copyright years.
1703 * libm/libm.texinfo: Ditto.
1704
9fc92ceb
JJ
17052003-12-05 Jeff Johnston <jjohnstn@redhat.com>
1706
1707 * libc/include/sys/stat.h: No longer include stat-dj.h.
1708 * libc/include/sys/stat-dj.h: Removed.
1709
25c7dad1
JJ
17102003-12-05 Jeff Johnston <jjohnstn@redhat.com>
1711
1712 * libc/include/wchar.h: Include <sys/reent.h>.
1713
576593dd
CF
17142003-12-05 Christopher Faylor <cgf@redhat.com>
1715
1716 * libc/stdlib/mbrlen.c: Change include order to prevent compiler errors
1717 when defining _mbrtowc.
1718 * libc/stdlib/mbsinit.c: Ditto.
1719 * libc/stdlib/mbsrtowcs.c: Ditto.
1720 * libc/stdlib/wcrtomb.c: Ditto.
1721 * libc/stdlib/wcsrtombs.c: Ditto.
1722 * libc/stdlib/wctob.c: Ditto.
1723
17242003-12-05 Christopher Faylor <cgf@redhat.com>
1725
1726 * libc/stdlib/mbrlen.c: Change include order to prevent compiler
1727 errors when defining _mbrtowc.
1728 * libc/stdlib/mbsinit.c: Ditto.
1729 * libc/stdlib/mbsrtowcs.c: Ditto.
1730
4c889d62
CF
17312003-12-05 Christopher Faylor <cgf@redhat.com>
1732
1733 * libc/stdlib/mbrtowc.c: Change include order to prevent compiler
1734 errors when defining _mbrtowc.
1735
5d109bde
JJ
17362003-12-04 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1737
1738 * libc/stdio/vfprintf.c (_VFPRINTF_R): Use _r versions
1739 of mb routines for %lc and %ls support.
1740 * libc/stdio/vfscanf.c (_svfscanf_r): Add %lc, %C,
1741 %ls, and %S support. Remove CYGNUS_NEC markers and
1742 code within.
1743
3aca0888
JJ
17442003-12-04 Jeff Johnston <jjohnstn@redhat.com>
1745
1746 * libc/include/wchar.h: Add prototypes for _mbrtowc_r,
1747 _wcrtomb_r, and _wcsrtombs_r.
1748
18dcb167
CV
17492003-12-01 Corinna Vinschen <corinna@vinschen.de>
1750
1751 * libc/include/sys/fcntl.h: Don't define struct flock when on
1752 Cygwin. This is done in winsup/cygwin/include/cygwin/types.h now.
1753
93f8e673
CF
17542003-11-28 Christopher Faylor <cgf@redhat.com>
1755
1756 * libc/include/sys/signal.h: Use system specific signal file when
1757 building on cygwin.
1758
cc2a11e0
JJ
17592003-11-27 Jeff Johnston <jjohnstn@redhat.com>
1760
1761 * libc/include/stdlib.h (_atoi_r): New prototype.
1762 * libc/stdlib/atoi.c (_atoi_r): New reentrant function.
1763
83bf7d2f
JJ
17642003-11-27 Jeff Johnston <jjohnstn@redhat.com>
1765
1766 * libc/include/stdlib.h (_atoll_r, _atol_r): New prototypes.
1767 * libc/stdlib/atol.c (_atol_r): New reentrant function.
1768 * libc/stdlib/atoll.c (_atoll_r): Ditto.
1769
5d109bde 17702003-11-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
6bbb700c
JJ
1771 Jeff Johnston <jjohnstn@redhat.com>
1772
1773 * libc/include/stdlib.h (lldiv_t): New type.
1774 (atoll, llabs, lldiv): New prototypes.
1775 * libc/stdlib/Makefile.am: Add support for atoll, llabs, and lldiv.
1776 * libc/stdlib/stdlib.tex: Ditto.
1777 * libc/stdlib/Makefile.in: Regenerated.
1778 * libc/stdlib/atoll.c: New file.
1779 * libc/stdlib/llabs.c: Ditto.
1780 * libc/stdlib/lldiv.c: Ditto.
1781
0a707c79
JJ
17822003-11-26 Corinna Vinschen <corinna@vinschen.de>
1783
1784 * libc/include/fcntl.h: Declare syscalls only when building newlib.
1785 * libc/include/unistd.h: Ditto.
1786 * libc/include/stat.h: Ditto. Also declare struct stat64.
1787
5d109bde 17882003-11-24 Artem B. Bityuckiy <abitytsky@softminecorp.com>
6db165c2
JJ
1789
1790 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix check for 'C' format
1791 specifier to use ch instead of *fmt.
1792
5d109bde 17932003-11-21 Artem B. Bityuckiy <abitytsky@softminecorp.com>
759a097e
JJ
1794
1795 * libc/stdio/vfprintf.c (_VFPRINTF_R, get_arg): Move mb-specific
1796 code within checks for MB_CAPABLE. For non-mb-capable platforms,
1797 use simple byte logic.
1798
4f6149d6
JJ
17992003-11-21 Jeff Johnston <jjohnstn@redhat.com>
1800
1801 * libc/stdio/vfscanf.c (__svfscanf_r)[!_NO_LONGDBL]: Don't use
1802 _strtold routine for processing floats and doubles since it
1803 is not as fast as _strtod_r.
1804
7343eefb
JJ
18052003-11-20 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
1806
1807 * libc/machine/h8300/defines.h : Correct pointer register defines
1808 for normal mode.
1809 * libc/machine/h8300/memcpy.S : Use add/sub instead of adds/subs
1810 for normal mode.
1811 * libc/machine/h8300/reg_memcpy.S : Likewise.
1812 * libc/machine/h8300/reg_memset.S : Likewise.
1813 * libc/machine/h8300/strcmp.S : Likewise.
1814
64cfc6f2
JJ
18152003-11-19 Nicholas Wourms <nwourms@netscape.net>
1816
1817 * configure.host: Enable positional arguments for printf
1818 family for Cygwin.
1819 * libc/stdio/vfprintf.c (_VFPRINTF_R): Remove extraneous
1820 pointer reference for quad_ptr_t.
1821
e1dc8171
JJ
18222003-11-19 Jeff Johnston <jjohnstn@redhat.com>
1823
1824 * libc/stdio/scanf.c: Don't include local.h more than once.
1825
a472290f
JJ
18262003-11-18 Corinna Vinschen <corinna@vinschen.de>
1827
1828 * libc/include/sys/fcntl.h: Declare _open64.
1829 * libc/include/sys/stat.h: Declare _fstat64.
1830 * libc/include/sys/unistd.h: Declare _lseek64.
1831
a2f1155c
CV
18322003-11-17 Corinna Vinschen <corinna@vinschen.de>
1833
1834 * libc/include/stdlib.h (getprogname): Declare for Cygwin.
1835 (setprogname): Ditto.
1836
030441fc
JJ
18372003-11-10 Jeff Johnston <jjohnstn@redhat.com>
1838
1839 * libc/machine/powerpc/ufix64toa.c (_ufix64to_r): Fix shifts
1840 to use (Ebits + 1) which accounts for the sign-bit.
1841
fe359733
JJ
18422003-11-07 Jeff Johnston <jjohnstn@redhat.com>
1843
1844 * configure.host: Remove -DLOOSE_KERNEL_NAMES flag for linux
1845 x86 build.
1846 * iconvdata/Makefile.am: Make dependent on newlib's configure.host
1847 and set up default flags to pass to aclocal.
1848 * iconvdata/Makefile.in: Regenerated.
1849 * libc/sys/linux/Makefile.am: Add _ELIX_LEVEL_4 getlogin, getpwnam,
1850 and getpwuid routines.
1851 * libc/sys/linux/Makefile.in: Regenerated.
1852 * libc/sys/linux/getlogin.c: New stub file to allow x86-linux
1853 applications to link with newlib's shared libc library.
1854 * libc/sys/linux/getpwnam.c: Ditto.
1855 * libc/sys/linux/getpwuid.c: Ditto.
1856 * libc/sys/linux/sys/types.h: Include <features.h> and supply types
1857 that were formerly supplied by /usr/include/linux/types.h with
1858 kernel types.
1859 * testsuite/newlib.wctype/twctype.c: Fix testcase to properly
1860 test _ELIX_LEVEL macro.
1861
2985521f
JJ
18622003-11-07 Jeff Johnston <jjohnstn@redhat.com>
1863
1864 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix typos that should be
1865 referring to _NO_LONGLONG macro.
1866
dcad6a89
JJ
18672003-11-06 Jeff Johnston <jjohnstn@redhat.com>
1868
1869 * libc/sys/linux/linuxthreads/td_init.c: Replace function name
1870 in LOG() macro so this will compile on gcc 3.4 and up.
1871 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
1872 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
1873 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
1874 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
1875 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
1876 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
1877 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
1878 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
1879 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
1880 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
1881 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
1882 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
1883 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
1884 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
1885 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
1886 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
1887 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
1888 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
1889 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
1890 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
1891 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
1892 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
1893 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
1894 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
1895 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
1896 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
1897 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
1898 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
1899 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
1900 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
1901 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
1902 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
1903 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
1904 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
1905 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
1906 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
1907
d2ffac09 19082003-11-05 Jeff Johnston <jjohnstn@redhat.com>
5d109bde 1909 Artem B. Bityuckiy <abitytsky@softminecorp.com>
d2ffac09
JJ
1910
1911 * libc/stdio/vfprintf.c (_VFPRINTF_R): Add support for
1912 %ls, %S, %lc, and %C format specifiers.
1913 (get_arg): Ditto.
1914 * libc/stdio/sprintf.c: Add documentation regarding new
1915 format specifiers added in vfprintf.c.
1916
da2d1227
JJ
19172003-11-05 Jeff Johnston <jjohnstn@redhat.com>
1918
1919 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Numerous fixes
1920 to make code work as specified in standard.
1921
3ef05bac
JJ
19222003-10-23 Jeff Johnston <jjohnstn@redhat.com>
1923
1924 * configure.in: Use absolute newlib basedir when forming
1925 CC_FOR_NEWLIB include options.
1926 * configure: Regenerated.
1927
5d109bde 19282003-10-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4340b63b
JJ
1929
1930 * libc/string/wcsnlen.c: New file.
1931 * libc/include/wchar.h: Add wcsnlen prototype.
1932 * libc/string/Makefile.am: Add wcsnlen support.
1933 * libc/string/Makefile.in: Regenerated.
1934 * libc/string/wcstrings.tex: Add wcsnlen documentation.
1935
63a823f8
RS
19362003-10-22 Richard Sandiford <rsandifo@redhat.com>
1937
1938 * libc/stdlib/exit.c (exit): Handle null _GLOBAL_REENT->_atexits.
1939
76a7df52
JJ
19402003-10-20 Bob Wilson <bob.wilson@acm.org>
1941
1942 * libc/locale/locale.c: Use double quotes in code.
1943 * libc/locale/locale.tex: Likewise.
1944 * libc/libc.texinfo: Hyphenate "floating-point".
1945 * libc/machine/necv70/necv70.tex: Likewise.
1946 * libc/stdio/sprintf.c: Likewise.
1947 * libc/stdio/sscanf.c: Likewise.
1948 * libc/stdlib/atof.c: Likewise.
1949 * libc/stdlib/ldtoa.c: Fix comment typo.
1950 * libc/stdlib/div.c: Use @ifnottex instead of @ifinfo.
1951 * libc/stdlib/ldiv.c: Likewise.
1952 * libm/common/s_expm1.c: Likewise.
1953 * libm/common/s_ilogb.c: Hyphenate "floating-point". Use "nonzero".
1954 * libm/common/s_infinity: Hyphenate "double- and single-precision".
1955 * libm/common/s_nan.c: Likewise. Also correct the FUNCTION summary.
1956 * libm/common/s_nextafter.c: Fix typo. Hyphenate "double-precision"
1957 and "floating-point".
1958 * libm/common/s_scalbn.c: Correct the FUNCTION summary.
1959 * libm/math/e_pow.c: Fix comment typo.
1960 * libm/math/math.tex: Hyphenate "single-precision" and "floating-point".
1961 * libm/math/s_asinh.c: Use @ifnottex instead of @ifinfo.
1962 * libm/math/s_atan.c: Likewise.
1963 * libm/math/s_frexp.c: Likewise. Also use "nonzero".
1964 * libm/math/s_isnan.c: Hyphenate "single-precision" and
1965 "floating-point". Use "nonzero".
1966 * libm/math/s_ldexp.c: Use @ifnottex instead of @ifinfo.
1967 * libm/math/w_acos.c: Likewise.
1968 * libm/math/w_acosh.c: Likewise.
1969 * libm/math/w_asin.c: Likewise.
1970 * libm/math/w_atan2.c: Likewise.
1971 * libm/math/w_atanh.c: Likewise.
1972 * libm/math/w_cosh.c: Likewise.
1973 * libm/math/w_exp.c: Likewise.
1974 * libm/math/w_exp2.c: Likewise. Add missing @end and missing @tex
1975 version of 2^x in the description.
1976 * libm/math/w_fmod.c: Use @ifnottex instead of @ifinfo.
1977 * libm/math/w_gamma.c: Likewise.
1978 * libm/math/w_hypot.c: Likewise.
1979 * libm/math/w_j0.c: Likewise.
1980 * libm/math/w_sinh.c: Likewise.
1981 * libm/math/w_pow.c: Replace "exp1.0nt" with "exponent".
1982 * libm/mathfp/mathfp.tex: Hyphenate "single-precision" and
1983 "floating-point".
1984 * libm/mathfp/e_acosh.c: Use @ifnottex instead of @ifinfo.
1985 * libm/mathfp/e_atanh.c: Likewise.
1986 * libm/mathfp/e_hypot.c: Likewise.
1987 * libm/mathfp/er_lgamma.c: Likewise.
1988 * libm/mathfp/s_acos.c: Likewise.
1989 * libm/mathfp/s_asine.c: Likewise.
1990 * libm/mathfp/s_asinh.c: Likewise.
1991 * libm/mathfp/s_atan.c: Likewise.
1992 * libm/mathfp/s_atan2.c: Likewise.
1993 * libm/mathfp/s_atangent.c: Likewise.
1994 * libm/mathfp/s_cosh.c: Likewise.
1995 * libm/mathfp/s_exp.c: Likewise.
1996 * libm/mathfp/s_fmod.c: Likewise.
1997 * libm/mathfp/s_frexp.c: Likewise. Also use "nonzero".
1998 * libm/mathfp/s_isnan.c: Hyphenate "single-precision" and
1999 "floating-point". Use "nonzero".
2000 * libm/math/s_pow.c: Replace "exp1.0nt" with "exponent".
2001 * libm/mathfp/s_ldexp.c: Use @ifnottex instead of @ifinfo.
2002 * libm/mathfp/s_sineh.c: Likewise.
2003 * libm/mathfp/w_jn.c: Likewise.
2004
b11926e7
JJ
20052003-10-15 Alexandre Oliva <aoliva@redhat.com>
2006
2007 * Makefile.am: Add $(MAKE) comments to multido and multiclean
2008 lines, to enable parallel make.
2009 * Makefile.in: Rebuilt.
2010
31271d5c
CF
20112003-10-14 Christopher Faylor <cgf@redhat.com>
2012
2013 * libc/time/clock.c: Clarify documentation of return value when no
2014 measurement is available.
2015
bc707cbd
JJ
20162003-09-29 Ian Lance Taylor <ian@wasabisystems.com>
2017
2018 * libm/configure.in: Check libm_machine_dir, not machine_dir.
2019 * libm/configure: Regenerate.
2020 * libm/Makefile.in: Ditto.
2021
f4b10605
JR
20222003-09-29 J"orn Rennecke <joern.rennecke@superh.com>
2023
2024 * libc/machine/sh/strncpy.S: New file.
2025 * libc/machine/sh/Makefile.am: Add entry & rule for new file.
2026 * libc/machine/sh/Makefile.in: Regenerate.
2027
ce044d8f
JW
20282003-09-11 James E Wilson <wilson@specifixinc.com>
2029
2030 * MAINTAINERS: Update my e-mail address.
2031
080ef411
CV
20322003-09-10 Corinna Vinschen <corinna@vinschen.de>
2033
2034 * libc/include/sys/unistd.h: Declare function daemon for Cygwin.
2035
3a767b69
JJ
20362003-09-09 Jeff Johnston <jjohnstn@redhat.com>
2037
080ef411
CV
2038 * libc/machine/powerpc/fix64.h: Fix typo for _simdldcheck
2039 prototype.
2040 * libc/machine/powerpc/simdldtoa.c: Remove prototype for
2041 _simdldcheck(). Also add unsigned cast for index variable in
2042 for loop using sizeof operators.
2043 * libc/machine/powerpc/strtoufix32.c: Remove unused variable.
2044 * libc/machine/powerpc/strtosfix64.c: Fix call to _simdldcheck.
2045 * libc/machine/powerpc/strtoufix64.c (_strtoufix64_r): Ditto
2046 plus fix shift calculation for determining if there is a
2047 carry from word2.
3a767b69 2048
84154fcc
CV
20492003-09-09 Corinna Vinschen <corinna@vinschen.de>
2050
2051 * libc/include/grp.h: Don't define setgrfile, group_from_gid and
2052 setgroupent for Cygwin.
2053
f1b15058
JJ
20542003-09-05 Jeff Johnston <jjohnstn@redhat.com>
2055
2056 * libc/stdlib/exit.c (exit): Setting of struct _atexit ptr p
2057 is different for _REENT_SMALL than when using regular reent
2058 struct.
2059
cf88c20f 20602003-09-05 Ben Elliston <bje@wasabisystems.com>
0a8fd4dc 2061
b73263e4
BE
2062 * libc/ctype/wctype.c (_DEFUN): Remove empty default case, as
2063 modern versions of GCC issue a warning.
2064
0a8fd4dc
BE
2065 * libc/machine/xscale/memcmp.c (memcmp): Strip trailing whitespace
2066 after continuation characters that induces a warning from modern
2067 versions of GCC.
2068
10a32423
BE
20692003-09-04 Ben Elliston <bje@wasabisystems.com>
2070
2071 * libc/stdlib/mstats.c[_ELIX_LEVEL]: Fix guards. #ifndef FOO ||
2072 FOO >= 2 is invalid; use #if !defined (FOO) || FOO >= 2 instead.
2073
ed027a53
JJ
20742003-09-02 Thomas Pfaff <tpfaff@gmx.net>
2075
2076 * libc/stdlib/atexit.c: Rename _REENT to _GLOBAL_REENT throughout.
2077 * libc/stdlib/exit.c : Ditto.
2078 * libc/stdlib/on_exit.c: Ditto.
2079
880fa247
JJ
20802003-08-27 Corinna Vinschen <corinna@vinschen.de>
2081
2082 * libc/include/reent.h: Define stat64 as __stat64 when
2083 compiling newlib for Cygwin.
2084
54c1d7ea
JJ
20852003-08-26 Jeff Johnston <jjohnstn@redhat.com>
2086
2087 * libc/include/sys/stat.h[__CYGWIN__]: Only define stat64 as
2088 __stat64 when compiling newlib.
2089
0eca0750
JJ
20902003-08-26 Jeff Johnston <jjohnstn@redhat.com>
2091
2092 * libc/include/stdio.h: Allow the io64 function prototypes for
2093 Cygwin when compiling newlib.
2094 * libc/include/sys/stat.h[__CYGWIN__]: Define stat64 as __stat64
2095 to expose the Cygwin struct __stat64 type.
2096 * libc/stdio64/fseeko64.c: Use _fstat64_r and pass a struct stat64
2097 pointer.
2098 * libc/stdio64/tmpfile64.c(_tmpfile64_r): Call _fopen64_r.
2099
9d4aef19
CF
21002003-08-23 Christopher Faylor <cgf@redhat.com>
2101
2102 * libc/stdio64/fseeko64.c (fseeko64_r): Rename second fseeko64_r
2103 definition to fseeko64.
2104
9fc9e1c9
JJ
21052003-08-22 Jeff Johnston <jjohnstn@redhat.com>
2106
2107 * libc/include/sys/reent.h: Add _GLOBAL_REENT macro.
2108 * libc/stdio: Globally remove/replace all references to fp->_data.
2109 Replace with _REENT or _GLOBAL_REENT where appropriate.
2110 * libc/stdio/asprintf.c: Ditto.
2111 * libc/stdio/fclose.c: Ditto.
2112 * libc/stdio/fvwrite.c: Ditto.
2113 * libc/stdio/makebuf.c: Ditto.
2114 * libc/stdio/refill.c: Ditto.
2115 * libc/stdio/local.h: Ditto.
2116 * libc/stdio/setvbuf.c: Ditto.
2117 * libc/stdio/sscanf.c: Ditto.
2118 * libc/stdio/stdio.c: Ditto.
2119 * libc/stdio/ungetc.c: Ditto.
2120 * libc/stdio/vfscanf.c: Ditto.
2121 * libc/stdio/vsscanf.c: Ditto.
2122 * libc/stdio/fopen.c: Ditto. Also use _fseek_r in _fopen_r.
2123 * libc/stdio/vasprintf.c: Ditto. Also call _vfprintf_r directly.
2124 * libc/stdio/vsnprintf.c: Ditto.
2125 * libc/stdio/vsprintf.c: Ditto.
2126 * libc/stdio/fcloseall.c(fcloseall): Use _GLOBAL_REENT macro
2127 instead of _REENT to walk file list.
2128 * libc/stdio/fflush.c: Ditto.
2129 * libc/stdio/fgetpos.c: Add reentrant version and have regular
2130 version call reentrant version with _REENT argument.
2131 * libc/stdio/fsetpos.c: Ditto.
2132 * libc/stdio/fseek.c: Ditto.
2133 * libc/stdio/fseeko.c: Ditto.
2134 * libc/stdio/ftell.c: Ditto.
2135 * libc/stdio/ftello.c: Ditto.
2136 * libc/stdio/freopen.c: Ditto.
2137 * libc/stdio/findfp.c: Use _GLOBAL_REENT pointer when adding
2138 new files to chain. Also use _GLOBAL_REENT pointer for
2139 cleaning up.
2140 * libc/stdio/fiprintf.c: Reformatted to minimize duplicate code.
2141 * libc/stdio/siprintf.c: Ditto.
2142 * libc/stdio/iprintf.c: Ditto.
2143 * libc/stdio/fprintf.c: Ditto.
2144 * libc/stdio/printf.c: Ditto.
2145 * libc/stdio/snprintf.c: Call _vfprintf_r directly.
2146 * libc/stdio/sprintf.c: Ditto.
2147 * libc/stdio/vprintf.c: Ditto. Also add _REENT_ONLY check.
2148 * libc/stdio/rewind.c: Call _fseek_r directly.
2149 * libc/stdio/tmpfile.c: Call _fopen_r and _remove_r directly.
2150 * libc/stdio/vfprintf.c (_VFPRINTF_R): Change _r routines to use
2151 data pointer.
2152 (get_arg): Add extra struct _reent pointer argument.
2153 * libc/stdio64/fgetpos64.c: Add _r versions, remove any reference
2154 to fp->_data.
2155 * libc/stdio64/fopen64.c: Ditto.
2156 * libc/stdio64/freopen64.c: Ditto.
2157 * libc/stdio64/fsetpos64.c: Ditto.
2158 * libc/stdio64/ftello64.c: Ditto.
2159 * libc/stdio64/local64.h: Ditto.
2160 * libc/stdio64/stdio64.c: Ditto.
2161 * libc/stdio64/fseeko64.c: Ditto plus use _fstat_r instead of
2162 _fstat64_r for the meantime.
2163
8f021114
JJ
21642003-08-19 Jeff Johnston <jjohnstn@redhat.com>
2165
2166 * libc/stdlib/mallocr.c (mALLOc, rEALLOc, mEMEALIGn): Enhance
2167 overflow detection.
2168
db979bb4
JJ
21692003-08-13 Aldy Hernandez <aldyh@redhat.com>
2170
2171 * libc/machine/powerpc/machine/stdlib.h: Wrap SPE functions in
2172 extern "C".
2173
6efbdc7d
JJ
21742003-08-13 Jeff Johnston <jjohnstn@redhat.com>
2175
2176 * libc/include/math.h: Add prototypes for __signbitf and
2177 __signbitd.
2178
e895fc20
JJ
21792003-07-31 Jeff Johnston <jjohnstn@redhat.com>
2180
2181 * libc/ctype/iswalpha.c: Fix calls to __jp2uc to pass the
2182 correct type of conversion when dealing with EUCJP or SJIS.
2183 * libc/ctype/iswblank.c: Ditto.
2184 * libc/ctype/iswcntrl.c: Ditto.
2185 * libc/ctype/iswprint.c: Ditto.
2186 * libc/ctype/iswpunct.c: Ditto.
2187 * libc/ctype/iswspace.c: Ditto.
2188 * libc/ctype/towlower.c: Ditto.
2189 * libc/ctype/towupper.c: Ditto.
2190
0302dfe5
NC
21912003-07-31 Nick Clifton <nickc@redhat.com>
2192
2193 * libc/sys/sysnecv850/crt0.S (_start): Allocate 4 slots on stack
2194 before calling main, in case it saves its argument registers.
2195 Remove reference to deleted v850ea port.
2196 * configure.host: Remove reference to deleted v850ea port.
2197 Do not use -mv850 when building for v850e target. This
2198 prevents the ctbp system register from being initialised.
2199
42de5592
JJ
22002003-07-29 Honda Hiroki <hhonda@ipflex.com>
2201
2202 * libc/stdio/vfprintf.c: Set output size to 1 when
2203 we have %f format with precision 0 and # flag not specified.
2204
e5de27b6
AO
22052003-07-29 Alexandre Oliva <aoliva@redhat.com>
2206
2207 * libc/machine/mn10300/setjmp.S: Never emit both .am33 and
2208 .am33_2.
2209
3c98a593
CF
22102003-07-25 Christopher Faylor <cgf@redhat.com>
2211
2212 * libc/stdio64/fdopen64.c: Include sys/lock.h.
2213
e222bf67
CF
22142003-07-25 Christopher Faylor <cgf@redhat.com>
2215
2216 * configure.host: Find cygwin include directory, when appropriate.
2217
03536757
CF
22182003-07-24 Christopher Faylor <cgf@redhat.com>
2219
2220 * libc/stdio64/fdopen64.c: New file.
2221 * libc/stdio64/Makefile.am (LIB_OBJS): Add fdopen64.o
2222 * libc/stdio64/Makefile.in: Regenerate.
2223 * libc/include/stdio.h (fdopen64): Define.
2224 * libc/include/stdio.h (_fdopen64_r): Ditto.
2225
18072a4f
AO
22262003-07-10 Alexandre Oliva <aoliva@redhat.com>
2227
2228 2000-04-27 Alexandre Oliva <aoliva@cygnus.com>
2229 * libc/include/machine/setjmp.h (_JBLEN, AM33/2.0): Set to 26.
2230 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Save and
2231 restore callee-saved FP registers.
2232
e0bec12f
JR
22332003-07-10 J"orn Rennecke <joern.rennecke@superh.com>
2234
2235 * libc/include/sys/unistd.h (ftruncate, truncate): Also declare
2236 for __sh__.
2237 * libc/sys/sh/Makefile.am (lib_a_SOURCES): Add ftruncate.c and
2238 truncate.c.
2239 * libc/sys/sh/Makefile.in: Regenerate.
2240 * libc/sys/sh/sys/syscall.h: (SYS_truncate, SYS_ftruncate): Define.
2241 * libc/sys/sh/ftruncate.c: New file.
2242 * libc/sys/sh/truncate.c: Likewise.
2243
03d65dd9
AO
22442003-07-09 Alexandre Oliva <aoliva@redhat.com>
2245
2246 * libc/include/math.h (nan, nanf): Update prototype to C99.
2247 * libm/common/s_nan.c (nan): Likewise.
2248 * libm/common/s_nanf.c (nanf, nan): Likewise.
2249 * libc/sys/linux/cmath/math_private.h (nan, nanf): Likewise.
2250
74aa9d7d
JJ
22512003-07-07 Jeff Johnston <jjohnstn@redhat.com>
2252
2253 * libc/include/stdbool.h: Removed as this is defined by gcc.
2254
0a447ef3
JJ
22552003-07-03 Shaun Jackman <sjackman@pathwayconnect.com>
2256
2257 * libc/include/stdbool.h: New header file defined by C99.
2258
282eff9a
JJ
22592003-07-02 Jeff Johnston <jjohnstn@redhat.com>
2260
2261 * libc/include/sys/types.h (int8_t): Make signed.
2262
4e989b11
JJ
22632003-07-02 Jeff Johnston <jjohnstn@redhat.com>
2264
2265 * libc/sys/linux/include/mqueue.h: Add include of <sys/fcntl.h>.
2266
07b40cf8
JJ
22672003-06-27 Jose Goncalves <jose.goncalves@inov.pt>
2268
2269 * libc/sys/linux/mq_open.c (mq_open): Only set created flag
2270 on if we actually created the shared memory file exclusively.
2271
7daa7891
JJ
22722003-06-27 Joe Vornehm <joev@mitre.org>
2273
2274 * libm/common/s_fpclassify.c (__fpclassifyf): Fix
2275 comparisons to account for unsigned internal value w.
2276
51fa7562
JJ
22772003-06-26 Jeff Johnston <jjohnstn@redhat.com>
2278
2279 * libc/sys/linux/mq_open.c (mq_open): Must allocate rdbuf and
2280 wrbuf for a non-creating open.
2281
b8f7ea5c
JJ
22822003-06-24 Kazu Hirata <kazu@cs.umass.edu>
2283
2284 * libc/machine/h8300/setarch.h: New.
2285 * libc/machine/h8300/memcpy.S: Use it.
2286 * libc/machine/h8300/memset.S: Likewise.
2287 * libc/machine/h8300/reg_memcpy.S: Likewise.
2288 * libc/machine/h8300/reg_memset.S: Likewise.
2289 * libc/machine/h8300/setjmp.S: Likewise.
2290 * libc/machine/h8300/strcmp.S: Likewise.
2291
6d7ea52a
RS
22922003-06-24 Richard Sandiford <rsandifo@redhat.com>
2293
2294 * libc/sys/h8300hms/crt0.S (_start): Fix register sizes in call
2295 to atexit().
2296
5a74f2aa
JJ
22972003-06-20 Jeff Johnston <jjohnstn@redhat.com>
2298
2299 * configure.host (iq2000): Add tabs.
2300
8266e478
JJ
23012003-06-20 Jeff Johnston <jjohnstn@redhat.com>
2302
2303 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix macros
2304 to handle latest on_exit change.
2305 * libc/sys/linux/Makefile.am: Remove special compilation
2306 for malloc.c and mcheck.c.
2307 * libc/sys/linux/Makefile.in: Regenerated.
2308 * libc/sys/linux/mntent.c: Add definition of _LIBC flag
2309 after including <features.h>.
2310 * libc/sys/linux/mcheck.c: Ditto.
2311 * libc/sys/linux/malloc.c: Ditto plus define _GNU_SOURCE
2312 for <features.h>.
2313 * libc/sys/linux/intl/Makefile.am: Remove -D_LIBC and
2314 add -DNOT_IN_libc to C flags.
2315 * libc/sys/linux/intl/Makefile.in: Regenerated.
2316 * libc/sys/linux/intl/config.h: Add definition of _LIBC.
2317 * libc/sys/linux/linuxthreads/semaphore.h: Include
2318 <bits/pthreadtypes.h>.
2319 * libc/sys/linux/sys/dirent.h: Define _LIBC and NOT_IN_libc after
2320 including <features.h>.
2321 * libc/sys/linux/sys/lock.h: Ditto.
2322
0efe117b
NC
23232003-06-11 Nick Clifton <nickc@redhat.com>
2324
2325 * libc/reent/reent.c (reclaim_reent): Fix typo in code to free
2326 _on_exit_args_ptr.
2327
bfdfd7e6
AG
23282003-06-10 Stan Cox <scox@redhat.com>
2329 Anthony Green <green@redhat.com>
2330
2331 * configure.host: Add iq2000 support.
2332 * newlib/libc/include/machine/ieeefp.h: Ditto.
2333 * newlib/libc/include/machine/setjmp.h: Ditto.
2334 * libc/machine/iq2000, libc/machine/iq2000/setjmp.S,
2335 libc/machine/iq2000/aclocal.m4, libc/machine/iq2000/configure,
2336 libc/machine/iq2000/configure.in, libc/machine/iq2000/Makefile.am,
2337 libc/machine/iq2000/Makefile.in: New files.
2338
d9e4104b
RS
23392003-06-10 Richard Sandiford <rsandifo@redhat.com>
2340
2341 * libc/sys/h8300hms/setarch.h: New file.
2342 * libc/sys/h8300hms/close.S, libc/sys/h8300hms/fstat.S,
2343 libc/sys/h8300hms/lseek.S, libc/sys/h8300hms/open.S,
2344 libc/sys/h8300hms/read.S, libc/sys/h8300hms/stat.S,
2345 libc/sys/h8300hms/write.S, libc/sys/h8300hms/crt0.S: Use it.
2346
729d1ff9
JJ
23472003-06-06 Jeff Johnston <jjohnstn@redhat.com>
2348
2349 * libc/argz/argz_add.c: Change to use _DEFUN macro for function
2350 definition.
2351 * libc/argz/argz_add_sep.c: Ditto.
2352 * libc/argz/argz_append.c libc/argz/argz_count.c: Ditto.
2353 * libc/argz/argz_create.c libc/argz/argz_create_sep.c: Ditto.
2354 * libc/argz/argz_delete.c libc/argz/argz_extract.c: Ditto.
2355 * libc/argz/argz_insert.c libc/argz/argz_next.c: Ditto.
2356 * libc/argz/argz_replace.c libc/argz/argz_stringify.c: Ditto.
2357 * libc/argz/envz_add.c libc/argz/envz_entry.c: Ditto.
2358 * libc/argz/envz_get.c libc/argz/envz_merge.c: Ditto.
2359 * libc/argz/envz_remove.c libc/argz/envz_strip.c: Ditto.
2360 * libc/locale/nl_langinfo.c libc/misc/ffs.c: Ditto.
2361 * libc/posix/closedir.c libc/posix/creat.c: Ditto.
2362 * libc/posix/execl.c libc/posix/execle.c: Ditto.
2363 * libc/posix/execlp.c libc/posix/execve.c: Ditto.
2364 * libc/posix/isatty.c libc/posix/opendir.c: Ditto.
2365 * libc/posix/popen.c libc/posix/readdir.c: Ditto.
2366 * libc/posix/readdir_r.c libc/posix/rewinddir.c: Ditto.
2367 * libc/posix/scandir.c libc/posix/seekdir.c: Ditto.
2368 * libc/posix/telldir.c libc/search/hcreate.c: Ditto.
2369 * libc/search/tdelete.c libc/search/tdestroy.c: Ditto.
2370 * libc/search/tfind.c libc/search/tsearch.c: Ditto.
2371 * libc/search/twalk.c libc/signal/signal.c: Ditto.
2372
75d7d177
NC
23732003-06-05 Nick Clifton <nickc@redhat.com>
2374
2375 * libc/include/sys/reent.h (struct _on_exit_args): New
2376 structure containing fields used by the on_exit() function.
2377 (struct _atexit): Include struct _on_exit_args. For
2378 _REENT_SMALL do his via a pointer that is initialised when
2379 needed.
2380 * libc/reent/reent.c (_reclaim_reent): Free the _on_exit_args
2381 structure, if one has been allocated.
2382 * libc/stdlib/atexit.c (atexit): Update indirection to
2383 _fntypes field.
2384 * libc/stdlib/on_exit.c (on_exit): Indirect via the
2385 _on_exit_args structure. For _REENT_SMALL, allocate a
2386 structure if one does not exist.
2387 * libc/stdlib/exit.c (exit): Indirect via the _on_exit_args
2388 structure.
2389
2129f283
JJ
23902003-06-04 Jeff Johnston <jjohnstn@redhat.com>
2391
2392 * libc/sys/linux/net/Makefile.am: Remove extraneous markers.
2393 * libc/sys/linux/net/Makefile.in: Regenerated.
2394
bf3bcac2
JJ
23952003-06-03 Jeff Johnston <jjohnstn@redhat.com>
2396
2397 * libc/reent/execr.c: Use _DEFUN macro for function declaration.
2398 * libc/reent/fcntlr.c: Ditto.
2399 * libc/reent/fstat64r.c: Ditto.
2400 * libc/reent/linkr.c: Ditto.
2401 * libc/reent/lseek64r.c: Ditto.
2402 * libc/reent/lseekr.c: Ditto.
2403 * libc/reent/openr.c: Ditto.
2404 * libc/reent/readr.c: Ditto.
2405 * libc/reent/reent.c: Ditto.
2406 * libc/reent/sbrkr.c: Ditto.
2407 * libc/reent/signalr.c: Ditto.
2408 * libc/reent/signgam.c: Ditto.
2409 * libc/reent/statr.c: Ditto.
2410 * libc/reent/timer.c: Ditto.
2411 * libc/reent/unlinkr.c: Ditto.
2412 * libc/reent/writer.c: Ditto.
2413 * libc/syscalls/sysclose.c: Ditto.
2414 * libc/syscalls/sysexecve.c: Ditto.
2415 * libc/syscalls/sysfcntl.c: Ditto.
2416 * libc/syscalls/sysfork.c: Ditto.
2417 * libc/syscalls/sysfstat.c: Ditto.
2418 * libc/syscalls/sysgetpid.c: Ditto.
2419 * libc/syscalls/sysgettod.c: Ditto.
2420 * libc/syscalls/syskill.c: Ditto.
2421 * libc/syscalls/syslink.c: Ditto.
2422 * libc/syscalls/syslseek.c: Ditto.
2423 * libc/syscalls/sysopen.c: Ditto.
2424 * libc/syscalls/sysread.c: Ditto.
2425 * libc/syscalls/syssbrk.c: Ditto.
2426 * libc/syscalls/sysstat.c: Ditto.
2427 * libc/syscalls/systimes.c: Ditto.
2428 * libc/syscalls/sysunlink.c: Ditto.
2429 * libc/syscalls/syswait.c: Ditto.
2430 * libc/syscalls/syswrite.c: Ditto.
2431
702ceb23
JJ
24322003-06-03 Till Straumann <strauman@SLAC.Stanford.EDU>
2433
2434 * libc/time/tzset_r.c: Change local variables that are
2435 set via sscanf using the %h format specifier to be unsigned short
2436 instead of int.
2437
102861c9
JJ
24382003-05-30 Kelley Cook <kelleycook@wideopenwest.com>
2439
2440 * configure.host: Allow i[34567]86 variant.
2441 * configure.in: Likewise.
2442 * README: Likewise to the docs.
2443 * configure: Regenerated.
2444 * Makefile.in: Ditto.
2445
b359e82c
JJ
24462003-05-28 Jeff Johnston <jjohnstn@redhat.com>
2447 Tom Fitzsimmons <fitzsim@redhat.com>
2448
2449 * configure.in: Add iconvdata support for x86 linux.
2450 * configure: Regenerated.
2451 * libc/sys/linux/Makefile.am: Add EL/IX level 3 network, dynamic
2452 library, iconv, and linuxthreads support.
2453 * libc/sys/linux/configure.in: Ditto.
2454 * libc/sys/linux/Makefile.in: Regenerated.
2455 * libc/sys/linux/configure: Ditto.
2456 * iconvdata/EUC-JP.irreversible: New file.
2457 * iconvdata/Makefile.am: Ditto.
2458 * iconvdata/Makefile.in: Ditto.
2459 * iconvdata/SJIS.irreversible: Ditto.
2460 * iconvdata/aclocal.m4: Ditto.
2461 * iconvdata/configure: Ditto.
2462 * iconvdata/configure.in: Ditto.
2463 * iconvdata/dummy.c: Ditto.
2464 * iconvdata/euc-jp.c: Ditto.
2465 * iconvdata/gconv-modules: Ditto.
2466 * iconvdata/jis0201.c: Ditto.
2467 * iconvdata/jis0201.h: Ditto.
2468 * iconvdata/jis0208.c: Ditto.
2469 * iconvdata/jis0208.h: Ditto.
2470 * iconvdata/jis0212.c: Ditto.
2471 * iconvdata/jis0212.h: Ditto.
2472 * iconvdata/sjis.c: Ditto.
2473 * libc/include/errno.h: Protect definition of error_t.
2474 * libc/sys/linux/gethostid.c: New file.
2475 * libc/sys/linux/sethostid.c: Ditto.
2476 * libc/sys/linux/dl/Makefile.am: Ditto.
2477 * libc/sys/linux/dl/Makefile.in: Ditto.
2478 * libc/sys/linux/dl/abi-tag.h: Ditto.
2479 * libc/sys/linux/dl/atomicity.h: Ditto.
2480 * libc/sys/linux/dl/dl-addr.c: Ditto.
2481 * libc/sys/linux/dl/dl-cache.c: Ditto.
2482 * libc/sys/linux/dl/dl-cache.h: Ditto.
2483 * libc/sys/linux/dl/dl-close.c: Ditto.
2484 * libc/sys/linux/dl/dl-debug.c: Ditto.
2485 * libc/sys/linux/dl/dl-deps.c: Ditto.
2486 * libc/sys/linux/dl/dl-dst.h: Ditto.
2487 * libc/sys/linux/dl/dl-error.c: Ditto.
2488 * libc/sys/linux/dl/dl-fini.c: Ditto.
2489 * libc/sys/linux/dl/dl-init.c: Ditto.
2490 * libc/sys/linux/dl/dl-iteratephdr.c: Ditto.
2491 * libc/sys/linux/dl/dl-libc.c: Ditto.
2492 * libc/sys/linux/dl/dl-librecon.h: Ditto.
2493 * libc/sys/linux/dl/dl-load.c: Ditto.
2494 * libc/sys/linux/dl/dl-lookup.c: Ditto.
2495 * libc/sys/linux/dl/dl-lookupcfg.h: Ditto.
2496 * libc/sys/linux/dl/dl-minimal.c: Ditto.
2497 * libc/sys/linux/dl/dl-misc.c: Ditto.
2498 * libc/sys/linux/dl/dl-object.c: Ditto.
2499 * libc/sys/linux/dl/dl-open.c: Ditto.
2500 * libc/sys/linux/dl/dl-osinfo.h: Ditto.
2501 * libc/sys/linux/dl/dl-profile.c: Ditto.
2502 * libc/sys/linux/dl/dl-profstub.c: Ditto.
2503 * libc/sys/linux/dl/dl-reloc.c: Ditto.
2504 * libc/sys/linux/dl/dl-runtime.c: Ditto.
2505 * libc/sys/linux/dl/dl-support.c: Ditto.
2506 * libc/sys/linux/dl/dl-sym.c: Ditto.
2507 * libc/sys/linux/dl/dl-version.c: Ditto.
2508 * libc/sys/linux/dl/dlfcn.h: Ditto.
2509 * libc/sys/linux/dl/do-lookup.h: Ditto.
2510 * libc/sys/linux/dl/do-rel.h: Ditto.
2511 * libc/sys/linux/dl/dynamic-link.h: Ditto.
2512 * libc/sys/linux/dl/kernel-features.h: Ditto.
2513 * libc/sys/linux/dl/ldsodefs.h: Ditto.
2514 * libc/sys/linux/dl/libintl.h: Ditto.
2515 * libc/sys/linux/dl/trusted-dirs.h: Ditto.
2516 * libc/sys/linux/dl/unsecvars.h: Ditto.
2517 * libc/sys/linux/iconv/Makefile.am: Ditto.
2518 * libc/sys/linux/iconv/Makefile.in: Ditto.
2519 * libc/sys/linux/iconv/categories.def: Ditto.
2520 * libc/sys/linux/iconv/dummy-repertoire.c: Ditto.
2521 * libc/sys/linux/iconv/gconv.c: Ditto.
2522 * libc/sys/linux/iconv/gconv_builtin.c: Ditto.
2523 * libc/sys/linux/iconv/gconv_builtin.h: Ditto.
2524 * libc/sys/linux/iconv/gconv_cache.c: Ditto.
2525 * libc/sys/linux/iconv/gconv_charset.h: Ditto.
2526 * libc/sys/linux/iconv/gconv_close.c: Ditto.
2527 * libc/sys/linux/iconv/gconv_conf.c: Ditto.
2528 * libc/sys/linux/iconv/gconv_db.c: Ditto.
2529 * libc/sys/linux/iconv/gconv_dl.c: Ditto.
2530 * libc/sys/linux/iconv/gconv_int.h: Ditto.
2531 * libc/sys/linux/iconv/gconv_open.c: Ditto.
2532 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
2533 * libc/sys/linux/iconv/gconv_trans.c: Ditto.
2534 * libc/sys/linux/iconv/hash-string.h: Ditto.
2535 * libc/sys/linux/iconv/iconv.c: Ditto.
2536 * libc/sys/linux/iconv/iconv.h: Ditto.
2537 * libc/sys/linux/iconv/iconv_charmap.c: Ditto.
2538 * libc/sys/linux/iconv/iconv_close.c: Ditto.
2539 * libc/sys/linux/iconv/iconv_open.c: Ditto.
2540 * libc/sys/linux/iconv/iconvconfig.c: Ditto.
2541 * libc/sys/linux/iconv/iconvconfig.h: Ditto.
2542 * libc/sys/linux/iconv/loadinfo.h: Ditto.
2543 * libc/sys/linux/iconv/localeinfo.h: Ditto.
2544 * libc/sys/linux/iconv/loop.c: Ditto.
2545 * libc/sys/linux/iconv/skeleton.c: Ditto.
2546 * libc/sys/linux/iconv/strtab.c: Ditto.
2547 * libc/sys/linux/include/dl-hash.h: Ditto.
2548 * libc/sys/linux/include/dlfcn.h: Ditto.
2549 * libc/sys/linux/include/fnmatch.h: Ditto.
2550 * libc/sys/linux/include/gconv.h: Ditto.
2551 * libc/sys/linux/include/glob.h: Ditto.
2552 * libc/sys/linux/include/hesiod.h: Ditto.
2553 * libc/sys/linux/include/ifaddrs.h: Ditto.
2554 * libc/sys/linux/include/libc_private.h: Ditto.
2555 * libc/sys/linux/include/link.h: Ditto.
2556 * libc/sys/linux/include/namespace.h: Ditto.
2557 * libc/sys/linux/include/netconfig.h: Ditto.
2558 * libc/sys/linux/include/netdb.h: Ditto.
2559 * libc/sys/linux/include/nsswitch.h: Ditto.
2560 * libc/sys/linux/include/regex.h: Ditto.
2561 * libc/sys/linux/include/resolv.h: Ditto.
2562 * libc/sys/linux/include/rune.h: Ditto.
2563 * libc/sys/linux/include/runetype.h: Ditto.
2564 * libc/sys/linux/include/semaphore.h: Ditto.
2565 * libc/sys/linux/include/setlocale.h: Ditto.
2566 * libc/sys/linux/include/un-namespace.h: Ditto.
2567 * libc/sys/linux/include/wordexp.h: Ditto.
2568 * libc/sys/linux/include/arpa/ftp.h: Ditto.
2569 * libc/sys/linux/include/arpa/inet.h: Ditto.
2570 * libc/sys/linux/include/arpa/nameser.h: Ditto.
2571 * libc/sys/linux/include/arpa/nameser_compat.h: Ditto.
2572 * libc/sys/linux/include/arpa/telnet.h: Ditto.
2573 * libc/sys/linux/include/arpa/tftp.h: Ditto.
2574 * libc/sys/linux/include/net/bpf.h: Ditto.
2575 * libc/sys/linux/include/net/bpf_compat.h: Ditto.
2576 * libc/sys/linux/include/net/bpfdesc.h: Ditto.
2577 * libc/sys/linux/include/net/bridge.h: Ditto.
2578 * libc/sys/linux/include/net/ethernet.h: Ditto.
2579 * libc/sys/linux/include/net/fddi.h: Ditto.
2580 * libc/sys/linux/include/net/if.h: Ditto.
2581 * libc/sys/linux/include/net/if_arc.h: Ditto.
2582 * libc/sys/linux/include/net/if_arp.h: Ditto.
2583 * libc/sys/linux/include/net/if_atm.h: Ditto.
2584 * libc/sys/linux/include/net/if_dl.h: Ditto.
2585 * libc/sys/linux/include/net/if_gif.h: Ditto.
2586 * libc/sys/linux/include/net/if_ieee80211.h: Ditto.
2587 * libc/sys/linux/include/net/if_llc.h: Ditto.
2588 * libc/sys/linux/include/net/if_media.h: Ditto.
2589 * libc/sys/linux/include/net/if_mib.h: Ditto.
2590 * libc/sys/linux/include/net/if_ppp.h: Ditto.
2591 * libc/sys/linux/include/net/if_pppvar.h: Ditto.
2592 * libc/sys/linux/include/net/if_slvar.h: Ditto.
2593 * libc/sys/linux/include/net/if_sppp.h: Ditto.
2594 * libc/sys/linux/include/net/if_stf.h: Ditto.
2595 * libc/sys/linux/include/net/if_tap.h: Ditto.
2596 * libc/sys/linux/include/net/if_tapvar.h: Ditto.
2597 * libc/sys/linux/include/net/if_tun.h: Ditto.
2598 * libc/sys/linux/include/net/if_tunvar.h: Ditto.
2599 * libc/sys/linux/include/net/if_types.h: Ditto.
2600 * libc/sys/linux/include/net/if_var.h: Ditto.
2601 * libc/sys/linux/include/net/if_vlan_var.h: Ditto.
2602 * libc/sys/linux/include/net/intrq.h: Ditto.
2603 * libc/sys/linux/include/net/iso88025.h: Ditto.
2604 * libc/sys/linux/include/net/net_osdep.h: Ditto.
2605 * libc/sys/linux/include/net/netisr.h: Ditto.
2606 * libc/sys/linux/include/net/pfil.h: Ditto.
2607 * libc/sys/linux/include/net/pfkeyv2.h: Ditto.
2608 * libc/sys/linux/include/net/ppp_comp.h: Ditto.
2609 * libc/sys/linux/include/net/ppp_defs.h: Ditto.
2610 * libc/sys/linux/include/net/radix.h: Ditto.
2611 * libc/sys/linux/include/net/raw_cb.h: Ditto.
2612 * libc/sys/linux/include/net/route.h: Ditto.
2613 * libc/sys/linux/include/net/slcompress.h: Ditto.
2614 * libc/sys/linux/include/net/slip.h: Ditto.
2615 * libc/sys/linux/include/net/zlib.h: Ditto.
2616 * libc/sys/linux/include/netinet/icmp6.h: Ditto.
2617 * libc/sys/linux/include/netinet/icmp_var.h: Ditto.
2618 * libc/sys/linux/include/netinet/if_atm.h: Ditto.
2619 * libc/sys/linux/include/netinet/if_ether.h: Ditto.
2620 * libc/sys/linux/include/netinet/igmp.h: Ditto.
2621 * libc/sys/linux/include/netinet/igmp_var.h: Ditto.
2622 * libc/sys/linux/include/netinet/in.h: Ditto.
2623 * libc/sys/linux/include/netinet/in_gif.h: Ditto.
2624 * libc/sys/linux/include/netinet/in_pcb.h: Ditto.
2625 * libc/sys/linux/include/netinet/in_systm.h: Ditto.
2626 * libc/sys/linux/include/netinet/in_var.h: Ditto.
2627 * libc/sys/linux/include/netinet/ip.h: Ditto.
2628 * libc/sys/linux/include/netinet/ip6.h: Ditto.
2629 * libc/sys/linux/include/netinet/ip_dummynet.h: Ditto.
2630 * libc/sys/linux/include/netinet/ip_ecn.h: Ditto.
2631 * libc/sys/linux/include/netinet/ip_encap.h: Ditto.
2632 * libc/sys/linux/include/netinet/ip_flow.h: Ditto.
2633 * libc/sys/linux/include/netinet/ip_fw.h: Ditto.
2634 * libc/sys/linux/include/netinet/ip_icmp.h: Ditto.
2635 * libc/sys/linux/include/netinet/ip_mroute.h: Ditto.
2636 * libc/sys/linux/include/netinet/ip_var.h: Ditto.
2637 * libc/sys/linux/include/netinet/ipprotosw.h: Ditto.
2638 * libc/sys/linux/include/netinet/tcp.h: Ditto.
2639 * libc/sys/linux/include/netinet/tcp_debug.h: Ditto.
2640 * libc/sys/linux/include/netinet/tcp_fsm.h: Ditto.
2641 * libc/sys/linux/include/netinet/tcp_seq.h: Ditto.
2642 * libc/sys/linux/include/netinet/tcp_timer.h: Ditto.
2643 * libc/sys/linux/include/netinet/tcp_var.h: Ditto.
2644 * libc/sys/linux/include/netinet/tcpip.h: Ditto.
2645 * libc/sys/linux/include/netinet/udp.h: Ditto.
2646 * libc/sys/linux/include/netinet/udp_var.h: Ditto.
2647 * libc/sys/linux/include/netinet6/ah.h: Ditto.
2648 * libc/sys/linux/include/netinet6/ah6.h: Ditto.
2649 * libc/sys/linux/include/netinet6/esp.h: Ditto.
2650 * libc/sys/linux/include/netinet6/esp6.h: Ditto.
2651 * libc/sys/linux/include/netinet6/esp_rijndael.h: Ditto.
2652 * libc/sys/linux/include/netinet6/icmp6.h: Ditto.
2653 * libc/sys/linux/include/netinet6/in6.h: Ditto.
2654 * libc/sys/linux/include/netinet6/in6_gif.h: Ditto.
2655 * libc/sys/linux/include/netinet6/in6_ifattach.h: Ditto.
2656 * libc/sys/linux/include/netinet6/in6_pcb.h: Ditto.
2657 * libc/sys/linux/include/netinet6/in6_prefix.h: Ditto.
2658 * libc/sys/linux/include/netinet6/in6_var.h: Ditto.
2659 * libc/sys/linux/include/netinet6/ip6.h: Ditto.
2660 * libc/sys/linux/include/netinet6/ip6_ecn.h: Ditto.
2661 * libc/sys/linux/include/netinet6/ip6_fw.h: Ditto.
2662 * libc/sys/linux/include/netinet6/ip6_mroute.h: Ditto.
2663 * libc/sys/linux/include/netinet6/ip6_var.h: Ditto.
2664 * libc/sys/linux/include/netinet6/ip6protosw.h: Ditto.
2665 * libc/sys/linux/include/netinet6/ipcomp.h: Ditto.
2666 * libc/sys/linux/include/netinet6/ipcomp6.h: Ditto.
2667 * libc/sys/linux/include/netinet6/ipsec.h: Ditto.
2668 * libc/sys/linux/include/netinet6/ipsec6.h: Ditto.
2669 * libc/sys/linux/include/netinet6/mld6_var.h: Ditto.
2670 * libc/sys/linux/include/netinet6/nd6.h: Ditto.
2671 * libc/sys/linux/include/netinet6/pim6.h: Ditto.
2672 * libc/sys/linux/include/netinet6/pim6_var.h: Ditto.
2673 * libc/sys/linux/include/netinet6/raw_ip6.h: Ditto.
2674 * libc/sys/linux/include/netinet6/scope6_var.h: Ditto.
2675 * libc/sys/linux/include/netinet6/tcp6_var.h: Ditto.
2676 * libc/sys/linux/include/netinet6/udp6_var.h: Ditto.
2677 * libc/sys/linux/include/netns/idp.h: Ditto.
2678 * libc/sys/linux/include/netns/idp_var.h: Ditto.
2679 * libc/sys/linux/include/netns/ns.h: Ditto.
2680 * libc/sys/linux/include/netns/ns_error.h: Ditto.
2681 * libc/sys/linux/include/netns/ns_if.h: Ditto.
2682 * libc/sys/linux/include/netns/ns_pcb.h: Ditto.
2683 * libc/sys/linux/include/netns/sp.h: Ditto.
2684 * libc/sys/linux/include/netns/spidp.h: Ditto.
2685 * libc/sys/linux/include/netns/spp_debug.h: Ditto.
2686 * libc/sys/linux/include/netns/spp_timer.h: Ditto.
2687 * libc/sys/linux/include/netns/spp_var.h: Ditto.
2688 * libc/sys/linux/include/rpc/Makefile: Ditto.
2689 * libc/sys/linux/include/rpc/auth.h: Ditto.
2690 * libc/sys/linux/include/rpc/auth_des.h: Ditto.
2691 * libc/sys/linux/include/rpc/auth_kerb.h: Ditto.
2692 * libc/sys/linux/include/rpc/auth_unix.h: Ditto.
2693 * libc/sys/linux/include/rpc/clnt.h: Ditto.
2694 * libc/sys/linux/include/rpc/clnt_soc.h: Ditto.
2695 * libc/sys/linux/include/rpc/clnt_stat.h: Ditto.
2696 * libc/sys/linux/include/rpc/des.h: Ditto.
2697 * libc/sys/linux/include/rpc/des_crypt.h: Ditto.
2698 * libc/sys/linux/include/rpc/nettype.h: Ditto.
2699 * libc/sys/linux/include/rpc/pmap_clnt.h: Ditto.
2700 * libc/sys/linux/include/rpc/pmap_prot.h: Ditto.
2701 * libc/sys/linux/include/rpc/pmap_rmt.h: Ditto.
2702 * libc/sys/linux/include/rpc/raw.h: Ditto.
2703 * libc/sys/linux/include/rpc/rpc.h: Ditto.
2704 * libc/sys/linux/include/rpc/rpc_com.h: Ditto.
2705 * libc/sys/linux/include/rpc/rpc_msg.h: Ditto.
2706 * libc/sys/linux/include/rpc/rpcb_clnt.h: Ditto.
2707 * libc/sys/linux/include/rpc/rpcb_prot.h: Ditto.
2708 * libc/sys/linux/include/rpc/rpcb_prot.x: Ditto.
2709 * libc/sys/linux/include/rpc/rpcent.h: Ditto.
2710 * libc/sys/linux/include/rpc/svc.h: Ditto.
2711 * libc/sys/linux/include/rpc/svc_auth.h: Ditto.
2712 * libc/sys/linux/include/rpc/svc_dg.h: Ditto.
2713 * libc/sys/linux/include/rpc/svc_soc.h: Ditto.
2714 * libc/sys/linux/include/rpc/types.h: Ditto.
2715 * libc/sys/linux/include/rpc/xdr.h: Ditto.
2716 * libc/sys/linux/intl/Makefile.am: Ditto.
2717 * libc/sys/linux/intl/Makefile.in: Ditto.
2718 * libc/sys/linux/intl/bindtextdom.c: Ditto.
2719 * libc/sys/linux/intl/catgets.c: Ditto.
2720 * libc/sys/linux/intl/catgetsinfo.h: Ditto.
2721 * libc/sys/linux/intl/config.h: Ditto.
2722 * libc/sys/linux/intl/dcgettext.c: Ditto.
2723 * libc/sys/linux/intl/dcigettext.c: Ditto.
2724 * libc/sys/linux/intl/dcngettext.c: Ditto.
2725 * libc/sys/linux/intl/dgettext.c: Ditto.
2726 * libc/sys/linux/intl/dngettext.c: Ditto.
2727 * libc/sys/linux/intl/explodename.c: Ditto.
2728 * libc/sys/linux/intl/finddomain.c: Ditto.
2729 * libc/sys/linux/intl/gettext.c: Ditto.
2730 * libc/sys/linux/intl/gettext.h: Ditto.
2731 * libc/sys/linux/intl/gettextP.h: Ditto.
2732 * libc/sys/linux/intl/hash-string.h: Ditto.
2733 * libc/sys/linux/intl/l10nflist.c: Ditto.
2734 * libc/sys/linux/intl/loadinfo.h: Ditto.
2735 * libc/sys/linux/intl/loadmsgcat.c: Ditto.
2736 * libc/sys/linux/intl/locale.alias: Ditto.
2737 * libc/sys/linux/intl/localealias.c: Ditto.
2738 * libc/sys/linux/intl/ngettext.c: Ditto.
2739 * libc/sys/linux/intl/open_catalog.c: Ditto.
2740 * libc/sys/linux/intl/plural.c: Ditto.
2741 * libc/sys/linux/intl/plural.y: Ditto.
2742 * libc/sys/linux/intl/stpcpy.c: Ditto.
2743 * libc/sys/linux/intl/textdomain.c: Ditto.
2744 * libc/sys/linux/linuxthreads/LICENSE: Ditto.
2745 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
2746 * libc/sys/linux/linuxthreads/Makefile.in: Ditto.
2747 * libc/sys/linux/linuxthreads/aclocal.m4: Ditto.
2748 * libc/sys/linux/linuxthreads/attr.c: Ditto.
2749 * libc/sys/linux/linuxthreads/barrier.c: Ditto.
2750 * libc/sys/linux/linuxthreads/bp-sym.h: Ditto.
2751 * libc/sys/linux/linuxthreads/cancel.c: Ditto.
2752 * libc/sys/linux/linuxthreads/condvar.c: Ditto.
2753 * libc/sys/linux/linuxthreads/config.h: Ditto.
2754 * libc/sys/linux/linuxthreads/configure: Ditto.
2755 * libc/sys/linux/linuxthreads/configure.in: Ditto.
2756 * libc/sys/linux/linuxthreads/defs.awk: Ditto.
2757 * libc/sys/linux/linuxthreads/ecmutex.c: Ditto.
2758 * libc/sys/linux/linuxthreads/events.c: Ditto.
2759 * libc/sys/linux/linuxthreads/getcpuclockid.c: Ditto.
2760 * libc/sys/linux/linuxthreads/getreent.c: Ditto.
2761 * libc/sys/linux/linuxthreads/internals.h: Ditto.
2762 * libc/sys/linux/linuxthreads/join.c: Ditto.
2763 * libc/sys/linux/linuxthreads/joinrace.c: Ditto.
2764 * libc/sys/linux/linuxthreads/kernel-features.h: Ditto.
2765 * libc/sys/linux/linuxthreads/libc-internal.h: Ditto.
2766 * libc/sys/linux/linuxthreads/libc-symbols.h: Ditto.
2767 * libc/sys/linux/linuxthreads/linuxthreads.texi: Ditto.
2768 * libc/sys/linux/linuxthreads/lockfile.c: Ditto.
2769 * libc/sys/linux/linuxthreads/manager.c: Ditto.
2770 * libc/sys/linux/linuxthreads/mq_notify.c: Ditto.
2771 * libc/sys/linux/linuxthreads/mutex.c: Ditto.
2772 * libc/sys/linux/linuxthreads/no-tsd.c: Ditto.
2773 * libc/sys/linux/linuxthreads/oldsemaphore.c: Ditto.
2774 * libc/sys/linux/linuxthreads/posix-timer.h: Ditto.
2775 * libc/sys/linux/linuxthreads/prio.c: Ditto.
2776 * libc/sys/linux/linuxthreads/proc_service.h: Ditto.
2777 * libc/sys/linux/linuxthreads/pt-machine.c: Ditto.
2778 * libc/sys/linux/linuxthreads/ptclock_gettime.c: Ditto.
2779 * libc/sys/linux/linuxthreads/ptclock_settime.c: Ditto.
2780 * libc/sys/linux/linuxthreads/ptfork.c: Ditto.
2781 * libc/sys/linux/linuxthreads/pthread.c: Ditto.
2782 * libc/sys/linux/linuxthreads/ptlongjmp.c: Ditto.
2783 * libc/sys/linux/linuxthreads/queue.h: Ditto.
2784 * libc/sys/linux/linuxthreads/reent.c: Ditto.
2785 * libc/sys/linux/linuxthreads/reqsyscalls.c: Ditto.
2786 * libc/sys/linux/linuxthreads/restart.h: Ditto.
2787 * libc/sys/linux/linuxthreads/rwlock.c: Ditto.
2788 * libc/sys/linux/linuxthreads/semaphore.c: Ditto.
2789 * libc/sys/linux/linuxthreads/semaphore.h: Ditto.
2790 * libc/sys/linux/linuxthreads/shlib-compat.h: Ditto.
2791 * libc/sys/linux/linuxthreads/signals.c: Ditto.
2792 * libc/sys/linux/linuxthreads/specific.c: Ditto.
2793 * libc/sys/linux/linuxthreads/spinlock.c: Ditto.
2794 * libc/sys/linux/linuxthreads/spinlock.h: Ditto.
2795 * libc/sys/linux/linuxthreads/sysctl.c: Ditto.
2796 * libc/sys/linux/linuxthreads/td_init.c: Ditto.
2797 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
2798 * libc/sys/linux/linuxthreads/td_symbol_list.c: Ditto.
2799 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
2800 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
2801 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
2802 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
2803 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
2804 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
2805 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
2806 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
2807 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
2808 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
2809 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
2810 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
2811 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
2812 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
2813 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
2814 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
2815 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
2816 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
2817 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
2818 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
2819 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
2820 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
2821 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
2822 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
2823 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
2824 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
2825 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
2826 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
2827 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
2828 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
2829 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
2830 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
2831 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
2832 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
2833 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
2834 * libc/sys/linux/linuxthreads/testrtsig.h: Ditto.
2835 * libc/sys/linux/linuxthreads/thread_db.h: Ditto.
2836 * libc/sys/linux/linuxthreads/thread_dbP.h: Ditto.
2837 * libc/sys/linux/linuxthreads/timer_create.c: Ditto.
2838 * libc/sys/linux/linuxthreads/timer_delete.c: Ditto.
2839 * libc/sys/linux/linuxthreads/timer_getoverr.c: Ditto.
2840 * libc/sys/linux/linuxthreads/timer_gettime.c: Ditto.
2841 * libc/sys/linux/linuxthreads/timer_routines.c: Ditto.
2842 * libc/sys/linux/linuxthreads/timer_settime.c: Ditto.
2843 * libc/sys/linux/linuxthreads/tst-cancel.c: Ditto.
2844 * libc/sys/linux/linuxthreads/tst-context.c: Ditto.
2845 * libc/sys/linux/linuxthreads/tststack.c: Ditto.
2846 * libc/sys/linux/linuxthreads/unload.c: Ditto.
2847 * libc/sys/linux/linuxthreads/weaks.c: Ditto.
2848 * libc/sys/linux/linuxthreads/wrapsyscall.c: Ditto.
2849 * libc/sys/linux/linuxthreads/bits/initspin.h: Ditto.
2850 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Ditto.
2851 * libc/sys/linux/linuxthreads/bits/libc-tsd.h: Ditto.
2852 * libc/sys/linux/linuxthreads/bits/local_lim.h: Ditto.
2853 * libc/sys/linux/linuxthreads/bits/posix_opt.h: Ditto.
2854 * libc/sys/linux/linuxthreads/bits/pthreadtypes.h: Ditto.
2855 * libc/sys/linux/linuxthreads/bits/sigthread.h: Ditto.
2856 * libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
2857 * libc/sys/linux/linuxthreads/machine/Makefile.in: Ditto.
2858 * libc/sys/linux/linuxthreads/machine/aclocal.m4: Ditto.
2859 * libc/sys/linux/linuxthreads/machine/configure: Ditto.
2860 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
2861 * libc/sys/linux/linuxthreads/machine/generic/generic-sysd: Ditto.ep.h
2862 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
2863 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Ditto.
2864 * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Ditto.
2865 * libc/sys/linux/linuxthreads/machine/i386/bp-asm.h: Ditto.
2866 * libc/sys/linux/linuxthreads/machine/i386/clone.S: Ditto.
2867 * libc/sys/linux/linuxthreads/machine/i386/configure: Ditto.
2868 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
2869 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.S: Ditto.
2870 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.h: Ditto.
2871 * libc/sys/linux/linuxthreads/machine/i386/pspinlock.c: Ditto.
2872 * libc/sys/linux/linuxthreads/machine/i386/pt-machine.h: Ditto.
2873 * libc/sys/linux/linuxthreads/machine/i386/sigcontextinfo.h: Ditto.
2874 * libc/sys/linux/linuxthreads/machine/i386/stackinfo.h: Ditto.
2875 * libc/sys/linux/linuxthreads/machine/i386/sysdep.S: Ditto.
2876 * libc/sys/linux/linuxthreads/machine/i386/sysdep.h: Ditto.
2877 * libc/sys/linux/linuxthreads/machine/i386/useldt.h: Ditto.
2878 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
2879 * libc/sys/linux/net/Makefile.am: Ditto.
2880 * libc/sys/linux/net/Makefile.in: Ditto.
2881 * libc/sys/linux/net/addr2ascii.3: Ditto.
2882 * libc/sys/linux/net/addr2ascii.c: Ditto.
2883 * libc/sys/linux/net/ascii2addr.c: Ditto.
2884 * libc/sys/linux/net/base64.c: Ditto.
2885 * libc/sys/linux/net/bindresvport.c: Ditto.
2886 * libc/sys/linux/net/byteorder.3: Ditto.
2887 * libc/sys/linux/net/ether_addr.c: Ditto.
2888 * libc/sys/linux/net/ethers.3: Ditto.
2889 * libc/sys/linux/net/getaddrinfo.3: Ditto.
2890 * libc/sys/linux/net/getaddrinfo.c: Ditto.
2891 * libc/sys/linux/net/gethostbydns.c: Ditto.
2892 * libc/sys/linux/net/gethostbyht.c: Ditto.
2893 * libc/sys/linux/net/gethostbyname.3: Ditto.
2894 * libc/sys/linux/net/gethostbynis.c: Ditto.
2895 * libc/sys/linux/net/gethostnamadr.c: Ditto.
2896 * libc/sys/linux/net/getifaddrs.3: Ditto.
2897 * libc/sys/linux/net/getifaddrs.c: Ditto.
2898 * libc/sys/linux/net/getipnodebyname.3: Ditto.
2899 * libc/sys/linux/net/getnameinfo.3: Ditto.
2900 * libc/sys/linux/net/getnameinfo.c: Ditto.
2901 * libc/sys/linux/net/getnetbydns.c: Ditto.
2902 * libc/sys/linux/net/getnetbyht.c: Ditto.
2903 * libc/sys/linux/net/getnetbynis.c: Ditto.
2904 * libc/sys/linux/net/getnetent.3: Ditto.
2905 * libc/sys/linux/net/getnetnamadr.c: Ditto.
2906 * libc/sys/linux/net/getproto.c: Ditto.
2907 * libc/sys/linux/net/getprotoent.3: Ditto.
2908 * libc/sys/linux/net/getprotoent.c: Ditto.
2909 * libc/sys/linux/net/getprotoname.c: Ditto.
2910 * libc/sys/linux/net/getservbyname.c: Ditto.
2911 * libc/sys/linux/net/getservbyport.c: Ditto.
2912 * libc/sys/linux/net/getservent.3: Ditto.
2913 * libc/sys/linux/net/getservent.c: Ditto.
2914 * libc/sys/linux/net/herror.c: Ditto.
2915 * libc/sys/linux/net/hesiod.3: Ditto.
2916 * libc/sys/linux/net/hesiod.c: Ditto.
2917 * libc/sys/linux/net/if_indextoname.3: Ditto.
2918 * libc/sys/linux/net/ifname.c: Ditto.
2919 * libc/sys/linux/net/inet.3: Ditto.
2920 * libc/sys/linux/net/inet6_option_s: Ditto.pace.3
2921 * libc/sys/linux/net/inet6_rthdr_space.3: Ditto.
2922 * libc/sys/linux/net/inet_addr.c: Ditto.
2923 * libc/sys/linux/net/inet_lnaof.c: Ditto.
2924 * libc/sys/linux/net/inet_makeaddr.c: Ditto.
2925 * libc/sys/linux/net/inet_net.3: Ditto.
2926 * libc/sys/linux/net/inet_net_ntop.c: Ditto.
2927 * libc/sys/linux/net/inet_net_pton.c: Ditto.
2928 * libc/sys/linux/net/inet_neta.c: Ditto.
2929 * libc/sys/linux/net/inet_netof.c: Ditto.
2930 * libc/sys/linux/net/inet_network.c: Ditto.
2931 * libc/sys/linux/net/inet_ntoa.c: Ditto.
2932 * libc/sys/linux/net/inet_ntop.c: Ditto.
2933 * libc/sys/linux/net/inet_pton.c: Ditto.
2934 * libc/sys/linux/net/innetgr-stub.c: Ditto.
2935 * libc/sys/linux/net/ip6opt.c: Ditto.
2936 * libc/sys/linux/net/iso_addr.3: Ditto.
2937 * libc/sys/linux/net/iso_addr.c: Ditto.
2938 * libc/sys/linux/net/issetugid-stub.c: Ditto.
2939 * libc/sys/linux/net/linkaddr.3: Ditto.
2940 * libc/sys/linux/net/linkaddr.c: Ditto.
2941 * libc/sys/linux/net/map_v4v6.c: Ditto.
2942 * libc/sys/linux/net/name6.c: Ditto.
2943 * libc/sys/linux/net/namespace.h: Ditto.
2944 * libc/sys/linux/net/ns.3: Ditto.
2945 * libc/sys/linux/net/ns_addr.c: Ditto.
2946 * libc/sys/linux/net/ns_name.c: Ditto.
2947 * libc/sys/linux/net/ns_netint.c: Ditto.
2948 * libc/sys/linux/net/ns_ntoa.c: Ditto.
2949 * libc/sys/linux/net/ns_parse.c: Ditto.
2950 * libc/sys/linux/net/ns_print.c: Ditto.
2951 * libc/sys/linux/net/ns_ttl.c: Ditto.
2952 * libc/sys/linux/net/nsap_addr.c: Ditto.
2953 * libc/sys/linux/net/nsdispatch.3: Ditto.
2954 * libc/sys/linux/net/nsdispatch.c: Ditto.
2955 * libc/sys/linux/net/nslexer.c: Ditto.
2956 * libc/sys/linux/net/nslexer.l: Ditto.
2957 * libc/sys/linux/net/nsparser.c: Ditto.
2958 * libc/sys/linux/net/nsparser.h: Ditto.
2959 * libc/sys/linux/net/nsparser.y: Ditto.
2960 * libc/sys/linux/net/rcmd.3: Ditto.
2961 * libc/sys/linux/net/rcmd.c: Ditto.
2962 * libc/sys/linux/net/rcmdsh.3: Ditto.
2963 * libc/sys/linux/net/rcmdsh.c: Ditto.
2964 * libc/sys/linux/net/recv.c: Ditto.
2965 * libc/sys/linux/net/res_comp.c: Ditto.
2966 * libc/sys/linux/net/res_config.h: Ditto.
2967 * libc/sys/linux/net/res_data.c: Ditto.
2968 * libc/sys/linux/net/res_debug.c: Ditto.
2969 * libc/sys/linux/net/res_init.c: Ditto.
2970 * libc/sys/linux/net/res_mkquery.c: Ditto.
2971 * libc/sys/linux/net/res_mkupdate.c: Ditto.
2972 * libc/sys/linux/net/res_query.c: Ditto.
2973 * libc/sys/linux/net/res_send.c: Ditto.
2974 * libc/sys/linux/net/res_update.c: Ditto.
2975 * libc/sys/linux/net/resolver.3: Ditto.
2976 * libc/sys/linux/net/rthdr.c: Ditto.
2977 * libc/sys/linux/net/send.c: Ditto.
2978 * libc/sys/linux/net/un-namespace.h: Ditto.
2979 * libc/sys/linux/net/vars.c: Ditto.
2980 * libc/sys/linux/stdlib/COPYRIGHT: Ditto.
2981 * libc/sys/linux/stdlib/Makefile.am: Ditto.
2982 * libc/sys/linux/stdlib/Makefile.in: Ditto.
2983 * libc/sys/linux/stdlib/cclass.h: Ditto.
2984 * libc/sys/linux/stdlib/cname.h: Ditto.
2985 * libc/sys/linux/stdlib/collate.c: Ditto.
2986 * libc/sys/linux/stdlib/collate.h: Ditto.
2987 * libc/sys/linux/stdlib/collcmp.c: Ditto.
2988 * libc/sys/linux/stdlib/engine.c: Ditto.
2989 * libc/sys/linux/stdlib/fnmatch.3: Ditto.
2990 * libc/sys/linux/stdlib/fnmatch.c: Ditto.
2991 * libc/sys/linux/stdlib/glob.3: Ditto.
2992 * libc/sys/linux/stdlib/glob.c: Ditto.
2993 * libc/sys/linux/stdlib/reallocf.c: Ditto.
2994 * libc/sys/linux/stdlib/regcomp.c: Ditto.
2995 * libc/sys/linux/stdlib/regerror.c: Ditto.
2996 * libc/sys/linux/stdlib/regex.3: Ditto.
2997 * libc/sys/linux/stdlib/regex2.h: Ditto.
2998 * libc/sys/linux/stdlib/regexec.c: Ditto.
2999 * libc/sys/linux/stdlib/regfree.c: Ditto.
3000 * libc/sys/linux/stdlib/utils.h: Ditto.
3001 * libc/sys/linux/stdlib/wordexp.c: Ditto.
3002 * libc/sys/linux/stdlib/wordfree.c: Ditto.
3003 * libc/sys/linux/sys/dlfcn.h: Ditto.
3004 * libc/sys/linux/sys/elfclass.h: Ditto.
3005 * libc/sys/linux/sys/event.h: Ditto.
3006 * libc/sys/linux/sys/ioccom.h: Ditto.
3007 * libc/sys/linux/sys/libc-tsd.h: Ditto.
3008 * libc/sys/linux/sys/link.h: Ditto.
3009 * libc/sys/linux/sys/lock.h: Ditto.
3010 * libc/sys/linux/sys/param.h: Ditto.
3011 * libc/sys/linux/sys/socket.h: Ditto.
3012 * libc/sys/linux/sys/sockio.h: Ditto.
3013
82095e79
JJ
30142003-05-28 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
3015
3016 * newlib/libc/machine/h8300/memcpy.S: Use .h8300hn and .h8300sn for
3017 normal mode
3018 * newlib/libc/machine/h8300/memset.S: Likewise
3019 * newlib/lib/machine/h8300/reg_memcpy.S: Likewise
3020 * newlib/lib/machine/h8300/reg_memset.S: Likewise
3021 * newlib/lib/machine/h8300/setjmp.S: Likewise
3022 * newlib/lib/machine/h8300/strcmp.S: Likewise
3023 * newlib/lib/sys/h8300hms/crt0.S: Likewise
3024
8a4b4764
CV
30252003-05-13 Corinna Vinschen <corinna@vinschen.de>
3026
3027 * libc/ctype/ctype_.c: Remove checks for deprecated __CYGWIN32__.
3028 * libc/include/stdio.h: Ditto.
3029 * libc/include/sys/config.h: Ditto.
3030 * libc/stdio/mktemp.c: Ditto.
3031
837e070f
CV
30322003-05-13 Corinna Vinschen <corinna@vinschen.de>
3033
3034 * libc/locale/ldpart.c (__part_load_locale): Substitute
3035 __CYGWIN_USE_BIG_TYPES__ by __USE_INTERNAL_STAT64.
3036 * libc/search/hash.c (__hash_open): Ditto.
3037 (init_hash): Ditto.
3038 * libc/stdio/fseek.c (fseek): Ditto.
3039 * libc/stdio/makebuf.c (__smakebuf): Ditto.
3040 * libc/stdio/mktemp.c (_gettemp): Ditto.
3041
b47fcdf0
CV
30422003-05-12 Corinna Vinschen <corinna@vinschen.de>
3043
3044 * libc/include/stdio.h: Change one __CYGWIN__ to __CYGWIN32__.
3045
11e3a520
CV
30462003-05-12 Corinna Vinschen <corinna@vinschen.de>
3047
3048 * configure.host: Accomodate removing the libc/sys/cygwin dir.
3049 * libc/locale/ldpart.c (__part_load_locale): Use 64 bit stat call
3050 if __CYGWIN_USE_BIG_TYPES__ is set.
3051 * libc/search/hash.c (__hash_open): Ditto.
3052 (init_hash): Ditto.
3053 * libc/stdio/fseek.c (fseek): Ditto.
3054 * libc/stdio/makebuf.c (__smakebuf): Ditto.
3055 * libc/stdio/mktemp.c (_gettemp): Ditto.
3056 * libc/sys/cygwin/Makefile.am: Remove.
3057 * libc/sys/cygwin/Makefile.in: Remove.
3058 * libc/sys/cygwin/aclocal.m4: Remove.
3059 * libc/sys/cygwin/configure: Remove.
3060 * libc/sys/cygwin/configure.in: Remove.
3061 * libc/sys/cygwin/crt0.c: Move to winsup/cygwin directory.
3062 * libc/sys/cygwin/sys/dirent.h: Move to winsup/cygwin/include/sys
3063 directory.
3064 * libc/sys/cygwin/sys/param.h: Ditto.
3065 * libc/sys/cygwin/sys/utime.h: Ditto.
3066 * libc/sys/cygwin/sys/utmp.h: Ditto.
3067
d1b5e65b
CV
30682003-05-11 Corinna Vinschen <corinna@vinschen.de>
3069
3070 * libc/include/sys/types.h: Don't define key_t for Cygwin.
3071
ec48a953
CF
30722003-05-10 Christopher Faylor <cgf@redhat.com>
3073
3074 * libc/sys/cygwin/sys/dirent.h (struct dirent): Accommodate (slightly)
3075 64 bit inodes.
3076
a3cc5851
CV
30772003-05-09 Corinna Vinschen <corinna@vinschen.de>
3078
3079 * libc/include/sys/config.h: Remove all Cygwin specific configuration.
3080 Include cygwin/config.h instead.
3081
57ff95d3
JJ
30822003-04-16 Jeff Johnston <jjohnstn@redhat.com>
3083
3084 * newlib/libc/machine/powerpc (ato*fix*.c,strto*fix*.c): Shield
3085 all code with #ifdef __SPE__ test.
3086 * newlib/libc/machine/powerpc (simdldtoa.c, ufix64toa.c): Ditto.
3087
cfd2c7be
CF
30882003-04-15 Chris January <chris@atomice.net>
3089
3090 * newlib/libc/include/sys/unistd.h: add declaration for gethostid on
3091 Cygwin.
3092
6f48c0ae
JR
30932003-04-09 J"orn Rennecke <joern.rennecke@superh.com>
3094
3095 * libc/machine/sh/memset.S: Avoid clobbering volatile
3096 objects following a tiny to-be-set array in the same quadword.
3097
8f8d09c0
CV
30982001-04-09 Corinna Vinschen <corinna@vinschen.de>
3099
3100 * libc/include/wchar.h: Add definitions for wcswidth and wcwidth.
3101 * libc/string/Makefile.am: Add wcswidth.c and wcwidth.c
3102 * libc/string/Makefile.in: Regenerated.
3103 * libc/string/wcswidth.c: New file.
3104 * libc/string/wcwidth.c: New file.
3105 * libc/string/wcstrings.tex: Add wcswidth and wcwidth.
3106
40c3b2d0
JR
3107Thu Apr 3 14:01:16 2003 J"orn Rennecke <joern.rennecke@superh.com>
3108
3109 * libc/machine/sh/memset.S: Fix problem with alloco region
3110 exceeding destination region for length >= 88 bytes, start
3111 & 0x16 == 0, end & 0x1f == 18.
3112
8ae6a3dd
CV
31132001-04-03 Corinna Vinschen <corinna@vinschen.de>
3114
3115 * libc/string/wcscoll.c: Fix comment.
3116
d122b1cc
CV
31172001-04-02 Corinna Vinschen <corinna@vinschen.de>
3118
3119 * libc/include/wchar.h: Add definition for wcscoll.
3120 * libc/string/Makefile.am: Add wcscoll.c.
3121 * libc/string/Makefile.in: Regenerated.
3122 * libc/string/wcscoll.c: New file.
3123 * libc/string/wcstrings.tex: Add wcscoll.
3124
31ee99a4
CV
31252003-04-01 Corinna Vinschen <corinna@vinschen.de>
3126
3127 * libc/stdio/sscanf.c: Update flags description.
3128 * libc/stdio/vfscanf.c: Add CHAR flag value to denote 8 bit target
3129 type.
3130 (__svfscanf_r): Add 'hh' and 'll' handling.
3131
d78045ee
CV
31322003-04-01 Corinna Vinschen <corinna@vinschen.de>
3133
3134 * libc/sys/cygwin/sys/dirent.h (struct DIR): Change type of
3135 __d_position member to _off_t.
3136
e6bdc6c5
JJ
31372003-03-20 Jeff Johnston <jjohnstn@redhat.com>
3138
3139 * libc/stdio/vfscanf.c (__svfscanf_r): For floating point conversion,
3140 count all characters used to create number against maximum width.
3141 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
3142
e65d559e
JJ
31432003-03-18 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
3144
3145 * libc/include/sys/h8300hms/crt0.S[__SIMULATOR__]: Add commandline
3146 support.
3147 * configure.host (h8300*-*-*): Added comment regarding -D__SIMULATOR__
3148 flag to support simulator only extensions.
3149
6b3bb52b
JJ
31502003-03-17 Bob Cassels <bcassels@abinitio.com>
3151
3152 * libc/string/wcschr.c: (wcschr): Look for character first,
3153 then for end of string, so you can do wcschr(x, '\0').
3154
2a940c1a
CV
31552003-03-10 Corinna Vinschen <corinna@vinschen.de>
3156
3157 * libc/include/stdio.h: Declare fgetpos, fsetpos, fseeko and ftello
3158 with internal (_fpos_t and _off_t) datatypes when compiling newlib.
3159 * libc/include/sys/unistd.h: Declare _lseek using _off_t.
3160 * libc/reent/lseekr.c (_lseek_r): Use _off_t instead of off_t.
3161 * libc/stdio/fseeko.c (fseeko): Ditto.
3162 * libc/stdio/ftello.c (ftello): Ditto.
3163 * libc/stdio/stdio.c (__swrite): Ditto.
3164 (__sseek): Ditto.
3165 * libc/stdio/fgetpos.c (fgetpos): Use _fpos_t instead of fpos_t.
3166 * libc/stdio/fseek.c (fseek): Ditto.
3167 * libc/stdio/fsetpos.c (fsetpos): Ditto.
3168 * libc/stdio/ftell.c (ftell): Ditto.
3169 * libc/stdio/local.h: Declare __sseek using _off_t.
3170
150c2818
CV
31712003-03-09 Corinna Vinschen <corinna@vinschen.de>
3172
3173 * libc/reent/lseekr.c (lseek_r): Use _off_t instead of off_t.
3174
2c440f9c
CV
31752003-03-09 Corinna Vinschen <corinna@vinschen.de>
3176
3177 * libc/include/sys/config.h: Define __CYGWIN_USE_BIG_TYPES__ for
3178 Cygwin.
3179
f882fd15
CV
31802003-03-09 Corinna Vinschen <corinna@vinschen.de>
3181
3182 * libc/include/pwd.h: Add guards to avoid type clashes when compiling
3183 Cygwin.
3184 * libc/include/sys/stat.h: Ditto.
3185 * libc/include/sys/unistd.h: Ditto.
3186 * libc/sys/cygwin/sys/dirent.h: Ditto.
3187
01d61543
CF
31882003-03-07 Christopher Faylor <cgf@redhat.com>
3189
3190 * libc/include/sys/unistd.h: Guard getopt.h call to force only
3191 declaration of getopt and avoid getopt_long declaration.
3192 * libc/sys/cygwin/include/unistd.h: Remove.
3193
5582abd2
CV
31942003-03-07 Corinna Vinschen <corinna@vinschen.de>
3195
3196 * configure.host: Define stdio64_dir for Cygwin.
3197 * libc/include/stdio.h: Change definition of fpos_t to fulfill
3198 Cygwin 64bit file access requirements.
3199 Drop definition of f*64() functions when compiled for Cygwin.
3200 * libc/include/sys/config.h: Define __LARGE64_FILES for Cygwin.
3201 * libc/reent/lseek64r.c: Use _off64_t instead of off64_t.
3202 * libc/stdio64/local64.h: Use _fpos64_t instead of fpos64_t.
3203
641da1eb
JJ
32042003-03-07 Jeff Johnston <jjohnstn@redhat.com>
3205
3206 * libc/include/sys/reent.h: Remove extraneous _sig_func
3207 declaration.
3208
32092003-02-25 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
41a639de
JJ
3210
3211 * libc/sys/h8300hms/Makefile.am: Add support for new files.
3212 * libc/sys/h8300hms/Makefile.in: Regenerated.
3213 * libc/sys/h8300hms/close.S: New file.
3214 * libc/sys/h8300hms/fstat.S: Ditto.
3215 * libc/sys/h8300hms/lseek.S: Ditto.
3216 * libc/sys/h8300hms/open.S: Ditto.
3217 * libc/sys/h8300hms/stat.S: Ditto.
3218 * libc/sys/h8300hms/read.S: New file to replace read.c.
3219 * libc/sys/h8300hms/read.c: Removed.
3220 * libc/sys/h8300hms/syscalls.c: Removed functions _open,
3221 _lseek, _close, _stat, _fstat.
3222 * libc/sys/h8300hms/write.S: New file to replace write.c.
3223 * libc/sys/h8300hms/write.c: Removed.
3224
bac50d6b
NC
32252003-02-20 Nick Clifton <nickc@redhat.com>
3226
3227 * Add support for Cirrus Maverick ARM co-processor:
3228
3229 2000-09-13 Aldy Hernandez <aldyh@redhat.com>
3230
3231 * libc/include/machine/ieeefp.h: Set IEEE_BIG_ENDIAN or
3232 IEEE_LITTLE_ENDIAN depending on endian mode (cirrus).
3233
3234 2000-08-11 Aldy Hernandez <aldyh@redhat.com>
3235
3236 * configure.host: set sys_dir, syscall_dir, and
3237 newlib_cflags for ep9312 host.
3238
3239 * configure.host: Restore alpha sorting of entries in case
3240 statements.
3241
12ee7037
JJ
32422003-02-19 Jeff Johnston <jjohnstn@redhat.com>
3243
3244 * libc/stdlib/mallocr.c (unlink): Revert 02/18 fix.
3245
1e810ba0
JJ
32462003-02-18 Christian Groessler <chris@groessler.org>
3247
3248 * libc/machine/z8k/setjmp.S (_setjmp / _longjmp): Fix to
3249 support z8001 segmented mode.
3250
b1ca765e
JJ
32512003-02-18 Earnie Boyd <earnie@users.sf.net>
3252
3253 * libc/stdlib/mallocr.c (unlink): Don't assign a value to a pointer
3254 with a NULL value.
3255
51a46b54
CF
32562003-02-10 Christopher Faylor <cgf@redhat.com>
3257
3258 * libc/include/sys/types.h: Don't define __MS_types__ for Cygwin.
3259 Don't define some types under cygwin.
3260
313f1349
JJ
32612003-02-07 Jeff Johnston <jjohnstn@redhat.com>
3262
3263 * acinclude.m4 (--disable-newlib-supplied-syscalls): New configuration
3264 option to allow disabling of syscalls being supplied in newlib.
3265 * aclocal.m4: Regenerated.
3266 * configure: Ditto.
3267 * configure.host: Add support of new configuration option and add
3268 -D__NO_SYSCALLS__ if newlib supplied syscalls are disabled.
3269 * doc/aclocal.m4: Regenerated.
3270 * doc/configure: Ditto.
3271 * libc/*aclocal.m4: Ditto.
3272 * libc/*configure: Ditto.
3273 * libm/*aclocal.m4: Ditto.
3274 * libm/*configure: Ditto.
3275 * libc/sys/arm/Makefile.am: Don't build syscalls.o if new option
3276 is disabled.
3277 * libc/sys/arm/Makefile.in: Regenerated.
3278
5017a3da
JJ
32792003-02-05 Jonathan Larmour <jifl@eCosCentric.com>
3280
3281 * libc/stdio/vsprintf.c (vsprintf, _vsprintf_r): Set _file fd to
3282 -1 to be sure it cannot later match a valid file fd causing
3283 isatty() to return 1.
3284 * libc/stdio/asprintf.c (asprintf, _asprintf_r): Ditto.
3285 * libc/stdio/sprintf.c (sprintf, _sprintf_r): Ditto.
3286 * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Ditto.
3287
ad36f7d1
JJ
32882003-02-03 Jeff Johnston <jjohnstn@redhat.com>
3289
3290 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate the format
3291 buffer based on the precision, after we have processed the input value
3292 in a local buffer and know its relative magnitude.
3293
a74181ee
JJ
32942003-01-31 Michael Snyder <msnyder@redhat.com>
3295
3296 * libc/sys/h8300hms/_exit.c (_exit, __exit): Slip a magic cookie
3297 into registers r1 and r2, so that the simulator can distinguish
3298 this trap from a breakpoint trap. Copied from libgloss.
3299
b85498d4
JJ
33002003-01-31 Michael Snyder <msnyder@redhat.com>
3301
3302 * libc/sys/h8300hms/crt0.S (_start): Change local label
3303 from .loop to .Loop, so that ld and gdb will ignore it.
3304
4700b829
JJ
33052003-01-29 Jason Tishler <jason@tishler.net>
3306
3307 * libc/include/time.h: Declare nanosleep() under Cygwin.
3308
0127ae40
NC
33092003-01-24 Nick Clifton <nickc@redhat.com>
3310
3311 * Add sh2e support:
3312
3313 2002-04-02 Alexandre Oliva <aoliva@redhat.com>
3314
3315 * libc/machine/sh/asm.h: Added __SH2E__ next to __SH3E__.
3316 * libc/machine/sh/setjmp.S: Likewise.
3317 * libc/include/machine/ieeefp.h: Likewise.
3318
8bbcd9a1
CV
33192003-01-24 Corinna Vinschen <corinna@vinschen.de>
3320
3321 * libc/include/sys/unistd.h: Add setregid and setreuid declarations
3322 for Cygwin.
3323
b8838e6f
JJ
33242003-01-21 Anita Kulkarni <anitak@kpit.com>
3325
3326 * libc/time/difftime.c : Typecast the result to double.
3327
f9e41155
CF
33282003-01-20 Christopher Faylor <cgf@redhat.com>
3329
3330 * libc/include/sys/unistd.h: Add rresvport declaration for cygwin.
3331
6b5a7988
NC
33322003-01-18 Nick Clifton <nickc@redhat.com>
3333
3334 * libc/include/machine/ieeefp.h : Define __IEEE_BIG_ENDIAN,
3335 __SMALL_BITFIELDS and _DOUBLE_IS_32BITS for IP2K.
3336
c3e92877
JJ
33372003-01-16 Joel Sherrill <joel@OARcorp.com>
3338
3339 * libc/sys/rtems/include/limits.h, libc/sys/rtems/sys/param.h,
3340 libc/sys/rtems/sys/syslimits.h: Update to be in sync with what
3341 constants are defined in each file in the shared versions in
3342 libc/include.
3343 * libc/sys/rtems/crt0.c: Define extra symbols on SH and HP-PA to
3344 autoconf can link programs.
3345 * libc/include/machine/types.h: Explicitly specify signed on
3346 intXX_t types to ensure they are signed.
3347
84510217
CF
33482003-01-14 Christopher Faylor <cgf@redhat.com>
3349
3350 * libc/time/strftime.c (strftime): Add '%h' and '%l, %k' GNU
3351 extensions.
3352
b3934ab3
RS
33532003-01-08 Richard Sandiford <rsandifo@redhat.com>
3354
3355 * configure.host (mips64vr-elf, mips64vrel-elf): New config.
3356
be9c60e5
JJ
33572003-01-07 Charles Wilson <cwilson@ece.gatech.edu>
3358
3359 * libc/stdio/sprintf.c: fix typo
3360 * libc/stdio/vfprintf.c: fix typo
3361
d4c3a750
JJ
33622003-01-07 Jeff Johnston <jjohnstn@redhat.com>
3363
3364 * configure.host: Support long double I/O for x86-linux.
3365 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate a buffer
3366 large enough to hold formatted result.
3367 * libc/machine/powerpc/simdldtoa.c (_simdldtoa_r): Ditto.
3368
b2294aaa
JJ
33692003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
3370
3371 * Makefile.am: Add vasprintf.
3372 * Makefile.in: Regenerated.
3373
ea5e5daf
JJ
33742003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
3375
3376 * asprintf.c (_asprintf_r): insure both declarations
3377 are the same.
3378
5c581eca
CF
33792002-12-28 Christopher Faylor <cgf@redhat.com>
3380
3381 * libc/include/sys/unistd.h: Under cygwin, just include getopt.h rather
3382 than defining getopt directly.
3383
60b0838f
JJ
33842002-12-20 Jeff Johnston <jjohnstn@redhat.com>
3385
3386 * NEWS: Update with 1.11.0 info.
3387 * README: Ditto.
3388 * acinclude.m4: Change version number to 1.11.0.
3389 * aclocal.m4: Regenerated.
3390 * configure: Ditto.
3391 * doc/aclocal.m4: Ditto.
3392 * doc/configure: Ditto.
3393 * libc/*/aclocal.m4: Ditto.
3394 * libc/*/configure: Ditto.
3395 * libc/libc.texinfo: Ditto.
3396 * libm/*/aclocal.m4: Ditto.
3397 * libm/*/configure: Ditto.
3398 * libm/libm.texinfo: Ditto.
3399 * libc/sys/linux/shared.ld: Add VERS_1.11.
3400
10501d57
JJ
34012002-12-20 Jeff Johnston <jjohnstn@redhat.com>
3402
3403 * libc/machine/i386/f_atan2.S: Change copyright from Cygnus
3404 Solutions to Red Hat Inc.
3405 * libc/machine/i386/f_atan2f.S: Ditto.
3406 * libc/machine/i386/f_exp.c: Ditto.
3407 * libc/machine/i386/f_expf.c: Ditto.
3408 * libc/machine/i386/f_frexp.S: Ditto.
3409 * libc/machine/i386/f_frexpf.S: Ditto.
3410 * libc/machine/i386/f_ldexp.S: Ditto.
3411 * libc/machine/i386/f_ldexpf.S: Ditto.
3412 * libc/machine/i386/f_log.S: Ditto.
3413 * libc/machine/i386/f_log10.S: Ditto.
3414 * libc/machine/i386/f_log10f.S: Ditto.
3415 * libc/machine/i386/f_logf.S: Ditto.
3416 * libc/machine/i386/f_pow.c: Ditto.
3417 * libc/machine/i386/f_powf.c: Ditto.
3418 * libc/machine/i386/f_tan.S: Ditto.
3419 * libc/machine/i386/f_tanf.S: Ditto.
3420 * libc/machine/i386/memchr.S: Ditto.
3421 * libc/machine/i386/memcmp.S: Ditto.
3422 * libc/machine/i386/memcpy.S: Ditto.
3423 * libc/machine/i386/memmove.S: Ditto.
3424 * libc/machine/i386/memset.S: Ditto.
3425 * libc/machine/i386/strchr.S: Ditto.
3426 * libc/machine/i386/strlen.S: Ditto.
3427 * libm/machine/i386/f_atan2.S: Ditto.
3428 * libm/machine/i386/f_atan2f.S: Ditto.
3429 * libm/machine/i386/f_exp.c: Ditto.
3430 * libm/machine/i386/f_expf.c: Ditto.
3431 * libm/machine/i386/f_frexp.S: Ditto.
3432 * libm/machine/i386/f_frexpf.S: Ditto.
3433 * libm/machine/i386/f_ldexp.S: Ditto.
3434 * libm/machine/i386/f_ldexpf.S: Ditto.
3435 * libm/machine/i386/f_log.S: Ditto.
3436 * libm/machine/i386/f_log10.S: Ditto.
3437 * libm/machine/i386/f_log10f.S: Ditto.
3438 * libm/machine/i386/f_logf.S: Ditto.
3439 * libm/machine/i386/f_pow.c: Ditto.
3440 * libm/machine/i386/f_powf.c: Ditto.
3441 * libm/machine/i386/f_tan.S: Ditto.
3442 * libm/machine/i386/f_tanf.S: Ditto.
3443
9b3f0d16
JJ
34442002-12-20 Jeff Johnston <jjohnstn@redhat.com>
3445
3446 * libc/stdlib/environ.c: Update license to Red Hat.
3447 * libc/machine/hppa/setjmp.S: Ditto.
3448 * libm/test/Makefile.in: Ditto.
3449
d693ad84
JJ
34502002-12-19 Jeff Johnston <jjohnstn@redhat.com>
3451
3452 * configure.host: Remove references to go32.
3453 * libc/sys/go32/*: Removed.
3454
7da92d15
JJ
34552002-12-16 Kazu Hirata <kazu@cs.umass.edu>
3456
3457 * libc/include/sys/config.h: Change setting of INT_MAX
3458 and UINT_MAX, to use __INT_MAX__ for __H8300__, __H8300H__,
3459 __H8300S__. Also consolidate flag settings for these
3460 platforms.
3461
ea01c7f5
JJ
34622002-12-10 Joel Sherrill <joel@OARcorp.com>
3463
3464 * libc/include/machine/setjmp.h: Make sure _JBLEN is defined
3465 for i386-rtems targets.
3466
c049dd5a
JJ
34672002-12-06 Jeff Johnston <jjohnstn@redhat.com>
3468
3469 * libc/include/stdlib.h (strtof): New prototype (from C99).
3470 (strtodf): Changed from prototype to macro which redefines
3471 to strtof.
3472 * libc/stdlib/atof.c: Change documentation to refer to strtof
3473 instead of strtodf.
3474 * libc/stdlib/atoff.c (atoff): Change to call strtof instead of
3475 strtodf.
3476 * libc/stdlib/strtod.c (strtodf): Renamed to strtof.
3477 (strtof): New function.
3478 * libm/test/convert.c (test_strtodf): Renamed to test_strtof which
3479 calls strtof.
3480
46a402e0
CF
34812002-11-27 Christopher Faylor <cgf@redhat.com>
3482
3483 * libc/string/memset.c (memset): Fix comment.
3484
b3cc01b0
CF
34852002-11-26 Christopher Faylor <cgf@redhat.com>
3486
3487 * libc/string/memset.c (memset): Move initialization of 'd' earlier in
3488 function.
3489
d90f3dc1
CF
34902002-11-25 Christopher Faylor <cgf@redhat.com>
3491
3492 * libc/string/memset.c (memset): Minor optimization: Use new 'd'
3493 variable, introduced below, everywhere.
3494
f24585c6
KH
34952002-11-25 Kazu Hirata <kazu@cs.umass.edu>
3496
3497 * libc/string/memset.c (memset): Make it safe even if
3498 sizeof (int) = 2.
3499
2955fd76
JJ
35002002-11-22 Joe Buehler <jbuehler@hekimian.com>
3501
3502 * configure.in: Change check for libc/include in ${CC} to
3503 use an intermediate value so as to work with different shells.
3504 * configure: Regenerated.
3505 * Makefile.in: Ditto.
3506
40ce7368
JJ
35072002-11-22 Vijay L. Khuspe <vijayk1@kpit.com>
3508
3509 * libc/sys/h8300hms/read.c: Add support for normal mode
3510 architecture.
3511
505746ad
JJ
35122002-11-20 Ryo Tsuruta <ryo@kitanet.ne.jp>
3513
3514 * libc/machine/h8300/setjmp.S (setjmp, longjmp): Combine common
3515 code for __H8300H__ and __H8300S__. Also return 32-bit return code
3516 when -mint32 is used.
3517
28ecb2f5
NC
35182002-11-18 Nick Clifton <nickc@redhat.com>
3519
3520 * libc/sys/arm/crt0.S: Add NULL to end of argv array.
3521
665b994e
JJ
35222002-11-14 Jeff Johnston <jjohnstn@redhat.com>
3523
3524 * testsuite/lib/passfail.exp (newlib_pass_fail): Changed to
3525 only issue one pass/fail message for a compile/link/execute.
3526 * testsuite/newlib.elix/elix.exp: New file.
3527 * testsuite/newlib.elix/tmmap.c: Ditto.
3528
e91ec2e3
CF
35292002-11-06 Christopher Faylor <cgf@redhat.com>
3530
3531 * libc/stdlib/malign.c: Don't compile if MALLOC_PROVIDED.
3532 * libc/stdlib/mlock.c: Ditto.
3533 * libc/stdlib/msize.c: Ditto.
3534 * libc/stdlib/msize.c: Ditto.
3535 * libc/stdlib/mtrim.c: Ditto.
3536 * libc/stdlib/valloc.c: Ditto.
3537
944772c7
JJ
35382002-11-12 Jeff Johnston <jjohnstn@redhat.com>
3539
3540 * libc/stdlib/ldtoa.c (e64toe): When checking the exponent
3541 for inf/nan, make sure that the check ignores the sign bit.
3542
dd7ee147
JJ
35432002-11-07 Joel Sherrill <joel@OARcorp.com>
3544
3545 * libc/sys/rtems/machine: New directory.
3546 * libc/sys/rtems/machine/limits.h, libc/sys/rtems/machine/param.h,
3547 libc/sys/rtems/sys/param.h, libc/sys/rtems/sys/syslimits.h,
3548 libc/sys/rtems/sys/utime.h: New files added to make *-rtems newlib
3549 targets more BSD like when installed without requiring files to
3550 be overwritten at install point when RTEMS itself is installed.
3551 * Makefile.am: Pick up system dependent machine .h files such as
3552 might be found on a BSD-ish system.
3553 * Makefile.in: Regenerate.
3554 * libc/include/machine/types.h: When on an RTEMS target, define a
3555 few BSD flavor types.
3556
35572002-11-06 Sergey Okhapkin <sos@prospect.com.ru>
503430d8
CF
3558
3559 * include/utmp.h: Define WTMP_FILE. Define and use UT_IDLEN.
3560
18cd62b7
JJ
35612002-11-06 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
3562
3563 * libc/include/wchar.h: Use _{BEGIN,END}_STD_C instead of extern "C".
3564 * libc/include/wctype.h: Ditto.
3565
d2888812
JJ
35662002-11-04 Jeff Johnston <jjohnstn@redhat.com>
3567
3568 * libc/include/wchar.h: Add extern "C" specifier if C++.
3569 * libc/include/wctype.h: Ditto.
3570
978ea3cf
JJ
35712002-10-18 Jeff Johnston <jjohnstn@redhat.com>
3572
3573 * testsuite/newlib.wctype/tiswctype.c: New test case.
3574 * testsuite/newlib.wctype/twctrans.c: Ditto.
3575
a42cf80a
JJ
35762002-10-18 Jeff Johnston <jjohnstn@redhat.com>
3577
3578 * libc/sys/linux/machine/i386/include/endian.h: New file.
3579 * libc/sys/linux/machine/i386/include/param.h: Ditto.
3580
c9ccb1f2
JJ
35812002-10-18 Jeff Johnston <jjohnstn@redhat.com>
3582
3583 * libm/machine/i386/aclocal.m4: Regenerated.
3584 * libm/machine/i386/configure: Ditto.
3585
94c5b430
JJ
35862002-10-18 Jeff Johnston <jjohnstn@redhat.com>
3587
3588 * testsuite/include/check.h: New header file to use with
3589 test cases.
3590 * testsuite/lib/newlib.exp: Add testsuite/include directory
3591 to list of header files to use.
3592 * testsuite/newlib.wctype/twctype.c: New test case for iswctype fns.
3593 * testsuite/newlib.wctype/wctype.exp: New file.
3594
ccdae543
RS
35952002-10-11 Graham Stott <graham.stott@btinternet.com>
3596 Richard Sandiford <rsandifo@redhat.com>
f770cf44
RS
3597
3598 * libc/include/sys/config.h (SIZE_T_SMALLER_THAN_LONG): Undefine.
3599 * libc/stdlib/mallocr.c (long_sub_size_t): Define in a way that
3600 doesn't require the SIZE_T_SMALLER_THAN_LONG macro.
3601
73972116
JS
36022002-10-07 Joel Sherrill <joel@OARcorp.com>
3603
3604 * libc/sys/rtems/crt0.c: Add even more symbols so gcc() can link
3605 dummy programs.
3606
89e3fcba
JS
36072002-10-07 Joel Sherrill <joel@OARcorp.com>
3608
3609 * libc/include/pthread.h: Define PTHREAD_CANCELED.
3610
54ec52e4
JS
36112002-10-07 Joel Sherrill <joel@OARcorp.com>
3612
3613 * libc/machine/hppa/DEFS.h, libc/machine/hppa/pcc_prefix.s,
3614 libc/machine/hppa/setjmp.S, libc/machine/hppa/DEFS.h: Make this
3615 compile with current GNU tools.
3616
d389acba
JJ
36172002-10-07 Jeff Johnston <jjohnstn@redhat.com>
3618
3619 * Makefile.am: Add EXTRA_DIRS to allow future dependencies on
3620 the build library.
3621 * configure.in: Ditto.
3622 * Makefile.in: Regenerated.
3623 * configure: Ditto.
3624 * libc/sys/linux/Makefile.am: Add EXTRA_SUBDIRS and EXTRA_SUBLIBS
3625 for specifying configured libraries/directories.
3626 * libc/sys/linux/configure.in: Ditto.
3627 * libc/sys/linux/Makefile.in: Regenerated.
3628 * libc/sys/linux/configure: Ditto.
3629
af5a221f
JJ
36302002-10-03 Jeff Johnston <jjohnstn@redhat.com>
3631
3632 * libc/include/reent.h: Update documentation at start of file.
3633
59a758bd
JW
36342002-09-27 Jim Wilson <wilson@redhat.com>
3635
3636 * libc/sys/sysnecv850/crt0.S (start): Delete v850 code for initializing
3637 the ctbp register.
3638
1ed3c86d
JJ
36392002-09-27 Jeff Johnston <jjohnstn@redhat.com>
3640
3641 * libc/ctype/jp2uc.c: Change to use multiple arrays in jp2uc.h.
3642 Also convert to EUCJP before using arrays. For values not in
3643 the conversion arrays, return WEOF.
3644 * libc/ctype/jp2uc.h: Change from one array to a number of
3645 arrays to account for the fact that the originating table
3646 is not contiguous for the input values since some are invalid.
3647
6e1dfd2d
JJ
36482002-09-24 Jeff Johnston <jjohnstn@redhat.com>
3649
3650 * libc/time/ctime.c: Fix prototype documentation.
3651
06f1353a
CV
36522002-09-24 Corinna Vinschen <corinna@vinschen.de>
3653
3654 * libc/include/sys/errno.h: Add EOVERFLOW.
3655
1e0e64c9
JJ
36562002-09-20 Jeff Johnston <jjohnstn@redhat.com>
3657
3658 * libc/include/wctype.h: New file.
3659
1525d127
JJ
36602002-09-20 Jeff Johnston <jjohnstn@redhat.com>
3661
3662 * libc/ctype/Makefile.am: Add new files.
3663 * libc/ctype/Makefile.in: Regenerated.
3664 * libc/ctype/ctype.tex: Add new iswxxxx, towxxxx, wctype,
3665 and wctrans functions to documentation index.
3666 * libc/ctype/iswalnum.c: New file.
3667 * libc/ctype/iswalpha.c: Ditto.
3668 * libc/ctype/iswblank.c: Ditto.
3669 * libc/ctype/iswcntrl.c: Ditto.
3670 * libc/ctype/iswctype.c: Ditto.
3671 * libc/ctype/iswdigit.c: Ditto.
3672 * libc/ctype/iswgraph.c: Ditto.
3673 * libc/ctype/iswlower.c: Ditto.
3674 * libc/ctype/iswprint.c: Ditto.
3675 * libc/ctype/iswpunct.c: Ditto.
3676 * libc/ctype/iswspace.c: Ditto.
3677 * libc/ctype/iswupper.c: Ditto.
3678 * libc/ctype/iswxdigit.c: Ditto.
3679 * libc/ctype/jp2uc.c: Ditto.
3680 * libc/ctype/jp2uc.h: Ditto.
3681 * libc/ctype/local.h: Ditto.
3682 * libc/ctype/towctrans.c: Ditto.
3683 * libc/ctype/towlower.c: Ditto.
3684 * libc/ctype/towupper.c: Ditto.
3685 * libc/ctype/utf8alpha.h: Ditto.
3686 * libc/ctype/utf8print.h: Ditto.
3687 * libc/ctype/utf8punct.h: Ditto.
3688 * libc/ctype/wctrans.c: Ditto.
3689 * libc/ctype/wctype.c: Ditto.
3690 * libc/locale/locale.c (__lc_ctype): New external array to
3691 replace static lc_ctype array.
3692 * libc/stdlib/mbtowc_r.c: Use __lc_ctype to check current lc_ctype
3693 rather than reentrancy structure's _current_locale field.
3694 * libc/stdlib/wctomb_r.c: Ditto.
3695
da25e61f
JJ
36962002-09-20 Jeff Johnston <jjohnstn@redhat.com>
3697
3698 * configure.host: Minor comment and formatting changes.
3699 * libc/Makefile.am: Add libc_la_DEPENDENCIES.
3700 * libc/Makefile.in: Regenerated.
3701 * libc/include/sys/config.h: Minor format change.
3702
5b9ee539
JJ
37032002-09-19 Jeff Johnston <jjohnstn@redhat.com>
3704
3705 * libc/syscalls/sysfcntl.c (fcntl): Fix typo in preprocessor
3706 statement comment.
3707
50558bf3
JJ
37082002-09-19 Jeff Johnston <jjohnstn@redhat.com>
3709
3710 * libc/posix/opendir.c (opendir): Change code to check
3711 for HAVE_FCNTL before calling fcntl.
3712 * libc/search/hash.c (hash_open): Ditto.
3713 * libc/search/hash_page.c (open_tmp): Ditto.
3714 * libc/reent/Makefile.am: Add fcntlr.c.
3715 * libc/reent/Makefile.in: Regenerated.
3716 * libc/reent/fcntlr.c: New file.
3717 * libc/stdio/fdopen.c (_fdopen_r): Change to call _fcntl_r
3718 instead of _fcntl when HAVE_FCNTL flag is set.
3719 * libc/syscalls/sysfcntl.c (fcntl): Check for HAVE_FCNTL flag
3720 to see if _fcntl or _fcntl_r should be called. If flag is not
3721 set, default to ENOSYS stub.
3722
9211a1ad
JJ
37232002-09-16 Jeff Johnston <jjohnstn@redhat.com>
3724
3725 * libc/include/wchar.h (mbstate_t): Change protective flag to
3726 be _MBSTATE_T.
3727 * libc/include/sys/_types.h (_mbstate_t): Remove protective flag.
3728 [__CYGWIN__]: Remove special code that defines mbstate_t and WEOF
3729 for Cygwin.
3730 * libc/sys/linux/sys/_types.h (_mbstate_t): Remove protective flag.
3731
a8615092
JJ
37322002-09-11 Jeff Johnston <jjohnstn@redhat.com>
3733
3734 * acinclude.m4 (enable-newlib-mb): Change check to
3735 default newlib_mb variable to empty string rather than "no".
3736 * configure.host: Remove hard-coding of -DMB_CAPABLE for
3737 x86-linux and Cygwin. Add code to check for newlib_mb
3738 being unset in which case set to "yes" for x86-linux and
3739 Cygwin. Change check for newlib_mb being "yes" to allow
3740 for an empty string.
3741 * configure.in (_MB_LEN_MAX): New AC_DEFINE.
3742 * newlib.hin (_MB_LEN_MAX): New define to configure.
3743 * aclocal.m4: Regenerated.
3744 * configure: Ditto.
3745 * libc/include/limits.h: New file.
3746 * libc/sys/linux/include/limits.h: Ditto.
3747 * doc/aclocal.m4 doc/configure libc/aclocal.m4
3748 libc/configure libc/include/%redact libc/machine/aclocal.m4
3749 libc/machine/configure libc/machine/a29k/aclocal.m4
3750 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
3751 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
3752 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
3753 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
3754 libc/machine/fr30/configure libc/machine/frv/aclocal.m4
3755 libc/machine/frv/configure libc/machine/h8300/aclocal.m4
3756 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
3757 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
3758 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
3759 libc/machine/i386/configure libc/machine/i960/aclocal.m4
3760 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
3761 libc/machine/m32r/configure libc/machine/m68hc11/aclocal.m4
3762 libc/machine/m68hc11/configure libc/machine/m68k/aclocal.m4
3763 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
3764 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
3765 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
3766 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
3767 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
3768 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
3769 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
3770 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
3771 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
3772 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
3773 libc/machine/v850/configure libc/machine/w65/aclocal.m4
3774 libc/machine/w65/configure libc/machine/xscale/aclocal.m4
3775 libc/machine/xscale/configure
3776 libc/machine/xstormy16/aclocal.m4
3777 libc/machine/xstormy16/configure libc/machine/z8k/aclocal.m4
3778 libc/machine/z8k/configure libc/sys/aclocal.m4
3779 libc/sys/configure libc/sys/a29khif/aclocal.m4
3780 libc/sys/a29khif/configure libc/sys/arc/aclocal.m4
3781 libc/sys/arc/configure libc/sys/arm/aclocal.m4
3782 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
3783 libc/sys/cygwin/configure libc/sys/d10v/aclocal.m4
3784 libc/sys/d10v/configure libc/sys/decstation/aclocal.m4
3785 libc/sys/decstation/configure libc/sys/go32/aclocal.m4
3786 libc/sys/go32/configure libc/sys/h8300hms/aclocal.m4
3787 libc/sys/h8300hms/configure libc/sys/h8500hms/aclocal.m4
3788 libc/sys/h8500hms/configure libc/sys/idt/aclocal.m4
3789 libc/sys/idt/configure libc/sys/linux/aclocal.m4
3790 libc/sys/linux/configure libc/sys/linux/include/%redact
3791 libc/sys/linux/machine/aclocal.m4
3792 libc/sys/linux/machine/configure
3793 libc/sys/linux/machine/i386/aclocal.m4
3794 libc/sys/linux/machine/i386/configure
3795 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
3796 libc/sys/mmixware/aclocal.m4 libc/sys/mmixware/configure
3797 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
3798 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
3799 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
3800 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
3801 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
3802 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
3803 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
3804 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
3805 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
3806 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
3807 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
3808 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
3809 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
3810 libm/aclocal.m4 libm/configure: Regenerated.
3811
be83844e
JJ
38122002-09-09 Jeff Johnston <jjohnstn@redhat.com>
3813
3814 * libc/sys/linux/machine/i386/crt0.c (_start): Remove
3815 code that clears the .bss section.
3816
9c64d2a7
JJ
38172002-09-09 Jeff Johnston <jjohnstn@redhat.com>
3818
3819 * libc/include/sys/_types.h (_mbstate_t): Changed to use
3820 unsigned char internally.
3821 * libc/sys/linux/sys/_types.h: Ditto.
3822 * libc/include/sys/reent.h
3823 * libc/stdlib/mblen.c (mblen): Use function-specific state
3824 value from default reentrancy structure.
3825 * libc/stdlib/mblen_r.c (_mblen_r): If return code from
3826 _mbtowc_r is less than 0, reset state __count value and
3827 return -1.
3828 * libc/stdlib/mbrlen.c (mbrlen): If the input state pointer
3829 is NULL, use the function-specific pointer provided in the
3830 default reentrancy structure.
3831 * libc/stdlib/mbrtowc.c: Add reentrant form of function.
3832 If input state pointer is NULL, use function-specific area
3833 provided in reentrancy structure.
3834 * libc/stdlib/mbsrtowcs.c: Ditto.
3835 * libc/stdlib/wcrtomb.c: Ditto.
3836 * libc/stdlib/wcsrtombs.c: Ditto.
3837 * libc/stdlib/mbstowcs.c: Reformat.
3838 * libc/stdlib/wcstombs.c: Ditto.
3839 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): If an error occurs,
3840 reset the state's __count value and return -1.
3841 * libc/stdlib/mbtowc.c: Ditto.
3842 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Add restartable functionality.
3843 If number of bytes is used up before completing a valid multibyte
3844 character, return -2 and save the state.
3845 * libc/stdlib/wctomb_r.c (_wctomb_r): Define __state as __count
3846 and change some __count references to __state for clarity.
3847
218b7a56
JJ
38482002-09-06 Jeff Johnston <jjohnstn@redhat.com>
3849
3850 * libc/include/sys/config.h (MB_LEN_MAX): Removed as this
3851 is defined by <limits.h>.
3852
c210a6ea
JJ
38532002-09-05 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
3854
3855 * libc/include/wchar.h (WCHAR_MAX): Only define if not already
3856 defined.
3857
efa077ce
JJ
38582002-09-04 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
3859
3860 * libc/include/sys/config.h: Define accordingly __WCHAR_MAX__.
3861 * libc/include/wchar.h: Define WCHAR_MIN as 0 and WCHAR_MAX as
3862 __WCHAR_MAX__ or 0x7fffffffu.
3863 * libc/string/wcscmp.c: Delete wrong and unnecessary type cast.
3864 * libc/string/wcsncmp.c: Ditto.
3865
e4b0ebc1
JJ
38662002-09-03 Jeff Johnston <jjohnstn@redhat.com>
3867
3868 * libc/string/wcschr.c: Add include of <stddef.h>.
3869 * libc/string/wcspbrk.c: Ditto.
3870 * libc/string/wcsrchr.c: Ditto.
3871 * libc/string/wcsstr.c: Ditto.
3872
3db40db7
JJ
38732002-09-03 Jeff Johnston <jjohnstn@redhat.com>
3874
3875 * libc/include/sys/_types.h (_flock_t): Added.
3876 * libc/include/sys/lock.h (__lock_try_acquire): New interface.
3877 (__lock_try_acquire_recursive): Ditto.
3878 * libc/include/sys/reent.h (__sFILE, __sFILE64): Add new
3879 _lock field.
3880 * libc/stdio/findfp.c (std)[!__SINGLE_THREAD__]: Initialize _lock
3881 field.
3882 * libc/stdio/fopen.c (_fopen_r)[!__SINGLE_THREAD__]: Ditto.
3883 * libc/stdio64/fopen64.c (_fopen64_r)[!__SINGLE_THREAD__]: Ditto.
3884 * libc/sys/linux/include/time.h (struct timespec): Moved from
3885 <sys/types.h> and added check for __need_timespec flag so type
3886 can be defined by itself.
3887 * libc/sys/linux/sys/_types.h (_flock_t): New type.
3888 * libc/sys/linux/sys/types.h (struct timespec): Moved to
3889 <time.h>.
3890
cd45f029
TF
38912002-08-29 Thomas Fitzsimmons <fitzsim@redhat.com>
3892
3893 * libc/sys/linux/argp: New directory.
3894 * libc/sys/linux/getopt.c: New file.
3895 * libc/sys/linux/getopt1.c: New file.
3896 * libc/sys/linux/getoptlong.c: Remove file.
3897 * libc/sys/linux/include/argp.h: New file.
3898 * libc/sys/linux/Makefile.am: Define argp_dir and ARGP_LIB,
3899 based on ELIX level.
3900 (SUBDIRS): Add argp_dir.
3901 (SUBLIBS): Add ARGP_LIB.
3902 (ELIX_2_OBJS): Add getopt.$(oext), getopt1.$(oext), remove
3903 getopt_long.$(oext).
3904 * libc/sys/linux/configure.in (AC_OUTPUT): Add argp/Makefile.
3905
3c689185
JJ
39062002-08-29 Jeff Johnston <jjohnstn@redhat.com>
3907
3908 * libc/libc.texinfo: Add node reference to wide-character strings.
3909 * libc/string/wcstrings.tex: New file.
3910 * libc/string/strtok_r.c: Remove outdated advertising clause.
3911 * libc/string/Makefile.am (doc): Add wide-character string
3912 chapter to documentation.
3913 * libc/string/Makefile.in: Regenerated.
3914
890e7a1d
JJ
39152002-08-29 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
3916
3917 * libc/include/wchar.h: Define NULL. Define WEOF more general
3918 way. Declare functions in newlib manner.
3919 * libc/stdlib/Makefile.am: Delete wmem*.c
3920 * libc/stdlib/Makefile.in: Regenerated.
3921 * libc/stdlib/wmemchr.c: Delete.
3922 * libc/stdlib/wmemcmp.c: Ditto.
3923 * libc/stdlib/wmemcpy.c: Ditto.
3924 * libc/stdlib/wmemmove.c: Ditto.
3925 * libc/stdlib/wmemset.c: Ditto.
3926 * libc/string/Makefile.am: Add wmem*.c and wcs*.c.
3927 * libc/string/Makefile.in: Regenerated.
3928 * libc/string/wcscat.c: New file derived from the NetBSD C Library.
3929 * libc/string/wcschr.c: Ditto.
3930 * libc/string/wcscmp.c: Ditto.
3931 * libc/string/wcscpy.c: Ditto.
3932 * libc/string/wcscspn.c: Ditto.
3933 * libc/string/wcslcat.c: Ditto.
3934 * libc/string/wcslcpy.c: Ditto.
3935 * libc/string/wcslen.c: Ditto.
3936 * libc/string/wcsncat.c: Ditto.
3937 * libc/string/wcsncmp.c: Ditto.
3938 * libc/string/wcsncpy.c: Ditto.
3939 * libc/string/wcspbrk.c: Ditto.
3940 * libc/string/wcsrchr.c: Ditto.
3941 * libc/string/wcsspn.c: Ditto.
3942 * libc/string/wcsstr.c: Ditto.
3943 * libc/string/wmemchr.c: Ditto.
3944 * libc/string/wmemcmp.c: Ditto.
3945 * libc/string/wmemcpy.c: Ditto.
3946 * libc/string/wmemmove.c: Ditto.
3947 * libc/string/wmemset.c: Ditto.
3948
86620e21
JJ
39492002-08-29 Jeff Johnston <jjohnstn@redhat.com>
3950
3951 * libc/locale/locale.c (_setlocale_r)[MB_CAPABLE]: Fix so
3952 default locale "" is accepted for LC_CTYPE or LC_MESSAGES
3953 and is treated as if "C" was specified.
3954
f3741c27
JJ
39552002-08-28 Jeff Johnston <jjohnstn@redhat.com>
3956
3957 * Makefile.am (install-data-local): Move install of build
3958 newlib.h after installing headers in libc/include so as to
3959 overwrite default newlib.h.
3960 * Makefile.in: Regenerated.
3961
48da61f5
JJ
39622002-08-28 Jeff Johnston <jjohnstn@redhat.com>
3963
3964 * libc/include/newlib.h: New file for tools that use newlib
3965 headers but don't build newlib first (e.g. gcc).
3966
d82a94ac
JJ
39672002-08-28 Jeff Johnston <jjohnstn@redhat.com>
3968
3969 * libc/stdlib/wmemchr.c: Explicitly include <_ansi.h>.
3970 * libc/stdlib/wmemcmp.c: Ditto.
3971 * libc/stdlib/wmemcpy.c: Ditto.
3972 * libc/stdlib/wmemmove.c: Ditto.
3973 * libc/stdlib/wmemset.c: Ditto.
3974
7d08241b
JJ
39752002-08-27 Egor Duda <deo@logos-m.ru>
3976
3977 * libc/stdlib/wmemchr.c: New file.
3978 * libc/stdlib/wmemcmp.c: Ditto.
3979 * libc/stdlib/wmemcpy.c: Ditto.
3980 * libc/stdlib/wmemmove.c: Ditto.
3981 * libc/stdlib/wmemset.c: Ditto.
3982 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add new files.
3983 * configure.host: Default -DMB_CAPABLE for cygwin.
3984 * libc/include/wchar.h: Declare wmemchr(), wmemcmp(), wmemcpy(),
3985 wmemmove() and wmemset(). Add include of <_ansi.h>.
3986 * libc/stdlib/Makefile.in: Regenerate.
3987
8da1639b
JJ
39882002-08-27 Jeff Johnston <jjohnstn@redhat.com>
3989
ff2bf852 3990 * configure.host: Remove _ELIX_LEVEL flag setting.
8da1639b
JJ
3991 * Makefile.am(stmp-targ-include): Copy newlib.h to targ-include.
3992 (install-data-local): Install newlib.h.
3993 * Makefile.in: Regenerated.
3994 * aclocal.m4: Ditto.
3995 * configure: Ditto.
3996 * configure.in: Add AM_CONFIG_HEADER to generate newlib.h based on
3997 newlib.hin. Add AC_DEFINE_UNQUOTED entries for _ELIX_LEVEL
3998 and _NEWLIB_VERSION to fill in newlib.h header file entries.
3999 In AC_OUTPUT statement, unset ac_file so multilib support does
4000 not use last ac_file temporary used in newlib.h configuration.
4001 * libc/include/_ansi.h: Include <newlib.h>.
4002 * newlib.hin: New template file for newlib.h.
4003 * stamp-h.in: New file.
4004
a4421c11
JJ
40052002-08-26 Wu Yongwei <adah@netstd.com>
4006
4007 * time.h (timezonevar): Change "#if" to "#ifdef".
4008
90b65e2d
JJ
40092002-08-26 Jeff Johnston <jjohnstn@redhat.com>
4010
4011 * Makefile.am(LIBC_OBJECTLISTS): Add STDIO64_OBJECTLIST.
4012 * Makefile.in: Regenerated.
4013 * acinclude.m4: Add support for --enable-newlib-elix-level option.
4014 * aclocal.m4: Regenerated.
4015 * configure: Ditto.
4016 * configure.host: Add code to define _ELIX_LEVEL if
4017 --enable-newlib-elix-level option is used.
4018 * configure.in:
4019 * libc/aclocal.m4: Regenerated.
4020 * libc/configure: Ditto.
4021 * libc/argz/Makefile.am: Add EL/IX level checking.
4022 * libc/argz/Makefile.in: Regenerated.
4023 * libc/argz/dummy.c: New file.
4024 * libc/ctype/Makefile.am: Add EL/IX level checking.
4025 * libc/ctype/Makefile.in: Regenerated.
4026 * libc/locale/Makefile.am: Add EL/IX level checking.
4027 * libc/locale/Makefile.in: Regenerated.
4028 * libc/posix/Makefile.am: Add EL/IX level checking.
4029 * libc/posix/Makefile.in: Regenerated.
4030 * libc/posix/telldir.c: Add EL/IX level checking.
4031 * libc/reent/Makefile.am: Ditto.
4032 * libc/reent/fstat64r.c: Ditto.
4033 * libc/reent/lseek64r.c: Ditto.
4034 * libc/reent/open64r.c: Ditto.
4035 * libc/reent/Makefile.in: Regenerated.
4036 * libc/search/Makefile.am: Add EL/IX level checking.
4037 * libc/search/Makefile.in: Regenerated.
4038 * libc/stdio/Makefile.am: Add EL/IX level checking.
4039 * libc/stdio/Makefile.in: Regenerated.
4040 * libc/stdio64/Makefile.am: Add EL/IX level checking.
4041 * libc/stdio64/Makefile.in: Regenerated.
4042 * libc/stdio64/dummy.c: New file.
9b487837 4043 * libc/stdio64/fgetpos64.c: Fix so _LARGE64_FILES macro is checked
90b65e2d
JJ
4044 after first include.
4045 * libc/stdio64/fopen64.c: Ditto.
4046 * libc/stdio64/freopen64.c: Ditto.
4047 * libc/stdio64/fseeko64.c: Ditto.
4048 * libc/stdio64/fsetpos64.c: Ditto.
4049 * libc/stdio64/ftello64.c: Ditto.
4050 * libc/stdio64/tmpfile64.c: Ditto.
4051 * libc/stdlib/Makefile.am: Add EL/IX level checking.
4052 * libc/stdlib/Makefile.in: Regenerated.
4053 * libc/stdlib/mstats.c: Add EL/IX level checking.
4054 * libc/string/Makefile.am: Ditto.
4055 * libc/string/Makefile.in: Regenerated.
4056 * libc/sys/linux/Makefile.am: Add EL/IX level checking.
4057 * libc/sys/linux/Makefile.in: Regenerated.
4058 * libc/sys/linux/aclocal.m4: Ditto.
4059 * libc/sys/linux/configure: Ditto.
4060 * libc/sys/linux/aio.c: Add EL/IX level checking.
4061 * libc/sys/linux/ftok.c: Ditto.
4062 * libc/sys/linux/getdate.c: Ditto.
4063 * libc/sys/linux/ids.c: Ditto.
4064 * libc/sys/linux/inode.c: Ditto.
4065 * libc/sys/linux/io.c: Ditto.
4066 * libc/sys/linux/process.c: Ditto.
4067 * libc/sys/linux/resource.c: Ditto.
4068 * libc/sys/linux/sched.c: Ditto.
4069 * libc/sys/linux/sig.c: Ditto.
4070 * libc/sys/linux/termios.c: Ditto.
4071 * libc/sys/linux/wait.c: Ditto plus add __waitpid and
4072 __libc___waitpid weak aliases.
4073 * libc/sys/linux/machine/i386/syscall.h: Add new _base macros
4074 that generate the code for a syscall, but do not create a
4075 weak alias.
4076 * libc/syscalls/Makefile.am: Add EL/IX level checking.
4077 * libc/syscalls/Makefile.in: Regenerated.
4078 * libc/time/tzset_r.c: Change to replace strdup with equivalent
4079 functionality.
4080 * libc/unix/Makefile.am: Add EL/IX level checking.
4081 * libc/unix/Makefile.in: Regenerated.
4082
2e2b268c
CF
40832002-08-26 Christopher Faylor <cgf@redhat.com>
4084
4085 * libc/include/malloc.h: On cygwin, define malloc _r functions as
4086 wrapper macros to standard malloc functions.
4087 * libc/include/stdlib.h: Ditto.
4088 * configure.host: Always define MALLOC_PROVIDED on cygwin.
4089
8d9112f2
TF
40902002-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
4091
4092 * libc/include/langinfo.h: New file.
4093 * libc/include/wchar.h: Likewise.
4094 * libc/include/sys/syslimits.h: Likewise.
4095 * libc/locale/fix_grouping.c: Likewise.
4096 * libc/locale/ldpart.c: Likewise.
4097 * libc/locale/ldpart.h: Likewise.
4098 * libc/locale/lmessages.c: Likewise.
4099 * libc/locale/lmessages.h: Likewise.
4100 * libc/locale/lmonetary.c: Likewise.
4101 * libc/locale/lmonetary.h: Likewise.
4102 * libc/locale/lnumeric.c: Likewise.
4103 * libc/locale/lnumeric.h: Likewise.
4104 * libc/locale/nl_langinfo.3: Likewise.
4105 * libc/locale/nl_langinfo.c: Likewise.
4106 * libc/locale/timelocal.c: Likewise.
4107 * libc/locale/timelocal.h: Likewise.
4108 * libc/stdlib/btowc.c: Likewise.
4109 * libc/stdlib/mbrlen.c: Likewise.
4110 * libc/stdlib/mbrtowc.c: Likewise.
4111 * libc/stdlib/mbsinit.c: Likewise.
4112 * libc/stdlib/mbsrtowcs.c: Likewise.
4113 * libc/stdlib/wcrtomb.c: Likewise.
4114 * libc/stdlib/wcsrtombs.c: Likewise.
4115 * libc/stdlib/wctob.c: Likewise.
4116 * libc/sys/linux/prof-freq.c: Likewise.
4117 * libc/sys/linux/profile.c: Likewise.
4118 * libc/sys/linux/machine/i386/dl-procinfo.c: Likewise.
4119 * libc/sys/linux/machine/i386/dl-procinfo.h: Likewise.
4120 * libc/include/stdlib.h: Change re-entrant functions to take
4121 mbstate_t pointers.
4122 * libc/include/sys/_types.h: Define _mbstate_t.
4123 * libc/include/sys/config.h (MB_LEN_MAX): New macro.
4124 * libc/include/sys/errno.h (EILSEQ): New error code.
4125 * libc/include/sys/reent.h: Include wchar.h. Change reentrant
4126 structure to use mbstate_t.
4127 * libc/locale/Makefile.am (LIB_SOURCES): Add new files.
4128 * libc/machine/powerpc/vfprintf.c: Use mbstate_t.
4129 * libc/machine/powerpc/vfscanf.c: Likewise.
4130 * libc/stdio/getdelim.c: Reallocate buffer only when necessary.
4131 * libc/stdio/vfprintf.c: Likewise.
4132 * libc/stdio/vfscanf.c: Likewise.
4133 * libc/stdlib/Makefile.am (LIB_SOURCES): Add new files.
4134 * libc/stdlib/mblen.c: Use mbstate_t.
4135 * libc/stdlib/mblen_r.c: Likewise.
4136 * libc/stdlib/mbstowcs.c: Likewise.
4137 * libc/stdlib/mbstowcs_r.c: Likewise.
4138 * libc/stdlib/mbtowc.c: Likewise.
4139 * libc/stdlib/mbtowc_r.c: Likewise.
4140 * libc/stdlib/wcstombs.c: Likewise.
4141 * libc/stdlib/wcstombs_r.c: Likewise.
4142 * libc/stdlib/wctomb_r.c: Likewise.
4143 * libc/sys/linux/Makefile.am (LIB_SOURCES): Add prof-freq.c and
4144 profile.c.
4145 * libc/sys/linux/machine/i386/Makefile.am (LIB_SOURCES): Add
4146 dl-procinfo.c.
4147 * libc/sys/linux/sys/errno.h (EILSEQ): New error code.
4148 * libc/sys/linux/sys/types.h (off_t): Define type.
4149 * testsuite/newlib.locale/UTF-8.c: Change locale name from UTF-8
4150 to C-UTF-8.
4151 * testsuite/newlib.locale/UTF-8.exp: Likewise.
4152
fe47ea33
JJ
41532002-08-20 Casper S. Hornstrup <chorns@users.sourceforge.net>
4154
4155 * libc/stdlib/mallocr.c: #include windows.h on Win32.
4156 (AlignPage): Continue macro on next line.
4157
ada73509
JJ
41582002-08-19 Jeff Johnston <jjohnstn@redhat.com>
4159
4160 * libc/sys/linux/include/pthread.h: New file.
4161
64b5e8f2
JJ
41622002-08-19 Jeff Johnston <jjohnstn@redhat.com>
4163
4164 * libc/include/sys/types.h: Support __need_inttypes macro
4165 that only sets the __intxx and __uintxx types.
4166 * libc/machine/powerpc/Makefile.am: Add stdlib to include directories
4167 to get mprec.h.
4168 * libc/machine/powerpc/Makefile.in: Regenerated.
4169 * libc/machine/powerpc/vfprintf.c: Fix state variable type.
4170 * libc/machine/powerpc/vfscanf.c: Fix state variable type. Remove
4171 redundant fixed-point conversion prototypes.
4172 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Include <sys/types.h>
4173 after setting __need_inttypes.
4174
a94b60ce
CF
41752002-08-18 Christopher Faylor <cgf@redhat.com>
4176
4177 * libc/include/sys/unistd.h: Add getsid declaration for cygwin.
4178
29e17a86
JJ
41792002-08-17 Jeff Johnston <jjohnstn@redhat.com>
4180
4181 * libc/include/sys/config.h[__PPC__][__SPE__]: Set
4182 _LONG_DOUBLE to double.
4183
936b520f
JJ
41842002-08-17 Jeff Johnston <jjohnstn@redhat.com>
4185
4186 * configure.host: Add powerpc*-*-eabispe* configuration.
4187 * libc/machine/powerpc/atosfix16.c: New fixed-point conversion file.
4188 * libc/machine/powerpc/atosfix32.c: Ditto.
4189 * libc/machine/powerpc/atosfix64.c: Ditto.
4190 * libc/machine/powerpc/atoufix16.c: Ditto.
4191 * libc/machine/powerpc/atoufix32.c: Ditto.
4192 * libc/machine/powerpc/atoufix64.c: Ditto.
4193 * libc/machine/powerpc/fix64.h: Ditto.
4194 * libc/machine/powerpc/simdldtoa.c: Ditto.
4195 * libc/machine/powerpc/strtosfix16.c: Ditto.
4196 * libc/machine/powerpc/strtosfix32.c: Ditto.
4197 * libc/machine/powerpc/strtosfix64.c: Ditto.
4198 * libc/machine/powerpc/strtoufix16.c: Ditto.
4199 * libc/machine/powerpc/strtoufix32.c: Ditto.
4200 * libc/machine/powerpc/strtoufix64.c: Ditto.
4201 * libc/machine/powerpc/ufix64toa.c: Ditto.
4202 * libc/machine/powerpc/configure.in: Add check for
4203 powerpc*-eabispe and add fixed-point conversion functions.
4204 * libc/machine/powerpc/configure: Regenerated.
4205 * libc/machine/powerpc/vfprintf.c[__SPE__]: Add support for
4206 %r and %R format specifiers which handle fixed-point data.
4207 * libc/machine/powerpc/vfscanf.c[__SPE__]: Ditto.
4208 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Add fixed-point
4209 function prototypes.
4210
ad552766
JJ
42112002-08-17 Jeff Johnston <jjohnstn@redhat.com>
4212
4213 * Makefile.am: Move cmath stuff into libc/sys/linux.
4214 * Makefile.in: Regenerated.
4215 * configure.host: Default -DMB_CAPABLE for x86-linux.
4216 * libc/include/reent.h: Define _sbrk to take signed int argument.
4217 * libc/include/sys/unistd.h: Ditto for _sbrk_r and sbrk.
4218 * libc/locale/locale.c[MB_CAPABLE]: Add LC_MESSAGES support and
4219 make locale name checking more efficient. Also allow "C-ISO-8859-1"
4220 locale for LC_CTYPE and LC_MESSAGES.
4221 * libc/reent/sbrkr.c: Change prototype to take ptrdiff_t.
4222 * libc/sys/linux/brk.c: Change sbrk prototype.
4223 * libc/sys/linux/include/time.h: Remove Cygwin stuff and
4224 include <sys/features.h>.
4225 (CLOCK_THREAD_CPUTIME): Renamed to CLOCK_THREAD_CPUTIME_ID.
4226 (CLOCK_PROCESS_CPUTIME): Renamed to CLOCK_PROCESS_CPUTIME_ID.
4227 * libc/sys/linux/sys/cdefs.h: Replace with glibc sys/cdefs.h
4228 with a few local additions.
4229 * libc/sys/linux/sys/features.h: New file.
4230 * libc/sys/linux/sys/unistd.h: Change _sbrk_r and sbrk prototypes
4231 to take signed argument.
4232 * libc/syscalls/syssbrk.c: Change sbrk, _sbrk_r, and _sbrk
4233 prototypes to take signed size argument.
4234
d3bd3632
TF
42352002-08-16 Thomas Fitzsimmons <fitzsim@redhat.com>
4236
4237 * libc/sys/linux/cmath: New directory.
4238 * libc/sys/linux/include/cmathcalls.h: New file.
4239 * libc/sys/linux/include/complex.h: New file.
4240 * libc/sys/linux/machine/i386/huge_val.h: New file
4241 * libm/math/w_sincos.c: New file
4242 * libm/math/wf_sincos.c: New file
4243 * libm/mathfp/s_sincos.c: New file
4244 * libm/mathfp/sf_sincos.c: New file
4245 * Makefile.am (LIBC_OBJECTLISTS): Add cmath/objectlist.awk.in.
4246 * libc/include/math.h: Add sincos and sincosf declarations.
4247 * libc/sys/linux/Makefile.am (SUBDIRS): Add cmath.
4248 (SUBLIBS): Likewise.
4249 * libc/sys/linux/configure.in (AC_OUTPUT): Add cmath.
4250 * libm/math/Makefile.am (src): Add w_sincos.c.
4251 (fsrc): Add wf_sincos.c.
4252 * libm/mathfp/Makefile.am (src): Add s_sincos.c
4253 (fsrc): Add sf_sincos.c.
4254
b3a9676b
JJ
42552002-08-12 Jeff Johnston <jjohnstn@redhat.com>
4256
4257 * libc/sys/linux/machine/i386/crt0.c (__bss_start,_end):
4258 Declare as extern chars and use the address operator to
4259 properly use values set in linker script.
4260
659e7062
JJ
42612002-08-09 Jason Tishler <jason@tishler.net>
4262
4263 * libc/stdlib/mallocr.c: Include <limits.h>.
4264 (request2size): Change macro to do
4265 unsigned long comparisons and avoid signed overflow.
4266 (mALLOc): Add overflow check for the number of bytes to allocate.
4267 (rEALLOc): Ditto.
4268
037240a2
JJ
42692002-08-09 Jeff Johnston <jjohnstn@redhat.com>
4270
4271 * configure.host: Add check for --enable-newlib-io-pos-args
4272 and define WANT_IO_POS_ARGS flag if enabled. Define
4273 the flag by default for x86-linux configurations.
4274 * configure.in: Add support for --enable-newlib-io-pos-args.
4275 * libc/configure.in: Ditto.
4276 * configure: Regenerated.
4277 * libc/configure: Ditto.
4278 * libc/stdio/Makefile.am: Specify -fshort-enums for compiling
4279 vfprintf.c and vfiprintf.c.
4280 * libc/stdio/Makefile.in: Regenerated.
4281 * libc/stdio/vfprintf.c: Add positional argument support that
4282 is enabled by compiling with -DWANT_IO_POS_ARGS.
4283
172fda76
RS
42842002-08-07 Richard Sandiford <rsandifo@redhat.com>
4285
4286 * libc/include/machine/setjmp.h: For mips, define _JBLEN based
4287 based on __mips_soft_float rather than __mips64.
4288 * libc/machine/mips/setjmp.S: Provide hard and soft float versions
4289 of both 32-bit and 64-bit code.
4290
4866247e
CF
42912002-08-04 Christopher Faylor <cgf@redhat.com>
4292
4293 * libc/stdio/popen.c (popen): Allow "rb", "rt", "wb", and "wt"
4294 arguments for popen to match similar functionality in fopen.
4295
b96332ce
CV
42962002-07-29 Pierre Humblet <pierre.humblet@ieee.org>
4297
4298 * libc/include/sys/unistd.h: Add setgroups prototype for Cygwin.
4299
60d99bce
JJ
43002002-07-29 Jeff Johnston <jjohnstn@redhat.com>
4301
4302 * libc/sys/linux/Makefile.am: Add aio64.c.
4303 * libc/sys/linux/Makefile.in: Regenerated.
4304 * libc/sys/linux/aio.c (aio_init): ENOSYS stub added.
4305 * libc/sys/linux/aio64.c: New file.
4306
80a21be0
JJ
43072002-07-26 Jeff Johnston <jjohnstn@redhat.com>
4308
4309 * libc/include/sys/param.h (MAX, MIN): Added macros.
4310 * libc/sys/linux/Makefile.am: Add new files.
4311 * libc/sys/linux/Makefile.in: Regenerated.
4312 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
4313 * libc/sys/linux/inode.c (fchdir): Added syscall.
4314 * libc/sys/linux/ftw.c: New file.
4315 * libc/sys/linux/ftw64.c: Ditto.
4316 * libc/sys/linux/getwd.c: Ditto.
4317 * libc/sys/linux/scandir64.c: Ditto.
4318 * libc/sys/linux/strverscmp.c: Ditto.
4319 * libc/sys/linux/versionsort.c: Ditto.
4320 * libc/sys/linux/versionsort64.c: Ditto.
4321
6b6425cb
JJ
43222002-07-26 Jeff Johnston <jjohnstn@redhat.com>
4323
4324 * libc/string/strings.tex: Fix typo for memccpy.
4325
dc8ac8e6
JJ
43262002-07-25 Jeff Johnston <jjohnstn@redhat.com>
4327
4328 * libc/sys/linux/io64.c (truncate64, ftruncate64): Added.
4329 * libc/sys/linux/sys/types.h (off64_t): Definition added.
4330
aa0ca6fd
JJ
43312002-07-25 Jeff Johnston <jjohnstn@redhat.com>
4332
4333 * libc/sys/linux/Makefile.am: Add fclean.c.
4334 * libc/sys/linux/Makefile.in: Regenerated.
4335 * libc/sys/linux/fclean.c: New file.
4336
61921945
JJ
43372002-07-25 Jeff Johnston <jjohnstn@redhat.com>
4338
4339 * libc/sys/linux/Makefile.am: Add confstr.c.
4340 * libc/sys/linux/Makefile.in: Regenerated.
4341 * libc/sys/linux/confstr.c: New file.
4342 * libc/sys/linux/confstr.h: Ditto.
4343 * libc/sys/linux/sys/unistd.h: Include <features.h> and
4344 <bits/environments.h>.
4345
3d966a92
JJ
43462002-07-25 Jeff Johnston <jjohnstn@redhat.com>
4347
4348 * libc/sys/linux/config.h (__set_errno): Macro definition removed.
4349 * libc/sys/linux/fpathconf.c (__set_errno): Ditto.
4350 * libc/sys/linux/libc-internal.h (__set_errno): Ditto.
4351 * libc/sys/linux/pathconf.c (__set_errno): Ditto.
4352 * libc/sys/linux/ttyname_r.c (__set_errno): Ditto.
4353 * libc/sys/linux/sys/errno.h (__set_errno): Macro definition added.
4354
53b5bff7
JJ
43552002-07-24 Jeff Johnston <jjohnstn@redhat.com>
4356
4357 * libc/sys/linux/Makefile.am: Add new files.
4358 * libc/sys/linux/Makefile.in: Regenerated.
4359 * libc/sys/linux/fstab.c: New file.
4360 * libc/sys/linux/fstatvfs.c: Ditto.
4361 * libc/sys/linux/fstatvfs64.c: Ditto.
4362 * libc/sys/linux/internal_statvfs.c: Ditto.
4363 * libc/sys/linux/mntent.c: Ditto.
4364 * libc/sys/linux/mntent_r.c: Ditto.
4365 * libc/sys/linux/statvfs.c: Ditto.
4366 * libc/sys/linux/statvfs64.c: Ditto.
4367 * libc/sys/linux/include/paths.h: Ditto.
4368 * libc/sys/linux/inode.c (statfs, fstatfs): New syscalls
4369 with double-underscore weak-aliases.
4370 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
4371
9cef8ef5
JJ
43722002-07-24 Jeff Johnston <jjohnstn@redhat.com>
4373
4374 * libc/include/signal.h (SIG_IGN, SIG_DFL, SIG_ERR): Change
4375 to use _sig_func_ptr type casted constants.
4376 (_sig_func_ptr): Typedef moved to sys/signal.h.
4377 * libc/include/sys/signal.h (_sig_func_ptr): Typedef added.
4378 For __rtems, use POSIX definition, otherwise default to ANSI.
4379 * libc/sys/linux/sys/signal.h (_sig_func_ptr): Typedef added.
4380
a703e0f2
JJ
43812002-07-24 Stephane Carrez <stcarrez@nerim.fr>
4382
4383 * configure.host: Recognize m6811-elf and m6812-elf targets.
4384 * libc/include/machine/setjmp.h (_JBLEN): Define for 68hc11/68hc12.
4385 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Define for 68HC11.
4386 (_DOUBLE_IS_32BITS): Define when compiling with -fshort-double.
4387 * libc/include/sys/config.h (INT_MAX, UINT_MAX): Define
4388 according to __INT_MAX__.
4389 (_POINTER_INT): Define to short.
4390 * libc/machine/m68hc11/Makefile.am: New file.
4391 * libc/machine/m68hc11/Makefile.in: New file.
4392 * libc/machine/m68hc11/configure.in: New file.
4393 * libc/machine/m68hc11/configure: New file.
4394 * libc/machine/m68hc11/aclocal.m4: New file.
4395 * libc/machine/m68hc11/setjmp.S: New file.
4396
d254189b
JJ
43972002-07-23 Jeff Johnston <jjohnstn@redhat.com>
4398
4399 * libc/include/string.h: Add mempcpy, strndup, and _strndup_r
4400 prototypes.
4401 * libc/stdlib/Makefile.am: Remove strdup.c and strdup_r.c.
4402 * libc/stdlib/Makefile.in: Regenerated.
4403 * libc/stdlib/strdup.c: Removed.
4404 * libc/stdlib/strdup_r.c: Removed.
4405 * libc/string/Makefile.am: Add strdup.c, strdup_r.c, memccpy.c,
4406 mempcpy.c, strndup.c, and strndup_r.c.
4407 * libc/string/Makefile.in: Regenerated.
4408 * libc/string/memccpy.c: New file.
4409 * libc/string/mempcpy.c: Ditto.
4410 * libc/string/strndup.c: Ditto.
4411 * libc/string/strndup_r.c: Ditto.
4412 * libc/string/strdup.c: New file moved from stdlib.
4413 * libc/string/strdup_r.c: Ditto.
4414 * libc/string/strings.tex: Add memccpy and mempcpy documentation.
4415
bc100655
JJ
44162002-07-23 Jeff Johnston <jjohnstn@redhat.com>
4417
4418 * libc/include/stdio.h: Move fcloseall prototype within
4419 #ifndef _REENT_ONLY section.
4420 * libc/sys/linux/Makefile.am: Add new files.
4421 * libc/sys/linux/Makefile.in: Regenerated.
4422 * libc/sys/linux/sys/stdio.h: Add ctermid prototype.
4423 * libc/sys/linux/sys/unistd.h: Add ttyname_r prototype.
4424 * libc/sys/linux/sys/types.h: Add ino64_t type.
4425 * libc/sys/linux/ctermid.c: New file.
4426 * libc/sys/linux/ttyname_r.c: Ditto.
4427 * libc/sys/linux/readdir64.c: Ditto.
4428
f5f27f07
JJ
44292002-07-22 Jeff Johnston <jjohnstn@redhat.com>
4430
4431 * libc/include/stdio.h (fcloseall, _fcloseall_r): Added prototypes.
4432 * libc/stdio/Makefile.am: Added fcloseall.c support.
4433 * libc/stdio/Makefile.in: Regenerated.
4434 * libc/stdio/fcloseall.c: New file.
4435 * libc/stdio64/Makefile.am: Remove missing .def references.
4436 * libc/stdio64/Makefile.in: Regenerated.
4437
d541ba3e
JJ
44382002-07-22 Jeff Johnston <jjohnstn@redhat.com>
4439
4440 * libc/machine/powerpc/time.c: Removed..renamed to times.c.
4441 * libc/machine/powerpc/times.c: New file.
4442 * libc/machine/powerpc/Makefile.am: Change time.c to times.c.
4443 * libc/machine/powerpc/Makefile.in: Regenerated.
4444
44452002-07-22 Aldy Hernandez <aldyh@redhat.com>
e964bca8
JJ
4446
4447 * libc/machine/powerpc/time.c: New file.
4448 * libc/machine/powerpc/Makefile.am (lib_a_SOURCES): Add
4449 time.c.
4450 * libc/machine/powerpc/Makefile.in: Regenerated.
4451
5e7d0a55
TF
44522002-07-22 Thomas Fitzsimmons <fitzsim@redhat.com>
4453
4454 * libc/libc.texinfo: Change copyright notices to Red Hat from
4455 Cygnus.
4456 * libm/libm.texinfo: Likewise.
4457 * README: Change docs URL to
4458 http://sources.redhat.com/newlib/docs.html.
4459
504628e7
JJ
44602002-07-19 Jeff Johnston <jjohnstn@redhat.com>
4461
4462 * libc/sys/linux/Makefile.am: Add pathconf.c and fpathconf.c.
4463 * libc/sys/linux/Makefile.in: Regenerated.
4464 * libc/sys/linux/inode.c: Add chmod, fchmod, and chown syscalls.
4465 * libc/sys/linux/io.c: Add ftruncate syscall.
4466 * libc/sys/linux/fpathconf.c: New file.
4467 * libc/sys/linux/pathconf.c: Ditto.
4468 * libc/sys/linux/linux_fsinfo.h: Ditto.
4469 * libc/sys/linux/sys/unistd.h: Ditto.
4470
b155ad9f
JJ
44712002-07-19 Jeff Johnston <jjohnstn@redhat.com>
4472
4473 * libc/stdio64/Makefile.am: Remove missing files.
4474 * libc/stdio64/Makefile.in: Regenerated.
4475
c119e0ab
JJ
44762002-07-19 Jeff Johnston <jjohnstn@redhat.com>
4477
4478 * libc/include/sys/config.h[__i386__][__linux__]: Define
4479 _LARGE64FILE_SOURCE to 1.
4480 * libc/sys/linux/Makefile.am: Add getrlimit64.c and setrlimit64.c.
4481 * libc/sys/linux/Makefile.in: Regenerated.
4482 * libc/sys/linux/resource.c: Add __getrlimit and __setrlimit aliases.
4483 * libc/sys/linux/sys/linux_time.h: Protect struct timeval definition.
4484 * libc/sys/linux/sys/resource.h: Include <bits/resource.h> instead
4485 of <linux/resource.h>.
4486 * libc/sys/linux/getrlimit64.c: New file.
4487 * libc/sys/linux/setrlimit64.c: Ditto.
4488
9b022d6d
TF
44892002-07-19 Thomas Fitzsimmons <fitzsim@redhat.com>
4490
4491 * libc/argz/argz_replace.c: Include buf_findstr.h.
4492 * libc/argz/buf_findstr.c: Likewise.
4493 * libc/argz/envz_entry.c: Include buf_findstr.h. Cast return
4494 value to (char *).
4495 * libc/argz/envz_get.c: Likewise.
4496 * libc/include/sys/unistd.h: Add getopt and getsubopt declarations.
4497 * libc/stdlib/Makefile.am (LIB_SOURCES): Add getsubopt.c.
4498 * libc/stdlib/getsubopt.3: New file.
4499 * libc/stdlib/getsubopt.c: New file.
4500 * libc/sys/linux/machine/i386/socketcall.h (__sockcall_base):
4501 Change esp to ebp.
4502
dee51391
JJ
45032002-07-17 Jeff Johnston <jjohnstn@redhat.com>
4504
4505 * configure.host(stdio64_dir): New setting that is used to
4506 enable building of new stdio64 directory.
4507 * libc/Makefile.am[HAVE_STDIO64_DIR]: Add support for
4508 large files.
4509 (stmp-stdio64,stdio64.texi): New targets to optionally add in
4510 stdio64 info to info files.
4511 * libc/Makefile.in: Regenerated.
4512 * libc/configure: Ditto.
4513 * libc/configure.in: Add configuration variables that are set
4514 when stdio64 is selected as subdir in configure.host.
4515 * libc/libc.texinfo: Add optional menu item for Stdio64, based
4516 on whether STDIO64 flag is set or not.
4517 * libc/sys.tex: Add optional stdio64 syscalls based on whether
4518 STDIO64 flag is set or not.
4519 * libc/include/reent.h[__LARGE64_FILES]: Add new stdio64
4520 _r sycall routines.
4521 * libc/include/stdio.h[__LARGE64_FILES]: Add new stdio64 prototypes.
4522 (FILE): Typedef'd to __FILE instead of struct __sFILE directly.
4523 (__SL64): New file flag indicating file is opened via fopen64.
4524 * libc/include/sys/_types.h(_off64_t): Added.
4525 * libc/include/sys/config.h: For x86-linux, define __LARGE64_FILES.
4526 * libc/include/sys/reent.h(struct __sFILE64): New file structure
4527 for 64-bit offset large file support.
4528 (__FILE): New intermediate type either set to struct __sFILE64 or
4529 struct __sFILE, depending on whether __LARGE64_FILES is set or not.
4530 * libc/reent/Makefile.am[HAVE_STDIO64_DIR]: Add new files.
4531 * libc/reent/Makefile.in: Regenerated.
4532 * libc/reent/fstat64r.c: New file.
4533 * libc/reent/lseek64r.c: Ditto.
4534 * libc/reent/open64r.c: Ditto.
4535 * libc/reent/reent.tex: Optionally add stdio64 reentrant syscalls
4536 based on whether STDIO64 flag is set.
4537 * libc/stdio/stdio.tex: Add blank line.
4538 * libc/stdio64/Makefile.am: New file.
4539 * libc/stdio64/Makefile.in: Ditto.
4540 * libc/stdio64/fgetpos64.c: Ditto.
4541 * libc/stdio64/fopen64.: Ditto.
4542 * libc/stdio64/freopen64.c: Ditto.
4543 * libc/stdio64/fseeko64.c: Ditto.
4544 * libc/stdio64/fsetpos64.c: Ditto.
4545 * libc/stdio64/ftello64.c: Ditto.
4546 * libc/stdio64/local64.h: Ditto.
4547 * libc/stdio64/stdio64.c: Ditto.
4548 * libc/stdio64/stdio64.tex: Ditto.
4549 * libc/stdio64/tmpfile64.c: Ditto.
4550 * libc/sys/linux/io64.c: Add weak aliases for lseek64, fstat64, and
4551 open64.
4552
778876f6
JJ
45532002-07-16 Jeff Johnston <jjohnstn@redhat.com>
4554
4555 * libc/Makefile.am (stmp-extra): New target to set makeinfo flag
4556 if LIBC_EXTRA_LIB is present.
4557 * libc/Makefile.in: Regenerated.
4558 * libc/libc.texinfo: Add blank line.
4559 * libc/argz/Makefile.am: Add doc support.
4560 * libc/search/Makefile.am: Ditto.
4561 * libc/argz/Makefile.in: Regenerated.
4562 * libc/search/Makefile.in: Ditto.
4563 * libc/misc/misc.tex: Add ffs function.
4564 * libc/stdio/ftell.c: Fix missing doc delimeter in description.
4565
37981145
JJ
45662002-07-15 Jeff Johnston <jjohnstn@redhat.com>
4567
4568 * libc/include/sys/config.h[__H8300__]: Replace __SMALL_BITFIELDS
4569 definition that was removed in error.
4570
38b5dc59
JJ
45712002-07-15 Jeff Johnston <jjohnstn@redhat.com>
4572
4573 * libc/include/machine/ieeefp.h: Change to only define
4574 floating point defines (e.g one of __IEEE_BIG_ENDIAN or
4575 __IEEE_LITTLE_ENDIAN must be defined for each platform).
4576 * libc/include/sys/config.h: Include <machine/ieeefp.h> and
4577 remove redundant floating point definitions.
4578
8cb61a96
JJ
45792002-07-15 Jeff Johnston <jjohnstn@redhat.com>
4580
4581 * libc/sys/linux/callocr.c: Fix so code references
4582 calloc.
4583
edba3282
JJ
45842002-07-15 Jeff Johnston <jjohnstn@redhat.com>
4585
4586 * libc/sys/linux/Makefile.am: Add new files.
4587 * libc/sys/linux/Makefile.in: Regenerated.
4588 * libc/sys/linux/bp-sym.h: Moved to include directory.
4589 * libc/sys/linux/mmap.c: Add weak aliases: __mmap, __munmap, __mremap.
4590 * libc/sys/linux/inode.c: Set _LIBC to 1.
4591 * libc/sys/linux/mq_close.c: Ditto.
4592 * libc/sys/linux/mq_getattr.c: Ditto.
4593 * libc/sys/linux/mq_open.c: Ditto.
4594 * libc/sys/linux/mq_receive.c: Ditto.
4595 * libc/sys/linux/mq_send.c: Ditto.
4596 * libc/sys/linux/mq_setattr.c: Ditto.
4597 * libc/sys/linux/mq_unlink.c: Ditto.
4598 * libc/sys/linux/calloc.c: New file.
4599 * libc/sys/linux/callocr.c: Ditto.
4600 * libc/sys/linux/cfreer.c: Ditto.
4601 * libc/sys/linux/config.h: Ditto.
4602 * libc/sys/linux/free.c: Ditto.
4603 * libc/sys/linux/freer.c: Ditto.
4604 * libc/sys/linux/msize.c: Ditto.
4605 * libc/sys/linux/msizer.c: Ditto.
4606 * libc/sys/linux/mstats.c: Ditto.
4607 * libc/sys/linux/mtrim.c: Ditto.
4608 * libc/sys/linux/mtrimr.c: Ditto.
4609 * libc/sys/linux/pvallocr.c: Ditto.
4610 * libc/sys/linux/realloc.c: Ditto.
4611 * libc/sys/linux/reallocr.c: Ditto.
4612 * libc/sys/linux/thread-m.h: Ditto.
4613 * libc/sys/linux/vallocr.c: Ditto.
4614 * libc/sys/linux/bp-checks.h: Ditto.
4615 * libc/sys/linux/libc-symbols.h: Ditto.
4616 * libc/sys/linux/libc-tsd.h: Ditto.
4617 * libc/sys/linux/libintl.h: Ditto.
4618 * libc/sys/linux/malign.c: Ditto.
4619 * libc/sys/linux/malignr.c: Ditto.
4620 * libc/sys/linux/mallinfor.c: Ditto.
4621 * libc/sys/linux/malloc.c: Ditto.
4622 * libc/sys/linux/mallocr.c: Ditto.
4623 * libc/sys/linux/malloptr.c: Ditto.
4624 * libc/sys/linux/mallstatsr.c: Ditto.
4625 * libc/sys/linux/mcheck.c: Ditto.
4626 * libc/sys/linux/mhooks.h: Ditto.
4627 * libc/sys/linux/include/bp-sym.h: Ditto.
4628 * libc/sys/linux/include/malloc.h: Ditto.
4629 * libc/sys/linux/include/mcheck.h: Ditto.
4630 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Remove
4631 getpagesize.c.
4632 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerated.
4633 * libc/sys/linux/linuxthreads/machine/i386/getpagesize.c: Moved.
4634 * libc/sys/linux/machine/i386/getpagesize.c: New file.
4635 * libc/sys/linux/machine/i386/Makefile.am: Add getpagesize.c.
4636 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
4637 * libc/sys/linux/machine/i386/sysdep.h: New file.
4638 * libc/sys/linux/machine/i386/weakalias.h: Add weak_function support.
4639 * libc/sys/linux/sys/dirent.h: Set _LIBC to 1.
4640 * libc/sys/linux/sys/lock.h: Include <machine/weakalias.h>.
4641
ea20b60a
JJ
46422002-07-12 Jeff Johnston <jjohnstn@redhat.com>
4643
4644 * libc/sys/linux/include/mqueue.h: Change to use <bits/siginfo.h>
4645 instead of <asm/siginfo.h>.
4646 * libc/sys/linux/sys/signal.h: Change to include various linux
4647 <bits/xxx.h> header files, rather than <linux/signal.h> so as
4648 to work with multiple releases of glibc header files.
4649
2fc82912
JJ
46502002-07-11 Chris Demetriou <cgd@broadcom.com>
4651
4652 * testsuite/newlib.search/hsearchtest.c: New file to test
4653 newlib/libc/search.
4654 * testsuite/newlib.search/hsearchtest.exp: Likewise.
4655
4a404e97 46562002-07-10 Florian Schrack <florian.schrack@freenet.de>
2a8b4ea3
JJ
4657
4658 * libc/sys/mmixware/read.c: Use SYS_Fgets syscall if dealing with
4659 a terminal.
4660 * libc/sys/mmixware/sys/syscall.h (SYS_Fgets): Definition added.
4661
6aec558e
JJ
46622002-07-08 Jeff Johnston <jjohnstn@redhat.com>
4663
4664 * libc/include/math.h (MAXFLOAT): Added.
4665
e47e6f0e 4666Mon Jul 8 13:55:23 2002 J"orn Rennecke <joern.rennecke@superh.com>
a31df303
JR
4667
4668 * libc/machine/sh/Makefile.am (lib_a_SOURCES):
4669 Make strcmp.S unconditional.
4670 * libc/machine/sh/Makefile.in: Regenerate.
4671 * libc/machine/sh/asm.h (DELAYED_BRANCHES, SL): Also for __SH5__ .
4672 * strcmp.S (strcmp): Add SHmedia variant. Use different registers
4673 for SHcompact.
4674
89ffbd66
JJ
46752002-07-04 Jeff Johnston <jjohnstn@redhat.com>
4676
4677 * libc/sys/linux/inode.c: Fix utime prototype and add _LIBC
4678 define before including <sys/lock.h>.
4679
ae6c4c84
JJ
46802002-07-04 Jeff Johnston <jjohnstn@redhat.com>
4681
4682 * libc/include/utime.h: Add include of <_ansi.h>.
4683 * libc/sys/linux/Makefile.am: Add utimes.c.
4684 * libc/sys/linux/Makefile.in: Regenerated.
4685 * libc/sys/linux/inode.c(__umask): New static routine.
4686 (umask): Written to use __umask and attempt to thread lock.
4687 (getumask): New function written to use __umask and thread lock.
4688 * libc/sys/linux/utimes.c: New file.
4689 * libc/sys/linux/sys/time.h: Fix utimes prototype.
4690 * libc/sys/linux/sys/utime.h: New file.
4691
a6cac46c
TF
46922002-07-04 Thomas Fitzsimmons <fitzsim@redhat.com>
4693
4694 * libtool.m4: New file.
4695 * libc/sys/linux/process.c: Implement vfork in terms of fork,
4696 rather than as a syscall.
4697
30b2092f
JJ
46982002-07-04 Jeff Johnston <jjohnstn@redhat.com>
4699
4700 * libc/include/stdio.h: Add new prototypes.
4701 * libc/stdio/Makefile.am: Add fseeko.c and ftello.c.
4702 * libc/stdio/Makefile.in: Regenerated.
4703 * libc/stdio/fseek.c: Add fseeko documentation.
4704 * libc/stdio/ftell.c: Add ftello documentation.
4705 * libc/stdio/fseeko.c: New file.
4706 * libc/stdio/ftello.c: New file.
4707
7501704d
JJ
47082002-07-04 Jeff Johnston <jjohnstn@redhat.com>
4709
4710 * libc/stdio/Makefile.am: Add asprintf.c and vasprintf.c.
4711 * libc/stdio/Makefile.in: Regenerated.
4712 * libc/stdio/asprintf.c: New file.
4713 * libc/stdio/vasprintf.c: Ditto.
4714 * libc/stdio/fvwrite.c: Add code to dynamically reallocate
4715 the buffer for asprintf support.
4716 * libc/stdio/sprintf.c: Add asprintf documentation.
4717 * libc/stdio/vfprintf.c: Add vasprintf documentation.
4718 * libc/include/stdio.h: Add new prototypes.
4719
66eee32b
TF
47202002-07-02 Thomas Fitzsimmons <fitzsim@redhat.com>
4721
4722 * libc/search/hcreate.c: Remove advertising clause from license.
4723 * libc/search/hcreate_r.c: Likewise.
4724
cec4a9f8
JJ
47252002-07-02 Chris Demetriou <cgd@broadcom.com>
4726
4727 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN)
4728 (__IEEE_BIG_ENDIAN): Define appropriately for MIPS.
4729 Check that one of them is defined and error out if not.
4730 Add any platforms defined in <machine/ieeefp.h> that are missing.
4731 * libc/search/hash.h (DB_BYTE_ORDER, DB_BIG_ENDIAN)
4732 (DB_LITTLE_ENDIAN): New defines.
4733 * libc/search/hash.c: Replace all incorrect checks for
4734 _IEEE_LITTLE_ENDIAN with tests of BYTE_ORDER, and all uses of
4735 BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN with DB_* versions.
4736 * libc/search/hash_page.c: Likewise.
4737
2d5eb17e
TF
47382002-06-28 Thomas Fitzsimmons <fitzsim@redhat.com>
4739
4740 * libm/mathfp/sf_pow.c (powf): Change k from int to float.
4741
c1a3171f
JJ
47422002-06-27 Benjamin Kosnik <bkoz@redhat.com>
4743
4744 * libc/include/stdio.h: Untangle, add _BEGIN_STD_C and _END_STD_C.
4745 * libc/include/time.h: Same.
4746 * libc/include/string.h: Same.
4747 * libc/include/stdlib.h: Same.
4748 * libc/include/signal.h: Same.
4749 * libc/include/setjmp.h: Same.
4750 * libc/include/math.h: Same.
4751 * libc/include/locale.h: Same.
4752 * libc/include/ctype.h: Same.
4753 * libc/include/machine/setjmp.h: Same.
4754 * libc/include/_ansi.h (_BEGIN_STD_C): Add.
4755 (_END_STD_C): Add.
4756
533b4e66
JJ
47572002-06-27 Jeff Johnston <jjohnstn@redhat.com>
4758
4759 * libc/include/sys/_types.h: Define _ssize_t as int if int is
4760 32-bits, otherwise define it as long.
4761 * libc/include/sys/types.h: Include <_ansi.h> and <sys/_types.h>
4762 and define ssize_t as _ssize_t.
4763 * libc/reent/readr.c: Change return type to _ssize_t.
4764 * libc/reent/writer.c: Ditto.
4765 * libc/sys/linux/Makefile.am: Add aio.c.
4766 * libc/sys/linux/Makefile.in: Regenerated.
4767 * libc/sys/linux/aio.c: New file.
4768 * libc/sys/linux/sys/cdefs.h: Add __restrict_arr definition.
4769 * libm/common/fdlibm.h: Undef __P before defining it.
4770
c36e6dd7
TF
47712002-06-27 Thomas Fitzsimmons <fitzsim@redhat.com>
4772
54be629f
TF
4773 * libm/mathfp/s_pow.c (pow): Fix checks on variable k. Add
4774 exponent_is_even_int variable. Handle case where x is
4775 negative, and y is an odd integer.
4776 * libm/mathfp/sf_pow.c (powf): Likewise.
4777
c36e6dd7
TF
4778 * libm/mathfp/er_lgamma.c: Remove __kernel references.
4779 * libm/mathfp/erf_lgamma.c: Likewise.
4780 * libm/mathfp/s_tgamma.c: Likewise.
4781 * libm/mathfp/sf_tgamma.c: Likewise.
4782
baf051ca
JJ
47832002-06-27 Jeff Johnston <jjohnstn@redhat.com>
4784
4785 * libc/sys/linux/Makefile.am: Add new clock routines.
4786 * libc/sys/linux/Makefile.in: Regenerated.
4787 * libc/sys/linux/clock_getres.c: New file.
4788 * libc/sys/linux/clock_gettime.c: Ditto.
4789 * libc/sys/linux/clock_settime.c: Ditto.
4790 * libc/sys/linux/hp-timing.h: Ditto.
4791 * libc/sys/linux/libc-internal.h: Ditto.
4792 * libc/sys/linux/sysconf.c: Fix typo.
4793 * libc/sys/linux/include/time.h: Add include of <sys/linux_time.h>.
4794 * libc/sys/linux/machine/hp-timing.h: New file.
4795 * libc/sys/linux/machine/i386/Makefile.am: Add new files.
4796 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
4797 * libc/sys/linux/machine/i386/get_clockfreq.c: New file.
4798 * libc/sys/linux/machine/i386/hp-timing.c: Ditto.
4799 * libc/sys/linux/machine/i386/hp-timing.h: Ditto.
4800 * libc/sys/linux/sys/linux_time.h: New file.
4801 * libc/sys/linux/sys/time.h: Remove include of <linux/time.h> and
4802 replace with <sys/linux_time.h>.
4803
0431ed4e
JR
4804Wed Jun 26 16:33:25 2002 J"orn Rennecke <joern.rennecke@superh.com>
4805
4806 * libc/sys/sh/crt0.S: Remove vestigial .section directive.
4807
fc067ba5
JJ
48082002-06-25 Jeff Johnston <jjohnstn@redhat.com>
4809
4810 * libc/sys/linux/Makefile.am: Consolidate additional items under
4811 ADD_OBJS.
4812 * libc/sys/linux/Makefile.in: Regenerated.
4813
ffddf61e
JJ
48142002-06-25 Jeff Johnston <jjohnstn@redhat.com>
4815
4816 * libc/sys/linux/sethostname.c: New file.
4817 * libc/sys/linux/Makefile.am: Add sethostname.c support.
4818 * libc/sys/linux/Makefile.in: Regenerated.
4819
d5487d3f
TF
48202002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
4821
4822 * libc/search/db_local.h: New file.
4823 * libc/include/db.h: Remove.
4824 * libc/search/Makefile.am (LIB_SOURCES): Add db_local.h.
4825 * libc/search/hash.c (MIN,MAX): Add macros. Change <db.h> to
4826 "db_local.h".
4827 * libc/search/hash_bigkey.c: Likewise.
4828 * libc/search/hash_buf.c: Likewise.
4829 * libc/search/hash_func.c: Likewise.
4830 * libc/search/hash_log2.c: Likewise.
4831 * libc/search/hash_page.c: Likewise.
4832
48332002-06-24 J"orn Rennecke <joern.rennecke@superh.com>
e08a6118 4834
1e7ca711 4835 * libc/machine/sh/strlen.S: New file.
e08a6118
JR
4836 * libc/machine/sh/Makefile.am (lib_a_SOURCES): Add rule for it.
4837 * libc/machine/sh/Makefile.am: Regenerate.
4838
59c6d6c4
JJ
48392002-06-24 Jeff Johnston <jjohnstn@redhat.com>
4840
4841 * libc/sys/linux/gethostname.c: Change name to __gethostname and
4842 add gethostname alias.
4843
a70486d7
JJ
48442002-06-24 Jeff Johnston <jjohnstn@redhat.com>
4845
4846 * libc/include/math.h: Remove <sys/types.h>.
a5dadf33 4847 (__dmath): Use __ULong instead of __uint32_t.
a70486d7 4848 * libc/include/sys/reent.h: If long or int is not 32-bits,
a5dadf33 4849 include <sys/types.h> to get definitions for __int32_t and __uint32_t.
a70486d7
JJ
4850 * libc/stdlib/mprec.h: Include <sys/types.h> to get integer defs.
4851 * libm/common/fdlibm.h: Ditto.
4852
3118725a
TF
48532002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
4854
4855 * libc/include/ndbm.h: Remove.
4856 * libc/search/ndbm.c: Remove.
4857
30a06168
TF
48582002-06-24 WATANABE Hirofumi <eban@os.rim.or.jp>
4859
4860 * libc/stdio/fseek.c (fseek): Fix braces.
4861
01f5155e
CV
48622002-06-21 Corinna Vinschen <corinna@vinschen.de>
4863
4864 * libc/time/strftime.c (strftime): Add %e format specifier.
4865
930bc96b
TF
48662002-06-21 Thomas Fitzsimmons <fitzsim@redhat.com>
4867
4868 * libc/search/hash.h (LITTLE_ENDIAN, BIG_ENDIAN): Define if not
4869 previously defined.
4870
55105f86
JJ
48712002-06-21 Richard Earnshaw (rearnsha@arm.com)
4872
4873 * libc/sys/arm/sys/param.h (BIG_ENDIAN, LITTLE_ENDIAN): Define.
4874 (BYTE_ORDER): Define as appropriate for the target.
4875
2e78444a
JJ
48762002-06-21 Jeff Johnston <jjohnstn@redhat.com>
4877
4878 * libc/include/sys/config.h[__linux__]: Set _READ_WRITE_RETURN_TYPE
4879 to _ssize_t.
4880 * libc/sys/linux/io.c (read, write): Change to return ssize_t.
4881
d427d092
JJ
48822002-06-21 Jeff Johnston <jjohnstn@redhat.com>
4883
4884 * libc/include/stdio.h (__getline, __getdelim): New prototypes.
4885 * libc/include/time.h [HAVE_GETDATE](getdate, getdate_r): Ditto.
4886 [HAVE_GETDATE](getdate_err): New error code.
4887 * libc/stdio/Makefile.am: Add support for getline.c and getdelim.c.
4888 * libc/stdio/Makefile.in: Regenerated.
4889 * libc/stdio/getdelim.c: New file.
4890 * libc/stdio/getline.c: Ditto.
4891 * libc/sys/linux/Makefile.am: Add support for getdate.c, getdate_err.c
4892 and ntp_gettime.c. Also add AM_CFLAGS to point to libc/stdio.
4893 * libc/sys/linux/Makefile.in: Regenerated.
4894 * libc/sys/linux/getdate.c: New file.
4895 * libc/sys/linux/getdate_err.c: Ditto.
4896 * libc/sys/linux/ntp_gettime.c: Ditto.
4897 * libc/sys/linux/time.c (adjtimex, ntp_adjtime): New functions.
4898 * libc/sys/linux/sys/stdio.h (getline, getdelim): New macros.
4899
35728d4f
JJ
49002002-06-21 Jeff Johnston <jjohnstn@redhat.com>
4901
4902 * libc/include/math.h: Add <sys/types.h> to get _uint32_t definition.
4903 * libc/include/machine/types.h: Skip __off_t, __pid_t, and
4904 __loff_t definitions if special _HAVE_SYSTYPES macro defined.
4905 * libc/include/sys/config.h: Removed _uint*, _int* definitions.
4906 * libc/include/sys/param.h: Remove i386 case which is handled
4907 by default case.
4908 (BIG_ENDIAN, LITTLE_ENDIAN): Protect
4909 definitions in case they are already defined.
4910 (BYTE_ORDER): Add default case using _IEEE_BIG_ENDIAN and
4911 _IEEE_LITTLE_ENDIAN flags.
4912 * libc/include/sys/reent.h: Change __uint32_t references to
4913 use _ULong instead.
4914 (_REENT_GETDATE_REENT_P): New macro.
4915 * libc/include/sys/types.h (__int16_t, __uint16_t): Added.
4916 (__int32_t, __uint32_t, __int64_t, __uint64_t): Ditto.
4917 * libc/search/hash.h: Add default setting of BYTE_ORDER,
4918 LITTLE_ENDIAN, and BIG_ENDIAN, if not already defined.
4919 * libc/sys/linux/sys/types.h: Include <sys/_types.h>. Define
4920 ssize_t based on _ssize_t. Remove __socklen_t, __uintptr_t,
4921 pid_t, off_t, loff_t, caddr_t, and daddr_t type
4922 definitions which are done by subsequent glibc headers.
4923 Add macro definitions to prevent subsequent header files from
4924 defining pid_t, off_t, ssize_t, and key_t. Move uintptr_t and
4925 intptr_t to after glibc definitions of types they are based on.
4926
4a2bfab7
JJ
49272002-06-21 Jeff Johnston <jjohnstn@redhat.com>
4928
4929 * libc/include/errno.h: Protect from multiple inclusion.
4930
f42d18ea
NC
49312002-06-21 Nick Clifton <nickc@cambridge.redhat.com>
4932
4933 * libc/sys/arm/swi.h (ADP_Stopped_RunTimeError): Set correct value.
4934
a7b23a8f
TF
49352002-06-20 Thomas Fitzsimmons <fitzsim@redhat.com>
4936
4937 * Makefile.am (LIB_OBJECTLISTS): Add
4938 libc/search/objectlist.awk.in.
4939 * libc/Makefile.am (SUBDIRS): Add search.
4940 (SUBLIBS): Add search/libsearch.la.
4941 * libc/configure.in (AC_OUTPUT): Add search/Makefile.
4942 * libc/search: New directory.
4943 * libc/search/Makefile.am: New file.
4944 * libc/search/extern.h: New file.
4945 * libc/search/hash.c: New file.
4946 * libc/search/hash.h: New file.
4947 * libc/search/hash_bigkey.c: New file.
4948 * libc/search/hash_buf.c: New file.
4949 * libc/search/hash_func.c: New file.
4950 * libc/search/hash_log2.c: New file.
4951 * libc/search/hash_page.c: New file.
4952 * libc/search/hcreate.3: New file.
4953 * libc/search/hcreate.c: New file.
a7b23a8f
TF
4954 * libc/search/hcreate_r.c: New file.
4955 * libc/search/ndbm.c: New file.
4956 * libc/search/page.h: New file.
4957 * libc/search/tdelete.c: New file.
4958 * libc/search/tdestroy.c: New file.
4959 * libc/search/tfind.c: New file.
4960 * libc/search/tsearch.3: New file.
4961 * libc/search/tsearch.c: New file.
4962 * libc/search/twalk.c: New file.
4963 * libc/include/db.h: New file.
4964 * libc/include/ndbm.h: New file.
4965 * libc/include/search.h: New file.
4966 * libc/include/sys/queue.h: New file.
4967 * libc/include/sys/cdefs.h: New file.
4968 * libc/include/sys/param.h
4969 [__IEEE_LITTLE_ENDIAN,__IEEE_BIG_ENDIAN]: Set BYTE_ORDER to
4970 LITTLE_ENDIAN or BIG_ENDIAN.
4971 * libc/include/sys/errno.h (EFTYPE): New macro.
4972 * libc/search/bsearch.c: Move from libc/stdlib.
4973 * libc/search/qsort.c: Likewise.
4974 * libc/stdlib/Makefile.am (LIB_SOURCES): Remove bsearch.c and
4975 qsort.c.
4976 (CHEWOUT_FILES): Remove bsearch.def and qsort.def.
4977 * libc/stdlib/stdlib.tex: Remove references to bsearch and qsort.
4978
ef467338
JJ
49792002-06-19 Jeff Johnston <jjohnstn@redhat.com>
4980
4981 * libc/sys/linux/Makefile.am: Add support for message queue routines,
4982 ipc routines, and ftok.
4983 * libc/sys/linux/Makefile.in: Regenerated.
4984 * libc/sys/linux/ftok.c: New file.
4985 * libc/sys/linux/ipc.c: Ditto.
4986 * libc/sys/linux/mq_close.c: Ditto.
4987 * libc/sys/linux/mq_getattr.c: Ditto.
4988 * libc/sys/linux/mq_notify.c: Ditto.
4989 * libc/sys/linux/mq_open.c: Ditto.
4990 * libc/sys/linux/mq_receive.c: Ditto.
4991 * libc/sys/linux/mq_send.c: Ditto.
4992 * libc/sys/linux/mq_setattr.c: Ditto.
4993 * libc/sys/linux/mq_unlink.c: Ditto.
4994 * libc/sys/linux/mqlocal.h: Ditto.
4995 * libc/sys/linux/include/mqueue.h: Ditto.
4996 * libc/sys/linux/sys/types.h: Define __gid_t_defined and
4997 __uid_t_defined.
4998
7f55c08c
TF
49992002-06-19 J"orn Rennecke <joern.rennecke@superh.com>
5000
5001 * libm/common/sf_lround.c (round): Change name to: (lround).
5002 * libm/common/sf_remquo.c (remquo): Pass all arguemnts to
5003 remquof.
5004
c9ca68d7
TF
50052002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
5006
5007 * testsuite/lib/passfail.exp (newlib_pass_fail_all): New
5008 procedure.
5009 (newlib_pass_fail): Change to compile and run only one file.
5010 * testsuite/newlib.locale/locale.exp: Use new
5011 newlib_pass_fail_all procedure.
5012 * testsuite/newlib.string/string.exp: Likewise.
5013
4ecedd09
DB
50142002-06-18 Dave Brolley <brolley@redhat.com>
5015
5016 From Catherine Moore, Michael Meissner, Richard Sandiford:
5017 * libc/include/machine/setjmp.h (_JBLEN): Define for __frv__.
5018 (_JBTYPE): Ditto.
5019 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Ditto.
5020 (__ATTRIBUTE_IMPURE_PTR__): Ditto.
5021 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Ditto.
5022 * configure.host: Support frv-*-*.
5023 * libc/machine/frv/Makefile.am: New file.
5024 * libc/machine/frv/configure.in: New file.
5025 * libc/machine/frv/setjmp.S: New file.
5026
af1c257a
TF
50272002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
5028
5029 * libc/include/ctype.h: Remove isblank macro.
5030
5031 * libc/ctype/Makefile.am (LIB_SOURCES): Add isblank.c.
5032 * libc/ctype/isblank.c: New file.
5033 * libc/include/ctype.h [!__STRICT_ANSI__]: Add isblank
5034 declaration. Add isblank macro.
5035
4e04fa90
JJ
50362002-06-18 Jeff Johnston <jjohnstn@redhat.com>
5037
5038 * testsuite/newlib.stdlib/atexit.c: New file.
5039 * testsuite/newlib.stdlib/atexit.exp: Ditto.
5040 * testsuite/newlib.string/tstring.c: Change default start size
5041 to something more reasonable for embedded platforms.
5042
b56d7e79
TF
50432002-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
5044
ece3c72f
TF
5045 * libc/sys/linux/sys/errno.h (EFTYPE): Add macro.
5046
b56d7e79
TF
5047 * libc/argz: New directory.
5048 * libc/argz/*: New files.
5049 * libc/argz/argz_add.c: New file.
5050 * libc/argz/argz_add_sep.c: New file.
5051 * libc/argz/argz_append.c: New file.
5052 * libc/argz/argz_count.c: New file.
5053 * libc/argz/argz_create.c: New file.
5054 * libc/argz/argz_create_sep.c: New file.
5055 * libc/argz/argz_delete.c: New file.
5056 * libc/argz/argz_extract.c: New file.
5057 * libc/argz/argz_insert.c: New file.
5058 * libc/argz/argz_next.c: New file.
5059 * libc/argz/argz_replace.c: New file.
5060 * libc/argz/argz_stringify.c: New file.
5061 * libc/argz/buf_findstr.c: New file.
5062 * libc/argz/envz_add.c: New file.
5063 * libc/argz/envz_entry.c: New file.
5064 * libc/argz/envz_get.c: New file.
5065 * libc/argz/envz_merge.c: New file.
5066 * libc/argz/envz_remove.c: New file.
5067 * libc/argz/envz_strip.c: New file.
5068 * libc/include/argz.h: New file.
5069 * libc/include/envz.h: New file.
5070 * Makefile.am (LIBC_OBJECTLISTS): Add
5071 libc/argz/objectlist.awk.in.
5072 * libc/Makefile.am (SUBDIRS): Add argz.
5073 (SUBLIBS): Add argz/libargz.la.
5074 * libc/configure.in (AC_OUTPUT): Add argz/Makefile.
5075 * libc/include/errno.h: Add error_t typedef.
5076
d062d3dd
JJ
50772002-06-13 Jeff Johnston <jjohnstn@redhat.com>
5078
5079 * libc/include/stdlib.h: Add _Exit prototype.
5080 * libc/stdlib/Makefile.am: Add _Exit.c support.
5081 * libc/stdlib/Makefile.in: Ditto.
5082 * libc/stdlib/_Exit.c: New file.
5083
a47e66ae
JJ
50842002-06-13 Stephen L. Moshier <steve@moshier.net>
5085
5086 * libm/math/e_pow.c (__ieee754_pow): Fix case whereby
5087 x is close to -1.0 and y is very large to use ax (absolute value)
5088 instead of x.
5089 * libm/math/ef_pow.c (__ieee754_powf): Ditto.
5090
13f7d71f
JR
5091Thu Jun 13 19:23:40 2002 J"orn Rennecke <joern.rennecke@superh.com>
5092
5093 * libc/machine/sh/strcpy.S (strcpy, __SHMEDIA__ code):
5094 Fix clobbering bytes before destination if src and dst have same
5095 non-zero misalignment.
1f1fb421
JR
5096
5097 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
5098 Fixed bug in writing end of set region.
5099
b2e8018f
CF
51002002-06-10 Christopher Faylor <cgf@redhat.com>
5101
5102 * libc/include/process.h: Remove cygwin-only sexec* declarations. Fix
5103 spawnve declaration.
5104
0953fe64
TF
51052002-06-06 Thomas Fitzsimmons <fitzsim@redhat.com>
5106
5107 * libm/common/s_fdim.c: New file.
5108 * libm/common/s_fma.c: Likewise.
5109 * libm/common/s_fmax.c: Likewise.
5110 * libm/common/s_fmin.c: Likewise.
5111 * libm/common/s_fpclassify.c: Likewise.
5112 * libm/common/s_lrint.c: Likewise.
5113 * libm/common/s_lround.c: Likewise.
5114 * libm/common/s_nearbyint.c: Likewise.
5115 * libm/common/s_remquo.c: Likewise.
5116 * libm/common/s_round.c: Likewise.
5117 * libm/common/s_scalbln.c: Likewise.
5118 * libm/common/s_signbit.c: Likewise.
5119 * libm/common/s_trunc.c: Likewise.
5120 * libm/common/sf_fdim.c: Likewise.
5121 * libm/common/sf_fma.c: Likewise.
5122 * libm/common/sf_fmax.c: Likewise.
5123 * libm/common/sf_fmin.c: Likewise.
5124 * libm/common/sf_lrint.c: Likewise.
5125 * libm/common/sf_lround.c: Likewise.
5126 * libm/common/sf_nearbyint.c: Likewise.
5127 * libm/common/sf_remquo.c: Likewise.
5128 * libm/common/sf_round.c: Likewise.
5129 * libm/common/sf_scalbln.c: Likewise.
5130 * libm/common/sf_trunc.c: Likewise.
5131 * libm/math/w_exp2.c: Likewise.
5132 * libm/math/w_tgamma.c: Likewise.
5133 * libm/math/wf_exp2.c: Likewise.
5134 * libm/math/wf_tgamma.c: Likewise.
5135 * libm/mathfp/s_exp2.c: Likewise.
5136 * libm/mathfp/s_tgamma.c: Likewise.
5137 * libm/mathfp/sf_exp2.c: Likewise.
5138 * libm/mathfp/sf_tgamma.c: Likewise.
5139 * libm/math/er_gamma.c: Fix return value.
5140 * libm/math/erf_gamma.c: Likewise.
5141 * libm/mathfp/er_gamma.c: Likewise.
5142 * libm/mathfp/erf_gamma.c: Likewise.
5143 * libc/include/math.h (!__STRICT_ANSI__): Include ISOC99-specific
5144 declarations and macros.
5145 Regenerated all Makefile.in, aclocal.m4 and configure files to
5146 use new libtool macros in top-level libtool.m4
5147
39e65e01
JJ
51482002-06-05 Jeff Johnston <jjohnstn@redhat.com>
5149
5150 * libc/include/string.h[__linux__]: Add strsignal prototype.
5151 * libc/include/sys/lock.h: New file with default locking support.
5152 * libc/include/sys/reent.h: Add signal buffer support for strsignal
5153 and psignal.
5154 * libc/posix/Makefile.am: Add support for readdir_r.c.
5155 * libc/posix/Makefile.in: Regenerated.
5156 * libc/posix/closedir.c: Add locking support and hash table cleanup.
5157 * libc/posix/opendir.c: Add lock support.
5158 * libc/posix/readdir.c: Ditto.
5159 * libc/posix/rewinddir.c: Ditto.
5160 * libc/posix/scandir.c: Ditto.
5161 * libc/posix/seekdir.c: Ditto.
5162 * libc/posix/telldir.c: Ditto plus add _cleanupdir routine to
5163 clean up leftover hash table entries.
5164 * libc/posix/readdir_r.c: New file.
5165 * libc/sys/linux/Makefile.am: Add psignal.c and strsignal.c support.
5166 * libc/sys/linux/Makefile.in: Regenerated.
5167 * libc/sys/linux/sys/dirent.h: Add dd_lock to DIR structure.
5168 * libc/sys/linux/sys/signal.h: Add psignal prototype.
5169 * libc/sys/linux/psignal.c: New file.
5170 * libc/sys/linux/strsignal.c: Ditto.
5171
cc890e89
CV
51722002-06-03 Corinna Vinschen <corinna@vinschen.de>
5173
5174 * libc/include/sys/types.h: Don't define dev_t when compiling for
5175 Cygwin.
5176
ea55e3f7
JJ
51772002-05-31 Jeff Johnston <jjohnstn@redhat.com>
5178
5179 * libc/sys/linux/Makefile.am: Add sig.c and sigaction.c. Also
5180 make siglist.inc dependent on sig.c instead of signal.c.
5181 * libc/sys/linux/Makefile.in: Regenerated.
5182 * libc/sys/linux/sig.c: Rename from signal.c and change code to
5183 use NSIG instead of _NSIG.
5184 * libc/sys/linux/sigaction.c: New file.
5185 * libc/sys/linux/signal.c: Changed to be linux signal() function
5186 so as to override regular newlib default signal.c.
ea55e3f7
JJ
5187 * libc/sys/linux/machine/i386/Makefile.am: Remove sigset.c.
5188 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
5189 * libc/sys/linux/machine/i386/sigset.c: Moved to linux main directory.
5190 * libc/sys/linux/sigset.c: Moved from machine/i386 directory.
5191 * libc/sys/linux/sys/signal.h: Redefine NSIG to _NSIG and override
5192 default linux sigset_t typedef by defining it equal to __sigset_t.
5193 * libc/unix/sigset.c: Add check so code isn't compiled on systems
5194 with a sigset_t that isn't implemented with a single int.
5195
9d362914
JJ
51962002-05-30 Jeff Johnston <jjohnstn@redhat.com>
5197
5198 * libc/sys/linux/Makefile.am: Add support for new files.
5199 * libc/sys/linux/Makefile.in: Regenerated.
5200 * libc/sys/linux/ids.c: Add __getuid weak alias for getuid.
5201 * libc/sys/linux/signal.c: Change to use real-time syscalls for
5202 sigsuspend, sigprocmask, and sigpending. Also remove sigaction as
5203 it is in a separate file now.
5204 * libc/sys/linux/machine/i386/Makefile.am
5205 * libc/sys/linux/machine/i386/Makefile.in
5206 * libc/sys/linux/sys/signal.h: Add include of <bits/signum.h>.
5207 * libc/sys/linux/sigaction.c: New file.
5208 * libc/sys/linux/sigqueue.c: Ditto.
5209 * libc/sys/linux/sigwait.c: Ditto.
5210 * libc/sys/linux/machine/i386/sigaction.c: Ditto.
5211 * libc/sys/linux/kernel_sigaction.h: Ditto.
5212
b1f07180
JJ
52132002-05-28 Jeff Johnston <jjohnstn@redhat.com>
5214
5215 * libc/sys/linux/Makefile.am: Add support for cfspeed.c and
5216 tcsendbrk.c.
5217 * libc/sys/linux/Makefile.in: Regenerated.
5218 * libc/sys/linux/termios.c: Add tcflow(), tcflush(),
5219 tcgetpgrp(), and tcsetpgrp() functions.
5220 * libc/sys/linux/sys/termios.h: Add include of machine/termios.h
5221 to get __MAX_BAUD rate.
5222 * libc/sys/linux/machine/i386/include/termios.h: New file.
5223 * libc/include/machine/termios.h: Ditto.
5224 * libc/sys/linux/cfspeed.c: Ditto.
5225 * libc/sys/linux/tcsendbrk.c: Ditto.
5226
d29587b4
JJ
52272002-05-24 Jeff Johnston <jjohnstn@redhat.com>
5228
5229 * libc/include/string.h: Add strnlen and strerror_r prototypes.
5230 * libc/string/Makefile.am: Add strnlen.c and strerror_r.c support.
5231 * libc/string/Makefile.in: Regenerated.
5232 * libc/string/strerror_r.c: New file.
5233 * libc/string/strnlen.c: New file.
5234 * libc/sys/linux/Makefile.am: Add rename.c.
5235 * libc/sys/linux/Makefile.in: Regenerated.
5236 * libc/sys/linux/rename.c: New file to override default rename.
5237
9a292385
TF
52382002-05-24 Thomas Fitzsimmons <fitzsim@redhat.com>
5239
5240 * libc/sys/linux/sys/cdefs.h: Add __weak_reference macros.
5241 * libc/sys/linux/sys/time.h: Add conversion macros.
5242 * libc/sys/linux/sys/types.h: Add FD_ macros. Include <bits/types.h>.
5243 * libc/sys/linux/ids.c: Add setresuid and syslog syscalls.
5244 * libc/sys/linux/gethostname.c: New file.
5245 * libc/sys/linux/seteuid.c: New file.
5246 * libc/sys/linux/sysctl.c: New file.
5247
7a364eb3
JJ
52482002-05-23 Jeff Johnston <jjohnstn@redhat.com>
5249
5250 * libc/string/Makefile.am: Add support for strsep.c.
5251 * libc/string/Makefile.in: Regenerated.
5252 * libc/string/strsep.c: New file.
5253 * libc/string/strtok.c: Change to call __strtok_r service routine.
5254 * libc/string/strtok_r.c: Add __strtok_r routine which takes
5255 additional flag parameter regarding whether to skip leading delimeters.
5256 Change strtok_r to call __strtok_r.
5257
164ee5b0
JJ
52582002-05-23 Gareth Pearce <tilps@hotmail.com>
5259
5260 * libc/stdio/Makefile.am: Modify to add setbuffer.c and setlinebuf.c.
5261 * libc/stdio/Makefile.in: Regenerated.
5262 * libc/stdio/setbuffer.c: New file.
5263 * libc/stdio/setlinebuf.c: New file.
5264
f6b2b567
JJ
52652002-05-23 Jeff Johnston <jjohnstn@redhat.com>
5266
5267 * libc/sys/linux/Makefile.am: Add resource.c.
5268 * libc/sys/linux/Makefile.in: Regenerated.
5269 * libc/sys/linux/resource.c: New file.
5270 * libc/sys/linux/time.c: Add settimeofday, getitimer, and setitimer.
5271 * libc/sys/linux/machine/i386/Makefile.am: Remove syscalls.c.
5272 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
5273 * libc/sys/linux/machine/i386/syscalls.c: Removed as functions
5274 are now found in libc/sys/linux/resource.c.
5275
afe56517
JJ
52762002-05-23 Jeff Johnston <jjohnstn@redhat.com>
5277
5278 * libc/include/string.h (bcmp, bcopy, bzero): Change prototypes
5279 to use void * pointers and comply with Single Unix spec.
5280 * libc/string/bcmp.c: Change to use void * instead of char *.
5281 * libc/string/bcopy.c: Ditto.
5282 * libc/string/bzero.c: Ditto.
5283
7736feb2
JJ
52842002-05-22 Jeff Johnston <jjohnstn@redhat.com>
5285
5286 * libc/sys/linux/shm_open.c: New file.
5287 * libc/sys/linux/shm_unlink.c: Ditto.
5288 * libc/sys/linux/Makefile.am: Add support for shm_open.c and
5289 shm_unlink.c.
5290 * libc/sys/linux/Makefile.in: Regenerated.
5291 * libc/sys/linux/sys/types.h: Add some additional checks to see
5292 if clock_t or time_t is already defined.
5293
19f111bd
JJ
52942002-05-22 Jeff Johnston <jjohnstn@redhat.com>
5295
5296 * Makefile.am: Don't pass $toollibdir down directly in
5297 AM_MAKEFLAGS as it causes all multilibs to use the same toollibdir.
5298 Pass it under the name: top_toollibdir.
5299 * Makefile.in: Regenerated.
5300
c811b1ee
CV
53012002-05-22 Corinna Vinschen <vinschen@redhat.com>
5302
5303 * libc/include/sys/types.h: Revert previous patch.
5304
2b43ad33
CV
53052002-05-22 Corinna Vinschen <vinschen@redhat.com>
5306
5307 * libc/include/sys/types.h: Include cygwin/types.h always under
5308 Cygwin, not only if _POSIX_THREADS is defined.
5309
dd671cde
TF
53102002-05-21 Dhananjay Deshpande <dhananjayd@kpit.com>
5311
5312 * configure.host: Specify sys_dir=h8300hms for h8300-*-coff* target.
5313
5e2cbfb6
JJ
53142002-05-17 Jeff Johnston <jjohnstn@redhat.com>
5315
5316 * Makefile.am: Copy and install headers from sys/machine/include
5317 directory. Also pass $toollibdir to lower-level directories.
5318 * Makefile.in: Regenerated.
5319 * libc/include/stdio.h[!_REENT_ONLY]: Change stdin, stdout, and
5320 stderr to use _REENT macro instead of _impure_ptr directly.
5321 * libc/include/sys/config.h[__i386__][__linux__]: Define
5322 __DYNAMIC_REENT__.
5323 * libc/include/sys/reent.h[!_REENT_ONLY]: Change _REENT macro to be
5324 call to __getreent() function if !__SINGLE_THREAD__ and
5325 __DYNAMIC_REENT__ is set.
5326 * libc/reent/Makefile.am: Add support for getreent.c.
5327 * libc/reent/Makefile.in: Regenerated.
5328 * libc/string/strerror.c: Add check if EOPNOTSUPP and ENOTSUP are same.
5329 * libc/sys/linux/Makefile.am: Add support for new files.
5330 * libc/sys/linux/configure.in: Add $EXTRA_DIRS variable.
5331 * libc/sys/linux/Makefile.in: Regenerated.
5332 * libc/sys/linux/configure: Ditto.
5333 * libc/sys/linux/io.c: Add poll syscall. Also weak-alias
5334 __close, __read, __write, __poll, __open, __lseek, __fcntl from
5335 their __libc_ counterparts.
5336 * libc/sys/linux/io64.c: Add __libc_ prefix to lseek64 and open64
5337 and weak-alias to regular names.
5338 * libc/sys/linux/pread64.c: Rename to __libc_pread64 and weak-alias
5339 to pread64 and __pread64.
5340 * libc/sys/linux/process.c: Weak_alias __libc_getpid to __getpid.
5341 * libc/sys/linux/pwrite64.c: Rename to __libc_pwrite64 and
5342 weak-alias to pwrite64.
5343 * libc/sys/linux/sched.c: Weak-alias __libc_sched_getparam,
5344 __libc_sched_getscheduler, __libc_sched_get_priority_max,
5345 __libc_sched_get_priority_min, and __libc_sched_setschedule to
5346 name with __ instead of __libc_.
5347 * libc/sys/linux/siglongjmp.c: Include <machine/weakalias.h>.
5348 Rename siglongjmp to __libc_siglongjmp and weak-alias to siglongjmp.
5349 Call __libc_longjmp instead of longjmp, from __libc_siglongjmp.
5350 * libc/sys/linux/signal.c: Rename raise to __libc_raise and weak-alias
5351 to raise.
5352 * libc/sys/linux/socket.c: Weak-alias __libc_connect to __connect and
5353 __libc_send to __send.
5354 * libc/sys/linux/time.c: Weak-alias __libc_gettimeofday to
5355 __gettimeofday.
5356 * libc/sys/linux/wait.c: Rename wait to __libc_wait and weak-alias
5357 it to wait. Rename wait3 to __libc_wait3 and weak-alias it to wait3.
5358 * libc/sys/linux/include/setjmp.h: Use __jmp_buf in sigjmp_buf
5359 type and typedef __jmp_buf to jmp_buf.
5360 * libc/sys/linux/machine/i386/Makefile.am: Add syscalls.c and
5361 setjmp.S.
5362 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
5363 * libc/sys/linux/machine/i386/crt0.c: Add support to clear .bss
5364 section.
5365 * libc/sys/linux/machine/i386/socketcall.h: Change to use __libc_
5366 prefix for function macros and then use weak_alias() to regular names.
5367 * libc/sys/linux/machine/i386/syscall.h: Ditto.
5368 * libc/sys/linux/sys/errno.h: Define EOPNOTSUP to be ENOTSUP.
5369 * libc/sys/linux/sys/stdio.h: Define _flockfile and _funlockfile
5370 to be flockfile() and funlockfile() respectively.
5371 * libc/sys/linux/sys/types.h
5372 * libc/reent/getreent.c: New file.
5373 * libc/sys/linux/flockfile.c: Ditto.
5374 * libc/sys/linux/funlockfile.c: Ditto.
5375 * libc/sys/linux/getreent.c: Ditto.
5376 * libc/sys/linux/pread.c: Ditto.
5377 * libc/sys/linux/pwrite.c: Ditto.
5378 * libc/sys/linux/raise.c: Ditto.
5379 * libc/sys/linux/system.c: Ditto.
5380 * libc/sys/linux/tcdrain.c: Ditto.
5381 * libc/sys/linux/machine/i386/i386mach.h: Ditto.
5382 * libc/sys/linux/machine/i386/setjmp.S: Ditto.
5383 * libc/sys/linux/machine/i386/syscalls.c: Ditto.
5384 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
5385 * libc/sys/linux/machine/i386/include/setjmp.h: Ditto.
5386
7fc85bd1
TF
53872002-05-14 Dhananjay Deshpande <dhananjayd@kpit.com>
5388
5389 * newlib/libc/sys/h8300hms/Makeile.am (lib_a_SOURCES): Add read.c.
5390 * newlib/libc/sys/h8300hms/read.c: New file. Magic trap 0xC8 for sim.
5391 * newlib/libc/sys/h8300hms/syscalls.c: Move _read() to read.c.
5392 * newlib/libs/sys/h8300hms/sys/syscall.h: New file.
5393
6935231f 5394Thu May 16 17:24:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
d7a2f413
JR
5395
5396 * libc/machine/sh/strcpy.S (strcpy): Replace LITTLE_ENDIAN with
6935231f
JR
5397 __LITTLE_ENDIAN__. make sure r0 has right value at first loop
5398 exit point.
d7a2f413 5399
3a6cb01b
TF
54002002-05-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5401
a68fa571
TF
5402 * testsuite/lib/newlib.exp: Add newlib_include_flags to compile
5403 options when testing natively on i[3456]86-*-linux.
5404
3a6cb01b
TF
5405 * testsuite/lib/checkoutput.exp (newlib_check_output): Output
5406 only one pass or fail per test file. Trim \r's from output
5407 values received from test programs. Remove support for named
5408 tests.
5409 * testsuite/newlib.locale/UTF-8.exp: Update to support new
5410 newlib_check_output behaviour.
5411 * testsuite/newlib.locale/UTF-8.c: Likewise.
5412
dc824ef7
JJ
54132002-05-15 Jeff Johnston <jjohnstn@redhat.com>
5414
5415 * libc/include/stdlib.h: Add on_exit prototype.
5416 * libc/include/sys/reent.h (struct _atexit): Add argument array
5417 and bits to track type of exit routine to support both on_exit
5418 and atexit.
5419 (_REENT_INIT_PTR): Add missing fields that won't be zeroed out
5420 by default and change the setting of the atexit structure.
5421 (_REENT_INIT)[!_REENT_SMALL]: Remove extraneous end brace.
5422 * libc/stdlib/on_exit.c: New file.
5423 * libc/stdlib/Makefile.am: Add support for on_exit.
5424 * libc/stdlib/Makefile.in: Regenerated.
5425 * libc/stdlib/atexit.c: Change to initialize types field.
5426 * libc/stdlib/exit.c: Change to look at types field for each
5427 exit routine and either call an atexit-style or an on_exit-style
5428 routine accordingly.
5429
48d91b4a
JJ
54302002-05-13 Jeff Johnston <jjohnstn@redhat.com>
5431
5432 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Don't
5433 allow v specifier with n or L specifiers. For vector c format,
5434 move tmp declaration to the top.
5435
024739eb
JJ
54362002-05-13 Jeff Johnston <jjohnstn@redhat.com>
5437
5438 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Restore
5439 the original format specifier when looping for vectors to compensate
5440 for any changes made in vector %g format processing.
5441 Also add syntax checking for various invalid scenarios
5442 involving vector format extensions.
5443 * libc/machine/powerpc/vfscanf.c(__VFSCANF_R)[__ALTIVEC__]: Fix
5444 return code setting for vector formats. Also treat vector
5445 separator mismatch as a match error instead of an input error.
5446 Perform some syntax checking for vector formats.
5447
7d2ce898
TF
54482002-05-10 Mark Bradshaw <bradshaw@staff.crosswalk.com>
5449
5450 * libc/include/string.h (!__STRICT_ANSI__): Add strlcat and strlcpy.
5451 * libc/string/Makefile.am: Add strlcat.c and strlcpy.c.
5452 * libc/string/strlcat.c: New file.
5453 * libc/string/strlcpy.c: New file.
5454
809b6ce7
JJ
54552002-05-10 Jeff Johnston <jjohnstn@redhat.com>
5456
5457 * libc/string/strchr.c: Fix comment typo.
5458
76490806
TF
54592002-05-08 Thomas Fitzsimmons <fitzsim@redhat.com>
5460
0c048a9a
TF
5461 * acinclude.m4: Add support for --enable-newlib-multithread.
5462 * configure.host (newlib_cflags): Add -D__SINGLE_THREAD__ if
5463 --enable-newlib-multithread=no.
5464
76490806
TF
5465 * libc/stdio/getc_u.c: New file.
5466 * libc/stdio/getchar_u.c: New file.
5467 * libc/stdio/putc_u.c: New file.
5468 * libc/stdio/putchar_u.c: New file.
5469 * libc/include/stdio.h: Add declarations for getc_unlocked,
5470 getchar_unlocked, putc_unlocked and putchar_unlocked.
5471 * libc/stdio/Makefile.am (LIB_SOURCES): Add new files.
5472 (CHEWOUT_FILES): Add new files' .def's.
5473 * libc/stdio/putchar.c (_putchar_r): Replace __sputc with putc.
5474
96bff22c
JR
5475Wed May 8 17:47:35 2002 J"orn Rennecke <joern.rennecke@superh.com>
5476
5477 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
5478 Also handle as single quad word when destination ends at last
5479 byte of first quad word. Fix byte selection in single quad code.
5480
e71372fa
TF
54812002-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
5482
5483 * libc/include/sys/stdio.h: New file.
5484 * libc/sys/linux/sys/stdio.h: New file.
5485 * libc/include/stdio.h: Add declarations for flockfile,
5486 ftrylockfile, and funlockfile. Include <sys/stdio.h>.
5487 * libc/stdio/clearerr.c: Add file locking.
5488 * libc/stdio/fclose.c: Likewise.
5489 * libc/stdio/feof.c: Likewise.
5490 * libc/stdio/ferror.c: Likewise.
5491 * libc/stdio/fflush.c: Likewise.
5492 * libc/stdio/fgetc.c: Likewise.
5493 * libc/stdio/fgetpos.c: Likewise.
5494 * libc/stdio/fgets.c: Likewise.
5495 * libc/stdio/fileno.c: Likewise.
5496 * libc/stdio/fputc.c: Likewise.
5497 * libc/stdio/fputs.c: Likewise.
5498 * libc/stdio/fread.c: Likewise.
5499 * libc/stdio/freopen.c: Likewise.
5500 * libc/stdio/fseek.c: Likewise.
5501 * libc/stdio/ftell.c: Likewise.
5502 * libc/stdio/fwrite.c: Likewise.
5503 * libc/stdio/getc.c: Likewise.
5504 * libc/stdio/putc.c: Likewise.
5505 * libc/stdio/setvbuf.c: Likewise.
5506 * libc/stdio/ungetc.c: Likewise.
5507 * libc/stdio/vfprintf.c: Likewise.
5508
a03790e4
JJ
55092002-05-06 Jeff Johnston <jjohnstn@redhat.com>
5510
60b2107c
TF
5511 * libc/machine/powerpc/vfprintf.c[__ALTIVEC__]: Add vector
5512 support for 'p' format. Fix code to print bytes for vector
5513 integer formats that do not specify 'h' or 'l'.
5514 * libc/machine/powerpc/vfscanf.c[__ALTIVEC__]: Add vector support
5515 for 'p' specifier. Fix code to scan 16 bytes for vector integer
5516 formats that do not specify 'h' or 'l'.
5517
5518 * libc/include/stdlib.h (a64l, l64a, _l64a_r): Added prototypes.
5519
9c7d6a9d
TF
55202002-05-06 Nick Clifton <nickc@cambridge.redhat.com>
5521
5522 * libc/sys/arm/syscalls.c (_rename): Add parameter names.
5523 (_sbrk): Add cast of return value.
5524
c33c3635
JJ
55252002-05-06 Jeff Johnston <jjohnstn@redhat.com>
5526
5527 * libc/include/sys/reent.h (_l64a_buf): New reentrant area.
5528 (_REENT_L64A_BUF): New macro for accessing area.
5529 * libc/stdlib/Makefile.am: Add a64l.c and l64a.c.
5530 * libc/stdlib/Makefile.in: Regenerated.
5531 * libc/stdlib/a64l.c: New file.
5532 * libc/stdlib/l64a.c: New file.
5533
f78e59a8
JJ
55342002-05-06 Jeff Johnston <jjohnstn@redhat.com>
5535
5536 * libc/unix/pread.c: Fix typo for _pread_r.
5537 * libc/unix/pwrite.c: Fix type for _pwrite_r.
5538 * libc/sys/linux/pread64.c: Fix typo for read syscall.
5539 * libc/sys/linux/pwrite64.c: Fix typo for write syscall.
5540
4b3f6588
CF
55412002-05-03 Christopher Faylor <cgf@redhat.com>
5542
5543 * libc/include/sys/unistd.h: Define getdomainname under cygwin.
5544
e911832c
TF
55452002-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
5546
5547 * configure.in (CC_FOR_NEWLIB): Change -isystem's to -I's.
5548
0d0fdc8d
CF
55492002-05-01 Christopher Faylor <cgf@redhat.com>
5550
5551 * utmp.h: Define more UNIX constants.
5552
1e997c56
TF
55532002-05-01 Thomas Fitzsimmons <fitzsim@redhat.com>
5554
0717f01c
TF
5555 * Makefile.am: Add support for checking multilibs.
5556
09841445
TF
5557 * libc/Makefile.am (SUBLIBS): Add LIBC_EXTRA_LIB.
5558 (SUBDEFS): Add LIBC_EXTRA_DEF.
5559 * libc/configure.in (LIBC_EXTRA_LIB): New variable.
5560 (LIBC_EXTRA_DEF): Likewise.
5561 (extra_dir): Likewise.
5562 * libc/machine/xscale/machine: New directory.
5563 * libc/machine/xscale/machine/profile.h: New file.
5564
1e997c56
TF
5565 * Makefile.am (site.exp): Remove newlib_cflags. Add
5566 multibuildtop.
5567 * testsuite/newlib.locale/UTF-8.c: Change fprintf's to printf's.
5568 * testsuite/lib/flags.exp: New file.
5569 * testsuite/lib/newlib.exp: Load flags.exp.
5570 (newlib_target_compile): Remove libgloss directory references.
5571 (newlib_init): Remove newlib_cflags references.
5572
4cf4f010
TF
55732002-04-30 Thomas Fitzsimmons <fitzsim@redhat.com>
5574
f6bdb6f9
TF
5575 * testsuite/lib/newlib.exp (newlib_target_compile): Change
5576 method of finding libgloss_target_dir.
5577
4cf4f010
TF
5578 * Makefile.am (site.exp): Change host_alias, host_triplet,
5579 target_alias, target_triplet to refer to gcc's host and target
5580 variables (newlib's build and host variables).
5581 * testsuite/lib/newlib.exp (newlib_init): Change build
5582 references to host references, host references to target
5583 references to reflect Makefile.am changes.
5584 (newlib_target_compile): Likewise.
5585 (newlib_finish): Likewise.
5586
83096ae8
JJ
55872002-04-29 Jeff Johnston <jjohnstn@redhat.com>
5588
5589 * libc/sys/linux/io64.c (fstat64, lstat64): New syscalls added.
5590
822afa53
JL
55912002-04-29 Jonathan Larmour <jlarmour@redhat.com>
5592
5593 * libc/sys/arm/syscalls.c (_rename): New function. Just a stub.
5594 (_system): New function. Ditto.
5595 * libc/stdlib/system.c (_system_r): Call _system if HAVE_SYSTEM.
5596 * configure.host: define HAVE_SYSTEM and HAVE_RENAME for xscale
5597 targets.
5598
29798f0d
JJ
55992002-04-29 Jeff Johnston <jjohnstn@redhat.com>
5600
5601 * libc/include/sys/unistd.h (pread, pwrite): Added prototypes.
5602 * libc/unix/Makefile.am: Add pread.c and pwrite.c.
5603 * libc/sys/linux/Makefile.am: Add pread64.c and pwrite64.c.
5604 * libc/sys/linux/Makefile.in: Regenerated.
5605 * libc/unix/Makefile.in: Ditto.
5606 * libc/sys/linux/pread64.c: New file.
5607 * libc/sys/linux/pwrite64.c: Ditto.
5608 * libc/unix/pread.c: Ditto.
5609 * libc/unix/pwrite.c: Ditto.
5610
557856bd
JJ
56112002-04-26 Jeff Johnston <jjohnstn@redhat.com>
5612
5613 * libc/sys/linux/Makefile.am: Add io64.c.
5614 * libc/sys/linux/Makefile.in: Regenerated.
5615 * libc/sys/linux/io.c(mkfifo, fsync, fdatasync): Added syscalls.
5616 * libc/sys/linux/signal.c (sigwaitinfo, sigtimedwait): Ditto.
5617 * libc/sys/linux/io64.c: New file.
5618
7b2b12d5
JJ
56192002-04-26 Jeff Johnston <jjohnstn@redhat.com>
5620
5621 * configure.in (CC_FOR_NEWLIB): New variable that
5622 bases on $(CC) and adds targ-include and libc/include as
5623 -isystem directives if they are not already part of $(CC).
5624 * Makefile.am (AM_MAKEFLAGS): Change setting of CC to equal
5625 $(CC_FOR_NEWLIB).
5626 * configure: Regenerated.
5627 * Makefile.in: Ditto.
5628
c62adacc
JJ
56292002-04-25 Jeff Johnston <jjohnstn@redhat.com>
5630
5631 * libc/sys/linux/Makefile.am: Add support for sched.c.
5632 * libc/sys/linux/Makefile.in: Regenerated.
5633 * libc/sys/linux/sched.c: New file.
5634 * libc/sys/linux/sys/types.h: Add struct timespec.
5635
217ad4a0
TF
56362002-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
5637
5638 * configure.in (CC_FOR_BUILD): Set to gcc whether
5639 cross-compiling or not.
5640 (CC): Add -isystem's for targ-include and libc/include when they
5641 do not already appear in CC.
5642
eaa75b70
TF
56432002-04-24 Thomas Fitzsimmons <fitzsim@redhat.com>
5644
5645 * Makefile.am (check-DEJAGNU): New target.
5646 (site.exp): Likewise.
5647 * acinclude.m4 (NEWLIB_CONFIGURE): Replace AC_CANONICAL_HOST
5648 with AC_CANONICAL_SYSTEM. Remove AC_CANONICAL_BUILD.
5649 * libc/locale/locale.c (_setlocale_r): Add UTF-8 support.
5650 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Likewise.
5651 * libc/stdlib/wctomb_r.c (_wctomb_r): Likewise.
5652 * testsuite: New directory.
5653 * testsuite/config: Likewise.
5654 * testsuite/lib: Likewise.
5655 * testsuite/newlib.locale: Likewise.
5656 * testsuite/newlib.string: Likewise.
5657 * testsuite/config/default.exp: New file.
5658 * testsuite/lib/checkoutput.exp: New file.
5659 * testsuite/lib/newlib.exp: New file.
5660 * testsuite/lib/passfail.exp: New file.
5661 * testsuite/newlib.locale/UTF-8.c: New file.
5662 * testsuite/newlib.locale/UTF-8.exp: New file.
5663 * testsuite/newlib.locale/locale.exp: New file.
5664 * testsuite/newlib.string/string.exp: New file.
5665 * testsuite/newlib.string/tstring.c: New file.
5666
b9f9f699
JJ
56672002-04-23 Jeff Johnston <jjohnstn@redhat.com>
5668
5669 * libc/include/machine/types.h (__pid_t, __off_t, __loff_t): Added.
5670 * libc/sys/linux/Makefile.am: Add support for mmap.c.
5671 * libc/sys/linux/Makefile.in: Regenerated.
5672 * libc/sys/linux/mmap.c: New file.
5673 * libc/sys/linux/machine/i386/syscall.h: Add _syscall6 macro.
5674 * libc/sys/linux/sys/types.h (pid_t, off_t, loff_t): Added.
5675
7394edbb
TF
56762002-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
5677
5678 * acinclude.m4 (newlib_cflags): Remove include directories that
5679 are already specified in the top-level configure.in's FLAGS_FOR_TARGET.
5680
b9f9f699 56812002-04-19 Bill Siegmund <ctc-dsl@pacbell.net>
59be2290
JJ
5682
5683 * libc/machine/xscale/memchr.c: Don't use multi-line strings.
5684 * libc/machine/xscale/memcmp.c: Ditto.
5685 * libc/machine/xscale/memcpy.c: Ditto.
5686 * libc/machine/xscale/memmove.c: Ditto.
5687 * libc/machine/xscale/memset.c: Ditto.
5688 * libc/machine/xscale/strchr.c: Ditto.
5689 * libc/machine/xscale/strcmp.c: Ditto.
5690 * libc/machine/xscale/strcpy.c: Ditto.
5691 * libc/machine/xscale/strlen.c: Ditto.
5692
2dd4c4dc
JJ
56932002-04-19 Alexandre Oliva <aoliva@redhat.com>
5694
5695 * libc/include/sys/config.h: Remove include of <limits.h>.
5696 (__INT_MAX__, __LONG_MAX__): Define like GCC's limits.h would
5697 define INT_MAX and LONG_MAX. Use them in tests.
5698
0d844014
JJ
56992002-04-19 Jeff Johnston <jjohnstn@redhat.com>
5700
5701 * configure.host: Add support for powerpc-eabialtivec*.
5702 * libc/include/malloc.h: Add include of <machine/malloc.h>.
5703 * libc/include/stdlib.h: Add include of <machine/stdlib.h>.
5704 * libc/include/machine/malloc.h: New file.
5705 * libc/include/machine/stdlib.h: Ditto.
5706 * libc/include/machine/setjmp.h: Add support for powerpc altivec.
5707 * libc/machine/powerpc/Makefile.am: Add conditional objects and
5708 sources based on configuration.
5709 * libc/machine/powerpc/Makefile.in: Regenerated.
5710 * libc/machine/powerpc/configure: Ditto.
5711 * libc/machine/powerpc/configure.in: Add check for
5712 powerpc-eabialtivec* in which case add in additional source files.
5713 * libc/machine/powerpc/setjmp.S: Add altivec support.
5714 * libc/machine/powerpc/vec_calloc.c: New file.
5715 * libc/machine/powerpc/vec_free.c: Ditto.
5716 * libc/machine/powerpc/vec_malloc.c: Ditto.
5717 * libc/machine/powerpc/vec_mallocr.c: Ditto.
5718 * libc/machine/powerpc/vec_realloc.c: Ditto.
5719 * libc/machine/powerpc/machine/malloc.h: Ditto.
5720 * libc/machine/powerpc/machine/stdlib.h: Ditto.
5721 * libc/machine/powerpc/vfprintf.c: New file that is vfprintf.c
5722 with added altivec format specifiers.
5723 * libc/machine/powerpc/vfscanf.c: New file that is vfscanf.c with
5724 added altivec format specifiers.
5725
d413aadc
JS
57262002-04-19 Joel Sherrill <joel@OARcorp.com>
5727
5728 * libs/sys/rtems/crt0.c: Satisfy gcc's references to libc functions
5729 while autoconf is trying to link main(){}.
5730
27193895
JJ
57312002-04-17 Jeff Johnston <jjohnstn@redhat.com>
5732
5733 * libc/sys/linux/signal.c: Remove include of <bits/sigset.h>.
5734 * libc/sys/linux/sys/signal.h: Add include of <bits/sigset.h>.
5735
10d00216
JJ
57362002-04-17 Jeff Johnston <jjohnstn@redhat.com>
5737
6b0f808e
JJ
5738 * libc/time/time.tex: Add tzset info.
5739
57402002-04-17 Jeff Johnston <jjohnstn@redhat.com>
5741
5742 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
5743 (strptime): Moved prototype to be within !__STRICT_ANSI__.
5744 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
5745 (tzname): Defined for all platforms.
5746 (daylight, timezone): Defined only for CYGWIN.
5747 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
5748 environment set up.
5749 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
5750 environment variable is set.
5751 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
5752 tzset_r.c.
5753 * libc/time/Makefile.in: Regenerated.
5754 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
5755 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
5756 * libc/time/lcltime_r.c (lcltime_r): Ditto.
5757 * libc/time/local.h: New local header file.
5758 * libc/time/mktime.c (mktime): Add timezone support.
5759 * libc/time/mktm_r.c: New file which is the common engine
5760 for gmtime_r and lcltime_r. This code has timezone support.
5761 * libc/time/strftime.c (strftime): Add %Z timezone support.
5762 * libc/time/tzlock.c: New file containing timezone lock stubs.
5763 * libc/time/tzset.c: New file containing tzset() routine.
5764 * libc/time/tzset_r.c: New file containing _tzset_r and
5765 internal routine for calculating timezone changes for specified year.
5766
57672002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
5768
5769 * configure.in (CRT0_DIR): Set to libc/.
5770 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
5771 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
5772 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
5773 $(CRT1_DIR)/$(CRT1).
5774 * libc/machine/xstormy16/Makefile.in: Regenerated.
5775 * libc/machine/xstormy16/aclocal.m4: Regenerated.
5776 * libc/machine/xstormy16/configure: Regenerated.
5777
57782002-04-13 Alexandre Oliva <aoliva@redhat.com>
5779
5780 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
5781 fails, don't bail out, and try to correct next time.
5782
5783 * libc/include/sys/config.h: Include limits.h.
5784
57852002-04-12 Eric Norum <eric.norum@usask.com>
5786
5787 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
5788 routine to allow autoconf to determine that building executables
5789 for rtems works.
5790 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
5791 (rtems_gxx_mutex_once): Ditto.
5792
57932002-04-09 Tom Rix <trix@redhat.com>
5794
5795 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
5796
57972002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
5798
5799 * libc/include/time.h: Fix strptime declaration.
5800 * libc/time/Makefile.am: Add strptime.c.
5801 * libc/time/Makefile.in: Regenerated.
5802 * libc/time/strptime.c: New file.
5803
58042002-04-08 Jeff Johnston <jjohnstn@redhat.com>
5805
5806 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
5807 siglongjmp prototype, and sigsetjmp macro definition.
5808 * libc/sys/linux/siglongjmp.c: New file.
5809 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
5810 * libc/sys/linux/Makefile.in: Regenerated.
5811
58122002-04-04 Jeff Johnston <jjohnstn@redhat.com>
5813
5814 * Makefile.am: Add support for installing crt1.o if one exists.
5815 * configure.host: Specify crt1.o for linux.
5816 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
5817 * Makefile.in: Regenerated.
5818 * configure: Ditto.
5819 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
5820 Added for non-Cygwin, non-RTEMS configurations.
5821 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
5822 * libc/sys/linux/Makefile.in: Regenerated.
5823 * libc/sys/linux/crt1.c: New empty file to override one defaulted
5824 by gcc. This fixes problem with reconfiguring linux newlib build.
5825 * libc/sys/linux/sysconf.c: New file.
5826
58272002-04-03 Jeff Johnston <jjohnstn@redhat.com>
5828
5829 * configure.host: Add support for machine subdirectory of
5830 sys subdirectory.
5831 * configure.in: Add check for sys machine subdirectory.
5832 * Makefile.am: Ditto.
5833 * configure: Regenerated.
5834 * Makefile.in: Ditto.
5835 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
5836 * libc/sys/linux/sys/syscall.h: Ditto.
5837 * libc/sys/linux/sleep.c: New file.
5838 * libc/sys/linux/socket.c: Ditto.
5839 * libc/sys/linux/sockops.h: Ditto.
5840 * libc/sys/linux/stack.c: Ditto.
5841 * libc/sys/linux/usleep.c: Ditto.
5842 * libc/sys/linux/machine/Makefile.am: Ditto.
5843 * libc/sys/linux/machine/Makefile.in: Ditto.
5844 * libc/sys/linux/machine/aclocal.m4: Ditto.
5845 * libc/sys/linux/machine/configure: Ditto.
5846 * libc/sys/linux/machine/configure.in: Ditto.
5847 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
5848 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
5849 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
5850 * libc/sys/linux/machine/i386/configure: Ditto.
5851 * libc/sys/linux/machine/i386/configure.in: Ditto.
5852 * libc/sys/linux/machine/i386/crt0.c: Ditto.
5853 * libc/sys/linux/machine/i386/sigset.c: Ditto.
5854 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
5855 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
5856 * libc/sys/linux/machine/i386/syscall.h: Ditto.
5857 * libc/sys/linux/sys/select.h: Ditto.
5858 * libc/sys/linux/configure.in: Add support for machine directory.
5859 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
5860 * libc/sys/linux/Makefile.in: Regenerated.
5861 * libc/sys/linux/configure: Ditto.
5862 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
5863 * libc/sys/linux/inode.c: Ditto.
5864 * libc/sys/linux/linux.c: Ditto.
5865 * libc/sys/linux/process.c: Ditto.
5866 * libc/sys/linux/systat.c: Ditto.
5867 * libc/sys/linux/time.c: Ditto.
5868 * libc/sys/linux/wait.c: Ditto.
5869 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
5870 * libc/sys/linux/io.c: Change header plus add readv/writev.
5871 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
5872 use __sigsuspend syscall.
5873 * libc/sys/linux/select.c: Change header plus change select to
5874 use _newselect syscall.
5875 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
5876 used by glibc header files.
5877 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
5878 types.
5879
58802002-04-01 Jeff Johnston <jjohnstn@redhat.com>
5881
5882 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
5883 initializing a struct _reent that has been dynamically allocated.
5884 (_REENT_CHECK_MISC): New macro that checks _misc struct for
5885 _REENT_SMALL and does nothing otherwise.
5886 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
5887 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
5888 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
5889 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
5890 [_REENT_SMALL](struct _misc_reent): New structure containing
5891 miscellaneous reentrant areas needed by newlib.
5892 [_REENT_SMALL](struct _reent): Add _misc pointer.
5893 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
5894 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
5895 and _REENT_STRTOK_LAST macros.
5896 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
5897 and _REENT_MBLEN_STATE macros.
5898 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
5899 and _REENT_MBTOWC_STATE macros.
5900 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
5901 and _REENT_WCTOMB_STATE macros.
5902
59032002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
5904
5905 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
5906
5907Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
5908
5909 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
5910
5911Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
5912
5913 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
5914 Store high part of leading bytes too.
5915
59162002-03-22 Richard Sandiford <rsandifo@redhat.com>
5917
5918 * libm/math/ef_hypot.c: Increase scale factor to 68.
5919
59202002-03-13 Alexandre Oliva <aoliva@redhat.com>
5921
5922 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
5923 error.
5924
59252002-03-12 Jeff Johnston <jjohnstn@redhat.com>
5926
5927 * libc/sys/go32/access.c: Change license to relaxed license
5928 used in identical file throughout newlib/libgloss.
5929
59302002-03-12 Richard Earnshaw <rearnsha@arm.com>
5931
5932 * libc/sys/arm/access.c: New file.
5933 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
5934 * libc/sys/arm/Makefile.in: Regenerate.
5935 * libc/sys/arm/syscalls.c (_stat): New function.
5936
59372002-03-11 Michael Meissner <meissner@redhat.com>
5938
5939 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
5940 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
5941 * libc/machine/mips/Makefile.in: Regenerate.
5942 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
5943 * libc/machine/mips/memset.c: Dito.
5944 * libc/machine/mips/strcmp.c: Dito.
5945 * libc/machine/mips/strlen.c: Dito.
5946 * libc/machine/mips/strncmp.c: Dito.
5947
59482002-03-06 Jeff Johnston <jjohnstn@redhat.com>
5949
5950 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
5951 object so it works for shared library or statici library.
59522002-04-17 Jeff Johnston <jjohnstn@redhat.com>
5953
10d00216
JJ
5954 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
5955 (strptime): Moved prototype to be within !__STRICT_ANSI__.
5956 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
5957 (tzname): Defined for all platforms.
5958 (daylight, timezone): Defined only for CYGWIN.
5959 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
5960 environment set up.
5961 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
5962 environment variable is set.
5963 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
5964 tzset_r.c.
5965 * libc/time/Makefile.in: Regenerated.
5966 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
5967 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
5968 * libc/time/lcltime_r.c (lcltime_r): Ditto.
5969 * libc/time/local.h: New local header file.
5970 * libc/time/mktime.c (mktime): Add timezone support.
5971 * libc/time/mktm_r.c: New file which is the common engine
5972 for gmtime_r and lcltime_r. This code has timezone support.
5973 * libc/time/strftime.c (strftime): Add %Z timezone support.
5974 * libc/time/tzlock.c: New file containing timezone lock stubs.
5975 * libc/time/tzset.c: New file containing tzset() routine.
5976 * libc/time/tzset_r.c: New file containing _tzset_r and
5977 internal routine for calculating timezone changes for specified year.
5978
5f1c13c6
TF
59792002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
5980
5981 * configure.in (CRT0_DIR): Set to libc/.
5982 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
5983 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
5984 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
5985 $(CRT1_DIR)/$(CRT1).
5986 * libc/machine/xstormy16/Makefile.in: Regenerated.
5987 * libc/machine/xstormy16/aclocal.m4: Regenerated.
5988 * libc/machine/xstormy16/configure: Regenerated.
5989
0cc261b1
AO
59902002-04-13 Alexandre Oliva <aoliva@redhat.com>
5991
2f3009bd
AO
5992 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
5993 fails, don't bail out, and try to correct next time.
5994
0cc261b1
AO
5995 * libc/include/sys/config.h: Include limits.h.
5996
26116455
JJ
59972002-04-12 Eric Norum <eric.norum@usask.com>
5998
5999 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
6000 routine to allow autoconf to determine that building executables
6001 for rtems works.
6002 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
6003 (rtems_gxx_mutex_once): Ditto.
6004
4608280d
TR
60052002-04-09 Tom Rix <trix@redhat.com>
6006
6007 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
6008
dea7e25c
JJ
60092002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
6010
6011 * libc/include/time.h: Fix strptime declaration.
6012 * libc/time/Makefile.am: Add strptime.c.
6013 * libc/time/Makefile.in: Regenerated.
6014 * libc/time/strptime.c: New file.
6015
c5ef1e95
JJ
60162002-04-08 Jeff Johnston <jjohnstn@redhat.com>
6017
6018 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
6019 siglongjmp prototype, and sigsetjmp macro definition.
6020 * libc/sys/linux/siglongjmp.c: New file.
6021 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
6022 * libc/sys/linux/Makefile.in: Regenerated.
6023
6e6cd5bd
JJ
60242002-04-04 Jeff Johnston <jjohnstn@redhat.com>
6025
6026 * Makefile.am: Add support for installing crt1.o if one exists.
6027 * configure.host: Specify crt1.o for linux.
6028 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
6029 * Makefile.in: Regenerated.
6030 * configure: Ditto.
6031 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
6032 Added for non-Cygwin, non-RTEMS configurations.
6033 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
6034 * libc/sys/linux/Makefile.in: Regenerated.
6035 * libc/sys/linux/crt1.c: New empty file to override one defaulted
6036 by gcc. This fixes problem with reconfiguring linux newlib build.
6037 * libc/sys/linux/sysconf.c: New file.
6038
fa4a16a1
JJ
60392002-04-03 Jeff Johnston <jjohnstn@redhat.com>
6040
6041 * configure.host: Add support for machine subdirectory of
6042 sys subdirectory.
6043 * configure.in: Add check for sys machine subdirectory.
6044 * Makefile.am: Ditto.
6045 * configure: Regenerated.
6046 * Makefile.in: Ditto.
6047 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
6048 * libc/sys/linux/sys/syscall.h: Ditto.
6049 * libc/sys/linux/sleep.c: New file.
6050 * libc/sys/linux/socket.c: Ditto.
6051 * libc/sys/linux/sockops.h: Ditto.
6052 * libc/sys/linux/stack.c: Ditto.
6053 * libc/sys/linux/usleep.c: Ditto.
6054 * libc/sys/linux/machine/Makefile.am: Ditto.
6055 * libc/sys/linux/machine/Makefile.in: Ditto.
6056 * libc/sys/linux/machine/aclocal.m4: Ditto.
6057 * libc/sys/linux/machine/configure: Ditto.
6058 * libc/sys/linux/machine/configure.in: Ditto.
6059 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
6060 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
6061 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
6062 * libc/sys/linux/machine/i386/configure: Ditto.
6063 * libc/sys/linux/machine/i386/configure.in: Ditto.
6064 * libc/sys/linux/machine/i386/crt0.c: Ditto.
6065 * libc/sys/linux/machine/i386/sigset.c: Ditto.
6066 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
6067 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
6068 * libc/sys/linux/machine/i386/syscall.h: Ditto.
6069 * libc/sys/linux/sys/select.h: Ditto.
6070 * libc/sys/linux/configure.in: Add support for machine directory.
6071 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
6072 * libc/sys/linux/Makefile.in: Regenerated.
6073 * libc/sys/linux/configure: Ditto.
6074 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
6075 * libc/sys/linux/inode.c: Ditto.
6076 * libc/sys/linux/linux.c: Ditto.
6077 * libc/sys/linux/process.c: Ditto.
6078 * libc/sys/linux/systat.c: Ditto.
6079 * libc/sys/linux/time.c: Ditto.
6080 * libc/sys/linux/wait.c: Ditto.
6081 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
6082 * libc/sys/linux/io.c: Change header plus add readv/writev.
6083 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
6084 use __sigsuspend syscall.
6085 * libc/sys/linux/select.c: Change header plus change select to
6086 use _newselect syscall.
6087 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
6088 used by glibc header files.
6089 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
6090 types.
6091
d4dca0e4
JJ
60922002-04-01 Jeff Johnston <jjohnstn@redhat.com>
6093
6094 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
6095 initializing a struct _reent that has been dynamically allocated.
6096 (_REENT_CHECK_MISC): New macro that checks _misc struct for
6097 _REENT_SMALL and does nothing otherwise.
6098 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
6099 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
6100 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
6101 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
6102 [_REENT_SMALL](struct _misc_reent): New structure containing
6103 miscellaneous reentrant areas needed by newlib.
6104 [_REENT_SMALL](struct _reent): Add _misc pointer.
6105 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
6106 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
6107 and _REENT_STRTOK_LAST macros.
6108 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
6109 and _REENT_MBLEN_STATE macros.
6110 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
6111 and _REENT_MBTOWC_STATE macros.
6112 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
6113 and _REENT_WCTOMB_STATE macros.
6114
54a7c6d2
JJ
61152002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
6116
6117 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
6118
c82479b1
CF
6119Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
6120
6121 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
6122
43ecf6e8
JR
6123Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
6124
6125 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
6126 Store high part of leading bytes too.
6127
a485d93f
RS
61282002-03-22 Richard Sandiford <rsandifo@redhat.com>
6129
6130 * libm/math/ef_hypot.c: Increase scale factor to 68.
6131
62a963ee
AO
61322002-03-13 Alexandre Oliva <aoliva@redhat.com>
6133
6134 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
6135 error.
6136
c53d8453
JJ
61372002-03-12 Jeff Johnston <jjohnstn@redhat.com>
6138
6139 * libc/sys/go32/access.c: Change license to relaxed license
6140 used in identical file throughout newlib/libgloss.
6141
d2a246ad
JJ
61422002-03-12 Richard Earnshaw <rearnsha@arm.com>
6143
6144 * libc/sys/arm/access.c: New file.
6145 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
6146 * libc/sys/arm/Makefile.in: Regenerate.
6147 * libc/sys/arm/syscalls.c (_stat): New function.
6148
eabb48d5
MM
61492002-03-11 Michael Meissner <meissner@redhat.com>
6150
6151 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
6152 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
6153 * libc/machine/mips/Makefile.in: Regenerate.
6154 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
6155 * libc/machine/mips/memset.c: Dito.
6156 * libc/machine/mips/strcmp.c: Dito.
6157 * libc/machine/mips/strlen.c: Dito.
6158 * libc/machine/mips/strncmp.c: Dito.
6159
2a606041
JJ
61602002-03-06 Jeff Johnston <jjohnstn@redhat.com>
6161
eabb48d5
MM
6162 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
6163 object so it works for shared library or statici library.
6164 * libc/machine/i386/Makefile.in: Regenerated.
2a606041 6165
55f26f11
JR
6166Wed Mar 6 10:24:26 2002 J"orn Rennecke <joern.rennecke@superh.com>
6167
96bff22c
JR
6168 * libc/machine/sh/Makefile.am (lib_a_SOURCES, SH64 case):
6169 Add memcpy.S, memset.S and strcpy.S.
6170 * libc/machine/sh/Makefile.in: Regenerate.
6171 * libc/machine/sh/asm.h (_ENTRY): Set SH5 alignment to 8 bytes.
55f26f11 6172 (SHHI, SHLO): Define.
96bff22c
JR
6173 * libc/machine/sh/memset.S: Add code for SH5.
6174 * libc/machine/sh/memset.S: Likewise.
6175 * libc/machine/sh/strcpy.S: Likewise.
55f26f11 6176
afecf2fa
JJ
61772002-02-27 Jeff Johnston <jjohnstn@redhat.com>
6178
6179 * configure.host: Add check for --disable-newlib-io-float
6180 configuration option and add -DNO_FLOATING_POINT to newlib cflags
6181 if appropriate.
6182 * acinclude.m4: Added --disable-newlib-io-float option.
6183 * aclocal.m4: Regenerated.
6184 * configure: Ditto.
6185 * doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
6186 * libc/*/aclocal.m4 libc/*/configure
6187 * libm/*/aclocal.m4 libm/*/configure: Ditto.
6188 * libc/stdio/vfprintf.c [!INTEGER_ONLY]: Only set FLOATING_POINT
6189 if NO_FLOATING_POINT flag is not defined.
6190
c1010a63
JJ
61912002-02-25 Jeff Johnston <jjohnstn@redhat.com>
6192
6193 * libc/include/sys/config.h: Add __extension__ in front of
6194 long long references.
6195
630c657e
CV
61962002-02-23 Corinna Vinschen <corinna@vinschen.de>
6197
6198 * libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin.
6199 (_stat): Ditto.
6200
59ee2e20
CV
62012002-02-23 Corinna Vinschen <corinna@vinschen.de>
6202
6203 * libc/sys/cygwin/sys/dirent.h (struct __DIR): Use __off32_t instead
6204 of off_t.
6205
2dd68dc2
NC
62062002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
6207
6208 * libc/machine/xscale/strchr.c (strchr): Add 'r1' to the list of
6209 clobbered registers.
6210
55500bf1
TF
62112002-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
6212
6213 * configure.host (newlib_cflags): When host is in m68* add
6214 -DCOMPACT_CTYPE.
6215
ba0173f0
JJ
62162002-02-15 Jeff Johnston <jjohnstn@redhat.com>
6217
6218 * libc/include/sys/config.h: Add definitions for
6219 __int16_t, __uint16_t, __int64_t, and __uint64_t.
6220
7b61d0c5
JJ
62212002-02-12 Hans-Peter Nilsson <hp@bitrange.com>
6222
6223 * libc/sys/mmixware/link.c: New.
6224 * libc/sys/mmixware/sys/syscall.h (TRAP1i, I3f): Make asm
6225 volatile.
6226 * libc/sys/mmixware/times.c (_times): Renamed from times.
6227 * libc/sys/mmixware/open.c (_open): Attempt to handle O_APPEND
6228 properly by reading previous contents, not through BinaryReadWrite.
6229 * libc/sys/mmixware/Makefile.am (lib_a_SOURCES): Add link.c
6230 * libc/sys/mmixware/Makefile.in: Regenerate.
6231
a505db65
CV
62322002-02-10 Corinna Vinschen <corinna@vinschen.de>
6233
6234 * libc/include/grp.h: Don't declare group functions when compiling
6235 Cygwin.
6236
f3b39c45
CV
62372002-02-09 Corinna Vinschen <corinna@vinschen.de>
6238
6239 * libc/include/grp.h: Include Cygwin specific header.
6240 * libc/include/sys/stat.h: Ditto. Don't define `struct stat'
6241 when compiling for Cygwin.
6242 * libc/include/sys/types.h: Don't define off_t, uid_t
6243 and gid_t when compiling for Cygwin.
6244
82b3ac56
MG
62452002-02-08 matthew green <mrg@redhat.com>
6246
6247 * libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): Allocate
6248 _REENT_EMERGENCY_SIZE, not sizeof(char *).
6249
9f25eed9
AO
62502002-02-08 Alexandre Oliva <aoliva@redhat.com>
6251
6252 Contribute sh64-elf.
6253 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
6254 * configure.host (newlib_cflags) [sh*-*-*]: Enable long long
6255 support in printf.
6256 2001-01-29 Alexandre Oliva <aoliva@redhat.com>
6257 * libc/machine/sh/setjmp.S [SH5]: Switch to SHmedia mode before
6258 any labels.
6259 2001-01-24 Alexandre Oliva <aoliva@redhat.com>
6260 * libc/sys/sh/trap.S (___trap34) [SH5]: Don't trash r2.
6261 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
6262 * libc/machine/sh/configure.in: Rework conditionals.
6263 * libc/machine/sh/Makefile.am: Likewise.
6264 * libc/machine/sh/configure, libc/machine/sh/Makefile.in: Rebuilt.
6265 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
6266 * configure.host: Match `sh*'.
6267 * libc/include/machine/setjmp.h: Define for SH5.
6268 * libc/machine/sh/configure.in: Detect SH5.
6269 * libc/machine/sh/configure: Rebuilt.
6270 * libc/machine/sh/Makefile.am: Use only setjmp.S for SH5.
6271 * libc/machine/sh/Makefile.in: Rebuilt.
6272 * libc/machine/sh/asm.h: Adjust for SH5.
6273 * libc/machine/sh/setjmp.S: Implement in SHmedia.
6274 * libc/sys/sh/crt0.S: Likewise.
6275 * libc/sys/sh/trap.S: Likewise.
6276
a2a405ae
JJ
62772002-02-07 Jeff Johnston <jjohnstn@redhat.com>
6278
6279 * libc/machine/i386/Makefile.am: (mach_add_src): Remove.
6280 (mach_add_obj): Conditionally set to setjmp.o or nothing.
6281 (LIB_SOURCES): Remove $(mach_add_src).
6282 (lib_a_LIBADD, lib_a_DEPENDENCIES): Add and set to $(mach_add_src).
6283 (lib_la_LIBADD, lib_la_DEPENDENCIES): Ditto.
6284 * libc/machine/i386/Makefile.in: Regenerate.
6285
27478365
JJ
62862002-02-05 Manik Raina <manik@cisco.com>
6287
994fa212 6288 * libc/misc/dprintf.c (parse_number): #if 0 unused function.
27478365
JJ
6289 * libc/stdlib/ldtoa.c (_ldcheck): Remove unused local variables
6290 s, p, k, and outstr.
6291 * libc/stdlib/dtoa.c (_dtoa_r): Initialize mlo.
6292
815a37f7
JJ
62932002-02-04 Jeff Johnston <jjohnstn@redhat.com>
6294
6295 * libc/include/sys/reent.h [(!_REENT_SMALL]: Add
6296 _REENT_CHECK_EMERGENCY macro.
6297
a4139c12
MG
62982002-02-03 matthew green <mrg@redhat.com>
6299
6300 * libc/reent/signgam.c (__signgam): Fix error in previous.
6301
8195aff7
MG
63022002-02-02 matthew green <mrg@redhat.com>
6303
6304 * libc/include/sys/config.h (_REENT_SMALL): Define for Xstormy16.
6305
6306 * libc/reent/reent.c (_reclaim_reent): Clean for _REENT_SMALL case.
6307 * libc/reent/reent.tex: Add blurb about _REENT_SMALL.
6308 * libc/include/sys/reent.h (struct _reent): Completely new version
6309 for _REENT_SMALL.
6310 (_REENT_INIT): New defines, different defintion depending on _REENT_SMALL.
6311 (_REENT_CHECK, _REENT_CHECK_TM): Likewise.
6312 (_REENT_CHECK_ASCTIME_BUF, _REENT_INIT_RAND48): Likewise.
6313 (_REENT_CHECK_RAND48, _REENT_INIT_MP, _REENT_CHECK_MP): Likewise.
6314 (_REENT_CHECK_EMERGENCY, _REENT_SIGNGAM, _REENT_RAND_NEXT): Likewise.
6315 (_REENT_RAND48_SEED, _REENT_RAND48_MULT, _REENT_RAND48_ADD): Likewise.
6316 (_REENT_MP_RESULT, _REENT_MP_RESULT_K, _REENT_MP_P5S): Likewise.
6317 (_REENT_MP_FREELIST, _REENT_ASCTIME_BUF, _REENT_TM): Likewise.
6318 (_REENT_EMERGENCY): Likewise.
6319
6320 * libc/include/sys/reent.h (struct __sFILE_fake): New struct, same as
6321 the start of the real __sFILE, used for stdin, stdout and stderr until
6322 they are setup properly.
6323 (struct __sFILE): Move location of _data in _REENT_SMALL case.
6324 * libc/stdio/findfp.c (__sinit): Rearrange for _REENT_SMALL case by
6325 allocated stdin, stdout and stderr.
6326 * libc/stdio/getchar.c (_getchar_r): Call _REENT_SMALL_CHECK_INIT().
6327 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Likewise.
6328 * libc/stdio/perror.c (_perror_r): Likewise.
6329 * libc/stdio/printf.c (printf, _printf_r): Likewise.
6330 * libc/stdio/putchar.c (_putchar_r): Likewise.
6331 * libc/stdio/puts.c (_puts_r): Likewise.
6332 * libc/stdio/scanf.c (scanf, _scanf_r): Likewise.
6333 * libc/stdio/vprintf.c (vprintf): Likewise.
6334 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Likewise.
6335
6336 * libc/stdio/tmpnam.c (_tmpnam_r): Use _REENT_EMERGENCY().
6337
6338 * libc/reent/reent.c (_wrapup_reent): Adjust for _REENT_SMALL atexit.
6339 * libc/include/sys/reent.h (_atexit): Limit atexit() entries to 32
6340 for _REENT_SMALL.
6341 * libc/stdlib/atexit.c (atexit): Rearrange for _REENT_SMALL case.
6342 * libc/stdlib/exit.c (exit): Rearrange for _REENT_SMALL case.
6343
6344 * libc/include/sys/reent.h (struct _rand48): Keep _rand_next if
6345 _REENT_SMALL.
6346 * libc/stdlib/drand48.c (_drand48_r): Call _REENT_CHECK_RAND48().
6347 * libc/stdlib/lcong48.c (_lcong48_r): Likewise.
6348 * libc/stdlib/lrand48.c (_lrand48_r): Likewise.
6349 * libc/stdlib/mrand48.c (_mrand48_r): Likewise.
6350 * libc/stdlib/rand48.c (__dorand48): Likewise.
6351 * libc/stdlib/seed48.c (_seed48_r): Likewise.
6352 * libc/stdlib/srand48.c (_srand48_r): Likewise.
6353 * libc/stdlib/rand48.h (__rand48_seed, __rand48_mult, __rand48_add): Define
6354 as _REENT_RAND48_SEED(), _REENT_RAND48_MULT() and _REENT_RAND48_ADD().
6355 * libc/stdlib/dtoa.c (_dtoa_r): Call _REENT_CHECK_MP(). Use
6356 _REENT_MP_RESULT() and _REENT_MP_RESULT_K().
6357 * libc/stdlib/ldtoa.c (_ldtoa_r): Likewise.
6358 * libc/stdlib/rand.c (srand): Use _REENT_RAND_NEXT().
6359 * libc/stdlib/rand.c (rand): Likewise.
6360
6361 * libc/stdlib/mallocr.c (malloc_stats): Call _REENT_SMALL_CHECK_INIT().
6362 * libc/stdlib/mstats.c (_mstats_r): Call _REENT_SMALL_CHECK_INIT().
6363
6364 * libc/stdlib/mprec.c (Balloc): Call _REENT_CHECK_MP. Use
6365 _REENT_MP_FREELIST() and _REENT_MP_P5S.
6366 * libc/include/sys/reent.h (struct _mprec): New structure.
6367
6368 * libc/include/sys/reent.h (struct _reent): Rename _strtok_last to
6369 _unused_strtok_last.
6370 * libc/string/strtok.c (strtok): Use a local static variable.
6371
6372 * libc/include/sys/reent.h (_REENT_ASCTIME_SIZE): New define.
6373 (_REENT_EMERGENCY_SIZE): Likewise.
6374 * libc/time/asctime.c (asctime): Call _REENT_CHECK_ASCTIME_BUF(). Use
6375 _REENT_ASCTIME_BUF().
6376 * libc/time/lcltime.c (localtime): Call _REENT_CHECK_TM(). Use
6377 _REENT_TM().
6378
6379 * libc/include/math.h (__singam_r): Use _REENT_SIGNGAM().
6380 * libc/reent/signgam.c (__signgam): Use _REENT_SIGNGAM().
6381 * libm/math/w_gamma.c (gamma): Use _REENT_SIGNGAM().
6382 * libm/math/w_lgamma.c (lgamma): Use _REENT_SIGNGAM().
6383 * libm/math/wf_gamma.c (gammaf): Use _REENT_SIGNGAM().
6384 * libm/math/wf_lgamma.c (lgammaf): Use _REENT_SIGNGAM().
6385
9c2e7642
GK
63862002-02-01 Geoffrey Keating <geoffk@redhat.com>
6387
6388 * configure.host (xstormy16): Don't use the generic malloc.
6389 * libc/machine/xstormy16/Makefile.am: Build tiny-malloc.
6390 * libc/machine/xstormy16/Makefile.in: Regenerate.
6391 * libc/machine/xstormy16/mallocr.c: New file.
6392 * libc/machine/xstormy16/tiny-malloc.c: New file.
6393
4bb6112f
TF
63942002-01-28 Thomas Fitzsimmons <fitzsim@redhat.com>
6395
6396 * libc/include/sys/signal.h [__CYGWIN__]: Issue error message
6397 when _CYGWIN_TYPES_H is not defined.
6398
8d345552
TF
63992002-01-24 Thomas Fitzsimmons <fitzsim@redhat.com>
6400
6401 * libc/include/sys/signal.h: Revert 2002-01-23 change.
6402
bcc49082
TF
64032002-01-23 Thomas Fitzsimmons <fitzsim@redhat.com>
6404
6405 * libc/include/sys/signal.h: Remove pthread_kill declaration
6406 when __CYGWIN__ is defined.
6407
13baedeb
CF
64082002-01-18 Mark Bradshaw <bradshaw@staff.crosswalk.com>
6409
6410 * libc/include/time.h: Add prototype for strptime for Cygwin.
6411
b2db0ebc
NC
64122002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
6413
ebf139fb
NC
6414 * libc/machine/xscale/memset.c (memset): Fix bug when len == 1 and
6415 dst was not word aligned.
6416
b2db0ebc
NC
6417 * libc/sys/arm/syscalls.c (_sbrk): Return -1 rather than aborting
6418 if too much memory is requested.
6419
798c015d
JJ
64202002-01-11 Jeff Johnston <jjohnstn@redhat.com>
6421
6422 * libc/stdio/vfscanf.c (__svfscanf_r): Change loop that
6423 reads blanks from the input file to break if EOF reached
6424 rather than end processing.
6425
46ad2ef4
JJ
64262002-01-07 Jeff Johnston <jjohnstn@redhat.com>
6427
6428 * MAINTAINERS: Change e-mail addresses to refer to redhat domain.
6429
86b06396
JJ
64302002-01-07 Alan Matsuoka <alanm@redhat.com>
6431
6432 * libc/include/machine/ieeefp.h: Configure d10v doubles to
6433 be 32 bits if __DOUBLE__ == 32 otherwise doubles are 64 bits.
6434 libc/include/sys/config.h: Ditto.
6435
423d5064
CV
64362001-12-28 Corinna Vinschen <corinna@vinschen.de>
6437
6438 * libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE.
6439
f6eff1c0
GK
64402001-12-22 Geoffrey Keating <geoffk@redhat.com>
6441 Catherine Moore <clm@redhat.com>
6442 Richard Henderson <rth@redhat.com>
6443 Corinna Vinschen <vinschen@redhat.com>
6444
6445 * configure.host: Add support for xstormy16.
6446 * libc/include/machine/ieeefp.h: Add support for xstormy16.
6447 * libc/include/machine/setjmp.h: Add support for xstormy16.
6448 * libc/include/sys/config.h: Add support for xstormy16.
6449 * libc/machine/xstormy16/Makefile.am: New file.
6450 * libc/machine/xstormy16/Makefile.in: New file.
6451 * libc/machine/xstormy16/aclocal.m4: New file.
6452 * libc/machine/xstormy16/configure: New file.
6453 * libc/machine/xstormy16/configure.in: New file.
6454 * libc/machine/xstormy16/setjmp.S: New file.
6455
1f93c55f
TF
64562001-12-19 Thomas Fitzsimmons <fitzsim@redhat.com>
6457
6458 * libm/machine/configure.in (HAVE_LIBM_MACHINE_DIR): New conditional.
6459 * libm/machine/Makefile.am [HAVE_LIBM_MACHINE_DIR] (LIBM_MACHLIB): New variable.
6460
13b918be
CV
64612001-12-19 Corinna Vinschen <corinna@vinschen.de>
6462
6463 * libm/machine/Makefile.am: Change rules to create correct lib.a.
6464 * libm/machine/Makefile.in: Regenerated through automake.
6465
08e857b4
TF
64662001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
6467
6468 * Makefile.am (DOCDIR): Force to empty string when doc
6469 directory is not present.
6470
60565ed6
TF
64712001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
6472
6473 * libc/machine/i386/f_*: Move to libm/machine/i386.
6474
64752001-12-18 Joel Sherrill <joel@OARcorp.com>
6476
6477 * libm/machine/Makefile.am: Add dummy doc stub so
6478 "make info" works.
6479
64802001-12-17 Joel Sherrill <joel@OARcorp.com>
6481
6482 * libc/include/sys/types.h (ino_t): RTEMS uses long also.
6483
fc504135
TF
64842001-12-17 Thomas Fitzsimmons <fitzsim@redhat.com>
6485
6486 * libc/stdlib/Makefile.am (LIB_COMPILE): Change to equal
6487 $(COMPILE) rather than $(CC).
6488 * libc/stdio/Makefile.am (LIB_COMPILE): Likewise.
6489 (vfprintf.$(oext)): Remove $(INCLUDES), made redundant by
6490 $(LIB_COMPILE) change.
6491 (vfiprintf.$(oext)): Likewise.
6492
efeae9a3
CV
64932001-12-17 Corinna Vinschen <vinschen@redhat.de>
6494
6495 * libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allow
6496 conditionalized including of getopt stuff.
6497
cdf7120d
TF
64982001-12-14 Thomas Fitzsimmons <fitzsim@redhat.com>
6499
6500 * libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) to
6501 compile line.
f85be99c 6502 (vfiprintf.$(oext)): Likewise.
cdf7120d 6503
2e1a7175
TF
65042001-12-13 Thomas Fitzsimmons <fitzsim@redhat.com>
6505
6506 * Makefile.shared: New file.
6507 * libc/sys/linux/shared.ld: New file.
6508 * libm/machine/*: New files.
6509 * libm/machine/i386/*: New files.
6510 * Makefile.am: Add libtool support. Change math and mathfp
6511 references to variables.
6512 * configure.host: Add variables for libtool support. Add
6513 libm_machine_dir variable.
6514 * configure.in: Add objectlist variables, for libtool
6515 support. Add CC_FOR_BUILD tests.
6516 * libc/Makefile.am: Add libtool support. Change crt0.o
6517 reference to be a variable reference.
6518 * libc/configure.in: Add libtool support. Change sublib
6519 names to be lib${subdir}.la when using libtool.
6520 * libc/ctype/Makefile.am: Add libtool support.
6521 * libc/errno/Makefile.am: Likewise.
6522 * libc/locale/Makefile.am: Likewise.
6523 * libc/machine/Makefile.am: Likewise.
6524 * libc/machine/configure.in: Likewise.
6525 * libc/machine/i386/Makefile.am: Likewise.
6526 * libc/machine/i386/configure.in: Likewise.
6527 * libc/misc/Makefile.am: Likewise.
6528 * libc/posix/Makefile.am: Likewise.
6529 * libc/reent/Makefile.am: Likewise.
6530 * libc/signal/Makefile.am: Likewise.
6531 * libc/stdio/Makefile.am: Likewise.
6532 * libc/stdlib/Makefile.am: Likewise.
6533 * libc/string/Makefile.am: Likewise.
6534 * libc/sys/Makefile.am: Likewise.
6535 * libc/sys/configure.in: Likewise.
6536 * libc/sys/linux/Makefile.am: Add libtool support. Change
6537 awk reference to a variable reference. Change signal.h
6538 reference to a variable reference.
6539 * libc/sys/linux/configure.in: Add libtool support.
6540 * libc/syscalls/Makefile.am: Likewise.
6541 * libc/time/Makefile.am: Likewise.
6542 * libc/unix/Makefile.am: Likewise.
6543 * libm/Makefile.am: Add libtool support. Change math and
6544 mathfp references to variables.
6545 * libm/configure.in: Add libtool support. Add
6546 LIBM_MACHINE_LIB variable.
6547 * libm/common/Makefile.am: Add libtool support.
6548 * libm/math/Makefile.am: Likewise.
6549 * libm/mathfp/Makefile.am: Likewise.
6550 Regenerate all Makefile.in, aclocal.m4, and configure.
6551
b92591a1
JJ
65522001-12-13 Anita Kulkarni <anitak@kpit.com>
6553
6554 * libc/sys/sh/crt0.S: Remove stack symbol definition 0xdeaddead.
6555
355b664e
CF
65562001-12-06 John Peacock <jpeacock@rowman.com>
6557
6558 * libc/include/sys/unistd.h: Correct ualarm declaration.
6559
e9853806
NC
65602001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
6561
6562 * libc/sys/arm/crt0.S: For __USES_INITFINI__ preserve the argument
6563 vector before calling the initialisation functions.
6564
a8e091b0
CF
65652001-11-29 Christopher Faylor <cgf@redhat.com>
6566
6567 * libc/include/dirent.h: Protect against multiple inclusion.
6568
ab634123
CF
65692001-11-27 Christopher Faylor <cgf@redhat.com>
6570
6571 * libc/include/sys/types.h: Define useconds_t.
6572 * libc/include/sys/ulimit.h: Declare ualarm.
6573
d37e401e
CF
65742001-11-21 Christopher Faylor <cgf@redhat.com>
6575
6576 * libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.
6577
8ac90051
HPN
65782001-11-19 Hans-Peter Nilsson <hp@bitrange.com>
6579
6580 * libc/sys/mmixware/*: Tweak license header in all source files.
6581
d7ca37e4
CV
65822001-11-12 Corinna Vinschen <vinschen@redhat.com>
6583
6584 * libc/include/alloca.h: Move libc/sys/linux/include/alloca.h
6585 to here. Rearrange for general inclusion by stdlib.h.
6586 * libc/include/stdlib.h: Include <alloca.h> if __STRICT_ANSI__
6587 isn't defined.
6588 * libc/sys/linux/include/alloca.h: Move to libc/include.
6589
28f8744e
AG
65902001-11-12 Anthony Green <green@redhat.com>
6591
6592 * libc/sys/arm/crt0.S (__stack_base__): New symbol.
6593
4cede8c4
HPN
65942001-11-13 Hans-Peter Nilsson <hp@bitrange.com>
6595
6596 * libc/sys/mmixware/*: Correct spacing in all source files.
6597 * libc/sys/mmixware/syscall.h: Move misplaced file...
6598 * libc/sys/mmixware/sys/syscall.h: ...here.
6599
8be9b48b
JJ
66002001-11-12 Hans-Peter Nilsson <hp@bitrange.com>
6601
6602 * libc/include/machine/ieeefp.h: Add support for mmix target.
6603 * libc/include/machine/setjmp.h: Ditto.
6604 * configure.host: Ditto.
6605 * libc/sys/mmixware/Makefile.am, libc/sys/mmixware/_exit.c,
6606 libc/sys/mmixware/access.c, libc/sys/mmixware/aclocal.m4,
6607 libc/sys/mmixware/chmod.c, libc/sys/mmixware/chown.c,
6608 libc/sys/mmixware/close.c, libc/sys/mmixware/configure.in,
6609 libc/sys/mmixware/creat.c, libc/sys/mmixware/crt0.c,
6610 libc/sys/mmixware/execv.c, libc/sys/mmixware/execve.c,
6611 libc/sys/mmixware/fork.c, libc/sys/mmixware/fstat.c,
6612 libc/sys/mmixware/getpid.c, libc/sys/mmixware/gettime.c,
6613 libc/sys/mmixware/isatty.c, libc/sys/mmixware/kill.c,
6614 libc/sys/mmixware/lseek.c, libc/sys/mmixware/open.c,
6615 libc/sys/mmixware/pipe.c, libc/sys/mmixware/read.c,
6616 libc/sys/mmixware/sbrk.c, libc/sys/mmixware/setjmp.S,
6617 libc/sys/mmixware/stat.c, libc/sys/mmixware/sys/syscall.h,
6618 libc/sys/mmixware/time.c, libc/sys/mmixware/times.c,
6619 libc/sys/mmixware/unlink.c, libc/sys/mmixware/utime.c,
6620 libc/sys/mmixware/wait.c, libc/sys/mmixware/write.c: New files.
6621 * libc/sys/mmixware/configure, libc/sys/mmixware/Makefile.in,
6622 libc/sys/mmixware/aclocal.m4: Generate.
6623
c7dd4f95
CV
66242001-11-05 Corinna Vinschen <corinna@vinschen.de>
6625
6626 * libc/include/sys/unistd.h: Add prototypes for endusershell(),
6627 getusershell(), iruserok(), revoke(), ruserok() and setusershell()
6628 when __CYGWIN__ is defined.
6629 * libc/sys/cygwin/sys/utmp.h: Add prototypes for login_tty() and
6630 logwtmp().
6631
a6a6f9fe
JJ
66322001-11-01 Arati Dikey <aratidikey@hotmail.com>
6633
6634 * libm/mathfp/sf_isinf.c (isinff): Change to use _DEFUN macro.
6635 [_DOUBLE_IS_32BITS](isinf): New function that calls isinff.
6636 * libm/mathfp/sf_isnan.c (isnanf): Change to use _DEFUN macro.
6637 [_DOUBLE_IS_32BITS](isnan): New function that calls isnanf.
6638
d0504c35
JJ
66392001-10-24 Christopher Faylor <cgf@redhat.com>
6640
6641 * libc/stdio/fseek.c: Reset pointer to buffer base
6642 when forced to seek outside of current buffer contents.
6643 This prevents the code from erroneously thinking there is
6644 anything in the current buffer.
6645
0280c8c0
GK
66462001-10-22 Geoffrey Keating <geoffk@redhat.com>
6647
6648 * libc/include/math.h: The C++ standard adds the single-precision
6649 versions of the elementary functions.
6650
333d6098
CF
66512001-10-22 Christopher Faylor <cgf@redhat.com>
6652
6653 * libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations
6654 throughout.
6655 * signal.h: Change comment to reflect __CYGWIN__ rather than __CYGWIN32__.
6656 * popen.c (popen): Use __CYGWIN_ rather than __CYGWIN32__.
6657 * system.c (_system_r): Ditto.
6658
c7118319
CV
66592001-10-17 Corinna Vinschen <corinna@vinschen.de>
6660
6661 * libc/include/sys/unistd.h: Add prototype for fchdir() when
b4e98df6 6662 __CYGWIN__ or __rtems__ is defined.
c7118319 6663
5665b0e1
JJ
66642001-10-01 Charles Wilson <cwilson@ece.gatech.edu>
6665
6666 * libc/include/stdlib.h: add declarations for
6667 _strtoull_r, _strtoll_r, strtoull, and strtoll.
6668 * libc/stdio/local.h: remove declarations of
6669 __strtoull_r and __strtoll_r.
6670 * libc/stdio/vfscanf.c(__svfscanf_r): call
6671 _strtoull_r instead of __strtoull_r. Ditto
6672 _strtoll_r vs. __strtoll_r.
6673 * libc/stdlib/Makefile.am: add new files to
6674 .c list and .def list
6675 * libc/stdlib/Makefile.in: regenerate
6676 * libc/stdlib/strtoll_r.c: rename __strtoll_r
6677 as _strtoll_r
6678 * libc/stdlib/strtoull_r.c: rename __strtoull_r
6679 as _strtoull_r
6680 * libc/stdlib/strtoull.c: new file
6681 * libc/stdlib/strtoll.c: new file
6682
d2d5eb41
CF
6683Mon Sep 17 17:29:47 2001 Christopher Faylor <cgf@cygnus.com>
6684
6685 * libc/include/process.h: Add getpid() declaration.
6686
448e3c14
NC
66872001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
6688
6689 * libc/sys/arm/crt0.S: Add calls to _init and _fini (via atexit)
6690 for new style arm/elf ctor/dtor handling.
6691 Minor formatting tidy up.
6692
7a2afbbb
JJ
66932001-09-13 Jeff Johnston <jjohnstn@redhat.com>
6694
6695 * libc/stdlib/Makefile.am: Add support to build strtoll_r.c
6696 and strtoull_r.c.
6697 * libc/stdlib/Makefile.in: Regenerated.
6698 * libc/stdlib/strtoll_r.c: New file.
6699 * libc/stdlib/strtoull_r.c: New file.
6700 * libc/stdio/local.h: Add prototypes for long long string
6701 conversion routines.
6702 * libc/stdio/vfscanf.c (__svfscanf_r): Add optional long long support
6703 tied to %L integer conversion specifier.
6704
6342caa4
JJ
6705Thu Sep 13 08:49:49 2001 Jason Tishler <jason@tishler.net>
6706
6707 * strftime.c (strftime): Fix "%W" implementation to properly handle
6708 Mondays too.
6709
b2d319cb
JJ
67102001-09-07 Jeff Law <law@redhat.com>
6711
6712 * libc/sys/h8300hms/crt0.S: For H8/300H and H8/S, load address of
6713 __fini with "mov.l" instead of "mov.w".
6714
233823ba
CV
67152001-09-05 Corinna Vinschen <corinna@vinschen.de>
6716
6717 * libc/sys/cygwin/include/unistd.h: New file, wrapping sys/unistd.h
6718 and getopt.h.
6719
63c17b54
JJ
67202001-09-04 Jason Merrill <jason_merrill@redhat.com>
6721
6722 * libc/sys/h8300hms/crt0.S: Support ELF initialization.
6723
a3e67ddf
CV
67242001-09-03 Corinna Vinschen <corinna@vinschen.de>
6725
6726 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number
6727 field.
6728 (__DIRENT_VERSION): New define.
6729
6d47f33a
CV
67302001-09-03 Corinna Vinschen <corinna@vinschen.de>
6731
6732 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add `d_fd' member.
4f79e37e
CV
6733 Shrink __d_reserved accordingly to keep structure size.
6734 (dirfd): Declare external.
6d47f33a 6735
348c5e06
JJ
67362001-08-29 Joel Sherrill <joel@OARcorp.com>
6737
6738 * libc/include/sys/unistd.h: Prototype chroot() for RTEMS.
6739
67402001-08-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
6741
6742 * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S,
6743 libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c,
6744 libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S,
6745 libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S,
6746 libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S,
6747 libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S,
6748 libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c,
6749 libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S:
6750 Add conditional compilation to avoid HW FPU instructions
6751 when compiled for soft-float.
6752
f29865c5
JJ
67532001-08-29 Jeff Johnston <jjohnstn@redhat.com>
6754
6755 * Makefile.am: Add check for ln failing when creating libg.a
6756 so that cp gets used as a backup.
6757 * Makefile.in: Regenerated.
6758
9e2a4ef8
JJ
67592001-08-29 Jeff Johnston <jjohnstn@redhat.com>
6760
6761 * libc/include/sys/reent.h: Add include of <sys/_types.h>.
6762 No longer include time.h. Add struct __tm to use for
6763 _localtime_buf in the reentrant structure. Add a
6764 _NULL definition to use in initializing the reentrant struct.
6765 * libc/include/sys/config.h: For CYGWIN32 and RTEMS, change
6766 the _READ_WRITE_RETURN_TYPE to _ssize_t which is found in
6767 <sys/_types.h>.
6768 * libc/include/sys/unistd.h: Include <sys/_types.h>.
6769 * libc/time/lcltime.c (localtime): Cast the reentrant struct
6770 _localtime_buf to be struct tm *.
6771
1ae900d6
JR
6772Wed Aug 29 14:17:38 2001 J"orn Rennecke <amylaar@redhat.com>
6773
6774 * configure.host (h8300-*-elf*, h8500-*-elf*): New cases.
6775 * libc/sys/h8300hms/crt1.c (__main): Don't reference __ctors /
6776 __ctors_end.
6777 * libc/sys/h8300hms/syscalls.c: Include errno.h.
6778 (_unlink): New stub function.
6779
8e26d5b5
CF
6780Sat Aug 25 22:22:25 2001 Christopher Faylor <cgf@cygnus.com>
6781
6782 * libc/include/sys/errno.h: Add a cautionary comment.
6783
e8267664
JJ
67842001-08-21 Jeff Johnston <jjohnstn@redhat.com>
6785
6786 * libc/stdlib/mallocr.c [!defined(MALLOC_ALIGNMENT)]: Add conditional
6787 for SIZE_SZ so that alignment ends up a minimum of 8.
6788
4acf3edf
CF
6789Mon Aug 13 22:26:01 2001 Christopher Faylor <cgf@cygnus.com>
6790
6791 * libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro
6792 arguments.
6793
6794 * libc/include/sys/errno.h: Declare sys_errlist and sys_nerr, under
6795 Cygwin.
6796
52c80be8
JJ
67972001-08-13 Jeff Johnston <jjohnstn@redhat.com>
6798
6799 * libc/include/malloc.h (M_MXFAST, M_NLBLKS, M_GRAIN, M_KEEP): New
6800 macro constants for mallopt options.
6801 (M_TRIM_THRESHOLD, M_TOP_PAD, M_MMAP_THRESHOLD, M_MMAP_MAX): Ditto.
6802
a7061f7f
JJ
68032001-08-02 Jeff Johnston <jjohnstn@redhat.com>
6804
6805 * libc/include/stdio.h (BUFSIZ): Define to __BUFSIZ__ if provided,
6806 otherwise default.
6807
0b4bfdd5
AH
68082001-07-12 Aldy Hernandez <aldyh@redhat.com>
6809
6810 * libc/machine/mips/setjmp.S: Allow mips16 and mips64 to coexist.
6811
2b6b730c
NC
68122001-06-27 Nick Clifton <nickc@cambridge.redhat.com>
6813
6814 * libc/include/machine/ieeefp.h (__IEEE_BYTES_LITTLE_ENDIAN):
6815 Define for little endian ARMs.
6816
6817 * libc/stdlib/mprec.h (Storeinc): Use little endian version if
6818 __IEEE_BYTES_LITTLE_ENDIAN is defined.
6819
25842b68
JJ
68202001-06-11 Danny Smith <dannysmith@users.sourceforge.net>
6821
6822 * /libc/include/ctype.h (is* and to* macros): Do not define if C++.
6823
371b76ef
JJ
68242001-06-11 Egor Duda <deo@logos-m.ru>
6825
6826 * libc/ctype/ctype_.c: When compiled with gcc on platforms
6827 with signed char, make _ctype_[-128] ... _ctype[-1] refer to
6828 initialized memory region. Platform can define COMPACT_CTYPE
6829 to avoid allocation of the additional 128 bytes of data.
6830 Add pointer to _ctype_ array. Always initialize all _ctype_
6831 array elements.
6832
43b44bc5
JL
68332001-06-08 Jonathan Larmour <jlarmour@redhat.com>
6834
6835 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencing
6836 NULL pointer.
6837
188bc140
NC
68382001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
6839
6840 * libc/stdio/vfprintf.c (_VFPRINTF_R): Handle printf ("%#.0o",0)
6841
2ce88418
NC
68422001-05-25 Nick Clifton <nickc@cambridge.redhat.com>
6843
6844 * libc/machine/xscale/memcmp.c: Fix bug when both pointers have
6845 matching, non-word alignment, and the length is <= 4 but more than
6846 enough to move them over a word boundary.
6847 Add comments explaining what each instruction does.
6848
ca60ed47
CF
6849Mon May 7 20:39:25 2001 Christopher Faylor <cgf@cygnus.com>
6850
6851 * libc/include/sys/stat.h: Revert March 3, Cygwin change.
c63e9997 6852 * libc/include/sys/unistd.h: Ditto.
ca60ed47 6853
8b3bcfba
JJ
68542001-05-04 Earnie Boyd <earnie@users.sourceforge.net>
6855
6856 * libc/string/strrchr.c: Use strchr for the speed improvements.
6857
b09e3cf8
JJ
68582001-05-01 Jeff Johnston <jjohnstn@redhat.com>
6859
6860 * libc/stdio/findfp (__sinit)[HAVE_FCNTL]: For platforms that have
6861 real file systems, let __smakebuf() determine if line buffering
6862 should be used for stdout.
6863
0ca66974
JJ
68642001-04-27 Jeff Johnston <jjohnstn@redhat.com>
6865
6866 * libc/stdio/vfscanf.c (__svfscanf_r): Initialize new_exp local var.
6867
7cb7017a
JJ
68682001-04-27 Jeff Johnston <jjohnstn@redhat.com>
6869
6870 * libc/include/stdlib.h: Add prototype for _strtod_r.
6871
a874cd21
JJ
68722001-04-24 Charles Wilson <cwilson@ece.gatech.edu
6873
6874 * libc/stdio/vprintf.c (vprintf): fix signature to use _DEFUN
6875 * libc/stdio/vprintf.c (_vprintf_r): new function
6876 * libc/stdio/vsnprintf.c (vsnprintf): fix signature to use _DEFUN
6877 * libc/stdio/vsnprintf.c (_vsnprintf_r): fix signature to use
6878 _DEFUN, and call _vfprintf_r, not vfprintf.
6879 * libc/stdio/vsprintf.c (vsprintf.c): fix signature to use _DEFUN
6880 * libc/stdio/vsprintf.c (_vsprintf_r): fix signature to use
6881 _DEFUN, and call _vfprintf_r, not vfprintf.
6882
cb4cc283
CF
68832001-04-22 Earnie Boyd <earnie@users.sourceforge.net>
6884
6885 * libc/include/sys/unistd.h [X_OK]: Use better protection against
6886 Cygwin X_OK definitions in sys/file.h.
6887
8c9df1d5
CF
6888Fri Apr 20 23:17:51 2001 Christopher Faylor <cgf@cygnus.com>
6889
6890 * libc/include/sys/time.h: Define timercmp and other macros for
6891 __CYGWIN__, too.
6892
3ac6f3a7
JJ
68932001-04-20 Jeff Johnston <jjohnstn@redhat.com>
6894
6895 * acinclude.m4: Added --enable-malloc-debugging configure flag.
6896 * configure.host: For Cygwin specify -DMALLOC_PROVIDED if
6897 --enable-malloc-debugging selected.
6898 * aclocal.m4 configure: Regenerated.
6899 libm/aclocal.m4 libm/configure: Ditto.
6900 * libc/aclocal.m4 libc/configure: Ditto.
6901 * libc/machine/aclocal.m4 libc/machine/configure: Ditto.
6902 * libc/machine/*/aclocal.m4 libc/machine/*/configure: Ditto.
6903 * libc/sys/aclocal.m4 libc/sys/configure: Ditto.
6904 * libc/sys/*/aclocal.m4 libc/sys/*/configure: Ditto.
6905 * doc/aclocal.m4 doc/configure: Ditto.
6906
52cb9e69
JJ
69072001-04-20 Jeff Johnston <jjohnstn@redhat.com>
6908
6909 * libc/include/stdio.h[!_REENT_ONLY]: Moved various functions together
6910 into one list.
6911 [!__STRICT_ANSI__]: Moved non-ANSI I/O functions in this list.
6912 (vfscanf, vscanf, vsscanf, _vfscanf_r, _vscanf_r, _vsscanf_r): New
6913 function prototypes.
6914 (_fscanf_r, _sscanf_r): Ditto.
6915 * libc/include/stdlib.h: Added _strtod_r prototype.
6916 * libc/stdio/Makefile.am: Add new v*scanf functions.
6917 * libc/stdio/Makefile.in: Regenerate.
6918 * libc/stdio/fscanf.c: Reorganized so HAVE_STDC only affects prototype
6919 and code is shared. Added reentrant _fscanf_r which calls __svfscanf_r.
6920 * libc/stdio/scanf.c: Changed to call __svfscanf_r.
6921 * libc/stdio/sscanf.c: Changed documentation to add reentrant routines.
6922 (sscanf): Changed to call __svfscanf_r with _REENT argument.
6923 (_sscanf_r): New routine.
6924 * libc/stdio/local.h: Removed __svfscanf prototype and replaced it
6925 with __svfscanf_r prototype.
6926 * libc/stdio/vfscanf.c (vfscanf, _vfscanf_r: New
6927 routines.
6928 (__svfscanf_r): Reentrant version of __svfscanf which takes reetrancy
6929 structure as argument as calls reentrant versions of helper functions
6930 (e.g. _strtol_r, _strtoul_r). Also replaced calls to atol and atof
6931 to _strtol_r and _strtod_r respectively.
6932 * libc/stdio/vfscanf.c: Also changed __svfscanf to call __svfscanf_r.
6933 * libc/stdlib/strtod.c (strtod): Changed to call _strtod_r with
6934 _REENT argument.
6935 * libc/stdio/vscanf.c: New file.
6936 * libc/stdio/vsscanf.c: Ditto.
6937
ee9f39fb
JJ
69382001-04-19 Robert Collins <rbtcollins@hotmail.com>
6939
6940 * include/time.h[__CYGWIN__]: Define tzname to _tzname if not defined.
6941 Define daylight to _daylight if it is not defined
6942 Prepare a variable export of timezone based on timezonevariable.
6943 (Cannot be used with the timezone() function.)
6944
273861e3
JJ
69452001-04-17 Stephen L. Moshier <moshier@moshier.ne.mediaone.net>
6946
6947 * newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi):
6948 Correct the numerical values.
6949
a25b8414
CF
69502001-04-13 Robert Collins <rbtcollins@hotmail.com>
6951
6952 * libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only).
6953
b8a8c59d
CV
6954Thu Apr 12 23:11:00 2001 Corinna Vinschen <corinna@vinschen.de>
6955
6956 * libc/include/sys/errno.h: Add ECASECLASH to indicate case clash
6957 on case insensitve file systems.
6958
74f8cc63
CF
69592001-04-12 Robert Collins <rbtcollins@hotmail.com>
6960
6961 * libc/include/sys/features.h: Add appropriate defines for Cygwin
6962 pthread support.
6963 * libc/include/sys/signal.h: Remove unneeded __CYGWIN__ protection.
6964 * libc/include/sys/types.h: Protect __CYGWIN__ from the rtems pthreads
6965 types. Include <cygwin/types.h> for the cygwin specific typedefs.
6966
16740220
RS
69672001-04-04 Richard Sandiford <rsandifo@redhat.com>
6968
6969 * libc/include/machine/ieeefp.h: Comment about new configuration
6970 macros _FLT_LARGEST_EXPONENT_IS_NORMAL and _FLT_NO_DENORMALS.
6971 * libm/common/fdlib.h: Define new macros for testing floats.
6972 * libm/common/sf_*: Use them.
6973 * libm/math/ef_*: Likewise.
6974 * libm/math/sf_*: Likewise.
6975
0694d8d3
JJ
69762001-03-29 Jeff Johnston <jjohnstn@redhat.com>
6977
6978 * libc/sys/arm/setjmp.S: Added .code 16 specifier for thumb-mode
6979 prolog to by-pass possible assembler error.
6980
4833b38c
JJ
69812001-03-21 Egor Duda <deo@logos-m.ru>
6982
6983 Allow building internal stubs for non-reentrant syscalls
6984 if target provides its own malloc
6985 * libc/reent/reent.c (errno): Move definition here.
6986 * libc/reent/sbrkr.c: From here.
6987
d17d6d42
CF
69882001-03-20 Danny Smith <dannysmith@users.sourceforge.net>
6989
6990 * libc/include/sys/types.h (BSD int typedefs): Guard with
6991 _BSDTYPES_DEFINED rather than _WINSOCK_H.
6992 (fd_set): Add !defined __USE_W32_SOCKETS to guard; define
6993 _SYS_TYPES_FD_SET.
6994 * libc/include/sys/unistd.h (gethostname): Don't declare if defined
6995 (_WINSOCK_H) || defined (__USE_W32_SOCKETS).
6996
c7ee75cd
CV
6997Sat Mar 17 18:30:00 2001 Corinna Vinschen <corinna@vinschen.de>
6998
6999 * libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS and
7000 _PC_POSIX_SECURITY constants for Cygwin.
7001
63dc5d80
CV
7002Wed Mar 14 9:34:00 2001 Corinna Vinschen <corinna@vinschen.de>
7003
7004 * libc/sys/cygwin/crt0.c: Add copyright hint.
7005 * libc/sys/cygwin/sys/dirent.h: Ditto.
7006 * libc/sys/cygwin/sys/param.h: Ditto.
7007 * libc/sys/cygwin/sys/utime.h: Ditto.
7008 * libc/sys/cygwin/sys/utmp.h: Ditto.
7009
6f637037
AO
70102001-03-13 Alexandre Oliva <aoliva@redhat.com>
7011
7012 * libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make it
7013 equivalent to LONGINT.
7014
e69b6f73
JJ
70152001-03-08 Richard Sandiford <rsandifo@redhat.com>
7016
7017 * (libc/include/machine/setjmp.h): Use 23 long long ints for a
7018 jmpbuf on MIPS64 targets.
7019 * (libc/machine/mips/setjmp.S): Add MIPS64 version.
7020
6198dece
CF
7021Wed Mar 7 16:02:07 2001 Christopher Faylor <cgf@cygnus.com>
7022
e69b6f73
JJ
7023 * libc/include/sys/config.h: Use ssize_t for Cygwin read/write
7024 declarations.
6198dece 7025
cfc05d96
JJ
7026Mon Mar 5 21:48:54 2001 J"orn Rennecke <amylaar@redhat.com>
7027
7028 * libc/include/sys/config.h (_READ_WRITE_RETURN_TYPE): Define.
7029 For RTEMS, define to be ssize_t. Default to int if not defined.
7030 * libc/stdio/sscanf.c (eofread): Return _READ_WRITE_RETURN_TYPE.
7031 * libc/stdio/stdio.c (__sread, __swrite): Likewise.
7032 * libc/stdio/local.h (__sread, __swrite): Likewise.
7033 * libc/include/sys/reent.h (_read, _write): Likewise.
7034 * libc/include/sys/unistd.h (read, write, _read, _write): Likewise.
7035 * libc/syscalls/sysread.c (read): Likewise.
7036 * libc/syscalls/syswrite.c (write): Likewise.
7037
6249353a
JJ
70382001-03-05 Jeff Johnston <jjohnstn@redhat.com>
7039
7040 * libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants.
7041
658b5db9
CF
7042Sat Mar 3 00:34:14 2001 Christopher Faylor <cgf@cygnus.com>
7043
7044 * libc/include/sys/stat.h: Use special defines for executable stat bits
7045 when compiling for Cygwin.
7046 * libc/include/sys/unistd.h: Use special define for X_OK when compiling
7047 for Cygwin.
7048
19ca46d5
JJ
70492001-03-02 Jeff Johnston <jjohnstn@redhat.com>
7050
7051 * libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype
7052 of strtok_r is always defined.
7053
b73ed85e
JJ
70542001-03-02 Jeff Johnston <jjohnstn@redhat.com>
7055
7056 * libc/include/machine/ansi.h: New dummy header file.
7057
ee37ede1
JJ
70582001-02-22 Jeff Johnston <jjohnstn@redhat.com>
7059
7060 * libc/include/machine/setjmp-dj.h: With DJ Delorie's permission,
7061 changed the copyright information to allow free modification of the
7062 file with no reference to "copying.dj".
7063 * libc/include/sys/stat-dj.h: Ditto.
7064 * libc/machine/i386/setjmp.S: Ditto.
7065 * libc/sys/h8300hms/sys/file.h: Ditto.
7066 * libc/sys/sysmec/access.c: Ditto.
7067 * libc/sys/sysnecv850/access.c: Ditto.
7068 * libc/stdio/mktemp.c: Fixed typo for the word copyright.
7069 * libc/stdlib/getenv_r.c: Ditto.
7070 * libc/stdlib/putenv_r.c: Ditto.
7071 * libc/stdlib/setenv_r.c: Ditto.
7072 * libc/stdlib/getenv.c: Removed DJ reference since any possible
7073 modifications will now be in the _r version of this file.
7074 * libc/stdlib/putenv.c: Ditto.
7075 * libc/stdlib/setenv.c: Ditto.
7076 * libc/sys/go32/copying.dj: Removed DJ's address which is no longer
7077 valid. Added a reference to DJ's web page that contains his address.
7078 * libc/sys/go32/*.s: Removed references to DJ's old address.
7079 * libc/sys/go32/*.c: Ditto.
7080 * libc/sys/go32/*.h: Ditto.
7081 * libc/sys/go32/*.S: Ditto.
7082 * libc/sys/go32/sys/*.h: Ditto.
7083
3a8fc0e4
JJ
70842001-02-21 Jeff Johnston <jjohnstn@redhat.com>
7085
7086 * libc/stdio/fdopen.c (fdopen): Protect calls to _fcntl() with
7087 HAVE_FCNTL flag check.
7088 * configure.host: Define HAVE_FCNTL for Cygwin, go32, RTEMS, sparc64,
7089 powerpcle, x86 netware, x86 sco, x86 Linux and Vxworks.
7090
b24ee749
CF
7091Thu Feb 15 01:39:51 2001 Christopher Faylor <cgf@cygnus.com>
7092
7093 * libc/include/sys/signal.h: Always include sys/types.h under Cygwin.
7094
ab4745dc
JJ
70952001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
7096
7097 * libc/include/stdlib.h: Add declarations of rand48 functions and
7098 their reentrant versions.
7099 * libc/include/sys/reent.h: Move macros from rand48.h. Add
7100 struct _rand48 for shared parameters of rand48 functions.
7101 (struct _reent): Add a variable _r48 of struct _rand48.
7102 (_REENT_INIT): Add _r48 initialization.
7103 * libc/stdlib/Makefile.am (lib_a_SOURCES): Add rand48 functions.
7104 (CHEWOUT_FILES): Add rand48.def.
7105 * libc/stdlib/Makefile.am: Add dependencies for rand48 functions.
7106 * libc/stdlib/Makefile.in: Regenerated.
7107 * libc/stdlib/drand48.c (drand48, _drand48_r): Derived from the
7108 NetBSD C library.
7109 * libc/stdlib/erand48.c (erand48, _erand48_r): Ditto.
7110 * libc/stdlib/jrand48.c (jrand48, _jrand48_r): Ditto.
7111 * libc/stdlib/lcong48.c (lcong48, _lcong48_r): Ditto.
7112 * libc/stdlib/lrand48.c (lrand48, _lrand48_r): Ditto.
7113 * libc/stdlib/mrand48.c (mrand48, _mrand48_r): Ditto.
7114 * libc/stdlib/nrand48.c (nrand48, _nrand48_r): Ditto.
7115 * libc/stdlib/seed48.c (seed48, _seed48_r): Ditto.
7116 * libc/stdlib/srand48.c (srand48, _srand48_r): Ditto.
7117 * libc/stdlib/rand48.c (__dorand48): Ditto.
7118 * libc/stdlib/rand48.h: Ditto, and modify declarations of global
7119 parameters into macros referring them in the reentrant structure.
7120
a34c461f
JJ
71212001-02-12 Jeff Johnston <jjohnstn@redhat.com>
7122
7123 * libc/include/sys/stat.h: Add mknod for Cygwin now that
7124 Cygwin definition has correct prototype.
7125
34f31ff2
JJ
71262001-02-08 Jeff Johnston <jjohnstn@redhat.com>
7127
7128 * libc/include/sys/stat.h: Must revert change for mknod
7129 for CYGWIN until winsup/cygwin/syscalls.cc changes mknod
7130 prototype.
7131
5336d6de
JJ
71322001-02-08 Jeff Johnston <jjohnstn@redhat.com>
7133
7134 * libc/include/stdio.h: Revert putw prototype.
7135
8915d10a
JJ
71362001-02-08 Edward M. Lee <tailbert@yahoo.com>
7137
7138 * libc/include/grp.h: add prototype for initgroups.
7139 * libc/include/stdio.h: fix prototype for putw.
7140 * libc/include/sys/signal.h: add prototype for killpg.
7141 * libc/include/sys/stat.h: enable mknod/lstat for CYGWIN.
7142 * libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp,
7143 vhangup and remove duplicate sysconf prototype.
7144
93ac4487
JJ
71452001-02-07 Jeff Johnston <jjohnstn@redhat.com>
7146
7147 * libc/sys/rtems/sys/types.h: Removed.
7148
31f5feea
JJ
71492001-02-05 Charles Wilson <cwilson@ece.gatech.edu>
7150
7151 * libc/include/locale.h: add LC_MESSAGES definition
7152
b5139f59
AO
71532001-02-01 Alexandre Oliva <aoliva@redhat.com>
7154
7155 * libc/sys/sh/sys/syscall.h (SYS_get_argc, SYS_get_argN_len,
7156 SYS_get_argN):
7157 * libc/sys/sh/syscalls.c (__setup_argv_for_main,
7158 __setup_argv_and_call_main): New.
7159
e29d8355
JJ
71602001-01-31 Jeff Johnston <jjohnstn@redhat.com>
7161
7162 * libc/include/stdio.h (FILENAME_MAX): Changed to use __FILENAME_MAX__
7163 if defined.
7164 (FOPEN_MAX): Changed to use __FOPEN_MAX__ if defined.
7165 (L_tmpnam): Changed to use __L_tmpnam__ if defined.
7166 * libc/include/sys/config.h: Changed to set __FILENAME_MAX__
7167 appropriately for Cygwin and RTEMS so not to exceed PATH_MAX.
7168
82ea92f3
CF
7169Mon Jan 29 23:03:06 2001 Christopher Faylor <cgf@cygnus.com>
7170
7171 * libc/stdlib/mallocr.c: Undefine windows preprocessor variables when
7172 compiling under Cygwin.
7173
3aaa66f8
JJ
71742001-01-29 Jeff Johnston <jjohnstn@redhat.com>
7175
7176 * libc/include/math.h (signgam): Change to errno-like solution
7177 using a function to return the address of the real signgam.
7178 * libc/reent/signgam.c: New file containing __signgam().
7179 * libc/reent/Makefile.am: Added signgam.c to list of files.
7180 * libc/reent/Makefile.in: Regenerated.
7181
610b895a
AO
71822001-01-25 Alexandre Oliva <aoliva@redhat.com>
7183
b0913397
AO
7184 * libc/sys/sh/syscalls.c (_times): New.
7185
610b895a
AO
7186 * configure.host (sh*-*-*): Add -DHAVE_GETTIMEOFDAY to newlib_cflags.
7187 * libc/sys/sh/syscalls.c (_gettimeofday): New.
7188
3643210e
JJ
71892001-01-23 Jeff Johnston <jjohnstn@redhat.com>
7190
7191 * libc/include/math.h (signgam): Regress previous fix as
7192 it does not handle programs with extern int signgam in them.
7193
841081c9
JJ
71942001-01-23 Jeff Johnston <jjohnstn@redhat.com>
7195
7196 * libc/include/math.h (signgam): Changed to a macro refering to
7197 its location in the reentrant structure.
7198
e9cd87b8
JJ
71992001-01-23 Jeff Johnston <jjohnstn@redhat.com>
7200
7201 * libc/stdio/vfprintf.c (_VFPRINTF_R): Modification to fix
7202 that suppressed . for %.0f, 0.1. Check now looks if there
7203 are padding zeroes (expt) in addition to any digits (ndig) to
7204 print.
7205
a302b48c
JJ
72062001-01-18 Jeff Johnston <jjohnstn@redhat.com>
7207
7208 * libc/sys/arc/Makefile.am: New file.
7209 * libc/sys/arc/Makefile.in: Ditto.
7210 * libc/sys/arc/aclocal.m4: Ditto.
7211 * libc/sys/arc/configure: Ditto.
7212 * libc/sys/arc/configure.in: Ditto.
7213 * libc/sys/arc/crt0.S: Ditto.
7214 * libc/sys/arc/isatty.c: Ditto.
7215 * libc/sys/arc/mem-layout.c: Ditto.
7216 * libc/sys/arc/sbrk.c: Ditto.
7217 * libc/sys/arc/syscalls.c: Ditto.
7218 * libc/sys/arc/sys/syscall.h: Ditto.
7219
d0319c3b
CF
7220Wed Jan 17 23:20:56 2001 Christopher Faylor <cgf@cygnus.com>
7221
7222 * libc/include/sys/unistd.h: Use correct declaration for setdtablesize.
7223
e45ab890
CF
7224Fri Jan 12 00:34:31 2001 Christopher Faylor <cgf@cygnus.com>
7225
7226 * libc/include/sys/signal.h: Add some SA_* defines for Cygwin.
7227
1376245a
DD
7228Thu Jan 11 20:42:06 2001 Earnie Boyd <earnie_boyd@yahoo.com>
7229
7230 * libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__
7231
92b57543
NC
72322001-01-09 Nick Clifton <nickc@redhat.com>
7233
7234 * configure.host (v859): Remove unsupported compiler options.
7235
7d6d33d4
JJ
7236Fri Jan 5 19:57:00 EST 2001 Aaron J. Grier <aaron@frye.com>
7237
7238 * src/newlib/configure.host (*-*-rtems*): add printf long long
7239 support for RTEMS.
7240
602f8b5a 72412000-12-19 Graham Stott <grahams@redhat.com>
6286746a
NC
7242
7243 * libc/machine/xscale/memcmp.c (memcmp): Add clobber for "lr".
7244
9c2b8183
JJ
7245Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
7246
7247 * configure.host: Turn on long double I/O for Cygwin.
7248
804368d3
JJ
7249Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
7250
7251 * MAINTAINERS: Removed Ranjith.
7252 * NEWS: Updated for 1.9.0.
7253 * README: Updated.
7254 * acinclude.m4: Updated to release 1.9.0.
7255 * aclocal.m4 configure
7256 doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
7257 libc/machine/aclocal.m4 libc/machine/configure
7258 libc/machine/a29k/aclocal.m4 libc/machine/a29k/configure
7259 libc/machine/arm/aclocal.m4 libc/machine/arm/configure
7260 libc/machine/d10v/aclocal.m4 libc/machine/d10v/configure
7261 libc/machine/d30v/aclocal.m4 libc/machine/d30v/configure
7262 libc/machine/fr30/aclocal.m4 libc/machine/fr30/configure
7263 libc/machine/h8300/aclocal.m4 libc/machine/h8300/configure
7264 libc/machine/h8500/aclocal.m4 libc/machine/h8500/configure
7265 libc/machine/hppa/aclocal.m4 libc/machine/hppa/configure
7266 libc/machine/i386/aclocal.m4 libc/machine/i386/configure
7267 libc/machine/i960/aclocal.m4 libc/machine/i960/configure
7268 libc/machine/m32r/aclocal.m4 libc/machine/m32r/configure
7269 libc/machine/m68k/aclocal.m4 libc/machine/m68k/configure
7270 libc/machine/m88k/aclocal.m4 libc/machine/m88k/configure
7271 libc/machine/mips/aclocal.m4 libc/machine/mips/configure
7272 libc/machine/mn10200/aclocal.m4 libc/machine/mn10200/configure
7273 libc/machine/mn10300/aclocal.m4 libc/machine/mn10300/configure
7274 libc/machine/necv70/aclocal.m4 libc/machine/necv70/configure
7275 libc/machine/powerpc/aclocal.m4 libc/machine/powerpc/configure
7276 libc/machine/sh/aclocal.m4 libc/machine/sh/configure
7277 libc/machine/sparc/aclocal.m4 libc/machine/sparc/configure
7278 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
7279 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
7280 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
7281 libc/machine/xscale/aclocal.m4 libc/machine/xscale/configure
7282 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
7283 libc/sys/aclocal.m4 libc/sys/configure
7284 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
7285 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
7286 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
7287 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
7288 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
7289 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
7290 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
7291 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
7292 libc/sys/linux/aclocal.m4 libc/sys/linux/configure
7293 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
7294 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
7295 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
7296 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
7297 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
7298 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
7299 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
7300 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
7301 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
7302 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
7303 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
7304 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
7305 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
7306 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
7307 libm/aclocal.m4 libm/configure: Regenerated.
7308
0985d43f
CV
7309Wed Dec 13 11:52:00 2000 Corinna Vinschen <vinschen@cygnus.com>
7310
7311 * libc/include/sys/unistd.h: Add declarations for `chroot' and `getwd'
7312 when __CYGWIN__ is defined.
7313
b6182a09
JJ
73142000-12-13 Jeff Johnston <jjohnstn@redhat.com>
7315
7316 * libc/stdlib/ldtoa.c (_ldcheck): New routine
7317 that categorizes a long double as NaN, Infinity, or other.
7318 * libc/stdio/vfprintf.c [WANT_IO_LONG_DBL](_VFPRINTF_R): Removed
7319 isinfl and isnanl static routines which were i386-specific. Changed
7320 calls to the two removed routines to a single _ldcheck call.
7321 * libc/stdio/vfieeefp.h (ldieee): Fixed missing semi-colons.
7322
adbbb034
JJ
73232000-12-13 Jeff Johnston <jjohnstn@redhat.com>
7324
7325 * Makefile.am: Fixed install-data-local target to use
7326 $(mkinstalldirs) for the installed header files to ensure
7327 the directories exist before copying.
7328 * Makefile.in: Regenerated.
7329
cbd19336
JJ
73302000-12-12 Jeff Johnston <jjohnstn@redhat.com>
7331
7332 * libc/include/sys/unistd.h: Restored Cygwin _SC
7333 constants and moved new constants appropriately
7334 so Cygwin will build.
7335
8fb37963
JJ
73362000-12-11 Joel Sherrill <joel@OARcorp.com>
7337
7338 * Merge RTEMS specific .h files into main libc/include.
7339 * libc/sys/rtems/include/signal.h: Removed.
7340 * libc/sys/rtems/include/time.h: Removed.
7341 * libc/sys/rtems/sys/features.h: Removed.
7342 * libc/sys/rtems/sys/sched.h: Removed.
7343 * libc/sys/rtems/sys/siginfo.h: Removed.
7344 * libc/sys/rtems/sys/signal.h: Removed.
7345 * libc/sys/rtems/sys/time.h: Removed.
7346 * libc/sys/rtems/sys/times.h: Removed.
7347 definitions for time_t and clock_t since these are
7348 no longer in time.h.
7349 * libc/include/pthread.h: New file.
7350 * libc/include/sys/sched.h: New file.
7351 * libc/include/sys/features.h: New file.
7352 * libc/include/time.h: Removed duplicate definition of clock_t
7353 and time_t, get them from <sys/types.h> instead. Add prototypes
7354 for POSIX clock and timer functionality.
7355 * libc/sys/linux/sys/types.h: Changed to include
7356 * libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_.
7357 * libc/include/sys/signal.h: Add more complete set of POSIX
7358 signal functionality including real-time and threaded signals.
7359 * libc/include/sys/types.h: Add clock_t, time_t, struct
7360 timespec, and struct itimerspec. Centralizing these makes
7361 things cleaner. RTEMS uses 64-bit dev_t.
7362 Added numerous primitive definitions
7363 for pthreads including macros, pthread_attr_t,
7364 pthread_mutexattr_t, pthread_condattr_t, pthread_key_t,
7365 pthread_once_t, and pthread_t.
7366 * libc/include/sys/unistd.h: Added getlogin_r() prototype.
7367 If RTEMS follow POSIX on read(), write() and sbrk() prototype.
7368 Feature flags removed and moved to new file <sys/features.h>.
7369 Full set of POSIX sysconf() constants
7370
2efbc2a7
JJ
73712000-12-08 Werner Almesberger <Werner.Almesberger@epfl.ch>
7372
7373 * configure.host: Added x86 linux target.
7374 * libc/unix/getpass.c (_PATH_PASSWD, _PASSWORD_LEN): Default
7375 definitions provided if not already defined.
7376 * libc/sys/linux/crt0.c: New file.
7377 * libc/sys/linux/Makefile.am: Ditto.
7378 * libc/sys/linux/Makefile.in: Ditto.
7379 * libc/sys/linux/aclocal.m4: Ditto.
7380 * libc/sys/linux/brk.c: Ditto.
7381 * libc/sys/linux/configure: Ditto.
7382 * libc/sys/linux/configure.in: Ditto.
7383 * libc/sys/linux/getoptlong.c: Ditto.
7384 * libc/sys/linux/ids.c: Ditto.
7385 * libc/sys/linux/inode.c: Ditto.
7386 * libc/sys/linux/io.c: Ditto.
7387 * libc/sys/linux/linux.c: Ditto.
7388 * libc/sys/linux/process.c: Ditto.
7389 * libc/sys/linux/realpath.c: Ditto.
7390 * libc/sys/linux/select.c: Ditto.
7391 * libc/sys/linux/signal.c: Ditto.
7392 * libc/sys/linux/systat.c: Ditto.
7393 * libc/sys/linux/termios.c: Ditto.
7394 * libc/sys/linux/time.c: Ditto.
7395 * libc/sys/linux/wait.c: Ditto.
7396 * libc/sys/linux/include/alloca.h: Ditto.
7397 * libc/sys/linux/include/getopt.h: Ditto.
7398 * libc/sys/linux/include/stdint.h: Ditto.
7399 * libc/sys/linux/include/unistd.h: Ditto.
7400 * libc/sys/linux/sys/cdefs.h: Ditto.
7401 * libc/sys/linux/sys/dirent.h: Ditto.
7402 * libc/sys/linux/sys/errno.h: Ditto.
7403 * libc/sys/linux/sys/fcntl.h: Ditto.
7404 * libc/sys/linux/sys/file.h: Ditto.
7405 * libc/sys/linux/sys/ioctl.h: Ditto.
7406 * libc/sys/linux/sys/resource.h: Ditto.
7407 * libc/sys/linux/sys/signal.h: Ditto.
7408 * libc/sys/linux/sys/stat.h: Ditto.
7409 * libc/sys/linux/sys/syscall.h: Ditto.
7410 * libc/sys/linux/sys/termios.h: Ditto.
7411 * libc/sys/linux/sys/time.h: Ditto.
7412 * libc/sys/linux/sys/types.h: Ditto.
7413 * libc/sys/linux/sys/utmp.h: Ditto.
7414 * libc/sys/linux/sys/utsname.h: Ditto.
7415 * libc/sys/linux/sys/wait.h: Ditto.
7416
a08c98bb
JJ
74172000-12-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
7418
7419 * Makefile.am: $(INSTALL), $(INSTALL_DATA), and $(INSTALL_PROGRAM)
7420 can be a relative path to $(top_srcdir)/install.sh so ensure the
7421 autoconf detected settings are properly passed recursively.
7422 Similarly, add AM_MAKEFLAGS to FLAGS_TO_PASS so they also get passed
7423 properly to subdirectories.
7424 * Makefile.in: Regenerated.
7425
b294082c
JJ
74262000-12-07 Jay Kulpinski <jskulpin@eng01.gdds.com>
7427
7428 * libc/stdio/vfprintf.c: Minor modification to avoid requiring
7429 a floating point register unless really printing a floating
7430 point number.
7431
2005ab6b
JJ
74322000-12-07 Jeff Johnston <jjohnstn@redhat.com>
7433
7434 * libc/stdlib/ldtoa.c: Removed include of alloca.h.
7435 Also removed \r's.
7436 (asctoeg): Replaced alloca call with stack array and malloc
7437 when storage exceeds reasonable limit.
7438 (e53toe): Fixed einfin calls missing ldp parameter.
7439 (eiisinf): Hide behind check for LDBL_MANT_DIG == 64.
7440
9f6e8f1b
JJ
74412000-12-06 Jeff Johnston <jjohnstn@redhat.com>
7442
2005ab6b 7443
9f6e8f1b
JJ
7444 * libc/stdio/vfscanf.c: Fix typo for _NO_LONGDBL macro.
7445
6bdac416
JJ
74462000-12-06 Jeff Johnston <jjohnstn@redhat.com>
7447
7448 * libc/stdlib/Makefile.am: Added ldtoa.c to list of sources.
7449 * libc/stdlib/Makefile.in: Regenerated.
7450 * libc/stdio/floatio.h: Added suitable MAXEXP for long double.
7451 * libc/stdio/vfieeefp.h: Added long double bit structures.
7452 * libc/stdio/vfprintf.c[WANT_IO_LONG_DBL]: Added long double support.
7453 [WANT_IO_LONG_DBL](isinfl, isnanl): New static long double routines.
7454 (exponent): Changed expbuf to reasonable maximum instead of MAXEXP.
7455 * libc/stdio/vfscanf.c[WANT_IO_LONG_DBL]: Added long double support.
7456 * libc/stdlib/ldtoa.c: New file containing _ldtoa_r and
7457 _strtold routines used for conversions between character
7458 and long double.
7459
ec270d31
CV
7460Wed Dec 6 12:01:00 2000 Corinna Vinschen <vinschen@cygnus.com>
7461
7462 * libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'.
7463
db2d9549
JJ
74642000-12-04 Joel Sherrill <joel@OARcorp.com>
7465
7466 * libc/include/machine/time.h: RTEMS systems can configure clock
7467 tick rate so use sysconf() to ask.
7468
6ba54a15
JJ
74692000-12-04 Joel Sherrill <joel@OARcorp.com>
7470
7471 * libc/include/sys/times.h: Add reference to POSIX standard.
7472
8677b819
JJ
74732000-12-04 Joel Sherrill <joel@OARcorp.com>
7474
7475 * libc/include/sys/time.h: Added BSD timer manipulation macros
7476 used by RTEMS code.
7477
1b61a706
JJ
74782000-12-04 Joel Sherrill <joel@OARcorp.com>
7479
7480 * libc/sys/rtems/crt0.c: Add stubs for functions implicitly
7481 referenced by code generated by gcc 2.8.1.
7482 (a29k): Add stubs for V_SPILL, V_FILL, V_BSD_OS, V_EPI_OS to
7483 satisfy gcc.
7484
f5e7c124
JJ
74852000-12-04 Joel Sherrill <joel@OARcorp.com>
7486
7487 * libc/stdlib/system.c: Avoid compiling do_system() for RTEMS.
7488
768abc9c
JJ
74892000-12-04 Joel Sherrill <joel@OARcorp.com>
7490
7491 * libc/include/ieeefp.h: Added entries for OpenCores CPUs.
7492
9e5dd5ea
JJ
74932000-12-04 Joel Sherrill <joel@OARcorp.com>
7494
7495 * configure.host (or16, or32): New entries for OpenCores
7496 OpenRisc CPUs.
7497 (*-*-rtems*): Add -DNO_EXEC.
7498
768abc9c 74992000-12-04 Keith Outwater <vac4050@cae597.rsc.raytheon.com>
7713fb6f
JJ
7500
7501 * libc/include/sys/errno.h: Added comments on many error numbers.
7502 * libc/string/strerror.c: Added some more strings.
7503
b273323f
JJ
75042000-11-30 Jeff Johnston <jjohnstn@redhat.com>
7505
7506 * libc/sys/sh/syscalls.c (_link): New stub.
7507
0ffc3b94
NC
75082000-11-29 Nick Clifton <nickc@redhat.com>
7509
7510 * configure.host: Add xscale target.
7511 * libc/machine/xscale: New directory.
7512 * libc/machine/xscale/Makefile.am: New file.
7513 * libc/machine/xscale/Makefile.in: New file.
7514 * libc/machine/xscale/aclocal.m4: New file.
7515 * libc/machine/xscale/configure: New file.
7516 * libc/machine/xscale/configure.in: New file.
7517 * libc/machine/xscale/memchr.S: New file.
7518 * libc/machine/xscale/memcmp.S: New file.
7519 * libc/machine/xscale/memcpy.S: New file.
7520 * libc/machine/xscale/memmove.S: New file.
7521 * libc/machine/xscale/memset.S: New file.
7522 * libc/machine/xscale/strchr.S: New file.
7523 * libc/machine/xscale/strcmp.S: New file.
7524 * libc/machine/xscale/strcpy.S: New file.
7525 * libc/machine/xscale/strlen.S: New file.
7526
cbbf0f96
CV
7527Sat Nov 25 11:24:00 2000 Corinna Vinschen <vinschen@cygnus.com>
7528
7529 * libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro to
7530 avoid compiler warnings.
7531
73dea790
MM
75322000-11-22 Michael Meissner <meissner@redhat.com>
7533
7534 * libc/posix/execl.c (execl): Don't reference environ directly,
7535 reference it only via a static pointer to avoid problems with some
7536 shared library systems and with different uses of small data where
7537 the user specifies his own version of environ.
7538 * libc/posix/execv.c (execv): Ditto.
7539 * libc/stdlib/getenv_r.c (_findenv_r): Ditto.
7540 * libc/stdlib/setenv_r.c (_setenv_r,_unsetenv_r): Ditto.
7541 * libc/stdlib/system.c (system, !cygwin32 case): Ditto.
7542
7543 * libc/stdlib/getenv.c (environ): Delete unused reference to
7544 environ.
7545
7546 * libc/stdlib/getenv_r.c: Make initial comment friendlier to emacs
7547 colorization.
7548 * libc/stdlib/system.c: Ditto.
7549
08eac2ae
CF
7550Tue Nov 21 20:32:21 2000 Christopher Faylor <cgf@cygnus.com>
7551
7552 * libc/sys/cygwin/sys/dirent.h: Change definition to avoid necessity of
7553 including windows headers.
7554
5478bf37
JJ
75552000-11-20 Jeff Johnston <jjohnstn@redhat.com>
7556
7557 * libc/include/sys/unistd.h: Removed definition of MAXNAMLEN.
7558 * libc/include/dirent.h: Added definition of MAXNAMLEN if
7559 not defined by sys/dirent.h.
7560 * libc/posix/execvp.c: Added include of dirent.h to get
7561 MAXNAMLEN value which used to be in unistd.h.
7562
3a760728
CV
7563Mon Nov 6 12:56:00 2000 Corinna Vinschen <vinschen@cygnus.com>
7564
7565 * libc/include/sys/types.h: Change type of i to `size_t' in
7566 FD_ZERO macro to avoid compiler warnings.
7567
86fff69f
CF
7568Sun Oct 29 20:06:41 2000 Christopher Faylor <cgf@cygnus.com>
7569
7570 * libc/include/stdlib.h: Avoid declaring cfree under Cygwin.
7571 * libc/include/malloc.h: Ditto. Also remove obsolete declaration.
7572
ba9e88d2
CV
7573Tue Oct 24 20:16:00 2000 Corinna Vinschen <vinschen@cygnus.com>
7574
7575 * libc/include/sys/unistd.h: Add defines for sysconf values
7576 _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and
7577 _SC_AVPHYS_PAGES.
7578
a8018ef3
CF
7579Mon Oct 9 20:26:33 2000 Christopher Faylor <cgf@cygnus.com>
7580
7581 * libc/include/sys/unistd.h: Add getdtablesize and setdtablesize
7582 declarations for __CYGWIN__.
7583
b944c6f6
GK
75842000-09-19 Geoffrey Keating <geoffk@cygnus.com>
7585
7586 * libc/signal/signal.c (__sigtramp_r): ISO C requires
7587 case labels to be integral constant expressions, so
7588 use an if/else tree instead.
7589 (_raise_r): Likewise.
7590
7f18fcb4
JJ
75912000-09-13 Jeff Johnston <jjohnstn@redhat.com>
7592
7593 * libc/machine/v850/setjmp.S: Fixed tab problems caused by
7594 clipping patch from e-mail reader.
7595
242361df
JJ
75962000-09-13 Will Cohen <wcohen@redhat.com>
7597
7598 * libc/machine/v850/setjmp.S (_setjmp): Save r1 rather than r0.
7599 Added return value 0.
7600 (_longjmp): Allow longjmp to return value of second argument
7601 passed to it.
7602
8a8c59b9
JJ
76032000-09-06 Jeff Johnston <jjohnstn@redhat.com>
7604
7605 * libc/include/sys/types.h (FD_ZERO): Remove call to bzero and
7606 inline code to prevent having to include another header file.
7607
a385ae75
CF
7608Wed Sep 6 15:06:40 2000 Christopher Faylor <cgf@cygnus.com>
7609
7610 * Makefile.am: Fix space vs. tab problem in install-data-local.
7611 * Makefile.in: Regenerate.
7612
7613Wed Sep 6 13:49:51 2000 Christopher Faylor <cgf@cygnus.com>
7614
7615 * libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__.
7616 (_EXPARM): New macro for defining a function parameter.
7617 * libc/include/stdlib.h: Use _EXPARM.
7618 * libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
7619
a36cd013
JJ
76202000-09-05 Manfred Hollstein <manfredh@redhat.com>
7621
7622 * Makefile.am (install-data-local): Use optional $(DESTDIR) where
7623 required, as documented in the gnu coding standards.
7624 * Makefile.in: Regenerate.
7625
f825dfda
JJ
76262000-09-05 Jeff Johnston <jjohnstn@redhat.com>
7627
7628 * libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to
7629 make O_NDELAY and O_NONBLOCK have the same value.
7630
4ba9aab7
JJ
76312000-08-30 Kazu Hirata <kazu@hxi.com>
7632
7633 * libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.
7634
db7acc38
JJ
76352000-08-30 Werner Almesberger <Werner.Almesberger@epfl.ch>
7636
7637 * libc/posix/execve.c: included unistd.h for "_execve" prototype.
7638 * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed
7639 "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like
7640 everywhere else.
7641
44e36af4
GK
76422000-08-30 Geoffrey Keating <geoffk@cygnus.com>
7643
7644 * libc/string/swab.c: Specify that it's defined in <unistd.h>.
7645 * libc/include/string.h: Don't include <sys/types.h>,
7646 as it causes really bad namespace pollution. Don't declare
7647 swab(), it is properly declared in unistd.h.
7648
00a2f168
JJ
76492000-08-29 Werner Almesberger <Werner.Almesberger@epfl.ch>
7650
7651 * libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed
7652 (broken) support for non-existent /etc/passwd field "comment".
7653
6beeb240
JJ
76542000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
7655
7656 * libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen
7657 only if _DIRENT_HAVE_D_NAMLEN is defined.
7658 (alphasort): aligned prototype with
7659 libc/sys/cygwin/sys/dirent.h and simplified function body.
7660 * libc/posix/telldir.c (telldir): changed "telldir" prototype to
7661 long telldir (DIR *) as mentioned in annex B of POSIX.1
7662
ef44da42
JJ
76632000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
7664
7665 * libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type
7666 of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined;
7667 Added __CLI and __STI macros (controlled via
7668 _I386MACH_ALLOW_HW_INTERRUPTS macro).
7669 * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S
7670 libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S
7671 libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S
7672 libc/machine/i386/f_log.S libc/machine/i386/f_log10.S
7673 libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S
7674 libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S
7675 libc/machine/i386/memchr.S libc/machine/i386/memcmp.S
7676 libc/machine/i386/memcpy.S libc/machine/i386/memmove.S
7677 libc/machine/i386/memset.S libc/machine/i386/setjmp.S
7678 libc/machine/i386/strchr.S libc/machine/i386/strlen.S:
7679 (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol)
7680 for all global entry points.
7681 * libc/machine/i386/setjmp.S: removed code replicated in
7682 libc/machine/i386/i386mach.h and included i386mach.h instead;
7683 Use __CLI and __STI instead of cli and sti.
7684
14d3488d
DD
76852000-08-25 DJ Delorie <dj@redhat.com>
7686
7687 * libc/include/sys/unistd.h (environ): this one isn't from the
7688 DLL, no __IMPORT
7689
c9ca4412
CF
7690Fri Aug 25 13:37:11 2000 Christopher Faylor <cgf@cygnus.com>
7691
7692 * libc/stdlib/system.c (do_system): Eliminate explicit declaration of
7693 environ when compiling under cygwin since it is already declared in
7694 unistd.h.
7695
2d5862de
JJ
76962000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
7697
7698 * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
7699 like x << y-z to the equivalent x << (y-z).
7700 (d2b): changed if statements with assignment to perform the
7701 assignment prior to the if check.
7702 * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
7703 * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
7704 * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
7705 * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
7706 precedence.
7707 * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
7708 Added "_execve" prototype (for execl.c, execle.c, execv.c, and
7709 execve.c).
7710 * libc/posix/popen.c (popen): added parentheses to clarify && and ||
7711 precedence.
7712 * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
7713 clarify && and || precendence (and to remove pascalism).
7714 * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
7715 * libm/math/s_infconst.c: added another pair of braces to all
7716 initializers for __infinity (need three: for __infinity[1] array,
7717 for union __dmath, and for i[2]).
7718
0888fedd
JJ
77192000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
7720
199359f0
JJ
7721 * libc/stdlib/abort.c: changed description: uses "raise" instead of
7722 "getpid" and "kill"; added: uses "write" and "_exit".
7723 Also included unistd.h for "_exit" prototype.
7724 * libc/stdlib/system.c: included unistd.h for "execve" prototype,
7725 reent.h for "_fork_r" and "_wait_r" prototypes.
7726 (do_system): changed extern char *environ[] to POSIX-friendly
7727 extern char **environ.
7728 * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp"
7729 prototypes.
7730 * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype.
7731 * libc/reent/execr.c: included sys/wait.h for "wait" prototype.
7732 * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype.
7733 * libc/reent/openr.c: included fcntl.h for "open" prototype.
7734 * libc/reent/signalr.c: included signal.h for "kill" prototype,
7735 unistd.h for "getpid" prototype.
7736 * libc/reent/statr.c: included sys/stat.h for "stat" prototype.
7737 * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype.
7738 * libc/unix/getut.c (utmpname): removed local, incorrect "strdup"
7739 prototype. Also included stdlib.h for "abort", string.h for
7740 "strdup" and "strncmp" prototypes.
7741 * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and
7742 "strncpy", unistd.h for "read" and "close" prototypes.
7743 * libc/posix/execvp.c: included string.h for "strchr", "strlen", and
7744 "strcat" prototypes.
7745
77462000-08-23 Werner Almesberger <Wernen Almesberger@epfl.ch>
7747
0888fedd
JJ
7748 * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's
7749 used later (ifdef __SCLE)
7750 * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's
7751 used later (ifdef MB_CAPABLE)
7752 * libc/string/memset.c (memset): removed unused variables "count"
7753 and "unaligned_addr"
7754 * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and
7755 "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE)
7756 * libc/unix/getpwent.c (getpwnam): removed unused variables "uid"
7757 and "gid"
7758
a334e5ef
JJ
77592000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
7760
7761 * libc/stdlib/envlock.c: changed documented "__env_lock" and
7762 "__env_unlock" prototype from "void *" or "char *" to
7763 "struct _reent *" to match real function. Also added include
7764 of envlock.h.
7765 * libc/stdlib/mlock.c: changed documented "__malloc_lock" and
7766 "__malloc_unlock" prototype from "void *" or "char *" to
7767 "struct _reent *" to match real function.
7768 * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock"
7769 prototypes (for getenv_r.c and setenv_r.c).
7770
644b7f26
DD
77712000-08-22 Werner Almesberger <Werner.Almesberger@epfl.ch>
7772
7773 * libc/unix/getut.c (utmpname): added _CONST to reflect common use
7774 and prototype in cygwin's utmp.h
7775
5bacbf10
JJ
77762000-08-16 Eric Fifer <efifer@sanwaint.com>
7777
7778 * libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
7779
38a6bf98
NC
77802000-08-09 Nick Clifton <nickc@cygnus.com>
7781
7782 * libc/sys/arm/setjmp.S: Recode to clean up function prologues and
7783 epilogue and to allow the functions to be used in a Thumb based
7784 toolchain.
7785
befe0fb3
JJ
77862000-08-08 Jeff Johnston <jjohnstn@redhat.com>
7787
7788 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code
7789 so size of 0 results in nothing being written to string.
7790 Also fixed code so that when size is non-zero, there is only
7791 a maximum of size - 1 characters written to the array and
7792 a nul terminator is appended at the end.
7793 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
7794
749d9bcd
DD
77952000-08-01 DJ Delorie <dj@redhat.com>
7796
7797 * libc/include/sys/config.h: define __IMPORT appropriately
7798 * libc/include/ctype.h (_ctype_): use __IMPORT
7799 * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto
7800 * libc/include/math.h (__mb_cur_max): ditto
7801 * libc/include/time.h (_timezone, _daylight, _tzname): ditto
7802 * libc/include/unctrl.h (__unctrl, __unctrllen): ditto
7803 * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto
7804 * libc/include/unistd.h (environ): ditto
7805
7c110b17
MM
78062000-07-28 Michael Meissner <meissner@redhat.com>
7807
7808 * libc/include/math.h (__infinity): Declare as an array without
7809 bounds to get around small data support. Rewrite Cygwin support
7810 to be more general.
7811 * libm/math/s_infconst.c (__infinity): Ditto.
7812 * libm/mathfp/s_infconst.c (__infinity): Ditto.
7813
bf7be721
CF
7814Thu Jul 27 10:46:01 2000 Christopher Faylor <cgf@cygnus.com>
7815
7816 * libc/include/math.h: Use appropriate dll import linkage for
7817 __infinity under Cygwin.
7818
91a8d90b
DD
78192000-07-13 DJ Delorie <dj@cygnus.com>
7820
7821 * libc/stdio/vfprintf.c: pad 0.0 correctly with %e
7822
ba2048d3
JJ
7823Wed Jun 28 14:08:00 2000 Keith Walker <keith.walker@arm.com>
7824
7825 * libc/sys/arm/crt0.S (.LC30): Added missing length parameter
7826 to argument list for AngelSWI_Reason_GetCmdLine.
7827
4634da64
JJ
7828Tue Jun 27 15:49:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
7829
7830 * configure.host: Add support for AVR target.
7831 * libc/include/machine/ieeefp.h: Likewise.
7832 * libc/include/sys/config.h: Likewise.
7833
b19f72a2
RK
7834Thu Jun 22 18:35:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
7835
7836 * README: Newlib 1.8.2 must be built in a separate directory
7837 than the sources.
7838
a704d94a
JJ
7839Tue Jun 20 14:30:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
7840
7841 * libc/include/sys/reent.h (_rand_next): Added __extension__
7842 qualifier as long long type is not strict ANSI.
7843 * libc/stdlib/rand.c (rand): Added __extension__ qualifier
7844 to long long constant.
7845
b585720b
CV
7846Fri Jun 16 23:02:00 2000 Corinna Vinschen <corinna@vinschen.de>
7847
7848 * libc/include/sys/unistd.h: Add prototypes for `seteuid' and
7849 `setegid' provided by Cygwin.
7850
01c327ba
CV
7851Thu Jun 15 0:21:00 2000 Corinna Vinschen <corinna@vinschen.de>
7852
7853 * libc/stdio/fdopen.c: Take explicit given bin/textmode into
7854 account for Cygwin.
7855
46a43a99
JJ
7856Fri Jun 9 14:28:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
7857
7858 * libc/include/sys/reent.h (_rand_next): Changed to
7859 unsigned long long and moved to end of _reent struct in _new union.
7860 (_REENT_INIT): Changed to move _rand_next initialization.
7861 * libc/stdlib/rand.c (rand): Changed to use unsigned long long
7862 linear congruential algorithm that is used by DJGPP.
7863
a68078cb
RK
7864Thu Jun 8 21:18:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
7865
7866 * libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX.
7867 * libc/include/sys/config.h: Define __RAND_MAX.
7868
518882f3
JJ
7869Thu Jun 8 17:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
7870
7871 * libc/stdlib/rand_r.c: New algorithm that meets minimal
7872 standard.
7873
d51d968a
CF
7874Fri Jun 2 23:02:11 2000 Christopher Faylor <cgf@cygnus.com>
7875
7876 * libc/include/string.h: Work around problem with strsignal and gdb.
7877
d2dd5765
CF
7878Tue May 30 13:13:01 2000 Christopher Faylor <cgf@cygnus.com>
7879
7880 * libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__
7881 * libc/include/malloc.h: Ditto.
7882 * libc/include/process.h: Ditto.
7883 * libc/include/stdio.h: Ditto.
7884 * libc/include/stdlib.h: Ditto.
7885 * libc/include/time.h: Ditto.
7886 * libc/include/machine/setjmp.h: Ditto.
7887 * libc/include/sys/errno.h: Ditto.
7888 * libc/include/sys/signal.h: Ditto.
7889 * libc/include/sys/stat.h: Ditto.
7890 * libc/include/sys/time.h: Ditto.
7891 * libc/include/sys/unistd.h: Ditto.
7892 * libc/include/string.h: Ditto. strsignal should return a const char *.
7893
88870218
JJ
78942000-05-26 Marek Michalkiewicz <marekm@linux.org.pl>
7895
7896 * libm/common/s_expm1.c (expm1): Add curly braces, avoid warnings.
7897 * libm/common/s_log1p.c (log1p): Likewise.
7898 * libm/common/s_scalbn.c (scalbn): Likewise.
7899 * libm/math/e_log.c: Likewise.
7900 * libm/math/e_asin.c: Likewise.
7901 * libm/math/ef_asin.c: Likewise.
7902 * libm/math/e_j0.c (pzero, qzero): Remove redundant test.
7903 * libm/math/e_j1.c (pone, qone): Likewise.
7904 * libm/math/ef_j0.c (pzerof, qzerof): Likewise.
7905 * libm/math/ef_j1.c (ponef, qonef): Likewise.
7906 * libm/mathfp/e_j0.c (pzero, qzero): Likewise.
7907 * libm/mathfp/e_j1.c (pone, qone): Likewise.
7908 * libm/mathfp/ef_j0.c (pzerof, qzerof): Likewise.
7909 * libm/mathfp/ef_j1.c (ponef, qonef): Likewise.
7910
c4e1aa01
DD
79112000-05-19 DJ Delorie <dj@cygnus.com>
7912
7913 * libc/stdio/stdio.c (__stextmode): new, see if file is text mode
7914 (__sread): always read in binary mode
7915 (__swrite): always write in binary mode
7916 * libc/include/stdio.h: no getc/putc macros for cygwin; causes
7917 compatibility issues with different dll versions
7918 * libc/stdio/fopen.c: use __stextmode
7919 * libc/stdio/fdopen.c: ditto
7920 * libc/stdio/freopen.c: ditto
7921 * libc/stdio/findfp.c: set up __SCLE for std{in,out,err}
7922 * libc/stdio/local.h: declare __stextmode
7923
f4393261
DD
79242000-05-18 DJ Delorie <dj@cygnus.com>
7925
7926 * libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLE
7927
2b533fac
JJ
7928Mon May 15 18:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
7929
7930 * libc/include/ctype.h: Changed tolower and toupper macros
7931 to use __extension__ to prevent pedantic warnings.
7932
75362a76
RK
7933Mon May 15 14:26:00 2000 Joel Sherrill <joel@oarcorp.com>
7934
7935 * libc/sys/rtems/sys/time.h: Add macros for manipulating timeval
7936 structures.
7937
ec463fc7
JW
7938Wed May 10 19:24:53 2000 Jim Wilson <wilson@cygnus.com>
7939
7940 * libc/include/machine/ieeefp.h: Add ia64 support.
7941 * configure.host: Likewise.
7942
f35ceefa
JJ
7943Wed May 10 13:52:24 2000 Egor Duda <deo@logos-m.ru>
7944
7945 * libc/time/asctime_r.c (asctime_r): Change output format. Day of
7946 month is now padded with space, not zero. This now conforms to
7947 ANSI standard.
7948
b96fca8c
CV
7949Wed May 03 17:57:00 2000 Corinna Vinschen <corinna@vinschen.de>
7950
7951 * libc/include/sys/errno.h: Add define for ENOSHARE ("No such
7952 host or network path") used by cygwin. Add some comments.
7953
49d64538
JJ
7954Tue May 02 23:45:48 2000 DJ Delorie <dj@cygnus.com>
7955
7956 * libc/include/stdio.h (FILE): define __SCLE for "convert line
7957 endings" for Cygwin.
7958 (__sgetc): convert line endings if needed
7959 (__sputc): ditto
7960 * libc/stdio/fdopen.c (_fdopen_r): Remember if we opened in text mode
7961 * libc/stdio/fopen.c (_fopen_r): ditto
7962 * libc/stdio/freopen.c (freopen): ditto
7963 * libc/stdio/fread.c (fread): perform CRLF conversions if __SCLE
7964 * libc/stdio/fvwrite.c (__sfvwrite): ditto
7965
91fb1e7f
AO
7966Thu Apr 27 07:45:48 2000 Alexandre Oliva <aoliva@cygnus.com>
7967
7968 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Use
7969 post-increment when it is worth it, spacewise.
7970
c87be3e4
JJ
7971Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
7972
7973 * libc/signal/signal.c (_signal_r) : Removed unused local variable temp.
7974 * libc/stdio/findfp.c (std): Added declaration of flags and file.
7975 * libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int
7976 return type.
7977 * libc/stdio/putchar.c (putchar): Added return statement.
7978 * libc/stdio/refill.c (lflush): Added correct parentheses.
7979 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
7980 * libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which
7981 prints long value to use l qualifier.
7982 * libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning
7983 messages and initialized local values: ilim, ilim1, and spec_case.
7984 * libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp.
7985 * libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses.
7986 * libc/stdlib/mprec.c: Ditto.
7987 * libc/stdlib/setenv_r.c: Ditto.
7988 * libc/stdlib/strtod.c: Ditto.
7989 * libc/stdlib/strtol.c: Ditto.
7990 * libc/stdlib/strtoul.c: Ditto.
7991 * libm/common/sf_expm1.c: Added curly braces to if else clauses.
7992 * libm/common/sf_log1p.c: Ditto.
7993 * libm/common/sf_scalbn.c: Ditto.
7994 * libm/math/ef_log.c: Ditto.
7995
11f5b065
CV
7996Sun Apr 16 12:45:00 2000 Corinna Vinschen <corinna@vinschen.de>
7997
7998 * libc/posix/execvp.c (execvp): Check path for
7999 trailing slash.
8000
796e3b20
CV
8001Fri Mar 31 20:39:00 2000 Corinna Vinschen <corinna@vinschen.de>
8002
8003 * libc/include/sys/unistd.h: Add prototypes for
8004 fchmod, fchown, lchown.
8005
b489803a
JJ
8006Fri Mar 24 15:34:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
8007
8008 * acinclude.m4: Changed release to 1.8.2.
8009 * aclocal.m4 configure doc/aclocal.m4 doc/configure
8010 libc/aclocal.m4 libc/configure libc/machine/aclocal.m4
8011 libc/machine/configure libc/machine/a29k/aclocal.m4
8012 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
8013 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
8014 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
8015 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
8016 libc/machine/fr30/configure libc/machine/h8300/aclocal.m4
8017 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
8018 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
8019 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
8020 libc/machine/i386/configure libc/machine/i960/aclocal.m4
8021 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
8022 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
8023 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
8024 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
8025 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
8026 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
8027 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
8028 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
8029 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
8030 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
8031 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
8032 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
8033 libc/machine/v850/configure libc/machine/w65/aclocal.m4
8034 libc/machine/w65/configure libc/machine/z8k/aclocal.m4
8035 libc/machine/z8k/configure libc/sys/aclocal.m4
8036 libc/sys/aclocal.m4 libc/sys/configure
8037 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
8038 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
8039 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
8040 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
8041 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
8042 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
8043 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
8044 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
8045 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
8046 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
8047 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
8048 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
8049 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
8050 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
8051 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
8052 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
8053 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
8054 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
8055 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
8056 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
8057 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
8058 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
8059 libm/aclocal.m4 libm/configure: Regenerated.
8060
79908d67
NC
80612000-03-24 Nick Clifton <nickc@cygnus.com>
8062
8063 * libc/sys/arm/syscalls.c: Fix compile time warnings.
8064 (do_AngelSWI): Add "cc" to list o registers clobbered.
8065
7684ddaf
FN
8066Thu Mar 22 14:57:00 2000 Fernando Nasser <fnasser@redhat.com>
8067
8068 * libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid
8069 information to be clobbered by an Angel C library support syscall.
8070
b8ec20c8
JJ
8071Tue Mar 21 19:08:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
8072
8073 * libc/stdlib/envlock.c: Fixed comment typo.
8074
fae4c299
JJ
8075Fri Mar 17 15:37:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
8076
8077 * libc/stdio/vfscanf.c (__svfscanf): Fixed floating point
8078 code to update nread as each character is processed instead
8079 of using buffer contents which throw away leading zeroes.
8080
dc98804b
RK
8081Mon Mar 13 15:22:00 2000 Sergei Organov <osv@javad.ru>
8082
8083 * libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
8084
5ed2f523
JJ
8085Fri Mar 10 16:09:20 2000 Jeff Johnston <jjohnstn@cygnus.com>
8086
8087 * libc/include/string.h: Include <sys/types.h>.
8088
1cf0ee34
AO
8089Fri Mar 10 14:53:50 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8090
8091 * libc/stdio/putw.c (putw): Return 0 on success, to be compliant
8092 with XSH5, not SVID.
8093
e9c94978
JJ
8094Thu Mar 9 17:20:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
8095
8096 * libc/include/string.h: Changed last argument back to ssize_t
8097 to make it compatible with XPG4 definition which is
8098 defined in <unistd.h>. There is a conflict in the SVID 3
8099 and XPG4 definitions and newlib will settle with XPG4.
8100 * libc/string/swab.c: Ditto.
8101
3072163c
JJ
8102Wed Mar 8 17:11:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
8103
8104 * libc/include/string.h: Changed last argument to size_t.
8105 * libc/string/swab.c: Changed last argument to size_t.
8106
f205ea7a
AO
8107Wed Mar 8 00:46:41 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8108
8109 * libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.
8110 (CHEWOUT_FILES): Added unlinkr.def.
8111 * libc/reent/Makefile.in: Rebuilt.
8112 * libc/sys.tex: Include unlinkr.def.
8113 * libc/reent/linkr.c (_unlink_r): Moved to...
8114 * libc/reent/unlinkr.c: ... new file.
8115
85dd2e5b
AO
8116Wed Mar 8 00:43:07 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8117
8118 * libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.
8119 (CHEWOUT_FILES): Added swab.def.
8120 * libc/string/Makefile.in: Rebuilt.
8121 * libc/string/string.tex: Include swab.def.
8122 * libc/include/string.h (swab): Declare.
8123 * libc/string/swab.c: New file.
8124
c5053058
AO
8125Wed Mar 8 00:38:35 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8126
8127 * libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.
8128 (CHEWOUT_FILES): Added getw.def and putw.def.
8129 * libc/stdio/Makefile.in: Rebuilt.
8130 * libc/stdio/stdio.tex: Include getw.def and putw.def.
8131 * libc/stdio/getw.c: New file.
8132 * libc/stdio/putw.c: New file.
8133
dbaf37cf
JJ
8134Fri Feb 25 14:50:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
8135
8136 * libc/stdio/flags.c (__sflags): Added check that mode[1]
8137 is non-null before looking at mode[2].
8138
bc019ef2
RK
8139Thu Feb 24 11:43:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
8140
8141 * libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS.
8142 * libm/mathfp/sf_atan.c: Ditto.
8143
8144Thu Feb 24 11:39:00 2000 Joel Sherrill <joel@OARcorp.com>
8145
8146 * libc/include/sys/stat.h: Add RTEMS prototype for lstat.
8147
cd641b2d
RK
8148Tue Feb 22 14:37:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
8149
8150 * libm/mathfp/sf_exp.c: Corrected _DOUBLE_IS_32_BITS to be
8151 _DOUBLE_IS_32BITS.
8152
b0ba0ac2
JJ
8153Mon Feb 21 11:43:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
8154
8155 * libc/stdio/vfprintf.c (VFPRINTF): Added CHECK_INIT
8156 call prior to calling _VFPRINTF_R so reentrant data area is set.
8157 (_VFPRINTF_R): Removed now extraneous CHECK_INIT call.
8158
8a0efa53
CF
8159Thu Feb 17 01:42:50 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
8160
8161 * libc/stdio/vfscanf.c (limits.h): #include.
8162 (MAX_LONG_LEN): #define.
8163 (__svfscanf): Handle floating point numbers with arbitrary amounts
8164 of leading zeroes.
8165
81662000-02-15 Nick Clifton <nickc@cygnus.com>
8167
8168 * libc/sys/arm/syscalls.c (_fstat): Initialise all fields to
8169 zero. Set the blocksize to 1024/
8170
8171Thu Jan 20 18:57:00 2000 Fernando Nasser <fnasser@redhat.com>
8172
8173 * setvbuf.c (setvbuf): Set size to BUFSIZ when passed a zero size
8174 with line buffering.
8175
8176Mon Jan 10 18:43:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
8177
8178 * acinclude.m4: Changed include directory for winsup headers.
8179 * aclocal.m4 configure libc/aclocal.m4
8180 libc/configure libc/ctype/Makefile.in libc/errno/Makefile.in
8181 libc/locale/Makefile.in libc/machine/aclocal.m4
8182 libc/machine/configure libc/machine/a29k/aclocal.m4
8183 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
8184 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
8185 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
8186 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
8187 libc/machine/fr30/configure
8188 libc/machine/h8300/aclocal.m4
8189 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
8190 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
8191 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
8192 libc/machine/i386/configure libc/machine/i960/aclocal.m4
8193 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
8194 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
8195 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
8196 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
8197 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
8198 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
8199 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
8200 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
8201 libc/machine/powerpc/configure
8202 libc/machine/sh/aclocal.m4
8203 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
8204 libc/machine/sparc/configure
8205 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
8206 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
8207 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
8208 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
8209 libc/misc/Makefile.in libc/posix/Makefile.in
8210 libc/reent/Makefile.in
8211 libc/signal/Makefile.in
8212 libc/string/Makefile.in libc/sys/aclocal.m4 libc/sys/configure
8213 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
8214 libc/sys/arm/Makefile.in libc/sys/arm/aclocal.m4
8215 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
8216 libc/sys/cygwin/configure libc/sys/d10v/Makefile.in
8217 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
8218 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
8219 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
8220 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
8221 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
8222 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
8223 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
8224 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
8225 libc/sys/sh/Makefile.in libc/sys/sh/aclocal.m4
8226 libc/sys/sh/configure libc/sys/sparc64/aclocal.m4
8227 libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4
8228 libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4
8229 libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4
8230 libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4
8231 libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4
8232 libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4
8233 libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4
8234 libc/sys/tic80/configure libc/sys/w65/aclocal.m4
8235 libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4
8236 libc/sys/z8ksim/configure libc/syscalls/Makefile.in
8237 libc/time/Makefile.in libc/unix/Makefile.in libm/aclocal.m4
8238 libm/configure: Regenerated.
8239
8240Mon Jan 10 18:43:46 2000 Jeff Johnston <jjohnstn@cygnus.com>
8241
8242 * libc/stdlib/putenv_r.c (_putenv_r): New file.
8243 * libc/stdlib/strdup_r.c (_strdup_r): New file.
8244 * libc/include/string.h: Added _strdup_r.
8245 * libc/stdlib/putenv.c: Added call to reentrant version.
8246 * libc/stdlib/strdup.c: Ditto.
8247 * libc/stdlib/Makefile.am: Added _putenv_r and _unsetenv_r.
8248 * libc/include/stdlib.h: Ditto.
8249 * libc/stdlib/Makefile.in: Regenerated.
8250 * libc/string/Makefile.in: Regenerated.
8251 * libc/stdlib/setenv.c: Added reentrant version of unsetenv.
8252 * libc/stdlib/setenv_r.c: Added unsetenv_r and changed memory
8253 management calls to reentrant versions.
8254 * libc/stdlib/wcstombs.c: Added #ifndef _REENT_ONLY wrapper.
8255 * libc/stdlib/wctomb.c: Ditto.
8256 * libc/stdlib/mblen.c: Ditto.
8257 * libc/stdlib/mbstowcs.c: Ditto.
8258 * libc/stdlib/mbtowc.c: Ditto.
8259 * libc/stdlib/getenv.c: Ditto.
8260 * libc/reent/reent.tex: Added references to _putenv_r, _setenv_r,
8261 and _strdup_r.
8262
8263Thu Jan 6 15:33:46 2000 Christopher Faylor <cgf@cygnus.com>
8264
8265 patch from Corinna Vinschen <corinna@vinschen.de>
8266 * libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16.
8267
bc019ef2 8268Mon Jan 03 14:36:00 2000 Sergei Organov <osv@javad.ru>
8a0efa53
CF
8269
8270 * libm/mathfp/s_atangent.c: Fix exponent calculation.
8271 * libm/mathfp/s_ldexp.c: Ditto.
8272 * libm/mathfp/sf_atangent.c: Ditto.
8273 * libm/mathfp/sf_ldexp.c: Ditto.
8274
8275Tue Dec 14 5:42:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
8276
8277 * libc/machine/i960/setjmp.S: fix typo leaving .link_pix uncommented
8278 * libc/include/locale.h: define NULL to be 0.
8279
8280Tue Dec 7 15:41:45 1999 Jim Wilson <wilson@cygnus.com>
8281
8282 * libc/sys/sh/syscalls.c (stack_ptr): Move definition before first
8283 function.
8284
8285Wed Dec 1 17:39:29 1999 Jeffrey A Law (law@cygnus.com)
8286
8287 * libc/machine/mn10300/setjmp.S: Handle am33.
8288
82891999-11-26 Nick Clifton <nickc@cygnus.com>
8290
8291 * libc/sys/arm/syscalls.c: Add function prototypes.
8292 (stack_ptr): Move declaration before function definitions.
8293
8294Sat Nov 20 17:13:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
8295
8296 * NEWS: Updated version information.
8297 * README: Ditto.
8298
8299Tue Nov 09 12:19:21 1999 Jeff Johnston <jjohnstn@cygnus.com>
8300
8301 * libc/machine/i386/strchr.S: Fixed alignment test.
8302
8303Thu Oct 28 05:30:46 1999 Andrew Cagney <cagney@makita.cygnus.com>
8304
8305 * libc/sys/d10v/crt0.S (_start): Construct a real stack frame.
8306
8307Thu Oct 28 15:29:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
8308
8309 * libc/sys/d10v/crt0.S (_start): Initialize both SPI and SPU
8310 ensuring that there is space between the two.
8311
8312Thu Oct 14 13:39:21 1999 Christopher Faylor <cgf@cygnus.com>
8313
8314 * libc/stdio/flags.c: Conditionalize check for 't' for cygwin case
8315 only.
8316
83171999-10-08 Vadim Egorov <egorovv@1c.ru>
8318
8319 * libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin
8320 section
8321
8322Sat Oct 2 02:02:00 MEST 1999 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
8323
8324 * libc/machine/sh/asm.h: Added __SH4_SINGLE__ to DELAYED_BRANCHES
8325 * libc/machine/sh/memcpy.S: Fix line wrapping in SL macro
8326
8327Fri Oct 1 13:17:59 CDT 1999 <joel@OARcorp.com>
8328 * libc/include/grp.h: Added getgrnam_r and getgrgid_r prototypes
8329 per POSIX 1003.1b.
8330 * libc/include/pwd.h: Added getpwnam_r and getpwuid_r prototypes
8331 per POSIX 1003.1b.
8332
83331999-09-13 DJ Delorie <dj@cygnus.com>
8334
8335 * libc/stdio/mktemp.c (_gettemp): on cygwin, check for EACCESS
8336 also.
8337
8338Thu Sep 9 15:31:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
8339
8340 * setvbuf.c (setvbuf): When mallocing a buffer of size BUFSIZ,
8341 also note BUFSIZ as its size.
8342
8343Tue Sep 7 17:15:00 1999 Joel Sherrill <joel@OARcorp.com>
8344
8345 * configure.host: Corrected feature defines for RTEMS.
8346 * libc/include/sys/stat.h: Added protototype for RTEMS mknod.
8347 * libc/include/sys/stat.h: mkfifo() should take const path arg.
8348 * libc/include/sys/unistd.h: pathconf() should take const path arg.
8349 Enabled usleep(), ftruncate(), and truncate() prototypes for RTEMS.
8350 Added defines for _POSIX_JOB_CONTROL, _POSIX_SAVED_IDS, and
8351 _POSIX_VERSION for RTEMS. Added defines for _PC_ASYNC_IO,
8352 _PC_PRIO_IO, and _PC_SYNC_IO.
8353 * libc/machine/m68k/Makefile.am: Added strcpy.c and strlen.c.
8354 * libc/machine/m68k/Makefile.in: Regenerated.
8355 * libc/machine/m68k/strcpy.c: New file.
8356 * libc/machine/m68k/strlen.c: New file.
8357 * libc/stdio/tmpnam.c: Always make the returned name usable.
8358 * libc/sys/rtems/crt0.c: New version that passes all autoconf tests.
8359 * libc/sys/rtems/sys/dirent.h: New file.
8360 * libc/sys/rtems/sys/types.h: Added dev_t.
8361
8362Tue Sep 7 17:15:00 1999 Jay Kulpinski <jskulpin@eng01.gdds.com>
8363
8364 * libc/stdlib/mprec.c: Fixed unitialized variable problem.
8365
8366Fri Sep 3 12:35:20 1999 Jeff Johnston <jjohnstn@cygnus.com>
8367
8368 * libc/stdio/ftell.c (ftell): Backing off Joern's fix and
8369 my patch.
8370
8371Thu Sep 2 22:05:20 1999 Christopher Faylor <cgf@cygnus.com>
8372
8373 patch from Jeff Johnston <jjohnstn@cygnus.com>
8374 * libc/stdio/ftell.c (ftell): Avoid using buffer position when the
8375 buffer is not in a useful state.
8376
83771999-09-01 Nick Clifton <nickc@cygnus.com>
8378
8379 * libc/sys/arm/syscalls.c (_link): Add stub.
8380
8381Fri Aug 27 23:09:09 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
8382
8383 * ftell.c (ftell): Use actual position within buffer for text mode.
8384 * findfp.c (std): Initialize ptr->_bf._size.
8385
8386Wed Aug 18 18:48:02 1999 Christopher Faylor <cgf@cygnus.com>
8387
8388 * libc/include/sys/unistd.h: Add nice() declaration.
8389
83901999-08-09 Nick Clifton <nickc@cygnus.com>
8391
8392 * libc/sys/arm/crt0.S (change_mode): Rename to __change_mode and
8393 declare as a thumb function so that the disassembler will see the
8394 mode change.
8395
8396Thu Aug 5 17:37:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
8397
8398 * libc/reent/reent.tex: Updated list of reentrant functions.
8399
84001999-07-09 Michael Meissner <meissner@cygnus.com>
8401
8402 * libc/include/stdlib.h (_findenv{,_r}): Add prototypes.
8403
8404Tue Jul 6 10:46:24 1999 Jeff Johnston <jjohnstn@cygnus.com>
8405
8406 * libc/stdio/sprintf.c: Moved snprintf and _snprintf_r to
8407 separate file.
8408 * libc/stdio/snprintf.c: New file.
8409 * libc/stdio/vsprintf.c: Moved vsnprintf and _vsnprintf_r to
8410 separate file.
8411 * libc/stdio/vsnprintf.c: New file.
8412 * libc/stdio/Makefile.am: Added snprintf.c and vsnprintf.c.
8413 * libc/stdio/Makefile.in: Regenerated.
8414
8415Mon Jul 5 14:43:24 1999 Christopher Faylor <cgf@cygnus.com>
8416
8417 Patch submitted by Egor Duda <deo@logos-m.ru>:
8418 * libc/include/stdio.h: Add declarations for *nprintf.
8419 * libc/stdio/sprintf.c (snprintf): New function.
8420 (_snprintf_r): New function.
8421 * libc/stdio/vsprintf.c (vsnprintf): New function.
8422 (_vnsprintf_r): New function.
8423
8424Wed Jun 30 16:36:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
8425
8426 * libc/Makefile.am (stmp-targetdep): Remove extraneous blank.
8427 * libm/Makefile.am (stmp-targetdep): Ditto.
8428 * libc/Makefile.in: Regenerated.
8429 * libm/Makefile.in: Ditto.
8430
8431Fri Jun 25 10:49:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
8432
8433 * libc/Makefile.am (stmp-targetdep): Ignore "." in SUBDIRS.
8434 * libm/Makefile.am (stmp-targetdep): Ditto.
8435 * libc/Makefile.in: Regenerated.
8436 * libm/Makefile.in: Ditto.
8437
8438Thu June 03 16:25:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
8439
8440 * Makefile.am: Removed dependencies on all-recursive and added "."
8441 to the SUBDIRS list to prevent infinite recursion from occurring.
8442 Also removed any references to EXTRA_DATA.
8443 * libc/Makefile.am: Ditto.
8444 * libc/machine/Makefile.am: Ditto.
8445 * libc/machine/i386/Makefile.am: Ditto.
8446 * libm/Makefile.am: Ditto.
8447 * libc/sys/Makefile.am: Ditto.
8448 * Makefile.in: Regenerated.
8449 * aclocal.m4: Ditto.
8450 * configure: Ditto.
8451 * doc/Makefile.in: Ditto.
8452 * doc/aclocal.m4: Ditto.
8453 * doc/configure: Ditto.
8454 * libc/Makefile.in: Ditto.
8455 * libc/aclocal.m4: Ditto.
8456 * libc/configure: Ditto.
8457 * libc/machine/Makefile.in: Ditto.
8458 * libc/machine/aclocal.m4: Ditto.
8459 * libc/machine/configure: Ditto.
8460 * libc/machine/mn10300/Makefile.in: Ditto.
8461 * libc/machine/mn10300/aclocal.m4: Ditto.
8462 * libc/machine/mn10300/configure: Ditto.
8463 * libc/sys/Makefile.in: Ditto.
8464 * libc/sys/aclocal.m4: Ditto.
8465 * libc/sys/configure: Ditto.
8466 * libm/Makefile.in: Ditto.
8467 * libm/aclocal.m4: Ditto.
8468 * libm/configure: Ditto.
8469
8470Thu June 03 16:20:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
8471
8472 * libc/include/stdlib/stdlib.tex: Add link to env_lock.
8473
8474Fri May 28 17:09:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
8475
8476 * libc/include/stdlib.h: Add reentrant routines.
8477 * libc/stdlib/Makefile.am: Add reentrant routines.
8478 * libc/stdlib/Makefile.in: Ditto.
8479 * libc/stdlib/envlock.c: New file.
8480 * libc/stdlib/envlock.h: New file.
8481 * libc/stdlib/getenv.c: Modify to call reentrant routine.
8482 * libc/stdlib/getenv_r.c: New file.
8483 * libc/stdlib/mblen.c: Modify to call reentrant routine.
8484 * libc/stdlib/mblen_r.c: New file.
8485 * libc/stdlib/setenv.c: Modify to call reentrant routine.
8486 * libc/stdlib/setenv_r.c: New file.
8487 * libc/stdlib/stdlib.tex: Add reentrant routines.
8488
8489Mon May 17 22:01:38 1999 Christopher Faylor <cgf@cygnus.com>
8490
8491 * libc/include/sys/types.h: Define __MS_types__ whenever
8492 cygwin or win32.
8493
8494Sun May 16 16:02:41 1999 Christopher Faylor <cgf@cygnus.com>
8495
8496 * libc/include/machine/ieeefp.h: Always default to little
8497 endian if Windows, regardless of architecture.
8498 * libc/include/machine/sethmp.h: Define JBLEN if CYGWIN
8499 regardless of architecture.
8500
8501Mon May 3 11:49:18 1999 Geoffrey Noer <noer@cygnus.com>
8502
8503 * libc/include/machine/setjmp.h: Accept CYGWIN define, even if
8504 _WIN32 isn't defined.
8505
8506Mon May 3 11:41:51 1999 Jeff Johnston <jjohnstn@cygnus.com>
8507
8508 * libm/common/s_rint.c (rint): Add volatile qualifier for
8509 intermediate value w.
8510 * libm/common/sf_rint.c (rintf): Ditto.
8511
8512Thu Apr 29 20:34:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
8513
8514 * libc/sys/arm/syscalls.c (remap_handle): Added check to
8515 ensure that std streams are initialized before being referenced.
8516
85171999-04-27 Jason Molenda (jsm@bugshack.cygnus.com)
8518
8519 * README: Update reference to newlib@cygnus.com new
8520 newlib@sourceware.cygnus.com address.
8521
8522Mon Apr 26 18:17:33 1999 Geoffrey Noer <noer@cygnus.com>
8523
8524 * libc/include/sys/types.h: Define MS_types if CYGWIN is defined.
8525 * libc/include/sys/fcntl.h: Define _O_BINARY et al if CYGWIN is
8526 defined, even if _WIN32 isn't defined.
8527
8528Sat Apr 24 19:59:55 1999 Christopher Faylor <cgf@cygnus.com>
8529
8530 * libc/include/sys/fcntl.h: Correct _O_CREATE to _O_CREAT.
8531
8532Wed Apr 21 18:01:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
8533
8534 * libc/include/sys/reent.h: Change Long and ULong to __Long and
8535 __ULong.
8536 * libc/stdlib/dtoa.c: Ditto.
8537 * libc/stdlib/mprec.c: Ditto.
8538 * libc/stdlib/mprec.h: Ditto.
8539 * libc/stdlib/strtod.c: Ditto.
8540
85411999-04-21 Nick Clifton <nickc@cygnus.com>
8542
8543 * configure.host (mcore): Remove mcore machine directory.
8544
85451999-04-18 Nick Clifton <nickc@cygnus.com>
8546
8547 * libc/include/machine/ieeefp.h: Add support for mcore target.
8548 * libc/include/machine/setjmp.h: Add support for mcore target.
8549 * configure.host: Add support for mcore target.
8550
85511999-04-13 Mark Salter <msalter@cygnus.com>
8552
8553 * libc/sys/arm/libcfunc.c: Moved isatty to syscall.c
8554 * libc/sys/arm/syscalls.c: Added isatty.
8555
8556Wed Apr 07 16:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
8557
8558 * libc/stdlib/ecvtbuf.c (fcvtbuf): Fixed code to properly
8559 insert zeroes after significant digits.
8560
8561Wed Mar 17 22:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
8562
8563 * libc/stdio/vfprintf.c (cvt): Changed floating point
8564 cvt routine to use union used by dtoa to properly determine
8565 if the sign bit is on or not.
8566 * libc/stdio/vfieeefp.h: New file
8567
8568Wed Mar 17 17:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
8569
8570 * aclocal.m4: Regenerated.
8571 * configure: Regenerated.
8572
8573Wed Mar 17 16:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
8574
8575 * libc/machine/i386/Makefile.am (lib_a_SOURCES): Added missing
8576 f_tanf reference.
8577 * libc/machine/i386/Makefile.in: Regenerated.
8578
8579Tue Mar 16 14:56:36 1999 Jeff Johnston <jjohnstn@cygnus.com>
8580
8581 * acinclude.m4: Changed to work with new automake.
8582 * configure: Regenerated.
8583 * libc/machine/i386/aclocal.m4: Regenerated.
8584 * libc/machine/i386/configure: Regenerated.
8585
8586Tue Mar 16 13:55:36 1999 Corinna Vinschen <corinna.vinschen@cityweb.de>
8587
8588 * libc/sys/cygwin/sys/dirent.h: Add additional prototypes
8589 for telldir() and seekdir(). Rename unused structure element
8590 for use with these two routines.
8591
8592Fri Mar 12 19:11:58 1999 Jeff Johnston <jjohnstn@cygnus.com>
8593
8594 * libc/time/mktime.c (validate_structure): Multiple fixes to
8595 code to handle cases where input fields are outside valid ranges.
8596 * libc/stdlib/div.c (div): Modified invalid rounding check.
8597 * libc/stdlib/ldiv.c (ldiv): Ditto.
8598
8599Thu Mar 11 21:32:13 1999 Jeff Johnston <jjohnstn@cygnus.com>
8600
8601 * libc/machine/i386/memcpy.S: Performance rewrite.
8602 * libc/machine/i386/memmove.S: Ditto.
8603 * libc/machine/i386/i386mach.h: Added more register definitions.
8604 * libc/include/math.h: Include <machine/fastmath.h> if -ffast-math
8605 option used.
8606 * libc/include/machine/fastmath.h: Add definitions for x86
8607 fast-math routines.
8608
8609Wed Mar 10 17:56:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
8610
8611 * libc/stdlib/strtod.c: Change from unsigned long to ULong.
8612
8613Tue Mar 9 14:31:58 1999 Geoffrey Noer <noer@cygnus.com>
8614
8615 Adjust newlib headers for new Cygwin Win32 API header files:
8616 * libc/include/sys/time.h: Check _WINSOCK_H rather than
8617 _GNU_H_WINDOWS32_SOCKETS.
8618 * libc/include/sys/types.h: Ditto.
8619
8620Tue Mar 09 15:55:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
8621
8622 *include/sys/reent.h: Add checks for size of Bigint element Long.
8623 *libc/dtoa.c: Change routines to use generic Long type.
8624 *libc/mprec.c: Change routines to use generic Long type.
8625 *libc/mprec.h: Change routines to use generic Long type.
8626
8627Tue Mar 02 18:07:49 1999 Ranjith Kumaran <ranjith@cygnus.com>
8628
8629 * libc/Makefile.am: Add .def files.
8630 * libc/Makefile.in: Regenerate.
8631 * libc/e_acosh.c: Documentation update.
8632 * libc/e_atanh.c: Documentation update.
8633 * libc/e_hypot.c: Documentation update.
8634 * libc/e_remainder.c: Documentation update.
8635 * libc/er_lgamma.c: Documentation update.
8636 * libc/mathfp.tex: Documentation update.
8637 * libc/s_acos.c: Documentation update.
8638 * libc/s_atan.c: Documentation update.
8639 * libc/s_atan2.c: Documentation update.
8640 * libc/s_cosh.c: Documentation update.
8641 * libc/s_fmod.c: Documentation update.
8642 * libc/s_isnan.c: Documentation update.
8643 * libc/s_log10.c: Documentation update.
8644 * libc/s_pow.c: Documentation update.
8645 * libc/w_jn.c: Documentation update.
8646
8647Sun Feb 28 23:18:49 1999 Geoffrey Noer <noer@cygnus.com>
8648
8649 * aclocal.m4: Regenerate.
8650 * configure: Regenerate.
8651
8652Tue Feb 23 13:57:26 1999 Jeff Johnston <jjohnstn@cygnus.com>
8653
8654 * libc/machine/mn10300/setjmp.S (_longjmp): Fixed longjmp
8655 to return 1 if user specified return code is 0.
8656 * libc/machine/mn10200/setjmp.S (_longjmp): Ditto.
8657
8658Thu Feb 18 11:13:28 1999 Jeff Johnston <jjohnstn@cygnus.com>
8659
8660 * libc/machine/mn10200/setjmp.S (_setjmp/_longjmp): Fixed setjmp
8661 to save the return address. Fixed longjmp to return to the original
8662 calling address of setjmp and to return the user specified return code
8663 rather than default to 1.
8664 * libc/machine/mn10300/setjmp.S (_setjmp/_longjmp): Ditto.
8665
8666Mon Feb 15 17:48:17 1999 Jeff Johnston <jjohnstn@cygnus.com>
8667
8668 * libc/stdlib/mprec.h (mult): Define mult to be _multiply instead of _mult.
8669
86701999-02-10 Nick Clifton <nickc@cygnus.com>
8671
8672 * libc/sys/arm/syscalls.c (initialise_monitor_handles): Make block
8673 volatile so that its assignments will not be discarded.
8674
8675Wed Feb 10 17:19:40 1999 Jeff Johnston <jjohnstn@cygnus.com>
8676
8677 * libc/include/_ansi.h: Corrected _STRICT_ANSI reference to
8678 be __STRICT_ANSI__ which is generated by compiler.
8679 * libc/include/ctype.h: Ditto.
8680 * libc/include/math.h: Ditto.
8681 * libc/include/stdio.h: Ditto.
8682 * libc/include/stdlib.h: Ditto.
8683 * libc/include/string.h: Ditto.
8684 * libc/include/sys/signal.h: Ditto.
8685
86861999-02-08 Nick Clifton <nickc@cygnus.com>
8687
8688 * configure.host: Add support for StrongARM target.
8689
8690Fri Feb 5 11:13:14 1999 Jeff Johnston <jjohnstn@cygnus.com>
8691
8692 * libc/string/strncpy.c (strncpy): Removed redundant code
8693 that was copying bytes if data unaligned.
8694
86951999-02-02 Brendan Kehoe <brendan@cygnus.com>
8696
8697 * libc/stdlib/Makefile.{am,in} (CHEWOUT_FILES): Add mblen.def,
8698 mbstowcs.def, and wcstombs.def.
8699
8700Sat Jan 30 02:36:33 1999 Christopher Faylor <cgf@cygnus.com>
8701
8702 * libc/include/sys/errno.h: Add Cygwin errno.
8703 * libc/stdio/flags.c: Don't default to O_TEXT if no other flag
8704 is specified.
8705
87061999-01-29 Nick Clifton <nickc@cygnus.com>
8707
8708 * libc/sys/arm/syscalls.c: Move C library functions into seperate
8709 file.
8710
8711 * libc/sys/arm/libcfunc.c: New file containing C library functions
8712 from syscalls.c
8713
8714 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add libcfuncs.c
8715 * libc/sys/arm/Makefile.in (lib_a_SOURCES): Regenerate.
8716
8717
87181999-01-27 Michael Meissner <meissner@cygnus.com>
8719
8720 * libc/include/machine/setjmp.h (D30V _JBLEN/_JBTYPE): Use double
8721 type, and cut size in half so that the jmp_buf array is guaranteed
8722 to be aligned on a 64-bit boundary.
8723
8724Mon Jan 25 12:05:38 1999 Jeff Johnston <jjohnstn@cygnus.com>
8725
8726 * libc/string/strings.tex: Added information about
8727 strcasecmp and strncasecmp.
8728 * libc/stdlib/stdlib.tex: Added missing information
8729 about mblen, mbstowcs, and wcstombs.
8730 * libc/string/strchr.c: Changed how mask is built to use
8731 shift operators so register will be used instead of storage.
8732
87331999-01-22 DJ Delorie <dj@cygnus.com>
8734
8735 * libc/include/stdlib.h: don't use dllimport if we're building
8736 newlib, since it's inside cygwin.dll
8737
8738Fri Jan 22 14:57:18 1999 Christopher Faylor <cgf@cygnus.com>
8739
8740 * libc/ctype/ctype_.c: Need to use __declspec(dllexport) for
8741 _ctype_ under cygwin.
8742
8743Fri Jan 22 09:50:19 1999 Christopher Faylor <cgf@cygnus.com>
8744
8745 * include/stdlib.h: Fix typo from previous checkin.
8746
8747Thu Jan 21 22:42:21 1999 Christopher Faylor <cgf@cygnus.com>
8748
8749 * include/ctype.h: Use __declspec(dllimport) method for exporting
8750 variable from cygwin DLL.
8751 * include/time.h: Ditto.
8752 * sys/errno.h: Ditto.
8753 * include/stdlib.h: Export __mb_cur_max from cygwin DLL.
8754 * libc/locale/locale.c: Use __declspec(dllexport) method for
8755 exporting variable from cygwin DLL.
8756
8757Sat Jan 16 13:29:54 1999 Christopher Faylor <cgf@cygnus.com>
8758
8759 * libc/stdio/setvbuf.c: Always clean up when _IONBF or possible
8760 access of bogus pointer will result in SIGSEGV.
8761
87621999-01-07 Nick Clifton <nickc@cygnus.com>
8763
8764 * libc/sys/arm/setjmp.S: Use C macros to cope with the possibility
8765 of an underscore prefix to function names.
8766
8767Fri Jan 8 19:00:07 1999 Jeff Johnston <jjohnstn@cygnus.com>
8768
8769 * libc/machine/i386/i386mach.h (__REG_PREFIX__): Create new
8770 define __REG_PREFIX__ instead of using __REGISTER_PREFIX__.
8771
87721998-12-31 Michael Meissner <meissner@cygnus.com>
8773
8774 * libc/machine/i386/i386mach.h (__REGISTER_PREFIX__): Only define
8775 to `%' if not already defined.
8776
87771998-12-30 Michael Meissner <meissner@cygnus.com>
8778
8779 * libc/stdio/tmpnam.c (_tempnam_r): Make directory and prefix
8780 arguments const char *, not char *.
8781 * libc/include/stdio.h (_tempnam_r): Ditto.
8782
8783 * libc/include/sys/reent.h (struct _reent): The _sig_func type
8784 points to a function taking an integer, not void.
8785
8786Tue Dec 29 14:35:53 1998 Christopher Faylor <cgf@cygnus.com>
8787
8788 * configure.host: Add a define for Cygwin builds.
8789 * libc/include/ctype.h: Don't use dll imported variables in newlib.
8790
8791Mon Dec 28 09:19:56 1998 Christopher Faylor <cgf@cygnus.com>
8792
8793 * libc/include/ctype.h: Define _ctype_ as dll imported variable
8794 for use with Cygwin.
8795 * libc/include/sys/errno.h: Define _sys_errlist and _sys_nerr as
8796 dll imported variables for use with Cygwin.
8797 * libc/ctype/ctype_.c: Undefine _ctype_ in case it has been defined
8798 as a dll imported variable for Cygwin.
8799
8800Sat Dec 26 00:13:53 1998 Christopher Faylor <cgf@cygnus.com>
8801
8802 * libc/include/sys/unistd.h: Add proto for getpass.
8803
8804Fri Dec 18 19:28:19 1998 Geoffrey Noer <noer@cygnus.com>
8805
8806 * libc/sys/cygwin/sys/dirent.h: add protos for scandir and
8807 alphasort.
8808
8809Fri Dec 18 16:33:25 1998 Geoffrey Noer <noer@cygnus.com>
8810
8811 * libc/posix/execvp.c (execvp): call cygwin_posix_path_list_p,
8812 not posix_path_list_p.
8813
88141998-12-15 Nick Clifton <nickc@cygnus.com>
8815
8816 * libc/string/memchr.c: Treat 'c' argument as an unsigned byte not
8817 a signed int.
8818
88191998-12-13 Nick Clifton <nickc@cygnus.com>
8820
8821 * libc/include/machine/setjmp.h (_JBLEN): Set to 10.
8822
88231998-12-12 Nick Clifton <nickc@cygnus.com>
8824
8825 * libc/machine/fr30/setjmp.S: New file, supplied by Mark Slater
8826 <msalter@cygnus.com>
8827 * libc/machine/fr30/Makefile.am: Add build of setjmp.S
8828 * libc/machine/fr30/Makefile.in: Regenerated.
8829
88301998-12-11 Nick Clifton <nickc@cygnus.com>
8831
8832 * configure.host: Remove use of libc/sys for FR30 port.
8833 * libc/sys/fr30: Remove directory (replaced by libgloss).
8834
88351998-12-10 Ken Raeburn <raeburn@cygnus.com>
8836
8837 * libc/string/strcat.c (ALIGNED): Sense of result was reversed.
8838 * libc/string/strncat.c (ALIGNED): Ditto.
8839
8840Wed Dec 9 14:37:57 1998 Geoffrey Noer <noer@cygnus.com>
8841
8842 * libc/include/sys/time.h: include sys/types.h
8843
8844Tue Dec 8 15:53:18 1998 Jeff Johnston <jjohnstn@cygnus.com>
8845
8846 * libc/machine/i386/memcmp.S (memcmp): Fix for unequal
8847 comparison found when checking word at a time.
8848
88491998-12-04 Nick Clifton <nickc@cygnus.com>
8850
8851 * libc/sys/fr30/crt0.s (_start): Initialise frame pointer.
8852
88531998-12-03 Nick Clifton <nickc@cygnus.com>
8854
8855 * libc/sys/fr30/syscalls.c (_times): New function stub.
8856
8857Thu Dec 3 15:59:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
8858
8859 * configure.host (mach_add_setjmp): Replaced mach_add_objs
8860 with mach_add_setjmp flag which indicates if setjmp should
8861 be added to the machine directory objects.
8862 * acinclude.m4: Removed reference to mach_add_objs.
8863 * aclocal.m4: Regenerated.
8864 * Makefile.in: Regenerated.
8865 * configure: Regenerated.
8866 * libc/aclocal.m4: Regenerated.
8867 * libc/Makefile.in: Regenerated.
8868 * libc/configure: Regenerated.
8869 * libc/machine/aclocal.m4: Regenerated.
8870 * libc/machine/Makefile.in: Regenerated.
8871 * libc/machine/configure: Regenerated.
8872 * libc/machine/i386/aclocal.m4: Regenerated.
8873 * libc/machine/i386/Makefile.am: Altered to selectively add
8874 setjmp.S to the src files list.
8875 * libc/machine/i386/Makefile.in: Regenerated.
8876 * libc/machine/i386/configure.in: Altered to test mach_add_setjmp.
8877 * libc/machine/i386/configure: Regenerated.
8878
88791998-12-02 Nick Clifton <nickc@cygnus.com>
8880
8881 * libc/sys/fr30/crt0.s (_start): Fix function names.
8882
8883 * libc/machine/fr30: New directory
8884 * libc/machine/fr30/Makefile.am: New file.
8885 * libc/machine/fr30/Makefile.in: New generated file.
8886 * libc/machine/fr30/configure.in: New file.
8887 * libc/machine/fr30/configure: New generated file.
8888 * libc/machine/fr30/aclocal.m4: New generated file.
8889 * libc/sys/fr30/Makefile.am: New file.
8890 * libc/sys/fr30/Makefile.in: New generated file.
8891 * libc/sys/fr30/configure.in: New file.
8892 * libc/sys/fr30/configure: New generated file.
8893 * libc/sys/fr30/syscalls.c: New file.
8894
8895Tue Dec 1 16:28:56 1998 Geoffrey Noer <noer@cygnus.com>
8896
8897 * libc/sys/cygwin/sys/utmp.h: new file, moved from winsup/include.
8898
88991998-12-01 Ken Raeburn <raeburn@cygnus.com>
8900
8901 * libc/time/strftime.c (strftime): Also handle %y for years before
8902 1900.
8903
8904Tue Dec 1 13:26:07 1998 Christopher Faylor <cgf@cygnus.com>
8905
8906 * libc/string/strcasecmp.c (strcasecmp): Adhere to standard
8907 UNIX convention. Perform tolower on characters before comparing
8908 them rather than use toupper.
8909 * libc/string/strncasecmp.c (strncasecmp): Ditto.
8910
8911Mon Nov 30 16:24:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
8912
8913 * configure.host: Added using i386 machine directory
8914 for all x86 cross-compiler and configuring
8915 which added object files to use via new "mach_add_objs" variable.
8916 * configure: Regenerated.
8917 * libc/configure: Regenerated.
8918 * libc/Makefile.in: Regenerated.
8919 * libc/aclocal.m4: Regenerated.
8920 * libc/ctype/Makefile.in: Regenerated.
8921 * libc/errno/Makefile.in: Regenerated.
8922 * libc/locale/Makefile.in: Regenerated.
8923 * libc/machine/Makefile.in: Regenerated.
8924 * libc/machine/aclocal.m4: Regenerated.
8925 * libc/machine/configure: Regenerated.
8926 * libc/posix/Makefile.in: Regenerated.
8927 * libc/reent/Makefile.in: Regenerated.
8928 * libc/signal/Makefile.in: Regenerated.
8929 * libc/stdio/Makefile.in: Regenerated.
8930 * libc/stdlib/Makefile.in: Regenerated.
8931 * libc/string/Makefile.in: Regenerated.
8932 * libc/string/memmove.c: Optimized code to use memcpy
8933 logic when performing a non-destructive copy.
8934 * libc/string/strncmp.c: Altered code to allow building
8935 optimized for size or speed.
8936 * libc/syscalls/Makefile.in: Regenerated.
8937 * libc/time/Makefile.in: Regenerated.
8938 * libc/unix/Makefile.in: Regenerated.
8939 * libc/machine/i386/Makefile.am: Added new files and reference
8940 to "mach_add_objs" to indicate optional object files.
8941 * libc/machine/i386/Makefile.in: Regenerated.
8942 * libc/machine/i386/aclocal.m4: Regenerated.
8943 * libc/machine/i386/configure: Regenerated.
8944 * libc/machine/i386/memchr.S: New file that implements
8945 function in Intel assembler.
8946 * libc/machine/i386/memcmp.S: ditto.
8947 * libc/machine/i386/memcpy.S: ditto.
8948 * libc/machine/i386/memmove.S: ditto.
8949 * libc/machine/i386/memset.S: ditto.
8950 * libc/machine/i386/strchr.S: ditto.
8951 * libc/machine/i386/strlen.S: ditto.
8952 * libc/machine/i386/f_atan2.S: New file that implements
8953 fast version of math function to be used by compiler when
8954 --ffast_math compile option is used.
8955 * libc/machine/i386/f_atan2f.S: ditto.
8956 * libc/machine/i386/f_exp.c: ditto.
8957 * libc/machine/i386/f_expf.c: ditto.
8958 * libc/machine/i386/f_frexp.S: ditto.
8959 * libc/machine/i386/f_frexpf.S: ditto.
8960 * libc/machine/i386/f_ldexp.S: ditto.
8961 * libc/machine/i386/f_ldexpf.S: ditto.
8962 * libc/machine/i386/f_log.S: ditto.
8963 * libc/machine/i386/f_logf.S: ditto.
8964 * libc/machine/i386/f_log10.S: ditto.
8965 * libc/machine/i386/f_log10f.S: ditto.
8966 * libc/machine/i386/f_math.h: New file.
8967 * libc/machine/i386/f_pow.c: ditto.
8968 * libc/machine/i386/f_powf.S: ditto.
8969 * libc/machine/i386/f_tan.S: ditto.
8970 * libc/machine/i386/f_tan.S: ditto.
8971 * libc/machine/i386/i386mach.h: New file.
8972
8973Mon Nov 30 13:02:17 1998 Christopher Faylor <cgf@cygnus.com>
8974
8975 patch from Mumit Khan <khan@xraylith.wisc.edu>
8976 * libc/include/stdio.h (tempnam): Add prototype.
8977 * libc/stdio/tmpnam.c (_tempnam_r): Handle NULL prefix.
8978 (tempnam): Adhere to prototype.
8979
8980Thu Nov 26 00:21:32 1998 Christopher Faylor <cgf@cygnus.com>
8981
8982 * Makefile.am: Add default for AR_FLAGS.
8983 * Makefile.in: Regenerate.
8984
8985Tue Nov 24 18:48:56 1998 Geoffrey Noer <noer@cygnus.com>
8986
8987 * libc/include/time.h: move __cplusplus wrapper after includes
8988 * libc/include/sys/time.h: ditto. If Cygwin, include
8989 sys/select.h.
8990 * libc/include/sys/types.h: lose "32" in comment about Cygwin.
8991
89921998-11-23 Ken Raeburn <raeburn@cygnus.com>
8993
8994 * libc/time/strftime.c (strftime): Handle %y after year 2000.
8995
8996Wed Nov 18 12:22:41 1998 Nick Clifton <nickc@cygnus.com>
8997
8998 * libc/sys/fr30/crt0.s (_start): Switch over to using int #9 as
8999 abnormnal end-of-crt0 marker.
9000
9001Tue Nov 17 16:27:58 1998 Nick Clifton <nickc@cygnus.com>
9002
9003 * libc/sys/fr30/crt0.s: New file/directory.
9004 * libc/include/machine/setjmp.h: Add FR30 target.
9005 * libc/include/machine/ieeefp.h: Add FR30 target.
9006 * configure.host: Add FR30 target.
9007
9008Mon Nov 16 23:15:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
9009
9010 * libm/math: Files that are duplicated in common directory removed.
9011 * libm/math/fdlibm.h: Removed.
9012 * libm/math/s_cbrt.c: Removed.
9013 * libm/math/s_copysign.c: Removed.
9014 * libm/math/s_expm1.c: Removed.
9015 * libm/math/s_finite.c: Removed.
9016 * libm/math/s_ilogb.c: Removed.
9017 * libm/math/s_infinity.c: Removed.
9018 * libm/math/s_lib_ver.c: Removed.
9019 * libm/math/s_log1p.c: Removed.
9020 * libm/math/s_logb.c: Removed.
9021 * libm/math/s_matherr.c: Removed.
9022 * libm/math/s_modf.c: Removed.
9023 * libm/math/s_nan.c: Removed.
9024 * libm/math/s_nextafter.c: Removed.
9025 * libm/math/s_rint.c: Removed.
9026 * libm/math/s_scalbn.c: Removed.
9027 * libm/math/sf_cbrt.c: Removed.
9028 * libm/math/sf_copysign.c: Removed.
9029 * libm/math/sf_expm1.c: Removed.
9030 * libm/math/sf_finite.c: Removed.
9031 * libm/math/sf_ilogb.c: Removed.
9032 * libm/math/sf_infinity.c: Removed.
9033 * libm/math/sf_log1p.c: Removed.
9034 * libm/math/sf_logb.c: Removed.
9035 * libm/math/sf_modf.c: Removed.
9036 * libm/math/sf_nan.c: Removed.
9037 * libm/math/sf_nextafter.c: Removed.
9038 * libm/math/sf_rint.c: Removed.
9039 * libm/math/sf_scalbn.c: Removed.
9040 * libm/math/Makefile.am: Removed references to deleted files (above).
9041 * libm/math/Makefile.in: Regenerated.
9042 * libm/Makefile.am: Added common directory to math.
9043 * libm/Makefile.in: Regenerated.
9044
9045Mon Nov 2 23:12:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
9046
9047 * libm/mathfp: Add non-ANSI functions.
9048 * libm/mathfp/e_acosh.c acosh(): New file.
9049 * libm/mathfp/e_atanh.c atanh(): New file.
9050 * libm/mathfp/e_hypot.c hypot(): New file.
9051 * libm/mathfp/e_j0.c j0(): New file.
9052 * libm/mathfp/e_j1.c j1(): New file.
9053 * libm/mathfp/e_remainder.c remainder(): New file.
9054 * libm/mathfp/e_scalb.c scalb(): New file.
9055 * libm/mathfp/ef_acosh.c acoshf(): New file.
9056 * libm/mathfp/ef_atanh.c atanhf(): New file.
9057 * libm/mathfp/ef_hypot.c hypotf(): New file.
9058 * libm/mathfp/ef_j0.c j0f(): New file.
9059 * libm/mathfp/ef_j1.c j1f(): New file.
9060 * libm/mathfp/ef_remainder.c remainderf(): New file.
9061 * libm/mathfp/ef_scalb.c scalbf(): New file.
9062 * libm/mathfp/er_gamma.c gamma_r: New file.
9063 * libm/mathfp/er_lgamma.c lgamma_r(): New file.
9064 * libm/mathfp/erf_gamma.c gamma_rf(): New file.
9065 * libm/mathfp/erf_lgamma.c lgamma_rf(): New file.
9066 * libm/mathfp/w_cabs.c cabs(): New file.
9067 * libm/mathfp/w_drem.c drem(): New file.
9068 * libm/mathfp/w_jn.c jn(): New file.
9069 * libm/mathfp/wf_cabs.c cabsf(): New file.
9070 * libm/mathfp/wf_drem.c dremf(): New file.
9071 * libm/mathfp/wf_jn.c jnf(): New file.
9072
9073Mon Nov 2 16:43:18 1998 Geoffrey Noer <noer@cygnus.com>
9074
9075 * libc/sys/cygwin32: remove directory and contents
9076 * libc/sys/cygwin: and add back, losing the "32".
9077 * configure.host: check for cygwin* instead of cygwin32.
9078 * acinclude.m4: ditto.
9079 * aclocal.m4: regenerate with aclocal
9080 * configure: regenerate with autoconf
9081
9082Tue Oct 20 17:28:28 1998 Geoffrey Noer <noer@cygnus.com>
9083
9084 * libc/stdio/tmpnam.c (_tempnam_r): not enough memory allocated
9085 for length
9086
9087Tue Oct 20 18:49:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
9088
9089 * libc/include/sys/reent.h (struct _reent): Added variables _rand_next, _strtok_last,
9090 _asctime_buf, _localtime_buf and _gamma_signgam to struct reent
9091 to make rand/srand, strtok, asctime, localtime, w_gamma,
9092 w_lgamma, wf_gamma, and wf_lgamma reentrant. Included
9093 time.h to bring in struct tm definition.
9094 * libc/stdlib/rand.c (rand, srand): Don't emit functions 'rand' and 'srand' if
9095 '_REENT_ONLY' is set. Used variable '_rand_next' from struct reent.
9096 * libc/stdlib/strtok.c (strtok): Used variable '_strtok_last' from struct reent
9097 instead of static variable.
9098 * libc/stdlib/asctime.c (asctime): Used variable '_asctime_buf' from
9099 struct reent instead of static variable.
9100 * libc/stdlib/lcltime.c (localtime): Used variable '_localtime_buf' from
9101 struct reent instead of static variable.
9102 * libm/math/Makefile.am: Removed s_signgam.o.
9103 * libm/math/Makefile.in: Regenerated.
9104 * libm/math/w_gamma.c (gamma): Used variable '_gamma_signgam' from
9105 struct reent instead of global variable 'signgam'.
9106 * libm/math/w_lgamma.c (lgamma): Likewise.
9107 * libm/math/wf_gamma.c (gammaf): Likewise.
9108 * libm/math/wf_lgamma.c (lgammaf): Likewise.
9109 * libm/math/s_signgam.c: Removed.
9110 * libc/include/unctrl.h: Defined arrays __unctrl and __unctrllen
9111 to be const.
9112 * libc/misc/unctrl.c: Defined arrays __unctrl and __unctrllen
9113 to be const.
9114 * libc/reent/Makefile.am: Added dependence for impure.o on impure.c and
9115 libc/include/reent.h.
9116 * libc/reent/Makefile.in: Regenerated.
9117 * libc/stdio/vfprintf.c (_vfprintf_r): Defined arrays 'blanks' and 'zeroes'
9118 to be const.
9119 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Defined arrays 'JIS_state_table' and
9120 'JIS_action_table' to be const.
9121 * libm/math/s_lib_ver.c: define variable _LIB_VERSION to be const.
9122
9123Mon Oct 12 00:26:33 1998 Christopher Faylor <cgf@cygnus.com>
9124
9125 * acinclude.m4: $with_target_subdir should default to '.'
9126 or confusion results when configuring in same directory as sources.
9127 * Regenerate all aclocal.m4 and configure files.
9128
9129Fri Oct 9 16:27:36 1998 Jeff Johnston <jjohnstn@cygnus.com>
9130
9131 * libc/stdlib/mallocr.c: Added 16 byte alignment support which
9132 can be set by defining MALLOC_ALIGNMENT=16. Also added support
9133 for platforms where sizeof(size_t) < sizeof(long) via
9134 SIZE_T_SMALLER_THAN_LONG macro.
9135
9136Wed Oct 7 14:02:40 1998 Jeff Johnston <jjohnstn@cygnus.com>
9137
9138 * libc/include/time.h (CLOCKS_PER_SEC): Change CLOCKS_PER_SEC
9139 to refer to _CLOCKS_PER_SEC_ and added including <machine/time.h>
9140 which sets _CLOCKS_PER_SEC_ for selected machines.
9141 * libc/include/machine/time.h: New file.
9142
9143Tue Oct 6 16:08:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
9144
9145 * libc/syscalls/sysexecve.c: New file.
9146 * libc/syscalls/sysgettod.c: New file.
9147 * libc/syscalls/systimes.c: New file.
9148 * libc/syscalls/Makefile.am: Added new objects.
9149 * libc/syscalls/Makefile.in: Regenerated.
9150 * libc/include/_syslist.h (_execve): Moved define in file.
9151 * libc/include/reent.h: Added _execve_r declaration.
9152 * libc/Makefile.in: Regenerated.
9153 * libc/ctype/Makefile.in: Regenerated.
9154 * libc/errno/Makefile.in: Regenerated.
9155 * libc/locale/Makefile.in: Regenerated.
9156 * libc/machine/Makefile.in: Regenerated.
9157 * libc/misc/Makefile.in: Regenerated.
9158 * libc/posix/Makefile.in: Regenerated.
9159 * libc/reent/Makefile.in: Regenerated.
9160 * libc/reent/execr.c (_execve_r): Added _execve_r function.
9161 * libc/signal/Makefile.in: Regenerated.
9162 * libc/stdio/Makefile.in: Regenerated.
9163 * libc/time/Makefile.in: Regenerated.
9164 * libc/unix/Makefile.in: Regenerated.
9165 * libm/mathfp/Makefile.in: Regenerated.
9166
9167Tue Oct 6 14:14:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
9168
9169 * libc/string/Makefile.in: Regenerated.
9170 * libc/string/memchr.c (memchr): Moved code to reduce object size.
9171 * libc/string/memcpy.c (memcpy): Ditto.
9172 * libc/string/memcmp.c (memcmp): Ditto.
9173 * libc/string/memset.c (memset): Ditto.
9174 * libc/string/strchr.c (strchr): Ditto.
9175 * libc/string/strcmp.c (strcmp): Ditto.
9176 * libc/string/strcpy.c (strcpy): Ditto.
9177 * libc/string/strlen.c (strlen): Ditto.
9178
9179Tue Oct 6 13:58:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
9180
9181 * libm/acinclude.m4: Removed since newlib/acinclude.m4 can be used
9182 to generate aclocal.m4.
9183 * libm/Makefile.in: Regenerated.
9184 * libm/aclocal.m4: Regenerated.
9185 * libm/configure: Regenerated.
9186 * libm/math/Makefile.in: Regenerated.
9187 * libm/mathfp/Makefile.in: Regenerated.
9188
91891998-09-25 Mark Salter <msalter@cygnus.com>
9190
9191 * libc/include/machine/setjmp.h: Fixed test for mn10300 and mn10200
9192 by adding leading and trailing underscores to symbol names.
9193
9194Tue Sep 22 15:33:41 1998 Christopher Faylor <cgf@cygnus.com>
9195
9196 * Makefile.in: Add default for AR_FLAGS.
9197
9198Tue Sep 22 15:02:49 1998 Christopher Faylor <cgf@cygnus.com>
9199
9200 patch from ian@airs.com (Ian Taylor):
9201 * acinclude.m4: Run AC_CANONICAL_BUILD explicitly before
9202 NEWLIB_CONFIGURE so AC_CANONICAL_HOST will be run before it
9203 is needed for detecting the build machine. Required for
9204 cygwin native builds.
9205
9206 * Regenerate all aclocal.m4 and configure files.
9207
9208Mon Sep 21 14:44:16 1998 Nick Clifton <nickc@cygnus.com>
9209
9210 * libc/sys/arm/crt0.S: Prepend a period to all local labels that
9211 used to start with LC.
9212
9213Thu Sep 17 18:18:11 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
9214
9215 * libc/machine/sh/setjmp.S (setjmp): Handle __SH4* like __SH3E__ .
9216 (longjmp): Likewise.
9217
9218Thu Sep 17 16:25:33 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
9219
9220 * libc/machine/sh/memset.S (memset): Move copy from r4 to r4 before
9221 the test for small number of bytes.
9222
9223Thu Sep 10 11:40:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
9224
9225 * Makefile.am: Add --enable-newlib-hw-fp check. This builds the new
9226 math library that uses floating point algorithms instead of the old
9227 libm.
9228 * Makefile.in: Regenerate with automake version 1.3b.
9229 * configure: Rebuild.
9230 * libm/Makefile.in: Regenerate with automake version 1.3b.
9231 * libm/aclocal.m4: Regenerate.
9232 * libm/configure: Rebuild.
9233 * libm/configure.in: Add newlib_hw_fp definition and mathfp directory.
9234 * libm/acinclude.m4: Define macros for configure.in.
9235 * libm/config.h.in: Generate.
9236 * libm/mathfp/Makefile.am: New file.
9237 * libm/mathfp/Makefile.in: Generate.
9238 * libm/mathfp/s_acos.c (acos): New file.
9239 * libm/mathfp/s_asin.c (asin): New file.
9240 * libm/mathfp/s_asine.c (asine): New file.
9241 * libm/mathfp/s_atan.c (atan): New file.
9242 * libm/mathfp/s_atan2.c (atan2): New file.
9243 * libm/mathfp/s_atangent.c (atangent): New file.
9244 * libm/mathfp/s_ceil.c (ceil): New file.
9245 * libm/mathfp/s_copysign.c (copysign): New file.
9246 * libm/mathfp/s_cos.c (cos): New file.
9247 * libm/mathfp/s_cosh.c (cosh): New file.
9248 * libm/mathfp/s_exp.c (exp): New file.
9249 * libm/mathfp/s_fabs.c (fabs): New file.
9250 * libm/mathfp/s_finite.c (finite): New file.
9251 * libm/mathfp/s_floor.c (floor): New file.
9252 * libm/mathfp/s_fmod.c (fmod): New file.
9253 * libm/mathfp/s_frexp.c (frexp): New file.
9254 * libm/mathfp/s_infconst.c: New file.
9255 * libm/mathfp/s_isinf (isinf).c: New file.
9256 * libm/mathfp/s_isnan.c (isnan): New file.
9257 * libm/mathfp/s_ispos.c (ispos): New file.
9258 * libm/mathfp/s_ldexp.c (ldexp): New file.
9259 * libm/mathfp/s_log.c (log): New file.
9260 * libm/mathfp/s_log10.c (log10): New file.
9261 * libm/mathfp/s_logarithm.c (logarithm): New file.
9262 * libm/mathfp/s_mathcnst.c: New file.
9263 * libm/mathfp/s_modf (modf).c: New file.
9264 * libm/mathfp/s_numtest.c (numtest): New file.
9265 * libm/mathfp/s_pow.c (pow): New file.
9266 * libm/mathfp/s_scalbn.c (scalbn): New file.
9267 * libm/mathfp/s_sin (sin).c: New file.
9268 * libm/mathfp/s_sine.c (sine): New file.
9269 * libm/mathfp/s_sineh.c (sineh): New file.
9270 * libm/mathfp/s_sinf.c (sinf): New file.
9271 * libm/mathfp/s_sinh.c (sinh): New file.
9272 * libm/mathfp/s_sqrt.c (sqrt): New file.
9273 * libm/mathfp/s_tan.c (tan): New file.
9274 * libm/mathfp/s_tanh.c (tanh): New file.
9275 * libm/mathfp/sf_acos.c (acosf): New file.
9276 * libm/mathfp/sf_asin.c (asinf): New file.
9277 * libm/mathfp/sf_asine.c (asinef): New file.
9278 * libm/mathfp/sf_atan.c (atanf): New file.
9279 * libm/mathfp/sf_atan2.c (atan2f): New file.
9280 * libm/mathfp/sf_atangent.c (atangent): New file.
9281 * libm/mathfp/sf_ceil.c (ceilf): New file.
9282 * libm/mathfp/sf_copysign.c (copysignf): New file.
9283 * libm/mathfp/sf_cos.c (cosf): New file.
9284 * libm/mathfp/sf_cosh.c (coshf): New file.
9285 * libm/mathfp/sf_exp.c (expf): New file.
9286 * libm/mathfp/sf_fabs.c (fabsf): New file.
9287 * libm/mathfp/sf_finite.c (finitef): New file.
9288 * libm/mathfp/sf_floor.c (floorf): New file.
9289 * libm/mathfp/sf_fmod.c (fmodf): New file.
9290 * libm/mathfp/sf_frexp.c (frexpf): New file.
9291 * libm/mathfp/sf_isinf.c (isinff): New file.
9292 * libm/mathfp/sf_isnan.c (isnanf): New file.
9293 * libm/mathfp/sf_ispos.c (isposf): New file.
9294 * libm/mathfp/sf_ldexp.c (ldexpf): New file.
9295 * libm/mathfp/sf_log.c (logf): New file.
9296 * libm/mathfp/sf_log10.c (log10f): New file.
9297 * libm/mathfp/sf_logarithm.c (logarithmf): New file.
9298 * libm/mathfp/sf_modf.c (modff): New file.
9299 * libm/mathfp/sf_numtest.c (numtestf): New file.
9300 * libm/mathfp/sf_pow.c (powf): New file.
9301 * libm/mathfp/sf_scalbn.c (scalbnf): New file.
9302 * libm/mathfp/sf_sin.c (sinf): New file.
9303 * libm/mathfp/sf_sine.c (sinef): New file.
9304 * libm/mathfp/sf_sineh.c (sinehf): New file.
9305 * libm/mathfp/sf_sinh.c (sinhf): New file.
9306 * libm/mathfp/sf_sqrt.c (sqrtf): New file.
9307 * libm/mathfp/sf_tan.c (tanf): New file.
9308 * libm/mathfp/sf_tanh.c (tanhf): New file.
9309 * libm/mathfp/zmath.h: New file.
9310
9311Wed Sep 2 02:49:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
9312
9313 * libc/machine/sh/strcmp.S (L_char_loop): Re-load r0 at loop
9314 exit if it has been overwritten by pre-fetching in delay slot.
9315
93161998-09-01 Michael Meissner <meissner@cygnus.com>
9317
9318 * Makefile.am (tooldir): Add in host_alias, so that multilib
9319 libraries are installed in the directory the compiler looks in.
9320 * Makefile.in: Regenerate.
9321
9322 * libc/stdlib/Makefile.in: Regenerate with automake version 1.3b.
9323
9324Mon Aug 31 11:39:31 1998 Jeff Johnston <jjohnstn@cygnus.com>
9325
9326 * libc/machine/mn10300/memcpy.S (_memcpy): Move alignment test
9327 ahead of test for number of bytes being moved.
9328
9329Thu Aug 27 14:07:53 1998 Christopher Faylor <cgf@cygnus.com>
9330
9331 * libc/include/sys/unistd.h: Nothing special needed for
9332 _exit under cygwin.
9333
9334Wed Aug 26 15:05:21 1998 Nick Clifton <nickc@cygnus.com>
9335
9336 * libc/sys/arm/syscalls.c (_sbrk): Rename '_end' to 'end' to
9337 conform to user label naming conventions.
9338
9339Mon Aug 24 14:46:19 1998 Geoffrey Noer <noer@cygnus.com>
9340
9341 * libc/sys/cygwin32/sys/utime.h: variable names in
9342 protos should start with two leading underscores
9343 * libc/include/string.h: ditto
9344 * libc/include/sys/signal.h: ditto
9345 * libc/include/sys/stat.h: ditto
9346 * libc/include/sys/time.h: ditto
9347 * libc/include/sys/unistd.h: ditto
9348 * libc/include/ctype.h: ditto
9349 * libc/include/stdlib.h: ditto
9350 * libc/include/sys/reent.h: struct _atexit function ptr takes a
9351 void, same with _sig_func.
9352
9353Fri Aug 21 14:44:14 1998 Jeff Johnston <jjohnstn@cygnus.com>
9354
9355 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Added preprocessor checks
9356 for MB_CAPABLE to reduce code size when newlib is not configured
9357 with --enable-newlib-mb.
9358 * libc/stdlib/Makefile.am: Specified -fshort-enums when building
9359 mbtowc_r.o to minimize size.
9360 * libc/stdlib/Makefile.in: Rebuild.
9361
9362Wed Aug 19 16:20:13 1998 Jim Wilson <wilson@cygnus.com>
9363
9364 * libc/sys/sparc64/Makefile.am (.S_r.o, .c_r.o): Change -DREENTRANT
9365 to -DREENT.
9366 * libc/sys/sparc64/Makefile.in: Rebuild.
9367
9368Tue Aug 18 22:38:29 1998 Ian Lance Taylor <ian@cygnus.com>
9369
9370 * Makefile.am (MAKEOVERRIDES): Define.
9371 * Makefile.in: Rebuild.
9372
9373Tue Aug 18 12:38:47 1998 Jim Wilson <wilson@cygnus.com>
9374
9375 * libc/sys/sparc64/sys/stat.h (stat): Add const.
9376
9377Mon Aug 17 22:27:06 1998 Ian Lance Taylor <ian@cygnus.com>
9378
9379 * acinclude.m4 (NEWLIB_CONFIGURE): Use top_builddir in
9380 newlib_cflags when looking for targ-include.
9381 * */aclocal.m4, */configure: Rebuild.
9382
9383Fri Jul 31 10:57:42 1998 Catherine Moore <clm@cygnus.com>
9384
9385 * libc/sys/arm/syscalls.c (_sbrk): Change "__end__"
9386 to "_end".
9387
9388Wed Jul 29 00:02:01 1998 Mark Alexander <marka@cygnus.com>
9389
9390 * libc/include/sys/config.h: Define __IEEE_LITTLE_ENDIAN
9391 on SPARCs with little-endian data.
9392 * libc/include/machine/ieeefp.h: Ditto.
9393
9394Wed Jul 22 18:00:10 1998 Ian Lance Taylor <ian@cygnus.com>
9395
9396 * acinclude.m4: Handle a relative srcdir correctly when setting
9397 newlib_cflags.
9398 * */aclocal.m4, */configure: Rebuild.
9399
9400Wed Jul 22 17:11:33 1998 Jeff Johnston <jjohnstn@cygnus.com>
9401
9402 * libm/math/wrf_lgamma.c (lgammaf_r): Initialize exc.err to 0 and
9403 also set exc.arg1, exc.arg2 appropriately in case matherr is supplied.
9404 * libm/math/wrf_gamma.c (gammaf_r): ditto
9405 * libm/math/wr_lgamma.c (lgamma_r): ditto
9406 * libm/math/wr_gamma.c (gamma_r): ditto
9407 * libm/math/wf_sqrt.c (sqrtf): ditto
9408 * libm/math/wf_sinh.c (sinhf): ditto
9409 * libm/math/wf_scalb.c (scalbf): ditto
9410 * libm/math/wf_remainder.c (remainderf): ditto
9411 * libm/math/wf_pow.c (powf): ditto
9412 * libm/math/wf_log10.c (log10f): ditto
9413 * libm/math/wf_log.c (logf): ditto
9414 * libm/math/wf_lgamma.c (lgammaf): ditto
9415 * libm/math/wf_jn.c (jnf, ynf): ditto
9416 * libm/math/wf_j1.c (j1f, y1f): ditto
9417 * libm/math/wf_j0.c (j0f, y0f): ditto
9418 * libm/math/wf_hypot.c (hypotf): ditto
9419 * libm/math/wf_gamma.c (gammaf): ditto
9420 * libm/math/wf_fmod.c (fmodf): ditto
9421 * libm/math/wf_exp.c (expf): ditto
9422 * libm/math/wf_cosh.c (coshf): ditto
9423 * libm/math/wf_atanh.c (atanhf): ditto
9424 * libm/math/wf_atan2f.c (atan2f): ditto
9425 * libm/math/wf_asin.c (asinf): ditto
9426 * libm/math/wf_acosh.c (acoshf): ditto
9427 * libm/math/wf_acos.c (acosf): ditto
9428 * libm/math/w_sqrt.c (sqrt): ditto
9429 * libm/math/w_sinh.c (sinh): ditto
9430 * libm/math/w_scalb.c (scalb): ditto
9431 * libm/math/w_remainder.c (remainder): ditto
9432 * libm/math/w_pow.c (pow): ditto
9433 * libm/math/w_log10.c (log10): ditto
9434 * libm/math/w_log.c (log): ditto
9435 * libm/math/w_lgamma.c (lgamma): ditto
9436 * libm/math/w_jn.c (jn, yn): ditto
9437 * libm/math/w_j1.c (j1, y1): ditto
9438 * libm/math/w_j0.c (j0, y0): ditto
9439 * libm/math/w_hypot.c (hypot): ditto
9440 * libm/math/w_gamma.c (gamma): ditto
9441 * libm/math/w_fmod.c (fmod): ditto
9442 * libm/math/w_exp.c (exp): ditto
9443 * libm/math/w_cosh.c (cosh): ditto
9444 * libm/math/w_atanh.c (atanh): ditto
9445 * libm/math/w_atan2f.c (atan2): ditto
9446 * libm/math/w_asin.c (asin): ditto
9447 * libm/math/w_acosh.c (acosh): ditto
9448 * libm/math/w_acos.c (acos): ditto
9449
9450Tue Jul 21 12:34:54 1998 Ian Lance Taylor <ian@cygnus.com>
9451
9452 * libm/math/Makefile.am (src): Add w_cabs.c and w_drem.c.
9453 (fsrc): Add wf_cabs.c and wf_drem.c.
9454 * libm/math/Makefile.in: Rebuild.
9455
9456 * Makefile.am (AM_MAKEFLAGS): Add CFLAGS_FOR_BUILD. Remove some
9457 unused directory variables. Remove duplicate CFLAGS.
9458 * Makefile.in: Rebuild.
9459
9460 * doc/Makefile.am ($(MKDOC)): Don't use $(CFLAGS) when building
9461 with $(CC_FOR_BUILD).
9462 (makedoc.o): Likewise.
9463 * doc/Makefile.in: Rebuild.
9464
9465 * libc/sys/cygwin32/Makefile.am (EXTRA_LIBRARIES): Define, to
9466 force a definition of COMPILE.
9467 (libfoo_a_SOURCES): Define.
9468 * libc/sys/cygwin32/Makefile.in: Rebuild.
9469 * libc/sys/tic80/Makefile.am (EXTRA_LIBRARIES): Define, to
9470 force a definition of COMPILE.
9471 (libfoo_a_SOURCES): Define.
9472 * libc/sys/tic80/Makefile.in: Rebuild.
9473
9474Mon Jul 20 20:49:24 1998 Christopher Faylor <cgf@cygnus.com>
9475
9476 * libc/include/sys/fcntl.h: Add O_NOINHERIT, Win32-specific
9477 flag.
9478
9479Fri Jul 17 16:13:16 1998 Ian Lance Taylor <ian@cygnus.com>
9480
9481 * Build using autoconf and automake. Added many Makefile.am and
9482 configure.in files, plus generated files. Old configure.in files
9483 and all old Makefile.in files completely replaced. Removed
9484 host/any. Added acinclude.m4 and configure.host.
9485
9486Sat Jul 11 18:14:49 1998 Felix Lee <flee@cygnus.com>
9487
9488 * libc/stdio/vfprintf.c: enable long long support, sometimes.
9489 * configure.in (*-*-cygwin32): add -DWANT_PRINTF_LONG_LONG.
9490
9491Tue Jul 7 01:51:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
9492
9493 * libc/machine/sh/strcmp.S, libc/machine/sh/strcpy.S: New files.
9494 * libc/machine/sh/Makefile.in: Add rules for new files.
9495
9496Tue Jul 7 01:40:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
9497
9498 * libc/machine/sh/asm.h (SL, DELAYED_BRANCHES): Define.
9499 * libc/machine/sh/memset.S (memset): Remove uses of dt; shorten code.
9500 * libc/machine/sh/memcpy.S (SL, DELAYED_BRANCHES): Don't define.
9501
9502Thu Jul 2 10:33:16 1998 Nick Clifton <nickc@cygnus.com>
9503
9504 * libc/sys/arm/syscalls.c (_exit): Add comment, noting that exit
9505 code is ignored.
9506
9507Wed Jun 24 13:56:54 1998 Jeff Johnston <jjohnstn@cygnus.com>
9508
9509 * libc/stdio/tmpnam.c (_tmpnam_r): Changed routine to use
9510 internal static buffer when s is NULL, as prescribed by ANSI.
9511
95121998-06-22 Vladimir N. Makarov <vmakarov@cygnus.com>
9513
9514 * libc/sys/h8300hms/Makefile.in (OFILES): malloc.o has been
9515 removed.
9516 * libc/sys/h8300hms/malloc.c: has been removed. Now malloc.c from
9517 libc/stdlib will be used for h8300hms.
9518
9519Thu Jun 18 16:56:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
9520
9521 * libc/machine/mn10300/strlen.S (_strlen): New optimized assembler
9522 version that can be built either for speed or size.
9523 * libc/machine/mn10300/memset.S (_memset): ditto
9524 * libc/machine/mn10300/memchr.S (_memchr): ditto
9525 * libc/machine/mn10300/memcpy.S (_memcpy): ditto
9526 * libc/machine/mn10300/memcmp.S (_memcmp): ditto
9527 * libc/machine/mn10300/strchr.S (_strchr): ditto
9528 * libc/machine/mn10300/strcmp.S (_strcmp): ditto
9529 * libc/machine/mn10300/strcpy.S (_strcpy): ditto
9530 * libc/machine/mn10300/Makefile.in: Added entries for
9531 memchr.o, memcmp.o, memcpy.o, memset.o, strchr.o,
9532 strcmp.o, strcpy.o, and strlen.o.
9533
9534Wed Jun 17 12:50:26 1998 Mark Alexander <marka@cygnus.com>
9535
9536 * configure.in: Don't use libc/sys/sysmec for MN10200; it's
9537 been replaced with libgloss/mn10200.
9538
9539Fri Jun 12 14:34:39 1998 Michael Meissner <meissner@cygnus.com>
9540
9541 * libc/string/strchr.c (strchr): Make s a constant pointer to
9542 avoid warning.
9543
9544Tue Jun 9 16:29:30 1998 Jason Molenda (crash@bugshack.cygnus.com)
9545
9546 * configure.in (target == arm* or thumb*): Define ARM_RDI_MONITOR
9547 instead of ARM_RDP_MONITOR (sys/libc/arm/crt0.S to assume Angel
9548 board SWIs instead of Demon board SWIs).
9549
9550Thu Jun 4 12:16:46 1998 Michael Meissner <meissner@cygnus.com>
9551
9552 * libc/string/strncat.c (strncat): Make -Os act the same as
9553 PREFER_SIZE_OVER_SPEED being defined.
9554
9555Wed Jun 3 17:52:33 1998 Michael Meissner <meissner@cygnus.com>
9556
9557 * libc/string/memchr.c (memchr): Make -Os act the same as
9558 PREFER_SIZE_OVER_SPEED being defined.
9559 * libc/string/memcmp.c (memcmp): Ditto.
9560 * libc/string/memcpy.c (memcpy): Ditto.
9561 * libc/string/memset.c (memset): Ditto.
9562 * libc/string/strcat.c (strcat): Ditto.
9563 * libc/string/strchr.c (strchr): Ditto.
9564 * libc/string/strcmp.c (strcmp): Ditto.
9565 * libc/string/strcpy.c (strcpy): Ditto.
9566 * libc/string/strlen.c (strlen): Ditto.
9567 * libc/string/strncat.c (strncat): Ditto.
9568 * libc/string/strncmp.c (strncmp): Ditto.
9569 * libc/string/strncpy.c (strncpy): Ditto.
9570
9571Mon Jun 1 15:25:07 1998 Geoffrey Noer <noer@cygnus.com>
9572
9573 * libc/include/sys/itimer.h: remove
9574 * libc/include/sys/time.h: itimer stuff should be here
9575
9576Mon Jun 1 16:31:29 1998 Jeff Johnston <jjohnstn@cygnus.com>
9577
9578 * libc/stdio/vfprintf.c (cvt): Changed code to look at sign
9579 bit instead of comparing to 0 so -0.0 can be printed correctly.
9580
9581Sat May 30 09:33:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
9582
9583 * libc/stdlib/mprec.c (b2d): Inilialize d in non-VAX case too.
9584
9585Fri May 29 22:25:10 1998 Geoffrey Noer <noer@cygnus.com>
9586
9587 * libc/include/sys/unistd.h: fix sync() proto
9588 * libc/include/sys/fcntl.h: remove _close which is already
9589 defined in unistd.h.
9590 * libc/include/sys/time.h: add getitimer proto
9591
9592Fri May 29 16:10:28 1998 Geoffrey Noer <noer@cygnus.com>
9593
9594 * libc/string/strchr.c: convert arg to unsigned char
9595 * libc/include/stdlib.h: add protos for random, srandom
9596 * libc/include/sys/stat.h: add lstat proto
9597 * libc/include/sys/time.h: add setitimer proto
9598 * libc/include/sys/unistd.h: add readlink, symlink protos
9599 * libc/include/process.h: instead of including windows.h and using
9600 HANDLEs in sexec protos, just use void *s. Need to include
9601 sys/types.h.
9602
9603Fri May 29 03:04:29 1998 Geoffrey Noer <noer@cygnus.com>
9604
9605 * libc/include/sys/fcntl.h: add _close proto for Cygwin32
9606
9607Thu May 28 16:34:21 1998 Geoffrey Noer <noer@cygnus.com>
9608
9609 * libc/include/process.h: add secure exec protos
9610
9611Wed May 27 13:54:51 1998 Jeffrey A Law (law@cygnus.com)
9612
9613 * libc/stdlib/dtoa.c (_dtoa_r): Use "double_union" for variables
9614 which are accessed as both doubles and integers.
9615 * libc/stdlib/mprec.c (ulp, b2d, ratio): Likewise.
9616 * libc/stdlib/strtod.c (_strtod_r): Likewise.
9617 * libc/stdlib/mprec.h: Add "union double_union" and change
9618 word0/word1 macros to use it.
9619
9620Tue May 26 18:04:21 1998 Geoffrey Noer <noer@cygnus.com>
9621
9622 * libc/include/sys/signal.h: add __cplusplus wrapper
9623
9624Tue May 26 15:10:22 1998 Geoffrey Noer <noer@cygnus.com>
9625
9626 * libc/include/sys/utime.h: new generic file that gets replaced by
9627 libc/sys/SYSDIR/sys/utime.h on systems that support the utime
9628 function.
9629 * sys/cygwin32/sys/utime.h: use _EXFUN in utime proto
9630 * libc/include/time.h: remove duplicate utime proto
9631 * libc/include/utime.h: add comment
9632
9633Sun May 24 23:56:20 1998 Christopher Faylor <cgf@cygnus.com>
9634
9635 * libc/include/sys/time.h: Add missing include to
9636 allow use of _EXFUN. Remove times function that is
9637 already defined in times.h.
9638
9639Sun May 24 01:32:14 1998 Christopher Faylor <cgf@cygnus.com>
9640
9641 * libc/include/time.h: Fix typo in tzset.
9642
9643Fri May 22 17:00:48 1998 Geoffrey Noer <noer@cygnus.com>
9644
9645 * libc/include/sys/time.h: add missing Cygwin32 function protos
9646 * libc/include/sys/unistd.h: ditto
9647 * libc/include/time.h: ditto
9648
9649Wed May 20 20:35:11 1998 Geoffrey Noer <noer@cygnus.com>
9650
9651 * libc/sys/cygwin32/sys/param.h: add protected NULL def, remove
9652 FIXME.
9653 * libc/include/sys/types.h: add a new __MS_types__ section
9654 to define vm_offset_t, vm_size_t, int32_t et al, register_t,
9655 __BIT_TYPES_DEFINED__.
9656
9657Wed May 20 18:49:21 1998 Geoffrey Noer <noer@cygnus.com>
9658
9659 * libc/sys/cygwin32/sys/param.h: move here from winsup/include/sys
9660 since it overrides the one in libc/include/sys. Also, start
9661 including types.h.
9662
9663Wed May 20 14:45:40 1998 Geoffrey Noer <noer@cygnus.com>
9664
9665 * libm/math/Makefile.in: add s_signgam.o to obj list
9666
9667Tue May 19 11:57:11 1998 Jeff Johnston <jjohnstn@cygnus.com>
9668
9669 * libc/include/sys/reent.h (_REENT_INIT): Initialize current locale to "C".
9670
9671Mon May 18 22:36:12 1998 Christopher Faylor <cgf@cygnus.com>
9672
9673 * libc/include/sys/signal.h: cygwin32 exports sig{empty,add}set,
9674 so don't use defines.
9675
9676Mon May 18 19:01:02 1998 Michael Meissner <meissner@cygnus.com>
9677
9678 * libc/sys/d10v/crt0.S: Use correct stab for 16-bit ints.
9679
9680Sun May 17 18:40:32 1998 Frank Ch. Eigler <fche@cygnus.com>
9681
9682 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Accept a NULL
9683 _current_locale as default locale.
9684
9685Sat May 16 21:59:59 1998 Bob Manson <manson@charmed.cygnus.com>
9686
9687 * libc/stdlib/mallocr.c (mALLOc): Add explicit tests for
9688 insufficient space in a chunk.
9689
9690Tue May 12 14:41:01 1998 Jeff Johnston <jjohnstn@cygnus.com>
9691
9692 * configure.in (links): Added check for --enable-newlib-mb configure
9693 option which defines the MB_CAPABLE macro.
9694 * libc/locale/locale.c (_setlocale_r): Added support for setting
9695 LC_CTYPE to "C-JIS", "C-SJIS" or "C-EUCJP", when MB_CAPABLE is
9696 defined.
9697 * libc/stdlib/mbtowc_r.c (_mbtowc_r): New function _mbtowc_r that
9698 implements mbtowc() with multibyte support for JIS, SJIS, and EUC-JP.
9699 * libc/stdlib/wctomb_r.c (_wctomb_r): New function _wctomb_r that
9700 implements wctomb() with multibyte support for JIS, SJIS, and EUC-JP.
9701 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): New function _mbstowcs_r that
9702 implements mbstowcs() with multibyte support for JIS, SJIS, and EUC-JP.
9703 * libc/stdlib/wcstombs_r.c (_wcstombs_r): New function _wcstomb_r that implements
9704 wcstombs() with multibyte support for JIS, SJIS, and EUC-JP.
9705 * libc/stdlib/Makefile.in: Added new multibyte
9706 routines: _mbtowc_r(), _wctomb_r(), _mbstowcs_r(), and _wcstombs_r().
9707 * libc/include/stdlib.h: Added declarations of _mbtowc_r(), _wctomb_r(),
9708 _mbstowcs_r(), and _wcstombs_r().
9709 * libc/stdlib/mbctype.h: New internal header file that contains macros to test
9710 for JIS, SJIS, and EUC-JP characters.
9711 * libc/stdlib/mblen.c (mblen): Added code to call _mbtowc_r() if
9712 MB_CAPABLE defined.
9713 * libc/stdlib/mbtowc.c (mbtowc): Added code to call _mbtowc_r() if
9714 MB_CAPABLE defined.
9715 * libc/stdlib/wctomb.c (wctomb): Added code to call _wctomb_r() if
9716 MB_CAPABLE defined.
9717 * libc/stdlib/mbstowcs.c (mbstowcs): Added code to call _mbstowcs_r()
9718 if MB_CAPABLE defined.
9719 * libc/stdlib/wcstombs.c (wcstombs): Added code to call _wcstombs_r()
9720 if MB_CAPABLE defined.
9721 * libc/stdio/vfscanf.c (__svfscanf): Added multibyte tolerance
9722 to the format string processing when MB_CAPABLE.
9723 * libc/stdio/vfprintf.c (_VFPRINTF_R): Changed mbtowc() call to
9724 call _mbtowc_r().
9725
9726Tue May 5 16:07:23 1998 Nick Clifton <nickc@cygnus.com>
9727
9728 The following modifications are courtesy of Anthony Thompson,
9729 athompson@cambridge.arm.com:
9730 * libc/sys/arm/syscalls.c: Initialise and track stdin/out/err for
9731 boith RDI and RDP monitors.
9732 * libc/sys/arm/crt0.S: Call initialise_monitor_handles() for both
9733 RDI and RDP monitors.
9734
9735Wed Apr 29 15:22:15 1998 Jeff Johnston <jjohnstn@cygnus.com>
9736
9737 * configure.in (links): Added -DHAVE_GETTIMEOFDAY for arm and thumb.
9738 * libc/sys/arm/syscalls.c (_gettimeofday _times): Added functions.
9739 (_swiopen): Fixed open flags to treat write with append as just append.
9740 (_swilseek): Fixed lseek support to properly handle offsets from SEEK_END.
9741 * libc/sys/arm/sys/param.h: New file to override param.h for ARM.
9742
9743Fri Apr 24 18:00:09 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
9744
9745 * libc/machine/sh/memcpy.S (L_odddst, big endian version):
9746 When needing to transfer an initial 2-byte-word, store as
9747 two single bytes.
9748
9749Wed Apr 22 17:56:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
9750
9751 * libc/sys/sh/crt0.S (start): Handle __SH4_SINGLE_ONLY__ like
9752 __SH3E__ .
9753 * libc/machine/sh/memcpy.S (DELAYED_BRANCHES, SL): Likewise.
9754 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Likewise.
9755
9756Wed Apr 22 12:28:03 1998 Michael Meissner <meissner@cygnus.com>
9757
9758 * configure.in (target_cflags): If --enable-target-optspace, use
9759 -Os to compile newlib rather than -O2. Default to using -Os for
9760 d10v, d30v and m32r if --{enable,disable}-target-optspace is not
9761 used.
9762
9763Tue Apr 21 23:13:34 1998 Geoffrey Noer <noer@cygnus.com>
9764
9765 * libc/include/machine/setjmp.h: change sigsetjmp and
9766 siglongjmp definitions to use an array instead of a struct
9767 for __CYGWIN32__
9768
9769Tue Apr 14 11:47:47 1998 Doug Evans <devans@canuck.cygnus.com>
9770
9771 * libc/reent/impure.c (__ATTRIBUTE_IMPURE_DATA__): Fix spelling.
9772
9773Mon Apr 6 15:05:08 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
9774
9775 * libc/string/strxfrm.c: fix to get correct return value
9776
9777Wed Apr 1 16:09:05 1998 Nick Clifton <nickc@cygnus.com>
9778
9779 * libc/sys/arm/crt0.S: Set top of RAM to be 0x800000 for PE
9780 builds. Make mode change labels global so that they will be seen
9781 by the debugger.
9782
9783Wed Mar 18 09:45:10 1998 Nick Clifton <nickc@cygnus.com>
9784
9785 * configure.in (links): Do not use ARM debiugging protocols for PE
9786 builds.
9787
9788 * libc/sys/arm/syscalls.c (_sbrk): Add "_sbrk: " to error
9789 message.
9790
9791Fri Mar 13 11:24:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
9792
9793 * libc/stdio/findfp.c (__sinit): Made stdout default to
9794 line buffered mode as defined by ANSI.
9795
9796Tue Mar 10 11:41:26 1997 Bob Manson <manson@charmed.cygnus.com>
9797
9798 * libc/include/sys/itimer.h: New file.
9799
9800 * libc/signal/signal.c (__sigtramp_r,__sigtramp): New functions.
9801
9802Mon Mar 9 14:19:26 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
9803
9804 * libc/machine/sh/memcpy.S: (_memcpy): Fix for execute/memcpy-1.c
9805 failure.
9806
9807Fri Feb 27 13:56:10 1998 Michael Meissner <meissner@cygnus.com>
9808
9809 * libc/machine/d30v/setjmp.S (longjmp): Fix order of parallel
9810 insns.
9811
9812Wed Feb 25 09:29:54 1998 Nick Clifton <nickc@cygnus.com>
9813
9814 * libc/sys/arm/syscalls.c (_open): Add varags to conform to prototype.
9815
9816Tue Feb 24 18:00:13 1998 Michael Meissner <meissner@cygnus.com>
9817
9818 * libc/machine/d30v/{setjmp.S,Makefile.in}: New files for D30V
9819 support.
9820
9821 * libc/include/machine/setjmp.h: Add D30V support.
9822
9823 * configure.in (d30v-*): Add d30v machine directory.
9824
9825Mon Feb 23 09:32:58 1998 Mark Alexander <marka@cygnus.com>
9826
9827 * configure.in: Don't use libc/sys/sysmec for MN10300; it's
9828 been replaced with libgloss/mn10300.
9829
9830Sat Feb 21 17:44:43 1998 Geoffrey Noer <noer@cygnus.com>
9831
9832 * libc/stdlib/mallocr.c: remove __malloc_copy routine now that
9833 it is no longer needed.
9834
9835Thu Feb 19 16:15:10 1998 Geoffrey Noer <noer@cygnus.com>
9836
9837 * libc/include/sys/signal.h: add sigpause proto for Cygwin32
9838
9839Wed Feb 18 23:51:08 1998 Geoffrey Noer <noer@cygnus.com>
9840
9841 * libc/stdio/fdopen.c (fdopen): Make all writes go to the end of
9842 the file when O_APPEND is set, wherever the EOF happens to be at
9843 that time.
9844
9845Wed Feb 18 23:25:02 1998 Geoffrey Noer <noer@cygnus.com>
9846
9847 patch from cgf@bbc.com (Christopher Faylor):
9848 * libc/stdio/freopen.c (freopen): Conform to standard UNIX
9849 convention of closing fp prior to attempting to open the file
9850 argument. This allows correct operation when reopening
9851 stdin/stdout/stderr. Replaces last freopen.c patch.
9852
9853Wed Feb 18 16:27:40 1998 Geoffrey Noer <noer@cygnus.com>
9854
9855 patch from cgf@bbc.com (Christopher Faylor):
9856 * libc/stdio/freopen.c: freopen was not preserving the fd
9857 of the stream being operated on. This confuses programs that
9858 expect that the handles for stdout and stderr will be 1 and 2.
9859
9860Mon Feb 16 23:34:07 1998 Andrew Cagney <cagney@b1.cygnus.com>
9861
9862 * libc/sys/d10v/crt0.S (_start): Set PSW{SW} - select SPU.
9863
9864Thu Feb 12 15:09:20 1998 Ranjith Kumaran <ranjith@cygnus.com>
9865
9866 * libc/sys/go32/longjmp.S: Fix longjmp to not return 0.
9867
9868Wed Feb 11 17:50:45 1998 Jeff Johnston <jjohnstn@cygnus.com>
9869
9870 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Alignment code
9871 altered to not use a branch. Also added hint that last
9872 bclr in longjmp will likely result in branch.
9873
9874
9875Mon Feb 9 03:44:02 1998 Geoffrey Noer <noer@cygnus.com>
9876
9877 * libc/sys/cygwin32/crt0.c: add missing args to main() extern
9878
9879Fri Feb 6 16:32:32 1998 Nick Clifton <nickc@cygnus.com>
9880
9881 * libc/sys/sysnecv850/crt0.S (_start): Initialise _ctbp even for
9882 v850 builds.
9883
9884 * configure.in: Add -msmall-sld to target_cflags for v850 builds.
9885
9886Wed Feb 4 16:56:20 1998 Jeff Johnston <jjohnstn@cygnus.com>
9887
9888 * libc/machine/powerpc/setjmp.S (longjmp): Fixed code
9889 that loads FR14 to specify offset of 8 rather than 4
9890 so it loads from offset 96 (where setjmp stored it).
9891
9892Tue Feb 3 18:08:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
9893
9894 * libc/machine/sh/memcpy.S: (_memcpy): Update to
9895 latest version supplied by customer.
9896 * libc/machine/sh/memset.S (_memset): Ditto.
9897
9898Mon Feb 2 16:20:39 1998 Nick Clifton <nickc@cygnus.com>
9899
9900 * libc/sys/sysnecv850/Makefile.in (OFILES): Add link.o (for
9901 PR14730).
9902
9903Mon Feb 2 15:13:26 1998 Geoffrey Noer <noer@cygnus.com>
9904
9905 * libc/include/string.h: remove redefinition of ffs
9906
9907Wed Jan 28 13:30:14 1998 Geoffrey Noer <noer@cygnus.com>
9908
9909 * libc/include/sys/signal.h: include _ansi.h so _EXFUN is
9910 defined
9911
9912Wed Jan 28 10:38:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
9913
9914 * libc/machine/tic80/setjmp.S: Adding _setjmp to allow
9915 TI Libraries to link to libc.a
9916
9917Sat Jan 24 10:15:56 1998 Michael Meissner <meissner@cygnus.com>
9918
9919 * libc/include/sys/fcntl.h (_open,_fcntl): Add prototypes.
9920 * libc/include/sys/stat.h (_{,f}stat): Ditto.
9921 * libc/include/sys/wait.h (_wait): Ditto.
9922 * libc/include/sys/unistd.h (_close,_fork,_getpid): Ditto.
9923 (_link,_lseek,_read,_sbrk,_unlink,_write): Ditto.
9924
9925Fri Jan 23 11:32:10 1998 Michael Meissner <meissner@cygnus.com>
9926
9927 * libc/machine/d10v/setjmp.S: Change to new ABI. Add simple
9928 minded stabs so function name shows up when running the simulator
9929 with -t.
9930 * libc/sys/d10v/{crt0,trap}.S: Ditto.
9931
9932Thu Jan 22 15:57:14 1998 Fred Fish <fnf@cygnus.com>
9933
9934 * libc/sys/d10v/trap.S: Change syscalls to use trap 15.
9935 * libc/sys/d10v/crt0.S: Use R6 where we used to use R2.
9936 Use R5 where we used to use R3.
9937
9938Wed Jan 21 14:22:23 1998 Bill Moyer <billm@cygnus.com>
9939
9940 * libc/stdlib/getopt.c (getopt): replaced __progname
9941 with nargv[0] to improve portability to imbedded systems.
9942
9943Thu Jan 15 12:32:38 1998 Nick Clifton <nickc@cygnus.com>
9944
9945 * libc/sys/arm/syscalls.c (initialise_angel_handles): Applied
9946 patch supplied by Tont.Thompson@arm.com to fix the creation of the
9947 stdout file.
9948
9949Wed Jan 14 13:00:19 1998 Ian Lance Taylor <ian@cygnus.com>
9950
9951 * libc/stdio/tmpnam.c (worker): Generate a different file name
9952 each time.
9953
9954 * libc/posix/popen.c (popen): If __CYGWIN32__, and execing /bin/sh
9955 fails, try an execlp for sh.
9956
9957 * host/any (INCLUDES): If target_os is cygwin32, then add a -I
9958 option for the winsup include directory.
9959
9960Wed Jan 7 17:02:58 1998 Nick Clifton <nickc@cygnus.com>
9961
9962 * libc/sys/arm/syscalls.c: Applied patches for Angel based remote
9963 debugging interface from Tony.Thompson@arm.com.
9964
9965 * libc/sys/arm/crt0.S (_mainCRTStartup): ditto.
9966 * libc/sys/arm/swi.h: ditto.
9967
9968Tue Jan 6 14:15:10 1998 Geoffrey Noer <noer@cygnus.com>
9969
9970 * libc/sys/cygwin32/sys/dirent.h: add __d_dirhash field to
9971 DIR struct used for readdir hashes.
9972
9973Thu Jan 1 11:22:22 1998 Jeffrey A Law (law@cygnus.com)
9974
9975 * libc/string/strchr.c: Use "unsigned chars" as necessary.
9976
9977Wed Dec 31 04:25:30 1997 Jeffrey A Law (law@cygnus.com)
9978
9979 * libc/stdlib/mallocr.c (idx2binblock): Don't lose on 16bit
9980 integer targets.
9981
9982Sat Dec 13 15:11:06 1997 Ian Lance Taylor <ian@cygnus.com>
9983
9984 * libc/stdlib/mallocr.c (__malloc_copy): New function, compiled if
9985 INTERNAL_NEWLIB and __CYGWIN32__ and DEFINE_MALLOC.
9986 * libc/include/malloc.h: Add extern "C" if __cplusplus.
9987 (__malloc_copy): Declare.
9988
9989Wed Dec 10 12:15:54 1997 Ian Lance Taylor <ian@cygnus.com>
9990
9991 * libc/stdlib/mallocr.c: If INTERNAL_NEWLIB, include
9992 <sys/config.h>.
9993 (POINTER_UINT): Define.
9994 (DEFAULT_TRIM_THRESHOLD): Mark constants as long.
9995 (MALLOC_ALIGNMENT): Don't define if already defined.
9996 (malloc_extend_top): Cast pointers to POINTER_UINT, not unsigned
9997 long.
9998
9999Tue Dec 9 19:23:42 1997 Michael Meissner <meissner@cygnus.com>
10000
10001 * libc/string/memset.c (memset): Fiddle with code so that the long
10002 value being stored is not a stack value. Unroll storing longs 4
10003 times.
10004
10005Tue Dec 9 14:13:18 1997 Jeff Johnston <jjohnstn@cygnus.com>
10006
10007 * Reduce code size for libm modules.
10008 * libm/math/w_sqrt.c (sqrt): Remove call to kernel_standard
10009 and simply move code into sqrt.
10010 * libm/math/wrf_lgamma.c (lgammaf_r): Likewise.
10011 * libm/math/wr_lgamma.c (lgamma_r): Likewise.
10012 * libm/math/wrf_gamma.c (gammaf_r): Likewise.
10013 * libm/math/wr_gamma.c (gamma_r): Likewise.
10014 * libm/math/wf_sinh.c (sinfh): Likewise.
10015 * libm/math/w_sinh.c (sinh): Likewise.
10016 * libm/math/wf_scalb.c (scalbf): Likewise.
10017 * libm/math/w_scalb.c (scalb): Likewise.
10018 * libm/math/wf_remainder.c (remainderf): Likewise.
10019 * libm/math/w_remainder.c (remainder): Likewise.
10020 * libm/math/wf_pow.c (powf): Likewise.
10021 * libm/math/w_pow.c (pow): Likewise.
10022 * libm/math/wf_log10.c (log10f): Likewise.
10023 * libm/math/w_log10.c (log10): Likewise.
10024 * libm/math/wf_log.c (logf): Likewise.
10025 * libm/math/w_log.c (log): Likewise.
10026 * libm/math/w_lgamma.c (lgamma): Likewise.
10027 * libm/math/wf_lgamma.c (lgammaf): Likewise.
10028 * libm/math/wf_jn.c (jnf): Likewise.
10029 * libm/math/w_jn.c (jn): Likewise.
10030 * libm/math/wf_j1.c (j1f): Likewise.
10031 * libm/math/w_j1.c (j1): Likewise.
10032 * libm/math/wf_j0.c (j0f): Likewise.
10033 * libm/math/w_j0.c (j0): Likewise.
10034 * libm/math/wf_hypot.c (hypotf): Likewise.
10035 * libm/math/w_hypot.c (hypot): Likewise.
10036 * libm/math/wf_gamma.c (gammaf): Likewise.
10037 * libm/math/w_gamma.c (gamma): Likewise.
10038 * libm/math/wf_fmod.c (fmodf): Likewise.
10039 * libm/math/w_fmod.c (fmod): Likewise.
10040 * libm/math/wf_exp.c (expf): Likewise.
10041 * libm/math/w_exp.c (exp): Likewise.
10042 * libm/math/wf_cosh.c (coshf): Likewise.
10043 * libm/math/w_cosh.c (cosh): Likewise.
10044 * libm/math/wf_atanh.c (atanhf): Likewise.
10045 * libm/math/w_atanh.c (atanh): Likewise.
10046 * libm/math/wf_atan2.c (atan2f): Likewise.
10047 * libm/math/w_atan2.c (atan2): Likewise.
10048 * libm/math/wf_asin.c (asinf): Likewise.
10049 * libm/math/w_asin.c (asin): Likewise.
10050 * libm/math/wf_acosh.c (acoshf): Likewise.
10051 * libm/math/w_acosh.c (acosh): Likewise.
10052 * libm/math/wf_acos.c (asocf): Likewise.
10053 * libm/math/w_acos.c (acos): Likewise.
10054 * libm/math/wf_sqrt.c (sqrtf): Likewise.
10055 * libm/math/k_standard.c (_k_standard): Don't require SVID behavior
10056 for embedded systems.
10057
10058Mon Dec 8 12:12:58 1997 Ian Lance Taylor <ian@cygnus.com>
10059
10060 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from Doug
10061 Lea in case of a foreign sbrk.
10062
10063Fri Dec 5 23:27:28 1997 Ian Lance Taylor <ian@cygnus.com>
10064
10065 Incorporate Doug Lea's malloc:
10066 * libc/stdlib/mallocr.c: Completely replaced.
10067 * libc/stdlib/malloc.c: Document malloc_usable_size and memalign.
10068 (realloc): Remove.
10069 * libc/stdlib/calloc.c (calloc): Just call _calloc_r.
10070 * libc/stdlib/mstats.c: Document mallinfo, malloc_stats, and
10071 mallopt.
10072 (mallinfo, malloc_stats, mallopt): New functions.
10073 (_mstats_r): Just call _malloc_stats_r.
10074 * libc/stdlib/malign.c: New file.
10075 * libc/stdlib/mlock.c: New file.
10076 * libc/stdlib/msize.c: New file.
10077 * libc/stdlib/mtrim.c: New file.
10078 * libc/stdlib/realloc.c: New file.
10079 * libc/stdlib/valloc.c: New file.
10080 * libc/stdlib/malloc.h: Remove.
10081 * libc/stdlib/callocr.c: Remove.
10082 * libc/stdlib/Makefile.in (OFILES): Add cfreer.o, freer.o,
10083 malign.o, malignr.o, mallinfor.o, malloptr.o, mallstatsr.o,
10084 mlock.o, msize.o, msizer.o, mtrim.o, pvallocr.o, realloc.o,
10085 reallocr.o, valloc.o, vallocr.o.
10086 (CHEWOUT_FILES): Add mlock.def, mstats.def.
10087 (MALLOC_CFLAGS): New variable.
10088 (mallocr.o): New target, build from mallocr.c.
10089 (freer.o, reallocr.o, callocr.o, cfreer.o, malignr.o): Likewise.
10090 (vallocr.o, pvallocr.o, mallinfor.o, mallstatsr.o): Likewise.
10091 (msizer.o, malloptr.o): Likewise.
10092 (malign.o, mlock.o, msize.o, mtrim.o, realloc.o): New targets.
10093 (valloc.o): New target.
10094 * libc/stdlib/stdlib.tex: Include mlock.def and mstats.def.
10095 * libc/include/malloc.h: Declare struct mallinfo, and new
10096 routines.
10097 * libc/include/stdlib.h (cfree): Correct declaration.
10098
10099Tue Dec 2 10:12:16 1997 Nick Clifton <nickc@cygnus.com>
10100
10101 * libc/include/machine/setjmp.h: Add support for Thumb target.
10102
10103 * libc/include/machine/ieeefp.h: Add support for Thumb target.
10104
10105 * configure.in (links): Add support for Thumb target.
10106
10107Wed Nov 26 09:56:17 1997 Nick Clifton <nickc@cygnus.com>
10108
10109 * libc/sys/arm/setjmp.S: Updated with version from branch.
10110
10111Thu Nov 20 01:21:43 1997 Geoffrey Noer <noer@cygnus.com>
10112
10113 * libc/include/stdio.h: add POSIX-required define L_ctermid
10114 for ctermid
10115
10116Wed Nov 19 16:11:40 1997 Michael Meissner <meissner@cygnus.com>
10117
10118 * configure.in (d30v-*-*): Define ABORT_MESSAGE, SMALL_MEMORY, in
10119 addition to MISSING_SYSCALL_NAMES.
10120
10121Mon Nov 17 20:05:05 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
10122
10123 * libc/include/sys/config.h: (UINT_MAX, for D10V): Make unsigned.
10124
10125Mon Nov 10 22:26:55 1997 Geoffrey Noer <noer@cygnus.com>
10126
10127 * libc/include/string.h: change strsignal proto to return
10128 a char *. This eliminates compile problems in gdb resulting
10129 from gdb's definition of strsignal in defs.h.
10130
10131Mon Nov 10 17:11:08 1997 Geoffrey Noer <noer@cygnus.com>
10132
10133 * libc/sys/cygwin32/sys/utime.h: new (moved here from
10134 winsup/include) so as not to conflict with the one in
10135 libc/include.
10136 * libc/include/string.h: add protos for strsignal, strtosigno
10137
10138Mon Nov 10 13:49:54 1997 Michael Meissner <meissner@cygnus.com>
10139
10140 * libc/include/sys/config.h: Define __IEEE_BIG_ENDIAN if d30v.
10141
10142 * configure.in (d30v-*-*): Add configuration.
10143
10144Thu Oct 30 14:01:23 1997 Nick Clifton <nickc@cygnus.com>
10145
10146 * configure.in (links): Add -DARM_RD[P|I]_MONITOR to target_cflags
10147 to select which kind of debug monitor is in use for an ARM target.
10148
10149 * libc/sys/arm/crt0.S: New version: Supports Thumb startups and
10150 Angel and Demon debug monitors. Part of this code was supplied by
10151 Tony Thompson at ARM: athompso@arm.com.
10152
10153Fri Oct 24 18:57:05 1997 Jeffrey A Law (law@cygnus.com)
10154
10155 * strncat.c (strncat): Don't call strncpy; strncay has the wrong
10156 semantics when the count is greater than the length of the second
10157 source string.
10158
10159Thu Oct 23 01:37:41 1997 Geoffrey Noer <noer@cygnus.com>
10160
10161 * libc/include/sys/signal.h: reorder CYGWIN32 signal numbers
10162 * libc/include/sys/unistd.h: add protos for usleep, truncate,
10163 truncate and ftruncate take off_t, not size_t
10164
10165Tue Oct 21 18:42:00 1997 Jim Wilson <wilson@cygnus.com>
10166
10167 * libc/string/strcat.c (strcat): Add missing comment end.
10168 * libc/string/strncat.c (strncat): Likewise.
10169
10170Tue Oct 21 17:23:34 1997 Nick Clifton <nickc@cygnus.com>
10171
10172 * configure.in (links): Define PREFER_SIZE_OVER_SPEED for v850
10173 targets.
10174 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Add space
10175 optimised version which is selected if PREFER_SIZE_OVER_SPEED is
10176 defined.
10177 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
10178 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
10179 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
10180
10181Mon Oct 13 15:12:35 1997 Ian Lance Taylor <ian@cygnus.com>
10182
10183 * libc/include/sys/param.h (BIG_ENDIAN): Define if __i386__.
10184 (LITTLE_ENDIAN, BYTE_ORDER): Likewise.
10185
10186Thu Oct 9 13:54:44 1997 Doug Evans <dje@canuck.cygnus.com>
10187
10188 * libc/machine/i386/setjmp.S: New file.
10189 * libc/machine/i386/Makefile.in: Delete COPYOFILES.
10190 (OFILES): Add setjmp.o.
10191 (setjmp.o): Add rule for.
10192 * configure.in: Don't set machine_dir for *-*-{go32,sco*,cygwin32}.
10193
10194Tue Oct 7 14:01:29 1997 Bill Moyer (billm@cygnus.com)
10195 Jeffrey A Law (law@cygnus.com)
10196
10197 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Reimplement to run faster.
10198 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
10199 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
10200 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
10201
10202Mon Oct 6 14:07:59 1997 Nick Clifton <nickc@cygnus.com>
10203
10204 * libc/sys/sysnecv850/Makefile.in (crt0.o trap.o): Explicit
10205 rules.
10206
10207 * libc/include/sys/config.h: Use __v850 to select v850
10208 endianness.
10209
10210 * libc/include/machine/setjmp.h: Use __v850 to select v850 jump
10211 buffer size.
10212
10213 * libc/include/machine/ieeefp.h: Use __v850 to select v850
10214 endianness.
10215
10216Thu Sep 25 14:11:37 1997 Geoffrey Noer <noer@cygnus.com>
10217
10218 * libc/stdlib/setenv.c: change unsetenv definition to match
10219 style of setenv (with _DEFUN). The string should be a const.
10220 * libc/include/stdlib.h: unsetenv proto should return void.
10221
10222Tue Sep 23 18:17:20 1997 Geoffrey Noer <noer@cygnus.com>
10223
10224 * libc/include/stdlib.h: define unsetenv proto for __CYGWIN32__
10225
10226Thu Sep 18 12:50:15 1997 Angela Marie Thomas (angela@cygnus.com)
10227
10228 * libc/stdio/glue.h: remove.
10229 * libc/stdio/findfp.c, libc/stdio/fwalk.c: remove #include "glue.h"
10230 * libc/stdio/Makefile.in: remove glue.h dependencies
10231
10232Wed Sep 17 17:42:27 1997 Nick Clifton <nickc@cygnus.com>
10233
10234 * libc/sys/sysnecv850/crt0.S: Created V850e version.
10235
10236Tue Sep 9 10:40:57 1997 Doug Evans <dje@canuck.cygnus.com>
10237
10238 * configure.in (target_cpu): Add `arc'.
10239
10240Tue Sep 9 10:40:42 1997 Joel Sherrill <joel@OARcorp.com>
10241
10242 * newlib/configure.in (*-*-rtems*): Add -DSIGNAL_PROVIDED and
10243 -DREENTRANT_SYSCALLS_PROVIDED to the target_cflags.
10244 * newlib/libc/include/sys/errno.h: Add ENOTSUP.
10245 * newlib/libc/reent/reent.c: Add _wrapup_reent.
10246 * newlib/libc/sys/rtems/sys/types.h: Avoid redefinitions for go32.
10247
10248Sun Sep 7 16:41:41 1997 Gavin Koch <gavin@cygnus.com>
10249
10250 * libc/machine/mips/setjmp.S: Handle mips16 builds.
10251
10252Thu Aug 21 20:05:38 1997 Ian Lance Taylor <ian@cygnus.com>
10253
10254 * libc/include/stdio.h (siprintf): Declare.
10255
10256Mon Aug 18 11:19:13 1997 Nick Clifton <nickc@cygnus.com>
10257
10258 * libc/sys/sysnecv850/Makefile.in (.c.o): Add rule that includes
10259 TARGET_CFLAGS and NEWLIB_FLAGS.
10260
10261Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
10262
10263 * configure.in (links): Add support for v850ea target.
10264
10265Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
10266
10267 * configure.in (links): Add support for v850e target.
10268
10269Wed Aug 13 19:16:54 1997 Nick Clifton <nickc@cygnus.com>
10270
10271 * libc/sys/sysnecv850/crt0.S: Remove initial setting of r0 to 0.
10272
10273Mon Aug 11 15:49:54 1997 Doug Evans <dje@canuck.cygnus.com>
10274
10275 * configure.in (arc-*-*): Add support for.
10276 * libc/include/machine/ieeefp.h (__arc__): Add support for the ARC.
10277
10278Fri Jul 25 17:37:41 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
10279
10280 * libc/sys/sh/crt0.S (start): Add fpscr initialization for SH4.
10281
10282Thu Jul 24 18:32:17 1997 Geoffrey Noer <noer@cygnus.com>
10283
10284 * libc/stdlib/bsearch.c (bsearch): remove last unneeded
10285 comparison which accesses invalid memory when the key is
10286 larger than the last member of the array.
10287 * libc/include/machine/setjmp.h: add sigsetjmp, siglongjmp
10288 for CYGWIN32
10289 * libc/include/sys/unistd.h: add _POSIX defines for CYGWIN32
10290
10291Tue Jul 22 16:03:06 1997 Ian Lance Taylor <ian@cygnus.com>
10292
10293 * libc/include/stdlib.h (realpath): Declare if __CYGWIN32__ and
10294 not _STRICT_ANSI.
10295
10296Thu Jul 10 15:11:52 1997 Doug Evans <dje@canuck.cygnus.com>
10297
10298 * libm/math/k_standard.c (__kernel_standard): Call fflush(stdout)
10299 ifndef _USE_WRITE, instead of ifdef _USE_WRITE.
10300
10301Thu Jul 10 16:00:09 1997 Mike Meissner <meissner@cygnus.com>
10302
10303 * libc/machine/tic80/setjmp.S (setjmp,longjmp): Use ld.d and st.d
10304 to load/store memory.
10305
10306Mon Jul 7 17:38:17 1997 Ian Lance Taylor <ian@cygnus.com>
10307
10308 * libc/include/sys/fcntl.h: Define _O_* symbols with leading
10309 underscores if _WIN32.
10310
10311Wed Jul 2 10:07:20 1997 Doug Evans <dje@canuck.cygnus.com>
10312
10313 * libm/math/k_standard.c (__kernel_standard): Delete reentrancy
10314 support ifdef _USE_WRITE missed in last change.
10315 From Anders Blomdell <anders.blomdell@control.lth.se>.
10316
10317Wed Jun 25 10:18:49 1997 Doug Evans <dje@canuck.cygnus.com>
10318
10319 * libc/stdio/tmpnam.c (worker): Handle _open_r being stubbed out.
10320 (_tmpnam_r, _tempnam_r): Update.
10321
10322Wed Jun 25 00:16:55 1997 Mark Alexander <marka@cygnus.com>
10323
10324 * libc/machine/sparc/setjmp.S: New file.
10325 * libc/machine/sparc/Makefile.in: Add setjmp.
10326 * libc/include/machine/setjmp.h: Increase jmpbuf size for sparc.
10327
10328Tue Jun 24 23:27:38 1997 Mark Alexander <marka@cygnus.com>
10329
10330 * libc/include/machine/setjmp.h: Use __TIC80__ instead of __tic80__.
10331
10332Tue Jun 24 14:53:40 1997 Doug Evans <dje@canuck.cygnus.com>
10333
10334 From Joel Sherrill <joel@oarcorp.com>.
10335 * libc/stdlib/getenv.c (_findenv): Avoid dereferencing null `environ'.
10336
10337 Add rtems support. From Joel Sherrill <joel@oarcorp.com>.
10338 * configure.in: Recognize *-*-rtems*.
10339 * libc/sys/rtems/{Makefile.in,crt0.c,dummysys.c}: New files.
10340 * libc/sys/rtems/sys/{features.h,sched.h,siginfo.h,signal.h,
10341 time.h,times.h,types.h}: New files.
10342 * libc/sys/rtems/include/{limits.h,signal.h,time.h}. New files.
10343
10344Fri Jun 20 11:13:16 1997 Geoffrey Noer <noer@cygnus.com>
10345
10346 patch from sos@prospect.com.ru (Sergey Okhapkin):
10347 * include/sys/wait.h: correct operator precidence bug
10348 in WIFSIGNALED
10349
10350Wed Jun 18 22:08:27 1997 Geoffrey Noer <noer@cygnus.com>
10351
10352 * libc/include/stdlib.h: remove unsetenv proto since it conflicts
10353 with newlib's unsetenv function
10354 * libc/sys/cygwin32/sys: new directory for includes
10355 * libc/sys/cygwin32/sys/dirent.h: move cygwin32's dirent.h
10356 here from winsup/include/sys
10357
10358Mon Jun 16 21:02:22 1997 Geoffrey Noer <noer@cygnus.com>
10359
10360 * libc/include/sys/unistd.h: _exit should only be
10361 labelled noreturn when not __CYGWIN32__
10362 * libc/include/stdlib.h: for __CYGWIN32__, add proto for unsetenv
10363 * libc/include/sys/signal.h: add SIGIO to _WIN32 list and
10364 increment NSIG
10365
10366Thu Jun 12 18:52:41 1997 Ian Lance Taylor <ian@cygnus.com>
10367
10368 * libc/include/sys/time.h: Only define timeval and timezone if
10369 _GNU_H_WINDOWS32_SOCKETS is not defined.
10370 * libc/include/sys/stat.h: If _WIN32, define _S_IFMT, etc.
10371
10372Wed Jun 11 09:46:26 1997 Jeffrey A Law (law@cygnus.com)
10373
10374 * libc/machine/mn10200/setjmp.S: Implement setjmp/longjmp
10375 * libc/machine/mn10300/setjmp.S: Likewise.
10376
10377 * libc/sys/sysmec/crt0.S: Use "call" instead of "calls" for
10378 the mn10300 (more relaxing opportunities).
10379
10380Tue Jun 10 17:24:45 1997 Mike Meissner <meissner@cygnus.com>
10381
10382 * configure.in (powerpc*-*-{eabi,elf,linux,rtems,sysv,solaris}):
10383 Build libraries with -mstrict-align.
10384
10385Fri Jun 6 14:07:59 1997 Ian Lance Taylor <ian@cygnus.com>
10386
10387 * libc/string/strlwr.c: New file.
10388 * libc/string/strupr.c: New file.
10389 * libc/include/string.h: Declare strlwr and strupr.
10390 * libc/string/Makefile.in (OFILES): Add strlwr.o and strupr.o.
10391 (CHEWOUT_FILES): Add strlwr.def and strupr.def.
10392 (strlwr.o, strupr.o): New targets.
10393 * libc/string/strings.tex: Include strlwr and strupr docs.
10394
10395 * libc/include/sys/types.h: Don't define u_char, et. al., if
10396 _GNU_H_WINDOWS32_SOCKETS is defined. Likewise for fd_set,
10397 et. al. Make FD_SETSIZE default 64 rather than 60. Define
10398 _types_fd_set rather than fd_set, and define fd_set as a macro.
10399
10400 * libc/include/malloc.h: New file.
10401
10402 * libc/include/string.h: Define strcmpi, stricmp, strncmpi, and
10403 strnicmp if they are not already defined.
10404
10405 * libc/include/time.h: If __CYGWIN32__, declare tzset and define
10406 _timezone, _daylight, and _tzname.
10407
10408Wed Jun 4 12:51:16 1997 Doug Evans <dje@canuck.cygnus.com>
10409
10410 * configure.in: Sort all configuration tables.
10411
10412 From Joel Sherrill <joel@oarcorp.com>
10413 * Makefile.in (stmp-targ-include): Copy $(sys_dir)/include/*.h.
10414
10415Tue Jun 3 14:47:46 1997 Ian Lance Taylor <ian@cygnus.com>
10416
10417 * libc/include/sys/signal.h: Don't include <sys/types.h>. Just
10418 use int when declaring kill.
10419
10420 * libc/include/sys/timeb.h: New file.
10421
10422Mon Jun 2 12:06:58 1997 Geoffrey Noer <noer@cirdan.cygnus.com>
10423
10424 * libc/include/sys/time.h: add itimer support for Cygwin32
10425
10426Mon May 19 11:56:46 1997 Mike Meissner <meissner@cygnus.com>
10427
10428 * libc/stdlib/abort.c (abort): If ABORT_MESSAGE is defined, write
10429 out a message that abort was called to stderr.
10430
10431Fri May 16 15:02:59 1997 Bob Manson <manson@charmed.cygnus.com>
10432
10433 * libc/sys/sysmec/fstat.c (_fstat): Set st_blksize to 4096
10434 so that libio doesn't freak.
10435
10436 * libc/sys/sysmec/sbrk.c (_sbrk): The argument is a size_t, not
10437 int.
10438
10439 * libc/stdlib/mallocr.c (_morecore_r): Use size_t for
10440 memory sizes, not int.
10441
10442Wed May 14 21:16:58 1997 Bob Manson <manson@charmed.cygnus.com>
10443
10444 * libm/math/ef_hypot.c: Use long constants where
10445 appropriate.
10446 * libm/math/ef_sqrt.c: Ditto.
10447
10448 * libc/sys/sysmec/times.c(_times): Change to times.
10449
10450 * libc/sys/sysmec/read.c(_read): The third argument is
10451 size_t.
10452 * libc/sys/sysmec/write.c (_write): Ditto.
10453
10454 * libc/sys/sysmec/lseek.c: Include unistd.h for off_t.
10455 (_lseek): It's off_t for the second argument.
10456
10457Wed May 14 15:23:36 1997 Mike Meissner <meissner@cygnus.com>
10458
10459 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN): Define here,
10460 as well as machine/ieeefp.h.
10461
10462Thu May 8 15:47:25 1997 Geoffrey Noer <noer@cygnus.com>
10463
10464 * libc/include/sys/signal.h: add signal protos for winsup
10465 functions (when __CYGWIN32__), include types.h
10466 * libc/include/sys/types.h: Change __go32_types__ internal
10467 define to __MS_types__ since it's used for more than just
10468 GO32 configs. Define this if GO32, __MSDOS__, or _WIN32 are
10469 defined.
10470 * libc/include/sys/unistd.h: add ftruncate proto for
10471 winsup functions (when __CYGWIN32__)
10472
10473Fri Apr 25 10:10:16 1997 Doug Evans <dje@canuck.cygnus.com>
10474
10475 * libc/sys/h8300hms/sbrk.c (stack_ptr): Add definition.
10476
10477Thu Apr 24 15:46:51 1997 Mike Stump <mrs@cygnus.com>
10478
10479 * libc/include/machine/setjmp.h: Add tic80 support.
10480 * libc/machine/tic80/setjmp.S: Likewise.
10481
10482Tue Apr 22 16:54:40 1997 Geoffrey Noer <noer@pizza.cygnus.com>
10483
10484 * libc/sys/cygwin32/crt0.c: Add reference to main() so we can
10485 link programs from libraries only (such as in the X11
10486 distribution)
10487
10488Mon Apr 21 15:02:12 1997 Fred Fish <fnf@cygnus.com>
10489
10490 * libc/sys/arm/syscalls.c (signal): Remove stub, signal()
10491 supplied elsewhere in newlib.
10492
10493Mon Apr 14 16:25:55 1997 Ian Lance Taylor <ian@cygnus.com>
10494
10495 * Makefile.in (INSTALL): Change install.sh to install-sh.
10496
10497Fri Apr 11 17:04:02 1997 Jason Molenda (crash@godzilla.cygnus.co.jp)
10498
10499 * README: update WWW address for on-line documentation.
10500
10501Wed Apr 9 00:38:13 1997 Geoffrey Noer <noer@cygnus.com>
10502
10503 * libc/include/sys/signal.h: for _WIN32, define SIGCONT and
10504 increment NSIG
10505
10506Mon Apr 7 23:54:00 1997 Jeffrey A Law (law@cygnus.com)
10507
10508 * libc/sys/sysmec/crt0.S: Update for new calling conventions on the
10509 mn10300.
10510 * libc/sys/sysmec/trap.S: Don't compare a register to itself.
10511
10512Tue Mar 25 08:47:43 1997 Jeffrey A Law (law@cygnus.com)
10513
10514 * libc/sys/arm/syscalls.c: Fix/add stack/heap collision detection.
10515 * libc/sys/d10v/syscalls.c: Likewise.
10516 * libc/sys/h8300hms/sbrk.c: Likewise.
10517 * libc/sys/h8500hms/syscalls.c: Likewise.
10518 * libc/sys/m88kbug/syscalls.c: Likewise.
10519 * libc/sys/sh/syscalls.c: Likewise.
10520 * libc/sys/sysmec/sbrk.c: Likewise.
10521 * libc/sys/sysnecv850/sbrk.c: Likewise.
10522 * libc/sys/w65/syscalls.c: Likewise.
10523 * libc/sys.tex: Update sbrk sample code to include stack/heap collision.
10524
10525Tue Mar 18 14:14:34 1997 Jeffrey A Law (law@cygnus.com)
10526
10527 * libc/sys/sysmec/trap.S: Use "syscall" to trigger an
10528 emulated syscall instead of "trap".
10529
10530Fri Mar 14 11:26:13 1997 Michael Meissner <meissner@cygnus.com>
10531
10532 * libc/sys/d10v/trap.S (__trap0): Use trap 15 for system calls,
10533 not trap 0.
10534
10535Sun Mar 9 23:27:04 1997 Doug Evans <dje@seba.cygnus.com>
10536
10537 * configure.in (m32r-*-*): Add -msdata=sdata to target_cflags.
10538
10539Sat Mar 8 09:05:01 1997 Fred Fish <fnf@cygnus.com>
10540
10541 * libc/machine/arm/Makefile.in: Fix comment, is for "arm"
10542 not "sh".
10543 * libc/machine/m32r/Makefile.in: Fix comment, is for "m32r"
10544 not "d10v".
10545 * libc/sys/tic80/crt0.c: New file for TIc80.
10546 * libc/sys/tic80/Makefile.in: New file for TIc80.
10547 * libc/machine/tic80/Makefile.in: New file for TIc80.
10548
10549Wed Mar 5 11:32:12 1997 J.T. Conklin <jtc@cygnus.com>
10550
10551 * libc/machine/sh/memcpy.S: New file.
10552 * libc/machine/sh/memset.S: New file.
10553 * libc/machine/sh/Makefile.in (OFILES): Add memcpy.o and memset.o
10554
10555Thu Feb 27 16:27:55 1997 Fred Fish <fnf@cygnus.com>
10556
10557 * libc/include/machine/ieeefp.h (_IEEE_LITTLE_ENDIAN): Define
10558 for TIc80.
10559
10560Wed Feb 26 13:43:39 1997 Jeffrey A Law (law@cygnus.com)
10561
10562 * libc/sys/sysmec/crt0.S: Handle new calling conventions for
10563 the mn10200.
10564
10565Wed Feb 26 07:11:03 1997 Michael Meissner <meissner@cygnus.com>
10566
10567 * libc/machine/powerpc/setjmp.S (longjmp): Correct return status
10568 (patch from andrew@pogo.WV.TEK.COM).
10569
10570Fri Feb 14 11:49:28 1997 Doug Evans <dje@canuck.cygnus.com>
10571
10572 * libc/machine/m32r/setjmp.S (setjmp): Save r12.
10573 (longjmp): Restore r12. Fix code that handles returning 1 if passed 0.
10574
10575Mon Feb 10 10:02:34 1997 Fred Fish <fnf@cygnus.com>
10576
10577 * configure.in: Add cases for "tic80" to set machine_dir,
10578 sys_dir, and syscall_dir.
10579
10580Sun Feb 2 17:57:15 1997 Geoffrey Noer <noer@cygnus.com>
10581
10582 * libc/sys/cygwin32/crt0.c: initialize floating pt registers
10583
10584Wed Jan 29 15:57:38 1997 Geoffrey Noer <noer@cygnus.com>
10585
10586 * libc/include/math.h: avoid conflicts with ANSI C++ <exception>
10587
10588Mon Jan 27 12:50:01 1997 Doug Evans <dje@seba.cygnus.com>
10589
10590 * libc/machine/m32r/setjmp.S: Use proper comment delimiter.
10591 Use proper constant prefix.
10592
10593Fri Jan 24 10:59:04 1997 Jeffrey A Law (law@cygnus.com)
10594
10595 * libc/sys/sysmec/*.c: Don't cast args to syscall to integers,
10596 that loses on the mn10200 where ints and pointers are different
10597 sizes.
10598
10599Tue Jan 14 13:29:55 PST 1997 Jeremy Allison <jra@cygnus.com>
10600
10601 * configure.in: Added -DSIGNAL_PROVIDED to cygwin32
10602 target as signal is provided in winsup.
10603
10604Tue Jan 14 11:10:13 1997 Jeremy Allison <jra@cygnus.com>
10605
10606 * libc/include/sys/process.h: Corrected const definitions
10607 in spawn functions. Added cwait.
10608
10609Thu Jan 2 12:22:41 1997 Jeffrey A Law (law@cygnus.com)
10610
10611 * libc/include/machine/ieeefp.h: mn10200 uses 16bit ints and 32bit
10612 doubles.
10613 * libc/include/sys/config.h: Similarly.
10614
10615Tue Dec 31 18:36:14 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10616
10617 * configure.in (sparc-sun-sunos*): Add -DSIGNAL_PROVIDED to the
10618 target_cflags.
10619 (i[3456]86-*-sco*): Ditto.
10620
10621 * libc/signal/Makefile.in (OFILES): Add signal.o.
10622 (CFILES): Add signal.c.
10623
10624 * libc/signal/raise.c (_raise_r): Only compile code if
10625 SIGNAL_PROVIDED is defined.
10626
10627 * libc/signal/signal.c: Redo whole file so that it works with
10628 current newlib. Use _kill_r if no signal handler provided.
10629
10630 * libc/sys/{go32,sparc64,sysmec}/Makefile.in: Delete raise and
10631 signal stubs.
10632 * libc/sys/sysvnecv70/Makefile.in: Ditto.
10633 * libc/sys/sysnecv850/Makefile.in: Ditto.
10634
10635 * libc/sys/{go32,sparc64}/signal.c: Delete, stub no longer used.
10636 * libc/sys/sysmec/{raise,signal}.c: Ditto.
10637 * libc/sys/sysvnecv70/signal.s: Ditto.
10638 * libc/sys/sysnecv850/raise.c: Ditto.
10639
10640 * libc/sys/sysnecv850/kill.c (_kill): Encode signal # so that
10641 simulator and debugger can tell the difference between a signal
10642 being raised and an exit system call.
10643
10644 * NEWS: Document software signals being provided.
10645
10646Mon Dec 23 11:54:19 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10647
10648 * libc/reent/impure.c (_REENT_ATTR): Delete in favor of
10649 __ATTRIBUTE_IMPURE_PTR__. Move PowerPC definition to
10650 include/sys/config.h.
10651 (impure_data): Use __ATTRIBUTE_IMPURE_DATA__ for attributes.
10652 Change from 'inpure_data'.
10653 (_impure_ptr): Use __ATTRIBUTE_IMPURE_PTR__ for attributes. Use
10654 &impure_data, not &inpure_data.
10655
10656 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): If PowerPC
10657 and and System V ABI, define so that _impure_ptr lives in the
10658 .sdata section.
10659
10660Sun Dec 22 23:33:05 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10661
10662 * libc/include/sys/reent.h (__ATTRIBUTE_IMPURE_PTR__): Define as
10663 nothing if not defined.
10664 (_impure_ptr): Use __ATTRIBUTRE_IMPURE_PTR__, so a machine can set
10665 its attributes.
10666
10667 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__):
10668
10669Wed Dec 18 10:12:04 1996 Jeffrey A Law (law@cygnus.com)
10670
10671 * libc/sys/sysmec/crt0.S: Fix mn10200 stuff.
10672 * libc/sys/sysmec/trap.s: Handle mn10200 too.
10673 * libc/machine/mn10200/setjmp.S: Fix mn10200 stuff.
10674
10675Mon Dec 16 10:05:36 1996 Jeffrey A Law (law@cygnus.com)
10676
10677 * libc/sys/sysmec/crt0.S: Handle mn10200 too.
10678
10679Fri Dec 13 11:05:20 1996 Jeremy Allison <jra@cygnus.com>
10680
10681 * libc/include/sys/errno.h: Added net errno's.
10682
10683Wed Dec 11 16:24:25 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10684
10685 * libc/misc/ffs.c: New file to support ffs function for GCC test
10686 gcc.c-torture/execute/960909-1.c.
10687
10688 * libc/misc/Makefile.in ({O,CHEWOUT_}FILES): Add ffs.
10689
10690Sat Dec 7 10:12:37 1996 Jeffrey A Law (law@cygnus.com)
10691
10692 * libc/sys/sysmec/crt0.S: Handle underscore prefix.
10693 * libc/sys/sysmec/trap.S: Likewise.
10694
10695Fri Dec 6 15:08:49 1996 Jim Wilson <wilson@cygnus.com>
10696
10697 * configure.in (mips*vr4300*-*-*): Delete use of sys/vr4300.
10698 * libc/sys/vr4300/{Makefile.in,crt0.S,syscalls.c}: Delete.
10699
10700Wed Dec 4 16:25:27 1996 Jeffrey A Law (law@cygnus.com)
10701
10702 * libc/sys/sysmec/signal.c: Dummy file.
10703 * libc/sys/sysmec/Makefile.in: Build it.
10704
10705Wed Nov 27 13:10:18 1996 Ian Lance Taylor <ian@cygnus.com>
10706
10707 * libc/machine/mips/machine/regdef.h: Define pc as $pc for
10708 mips16.
10709
10710Mon Nov 25 09:58:28 1996 Jeffrey A Law (law@cygnus.com)
10711
10712 * libc/sys/sysmec/{crt0.S,trap0.S}: Actually try to implement
10713 c-startup and simulator traps.
10714
10715
10716 * libc/sys/sysmec/crt0.S: Remove bogus '_' symbol prefixing
10717 * libc/sys/sysmec/trap0.S: Likewise.
10718
10719Sat Nov 23 09:01:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10720
10721 * libc/stdlib/mallocr.c (ROUND_TO): If SMALL_MEMORY, set to 0x7 to
10722 round to double word alignment.
10723 (_morecore_r): Combine rounding up pointers to both ROUND_TO and 8
10724 byte alignment.
10725
10726 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Define if d10v.
10727
10728 * libc/sys/d10v/syscalls.c (_sbrk): Add better checks for running
10729 out of memory.
10730
10731Mon Nov 18 13:08:26 1996 Jeffrey A Law (law@cygnus.com)
10732
10733 * configure.in: Handle mn10200 and mn10300.
10734 * libc/include/machine/{ieeefp.h,setjmp.h}: Likewise.
10735 * libc/include/sys/config.h: Likewise.
10736 * libc/sys/sysmec: New directory for mec stuff.
10737 * libc/machine/mn10300: New directory for mn10300 stuff.
10738 * libc/machine/mn10200: Similarly for mn10200 stuff.
10739
10740Fri Nov 15 16:41:41 1996 Doug Evans <dje@canuck.cygnus.com>
10741
10742 * libc/sys/arm/crt0.S: Use .text, not .section .text.
10743 * libc/sys/arm/syscalls.c: Rewrite to set errno properly.
10744
10745 * libc/include/sys/types.h (_ST_INT32): New macro, local to file.
10746 (nlink_t): Change type from unsigned int to unsigned short.
10747 (mode_t): Ensure size is 32 bits even if int is 16.
10748 * libc/include/sys/stat.h (st_nlink): Change type to nlink_t.
10749 (st_spare[123]): Change type from int to long.
10750
10751Fri Nov 15 11:41:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10752
10753 * libc/sys/d10v/syscalls.c (_sbrk): Align initial heap_end to 8
10754 byte boundary.
10755
10756 * configure.in (d10v*): Define SMALL_MEMORY.
10757
10758Mon Nov 11 10:30:44 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10759
10760 * configure.in (powerpc*-{eabi,elf,linux,rtem,sysv,solaris}*): Add
10761 -mrelocatable-lib and -mno-eabi flags.
10762
10763Mon Nov 11 09:01:39 1996 Jeffrey A Law (law@cygnus.com)
10764
10765 * libc/machine/h8300/memcpy.S: Fix comments to reflect reality.
10766 Fix handling of mis-aligned source operand when both the
10767 destination & length are properly aligned.
10768
10769Wed Oct 30 09:41:11 1996 Jeffrey A Law (law@cygnus.com)
10770
10771 * libc/sys/sysnecv850/Makefile.in (OFILES): Add
10772 times.o, time.o and gettime.o
10773 * libc/sys/sysnecv850/{time.c, times.c, gettime.c}: New files.
10774 * libc/sys/sysnecv850/sys/syscall.h: Add SYS_times and
10775 SYS_gettimeofday.
10776
10777Tue Oct 29 13:40:09 1996 Jeffrey A Law (law@cygnus.com)
10778
10779 * libc/sys/sysnecv850/Makefile.in (OFILES): Add access.o
10780 * libc/sys/sysnecv850/access.c: New file.
10781
10782Mon Oct 21 19:47:02 1996 Ian Lance Taylor <ian@cygnus.com>
10783
10784 * libc/sys/vr4300/Makefile.in (clean): Remove $(OFILES).
10785
10786 * libc/stdlib/mprec.h (word0, word1): Use __uint32_t, not unsigned
10787 long.
10788
10789Mon Oct 21 14:43:07 1996 Jeffrey A Law (law@cygnus.com)
10790
10791 * libc/sys/sysnecv850/crt0.S: Initialize ep and gp registers.
10792
10793Thu Oct 17 11:47:16 1996 Doug Evans <dje@seba.cygnus.com>
10794
10795 * libc/include/machine/{ieeefp.h,setjmp.h}: Add m32r support.
10796 * libc/include/sys/config.h: Add m32r support.
10797
10798Wed Oct 16 23:08:05 1996 Jeffrey A Law (law@cygnus.com)
10799
10800 * libc/sys/sysnecv850/v850.ld: Remove. It doesn't belong
10801 here.
10802
10803Wed Oct 16 21:18:07 1996 Mark Alexander <marka@cygnus.com>
10804
10805 * libc/include/machine/setjmp.h: Add D10v support.
10806
10807Tue Oct 15 22:28:26 1996 Jeffrey A Law (law@cygnus.com)
10808
10809 * configure.in: Configure the "libc/syscalls" directory for
10810 the v850.
10811
10812 * libc/sys/sysnecv850/{close.c, execve.c, fork.c}: Add missing '_'.
10813 * libc/sys/sysnecv850/{fstat.c, getpid.c, kill.c}: Likewise.
10814 * libc/sys/sysnecv850/{lseek.c, open.c, read.c}: Likewise.
10815 * libc/sys/sysnecv850/{sbrk.c, stat.c, unlink.c}: Likewise.
10816 * libc/sys/sysnecv850/{wait.c, write.c}: Likewise.
10817
10818Tue Oct 15 16:24:39 1996 Stu Grossman (grossman@critters.cygnus.com)
10819
10820 * libc/sys/sysnecv850/crt0.S (start): Allocate spill space on
10821 stack for args for main and other routines. Zero out args for
10822 main.
10823
10824 * libc/sys/sysnecv850/v850.ld: New. Linker script to layout memory
10825 correctly.
10826
10827Tue Oct 15 11:51:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10828
10829 * libc/stdio/findfp.c (std): Remove extraneous ';' after
10830 function.
10831
10832 * libc/sys/d10v/sys/syscall.h (SYS_kill): Add.
10833
10834 * libc/sys/d10v/{syscalls.c,trap.S} (_kill,_getpid): Make these
10835 real system calls now.
10836
10837 * libc/stdio/setvbuf (setvbuf): Cast pointers to _POINTER_INT
10838 before casting them to int.
10839 * libc/stdio/tmpnam.c (_tempnam_r): Ditto.
10840
10841 * libc/stdlib/mallocr.c (_morecore_r): Use _POINTER_INT when
10842 aligning pointer.
10843 * libc/string/memset.c (memset): Ditto.
10844
10845 * libc/stdio/vfscanf.c (__svfscanf): When converting to pointer,
10846 first convert ints to _POINTER_INT to eliminate GCC warning.
10847
10848 * libc/stdio/vfprintf.c (_vfprintf_r): Use _POINTER_INT when
10849 processing %p.
10850
10851 * libm/math/ef_scalb.c (__ieee754_scalbf): Cut down range to 32000
10852 from 65000 if ints are only 16 bits.
10853
10854 * libm/math/sf_scalbn.c (scalbnf): Cut down overflow test to 30000
10855 from 50000 if ints are only 16 bits.
10856
10857 * libc/include/sys/config.h (_POINTER_INT): New macro, to give an
10858 int type that is the same size as a pointer.
10859
10860 * libc/misc/dprintf.c (__dprintf): Use _POINTER_INT when
10861 processing %p.
10862 (get_number): Explicitly cast number to long before shifting by 16
10863 or 24, in case ints are short.
10864
10865 * libc/include/sys/config.h (_POINTER_INT): Define as short.
10866
10867Wed Oct 9 16:54:32 1996 Jeremy Allison <jra@cygnus.com>
10868
10869 * libc/string.h: Added ffs, removed swab.
10870 * libc/sys/errno.h: Added EOPNOTSUPP.
10871 * libc/sys/unistd.h: Added swab.
10872
10873Thu Oct 3 17:08:50 1996 Jeremy Allison <jra@cygnus.com>
10874
10875 * libc/include/sys/stat.h: Added fchmod.
10876 * libc/include/sys/unistd.h: Added fsync.
10877
10878Tue Oct 1 17:34:08 1996 Jeremy Allison <jra@cygnus.com>
10879
10880 * libc/include/sys/errno.h: Added defines for EPFNOSUPPORT (96)
10881 and ECONNRESET (104) for cygwin32.
10882
10883Tue Oct 1 16:24:05 1996 Gavin Koch <gavin@cygnus.com>
10884
10885 * libc/sys/sysnecv850/_exit.c: added _do_dtors to
10886 do the static destructors.
10887
10888Mon Sep 30 15:59:05 1996 Stu Grossman (grossman@critters.cygnus.com)
10889
10890 * libc/sys/sysnecv850/trap.S: Change I/O to use trap 31.
10891
10892Mon Sep 30 12:02:50 1996 Doug Evans <dje@canuck.cygnus.com>
10893
10894 * libc/machine/m32r/{Makefile.in,setjmp.S}: New files.
10895 * configure.in: Recognize m32r-*-*.
10896
10897Mon Sep 30 00:34:41 1996 James G. Smith <jsmith@cygnus.co.uk>
10898
10899 * libc/sys/arm/trap.S (__rt_stkovf_split_big,
10900 __rt_stkovf_split_small): Added default software stack overflow
10901 handlers, which just call SWI_Exit.
10902 * libc/sys/arm/crt0.S (_mainCRTStartup): Simple software stack
10903 limit initialisation.
10904
10905Fri Sep 27 13:08:03 1996 Mark Alexander <marka@cygnus.com>
10906
10907 * libc/sys/d10v/{trap.S,sys/syscall.h}: Add time() function.
10908
10909Fri Sep 27 12:32:00 1996 Jeremy Allison <jra@cygnus.com>
10910
10911 * libc/include/sys/types.h: Added ssize_t definition.
10912
10913Wed Sep 25 14:52:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10914
10915 * libc/machine/d10v/setjmp.S: Use ';' for comments.
10916 * libc/sys/d10v/{crt0.S,trap.S}: Ditto.
10917
10918 * libc/machine/d10v/setjmp.S (longjmp): Use exef0t || instead of
10919 branch around a single ldi instruction.
10920
10921 * libc/sys/d10v/crt0.S (_start): Use auto-increment to zero bss.
10922 Call exit, instead of just issuing a stop instruction.
10923
10924Sun Sep 22 17:26:55 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10925
10926 * libc/sys/d10v/{trap.S,syscalls.c}: Add -mint32 support.
10927
10928Fri Sep 20 13:23:12 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10929
10930 * libc/stdlib/mprec.h: Explicitly declare all large constants as
10931 longs, and then cast them to __uint32_t.
10932
10933 * libc/include/sys/config.h: Protect against multiple inclusions.
10934
10935Tue Sep 17 13:10:33 1996 Mark Alexander <marka@cygnus.com>
10936
10937 * configure.in (d10v*): Set syscall_dir.
10938
10939Sun Sep 15 10:41:59 1996 Mark Alexander <marka@cygnus.com>
10940
10941 * libc/sys/d10v/crt0.S: Set stack pointer.
10942
10943Thu Sep 12 13:02:38 1996 Mark Alexander <marka@cygnus.com>
10944
10945 * libc/sys/d10v/{trap.S, syscalls.c}: Rewrite most system calls
10946 in assembly for efficiency. Change calling convention to allow
10947 long ints to be returned.
10948
10949Wed Sep 11 10:28:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10950
10951 * libc/machine/v850/Makefile.in (setjmp.o): Fix dependency.
10952
10953Thu Sep 5 19:23:06 1996 Doug Evans <dje@canuck.cygnus.com>
10954
10955 * libc/posix/execvp.c (execvp): Don't search PATH if file has '/'.
10956 Handle empty entries in $PATH.
10957
10958Tue Sep 03 18:15:02 1996 Mark Alexander <marka@cygnus.com>
10959
10960 * libc/machine/d10v/setjmp.S: Make it really work.
10961
10962Tue Sep 3 12:16:26 1996 Ian Lance Taylor <ian@cygnus.com>
10963
10964 * libc/sys/sh/crt0.S: If __ELF__, use ELF section attributes for
10965 the .stack section.
10966
10967Tue Sep 3 10:08:45 1996 Jeffrey A Law (law@cygnus.com)
10968
10969 * sys/sysnecv850/sys/file.h: Remove.
10970 * sys/sysnecv850/sys/syscall.h: New file.
10971 * sys/sysnecv850/{misc.c,syscalls.c,malloc.c}: Deleted.
10972 * sys/sysnecv850/{chmod.c, chown.c, close.c, creat.c} New files.
10973 * sys/sysnecv850/{execv.c, execve.c, fork.c, fstat.c} New files.
10974 * sys/sysnecv850/{getpid.c, isatty.c, kill.c, lseek.c} New files.
10975 * sys/sysnecv850/{open.c, pipe.c, raise.c, read.c} New files.
10976 * sys/sysnecv850/{stat.c, unlink.c, utime.c, wait.c} New files.
10977 * sys/sysnec850/trap.S: New file.
10978 * sys/sysnecv850/{_exit.c, write.c}: Use new TRAP0 mechanism for
10979 syscalls.
10980 * sys/sysnecv850/crt0.S: Use cmp/bl, not tst/bz.
10981 * sys/sysnec850/sbrk.c: New version.
10982
10983Sun Sep 1 20:08:27 1996 Jeffrey A Law (law@cygnus.com)
10984
10985 * sys/sysnecv850/crt0.S: Fix order of comparison args. Loop
10986 as long as r6 is less than r7.
10987
10988Sun Sep 1 13:54:19 1996 Ian Lance Taylor <ian@cygnus.com>
10989
10990 * Makefile.in (mostlyclean): Separate from clean target. Don't
10991 remove *.a or targ-include.
10992 * libc/machine/sparc/Makefile.in (mostlyclean): New target.
10993
10994Sun Sep 1 11:35:26 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10995
10996 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Define for
10997 d10v.
10998 (__SMALL_BITFIELDS): Ditto.
10999
11000 * libc/include/sys/config.h (_DOUBLE_IS_32BITS): Define for d10v.
11001
11002Sat Aug 31 16:42:36 1996 Jeffrey A Law (law@cygnus.com)
11003
11004 * libc/sys/sysnecv850/misc.c (raise, getpid, kill): Remove '_'
11005 prefix.
11006
11007 * libc/sys/sysnecv850/sbrk.c (sbrk): Remove '_' prefix.
11008 * libc/sys/sysnecv850/syscalls.c (read, lseek, close): Likewise.
11009 * libc/sys/sysnecv850/syscalls.c (fstat, open, close): Likewise.
11010 * libc/sys/sysnecv850/write.c (write): Likewise.
11011
11012 * libc/sys/sysnecv850/crt0.S: Don't try to zero out an empty
11013 .bss.
11014
11015Fri Aug 30 11:18:45 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11016
11017 * libc/include/sys/config.h: Define INT_MAX, UINT_MAX
11018 appropriately for D10V, depending on -mint16/-mint32.
11019
11020Thu Aug 29 16:09:37 1996 Mark Alexander <marka@cygnus.com>
11021
11022 * configure.in: Add cases for D10V.
11023
11024Thu Aug 29 17:03:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11025
11026 * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
11027
11028Wed Aug 28 21:05:52 1996 Jeffrey A Law (law@cygnus.com)
11029
11030 * libc/include/machine/ieeefp.h: Fix typo.
11031
11032Wed Aug 28 19:47:55 1996 Mark Alexander <marka@cygnus.com>
11033
11034 * libc/sys/d10v: New directory for D10V stuff.
11035 * libc/include/machine/ieeefp.h: Add D10V defines.
11036
11037Mon Aug 26 13:34:58 1996 Doug Evans <dje@canuck.cygnus.com>
11038
11039 * libc/include/sys/errno.h: Add winsup/include/sys/errno.h values:
11040 ELOOP, ENOBUFS, EAFNOSUPPORT, EPROTOTYPE, ENOTSOCK, ENOPROTOOPT,
11041 ESHUTDOWN, ECONNREFUSED, EADDRINUSE, ECONNABORTED, EWOULDBLOCK.
11042 * libc/string/strerror.c (strerror): Add them.
11043
11044Thu Aug 22 16:38:19 1996 Jeffrey A Law (law@cygnus.com)
11045
11046 * libc/sys/sysnecv850: New directory for v850 stuff.
11047
11048 * libc/machine/v850: New directory for v850 stuff.
11049 * libc/machine/v850/setjmp.S: setjmp/longjmp support.
11050
11051 * configure.in: Add support for the v850.
11052
11053 * libc/include/machine/ieeefp.h: Add v850 defines.
11054 * libc/include/machine/setjmp.h: Likewise.
11055 * libc/include/sys/config.h: Add v850 defines.
11056
11057Sat Aug 17 04:06:36 1996 Geoffrey Noer <noer@cygnus.com>
11058
11059 * libc/include/machine/ieeefp.h
11060 * libc/include/machine/setjmp.h
11061 * libc/include/sys/fcntl.h
11062 * libc/include/sys/signal.h
11063 * libc/include/sys/types.h
11064 * libc/stdlib/system.c:
11065 Fix preprocessor defines to match new scheme (_WIN32 for WIN32
11066 API availability, __CYGWIN32__ for cygwin32 environment specific).
11067
11068Thu Aug 15 17:09:21 1996 Geoffrey Noer <noer@cygnus.com>
11069
11070 * libc/include/stdlib.h: add multibyte character functions. Add
11071 __eprintf for assert.
11072
11073Thu Aug 15 11:15:40 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11074
11075 * libc/stdlib/malloc.h (MALLOC_ALIGNMENT): Use either pointer
11076 arithmetic or __alignof__ to properly get the alignment, instead
11077 of hardwiring it to 4.
11078
11079Wed Aug 14 23:43:28 1996 Geoffrey Noer <noer@cygnus.com>
11080
11081 * libc/stdio/fseek.c: add fflush call to adjust seek offset
11082 on append stream (fix from NetBSD sources), adjust curoff offset
11083 for ungetc's benefit.
11084 * libc/stdio/ftell.c: adjust curoff offset for ungetc's benefit.
11085 * libc/stdio/rewind.c: replace code with up to date NetBSD
11086 code to undo hacks made to work around above problem of not
11087 having fflush call mentioned above
11088
11089Fri Aug 2 18:28:07 1996 J.T. Conklin <jtc@rtl.cygnus.com>
11090
11091 * libc/reent/{closer.c, execr.c, fstatr.c, linkr.c, lseekr.c,
11092 openr.c, readr.c, sbrkr.c, signalr.c, statr.c, timer.c, writer.c}:
11093 Partially revert last changes. The thread specific errno is set
11094 iff if the underlying syscall fails and the global errno is not
11095 zero.
11096
11097Fri Jul 19 11:41:52 1996 J.T. Conklin <jtc@rtl.cygnus.com>
11098
11099 * libc/reent/filer.c: Removed files, all functions have split out
11100 into their own files.
11101 * libc/reent/{closer.c, lseekr.c, openr.c, readr.c, writer.c}:
11102 New files containing functions formally in filer.c
11103 * libc/reent/Makefile.in: Updated for above change.
11104
11105 * libc/reent/execr.c (_fork_r, _wait_r): Set errno if underlying
11106 syscall fails, not if errno is changed.
11107 * libc/reent/filer.c (_open_r, _close_r, _lseek_r, _read_r,
11108 _write_r): Likewise.
11109 * libc/reent/fstatr.c (_fstat_r): Likewise.
11110 * libc/reent/linkr.c (_link_r, _unlink_r): Likewise.
11111 * libc/reent/sbrkr.c (_sbrk_r): Likewise.
11112 * libc/reent/signalr.c (_kill_r): Likewise.
11113 * libc/reent/statr.c (_stat_r): Likewise.
11114 * libc/reent/timer.c (_gettimeofday_r): Likewise.
11115
11116 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, sbrkr.c,
11117 signalr.c, statr.c, timer.c} (errno): declare extern rather
11118 than as a common.
11119
11120 * libc/stdio/vfprintf.c (__sbprintf): Use the VFPRINTF macro
11121 instead of calling vfprintf so that i*printf will not require
11122 floating point support code.
11123
11124Mon Jul 15 16:50:59 1996 Doug Evans <dje@canuck.cygnus.com>
11125
11126 * libc/posix/execvp.c (execvp): Use posix_path_list_p to determine
11127 path delimiter.
11128 * libc/include/sys/unistd.h (_SC_PATH_RULES): Delete.
11129 (_PATH_RULES_{UNKNOWN,WIN32,POSIX}): Delete.
11130
11131Thu Jul 11 14:34:14 1996 Geoffrey Noer <noer@cygnus.com>
11132
11133 * libc/include/signal.h: _sig_func_ptr function takes an int
11134 * libc/include/sys/signal.h: sa_handler function takes an int
11135
11136Tue Jul 9 21:22:32 1996 Jeffrey A Law (law@cygnus.com)
11137
11138 * libc/include/machine/ieeefp.h: Simplify H8/S support.
11139 * libc/include/sys/config.h: Add missing H8/S conditional.
11140
11141Sun Jun 30 12:05:46 1996 Doug Evans <dje@canuck.cygnus.com>
11142
11143 * libc/include/sys/unistd.h (MAXPATHLEN): Add cygwin32 value.
11144
11145Wed Jun 26 09:57:54 1996 Jeffrey A Law (law@cygnus.com)
11146
11147 * libc/include/machine/setjmp.h: Handle H8/S.
11148 * libc/include/machine/ieeefp.h: Likewise.
11149 * libc/include/sys/config.h: Likewise.
11150 * libc/machine/h8300/{defines.h, memcpy.S, memset.S}: Likewise.
11151 * libc/machine/h8300/{reg_memcpy.S, reg_memset.S}: Likewise.
11152 * libc/machine/h8300/{strcmp.S, setjmp.S}: Likewise.
11153 * libc/sys/h8300hms/crt0.S: Likewise.
11154
11155Tue Jun 25 23:15:45 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
11156
11157 * Makefile.in (datadir): Set to $(prefix)/share.
11158 (oldincludedir, docdir): Removed.
11159 * doc/Makefile.in (datadir): Set to $(prefix)/share.
11160 (oldincludedir, docdir): Removed.
11161 * libc/Makefile.in (datadir): Set to $(prefix)/share.
11162 (oldincludedir, docdir): Removed.
11163 * libm/Makefile.in (datadir): Set to $(prefix)/share.
11164 (oldincludedir, docdir): Removed.
11165
11166Fri Jun 21 19:24:41 1996 Ian Lance Taylor <ian@cygnus.com>
11167
11168 * libc/include/sys/reent.h (_REENT_INIT): Update for change to
11169 _reent struct.
11170
11171Wed Jun 19 14:00:09 1996 Doug Evans <dje@canuck.cygnus.com>
11172
11173 * libc/posix/execvp.c: Delete _WIN32 support. For __CYGWIN32__
11174 fetch current path rules with sysconf and handler posix/win32
11175 appropriately.
11176
11177 * libc/include/sys/unistd.h (_PATH_RULES{,_POSIX,_WIN32}): Define.
11178
11179 * libc/include/process.h: Prepend '_' to P_{WAIT,NOWAIT,OVERLAY}.
11180 (WAIT_CHILD): Always define.
11181
11182Sat Jun 15 17:50:42 1996 Ian Lance Taylor <ian@cygnus.com>
11183
11184 * libc/stdlib/eprintf.c: New file.
11185 * libc/stdlib/Makefile.in (OFILES): Add eprintf.o.
11186 (eprintf.o): New target.
11187
11188Thu Jun 13 16:44:32 1996 Doug Evans <dje@canuck.cygnus.com>
11189
11190 * libc/sys/cygwin32/crt0.c (__cygwin_crt0_bp): New global.
11191 (mainCRTStartup): Do int3 if __cygwin_crt0_bp non-zero.
11192
11193Thu Jun 13 17:45:17 1996 Mike Meissner <meissner@rtl.cygnus.com>
11194
11195 * libc/include/machine/ieeefp.h: Add support for AIX and Windows
11196 NT in PowerPC endianess cases.
11197
11198Tue Jun 11 12:26:28 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11199
11200 * libc/include/machine/ieeefp.h: Clean up PowerPC endianess.
11201
11202Thu Jun 6 11:34:20 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11203
11204 * libc/string/strtok.c: Fix doc typo.
11205
11206Mon Jun 3 11:30:00 1996 J.T. Conklin <jtc@rtl.cygnus.com>
11207
11208 * libc/include/sys/reent.h (struct _reent): Removed _asctime,
11209 _next, _scanpoint, _signgam fields.
11210
11211 * libc/include/stdlib.h (rand_r): Added new declaration.
11212 (_rand_r, _srand_r): Removed declarations.
11213 * libc/stdlib/rand.c (_rand_r, _srand_r): Removed, these functions
11214 have been made obsolete by rand_r.
11215 * libc/stdlib/rand_r.c: New file, rand_r function as specified
11216 by POSIX.1c.
11217
11218 * libc/string/strtok.c: Update documentation to describe
11219 strtok_r().
11220
11221Sat Jun 1 23:50:39 1996 Michael Meissner <meissner@cygnus.com>
11222
11223 * libc/include/sys/stat.h (stat structure): Use the expanded stat
11224 structure on Solaris, and PowerPC systems even though __svr4__ is
11225 defined.
11226
11227Tue May 28 13:02:42 1996 Doug Evans <dje@canuck.cygnus.com>
11228
11229 * libc/sys/go32/sys/errno.h (ENOSYS,ESPIPE): Keep values <= 255.
11230
11231Fri May 17 10:34:44 1996 Ian Lance Taylor <ian@cygnus.com>
11232
11233 * host/any: Use ../.. rather than .. to get to the main build
11234 directory. This matches the current layout of the build
11235 directory.
11236
11237Wed May 15 15:52:27 1996 Jeffrey A Law (law@cygnus.com)
11238
11239 * libc/machine/h8300/__main.S: Delete. No longer needed.
11240 * libc/machine/h8300/Makefile.in: Corresponding changes.
11241 * libc/sys/h8300hms/crt1.c: New file.
11242 * libc/sys/h8300hms/Makefile.in: Corresponding changes.
11243 * libc/sys/h8300hms/crt0.s: Call __main.
11244
11245 * libc/sys/h8300hms/crt0.S: Use temporary label names
11246 for branch targets.
11247
11248Mon May 13 14:26:30 1996 Doug Evans <dje@canuck.cygnus.com>
11249
11250 * libc/stdio/fopen.c (_fopen_r): Fix arguments to fseek.
11251
11252Fri May 3 16:38:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11253
11254 * libc/reent/impure.c (_impure_ptr): Force the impure pointer into
11255 .sdata on the PowerPC so that we can link newlib with code
11256 compiled with -msdata.
11257
11258Mon Apr 29 21:38:02 1996 Doug Evans <dje@canuck.cygnus.com>
11259
11260 * libc/sys/arm/syscalls.c (_sbrk): Rename end to __end__.
11261
11262Thu Apr 25 06:38:59 1996 Michael Meissner <meissner@cygnus.com>
11263
11264 * libc/sys/cygwin32/crt0.c (mainCRTStartup): On PowerPC, set the
11265 exception handler to __cygwin_exception_handler.
11266
11267Tue Apr 23 15:14:20 1996 Ian Lance Taylor <ian@cygnus.com>
11268
11269 * libc/include/machine/setjmp.h: Check _AM29K, not ___AM29K__.
11270
11271Sun Apr 21 12:11:51 1996 Doug Evans <dje@blues.cygnus.com>
11272
11273 * libm/math/Makefile.in ({w,wf}_cabs.o,{w,wf}_drem.o): Add rule for
11274 SunOS VPATH.
11275 * libc/stdlib/Makefile.in (atoff.o,atol.o,mblen.o,mbstowcs.o,
11276 wcstombs.o): Likewise.
11277
11278Thu Apr 18 12:37:01 1996 Doug Evans <dje@canuck.cygnus.com>
11279
11280 * libc/stdlib/environ.c (initial_env): New static local.
11281 (environ): Point to `initial_env'.
11282
11283 * libc/include/machine/setjmp.h: Clean up.
11284 (__H8300H__,__PPC__): Define _JBTYPE.
11285 (__arm__): Provide entry for.
11286 (sigjmp_buf): Delete.
11287 (jmp_buf): Use _JBTYPE if defined, otherwise int.
11288
11289Thu Apr 18 12:10:52 1996 Jeffrey A Law (law@cygnus.com)
11290
11291 * libc/machine/h8300/strcmp.S: Sign extend the result to
11292 32bits so we don't lose with -mint32.
11293
11294Sun Apr 14 19:59:52 1996 Doug Evans <dje@canuck.cygnus.com>
11295
11296 * libc/sys/go32/sys/errno.h: New file.
11297 * libc/sys/go32/Makefile.in (stat.o): Depend on stat.c.
11298 * libc/sys/go32/gerrno.s (syscall_error): Call __errno to get
11299 errno's address (make compatible with rest of newlib).
11300 * libc/sys/go32/stat.c (fixinode): Set errno upon failure.
11301 * libc/string/strerror.c (strerror): Surround each case with #ifdef.
11302
11303Thu Mar 28 13:44:42 1996 Doug Evans <dje@canuck.cygnus.com>
11304
11305 * libc/machine/sparc/{scan.c,shuffle.c}: New files.
11306 * libc/machine/sparc/Makefile.in: Build them.
11307 * libc/machine/sparc/machine/sparclet.h: New file.
11308
11309Mon Mar 25 15:29:14 1996 J.T. Conklin <jtc@rtl.cygnus.com>
11310
11311 * libc/machine/sh/asm.h: New file.
11312 * libc/machine/sh/setjmp.S: Only save clobbered registers. Added
11313 support for SH3e's FP registers. Use asm.h.
11314
11315Mon Mar 25 11:59:23 1996 Jeffrey A Law (law@cygnus.com)
11316
11317 * libc/stdio/vfprintf.c (cvt): Accept a reent structure
11318 as first argument. Call _dtoa_r and pass the reent structure
11319 instead of calling __dtoa.
11320
11321Fri Mar 22 13:59:37 1996 Jeffrey A Law (law@cygnus.com)
11322
11323 * libc/include/sys/config.h: Define DOUBLE_IS_32BITS for
11324 the h8300, h8500, and others. Add comments for some rather
11325 dubious code.
11326
11327Thu Mar 14 18:04:43 1996 Ian Lance Taylor <ian@cygnus.com>
11328
11329 * Makefile.in (check): Check that testsuite exists before cd.
11330
11331Tue Mar 12 11:46:47 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11332
11333 * libc/include/string.h (strsep): Correct prototype.
11334
11335Mon Mar 11 09:55:19 1996 Doug Evans <dje@charmed.cygnus.com>
11336
11337 * libc/sys/h8300/_exit.c (_exit,__exit): Set r0 to 0 before `sleep'.
11338 * libc/sys/h8300/misc.c (_kill): Set r0 to indicate abort and `sleep'.
11339 * libc/sys/h8300/crt0.S (_start): Call exit instead of `sleep'.
11340
11341Wed Mar 6 11:51:55 1996 Doug Evans <dje@charmed.cygnus.com>
11342
11343 * libc/posix/{creat.c,isatty.c}: New files.
11344 * libc/posix/Makefile.in (OFILES): Add creat.o, isatty.o.
11345
11346 * libc/sys/sparc64/crt0.S (environ): Delete.
11347 (.LHaveBias): Renamed from HaveBias.
11348
11349Thu Feb 15 10:48:37 1996 Doug Evans <dje@charmed.cygnus.com>
11350
11351 * libc/stdlib/mallocr.c (etext): Move decl inside ifdef WARN_VLIMIT.
11352 (_morecore_r): Delete SBRK_IS_ALLOC support.
11353
11354Tue Feb 13 09:44:09 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11355
11356 * libc/sys/cygwin32/Makefile.in (lib.a): Make lib.a with a dummy
11357 module rather than touch, so we don't get warning messages when
11358 all of the libraries are combined into libc.a.
11359
11360Tue Feb 13 06:32:07 1996 Doug Evans <dje@charmed.cygnus.com>
11361
11362 * libc/sys/sparclite/{Makefile.in,crt0.s}: Deleted.
11363 crt0.s replaced by version in libgloss.
11364
11365Mon Feb 5 15:17:51 1996 J.T. Conklin <jtc@rtl.cygnus.com>
11366
11367 * libc/reent/Makefile.in (OFILES): Add impure.o.
11368 * libc/reent/impure.o: New file, define initial reentrancy struct.
11369 * libc/reent/reent.c: Remove above definition.
11370
11371 * libm/math/sf_asinh.c: Fix typo.
11372
11373 * Makefile.in (MATHOBJS_IN_LIBC): Removed sr_ldexp.o and
11374 srf_ldexp.o.
11375
11376 * libm/libm.texinfo: Change documentation to reflect changes
11377 in reentrancy model.
11378 * libm/math/w_gamma.c: Likewise.
11379
11380Wed Jan 31 18:49:45 1996 Steve Chamberlain <sac@slash.cygnus.com>
11381
11382 * configure.in (*-*-cygwin32): New.
11383 (*-*-win32): Deleted.
11384 * libc/sys/win32 renamed libc/sys/cygwin32.
11385
11386Tue Jan 30 22:09:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11387
11388 * libc/include/sys/file.h: New include file.
11389
11390Fri Jan 26 15:52:54 1996 Steve Chamberlain <sac@slash.cygnus.com>
11391
11392 * libc/include/machine/setjmp.h: Increase size of PPC jmp_buf.
11393
11394Tue Jan 23 17:49:16 1996 Steve Chamberlain <sac@slash.cygnus.com>
11395
11396 * libc/include/sys/wait.h (WIFSIGNALED): Fix.
11397
11398Tue Jan 16 09:28:10 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11399
11400 * doc/makedoc.c (realloc): Declare at file scope.
11401 (catchar): Not here.
11402
11403Wed Dec 27 15:45:23 1995 Doug Evans <dje@canuck.cygnus.com>
11404
11405 * Makefile.in (VERSION): Update to 1.7.0.
11406 * {libc,libm}/Makefile.in (VERSION): Likewise.
11407 * configure.in: Minor clean up of multilib stuff.
11408
11409 From David Johnson <davidj@ICSI.Berkeley.EDU>
11410 * {libc,libm}/Makefile.in (lib[cm].a): Delete library first.
11411
11412 * libc/stdlib/environ.c: New file.
11413 * libc/stdlib/Makefile.in (OFILES): Build it.
11414 * libc/sys/h8500hms/crt0.c (environ): Deleted.
11415 * libc/sys/m88kbug/crt0.c (environ): Deleted.
11416 * libc/sys/z8ksim/crt0.c (environ): Deleted.
11417 * libc/sys/netware/environ.c: Deleted.
11418
11419Tue Dec 19 15:24:46 1995 Kim Knuttila <krk@cygnus.com>
11420
11421 * configure.in (links): set sys_dir, posix_dir, syscall_dir
11422
11423Wed Dec 13 04:16:25 1995 Michael Meissner <meissner@wogglebug.tiac.net>
11424
11425 * doc/makedoc.c (init_string_with_size,nextword): Move malloc
11426 declaration out to external scope and declare it PTR, not char *.
11427
11428Mon Dec 11 17:35:12 1995 steve chamberlain <sac@slash.cygnus.com>
11429
11430 * libc/include/sys/unistd.h (getpagesize): New declaration.
11431 (_SC_PAGESIZE): New definition.
11432 * libc/include/time.h (CLK_TCK): Defined as CLOCKS_PER_SEC.
11433 * libc/configure.in (i[345]86-*-win32): Remove -DNO_FORK.
11434
11435Fri Dec 1 16:48:46 1995 James G. Smith <jsmith@cygnus.co.uk>
11436
11437 * libc/sys/vr4300/syscalls.c (sbrk): Fixed memory
11438 addressing. System call returns size, not (last address + 1).
11439
11440Thu Nov 30 15:05:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11441
11442 * libm/math/*.c: Removed _foo_r() reentrancy API.
11443 * libc/include/math.h: Removed _foo_r prototypes and macros.
11444
11445 * libm/math/*.c: On systems with IEEE single precision "doubles"
11446 move foo() -> foof() wrapper code from the files that implement
11447 the standard IEEE double precision functions to the files that
11448 implement IEEE single precision functions. (ie. On those systems
11449 sin is moved from s_sin.c to sf_sin.c). There should eventually
11450 be use of a C extension (like gcc's alias attribute) so that the
11451 wrappers are not needed at all.
11452
11453 * libc/sys/sysnec810/sbrk.c: Cast &end to char * to get around
11454 strict NEC V810 compiler.
11455 * libc/misc/dprintf.c (getnumber): Cast char * to unsigned char *
11456 for same reason.
11457
11458Wed Nov 29 14:25:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11459
11460 * libc/stdlib/strtol.c (_strtol_r): Replaced with implementation
11461 from NetBSD C library.
11462 * libc/stdlib/strtoul.c (_strtoul_r): Likewise.
11463
11464 * libc/stdlib/assert.c (__assert): Renamed from __assertfail
11465 and adapted from implementation I wrote for NetBSD C library.
11466 The difference is __assert doesn't take a format argument,
11467 so that there won't be multiple copies of the same string
11468 constant in the executable if assertions are enabled in
11469 more than one source module.
11470 * libc/include/assert.h (assert): Changed to call __assert.
11471
11472Tue Nov 28 16:54:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11473
11474 * libc/stdlib/strtod.c (_strtod_r): Changed to not assign to
11475 word1 on systems with 32 bit doubles.
11476 * libc/stdlib/qsort.c (qsort): Cast some void *'s to char *'s
11477 so that we can do arithmetic on them.
11478 * libc/misc/dprintf.c: Changed to support stdarg.h for ANSI
11479 compilers.
11480
11481Tue Nov 28 16:03:32 1995 Doug Evans <dje@canuck.cygnus.com>
11482
11483 * libc/sys/arm/crt0.S: Zero bss.
11484
11485Fri Nov 24 16:09:23 1995 Doug Evans <dje@deneb.cygnus.com>
11486
11487 * libc/include/unctrl.h: New file.
11488 * libc/misc/{Makefile.in,dprintf.c,unctrl.c,misc.tex}: New files.
11489 * configure.in (subdirs): Add libc/misc.
11490 * libc/Makefile.in (SUBDIRS): Add misc.
11491 (SUBLIBS): Add misc/lib.a.
11492
11493 * libc/include/sys/reent.h (struct _reent): Make __sf last member.
11494
11495Wed Nov 22 19:49:47 1995 Doug Evans <dje@deneb.cygnus.com>
11496
11497 * libc/stdio/vfprintf.c (__sbprintf): Init fake._data.
11498 (_vfprintf_r): Call CHECK_INIT.
11499
11500Tue Nov 14 02:52:12 1995 Doug Evans <dje@canuck.cygnus.com>
11501
11502 * Makefile.in (MULTITOP): Delete.
11503 (MULTISRCTOP, MULTIBUILDTOP): Add.
11504 * configure.in: Delete call to cfg-ml-com.in. Call config-ml.in
11505 instead of cfg-ml-pos.in.
11506
11507Wed Nov 8 01:24:08 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
11508
11509 * libc/sys/vr4300/syscalls.c: Added clean version of sbrk().
11510 * libc/sys/vr4300/crt0.S: Cleaned up. Added check for FPU
11511 presence.
11512
11513Thu Nov 2 22:25:06 1995 Michael Meissner <meissner@tiktok.cygnus.com>
11514
11515 * libc/string/strtok.c: Include string.h to pick up strtok_r
11516 prototype.
11517
11518Wed Nov 1 18:54:11 1995 Jason Molenda (crash@phydeaux.cygnus.com)
11519
11520 * libc/string/strtok.c: include <_ansi.h>.
11521 * libc/time/asctime_r.c: `reresult' -> `result'.
11522
11523Wed Nov 1 14:35:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11524
11525 * libc/time/{ctime.c, gmtime.c, lcltime.c}: Wrap functions
11526 in #ifndef _REENT_ONLY ... #endif conditional.
11527
11528 * libc/include/string.h (_strtok_r): Remove declaration.
11529 * libc/include/time.h (_asctime_r): Remove declaration.
11530 * libc/string/strtok.c (_strtok_r): Removed.
11531 * libc/time/asctime.c (_asctime_r): Removed.
11532
11533 * libc/string/Makefile.in (OFILES): Add new object.
11534 * libc/string/strtok_r.c: New file. strtok_r function as
11535 specified by POSIX.1c, adapted from strtok implementation
11536 from NetBSD C library.
11537 * libc/string/strtok.c (strtok): Reimplemented in terms of
11538 strtok_r.
11539
11540 * libc/time/Makefile.in (OFILES): Add new objects.
11541 * libc/time/{asctime_r.c, ctime_r.c, gmtime_r.c, lcltime_r.c}:
11542 New files, reentrant time functions specified by POSIX.1c.
11543 * libc/time/{asctime.c, ctime.c, gmtime.c, lcltime.c}: Non-
11544 reentrant time functions re-written in terms of reentrant
11545 functions.
11546 * libc/time/lcltime.c: Renamed from localtime.c
11547
11548 * libc/include/time.h: Add prototypes for asctime_r, ctime_r,
11549 gmtime_r, and localtime_r.
11550
11551Sat Oct 28 14:34:31 1995 steve chamberlain <sac@slash.cygnus.com>
11552
11553 * libc/sys/win32/crt0.c (mainCRTStartup): Call cygwin_crt0.
11554 * libc/include/sys/unistd.h (getlogin): Revert change of
11555 Oct 19.
11556 * libc/include/sys/signal.h (sigprocmask): Change prototype
11557 so it compiles with c++.
11558
11559Wed Oct 25 15:43:18 1995 Michael Meissner <meissner@cygnus.com>
11560
11561 * libc/include/machine/setjmp.h (PowerPC _JBLEN): Consider it a
11562 PowerPC if __PPC__ is defined. Bump jump_buf length to 62 ints,
11563 to give some room in case we need to align the jmp_buf.
11564
11565 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Rewrite to use
11566 the new ppc-asm.h include file the compiler provides to specify
11567 function prologue/epilogue. Eliminate saves of the xer and ctr
11568 registers, which are volatile. Before starting to save registers,
11569 align to 8 byte boundary.
11570
11571Mon Oct 23 11:20:51 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
11572
11573 * libc/sys/vr4300/syscalls.c: Added empty kill() function,
11574 referenced by standard libraries.
11575
11576Thu Oct 19 21:39:47 1995 Fred Fish <fnf@cygnus.com>
11577
11578 * libc/unix/Makefile.in, libc/string/Makefile.in,
11579 libc/stdio/Makefile.in, libc/reent/Makefile.in,
11580 libc/posix/Makefile.in:
11581 Remove tabs from otherwise empty line. Confuses some
11582 older non-GNU versions of "make".
11583
11584Thu Oct 19 16:32:17 1995 steve chamberlain <sac@slash.cygnus.com>
11585
11586 * libc/sys/unistd.h (getlogin): Returns const char *.
11587
11588Wed Oct 18 12:57:50 1995 steve chamberlain <sac@slash.cygnus.com>
11589
11590 * libc/include/fcntl.h (O_BINARY, O_TEXT): New.
11591 * libc/include/errno.h: Moved into and include...
11592 * libc/include/sys/errno.h: New file.
11593 * libc/include/sys/wait.h: New file.
11594 * libc/stdio/rename.c (_rename_r): Use _rename system call if available.
11595 * libc/sys/win32/*: Moved out.
11596 * libc/sys/win32/crt0.c: Rewritten to cope with shared library.
11597 * configure.in (i[345]86-*-win32): HAVE_RENAME
11598
11599Wed Oct 18 09:58:27 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
11600
11601 * libc/unix/sigset.c (sigemptyset, sigaddset): Prefix #undef to
11602 avoid macro expansion for these two names.
11603
11604Tue Oct 17 08:45:33 1995 Doug Evans <dje@canuck.cygnus.com>
11605
11606 * libc/machine/h8500/psi.S: r6 renamed to fp.
11607
11608Sun Oct 15 12:58:10 1995 Michael Meissner <meissner@wogglebug.tiac.net>
11609
11610 * configure.in (powerpc*): No longer need to define
11611 NO_LONGLONG_POINTERS to supress warnings.
11612
11613Sat Oct 14 12:55:08 1995 Jim Wilson <wilson@chestnut.cygnus.com>
11614
11615 * libc/reent/reent.c (_reclaim_reent): Call cleanup indirectly
11616 through PTR instead of directly.
11617
11618 * libc/sys/sh/crt0.S: Clean up formatting. Delete unused
11619 non-standard constructor support.
11620
11621Thu Oct 12 11:39:42 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11622
11623 * libc/stdlib/dtoa.c (_dtoa_r): Set result pointer to the
11624 address of the Bigint instead of the address of its _x field,
11625 as the size the result buffer was calculated accordingly.
11626 Fix from Jim Wilson <wilson@chestnut@cygnus.com>.
11627
11628 * libc/stdlib/{div.c, ldiv.c}: Replaced with implementation
11629 from NetBSD C library. No longer special cases division by
11630 zero (which needs to be done by the application anyway), but
11631 it doesn't need to call abs() (or labs()) four times either.
11632
11633 * libc/stdlib/qsort.c: Replaced with implementation from
11634 NetBSD C library.
11635
11636Tue Oct 10 14:01:10 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11637
11638 * libc/stdio/vfprintf.c: Replaced with implementation from
11639 NetBSD C library (which is derived from the 4.4BSD C library).
11640 * libc/stdio/cvt.c: Removed.
11641 * libc/stdio/Makefile: Updated.
11642
11643Tue Oct 10 12:15:23 1995 steve chamberlain <sac@slash.cygnus.com>
11644
11645 * libc/sys/win32/syscalls.c (rename): New.
11646 * libc/sys/win32/include/winkernel.h (MoveFileExA): New.
11647
11648Fri Oct 6 12:18:43 1995 Jim Wilson <wilson@chestnut.cygnus.com>
11649
11650 * libc/machine/sh/Makefile.in (setjmp.o): Depend on setjmp.S.
11651 * libc/machine/sh/setjmp.S: Rename from setjmp.s.
11652
11653 * libc/sys/sh/Makefile.in (OFILES, all): Delete setjmp.o.
11654 (setjmp.o): Delete rule to build setjmp.o.
11655 * libc/sys/sh/setjmp.S: Delete file.
11656
11657Fri Oct 6 11:19:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11658
11659 * libc/stdlib/mprec.c (d2b): Added support for _DOUBLE_IS_32BITS.
11660 * libc/stdlib/mprec.h: Fixed constants used for IEEE single float
11661 format. Added #defines to map d2b, i2b, low0bits, lshift, mult,
11662 pow5mult and s2b to identifiers with leading underscores.
11663 * libc/stdlib/Makefile.in: Add mprec.h as a dependency to dtoa.o,
11664 ecvtbuf.o, mprec.o and strtod.o. Sort dependencies.
11665
11666Thu Oct 5 17:27:30 1995 steve chamberlain <sac@slash.cygnus.com>
11667
11668 * libc/sys/posix/popen.c (sys/types.h): Include.
11669
11670Thu Oct 5 16:33:01 1995 Doug Evans <dje@canuck.cygnus.com>
11671
11672 * libc/sys/win32/syscalls.h (fhandler): New struct.
11673 (__lookup_fhandler, __lookup_fhandler_hook): Declare.
11674 (__fhandler_normal): Declare.
11675 (hinfo): New member op_handlers.
11676 * libc/sys/win32/syscalls.c (__read): Don't validate fd.
11677 (__write): Likewise.
11678 (_read, _write, _open, _close, _lseek): Validate fd here.
11679 Move file type specific stuff to foo_normal.
11680 (read_normal, write_normal, open_normal, close_normal, lseek_normal):
11681 New functions.
11682 (__lookup_fhandler): New function.
11683 (__lookup_fhandler_hook, __fhandler_normal): New variables.
11684
11685 From anders.blomdell@control.lth.se (Anders Blomdell)
11686 * libc/sys/win32/crt0.c (vfork_init): Unset __FD_TABLE__.
11687 Don't touch standard handles.
11688 * libc/sys/win32/spawn.c (_spawn): Use STARTF_USESTDHANDLES.
11689 (_execve): Only create __FD_TABLE__ if necessary.
11690 * libc/sys/win32/include/winkernel.h (STARTF_*): Define.
11691
11692Thu Oct 5 14:25:14 1995 steve chamberlain <sac@slash.cygnus.com>
11693
11694 * libc/sys/win32/sys/termios.h (FLUSHO): New.
11695 * libc/sys/win32/include/win*.h: Moved a load of prototypes around.
11696 * libc/sys/win32/pipe.c (_fctnl): Ignore F_SETFL without errors.
11697 * libc/sys/win32/exception.c (ehandler3): set strace when a signal
11698 without a handler is received.
11699 * libc/sys/win32/Makefile.in: Remove --nodelete.
11700 * libc/sys/win32/resouce.c (gettimeofday): New.
11701 * libc/sys/win32/syscalls.c (path_to_real_path): New.
11702 * libc/sys/win32/syscalls.h (include/wincon.h): Don't include.
11703
11704Wed Oct 4 13:10:35 1995 Doug Evans <dje@canuck.cygnus.com>
11705
11706 * libc/sys/win32/dirsearch.c (opendir): stat real path name.
11707 Don't append "/*" to search pattern if trailing '/' already there,
11708 append "*".
11709 * libc/sys/win32/spawn.c (_spawn): CreateProcess doesn't seem to
11710 like /'s, convert them to \'s. Handle //<drive>/ path names.
11711 Add space for quoted \'s in arg string. Print translated prog name
11712 and original prog name.
11713 (_execve): Handle parent doing exec a teensy bit better.
11714 * libc/sys/win32/syscalls.h (__path_to_real_path): Update prototype.
11715 * libc/sys/win32/syscalls.c (__path_to_real_path): Don't assume
11716 path needs conversion, handle both cases. Delete `const' from result.
11717 (hash_path_name): New function.
11718 (_open): Call it.
11719 (_stat): Likewise. Fill in more fields for directories.
11720 * libc/sys/win32/wait.c (_wait): Explicitly pass -1 to waitpid.
11721 (wait_for_any): Fix trace message.
11722 (waitpid): Explicitly test for intpid == 0.
11723
11724 From anders.blomdell@control.lth.se (Anders Blomdell)
11725 * libc/sys/win32/spawn.c (__vfork_get_empty_entry): zero fill result
11726 so `next' is valid.
11727
11728Sat Sep 30 15:00:15 1995 Jason Molenda (crash@phyeaux.cygnus.com)
11729
11730 * libc/sys/win32/spawn.c (_spawn): Make quoting rules more
11731 complicated.
11732
11733Sat Sep 30 10:25:57 1995 Jason Molenda (crash@phydeaux.cygnus.com)
11734
11735 * libc/include/_ansi.h: set _HAVE_STDC if __STDC__ is defined
11736 at all, not just == 1.
11737 * libm/math/wf_acos.c (acosf): check for _HAVE_STDC, not __STDC__.
11738
11739Sat Sep 30 04:30:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
11740
11741 * libc/sys/win32/include/winbase.h: include <wintypes.h> and <winnt.h>
11742 * libc/sys/win32/include/wintypes.h: include <winnt.h>
11743 * libc/sys/win32/include/winnt.h: avoid multiple inclusion of this
11744 file.
11745
11746Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
11747
11748 * libc/sys/syscalls.c (getcwd): Fix off by one error.
11749
11750 * libc/sys/signal.c (sleep): Fill it in.
11751 * libc/sys/termios.c (tcflush): Use PurgeComm
11752 (tcsetattr): Set some more of the bits.
11753 * libc/sys/include/winkernel.h: Add PurgeComm and Sleep.
11754
11755Fri Sep 29 04:33:53 1995 Doug Evans <dje@deneb.cygnus.com>
11756
11757 * libc/sys/arm/crt0.S (fp): Initialize to 0.
11758 Conditionally include .idata$3 stuff ifdef __pe__.
11759
11760Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
11761
11762 * libc/sys/win32/crt0.c (hmap_init): Call __init_hinfo.
11763 * libc/sys/win32/pipe.c (pipe): Ditto.
11764 * libc/sys/win32/syscalls.c (__read): Use new vtime and vmin fields.
11765 * libc/sys/win32/syscalls.h (hinfo): vtime, vmin are new.
11766 * libc/sys/win32/termios.c (tcsetattr): Init new fields.
11767 (tcgetattr): Contents are new.
11768 * libc/sys/win32/include/winkernel.h (DCB): New.
11769 (GetCommState, SetCommState): New.
11770
11771Thu Sep 28 16:29:09 1995 Doug Evans <dje@deneb.cygnus.com>
11772
11773 * libc/sys/arm/crt0.S (_start): Define.
11774
11775Thu Sep 28 12:26:45 1995 steve chamberlain <sac@slash.cygnus.com>
11776
11777 * libc/sys/arm/crt0.S: Move stack to top of RAM on PIE board.
11778 * libc/sys/arm/syscalls.c (_read, _write): Use the SWI properly.
11779
11780 * libc/sys/win32/sysconf.c: New
11781 * libc/sys/win32/sys/winadvapi.h: New
11782 * libc/sys/win32/syscalls.h (hinfo): Added timeout_len, w_binary, r_binary.
11783 * libc/sys/win32/crt0.c (hmap_init): Initialize new fields.
11784 * libc/sys/win32/pipe.c (pipe): Ditto.
11785 * libc/sys/win32/signal.c (_raise): New.
11786 (_kill): Moved from spawn.c
11787 * libc/sys/win32/spawn.c (kill): Moved to signal.c
11788 * libc/sys/win32/syscalls.c (__read): Use new fields.
11789 (_open): Ditto.
11790 * libc/sys/win32/termios.c (tcflush, tcsetattr, tcgetattr): Fill in.
11791 * libc/sys/win32/exceptions.c (__stack_trace): Keep going for longer.
11792 * libc/include/sys/unistd.h (rmdir): Takes const path.
11793 * libc/include/sys/stat.h (mkdir): Takes const path.
11794 * libc/include/sys/signal.h (SIGTTOU, SIGTTIN): New for win32.
11795
11796Thu Sep 28 10:11:27 1995 Doug Evans <dje@canuck.cygnus.com>
11797
11798 * libc/sys/win32/spawn.c (_spawn): Fix quoting.
11799
11800 Add support for specifying paths as //<drive>/foo/bar.
11801 * libc/sys/win32/syscalls.h (__path_needs_conversion_p): Declare.
11802 (__path_to_real_path): Declare.
11803 (PATH_TO_REAL_PATH): New macro.
11804 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): Minor cleanup.
11805 (__path_needs_conversion_p, __path_to_real_path): New functions.
11806 (_open): Fix test for error return from CreateFileA.
11807 Handle new path syntax.
11808 (_link, mkdir, rmdir, getcwd, chdir, stat): Handle new path syntax.
11809 * libc/sys/win32/dirsearch.c (opendir): Likewise.
11810
11811Wed Sep 27 16:36:46 1995 steve chamberlain <sac@slash.cygnus.com>
11812
11813 * libc/sys/win32/include/*.h: Reorganized
11814 * libc/sys/win32/include/WINREADME: New.
11815 * libc/sys/win32/Makefile.in (DLLS): Build version.a.
11816 * libc/sys/win32/*.c: Fix for new include scheme.
11817 * libc/sys/win32/crt0.c (__this_uinfo_buf, __this_uinfo): New.
11818 * libc/sys/win32/getlogin.c (getlogin): Use uinfo.
11819 * libc/sys/win32/passwd.c (*): Fix.
11820 * libc/sys/win32/syscalls.c (get[e|][g|u]id): Use passwd info.
11821 (_stat): Get directory owner and permissions right.
11822 * libc/sys/win32/syscalls.h (uinfo): New.
11823 * libc/sys/win32/version.def: Remove leading underscores.
11824
11825Tue Sep 26 18:18:47 1995 Jason Molenda (crash@phydeaux.cygnus.com)
11826
11827 * libc/sys/win32/key.c: include "include/wincon.h".
11828
11829Tue Sep 26 07:21:48 1995 steve chamberlain <sac@slash.cygnus.com>
11830
11831 * libc/sys/win32/{key, stubs}.c: New.
11832 * libc/sys/win32/Makefile: Adjust to cope.
11833 * libc/sys/win32/crt0.c (vfork_init_first): Cope with -ve pids.
11834 (environ_init): Change env names to upper case.
11835 * libc/sys/win32/dirsearch.c (readdir): Don't fill in inode number.
11836 * libc/sys/win32/passwd.c (*): Fill in the functions.
11837 * libc/sys/win32/pipe.c (_fcntl): F_GETFL returns O_RDWR.
11838 * libc/sys/win32/spawn.c (_spawn): Cope with -ve pids.
11839 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): New function.
11840 (_open): Initialze hmap->execable_p too.
11841 * libc/sys/win32/syscalls.c (getuid, getgid, geteuid, getegid): Return from macros.
11842 (_fstat): Fill in permissions.
11843 * libc/sys/win32/syscalls.h (hinfo): Add execable_p.
11844
11845Fri Sep 22 13:47:27 1995 Doug Evans <dje@canuck.cygnus.com>
11846
11847 * configure.in (cfg-ml-com.in invocation): Use ${with_multilib_top}
11848 if defined.
11849 (cfg-ml-pos.in invocation): Likewise.
11850
11851Fri Sep 22 11:43:44 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11852
11853 * Makefile.in (MATHOBJS_IN_LIBC): Added s_isinf.o, sf_isinf.o,
11854 s_isnan.o and sf_isnan.o.
11855
11856Wed Sep 20 14:50:19 1995 Ian Lance Taylor <ian@cygnus.com>
11857
11858 * All Makefile.in files: added maintainer-clean target as a
11859 synonym for realclean.
11860
11861Wed Sep 20 11:02:50 1995 Jeff Law (law@snake.cs.utah.edu)
11862
11863 * libc/include/machine/setjmp.h: Add hppa support.
11864 * libc/machine/hppa/setjmp.S: New file with setjmp/longjmp
11865 support.
11866 * libc/machine/hppa/Makefile.in: Related changes.
11867
11868Tue Sep 19 12:09:01 1995 J.T. Conklin <jtc@blues.cygnus.com>
11869
11870 * configure.in (machine_dir): Don't set for v810-*-*.
11871
11872Fri Sep 15 20:22:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
11873
11874 * libc/sys/win32/crt0.c (passover): Change to handle MKS quoting
11875 conventions correctly.
11876
11877Thu Sep 14 13:37:22 1995 J.T. Conklin <jtc@blues.cygnus.com>
11878
11879 * libc/stdio/puts.c: Update documentation of return value to match
11880 ANSI standard.
11881
11882Thu Sep 14 01:52:37 1995 Doug Evans <dje@canuck.cygnus.com>
11883
11884 Fix file descriptor inheritance.
11885 * libc/sys/win32/syscalls.h (CHILD_P): Define again.
11886 (NOT_OPEN_FD): Fix.
11887 * libc/sys/win32/spawn.c (vfork0): Only create inheritable handle if
11888 close-on-exec flag not set. Initialize child's entire fd table.
11889 * libc/sys/win32/syscalls.c (_open): Only create inheritable handle if
11890 CHILD_P.
11891 * libc/sys/win32/pipe.c (pipe): Only create new handle as inheritable
11892 if CHILD_P. Initialize entire hmap entry.
11893 (dup): Only create new handle as inheritable if CHILD_P.
11894 (dup2): Likewise. Properly initialize hmap entry.
11895
11896 * libc/sys/win32/spawn.c (_execve): Don't pass _P_SEARCH_PATH to
11897 _spawn.
11898 (_exit): Use CHILD_P.
11899 * libc/sys/win32/syscalls.c (_fstat): Fix call to memset.
11900 (_stat): Likewise.
11901
11902Mon Sep 11 23:09:39 1995 Jason Molenda (crash@phydeaux.cygnus.com)
11903
11904 * libc/sys/win32/crt0.c (passover): fix up the state table.
11905 * libc/posix/popen.c: Added.
11906 * libc/posix/Makefile.in: compile popen.c.
11907
11908Mon Sep 11 11:43:38 1995 J.T. Conklin <jtc@cygnus.com>
11909
11910 * libc/include/machine/ieeefp.h: On the h8/300, h8/300h and
11911 h8/500 define _DOUBLE_IS_32BITS.
11912
11913Sat Sep 9 17:55:54 1995 Doug Evans <dje@canuck.cygnus.com>
11914
11915 Get vfork/exec/spawn/cwait/wait working again.
11916 * libc/sys/win32/syscalls.h (VFORK_NEWBORN_PSEUDO_PID): Define.
11917 (procinfo): New member vfork_level.
11918 * libc/sys/win32/crt0.c (__vfork_next_pid): Delete.
11919 (vfork_init_first): Use GetCurrentProcessId to get pid.
11920 Initialize vfork_level.
11921 (vfork_init): Delete __PID__.
11922 (environ_init): New function. Undo patch of Aug 19, Posix says
11923 environment variables are case sensitive.
11924 (mainCRTStartup): Call it.
11925 * libc/sys/win32/spawn.c (__vfork_next_pid): Delete.
11926 (my_longjump: Make static.
11927 (_spawn): New argument `h'. Delete setting of __PID__.
11928 Delete local `idx'. Look for chars that need quotes, rather than
11929 ones that don't. Set handle of created process in `h'.
11930 Result is process id if created task.
11931 (allocate_spawn_entry): New function.
11932 (spawnvp, spawnv): Call it. Store handle and pid in procinfo entry.
11933 (_execve): Set __FD_TABLE__ before spawning child.
11934 Scan our fd table when passing fds, not our parent's.
11935 Store handle and pid in procinfo entry.
11936 (vfork0): Ensure strace message always printed.
11937 Set child pid to VFORK_NEWBORN_PSEUDO_PID.
11938 (vfork): Don't clobber result of vfork0.
11939 * libc/sys/win32/wait.c (cwait): Fix non-error result (is pid).
11940 (wait_for_any): Ignore processes in state FORK_STATE_VFORK_0.
11941
11942 * libc/sys/win32/syscalls.h (procinfo): New members `handle_valid_p'
11943 and `exit_code'.
11944 * libc/sys/win32/spawn.c (allocate_spawn_entry): Initialize them.
11945 (vfork0): Likewise. Distinguish children, grandchildren, etc. by
11946 adding vfork level to pseudo-pid.
11947 (vfork1): If not root, set state back to FORK_STATE_VFORK_0.
11948 (spawnvp, spawnv, _execve): Set handle_valid_p if success.
11949 (_exit): If child, set exit code.
11950 (__vfork_record_death): Only close process handle if valid.
11951 * libc/sys/win32/wait.c (wait_for_single): Watch for children that
11952 didn't exec.
11953 (wait_for_any): Likewise. Start scan after root entry.
11954
11955Fri Sep 8 18:48:02 1995 Jason Molenda (crash@phydeaux.cygnus.com)
11956
11957 * libc/include/sys/types.h (off_t): off_t back to 32 bits.
11958 * libc/include/sys/_types.h (_off_t): _off_t back to 32 bits.
11959 * libc/sys/win32/syscalls.c (_fstat): st_size is lower 32-bits
11960 of actual file length.
11961
11962 * libc/sys/win32/sys/wait.h: include <sys/types.h>.
11963 * libc/include/paths.h: _PATH_BSHELL added.
11964 * libc/include/sys/unistd.h: define STDIN_FILENO, STDOUT_FILENO,
11965 and STDERR_FILENO.
11966
11967Thu Sep 7 21:02:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
11968
11969 * libc/include/ar.h: Added.
11970 * libc/include/sys/types.h: ino_t goes back to 32-bits.
11971 * libc/sys/win32/syscalls.h (hinfo): added .namehash field.
11972 * libc/sys/win32/syscalls.c (_open): compute .namehash based
11973 on filename.
11974 (_fstat): use .namehash for inode number of the fd.
11975
11976Thu Sep 7 12:57:19 1995 steve chamberlain <sac@slash.cygnus.com>
11977
11978 * libc/sys/win32/{console,ioctl,pipe,spawn,syscalls,wait}.? (*):
11979 Change hinfo to __this_procinfo.
11980 * libc/sys/win32/crt0.c: Remove procinfo_list.
11981
11982Wed Sep 6 18:38:26 1995 Jason Molenda (crash@phydeaux.cygnus.com)
11983
11984 * libc/include/sys/types.h (ino_t): Define ino_t correctly for
11985 win32 environment.
11986
11987Wed Sep 6 18:09:29 1995 Jason Molenda (crash@phydeaux.cygnus.com)
11988
11989 * libc/sys/win32/include/grp.h: Removed.
11990 * libc/sys/include/grp.h: Added.
11991 * libc/sys/win32/grp.c: Include <grp.h>.
11992
11993Wed Sep 6 16:52:48 1995 steve chamberlain <sac@slash.cygnus.com>
11994
11995 * libc/include/sys/signal.h (__need_MAX_SIGNALS): Removed.
11996 (sigset_t, sigaction, SIG_SETMASK, SIG_BLOCK, SIG_UNBLOCK):
11997 Defined for all but strict ANSI.
11998 * libc/include/sys/reent.h (__need_MAX_SIGNALS): Removed.
11999 * libc/include/machine/setjmp.h: Get win32 _JBLEN right.
12000 * libc/signal/signal.c (_signal_r): Changed from using
12001 _MAX_SIGNALS to NSIG.
12002 * libc/sys/win32/crt0.c (__current_pid, __parent_hmap, __child_hmap,
12003 __hmap): Deleted.
12004 (__strace, __vfork_next_pid): New.
12005 (__exe_suffix): Default to 1.
12006 (passover, table): Understand quoted arguments.
12007 (vfork_init_first): New.
12008 (vfork_init): Initialize new process structure.
12009 (mainCRTStartup): Pass environ to main.
12010 * exceptions.c (__sig_mask): New
12011 (ehandler3): Ignore signals in mask.
12012 (really_exit): Remove CHILD_P test.
12013 * pipe.c (pipe, dup, dup2): Use new process and file structure.
12014 * resource.c (getrusage): Ditto.
12015 * signal.c (sigprocmask): New.
12016 * spawn.c (*): Rewritten.
12017 * syscalls.c (*): Use new process and file structure.
12018 (find_unused_handle): New.
12019 * syscalls.h (MAX_HANDLES): Deleted.
12020 (hinfo): Removed child_created_p.
12021 (MAX_CHILDREN): Deleted.
12022 (vfork_jmp_info, procinfo): New.
12023 * wait.c (*): Mostly new.
12024 * sys/strace.h (_STRACE_PARANOID): New.
12025 * sys/param.h: New file.
12026
12027Wed Sep 6 17:03:53 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12028
12029 * libc/include/sys/stat.h: add S_BLKSIZE.
12030 * libc/include/sys/_types.h: _off_t is a 64-bit type under win32.
12031 * libc/include/sys/types.h: define off_t and ino_t to be 64 bit
12032 types under win32.
12033 (mode_t): add a #else to avoid multiple definitons.
12034
12035 * libc/sys/win32/Makefile.in: add grp.c.
12036 * libc/sys/win32/grp.c: include grp.h correctly.
12037 * libc/sys/win32/syscalls.c (_fstat): set almost all of the fields
12038 of the st structure with real information.
12039 * libc/sys/win32 (dirent): d_ino is of type ino_t.
12040
12041Wed Sep 6 10:41:34 1995 Doug Evans <dje@canuck.cygnus.com>
12042
12043 * libc/include/sys/types.h (mode_t): Correct for svr4 sparc's
12044 and (maybe) sparc64.
12045 (nlink_t): Provide typedef.
12046
12047Tue Sep 5 18:46:05 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12048
12049 * libc/sys/win32/grp.c: New file.
12050 * libc/sys/win32/include/grp.h: New file.
12051
12052Tue Sep 5 13:47:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12053
12054 * libc/include/machine/ieeefp.h: Added whitespace to make this
12055 file easier to maintain.
12056 On the sh, define either __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN
12057 depending on the value of __LITTLE_ENDIAN__.
12058 On the sh3e, define _DOUBLE_IS_32BITS.
12059
12060Fri Sep 1 15:35:18 1995 James G. Smith <jsmith@beauty.cygnus.com>
12061
12062 * libc/sys/vr4300/syscalls.c: Added missing support
12063 routines. _raise() and getpid().
12064
12065Fri Sep 1 14:12:48 1995 James G. Smith <jsmith@rtl.cygnus.com>
12066
12067 * configure.in (mips*vr4300*-*-elf): Fixed silly mistake
12068
12069Fri Sep 1 08:42:11 1995 James G. Smith <jsmith@beauty.cygnus.com>
12070
12071 * configure.in (mips*vr4300*-idt-*) Add support for RISQ monitor
12072 and VR4300 processor.
12073 * libc/sys/vr4300: Add directory.
12074 * libc/sys/vr4300/{Makefile.in, crt0.S, syscalls.c}: Add SIM
12075 monitor run-time support.
12076
12077Thu Aug 31 09:16:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12078
12079 * libc/stdlib/Makefile.in (CHEWOUT_FILES): Removed atol.def.
12080 * libc/stdlib/stdlib.tex: Don't include atol.def.
12081
12082Wed Aug 30 20:38:28 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12083
12084 * libc/sys/win32/uname.c (uname): hardcode processor as `i386'.
12085
12086Wed Aug 30 10:48:08 1995 steve chamberlain <sac@slash.cygnus.com>
12087
12088 * libc/ctype/Makefile.in: Fill in _to* dependencies.
12089
12090Tue Aug 29 17:14:29 1995 steve chamberlain <sac@slash.cygnus.com>
12091
12092 * libc/sys/win32/{dirsearch.c,sys/dirent.h}: Fix namespace problems.
12093 * libc/sys/win32/sys/dirent.h (struct dirent): Added d_ino.
12094 * libc/sys/win32/strace.c (__sys_printf): Increase size of buffer.
12095 * libc/sys/win32/smallprint.c (__small_vsprintf): Remove debug.
12096 * libc/sys/win32/dirsearch.c (readdir): Set d_ino.
12097
12098Tue Aug 29 19:00:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12099
12100 * libc/stdlib/atol.c (atol): DEFUN -> _DEFUN.
12101
12102Tue Aug 29 16:08:09 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12103
12104 * libc/stdlib/Makefile.in (OFILES): Added atoff.o and atol.o.
12105 * libc/stdlib/atoff.c: New file.
12106 * libc/stdlib/atof.c (atoff): Moved to atoff.c.
12107 * libc/stdlib/atoi.c (atol): Removed.
12108 * libc/stdlib/atol.c: Removed duplicate documentation.
12109
12110 * libc/include/ctype.h (_tolower, _toupper): Moved inside
12111 #ifndef _STRICT_ANSI conditional.
12112 * libc/ctype/Makefile.in (OFILES): Added _tolower.o and _toupper.o
12113 * libc/ctype/_tolower.c: New file.
12114 * libc/ctype/_toupper.c: New file.
12115 * libc/ctype/tolower.c (_tolower): Moved to _tolower.c.
12116 * libc/ctype/toupper.c (_toupper): Moved to _toupper.c.
12117 * libc/ctype/toascii.c (_toascii): Removed.
12118
12119Tue Aug 29 12:17:32 1995 Doug Evans <dje@canuck.cygnus.com>
12120
12121 * libc/sys/sparc64/sys/types.h: Deleted.
12122
12123Mon Aug 28 22:06:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12124
12125 * libc/sys/win32/uname.c (uname): change `Windows/NT' to `Windows_NT'
12126 and recognize Windows_95 systems.
12127
12128Mon Aug 28 19:50:54 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12129
12130 * libc/sys/win32/crt0.c (vfork_init, hmap_init): standard I/O fds
12131 and passed fds should be opened in text mode.
12132
12133Mon Aug 28 18:51:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12134
12135 * libc/sys/win32/crt0.c (vfork_init): mark passed fds as used
12136 in __hmap, set to binary mode by default.
12137
12138Tue Aug 22 14:12:37 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12139
12140 * libc/sys/sh/syscalls.c: Updated all functions to call __trap34.
12141 * libc/sys/sh/trap.S (__trap34): Renamed from __trap3. Use trap
12142 vector 34.
12143
12144Sat Aug 19 18:25:37 1995 steve chamberlain <sac@slash.cygnus.com>
12145
12146 * Makefile.in (install): Install all libraries found in the
12147 top level. If there's a sys/<type>/include directory,
12148 install those headers into include.
12149
12150 * libc/sys/win32/kernel.def351: Delete
12151 * libc/sys/win32/{comctl32.def, comdlg32.def, ctl3d32.def,
12152 glaux.def, glu32.def, largeint.def, libc.def, libcmt.def,
12153 lz32.def, mgmtapi.def, mpr.def, msacm32.def, msvcrt.def,
12154 nddeapi.def, netapi32.def, odbc32.def, odbccp32.def, oldnames.def,
12155 ole32.def, oleaut32.def, opengl32.def, rasapi32.def, rpcndr.def,
12156 rpcns4.def, rpcrt4.def, scrnsave.def, shell32.def, snmp.def,
12157 uuid.def, vdmdbg.def, version.def, vfw32.def, win32spl.def,
12158 winmm.def, winspool.def, winstrm.def, wsock32.def}: New.
12159
12160 * libc/sys/win32/Makefile.in: Update for new files and new dlltool options.
12161 * libc/sys/win32/crt0.c: Force all env names to upper case.
12162 * libc/sys/win32/sys/win*.h -> libc/sys/win32/include
12163 * libc/sys/win32/*.c: Headers have moved.
12164 * libs/sys/win32/*.[ch]: Test for open_p rather than BAD_HANDLE,
12165 __vfork_child_idx is now __vfork_child_ptr.
12166
12167 * posix/execvp (execvp): Don't crash if no PATH envname.
12168
12169Fri Aug 18 12:22:59 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12170
12171 * libc/include/sys/reent.h (_Bigint): Removed _reclaim field.
12172 * libc/reent/reent.c (_reclaim_reent): Free Bigint's by going
12173 through the _freelist instead of through the _reclaim list.
12174 * libc/stdlib/mprec.c (_Balloc): Don't put new node on _reclaim list.
12175 * libc/stdlib/mprec.c (_Bcopy): Make like version in master dtoa.c
12176 sources.
12177
12178Thu Aug 17 11:03:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12179
12180 * libc/machine/h8500/setjmp.S: New file.
12181 * libc/include/machine/setjmp.h: Updated for H8/500.
12182
12183Wed Aug 16 16:19:11 1995 steve chamberlain <sac@slash.cygnus.com>
12184
12185 * libc/sys/win32/syscalls.c (_open): More stracing.
12186 (_stat): Open the file in O_BINARY.
12187
12188Wed Aug 16 15:49:01 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12189
12190 * libc/machine/h8300/setjmp.S: New file.
12191 * libc/include/machine/setjmp.h: Updated for H8/300 and H8/300H.
12192
12193Tue Aug 15 10:31:09 1995 Doug Evans <dje@canuck.cygnus.com>
12194
12195 * libc/sys/win32/crt0.c (__exe_suffix): New global.
12196 (mainCRTStartup): Set __exe_suffix from LIBC_EXE_SUFFIX.
12197 * libc/sys/win32/spawn.c (_spawn): Add .exe suffix based on
12198 __exe_suffix. Free fd_tab after setting env variable.
12199 (spawnv,_execve): Update.
12200 * libc/sys/win32/syscalls.h (__exe_suffix): Declare.
12201 * libc/sys/win32/smallprint.c (puts,putn): New (static) functions.
12202 (__small_vfprintf): New function.
12203 * libc/sys/win32/strace.c (__sys_printf): Call __small_vfprintf.
12204 * libc/sys/win32/wait.c (cwait): Validate argument.
12205
12206 * libc/sys/win32/syscalls.c (queue_file_deletion): Add trace message.
12207 (process_deletion_queue): Likewise.
12208
12209 * libc/sys/win32/Makefile.in (lib.a): Don't call $(RANLIB).
12210
12211Mon Aug 14 10:14:10 1995 steve chamberlain <sac@slash.cygnus.com>
12212
12213 * libc/sys/win32: Copyrights and gratuitous indenting.
12214
12215Mon Aug 14 01:32:58 1995 Doug Evans <dje@canuck.cygnus.com>
12216
12217 * libc/sys/win32/syscalls.c (queue_file_deletion): Finish.
12218 (process_deletion_queue): Likewise.
12219 (__close_all_files): New function.
12220 (_close): Only queue file deletion if really a file.
12221 * libc/sys/win32/spawn.c (_spawn): Only ensure .exe suffix if
12222 _P_APPEND_EXE.
12223 (_exit): Call __close_all_files.
12224
12225 * libc/stdlib/system.c: #include <errno.h>.
12226 (_system_r): Fix results in -DNO_EXEC case.
12227
12228 * libc/sys/win32/sys/dirent.h (DIR): New member __d_dirname.
12229 Reorganize structure.
12230 * libc/sys/win32/dirsearch.c (opendir): Use stat to determine
12231 if argument is valid. Save directory name in DIR. malloc space
12232 for dirent struct separately.
12233 * libc/sys/win32/syscalls.c (stat): Fix test for directory.
12234
12235 * libc/include/errno.h (ENAMETOOLONG): Define.
12236 * libc/string/strerror.c (strerror): Reword ENFILE.
12237 Add ENOSYS, ENMFILE, ENOTEMPTY, ENAMETOOLONG.
12238
12239Sun Aug 13 22:42:25 1995 Doug Evans <dje@canuck.cygnus.com>
12240
12241 * libc/sys/win32/crt0.c (__progname): New global.
12242 (mainCRTStartup): Support strace=bitmask,filename.
12243 * libc/sys/win32/dirsearch.c (all fns): Add trace messages.
12244 * libc/sys/win32/syscalls.c (_write): Print parent trace message
12245 if error.
12246 (getcwd): Handle len too small. Convert '\\' to '/'.
12247 * libc/sys/win32/sys/fcntl.h (O_RDWR): = O_RDONLY|O_WRONLY.
12248 Add prototypes for open, creat, fcntl.
12249 (O_APPEND): Change value to conform to Microsoft's value.
12250 * libc/sys/win32/sys/strace.h (_STRACE): Protect in do/while.
12251
12252 * libc/stdlib/getopt.c: New file.
12253 * libc/stdlib/Makefile.in: Build it.
12254
12255Sat Aug 12 12:17:14 1995 Doug Evans <dje@canuck.cygnus.com>
12256
12257 * libc/posix/execvp.c (execvp): Watch for DOS drives ifdef _WIN32.
12258 Fix scanning of $PATH.
12259 * libc/posix/exec*.c: Call _execve, not execve.
12260 * libc/posix/execve.c: New file.
12261 * libc/posix/Makefile.in (OFILES): Add execve.o.
12262
12263 * libc/sys/win32/sys/strace.h (_STRACE_ALL, _STRACE_UHOH,
12264 _STRACE_STARTUP, _STRACE_SYSCALL): More bit masks of things to trace.
12265 (_STRACE): If level==0, always print. Handle new bit mask scheme.
12266 * libc/sys/win32/crt0.c: Update _STRACE calls.
12267 * libc/sys/win32/{pipe.c,resource.c,spawn.c,syscalls.c,wait.c}: Ditto.
12268
12269 * libc/sys/win32/smallprint.c (rn): Fix digit list.
12270
12271 * libc/sys/win32/syscalls.c (__really_exit): Move from here,
12272 * libc/sys/win32/exceptions.c (really_exit): to here. Avoid recursion.
12273 * libc/sys/win32/spawn.c (spawnvp): Pass `prog' as image name.
12274 Print __seterrno trace message first.
12275 (_execve): Renamed from execve.
12276 (vfork): Update __strace usage.
12277 (__vfork_child_pid): Deleted.
12278 (__vfork_children, __vfork_child_idx): New globals.
12279 (_spawnvp): New function.
12280 (spawnvp, spawnv, _execve): Call _spawnvp.
12281 (init_child): Record child in __vfork_children.
12282 (__vfork_get_entry, __vfork_record_death): New functions.
12283 * libc/sys/win32/crt0.c (mainCRTStartup): Initialize __vfork_children.
12284 * libc/sys/win32/kernel32.def (WaitForMultipleObjects): Define.
12285 * libc/sys/win32/syscalls.h (CHILD_P): New macro. All files updated.
12286 (MAX_CHILDREN, CHILD_INTERIM_PID): Define.
12287 (children): New typedef.
12288 (__vfork_children,__vfork_child_idx): Declare.
12289 (__vfork_get_entry,__vfork_record_death): Declare.
12290 * libc/sys/win32/wait.c (wait_for_single,wait_for_any): New functions.
12291 (waitpid): Handle pid == -1.
12292 * libc/sys/win32/sys/wintypes.h (WaitForMultipleObjects): Declare.
12293 * configure.in (i386-win32): Add -DNO_FORK.
12294 * libc/syscalls/sysfork.c (fork): Don't define for NO_FORK.
12295 * libc/reent/execr.c (_fork_r): Likewise.
12296 * libc/stdlib/system.c (do_system): New function.
12297 If WIN32, try to get shell path from $SH_PATH, use vfork.
12298 (_system_r): Return 1 for (s == NULL) if WIN32 or unix,
12299 otherwise return 0.
12300
12301Sat Aug 12 11:08:00 1995 steve chamberlain <sac@slash.cygnus.com>
12302
12303 * libc/stdlib/{mallocr.c, mstats.c}: Move mstats from mallocr to mstats.c.
12304 * libc/sys/win32/fcntl.h: Don't include self.
12305 * libc/sys/win32/sys/strace.h (_STRACE_WM, _strace_wm): New.
12306 * libc/sys/win32/sys/winbase.h: (GetUserName) New.
12307 * libc/sys/win32/sys/wincon.h (HANDLER_ROUTINE): Define correctly.
12308 * libc/sys/win32/sys/wintypes.h (GetFileType, GetCurrentProcess, CloseHandle,
12309 SetFilePointer, CreateFileA, GetFileInformationByHandle, GetStdHandle):
12310 Correct prototypes.
12311 * libc/sys/win32/strace.c: New file.
12312 * libc/sys/win32/smallprint.c: New file.
12313 * libc/sys/win32/crt0.c (func): Delete.
12314 (mainCRTStartup): Fix alloca usage. Set handles explictly.
12315 * libc/sys/win32/dirsearch.c: Clean up handle usage, fix calls to __seterrno.
12316 * libc/sys/win32/exceptions.c: Lint.
12317 * libc/sys/win32/{ioctl.c, pipe.c, resource.c, spawn.c, cwait.c, syscalls.c}:
12318 Clean up handle usage.
12319 * libc/sys/win32/syscalls.c (__sys_printf): Moved into strace.c
12320 (open.c): Default file type is text.
12321 * libc/sys/win32/uname.c (uname): Use __small_sprintf.
12322 * libc/sys/win32/advapi32.def: New
12323
12324Fri Aug 11 17:11:52 1995 Doug Evans <dje@canuck.cygnus.com>
12325
12326 * configure.in (posix_dir, libc_posix_lib): New variables.
12327 Define LIBC_POSIX_LIB in makefile to be $libc_posix_lib.
12328 (i[345]86-*-win32): Define posix_dir.
12329 Delete -DNO_EXEC. Define -DHAVE_OPENDIR.
12330 (if unix_dir): Fix typo.
12331 * libc/posix/{Makefile.in,closedir,opendir,readdir,rewinddir,
12332 scandir,seekdir,telldir}: New files.
12333 * libc/posix/{execl.c,execle.c,execlp.c,execv.c,execvp.c}: Move here
12334 from libc/unix.
12335 * libc/Makefile.in (LIBC_POSIX_LIB): Define.
12336 (SUBDIRS): Add posix.
12337 (SUBLIBS): Add $(LIBC_POSIX_LIB).
12338
12339 * libc/include/sys/signal.h (SIGCHLD): Add for _WIN32.
12340 (NSIG): Increase to 21.
12341 * libc/include/sys/unistd.h (pid_t): Move from here,
12342 * libc/include/sys/types.h (pid_t): to here.
12343
12344 * libc/sys/win32/syscalls.h: #include "sys/strace.h".
12345 (__ptrace): Delete.
12346 (hinfo): New members close_exec_p, child_created_p.
12347 (struct exception_list): Define.
12348 (__hmap): Redefine as pointer to table.
12349 (__parent_hmap, __child_hmap): New globals.
12350 (__set_errno, __really_exit): Declare.
12351 (__vfork_child_pid): Declare.
12352 * libc/sys/win32/crt0.c (__strace, __trace_file): New global.
12353 (__orig_stdin, __orig_stdout, __orig_stderr): New globals.
12354 (__parent_hmap, __child_hmap): New globals.
12355 (__hmap): Redefine as pointer to active map.
12356 (__get_console): New function.
12357 (mainCRTStartup): Change leading '=' in environ vars to '!'.
12358 (env __FD_TABLE__): Watch for this and initialize our fd/handle
12359 mapping table from it if defined.
12360 (argv, envp): Dump if __strace >= 4.
12361 (main): Call here.
12362 * libc/sys/win32/exceptions.c (myp): Redefine.
12363 (__syscalls_b): Delete.
12364 (__stack_trace): New function.
12365 (ehandler3): Update to use _STRACE. Print stack trace.
12366 Call __really_exit instead of exit.
12367 (init_exceptions): Delete args argc,argv. New arg mine.
12368 * libc/sys/win32/kernel32.def (CreatePipe, DuplicateHandle, FindClose,
12369 FindFirstFileA, FindNextFileA, GetComputerNameA,
12370 GetEnvironmentVariableA, ReadFile, SetEnvironmentVariableA): Define.
12371 * libc/sys/win32/signal.c (signal): Validate arg.
12372 (alarm, sleep): Define as stubs for now.
12373 * libc/sys/win32/syscalls.c (all fns): Update to use _STRACE.
12374 (__syscalls_b, errno): Delete.
12375 (__vfork_child_pid, __vfork_jmp_buf): New globals.
12376 (__seterrno): Handle more errors.
12377 (__sys_printf): Renamed from _ptrace.
12378 (__really_exit): New function.
12379 (queue_file_deletion, process_deletion_queue): New functions.
12380 (__resume_parent): New function.
12381 (_unlink): Handle trying to delete open file.
12382 (__totime_t): Renamed from totime_t.
12383 (setsid, __read, __write): New functions.
12384 (cwait, spawnvp, R, D, getrusage, _execve, _fork, _wait): Delete.
12385 * libc/sys/win32/{dirsearch.c,getlogin.c,misc.c,resource.c,passwd.c,
12386 times.c,spawn.c,pipe.c,wait.c,termios.c,ioctl.c,uname.c}: New files.
12387 * libc/sys/win32/console.c: Update to new definition of __hmap.
12388 * libc/sys/win32/Makefile.in: Build new files.
12389 * libc/sys/win32/sys/{dirent.h,winerror.h,wait.h,termios.h}: New files.
12390 * libc/sys/win32/sys/{ioctl.h,utsname.h}: New files.
12391 * libc/sys/win32/sys/strace.h: Renamed from ptrace.h.
12392 * libc/sys/win32/sys/wintypes.h (GetCurrentDirectoryA): Fix prototype.
12393
12394Thu Aug 10 16:32:52 1995 Doug Evans <dje@canuck.cygnus.com>
12395
12396 * libc/sys/h8500hms/misc.c (kill): Handle SIGABRT.
12397
12398Thu Aug 10 12:07:38 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12399
12400 * libc/stdlib/{dtoa.c, strtod.c}: Merged assorted changes that
12401 have been made to the master dtoa.c sources (from netlib.att.com)
12402 since they were integrated into newlib in early 1992. Fixes
12403 problems with storage leaks and handling of numbers with very
12404 negative exponents.
12405
12406Wed Aug 9 14:18:39 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12407
12408 * Makefile.in (all): set rootpre and srcrootpre before calling
12409 sub-makes.
12410
12411Tue Aug 8 17:20:45 1995 steve chamberlain <sac@slash.cygnus.com>
12412
12413 * libc/sys/win32/crt0.c: Change __hmap usage.
12414 * libc/sys/win32/exceptions.c: Use _ptrace call.
12415 * libc/sys/win32/syscalls.c: Use _ptrace call.
12416 (read, write): Cope with DOS style CRLF when in TEXT mode.
12417 * libc/sys/win32/syscalls.h: Declare hinfo struct.
12418 * libc/sys/win32/user32.def: Get DefWindowProc arg list right.
12419 * libc/sys/win32/sys/fcntl.h, ptrace.h: New.
12420 * libc/sys/win32/sys/windows.h: Fill in rest of messages.
12421 * libc/sys/win32/sys/wintypes.h: Fix attribute syntax.
12422
12423Mon Aug 7 13:04:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12424
12425 * libc/include/math.h (cabs, cabsf, drem, dremf): New declarations.
12426
12427 * libm/math/{w_cabs.c, wf_cabs.c, w_drem.c, wf_drem.c}: New files,
12428 wrappers for hypot() and remainder() for BSD libm compatibility.
12429 These are public domain implementations written by me for the
12430 NetBSD libm some time ago. Note cabs() is required by ucbtest.
12431 * libm/math/Makefile.in (obj): Added w_cabs.o and w_drem.o.
12432 (fobj): Added wf_cabs.o and wf_drem.o.
12433
12434Thu Aug 3 08:13:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12435
12436 * libc/sys/h8500hms/misc.c: New file.
12437 * libc/sys/h8500hms/Makefile.in (OFILES): Add misc.o.
12438
12439Wed Aug 2 16:46:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12440
12441 * libc/time/localtime.c (localtime): Fix problem with leap year
12442 handling. Stole algorithm from Arthur David Olson's tz code.
12443
12444Mon Jul 31 10:21:54 1995 steve chamberlain <sac@slash.cygnus.com>
12445
12446 * configure.in: (z8k-*sim): Renamed z8k-*-coff.
12447
12448 * libc/sys/z8ksim/glue.c (_getpid, _kill): New
12449 (_exit): Use argument.
12450
12451Fri Jul 28 15:17:04 1995 Doug Evans <dje@canuck.cygnus.com>
12452
12453 * libc/sys/win32/sys/winbase.h (_WINBASE_H): Define.
12454
12455Wed Jul 26 16:24:19 1995 steve chamberlain <sac@slash.cygnus.com>
12456
12457 * libc/sys/sh/trap.S (perrno): Align correctly. (pr 7532)
12458
12459Mon Jul 24 13:42:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12460
12461 * configure.in (sparc*): Add -DMALLOC_ALIGNMENT=8 to
12462 target_cflags.
12463
12464Mon Jul 24 11:42:07 1995 steve chamberlain <sac@slash.cygnus.com>
12465
12466 * libc/sys/win32/crt0.c (mainCRTStartup): Look for
12467 ptrace with case insensitivity
12468 * libc/sys/win32/{user32.def, gdi32.def, exceptions.c, screen.c,
12469 sys/winbase.h, sys/windows.h, sys/wintypes.h, sys/winuser.h}:
12470 New files.
12471
12472Fri Jul 21 11:22:26 1995 Doug Evans <dje@canuck.cygnus.com>
12473
12474 * Makefile.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
12475 (MULTITOP, MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): New variables.
12476 (all, install, *clean): Use new multilib support.
12477 * configure.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
12478
12479Fri Jul 21 07:11:42 1995 steve chamberlain <sac@slash.cygnus.com>
12480
12481 * libc/include/sys/signal.h (__WIN32__): New.
12482
12483 * configure.in (i386-*-win32): Remobe SBRK_IS_ALLOC.
12484
12485 * libc/stdlib/mprec.c (Balloc): Fix trampling problem.
12486 (ulp, b2d): Handle 32 bit doubles.
12487 * libc/stdlib/mprec.h: Handle 32 bit doubles.
12488 * libc/stdlib/strtod.c (_strtod_r): Ditto.
12489
12490Fri Jul 14 08:24:58 1995 steve chamberlain <sac@slash.cygnus.com>
12491
12492 from medp@primag.co.uk:
12493 * libc/stdio/setvbuf.c (setvbuf): Fix line buffering on
12494 dynamically allocated buffers.
12495
12496Thu Jul 20 10:11:03 1995 Fred Fish <fnf@fishbowl>
12497
12498 * libc/include/sys/unistd.h (_exit): Add _ATTRIBUTE ((noreturn)).
12499 * libc/stdlib/exit.c (unistd.h): Include to pick up _exit() declaration.
12500
12501Thu Jul 20 10:16:25 1995 Michael Meissner <meissner@tiktok.cygnus.com>
12502
12503 * configure.in (powerpc): Fix previous fix.
12504
12505Wed Jul 19 14:08:55 1995 Michael Meissner <meissner@tiktok.cygnus.com>
12506
12507 * configure.in (powerpc-*eabiaix*): Update PowerPC multilib
12508 directories for this target.
12509
12510Wed Jul 19 00:34:30 1995 Jeffrey A. Law <law@rtl.cygnus.com>
12511
12512 * configure.in (hppa): Add machine_dir definition.
12513 * libc/machine/hppa: New directory with PA specific implementations
12514 of the basic memory/string functions.
12515
12516Tue Jul 18 21:16:00 1995 Michael Meissner <meissner@tiktok.cygnus.com>
12517
12518 * configure.in: Update current PowerPC multilib directories.
12519 Split big and little endian configurations.
12520
12521Tue Jul 18 11:55:33 1995 Ian Lance Taylor <ian@cygnus.com>
12522
12523 * configure.in: Add --enable-single-float option to configure to
12524 control use of MIPS single-float directories. Default to yes.
12525
12526 * Makefile.in (all): Don't recurse into multilib directory if it
12527 does not exist.
12528
12529Mon Jul 17 15:51:30 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12530
12531 * libc/sys/sh/syscalls.c: Fix typo.
12532
12533Mon Jul 3 14:38:52 1995 Steve Chamberlain <sac@slash.cygnus.com>
12534
12535 * Makefile.in, libc/Makefile.in, libc/sys/Makefile.in:
12536 Pass down DLLTOOL.
12537 * libc/include/process.h: Define WAIT_CHILD.
12538 * libc/include/types.h: Get sizes right for win32.
12539 * configure.in (i386-*-pe): Becomes i386-win32.
12540 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
12541 wintypes.h,sys/file.h,sys/resource.h}: Second pass.
12542 * libc/stdlib/mallocr.c: Don't round up memory block if SBRK_IS_ALLOC
12543 is defined.
12544
12545Wed Jun 28 18:34:54 1995 Steve Chamberlain <sac@slash.cygnus.com>
12546
12547 * configure.in (i[345]86-*-pe): New target (NT).
12548 * host/any: DLLTOOL new.
12549 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
12550 wintypes.h,sys/file.h,sys/resource.h}: Preliminary support for
12551 WIN32 (just enough to cross host the comp-tools).
12552
12553Thu Jun 22 11:45:18 1995 Doug Evans <dje@canuck.cygnus.com>
12554
12555 * libc/machine/h8300/{cmpsi.S,ucmpsi.S,divhi3.S,mulhi3.S,mulsi3.S}:
12556 Deleted. These files live in gcc/config/h8300/lib1funcs.asm now.
12557
12558Mon Jun 19 11:40:40 1995 Doug Evans <dje@canuck.cygnus.com>
12559
12560 * libc/include/machine/ieeefp.h (arm): Change to always be
12561 __IEEE_BIG_ENDIAN (even on little endian ARM's).
12562
12563Thu Jun 8 14:22:28 1995 Steve Chamberlain <sac@slash.cygnus.com>
12564
12565 * libc/sys/crt0.S: Initialze sp, and call exit after main.
12566 * libc/sys/syscalls.c (abort): New.
12567 * configure.in (arm): Define ABORT_PROVIDED.
12568
12569Wed Jun 7 14:04:35 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12570
12571 * configure.in (powerpc): Define multidirs.
12572
12573Mon Jun 5 16:10:13 1995 Doug Evans <dje@canuck.cygnus.com>
12574
12575 * libc/sys/arm/crt0.S: Add __USER_LABEL_PREFIX__ support.
12576
12577Thu Jun 1 10:51:47 1995 Sean Eric Fagan <sef@cygnus.com>
12578
12579 * configure.in (sparclite): Delete target_cflags. Define multidirs.
12580
12581Wed May 24 14:23:25 1995 Steve Chamberlain <sac@slash.cygnus.com>
12582
12583 * configure.in, libc/include/machine/ieeefp.h: Modified
12584 for arm:
12585 libc/machine/arm/*, libc/sys/arm/*: New
12586
12587Tue May 23 13:53:07 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12588
12589 * libc/include/machine/ieeefp.h: Use __PPC__ instead of
12590 __powerpc__ when determining endianness.
12591
12592Wed May 10 07:55:56 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12593
12594 * configure.in (m68*): Add multidir for the m68332.
12595
12596 * host/any (CC): Fix typo in last change.
12597
12598Fri Apr 14 22:20:31 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
12599
12600 * libc/include/sys/config.h: Test __m68k__ instead of __m68000__
12601 when determining endianness.
12602 * libc/include/machine/ieeefp.h: Ditto.
12603 * libc/machine/m68k/setjmp.S: Use '&' instead of '#' for immediate
12604 operands.
12605
12606Fri Apr 14 14:14:29 1995 Doug Evans <dje@chestnut.cygnus.com>
12607
12608 * libc/include/errno.h (ENOTEMPTY): Define.
12609
12610Thu Apr 6 12:21:20 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12611
12612 * configure.in (sparc-sun-sunos*): Add -DMALLOC_ALIGNMENT=8 to
12613 target_cflags.
12614
12615 * libc/sys/sun4/Makefile.in (COPYOFILES): Added rem.o, multiply.o,
12616 and umultiply.o.
12617
12618 * libc/stdio/tmpnam.c (worker): Unconditionally increment count
12619 instead of only when open succeeds. ANSI requires that multiple
12620 calls to tmpnam() result in different files.
12621
12622 * libc/sys/sun4/Makefile.in (COPYRENAMEOFILES): New macro, list of
12623 objects pulled in from /lib/libc.a that must be renamed before
12624 being pulled into newlib. /lib/libc.a's div.o conflicted with
12625 newlib's file with the same name.
12626
12627 * libc/stdlib/ldiv.c (ldiv): Call labs() instead of abs().
12628
12629 * host/any (CC, AS, AR, RANLIB): Changed so that executables in
12630 the build tree will only be used if the executables are present
12631 (instead of just the Makefiles).
12632
12633 * libc/include/stdlib.h (mblen, mbtowc, wctomb, mbstowcs,
12634 wcstombs): Define.
12635 * libc/stdlib/{mblen.c, mbstowcs.c, wcstombs.c}: New files, null
12636 versions of these functions that I orignally wrote for the
12637 NetBSD C library.
12638 * libc/stdlib/{mbtowc.c, wctomb.c}: Replaced functions with
12639 versions I wrote for NetBSD.
12640
12641Wed Mar 29 12:42:42 1995 Kung Hsu <kung@mexican.cygnus.com>
12642
12643 * libc/sys/sparclite/Makefile.in: add crt0.s and make info.
12644 * libc/sys/sparclite/crt0.s: ditto.
12645
12646Tue Mar 28 20:28:03 1995 Rob Savoye <rob@rtl.cygnus.com>
12647
12648 * configure.in: Add soft-float for proelf.
12649
12650Mon Mar 27 12:07:56 1995 Steve Chamberlain <sac@bang.hack.com>
12651
12652 * libc/stdlib/mprec.h (Bcopy): Copy the right number
12653 of bytes.
12654
12655Mon Mar 27 11:24:22 1995 Doug Evans <dje@chestnut.cygnus.com>
12656
12657 * Makefile.in (all): Depend on `force'.
12658 * configure.in (syscall_dir): Renamed from fake_sys_dir.
12659 (libc_syscall_lib): Renamed from libc_fake_sys_lib.
12660 (LIBC_SYSCALL_LIB): Renamed from LIBC_FAKE_SYS_LIB.
12661 * libc/Makefile.in: Likewise.
12662 * libc/include/reent.h: Update syscall references.
12663 (_fcntl_r): Add prototype.
12664 * libc/syscalls/*.c #include <reent.h>.
12665 (*) Call reentrant version if REENTRANT_SYSCALLS_PROVIDED.
12666
12667Mon Mar 20 16:57:39 1995 Doug Evans <dje@deneb.cygnus.com>
12668
12669 * libc/include/sys/stat-dj.h (S_ISBLK): Define.
12670 (S_ISCHR, S_ISDIR, S_ISFIFO, S_ISREG): Define.
12671 * libc/include/sys/stat.h (stat-dj.h): Include ifdef MSDOS.
12672 (time.h, sys/types.h): Always include (even if MSDOS).
12673 (stat): Fix prototype.
12674
12675Fri Mar 10 11:30:38 1995 Ian Lance Taylor <ian@cygnus.com>
12676
12677 * configure.in (i[345]86-*-go32): Compile with -DNO_EXEC.
12678
12679Mon Feb 27 18:00:39 1995 Jim Wilson <wilson@chestnut.cygnus.com>
12680
12681 * libc/machine/h8500/psi.S (EXTPSIHI_RN_SN): Ifdef out.
12682
12683Mon Feb 13 16:10:03 1995 Ian Lance Taylor <ian@cygnus.com>
12684
12685 * libc/include/regdef.h: New file.
12686 * libc/machine/mips/machine/regdef.h: New file.
12687
12688Mon Feb 6 15:24:29 1995 Doug Evans <dje@canuck.cygnus.com>
12689
12690 * libc/sys/sparc64/sys/fcntl.h (open): Add ellipsis.
12691
12692Fri Jan 27 13:52:10 1995 Steve Chamberlain <sac@splat>
12693
12694 * libc/sys/sh/crt0.S: Pass main's return to exit.
12695 * libc/sys/sh/trap.S: Put errno in the right place.
12696
12697Tue Jan 24 18:57:56 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
12698
12699 * libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Integrate change
12700 from fdlibm 5.2: handle |x| < 3pi/4 more efficiently.
12701 * libm/math/ef_rem_pio2.c: Likewise.
12702 * libm/math/e_log10.c: Remove unused static one.
12703 * libm/math/ef_log10.c: Likewise.
12704 * libm/math/s_frexp.c: Likewise.
12705 * libm/math/sf_frexp.c: Likewise.
12706
12707Sun Jan 22 21:26:14 1995 Steve Chamberlain <sac@splat>
12708
12709 * libc/sys/go32/Makefile.in, clock.S, dir.c, setjmp.S, stat.c,
12710 longjmp.S: Upgraded.
12711 * libc/sys/go32/sys/setjmp.h: Upgraded.
12712 * libc/sys/go32/sys/go32.h, dpmi.h: New files.
12713
12714Fri Jan 20 18:33:18 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
12715
12716 * configure.in: Add many entries to multidirs for mips targets.
12717
12718Wed Jan 18 10:19:25 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12719
12720 * libm/math/e_jn.c (__ieee754_yn): Integrate change from fdlibm
12721 5.2 which fixes bug where jn(-1,x) is three times larger than
12722 the actual answer.
12723 * libm/math/ef_jn.c (__ieee754_ynf): Likewise.
12724
12725Sun Jan 15 21:48:58 1995 Steve Chamberlain <sac@splat>
12726
12727 * libc/sys/w65/sys/syscalls.h: New file
12728 * libc/include/machine/ieeefp.h: W65 support.
12729 * libc/include/sys/config.h: Ditto.
12730 * libc/machine/w65/Makefile.in, cmpsi, divsi3, lshrhi.s, mulsi3.c,
12731 sdivhi3.s, smulhi3.s, udivhi3.s, umodhi3.s: New files.
12732 * libc/sys/w65/Makefile.in, crt0.c, syscalls.c, trap.c: New files.
12733
12734Wed Jan 11 15:59:01 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
12735
12736 * libc/sys/Makefile.in (lib.a, crt0.o): Depend upon subs.
12737
12738Tue Jan 3 15:57:03 1995 Rob Savoye <rob@darkstar.cygnus.com>
12739
12740 * Makefile.in, configure.in: Remove any references to the old
12741 "stub" dir.
12742
12743Thu Dec 22 10:42:08 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
12744
12745 * libc/syscalls/sysopen.c: Write _HAVE_STDC version of open, which
12746 uses ... in prototype.
12747
12748
12749Wed Nov 30 08:39:42 1994 Ian Lance Taylor <ian@rtl.cygnus.com>
12750
12751 * libc/sys/a29khif/sys/libconfig.h: Remove.
12752 * libc/sys/go32/sys/libconfig.h: Remove.
12753 * libc/sys/sun4/sys/libconfig.h: Remove.
12754 * libc/sys/sysvi386/sys/libconfig.h: Remove.
12755 * libc/sys/sysvnecv70/sys/libconfig.h: Remove.
12756 * libc/sys/sparc64/sys/libconfig.h: Remove.
12757
12758 * libc/include/_ansi.h (_FLOAT_ARG, _FLOAT_RET): Don't define.
12759 * libc/include/sys/config.h (_FLOAT_ARG, _FLOAT_RET): Likewise.
12760 * libc/include/math.h: Change all uses of _FLOAT_RET and
12761 _FLOAT_ARG to float.
12762 * libm/test/math.c: Likewise.
12763 * testsuite/libm.sac/math.c: Likewise.
12764 * testsuite/libm.sac/working/math.c: Likewise.
12765
12766Wed Nov 23 22:39:28 1994 Steve Chamberlain (sac@jonny.cygnus.com)
12767
12768 * libc/sys/sh/trap.s,crt0.s,setjmp.s: Renamed with .S so that
12769 gcc calls gas with endian option.
12770 * configure.in (sh): Build little endian version too.
12771
12772Wed Nov 16 18:21:45 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
12773
12774 * configure.in: Configure big and little endian versions for MIPS
12775 targets.
12776
12777Sat Nov 12 21:12:51 1994 Doug Evans <dje@canuck.cygnus.com>
12778
12779 * libc/include/limits.h: Deleted.
12780 * libc/include/machine/limits.h: Deleted.
12781
12782Thu Nov 10 15:32:44 1994 Rob Savoye <rob@rtl.cygnus.com>
12783
12784 * ChangeLog: Remove stub directory. This has all been rewritten
12785 and moved to devo/libgloss.
12786
12787Thu Sep 29 18:31:04 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
12788
12789 * Makefile.in (dvi): Add to info target, use $@ in sub make.
12790 (docs): Merge into info target.
12791 * libm/Makefile.in (dvi): Add $(srcdir).
12792 * libm/math/Makefile.in (chobjs): Remove underscores from file
12793 names. Texinfo doesn't like them.
12794 (wacos.def, ...): Add explicit targets for all .def files.
12795 * libm/math/math.tex: Remove underscores from @include file names.
12796 * doc/Makefile.in (dvi): Add dummy target.
12797 * testsuite/Makefile.in (dvi): Add dummy target.
12798
12799Mon Sep 26 21:17:46 1994 Doug Evans (dje@canuck.cygnus.com)
12800
12801 * Makefile.in (VERSION): Define. For net newlib releases.
12802
12803Thu Sep 22 19:01:26 1994 Doug Evans (dje@canuck.cygnus.com)
12804
12805 * README: New file.
12806
12807Mon Sep 19 16:35:23 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
12808
12809 * libc/stdlib/ecvtbuf.c (_gcvt): Undo last change.
12810
12811Mon Sep 19 11:44:23 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
12812
12813 * libc/stdlib/setenv.c (_findenv): Declare.
12814
12815 * libc/include/sys/fcntl.h: Fix declarations of open, creat, and
12816 fcntl to not use _EXFUN, and change string parameters to open and
12817 creat to be ``const char *''.
12818 * libc/sys/sparc64/sys/fcntl.h: Likewise.
12819 * libc/sys/sparc64/creat.c (creat): Make PATH const.
12820 * libc/syscalls/sysopen.c: Include <fcntl.h>.
12821 (open) Make _FILE const.
12822 * libc/sys/z8ksim/glue.c (_open): Make BUF const.
12823 (_creat): Make PATH const.
12824 * libc/sys/h8300hms/syscalls.c (_open): Make PATH const.
12825 * libc/sys/h8500hms/syscalls.c (_open): Likewise.
12826 * libc/sys/m88kbug/syscalls.c (open): Likewise.
12827 * libc/sys/sh/syscalls.c (_open): Likewise.
12828 * stub/shared/glue.c (open): Make BUF const.
12829 * stub/ex93x/syscalls.c (open): Make FILENAME const.
12830
12831Thu Sep 8 16:39:12 1994 Steve Chamberlain (sac@jonny.cygnus.com)
12832
12833 * libc/include/errno.h: Add ENMFILE
12834 * libc/include/sys/config.h: Support Z8000.
12835 * libc/include/sys/signal.h: New signals for go32.
12836 * libc/machine/h8500/psi.S (__addpsir0r0): New function
12837 * libc/machine/h8500/cmpsi.S (__ucmppsi2): New function
12838 * libc/machine/sh/sdivsi3.s (__sdivsi3): Rewritten.
12839 * libc/stdlib/mallocr.c (_morecore_r): Minimum chunk
12840 size is variable, depending upon CHUNK_POWER.
12841 * libc/sys/go32/*.c: Upgrade to new go32 stuff.
12842
12843Sun Sep 4 17:42:43 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
12844
12845 * libc/stdlib/ecvtbuf.c (_gcvt): Output '-' for negative numbers.
12846
12847Fri Sep 2 10:56:01 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
12848
12849 * libc/include/_ansi.h (_PARAMS): Don't define if already defined.
12850
12851Wed Aug 24 11:11:03 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
12852
12853 * configure.in: Change i[34]86 to i[345]86.
12854
12855 * libc/include/math.h: Don't define HUGE_VAL if it is already
12856 defined.
12857
12858Wed Aug 17 15:18:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
12859
12860 * testsuite/libm.sac/test_erfc.c: Correct some result values.
12861 * testsuite/libm.sac/test_gammaf.c: Likewise.
12862 * testsuite/libm.sac/test_sin.c: Likewise.
12863 * testsuite/libm.sac/test_tanh.c: Likewise.
12864
12865Tue Aug 16 16:12:53 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
12866
12867 * libc/include/machine/ieeefp.h: Don't try set endianness if it is
12868 already set. Define typedefs __int32_t and __uint32_t.
12869 * libc/include/math.h: Include <machine/ieeefp.h>.
12870 (union __dmath): Use __uint32_t.
12871 * libm/math/fdlibm.h, libm/math/*.c: Use __int32_t and __uint32_t
12872 instead of int and unsigned int.
12873
12874Thu Aug 11 15:16:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
12875
12876 Replace the math library with the SunPRO fdlibm package.
12877 * libm/math: Completely changed all files.
12878 * libm/ieeefp: Remove contents and directory.
12879 * libm/Makefile.in (LIBM_FP_LIB): Remove.
12880 (SUBDIRS): Just set to math/lib.a.
12881 * libm/libm.texinfo: Updated for new library.
12882 * libc/include/math.h: Extensive changes for new math library.
12883 * libc/include/ieeefp.h (isnanf, isinff, finitef): Change argument
12884 from _FLOAT_ARG to float.
12885 (maxpowtwo, maxpowtwof): Don't declare.
12886 * configure.in (fp_dir): Removed; was always ieeefp anyhow.
12887 (libm_fp_lib): Removed.
12888 * Makefile.in (MATHOBJS_IN_LIBC): Updated with new file names.
12889 * testsuite/libm.paranoia/Makefile.in (check): Correct --srcdir
12890 argument to ${RUNTEST}.
12891 * testsuite/libm.sac/Makefile.in (LOCAL_CFLAGS): Define.
12892 (.c.o): New rule.
12893 (RUNTESTFLAGS): Set CC and CFLAGS.
12894 (TESTS): Remove test_log2 and test_log2f.
12895 (${TESTS}): Pass ${LOCAL_CFLAGS}, not ${CFLAGS}.
12896 * testsuite/libm.sac/math.c (run_vector_1): Use float, not
12897 _FLOAT_ARG, for single precision argument type.
12898 * testsuite/libm.sac/sac.exp: Treat an error in bit 63 as an
12899 expected failure. Close the input pipe.
12900 * testsuite/libm.sac/test.c (test_sok, test_iok, test_scok):
12901 Correct misspelling of inaccurate.
12902 (test_mok): Use ``inaccurate'', not ``wrong''.
12903 * testsuite/libm.sac/{test_acos.c, test_acosh.c, test_asin.c,
12904 test_asinh.c, test_atan.c, test_atanh.c, test_ceil.c,
12905 test_ceilf.c, test_cos.c, test_cosh.c, test_erf.c, test_erf.c,
12906 test_fabs.c, test_floor.c, test_floorf.c, test_fmod.c,
12907 test_fmodf.c, test_gamma.c, test_log1p.c, test_log1pf.c,
12908 test_yn.c): Correct many result values. Many are still wrong.
12909
12910 * libc/stdlib/ecvtbuf.c (print_e): If _dtoa_r sets decpt to 9999,
12911 just copy the string.
12912 (_gcvt): Always return the buffer.
12913
12914Tue Aug 9 13:43:23 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
12915
12916 * bcopy.c: fixed documentation, bcopy was not specified by ANSI.
12917
12918Wed Aug 3 05:39:41 1994 D. V. Henkel-Wallace (gumby@cygnus.com)
12919
12920 * libc/include/sys/reent.h: (struct _Bigint): add _reclaim
12921 structure.
12922 (struct _reent): add _p5s, _cvtlen, _cvtbuf.
12923 (_reclaim_reent): declare new entry point.
12924 * libc/reent/reent.c (cleanup_glue, _reclaim_reent): new
12925 functions.
12926
12927 * libc/stdlib/mprec.c (Balloc): Keep track of every struct bigint
12928 ever allocated, so that we can later reclaim them all.
12929 (pow5mult): make reentrant.
12930
12931 * libc/stdlib/ecvtbuf.c (fcvtbuf, ecvtbuf): extend these functions
12932 so that when given NULL as a buffer, return a pointer to static
12933 space in the rent structure. This is not documented behaviour;
12934 it's only to support ecvt and fcvt, which aren't ANSI anyway.
12935 * libc/stdlib/efgcvt.c (fcvt, ecvt) Use new functionality (and
12936 therefore become reentrant).
12937
12938 * libc/stdlib/dtoastub.c: remove spurious inclusion of mprec.h.
12939
12940Mon Aug 1 16:52:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
12941
12942 * libc/include/machine/ieeefp.h: Check _AM29K, not ___AM29K__.
12943
12944Thu Jul 28 15:40:21 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
12945
12946 * Makefile.in: Make link to libg.a after libc.a; this is needed
12947 for the testsuites to build executables when everything comes
12948 from the tree.
12949
12950Mon Jun 27 17:14:29 1994 Bill Cox (bill@rtl.cygnus.com)
12951
12952 * libc/Makefile.in: Add a VERSION variable so we can keep track.
12953 * libm/Makefile.in: Add a VERSION variable so we can keep track.
12954
12955Wed Jun 22 10:26:00 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
12956
12957 * libc/include/stdio.h: Use __VALIST, not va_list.
12958
12959Tue May 17 15:43:28 1994 Bill Cox (bill@rtl.cygnus.com)
12960
12961 * testsuite/config/unix-libm.exp, testsuite/lib/libm.exp,
12962 testsuite/libm.sac/execute.exp:
12963 Replace error proc calls with perror calls.
12964
12965Wed May 11 09:25:28 1994 Doug Evans (dje@canuck.cygnus.com)
12966
12967 * libc/include/*.h: #include "_ansi.h" instead of <_ansi.h>.
12968 * libc/include/time.h: #define NULL as 0L.
12969
12970Mon May 9 18:41:20 1994 Doug Evans (dje@canuck.cygnus.com)
12971
12972 * host/any (INCLUDES): Delete -I of gcc/include, gcc -B takes
12973 care of it.
12974
12975Mon May 9 18:39:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
12976
12977 * libc/include/sys/signal.h: Check for __GO32__, not __i386__ and
12978 not __unix__.
12979
12980Sat May 7 17:07:36 1994 Steve Chamberlain (sac@cygnus.com)
12981
12982 * configure.in (TARGET_CFLAGS): Set -O2 as default.
12983 (z8k-*-*): Use syscalls fake sys dir.
12984 * libc/sys/z8k/glue.c: Rename syscalls.
12985 * libc/sys/go32/Makefile.in: Use new routines.
12986 * libc/machine/Makefile.in: Fix typo in ln stuff.
12987
12988Thu May 5 13:47:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
12989
12990 * Makefile.in (libm.a, crt0.o): Use cp if ln fails.
12991 * libc/Makefile.in (crt0.o): Likewise.
12992 * libc/machine/Makefile.in (lib.a): Likewise.
12993 * libc/sys/Makefile.in (lib.a, crt0.o): Likewise.
12994
12995 All Makefile.in files: Added mostlyclean, realclean and distclean
12996 targets.
12997
12998 * Makefile.in: Don't bother to unexport XTRAFLAGS or
12999 XTRAFLAGS_FOR_TARGET, since they are no longer passed down from
13000 the top level Makefile.
13001
13002Tue Apr 26 15:10:34 1994 Doug Evans (dje@canuck.cygnus.com)
13003
13004 * libc/sys/sparc64/sys/stat.h: New file.
13005 * libc/sys/sparc64/sys/time.h: New file.
13006 * libc/sys/sparc64/sys/types.h: New file.
13007
13008Fri Apr 22 12:58:24 1994 Stan Shebs (shebs@andros.cygnus.com)
13009
13010 * stub/ex93x/crt0.s (start): Add code to clear bss.
13011
13012Wed Apr 13 10:34:58 1994 Doug Evans (dje@canuck.cygnus.com)
13013
13014 * libc/include/sys/types.h (time_t): Properly protect inside
13015 #ifndef __time_t_defined.
13016
13017 * libc/stdio/fileno.c: New file.
13018 * libc/stdio/Makefile.in (OFILES, CHEWOUT_FILES): Add fileno.
13019 (fileno.o): Add dependency.
13020 * libc/include/stdio.h (__sgetc): Rename never to _never.
13021 (fileno macro): Disable, needs to do CHECK_INIT first.
13022
13023Mon Apr 11 17:37:09 1994 Bill Cox (bill@rtl.cygnus.com)
13024
13025 * testsuite/Makefile.in (EXPECT, RUNTEST): Set these for the check
13026 goal.
13027
13028 * testsuite/Makefile.in (check): Set TCL_LIBRARY for runtest.
13029 * testsuite/libm.paranoia/Makefile.in (check): Set TCL_LIBRARY for
13030 runtest.
13031 * testsuite/libm.sac/Makefile.in (check): Set TCL_LIBRARY for
13032 runtest.
13033
13034Sat Apr 9 16:18:09 1994 Doug Evans (dje@cygnus.com)
13035
13036 * libc/sys/sparc64/sys/fcntl.h: New file, define solaris versions
13037 of the various constants.
13038
13039Thu Apr 7 21:19:07 1994 Mark Eichin (eichin@cygnus.com)
13040
13041 * libc/include/math.h: #ifndef __math_68881 around things which
13042 conflict with the (gcc-provided) inline functions in
13043 gcc/ginclude/math-68881.h.
13044
13045Thu Apr 7 02:50:43 1994 Doug Evans (dje@cygnus.com)
13046
13047 * libc/include/_syslist.h (_gettimeofday): Define.
13048 (_times): Ditto.
13049 * libc/include/reent.h: #include <machine/types.h> to get _CLOCK_T_.
13050 (struct tms, timeval, timezone): Declare.
13051 (_gettimeofday_r, _times_r): Declare.
13052 * libc/include/time.h (_CLOCK_T_): Don't #undef. Remove
13053 #ifdef _CLOCK_T_ surrounding definition of clock_t.
13054 (time_t): Add multiple definition protection, __time_t_defined.
13055 * libc/include/sys/time.h: Don't #include <time.h>.
13056 Always define struct timezone (remove #ifndef _TIME_H_).
13057 * libc/include/sys/times.h (_CLOCK_T_): Don't #undef. Remove
13058 #ifdef _CLOCK_T_ surrounding definition of clock_t.
13059 * libc/reent/Makefile.in (OFILES): Add timer.o.
13060 (CHEWOUT_FILES): Add timer.def. Add timer.o/timer.c dependence.
13061 * libc/reent/timer.c: New file.
13062 * libc/time/clock.c: #include <reent.h>.
13063 (clock): Call _times_r instead of times.
13064 * libc/time/time.c (HAVE_GETTIMEOFDAY): Renamed from
13065 HAVE_GET_TIME_OF_DAY.
13066 Add comment regarding supporting OS routine(s) required (for docs).
13067 #include <reent.h>.
13068 (time): Call _gettimeofday_r instead of gettimeofday.
13069 * libc/time/asctime.c: Fix comment regarding supporting OS routines.
13070 * libc/time/ctime.c: Ditto.
13071 * libc/time/strftime.c: Ditto.
13072 * libc/sys/sparc64/Makefile.in (TEMPLATE_SFILES): Remove gettimeofday.
13073 (TEMPLATE_SFILES_R): Define here. Also define times.
13074 Add times_r.o/times.S dependence.
13075 (time2.c, junk.c): Deleted.
13076 * libc/sys/sparc64/time2.c: Deleted.
13077 * configure.in (sparc64-*-*): Define HAVE_GETTIMEOFDAY.
13078
13079 * libc/stdio/mktemp.c (_getpid_r): Renamed from _getpid.
13080 * libc/stdio/tmpnam.c (_getpid_r): Ditto.
13081 * libc/sys/sparc64/junk.c: Deleted.
13082
13083Mon Mar 21 16:51:03 1994 Doug Evans (dje@canuck.cygnus.com)
13084
13085 * libc/sys/sparc64/Makefile.in: Add times syscall.
13086 * libc/sys/sparc64/crt0.S: Handle stack bias at run time so we can
13087 be used with and without it. Add comment clarifying Medium/Anywhere
13088 model requirements.
13089 * libc/sys/sparc64/sigsetjmp.S (setjmp, longjmp): Add svr4 support.
13090 * libc/sys/sparc64/sys/syscall.h (SYS_times): Define for sunos4
13091 even if obsolete.
13092
13093Sun Mar 20 15:51:47 1994 Doug Evans (dje@cygnus.com)
13094
13095 * configure.in (target_cflags): Move init.
13096 (sparc64-*-*): Define HAVE_BLKSIZE.
13097
13098Wed Mar 9 10:44:52 1994 Doug Evans (dje@canuck.cygnus.com)
13099
13100 * libc/include/sys/_types.h: New file.
13101 * libc/include/reent.h: #include it.
13102 Add comment describing REENTRANT_SYSCALLS_PROVIDED and
13103 MISSING_SYSCALL_NAMES.
13104 Sort syscalls.
13105 * libc/include/_syslist.h: Remove _raise.
13106 * libc/reent/signalr.c: New file.
13107 * libc/reent/Makefile.in: Compile it.
13108 * libc/signal/signal.c: Only use ifdef SIMULATED_SIGNALS.
13109 Add doc for raise and _raise_r.
13110 * libc/signal/raise.c: Only use ifndef SIMULATED_SIGNALS.
13111 (raise): Call _raise_r.
13112 (_raise_r): Call _getpid_r and _kill_r.
13113 * libc/stdlib/abort.c: Remove inclusion of stdio.h and _syslist.h.
13114 (abort): Loop forever calling raise and _exit.
13115
13116Mon Mar 7 14:40:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
13117
13118 * configure.in: Remove extraneous echo.
13119
13120Thu Mar 3 12:14:22 1994 Doug Evans (dje@canuck.cygnus.com)
13121
13122 * libc/sys/sparc64/sys/dirent.h (MAXNAMLEN): #undef to avoid
13123 collision with unistd.h, and fix for svr4.
13124
13125Wed Mar 2 13:55:25 1994 Doug Evans (dje@canuck.cygnus.com)
13126
13127 * libc/stdio/local.h (_llicvt): Declare.
13128 (CVT_BUF_SIZE): Define (and buffer size from 512 to 128).
13129 * libc/stdio/cvt.c: Include "local.h" to get CVT_BUF_SIZE.
13130 (_llicvt): Define.
13131 (_sicvt): Fix function header (`value' is short).
13132 * libc/stdio/vfprintf.c (_vfprintf_r): Use CVT_BUF_SIZE.
13133 Add printing of long long's support.
13134 Add printing of 8 byte pointer support.
13135
13136Fri Feb 11 21:52:11 1994 Steve Chamberlain (sac@sphagnum.cygnus.com)
13137
13138 * libc/sys/sh/syscalls.c (pipe, execv, wait, fork, utime, chown,
13139 stat, chmod): New hooks.
13140 (sbrk): Abort if stack and heap collide.
13141 * libc/machine/sh/udivsi3, libc/machine/sh/sdivsi3 Modified to
13142 shortcut when given small args.
13143 * libc/machine/sh/setjmp.s: Rewritten.
13144 * libc/machine/sh/strcmp.s (strcmp): New function takes advantage
13145 of cmp/str instruction.
13146
13147Wed Feb 9 15:12:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
13148
13149 * configure.in: Accept powerpc* as a CPU type, using fp_dir ieeefp
13150 and machine_dir powerpc.
13151 * libc/include/machine/setjmp.h, libc/include/machine/ieeefp.h:
13152 Add cases for __powerpc__.
13153 * libc/machine/powerpc/Makefile.in, libc/machine/powerpc/setjmp.S:
13154 New files.
13155
13156 * libc/include/stdio.h (_iprintf_r): Declare correctly.
13157
13158Thu Jan 27 10:36:27 1994 Steve Chamberlain (sac@cygnus.com)
13159
13160 * libc/stdlib/callocr.c: New file with _calloc_r in it.
13161 * libc/stdlib/calloc.c (calloc_r): Now in callocr.c
13162
13163Thu Jan 20 15:14:37 1994 Doug Evans (dje@canuck.cygnus.com)
13164
13165 * libc/stdlib/ecvtbuf.c (print_f): Remove local "done".
13166 (print_e): More comments to describe args, etc.
13167 "type" arg may now be 'g' or 'G' for %g/G format --> remove
13168 trailing blanks.
13169 (_gcvt): Remove locals decpt, sign, end, p, done.
13170 More comments for print_e invocation.
13171 Pass "type" to print_e as is (g/G).
13172
13173Wed Jan 19 16:34:18 1994 Rob Savoye (rob@darkstar.cygnus.com)
13174
13175 * stub/shared/m68k-crt0.S: Changed so it compiles (and runs) on a
13176 stock m68000.
13177
13178Mon Jan 17 15:41:53 1994 Doug Evans (dje@canuck.cygnus.com)
13179
13180 * libc/stdlib/mallocr.c (_morecore_r): Fix aligning of pointer so it
13181 works with any sized pointer, including ones bigger than ints and
13182 longs.
13183
13184Thu Jan 6 14:53:21 1994 Doug Evans (dje@canuck.cygnus.com)
13185
13186 * libc/sys/sparc64/{time2.c,utime.S,utime2.c}: New files.
13187
13188Sat Dec 11 16:17:20 1993 Steve Chamberlain (sac@thepub.cygnus.com)
13189
13190 * libc/include/stdlib.h (_calloc_r): Add prototype.
13191 * libc/machine/h8500/negsi2.c: New file.
13192 * libc/machine/h8500/divsi3.c: Prevent overflow when dividing v
13193 large unsigned numbers.
13194 * libc/machine/h8500/cmpsi.c: Add cmppsi.
13195 * libc/stdlib/mallocr.c (morecore_r): Fix aligning pointers so it
13196 works when sizeof(size_t) != sizeof(char *).
13197 * libc/stdlib/mprec.c (Balloc): Call calloc rather than malloc to
13198 get play area
13199 * libc/stdlib/mprec.h: Define Just_16 if generating for z8000.
13200
13201Mon Dec 6 15:59:53 1993 Doug Evans (dje@rtl.cygnus.com)
13202
13203 * libc/include/assert.h (assert): Handle -traditional.
13204
13205Tue Nov 16 15:49:24 1993 Mark Eichin (eichin@cygnus.com)
13206
13207 * Makefile.in: added ; after every "fi" and "done" that wasn't at
13208 the end of a line (ie. anything before a backslash continuation)
13209 so that bash handles them.
13210
13211Tue Nov 16 12:31:57 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
13212
13213 * libc/sys/go32/lstat.s: new file, copied from stat.s and renamed
13214 stat to lstat
13215
13216Mon Nov 15 15:50:43 1993 Steve Chamberlain (sac@jonny.cygnus.com)
13217
13218 * libc/sys/sh/crt0.s, libc/sys/sh/trap.s,
13219 libc/machine/sh/sdivsi3.s, libc/machine/sh/setjmp.s,
13220 libc/machine/sh/udivsi3.s: Use new calling convention.
13221
13222Mon Nov 15 15:25:38 1993 Mark Eichin (eichin@cygnus.com)
13223
13224 * libc/include/sys/unistd.h, libc/include/sys/stat.h: ANSI-fy
13225 chmod, access, chdir, chown by making _path const. Also fix _amode
13226 param of access.
13227
13228Fri Nov 12 20:25:28 1993 Mark Eichin (eichin@cygnus.com)
13229
13230 * libc/sys/a29khif/_tmpnam.s (_tmpnam): renamed function to
13231 _khif_tmpnam, because it doesn't comply with ANSI but may be
13232 useful anyway. Real tmpnam was already in libc/stdio, and was
13233 colliding with this one (pr 2176.)
13234 * libc/sys/a29khif/stubs.s (tmpnam): removed tmpnam. This file is
13235 the wrong idea anyhow.
13236
13237Mon Nov 8 07:50:16 1993 Doug Evans (dje@canuck.cygnus.com)
13238
13239 * configure.in: Remove h8300h, we have multilib now.
13240
13241Fri Nov 5 12:37:27 1993 Mark Eichin (eichin@cygnus.com)
13242
13243 * libc/string/strcasecmp.c, libc/string/strncasecmp.c: new
13244 functions, to get preference over the ones in libiberty (since we
13245 provide correct declarations in <string.h>.
13246 * libc/string/Makefile.in: add support for strncasecmp,
13247 strcasecmp.
13248
13249Fri Nov 5 09:05:45 1993 D. V. Henkel-Wallace (gumby@blues.cygnus.com)
13250
13251 * Change netware config not to look for cpu explicitly.
13252
13253Thu Nov 4 14:21:25 1993 Doug Evans (dje@canuck.cygnus.com)
13254
13255 * libc/sys/sparc64/{creat.c,junk.c}: New files.
13256 * libc/sys/sparc64/Makefile.in: Add dependencies.
13257
13258Wed Nov 3 10:42:49 1993 Doug Evans (dje@canuck.cygnus.com)
13259
13260 * configure.in: Clean up v9 a bit, new "os" aoutv8.
13261
13262Tue Nov 2 10:00:44 1993 D. V. Henkel-Wallace (gumby@cygnus.com)
13263
13264 * libc/include/sys/reent.h: make structure smaller by allocating
13265 some stuff when needed.
13266 * libc/signal/signal.c: allocate as needed
13267 * libc/stdio/findfp.c,stdio/local.h: ditto
13268 * libc/stdlib/mprec.c: ditto
13269
13270 * libc/time/localtime.c: don't return a dangling stack ptr.
13271
13272Wed Sep 29 20:42:34 1993 Rob Savoye (rob@darkstar.cygnus.com)
13273
13274 * stub/mvme135/crt0.S, stub/mvme135/glue.c: Moved to stub/generic.
13275
13276Wed Sep 29 16:27:49 1993 K. Richard Pixley (rich@sendai.cygnus.com)
13277
13278 * libc/include/stdio.h (__sputc): comment out static inline which
13279 confuses coff toolchains.
13280
13281Thu Sep 2 16:31:36 1993 Mark Eichin (eichin@cygnus.com)
13282
13283 * libc/sys/a29khif/{_close.s, _fstat.s, _lseek.s, _sbrk.s,
13284 _write.s, getpid.c, kill.c, read.s}:
13285 * libc/sys/a29khif/stubs.s: eliminated stubs that already go
13286 through the syscalls directory.
13287
13288Fri Oct 29 13:59:58 1993 Jeffrey Wheat (cassidy@cygnus.com)
13289
13290 * configure.in: fixed double quote gotcha.
13291
13292Wed Oct 27 15:27:09 1993 Rob Savoye (rob@darkstar.cygnus.com)
13293
13294 * stub/ex931: stub library for sparclite board.
13295 * stub/idp: Renamed from mc68ec. Added contructor table
13296 stuff to linker script.
13297 * stub/mvme135: Renamed from m68kmvme. Added contructor table
13298 stuff to linker script.
13299
13300Tue Oct 26 17:01:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
13301
13302 * configure.in: Configure testsuites only if they exist.
13303
13304Tue Oct 26 12:37:11 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
13305
13306 * configure.in: Don't set machine_dir for i386 until there is
13307 something in libc/machine/i386 to compile. For i[34]86-*-netware*
13308 use sys/netware, don't use signal, define NO_EXEC, ABORT_PROVIDED,
13309 CLOCK_PROVIDED and MALLOC_PROVIDED.
13310
13311 * libc/sys/netware: New directory. Contains simplistic and
13312 probably incorrect stubs for NetWare. Should be enough to load
13313 the library.
13314 * libc/sys/netware/crt0.c, libc/sys/netware/environ.c,
13315 libc/sys/netware/getpid.c, libc/sys/netware/link.c: New NetWare
13316 stub files.
13317
13318 * libc/reent/execr.c: Don't use if NO_EXEC is defined.
13319 * libc/reent/sbrkr.c: Don't use if MALLOC_PROVIDED is defined.
13320 * libc/stdlib/abort.c: Don't use if ABORT_PROVIDED is defined.
13321 * libc/time/clock.c: Don't use if CLOCK_PROVIDED is defined.
13322
13323Mon Oct 25 16:48:08 1993 Roland H. Pesch (pesch@cygnus.com)
13324
13325 * testsuite/Makefile.in: add "docs" dummy target for consistency
13326 with rest of newlib; turn "info" and "install-info" into dummy
13327 targets, since they wouldn't have worked. (Depended on
13328 nonexistent "doc" subdir.)
13329
13330Fri Oct 22 20:37:32 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
13331
13332 * configure.in: handle mips* instead of mips
13333
13334Thu Oct 21 08:57:24 1993 Ian Lance Taylor (ian@cygnus.com)
13335
13336 * libc/include/sys/dirent.h: New file. If it is not overridden by
13337 a version of libc/sys/*/sys/dirent.h, it includes the next
13338 <dirent.h> file in case there is one lurking somewhere.
13339
13340Fri Oct 15 14:17:40 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
13341
13342 * libc/stdlib/strtoul.c (_strtoul_r): Several changes for ANSI
13343 compliance, namely: Accept a minus sign. Consider a single 0 with
13344 a radix of 0 as being a conversion. Determine overflow correctly.
13345 If an overflow occurs, set *ptr to the end of the number, not the
13346 middle.
13347 * lib/stdlib/strtol.c (_strtol_r): Determine overflow correctly.
13348
13349Thu Oct 14 21:49:52 1993 Doug Evans (dje@canuck.cygnus.com)
13350
13351 * libc/machine/h8300/divsi3.S (divmodsi4): Fix h8300h case.
13352
13353Fri Oct 1 17:17:34 1993 Doug Evans (dje@canuck.cygnus.com)
13354
13355 * Makefile.in (INSTALL): Use $srcrootpre.
13356 (crt0.o): Replace $< with $(CRT0_DIR)/$(CRT0), Sun make
13357 can't handle it.
13358 * libc/Makefile.in (crt0.o): Spell out $<, Sun make can't handle
13359 it.
13360 * libc/sys/Makefile.in (crt0.o, lib.a): Ditto.
13361 * stub/Makefile.in (crt0.o, TARGETLIB): Ditto.
13362 * libc/sys/sparc64/Makefile.in (isatty.o): Sun VPATH lossage.
13363 * libm/math/Makefile.in (matherr.o): Ditto.
13364
13365Thu Sep 30 11:09:17 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
13366
13367 * configure.in: Build multidirs for z8k.
13368 * libc/include/stdlib.h (_strtoul_r): add prototype.
13369 * libc/include/machine/limits.h: Get INT_MIN right for all the z8k family.
13370 * libc/include/machine/setjmp.h: Add for z8k.
13371 * libc/machine/z8k/{mulsi.o, udivsi3.o, umodsi3.o, modsi3.o} obsolete.
13372 * libc/sys/z8ksim/glue.c: tidy up.
13373
13374Mon Sep 20 14:04:46 1993 Doug Evans (dje@canuck.cygnus.com)
13375
13376 * libc/unix/{execl.c execle.c execlp.c execv.c execvp.c}:
13377 New files. Requires execve system call.
13378 * libc/unix/Makefile.in: Use them.
13379 * libc/sys/sparc64/{execl.c execle.c execlp.c execv.c execvp.c}:
13380 Deleted, moved to libc/unix.
13381 * libc/sys/sparc64/Makefile.in: Remove them.
13382
13383Mon Sep 20 10:38:32 1993 Doug Evans (dje@canuck.cygnus.com)
13384
13385 * libc/sys/sparc64/{template.S template_r.S}: New files.
13386 * libc/sys/sparc64/Makefile.in: Build source for trivial syscalls
13387 from templates.
13388 * libc/sys/sparc64/{chdir.S chmod.S close.S dup.S fcntl.S
13389 fork.S fstat.S lseek.S link.S mkdir.S open.S pipe.S read.S rmdir.S
13390 umask.S unlink.S wait4.S write.S}: Removed, now built from
13391 templates.
13392
13393Sun Sep 19 14:52:57 1993 Doug Evans (dje@canuck.cygnus.com)
13394
13395 * libc/time/time.c: #include <_ansi.h>.
13396
13397Sun Sep 19 13:43:25 1993 Doug Evans (dje@canuck.cygnus.com)
13398
13399 * configure.in (sparc64-*-*): Remove -D__SIZE_TYPE__.
13400
13401Mon Sep 13 13:52:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
13402
13403 * configure.in: match m8* rather than m88k so that m88110 is
13404 recognized as well.
13405
13406Tue Sep 7 12:19:32 1993 Doug Evans (dje@canuck.cygnus.com)
13407
13408 * libc/sys/h8300hms/{Makefile.in, _exit.c, misc.c}:
13409 Renamed exit.c to _exit.c to avoid collision with stdlib/exit.c.
13410 misc.c: New file.
13411
13412 * configure.in: Add multilib support to h8300.
13413
13414Mon Sep 6 14:07:06 1993 Doug Evans (dje@canuck.cygnus.com)
13415
13416 * libc/stdlib/abort.c (abort): Remove _VOLATILE from return type.
13417 * libc/include/_ansi.h (_ATTRIBUTE): New macro for __attribute__.
13418 * libc/include/stdlib.h (exit, abort): Add noreturn attribute.
13419
13420Mon Sep 6 14:24:18 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
13421
13422 * configure.in: Corrected multidirs for sparc target.
13423
13424Mon Aug 30 15:56:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
13425
13426 Support for building newlib multiple times with different
13427 compilation flags.
13428 * configure.in: Only configure doc at top level. Set multidirs
13429 when appropriate for target, unless not at top level. If
13430 multidirs is set, independently configure each subdirectory.
13431 Adjust TOP, MULTIDIRS and MULTISUBDIR appropriately in Makefile.
13432 * Makefile.in (MULTIDIRS, MULTISUBDIR): New variables,
13433 automagically set by configure.in.
13434 (all): If MULTIDIRS is set, build multiple copies of libraries.
13435 (install): If MULTIDIRS is set, install multiple copies of
13436 libraries. Install in $(tooldir)/lib/$(MULTISUBDIR). If
13437 MULTISUBDIR is set, don't bother to install header files.
13438 * host/any (INCLUDES, CHEW): Use $(SRCTOP) rather than $(TOP) from
13439 ${srcrootpre}.
13440 * stub/configure.in: Set MULTISUBDIR appropriately.
13441 * stub/Makefile.in (install): Install in
13442 $(tooldir)/lib/$(MULTISUBDIR).
13443 * All Makefile.in files: Define SRCTOP as well as TOP.
13444
13445Mon Aug 30 10:34:24 1993 Doug Evans (dje@canuck.cygnus.com)
13446
13447 * libc/machine/h8300/{mulhi3.S, divhi3.S}: Comment out if h8300h.
13448 * libc/machine/h8300/{mulsi3.S, divsi3.S}: Add h8300h support.
13449
13450Thu Aug 26 19:38:12 1993 Doug Evans (dje@canuck.cygnus.com)
13451
13452 * libc/sys/h8300hms/exit.c (_exit): New function.
13453
13454Wed Aug 25 16:31:48 1993 K. Richard Pixley (rich@sendai.cygnus.com)
13455
13456 * configure.in: recognize m88110.
13457
13458Fri Aug 20 16:46:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
13459
13460 * libc/sys/m88kbug/crt0.c: pretty up, remove extraneous comments,
13461 prototype main and call with args.
13462
13463Fri Jul 30 16:52:47 1993 K. Richard Pixley (rich@cygnus.com)
13464
13465 First real try at system traps for m88k-bug.
13466 * libc/sys/m88kbug/syscalls.c: many changes. Convert from stubs
13467 to real trap calls.
13468 * libc/sys/m88kbug/sys/systraps.h: new file.
13469
13470Tue Jul 27 16:31:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
13471
13472 Patches to fix info building when target does not use sys
13473 directory.
13474 * libc/Makefile.in (targetdep.tex): add sys.tex separately.
13475 * libc/sys.tex, libc/sys/sys.tex: moved from libc/sys/sys.tex to
13476 libc/sys.tex.
13477 * libc/sys/Makefile.in (doc): do nothing.
13478
13479Mon Jul 26 17:08:11 1993 K. Richard Pixley (rich@sendai.cygnus.com)
13480
13481 * libc/Makefile.in (CRT0): new macro.
13482 (all): depend on $(CRT0) rather than crt0.o.
13483
13484 * configure.in: fix libc_sys_dir -> libc_sys_lib thinko.
13485 do not default crt0, instead, set crt0 and crt0_dir based on
13486 sys_dir and stub_dir.
13487
13488 * Makefile.in (CRT0_DIR): new macro.
13489 (all): depend on $(CRT0) rather than crt0.o which may not exist.
13490 (crt0.o): depend on $(CRT0_DIR)/$(CRT0) rather than simply
13491 $(CRT0).
13492 ($(CRT0)): recur by cd'ing into $(CRT0_DIR).
13493
13494Sun Jul 25 17:51:51 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
13495
13496 * testsuite/lib/libm.exp:
13497 added code to support compiling and linking of tests for
13498 libm.sac (paranoia to be added next) and processing the
13499 pass or failure of the tests.
13500
13501 * testsuite/config/unix-libm.exp:
13502 platform specific proc's for dealing with compiler, linker
13503 and the way we execute and process the test results.
13504
13505 * testsuite/libm.sac/execute.exp:
13506 generic framework for the sac tests. the config and lib
13507 expect code for specific platforms tie it all together.
13508
13509 * testsuite/libm.sac/test_is.c:
13510 changed the output of the test to be consistant with the
13511 other tests. parsing of pass nad fail messages is now fixed.
13512
13513Fri Jul 23 19:20:07 1993 Per Bothner (bothner@kalessin)
13514
13515 * libc/include/{assert.h, ctype.h, dirent.h, errno.h, fastmath.h,
13516 locale.h, math.h, pwd.h, reent.h, setjmp.h, signal.h, stdio.h,
13517 stdlib.h, string.h, termios.h, time.h, utime.h, utmp.h}: For C++:
13518 #ifdef __cplusplus, surround by extern ""C { ... }.
13519 * libc/include/assert.h: Do *not* protect assert.h against
13520 multiple inclusion! Also, #undef it before #define, to allow
13521 redefinition.
13522 * libc/include/stdio.h (getlogin, cuserid): Removed. These
13523 should be only in unistd.h.
13524
13525 * libc/include/sys/{fcntl.h, reent.h, stat.h, time.h, times.h,
13526 unistd.h}: For C++: #ifdef __cplusplus, surround by extern ""C {
13527 ... }.
13528
13529Fri Jul 23 10:15:33 1993 Doug Evans (dje@canuck.cygnus.com)
13530
13531 * libc/machine/sparc/Makefile.in: Must create a library, even
13532 if empty.
13533
13534Wed Jul 21 16:00:37 1993 K. Richard Pixley (rich@sendai.cygnus.com)
13535
13536 * configure.in: set machine_dir for m88k. edit crt0 definition
13537 into makefiles.
13538
13539 * Makefile.in, libc/Makefile.in (crt0): pull up from lower directories.
13540
13541 * libc/Makefile.in (all): also build crt0.o.
13542
13543 * libc/machine/i386/Makefile.in, libc/machine/sparc/Makefile.in,
13544 libc/machine/z8k/Makefile.in, libm/Makefile.in (clean): no need
13545 to remove CRT0.
13546
13547 * libc/machine/m88k/Makefile.in (TOP, TARGETLIB): removed.
13548 (all): reworked to build in place.
13549 (clean): remove lib.a
13550 (Makefile): remove redundant ./, call $(SHELL) rather than sh.
13551
13552 * libc/sys/m88kbug/crt0.c (start): renamed to _start.
13553 (_start): key off edata rather than _start_bss.
13554
13555Wed Jul 21 14:29:47 1993 david d `zoo' zuhn (zoo@cygnus.com)
13556
13557 * libc/include/sys/unistd.h, libc/include/reent.h,
13558 libc/reent/sbrkr.c: change sbrk to return void* instead of char*.
13559
13560Tue Jul 20 13:19:18 1993 K. Richard Pixley (rich@sendai.cygnus.com)
13561
13562 * libm/Makefile.in, libc/Makefile.in ($(SUBDIRS)): dollar escape a dollar sign.
13563
13564 * Makefile.in (libc.a): break into two rules, one for libc.a and
13565 one for libc/libc.a. Force subdirs current before rebuilding
13566 library.
13567 (libm.a): break into two rules, one for libm.a and one for
13568 libm/libm.a. Force subdirs current before rebuilding library.
13569
13570 * libc/Makefile.in (SUBLIBS): fix typo.
13571
13572 * libc/sys/Makefile.in (all): force descent into subdirs, then
13573 rebuild library iff out of of date.
13574
13575Fri Jul 16 17:47:57 1993 K. Richard Pixley (rich@sendai.cygnus.com)
13576
13577 Rework so that library is built and then finished rather than
13578 being built on each invocation of make.
13579
13580 * host/any (machine_dir, sys_dir, signal_dir): these are not
13581 shared and have been moved to their associated Makefile.in's.
13582 (AR_FLAGS): switch to qc which is faster.
13583 * configure.in: no longer assign machine_dir for m88k. set
13584 stub_dir, stub_lib, & crt0 for m68k*-unknown-{aout,coff}. If
13585 stub_dir set, then add to configdirs. add comment about silly
13586 configuration.
13587 (configdirs): drop stub. It will be added only
13588 when needed.
13589 (libm_fp_lib, libc_unix_lib, libc_signal_lib, libc_machine_lib,
13590 libc_sys_dir, fake_sys_dir, libc_fake_sys_lib, stub_dir,
13591 stub_lib, crt0): new variables for tailoring lower level
13592 makefiles. Assign accordingly and edit into makefiles.
13593 * libm/Makefile.in: updated copyright.
13594 (TARGETLIB): removed.
13595 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir.
13596 (SUBDIRS): removed TARGETDEP_DIRS.
13597 (LIBM_FP_LIB, SUBLIBS): new macros.
13598 (all): reworked.
13599 (force): new target to force rebuilds.
13600 (Makefile): call $(SHELL) rather than sh. drop redundant ./
13601 * libc/sys/a29khif/Makefile.in, libc/sys/decstation/Makefile.in,
13602 libc/sys/go32/Makefile.in, libc/sys/h8300hms/Makefile.in,
13603 libc/sys/h8500hms/Makefile.in, libc/sys/m88kbug/Makefile.in,
13604 libc/sys/sh/Makefile.in, libc/sys/sparc64/Makefile.in,
13605 libc/sys/sun4/Makefile.in, libc/sys/sysvi386/Makefile.in,
13606 libc/sys/sysvnecv70/Makefile.in, libc/sys/z8ksim/Makefile.in,
13607 stub/m68kmvme/Makefile.in: updated copyright.
13608 (TARGETLIB, TARGETCRT0, CRT0): macros removed.
13609 (all): reworked. made this the default rule.
13610 (clean): also remove lib.a.
13611 (Makefile): call $(SHELL) rather than sh. drop redundant ./
13612 * stub/Makefile.in: updated copyright.
13613 (TARGETLIB, TARGETCRT0, CRT0, TOP): removed.
13614 (stub_lib): new macro.
13615 (FLAGS_TO_PASS): removed TARGETLIB, stub_dir, TARGETCRT0. Added
13616 RANLIB.
13617 (all): reworked.
13618 (clean, install): assume stub_dir exists.
13619 (Makefile): depend on configure.in. call $(SHELL) rather than
13620 sh. drop redundant ./
13621 * stub/configure.in (stublib): new macro, assign it, edit it into
13622 makefiles.
13623 * Makefile, libc/Makefile.in, doc/Makefile.in, libc/sys/Makefile.in:
13624 updated copyright.
13625 (all): reworked.
13626 (Makefile): call $(SHELL) rather than sh. drop redundant ./
13627 * libc/Makefile.in (TARGETCRT0): removed.
13628 (FLAGS_TO_PASS): dropped TARGETLIB, machine_dir, sys_dir,
13629 TARGETCRT0.
13630 (SUBDIRS): drop TARGETDEP_DIRS.
13631 (LIBC_SIGNAL_LIB, LIBC_SYS_LIB, LIBC_MACHINE_LIB, LIBC_UNIX_LIB,
13632 LIBC_FAKE_SYS_LIB, SUBLIBS): new macros for configuration.
13633 (force): new target to force rebuilds.
13634 * libc/sys/Makefile.in (TARGETCRT0, sys_dir): removed.
13635 (FLAGS_TO_PASS): TARGETLIB, machine_dir, sys_dir, TARGETCRT0
13636 removed.
13637 (clean): assume sys_dir always exists.
13638 * libm/test/Makefile.in (Makefile): call $(SHELL) rather than sh.
13639 drop redundant ./
13640 * libc/ctype/Makefile.in, libc/errno/Makefile.in,
13641 libc/locale/Makefile.in, libc/machine/Makefile.in,
13642 libc/machine/a29k/Makefile.in, libc/machine/h8300/Makefile.in,
13643 libc/machine/h8500/Makefile.in, libc/machine/i386/Makefile.in,
13644 libc/machine/i960/Makefile.in, libc/machine/m68k/Makefile.in,
13645 libc/machine/mips/Makefile.in, libc/machine/necv70/Makefile.in,
13646 libc/machine/sh/Makefile.in, libc/machine/sparc/Makefile.in,
13647 libc/machine/z8k/Makefile.in, libc/reent/Makefile.in,
13648 libc/signal/Makefile.in, libc/stdio/Makefile.in,
13649 libc/stdlib/Makefile.in, libc/string/Makefile.in,
13650 libc/sys/Makefile.in, libc/syscalls/Makefile.in,
13651 libc/time/Makefile.in, libc/unix/Makefile.in,
13652 libm/ieeefp/Makefile.in, libm/math/Makefile.in: updated copyright.
13653 (TARGETLIB): removed.
13654 (all): reworked.
13655 (clean): also remove lib.a.
13656 (Makefile): call $(SHELL) rather than sh. drop redundant ./
13657 * Makefile.in: (machine_dir, sys_dir, stub_dir, stub_lib, CRT0):
13658 new macros.
13659 (SUBDIRS): moved to follow frag inclusion, change stub to
13660 stub_dir.
13661 (FLAGS_TO_PASS): removed machine_dir, sys_dir, signal_dir which
13662 are now set in the libc Makefile.
13663 * libc/machine/Makefile.in (TARGETCRT0, machine_dir): removed.
13664 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir,
13665 TARGETCRT0.
13666 (force): new target to force rebuilds.
13667 * stub/configure.in: determine and set stub_lib for for Makefile.
13668
13669Thu Jul 15 12:01:27 1993 Doug Evans (dje@canuck.cygnus.com)
13670
13671 * libc/sys/h8300hms/Makefile.in: Make `all' the default target.
13672 crt0.s renamed to crt0.S.
13673 * libc/sys/h8300hms/crt0.S: Add h8/300h support.
13674
13675 * libc/machine/h8300/Makefile.in: Make `all' the default target.
13676 * libc/machine/h8300/{cmpsi.S,ucmpsi.S}: #ifdef out entire file if
13677 h8300h.
13678 * libc/machine/h8300/defines.h: Add macros to handle pointers for
13679 h8300 (16 bits) and h8300h (32 bits).
13680 * libc/machine/h8300/{divsi3.S,mulsi3.S,memcpy.S,memset.S,
13681 reg_memcpy.S,reg_memset.S,strcmp.S}: Add h8300h support.
13682
13683Thu Jul 15 10:13:29 1993 Ian Lance Taylor (ian@cygnus.com)
13684
13685 * libc/machine/m88k/setjmp.S, Makefile.in: New files; a simple
13686 implementation of setjmp and longjmp for the m88k.
13687 * libc/include/machine/setjmp.h: Added __m88000__ case.
13688
13689Wed Jul 14 10:10:30 1993 Doug Evans (dje@canuck.cygnus.com)
13690
13691 * configure.in: Recognize h8300h as variant of h8300.
13692
13693Tue Jul 13 12:24:11 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
13694
13695 * libc/include/sys/unistd.h (read, write): get prototypes right.
13696 (sbrk): New prototype.
13697 * libc/reent/sbrkr.c (sbrkr): Use correct sbrk prototype.
13698 * libc/stdio/local.h: Include unistd.h.
13699 * libc/machine/h8300/syscalls.c: Names have changed.
13700
13701Mon Jul 12 18:08:42 1993 K. Richard Pixley (rich@cygnus.com)
13702
13703 * configure.in: add sys_dir assignment for m88k-bug.
13704
13705Thu Jul 8 09:16:21 1993 Doug Evans (dje@canuck.cygnus.com)
13706
13707 * libc/sys/sparc64/sys/syscallasm.h: New macros to handle either
13708 a.out or elf.
13709 * libc/sys/sparc64: all *.S files: Use new macros.
13710 * libc/sys/sparc64/isatty.c: New file.
13711 * libc/sys/sparc64/Makefile.in: Stop using /lib/libc.a for
13712 functions beyond what newlib provides.
13713
13714Thu Jul 8 09:11:28 1993 Doug Evans (dje@canuck.cygnus.com)
13715
13716 * libc/include/sys/stat.h: Move st_atime so not doubly defined for
13717 svr4.
13718
13719Thu Jul 8 09:09:16 1993 Doug Evans (dje@canuck.cygnus.com)
13720
13721 * libc/include/machine/ieeefp.h: Add support for h8/300h.
13722
13723Fri Jul 2 10:11:20 1993 K. Richard Pixley (rich@cygnus.com)
13724
13725 * configure.in: add m88k.
13726 * libc/include/machine/ieeefp.h: add case for m88k. Also add
13727 sanity check so no one else need ever chase what I did to find
13728 this.
13729
13730 * libm/math/Makefile.in (FAKEC): added atanf.c log1pf.c scalbnf.c.
13731
13732Fri Jul 2 09:15:21 1993 Ian Lance Taylor (ian@cygnus.com)
13733
13734 * doc/makedoc.c: Include <ctype.h>.
13735
13736Wed Jun 30 09:35:06 1993 Doug Evans (dje@canuck.cygnus.com)
13737
13738 * libc/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
13739 * libc/sys/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
13740 * libc/machine/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
13741
13742 * libm/test/Makefile.in (all): Link with ../../lib[cm].a.
13743
13744Sun Jun 27 17:05:20 1993 Doug Evans (dje@sphagnum.cygnus.com)
13745
13746 * libc/include/errno.h (ENOSYS): Added.
13747
13748 * libc/unix/getpwd.c (getcwd): Fix typo (_up -> up).
13749
13750Mon Jun 21 09:03:32 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
13751
13752 * libc/stdio/fflush.c (fflush): Check for reent struct
13753 initialization.
13754 * libc/stdio/fdopen.c (fdopen): Avoid namespace conflict.
13755
13756Fri Jun 18 16:06:05 1993 Mark Eichin (eichin@rtl.cygnus.com)
13757
13758 * libc/stdlib/dtoastub.c: new file -- move user callable "dtoa"
13759 out of dtoa.c so it doesn't pollute the namespace.
13760 * libc/include/_syslist.h: new file -- mappings from _function to
13761 function, for systems where we can't win (by default, all of them,
13762 until we start updating system calls.)
13763 * libc/syscalls: new directory -- stubs for exporting _function
13764 names as unmodified function names.
13765 * libc/configure.in: add MISSING_SYSCALL_NAMES to enable
13766 _syslist.h on all platforms by default, but put hooks in for
13767 fake_sys_dir so we can include it when we've renamed the system
13768 calls.
13769 * libc/reent/execr.c libc/reent/filer.c libc/reent/fstatr.c
13770 libc/reent/linkr.c libc/reent/sbrkr.c libc/reent/statr.c
13771 libc/signal/raise.c libc/signal/signal.c libc/stdio/fdopen.c
13772 libc/stdio/mktemp.c libc/stdio/tmpnam.c libc/stdlib/abort.c
13773 libc/stdlib/system.c libc/unix/getcwd.c libc/unix/getlogin.c
13774 libc/unix/getpass.c libc/unix/getut.c libc/unix/ttyname.c: change
13775 non ANSI functions to call _function.
13776
13777Wed Jun 9 09:48:26 1993 Ian Lance Taylor (ian@cygnus.com)
13778
13779 * libc/stdlib/strtoul.c (_strtoul_r): Handle leading 0 correctly
13780 when base 16 is specified. Don't accept non-digits if radix > 10.
13781
13782Thu Jun 3 10:01:15 1993 Doug Evans (dje@canuck.cygnus.com)
13783
13784 * libc/include/math.h: Rename xxx_r fns to _xxx_r.
13785
13786Wed Jun 2 16:54:16 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
13787
13788 * libc/include/sys/stat.h: Surround text after #endif with
13789 comments.
13790
13791Wed Jun 2 12:47:32 1993 Ian Lance Taylor (ian@cygnus.com)
13792
13793 * libc/stdlib/mallocr.c: If MALLOC_PROVIDED is defined, just make
13794 _malloc_r, _realloc_r, and free_r call the corresponding
13795 non-reentrant functions.
13796
13797 * libm/math/modf.c (modf): We now take the address of ipart, so
13798 don't make it a register variable.
13799
13800Tue Jun 1 18:25:54 1993 Doug Evans (dje@canuck.cygnus.com)
13801
13802 * libm/math/*: Rename all xxx_r fns to _xxx_r.
13803
13804Wed May 26 22:06:35 1993 Roland H. Pesch (pesch@cygnus.com)
13805
13806 * libc/libc.texinfo and embedded docn throughout: formatting
13807 improvements, minor rephrasing for clarity, and improved
13808 reentrancy docn.
13809
13810Sun May 23 17:29:49 1993 Steve Chamberlain (sac@thepub.cygnus.com)
13811
13812 * libm/ieeefp/infinity.c (maxpowtwof): Fix initialzation bug.
13813
13814 * libc/stdio/cvt.c (_licvt): Print the right value on machines
13815 where sizeof(int) != sizeof(long).
13816
13817Fri May 21 22:09:32 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
13818
13819 * libc/reent/execr.c, libc/reent/filer.c, libc/reent/linkr.c,
13820 libc/reent/sbrkr.c, libc/reent/statr.c, libc/stdio/tmpnam.c,
13821 libc/stdlib/atol.c, libc/stdlib/rand.c, libc/string/strpbrk.c,
13822 libc/string/strspn.c, libm/ieeefp/isnan.c, libm/math/bessel.c,
13823 libm/math/matherr.c: changes for better docn formatting (info).
13824
13825 * libc/libc.texinfo, libc/ctype/ctype.tex, libc/locale/locale/tex,
13826 libc/reent/reent.tex, libc/signal/signal.tex,
13827 libc/stdio/stdio.tex, libc/stdlib/stdlib.tex,
13828 libc/string/strings.tex, libc/sys/sys.tex, libc/time/time.tex,
13829 libm/libm.texinfo, libm/ieeefp/ieeefp.tex, libm/math/math.tex: use
13830 makeinfo node defaulting to get better Info file node structure.
13831 (Requires recent sac change to doc/makedoc.c and doc/doc.str.)
13832 Also include a few formerly missing sections (subroutines).
13833
13834 * doc/doc.str: delete fossil expansion for "func"
13835
13836 * default.menu, no-signal.menu: delete.
13837
13838 * Makefile.in, libc/Makefile.in, configure.in, host/any: simplify
13839 method used to adjust doc for missing "signals" chapter when
13840 signal_dir is empty.
13841
13842Thu May 20 21:38:37 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
13843
13844 * configure.in: added testsuite/libm.sac
13845
13846Wed May 19 14:52:34 1993 Doug Evans (dje@thepub.cygnus.com)
13847
13848 * libc/sys/sparc64/crt0.S: Set %g4 to 0 (to test Medium/Anywhere
13849 code model).
13850
13851Tue May 18 13:17:21 1993 Ian Lance Taylor (ian@cygnus.com)
13852
13853 * libm/Makefile.in: Use $(MAKE) rather than make, and define
13854 MAKEOVERRIDES to be empty.
13855
13856Mon May 17 08:42:44 1993 Ian Lance Taylor (ian@cygnus.com)
13857
13858 * configure.in: Don't build mips-*-* with -msoft-float, since that
13859 makes it incompatible with hard floating point.
13860
13861Mon May 17 00:03:35 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
13862
13863 * Makefile.in: added recursive 'make check'
13864
13865Thu May 13 16:24:18 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
13866
13867 * configure.in: added ./testsuite ./testsuite/libm.paranoia
13868 * ./testsuite/Makefile.in: created
13869 * ./testsuite/libm.paranoia: paranoia tests added
13870
13871Thu May 13 10:30:24 1993 Ian Lance Taylor (ian@cygnus.com)
13872
13873 * configure.in: For mips-*-* set machine_dir to mips.
13874
13875 * libc/machine/mips: New directory.
13876 * libc/machine/mips/Makefile.in: New file.
13877 * libc/machine/mips/setjmp.S: New file; simplistic MIPS version of
13878 setjmp and longjmp.
13879 * libc/include/machine/setjmp.h: Added __mips__ case.
13880
13881 * libc/machine/lmips: Removed unused and useless directory.
13882
13883Mon May 3 10:22:31 1993 Ian Lance Taylor (ian@cygnus.com)
13884
13885 * configure.in: Accept i486-*-sco* as well as i386-*-sco*.
13886
13887Thu Apr 15 15:16:44 1993 Doug Evans (dje@canuck.cygnus.com)
13888
13889 * libc/sys/sparc64/crt0.S: Add comment (%g1 contains atexit arg at
13890 start up).
13891
13892Fri Apr 9 13:32:26 1993 Ian Lance Taylor (ian@cygnus.com)
13893
13894 * libc/include/machine/setjmp-dj.h: Use _SETJMP_DJ_H rather than
13895 SETJMP_H.
13896
13897Thu Apr 8 10:07:18 1993 Doug Evans (dje@canuck.cygnus.com)
13898
13899 * libm/test/convert.c: structure member errno -> errno_val.
13900 Must include <errno.h> to use errno, it's a macro now.
13901 * libm/test/math.c: Ditto.
13902 * libm/test/math2.c: Include errno.h.
13903 * libm/test/string.c: Ditto.
13904 * libm/test/test.h: structure member errno -> errno_val.
13905 Remove extern int errno decl.
13906
13907Thu Apr 8 07:56:33 1993 Ian Lance Taylor (ian@cygnus.com)
13908
13909 * libc/stdio/Makefile.in: Added dependencies on local header
13910 files.
13911 * libc/stdio/std.h, libc/stdio/vfprintf.h: Removed unused header
13912 files.
13913
13914Wed Apr 7 16:19:32 1993 Ian Lance Taylor (ian@cygnus.com)
13915
13916 * libc/include/machine/ieeefp.h: Added __MIPSEB__ case.
13917
13918Wed Apr 7 10:55:21 1993 Doug Evans (dje@canuck.cygnus.com)
13919
13920 * libc/stdio/siprintf.c libc/stdio/sscanf.c libc/stdio/vsprintf.c:
13921 Initialize _data.
13922
13923 * libc/stdio/vfprintf.c: No need to declare _icvt, _licvt, _sicvt.
13924 * libc/stdio/local.h: Add prototype for _licvt.
13925
13926 * libc/stdio/ungetc.c (__submore): Use _malloc_r,_realloc_r
13927 instead of malloc,reealloc.
13928
13929 * libc/stdlib/local.h: New file.
13930 * libc/stdlib/efgcvt.c: #include local.h.
13931 (gcvt): Fix call to _gcvt.
13932 * libc/stdlib/ecvtbuf.c: #include local.h.
13933
13934 * libc/stdlib/Makefile.in: new files mallocr.c mstats.c.
13935 * libc/stdlib/mallocr.c mstats.c malloc.h: New files.
13936 * libc/stdlib/malloc.c: main routines moved to mallocr.c.
13937
13938 * libc/stdlib/atexit.c: moved global data to struct _reent.
13939 * libc/stdlib/exit.c: use struct _atexit in struct _reent.
13940
13941 * libc/reent/reent.c (inpure_data): _REENT_INIT macro modified.
13942
13943Wed Apr 7 09:41:50 1993 Doug Evans (dje@canuck.cygnus.com)
13944
13945 * libc/include/sys/reent.h: Stuff required by ANSI headers moved
13946 here from ../reent.h.
13947
13948Tue Apr 6 12:56:01 1993 Ian Lance Taylor (ian@cygnus.com)
13949
13950 * Makefile.in (MATHOBJS_IN_LIBC): List of object files which
13951 should be provided in both libc.a and libm.a.
13952 (libc.a): Depend on targ-include and libm.a. Copy
13953 $(MATHOBJS_IN_LIBC) from libm.a to libc.a.
13954 (libm.a): Depend on targ-include.
13955 * configure.in (subdirs): Removed libc/math.
13956
13957Mon Apr 5 10:18:16 1993 Steve Chamberlain (sac@thepub.cygnus.com)
13958
13959 * libm/ieeefp/infinity.c (maxpowtwo): Fix initialization bug.
13960
13961Sat Apr 3 11:06:07 1993 Doug Evans (dje@canuck.cygnus.com)
13962
13963 * libc/include/{errno.h, math.h, stdio.h, stdlib.h}: Use
13964 sys/reent.h instead of reent.h.
13965 * libc/include/reent.h: Split into two parts: stuff needed by ANSI
13966 headers moved to sys/reent.h.
13967 * libc/include/signal.h: _MAX_SIGNALS moved to sys/signal.h.
13968 * libc/include/sys/signal.h: Define _MAX_SIGNALS if
13969 __need__MAX_SIGNALS defined.
13970 * libc/include/stdio.h: struct __sFILE moved to sys/reent.h.
13971 std{in,out,err} refer to new _std{in,out,err} members.
13972
13973Fri Apr 2 11:27:12 1993 Doug Evans (dje@canuck.cygnus.com)
13974
13975 * libc/include/sys/signal.h: #define _SYS_SIGNAL_H for general
13976 case.
13977
13978Fri Apr 2 09:41:10 1993 Doug Evans (dje@canuck.cygnus.com)
13979
13980 * libc/sys/sparc64/execve.S (execve): Insert nop in delay slot,
13981 rather than whatever macro seterrno() has.
13982
13983Thu Apr 1 16:47:08 1993 Doug Evans (dje@canuck.cygnus.com)
13984
13985 * libc/locale/locale.c: Reentrant routines _r_xxx renamed to
13986 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
13987
13988 * libc/include/machine/fastmath.h: Use _HAVE_STDC instead of
13989 __STDC__.
13990
13991 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, reent.c,
13992 reent.tex, sbrkr.c, statr.c}: _r_xxx reentrant routines renamed to
13993 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
13994
13995 * libc/signal/signal.c: Reentrant routines _r_xxx renamed to
13996 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
13997
13998 * libc/stdio/{fclose.c, fdopen.c, findfp.c, fiprintf.c, flags.c,
13999 fopen.c, fprintf.c, freopen.c, fscanf.c, fseek.c, ftell.c,
14000 fwalk.c, getchar.c, gets.c, iprintf.c, local.h, makebuf.c,
14001 mktemp.c, perror.c, printf.c, putchar.c, puts.c, refill.c,
14002 remove.c, rename.c, scanf.c, setvbuf.c, siprintf.c, sprintf.c,
14003 sscanf.c, stdio.c, tmpfile.c, tmpnam.c, vfprintf.c, vfprintf.h,
14004 vfscanf.c, vprintf.c, vsprintf.c}: Reentrant routines _r_xxx
14005 renamed to _xxx_r. struct reent_struct renamed to struct _reent
14006 for ANSI. structure members given leading "_" for ANSI. Use
14007 _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
14008
14009 * libc/stdlib/{__adjust.c, calloc.c, dtoa.c, ecvtbuf.c, malloc.c,
14010 mprec.c, mprec.h, rand.c, std.h, strtod.c, strtol.c, strtoul.c,
14011 system.c}: Reentrant routines _r_xxx renamed to _xxx_r. struct
14012 reent_struct renamed to struct _reent for ANSI.
14013 Structure members given leading "_" for ANSI.
14014 _CONST --> const in prototypes.
14015 Use _HAVE_STDC instead of __STDC__.
14016
14017 * libc/string/strtok.c: Reentrant routines _r_xxx renamed to
14018 _xxx_r.
14019 struct reent_struct renamed to struct _reent for ANSI.
14020 Structure members given leading "_" for ANSI.
14021
14022 * libc/time/asctime.c: Reentrant routines _r_xxx renamed to
14023 _xxx_r.
14024 struct reent_struct renamed to struct _reent for ANSI.
14025
14026 * libm/math/{acos.h, acosh.h, asin.c, asinh.h, atanh.h, bessel.h,
14027 cbrt.h, cosh.h, erf.c, erf.h, error.c, exp.c, fmod.c, frexp.h,
14028 gamma.h, hypot.h, ldexp.c, log.h, log10.c, log1p.c log2.c,
14029 mathimpl.h, pow.c, remainder.c, sincos.c, sinh.h, sqrt.h, tan.c,
14030 tanh.h}: struct reent_struct renamed to struct _reent for ANSI.
14031
14032 * libc/include/{_ansi.h, ctype.h, math.h, reent.h, locale.h,
14033 signal.h, stdio.h, stdlib.h, string.h, time.h}:
14034 Use _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
14035 #ifndef _STRICT_ANSI non-ANSI routines.
14036 Reentrant routines renamed from _r_xxx to _xxx_r.
14037 No need to use _STRICT_ANSI on _xxx_r reentrant routines.
14038 Use _STRICT_ANSI instead of __STRICT_ANSI, _ANSI_SOURCE, etc.
14039 Clean up namespace (structure members have leading "_").
14040 struct reent_struct renamed to struct _reent for ANSI compliance.
14041 _CONST --> const in function prototypes.
14042
14043 * libc/include/string.h: Add NULL and size_t.
14044
14045 * libc/sys/sparc64/Makefile.in: New syscall routines for link,
14046 unlink, wait, wait4. Reentrant syscall routines close, fork,
14047 fstat, link, lseek, open, read, sbrk, stat, unlink, wait, wait4,
14048 write.
14049 * libc/sys/sparc64/cerror.S (cerror_r): New routine.
14050 * libc/sys/sparc64/{close.S, fork.S, fstat.S, link.S, lseek.S,
14051 open.S, read.S, sbrk.S, stat.S, unlink.S, wait.S, wait4.S,
14052 write.S}: Define reentrant versions.
14053 * libc/sys/sparc64/sys/syscallasm.h (defsyscall_r): New macro for
14054 reentrant syscalls.
14055
14056 * libc/sys/sparc64/crt0.S (start): Fix initialization of environ.
14057
14058 * libc/include/stdlib.h (RAND_MAX): Fix value.
14059
14060Thu Apr 1 12:28:30 1993 Ian Lance Taylor (ian@cygnus.com)
14061
14062 * libc/sys/a29khif/_main.c: Removed unnecessary file.
14063 * libc/sys/a29khif/Makefile.in (OFILES): Removed _main.c, moved
14064 VPATH support targets after all: target.
14065
14066 * stub/mvme135/mvme.S: Renamed exceptionhandler to
14067 exceptionHandler, which is what mvme135-stub.c expects.
14068
14069Wed Mar 31 17:42:03 1993 Doug Evans (dje@cygnus.com)
14070
14071 * libc/stdio/tmpnam.c (worker): Fix test for _r_open() failure.
14072
14073 * libc/unix/getpass.c (getpass): Use stdin,stderr instead of
14074 def_stdin/def_stderr (latter removed from stdio.h to make it ANSI
14075 compliant).
14076
14077Tue Mar 30 09:58:21 1993 Doug Evans (dje@canuck.cygnus.com)
14078
14079 * libc/reent/execr.c (_r_wait): Re-order args to make reent_struct
14080 first.
14081 libc/reent/filer.c (_r_open, _r_close, _r_lseek, _r_read,
14082 _r_write): Ditto.
14083 libc/reent/fstatr.c (_r_fstat): Ditto.
14084 libc/reent/linkr.c (_r_link, _r_unlink): Ditto.
14085 libc/reent/sbrkr.c (_r_sbrk): Ditto.
14086 libc/reent/statr.c (_r_stat): Ditto.
14087
14088 * libc/stdio/fopen.c (_r_fopen): Re-order args to _r_open.
14089 * libc/stdio/freopen.c (freopen): Ditto for _r_open, _r_free.
14090 * libc/stdio/fseek.c (fseek): Ditto for _r_fseek.
14091 * libc/stdio/makebuf.c (__smakebuf): Ditto for _r_fstat.
14092 * libc/stdio/mktemp.c (_gettemp): Ditto for _r_stat, _r_open.
14093 * libc/stdio/remove.c (_r_remove): Ditto for _r_unlink.
14094 * libc/stdio/rename.c (_r_rename): Ditto for _r_link, _r_unlink.
14095 * libc/stdio/stdio.c (__sread): Ditto for _r_read.
14096 (__swrite): Ditto for _r_lseek, _r_write.
14097 (__sseek): Ditto for _r_lseek.
14098 (__close): Ditto for _r_close.
14099 * libc/stdio/tmpnam.c (worker): Ditto for _r_open, _r_close.
14100
14101 * libc/stdlib/malloc.c (_r_morecore): Re-order args to _r_sbrk.
14102 * libc/stdlib/system.c (_r_system): Ditto for _r_wait.
14103
14104 * libc/include/reent.h: Re-order arguments to _r_xxx syscall fns
14105 to make reent_struct the first argument (and thus consistent with
14106 the rest of newlib).
14107
14108 * stub/mvme135/mvme135-stub.c (initializeRemcomErrorFrame): Remove
14109 reference to __STDC__.
14110
14111Mon Mar 29 12:34:32 1993 Doug Evans (dje@canuck.cygnus.com)
14112
14113 * libc/stdlib/exit.c (exit): Use _REENT->__cleanup instead of
14114 global __cleanup.
14115
14116Wed Mar 24 11:54:35 1993 Doug Evans (dje@canuck.cygnus.com)
14117
14118 * libc/stdio/freopen.c (freopen): Ensure stdio is initialized
14119 first.
14120 libc/stdio/fclose.c (fclose): Ditto.
14121
14122Tue Mar 23 01:26:52 1993 Doug Evans (dje@rtl.cygnus.com)
14123
14124 * Run through indent and rename reentrant routines for ANSI.
14125 libc/stdio/{clearerr.c cvt.c fclose.c fdopen.c feof.c ferror.c
14126 fflush.c fgetc.c fgetpos.c fgets.c findfp.c fiprintf.c flags.c
14127 fopen.c fprintf.c fputc.c fputs.c fread.c freopen.c fscanf.c
14128 fseek.c fsetpos.c ftell.c fvwrite.c fwalk.c fwrite.c getc.c
14129 getchar.c gets.c iprintf.c makebuf.c mktemp.c perror.c printf.c
14130 putc.c putchar.c puts.c refill.c remove.c rename.c rewind.c rget.c
14131 scanf.c setbuf.c setvbuf.c siprintf.c sprintf.c sscanf.c stdio.c
14132 tmpfile.c tmpnam.c ungetc.c vfprintf.c vfscanf.c vprintf.c
14133 vsprintf.c wbuf.c wsetup.c local.h}
14134
14135 * libc/locale/locale.c: Reformat and rename for ANSI, GNU style.
14136
14137 * Run through indent and rename xxx_r fns to _r_xxx for ANSI.
14138 libc/stdlib/{__adjust.c __exp10.c __ten_mu.c abort.c abs.c
14139 assert.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c
14140 dtoa.c ecvtbuf.c efgcvt.c exit.c getenv.c labs.c ldiv.c malloc.c
14141 mbtowc.c mprec.c putenv.c qsort.c rand.c setenv.c strdup.c
14142 strtod.c strtol.c strtoul.c system.c wctomb.c mprec.h}
14143
14144 * Run through indent.
14145 libc/string/{bcmp.c bcopy.c bzero.c index.c memchr.c memcmp.c
14146 memcpy.c memmove.c memset.c rindex.c strcat.c strchr.c strcmp.c
14147 strcoll.c strcpy.c strcspn.c strerror.c strlen.c strncat.c
14148 strncmp.c strncpy.c strpbrk.c strrchr.c strspn.c strstr.c strtok.c
14149 strxfrm.c}
14150
14151 * libc/time/{asctime.c clock.c ctime.c difftime.c gmtime.c
14152 localtime.c mktime.c strftime.c time.c}:
14153 Run through indent and rename xxx_r (reentrant) fns to _r_xxx for ANSI.
14154
14155 * Reformatting + renaming (for ANSI, GNU style, consistency).
14156 libc/include/{_ansi.h, assert.h, ctype.h, errno.h, fastmath.h,
14157 ieeefp.h, locale.h, math.h, paths.h, pwd.h, reent.h, setjmp.h,
14158 signal.h, stdio.h, stdlib.h, string.h, time.h, unistd.h}
14159
14160Fri Mar 19 11:28:01 1993 Doug Evans (dje@cygnus.com)
14161
14162 * libc/include/stdio.h (stdin_r): Fix.
14163
14164Fri Mar 19 09:43:48 1993 Ian Lance Taylor (ian@cygnus.com)
14165
14166 * Makefile.in: Unexport some variables to keep GNU make from
14167 putting them in the environment and using up needed ARG_MAX space
14168 (a hack is used to let this work with older makes as well).
14169
14170Tue Mar 16 15:11:08 1993 Ian Lance Taylor (ian@cygnus.com)
14171
14172 * Makefile.in: Use $(MAKE) rather than make.
14173 (MAKEOVERRIDES): Define to be empty.
14174 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
14175 (libc.a, libm.a): Depend on targ-include.
14176 * host/any (LD): Don't define.
14177 (INCLUDES): Use targ-include.
14178 * stub/Makefile.in (MAKEOVERRIDES): Define to be empty.
14179 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
14180 * libc/Makefile.in: Use $(MAKE) rather than make.
14181 (MAKEOVERRIDES): Define to be empty.
14182 (FLAGS_TO_PASS): Don't pass LD (it's not used).
14183 (all): Rewrote to be slightly smaller.
14184 * libc/machine/Makefile.in, libc/sys/Makefile.in (MAKEOVERRIDES):
14185 Define to be empty.
14186 (FLAGS_TO_PASS): Don't pass LD (it's not used).
14187 * libm/Makefile.in (FLAGS_TO_PASS): Don't pass LD (it's not used).
14188
14189Mon Mar 15 08:45:41 1993 Ian Lance Taylor (ian@cygnus.com)
14190
14191 * libc/sys/go32/gerrno.s: Renamed from errno.s to avoid conflict
14192 with errno/errno.c.
14193
14194Fri Mar 12 09:46:54 1993 Ian Lance Taylor (ian@cygnus.com)
14195
14196 * Changes for reentrancy.
14197 libc/stdio/fdopen.c, libc/stdio/freopen.c, libc/stdio/perror.c:
14198 Use ptr->_errno, not errno.
14199 libc/stdio/mktemp.c (mkstemp_r, mktemp_r): New functions.
14200 libc/stdio/remove.c (remove_r): New function.
14201 libc/stdio/rename.c (rename_r): New function.
14202 libc/stdio/fopen.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
14203 libc/stdio/makebuf.c, libc/stdio/mktemp.c, libc/stdio/remove.c,
14204 libc/stdio/rename.c, libc/stdio/stdio.c, libc/stdio/tmpnam.c: Use
14205 reentrant versions of system calls.
14206 libc/stdio/gets.c: Call getchar_f, not nonexistent getchar_r.
14207 libc/stdio/scanf.c: Use stdin_r, not nonexistent stdin_n.
14208 libc/stdio/tmpfile.c: Use tmpnam_f, not nonexistent tmpnam_r.
14209 libc/stdio/findfp.c: Include <string.h>.
14210 libc/stdio/fread.c, libc/stdio/rget.c, libc/stdio/scanf.c: Include
14211 "local.h".
14212 libc/stdio/wbuf.c: Include "fvwrite.h"
14213
14214 * libc/stdlib/{dtoa.c, ecvtbuf.c, mprec.c, strtod.c}: Include
14215 <string.h>.
14216 libc/stdlib/malloc.c: Call sbrk_r rather than sbrk.
14217 (NULL): Don't define if already defined.
14218 libc/stdlib/system.c: Call reentrant versions of system calls.
14219 (system_r): New function.
14220
14221 * Changes for reentrancy.
14222 libc/include/_ansi.h (_PARAMS): New macro.
14223 libc/include/errno.h: Define errno as a macro that calls __errno.
14224 (__errno_r): New macro for reentrant code.
14225 libc/include/math.h: Include reent.h. Declare many reentrant
14226 functions.
14227 (signgam): Now a macro, not a variable.
14228 (struct exception): Added err field.
14229 libc/include/reent.h: Don't declare __sglue. Added function
14230 declarations.
14231 (struct reent_struct): Moved errno to beginning. Added _signgam.
14232 libc/include/stdio.h, libc/include/stdlib.h: Added function
14233 declarations.
14234
14235 * More reentrancy hacking.
14236 libc/errno/errno.c (__errno): New function.
14237 libc/reent/execr.c, libc/reent/filer.c, libc/reent/fstatr.c,
14238 libc/reent/linkr.c, libc/reent/sbrkr.c, libc/reent/statr.c: New
14239 files.
14240
14241 * Added many new reentrant functions to libm/math/*.
14242 libm/math/error.c (__matherror): Added reent_struct pointer
14243 argument. Changed all callers.
14244 libm/math/gamma.c (signgam): Removed. Set ptr->_signgam, instead.
14245 libm/math/exp.h, libm/math/pow.h, libm/math/sincos.h,
14246 libm/math/tan.h: Removed obsolete unused header files.
14247
14248 * libc/sys/a29khif/stubs.s: Use register lr0, not v0.
14249
14250 * libc/sys/sun/Makefile.in (COPYOFILES): Don't pull in errno.o.
14251
14252Mon Mar 8 16:43:43 1993 Steve Chamberlain (sac@thepub.cygnus.com)
14253
14254 * libc/sys/a29khif/stubs.s: clobber safe register, and fill all
14255 delay slots.
14256
14257Tue Mar 2 14:47:00 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
14258
14259 * libc/libc.texinfo: comment out reentrancy chapter (duh)
14260
14261Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
14262
14263 * libc/reent/reent.tex: New file. (text from
14264 newlib/libc/libc.texinfo)
14265 * libc/stdio/tmpnam.c: fixed doc typo
14266 * libc/stdlib/rand.c: fixed doc typo
14267
14268Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
14269
14270 * libc/reent/reent.tex: New file. (text from
14271 newlib/libc/libc.texinfo)
14272
14273Fri Feb 26 12:20:54 1993 Steve Chamberlain (sac@thepub.cygnus.com)
14274
14275 support for reentrancy
14276 * libc/reent/reent.c, libc/reent/Makefile.in, libc/reent/reent.c:
14277 new files
14278 * libc/errno/errno.c, libc/include/ieeefp.h,
14279 libc/include/locale.h, libc/include/reent.h,
14280 libc/include/signal.h, libc/include/stdio.h,
14281 libc/include/stdlib.h, libc/include/string.h, libc/include/time.h,
14282 libc/signal/signal.c libc/stdio/cvt.c, libc/stdio/fclose.c,
14283 libc/stdio/fdopen.c, libc/stdio/fflush.c, libc/stdio/fgets.c,
14284 libc/stdio/findfp.c, libc/stdio/flags.c, libc/stdio/fopen.c,
14285 libc/stdio/fputc.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
14286 libc/stdio/ftell.c, libc/stdio/fwalk.c, libc/stdio/getchar.c,
14287 libc/stdio/gets.c, libc/stdio/glue.h, libc/stdio/iprintf.c,
14288 libc/stdio/local.h, libc/stdio/makebuf.c, libc/stdio/perror.c,
14289 libc/stdio/printf.c, libc/stdio/putchar.c, libc/stdio/puts.c,
14290 libc/stdio/refill.c, libc/stdio/scanf.c, libc/stdio/setvbuf.c,
14291 libc/stdio/sprintf.c, libc/stdio/tmpfile.c, libc/stdio/tmpnam.c,
14292 libc/stdio/ungetc.c, libc/stdio/vfprintf.c, libc/stdio/vfprintf.h,
14293 libc/stdio/vfscanf.c, libc/stdio/vprintf.c, libc/stdio/wsetup.c,
14294 libc/stdlib/__adjust.c, libc/stdlib/__exp10.c,
14295 libc/stdlib/assert.c, libc/stdlib/atexit.c, libc/stdlib/atol.c,
14296 libc/stdlib/dtoa.c, libc/stdlib/ecvtbuf.c, libc/stdlib/malloc.c,
14297 libc/stdlib/mprec.c, libc/stdlib/mprec.h, libc/stdlib/rand.c,
14298 libc/stdlib/setenv.c, libc/stdlib/std.h, libc/stdlib/strtod.c,
14299 libc/stdlib/strtol.c, libc/stdlib/strtoul.c, libc/string/strtok.c,
14300 libc/time/asctime.c, libc/time/localtime.c, libc/time/mktime.c,
14301 libc/time/strftime.c: modify to provide reentracy.
14302
14303 new routines:
14304 strtok_r, asctime_r, fdopen_r, _cleanup_r, fopen_r, iprintf_r,
14305 perror_r, printf_r, putchar_r, puts_r, scanf_r, sprintf_r,
14306 tmpfile_r, vfiprintf_r, vfprintf_r, strtod_r, dtoa_r, rand_r,
14307 srand_r, strtoul_r,strtol_r, free_r, malloc_r, morecore_r,
14308 mstats_r, realloc_r, localeconv_r, setlocale_r
14309
14310Wed Feb 17 20:17:15 1993 Mark Eichin (eichin@cygnus.com)
14311
14312 * libc/include/machine/ieeefp.h, libc/include/machine/setjmp.h,
14313 libc/include/sys/config.h, libc/include/sys/signal.h,
14314 libc/include/sys/stat.h, libc/include/sys/types.h: For compiler
14315 provided macros (such as m68000), use the ansi version
14316 (__m68000__) so that the library can be used with code compiled
14317 -ansi. In particular, m68000, mc68000, _AM29K, i386, MIPSEL, unix,
14318 and sparc.
14319
14320Wed Feb 17 13:01:34 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
14321
14322 * configure.in (sparc*): Don't set -fsoft-float for sparc
14323 configurations. Do set -fsoft-float for sparclite configurations.
14324
14325Fri Feb 12 16:25:52 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
14326
14327 * default.menu, no-signal.menu: alternate forms of libc main menu
14328 (in newlib rather than newlib/libc due to configuration restrictions)
14329
14330 * configure.in: select one of the two menus above, link to
14331 libc.menu
14332
14333 * libc/libc.texinfo: include menu from separate file
14334
14335Fri Feb 12 12:50:06 1993 Ian Lance Taylor (ian@cygnus.com)
14336
14337 * Makefile.in (FLAGS_TO_PASS): Put INSTALL back in.
14338 (info): Split long shell command in half.
14339 * libc/Makefile.in (info, targetdep.tex): Don't pass everything to
14340 sub-makes, just CHEW and TARGETDOC.
14341 (targetdep.tex): Removed now special handling of sys and machine
14342 subdirectories, made obsolete some time ago.
14343 * libc/machine/Makefile.in (doc): Don't pass everything to
14344 sub-make, just CHEW and TARGETDOC.
14345 (Makefile): New target.
14346 * libc/sys/Makefile.in (Makefile): New target.
14347
14348Thu Feb 11 15:25:15 1993 Ian Lance Taylor (ian@cygnus.com)
14349
14350 * Makefile.in (here and most subdirectories): Only pass down CHEW
14351 and TARGETDOC when making info, not for other targets.
14352
14353 * Makefile.in (here and most subdirectories), host/any: Use $(AR)
14354 $(AR_FLAGS) rather than $(ARUPDATE).
14355
14356Wed Feb 10 11:57:52 1993 Ian Lance Taylor (ian@cygnus.com)
14357
14358 * Try to reduce command line length:
14359 * Makefile.in (FLAGS_TO_PASS): don't pass down exec_prefix,
14360 CC_FOR_BUILD, CFLAGS_FOR_BUILD, INSTALL or CHEW.
14361 (info, docs): pass CC_FOR_BUILD and CFLAGS_FOR_BUILD to doc.
14362 (info): Pass CHEW to other subdirs.
14363
14364Tue Feb 9 14:01:42 1993 Mark Eichin (eichin@cygnus.com)
14365
14366 * configure.in: add signal_dir, like unix_dir, but by default it
14367 is set to "signal" so that a29khif can turn it off (since a29khif
14368 has raise() as part of machine-specific signal.s.)
14369
14370Fri Jan 15 12:09:50 1993 Steve Chamberlain (sac@thepub.cygnus.com)
14371
14372 * libc/sys/config.h, libc/machine/ieeefp.h: add Z8000 support
14373 * libc/stdio/Makefile.in: pass CFLAGS so vfiprintf.c gets built
14374 correctly.
14375 * libc/stdio/fdopen.c, libc/stdio/fgets.c, libc/stdio/fscanf.c,
14376 libc/stdio/vfprintf: type lint.
14377 * libc/sys/z8ksim/crt0.c (start): Z8001/Z8002 independent
14378 initialzation code.
14379 * libc/sys/z8ksim/glue.c: Z8001/Z8002 clean system calls.
14380
14381Tue Dec 29 10:15:33 1992 Ian Lance Taylor (ian@cygnus.com)
14382
14383 * stub/mvme135/mvme135-asm.S: new file.
14384 stub/mvme135mvme135-stub.c: moved all assembler routines into
14385 mvme135-asm.S.
14386 stub/mvme135/Makefile.in: build mvme135-stub.o.
14387
14388Mon Dec 28 12:40:43 1992 Ian Lance Taylor (ian@cygnus.com)
14389
14390 * Makefile.in: don't pass down $(CPP); use $(CC) -E in
14391 sub-Makefiles instead, to try to avoid line length limitations.
14392
14393Mon Dec 21 18:36:13 1992 Per Bothner (bothner@rtl.cygnus.com)
14394
14395 * libc/include/unistd.h (read, write): Use void* instead of
14396 char*.
14397
14398Thu Dec 17 13:49:46 1992 Mark Eichin (eichin@cygnus.com)
14399
14400 * stub/go32/resetpc: sample script to send a reset packet to the
14401 stub
14402
14403 * stub/go32/I386STUB.C: new file, gdb/i386stub.c modified for the
14404 DOS environment, which compiles with Turbo C.
14405
14406 * stub/go32/DSER32.LNK: new file, linker commands for serial
14407 remote stub.
14408
14409 * stub/go32/CONTROL.C: turn off debug_mode, add CYGNUS tag line to
14410 start up message to identify version; call set_debug_traps.
14411
14412 * stub/go32/DEBUG.C: turn off debug_mode (so stub doesn't need any
14413 keyboard interaction); call handle_exception() in go_til_stop,
14414 rather than return, so that the remote stub gets control.
14415
14416 * stub/go32/MAKEFILE: fixed to actually use DOS commands (del and
14417 rename, rather than mv), set flags that work with current Turbo C,
14418 including using the /3 flag; also, add commands to build dser32.
14419
14420 * stub/go32/DEBUG32.LNK, stub/go32/GO32.LNK: fix paths to match
14421 default Turbo C installation (\tc rather than \usr)
14422
14423 * stub/go32/MONO.C (printf): current Turbo C uses "..." instead of
14424 "&..."
14425
14426Mon Dec 14 09:37:33 1992 Steve Chamberlain (sac@thepub.cygnus.com)
14427
14428 * libc/include/math.h: added _DOUBLE_IS_32BITS checks
14429
14430Thu Nov 12 22:31:04 1992 Steve Chamberlain (sac@thepub.cygnus.com)
14431
14432 * libc/stdio/cvt.c (licvt): new function to convert ints when
14433 sizeof(int) != sizeof(long).
14434
14435 * libc/include/stdio.h: added prototype for iprintf.
14436 * libc/include/machine/limits.h machine/ieeefp.h: z8k stuff
14437
14438Tue Nov 10 12:18:12 1992 Ian Lance Taylor (ian@cygnus.com)
14439
14440 * libc/machine/m68k/setjmp.S: use __USER_LABEL_PREFIX__ and
14441 __REGISTER_PREFIX__.
14442
14443Mon Nov 2 13:50:14 1992 Ian Lance Taylor (ian@cygnus.com)
14444
14445 * libc/sys/m68kbare: moved into stub directory.
14446
14447Mon Nov 2 13:40:42 1992 Ian Lance Taylor (ian@cygnus.com)
14448
14449 * configure.in, Makefile.in: created new directory stub, to hold
14450 sample code for specific targets.
14451
14452Wed Oct 28 02:19:55 1992 Mark Eichin (eichin@cygnus.com)
14453
14454 * restored libc/sys/go32/sys/fcntl.h, to override incorrect values
14455 in the unified libc/include/sys/fcntl.h.
14456
14457Wed Oct 21 13:55:58 1992 Doug Evans (dje@rtl.cygnus.com)
14458
14459 * libc/stdlib/ecvtbuf.c: (print_f,_gcvt): printf("%f", 0.01)
14460 printed .01, not 0.01.
14461
14462Mon Oct 19 11:05:55 1992 Ian Lance Taylor (ian@cygnus.com)
14463
14464 * configure.in: compile with -m68000 for m68* targets.
14465
14466Sun Oct 18 05:29:05 1992 Mark Eichin (eichin@cygnus.com)
14467
14468 * libm/math/remainder.c (remainder): document the svr4 and sunos
14469 references used to construct the function.
14470
14471Sat Oct 17 21:46:16 1992 Mark Eichin (eichin@cygnus.com)
14472
14473 * libm/math/remainder.c (rint, remainder): fix old typos.
14474 * libm/math/Makefile.in: actually build remainder.c (functions
14475 rint and remainder, from SysVr4 Programmer's Guide floor(3m) man
14476 page.)
14477
14478Thu Oct 15 07:48:05 1992 Ian Lance Taylor (ian@cygnus.com)
14479
14480 * libc/string/bcopy.c: BSD version works on overlapping strings,
14481 so ours should too.
14482
14483 * libc/stdlib/system.c: always invoke /bin/sh, not getenv
14484 ("SHELL").
14485
14486Wed Oct 14 11:07:11 1992 Ian Lance Taylor (ian@cygnus.com)
14487
14488 * Makefile.in (docs): new target.
14489
14490Wed Oct 14 07:44:25 1992 Ian Lance Taylor (ian@cygnus.com)
14491
14492 * libc/include/sys/times.h: define clock_t as required by POSIX.
14493 libc/include/time.h: protect clock_t from multiple definitions.
14494
14495Wed Oct 7 11:02:21 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
14496
14497 * libm/math/sqrt.h (sqrt): actually, the final version of fp-bit
14498 does not need more than the original three iterations to get
14499 within 1 ulp. (Paranoia tests for rounding to better than that,
14500 but further iterations *don't* help, only more subtle changes
14501 can.)
14502
14503Tue Oct 6 09:22:12 1992 Ian Lance Taylor (ian@cygnus.com)
14504
14505 * libc/sys/vxworks68, libc/sys/vxworks960: removed, since they
14506 were doing nothing useful.
14507
14508Tue Oct 6 08:48:13 1992 Ian Lance Taylor (ian@cygnus.com)
14509
14510 * configure.in: define MALLOC_PROVIDED for vxworks targets;
14511 removed sys_dir settings of vxworks68 and vxworks960.
14512 host/any: don't pass -nostdinc to gcc, since newlib no longer
14513 provides all required header files.
14514
14515 * libc/stdlib/malloc.c: only compile this file if MALLOC_PROVIDED
14516 is not defined; this provides a hook for VxWorks.
14517
14518Mon Oct 5 03:44:57 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
14519
14520 * libc/stdio/setvbuf.c (setvbuf): while ANSI does say to malloc a
14521 buffer if buf is NULL, don't do it here -- it is already being
14522 done by makebuf elsewhere in stdio.
14523
14524Fri Oct 2 13:12:07 1992 Ian Lance Taylor (ian@cygnus.com)
14525
14526 * libc/sys/a29khif/Makefile.in: assemble Steve's list of stubs so
14527 that C programs can call functions without using initial
14528 underscores.
14529
14530Thu Oct 1 09:37:47 1992 Ian Lance Taylor (ian@cygnus.com)
14531
14532 * libc/stdlib/abort.c (abort): call exit, in case kill returns.
14533
14534Wed Sep 30 08:22:18 1992 Ian Lance Taylor (ian@cygnus.com)
14535
14536 * configure.in: set TARGET_CFLAGS for certain CPU types to
14537 -msoft-float.
14538
14539Tue Sep 29 21:09:32 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
14540
14541 * libc/sys/m68kbare/glue.c: use <_ansi.h> instead of <ansidecl.h>
14542
14543Mon Sep 28 14:58:44 1992 Ian Lance Taylor (ian@cygnus.com)
14544
14545 * configure.in: added sys_dir m68kbare for m68k*-unknown-aout and
14546 m68k*-unknown-coff.
14547
14548Fri Sep 25 08:33:21 1992 Ian Lance Taylor (ian@cygnus.com)
14549
14550 * libc/include/stdio.h: define __need___va_list before including
14551 <stdarg.h>, to avoid defining va_arg, et. al.
14552
14553Tue Sep 22 13:47:00 1992 Ian Lance Taylor (ian@cygnus.com)
14554
14555 * libc/sys/Makefile.in: handle the case of an empty $(sys_dir)
14556 (don't cd to the user's home directory).
14557
14558 * libc/Makefile.in: replaced all instances of $(MAKE) with make.
14559 In general this is the wrong thing to do, but I can't get around
14560 GNU make's insistence on passing command line arguments any other
14561 way.
14562
14563Tue Sep 22 10:12:44 1992 Ian Lance Taylor (ian@cygnus.com)
14564
14565 * configure.in: always configure the libc/sys directory, since it
14566 now provides a required documentation file.
14567
14568 * Makefile.in: replaced all instances of $(MAKE) with make. In
14569 general this is the wrong thing to do, but I can't get around GNU
14570 make's insistence on passing command line arguments any other way.
14571
14572Mon Sep 21 22:42:26 1992 Ian Lance Taylor (ian@tweedledumbest.cygnus.com)
14573
14574 * libc/stdlib/ecvtbuf.c (_gcvt): string for 0 was not null
14575 terminated.
14576
14577 * libc/stdio/local.h: include <stdarg.h> to define va_list.
14578 libc/stdio/vsprintf.c: include <stdarg.h> rather than <varargs.h>.
14579
14580 * libc/include/float.h, libc/include/stdarg.h,
14581 libc/include/stddef.h, libc/include/varargs.h: removed; use gcc
14582 versions instead.
14583 libc/include/stdio.h: get size_t from <stddef.h>, and va_list from
14584 <stdarg.h>, not from <machine/types.h>. Protect definition of
14585 NULL.
14586 libc/include/time.h: get size_t from stddef.h. Protect definition
14587 of NULL.
14588 libc/include/machine/limits.h: override gcc <limits.h> by defining
14589 _LIMITS_H___. Don't define CLK_TCK. Copied in gcc <limits.h> to
14590 get correct INT_MIN and LONG_LONG values.
14591 libc/include/machine/types.h: don't define ptrdiff_t, wchar_t,
14592 size_t or va_list at all; they're now gotten from stddef.h
14593 instead.
14594 libc/include/machine/varargs.h: removed; use gcc version instead.
14595 libc/include/sys/types.h: explicitly include <machine/types.h>.
14596
14597 * libm/math/sqrt.h: using the fp-bit routines appears to require
14598 more iterations.
14599
14600 * Makefile.in, host/any: let system include files override machine
14601 include files.
14602
14603Sat Sep 19 21:10:06 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
14604
14605 * libc/include/machine/types.h: allow __*_TYPE__ from cpp to
14606 override _*_T_ definitions defaulted here.
14607
14608Tue Sep 15 11:14:46 1992 Ian Lance Taylor (ian@cygnus.com)
14609
14610 * Makefile.in (install): install the include files in
14611 $(tooldir)/include, not $(exec_prefix)/include.
14612
14613Fri Sep 11 15:48:43 1992 Ian Lance Taylor (ian@cygnus.com)
14614
14615 * Makefile.in (install): fixed typo, and changed install to not
14616 force rebuild of libc.a and libm.a.
14617
14618Thu Sep 10 10:46:09 1992 Ian Lance Taylor (ian@cygnus.com)
14619
14620 * libc/sys/a29khif/*: Changed all .include's to include
14621 sys/sysmac.h, not plain sysmac.h. The header files live in sys so
14622 that they will be installed for the user.
14623
14624 * Makefile.in (all): create targ-include, a directory holding the
14625 machine and system specific header files during the build.
14626 (install): fixed installation of machine and system specific
14627 header files.
14628
14629 * Makefile.in: fixed comment.
14630 host/any: change .s.o rule to use $(AS) rather than $(CC), so that
14631 we can pass $(INCLUDES) to it.
14632
14633Thu Sep 10 10:13:13 1992 Ian Lance Taylor (ian@cygnus.com)
14634
14635 * libc/include/sys/param.h: new generic file, which may be
14636 overridden for specific systems.
14637
14638 * libc/include/sys/signal.h: define all ANSI signal names, and
14639 NSIG (which is not ANSI) for a29k.
14640
14641Tue Sep 8 09:04:30 1992 Ian Lance Taylor (ian@cygnus.com)
14642
14643 * Makefile.in: don't pass down arguments the lower level makes
14644 will not need.
14645 * libc/Makefile.in: recurse directly, rather than using subdir_do,
14646 in hopes of avoiding argument length limits.
14647 * libm/Makefile.in: recurse directly, rather using subdir_do, in
14648 hopes of avoiding argument length limits.
14649
14650Tue Sep 8 08:27:22 1992 Ian Lance Taylor (ian@cygnus.com)
14651
14652 * libc/include/sys/fcntl.h: include <sys/types.h> to ensure that
14653 mode_t is defined.
14654
14655Mon Sep 7 14:02:07 1992 Ian Lance Taylor (ian@cygnus.com)
14656
14657 * Fixed make info and make install-info for newlib, changing most
14658 Makefile.in and several *.tex files. Moved doc directory from
14659 libc to top level.
14660
14661 * libc/time/mktime.c (_DAYS_IN_MONTH): actually, not const.
14662 Should be rewritten.
14663
14664 * libc/string/strings.tex: renamed node index to node index
14665 function, so that it does not conflict with the top level index
14666 node.
14667
14668 * libc/include/sys/config.h: define __IEEE_BIG_ENDIAN for h8300.
14669
14670Fri Sep 4 02:34:06 1992 Ian Lance Taylor (ian@cygnus.com)
14671
14672 * Overhauled general configuration for newlib. Eliminated all
14673 target dependent Makefile fragments. Create libraries in newlib
14674 rather than newlib/libc and newlib/libm. Use CC, et. al., rather
14675 than CROSS_CC, et. al. Broke make docs; will fix later.
14676
14677 * libc/time/localtime.c (_DAYS_IN_MONTH): actually, not const.
14678 Should be rewritten.
14679
14680Tue Sep 1 15:21:14 1992 Ian Lance Taylor (ian@cygnus.com)
14681
14682 * libc/configure.in: cleaned up somewhat; switch on ${target}
14683 rather than ${target_alias}.
14684 * libm/configure.in: cleaned up somewhat; switch on ${target}
14685 rather than ${target_alias}.
14686
14687 * libc/ctype/ctype_.c: marked _ctype_ array _CONST.
14688 * libc/include/ctype.h: marked _ctype_ as _CONST.
14689
14690 * libc/locale/locale.c (lconv, localeconv): marked static lconv as
14691 _CONST.
14692
14693 * libc/stdio/cvt.c, libc/stdio/findfp.c (__sfmoreglue),
14694 libc/stdio/vfscanf.c (__svfscanf): made static variables const.
14695 libc/stdio/gets.c (gets): removed non-ANSI warning message.
14696 libc/stdio/tmpnam.c (tmpnam): removed unneeded filename variable.
14697
14698 * libc/stdlib/mprec.h, libc/stdlib/mprec.c (pow5mult, tens,
14699 bigtens, tinytens): marked arrays _CONST.
14700 libc/stdlib/qsort.c (swap): if __GNUC__, use _builtin_alloca
14701 rather than a static variable.
14702
14703 * libc/time/asctime.c (asctime), libc/time/localtime.c
14704 (_DAYS_IN_MONTH), libc/time/mktime.c (_DAYS_IN_MONTH,
14705 _DAYS_BEFORE_MONTH), libc/time/strftime.c (dname_len, dname,
14706 mname_len, mname): Marked static arrays _CONST.
14707
14708 * libm/math/gamma.h: made local variables non-static.
14709
14710 * libm/math/acos.h, libm/math/bessel.c, libm/math/erf.c,
14711 libm/math/exp.c, libm/math/gamma.h: marked static arrays as
14712 _CONST.
14713
14714 * libm/math/constants.c: removed file, because the constants it
14715 defined were never referenced.
14716 libm/math/Makefile.in: removed references to constants.c.
14717 libm/math/mathimpl.h: removed declarations of constants.
14718
14719Wed Aug 26 21:09:06 1992 Ian Lance Taylor (ian@cygnus.com)
14720
14721 * libc/include/machine/varargs.h: only call __builtin_saveregs if
14722 it is sensibly defined in libgcc2. Checks preprocessor defines,
14723 which is not a good solution.
14724
14725 * libm/sqrt.c: sqrt(Infinity) should not be a domain error.
14726
14727 * libm/frexp.c: handle denormalized numbers as arguments.
14728
14729 * libm/math/Makefile.in: added some dependencies for .c files
14730 which include local .h files.
14731
14732Mon Aug 24 12:57:58 1992 Ian Lance Taylor (ian@cygnus.com)
14733
14734 * libc/configure.in: set target_alias for OSE*. Replace
14735 target_makefile_frag if it is blank.
14736
14737 * libc/Makefile.in: make sure everything is passed to subsidiary
14738 makes; create all directories when installing.
14739
14740 * libm/ieeefp/Makefile.in, libm/math/Makefile.in: use
14741 CROSS_ARUPDATE instead of AR.
14742
14743 * libm/configure.in: set target_alias for OSE*. Replace
14744 target_makefile_frag if it is blank.
14745
14746 * libm/Makefile.in: make sure everything is passed to subsidiary
14747 makes; create all directories when installing.
14748
14749Thu Aug 20 15:11:51 1992 Mark Eichin (eichin@cygnus.com)
14750
14751 * add following change from libc copy.
14752
14753Wed Aug 19 18:54:49 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
14754
14755 * libc/libc.texinfo: make copyright disclaimers appear on back of
14756 title page; make format of same slightly less ugly; avoid using
14757 underbars in section headings (avoids nasty texinfo bug in table
14758 of contents).
14759
14760 * libc/ctype/tolower.c, libc/ctype/toupper.c: (doc changes in
14761 comments only) avoid using underbars in section headings
14762
14763 * libc/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
14764 isnan ieeefp/fpmask.c, ieeefp/fpround.c, ieeefp/fpsticky.c (doc
14765 changes in comments only): shorten headings ieeefp/infinity.c,
14766 ieeefp/isnan.c: (doc, comments only) more informative headings
14767
14768 * libc/math/bessel.c: (doc, comments only) shorten heading
14769
14770 * libc/stdlib/efgcvt.c, libc/stdlib/mbtowc.c, libc/stdlib/wctomb.c
14771 (doc, comments only) shorten headings
14772
14773 * libc/time/localtime.c (doc, comments only): shorten headings
14774
14775 * libm/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
14776 isnan
14777 libm/ieeefp/fpmask.c, libm/ieeefp/fpround.c,
14778 libm/ieeefp/fpsticky.c (doc changes in comments only): shorten
14779 headings
14780 libm/ieeefp/infinity.c, libm/ieeefp/isnan.c: (doc, comments
14781 only) more informative headings
14782 * libm/math/bessel.c: (doc, comments only) shorten heading
14783
14784Wed Aug 19 07:06:37 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
14785
14786 * .../Makefile.in: use CROSS_ARUPDATE consistently.
14787 * config/*.mt: define CROSS_AR as well as CROSS_ARUPDATE
14788 * config/*.mt: define CROSS_CPP based on CROSS_CC, not /lib/cpp.
14789 * .../Makefile.in: get rid of .c.o rule - if TOP is correctly
14790 defined, the one from the .mt file will be correct.
14791 * libc/include/machine, libc/include/sys: created, and populated
14792 with common files from machine/*/machine. ifdefs were used for
14793 most, typically by handling exceptions first and then filling in
14794 defaults. Files with D.J. Delorie copyright #included rather than
14795 copied. Most files in include/sys really were the same in the
14796 original.
14797 * libc/include/...: cleaned up use of _EXFUN.
14798 * libc/stdlib/mprec.c: mprec.h doesn't get installed, so include
14799 it with double quotes, not angles.
14800
14801Mon Aug 10 11:43:20 1992 Ian Lance Taylor (ian@dumbest.cygnus.com)
14802
14803 * libc/Makefile.in: always create installation directories.
14804
14805Sun Aug 9 22:45:48 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
14806
14807 * libc/configure.in: handle host properly (using canonical
14808 triples), better error message for the case of target not found
14809
14810Thu May 28 01:56:37 1992 Michael Tiemann (tiemann@rtl.cygnus.com)
14811
14812 * libc/Makefile.in (insincdir): Ensure this directory exists
14813 before attempting installation.
14814
14815Fri May 1 18:16:42 1992 Steve Chamberlain (sac@thepub.cygnus.com)
14816
14817 * libc/stdlib/assert.c: now calls abort like it should
14818 * libc/sys/a29khif: many many patches for 29khif work
14819 * libc/machine/i386: gnulib2 expanded there.
14820
14821Tue Apr 28 19:08:37 1992 Steve Chamberlain (sac@thepub.cygnus.com)
14822
14823 Added accurate fp conversion routines to stdlib, moved dcvt from
14824 stdio to stdlib and called it ecvtbuf:
14825 * libc/stdlib/mprec.c, mprec.h: new files for multiprec arithmetic
14826 * libc/stdlib/Makefile.in, efgcvt.c, strtod.c: modified to use new
14827 routines
14828 * libc/libc.texinfo: Modifed to include the copyright info from
14829 the mprec files
14830 * libc/stdlib/efgcvt.c: now xref to ecvtbuf in stdlib.
14831 * libc/test/ : many vector which tested for the implementation
14832 defined returns of strange conversion requests have been updated
14833 to relflect the new implementation
14834
14835Mon Apr 27 13:41:33 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
14836
14837 * libc/libc.texinfo: new chapter on variable arg lists
14838 (stdarg.h/varargs.h)
14839 * libc/libc.texinfo: new title
14840 * libc/time/gmtime.c, libc/time/localtime./c, libc/time/mktime.c:
14841 (doc only) shorter headings for better formatting.
14842
14843Fri Apr 24 11:26:48 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
14844
14845 * libc/libc.texinfo: three more info menu entries
14846 * libc/locale/locale.tex: new chapter
14847 * libc/locale/locale.c: new doc for setlocale, localeconv
14848 * libc/locale/Makefile.in: use new locale doc
14849 * libc/signal/signal.tex: new chapter
14850 * libc/signal/raise.c, libc/signal/signal.c: new doc
14851 * libc/signal/Makefile.in: use new doc
14852 * libc/time/time.tex: new chapter
14853 * libc/time/asctime.c libc/time/clock.c libc/time/ctime.c
14854 libc/time/difftime.c libc/time/gmtime.c libc/time/localtime.c
14855 libc/time/mktime.c libc/time/strftime.c libc/time/time.c: new doc
14856 * libc/time/Makefile.in: use new doc
14857
14858Tue Apr 21 14:48:50 1992 Steve Chamberlain (sac@thepub.cygnus.com)
14859
14860 * libm/math/log1p.c: split to use the new function way of float
14861 function definition. math/log1p.h deleted
14862 * libm/math/scalb.c: obsolete and deleted
14863 * libm/math/scalbn.c: created from part log1p.c
14864 * libm/math/Makefile.in: know about log1p and scalbn
14865
14866Tue Apr 21 12:32:21 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
14867
14868 * libc/ctype/isupper.c: revise doc;
14869 libc/ctype/ctype.tex: use doc from isupper.c
14870
14871 * libc/string/bzero.c: new doc
14872
14873Mon Apr 20 14:19:42 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
14874
14875 * libc/stdlib/system.c, libc/stdlib/exit.c, libc/stdlib/abort.c:
14876 new doc
14877 * libc/stdlib/Makefile.in: extract new doc
14878 * libc/stdlib/stdlib.tex: use new doc
14879
14880 * libc/string/strerror.c: expanded doc.
14881
14882 * libc/stdio/Makefile.in: extract doc from more files
14883 * libc/stdio/fopen.c, libc/stdio/perror.c, libc/stdio/remove.c,
14884 libc/stdio/rename.c, libc/stdio/rewind.c, libc/stdio/setbuf.c,
14885 libc/stdio/setvbuf.c, libc/stdio/sprintf.c, libc/stdio/tmpfile.c,
14886 libc/stdio/tmpnam.c, libc/stdio/vfprintf.c, libc/stdio/vprintf.c,
14887 libc/stdio/vsprintf.c: new doc
14888 * libc/stdio/stdio.tex: use new doc
14889
14890Mon Apr 20 09:38:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
14891
14892 * libc/config/ebmon29k: added CROSS_CPP rule and other fixes
14893 * libc/include/ieeefp.h: fixed ansi conflict with isnanf, isinff,
14894 finitef functions.
14895 * libc/sys/a29khif/sys/*.h: ansidecl.h was renamed to _ansi.h some
14896 time ago.
14897
14898 * libc/stdio/stdio.h: added P_tmpdir for /tmp (SVID thing)
14899 * libc/stdio/setbuf.c: added ansi style definition.
14900 * libc/stdio/setvbuf.c: added ansi definition, now mallocs own
14901 buffer if none provided.
14902 * libc/stdio/tmpfile.c: lint
14903 * libc/stdio/tmpnam.c (worker): created. (tmpnam): mallocs buffer
14904 rather than using static, also make sure file isn't already
14905 present. Uses P_tmpdir. (tempnam): rewritten to use new
14906 subroutine, and uses P_tmpdir.
14907 * libc/stdio/siprintf.c: created
14908
14909Mon Apr 13 09:12:58 1992 Steve Chamberlain (sac@thepub.cygnus.com)
14910
14911 Release 1.03 for NEC, major mods. Main differences from release
14912 1.02::
14913
14914 More tests in test/:
14915 * jn_vec.c, jnf_vec.c, yn_vec.c, ynf_vec.c, log2_vec.c,
14916 log2f_vec.c, atan2_vec.c, atan2f_vec.c: new test vectors.
14917 * test_ieee.c: tests for ieee flags & masks - get/set rounding,
14918 get/set mask, get/set sticky and get/set roundtoi. Tests
14919 that setting the bits changes the way arithmetic is done.
14920 * string.c: added test to make sure memcmp does it with unsigned
14921 chars.
14922 * test.c: cleaned up and removed lint.
14923 * sprint_vec, sprint_ivec.c, convert.c, conv_vec.c, iconf_vec.c,
14924 dvec.c: tests for string to value conversions, sprintf, scanf,
14925 atof, atoff, strtod, strtodf, atoi, atol, strtol, ecvtbuf, ecvt,
14926 ecvtf, fcvtbuf, fcvt, fcvtf, gcvt, gcvtf. Some attention paid to
14927 rounding in sprintf too.
14928 * test_is.c: tests for isalnum, isalpha, isascii, iscntrl,
14929 isdigit, isgraph, islower, isprint, ispunct, isspace, isupper,
14930 isxdigit, toascii, tolower, toupper, _tolower, _toupper in macro
14931 and function form.
14932 * math2.c: test for frexp, frexpf, ldexp, ldexpf, modf modff, pow,
14933 powf
14934
14935 In the library:
14936 * libc/stdlib/div.c, libc/stdlib/ldiv.c, libc/stdlib/strtod.c,
14937 libc/stdlib/strtol.c, libc/stdlib/stroul.c, libc/stdlib/abs.c,
14938 libc/stdlib/bsearch.c, libc/stdlib/calloc.c, libc/stdlib/getenv.c,
14939 libc/stdlib/labs.c, libc/stdlib/malloc.c: new documentation
14940 * libc/stdlib/efgcvt.c: rewritten to use new _dcvt routines rather
14941 than sprintf.
14942 * libc/stdio/dcvt.c: rewritten to make more useful elsewhere.
14943 * Method of producting float versions of double functions has
14944 changed, functions will be modified gradually. So far:
14945 libm/math/exp.c, libm/math/pow.c, libm/math/modf.c,
14946 libm/math/sincos.c, libm/math/fmod.c, libm/math/tan.c have been
14947 altered
14948 * libc/string/memcmp.c: now uses unsigned chars
14949 * libc/string/bcmp.c, libc/string/strcpy.c,
14950 libc/stsring/strxfrm.c: fixed doc
14951 * libc/sys/sysvnecv70.tex: fix example of sbrk code
14952\f
14953Local Variables:
14954version-control: never
14955End:
This page took 1.662841 seconds and 5 git commands to generate.