]> sourceware.org Git - newlib-cygwin.git/blame - newlib/ChangeLog
* fhandler_disk_file.cc (fhandler_disk_file::facl): Add missing break.
[newlib-cygwin.git] / newlib / ChangeLog
CommitLineData
68cdbb18
JJ
12005-06-16 Christopher Faylor <cgf@timesys.com>
2
3 * libc/stdio/vfprintf.c (cvt): Don't rely on pointer aliasing to
4 determine characteristics of long double. Use a union instead.
5 * ldtoa.c (_ldtoa_r): Ditto.
6 (_ldcheck): Ditto.
7 (_strtold): Ditto.
8 (union uconv): New union.
9
15c04fd1
JJ
102005-06-03 Jeff Johnston <jjohnstn@redhat.com>
11
12 * libc/stdlib/mallocr.c (MALLOC_COPY): Switch to use memmove
13 instead of memcpy.
14
cf55bf5e
JJ
152005-05-12 Jeff Johnston <jjohnstn@redhat.com>
16
17 * configure.host (mn10300-*): Add long long I/O support by default.
18
b6e654c4
JJ
192005-05-12 Jeff Johnston <jjohnstn@redhat.com>
20
21 * libc/sys/linux/getpwuid.c: Removed.
22 * libc/sys/linux/getpwnam.c: Removed.
23 * libc/sys/linux/getpwent.c: New file containing logic
24 from files removed above. This allows overriding of file
25 in libc/unix.
26 * libc/sys/linux/Makefile.am: Support changes above.
27 * libc/sys/linux/Makefile.in: Regenerated.
28
5456408b
JJ
292005-04-28 Jeff Johnston <jjohnstn@redhat.com>
30
31 * libc/stdio/vfscanf.c (__svfscanf_r): Fix code thinko
32 when checking for multiple flags.
33
1c74754f
HPN
342005-04-18 Hans-Peter Nilsson <hp@axis.com>
35
36 * configure.host <cris-*-* | crisv32-*-*>: Set
37 default_newlib_io_long_long="yes".
38
6e75bff6
JJ
392005-04-08 Jeff Johnston <jjohnstn@redhat.com>
40
41 * libc/include/libgen.h: New file.
42
432005-04-08 Shaun Jackman <sjackman@gmail.com>
44
45 * libc/unix/Makefile.am: Add support for basename and dirname.
46 * libc/unix/Makefile.in: Regenerated.
47 * libc/unix/basename.c: New file.
48 * libc/unix/dirname.c: New file.
49
95c136c4
JJ
502005-04-07 Shaun Jackman <sjackman@gmail.com>
51
52 * libc/sys/linux/inode.c (lchown): New function.
53
9ae26f7e
JJ
542005-04-07 Shaun Jackman <sjackman@gmail.com>
55
56 * libc/unix/Makefile.am (LIB_OBJS): Include all the ELIX objects if no
57 ELIX level is defined.
58 * libc/unix/Makefile.in: Regenerated.
59
85da7039
JJ
602005-04-05 Dave Korn <dave.korn@artimi.com>
61
62 * libc/stdio/vfscanf.c (__svfscanf_r): If an error occurs processing
63 something that looks like a "NaN", put back the characters processed.
64
fefc73a0
CV
652005-04-01 Corinna Vinschen <corinna@vinschen.de>
66
67 * libc/stdlib/strtod.c (_strtod_r): Never change s00.
68
e633fde1
CF
692005-03-23 Christopher Faylor <cgf@timesys.com>
70
71 * configure.host: For cygwin, redefine CC with cygwin include directory
72 first to mimic the behavior of the top-level configury. Move include
73 directory out of newlib_cflags.
74
859c94e8
JJ
752005-03-22 Jeff Johnston <jjohnstn@redhat.com>
76
77 * configure.host: For arc, set -DREENTRANT_SYSCALLS_PROVIDED flag on.
78 * libc/sys/arc/syscalls.c: Change functions to use __errno_r rather
79 than errno.
80
7e3fd32b
CF
812005-03-22 Christopher Faylor <cgf@timesys.com>
82
83 * libc/include/machine/_types.h: Make trivial change to comment to
84 avoid a spurious warning from gcc.
85
d4eb8920
JJ
862005-03-21 Nicholas Wourms <nwourms@netscape.net>
87
88 * libc/stdio/vfprintf.c: Move newlib.h before _WANT_IO_POS_ARGS test,
89 since _WANT_IO_POS_ARGS is now defined in there. Remove duplicate
90 reent.h include.
91
45030958
JJ
922005-03-18 Hans-Peter Nilsson <hp@axis.com>
93 Corinna Vinschen <corinna@vinschen.de>
94
95 * libc/include/ctype.h: Remove invalid +1 offset from
96 ctype macro references to __ctype_ptr.
97 (_ctype_): Move declaration outside #ifndef __cplusplus.
98
5c9b5ac7
CV
992005-03-18 Corinna Vinschen <corinna@vinschen.de>
100
101 * libc/include/machine/setjmp.h (sigsetjmp): Use GCC extension to
102 evaluate first parameter only once.
103 (siglongjmp): Ditto.
104
dd801fda
JJ
1052005-03-17 Jeff Johnston <jjohnstn@redhat.com>
106
107 * configure.in: Add new check to see if compiler supports
108 aliasing of arrays and define _HAVE_ARRAY_ALIASING if true.
109 * configure: Regenerated.
110 * Makefile.in: Ditto.
111 * newlib.hin: Add _HAVE_ARRAY_ALIASING.
112 * libc/ctype/ctype_.c: Check for _HAVE_ARRAY_ALIASING before
113 aliasing the _ctype_ array to _ctype_b.
114 * libc/include/ctype.h: Change macros to use __ctype_ptr. Mark
115 _ctype_ as deprecated.
116
333eabc6
HPN
1172005-03-17 Hans-Peter Nilsson <hp@axis.com>
118
119 * configure.host (newlib_cflags) <cris-*-*, crisv32-*-*>: Add
120 -DCOMPACT_CTYPE.
121
df5a5b35
JJ
1222005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
123
124 * libc/sys/rtems/include/inttypes.h: New file.
125 * libc/sys/rtems/include/stdint.h: Ditto.
126
9d385fb0
JJ
1272005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
128
129 * libc/string/memcmp.c: Fix to avoid pointer signedness warning.
130
2e7d9bf9
JJ
1312005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
132
133 * libc/include/machine/_types.h: New file.
134 * libc/include/sys/types.h: Do not check for __rtems__
135 when including <machine/_types.h>. Remove some redundant
136 declarations now that <machine/_types.h> is included.
137 * libc/sys/rtems/machine/_types.h: Removed. Replaced with
138 shared header file.
139
92a7e06e
JJ
1402005-02-25 Ralf Corsepious <ralf.corsepius@rtems.org>
141
142 * libm/common/fdlibm.h (FLT_UWORD_MAX, FLT_UWORD_HALF_MAX): Add
143 L qualifier for these long constants.
144
1139537a
JJ
1452005-02-25 Eric Blake <ebb9@byu.net>
146
147 * libc/include/time.h (__tzrule_struct): Make offset long, since
148 a 16-bit int overflows on a 12-hour offset.
149 * libc/sys/linux/include/time.h: Ditto.
150 * libc/time/mktime.c (mktime): Use new type of __tzrule.offset.
151 * libc/time/mktm_r.c: Ditto.
152 * libc/time/gettzinfo.c: Ditto.
153 * libc/time/strftime.c (strftime): Fix '%x' to deal with negative
154 years. Fix '%z' to use long, not int.
155
f4fd7b4c
JJ
1562005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
157
158 * libm/common/s_fpclassify.c: Use __uint32_t instead of int to
159 manipulate float values in integer form.
160 * libm/common/sf_round.c: Ditto.
161
f2f8a9a2
JJ
1622005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
163
164 * libc/include/sys/types.h [__rtems__]: Include new
165 header file machine/_types.h.
166 * libc/include/machine/types.h: Ditto.
167 * libc/sys/rtems/machine/_types.h: New file.
168
39fd43d7
CV
1692005-02-23 Corinna Vinschen <corinna@vinschen.de>
170
171 * libc/include/time.h (_timezone): Change to long also for Cygwin.
172 (timezone): Drop cast from definition.
173
6b9a74f9
JJ
1742005-02-23 Jeff Johnston <jjohnstn@redhat.com>
175
176 * libc/include/time.h [!CYGWIN](_timezone): Change to long.
177 (__tzrule_type, __tzinfo_type): New types.
178 (__gettzinfo): New function.
179 * libc/sys/linux/include/time.h: Ditto.
180 * libc/time/Makefile.am: Add gettzinfo.c.
181 * libc/time/Makefile.in: Regenerated.
182 * libc/time/local.h: Moved __tzrule_type to time.h.
183 * libc/time/mktime.c: Call __gettzinfo to reference
184 __tznorth, __tzyear, and __tzrule array.
185 * libc/time/mktm_r.c: Ditto.
186 * libc/time/strftime.c: Ditto.
187 * libc/time/tzset_r.c: Ditto. Also remove definition
188 of __tzrule which is now in gettzinfo.c. Change _timezone
189 references to not cast to time_t.
190 * libc/time/gettzinfo.c: New file.
191
6015cf9f
CV
1922005-02-23 Corinna Vinschen <corinna@vinschen.de>
193
194 * libc/include/sys/unistd.h: Define getpeereid for Cygwin.
195
5e4c05da
CV
1962005-02-22 Corinna Vinschen <corinna@vinschen.de>
197
198 * libc/include/sys/unistd.h: Define fdatasync also for Cygwin.
199
f1d439fc
JJ
2002005-02-16 Eric Blake <ebb9@byu.net>
201
202 * libc/time/time.tex: Improve the documentation.
203 * libc/time/strftime.c: Improve the documentation.
204 (iso_year_adjust): New helper function.
205 (strftime): Simplify '%E' and '%O'. Change '%c' to use
206 recursion. Fix '%C', '%y', and '%Y' to deal with years with more
207 than 4 characters. Combine '%d' and '%e'. Implement '%D', '%F',
208 '%g', '%G', '%n', '%R', '%t', '%T', '%u', '%V', '%X', and '%z'.
209 Avoid core dumps on valid inputs (maxsize == 0, or
210 tim_p->tm_isdst > 1).
211
18d3a03b
CV
2122005-02-08 Corinna Vinschen <corinna@vinschen.de>
213
214 * libc/include/pwd.h (struct passwd): Change pw_uid and pw_gid
215 members to uid_t and gid_t according to SUSv3.
216 * libc/include/sys/time.h (utimes): Change second parameter
217 to const according to SUSv3.
218
1159e0fd
JJ
2192005-02-07 Antony King <antony.king@st.com>
220
221 * libc/stdio/clearerr.c (clearerr): Ensure CHECK_INIT() is
222 called before _flockfile to prevent lock object use before
223 initialisation. _REENT_SMALL_CHECK_INIT() and CHECK_INIT()
224 take a struct _reent * instead of a FILE *.
225 * libc/stdio/fclose.c (_fclose_r): Ditto.
226 * libc/stdio/feof.c (feof): Ditto.
227 * libc/stdio/ferror.c (ferror): Ditto.
228 * libc/stdio/fflush.c (fflush): Ditto.
229 * libc/stdio/fgetc.c (fgetc): Ditto.
230 * libc/stdio/fgets.c (fgets): Ditto.
231 * libc/stdio/fileno.c (fileno): Ditto.
232 * libc/stdio/fputc.c (fputc): Ditto.
233 * libc/stdio/fputs.c (fputs): Ditto.
234 * libc/stdio/fread.c (fread): Ditto.
235 * libc/stdio/freopen.c (_freopen_r): Ditto.
236 * libc/stdio/fseek.c (_fseek_r): Ditto.
237 * libc/stdio/ftell.c (_ftell_r): Ditto.
238 * libc/stdio/fwrite.c (fwrite): Ditto.
239 * libc/stdio/getc.c (getc): Ditto.
240 * libc/stdio/getdelim.c (__getdelim): Ditto.
241 * libc/stdio/putc.c (putc): Ditto.
242 * libc/stdio/setvbuf.c (setvbuf): Ditto.
243 * libc/stdio/ungetc.c (_ungetc_r): Ditto.
244 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
245 * libc/stdio64/freopen64.c (_freopen64_r): Ditto.
246 * libc/stdio64/fseeko64.c (_fseeko64_r): Ditto.
247 * libc/stdio64/ftello64.c (_ftello64_r): Ditto.
248 * libc/stdio/local.h (CHECK_INIT): Argument is now a struct
249 _reent * instead of a FILE * and so replace incorrect use of
250 _REENT with argument.
251 * libc/sys/arm/syscalls.c (CHECK_INIT): Ditto.
252 * libc/stdio/getchar.c (getchar): _REENT_SMALL_CHECK_INIT() and
253 CHECK_INIT() take a struct _reent * instead of a FILE *.
254 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Ditto.
255 * libc/stdio/iscanf.c (iscanf, _iscanf_r): Ditto.
256 * libc/stdio/perror.c (perror): Ditto.
257 * libc/stdio/printf.c (printf, _printf_r): Ditto.
258 * libc/stdio/putchar.c (putchar): Ditto.
259 * libc/stdio/puts.c (puts): Ditto.
260 * libc/stdio/refill.c (__srefill): Ditto.
261 * libc/stdio/scanf.c (scanf, _scanf_r): Ditto.
262 * libc/stdio/vfscanf.c (VFSCANF, _VFSCANF_R): Ditto.
263 * libc/stdio/viprintf.c (viprintf, _viprintf_r): Ditto.
264 * libc/stdio/viscanf.c (viscanf, _viscanf_r): Ditto.
265 * libc/stdio/vprintf.c (vprintf, _vprintf_r): Ditto.
266 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Ditto.
267 * libc/stdio/wbuf.c (__swbuf): Ditto.
268 * libc/stdio/wsetup.c (__swsetup): Ditto.
269 * libc/stdlib/mallocr.c (malloc_stats): Ditto.
270 * libc/stdlib/mstats.c (_mstats_r): Ditto.
271 * libc/include/sys/reent.h (_REENT_SMALL_CHECK_INIT): Ditto.
272 * libc/machine/powerpc/vfscanf.c (vfscanf): Ditto.
273 * libc/stdio/fgetpos.c (_fgetpos_r): Removed unnecessary calls
274 to _flockfile and _funlockfile; rely on locking in _ftell_r.
275 * libc/stdio64/fgetpos64.c (_fgetpos64_r): Ditto (_ftello64_r).
276 * libc/machine/powerpc/vfprintf.c (__sbprintf): Removed unnecessary
277 initialision of _data field in FILE structure.
278 * libc/machine/powerpc/vfprintf.c (VFPRINTF): Added CHECK_INIT() call.
279
3d915670
JJ
2802005-02-07 Jeff Johnston <jjohnstn@redhat.com>
281
282 * libc/stdio/findfp.c (__sinit): Protect with new lock.
283 (__sinit_lock): New lock.
284 (__sinit_lock_acquire, __sinit_lock_release): New functions.
285 * libc/stdio/local.h: Add reference to new __sinit locking
286 functions.
287
b59cab1e
JJ
2882005-02-07 Jeff Johnston <jjohnstn@redhat.com>
289
290 * libc/include/math.h (isfinite, isnormal, isunordered): Change
291 input variable names to avoid mixups with nesting macros.
292
1815fdea
JJ
2932005-01-27 Hans-Peter Nilsson <hp@axis.com>
294
295 * configure.host: Add support for cris-*-* and crisv32-*-*.
296 * libc/include/machine/ieeefp.h: Ditto.
297 * libc/include/machine/setjmp.h: Ditto.
298 * libc/machine/cris/configure.in, libc/machine/cris/Makefile.am,
299 libc/machine/cris/libcdtor.c, libc/machine/cris/setjmp.c,
300 libc/machine/cris/memmove.c, libc/machine/cris/memcpy.c,
301 libc/machine/cris/memset.c, libc/machine/cris/include/pthread.h,
302 libc/machine/cris/sys/signal.h, libc/machine/cris/sys/fcntl.h,
303 libc/machine/cris/sys/errno.h, libc/machine/cris/aclocal.m4,
304 libc/machine/cris/configure, libc/machine/cris/Makefile.in: New
305 files.
306
f7d4d41a
JJ
3072005-01-27 Hans-Peter Nilsson <hp@axis.com>
308
309 * testsuite/newlib.string/memmove1.c: New test.
310
1319dec6
JJ
3112005-01-27 Hans-Peter Nilsson <hp@axis.com>
312
313 * testsuite/include/check.h: Include stdlib.h.
314
b45e65b0
JJ
3152005-01-27 Hans-Peter Nilsson <hp@axis.com>
316
317 * Makefile.am (stmp-targ-include): Support include header files
318 from machine directories.
e9743354 319 (install-data-local): Ditto.
b45e65b0
JJ
320 * Makefile.in: Regenerate.
321
dbfa92dd
JJ
3222005-01-24 Jeff Johnston <jjohnstn@redhat.com>
323
324 * libc/include/string.h: Remove Linux-specific declaration of
325 strsignal and add #include <sys/string.h>.
326 * libc/include/sys/string.h: New file.
327 * libc/include/sys/linux/sys/string.h: New file with strsignal
328 declaration deleted above.
329
6cb0c055
JJ
3302005-01-20 Jeff Johnston <jjohnstn@redhat.com>
331
332 * libc/time/strftime.c (strftime): Change %r and %x to be compliant
333 to POSIX standard for "C" locale. Allow %E and %O modifiers
334 to be ignored as long as they precede valid specifiers according
335 to POSIX.
336
52429807
JJ
3372005-01-19 Shaun Jackman <sjackman@gmail.com>
338
339 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
340 environment variable is set.
341
f693170a
JJ
3422005-01-19 Shaun Jackman <sjackman@gmail.com>
343
344 * tzset_r.c (_tzname): Add a comma.
345
464d01bf
AH
3462005-01-18 Aldy Hernandez <aldyh@redhat.com>
347
348 * libc/machine/powerpc/vfprintf.c: Use _REENT when calling
349 _VFPRINTF_R.
350
f7a74742
JJ
3512005-01-07 Paul Brook <paul@codesourcery.com>
352
353 * configure.in: Add test for .init_array.
354 * configure: Regenerate.
355 * newlib.hin: Add HAVE_INITFINI_ARRAY.
356 * libc/misc/Makefile.am: Add init.c
357 * libc/misc/Makefile.in: Regenerate.
358 * libc/misc/init.c: New file.
359 * libc/sys/arm/crt0.S: Call __libc_{init,fini}_array instead of
360 _init/_fini if they exist.
361
8fa6cb9a
JJ
3622005-01-06 Jeff Johnston <jjohnstn@redhat.com>
363
364 * libc/stdlib/strtod.c (_strtod_r): Add NaN support.
365 * (strtof): Ditto.
366 * libc/stdio/vfscanf.c (__svfscanf_r): Ditto.
367 * Makefile.am (MATHOBJS_IN_LIBC): Add s_nan and sf_nan
368 functions for use by strtod and strtof.
369 * Makefile.in: Regenerated.
370
034a3909
JJ
3712005-01-06 Hans-Peter Nilsson <hp@axis.com>
372
373 * libc/stdio/ftell.c (ftell_r): Add parenthesis for __SWR
374 bit-test in combination with NULL test.
375
9918ea2d
JJ
3762005-01-06 Hans-Peter Nilsson <hp@axis.com>
377
378 * README: Fix typo of LGPL. Change "license" to "copyright".
379
5cc3f592
JJ
3802004-12-17 Jeff Johnston <jjohnstn@redhat.com>
381
382 * NEWS: Update with 1.13.0 info.
383 * README: Ditto.
384 * acinclude.m4: Change version number to 1.13.0.
385 * aclocal.m4: Regenerated.
386 * configure: Ditto.
387 * doc/aclocal.m4: Ditto.
388 * doc/configure: Ditto.
389 * libc/*/aclocal.m4: Ditto.
390 * libc/*/configure: Ditto.
391 * libc/libc.texinfo: Ditto.
392 * libm/*/aclocal.m4: Ditto.
393 * libm/*/configure: Ditto.
394 * libm/libm.texinfo: Ditto.
395 * libc/sys/linux/shared.ld: Add VERS_1.13.
396
d8ae996c
JJ
3972004-12-17 Christian Groessler <chris@groessler.org>
398
399 * libc/machine/z8k/memcmp.S: New file.
400 * libc/machine/z8k/memcpy.S: Ditto.
401 * libc/machine/z8k/memmove.S: Ditto.
402 * libc/machine/z8k/memset.S: Ditto.
403 * libc/machine/z8k/Makefile.am: Add new files.
404 * libc/machine/z8k/Makefile.in: Regenerated.
405 * libc/machine/z8k/setjmp.S: Fix indirect register usage in Z8002
406 part. Implement Z8002 stdcall version.
407
82673116
JJ
4082004-12-13 Jeff Johnston <jjohnstn@redhat.com>
409
410 * libc/stdio/fread.c (fread): For unbuffered I/O, attempt
411 a low-level read if we don't get the full amount of bytes so
412 EOF or error flags will be set.
413
0082d4cf
JJ
4142004-12-09 Alex Mogilnikov <alx@intellectronika.ru>
415
416 * libc/time/tzset_r (_tzset_r): Properly skip over
417 '/' when it is detected.
418
3b54b74f
JJ
4192004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
420
421 * libc/time/tzset_r (_tzset_r): Fix loop.
422
4b30e154
JJ
4232004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
424
425 * libc/time/mktm_r (_mktm_r): Fix overflow calculation for
426 m_day.
427 (__tzcalc_limits): Fix reference to month array to be zero-based.
428
465eab2e
JJ
4292004-12-07 Jeff Johnston <jjohnstn@redhat.com>
430
431 * libc/sys/linux/sys/unistd.h: Add prototypes for ftruncate, truncate,
432 and usleep.
433
a2b1a849
JJ
4342004-12-03 Jeff Johnston <jjohnstn@redhat.com>
435
436 * Makefile.am (libc_la_LDFLAGS): Add -lgcc to handle any
437 libgcc dependencies.
438 (libm_la_LDFLAGS): Ditto.
439 * Makefile.in: Regenerated.
440
c80a1731
JJ
4412004-12-03 Shaun Jackman <sjackman@gmail.com>
442
443 * libc/sys/linux/linuxthreads/Makefile.am (install-data-local): Fix
444 our link to use readlink so as to preserve any relative link created
445 by install-toollibLIBRARIES.
446 * libc/sys/linux/linuxthreads/Makefile.in: Regenerated.
447
70e9da42
JJ
4482004-12-02 Shaun Jackman <sjackman@gmail.com>
449
450 * libc/sys/linux/stdlib/glob.c: Include <sys/types.h> which defines
451 time_t before including sys/stat.h, which uses it.
452 * libc/sys/linux/sys/stat.h: Include <sys/types.h> and
453 <linux/time.h> just prior to definition of __KERNEL__ so as to
454 allow building on Debian Linux where otherwise, mktime would
455 be redefined.
456
a330d85a
JJ
4572004-11-26 Paul Brook <paul@codesourcery.com>
458
459 * libc/sys/arm/crt0.S (_start): Add .cantunwind annotation.
460
c41a1cb7
JJ
4612004-11-24 Jeff Johnston <jjohnstn@redhat.com>
462
463 * libc/include/stdlib.h (putenv, _putenv_r): Change to remove
9aa189be 464 const for value string parameter to match Single Unix and glibc.
c41a1cb7
JJ
465 * libc/stdlib/putenv.c: Ditto.
466 * libc/stdlib/putenv_r.c: Ditto.
467
16ac96ee
JJ
4682004-11-24 Jeff Johnston <jjohnstn@redhat.com>
469
470 * libc/stdio/Makefile.am: Fix missing vfscanf.
471 * libc/stdio/Makefile.in: Regenerated.
472
3bf09147
JJ
4732004-11-23 Jeff Johnston <jjohnstn@redhat.com>
474
475 * libc/include/stdio.h: Add new iprintf and iscanf variants. Also
476 do some reordering.
477 * libc/machine/powerpc/vfscanf.c: Remove __sccl function.
478 * libc/stdio/Makefile.am: Add support for new iprintf and iscanf
479 family functions.
480 * libc/stdio/Makefile.in: Regenerated.
481 * libc/stdio/fiprintf.c: Remove doc to siprintf.c.
482 * libc/stdio/iprintf.c: Ditto.
483 * libc/stdio/local.h (__svfiscanf_r): New prototype.
484 * libc/stdio/siprintf.c: Add docs for various iprintf family functions.
485 * libc/stdio/sniprintf.c: Move docs to siprintf.c.
486 * libc/stdio/stdio.tex: Add new functions.
487 * libc/stdio/vfscanf.c: Split out __sccl function to separate
488 file and add special name defines so this file can be used
489 to build vfiscanf.o.
490 * libc/stdio/asiprintf.c: New file.
491 * libc/stdio/fiscanf.c: Ditto.
492 * libc/stdio/iscanf.c: Ditto.
493 * libc/stdio/sccl.c: Ditto.
494 * libc/stdio/siscanf.c: Ditto.
495 * libc/stdio/vasiprintf.c: Ditto.
496 * libc/stdio/viprintf.c: Ditto.
497 * libc/stdio/viscanf.c: Ditto.
498 * libc/stdio/vsiprintf.c: Ditto.
499 * libc/stdio/vsiscanf.c: Ditto.
500 * libc/stdio/vsniprintf.c: Ditto.
501
0f0fcb04
JJ
5022004-11-19 Shaun Jackman <sjackman@gmail.com>
503
504 * libc/include/stdio.h: Add sniprintf.
505 * libc/stdio/Makefile.am: Add sniprintf.c.
506 * libc/stdio/Makefile.in: Regenerated.
507 * libc/stdio/sniprintf.c: New file.
508 * libc/stdio/stdio.tex: Add sniprintf.
509
1f8f7e2d
CF
5102004-11-17 Christopher Faylor <cgf@timesys.com>
511
512 * libc/stdio/refill.c (__srefill): Try again after EOF on Cygwin. Clear
513 EOF flag if successful.
514
b08d08c7
CF
5152004-10-28 Christopher Faylor <cgf@timesys.com>
516
517 * libc/include/sys/signal.h: Move <signal.h> include to bottom of file
334ba104 518 so that all relevant definitions have been performed for use in the
b08d08c7
CF
519 include.
520
65b1964f
JJ
5212004-10-26 Jason Tishler <jason@tishler.net>
522
523 * libc/stdio/fread.c (fread): Fix return value for unbuffered
524 fread.
525
6382b7e3 5262004-10-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
06b5ef6e
JJ
527
528 * libc/include/machine/setjmp.h: Add AVR support.
529 * libc/sys/rtems/crt0.S [__AVR__]: Add __stack.
530
73131c2d
JJ
5312004-10-08 Jeff Johnston <jjohnstn@redhat.com>
532
533 * libc/include/sys/signal.h: If <signal.h> didn't include
534 this header file, include <signal.h> to account for
535 applications that take advantage that the two header
536 files are the same in glibc.
537
1185687a
JJ
5382004-10-05 Tomer Levi <Tomer.Levi@nsc.com>
539
540 * configure.host: Add support for crx.
541 * libc/include/machine/ieeefp.h: Ditto.
542 * libc/include/machine/setjmp.h: Ditto.
543 * libc/machine/crx/Makefile.am: New file.
544 * libc/machine/crx/configure.in: Ditto.
545 * libc/machine/crx/setjmp.S: Ditto.
546 * libc/machine/crx/getenv.c: Ditto.
547 * libc/machine/crx/aclocal.m4: Generate.
548 * libc/machine/crx/configure: Ditto.
549 * libc/machine/crx/Makefile.in: Ditto.
550 * libc/machine/crx/sys/asm.h: New file.
551 * libc/machine/crx/sys/libh.h: Ditto.
552 * libc/machine/crx/sys/syscall.h: Ditto.
553
423152ed
JJ
5542004-10-05 Jeff Johnston <jjohnstn@redhat.com>
555
556 * Makefile.am (stmp-targ-include): Support sys header files
557 from machine directories.
558 * Makefile.in: Regenerated.
559
3ea9de76
JJ
5602004-10-04 Jeff Johnston <jjohnstn@redhat.com>
561
562 * libc/stdio/vfscanf.c (__svfscanf_r): For int conversions,
563 count skipped zero characters as part of the nread count for %n.
564 * libc/machine/powerpc/vfscanf.c: Ditto.
565
2a6e1223
JJ
5662004-09-24 Jeff Johnston <jjohnstn@redhat.com>
567
568 * libc/stdio/local.h: Include <stdlib.h>.
569
d163f2fc
CV
5702004-09-24 Corinna Vinschen <corinna@vinschen.de>
571
572 * libc/stdio/fread.c (fread): Include <malloc.h>.
573
602de582
JJ
5742004-09-22 Jeff Johnston <jjohnstn@redhat.com>
575
576 * libc/stdio/fread.c (fread): For non-space-optimized case,
577 add special code for unbuffered files to use user buffer and
578 only require one low-level system read.
579
32e73f4d
ILT
5802004-09-21 Ian Lance Taylor <ian@wasabisystems.com>
581
582 * libc/machine/xscale/setjmp.S: New file, copied from
583 libc/machine/arm/setjmp.S.
584 * libc/machine/xscale/Makefile.am (lib_a_SOURCES): Add setjmp.S.
585 * libc/machine/xscale/Makefile.in: Regenerate.
586
ed6859b8
JJ
5872004-09-16 Antony King <antony.king@st.com>
588
589 * libc/include/sys/lock.h: Replaced empty {} with (0) to conform
590 with locking API.
591 * libc/include/sys/stdio.h: (_flockfile)[!_SINGLE_THREAD]: Add
592 check for__SSTR in _flags and if set, skip lock request.
593 (_funlockfile)[!SINGLE_THREAD]: Ditto.
594 * libc/stdio/local.h (CHECK_INIT): Added check that _REENT is
595 not NULL.
596 * libc/stdio/siprintf.c (siprintf, _siprintf_r): Added missing
597 initialisation of _file to -1 in local FILE.
598 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Ditto.
599 * libc/stdio/sscanf.c (sscanf, _sscanf_r): Ditto.
600 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
601 * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
602 * libc/stdio/sscanf.c (sscanf, _sscanf_r): Added __SSTR flag to
603 _flags in local FILE to prevent locking.
604 * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
605
7a0f6966
JJ
6062004-09-16 Antony King <antony.king@st.com>
607
608 * libc/stdio/fwalk.c (_fwalk): Remove check for _GLOBAL_REENT
609 and only walk the reentrancy parameter.
610 (_fwalk_reent): Ditto.
611 * libc/stdlib/exit.c: Remove out of date _REENT_ONLY check.
612
c77672c0
JJ
6132004-09-16 Antony King <antony.king@st.com>
614
615 * libc/stdio64/freopen64.c: Remove casting of fp lock to
616 _LOCK_RECURSIVE_T.
617
5c44c2e5
JJ
6182004-09-16 Antony King <antony.king@st.com>
619
620 * libc/time/tzlock.c: Add default stubs that use generic
621 locking code.
622
14613e5e
JJ
6232004-09-16 Antony King <antony.king@st.com>
624
625 * libc/ctype/ctype.tex: Added missing documentation.
626 * libc/stdio/stdio.tex Ditto.
627 * libc/stdlib/stdlib.tex Ditto.
628 * libc/string/strings.tex Ditto.
629 * libc/time/time.tex: Ditto.
630 * libc/stdio/setbuffer.c: Removed setlinebuf documentation.
631
181cb051
JJ
6322004-09-15 Corinna Vinschen <vinschen@redhat.com>
633
634 * libc/reent/impure.c (reent_data): Define as alias to impure_data
635 when building for Cygwin.
636 * libc/include/sys/reent.h (_GLOBAL_REENT): Revert definition to
637 _global_impure_ptr.
638
51d4a7ea
JJ
6392004-09-15 Jeff Johnston <jjohnstn@redhat.com>
640
641 * configure.host: Reverting 2004-09-14 change as fix has occurred on
642 Cygwin side.
643 * configure.in: Ditto.
644 * libc/configure.in: Ditto.
645 * libc/sys/configure.in: Ditto.
646 * configure: Ditto.
647 * libc/configure: Ditto.
648 * libc/sys/configure: Ditto.
649 * libc/include/sys/reent.h: Ditto.
650 * libc/stdlib/__atexit.c: Ditto.
651 * libc/stdlib/__call_atexit.c: Ditto.
652 * libc/stdlib/cxa_atexit.c: Ditto.
653 * libc/stdlib/cxa_finalize.c: Ditto.
654 * libc/sys/cygwin/Makefile.am: Removed again.
655 * libc/sys/cygwin/Makefile.in: Ditto.
656 * libc/sys/cygwin/aclocal.m4: Ditto.
657 * libc/sys/cygwin/configure: Ditto.
658 * libc/sys/cygwin/configure.in: Ditto.
659 * libc/sys/cygwin/dummy.c: Ditto.
660 * libc/sys/cygwin/sys/reent.h: Ditto.
661
98650d2f
JJ
6622004-09-14 Jeff Johnston <jjohnstn@redhat.com>
663
664 * configure.host: Add Cygwin sys directory.
665 * configure.in: Do not set CRT0 for cygwin.
666 * libc/configure.in: Ditto.
667 * libc/sys/configure.in: Ditto.
668 * configure: Regenerated.
669 * libc/configure: Ditto.
670 * libc/sys/configure: Ditto.
671 * libc/include/sys/reent.h: Add __REENT_HAS_CXA_SUPPORT flag.
672 * libc/stdlib/__atexit.c: Keep cxa support protected by new
673 __REENT_HAS_CXA_SUPPORT flag.
674 * libc/stdlib/__call_atexit.c: Ditto.
675 * libc/stdlib/cxa_atexit.c: Ditto.
676 * libc/stdlib/cxa_finalize.c: Ditto.
677 * libc/sys/cygwin/Makefile.am: New file.
678 * libc/sys/cygwin/Makefile.in: Ditto.
679 * libc/sys/cygwin/aclocal.m4: Ditto.
680 * libc/sys/cygwin/configure: Ditto.
681 * libc/sys/cygwin/configure.in: Ditto.
682 * libc/sys/cygwin/dummy.c: Ditto.
683 * libc/sys/cygwin/sys/reent.h: Ditto. This file is stabilized
684 version of reent.h.
685
d4c8e53b
JJ
6862004-09-13 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
687
688 * libc/iconv/iconv.tex: Updated with new content.
689 * libc/iconv/lib/iconvnls.c: Reference ICONV_DEFAULT_NLSPATH
690 instead of NLS_DEFAULT_NLSPATH.
691 * libc/iconv/lib/iconvnls.h: Fix typo.
692 * libc/include/sys/iconvnls.h: New file.
693
0c8593cf
JJ
6942004-09-09 Paul Brook <paul@codesourcery.com>
695
696 * libc/include/sys/reent.h (struct _on_exit_args): Add _dso_handle
697 and _is_cxa.
698 (struct _atexit): Add _next when _REENT_SMALL.
699 (struct _reent): Add _atexit0 when _REENT_SMALL.
700 (_REENT_INIT_PTR): Adjust.
701 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add __atexit.c and
702 __call_exit.c.
703 (EXTENDED_SOURCES): Add cxa_atexit.c and cxa_finalize.c.
704 * libc/stdlib/Makefile.in: Regenerate.
705 * libc/stdlib/__atexit.c: New file.
706 * libc/stdlib/__call_atexit.c: New file.
707 * libc/stdlib/atexit.h: Remove old definitions. Add new.
708 * libc/stdlib/atexit.c (atexit): Use __register_exitproc.
709 * libc/stdlib/cxa_atexit.c: New file.
710 * libc/stdlib/cxa_finalize.c: New file.
711 * libc/stdlib/exit.c (exit): Use __call_exitprocs.
712 * libc/stdlib/on_exit.c (on_exit): Use __register_exitproc.
713 2004-09-09 Jeff Johnston <jjohnstn@redhat.com>
714 * libc/reent/reent.c [_REENT_SMALL]: Fix reference to
715 _on_exit_args_ptr.
716
c6ed5a85
JJ
7172004-08-23 Jeff Johnston <jjohnstn@redhat.com>
718
719 * libc/include/sys/unistd.h (getpass): Change prototype to use
720 const instead of __const.
721
721a934c
JJ
7222004-08-16 Nathan Sidwell <nathan@codesourcery.com>
723
724 * libc/stdio/vfscanf.c (_NO_LONGLONG): Move out of FLOATING_POINT
725 #if.
726
4e53fc28
JJ
7272004-08-12 Jeff Johnston <jjohnstn@redhat.com>
728
729 * libc/sys/linux/sys/types.h (u64): New typedef to allow building
730 on linux systems with glibc 2.3.3 installed.
731 * libc/sys/linux/dl/dl-runtime.c: Fix prototypes for fixup and
732 profile_fixup so newlib can build on fc3 system.
733
82045f12
AO
7342004-07-30 Alexandre Oliva <aoliva@redhat.com>
735
736 Introduce SH2a support.
737 2004-03-16 Corinna Vinschen <vinschen@redhat.com>
738 * libc/include/machine/ieeefp.h: Define _DOUBLE_IS_32BITS for
739 __SH2A_SINGLE_ONLY__, too.
740 * libc/machine/sh/asm.h: Define DELAYED_BRANCHES for __SH2A__, too.
741 2004-02-24 Corinna Vinschen <vinschen@redhat.com>
742 * libc/sys/sh/crt0.S (start_l): Support sh2a-nofpu. Fix comments.
743 2004-02-10 DJ Delorie <dj@redhat.com>
744 * libc/sys/sh/crt0.S (start_l): Support sh2a.
745
ad6b1d79
JJ
7462004-07-29 Jeff Johnston <jjohnstn@redhat.com>
747
748 * libc/time/strptime.c: Correct full-name of "March" typo.
749
63b9dcc4
JJ
7502004-07-16 Anil Paranjpe <anilp1@kpitcummins.com>
751
752 * configure.host (h8300*-*-*): Default long long printing support.
753
dbfd3394
JJ
7542004-07-16 Jeff Johnston <jjohnstn@redhat.com>
755
756 * libc/stdio/fvwrite.c (_sfvwrite): For asprintf family
757 calls, if realloc fails, free up buffer as it is no longer
758 used.
759
6edb3da9
JJ
7602004-07-07 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
761
762 * libc/iconv/iconv.tex: Updated to represent recent changes.
763 * libc/iconv/lib/iconv.c: Documentation updated.
764
578a3560
NC
7652004-07-07 Nick Clifton <nickc@redhat.com>
766
767 * configure.host (newlib_cflags): Define PREFER_SIZE_OVER_SPEED
768 for xStormy16.
769
2bc257e3
JJ
7702004-07-06 Chris Demetriou <cgd@broadcom.com>
771
772 * configure.host (mips*-*-elf*): Default long long printing
773 support.
774
75e7ffaa
JJ
7752004-07-05 Jeff Johnston <jjohnstn@redhat.com>
776
777 * libc/Makefile.am (libc.dvi): Add target and specify
778 same dependencies as libc.info.
779 * libc/Makefile.in: Regenerated.
780 * libm/Makefile.am (libm.dvi): Add target and specify
781 same dependencies as libm.info.
782 * libm/Makefile.in: Regenerated.
783
76ce12c3
JJ
7842004-06-29 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
785
786 * acinclude.m4: Move --enable-newlib-iconv option back here.
787 * configure.in: Remove --enable-newlib-iconv option. Don't
788 tie iconv support to --enable-newlib-mb.
789 * aclocal.m4: Regenerated.
790 * configure: Ditto.
791 * doc/aclocal.m4, doc/configure: Ditto.
792 * iconvdata/aclocal.m4, iconvdata/configure: Ditto.
793 * libm/*/aclocal.m4: Ditto.
794 * libm/*/configure: Ditto.
795 * libc/*/aclocal.m4: Ditto.
796 * libc/*/configure: Ditto.
797
660dade3
JJ
7982004-06-25 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
799
800 * acinclude.m4: Move iconv options into configure.in.
801 * aclocal.m4: Regenerated.
802 * configure: Ditto.
803 * configure.in: Add iconv options.
804 * newlib.hin: Add new iconv encodings and remove deleted ones.
805 * doc/aclocal.m4: Regenerated.
806 * doc/configure: Ditto.
807 * iconvdata/aclocal.m4: Ditto.
808 * iconvdata/configure: Ditto.
809 * libc/iconv: Design change. New size-optimized ccs format.
810 * libc/iconv/AUTHORS: Removed.
811 * libc/iconv/COPYING: Ditto.
812 * libc/iconv/README.ORIGINAL: Ditto.
813 * libc/iconv/README.TODO: Ditto.
814 * libc/iconv/charset.aliases: Ditto.
815 * libc/iconv/encoding.aliases: New file.
816 * libc/iconv/Makefile.am: Updated.
817 * libc/iconv/Makefile.in: Regenerated.
818 * libc/iconv/iconv.tex: Updated.
819 * libc/iconv/ccs/Makefile.am: Ditto.
820 * libc/iconv/ccs/Makefile.in: Regenerated.
821 * libc/iconv/ccs/big5.c: Updated.
822 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
823 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
824 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
825 * libc/iconv/ccs/cp775.c: Ditto.
826 * libc/iconv/ccs/cp850.c: Ditto.
827 * libc/iconv/ccs/cp852.c: Ditto.
828 * libc/iconv/ccs/cp855.c: Ditto.
829 * libc/iconv/ccs/cp866.c: Ditto.
830 * libc/iconv/ccs/iso_8859_1.c: Ditto.
831 * libc/iconv/ccs/README.CCS.SOURCES: Removed.
832 * libc/iconv/ccs/gb_2312_80.c: Ditto.
833 * libc/iconv/ccs/iconv_mktbl: Ditto.
834 * libc/iconv/ccs/jis_x0201.c: Ditto.
835 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
836 * libc/iconv/ccs/shift_jis.c: Ditto.
837 * libc/iconv/ccs/us_ascii.c: Ditto.
838 * libc/iconv/ccs/ccs.h: New file.
839 * libc/iconv/ccs/ccsbi.c: Ditto.
840 * libc/iconv/ccs/ccsbi.h: Ditto.
841 * libc/iconv/ccs/ccsnames.h: Ditto.
842 * libc/iconv/ccs/iso_8859_10.c: Ditto.
843 * libc/iconv/ccs/iso_8859_11.c: Ditto.
844 * libc/iconv/ccs/iso_8859_13.c: Ditto.
845 * libc/iconv/ccs/iso_8859_14.c: Ditto.
846 * libc/iconv/ccs/iso_8859_3.c: Ditto.
847 * libc/iconv/ccs/iso_8859_6.c: Ditto.
848 * libc/iconv/ccs/iso_8859_7.c: Ditto.
849 * libc/iconv/ccs/iso_8859_8.c: Ditto.
850 * libc/iconv/ccs/iso_8859_9.c: Ditto.
851 * libc/iconv/ccs/iso_ir_111.c: Ditto.
852 * libc/iconv/ccs/jis_x0201_1976.c: Ditto.
853 * libc/iconv/ccs/jis_x0208_1990.c: Ditto.
854 * libc/iconv/ccs/koi8_ru.c: Ditto.
855 * libc/iconv/ccs/koi8_uni.c: Ditto.
856 * libc/iconv/ccs/mktbl.pl: Ditto.
857 * libc/iconv/ccs/win_1250.c: Ditto.
858 * libc/iconv/ccs/win_1251.c: Ditto.
859 * libc/iconv/ccs/win_1252.c: Ditto.
860 * libc/iconv/ccs/win_1253.c: Ditto.
861 * libc/iconv/ccs/win_1254.c: Ditto.
862 * libc/iconv/ccs/win_1255.c: Ditto.
863 * libc/iconv/ccs/win_1256.c: Ditto.
864 * libc/iconv/ccs/win_1257.c: Ditto.
865 * libc/iconv/ccs/win_1258.c: Ditto.
d68d3538
JJ
866 * libc/iconv/ccs/iso_8859_15.c: Updated.
867 * libc/iconv/ccs/iso_8859_2.c: Ditto.
868 * libc/iconv/ccs/iso_8859_4.c: Ditto.
869 * libc/iconv/ccs/iso_8859_5.c: Ditto.
870 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
871 * libc/iconv/ccs/koi8_r.c: Ditto.
872 * libc/iconv/ccs/koi8_u.c: Ditto.
873 * libc/iconv/ccs/ksx1001.c: Ditto.
660dade3
JJ
874 * libc/iconv/ccs/binary/gb_2312_80.cct: Removed.
875 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
876 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
877 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
878 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
879 * libc/iconv/ccs/binary/Makefile.am: Updated.
880 * libc/iconv/ccs/binary/Makefile.in: Regenerated.
881 * libc/iconv/ccs/binary/big5.cct: Updated.
882 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
883 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
884 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
885 * libc/iconv/ccs/binary/cp775.cct: Updated.: Ditto.
886 * libc/iconv/ccs/binary/cp850.cct: Ditto.: Ditto.
887 * libc/iconv/ccs/binary/cp852.cct: Ditto.: Ditto.
888 * libc/iconv/ccs/binary/cp855.cct: Ditto.: Ditto.
889 * libc/iconv/ccs/binary/cp866.cct: Ditto.: Ditto.
890 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
891 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
892 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
893 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
894 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
895 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
896 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
897 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
898 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
899 * libc/iconv/ccs/binary/iso_8859_10.cct: New file.
900 * libc/iconv/ccs/binary/iso_8859_11.cct: Ditto.
901 * libc/iconv/ccs/binary/iso_8859_13.cct: Ditto.
902 * libc/iconv/ccs/binary/iso_8859_14.cct: Ditto.
903 * libc/iconv/ccs/binary/iso_8859_3.cct: Ditto.
904 * libc/iconv/ccs/binary/iso_8859_6.cct: Ditto.
905 * libc/iconv/ccs/binary/iso_8859_7.cct: Ditto.
906 * libc/iconv/ccs/binary/iso_8859_8.cct: Ditto.
907 * libc/iconv/ccs/binary/iso_8859_9.cct: Ditto.
908 * libc/iconv/ccs/binary/iso_ir_111.cct: Ditto.
909 * libc/iconv/ccs/binary/jis_x0201_1976.cct: Ditto.
910 * libc/iconv/ccs/binary/jis_x0208_1990.cct: Ditto.
911 * libc/iconv/ccs/binary/koi8_ru.cct: Ditto.
912 * libc/iconv/ccs/binary/koi8_uni.cct: Ditto.
913 * libc/iconv/ccs/binary/win_1250.cct: Ditto.
914 * libc/iconv/ccs/binary/win_1251.cct: Ditto.
915 * libc/iconv/ccs/binary/win_1252.cct: Ditto.
916 * libc/iconv/ccs/binary/win_1253.cct: Ditto.
917 * libc/iconv/ccs/binary/win_1254.cct: Ditto.
918 * libc/iconv/ccs/binary/win_1255.cct: Ditto.
919 * libc/iconv/ccs/binary/win_1256.cct: Ditto.
920 * libc/iconv/ccs/binary/win_1257.cct: Ditto.
921 * libc/iconv/ccs/binary/win_1258.cct: Ditto.
922 * libc/iconv/ces/Makefile.am: Updated.
923 * libc/iconv/ces/Makefile.in: Regenerated.
924 * libc/iconv/ces/ucs-2-internal.c: Updated.
925 * libc/iconv/ces/ucs-4-internal.c: Ditto.
926 * libc/iconv/ces/utf-16.c: Ditto.
927 * libc/iconv/ces/utf-8.c: Ditto.
928 * libc/iconv/ces/cesbi.c: New file.
929 * libc/iconv/ces/cesbi.h: Ditto.
930 * libc/iconv/ces/cesdeps.h: Ditto.
931 * libc/iconv/ces/euc.c: Ditto.
932 * libc/iconv/ces/mkdeps.pl: Ditto.
933 * libc/iconv/ces/table-pcs.c: Ditto.
934 * libc/iconv/ces/table.c: Ditto.
935 * libc/iconv/ces/ucs-2.c: Ditto.
936 * libc/iconv/ces/ucs-4.c: Ditto.
937 * libc/iconv/ces/us-ascii.c: Ditto.
938 * libc/iconv/ces/euc-jp.c: Removed.
939 * libc/iconv/ces/euc-kr.c: Ditto.
940 * libc/iconv/ces/euc-tw.c: Ditto.
941 * libc/iconv/ces/gb2312.c: Ditto.
942 * libc/iconv/ces/iso-10646-ucs-2.: Ditto.c
943 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
944 * libc/iconv/lib/Makefile.am: Updated.
945 * libc/iconv/lib/Makefile.in: Regenerated.
946 * libc/iconv/lib/endian.h: Updated.
947 * libc/iconv/lib/iconv.c: Ditto.
948 * libc/iconv/lib/local.h: Ditto.
949 * libc/iconv/lib/aliases.c: Removed.
950 * libc/iconv/lib/bialiasesi.c: Ditto.
951 * libc/iconv/lib/biccs.c: Ditto.
952 * libc/iconv/lib/bices.c: Ditto.
953 * libc/iconv/lib/ccs.c: Ditto.
954 * libc/iconv/lib/ces.c: Ditto.
955 * libc/iconv/lib/ces_euc.c: Ditto.
956 * libc/iconv/lib/ces_iso2022.c: Ditto.
957 * libc/iconv/lib/ces_table.c: Ditto.
958 * libc/iconv/lib/converter.c: Ditto.
959 * libc/iconv/lib/deps.h: Ditto.
d68d3538
JJ
960 * libc/iconv/lib/loaddata.c: Ditto.
961 * libc/iconv/lib/aliasesbi.c: New file.
660dade3
JJ
962 * libc/iconv/lib/aliasesi.c: Ditto.
963 * libc/iconv/lib/conv.h: Ditto.
964 * libc/iconv/lib/encnames.h: Ditto.
965 * libc/iconv/lib/encoding.deps: Ditto.
966 * libc/iconv/lib/iconvnls.c: Ditto.
967 * libc/iconv/lib/iconvnls.h: Ditto.
660dade3
JJ
968 * libc/iconv/lib/nullconv.c: Ditto.
969 * libc/iconv/lib/ucsconv.c: Ditto.
970 * libc/iconv/lib/ucsconv.h: Ditto.
971 * libc/include/iconv.h: Update copyright.
972 * libc/*/aclocal.m4: Regenerated.
973 * libc/*/configure: Ditto.
974 * libm/*/aclocal.m4: Ditto.
975 * libm/*/configure: Ditto.
976
9a6831be
AO
9772004-06-22 Alexandre Oliva <aoliva@redhat.com>
978
eb6a452a
AO
979 * libc/include/machine/setjmp.h [__H8300__] (_JBTYPE): Define,
980 instead of typedefing jmp_buf.
981
9a6831be
AO
982 2003-07-02 Richard Sandiford <rsandifo@redhat.com>
983 * libc/machine/h8300/Makefile.am (lib_a_SOURCES): Add h8sx_strcpy.S.
984 * libc/machine/h8300/defines.h (LEN): New macro.
985 * libc/machine/h8300/memcpy.S: Add h8sx version.
986 * libc/machine/h8300/memset.S: Likewise.
987 * libc/machine/h8300/strcmp.S: Likewise.
988 * libc/machine/h8300/setjmp.S: Use h8sx move instructions.
989 * libc/machine/h8300/h8sx_strcpy.S: New file.
990 2003-06-30 Richard Sandiford <rsandifo@redhat.com>
991 * libc/include/machine/ieeefp.h: Extend __H8300S__ handling to
992 __H8300SX__.
993 * libc/include/machine/setjmp.h: Likewise.
994 * libc/include/sys/config.h: Likewise.
995 * libc/machine/h8300/defines.h: Likewise.
996 * libc/machine/h8300/setjmp.S: Likewise.
997 * libc/machine/h8300/strcmp.S: Likewise.
998 * libc/sys/h8300hms/close.S: Likewise.
999 * libc/sys/h8300hms/fstat.S: Likewise.
1000 * libc/sys/h8300hms/lseek.S: Likewise.
1001 * libc/sys/h8300hms/read.S: Likewise.
1002 * libc/sys/h8300hms/write.S: Likewise.
1003 * libc/sys/h8300hms/crt0.S: Likewise.
1004 * libc/machine/h8300/setarch.h: Use .h8300sx or .h8300sxn if
1005 __H8300SX__ is defined.
1006 * libc/sys/h8300hms/setarch.h: Likewise.
1007
80dba41e
JJ
10082004-06-17 Jeff Johnston <jjohnstn@redhat.com>
1009
1010 * libc/include/sys/reent.h (_GLOBAL_REENT): Back
1011 out change which set _GLOBAL_REENT to _global_impure_ptr until
1012 we understand why Cygwin breaks because of it.
1013
be910599
JJ
10142004-06-14 Jeff Johnston <jjohnstn@redhat.com>
1015
1016 * libc/sys/linux/machine/i386/syscall.h: For now, set up
1017 __syscall_return macro for systems with vsyscall.
1018
d0bd3e6f
JJ
10192004-06-11 Antony King <antony.king@st.com>
1020
1021 * libc/include/sys/_types.h: Include <sys/lock.h> and change
1022 _flock_t to be of type _LOCK_RECURSIVE_T.
1023 * libc/include/sys/reent.h: (_REENT_INIT): Reformat.
1024 (_REENT_INIT_PTR): Ditto. Use memset where appropriate.
1025 (_global_impure_ptr): New declaration.
1026 (_GLOBAL_REENT): Change to be _global_impure_ptr.
1027 * libc/include/sys/stdio.h: Include <sys/lock.h> and
1028 <sys/reent.h>.
1029 (_flockfile)[!_SINGLE_THREAD]: Add code for lock call.
1030 (_funlockfile)[!SINGLE_THREAD]: Ditto.
1031 * libc/reent/impure.c: Set _global_impure_ptr to _impure_ptr.
1032 * libc/stdio/fclose.c: Remove casting of fp lock to
1033 _LOCK_RECURSIVE_T.
1034 * libc/stdio/findfp.c: Ditto.
1035 * libc/stdio/fopen.c: Ditto.
1036 * libc/stdio/freopen.c: Ditto.
1037 * libc/stdio/vfprintf.c: Ditto.
1038 * libc/stdio64/fopen64.c: Ditto.
1039 * libc/stdlib/envlock.c: Add default stubs that use generic
1040 locking code.
1041 * libc/stdlib/mlock.c: Ditto.
1042
1043 Jeff Johnston <jjohnstn@redhat.com>
1044 * libc/sys/linux/sys/_types.h (__flock_mutex_t): New subtype.
1045 (_flock_t): Change to be a struct containing a single member
1046 named mutex which is of type __flock_mutex_t.
1047
db7033a9
JJ
10482004-06-09 Jeff Johnston <jjohnstn@redhat.com>
1049
1050 * libc/sys/linux/Makefile.am: Change siglist.inc to be generated
1051 from /usr/include/asm/signal.h instead of kernel sources. Also
1052 default max to 32 if not found in header file.
1053 * libc/sys/linux/Makefile.in: Regenerated.
1054 * libc/sys/linux/machine/i386/socketcall.h: Fix for Fedora Core 2
1055 systems where __syscall_return is not defined.
1056 * libc/sys/linux/machine/i386/syscall.h: Change for Fedora Core 2
1057 systems to use syscall() function instead of assembler interrupt.
1058
a170abec
JJ
10592004-06-09 Toralf Lund <toralf@procaptura.com>
1060
1061 * libc/sys/arm/setjmp.S, libc/sys/arm/access.c: Move
1062 files from libc/sys/arm to libc/machine/arm.
1063 * libc/machine/arm/Makefile.am, libc/machine/arm/Makefile.in: Add
1064 library build support for files moved from libc/sys/arm.
1065 * libc/sys/arm/Makefile.am, libc/sys/arm/Makefile.in: Remove
1066 references to access and setjmp.
1067 * configure.host: Add checks for newlib_may_supply_syscalls to
1068 determine whether or not to use sys/arm directory and use
1069 special compiler flags: ARM_RDI_MONITOR and ARM_RDP_MONITOR.
1070
8b57e664
JJ
10712004-06-02 Jeff Johnston <jjohnstn@redhat.com>
1072
1073 * libc/stdio/vfscanf.c (__svfscanf_r): For CT_INT conversions,
1074 reset digit flags appropriately after we have discovered "0x".
1075 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
1076
3f611058
JJ
10772004-05-27 Jeff Johnston <jjohnstn@redhat.com>
1078
1079 * libc/stdio/vfprintf.c (_VFPRINTF): Move file locking
1080 from here ...
1081 (_VFPRINTF_R): ... to here so all I/O printf routines
1082 are covered.
1083
bb42a35c
JJ
10842004-05-26 Jeff Johnston <jjohnstn@redhat.com>
1085
1086 * libc/search/hash_buf.c: Protect MAX and MIN macros from
1087 redefinition.
1088 * libc/search/hash.c: Ditto.
1089
227e6ef6
JJ
10902004-05-25 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1091
1092 * newlib.hin: (_WANT_IO_POS_ARGS): New define.
1093 (_WANT_IO_LONG_LONG): Ditto.
1094 (_WANT_IO_LONG_DOUBLE): Ditto.
1095 * configure.in: Add new configuration options
1096 --enable-newlib-io-long-long and --enable-newlib-io-long-double
1097 which tie to new defines in newlib.hin.
1098 * configure: Regenerated.
1099 * configure.host: Add checks for new configuration options. Also
1100 fix up check for --enable-newlib-io-pos-args so configuration
1101 option will override any default for a given platform.
1102 Remove defining compiler flags for the _WANT_IO* options.
1103 * libc/stdio/vfprintf.c: Change to use new newlib.hin defines
1104 instead of looking for old compiler flags.
1105 * libc/stdio/vfscanf.c: Ditto.
1106 * libc/stdio/vfieeefp.h: Ditto.
1107 * libc/machine/powerpc/vfprintf.c: Ditto.
1108 * libc/machine/powerpc/vfscanf.c: Ditto.
1109
9178da95
JJ
11102004-05-25 Jeff Johnston <jjohnstn@redhat.com>
1111
1112 * testsuite/include/check.h: Add include of <stdio.h>.
1113
cf3aae91
CV
11142004-05-17 Corinna Vinschen <corinna@vinschen.de>
1115
1116 * libc/include/grp.h: Declare getgrnam_r and getgrgid_r also on Cygwin.
1117
5b4c8ae2
JJ
11182004-05-11 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1119
1120 * libc/stdio/vfprintf.c (VFPRINTF_R): Use _free_r instead
1121 of free.
1122
11232004-05-07 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1124
1125 * libc/stdio/iprintf.c (_iprintf_r): Fix old-style argument
1126 list for reentrant pointer. Call _vfiprintf_r.
1127 * libc/stdio/siprintf.c (_siprintf_r): New function.
1128 * libc/stdio/vfprintf.c (__sbprintf): Add reetrant struct
1129 pointer argument. Change all callers. Call _VFPRINTF_R.
1130 * libc/include/stdio.h (_siprintf_r, _vfiprintf_r): New
1131 prototypes.
1132
631fbe65
JJ
11332004-05-07 Jeff Johnston <jjohnstn@redhat.com>
1134
1135 * libc/include/sys/param.h: Remove endian info and include
1136 <machine/endian.h> instead.
1137 * libc/include/machine/endian.h: New file.
1138 * libc/include/machine/param.h: Ditto.
1139 * libc/machine/arm/machine/endian.h: Ditto.
1140 * libc/machine/arm/machine/param.h: Ditto.
1141 * libc/sys/arm/sys/param.h: Removed.
1142 * libc/sys/sysvi386/sys/param.h: Ditto.
1143 * libc/sys/rtems/sys/param.h: Modified to include <machine/endian.h>.
1144
1af84bb7
JJ
11452004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1146
1147 * libc/stdio/vfprintf.c (_VFPRINTF_R): Set error flag when
1148 multibyte functions return failure for %C, %S, %lc, and %ls
1149 format specifiers.
1150
1c63798e
JJ
11512004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1152
1153 * testsuite/include/check.h (CHECK): Add flush of stdout.
1154
20b0251a
JJ
11552004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1156
1157 * libc/include/stdio.h (_ungetc_r): New prototype.
1158 * libc/stdio/ungetc.c (_ungetc_r): New reentrant function.
1159 (__submore): Add reentrant struct pointer argument.
1160 (ungetc): Change to call _ungetc_r.
1161
6194cf4a
JJ
11622004-04-28 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1163
1164 * libc/stdio/local.h (_fwalk_reent): Specify prototype of
1165 function pointer argument.
1166 * libc/stdio/fwalk.c (_fwalk, _fwalk_reent): Change prototypes
1167 to specify function pointer arguments.
1168 (__fwalk, __fwalk_reent): Ditto.
1169
b4ddf489
AH
11702004-04-26 Aldy Hernandez <aldyh@redhat.com>
1171
1172 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Fix typo in
1173 CT_INT case.
1174
f777e3a5
JJ
11752004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1176
1177 * configure.in: Define _MB_CAPABLE if mb supported.
1178 * configure: Regenerated.
1179 * configure.host: Remove manual setting of MB_CAPABLE compiler
1180 flag.
1181 * newlib.hin: Add _MB_CAPABLE flag.
1182 * libc/ctype/iswalpha.c, libc/ctype/iswblank.c: Include <newlib.h>
1183 and check for _MB_CAPABLE flag instead of MB_CAPABLE.
1184 * libc/ctype/iswcntrl.c, libc/ctype/iswprint.c: Ditto.
1185 * libc/ctype/iswpunct.c, libc/ctype/iswspace.c: Ditto.
1186 * libc/ctype/jp2uc.c: Ditto.
1187 * libc/ctype/towlower.c, libc/ctype/towupper.c: Ditto.
1188 * libc/locale/locale.c: Ditto
1189 * libc/machine/powerpc/vfscanf.c: Ditto
1190 * libc/stdio/vfprintf.c, libc/stdio/vfscanf.c: Ditto
1191 * libc/stdlib/mblen.c: Ditto
1192 * libc/stdlib/mblen_r.c, libc/stdlib/mbrlen.c: Ditto
1193 * libc/stdlib/mbrtowc.c, libc/stdlib/mbsrtowcs.c: Ditto
1194 * libc/stdlib/mbstowcs.c, libc/stdlib/mbtowc.c: Ditto
1195 * libc/stdlib/mbtowc_r.c, libc/stdlib/wcrtomb.c: Ditto
1196 * libc/stdlib/wcsrtombs.c, libc/stdlib/wcstombs.c: Ditto
1197 * libc/stdlib/wctomb.c, libc/sys/linux/intl/dcigettext.c: Ditto
1198 * libc/sys/linux/intl/explodename.c: Ditto
1199 * libc/sys/linux/intl/finddomain.c: Ditto
1200 * libc/sys/linux/intl/l10nflist.c: Ditto
1201 * libc/sys/linux/intl/loadmsgcat.c: Ditto
1202 * libc/sys/linux/intl/localealias.c: Ditto
1203
27c7566c
JJ
12042004-04-23 Jeff Johnston <jjohnstn@redhat.com>
1205
1206 * libc/machine/powerpc/vfscanf.c (NNZDIGITS): New define.
1207 (__svfscanf_r): In integer conversions, leave out leading zeroes
1208 which are not part of a base prefix.
1209 Keep track of width truncation to fit into buf, not counting left-out
1210 zeroes against width till the truncation has been compensated for.
1211 This is based on Joern's patch of 04/21 for libc/stdio/vfscanf.c.
1212
c00f9719
JJ
12132004-04-23 Jeff Johnston <jjohnstn@redhat.com>
1214
1215 * libc/include/stdio.h: (_ftell_r, _fseek_r): New prototypes.
1216
05b31577
JJ
12172004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1218
1219 * libc/stdio/asprintf.c libc/stdio/clearerr.c,
1220 libc/stdio/fclose.c libc/stdio/fcloseall.c libc/stdio/fdopen.c,
1221 libc/stdio/feof.c libc/stdio/ferror.c libc/stdio/fflush.c,
1222 libc/stdio/fgetc.c libc/stdio/fgetpos.c libc/stdio/fgets.c,
1223 libc/stdio/fileno.c libc/stdio/findfp.c libc/stdio/fiprintf.c,
1224 libc/stdio/flags.c libc/stdio/fopen.c libc/stdio/fprintf.c,
1225 libc/stdio/fputc.c libc/stdio/fputs.c libc/stdio/fread.c,
1226 libc/stdio/freopen.c libc/stdio/fscanf.c libc/stdio/fseek.c,
1227 libc/stdio/fseeko.c libc/stdio/fsetpos.c libc/stdio/ftell.c,
1228 libc/stdio/ftello.c libc/stdio/fvwrite.c libc/stdio/fwalk.c,
1229 libc/stdio/fwrite.c libc/stdio/getc.c libc/stdio/getc_u.c,
1230 libc/stdio/getchar.c libc/stdio/getchar_u.c,
1231 libc/stdio/getdelim.c libc/stdio/getline.c libc/stdio/gets.c,
1232 libc/stdio/getw.c libc/stdio/iprintf.c libc/stdio/local.h,
1233 libc/stdio/makebuf.c libc/stdio/mktemp.c libc/stdio/perror.c,
1234 libc/stdio/printf.c libc/stdio/putc.c libc/stdio/putc_u.c,
1235 libc/stdio/putchar.c libc/stdio/putchar_u.c libc/stdio/puts.c,
1236 libc/stdio/putw.c libc/stdio/refill.c libc/stdio/remove.c,
1237 libc/stdio/rename.c libc/stdio/rewind.c libc/stdio/rget.c,
1238 libc/stdio/scanf.c libc/stdio/setbuf.c libc/stdio/setbuffer.c,
1239 libc/stdio/setlinebuf.c libc/stdio/setvbuf.c,
1240 libc/stdio/siprintf.c libc/stdio/snprintf.c,
1241 libc/stdio/sprintf.c libc/stdio/sscanf.c libc/stdio/stdio.c,
1242 libc/stdio/tmpfile.c libc/stdio/tmpnam.c libc/stdio/ungetc.c,
1243 libc/stdio/vasprintf.c libc/stdio/vfieeefp.h,
1244 libc/stdio/vfprintf.c libc/stdio/vfscanf.c,
1245 libc/stdio/vprintf.c libc/stdio/vscanf.c,
1246 libc/stdio/vsnprintf.c libc/stdio/vsprintf.c,
1247 libc/stdio/vsscanf.c libc/stdio/wbuf.c,
1248 libc/stdio/wsetup.c: Perform minor formatting changes. Move
1249 copyright notices to top of file, ensure that <_ansi.h> is
1250 included, be consistent with open parentheses, use _DEFUN macro,
1251 include "local.h" where needed, and remove various compiler
1252 warnings.
1253
04e8fca1
JJ
12542004-04-21 J"orn Rennecke <joern.rennecke@superh.com>
1255
1256 * libc/stdio/vfscanf.c (NNZDIGITS): New define.
1257 (__svfscanf_r): In integer conversions, leave out leading zeroes
1258 which are not part of a base prefix.
1259 Keep track of width truncation to fit into buf, not counting left-out
1260 zeroes against width till the truncation has been compensated for.
1261
9090ec74
CV
12622004-04-20 Corinna Vinschen <corinna@vinschen.de>
1263
1264 * libc/include/sys/unistd.h (ttyname_r): Add missing comma.
1265
1c17deea
CV
12662004-04-20 Corinna Vinschen <corinna@vinschen.de>
1267
1268 * libc/include/sys/unistd.h (ttyname_r): Add declaration for Cygwin.
1269
54c7940f
CV
12702004-04-10 Corinna Vinschen <corinna@vinschen.de>
1271
1272 * libc/include/sys/unistd.h (sync): Define void on Cygwin according
1273 to SUSv3.
1274
47dcaf56
JJ
12752004-04-08 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1276
1277 * libc/stdio/fclose.c (_fclose_r): New function.
1278 * libc/stdio/freopen.c (_freopen_r): Call _fclose_r.
1279 * libc/stdio/fcloseall.c (_fcloseall_r): Call _fwalk_reent.
1280 * libc/stdio64/freopen64.c (_freopen64_r): Use _fclose_r.
1281 * libc/include/stdio.h (_fclose_r): New prototype.
1282 * libc/stdio/fopen.c: Fix typo in comment.
1283
12842004-04-08 Jeff Johnston <jjohnstn@redhat.com>
1285
1286 * libc/stdio/fwalk.c (_fwalk_reent): New version of _fwalk
1287 to handle _r reentrant functions.
1288
4121d8cf
JJ
12892004-04-08 Eric Christopher <echristo@redhat.com>
1290
1291 * libc/include/machine/setjmp.h: Fix endif locations.
1292
59c9f5f5
JJ
12932004-04-01 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1294
1295 * libc/time/strptime.c: Add standard includes to avoid
1296 warning messages at compilation time.
1297
38f4f023
JJ
12982004-04-01 Jeff Johnston <jjohnstn@redhat.com>
1299
1300 * libc/stdio/vfscanf.c (__svfscanf_r): Add locking/unlocking
1301 of file.
1302
13032004-03-30 Jeff Johnston <jjohnstn@redhat.com>
ed4c5ece
JJ
1304
1305 * libc/machine/h8300/Makefile.am: Reformat slightly.
1306 * libc/machine/h8300/Makefile.in: Regenerate.
1307
38f4f023 13082004-03-30 Thomas Pfaff <tpfaff@gmx.net>
cacc0d44
JJ
1309
1310 * libc/stdio/findfp.c (__fp_lock_all): Add call to
1311 __sfp_lock_acquire.
1312 (__fp_unlock_all): Add call to __sfp_lock_release.
1313
10dcf7e7
JJ
13142004-03-25 Thomas Pfaff <tpfaff@gmx.net>
1315
1316 * libc/stdio/fclose.c (fclose): Protect file pointer list when
1317 releasing a file.
1318 * libc/stdio/fcloseall.c (_fcloseall_r): Close all files via
1319 fwalk.
1320 * libc/stdio/fdopen.c (_fdopen_r): Add calls to
1321 _flockfile/_funlockfile.
1322 * libc/stdio/findfp.c: Move __sfp_lock. Change __sfp_lock type
1323 to recursive.
1324 Change __lock_acquire/__lock_release calls for __sfp_lock to
1325 __sfp_lock_acquire/__sfp_lock_release throughout.
1326 (std): Make sure that file lock is only initialized once.
1327 (__sfp): Move _file initialization. Initialize file lock.
1328 (__sfp_lock_acquire): New function.
1329 (__sfp_lock_release): Ditto.
1330 (__fp_lock_all): Remove __sfp_lock_acquire call.
1331 (__fp_unlock_all): Remove __sfp_lock_release call.
1332 * libc/stdio/fopen.c (_fopen_r): Protect file pointer list.
1333 Add calls to _flockfile/_funlockfile. Remove
1334 __lock_init_recursive call.
1335 * libc/stdio/freopen.c (_freopen_r): Protect file pointer list.
1336 * libc/stdio/fwalk.c (__fwalk): New static function.
1337 (_fwalk): Protect file pointer list. Use __fwalk to walk through
1338 file pointers.
1339 * libc/stdio/local.h: Add defines for
1340 __sfp_lock_acquire/__sfp_lock_release when
1341 single threaded. Add function prototypes otherwise.
1342 * libc/stdio64/fdopen64.c (_fdopen64_r): Add calls to
1343 _flockfile/_funlockfile.
1344 * libc/stdio/fopen64.c (_fopen64_r): Protect file pointer list.
1345 Add calls to _flockfile/_funlockfile. Remove
1346 __lock_init_recursive call.
1347 * libc/stdio/freopen64.c (_freopen64_r): Protect file pointer
1348 list.
1349
ec475b09
JJ
13502004-03-25 Jeff Johnston <jjohnstn@redhat.com>
1351
1352 * libc/sys/linux/sys/lock.h: Turn on __USE_GNU flag if not already
1353 defined. Change __LOCK_RECURSIVE_INIT to be __LOCK_INIT_RECURSIVE.
1354 * libc/sys/linux/dl/dl-support.c: Change __LOCK_RECURSIVE_INIT
1355 to be __LOCK_INIT_RECURSIVE.
1356
2c4ef10a
JJ
13572004-03-11 Kazu Hirata <kazu@cs.umass.edu>
1358
1359 * libc/sys/h8300hms/Makefile.am (lib_a_SOURCES): Replace
1360 _exit.c with _exit.S.
1361 * libc/sys/h8300hms/Makefile.in: Regenerate.
1362 * libc/sys/h8300hms/_exit.c: Remove.
1363 * libc/sys/h8300hms/_exit.S: New.
1364
41c3da6a
JJ
13652004-03-09 Thomas Pfaff <tpfaff@gmx.net>
1366
1367 * libc/stdio/findfp.c (__sfp): Rename lock to __sfp_lock.
1368 Change __sfp_lock to static global.
1369 (__fp_lock): New static function.
1370 (__fp_unlock): Ditto.
1371 (__fp_lock_all): New function.
1372 (__fp_unlock_all): Ditto.
1373
0ccf5430
CF
13742004-02-10 Christopher Faylor <cgf@redhat.com>
1375
1376 * libm/mathfp/er_gamma.c (gamma): Add new non-reentrant function.
1377 * libm/mathfp/er_lgamma.c (lgamma): Ditto.
1378 * libm/mathfp/erf_gamma.c (gammaf): Ditto.
1379 * libm/mathfp/erf_lgamma.c (lgammaf): Ditto.
1380
3536f0fb
CF
13812004-02-09 Christopher Faylor <cgf@redhat.com>
1382
1383 * libc/include/time.h (TIMER_RELTIME): New define.
1384
6a6e493a
JJ
13852004-02-09 Jeff Johnston <jjohnstn@redhat.com>
1386
1387 * libc/stdlib/Makefile.am: Add mallstatsr to LIBADD_OBJS.
1388 * libc/stdlib/Makefile.in: Regenerated.
1389
733309f5
CF
13902004-02-08 Christopher Faylor <cgf@redhat.com>
1391
1392 * libc/include/sys/features.h: Add _POSIX_TIMERS define for __CYGWIN__.
1393 * libc/include/sys/reent.h (__getreent): Protect against possibly being
1394 defined.
1395 * libc/include/sys/unistd.h (fdatasync): Don't define for __CYGWIN__.
1396
b4a84c66
JJ
13972004-02-05 Paul Brook <paul@codesourcery.com>
1398
1399 * libc/include/machine/ieeefp.h[__arm__][__VFP_FP__]: Set
1400 IEEE_{BIG,LITTLE} based on __ARMEL__ flag.
1401
4669438f
JJ
14022004-02-02 Jeff Johnston <jjohnstn@redhat.com>
1403
1404 * NEWS: Update with 1.12.0 info.
1405 * README: Ditto.
1406 * acinclude.m4: Change version number to 1.12.0.
1407 * aclocal.m4: Regenerated.
1408 * configure: Ditto.
1409 * doc/aclocal.m4: Ditto.
1410 * doc/configure: Ditto.
1411 * libc/*/aclocal.m4: Ditto.
1412 * libc/*/configure: Ditto.
1413 * libc/libc.texinfo: Ditto.
1414 * libm/*/aclocal.m4: Ditto.
1415 * libm/*/configure: Ditto.
1416 * libm/libm.texinfo: Ditto.
1417 * libc/sys/linux/shared.ld: Add VERS_1.12.
1418
94d61fcb
JJ
14192004-02-02 Joel Sherrill <joel@oarcorp.com>
1420
1421 * configure.host: Add support for tic4x.
1422 * libc/include/machine/ieeefp.h: Ditto.
1423 * libc/include/machine/setjmp.h: Ditto.
1424 * libc/machine/tic4x/Makefile.am: New file.
1425 * libc/machine/tic4x/configure.in: Ditto.
1426 * libc/machine/tic4x/setjmp.S: Ditto.
1427 * libc/machine/tic4x/aclocal.m4: Generated.
1428 * libc/machine/tic4x/configure: Ditto.
1429 * libc/machine/tic4x/Makefile.in: Ditto.
1430
c730e0e7
JJ
14312004-01-30 Jeff Johnston <jjohnstn@redhat.com>
1432
1433 * libc/stdio/fwalk.c (_fwalk.c): Don't traverse the
1434 file chain on the passed in reentrancy struct if it
1435 is _GLOBAL_REENT.
1436
2892ec68
JJ
14372004-01-30 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1438 Jeff Johnston <jjohnstn@redhat.com>
1439
1440 * libc/iconv/iconv.tex: Updated with more information.
1441
ff41498a
JJ
14422004-01-30 Thomas Pfaff <tpfaff@gmx.net>
1443 Jeff Johnston <jjohnstn@redhat.com>
1444
1445 * libc/stdio/fwalk.c (_fwalk): Traverse the given reentrancy
1446 struct for std streams and traverse the global reeentrancy
1447 struct for all other streams.
1448
d5b6c234
JJ
14492004-01-27 Jeff Johnston <jjohnstn@redhat.com>
1450
1451 * libc/stdlib/atexit.c: Protect global atexit list with a
1452 lock when newlib is multithreaded.
1453
01e0a777
JJ
14542004-01-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1455
1456 * configure.in: Add support to generate iconv converter flags
1457 for newlib.h
1458 * newlib.hin: Add iconv converter flags.
1459 * configure: Regenerated.
1460 * libc/Makefile.in: Ditto.
1461 * libc/configure.in: Moved iconv converter parsing logic to
1462 top level newlib configure.in.
1463 * libc/configure: Regenerated.
1464 * libc/iconv/Makefile.in: Ditto.
1465 * libc/iconv/README.TODO
1466 * libc/iconv/charset.aliases: Remove wrong BE aliases for
1467 UCS2/UCS4/UTF8.
1468 * libc/iconv/ccs/Makefile.am: Remove C flag setting now that
1469 newlib.h can be used.
1470 * libc/iconv/ces/Makefile.am: Ditto.
1471 * libc/iconv/lib/Makefile.am: Ditto.
1472 * libc/iconv/ccs/Makefile.in: Regenerated.
1473 * libc/iconv/ces/Makefile.in: Ditto.
1474 * libc/iconv/lib/Makefile.in: Ditto.
1475 * libc/iconv/ccs/README.CCS.SOURCES: Updated.
1476 * libc/iconv/ccs/iconv_mktbl: Don't write junk strings to binaries.
1477 * libc/iconv/ccs/big5.c: Switch to use new underscored flags
1478 defined in newlib.h.
1479 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
1480 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
1481 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
1482 * libc/iconv/ccs/cp775.c: Ditto.
1483 * libc/iconv/ccs/cp850.c: Ditto.
1484 * libc/iconv/ccs/cp852.c: Ditto.
1485 * libc/iconv/ccs/cp855.c: Ditto.
1486 * libc/iconv/ccs/cp866.c: Ditto.
1487 * libc/iconv/ccs/gb_2312_80.c: Ditto.
1488 * libc/iconv/ccs/iso_8859_1.c: Ditto.
1489 * libc/iconv/ccs/iso_8859_15.c: Ditto.
1490 * libc/iconv/ccs/iso_8859_2.c: Ditto.
1491 * libc/iconv/ccs/iso_8859_4.c: Ditto.
1492 * libc/iconv/ccs/iso_8859_5.c: Ditto.
1493 * libc/iconv/ccs/jis_x0201.c: Ditto.
1494 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
1495 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
1496 * libc/iconv/ccs/koi8_r.c: Ditto.
1497 * libc/iconv/ccs/koi8_u.c: Ditto.
1498 * libc/iconv/ccs/ksx1001.c: Ditto.
1499 * libc/iconv/ccs/shift_jis.c: Ditto.
1500 * libc/iconv/ccs/us_ascii.c: Ditto.
1501 * libc/iconv/ccs/binary/big5.cct: Newly generated.
1502 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
1503 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
1504 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
1505 * libc/iconv/ccs/binary/cp775.cct: Ditto.
1506 * libc/iconv/ccs/binary/cp850.cct: Ditto.
1507 * libc/iconv/ccs/binary/cp852.cct: Ditto.
1508 * libc/iconv/ccs/binary/cp855.cct: Ditto.
1509 * libc/iconv/ccs/binary/cp866.cct: Ditto.
1510 * libc/iconv/ccs/binary/gb_2312_80.cct: Ditto.
1511 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
1512 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
1513 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
1514 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
1515 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
1516 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
1517 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
1518 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
1519 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
1520 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
1521 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
1522 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
1523 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
1524 * libc/iconv/lib/bialiasesi.c: Sync with charset.aliases.
1525 * libc/iconv/ces/euc-jp.c: Use newlib.h macros.
1526 * libc/iconv/ces/euc-kr.c: Ditto.
1527 * libc/iconv/ces/euc-tw.c: Ditto.
1528 * libc/iconv/ces/gb2312.c: Ditto.
1529 * libc/iconv/ces/iso-10646-ucs-2.c: Ditto.
1530 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
1531 * libc/iconv/ces/ucs-2-internal.c: Ditto.
1532 * libc/iconv/ces/ucs-4-internal.c: Ditto.
1533 * libc/iconv/ces/utf-16.c: Ditto.
1534 * libc/iconv/ces/utf-8.c: Ditto.
1535 * libc/iconv/lib/aliases.c: Ditto.
1536 * libc/iconv/lib/biccs.c: Ditto.
1537 * libc/iconv/lib/bices.c: Ditto.
1538 * libc/iconv/lib/ccs.c: Ditto.
1539 * libc/iconv/lib/ces.c: Ditto.
1540 * libc/iconv/lib/ces_euc.c: Ditto.
1541 * libc/iconv/lib/ces_iso2022.c: Ditto.
1542 * libc/iconv/lib/ces_table.c: Ditto.
1543 * libc/iconv/lib/converter.c: Ditto.
1544 * libc/iconv/lib/deps.h: Ditto.
1545 * libc/iconv/lib/endian.h: Ditto.
1546 * libc/iconv/lib/iconv.c: Ditto.
1547 * libc/iconv/lib/loaddata.c: Ditto.
1548 * libc/iconv/lib/local.h: Include newlib.h.
1549 * libc/argz/Makefile.in: Regenerated.
1550 * libc/ctype/Makefile.in: Ditto.
1551 * libc/errno/Makefile.in: Ditto.
1552 * libc/iconv/ccs/binary/Makefile.in: Ditto.
1553 * libc/locale/Makefile.in: Ditto.
1554 * libc/misc/Makefile.in: Ditto.
1555 * libc/posix/Makefile.in: Ditto.
1556 * libc/reent/Makefile.in: Ditto.
1557 * libc/search/Makefile.in: Ditto.
1558 * libc/signal/Makefile.in: Ditto.
1559 * libc/stdio/Makefile.in: Ditto.
1560 * libc/stdio64/Makefile.in: Ditto.
1561 * libc/stdlib/Makefile.in: Ditto.
1562 * libc/string/Makefile.in: Ditto.
1563 * libc/syscalls/Makefile.in: Ditto.
1564 * libc/time/Makefile.in: Ditto.
1565 * libc/unix/Makefile.in: Ditto.
1566 * testsuite/newlib.iconv/iconv.exp: New file.
1567 * testsuite/newlib.iconv/iconvjp.c: Ditto.
1568 * testsuite/newlib.iconv/iconvnm.c: Ditto.
1569 * testsuite/newlib.iconv/iconvru.c: Ditto.
1570
786ab12c
JJ
15712004-01-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1572
1573 * acinclude.m4 (--enable-newlib-iconv): New configuration option.
1574 (--enable-newlib-builtin-converters): Ditto.
1575 * configure.in: Add code to set _ICONV_ENABLED flag.
1576 Set _MB_LEN_MAX to 1 if not mb enabled.
1577 * configure: Regenerated.
1578 * aclocal.m4: Ditto.
1579 * Makefile.in: Ditto.
1580 * newlib.hin: Add _ICONV_ENABLED flag.
1581 * libc/Makefile.am: Add support for iconv.
1582 * libc/configure.in: Ditto.
1583 * libc/Makefile.in: Regenerated.
1584 * libc/aclocal.m4: Ditto.
1585 * libc/configure: Ditto.
1586 * libc/libc.texinfo: Add iconv documentation.
1587 * libc/iconv/AUTHORS, libc/iconv/COPYING, libc/iconv/Makefile.am,
1588 libc/iconv/Makefile.in, libc/iconv/README.ORIGINAL,
1589 libc/iconv/README.TODO, libc/iconv/charset.aliases,
1590 libc/iconv/iconv.tex, libc/iconv/ccs/Makefile.am,
1591 libc/iconv/ccs/Makefile.in, libc/iconv/ccs/README.CCS.SOURCES,
1592 libc/iconv/ccs/big5.c, libc/iconv/ccs/cns11643_plane1.c,
1593 libc/iconv/ccs/cns11643_plane14.c, libc/iconv/ccs/cns11643_plane2.c,
1594 libc/iconv/ccs/cp775.c, libc/iconv/ccs/cp850.c,
1595 libc/iconv/ccs/cp852.c, libc/iconv/ccs/cp855.c,
1596 libc/iconv/ccs/cp866.c, libc/iconv/ccs/gb_2312_80.c,
1597 libc/iconv/ccs/iconv_mktbl, libc/iconv/ccs/iso_8859_1.c,
1598 libc/iconv/ccs/iso_8859_15.c, libc/iconv/ccs/iso_8859_2.c,
1599 libc/iconv/ccs/iso_8859_4.c, libc/iconv/ccs/iso_8859_5.c,
1600 libc/iconv/ccs/jis_x0201.c, libc/iconv/ccs/jis_x0208_1983.c,
1601 libc/iconv/ccs/jis_x0212_1990.c, libc/iconv/ccs/koi8_r.c,
1602 libc/iconv/ccs/koi8_u.c, libc/iconv/ccs/ksx1001.c,
1603 libc/iconv/ccs/shift_jis.c, libc/iconv/ccs/us_ascii.c,
1604 libc/iconv/ccs/binary/Makefile.am, libc/iconv/ccs/binary/Makefile.in,
1605 libc/iconv/ccs/binary/big5.cct,
1606 libc/iconv/ccs/binary/cns11643_plane1.cct,
1607 libc/iconv/ccs/binary/cns11643_plane14.cct,
1608 libc/iconv/ccs/binary/cns11643_plane2.cct,
1609 libc/iconv/ccs/binary/cp775.cct, libc/iconv/ccs/binary/cp850.cct,
1610 libc/iconv/ccs/binary/cp852.cct, libc/iconv/ccs/binary/cp855.cct,
1611 libc/iconv/ccs/binary/cp866.cct, libc/iconv/ccs/binary/gb_2312_80.cct,
1612 libc/iconv/ccs/binary/iso_8859_1.cct,
1613 libc/iconv/ccs/binary/iso_8859_15.cct,
1614 libc/iconv/ccs/binary/iso_8859_2.cct,
1615 libc/iconv/ccs/binary/iso_8859_4.cct,
1616 libc/iconv/ccs/binary/iso_8859_5.cct,
1617 libc/iconv/ccs/binary/jis_x0201.cct,
1618 libc/iconv/ccs/binary/jis_x0208_1983.cct,
1619 libc/iconv/ccs/binary/jis_x0212_1990.cct,
1620 libc/iconv/ccs/binary/koi8_r.cct, libc/iconv/ccs/binary/koi8_u.cct,
1621 libc/iconv/ccs/binary/ksx1001.cct,
1622 libc/iconv/ccs/binary/shift_jis.cct,
1623 libc/iconv/ccs/binary/us_ascii.cct,
1624 libc/iconv/ces/Makefile.am, libc/iconv/ces/Makefile.in,
1625 libc/iconv/ces/euc-jp.c, libc/iconv/ces/euc-kr.c,
1626 libc/iconv/ces/euc-tw.c, libc/iconv/ces/gb2312.c,
1627 libc/iconv/ces/iso-10646-ucs-2.c, libc/iconv/ces/iso-10646-ucs-4.c,
1628 libc/iconv/ces/ucs-2-internal.c, libc/iconv/ces/ucs-4-internal.c,
1629 libc/iconv/ces/utf-16.c, libc/iconv/ces/utf-8.c,
1630 libc/iconv/lib/Makefile.am, libc/iconv/lib/Makefile.in,
1631 libc/iconv/lib/aliases.c, libc/iconv/lib/bialiasesi.c,
1632 libc/iconv/lib/biccs.c, libc/iconv/lib/bices.c,
1633 libc/iconv/lib/ccs.c, libc/iconv/lib/ces.c,
1634 libc/iconv/lib/ces_euc.c, libc/iconv/lib/ces_iso2022.c,
1635 libc/iconv/lib/ces_table.c, libc/iconv/lib/converter.c,
1636 libc/iconv/lib/deps.h, libc/iconv/lib/endian.h,
1637 libc/iconv/lib/iconv.c, libc/iconv/lib/loaddata.c,
1638 libc/iconv/lib/local.h, libc/include/iconv.h: New files.
1639 * libc/sys/linux/include/iconv.h: Ditto.
1640 * libc/include/sys/_types.h (_iconv_t): Added.
1641 * doc/aclocal.m4: Regenerated.
1642 * doc/configure: Ditto.
1643 * doc/Makefile.in: Ditto.
1644 * iconvdata/Makefile.in: Ditto.
1645 * iconvdata/aclocal.m4: Ditto.
1646 * iconvdata/configure: Ditto.
1647 * libc/*aclocal.m4: Ditto.
1648 * libc/*Makefile.in: Ditto.
1649 * libc/*configure: Ditto.
1650 * libm/*aclocal.m4: Ditto.
1651 * libm/*Makefile.in: Ditto.
1652 * libm/*configure: Ditto.
1653
ed1a95dc
JJ
16542004-01-22 Thomas Pfaff <tpfaff@gmx.net>
1655
1656 * libc/stdio/findfp.c (__sfp): Protect global FILE pointer list
1657 by a lock when newlib is multithreaded.
1658
7d4be1ef
JJ
16592004-01-21 Jeff Johnston <jjohnstn@redhat.com>
1660
1661 * libc/stdlib/mbrtowc.c (_mbrtowc_r): Fix case where s is null
1662 pointer to match C99 spec.
1663 * libc/stdlib/mbsrtowcs.c (_mbsrtowc_r): Fix to ignore len when
1664 dst is NULL. Also fix to not alter src pointer when dst is NULL
1665 and call _mbrtowc_r instead of _mbtowc_r.
1666 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Call _wcrtomb_r instead
1667 of _wctomb_r.
1668
403f752c
JJ
16692004-01-19 Thomas Pfaff <tpfaff@gmx.net>
1670
1671 * libc/stdio/fclose.c (fclose): Release FILE as the last step.
1672 * libc/stdio/freopen.c (freopen): Ditto.
1673
85b6d63b
CF
16742004-01-16 Christopher Faylor <cgf@redhat.com>
1675
1676 * libc/stdio/vfprintf.c: Add sys/lock.h include.
1677
4af71a91
JJ
16782004-01-16 Thomas Pfaff <tpfaff@gmx.net>
1679
1680 * libc/stdio/findfp.c (__sfp): Remove unnecessary memset.
1681 * libc/stdio/vfprintf.c (__sbprintf): Ditto.
1682 Add calls to __lock_init_recursive and __lock_close_recursive
1683 instead.
1684
6a150987
JJ
16852004-01-15 Thomas Pfaff <tpfaff@gmx.net>
1686
1687 * libc/stdio/fclose.c: Include sys/lock.h.
1688 (fclose): Destroy lock when file is closed.
1689 * libc/stdio/findfp.c (__sfp): Initialize file pointers _lock
1690 member.
1691 * libc/stdio/freopen.c: Include sys/lock.h.
1692 (_freopen_r): Destroy lock when file is closed.
1693 * libc/stdio/vfprintf.c (__sbprintf): Initialize file pointers
1694 _lock member.
1695
c9524c0c
JJ
16962004-01-08 Joel Sherrill <joel@oarcorp.com>
1697
1698 * libc/ctype/iswctype.c, include/sys/reent.h, libc/stdlib/a64l.c:
1699 Remove warnings.
1700
9f13ccb3
JJ
17012004-01-08 Joel Sherrill <joel@oarcorp.com>
1702
1703 * libc/sys/rtems/sys/queue.h: New file.
1704 * libc/include/sys/signal.h: Reflect renumbering of signals to
1705 fit into 32-bit mask.
1706 * libc/include/sys/unistd.h: Add fdatasync() prototype.
1707 * libc/sys/rtems/crt0.c: Add more symbols which may be implicitly
1708 required. In particular, add the reentrant variants of libc calls.
1709 * libc/sys/rtems/sys/dirent.h: Add scandir() prototype.
1710
9488c414
JJ
17112004-01-06 Mark Mitchell <mark@codesourcery.com>
1712
1713 * libc/sys/arm/syscalls.c (unistd.h): Include it.
1714 (remap_handle): Use STDIN_FILENO instead of __sfileno(stdin).
1715 Similarly for stdout and stderr.
1716
5125f919
JJ
17172004-01-06 Jeff Johnston <jjohnstn@redhat.com>
1718
1719 * libc/libc.texinfo: Correct escape character for @ sign
1720 so file will be processed by make info. Update copyright years.
1721 * libm/libm.texinfo: Ditto.
1722
9fc92ceb
JJ
17232003-12-05 Jeff Johnston <jjohnstn@redhat.com>
1724
1725 * libc/include/sys/stat.h: No longer include stat-dj.h.
1726 * libc/include/sys/stat-dj.h: Removed.
1727
25c7dad1
JJ
17282003-12-05 Jeff Johnston <jjohnstn@redhat.com>
1729
1730 * libc/include/wchar.h: Include <sys/reent.h>.
1731
576593dd
CF
17322003-12-05 Christopher Faylor <cgf@redhat.com>
1733
1734 * libc/stdlib/mbrlen.c: Change include order to prevent compiler errors
1735 when defining _mbrtowc.
1736 * libc/stdlib/mbsinit.c: Ditto.
1737 * libc/stdlib/mbsrtowcs.c: Ditto.
1738 * libc/stdlib/wcrtomb.c: Ditto.
1739 * libc/stdlib/wcsrtombs.c: Ditto.
1740 * libc/stdlib/wctob.c: Ditto.
1741
17422003-12-05 Christopher Faylor <cgf@redhat.com>
1743
1744 * libc/stdlib/mbrlen.c: Change include order to prevent compiler
1745 errors when defining _mbrtowc.
1746 * libc/stdlib/mbsinit.c: Ditto.
1747 * libc/stdlib/mbsrtowcs.c: Ditto.
1748
4c889d62
CF
17492003-12-05 Christopher Faylor <cgf@redhat.com>
1750
1751 * libc/stdlib/mbrtowc.c: Change include order to prevent compiler
1752 errors when defining _mbrtowc.
1753
5d109bde
JJ
17542003-12-04 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1755
1756 * libc/stdio/vfprintf.c (_VFPRINTF_R): Use _r versions
1757 of mb routines for %lc and %ls support.
1758 * libc/stdio/vfscanf.c (_svfscanf_r): Add %lc, %C,
1759 %ls, and %S support. Remove CYGNUS_NEC markers and
1760 code within.
1761
3aca0888
JJ
17622003-12-04 Jeff Johnston <jjohnstn@redhat.com>
1763
1764 * libc/include/wchar.h: Add prototypes for _mbrtowc_r,
1765 _wcrtomb_r, and _wcsrtombs_r.
1766
18dcb167
CV
17672003-12-01 Corinna Vinschen <corinna@vinschen.de>
1768
1769 * libc/include/sys/fcntl.h: Don't define struct flock when on
1770 Cygwin. This is done in winsup/cygwin/include/cygwin/types.h now.
1771
93f8e673
CF
17722003-11-28 Christopher Faylor <cgf@redhat.com>
1773
1774 * libc/include/sys/signal.h: Use system specific signal file when
1775 building on cygwin.
1776
cc2a11e0
JJ
17772003-11-27 Jeff Johnston <jjohnstn@redhat.com>
1778
1779 * libc/include/stdlib.h (_atoi_r): New prototype.
1780 * libc/stdlib/atoi.c (_atoi_r): New reentrant function.
1781
83bf7d2f
JJ
17822003-11-27 Jeff Johnston <jjohnstn@redhat.com>
1783
1784 * libc/include/stdlib.h (_atoll_r, _atol_r): New prototypes.
1785 * libc/stdlib/atol.c (_atol_r): New reentrant function.
1786 * libc/stdlib/atoll.c (_atoll_r): Ditto.
1787
5d109bde 17882003-11-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
6bbb700c
JJ
1789 Jeff Johnston <jjohnstn@redhat.com>
1790
1791 * libc/include/stdlib.h (lldiv_t): New type.
1792 (atoll, llabs, lldiv): New prototypes.
1793 * libc/stdlib/Makefile.am: Add support for atoll, llabs, and lldiv.
1794 * libc/stdlib/stdlib.tex: Ditto.
1795 * libc/stdlib/Makefile.in: Regenerated.
1796 * libc/stdlib/atoll.c: New file.
1797 * libc/stdlib/llabs.c: Ditto.
1798 * libc/stdlib/lldiv.c: Ditto.
1799
0a707c79
JJ
18002003-11-26 Corinna Vinschen <corinna@vinschen.de>
1801
1802 * libc/include/fcntl.h: Declare syscalls only when building newlib.
1803 * libc/include/unistd.h: Ditto.
1804 * libc/include/stat.h: Ditto. Also declare struct stat64.
1805
5d109bde 18062003-11-24 Artem B. Bityuckiy <abitytsky@softminecorp.com>
6db165c2
JJ
1807
1808 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix check for 'C' format
1809 specifier to use ch instead of *fmt.
1810
5d109bde 18112003-11-21 Artem B. Bityuckiy <abitytsky@softminecorp.com>
759a097e
JJ
1812
1813 * libc/stdio/vfprintf.c (_VFPRINTF_R, get_arg): Move mb-specific
1814 code within checks for MB_CAPABLE. For non-mb-capable platforms,
1815 use simple byte logic.
1816
4f6149d6
JJ
18172003-11-21 Jeff Johnston <jjohnstn@redhat.com>
1818
1819 * libc/stdio/vfscanf.c (__svfscanf_r)[!_NO_LONGDBL]: Don't use
1820 _strtold routine for processing floats and doubles since it
1821 is not as fast as _strtod_r.
1822
7343eefb
JJ
18232003-11-20 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
1824
1825 * libc/machine/h8300/defines.h : Correct pointer register defines
1826 for normal mode.
1827 * libc/machine/h8300/memcpy.S : Use add/sub instead of adds/subs
1828 for normal mode.
1829 * libc/machine/h8300/reg_memcpy.S : Likewise.
1830 * libc/machine/h8300/reg_memset.S : Likewise.
1831 * libc/machine/h8300/strcmp.S : Likewise.
1832
64cfc6f2
JJ
18332003-11-19 Nicholas Wourms <nwourms@netscape.net>
1834
1835 * configure.host: Enable positional arguments for printf
1836 family for Cygwin.
1837 * libc/stdio/vfprintf.c (_VFPRINTF_R): Remove extraneous
1838 pointer reference for quad_ptr_t.
1839
e1dc8171
JJ
18402003-11-19 Jeff Johnston <jjohnstn@redhat.com>
1841
1842 * libc/stdio/scanf.c: Don't include local.h more than once.
1843
a472290f
JJ
18442003-11-18 Corinna Vinschen <corinna@vinschen.de>
1845
1846 * libc/include/sys/fcntl.h: Declare _open64.
1847 * libc/include/sys/stat.h: Declare _fstat64.
1848 * libc/include/sys/unistd.h: Declare _lseek64.
1849
a2f1155c
CV
18502003-11-17 Corinna Vinschen <corinna@vinschen.de>
1851
1852 * libc/include/stdlib.h (getprogname): Declare for Cygwin.
1853 (setprogname): Ditto.
1854
030441fc
JJ
18552003-11-10 Jeff Johnston <jjohnstn@redhat.com>
1856
1857 * libc/machine/powerpc/ufix64toa.c (_ufix64to_r): Fix shifts
1858 to use (Ebits + 1) which accounts for the sign-bit.
1859
fe359733
JJ
18602003-11-07 Jeff Johnston <jjohnstn@redhat.com>
1861
1862 * configure.host: Remove -DLOOSE_KERNEL_NAMES flag for linux
1863 x86 build.
1864 * iconvdata/Makefile.am: Make dependent on newlib's configure.host
1865 and set up default flags to pass to aclocal.
1866 * iconvdata/Makefile.in: Regenerated.
1867 * libc/sys/linux/Makefile.am: Add _ELIX_LEVEL_4 getlogin, getpwnam,
1868 and getpwuid routines.
1869 * libc/sys/linux/Makefile.in: Regenerated.
1870 * libc/sys/linux/getlogin.c: New stub file to allow x86-linux
1871 applications to link with newlib's shared libc library.
1872 * libc/sys/linux/getpwnam.c: Ditto.
1873 * libc/sys/linux/getpwuid.c: Ditto.
1874 * libc/sys/linux/sys/types.h: Include <features.h> and supply types
1875 that were formerly supplied by /usr/include/linux/types.h with
1876 kernel types.
1877 * testsuite/newlib.wctype/twctype.c: Fix testcase to properly
1878 test _ELIX_LEVEL macro.
1879
2985521f
JJ
18802003-11-07 Jeff Johnston <jjohnstn@redhat.com>
1881
1882 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix typos that should be
1883 referring to _NO_LONGLONG macro.
1884
dcad6a89
JJ
18852003-11-06 Jeff Johnston <jjohnstn@redhat.com>
1886
1887 * libc/sys/linux/linuxthreads/td_init.c: Replace function name
1888 in LOG() macro so this will compile on gcc 3.4 and up.
1889 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
1890 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
1891 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
1892 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
1893 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
1894 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
1895 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
1896 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
1897 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
1898 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
1899 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
1900 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
1901 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
1902 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
1903 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
1904 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
1905 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
1906 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
1907 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
1908 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
1909 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
1910 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
1911 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
1912 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
1913 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
1914 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
1915 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
1916 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
1917 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
1918 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
1919 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
1920 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
1921 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
1922 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
1923 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
1924 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
1925
d2ffac09 19262003-11-05 Jeff Johnston <jjohnstn@redhat.com>
5d109bde 1927 Artem B. Bityuckiy <abitytsky@softminecorp.com>
d2ffac09
JJ
1928
1929 * libc/stdio/vfprintf.c (_VFPRINTF_R): Add support for
1930 %ls, %S, %lc, and %C format specifiers.
1931 (get_arg): Ditto.
1932 * libc/stdio/sprintf.c: Add documentation regarding new
1933 format specifiers added in vfprintf.c.
1934
da2d1227
JJ
19352003-11-05 Jeff Johnston <jjohnstn@redhat.com>
1936
1937 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Numerous fixes
1938 to make code work as specified in standard.
1939
3ef05bac
JJ
19402003-10-23 Jeff Johnston <jjohnstn@redhat.com>
1941
1942 * configure.in: Use absolute newlib basedir when forming
1943 CC_FOR_NEWLIB include options.
1944 * configure: Regenerated.
1945
5d109bde 19462003-10-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4340b63b
JJ
1947
1948 * libc/string/wcsnlen.c: New file.
1949 * libc/include/wchar.h: Add wcsnlen prototype.
1950 * libc/string/Makefile.am: Add wcsnlen support.
1951 * libc/string/Makefile.in: Regenerated.
1952 * libc/string/wcstrings.tex: Add wcsnlen documentation.
1953
63a823f8
RS
19542003-10-22 Richard Sandiford <rsandifo@redhat.com>
1955
1956 * libc/stdlib/exit.c (exit): Handle null _GLOBAL_REENT->_atexits.
1957
76a7df52
JJ
19582003-10-20 Bob Wilson <bob.wilson@acm.org>
1959
1960 * libc/locale/locale.c: Use double quotes in code.
1961 * libc/locale/locale.tex: Likewise.
1962 * libc/libc.texinfo: Hyphenate "floating-point".
1963 * libc/machine/necv70/necv70.tex: Likewise.
1964 * libc/stdio/sprintf.c: Likewise.
1965 * libc/stdio/sscanf.c: Likewise.
1966 * libc/stdlib/atof.c: Likewise.
1967 * libc/stdlib/ldtoa.c: Fix comment typo.
1968 * libc/stdlib/div.c: Use @ifnottex instead of @ifinfo.
1969 * libc/stdlib/ldiv.c: Likewise.
1970 * libm/common/s_expm1.c: Likewise.
1971 * libm/common/s_ilogb.c: Hyphenate "floating-point". Use "nonzero".
1972 * libm/common/s_infinity: Hyphenate "double- and single-precision".
1973 * libm/common/s_nan.c: Likewise. Also correct the FUNCTION summary.
1974 * libm/common/s_nextafter.c: Fix typo. Hyphenate "double-precision"
1975 and "floating-point".
1976 * libm/common/s_scalbn.c: Correct the FUNCTION summary.
1977 * libm/math/e_pow.c: Fix comment typo.
1978 * libm/math/math.tex: Hyphenate "single-precision" and "floating-point".
1979 * libm/math/s_asinh.c: Use @ifnottex instead of @ifinfo.
1980 * libm/math/s_atan.c: Likewise.
1981 * libm/math/s_frexp.c: Likewise. Also use "nonzero".
1982 * libm/math/s_isnan.c: Hyphenate "single-precision" and
1983 "floating-point". Use "nonzero".
1984 * libm/math/s_ldexp.c: Use @ifnottex instead of @ifinfo.
1985 * libm/math/w_acos.c: Likewise.
1986 * libm/math/w_acosh.c: Likewise.
1987 * libm/math/w_asin.c: Likewise.
1988 * libm/math/w_atan2.c: Likewise.
1989 * libm/math/w_atanh.c: Likewise.
1990 * libm/math/w_cosh.c: Likewise.
1991 * libm/math/w_exp.c: Likewise.
1992 * libm/math/w_exp2.c: Likewise. Add missing @end and missing @tex
1993 version of 2^x in the description.
1994 * libm/math/w_fmod.c: Use @ifnottex instead of @ifinfo.
1995 * libm/math/w_gamma.c: Likewise.
1996 * libm/math/w_hypot.c: Likewise.
1997 * libm/math/w_j0.c: Likewise.
1998 * libm/math/w_sinh.c: Likewise.
1999 * libm/math/w_pow.c: Replace "exp1.0nt" with "exponent".
2000 * libm/mathfp/mathfp.tex: Hyphenate "single-precision" and
2001 "floating-point".
2002 * libm/mathfp/e_acosh.c: Use @ifnottex instead of @ifinfo.
2003 * libm/mathfp/e_atanh.c: Likewise.
2004 * libm/mathfp/e_hypot.c: Likewise.
2005 * libm/mathfp/er_lgamma.c: Likewise.
2006 * libm/mathfp/s_acos.c: Likewise.
2007 * libm/mathfp/s_asine.c: Likewise.
2008 * libm/mathfp/s_asinh.c: Likewise.
2009 * libm/mathfp/s_atan.c: Likewise.
2010 * libm/mathfp/s_atan2.c: Likewise.
2011 * libm/mathfp/s_atangent.c: Likewise.
2012 * libm/mathfp/s_cosh.c: Likewise.
2013 * libm/mathfp/s_exp.c: Likewise.
2014 * libm/mathfp/s_fmod.c: Likewise.
2015 * libm/mathfp/s_frexp.c: Likewise. Also use "nonzero".
2016 * libm/mathfp/s_isnan.c: Hyphenate "single-precision" and
2017 "floating-point". Use "nonzero".
2018 * libm/math/s_pow.c: Replace "exp1.0nt" with "exponent".
2019 * libm/mathfp/s_ldexp.c: Use @ifnottex instead of @ifinfo.
2020 * libm/mathfp/s_sineh.c: Likewise.
2021 * libm/mathfp/w_jn.c: Likewise.
2022
b11926e7
JJ
20232003-10-15 Alexandre Oliva <aoliva@redhat.com>
2024
2025 * Makefile.am: Add $(MAKE) comments to multido and multiclean
2026 lines, to enable parallel make.
2027 * Makefile.in: Rebuilt.
2028
31271d5c
CF
20292003-10-14 Christopher Faylor <cgf@redhat.com>
2030
2031 * libc/time/clock.c: Clarify documentation of return value when no
2032 measurement is available.
2033
bc707cbd
JJ
20342003-09-29 Ian Lance Taylor <ian@wasabisystems.com>
2035
2036 * libm/configure.in: Check libm_machine_dir, not machine_dir.
2037 * libm/configure: Regenerate.
2038 * libm/Makefile.in: Ditto.
2039
f4b10605
JR
20402003-09-29 J"orn Rennecke <joern.rennecke@superh.com>
2041
2042 * libc/machine/sh/strncpy.S: New file.
2043 * libc/machine/sh/Makefile.am: Add entry & rule for new file.
2044 * libc/machine/sh/Makefile.in: Regenerate.
2045
ce044d8f
JW
20462003-09-11 James E Wilson <wilson@specifixinc.com>
2047
2048 * MAINTAINERS: Update my e-mail address.
2049
080ef411
CV
20502003-09-10 Corinna Vinschen <corinna@vinschen.de>
2051
2052 * libc/include/sys/unistd.h: Declare function daemon for Cygwin.
2053
3a767b69
JJ
20542003-09-09 Jeff Johnston <jjohnstn@redhat.com>
2055
080ef411
CV
2056 * libc/machine/powerpc/fix64.h: Fix typo for _simdldcheck
2057 prototype.
2058 * libc/machine/powerpc/simdldtoa.c: Remove prototype for
2059 _simdldcheck(). Also add unsigned cast for index variable in
2060 for loop using sizeof operators.
2061 * libc/machine/powerpc/strtoufix32.c: Remove unused variable.
2062 * libc/machine/powerpc/strtosfix64.c: Fix call to _simdldcheck.
2063 * libc/machine/powerpc/strtoufix64.c (_strtoufix64_r): Ditto
2064 plus fix shift calculation for determining if there is a
2065 carry from word2.
3a767b69 2066
84154fcc
CV
20672003-09-09 Corinna Vinschen <corinna@vinschen.de>
2068
2069 * libc/include/grp.h: Don't define setgrfile, group_from_gid and
2070 setgroupent for Cygwin.
2071
f1b15058
JJ
20722003-09-05 Jeff Johnston <jjohnstn@redhat.com>
2073
2074 * libc/stdlib/exit.c (exit): Setting of struct _atexit ptr p
2075 is different for _REENT_SMALL than when using regular reent
2076 struct.
2077
cf88c20f 20782003-09-05 Ben Elliston <bje@wasabisystems.com>
0a8fd4dc 2079
b73263e4
BE
2080 * libc/ctype/wctype.c (_DEFUN): Remove empty default case, as
2081 modern versions of GCC issue a warning.
2082
0a8fd4dc
BE
2083 * libc/machine/xscale/memcmp.c (memcmp): Strip trailing whitespace
2084 after continuation characters that induces a warning from modern
2085 versions of GCC.
2086
10a32423
BE
20872003-09-04 Ben Elliston <bje@wasabisystems.com>
2088
2089 * libc/stdlib/mstats.c[_ELIX_LEVEL]: Fix guards. #ifndef FOO ||
2090 FOO >= 2 is invalid; use #if !defined (FOO) || FOO >= 2 instead.
2091
ed027a53
JJ
20922003-09-02 Thomas Pfaff <tpfaff@gmx.net>
2093
2094 * libc/stdlib/atexit.c: Rename _REENT to _GLOBAL_REENT throughout.
2095 * libc/stdlib/exit.c : Ditto.
2096 * libc/stdlib/on_exit.c: Ditto.
2097
880fa247
JJ
20982003-08-27 Corinna Vinschen <corinna@vinschen.de>
2099
2100 * libc/include/reent.h: Define stat64 as __stat64 when
2101 compiling newlib for Cygwin.
2102
54c1d7ea
JJ
21032003-08-26 Jeff Johnston <jjohnstn@redhat.com>
2104
2105 * libc/include/sys/stat.h[__CYGWIN__]: Only define stat64 as
2106 __stat64 when compiling newlib.
2107
0eca0750
JJ
21082003-08-26 Jeff Johnston <jjohnstn@redhat.com>
2109
2110 * libc/include/stdio.h: Allow the io64 function prototypes for
2111 Cygwin when compiling newlib.
2112 * libc/include/sys/stat.h[__CYGWIN__]: Define stat64 as __stat64
2113 to expose the Cygwin struct __stat64 type.
2114 * libc/stdio64/fseeko64.c: Use _fstat64_r and pass a struct stat64
2115 pointer.
2116 * libc/stdio64/tmpfile64.c(_tmpfile64_r): Call _fopen64_r.
2117
9d4aef19
CF
21182003-08-23 Christopher Faylor <cgf@redhat.com>
2119
2120 * libc/stdio64/fseeko64.c (fseeko64_r): Rename second fseeko64_r
2121 definition to fseeko64.
2122
9fc9e1c9
JJ
21232003-08-22 Jeff Johnston <jjohnstn@redhat.com>
2124
2125 * libc/include/sys/reent.h: Add _GLOBAL_REENT macro.
2126 * libc/stdio: Globally remove/replace all references to fp->_data.
2127 Replace with _REENT or _GLOBAL_REENT where appropriate.
2128 * libc/stdio/asprintf.c: Ditto.
2129 * libc/stdio/fclose.c: Ditto.
2130 * libc/stdio/fvwrite.c: Ditto.
2131 * libc/stdio/makebuf.c: Ditto.
2132 * libc/stdio/refill.c: Ditto.
2133 * libc/stdio/local.h: Ditto.
2134 * libc/stdio/setvbuf.c: Ditto.
2135 * libc/stdio/sscanf.c: Ditto.
2136 * libc/stdio/stdio.c: Ditto.
2137 * libc/stdio/ungetc.c: Ditto.
2138 * libc/stdio/vfscanf.c: Ditto.
2139 * libc/stdio/vsscanf.c: Ditto.
2140 * libc/stdio/fopen.c: Ditto. Also use _fseek_r in _fopen_r.
2141 * libc/stdio/vasprintf.c: Ditto. Also call _vfprintf_r directly.
2142 * libc/stdio/vsnprintf.c: Ditto.
2143 * libc/stdio/vsprintf.c: Ditto.
2144 * libc/stdio/fcloseall.c(fcloseall): Use _GLOBAL_REENT macro
2145 instead of _REENT to walk file list.
2146 * libc/stdio/fflush.c: Ditto.
2147 * libc/stdio/fgetpos.c: Add reentrant version and have regular
2148 version call reentrant version with _REENT argument.
2149 * libc/stdio/fsetpos.c: Ditto.
2150 * libc/stdio/fseek.c: Ditto.
2151 * libc/stdio/fseeko.c: Ditto.
2152 * libc/stdio/ftell.c: Ditto.
2153 * libc/stdio/ftello.c: Ditto.
2154 * libc/stdio/freopen.c: Ditto.
2155 * libc/stdio/findfp.c: Use _GLOBAL_REENT pointer when adding
2156 new files to chain. Also use _GLOBAL_REENT pointer for
2157 cleaning up.
2158 * libc/stdio/fiprintf.c: Reformatted to minimize duplicate code.
2159 * libc/stdio/siprintf.c: Ditto.
2160 * libc/stdio/iprintf.c: Ditto.
2161 * libc/stdio/fprintf.c: Ditto.
2162 * libc/stdio/printf.c: Ditto.
2163 * libc/stdio/snprintf.c: Call _vfprintf_r directly.
2164 * libc/stdio/sprintf.c: Ditto.
2165 * libc/stdio/vprintf.c: Ditto. Also add _REENT_ONLY check.
2166 * libc/stdio/rewind.c: Call _fseek_r directly.
2167 * libc/stdio/tmpfile.c: Call _fopen_r and _remove_r directly.
2168 * libc/stdio/vfprintf.c (_VFPRINTF_R): Change _r routines to use
2169 data pointer.
2170 (get_arg): Add extra struct _reent pointer argument.
2171 * libc/stdio64/fgetpos64.c: Add _r versions, remove any reference
2172 to fp->_data.
2173 * libc/stdio64/fopen64.c: Ditto.
2174 * libc/stdio64/freopen64.c: Ditto.
2175 * libc/stdio64/fsetpos64.c: Ditto.
2176 * libc/stdio64/ftello64.c: Ditto.
2177 * libc/stdio64/local64.h: Ditto.
2178 * libc/stdio64/stdio64.c: Ditto.
2179 * libc/stdio64/fseeko64.c: Ditto plus use _fstat_r instead of
2180 _fstat64_r for the meantime.
2181
8f021114
JJ
21822003-08-19 Jeff Johnston <jjohnstn@redhat.com>
2183
2184 * libc/stdlib/mallocr.c (mALLOc, rEALLOc, mEMEALIGn): Enhance
2185 overflow detection.
2186
db979bb4
JJ
21872003-08-13 Aldy Hernandez <aldyh@redhat.com>
2188
2189 * libc/machine/powerpc/machine/stdlib.h: Wrap SPE functions in
2190 extern "C".
2191
6efbdc7d
JJ
21922003-08-13 Jeff Johnston <jjohnstn@redhat.com>
2193
2194 * libc/include/math.h: Add prototypes for __signbitf and
2195 __signbitd.
2196
e895fc20
JJ
21972003-07-31 Jeff Johnston <jjohnstn@redhat.com>
2198
2199 * libc/ctype/iswalpha.c: Fix calls to __jp2uc to pass the
2200 correct type of conversion when dealing with EUCJP or SJIS.
2201 * libc/ctype/iswblank.c: Ditto.
2202 * libc/ctype/iswcntrl.c: Ditto.
2203 * libc/ctype/iswprint.c: Ditto.
2204 * libc/ctype/iswpunct.c: Ditto.
2205 * libc/ctype/iswspace.c: Ditto.
2206 * libc/ctype/towlower.c: Ditto.
2207 * libc/ctype/towupper.c: Ditto.
2208
0302dfe5
NC
22092003-07-31 Nick Clifton <nickc@redhat.com>
2210
2211 * libc/sys/sysnecv850/crt0.S (_start): Allocate 4 slots on stack
2212 before calling main, in case it saves its argument registers.
2213 Remove reference to deleted v850ea port.
2214 * configure.host: Remove reference to deleted v850ea port.
2215 Do not use -mv850 when building for v850e target. This
2216 prevents the ctbp system register from being initialised.
2217
42de5592
JJ
22182003-07-29 Honda Hiroki <hhonda@ipflex.com>
2219
2220 * libc/stdio/vfprintf.c: Set output size to 1 when
2221 we have %f format with precision 0 and # flag not specified.
2222
e5de27b6
AO
22232003-07-29 Alexandre Oliva <aoliva@redhat.com>
2224
2225 * libc/machine/mn10300/setjmp.S: Never emit both .am33 and
2226 .am33_2.
2227
3c98a593
CF
22282003-07-25 Christopher Faylor <cgf@redhat.com>
2229
2230 * libc/stdio64/fdopen64.c: Include sys/lock.h.
2231
e222bf67
CF
22322003-07-25 Christopher Faylor <cgf@redhat.com>
2233
2234 * configure.host: Find cygwin include directory, when appropriate.
2235
03536757
CF
22362003-07-24 Christopher Faylor <cgf@redhat.com>
2237
2238 * libc/stdio64/fdopen64.c: New file.
2239 * libc/stdio64/Makefile.am (LIB_OBJS): Add fdopen64.o
2240 * libc/stdio64/Makefile.in: Regenerate.
2241 * libc/include/stdio.h (fdopen64): Define.
2242 * libc/include/stdio.h (_fdopen64_r): Ditto.
2243
18072a4f
AO
22442003-07-10 Alexandre Oliva <aoliva@redhat.com>
2245
2246 2000-04-27 Alexandre Oliva <aoliva@cygnus.com>
2247 * libc/include/machine/setjmp.h (_JBLEN, AM33/2.0): Set to 26.
2248 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Save and
2249 restore callee-saved FP registers.
2250
e0bec12f
JR
22512003-07-10 J"orn Rennecke <joern.rennecke@superh.com>
2252
2253 * libc/include/sys/unistd.h (ftruncate, truncate): Also declare
2254 for __sh__.
2255 * libc/sys/sh/Makefile.am (lib_a_SOURCES): Add ftruncate.c and
2256 truncate.c.
2257 * libc/sys/sh/Makefile.in: Regenerate.
2258 * libc/sys/sh/sys/syscall.h: (SYS_truncate, SYS_ftruncate): Define.
2259 * libc/sys/sh/ftruncate.c: New file.
2260 * libc/sys/sh/truncate.c: Likewise.
2261
03d65dd9
AO
22622003-07-09 Alexandre Oliva <aoliva@redhat.com>
2263
2264 * libc/include/math.h (nan, nanf): Update prototype to C99.
2265 * libm/common/s_nan.c (nan): Likewise.
2266 * libm/common/s_nanf.c (nanf, nan): Likewise.
2267 * libc/sys/linux/cmath/math_private.h (nan, nanf): Likewise.
2268
74aa9d7d
JJ
22692003-07-07 Jeff Johnston <jjohnstn@redhat.com>
2270
2271 * libc/include/stdbool.h: Removed as this is defined by gcc.
2272
0a447ef3
JJ
22732003-07-03 Shaun Jackman <sjackman@pathwayconnect.com>
2274
2275 * libc/include/stdbool.h: New header file defined by C99.
2276
282eff9a
JJ
22772003-07-02 Jeff Johnston <jjohnstn@redhat.com>
2278
2279 * libc/include/sys/types.h (int8_t): Make signed.
2280
4e989b11
JJ
22812003-07-02 Jeff Johnston <jjohnstn@redhat.com>
2282
2283 * libc/sys/linux/include/mqueue.h: Add include of <sys/fcntl.h>.
2284
07b40cf8
JJ
22852003-06-27 Jose Goncalves <jose.goncalves@inov.pt>
2286
2287 * libc/sys/linux/mq_open.c (mq_open): Only set created flag
2288 on if we actually created the shared memory file exclusively.
2289
7daa7891
JJ
22902003-06-27 Joe Vornehm <joev@mitre.org>
2291
2292 * libm/common/s_fpclassify.c (__fpclassifyf): Fix
2293 comparisons to account for unsigned internal value w.
2294
51fa7562
JJ
22952003-06-26 Jeff Johnston <jjohnstn@redhat.com>
2296
2297 * libc/sys/linux/mq_open.c (mq_open): Must allocate rdbuf and
2298 wrbuf for a non-creating open.
2299
b8f7ea5c
JJ
23002003-06-24 Kazu Hirata <kazu@cs.umass.edu>
2301
2302 * libc/machine/h8300/setarch.h: New.
2303 * libc/machine/h8300/memcpy.S: Use it.
2304 * libc/machine/h8300/memset.S: Likewise.
2305 * libc/machine/h8300/reg_memcpy.S: Likewise.
2306 * libc/machine/h8300/reg_memset.S: Likewise.
2307 * libc/machine/h8300/setjmp.S: Likewise.
2308 * libc/machine/h8300/strcmp.S: Likewise.
2309
6d7ea52a
RS
23102003-06-24 Richard Sandiford <rsandifo@redhat.com>
2311
2312 * libc/sys/h8300hms/crt0.S (_start): Fix register sizes in call
2313 to atexit().
2314
5a74f2aa
JJ
23152003-06-20 Jeff Johnston <jjohnstn@redhat.com>
2316
2317 * configure.host (iq2000): Add tabs.
2318
8266e478
JJ
23192003-06-20 Jeff Johnston <jjohnstn@redhat.com>
2320
2321 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix macros
2322 to handle latest on_exit change.
2323 * libc/sys/linux/Makefile.am: Remove special compilation
2324 for malloc.c and mcheck.c.
2325 * libc/sys/linux/Makefile.in: Regenerated.
2326 * libc/sys/linux/mntent.c: Add definition of _LIBC flag
2327 after including <features.h>.
2328 * libc/sys/linux/mcheck.c: Ditto.
2329 * libc/sys/linux/malloc.c: Ditto plus define _GNU_SOURCE
2330 for <features.h>.
2331 * libc/sys/linux/intl/Makefile.am: Remove -D_LIBC and
2332 add -DNOT_IN_libc to C flags.
2333 * libc/sys/linux/intl/Makefile.in: Regenerated.
2334 * libc/sys/linux/intl/config.h: Add definition of _LIBC.
2335 * libc/sys/linux/linuxthreads/semaphore.h: Include
2336 <bits/pthreadtypes.h>.
2337 * libc/sys/linux/sys/dirent.h: Define _LIBC and NOT_IN_libc after
2338 including <features.h>.
2339 * libc/sys/linux/sys/lock.h: Ditto.
2340
0efe117b
NC
23412003-06-11 Nick Clifton <nickc@redhat.com>
2342
2343 * libc/reent/reent.c (reclaim_reent): Fix typo in code to free
2344 _on_exit_args_ptr.
2345
bfdfd7e6
AG
23462003-06-10 Stan Cox <scox@redhat.com>
2347 Anthony Green <green@redhat.com>
2348
2349 * configure.host: Add iq2000 support.
2350 * newlib/libc/include/machine/ieeefp.h: Ditto.
2351 * newlib/libc/include/machine/setjmp.h: Ditto.
2352 * libc/machine/iq2000, libc/machine/iq2000/setjmp.S,
2353 libc/machine/iq2000/aclocal.m4, libc/machine/iq2000/configure,
2354 libc/machine/iq2000/configure.in, libc/machine/iq2000/Makefile.am,
2355 libc/machine/iq2000/Makefile.in: New files.
2356
d9e4104b
RS
23572003-06-10 Richard Sandiford <rsandifo@redhat.com>
2358
2359 * libc/sys/h8300hms/setarch.h: New file.
2360 * libc/sys/h8300hms/close.S, libc/sys/h8300hms/fstat.S,
2361 libc/sys/h8300hms/lseek.S, libc/sys/h8300hms/open.S,
2362 libc/sys/h8300hms/read.S, libc/sys/h8300hms/stat.S,
2363 libc/sys/h8300hms/write.S, libc/sys/h8300hms/crt0.S: Use it.
2364
729d1ff9
JJ
23652003-06-06 Jeff Johnston <jjohnstn@redhat.com>
2366
2367 * libc/argz/argz_add.c: Change to use _DEFUN macro for function
2368 definition.
2369 * libc/argz/argz_add_sep.c: Ditto.
2370 * libc/argz/argz_append.c libc/argz/argz_count.c: Ditto.
2371 * libc/argz/argz_create.c libc/argz/argz_create_sep.c: Ditto.
2372 * libc/argz/argz_delete.c libc/argz/argz_extract.c: Ditto.
2373 * libc/argz/argz_insert.c libc/argz/argz_next.c: Ditto.
2374 * libc/argz/argz_replace.c libc/argz/argz_stringify.c: Ditto.
2375 * libc/argz/envz_add.c libc/argz/envz_entry.c: Ditto.
2376 * libc/argz/envz_get.c libc/argz/envz_merge.c: Ditto.
2377 * libc/argz/envz_remove.c libc/argz/envz_strip.c: Ditto.
2378 * libc/locale/nl_langinfo.c libc/misc/ffs.c: Ditto.
2379 * libc/posix/closedir.c libc/posix/creat.c: Ditto.
2380 * libc/posix/execl.c libc/posix/execle.c: Ditto.
2381 * libc/posix/execlp.c libc/posix/execve.c: Ditto.
2382 * libc/posix/isatty.c libc/posix/opendir.c: Ditto.
2383 * libc/posix/popen.c libc/posix/readdir.c: Ditto.
2384 * libc/posix/readdir_r.c libc/posix/rewinddir.c: Ditto.
2385 * libc/posix/scandir.c libc/posix/seekdir.c: Ditto.
2386 * libc/posix/telldir.c libc/search/hcreate.c: Ditto.
2387 * libc/search/tdelete.c libc/search/tdestroy.c: Ditto.
2388 * libc/search/tfind.c libc/search/tsearch.c: Ditto.
2389 * libc/search/twalk.c libc/signal/signal.c: Ditto.
2390
75d7d177
NC
23912003-06-05 Nick Clifton <nickc@redhat.com>
2392
2393 * libc/include/sys/reent.h (struct _on_exit_args): New
2394 structure containing fields used by the on_exit() function.
2395 (struct _atexit): Include struct _on_exit_args. For
2396 _REENT_SMALL do his via a pointer that is initialised when
2397 needed.
2398 * libc/reent/reent.c (_reclaim_reent): Free the _on_exit_args
2399 structure, if one has been allocated.
2400 * libc/stdlib/atexit.c (atexit): Update indirection to
2401 _fntypes field.
2402 * libc/stdlib/on_exit.c (on_exit): Indirect via the
2403 _on_exit_args structure. For _REENT_SMALL, allocate a
2404 structure if one does not exist.
2405 * libc/stdlib/exit.c (exit): Indirect via the _on_exit_args
2406 structure.
2407
2129f283
JJ
24082003-06-04 Jeff Johnston <jjohnstn@redhat.com>
2409
2410 * libc/sys/linux/net/Makefile.am: Remove extraneous markers.
2411 * libc/sys/linux/net/Makefile.in: Regenerated.
2412
bf3bcac2
JJ
24132003-06-03 Jeff Johnston <jjohnstn@redhat.com>
2414
2415 * libc/reent/execr.c: Use _DEFUN macro for function declaration.
2416 * libc/reent/fcntlr.c: Ditto.
2417 * libc/reent/fstat64r.c: Ditto.
2418 * libc/reent/linkr.c: Ditto.
2419 * libc/reent/lseek64r.c: Ditto.
2420 * libc/reent/lseekr.c: Ditto.
2421 * libc/reent/openr.c: Ditto.
2422 * libc/reent/readr.c: Ditto.
2423 * libc/reent/reent.c: Ditto.
2424 * libc/reent/sbrkr.c: Ditto.
2425 * libc/reent/signalr.c: Ditto.
2426 * libc/reent/signgam.c: Ditto.
2427 * libc/reent/statr.c: Ditto.
2428 * libc/reent/timer.c: Ditto.
2429 * libc/reent/unlinkr.c: Ditto.
2430 * libc/reent/writer.c: Ditto.
2431 * libc/syscalls/sysclose.c: Ditto.
2432 * libc/syscalls/sysexecve.c: Ditto.
2433 * libc/syscalls/sysfcntl.c: Ditto.
2434 * libc/syscalls/sysfork.c: Ditto.
2435 * libc/syscalls/sysfstat.c: Ditto.
2436 * libc/syscalls/sysgetpid.c: Ditto.
2437 * libc/syscalls/sysgettod.c: Ditto.
2438 * libc/syscalls/syskill.c: Ditto.
2439 * libc/syscalls/syslink.c: Ditto.
2440 * libc/syscalls/syslseek.c: Ditto.
2441 * libc/syscalls/sysopen.c: Ditto.
2442 * libc/syscalls/sysread.c: Ditto.
2443 * libc/syscalls/syssbrk.c: Ditto.
2444 * libc/syscalls/sysstat.c: Ditto.
2445 * libc/syscalls/systimes.c: Ditto.
2446 * libc/syscalls/sysunlink.c: Ditto.
2447 * libc/syscalls/syswait.c: Ditto.
2448 * libc/syscalls/syswrite.c: Ditto.
2449
702ceb23
JJ
24502003-06-03 Till Straumann <strauman@SLAC.Stanford.EDU>
2451
2452 * libc/time/tzset_r.c: Change local variables that are
2453 set via sscanf using the %h format specifier to be unsigned short
2454 instead of int.
2455
102861c9
JJ
24562003-05-30 Kelley Cook <kelleycook@wideopenwest.com>
2457
2458 * configure.host: Allow i[34567]86 variant.
2459 * configure.in: Likewise.
2460 * README: Likewise to the docs.
2461 * configure: Regenerated.
2462 * Makefile.in: Ditto.
2463
b359e82c
JJ
24642003-05-28 Jeff Johnston <jjohnstn@redhat.com>
2465 Tom Fitzsimmons <fitzsim@redhat.com>
2466
2467 * configure.in: Add iconvdata support for x86 linux.
2468 * configure: Regenerated.
2469 * libc/sys/linux/Makefile.am: Add EL/IX level 3 network, dynamic
2470 library, iconv, and linuxthreads support.
2471 * libc/sys/linux/configure.in: Ditto.
2472 * libc/sys/linux/Makefile.in: Regenerated.
2473 * libc/sys/linux/configure: Ditto.
2474 * iconvdata/EUC-JP.irreversible: New file.
2475 * iconvdata/Makefile.am: Ditto.
2476 * iconvdata/Makefile.in: Ditto.
2477 * iconvdata/SJIS.irreversible: Ditto.
2478 * iconvdata/aclocal.m4: Ditto.
2479 * iconvdata/configure: Ditto.
2480 * iconvdata/configure.in: Ditto.
2481 * iconvdata/dummy.c: Ditto.
2482 * iconvdata/euc-jp.c: Ditto.
2483 * iconvdata/gconv-modules: Ditto.
2484 * iconvdata/jis0201.c: Ditto.
2485 * iconvdata/jis0201.h: Ditto.
2486 * iconvdata/jis0208.c: Ditto.
2487 * iconvdata/jis0208.h: Ditto.
2488 * iconvdata/jis0212.c: Ditto.
2489 * iconvdata/jis0212.h: Ditto.
2490 * iconvdata/sjis.c: Ditto.
2491 * libc/include/errno.h: Protect definition of error_t.
2492 * libc/sys/linux/gethostid.c: New file.
2493 * libc/sys/linux/sethostid.c: Ditto.
2494 * libc/sys/linux/dl/Makefile.am: Ditto.
2495 * libc/sys/linux/dl/Makefile.in: Ditto.
2496 * libc/sys/linux/dl/abi-tag.h: Ditto.
2497 * libc/sys/linux/dl/atomicity.h: Ditto.
2498 * libc/sys/linux/dl/dl-addr.c: Ditto.
2499 * libc/sys/linux/dl/dl-cache.c: Ditto.
2500 * libc/sys/linux/dl/dl-cache.h: Ditto.
2501 * libc/sys/linux/dl/dl-close.c: Ditto.
2502 * libc/sys/linux/dl/dl-debug.c: Ditto.
2503 * libc/sys/linux/dl/dl-deps.c: Ditto.
2504 * libc/sys/linux/dl/dl-dst.h: Ditto.
2505 * libc/sys/linux/dl/dl-error.c: Ditto.
2506 * libc/sys/linux/dl/dl-fini.c: Ditto.
2507 * libc/sys/linux/dl/dl-init.c: Ditto.
2508 * libc/sys/linux/dl/dl-iteratephdr.c: Ditto.
2509 * libc/sys/linux/dl/dl-libc.c: Ditto.
2510 * libc/sys/linux/dl/dl-librecon.h: Ditto.
2511 * libc/sys/linux/dl/dl-load.c: Ditto.
2512 * libc/sys/linux/dl/dl-lookup.c: Ditto.
2513 * libc/sys/linux/dl/dl-lookupcfg.h: Ditto.
2514 * libc/sys/linux/dl/dl-minimal.c: Ditto.
2515 * libc/sys/linux/dl/dl-misc.c: Ditto.
2516 * libc/sys/linux/dl/dl-object.c: Ditto.
2517 * libc/sys/linux/dl/dl-open.c: Ditto.
2518 * libc/sys/linux/dl/dl-osinfo.h: Ditto.
2519 * libc/sys/linux/dl/dl-profile.c: Ditto.
2520 * libc/sys/linux/dl/dl-profstub.c: Ditto.
2521 * libc/sys/linux/dl/dl-reloc.c: Ditto.
2522 * libc/sys/linux/dl/dl-runtime.c: Ditto.
2523 * libc/sys/linux/dl/dl-support.c: Ditto.
2524 * libc/sys/linux/dl/dl-sym.c: Ditto.
2525 * libc/sys/linux/dl/dl-version.c: Ditto.
2526 * libc/sys/linux/dl/dlfcn.h: Ditto.
2527 * libc/sys/linux/dl/do-lookup.h: Ditto.
2528 * libc/sys/linux/dl/do-rel.h: Ditto.
2529 * libc/sys/linux/dl/dynamic-link.h: Ditto.
2530 * libc/sys/linux/dl/kernel-features.h: Ditto.
2531 * libc/sys/linux/dl/ldsodefs.h: Ditto.
2532 * libc/sys/linux/dl/libintl.h: Ditto.
2533 * libc/sys/linux/dl/trusted-dirs.h: Ditto.
2534 * libc/sys/linux/dl/unsecvars.h: Ditto.
2535 * libc/sys/linux/iconv/Makefile.am: Ditto.
2536 * libc/sys/linux/iconv/Makefile.in: Ditto.
2537 * libc/sys/linux/iconv/categories.def: Ditto.
2538 * libc/sys/linux/iconv/dummy-repertoire.c: Ditto.
2539 * libc/sys/linux/iconv/gconv.c: Ditto.
2540 * libc/sys/linux/iconv/gconv_builtin.c: Ditto.
2541 * libc/sys/linux/iconv/gconv_builtin.h: Ditto.
2542 * libc/sys/linux/iconv/gconv_cache.c: Ditto.
2543 * libc/sys/linux/iconv/gconv_charset.h: Ditto.
2544 * libc/sys/linux/iconv/gconv_close.c: Ditto.
2545 * libc/sys/linux/iconv/gconv_conf.c: Ditto.
2546 * libc/sys/linux/iconv/gconv_db.c: Ditto.
2547 * libc/sys/linux/iconv/gconv_dl.c: Ditto.
2548 * libc/sys/linux/iconv/gconv_int.h: Ditto.
2549 * libc/sys/linux/iconv/gconv_open.c: Ditto.
2550 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
2551 * libc/sys/linux/iconv/gconv_trans.c: Ditto.
2552 * libc/sys/linux/iconv/hash-string.h: Ditto.
2553 * libc/sys/linux/iconv/iconv.c: Ditto.
2554 * libc/sys/linux/iconv/iconv.h: Ditto.
2555 * libc/sys/linux/iconv/iconv_charmap.c: Ditto.
2556 * libc/sys/linux/iconv/iconv_close.c: Ditto.
2557 * libc/sys/linux/iconv/iconv_open.c: Ditto.
2558 * libc/sys/linux/iconv/iconvconfig.c: Ditto.
2559 * libc/sys/linux/iconv/iconvconfig.h: Ditto.
2560 * libc/sys/linux/iconv/loadinfo.h: Ditto.
2561 * libc/sys/linux/iconv/localeinfo.h: Ditto.
2562 * libc/sys/linux/iconv/loop.c: Ditto.
2563 * libc/sys/linux/iconv/skeleton.c: Ditto.
2564 * libc/sys/linux/iconv/strtab.c: Ditto.
2565 * libc/sys/linux/include/dl-hash.h: Ditto.
2566 * libc/sys/linux/include/dlfcn.h: Ditto.
2567 * libc/sys/linux/include/fnmatch.h: Ditto.
2568 * libc/sys/linux/include/gconv.h: Ditto.
2569 * libc/sys/linux/include/glob.h: Ditto.
2570 * libc/sys/linux/include/hesiod.h: Ditto.
2571 * libc/sys/linux/include/ifaddrs.h: Ditto.
2572 * libc/sys/linux/include/libc_private.h: Ditto.
2573 * libc/sys/linux/include/link.h: Ditto.
2574 * libc/sys/linux/include/namespace.h: Ditto.
2575 * libc/sys/linux/include/netconfig.h: Ditto.
2576 * libc/sys/linux/include/netdb.h: Ditto.
2577 * libc/sys/linux/include/nsswitch.h: Ditto.
2578 * libc/sys/linux/include/regex.h: Ditto.
2579 * libc/sys/linux/include/resolv.h: Ditto.
2580 * libc/sys/linux/include/rune.h: Ditto.
2581 * libc/sys/linux/include/runetype.h: Ditto.
2582 * libc/sys/linux/include/semaphore.h: Ditto.
2583 * libc/sys/linux/include/setlocale.h: Ditto.
2584 * libc/sys/linux/include/un-namespace.h: Ditto.
2585 * libc/sys/linux/include/wordexp.h: Ditto.
2586 * libc/sys/linux/include/arpa/ftp.h: Ditto.
2587 * libc/sys/linux/include/arpa/inet.h: Ditto.
2588 * libc/sys/linux/include/arpa/nameser.h: Ditto.
2589 * libc/sys/linux/include/arpa/nameser_compat.h: Ditto.
2590 * libc/sys/linux/include/arpa/telnet.h: Ditto.
2591 * libc/sys/linux/include/arpa/tftp.h: Ditto.
2592 * libc/sys/linux/include/net/bpf.h: Ditto.
2593 * libc/sys/linux/include/net/bpf_compat.h: Ditto.
2594 * libc/sys/linux/include/net/bpfdesc.h: Ditto.
2595 * libc/sys/linux/include/net/bridge.h: Ditto.
2596 * libc/sys/linux/include/net/ethernet.h: Ditto.
2597 * libc/sys/linux/include/net/fddi.h: Ditto.
2598 * libc/sys/linux/include/net/if.h: Ditto.
2599 * libc/sys/linux/include/net/if_arc.h: Ditto.
2600 * libc/sys/linux/include/net/if_arp.h: Ditto.
2601 * libc/sys/linux/include/net/if_atm.h: Ditto.
2602 * libc/sys/linux/include/net/if_dl.h: Ditto.
2603 * libc/sys/linux/include/net/if_gif.h: Ditto.
2604 * libc/sys/linux/include/net/if_ieee80211.h: Ditto.
2605 * libc/sys/linux/include/net/if_llc.h: Ditto.
2606 * libc/sys/linux/include/net/if_media.h: Ditto.
2607 * libc/sys/linux/include/net/if_mib.h: Ditto.
2608 * libc/sys/linux/include/net/if_ppp.h: Ditto.
2609 * libc/sys/linux/include/net/if_pppvar.h: Ditto.
2610 * libc/sys/linux/include/net/if_slvar.h: Ditto.
2611 * libc/sys/linux/include/net/if_sppp.h: Ditto.
2612 * libc/sys/linux/include/net/if_stf.h: Ditto.
2613 * libc/sys/linux/include/net/if_tap.h: Ditto.
2614 * libc/sys/linux/include/net/if_tapvar.h: Ditto.
2615 * libc/sys/linux/include/net/if_tun.h: Ditto.
2616 * libc/sys/linux/include/net/if_tunvar.h: Ditto.
2617 * libc/sys/linux/include/net/if_types.h: Ditto.
2618 * libc/sys/linux/include/net/if_var.h: Ditto.
2619 * libc/sys/linux/include/net/if_vlan_var.h: Ditto.
2620 * libc/sys/linux/include/net/intrq.h: Ditto.
2621 * libc/sys/linux/include/net/iso88025.h: Ditto.
2622 * libc/sys/linux/include/net/net_osdep.h: Ditto.
2623 * libc/sys/linux/include/net/netisr.h: Ditto.
2624 * libc/sys/linux/include/net/pfil.h: Ditto.
2625 * libc/sys/linux/include/net/pfkeyv2.h: Ditto.
2626 * libc/sys/linux/include/net/ppp_comp.h: Ditto.
2627 * libc/sys/linux/include/net/ppp_defs.h: Ditto.
2628 * libc/sys/linux/include/net/radix.h: Ditto.
2629 * libc/sys/linux/include/net/raw_cb.h: Ditto.
2630 * libc/sys/linux/include/net/route.h: Ditto.
2631 * libc/sys/linux/include/net/slcompress.h: Ditto.
2632 * libc/sys/linux/include/net/slip.h: Ditto.
2633 * libc/sys/linux/include/net/zlib.h: Ditto.
2634 * libc/sys/linux/include/netinet/icmp6.h: Ditto.
2635 * libc/sys/linux/include/netinet/icmp_var.h: Ditto.
2636 * libc/sys/linux/include/netinet/if_atm.h: Ditto.
2637 * libc/sys/linux/include/netinet/if_ether.h: Ditto.
2638 * libc/sys/linux/include/netinet/igmp.h: Ditto.
2639 * libc/sys/linux/include/netinet/igmp_var.h: Ditto.
2640 * libc/sys/linux/include/netinet/in.h: Ditto.
2641 * libc/sys/linux/include/netinet/in_gif.h: Ditto.
2642 * libc/sys/linux/include/netinet/in_pcb.h: Ditto.
2643 * libc/sys/linux/include/netinet/in_systm.h: Ditto.
2644 * libc/sys/linux/include/netinet/in_var.h: Ditto.
2645 * libc/sys/linux/include/netinet/ip.h: Ditto.
2646 * libc/sys/linux/include/netinet/ip6.h: Ditto.
2647 * libc/sys/linux/include/netinet/ip_dummynet.h: Ditto.
2648 * libc/sys/linux/include/netinet/ip_ecn.h: Ditto.
2649 * libc/sys/linux/include/netinet/ip_encap.h: Ditto.
2650 * libc/sys/linux/include/netinet/ip_flow.h: Ditto.
2651 * libc/sys/linux/include/netinet/ip_fw.h: Ditto.
2652 * libc/sys/linux/include/netinet/ip_icmp.h: Ditto.
2653 * libc/sys/linux/include/netinet/ip_mroute.h: Ditto.
2654 * libc/sys/linux/include/netinet/ip_var.h: Ditto.
2655 * libc/sys/linux/include/netinet/ipprotosw.h: Ditto.
2656 * libc/sys/linux/include/netinet/tcp.h: Ditto.
2657 * libc/sys/linux/include/netinet/tcp_debug.h: Ditto.
2658 * libc/sys/linux/include/netinet/tcp_fsm.h: Ditto.
2659 * libc/sys/linux/include/netinet/tcp_seq.h: Ditto.
2660 * libc/sys/linux/include/netinet/tcp_timer.h: Ditto.
2661 * libc/sys/linux/include/netinet/tcp_var.h: Ditto.
2662 * libc/sys/linux/include/netinet/tcpip.h: Ditto.
2663 * libc/sys/linux/include/netinet/udp.h: Ditto.
2664 * libc/sys/linux/include/netinet/udp_var.h: Ditto.
2665 * libc/sys/linux/include/netinet6/ah.h: Ditto.
2666 * libc/sys/linux/include/netinet6/ah6.h: Ditto.
2667 * libc/sys/linux/include/netinet6/esp.h: Ditto.
2668 * libc/sys/linux/include/netinet6/esp6.h: Ditto.
2669 * libc/sys/linux/include/netinet6/esp_rijndael.h: Ditto.
2670 * libc/sys/linux/include/netinet6/icmp6.h: Ditto.
2671 * libc/sys/linux/include/netinet6/in6.h: Ditto.
2672 * libc/sys/linux/include/netinet6/in6_gif.h: Ditto.
2673 * libc/sys/linux/include/netinet6/in6_ifattach.h: Ditto.
2674 * libc/sys/linux/include/netinet6/in6_pcb.h: Ditto.
2675 * libc/sys/linux/include/netinet6/in6_prefix.h: Ditto.
2676 * libc/sys/linux/include/netinet6/in6_var.h: Ditto.
2677 * libc/sys/linux/include/netinet6/ip6.h: Ditto.
2678 * libc/sys/linux/include/netinet6/ip6_ecn.h: Ditto.
2679 * libc/sys/linux/include/netinet6/ip6_fw.h: Ditto.
2680 * libc/sys/linux/include/netinet6/ip6_mroute.h: Ditto.
2681 * libc/sys/linux/include/netinet6/ip6_var.h: Ditto.
2682 * libc/sys/linux/include/netinet6/ip6protosw.h: Ditto.
2683 * libc/sys/linux/include/netinet6/ipcomp.h: Ditto.
2684 * libc/sys/linux/include/netinet6/ipcomp6.h: Ditto.
2685 * libc/sys/linux/include/netinet6/ipsec.h: Ditto.
2686 * libc/sys/linux/include/netinet6/ipsec6.h: Ditto.
2687 * libc/sys/linux/include/netinet6/mld6_var.h: Ditto.
2688 * libc/sys/linux/include/netinet6/nd6.h: Ditto.
2689 * libc/sys/linux/include/netinet6/pim6.h: Ditto.
2690 * libc/sys/linux/include/netinet6/pim6_var.h: Ditto.
2691 * libc/sys/linux/include/netinet6/raw_ip6.h: Ditto.
2692 * libc/sys/linux/include/netinet6/scope6_var.h: Ditto.
2693 * libc/sys/linux/include/netinet6/tcp6_var.h: Ditto.
2694 * libc/sys/linux/include/netinet6/udp6_var.h: Ditto.
2695 * libc/sys/linux/include/netns/idp.h: Ditto.
2696 * libc/sys/linux/include/netns/idp_var.h: Ditto.
2697 * libc/sys/linux/include/netns/ns.h: Ditto.
2698 * libc/sys/linux/include/netns/ns_error.h: Ditto.
2699 * libc/sys/linux/include/netns/ns_if.h: Ditto.
2700 * libc/sys/linux/include/netns/ns_pcb.h: Ditto.
2701 * libc/sys/linux/include/netns/sp.h: Ditto.
2702 * libc/sys/linux/include/netns/spidp.h: Ditto.
2703 * libc/sys/linux/include/netns/spp_debug.h: Ditto.
2704 * libc/sys/linux/include/netns/spp_timer.h: Ditto.
2705 * libc/sys/linux/include/netns/spp_var.h: Ditto.
2706 * libc/sys/linux/include/rpc/Makefile: Ditto.
2707 * libc/sys/linux/include/rpc/auth.h: Ditto.
2708 * libc/sys/linux/include/rpc/auth_des.h: Ditto.
2709 * libc/sys/linux/include/rpc/auth_kerb.h: Ditto.
2710 * libc/sys/linux/include/rpc/auth_unix.h: Ditto.
2711 * libc/sys/linux/include/rpc/clnt.h: Ditto.
2712 * libc/sys/linux/include/rpc/clnt_soc.h: Ditto.
2713 * libc/sys/linux/include/rpc/clnt_stat.h: Ditto.
2714 * libc/sys/linux/include/rpc/des.h: Ditto.
2715 * libc/sys/linux/include/rpc/des_crypt.h: Ditto.
2716 * libc/sys/linux/include/rpc/nettype.h: Ditto.
2717 * libc/sys/linux/include/rpc/pmap_clnt.h: Ditto.
2718 * libc/sys/linux/include/rpc/pmap_prot.h: Ditto.
2719 * libc/sys/linux/include/rpc/pmap_rmt.h: Ditto.
2720 * libc/sys/linux/include/rpc/raw.h: Ditto.
2721 * libc/sys/linux/include/rpc/rpc.h: Ditto.
2722 * libc/sys/linux/include/rpc/rpc_com.h: Ditto.
2723 * libc/sys/linux/include/rpc/rpc_msg.h: Ditto.
2724 * libc/sys/linux/include/rpc/rpcb_clnt.h: Ditto.
2725 * libc/sys/linux/include/rpc/rpcb_prot.h: Ditto.
2726 * libc/sys/linux/include/rpc/rpcb_prot.x: Ditto.
2727 * libc/sys/linux/include/rpc/rpcent.h: Ditto.
2728 * libc/sys/linux/include/rpc/svc.h: Ditto.
2729 * libc/sys/linux/include/rpc/svc_auth.h: Ditto.
2730 * libc/sys/linux/include/rpc/svc_dg.h: Ditto.
2731 * libc/sys/linux/include/rpc/svc_soc.h: Ditto.
2732 * libc/sys/linux/include/rpc/types.h: Ditto.
2733 * libc/sys/linux/include/rpc/xdr.h: Ditto.
2734 * libc/sys/linux/intl/Makefile.am: Ditto.
2735 * libc/sys/linux/intl/Makefile.in: Ditto.
2736 * libc/sys/linux/intl/bindtextdom.c: Ditto.
2737 * libc/sys/linux/intl/catgets.c: Ditto.
2738 * libc/sys/linux/intl/catgetsinfo.h: Ditto.
2739 * libc/sys/linux/intl/config.h: Ditto.
2740 * libc/sys/linux/intl/dcgettext.c: Ditto.
2741 * libc/sys/linux/intl/dcigettext.c: Ditto.
2742 * libc/sys/linux/intl/dcngettext.c: Ditto.
2743 * libc/sys/linux/intl/dgettext.c: Ditto.
2744 * libc/sys/linux/intl/dngettext.c: Ditto.
2745 * libc/sys/linux/intl/explodename.c: Ditto.
2746 * libc/sys/linux/intl/finddomain.c: Ditto.
2747 * libc/sys/linux/intl/gettext.c: Ditto.
2748 * libc/sys/linux/intl/gettext.h: Ditto.
2749 * libc/sys/linux/intl/gettextP.h: Ditto.
2750 * libc/sys/linux/intl/hash-string.h: Ditto.
2751 * libc/sys/linux/intl/l10nflist.c: Ditto.
2752 * libc/sys/linux/intl/loadinfo.h: Ditto.
2753 * libc/sys/linux/intl/loadmsgcat.c: Ditto.
2754 * libc/sys/linux/intl/locale.alias: Ditto.
2755 * libc/sys/linux/intl/localealias.c: Ditto.
2756 * libc/sys/linux/intl/ngettext.c: Ditto.
2757 * libc/sys/linux/intl/open_catalog.c: Ditto.
2758 * libc/sys/linux/intl/plural.c: Ditto.
2759 * libc/sys/linux/intl/plural.y: Ditto.
2760 * libc/sys/linux/intl/stpcpy.c: Ditto.
2761 * libc/sys/linux/intl/textdomain.c: Ditto.
2762 * libc/sys/linux/linuxthreads/LICENSE: Ditto.
2763 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
2764 * libc/sys/linux/linuxthreads/Makefile.in: Ditto.
2765 * libc/sys/linux/linuxthreads/aclocal.m4: Ditto.
2766 * libc/sys/linux/linuxthreads/attr.c: Ditto.
2767 * libc/sys/linux/linuxthreads/barrier.c: Ditto.
2768 * libc/sys/linux/linuxthreads/bp-sym.h: Ditto.
2769 * libc/sys/linux/linuxthreads/cancel.c: Ditto.
2770 * libc/sys/linux/linuxthreads/condvar.c: Ditto.
2771 * libc/sys/linux/linuxthreads/config.h: Ditto.
2772 * libc/sys/linux/linuxthreads/configure: Ditto.
2773 * libc/sys/linux/linuxthreads/configure.in: Ditto.
2774 * libc/sys/linux/linuxthreads/defs.awk: Ditto.
2775 * libc/sys/linux/linuxthreads/ecmutex.c: Ditto.
2776 * libc/sys/linux/linuxthreads/events.c: Ditto.
2777 * libc/sys/linux/linuxthreads/getcpuclockid.c: Ditto.
2778 * libc/sys/linux/linuxthreads/getreent.c: Ditto.
2779 * libc/sys/linux/linuxthreads/internals.h: Ditto.
2780 * libc/sys/linux/linuxthreads/join.c: Ditto.
2781 * libc/sys/linux/linuxthreads/joinrace.c: Ditto.
2782 * libc/sys/linux/linuxthreads/kernel-features.h: Ditto.
2783 * libc/sys/linux/linuxthreads/libc-internal.h: Ditto.
2784 * libc/sys/linux/linuxthreads/libc-symbols.h: Ditto.
2785 * libc/sys/linux/linuxthreads/linuxthreads.texi: Ditto.
2786 * libc/sys/linux/linuxthreads/lockfile.c: Ditto.
2787 * libc/sys/linux/linuxthreads/manager.c: Ditto.
2788 * libc/sys/linux/linuxthreads/mq_notify.c: Ditto.
2789 * libc/sys/linux/linuxthreads/mutex.c: Ditto.
2790 * libc/sys/linux/linuxthreads/no-tsd.c: Ditto.
2791 * libc/sys/linux/linuxthreads/oldsemaphore.c: Ditto.
2792 * libc/sys/linux/linuxthreads/posix-timer.h: Ditto.
2793 * libc/sys/linux/linuxthreads/prio.c: Ditto.
2794 * libc/sys/linux/linuxthreads/proc_service.h: Ditto.
2795 * libc/sys/linux/linuxthreads/pt-machine.c: Ditto.
2796 * libc/sys/linux/linuxthreads/ptclock_gettime.c: Ditto.
2797 * libc/sys/linux/linuxthreads/ptclock_settime.c: Ditto.
2798 * libc/sys/linux/linuxthreads/ptfork.c: Ditto.
2799 * libc/sys/linux/linuxthreads/pthread.c: Ditto.
2800 * libc/sys/linux/linuxthreads/ptlongjmp.c: Ditto.
2801 * libc/sys/linux/linuxthreads/queue.h: Ditto.
2802 * libc/sys/linux/linuxthreads/reent.c: Ditto.
2803 * libc/sys/linux/linuxthreads/reqsyscalls.c: Ditto.
2804 * libc/sys/linux/linuxthreads/restart.h: Ditto.
2805 * libc/sys/linux/linuxthreads/rwlock.c: Ditto.
2806 * libc/sys/linux/linuxthreads/semaphore.c: Ditto.
2807 * libc/sys/linux/linuxthreads/semaphore.h: Ditto.
2808 * libc/sys/linux/linuxthreads/shlib-compat.h: Ditto.
2809 * libc/sys/linux/linuxthreads/signals.c: Ditto.
2810 * libc/sys/linux/linuxthreads/specific.c: Ditto.
2811 * libc/sys/linux/linuxthreads/spinlock.c: Ditto.
2812 * libc/sys/linux/linuxthreads/spinlock.h: Ditto.
2813 * libc/sys/linux/linuxthreads/sysctl.c: Ditto.
2814 * libc/sys/linux/linuxthreads/td_init.c: Ditto.
2815 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
2816 * libc/sys/linux/linuxthreads/td_symbol_list.c: Ditto.
2817 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
2818 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
2819 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
2820 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
2821 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
2822 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
2823 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
2824 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
2825 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
2826 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
2827 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
2828 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
2829 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
2830 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
2831 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
2832 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
2833 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
2834 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
2835 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
2836 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
2837 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
2838 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
2839 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
2840 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
2841 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
2842 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
2843 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
2844 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
2845 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
2846 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
2847 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
2848 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
2849 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
2850 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
2851 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
2852 * libc/sys/linux/linuxthreads/testrtsig.h: Ditto.
2853 * libc/sys/linux/linuxthreads/thread_db.h: Ditto.
2854 * libc/sys/linux/linuxthreads/thread_dbP.h: Ditto.
2855 * libc/sys/linux/linuxthreads/timer_create.c: Ditto.
2856 * libc/sys/linux/linuxthreads/timer_delete.c: Ditto.
2857 * libc/sys/linux/linuxthreads/timer_getoverr.c: Ditto.
2858 * libc/sys/linux/linuxthreads/timer_gettime.c: Ditto.
2859 * libc/sys/linux/linuxthreads/timer_routines.c: Ditto.
2860 * libc/sys/linux/linuxthreads/timer_settime.c: Ditto.
2861 * libc/sys/linux/linuxthreads/tst-cancel.c: Ditto.
2862 * libc/sys/linux/linuxthreads/tst-context.c: Ditto.
2863 * libc/sys/linux/linuxthreads/tststack.c: Ditto.
2864 * libc/sys/linux/linuxthreads/unload.c: Ditto.
2865 * libc/sys/linux/linuxthreads/weaks.c: Ditto.
2866 * libc/sys/linux/linuxthreads/wrapsyscall.c: Ditto.
2867 * libc/sys/linux/linuxthreads/bits/initspin.h: Ditto.
2868 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Ditto.
2869 * libc/sys/linux/linuxthreads/bits/libc-tsd.h: Ditto.
2870 * libc/sys/linux/linuxthreads/bits/local_lim.h: Ditto.
2871 * libc/sys/linux/linuxthreads/bits/posix_opt.h: Ditto.
2872 * libc/sys/linux/linuxthreads/bits/pthreadtypes.h: Ditto.
2873 * libc/sys/linux/linuxthreads/bits/sigthread.h: Ditto.
2874 * libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
2875 * libc/sys/linux/linuxthreads/machine/Makefile.in: Ditto.
2876 * libc/sys/linux/linuxthreads/machine/aclocal.m4: Ditto.
2877 * libc/sys/linux/linuxthreads/machine/configure: Ditto.
2878 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
2879 * libc/sys/linux/linuxthreads/machine/generic/generic-sysd: Ditto.ep.h
2880 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
2881 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Ditto.
2882 * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Ditto.
2883 * libc/sys/linux/linuxthreads/machine/i386/bp-asm.h: Ditto.
2884 * libc/sys/linux/linuxthreads/machine/i386/clone.S: Ditto.
2885 * libc/sys/linux/linuxthreads/machine/i386/configure: Ditto.
2886 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
2887 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.S: Ditto.
2888 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.h: Ditto.
2889 * libc/sys/linux/linuxthreads/machine/i386/pspinlock.c: Ditto.
2890 * libc/sys/linux/linuxthreads/machine/i386/pt-machine.h: Ditto.
2891 * libc/sys/linux/linuxthreads/machine/i386/sigcontextinfo.h: Ditto.
2892 * libc/sys/linux/linuxthreads/machine/i386/stackinfo.h: Ditto.
2893 * libc/sys/linux/linuxthreads/machine/i386/sysdep.S: Ditto.
2894 * libc/sys/linux/linuxthreads/machine/i386/sysdep.h: Ditto.
2895 * libc/sys/linux/linuxthreads/machine/i386/useldt.h: Ditto.
2896 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
2897 * libc/sys/linux/net/Makefile.am: Ditto.
2898 * libc/sys/linux/net/Makefile.in: Ditto.
2899 * libc/sys/linux/net/addr2ascii.3: Ditto.
2900 * libc/sys/linux/net/addr2ascii.c: Ditto.
2901 * libc/sys/linux/net/ascii2addr.c: Ditto.
2902 * libc/sys/linux/net/base64.c: Ditto.
2903 * libc/sys/linux/net/bindresvport.c: Ditto.
2904 * libc/sys/linux/net/byteorder.3: Ditto.
2905 * libc/sys/linux/net/ether_addr.c: Ditto.
2906 * libc/sys/linux/net/ethers.3: Ditto.
2907 * libc/sys/linux/net/getaddrinfo.3: Ditto.
2908 * libc/sys/linux/net/getaddrinfo.c: Ditto.
2909 * libc/sys/linux/net/gethostbydns.c: Ditto.
2910 * libc/sys/linux/net/gethostbyht.c: Ditto.
2911 * libc/sys/linux/net/gethostbyname.3: Ditto.
2912 * libc/sys/linux/net/gethostbynis.c: Ditto.
2913 * libc/sys/linux/net/gethostnamadr.c: Ditto.
2914 * libc/sys/linux/net/getifaddrs.3: Ditto.
2915 * libc/sys/linux/net/getifaddrs.c: Ditto.
2916 * libc/sys/linux/net/getipnodebyname.3: Ditto.
2917 * libc/sys/linux/net/getnameinfo.3: Ditto.
2918 * libc/sys/linux/net/getnameinfo.c: Ditto.
2919 * libc/sys/linux/net/getnetbydns.c: Ditto.
2920 * libc/sys/linux/net/getnetbyht.c: Ditto.
2921 * libc/sys/linux/net/getnetbynis.c: Ditto.
2922 * libc/sys/linux/net/getnetent.3: Ditto.
2923 * libc/sys/linux/net/getnetnamadr.c: Ditto.
2924 * libc/sys/linux/net/getproto.c: Ditto.
2925 * libc/sys/linux/net/getprotoent.3: Ditto.
2926 * libc/sys/linux/net/getprotoent.c: Ditto.
2927 * libc/sys/linux/net/getprotoname.c: Ditto.
2928 * libc/sys/linux/net/getservbyname.c: Ditto.
2929 * libc/sys/linux/net/getservbyport.c: Ditto.
2930 * libc/sys/linux/net/getservent.3: Ditto.
2931 * libc/sys/linux/net/getservent.c: Ditto.
2932 * libc/sys/linux/net/herror.c: Ditto.
2933 * libc/sys/linux/net/hesiod.3: Ditto.
2934 * libc/sys/linux/net/hesiod.c: Ditto.
2935 * libc/sys/linux/net/if_indextoname.3: Ditto.
2936 * libc/sys/linux/net/ifname.c: Ditto.
2937 * libc/sys/linux/net/inet.3: Ditto.
2938 * libc/sys/linux/net/inet6_option_s: Ditto.pace.3
2939 * libc/sys/linux/net/inet6_rthdr_space.3: Ditto.
2940 * libc/sys/linux/net/inet_addr.c: Ditto.
2941 * libc/sys/linux/net/inet_lnaof.c: Ditto.
2942 * libc/sys/linux/net/inet_makeaddr.c: Ditto.
2943 * libc/sys/linux/net/inet_net.3: Ditto.
2944 * libc/sys/linux/net/inet_net_ntop.c: Ditto.
2945 * libc/sys/linux/net/inet_net_pton.c: Ditto.
2946 * libc/sys/linux/net/inet_neta.c: Ditto.
2947 * libc/sys/linux/net/inet_netof.c: Ditto.
2948 * libc/sys/linux/net/inet_network.c: Ditto.
2949 * libc/sys/linux/net/inet_ntoa.c: Ditto.
2950 * libc/sys/linux/net/inet_ntop.c: Ditto.
2951 * libc/sys/linux/net/inet_pton.c: Ditto.
2952 * libc/sys/linux/net/innetgr-stub.c: Ditto.
2953 * libc/sys/linux/net/ip6opt.c: Ditto.
2954 * libc/sys/linux/net/iso_addr.3: Ditto.
2955 * libc/sys/linux/net/iso_addr.c: Ditto.
2956 * libc/sys/linux/net/issetugid-stub.c: Ditto.
2957 * libc/sys/linux/net/linkaddr.3: Ditto.
2958 * libc/sys/linux/net/linkaddr.c: Ditto.
2959 * libc/sys/linux/net/map_v4v6.c: Ditto.
2960 * libc/sys/linux/net/name6.c: Ditto.
2961 * libc/sys/linux/net/namespace.h: Ditto.
2962 * libc/sys/linux/net/ns.3: Ditto.
2963 * libc/sys/linux/net/ns_addr.c: Ditto.
2964 * libc/sys/linux/net/ns_name.c: Ditto.
2965 * libc/sys/linux/net/ns_netint.c: Ditto.
2966 * libc/sys/linux/net/ns_ntoa.c: Ditto.
2967 * libc/sys/linux/net/ns_parse.c: Ditto.
2968 * libc/sys/linux/net/ns_print.c: Ditto.
2969 * libc/sys/linux/net/ns_ttl.c: Ditto.
2970 * libc/sys/linux/net/nsap_addr.c: Ditto.
2971 * libc/sys/linux/net/nsdispatch.3: Ditto.
2972 * libc/sys/linux/net/nsdispatch.c: Ditto.
2973 * libc/sys/linux/net/nslexer.c: Ditto.
2974 * libc/sys/linux/net/nslexer.l: Ditto.
2975 * libc/sys/linux/net/nsparser.c: Ditto.
2976 * libc/sys/linux/net/nsparser.h: Ditto.
2977 * libc/sys/linux/net/nsparser.y: Ditto.
2978 * libc/sys/linux/net/rcmd.3: Ditto.
2979 * libc/sys/linux/net/rcmd.c: Ditto.
2980 * libc/sys/linux/net/rcmdsh.3: Ditto.
2981 * libc/sys/linux/net/rcmdsh.c: Ditto.
2982 * libc/sys/linux/net/recv.c: Ditto.
2983 * libc/sys/linux/net/res_comp.c: Ditto.
2984 * libc/sys/linux/net/res_config.h: Ditto.
2985 * libc/sys/linux/net/res_data.c: Ditto.
2986 * libc/sys/linux/net/res_debug.c: Ditto.
2987 * libc/sys/linux/net/res_init.c: Ditto.
2988 * libc/sys/linux/net/res_mkquery.c: Ditto.
2989 * libc/sys/linux/net/res_mkupdate.c: Ditto.
2990 * libc/sys/linux/net/res_query.c: Ditto.
2991 * libc/sys/linux/net/res_send.c: Ditto.
2992 * libc/sys/linux/net/res_update.c: Ditto.
2993 * libc/sys/linux/net/resolver.3: Ditto.
2994 * libc/sys/linux/net/rthdr.c: Ditto.
2995 * libc/sys/linux/net/send.c: Ditto.
2996 * libc/sys/linux/net/un-namespace.h: Ditto.
2997 * libc/sys/linux/net/vars.c: Ditto.
2998 * libc/sys/linux/stdlib/COPYRIGHT: Ditto.
2999 * libc/sys/linux/stdlib/Makefile.am: Ditto.
3000 * libc/sys/linux/stdlib/Makefile.in: Ditto.
3001 * libc/sys/linux/stdlib/cclass.h: Ditto.
3002 * libc/sys/linux/stdlib/cname.h: Ditto.
3003 * libc/sys/linux/stdlib/collate.c: Ditto.
3004 * libc/sys/linux/stdlib/collate.h: Ditto.
3005 * libc/sys/linux/stdlib/collcmp.c: Ditto.
3006 * libc/sys/linux/stdlib/engine.c: Ditto.
3007 * libc/sys/linux/stdlib/fnmatch.3: Ditto.
3008 * libc/sys/linux/stdlib/fnmatch.c: Ditto.
3009 * libc/sys/linux/stdlib/glob.3: Ditto.
3010 * libc/sys/linux/stdlib/glob.c: Ditto.
3011 * libc/sys/linux/stdlib/reallocf.c: Ditto.
3012 * libc/sys/linux/stdlib/regcomp.c: Ditto.
3013 * libc/sys/linux/stdlib/regerror.c: Ditto.
3014 * libc/sys/linux/stdlib/regex.3: Ditto.
3015 * libc/sys/linux/stdlib/regex2.h: Ditto.
3016 * libc/sys/linux/stdlib/regexec.c: Ditto.
3017 * libc/sys/linux/stdlib/regfree.c: Ditto.
3018 * libc/sys/linux/stdlib/utils.h: Ditto.
3019 * libc/sys/linux/stdlib/wordexp.c: Ditto.
3020 * libc/sys/linux/stdlib/wordfree.c: Ditto.
3021 * libc/sys/linux/sys/dlfcn.h: Ditto.
3022 * libc/sys/linux/sys/elfclass.h: Ditto.
3023 * libc/sys/linux/sys/event.h: Ditto.
3024 * libc/sys/linux/sys/ioccom.h: Ditto.
3025 * libc/sys/linux/sys/libc-tsd.h: Ditto.
3026 * libc/sys/linux/sys/link.h: Ditto.
3027 * libc/sys/linux/sys/lock.h: Ditto.
3028 * libc/sys/linux/sys/param.h: Ditto.
3029 * libc/sys/linux/sys/socket.h: Ditto.
3030 * libc/sys/linux/sys/sockio.h: Ditto.
3031
82095e79
JJ
30322003-05-28 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
3033
3034 * newlib/libc/machine/h8300/memcpy.S: Use .h8300hn and .h8300sn for
3035 normal mode
3036 * newlib/libc/machine/h8300/memset.S: Likewise
3037 * newlib/lib/machine/h8300/reg_memcpy.S: Likewise
3038 * newlib/lib/machine/h8300/reg_memset.S: Likewise
3039 * newlib/lib/machine/h8300/setjmp.S: Likewise
3040 * newlib/lib/machine/h8300/strcmp.S: Likewise
3041 * newlib/lib/sys/h8300hms/crt0.S: Likewise
3042
8a4b4764
CV
30432003-05-13 Corinna Vinschen <corinna@vinschen.de>
3044
3045 * libc/ctype/ctype_.c: Remove checks for deprecated __CYGWIN32__.
3046 * libc/include/stdio.h: Ditto.
3047 * libc/include/sys/config.h: Ditto.
3048 * libc/stdio/mktemp.c: Ditto.
3049
837e070f
CV
30502003-05-13 Corinna Vinschen <corinna@vinschen.de>
3051
3052 * libc/locale/ldpart.c (__part_load_locale): Substitute
3053 __CYGWIN_USE_BIG_TYPES__ by __USE_INTERNAL_STAT64.
3054 * libc/search/hash.c (__hash_open): Ditto.
3055 (init_hash): Ditto.
3056 * libc/stdio/fseek.c (fseek): Ditto.
3057 * libc/stdio/makebuf.c (__smakebuf): Ditto.
3058 * libc/stdio/mktemp.c (_gettemp): Ditto.
3059
b47fcdf0
CV
30602003-05-12 Corinna Vinschen <corinna@vinschen.de>
3061
3062 * libc/include/stdio.h: Change one __CYGWIN__ to __CYGWIN32__.
3063
11e3a520
CV
30642003-05-12 Corinna Vinschen <corinna@vinschen.de>
3065
3066 * configure.host: Accomodate removing the libc/sys/cygwin dir.
3067 * libc/locale/ldpart.c (__part_load_locale): Use 64 bit stat call
3068 if __CYGWIN_USE_BIG_TYPES__ is set.
3069 * libc/search/hash.c (__hash_open): Ditto.
3070 (init_hash): Ditto.
3071 * libc/stdio/fseek.c (fseek): Ditto.
3072 * libc/stdio/makebuf.c (__smakebuf): Ditto.
3073 * libc/stdio/mktemp.c (_gettemp): Ditto.
3074 * libc/sys/cygwin/Makefile.am: Remove.
3075 * libc/sys/cygwin/Makefile.in: Remove.
3076 * libc/sys/cygwin/aclocal.m4: Remove.
3077 * libc/sys/cygwin/configure: Remove.
3078 * libc/sys/cygwin/configure.in: Remove.
3079 * libc/sys/cygwin/crt0.c: Move to winsup/cygwin directory.
3080 * libc/sys/cygwin/sys/dirent.h: Move to winsup/cygwin/include/sys
3081 directory.
3082 * libc/sys/cygwin/sys/param.h: Ditto.
3083 * libc/sys/cygwin/sys/utime.h: Ditto.
3084 * libc/sys/cygwin/sys/utmp.h: Ditto.
3085
d1b5e65b
CV
30862003-05-11 Corinna Vinschen <corinna@vinschen.de>
3087
3088 * libc/include/sys/types.h: Don't define key_t for Cygwin.
3089
ec48a953
CF
30902003-05-10 Christopher Faylor <cgf@redhat.com>
3091
3092 * libc/sys/cygwin/sys/dirent.h (struct dirent): Accommodate (slightly)
3093 64 bit inodes.
3094
a3cc5851
CV
30952003-05-09 Corinna Vinschen <corinna@vinschen.de>
3096
3097 * libc/include/sys/config.h: Remove all Cygwin specific configuration.
3098 Include cygwin/config.h instead.
3099
57ff95d3
JJ
31002003-04-16 Jeff Johnston <jjohnstn@redhat.com>
3101
3102 * newlib/libc/machine/powerpc (ato*fix*.c,strto*fix*.c): Shield
3103 all code with #ifdef __SPE__ test.
3104 * newlib/libc/machine/powerpc (simdldtoa.c, ufix64toa.c): Ditto.
3105
cfd2c7be
CF
31062003-04-15 Chris January <chris@atomice.net>
3107
3108 * newlib/libc/include/sys/unistd.h: add declaration for gethostid on
3109 Cygwin.
3110
6f48c0ae
JR
31112003-04-09 J"orn Rennecke <joern.rennecke@superh.com>
3112
3113 * libc/machine/sh/memset.S: Avoid clobbering volatile
3114 objects following a tiny to-be-set array in the same quadword.
3115
8f8d09c0
CV
31162001-04-09 Corinna Vinschen <corinna@vinschen.de>
3117
3118 * libc/include/wchar.h: Add definitions for wcswidth and wcwidth.
3119 * libc/string/Makefile.am: Add wcswidth.c and wcwidth.c
3120 * libc/string/Makefile.in: Regenerated.
3121 * libc/string/wcswidth.c: New file.
3122 * libc/string/wcwidth.c: New file.
3123 * libc/string/wcstrings.tex: Add wcswidth and wcwidth.
3124
40c3b2d0
JR
3125Thu Apr 3 14:01:16 2003 J"orn Rennecke <joern.rennecke@superh.com>
3126
3127 * libc/machine/sh/memset.S: Fix problem with alloco region
3128 exceeding destination region for length >= 88 bytes, start
3129 & 0x16 == 0, end & 0x1f == 18.
3130
8ae6a3dd
CV
31312001-04-03 Corinna Vinschen <corinna@vinschen.de>
3132
3133 * libc/string/wcscoll.c: Fix comment.
3134
d122b1cc
CV
31352001-04-02 Corinna Vinschen <corinna@vinschen.de>
3136
3137 * libc/include/wchar.h: Add definition for wcscoll.
3138 * libc/string/Makefile.am: Add wcscoll.c.
3139 * libc/string/Makefile.in: Regenerated.
3140 * libc/string/wcscoll.c: New file.
3141 * libc/string/wcstrings.tex: Add wcscoll.
3142
31ee99a4
CV
31432003-04-01 Corinna Vinschen <corinna@vinschen.de>
3144
3145 * libc/stdio/sscanf.c: Update flags description.
3146 * libc/stdio/vfscanf.c: Add CHAR flag value to denote 8 bit target
3147 type.
3148 (__svfscanf_r): Add 'hh' and 'll' handling.
3149
d78045ee
CV
31502003-04-01 Corinna Vinschen <corinna@vinschen.de>
3151
3152 * libc/sys/cygwin/sys/dirent.h (struct DIR): Change type of
3153 __d_position member to _off_t.
3154
e6bdc6c5
JJ
31552003-03-20 Jeff Johnston <jjohnstn@redhat.com>
3156
3157 * libc/stdio/vfscanf.c (__svfscanf_r): For floating point conversion,
3158 count all characters used to create number against maximum width.
3159 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
3160
e65d559e
JJ
31612003-03-18 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
3162
3163 * libc/include/sys/h8300hms/crt0.S[__SIMULATOR__]: Add commandline
3164 support.
3165 * configure.host (h8300*-*-*): Added comment regarding -D__SIMULATOR__
3166 flag to support simulator only extensions.
3167
6b3bb52b
JJ
31682003-03-17 Bob Cassels <bcassels@abinitio.com>
3169
3170 * libc/string/wcschr.c: (wcschr): Look for character first,
3171 then for end of string, so you can do wcschr(x, '\0').
3172
2a940c1a
CV
31732003-03-10 Corinna Vinschen <corinna@vinschen.de>
3174
3175 * libc/include/stdio.h: Declare fgetpos, fsetpos, fseeko and ftello
3176 with internal (_fpos_t and _off_t) datatypes when compiling newlib.
3177 * libc/include/sys/unistd.h: Declare _lseek using _off_t.
3178 * libc/reent/lseekr.c (_lseek_r): Use _off_t instead of off_t.
3179 * libc/stdio/fseeko.c (fseeko): Ditto.
3180 * libc/stdio/ftello.c (ftello): Ditto.
3181 * libc/stdio/stdio.c (__swrite): Ditto.
3182 (__sseek): Ditto.
3183 * libc/stdio/fgetpos.c (fgetpos): Use _fpos_t instead of fpos_t.
3184 * libc/stdio/fseek.c (fseek): Ditto.
3185 * libc/stdio/fsetpos.c (fsetpos): Ditto.
3186 * libc/stdio/ftell.c (ftell): Ditto.
3187 * libc/stdio/local.h: Declare __sseek using _off_t.
3188
150c2818
CV
31892003-03-09 Corinna Vinschen <corinna@vinschen.de>
3190
3191 * libc/reent/lseekr.c (lseek_r): Use _off_t instead of off_t.
3192
2c440f9c
CV
31932003-03-09 Corinna Vinschen <corinna@vinschen.de>
3194
3195 * libc/include/sys/config.h: Define __CYGWIN_USE_BIG_TYPES__ for
3196 Cygwin.
3197
f882fd15
CV
31982003-03-09 Corinna Vinschen <corinna@vinschen.de>
3199
3200 * libc/include/pwd.h: Add guards to avoid type clashes when compiling
3201 Cygwin.
3202 * libc/include/sys/stat.h: Ditto.
3203 * libc/include/sys/unistd.h: Ditto.
3204 * libc/sys/cygwin/sys/dirent.h: Ditto.
3205
01d61543
CF
32062003-03-07 Christopher Faylor <cgf@redhat.com>
3207
3208 * libc/include/sys/unistd.h: Guard getopt.h call to force only
3209 declaration of getopt and avoid getopt_long declaration.
3210 * libc/sys/cygwin/include/unistd.h: Remove.
3211
5582abd2
CV
32122003-03-07 Corinna Vinschen <corinna@vinschen.de>
3213
3214 * configure.host: Define stdio64_dir for Cygwin.
3215 * libc/include/stdio.h: Change definition of fpos_t to fulfill
3216 Cygwin 64bit file access requirements.
3217 Drop definition of f*64() functions when compiled for Cygwin.
3218 * libc/include/sys/config.h: Define __LARGE64_FILES for Cygwin.
3219 * libc/reent/lseek64r.c: Use _off64_t instead of off64_t.
3220 * libc/stdio64/local64.h: Use _fpos64_t instead of fpos64_t.
3221
641da1eb
JJ
32222003-03-07 Jeff Johnston <jjohnstn@redhat.com>
3223
3224 * libc/include/sys/reent.h: Remove extraneous _sig_func
3225 declaration.
3226
32272003-02-25 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
41a639de
JJ
3228
3229 * libc/sys/h8300hms/Makefile.am: Add support for new files.
3230 * libc/sys/h8300hms/Makefile.in: Regenerated.
3231 * libc/sys/h8300hms/close.S: New file.
3232 * libc/sys/h8300hms/fstat.S: Ditto.
3233 * libc/sys/h8300hms/lseek.S: Ditto.
3234 * libc/sys/h8300hms/open.S: Ditto.
3235 * libc/sys/h8300hms/stat.S: Ditto.
3236 * libc/sys/h8300hms/read.S: New file to replace read.c.
3237 * libc/sys/h8300hms/read.c: Removed.
3238 * libc/sys/h8300hms/syscalls.c: Removed functions _open,
3239 _lseek, _close, _stat, _fstat.
3240 * libc/sys/h8300hms/write.S: New file to replace write.c.
3241 * libc/sys/h8300hms/write.c: Removed.
3242
bac50d6b
NC
32432003-02-20 Nick Clifton <nickc@redhat.com>
3244
3245 * Add support for Cirrus Maverick ARM co-processor:
3246
3247 2000-09-13 Aldy Hernandez <aldyh@redhat.com>
3248
3249 * libc/include/machine/ieeefp.h: Set IEEE_BIG_ENDIAN or
3250 IEEE_LITTLE_ENDIAN depending on endian mode (cirrus).
3251
3252 2000-08-11 Aldy Hernandez <aldyh@redhat.com>
3253
3254 * configure.host: set sys_dir, syscall_dir, and
3255 newlib_cflags for ep9312 host.
3256
3257 * configure.host: Restore alpha sorting of entries in case
3258 statements.
3259
12ee7037
JJ
32602003-02-19 Jeff Johnston <jjohnstn@redhat.com>
3261
3262 * libc/stdlib/mallocr.c (unlink): Revert 02/18 fix.
3263
1e810ba0
JJ
32642003-02-18 Christian Groessler <chris@groessler.org>
3265
3266 * libc/machine/z8k/setjmp.S (_setjmp / _longjmp): Fix to
3267 support z8001 segmented mode.
3268
b1ca765e
JJ
32692003-02-18 Earnie Boyd <earnie@users.sf.net>
3270
3271 * libc/stdlib/mallocr.c (unlink): Don't assign a value to a pointer
3272 with a NULL value.
3273
51a46b54
CF
32742003-02-10 Christopher Faylor <cgf@redhat.com>
3275
3276 * libc/include/sys/types.h: Don't define __MS_types__ for Cygwin.
3277 Don't define some types under cygwin.
3278
313f1349
JJ
32792003-02-07 Jeff Johnston <jjohnstn@redhat.com>
3280
3281 * acinclude.m4 (--disable-newlib-supplied-syscalls): New configuration
3282 option to allow disabling of syscalls being supplied in newlib.
3283 * aclocal.m4: Regenerated.
3284 * configure: Ditto.
3285 * configure.host: Add support of new configuration option and add
3286 -D__NO_SYSCALLS__ if newlib supplied syscalls are disabled.
3287 * doc/aclocal.m4: Regenerated.
3288 * doc/configure: Ditto.
3289 * libc/*aclocal.m4: Ditto.
3290 * libc/*configure: Ditto.
3291 * libm/*aclocal.m4: Ditto.
3292 * libm/*configure: Ditto.
3293 * libc/sys/arm/Makefile.am: Don't build syscalls.o if new option
3294 is disabled.
3295 * libc/sys/arm/Makefile.in: Regenerated.
3296
5017a3da
JJ
32972003-02-05 Jonathan Larmour <jifl@eCosCentric.com>
3298
3299 * libc/stdio/vsprintf.c (vsprintf, _vsprintf_r): Set _file fd to
3300 -1 to be sure it cannot later match a valid file fd causing
3301 isatty() to return 1.
3302 * libc/stdio/asprintf.c (asprintf, _asprintf_r): Ditto.
3303 * libc/stdio/sprintf.c (sprintf, _sprintf_r): Ditto.
3304 * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Ditto.
3305
ad36f7d1
JJ
33062003-02-03 Jeff Johnston <jjohnstn@redhat.com>
3307
3308 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate the format
3309 buffer based on the precision, after we have processed the input value
3310 in a local buffer and know its relative magnitude.
3311
a74181ee
JJ
33122003-01-31 Michael Snyder <msnyder@redhat.com>
3313
3314 * libc/sys/h8300hms/_exit.c (_exit, __exit): Slip a magic cookie
3315 into registers r1 and r2, so that the simulator can distinguish
3316 this trap from a breakpoint trap. Copied from libgloss.
3317
b85498d4
JJ
33182003-01-31 Michael Snyder <msnyder@redhat.com>
3319
3320 * libc/sys/h8300hms/crt0.S (_start): Change local label
3321 from .loop to .Loop, so that ld and gdb will ignore it.
3322
4700b829
JJ
33232003-01-29 Jason Tishler <jason@tishler.net>
3324
3325 * libc/include/time.h: Declare nanosleep() under Cygwin.
3326
0127ae40
NC
33272003-01-24 Nick Clifton <nickc@redhat.com>
3328
3329 * Add sh2e support:
3330
3331 2002-04-02 Alexandre Oliva <aoliva@redhat.com>
3332
3333 * libc/machine/sh/asm.h: Added __SH2E__ next to __SH3E__.
3334 * libc/machine/sh/setjmp.S: Likewise.
3335 * libc/include/machine/ieeefp.h: Likewise.
3336
8bbcd9a1
CV
33372003-01-24 Corinna Vinschen <corinna@vinschen.de>
3338
3339 * libc/include/sys/unistd.h: Add setregid and setreuid declarations
3340 for Cygwin.
3341
b8838e6f
JJ
33422003-01-21 Anita Kulkarni <anitak@kpit.com>
3343
3344 * libc/time/difftime.c : Typecast the result to double.
3345
f9e41155
CF
33462003-01-20 Christopher Faylor <cgf@redhat.com>
3347
3348 * libc/include/sys/unistd.h: Add rresvport declaration for cygwin.
3349
6b5a7988
NC
33502003-01-18 Nick Clifton <nickc@redhat.com>
3351
3352 * libc/include/machine/ieeefp.h : Define __IEEE_BIG_ENDIAN,
3353 __SMALL_BITFIELDS and _DOUBLE_IS_32BITS for IP2K.
3354
c3e92877
JJ
33552003-01-16 Joel Sherrill <joel@OARcorp.com>
3356
3357 * libc/sys/rtems/include/limits.h, libc/sys/rtems/sys/param.h,
3358 libc/sys/rtems/sys/syslimits.h: Update to be in sync with what
3359 constants are defined in each file in the shared versions in
3360 libc/include.
3361 * libc/sys/rtems/crt0.c: Define extra symbols on SH and HP-PA to
3362 autoconf can link programs.
3363 * libc/include/machine/types.h: Explicitly specify signed on
3364 intXX_t types to ensure they are signed.
3365
84510217
CF
33662003-01-14 Christopher Faylor <cgf@redhat.com>
3367
3368 * libc/time/strftime.c (strftime): Add '%h' and '%l, %k' GNU
3369 extensions.
3370
b3934ab3
RS
33712003-01-08 Richard Sandiford <rsandifo@redhat.com>
3372
3373 * configure.host (mips64vr-elf, mips64vrel-elf): New config.
3374
be9c60e5
JJ
33752003-01-07 Charles Wilson <cwilson@ece.gatech.edu>
3376
3377 * libc/stdio/sprintf.c: fix typo
3378 * libc/stdio/vfprintf.c: fix typo
3379
d4c3a750
JJ
33802003-01-07 Jeff Johnston <jjohnstn@redhat.com>
3381
3382 * configure.host: Support long double I/O for x86-linux.
3383 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate a buffer
3384 large enough to hold formatted result.
3385 * libc/machine/powerpc/simdldtoa.c (_simdldtoa_r): Ditto.
3386
b2294aaa
JJ
33872003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
3388
3389 * Makefile.am: Add vasprintf.
3390 * Makefile.in: Regenerated.
3391
ea5e5daf
JJ
33922003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
3393
3394 * asprintf.c (_asprintf_r): insure both declarations
3395 are the same.
3396
5c581eca
CF
33972002-12-28 Christopher Faylor <cgf@redhat.com>
3398
3399 * libc/include/sys/unistd.h: Under cygwin, just include getopt.h rather
3400 than defining getopt directly.
3401
60b0838f
JJ
34022002-12-20 Jeff Johnston <jjohnstn@redhat.com>
3403
3404 * NEWS: Update with 1.11.0 info.
3405 * README: Ditto.
3406 * acinclude.m4: Change version number to 1.11.0.
3407 * aclocal.m4: Regenerated.
3408 * configure: Ditto.
3409 * doc/aclocal.m4: Ditto.
3410 * doc/configure: Ditto.
3411 * libc/*/aclocal.m4: Ditto.
3412 * libc/*/configure: Ditto.
3413 * libc/libc.texinfo: Ditto.
3414 * libm/*/aclocal.m4: Ditto.
3415 * libm/*/configure: Ditto.
3416 * libm/libm.texinfo: Ditto.
3417 * libc/sys/linux/shared.ld: Add VERS_1.11.
3418
10501d57
JJ
34192002-12-20 Jeff Johnston <jjohnstn@redhat.com>
3420
3421 * libc/machine/i386/f_atan2.S: Change copyright from Cygnus
3422 Solutions to Red Hat Inc.
3423 * libc/machine/i386/f_atan2f.S: Ditto.
3424 * libc/machine/i386/f_exp.c: Ditto.
3425 * libc/machine/i386/f_expf.c: Ditto.
3426 * libc/machine/i386/f_frexp.S: Ditto.
3427 * libc/machine/i386/f_frexpf.S: Ditto.
3428 * libc/machine/i386/f_ldexp.S: Ditto.
3429 * libc/machine/i386/f_ldexpf.S: Ditto.
3430 * libc/machine/i386/f_log.S: Ditto.
3431 * libc/machine/i386/f_log10.S: Ditto.
3432 * libc/machine/i386/f_log10f.S: Ditto.
3433 * libc/machine/i386/f_logf.S: Ditto.
3434 * libc/machine/i386/f_pow.c: Ditto.
3435 * libc/machine/i386/f_powf.c: Ditto.
3436 * libc/machine/i386/f_tan.S: Ditto.
3437 * libc/machine/i386/f_tanf.S: Ditto.
3438 * libc/machine/i386/memchr.S: Ditto.
3439 * libc/machine/i386/memcmp.S: Ditto.
3440 * libc/machine/i386/memcpy.S: Ditto.
3441 * libc/machine/i386/memmove.S: Ditto.
3442 * libc/machine/i386/memset.S: Ditto.
3443 * libc/machine/i386/strchr.S: Ditto.
3444 * libc/machine/i386/strlen.S: Ditto.
3445 * libm/machine/i386/f_atan2.S: Ditto.
3446 * libm/machine/i386/f_atan2f.S: Ditto.
3447 * libm/machine/i386/f_exp.c: Ditto.
3448 * libm/machine/i386/f_expf.c: Ditto.
3449 * libm/machine/i386/f_frexp.S: Ditto.
3450 * libm/machine/i386/f_frexpf.S: Ditto.
3451 * libm/machine/i386/f_ldexp.S: Ditto.
3452 * libm/machine/i386/f_ldexpf.S: Ditto.
3453 * libm/machine/i386/f_log.S: Ditto.
3454 * libm/machine/i386/f_log10.S: Ditto.
3455 * libm/machine/i386/f_log10f.S: Ditto.
3456 * libm/machine/i386/f_logf.S: Ditto.
3457 * libm/machine/i386/f_pow.c: Ditto.
3458 * libm/machine/i386/f_powf.c: Ditto.
3459 * libm/machine/i386/f_tan.S: Ditto.
3460 * libm/machine/i386/f_tanf.S: Ditto.
3461
9b3f0d16
JJ
34622002-12-20 Jeff Johnston <jjohnstn@redhat.com>
3463
3464 * libc/stdlib/environ.c: Update license to Red Hat.
3465 * libc/machine/hppa/setjmp.S: Ditto.
3466 * libm/test/Makefile.in: Ditto.
3467
d693ad84
JJ
34682002-12-19 Jeff Johnston <jjohnstn@redhat.com>
3469
3470 * configure.host: Remove references to go32.
3471 * libc/sys/go32/*: Removed.
3472
7da92d15
JJ
34732002-12-16 Kazu Hirata <kazu@cs.umass.edu>
3474
3475 * libc/include/sys/config.h: Change setting of INT_MAX
3476 and UINT_MAX, to use __INT_MAX__ for __H8300__, __H8300H__,
3477 __H8300S__. Also consolidate flag settings for these
3478 platforms.
3479
ea01c7f5
JJ
34802002-12-10 Joel Sherrill <joel@OARcorp.com>
3481
3482 * libc/include/machine/setjmp.h: Make sure _JBLEN is defined
3483 for i386-rtems targets.
3484
c049dd5a
JJ
34852002-12-06 Jeff Johnston <jjohnstn@redhat.com>
3486
3487 * libc/include/stdlib.h (strtof): New prototype (from C99).
3488 (strtodf): Changed from prototype to macro which redefines
3489 to strtof.
3490 * libc/stdlib/atof.c: Change documentation to refer to strtof
3491 instead of strtodf.
3492 * libc/stdlib/atoff.c (atoff): Change to call strtof instead of
3493 strtodf.
3494 * libc/stdlib/strtod.c (strtodf): Renamed to strtof.
3495 (strtof): New function.
3496 * libm/test/convert.c (test_strtodf): Renamed to test_strtof which
3497 calls strtof.
3498
46a402e0
CF
34992002-11-27 Christopher Faylor <cgf@redhat.com>
3500
3501 * libc/string/memset.c (memset): Fix comment.
3502
b3cc01b0
CF
35032002-11-26 Christopher Faylor <cgf@redhat.com>
3504
3505 * libc/string/memset.c (memset): Move initialization of 'd' earlier in
3506 function.
3507
d90f3dc1
CF
35082002-11-25 Christopher Faylor <cgf@redhat.com>
3509
3510 * libc/string/memset.c (memset): Minor optimization: Use new 'd'
3511 variable, introduced below, everywhere.
3512
f24585c6
KH
35132002-11-25 Kazu Hirata <kazu@cs.umass.edu>
3514
3515 * libc/string/memset.c (memset): Make it safe even if
3516 sizeof (int) = 2.
3517
2955fd76
JJ
35182002-11-22 Joe Buehler <jbuehler@hekimian.com>
3519
3520 * configure.in: Change check for libc/include in ${CC} to
3521 use an intermediate value so as to work with different shells.
3522 * configure: Regenerated.
3523 * Makefile.in: Ditto.
3524
40ce7368
JJ
35252002-11-22 Vijay L. Khuspe <vijayk1@kpit.com>
3526
3527 * libc/sys/h8300hms/read.c: Add support for normal mode
3528 architecture.
3529
505746ad
JJ
35302002-11-20 Ryo Tsuruta <ryo@kitanet.ne.jp>
3531
3532 * libc/machine/h8300/setjmp.S (setjmp, longjmp): Combine common
3533 code for __H8300H__ and __H8300S__. Also return 32-bit return code
3534 when -mint32 is used.
3535
28ecb2f5
NC
35362002-11-18 Nick Clifton <nickc@redhat.com>
3537
3538 * libc/sys/arm/crt0.S: Add NULL to end of argv array.
3539
665b994e
JJ
35402002-11-14 Jeff Johnston <jjohnstn@redhat.com>
3541
3542 * testsuite/lib/passfail.exp (newlib_pass_fail): Changed to
3543 only issue one pass/fail message for a compile/link/execute.
3544 * testsuite/newlib.elix/elix.exp: New file.
3545 * testsuite/newlib.elix/tmmap.c: Ditto.
3546
e91ec2e3
CF
35472002-11-06 Christopher Faylor <cgf@redhat.com>
3548
3549 * libc/stdlib/malign.c: Don't compile if MALLOC_PROVIDED.
3550 * libc/stdlib/mlock.c: Ditto.
3551 * libc/stdlib/msize.c: Ditto.
3552 * libc/stdlib/msize.c: Ditto.
3553 * libc/stdlib/mtrim.c: Ditto.
3554 * libc/stdlib/valloc.c: Ditto.
3555
944772c7
JJ
35562002-11-12 Jeff Johnston <jjohnstn@redhat.com>
3557
3558 * libc/stdlib/ldtoa.c (e64toe): When checking the exponent
3559 for inf/nan, make sure that the check ignores the sign bit.
3560
dd7ee147
JJ
35612002-11-07 Joel Sherrill <joel@OARcorp.com>
3562
3563 * libc/sys/rtems/machine: New directory.
3564 * libc/sys/rtems/machine/limits.h, libc/sys/rtems/machine/param.h,
3565 libc/sys/rtems/sys/param.h, libc/sys/rtems/sys/syslimits.h,
3566 libc/sys/rtems/sys/utime.h: New files added to make *-rtems newlib
3567 targets more BSD like when installed without requiring files to
3568 be overwritten at install point when RTEMS itself is installed.
3569 * Makefile.am: Pick up system dependent machine .h files such as
3570 might be found on a BSD-ish system.
3571 * Makefile.in: Regenerate.
3572 * libc/include/machine/types.h: When on an RTEMS target, define a
3573 few BSD flavor types.
3574
35752002-11-06 Sergey Okhapkin <sos@prospect.com.ru>
503430d8
CF
3576
3577 * include/utmp.h: Define WTMP_FILE. Define and use UT_IDLEN.
3578
18cd62b7
JJ
35792002-11-06 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
3580
3581 * libc/include/wchar.h: Use _{BEGIN,END}_STD_C instead of extern "C".
3582 * libc/include/wctype.h: Ditto.
3583
d2888812
JJ
35842002-11-04 Jeff Johnston <jjohnstn@redhat.com>
3585
3586 * libc/include/wchar.h: Add extern "C" specifier if C++.
3587 * libc/include/wctype.h: Ditto.
3588
978ea3cf
JJ
35892002-10-18 Jeff Johnston <jjohnstn@redhat.com>
3590
3591 * testsuite/newlib.wctype/tiswctype.c: New test case.
3592 * testsuite/newlib.wctype/twctrans.c: Ditto.
3593
a42cf80a
JJ
35942002-10-18 Jeff Johnston <jjohnstn@redhat.com>
3595
3596 * libc/sys/linux/machine/i386/include/endian.h: New file.
3597 * libc/sys/linux/machine/i386/include/param.h: Ditto.
3598
c9ccb1f2
JJ
35992002-10-18 Jeff Johnston <jjohnstn@redhat.com>
3600
3601 * libm/machine/i386/aclocal.m4: Regenerated.
3602 * libm/machine/i386/configure: Ditto.
3603
94c5b430
JJ
36042002-10-18 Jeff Johnston <jjohnstn@redhat.com>
3605
3606 * testsuite/include/check.h: New header file to use with
3607 test cases.
3608 * testsuite/lib/newlib.exp: Add testsuite/include directory
3609 to list of header files to use.
3610 * testsuite/newlib.wctype/twctype.c: New test case for iswctype fns.
3611 * testsuite/newlib.wctype/wctype.exp: New file.
3612
ccdae543
RS
36132002-10-11 Graham Stott <graham.stott@btinternet.com>
3614 Richard Sandiford <rsandifo@redhat.com>
f770cf44
RS
3615
3616 * libc/include/sys/config.h (SIZE_T_SMALLER_THAN_LONG): Undefine.
3617 * libc/stdlib/mallocr.c (long_sub_size_t): Define in a way that
3618 doesn't require the SIZE_T_SMALLER_THAN_LONG macro.
3619
73972116
JS
36202002-10-07 Joel Sherrill <joel@OARcorp.com>
3621
3622 * libc/sys/rtems/crt0.c: Add even more symbols so gcc() can link
3623 dummy programs.
3624
89e3fcba
JS
36252002-10-07 Joel Sherrill <joel@OARcorp.com>
3626
3627 * libc/include/pthread.h: Define PTHREAD_CANCELED.
3628
54ec52e4
JS
36292002-10-07 Joel Sherrill <joel@OARcorp.com>
3630
3631 * libc/machine/hppa/DEFS.h, libc/machine/hppa/pcc_prefix.s,
3632 libc/machine/hppa/setjmp.S, libc/machine/hppa/DEFS.h: Make this
3633 compile with current GNU tools.
3634
d389acba
JJ
36352002-10-07 Jeff Johnston <jjohnstn@redhat.com>
3636
3637 * Makefile.am: Add EXTRA_DIRS to allow future dependencies on
3638 the build library.
3639 * configure.in: Ditto.
3640 * Makefile.in: Regenerated.
3641 * configure: Ditto.
3642 * libc/sys/linux/Makefile.am: Add EXTRA_SUBDIRS and EXTRA_SUBLIBS
3643 for specifying configured libraries/directories.
3644 * libc/sys/linux/configure.in: Ditto.
3645 * libc/sys/linux/Makefile.in: Regenerated.
3646 * libc/sys/linux/configure: Ditto.
3647
af5a221f
JJ
36482002-10-03 Jeff Johnston <jjohnstn@redhat.com>
3649
3650 * libc/include/reent.h: Update documentation at start of file.
3651
59a758bd
JW
36522002-09-27 Jim Wilson <wilson@redhat.com>
3653
3654 * libc/sys/sysnecv850/crt0.S (start): Delete v850 code for initializing
3655 the ctbp register.
3656
1ed3c86d
JJ
36572002-09-27 Jeff Johnston <jjohnstn@redhat.com>
3658
3659 * libc/ctype/jp2uc.c: Change to use multiple arrays in jp2uc.h.
3660 Also convert to EUCJP before using arrays. For values not in
3661 the conversion arrays, return WEOF.
3662 * libc/ctype/jp2uc.h: Change from one array to a number of
3663 arrays to account for the fact that the originating table
3664 is not contiguous for the input values since some are invalid.
3665
6e1dfd2d
JJ
36662002-09-24 Jeff Johnston <jjohnstn@redhat.com>
3667
3668 * libc/time/ctime.c: Fix prototype documentation.
3669
06f1353a
CV
36702002-09-24 Corinna Vinschen <corinna@vinschen.de>
3671
3672 * libc/include/sys/errno.h: Add EOVERFLOW.
3673
1e0e64c9
JJ
36742002-09-20 Jeff Johnston <jjohnstn@redhat.com>
3675
3676 * libc/include/wctype.h: New file.
3677
1525d127
JJ
36782002-09-20 Jeff Johnston <jjohnstn@redhat.com>
3679
3680 * libc/ctype/Makefile.am: Add new files.
3681 * libc/ctype/Makefile.in: Regenerated.
3682 * libc/ctype/ctype.tex: Add new iswxxxx, towxxxx, wctype,
3683 and wctrans functions to documentation index.
3684 * libc/ctype/iswalnum.c: New file.
3685 * libc/ctype/iswalpha.c: Ditto.
3686 * libc/ctype/iswblank.c: Ditto.
3687 * libc/ctype/iswcntrl.c: Ditto.
3688 * libc/ctype/iswctype.c: Ditto.
3689 * libc/ctype/iswdigit.c: Ditto.
3690 * libc/ctype/iswgraph.c: Ditto.
3691 * libc/ctype/iswlower.c: Ditto.
3692 * libc/ctype/iswprint.c: Ditto.
3693 * libc/ctype/iswpunct.c: Ditto.
3694 * libc/ctype/iswspace.c: Ditto.
3695 * libc/ctype/iswupper.c: Ditto.
3696 * libc/ctype/iswxdigit.c: Ditto.
3697 * libc/ctype/jp2uc.c: Ditto.
3698 * libc/ctype/jp2uc.h: Ditto.
3699 * libc/ctype/local.h: Ditto.
3700 * libc/ctype/towctrans.c: Ditto.
3701 * libc/ctype/towlower.c: Ditto.
3702 * libc/ctype/towupper.c: Ditto.
3703 * libc/ctype/utf8alpha.h: Ditto.
3704 * libc/ctype/utf8print.h: Ditto.
3705 * libc/ctype/utf8punct.h: Ditto.
3706 * libc/ctype/wctrans.c: Ditto.
3707 * libc/ctype/wctype.c: Ditto.
3708 * libc/locale/locale.c (__lc_ctype): New external array to
3709 replace static lc_ctype array.
3710 * libc/stdlib/mbtowc_r.c: Use __lc_ctype to check current lc_ctype
3711 rather than reentrancy structure's _current_locale field.
3712 * libc/stdlib/wctomb_r.c: Ditto.
3713
da25e61f
JJ
37142002-09-20 Jeff Johnston <jjohnstn@redhat.com>
3715
3716 * configure.host: Minor comment and formatting changes.
3717 * libc/Makefile.am: Add libc_la_DEPENDENCIES.
3718 * libc/Makefile.in: Regenerated.
3719 * libc/include/sys/config.h: Minor format change.
3720
5b9ee539
JJ
37212002-09-19 Jeff Johnston <jjohnstn@redhat.com>
3722
3723 * libc/syscalls/sysfcntl.c (fcntl): Fix typo in preprocessor
3724 statement comment.
3725
50558bf3
JJ
37262002-09-19 Jeff Johnston <jjohnstn@redhat.com>
3727
3728 * libc/posix/opendir.c (opendir): Change code to check
3729 for HAVE_FCNTL before calling fcntl.
3730 * libc/search/hash.c (hash_open): Ditto.
3731 * libc/search/hash_page.c (open_tmp): Ditto.
3732 * libc/reent/Makefile.am: Add fcntlr.c.
3733 * libc/reent/Makefile.in: Regenerated.
3734 * libc/reent/fcntlr.c: New file.
3735 * libc/stdio/fdopen.c (_fdopen_r): Change to call _fcntl_r
3736 instead of _fcntl when HAVE_FCNTL flag is set.
3737 * libc/syscalls/sysfcntl.c (fcntl): Check for HAVE_FCNTL flag
3738 to see if _fcntl or _fcntl_r should be called. If flag is not
3739 set, default to ENOSYS stub.
3740
9211a1ad
JJ
37412002-09-16 Jeff Johnston <jjohnstn@redhat.com>
3742
3743 * libc/include/wchar.h (mbstate_t): Change protective flag to
3744 be _MBSTATE_T.
3745 * libc/include/sys/_types.h (_mbstate_t): Remove protective flag.
3746 [__CYGWIN__]: Remove special code that defines mbstate_t and WEOF
3747 for Cygwin.
3748 * libc/sys/linux/sys/_types.h (_mbstate_t): Remove protective flag.
3749
a8615092
JJ
37502002-09-11 Jeff Johnston <jjohnstn@redhat.com>
3751
3752 * acinclude.m4 (enable-newlib-mb): Change check to
3753 default newlib_mb variable to empty string rather than "no".
3754 * configure.host: Remove hard-coding of -DMB_CAPABLE for
3755 x86-linux and Cygwin. Add code to check for newlib_mb
3756 being unset in which case set to "yes" for x86-linux and
3757 Cygwin. Change check for newlib_mb being "yes" to allow
3758 for an empty string.
3759 * configure.in (_MB_LEN_MAX): New AC_DEFINE.
3760 * newlib.hin (_MB_LEN_MAX): New define to configure.
3761 * aclocal.m4: Regenerated.
3762 * configure: Ditto.
3763 * libc/include/limits.h: New file.
3764 * libc/sys/linux/include/limits.h: Ditto.
3765 * doc/aclocal.m4 doc/configure libc/aclocal.m4
3766 libc/configure libc/include/%redact libc/machine/aclocal.m4
3767 libc/machine/configure libc/machine/a29k/aclocal.m4
3768 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
3769 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
3770 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
3771 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
3772 libc/machine/fr30/configure libc/machine/frv/aclocal.m4
3773 libc/machine/frv/configure libc/machine/h8300/aclocal.m4
3774 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
3775 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
3776 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
3777 libc/machine/i386/configure libc/machine/i960/aclocal.m4
3778 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
3779 libc/machine/m32r/configure libc/machine/m68hc11/aclocal.m4
3780 libc/machine/m68hc11/configure libc/machine/m68k/aclocal.m4
3781 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
3782 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
3783 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
3784 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
3785 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
3786 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
3787 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
3788 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
3789 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
3790 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
3791 libc/machine/v850/configure libc/machine/w65/aclocal.m4
3792 libc/machine/w65/configure libc/machine/xscale/aclocal.m4
3793 libc/machine/xscale/configure
3794 libc/machine/xstormy16/aclocal.m4
3795 libc/machine/xstormy16/configure libc/machine/z8k/aclocal.m4
3796 libc/machine/z8k/configure libc/sys/aclocal.m4
3797 libc/sys/configure libc/sys/a29khif/aclocal.m4
3798 libc/sys/a29khif/configure libc/sys/arc/aclocal.m4
3799 libc/sys/arc/configure libc/sys/arm/aclocal.m4
3800 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
3801 libc/sys/cygwin/configure libc/sys/d10v/aclocal.m4
3802 libc/sys/d10v/configure libc/sys/decstation/aclocal.m4
3803 libc/sys/decstation/configure libc/sys/go32/aclocal.m4
3804 libc/sys/go32/configure libc/sys/h8300hms/aclocal.m4
3805 libc/sys/h8300hms/configure libc/sys/h8500hms/aclocal.m4
3806 libc/sys/h8500hms/configure libc/sys/idt/aclocal.m4
3807 libc/sys/idt/configure libc/sys/linux/aclocal.m4
3808 libc/sys/linux/configure libc/sys/linux/include/%redact
3809 libc/sys/linux/machine/aclocal.m4
3810 libc/sys/linux/machine/configure
3811 libc/sys/linux/machine/i386/aclocal.m4
3812 libc/sys/linux/machine/i386/configure
3813 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
3814 libc/sys/mmixware/aclocal.m4 libc/sys/mmixware/configure
3815 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
3816 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
3817 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
3818 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
3819 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
3820 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
3821 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
3822 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
3823 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
3824 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
3825 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
3826 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
3827 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
3828 libm/aclocal.m4 libm/configure: Regenerated.
3829
be83844e
JJ
38302002-09-09 Jeff Johnston <jjohnstn@redhat.com>
3831
3832 * libc/sys/linux/machine/i386/crt0.c (_start): Remove
3833 code that clears the .bss section.
3834
9c64d2a7
JJ
38352002-09-09 Jeff Johnston <jjohnstn@redhat.com>
3836
3837 * libc/include/sys/_types.h (_mbstate_t): Changed to use
3838 unsigned char internally.
3839 * libc/sys/linux/sys/_types.h: Ditto.
3840 * libc/include/sys/reent.h
3841 * libc/stdlib/mblen.c (mblen): Use function-specific state
3842 value from default reentrancy structure.
3843 * libc/stdlib/mblen_r.c (_mblen_r): If return code from
3844 _mbtowc_r is less than 0, reset state __count value and
3845 return -1.
3846 * libc/stdlib/mbrlen.c (mbrlen): If the input state pointer
3847 is NULL, use the function-specific pointer provided in the
3848 default reentrancy structure.
3849 * libc/stdlib/mbrtowc.c: Add reentrant form of function.
3850 If input state pointer is NULL, use function-specific area
3851 provided in reentrancy structure.
3852 * libc/stdlib/mbsrtowcs.c: Ditto.
3853 * libc/stdlib/wcrtomb.c: Ditto.
3854 * libc/stdlib/wcsrtombs.c: Ditto.
3855 * libc/stdlib/mbstowcs.c: Reformat.
3856 * libc/stdlib/wcstombs.c: Ditto.
3857 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): If an error occurs,
3858 reset the state's __count value and return -1.
3859 * libc/stdlib/mbtowc.c: Ditto.
3860 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Add restartable functionality.
3861 If number of bytes is used up before completing a valid multibyte
3862 character, return -2 and save the state.
3863 * libc/stdlib/wctomb_r.c (_wctomb_r): Define __state as __count
3864 and change some __count references to __state for clarity.
3865
218b7a56
JJ
38662002-09-06 Jeff Johnston <jjohnstn@redhat.com>
3867
3868 * libc/include/sys/config.h (MB_LEN_MAX): Removed as this
3869 is defined by <limits.h>.
3870
c210a6ea
JJ
38712002-09-05 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
3872
3873 * libc/include/wchar.h (WCHAR_MAX): Only define if not already
3874 defined.
3875
efa077ce
JJ
38762002-09-04 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
3877
3878 * libc/include/sys/config.h: Define accordingly __WCHAR_MAX__.
3879 * libc/include/wchar.h: Define WCHAR_MIN as 0 and WCHAR_MAX as
3880 __WCHAR_MAX__ or 0x7fffffffu.
3881 * libc/string/wcscmp.c: Delete wrong and unnecessary type cast.
3882 * libc/string/wcsncmp.c: Ditto.
3883
e4b0ebc1
JJ
38842002-09-03 Jeff Johnston <jjohnstn@redhat.com>
3885
3886 * libc/string/wcschr.c: Add include of <stddef.h>.
3887 * libc/string/wcspbrk.c: Ditto.
3888 * libc/string/wcsrchr.c: Ditto.
3889 * libc/string/wcsstr.c: Ditto.
3890
3db40db7
JJ
38912002-09-03 Jeff Johnston <jjohnstn@redhat.com>
3892
3893 * libc/include/sys/_types.h (_flock_t): Added.
3894 * libc/include/sys/lock.h (__lock_try_acquire): New interface.
3895 (__lock_try_acquire_recursive): Ditto.
3896 * libc/include/sys/reent.h (__sFILE, __sFILE64): Add new
3897 _lock field.
3898 * libc/stdio/findfp.c (std)[!__SINGLE_THREAD__]: Initialize _lock
3899 field.
3900 * libc/stdio/fopen.c (_fopen_r)[!__SINGLE_THREAD__]: Ditto.
3901 * libc/stdio64/fopen64.c (_fopen64_r)[!__SINGLE_THREAD__]: Ditto.
3902 * libc/sys/linux/include/time.h (struct timespec): Moved from
3903 <sys/types.h> and added check for __need_timespec flag so type
3904 can be defined by itself.
3905 * libc/sys/linux/sys/_types.h (_flock_t): New type.
3906 * libc/sys/linux/sys/types.h (struct timespec): Moved to
3907 <time.h>.
3908
cd45f029
TF
39092002-08-29 Thomas Fitzsimmons <fitzsim@redhat.com>
3910
3911 * libc/sys/linux/argp: New directory.
3912 * libc/sys/linux/getopt.c: New file.
3913 * libc/sys/linux/getopt1.c: New file.
3914 * libc/sys/linux/getoptlong.c: Remove file.
3915 * libc/sys/linux/include/argp.h: New file.
3916 * libc/sys/linux/Makefile.am: Define argp_dir and ARGP_LIB,
3917 based on ELIX level.
3918 (SUBDIRS): Add argp_dir.
3919 (SUBLIBS): Add ARGP_LIB.
3920 (ELIX_2_OBJS): Add getopt.$(oext), getopt1.$(oext), remove
3921 getopt_long.$(oext).
3922 * libc/sys/linux/configure.in (AC_OUTPUT): Add argp/Makefile.
3923
3c689185
JJ
39242002-08-29 Jeff Johnston <jjohnstn@redhat.com>
3925
3926 * libc/libc.texinfo: Add node reference to wide-character strings.
3927 * libc/string/wcstrings.tex: New file.
3928 * libc/string/strtok_r.c: Remove outdated advertising clause.
3929 * libc/string/Makefile.am (doc): Add wide-character string
3930 chapter to documentation.
3931 * libc/string/Makefile.in: Regenerated.
3932
890e7a1d
JJ
39332002-08-29 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
3934
3935 * libc/include/wchar.h: Define NULL. Define WEOF more general
3936 way. Declare functions in newlib manner.
3937 * libc/stdlib/Makefile.am: Delete wmem*.c
3938 * libc/stdlib/Makefile.in: Regenerated.
3939 * libc/stdlib/wmemchr.c: Delete.
3940 * libc/stdlib/wmemcmp.c: Ditto.
3941 * libc/stdlib/wmemcpy.c: Ditto.
3942 * libc/stdlib/wmemmove.c: Ditto.
3943 * libc/stdlib/wmemset.c: Ditto.
3944 * libc/string/Makefile.am: Add wmem*.c and wcs*.c.
3945 * libc/string/Makefile.in: Regenerated.
3946 * libc/string/wcscat.c: New file derived from the NetBSD C Library.
3947 * libc/string/wcschr.c: Ditto.
3948 * libc/string/wcscmp.c: Ditto.
3949 * libc/string/wcscpy.c: Ditto.
3950 * libc/string/wcscspn.c: Ditto.
3951 * libc/string/wcslcat.c: Ditto.
3952 * libc/string/wcslcpy.c: Ditto.
3953 * libc/string/wcslen.c: Ditto.
3954 * libc/string/wcsncat.c: Ditto.
3955 * libc/string/wcsncmp.c: Ditto.
3956 * libc/string/wcsncpy.c: Ditto.
3957 * libc/string/wcspbrk.c: Ditto.
3958 * libc/string/wcsrchr.c: Ditto.
3959 * libc/string/wcsspn.c: Ditto.
3960 * libc/string/wcsstr.c: Ditto.
3961 * libc/string/wmemchr.c: Ditto.
3962 * libc/string/wmemcmp.c: Ditto.
3963 * libc/string/wmemcpy.c: Ditto.
3964 * libc/string/wmemmove.c: Ditto.
3965 * libc/string/wmemset.c: Ditto.
3966
86620e21
JJ
39672002-08-29 Jeff Johnston <jjohnstn@redhat.com>
3968
3969 * libc/locale/locale.c (_setlocale_r)[MB_CAPABLE]: Fix so
3970 default locale "" is accepted for LC_CTYPE or LC_MESSAGES
3971 and is treated as if "C" was specified.
3972
f3741c27
JJ
39732002-08-28 Jeff Johnston <jjohnstn@redhat.com>
3974
3975 * Makefile.am (install-data-local): Move install of build
3976 newlib.h after installing headers in libc/include so as to
3977 overwrite default newlib.h.
3978 * Makefile.in: Regenerated.
3979
48da61f5
JJ
39802002-08-28 Jeff Johnston <jjohnstn@redhat.com>
3981
3982 * libc/include/newlib.h: New file for tools that use newlib
3983 headers but don't build newlib first (e.g. gcc).
3984
d82a94ac
JJ
39852002-08-28 Jeff Johnston <jjohnstn@redhat.com>
3986
3987 * libc/stdlib/wmemchr.c: Explicitly include <_ansi.h>.
3988 * libc/stdlib/wmemcmp.c: Ditto.
3989 * libc/stdlib/wmemcpy.c: Ditto.
3990 * libc/stdlib/wmemmove.c: Ditto.
3991 * libc/stdlib/wmemset.c: Ditto.
3992
7d08241b
JJ
39932002-08-27 Egor Duda <deo@logos-m.ru>
3994
3995 * libc/stdlib/wmemchr.c: New file.
3996 * libc/stdlib/wmemcmp.c: Ditto.
3997 * libc/stdlib/wmemcpy.c: Ditto.
3998 * libc/stdlib/wmemmove.c: Ditto.
3999 * libc/stdlib/wmemset.c: Ditto.
4000 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add new files.
4001 * configure.host: Default -DMB_CAPABLE for cygwin.
4002 * libc/include/wchar.h: Declare wmemchr(), wmemcmp(), wmemcpy(),
4003 wmemmove() and wmemset(). Add include of <_ansi.h>.
4004 * libc/stdlib/Makefile.in: Regenerate.
4005
8da1639b
JJ
40062002-08-27 Jeff Johnston <jjohnstn@redhat.com>
4007
ff2bf852 4008 * configure.host: Remove _ELIX_LEVEL flag setting.
8da1639b
JJ
4009 * Makefile.am(stmp-targ-include): Copy newlib.h to targ-include.
4010 (install-data-local): Install newlib.h.
4011 * Makefile.in: Regenerated.
4012 * aclocal.m4: Ditto.
4013 * configure: Ditto.
4014 * configure.in: Add AM_CONFIG_HEADER to generate newlib.h based on
4015 newlib.hin. Add AC_DEFINE_UNQUOTED entries for _ELIX_LEVEL
4016 and _NEWLIB_VERSION to fill in newlib.h header file entries.
4017 In AC_OUTPUT statement, unset ac_file so multilib support does
4018 not use last ac_file temporary used in newlib.h configuration.
4019 * libc/include/_ansi.h: Include <newlib.h>.
4020 * newlib.hin: New template file for newlib.h.
4021 * stamp-h.in: New file.
4022
a4421c11
JJ
40232002-08-26 Wu Yongwei <adah@netstd.com>
4024
4025 * time.h (timezonevar): Change "#if" to "#ifdef".
4026
90b65e2d
JJ
40272002-08-26 Jeff Johnston <jjohnstn@redhat.com>
4028
4029 * Makefile.am(LIBC_OBJECTLISTS): Add STDIO64_OBJECTLIST.
4030 * Makefile.in: Regenerated.
4031 * acinclude.m4: Add support for --enable-newlib-elix-level option.
4032 * aclocal.m4: Regenerated.
4033 * configure: Ditto.
4034 * configure.host: Add code to define _ELIX_LEVEL if
4035 --enable-newlib-elix-level option is used.
4036 * configure.in:
4037 * libc/aclocal.m4: Regenerated.
4038 * libc/configure: Ditto.
4039 * libc/argz/Makefile.am: Add EL/IX level checking.
4040 * libc/argz/Makefile.in: Regenerated.
4041 * libc/argz/dummy.c: New file.
4042 * libc/ctype/Makefile.am: Add EL/IX level checking.
4043 * libc/ctype/Makefile.in: Regenerated.
4044 * libc/locale/Makefile.am: Add EL/IX level checking.
4045 * libc/locale/Makefile.in: Regenerated.
4046 * libc/posix/Makefile.am: Add EL/IX level checking.
4047 * libc/posix/Makefile.in: Regenerated.
4048 * libc/posix/telldir.c: Add EL/IX level checking.
4049 * libc/reent/Makefile.am: Ditto.
4050 * libc/reent/fstat64r.c: Ditto.
4051 * libc/reent/lseek64r.c: Ditto.
4052 * libc/reent/open64r.c: Ditto.
4053 * libc/reent/Makefile.in: Regenerated.
4054 * libc/search/Makefile.am: Add EL/IX level checking.
4055 * libc/search/Makefile.in: Regenerated.
4056 * libc/stdio/Makefile.am: Add EL/IX level checking.
4057 * libc/stdio/Makefile.in: Regenerated.
4058 * libc/stdio64/Makefile.am: Add EL/IX level checking.
4059 * libc/stdio64/Makefile.in: Regenerated.
4060 * libc/stdio64/dummy.c: New file.
9b487837 4061 * libc/stdio64/fgetpos64.c: Fix so _LARGE64_FILES macro is checked
90b65e2d
JJ
4062 after first include.
4063 * libc/stdio64/fopen64.c: Ditto.
4064 * libc/stdio64/freopen64.c: Ditto.
4065 * libc/stdio64/fseeko64.c: Ditto.
4066 * libc/stdio64/fsetpos64.c: Ditto.
4067 * libc/stdio64/ftello64.c: Ditto.
4068 * libc/stdio64/tmpfile64.c: Ditto.
4069 * libc/stdlib/Makefile.am: Add EL/IX level checking.
4070 * libc/stdlib/Makefile.in: Regenerated.
4071 * libc/stdlib/mstats.c: Add EL/IX level checking.
4072 * libc/string/Makefile.am: Ditto.
4073 * libc/string/Makefile.in: Regenerated.
4074 * libc/sys/linux/Makefile.am: Add EL/IX level checking.
4075 * libc/sys/linux/Makefile.in: Regenerated.
4076 * libc/sys/linux/aclocal.m4: Ditto.
4077 * libc/sys/linux/configure: Ditto.
4078 * libc/sys/linux/aio.c: Add EL/IX level checking.
4079 * libc/sys/linux/ftok.c: Ditto.
4080 * libc/sys/linux/getdate.c: Ditto.
4081 * libc/sys/linux/ids.c: Ditto.
4082 * libc/sys/linux/inode.c: Ditto.
4083 * libc/sys/linux/io.c: Ditto.
4084 * libc/sys/linux/process.c: Ditto.
4085 * libc/sys/linux/resource.c: Ditto.
4086 * libc/sys/linux/sched.c: Ditto.
4087 * libc/sys/linux/sig.c: Ditto.
4088 * libc/sys/linux/termios.c: Ditto.
4089 * libc/sys/linux/wait.c: Ditto plus add __waitpid and
4090 __libc___waitpid weak aliases.
4091 * libc/sys/linux/machine/i386/syscall.h: Add new _base macros
4092 that generate the code for a syscall, but do not create a
4093 weak alias.
4094 * libc/syscalls/Makefile.am: Add EL/IX level checking.
4095 * libc/syscalls/Makefile.in: Regenerated.
4096 * libc/time/tzset_r.c: Change to replace strdup with equivalent
4097 functionality.
4098 * libc/unix/Makefile.am: Add EL/IX level checking.
4099 * libc/unix/Makefile.in: Regenerated.
4100
2e2b268c
CF
41012002-08-26 Christopher Faylor <cgf@redhat.com>
4102
4103 * libc/include/malloc.h: On cygwin, define malloc _r functions as
4104 wrapper macros to standard malloc functions.
4105 * libc/include/stdlib.h: Ditto.
4106 * configure.host: Always define MALLOC_PROVIDED on cygwin.
4107
8d9112f2
TF
41082002-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
4109
4110 * libc/include/langinfo.h: New file.
4111 * libc/include/wchar.h: Likewise.
4112 * libc/include/sys/syslimits.h: Likewise.
4113 * libc/locale/fix_grouping.c: Likewise.
4114 * libc/locale/ldpart.c: Likewise.
4115 * libc/locale/ldpart.h: Likewise.
4116 * libc/locale/lmessages.c: Likewise.
4117 * libc/locale/lmessages.h: Likewise.
4118 * libc/locale/lmonetary.c: Likewise.
4119 * libc/locale/lmonetary.h: Likewise.
4120 * libc/locale/lnumeric.c: Likewise.
4121 * libc/locale/lnumeric.h: Likewise.
4122 * libc/locale/nl_langinfo.3: Likewise.
4123 * libc/locale/nl_langinfo.c: Likewise.
4124 * libc/locale/timelocal.c: Likewise.
4125 * libc/locale/timelocal.h: Likewise.
4126 * libc/stdlib/btowc.c: Likewise.
4127 * libc/stdlib/mbrlen.c: Likewise.
4128 * libc/stdlib/mbrtowc.c: Likewise.
4129 * libc/stdlib/mbsinit.c: Likewise.
4130 * libc/stdlib/mbsrtowcs.c: Likewise.
4131 * libc/stdlib/wcrtomb.c: Likewise.
4132 * libc/stdlib/wcsrtombs.c: Likewise.
4133 * libc/stdlib/wctob.c: Likewise.
4134 * libc/sys/linux/prof-freq.c: Likewise.
4135 * libc/sys/linux/profile.c: Likewise.
4136 * libc/sys/linux/machine/i386/dl-procinfo.c: Likewise.
4137 * libc/sys/linux/machine/i386/dl-procinfo.h: Likewise.
4138 * libc/include/stdlib.h: Change re-entrant functions to take
4139 mbstate_t pointers.
4140 * libc/include/sys/_types.h: Define _mbstate_t.
4141 * libc/include/sys/config.h (MB_LEN_MAX): New macro.
4142 * libc/include/sys/errno.h (EILSEQ): New error code.
4143 * libc/include/sys/reent.h: Include wchar.h. Change reentrant
4144 structure to use mbstate_t.
4145 * libc/locale/Makefile.am (LIB_SOURCES): Add new files.
4146 * libc/machine/powerpc/vfprintf.c: Use mbstate_t.
4147 * libc/machine/powerpc/vfscanf.c: Likewise.
4148 * libc/stdio/getdelim.c: Reallocate buffer only when necessary.
4149 * libc/stdio/vfprintf.c: Likewise.
4150 * libc/stdio/vfscanf.c: Likewise.
4151 * libc/stdlib/Makefile.am (LIB_SOURCES): Add new files.
4152 * libc/stdlib/mblen.c: Use mbstate_t.
4153 * libc/stdlib/mblen_r.c: Likewise.
4154 * libc/stdlib/mbstowcs.c: Likewise.
4155 * libc/stdlib/mbstowcs_r.c: Likewise.
4156 * libc/stdlib/mbtowc.c: Likewise.
4157 * libc/stdlib/mbtowc_r.c: Likewise.
4158 * libc/stdlib/wcstombs.c: Likewise.
4159 * libc/stdlib/wcstombs_r.c: Likewise.
4160 * libc/stdlib/wctomb_r.c: Likewise.
4161 * libc/sys/linux/Makefile.am (LIB_SOURCES): Add prof-freq.c and
4162 profile.c.
4163 * libc/sys/linux/machine/i386/Makefile.am (LIB_SOURCES): Add
4164 dl-procinfo.c.
4165 * libc/sys/linux/sys/errno.h (EILSEQ): New error code.
4166 * libc/sys/linux/sys/types.h (off_t): Define type.
4167 * testsuite/newlib.locale/UTF-8.c: Change locale name from UTF-8
4168 to C-UTF-8.
4169 * testsuite/newlib.locale/UTF-8.exp: Likewise.
4170
fe47ea33
JJ
41712002-08-20 Casper S. Hornstrup <chorns@users.sourceforge.net>
4172
4173 * libc/stdlib/mallocr.c: #include windows.h on Win32.
4174 (AlignPage): Continue macro on next line.
4175
ada73509
JJ
41762002-08-19 Jeff Johnston <jjohnstn@redhat.com>
4177
4178 * libc/sys/linux/include/pthread.h: New file.
4179
64b5e8f2
JJ
41802002-08-19 Jeff Johnston <jjohnstn@redhat.com>
4181
4182 * libc/include/sys/types.h: Support __need_inttypes macro
4183 that only sets the __intxx and __uintxx types.
4184 * libc/machine/powerpc/Makefile.am: Add stdlib to include directories
4185 to get mprec.h.
4186 * libc/machine/powerpc/Makefile.in: Regenerated.
4187 * libc/machine/powerpc/vfprintf.c: Fix state variable type.
4188 * libc/machine/powerpc/vfscanf.c: Fix state variable type. Remove
4189 redundant fixed-point conversion prototypes.
4190 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Include <sys/types.h>
4191 after setting __need_inttypes.
4192
a94b60ce
CF
41932002-08-18 Christopher Faylor <cgf@redhat.com>
4194
4195 * libc/include/sys/unistd.h: Add getsid declaration for cygwin.
4196
29e17a86
JJ
41972002-08-17 Jeff Johnston <jjohnstn@redhat.com>
4198
4199 * libc/include/sys/config.h[__PPC__][__SPE__]: Set
4200 _LONG_DOUBLE to double.
4201
936b520f
JJ
42022002-08-17 Jeff Johnston <jjohnstn@redhat.com>
4203
4204 * configure.host: Add powerpc*-*-eabispe* configuration.
4205 * libc/machine/powerpc/atosfix16.c: New fixed-point conversion file.
4206 * libc/machine/powerpc/atosfix32.c: Ditto.
4207 * libc/machine/powerpc/atosfix64.c: Ditto.
4208 * libc/machine/powerpc/atoufix16.c: Ditto.
4209 * libc/machine/powerpc/atoufix32.c: Ditto.
4210 * libc/machine/powerpc/atoufix64.c: Ditto.
4211 * libc/machine/powerpc/fix64.h: Ditto.
4212 * libc/machine/powerpc/simdldtoa.c: Ditto.
4213 * libc/machine/powerpc/strtosfix16.c: Ditto.
4214 * libc/machine/powerpc/strtosfix32.c: Ditto.
4215 * libc/machine/powerpc/strtosfix64.c: Ditto.
4216 * libc/machine/powerpc/strtoufix16.c: Ditto.
4217 * libc/machine/powerpc/strtoufix32.c: Ditto.
4218 * libc/machine/powerpc/strtoufix64.c: Ditto.
4219 * libc/machine/powerpc/ufix64toa.c: Ditto.
4220 * libc/machine/powerpc/configure.in: Add check for
4221 powerpc*-eabispe and add fixed-point conversion functions.
4222 * libc/machine/powerpc/configure: Regenerated.
4223 * libc/machine/powerpc/vfprintf.c[__SPE__]: Add support for
4224 %r and %R format specifiers which handle fixed-point data.
4225 * libc/machine/powerpc/vfscanf.c[__SPE__]: Ditto.
4226 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Add fixed-point
4227 function prototypes.
4228
ad552766
JJ
42292002-08-17 Jeff Johnston <jjohnstn@redhat.com>
4230
4231 * Makefile.am: Move cmath stuff into libc/sys/linux.
4232 * Makefile.in: Regenerated.
4233 * configure.host: Default -DMB_CAPABLE for x86-linux.
4234 * libc/include/reent.h: Define _sbrk to take signed int argument.
4235 * libc/include/sys/unistd.h: Ditto for _sbrk_r and sbrk.
4236 * libc/locale/locale.c[MB_CAPABLE]: Add LC_MESSAGES support and
4237 make locale name checking more efficient. Also allow "C-ISO-8859-1"
4238 locale for LC_CTYPE and LC_MESSAGES.
4239 * libc/reent/sbrkr.c: Change prototype to take ptrdiff_t.
4240 * libc/sys/linux/brk.c: Change sbrk prototype.
4241 * libc/sys/linux/include/time.h: Remove Cygwin stuff and
4242 include <sys/features.h>.
4243 (CLOCK_THREAD_CPUTIME): Renamed to CLOCK_THREAD_CPUTIME_ID.
4244 (CLOCK_PROCESS_CPUTIME): Renamed to CLOCK_PROCESS_CPUTIME_ID.
4245 * libc/sys/linux/sys/cdefs.h: Replace with glibc sys/cdefs.h
4246 with a few local additions.
4247 * libc/sys/linux/sys/features.h: New file.
4248 * libc/sys/linux/sys/unistd.h: Change _sbrk_r and sbrk prototypes
4249 to take signed argument.
4250 * libc/syscalls/syssbrk.c: Change sbrk, _sbrk_r, and _sbrk
4251 prototypes to take signed size argument.
4252
d3bd3632
TF
42532002-08-16 Thomas Fitzsimmons <fitzsim@redhat.com>
4254
4255 * libc/sys/linux/cmath: New directory.
4256 * libc/sys/linux/include/cmathcalls.h: New file.
4257 * libc/sys/linux/include/complex.h: New file.
4258 * libc/sys/linux/machine/i386/huge_val.h: New file
4259 * libm/math/w_sincos.c: New file
4260 * libm/math/wf_sincos.c: New file
4261 * libm/mathfp/s_sincos.c: New file
4262 * libm/mathfp/sf_sincos.c: New file
4263 * Makefile.am (LIBC_OBJECTLISTS): Add cmath/objectlist.awk.in.
4264 * libc/include/math.h: Add sincos and sincosf declarations.
4265 * libc/sys/linux/Makefile.am (SUBDIRS): Add cmath.
4266 (SUBLIBS): Likewise.
4267 * libc/sys/linux/configure.in (AC_OUTPUT): Add cmath.
4268 * libm/math/Makefile.am (src): Add w_sincos.c.
4269 (fsrc): Add wf_sincos.c.
4270 * libm/mathfp/Makefile.am (src): Add s_sincos.c
4271 (fsrc): Add sf_sincos.c.
4272
b3a9676b
JJ
42732002-08-12 Jeff Johnston <jjohnstn@redhat.com>
4274
4275 * libc/sys/linux/machine/i386/crt0.c (__bss_start,_end):
4276 Declare as extern chars and use the address operator to
4277 properly use values set in linker script.
4278
659e7062
JJ
42792002-08-09 Jason Tishler <jason@tishler.net>
4280
4281 * libc/stdlib/mallocr.c: Include <limits.h>.
4282 (request2size): Change macro to do
4283 unsigned long comparisons and avoid signed overflow.
4284 (mALLOc): Add overflow check for the number of bytes to allocate.
4285 (rEALLOc): Ditto.
4286
037240a2
JJ
42872002-08-09 Jeff Johnston <jjohnstn@redhat.com>
4288
4289 * configure.host: Add check for --enable-newlib-io-pos-args
4290 and define WANT_IO_POS_ARGS flag if enabled. Define
4291 the flag by default for x86-linux configurations.
4292 * configure.in: Add support for --enable-newlib-io-pos-args.
4293 * libc/configure.in: Ditto.
4294 * configure: Regenerated.
4295 * libc/configure: Ditto.
4296 * libc/stdio/Makefile.am: Specify -fshort-enums for compiling
4297 vfprintf.c and vfiprintf.c.
4298 * libc/stdio/Makefile.in: Regenerated.
4299 * libc/stdio/vfprintf.c: Add positional argument support that
4300 is enabled by compiling with -DWANT_IO_POS_ARGS.
4301
172fda76
RS
43022002-08-07 Richard Sandiford <rsandifo@redhat.com>
4303
4304 * libc/include/machine/setjmp.h: For mips, define _JBLEN based
4305 based on __mips_soft_float rather than __mips64.
4306 * libc/machine/mips/setjmp.S: Provide hard and soft float versions
4307 of both 32-bit and 64-bit code.
4308
4866247e
CF
43092002-08-04 Christopher Faylor <cgf@redhat.com>
4310
4311 * libc/stdio/popen.c (popen): Allow "rb", "rt", "wb", and "wt"
4312 arguments for popen to match similar functionality in fopen.
4313
b96332ce
CV
43142002-07-29 Pierre Humblet <pierre.humblet@ieee.org>
4315
4316 * libc/include/sys/unistd.h: Add setgroups prototype for Cygwin.
4317
60d99bce
JJ
43182002-07-29 Jeff Johnston <jjohnstn@redhat.com>
4319
4320 * libc/sys/linux/Makefile.am: Add aio64.c.
4321 * libc/sys/linux/Makefile.in: Regenerated.
4322 * libc/sys/linux/aio.c (aio_init): ENOSYS stub added.
4323 * libc/sys/linux/aio64.c: New file.
4324
80a21be0
JJ
43252002-07-26 Jeff Johnston <jjohnstn@redhat.com>
4326
4327 * libc/include/sys/param.h (MAX, MIN): Added macros.
4328 * libc/sys/linux/Makefile.am: Add new files.
4329 * libc/sys/linux/Makefile.in: Regenerated.
4330 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
4331 * libc/sys/linux/inode.c (fchdir): Added syscall.
4332 * libc/sys/linux/ftw.c: New file.
4333 * libc/sys/linux/ftw64.c: Ditto.
4334 * libc/sys/linux/getwd.c: Ditto.
4335 * libc/sys/linux/scandir64.c: Ditto.
4336 * libc/sys/linux/strverscmp.c: Ditto.
4337 * libc/sys/linux/versionsort.c: Ditto.
4338 * libc/sys/linux/versionsort64.c: Ditto.
4339
6b6425cb
JJ
43402002-07-26 Jeff Johnston <jjohnstn@redhat.com>
4341
4342 * libc/string/strings.tex: Fix typo for memccpy.
4343
dc8ac8e6
JJ
43442002-07-25 Jeff Johnston <jjohnstn@redhat.com>
4345
4346 * libc/sys/linux/io64.c (truncate64, ftruncate64): Added.
4347 * libc/sys/linux/sys/types.h (off64_t): Definition added.
4348
aa0ca6fd
JJ
43492002-07-25 Jeff Johnston <jjohnstn@redhat.com>
4350
4351 * libc/sys/linux/Makefile.am: Add fclean.c.
4352 * libc/sys/linux/Makefile.in: Regenerated.
4353 * libc/sys/linux/fclean.c: New file.
4354
61921945
JJ
43552002-07-25 Jeff Johnston <jjohnstn@redhat.com>
4356
4357 * libc/sys/linux/Makefile.am: Add confstr.c.
4358 * libc/sys/linux/Makefile.in: Regenerated.
4359 * libc/sys/linux/confstr.c: New file.
4360 * libc/sys/linux/confstr.h: Ditto.
4361 * libc/sys/linux/sys/unistd.h: Include <features.h> and
4362 <bits/environments.h>.
4363
3d966a92
JJ
43642002-07-25 Jeff Johnston <jjohnstn@redhat.com>
4365
4366 * libc/sys/linux/config.h (__set_errno): Macro definition removed.
4367 * libc/sys/linux/fpathconf.c (__set_errno): Ditto.
4368 * libc/sys/linux/libc-internal.h (__set_errno): Ditto.
4369 * libc/sys/linux/pathconf.c (__set_errno): Ditto.
4370 * libc/sys/linux/ttyname_r.c (__set_errno): Ditto.
4371 * libc/sys/linux/sys/errno.h (__set_errno): Macro definition added.
4372
53b5bff7
JJ
43732002-07-24 Jeff Johnston <jjohnstn@redhat.com>
4374
4375 * libc/sys/linux/Makefile.am: Add new files.
4376 * libc/sys/linux/Makefile.in: Regenerated.
4377 * libc/sys/linux/fstab.c: New file.
4378 * libc/sys/linux/fstatvfs.c: Ditto.
4379 * libc/sys/linux/fstatvfs64.c: Ditto.
4380 * libc/sys/linux/internal_statvfs.c: Ditto.
4381 * libc/sys/linux/mntent.c: Ditto.
4382 * libc/sys/linux/mntent_r.c: Ditto.
4383 * libc/sys/linux/statvfs.c: Ditto.
4384 * libc/sys/linux/statvfs64.c: Ditto.
4385 * libc/sys/linux/include/paths.h: Ditto.
4386 * libc/sys/linux/inode.c (statfs, fstatfs): New syscalls
4387 with double-underscore weak-aliases.
4388 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
4389
9cef8ef5
JJ
43902002-07-24 Jeff Johnston <jjohnstn@redhat.com>
4391
4392 * libc/include/signal.h (SIG_IGN, SIG_DFL, SIG_ERR): Change
4393 to use _sig_func_ptr type casted constants.
4394 (_sig_func_ptr): Typedef moved to sys/signal.h.
4395 * libc/include/sys/signal.h (_sig_func_ptr): Typedef added.
4396 For __rtems, use POSIX definition, otherwise default to ANSI.
4397 * libc/sys/linux/sys/signal.h (_sig_func_ptr): Typedef added.
4398
a703e0f2
JJ
43992002-07-24 Stephane Carrez <stcarrez@nerim.fr>
4400
4401 * configure.host: Recognize m6811-elf and m6812-elf targets.
4402 * libc/include/machine/setjmp.h (_JBLEN): Define for 68hc11/68hc12.
4403 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Define for 68HC11.
4404 (_DOUBLE_IS_32BITS): Define when compiling with -fshort-double.
4405 * libc/include/sys/config.h (INT_MAX, UINT_MAX): Define
4406 according to __INT_MAX__.
4407 (_POINTER_INT): Define to short.
4408 * libc/machine/m68hc11/Makefile.am: New file.
4409 * libc/machine/m68hc11/Makefile.in: New file.
4410 * libc/machine/m68hc11/configure.in: New file.
4411 * libc/machine/m68hc11/configure: New file.
4412 * libc/machine/m68hc11/aclocal.m4: New file.
4413 * libc/machine/m68hc11/setjmp.S: New file.
4414
d254189b
JJ
44152002-07-23 Jeff Johnston <jjohnstn@redhat.com>
4416
4417 * libc/include/string.h: Add mempcpy, strndup, and _strndup_r
4418 prototypes.
4419 * libc/stdlib/Makefile.am: Remove strdup.c and strdup_r.c.
4420 * libc/stdlib/Makefile.in: Regenerated.
4421 * libc/stdlib/strdup.c: Removed.
4422 * libc/stdlib/strdup_r.c: Removed.
4423 * libc/string/Makefile.am: Add strdup.c, strdup_r.c, memccpy.c,
4424 mempcpy.c, strndup.c, and strndup_r.c.
4425 * libc/string/Makefile.in: Regenerated.
4426 * libc/string/memccpy.c: New file.
4427 * libc/string/mempcpy.c: Ditto.
4428 * libc/string/strndup.c: Ditto.
4429 * libc/string/strndup_r.c: Ditto.
4430 * libc/string/strdup.c: New file moved from stdlib.
4431 * libc/string/strdup_r.c: Ditto.
4432 * libc/string/strings.tex: Add memccpy and mempcpy documentation.
4433
bc100655
JJ
44342002-07-23 Jeff Johnston <jjohnstn@redhat.com>
4435
4436 * libc/include/stdio.h: Move fcloseall prototype within
4437 #ifndef _REENT_ONLY section.
4438 * libc/sys/linux/Makefile.am: Add new files.
4439 * libc/sys/linux/Makefile.in: Regenerated.
4440 * libc/sys/linux/sys/stdio.h: Add ctermid prototype.
4441 * libc/sys/linux/sys/unistd.h: Add ttyname_r prototype.
4442 * libc/sys/linux/sys/types.h: Add ino64_t type.
4443 * libc/sys/linux/ctermid.c: New file.
4444 * libc/sys/linux/ttyname_r.c: Ditto.
4445 * libc/sys/linux/readdir64.c: Ditto.
4446
f5f27f07
JJ
44472002-07-22 Jeff Johnston <jjohnstn@redhat.com>
4448
4449 * libc/include/stdio.h (fcloseall, _fcloseall_r): Added prototypes.
4450 * libc/stdio/Makefile.am: Added fcloseall.c support.
4451 * libc/stdio/Makefile.in: Regenerated.
4452 * libc/stdio/fcloseall.c: New file.
4453 * libc/stdio64/Makefile.am: Remove missing .def references.
4454 * libc/stdio64/Makefile.in: Regenerated.
4455
d541ba3e
JJ
44562002-07-22 Jeff Johnston <jjohnstn@redhat.com>
4457
4458 * libc/machine/powerpc/time.c: Removed..renamed to times.c.
4459 * libc/machine/powerpc/times.c: New file.
4460 * libc/machine/powerpc/Makefile.am: Change time.c to times.c.
4461 * libc/machine/powerpc/Makefile.in: Regenerated.
4462
44632002-07-22 Aldy Hernandez <aldyh@redhat.com>
e964bca8
JJ
4464
4465 * libc/machine/powerpc/time.c: New file.
4466 * libc/machine/powerpc/Makefile.am (lib_a_SOURCES): Add
4467 time.c.
4468 * libc/machine/powerpc/Makefile.in: Regenerated.
4469
5e7d0a55
TF
44702002-07-22 Thomas Fitzsimmons <fitzsim@redhat.com>
4471
4472 * libc/libc.texinfo: Change copyright notices to Red Hat from
4473 Cygnus.
4474 * libm/libm.texinfo: Likewise.
4475 * README: Change docs URL to
4476 http://sources.redhat.com/newlib/docs.html.
4477
504628e7
JJ
44782002-07-19 Jeff Johnston <jjohnstn@redhat.com>
4479
4480 * libc/sys/linux/Makefile.am: Add pathconf.c and fpathconf.c.
4481 * libc/sys/linux/Makefile.in: Regenerated.
4482 * libc/sys/linux/inode.c: Add chmod, fchmod, and chown syscalls.
4483 * libc/sys/linux/io.c: Add ftruncate syscall.
4484 * libc/sys/linux/fpathconf.c: New file.
4485 * libc/sys/linux/pathconf.c: Ditto.
4486 * libc/sys/linux/linux_fsinfo.h: Ditto.
4487 * libc/sys/linux/sys/unistd.h: Ditto.
4488
b155ad9f
JJ
44892002-07-19 Jeff Johnston <jjohnstn@redhat.com>
4490
4491 * libc/stdio64/Makefile.am: Remove missing files.
4492 * libc/stdio64/Makefile.in: Regenerated.
4493
c119e0ab
JJ
44942002-07-19 Jeff Johnston <jjohnstn@redhat.com>
4495
4496 * libc/include/sys/config.h[__i386__][__linux__]: Define
4497 _LARGE64FILE_SOURCE to 1.
4498 * libc/sys/linux/Makefile.am: Add getrlimit64.c and setrlimit64.c.
4499 * libc/sys/linux/Makefile.in: Regenerated.
4500 * libc/sys/linux/resource.c: Add __getrlimit and __setrlimit aliases.
4501 * libc/sys/linux/sys/linux_time.h: Protect struct timeval definition.
4502 * libc/sys/linux/sys/resource.h: Include <bits/resource.h> instead
4503 of <linux/resource.h>.
4504 * libc/sys/linux/getrlimit64.c: New file.
4505 * libc/sys/linux/setrlimit64.c: Ditto.
4506
9b022d6d
TF
45072002-07-19 Thomas Fitzsimmons <fitzsim@redhat.com>
4508
4509 * libc/argz/argz_replace.c: Include buf_findstr.h.
4510 * libc/argz/buf_findstr.c: Likewise.
4511 * libc/argz/envz_entry.c: Include buf_findstr.h. Cast return
4512 value to (char *).
4513 * libc/argz/envz_get.c: Likewise.
4514 * libc/include/sys/unistd.h: Add getopt and getsubopt declarations.
4515 * libc/stdlib/Makefile.am (LIB_SOURCES): Add getsubopt.c.
4516 * libc/stdlib/getsubopt.3: New file.
4517 * libc/stdlib/getsubopt.c: New file.
4518 * libc/sys/linux/machine/i386/socketcall.h (__sockcall_base):
4519 Change esp to ebp.
4520
dee51391
JJ
45212002-07-17 Jeff Johnston <jjohnstn@redhat.com>
4522
4523 * configure.host(stdio64_dir): New setting that is used to
4524 enable building of new stdio64 directory.
4525 * libc/Makefile.am[HAVE_STDIO64_DIR]: Add support for
4526 large files.
4527 (stmp-stdio64,stdio64.texi): New targets to optionally add in
4528 stdio64 info to info files.
4529 * libc/Makefile.in: Regenerated.
4530 * libc/configure: Ditto.
4531 * libc/configure.in: Add configuration variables that are set
4532 when stdio64 is selected as subdir in configure.host.
4533 * libc/libc.texinfo: Add optional menu item for Stdio64, based
4534 on whether STDIO64 flag is set or not.
4535 * libc/sys.tex: Add optional stdio64 syscalls based on whether
4536 STDIO64 flag is set or not.
4537 * libc/include/reent.h[__LARGE64_FILES]: Add new stdio64
4538 _r sycall routines.
4539 * libc/include/stdio.h[__LARGE64_FILES]: Add new stdio64 prototypes.
4540 (FILE): Typedef'd to __FILE instead of struct __sFILE directly.
4541 (__SL64): New file flag indicating file is opened via fopen64.
4542 * libc/include/sys/_types.h(_off64_t): Added.
4543 * libc/include/sys/config.h: For x86-linux, define __LARGE64_FILES.
4544 * libc/include/sys/reent.h(struct __sFILE64): New file structure
4545 for 64-bit offset large file support.
4546 (__FILE): New intermediate type either set to struct __sFILE64 or
4547 struct __sFILE, depending on whether __LARGE64_FILES is set or not.
4548 * libc/reent/Makefile.am[HAVE_STDIO64_DIR]: Add new files.
4549 * libc/reent/Makefile.in: Regenerated.
4550 * libc/reent/fstat64r.c: New file.
4551 * libc/reent/lseek64r.c: Ditto.
4552 * libc/reent/open64r.c: Ditto.
4553 * libc/reent/reent.tex: Optionally add stdio64 reentrant syscalls
4554 based on whether STDIO64 flag is set.
4555 * libc/stdio/stdio.tex: Add blank line.
4556 * libc/stdio64/Makefile.am: New file.
4557 * libc/stdio64/Makefile.in: Ditto.
4558 * libc/stdio64/fgetpos64.c: Ditto.
4559 * libc/stdio64/fopen64.: Ditto.
4560 * libc/stdio64/freopen64.c: Ditto.
4561 * libc/stdio64/fseeko64.c: Ditto.
4562 * libc/stdio64/fsetpos64.c: Ditto.
4563 * libc/stdio64/ftello64.c: Ditto.
4564 * libc/stdio64/local64.h: Ditto.
4565 * libc/stdio64/stdio64.c: Ditto.
4566 * libc/stdio64/stdio64.tex: Ditto.
4567 * libc/stdio64/tmpfile64.c: Ditto.
4568 * libc/sys/linux/io64.c: Add weak aliases for lseek64, fstat64, and
4569 open64.
4570
778876f6
JJ
45712002-07-16 Jeff Johnston <jjohnstn@redhat.com>
4572
4573 * libc/Makefile.am (stmp-extra): New target to set makeinfo flag
4574 if LIBC_EXTRA_LIB is present.
4575 * libc/Makefile.in: Regenerated.
4576 * libc/libc.texinfo: Add blank line.
4577 * libc/argz/Makefile.am: Add doc support.
4578 * libc/search/Makefile.am: Ditto.
4579 * libc/argz/Makefile.in: Regenerated.
4580 * libc/search/Makefile.in: Ditto.
4581 * libc/misc/misc.tex: Add ffs function.
4582 * libc/stdio/ftell.c: Fix missing doc delimeter in description.
4583
37981145
JJ
45842002-07-15 Jeff Johnston <jjohnstn@redhat.com>
4585
4586 * libc/include/sys/config.h[__H8300__]: Replace __SMALL_BITFIELDS
4587 definition that was removed in error.
4588
38b5dc59
JJ
45892002-07-15 Jeff Johnston <jjohnstn@redhat.com>
4590
4591 * libc/include/machine/ieeefp.h: Change to only define
4592 floating point defines (e.g one of __IEEE_BIG_ENDIAN or
4593 __IEEE_LITTLE_ENDIAN must be defined for each platform).
4594 * libc/include/sys/config.h: Include <machine/ieeefp.h> and
4595 remove redundant floating point definitions.
4596
8cb61a96
JJ
45972002-07-15 Jeff Johnston <jjohnstn@redhat.com>
4598
4599 * libc/sys/linux/callocr.c: Fix so code references
4600 calloc.
4601
edba3282
JJ
46022002-07-15 Jeff Johnston <jjohnstn@redhat.com>
4603
4604 * libc/sys/linux/Makefile.am: Add new files.
4605 * libc/sys/linux/Makefile.in: Regenerated.
4606 * libc/sys/linux/bp-sym.h: Moved to include directory.
4607 * libc/sys/linux/mmap.c: Add weak aliases: __mmap, __munmap, __mremap.
4608 * libc/sys/linux/inode.c: Set _LIBC to 1.
4609 * libc/sys/linux/mq_close.c: Ditto.
4610 * libc/sys/linux/mq_getattr.c: Ditto.
4611 * libc/sys/linux/mq_open.c: Ditto.
4612 * libc/sys/linux/mq_receive.c: Ditto.
4613 * libc/sys/linux/mq_send.c: Ditto.
4614 * libc/sys/linux/mq_setattr.c: Ditto.
4615 * libc/sys/linux/mq_unlink.c: Ditto.
4616 * libc/sys/linux/calloc.c: New file.
4617 * libc/sys/linux/callocr.c: Ditto.
4618 * libc/sys/linux/cfreer.c: Ditto.
4619 * libc/sys/linux/config.h: Ditto.
4620 * libc/sys/linux/free.c: Ditto.
4621 * libc/sys/linux/freer.c: Ditto.
4622 * libc/sys/linux/msize.c: Ditto.
4623 * libc/sys/linux/msizer.c: Ditto.
4624 * libc/sys/linux/mstats.c: Ditto.
4625 * libc/sys/linux/mtrim.c: Ditto.
4626 * libc/sys/linux/mtrimr.c: Ditto.
4627 * libc/sys/linux/pvallocr.c: Ditto.
4628 * libc/sys/linux/realloc.c: Ditto.
4629 * libc/sys/linux/reallocr.c: Ditto.
4630 * libc/sys/linux/thread-m.h: Ditto.
4631 * libc/sys/linux/vallocr.c: Ditto.
4632 * libc/sys/linux/bp-checks.h: Ditto.
4633 * libc/sys/linux/libc-symbols.h: Ditto.
4634 * libc/sys/linux/libc-tsd.h: Ditto.
4635 * libc/sys/linux/libintl.h: Ditto.
4636 * libc/sys/linux/malign.c: Ditto.
4637 * libc/sys/linux/malignr.c: Ditto.
4638 * libc/sys/linux/mallinfor.c: Ditto.
4639 * libc/sys/linux/malloc.c: Ditto.
4640 * libc/sys/linux/mallocr.c: Ditto.
4641 * libc/sys/linux/malloptr.c: Ditto.
4642 * libc/sys/linux/mallstatsr.c: Ditto.
4643 * libc/sys/linux/mcheck.c: Ditto.
4644 * libc/sys/linux/mhooks.h: Ditto.
4645 * libc/sys/linux/include/bp-sym.h: Ditto.
4646 * libc/sys/linux/include/malloc.h: Ditto.
4647 * libc/sys/linux/include/mcheck.h: Ditto.
4648 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Remove
4649 getpagesize.c.
4650 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerated.
4651 * libc/sys/linux/linuxthreads/machine/i386/getpagesize.c: Moved.
4652 * libc/sys/linux/machine/i386/getpagesize.c: New file.
4653 * libc/sys/linux/machine/i386/Makefile.am: Add getpagesize.c.
4654 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
4655 * libc/sys/linux/machine/i386/sysdep.h: New file.
4656 * libc/sys/linux/machine/i386/weakalias.h: Add weak_function support.
4657 * libc/sys/linux/sys/dirent.h: Set _LIBC to 1.
4658 * libc/sys/linux/sys/lock.h: Include <machine/weakalias.h>.
4659
ea20b60a
JJ
46602002-07-12 Jeff Johnston <jjohnstn@redhat.com>
4661
4662 * libc/sys/linux/include/mqueue.h: Change to use <bits/siginfo.h>
4663 instead of <asm/siginfo.h>.
4664 * libc/sys/linux/sys/signal.h: Change to include various linux
4665 <bits/xxx.h> header files, rather than <linux/signal.h> so as
4666 to work with multiple releases of glibc header files.
4667
2fc82912
JJ
46682002-07-11 Chris Demetriou <cgd@broadcom.com>
4669
4670 * testsuite/newlib.search/hsearchtest.c: New file to test
4671 newlib/libc/search.
4672 * testsuite/newlib.search/hsearchtest.exp: Likewise.
4673
4a404e97 46742002-07-10 Florian Schrack <florian.schrack@freenet.de>
2a8b4ea3
JJ
4675
4676 * libc/sys/mmixware/read.c: Use SYS_Fgets syscall if dealing with
4677 a terminal.
4678 * libc/sys/mmixware/sys/syscall.h (SYS_Fgets): Definition added.
4679
6aec558e
JJ
46802002-07-08 Jeff Johnston <jjohnstn@redhat.com>
4681
4682 * libc/include/math.h (MAXFLOAT): Added.
4683
e47e6f0e 4684Mon Jul 8 13:55:23 2002 J"orn Rennecke <joern.rennecke@superh.com>
a31df303
JR
4685
4686 * libc/machine/sh/Makefile.am (lib_a_SOURCES):
4687 Make strcmp.S unconditional.
4688 * libc/machine/sh/Makefile.in: Regenerate.
4689 * libc/machine/sh/asm.h (DELAYED_BRANCHES, SL): Also for __SH5__ .
4690 * strcmp.S (strcmp): Add SHmedia variant. Use different registers
4691 for SHcompact.
4692
89ffbd66
JJ
46932002-07-04 Jeff Johnston <jjohnstn@redhat.com>
4694
4695 * libc/sys/linux/inode.c: Fix utime prototype and add _LIBC
4696 define before including <sys/lock.h>.
4697
ae6c4c84
JJ
46982002-07-04 Jeff Johnston <jjohnstn@redhat.com>
4699
4700 * libc/include/utime.h: Add include of <_ansi.h>.
4701 * libc/sys/linux/Makefile.am: Add utimes.c.
4702 * libc/sys/linux/Makefile.in: Regenerated.
4703 * libc/sys/linux/inode.c(__umask): New static routine.
4704 (umask): Written to use __umask and attempt to thread lock.
4705 (getumask): New function written to use __umask and thread lock.
4706 * libc/sys/linux/utimes.c: New file.
4707 * libc/sys/linux/sys/time.h: Fix utimes prototype.
4708 * libc/sys/linux/sys/utime.h: New file.
4709
a6cac46c
TF
47102002-07-04 Thomas Fitzsimmons <fitzsim@redhat.com>
4711
4712 * libtool.m4: New file.
4713 * libc/sys/linux/process.c: Implement vfork in terms of fork,
4714 rather than as a syscall.
4715
30b2092f
JJ
47162002-07-04 Jeff Johnston <jjohnstn@redhat.com>
4717
4718 * libc/include/stdio.h: Add new prototypes.
4719 * libc/stdio/Makefile.am: Add fseeko.c and ftello.c.
4720 * libc/stdio/Makefile.in: Regenerated.
4721 * libc/stdio/fseek.c: Add fseeko documentation.
4722 * libc/stdio/ftell.c: Add ftello documentation.
4723 * libc/stdio/fseeko.c: New file.
4724 * libc/stdio/ftello.c: New file.
4725
7501704d
JJ
47262002-07-04 Jeff Johnston <jjohnstn@redhat.com>
4727
4728 * libc/stdio/Makefile.am: Add asprintf.c and vasprintf.c.
4729 * libc/stdio/Makefile.in: Regenerated.
4730 * libc/stdio/asprintf.c: New file.
4731 * libc/stdio/vasprintf.c: Ditto.
4732 * libc/stdio/fvwrite.c: Add code to dynamically reallocate
4733 the buffer for asprintf support.
4734 * libc/stdio/sprintf.c: Add asprintf documentation.
4735 * libc/stdio/vfprintf.c: Add vasprintf documentation.
4736 * libc/include/stdio.h: Add new prototypes.
4737
66eee32b
TF
47382002-07-02 Thomas Fitzsimmons <fitzsim@redhat.com>
4739
4740 * libc/search/hcreate.c: Remove advertising clause from license.
4741 * libc/search/hcreate_r.c: Likewise.
4742
cec4a9f8
JJ
47432002-07-02 Chris Demetriou <cgd@broadcom.com>
4744
4745 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN)
4746 (__IEEE_BIG_ENDIAN): Define appropriately for MIPS.
4747 Check that one of them is defined and error out if not.
4748 Add any platforms defined in <machine/ieeefp.h> that are missing.
4749 * libc/search/hash.h (DB_BYTE_ORDER, DB_BIG_ENDIAN)
4750 (DB_LITTLE_ENDIAN): New defines.
4751 * libc/search/hash.c: Replace all incorrect checks for
4752 _IEEE_LITTLE_ENDIAN with tests of BYTE_ORDER, and all uses of
4753 BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN with DB_* versions.
4754 * libc/search/hash_page.c: Likewise.
4755
2d5eb17e
TF
47562002-06-28 Thomas Fitzsimmons <fitzsim@redhat.com>
4757
4758 * libm/mathfp/sf_pow.c (powf): Change k from int to float.
4759
c1a3171f
JJ
47602002-06-27 Benjamin Kosnik <bkoz@redhat.com>
4761
4762 * libc/include/stdio.h: Untangle, add _BEGIN_STD_C and _END_STD_C.
4763 * libc/include/time.h: Same.
4764 * libc/include/string.h: Same.
4765 * libc/include/stdlib.h: Same.
4766 * libc/include/signal.h: Same.
4767 * libc/include/setjmp.h: Same.
4768 * libc/include/math.h: Same.
4769 * libc/include/locale.h: Same.
4770 * libc/include/ctype.h: Same.
4771 * libc/include/machine/setjmp.h: Same.
4772 * libc/include/_ansi.h (_BEGIN_STD_C): Add.
4773 (_END_STD_C): Add.
4774
533b4e66
JJ
47752002-06-27 Jeff Johnston <jjohnstn@redhat.com>
4776
4777 * libc/include/sys/_types.h: Define _ssize_t as int if int is
4778 32-bits, otherwise define it as long.
4779 * libc/include/sys/types.h: Include <_ansi.h> and <sys/_types.h>
4780 and define ssize_t as _ssize_t.
4781 * libc/reent/readr.c: Change return type to _ssize_t.
4782 * libc/reent/writer.c: Ditto.
4783 * libc/sys/linux/Makefile.am: Add aio.c.
4784 * libc/sys/linux/Makefile.in: Regenerated.
4785 * libc/sys/linux/aio.c: New file.
4786 * libc/sys/linux/sys/cdefs.h: Add __restrict_arr definition.
4787 * libm/common/fdlibm.h: Undef __P before defining it.
4788
c36e6dd7
TF
47892002-06-27 Thomas Fitzsimmons <fitzsim@redhat.com>
4790
54be629f
TF
4791 * libm/mathfp/s_pow.c (pow): Fix checks on variable k. Add
4792 exponent_is_even_int variable. Handle case where x is
4793 negative, and y is an odd integer.
4794 * libm/mathfp/sf_pow.c (powf): Likewise.
4795
c36e6dd7
TF
4796 * libm/mathfp/er_lgamma.c: Remove __kernel references.
4797 * libm/mathfp/erf_lgamma.c: Likewise.
4798 * libm/mathfp/s_tgamma.c: Likewise.
4799 * libm/mathfp/sf_tgamma.c: Likewise.
4800
baf051ca
JJ
48012002-06-27 Jeff Johnston <jjohnstn@redhat.com>
4802
4803 * libc/sys/linux/Makefile.am: Add new clock routines.
4804 * libc/sys/linux/Makefile.in: Regenerated.
4805 * libc/sys/linux/clock_getres.c: New file.
4806 * libc/sys/linux/clock_gettime.c: Ditto.
4807 * libc/sys/linux/clock_settime.c: Ditto.
4808 * libc/sys/linux/hp-timing.h: Ditto.
4809 * libc/sys/linux/libc-internal.h: Ditto.
4810 * libc/sys/linux/sysconf.c: Fix typo.
4811 * libc/sys/linux/include/time.h: Add include of <sys/linux_time.h>.
4812 * libc/sys/linux/machine/hp-timing.h: New file.
4813 * libc/sys/linux/machine/i386/Makefile.am: Add new files.
4814 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
4815 * libc/sys/linux/machine/i386/get_clockfreq.c: New file.
4816 * libc/sys/linux/machine/i386/hp-timing.c: Ditto.
4817 * libc/sys/linux/machine/i386/hp-timing.h: Ditto.
4818 * libc/sys/linux/sys/linux_time.h: New file.
4819 * libc/sys/linux/sys/time.h: Remove include of <linux/time.h> and
4820 replace with <sys/linux_time.h>.
4821
0431ed4e
JR
4822Wed Jun 26 16:33:25 2002 J"orn Rennecke <joern.rennecke@superh.com>
4823
4824 * libc/sys/sh/crt0.S: Remove vestigial .section directive.
4825
fc067ba5
JJ
48262002-06-25 Jeff Johnston <jjohnstn@redhat.com>
4827
4828 * libc/sys/linux/Makefile.am: Consolidate additional items under
4829 ADD_OBJS.
4830 * libc/sys/linux/Makefile.in: Regenerated.
4831
ffddf61e
JJ
48322002-06-25 Jeff Johnston <jjohnstn@redhat.com>
4833
4834 * libc/sys/linux/sethostname.c: New file.
4835 * libc/sys/linux/Makefile.am: Add sethostname.c support.
4836 * libc/sys/linux/Makefile.in: Regenerated.
4837
d5487d3f
TF
48382002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
4839
4840 * libc/search/db_local.h: New file.
4841 * libc/include/db.h: Remove.
4842 * libc/search/Makefile.am (LIB_SOURCES): Add db_local.h.
4843 * libc/search/hash.c (MIN,MAX): Add macros. Change <db.h> to
4844 "db_local.h".
4845 * libc/search/hash_bigkey.c: Likewise.
4846 * libc/search/hash_buf.c: Likewise.
4847 * libc/search/hash_func.c: Likewise.
4848 * libc/search/hash_log2.c: Likewise.
4849 * libc/search/hash_page.c: Likewise.
4850
48512002-06-24 J"orn Rennecke <joern.rennecke@superh.com>
e08a6118 4852
1e7ca711 4853 * libc/machine/sh/strlen.S: New file.
e08a6118
JR
4854 * libc/machine/sh/Makefile.am (lib_a_SOURCES): Add rule for it.
4855 * libc/machine/sh/Makefile.am: Regenerate.
4856
59c6d6c4
JJ
48572002-06-24 Jeff Johnston <jjohnstn@redhat.com>
4858
4859 * libc/sys/linux/gethostname.c: Change name to __gethostname and
4860 add gethostname alias.
4861
a70486d7
JJ
48622002-06-24 Jeff Johnston <jjohnstn@redhat.com>
4863
4864 * libc/include/math.h: Remove <sys/types.h>.
a5dadf33 4865 (__dmath): Use __ULong instead of __uint32_t.
a70486d7 4866 * libc/include/sys/reent.h: If long or int is not 32-bits,
a5dadf33 4867 include <sys/types.h> to get definitions for __int32_t and __uint32_t.
a70486d7
JJ
4868 * libc/stdlib/mprec.h: Include <sys/types.h> to get integer defs.
4869 * libm/common/fdlibm.h: Ditto.
4870
3118725a
TF
48712002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
4872
4873 * libc/include/ndbm.h: Remove.
4874 * libc/search/ndbm.c: Remove.
4875
30a06168
TF
48762002-06-24 WATANABE Hirofumi <eban@os.rim.or.jp>
4877
4878 * libc/stdio/fseek.c (fseek): Fix braces.
4879
01f5155e
CV
48802002-06-21 Corinna Vinschen <corinna@vinschen.de>
4881
4882 * libc/time/strftime.c (strftime): Add %e format specifier.
4883
930bc96b
TF
48842002-06-21 Thomas Fitzsimmons <fitzsim@redhat.com>
4885
4886 * libc/search/hash.h (LITTLE_ENDIAN, BIG_ENDIAN): Define if not
4887 previously defined.
4888
55105f86
JJ
48892002-06-21 Richard Earnshaw (rearnsha@arm.com)
4890
4891 * libc/sys/arm/sys/param.h (BIG_ENDIAN, LITTLE_ENDIAN): Define.
4892 (BYTE_ORDER): Define as appropriate for the target.
4893
2e78444a
JJ
48942002-06-21 Jeff Johnston <jjohnstn@redhat.com>
4895
4896 * libc/include/sys/config.h[__linux__]: Set _READ_WRITE_RETURN_TYPE
4897 to _ssize_t.
4898 * libc/sys/linux/io.c (read, write): Change to return ssize_t.
4899
d427d092
JJ
49002002-06-21 Jeff Johnston <jjohnstn@redhat.com>
4901
4902 * libc/include/stdio.h (__getline, __getdelim): New prototypes.
4903 * libc/include/time.h [HAVE_GETDATE](getdate, getdate_r): Ditto.
4904 [HAVE_GETDATE](getdate_err): New error code.
4905 * libc/stdio/Makefile.am: Add support for getline.c and getdelim.c.
4906 * libc/stdio/Makefile.in: Regenerated.
4907 * libc/stdio/getdelim.c: New file.
4908 * libc/stdio/getline.c: Ditto.
4909 * libc/sys/linux/Makefile.am: Add support for getdate.c, getdate_err.c
4910 and ntp_gettime.c. Also add AM_CFLAGS to point to libc/stdio.
4911 * libc/sys/linux/Makefile.in: Regenerated.
4912 * libc/sys/linux/getdate.c: New file.
4913 * libc/sys/linux/getdate_err.c: Ditto.
4914 * libc/sys/linux/ntp_gettime.c: Ditto.
4915 * libc/sys/linux/time.c (adjtimex, ntp_adjtime): New functions.
4916 * libc/sys/linux/sys/stdio.h (getline, getdelim): New macros.
4917
35728d4f
JJ
49182002-06-21 Jeff Johnston <jjohnstn@redhat.com>
4919
4920 * libc/include/math.h: Add <sys/types.h> to get _uint32_t definition.
4921 * libc/include/machine/types.h: Skip __off_t, __pid_t, and
4922 __loff_t definitions if special _HAVE_SYSTYPES macro defined.
4923 * libc/include/sys/config.h: Removed _uint*, _int* definitions.
4924 * libc/include/sys/param.h: Remove i386 case which is handled
4925 by default case.
4926 (BIG_ENDIAN, LITTLE_ENDIAN): Protect
4927 definitions in case they are already defined.
4928 (BYTE_ORDER): Add default case using _IEEE_BIG_ENDIAN and
4929 _IEEE_LITTLE_ENDIAN flags.
4930 * libc/include/sys/reent.h: Change __uint32_t references to
4931 use _ULong instead.
4932 (_REENT_GETDATE_REENT_P): New macro.
4933 * libc/include/sys/types.h (__int16_t, __uint16_t): Added.
4934 (__int32_t, __uint32_t, __int64_t, __uint64_t): Ditto.
4935 * libc/search/hash.h: Add default setting of BYTE_ORDER,
4936 LITTLE_ENDIAN, and BIG_ENDIAN, if not already defined.
4937 * libc/sys/linux/sys/types.h: Include <sys/_types.h>. Define
4938 ssize_t based on _ssize_t. Remove __socklen_t, __uintptr_t,
4939 pid_t, off_t, loff_t, caddr_t, and daddr_t type
4940 definitions which are done by subsequent glibc headers.
4941 Add macro definitions to prevent subsequent header files from
4942 defining pid_t, off_t, ssize_t, and key_t. Move uintptr_t and
4943 intptr_t to after glibc definitions of types they are based on.
4944
4a2bfab7
JJ
49452002-06-21 Jeff Johnston <jjohnstn@redhat.com>
4946
4947 * libc/include/errno.h: Protect from multiple inclusion.
4948
f42d18ea
NC
49492002-06-21 Nick Clifton <nickc@cambridge.redhat.com>
4950
4951 * libc/sys/arm/swi.h (ADP_Stopped_RunTimeError): Set correct value.
4952
a7b23a8f
TF
49532002-06-20 Thomas Fitzsimmons <fitzsim@redhat.com>
4954
4955 * Makefile.am (LIB_OBJECTLISTS): Add
4956 libc/search/objectlist.awk.in.
4957 * libc/Makefile.am (SUBDIRS): Add search.
4958 (SUBLIBS): Add search/libsearch.la.
4959 * libc/configure.in (AC_OUTPUT): Add search/Makefile.
4960 * libc/search: New directory.
4961 * libc/search/Makefile.am: New file.
4962 * libc/search/extern.h: New file.
4963 * libc/search/hash.c: New file.
4964 * libc/search/hash.h: New file.
4965 * libc/search/hash_bigkey.c: New file.
4966 * libc/search/hash_buf.c: New file.
4967 * libc/search/hash_func.c: New file.
4968 * libc/search/hash_log2.c: New file.
4969 * libc/search/hash_page.c: New file.
4970 * libc/search/hcreate.3: New file.
4971 * libc/search/hcreate.c: New file.
a7b23a8f
TF
4972 * libc/search/hcreate_r.c: New file.
4973 * libc/search/ndbm.c: New file.
4974 * libc/search/page.h: New file.
4975 * libc/search/tdelete.c: New file.
4976 * libc/search/tdestroy.c: New file.
4977 * libc/search/tfind.c: New file.
4978 * libc/search/tsearch.3: New file.
4979 * libc/search/tsearch.c: New file.
4980 * libc/search/twalk.c: New file.
4981 * libc/include/db.h: New file.
4982 * libc/include/ndbm.h: New file.
4983 * libc/include/search.h: New file.
4984 * libc/include/sys/queue.h: New file.
4985 * libc/include/sys/cdefs.h: New file.
4986 * libc/include/sys/param.h
4987 [__IEEE_LITTLE_ENDIAN,__IEEE_BIG_ENDIAN]: Set BYTE_ORDER to
4988 LITTLE_ENDIAN or BIG_ENDIAN.
4989 * libc/include/sys/errno.h (EFTYPE): New macro.
4990 * libc/search/bsearch.c: Move from libc/stdlib.
4991 * libc/search/qsort.c: Likewise.
4992 * libc/stdlib/Makefile.am (LIB_SOURCES): Remove bsearch.c and
4993 qsort.c.
4994 (CHEWOUT_FILES): Remove bsearch.def and qsort.def.
4995 * libc/stdlib/stdlib.tex: Remove references to bsearch and qsort.
4996
ef467338
JJ
49972002-06-19 Jeff Johnston <jjohnstn@redhat.com>
4998
4999 * libc/sys/linux/Makefile.am: Add support for message queue routines,
5000 ipc routines, and ftok.
5001 * libc/sys/linux/Makefile.in: Regenerated.
5002 * libc/sys/linux/ftok.c: New file.
5003 * libc/sys/linux/ipc.c: Ditto.
5004 * libc/sys/linux/mq_close.c: Ditto.
5005 * libc/sys/linux/mq_getattr.c: Ditto.
5006 * libc/sys/linux/mq_notify.c: Ditto.
5007 * libc/sys/linux/mq_open.c: Ditto.
5008 * libc/sys/linux/mq_receive.c: Ditto.
5009 * libc/sys/linux/mq_send.c: Ditto.
5010 * libc/sys/linux/mq_setattr.c: Ditto.
5011 * libc/sys/linux/mq_unlink.c: Ditto.
5012 * libc/sys/linux/mqlocal.h: Ditto.
5013 * libc/sys/linux/include/mqueue.h: Ditto.
5014 * libc/sys/linux/sys/types.h: Define __gid_t_defined and
5015 __uid_t_defined.
5016
7f55c08c
TF
50172002-06-19 J"orn Rennecke <joern.rennecke@superh.com>
5018
5019 * libm/common/sf_lround.c (round): Change name to: (lround).
5020 * libm/common/sf_remquo.c (remquo): Pass all arguemnts to
5021 remquof.
5022
c9ca68d7
TF
50232002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
5024
5025 * testsuite/lib/passfail.exp (newlib_pass_fail_all): New
5026 procedure.
5027 (newlib_pass_fail): Change to compile and run only one file.
5028 * testsuite/newlib.locale/locale.exp: Use new
5029 newlib_pass_fail_all procedure.
5030 * testsuite/newlib.string/string.exp: Likewise.
5031
4ecedd09
DB
50322002-06-18 Dave Brolley <brolley@redhat.com>
5033
5034 From Catherine Moore, Michael Meissner, Richard Sandiford:
5035 * libc/include/machine/setjmp.h (_JBLEN): Define for __frv__.
5036 (_JBTYPE): Ditto.
5037 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Ditto.
5038 (__ATTRIBUTE_IMPURE_PTR__): Ditto.
5039 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Ditto.
5040 * configure.host: Support frv-*-*.
5041 * libc/machine/frv/Makefile.am: New file.
5042 * libc/machine/frv/configure.in: New file.
5043 * libc/machine/frv/setjmp.S: New file.
5044
af1c257a
TF
50452002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
5046
5047 * libc/include/ctype.h: Remove isblank macro.
5048
5049 * libc/ctype/Makefile.am (LIB_SOURCES): Add isblank.c.
5050 * libc/ctype/isblank.c: New file.
5051 * libc/include/ctype.h [!__STRICT_ANSI__]: Add isblank
5052 declaration. Add isblank macro.
5053
4e04fa90
JJ
50542002-06-18 Jeff Johnston <jjohnstn@redhat.com>
5055
5056 * testsuite/newlib.stdlib/atexit.c: New file.
5057 * testsuite/newlib.stdlib/atexit.exp: Ditto.
5058 * testsuite/newlib.string/tstring.c: Change default start size
5059 to something more reasonable for embedded platforms.
5060
b56d7e79
TF
50612002-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
5062
ece3c72f
TF
5063 * libc/sys/linux/sys/errno.h (EFTYPE): Add macro.
5064
b56d7e79
TF
5065 * libc/argz: New directory.
5066 * libc/argz/*: New files.
5067 * libc/argz/argz_add.c: New file.
5068 * libc/argz/argz_add_sep.c: New file.
5069 * libc/argz/argz_append.c: New file.
5070 * libc/argz/argz_count.c: New file.
5071 * libc/argz/argz_create.c: New file.
5072 * libc/argz/argz_create_sep.c: New file.
5073 * libc/argz/argz_delete.c: New file.
5074 * libc/argz/argz_extract.c: New file.
5075 * libc/argz/argz_insert.c: New file.
5076 * libc/argz/argz_next.c: New file.
5077 * libc/argz/argz_replace.c: New file.
5078 * libc/argz/argz_stringify.c: New file.
5079 * libc/argz/buf_findstr.c: New file.
5080 * libc/argz/envz_add.c: New file.
5081 * libc/argz/envz_entry.c: New file.
5082 * libc/argz/envz_get.c: New file.
5083 * libc/argz/envz_merge.c: New file.
5084 * libc/argz/envz_remove.c: New file.
5085 * libc/argz/envz_strip.c: New file.
5086 * libc/include/argz.h: New file.
5087 * libc/include/envz.h: New file.
5088 * Makefile.am (LIBC_OBJECTLISTS): Add
5089 libc/argz/objectlist.awk.in.
5090 * libc/Makefile.am (SUBDIRS): Add argz.
5091 (SUBLIBS): Add argz/libargz.la.
5092 * libc/configure.in (AC_OUTPUT): Add argz/Makefile.
5093 * libc/include/errno.h: Add error_t typedef.
5094
d062d3dd
JJ
50952002-06-13 Jeff Johnston <jjohnstn@redhat.com>
5096
5097 * libc/include/stdlib.h: Add _Exit prototype.
5098 * libc/stdlib/Makefile.am: Add _Exit.c support.
5099 * libc/stdlib/Makefile.in: Ditto.
5100 * libc/stdlib/_Exit.c: New file.
5101
a47e66ae
JJ
51022002-06-13 Stephen L. Moshier <steve@moshier.net>
5103
5104 * libm/math/e_pow.c (__ieee754_pow): Fix case whereby
5105 x is close to -1.0 and y is very large to use ax (absolute value)
5106 instead of x.
5107 * libm/math/ef_pow.c (__ieee754_powf): Ditto.
5108
13f7d71f
JR
5109Thu Jun 13 19:23:40 2002 J"orn Rennecke <joern.rennecke@superh.com>
5110
5111 * libc/machine/sh/strcpy.S (strcpy, __SHMEDIA__ code):
5112 Fix clobbering bytes before destination if src and dst have same
5113 non-zero misalignment.
1f1fb421
JR
5114
5115 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
5116 Fixed bug in writing end of set region.
5117
b2e8018f
CF
51182002-06-10 Christopher Faylor <cgf@redhat.com>
5119
5120 * libc/include/process.h: Remove cygwin-only sexec* declarations. Fix
5121 spawnve declaration.
5122
0953fe64
TF
51232002-06-06 Thomas Fitzsimmons <fitzsim@redhat.com>
5124
5125 * libm/common/s_fdim.c: New file.
5126 * libm/common/s_fma.c: Likewise.
5127 * libm/common/s_fmax.c: Likewise.
5128 * libm/common/s_fmin.c: Likewise.
5129 * libm/common/s_fpclassify.c: Likewise.
5130 * libm/common/s_lrint.c: Likewise.
5131 * libm/common/s_lround.c: Likewise.
5132 * libm/common/s_nearbyint.c: Likewise.
5133 * libm/common/s_remquo.c: Likewise.
5134 * libm/common/s_round.c: Likewise.
5135 * libm/common/s_scalbln.c: Likewise.
5136 * libm/common/s_signbit.c: Likewise.
5137 * libm/common/s_trunc.c: Likewise.
5138 * libm/common/sf_fdim.c: Likewise.
5139 * libm/common/sf_fma.c: Likewise.
5140 * libm/common/sf_fmax.c: Likewise.
5141 * libm/common/sf_fmin.c: Likewise.
5142 * libm/common/sf_lrint.c: Likewise.
5143 * libm/common/sf_lround.c: Likewise.
5144 * libm/common/sf_nearbyint.c: Likewise.
5145 * libm/common/sf_remquo.c: Likewise.
5146 * libm/common/sf_round.c: Likewise.
5147 * libm/common/sf_scalbln.c: Likewise.
5148 * libm/common/sf_trunc.c: Likewise.
5149 * libm/math/w_exp2.c: Likewise.
5150 * libm/math/w_tgamma.c: Likewise.
5151 * libm/math/wf_exp2.c: Likewise.
5152 * libm/math/wf_tgamma.c: Likewise.
5153 * libm/mathfp/s_exp2.c: Likewise.
5154 * libm/mathfp/s_tgamma.c: Likewise.
5155 * libm/mathfp/sf_exp2.c: Likewise.
5156 * libm/mathfp/sf_tgamma.c: Likewise.
5157 * libm/math/er_gamma.c: Fix return value.
5158 * libm/math/erf_gamma.c: Likewise.
5159 * libm/mathfp/er_gamma.c: Likewise.
5160 * libm/mathfp/erf_gamma.c: Likewise.
5161 * libc/include/math.h (!__STRICT_ANSI__): Include ISOC99-specific
5162 declarations and macros.
5163 Regenerated all Makefile.in, aclocal.m4 and configure files to
5164 use new libtool macros in top-level libtool.m4
5165
39e65e01
JJ
51662002-06-05 Jeff Johnston <jjohnstn@redhat.com>
5167
5168 * libc/include/string.h[__linux__]: Add strsignal prototype.
5169 * libc/include/sys/lock.h: New file with default locking support.
5170 * libc/include/sys/reent.h: Add signal buffer support for strsignal
5171 and psignal.
5172 * libc/posix/Makefile.am: Add support for readdir_r.c.
5173 * libc/posix/Makefile.in: Regenerated.
5174 * libc/posix/closedir.c: Add locking support and hash table cleanup.
5175 * libc/posix/opendir.c: Add lock support.
5176 * libc/posix/readdir.c: Ditto.
5177 * libc/posix/rewinddir.c: Ditto.
5178 * libc/posix/scandir.c: Ditto.
5179 * libc/posix/seekdir.c: Ditto.
5180 * libc/posix/telldir.c: Ditto plus add _cleanupdir routine to
5181 clean up leftover hash table entries.
5182 * libc/posix/readdir_r.c: New file.
5183 * libc/sys/linux/Makefile.am: Add psignal.c and strsignal.c support.
5184 * libc/sys/linux/Makefile.in: Regenerated.
5185 * libc/sys/linux/sys/dirent.h: Add dd_lock to DIR structure.
5186 * libc/sys/linux/sys/signal.h: Add psignal prototype.
5187 * libc/sys/linux/psignal.c: New file.
5188 * libc/sys/linux/strsignal.c: Ditto.
5189
cc890e89
CV
51902002-06-03 Corinna Vinschen <corinna@vinschen.de>
5191
5192 * libc/include/sys/types.h: Don't define dev_t when compiling for
5193 Cygwin.
5194
ea55e3f7
JJ
51952002-05-31 Jeff Johnston <jjohnstn@redhat.com>
5196
5197 * libc/sys/linux/Makefile.am: Add sig.c and sigaction.c. Also
5198 make siglist.inc dependent on sig.c instead of signal.c.
5199 * libc/sys/linux/Makefile.in: Regenerated.
5200 * libc/sys/linux/sig.c: Rename from signal.c and change code to
5201 use NSIG instead of _NSIG.
5202 * libc/sys/linux/sigaction.c: New file.
5203 * libc/sys/linux/signal.c: Changed to be linux signal() function
5204 so as to override regular newlib default signal.c.
ea55e3f7
JJ
5205 * libc/sys/linux/machine/i386/Makefile.am: Remove sigset.c.
5206 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
5207 * libc/sys/linux/machine/i386/sigset.c: Moved to linux main directory.
5208 * libc/sys/linux/sigset.c: Moved from machine/i386 directory.
5209 * libc/sys/linux/sys/signal.h: Redefine NSIG to _NSIG and override
5210 default linux sigset_t typedef by defining it equal to __sigset_t.
5211 * libc/unix/sigset.c: Add check so code isn't compiled on systems
5212 with a sigset_t that isn't implemented with a single int.
5213
9d362914
JJ
52142002-05-30 Jeff Johnston <jjohnstn@redhat.com>
5215
5216 * libc/sys/linux/Makefile.am: Add support for new files.
5217 * libc/sys/linux/Makefile.in: Regenerated.
5218 * libc/sys/linux/ids.c: Add __getuid weak alias for getuid.
5219 * libc/sys/linux/signal.c: Change to use real-time syscalls for
5220 sigsuspend, sigprocmask, and sigpending. Also remove sigaction as
5221 it is in a separate file now.
5222 * libc/sys/linux/machine/i386/Makefile.am
5223 * libc/sys/linux/machine/i386/Makefile.in
5224 * libc/sys/linux/sys/signal.h: Add include of <bits/signum.h>.
5225 * libc/sys/linux/sigaction.c: New file.
5226 * libc/sys/linux/sigqueue.c: Ditto.
5227 * libc/sys/linux/sigwait.c: Ditto.
5228 * libc/sys/linux/machine/i386/sigaction.c: Ditto.
5229 * libc/sys/linux/kernel_sigaction.h: Ditto.
5230
b1f07180
JJ
52312002-05-28 Jeff Johnston <jjohnstn@redhat.com>
5232
5233 * libc/sys/linux/Makefile.am: Add support for cfspeed.c and
5234 tcsendbrk.c.
5235 * libc/sys/linux/Makefile.in: Regenerated.
5236 * libc/sys/linux/termios.c: Add tcflow(), tcflush(),
5237 tcgetpgrp(), and tcsetpgrp() functions.
5238 * libc/sys/linux/sys/termios.h: Add include of machine/termios.h
5239 to get __MAX_BAUD rate.
5240 * libc/sys/linux/machine/i386/include/termios.h: New file.
5241 * libc/include/machine/termios.h: Ditto.
5242 * libc/sys/linux/cfspeed.c: Ditto.
5243 * libc/sys/linux/tcsendbrk.c: Ditto.
5244
d29587b4
JJ
52452002-05-24 Jeff Johnston <jjohnstn@redhat.com>
5246
5247 * libc/include/string.h: Add strnlen and strerror_r prototypes.
5248 * libc/string/Makefile.am: Add strnlen.c and strerror_r.c support.
5249 * libc/string/Makefile.in: Regenerated.
5250 * libc/string/strerror_r.c: New file.
5251 * libc/string/strnlen.c: New file.
5252 * libc/sys/linux/Makefile.am: Add rename.c.
5253 * libc/sys/linux/Makefile.in: Regenerated.
5254 * libc/sys/linux/rename.c: New file to override default rename.
5255
9a292385
TF
52562002-05-24 Thomas Fitzsimmons <fitzsim@redhat.com>
5257
5258 * libc/sys/linux/sys/cdefs.h: Add __weak_reference macros.
5259 * libc/sys/linux/sys/time.h: Add conversion macros.
5260 * libc/sys/linux/sys/types.h: Add FD_ macros. Include <bits/types.h>.
5261 * libc/sys/linux/ids.c: Add setresuid and syslog syscalls.
5262 * libc/sys/linux/gethostname.c: New file.
5263 * libc/sys/linux/seteuid.c: New file.
5264 * libc/sys/linux/sysctl.c: New file.
5265
7a364eb3
JJ
52662002-05-23 Jeff Johnston <jjohnstn@redhat.com>
5267
5268 * libc/string/Makefile.am: Add support for strsep.c.
5269 * libc/string/Makefile.in: Regenerated.
5270 * libc/string/strsep.c: New file.
5271 * libc/string/strtok.c: Change to call __strtok_r service routine.
5272 * libc/string/strtok_r.c: Add __strtok_r routine which takes
5273 additional flag parameter regarding whether to skip leading delimeters.
5274 Change strtok_r to call __strtok_r.
5275
164ee5b0
JJ
52762002-05-23 Gareth Pearce <tilps@hotmail.com>
5277
5278 * libc/stdio/Makefile.am: Modify to add setbuffer.c and setlinebuf.c.
5279 * libc/stdio/Makefile.in: Regenerated.
5280 * libc/stdio/setbuffer.c: New file.
5281 * libc/stdio/setlinebuf.c: New file.
5282
f6b2b567
JJ
52832002-05-23 Jeff Johnston <jjohnstn@redhat.com>
5284
5285 * libc/sys/linux/Makefile.am: Add resource.c.
5286 * libc/sys/linux/Makefile.in: Regenerated.
5287 * libc/sys/linux/resource.c: New file.
5288 * libc/sys/linux/time.c: Add settimeofday, getitimer, and setitimer.
5289 * libc/sys/linux/machine/i386/Makefile.am: Remove syscalls.c.
5290 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
5291 * libc/sys/linux/machine/i386/syscalls.c: Removed as functions
5292 are now found in libc/sys/linux/resource.c.
5293
afe56517
JJ
52942002-05-23 Jeff Johnston <jjohnstn@redhat.com>
5295
5296 * libc/include/string.h (bcmp, bcopy, bzero): Change prototypes
5297 to use void * pointers and comply with Single Unix spec.
5298 * libc/string/bcmp.c: Change to use void * instead of char *.
5299 * libc/string/bcopy.c: Ditto.
5300 * libc/string/bzero.c: Ditto.
5301
7736feb2
JJ
53022002-05-22 Jeff Johnston <jjohnstn@redhat.com>
5303
5304 * libc/sys/linux/shm_open.c: New file.
5305 * libc/sys/linux/shm_unlink.c: Ditto.
5306 * libc/sys/linux/Makefile.am: Add support for shm_open.c and
5307 shm_unlink.c.
5308 * libc/sys/linux/Makefile.in: Regenerated.
5309 * libc/sys/linux/sys/types.h: Add some additional checks to see
5310 if clock_t or time_t is already defined.
5311
19f111bd
JJ
53122002-05-22 Jeff Johnston <jjohnstn@redhat.com>
5313
5314 * Makefile.am: Don't pass $toollibdir down directly in
5315 AM_MAKEFLAGS as it causes all multilibs to use the same toollibdir.
5316 Pass it under the name: top_toollibdir.
5317 * Makefile.in: Regenerated.
5318
c811b1ee
CV
53192002-05-22 Corinna Vinschen <vinschen@redhat.com>
5320
5321 * libc/include/sys/types.h: Revert previous patch.
5322
2b43ad33
CV
53232002-05-22 Corinna Vinschen <vinschen@redhat.com>
5324
5325 * libc/include/sys/types.h: Include cygwin/types.h always under
5326 Cygwin, not only if _POSIX_THREADS is defined.
5327
dd671cde
TF
53282002-05-21 Dhananjay Deshpande <dhananjayd@kpit.com>
5329
5330 * configure.host: Specify sys_dir=h8300hms for h8300-*-coff* target.
5331
5e2cbfb6
JJ
53322002-05-17 Jeff Johnston <jjohnstn@redhat.com>
5333
5334 * Makefile.am: Copy and install headers from sys/machine/include
5335 directory. Also pass $toollibdir to lower-level directories.
5336 * Makefile.in: Regenerated.
5337 * libc/include/stdio.h[!_REENT_ONLY]: Change stdin, stdout, and
5338 stderr to use _REENT macro instead of _impure_ptr directly.
5339 * libc/include/sys/config.h[__i386__][__linux__]: Define
5340 __DYNAMIC_REENT__.
5341 * libc/include/sys/reent.h[!_REENT_ONLY]: Change _REENT macro to be
5342 call to __getreent() function if !__SINGLE_THREAD__ and
5343 __DYNAMIC_REENT__ is set.
5344 * libc/reent/Makefile.am: Add support for getreent.c.
5345 * libc/reent/Makefile.in: Regenerated.
5346 * libc/string/strerror.c: Add check if EOPNOTSUPP and ENOTSUP are same.
5347 * libc/sys/linux/Makefile.am: Add support for new files.
5348 * libc/sys/linux/configure.in: Add $EXTRA_DIRS variable.
5349 * libc/sys/linux/Makefile.in: Regenerated.
5350 * libc/sys/linux/configure: Ditto.
5351 * libc/sys/linux/io.c: Add poll syscall. Also weak-alias
5352 __close, __read, __write, __poll, __open, __lseek, __fcntl from
5353 their __libc_ counterparts.
5354 * libc/sys/linux/io64.c: Add __libc_ prefix to lseek64 and open64
5355 and weak-alias to regular names.
5356 * libc/sys/linux/pread64.c: Rename to __libc_pread64 and weak-alias
5357 to pread64 and __pread64.
5358 * libc/sys/linux/process.c: Weak_alias __libc_getpid to __getpid.
5359 * libc/sys/linux/pwrite64.c: Rename to __libc_pwrite64 and
5360 weak-alias to pwrite64.
5361 * libc/sys/linux/sched.c: Weak-alias __libc_sched_getparam,
5362 __libc_sched_getscheduler, __libc_sched_get_priority_max,
5363 __libc_sched_get_priority_min, and __libc_sched_setschedule to
5364 name with __ instead of __libc_.
5365 * libc/sys/linux/siglongjmp.c: Include <machine/weakalias.h>.
5366 Rename siglongjmp to __libc_siglongjmp and weak-alias to siglongjmp.
5367 Call __libc_longjmp instead of longjmp, from __libc_siglongjmp.
5368 * libc/sys/linux/signal.c: Rename raise to __libc_raise and weak-alias
5369 to raise.
5370 * libc/sys/linux/socket.c: Weak-alias __libc_connect to __connect and
5371 __libc_send to __send.
5372 * libc/sys/linux/time.c: Weak-alias __libc_gettimeofday to
5373 __gettimeofday.
5374 * libc/sys/linux/wait.c: Rename wait to __libc_wait and weak-alias
5375 it to wait. Rename wait3 to __libc_wait3 and weak-alias it to wait3.
5376 * libc/sys/linux/include/setjmp.h: Use __jmp_buf in sigjmp_buf
5377 type and typedef __jmp_buf to jmp_buf.
5378 * libc/sys/linux/machine/i386/Makefile.am: Add syscalls.c and
5379 setjmp.S.
5380 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
5381 * libc/sys/linux/machine/i386/crt0.c: Add support to clear .bss
5382 section.
5383 * libc/sys/linux/machine/i386/socketcall.h: Change to use __libc_
5384 prefix for function macros and then use weak_alias() to regular names.
5385 * libc/sys/linux/machine/i386/syscall.h: Ditto.
5386 * libc/sys/linux/sys/errno.h: Define EOPNOTSUP to be ENOTSUP.
5387 * libc/sys/linux/sys/stdio.h: Define _flockfile and _funlockfile
5388 to be flockfile() and funlockfile() respectively.
5389 * libc/sys/linux/sys/types.h
5390 * libc/reent/getreent.c: New file.
5391 * libc/sys/linux/flockfile.c: Ditto.
5392 * libc/sys/linux/funlockfile.c: Ditto.
5393 * libc/sys/linux/getreent.c: Ditto.
5394 * libc/sys/linux/pread.c: Ditto.
5395 * libc/sys/linux/pwrite.c: Ditto.
5396 * libc/sys/linux/raise.c: Ditto.
5397 * libc/sys/linux/system.c: Ditto.
5398 * libc/sys/linux/tcdrain.c: Ditto.
5399 * libc/sys/linux/machine/i386/i386mach.h: Ditto.
5400 * libc/sys/linux/machine/i386/setjmp.S: Ditto.
5401 * libc/sys/linux/machine/i386/syscalls.c: Ditto.
5402 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
5403 * libc/sys/linux/machine/i386/include/setjmp.h: Ditto.
5404
7fc85bd1
TF
54052002-05-14 Dhananjay Deshpande <dhananjayd@kpit.com>
5406
5407 * newlib/libc/sys/h8300hms/Makeile.am (lib_a_SOURCES): Add read.c.
5408 * newlib/libc/sys/h8300hms/read.c: New file. Magic trap 0xC8 for sim.
5409 * newlib/libc/sys/h8300hms/syscalls.c: Move _read() to read.c.
5410 * newlib/libs/sys/h8300hms/sys/syscall.h: New file.
5411
6935231f 5412Thu May 16 17:24:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
d7a2f413
JR
5413
5414 * libc/machine/sh/strcpy.S (strcpy): Replace LITTLE_ENDIAN with
6935231f
JR
5415 __LITTLE_ENDIAN__. make sure r0 has right value at first loop
5416 exit point.
d7a2f413 5417
3a6cb01b
TF
54182002-05-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5419
a68fa571
TF
5420 * testsuite/lib/newlib.exp: Add newlib_include_flags to compile
5421 options when testing natively on i[3456]86-*-linux.
5422
3a6cb01b
TF
5423 * testsuite/lib/checkoutput.exp (newlib_check_output): Output
5424 only one pass or fail per test file. Trim \r's from output
5425 values received from test programs. Remove support for named
5426 tests.
5427 * testsuite/newlib.locale/UTF-8.exp: Update to support new
5428 newlib_check_output behaviour.
5429 * testsuite/newlib.locale/UTF-8.c: Likewise.
5430
dc824ef7
JJ
54312002-05-15 Jeff Johnston <jjohnstn@redhat.com>
5432
5433 * libc/include/stdlib.h: Add on_exit prototype.
5434 * libc/include/sys/reent.h (struct _atexit): Add argument array
5435 and bits to track type of exit routine to support both on_exit
5436 and atexit.
5437 (_REENT_INIT_PTR): Add missing fields that won't be zeroed out
5438 by default and change the setting of the atexit structure.
5439 (_REENT_INIT)[!_REENT_SMALL]: Remove extraneous end brace.
5440 * libc/stdlib/on_exit.c: New file.
5441 * libc/stdlib/Makefile.am: Add support for on_exit.
5442 * libc/stdlib/Makefile.in: Regenerated.
5443 * libc/stdlib/atexit.c: Change to initialize types field.
5444 * libc/stdlib/exit.c: Change to look at types field for each
5445 exit routine and either call an atexit-style or an on_exit-style
5446 routine accordingly.
5447
48d91b4a
JJ
54482002-05-13 Jeff Johnston <jjohnstn@redhat.com>
5449
5450 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Don't
5451 allow v specifier with n or L specifiers. For vector c format,
5452 move tmp declaration to the top.
5453
024739eb
JJ
54542002-05-13 Jeff Johnston <jjohnstn@redhat.com>
5455
5456 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Restore
5457 the original format specifier when looping for vectors to compensate
5458 for any changes made in vector %g format processing.
5459 Also add syntax checking for various invalid scenarios
5460 involving vector format extensions.
5461 * libc/machine/powerpc/vfscanf.c(__VFSCANF_R)[__ALTIVEC__]: Fix
5462 return code setting for vector formats. Also treat vector
5463 separator mismatch as a match error instead of an input error.
5464 Perform some syntax checking for vector formats.
5465
7d2ce898
TF
54662002-05-10 Mark Bradshaw <bradshaw@staff.crosswalk.com>
5467
5468 * libc/include/string.h (!__STRICT_ANSI__): Add strlcat and strlcpy.
5469 * libc/string/Makefile.am: Add strlcat.c and strlcpy.c.
5470 * libc/string/strlcat.c: New file.
5471 * libc/string/strlcpy.c: New file.
5472
809b6ce7
JJ
54732002-05-10 Jeff Johnston <jjohnstn@redhat.com>
5474
5475 * libc/string/strchr.c: Fix comment typo.
5476
76490806
TF
54772002-05-08 Thomas Fitzsimmons <fitzsim@redhat.com>
5478
0c048a9a
TF
5479 * acinclude.m4: Add support for --enable-newlib-multithread.
5480 * configure.host (newlib_cflags): Add -D__SINGLE_THREAD__ if
5481 --enable-newlib-multithread=no.
5482
76490806
TF
5483 * libc/stdio/getc_u.c: New file.
5484 * libc/stdio/getchar_u.c: New file.
5485 * libc/stdio/putc_u.c: New file.
5486 * libc/stdio/putchar_u.c: New file.
5487 * libc/include/stdio.h: Add declarations for getc_unlocked,
5488 getchar_unlocked, putc_unlocked and putchar_unlocked.
5489 * libc/stdio/Makefile.am (LIB_SOURCES): Add new files.
5490 (CHEWOUT_FILES): Add new files' .def's.
5491 * libc/stdio/putchar.c (_putchar_r): Replace __sputc with putc.
5492
96bff22c
JR
5493Wed May 8 17:47:35 2002 J"orn Rennecke <joern.rennecke@superh.com>
5494
5495 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
5496 Also handle as single quad word when destination ends at last
5497 byte of first quad word. Fix byte selection in single quad code.
5498
e71372fa
TF
54992002-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
5500
5501 * libc/include/sys/stdio.h: New file.
5502 * libc/sys/linux/sys/stdio.h: New file.
5503 * libc/include/stdio.h: Add declarations for flockfile,
5504 ftrylockfile, and funlockfile. Include <sys/stdio.h>.
5505 * libc/stdio/clearerr.c: Add file locking.
5506 * libc/stdio/fclose.c: Likewise.
5507 * libc/stdio/feof.c: Likewise.
5508 * libc/stdio/ferror.c: Likewise.
5509 * libc/stdio/fflush.c: Likewise.
5510 * libc/stdio/fgetc.c: Likewise.
5511 * libc/stdio/fgetpos.c: Likewise.
5512 * libc/stdio/fgets.c: Likewise.
5513 * libc/stdio/fileno.c: Likewise.
5514 * libc/stdio/fputc.c: Likewise.
5515 * libc/stdio/fputs.c: Likewise.
5516 * libc/stdio/fread.c: Likewise.
5517 * libc/stdio/freopen.c: Likewise.
5518 * libc/stdio/fseek.c: Likewise.
5519 * libc/stdio/ftell.c: Likewise.
5520 * libc/stdio/fwrite.c: Likewise.
5521 * libc/stdio/getc.c: Likewise.
5522 * libc/stdio/putc.c: Likewise.
5523 * libc/stdio/setvbuf.c: Likewise.
5524 * libc/stdio/ungetc.c: Likewise.
5525 * libc/stdio/vfprintf.c: Likewise.
5526
a03790e4
JJ
55272002-05-06 Jeff Johnston <jjohnstn@redhat.com>
5528
60b2107c
TF
5529 * libc/machine/powerpc/vfprintf.c[__ALTIVEC__]: Add vector
5530 support for 'p' format. Fix code to print bytes for vector
5531 integer formats that do not specify 'h' or 'l'.
5532 * libc/machine/powerpc/vfscanf.c[__ALTIVEC__]: Add vector support
5533 for 'p' specifier. Fix code to scan 16 bytes for vector integer
5534 formats that do not specify 'h' or 'l'.
5535
5536 * libc/include/stdlib.h (a64l, l64a, _l64a_r): Added prototypes.
5537
9c7d6a9d
TF
55382002-05-06 Nick Clifton <nickc@cambridge.redhat.com>
5539
5540 * libc/sys/arm/syscalls.c (_rename): Add parameter names.
5541 (_sbrk): Add cast of return value.
5542
c33c3635
JJ
55432002-05-06 Jeff Johnston <jjohnstn@redhat.com>
5544
5545 * libc/include/sys/reent.h (_l64a_buf): New reentrant area.
5546 (_REENT_L64A_BUF): New macro for accessing area.
5547 * libc/stdlib/Makefile.am: Add a64l.c and l64a.c.
5548 * libc/stdlib/Makefile.in: Regenerated.
5549 * libc/stdlib/a64l.c: New file.
5550 * libc/stdlib/l64a.c: New file.
5551
f78e59a8
JJ
55522002-05-06 Jeff Johnston <jjohnstn@redhat.com>
5553
5554 * libc/unix/pread.c: Fix typo for _pread_r.
5555 * libc/unix/pwrite.c: Fix type for _pwrite_r.
5556 * libc/sys/linux/pread64.c: Fix typo for read syscall.
5557 * libc/sys/linux/pwrite64.c: Fix typo for write syscall.
5558
4b3f6588
CF
55592002-05-03 Christopher Faylor <cgf@redhat.com>
5560
5561 * libc/include/sys/unistd.h: Define getdomainname under cygwin.
5562
e911832c
TF
55632002-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
5564
5565 * configure.in (CC_FOR_NEWLIB): Change -isystem's to -I's.
5566
0d0fdc8d
CF
55672002-05-01 Christopher Faylor <cgf@redhat.com>
5568
5569 * utmp.h: Define more UNIX constants.
5570
1e997c56
TF
55712002-05-01 Thomas Fitzsimmons <fitzsim@redhat.com>
5572
0717f01c
TF
5573 * Makefile.am: Add support for checking multilibs.
5574
09841445
TF
5575 * libc/Makefile.am (SUBLIBS): Add LIBC_EXTRA_LIB.
5576 (SUBDEFS): Add LIBC_EXTRA_DEF.
5577 * libc/configure.in (LIBC_EXTRA_LIB): New variable.
5578 (LIBC_EXTRA_DEF): Likewise.
5579 (extra_dir): Likewise.
5580 * libc/machine/xscale/machine: New directory.
5581 * libc/machine/xscale/machine/profile.h: New file.
5582
1e997c56
TF
5583 * Makefile.am (site.exp): Remove newlib_cflags. Add
5584 multibuildtop.
5585 * testsuite/newlib.locale/UTF-8.c: Change fprintf's to printf's.
5586 * testsuite/lib/flags.exp: New file.
5587 * testsuite/lib/newlib.exp: Load flags.exp.
5588 (newlib_target_compile): Remove libgloss directory references.
5589 (newlib_init): Remove newlib_cflags references.
5590
4cf4f010
TF
55912002-04-30 Thomas Fitzsimmons <fitzsim@redhat.com>
5592
f6bdb6f9
TF
5593 * testsuite/lib/newlib.exp (newlib_target_compile): Change
5594 method of finding libgloss_target_dir.
5595
4cf4f010
TF
5596 * Makefile.am (site.exp): Change host_alias, host_triplet,
5597 target_alias, target_triplet to refer to gcc's host and target
5598 variables (newlib's build and host variables).
5599 * testsuite/lib/newlib.exp (newlib_init): Change build
5600 references to host references, host references to target
5601 references to reflect Makefile.am changes.
5602 (newlib_target_compile): Likewise.
5603 (newlib_finish): Likewise.
5604
83096ae8
JJ
56052002-04-29 Jeff Johnston <jjohnstn@redhat.com>
5606
5607 * libc/sys/linux/io64.c (fstat64, lstat64): New syscalls added.
5608
822afa53
JL
56092002-04-29 Jonathan Larmour <jlarmour@redhat.com>
5610
5611 * libc/sys/arm/syscalls.c (_rename): New function. Just a stub.
5612 (_system): New function. Ditto.
5613 * libc/stdlib/system.c (_system_r): Call _system if HAVE_SYSTEM.
5614 * configure.host: define HAVE_SYSTEM and HAVE_RENAME for xscale
5615 targets.
5616
29798f0d
JJ
56172002-04-29 Jeff Johnston <jjohnstn@redhat.com>
5618
5619 * libc/include/sys/unistd.h (pread, pwrite): Added prototypes.
5620 * libc/unix/Makefile.am: Add pread.c and pwrite.c.
5621 * libc/sys/linux/Makefile.am: Add pread64.c and pwrite64.c.
5622 * libc/sys/linux/Makefile.in: Regenerated.
5623 * libc/unix/Makefile.in: Ditto.
5624 * libc/sys/linux/pread64.c: New file.
5625 * libc/sys/linux/pwrite64.c: Ditto.
5626 * libc/unix/pread.c: Ditto.
5627 * libc/unix/pwrite.c: Ditto.
5628
557856bd
JJ
56292002-04-26 Jeff Johnston <jjohnstn@redhat.com>
5630
5631 * libc/sys/linux/Makefile.am: Add io64.c.
5632 * libc/sys/linux/Makefile.in: Regenerated.
5633 * libc/sys/linux/io.c(mkfifo, fsync, fdatasync): Added syscalls.
5634 * libc/sys/linux/signal.c (sigwaitinfo, sigtimedwait): Ditto.
5635 * libc/sys/linux/io64.c: New file.
5636
7b2b12d5
JJ
56372002-04-26 Jeff Johnston <jjohnstn@redhat.com>
5638
5639 * configure.in (CC_FOR_NEWLIB): New variable that
5640 bases on $(CC) and adds targ-include and libc/include as
5641 -isystem directives if they are not already part of $(CC).
5642 * Makefile.am (AM_MAKEFLAGS): Change setting of CC to equal
5643 $(CC_FOR_NEWLIB).
5644 * configure: Regenerated.
5645 * Makefile.in: Ditto.
5646
c62adacc
JJ
56472002-04-25 Jeff Johnston <jjohnstn@redhat.com>
5648
5649 * libc/sys/linux/Makefile.am: Add support for sched.c.
5650 * libc/sys/linux/Makefile.in: Regenerated.
5651 * libc/sys/linux/sched.c: New file.
5652 * libc/sys/linux/sys/types.h: Add struct timespec.
5653
217ad4a0
TF
56542002-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
5655
5656 * configure.in (CC_FOR_BUILD): Set to gcc whether
5657 cross-compiling or not.
5658 (CC): Add -isystem's for targ-include and libc/include when they
5659 do not already appear in CC.
5660
eaa75b70
TF
56612002-04-24 Thomas Fitzsimmons <fitzsim@redhat.com>
5662
5663 * Makefile.am (check-DEJAGNU): New target.
5664 (site.exp): Likewise.
5665 * acinclude.m4 (NEWLIB_CONFIGURE): Replace AC_CANONICAL_HOST
5666 with AC_CANONICAL_SYSTEM. Remove AC_CANONICAL_BUILD.
5667 * libc/locale/locale.c (_setlocale_r): Add UTF-8 support.
5668 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Likewise.
5669 * libc/stdlib/wctomb_r.c (_wctomb_r): Likewise.
5670 * testsuite: New directory.
5671 * testsuite/config: Likewise.
5672 * testsuite/lib: Likewise.
5673 * testsuite/newlib.locale: Likewise.
5674 * testsuite/newlib.string: Likewise.
5675 * testsuite/config/default.exp: New file.
5676 * testsuite/lib/checkoutput.exp: New file.
5677 * testsuite/lib/newlib.exp: New file.
5678 * testsuite/lib/passfail.exp: New file.
5679 * testsuite/newlib.locale/UTF-8.c: New file.
5680 * testsuite/newlib.locale/UTF-8.exp: New file.
5681 * testsuite/newlib.locale/locale.exp: New file.
5682 * testsuite/newlib.string/string.exp: New file.
5683 * testsuite/newlib.string/tstring.c: New file.
5684
b9f9f699
JJ
56852002-04-23 Jeff Johnston <jjohnstn@redhat.com>
5686
5687 * libc/include/machine/types.h (__pid_t, __off_t, __loff_t): Added.
5688 * libc/sys/linux/Makefile.am: Add support for mmap.c.
5689 * libc/sys/linux/Makefile.in: Regenerated.
5690 * libc/sys/linux/mmap.c: New file.
5691 * libc/sys/linux/machine/i386/syscall.h: Add _syscall6 macro.
5692 * libc/sys/linux/sys/types.h (pid_t, off_t, loff_t): Added.
5693
7394edbb
TF
56942002-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
5695
5696 * acinclude.m4 (newlib_cflags): Remove include directories that
5697 are already specified in the top-level configure.in's FLAGS_FOR_TARGET.
5698
b9f9f699 56992002-04-19 Bill Siegmund <ctc-dsl@pacbell.net>
59be2290
JJ
5700
5701 * libc/machine/xscale/memchr.c: Don't use multi-line strings.
5702 * libc/machine/xscale/memcmp.c: Ditto.
5703 * libc/machine/xscale/memcpy.c: Ditto.
5704 * libc/machine/xscale/memmove.c: Ditto.
5705 * libc/machine/xscale/memset.c: Ditto.
5706 * libc/machine/xscale/strchr.c: Ditto.
5707 * libc/machine/xscale/strcmp.c: Ditto.
5708 * libc/machine/xscale/strcpy.c: Ditto.
5709 * libc/machine/xscale/strlen.c: Ditto.
5710
2dd4c4dc
JJ
57112002-04-19 Alexandre Oliva <aoliva@redhat.com>
5712
5713 * libc/include/sys/config.h: Remove include of <limits.h>.
5714 (__INT_MAX__, __LONG_MAX__): Define like GCC's limits.h would
5715 define INT_MAX and LONG_MAX. Use them in tests.
5716
0d844014
JJ
57172002-04-19 Jeff Johnston <jjohnstn@redhat.com>
5718
5719 * configure.host: Add support for powerpc-eabialtivec*.
5720 * libc/include/malloc.h: Add include of <machine/malloc.h>.
5721 * libc/include/stdlib.h: Add include of <machine/stdlib.h>.
5722 * libc/include/machine/malloc.h: New file.
5723 * libc/include/machine/stdlib.h: Ditto.
5724 * libc/include/machine/setjmp.h: Add support for powerpc altivec.
5725 * libc/machine/powerpc/Makefile.am: Add conditional objects and
5726 sources based on configuration.
5727 * libc/machine/powerpc/Makefile.in: Regenerated.
5728 * libc/machine/powerpc/configure: Ditto.
5729 * libc/machine/powerpc/configure.in: Add check for
5730 powerpc-eabialtivec* in which case add in additional source files.
5731 * libc/machine/powerpc/setjmp.S: Add altivec support.
5732 * libc/machine/powerpc/vec_calloc.c: New file.
5733 * libc/machine/powerpc/vec_free.c: Ditto.
5734 * libc/machine/powerpc/vec_malloc.c: Ditto.
5735 * libc/machine/powerpc/vec_mallocr.c: Ditto.
5736 * libc/machine/powerpc/vec_realloc.c: Ditto.
5737 * libc/machine/powerpc/machine/malloc.h: Ditto.
5738 * libc/machine/powerpc/machine/stdlib.h: Ditto.
5739 * libc/machine/powerpc/vfprintf.c: New file that is vfprintf.c
5740 with added altivec format specifiers.
5741 * libc/machine/powerpc/vfscanf.c: New file that is vfscanf.c with
5742 added altivec format specifiers.
5743
d413aadc
JS
57442002-04-19 Joel Sherrill <joel@OARcorp.com>
5745
5746 * libs/sys/rtems/crt0.c: Satisfy gcc's references to libc functions
5747 while autoconf is trying to link main(){}.
5748
27193895
JJ
57492002-04-17 Jeff Johnston <jjohnstn@redhat.com>
5750
5751 * libc/sys/linux/signal.c: Remove include of <bits/sigset.h>.
5752 * libc/sys/linux/sys/signal.h: Add include of <bits/sigset.h>.
5753
10d00216
JJ
57542002-04-17 Jeff Johnston <jjohnstn@redhat.com>
5755
6b0f808e
JJ
5756 * libc/time/time.tex: Add tzset info.
5757
57582002-04-17 Jeff Johnston <jjohnstn@redhat.com>
5759
5760 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
5761 (strptime): Moved prototype to be within !__STRICT_ANSI__.
5762 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
5763 (tzname): Defined for all platforms.
5764 (daylight, timezone): Defined only for CYGWIN.
5765 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
5766 environment set up.
5767 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
5768 environment variable is set.
5769 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
5770 tzset_r.c.
5771 * libc/time/Makefile.in: Regenerated.
5772 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
5773 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
5774 * libc/time/lcltime_r.c (lcltime_r): Ditto.
5775 * libc/time/local.h: New local header file.
5776 * libc/time/mktime.c (mktime): Add timezone support.
5777 * libc/time/mktm_r.c: New file which is the common engine
5778 for gmtime_r and lcltime_r. This code has timezone support.
5779 * libc/time/strftime.c (strftime): Add %Z timezone support.
5780 * libc/time/tzlock.c: New file containing timezone lock stubs.
5781 * libc/time/tzset.c: New file containing tzset() routine.
5782 * libc/time/tzset_r.c: New file containing _tzset_r and
5783 internal routine for calculating timezone changes for specified year.
5784
57852002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
5786
5787 * configure.in (CRT0_DIR): Set to libc/.
5788 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
5789 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
5790 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
5791 $(CRT1_DIR)/$(CRT1).
5792 * libc/machine/xstormy16/Makefile.in: Regenerated.
5793 * libc/machine/xstormy16/aclocal.m4: Regenerated.
5794 * libc/machine/xstormy16/configure: Regenerated.
5795
57962002-04-13 Alexandre Oliva <aoliva@redhat.com>
5797
5798 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
5799 fails, don't bail out, and try to correct next time.
5800
5801 * libc/include/sys/config.h: Include limits.h.
5802
58032002-04-12 Eric Norum <eric.norum@usask.com>
5804
5805 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
5806 routine to allow autoconf to determine that building executables
5807 for rtems works.
5808 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
5809 (rtems_gxx_mutex_once): Ditto.
5810
58112002-04-09 Tom Rix <trix@redhat.com>
5812
5813 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
5814
58152002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
5816
5817 * libc/include/time.h: Fix strptime declaration.
5818 * libc/time/Makefile.am: Add strptime.c.
5819 * libc/time/Makefile.in: Regenerated.
5820 * libc/time/strptime.c: New file.
5821
58222002-04-08 Jeff Johnston <jjohnstn@redhat.com>
5823
5824 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
5825 siglongjmp prototype, and sigsetjmp macro definition.
5826 * libc/sys/linux/siglongjmp.c: New file.
5827 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
5828 * libc/sys/linux/Makefile.in: Regenerated.
5829
58302002-04-04 Jeff Johnston <jjohnstn@redhat.com>
5831
5832 * Makefile.am: Add support for installing crt1.o if one exists.
5833 * configure.host: Specify crt1.o for linux.
5834 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
5835 * Makefile.in: Regenerated.
5836 * configure: Ditto.
5837 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
5838 Added for non-Cygwin, non-RTEMS configurations.
5839 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
5840 * libc/sys/linux/Makefile.in: Regenerated.
5841 * libc/sys/linux/crt1.c: New empty file to override one defaulted
5842 by gcc. This fixes problem with reconfiguring linux newlib build.
5843 * libc/sys/linux/sysconf.c: New file.
5844
58452002-04-03 Jeff Johnston <jjohnstn@redhat.com>
5846
5847 * configure.host: Add support for machine subdirectory of
5848 sys subdirectory.
5849 * configure.in: Add check for sys machine subdirectory.
5850 * Makefile.am: Ditto.
5851 * configure: Regenerated.
5852 * Makefile.in: Ditto.
5853 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
5854 * libc/sys/linux/sys/syscall.h: Ditto.
5855 * libc/sys/linux/sleep.c: New file.
5856 * libc/sys/linux/socket.c: Ditto.
5857 * libc/sys/linux/sockops.h: Ditto.
5858 * libc/sys/linux/stack.c: Ditto.
5859 * libc/sys/linux/usleep.c: Ditto.
5860 * libc/sys/linux/machine/Makefile.am: Ditto.
5861 * libc/sys/linux/machine/Makefile.in: Ditto.
5862 * libc/sys/linux/machine/aclocal.m4: Ditto.
5863 * libc/sys/linux/machine/configure: Ditto.
5864 * libc/sys/linux/machine/configure.in: Ditto.
5865 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
5866 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
5867 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
5868 * libc/sys/linux/machine/i386/configure: Ditto.
5869 * libc/sys/linux/machine/i386/configure.in: Ditto.
5870 * libc/sys/linux/machine/i386/crt0.c: Ditto.
5871 * libc/sys/linux/machine/i386/sigset.c: Ditto.
5872 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
5873 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
5874 * libc/sys/linux/machine/i386/syscall.h: Ditto.
5875 * libc/sys/linux/sys/select.h: Ditto.
5876 * libc/sys/linux/configure.in: Add support for machine directory.
5877 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
5878 * libc/sys/linux/Makefile.in: Regenerated.
5879 * libc/sys/linux/configure: Ditto.
5880 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
5881 * libc/sys/linux/inode.c: Ditto.
5882 * libc/sys/linux/linux.c: Ditto.
5883 * libc/sys/linux/process.c: Ditto.
5884 * libc/sys/linux/systat.c: Ditto.
5885 * libc/sys/linux/time.c: Ditto.
5886 * libc/sys/linux/wait.c: Ditto.
5887 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
5888 * libc/sys/linux/io.c: Change header plus add readv/writev.
5889 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
5890 use __sigsuspend syscall.
5891 * libc/sys/linux/select.c: Change header plus change select to
5892 use _newselect syscall.
5893 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
5894 used by glibc header files.
5895 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
5896 types.
5897
58982002-04-01 Jeff Johnston <jjohnstn@redhat.com>
5899
5900 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
5901 initializing a struct _reent that has been dynamically allocated.
5902 (_REENT_CHECK_MISC): New macro that checks _misc struct for
5903 _REENT_SMALL and does nothing otherwise.
5904 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
5905 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
5906 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
5907 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
5908 [_REENT_SMALL](struct _misc_reent): New structure containing
5909 miscellaneous reentrant areas needed by newlib.
5910 [_REENT_SMALL](struct _reent): Add _misc pointer.
5911 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
5912 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
5913 and _REENT_STRTOK_LAST macros.
5914 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
5915 and _REENT_MBLEN_STATE macros.
5916 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
5917 and _REENT_MBTOWC_STATE macros.
5918 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
5919 and _REENT_WCTOMB_STATE macros.
5920
59212002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
5922
5923 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
5924
5925Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
5926
5927 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
5928
5929Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
5930
5931 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
5932 Store high part of leading bytes too.
5933
59342002-03-22 Richard Sandiford <rsandifo@redhat.com>
5935
5936 * libm/math/ef_hypot.c: Increase scale factor to 68.
5937
59382002-03-13 Alexandre Oliva <aoliva@redhat.com>
5939
5940 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
5941 error.
5942
59432002-03-12 Jeff Johnston <jjohnstn@redhat.com>
5944
5945 * libc/sys/go32/access.c: Change license to relaxed license
5946 used in identical file throughout newlib/libgloss.
5947
59482002-03-12 Richard Earnshaw <rearnsha@arm.com>
5949
5950 * libc/sys/arm/access.c: New file.
5951 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
5952 * libc/sys/arm/Makefile.in: Regenerate.
5953 * libc/sys/arm/syscalls.c (_stat): New function.
5954
59552002-03-11 Michael Meissner <meissner@redhat.com>
5956
5957 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
5958 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
5959 * libc/machine/mips/Makefile.in: Regenerate.
5960 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
5961 * libc/machine/mips/memset.c: Dito.
5962 * libc/machine/mips/strcmp.c: Dito.
5963 * libc/machine/mips/strlen.c: Dito.
5964 * libc/machine/mips/strncmp.c: Dito.
5965
59662002-03-06 Jeff Johnston <jjohnstn@redhat.com>
5967
5968 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
5969 object so it works for shared library or statici library.
59702002-04-17 Jeff Johnston <jjohnstn@redhat.com>
5971
10d00216
JJ
5972 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
5973 (strptime): Moved prototype to be within !__STRICT_ANSI__.
5974 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
5975 (tzname): Defined for all platforms.
5976 (daylight, timezone): Defined only for CYGWIN.
5977 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
5978 environment set up.
5979 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
5980 environment variable is set.
5981 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
5982 tzset_r.c.
5983 * libc/time/Makefile.in: Regenerated.
5984 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
5985 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
5986 * libc/time/lcltime_r.c (lcltime_r): Ditto.
5987 * libc/time/local.h: New local header file.
5988 * libc/time/mktime.c (mktime): Add timezone support.
5989 * libc/time/mktm_r.c: New file which is the common engine
5990 for gmtime_r and lcltime_r. This code has timezone support.
5991 * libc/time/strftime.c (strftime): Add %Z timezone support.
5992 * libc/time/tzlock.c: New file containing timezone lock stubs.
5993 * libc/time/tzset.c: New file containing tzset() routine.
5994 * libc/time/tzset_r.c: New file containing _tzset_r and
5995 internal routine for calculating timezone changes for specified year.
5996
5f1c13c6
TF
59972002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
5998
5999 * configure.in (CRT0_DIR): Set to libc/.
6000 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
6001 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
6002 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
6003 $(CRT1_DIR)/$(CRT1).
6004 * libc/machine/xstormy16/Makefile.in: Regenerated.
6005 * libc/machine/xstormy16/aclocal.m4: Regenerated.
6006 * libc/machine/xstormy16/configure: Regenerated.
6007
0cc261b1
AO
60082002-04-13 Alexandre Oliva <aoliva@redhat.com>
6009
2f3009bd
AO
6010 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
6011 fails, don't bail out, and try to correct next time.
6012
0cc261b1
AO
6013 * libc/include/sys/config.h: Include limits.h.
6014
26116455
JJ
60152002-04-12 Eric Norum <eric.norum@usask.com>
6016
6017 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
6018 routine to allow autoconf to determine that building executables
6019 for rtems works.
6020 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
6021 (rtems_gxx_mutex_once): Ditto.
6022
4608280d
TR
60232002-04-09 Tom Rix <trix@redhat.com>
6024
6025 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
6026
dea7e25c
JJ
60272002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
6028
6029 * libc/include/time.h: Fix strptime declaration.
6030 * libc/time/Makefile.am: Add strptime.c.
6031 * libc/time/Makefile.in: Regenerated.
6032 * libc/time/strptime.c: New file.
6033
c5ef1e95
JJ
60342002-04-08 Jeff Johnston <jjohnstn@redhat.com>
6035
6036 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
6037 siglongjmp prototype, and sigsetjmp macro definition.
6038 * libc/sys/linux/siglongjmp.c: New file.
6039 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
6040 * libc/sys/linux/Makefile.in: Regenerated.
6041
6e6cd5bd
JJ
60422002-04-04 Jeff Johnston <jjohnstn@redhat.com>
6043
6044 * Makefile.am: Add support for installing crt1.o if one exists.
6045 * configure.host: Specify crt1.o for linux.
6046 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
6047 * Makefile.in: Regenerated.
6048 * configure: Ditto.
6049 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
6050 Added for non-Cygwin, non-RTEMS configurations.
6051 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
6052 * libc/sys/linux/Makefile.in: Regenerated.
6053 * libc/sys/linux/crt1.c: New empty file to override one defaulted
6054 by gcc. This fixes problem with reconfiguring linux newlib build.
6055 * libc/sys/linux/sysconf.c: New file.
6056
fa4a16a1
JJ
60572002-04-03 Jeff Johnston <jjohnstn@redhat.com>
6058
6059 * configure.host: Add support for machine subdirectory of
6060 sys subdirectory.
6061 * configure.in: Add check for sys machine subdirectory.
6062 * Makefile.am: Ditto.
6063 * configure: Regenerated.
6064 * Makefile.in: Ditto.
6065 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
6066 * libc/sys/linux/sys/syscall.h: Ditto.
6067 * libc/sys/linux/sleep.c: New file.
6068 * libc/sys/linux/socket.c: Ditto.
6069 * libc/sys/linux/sockops.h: Ditto.
6070 * libc/sys/linux/stack.c: Ditto.
6071 * libc/sys/linux/usleep.c: Ditto.
6072 * libc/sys/linux/machine/Makefile.am: Ditto.
6073 * libc/sys/linux/machine/Makefile.in: Ditto.
6074 * libc/sys/linux/machine/aclocal.m4: Ditto.
6075 * libc/sys/linux/machine/configure: Ditto.
6076 * libc/sys/linux/machine/configure.in: Ditto.
6077 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
6078 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
6079 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
6080 * libc/sys/linux/machine/i386/configure: Ditto.
6081 * libc/sys/linux/machine/i386/configure.in: Ditto.
6082 * libc/sys/linux/machine/i386/crt0.c: Ditto.
6083 * libc/sys/linux/machine/i386/sigset.c: Ditto.
6084 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
6085 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
6086 * libc/sys/linux/machine/i386/syscall.h: Ditto.
6087 * libc/sys/linux/sys/select.h: Ditto.
6088 * libc/sys/linux/configure.in: Add support for machine directory.
6089 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
6090 * libc/sys/linux/Makefile.in: Regenerated.
6091 * libc/sys/linux/configure: Ditto.
6092 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
6093 * libc/sys/linux/inode.c: Ditto.
6094 * libc/sys/linux/linux.c: Ditto.
6095 * libc/sys/linux/process.c: Ditto.
6096 * libc/sys/linux/systat.c: Ditto.
6097 * libc/sys/linux/time.c: Ditto.
6098 * libc/sys/linux/wait.c: Ditto.
6099 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
6100 * libc/sys/linux/io.c: Change header plus add readv/writev.
6101 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
6102 use __sigsuspend syscall.
6103 * libc/sys/linux/select.c: Change header plus change select to
6104 use _newselect syscall.
6105 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
6106 used by glibc header files.
6107 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
6108 types.
6109
d4dca0e4
JJ
61102002-04-01 Jeff Johnston <jjohnstn@redhat.com>
6111
6112 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
6113 initializing a struct _reent that has been dynamically allocated.
6114 (_REENT_CHECK_MISC): New macro that checks _misc struct for
6115 _REENT_SMALL and does nothing otherwise.
6116 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
6117 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
6118 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
6119 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
6120 [_REENT_SMALL](struct _misc_reent): New structure containing
6121 miscellaneous reentrant areas needed by newlib.
6122 [_REENT_SMALL](struct _reent): Add _misc pointer.
6123 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
6124 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
6125 and _REENT_STRTOK_LAST macros.
6126 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
6127 and _REENT_MBLEN_STATE macros.
6128 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
6129 and _REENT_MBTOWC_STATE macros.
6130 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
6131 and _REENT_WCTOMB_STATE macros.
6132
54a7c6d2
JJ
61332002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
6134
6135 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
6136
c82479b1
CF
6137Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
6138
6139 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
6140
43ecf6e8
JR
6141Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
6142
6143 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
6144 Store high part of leading bytes too.
6145
a485d93f
RS
61462002-03-22 Richard Sandiford <rsandifo@redhat.com>
6147
6148 * libm/math/ef_hypot.c: Increase scale factor to 68.
6149
62a963ee
AO
61502002-03-13 Alexandre Oliva <aoliva@redhat.com>
6151
6152 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
6153 error.
6154
c53d8453
JJ
61552002-03-12 Jeff Johnston <jjohnstn@redhat.com>
6156
6157 * libc/sys/go32/access.c: Change license to relaxed license
6158 used in identical file throughout newlib/libgloss.
6159
d2a246ad
JJ
61602002-03-12 Richard Earnshaw <rearnsha@arm.com>
6161
6162 * libc/sys/arm/access.c: New file.
6163 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
6164 * libc/sys/arm/Makefile.in: Regenerate.
6165 * libc/sys/arm/syscalls.c (_stat): New function.
6166
eabb48d5
MM
61672002-03-11 Michael Meissner <meissner@redhat.com>
6168
6169 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
6170 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
6171 * libc/machine/mips/Makefile.in: Regenerate.
6172 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
6173 * libc/machine/mips/memset.c: Dito.
6174 * libc/machine/mips/strcmp.c: Dito.
6175 * libc/machine/mips/strlen.c: Dito.
6176 * libc/machine/mips/strncmp.c: Dito.
6177
2a606041
JJ
61782002-03-06 Jeff Johnston <jjohnstn@redhat.com>
6179
eabb48d5
MM
6180 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
6181 object so it works for shared library or statici library.
6182 * libc/machine/i386/Makefile.in: Regenerated.
2a606041 6183
55f26f11
JR
6184Wed Mar 6 10:24:26 2002 J"orn Rennecke <joern.rennecke@superh.com>
6185
96bff22c
JR
6186 * libc/machine/sh/Makefile.am (lib_a_SOURCES, SH64 case):
6187 Add memcpy.S, memset.S and strcpy.S.
6188 * libc/machine/sh/Makefile.in: Regenerate.
6189 * libc/machine/sh/asm.h (_ENTRY): Set SH5 alignment to 8 bytes.
55f26f11 6190 (SHHI, SHLO): Define.
96bff22c
JR
6191 * libc/machine/sh/memset.S: Add code for SH5.
6192 * libc/machine/sh/memset.S: Likewise.
6193 * libc/machine/sh/strcpy.S: Likewise.
55f26f11 6194
afecf2fa
JJ
61952002-02-27 Jeff Johnston <jjohnstn@redhat.com>
6196
6197 * configure.host: Add check for --disable-newlib-io-float
6198 configuration option and add -DNO_FLOATING_POINT to newlib cflags
6199 if appropriate.
6200 * acinclude.m4: Added --disable-newlib-io-float option.
6201 * aclocal.m4: Regenerated.
6202 * configure: Ditto.
6203 * doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
6204 * libc/*/aclocal.m4 libc/*/configure
6205 * libm/*/aclocal.m4 libm/*/configure: Ditto.
6206 * libc/stdio/vfprintf.c [!INTEGER_ONLY]: Only set FLOATING_POINT
6207 if NO_FLOATING_POINT flag is not defined.
6208
c1010a63
JJ
62092002-02-25 Jeff Johnston <jjohnstn@redhat.com>
6210
6211 * libc/include/sys/config.h: Add __extension__ in front of
6212 long long references.
6213
630c657e
CV
62142002-02-23 Corinna Vinschen <corinna@vinschen.de>
6215
6216 * libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin.
6217 (_stat): Ditto.
6218
59ee2e20
CV
62192002-02-23 Corinna Vinschen <corinna@vinschen.de>
6220
6221 * libc/sys/cygwin/sys/dirent.h (struct __DIR): Use __off32_t instead
6222 of off_t.
6223
2dd68dc2
NC
62242002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
6225
6226 * libc/machine/xscale/strchr.c (strchr): Add 'r1' to the list of
6227 clobbered registers.
6228
55500bf1
TF
62292002-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
6230
6231 * configure.host (newlib_cflags): When host is in m68* add
6232 -DCOMPACT_CTYPE.
6233
ba0173f0
JJ
62342002-02-15 Jeff Johnston <jjohnstn@redhat.com>
6235
6236 * libc/include/sys/config.h: Add definitions for
6237 __int16_t, __uint16_t, __int64_t, and __uint64_t.
6238
7b61d0c5
JJ
62392002-02-12 Hans-Peter Nilsson <hp@bitrange.com>
6240
6241 * libc/sys/mmixware/link.c: New.
6242 * libc/sys/mmixware/sys/syscall.h (TRAP1i, I3f): Make asm
6243 volatile.
6244 * libc/sys/mmixware/times.c (_times): Renamed from times.
6245 * libc/sys/mmixware/open.c (_open): Attempt to handle O_APPEND
6246 properly by reading previous contents, not through BinaryReadWrite.
6247 * libc/sys/mmixware/Makefile.am (lib_a_SOURCES): Add link.c
6248 * libc/sys/mmixware/Makefile.in: Regenerate.
6249
a505db65
CV
62502002-02-10 Corinna Vinschen <corinna@vinschen.de>
6251
6252 * libc/include/grp.h: Don't declare group functions when compiling
6253 Cygwin.
6254
f3b39c45
CV
62552002-02-09 Corinna Vinschen <corinna@vinschen.de>
6256
6257 * libc/include/grp.h: Include Cygwin specific header.
6258 * libc/include/sys/stat.h: Ditto. Don't define `struct stat'
6259 when compiling for Cygwin.
6260 * libc/include/sys/types.h: Don't define off_t, uid_t
6261 and gid_t when compiling for Cygwin.
6262
82b3ac56
MG
62632002-02-08 matthew green <mrg@redhat.com>
6264
6265 * libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): Allocate
6266 _REENT_EMERGENCY_SIZE, not sizeof(char *).
6267
9f25eed9
AO
62682002-02-08 Alexandre Oliva <aoliva@redhat.com>
6269
6270 Contribute sh64-elf.
6271 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
6272 * configure.host (newlib_cflags) [sh*-*-*]: Enable long long
6273 support in printf.
6274 2001-01-29 Alexandre Oliva <aoliva@redhat.com>
6275 * libc/machine/sh/setjmp.S [SH5]: Switch to SHmedia mode before
6276 any labels.
6277 2001-01-24 Alexandre Oliva <aoliva@redhat.com>
6278 * libc/sys/sh/trap.S (___trap34) [SH5]: Don't trash r2.
6279 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
6280 * libc/machine/sh/configure.in: Rework conditionals.
6281 * libc/machine/sh/Makefile.am: Likewise.
6282 * libc/machine/sh/configure, libc/machine/sh/Makefile.in: Rebuilt.
6283 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
6284 * configure.host: Match `sh*'.
6285 * libc/include/machine/setjmp.h: Define for SH5.
6286 * libc/machine/sh/configure.in: Detect SH5.
6287 * libc/machine/sh/configure: Rebuilt.
6288 * libc/machine/sh/Makefile.am: Use only setjmp.S for SH5.
6289 * libc/machine/sh/Makefile.in: Rebuilt.
6290 * libc/machine/sh/asm.h: Adjust for SH5.
6291 * libc/machine/sh/setjmp.S: Implement in SHmedia.
6292 * libc/sys/sh/crt0.S: Likewise.
6293 * libc/sys/sh/trap.S: Likewise.
6294
a2a405ae
JJ
62952002-02-07 Jeff Johnston <jjohnstn@redhat.com>
6296
6297 * libc/machine/i386/Makefile.am: (mach_add_src): Remove.
6298 (mach_add_obj): Conditionally set to setjmp.o or nothing.
6299 (LIB_SOURCES): Remove $(mach_add_src).
6300 (lib_a_LIBADD, lib_a_DEPENDENCIES): Add and set to $(mach_add_src).
6301 (lib_la_LIBADD, lib_la_DEPENDENCIES): Ditto.
6302 * libc/machine/i386/Makefile.in: Regenerate.
6303
27478365
JJ
63042002-02-05 Manik Raina <manik@cisco.com>
6305
994fa212 6306 * libc/misc/dprintf.c (parse_number): #if 0 unused function.
27478365
JJ
6307 * libc/stdlib/ldtoa.c (_ldcheck): Remove unused local variables
6308 s, p, k, and outstr.
6309 * libc/stdlib/dtoa.c (_dtoa_r): Initialize mlo.
6310
815a37f7
JJ
63112002-02-04 Jeff Johnston <jjohnstn@redhat.com>
6312
6313 * libc/include/sys/reent.h [(!_REENT_SMALL]: Add
6314 _REENT_CHECK_EMERGENCY macro.
6315
a4139c12
MG
63162002-02-03 matthew green <mrg@redhat.com>
6317
6318 * libc/reent/signgam.c (__signgam): Fix error in previous.
6319
8195aff7
MG
63202002-02-02 matthew green <mrg@redhat.com>
6321
6322 * libc/include/sys/config.h (_REENT_SMALL): Define for Xstormy16.
6323
6324 * libc/reent/reent.c (_reclaim_reent): Clean for _REENT_SMALL case.
6325 * libc/reent/reent.tex: Add blurb about _REENT_SMALL.
6326 * libc/include/sys/reent.h (struct _reent): Completely new version
6327 for _REENT_SMALL.
6328 (_REENT_INIT): New defines, different defintion depending on _REENT_SMALL.
6329 (_REENT_CHECK, _REENT_CHECK_TM): Likewise.
6330 (_REENT_CHECK_ASCTIME_BUF, _REENT_INIT_RAND48): Likewise.
6331 (_REENT_CHECK_RAND48, _REENT_INIT_MP, _REENT_CHECK_MP): Likewise.
6332 (_REENT_CHECK_EMERGENCY, _REENT_SIGNGAM, _REENT_RAND_NEXT): Likewise.
6333 (_REENT_RAND48_SEED, _REENT_RAND48_MULT, _REENT_RAND48_ADD): Likewise.
6334 (_REENT_MP_RESULT, _REENT_MP_RESULT_K, _REENT_MP_P5S): Likewise.
6335 (_REENT_MP_FREELIST, _REENT_ASCTIME_BUF, _REENT_TM): Likewise.
6336 (_REENT_EMERGENCY): Likewise.
6337
6338 * libc/include/sys/reent.h (struct __sFILE_fake): New struct, same as
6339 the start of the real __sFILE, used for stdin, stdout and stderr until
6340 they are setup properly.
6341 (struct __sFILE): Move location of _data in _REENT_SMALL case.
6342 * libc/stdio/findfp.c (__sinit): Rearrange for _REENT_SMALL case by
6343 allocated stdin, stdout and stderr.
6344 * libc/stdio/getchar.c (_getchar_r): Call _REENT_SMALL_CHECK_INIT().
6345 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Likewise.
6346 * libc/stdio/perror.c (_perror_r): Likewise.
6347 * libc/stdio/printf.c (printf, _printf_r): Likewise.
6348 * libc/stdio/putchar.c (_putchar_r): Likewise.
6349 * libc/stdio/puts.c (_puts_r): Likewise.
6350 * libc/stdio/scanf.c (scanf, _scanf_r): Likewise.
6351 * libc/stdio/vprintf.c (vprintf): Likewise.
6352 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Likewise.
6353
6354 * libc/stdio/tmpnam.c (_tmpnam_r): Use _REENT_EMERGENCY().
6355
6356 * libc/reent/reent.c (_wrapup_reent): Adjust for _REENT_SMALL atexit.
6357 * libc/include/sys/reent.h (_atexit): Limit atexit() entries to 32
6358 for _REENT_SMALL.
6359 * libc/stdlib/atexit.c (atexit): Rearrange for _REENT_SMALL case.
6360 * libc/stdlib/exit.c (exit): Rearrange for _REENT_SMALL case.
6361
6362 * libc/include/sys/reent.h (struct _rand48): Keep _rand_next if
6363 _REENT_SMALL.
6364 * libc/stdlib/drand48.c (_drand48_r): Call _REENT_CHECK_RAND48().
6365 * libc/stdlib/lcong48.c (_lcong48_r): Likewise.
6366 * libc/stdlib/lrand48.c (_lrand48_r): Likewise.
6367 * libc/stdlib/mrand48.c (_mrand48_r): Likewise.
6368 * libc/stdlib/rand48.c (__dorand48): Likewise.
6369 * libc/stdlib/seed48.c (_seed48_r): Likewise.
6370 * libc/stdlib/srand48.c (_srand48_r): Likewise.
6371 * libc/stdlib/rand48.h (__rand48_seed, __rand48_mult, __rand48_add): Define
6372 as _REENT_RAND48_SEED(), _REENT_RAND48_MULT() and _REENT_RAND48_ADD().
6373 * libc/stdlib/dtoa.c (_dtoa_r): Call _REENT_CHECK_MP(). Use
6374 _REENT_MP_RESULT() and _REENT_MP_RESULT_K().
6375 * libc/stdlib/ldtoa.c (_ldtoa_r): Likewise.
6376 * libc/stdlib/rand.c (srand): Use _REENT_RAND_NEXT().
6377 * libc/stdlib/rand.c (rand): Likewise.
6378
6379 * libc/stdlib/mallocr.c (malloc_stats): Call _REENT_SMALL_CHECK_INIT().
6380 * libc/stdlib/mstats.c (_mstats_r): Call _REENT_SMALL_CHECK_INIT().
6381
6382 * libc/stdlib/mprec.c (Balloc): Call _REENT_CHECK_MP. Use
6383 _REENT_MP_FREELIST() and _REENT_MP_P5S.
6384 * libc/include/sys/reent.h (struct _mprec): New structure.
6385
6386 * libc/include/sys/reent.h (struct _reent): Rename _strtok_last to
6387 _unused_strtok_last.
6388 * libc/string/strtok.c (strtok): Use a local static variable.
6389
6390 * libc/include/sys/reent.h (_REENT_ASCTIME_SIZE): New define.
6391 (_REENT_EMERGENCY_SIZE): Likewise.
6392 * libc/time/asctime.c (asctime): Call _REENT_CHECK_ASCTIME_BUF(). Use
6393 _REENT_ASCTIME_BUF().
6394 * libc/time/lcltime.c (localtime): Call _REENT_CHECK_TM(). Use
6395 _REENT_TM().
6396
6397 * libc/include/math.h (__singam_r): Use _REENT_SIGNGAM().
6398 * libc/reent/signgam.c (__signgam): Use _REENT_SIGNGAM().
6399 * libm/math/w_gamma.c (gamma): Use _REENT_SIGNGAM().
6400 * libm/math/w_lgamma.c (lgamma): Use _REENT_SIGNGAM().
6401 * libm/math/wf_gamma.c (gammaf): Use _REENT_SIGNGAM().
6402 * libm/math/wf_lgamma.c (lgammaf): Use _REENT_SIGNGAM().
6403
9c2e7642
GK
64042002-02-01 Geoffrey Keating <geoffk@redhat.com>
6405
6406 * configure.host (xstormy16): Don't use the generic malloc.
6407 * libc/machine/xstormy16/Makefile.am: Build tiny-malloc.
6408 * libc/machine/xstormy16/Makefile.in: Regenerate.
6409 * libc/machine/xstormy16/mallocr.c: New file.
6410 * libc/machine/xstormy16/tiny-malloc.c: New file.
6411
4bb6112f
TF
64122002-01-28 Thomas Fitzsimmons <fitzsim@redhat.com>
6413
6414 * libc/include/sys/signal.h [__CYGWIN__]: Issue error message
6415 when _CYGWIN_TYPES_H is not defined.
6416
8d345552
TF
64172002-01-24 Thomas Fitzsimmons <fitzsim@redhat.com>
6418
6419 * libc/include/sys/signal.h: Revert 2002-01-23 change.
6420
bcc49082
TF
64212002-01-23 Thomas Fitzsimmons <fitzsim@redhat.com>
6422
6423 * libc/include/sys/signal.h: Remove pthread_kill declaration
6424 when __CYGWIN__ is defined.
6425
13baedeb
CF
64262002-01-18 Mark Bradshaw <bradshaw@staff.crosswalk.com>
6427
6428 * libc/include/time.h: Add prototype for strptime for Cygwin.
6429
b2db0ebc
NC
64302002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
6431
ebf139fb
NC
6432 * libc/machine/xscale/memset.c (memset): Fix bug when len == 1 and
6433 dst was not word aligned.
6434
b2db0ebc
NC
6435 * libc/sys/arm/syscalls.c (_sbrk): Return -1 rather than aborting
6436 if too much memory is requested.
6437
798c015d
JJ
64382002-01-11 Jeff Johnston <jjohnstn@redhat.com>
6439
6440 * libc/stdio/vfscanf.c (__svfscanf_r): Change loop that
6441 reads blanks from the input file to break if EOF reached
6442 rather than end processing.
6443
46ad2ef4
JJ
64442002-01-07 Jeff Johnston <jjohnstn@redhat.com>
6445
6446 * MAINTAINERS: Change e-mail addresses to refer to redhat domain.
6447
86b06396
JJ
64482002-01-07 Alan Matsuoka <alanm@redhat.com>
6449
6450 * libc/include/machine/ieeefp.h: Configure d10v doubles to
6451 be 32 bits if __DOUBLE__ == 32 otherwise doubles are 64 bits.
6452 libc/include/sys/config.h: Ditto.
6453
423d5064
CV
64542001-12-28 Corinna Vinschen <corinna@vinschen.de>
6455
6456 * libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE.
6457
f6eff1c0
GK
64582001-12-22 Geoffrey Keating <geoffk@redhat.com>
6459 Catherine Moore <clm@redhat.com>
6460 Richard Henderson <rth@redhat.com>
6461 Corinna Vinschen <vinschen@redhat.com>
6462
6463 * configure.host: Add support for xstormy16.
6464 * libc/include/machine/ieeefp.h: Add support for xstormy16.
6465 * libc/include/machine/setjmp.h: Add support for xstormy16.
6466 * libc/include/sys/config.h: Add support for xstormy16.
6467 * libc/machine/xstormy16/Makefile.am: New file.
6468 * libc/machine/xstormy16/Makefile.in: New file.
6469 * libc/machine/xstormy16/aclocal.m4: New file.
6470 * libc/machine/xstormy16/configure: New file.
6471 * libc/machine/xstormy16/configure.in: New file.
6472 * libc/machine/xstormy16/setjmp.S: New file.
6473
1f93c55f
TF
64742001-12-19 Thomas Fitzsimmons <fitzsim@redhat.com>
6475
6476 * libm/machine/configure.in (HAVE_LIBM_MACHINE_DIR): New conditional.
6477 * libm/machine/Makefile.am [HAVE_LIBM_MACHINE_DIR] (LIBM_MACHLIB): New variable.
6478
13b918be
CV
64792001-12-19 Corinna Vinschen <corinna@vinschen.de>
6480
6481 * libm/machine/Makefile.am: Change rules to create correct lib.a.
6482 * libm/machine/Makefile.in: Regenerated through automake.
6483
08e857b4
TF
64842001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
6485
6486 * Makefile.am (DOCDIR): Force to empty string when doc
6487 directory is not present.
6488
60565ed6
TF
64892001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
6490
6491 * libc/machine/i386/f_*: Move to libm/machine/i386.
6492
64932001-12-18 Joel Sherrill <joel@OARcorp.com>
6494
6495 * libm/machine/Makefile.am: Add dummy doc stub so
6496 "make info" works.
6497
64982001-12-17 Joel Sherrill <joel@OARcorp.com>
6499
6500 * libc/include/sys/types.h (ino_t): RTEMS uses long also.
6501
fc504135
TF
65022001-12-17 Thomas Fitzsimmons <fitzsim@redhat.com>
6503
6504 * libc/stdlib/Makefile.am (LIB_COMPILE): Change to equal
6505 $(COMPILE) rather than $(CC).
6506 * libc/stdio/Makefile.am (LIB_COMPILE): Likewise.
6507 (vfprintf.$(oext)): Remove $(INCLUDES), made redundant by
6508 $(LIB_COMPILE) change.
6509 (vfiprintf.$(oext)): Likewise.
6510
efeae9a3
CV
65112001-12-17 Corinna Vinschen <vinschen@redhat.de>
6512
6513 * libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allow
6514 conditionalized including of getopt stuff.
6515
cdf7120d
TF
65162001-12-14 Thomas Fitzsimmons <fitzsim@redhat.com>
6517
6518 * libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) to
6519 compile line.
f85be99c 6520 (vfiprintf.$(oext)): Likewise.
cdf7120d 6521
2e1a7175
TF
65222001-12-13 Thomas Fitzsimmons <fitzsim@redhat.com>
6523
6524 * Makefile.shared: New file.
6525 * libc/sys/linux/shared.ld: New file.
6526 * libm/machine/*: New files.
6527 * libm/machine/i386/*: New files.
6528 * Makefile.am: Add libtool support. Change math and mathfp
6529 references to variables.
6530 * configure.host: Add variables for libtool support. Add
6531 libm_machine_dir variable.
6532 * configure.in: Add objectlist variables, for libtool
6533 support. Add CC_FOR_BUILD tests.
6534 * libc/Makefile.am: Add libtool support. Change crt0.o
6535 reference to be a variable reference.
6536 * libc/configure.in: Add libtool support. Change sublib
6537 names to be lib${subdir}.la when using libtool.
6538 * libc/ctype/Makefile.am: Add libtool support.
6539 * libc/errno/Makefile.am: Likewise.
6540 * libc/locale/Makefile.am: Likewise.
6541 * libc/machine/Makefile.am: Likewise.
6542 * libc/machine/configure.in: Likewise.
6543 * libc/machine/i386/Makefile.am: Likewise.
6544 * libc/machine/i386/configure.in: Likewise.
6545 * libc/misc/Makefile.am: Likewise.
6546 * libc/posix/Makefile.am: Likewise.
6547 * libc/reent/Makefile.am: Likewise.
6548 * libc/signal/Makefile.am: Likewise.
6549 * libc/stdio/Makefile.am: Likewise.
6550 * libc/stdlib/Makefile.am: Likewise.
6551 * libc/string/Makefile.am: Likewise.
6552 * libc/sys/Makefile.am: Likewise.
6553 * libc/sys/configure.in: Likewise.
6554 * libc/sys/linux/Makefile.am: Add libtool support. Change
6555 awk reference to a variable reference. Change signal.h
6556 reference to a variable reference.
6557 * libc/sys/linux/configure.in: Add libtool support.
6558 * libc/syscalls/Makefile.am: Likewise.
6559 * libc/time/Makefile.am: Likewise.
6560 * libc/unix/Makefile.am: Likewise.
6561 * libm/Makefile.am: Add libtool support. Change math and
6562 mathfp references to variables.
6563 * libm/configure.in: Add libtool support. Add
6564 LIBM_MACHINE_LIB variable.
6565 * libm/common/Makefile.am: Add libtool support.
6566 * libm/math/Makefile.am: Likewise.
6567 * libm/mathfp/Makefile.am: Likewise.
6568 Regenerate all Makefile.in, aclocal.m4, and configure.
6569
b92591a1
JJ
65702001-12-13 Anita Kulkarni <anitak@kpit.com>
6571
6572 * libc/sys/sh/crt0.S: Remove stack symbol definition 0xdeaddead.
6573
355b664e
CF
65742001-12-06 John Peacock <jpeacock@rowman.com>
6575
6576 * libc/include/sys/unistd.h: Correct ualarm declaration.
6577
e9853806
NC
65782001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
6579
6580 * libc/sys/arm/crt0.S: For __USES_INITFINI__ preserve the argument
6581 vector before calling the initialisation functions.
6582
a8e091b0
CF
65832001-11-29 Christopher Faylor <cgf@redhat.com>
6584
6585 * libc/include/dirent.h: Protect against multiple inclusion.
6586
ab634123
CF
65872001-11-27 Christopher Faylor <cgf@redhat.com>
6588
6589 * libc/include/sys/types.h: Define useconds_t.
6590 * libc/include/sys/ulimit.h: Declare ualarm.
6591
d37e401e
CF
65922001-11-21 Christopher Faylor <cgf@redhat.com>
6593
6594 * libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.
6595
8ac90051
HPN
65962001-11-19 Hans-Peter Nilsson <hp@bitrange.com>
6597
6598 * libc/sys/mmixware/*: Tweak license header in all source files.
6599
d7ca37e4
CV
66002001-11-12 Corinna Vinschen <vinschen@redhat.com>
6601
6602 * libc/include/alloca.h: Move libc/sys/linux/include/alloca.h
6603 to here. Rearrange for general inclusion by stdlib.h.
6604 * libc/include/stdlib.h: Include <alloca.h> if __STRICT_ANSI__
6605 isn't defined.
6606 * libc/sys/linux/include/alloca.h: Move to libc/include.
6607
28f8744e
AG
66082001-11-12 Anthony Green <green@redhat.com>
6609
6610 * libc/sys/arm/crt0.S (__stack_base__): New symbol.
6611
4cede8c4
HPN
66122001-11-13 Hans-Peter Nilsson <hp@bitrange.com>
6613
6614 * libc/sys/mmixware/*: Correct spacing in all source files.
6615 * libc/sys/mmixware/syscall.h: Move misplaced file...
6616 * libc/sys/mmixware/sys/syscall.h: ...here.
6617
8be9b48b
JJ
66182001-11-12 Hans-Peter Nilsson <hp@bitrange.com>
6619
6620 * libc/include/machine/ieeefp.h: Add support for mmix target.
6621 * libc/include/machine/setjmp.h: Ditto.
6622 * configure.host: Ditto.
6623 * libc/sys/mmixware/Makefile.am, libc/sys/mmixware/_exit.c,
6624 libc/sys/mmixware/access.c, libc/sys/mmixware/aclocal.m4,
6625 libc/sys/mmixware/chmod.c, libc/sys/mmixware/chown.c,
6626 libc/sys/mmixware/close.c, libc/sys/mmixware/configure.in,
6627 libc/sys/mmixware/creat.c, libc/sys/mmixware/crt0.c,
6628 libc/sys/mmixware/execv.c, libc/sys/mmixware/execve.c,
6629 libc/sys/mmixware/fork.c, libc/sys/mmixware/fstat.c,
6630 libc/sys/mmixware/getpid.c, libc/sys/mmixware/gettime.c,
6631 libc/sys/mmixware/isatty.c, libc/sys/mmixware/kill.c,
6632 libc/sys/mmixware/lseek.c, libc/sys/mmixware/open.c,
6633 libc/sys/mmixware/pipe.c, libc/sys/mmixware/read.c,
6634 libc/sys/mmixware/sbrk.c, libc/sys/mmixware/setjmp.S,
6635 libc/sys/mmixware/stat.c, libc/sys/mmixware/sys/syscall.h,
6636 libc/sys/mmixware/time.c, libc/sys/mmixware/times.c,
6637 libc/sys/mmixware/unlink.c, libc/sys/mmixware/utime.c,
6638 libc/sys/mmixware/wait.c, libc/sys/mmixware/write.c: New files.
6639 * libc/sys/mmixware/configure, libc/sys/mmixware/Makefile.in,
6640 libc/sys/mmixware/aclocal.m4: Generate.
6641
c7dd4f95
CV
66422001-11-05 Corinna Vinschen <corinna@vinschen.de>
6643
6644 * libc/include/sys/unistd.h: Add prototypes for endusershell(),
6645 getusershell(), iruserok(), revoke(), ruserok() and setusershell()
6646 when __CYGWIN__ is defined.
6647 * libc/sys/cygwin/sys/utmp.h: Add prototypes for login_tty() and
6648 logwtmp().
6649
a6a6f9fe
JJ
66502001-11-01 Arati Dikey <aratidikey@hotmail.com>
6651
6652 * libm/mathfp/sf_isinf.c (isinff): Change to use _DEFUN macro.
6653 [_DOUBLE_IS_32BITS](isinf): New function that calls isinff.
6654 * libm/mathfp/sf_isnan.c (isnanf): Change to use _DEFUN macro.
6655 [_DOUBLE_IS_32BITS](isnan): New function that calls isnanf.
6656
d0504c35
JJ
66572001-10-24 Christopher Faylor <cgf@redhat.com>
6658
6659 * libc/stdio/fseek.c: Reset pointer to buffer base
6660 when forced to seek outside of current buffer contents.
6661 This prevents the code from erroneously thinking there is
6662 anything in the current buffer.
6663
0280c8c0
GK
66642001-10-22 Geoffrey Keating <geoffk@redhat.com>
6665
6666 * libc/include/math.h: The C++ standard adds the single-precision
6667 versions of the elementary functions.
6668
333d6098
CF
66692001-10-22 Christopher Faylor <cgf@redhat.com>
6670
6671 * libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations
6672 throughout.
6673 * signal.h: Change comment to reflect __CYGWIN__ rather than __CYGWIN32__.
6674 * popen.c (popen): Use __CYGWIN_ rather than __CYGWIN32__.
6675 * system.c (_system_r): Ditto.
6676
c7118319
CV
66772001-10-17 Corinna Vinschen <corinna@vinschen.de>
6678
6679 * libc/include/sys/unistd.h: Add prototype for fchdir() when
b4e98df6 6680 __CYGWIN__ or __rtems__ is defined.
c7118319 6681
5665b0e1
JJ
66822001-10-01 Charles Wilson <cwilson@ece.gatech.edu>
6683
6684 * libc/include/stdlib.h: add declarations for
6685 _strtoull_r, _strtoll_r, strtoull, and strtoll.
6686 * libc/stdio/local.h: remove declarations of
6687 __strtoull_r and __strtoll_r.
6688 * libc/stdio/vfscanf.c(__svfscanf_r): call
6689 _strtoull_r instead of __strtoull_r. Ditto
6690 _strtoll_r vs. __strtoll_r.
6691 * libc/stdlib/Makefile.am: add new files to
6692 .c list and .def list
6693 * libc/stdlib/Makefile.in: regenerate
6694 * libc/stdlib/strtoll_r.c: rename __strtoll_r
6695 as _strtoll_r
6696 * libc/stdlib/strtoull_r.c: rename __strtoull_r
6697 as _strtoull_r
6698 * libc/stdlib/strtoull.c: new file
6699 * libc/stdlib/strtoll.c: new file
6700
d2d5eb41
CF
6701Mon Sep 17 17:29:47 2001 Christopher Faylor <cgf@cygnus.com>
6702
6703 * libc/include/process.h: Add getpid() declaration.
6704
448e3c14
NC
67052001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
6706
6707 * libc/sys/arm/crt0.S: Add calls to _init and _fini (via atexit)
6708 for new style arm/elf ctor/dtor handling.
6709 Minor formatting tidy up.
6710
7a2afbbb
JJ
67112001-09-13 Jeff Johnston <jjohnstn@redhat.com>
6712
6713 * libc/stdlib/Makefile.am: Add support to build strtoll_r.c
6714 and strtoull_r.c.
6715 * libc/stdlib/Makefile.in: Regenerated.
6716 * libc/stdlib/strtoll_r.c: New file.
6717 * libc/stdlib/strtoull_r.c: New file.
6718 * libc/stdio/local.h: Add prototypes for long long string
6719 conversion routines.
6720 * libc/stdio/vfscanf.c (__svfscanf_r): Add optional long long support
6721 tied to %L integer conversion specifier.
6722
6342caa4
JJ
6723Thu Sep 13 08:49:49 2001 Jason Tishler <jason@tishler.net>
6724
6725 * strftime.c (strftime): Fix "%W" implementation to properly handle
6726 Mondays too.
6727
b2d319cb
JJ
67282001-09-07 Jeff Law <law@redhat.com>
6729
6730 * libc/sys/h8300hms/crt0.S: For H8/300H and H8/S, load address of
6731 __fini with "mov.l" instead of "mov.w".
6732
233823ba
CV
67332001-09-05 Corinna Vinschen <corinna@vinschen.de>
6734
6735 * libc/sys/cygwin/include/unistd.h: New file, wrapping sys/unistd.h
6736 and getopt.h.
6737
63c17b54
JJ
67382001-09-04 Jason Merrill <jason_merrill@redhat.com>
6739
6740 * libc/sys/h8300hms/crt0.S: Support ELF initialization.
6741
a3e67ddf
CV
67422001-09-03 Corinna Vinschen <corinna@vinschen.de>
6743
6744 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number
6745 field.
6746 (__DIRENT_VERSION): New define.
6747
6d47f33a
CV
67482001-09-03 Corinna Vinschen <corinna@vinschen.de>
6749
6750 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add `d_fd' member.
4f79e37e
CV
6751 Shrink __d_reserved accordingly to keep structure size.
6752 (dirfd): Declare external.
6d47f33a 6753
348c5e06
JJ
67542001-08-29 Joel Sherrill <joel@OARcorp.com>
6755
6756 * libc/include/sys/unistd.h: Prototype chroot() for RTEMS.
6757
67582001-08-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
6759
6760 * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S,
6761 libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c,
6762 libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S,
6763 libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S,
6764 libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S,
6765 libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S,
6766 libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c,
6767 libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S:
6768 Add conditional compilation to avoid HW FPU instructions
6769 when compiled for soft-float.
6770
f29865c5
JJ
67712001-08-29 Jeff Johnston <jjohnstn@redhat.com>
6772
6773 * Makefile.am: Add check for ln failing when creating libg.a
6774 so that cp gets used as a backup.
6775 * Makefile.in: Regenerated.
6776
9e2a4ef8
JJ
67772001-08-29 Jeff Johnston <jjohnstn@redhat.com>
6778
6779 * libc/include/sys/reent.h: Add include of <sys/_types.h>.
6780 No longer include time.h. Add struct __tm to use for
6781 _localtime_buf in the reentrant structure. Add a
6782 _NULL definition to use in initializing the reentrant struct.
6783 * libc/include/sys/config.h: For CYGWIN32 and RTEMS, change
6784 the _READ_WRITE_RETURN_TYPE to _ssize_t which is found in
6785 <sys/_types.h>.
6786 * libc/include/sys/unistd.h: Include <sys/_types.h>.
6787 * libc/time/lcltime.c (localtime): Cast the reentrant struct
6788 _localtime_buf to be struct tm *.
6789
1ae900d6
JR
6790Wed Aug 29 14:17:38 2001 J"orn Rennecke <amylaar@redhat.com>
6791
6792 * configure.host (h8300-*-elf*, h8500-*-elf*): New cases.
6793 * libc/sys/h8300hms/crt1.c (__main): Don't reference __ctors /
6794 __ctors_end.
6795 * libc/sys/h8300hms/syscalls.c: Include errno.h.
6796 (_unlink): New stub function.
6797
8e26d5b5
CF
6798Sat Aug 25 22:22:25 2001 Christopher Faylor <cgf@cygnus.com>
6799
6800 * libc/include/sys/errno.h: Add a cautionary comment.
6801
e8267664
JJ
68022001-08-21 Jeff Johnston <jjohnstn@redhat.com>
6803
6804 * libc/stdlib/mallocr.c [!defined(MALLOC_ALIGNMENT)]: Add conditional
6805 for SIZE_SZ so that alignment ends up a minimum of 8.
6806
4acf3edf
CF
6807Mon Aug 13 22:26:01 2001 Christopher Faylor <cgf@cygnus.com>
6808
6809 * libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro
6810 arguments.
6811
6812 * libc/include/sys/errno.h: Declare sys_errlist and sys_nerr, under
6813 Cygwin.
6814
52c80be8
JJ
68152001-08-13 Jeff Johnston <jjohnstn@redhat.com>
6816
6817 * libc/include/malloc.h (M_MXFAST, M_NLBLKS, M_GRAIN, M_KEEP): New
6818 macro constants for mallopt options.
6819 (M_TRIM_THRESHOLD, M_TOP_PAD, M_MMAP_THRESHOLD, M_MMAP_MAX): Ditto.
6820
a7061f7f
JJ
68212001-08-02 Jeff Johnston <jjohnstn@redhat.com>
6822
6823 * libc/include/stdio.h (BUFSIZ): Define to __BUFSIZ__ if provided,
6824 otherwise default.
6825
0b4bfdd5
AH
68262001-07-12 Aldy Hernandez <aldyh@redhat.com>
6827
6828 * libc/machine/mips/setjmp.S: Allow mips16 and mips64 to coexist.
6829
2b6b730c
NC
68302001-06-27 Nick Clifton <nickc@cambridge.redhat.com>
6831
6832 * libc/include/machine/ieeefp.h (__IEEE_BYTES_LITTLE_ENDIAN):
6833 Define for little endian ARMs.
6834
6835 * libc/stdlib/mprec.h (Storeinc): Use little endian version if
6836 __IEEE_BYTES_LITTLE_ENDIAN is defined.
6837
25842b68
JJ
68382001-06-11 Danny Smith <dannysmith@users.sourceforge.net>
6839
6840 * /libc/include/ctype.h (is* and to* macros): Do not define if C++.
6841
371b76ef
JJ
68422001-06-11 Egor Duda <deo@logos-m.ru>
6843
6844 * libc/ctype/ctype_.c: When compiled with gcc on platforms
6845 with signed char, make _ctype_[-128] ... _ctype[-1] refer to
6846 initialized memory region. Platform can define COMPACT_CTYPE
6847 to avoid allocation of the additional 128 bytes of data.
6848 Add pointer to _ctype_ array. Always initialize all _ctype_
6849 array elements.
6850
43b44bc5
JL
68512001-06-08 Jonathan Larmour <jlarmour@redhat.com>
6852
6853 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencing
6854 NULL pointer.
6855
188bc140
NC
68562001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
6857
6858 * libc/stdio/vfprintf.c (_VFPRINTF_R): Handle printf ("%#.0o",0)
6859
2ce88418
NC
68602001-05-25 Nick Clifton <nickc@cambridge.redhat.com>
6861
6862 * libc/machine/xscale/memcmp.c: Fix bug when both pointers have
6863 matching, non-word alignment, and the length is <= 4 but more than
6864 enough to move them over a word boundary.
6865 Add comments explaining what each instruction does.
6866
ca60ed47
CF
6867Mon May 7 20:39:25 2001 Christopher Faylor <cgf@cygnus.com>
6868
6869 * libc/include/sys/stat.h: Revert March 3, Cygwin change.
c63e9997 6870 * libc/include/sys/unistd.h: Ditto.
ca60ed47 6871
8b3bcfba
JJ
68722001-05-04 Earnie Boyd <earnie@users.sourceforge.net>
6873
6874 * libc/string/strrchr.c: Use strchr for the speed improvements.
6875
b09e3cf8
JJ
68762001-05-01 Jeff Johnston <jjohnstn@redhat.com>
6877
6878 * libc/stdio/findfp (__sinit)[HAVE_FCNTL]: For platforms that have
6879 real file systems, let __smakebuf() determine if line buffering
6880 should be used for stdout.
6881
0ca66974
JJ
68822001-04-27 Jeff Johnston <jjohnstn@redhat.com>
6883
6884 * libc/stdio/vfscanf.c (__svfscanf_r): Initialize new_exp local var.
6885
7cb7017a
JJ
68862001-04-27 Jeff Johnston <jjohnstn@redhat.com>
6887
6888 * libc/include/stdlib.h: Add prototype for _strtod_r.
6889
a874cd21
JJ
68902001-04-24 Charles Wilson <cwilson@ece.gatech.edu
6891
6892 * libc/stdio/vprintf.c (vprintf): fix signature to use _DEFUN
6893 * libc/stdio/vprintf.c (_vprintf_r): new function
6894 * libc/stdio/vsnprintf.c (vsnprintf): fix signature to use _DEFUN
6895 * libc/stdio/vsnprintf.c (_vsnprintf_r): fix signature to use
6896 _DEFUN, and call _vfprintf_r, not vfprintf.
6897 * libc/stdio/vsprintf.c (vsprintf.c): fix signature to use _DEFUN
6898 * libc/stdio/vsprintf.c (_vsprintf_r): fix signature to use
6899 _DEFUN, and call _vfprintf_r, not vfprintf.
6900
cb4cc283
CF
69012001-04-22 Earnie Boyd <earnie@users.sourceforge.net>
6902
6903 * libc/include/sys/unistd.h [X_OK]: Use better protection against
6904 Cygwin X_OK definitions in sys/file.h.
6905
8c9df1d5
CF
6906Fri Apr 20 23:17:51 2001 Christopher Faylor <cgf@cygnus.com>
6907
6908 * libc/include/sys/time.h: Define timercmp and other macros for
6909 __CYGWIN__, too.
6910
3ac6f3a7
JJ
69112001-04-20 Jeff Johnston <jjohnstn@redhat.com>
6912
6913 * acinclude.m4: Added --enable-malloc-debugging configure flag.
6914 * configure.host: For Cygwin specify -DMALLOC_PROVIDED if
6915 --enable-malloc-debugging selected.
6916 * aclocal.m4 configure: Regenerated.
6917 libm/aclocal.m4 libm/configure: Ditto.
6918 * libc/aclocal.m4 libc/configure: Ditto.
6919 * libc/machine/aclocal.m4 libc/machine/configure: Ditto.
6920 * libc/machine/*/aclocal.m4 libc/machine/*/configure: Ditto.
6921 * libc/sys/aclocal.m4 libc/sys/configure: Ditto.
6922 * libc/sys/*/aclocal.m4 libc/sys/*/configure: Ditto.
6923 * doc/aclocal.m4 doc/configure: Ditto.
6924
52cb9e69
JJ
69252001-04-20 Jeff Johnston <jjohnstn@redhat.com>
6926
6927 * libc/include/stdio.h[!_REENT_ONLY]: Moved various functions together
6928 into one list.
6929 [!__STRICT_ANSI__]: Moved non-ANSI I/O functions in this list.
6930 (vfscanf, vscanf, vsscanf, _vfscanf_r, _vscanf_r, _vsscanf_r): New
6931 function prototypes.
6932 (_fscanf_r, _sscanf_r): Ditto.
6933 * libc/include/stdlib.h: Added _strtod_r prototype.
6934 * libc/stdio/Makefile.am: Add new v*scanf functions.
6935 * libc/stdio/Makefile.in: Regenerate.
6936 * libc/stdio/fscanf.c: Reorganized so HAVE_STDC only affects prototype
6937 and code is shared. Added reentrant _fscanf_r which calls __svfscanf_r.
6938 * libc/stdio/scanf.c: Changed to call __svfscanf_r.
6939 * libc/stdio/sscanf.c: Changed documentation to add reentrant routines.
6940 (sscanf): Changed to call __svfscanf_r with _REENT argument.
6941 (_sscanf_r): New routine.
6942 * libc/stdio/local.h: Removed __svfscanf prototype and replaced it
6943 with __svfscanf_r prototype.
6944 * libc/stdio/vfscanf.c (vfscanf, _vfscanf_r: New
6945 routines.
6946 (__svfscanf_r): Reentrant version of __svfscanf which takes reetrancy
6947 structure as argument as calls reentrant versions of helper functions
6948 (e.g. _strtol_r, _strtoul_r). Also replaced calls to atol and atof
6949 to _strtol_r and _strtod_r respectively.
6950 * libc/stdio/vfscanf.c: Also changed __svfscanf to call __svfscanf_r.
6951 * libc/stdlib/strtod.c (strtod): Changed to call _strtod_r with
6952 _REENT argument.
6953 * libc/stdio/vscanf.c: New file.
6954 * libc/stdio/vsscanf.c: Ditto.
6955
ee9f39fb
JJ
69562001-04-19 Robert Collins <rbtcollins@hotmail.com>
6957
6958 * include/time.h[__CYGWIN__]: Define tzname to _tzname if not defined.
6959 Define daylight to _daylight if it is not defined
6960 Prepare a variable export of timezone based on timezonevariable.
6961 (Cannot be used with the timezone() function.)
6962
273861e3
JJ
69632001-04-17 Stephen L. Moshier <moshier@moshier.ne.mediaone.net>
6964
6965 * newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi):
6966 Correct the numerical values.
6967
a25b8414
CF
69682001-04-13 Robert Collins <rbtcollins@hotmail.com>
6969
6970 * libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only).
6971
b8a8c59d
CV
6972Thu Apr 12 23:11:00 2001 Corinna Vinschen <corinna@vinschen.de>
6973
6974 * libc/include/sys/errno.h: Add ECASECLASH to indicate case clash
6975 on case insensitve file systems.
6976
74f8cc63
CF
69772001-04-12 Robert Collins <rbtcollins@hotmail.com>
6978
6979 * libc/include/sys/features.h: Add appropriate defines for Cygwin
6980 pthread support.
6981 * libc/include/sys/signal.h: Remove unneeded __CYGWIN__ protection.
6982 * libc/include/sys/types.h: Protect __CYGWIN__ from the rtems pthreads
6983 types. Include <cygwin/types.h> for the cygwin specific typedefs.
6984
16740220
RS
69852001-04-04 Richard Sandiford <rsandifo@redhat.com>
6986
6987 * libc/include/machine/ieeefp.h: Comment about new configuration
6988 macros _FLT_LARGEST_EXPONENT_IS_NORMAL and _FLT_NO_DENORMALS.
6989 * libm/common/fdlib.h: Define new macros for testing floats.
6990 * libm/common/sf_*: Use them.
6991 * libm/math/ef_*: Likewise.
6992 * libm/math/sf_*: Likewise.
6993
0694d8d3
JJ
69942001-03-29 Jeff Johnston <jjohnstn@redhat.com>
6995
6996 * libc/sys/arm/setjmp.S: Added .code 16 specifier for thumb-mode
6997 prolog to by-pass possible assembler error.
6998
4833b38c
JJ
69992001-03-21 Egor Duda <deo@logos-m.ru>
7000
7001 Allow building internal stubs for non-reentrant syscalls
7002 if target provides its own malloc
7003 * libc/reent/reent.c (errno): Move definition here.
7004 * libc/reent/sbrkr.c: From here.
7005
d17d6d42
CF
70062001-03-20 Danny Smith <dannysmith@users.sourceforge.net>
7007
7008 * libc/include/sys/types.h (BSD int typedefs): Guard with
7009 _BSDTYPES_DEFINED rather than _WINSOCK_H.
7010 (fd_set): Add !defined __USE_W32_SOCKETS to guard; define
7011 _SYS_TYPES_FD_SET.
7012 * libc/include/sys/unistd.h (gethostname): Don't declare if defined
7013 (_WINSOCK_H) || defined (__USE_W32_SOCKETS).
7014
c7ee75cd
CV
7015Sat Mar 17 18:30:00 2001 Corinna Vinschen <corinna@vinschen.de>
7016
7017 * libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS and
7018 _PC_POSIX_SECURITY constants for Cygwin.
7019
63dc5d80
CV
7020Wed Mar 14 9:34:00 2001 Corinna Vinschen <corinna@vinschen.de>
7021
7022 * libc/sys/cygwin/crt0.c: Add copyright hint.
7023 * libc/sys/cygwin/sys/dirent.h: Ditto.
7024 * libc/sys/cygwin/sys/param.h: Ditto.
7025 * libc/sys/cygwin/sys/utime.h: Ditto.
7026 * libc/sys/cygwin/sys/utmp.h: Ditto.
7027
6f637037
AO
70282001-03-13 Alexandre Oliva <aoliva@redhat.com>
7029
7030 * libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make it
7031 equivalent to LONGINT.
7032
e69b6f73
JJ
70332001-03-08 Richard Sandiford <rsandifo@redhat.com>
7034
7035 * (libc/include/machine/setjmp.h): Use 23 long long ints for a
7036 jmpbuf on MIPS64 targets.
7037 * (libc/machine/mips/setjmp.S): Add MIPS64 version.
7038
6198dece
CF
7039Wed Mar 7 16:02:07 2001 Christopher Faylor <cgf@cygnus.com>
7040
e69b6f73
JJ
7041 * libc/include/sys/config.h: Use ssize_t for Cygwin read/write
7042 declarations.
6198dece 7043
cfc05d96
JJ
7044Mon Mar 5 21:48:54 2001 J"orn Rennecke <amylaar@redhat.com>
7045
7046 * libc/include/sys/config.h (_READ_WRITE_RETURN_TYPE): Define.
7047 For RTEMS, define to be ssize_t. Default to int if not defined.
7048 * libc/stdio/sscanf.c (eofread): Return _READ_WRITE_RETURN_TYPE.
7049 * libc/stdio/stdio.c (__sread, __swrite): Likewise.
7050 * libc/stdio/local.h (__sread, __swrite): Likewise.
7051 * libc/include/sys/reent.h (_read, _write): Likewise.
7052 * libc/include/sys/unistd.h (read, write, _read, _write): Likewise.
7053 * libc/syscalls/sysread.c (read): Likewise.
7054 * libc/syscalls/syswrite.c (write): Likewise.
7055
6249353a
JJ
70562001-03-05 Jeff Johnston <jjohnstn@redhat.com>
7057
7058 * libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants.
7059
658b5db9
CF
7060Sat Mar 3 00:34:14 2001 Christopher Faylor <cgf@cygnus.com>
7061
7062 * libc/include/sys/stat.h: Use special defines for executable stat bits
7063 when compiling for Cygwin.
7064 * libc/include/sys/unistd.h: Use special define for X_OK when compiling
7065 for Cygwin.
7066
19ca46d5
JJ
70672001-03-02 Jeff Johnston <jjohnstn@redhat.com>
7068
7069 * libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype
7070 of strtok_r is always defined.
7071
b73ed85e
JJ
70722001-03-02 Jeff Johnston <jjohnstn@redhat.com>
7073
7074 * libc/include/machine/ansi.h: New dummy header file.
7075
ee37ede1
JJ
70762001-02-22 Jeff Johnston <jjohnstn@redhat.com>
7077
7078 * libc/include/machine/setjmp-dj.h: With DJ Delorie's permission,
7079 changed the copyright information to allow free modification of the
7080 file with no reference to "copying.dj".
7081 * libc/include/sys/stat-dj.h: Ditto.
7082 * libc/machine/i386/setjmp.S: Ditto.
7083 * libc/sys/h8300hms/sys/file.h: Ditto.
7084 * libc/sys/sysmec/access.c: Ditto.
7085 * libc/sys/sysnecv850/access.c: Ditto.
7086 * libc/stdio/mktemp.c: Fixed typo for the word copyright.
7087 * libc/stdlib/getenv_r.c: Ditto.
7088 * libc/stdlib/putenv_r.c: Ditto.
7089 * libc/stdlib/setenv_r.c: Ditto.
7090 * libc/stdlib/getenv.c: Removed DJ reference since any possible
7091 modifications will now be in the _r version of this file.
7092 * libc/stdlib/putenv.c: Ditto.
7093 * libc/stdlib/setenv.c: Ditto.
7094 * libc/sys/go32/copying.dj: Removed DJ's address which is no longer
7095 valid. Added a reference to DJ's web page that contains his address.
7096 * libc/sys/go32/*.s: Removed references to DJ's old address.
7097 * libc/sys/go32/*.c: Ditto.
7098 * libc/sys/go32/*.h: Ditto.
7099 * libc/sys/go32/*.S: Ditto.
7100 * libc/sys/go32/sys/*.h: Ditto.
7101
3a8fc0e4
JJ
71022001-02-21 Jeff Johnston <jjohnstn@redhat.com>
7103
7104 * libc/stdio/fdopen.c (fdopen): Protect calls to _fcntl() with
7105 HAVE_FCNTL flag check.
7106 * configure.host: Define HAVE_FCNTL for Cygwin, go32, RTEMS, sparc64,
7107 powerpcle, x86 netware, x86 sco, x86 Linux and Vxworks.
7108
b24ee749
CF
7109Thu Feb 15 01:39:51 2001 Christopher Faylor <cgf@cygnus.com>
7110
7111 * libc/include/sys/signal.h: Always include sys/types.h under Cygwin.
7112
ab4745dc
JJ
71132001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
7114
7115 * libc/include/stdlib.h: Add declarations of rand48 functions and
7116 their reentrant versions.
7117 * libc/include/sys/reent.h: Move macros from rand48.h. Add
7118 struct _rand48 for shared parameters of rand48 functions.
7119 (struct _reent): Add a variable _r48 of struct _rand48.
7120 (_REENT_INIT): Add _r48 initialization.
7121 * libc/stdlib/Makefile.am (lib_a_SOURCES): Add rand48 functions.
7122 (CHEWOUT_FILES): Add rand48.def.
7123 * libc/stdlib/Makefile.am: Add dependencies for rand48 functions.
7124 * libc/stdlib/Makefile.in: Regenerated.
7125 * libc/stdlib/drand48.c (drand48, _drand48_r): Derived from the
7126 NetBSD C library.
7127 * libc/stdlib/erand48.c (erand48, _erand48_r): Ditto.
7128 * libc/stdlib/jrand48.c (jrand48, _jrand48_r): Ditto.
7129 * libc/stdlib/lcong48.c (lcong48, _lcong48_r): Ditto.
7130 * libc/stdlib/lrand48.c (lrand48, _lrand48_r): Ditto.
7131 * libc/stdlib/mrand48.c (mrand48, _mrand48_r): Ditto.
7132 * libc/stdlib/nrand48.c (nrand48, _nrand48_r): Ditto.
7133 * libc/stdlib/seed48.c (seed48, _seed48_r): Ditto.
7134 * libc/stdlib/srand48.c (srand48, _srand48_r): Ditto.
7135 * libc/stdlib/rand48.c (__dorand48): Ditto.
7136 * libc/stdlib/rand48.h: Ditto, and modify declarations of global
7137 parameters into macros referring them in the reentrant structure.
7138
a34c461f
JJ
71392001-02-12 Jeff Johnston <jjohnstn@redhat.com>
7140
7141 * libc/include/sys/stat.h: Add mknod for Cygwin now that
7142 Cygwin definition has correct prototype.
7143
34f31ff2
JJ
71442001-02-08 Jeff Johnston <jjohnstn@redhat.com>
7145
7146 * libc/include/sys/stat.h: Must revert change for mknod
7147 for CYGWIN until winsup/cygwin/syscalls.cc changes mknod
7148 prototype.
7149
5336d6de
JJ
71502001-02-08 Jeff Johnston <jjohnstn@redhat.com>
7151
7152 * libc/include/stdio.h: Revert putw prototype.
7153
8915d10a
JJ
71542001-02-08 Edward M. Lee <tailbert@yahoo.com>
7155
7156 * libc/include/grp.h: add prototype for initgroups.
7157 * libc/include/stdio.h: fix prototype for putw.
7158 * libc/include/sys/signal.h: add prototype for killpg.
7159 * libc/include/sys/stat.h: enable mknod/lstat for CYGWIN.
7160 * libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp,
7161 vhangup and remove duplicate sysconf prototype.
7162
93ac4487
JJ
71632001-02-07 Jeff Johnston <jjohnstn@redhat.com>
7164
7165 * libc/sys/rtems/sys/types.h: Removed.
7166
31f5feea
JJ
71672001-02-05 Charles Wilson <cwilson@ece.gatech.edu>
7168
7169 * libc/include/locale.h: add LC_MESSAGES definition
7170
b5139f59
AO
71712001-02-01 Alexandre Oliva <aoliva@redhat.com>
7172
7173 * libc/sys/sh/sys/syscall.h (SYS_get_argc, SYS_get_argN_len,
7174 SYS_get_argN):
7175 * libc/sys/sh/syscalls.c (__setup_argv_for_main,
7176 __setup_argv_and_call_main): New.
7177
e29d8355
JJ
71782001-01-31 Jeff Johnston <jjohnstn@redhat.com>
7179
7180 * libc/include/stdio.h (FILENAME_MAX): Changed to use __FILENAME_MAX__
7181 if defined.
7182 (FOPEN_MAX): Changed to use __FOPEN_MAX__ if defined.
7183 (L_tmpnam): Changed to use __L_tmpnam__ if defined.
7184 * libc/include/sys/config.h: Changed to set __FILENAME_MAX__
7185 appropriately for Cygwin and RTEMS so not to exceed PATH_MAX.
7186
82ea92f3
CF
7187Mon Jan 29 23:03:06 2001 Christopher Faylor <cgf@cygnus.com>
7188
7189 * libc/stdlib/mallocr.c: Undefine windows preprocessor variables when
7190 compiling under Cygwin.
7191
3aaa66f8
JJ
71922001-01-29 Jeff Johnston <jjohnstn@redhat.com>
7193
7194 * libc/include/math.h (signgam): Change to errno-like solution
7195 using a function to return the address of the real signgam.
7196 * libc/reent/signgam.c: New file containing __signgam().
7197 * libc/reent/Makefile.am: Added signgam.c to list of files.
7198 * libc/reent/Makefile.in: Regenerated.
7199
610b895a
AO
72002001-01-25 Alexandre Oliva <aoliva@redhat.com>
7201
b0913397
AO
7202 * libc/sys/sh/syscalls.c (_times): New.
7203
610b895a
AO
7204 * configure.host (sh*-*-*): Add -DHAVE_GETTIMEOFDAY to newlib_cflags.
7205 * libc/sys/sh/syscalls.c (_gettimeofday): New.
7206
3643210e
JJ
72072001-01-23 Jeff Johnston <jjohnstn@redhat.com>
7208
7209 * libc/include/math.h (signgam): Regress previous fix as
7210 it does not handle programs with extern int signgam in them.
7211
841081c9
JJ
72122001-01-23 Jeff Johnston <jjohnstn@redhat.com>
7213
7214 * libc/include/math.h (signgam): Changed to a macro refering to
7215 its location in the reentrant structure.
7216
e9cd87b8
JJ
72172001-01-23 Jeff Johnston <jjohnstn@redhat.com>
7218
7219 * libc/stdio/vfprintf.c (_VFPRINTF_R): Modification to fix
7220 that suppressed . for %.0f, 0.1. Check now looks if there
7221 are padding zeroes (expt) in addition to any digits (ndig) to
7222 print.
7223
a302b48c
JJ
72242001-01-18 Jeff Johnston <jjohnstn@redhat.com>
7225
7226 * libc/sys/arc/Makefile.am: New file.
7227 * libc/sys/arc/Makefile.in: Ditto.
7228 * libc/sys/arc/aclocal.m4: Ditto.
7229 * libc/sys/arc/configure: Ditto.
7230 * libc/sys/arc/configure.in: Ditto.
7231 * libc/sys/arc/crt0.S: Ditto.
7232 * libc/sys/arc/isatty.c: Ditto.
7233 * libc/sys/arc/mem-layout.c: Ditto.
7234 * libc/sys/arc/sbrk.c: Ditto.
7235 * libc/sys/arc/syscalls.c: Ditto.
7236 * libc/sys/arc/sys/syscall.h: Ditto.
7237
d0319c3b
CF
7238Wed Jan 17 23:20:56 2001 Christopher Faylor <cgf@cygnus.com>
7239
7240 * libc/include/sys/unistd.h: Use correct declaration for setdtablesize.
7241
e45ab890
CF
7242Fri Jan 12 00:34:31 2001 Christopher Faylor <cgf@cygnus.com>
7243
7244 * libc/include/sys/signal.h: Add some SA_* defines for Cygwin.
7245
1376245a
DD
7246Thu Jan 11 20:42:06 2001 Earnie Boyd <earnie_boyd@yahoo.com>
7247
7248 * libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__
7249
92b57543
NC
72502001-01-09 Nick Clifton <nickc@redhat.com>
7251
7252 * configure.host (v859): Remove unsupported compiler options.
7253
7d6d33d4
JJ
7254Fri Jan 5 19:57:00 EST 2001 Aaron J. Grier <aaron@frye.com>
7255
7256 * src/newlib/configure.host (*-*-rtems*): add printf long long
7257 support for RTEMS.
7258
602f8b5a 72592000-12-19 Graham Stott <grahams@redhat.com>
6286746a
NC
7260
7261 * libc/machine/xscale/memcmp.c (memcmp): Add clobber for "lr".
7262
9c2b8183
JJ
7263Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
7264
7265 * configure.host: Turn on long double I/O for Cygwin.
7266
804368d3
JJ
7267Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
7268
7269 * MAINTAINERS: Removed Ranjith.
7270 * NEWS: Updated for 1.9.0.
7271 * README: Updated.
7272 * acinclude.m4: Updated to release 1.9.0.
7273 * aclocal.m4 configure
7274 doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
7275 libc/machine/aclocal.m4 libc/machine/configure
7276 libc/machine/a29k/aclocal.m4 libc/machine/a29k/configure
7277 libc/machine/arm/aclocal.m4 libc/machine/arm/configure
7278 libc/machine/d10v/aclocal.m4 libc/machine/d10v/configure
7279 libc/machine/d30v/aclocal.m4 libc/machine/d30v/configure
7280 libc/machine/fr30/aclocal.m4 libc/machine/fr30/configure
7281 libc/machine/h8300/aclocal.m4 libc/machine/h8300/configure
7282 libc/machine/h8500/aclocal.m4 libc/machine/h8500/configure
7283 libc/machine/hppa/aclocal.m4 libc/machine/hppa/configure
7284 libc/machine/i386/aclocal.m4 libc/machine/i386/configure
7285 libc/machine/i960/aclocal.m4 libc/machine/i960/configure
7286 libc/machine/m32r/aclocal.m4 libc/machine/m32r/configure
7287 libc/machine/m68k/aclocal.m4 libc/machine/m68k/configure
7288 libc/machine/m88k/aclocal.m4 libc/machine/m88k/configure
7289 libc/machine/mips/aclocal.m4 libc/machine/mips/configure
7290 libc/machine/mn10200/aclocal.m4 libc/machine/mn10200/configure
7291 libc/machine/mn10300/aclocal.m4 libc/machine/mn10300/configure
7292 libc/machine/necv70/aclocal.m4 libc/machine/necv70/configure
7293 libc/machine/powerpc/aclocal.m4 libc/machine/powerpc/configure
7294 libc/machine/sh/aclocal.m4 libc/machine/sh/configure
7295 libc/machine/sparc/aclocal.m4 libc/machine/sparc/configure
7296 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
7297 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
7298 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
7299 libc/machine/xscale/aclocal.m4 libc/machine/xscale/configure
7300 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
7301 libc/sys/aclocal.m4 libc/sys/configure
7302 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
7303 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
7304 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
7305 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
7306 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
7307 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
7308 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
7309 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
7310 libc/sys/linux/aclocal.m4 libc/sys/linux/configure
7311 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
7312 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
7313 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
7314 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
7315 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
7316 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
7317 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
7318 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
7319 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
7320 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
7321 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
7322 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
7323 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
7324 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
7325 libm/aclocal.m4 libm/configure: Regenerated.
7326
0985d43f
CV
7327Wed Dec 13 11:52:00 2000 Corinna Vinschen <vinschen@cygnus.com>
7328
7329 * libc/include/sys/unistd.h: Add declarations for `chroot' and `getwd'
7330 when __CYGWIN__ is defined.
7331
b6182a09
JJ
73322000-12-13 Jeff Johnston <jjohnstn@redhat.com>
7333
7334 * libc/stdlib/ldtoa.c (_ldcheck): New routine
7335 that categorizes a long double as NaN, Infinity, or other.
7336 * libc/stdio/vfprintf.c [WANT_IO_LONG_DBL](_VFPRINTF_R): Removed
7337 isinfl and isnanl static routines which were i386-specific. Changed
7338 calls to the two removed routines to a single _ldcheck call.
7339 * libc/stdio/vfieeefp.h (ldieee): Fixed missing semi-colons.
7340
adbbb034
JJ
73412000-12-13 Jeff Johnston <jjohnstn@redhat.com>
7342
7343 * Makefile.am: Fixed install-data-local target to use
7344 $(mkinstalldirs) for the installed header files to ensure
7345 the directories exist before copying.
7346 * Makefile.in: Regenerated.
7347
cbd19336
JJ
73482000-12-12 Jeff Johnston <jjohnstn@redhat.com>
7349
7350 * libc/include/sys/unistd.h: Restored Cygwin _SC
7351 constants and moved new constants appropriately
7352 so Cygwin will build.
7353
8fb37963
JJ
73542000-12-11 Joel Sherrill <joel@OARcorp.com>
7355
7356 * Merge RTEMS specific .h files into main libc/include.
7357 * libc/sys/rtems/include/signal.h: Removed.
7358 * libc/sys/rtems/include/time.h: Removed.
7359 * libc/sys/rtems/sys/features.h: Removed.
7360 * libc/sys/rtems/sys/sched.h: Removed.
7361 * libc/sys/rtems/sys/siginfo.h: Removed.
7362 * libc/sys/rtems/sys/signal.h: Removed.
7363 * libc/sys/rtems/sys/time.h: Removed.
7364 * libc/sys/rtems/sys/times.h: Removed.
7365 definitions for time_t and clock_t since these are
7366 no longer in time.h.
7367 * libc/include/pthread.h: New file.
7368 * libc/include/sys/sched.h: New file.
7369 * libc/include/sys/features.h: New file.
7370 * libc/include/time.h: Removed duplicate definition of clock_t
7371 and time_t, get them from <sys/types.h> instead. Add prototypes
7372 for POSIX clock and timer functionality.
7373 * libc/sys/linux/sys/types.h: Changed to include
7374 * libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_.
7375 * libc/include/sys/signal.h: Add more complete set of POSIX
7376 signal functionality including real-time and threaded signals.
7377 * libc/include/sys/types.h: Add clock_t, time_t, struct
7378 timespec, and struct itimerspec. Centralizing these makes
7379 things cleaner. RTEMS uses 64-bit dev_t.
7380 Added numerous primitive definitions
7381 for pthreads including macros, pthread_attr_t,
7382 pthread_mutexattr_t, pthread_condattr_t, pthread_key_t,
7383 pthread_once_t, and pthread_t.
7384 * libc/include/sys/unistd.h: Added getlogin_r() prototype.
7385 If RTEMS follow POSIX on read(), write() and sbrk() prototype.
7386 Feature flags removed and moved to new file <sys/features.h>.
7387 Full set of POSIX sysconf() constants
7388
2efbc2a7
JJ
73892000-12-08 Werner Almesberger <Werner.Almesberger@epfl.ch>
7390
7391 * configure.host: Added x86 linux target.
7392 * libc/unix/getpass.c (_PATH_PASSWD, _PASSWORD_LEN): Default
7393 definitions provided if not already defined.
7394 * libc/sys/linux/crt0.c: New file.
7395 * libc/sys/linux/Makefile.am: Ditto.
7396 * libc/sys/linux/Makefile.in: Ditto.
7397 * libc/sys/linux/aclocal.m4: Ditto.
7398 * libc/sys/linux/brk.c: Ditto.
7399 * libc/sys/linux/configure: Ditto.
7400 * libc/sys/linux/configure.in: Ditto.
7401 * libc/sys/linux/getoptlong.c: Ditto.
7402 * libc/sys/linux/ids.c: Ditto.
7403 * libc/sys/linux/inode.c: Ditto.
7404 * libc/sys/linux/io.c: Ditto.
7405 * libc/sys/linux/linux.c: Ditto.
7406 * libc/sys/linux/process.c: Ditto.
7407 * libc/sys/linux/realpath.c: Ditto.
7408 * libc/sys/linux/select.c: Ditto.
7409 * libc/sys/linux/signal.c: Ditto.
7410 * libc/sys/linux/systat.c: Ditto.
7411 * libc/sys/linux/termios.c: Ditto.
7412 * libc/sys/linux/time.c: Ditto.
7413 * libc/sys/linux/wait.c: Ditto.
7414 * libc/sys/linux/include/alloca.h: Ditto.
7415 * libc/sys/linux/include/getopt.h: Ditto.
7416 * libc/sys/linux/include/stdint.h: Ditto.
7417 * libc/sys/linux/include/unistd.h: Ditto.
7418 * libc/sys/linux/sys/cdefs.h: Ditto.
7419 * libc/sys/linux/sys/dirent.h: Ditto.
7420 * libc/sys/linux/sys/errno.h: Ditto.
7421 * libc/sys/linux/sys/fcntl.h: Ditto.
7422 * libc/sys/linux/sys/file.h: Ditto.
7423 * libc/sys/linux/sys/ioctl.h: Ditto.
7424 * libc/sys/linux/sys/resource.h: Ditto.
7425 * libc/sys/linux/sys/signal.h: Ditto.
7426 * libc/sys/linux/sys/stat.h: Ditto.
7427 * libc/sys/linux/sys/syscall.h: Ditto.
7428 * libc/sys/linux/sys/termios.h: Ditto.
7429 * libc/sys/linux/sys/time.h: Ditto.
7430 * libc/sys/linux/sys/types.h: Ditto.
7431 * libc/sys/linux/sys/utmp.h: Ditto.
7432 * libc/sys/linux/sys/utsname.h: Ditto.
7433 * libc/sys/linux/sys/wait.h: Ditto.
7434
a08c98bb
JJ
74352000-12-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
7436
7437 * Makefile.am: $(INSTALL), $(INSTALL_DATA), and $(INSTALL_PROGRAM)
7438 can be a relative path to $(top_srcdir)/install.sh so ensure the
7439 autoconf detected settings are properly passed recursively.
7440 Similarly, add AM_MAKEFLAGS to FLAGS_TO_PASS so they also get passed
7441 properly to subdirectories.
7442 * Makefile.in: Regenerated.
7443
b294082c
JJ
74442000-12-07 Jay Kulpinski <jskulpin@eng01.gdds.com>
7445
7446 * libc/stdio/vfprintf.c: Minor modification to avoid requiring
7447 a floating point register unless really printing a floating
7448 point number.
7449
2005ab6b
JJ
74502000-12-07 Jeff Johnston <jjohnstn@redhat.com>
7451
7452 * libc/stdlib/ldtoa.c: Removed include of alloca.h.
7453 Also removed \r's.
7454 (asctoeg): Replaced alloca call with stack array and malloc
7455 when storage exceeds reasonable limit.
7456 (e53toe): Fixed einfin calls missing ldp parameter.
7457 (eiisinf): Hide behind check for LDBL_MANT_DIG == 64.
7458
9f6e8f1b
JJ
74592000-12-06 Jeff Johnston <jjohnstn@redhat.com>
7460
2005ab6b 7461
9f6e8f1b
JJ
7462 * libc/stdio/vfscanf.c: Fix typo for _NO_LONGDBL macro.
7463
6bdac416
JJ
74642000-12-06 Jeff Johnston <jjohnstn@redhat.com>
7465
7466 * libc/stdlib/Makefile.am: Added ldtoa.c to list of sources.
7467 * libc/stdlib/Makefile.in: Regenerated.
7468 * libc/stdio/floatio.h: Added suitable MAXEXP for long double.
7469 * libc/stdio/vfieeefp.h: Added long double bit structures.
7470 * libc/stdio/vfprintf.c[WANT_IO_LONG_DBL]: Added long double support.
7471 [WANT_IO_LONG_DBL](isinfl, isnanl): New static long double routines.
7472 (exponent): Changed expbuf to reasonable maximum instead of MAXEXP.
7473 * libc/stdio/vfscanf.c[WANT_IO_LONG_DBL]: Added long double support.
7474 * libc/stdlib/ldtoa.c: New file containing _ldtoa_r and
7475 _strtold routines used for conversions between character
7476 and long double.
7477
ec270d31
CV
7478Wed Dec 6 12:01:00 2000 Corinna Vinschen <vinschen@cygnus.com>
7479
7480 * libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'.
7481
db2d9549
JJ
74822000-12-04 Joel Sherrill <joel@OARcorp.com>
7483
7484 * libc/include/machine/time.h: RTEMS systems can configure clock
7485 tick rate so use sysconf() to ask.
7486
6ba54a15
JJ
74872000-12-04 Joel Sherrill <joel@OARcorp.com>
7488
7489 * libc/include/sys/times.h: Add reference to POSIX standard.
7490
8677b819
JJ
74912000-12-04 Joel Sherrill <joel@OARcorp.com>
7492
7493 * libc/include/sys/time.h: Added BSD timer manipulation macros
7494 used by RTEMS code.
7495
1b61a706
JJ
74962000-12-04 Joel Sherrill <joel@OARcorp.com>
7497
7498 * libc/sys/rtems/crt0.c: Add stubs for functions implicitly
7499 referenced by code generated by gcc 2.8.1.
7500 (a29k): Add stubs for V_SPILL, V_FILL, V_BSD_OS, V_EPI_OS to
7501 satisfy gcc.
7502
f5e7c124
JJ
75032000-12-04 Joel Sherrill <joel@OARcorp.com>
7504
7505 * libc/stdlib/system.c: Avoid compiling do_system() for RTEMS.
7506
768abc9c
JJ
75072000-12-04 Joel Sherrill <joel@OARcorp.com>
7508
7509 * libc/include/ieeefp.h: Added entries for OpenCores CPUs.
7510
9e5dd5ea
JJ
75112000-12-04 Joel Sherrill <joel@OARcorp.com>
7512
7513 * configure.host (or16, or32): New entries for OpenCores
7514 OpenRisc CPUs.
7515 (*-*-rtems*): Add -DNO_EXEC.
7516
768abc9c 75172000-12-04 Keith Outwater <vac4050@cae597.rsc.raytheon.com>
7713fb6f
JJ
7518
7519 * libc/include/sys/errno.h: Added comments on many error numbers.
7520 * libc/string/strerror.c: Added some more strings.
7521
b273323f
JJ
75222000-11-30 Jeff Johnston <jjohnstn@redhat.com>
7523
7524 * libc/sys/sh/syscalls.c (_link): New stub.
7525
0ffc3b94
NC
75262000-11-29 Nick Clifton <nickc@redhat.com>
7527
7528 * configure.host: Add xscale target.
7529 * libc/machine/xscale: New directory.
7530 * libc/machine/xscale/Makefile.am: New file.
7531 * libc/machine/xscale/Makefile.in: New file.
7532 * libc/machine/xscale/aclocal.m4: New file.
7533 * libc/machine/xscale/configure: New file.
7534 * libc/machine/xscale/configure.in: New file.
7535 * libc/machine/xscale/memchr.S: New file.
7536 * libc/machine/xscale/memcmp.S: New file.
7537 * libc/machine/xscale/memcpy.S: New file.
7538 * libc/machine/xscale/memmove.S: New file.
7539 * libc/machine/xscale/memset.S: New file.
7540 * libc/machine/xscale/strchr.S: New file.
7541 * libc/machine/xscale/strcmp.S: New file.
7542 * libc/machine/xscale/strcpy.S: New file.
7543 * libc/machine/xscale/strlen.S: New file.
7544
cbbf0f96
CV
7545Sat Nov 25 11:24:00 2000 Corinna Vinschen <vinschen@cygnus.com>
7546
7547 * libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro to
7548 avoid compiler warnings.
7549
73dea790
MM
75502000-11-22 Michael Meissner <meissner@redhat.com>
7551
7552 * libc/posix/execl.c (execl): Don't reference environ directly,
7553 reference it only via a static pointer to avoid problems with some
7554 shared library systems and with different uses of small data where
7555 the user specifies his own version of environ.
7556 * libc/posix/execv.c (execv): Ditto.
7557 * libc/stdlib/getenv_r.c (_findenv_r): Ditto.
7558 * libc/stdlib/setenv_r.c (_setenv_r,_unsetenv_r): Ditto.
7559 * libc/stdlib/system.c (system, !cygwin32 case): Ditto.
7560
7561 * libc/stdlib/getenv.c (environ): Delete unused reference to
7562 environ.
7563
7564 * libc/stdlib/getenv_r.c: Make initial comment friendlier to emacs
7565 colorization.
7566 * libc/stdlib/system.c: Ditto.
7567
08eac2ae
CF
7568Tue Nov 21 20:32:21 2000 Christopher Faylor <cgf@cygnus.com>
7569
7570 * libc/sys/cygwin/sys/dirent.h: Change definition to avoid necessity of
7571 including windows headers.
7572
5478bf37
JJ
75732000-11-20 Jeff Johnston <jjohnstn@redhat.com>
7574
7575 * libc/include/sys/unistd.h: Removed definition of MAXNAMLEN.
7576 * libc/include/dirent.h: Added definition of MAXNAMLEN if
7577 not defined by sys/dirent.h.
7578 * libc/posix/execvp.c: Added include of dirent.h to get
7579 MAXNAMLEN value which used to be in unistd.h.
7580
3a760728
CV
7581Mon Nov 6 12:56:00 2000 Corinna Vinschen <vinschen@cygnus.com>
7582
7583 * libc/include/sys/types.h: Change type of i to `size_t' in
7584 FD_ZERO macro to avoid compiler warnings.
7585
86fff69f
CF
7586Sun Oct 29 20:06:41 2000 Christopher Faylor <cgf@cygnus.com>
7587
7588 * libc/include/stdlib.h: Avoid declaring cfree under Cygwin.
7589 * libc/include/malloc.h: Ditto. Also remove obsolete declaration.
7590
ba9e88d2
CV
7591Tue Oct 24 20:16:00 2000 Corinna Vinschen <vinschen@cygnus.com>
7592
7593 * libc/include/sys/unistd.h: Add defines for sysconf values
7594 _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and
7595 _SC_AVPHYS_PAGES.
7596
a8018ef3
CF
7597Mon Oct 9 20:26:33 2000 Christopher Faylor <cgf@cygnus.com>
7598
7599 * libc/include/sys/unistd.h: Add getdtablesize and setdtablesize
7600 declarations for __CYGWIN__.
7601
b944c6f6
GK
76022000-09-19 Geoffrey Keating <geoffk@cygnus.com>
7603
7604 * libc/signal/signal.c (__sigtramp_r): ISO C requires
7605 case labels to be integral constant expressions, so
7606 use an if/else tree instead.
7607 (_raise_r): Likewise.
7608
7f18fcb4
JJ
76092000-09-13 Jeff Johnston <jjohnstn@redhat.com>
7610
7611 * libc/machine/v850/setjmp.S: Fixed tab problems caused by
7612 clipping patch from e-mail reader.
7613
242361df
JJ
76142000-09-13 Will Cohen <wcohen@redhat.com>
7615
7616 * libc/machine/v850/setjmp.S (_setjmp): Save r1 rather than r0.
7617 Added return value 0.
7618 (_longjmp): Allow longjmp to return value of second argument
7619 passed to it.
7620
8a8c59b9
JJ
76212000-09-06 Jeff Johnston <jjohnstn@redhat.com>
7622
7623 * libc/include/sys/types.h (FD_ZERO): Remove call to bzero and
7624 inline code to prevent having to include another header file.
7625
a385ae75
CF
7626Wed Sep 6 15:06:40 2000 Christopher Faylor <cgf@cygnus.com>
7627
7628 * Makefile.am: Fix space vs. tab problem in install-data-local.
7629 * Makefile.in: Regenerate.
7630
7631Wed Sep 6 13:49:51 2000 Christopher Faylor <cgf@cygnus.com>
7632
7633 * libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__.
7634 (_EXPARM): New macro for defining a function parameter.
7635 * libc/include/stdlib.h: Use _EXPARM.
7636 * libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
7637
a36cd013
JJ
76382000-09-05 Manfred Hollstein <manfredh@redhat.com>
7639
7640 * Makefile.am (install-data-local): Use optional $(DESTDIR) where
7641 required, as documented in the gnu coding standards.
7642 * Makefile.in: Regenerate.
7643
f825dfda
JJ
76442000-09-05 Jeff Johnston <jjohnstn@redhat.com>
7645
7646 * libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to
7647 make O_NDELAY and O_NONBLOCK have the same value.
7648
4ba9aab7
JJ
76492000-08-30 Kazu Hirata <kazu@hxi.com>
7650
7651 * libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.
7652
db7acc38
JJ
76532000-08-30 Werner Almesberger <Werner.Almesberger@epfl.ch>
7654
7655 * libc/posix/execve.c: included unistd.h for "_execve" prototype.
7656 * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed
7657 "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like
7658 everywhere else.
7659
44e36af4
GK
76602000-08-30 Geoffrey Keating <geoffk@cygnus.com>
7661
7662 * libc/string/swab.c: Specify that it's defined in <unistd.h>.
7663 * libc/include/string.h: Don't include <sys/types.h>,
7664 as it causes really bad namespace pollution. Don't declare
7665 swab(), it is properly declared in unistd.h.
7666
00a2f168
JJ
76672000-08-29 Werner Almesberger <Werner.Almesberger@epfl.ch>
7668
7669 * libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed
7670 (broken) support for non-existent /etc/passwd field "comment".
7671
6beeb240
JJ
76722000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
7673
7674 * libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen
7675 only if _DIRENT_HAVE_D_NAMLEN is defined.
7676 (alphasort): aligned prototype with
7677 libc/sys/cygwin/sys/dirent.h and simplified function body.
7678 * libc/posix/telldir.c (telldir): changed "telldir" prototype to
7679 long telldir (DIR *) as mentioned in annex B of POSIX.1
7680
ef44da42
JJ
76812000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
7682
7683 * libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type
7684 of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined;
7685 Added __CLI and __STI macros (controlled via
7686 _I386MACH_ALLOW_HW_INTERRUPTS macro).
7687 * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S
7688 libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S
7689 libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S
7690 libc/machine/i386/f_log.S libc/machine/i386/f_log10.S
7691 libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S
7692 libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S
7693 libc/machine/i386/memchr.S libc/machine/i386/memcmp.S
7694 libc/machine/i386/memcpy.S libc/machine/i386/memmove.S
7695 libc/machine/i386/memset.S libc/machine/i386/setjmp.S
7696 libc/machine/i386/strchr.S libc/machine/i386/strlen.S:
7697 (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol)
7698 for all global entry points.
7699 * libc/machine/i386/setjmp.S: removed code replicated in
7700 libc/machine/i386/i386mach.h and included i386mach.h instead;
7701 Use __CLI and __STI instead of cli and sti.
7702
14d3488d
DD
77032000-08-25 DJ Delorie <dj@redhat.com>
7704
7705 * libc/include/sys/unistd.h (environ): this one isn't from the
7706 DLL, no __IMPORT
7707
c9ca4412
CF
7708Fri Aug 25 13:37:11 2000 Christopher Faylor <cgf@cygnus.com>
7709
7710 * libc/stdlib/system.c (do_system): Eliminate explicit declaration of
7711 environ when compiling under cygwin since it is already declared in
7712 unistd.h.
7713
2d5862de
JJ
77142000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
7715
7716 * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
7717 like x << y-z to the equivalent x << (y-z).
7718 (d2b): changed if statements with assignment to perform the
7719 assignment prior to the if check.
7720 * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
7721 * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
7722 * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
7723 * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
7724 precedence.
7725 * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
7726 Added "_execve" prototype (for execl.c, execle.c, execv.c, and
7727 execve.c).
7728 * libc/posix/popen.c (popen): added parentheses to clarify && and ||
7729 precedence.
7730 * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
7731 clarify && and || precendence (and to remove pascalism).
7732 * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
7733 * libm/math/s_infconst.c: added another pair of braces to all
7734 initializers for __infinity (need three: for __infinity[1] array,
7735 for union __dmath, and for i[2]).
7736
0888fedd
JJ
77372000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
7738
199359f0
JJ
7739 * libc/stdlib/abort.c: changed description: uses "raise" instead of
7740 "getpid" and "kill"; added: uses "write" and "_exit".
7741 Also included unistd.h for "_exit" prototype.
7742 * libc/stdlib/system.c: included unistd.h for "execve" prototype,
7743 reent.h for "_fork_r" and "_wait_r" prototypes.
7744 (do_system): changed extern char *environ[] to POSIX-friendly
7745 extern char **environ.
7746 * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp"
7747 prototypes.
7748 * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype.
7749 * libc/reent/execr.c: included sys/wait.h for "wait" prototype.
7750 * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype.
7751 * libc/reent/openr.c: included fcntl.h for "open" prototype.
7752 * libc/reent/signalr.c: included signal.h for "kill" prototype,
7753 unistd.h for "getpid" prototype.
7754 * libc/reent/statr.c: included sys/stat.h for "stat" prototype.
7755 * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype.
7756 * libc/unix/getut.c (utmpname): removed local, incorrect "strdup"
7757 prototype. Also included stdlib.h for "abort", string.h for
7758 "strdup" and "strncmp" prototypes.
7759 * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and
7760 "strncpy", unistd.h for "read" and "close" prototypes.
7761 * libc/posix/execvp.c: included string.h for "strchr", "strlen", and
7762 "strcat" prototypes.
7763
77642000-08-23 Werner Almesberger <Wernen Almesberger@epfl.ch>
7765
0888fedd
JJ
7766 * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's
7767 used later (ifdef __SCLE)
7768 * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's
7769 used later (ifdef MB_CAPABLE)
7770 * libc/string/memset.c (memset): removed unused variables "count"
7771 and "unaligned_addr"
7772 * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and
7773 "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE)
7774 * libc/unix/getpwent.c (getpwnam): removed unused variables "uid"
7775 and "gid"
7776
a334e5ef
JJ
77772000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
7778
7779 * libc/stdlib/envlock.c: changed documented "__env_lock" and
7780 "__env_unlock" prototype from "void *" or "char *" to
7781 "struct _reent *" to match real function. Also added include
7782 of envlock.h.
7783 * libc/stdlib/mlock.c: changed documented "__malloc_lock" and
7784 "__malloc_unlock" prototype from "void *" or "char *" to
7785 "struct _reent *" to match real function.
7786 * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock"
7787 prototypes (for getenv_r.c and setenv_r.c).
7788
644b7f26
DD
77892000-08-22 Werner Almesberger <Werner.Almesberger@epfl.ch>
7790
7791 * libc/unix/getut.c (utmpname): added _CONST to reflect common use
7792 and prototype in cygwin's utmp.h
7793
5bacbf10
JJ
77942000-08-16 Eric Fifer <efifer@sanwaint.com>
7795
7796 * libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
7797
38a6bf98
NC
77982000-08-09 Nick Clifton <nickc@cygnus.com>
7799
7800 * libc/sys/arm/setjmp.S: Recode to clean up function prologues and
7801 epilogue and to allow the functions to be used in a Thumb based
7802 toolchain.
7803
befe0fb3
JJ
78042000-08-08 Jeff Johnston <jjohnstn@redhat.com>
7805
7806 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code
7807 so size of 0 results in nothing being written to string.
7808 Also fixed code so that when size is non-zero, there is only
7809 a maximum of size - 1 characters written to the array and
7810 a nul terminator is appended at the end.
7811 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
7812
749d9bcd
DD
78132000-08-01 DJ Delorie <dj@redhat.com>
7814
7815 * libc/include/sys/config.h: define __IMPORT appropriately
7816 * libc/include/ctype.h (_ctype_): use __IMPORT
7817 * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto
7818 * libc/include/math.h (__mb_cur_max): ditto
7819 * libc/include/time.h (_timezone, _daylight, _tzname): ditto
7820 * libc/include/unctrl.h (__unctrl, __unctrllen): ditto
7821 * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto
7822 * libc/include/unistd.h (environ): ditto
7823
7c110b17
MM
78242000-07-28 Michael Meissner <meissner@redhat.com>
7825
7826 * libc/include/math.h (__infinity): Declare as an array without
7827 bounds to get around small data support. Rewrite Cygwin support
7828 to be more general.
7829 * libm/math/s_infconst.c (__infinity): Ditto.
7830 * libm/mathfp/s_infconst.c (__infinity): Ditto.
7831
bf7be721
CF
7832Thu Jul 27 10:46:01 2000 Christopher Faylor <cgf@cygnus.com>
7833
7834 * libc/include/math.h: Use appropriate dll import linkage for
7835 __infinity under Cygwin.
7836
91a8d90b
DD
78372000-07-13 DJ Delorie <dj@cygnus.com>
7838
7839 * libc/stdio/vfprintf.c: pad 0.0 correctly with %e
7840
ba2048d3
JJ
7841Wed Jun 28 14:08:00 2000 Keith Walker <keith.walker@arm.com>
7842
7843 * libc/sys/arm/crt0.S (.LC30): Added missing length parameter
7844 to argument list for AngelSWI_Reason_GetCmdLine.
7845
4634da64
JJ
7846Tue Jun 27 15:49:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
7847
7848 * configure.host: Add support for AVR target.
7849 * libc/include/machine/ieeefp.h: Likewise.
7850 * libc/include/sys/config.h: Likewise.
7851
b19f72a2
RK
7852Thu Jun 22 18:35:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
7853
7854 * README: Newlib 1.8.2 must be built in a separate directory
7855 than the sources.
7856
a704d94a
JJ
7857Tue Jun 20 14:30:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
7858
7859 * libc/include/sys/reent.h (_rand_next): Added __extension__
7860 qualifier as long long type is not strict ANSI.
7861 * libc/stdlib/rand.c (rand): Added __extension__ qualifier
7862 to long long constant.
7863
b585720b
CV
7864Fri Jun 16 23:02:00 2000 Corinna Vinschen <corinna@vinschen.de>
7865
7866 * libc/include/sys/unistd.h: Add prototypes for `seteuid' and
7867 `setegid' provided by Cygwin.
7868
01c327ba
CV
7869Thu Jun 15 0:21:00 2000 Corinna Vinschen <corinna@vinschen.de>
7870
7871 * libc/stdio/fdopen.c: Take explicit given bin/textmode into
7872 account for Cygwin.
7873
46a43a99
JJ
7874Fri Jun 9 14:28:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
7875
7876 * libc/include/sys/reent.h (_rand_next): Changed to
7877 unsigned long long and moved to end of _reent struct in _new union.
7878 (_REENT_INIT): Changed to move _rand_next initialization.
7879 * libc/stdlib/rand.c (rand): Changed to use unsigned long long
7880 linear congruential algorithm that is used by DJGPP.
7881
a68078cb
RK
7882Thu Jun 8 21:18:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
7883
7884 * libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX.
7885 * libc/include/sys/config.h: Define __RAND_MAX.
7886
518882f3
JJ
7887Thu Jun 8 17:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
7888
7889 * libc/stdlib/rand_r.c: New algorithm that meets minimal
7890 standard.
7891
d51d968a
CF
7892Fri Jun 2 23:02:11 2000 Christopher Faylor <cgf@cygnus.com>
7893
7894 * libc/include/string.h: Work around problem with strsignal and gdb.
7895
d2dd5765
CF
7896Tue May 30 13:13:01 2000 Christopher Faylor <cgf@cygnus.com>
7897
7898 * libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__
7899 * libc/include/malloc.h: Ditto.
7900 * libc/include/process.h: Ditto.
7901 * libc/include/stdio.h: Ditto.
7902 * libc/include/stdlib.h: Ditto.
7903 * libc/include/time.h: Ditto.
7904 * libc/include/machine/setjmp.h: Ditto.
7905 * libc/include/sys/errno.h: Ditto.
7906 * libc/include/sys/signal.h: Ditto.
7907 * libc/include/sys/stat.h: Ditto.
7908 * libc/include/sys/time.h: Ditto.
7909 * libc/include/sys/unistd.h: Ditto.
7910 * libc/include/string.h: Ditto. strsignal should return a const char *.
7911
88870218
JJ
79122000-05-26 Marek Michalkiewicz <marekm@linux.org.pl>
7913
7914 * libm/common/s_expm1.c (expm1): Add curly braces, avoid warnings.
7915 * libm/common/s_log1p.c (log1p): Likewise.
7916 * libm/common/s_scalbn.c (scalbn): Likewise.
7917 * libm/math/e_log.c: Likewise.
7918 * libm/math/e_asin.c: Likewise.
7919 * libm/math/ef_asin.c: Likewise.
7920 * libm/math/e_j0.c (pzero, qzero): Remove redundant test.
7921 * libm/math/e_j1.c (pone, qone): Likewise.
7922 * libm/math/ef_j0.c (pzerof, qzerof): Likewise.
7923 * libm/math/ef_j1.c (ponef, qonef): Likewise.
7924 * libm/mathfp/e_j0.c (pzero, qzero): Likewise.
7925 * libm/mathfp/e_j1.c (pone, qone): Likewise.
7926 * libm/mathfp/ef_j0.c (pzerof, qzerof): Likewise.
7927 * libm/mathfp/ef_j1.c (ponef, qonef): Likewise.
7928
c4e1aa01
DD
79292000-05-19 DJ Delorie <dj@cygnus.com>
7930
7931 * libc/stdio/stdio.c (__stextmode): new, see if file is text mode
7932 (__sread): always read in binary mode
7933 (__swrite): always write in binary mode
7934 * libc/include/stdio.h: no getc/putc macros for cygwin; causes
7935 compatibility issues with different dll versions
7936 * libc/stdio/fopen.c: use __stextmode
7937 * libc/stdio/fdopen.c: ditto
7938 * libc/stdio/freopen.c: ditto
7939 * libc/stdio/findfp.c: set up __SCLE for std{in,out,err}
7940 * libc/stdio/local.h: declare __stextmode
7941
f4393261
DD
79422000-05-18 DJ Delorie <dj@cygnus.com>
7943
7944 * libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLE
7945
2b533fac
JJ
7946Mon May 15 18:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
7947
7948 * libc/include/ctype.h: Changed tolower and toupper macros
7949 to use __extension__ to prevent pedantic warnings.
7950
75362a76
RK
7951Mon May 15 14:26:00 2000 Joel Sherrill <joel@oarcorp.com>
7952
7953 * libc/sys/rtems/sys/time.h: Add macros for manipulating timeval
7954 structures.
7955
ec463fc7
JW
7956Wed May 10 19:24:53 2000 Jim Wilson <wilson@cygnus.com>
7957
7958 * libc/include/machine/ieeefp.h: Add ia64 support.
7959 * configure.host: Likewise.
7960
f35ceefa
JJ
7961Wed May 10 13:52:24 2000 Egor Duda <deo@logos-m.ru>
7962
7963 * libc/time/asctime_r.c (asctime_r): Change output format. Day of
7964 month is now padded with space, not zero. This now conforms to
7965 ANSI standard.
7966
b96fca8c
CV
7967Wed May 03 17:57:00 2000 Corinna Vinschen <corinna@vinschen.de>
7968
7969 * libc/include/sys/errno.h: Add define for ENOSHARE ("No such
7970 host or network path") used by cygwin. Add some comments.
7971
49d64538
JJ
7972Tue May 02 23:45:48 2000 DJ Delorie <dj@cygnus.com>
7973
7974 * libc/include/stdio.h (FILE): define __SCLE for "convert line
7975 endings" for Cygwin.
7976 (__sgetc): convert line endings if needed
7977 (__sputc): ditto
7978 * libc/stdio/fdopen.c (_fdopen_r): Remember if we opened in text mode
7979 * libc/stdio/fopen.c (_fopen_r): ditto
7980 * libc/stdio/freopen.c (freopen): ditto
7981 * libc/stdio/fread.c (fread): perform CRLF conversions if __SCLE
7982 * libc/stdio/fvwrite.c (__sfvwrite): ditto
7983
91fb1e7f
AO
7984Thu Apr 27 07:45:48 2000 Alexandre Oliva <aoliva@cygnus.com>
7985
7986 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Use
7987 post-increment when it is worth it, spacewise.
7988
c87be3e4
JJ
7989Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
7990
7991 * libc/signal/signal.c (_signal_r) : Removed unused local variable temp.
7992 * libc/stdio/findfp.c (std): Added declaration of flags and file.
7993 * libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int
7994 return type.
7995 * libc/stdio/putchar.c (putchar): Added return statement.
7996 * libc/stdio/refill.c (lflush): Added correct parentheses.
7997 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
7998 * libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which
7999 prints long value to use l qualifier.
8000 * libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning
8001 messages and initialized local values: ilim, ilim1, and spec_case.
8002 * libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp.
8003 * libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses.
8004 * libc/stdlib/mprec.c: Ditto.
8005 * libc/stdlib/setenv_r.c: Ditto.
8006 * libc/stdlib/strtod.c: Ditto.
8007 * libc/stdlib/strtol.c: Ditto.
8008 * libc/stdlib/strtoul.c: Ditto.
8009 * libm/common/sf_expm1.c: Added curly braces to if else clauses.
8010 * libm/common/sf_log1p.c: Ditto.
8011 * libm/common/sf_scalbn.c: Ditto.
8012 * libm/math/ef_log.c: Ditto.
8013
11f5b065
CV
8014Sun Apr 16 12:45:00 2000 Corinna Vinschen <corinna@vinschen.de>
8015
8016 * libc/posix/execvp.c (execvp): Check path for
8017 trailing slash.
8018
796e3b20
CV
8019Fri Mar 31 20:39:00 2000 Corinna Vinschen <corinna@vinschen.de>
8020
8021 * libc/include/sys/unistd.h: Add prototypes for
8022 fchmod, fchown, lchown.
8023
b489803a
JJ
8024Fri Mar 24 15:34:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
8025
8026 * acinclude.m4: Changed release to 1.8.2.
8027 * aclocal.m4 configure doc/aclocal.m4 doc/configure
8028 libc/aclocal.m4 libc/configure libc/machine/aclocal.m4
8029 libc/machine/configure libc/machine/a29k/aclocal.m4
8030 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
8031 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
8032 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
8033 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
8034 libc/machine/fr30/configure libc/machine/h8300/aclocal.m4
8035 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
8036 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
8037 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
8038 libc/machine/i386/configure libc/machine/i960/aclocal.m4
8039 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
8040 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
8041 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
8042 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
8043 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
8044 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
8045 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
8046 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
8047 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
8048 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
8049 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
8050 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
8051 libc/machine/v850/configure libc/machine/w65/aclocal.m4
8052 libc/machine/w65/configure libc/machine/z8k/aclocal.m4
8053 libc/machine/z8k/configure libc/sys/aclocal.m4
8054 libc/sys/aclocal.m4 libc/sys/configure
8055 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
8056 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
8057 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
8058 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
8059 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
8060 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
8061 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
8062 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
8063 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
8064 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
8065 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
8066 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
8067 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
8068 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
8069 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
8070 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
8071 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
8072 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
8073 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
8074 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
8075 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
8076 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
8077 libm/aclocal.m4 libm/configure: Regenerated.
8078
79908d67
NC
80792000-03-24 Nick Clifton <nickc@cygnus.com>
8080
8081 * libc/sys/arm/syscalls.c: Fix compile time warnings.
8082 (do_AngelSWI): Add "cc" to list o registers clobbered.
8083
7684ddaf
FN
8084Thu Mar 22 14:57:00 2000 Fernando Nasser <fnasser@redhat.com>
8085
8086 * libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid
8087 information to be clobbered by an Angel C library support syscall.
8088
b8ec20c8
JJ
8089Tue Mar 21 19:08:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
8090
8091 * libc/stdlib/envlock.c: Fixed comment typo.
8092
fae4c299
JJ
8093Fri Mar 17 15:37:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
8094
8095 * libc/stdio/vfscanf.c (__svfscanf): Fixed floating point
8096 code to update nread as each character is processed instead
8097 of using buffer contents which throw away leading zeroes.
8098
dc98804b
RK
8099Mon Mar 13 15:22:00 2000 Sergei Organov <osv@javad.ru>
8100
8101 * libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
8102
5ed2f523
JJ
8103Fri Mar 10 16:09:20 2000 Jeff Johnston <jjohnstn@cygnus.com>
8104
8105 * libc/include/string.h: Include <sys/types.h>.
8106
1cf0ee34
AO
8107Fri Mar 10 14:53:50 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8108
8109 * libc/stdio/putw.c (putw): Return 0 on success, to be compliant
8110 with XSH5, not SVID.
8111
e9c94978
JJ
8112Thu Mar 9 17:20:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
8113
8114 * libc/include/string.h: Changed last argument back to ssize_t
8115 to make it compatible with XPG4 definition which is
8116 defined in <unistd.h>. There is a conflict in the SVID 3
8117 and XPG4 definitions and newlib will settle with XPG4.
8118 * libc/string/swab.c: Ditto.
8119
3072163c
JJ
8120Wed Mar 8 17:11:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
8121
8122 * libc/include/string.h: Changed last argument to size_t.
8123 * libc/string/swab.c: Changed last argument to size_t.
8124
f205ea7a
AO
8125Wed Mar 8 00:46:41 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8126
8127 * libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.
8128 (CHEWOUT_FILES): Added unlinkr.def.
8129 * libc/reent/Makefile.in: Rebuilt.
8130 * libc/sys.tex: Include unlinkr.def.
8131 * libc/reent/linkr.c (_unlink_r): Moved to...
8132 * libc/reent/unlinkr.c: ... new file.
8133
85dd2e5b
AO
8134Wed Mar 8 00:43:07 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8135
8136 * libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.
8137 (CHEWOUT_FILES): Added swab.def.
8138 * libc/string/Makefile.in: Rebuilt.
8139 * libc/string/string.tex: Include swab.def.
8140 * libc/include/string.h (swab): Declare.
8141 * libc/string/swab.c: New file.
8142
c5053058
AO
8143Wed Mar 8 00:38:35 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8144
8145 * libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.
8146 (CHEWOUT_FILES): Added getw.def and putw.def.
8147 * libc/stdio/Makefile.in: Rebuilt.
8148 * libc/stdio/stdio.tex: Include getw.def and putw.def.
8149 * libc/stdio/getw.c: New file.
8150 * libc/stdio/putw.c: New file.
8151
dbaf37cf
JJ
8152Fri Feb 25 14:50:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
8153
8154 * libc/stdio/flags.c (__sflags): Added check that mode[1]
8155 is non-null before looking at mode[2].
8156
bc019ef2
RK
8157Thu Feb 24 11:43:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
8158
8159 * libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS.
8160 * libm/mathfp/sf_atan.c: Ditto.
8161
8162Thu Feb 24 11:39:00 2000 Joel Sherrill <joel@OARcorp.com>
8163
8164 * libc/include/sys/stat.h: Add RTEMS prototype for lstat.
8165
cd641b2d
RK
8166Tue Feb 22 14:37:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
8167
8168 * libm/mathfp/sf_exp.c: Corrected _DOUBLE_IS_32_BITS to be
8169 _DOUBLE_IS_32BITS.
8170
b0ba0ac2
JJ
8171Mon Feb 21 11:43:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
8172
8173 * libc/stdio/vfprintf.c (VFPRINTF): Added CHECK_INIT
8174 call prior to calling _VFPRINTF_R so reentrant data area is set.
8175 (_VFPRINTF_R): Removed now extraneous CHECK_INIT call.
8176
8a0efa53
CF
8177Thu Feb 17 01:42:50 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
8178
8179 * libc/stdio/vfscanf.c (limits.h): #include.
8180 (MAX_LONG_LEN): #define.
8181 (__svfscanf): Handle floating point numbers with arbitrary amounts
8182 of leading zeroes.
8183
81842000-02-15 Nick Clifton <nickc@cygnus.com>
8185
8186 * libc/sys/arm/syscalls.c (_fstat): Initialise all fields to
8187 zero. Set the blocksize to 1024/
8188
8189Thu Jan 20 18:57:00 2000 Fernando Nasser <fnasser@redhat.com>
8190
8191 * setvbuf.c (setvbuf): Set size to BUFSIZ when passed a zero size
8192 with line buffering.
8193
8194Mon Jan 10 18:43:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
8195
8196 * acinclude.m4: Changed include directory for winsup headers.
8197 * aclocal.m4 configure libc/aclocal.m4
8198 libc/configure libc/ctype/Makefile.in libc/errno/Makefile.in
8199 libc/locale/Makefile.in libc/machine/aclocal.m4
8200 libc/machine/configure libc/machine/a29k/aclocal.m4
8201 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
8202 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
8203 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
8204 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
8205 libc/machine/fr30/configure
8206 libc/machine/h8300/aclocal.m4
8207 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
8208 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
8209 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
8210 libc/machine/i386/configure libc/machine/i960/aclocal.m4
8211 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
8212 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
8213 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
8214 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
8215 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
8216 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
8217 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
8218 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
8219 libc/machine/powerpc/configure
8220 libc/machine/sh/aclocal.m4
8221 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
8222 libc/machine/sparc/configure
8223 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
8224 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
8225 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
8226 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
8227 libc/misc/Makefile.in libc/posix/Makefile.in
8228 libc/reent/Makefile.in
8229 libc/signal/Makefile.in
8230 libc/string/Makefile.in libc/sys/aclocal.m4 libc/sys/configure
8231 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
8232 libc/sys/arm/Makefile.in libc/sys/arm/aclocal.m4
8233 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
8234 libc/sys/cygwin/configure libc/sys/d10v/Makefile.in
8235 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
8236 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
8237 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
8238 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
8239 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
8240 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
8241 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
8242 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
8243 libc/sys/sh/Makefile.in libc/sys/sh/aclocal.m4
8244 libc/sys/sh/configure libc/sys/sparc64/aclocal.m4
8245 libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4
8246 libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4
8247 libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4
8248 libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4
8249 libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4
8250 libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4
8251 libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4
8252 libc/sys/tic80/configure libc/sys/w65/aclocal.m4
8253 libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4
8254 libc/sys/z8ksim/configure libc/syscalls/Makefile.in
8255 libc/time/Makefile.in libc/unix/Makefile.in libm/aclocal.m4
8256 libm/configure: Regenerated.
8257
8258Mon Jan 10 18:43:46 2000 Jeff Johnston <jjohnstn@cygnus.com>
8259
8260 * libc/stdlib/putenv_r.c (_putenv_r): New file.
8261 * libc/stdlib/strdup_r.c (_strdup_r): New file.
8262 * libc/include/string.h: Added _strdup_r.
8263 * libc/stdlib/putenv.c: Added call to reentrant version.
8264 * libc/stdlib/strdup.c: Ditto.
8265 * libc/stdlib/Makefile.am: Added _putenv_r and _unsetenv_r.
8266 * libc/include/stdlib.h: Ditto.
8267 * libc/stdlib/Makefile.in: Regenerated.
8268 * libc/string/Makefile.in: Regenerated.
8269 * libc/stdlib/setenv.c: Added reentrant version of unsetenv.
8270 * libc/stdlib/setenv_r.c: Added unsetenv_r and changed memory
8271 management calls to reentrant versions.
8272 * libc/stdlib/wcstombs.c: Added #ifndef _REENT_ONLY wrapper.
8273 * libc/stdlib/wctomb.c: Ditto.
8274 * libc/stdlib/mblen.c: Ditto.
8275 * libc/stdlib/mbstowcs.c: Ditto.
8276 * libc/stdlib/mbtowc.c: Ditto.
8277 * libc/stdlib/getenv.c: Ditto.
8278 * libc/reent/reent.tex: Added references to _putenv_r, _setenv_r,
8279 and _strdup_r.
8280
8281Thu Jan 6 15:33:46 2000 Christopher Faylor <cgf@cygnus.com>
8282
8283 patch from Corinna Vinschen <corinna@vinschen.de>
8284 * libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16.
8285
bc019ef2 8286Mon Jan 03 14:36:00 2000 Sergei Organov <osv@javad.ru>
8a0efa53
CF
8287
8288 * libm/mathfp/s_atangent.c: Fix exponent calculation.
8289 * libm/mathfp/s_ldexp.c: Ditto.
8290 * libm/mathfp/sf_atangent.c: Ditto.
8291 * libm/mathfp/sf_ldexp.c: Ditto.
8292
8293Tue Dec 14 5:42:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
8294
8295 * libc/machine/i960/setjmp.S: fix typo leaving .link_pix uncommented
8296 * libc/include/locale.h: define NULL to be 0.
8297
8298Tue Dec 7 15:41:45 1999 Jim Wilson <wilson@cygnus.com>
8299
8300 * libc/sys/sh/syscalls.c (stack_ptr): Move definition before first
8301 function.
8302
8303Wed Dec 1 17:39:29 1999 Jeffrey A Law (law@cygnus.com)
8304
8305 * libc/machine/mn10300/setjmp.S: Handle am33.
8306
83071999-11-26 Nick Clifton <nickc@cygnus.com>
8308
8309 * libc/sys/arm/syscalls.c: Add function prototypes.
8310 (stack_ptr): Move declaration before function definitions.
8311
8312Sat Nov 20 17:13:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
8313
8314 * NEWS: Updated version information.
8315 * README: Ditto.
8316
8317Tue Nov 09 12:19:21 1999 Jeff Johnston <jjohnstn@cygnus.com>
8318
8319 * libc/machine/i386/strchr.S: Fixed alignment test.
8320
8321Thu Oct 28 05:30:46 1999 Andrew Cagney <cagney@makita.cygnus.com>
8322
8323 * libc/sys/d10v/crt0.S (_start): Construct a real stack frame.
8324
8325Thu Oct 28 15:29:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
8326
8327 * libc/sys/d10v/crt0.S (_start): Initialize both SPI and SPU
8328 ensuring that there is space between the two.
8329
8330Thu Oct 14 13:39:21 1999 Christopher Faylor <cgf@cygnus.com>
8331
8332 * libc/stdio/flags.c: Conditionalize check for 't' for cygwin case
8333 only.
8334
83351999-10-08 Vadim Egorov <egorovv@1c.ru>
8336
8337 * libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin
8338 section
8339
8340Sat Oct 2 02:02:00 MEST 1999 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
8341
8342 * libc/machine/sh/asm.h: Added __SH4_SINGLE__ to DELAYED_BRANCHES
8343 * libc/machine/sh/memcpy.S: Fix line wrapping in SL macro
8344
8345Fri Oct 1 13:17:59 CDT 1999 <joel@OARcorp.com>
8346 * libc/include/grp.h: Added getgrnam_r and getgrgid_r prototypes
8347 per POSIX 1003.1b.
8348 * libc/include/pwd.h: Added getpwnam_r and getpwuid_r prototypes
8349 per POSIX 1003.1b.
8350
83511999-09-13 DJ Delorie <dj@cygnus.com>
8352
8353 * libc/stdio/mktemp.c (_gettemp): on cygwin, check for EACCESS
8354 also.
8355
8356Thu Sep 9 15:31:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
8357
8358 * setvbuf.c (setvbuf): When mallocing a buffer of size BUFSIZ,
8359 also note BUFSIZ as its size.
8360
8361Tue Sep 7 17:15:00 1999 Joel Sherrill <joel@OARcorp.com>
8362
8363 * configure.host: Corrected feature defines for RTEMS.
8364 * libc/include/sys/stat.h: Added protototype for RTEMS mknod.
8365 * libc/include/sys/stat.h: mkfifo() should take const path arg.
8366 * libc/include/sys/unistd.h: pathconf() should take const path arg.
8367 Enabled usleep(), ftruncate(), and truncate() prototypes for RTEMS.
8368 Added defines for _POSIX_JOB_CONTROL, _POSIX_SAVED_IDS, and
8369 _POSIX_VERSION for RTEMS. Added defines for _PC_ASYNC_IO,
8370 _PC_PRIO_IO, and _PC_SYNC_IO.
8371 * libc/machine/m68k/Makefile.am: Added strcpy.c and strlen.c.
8372 * libc/machine/m68k/Makefile.in: Regenerated.
8373 * libc/machine/m68k/strcpy.c: New file.
8374 * libc/machine/m68k/strlen.c: New file.
8375 * libc/stdio/tmpnam.c: Always make the returned name usable.
8376 * libc/sys/rtems/crt0.c: New version that passes all autoconf tests.
8377 * libc/sys/rtems/sys/dirent.h: New file.
8378 * libc/sys/rtems/sys/types.h: Added dev_t.
8379
8380Tue Sep 7 17:15:00 1999 Jay Kulpinski <jskulpin@eng01.gdds.com>
8381
8382 * libc/stdlib/mprec.c: Fixed unitialized variable problem.
8383
8384Fri Sep 3 12:35:20 1999 Jeff Johnston <jjohnstn@cygnus.com>
8385
8386 * libc/stdio/ftell.c (ftell): Backing off Joern's fix and
8387 my patch.
8388
8389Thu Sep 2 22:05:20 1999 Christopher Faylor <cgf@cygnus.com>
8390
8391 patch from Jeff Johnston <jjohnstn@cygnus.com>
8392 * libc/stdio/ftell.c (ftell): Avoid using buffer position when the
8393 buffer is not in a useful state.
8394
83951999-09-01 Nick Clifton <nickc@cygnus.com>
8396
8397 * libc/sys/arm/syscalls.c (_link): Add stub.
8398
8399Fri Aug 27 23:09:09 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
8400
8401 * ftell.c (ftell): Use actual position within buffer for text mode.
8402 * findfp.c (std): Initialize ptr->_bf._size.
8403
8404Wed Aug 18 18:48:02 1999 Christopher Faylor <cgf@cygnus.com>
8405
8406 * libc/include/sys/unistd.h: Add nice() declaration.
8407
84081999-08-09 Nick Clifton <nickc@cygnus.com>
8409
8410 * libc/sys/arm/crt0.S (change_mode): Rename to __change_mode and
8411 declare as a thumb function so that the disassembler will see the
8412 mode change.
8413
8414Thu Aug 5 17:37:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
8415
8416 * libc/reent/reent.tex: Updated list of reentrant functions.
8417
84181999-07-09 Michael Meissner <meissner@cygnus.com>
8419
8420 * libc/include/stdlib.h (_findenv{,_r}): Add prototypes.
8421
8422Tue Jul 6 10:46:24 1999 Jeff Johnston <jjohnstn@cygnus.com>
8423
8424 * libc/stdio/sprintf.c: Moved snprintf and _snprintf_r to
8425 separate file.
8426 * libc/stdio/snprintf.c: New file.
8427 * libc/stdio/vsprintf.c: Moved vsnprintf and _vsnprintf_r to
8428 separate file.
8429 * libc/stdio/vsnprintf.c: New file.
8430 * libc/stdio/Makefile.am: Added snprintf.c and vsnprintf.c.
8431 * libc/stdio/Makefile.in: Regenerated.
8432
8433Mon Jul 5 14:43:24 1999 Christopher Faylor <cgf@cygnus.com>
8434
8435 Patch submitted by Egor Duda <deo@logos-m.ru>:
8436 * libc/include/stdio.h: Add declarations for *nprintf.
8437 * libc/stdio/sprintf.c (snprintf): New function.
8438 (_snprintf_r): New function.
8439 * libc/stdio/vsprintf.c (vsnprintf): New function.
8440 (_vnsprintf_r): New function.
8441
8442Wed Jun 30 16:36:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
8443
8444 * libc/Makefile.am (stmp-targetdep): Remove extraneous blank.
8445 * libm/Makefile.am (stmp-targetdep): Ditto.
8446 * libc/Makefile.in: Regenerated.
8447 * libm/Makefile.in: Ditto.
8448
8449Fri Jun 25 10:49:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
8450
8451 * libc/Makefile.am (stmp-targetdep): Ignore "." in SUBDIRS.
8452 * libm/Makefile.am (stmp-targetdep): Ditto.
8453 * libc/Makefile.in: Regenerated.
8454 * libm/Makefile.in: Ditto.
8455
8456Thu June 03 16:25:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
8457
8458 * Makefile.am: Removed dependencies on all-recursive and added "."
8459 to the SUBDIRS list to prevent infinite recursion from occurring.
8460 Also removed any references to EXTRA_DATA.
8461 * libc/Makefile.am: Ditto.
8462 * libc/machine/Makefile.am: Ditto.
8463 * libc/machine/i386/Makefile.am: Ditto.
8464 * libm/Makefile.am: Ditto.
8465 * libc/sys/Makefile.am: Ditto.
8466 * Makefile.in: Regenerated.
8467 * aclocal.m4: Ditto.
8468 * configure: Ditto.
8469 * doc/Makefile.in: Ditto.
8470 * doc/aclocal.m4: Ditto.
8471 * doc/configure: Ditto.
8472 * libc/Makefile.in: Ditto.
8473 * libc/aclocal.m4: Ditto.
8474 * libc/configure: Ditto.
8475 * libc/machine/Makefile.in: Ditto.
8476 * libc/machine/aclocal.m4: Ditto.
8477 * libc/machine/configure: Ditto.
8478 * libc/machine/mn10300/Makefile.in: Ditto.
8479 * libc/machine/mn10300/aclocal.m4: Ditto.
8480 * libc/machine/mn10300/configure: Ditto.
8481 * libc/sys/Makefile.in: Ditto.
8482 * libc/sys/aclocal.m4: Ditto.
8483 * libc/sys/configure: Ditto.
8484 * libm/Makefile.in: Ditto.
8485 * libm/aclocal.m4: Ditto.
8486 * libm/configure: Ditto.
8487
8488Thu June 03 16:20:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
8489
8490 * libc/include/stdlib/stdlib.tex: Add link to env_lock.
8491
8492Fri May 28 17:09:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
8493
8494 * libc/include/stdlib.h: Add reentrant routines.
8495 * libc/stdlib/Makefile.am: Add reentrant routines.
8496 * libc/stdlib/Makefile.in: Ditto.
8497 * libc/stdlib/envlock.c: New file.
8498 * libc/stdlib/envlock.h: New file.
8499 * libc/stdlib/getenv.c: Modify to call reentrant routine.
8500 * libc/stdlib/getenv_r.c: New file.
8501 * libc/stdlib/mblen.c: Modify to call reentrant routine.
8502 * libc/stdlib/mblen_r.c: New file.
8503 * libc/stdlib/setenv.c: Modify to call reentrant routine.
8504 * libc/stdlib/setenv_r.c: New file.
8505 * libc/stdlib/stdlib.tex: Add reentrant routines.
8506
8507Mon May 17 22:01:38 1999 Christopher Faylor <cgf@cygnus.com>
8508
8509 * libc/include/sys/types.h: Define __MS_types__ whenever
8510 cygwin or win32.
8511
8512Sun May 16 16:02:41 1999 Christopher Faylor <cgf@cygnus.com>
8513
8514 * libc/include/machine/ieeefp.h: Always default to little
8515 endian if Windows, regardless of architecture.
8516 * libc/include/machine/sethmp.h: Define JBLEN if CYGWIN
8517 regardless of architecture.
8518
8519Mon May 3 11:49:18 1999 Geoffrey Noer <noer@cygnus.com>
8520
8521 * libc/include/machine/setjmp.h: Accept CYGWIN define, even if
8522 _WIN32 isn't defined.
8523
8524Mon May 3 11:41:51 1999 Jeff Johnston <jjohnstn@cygnus.com>
8525
8526 * libm/common/s_rint.c (rint): Add volatile qualifier for
8527 intermediate value w.
8528 * libm/common/sf_rint.c (rintf): Ditto.
8529
8530Thu Apr 29 20:34:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
8531
8532 * libc/sys/arm/syscalls.c (remap_handle): Added check to
8533 ensure that std streams are initialized before being referenced.
8534
85351999-04-27 Jason Molenda (jsm@bugshack.cygnus.com)
8536
8537 * README: Update reference to newlib@cygnus.com new
8538 newlib@sourceware.cygnus.com address.
8539
8540Mon Apr 26 18:17:33 1999 Geoffrey Noer <noer@cygnus.com>
8541
8542 * libc/include/sys/types.h: Define MS_types if CYGWIN is defined.
8543 * libc/include/sys/fcntl.h: Define _O_BINARY et al if CYGWIN is
8544 defined, even if _WIN32 isn't defined.
8545
8546Sat Apr 24 19:59:55 1999 Christopher Faylor <cgf@cygnus.com>
8547
8548 * libc/include/sys/fcntl.h: Correct _O_CREATE to _O_CREAT.
8549
8550Wed Apr 21 18:01:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
8551
8552 * libc/include/sys/reent.h: Change Long and ULong to __Long and
8553 __ULong.
8554 * libc/stdlib/dtoa.c: Ditto.
8555 * libc/stdlib/mprec.c: Ditto.
8556 * libc/stdlib/mprec.h: Ditto.
8557 * libc/stdlib/strtod.c: Ditto.
8558
85591999-04-21 Nick Clifton <nickc@cygnus.com>
8560
8561 * configure.host (mcore): Remove mcore machine directory.
8562
85631999-04-18 Nick Clifton <nickc@cygnus.com>
8564
8565 * libc/include/machine/ieeefp.h: Add support for mcore target.
8566 * libc/include/machine/setjmp.h: Add support for mcore target.
8567 * configure.host: Add support for mcore target.
8568
85691999-04-13 Mark Salter <msalter@cygnus.com>
8570
8571 * libc/sys/arm/libcfunc.c: Moved isatty to syscall.c
8572 * libc/sys/arm/syscalls.c: Added isatty.
8573
8574Wed Apr 07 16:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
8575
8576 * libc/stdlib/ecvtbuf.c (fcvtbuf): Fixed code to properly
8577 insert zeroes after significant digits.
8578
8579Wed Mar 17 22:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
8580
8581 * libc/stdio/vfprintf.c (cvt): Changed floating point
8582 cvt routine to use union used by dtoa to properly determine
8583 if the sign bit is on or not.
8584 * libc/stdio/vfieeefp.h: New file
8585
8586Wed Mar 17 17:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
8587
8588 * aclocal.m4: Regenerated.
8589 * configure: Regenerated.
8590
8591Wed Mar 17 16:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
8592
8593 * libc/machine/i386/Makefile.am (lib_a_SOURCES): Added missing
8594 f_tanf reference.
8595 * libc/machine/i386/Makefile.in: Regenerated.
8596
8597Tue Mar 16 14:56:36 1999 Jeff Johnston <jjohnstn@cygnus.com>
8598
8599 * acinclude.m4: Changed to work with new automake.
8600 * configure: Regenerated.
8601 * libc/machine/i386/aclocal.m4: Regenerated.
8602 * libc/machine/i386/configure: Regenerated.
8603
8604Tue Mar 16 13:55:36 1999 Corinna Vinschen <corinna.vinschen@cityweb.de>
8605
8606 * libc/sys/cygwin/sys/dirent.h: Add additional prototypes
8607 for telldir() and seekdir(). Rename unused structure element
8608 for use with these two routines.
8609
8610Fri Mar 12 19:11:58 1999 Jeff Johnston <jjohnstn@cygnus.com>
8611
8612 * libc/time/mktime.c (validate_structure): Multiple fixes to
8613 code to handle cases where input fields are outside valid ranges.
8614 * libc/stdlib/div.c (div): Modified invalid rounding check.
8615 * libc/stdlib/ldiv.c (ldiv): Ditto.
8616
8617Thu Mar 11 21:32:13 1999 Jeff Johnston <jjohnstn@cygnus.com>
8618
8619 * libc/machine/i386/memcpy.S: Performance rewrite.
8620 * libc/machine/i386/memmove.S: Ditto.
8621 * libc/machine/i386/i386mach.h: Added more register definitions.
8622 * libc/include/math.h: Include <machine/fastmath.h> if -ffast-math
8623 option used.
8624 * libc/include/machine/fastmath.h: Add definitions for x86
8625 fast-math routines.
8626
8627Wed Mar 10 17:56:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
8628
8629 * libc/stdlib/strtod.c: Change from unsigned long to ULong.
8630
8631Tue Mar 9 14:31:58 1999 Geoffrey Noer <noer@cygnus.com>
8632
8633 Adjust newlib headers for new Cygwin Win32 API header files:
8634 * libc/include/sys/time.h: Check _WINSOCK_H rather than
8635 _GNU_H_WINDOWS32_SOCKETS.
8636 * libc/include/sys/types.h: Ditto.
8637
8638Tue Mar 09 15:55:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
8639
8640 *include/sys/reent.h: Add checks for size of Bigint element Long.
8641 *libc/dtoa.c: Change routines to use generic Long type.
8642 *libc/mprec.c: Change routines to use generic Long type.
8643 *libc/mprec.h: Change routines to use generic Long type.
8644
8645Tue Mar 02 18:07:49 1999 Ranjith Kumaran <ranjith@cygnus.com>
8646
8647 * libc/Makefile.am: Add .def files.
8648 * libc/Makefile.in: Regenerate.
8649 * libc/e_acosh.c: Documentation update.
8650 * libc/e_atanh.c: Documentation update.
8651 * libc/e_hypot.c: Documentation update.
8652 * libc/e_remainder.c: Documentation update.
8653 * libc/er_lgamma.c: Documentation update.
8654 * libc/mathfp.tex: Documentation update.
8655 * libc/s_acos.c: Documentation update.
8656 * libc/s_atan.c: Documentation update.
8657 * libc/s_atan2.c: Documentation update.
8658 * libc/s_cosh.c: Documentation update.
8659 * libc/s_fmod.c: Documentation update.
8660 * libc/s_isnan.c: Documentation update.
8661 * libc/s_log10.c: Documentation update.
8662 * libc/s_pow.c: Documentation update.
8663 * libc/w_jn.c: Documentation update.
8664
8665Sun Feb 28 23:18:49 1999 Geoffrey Noer <noer@cygnus.com>
8666
8667 * aclocal.m4: Regenerate.
8668 * configure: Regenerate.
8669
8670Tue Feb 23 13:57:26 1999 Jeff Johnston <jjohnstn@cygnus.com>
8671
8672 * libc/machine/mn10300/setjmp.S (_longjmp): Fixed longjmp
8673 to return 1 if user specified return code is 0.
8674 * libc/machine/mn10200/setjmp.S (_longjmp): Ditto.
8675
8676Thu Feb 18 11:13:28 1999 Jeff Johnston <jjohnstn@cygnus.com>
8677
8678 * libc/machine/mn10200/setjmp.S (_setjmp/_longjmp): Fixed setjmp
8679 to save the return address. Fixed longjmp to return to the original
8680 calling address of setjmp and to return the user specified return code
8681 rather than default to 1.
8682 * libc/machine/mn10300/setjmp.S (_setjmp/_longjmp): Ditto.
8683
8684Mon Feb 15 17:48:17 1999 Jeff Johnston <jjohnstn@cygnus.com>
8685
8686 * libc/stdlib/mprec.h (mult): Define mult to be _multiply instead of _mult.
8687
86881999-02-10 Nick Clifton <nickc@cygnus.com>
8689
8690 * libc/sys/arm/syscalls.c (initialise_monitor_handles): Make block
8691 volatile so that its assignments will not be discarded.
8692
8693Wed Feb 10 17:19:40 1999 Jeff Johnston <jjohnstn@cygnus.com>
8694
8695 * libc/include/_ansi.h: Corrected _STRICT_ANSI reference to
8696 be __STRICT_ANSI__ which is generated by compiler.
8697 * libc/include/ctype.h: Ditto.
8698 * libc/include/math.h: Ditto.
8699 * libc/include/stdio.h: Ditto.
8700 * libc/include/stdlib.h: Ditto.
8701 * libc/include/string.h: Ditto.
8702 * libc/include/sys/signal.h: Ditto.
8703
87041999-02-08 Nick Clifton <nickc@cygnus.com>
8705
8706 * configure.host: Add support for StrongARM target.
8707
8708Fri Feb 5 11:13:14 1999 Jeff Johnston <jjohnstn@cygnus.com>
8709
8710 * libc/string/strncpy.c (strncpy): Removed redundant code
8711 that was copying bytes if data unaligned.
8712
87131999-02-02 Brendan Kehoe <brendan@cygnus.com>
8714
8715 * libc/stdlib/Makefile.{am,in} (CHEWOUT_FILES): Add mblen.def,
8716 mbstowcs.def, and wcstombs.def.
8717
8718Sat Jan 30 02:36:33 1999 Christopher Faylor <cgf@cygnus.com>
8719
8720 * libc/include/sys/errno.h: Add Cygwin errno.
8721 * libc/stdio/flags.c: Don't default to O_TEXT if no other flag
8722 is specified.
8723
87241999-01-29 Nick Clifton <nickc@cygnus.com>
8725
8726 * libc/sys/arm/syscalls.c: Move C library functions into seperate
8727 file.
8728
8729 * libc/sys/arm/libcfunc.c: New file containing C library functions
8730 from syscalls.c
8731
8732 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add libcfuncs.c
8733 * libc/sys/arm/Makefile.in (lib_a_SOURCES): Regenerate.
8734
8735
87361999-01-27 Michael Meissner <meissner@cygnus.com>
8737
8738 * libc/include/machine/setjmp.h (D30V _JBLEN/_JBTYPE): Use double
8739 type, and cut size in half so that the jmp_buf array is guaranteed
8740 to be aligned on a 64-bit boundary.
8741
8742Mon Jan 25 12:05:38 1999 Jeff Johnston <jjohnstn@cygnus.com>
8743
8744 * libc/string/strings.tex: Added information about
8745 strcasecmp and strncasecmp.
8746 * libc/stdlib/stdlib.tex: Added missing information
8747 about mblen, mbstowcs, and wcstombs.
8748 * libc/string/strchr.c: Changed how mask is built to use
8749 shift operators so register will be used instead of storage.
8750
87511999-01-22 DJ Delorie <dj@cygnus.com>
8752
8753 * libc/include/stdlib.h: don't use dllimport if we're building
8754 newlib, since it's inside cygwin.dll
8755
8756Fri Jan 22 14:57:18 1999 Christopher Faylor <cgf@cygnus.com>
8757
8758 * libc/ctype/ctype_.c: Need to use __declspec(dllexport) for
8759 _ctype_ under cygwin.
8760
8761Fri Jan 22 09:50:19 1999 Christopher Faylor <cgf@cygnus.com>
8762
8763 * include/stdlib.h: Fix typo from previous checkin.
8764
8765Thu Jan 21 22:42:21 1999 Christopher Faylor <cgf@cygnus.com>
8766
8767 * include/ctype.h: Use __declspec(dllimport) method for exporting
8768 variable from cygwin DLL.
8769 * include/time.h: Ditto.
8770 * sys/errno.h: Ditto.
8771 * include/stdlib.h: Export __mb_cur_max from cygwin DLL.
8772 * libc/locale/locale.c: Use __declspec(dllexport) method for
8773 exporting variable from cygwin DLL.
8774
8775Sat Jan 16 13:29:54 1999 Christopher Faylor <cgf@cygnus.com>
8776
8777 * libc/stdio/setvbuf.c: Always clean up when _IONBF or possible
8778 access of bogus pointer will result in SIGSEGV.
8779
87801999-01-07 Nick Clifton <nickc@cygnus.com>
8781
8782 * libc/sys/arm/setjmp.S: Use C macros to cope with the possibility
8783 of an underscore prefix to function names.
8784
8785Fri Jan 8 19:00:07 1999 Jeff Johnston <jjohnstn@cygnus.com>
8786
8787 * libc/machine/i386/i386mach.h (__REG_PREFIX__): Create new
8788 define __REG_PREFIX__ instead of using __REGISTER_PREFIX__.
8789
87901998-12-31 Michael Meissner <meissner@cygnus.com>
8791
8792 * libc/machine/i386/i386mach.h (__REGISTER_PREFIX__): Only define
8793 to `%' if not already defined.
8794
87951998-12-30 Michael Meissner <meissner@cygnus.com>
8796
8797 * libc/stdio/tmpnam.c (_tempnam_r): Make directory and prefix
8798 arguments const char *, not char *.
8799 * libc/include/stdio.h (_tempnam_r): Ditto.
8800
8801 * libc/include/sys/reent.h (struct _reent): The _sig_func type
8802 points to a function taking an integer, not void.
8803
8804Tue Dec 29 14:35:53 1998 Christopher Faylor <cgf@cygnus.com>
8805
8806 * configure.host: Add a define for Cygwin builds.
8807 * libc/include/ctype.h: Don't use dll imported variables in newlib.
8808
8809Mon Dec 28 09:19:56 1998 Christopher Faylor <cgf@cygnus.com>
8810
8811 * libc/include/ctype.h: Define _ctype_ as dll imported variable
8812 for use with Cygwin.
8813 * libc/include/sys/errno.h: Define _sys_errlist and _sys_nerr as
8814 dll imported variables for use with Cygwin.
8815 * libc/ctype/ctype_.c: Undefine _ctype_ in case it has been defined
8816 as a dll imported variable for Cygwin.
8817
8818Sat Dec 26 00:13:53 1998 Christopher Faylor <cgf@cygnus.com>
8819
8820 * libc/include/sys/unistd.h: Add proto for getpass.
8821
8822Fri Dec 18 19:28:19 1998 Geoffrey Noer <noer@cygnus.com>
8823
8824 * libc/sys/cygwin/sys/dirent.h: add protos for scandir and
8825 alphasort.
8826
8827Fri Dec 18 16:33:25 1998 Geoffrey Noer <noer@cygnus.com>
8828
8829 * libc/posix/execvp.c (execvp): call cygwin_posix_path_list_p,
8830 not posix_path_list_p.
8831
88321998-12-15 Nick Clifton <nickc@cygnus.com>
8833
8834 * libc/string/memchr.c: Treat 'c' argument as an unsigned byte not
8835 a signed int.
8836
88371998-12-13 Nick Clifton <nickc@cygnus.com>
8838
8839 * libc/include/machine/setjmp.h (_JBLEN): Set to 10.
8840
88411998-12-12 Nick Clifton <nickc@cygnus.com>
8842
8843 * libc/machine/fr30/setjmp.S: New file, supplied by Mark Slater
8844 <msalter@cygnus.com>
8845 * libc/machine/fr30/Makefile.am: Add build of setjmp.S
8846 * libc/machine/fr30/Makefile.in: Regenerated.
8847
88481998-12-11 Nick Clifton <nickc@cygnus.com>
8849
8850 * configure.host: Remove use of libc/sys for FR30 port.
8851 * libc/sys/fr30: Remove directory (replaced by libgloss).
8852
88531998-12-10 Ken Raeburn <raeburn@cygnus.com>
8854
8855 * libc/string/strcat.c (ALIGNED): Sense of result was reversed.
8856 * libc/string/strncat.c (ALIGNED): Ditto.
8857
8858Wed Dec 9 14:37:57 1998 Geoffrey Noer <noer@cygnus.com>
8859
8860 * libc/include/sys/time.h: include sys/types.h
8861
8862Tue Dec 8 15:53:18 1998 Jeff Johnston <jjohnstn@cygnus.com>
8863
8864 * libc/machine/i386/memcmp.S (memcmp): Fix for unequal
8865 comparison found when checking word at a time.
8866
88671998-12-04 Nick Clifton <nickc@cygnus.com>
8868
8869 * libc/sys/fr30/crt0.s (_start): Initialise frame pointer.
8870
88711998-12-03 Nick Clifton <nickc@cygnus.com>
8872
8873 * libc/sys/fr30/syscalls.c (_times): New function stub.
8874
8875Thu Dec 3 15:59:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
8876
8877 * configure.host (mach_add_setjmp): Replaced mach_add_objs
8878 with mach_add_setjmp flag which indicates if setjmp should
8879 be added to the machine directory objects.
8880 * acinclude.m4: Removed reference to mach_add_objs.
8881 * aclocal.m4: Regenerated.
8882 * Makefile.in: Regenerated.
8883 * configure: Regenerated.
8884 * libc/aclocal.m4: Regenerated.
8885 * libc/Makefile.in: Regenerated.
8886 * libc/configure: Regenerated.
8887 * libc/machine/aclocal.m4: Regenerated.
8888 * libc/machine/Makefile.in: Regenerated.
8889 * libc/machine/configure: Regenerated.
8890 * libc/machine/i386/aclocal.m4: Regenerated.
8891 * libc/machine/i386/Makefile.am: Altered to selectively add
8892 setjmp.S to the src files list.
8893 * libc/machine/i386/Makefile.in: Regenerated.
8894 * libc/machine/i386/configure.in: Altered to test mach_add_setjmp.
8895 * libc/machine/i386/configure: Regenerated.
8896
88971998-12-02 Nick Clifton <nickc@cygnus.com>
8898
8899 * libc/sys/fr30/crt0.s (_start): Fix function names.
8900
8901 * libc/machine/fr30: New directory
8902 * libc/machine/fr30/Makefile.am: New file.
8903 * libc/machine/fr30/Makefile.in: New generated file.
8904 * libc/machine/fr30/configure.in: New file.
8905 * libc/machine/fr30/configure: New generated file.
8906 * libc/machine/fr30/aclocal.m4: New generated file.
8907 * libc/sys/fr30/Makefile.am: New file.
8908 * libc/sys/fr30/Makefile.in: New generated file.
8909 * libc/sys/fr30/configure.in: New file.
8910 * libc/sys/fr30/configure: New generated file.
8911 * libc/sys/fr30/syscalls.c: New file.
8912
8913Tue Dec 1 16:28:56 1998 Geoffrey Noer <noer@cygnus.com>
8914
8915 * libc/sys/cygwin/sys/utmp.h: new file, moved from winsup/include.
8916
89171998-12-01 Ken Raeburn <raeburn@cygnus.com>
8918
8919 * libc/time/strftime.c (strftime): Also handle %y for years before
8920 1900.
8921
8922Tue Dec 1 13:26:07 1998 Christopher Faylor <cgf@cygnus.com>
8923
8924 * libc/string/strcasecmp.c (strcasecmp): Adhere to standard
8925 UNIX convention. Perform tolower on characters before comparing
8926 them rather than use toupper.
8927 * libc/string/strncasecmp.c (strncasecmp): Ditto.
8928
8929Mon Nov 30 16:24:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
8930
8931 * configure.host: Added using i386 machine directory
8932 for all x86 cross-compiler and configuring
8933 which added object files to use via new "mach_add_objs" variable.
8934 * configure: Regenerated.
8935 * libc/configure: Regenerated.
8936 * libc/Makefile.in: Regenerated.
8937 * libc/aclocal.m4: Regenerated.
8938 * libc/ctype/Makefile.in: Regenerated.
8939 * libc/errno/Makefile.in: Regenerated.
8940 * libc/locale/Makefile.in: Regenerated.
8941 * libc/machine/Makefile.in: Regenerated.
8942 * libc/machine/aclocal.m4: Regenerated.
8943 * libc/machine/configure: Regenerated.
8944 * libc/posix/Makefile.in: Regenerated.
8945 * libc/reent/Makefile.in: Regenerated.
8946 * libc/signal/Makefile.in: Regenerated.
8947 * libc/stdio/Makefile.in: Regenerated.
8948 * libc/stdlib/Makefile.in: Regenerated.
8949 * libc/string/Makefile.in: Regenerated.
8950 * libc/string/memmove.c: Optimized code to use memcpy
8951 logic when performing a non-destructive copy.
8952 * libc/string/strncmp.c: Altered code to allow building
8953 optimized for size or speed.
8954 * libc/syscalls/Makefile.in: Regenerated.
8955 * libc/time/Makefile.in: Regenerated.
8956 * libc/unix/Makefile.in: Regenerated.
8957 * libc/machine/i386/Makefile.am: Added new files and reference
8958 to "mach_add_objs" to indicate optional object files.
8959 * libc/machine/i386/Makefile.in: Regenerated.
8960 * libc/machine/i386/aclocal.m4: Regenerated.
8961 * libc/machine/i386/configure: Regenerated.
8962 * libc/machine/i386/memchr.S: New file that implements
8963 function in Intel assembler.
8964 * libc/machine/i386/memcmp.S: ditto.
8965 * libc/machine/i386/memcpy.S: ditto.
8966 * libc/machine/i386/memmove.S: ditto.
8967 * libc/machine/i386/memset.S: ditto.
8968 * libc/machine/i386/strchr.S: ditto.
8969 * libc/machine/i386/strlen.S: ditto.
8970 * libc/machine/i386/f_atan2.S: New file that implements
8971 fast version of math function to be used by compiler when
8972 --ffast_math compile option is used.
8973 * libc/machine/i386/f_atan2f.S: ditto.
8974 * libc/machine/i386/f_exp.c: ditto.
8975 * libc/machine/i386/f_expf.c: ditto.
8976 * libc/machine/i386/f_frexp.S: ditto.
8977 * libc/machine/i386/f_frexpf.S: ditto.
8978 * libc/machine/i386/f_ldexp.S: ditto.
8979 * libc/machine/i386/f_ldexpf.S: ditto.
8980 * libc/machine/i386/f_log.S: ditto.
8981 * libc/machine/i386/f_logf.S: ditto.
8982 * libc/machine/i386/f_log10.S: ditto.
8983 * libc/machine/i386/f_log10f.S: ditto.
8984 * libc/machine/i386/f_math.h: New file.
8985 * libc/machine/i386/f_pow.c: ditto.
8986 * libc/machine/i386/f_powf.S: ditto.
8987 * libc/machine/i386/f_tan.S: ditto.
8988 * libc/machine/i386/f_tan.S: ditto.
8989 * libc/machine/i386/i386mach.h: New file.
8990
8991Mon Nov 30 13:02:17 1998 Christopher Faylor <cgf@cygnus.com>
8992
8993 patch from Mumit Khan <khan@xraylith.wisc.edu>
8994 * libc/include/stdio.h (tempnam): Add prototype.
8995 * libc/stdio/tmpnam.c (_tempnam_r): Handle NULL prefix.
8996 (tempnam): Adhere to prototype.
8997
8998Thu Nov 26 00:21:32 1998 Christopher Faylor <cgf@cygnus.com>
8999
9000 * Makefile.am: Add default for AR_FLAGS.
9001 * Makefile.in: Regenerate.
9002
9003Tue Nov 24 18:48:56 1998 Geoffrey Noer <noer@cygnus.com>
9004
9005 * libc/include/time.h: move __cplusplus wrapper after includes
9006 * libc/include/sys/time.h: ditto. If Cygwin, include
9007 sys/select.h.
9008 * libc/include/sys/types.h: lose "32" in comment about Cygwin.
9009
90101998-11-23 Ken Raeburn <raeburn@cygnus.com>
9011
9012 * libc/time/strftime.c (strftime): Handle %y after year 2000.
9013
9014Wed Nov 18 12:22:41 1998 Nick Clifton <nickc@cygnus.com>
9015
9016 * libc/sys/fr30/crt0.s (_start): Switch over to using int #9 as
9017 abnormnal end-of-crt0 marker.
9018
9019Tue Nov 17 16:27:58 1998 Nick Clifton <nickc@cygnus.com>
9020
9021 * libc/sys/fr30/crt0.s: New file/directory.
9022 * libc/include/machine/setjmp.h: Add FR30 target.
9023 * libc/include/machine/ieeefp.h: Add FR30 target.
9024 * configure.host: Add FR30 target.
9025
9026Mon Nov 16 23:15:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
9027
9028 * libm/math: Files that are duplicated in common directory removed.
9029 * libm/math/fdlibm.h: Removed.
9030 * libm/math/s_cbrt.c: Removed.
9031 * libm/math/s_copysign.c: Removed.
9032 * libm/math/s_expm1.c: Removed.
9033 * libm/math/s_finite.c: Removed.
9034 * libm/math/s_ilogb.c: Removed.
9035 * libm/math/s_infinity.c: Removed.
9036 * libm/math/s_lib_ver.c: Removed.
9037 * libm/math/s_log1p.c: Removed.
9038 * libm/math/s_logb.c: Removed.
9039 * libm/math/s_matherr.c: Removed.
9040 * libm/math/s_modf.c: Removed.
9041 * libm/math/s_nan.c: Removed.
9042 * libm/math/s_nextafter.c: Removed.
9043 * libm/math/s_rint.c: Removed.
9044 * libm/math/s_scalbn.c: Removed.
9045 * libm/math/sf_cbrt.c: Removed.
9046 * libm/math/sf_copysign.c: Removed.
9047 * libm/math/sf_expm1.c: Removed.
9048 * libm/math/sf_finite.c: Removed.
9049 * libm/math/sf_ilogb.c: Removed.
9050 * libm/math/sf_infinity.c: Removed.
9051 * libm/math/sf_log1p.c: Removed.
9052 * libm/math/sf_logb.c: Removed.
9053 * libm/math/sf_modf.c: Removed.
9054 * libm/math/sf_nan.c: Removed.
9055 * libm/math/sf_nextafter.c: Removed.
9056 * libm/math/sf_rint.c: Removed.
9057 * libm/math/sf_scalbn.c: Removed.
9058 * libm/math/Makefile.am: Removed references to deleted files (above).
9059 * libm/math/Makefile.in: Regenerated.
9060 * libm/Makefile.am: Added common directory to math.
9061 * libm/Makefile.in: Regenerated.
9062
9063Mon Nov 2 23:12:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
9064
9065 * libm/mathfp: Add non-ANSI functions.
9066 * libm/mathfp/e_acosh.c acosh(): New file.
9067 * libm/mathfp/e_atanh.c atanh(): New file.
9068 * libm/mathfp/e_hypot.c hypot(): New file.
9069 * libm/mathfp/e_j0.c j0(): New file.
9070 * libm/mathfp/e_j1.c j1(): New file.
9071 * libm/mathfp/e_remainder.c remainder(): New file.
9072 * libm/mathfp/e_scalb.c scalb(): New file.
9073 * libm/mathfp/ef_acosh.c acoshf(): New file.
9074 * libm/mathfp/ef_atanh.c atanhf(): New file.
9075 * libm/mathfp/ef_hypot.c hypotf(): New file.
9076 * libm/mathfp/ef_j0.c j0f(): New file.
9077 * libm/mathfp/ef_j1.c j1f(): New file.
9078 * libm/mathfp/ef_remainder.c remainderf(): New file.
9079 * libm/mathfp/ef_scalb.c scalbf(): New file.
9080 * libm/mathfp/er_gamma.c gamma_r: New file.
9081 * libm/mathfp/er_lgamma.c lgamma_r(): New file.
9082 * libm/mathfp/erf_gamma.c gamma_rf(): New file.
9083 * libm/mathfp/erf_lgamma.c lgamma_rf(): New file.
9084 * libm/mathfp/w_cabs.c cabs(): New file.
9085 * libm/mathfp/w_drem.c drem(): New file.
9086 * libm/mathfp/w_jn.c jn(): New file.
9087 * libm/mathfp/wf_cabs.c cabsf(): New file.
9088 * libm/mathfp/wf_drem.c dremf(): New file.
9089 * libm/mathfp/wf_jn.c jnf(): New file.
9090
9091Mon Nov 2 16:43:18 1998 Geoffrey Noer <noer@cygnus.com>
9092
9093 * libc/sys/cygwin32: remove directory and contents
9094 * libc/sys/cygwin: and add back, losing the "32".
9095 * configure.host: check for cygwin* instead of cygwin32.
9096 * acinclude.m4: ditto.
9097 * aclocal.m4: regenerate with aclocal
9098 * configure: regenerate with autoconf
9099
9100Tue Oct 20 17:28:28 1998 Geoffrey Noer <noer@cygnus.com>
9101
9102 * libc/stdio/tmpnam.c (_tempnam_r): not enough memory allocated
9103 for length
9104
9105Tue Oct 20 18:49:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
9106
9107 * libc/include/sys/reent.h (struct _reent): Added variables _rand_next, _strtok_last,
9108 _asctime_buf, _localtime_buf and _gamma_signgam to struct reent
9109 to make rand/srand, strtok, asctime, localtime, w_gamma,
9110 w_lgamma, wf_gamma, and wf_lgamma reentrant. Included
9111 time.h to bring in struct tm definition.
9112 * libc/stdlib/rand.c (rand, srand): Don't emit functions 'rand' and 'srand' if
9113 '_REENT_ONLY' is set. Used variable '_rand_next' from struct reent.
9114 * libc/stdlib/strtok.c (strtok): Used variable '_strtok_last' from struct reent
9115 instead of static variable.
9116 * libc/stdlib/asctime.c (asctime): Used variable '_asctime_buf' from
9117 struct reent instead of static variable.
9118 * libc/stdlib/lcltime.c (localtime): Used variable '_localtime_buf' from
9119 struct reent instead of static variable.
9120 * libm/math/Makefile.am: Removed s_signgam.o.
9121 * libm/math/Makefile.in: Regenerated.
9122 * libm/math/w_gamma.c (gamma): Used variable '_gamma_signgam' from
9123 struct reent instead of global variable 'signgam'.
9124 * libm/math/w_lgamma.c (lgamma): Likewise.
9125 * libm/math/wf_gamma.c (gammaf): Likewise.
9126 * libm/math/wf_lgamma.c (lgammaf): Likewise.
9127 * libm/math/s_signgam.c: Removed.
9128 * libc/include/unctrl.h: Defined arrays __unctrl and __unctrllen
9129 to be const.
9130 * libc/misc/unctrl.c: Defined arrays __unctrl and __unctrllen
9131 to be const.
9132 * libc/reent/Makefile.am: Added dependence for impure.o on impure.c and
9133 libc/include/reent.h.
9134 * libc/reent/Makefile.in: Regenerated.
9135 * libc/stdio/vfprintf.c (_vfprintf_r): Defined arrays 'blanks' and 'zeroes'
9136 to be const.
9137 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Defined arrays 'JIS_state_table' and
9138 'JIS_action_table' to be const.
9139 * libm/math/s_lib_ver.c: define variable _LIB_VERSION to be const.
9140
9141Mon Oct 12 00:26:33 1998 Christopher Faylor <cgf@cygnus.com>
9142
9143 * acinclude.m4: $with_target_subdir should default to '.'
9144 or confusion results when configuring in same directory as sources.
9145 * Regenerate all aclocal.m4 and configure files.
9146
9147Fri Oct 9 16:27:36 1998 Jeff Johnston <jjohnstn@cygnus.com>
9148
9149 * libc/stdlib/mallocr.c: Added 16 byte alignment support which
9150 can be set by defining MALLOC_ALIGNMENT=16. Also added support
9151 for platforms where sizeof(size_t) < sizeof(long) via
9152 SIZE_T_SMALLER_THAN_LONG macro.
9153
9154Wed Oct 7 14:02:40 1998 Jeff Johnston <jjohnstn@cygnus.com>
9155
9156 * libc/include/time.h (CLOCKS_PER_SEC): Change CLOCKS_PER_SEC
9157 to refer to _CLOCKS_PER_SEC_ and added including <machine/time.h>
9158 which sets _CLOCKS_PER_SEC_ for selected machines.
9159 * libc/include/machine/time.h: New file.
9160
9161Tue Oct 6 16:08:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
9162
9163 * libc/syscalls/sysexecve.c: New file.
9164 * libc/syscalls/sysgettod.c: New file.
9165 * libc/syscalls/systimes.c: New file.
9166 * libc/syscalls/Makefile.am: Added new objects.
9167 * libc/syscalls/Makefile.in: Regenerated.
9168 * libc/include/_syslist.h (_execve): Moved define in file.
9169 * libc/include/reent.h: Added _execve_r declaration.
9170 * libc/Makefile.in: Regenerated.
9171 * libc/ctype/Makefile.in: Regenerated.
9172 * libc/errno/Makefile.in: Regenerated.
9173 * libc/locale/Makefile.in: Regenerated.
9174 * libc/machine/Makefile.in: Regenerated.
9175 * libc/misc/Makefile.in: Regenerated.
9176 * libc/posix/Makefile.in: Regenerated.
9177 * libc/reent/Makefile.in: Regenerated.
9178 * libc/reent/execr.c (_execve_r): Added _execve_r function.
9179 * libc/signal/Makefile.in: Regenerated.
9180 * libc/stdio/Makefile.in: Regenerated.
9181 * libc/time/Makefile.in: Regenerated.
9182 * libc/unix/Makefile.in: Regenerated.
9183 * libm/mathfp/Makefile.in: Regenerated.
9184
9185Tue Oct 6 14:14:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
9186
9187 * libc/string/Makefile.in: Regenerated.
9188 * libc/string/memchr.c (memchr): Moved code to reduce object size.
9189 * libc/string/memcpy.c (memcpy): Ditto.
9190 * libc/string/memcmp.c (memcmp): Ditto.
9191 * libc/string/memset.c (memset): Ditto.
9192 * libc/string/strchr.c (strchr): Ditto.
9193 * libc/string/strcmp.c (strcmp): Ditto.
9194 * libc/string/strcpy.c (strcpy): Ditto.
9195 * libc/string/strlen.c (strlen): Ditto.
9196
9197Tue Oct 6 13:58:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
9198
9199 * libm/acinclude.m4: Removed since newlib/acinclude.m4 can be used
9200 to generate aclocal.m4.
9201 * libm/Makefile.in: Regenerated.
9202 * libm/aclocal.m4: Regenerated.
9203 * libm/configure: Regenerated.
9204 * libm/math/Makefile.in: Regenerated.
9205 * libm/mathfp/Makefile.in: Regenerated.
9206
92071998-09-25 Mark Salter <msalter@cygnus.com>
9208
9209 * libc/include/machine/setjmp.h: Fixed test for mn10300 and mn10200
9210 by adding leading and trailing underscores to symbol names.
9211
9212Tue Sep 22 15:33:41 1998 Christopher Faylor <cgf@cygnus.com>
9213
9214 * Makefile.in: Add default for AR_FLAGS.
9215
9216Tue Sep 22 15:02:49 1998 Christopher Faylor <cgf@cygnus.com>
9217
9218 patch from ian@airs.com (Ian Taylor):
9219 * acinclude.m4: Run AC_CANONICAL_BUILD explicitly before
9220 NEWLIB_CONFIGURE so AC_CANONICAL_HOST will be run before it
9221 is needed for detecting the build machine. Required for
9222 cygwin native builds.
9223
9224 * Regenerate all aclocal.m4 and configure files.
9225
9226Mon Sep 21 14:44:16 1998 Nick Clifton <nickc@cygnus.com>
9227
9228 * libc/sys/arm/crt0.S: Prepend a period to all local labels that
9229 used to start with LC.
9230
9231Thu Sep 17 18:18:11 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
9232
9233 * libc/machine/sh/setjmp.S (setjmp): Handle __SH4* like __SH3E__ .
9234 (longjmp): Likewise.
9235
9236Thu Sep 17 16:25:33 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
9237
9238 * libc/machine/sh/memset.S (memset): Move copy from r4 to r4 before
9239 the test for small number of bytes.
9240
9241Thu Sep 10 11:40:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
9242
9243 * Makefile.am: Add --enable-newlib-hw-fp check. This builds the new
9244 math library that uses floating point algorithms instead of the old
9245 libm.
9246 * Makefile.in: Regenerate with automake version 1.3b.
9247 * configure: Rebuild.
9248 * libm/Makefile.in: Regenerate with automake version 1.3b.
9249 * libm/aclocal.m4: Regenerate.
9250 * libm/configure: Rebuild.
9251 * libm/configure.in: Add newlib_hw_fp definition and mathfp directory.
9252 * libm/acinclude.m4: Define macros for configure.in.
9253 * libm/config.h.in: Generate.
9254 * libm/mathfp/Makefile.am: New file.
9255 * libm/mathfp/Makefile.in: Generate.
9256 * libm/mathfp/s_acos.c (acos): New file.
9257 * libm/mathfp/s_asin.c (asin): New file.
9258 * libm/mathfp/s_asine.c (asine): New file.
9259 * libm/mathfp/s_atan.c (atan): New file.
9260 * libm/mathfp/s_atan2.c (atan2): New file.
9261 * libm/mathfp/s_atangent.c (atangent): New file.
9262 * libm/mathfp/s_ceil.c (ceil): New file.
9263 * libm/mathfp/s_copysign.c (copysign): New file.
9264 * libm/mathfp/s_cos.c (cos): New file.
9265 * libm/mathfp/s_cosh.c (cosh): New file.
9266 * libm/mathfp/s_exp.c (exp): New file.
9267 * libm/mathfp/s_fabs.c (fabs): New file.
9268 * libm/mathfp/s_finite.c (finite): New file.
9269 * libm/mathfp/s_floor.c (floor): New file.
9270 * libm/mathfp/s_fmod.c (fmod): New file.
9271 * libm/mathfp/s_frexp.c (frexp): New file.
9272 * libm/mathfp/s_infconst.c: New file.
9273 * libm/mathfp/s_isinf (isinf).c: New file.
9274 * libm/mathfp/s_isnan.c (isnan): New file.
9275 * libm/mathfp/s_ispos.c (ispos): New file.
9276 * libm/mathfp/s_ldexp.c (ldexp): New file.
9277 * libm/mathfp/s_log.c (log): New file.
9278 * libm/mathfp/s_log10.c (log10): New file.
9279 * libm/mathfp/s_logarithm.c (logarithm): New file.
9280 * libm/mathfp/s_mathcnst.c: New file.
9281 * libm/mathfp/s_modf (modf).c: New file.
9282 * libm/mathfp/s_numtest.c (numtest): New file.
9283 * libm/mathfp/s_pow.c (pow): New file.
9284 * libm/mathfp/s_scalbn.c (scalbn): New file.
9285 * libm/mathfp/s_sin (sin).c: New file.
9286 * libm/mathfp/s_sine.c (sine): New file.
9287 * libm/mathfp/s_sineh.c (sineh): New file.
9288 * libm/mathfp/s_sinf.c (sinf): New file.
9289 * libm/mathfp/s_sinh.c (sinh): New file.
9290 * libm/mathfp/s_sqrt.c (sqrt): New file.
9291 * libm/mathfp/s_tan.c (tan): New file.
9292 * libm/mathfp/s_tanh.c (tanh): New file.
9293 * libm/mathfp/sf_acos.c (acosf): New file.
9294 * libm/mathfp/sf_asin.c (asinf): New file.
9295 * libm/mathfp/sf_asine.c (asinef): New file.
9296 * libm/mathfp/sf_atan.c (atanf): New file.
9297 * libm/mathfp/sf_atan2.c (atan2f): New file.
9298 * libm/mathfp/sf_atangent.c (atangent): New file.
9299 * libm/mathfp/sf_ceil.c (ceilf): New file.
9300 * libm/mathfp/sf_copysign.c (copysignf): New file.
9301 * libm/mathfp/sf_cos.c (cosf): New file.
9302 * libm/mathfp/sf_cosh.c (coshf): New file.
9303 * libm/mathfp/sf_exp.c (expf): New file.
9304 * libm/mathfp/sf_fabs.c (fabsf): New file.
9305 * libm/mathfp/sf_finite.c (finitef): New file.
9306 * libm/mathfp/sf_floor.c (floorf): New file.
9307 * libm/mathfp/sf_fmod.c (fmodf): New file.
9308 * libm/mathfp/sf_frexp.c (frexpf): New file.
9309 * libm/mathfp/sf_isinf.c (isinff): New file.
9310 * libm/mathfp/sf_isnan.c (isnanf): New file.
9311 * libm/mathfp/sf_ispos.c (isposf): New file.
9312 * libm/mathfp/sf_ldexp.c (ldexpf): New file.
9313 * libm/mathfp/sf_log.c (logf): New file.
9314 * libm/mathfp/sf_log10.c (log10f): New file.
9315 * libm/mathfp/sf_logarithm.c (logarithmf): New file.
9316 * libm/mathfp/sf_modf.c (modff): New file.
9317 * libm/mathfp/sf_numtest.c (numtestf): New file.
9318 * libm/mathfp/sf_pow.c (powf): New file.
9319 * libm/mathfp/sf_scalbn.c (scalbnf): New file.
9320 * libm/mathfp/sf_sin.c (sinf): New file.
9321 * libm/mathfp/sf_sine.c (sinef): New file.
9322 * libm/mathfp/sf_sineh.c (sinehf): New file.
9323 * libm/mathfp/sf_sinh.c (sinhf): New file.
9324 * libm/mathfp/sf_sqrt.c (sqrtf): New file.
9325 * libm/mathfp/sf_tan.c (tanf): New file.
9326 * libm/mathfp/sf_tanh.c (tanhf): New file.
9327 * libm/mathfp/zmath.h: New file.
9328
9329Wed Sep 2 02:49:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
9330
9331 * libc/machine/sh/strcmp.S (L_char_loop): Re-load r0 at loop
9332 exit if it has been overwritten by pre-fetching in delay slot.
9333
93341998-09-01 Michael Meissner <meissner@cygnus.com>
9335
9336 * Makefile.am (tooldir): Add in host_alias, so that multilib
9337 libraries are installed in the directory the compiler looks in.
9338 * Makefile.in: Regenerate.
9339
9340 * libc/stdlib/Makefile.in: Regenerate with automake version 1.3b.
9341
9342Mon Aug 31 11:39:31 1998 Jeff Johnston <jjohnstn@cygnus.com>
9343
9344 * libc/machine/mn10300/memcpy.S (_memcpy): Move alignment test
9345 ahead of test for number of bytes being moved.
9346
9347Thu Aug 27 14:07:53 1998 Christopher Faylor <cgf@cygnus.com>
9348
9349 * libc/include/sys/unistd.h: Nothing special needed for
9350 _exit under cygwin.
9351
9352Wed Aug 26 15:05:21 1998 Nick Clifton <nickc@cygnus.com>
9353
9354 * libc/sys/arm/syscalls.c (_sbrk): Rename '_end' to 'end' to
9355 conform to user label naming conventions.
9356
9357Mon Aug 24 14:46:19 1998 Geoffrey Noer <noer@cygnus.com>
9358
9359 * libc/sys/cygwin32/sys/utime.h: variable names in
9360 protos should start with two leading underscores
9361 * libc/include/string.h: ditto
9362 * libc/include/sys/signal.h: ditto
9363 * libc/include/sys/stat.h: ditto
9364 * libc/include/sys/time.h: ditto
9365 * libc/include/sys/unistd.h: ditto
9366 * libc/include/ctype.h: ditto
9367 * libc/include/stdlib.h: ditto
9368 * libc/include/sys/reent.h: struct _atexit function ptr takes a
9369 void, same with _sig_func.
9370
9371Fri Aug 21 14:44:14 1998 Jeff Johnston <jjohnstn@cygnus.com>
9372
9373 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Added preprocessor checks
9374 for MB_CAPABLE to reduce code size when newlib is not configured
9375 with --enable-newlib-mb.
9376 * libc/stdlib/Makefile.am: Specified -fshort-enums when building
9377 mbtowc_r.o to minimize size.
9378 * libc/stdlib/Makefile.in: Rebuild.
9379
9380Wed Aug 19 16:20:13 1998 Jim Wilson <wilson@cygnus.com>
9381
9382 * libc/sys/sparc64/Makefile.am (.S_r.o, .c_r.o): Change -DREENTRANT
9383 to -DREENT.
9384 * libc/sys/sparc64/Makefile.in: Rebuild.
9385
9386Tue Aug 18 22:38:29 1998 Ian Lance Taylor <ian@cygnus.com>
9387
9388 * Makefile.am (MAKEOVERRIDES): Define.
9389 * Makefile.in: Rebuild.
9390
9391Tue Aug 18 12:38:47 1998 Jim Wilson <wilson@cygnus.com>
9392
9393 * libc/sys/sparc64/sys/stat.h (stat): Add const.
9394
9395Mon Aug 17 22:27:06 1998 Ian Lance Taylor <ian@cygnus.com>
9396
9397 * acinclude.m4 (NEWLIB_CONFIGURE): Use top_builddir in
9398 newlib_cflags when looking for targ-include.
9399 * */aclocal.m4, */configure: Rebuild.
9400
9401Fri Jul 31 10:57:42 1998 Catherine Moore <clm@cygnus.com>
9402
9403 * libc/sys/arm/syscalls.c (_sbrk): Change "__end__"
9404 to "_end".
9405
9406Wed Jul 29 00:02:01 1998 Mark Alexander <marka@cygnus.com>
9407
9408 * libc/include/sys/config.h: Define __IEEE_LITTLE_ENDIAN
9409 on SPARCs with little-endian data.
9410 * libc/include/machine/ieeefp.h: Ditto.
9411
9412Wed Jul 22 18:00:10 1998 Ian Lance Taylor <ian@cygnus.com>
9413
9414 * acinclude.m4: Handle a relative srcdir correctly when setting
9415 newlib_cflags.
9416 * */aclocal.m4, */configure: Rebuild.
9417
9418Wed Jul 22 17:11:33 1998 Jeff Johnston <jjohnstn@cygnus.com>
9419
9420 * libm/math/wrf_lgamma.c (lgammaf_r): Initialize exc.err to 0 and
9421 also set exc.arg1, exc.arg2 appropriately in case matherr is supplied.
9422 * libm/math/wrf_gamma.c (gammaf_r): ditto
9423 * libm/math/wr_lgamma.c (lgamma_r): ditto
9424 * libm/math/wr_gamma.c (gamma_r): ditto
9425 * libm/math/wf_sqrt.c (sqrtf): ditto
9426 * libm/math/wf_sinh.c (sinhf): ditto
9427 * libm/math/wf_scalb.c (scalbf): ditto
9428 * libm/math/wf_remainder.c (remainderf): ditto
9429 * libm/math/wf_pow.c (powf): ditto
9430 * libm/math/wf_log10.c (log10f): ditto
9431 * libm/math/wf_log.c (logf): ditto
9432 * libm/math/wf_lgamma.c (lgammaf): ditto
9433 * libm/math/wf_jn.c (jnf, ynf): ditto
9434 * libm/math/wf_j1.c (j1f, y1f): ditto
9435 * libm/math/wf_j0.c (j0f, y0f): ditto
9436 * libm/math/wf_hypot.c (hypotf): ditto
9437 * libm/math/wf_gamma.c (gammaf): ditto
9438 * libm/math/wf_fmod.c (fmodf): ditto
9439 * libm/math/wf_exp.c (expf): ditto
9440 * libm/math/wf_cosh.c (coshf): ditto
9441 * libm/math/wf_atanh.c (atanhf): ditto
9442 * libm/math/wf_atan2f.c (atan2f): ditto
9443 * libm/math/wf_asin.c (asinf): ditto
9444 * libm/math/wf_acosh.c (acoshf): ditto
9445 * libm/math/wf_acos.c (acosf): ditto
9446 * libm/math/w_sqrt.c (sqrt): ditto
9447 * libm/math/w_sinh.c (sinh): ditto
9448 * libm/math/w_scalb.c (scalb): ditto
9449 * libm/math/w_remainder.c (remainder): ditto
9450 * libm/math/w_pow.c (pow): ditto
9451 * libm/math/w_log10.c (log10): ditto
9452 * libm/math/w_log.c (log): ditto
9453 * libm/math/w_lgamma.c (lgamma): ditto
9454 * libm/math/w_jn.c (jn, yn): ditto
9455 * libm/math/w_j1.c (j1, y1): ditto
9456 * libm/math/w_j0.c (j0, y0): ditto
9457 * libm/math/w_hypot.c (hypot): ditto
9458 * libm/math/w_gamma.c (gamma): ditto
9459 * libm/math/w_fmod.c (fmod): ditto
9460 * libm/math/w_exp.c (exp): ditto
9461 * libm/math/w_cosh.c (cosh): ditto
9462 * libm/math/w_atanh.c (atanh): ditto
9463 * libm/math/w_atan2f.c (atan2): ditto
9464 * libm/math/w_asin.c (asin): ditto
9465 * libm/math/w_acosh.c (acosh): ditto
9466 * libm/math/w_acos.c (acos): ditto
9467
9468Tue Jul 21 12:34:54 1998 Ian Lance Taylor <ian@cygnus.com>
9469
9470 * libm/math/Makefile.am (src): Add w_cabs.c and w_drem.c.
9471 (fsrc): Add wf_cabs.c and wf_drem.c.
9472 * libm/math/Makefile.in: Rebuild.
9473
9474 * Makefile.am (AM_MAKEFLAGS): Add CFLAGS_FOR_BUILD. Remove some
9475 unused directory variables. Remove duplicate CFLAGS.
9476 * Makefile.in: Rebuild.
9477
9478 * doc/Makefile.am ($(MKDOC)): Don't use $(CFLAGS) when building
9479 with $(CC_FOR_BUILD).
9480 (makedoc.o): Likewise.
9481 * doc/Makefile.in: Rebuild.
9482
9483 * libc/sys/cygwin32/Makefile.am (EXTRA_LIBRARIES): Define, to
9484 force a definition of COMPILE.
9485 (libfoo_a_SOURCES): Define.
9486 * libc/sys/cygwin32/Makefile.in: Rebuild.
9487 * libc/sys/tic80/Makefile.am (EXTRA_LIBRARIES): Define, to
9488 force a definition of COMPILE.
9489 (libfoo_a_SOURCES): Define.
9490 * libc/sys/tic80/Makefile.in: Rebuild.
9491
9492Mon Jul 20 20:49:24 1998 Christopher Faylor <cgf@cygnus.com>
9493
9494 * libc/include/sys/fcntl.h: Add O_NOINHERIT, Win32-specific
9495 flag.
9496
9497Fri Jul 17 16:13:16 1998 Ian Lance Taylor <ian@cygnus.com>
9498
9499 * Build using autoconf and automake. Added many Makefile.am and
9500 configure.in files, plus generated files. Old configure.in files
9501 and all old Makefile.in files completely replaced. Removed
9502 host/any. Added acinclude.m4 and configure.host.
9503
9504Sat Jul 11 18:14:49 1998 Felix Lee <flee@cygnus.com>
9505
9506 * libc/stdio/vfprintf.c: enable long long support, sometimes.
9507 * configure.in (*-*-cygwin32): add -DWANT_PRINTF_LONG_LONG.
9508
9509Tue Jul 7 01:51:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
9510
9511 * libc/machine/sh/strcmp.S, libc/machine/sh/strcpy.S: New files.
9512 * libc/machine/sh/Makefile.in: Add rules for new files.
9513
9514Tue Jul 7 01:40:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
9515
9516 * libc/machine/sh/asm.h (SL, DELAYED_BRANCHES): Define.
9517 * libc/machine/sh/memset.S (memset): Remove uses of dt; shorten code.
9518 * libc/machine/sh/memcpy.S (SL, DELAYED_BRANCHES): Don't define.
9519
9520Thu Jul 2 10:33:16 1998 Nick Clifton <nickc@cygnus.com>
9521
9522 * libc/sys/arm/syscalls.c (_exit): Add comment, noting that exit
9523 code is ignored.
9524
9525Wed Jun 24 13:56:54 1998 Jeff Johnston <jjohnstn@cygnus.com>
9526
9527 * libc/stdio/tmpnam.c (_tmpnam_r): Changed routine to use
9528 internal static buffer when s is NULL, as prescribed by ANSI.
9529
95301998-06-22 Vladimir N. Makarov <vmakarov@cygnus.com>
9531
9532 * libc/sys/h8300hms/Makefile.in (OFILES): malloc.o has been
9533 removed.
9534 * libc/sys/h8300hms/malloc.c: has been removed. Now malloc.c from
9535 libc/stdlib will be used for h8300hms.
9536
9537Thu Jun 18 16:56:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
9538
9539 * libc/machine/mn10300/strlen.S (_strlen): New optimized assembler
9540 version that can be built either for speed or size.
9541 * libc/machine/mn10300/memset.S (_memset): ditto
9542 * libc/machine/mn10300/memchr.S (_memchr): ditto
9543 * libc/machine/mn10300/memcpy.S (_memcpy): ditto
9544 * libc/machine/mn10300/memcmp.S (_memcmp): ditto
9545 * libc/machine/mn10300/strchr.S (_strchr): ditto
9546 * libc/machine/mn10300/strcmp.S (_strcmp): ditto
9547 * libc/machine/mn10300/strcpy.S (_strcpy): ditto
9548 * libc/machine/mn10300/Makefile.in: Added entries for
9549 memchr.o, memcmp.o, memcpy.o, memset.o, strchr.o,
9550 strcmp.o, strcpy.o, and strlen.o.
9551
9552Wed Jun 17 12:50:26 1998 Mark Alexander <marka@cygnus.com>
9553
9554 * configure.in: Don't use libc/sys/sysmec for MN10200; it's
9555 been replaced with libgloss/mn10200.
9556
9557Fri Jun 12 14:34:39 1998 Michael Meissner <meissner@cygnus.com>
9558
9559 * libc/string/strchr.c (strchr): Make s a constant pointer to
9560 avoid warning.
9561
9562Tue Jun 9 16:29:30 1998 Jason Molenda (crash@bugshack.cygnus.com)
9563
9564 * configure.in (target == arm* or thumb*): Define ARM_RDI_MONITOR
9565 instead of ARM_RDP_MONITOR (sys/libc/arm/crt0.S to assume Angel
9566 board SWIs instead of Demon board SWIs).
9567
9568Thu Jun 4 12:16:46 1998 Michael Meissner <meissner@cygnus.com>
9569
9570 * libc/string/strncat.c (strncat): Make -Os act the same as
9571 PREFER_SIZE_OVER_SPEED being defined.
9572
9573Wed Jun 3 17:52:33 1998 Michael Meissner <meissner@cygnus.com>
9574
9575 * libc/string/memchr.c (memchr): Make -Os act the same as
9576 PREFER_SIZE_OVER_SPEED being defined.
9577 * libc/string/memcmp.c (memcmp): Ditto.
9578 * libc/string/memcpy.c (memcpy): Ditto.
9579 * libc/string/memset.c (memset): Ditto.
9580 * libc/string/strcat.c (strcat): Ditto.
9581 * libc/string/strchr.c (strchr): Ditto.
9582 * libc/string/strcmp.c (strcmp): Ditto.
9583 * libc/string/strcpy.c (strcpy): Ditto.
9584 * libc/string/strlen.c (strlen): Ditto.
9585 * libc/string/strncat.c (strncat): Ditto.
9586 * libc/string/strncmp.c (strncmp): Ditto.
9587 * libc/string/strncpy.c (strncpy): Ditto.
9588
9589Mon Jun 1 15:25:07 1998 Geoffrey Noer <noer@cygnus.com>
9590
9591 * libc/include/sys/itimer.h: remove
9592 * libc/include/sys/time.h: itimer stuff should be here
9593
9594Mon Jun 1 16:31:29 1998 Jeff Johnston <jjohnstn@cygnus.com>
9595
9596 * libc/stdio/vfprintf.c (cvt): Changed code to look at sign
9597 bit instead of comparing to 0 so -0.0 can be printed correctly.
9598
9599Sat May 30 09:33:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
9600
9601 * libc/stdlib/mprec.c (b2d): Inilialize d in non-VAX case too.
9602
9603Fri May 29 22:25:10 1998 Geoffrey Noer <noer@cygnus.com>
9604
9605 * libc/include/sys/unistd.h: fix sync() proto
9606 * libc/include/sys/fcntl.h: remove _close which is already
9607 defined in unistd.h.
9608 * libc/include/sys/time.h: add getitimer proto
9609
9610Fri May 29 16:10:28 1998 Geoffrey Noer <noer@cygnus.com>
9611
9612 * libc/string/strchr.c: convert arg to unsigned char
9613 * libc/include/stdlib.h: add protos for random, srandom
9614 * libc/include/sys/stat.h: add lstat proto
9615 * libc/include/sys/time.h: add setitimer proto
9616 * libc/include/sys/unistd.h: add readlink, symlink protos
9617 * libc/include/process.h: instead of including windows.h and using
9618 HANDLEs in sexec protos, just use void *s. Need to include
9619 sys/types.h.
9620
9621Fri May 29 03:04:29 1998 Geoffrey Noer <noer@cygnus.com>
9622
9623 * libc/include/sys/fcntl.h: add _close proto for Cygwin32
9624
9625Thu May 28 16:34:21 1998 Geoffrey Noer <noer@cygnus.com>
9626
9627 * libc/include/process.h: add secure exec protos
9628
9629Wed May 27 13:54:51 1998 Jeffrey A Law (law@cygnus.com)
9630
9631 * libc/stdlib/dtoa.c (_dtoa_r): Use "double_union" for variables
9632 which are accessed as both doubles and integers.
9633 * libc/stdlib/mprec.c (ulp, b2d, ratio): Likewise.
9634 * libc/stdlib/strtod.c (_strtod_r): Likewise.
9635 * libc/stdlib/mprec.h: Add "union double_union" and change
9636 word0/word1 macros to use it.
9637
9638Tue May 26 18:04:21 1998 Geoffrey Noer <noer@cygnus.com>
9639
9640 * libc/include/sys/signal.h: add __cplusplus wrapper
9641
9642Tue May 26 15:10:22 1998 Geoffrey Noer <noer@cygnus.com>
9643
9644 * libc/include/sys/utime.h: new generic file that gets replaced by
9645 libc/sys/SYSDIR/sys/utime.h on systems that support the utime
9646 function.
9647 * sys/cygwin32/sys/utime.h: use _EXFUN in utime proto
9648 * libc/include/time.h: remove duplicate utime proto
9649 * libc/include/utime.h: add comment
9650
9651Sun May 24 23:56:20 1998 Christopher Faylor <cgf@cygnus.com>
9652
9653 * libc/include/sys/time.h: Add missing include to
9654 allow use of _EXFUN. Remove times function that is
9655 already defined in times.h.
9656
9657Sun May 24 01:32:14 1998 Christopher Faylor <cgf@cygnus.com>
9658
9659 * libc/include/time.h: Fix typo in tzset.
9660
9661Fri May 22 17:00:48 1998 Geoffrey Noer <noer@cygnus.com>
9662
9663 * libc/include/sys/time.h: add missing Cygwin32 function protos
9664 * libc/include/sys/unistd.h: ditto
9665 * libc/include/time.h: ditto
9666
9667Wed May 20 20:35:11 1998 Geoffrey Noer <noer@cygnus.com>
9668
9669 * libc/sys/cygwin32/sys/param.h: add protected NULL def, remove
9670 FIXME.
9671 * libc/include/sys/types.h: add a new __MS_types__ section
9672 to define vm_offset_t, vm_size_t, int32_t et al, register_t,
9673 __BIT_TYPES_DEFINED__.
9674
9675Wed May 20 18:49:21 1998 Geoffrey Noer <noer@cygnus.com>
9676
9677 * libc/sys/cygwin32/sys/param.h: move here from winsup/include/sys
9678 since it overrides the one in libc/include/sys. Also, start
9679 including types.h.
9680
9681Wed May 20 14:45:40 1998 Geoffrey Noer <noer@cygnus.com>
9682
9683 * libm/math/Makefile.in: add s_signgam.o to obj list
9684
9685Tue May 19 11:57:11 1998 Jeff Johnston <jjohnstn@cygnus.com>
9686
9687 * libc/include/sys/reent.h (_REENT_INIT): Initialize current locale to "C".
9688
9689Mon May 18 22:36:12 1998 Christopher Faylor <cgf@cygnus.com>
9690
9691 * libc/include/sys/signal.h: cygwin32 exports sig{empty,add}set,
9692 so don't use defines.
9693
9694Mon May 18 19:01:02 1998 Michael Meissner <meissner@cygnus.com>
9695
9696 * libc/sys/d10v/crt0.S: Use correct stab for 16-bit ints.
9697
9698Sun May 17 18:40:32 1998 Frank Ch. Eigler <fche@cygnus.com>
9699
9700 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Accept a NULL
9701 _current_locale as default locale.
9702
9703Sat May 16 21:59:59 1998 Bob Manson <manson@charmed.cygnus.com>
9704
9705 * libc/stdlib/mallocr.c (mALLOc): Add explicit tests for
9706 insufficient space in a chunk.
9707
9708Tue May 12 14:41:01 1998 Jeff Johnston <jjohnstn@cygnus.com>
9709
9710 * configure.in (links): Added check for --enable-newlib-mb configure
9711 option which defines the MB_CAPABLE macro.
9712 * libc/locale/locale.c (_setlocale_r): Added support for setting
9713 LC_CTYPE to "C-JIS", "C-SJIS" or "C-EUCJP", when MB_CAPABLE is
9714 defined.
9715 * libc/stdlib/mbtowc_r.c (_mbtowc_r): New function _mbtowc_r that
9716 implements mbtowc() with multibyte support for JIS, SJIS, and EUC-JP.
9717 * libc/stdlib/wctomb_r.c (_wctomb_r): New function _wctomb_r that
9718 implements wctomb() with multibyte support for JIS, SJIS, and EUC-JP.
9719 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): New function _mbstowcs_r that
9720 implements mbstowcs() with multibyte support for JIS, SJIS, and EUC-JP.
9721 * libc/stdlib/wcstombs_r.c (_wcstombs_r): New function _wcstomb_r that implements
9722 wcstombs() with multibyte support for JIS, SJIS, and EUC-JP.
9723 * libc/stdlib/Makefile.in: Added new multibyte
9724 routines: _mbtowc_r(), _wctomb_r(), _mbstowcs_r(), and _wcstombs_r().
9725 * libc/include/stdlib.h: Added declarations of _mbtowc_r(), _wctomb_r(),
9726 _mbstowcs_r(), and _wcstombs_r().
9727 * libc/stdlib/mbctype.h: New internal header file that contains macros to test
9728 for JIS, SJIS, and EUC-JP characters.
9729 * libc/stdlib/mblen.c (mblen): Added code to call _mbtowc_r() if
9730 MB_CAPABLE defined.
9731 * libc/stdlib/mbtowc.c (mbtowc): Added code to call _mbtowc_r() if
9732 MB_CAPABLE defined.
9733 * libc/stdlib/wctomb.c (wctomb): Added code to call _wctomb_r() if
9734 MB_CAPABLE defined.
9735 * libc/stdlib/mbstowcs.c (mbstowcs): Added code to call _mbstowcs_r()
9736 if MB_CAPABLE defined.
9737 * libc/stdlib/wcstombs.c (wcstombs): Added code to call _wcstombs_r()
9738 if MB_CAPABLE defined.
9739 * libc/stdio/vfscanf.c (__svfscanf): Added multibyte tolerance
9740 to the format string processing when MB_CAPABLE.
9741 * libc/stdio/vfprintf.c (_VFPRINTF_R): Changed mbtowc() call to
9742 call _mbtowc_r().
9743
9744Tue May 5 16:07:23 1998 Nick Clifton <nickc@cygnus.com>
9745
9746 The following modifications are courtesy of Anthony Thompson,
9747 athompson@cambridge.arm.com:
9748 * libc/sys/arm/syscalls.c: Initialise and track stdin/out/err for
9749 boith RDI and RDP monitors.
9750 * libc/sys/arm/crt0.S: Call initialise_monitor_handles() for both
9751 RDI and RDP monitors.
9752
9753Wed Apr 29 15:22:15 1998 Jeff Johnston <jjohnstn@cygnus.com>
9754
9755 * configure.in (links): Added -DHAVE_GETTIMEOFDAY for arm and thumb.
9756 * libc/sys/arm/syscalls.c (_gettimeofday _times): Added functions.
9757 (_swiopen): Fixed open flags to treat write with append as just append.
9758 (_swilseek): Fixed lseek support to properly handle offsets from SEEK_END.
9759 * libc/sys/arm/sys/param.h: New file to override param.h for ARM.
9760
9761Fri Apr 24 18:00:09 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
9762
9763 * libc/machine/sh/memcpy.S (L_odddst, big endian version):
9764 When needing to transfer an initial 2-byte-word, store as
9765 two single bytes.
9766
9767Wed Apr 22 17:56:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
9768
9769 * libc/sys/sh/crt0.S (start): Handle __SH4_SINGLE_ONLY__ like
9770 __SH3E__ .
9771 * libc/machine/sh/memcpy.S (DELAYED_BRANCHES, SL): Likewise.
9772 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Likewise.
9773
9774Wed Apr 22 12:28:03 1998 Michael Meissner <meissner@cygnus.com>
9775
9776 * configure.in (target_cflags): If --enable-target-optspace, use
9777 -Os to compile newlib rather than -O2. Default to using -Os for
9778 d10v, d30v and m32r if --{enable,disable}-target-optspace is not
9779 used.
9780
9781Tue Apr 21 23:13:34 1998 Geoffrey Noer <noer@cygnus.com>
9782
9783 * libc/include/machine/setjmp.h: change sigsetjmp and
9784 siglongjmp definitions to use an array instead of a struct
9785 for __CYGWIN32__
9786
9787Tue Apr 14 11:47:47 1998 Doug Evans <devans@canuck.cygnus.com>
9788
9789 * libc/reent/impure.c (__ATTRIBUTE_IMPURE_DATA__): Fix spelling.
9790
9791Mon Apr 6 15:05:08 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
9792
9793 * libc/string/strxfrm.c: fix to get correct return value
9794
9795Wed Apr 1 16:09:05 1998 Nick Clifton <nickc@cygnus.com>
9796
9797 * libc/sys/arm/crt0.S: Set top of RAM to be 0x800000 for PE
9798 builds. Make mode change labels global so that they will be seen
9799 by the debugger.
9800
9801Wed Mar 18 09:45:10 1998 Nick Clifton <nickc@cygnus.com>
9802
9803 * configure.in (links): Do not use ARM debiugging protocols for PE
9804 builds.
9805
9806 * libc/sys/arm/syscalls.c (_sbrk): Add "_sbrk: " to error
9807 message.
9808
9809Fri Mar 13 11:24:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
9810
9811 * libc/stdio/findfp.c (__sinit): Made stdout default to
9812 line buffered mode as defined by ANSI.
9813
9814Tue Mar 10 11:41:26 1997 Bob Manson <manson@charmed.cygnus.com>
9815
9816 * libc/include/sys/itimer.h: New file.
9817
9818 * libc/signal/signal.c (__sigtramp_r,__sigtramp): New functions.
9819
9820Mon Mar 9 14:19:26 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
9821
9822 * libc/machine/sh/memcpy.S: (_memcpy): Fix for execute/memcpy-1.c
9823 failure.
9824
9825Fri Feb 27 13:56:10 1998 Michael Meissner <meissner@cygnus.com>
9826
9827 * libc/machine/d30v/setjmp.S (longjmp): Fix order of parallel
9828 insns.
9829
9830Wed Feb 25 09:29:54 1998 Nick Clifton <nickc@cygnus.com>
9831
9832 * libc/sys/arm/syscalls.c (_open): Add varags to conform to prototype.
9833
9834Tue Feb 24 18:00:13 1998 Michael Meissner <meissner@cygnus.com>
9835
9836 * libc/machine/d30v/{setjmp.S,Makefile.in}: New files for D30V
9837 support.
9838
9839 * libc/include/machine/setjmp.h: Add D30V support.
9840
9841 * configure.in (d30v-*): Add d30v machine directory.
9842
9843Mon Feb 23 09:32:58 1998 Mark Alexander <marka@cygnus.com>
9844
9845 * configure.in: Don't use libc/sys/sysmec for MN10300; it's
9846 been replaced with libgloss/mn10300.
9847
9848Sat Feb 21 17:44:43 1998 Geoffrey Noer <noer@cygnus.com>
9849
9850 * libc/stdlib/mallocr.c: remove __malloc_copy routine now that
9851 it is no longer needed.
9852
9853Thu Feb 19 16:15:10 1998 Geoffrey Noer <noer@cygnus.com>
9854
9855 * libc/include/sys/signal.h: add sigpause proto for Cygwin32
9856
9857Wed Feb 18 23:51:08 1998 Geoffrey Noer <noer@cygnus.com>
9858
9859 * libc/stdio/fdopen.c (fdopen): Make all writes go to the end of
9860 the file when O_APPEND is set, wherever the EOF happens to be at
9861 that time.
9862
9863Wed Feb 18 23:25:02 1998 Geoffrey Noer <noer@cygnus.com>
9864
9865 patch from cgf@bbc.com (Christopher Faylor):
9866 * libc/stdio/freopen.c (freopen): Conform to standard UNIX
9867 convention of closing fp prior to attempting to open the file
9868 argument. This allows correct operation when reopening
9869 stdin/stdout/stderr. Replaces last freopen.c patch.
9870
9871Wed Feb 18 16:27:40 1998 Geoffrey Noer <noer@cygnus.com>
9872
9873 patch from cgf@bbc.com (Christopher Faylor):
9874 * libc/stdio/freopen.c: freopen was not preserving the fd
9875 of the stream being operated on. This confuses programs that
9876 expect that the handles for stdout and stderr will be 1 and 2.
9877
9878Mon Feb 16 23:34:07 1998 Andrew Cagney <cagney@b1.cygnus.com>
9879
9880 * libc/sys/d10v/crt0.S (_start): Set PSW{SW} - select SPU.
9881
9882Thu Feb 12 15:09:20 1998 Ranjith Kumaran <ranjith@cygnus.com>
9883
9884 * libc/sys/go32/longjmp.S: Fix longjmp to not return 0.
9885
9886Wed Feb 11 17:50:45 1998 Jeff Johnston <jjohnstn@cygnus.com>
9887
9888 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Alignment code
9889 altered to not use a branch. Also added hint that last
9890 bclr in longjmp will likely result in branch.
9891
9892
9893Mon Feb 9 03:44:02 1998 Geoffrey Noer <noer@cygnus.com>
9894
9895 * libc/sys/cygwin32/crt0.c: add missing args to main() extern
9896
9897Fri Feb 6 16:32:32 1998 Nick Clifton <nickc@cygnus.com>
9898
9899 * libc/sys/sysnecv850/crt0.S (_start): Initialise _ctbp even for
9900 v850 builds.
9901
9902 * configure.in: Add -msmall-sld to target_cflags for v850 builds.
9903
9904Wed Feb 4 16:56:20 1998 Jeff Johnston <jjohnstn@cygnus.com>
9905
9906 * libc/machine/powerpc/setjmp.S (longjmp): Fixed code
9907 that loads FR14 to specify offset of 8 rather than 4
9908 so it loads from offset 96 (where setjmp stored it).
9909
9910Tue Feb 3 18:08:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
9911
9912 * libc/machine/sh/memcpy.S: (_memcpy): Update to
9913 latest version supplied by customer.
9914 * libc/machine/sh/memset.S (_memset): Ditto.
9915
9916Mon Feb 2 16:20:39 1998 Nick Clifton <nickc@cygnus.com>
9917
9918 * libc/sys/sysnecv850/Makefile.in (OFILES): Add link.o (for
9919 PR14730).
9920
9921Mon Feb 2 15:13:26 1998 Geoffrey Noer <noer@cygnus.com>
9922
9923 * libc/include/string.h: remove redefinition of ffs
9924
9925Wed Jan 28 13:30:14 1998 Geoffrey Noer <noer@cygnus.com>
9926
9927 * libc/include/sys/signal.h: include _ansi.h so _EXFUN is
9928 defined
9929
9930Wed Jan 28 10:38:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
9931
9932 * libc/machine/tic80/setjmp.S: Adding _setjmp to allow
9933 TI Libraries to link to libc.a
9934
9935Sat Jan 24 10:15:56 1998 Michael Meissner <meissner@cygnus.com>
9936
9937 * libc/include/sys/fcntl.h (_open,_fcntl): Add prototypes.
9938 * libc/include/sys/stat.h (_{,f}stat): Ditto.
9939 * libc/include/sys/wait.h (_wait): Ditto.
9940 * libc/include/sys/unistd.h (_close,_fork,_getpid): Ditto.
9941 (_link,_lseek,_read,_sbrk,_unlink,_write): Ditto.
9942
9943Fri Jan 23 11:32:10 1998 Michael Meissner <meissner@cygnus.com>
9944
9945 * libc/machine/d10v/setjmp.S: Change to new ABI. Add simple
9946 minded stabs so function name shows up when running the simulator
9947 with -t.
9948 * libc/sys/d10v/{crt0,trap}.S: Ditto.
9949
9950Thu Jan 22 15:57:14 1998 Fred Fish <fnf@cygnus.com>
9951
9952 * libc/sys/d10v/trap.S: Change syscalls to use trap 15.
9953 * libc/sys/d10v/crt0.S: Use R6 where we used to use R2.
9954 Use R5 where we used to use R3.
9955
9956Wed Jan 21 14:22:23 1998 Bill Moyer <billm@cygnus.com>
9957
9958 * libc/stdlib/getopt.c (getopt): replaced __progname
9959 with nargv[0] to improve portability to imbedded systems.
9960
9961Thu Jan 15 12:32:38 1998 Nick Clifton <nickc@cygnus.com>
9962
9963 * libc/sys/arm/syscalls.c (initialise_angel_handles): Applied
9964 patch supplied by Tont.Thompson@arm.com to fix the creation of the
9965 stdout file.
9966
9967Wed Jan 14 13:00:19 1998 Ian Lance Taylor <ian@cygnus.com>
9968
9969 * libc/stdio/tmpnam.c (worker): Generate a different file name
9970 each time.
9971
9972 * libc/posix/popen.c (popen): If __CYGWIN32__, and execing /bin/sh
9973 fails, try an execlp for sh.
9974
9975 * host/any (INCLUDES): If target_os is cygwin32, then add a -I
9976 option for the winsup include directory.
9977
9978Wed Jan 7 17:02:58 1998 Nick Clifton <nickc@cygnus.com>
9979
9980 * libc/sys/arm/syscalls.c: Applied patches for Angel based remote
9981 debugging interface from Tony.Thompson@arm.com.
9982
9983 * libc/sys/arm/crt0.S (_mainCRTStartup): ditto.
9984 * libc/sys/arm/swi.h: ditto.
9985
9986Tue Jan 6 14:15:10 1998 Geoffrey Noer <noer@cygnus.com>
9987
9988 * libc/sys/cygwin32/sys/dirent.h: add __d_dirhash field to
9989 DIR struct used for readdir hashes.
9990
9991Thu Jan 1 11:22:22 1998 Jeffrey A Law (law@cygnus.com)
9992
9993 * libc/string/strchr.c: Use "unsigned chars" as necessary.
9994
9995Wed Dec 31 04:25:30 1997 Jeffrey A Law (law@cygnus.com)
9996
9997 * libc/stdlib/mallocr.c (idx2binblock): Don't lose on 16bit
9998 integer targets.
9999
10000Sat Dec 13 15:11:06 1997 Ian Lance Taylor <ian@cygnus.com>
10001
10002 * libc/stdlib/mallocr.c (__malloc_copy): New function, compiled if
10003 INTERNAL_NEWLIB and __CYGWIN32__ and DEFINE_MALLOC.
10004 * libc/include/malloc.h: Add extern "C" if __cplusplus.
10005 (__malloc_copy): Declare.
10006
10007Wed Dec 10 12:15:54 1997 Ian Lance Taylor <ian@cygnus.com>
10008
10009 * libc/stdlib/mallocr.c: If INTERNAL_NEWLIB, include
10010 <sys/config.h>.
10011 (POINTER_UINT): Define.
10012 (DEFAULT_TRIM_THRESHOLD): Mark constants as long.
10013 (MALLOC_ALIGNMENT): Don't define if already defined.
10014 (malloc_extend_top): Cast pointers to POINTER_UINT, not unsigned
10015 long.
10016
10017Tue Dec 9 19:23:42 1997 Michael Meissner <meissner@cygnus.com>
10018
10019 * libc/string/memset.c (memset): Fiddle with code so that the long
10020 value being stored is not a stack value. Unroll storing longs 4
10021 times.
10022
10023Tue Dec 9 14:13:18 1997 Jeff Johnston <jjohnstn@cygnus.com>
10024
10025 * Reduce code size for libm modules.
10026 * libm/math/w_sqrt.c (sqrt): Remove call to kernel_standard
10027 and simply move code into sqrt.
10028 * libm/math/wrf_lgamma.c (lgammaf_r): Likewise.
10029 * libm/math/wr_lgamma.c (lgamma_r): Likewise.
10030 * libm/math/wrf_gamma.c (gammaf_r): Likewise.
10031 * libm/math/wr_gamma.c (gamma_r): Likewise.
10032 * libm/math/wf_sinh.c (sinfh): Likewise.
10033 * libm/math/w_sinh.c (sinh): Likewise.
10034 * libm/math/wf_scalb.c (scalbf): Likewise.
10035 * libm/math/w_scalb.c (scalb): Likewise.
10036 * libm/math/wf_remainder.c (remainderf): Likewise.
10037 * libm/math/w_remainder.c (remainder): Likewise.
10038 * libm/math/wf_pow.c (powf): Likewise.
10039 * libm/math/w_pow.c (pow): Likewise.
10040 * libm/math/wf_log10.c (log10f): Likewise.
10041 * libm/math/w_log10.c (log10): Likewise.
10042 * libm/math/wf_log.c (logf): Likewise.
10043 * libm/math/w_log.c (log): Likewise.
10044 * libm/math/w_lgamma.c (lgamma): Likewise.
10045 * libm/math/wf_lgamma.c (lgammaf): Likewise.
10046 * libm/math/wf_jn.c (jnf): Likewise.
10047 * libm/math/w_jn.c (jn): Likewise.
10048 * libm/math/wf_j1.c (j1f): Likewise.
10049 * libm/math/w_j1.c (j1): Likewise.
10050 * libm/math/wf_j0.c (j0f): Likewise.
10051 * libm/math/w_j0.c (j0): Likewise.
10052 * libm/math/wf_hypot.c (hypotf): Likewise.
10053 * libm/math/w_hypot.c (hypot): Likewise.
10054 * libm/math/wf_gamma.c (gammaf): Likewise.
10055 * libm/math/w_gamma.c (gamma): Likewise.
10056 * libm/math/wf_fmod.c (fmodf): Likewise.
10057 * libm/math/w_fmod.c (fmod): Likewise.
10058 * libm/math/wf_exp.c (expf): Likewise.
10059 * libm/math/w_exp.c (exp): Likewise.
10060 * libm/math/wf_cosh.c (coshf): Likewise.
10061 * libm/math/w_cosh.c (cosh): Likewise.
10062 * libm/math/wf_atanh.c (atanhf): Likewise.
10063 * libm/math/w_atanh.c (atanh): Likewise.
10064 * libm/math/wf_atan2.c (atan2f): Likewise.
10065 * libm/math/w_atan2.c (atan2): Likewise.
10066 * libm/math/wf_asin.c (asinf): Likewise.
10067 * libm/math/w_asin.c (asin): Likewise.
10068 * libm/math/wf_acosh.c (acoshf): Likewise.
10069 * libm/math/w_acosh.c (acosh): Likewise.
10070 * libm/math/wf_acos.c (asocf): Likewise.
10071 * libm/math/w_acos.c (acos): Likewise.
10072 * libm/math/wf_sqrt.c (sqrtf): Likewise.
10073 * libm/math/k_standard.c (_k_standard): Don't require SVID behavior
10074 for embedded systems.
10075
10076Mon Dec 8 12:12:58 1997 Ian Lance Taylor <ian@cygnus.com>
10077
10078 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from Doug
10079 Lea in case of a foreign sbrk.
10080
10081Fri Dec 5 23:27:28 1997 Ian Lance Taylor <ian@cygnus.com>
10082
10083 Incorporate Doug Lea's malloc:
10084 * libc/stdlib/mallocr.c: Completely replaced.
10085 * libc/stdlib/malloc.c: Document malloc_usable_size and memalign.
10086 (realloc): Remove.
10087 * libc/stdlib/calloc.c (calloc): Just call _calloc_r.
10088 * libc/stdlib/mstats.c: Document mallinfo, malloc_stats, and
10089 mallopt.
10090 (mallinfo, malloc_stats, mallopt): New functions.
10091 (_mstats_r): Just call _malloc_stats_r.
10092 * libc/stdlib/malign.c: New file.
10093 * libc/stdlib/mlock.c: New file.
10094 * libc/stdlib/msize.c: New file.
10095 * libc/stdlib/mtrim.c: New file.
10096 * libc/stdlib/realloc.c: New file.
10097 * libc/stdlib/valloc.c: New file.
10098 * libc/stdlib/malloc.h: Remove.
10099 * libc/stdlib/callocr.c: Remove.
10100 * libc/stdlib/Makefile.in (OFILES): Add cfreer.o, freer.o,
10101 malign.o, malignr.o, mallinfor.o, malloptr.o, mallstatsr.o,
10102 mlock.o, msize.o, msizer.o, mtrim.o, pvallocr.o, realloc.o,
10103 reallocr.o, valloc.o, vallocr.o.
10104 (CHEWOUT_FILES): Add mlock.def, mstats.def.
10105 (MALLOC_CFLAGS): New variable.
10106 (mallocr.o): New target, build from mallocr.c.
10107 (freer.o, reallocr.o, callocr.o, cfreer.o, malignr.o): Likewise.
10108 (vallocr.o, pvallocr.o, mallinfor.o, mallstatsr.o): Likewise.
10109 (msizer.o, malloptr.o): Likewise.
10110 (malign.o, mlock.o, msize.o, mtrim.o, realloc.o): New targets.
10111 (valloc.o): New target.
10112 * libc/stdlib/stdlib.tex: Include mlock.def and mstats.def.
10113 * libc/include/malloc.h: Declare struct mallinfo, and new
10114 routines.
10115 * libc/include/stdlib.h (cfree): Correct declaration.
10116
10117Tue Dec 2 10:12:16 1997 Nick Clifton <nickc@cygnus.com>
10118
10119 * libc/include/machine/setjmp.h: Add support for Thumb target.
10120
10121 * libc/include/machine/ieeefp.h: Add support for Thumb target.
10122
10123 * configure.in (links): Add support for Thumb target.
10124
10125Wed Nov 26 09:56:17 1997 Nick Clifton <nickc@cygnus.com>
10126
10127 * libc/sys/arm/setjmp.S: Updated with version from branch.
10128
10129Thu Nov 20 01:21:43 1997 Geoffrey Noer <noer@cygnus.com>
10130
10131 * libc/include/stdio.h: add POSIX-required define L_ctermid
10132 for ctermid
10133
10134Wed Nov 19 16:11:40 1997 Michael Meissner <meissner@cygnus.com>
10135
10136 * configure.in (d30v-*-*): Define ABORT_MESSAGE, SMALL_MEMORY, in
10137 addition to MISSING_SYSCALL_NAMES.
10138
10139Mon Nov 17 20:05:05 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
10140
10141 * libc/include/sys/config.h: (UINT_MAX, for D10V): Make unsigned.
10142
10143Mon Nov 10 22:26:55 1997 Geoffrey Noer <noer@cygnus.com>
10144
10145 * libc/include/string.h: change strsignal proto to return
10146 a char *. This eliminates compile problems in gdb resulting
10147 from gdb's definition of strsignal in defs.h.
10148
10149Mon Nov 10 17:11:08 1997 Geoffrey Noer <noer@cygnus.com>
10150
10151 * libc/sys/cygwin32/sys/utime.h: new (moved here from
10152 winsup/include) so as not to conflict with the one in
10153 libc/include.
10154 * libc/include/string.h: add protos for strsignal, strtosigno
10155
10156Mon Nov 10 13:49:54 1997 Michael Meissner <meissner@cygnus.com>
10157
10158 * libc/include/sys/config.h: Define __IEEE_BIG_ENDIAN if d30v.
10159
10160 * configure.in (d30v-*-*): Add configuration.
10161
10162Thu Oct 30 14:01:23 1997 Nick Clifton <nickc@cygnus.com>
10163
10164 * configure.in (links): Add -DARM_RD[P|I]_MONITOR to target_cflags
10165 to select which kind of debug monitor is in use for an ARM target.
10166
10167 * libc/sys/arm/crt0.S: New version: Supports Thumb startups and
10168 Angel and Demon debug monitors. Part of this code was supplied by
10169 Tony Thompson at ARM: athompso@arm.com.
10170
10171Fri Oct 24 18:57:05 1997 Jeffrey A Law (law@cygnus.com)
10172
10173 * strncat.c (strncat): Don't call strncpy; strncay has the wrong
10174 semantics when the count is greater than the length of the second
10175 source string.
10176
10177Thu Oct 23 01:37:41 1997 Geoffrey Noer <noer@cygnus.com>
10178
10179 * libc/include/sys/signal.h: reorder CYGWIN32 signal numbers
10180 * libc/include/sys/unistd.h: add protos for usleep, truncate,
10181 truncate and ftruncate take off_t, not size_t
10182
10183Tue Oct 21 18:42:00 1997 Jim Wilson <wilson@cygnus.com>
10184
10185 * libc/string/strcat.c (strcat): Add missing comment end.
10186 * libc/string/strncat.c (strncat): Likewise.
10187
10188Tue Oct 21 17:23:34 1997 Nick Clifton <nickc@cygnus.com>
10189
10190 * configure.in (links): Define PREFER_SIZE_OVER_SPEED for v850
10191 targets.
10192 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Add space
10193 optimised version which is selected if PREFER_SIZE_OVER_SPEED is
10194 defined.
10195 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
10196 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
10197 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
10198
10199Mon Oct 13 15:12:35 1997 Ian Lance Taylor <ian@cygnus.com>
10200
10201 * libc/include/sys/param.h (BIG_ENDIAN): Define if __i386__.
10202 (LITTLE_ENDIAN, BYTE_ORDER): Likewise.
10203
10204Thu Oct 9 13:54:44 1997 Doug Evans <dje@canuck.cygnus.com>
10205
10206 * libc/machine/i386/setjmp.S: New file.
10207 * libc/machine/i386/Makefile.in: Delete COPYOFILES.
10208 (OFILES): Add setjmp.o.
10209 (setjmp.o): Add rule for.
10210 * configure.in: Don't set machine_dir for *-*-{go32,sco*,cygwin32}.
10211
10212Tue Oct 7 14:01:29 1997 Bill Moyer (billm@cygnus.com)
10213 Jeffrey A Law (law@cygnus.com)
10214
10215 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Reimplement to run faster.
10216 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
10217 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
10218 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
10219
10220Mon Oct 6 14:07:59 1997 Nick Clifton <nickc@cygnus.com>
10221
10222 * libc/sys/sysnecv850/Makefile.in (crt0.o trap.o): Explicit
10223 rules.
10224
10225 * libc/include/sys/config.h: Use __v850 to select v850
10226 endianness.
10227
10228 * libc/include/machine/setjmp.h: Use __v850 to select v850 jump
10229 buffer size.
10230
10231 * libc/include/machine/ieeefp.h: Use __v850 to select v850
10232 endianness.
10233
10234Thu Sep 25 14:11:37 1997 Geoffrey Noer <noer@cygnus.com>
10235
10236 * libc/stdlib/setenv.c: change unsetenv definition to match
10237 style of setenv (with _DEFUN). The string should be a const.
10238 * libc/include/stdlib.h: unsetenv proto should return void.
10239
10240Tue Sep 23 18:17:20 1997 Geoffrey Noer <noer@cygnus.com>
10241
10242 * libc/include/stdlib.h: define unsetenv proto for __CYGWIN32__
10243
10244Thu Sep 18 12:50:15 1997 Angela Marie Thomas (angela@cygnus.com)
10245
10246 * libc/stdio/glue.h: remove.
10247 * libc/stdio/findfp.c, libc/stdio/fwalk.c: remove #include "glue.h"
10248 * libc/stdio/Makefile.in: remove glue.h dependencies
10249
10250Wed Sep 17 17:42:27 1997 Nick Clifton <nickc@cygnus.com>
10251
10252 * libc/sys/sysnecv850/crt0.S: Created V850e version.
10253
10254Tue Sep 9 10:40:57 1997 Doug Evans <dje@canuck.cygnus.com>
10255
10256 * configure.in (target_cpu): Add `arc'.
10257
10258Tue Sep 9 10:40:42 1997 Joel Sherrill <joel@OARcorp.com>
10259
10260 * newlib/configure.in (*-*-rtems*): Add -DSIGNAL_PROVIDED and
10261 -DREENTRANT_SYSCALLS_PROVIDED to the target_cflags.
10262 * newlib/libc/include/sys/errno.h: Add ENOTSUP.
10263 * newlib/libc/reent/reent.c: Add _wrapup_reent.
10264 * newlib/libc/sys/rtems/sys/types.h: Avoid redefinitions for go32.
10265
10266Sun Sep 7 16:41:41 1997 Gavin Koch <gavin@cygnus.com>
10267
10268 * libc/machine/mips/setjmp.S: Handle mips16 builds.
10269
10270Thu Aug 21 20:05:38 1997 Ian Lance Taylor <ian@cygnus.com>
10271
10272 * libc/include/stdio.h (siprintf): Declare.
10273
10274Mon Aug 18 11:19:13 1997 Nick Clifton <nickc@cygnus.com>
10275
10276 * libc/sys/sysnecv850/Makefile.in (.c.o): Add rule that includes
10277 TARGET_CFLAGS and NEWLIB_FLAGS.
10278
10279Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
10280
10281 * configure.in (links): Add support for v850ea target.
10282
10283Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
10284
10285 * configure.in (links): Add support for v850e target.
10286
10287Wed Aug 13 19:16:54 1997 Nick Clifton <nickc@cygnus.com>
10288
10289 * libc/sys/sysnecv850/crt0.S: Remove initial setting of r0 to 0.
10290
10291Mon Aug 11 15:49:54 1997 Doug Evans <dje@canuck.cygnus.com>
10292
10293 * configure.in (arc-*-*): Add support for.
10294 * libc/include/machine/ieeefp.h (__arc__): Add support for the ARC.
10295
10296Fri Jul 25 17:37:41 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
10297
10298 * libc/sys/sh/crt0.S (start): Add fpscr initialization for SH4.
10299
10300Thu Jul 24 18:32:17 1997 Geoffrey Noer <noer@cygnus.com>
10301
10302 * libc/stdlib/bsearch.c (bsearch): remove last unneeded
10303 comparison which accesses invalid memory when the key is
10304 larger than the last member of the array.
10305 * libc/include/machine/setjmp.h: add sigsetjmp, siglongjmp
10306 for CYGWIN32
10307 * libc/include/sys/unistd.h: add _POSIX defines for CYGWIN32
10308
10309Tue Jul 22 16:03:06 1997 Ian Lance Taylor <ian@cygnus.com>
10310
10311 * libc/include/stdlib.h (realpath): Declare if __CYGWIN32__ and
10312 not _STRICT_ANSI.
10313
10314Thu Jul 10 15:11:52 1997 Doug Evans <dje@canuck.cygnus.com>
10315
10316 * libm/math/k_standard.c (__kernel_standard): Call fflush(stdout)
10317 ifndef _USE_WRITE, instead of ifdef _USE_WRITE.
10318
10319Thu Jul 10 16:00:09 1997 Mike Meissner <meissner@cygnus.com>
10320
10321 * libc/machine/tic80/setjmp.S (setjmp,longjmp): Use ld.d and st.d
10322 to load/store memory.
10323
10324Mon Jul 7 17:38:17 1997 Ian Lance Taylor <ian@cygnus.com>
10325
10326 * libc/include/sys/fcntl.h: Define _O_* symbols with leading
10327 underscores if _WIN32.
10328
10329Wed Jul 2 10:07:20 1997 Doug Evans <dje@canuck.cygnus.com>
10330
10331 * libm/math/k_standard.c (__kernel_standard): Delete reentrancy
10332 support ifdef _USE_WRITE missed in last change.
10333 From Anders Blomdell <anders.blomdell@control.lth.se>.
10334
10335Wed Jun 25 10:18:49 1997 Doug Evans <dje@canuck.cygnus.com>
10336
10337 * libc/stdio/tmpnam.c (worker): Handle _open_r being stubbed out.
10338 (_tmpnam_r, _tempnam_r): Update.
10339
10340Wed Jun 25 00:16:55 1997 Mark Alexander <marka@cygnus.com>
10341
10342 * libc/machine/sparc/setjmp.S: New file.
10343 * libc/machine/sparc/Makefile.in: Add setjmp.
10344 * libc/include/machine/setjmp.h: Increase jmpbuf size for sparc.
10345
10346Tue Jun 24 23:27:38 1997 Mark Alexander <marka@cygnus.com>
10347
10348 * libc/include/machine/setjmp.h: Use __TIC80__ instead of __tic80__.
10349
10350Tue Jun 24 14:53:40 1997 Doug Evans <dje@canuck.cygnus.com>
10351
10352 From Joel Sherrill <joel@oarcorp.com>.
10353 * libc/stdlib/getenv.c (_findenv): Avoid dereferencing null `environ'.
10354
10355 Add rtems support. From Joel Sherrill <joel@oarcorp.com>.
10356 * configure.in: Recognize *-*-rtems*.
10357 * libc/sys/rtems/{Makefile.in,crt0.c,dummysys.c}: New files.
10358 * libc/sys/rtems/sys/{features.h,sched.h,siginfo.h,signal.h,
10359 time.h,times.h,types.h}: New files.
10360 * libc/sys/rtems/include/{limits.h,signal.h,time.h}. New files.
10361
10362Fri Jun 20 11:13:16 1997 Geoffrey Noer <noer@cygnus.com>
10363
10364 patch from sos@prospect.com.ru (Sergey Okhapkin):
10365 * include/sys/wait.h: correct operator precidence bug
10366 in WIFSIGNALED
10367
10368Wed Jun 18 22:08:27 1997 Geoffrey Noer <noer@cygnus.com>
10369
10370 * libc/include/stdlib.h: remove unsetenv proto since it conflicts
10371 with newlib's unsetenv function
10372 * libc/sys/cygwin32/sys: new directory for includes
10373 * libc/sys/cygwin32/sys/dirent.h: move cygwin32's dirent.h
10374 here from winsup/include/sys
10375
10376Mon Jun 16 21:02:22 1997 Geoffrey Noer <noer@cygnus.com>
10377
10378 * libc/include/sys/unistd.h: _exit should only be
10379 labelled noreturn when not __CYGWIN32__
10380 * libc/include/stdlib.h: for __CYGWIN32__, add proto for unsetenv
10381 * libc/include/sys/signal.h: add SIGIO to _WIN32 list and
10382 increment NSIG
10383
10384Thu Jun 12 18:52:41 1997 Ian Lance Taylor <ian@cygnus.com>
10385
10386 * libc/include/sys/time.h: Only define timeval and timezone if
10387 _GNU_H_WINDOWS32_SOCKETS is not defined.
10388 * libc/include/sys/stat.h: If _WIN32, define _S_IFMT, etc.
10389
10390Wed Jun 11 09:46:26 1997 Jeffrey A Law (law@cygnus.com)
10391
10392 * libc/machine/mn10200/setjmp.S: Implement setjmp/longjmp
10393 * libc/machine/mn10300/setjmp.S: Likewise.
10394
10395 * libc/sys/sysmec/crt0.S: Use "call" instead of "calls" for
10396 the mn10300 (more relaxing opportunities).
10397
10398Tue Jun 10 17:24:45 1997 Mike Meissner <meissner@cygnus.com>
10399
10400 * configure.in (powerpc*-*-{eabi,elf,linux,rtems,sysv,solaris}):
10401 Build libraries with -mstrict-align.
10402
10403Fri Jun 6 14:07:59 1997 Ian Lance Taylor <ian@cygnus.com>
10404
10405 * libc/string/strlwr.c: New file.
10406 * libc/string/strupr.c: New file.
10407 * libc/include/string.h: Declare strlwr and strupr.
10408 * libc/string/Makefile.in (OFILES): Add strlwr.o and strupr.o.
10409 (CHEWOUT_FILES): Add strlwr.def and strupr.def.
10410 (strlwr.o, strupr.o): New targets.
10411 * libc/string/strings.tex: Include strlwr and strupr docs.
10412
10413 * libc/include/sys/types.h: Don't define u_char, et. al., if
10414 _GNU_H_WINDOWS32_SOCKETS is defined. Likewise for fd_set,
10415 et. al. Make FD_SETSIZE default 64 rather than 60. Define
10416 _types_fd_set rather than fd_set, and define fd_set as a macro.
10417
10418 * libc/include/malloc.h: New file.
10419
10420 * libc/include/string.h: Define strcmpi, stricmp, strncmpi, and
10421 strnicmp if they are not already defined.
10422
10423 * libc/include/time.h: If __CYGWIN32__, declare tzset and define
10424 _timezone, _daylight, and _tzname.
10425
10426Wed Jun 4 12:51:16 1997 Doug Evans <dje@canuck.cygnus.com>
10427
10428 * configure.in: Sort all configuration tables.
10429
10430 From Joel Sherrill <joel@oarcorp.com>
10431 * Makefile.in (stmp-targ-include): Copy $(sys_dir)/include/*.h.
10432
10433Tue Jun 3 14:47:46 1997 Ian Lance Taylor <ian@cygnus.com>
10434
10435 * libc/include/sys/signal.h: Don't include <sys/types.h>. Just
10436 use int when declaring kill.
10437
10438 * libc/include/sys/timeb.h: New file.
10439
10440Mon Jun 2 12:06:58 1997 Geoffrey Noer <noer@cirdan.cygnus.com>
10441
10442 * libc/include/sys/time.h: add itimer support for Cygwin32
10443
10444Mon May 19 11:56:46 1997 Mike Meissner <meissner@cygnus.com>
10445
10446 * libc/stdlib/abort.c (abort): If ABORT_MESSAGE is defined, write
10447 out a message that abort was called to stderr.
10448
10449Fri May 16 15:02:59 1997 Bob Manson <manson@charmed.cygnus.com>
10450
10451 * libc/sys/sysmec/fstat.c (_fstat): Set st_blksize to 4096
10452 so that libio doesn't freak.
10453
10454 * libc/sys/sysmec/sbrk.c (_sbrk): The argument is a size_t, not
10455 int.
10456
10457 * libc/stdlib/mallocr.c (_morecore_r): Use size_t for
10458 memory sizes, not int.
10459
10460Wed May 14 21:16:58 1997 Bob Manson <manson@charmed.cygnus.com>
10461
10462 * libm/math/ef_hypot.c: Use long constants where
10463 appropriate.
10464 * libm/math/ef_sqrt.c: Ditto.
10465
10466 * libc/sys/sysmec/times.c(_times): Change to times.
10467
10468 * libc/sys/sysmec/read.c(_read): The third argument is
10469 size_t.
10470 * libc/sys/sysmec/write.c (_write): Ditto.
10471
10472 * libc/sys/sysmec/lseek.c: Include unistd.h for off_t.
10473 (_lseek): It's off_t for the second argument.
10474
10475Wed May 14 15:23:36 1997 Mike Meissner <meissner@cygnus.com>
10476
10477 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN): Define here,
10478 as well as machine/ieeefp.h.
10479
10480Thu May 8 15:47:25 1997 Geoffrey Noer <noer@cygnus.com>
10481
10482 * libc/include/sys/signal.h: add signal protos for winsup
10483 functions (when __CYGWIN32__), include types.h
10484 * libc/include/sys/types.h: Change __go32_types__ internal
10485 define to __MS_types__ since it's used for more than just
10486 GO32 configs. Define this if GO32, __MSDOS__, or _WIN32 are
10487 defined.
10488 * libc/include/sys/unistd.h: add ftruncate proto for
10489 winsup functions (when __CYGWIN32__)
10490
10491Fri Apr 25 10:10:16 1997 Doug Evans <dje@canuck.cygnus.com>
10492
10493 * libc/sys/h8300hms/sbrk.c (stack_ptr): Add definition.
10494
10495Thu Apr 24 15:46:51 1997 Mike Stump <mrs@cygnus.com>
10496
10497 * libc/include/machine/setjmp.h: Add tic80 support.
10498 * libc/machine/tic80/setjmp.S: Likewise.
10499
10500Tue Apr 22 16:54:40 1997 Geoffrey Noer <noer@pizza.cygnus.com>
10501
10502 * libc/sys/cygwin32/crt0.c: Add reference to main() so we can
10503 link programs from libraries only (such as in the X11
10504 distribution)
10505
10506Mon Apr 21 15:02:12 1997 Fred Fish <fnf@cygnus.com>
10507
10508 * libc/sys/arm/syscalls.c (signal): Remove stub, signal()
10509 supplied elsewhere in newlib.
10510
10511Mon Apr 14 16:25:55 1997 Ian Lance Taylor <ian@cygnus.com>
10512
10513 * Makefile.in (INSTALL): Change install.sh to install-sh.
10514
10515Fri Apr 11 17:04:02 1997 Jason Molenda (crash@godzilla.cygnus.co.jp)
10516
10517 * README: update WWW address for on-line documentation.
10518
10519Wed Apr 9 00:38:13 1997 Geoffrey Noer <noer@cygnus.com>
10520
10521 * libc/include/sys/signal.h: for _WIN32, define SIGCONT and
10522 increment NSIG
10523
10524Mon Apr 7 23:54:00 1997 Jeffrey A Law (law@cygnus.com)
10525
10526 * libc/sys/sysmec/crt0.S: Update for new calling conventions on the
10527 mn10300.
10528 * libc/sys/sysmec/trap.S: Don't compare a register to itself.
10529
10530Tue Mar 25 08:47:43 1997 Jeffrey A Law (law@cygnus.com)
10531
10532 * libc/sys/arm/syscalls.c: Fix/add stack/heap collision detection.
10533 * libc/sys/d10v/syscalls.c: Likewise.
10534 * libc/sys/h8300hms/sbrk.c: Likewise.
10535 * libc/sys/h8500hms/syscalls.c: Likewise.
10536 * libc/sys/m88kbug/syscalls.c: Likewise.
10537 * libc/sys/sh/syscalls.c: Likewise.
10538 * libc/sys/sysmec/sbrk.c: Likewise.
10539 * libc/sys/sysnecv850/sbrk.c: Likewise.
10540 * libc/sys/w65/syscalls.c: Likewise.
10541 * libc/sys.tex: Update sbrk sample code to include stack/heap collision.
10542
10543Tue Mar 18 14:14:34 1997 Jeffrey A Law (law@cygnus.com)
10544
10545 * libc/sys/sysmec/trap.S: Use "syscall" to trigger an
10546 emulated syscall instead of "trap".
10547
10548Fri Mar 14 11:26:13 1997 Michael Meissner <meissner@cygnus.com>
10549
10550 * libc/sys/d10v/trap.S (__trap0): Use trap 15 for system calls,
10551 not trap 0.
10552
10553Sun Mar 9 23:27:04 1997 Doug Evans <dje@seba.cygnus.com>
10554
10555 * configure.in (m32r-*-*): Add -msdata=sdata to target_cflags.
10556
10557Sat Mar 8 09:05:01 1997 Fred Fish <fnf@cygnus.com>
10558
10559 * libc/machine/arm/Makefile.in: Fix comment, is for "arm"
10560 not "sh".
10561 * libc/machine/m32r/Makefile.in: Fix comment, is for "m32r"
10562 not "d10v".
10563 * libc/sys/tic80/crt0.c: New file for TIc80.
10564 * libc/sys/tic80/Makefile.in: New file for TIc80.
10565 * libc/machine/tic80/Makefile.in: New file for TIc80.
10566
10567Wed Mar 5 11:32:12 1997 J.T. Conklin <jtc@cygnus.com>
10568
10569 * libc/machine/sh/memcpy.S: New file.
10570 * libc/machine/sh/memset.S: New file.
10571 * libc/machine/sh/Makefile.in (OFILES): Add memcpy.o and memset.o
10572
10573Thu Feb 27 16:27:55 1997 Fred Fish <fnf@cygnus.com>
10574
10575 * libc/include/machine/ieeefp.h (_IEEE_LITTLE_ENDIAN): Define
10576 for TIc80.
10577
10578Wed Feb 26 13:43:39 1997 Jeffrey A Law (law@cygnus.com)
10579
10580 * libc/sys/sysmec/crt0.S: Handle new calling conventions for
10581 the mn10200.
10582
10583Wed Feb 26 07:11:03 1997 Michael Meissner <meissner@cygnus.com>
10584
10585 * libc/machine/powerpc/setjmp.S (longjmp): Correct return status
10586 (patch from andrew@pogo.WV.TEK.COM).
10587
10588Fri Feb 14 11:49:28 1997 Doug Evans <dje@canuck.cygnus.com>
10589
10590 * libc/machine/m32r/setjmp.S (setjmp): Save r12.
10591 (longjmp): Restore r12. Fix code that handles returning 1 if passed 0.
10592
10593Mon Feb 10 10:02:34 1997 Fred Fish <fnf@cygnus.com>
10594
10595 * configure.in: Add cases for "tic80" to set machine_dir,
10596 sys_dir, and syscall_dir.
10597
10598Sun Feb 2 17:57:15 1997 Geoffrey Noer <noer@cygnus.com>
10599
10600 * libc/sys/cygwin32/crt0.c: initialize floating pt registers
10601
10602Wed Jan 29 15:57:38 1997 Geoffrey Noer <noer@cygnus.com>
10603
10604 * libc/include/math.h: avoid conflicts with ANSI C++ <exception>
10605
10606Mon Jan 27 12:50:01 1997 Doug Evans <dje@seba.cygnus.com>
10607
10608 * libc/machine/m32r/setjmp.S: Use proper comment delimiter.
10609 Use proper constant prefix.
10610
10611Fri Jan 24 10:59:04 1997 Jeffrey A Law (law@cygnus.com)
10612
10613 * libc/sys/sysmec/*.c: Don't cast args to syscall to integers,
10614 that loses on the mn10200 where ints and pointers are different
10615 sizes.
10616
10617Tue Jan 14 13:29:55 PST 1997 Jeremy Allison <jra@cygnus.com>
10618
10619 * configure.in: Added -DSIGNAL_PROVIDED to cygwin32
10620 target as signal is provided in winsup.
10621
10622Tue Jan 14 11:10:13 1997 Jeremy Allison <jra@cygnus.com>
10623
10624 * libc/include/sys/process.h: Corrected const definitions
10625 in spawn functions. Added cwait.
10626
10627Thu Jan 2 12:22:41 1997 Jeffrey A Law (law@cygnus.com)
10628
10629 * libc/include/machine/ieeefp.h: mn10200 uses 16bit ints and 32bit
10630 doubles.
10631 * libc/include/sys/config.h: Similarly.
10632
10633Tue Dec 31 18:36:14 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10634
10635 * configure.in (sparc-sun-sunos*): Add -DSIGNAL_PROVIDED to the
10636 target_cflags.
10637 (i[3456]86-*-sco*): Ditto.
10638
10639 * libc/signal/Makefile.in (OFILES): Add signal.o.
10640 (CFILES): Add signal.c.
10641
10642 * libc/signal/raise.c (_raise_r): Only compile code if
10643 SIGNAL_PROVIDED is defined.
10644
10645 * libc/signal/signal.c: Redo whole file so that it works with
10646 current newlib. Use _kill_r if no signal handler provided.
10647
10648 * libc/sys/{go32,sparc64,sysmec}/Makefile.in: Delete raise and
10649 signal stubs.
10650 * libc/sys/sysvnecv70/Makefile.in: Ditto.
10651 * libc/sys/sysnecv850/Makefile.in: Ditto.
10652
10653 * libc/sys/{go32,sparc64}/signal.c: Delete, stub no longer used.
10654 * libc/sys/sysmec/{raise,signal}.c: Ditto.
10655 * libc/sys/sysvnecv70/signal.s: Ditto.
10656 * libc/sys/sysnecv850/raise.c: Ditto.
10657
10658 * libc/sys/sysnecv850/kill.c (_kill): Encode signal # so that
10659 simulator and debugger can tell the difference between a signal
10660 being raised and an exit system call.
10661
10662 * NEWS: Document software signals being provided.
10663
10664Mon Dec 23 11:54:19 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10665
10666 * libc/reent/impure.c (_REENT_ATTR): Delete in favor of
10667 __ATTRIBUTE_IMPURE_PTR__. Move PowerPC definition to
10668 include/sys/config.h.
10669 (impure_data): Use __ATTRIBUTE_IMPURE_DATA__ for attributes.
10670 Change from 'inpure_data'.
10671 (_impure_ptr): Use __ATTRIBUTE_IMPURE_PTR__ for attributes. Use
10672 &impure_data, not &inpure_data.
10673
10674 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): If PowerPC
10675 and and System V ABI, define so that _impure_ptr lives in the
10676 .sdata section.
10677
10678Sun Dec 22 23:33:05 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10679
10680 * libc/include/sys/reent.h (__ATTRIBUTE_IMPURE_PTR__): Define as
10681 nothing if not defined.
10682 (_impure_ptr): Use __ATTRIBUTRE_IMPURE_PTR__, so a machine can set
10683 its attributes.
10684
10685 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__):
10686
10687Wed Dec 18 10:12:04 1996 Jeffrey A Law (law@cygnus.com)
10688
10689 * libc/sys/sysmec/crt0.S: Fix mn10200 stuff.
10690 * libc/sys/sysmec/trap.s: Handle mn10200 too.
10691 * libc/machine/mn10200/setjmp.S: Fix mn10200 stuff.
10692
10693Mon Dec 16 10:05:36 1996 Jeffrey A Law (law@cygnus.com)
10694
10695 * libc/sys/sysmec/crt0.S: Handle mn10200 too.
10696
10697Fri Dec 13 11:05:20 1996 Jeremy Allison <jra@cygnus.com>
10698
10699 * libc/include/sys/errno.h: Added net errno's.
10700
10701Wed Dec 11 16:24:25 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10702
10703 * libc/misc/ffs.c: New file to support ffs function for GCC test
10704 gcc.c-torture/execute/960909-1.c.
10705
10706 * libc/misc/Makefile.in ({O,CHEWOUT_}FILES): Add ffs.
10707
10708Sat Dec 7 10:12:37 1996 Jeffrey A Law (law@cygnus.com)
10709
10710 * libc/sys/sysmec/crt0.S: Handle underscore prefix.
10711 * libc/sys/sysmec/trap.S: Likewise.
10712
10713Fri Dec 6 15:08:49 1996 Jim Wilson <wilson@cygnus.com>
10714
10715 * configure.in (mips*vr4300*-*-*): Delete use of sys/vr4300.
10716 * libc/sys/vr4300/{Makefile.in,crt0.S,syscalls.c}: Delete.
10717
10718Wed Dec 4 16:25:27 1996 Jeffrey A Law (law@cygnus.com)
10719
10720 * libc/sys/sysmec/signal.c: Dummy file.
10721 * libc/sys/sysmec/Makefile.in: Build it.
10722
10723Wed Nov 27 13:10:18 1996 Ian Lance Taylor <ian@cygnus.com>
10724
10725 * libc/machine/mips/machine/regdef.h: Define pc as $pc for
10726 mips16.
10727
10728Mon Nov 25 09:58:28 1996 Jeffrey A Law (law@cygnus.com)
10729
10730 * libc/sys/sysmec/{crt0.S,trap0.S}: Actually try to implement
10731 c-startup and simulator traps.
10732
10733
10734 * libc/sys/sysmec/crt0.S: Remove bogus '_' symbol prefixing
10735 * libc/sys/sysmec/trap0.S: Likewise.
10736
10737Sat Nov 23 09:01:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10738
10739 * libc/stdlib/mallocr.c (ROUND_TO): If SMALL_MEMORY, set to 0x7 to
10740 round to double word alignment.
10741 (_morecore_r): Combine rounding up pointers to both ROUND_TO and 8
10742 byte alignment.
10743
10744 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Define if d10v.
10745
10746 * libc/sys/d10v/syscalls.c (_sbrk): Add better checks for running
10747 out of memory.
10748
10749Mon Nov 18 13:08:26 1996 Jeffrey A Law (law@cygnus.com)
10750
10751 * configure.in: Handle mn10200 and mn10300.
10752 * libc/include/machine/{ieeefp.h,setjmp.h}: Likewise.
10753 * libc/include/sys/config.h: Likewise.
10754 * libc/sys/sysmec: New directory for mec stuff.
10755 * libc/machine/mn10300: New directory for mn10300 stuff.
10756 * libc/machine/mn10200: Similarly for mn10200 stuff.
10757
10758Fri Nov 15 16:41:41 1996 Doug Evans <dje@canuck.cygnus.com>
10759
10760 * libc/sys/arm/crt0.S: Use .text, not .section .text.
10761 * libc/sys/arm/syscalls.c: Rewrite to set errno properly.
10762
10763 * libc/include/sys/types.h (_ST_INT32): New macro, local to file.
10764 (nlink_t): Change type from unsigned int to unsigned short.
10765 (mode_t): Ensure size is 32 bits even if int is 16.
10766 * libc/include/sys/stat.h (st_nlink): Change type to nlink_t.
10767 (st_spare[123]): Change type from int to long.
10768
10769Fri Nov 15 11:41:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10770
10771 * libc/sys/d10v/syscalls.c (_sbrk): Align initial heap_end to 8
10772 byte boundary.
10773
10774 * configure.in (d10v*): Define SMALL_MEMORY.
10775
10776Mon Nov 11 10:30:44 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10777
10778 * configure.in (powerpc*-{eabi,elf,linux,rtem,sysv,solaris}*): Add
10779 -mrelocatable-lib and -mno-eabi flags.
10780
10781Mon Nov 11 09:01:39 1996 Jeffrey A Law (law@cygnus.com)
10782
10783 * libc/machine/h8300/memcpy.S: Fix comments to reflect reality.
10784 Fix handling of mis-aligned source operand when both the
10785 destination & length are properly aligned.
10786
10787Wed Oct 30 09:41:11 1996 Jeffrey A Law (law@cygnus.com)
10788
10789 * libc/sys/sysnecv850/Makefile.in (OFILES): Add
10790 times.o, time.o and gettime.o
10791 * libc/sys/sysnecv850/{time.c, times.c, gettime.c}: New files.
10792 * libc/sys/sysnecv850/sys/syscall.h: Add SYS_times and
10793 SYS_gettimeofday.
10794
10795Tue Oct 29 13:40:09 1996 Jeffrey A Law (law@cygnus.com)
10796
10797 * libc/sys/sysnecv850/Makefile.in (OFILES): Add access.o
10798 * libc/sys/sysnecv850/access.c: New file.
10799
10800Mon Oct 21 19:47:02 1996 Ian Lance Taylor <ian@cygnus.com>
10801
10802 * libc/sys/vr4300/Makefile.in (clean): Remove $(OFILES).
10803
10804 * libc/stdlib/mprec.h (word0, word1): Use __uint32_t, not unsigned
10805 long.
10806
10807Mon Oct 21 14:43:07 1996 Jeffrey A Law (law@cygnus.com)
10808
10809 * libc/sys/sysnecv850/crt0.S: Initialize ep and gp registers.
10810
10811Thu Oct 17 11:47:16 1996 Doug Evans <dje@seba.cygnus.com>
10812
10813 * libc/include/machine/{ieeefp.h,setjmp.h}: Add m32r support.
10814 * libc/include/sys/config.h: Add m32r support.
10815
10816Wed Oct 16 23:08:05 1996 Jeffrey A Law (law@cygnus.com)
10817
10818 * libc/sys/sysnecv850/v850.ld: Remove. It doesn't belong
10819 here.
10820
10821Wed Oct 16 21:18:07 1996 Mark Alexander <marka@cygnus.com>
10822
10823 * libc/include/machine/setjmp.h: Add D10v support.
10824
10825Tue Oct 15 22:28:26 1996 Jeffrey A Law (law@cygnus.com)
10826
10827 * configure.in: Configure the "libc/syscalls" directory for
10828 the v850.
10829
10830 * libc/sys/sysnecv850/{close.c, execve.c, fork.c}: Add missing '_'.
10831 * libc/sys/sysnecv850/{fstat.c, getpid.c, kill.c}: Likewise.
10832 * libc/sys/sysnecv850/{lseek.c, open.c, read.c}: Likewise.
10833 * libc/sys/sysnecv850/{sbrk.c, stat.c, unlink.c}: Likewise.
10834 * libc/sys/sysnecv850/{wait.c, write.c}: Likewise.
10835
10836Tue Oct 15 16:24:39 1996 Stu Grossman (grossman@critters.cygnus.com)
10837
10838 * libc/sys/sysnecv850/crt0.S (start): Allocate spill space on
10839 stack for args for main and other routines. Zero out args for
10840 main.
10841
10842 * libc/sys/sysnecv850/v850.ld: New. Linker script to layout memory
10843 correctly.
10844
10845Tue Oct 15 11:51:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10846
10847 * libc/stdio/findfp.c (std): Remove extraneous ';' after
10848 function.
10849
10850 * libc/sys/d10v/sys/syscall.h (SYS_kill): Add.
10851
10852 * libc/sys/d10v/{syscalls.c,trap.S} (_kill,_getpid): Make these
10853 real system calls now.
10854
10855 * libc/stdio/setvbuf (setvbuf): Cast pointers to _POINTER_INT
10856 before casting them to int.
10857 * libc/stdio/tmpnam.c (_tempnam_r): Ditto.
10858
10859 * libc/stdlib/mallocr.c (_morecore_r): Use _POINTER_INT when
10860 aligning pointer.
10861 * libc/string/memset.c (memset): Ditto.
10862
10863 * libc/stdio/vfscanf.c (__svfscanf): When converting to pointer,
10864 first convert ints to _POINTER_INT to eliminate GCC warning.
10865
10866 * libc/stdio/vfprintf.c (_vfprintf_r): Use _POINTER_INT when
10867 processing %p.
10868
10869 * libm/math/ef_scalb.c (__ieee754_scalbf): Cut down range to 32000
10870 from 65000 if ints are only 16 bits.
10871
10872 * libm/math/sf_scalbn.c (scalbnf): Cut down overflow test to 30000
10873 from 50000 if ints are only 16 bits.
10874
10875 * libc/include/sys/config.h (_POINTER_INT): New macro, to give an
10876 int type that is the same size as a pointer.
10877
10878 * libc/misc/dprintf.c (__dprintf): Use _POINTER_INT when
10879 processing %p.
10880 (get_number): Explicitly cast number to long before shifting by 16
10881 or 24, in case ints are short.
10882
10883 * libc/include/sys/config.h (_POINTER_INT): Define as short.
10884
10885Wed Oct 9 16:54:32 1996 Jeremy Allison <jra@cygnus.com>
10886
10887 * libc/string.h: Added ffs, removed swab.
10888 * libc/sys/errno.h: Added EOPNOTSUPP.
10889 * libc/sys/unistd.h: Added swab.
10890
10891Thu Oct 3 17:08:50 1996 Jeremy Allison <jra@cygnus.com>
10892
10893 * libc/include/sys/stat.h: Added fchmod.
10894 * libc/include/sys/unistd.h: Added fsync.
10895
10896Tue Oct 1 17:34:08 1996 Jeremy Allison <jra@cygnus.com>
10897
10898 * libc/include/sys/errno.h: Added defines for EPFNOSUPPORT (96)
10899 and ECONNRESET (104) for cygwin32.
10900
10901Tue Oct 1 16:24:05 1996 Gavin Koch <gavin@cygnus.com>
10902
10903 * libc/sys/sysnecv850/_exit.c: added _do_dtors to
10904 do the static destructors.
10905
10906Mon Sep 30 15:59:05 1996 Stu Grossman (grossman@critters.cygnus.com)
10907
10908 * libc/sys/sysnecv850/trap.S: Change I/O to use trap 31.
10909
10910Mon Sep 30 12:02:50 1996 Doug Evans <dje@canuck.cygnus.com>
10911
10912 * libc/machine/m32r/{Makefile.in,setjmp.S}: New files.
10913 * configure.in: Recognize m32r-*-*.
10914
10915Mon Sep 30 00:34:41 1996 James G. Smith <jsmith@cygnus.co.uk>
10916
10917 * libc/sys/arm/trap.S (__rt_stkovf_split_big,
10918 __rt_stkovf_split_small): Added default software stack overflow
10919 handlers, which just call SWI_Exit.
10920 * libc/sys/arm/crt0.S (_mainCRTStartup): Simple software stack
10921 limit initialisation.
10922
10923Fri Sep 27 13:08:03 1996 Mark Alexander <marka@cygnus.com>
10924
10925 * libc/sys/d10v/{trap.S,sys/syscall.h}: Add time() function.
10926
10927Fri Sep 27 12:32:00 1996 Jeremy Allison <jra@cygnus.com>
10928
10929 * libc/include/sys/types.h: Added ssize_t definition.
10930
10931Wed Sep 25 14:52:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10932
10933 * libc/machine/d10v/setjmp.S: Use ';' for comments.
10934 * libc/sys/d10v/{crt0.S,trap.S}: Ditto.
10935
10936 * libc/machine/d10v/setjmp.S (longjmp): Use exef0t || instead of
10937 branch around a single ldi instruction.
10938
10939 * libc/sys/d10v/crt0.S (_start): Use auto-increment to zero bss.
10940 Call exit, instead of just issuing a stop instruction.
10941
10942Sun Sep 22 17:26:55 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10943
10944 * libc/sys/d10v/{trap.S,syscalls.c}: Add -mint32 support.
10945
10946Fri Sep 20 13:23:12 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10947
10948 * libc/stdlib/mprec.h: Explicitly declare all large constants as
10949 longs, and then cast them to __uint32_t.
10950
10951 * libc/include/sys/config.h: Protect against multiple inclusions.
10952
10953Tue Sep 17 13:10:33 1996 Mark Alexander <marka@cygnus.com>
10954
10955 * configure.in (d10v*): Set syscall_dir.
10956
10957Sun Sep 15 10:41:59 1996 Mark Alexander <marka@cygnus.com>
10958
10959 * libc/sys/d10v/crt0.S: Set stack pointer.
10960
10961Thu Sep 12 13:02:38 1996 Mark Alexander <marka@cygnus.com>
10962
10963 * libc/sys/d10v/{trap.S, syscalls.c}: Rewrite most system calls
10964 in assembly for efficiency. Change calling convention to allow
10965 long ints to be returned.
10966
10967Wed Sep 11 10:28:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10968
10969 * libc/machine/v850/Makefile.in (setjmp.o): Fix dependency.
10970
10971Thu Sep 5 19:23:06 1996 Doug Evans <dje@canuck.cygnus.com>
10972
10973 * libc/posix/execvp.c (execvp): Don't search PATH if file has '/'.
10974 Handle empty entries in $PATH.
10975
10976Tue Sep 03 18:15:02 1996 Mark Alexander <marka@cygnus.com>
10977
10978 * libc/machine/d10v/setjmp.S: Make it really work.
10979
10980Tue Sep 3 12:16:26 1996 Ian Lance Taylor <ian@cygnus.com>
10981
10982 * libc/sys/sh/crt0.S: If __ELF__, use ELF section attributes for
10983 the .stack section.
10984
10985Tue Sep 3 10:08:45 1996 Jeffrey A Law (law@cygnus.com)
10986
10987 * sys/sysnecv850/sys/file.h: Remove.
10988 * sys/sysnecv850/sys/syscall.h: New file.
10989 * sys/sysnecv850/{misc.c,syscalls.c,malloc.c}: Deleted.
10990 * sys/sysnecv850/{chmod.c, chown.c, close.c, creat.c} New files.
10991 * sys/sysnecv850/{execv.c, execve.c, fork.c, fstat.c} New files.
10992 * sys/sysnecv850/{getpid.c, isatty.c, kill.c, lseek.c} New files.
10993 * sys/sysnecv850/{open.c, pipe.c, raise.c, read.c} New files.
10994 * sys/sysnecv850/{stat.c, unlink.c, utime.c, wait.c} New files.
10995 * sys/sysnec850/trap.S: New file.
10996 * sys/sysnecv850/{_exit.c, write.c}: Use new TRAP0 mechanism for
10997 syscalls.
10998 * sys/sysnecv850/crt0.S: Use cmp/bl, not tst/bz.
10999 * sys/sysnec850/sbrk.c: New version.
11000
11001Sun Sep 1 20:08:27 1996 Jeffrey A Law (law@cygnus.com)
11002
11003 * sys/sysnecv850/crt0.S: Fix order of comparison args. Loop
11004 as long as r6 is less than r7.
11005
11006Sun Sep 1 13:54:19 1996 Ian Lance Taylor <ian@cygnus.com>
11007
11008 * Makefile.in (mostlyclean): Separate from clean target. Don't
11009 remove *.a or targ-include.
11010 * libc/machine/sparc/Makefile.in (mostlyclean): New target.
11011
11012Sun Sep 1 11:35:26 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11013
11014 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Define for
11015 d10v.
11016 (__SMALL_BITFIELDS): Ditto.
11017
11018 * libc/include/sys/config.h (_DOUBLE_IS_32BITS): Define for d10v.
11019
11020Sat Aug 31 16:42:36 1996 Jeffrey A Law (law@cygnus.com)
11021
11022 * libc/sys/sysnecv850/misc.c (raise, getpid, kill): Remove '_'
11023 prefix.
11024
11025 * libc/sys/sysnecv850/sbrk.c (sbrk): Remove '_' prefix.
11026 * libc/sys/sysnecv850/syscalls.c (read, lseek, close): Likewise.
11027 * libc/sys/sysnecv850/syscalls.c (fstat, open, close): Likewise.
11028 * libc/sys/sysnecv850/write.c (write): Likewise.
11029
11030 * libc/sys/sysnecv850/crt0.S: Don't try to zero out an empty
11031 .bss.
11032
11033Fri Aug 30 11:18:45 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11034
11035 * libc/include/sys/config.h: Define INT_MAX, UINT_MAX
11036 appropriately for D10V, depending on -mint16/-mint32.
11037
11038Thu Aug 29 16:09:37 1996 Mark Alexander <marka@cygnus.com>
11039
11040 * configure.in: Add cases for D10V.
11041
11042Thu Aug 29 17:03:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11043
11044 * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
11045
11046Wed Aug 28 21:05:52 1996 Jeffrey A Law (law@cygnus.com)
11047
11048 * libc/include/machine/ieeefp.h: Fix typo.
11049
11050Wed Aug 28 19:47:55 1996 Mark Alexander <marka@cygnus.com>
11051
11052 * libc/sys/d10v: New directory for D10V stuff.
11053 * libc/include/machine/ieeefp.h: Add D10V defines.
11054
11055Mon Aug 26 13:34:58 1996 Doug Evans <dje@canuck.cygnus.com>
11056
11057 * libc/include/sys/errno.h: Add winsup/include/sys/errno.h values:
11058 ELOOP, ENOBUFS, EAFNOSUPPORT, EPROTOTYPE, ENOTSOCK, ENOPROTOOPT,
11059 ESHUTDOWN, ECONNREFUSED, EADDRINUSE, ECONNABORTED, EWOULDBLOCK.
11060 * libc/string/strerror.c (strerror): Add them.
11061
11062Thu Aug 22 16:38:19 1996 Jeffrey A Law (law@cygnus.com)
11063
11064 * libc/sys/sysnecv850: New directory for v850 stuff.
11065
11066 * libc/machine/v850: New directory for v850 stuff.
11067 * libc/machine/v850/setjmp.S: setjmp/longjmp support.
11068
11069 * configure.in: Add support for the v850.
11070
11071 * libc/include/machine/ieeefp.h: Add v850 defines.
11072 * libc/include/machine/setjmp.h: Likewise.
11073 * libc/include/sys/config.h: Add v850 defines.
11074
11075Sat Aug 17 04:06:36 1996 Geoffrey Noer <noer@cygnus.com>
11076
11077 * libc/include/machine/ieeefp.h
11078 * libc/include/machine/setjmp.h
11079 * libc/include/sys/fcntl.h
11080 * libc/include/sys/signal.h
11081 * libc/include/sys/types.h
11082 * libc/stdlib/system.c:
11083 Fix preprocessor defines to match new scheme (_WIN32 for WIN32
11084 API availability, __CYGWIN32__ for cygwin32 environment specific).
11085
11086Thu Aug 15 17:09:21 1996 Geoffrey Noer <noer@cygnus.com>
11087
11088 * libc/include/stdlib.h: add multibyte character functions. Add
11089 __eprintf for assert.
11090
11091Thu Aug 15 11:15:40 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11092
11093 * libc/stdlib/malloc.h (MALLOC_ALIGNMENT): Use either pointer
11094 arithmetic or __alignof__ to properly get the alignment, instead
11095 of hardwiring it to 4.
11096
11097Wed Aug 14 23:43:28 1996 Geoffrey Noer <noer@cygnus.com>
11098
11099 * libc/stdio/fseek.c: add fflush call to adjust seek offset
11100 on append stream (fix from NetBSD sources), adjust curoff offset
11101 for ungetc's benefit.
11102 * libc/stdio/ftell.c: adjust curoff offset for ungetc's benefit.
11103 * libc/stdio/rewind.c: replace code with up to date NetBSD
11104 code to undo hacks made to work around above problem of not
11105 having fflush call mentioned above
11106
11107Fri Aug 2 18:28:07 1996 J.T. Conklin <jtc@rtl.cygnus.com>
11108
11109 * libc/reent/{closer.c, execr.c, fstatr.c, linkr.c, lseekr.c,
11110 openr.c, readr.c, sbrkr.c, signalr.c, statr.c, timer.c, writer.c}:
11111 Partially revert last changes. The thread specific errno is set
11112 iff if the underlying syscall fails and the global errno is not
11113 zero.
11114
11115Fri Jul 19 11:41:52 1996 J.T. Conklin <jtc@rtl.cygnus.com>
11116
11117 * libc/reent/filer.c: Removed files, all functions have split out
11118 into their own files.
11119 * libc/reent/{closer.c, lseekr.c, openr.c, readr.c, writer.c}:
11120 New files containing functions formally in filer.c
11121 * libc/reent/Makefile.in: Updated for above change.
11122
11123 * libc/reent/execr.c (_fork_r, _wait_r): Set errno if underlying
11124 syscall fails, not if errno is changed.
11125 * libc/reent/filer.c (_open_r, _close_r, _lseek_r, _read_r,
11126 _write_r): Likewise.
11127 * libc/reent/fstatr.c (_fstat_r): Likewise.
11128 * libc/reent/linkr.c (_link_r, _unlink_r): Likewise.
11129 * libc/reent/sbrkr.c (_sbrk_r): Likewise.
11130 * libc/reent/signalr.c (_kill_r): Likewise.
11131 * libc/reent/statr.c (_stat_r): Likewise.
11132 * libc/reent/timer.c (_gettimeofday_r): Likewise.
11133
11134 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, sbrkr.c,
11135 signalr.c, statr.c, timer.c} (errno): declare extern rather
11136 than as a common.
11137
11138 * libc/stdio/vfprintf.c (__sbprintf): Use the VFPRINTF macro
11139 instead of calling vfprintf so that i*printf will not require
11140 floating point support code.
11141
11142Mon Jul 15 16:50:59 1996 Doug Evans <dje@canuck.cygnus.com>
11143
11144 * libc/posix/execvp.c (execvp): Use posix_path_list_p to determine
11145 path delimiter.
11146 * libc/include/sys/unistd.h (_SC_PATH_RULES): Delete.
11147 (_PATH_RULES_{UNKNOWN,WIN32,POSIX}): Delete.
11148
11149Thu Jul 11 14:34:14 1996 Geoffrey Noer <noer@cygnus.com>
11150
11151 * libc/include/signal.h: _sig_func_ptr function takes an int
11152 * libc/include/sys/signal.h: sa_handler function takes an int
11153
11154Tue Jul 9 21:22:32 1996 Jeffrey A Law (law@cygnus.com)
11155
11156 * libc/include/machine/ieeefp.h: Simplify H8/S support.
11157 * libc/include/sys/config.h: Add missing H8/S conditional.
11158
11159Sun Jun 30 12:05:46 1996 Doug Evans <dje@canuck.cygnus.com>
11160
11161 * libc/include/sys/unistd.h (MAXPATHLEN): Add cygwin32 value.
11162
11163Wed Jun 26 09:57:54 1996 Jeffrey A Law (law@cygnus.com)
11164
11165 * libc/include/machine/setjmp.h: Handle H8/S.
11166 * libc/include/machine/ieeefp.h: Likewise.
11167 * libc/include/sys/config.h: Likewise.
11168 * libc/machine/h8300/{defines.h, memcpy.S, memset.S}: Likewise.
11169 * libc/machine/h8300/{reg_memcpy.S, reg_memset.S}: Likewise.
11170 * libc/machine/h8300/{strcmp.S, setjmp.S}: Likewise.
11171 * libc/sys/h8300hms/crt0.S: Likewise.
11172
11173Tue Jun 25 23:15:45 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
11174
11175 * Makefile.in (datadir): Set to $(prefix)/share.
11176 (oldincludedir, docdir): Removed.
11177 * doc/Makefile.in (datadir): Set to $(prefix)/share.
11178 (oldincludedir, docdir): Removed.
11179 * libc/Makefile.in (datadir): Set to $(prefix)/share.
11180 (oldincludedir, docdir): Removed.
11181 * libm/Makefile.in (datadir): Set to $(prefix)/share.
11182 (oldincludedir, docdir): Removed.
11183
11184Fri Jun 21 19:24:41 1996 Ian Lance Taylor <ian@cygnus.com>
11185
11186 * libc/include/sys/reent.h (_REENT_INIT): Update for change to
11187 _reent struct.
11188
11189Wed Jun 19 14:00:09 1996 Doug Evans <dje@canuck.cygnus.com>
11190
11191 * libc/posix/execvp.c: Delete _WIN32 support. For __CYGWIN32__
11192 fetch current path rules with sysconf and handler posix/win32
11193 appropriately.
11194
11195 * libc/include/sys/unistd.h (_PATH_RULES{,_POSIX,_WIN32}): Define.
11196
11197 * libc/include/process.h: Prepend '_' to P_{WAIT,NOWAIT,OVERLAY}.
11198 (WAIT_CHILD): Always define.
11199
11200Sat Jun 15 17:50:42 1996 Ian Lance Taylor <ian@cygnus.com>
11201
11202 * libc/stdlib/eprintf.c: New file.
11203 * libc/stdlib/Makefile.in (OFILES): Add eprintf.o.
11204 (eprintf.o): New target.
11205
11206Thu Jun 13 16:44:32 1996 Doug Evans <dje@canuck.cygnus.com>
11207
11208 * libc/sys/cygwin32/crt0.c (__cygwin_crt0_bp): New global.
11209 (mainCRTStartup): Do int3 if __cygwin_crt0_bp non-zero.
11210
11211Thu Jun 13 17:45:17 1996 Mike Meissner <meissner@rtl.cygnus.com>
11212
11213 * libc/include/machine/ieeefp.h: Add support for AIX and Windows
11214 NT in PowerPC endianess cases.
11215
11216Tue Jun 11 12:26:28 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11217
11218 * libc/include/machine/ieeefp.h: Clean up PowerPC endianess.
11219
11220Thu Jun 6 11:34:20 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11221
11222 * libc/string/strtok.c: Fix doc typo.
11223
11224Mon Jun 3 11:30:00 1996 J.T. Conklin <jtc@rtl.cygnus.com>
11225
11226 * libc/include/sys/reent.h (struct _reent): Removed _asctime,
11227 _next, _scanpoint, _signgam fields.
11228
11229 * libc/include/stdlib.h (rand_r): Added new declaration.
11230 (_rand_r, _srand_r): Removed declarations.
11231 * libc/stdlib/rand.c (_rand_r, _srand_r): Removed, these functions
11232 have been made obsolete by rand_r.
11233 * libc/stdlib/rand_r.c: New file, rand_r function as specified
11234 by POSIX.1c.
11235
11236 * libc/string/strtok.c: Update documentation to describe
11237 strtok_r().
11238
11239Sat Jun 1 23:50:39 1996 Michael Meissner <meissner@cygnus.com>
11240
11241 * libc/include/sys/stat.h (stat structure): Use the expanded stat
11242 structure on Solaris, and PowerPC systems even though __svr4__ is
11243 defined.
11244
11245Tue May 28 13:02:42 1996 Doug Evans <dje@canuck.cygnus.com>
11246
11247 * libc/sys/go32/sys/errno.h (ENOSYS,ESPIPE): Keep values <= 255.
11248
11249Fri May 17 10:34:44 1996 Ian Lance Taylor <ian@cygnus.com>
11250
11251 * host/any: Use ../.. rather than .. to get to the main build
11252 directory. This matches the current layout of the build
11253 directory.
11254
11255Wed May 15 15:52:27 1996 Jeffrey A Law (law@cygnus.com)
11256
11257 * libc/machine/h8300/__main.S: Delete. No longer needed.
11258 * libc/machine/h8300/Makefile.in: Corresponding changes.
11259 * libc/sys/h8300hms/crt1.c: New file.
11260 * libc/sys/h8300hms/Makefile.in: Corresponding changes.
11261 * libc/sys/h8300hms/crt0.s: Call __main.
11262
11263 * libc/sys/h8300hms/crt0.S: Use temporary label names
11264 for branch targets.
11265
11266Mon May 13 14:26:30 1996 Doug Evans <dje@canuck.cygnus.com>
11267
11268 * libc/stdio/fopen.c (_fopen_r): Fix arguments to fseek.
11269
11270Fri May 3 16:38:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11271
11272 * libc/reent/impure.c (_impure_ptr): Force the impure pointer into
11273 .sdata on the PowerPC so that we can link newlib with code
11274 compiled with -msdata.
11275
11276Mon Apr 29 21:38:02 1996 Doug Evans <dje@canuck.cygnus.com>
11277
11278 * libc/sys/arm/syscalls.c (_sbrk): Rename end to __end__.
11279
11280Thu Apr 25 06:38:59 1996 Michael Meissner <meissner@cygnus.com>
11281
11282 * libc/sys/cygwin32/crt0.c (mainCRTStartup): On PowerPC, set the
11283 exception handler to __cygwin_exception_handler.
11284
11285Tue Apr 23 15:14:20 1996 Ian Lance Taylor <ian@cygnus.com>
11286
11287 * libc/include/machine/setjmp.h: Check _AM29K, not ___AM29K__.
11288
11289Sun Apr 21 12:11:51 1996 Doug Evans <dje@blues.cygnus.com>
11290
11291 * libm/math/Makefile.in ({w,wf}_cabs.o,{w,wf}_drem.o): Add rule for
11292 SunOS VPATH.
11293 * libc/stdlib/Makefile.in (atoff.o,atol.o,mblen.o,mbstowcs.o,
11294 wcstombs.o): Likewise.
11295
11296Thu Apr 18 12:37:01 1996 Doug Evans <dje@canuck.cygnus.com>
11297
11298 * libc/stdlib/environ.c (initial_env): New static local.
11299 (environ): Point to `initial_env'.
11300
11301 * libc/include/machine/setjmp.h: Clean up.
11302 (__H8300H__,__PPC__): Define _JBTYPE.
11303 (__arm__): Provide entry for.
11304 (sigjmp_buf): Delete.
11305 (jmp_buf): Use _JBTYPE if defined, otherwise int.
11306
11307Thu Apr 18 12:10:52 1996 Jeffrey A Law (law@cygnus.com)
11308
11309 * libc/machine/h8300/strcmp.S: Sign extend the result to
11310 32bits so we don't lose with -mint32.
11311
11312Sun Apr 14 19:59:52 1996 Doug Evans <dje@canuck.cygnus.com>
11313
11314 * libc/sys/go32/sys/errno.h: New file.
11315 * libc/sys/go32/Makefile.in (stat.o): Depend on stat.c.
11316 * libc/sys/go32/gerrno.s (syscall_error): Call __errno to get
11317 errno's address (make compatible with rest of newlib).
11318 * libc/sys/go32/stat.c (fixinode): Set errno upon failure.
11319 * libc/string/strerror.c (strerror): Surround each case with #ifdef.
11320
11321Thu Mar 28 13:44:42 1996 Doug Evans <dje@canuck.cygnus.com>
11322
11323 * libc/machine/sparc/{scan.c,shuffle.c}: New files.
11324 * libc/machine/sparc/Makefile.in: Build them.
11325 * libc/machine/sparc/machine/sparclet.h: New file.
11326
11327Mon Mar 25 15:29:14 1996 J.T. Conklin <jtc@rtl.cygnus.com>
11328
11329 * libc/machine/sh/asm.h: New file.
11330 * libc/machine/sh/setjmp.S: Only save clobbered registers. Added
11331 support for SH3e's FP registers. Use asm.h.
11332
11333Mon Mar 25 11:59:23 1996 Jeffrey A Law (law@cygnus.com)
11334
11335 * libc/stdio/vfprintf.c (cvt): Accept a reent structure
11336 as first argument. Call _dtoa_r and pass the reent structure
11337 instead of calling __dtoa.
11338
11339Fri Mar 22 13:59:37 1996 Jeffrey A Law (law@cygnus.com)
11340
11341 * libc/include/sys/config.h: Define DOUBLE_IS_32BITS for
11342 the h8300, h8500, and others. Add comments for some rather
11343 dubious code.
11344
11345Thu Mar 14 18:04:43 1996 Ian Lance Taylor <ian@cygnus.com>
11346
11347 * Makefile.in (check): Check that testsuite exists before cd.
11348
11349Tue Mar 12 11:46:47 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11350
11351 * libc/include/string.h (strsep): Correct prototype.
11352
11353Mon Mar 11 09:55:19 1996 Doug Evans <dje@charmed.cygnus.com>
11354
11355 * libc/sys/h8300/_exit.c (_exit,__exit): Set r0 to 0 before `sleep'.
11356 * libc/sys/h8300/misc.c (_kill): Set r0 to indicate abort and `sleep'.
11357 * libc/sys/h8300/crt0.S (_start): Call exit instead of `sleep'.
11358
11359Wed Mar 6 11:51:55 1996 Doug Evans <dje@charmed.cygnus.com>
11360
11361 * libc/posix/{creat.c,isatty.c}: New files.
11362 * libc/posix/Makefile.in (OFILES): Add creat.o, isatty.o.
11363
11364 * libc/sys/sparc64/crt0.S (environ): Delete.
11365 (.LHaveBias): Renamed from HaveBias.
11366
11367Thu Feb 15 10:48:37 1996 Doug Evans <dje@charmed.cygnus.com>
11368
11369 * libc/stdlib/mallocr.c (etext): Move decl inside ifdef WARN_VLIMIT.
11370 (_morecore_r): Delete SBRK_IS_ALLOC support.
11371
11372Tue Feb 13 09:44:09 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11373
11374 * libc/sys/cygwin32/Makefile.in (lib.a): Make lib.a with a dummy
11375 module rather than touch, so we don't get warning messages when
11376 all of the libraries are combined into libc.a.
11377
11378Tue Feb 13 06:32:07 1996 Doug Evans <dje@charmed.cygnus.com>
11379
11380 * libc/sys/sparclite/{Makefile.in,crt0.s}: Deleted.
11381 crt0.s replaced by version in libgloss.
11382
11383Mon Feb 5 15:17:51 1996 J.T. Conklin <jtc@rtl.cygnus.com>
11384
11385 * libc/reent/Makefile.in (OFILES): Add impure.o.
11386 * libc/reent/impure.o: New file, define initial reentrancy struct.
11387 * libc/reent/reent.c: Remove above definition.
11388
11389 * libm/math/sf_asinh.c: Fix typo.
11390
11391 * Makefile.in (MATHOBJS_IN_LIBC): Removed sr_ldexp.o and
11392 srf_ldexp.o.
11393
11394 * libm/libm.texinfo: Change documentation to reflect changes
11395 in reentrancy model.
11396 * libm/math/w_gamma.c: Likewise.
11397
11398Wed Jan 31 18:49:45 1996 Steve Chamberlain <sac@slash.cygnus.com>
11399
11400 * configure.in (*-*-cygwin32): New.
11401 (*-*-win32): Deleted.
11402 * libc/sys/win32 renamed libc/sys/cygwin32.
11403
11404Tue Jan 30 22:09:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11405
11406 * libc/include/sys/file.h: New include file.
11407
11408Fri Jan 26 15:52:54 1996 Steve Chamberlain <sac@slash.cygnus.com>
11409
11410 * libc/include/machine/setjmp.h: Increase size of PPC jmp_buf.
11411
11412Tue Jan 23 17:49:16 1996 Steve Chamberlain <sac@slash.cygnus.com>
11413
11414 * libc/include/sys/wait.h (WIFSIGNALED): Fix.
11415
11416Tue Jan 16 09:28:10 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11417
11418 * doc/makedoc.c (realloc): Declare at file scope.
11419 (catchar): Not here.
11420
11421Wed Dec 27 15:45:23 1995 Doug Evans <dje@canuck.cygnus.com>
11422
11423 * Makefile.in (VERSION): Update to 1.7.0.
11424 * {libc,libm}/Makefile.in (VERSION): Likewise.
11425 * configure.in: Minor clean up of multilib stuff.
11426
11427 From David Johnson <davidj@ICSI.Berkeley.EDU>
11428 * {libc,libm}/Makefile.in (lib[cm].a): Delete library first.
11429
11430 * libc/stdlib/environ.c: New file.
11431 * libc/stdlib/Makefile.in (OFILES): Build it.
11432 * libc/sys/h8500hms/crt0.c (environ): Deleted.
11433 * libc/sys/m88kbug/crt0.c (environ): Deleted.
11434 * libc/sys/z8ksim/crt0.c (environ): Deleted.
11435 * libc/sys/netware/environ.c: Deleted.
11436
11437Tue Dec 19 15:24:46 1995 Kim Knuttila <krk@cygnus.com>
11438
11439 * configure.in (links): set sys_dir, posix_dir, syscall_dir
11440
11441Wed Dec 13 04:16:25 1995 Michael Meissner <meissner@wogglebug.tiac.net>
11442
11443 * doc/makedoc.c (init_string_with_size,nextword): Move malloc
11444 declaration out to external scope and declare it PTR, not char *.
11445
11446Mon Dec 11 17:35:12 1995 steve chamberlain <sac@slash.cygnus.com>
11447
11448 * libc/include/sys/unistd.h (getpagesize): New declaration.
11449 (_SC_PAGESIZE): New definition.
11450 * libc/include/time.h (CLK_TCK): Defined as CLOCKS_PER_SEC.
11451 * libc/configure.in (i[345]86-*-win32): Remove -DNO_FORK.
11452
11453Fri Dec 1 16:48:46 1995 James G. Smith <jsmith@cygnus.co.uk>
11454
11455 * libc/sys/vr4300/syscalls.c (sbrk): Fixed memory
11456 addressing. System call returns size, not (last address + 1).
11457
11458Thu Nov 30 15:05:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11459
11460 * libm/math/*.c: Removed _foo_r() reentrancy API.
11461 * libc/include/math.h: Removed _foo_r prototypes and macros.
11462
11463 * libm/math/*.c: On systems with IEEE single precision "doubles"
11464 move foo() -> foof() wrapper code from the files that implement
11465 the standard IEEE double precision functions to the files that
11466 implement IEEE single precision functions. (ie. On those systems
11467 sin is moved from s_sin.c to sf_sin.c). There should eventually
11468 be use of a C extension (like gcc's alias attribute) so that the
11469 wrappers are not needed at all.
11470
11471 * libc/sys/sysnec810/sbrk.c: Cast &end to char * to get around
11472 strict NEC V810 compiler.
11473 * libc/misc/dprintf.c (getnumber): Cast char * to unsigned char *
11474 for same reason.
11475
11476Wed Nov 29 14:25:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11477
11478 * libc/stdlib/strtol.c (_strtol_r): Replaced with implementation
11479 from NetBSD C library.
11480 * libc/stdlib/strtoul.c (_strtoul_r): Likewise.
11481
11482 * libc/stdlib/assert.c (__assert): Renamed from __assertfail
11483 and adapted from implementation I wrote for NetBSD C library.
11484 The difference is __assert doesn't take a format argument,
11485 so that there won't be multiple copies of the same string
11486 constant in the executable if assertions are enabled in
11487 more than one source module.
11488 * libc/include/assert.h (assert): Changed to call __assert.
11489
11490Tue Nov 28 16:54:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11491
11492 * libc/stdlib/strtod.c (_strtod_r): Changed to not assign to
11493 word1 on systems with 32 bit doubles.
11494 * libc/stdlib/qsort.c (qsort): Cast some void *'s to char *'s
11495 so that we can do arithmetic on them.
11496 * libc/misc/dprintf.c: Changed to support stdarg.h for ANSI
11497 compilers.
11498
11499Tue Nov 28 16:03:32 1995 Doug Evans <dje@canuck.cygnus.com>
11500
11501 * libc/sys/arm/crt0.S: Zero bss.
11502
11503Fri Nov 24 16:09:23 1995 Doug Evans <dje@deneb.cygnus.com>
11504
11505 * libc/include/unctrl.h: New file.
11506 * libc/misc/{Makefile.in,dprintf.c,unctrl.c,misc.tex}: New files.
11507 * configure.in (subdirs): Add libc/misc.
11508 * libc/Makefile.in (SUBDIRS): Add misc.
11509 (SUBLIBS): Add misc/lib.a.
11510
11511 * libc/include/sys/reent.h (struct _reent): Make __sf last member.
11512
11513Wed Nov 22 19:49:47 1995 Doug Evans <dje@deneb.cygnus.com>
11514
11515 * libc/stdio/vfprintf.c (__sbprintf): Init fake._data.
11516 (_vfprintf_r): Call CHECK_INIT.
11517
11518Tue Nov 14 02:52:12 1995 Doug Evans <dje@canuck.cygnus.com>
11519
11520 * Makefile.in (MULTITOP): Delete.
11521 (MULTISRCTOP, MULTIBUILDTOP): Add.
11522 * configure.in: Delete call to cfg-ml-com.in. Call config-ml.in
11523 instead of cfg-ml-pos.in.
11524
11525Wed Nov 8 01:24:08 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
11526
11527 * libc/sys/vr4300/syscalls.c: Added clean version of sbrk().
11528 * libc/sys/vr4300/crt0.S: Cleaned up. Added check for FPU
11529 presence.
11530
11531Thu Nov 2 22:25:06 1995 Michael Meissner <meissner@tiktok.cygnus.com>
11532
11533 * libc/string/strtok.c: Include string.h to pick up strtok_r
11534 prototype.
11535
11536Wed Nov 1 18:54:11 1995 Jason Molenda (crash@phydeaux.cygnus.com)
11537
11538 * libc/string/strtok.c: include <_ansi.h>.
11539 * libc/time/asctime_r.c: `reresult' -> `result'.
11540
11541Wed Nov 1 14:35:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11542
11543 * libc/time/{ctime.c, gmtime.c, lcltime.c}: Wrap functions
11544 in #ifndef _REENT_ONLY ... #endif conditional.
11545
11546 * libc/include/string.h (_strtok_r): Remove declaration.
11547 * libc/include/time.h (_asctime_r): Remove declaration.
11548 * libc/string/strtok.c (_strtok_r): Removed.
11549 * libc/time/asctime.c (_asctime_r): Removed.
11550
11551 * libc/string/Makefile.in (OFILES): Add new object.
11552 * libc/string/strtok_r.c: New file. strtok_r function as
11553 specified by POSIX.1c, adapted from strtok implementation
11554 from NetBSD C library.
11555 * libc/string/strtok.c (strtok): Reimplemented in terms of
11556 strtok_r.
11557
11558 * libc/time/Makefile.in (OFILES): Add new objects.
11559 * libc/time/{asctime_r.c, ctime_r.c, gmtime_r.c, lcltime_r.c}:
11560 New files, reentrant time functions specified by POSIX.1c.
11561 * libc/time/{asctime.c, ctime.c, gmtime.c, lcltime.c}: Non-
11562 reentrant time functions re-written in terms of reentrant
11563 functions.
11564 * libc/time/lcltime.c: Renamed from localtime.c
11565
11566 * libc/include/time.h: Add prototypes for asctime_r, ctime_r,
11567 gmtime_r, and localtime_r.
11568
11569Sat Oct 28 14:34:31 1995 steve chamberlain <sac@slash.cygnus.com>
11570
11571 * libc/sys/win32/crt0.c (mainCRTStartup): Call cygwin_crt0.
11572 * libc/include/sys/unistd.h (getlogin): Revert change of
11573 Oct 19.
11574 * libc/include/sys/signal.h (sigprocmask): Change prototype
11575 so it compiles with c++.
11576
11577Wed Oct 25 15:43:18 1995 Michael Meissner <meissner@cygnus.com>
11578
11579 * libc/include/machine/setjmp.h (PowerPC _JBLEN): Consider it a
11580 PowerPC if __PPC__ is defined. Bump jump_buf length to 62 ints,
11581 to give some room in case we need to align the jmp_buf.
11582
11583 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Rewrite to use
11584 the new ppc-asm.h include file the compiler provides to specify
11585 function prologue/epilogue. Eliminate saves of the xer and ctr
11586 registers, which are volatile. Before starting to save registers,
11587 align to 8 byte boundary.
11588
11589Mon Oct 23 11:20:51 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
11590
11591 * libc/sys/vr4300/syscalls.c: Added empty kill() function,
11592 referenced by standard libraries.
11593
11594Thu Oct 19 21:39:47 1995 Fred Fish <fnf@cygnus.com>
11595
11596 * libc/unix/Makefile.in, libc/string/Makefile.in,
11597 libc/stdio/Makefile.in, libc/reent/Makefile.in,
11598 libc/posix/Makefile.in:
11599 Remove tabs from otherwise empty line. Confuses some
11600 older non-GNU versions of "make".
11601
11602Thu Oct 19 16:32:17 1995 steve chamberlain <sac@slash.cygnus.com>
11603
11604 * libc/sys/unistd.h (getlogin): Returns const char *.
11605
11606Wed Oct 18 12:57:50 1995 steve chamberlain <sac@slash.cygnus.com>
11607
11608 * libc/include/fcntl.h (O_BINARY, O_TEXT): New.
11609 * libc/include/errno.h: Moved into and include...
11610 * libc/include/sys/errno.h: New file.
11611 * libc/include/sys/wait.h: New file.
11612 * libc/stdio/rename.c (_rename_r): Use _rename system call if available.
11613 * libc/sys/win32/*: Moved out.
11614 * libc/sys/win32/crt0.c: Rewritten to cope with shared library.
11615 * configure.in (i[345]86-*-win32): HAVE_RENAME
11616
11617Wed Oct 18 09:58:27 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
11618
11619 * libc/unix/sigset.c (sigemptyset, sigaddset): Prefix #undef to
11620 avoid macro expansion for these two names.
11621
11622Tue Oct 17 08:45:33 1995 Doug Evans <dje@canuck.cygnus.com>
11623
11624 * libc/machine/h8500/psi.S: r6 renamed to fp.
11625
11626Sun Oct 15 12:58:10 1995 Michael Meissner <meissner@wogglebug.tiac.net>
11627
11628 * configure.in (powerpc*): No longer need to define
11629 NO_LONGLONG_POINTERS to supress warnings.
11630
11631Sat Oct 14 12:55:08 1995 Jim Wilson <wilson@chestnut.cygnus.com>
11632
11633 * libc/reent/reent.c (_reclaim_reent): Call cleanup indirectly
11634 through PTR instead of directly.
11635
11636 * libc/sys/sh/crt0.S: Clean up formatting. Delete unused
11637 non-standard constructor support.
11638
11639Thu Oct 12 11:39:42 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11640
11641 * libc/stdlib/dtoa.c (_dtoa_r): Set result pointer to the
11642 address of the Bigint instead of the address of its _x field,
11643 as the size the result buffer was calculated accordingly.
11644 Fix from Jim Wilson <wilson@chestnut@cygnus.com>.
11645
11646 * libc/stdlib/{div.c, ldiv.c}: Replaced with implementation
11647 from NetBSD C library. No longer special cases division by
11648 zero (which needs to be done by the application anyway), but
11649 it doesn't need to call abs() (or labs()) four times either.
11650
11651 * libc/stdlib/qsort.c: Replaced with implementation from
11652 NetBSD C library.
11653
11654Tue Oct 10 14:01:10 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11655
11656 * libc/stdio/vfprintf.c: Replaced with implementation from
11657 NetBSD C library (which is derived from the 4.4BSD C library).
11658 * libc/stdio/cvt.c: Removed.
11659 * libc/stdio/Makefile: Updated.
11660
11661Tue Oct 10 12:15:23 1995 steve chamberlain <sac@slash.cygnus.com>
11662
11663 * libc/sys/win32/syscalls.c (rename): New.
11664 * libc/sys/win32/include/winkernel.h (MoveFileExA): New.
11665
11666Fri Oct 6 12:18:43 1995 Jim Wilson <wilson@chestnut.cygnus.com>
11667
11668 * libc/machine/sh/Makefile.in (setjmp.o): Depend on setjmp.S.
11669 * libc/machine/sh/setjmp.S: Rename from setjmp.s.
11670
11671 * libc/sys/sh/Makefile.in (OFILES, all): Delete setjmp.o.
11672 (setjmp.o): Delete rule to build setjmp.o.
11673 * libc/sys/sh/setjmp.S: Delete file.
11674
11675Fri Oct 6 11:19:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11676
11677 * libc/stdlib/mprec.c (d2b): Added support for _DOUBLE_IS_32BITS.
11678 * libc/stdlib/mprec.h: Fixed constants used for IEEE single float
11679 format. Added #defines to map d2b, i2b, low0bits, lshift, mult,
11680 pow5mult and s2b to identifiers with leading underscores.
11681 * libc/stdlib/Makefile.in: Add mprec.h as a dependency to dtoa.o,
11682 ecvtbuf.o, mprec.o and strtod.o. Sort dependencies.
11683
11684Thu Oct 5 17:27:30 1995 steve chamberlain <sac@slash.cygnus.com>
11685
11686 * libc/sys/posix/popen.c (sys/types.h): Include.
11687
11688Thu Oct 5 16:33:01 1995 Doug Evans <dje@canuck.cygnus.com>
11689
11690 * libc/sys/win32/syscalls.h (fhandler): New struct.
11691 (__lookup_fhandler, __lookup_fhandler_hook): Declare.
11692 (__fhandler_normal): Declare.
11693 (hinfo): New member op_handlers.
11694 * libc/sys/win32/syscalls.c (__read): Don't validate fd.
11695 (__write): Likewise.
11696 (_read, _write, _open, _close, _lseek): Validate fd here.
11697 Move file type specific stuff to foo_normal.
11698 (read_normal, write_normal, open_normal, close_normal, lseek_normal):
11699 New functions.
11700 (__lookup_fhandler): New function.
11701 (__lookup_fhandler_hook, __fhandler_normal): New variables.
11702
11703 From anders.blomdell@control.lth.se (Anders Blomdell)
11704 * libc/sys/win32/crt0.c (vfork_init): Unset __FD_TABLE__.
11705 Don't touch standard handles.
11706 * libc/sys/win32/spawn.c (_spawn): Use STARTF_USESTDHANDLES.
11707 (_execve): Only create __FD_TABLE__ if necessary.
11708 * libc/sys/win32/include/winkernel.h (STARTF_*): Define.
11709
11710Thu Oct 5 14:25:14 1995 steve chamberlain <sac@slash.cygnus.com>
11711
11712 * libc/sys/win32/sys/termios.h (FLUSHO): New.
11713 * libc/sys/win32/include/win*.h: Moved a load of prototypes around.
11714 * libc/sys/win32/pipe.c (_fctnl): Ignore F_SETFL without errors.
11715 * libc/sys/win32/exception.c (ehandler3): set strace when a signal
11716 without a handler is received.
11717 * libc/sys/win32/Makefile.in: Remove --nodelete.
11718 * libc/sys/win32/resouce.c (gettimeofday): New.
11719 * libc/sys/win32/syscalls.c (path_to_real_path): New.
11720 * libc/sys/win32/syscalls.h (include/wincon.h): Don't include.
11721
11722Wed Oct 4 13:10:35 1995 Doug Evans <dje@canuck.cygnus.com>
11723
11724 * libc/sys/win32/dirsearch.c (opendir): stat real path name.
11725 Don't append "/*" to search pattern if trailing '/' already there,
11726 append "*".
11727 * libc/sys/win32/spawn.c (_spawn): CreateProcess doesn't seem to
11728 like /'s, convert them to \'s. Handle //<drive>/ path names.
11729 Add space for quoted \'s in arg string. Print translated prog name
11730 and original prog name.
11731 (_execve): Handle parent doing exec a teensy bit better.
11732 * libc/sys/win32/syscalls.h (__path_to_real_path): Update prototype.
11733 * libc/sys/win32/syscalls.c (__path_to_real_path): Don't assume
11734 path needs conversion, handle both cases. Delete `const' from result.
11735 (hash_path_name): New function.
11736 (_open): Call it.
11737 (_stat): Likewise. Fill in more fields for directories.
11738 * libc/sys/win32/wait.c (_wait): Explicitly pass -1 to waitpid.
11739 (wait_for_any): Fix trace message.
11740 (waitpid): Explicitly test for intpid == 0.
11741
11742 From anders.blomdell@control.lth.se (Anders Blomdell)
11743 * libc/sys/win32/spawn.c (__vfork_get_empty_entry): zero fill result
11744 so `next' is valid.
11745
11746Sat Sep 30 15:00:15 1995 Jason Molenda (crash@phyeaux.cygnus.com)
11747
11748 * libc/sys/win32/spawn.c (_spawn): Make quoting rules more
11749 complicated.
11750
11751Sat Sep 30 10:25:57 1995 Jason Molenda (crash@phydeaux.cygnus.com)
11752
11753 * libc/include/_ansi.h: set _HAVE_STDC if __STDC__ is defined
11754 at all, not just == 1.
11755 * libm/math/wf_acos.c (acosf): check for _HAVE_STDC, not __STDC__.
11756
11757Sat Sep 30 04:30:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
11758
11759 * libc/sys/win32/include/winbase.h: include <wintypes.h> and <winnt.h>
11760 * libc/sys/win32/include/wintypes.h: include <winnt.h>
11761 * libc/sys/win32/include/winnt.h: avoid multiple inclusion of this
11762 file.
11763
11764Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
11765
11766 * libc/sys/syscalls.c (getcwd): Fix off by one error.
11767
11768 * libc/sys/signal.c (sleep): Fill it in.
11769 * libc/sys/termios.c (tcflush): Use PurgeComm
11770 (tcsetattr): Set some more of the bits.
11771 * libc/sys/include/winkernel.h: Add PurgeComm and Sleep.
11772
11773Fri Sep 29 04:33:53 1995 Doug Evans <dje@deneb.cygnus.com>
11774
11775 * libc/sys/arm/crt0.S (fp): Initialize to 0.
11776 Conditionally include .idata$3 stuff ifdef __pe__.
11777
11778Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
11779
11780 * libc/sys/win32/crt0.c (hmap_init): Call __init_hinfo.
11781 * libc/sys/win32/pipe.c (pipe): Ditto.
11782 * libc/sys/win32/syscalls.c (__read): Use new vtime and vmin fields.
11783 * libc/sys/win32/syscalls.h (hinfo): vtime, vmin are new.
11784 * libc/sys/win32/termios.c (tcsetattr): Init new fields.
11785 (tcgetattr): Contents are new.
11786 * libc/sys/win32/include/winkernel.h (DCB): New.
11787 (GetCommState, SetCommState): New.
11788
11789Thu Sep 28 16:29:09 1995 Doug Evans <dje@deneb.cygnus.com>
11790
11791 * libc/sys/arm/crt0.S (_start): Define.
11792
11793Thu Sep 28 12:26:45 1995 steve chamberlain <sac@slash.cygnus.com>
11794
11795 * libc/sys/arm/crt0.S: Move stack to top of RAM on PIE board.
11796 * libc/sys/arm/syscalls.c (_read, _write): Use the SWI properly.
11797
11798 * libc/sys/win32/sysconf.c: New
11799 * libc/sys/win32/sys/winadvapi.h: New
11800 * libc/sys/win32/syscalls.h (hinfo): Added timeout_len, w_binary, r_binary.
11801 * libc/sys/win32/crt0.c (hmap_init): Initialize new fields.
11802 * libc/sys/win32/pipe.c (pipe): Ditto.
11803 * libc/sys/win32/signal.c (_raise): New.
11804 (_kill): Moved from spawn.c
11805 * libc/sys/win32/spawn.c (kill): Moved to signal.c
11806 * libc/sys/win32/syscalls.c (__read): Use new fields.
11807 (_open): Ditto.
11808 * libc/sys/win32/termios.c (tcflush, tcsetattr, tcgetattr): Fill in.
11809 * libc/sys/win32/exceptions.c (__stack_trace): Keep going for longer.
11810 * libc/include/sys/unistd.h (rmdir): Takes const path.
11811 * libc/include/sys/stat.h (mkdir): Takes const path.
11812 * libc/include/sys/signal.h (SIGTTOU, SIGTTIN): New for win32.
11813
11814Thu Sep 28 10:11:27 1995 Doug Evans <dje@canuck.cygnus.com>
11815
11816 * libc/sys/win32/spawn.c (_spawn): Fix quoting.
11817
11818 Add support for specifying paths as //<drive>/foo/bar.
11819 * libc/sys/win32/syscalls.h (__path_needs_conversion_p): Declare.
11820 (__path_to_real_path): Declare.
11821 (PATH_TO_REAL_PATH): New macro.
11822 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): Minor cleanup.
11823 (__path_needs_conversion_p, __path_to_real_path): New functions.
11824 (_open): Fix test for error return from CreateFileA.
11825 Handle new path syntax.
11826 (_link, mkdir, rmdir, getcwd, chdir, stat): Handle new path syntax.
11827 * libc/sys/win32/dirsearch.c (opendir): Likewise.
11828
11829Wed Sep 27 16:36:46 1995 steve chamberlain <sac@slash.cygnus.com>
11830
11831 * libc/sys/win32/include/*.h: Reorganized
11832 * libc/sys/win32/include/WINREADME: New.
11833 * libc/sys/win32/Makefile.in (DLLS): Build version.a.
11834 * libc/sys/win32/*.c: Fix for new include scheme.
11835 * libc/sys/win32/crt0.c (__this_uinfo_buf, __this_uinfo): New.
11836 * libc/sys/win32/getlogin.c (getlogin): Use uinfo.
11837 * libc/sys/win32/passwd.c (*): Fix.
11838 * libc/sys/win32/syscalls.c (get[e|][g|u]id): Use passwd info.
11839 (_stat): Get directory owner and permissions right.
11840 * libc/sys/win32/syscalls.h (uinfo): New.
11841 * libc/sys/win32/version.def: Remove leading underscores.
11842
11843Tue Sep 26 18:18:47 1995 Jason Molenda (crash@phydeaux.cygnus.com)
11844
11845 * libc/sys/win32/key.c: include "include/wincon.h".
11846
11847Tue Sep 26 07:21:48 1995 steve chamberlain <sac@slash.cygnus.com>
11848
11849 * libc/sys/win32/{key, stubs}.c: New.
11850 * libc/sys/win32/Makefile: Adjust to cope.
11851 * libc/sys/win32/crt0.c (vfork_init_first): Cope with -ve pids.
11852 (environ_init): Change env names to upper case.
11853 * libc/sys/win32/dirsearch.c (readdir): Don't fill in inode number.
11854 * libc/sys/win32/passwd.c (*): Fill in the functions.
11855 * libc/sys/win32/pipe.c (_fcntl): F_GETFL returns O_RDWR.
11856 * libc/sys/win32/spawn.c (_spawn): Cope with -ve pids.
11857 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): New function.
11858 (_open): Initialze hmap->execable_p too.
11859 * libc/sys/win32/syscalls.c (getuid, getgid, geteuid, getegid): Return from macros.
11860 (_fstat): Fill in permissions.
11861 * libc/sys/win32/syscalls.h (hinfo): Add execable_p.
11862
11863Fri Sep 22 13:47:27 1995 Doug Evans <dje@canuck.cygnus.com>
11864
11865 * configure.in (cfg-ml-com.in invocation): Use ${with_multilib_top}
11866 if defined.
11867 (cfg-ml-pos.in invocation): Likewise.
11868
11869Fri Sep 22 11:43:44 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11870
11871 * Makefile.in (MATHOBJS_IN_LIBC): Added s_isinf.o, sf_isinf.o,
11872 s_isnan.o and sf_isnan.o.
11873
11874Wed Sep 20 14:50:19 1995 Ian Lance Taylor <ian@cygnus.com>
11875
11876 * All Makefile.in files: added maintainer-clean target as a
11877 synonym for realclean.
11878
11879Wed Sep 20 11:02:50 1995 Jeff Law (law@snake.cs.utah.edu)
11880
11881 * libc/include/machine/setjmp.h: Add hppa support.
11882 * libc/machine/hppa/setjmp.S: New file with setjmp/longjmp
11883 support.
11884 * libc/machine/hppa/Makefile.in: Related changes.
11885
11886Tue Sep 19 12:09:01 1995 J.T. Conklin <jtc@blues.cygnus.com>
11887
11888 * configure.in (machine_dir): Don't set for v810-*-*.
11889
11890Fri Sep 15 20:22:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
11891
11892 * libc/sys/win32/crt0.c (passover): Change to handle MKS quoting
11893 conventions correctly.
11894
11895Thu Sep 14 13:37:22 1995 J.T. Conklin <jtc@blues.cygnus.com>
11896
11897 * libc/stdio/puts.c: Update documentation of return value to match
11898 ANSI standard.
11899
11900Thu Sep 14 01:52:37 1995 Doug Evans <dje@canuck.cygnus.com>
11901
11902 Fix file descriptor inheritance.
11903 * libc/sys/win32/syscalls.h (CHILD_P): Define again.
11904 (NOT_OPEN_FD): Fix.
11905 * libc/sys/win32/spawn.c (vfork0): Only create inheritable handle if
11906 close-on-exec flag not set. Initialize child's entire fd table.
11907 * libc/sys/win32/syscalls.c (_open): Only create inheritable handle if
11908 CHILD_P.
11909 * libc/sys/win32/pipe.c (pipe): Only create new handle as inheritable
11910 if CHILD_P. Initialize entire hmap entry.
11911 (dup): Only create new handle as inheritable if CHILD_P.
11912 (dup2): Likewise. Properly initialize hmap entry.
11913
11914 * libc/sys/win32/spawn.c (_execve): Don't pass _P_SEARCH_PATH to
11915 _spawn.
11916 (_exit): Use CHILD_P.
11917 * libc/sys/win32/syscalls.c (_fstat): Fix call to memset.
11918 (_stat): Likewise.
11919
11920Mon Sep 11 23:09:39 1995 Jason Molenda (crash@phydeaux.cygnus.com)
11921
11922 * libc/sys/win32/crt0.c (passover): fix up the state table.
11923 * libc/posix/popen.c: Added.
11924 * libc/posix/Makefile.in: compile popen.c.
11925
11926Mon Sep 11 11:43:38 1995 J.T. Conklin <jtc@cygnus.com>
11927
11928 * libc/include/machine/ieeefp.h: On the h8/300, h8/300h and
11929 h8/500 define _DOUBLE_IS_32BITS.
11930
11931Sat Sep 9 17:55:54 1995 Doug Evans <dje@canuck.cygnus.com>
11932
11933 Get vfork/exec/spawn/cwait/wait working again.
11934 * libc/sys/win32/syscalls.h (VFORK_NEWBORN_PSEUDO_PID): Define.
11935 (procinfo): New member vfork_level.
11936 * libc/sys/win32/crt0.c (__vfork_next_pid): Delete.
11937 (vfork_init_first): Use GetCurrentProcessId to get pid.
11938 Initialize vfork_level.
11939 (vfork_init): Delete __PID__.
11940 (environ_init): New function. Undo patch of Aug 19, Posix says
11941 environment variables are case sensitive.
11942 (mainCRTStartup): Call it.
11943 * libc/sys/win32/spawn.c (__vfork_next_pid): Delete.
11944 (my_longjump: Make static.
11945 (_spawn): New argument `h'. Delete setting of __PID__.
11946 Delete local `idx'. Look for chars that need quotes, rather than
11947 ones that don't. Set handle of created process in `h'.
11948 Result is process id if created task.
11949 (allocate_spawn_entry): New function.
11950 (spawnvp, spawnv): Call it. Store handle and pid in procinfo entry.
11951 (_execve): Set __FD_TABLE__ before spawning child.
11952 Scan our fd table when passing fds, not our parent's.
11953 Store handle and pid in procinfo entry.
11954 (vfork0): Ensure strace message always printed.
11955 Set child pid to VFORK_NEWBORN_PSEUDO_PID.
11956 (vfork): Don't clobber result of vfork0.
11957 * libc/sys/win32/wait.c (cwait): Fix non-error result (is pid).
11958 (wait_for_any): Ignore processes in state FORK_STATE_VFORK_0.
11959
11960 * libc/sys/win32/syscalls.h (procinfo): New members `handle_valid_p'
11961 and `exit_code'.
11962 * libc/sys/win32/spawn.c (allocate_spawn_entry): Initialize them.
11963 (vfork0): Likewise. Distinguish children, grandchildren, etc. by
11964 adding vfork level to pseudo-pid.
11965 (vfork1): If not root, set state back to FORK_STATE_VFORK_0.
11966 (spawnvp, spawnv, _execve): Set handle_valid_p if success.
11967 (_exit): If child, set exit code.
11968 (__vfork_record_death): Only close process handle if valid.
11969 * libc/sys/win32/wait.c (wait_for_single): Watch for children that
11970 didn't exec.
11971 (wait_for_any): Likewise. Start scan after root entry.
11972
11973Fri Sep 8 18:48:02 1995 Jason Molenda (crash@phydeaux.cygnus.com)
11974
11975 * libc/include/sys/types.h (off_t): off_t back to 32 bits.
11976 * libc/include/sys/_types.h (_off_t): _off_t back to 32 bits.
11977 * libc/sys/win32/syscalls.c (_fstat): st_size is lower 32-bits
11978 of actual file length.
11979
11980 * libc/sys/win32/sys/wait.h: include <sys/types.h>.
11981 * libc/include/paths.h: _PATH_BSHELL added.
11982 * libc/include/sys/unistd.h: define STDIN_FILENO, STDOUT_FILENO,
11983 and STDERR_FILENO.
11984
11985Thu Sep 7 21:02:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
11986
11987 * libc/include/ar.h: Added.
11988 * libc/include/sys/types.h: ino_t goes back to 32-bits.
11989 * libc/sys/win32/syscalls.h (hinfo): added .namehash field.
11990 * libc/sys/win32/syscalls.c (_open): compute .namehash based
11991 on filename.
11992 (_fstat): use .namehash for inode number of the fd.
11993
11994Thu Sep 7 12:57:19 1995 steve chamberlain <sac@slash.cygnus.com>
11995
11996 * libc/sys/win32/{console,ioctl,pipe,spawn,syscalls,wait}.? (*):
11997 Change hinfo to __this_procinfo.
11998 * libc/sys/win32/crt0.c: Remove procinfo_list.
11999
12000Wed Sep 6 18:38:26 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12001
12002 * libc/include/sys/types.h (ino_t): Define ino_t correctly for
12003 win32 environment.
12004
12005Wed Sep 6 18:09:29 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12006
12007 * libc/sys/win32/include/grp.h: Removed.
12008 * libc/sys/include/grp.h: Added.
12009 * libc/sys/win32/grp.c: Include <grp.h>.
12010
12011Wed Sep 6 16:52:48 1995 steve chamberlain <sac@slash.cygnus.com>
12012
12013 * libc/include/sys/signal.h (__need_MAX_SIGNALS): Removed.
12014 (sigset_t, sigaction, SIG_SETMASK, SIG_BLOCK, SIG_UNBLOCK):
12015 Defined for all but strict ANSI.
12016 * libc/include/sys/reent.h (__need_MAX_SIGNALS): Removed.
12017 * libc/include/machine/setjmp.h: Get win32 _JBLEN right.
12018 * libc/signal/signal.c (_signal_r): Changed from using
12019 _MAX_SIGNALS to NSIG.
12020 * libc/sys/win32/crt0.c (__current_pid, __parent_hmap, __child_hmap,
12021 __hmap): Deleted.
12022 (__strace, __vfork_next_pid): New.
12023 (__exe_suffix): Default to 1.
12024 (passover, table): Understand quoted arguments.
12025 (vfork_init_first): New.
12026 (vfork_init): Initialize new process structure.
12027 (mainCRTStartup): Pass environ to main.
12028 * exceptions.c (__sig_mask): New
12029 (ehandler3): Ignore signals in mask.
12030 (really_exit): Remove CHILD_P test.
12031 * pipe.c (pipe, dup, dup2): Use new process and file structure.
12032 * resource.c (getrusage): Ditto.
12033 * signal.c (sigprocmask): New.
12034 * spawn.c (*): Rewritten.
12035 * syscalls.c (*): Use new process and file structure.
12036 (find_unused_handle): New.
12037 * syscalls.h (MAX_HANDLES): Deleted.
12038 (hinfo): Removed child_created_p.
12039 (MAX_CHILDREN): Deleted.
12040 (vfork_jmp_info, procinfo): New.
12041 * wait.c (*): Mostly new.
12042 * sys/strace.h (_STRACE_PARANOID): New.
12043 * sys/param.h: New file.
12044
12045Wed Sep 6 17:03:53 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12046
12047 * libc/include/sys/stat.h: add S_BLKSIZE.
12048 * libc/include/sys/_types.h: _off_t is a 64-bit type under win32.
12049 * libc/include/sys/types.h: define off_t and ino_t to be 64 bit
12050 types under win32.
12051 (mode_t): add a #else to avoid multiple definitons.
12052
12053 * libc/sys/win32/Makefile.in: add grp.c.
12054 * libc/sys/win32/grp.c: include grp.h correctly.
12055 * libc/sys/win32/syscalls.c (_fstat): set almost all of the fields
12056 of the st structure with real information.
12057 * libc/sys/win32 (dirent): d_ino is of type ino_t.
12058
12059Wed Sep 6 10:41:34 1995 Doug Evans <dje@canuck.cygnus.com>
12060
12061 * libc/include/sys/types.h (mode_t): Correct for svr4 sparc's
12062 and (maybe) sparc64.
12063 (nlink_t): Provide typedef.
12064
12065Tue Sep 5 18:46:05 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12066
12067 * libc/sys/win32/grp.c: New file.
12068 * libc/sys/win32/include/grp.h: New file.
12069
12070Tue Sep 5 13:47:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12071
12072 * libc/include/machine/ieeefp.h: Added whitespace to make this
12073 file easier to maintain.
12074 On the sh, define either __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN
12075 depending on the value of __LITTLE_ENDIAN__.
12076 On the sh3e, define _DOUBLE_IS_32BITS.
12077
12078Fri Sep 1 15:35:18 1995 James G. Smith <jsmith@beauty.cygnus.com>
12079
12080 * libc/sys/vr4300/syscalls.c: Added missing support
12081 routines. _raise() and getpid().
12082
12083Fri Sep 1 14:12:48 1995 James G. Smith <jsmith@rtl.cygnus.com>
12084
12085 * configure.in (mips*vr4300*-*-elf): Fixed silly mistake
12086
12087Fri Sep 1 08:42:11 1995 James G. Smith <jsmith@beauty.cygnus.com>
12088
12089 * configure.in (mips*vr4300*-idt-*) Add support for RISQ monitor
12090 and VR4300 processor.
12091 * libc/sys/vr4300: Add directory.
12092 * libc/sys/vr4300/{Makefile.in, crt0.S, syscalls.c}: Add SIM
12093 monitor run-time support.
12094
12095Thu Aug 31 09:16:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12096
12097 * libc/stdlib/Makefile.in (CHEWOUT_FILES): Removed atol.def.
12098 * libc/stdlib/stdlib.tex: Don't include atol.def.
12099
12100Wed Aug 30 20:38:28 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12101
12102 * libc/sys/win32/uname.c (uname): hardcode processor as `i386'.
12103
12104Wed Aug 30 10:48:08 1995 steve chamberlain <sac@slash.cygnus.com>
12105
12106 * libc/ctype/Makefile.in: Fill in _to* dependencies.
12107
12108Tue Aug 29 17:14:29 1995 steve chamberlain <sac@slash.cygnus.com>
12109
12110 * libc/sys/win32/{dirsearch.c,sys/dirent.h}: Fix namespace problems.
12111 * libc/sys/win32/sys/dirent.h (struct dirent): Added d_ino.
12112 * libc/sys/win32/strace.c (__sys_printf): Increase size of buffer.
12113 * libc/sys/win32/smallprint.c (__small_vsprintf): Remove debug.
12114 * libc/sys/win32/dirsearch.c (readdir): Set d_ino.
12115
12116Tue Aug 29 19:00:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12117
12118 * libc/stdlib/atol.c (atol): DEFUN -> _DEFUN.
12119
12120Tue Aug 29 16:08:09 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12121
12122 * libc/stdlib/Makefile.in (OFILES): Added atoff.o and atol.o.
12123 * libc/stdlib/atoff.c: New file.
12124 * libc/stdlib/atof.c (atoff): Moved to atoff.c.
12125 * libc/stdlib/atoi.c (atol): Removed.
12126 * libc/stdlib/atol.c: Removed duplicate documentation.
12127
12128 * libc/include/ctype.h (_tolower, _toupper): Moved inside
12129 #ifndef _STRICT_ANSI conditional.
12130 * libc/ctype/Makefile.in (OFILES): Added _tolower.o and _toupper.o
12131 * libc/ctype/_tolower.c: New file.
12132 * libc/ctype/_toupper.c: New file.
12133 * libc/ctype/tolower.c (_tolower): Moved to _tolower.c.
12134 * libc/ctype/toupper.c (_toupper): Moved to _toupper.c.
12135 * libc/ctype/toascii.c (_toascii): Removed.
12136
12137Tue Aug 29 12:17:32 1995 Doug Evans <dje@canuck.cygnus.com>
12138
12139 * libc/sys/sparc64/sys/types.h: Deleted.
12140
12141Mon Aug 28 22:06:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12142
12143 * libc/sys/win32/uname.c (uname): change `Windows/NT' to `Windows_NT'
12144 and recognize Windows_95 systems.
12145
12146Mon Aug 28 19:50:54 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12147
12148 * libc/sys/win32/crt0.c (vfork_init, hmap_init): standard I/O fds
12149 and passed fds should be opened in text mode.
12150
12151Mon Aug 28 18:51:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12152
12153 * libc/sys/win32/crt0.c (vfork_init): mark passed fds as used
12154 in __hmap, set to binary mode by default.
12155
12156Tue Aug 22 14:12:37 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12157
12158 * libc/sys/sh/syscalls.c: Updated all functions to call __trap34.
12159 * libc/sys/sh/trap.S (__trap34): Renamed from __trap3. Use trap
12160 vector 34.
12161
12162Sat Aug 19 18:25:37 1995 steve chamberlain <sac@slash.cygnus.com>
12163
12164 * Makefile.in (install): Install all libraries found in the
12165 top level. If there's a sys/<type>/include directory,
12166 install those headers into include.
12167
12168 * libc/sys/win32/kernel.def351: Delete
12169 * libc/sys/win32/{comctl32.def, comdlg32.def, ctl3d32.def,
12170 glaux.def, glu32.def, largeint.def, libc.def, libcmt.def,
12171 lz32.def, mgmtapi.def, mpr.def, msacm32.def, msvcrt.def,
12172 nddeapi.def, netapi32.def, odbc32.def, odbccp32.def, oldnames.def,
12173 ole32.def, oleaut32.def, opengl32.def, rasapi32.def, rpcndr.def,
12174 rpcns4.def, rpcrt4.def, scrnsave.def, shell32.def, snmp.def,
12175 uuid.def, vdmdbg.def, version.def, vfw32.def, win32spl.def,
12176 winmm.def, winspool.def, winstrm.def, wsock32.def}: New.
12177
12178 * libc/sys/win32/Makefile.in: Update for new files and new dlltool options.
12179 * libc/sys/win32/crt0.c: Force all env names to upper case.
12180 * libc/sys/win32/sys/win*.h -> libc/sys/win32/include
12181 * libc/sys/win32/*.c: Headers have moved.
12182 * libs/sys/win32/*.[ch]: Test for open_p rather than BAD_HANDLE,
12183 __vfork_child_idx is now __vfork_child_ptr.
12184
12185 * posix/execvp (execvp): Don't crash if no PATH envname.
12186
12187Fri Aug 18 12:22:59 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12188
12189 * libc/include/sys/reent.h (_Bigint): Removed _reclaim field.
12190 * libc/reent/reent.c (_reclaim_reent): Free Bigint's by going
12191 through the _freelist instead of through the _reclaim list.
12192 * libc/stdlib/mprec.c (_Balloc): Don't put new node on _reclaim list.
12193 * libc/stdlib/mprec.c (_Bcopy): Make like version in master dtoa.c
12194 sources.
12195
12196Thu Aug 17 11:03:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12197
12198 * libc/machine/h8500/setjmp.S: New file.
12199 * libc/include/machine/setjmp.h: Updated for H8/500.
12200
12201Wed Aug 16 16:19:11 1995 steve chamberlain <sac@slash.cygnus.com>
12202
12203 * libc/sys/win32/syscalls.c (_open): More stracing.
12204 (_stat): Open the file in O_BINARY.
12205
12206Wed Aug 16 15:49:01 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12207
12208 * libc/machine/h8300/setjmp.S: New file.
12209 * libc/include/machine/setjmp.h: Updated for H8/300 and H8/300H.
12210
12211Tue Aug 15 10:31:09 1995 Doug Evans <dje@canuck.cygnus.com>
12212
12213 * libc/sys/win32/crt0.c (__exe_suffix): New global.
12214 (mainCRTStartup): Set __exe_suffix from LIBC_EXE_SUFFIX.
12215 * libc/sys/win32/spawn.c (_spawn): Add .exe suffix based on
12216 __exe_suffix. Free fd_tab after setting env variable.
12217 (spawnv,_execve): Update.
12218 * libc/sys/win32/syscalls.h (__exe_suffix): Declare.
12219 * libc/sys/win32/smallprint.c (puts,putn): New (static) functions.
12220 (__small_vfprintf): New function.
12221 * libc/sys/win32/strace.c (__sys_printf): Call __small_vfprintf.
12222 * libc/sys/win32/wait.c (cwait): Validate argument.
12223
12224 * libc/sys/win32/syscalls.c (queue_file_deletion): Add trace message.
12225 (process_deletion_queue): Likewise.
12226
12227 * libc/sys/win32/Makefile.in (lib.a): Don't call $(RANLIB).
12228
12229Mon Aug 14 10:14:10 1995 steve chamberlain <sac@slash.cygnus.com>
12230
12231 * libc/sys/win32: Copyrights and gratuitous indenting.
12232
12233Mon Aug 14 01:32:58 1995 Doug Evans <dje@canuck.cygnus.com>
12234
12235 * libc/sys/win32/syscalls.c (queue_file_deletion): Finish.
12236 (process_deletion_queue): Likewise.
12237 (__close_all_files): New function.
12238 (_close): Only queue file deletion if really a file.
12239 * libc/sys/win32/spawn.c (_spawn): Only ensure .exe suffix if
12240 _P_APPEND_EXE.
12241 (_exit): Call __close_all_files.
12242
12243 * libc/stdlib/system.c: #include <errno.h>.
12244 (_system_r): Fix results in -DNO_EXEC case.
12245
12246 * libc/sys/win32/sys/dirent.h (DIR): New member __d_dirname.
12247 Reorganize structure.
12248 * libc/sys/win32/dirsearch.c (opendir): Use stat to determine
12249 if argument is valid. Save directory name in DIR. malloc space
12250 for dirent struct separately.
12251 * libc/sys/win32/syscalls.c (stat): Fix test for directory.
12252
12253 * libc/include/errno.h (ENAMETOOLONG): Define.
12254 * libc/string/strerror.c (strerror): Reword ENFILE.
12255 Add ENOSYS, ENMFILE, ENOTEMPTY, ENAMETOOLONG.
12256
12257Sun Aug 13 22:42:25 1995 Doug Evans <dje@canuck.cygnus.com>
12258
12259 * libc/sys/win32/crt0.c (__progname): New global.
12260 (mainCRTStartup): Support strace=bitmask,filename.
12261 * libc/sys/win32/dirsearch.c (all fns): Add trace messages.
12262 * libc/sys/win32/syscalls.c (_write): Print parent trace message
12263 if error.
12264 (getcwd): Handle len too small. Convert '\\' to '/'.
12265 * libc/sys/win32/sys/fcntl.h (O_RDWR): = O_RDONLY|O_WRONLY.
12266 Add prototypes for open, creat, fcntl.
12267 (O_APPEND): Change value to conform to Microsoft's value.
12268 * libc/sys/win32/sys/strace.h (_STRACE): Protect in do/while.
12269
12270 * libc/stdlib/getopt.c: New file.
12271 * libc/stdlib/Makefile.in: Build it.
12272
12273Sat Aug 12 12:17:14 1995 Doug Evans <dje@canuck.cygnus.com>
12274
12275 * libc/posix/execvp.c (execvp): Watch for DOS drives ifdef _WIN32.
12276 Fix scanning of $PATH.
12277 * libc/posix/exec*.c: Call _execve, not execve.
12278 * libc/posix/execve.c: New file.
12279 * libc/posix/Makefile.in (OFILES): Add execve.o.
12280
12281 * libc/sys/win32/sys/strace.h (_STRACE_ALL, _STRACE_UHOH,
12282 _STRACE_STARTUP, _STRACE_SYSCALL): More bit masks of things to trace.
12283 (_STRACE): If level==0, always print. Handle new bit mask scheme.
12284 * libc/sys/win32/crt0.c: Update _STRACE calls.
12285 * libc/sys/win32/{pipe.c,resource.c,spawn.c,syscalls.c,wait.c}: Ditto.
12286
12287 * libc/sys/win32/smallprint.c (rn): Fix digit list.
12288
12289 * libc/sys/win32/syscalls.c (__really_exit): Move from here,
12290 * libc/sys/win32/exceptions.c (really_exit): to here. Avoid recursion.
12291 * libc/sys/win32/spawn.c (spawnvp): Pass `prog' as image name.
12292 Print __seterrno trace message first.
12293 (_execve): Renamed from execve.
12294 (vfork): Update __strace usage.
12295 (__vfork_child_pid): Deleted.
12296 (__vfork_children, __vfork_child_idx): New globals.
12297 (_spawnvp): New function.
12298 (spawnvp, spawnv, _execve): Call _spawnvp.
12299 (init_child): Record child in __vfork_children.
12300 (__vfork_get_entry, __vfork_record_death): New functions.
12301 * libc/sys/win32/crt0.c (mainCRTStartup): Initialize __vfork_children.
12302 * libc/sys/win32/kernel32.def (WaitForMultipleObjects): Define.
12303 * libc/sys/win32/syscalls.h (CHILD_P): New macro. All files updated.
12304 (MAX_CHILDREN, CHILD_INTERIM_PID): Define.
12305 (children): New typedef.
12306 (__vfork_children,__vfork_child_idx): Declare.
12307 (__vfork_get_entry,__vfork_record_death): Declare.
12308 * libc/sys/win32/wait.c (wait_for_single,wait_for_any): New functions.
12309 (waitpid): Handle pid == -1.
12310 * libc/sys/win32/sys/wintypes.h (WaitForMultipleObjects): Declare.
12311 * configure.in (i386-win32): Add -DNO_FORK.
12312 * libc/syscalls/sysfork.c (fork): Don't define for NO_FORK.
12313 * libc/reent/execr.c (_fork_r): Likewise.
12314 * libc/stdlib/system.c (do_system): New function.
12315 If WIN32, try to get shell path from $SH_PATH, use vfork.
12316 (_system_r): Return 1 for (s == NULL) if WIN32 or unix,
12317 otherwise return 0.
12318
12319Sat Aug 12 11:08:00 1995 steve chamberlain <sac@slash.cygnus.com>
12320
12321 * libc/stdlib/{mallocr.c, mstats.c}: Move mstats from mallocr to mstats.c.
12322 * libc/sys/win32/fcntl.h: Don't include self.
12323 * libc/sys/win32/sys/strace.h (_STRACE_WM, _strace_wm): New.
12324 * libc/sys/win32/sys/winbase.h: (GetUserName) New.
12325 * libc/sys/win32/sys/wincon.h (HANDLER_ROUTINE): Define correctly.
12326 * libc/sys/win32/sys/wintypes.h (GetFileType, GetCurrentProcess, CloseHandle,
12327 SetFilePointer, CreateFileA, GetFileInformationByHandle, GetStdHandle):
12328 Correct prototypes.
12329 * libc/sys/win32/strace.c: New file.
12330 * libc/sys/win32/smallprint.c: New file.
12331 * libc/sys/win32/crt0.c (func): Delete.
12332 (mainCRTStartup): Fix alloca usage. Set handles explictly.
12333 * libc/sys/win32/dirsearch.c: Clean up handle usage, fix calls to __seterrno.
12334 * libc/sys/win32/exceptions.c: Lint.
12335 * libc/sys/win32/{ioctl.c, pipe.c, resource.c, spawn.c, cwait.c, syscalls.c}:
12336 Clean up handle usage.
12337 * libc/sys/win32/syscalls.c (__sys_printf): Moved into strace.c
12338 (open.c): Default file type is text.
12339 * libc/sys/win32/uname.c (uname): Use __small_sprintf.
12340 * libc/sys/win32/advapi32.def: New
12341
12342Fri Aug 11 17:11:52 1995 Doug Evans <dje@canuck.cygnus.com>
12343
12344 * configure.in (posix_dir, libc_posix_lib): New variables.
12345 Define LIBC_POSIX_LIB in makefile to be $libc_posix_lib.
12346 (i[345]86-*-win32): Define posix_dir.
12347 Delete -DNO_EXEC. Define -DHAVE_OPENDIR.
12348 (if unix_dir): Fix typo.
12349 * libc/posix/{Makefile.in,closedir,opendir,readdir,rewinddir,
12350 scandir,seekdir,telldir}: New files.
12351 * libc/posix/{execl.c,execle.c,execlp.c,execv.c,execvp.c}: Move here
12352 from libc/unix.
12353 * libc/Makefile.in (LIBC_POSIX_LIB): Define.
12354 (SUBDIRS): Add posix.
12355 (SUBLIBS): Add $(LIBC_POSIX_LIB).
12356
12357 * libc/include/sys/signal.h (SIGCHLD): Add for _WIN32.
12358 (NSIG): Increase to 21.
12359 * libc/include/sys/unistd.h (pid_t): Move from here,
12360 * libc/include/sys/types.h (pid_t): to here.
12361
12362 * libc/sys/win32/syscalls.h: #include "sys/strace.h".
12363 (__ptrace): Delete.
12364 (hinfo): New members close_exec_p, child_created_p.
12365 (struct exception_list): Define.
12366 (__hmap): Redefine as pointer to table.
12367 (__parent_hmap, __child_hmap): New globals.
12368 (__set_errno, __really_exit): Declare.
12369 (__vfork_child_pid): Declare.
12370 * libc/sys/win32/crt0.c (__strace, __trace_file): New global.
12371 (__orig_stdin, __orig_stdout, __orig_stderr): New globals.
12372 (__parent_hmap, __child_hmap): New globals.
12373 (__hmap): Redefine as pointer to active map.
12374 (__get_console): New function.
12375 (mainCRTStartup): Change leading '=' in environ vars to '!'.
12376 (env __FD_TABLE__): Watch for this and initialize our fd/handle
12377 mapping table from it if defined.
12378 (argv, envp): Dump if __strace >= 4.
12379 (main): Call here.
12380 * libc/sys/win32/exceptions.c (myp): Redefine.
12381 (__syscalls_b): Delete.
12382 (__stack_trace): New function.
12383 (ehandler3): Update to use _STRACE. Print stack trace.
12384 Call __really_exit instead of exit.
12385 (init_exceptions): Delete args argc,argv. New arg mine.
12386 * libc/sys/win32/kernel32.def (CreatePipe, DuplicateHandle, FindClose,
12387 FindFirstFileA, FindNextFileA, GetComputerNameA,
12388 GetEnvironmentVariableA, ReadFile, SetEnvironmentVariableA): Define.
12389 * libc/sys/win32/signal.c (signal): Validate arg.
12390 (alarm, sleep): Define as stubs for now.
12391 * libc/sys/win32/syscalls.c (all fns): Update to use _STRACE.
12392 (__syscalls_b, errno): Delete.
12393 (__vfork_child_pid, __vfork_jmp_buf): New globals.
12394 (__seterrno): Handle more errors.
12395 (__sys_printf): Renamed from _ptrace.
12396 (__really_exit): New function.
12397 (queue_file_deletion, process_deletion_queue): New functions.
12398 (__resume_parent): New function.
12399 (_unlink): Handle trying to delete open file.
12400 (__totime_t): Renamed from totime_t.
12401 (setsid, __read, __write): New functions.
12402 (cwait, spawnvp, R, D, getrusage, _execve, _fork, _wait): Delete.
12403 * libc/sys/win32/{dirsearch.c,getlogin.c,misc.c,resource.c,passwd.c,
12404 times.c,spawn.c,pipe.c,wait.c,termios.c,ioctl.c,uname.c}: New files.
12405 * libc/sys/win32/console.c: Update to new definition of __hmap.
12406 * libc/sys/win32/Makefile.in: Build new files.
12407 * libc/sys/win32/sys/{dirent.h,winerror.h,wait.h,termios.h}: New files.
12408 * libc/sys/win32/sys/{ioctl.h,utsname.h}: New files.
12409 * libc/sys/win32/sys/strace.h: Renamed from ptrace.h.
12410 * libc/sys/win32/sys/wintypes.h (GetCurrentDirectoryA): Fix prototype.
12411
12412Thu Aug 10 16:32:52 1995 Doug Evans <dje@canuck.cygnus.com>
12413
12414 * libc/sys/h8500hms/misc.c (kill): Handle SIGABRT.
12415
12416Thu Aug 10 12:07:38 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12417
12418 * libc/stdlib/{dtoa.c, strtod.c}: Merged assorted changes that
12419 have been made to the master dtoa.c sources (from netlib.att.com)
12420 since they were integrated into newlib in early 1992. Fixes
12421 problems with storage leaks and handling of numbers with very
12422 negative exponents.
12423
12424Wed Aug 9 14:18:39 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12425
12426 * Makefile.in (all): set rootpre and srcrootpre before calling
12427 sub-makes.
12428
12429Tue Aug 8 17:20:45 1995 steve chamberlain <sac@slash.cygnus.com>
12430
12431 * libc/sys/win32/crt0.c: Change __hmap usage.
12432 * libc/sys/win32/exceptions.c: Use _ptrace call.
12433 * libc/sys/win32/syscalls.c: Use _ptrace call.
12434 (read, write): Cope with DOS style CRLF when in TEXT mode.
12435 * libc/sys/win32/syscalls.h: Declare hinfo struct.
12436 * libc/sys/win32/user32.def: Get DefWindowProc arg list right.
12437 * libc/sys/win32/sys/fcntl.h, ptrace.h: New.
12438 * libc/sys/win32/sys/windows.h: Fill in rest of messages.
12439 * libc/sys/win32/sys/wintypes.h: Fix attribute syntax.
12440
12441Mon Aug 7 13:04:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12442
12443 * libc/include/math.h (cabs, cabsf, drem, dremf): New declarations.
12444
12445 * libm/math/{w_cabs.c, wf_cabs.c, w_drem.c, wf_drem.c}: New files,
12446 wrappers for hypot() and remainder() for BSD libm compatibility.
12447 These are public domain implementations written by me for the
12448 NetBSD libm some time ago. Note cabs() is required by ucbtest.
12449 * libm/math/Makefile.in (obj): Added w_cabs.o and w_drem.o.
12450 (fobj): Added wf_cabs.o and wf_drem.o.
12451
12452Thu Aug 3 08:13:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12453
12454 * libc/sys/h8500hms/misc.c: New file.
12455 * libc/sys/h8500hms/Makefile.in (OFILES): Add misc.o.
12456
12457Wed Aug 2 16:46:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12458
12459 * libc/time/localtime.c (localtime): Fix problem with leap year
12460 handling. Stole algorithm from Arthur David Olson's tz code.
12461
12462Mon Jul 31 10:21:54 1995 steve chamberlain <sac@slash.cygnus.com>
12463
12464 * configure.in: (z8k-*sim): Renamed z8k-*-coff.
12465
12466 * libc/sys/z8ksim/glue.c (_getpid, _kill): New
12467 (_exit): Use argument.
12468
12469Fri Jul 28 15:17:04 1995 Doug Evans <dje@canuck.cygnus.com>
12470
12471 * libc/sys/win32/sys/winbase.h (_WINBASE_H): Define.
12472
12473Wed Jul 26 16:24:19 1995 steve chamberlain <sac@slash.cygnus.com>
12474
12475 * libc/sys/sh/trap.S (perrno): Align correctly. (pr 7532)
12476
12477Mon Jul 24 13:42:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12478
12479 * configure.in (sparc*): Add -DMALLOC_ALIGNMENT=8 to
12480 target_cflags.
12481
12482Mon Jul 24 11:42:07 1995 steve chamberlain <sac@slash.cygnus.com>
12483
12484 * libc/sys/win32/crt0.c (mainCRTStartup): Look for
12485 ptrace with case insensitivity
12486 * libc/sys/win32/{user32.def, gdi32.def, exceptions.c, screen.c,
12487 sys/winbase.h, sys/windows.h, sys/wintypes.h, sys/winuser.h}:
12488 New files.
12489
12490Fri Jul 21 11:22:26 1995 Doug Evans <dje@canuck.cygnus.com>
12491
12492 * Makefile.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
12493 (MULTITOP, MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): New variables.
12494 (all, install, *clean): Use new multilib support.
12495 * configure.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
12496
12497Fri Jul 21 07:11:42 1995 steve chamberlain <sac@slash.cygnus.com>
12498
12499 * libc/include/sys/signal.h (__WIN32__): New.
12500
12501 * configure.in (i386-*-win32): Remobe SBRK_IS_ALLOC.
12502
12503 * libc/stdlib/mprec.c (Balloc): Fix trampling problem.
12504 (ulp, b2d): Handle 32 bit doubles.
12505 * libc/stdlib/mprec.h: Handle 32 bit doubles.
12506 * libc/stdlib/strtod.c (_strtod_r): Ditto.
12507
12508Fri Jul 14 08:24:58 1995 steve chamberlain <sac@slash.cygnus.com>
12509
12510 from medp@primag.co.uk:
12511 * libc/stdio/setvbuf.c (setvbuf): Fix line buffering on
12512 dynamically allocated buffers.
12513
12514Thu Jul 20 10:11:03 1995 Fred Fish <fnf@fishbowl>
12515
12516 * libc/include/sys/unistd.h (_exit): Add _ATTRIBUTE ((noreturn)).
12517 * libc/stdlib/exit.c (unistd.h): Include to pick up _exit() declaration.
12518
12519Thu Jul 20 10:16:25 1995 Michael Meissner <meissner@tiktok.cygnus.com>
12520
12521 * configure.in (powerpc): Fix previous fix.
12522
12523Wed Jul 19 14:08:55 1995 Michael Meissner <meissner@tiktok.cygnus.com>
12524
12525 * configure.in (powerpc-*eabiaix*): Update PowerPC multilib
12526 directories for this target.
12527
12528Wed Jul 19 00:34:30 1995 Jeffrey A. Law <law@rtl.cygnus.com>
12529
12530 * configure.in (hppa): Add machine_dir definition.
12531 * libc/machine/hppa: New directory with PA specific implementations
12532 of the basic memory/string functions.
12533
12534Tue Jul 18 21:16:00 1995 Michael Meissner <meissner@tiktok.cygnus.com>
12535
12536 * configure.in: Update current PowerPC multilib directories.
12537 Split big and little endian configurations.
12538
12539Tue Jul 18 11:55:33 1995 Ian Lance Taylor <ian@cygnus.com>
12540
12541 * configure.in: Add --enable-single-float option to configure to
12542 control use of MIPS single-float directories. Default to yes.
12543
12544 * Makefile.in (all): Don't recurse into multilib directory if it
12545 does not exist.
12546
12547Mon Jul 17 15:51:30 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12548
12549 * libc/sys/sh/syscalls.c: Fix typo.
12550
12551Mon Jul 3 14:38:52 1995 Steve Chamberlain <sac@slash.cygnus.com>
12552
12553 * Makefile.in, libc/Makefile.in, libc/sys/Makefile.in:
12554 Pass down DLLTOOL.
12555 * libc/include/process.h: Define WAIT_CHILD.
12556 * libc/include/types.h: Get sizes right for win32.
12557 * configure.in (i386-*-pe): Becomes i386-win32.
12558 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
12559 wintypes.h,sys/file.h,sys/resource.h}: Second pass.
12560 * libc/stdlib/mallocr.c: Don't round up memory block if SBRK_IS_ALLOC
12561 is defined.
12562
12563Wed Jun 28 18:34:54 1995 Steve Chamberlain <sac@slash.cygnus.com>
12564
12565 * configure.in (i[345]86-*-pe): New target (NT).
12566 * host/any: DLLTOOL new.
12567 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
12568 wintypes.h,sys/file.h,sys/resource.h}: Preliminary support for
12569 WIN32 (just enough to cross host the comp-tools).
12570
12571Thu Jun 22 11:45:18 1995 Doug Evans <dje@canuck.cygnus.com>
12572
12573 * libc/machine/h8300/{cmpsi.S,ucmpsi.S,divhi3.S,mulhi3.S,mulsi3.S}:
12574 Deleted. These files live in gcc/config/h8300/lib1funcs.asm now.
12575
12576Mon Jun 19 11:40:40 1995 Doug Evans <dje@canuck.cygnus.com>
12577
12578 * libc/include/machine/ieeefp.h (arm): Change to always be
12579 __IEEE_BIG_ENDIAN (even on little endian ARM's).
12580
12581Thu Jun 8 14:22:28 1995 Steve Chamberlain <sac@slash.cygnus.com>
12582
12583 * libc/sys/crt0.S: Initialze sp, and call exit after main.
12584 * libc/sys/syscalls.c (abort): New.
12585 * configure.in (arm): Define ABORT_PROVIDED.
12586
12587Wed Jun 7 14:04:35 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12588
12589 * configure.in (powerpc): Define multidirs.
12590
12591Mon Jun 5 16:10:13 1995 Doug Evans <dje@canuck.cygnus.com>
12592
12593 * libc/sys/arm/crt0.S: Add __USER_LABEL_PREFIX__ support.
12594
12595Thu Jun 1 10:51:47 1995 Sean Eric Fagan <sef@cygnus.com>
12596
12597 * configure.in (sparclite): Delete target_cflags. Define multidirs.
12598
12599Wed May 24 14:23:25 1995 Steve Chamberlain <sac@slash.cygnus.com>
12600
12601 * configure.in, libc/include/machine/ieeefp.h: Modified
12602 for arm:
12603 libc/machine/arm/*, libc/sys/arm/*: New
12604
12605Tue May 23 13:53:07 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12606
12607 * libc/include/machine/ieeefp.h: Use __PPC__ instead of
12608 __powerpc__ when determining endianness.
12609
12610Wed May 10 07:55:56 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12611
12612 * configure.in (m68*): Add multidir for the m68332.
12613
12614 * host/any (CC): Fix typo in last change.
12615
12616Fri Apr 14 22:20:31 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
12617
12618 * libc/include/sys/config.h: Test __m68k__ instead of __m68000__
12619 when determining endianness.
12620 * libc/include/machine/ieeefp.h: Ditto.
12621 * libc/machine/m68k/setjmp.S: Use '&' instead of '#' for immediate
12622 operands.
12623
12624Fri Apr 14 14:14:29 1995 Doug Evans <dje@chestnut.cygnus.com>
12625
12626 * libc/include/errno.h (ENOTEMPTY): Define.
12627
12628Thu Apr 6 12:21:20 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12629
12630 * configure.in (sparc-sun-sunos*): Add -DMALLOC_ALIGNMENT=8 to
12631 target_cflags.
12632
12633 * libc/sys/sun4/Makefile.in (COPYOFILES): Added rem.o, multiply.o,
12634 and umultiply.o.
12635
12636 * libc/stdio/tmpnam.c (worker): Unconditionally increment count
12637 instead of only when open succeeds. ANSI requires that multiple
12638 calls to tmpnam() result in different files.
12639
12640 * libc/sys/sun4/Makefile.in (COPYRENAMEOFILES): New macro, list of
12641 objects pulled in from /lib/libc.a that must be renamed before
12642 being pulled into newlib. /lib/libc.a's div.o conflicted with
12643 newlib's file with the same name.
12644
12645 * libc/stdlib/ldiv.c (ldiv): Call labs() instead of abs().
12646
12647 * host/any (CC, AS, AR, RANLIB): Changed so that executables in
12648 the build tree will only be used if the executables are present
12649 (instead of just the Makefiles).
12650
12651 * libc/include/stdlib.h (mblen, mbtowc, wctomb, mbstowcs,
12652 wcstombs): Define.
12653 * libc/stdlib/{mblen.c, mbstowcs.c, wcstombs.c}: New files, null
12654 versions of these functions that I orignally wrote for the
12655 NetBSD C library.
12656 * libc/stdlib/{mbtowc.c, wctomb.c}: Replaced functions with
12657 versions I wrote for NetBSD.
12658
12659Wed Mar 29 12:42:42 1995 Kung Hsu <kung@mexican.cygnus.com>
12660
12661 * libc/sys/sparclite/Makefile.in: add crt0.s and make info.
12662 * libc/sys/sparclite/crt0.s: ditto.
12663
12664Tue Mar 28 20:28:03 1995 Rob Savoye <rob@rtl.cygnus.com>
12665
12666 * configure.in: Add soft-float for proelf.
12667
12668Mon Mar 27 12:07:56 1995 Steve Chamberlain <sac@bang.hack.com>
12669
12670 * libc/stdlib/mprec.h (Bcopy): Copy the right number
12671 of bytes.
12672
12673Mon Mar 27 11:24:22 1995 Doug Evans <dje@chestnut.cygnus.com>
12674
12675 * Makefile.in (all): Depend on `force'.
12676 * configure.in (syscall_dir): Renamed from fake_sys_dir.
12677 (libc_syscall_lib): Renamed from libc_fake_sys_lib.
12678 (LIBC_SYSCALL_LIB): Renamed from LIBC_FAKE_SYS_LIB.
12679 * libc/Makefile.in: Likewise.
12680 * libc/include/reent.h: Update syscall references.
12681 (_fcntl_r): Add prototype.
12682 * libc/syscalls/*.c #include <reent.h>.
12683 (*) Call reentrant version if REENTRANT_SYSCALLS_PROVIDED.
12684
12685Mon Mar 20 16:57:39 1995 Doug Evans <dje@deneb.cygnus.com>
12686
12687 * libc/include/sys/stat-dj.h (S_ISBLK): Define.
12688 (S_ISCHR, S_ISDIR, S_ISFIFO, S_ISREG): Define.
12689 * libc/include/sys/stat.h (stat-dj.h): Include ifdef MSDOS.
12690 (time.h, sys/types.h): Always include (even if MSDOS).
12691 (stat): Fix prototype.
12692
12693Fri Mar 10 11:30:38 1995 Ian Lance Taylor <ian@cygnus.com>
12694
12695 * configure.in (i[345]86-*-go32): Compile with -DNO_EXEC.
12696
12697Mon Feb 27 18:00:39 1995 Jim Wilson <wilson@chestnut.cygnus.com>
12698
12699 * libc/machine/h8500/psi.S (EXTPSIHI_RN_SN): Ifdef out.
12700
12701Mon Feb 13 16:10:03 1995 Ian Lance Taylor <ian@cygnus.com>
12702
12703 * libc/include/regdef.h: New file.
12704 * libc/machine/mips/machine/regdef.h: New file.
12705
12706Mon Feb 6 15:24:29 1995 Doug Evans <dje@canuck.cygnus.com>
12707
12708 * libc/sys/sparc64/sys/fcntl.h (open): Add ellipsis.
12709
12710Fri Jan 27 13:52:10 1995 Steve Chamberlain <sac@splat>
12711
12712 * libc/sys/sh/crt0.S: Pass main's return to exit.
12713 * libc/sys/sh/trap.S: Put errno in the right place.
12714
12715Tue Jan 24 18:57:56 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
12716
12717 * libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Integrate change
12718 from fdlibm 5.2: handle |x| < 3pi/4 more efficiently.
12719 * libm/math/ef_rem_pio2.c: Likewise.
12720 * libm/math/e_log10.c: Remove unused static one.
12721 * libm/math/ef_log10.c: Likewise.
12722 * libm/math/s_frexp.c: Likewise.
12723 * libm/math/sf_frexp.c: Likewise.
12724
12725Sun Jan 22 21:26:14 1995 Steve Chamberlain <sac@splat>
12726
12727 * libc/sys/go32/Makefile.in, clock.S, dir.c, setjmp.S, stat.c,
12728 longjmp.S: Upgraded.
12729 * libc/sys/go32/sys/setjmp.h: Upgraded.
12730 * libc/sys/go32/sys/go32.h, dpmi.h: New files.
12731
12732Fri Jan 20 18:33:18 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
12733
12734 * configure.in: Add many entries to multidirs for mips targets.
12735
12736Wed Jan 18 10:19:25 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12737
12738 * libm/math/e_jn.c (__ieee754_yn): Integrate change from fdlibm
12739 5.2 which fixes bug where jn(-1,x) is three times larger than
12740 the actual answer.
12741 * libm/math/ef_jn.c (__ieee754_ynf): Likewise.
12742
12743Sun Jan 15 21:48:58 1995 Steve Chamberlain <sac@splat>
12744
12745 * libc/sys/w65/sys/syscalls.h: New file
12746 * libc/include/machine/ieeefp.h: W65 support.
12747 * libc/include/sys/config.h: Ditto.
12748 * libc/machine/w65/Makefile.in, cmpsi, divsi3, lshrhi.s, mulsi3.c,
12749 sdivhi3.s, smulhi3.s, udivhi3.s, umodhi3.s: New files.
12750 * libc/sys/w65/Makefile.in, crt0.c, syscalls.c, trap.c: New files.
12751
12752Wed Jan 11 15:59:01 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
12753
12754 * libc/sys/Makefile.in (lib.a, crt0.o): Depend upon subs.
12755
12756Tue Jan 3 15:57:03 1995 Rob Savoye <rob@darkstar.cygnus.com>
12757
12758 * Makefile.in, configure.in: Remove any references to the old
12759 "stub" dir.
12760
12761Thu Dec 22 10:42:08 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
12762
12763 * libc/syscalls/sysopen.c: Write _HAVE_STDC version of open, which
12764 uses ... in prototype.
12765
12766
12767Wed Nov 30 08:39:42 1994 Ian Lance Taylor <ian@rtl.cygnus.com>
12768
12769 * libc/sys/a29khif/sys/libconfig.h: Remove.
12770 * libc/sys/go32/sys/libconfig.h: Remove.
12771 * libc/sys/sun4/sys/libconfig.h: Remove.
12772 * libc/sys/sysvi386/sys/libconfig.h: Remove.
12773 * libc/sys/sysvnecv70/sys/libconfig.h: Remove.
12774 * libc/sys/sparc64/sys/libconfig.h: Remove.
12775
12776 * libc/include/_ansi.h (_FLOAT_ARG, _FLOAT_RET): Don't define.
12777 * libc/include/sys/config.h (_FLOAT_ARG, _FLOAT_RET): Likewise.
12778 * libc/include/math.h: Change all uses of _FLOAT_RET and
12779 _FLOAT_ARG to float.
12780 * libm/test/math.c: Likewise.
12781 * testsuite/libm.sac/math.c: Likewise.
12782 * testsuite/libm.sac/working/math.c: Likewise.
12783
12784Wed Nov 23 22:39:28 1994 Steve Chamberlain (sac@jonny.cygnus.com)
12785
12786 * libc/sys/sh/trap.s,crt0.s,setjmp.s: Renamed with .S so that
12787 gcc calls gas with endian option.
12788 * configure.in (sh): Build little endian version too.
12789
12790Wed Nov 16 18:21:45 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
12791
12792 * configure.in: Configure big and little endian versions for MIPS
12793 targets.
12794
12795Sat Nov 12 21:12:51 1994 Doug Evans <dje@canuck.cygnus.com>
12796
12797 * libc/include/limits.h: Deleted.
12798 * libc/include/machine/limits.h: Deleted.
12799
12800Thu Nov 10 15:32:44 1994 Rob Savoye <rob@rtl.cygnus.com>
12801
12802 * ChangeLog: Remove stub directory. This has all been rewritten
12803 and moved to devo/libgloss.
12804
12805Thu Sep 29 18:31:04 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
12806
12807 * Makefile.in (dvi): Add to info target, use $@ in sub make.
12808 (docs): Merge into info target.
12809 * libm/Makefile.in (dvi): Add $(srcdir).
12810 * libm/math/Makefile.in (chobjs): Remove underscores from file
12811 names. Texinfo doesn't like them.
12812 (wacos.def, ...): Add explicit targets for all .def files.
12813 * libm/math/math.tex: Remove underscores from @include file names.
12814 * doc/Makefile.in (dvi): Add dummy target.
12815 * testsuite/Makefile.in (dvi): Add dummy target.
12816
12817Mon Sep 26 21:17:46 1994 Doug Evans (dje@canuck.cygnus.com)
12818
12819 * Makefile.in (VERSION): Define. For net newlib releases.
12820
12821Thu Sep 22 19:01:26 1994 Doug Evans (dje@canuck.cygnus.com)
12822
12823 * README: New file.
12824
12825Mon Sep 19 16:35:23 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
12826
12827 * libc/stdlib/ecvtbuf.c (_gcvt): Undo last change.
12828
12829Mon Sep 19 11:44:23 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
12830
12831 * libc/stdlib/setenv.c (_findenv): Declare.
12832
12833 * libc/include/sys/fcntl.h: Fix declarations of open, creat, and
12834 fcntl to not use _EXFUN, and change string parameters to open and
12835 creat to be ``const char *''.
12836 * libc/sys/sparc64/sys/fcntl.h: Likewise.
12837 * libc/sys/sparc64/creat.c (creat): Make PATH const.
12838 * libc/syscalls/sysopen.c: Include <fcntl.h>.
12839 (open) Make _FILE const.
12840 * libc/sys/z8ksim/glue.c (_open): Make BUF const.
12841 (_creat): Make PATH const.
12842 * libc/sys/h8300hms/syscalls.c (_open): Make PATH const.
12843 * libc/sys/h8500hms/syscalls.c (_open): Likewise.
12844 * libc/sys/m88kbug/syscalls.c (open): Likewise.
12845 * libc/sys/sh/syscalls.c (_open): Likewise.
12846 * stub/shared/glue.c (open): Make BUF const.
12847 * stub/ex93x/syscalls.c (open): Make FILENAME const.
12848
12849Thu Sep 8 16:39:12 1994 Steve Chamberlain (sac@jonny.cygnus.com)
12850
12851 * libc/include/errno.h: Add ENMFILE
12852 * libc/include/sys/config.h: Support Z8000.
12853 * libc/include/sys/signal.h: New signals for go32.
12854 * libc/machine/h8500/psi.S (__addpsir0r0): New function
12855 * libc/machine/h8500/cmpsi.S (__ucmppsi2): New function
12856 * libc/machine/sh/sdivsi3.s (__sdivsi3): Rewritten.
12857 * libc/stdlib/mallocr.c (_morecore_r): Minimum chunk
12858 size is variable, depending upon CHUNK_POWER.
12859 * libc/sys/go32/*.c: Upgrade to new go32 stuff.
12860
12861Sun Sep 4 17:42:43 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
12862
12863 * libc/stdlib/ecvtbuf.c (_gcvt): Output '-' for negative numbers.
12864
12865Fri Sep 2 10:56:01 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
12866
12867 * libc/include/_ansi.h (_PARAMS): Don't define if already defined.
12868
12869Wed Aug 24 11:11:03 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
12870
12871 * configure.in: Change i[34]86 to i[345]86.
12872
12873 * libc/include/math.h: Don't define HUGE_VAL if it is already
12874 defined.
12875
12876Wed Aug 17 15:18:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
12877
12878 * testsuite/libm.sac/test_erfc.c: Correct some result values.
12879 * testsuite/libm.sac/test_gammaf.c: Likewise.
12880 * testsuite/libm.sac/test_sin.c: Likewise.
12881 * testsuite/libm.sac/test_tanh.c: Likewise.
12882
12883Tue Aug 16 16:12:53 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
12884
12885 * libc/include/machine/ieeefp.h: Don't try set endianness if it is
12886 already set. Define typedefs __int32_t and __uint32_t.
12887 * libc/include/math.h: Include <machine/ieeefp.h>.
12888 (union __dmath): Use __uint32_t.
12889 * libm/math/fdlibm.h, libm/math/*.c: Use __int32_t and __uint32_t
12890 instead of int and unsigned int.
12891
12892Thu Aug 11 15:16:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
12893
12894 Replace the math library with the SunPRO fdlibm package.
12895 * libm/math: Completely changed all files.
12896 * libm/ieeefp: Remove contents and directory.
12897 * libm/Makefile.in (LIBM_FP_LIB): Remove.
12898 (SUBDIRS): Just set to math/lib.a.
12899 * libm/libm.texinfo: Updated for new library.
12900 * libc/include/math.h: Extensive changes for new math library.
12901 * libc/include/ieeefp.h (isnanf, isinff, finitef): Change argument
12902 from _FLOAT_ARG to float.
12903 (maxpowtwo, maxpowtwof): Don't declare.
12904 * configure.in (fp_dir): Removed; was always ieeefp anyhow.
12905 (libm_fp_lib): Removed.
12906 * Makefile.in (MATHOBJS_IN_LIBC): Updated with new file names.
12907 * testsuite/libm.paranoia/Makefile.in (check): Correct --srcdir
12908 argument to ${RUNTEST}.
12909 * testsuite/libm.sac/Makefile.in (LOCAL_CFLAGS): Define.
12910 (.c.o): New rule.
12911 (RUNTESTFLAGS): Set CC and CFLAGS.
12912 (TESTS): Remove test_log2 and test_log2f.
12913 (${TESTS}): Pass ${LOCAL_CFLAGS}, not ${CFLAGS}.
12914 * testsuite/libm.sac/math.c (run_vector_1): Use float, not
12915 _FLOAT_ARG, for single precision argument type.
12916 * testsuite/libm.sac/sac.exp: Treat an error in bit 63 as an
12917 expected failure. Close the input pipe.
12918 * testsuite/libm.sac/test.c (test_sok, test_iok, test_scok):
12919 Correct misspelling of inaccurate.
12920 (test_mok): Use ``inaccurate'', not ``wrong''.
12921 * testsuite/libm.sac/{test_acos.c, test_acosh.c, test_asin.c,
12922 test_asinh.c, test_atan.c, test_atanh.c, test_ceil.c,
12923 test_ceilf.c, test_cos.c, test_cosh.c, test_erf.c, test_erf.c,
12924 test_fabs.c, test_floor.c, test_floorf.c, test_fmod.c,
12925 test_fmodf.c, test_gamma.c, test_log1p.c, test_log1pf.c,
12926 test_yn.c): Correct many result values. Many are still wrong.
12927
12928 * libc/stdlib/ecvtbuf.c (print_e): If _dtoa_r sets decpt to 9999,
12929 just copy the string.
12930 (_gcvt): Always return the buffer.
12931
12932Tue Aug 9 13:43:23 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
12933
12934 * bcopy.c: fixed documentation, bcopy was not specified by ANSI.
12935
12936Wed Aug 3 05:39:41 1994 D. V. Henkel-Wallace (gumby@cygnus.com)
12937
12938 * libc/include/sys/reent.h: (struct _Bigint): add _reclaim
12939 structure.
12940 (struct _reent): add _p5s, _cvtlen, _cvtbuf.
12941 (_reclaim_reent): declare new entry point.
12942 * libc/reent/reent.c (cleanup_glue, _reclaim_reent): new
12943 functions.
12944
12945 * libc/stdlib/mprec.c (Balloc): Keep track of every struct bigint
12946 ever allocated, so that we can later reclaim them all.
12947 (pow5mult): make reentrant.
12948
12949 * libc/stdlib/ecvtbuf.c (fcvtbuf, ecvtbuf): extend these functions
12950 so that when given NULL as a buffer, return a pointer to static
12951 space in the rent structure. This is not documented behaviour;
12952 it's only to support ecvt and fcvt, which aren't ANSI anyway.
12953 * libc/stdlib/efgcvt.c (fcvt, ecvt) Use new functionality (and
12954 therefore become reentrant).
12955
12956 * libc/stdlib/dtoastub.c: remove spurious inclusion of mprec.h.
12957
12958Mon Aug 1 16:52:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
12959
12960 * libc/include/machine/ieeefp.h: Check _AM29K, not ___AM29K__.
12961
12962Thu Jul 28 15:40:21 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
12963
12964 * Makefile.in: Make link to libg.a after libc.a; this is needed
12965 for the testsuites to build executables when everything comes
12966 from the tree.
12967
12968Mon Jun 27 17:14:29 1994 Bill Cox (bill@rtl.cygnus.com)
12969
12970 * libc/Makefile.in: Add a VERSION variable so we can keep track.
12971 * libm/Makefile.in: Add a VERSION variable so we can keep track.
12972
12973Wed Jun 22 10:26:00 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
12974
12975 * libc/include/stdio.h: Use __VALIST, not va_list.
12976
12977Tue May 17 15:43:28 1994 Bill Cox (bill@rtl.cygnus.com)
12978
12979 * testsuite/config/unix-libm.exp, testsuite/lib/libm.exp,
12980 testsuite/libm.sac/execute.exp:
12981 Replace error proc calls with perror calls.
12982
12983Wed May 11 09:25:28 1994 Doug Evans (dje@canuck.cygnus.com)
12984
12985 * libc/include/*.h: #include "_ansi.h" instead of <_ansi.h>.
12986 * libc/include/time.h: #define NULL as 0L.
12987
12988Mon May 9 18:41:20 1994 Doug Evans (dje@canuck.cygnus.com)
12989
12990 * host/any (INCLUDES): Delete -I of gcc/include, gcc -B takes
12991 care of it.
12992
12993Mon May 9 18:39:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
12994
12995 * libc/include/sys/signal.h: Check for __GO32__, not __i386__ and
12996 not __unix__.
12997
12998Sat May 7 17:07:36 1994 Steve Chamberlain (sac@cygnus.com)
12999
13000 * configure.in (TARGET_CFLAGS): Set -O2 as default.
13001 (z8k-*-*): Use syscalls fake sys dir.
13002 * libc/sys/z8k/glue.c: Rename syscalls.
13003 * libc/sys/go32/Makefile.in: Use new routines.
13004 * libc/machine/Makefile.in: Fix typo in ln stuff.
13005
13006Thu May 5 13:47:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
13007
13008 * Makefile.in (libm.a, crt0.o): Use cp if ln fails.
13009 * libc/Makefile.in (crt0.o): Likewise.
13010 * libc/machine/Makefile.in (lib.a): Likewise.
13011 * libc/sys/Makefile.in (lib.a, crt0.o): Likewise.
13012
13013 All Makefile.in files: Added mostlyclean, realclean and distclean
13014 targets.
13015
13016 * Makefile.in: Don't bother to unexport XTRAFLAGS or
13017 XTRAFLAGS_FOR_TARGET, since they are no longer passed down from
13018 the top level Makefile.
13019
13020Tue Apr 26 15:10:34 1994 Doug Evans (dje@canuck.cygnus.com)
13021
13022 * libc/sys/sparc64/sys/stat.h: New file.
13023 * libc/sys/sparc64/sys/time.h: New file.
13024 * libc/sys/sparc64/sys/types.h: New file.
13025
13026Fri Apr 22 12:58:24 1994 Stan Shebs (shebs@andros.cygnus.com)
13027
13028 * stub/ex93x/crt0.s (start): Add code to clear bss.
13029
13030Wed Apr 13 10:34:58 1994 Doug Evans (dje@canuck.cygnus.com)
13031
13032 * libc/include/sys/types.h (time_t): Properly protect inside
13033 #ifndef __time_t_defined.
13034
13035 * libc/stdio/fileno.c: New file.
13036 * libc/stdio/Makefile.in (OFILES, CHEWOUT_FILES): Add fileno.
13037 (fileno.o): Add dependency.
13038 * libc/include/stdio.h (__sgetc): Rename never to _never.
13039 (fileno macro): Disable, needs to do CHECK_INIT first.
13040
13041Mon Apr 11 17:37:09 1994 Bill Cox (bill@rtl.cygnus.com)
13042
13043 * testsuite/Makefile.in (EXPECT, RUNTEST): Set these for the check
13044 goal.
13045
13046 * testsuite/Makefile.in (check): Set TCL_LIBRARY for runtest.
13047 * testsuite/libm.paranoia/Makefile.in (check): Set TCL_LIBRARY for
13048 runtest.
13049 * testsuite/libm.sac/Makefile.in (check): Set TCL_LIBRARY for
13050 runtest.
13051
13052Sat Apr 9 16:18:09 1994 Doug Evans (dje@cygnus.com)
13053
13054 * libc/sys/sparc64/sys/fcntl.h: New file, define solaris versions
13055 of the various constants.
13056
13057Thu Apr 7 21:19:07 1994 Mark Eichin (eichin@cygnus.com)
13058
13059 * libc/include/math.h: #ifndef __math_68881 around things which
13060 conflict with the (gcc-provided) inline functions in
13061 gcc/ginclude/math-68881.h.
13062
13063Thu Apr 7 02:50:43 1994 Doug Evans (dje@cygnus.com)
13064
13065 * libc/include/_syslist.h (_gettimeofday): Define.
13066 (_times): Ditto.
13067 * libc/include/reent.h: #include <machine/types.h> to get _CLOCK_T_.
13068 (struct tms, timeval, timezone): Declare.
13069 (_gettimeofday_r, _times_r): Declare.
13070 * libc/include/time.h (_CLOCK_T_): Don't #undef. Remove
13071 #ifdef _CLOCK_T_ surrounding definition of clock_t.
13072 (time_t): Add multiple definition protection, __time_t_defined.
13073 * libc/include/sys/time.h: Don't #include <time.h>.
13074 Always define struct timezone (remove #ifndef _TIME_H_).
13075 * libc/include/sys/times.h (_CLOCK_T_): Don't #undef. Remove
13076 #ifdef _CLOCK_T_ surrounding definition of clock_t.
13077 * libc/reent/Makefile.in (OFILES): Add timer.o.
13078 (CHEWOUT_FILES): Add timer.def. Add timer.o/timer.c dependence.
13079 * libc/reent/timer.c: New file.
13080 * libc/time/clock.c: #include <reent.h>.
13081 (clock): Call _times_r instead of times.
13082 * libc/time/time.c (HAVE_GETTIMEOFDAY): Renamed from
13083 HAVE_GET_TIME_OF_DAY.
13084 Add comment regarding supporting OS routine(s) required (for docs).
13085 #include <reent.h>.
13086 (time): Call _gettimeofday_r instead of gettimeofday.
13087 * libc/time/asctime.c: Fix comment regarding supporting OS routines.
13088 * libc/time/ctime.c: Ditto.
13089 * libc/time/strftime.c: Ditto.
13090 * libc/sys/sparc64/Makefile.in (TEMPLATE_SFILES): Remove gettimeofday.
13091 (TEMPLATE_SFILES_R): Define here. Also define times.
13092 Add times_r.o/times.S dependence.
13093 (time2.c, junk.c): Deleted.
13094 * libc/sys/sparc64/time2.c: Deleted.
13095 * configure.in (sparc64-*-*): Define HAVE_GETTIMEOFDAY.
13096
13097 * libc/stdio/mktemp.c (_getpid_r): Renamed from _getpid.
13098 * libc/stdio/tmpnam.c (_getpid_r): Ditto.
13099 * libc/sys/sparc64/junk.c: Deleted.
13100
13101Mon Mar 21 16:51:03 1994 Doug Evans (dje@canuck.cygnus.com)
13102
13103 * libc/sys/sparc64/Makefile.in: Add times syscall.
13104 * libc/sys/sparc64/crt0.S: Handle stack bias at run time so we can
13105 be used with and without it. Add comment clarifying Medium/Anywhere
13106 model requirements.
13107 * libc/sys/sparc64/sigsetjmp.S (setjmp, longjmp): Add svr4 support.
13108 * libc/sys/sparc64/sys/syscall.h (SYS_times): Define for sunos4
13109 even if obsolete.
13110
13111Sun Mar 20 15:51:47 1994 Doug Evans (dje@cygnus.com)
13112
13113 * configure.in (target_cflags): Move init.
13114 (sparc64-*-*): Define HAVE_BLKSIZE.
13115
13116Wed Mar 9 10:44:52 1994 Doug Evans (dje@canuck.cygnus.com)
13117
13118 * libc/include/sys/_types.h: New file.
13119 * libc/include/reent.h: #include it.
13120 Add comment describing REENTRANT_SYSCALLS_PROVIDED and
13121 MISSING_SYSCALL_NAMES.
13122 Sort syscalls.
13123 * libc/include/_syslist.h: Remove _raise.
13124 * libc/reent/signalr.c: New file.
13125 * libc/reent/Makefile.in: Compile it.
13126 * libc/signal/signal.c: Only use ifdef SIMULATED_SIGNALS.
13127 Add doc for raise and _raise_r.
13128 * libc/signal/raise.c: Only use ifndef SIMULATED_SIGNALS.
13129 (raise): Call _raise_r.
13130 (_raise_r): Call _getpid_r and _kill_r.
13131 * libc/stdlib/abort.c: Remove inclusion of stdio.h and _syslist.h.
13132 (abort): Loop forever calling raise and _exit.
13133
13134Mon Mar 7 14:40:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
13135
13136 * configure.in: Remove extraneous echo.
13137
13138Thu Mar 3 12:14:22 1994 Doug Evans (dje@canuck.cygnus.com)
13139
13140 * libc/sys/sparc64/sys/dirent.h (MAXNAMLEN): #undef to avoid
13141 collision with unistd.h, and fix for svr4.
13142
13143Wed Mar 2 13:55:25 1994 Doug Evans (dje@canuck.cygnus.com)
13144
13145 * libc/stdio/local.h (_llicvt): Declare.
13146 (CVT_BUF_SIZE): Define (and buffer size from 512 to 128).
13147 * libc/stdio/cvt.c: Include "local.h" to get CVT_BUF_SIZE.
13148 (_llicvt): Define.
13149 (_sicvt): Fix function header (`value' is short).
13150 * libc/stdio/vfprintf.c (_vfprintf_r): Use CVT_BUF_SIZE.
13151 Add printing of long long's support.
13152 Add printing of 8 byte pointer support.
13153
13154Fri Feb 11 21:52:11 1994 Steve Chamberlain (sac@sphagnum.cygnus.com)
13155
13156 * libc/sys/sh/syscalls.c (pipe, execv, wait, fork, utime, chown,
13157 stat, chmod): New hooks.
13158 (sbrk): Abort if stack and heap collide.
13159 * libc/machine/sh/udivsi3, libc/machine/sh/sdivsi3 Modified to
13160 shortcut when given small args.
13161 * libc/machine/sh/setjmp.s: Rewritten.
13162 * libc/machine/sh/strcmp.s (strcmp): New function takes advantage
13163 of cmp/str instruction.
13164
13165Wed Feb 9 15:12:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
13166
13167 * configure.in: Accept powerpc* as a CPU type, using fp_dir ieeefp
13168 and machine_dir powerpc.
13169 * libc/include/machine/setjmp.h, libc/include/machine/ieeefp.h:
13170 Add cases for __powerpc__.
13171 * libc/machine/powerpc/Makefile.in, libc/machine/powerpc/setjmp.S:
13172 New files.
13173
13174 * libc/include/stdio.h (_iprintf_r): Declare correctly.
13175
13176Thu Jan 27 10:36:27 1994 Steve Chamberlain (sac@cygnus.com)
13177
13178 * libc/stdlib/callocr.c: New file with _calloc_r in it.
13179 * libc/stdlib/calloc.c (calloc_r): Now in callocr.c
13180
13181Thu Jan 20 15:14:37 1994 Doug Evans (dje@canuck.cygnus.com)
13182
13183 * libc/stdlib/ecvtbuf.c (print_f): Remove local "done".
13184 (print_e): More comments to describe args, etc.
13185 "type" arg may now be 'g' or 'G' for %g/G format --> remove
13186 trailing blanks.
13187 (_gcvt): Remove locals decpt, sign, end, p, done.
13188 More comments for print_e invocation.
13189 Pass "type" to print_e as is (g/G).
13190
13191Wed Jan 19 16:34:18 1994 Rob Savoye (rob@darkstar.cygnus.com)
13192
13193 * stub/shared/m68k-crt0.S: Changed so it compiles (and runs) on a
13194 stock m68000.
13195
13196Mon Jan 17 15:41:53 1994 Doug Evans (dje@canuck.cygnus.com)
13197
13198 * libc/stdlib/mallocr.c (_morecore_r): Fix aligning of pointer so it
13199 works with any sized pointer, including ones bigger than ints and
13200 longs.
13201
13202Thu Jan 6 14:53:21 1994 Doug Evans (dje@canuck.cygnus.com)
13203
13204 * libc/sys/sparc64/{time2.c,utime.S,utime2.c}: New files.
13205
13206Sat Dec 11 16:17:20 1993 Steve Chamberlain (sac@thepub.cygnus.com)
13207
13208 * libc/include/stdlib.h (_calloc_r): Add prototype.
13209 * libc/machine/h8500/negsi2.c: New file.
13210 * libc/machine/h8500/divsi3.c: Prevent overflow when dividing v
13211 large unsigned numbers.
13212 * libc/machine/h8500/cmpsi.c: Add cmppsi.
13213 * libc/stdlib/mallocr.c (morecore_r): Fix aligning pointers so it
13214 works when sizeof(size_t) != sizeof(char *).
13215 * libc/stdlib/mprec.c (Balloc): Call calloc rather than malloc to
13216 get play area
13217 * libc/stdlib/mprec.h: Define Just_16 if generating for z8000.
13218
13219Mon Dec 6 15:59:53 1993 Doug Evans (dje@rtl.cygnus.com)
13220
13221 * libc/include/assert.h (assert): Handle -traditional.
13222
13223Tue Nov 16 15:49:24 1993 Mark Eichin (eichin@cygnus.com)
13224
13225 * Makefile.in: added ; after every "fi" and "done" that wasn't at
13226 the end of a line (ie. anything before a backslash continuation)
13227 so that bash handles them.
13228
13229Tue Nov 16 12:31:57 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
13230
13231 * libc/sys/go32/lstat.s: new file, copied from stat.s and renamed
13232 stat to lstat
13233
13234Mon Nov 15 15:50:43 1993 Steve Chamberlain (sac@jonny.cygnus.com)
13235
13236 * libc/sys/sh/crt0.s, libc/sys/sh/trap.s,
13237 libc/machine/sh/sdivsi3.s, libc/machine/sh/setjmp.s,
13238 libc/machine/sh/udivsi3.s: Use new calling convention.
13239
13240Mon Nov 15 15:25:38 1993 Mark Eichin (eichin@cygnus.com)
13241
13242 * libc/include/sys/unistd.h, libc/include/sys/stat.h: ANSI-fy
13243 chmod, access, chdir, chown by making _path const. Also fix _amode
13244 param of access.
13245
13246Fri Nov 12 20:25:28 1993 Mark Eichin (eichin@cygnus.com)
13247
13248 * libc/sys/a29khif/_tmpnam.s (_tmpnam): renamed function to
13249 _khif_tmpnam, because it doesn't comply with ANSI but may be
13250 useful anyway. Real tmpnam was already in libc/stdio, and was
13251 colliding with this one (pr 2176.)
13252 * libc/sys/a29khif/stubs.s (tmpnam): removed tmpnam. This file is
13253 the wrong idea anyhow.
13254
13255Mon Nov 8 07:50:16 1993 Doug Evans (dje@canuck.cygnus.com)
13256
13257 * configure.in: Remove h8300h, we have multilib now.
13258
13259Fri Nov 5 12:37:27 1993 Mark Eichin (eichin@cygnus.com)
13260
13261 * libc/string/strcasecmp.c, libc/string/strncasecmp.c: new
13262 functions, to get preference over the ones in libiberty (since we
13263 provide correct declarations in <string.h>.
13264 * libc/string/Makefile.in: add support for strncasecmp,
13265 strcasecmp.
13266
13267Fri Nov 5 09:05:45 1993 D. V. Henkel-Wallace (gumby@blues.cygnus.com)
13268
13269 * Change netware config not to look for cpu explicitly.
13270
13271Thu Nov 4 14:21:25 1993 Doug Evans (dje@canuck.cygnus.com)
13272
13273 * libc/sys/sparc64/{creat.c,junk.c}: New files.
13274 * libc/sys/sparc64/Makefile.in: Add dependencies.
13275
13276Wed Nov 3 10:42:49 1993 Doug Evans (dje@canuck.cygnus.com)
13277
13278 * configure.in: Clean up v9 a bit, new "os" aoutv8.
13279
13280Tue Nov 2 10:00:44 1993 D. V. Henkel-Wallace (gumby@cygnus.com)
13281
13282 * libc/include/sys/reent.h: make structure smaller by allocating
13283 some stuff when needed.
13284 * libc/signal/signal.c: allocate as needed
13285 * libc/stdio/findfp.c,stdio/local.h: ditto
13286 * libc/stdlib/mprec.c: ditto
13287
13288 * libc/time/localtime.c: don't return a dangling stack ptr.
13289
13290Wed Sep 29 20:42:34 1993 Rob Savoye (rob@darkstar.cygnus.com)
13291
13292 * stub/mvme135/crt0.S, stub/mvme135/glue.c: Moved to stub/generic.
13293
13294Wed Sep 29 16:27:49 1993 K. Richard Pixley (rich@sendai.cygnus.com)
13295
13296 * libc/include/stdio.h (__sputc): comment out static inline which
13297 confuses coff toolchains.
13298
13299Thu Sep 2 16:31:36 1993 Mark Eichin (eichin@cygnus.com)
13300
13301 * libc/sys/a29khif/{_close.s, _fstat.s, _lseek.s, _sbrk.s,
13302 _write.s, getpid.c, kill.c, read.s}:
13303 * libc/sys/a29khif/stubs.s: eliminated stubs that already go
13304 through the syscalls directory.
13305
13306Fri Oct 29 13:59:58 1993 Jeffrey Wheat (cassidy@cygnus.com)
13307
13308 * configure.in: fixed double quote gotcha.
13309
13310Wed Oct 27 15:27:09 1993 Rob Savoye (rob@darkstar.cygnus.com)
13311
13312 * stub/ex931: stub library for sparclite board.
13313 * stub/idp: Renamed from mc68ec. Added contructor table
13314 stuff to linker script.
13315 * stub/mvme135: Renamed from m68kmvme. Added contructor table
13316 stuff to linker script.
13317
13318Tue Oct 26 17:01:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
13319
13320 * configure.in: Configure testsuites only if they exist.
13321
13322Tue Oct 26 12:37:11 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
13323
13324 * configure.in: Don't set machine_dir for i386 until there is
13325 something in libc/machine/i386 to compile. For i[34]86-*-netware*
13326 use sys/netware, don't use signal, define NO_EXEC, ABORT_PROVIDED,
13327 CLOCK_PROVIDED and MALLOC_PROVIDED.
13328
13329 * libc/sys/netware: New directory. Contains simplistic and
13330 probably incorrect stubs for NetWare. Should be enough to load
13331 the library.
13332 * libc/sys/netware/crt0.c, libc/sys/netware/environ.c,
13333 libc/sys/netware/getpid.c, libc/sys/netware/link.c: New NetWare
13334 stub files.
13335
13336 * libc/reent/execr.c: Don't use if NO_EXEC is defined.
13337 * libc/reent/sbrkr.c: Don't use if MALLOC_PROVIDED is defined.
13338 * libc/stdlib/abort.c: Don't use if ABORT_PROVIDED is defined.
13339 * libc/time/clock.c: Don't use if CLOCK_PROVIDED is defined.
13340
13341Mon Oct 25 16:48:08 1993 Roland H. Pesch (pesch@cygnus.com)
13342
13343 * testsuite/Makefile.in: add "docs" dummy target for consistency
13344 with rest of newlib; turn "info" and "install-info" into dummy
13345 targets, since they wouldn't have worked. (Depended on
13346 nonexistent "doc" subdir.)
13347
13348Fri Oct 22 20:37:32 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
13349
13350 * configure.in: handle mips* instead of mips
13351
13352Thu Oct 21 08:57:24 1993 Ian Lance Taylor (ian@cygnus.com)
13353
13354 * libc/include/sys/dirent.h: New file. If it is not overridden by
13355 a version of libc/sys/*/sys/dirent.h, it includes the next
13356 <dirent.h> file in case there is one lurking somewhere.
13357
13358Fri Oct 15 14:17:40 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
13359
13360 * libc/stdlib/strtoul.c (_strtoul_r): Several changes for ANSI
13361 compliance, namely: Accept a minus sign. Consider a single 0 with
13362 a radix of 0 as being a conversion. Determine overflow correctly.
13363 If an overflow occurs, set *ptr to the end of the number, not the
13364 middle.
13365 * lib/stdlib/strtol.c (_strtol_r): Determine overflow correctly.
13366
13367Thu Oct 14 21:49:52 1993 Doug Evans (dje@canuck.cygnus.com)
13368
13369 * libc/machine/h8300/divsi3.S (divmodsi4): Fix h8300h case.
13370
13371Fri Oct 1 17:17:34 1993 Doug Evans (dje@canuck.cygnus.com)
13372
13373 * Makefile.in (INSTALL): Use $srcrootpre.
13374 (crt0.o): Replace $< with $(CRT0_DIR)/$(CRT0), Sun make
13375 can't handle it.
13376 * libc/Makefile.in (crt0.o): Spell out $<, Sun make can't handle
13377 it.
13378 * libc/sys/Makefile.in (crt0.o, lib.a): Ditto.
13379 * stub/Makefile.in (crt0.o, TARGETLIB): Ditto.
13380 * libc/sys/sparc64/Makefile.in (isatty.o): Sun VPATH lossage.
13381 * libm/math/Makefile.in (matherr.o): Ditto.
13382
13383Thu Sep 30 11:09:17 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
13384
13385 * configure.in: Build multidirs for z8k.
13386 * libc/include/stdlib.h (_strtoul_r): add prototype.
13387 * libc/include/machine/limits.h: Get INT_MIN right for all the z8k family.
13388 * libc/include/machine/setjmp.h: Add for z8k.
13389 * libc/machine/z8k/{mulsi.o, udivsi3.o, umodsi3.o, modsi3.o} obsolete.
13390 * libc/sys/z8ksim/glue.c: tidy up.
13391
13392Mon Sep 20 14:04:46 1993 Doug Evans (dje@canuck.cygnus.com)
13393
13394 * libc/unix/{execl.c execle.c execlp.c execv.c execvp.c}:
13395 New files. Requires execve system call.
13396 * libc/unix/Makefile.in: Use them.
13397 * libc/sys/sparc64/{execl.c execle.c execlp.c execv.c execvp.c}:
13398 Deleted, moved to libc/unix.
13399 * libc/sys/sparc64/Makefile.in: Remove them.
13400
13401Mon Sep 20 10:38:32 1993 Doug Evans (dje@canuck.cygnus.com)
13402
13403 * libc/sys/sparc64/{template.S template_r.S}: New files.
13404 * libc/sys/sparc64/Makefile.in: Build source for trivial syscalls
13405 from templates.
13406 * libc/sys/sparc64/{chdir.S chmod.S close.S dup.S fcntl.S
13407 fork.S fstat.S lseek.S link.S mkdir.S open.S pipe.S read.S rmdir.S
13408 umask.S unlink.S wait4.S write.S}: Removed, now built from
13409 templates.
13410
13411Sun Sep 19 14:52:57 1993 Doug Evans (dje@canuck.cygnus.com)
13412
13413 * libc/time/time.c: #include <_ansi.h>.
13414
13415Sun Sep 19 13:43:25 1993 Doug Evans (dje@canuck.cygnus.com)
13416
13417 * configure.in (sparc64-*-*): Remove -D__SIZE_TYPE__.
13418
13419Mon Sep 13 13:52:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
13420
13421 * configure.in: match m8* rather than m88k so that m88110 is
13422 recognized as well.
13423
13424Tue Sep 7 12:19:32 1993 Doug Evans (dje@canuck.cygnus.com)
13425
13426 * libc/sys/h8300hms/{Makefile.in, _exit.c, misc.c}:
13427 Renamed exit.c to _exit.c to avoid collision with stdlib/exit.c.
13428 misc.c: New file.
13429
13430 * configure.in: Add multilib support to h8300.
13431
13432Mon Sep 6 14:07:06 1993 Doug Evans (dje@canuck.cygnus.com)
13433
13434 * libc/stdlib/abort.c (abort): Remove _VOLATILE from return type.
13435 * libc/include/_ansi.h (_ATTRIBUTE): New macro for __attribute__.
13436 * libc/include/stdlib.h (exit, abort): Add noreturn attribute.
13437
13438Mon Sep 6 14:24:18 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
13439
13440 * configure.in: Corrected multidirs for sparc target.
13441
13442Mon Aug 30 15:56:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
13443
13444 Support for building newlib multiple times with different
13445 compilation flags.
13446 * configure.in: Only configure doc at top level. Set multidirs
13447 when appropriate for target, unless not at top level. If
13448 multidirs is set, independently configure each subdirectory.
13449 Adjust TOP, MULTIDIRS and MULTISUBDIR appropriately in Makefile.
13450 * Makefile.in (MULTIDIRS, MULTISUBDIR): New variables,
13451 automagically set by configure.in.
13452 (all): If MULTIDIRS is set, build multiple copies of libraries.
13453 (install): If MULTIDIRS is set, install multiple copies of
13454 libraries. Install in $(tooldir)/lib/$(MULTISUBDIR). If
13455 MULTISUBDIR is set, don't bother to install header files.
13456 * host/any (INCLUDES, CHEW): Use $(SRCTOP) rather than $(TOP) from
13457 ${srcrootpre}.
13458 * stub/configure.in: Set MULTISUBDIR appropriately.
13459 * stub/Makefile.in (install): Install in
13460 $(tooldir)/lib/$(MULTISUBDIR).
13461 * All Makefile.in files: Define SRCTOP as well as TOP.
13462
13463Mon Aug 30 10:34:24 1993 Doug Evans (dje@canuck.cygnus.com)
13464
13465 * libc/machine/h8300/{mulhi3.S, divhi3.S}: Comment out if h8300h.
13466 * libc/machine/h8300/{mulsi3.S, divsi3.S}: Add h8300h support.
13467
13468Thu Aug 26 19:38:12 1993 Doug Evans (dje@canuck.cygnus.com)
13469
13470 * libc/sys/h8300hms/exit.c (_exit): New function.
13471
13472Wed Aug 25 16:31:48 1993 K. Richard Pixley (rich@sendai.cygnus.com)
13473
13474 * configure.in: recognize m88110.
13475
13476Fri Aug 20 16:46:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
13477
13478 * libc/sys/m88kbug/crt0.c: pretty up, remove extraneous comments,
13479 prototype main and call with args.
13480
13481Fri Jul 30 16:52:47 1993 K. Richard Pixley (rich@cygnus.com)
13482
13483 First real try at system traps for m88k-bug.
13484 * libc/sys/m88kbug/syscalls.c: many changes. Convert from stubs
13485 to real trap calls.
13486 * libc/sys/m88kbug/sys/systraps.h: new file.
13487
13488Tue Jul 27 16:31:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
13489
13490 Patches to fix info building when target does not use sys
13491 directory.
13492 * libc/Makefile.in (targetdep.tex): add sys.tex separately.
13493 * libc/sys.tex, libc/sys/sys.tex: moved from libc/sys/sys.tex to
13494 libc/sys.tex.
13495 * libc/sys/Makefile.in (doc): do nothing.
13496
13497Mon Jul 26 17:08:11 1993 K. Richard Pixley (rich@sendai.cygnus.com)
13498
13499 * libc/Makefile.in (CRT0): new macro.
13500 (all): depend on $(CRT0) rather than crt0.o.
13501
13502 * configure.in: fix libc_sys_dir -> libc_sys_lib thinko.
13503 do not default crt0, instead, set crt0 and crt0_dir based on
13504 sys_dir and stub_dir.
13505
13506 * Makefile.in (CRT0_DIR): new macro.
13507 (all): depend on $(CRT0) rather than crt0.o which may not exist.
13508 (crt0.o): depend on $(CRT0_DIR)/$(CRT0) rather than simply
13509 $(CRT0).
13510 ($(CRT0)): recur by cd'ing into $(CRT0_DIR).
13511
13512Sun Jul 25 17:51:51 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
13513
13514 * testsuite/lib/libm.exp:
13515 added code to support compiling and linking of tests for
13516 libm.sac (paranoia to be added next) and processing the
13517 pass or failure of the tests.
13518
13519 * testsuite/config/unix-libm.exp:
13520 platform specific proc's for dealing with compiler, linker
13521 and the way we execute and process the test results.
13522
13523 * testsuite/libm.sac/execute.exp:
13524 generic framework for the sac tests. the config and lib
13525 expect code for specific platforms tie it all together.
13526
13527 * testsuite/libm.sac/test_is.c:
13528 changed the output of the test to be consistant with the
13529 other tests. parsing of pass nad fail messages is now fixed.
13530
13531Fri Jul 23 19:20:07 1993 Per Bothner (bothner@kalessin)
13532
13533 * libc/include/{assert.h, ctype.h, dirent.h, errno.h, fastmath.h,
13534 locale.h, math.h, pwd.h, reent.h, setjmp.h, signal.h, stdio.h,
13535 stdlib.h, string.h, termios.h, time.h, utime.h, utmp.h}: For C++:
13536 #ifdef __cplusplus, surround by extern ""C { ... }.
13537 * libc/include/assert.h: Do *not* protect assert.h against
13538 multiple inclusion! Also, #undef it before #define, to allow
13539 redefinition.
13540 * libc/include/stdio.h (getlogin, cuserid): Removed. These
13541 should be only in unistd.h.
13542
13543 * libc/include/sys/{fcntl.h, reent.h, stat.h, time.h, times.h,
13544 unistd.h}: For C++: #ifdef __cplusplus, surround by extern ""C {
13545 ... }.
13546
13547Fri Jul 23 10:15:33 1993 Doug Evans (dje@canuck.cygnus.com)
13548
13549 * libc/machine/sparc/Makefile.in: Must create a library, even
13550 if empty.
13551
13552Wed Jul 21 16:00:37 1993 K. Richard Pixley (rich@sendai.cygnus.com)
13553
13554 * configure.in: set machine_dir for m88k. edit crt0 definition
13555 into makefiles.
13556
13557 * Makefile.in, libc/Makefile.in (crt0): pull up from lower directories.
13558
13559 * libc/Makefile.in (all): also build crt0.o.
13560
13561 * libc/machine/i386/Makefile.in, libc/machine/sparc/Makefile.in,
13562 libc/machine/z8k/Makefile.in, libm/Makefile.in (clean): no need
13563 to remove CRT0.
13564
13565 * libc/machine/m88k/Makefile.in (TOP, TARGETLIB): removed.
13566 (all): reworked to build in place.
13567 (clean): remove lib.a
13568 (Makefile): remove redundant ./, call $(SHELL) rather than sh.
13569
13570 * libc/sys/m88kbug/crt0.c (start): renamed to _start.
13571 (_start): key off edata rather than _start_bss.
13572
13573Wed Jul 21 14:29:47 1993 david d `zoo' zuhn (zoo@cygnus.com)
13574
13575 * libc/include/sys/unistd.h, libc/include/reent.h,
13576 libc/reent/sbrkr.c: change sbrk to return void* instead of char*.
13577
13578Tue Jul 20 13:19:18 1993 K. Richard Pixley (rich@sendai.cygnus.com)
13579
13580 * libm/Makefile.in, libc/Makefile.in ($(SUBDIRS)): dollar escape a dollar sign.
13581
13582 * Makefile.in (libc.a): break into two rules, one for libc.a and
13583 one for libc/libc.a. Force subdirs current before rebuilding
13584 library.
13585 (libm.a): break into two rules, one for libm.a and one for
13586 libm/libm.a. Force subdirs current before rebuilding library.
13587
13588 * libc/Makefile.in (SUBLIBS): fix typo.
13589
13590 * libc/sys/Makefile.in (all): force descent into subdirs, then
13591 rebuild library iff out of of date.
13592
13593Fri Jul 16 17:47:57 1993 K. Richard Pixley (rich@sendai.cygnus.com)
13594
13595 Rework so that library is built and then finished rather than
13596 being built on each invocation of make.
13597
13598 * host/any (machine_dir, sys_dir, signal_dir): these are not
13599 shared and have been moved to their associated Makefile.in's.
13600 (AR_FLAGS): switch to qc which is faster.
13601 * configure.in: no longer assign machine_dir for m88k. set
13602 stub_dir, stub_lib, & crt0 for m68k*-unknown-{aout,coff}. If
13603 stub_dir set, then add to configdirs. add comment about silly
13604 configuration.
13605 (configdirs): drop stub. It will be added only
13606 when needed.
13607 (libm_fp_lib, libc_unix_lib, libc_signal_lib, libc_machine_lib,
13608 libc_sys_dir, fake_sys_dir, libc_fake_sys_lib, stub_dir,
13609 stub_lib, crt0): new variables for tailoring lower level
13610 makefiles. Assign accordingly and edit into makefiles.
13611 * libm/Makefile.in: updated copyright.
13612 (TARGETLIB): removed.
13613 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir.
13614 (SUBDIRS): removed TARGETDEP_DIRS.
13615 (LIBM_FP_LIB, SUBLIBS): new macros.
13616 (all): reworked.
13617 (force): new target to force rebuilds.
13618 (Makefile): call $(SHELL) rather than sh. drop redundant ./
13619 * libc/sys/a29khif/Makefile.in, libc/sys/decstation/Makefile.in,
13620 libc/sys/go32/Makefile.in, libc/sys/h8300hms/Makefile.in,
13621 libc/sys/h8500hms/Makefile.in, libc/sys/m88kbug/Makefile.in,
13622 libc/sys/sh/Makefile.in, libc/sys/sparc64/Makefile.in,
13623 libc/sys/sun4/Makefile.in, libc/sys/sysvi386/Makefile.in,
13624 libc/sys/sysvnecv70/Makefile.in, libc/sys/z8ksim/Makefile.in,
13625 stub/m68kmvme/Makefile.in: updated copyright.
13626 (TARGETLIB, TARGETCRT0, CRT0): macros removed.
13627 (all): reworked. made this the default rule.
13628 (clean): also remove lib.a.
13629 (Makefile): call $(SHELL) rather than sh. drop redundant ./
13630 * stub/Makefile.in: updated copyright.
13631 (TARGETLIB, TARGETCRT0, CRT0, TOP): removed.
13632 (stub_lib): new macro.
13633 (FLAGS_TO_PASS): removed TARGETLIB, stub_dir, TARGETCRT0. Added
13634 RANLIB.
13635 (all): reworked.
13636 (clean, install): assume stub_dir exists.
13637 (Makefile): depend on configure.in. call $(SHELL) rather than
13638 sh. drop redundant ./
13639 * stub/configure.in (stublib): new macro, assign it, edit it into
13640 makefiles.
13641 * Makefile, libc/Makefile.in, doc/Makefile.in, libc/sys/Makefile.in:
13642 updated copyright.
13643 (all): reworked.
13644 (Makefile): call $(SHELL) rather than sh. drop redundant ./
13645 * libc/Makefile.in (TARGETCRT0): removed.
13646 (FLAGS_TO_PASS): dropped TARGETLIB, machine_dir, sys_dir,
13647 TARGETCRT0.
13648 (SUBDIRS): drop TARGETDEP_DIRS.
13649 (LIBC_SIGNAL_LIB, LIBC_SYS_LIB, LIBC_MACHINE_LIB, LIBC_UNIX_LIB,
13650 LIBC_FAKE_SYS_LIB, SUBLIBS): new macros for configuration.
13651 (force): new target to force rebuilds.
13652 * libc/sys/Makefile.in (TARGETCRT0, sys_dir): removed.
13653 (FLAGS_TO_PASS): TARGETLIB, machine_dir, sys_dir, TARGETCRT0
13654 removed.
13655 (clean): assume sys_dir always exists.
13656 * libm/test/Makefile.in (Makefile): call $(SHELL) rather than sh.
13657 drop redundant ./
13658 * libc/ctype/Makefile.in, libc/errno/Makefile.in,
13659 libc/locale/Makefile.in, libc/machine/Makefile.in,
13660 libc/machine/a29k/Makefile.in, libc/machine/h8300/Makefile.in,
13661 libc/machine/h8500/Makefile.in, libc/machine/i386/Makefile.in,
13662 libc/machine/i960/Makefile.in, libc/machine/m68k/Makefile.in,
13663 libc/machine/mips/Makefile.in, libc/machine/necv70/Makefile.in,
13664 libc/machine/sh/Makefile.in, libc/machine/sparc/Makefile.in,
13665 libc/machine/z8k/Makefile.in, libc/reent/Makefile.in,
13666 libc/signal/Makefile.in, libc/stdio/Makefile.in,
13667 libc/stdlib/Makefile.in, libc/string/Makefile.in,
13668 libc/sys/Makefile.in, libc/syscalls/Makefile.in,
13669 libc/time/Makefile.in, libc/unix/Makefile.in,
13670 libm/ieeefp/Makefile.in, libm/math/Makefile.in: updated copyright.
13671 (TARGETLIB): removed.
13672 (all): reworked.
13673 (clean): also remove lib.a.
13674 (Makefile): call $(SHELL) rather than sh. drop redundant ./
13675 * Makefile.in: (machine_dir, sys_dir, stub_dir, stub_lib, CRT0):
13676 new macros.
13677 (SUBDIRS): moved to follow frag inclusion, change stub to
13678 stub_dir.
13679 (FLAGS_TO_PASS): removed machine_dir, sys_dir, signal_dir which
13680 are now set in the libc Makefile.
13681 * libc/machine/Makefile.in (TARGETCRT0, machine_dir): removed.
13682 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir,
13683 TARGETCRT0.
13684 (force): new target to force rebuilds.
13685 * stub/configure.in: determine and set stub_lib for for Makefile.
13686
13687Thu Jul 15 12:01:27 1993 Doug Evans (dje@canuck.cygnus.com)
13688
13689 * libc/sys/h8300hms/Makefile.in: Make `all' the default target.
13690 crt0.s renamed to crt0.S.
13691 * libc/sys/h8300hms/crt0.S: Add h8/300h support.
13692
13693 * libc/machine/h8300/Makefile.in: Make `all' the default target.
13694 * libc/machine/h8300/{cmpsi.S,ucmpsi.S}: #ifdef out entire file if
13695 h8300h.
13696 * libc/machine/h8300/defines.h: Add macros to handle pointers for
13697 h8300 (16 bits) and h8300h (32 bits).
13698 * libc/machine/h8300/{divsi3.S,mulsi3.S,memcpy.S,memset.S,
13699 reg_memcpy.S,reg_memset.S,strcmp.S}: Add h8300h support.
13700
13701Thu Jul 15 10:13:29 1993 Ian Lance Taylor (ian@cygnus.com)
13702
13703 * libc/machine/m88k/setjmp.S, Makefile.in: New files; a simple
13704 implementation of setjmp and longjmp for the m88k.
13705 * libc/include/machine/setjmp.h: Added __m88000__ case.
13706
13707Wed Jul 14 10:10:30 1993 Doug Evans (dje@canuck.cygnus.com)
13708
13709 * configure.in: Recognize h8300h as variant of h8300.
13710
13711Tue Jul 13 12:24:11 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
13712
13713 * libc/include/sys/unistd.h (read, write): get prototypes right.
13714 (sbrk): New prototype.
13715 * libc/reent/sbrkr.c (sbrkr): Use correct sbrk prototype.
13716 * libc/stdio/local.h: Include unistd.h.
13717 * libc/machine/h8300/syscalls.c: Names have changed.
13718
13719Mon Jul 12 18:08:42 1993 K. Richard Pixley (rich@cygnus.com)
13720
13721 * configure.in: add sys_dir assignment for m88k-bug.
13722
13723Thu Jul 8 09:16:21 1993 Doug Evans (dje@canuck.cygnus.com)
13724
13725 * libc/sys/sparc64/sys/syscallasm.h: New macros to handle either
13726 a.out or elf.
13727 * libc/sys/sparc64: all *.S files: Use new macros.
13728 * libc/sys/sparc64/isatty.c: New file.
13729 * libc/sys/sparc64/Makefile.in: Stop using /lib/libc.a for
13730 functions beyond what newlib provides.
13731
13732Thu Jul 8 09:11:28 1993 Doug Evans (dje@canuck.cygnus.com)
13733
13734 * libc/include/sys/stat.h: Move st_atime so not doubly defined for
13735 svr4.
13736
13737Thu Jul 8 09:09:16 1993 Doug Evans (dje@canuck.cygnus.com)
13738
13739 * libc/include/machine/ieeefp.h: Add support for h8/300h.
13740
13741Fri Jul 2 10:11:20 1993 K. Richard Pixley (rich@cygnus.com)
13742
13743 * configure.in: add m88k.
13744 * libc/include/machine/ieeefp.h: add case for m88k. Also add
13745 sanity check so no one else need ever chase what I did to find
13746 this.
13747
13748 * libm/math/Makefile.in (FAKEC): added atanf.c log1pf.c scalbnf.c.
13749
13750Fri Jul 2 09:15:21 1993 Ian Lance Taylor (ian@cygnus.com)
13751
13752 * doc/makedoc.c: Include <ctype.h>.
13753
13754Wed Jun 30 09:35:06 1993 Doug Evans (dje@canuck.cygnus.com)
13755
13756 * libc/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
13757 * libc/sys/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
13758 * libc/machine/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
13759
13760 * libm/test/Makefile.in (all): Link with ../../lib[cm].a.
13761
13762Sun Jun 27 17:05:20 1993 Doug Evans (dje@sphagnum.cygnus.com)
13763
13764 * libc/include/errno.h (ENOSYS): Added.
13765
13766 * libc/unix/getpwd.c (getcwd): Fix typo (_up -> up).
13767
13768Mon Jun 21 09:03:32 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
13769
13770 * libc/stdio/fflush.c (fflush): Check for reent struct
13771 initialization.
13772 * libc/stdio/fdopen.c (fdopen): Avoid namespace conflict.
13773
13774Fri Jun 18 16:06:05 1993 Mark Eichin (eichin@rtl.cygnus.com)
13775
13776 * libc/stdlib/dtoastub.c: new file -- move user callable "dtoa"
13777 out of dtoa.c so it doesn't pollute the namespace.
13778 * libc/include/_syslist.h: new file -- mappings from _function to
13779 function, for systems where we can't win (by default, all of them,
13780 until we start updating system calls.)
13781 * libc/syscalls: new directory -- stubs for exporting _function
13782 names as unmodified function names.
13783 * libc/configure.in: add MISSING_SYSCALL_NAMES to enable
13784 _syslist.h on all platforms by default, but put hooks in for
13785 fake_sys_dir so we can include it when we've renamed the system
13786 calls.
13787 * libc/reent/execr.c libc/reent/filer.c libc/reent/fstatr.c
13788 libc/reent/linkr.c libc/reent/sbrkr.c libc/reent/statr.c
13789 libc/signal/raise.c libc/signal/signal.c libc/stdio/fdopen.c
13790 libc/stdio/mktemp.c libc/stdio/tmpnam.c libc/stdlib/abort.c
13791 libc/stdlib/system.c libc/unix/getcwd.c libc/unix/getlogin.c
13792 libc/unix/getpass.c libc/unix/getut.c libc/unix/ttyname.c: change
13793 non ANSI functions to call _function.
13794
13795Wed Jun 9 09:48:26 1993 Ian Lance Taylor (ian@cygnus.com)
13796
13797 * libc/stdlib/strtoul.c (_strtoul_r): Handle leading 0 correctly
13798 when base 16 is specified. Don't accept non-digits if radix > 10.
13799
13800Thu Jun 3 10:01:15 1993 Doug Evans (dje@canuck.cygnus.com)
13801
13802 * libc/include/math.h: Rename xxx_r fns to _xxx_r.
13803
13804Wed Jun 2 16:54:16 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
13805
13806 * libc/include/sys/stat.h: Surround text after #endif with
13807 comments.
13808
13809Wed Jun 2 12:47:32 1993 Ian Lance Taylor (ian@cygnus.com)
13810
13811 * libc/stdlib/mallocr.c: If MALLOC_PROVIDED is defined, just make
13812 _malloc_r, _realloc_r, and free_r call the corresponding
13813 non-reentrant functions.
13814
13815 * libm/math/modf.c (modf): We now take the address of ipart, so
13816 don't make it a register variable.
13817
13818Tue Jun 1 18:25:54 1993 Doug Evans (dje@canuck.cygnus.com)
13819
13820 * libm/math/*: Rename all xxx_r fns to _xxx_r.
13821
13822Wed May 26 22:06:35 1993 Roland H. Pesch (pesch@cygnus.com)
13823
13824 * libc/libc.texinfo and embedded docn throughout: formatting
13825 improvements, minor rephrasing for clarity, and improved
13826 reentrancy docn.
13827
13828Sun May 23 17:29:49 1993 Steve Chamberlain (sac@thepub.cygnus.com)
13829
13830 * libm/ieeefp/infinity.c (maxpowtwof): Fix initialzation bug.
13831
13832 * libc/stdio/cvt.c (_licvt): Print the right value on machines
13833 where sizeof(int) != sizeof(long).
13834
13835Fri May 21 22:09:32 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
13836
13837 * libc/reent/execr.c, libc/reent/filer.c, libc/reent/linkr.c,
13838 libc/reent/sbrkr.c, libc/reent/statr.c, libc/stdio/tmpnam.c,
13839 libc/stdlib/atol.c, libc/stdlib/rand.c, libc/string/strpbrk.c,
13840 libc/string/strspn.c, libm/ieeefp/isnan.c, libm/math/bessel.c,
13841 libm/math/matherr.c: changes for better docn formatting (info).
13842
13843 * libc/libc.texinfo, libc/ctype/ctype.tex, libc/locale/locale/tex,
13844 libc/reent/reent.tex, libc/signal/signal.tex,
13845 libc/stdio/stdio.tex, libc/stdlib/stdlib.tex,
13846 libc/string/strings.tex, libc/sys/sys.tex, libc/time/time.tex,
13847 libm/libm.texinfo, libm/ieeefp/ieeefp.tex, libm/math/math.tex: use
13848 makeinfo node defaulting to get better Info file node structure.
13849 (Requires recent sac change to doc/makedoc.c and doc/doc.str.)
13850 Also include a few formerly missing sections (subroutines).
13851
13852 * doc/doc.str: delete fossil expansion for "func"
13853
13854 * default.menu, no-signal.menu: delete.
13855
13856 * Makefile.in, libc/Makefile.in, configure.in, host/any: simplify
13857 method used to adjust doc for missing "signals" chapter when
13858 signal_dir is empty.
13859
13860Thu May 20 21:38:37 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
13861
13862 * configure.in: added testsuite/libm.sac
13863
13864Wed May 19 14:52:34 1993 Doug Evans (dje@thepub.cygnus.com)
13865
13866 * libc/sys/sparc64/crt0.S: Set %g4 to 0 (to test Medium/Anywhere
13867 code model).
13868
13869Tue May 18 13:17:21 1993 Ian Lance Taylor (ian@cygnus.com)
13870
13871 * libm/Makefile.in: Use $(MAKE) rather than make, and define
13872 MAKEOVERRIDES to be empty.
13873
13874Mon May 17 08:42:44 1993 Ian Lance Taylor (ian@cygnus.com)
13875
13876 * configure.in: Don't build mips-*-* with -msoft-float, since that
13877 makes it incompatible with hard floating point.
13878
13879Mon May 17 00:03:35 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
13880
13881 * Makefile.in: added recursive 'make check'
13882
13883Thu May 13 16:24:18 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
13884
13885 * configure.in: added ./testsuite ./testsuite/libm.paranoia
13886 * ./testsuite/Makefile.in: created
13887 * ./testsuite/libm.paranoia: paranoia tests added
13888
13889Thu May 13 10:30:24 1993 Ian Lance Taylor (ian@cygnus.com)
13890
13891 * configure.in: For mips-*-* set machine_dir to mips.
13892
13893 * libc/machine/mips: New directory.
13894 * libc/machine/mips/Makefile.in: New file.
13895 * libc/machine/mips/setjmp.S: New file; simplistic MIPS version of
13896 setjmp and longjmp.
13897 * libc/include/machine/setjmp.h: Added __mips__ case.
13898
13899 * libc/machine/lmips: Removed unused and useless directory.
13900
13901Mon May 3 10:22:31 1993 Ian Lance Taylor (ian@cygnus.com)
13902
13903 * configure.in: Accept i486-*-sco* as well as i386-*-sco*.
13904
13905Thu Apr 15 15:16:44 1993 Doug Evans (dje@canuck.cygnus.com)
13906
13907 * libc/sys/sparc64/crt0.S: Add comment (%g1 contains atexit arg at
13908 start up).
13909
13910Fri Apr 9 13:32:26 1993 Ian Lance Taylor (ian@cygnus.com)
13911
13912 * libc/include/machine/setjmp-dj.h: Use _SETJMP_DJ_H rather than
13913 SETJMP_H.
13914
13915Thu Apr 8 10:07:18 1993 Doug Evans (dje@canuck.cygnus.com)
13916
13917 * libm/test/convert.c: structure member errno -> errno_val.
13918 Must include <errno.h> to use errno, it's a macro now.
13919 * libm/test/math.c: Ditto.
13920 * libm/test/math2.c: Include errno.h.
13921 * libm/test/string.c: Ditto.
13922 * libm/test/test.h: structure member errno -> errno_val.
13923 Remove extern int errno decl.
13924
13925Thu Apr 8 07:56:33 1993 Ian Lance Taylor (ian@cygnus.com)
13926
13927 * libc/stdio/Makefile.in: Added dependencies on local header
13928 files.
13929 * libc/stdio/std.h, libc/stdio/vfprintf.h: Removed unused header
13930 files.
13931
13932Wed Apr 7 16:19:32 1993 Ian Lance Taylor (ian@cygnus.com)
13933
13934 * libc/include/machine/ieeefp.h: Added __MIPSEB__ case.
13935
13936Wed Apr 7 10:55:21 1993 Doug Evans (dje@canuck.cygnus.com)
13937
13938 * libc/stdio/siprintf.c libc/stdio/sscanf.c libc/stdio/vsprintf.c:
13939 Initialize _data.
13940
13941 * libc/stdio/vfprintf.c: No need to declare _icvt, _licvt, _sicvt.
13942 * libc/stdio/local.h: Add prototype for _licvt.
13943
13944 * libc/stdio/ungetc.c (__submore): Use _malloc_r,_realloc_r
13945 instead of malloc,reealloc.
13946
13947 * libc/stdlib/local.h: New file.
13948 * libc/stdlib/efgcvt.c: #include local.h.
13949 (gcvt): Fix call to _gcvt.
13950 * libc/stdlib/ecvtbuf.c: #include local.h.
13951
13952 * libc/stdlib/Makefile.in: new files mallocr.c mstats.c.
13953 * libc/stdlib/mallocr.c mstats.c malloc.h: New files.
13954 * libc/stdlib/malloc.c: main routines moved to mallocr.c.
13955
13956 * libc/stdlib/atexit.c: moved global data to struct _reent.
13957 * libc/stdlib/exit.c: use struct _atexit in struct _reent.
13958
13959 * libc/reent/reent.c (inpure_data): _REENT_INIT macro modified.
13960
13961Wed Apr 7 09:41:50 1993 Doug Evans (dje@canuck.cygnus.com)
13962
13963 * libc/include/sys/reent.h: Stuff required by ANSI headers moved
13964 here from ../reent.h.
13965
13966Tue Apr 6 12:56:01 1993 Ian Lance Taylor (ian@cygnus.com)
13967
13968 * Makefile.in (MATHOBJS_IN_LIBC): List of object files which
13969 should be provided in both libc.a and libm.a.
13970 (libc.a): Depend on targ-include and libm.a. Copy
13971 $(MATHOBJS_IN_LIBC) from libm.a to libc.a.
13972 (libm.a): Depend on targ-include.
13973 * configure.in (subdirs): Removed libc/math.
13974
13975Mon Apr 5 10:18:16 1993 Steve Chamberlain (sac@thepub.cygnus.com)
13976
13977 * libm/ieeefp/infinity.c (maxpowtwo): Fix initialization bug.
13978
13979Sat Apr 3 11:06:07 1993 Doug Evans (dje@canuck.cygnus.com)
13980
13981 * libc/include/{errno.h, math.h, stdio.h, stdlib.h}: Use
13982 sys/reent.h instead of reent.h.
13983 * libc/include/reent.h: Split into two parts: stuff needed by ANSI
13984 headers moved to sys/reent.h.
13985 * libc/include/signal.h: _MAX_SIGNALS moved to sys/signal.h.
13986 * libc/include/sys/signal.h: Define _MAX_SIGNALS if
13987 __need__MAX_SIGNALS defined.
13988 * libc/include/stdio.h: struct __sFILE moved to sys/reent.h.
13989 std{in,out,err} refer to new _std{in,out,err} members.
13990
13991Fri Apr 2 11:27:12 1993 Doug Evans (dje@canuck.cygnus.com)
13992
13993 * libc/include/sys/signal.h: #define _SYS_SIGNAL_H for general
13994 case.
13995
13996Fri Apr 2 09:41:10 1993 Doug Evans (dje@canuck.cygnus.com)
13997
13998 * libc/sys/sparc64/execve.S (execve): Insert nop in delay slot,
13999 rather than whatever macro seterrno() has.
14000
14001Thu Apr 1 16:47:08 1993 Doug Evans (dje@canuck.cygnus.com)
14002
14003 * libc/locale/locale.c: Reentrant routines _r_xxx renamed to
14004 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
14005
14006 * libc/include/machine/fastmath.h: Use _HAVE_STDC instead of
14007 __STDC__.
14008
14009 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, reent.c,
14010 reent.tex, sbrkr.c, statr.c}: _r_xxx reentrant routines renamed to
14011 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
14012
14013 * libc/signal/signal.c: Reentrant routines _r_xxx renamed to
14014 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
14015
14016 * libc/stdio/{fclose.c, fdopen.c, findfp.c, fiprintf.c, flags.c,
14017 fopen.c, fprintf.c, freopen.c, fscanf.c, fseek.c, ftell.c,
14018 fwalk.c, getchar.c, gets.c, iprintf.c, local.h, makebuf.c,
14019 mktemp.c, perror.c, printf.c, putchar.c, puts.c, refill.c,
14020 remove.c, rename.c, scanf.c, setvbuf.c, siprintf.c, sprintf.c,
14021 sscanf.c, stdio.c, tmpfile.c, tmpnam.c, vfprintf.c, vfprintf.h,
14022 vfscanf.c, vprintf.c, vsprintf.c}: Reentrant routines _r_xxx
14023 renamed to _xxx_r. struct reent_struct renamed to struct _reent
14024 for ANSI. structure members given leading "_" for ANSI. Use
14025 _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
14026
14027 * libc/stdlib/{__adjust.c, calloc.c, dtoa.c, ecvtbuf.c, malloc.c,
14028 mprec.c, mprec.h, rand.c, std.h, strtod.c, strtol.c, strtoul.c,
14029 system.c}: Reentrant routines _r_xxx renamed to _xxx_r. struct
14030 reent_struct renamed to struct _reent for ANSI.
14031 Structure members given leading "_" for ANSI.
14032 _CONST --> const in prototypes.
14033 Use _HAVE_STDC instead of __STDC__.
14034
14035 * libc/string/strtok.c: Reentrant routines _r_xxx renamed to
14036 _xxx_r.
14037 struct reent_struct renamed to struct _reent for ANSI.
14038 Structure members given leading "_" for ANSI.
14039
14040 * libc/time/asctime.c: Reentrant routines _r_xxx renamed to
14041 _xxx_r.
14042 struct reent_struct renamed to struct _reent for ANSI.
14043
14044 * libm/math/{acos.h, acosh.h, asin.c, asinh.h, atanh.h, bessel.h,
14045 cbrt.h, cosh.h, erf.c, erf.h, error.c, exp.c, fmod.c, frexp.h,
14046 gamma.h, hypot.h, ldexp.c, log.h, log10.c, log1p.c log2.c,
14047 mathimpl.h, pow.c, remainder.c, sincos.c, sinh.h, sqrt.h, tan.c,
14048 tanh.h}: struct reent_struct renamed to struct _reent for ANSI.
14049
14050 * libc/include/{_ansi.h, ctype.h, math.h, reent.h, locale.h,
14051 signal.h, stdio.h, stdlib.h, string.h, time.h}:
14052 Use _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
14053 #ifndef _STRICT_ANSI non-ANSI routines.
14054 Reentrant routines renamed from _r_xxx to _xxx_r.
14055 No need to use _STRICT_ANSI on _xxx_r reentrant routines.
14056 Use _STRICT_ANSI instead of __STRICT_ANSI, _ANSI_SOURCE, etc.
14057 Clean up namespace (structure members have leading "_").
14058 struct reent_struct renamed to struct _reent for ANSI compliance.
14059 _CONST --> const in function prototypes.
14060
14061 * libc/include/string.h: Add NULL and size_t.
14062
14063 * libc/sys/sparc64/Makefile.in: New syscall routines for link,
14064 unlink, wait, wait4. Reentrant syscall routines close, fork,
14065 fstat, link, lseek, open, read, sbrk, stat, unlink, wait, wait4,
14066 write.
14067 * libc/sys/sparc64/cerror.S (cerror_r): New routine.
14068 * libc/sys/sparc64/{close.S, fork.S, fstat.S, link.S, lseek.S,
14069 open.S, read.S, sbrk.S, stat.S, unlink.S, wait.S, wait4.S,
14070 write.S}: Define reentrant versions.
14071 * libc/sys/sparc64/sys/syscallasm.h (defsyscall_r): New macro for
14072 reentrant syscalls.
14073
14074 * libc/sys/sparc64/crt0.S (start): Fix initialization of environ.
14075
14076 * libc/include/stdlib.h (RAND_MAX): Fix value.
14077
14078Thu Apr 1 12:28:30 1993 Ian Lance Taylor (ian@cygnus.com)
14079
14080 * libc/sys/a29khif/_main.c: Removed unnecessary file.
14081 * libc/sys/a29khif/Makefile.in (OFILES): Removed _main.c, moved
14082 VPATH support targets after all: target.
14083
14084 * stub/mvme135/mvme.S: Renamed exceptionhandler to
14085 exceptionHandler, which is what mvme135-stub.c expects.
14086
14087Wed Mar 31 17:42:03 1993 Doug Evans (dje@cygnus.com)
14088
14089 * libc/stdio/tmpnam.c (worker): Fix test for _r_open() failure.
14090
14091 * libc/unix/getpass.c (getpass): Use stdin,stderr instead of
14092 def_stdin/def_stderr (latter removed from stdio.h to make it ANSI
14093 compliant).
14094
14095Tue Mar 30 09:58:21 1993 Doug Evans (dje@canuck.cygnus.com)
14096
14097 * libc/reent/execr.c (_r_wait): Re-order args to make reent_struct
14098 first.
14099 libc/reent/filer.c (_r_open, _r_close, _r_lseek, _r_read,
14100 _r_write): Ditto.
14101 libc/reent/fstatr.c (_r_fstat): Ditto.
14102 libc/reent/linkr.c (_r_link, _r_unlink): Ditto.
14103 libc/reent/sbrkr.c (_r_sbrk): Ditto.
14104 libc/reent/statr.c (_r_stat): Ditto.
14105
14106 * libc/stdio/fopen.c (_r_fopen): Re-order args to _r_open.
14107 * libc/stdio/freopen.c (freopen): Ditto for _r_open, _r_free.
14108 * libc/stdio/fseek.c (fseek): Ditto for _r_fseek.
14109 * libc/stdio/makebuf.c (__smakebuf): Ditto for _r_fstat.
14110 * libc/stdio/mktemp.c (_gettemp): Ditto for _r_stat, _r_open.
14111 * libc/stdio/remove.c (_r_remove): Ditto for _r_unlink.
14112 * libc/stdio/rename.c (_r_rename): Ditto for _r_link, _r_unlink.
14113 * libc/stdio/stdio.c (__sread): Ditto for _r_read.
14114 (__swrite): Ditto for _r_lseek, _r_write.
14115 (__sseek): Ditto for _r_lseek.
14116 (__close): Ditto for _r_close.
14117 * libc/stdio/tmpnam.c (worker): Ditto for _r_open, _r_close.
14118
14119 * libc/stdlib/malloc.c (_r_morecore): Re-order args to _r_sbrk.
14120 * libc/stdlib/system.c (_r_system): Ditto for _r_wait.
14121
14122 * libc/include/reent.h: Re-order arguments to _r_xxx syscall fns
14123 to make reent_struct the first argument (and thus consistent with
14124 the rest of newlib).
14125
14126 * stub/mvme135/mvme135-stub.c (initializeRemcomErrorFrame): Remove
14127 reference to __STDC__.
14128
14129Mon Mar 29 12:34:32 1993 Doug Evans (dje@canuck.cygnus.com)
14130
14131 * libc/stdlib/exit.c (exit): Use _REENT->__cleanup instead of
14132 global __cleanup.
14133
14134Wed Mar 24 11:54:35 1993 Doug Evans (dje@canuck.cygnus.com)
14135
14136 * libc/stdio/freopen.c (freopen): Ensure stdio is initialized
14137 first.
14138 libc/stdio/fclose.c (fclose): Ditto.
14139
14140Tue Mar 23 01:26:52 1993 Doug Evans (dje@rtl.cygnus.com)
14141
14142 * Run through indent and rename reentrant routines for ANSI.
14143 libc/stdio/{clearerr.c cvt.c fclose.c fdopen.c feof.c ferror.c
14144 fflush.c fgetc.c fgetpos.c fgets.c findfp.c fiprintf.c flags.c
14145 fopen.c fprintf.c fputc.c fputs.c fread.c freopen.c fscanf.c
14146 fseek.c fsetpos.c ftell.c fvwrite.c fwalk.c fwrite.c getc.c
14147 getchar.c gets.c iprintf.c makebuf.c mktemp.c perror.c printf.c
14148 putc.c putchar.c puts.c refill.c remove.c rename.c rewind.c rget.c
14149 scanf.c setbuf.c setvbuf.c siprintf.c sprintf.c sscanf.c stdio.c
14150 tmpfile.c tmpnam.c ungetc.c vfprintf.c vfscanf.c vprintf.c
14151 vsprintf.c wbuf.c wsetup.c local.h}
14152
14153 * libc/locale/locale.c: Reformat and rename for ANSI, GNU style.
14154
14155 * Run through indent and rename xxx_r fns to _r_xxx for ANSI.
14156 libc/stdlib/{__adjust.c __exp10.c __ten_mu.c abort.c abs.c
14157 assert.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c
14158 dtoa.c ecvtbuf.c efgcvt.c exit.c getenv.c labs.c ldiv.c malloc.c
14159 mbtowc.c mprec.c putenv.c qsort.c rand.c setenv.c strdup.c
14160 strtod.c strtol.c strtoul.c system.c wctomb.c mprec.h}
14161
14162 * Run through indent.
14163 libc/string/{bcmp.c bcopy.c bzero.c index.c memchr.c memcmp.c
14164 memcpy.c memmove.c memset.c rindex.c strcat.c strchr.c strcmp.c
14165 strcoll.c strcpy.c strcspn.c strerror.c strlen.c strncat.c
14166 strncmp.c strncpy.c strpbrk.c strrchr.c strspn.c strstr.c strtok.c
14167 strxfrm.c}
14168
14169 * libc/time/{asctime.c clock.c ctime.c difftime.c gmtime.c
14170 localtime.c mktime.c strftime.c time.c}:
14171 Run through indent and rename xxx_r (reentrant) fns to _r_xxx for ANSI.
14172
14173 * Reformatting + renaming (for ANSI, GNU style, consistency).
14174 libc/include/{_ansi.h, assert.h, ctype.h, errno.h, fastmath.h,
14175 ieeefp.h, locale.h, math.h, paths.h, pwd.h, reent.h, setjmp.h,
14176 signal.h, stdio.h, stdlib.h, string.h, time.h, unistd.h}
14177
14178Fri Mar 19 11:28:01 1993 Doug Evans (dje@cygnus.com)
14179
14180 * libc/include/stdio.h (stdin_r): Fix.
14181
14182Fri Mar 19 09:43:48 1993 Ian Lance Taylor (ian@cygnus.com)
14183
14184 * Makefile.in: Unexport some variables to keep GNU make from
14185 putting them in the environment and using up needed ARG_MAX space
14186 (a hack is used to let this work with older makes as well).
14187
14188Tue Mar 16 15:11:08 1993 Ian Lance Taylor (ian@cygnus.com)
14189
14190 * Makefile.in: Use $(MAKE) rather than make.
14191 (MAKEOVERRIDES): Define to be empty.
14192 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
14193 (libc.a, libm.a): Depend on targ-include.
14194 * host/any (LD): Don't define.
14195 (INCLUDES): Use targ-include.
14196 * stub/Makefile.in (MAKEOVERRIDES): Define to be empty.
14197 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
14198 * libc/Makefile.in: Use $(MAKE) rather than make.
14199 (MAKEOVERRIDES): Define to be empty.
14200 (FLAGS_TO_PASS): Don't pass LD (it's not used).
14201 (all): Rewrote to be slightly smaller.
14202 * libc/machine/Makefile.in, libc/sys/Makefile.in (MAKEOVERRIDES):
14203 Define to be empty.
14204 (FLAGS_TO_PASS): Don't pass LD (it's not used).
14205 * libm/Makefile.in (FLAGS_TO_PASS): Don't pass LD (it's not used).
14206
14207Mon Mar 15 08:45:41 1993 Ian Lance Taylor (ian@cygnus.com)
14208
14209 * libc/sys/go32/gerrno.s: Renamed from errno.s to avoid conflict
14210 with errno/errno.c.
14211
14212Fri Mar 12 09:46:54 1993 Ian Lance Taylor (ian@cygnus.com)
14213
14214 * Changes for reentrancy.
14215 libc/stdio/fdopen.c, libc/stdio/freopen.c, libc/stdio/perror.c:
14216 Use ptr->_errno, not errno.
14217 libc/stdio/mktemp.c (mkstemp_r, mktemp_r): New functions.
14218 libc/stdio/remove.c (remove_r): New function.
14219 libc/stdio/rename.c (rename_r): New function.
14220 libc/stdio/fopen.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
14221 libc/stdio/makebuf.c, libc/stdio/mktemp.c, libc/stdio/remove.c,
14222 libc/stdio/rename.c, libc/stdio/stdio.c, libc/stdio/tmpnam.c: Use
14223 reentrant versions of system calls.
14224 libc/stdio/gets.c: Call getchar_f, not nonexistent getchar_r.
14225 libc/stdio/scanf.c: Use stdin_r, not nonexistent stdin_n.
14226 libc/stdio/tmpfile.c: Use tmpnam_f, not nonexistent tmpnam_r.
14227 libc/stdio/findfp.c: Include <string.h>.
14228 libc/stdio/fread.c, libc/stdio/rget.c, libc/stdio/scanf.c: Include
14229 "local.h".
14230 libc/stdio/wbuf.c: Include "fvwrite.h"
14231
14232 * libc/stdlib/{dtoa.c, ecvtbuf.c, mprec.c, strtod.c}: Include
14233 <string.h>.
14234 libc/stdlib/malloc.c: Call sbrk_r rather than sbrk.
14235 (NULL): Don't define if already defined.
14236 libc/stdlib/system.c: Call reentrant versions of system calls.
14237 (system_r): New function.
14238
14239 * Changes for reentrancy.
14240 libc/include/_ansi.h (_PARAMS): New macro.
14241 libc/include/errno.h: Define errno as a macro that calls __errno.
14242 (__errno_r): New macro for reentrant code.
14243 libc/include/math.h: Include reent.h. Declare many reentrant
14244 functions.
14245 (signgam): Now a macro, not a variable.
14246 (struct exception): Added err field.
14247 libc/include/reent.h: Don't declare __sglue. Added function
14248 declarations.
14249 (struct reent_struct): Moved errno to beginning. Added _signgam.
14250 libc/include/stdio.h, libc/include/stdlib.h: Added function
14251 declarations.
14252
14253 * More reentrancy hacking.
14254 libc/errno/errno.c (__errno): New function.
14255 libc/reent/execr.c, libc/reent/filer.c, libc/reent/fstatr.c,
14256 libc/reent/linkr.c, libc/reent/sbrkr.c, libc/reent/statr.c: New
14257 files.
14258
14259 * Added many new reentrant functions to libm/math/*.
14260 libm/math/error.c (__matherror): Added reent_struct pointer
14261 argument. Changed all callers.
14262 libm/math/gamma.c (signgam): Removed. Set ptr->_signgam, instead.
14263 libm/math/exp.h, libm/math/pow.h, libm/math/sincos.h,
14264 libm/math/tan.h: Removed obsolete unused header files.
14265
14266 * libc/sys/a29khif/stubs.s: Use register lr0, not v0.
14267
14268 * libc/sys/sun/Makefile.in (COPYOFILES): Don't pull in errno.o.
14269
14270Mon Mar 8 16:43:43 1993 Steve Chamberlain (sac@thepub.cygnus.com)
14271
14272 * libc/sys/a29khif/stubs.s: clobber safe register, and fill all
14273 delay slots.
14274
14275Tue Mar 2 14:47:00 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
14276
14277 * libc/libc.texinfo: comment out reentrancy chapter (duh)
14278
14279Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
14280
14281 * libc/reent/reent.tex: New file. (text from
14282 newlib/libc/libc.texinfo)
14283 * libc/stdio/tmpnam.c: fixed doc typo
14284 * libc/stdlib/rand.c: fixed doc typo
14285
14286Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
14287
14288 * libc/reent/reent.tex: New file. (text from
14289 newlib/libc/libc.texinfo)
14290
14291Fri Feb 26 12:20:54 1993 Steve Chamberlain (sac@thepub.cygnus.com)
14292
14293 support for reentrancy
14294 * libc/reent/reent.c, libc/reent/Makefile.in, libc/reent/reent.c:
14295 new files
14296 * libc/errno/errno.c, libc/include/ieeefp.h,
14297 libc/include/locale.h, libc/include/reent.h,
14298 libc/include/signal.h, libc/include/stdio.h,
14299 libc/include/stdlib.h, libc/include/string.h, libc/include/time.h,
14300 libc/signal/signal.c libc/stdio/cvt.c, libc/stdio/fclose.c,
14301 libc/stdio/fdopen.c, libc/stdio/fflush.c, libc/stdio/fgets.c,
14302 libc/stdio/findfp.c, libc/stdio/flags.c, libc/stdio/fopen.c,
14303 libc/stdio/fputc.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
14304 libc/stdio/ftell.c, libc/stdio/fwalk.c, libc/stdio/getchar.c,
14305 libc/stdio/gets.c, libc/stdio/glue.h, libc/stdio/iprintf.c,
14306 libc/stdio/local.h, libc/stdio/makebuf.c, libc/stdio/perror.c,
14307 libc/stdio/printf.c, libc/stdio/putchar.c, libc/stdio/puts.c,
14308 libc/stdio/refill.c, libc/stdio/scanf.c, libc/stdio/setvbuf.c,
14309 libc/stdio/sprintf.c, libc/stdio/tmpfile.c, libc/stdio/tmpnam.c,
14310 libc/stdio/ungetc.c, libc/stdio/vfprintf.c, libc/stdio/vfprintf.h,
14311 libc/stdio/vfscanf.c, libc/stdio/vprintf.c, libc/stdio/wsetup.c,
14312 libc/stdlib/__adjust.c, libc/stdlib/__exp10.c,
14313 libc/stdlib/assert.c, libc/stdlib/atexit.c, libc/stdlib/atol.c,
14314 libc/stdlib/dtoa.c, libc/stdlib/ecvtbuf.c, libc/stdlib/malloc.c,
14315 libc/stdlib/mprec.c, libc/stdlib/mprec.h, libc/stdlib/rand.c,
14316 libc/stdlib/setenv.c, libc/stdlib/std.h, libc/stdlib/strtod.c,
14317 libc/stdlib/strtol.c, libc/stdlib/strtoul.c, libc/string/strtok.c,
14318 libc/time/asctime.c, libc/time/localtime.c, libc/time/mktime.c,
14319 libc/time/strftime.c: modify to provide reentracy.
14320
14321 new routines:
14322 strtok_r, asctime_r, fdopen_r, _cleanup_r, fopen_r, iprintf_r,
14323 perror_r, printf_r, putchar_r, puts_r, scanf_r, sprintf_r,
14324 tmpfile_r, vfiprintf_r, vfprintf_r, strtod_r, dtoa_r, rand_r,
14325 srand_r, strtoul_r,strtol_r, free_r, malloc_r, morecore_r,
14326 mstats_r, realloc_r, localeconv_r, setlocale_r
14327
14328Wed Feb 17 20:17:15 1993 Mark Eichin (eichin@cygnus.com)
14329
14330 * libc/include/machine/ieeefp.h, libc/include/machine/setjmp.h,
14331 libc/include/sys/config.h, libc/include/sys/signal.h,
14332 libc/include/sys/stat.h, libc/include/sys/types.h: For compiler
14333 provided macros (such as m68000), use the ansi version
14334 (__m68000__) so that the library can be used with code compiled
14335 -ansi. In particular, m68000, mc68000, _AM29K, i386, MIPSEL, unix,
14336 and sparc.
14337
14338Wed Feb 17 13:01:34 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
14339
14340 * configure.in (sparc*): Don't set -fsoft-float for sparc
14341 configurations. Do set -fsoft-float for sparclite configurations.
14342
14343Fri Feb 12 16:25:52 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
14344
14345 * default.menu, no-signal.menu: alternate forms of libc main menu
14346 (in newlib rather than newlib/libc due to configuration restrictions)
14347
14348 * configure.in: select one of the two menus above, link to
14349 libc.menu
14350
14351 * libc/libc.texinfo: include menu from separate file
14352
14353Fri Feb 12 12:50:06 1993 Ian Lance Taylor (ian@cygnus.com)
14354
14355 * Makefile.in (FLAGS_TO_PASS): Put INSTALL back in.
14356 (info): Split long shell command in half.
14357 * libc/Makefile.in (info, targetdep.tex): Don't pass everything to
14358 sub-makes, just CHEW and TARGETDOC.
14359 (targetdep.tex): Removed now special handling of sys and machine
14360 subdirectories, made obsolete some time ago.
14361 * libc/machine/Makefile.in (doc): Don't pass everything to
14362 sub-make, just CHEW and TARGETDOC.
14363 (Makefile): New target.
14364 * libc/sys/Makefile.in (Makefile): New target.
14365
14366Thu Feb 11 15:25:15 1993 Ian Lance Taylor (ian@cygnus.com)
14367
14368 * Makefile.in (here and most subdirectories): Only pass down CHEW
14369 and TARGETDOC when making info, not for other targets.
14370
14371 * Makefile.in (here and most subdirectories), host/any: Use $(AR)
14372 $(AR_FLAGS) rather than $(ARUPDATE).
14373
14374Wed Feb 10 11:57:52 1993 Ian Lance Taylor (ian@cygnus.com)
14375
14376 * Try to reduce command line length:
14377 * Makefile.in (FLAGS_TO_PASS): don't pass down exec_prefix,
14378 CC_FOR_BUILD, CFLAGS_FOR_BUILD, INSTALL or CHEW.
14379 (info, docs): pass CC_FOR_BUILD and CFLAGS_FOR_BUILD to doc.
14380 (info): Pass CHEW to other subdirs.
14381
14382Tue Feb 9 14:01:42 1993 Mark Eichin (eichin@cygnus.com)
14383
14384 * configure.in: add signal_dir, like unix_dir, but by default it
14385 is set to "signal" so that a29khif can turn it off (since a29khif
14386 has raise() as part of machine-specific signal.s.)
14387
14388Fri Jan 15 12:09:50 1993 Steve Chamberlain (sac@thepub.cygnus.com)
14389
14390 * libc/sys/config.h, libc/machine/ieeefp.h: add Z8000 support
14391 * libc/stdio/Makefile.in: pass CFLAGS so vfiprintf.c gets built
14392 correctly.
14393 * libc/stdio/fdopen.c, libc/stdio/fgets.c, libc/stdio/fscanf.c,
14394 libc/stdio/vfprintf: type lint.
14395 * libc/sys/z8ksim/crt0.c (start): Z8001/Z8002 independent
14396 initialzation code.
14397 * libc/sys/z8ksim/glue.c: Z8001/Z8002 clean system calls.
14398
14399Tue Dec 29 10:15:33 1992 Ian Lance Taylor (ian@cygnus.com)
14400
14401 * stub/mvme135/mvme135-asm.S: new file.
14402 stub/mvme135mvme135-stub.c: moved all assembler routines into
14403 mvme135-asm.S.
14404 stub/mvme135/Makefile.in: build mvme135-stub.o.
14405
14406Mon Dec 28 12:40:43 1992 Ian Lance Taylor (ian@cygnus.com)
14407
14408 * Makefile.in: don't pass down $(CPP); use $(CC) -E in
14409 sub-Makefiles instead, to try to avoid line length limitations.
14410
14411Mon Dec 21 18:36:13 1992 Per Bothner (bothner@rtl.cygnus.com)
14412
14413 * libc/include/unistd.h (read, write): Use void* instead of
14414 char*.
14415
14416Thu Dec 17 13:49:46 1992 Mark Eichin (eichin@cygnus.com)
14417
14418 * stub/go32/resetpc: sample script to send a reset packet to the
14419 stub
14420
14421 * stub/go32/I386STUB.C: new file, gdb/i386stub.c modified for the
14422 DOS environment, which compiles with Turbo C.
14423
14424 * stub/go32/DSER32.LNK: new file, linker commands for serial
14425 remote stub.
14426
14427 * stub/go32/CONTROL.C: turn off debug_mode, add CYGNUS tag line to
14428 start up message to identify version; call set_debug_traps.
14429
14430 * stub/go32/DEBUG.C: turn off debug_mode (so stub doesn't need any
14431 keyboard interaction); call handle_exception() in go_til_stop,
14432 rather than return, so that the remote stub gets control.
14433
14434 * stub/go32/MAKEFILE: fixed to actually use DOS commands (del and
14435 rename, rather than mv), set flags that work with current Turbo C,
14436 including using the /3 flag; also, add commands to build dser32.
14437
14438 * stub/go32/DEBUG32.LNK, stub/go32/GO32.LNK: fix paths to match
14439 default Turbo C installation (\tc rather than \usr)
14440
14441 * stub/go32/MONO.C (printf): current Turbo C uses "..." instead of
14442 "&..."
14443
14444Mon Dec 14 09:37:33 1992 Steve Chamberlain (sac@thepub.cygnus.com)
14445
14446 * libc/include/math.h: added _DOUBLE_IS_32BITS checks
14447
14448Thu Nov 12 22:31:04 1992 Steve Chamberlain (sac@thepub.cygnus.com)
14449
14450 * libc/stdio/cvt.c (licvt): new function to convert ints when
14451 sizeof(int) != sizeof(long).
14452
14453 * libc/include/stdio.h: added prototype for iprintf.
14454 * libc/include/machine/limits.h machine/ieeefp.h: z8k stuff
14455
14456Tue Nov 10 12:18:12 1992 Ian Lance Taylor (ian@cygnus.com)
14457
14458 * libc/machine/m68k/setjmp.S: use __USER_LABEL_PREFIX__ and
14459 __REGISTER_PREFIX__.
14460
14461Mon Nov 2 13:50:14 1992 Ian Lance Taylor (ian@cygnus.com)
14462
14463 * libc/sys/m68kbare: moved into stub directory.
14464
14465Mon Nov 2 13:40:42 1992 Ian Lance Taylor (ian@cygnus.com)
14466
14467 * configure.in, Makefile.in: created new directory stub, to hold
14468 sample code for specific targets.
14469
14470Wed Oct 28 02:19:55 1992 Mark Eichin (eichin@cygnus.com)
14471
14472 * restored libc/sys/go32/sys/fcntl.h, to override incorrect values
14473 in the unified libc/include/sys/fcntl.h.
14474
14475Wed Oct 21 13:55:58 1992 Doug Evans (dje@rtl.cygnus.com)
14476
14477 * libc/stdlib/ecvtbuf.c: (print_f,_gcvt): printf("%f", 0.01)
14478 printed .01, not 0.01.
14479
14480Mon Oct 19 11:05:55 1992 Ian Lance Taylor (ian@cygnus.com)
14481
14482 * configure.in: compile with -m68000 for m68* targets.
14483
14484Sun Oct 18 05:29:05 1992 Mark Eichin (eichin@cygnus.com)
14485
14486 * libm/math/remainder.c (remainder): document the svr4 and sunos
14487 references used to construct the function.
14488
14489Sat Oct 17 21:46:16 1992 Mark Eichin (eichin@cygnus.com)
14490
14491 * libm/math/remainder.c (rint, remainder): fix old typos.
14492 * libm/math/Makefile.in: actually build remainder.c (functions
14493 rint and remainder, from SysVr4 Programmer's Guide floor(3m) man
14494 page.)
14495
14496Thu Oct 15 07:48:05 1992 Ian Lance Taylor (ian@cygnus.com)
14497
14498 * libc/string/bcopy.c: BSD version works on overlapping strings,
14499 so ours should too.
14500
14501 * libc/stdlib/system.c: always invoke /bin/sh, not getenv
14502 ("SHELL").
14503
14504Wed Oct 14 11:07:11 1992 Ian Lance Taylor (ian@cygnus.com)
14505
14506 * Makefile.in (docs): new target.
14507
14508Wed Oct 14 07:44:25 1992 Ian Lance Taylor (ian@cygnus.com)
14509
14510 * libc/include/sys/times.h: define clock_t as required by POSIX.
14511 libc/include/time.h: protect clock_t from multiple definitions.
14512
14513Wed Oct 7 11:02:21 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
14514
14515 * libm/math/sqrt.h (sqrt): actually, the final version of fp-bit
14516 does not need more than the original three iterations to get
14517 within 1 ulp. (Paranoia tests for rounding to better than that,
14518 but further iterations *don't* help, only more subtle changes
14519 can.)
14520
14521Tue Oct 6 09:22:12 1992 Ian Lance Taylor (ian@cygnus.com)
14522
14523 * libc/sys/vxworks68, libc/sys/vxworks960: removed, since they
14524 were doing nothing useful.
14525
14526Tue Oct 6 08:48:13 1992 Ian Lance Taylor (ian@cygnus.com)
14527
14528 * configure.in: define MALLOC_PROVIDED for vxworks targets;
14529 removed sys_dir settings of vxworks68 and vxworks960.
14530 host/any: don't pass -nostdinc to gcc, since newlib no longer
14531 provides all required header files.
14532
14533 * libc/stdlib/malloc.c: only compile this file if MALLOC_PROVIDED
14534 is not defined; this provides a hook for VxWorks.
14535
14536Mon Oct 5 03:44:57 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
14537
14538 * libc/stdio/setvbuf.c (setvbuf): while ANSI does say to malloc a
14539 buffer if buf is NULL, don't do it here -- it is already being
14540 done by makebuf elsewhere in stdio.
14541
14542Fri Oct 2 13:12:07 1992 Ian Lance Taylor (ian@cygnus.com)
14543
14544 * libc/sys/a29khif/Makefile.in: assemble Steve's list of stubs so
14545 that C programs can call functions without using initial
14546 underscores.
14547
14548Thu Oct 1 09:37:47 1992 Ian Lance Taylor (ian@cygnus.com)
14549
14550 * libc/stdlib/abort.c (abort): call exit, in case kill returns.
14551
14552Wed Sep 30 08:22:18 1992 Ian Lance Taylor (ian@cygnus.com)
14553
14554 * configure.in: set TARGET_CFLAGS for certain CPU types to
14555 -msoft-float.
14556
14557Tue Sep 29 21:09:32 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
14558
14559 * libc/sys/m68kbare/glue.c: use <_ansi.h> instead of <ansidecl.h>
14560
14561Mon Sep 28 14:58:44 1992 Ian Lance Taylor (ian@cygnus.com)
14562
14563 * configure.in: added sys_dir m68kbare for m68k*-unknown-aout and
14564 m68k*-unknown-coff.
14565
14566Fri Sep 25 08:33:21 1992 Ian Lance Taylor (ian@cygnus.com)
14567
14568 * libc/include/stdio.h: define __need___va_list before including
14569 <stdarg.h>, to avoid defining va_arg, et. al.
14570
14571Tue Sep 22 13:47:00 1992 Ian Lance Taylor (ian@cygnus.com)
14572
14573 * libc/sys/Makefile.in: handle the case of an empty $(sys_dir)
14574 (don't cd to the user's home directory).
14575
14576 * libc/Makefile.in: replaced all instances of $(MAKE) with make.
14577 In general this is the wrong thing to do, but I can't get around
14578 GNU make's insistence on passing command line arguments any other
14579 way.
14580
14581Tue Sep 22 10:12:44 1992 Ian Lance Taylor (ian@cygnus.com)
14582
14583 * configure.in: always configure the libc/sys directory, since it
14584 now provides a required documentation file.
14585
14586 * Makefile.in: replaced all instances of $(MAKE) with make. In
14587 general this is the wrong thing to do, but I can't get around GNU
14588 make's insistence on passing command line arguments any other way.
14589
14590Mon Sep 21 22:42:26 1992 Ian Lance Taylor (ian@tweedledumbest.cygnus.com)
14591
14592 * libc/stdlib/ecvtbuf.c (_gcvt): string for 0 was not null
14593 terminated.
14594
14595 * libc/stdio/local.h: include <stdarg.h> to define va_list.
14596 libc/stdio/vsprintf.c: include <stdarg.h> rather than <varargs.h>.
14597
14598 * libc/include/float.h, libc/include/stdarg.h,
14599 libc/include/stddef.h, libc/include/varargs.h: removed; use gcc
14600 versions instead.
14601 libc/include/stdio.h: get size_t from <stddef.h>, and va_list from
14602 <stdarg.h>, not from <machine/types.h>. Protect definition of
14603 NULL.
14604 libc/include/time.h: get size_t from stddef.h. Protect definition
14605 of NULL.
14606 libc/include/machine/limits.h: override gcc <limits.h> by defining
14607 _LIMITS_H___. Don't define CLK_TCK. Copied in gcc <limits.h> to
14608 get correct INT_MIN and LONG_LONG values.
14609 libc/include/machine/types.h: don't define ptrdiff_t, wchar_t,
14610 size_t or va_list at all; they're now gotten from stddef.h
14611 instead.
14612 libc/include/machine/varargs.h: removed; use gcc version instead.
14613 libc/include/sys/types.h: explicitly include <machine/types.h>.
14614
14615 * libm/math/sqrt.h: using the fp-bit routines appears to require
14616 more iterations.
14617
14618 * Makefile.in, host/any: let system include files override machine
14619 include files.
14620
14621Sat Sep 19 21:10:06 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
14622
14623 * libc/include/machine/types.h: allow __*_TYPE__ from cpp to
14624 override _*_T_ definitions defaulted here.
14625
14626Tue Sep 15 11:14:46 1992 Ian Lance Taylor (ian@cygnus.com)
14627
14628 * Makefile.in (install): install the include files in
14629 $(tooldir)/include, not $(exec_prefix)/include.
14630
14631Fri Sep 11 15:48:43 1992 Ian Lance Taylor (ian@cygnus.com)
14632
14633 * Makefile.in (install): fixed typo, and changed install to not
14634 force rebuild of libc.a and libm.a.
14635
14636Thu Sep 10 10:46:09 1992 Ian Lance Taylor (ian@cygnus.com)
14637
14638 * libc/sys/a29khif/*: Changed all .include's to include
14639 sys/sysmac.h, not plain sysmac.h. The header files live in sys so
14640 that they will be installed for the user.
14641
14642 * Makefile.in (all): create targ-include, a directory holding the
14643 machine and system specific header files during the build.
14644 (install): fixed installation of machine and system specific
14645 header files.
14646
14647 * Makefile.in: fixed comment.
14648 host/any: change .s.o rule to use $(AS) rather than $(CC), so that
14649 we can pass $(INCLUDES) to it.
14650
14651Thu Sep 10 10:13:13 1992 Ian Lance Taylor (ian@cygnus.com)
14652
14653 * libc/include/sys/param.h: new generic file, which may be
14654 overridden for specific systems.
14655
14656 * libc/include/sys/signal.h: define all ANSI signal names, and
14657 NSIG (which is not ANSI) for a29k.
14658
14659Tue Sep 8 09:04:30 1992 Ian Lance Taylor (ian@cygnus.com)
14660
14661 * Makefile.in: don't pass down arguments the lower level makes
14662 will not need.
14663 * libc/Makefile.in: recurse directly, rather than using subdir_do,
14664 in hopes of avoiding argument length limits.
14665 * libm/Makefile.in: recurse directly, rather using subdir_do, in
14666 hopes of avoiding argument length limits.
14667
14668Tue Sep 8 08:27:22 1992 Ian Lance Taylor (ian@cygnus.com)
14669
14670 * libc/include/sys/fcntl.h: include <sys/types.h> to ensure that
14671 mode_t is defined.
14672
14673Mon Sep 7 14:02:07 1992 Ian Lance Taylor (ian@cygnus.com)
14674
14675 * Fixed make info and make install-info for newlib, changing most
14676 Makefile.in and several *.tex files. Moved doc directory from
14677 libc to top level.
14678
14679 * libc/time/mktime.c (_DAYS_IN_MONTH): actually, not const.
14680 Should be rewritten.
14681
14682 * libc/string/strings.tex: renamed node index to node index
14683 function, so that it does not conflict with the top level index
14684 node.
14685
14686 * libc/include/sys/config.h: define __IEEE_BIG_ENDIAN for h8300.
14687
14688Fri Sep 4 02:34:06 1992 Ian Lance Taylor (ian@cygnus.com)
14689
14690 * Overhauled general configuration for newlib. Eliminated all
14691 target dependent Makefile fragments. Create libraries in newlib
14692 rather than newlib/libc and newlib/libm. Use CC, et. al., rather
14693 than CROSS_CC, et. al. Broke make docs; will fix later.
14694
14695 * libc/time/localtime.c (_DAYS_IN_MONTH): actually, not const.
14696 Should be rewritten.
14697
14698Tue Sep 1 15:21:14 1992 Ian Lance Taylor (ian@cygnus.com)
14699
14700 * libc/configure.in: cleaned up somewhat; switch on ${target}
14701 rather than ${target_alias}.
14702 * libm/configure.in: cleaned up somewhat; switch on ${target}
14703 rather than ${target_alias}.
14704
14705 * libc/ctype/ctype_.c: marked _ctype_ array _CONST.
14706 * libc/include/ctype.h: marked _ctype_ as _CONST.
14707
14708 * libc/locale/locale.c (lconv, localeconv): marked static lconv as
14709 _CONST.
14710
14711 * libc/stdio/cvt.c, libc/stdio/findfp.c (__sfmoreglue),
14712 libc/stdio/vfscanf.c (__svfscanf): made static variables const.
14713 libc/stdio/gets.c (gets): removed non-ANSI warning message.
14714 libc/stdio/tmpnam.c (tmpnam): removed unneeded filename variable.
14715
14716 * libc/stdlib/mprec.h, libc/stdlib/mprec.c (pow5mult, tens,
14717 bigtens, tinytens): marked arrays _CONST.
14718 libc/stdlib/qsort.c (swap): if __GNUC__, use _builtin_alloca
14719 rather than a static variable.
14720
14721 * libc/time/asctime.c (asctime), libc/time/localtime.c
14722 (_DAYS_IN_MONTH), libc/time/mktime.c (_DAYS_IN_MONTH,
14723 _DAYS_BEFORE_MONTH), libc/time/strftime.c (dname_len, dname,
14724 mname_len, mname): Marked static arrays _CONST.
14725
14726 * libm/math/gamma.h: made local variables non-static.
14727
14728 * libm/math/acos.h, libm/math/bessel.c, libm/math/erf.c,
14729 libm/math/exp.c, libm/math/gamma.h: marked static arrays as
14730 _CONST.
14731
14732 * libm/math/constants.c: removed file, because the constants it
14733 defined were never referenced.
14734 libm/math/Makefile.in: removed references to constants.c.
14735 libm/math/mathimpl.h: removed declarations of constants.
14736
14737Wed Aug 26 21:09:06 1992 Ian Lance Taylor (ian@cygnus.com)
14738
14739 * libc/include/machine/varargs.h: only call __builtin_saveregs if
14740 it is sensibly defined in libgcc2. Checks preprocessor defines,
14741 which is not a good solution.
14742
14743 * libm/sqrt.c: sqrt(Infinity) should not be a domain error.
14744
14745 * libm/frexp.c: handle denormalized numbers as arguments.
14746
14747 * libm/math/Makefile.in: added some dependencies for .c files
14748 which include local .h files.
14749
14750Mon Aug 24 12:57:58 1992 Ian Lance Taylor (ian@cygnus.com)
14751
14752 * libc/configure.in: set target_alias for OSE*. Replace
14753 target_makefile_frag if it is blank.
14754
14755 * libc/Makefile.in: make sure everything is passed to subsidiary
14756 makes; create all directories when installing.
14757
14758 * libm/ieeefp/Makefile.in, libm/math/Makefile.in: use
14759 CROSS_ARUPDATE instead of AR.
14760
14761 * libm/configure.in: set target_alias for OSE*. Replace
14762 target_makefile_frag if it is blank.
14763
14764 * libm/Makefile.in: make sure everything is passed to subsidiary
14765 makes; create all directories when installing.
14766
14767Thu Aug 20 15:11:51 1992 Mark Eichin (eichin@cygnus.com)
14768
14769 * add following change from libc copy.
14770
14771Wed Aug 19 18:54:49 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
14772
14773 * libc/libc.texinfo: make copyright disclaimers appear on back of
14774 title page; make format of same slightly less ugly; avoid using
14775 underbars in section headings (avoids nasty texinfo bug in table
14776 of contents).
14777
14778 * libc/ctype/tolower.c, libc/ctype/toupper.c: (doc changes in
14779 comments only) avoid using underbars in section headings
14780
14781 * libc/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
14782 isnan ieeefp/fpmask.c, ieeefp/fpround.c, ieeefp/fpsticky.c (doc
14783 changes in comments only): shorten headings ieeefp/infinity.c,
14784 ieeefp/isnan.c: (doc, comments only) more informative headings
14785
14786 * libc/math/bessel.c: (doc, comments only) shorten heading
14787
14788 * libc/stdlib/efgcvt.c, libc/stdlib/mbtowc.c, libc/stdlib/wctomb.c
14789 (doc, comments only) shorten headings
14790
14791 * libc/time/localtime.c (doc, comments only): shorten headings
14792
14793 * libm/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
14794 isnan
14795 libm/ieeefp/fpmask.c, libm/ieeefp/fpround.c,
14796 libm/ieeefp/fpsticky.c (doc changes in comments only): shorten
14797 headings
14798 libm/ieeefp/infinity.c, libm/ieeefp/isnan.c: (doc, comments
14799 only) more informative headings
14800 * libm/math/bessel.c: (doc, comments only) shorten heading
14801
14802Wed Aug 19 07:06:37 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
14803
14804 * .../Makefile.in: use CROSS_ARUPDATE consistently.
14805 * config/*.mt: define CROSS_AR as well as CROSS_ARUPDATE
14806 * config/*.mt: define CROSS_CPP based on CROSS_CC, not /lib/cpp.
14807 * .../Makefile.in: get rid of .c.o rule - if TOP is correctly
14808 defined, the one from the .mt file will be correct.
14809 * libc/include/machine, libc/include/sys: created, and populated
14810 with common files from machine/*/machine. ifdefs were used for
14811 most, typically by handling exceptions first and then filling in
14812 defaults. Files with D.J. Delorie copyright #included rather than
14813 copied. Most files in include/sys really were the same in the
14814 original.
14815 * libc/include/...: cleaned up use of _EXFUN.
14816 * libc/stdlib/mprec.c: mprec.h doesn't get installed, so include
14817 it with double quotes, not angles.
14818
14819Mon Aug 10 11:43:20 1992 Ian Lance Taylor (ian@dumbest.cygnus.com)
14820
14821 * libc/Makefile.in: always create installation directories.
14822
14823Sun Aug 9 22:45:48 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
14824
14825 * libc/configure.in: handle host properly (using canonical
14826 triples), better error message for the case of target not found
14827
14828Thu May 28 01:56:37 1992 Michael Tiemann (tiemann@rtl.cygnus.com)
14829
14830 * libc/Makefile.in (insincdir): Ensure this directory exists
14831 before attempting installation.
14832
14833Fri May 1 18:16:42 1992 Steve Chamberlain (sac@thepub.cygnus.com)
14834
14835 * libc/stdlib/assert.c: now calls abort like it should
14836 * libc/sys/a29khif: many many patches for 29khif work
14837 * libc/machine/i386: gnulib2 expanded there.
14838
14839Tue Apr 28 19:08:37 1992 Steve Chamberlain (sac@thepub.cygnus.com)
14840
14841 Added accurate fp conversion routines to stdlib, moved dcvt from
14842 stdio to stdlib and called it ecvtbuf:
14843 * libc/stdlib/mprec.c, mprec.h: new files for multiprec arithmetic
14844 * libc/stdlib/Makefile.in, efgcvt.c, strtod.c: modified to use new
14845 routines
14846 * libc/libc.texinfo: Modifed to include the copyright info from
14847 the mprec files
14848 * libc/stdlib/efgcvt.c: now xref to ecvtbuf in stdlib.
14849 * libc/test/ : many vector which tested for the implementation
14850 defined returns of strange conversion requests have been updated
14851 to relflect the new implementation
14852
14853Mon Apr 27 13:41:33 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
14854
14855 * libc/libc.texinfo: new chapter on variable arg lists
14856 (stdarg.h/varargs.h)
14857 * libc/libc.texinfo: new title
14858 * libc/time/gmtime.c, libc/time/localtime./c, libc/time/mktime.c:
14859 (doc only) shorter headings for better formatting.
14860
14861Fri Apr 24 11:26:48 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
14862
14863 * libc/libc.texinfo: three more info menu entries
14864 * libc/locale/locale.tex: new chapter
14865 * libc/locale/locale.c: new doc for setlocale, localeconv
14866 * libc/locale/Makefile.in: use new locale doc
14867 * libc/signal/signal.tex: new chapter
14868 * libc/signal/raise.c, libc/signal/signal.c: new doc
14869 * libc/signal/Makefile.in: use new doc
14870 * libc/time/time.tex: new chapter
14871 * libc/time/asctime.c libc/time/clock.c libc/time/ctime.c
14872 libc/time/difftime.c libc/time/gmtime.c libc/time/localtime.c
14873 libc/time/mktime.c libc/time/strftime.c libc/time/time.c: new doc
14874 * libc/time/Makefile.in: use new doc
14875
14876Tue Apr 21 14:48:50 1992 Steve Chamberlain (sac@thepub.cygnus.com)
14877
14878 * libm/math/log1p.c: split to use the new function way of float
14879 function definition. math/log1p.h deleted
14880 * libm/math/scalb.c: obsolete and deleted
14881 * libm/math/scalbn.c: created from part log1p.c
14882 * libm/math/Makefile.in: know about log1p and scalbn
14883
14884Tue Apr 21 12:32:21 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
14885
14886 * libc/ctype/isupper.c: revise doc;
14887 libc/ctype/ctype.tex: use doc from isupper.c
14888
14889 * libc/string/bzero.c: new doc
14890
14891Mon Apr 20 14:19:42 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
14892
14893 * libc/stdlib/system.c, libc/stdlib/exit.c, libc/stdlib/abort.c:
14894 new doc
14895 * libc/stdlib/Makefile.in: extract new doc
14896 * libc/stdlib/stdlib.tex: use new doc
14897
14898 * libc/string/strerror.c: expanded doc.
14899
14900 * libc/stdio/Makefile.in: extract doc from more files
14901 * libc/stdio/fopen.c, libc/stdio/perror.c, libc/stdio/remove.c,
14902 libc/stdio/rename.c, libc/stdio/rewind.c, libc/stdio/setbuf.c,
14903 libc/stdio/setvbuf.c, libc/stdio/sprintf.c, libc/stdio/tmpfile.c,
14904 libc/stdio/tmpnam.c, libc/stdio/vfprintf.c, libc/stdio/vprintf.c,
14905 libc/stdio/vsprintf.c: new doc
14906 * libc/stdio/stdio.tex: use new doc
14907
14908Mon Apr 20 09:38:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
14909
14910 * libc/config/ebmon29k: added CROSS_CPP rule and other fixes
14911 * libc/include/ieeefp.h: fixed ansi conflict with isnanf, isinff,
14912 finitef functions.
14913 * libc/sys/a29khif/sys/*.h: ansidecl.h was renamed to _ansi.h some
14914 time ago.
14915
14916 * libc/stdio/stdio.h: added P_tmpdir for /tmp (SVID thing)
14917 * libc/stdio/setbuf.c: added ansi style definition.
14918 * libc/stdio/setvbuf.c: added ansi definition, now mallocs own
14919 buffer if none provided.
14920 * libc/stdio/tmpfile.c: lint
14921 * libc/stdio/tmpnam.c (worker): created. (tmpnam): mallocs buffer
14922 rather than using static, also make sure file isn't already
14923 present. Uses P_tmpdir. (tempnam): rewritten to use new
14924 subroutine, and uses P_tmpdir.
14925 * libc/stdio/siprintf.c: created
14926
14927Mon Apr 13 09:12:58 1992 Steve Chamberlain (sac@thepub.cygnus.com)
14928
14929 Release 1.03 for NEC, major mods. Main differences from release
14930 1.02::
14931
14932 More tests in test/:
14933 * jn_vec.c, jnf_vec.c, yn_vec.c, ynf_vec.c, log2_vec.c,
14934 log2f_vec.c, atan2_vec.c, atan2f_vec.c: new test vectors.
14935 * test_ieee.c: tests for ieee flags & masks - get/set rounding,
14936 get/set mask, get/set sticky and get/set roundtoi. Tests
14937 that setting the bits changes the way arithmetic is done.
14938 * string.c: added test to make sure memcmp does it with unsigned
14939 chars.
14940 * test.c: cleaned up and removed lint.
14941 * sprint_vec, sprint_ivec.c, convert.c, conv_vec.c, iconf_vec.c,
14942 dvec.c: tests for string to value conversions, sprintf, scanf,
14943 atof, atoff, strtod, strtodf, atoi, atol, strtol, ecvtbuf, ecvt,
14944 ecvtf, fcvtbuf, fcvt, fcvtf, gcvt, gcvtf. Some attention paid to
14945 rounding in sprintf too.
14946 * test_is.c: tests for isalnum, isalpha, isascii, iscntrl,
14947 isdigit, isgraph, islower, isprint, ispunct, isspace, isupper,
14948 isxdigit, toascii, tolower, toupper, _tolower, _toupper in macro
14949 and function form.
14950 * math2.c: test for frexp, frexpf, ldexp, ldexpf, modf modff, pow,
14951 powf
14952
14953 In the library:
14954 * libc/stdlib/div.c, libc/stdlib/ldiv.c, libc/stdlib/strtod.c,
14955 libc/stdlib/strtol.c, libc/stdlib/stroul.c, libc/stdlib/abs.c,
14956 libc/stdlib/bsearch.c, libc/stdlib/calloc.c, libc/stdlib/getenv.c,
14957 libc/stdlib/labs.c, libc/stdlib/malloc.c: new documentation
14958 * libc/stdlib/efgcvt.c: rewritten to use new _dcvt routines rather
14959 than sprintf.
14960 * libc/stdio/dcvt.c: rewritten to make more useful elsewhere.
14961 * Method of producting float versions of double functions has
14962 changed, functions will be modified gradually. So far:
14963 libm/math/exp.c, libm/math/pow.c, libm/math/modf.c,
14964 libm/math/sincos.c, libm/math/fmod.c, libm/math/tan.c have been
14965 altered
14966 * libc/string/memcmp.c: now uses unsigned chars
14967 * libc/string/bcmp.c, libc/string/strcpy.c,
14968 libc/stsring/strxfrm.c: fixed doc
14969 * libc/sys/sysvnecv70.tex: fix example of sbrk code
14970\f
14971Local Variables:
14972version-control: never
14973End:
This page took 1.72561 seconds and 5 git commands to generate.