]> sourceware.org Git - newlib-cygwin.git/blame - newlib/ChangeLog
revert inexplicable previous checkin
[newlib-cygwin.git] / newlib / ChangeLog
CommitLineData
cebe43dd
JJ
12005-09-01 Jeff Johnston <jjohnstn@redhat.com>
2
3 * libm/mathfp/s_pow.c: (pow): Change code so 0 raised to
4 any positive power results in 0.
5 * libm/mathfp/sf_pow.c (powf): Ditto.
6
45c8bb8f
JJ
72005-08-31 Paul Brook <paul@codesourcery.com>
8
9 * configure.host: Set have_crt0 to no for Arm targts when not
10 providing syscalls. Set sys_dir=arm unconditionally.
11 Default have_crt0 based on sys_dir.
12 * configure.in: Use have_crt0.
13 * libc/configure.in: Ditto.
14 * libc/sys/configure.in: Ditto.
15 * configure: Regenerate.
16 * libc/configure: Regenerate.
17 * libc/sys/configure: Regenerate.
18 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add aeabi_atexit.c.
19 Only build other files when providing syscalls.
20 * libc/sys/arm/Makefile.in: Regenerate.
21 * libc/sys/arm/aeabi_atexit.c: New file.
22
dbeee890
CF
232005-08-26 Christopher Faylor <cgf@timesys.com>
24
25 * libc/include/string.h: Revert previous change.
26
377d3ea0
CF
272005-08-25 Christopher Faylor <cgf@timesys.com>
28
29 * libc/include/string.h: For Cygwin, Define strerror_r as per ISO C.
30
4797a77c
JJ
312005-08-22 Shaun Jackman <sjackman@gmail.com>
32
33 * libc/include/_syslist.h: If HAVE_OPENDIR is not defined,
34 define _opendir as opendir, _readdir as readdir, and
35 _closedir as closedir so that the implementations in
36 libc/posix will be used.
37
2e73582e
DD
382005-08-10 DJ Delorie <dj@redhat.com>
39
40 * MAINTAINERS (CPU Ports): Add CPU port maintainer section.
41
234cf97f
JJ
422005-08-10 Stephen Huw Clarke <stephen.clarke@st.com>
43
44 * libm/common/sf_fmax.c: Fix to properly handle NaNs.
45 * libm/common/s_max.c: Ditto.
46 * libm/common/sf_fmin.c: Ditto.
47 * libm/common/s_min.c: Ditto.
48
56448afa
JJ
492005-08-10 DJ Delorie <dj@redhat.com>
50
51 * configure.host: Add m32c support.
52 * libc/include/machine/ieeefp.h: Likewise.
53 * libc/include/machine/setjmp.h: Likewise.
54 * libc/include/sys/config.h: Likewise.
55 * libc/machine/m32c: New directory, Renesas R8C/M16C/M32C support.
56 * libc/machine/m32c/aclocal.m4: New file.
57 * libc/machine/m32c/configure: Ditto.
58 * libc/machine/m32c/configure.in: Ditto.
59 * libc/machine/m32c/Makefile.am: Ditto.
60 * libc/machine/m32c/Makefile.in: Ditto.
61 * libc/machine/m32c/setjmp.S: Ditto.
62
0c5c6c23
JJ
632005-08-02 Bob Wilson <bob.wilson@acm.org>
64
56448afa
JJ
65 * libm/math/ef_hypot.c (__ieee754_hypotf): Add missing exponent bias
66 to the value for 2^126.
0c5c6c23 67
12499c7a
HPN
682005-07-26 Hans-Peter Nilsson <hp@bitrange.com>
69
70 * libc/machine/cris/libcdtor.c (defaultors): Mark artificially as
71 used.
72
395a327d
JJ
732005-07-20 Bob Wilson <bob.wilson@acm.org>
74 Darin Petkov <darin@tensilica.com>
75
76 * libm/math/ef_atan2.c (pi, pi_lo): Use round-to-nearest value of pi.
77
108d7dd8
JJ
782005-07-19 Paul Brook <paul@codesourcery.com>
79
80 * libc/sys/arm/crt0.S: Ensure doubleword stack alignment.
81
b776efc5
JJ
822005-07-18 Joseph S. Myers <joseph@codesourcery.com>
83
84 * testsuite/lib/checkoutput.exp (newlib_check_output): Use test
85 names after PASS and FAIL which do not depend on source directory
86 name or on whether test passed or failed.
87 * testsuite/lib/passfail.exp (newlib_pass_fail): Likewise.
88
88540e24
JJ
892005-07-08 Ola Hugosson <Ola.Hugosson@anoto.com>
90
91 * libc/string/wcsspn.c (wcsspn): Add missing increment of q.
92
85d62190 932005-07-07 Shaun Jackman <sjackman@gmail.com>
b32adfc5 94
88540e24 95 * libc/unix/ttyname.c (ttyname): Avoid calling _closedir
b32adfc5
JJ
96 twice for the same directory. _closedir calls free, and freeing
97 the same pointer twice may cause a crash.
98
dee9edd9
AH
992005-07-06 Aldy Hernandez <aldyh@redhat.com>
100
101 * configure.host: Added entry for ms1*.
102 * libc/include/machine/ieeefp.h: Handle ms1.
103 * libc/include/machine/setjmp.h (_JBLEN): Define for ms1.
104 * libc/machine/ms1/aclocal.m4: New.
105 * libc/machine/ms1/configure: New.
106 * libc/machine/ms1/configure.in: New.
107 * libc/machine/ms1/Makefile.am: New.
108 * libc/machine/ms1/Makefile.in: New.
109 * libc/machine/ms1/setjmp.S: New.
110
cec1d3b4
JJ
1112005-07-04 Mark Mitchell <mark@codesourcery.com>
112
113 * Makefile.am (site.exp): Set tmpdir.
114 * Makefile.in: Regenerated.
115 * testsuite/lib/checkoutput.exp (newlib_check_output): Put
116 executables in $tmpdir.
117 * testsuite/lib/flags.exp (libgloss_link_flags): Use the original
118 libgloss version if not running in the build directory.
119 * testsuite/lib/newlib.exp (newlib_init): Put testglue.o in
120 $tmpdir.
121 * testsuite/lib/passfail.exp (newlib_pass_fail): Put executables
122 in $tmpdir.
123
25d209f1
JJ
1242005-06-28 Dave Korn <dave.korn@artimi.com>
125
126 * libm/common/s_lrint.c (lrint): Fix signed-vs-unsigned comparison
127 and miscalculation caused by fp representation of zero.
128 * libm/common/sf_lrint.c (lrintf): Likewise.
129
68cdbb18
JJ
1302005-06-16 Christopher Faylor <cgf@timesys.com>
131
132 * libc/stdio/vfprintf.c (cvt): Don't rely on pointer aliasing to
133 determine characteristics of long double. Use a union instead.
134 * ldtoa.c (_ldtoa_r): Ditto.
135 (_ldcheck): Ditto.
136 (_strtold): Ditto.
137 (union uconv): New union.
138
15c04fd1
JJ
1392005-06-03 Jeff Johnston <jjohnstn@redhat.com>
140
141 * libc/stdlib/mallocr.c (MALLOC_COPY): Switch to use memmove
142 instead of memcpy.
143
cf55bf5e
JJ
1442005-05-12 Jeff Johnston <jjohnstn@redhat.com>
145
146 * configure.host (mn10300-*): Add long long I/O support by default.
147
b6e654c4
JJ
1482005-05-12 Jeff Johnston <jjohnstn@redhat.com>
149
150 * libc/sys/linux/getpwuid.c: Removed.
151 * libc/sys/linux/getpwnam.c: Removed.
152 * libc/sys/linux/getpwent.c: New file containing logic
153 from files removed above. This allows overriding of file
154 in libc/unix.
155 * libc/sys/linux/Makefile.am: Support changes above.
156 * libc/sys/linux/Makefile.in: Regenerated.
157
5456408b
JJ
1582005-04-28 Jeff Johnston <jjohnstn@redhat.com>
159
160 * libc/stdio/vfscanf.c (__svfscanf_r): Fix code thinko
161 when checking for multiple flags.
162
1c74754f
HPN
1632005-04-18 Hans-Peter Nilsson <hp@axis.com>
164
165 * configure.host <cris-*-* | crisv32-*-*>: Set
166 default_newlib_io_long_long="yes".
167
6e75bff6
JJ
1682005-04-08 Jeff Johnston <jjohnstn@redhat.com>
169
170 * libc/include/libgen.h: New file.
171
1722005-04-08 Shaun Jackman <sjackman@gmail.com>
173
174 * libc/unix/Makefile.am: Add support for basename and dirname.
175 * libc/unix/Makefile.in: Regenerated.
176 * libc/unix/basename.c: New file.
177 * libc/unix/dirname.c: New file.
178
95c136c4
JJ
1792005-04-07 Shaun Jackman <sjackman@gmail.com>
180
181 * libc/sys/linux/inode.c (lchown): New function.
182
9ae26f7e
JJ
1832005-04-07 Shaun Jackman <sjackman@gmail.com>
184
185 * libc/unix/Makefile.am (LIB_OBJS): Include all the ELIX objects if no
186 ELIX level is defined.
187 * libc/unix/Makefile.in: Regenerated.
188
85da7039
JJ
1892005-04-05 Dave Korn <dave.korn@artimi.com>
190
191 * libc/stdio/vfscanf.c (__svfscanf_r): If an error occurs processing
192 something that looks like a "NaN", put back the characters processed.
193
fefc73a0
CV
1942005-04-01 Corinna Vinschen <corinna@vinschen.de>
195
196 * libc/stdlib/strtod.c (_strtod_r): Never change s00.
197
e633fde1
CF
1982005-03-23 Christopher Faylor <cgf@timesys.com>
199
200 * configure.host: For cygwin, redefine CC with cygwin include directory
201 first to mimic the behavior of the top-level configury. Move include
202 directory out of newlib_cflags.
203
859c94e8
JJ
2042005-03-22 Jeff Johnston <jjohnstn@redhat.com>
205
206 * configure.host: For arc, set -DREENTRANT_SYSCALLS_PROVIDED flag on.
207 * libc/sys/arc/syscalls.c: Change functions to use __errno_r rather
208 than errno.
209
7e3fd32b
CF
2102005-03-22 Christopher Faylor <cgf@timesys.com>
211
212 * libc/include/machine/_types.h: Make trivial change to comment to
213 avoid a spurious warning from gcc.
214
d4eb8920
JJ
2152005-03-21 Nicholas Wourms <nwourms@netscape.net>
216
217 * libc/stdio/vfprintf.c: Move newlib.h before _WANT_IO_POS_ARGS test,
218 since _WANT_IO_POS_ARGS is now defined in there. Remove duplicate
219 reent.h include.
220
45030958
JJ
2212005-03-18 Hans-Peter Nilsson <hp@axis.com>
222 Corinna Vinschen <corinna@vinschen.de>
223
224 * libc/include/ctype.h: Remove invalid +1 offset from
225 ctype macro references to __ctype_ptr.
226 (_ctype_): Move declaration outside #ifndef __cplusplus.
227
5c9b5ac7
CV
2282005-03-18 Corinna Vinschen <corinna@vinschen.de>
229
230 * libc/include/machine/setjmp.h (sigsetjmp): Use GCC extension to
231 evaluate first parameter only once.
232 (siglongjmp): Ditto.
233
dd801fda
JJ
2342005-03-17 Jeff Johnston <jjohnstn@redhat.com>
235
236 * configure.in: Add new check to see if compiler supports
237 aliasing of arrays and define _HAVE_ARRAY_ALIASING if true.
238 * configure: Regenerated.
239 * Makefile.in: Ditto.
240 * newlib.hin: Add _HAVE_ARRAY_ALIASING.
241 * libc/ctype/ctype_.c: Check for _HAVE_ARRAY_ALIASING before
242 aliasing the _ctype_ array to _ctype_b.
243 * libc/include/ctype.h: Change macros to use __ctype_ptr. Mark
244 _ctype_ as deprecated.
245
333eabc6
HPN
2462005-03-17 Hans-Peter Nilsson <hp@axis.com>
247
248 * configure.host (newlib_cflags) <cris-*-*, crisv32-*-*>: Add
249 -DCOMPACT_CTYPE.
250
df5a5b35
JJ
2512005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
252
253 * libc/sys/rtems/include/inttypes.h: New file.
254 * libc/sys/rtems/include/stdint.h: Ditto.
255
9d385fb0
JJ
2562005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
257
258 * libc/string/memcmp.c: Fix to avoid pointer signedness warning.
259
2e7d9bf9
JJ
2602005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
261
262 * libc/include/machine/_types.h: New file.
263 * libc/include/sys/types.h: Do not check for __rtems__
264 when including <machine/_types.h>. Remove some redundant
265 declarations now that <machine/_types.h> is included.
266 * libc/sys/rtems/machine/_types.h: Removed. Replaced with
267 shared header file.
268
92a7e06e
JJ
2692005-02-25 Ralf Corsepious <ralf.corsepius@rtems.org>
270
271 * libm/common/fdlibm.h (FLT_UWORD_MAX, FLT_UWORD_HALF_MAX): Add
272 L qualifier for these long constants.
273
1139537a
JJ
2742005-02-25 Eric Blake <ebb9@byu.net>
275
276 * libc/include/time.h (__tzrule_struct): Make offset long, since
277 a 16-bit int overflows on a 12-hour offset.
278 * libc/sys/linux/include/time.h: Ditto.
279 * libc/time/mktime.c (mktime): Use new type of __tzrule.offset.
280 * libc/time/mktm_r.c: Ditto.
281 * libc/time/gettzinfo.c: Ditto.
282 * libc/time/strftime.c (strftime): Fix '%x' to deal with negative
283 years. Fix '%z' to use long, not int.
284
f4fd7b4c
JJ
2852005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
286
287 * libm/common/s_fpclassify.c: Use __uint32_t instead of int to
288 manipulate float values in integer form.
289 * libm/common/sf_round.c: Ditto.
290
f2f8a9a2
JJ
2912005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
292
293 * libc/include/sys/types.h [__rtems__]: Include new
294 header file machine/_types.h.
295 * libc/include/machine/types.h: Ditto.
296 * libc/sys/rtems/machine/_types.h: New file.
297
39fd43d7
CV
2982005-02-23 Corinna Vinschen <corinna@vinschen.de>
299
300 * libc/include/time.h (_timezone): Change to long also for Cygwin.
301 (timezone): Drop cast from definition.
302
6b9a74f9
JJ
3032005-02-23 Jeff Johnston <jjohnstn@redhat.com>
304
305 * libc/include/time.h [!CYGWIN](_timezone): Change to long.
306 (__tzrule_type, __tzinfo_type): New types.
307 (__gettzinfo): New function.
308 * libc/sys/linux/include/time.h: Ditto.
309 * libc/time/Makefile.am: Add gettzinfo.c.
310 * libc/time/Makefile.in: Regenerated.
311 * libc/time/local.h: Moved __tzrule_type to time.h.
312 * libc/time/mktime.c: Call __gettzinfo to reference
313 __tznorth, __tzyear, and __tzrule array.
314 * libc/time/mktm_r.c: Ditto.
315 * libc/time/strftime.c: Ditto.
316 * libc/time/tzset_r.c: Ditto. Also remove definition
317 of __tzrule which is now in gettzinfo.c. Change _timezone
318 references to not cast to time_t.
319 * libc/time/gettzinfo.c: New file.
320
6015cf9f
CV
3212005-02-23 Corinna Vinschen <corinna@vinschen.de>
322
323 * libc/include/sys/unistd.h: Define getpeereid for Cygwin.
324
5e4c05da
CV
3252005-02-22 Corinna Vinschen <corinna@vinschen.de>
326
327 * libc/include/sys/unistd.h: Define fdatasync also for Cygwin.
328
f1d439fc
JJ
3292005-02-16 Eric Blake <ebb9@byu.net>
330
331 * libc/time/time.tex: Improve the documentation.
332 * libc/time/strftime.c: Improve the documentation.
333 (iso_year_adjust): New helper function.
334 (strftime): Simplify '%E' and '%O'. Change '%c' to use
335 recursion. Fix '%C', '%y', and '%Y' to deal with years with more
336 than 4 characters. Combine '%d' and '%e'. Implement '%D', '%F',
337 '%g', '%G', '%n', '%R', '%t', '%T', '%u', '%V', '%X', and '%z'.
338 Avoid core dumps on valid inputs (maxsize == 0, or
339 tim_p->tm_isdst > 1).
340
18d3a03b
CV
3412005-02-08 Corinna Vinschen <corinna@vinschen.de>
342
343 * libc/include/pwd.h (struct passwd): Change pw_uid and pw_gid
344 members to uid_t and gid_t according to SUSv3.
345 * libc/include/sys/time.h (utimes): Change second parameter
346 to const according to SUSv3.
347
1159e0fd
JJ
3482005-02-07 Antony King <antony.king@st.com>
349
350 * libc/stdio/clearerr.c (clearerr): Ensure CHECK_INIT() is
351 called before _flockfile to prevent lock object use before
352 initialisation. _REENT_SMALL_CHECK_INIT() and CHECK_INIT()
353 take a struct _reent * instead of a FILE *.
354 * libc/stdio/fclose.c (_fclose_r): Ditto.
355 * libc/stdio/feof.c (feof): Ditto.
356 * libc/stdio/ferror.c (ferror): Ditto.
357 * libc/stdio/fflush.c (fflush): Ditto.
358 * libc/stdio/fgetc.c (fgetc): Ditto.
359 * libc/stdio/fgets.c (fgets): Ditto.
360 * libc/stdio/fileno.c (fileno): Ditto.
361 * libc/stdio/fputc.c (fputc): Ditto.
362 * libc/stdio/fputs.c (fputs): Ditto.
363 * libc/stdio/fread.c (fread): Ditto.
364 * libc/stdio/freopen.c (_freopen_r): Ditto.
365 * libc/stdio/fseek.c (_fseek_r): Ditto.
366 * libc/stdio/ftell.c (_ftell_r): Ditto.
367 * libc/stdio/fwrite.c (fwrite): Ditto.
368 * libc/stdio/getc.c (getc): Ditto.
369 * libc/stdio/getdelim.c (__getdelim): Ditto.
370 * libc/stdio/putc.c (putc): Ditto.
371 * libc/stdio/setvbuf.c (setvbuf): Ditto.
372 * libc/stdio/ungetc.c (_ungetc_r): Ditto.
373 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
374 * libc/stdio64/freopen64.c (_freopen64_r): Ditto.
375 * libc/stdio64/fseeko64.c (_fseeko64_r): Ditto.
376 * libc/stdio64/ftello64.c (_ftello64_r): Ditto.
377 * libc/stdio/local.h (CHECK_INIT): Argument is now a struct
378 _reent * instead of a FILE * and so replace incorrect use of
379 _REENT with argument.
380 * libc/sys/arm/syscalls.c (CHECK_INIT): Ditto.
381 * libc/stdio/getchar.c (getchar): _REENT_SMALL_CHECK_INIT() and
382 CHECK_INIT() take a struct _reent * instead of a FILE *.
383 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Ditto.
384 * libc/stdio/iscanf.c (iscanf, _iscanf_r): Ditto.
385 * libc/stdio/perror.c (perror): Ditto.
386 * libc/stdio/printf.c (printf, _printf_r): Ditto.
387 * libc/stdio/putchar.c (putchar): Ditto.
388 * libc/stdio/puts.c (puts): Ditto.
389 * libc/stdio/refill.c (__srefill): Ditto.
390 * libc/stdio/scanf.c (scanf, _scanf_r): Ditto.
391 * libc/stdio/vfscanf.c (VFSCANF, _VFSCANF_R): Ditto.
392 * libc/stdio/viprintf.c (viprintf, _viprintf_r): Ditto.
393 * libc/stdio/viscanf.c (viscanf, _viscanf_r): Ditto.
394 * libc/stdio/vprintf.c (vprintf, _vprintf_r): Ditto.
395 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Ditto.
396 * libc/stdio/wbuf.c (__swbuf): Ditto.
397 * libc/stdio/wsetup.c (__swsetup): Ditto.
398 * libc/stdlib/mallocr.c (malloc_stats): Ditto.
399 * libc/stdlib/mstats.c (_mstats_r): Ditto.
400 * libc/include/sys/reent.h (_REENT_SMALL_CHECK_INIT): Ditto.
401 * libc/machine/powerpc/vfscanf.c (vfscanf): Ditto.
402 * libc/stdio/fgetpos.c (_fgetpos_r): Removed unnecessary calls
403 to _flockfile and _funlockfile; rely on locking in _ftell_r.
404 * libc/stdio64/fgetpos64.c (_fgetpos64_r): Ditto (_ftello64_r).
405 * libc/machine/powerpc/vfprintf.c (__sbprintf): Removed unnecessary
406 initialision of _data field in FILE structure.
407 * libc/machine/powerpc/vfprintf.c (VFPRINTF): Added CHECK_INIT() call.
408
3d915670
JJ
4092005-02-07 Jeff Johnston <jjohnstn@redhat.com>
410
411 * libc/stdio/findfp.c (__sinit): Protect with new lock.
412 (__sinit_lock): New lock.
413 (__sinit_lock_acquire, __sinit_lock_release): New functions.
414 * libc/stdio/local.h: Add reference to new __sinit locking
415 functions.
416
b59cab1e
JJ
4172005-02-07 Jeff Johnston <jjohnstn@redhat.com>
418
419 * libc/include/math.h (isfinite, isnormal, isunordered): Change
420 input variable names to avoid mixups with nesting macros.
421
1815fdea
JJ
4222005-01-27 Hans-Peter Nilsson <hp@axis.com>
423
424 * configure.host: Add support for cris-*-* and crisv32-*-*.
425 * libc/include/machine/ieeefp.h: Ditto.
426 * libc/include/machine/setjmp.h: Ditto.
427 * libc/machine/cris/configure.in, libc/machine/cris/Makefile.am,
428 libc/machine/cris/libcdtor.c, libc/machine/cris/setjmp.c,
429 libc/machine/cris/memmove.c, libc/machine/cris/memcpy.c,
430 libc/machine/cris/memset.c, libc/machine/cris/include/pthread.h,
431 libc/machine/cris/sys/signal.h, libc/machine/cris/sys/fcntl.h,
432 libc/machine/cris/sys/errno.h, libc/machine/cris/aclocal.m4,
433 libc/machine/cris/configure, libc/machine/cris/Makefile.in: New
434 files.
435
f7d4d41a
JJ
4362005-01-27 Hans-Peter Nilsson <hp@axis.com>
437
438 * testsuite/newlib.string/memmove1.c: New test.
439
1319dec6
JJ
4402005-01-27 Hans-Peter Nilsson <hp@axis.com>
441
442 * testsuite/include/check.h: Include stdlib.h.
443
b45e65b0
JJ
4442005-01-27 Hans-Peter Nilsson <hp@axis.com>
445
446 * Makefile.am (stmp-targ-include): Support include header files
447 from machine directories.
e9743354 448 (install-data-local): Ditto.
b45e65b0
JJ
449 * Makefile.in: Regenerate.
450
dbfa92dd
JJ
4512005-01-24 Jeff Johnston <jjohnstn@redhat.com>
452
453 * libc/include/string.h: Remove Linux-specific declaration of
454 strsignal and add #include <sys/string.h>.
455 * libc/include/sys/string.h: New file.
456 * libc/include/sys/linux/sys/string.h: New file with strsignal
457 declaration deleted above.
458
6cb0c055
JJ
4592005-01-20 Jeff Johnston <jjohnstn@redhat.com>
460
461 * libc/time/strftime.c (strftime): Change %r and %x to be compliant
462 to POSIX standard for "C" locale. Allow %E and %O modifiers
463 to be ignored as long as they precede valid specifiers according
464 to POSIX.
465
52429807
JJ
4662005-01-19 Shaun Jackman <sjackman@gmail.com>
467
468 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
469 environment variable is set.
470
f693170a
JJ
4712005-01-19 Shaun Jackman <sjackman@gmail.com>
472
473 * tzset_r.c (_tzname): Add a comma.
474
464d01bf
AH
4752005-01-18 Aldy Hernandez <aldyh@redhat.com>
476
477 * libc/machine/powerpc/vfprintf.c: Use _REENT when calling
478 _VFPRINTF_R.
479
f7a74742
JJ
4802005-01-07 Paul Brook <paul@codesourcery.com>
481
482 * configure.in: Add test for .init_array.
483 * configure: Regenerate.
484 * newlib.hin: Add HAVE_INITFINI_ARRAY.
485 * libc/misc/Makefile.am: Add init.c
486 * libc/misc/Makefile.in: Regenerate.
487 * libc/misc/init.c: New file.
488 * libc/sys/arm/crt0.S: Call __libc_{init,fini}_array instead of
489 _init/_fini if they exist.
490
8fa6cb9a
JJ
4912005-01-06 Jeff Johnston <jjohnstn@redhat.com>
492
493 * libc/stdlib/strtod.c (_strtod_r): Add NaN support.
494 * (strtof): Ditto.
495 * libc/stdio/vfscanf.c (__svfscanf_r): Ditto.
496 * Makefile.am (MATHOBJS_IN_LIBC): Add s_nan and sf_nan
497 functions for use by strtod and strtof.
498 * Makefile.in: Regenerated.
499
034a3909
JJ
5002005-01-06 Hans-Peter Nilsson <hp@axis.com>
501
502 * libc/stdio/ftell.c (ftell_r): Add parenthesis for __SWR
503 bit-test in combination with NULL test.
504
9918ea2d
JJ
5052005-01-06 Hans-Peter Nilsson <hp@axis.com>
506
507 * README: Fix typo of LGPL. Change "license" to "copyright".
508
5cc3f592
JJ
5092004-12-17 Jeff Johnston <jjohnstn@redhat.com>
510
511 * NEWS: Update with 1.13.0 info.
512 * README: Ditto.
513 * acinclude.m4: Change version number to 1.13.0.
514 * aclocal.m4: Regenerated.
515 * configure: Ditto.
516 * doc/aclocal.m4: Ditto.
517 * doc/configure: Ditto.
518 * libc/*/aclocal.m4: Ditto.
519 * libc/*/configure: Ditto.
520 * libc/libc.texinfo: Ditto.
521 * libm/*/aclocal.m4: Ditto.
522 * libm/*/configure: Ditto.
523 * libm/libm.texinfo: Ditto.
524 * libc/sys/linux/shared.ld: Add VERS_1.13.
525
d8ae996c
JJ
5262004-12-17 Christian Groessler <chris@groessler.org>
527
528 * libc/machine/z8k/memcmp.S: New file.
529 * libc/machine/z8k/memcpy.S: Ditto.
530 * libc/machine/z8k/memmove.S: Ditto.
531 * libc/machine/z8k/memset.S: Ditto.
532 * libc/machine/z8k/Makefile.am: Add new files.
533 * libc/machine/z8k/Makefile.in: Regenerated.
534 * libc/machine/z8k/setjmp.S: Fix indirect register usage in Z8002
535 part. Implement Z8002 stdcall version.
536
82673116
JJ
5372004-12-13 Jeff Johnston <jjohnstn@redhat.com>
538
539 * libc/stdio/fread.c (fread): For unbuffered I/O, attempt
540 a low-level read if we don't get the full amount of bytes so
541 EOF or error flags will be set.
542
0082d4cf
JJ
5432004-12-09 Alex Mogilnikov <alx@intellectronika.ru>
544
545 * libc/time/tzset_r (_tzset_r): Properly skip over
546 '/' when it is detected.
547
3b54b74f
JJ
5482004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
549
550 * libc/time/tzset_r (_tzset_r): Fix loop.
551
4b30e154
JJ
5522004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
553
554 * libc/time/mktm_r (_mktm_r): Fix overflow calculation for
555 m_day.
556 (__tzcalc_limits): Fix reference to month array to be zero-based.
557
465eab2e
JJ
5582004-12-07 Jeff Johnston <jjohnstn@redhat.com>
559
560 * libc/sys/linux/sys/unistd.h: Add prototypes for ftruncate, truncate,
561 and usleep.
562
a2b1a849
JJ
5632004-12-03 Jeff Johnston <jjohnstn@redhat.com>
564
565 * Makefile.am (libc_la_LDFLAGS): Add -lgcc to handle any
566 libgcc dependencies.
567 (libm_la_LDFLAGS): Ditto.
568 * Makefile.in: Regenerated.
569
c80a1731
JJ
5702004-12-03 Shaun Jackman <sjackman@gmail.com>
571
572 * libc/sys/linux/linuxthreads/Makefile.am (install-data-local): Fix
573 our link to use readlink so as to preserve any relative link created
574 by install-toollibLIBRARIES.
575 * libc/sys/linux/linuxthreads/Makefile.in: Regenerated.
576
70e9da42
JJ
5772004-12-02 Shaun Jackman <sjackman@gmail.com>
578
579 * libc/sys/linux/stdlib/glob.c: Include <sys/types.h> which defines
580 time_t before including sys/stat.h, which uses it.
581 * libc/sys/linux/sys/stat.h: Include <sys/types.h> and
582 <linux/time.h> just prior to definition of __KERNEL__ so as to
583 allow building on Debian Linux where otherwise, mktime would
584 be redefined.
585
a330d85a
JJ
5862004-11-26 Paul Brook <paul@codesourcery.com>
587
588 * libc/sys/arm/crt0.S (_start): Add .cantunwind annotation.
589
c41a1cb7
JJ
5902004-11-24 Jeff Johnston <jjohnstn@redhat.com>
591
592 * libc/include/stdlib.h (putenv, _putenv_r): Change to remove
9aa189be 593 const for value string parameter to match Single Unix and glibc.
c41a1cb7
JJ
594 * libc/stdlib/putenv.c: Ditto.
595 * libc/stdlib/putenv_r.c: Ditto.
596
16ac96ee
JJ
5972004-11-24 Jeff Johnston <jjohnstn@redhat.com>
598
599 * libc/stdio/Makefile.am: Fix missing vfscanf.
600 * libc/stdio/Makefile.in: Regenerated.
601
3bf09147
JJ
6022004-11-23 Jeff Johnston <jjohnstn@redhat.com>
603
604 * libc/include/stdio.h: Add new iprintf and iscanf variants. Also
605 do some reordering.
606 * libc/machine/powerpc/vfscanf.c: Remove __sccl function.
607 * libc/stdio/Makefile.am: Add support for new iprintf and iscanf
608 family functions.
609 * libc/stdio/Makefile.in: Regenerated.
610 * libc/stdio/fiprintf.c: Remove doc to siprintf.c.
611 * libc/stdio/iprintf.c: Ditto.
612 * libc/stdio/local.h (__svfiscanf_r): New prototype.
613 * libc/stdio/siprintf.c: Add docs for various iprintf family functions.
614 * libc/stdio/sniprintf.c: Move docs to siprintf.c.
615 * libc/stdio/stdio.tex: Add new functions.
616 * libc/stdio/vfscanf.c: Split out __sccl function to separate
617 file and add special name defines so this file can be used
618 to build vfiscanf.o.
619 * libc/stdio/asiprintf.c: New file.
620 * libc/stdio/fiscanf.c: Ditto.
621 * libc/stdio/iscanf.c: Ditto.
622 * libc/stdio/sccl.c: Ditto.
623 * libc/stdio/siscanf.c: Ditto.
624 * libc/stdio/vasiprintf.c: Ditto.
625 * libc/stdio/viprintf.c: Ditto.
626 * libc/stdio/viscanf.c: Ditto.
627 * libc/stdio/vsiprintf.c: Ditto.
628 * libc/stdio/vsiscanf.c: Ditto.
629 * libc/stdio/vsniprintf.c: Ditto.
630
0f0fcb04
JJ
6312004-11-19 Shaun Jackman <sjackman@gmail.com>
632
633 * libc/include/stdio.h: Add sniprintf.
634 * libc/stdio/Makefile.am: Add sniprintf.c.
635 * libc/stdio/Makefile.in: Regenerated.
636 * libc/stdio/sniprintf.c: New file.
637 * libc/stdio/stdio.tex: Add sniprintf.
638
1f8f7e2d
CF
6392004-11-17 Christopher Faylor <cgf@timesys.com>
640
641 * libc/stdio/refill.c (__srefill): Try again after EOF on Cygwin. Clear
642 EOF flag if successful.
643
b08d08c7
CF
6442004-10-28 Christopher Faylor <cgf@timesys.com>
645
646 * libc/include/sys/signal.h: Move <signal.h> include to bottom of file
334ba104 647 so that all relevant definitions have been performed for use in the
b08d08c7
CF
648 include.
649
65b1964f
JJ
6502004-10-26 Jason Tishler <jason@tishler.net>
651
652 * libc/stdio/fread.c (fread): Fix return value for unbuffered
653 fread.
654
6382b7e3 6552004-10-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
06b5ef6e
JJ
656
657 * libc/include/machine/setjmp.h: Add AVR support.
658 * libc/sys/rtems/crt0.S [__AVR__]: Add __stack.
659
73131c2d
JJ
6602004-10-08 Jeff Johnston <jjohnstn@redhat.com>
661
662 * libc/include/sys/signal.h: If <signal.h> didn't include
663 this header file, include <signal.h> to account for
664 applications that take advantage that the two header
665 files are the same in glibc.
666
1185687a
JJ
6672004-10-05 Tomer Levi <Tomer.Levi@nsc.com>
668
669 * configure.host: Add support for crx.
670 * libc/include/machine/ieeefp.h: Ditto.
671 * libc/include/machine/setjmp.h: Ditto.
672 * libc/machine/crx/Makefile.am: New file.
673 * libc/machine/crx/configure.in: Ditto.
674 * libc/machine/crx/setjmp.S: Ditto.
675 * libc/machine/crx/getenv.c: Ditto.
676 * libc/machine/crx/aclocal.m4: Generate.
677 * libc/machine/crx/configure: Ditto.
678 * libc/machine/crx/Makefile.in: Ditto.
679 * libc/machine/crx/sys/asm.h: New file.
680 * libc/machine/crx/sys/libh.h: Ditto.
681 * libc/machine/crx/sys/syscall.h: Ditto.
682
423152ed
JJ
6832004-10-05 Jeff Johnston <jjohnstn@redhat.com>
684
685 * Makefile.am (stmp-targ-include): Support sys header files
686 from machine directories.
687 * Makefile.in: Regenerated.
688
3ea9de76
JJ
6892004-10-04 Jeff Johnston <jjohnstn@redhat.com>
690
691 * libc/stdio/vfscanf.c (__svfscanf_r): For int conversions,
692 count skipped zero characters as part of the nread count for %n.
693 * libc/machine/powerpc/vfscanf.c: Ditto.
694
2a6e1223
JJ
6952004-09-24 Jeff Johnston <jjohnstn@redhat.com>
696
697 * libc/stdio/local.h: Include <stdlib.h>.
698
d163f2fc
CV
6992004-09-24 Corinna Vinschen <corinna@vinschen.de>
700
701 * libc/stdio/fread.c (fread): Include <malloc.h>.
702
602de582
JJ
7032004-09-22 Jeff Johnston <jjohnstn@redhat.com>
704
705 * libc/stdio/fread.c (fread): For non-space-optimized case,
706 add special code for unbuffered files to use user buffer and
707 only require one low-level system read.
708
32e73f4d
ILT
7092004-09-21 Ian Lance Taylor <ian@wasabisystems.com>
710
711 * libc/machine/xscale/setjmp.S: New file, copied from
712 libc/machine/arm/setjmp.S.
713 * libc/machine/xscale/Makefile.am (lib_a_SOURCES): Add setjmp.S.
714 * libc/machine/xscale/Makefile.in: Regenerate.
715
ed6859b8
JJ
7162004-09-16 Antony King <antony.king@st.com>
717
718 * libc/include/sys/lock.h: Replaced empty {} with (0) to conform
719 with locking API.
720 * libc/include/sys/stdio.h: (_flockfile)[!_SINGLE_THREAD]: Add
721 check for__SSTR in _flags and if set, skip lock request.
722 (_funlockfile)[!SINGLE_THREAD]: Ditto.
723 * libc/stdio/local.h (CHECK_INIT): Added check that _REENT is
724 not NULL.
725 * libc/stdio/siprintf.c (siprintf, _siprintf_r): Added missing
726 initialisation of _file to -1 in local FILE.
727 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Ditto.
728 * libc/stdio/sscanf.c (sscanf, _sscanf_r): Ditto.
729 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
730 * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
731 * libc/stdio/sscanf.c (sscanf, _sscanf_r): Added __SSTR flag to
732 _flags in local FILE to prevent locking.
733 * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
734
7a0f6966
JJ
7352004-09-16 Antony King <antony.king@st.com>
736
737 * libc/stdio/fwalk.c (_fwalk): Remove check for _GLOBAL_REENT
738 and only walk the reentrancy parameter.
739 (_fwalk_reent): Ditto.
740 * libc/stdlib/exit.c: Remove out of date _REENT_ONLY check.
741
c77672c0
JJ
7422004-09-16 Antony King <antony.king@st.com>
743
744 * libc/stdio64/freopen64.c: Remove casting of fp lock to
745 _LOCK_RECURSIVE_T.
746
5c44c2e5
JJ
7472004-09-16 Antony King <antony.king@st.com>
748
749 * libc/time/tzlock.c: Add default stubs that use generic
750 locking code.
751
14613e5e
JJ
7522004-09-16 Antony King <antony.king@st.com>
753
754 * libc/ctype/ctype.tex: Added missing documentation.
755 * libc/stdio/stdio.tex Ditto.
756 * libc/stdlib/stdlib.tex Ditto.
757 * libc/string/strings.tex Ditto.
758 * libc/time/time.tex: Ditto.
759 * libc/stdio/setbuffer.c: Removed setlinebuf documentation.
760
181cb051
JJ
7612004-09-15 Corinna Vinschen <vinschen@redhat.com>
762
763 * libc/reent/impure.c (reent_data): Define as alias to impure_data
764 when building for Cygwin.
765 * libc/include/sys/reent.h (_GLOBAL_REENT): Revert definition to
766 _global_impure_ptr.
767
51d4a7ea
JJ
7682004-09-15 Jeff Johnston <jjohnstn@redhat.com>
769
770 * configure.host: Reverting 2004-09-14 change as fix has occurred on
771 Cygwin side.
772 * configure.in: Ditto.
773 * libc/configure.in: Ditto.
774 * libc/sys/configure.in: Ditto.
775 * configure: Ditto.
776 * libc/configure: Ditto.
777 * libc/sys/configure: Ditto.
778 * libc/include/sys/reent.h: Ditto.
779 * libc/stdlib/__atexit.c: Ditto.
780 * libc/stdlib/__call_atexit.c: Ditto.
781 * libc/stdlib/cxa_atexit.c: Ditto.
782 * libc/stdlib/cxa_finalize.c: Ditto.
783 * libc/sys/cygwin/Makefile.am: Removed again.
784 * libc/sys/cygwin/Makefile.in: Ditto.
785 * libc/sys/cygwin/aclocal.m4: Ditto.
786 * libc/sys/cygwin/configure: Ditto.
787 * libc/sys/cygwin/configure.in: Ditto.
788 * libc/sys/cygwin/dummy.c: Ditto.
789 * libc/sys/cygwin/sys/reent.h: Ditto.
790
98650d2f
JJ
7912004-09-14 Jeff Johnston <jjohnstn@redhat.com>
792
793 * configure.host: Add Cygwin sys directory.
794 * configure.in: Do not set CRT0 for cygwin.
795 * libc/configure.in: Ditto.
796 * libc/sys/configure.in: Ditto.
797 * configure: Regenerated.
798 * libc/configure: Ditto.
799 * libc/sys/configure: Ditto.
800 * libc/include/sys/reent.h: Add __REENT_HAS_CXA_SUPPORT flag.
801 * libc/stdlib/__atexit.c: Keep cxa support protected by new
802 __REENT_HAS_CXA_SUPPORT flag.
803 * libc/stdlib/__call_atexit.c: Ditto.
804 * libc/stdlib/cxa_atexit.c: Ditto.
805 * libc/stdlib/cxa_finalize.c: Ditto.
806 * libc/sys/cygwin/Makefile.am: New file.
807 * libc/sys/cygwin/Makefile.in: Ditto.
808 * libc/sys/cygwin/aclocal.m4: Ditto.
809 * libc/sys/cygwin/configure: Ditto.
810 * libc/sys/cygwin/configure.in: Ditto.
811 * libc/sys/cygwin/dummy.c: Ditto.
812 * libc/sys/cygwin/sys/reent.h: Ditto. This file is stabilized
813 version of reent.h.
814
d4c8e53b
JJ
8152004-09-13 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
816
817 * libc/iconv/iconv.tex: Updated with new content.
818 * libc/iconv/lib/iconvnls.c: Reference ICONV_DEFAULT_NLSPATH
819 instead of NLS_DEFAULT_NLSPATH.
820 * libc/iconv/lib/iconvnls.h: Fix typo.
821 * libc/include/sys/iconvnls.h: New file.
822
0c8593cf
JJ
8232004-09-09 Paul Brook <paul@codesourcery.com>
824
825 * libc/include/sys/reent.h (struct _on_exit_args): Add _dso_handle
826 and _is_cxa.
827 (struct _atexit): Add _next when _REENT_SMALL.
828 (struct _reent): Add _atexit0 when _REENT_SMALL.
829 (_REENT_INIT_PTR): Adjust.
830 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add __atexit.c and
831 __call_exit.c.
832 (EXTENDED_SOURCES): Add cxa_atexit.c and cxa_finalize.c.
833 * libc/stdlib/Makefile.in: Regenerate.
834 * libc/stdlib/__atexit.c: New file.
835 * libc/stdlib/__call_atexit.c: New file.
836 * libc/stdlib/atexit.h: Remove old definitions. Add new.
837 * libc/stdlib/atexit.c (atexit): Use __register_exitproc.
838 * libc/stdlib/cxa_atexit.c: New file.
839 * libc/stdlib/cxa_finalize.c: New file.
840 * libc/stdlib/exit.c (exit): Use __call_exitprocs.
841 * libc/stdlib/on_exit.c (on_exit): Use __register_exitproc.
842 2004-09-09 Jeff Johnston <jjohnstn@redhat.com>
843 * libc/reent/reent.c [_REENT_SMALL]: Fix reference to
844 _on_exit_args_ptr.
845
c6ed5a85
JJ
8462004-08-23 Jeff Johnston <jjohnstn@redhat.com>
847
848 * libc/include/sys/unistd.h (getpass): Change prototype to use
849 const instead of __const.
850
721a934c
JJ
8512004-08-16 Nathan Sidwell <nathan@codesourcery.com>
852
853 * libc/stdio/vfscanf.c (_NO_LONGLONG): Move out of FLOATING_POINT
854 #if.
855
4e53fc28
JJ
8562004-08-12 Jeff Johnston <jjohnstn@redhat.com>
857
858 * libc/sys/linux/sys/types.h (u64): New typedef to allow building
859 on linux systems with glibc 2.3.3 installed.
860 * libc/sys/linux/dl/dl-runtime.c: Fix prototypes for fixup and
861 profile_fixup so newlib can build on fc3 system.
862
82045f12
AO
8632004-07-30 Alexandre Oliva <aoliva@redhat.com>
864
865 Introduce SH2a support.
866 2004-03-16 Corinna Vinschen <vinschen@redhat.com>
867 * libc/include/machine/ieeefp.h: Define _DOUBLE_IS_32BITS for
868 __SH2A_SINGLE_ONLY__, too.
869 * libc/machine/sh/asm.h: Define DELAYED_BRANCHES for __SH2A__, too.
870 2004-02-24 Corinna Vinschen <vinschen@redhat.com>
871 * libc/sys/sh/crt0.S (start_l): Support sh2a-nofpu. Fix comments.
872 2004-02-10 DJ Delorie <dj@redhat.com>
873 * libc/sys/sh/crt0.S (start_l): Support sh2a.
874
ad6b1d79
JJ
8752004-07-29 Jeff Johnston <jjohnstn@redhat.com>
876
877 * libc/time/strptime.c: Correct full-name of "March" typo.
878
63b9dcc4
JJ
8792004-07-16 Anil Paranjpe <anilp1@kpitcummins.com>
880
881 * configure.host (h8300*-*-*): Default long long printing support.
882
dbfd3394
JJ
8832004-07-16 Jeff Johnston <jjohnstn@redhat.com>
884
885 * libc/stdio/fvwrite.c (_sfvwrite): For asprintf family
886 calls, if realloc fails, free up buffer as it is no longer
887 used.
888
6edb3da9
JJ
8892004-07-07 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
890
891 * libc/iconv/iconv.tex: Updated to represent recent changes.
892 * libc/iconv/lib/iconv.c: Documentation updated.
893
578a3560
NC
8942004-07-07 Nick Clifton <nickc@redhat.com>
895
896 * configure.host (newlib_cflags): Define PREFER_SIZE_OVER_SPEED
897 for xStormy16.
898
2bc257e3
JJ
8992004-07-06 Chris Demetriou <cgd@broadcom.com>
900
901 * configure.host (mips*-*-elf*): Default long long printing
902 support.
903
75e7ffaa
JJ
9042004-07-05 Jeff Johnston <jjohnstn@redhat.com>
905
906 * libc/Makefile.am (libc.dvi): Add target and specify
907 same dependencies as libc.info.
908 * libc/Makefile.in: Regenerated.
909 * libm/Makefile.am (libm.dvi): Add target and specify
910 same dependencies as libm.info.
911 * libm/Makefile.in: Regenerated.
912
76ce12c3
JJ
9132004-06-29 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
914
915 * acinclude.m4: Move --enable-newlib-iconv option back here.
916 * configure.in: Remove --enable-newlib-iconv option. Don't
917 tie iconv support to --enable-newlib-mb.
918 * aclocal.m4: Regenerated.
919 * configure: Ditto.
920 * doc/aclocal.m4, doc/configure: Ditto.
921 * iconvdata/aclocal.m4, iconvdata/configure: Ditto.
922 * libm/*/aclocal.m4: Ditto.
923 * libm/*/configure: Ditto.
924 * libc/*/aclocal.m4: Ditto.
925 * libc/*/configure: Ditto.
926
660dade3
JJ
9272004-06-25 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
928
929 * acinclude.m4: Move iconv options into configure.in.
930 * aclocal.m4: Regenerated.
931 * configure: Ditto.
932 * configure.in: Add iconv options.
933 * newlib.hin: Add new iconv encodings and remove deleted ones.
934 * doc/aclocal.m4: Regenerated.
935 * doc/configure: Ditto.
936 * iconvdata/aclocal.m4: Ditto.
937 * iconvdata/configure: Ditto.
938 * libc/iconv: Design change. New size-optimized ccs format.
939 * libc/iconv/AUTHORS: Removed.
940 * libc/iconv/COPYING: Ditto.
941 * libc/iconv/README.ORIGINAL: Ditto.
942 * libc/iconv/README.TODO: Ditto.
943 * libc/iconv/charset.aliases: Ditto.
944 * libc/iconv/encoding.aliases: New file.
945 * libc/iconv/Makefile.am: Updated.
946 * libc/iconv/Makefile.in: Regenerated.
947 * libc/iconv/iconv.tex: Updated.
948 * libc/iconv/ccs/Makefile.am: Ditto.
949 * libc/iconv/ccs/Makefile.in: Regenerated.
950 * libc/iconv/ccs/big5.c: Updated.
951 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
952 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
953 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
954 * libc/iconv/ccs/cp775.c: Ditto.
955 * libc/iconv/ccs/cp850.c: Ditto.
956 * libc/iconv/ccs/cp852.c: Ditto.
957 * libc/iconv/ccs/cp855.c: Ditto.
958 * libc/iconv/ccs/cp866.c: Ditto.
959 * libc/iconv/ccs/iso_8859_1.c: Ditto.
960 * libc/iconv/ccs/README.CCS.SOURCES: Removed.
961 * libc/iconv/ccs/gb_2312_80.c: Ditto.
962 * libc/iconv/ccs/iconv_mktbl: Ditto.
963 * libc/iconv/ccs/jis_x0201.c: Ditto.
964 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
965 * libc/iconv/ccs/shift_jis.c: Ditto.
966 * libc/iconv/ccs/us_ascii.c: Ditto.
967 * libc/iconv/ccs/ccs.h: New file.
968 * libc/iconv/ccs/ccsbi.c: Ditto.
969 * libc/iconv/ccs/ccsbi.h: Ditto.
970 * libc/iconv/ccs/ccsnames.h: Ditto.
971 * libc/iconv/ccs/iso_8859_10.c: Ditto.
972 * libc/iconv/ccs/iso_8859_11.c: Ditto.
973 * libc/iconv/ccs/iso_8859_13.c: Ditto.
974 * libc/iconv/ccs/iso_8859_14.c: Ditto.
975 * libc/iconv/ccs/iso_8859_3.c: Ditto.
976 * libc/iconv/ccs/iso_8859_6.c: Ditto.
977 * libc/iconv/ccs/iso_8859_7.c: Ditto.
978 * libc/iconv/ccs/iso_8859_8.c: Ditto.
979 * libc/iconv/ccs/iso_8859_9.c: Ditto.
980 * libc/iconv/ccs/iso_ir_111.c: Ditto.
981 * libc/iconv/ccs/jis_x0201_1976.c: Ditto.
982 * libc/iconv/ccs/jis_x0208_1990.c: Ditto.
983 * libc/iconv/ccs/koi8_ru.c: Ditto.
984 * libc/iconv/ccs/koi8_uni.c: Ditto.
985 * libc/iconv/ccs/mktbl.pl: Ditto.
986 * libc/iconv/ccs/win_1250.c: Ditto.
987 * libc/iconv/ccs/win_1251.c: Ditto.
988 * libc/iconv/ccs/win_1252.c: Ditto.
989 * libc/iconv/ccs/win_1253.c: Ditto.
990 * libc/iconv/ccs/win_1254.c: Ditto.
991 * libc/iconv/ccs/win_1255.c: Ditto.
992 * libc/iconv/ccs/win_1256.c: Ditto.
993 * libc/iconv/ccs/win_1257.c: Ditto.
994 * libc/iconv/ccs/win_1258.c: Ditto.
d68d3538
JJ
995 * libc/iconv/ccs/iso_8859_15.c: Updated.
996 * libc/iconv/ccs/iso_8859_2.c: Ditto.
997 * libc/iconv/ccs/iso_8859_4.c: Ditto.
998 * libc/iconv/ccs/iso_8859_5.c: Ditto.
999 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
1000 * libc/iconv/ccs/koi8_r.c: Ditto.
1001 * libc/iconv/ccs/koi8_u.c: Ditto.
1002 * libc/iconv/ccs/ksx1001.c: Ditto.
660dade3
JJ
1003 * libc/iconv/ccs/binary/gb_2312_80.cct: Removed.
1004 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
1005 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
1006 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
1007 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
1008 * libc/iconv/ccs/binary/Makefile.am: Updated.
1009 * libc/iconv/ccs/binary/Makefile.in: Regenerated.
1010 * libc/iconv/ccs/binary/big5.cct: Updated.
1011 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
1012 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
1013 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
1014 * libc/iconv/ccs/binary/cp775.cct: Updated.: Ditto.
1015 * libc/iconv/ccs/binary/cp850.cct: Ditto.: Ditto.
1016 * libc/iconv/ccs/binary/cp852.cct: Ditto.: Ditto.
1017 * libc/iconv/ccs/binary/cp855.cct: Ditto.: Ditto.
1018 * libc/iconv/ccs/binary/cp866.cct: Ditto.: Ditto.
1019 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
1020 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
1021 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
1022 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
1023 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
1024 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
1025 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
1026 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
1027 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
1028 * libc/iconv/ccs/binary/iso_8859_10.cct: New file.
1029 * libc/iconv/ccs/binary/iso_8859_11.cct: Ditto.
1030 * libc/iconv/ccs/binary/iso_8859_13.cct: Ditto.
1031 * libc/iconv/ccs/binary/iso_8859_14.cct: Ditto.
1032 * libc/iconv/ccs/binary/iso_8859_3.cct: Ditto.
1033 * libc/iconv/ccs/binary/iso_8859_6.cct: Ditto.
1034 * libc/iconv/ccs/binary/iso_8859_7.cct: Ditto.
1035 * libc/iconv/ccs/binary/iso_8859_8.cct: Ditto.
1036 * libc/iconv/ccs/binary/iso_8859_9.cct: Ditto.
1037 * libc/iconv/ccs/binary/iso_ir_111.cct: Ditto.
1038 * libc/iconv/ccs/binary/jis_x0201_1976.cct: Ditto.
1039 * libc/iconv/ccs/binary/jis_x0208_1990.cct: Ditto.
1040 * libc/iconv/ccs/binary/koi8_ru.cct: Ditto.
1041 * libc/iconv/ccs/binary/koi8_uni.cct: Ditto.
1042 * libc/iconv/ccs/binary/win_1250.cct: Ditto.
1043 * libc/iconv/ccs/binary/win_1251.cct: Ditto.
1044 * libc/iconv/ccs/binary/win_1252.cct: Ditto.
1045 * libc/iconv/ccs/binary/win_1253.cct: Ditto.
1046 * libc/iconv/ccs/binary/win_1254.cct: Ditto.
1047 * libc/iconv/ccs/binary/win_1255.cct: Ditto.
1048 * libc/iconv/ccs/binary/win_1256.cct: Ditto.
1049 * libc/iconv/ccs/binary/win_1257.cct: Ditto.
1050 * libc/iconv/ccs/binary/win_1258.cct: Ditto.
1051 * libc/iconv/ces/Makefile.am: Updated.
1052 * libc/iconv/ces/Makefile.in: Regenerated.
1053 * libc/iconv/ces/ucs-2-internal.c: Updated.
1054 * libc/iconv/ces/ucs-4-internal.c: Ditto.
1055 * libc/iconv/ces/utf-16.c: Ditto.
1056 * libc/iconv/ces/utf-8.c: Ditto.
1057 * libc/iconv/ces/cesbi.c: New file.
1058 * libc/iconv/ces/cesbi.h: Ditto.
1059 * libc/iconv/ces/cesdeps.h: Ditto.
1060 * libc/iconv/ces/euc.c: Ditto.
1061 * libc/iconv/ces/mkdeps.pl: Ditto.
1062 * libc/iconv/ces/table-pcs.c: Ditto.
1063 * libc/iconv/ces/table.c: Ditto.
1064 * libc/iconv/ces/ucs-2.c: Ditto.
1065 * libc/iconv/ces/ucs-4.c: Ditto.
1066 * libc/iconv/ces/us-ascii.c: Ditto.
1067 * libc/iconv/ces/euc-jp.c: Removed.
1068 * libc/iconv/ces/euc-kr.c: Ditto.
1069 * libc/iconv/ces/euc-tw.c: Ditto.
1070 * libc/iconv/ces/gb2312.c: Ditto.
1071 * libc/iconv/ces/iso-10646-ucs-2.: Ditto.c
1072 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
1073 * libc/iconv/lib/Makefile.am: Updated.
1074 * libc/iconv/lib/Makefile.in: Regenerated.
1075 * libc/iconv/lib/endian.h: Updated.
1076 * libc/iconv/lib/iconv.c: Ditto.
1077 * libc/iconv/lib/local.h: Ditto.
1078 * libc/iconv/lib/aliases.c: Removed.
1079 * libc/iconv/lib/bialiasesi.c: Ditto.
1080 * libc/iconv/lib/biccs.c: Ditto.
1081 * libc/iconv/lib/bices.c: Ditto.
1082 * libc/iconv/lib/ccs.c: Ditto.
1083 * libc/iconv/lib/ces.c: Ditto.
1084 * libc/iconv/lib/ces_euc.c: Ditto.
1085 * libc/iconv/lib/ces_iso2022.c: Ditto.
1086 * libc/iconv/lib/ces_table.c: Ditto.
1087 * libc/iconv/lib/converter.c: Ditto.
1088 * libc/iconv/lib/deps.h: Ditto.
d68d3538
JJ
1089 * libc/iconv/lib/loaddata.c: Ditto.
1090 * libc/iconv/lib/aliasesbi.c: New file.
660dade3
JJ
1091 * libc/iconv/lib/aliasesi.c: Ditto.
1092 * libc/iconv/lib/conv.h: Ditto.
1093 * libc/iconv/lib/encnames.h: Ditto.
1094 * libc/iconv/lib/encoding.deps: Ditto.
1095 * libc/iconv/lib/iconvnls.c: Ditto.
1096 * libc/iconv/lib/iconvnls.h: Ditto.
660dade3
JJ
1097 * libc/iconv/lib/nullconv.c: Ditto.
1098 * libc/iconv/lib/ucsconv.c: Ditto.
1099 * libc/iconv/lib/ucsconv.h: Ditto.
1100 * libc/include/iconv.h: Update copyright.
1101 * libc/*/aclocal.m4: Regenerated.
1102 * libc/*/configure: Ditto.
1103 * libm/*/aclocal.m4: Ditto.
1104 * libm/*/configure: Ditto.
1105
9a6831be
AO
11062004-06-22 Alexandre Oliva <aoliva@redhat.com>
1107
eb6a452a
AO
1108 * libc/include/machine/setjmp.h [__H8300__] (_JBTYPE): Define,
1109 instead of typedefing jmp_buf.
1110
9a6831be
AO
1111 2003-07-02 Richard Sandiford <rsandifo@redhat.com>
1112 * libc/machine/h8300/Makefile.am (lib_a_SOURCES): Add h8sx_strcpy.S.
1113 * libc/machine/h8300/defines.h (LEN): New macro.
1114 * libc/machine/h8300/memcpy.S: Add h8sx version.
1115 * libc/machine/h8300/memset.S: Likewise.
1116 * libc/machine/h8300/strcmp.S: Likewise.
1117 * libc/machine/h8300/setjmp.S: Use h8sx move instructions.
1118 * libc/machine/h8300/h8sx_strcpy.S: New file.
1119 2003-06-30 Richard Sandiford <rsandifo@redhat.com>
1120 * libc/include/machine/ieeefp.h: Extend __H8300S__ handling to
1121 __H8300SX__.
1122 * libc/include/machine/setjmp.h: Likewise.
1123 * libc/include/sys/config.h: Likewise.
1124 * libc/machine/h8300/defines.h: Likewise.
1125 * libc/machine/h8300/setjmp.S: Likewise.
1126 * libc/machine/h8300/strcmp.S: Likewise.
1127 * libc/sys/h8300hms/close.S: Likewise.
1128 * libc/sys/h8300hms/fstat.S: Likewise.
1129 * libc/sys/h8300hms/lseek.S: Likewise.
1130 * libc/sys/h8300hms/read.S: Likewise.
1131 * libc/sys/h8300hms/write.S: Likewise.
1132 * libc/sys/h8300hms/crt0.S: Likewise.
1133 * libc/machine/h8300/setarch.h: Use .h8300sx or .h8300sxn if
1134 __H8300SX__ is defined.
1135 * libc/sys/h8300hms/setarch.h: Likewise.
1136
80dba41e
JJ
11372004-06-17 Jeff Johnston <jjohnstn@redhat.com>
1138
1139 * libc/include/sys/reent.h (_GLOBAL_REENT): Back
1140 out change which set _GLOBAL_REENT to _global_impure_ptr until
1141 we understand why Cygwin breaks because of it.
1142
be910599
JJ
11432004-06-14 Jeff Johnston <jjohnstn@redhat.com>
1144
1145 * libc/sys/linux/machine/i386/syscall.h: For now, set up
1146 __syscall_return macro for systems with vsyscall.
1147
d0bd3e6f
JJ
11482004-06-11 Antony King <antony.king@st.com>
1149
1150 * libc/include/sys/_types.h: Include <sys/lock.h> and change
1151 _flock_t to be of type _LOCK_RECURSIVE_T.
1152 * libc/include/sys/reent.h: (_REENT_INIT): Reformat.
1153 (_REENT_INIT_PTR): Ditto. Use memset where appropriate.
1154 (_global_impure_ptr): New declaration.
1155 (_GLOBAL_REENT): Change to be _global_impure_ptr.
1156 * libc/include/sys/stdio.h: Include <sys/lock.h> and
1157 <sys/reent.h>.
1158 (_flockfile)[!_SINGLE_THREAD]: Add code for lock call.
1159 (_funlockfile)[!SINGLE_THREAD]: Ditto.
1160 * libc/reent/impure.c: Set _global_impure_ptr to _impure_ptr.
1161 * libc/stdio/fclose.c: Remove casting of fp lock to
1162 _LOCK_RECURSIVE_T.
1163 * libc/stdio/findfp.c: Ditto.
1164 * libc/stdio/fopen.c: Ditto.
1165 * libc/stdio/freopen.c: Ditto.
1166 * libc/stdio/vfprintf.c: Ditto.
1167 * libc/stdio64/fopen64.c: Ditto.
1168 * libc/stdlib/envlock.c: Add default stubs that use generic
1169 locking code.
1170 * libc/stdlib/mlock.c: Ditto.
1171
1172 Jeff Johnston <jjohnstn@redhat.com>
1173 * libc/sys/linux/sys/_types.h (__flock_mutex_t): New subtype.
1174 (_flock_t): Change to be a struct containing a single member
1175 named mutex which is of type __flock_mutex_t.
1176
db7033a9
JJ
11772004-06-09 Jeff Johnston <jjohnstn@redhat.com>
1178
1179 * libc/sys/linux/Makefile.am: Change siglist.inc to be generated
1180 from /usr/include/asm/signal.h instead of kernel sources. Also
1181 default max to 32 if not found in header file.
1182 * libc/sys/linux/Makefile.in: Regenerated.
1183 * libc/sys/linux/machine/i386/socketcall.h: Fix for Fedora Core 2
1184 systems where __syscall_return is not defined.
1185 * libc/sys/linux/machine/i386/syscall.h: Change for Fedora Core 2
1186 systems to use syscall() function instead of assembler interrupt.
1187
a170abec
JJ
11882004-06-09 Toralf Lund <toralf@procaptura.com>
1189
1190 * libc/sys/arm/setjmp.S, libc/sys/arm/access.c: Move
1191 files from libc/sys/arm to libc/machine/arm.
1192 * libc/machine/arm/Makefile.am, libc/machine/arm/Makefile.in: Add
1193 library build support for files moved from libc/sys/arm.
1194 * libc/sys/arm/Makefile.am, libc/sys/arm/Makefile.in: Remove
1195 references to access and setjmp.
1196 * configure.host: Add checks for newlib_may_supply_syscalls to
1197 determine whether or not to use sys/arm directory and use
1198 special compiler flags: ARM_RDI_MONITOR and ARM_RDP_MONITOR.
1199
8b57e664
JJ
12002004-06-02 Jeff Johnston <jjohnstn@redhat.com>
1201
1202 * libc/stdio/vfscanf.c (__svfscanf_r): For CT_INT conversions,
1203 reset digit flags appropriately after we have discovered "0x".
1204 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
1205
3f611058
JJ
12062004-05-27 Jeff Johnston <jjohnstn@redhat.com>
1207
1208 * libc/stdio/vfprintf.c (_VFPRINTF): Move file locking
1209 from here ...
1210 (_VFPRINTF_R): ... to here so all I/O printf routines
1211 are covered.
1212
bb42a35c
JJ
12132004-05-26 Jeff Johnston <jjohnstn@redhat.com>
1214
1215 * libc/search/hash_buf.c: Protect MAX and MIN macros from
1216 redefinition.
1217 * libc/search/hash.c: Ditto.
1218
227e6ef6
JJ
12192004-05-25 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1220
1221 * newlib.hin: (_WANT_IO_POS_ARGS): New define.
1222 (_WANT_IO_LONG_LONG): Ditto.
1223 (_WANT_IO_LONG_DOUBLE): Ditto.
1224 * configure.in: Add new configuration options
1225 --enable-newlib-io-long-long and --enable-newlib-io-long-double
1226 which tie to new defines in newlib.hin.
1227 * configure: Regenerated.
1228 * configure.host: Add checks for new configuration options. Also
1229 fix up check for --enable-newlib-io-pos-args so configuration
1230 option will override any default for a given platform.
1231 Remove defining compiler flags for the _WANT_IO* options.
1232 * libc/stdio/vfprintf.c: Change to use new newlib.hin defines
1233 instead of looking for old compiler flags.
1234 * libc/stdio/vfscanf.c: Ditto.
1235 * libc/stdio/vfieeefp.h: Ditto.
1236 * libc/machine/powerpc/vfprintf.c: Ditto.
1237 * libc/machine/powerpc/vfscanf.c: Ditto.
1238
9178da95
JJ
12392004-05-25 Jeff Johnston <jjohnstn@redhat.com>
1240
1241 * testsuite/include/check.h: Add include of <stdio.h>.
1242
cf3aae91
CV
12432004-05-17 Corinna Vinschen <corinna@vinschen.de>
1244
1245 * libc/include/grp.h: Declare getgrnam_r and getgrgid_r also on Cygwin.
1246
5b4c8ae2
JJ
12472004-05-11 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1248
1249 * libc/stdio/vfprintf.c (VFPRINTF_R): Use _free_r instead
1250 of free.
1251
12522004-05-07 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1253
1254 * libc/stdio/iprintf.c (_iprintf_r): Fix old-style argument
1255 list for reentrant pointer. Call _vfiprintf_r.
1256 * libc/stdio/siprintf.c (_siprintf_r): New function.
1257 * libc/stdio/vfprintf.c (__sbprintf): Add reetrant struct
1258 pointer argument. Change all callers. Call _VFPRINTF_R.
1259 * libc/include/stdio.h (_siprintf_r, _vfiprintf_r): New
1260 prototypes.
1261
631fbe65
JJ
12622004-05-07 Jeff Johnston <jjohnstn@redhat.com>
1263
1264 * libc/include/sys/param.h: Remove endian info and include
1265 <machine/endian.h> instead.
1266 * libc/include/machine/endian.h: New file.
1267 * libc/include/machine/param.h: Ditto.
1268 * libc/machine/arm/machine/endian.h: Ditto.
1269 * libc/machine/arm/machine/param.h: Ditto.
1270 * libc/sys/arm/sys/param.h: Removed.
1271 * libc/sys/sysvi386/sys/param.h: Ditto.
1272 * libc/sys/rtems/sys/param.h: Modified to include <machine/endian.h>.
1273
1af84bb7
JJ
12742004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1275
1276 * libc/stdio/vfprintf.c (_VFPRINTF_R): Set error flag when
1277 multibyte functions return failure for %C, %S, %lc, and %ls
1278 format specifiers.
1279
1c63798e
JJ
12802004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1281
1282 * testsuite/include/check.h (CHECK): Add flush of stdout.
1283
20b0251a
JJ
12842004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1285
1286 * libc/include/stdio.h (_ungetc_r): New prototype.
1287 * libc/stdio/ungetc.c (_ungetc_r): New reentrant function.
1288 (__submore): Add reentrant struct pointer argument.
1289 (ungetc): Change to call _ungetc_r.
1290
6194cf4a
JJ
12912004-04-28 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1292
1293 * libc/stdio/local.h (_fwalk_reent): Specify prototype of
1294 function pointer argument.
1295 * libc/stdio/fwalk.c (_fwalk, _fwalk_reent): Change prototypes
1296 to specify function pointer arguments.
1297 (__fwalk, __fwalk_reent): Ditto.
1298
b4ddf489
AH
12992004-04-26 Aldy Hernandez <aldyh@redhat.com>
1300
1301 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Fix typo in
1302 CT_INT case.
1303
f777e3a5
JJ
13042004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1305
1306 * configure.in: Define _MB_CAPABLE if mb supported.
1307 * configure: Regenerated.
1308 * configure.host: Remove manual setting of MB_CAPABLE compiler
1309 flag.
1310 * newlib.hin: Add _MB_CAPABLE flag.
1311 * libc/ctype/iswalpha.c, libc/ctype/iswblank.c: Include <newlib.h>
1312 and check for _MB_CAPABLE flag instead of MB_CAPABLE.
1313 * libc/ctype/iswcntrl.c, libc/ctype/iswprint.c: Ditto.
1314 * libc/ctype/iswpunct.c, libc/ctype/iswspace.c: Ditto.
1315 * libc/ctype/jp2uc.c: Ditto.
1316 * libc/ctype/towlower.c, libc/ctype/towupper.c: Ditto.
1317 * libc/locale/locale.c: Ditto
1318 * libc/machine/powerpc/vfscanf.c: Ditto
1319 * libc/stdio/vfprintf.c, libc/stdio/vfscanf.c: Ditto
1320 * libc/stdlib/mblen.c: Ditto
1321 * libc/stdlib/mblen_r.c, libc/stdlib/mbrlen.c: Ditto
1322 * libc/stdlib/mbrtowc.c, libc/stdlib/mbsrtowcs.c: Ditto
1323 * libc/stdlib/mbstowcs.c, libc/stdlib/mbtowc.c: Ditto
1324 * libc/stdlib/mbtowc_r.c, libc/stdlib/wcrtomb.c: Ditto
1325 * libc/stdlib/wcsrtombs.c, libc/stdlib/wcstombs.c: Ditto
1326 * libc/stdlib/wctomb.c, libc/sys/linux/intl/dcigettext.c: Ditto
1327 * libc/sys/linux/intl/explodename.c: Ditto
1328 * libc/sys/linux/intl/finddomain.c: Ditto
1329 * libc/sys/linux/intl/l10nflist.c: Ditto
1330 * libc/sys/linux/intl/loadmsgcat.c: Ditto
1331 * libc/sys/linux/intl/localealias.c: Ditto
1332
27c7566c
JJ
13332004-04-23 Jeff Johnston <jjohnstn@redhat.com>
1334
1335 * libc/machine/powerpc/vfscanf.c (NNZDIGITS): New define.
1336 (__svfscanf_r): In integer conversions, leave out leading zeroes
1337 which are not part of a base prefix.
1338 Keep track of width truncation to fit into buf, not counting left-out
1339 zeroes against width till the truncation has been compensated for.
1340 This is based on Joern's patch of 04/21 for libc/stdio/vfscanf.c.
1341
c00f9719
JJ
13422004-04-23 Jeff Johnston <jjohnstn@redhat.com>
1343
1344 * libc/include/stdio.h: (_ftell_r, _fseek_r): New prototypes.
1345
05b31577
JJ
13462004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1347
1348 * libc/stdio/asprintf.c libc/stdio/clearerr.c,
1349 libc/stdio/fclose.c libc/stdio/fcloseall.c libc/stdio/fdopen.c,
1350 libc/stdio/feof.c libc/stdio/ferror.c libc/stdio/fflush.c,
1351 libc/stdio/fgetc.c libc/stdio/fgetpos.c libc/stdio/fgets.c,
1352 libc/stdio/fileno.c libc/stdio/findfp.c libc/stdio/fiprintf.c,
1353 libc/stdio/flags.c libc/stdio/fopen.c libc/stdio/fprintf.c,
1354 libc/stdio/fputc.c libc/stdio/fputs.c libc/stdio/fread.c,
1355 libc/stdio/freopen.c libc/stdio/fscanf.c libc/stdio/fseek.c,
1356 libc/stdio/fseeko.c libc/stdio/fsetpos.c libc/stdio/ftell.c,
1357 libc/stdio/ftello.c libc/stdio/fvwrite.c libc/stdio/fwalk.c,
1358 libc/stdio/fwrite.c libc/stdio/getc.c libc/stdio/getc_u.c,
1359 libc/stdio/getchar.c libc/stdio/getchar_u.c,
1360 libc/stdio/getdelim.c libc/stdio/getline.c libc/stdio/gets.c,
1361 libc/stdio/getw.c libc/stdio/iprintf.c libc/stdio/local.h,
1362 libc/stdio/makebuf.c libc/stdio/mktemp.c libc/stdio/perror.c,
1363 libc/stdio/printf.c libc/stdio/putc.c libc/stdio/putc_u.c,
1364 libc/stdio/putchar.c libc/stdio/putchar_u.c libc/stdio/puts.c,
1365 libc/stdio/putw.c libc/stdio/refill.c libc/stdio/remove.c,
1366 libc/stdio/rename.c libc/stdio/rewind.c libc/stdio/rget.c,
1367 libc/stdio/scanf.c libc/stdio/setbuf.c libc/stdio/setbuffer.c,
1368 libc/stdio/setlinebuf.c libc/stdio/setvbuf.c,
1369 libc/stdio/siprintf.c libc/stdio/snprintf.c,
1370 libc/stdio/sprintf.c libc/stdio/sscanf.c libc/stdio/stdio.c,
1371 libc/stdio/tmpfile.c libc/stdio/tmpnam.c libc/stdio/ungetc.c,
1372 libc/stdio/vasprintf.c libc/stdio/vfieeefp.h,
1373 libc/stdio/vfprintf.c libc/stdio/vfscanf.c,
1374 libc/stdio/vprintf.c libc/stdio/vscanf.c,
1375 libc/stdio/vsnprintf.c libc/stdio/vsprintf.c,
1376 libc/stdio/vsscanf.c libc/stdio/wbuf.c,
1377 libc/stdio/wsetup.c: Perform minor formatting changes. Move
1378 copyright notices to top of file, ensure that <_ansi.h> is
1379 included, be consistent with open parentheses, use _DEFUN macro,
1380 include "local.h" where needed, and remove various compiler
1381 warnings.
1382
04e8fca1
JJ
13832004-04-21 J"orn Rennecke <joern.rennecke@superh.com>
1384
1385 * libc/stdio/vfscanf.c (NNZDIGITS): New define.
1386 (__svfscanf_r): In integer conversions, leave out leading zeroes
1387 which are not part of a base prefix.
1388 Keep track of width truncation to fit into buf, not counting left-out
1389 zeroes against width till the truncation has been compensated for.
1390
9090ec74
CV
13912004-04-20 Corinna Vinschen <corinna@vinschen.de>
1392
1393 * libc/include/sys/unistd.h (ttyname_r): Add missing comma.
1394
1c17deea
CV
13952004-04-20 Corinna Vinschen <corinna@vinschen.de>
1396
1397 * libc/include/sys/unistd.h (ttyname_r): Add declaration for Cygwin.
1398
54c7940f
CV
13992004-04-10 Corinna Vinschen <corinna@vinschen.de>
1400
1401 * libc/include/sys/unistd.h (sync): Define void on Cygwin according
1402 to SUSv3.
1403
47dcaf56
JJ
14042004-04-08 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1405
1406 * libc/stdio/fclose.c (_fclose_r): New function.
1407 * libc/stdio/freopen.c (_freopen_r): Call _fclose_r.
1408 * libc/stdio/fcloseall.c (_fcloseall_r): Call _fwalk_reent.
1409 * libc/stdio64/freopen64.c (_freopen64_r): Use _fclose_r.
1410 * libc/include/stdio.h (_fclose_r): New prototype.
1411 * libc/stdio/fopen.c: Fix typo in comment.
1412
14132004-04-08 Jeff Johnston <jjohnstn@redhat.com>
1414
1415 * libc/stdio/fwalk.c (_fwalk_reent): New version of _fwalk
1416 to handle _r reentrant functions.
1417
4121d8cf
JJ
14182004-04-08 Eric Christopher <echristo@redhat.com>
1419
1420 * libc/include/machine/setjmp.h: Fix endif locations.
1421
59c9f5f5
JJ
14222004-04-01 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1423
1424 * libc/time/strptime.c: Add standard includes to avoid
1425 warning messages at compilation time.
1426
38f4f023
JJ
14272004-04-01 Jeff Johnston <jjohnstn@redhat.com>
1428
1429 * libc/stdio/vfscanf.c (__svfscanf_r): Add locking/unlocking
1430 of file.
1431
14322004-03-30 Jeff Johnston <jjohnstn@redhat.com>
ed4c5ece
JJ
1433
1434 * libc/machine/h8300/Makefile.am: Reformat slightly.
1435 * libc/machine/h8300/Makefile.in: Regenerate.
1436
38f4f023 14372004-03-30 Thomas Pfaff <tpfaff@gmx.net>
cacc0d44
JJ
1438
1439 * libc/stdio/findfp.c (__fp_lock_all): Add call to
1440 __sfp_lock_acquire.
1441 (__fp_unlock_all): Add call to __sfp_lock_release.
1442
10dcf7e7
JJ
14432004-03-25 Thomas Pfaff <tpfaff@gmx.net>
1444
1445 * libc/stdio/fclose.c (fclose): Protect file pointer list when
1446 releasing a file.
1447 * libc/stdio/fcloseall.c (_fcloseall_r): Close all files via
1448 fwalk.
1449 * libc/stdio/fdopen.c (_fdopen_r): Add calls to
1450 _flockfile/_funlockfile.
1451 * libc/stdio/findfp.c: Move __sfp_lock. Change __sfp_lock type
1452 to recursive.
1453 Change __lock_acquire/__lock_release calls for __sfp_lock to
1454 __sfp_lock_acquire/__sfp_lock_release throughout.
1455 (std): Make sure that file lock is only initialized once.
1456 (__sfp): Move _file initialization. Initialize file lock.
1457 (__sfp_lock_acquire): New function.
1458 (__sfp_lock_release): Ditto.
1459 (__fp_lock_all): Remove __sfp_lock_acquire call.
1460 (__fp_unlock_all): Remove __sfp_lock_release call.
1461 * libc/stdio/fopen.c (_fopen_r): Protect file pointer list.
1462 Add calls to _flockfile/_funlockfile. Remove
1463 __lock_init_recursive call.
1464 * libc/stdio/freopen.c (_freopen_r): Protect file pointer list.
1465 * libc/stdio/fwalk.c (__fwalk): New static function.
1466 (_fwalk): Protect file pointer list. Use __fwalk to walk through
1467 file pointers.
1468 * libc/stdio/local.h: Add defines for
1469 __sfp_lock_acquire/__sfp_lock_release when
1470 single threaded. Add function prototypes otherwise.
1471 * libc/stdio64/fdopen64.c (_fdopen64_r): Add calls to
1472 _flockfile/_funlockfile.
1473 * libc/stdio/fopen64.c (_fopen64_r): Protect file pointer list.
1474 Add calls to _flockfile/_funlockfile. Remove
1475 __lock_init_recursive call.
1476 * libc/stdio/freopen64.c (_freopen64_r): Protect file pointer
1477 list.
1478
ec475b09
JJ
14792004-03-25 Jeff Johnston <jjohnstn@redhat.com>
1480
1481 * libc/sys/linux/sys/lock.h: Turn on __USE_GNU flag if not already
1482 defined. Change __LOCK_RECURSIVE_INIT to be __LOCK_INIT_RECURSIVE.
1483 * libc/sys/linux/dl/dl-support.c: Change __LOCK_RECURSIVE_INIT
1484 to be __LOCK_INIT_RECURSIVE.
1485
2c4ef10a
JJ
14862004-03-11 Kazu Hirata <kazu@cs.umass.edu>
1487
1488 * libc/sys/h8300hms/Makefile.am (lib_a_SOURCES): Replace
1489 _exit.c with _exit.S.
1490 * libc/sys/h8300hms/Makefile.in: Regenerate.
1491 * libc/sys/h8300hms/_exit.c: Remove.
1492 * libc/sys/h8300hms/_exit.S: New.
1493
41c3da6a
JJ
14942004-03-09 Thomas Pfaff <tpfaff@gmx.net>
1495
1496 * libc/stdio/findfp.c (__sfp): Rename lock to __sfp_lock.
1497 Change __sfp_lock to static global.
1498 (__fp_lock): New static function.
1499 (__fp_unlock): Ditto.
1500 (__fp_lock_all): New function.
1501 (__fp_unlock_all): Ditto.
1502
0ccf5430
CF
15032004-02-10 Christopher Faylor <cgf@redhat.com>
1504
1505 * libm/mathfp/er_gamma.c (gamma): Add new non-reentrant function.
1506 * libm/mathfp/er_lgamma.c (lgamma): Ditto.
1507 * libm/mathfp/erf_gamma.c (gammaf): Ditto.
1508 * libm/mathfp/erf_lgamma.c (lgammaf): Ditto.
1509
3536f0fb
CF
15102004-02-09 Christopher Faylor <cgf@redhat.com>
1511
1512 * libc/include/time.h (TIMER_RELTIME): New define.
1513
6a6e493a
JJ
15142004-02-09 Jeff Johnston <jjohnstn@redhat.com>
1515
1516 * libc/stdlib/Makefile.am: Add mallstatsr to LIBADD_OBJS.
1517 * libc/stdlib/Makefile.in: Regenerated.
1518
733309f5
CF
15192004-02-08 Christopher Faylor <cgf@redhat.com>
1520
1521 * libc/include/sys/features.h: Add _POSIX_TIMERS define for __CYGWIN__.
1522 * libc/include/sys/reent.h (__getreent): Protect against possibly being
1523 defined.
1524 * libc/include/sys/unistd.h (fdatasync): Don't define for __CYGWIN__.
1525
b4a84c66
JJ
15262004-02-05 Paul Brook <paul@codesourcery.com>
1527
1528 * libc/include/machine/ieeefp.h[__arm__][__VFP_FP__]: Set
1529 IEEE_{BIG,LITTLE} based on __ARMEL__ flag.
1530
4669438f
JJ
15312004-02-02 Jeff Johnston <jjohnstn@redhat.com>
1532
1533 * NEWS: Update with 1.12.0 info.
1534 * README: Ditto.
1535 * acinclude.m4: Change version number to 1.12.0.
1536 * aclocal.m4: Regenerated.
1537 * configure: Ditto.
1538 * doc/aclocal.m4: Ditto.
1539 * doc/configure: Ditto.
1540 * libc/*/aclocal.m4: Ditto.
1541 * libc/*/configure: Ditto.
1542 * libc/libc.texinfo: Ditto.
1543 * libm/*/aclocal.m4: Ditto.
1544 * libm/*/configure: Ditto.
1545 * libm/libm.texinfo: Ditto.
1546 * libc/sys/linux/shared.ld: Add VERS_1.12.
1547
94d61fcb
JJ
15482004-02-02 Joel Sherrill <joel@oarcorp.com>
1549
1550 * configure.host: Add support for tic4x.
1551 * libc/include/machine/ieeefp.h: Ditto.
1552 * libc/include/machine/setjmp.h: Ditto.
1553 * libc/machine/tic4x/Makefile.am: New file.
1554 * libc/machine/tic4x/configure.in: Ditto.
1555 * libc/machine/tic4x/setjmp.S: Ditto.
1556 * libc/machine/tic4x/aclocal.m4: Generated.
1557 * libc/machine/tic4x/configure: Ditto.
1558 * libc/machine/tic4x/Makefile.in: Ditto.
1559
c730e0e7
JJ
15602004-01-30 Jeff Johnston <jjohnstn@redhat.com>
1561
1562 * libc/stdio/fwalk.c (_fwalk.c): Don't traverse the
1563 file chain on the passed in reentrancy struct if it
1564 is _GLOBAL_REENT.
1565
2892ec68
JJ
15662004-01-30 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1567 Jeff Johnston <jjohnstn@redhat.com>
1568
1569 * libc/iconv/iconv.tex: Updated with more information.
1570
ff41498a
JJ
15712004-01-30 Thomas Pfaff <tpfaff@gmx.net>
1572 Jeff Johnston <jjohnstn@redhat.com>
1573
1574 * libc/stdio/fwalk.c (_fwalk): Traverse the given reentrancy
1575 struct for std streams and traverse the global reeentrancy
1576 struct for all other streams.
1577
d5b6c234
JJ
15782004-01-27 Jeff Johnston <jjohnstn@redhat.com>
1579
1580 * libc/stdlib/atexit.c: Protect global atexit list with a
1581 lock when newlib is multithreaded.
1582
01e0a777
JJ
15832004-01-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1584
1585 * configure.in: Add support to generate iconv converter flags
1586 for newlib.h
1587 * newlib.hin: Add iconv converter flags.
1588 * configure: Regenerated.
1589 * libc/Makefile.in: Ditto.
1590 * libc/configure.in: Moved iconv converter parsing logic to
1591 top level newlib configure.in.
1592 * libc/configure: Regenerated.
1593 * libc/iconv/Makefile.in: Ditto.
1594 * libc/iconv/README.TODO
1595 * libc/iconv/charset.aliases: Remove wrong BE aliases for
1596 UCS2/UCS4/UTF8.
1597 * libc/iconv/ccs/Makefile.am: Remove C flag setting now that
1598 newlib.h can be used.
1599 * libc/iconv/ces/Makefile.am: Ditto.
1600 * libc/iconv/lib/Makefile.am: Ditto.
1601 * libc/iconv/ccs/Makefile.in: Regenerated.
1602 * libc/iconv/ces/Makefile.in: Ditto.
1603 * libc/iconv/lib/Makefile.in: Ditto.
1604 * libc/iconv/ccs/README.CCS.SOURCES: Updated.
1605 * libc/iconv/ccs/iconv_mktbl: Don't write junk strings to binaries.
1606 * libc/iconv/ccs/big5.c: Switch to use new underscored flags
1607 defined in newlib.h.
1608 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
1609 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
1610 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
1611 * libc/iconv/ccs/cp775.c: Ditto.
1612 * libc/iconv/ccs/cp850.c: Ditto.
1613 * libc/iconv/ccs/cp852.c: Ditto.
1614 * libc/iconv/ccs/cp855.c: Ditto.
1615 * libc/iconv/ccs/cp866.c: Ditto.
1616 * libc/iconv/ccs/gb_2312_80.c: Ditto.
1617 * libc/iconv/ccs/iso_8859_1.c: Ditto.
1618 * libc/iconv/ccs/iso_8859_15.c: Ditto.
1619 * libc/iconv/ccs/iso_8859_2.c: Ditto.
1620 * libc/iconv/ccs/iso_8859_4.c: Ditto.
1621 * libc/iconv/ccs/iso_8859_5.c: Ditto.
1622 * libc/iconv/ccs/jis_x0201.c: Ditto.
1623 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
1624 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
1625 * libc/iconv/ccs/koi8_r.c: Ditto.
1626 * libc/iconv/ccs/koi8_u.c: Ditto.
1627 * libc/iconv/ccs/ksx1001.c: Ditto.
1628 * libc/iconv/ccs/shift_jis.c: Ditto.
1629 * libc/iconv/ccs/us_ascii.c: Ditto.
1630 * libc/iconv/ccs/binary/big5.cct: Newly generated.
1631 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
1632 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
1633 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
1634 * libc/iconv/ccs/binary/cp775.cct: Ditto.
1635 * libc/iconv/ccs/binary/cp850.cct: Ditto.
1636 * libc/iconv/ccs/binary/cp852.cct: Ditto.
1637 * libc/iconv/ccs/binary/cp855.cct: Ditto.
1638 * libc/iconv/ccs/binary/cp866.cct: Ditto.
1639 * libc/iconv/ccs/binary/gb_2312_80.cct: Ditto.
1640 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
1641 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
1642 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
1643 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
1644 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
1645 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
1646 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
1647 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
1648 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
1649 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
1650 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
1651 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
1652 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
1653 * libc/iconv/lib/bialiasesi.c: Sync with charset.aliases.
1654 * libc/iconv/ces/euc-jp.c: Use newlib.h macros.
1655 * libc/iconv/ces/euc-kr.c: Ditto.
1656 * libc/iconv/ces/euc-tw.c: Ditto.
1657 * libc/iconv/ces/gb2312.c: Ditto.
1658 * libc/iconv/ces/iso-10646-ucs-2.c: Ditto.
1659 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
1660 * libc/iconv/ces/ucs-2-internal.c: Ditto.
1661 * libc/iconv/ces/ucs-4-internal.c: Ditto.
1662 * libc/iconv/ces/utf-16.c: Ditto.
1663 * libc/iconv/ces/utf-8.c: Ditto.
1664 * libc/iconv/lib/aliases.c: Ditto.
1665 * libc/iconv/lib/biccs.c: Ditto.
1666 * libc/iconv/lib/bices.c: Ditto.
1667 * libc/iconv/lib/ccs.c: Ditto.
1668 * libc/iconv/lib/ces.c: Ditto.
1669 * libc/iconv/lib/ces_euc.c: Ditto.
1670 * libc/iconv/lib/ces_iso2022.c: Ditto.
1671 * libc/iconv/lib/ces_table.c: Ditto.
1672 * libc/iconv/lib/converter.c: Ditto.
1673 * libc/iconv/lib/deps.h: Ditto.
1674 * libc/iconv/lib/endian.h: Ditto.
1675 * libc/iconv/lib/iconv.c: Ditto.
1676 * libc/iconv/lib/loaddata.c: Ditto.
1677 * libc/iconv/lib/local.h: Include newlib.h.
1678 * libc/argz/Makefile.in: Regenerated.
1679 * libc/ctype/Makefile.in: Ditto.
1680 * libc/errno/Makefile.in: Ditto.
1681 * libc/iconv/ccs/binary/Makefile.in: Ditto.
1682 * libc/locale/Makefile.in: Ditto.
1683 * libc/misc/Makefile.in: Ditto.
1684 * libc/posix/Makefile.in: Ditto.
1685 * libc/reent/Makefile.in: Ditto.
1686 * libc/search/Makefile.in: Ditto.
1687 * libc/signal/Makefile.in: Ditto.
1688 * libc/stdio/Makefile.in: Ditto.
1689 * libc/stdio64/Makefile.in: Ditto.
1690 * libc/stdlib/Makefile.in: Ditto.
1691 * libc/string/Makefile.in: Ditto.
1692 * libc/syscalls/Makefile.in: Ditto.
1693 * libc/time/Makefile.in: Ditto.
1694 * libc/unix/Makefile.in: Ditto.
1695 * testsuite/newlib.iconv/iconv.exp: New file.
1696 * testsuite/newlib.iconv/iconvjp.c: Ditto.
1697 * testsuite/newlib.iconv/iconvnm.c: Ditto.
1698 * testsuite/newlib.iconv/iconvru.c: Ditto.
1699
786ab12c
JJ
17002004-01-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1701
1702 * acinclude.m4 (--enable-newlib-iconv): New configuration option.
1703 (--enable-newlib-builtin-converters): Ditto.
1704 * configure.in: Add code to set _ICONV_ENABLED flag.
1705 Set _MB_LEN_MAX to 1 if not mb enabled.
1706 * configure: Regenerated.
1707 * aclocal.m4: Ditto.
1708 * Makefile.in: Ditto.
1709 * newlib.hin: Add _ICONV_ENABLED flag.
1710 * libc/Makefile.am: Add support for iconv.
1711 * libc/configure.in: Ditto.
1712 * libc/Makefile.in: Regenerated.
1713 * libc/aclocal.m4: Ditto.
1714 * libc/configure: Ditto.
1715 * libc/libc.texinfo: Add iconv documentation.
1716 * libc/iconv/AUTHORS, libc/iconv/COPYING, libc/iconv/Makefile.am,
1717 libc/iconv/Makefile.in, libc/iconv/README.ORIGINAL,
1718 libc/iconv/README.TODO, libc/iconv/charset.aliases,
1719 libc/iconv/iconv.tex, libc/iconv/ccs/Makefile.am,
1720 libc/iconv/ccs/Makefile.in, libc/iconv/ccs/README.CCS.SOURCES,
1721 libc/iconv/ccs/big5.c, libc/iconv/ccs/cns11643_plane1.c,
1722 libc/iconv/ccs/cns11643_plane14.c, libc/iconv/ccs/cns11643_plane2.c,
1723 libc/iconv/ccs/cp775.c, libc/iconv/ccs/cp850.c,
1724 libc/iconv/ccs/cp852.c, libc/iconv/ccs/cp855.c,
1725 libc/iconv/ccs/cp866.c, libc/iconv/ccs/gb_2312_80.c,
1726 libc/iconv/ccs/iconv_mktbl, libc/iconv/ccs/iso_8859_1.c,
1727 libc/iconv/ccs/iso_8859_15.c, libc/iconv/ccs/iso_8859_2.c,
1728 libc/iconv/ccs/iso_8859_4.c, libc/iconv/ccs/iso_8859_5.c,
1729 libc/iconv/ccs/jis_x0201.c, libc/iconv/ccs/jis_x0208_1983.c,
1730 libc/iconv/ccs/jis_x0212_1990.c, libc/iconv/ccs/koi8_r.c,
1731 libc/iconv/ccs/koi8_u.c, libc/iconv/ccs/ksx1001.c,
1732 libc/iconv/ccs/shift_jis.c, libc/iconv/ccs/us_ascii.c,
1733 libc/iconv/ccs/binary/Makefile.am, libc/iconv/ccs/binary/Makefile.in,
1734 libc/iconv/ccs/binary/big5.cct,
1735 libc/iconv/ccs/binary/cns11643_plane1.cct,
1736 libc/iconv/ccs/binary/cns11643_plane14.cct,
1737 libc/iconv/ccs/binary/cns11643_plane2.cct,
1738 libc/iconv/ccs/binary/cp775.cct, libc/iconv/ccs/binary/cp850.cct,
1739 libc/iconv/ccs/binary/cp852.cct, libc/iconv/ccs/binary/cp855.cct,
1740 libc/iconv/ccs/binary/cp866.cct, libc/iconv/ccs/binary/gb_2312_80.cct,
1741 libc/iconv/ccs/binary/iso_8859_1.cct,
1742 libc/iconv/ccs/binary/iso_8859_15.cct,
1743 libc/iconv/ccs/binary/iso_8859_2.cct,
1744 libc/iconv/ccs/binary/iso_8859_4.cct,
1745 libc/iconv/ccs/binary/iso_8859_5.cct,
1746 libc/iconv/ccs/binary/jis_x0201.cct,
1747 libc/iconv/ccs/binary/jis_x0208_1983.cct,
1748 libc/iconv/ccs/binary/jis_x0212_1990.cct,
1749 libc/iconv/ccs/binary/koi8_r.cct, libc/iconv/ccs/binary/koi8_u.cct,
1750 libc/iconv/ccs/binary/ksx1001.cct,
1751 libc/iconv/ccs/binary/shift_jis.cct,
1752 libc/iconv/ccs/binary/us_ascii.cct,
1753 libc/iconv/ces/Makefile.am, libc/iconv/ces/Makefile.in,
1754 libc/iconv/ces/euc-jp.c, libc/iconv/ces/euc-kr.c,
1755 libc/iconv/ces/euc-tw.c, libc/iconv/ces/gb2312.c,
1756 libc/iconv/ces/iso-10646-ucs-2.c, libc/iconv/ces/iso-10646-ucs-4.c,
1757 libc/iconv/ces/ucs-2-internal.c, libc/iconv/ces/ucs-4-internal.c,
1758 libc/iconv/ces/utf-16.c, libc/iconv/ces/utf-8.c,
1759 libc/iconv/lib/Makefile.am, libc/iconv/lib/Makefile.in,
1760 libc/iconv/lib/aliases.c, libc/iconv/lib/bialiasesi.c,
1761 libc/iconv/lib/biccs.c, libc/iconv/lib/bices.c,
1762 libc/iconv/lib/ccs.c, libc/iconv/lib/ces.c,
1763 libc/iconv/lib/ces_euc.c, libc/iconv/lib/ces_iso2022.c,
1764 libc/iconv/lib/ces_table.c, libc/iconv/lib/converter.c,
1765 libc/iconv/lib/deps.h, libc/iconv/lib/endian.h,
1766 libc/iconv/lib/iconv.c, libc/iconv/lib/loaddata.c,
1767 libc/iconv/lib/local.h, libc/include/iconv.h: New files.
1768 * libc/sys/linux/include/iconv.h: Ditto.
1769 * libc/include/sys/_types.h (_iconv_t): Added.
1770 * doc/aclocal.m4: Regenerated.
1771 * doc/configure: Ditto.
1772 * doc/Makefile.in: Ditto.
1773 * iconvdata/Makefile.in: Ditto.
1774 * iconvdata/aclocal.m4: Ditto.
1775 * iconvdata/configure: Ditto.
1776 * libc/*aclocal.m4: Ditto.
1777 * libc/*Makefile.in: Ditto.
1778 * libc/*configure: Ditto.
1779 * libm/*aclocal.m4: Ditto.
1780 * libm/*Makefile.in: Ditto.
1781 * libm/*configure: Ditto.
1782
ed1a95dc
JJ
17832004-01-22 Thomas Pfaff <tpfaff@gmx.net>
1784
1785 * libc/stdio/findfp.c (__sfp): Protect global FILE pointer list
1786 by a lock when newlib is multithreaded.
1787
7d4be1ef
JJ
17882004-01-21 Jeff Johnston <jjohnstn@redhat.com>
1789
1790 * libc/stdlib/mbrtowc.c (_mbrtowc_r): Fix case where s is null
1791 pointer to match C99 spec.
1792 * libc/stdlib/mbsrtowcs.c (_mbsrtowc_r): Fix to ignore len when
1793 dst is NULL. Also fix to not alter src pointer when dst is NULL
1794 and call _mbrtowc_r instead of _mbtowc_r.
1795 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Call _wcrtomb_r instead
1796 of _wctomb_r.
1797
403f752c
JJ
17982004-01-19 Thomas Pfaff <tpfaff@gmx.net>
1799
1800 * libc/stdio/fclose.c (fclose): Release FILE as the last step.
1801 * libc/stdio/freopen.c (freopen): Ditto.
1802
85b6d63b
CF
18032004-01-16 Christopher Faylor <cgf@redhat.com>
1804
1805 * libc/stdio/vfprintf.c: Add sys/lock.h include.
1806
4af71a91
JJ
18072004-01-16 Thomas Pfaff <tpfaff@gmx.net>
1808
1809 * libc/stdio/findfp.c (__sfp): Remove unnecessary memset.
1810 * libc/stdio/vfprintf.c (__sbprintf): Ditto.
1811 Add calls to __lock_init_recursive and __lock_close_recursive
1812 instead.
1813
6a150987
JJ
18142004-01-15 Thomas Pfaff <tpfaff@gmx.net>
1815
1816 * libc/stdio/fclose.c: Include sys/lock.h.
1817 (fclose): Destroy lock when file is closed.
1818 * libc/stdio/findfp.c (__sfp): Initialize file pointers _lock
1819 member.
1820 * libc/stdio/freopen.c: Include sys/lock.h.
1821 (_freopen_r): Destroy lock when file is closed.
1822 * libc/stdio/vfprintf.c (__sbprintf): Initialize file pointers
1823 _lock member.
1824
c9524c0c
JJ
18252004-01-08 Joel Sherrill <joel@oarcorp.com>
1826
1827 * libc/ctype/iswctype.c, include/sys/reent.h, libc/stdlib/a64l.c:
1828 Remove warnings.
1829
9f13ccb3
JJ
18302004-01-08 Joel Sherrill <joel@oarcorp.com>
1831
1832 * libc/sys/rtems/sys/queue.h: New file.
1833 * libc/include/sys/signal.h: Reflect renumbering of signals to
1834 fit into 32-bit mask.
1835 * libc/include/sys/unistd.h: Add fdatasync() prototype.
1836 * libc/sys/rtems/crt0.c: Add more symbols which may be implicitly
1837 required. In particular, add the reentrant variants of libc calls.
1838 * libc/sys/rtems/sys/dirent.h: Add scandir() prototype.
1839
9488c414
JJ
18402004-01-06 Mark Mitchell <mark@codesourcery.com>
1841
1842 * libc/sys/arm/syscalls.c (unistd.h): Include it.
1843 (remap_handle): Use STDIN_FILENO instead of __sfileno(stdin).
1844 Similarly for stdout and stderr.
1845
5125f919
JJ
18462004-01-06 Jeff Johnston <jjohnstn@redhat.com>
1847
1848 * libc/libc.texinfo: Correct escape character for @ sign
1849 so file will be processed by make info. Update copyright years.
1850 * libm/libm.texinfo: Ditto.
1851
9fc92ceb
JJ
18522003-12-05 Jeff Johnston <jjohnstn@redhat.com>
1853
1854 * libc/include/sys/stat.h: No longer include stat-dj.h.
1855 * libc/include/sys/stat-dj.h: Removed.
1856
25c7dad1
JJ
18572003-12-05 Jeff Johnston <jjohnstn@redhat.com>
1858
1859 * libc/include/wchar.h: Include <sys/reent.h>.
1860
576593dd
CF
18612003-12-05 Christopher Faylor <cgf@redhat.com>
1862
1863 * libc/stdlib/mbrlen.c: Change include order to prevent compiler errors
1864 when defining _mbrtowc.
1865 * libc/stdlib/mbsinit.c: Ditto.
1866 * libc/stdlib/mbsrtowcs.c: Ditto.
1867 * libc/stdlib/wcrtomb.c: Ditto.
1868 * libc/stdlib/wcsrtombs.c: Ditto.
1869 * libc/stdlib/wctob.c: Ditto.
1870
18712003-12-05 Christopher Faylor <cgf@redhat.com>
1872
1873 * libc/stdlib/mbrlen.c: Change include order to prevent compiler
1874 errors when defining _mbrtowc.
1875 * libc/stdlib/mbsinit.c: Ditto.
1876 * libc/stdlib/mbsrtowcs.c: Ditto.
1877
4c889d62
CF
18782003-12-05 Christopher Faylor <cgf@redhat.com>
1879
1880 * libc/stdlib/mbrtowc.c: Change include order to prevent compiler
1881 errors when defining _mbrtowc.
1882
5d109bde
JJ
18832003-12-04 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1884
1885 * libc/stdio/vfprintf.c (_VFPRINTF_R): Use _r versions
1886 of mb routines for %lc and %ls support.
1887 * libc/stdio/vfscanf.c (_svfscanf_r): Add %lc, %C,
1888 %ls, and %S support. Remove CYGNUS_NEC markers and
1889 code within.
1890
3aca0888
JJ
18912003-12-04 Jeff Johnston <jjohnstn@redhat.com>
1892
1893 * libc/include/wchar.h: Add prototypes for _mbrtowc_r,
1894 _wcrtomb_r, and _wcsrtombs_r.
1895
18dcb167
CV
18962003-12-01 Corinna Vinschen <corinna@vinschen.de>
1897
1898 * libc/include/sys/fcntl.h: Don't define struct flock when on
1899 Cygwin. This is done in winsup/cygwin/include/cygwin/types.h now.
1900
93f8e673
CF
19012003-11-28 Christopher Faylor <cgf@redhat.com>
1902
1903 * libc/include/sys/signal.h: Use system specific signal file when
1904 building on cygwin.
1905
cc2a11e0
JJ
19062003-11-27 Jeff Johnston <jjohnstn@redhat.com>
1907
1908 * libc/include/stdlib.h (_atoi_r): New prototype.
1909 * libc/stdlib/atoi.c (_atoi_r): New reentrant function.
1910
83bf7d2f
JJ
19112003-11-27 Jeff Johnston <jjohnstn@redhat.com>
1912
1913 * libc/include/stdlib.h (_atoll_r, _atol_r): New prototypes.
1914 * libc/stdlib/atol.c (_atol_r): New reentrant function.
1915 * libc/stdlib/atoll.c (_atoll_r): Ditto.
1916
5d109bde 19172003-11-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
6bbb700c
JJ
1918 Jeff Johnston <jjohnstn@redhat.com>
1919
1920 * libc/include/stdlib.h (lldiv_t): New type.
1921 (atoll, llabs, lldiv): New prototypes.
1922 * libc/stdlib/Makefile.am: Add support for atoll, llabs, and lldiv.
1923 * libc/stdlib/stdlib.tex: Ditto.
1924 * libc/stdlib/Makefile.in: Regenerated.
1925 * libc/stdlib/atoll.c: New file.
1926 * libc/stdlib/llabs.c: Ditto.
1927 * libc/stdlib/lldiv.c: Ditto.
1928
0a707c79
JJ
19292003-11-26 Corinna Vinschen <corinna@vinschen.de>
1930
1931 * libc/include/fcntl.h: Declare syscalls only when building newlib.
1932 * libc/include/unistd.h: Ditto.
1933 * libc/include/stat.h: Ditto. Also declare struct stat64.
1934
5d109bde 19352003-11-24 Artem B. Bityuckiy <abitytsky@softminecorp.com>
6db165c2
JJ
1936
1937 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix check for 'C' format
1938 specifier to use ch instead of *fmt.
1939
5d109bde 19402003-11-21 Artem B. Bityuckiy <abitytsky@softminecorp.com>
759a097e
JJ
1941
1942 * libc/stdio/vfprintf.c (_VFPRINTF_R, get_arg): Move mb-specific
1943 code within checks for MB_CAPABLE. For non-mb-capable platforms,
1944 use simple byte logic.
1945
4f6149d6
JJ
19462003-11-21 Jeff Johnston <jjohnstn@redhat.com>
1947
1948 * libc/stdio/vfscanf.c (__svfscanf_r)[!_NO_LONGDBL]: Don't use
1949 _strtold routine for processing floats and doubles since it
1950 is not as fast as _strtod_r.
1951
7343eefb
JJ
19522003-11-20 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
1953
1954 * libc/machine/h8300/defines.h : Correct pointer register defines
1955 for normal mode.
1956 * libc/machine/h8300/memcpy.S : Use add/sub instead of adds/subs
1957 for normal mode.
1958 * libc/machine/h8300/reg_memcpy.S : Likewise.
1959 * libc/machine/h8300/reg_memset.S : Likewise.
1960 * libc/machine/h8300/strcmp.S : Likewise.
1961
64cfc6f2
JJ
19622003-11-19 Nicholas Wourms <nwourms@netscape.net>
1963
1964 * configure.host: Enable positional arguments for printf
1965 family for Cygwin.
1966 * libc/stdio/vfprintf.c (_VFPRINTF_R): Remove extraneous
1967 pointer reference for quad_ptr_t.
1968
e1dc8171
JJ
19692003-11-19 Jeff Johnston <jjohnstn@redhat.com>
1970
1971 * libc/stdio/scanf.c: Don't include local.h more than once.
1972
a472290f
JJ
19732003-11-18 Corinna Vinschen <corinna@vinschen.de>
1974
1975 * libc/include/sys/fcntl.h: Declare _open64.
1976 * libc/include/sys/stat.h: Declare _fstat64.
1977 * libc/include/sys/unistd.h: Declare _lseek64.
1978
a2f1155c
CV
19792003-11-17 Corinna Vinschen <corinna@vinschen.de>
1980
1981 * libc/include/stdlib.h (getprogname): Declare for Cygwin.
1982 (setprogname): Ditto.
1983
030441fc
JJ
19842003-11-10 Jeff Johnston <jjohnstn@redhat.com>
1985
1986 * libc/machine/powerpc/ufix64toa.c (_ufix64to_r): Fix shifts
1987 to use (Ebits + 1) which accounts for the sign-bit.
1988
fe359733
JJ
19892003-11-07 Jeff Johnston <jjohnstn@redhat.com>
1990
1991 * configure.host: Remove -DLOOSE_KERNEL_NAMES flag for linux
1992 x86 build.
1993 * iconvdata/Makefile.am: Make dependent on newlib's configure.host
1994 and set up default flags to pass to aclocal.
1995 * iconvdata/Makefile.in: Regenerated.
1996 * libc/sys/linux/Makefile.am: Add _ELIX_LEVEL_4 getlogin, getpwnam,
1997 and getpwuid routines.
1998 * libc/sys/linux/Makefile.in: Regenerated.
1999 * libc/sys/linux/getlogin.c: New stub file to allow x86-linux
2000 applications to link with newlib's shared libc library.
2001 * libc/sys/linux/getpwnam.c: Ditto.
2002 * libc/sys/linux/getpwuid.c: Ditto.
2003 * libc/sys/linux/sys/types.h: Include <features.h> and supply types
2004 that were formerly supplied by /usr/include/linux/types.h with
2005 kernel types.
2006 * testsuite/newlib.wctype/twctype.c: Fix testcase to properly
2007 test _ELIX_LEVEL macro.
2008
2985521f
JJ
20092003-11-07 Jeff Johnston <jjohnstn@redhat.com>
2010
2011 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix typos that should be
2012 referring to _NO_LONGLONG macro.
2013
dcad6a89
JJ
20142003-11-06 Jeff Johnston <jjohnstn@redhat.com>
2015
2016 * libc/sys/linux/linuxthreads/td_init.c: Replace function name
2017 in LOG() macro so this will compile on gcc 3.4 and up.
2018 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
2019 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
2020 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
2021 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
2022 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
2023 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
2024 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
2025 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
2026 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
2027 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
2028 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
2029 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
2030 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
2031 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
2032 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
2033 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
2034 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
2035 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
2036 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
2037 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
2038 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
2039 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
2040 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
2041 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
2042 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
2043 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
2044 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
2045 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
2046 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
2047 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
2048 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
2049 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
2050 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
2051 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
2052 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
2053 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
2054
d2ffac09 20552003-11-05 Jeff Johnston <jjohnstn@redhat.com>
5d109bde 2056 Artem B. Bityuckiy <abitytsky@softminecorp.com>
d2ffac09
JJ
2057
2058 * libc/stdio/vfprintf.c (_VFPRINTF_R): Add support for
2059 %ls, %S, %lc, and %C format specifiers.
2060 (get_arg): Ditto.
2061 * libc/stdio/sprintf.c: Add documentation regarding new
2062 format specifiers added in vfprintf.c.
2063
da2d1227
JJ
20642003-11-05 Jeff Johnston <jjohnstn@redhat.com>
2065
2066 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Numerous fixes
2067 to make code work as specified in standard.
2068
3ef05bac
JJ
20692003-10-23 Jeff Johnston <jjohnstn@redhat.com>
2070
2071 * configure.in: Use absolute newlib basedir when forming
2072 CC_FOR_NEWLIB include options.
2073 * configure: Regenerated.
2074
5d109bde 20752003-10-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4340b63b
JJ
2076
2077 * libc/string/wcsnlen.c: New file.
2078 * libc/include/wchar.h: Add wcsnlen prototype.
2079 * libc/string/Makefile.am: Add wcsnlen support.
2080 * libc/string/Makefile.in: Regenerated.
2081 * libc/string/wcstrings.tex: Add wcsnlen documentation.
2082
63a823f8
RS
20832003-10-22 Richard Sandiford <rsandifo@redhat.com>
2084
2085 * libc/stdlib/exit.c (exit): Handle null _GLOBAL_REENT->_atexits.
2086
76a7df52
JJ
20872003-10-20 Bob Wilson <bob.wilson@acm.org>
2088
2089 * libc/locale/locale.c: Use double quotes in code.
2090 * libc/locale/locale.tex: Likewise.
2091 * libc/libc.texinfo: Hyphenate "floating-point".
2092 * libc/machine/necv70/necv70.tex: Likewise.
2093 * libc/stdio/sprintf.c: Likewise.
2094 * libc/stdio/sscanf.c: Likewise.
2095 * libc/stdlib/atof.c: Likewise.
2096 * libc/stdlib/ldtoa.c: Fix comment typo.
2097 * libc/stdlib/div.c: Use @ifnottex instead of @ifinfo.
2098 * libc/stdlib/ldiv.c: Likewise.
2099 * libm/common/s_expm1.c: Likewise.
2100 * libm/common/s_ilogb.c: Hyphenate "floating-point". Use "nonzero".
2101 * libm/common/s_infinity: Hyphenate "double- and single-precision".
2102 * libm/common/s_nan.c: Likewise. Also correct the FUNCTION summary.
2103 * libm/common/s_nextafter.c: Fix typo. Hyphenate "double-precision"
2104 and "floating-point".
2105 * libm/common/s_scalbn.c: Correct the FUNCTION summary.
2106 * libm/math/e_pow.c: Fix comment typo.
2107 * libm/math/math.tex: Hyphenate "single-precision" and "floating-point".
2108 * libm/math/s_asinh.c: Use @ifnottex instead of @ifinfo.
2109 * libm/math/s_atan.c: Likewise.
2110 * libm/math/s_frexp.c: Likewise. Also use "nonzero".
2111 * libm/math/s_isnan.c: Hyphenate "single-precision" and
2112 "floating-point". Use "nonzero".
2113 * libm/math/s_ldexp.c: Use @ifnottex instead of @ifinfo.
2114 * libm/math/w_acos.c: Likewise.
2115 * libm/math/w_acosh.c: Likewise.
2116 * libm/math/w_asin.c: Likewise.
2117 * libm/math/w_atan2.c: Likewise.
2118 * libm/math/w_atanh.c: Likewise.
2119 * libm/math/w_cosh.c: Likewise.
2120 * libm/math/w_exp.c: Likewise.
2121 * libm/math/w_exp2.c: Likewise. Add missing @end and missing @tex
2122 version of 2^x in the description.
2123 * libm/math/w_fmod.c: Use @ifnottex instead of @ifinfo.
2124 * libm/math/w_gamma.c: Likewise.
2125 * libm/math/w_hypot.c: Likewise.
2126 * libm/math/w_j0.c: Likewise.
2127 * libm/math/w_sinh.c: Likewise.
2128 * libm/math/w_pow.c: Replace "exp1.0nt" with "exponent".
2129 * libm/mathfp/mathfp.tex: Hyphenate "single-precision" and
2130 "floating-point".
2131 * libm/mathfp/e_acosh.c: Use @ifnottex instead of @ifinfo.
2132 * libm/mathfp/e_atanh.c: Likewise.
2133 * libm/mathfp/e_hypot.c: Likewise.
2134 * libm/mathfp/er_lgamma.c: Likewise.
2135 * libm/mathfp/s_acos.c: Likewise.
2136 * libm/mathfp/s_asine.c: Likewise.
2137 * libm/mathfp/s_asinh.c: Likewise.
2138 * libm/mathfp/s_atan.c: Likewise.
2139 * libm/mathfp/s_atan2.c: Likewise.
2140 * libm/mathfp/s_atangent.c: Likewise.
2141 * libm/mathfp/s_cosh.c: Likewise.
2142 * libm/mathfp/s_exp.c: Likewise.
2143 * libm/mathfp/s_fmod.c: Likewise.
2144 * libm/mathfp/s_frexp.c: Likewise. Also use "nonzero".
2145 * libm/mathfp/s_isnan.c: Hyphenate "single-precision" and
2146 "floating-point". Use "nonzero".
2147 * libm/math/s_pow.c: Replace "exp1.0nt" with "exponent".
2148 * libm/mathfp/s_ldexp.c: Use @ifnottex instead of @ifinfo.
2149 * libm/mathfp/s_sineh.c: Likewise.
2150 * libm/mathfp/w_jn.c: Likewise.
2151
b11926e7
JJ
21522003-10-15 Alexandre Oliva <aoliva@redhat.com>
2153
2154 * Makefile.am: Add $(MAKE) comments to multido and multiclean
2155 lines, to enable parallel make.
2156 * Makefile.in: Rebuilt.
2157
31271d5c
CF
21582003-10-14 Christopher Faylor <cgf@redhat.com>
2159
2160 * libc/time/clock.c: Clarify documentation of return value when no
2161 measurement is available.
2162
bc707cbd
JJ
21632003-09-29 Ian Lance Taylor <ian@wasabisystems.com>
2164
2165 * libm/configure.in: Check libm_machine_dir, not machine_dir.
2166 * libm/configure: Regenerate.
2167 * libm/Makefile.in: Ditto.
2168
f4b10605
JR
21692003-09-29 J"orn Rennecke <joern.rennecke@superh.com>
2170
2171 * libc/machine/sh/strncpy.S: New file.
2172 * libc/machine/sh/Makefile.am: Add entry & rule for new file.
2173 * libc/machine/sh/Makefile.in: Regenerate.
2174
ce044d8f
JW
21752003-09-11 James E Wilson <wilson@specifixinc.com>
2176
2177 * MAINTAINERS: Update my e-mail address.
2178
080ef411
CV
21792003-09-10 Corinna Vinschen <corinna@vinschen.de>
2180
2181 * libc/include/sys/unistd.h: Declare function daemon for Cygwin.
2182
3a767b69
JJ
21832003-09-09 Jeff Johnston <jjohnstn@redhat.com>
2184
080ef411
CV
2185 * libc/machine/powerpc/fix64.h: Fix typo for _simdldcheck
2186 prototype.
2187 * libc/machine/powerpc/simdldtoa.c: Remove prototype for
2188 _simdldcheck(). Also add unsigned cast for index variable in
2189 for loop using sizeof operators.
2190 * libc/machine/powerpc/strtoufix32.c: Remove unused variable.
2191 * libc/machine/powerpc/strtosfix64.c: Fix call to _simdldcheck.
2192 * libc/machine/powerpc/strtoufix64.c (_strtoufix64_r): Ditto
2193 plus fix shift calculation for determining if there is a
2194 carry from word2.
3a767b69 2195
84154fcc
CV
21962003-09-09 Corinna Vinschen <corinna@vinschen.de>
2197
2198 * libc/include/grp.h: Don't define setgrfile, group_from_gid and
2199 setgroupent for Cygwin.
2200
f1b15058
JJ
22012003-09-05 Jeff Johnston <jjohnstn@redhat.com>
2202
2203 * libc/stdlib/exit.c (exit): Setting of struct _atexit ptr p
2204 is different for _REENT_SMALL than when using regular reent
2205 struct.
2206
cf88c20f 22072003-09-05 Ben Elliston <bje@wasabisystems.com>
0a8fd4dc 2208
b73263e4
BE
2209 * libc/ctype/wctype.c (_DEFUN): Remove empty default case, as
2210 modern versions of GCC issue a warning.
2211
0a8fd4dc
BE
2212 * libc/machine/xscale/memcmp.c (memcmp): Strip trailing whitespace
2213 after continuation characters that induces a warning from modern
2214 versions of GCC.
2215
10a32423
BE
22162003-09-04 Ben Elliston <bje@wasabisystems.com>
2217
2218 * libc/stdlib/mstats.c[_ELIX_LEVEL]: Fix guards. #ifndef FOO ||
2219 FOO >= 2 is invalid; use #if !defined (FOO) || FOO >= 2 instead.
2220
ed027a53
JJ
22212003-09-02 Thomas Pfaff <tpfaff@gmx.net>
2222
2223 * libc/stdlib/atexit.c: Rename _REENT to _GLOBAL_REENT throughout.
2224 * libc/stdlib/exit.c : Ditto.
2225 * libc/stdlib/on_exit.c: Ditto.
2226
880fa247
JJ
22272003-08-27 Corinna Vinschen <corinna@vinschen.de>
2228
2229 * libc/include/reent.h: Define stat64 as __stat64 when
2230 compiling newlib for Cygwin.
2231
54c1d7ea
JJ
22322003-08-26 Jeff Johnston <jjohnstn@redhat.com>
2233
2234 * libc/include/sys/stat.h[__CYGWIN__]: Only define stat64 as
2235 __stat64 when compiling newlib.
2236
0eca0750
JJ
22372003-08-26 Jeff Johnston <jjohnstn@redhat.com>
2238
2239 * libc/include/stdio.h: Allow the io64 function prototypes for
2240 Cygwin when compiling newlib.
2241 * libc/include/sys/stat.h[__CYGWIN__]: Define stat64 as __stat64
2242 to expose the Cygwin struct __stat64 type.
2243 * libc/stdio64/fseeko64.c: Use _fstat64_r and pass a struct stat64
2244 pointer.
2245 * libc/stdio64/tmpfile64.c(_tmpfile64_r): Call _fopen64_r.
2246
9d4aef19
CF
22472003-08-23 Christopher Faylor <cgf@redhat.com>
2248
2249 * libc/stdio64/fseeko64.c (fseeko64_r): Rename second fseeko64_r
2250 definition to fseeko64.
2251
9fc9e1c9
JJ
22522003-08-22 Jeff Johnston <jjohnstn@redhat.com>
2253
2254 * libc/include/sys/reent.h: Add _GLOBAL_REENT macro.
2255 * libc/stdio: Globally remove/replace all references to fp->_data.
2256 Replace with _REENT or _GLOBAL_REENT where appropriate.
2257 * libc/stdio/asprintf.c: Ditto.
2258 * libc/stdio/fclose.c: Ditto.
2259 * libc/stdio/fvwrite.c: Ditto.
2260 * libc/stdio/makebuf.c: Ditto.
2261 * libc/stdio/refill.c: Ditto.
2262 * libc/stdio/local.h: Ditto.
2263 * libc/stdio/setvbuf.c: Ditto.
2264 * libc/stdio/sscanf.c: Ditto.
2265 * libc/stdio/stdio.c: Ditto.
2266 * libc/stdio/ungetc.c: Ditto.
2267 * libc/stdio/vfscanf.c: Ditto.
2268 * libc/stdio/vsscanf.c: Ditto.
2269 * libc/stdio/fopen.c: Ditto. Also use _fseek_r in _fopen_r.
2270 * libc/stdio/vasprintf.c: Ditto. Also call _vfprintf_r directly.
2271 * libc/stdio/vsnprintf.c: Ditto.
2272 * libc/stdio/vsprintf.c: Ditto.
2273 * libc/stdio/fcloseall.c(fcloseall): Use _GLOBAL_REENT macro
2274 instead of _REENT to walk file list.
2275 * libc/stdio/fflush.c: Ditto.
2276 * libc/stdio/fgetpos.c: Add reentrant version and have regular
2277 version call reentrant version with _REENT argument.
2278 * libc/stdio/fsetpos.c: Ditto.
2279 * libc/stdio/fseek.c: Ditto.
2280 * libc/stdio/fseeko.c: Ditto.
2281 * libc/stdio/ftell.c: Ditto.
2282 * libc/stdio/ftello.c: Ditto.
2283 * libc/stdio/freopen.c: Ditto.
2284 * libc/stdio/findfp.c: Use _GLOBAL_REENT pointer when adding
2285 new files to chain. Also use _GLOBAL_REENT pointer for
2286 cleaning up.
2287 * libc/stdio/fiprintf.c: Reformatted to minimize duplicate code.
2288 * libc/stdio/siprintf.c: Ditto.
2289 * libc/stdio/iprintf.c: Ditto.
2290 * libc/stdio/fprintf.c: Ditto.
2291 * libc/stdio/printf.c: Ditto.
2292 * libc/stdio/snprintf.c: Call _vfprintf_r directly.
2293 * libc/stdio/sprintf.c: Ditto.
2294 * libc/stdio/vprintf.c: Ditto. Also add _REENT_ONLY check.
2295 * libc/stdio/rewind.c: Call _fseek_r directly.
2296 * libc/stdio/tmpfile.c: Call _fopen_r and _remove_r directly.
2297 * libc/stdio/vfprintf.c (_VFPRINTF_R): Change _r routines to use
2298 data pointer.
2299 (get_arg): Add extra struct _reent pointer argument.
2300 * libc/stdio64/fgetpos64.c: Add _r versions, remove any reference
2301 to fp->_data.
2302 * libc/stdio64/fopen64.c: Ditto.
2303 * libc/stdio64/freopen64.c: Ditto.
2304 * libc/stdio64/fsetpos64.c: Ditto.
2305 * libc/stdio64/ftello64.c: Ditto.
2306 * libc/stdio64/local64.h: Ditto.
2307 * libc/stdio64/stdio64.c: Ditto.
2308 * libc/stdio64/fseeko64.c: Ditto plus use _fstat_r instead of
2309 _fstat64_r for the meantime.
2310
8f021114
JJ
23112003-08-19 Jeff Johnston <jjohnstn@redhat.com>
2312
2313 * libc/stdlib/mallocr.c (mALLOc, rEALLOc, mEMEALIGn): Enhance
2314 overflow detection.
2315
db979bb4
JJ
23162003-08-13 Aldy Hernandez <aldyh@redhat.com>
2317
2318 * libc/machine/powerpc/machine/stdlib.h: Wrap SPE functions in
2319 extern "C".
2320
6efbdc7d
JJ
23212003-08-13 Jeff Johnston <jjohnstn@redhat.com>
2322
2323 * libc/include/math.h: Add prototypes for __signbitf and
2324 __signbitd.
2325
e895fc20
JJ
23262003-07-31 Jeff Johnston <jjohnstn@redhat.com>
2327
2328 * libc/ctype/iswalpha.c: Fix calls to __jp2uc to pass the
2329 correct type of conversion when dealing with EUCJP or SJIS.
2330 * libc/ctype/iswblank.c: Ditto.
2331 * libc/ctype/iswcntrl.c: Ditto.
2332 * libc/ctype/iswprint.c: Ditto.
2333 * libc/ctype/iswpunct.c: Ditto.
2334 * libc/ctype/iswspace.c: Ditto.
2335 * libc/ctype/towlower.c: Ditto.
2336 * libc/ctype/towupper.c: Ditto.
2337
0302dfe5
NC
23382003-07-31 Nick Clifton <nickc@redhat.com>
2339
2340 * libc/sys/sysnecv850/crt0.S (_start): Allocate 4 slots on stack
2341 before calling main, in case it saves its argument registers.
2342 Remove reference to deleted v850ea port.
2343 * configure.host: Remove reference to deleted v850ea port.
2344 Do not use -mv850 when building for v850e target. This
2345 prevents the ctbp system register from being initialised.
2346
42de5592
JJ
23472003-07-29 Honda Hiroki <hhonda@ipflex.com>
2348
2349 * libc/stdio/vfprintf.c: Set output size to 1 when
2350 we have %f format with precision 0 and # flag not specified.
2351
e5de27b6
AO
23522003-07-29 Alexandre Oliva <aoliva@redhat.com>
2353
2354 * libc/machine/mn10300/setjmp.S: Never emit both .am33 and
2355 .am33_2.
2356
3c98a593
CF
23572003-07-25 Christopher Faylor <cgf@redhat.com>
2358
2359 * libc/stdio64/fdopen64.c: Include sys/lock.h.
2360
e222bf67
CF
23612003-07-25 Christopher Faylor <cgf@redhat.com>
2362
2363 * configure.host: Find cygwin include directory, when appropriate.
2364
03536757
CF
23652003-07-24 Christopher Faylor <cgf@redhat.com>
2366
2367 * libc/stdio64/fdopen64.c: New file.
2368 * libc/stdio64/Makefile.am (LIB_OBJS): Add fdopen64.o
2369 * libc/stdio64/Makefile.in: Regenerate.
2370 * libc/include/stdio.h (fdopen64): Define.
2371 * libc/include/stdio.h (_fdopen64_r): Ditto.
2372
18072a4f
AO
23732003-07-10 Alexandre Oliva <aoliva@redhat.com>
2374
2375 2000-04-27 Alexandre Oliva <aoliva@cygnus.com>
2376 * libc/include/machine/setjmp.h (_JBLEN, AM33/2.0): Set to 26.
2377 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Save and
2378 restore callee-saved FP registers.
2379
e0bec12f
JR
23802003-07-10 J"orn Rennecke <joern.rennecke@superh.com>
2381
2382 * libc/include/sys/unistd.h (ftruncate, truncate): Also declare
2383 for __sh__.
2384 * libc/sys/sh/Makefile.am (lib_a_SOURCES): Add ftruncate.c and
2385 truncate.c.
2386 * libc/sys/sh/Makefile.in: Regenerate.
2387 * libc/sys/sh/sys/syscall.h: (SYS_truncate, SYS_ftruncate): Define.
2388 * libc/sys/sh/ftruncate.c: New file.
2389 * libc/sys/sh/truncate.c: Likewise.
2390
03d65dd9
AO
23912003-07-09 Alexandre Oliva <aoliva@redhat.com>
2392
2393 * libc/include/math.h (nan, nanf): Update prototype to C99.
2394 * libm/common/s_nan.c (nan): Likewise.
2395 * libm/common/s_nanf.c (nanf, nan): Likewise.
2396 * libc/sys/linux/cmath/math_private.h (nan, nanf): Likewise.
2397
74aa9d7d
JJ
23982003-07-07 Jeff Johnston <jjohnstn@redhat.com>
2399
2400 * libc/include/stdbool.h: Removed as this is defined by gcc.
2401
0a447ef3
JJ
24022003-07-03 Shaun Jackman <sjackman@pathwayconnect.com>
2403
2404 * libc/include/stdbool.h: New header file defined by C99.
2405
282eff9a
JJ
24062003-07-02 Jeff Johnston <jjohnstn@redhat.com>
2407
2408 * libc/include/sys/types.h (int8_t): Make signed.
2409
4e989b11
JJ
24102003-07-02 Jeff Johnston <jjohnstn@redhat.com>
2411
2412 * libc/sys/linux/include/mqueue.h: Add include of <sys/fcntl.h>.
2413
07b40cf8
JJ
24142003-06-27 Jose Goncalves <jose.goncalves@inov.pt>
2415
2416 * libc/sys/linux/mq_open.c (mq_open): Only set created flag
2417 on if we actually created the shared memory file exclusively.
2418
7daa7891
JJ
24192003-06-27 Joe Vornehm <joev@mitre.org>
2420
2421 * libm/common/s_fpclassify.c (__fpclassifyf): Fix
2422 comparisons to account for unsigned internal value w.
2423
51fa7562
JJ
24242003-06-26 Jeff Johnston <jjohnstn@redhat.com>
2425
2426 * libc/sys/linux/mq_open.c (mq_open): Must allocate rdbuf and
2427 wrbuf for a non-creating open.
2428
b8f7ea5c
JJ
24292003-06-24 Kazu Hirata <kazu@cs.umass.edu>
2430
2431 * libc/machine/h8300/setarch.h: New.
2432 * libc/machine/h8300/memcpy.S: Use it.
2433 * libc/machine/h8300/memset.S: Likewise.
2434 * libc/machine/h8300/reg_memcpy.S: Likewise.
2435 * libc/machine/h8300/reg_memset.S: Likewise.
2436 * libc/machine/h8300/setjmp.S: Likewise.
2437 * libc/machine/h8300/strcmp.S: Likewise.
2438
6d7ea52a
RS
24392003-06-24 Richard Sandiford <rsandifo@redhat.com>
2440
2441 * libc/sys/h8300hms/crt0.S (_start): Fix register sizes in call
2442 to atexit().
2443
5a74f2aa
JJ
24442003-06-20 Jeff Johnston <jjohnstn@redhat.com>
2445
2446 * configure.host (iq2000): Add tabs.
2447
8266e478
JJ
24482003-06-20 Jeff Johnston <jjohnstn@redhat.com>
2449
2450 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix macros
2451 to handle latest on_exit change.
2452 * libc/sys/linux/Makefile.am: Remove special compilation
2453 for malloc.c and mcheck.c.
2454 * libc/sys/linux/Makefile.in: Regenerated.
2455 * libc/sys/linux/mntent.c: Add definition of _LIBC flag
2456 after including <features.h>.
2457 * libc/sys/linux/mcheck.c: Ditto.
2458 * libc/sys/linux/malloc.c: Ditto plus define _GNU_SOURCE
2459 for <features.h>.
2460 * libc/sys/linux/intl/Makefile.am: Remove -D_LIBC and
2461 add -DNOT_IN_libc to C flags.
2462 * libc/sys/linux/intl/Makefile.in: Regenerated.
2463 * libc/sys/linux/intl/config.h: Add definition of _LIBC.
2464 * libc/sys/linux/linuxthreads/semaphore.h: Include
2465 <bits/pthreadtypes.h>.
2466 * libc/sys/linux/sys/dirent.h: Define _LIBC and NOT_IN_libc after
2467 including <features.h>.
2468 * libc/sys/linux/sys/lock.h: Ditto.
2469
0efe117b
NC
24702003-06-11 Nick Clifton <nickc@redhat.com>
2471
2472 * libc/reent/reent.c (reclaim_reent): Fix typo in code to free
2473 _on_exit_args_ptr.
2474
bfdfd7e6
AG
24752003-06-10 Stan Cox <scox@redhat.com>
2476 Anthony Green <green@redhat.com>
2477
2478 * configure.host: Add iq2000 support.
2479 * newlib/libc/include/machine/ieeefp.h: Ditto.
2480 * newlib/libc/include/machine/setjmp.h: Ditto.
2481 * libc/machine/iq2000, libc/machine/iq2000/setjmp.S,
2482 libc/machine/iq2000/aclocal.m4, libc/machine/iq2000/configure,
2483 libc/machine/iq2000/configure.in, libc/machine/iq2000/Makefile.am,
2484 libc/machine/iq2000/Makefile.in: New files.
2485
d9e4104b
RS
24862003-06-10 Richard Sandiford <rsandifo@redhat.com>
2487
2488 * libc/sys/h8300hms/setarch.h: New file.
2489 * libc/sys/h8300hms/close.S, libc/sys/h8300hms/fstat.S,
2490 libc/sys/h8300hms/lseek.S, libc/sys/h8300hms/open.S,
2491 libc/sys/h8300hms/read.S, libc/sys/h8300hms/stat.S,
2492 libc/sys/h8300hms/write.S, libc/sys/h8300hms/crt0.S: Use it.
2493
729d1ff9
JJ
24942003-06-06 Jeff Johnston <jjohnstn@redhat.com>
2495
2496 * libc/argz/argz_add.c: Change to use _DEFUN macro for function
2497 definition.
2498 * libc/argz/argz_add_sep.c: Ditto.
2499 * libc/argz/argz_append.c libc/argz/argz_count.c: Ditto.
2500 * libc/argz/argz_create.c libc/argz/argz_create_sep.c: Ditto.
2501 * libc/argz/argz_delete.c libc/argz/argz_extract.c: Ditto.
2502 * libc/argz/argz_insert.c libc/argz/argz_next.c: Ditto.
2503 * libc/argz/argz_replace.c libc/argz/argz_stringify.c: Ditto.
2504 * libc/argz/envz_add.c libc/argz/envz_entry.c: Ditto.
2505 * libc/argz/envz_get.c libc/argz/envz_merge.c: Ditto.
2506 * libc/argz/envz_remove.c libc/argz/envz_strip.c: Ditto.
2507 * libc/locale/nl_langinfo.c libc/misc/ffs.c: Ditto.
2508 * libc/posix/closedir.c libc/posix/creat.c: Ditto.
2509 * libc/posix/execl.c libc/posix/execle.c: Ditto.
2510 * libc/posix/execlp.c libc/posix/execve.c: Ditto.
2511 * libc/posix/isatty.c libc/posix/opendir.c: Ditto.
2512 * libc/posix/popen.c libc/posix/readdir.c: Ditto.
2513 * libc/posix/readdir_r.c libc/posix/rewinddir.c: Ditto.
2514 * libc/posix/scandir.c libc/posix/seekdir.c: Ditto.
2515 * libc/posix/telldir.c libc/search/hcreate.c: Ditto.
2516 * libc/search/tdelete.c libc/search/tdestroy.c: Ditto.
2517 * libc/search/tfind.c libc/search/tsearch.c: Ditto.
2518 * libc/search/twalk.c libc/signal/signal.c: Ditto.
2519
75d7d177
NC
25202003-06-05 Nick Clifton <nickc@redhat.com>
2521
2522 * libc/include/sys/reent.h (struct _on_exit_args): New
2523 structure containing fields used by the on_exit() function.
2524 (struct _atexit): Include struct _on_exit_args. For
2525 _REENT_SMALL do his via a pointer that is initialised when
2526 needed.
2527 * libc/reent/reent.c (_reclaim_reent): Free the _on_exit_args
2528 structure, if one has been allocated.
2529 * libc/stdlib/atexit.c (atexit): Update indirection to
2530 _fntypes field.
2531 * libc/stdlib/on_exit.c (on_exit): Indirect via the
2532 _on_exit_args structure. For _REENT_SMALL, allocate a
2533 structure if one does not exist.
2534 * libc/stdlib/exit.c (exit): Indirect via the _on_exit_args
2535 structure.
2536
2129f283
JJ
25372003-06-04 Jeff Johnston <jjohnstn@redhat.com>
2538
2539 * libc/sys/linux/net/Makefile.am: Remove extraneous markers.
2540 * libc/sys/linux/net/Makefile.in: Regenerated.
2541
bf3bcac2
JJ
25422003-06-03 Jeff Johnston <jjohnstn@redhat.com>
2543
2544 * libc/reent/execr.c: Use _DEFUN macro for function declaration.
2545 * libc/reent/fcntlr.c: Ditto.
2546 * libc/reent/fstat64r.c: Ditto.
2547 * libc/reent/linkr.c: Ditto.
2548 * libc/reent/lseek64r.c: Ditto.
2549 * libc/reent/lseekr.c: Ditto.
2550 * libc/reent/openr.c: Ditto.
2551 * libc/reent/readr.c: Ditto.
2552 * libc/reent/reent.c: Ditto.
2553 * libc/reent/sbrkr.c: Ditto.
2554 * libc/reent/signalr.c: Ditto.
2555 * libc/reent/signgam.c: Ditto.
2556 * libc/reent/statr.c: Ditto.
2557 * libc/reent/timer.c: Ditto.
2558 * libc/reent/unlinkr.c: Ditto.
2559 * libc/reent/writer.c: Ditto.
2560 * libc/syscalls/sysclose.c: Ditto.
2561 * libc/syscalls/sysexecve.c: Ditto.
2562 * libc/syscalls/sysfcntl.c: Ditto.
2563 * libc/syscalls/sysfork.c: Ditto.
2564 * libc/syscalls/sysfstat.c: Ditto.
2565 * libc/syscalls/sysgetpid.c: Ditto.
2566 * libc/syscalls/sysgettod.c: Ditto.
2567 * libc/syscalls/syskill.c: Ditto.
2568 * libc/syscalls/syslink.c: Ditto.
2569 * libc/syscalls/syslseek.c: Ditto.
2570 * libc/syscalls/sysopen.c: Ditto.
2571 * libc/syscalls/sysread.c: Ditto.
2572 * libc/syscalls/syssbrk.c: Ditto.
2573 * libc/syscalls/sysstat.c: Ditto.
2574 * libc/syscalls/systimes.c: Ditto.
2575 * libc/syscalls/sysunlink.c: Ditto.
2576 * libc/syscalls/syswait.c: Ditto.
2577 * libc/syscalls/syswrite.c: Ditto.
2578
702ceb23
JJ
25792003-06-03 Till Straumann <strauman@SLAC.Stanford.EDU>
2580
2581 * libc/time/tzset_r.c: Change local variables that are
2582 set via sscanf using the %h format specifier to be unsigned short
2583 instead of int.
2584
102861c9
JJ
25852003-05-30 Kelley Cook <kelleycook@wideopenwest.com>
2586
2587 * configure.host: Allow i[34567]86 variant.
2588 * configure.in: Likewise.
2589 * README: Likewise to the docs.
2590 * configure: Regenerated.
2591 * Makefile.in: Ditto.
2592
b359e82c
JJ
25932003-05-28 Jeff Johnston <jjohnstn@redhat.com>
2594 Tom Fitzsimmons <fitzsim@redhat.com>
2595
2596 * configure.in: Add iconvdata support for x86 linux.
2597 * configure: Regenerated.
2598 * libc/sys/linux/Makefile.am: Add EL/IX level 3 network, dynamic
2599 library, iconv, and linuxthreads support.
2600 * libc/sys/linux/configure.in: Ditto.
2601 * libc/sys/linux/Makefile.in: Regenerated.
2602 * libc/sys/linux/configure: Ditto.
2603 * iconvdata/EUC-JP.irreversible: New file.
2604 * iconvdata/Makefile.am: Ditto.
2605 * iconvdata/Makefile.in: Ditto.
2606 * iconvdata/SJIS.irreversible: Ditto.
2607 * iconvdata/aclocal.m4: Ditto.
2608 * iconvdata/configure: Ditto.
2609 * iconvdata/configure.in: Ditto.
2610 * iconvdata/dummy.c: Ditto.
2611 * iconvdata/euc-jp.c: Ditto.
2612 * iconvdata/gconv-modules: Ditto.
2613 * iconvdata/jis0201.c: Ditto.
2614 * iconvdata/jis0201.h: Ditto.
2615 * iconvdata/jis0208.c: Ditto.
2616 * iconvdata/jis0208.h: Ditto.
2617 * iconvdata/jis0212.c: Ditto.
2618 * iconvdata/jis0212.h: Ditto.
2619 * iconvdata/sjis.c: Ditto.
2620 * libc/include/errno.h: Protect definition of error_t.
2621 * libc/sys/linux/gethostid.c: New file.
2622 * libc/sys/linux/sethostid.c: Ditto.
2623 * libc/sys/linux/dl/Makefile.am: Ditto.
2624 * libc/sys/linux/dl/Makefile.in: Ditto.
2625 * libc/sys/linux/dl/abi-tag.h: Ditto.
2626 * libc/sys/linux/dl/atomicity.h: Ditto.
2627 * libc/sys/linux/dl/dl-addr.c: Ditto.
2628 * libc/sys/linux/dl/dl-cache.c: Ditto.
2629 * libc/sys/linux/dl/dl-cache.h: Ditto.
2630 * libc/sys/linux/dl/dl-close.c: Ditto.
2631 * libc/sys/linux/dl/dl-debug.c: Ditto.
2632 * libc/sys/linux/dl/dl-deps.c: Ditto.
2633 * libc/sys/linux/dl/dl-dst.h: Ditto.
2634 * libc/sys/linux/dl/dl-error.c: Ditto.
2635 * libc/sys/linux/dl/dl-fini.c: Ditto.
2636 * libc/sys/linux/dl/dl-init.c: Ditto.
2637 * libc/sys/linux/dl/dl-iteratephdr.c: Ditto.
2638 * libc/sys/linux/dl/dl-libc.c: Ditto.
2639 * libc/sys/linux/dl/dl-librecon.h: Ditto.
2640 * libc/sys/linux/dl/dl-load.c: Ditto.
2641 * libc/sys/linux/dl/dl-lookup.c: Ditto.
2642 * libc/sys/linux/dl/dl-lookupcfg.h: Ditto.
2643 * libc/sys/linux/dl/dl-minimal.c: Ditto.
2644 * libc/sys/linux/dl/dl-misc.c: Ditto.
2645 * libc/sys/linux/dl/dl-object.c: Ditto.
2646 * libc/sys/linux/dl/dl-open.c: Ditto.
2647 * libc/sys/linux/dl/dl-osinfo.h: Ditto.
2648 * libc/sys/linux/dl/dl-profile.c: Ditto.
2649 * libc/sys/linux/dl/dl-profstub.c: Ditto.
2650 * libc/sys/linux/dl/dl-reloc.c: Ditto.
2651 * libc/sys/linux/dl/dl-runtime.c: Ditto.
2652 * libc/sys/linux/dl/dl-support.c: Ditto.
2653 * libc/sys/linux/dl/dl-sym.c: Ditto.
2654 * libc/sys/linux/dl/dl-version.c: Ditto.
2655 * libc/sys/linux/dl/dlfcn.h: Ditto.
2656 * libc/sys/linux/dl/do-lookup.h: Ditto.
2657 * libc/sys/linux/dl/do-rel.h: Ditto.
2658 * libc/sys/linux/dl/dynamic-link.h: Ditto.
2659 * libc/sys/linux/dl/kernel-features.h: Ditto.
2660 * libc/sys/linux/dl/ldsodefs.h: Ditto.
2661 * libc/sys/linux/dl/libintl.h: Ditto.
2662 * libc/sys/linux/dl/trusted-dirs.h: Ditto.
2663 * libc/sys/linux/dl/unsecvars.h: Ditto.
2664 * libc/sys/linux/iconv/Makefile.am: Ditto.
2665 * libc/sys/linux/iconv/Makefile.in: Ditto.
2666 * libc/sys/linux/iconv/categories.def: Ditto.
2667 * libc/sys/linux/iconv/dummy-repertoire.c: Ditto.
2668 * libc/sys/linux/iconv/gconv.c: Ditto.
2669 * libc/sys/linux/iconv/gconv_builtin.c: Ditto.
2670 * libc/sys/linux/iconv/gconv_builtin.h: Ditto.
2671 * libc/sys/linux/iconv/gconv_cache.c: Ditto.
2672 * libc/sys/linux/iconv/gconv_charset.h: Ditto.
2673 * libc/sys/linux/iconv/gconv_close.c: Ditto.
2674 * libc/sys/linux/iconv/gconv_conf.c: Ditto.
2675 * libc/sys/linux/iconv/gconv_db.c: Ditto.
2676 * libc/sys/linux/iconv/gconv_dl.c: Ditto.
2677 * libc/sys/linux/iconv/gconv_int.h: Ditto.
2678 * libc/sys/linux/iconv/gconv_open.c: Ditto.
2679 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
2680 * libc/sys/linux/iconv/gconv_trans.c: Ditto.
2681 * libc/sys/linux/iconv/hash-string.h: Ditto.
2682 * libc/sys/linux/iconv/iconv.c: Ditto.
2683 * libc/sys/linux/iconv/iconv.h: Ditto.
2684 * libc/sys/linux/iconv/iconv_charmap.c: Ditto.
2685 * libc/sys/linux/iconv/iconv_close.c: Ditto.
2686 * libc/sys/linux/iconv/iconv_open.c: Ditto.
2687 * libc/sys/linux/iconv/iconvconfig.c: Ditto.
2688 * libc/sys/linux/iconv/iconvconfig.h: Ditto.
2689 * libc/sys/linux/iconv/loadinfo.h: Ditto.
2690 * libc/sys/linux/iconv/localeinfo.h: Ditto.
2691 * libc/sys/linux/iconv/loop.c: Ditto.
2692 * libc/sys/linux/iconv/skeleton.c: Ditto.
2693 * libc/sys/linux/iconv/strtab.c: Ditto.
2694 * libc/sys/linux/include/dl-hash.h: Ditto.
2695 * libc/sys/linux/include/dlfcn.h: Ditto.
2696 * libc/sys/linux/include/fnmatch.h: Ditto.
2697 * libc/sys/linux/include/gconv.h: Ditto.
2698 * libc/sys/linux/include/glob.h: Ditto.
2699 * libc/sys/linux/include/hesiod.h: Ditto.
2700 * libc/sys/linux/include/ifaddrs.h: Ditto.
2701 * libc/sys/linux/include/libc_private.h: Ditto.
2702 * libc/sys/linux/include/link.h: Ditto.
2703 * libc/sys/linux/include/namespace.h: Ditto.
2704 * libc/sys/linux/include/netconfig.h: Ditto.
2705 * libc/sys/linux/include/netdb.h: Ditto.
2706 * libc/sys/linux/include/nsswitch.h: Ditto.
2707 * libc/sys/linux/include/regex.h: Ditto.
2708 * libc/sys/linux/include/resolv.h: Ditto.
2709 * libc/sys/linux/include/rune.h: Ditto.
2710 * libc/sys/linux/include/runetype.h: Ditto.
2711 * libc/sys/linux/include/semaphore.h: Ditto.
2712 * libc/sys/linux/include/setlocale.h: Ditto.
2713 * libc/sys/linux/include/un-namespace.h: Ditto.
2714 * libc/sys/linux/include/wordexp.h: Ditto.
2715 * libc/sys/linux/include/arpa/ftp.h: Ditto.
2716 * libc/sys/linux/include/arpa/inet.h: Ditto.
2717 * libc/sys/linux/include/arpa/nameser.h: Ditto.
2718 * libc/sys/linux/include/arpa/nameser_compat.h: Ditto.
2719 * libc/sys/linux/include/arpa/telnet.h: Ditto.
2720 * libc/sys/linux/include/arpa/tftp.h: Ditto.
2721 * libc/sys/linux/include/net/bpf.h: Ditto.
2722 * libc/sys/linux/include/net/bpf_compat.h: Ditto.
2723 * libc/sys/linux/include/net/bpfdesc.h: Ditto.
2724 * libc/sys/linux/include/net/bridge.h: Ditto.
2725 * libc/sys/linux/include/net/ethernet.h: Ditto.
2726 * libc/sys/linux/include/net/fddi.h: Ditto.
2727 * libc/sys/linux/include/net/if.h: Ditto.
2728 * libc/sys/linux/include/net/if_arc.h: Ditto.
2729 * libc/sys/linux/include/net/if_arp.h: Ditto.
2730 * libc/sys/linux/include/net/if_atm.h: Ditto.
2731 * libc/sys/linux/include/net/if_dl.h: Ditto.
2732 * libc/sys/linux/include/net/if_gif.h: Ditto.
2733 * libc/sys/linux/include/net/if_ieee80211.h: Ditto.
2734 * libc/sys/linux/include/net/if_llc.h: Ditto.
2735 * libc/sys/linux/include/net/if_media.h: Ditto.
2736 * libc/sys/linux/include/net/if_mib.h: Ditto.
2737 * libc/sys/linux/include/net/if_ppp.h: Ditto.
2738 * libc/sys/linux/include/net/if_pppvar.h: Ditto.
2739 * libc/sys/linux/include/net/if_slvar.h: Ditto.
2740 * libc/sys/linux/include/net/if_sppp.h: Ditto.
2741 * libc/sys/linux/include/net/if_stf.h: Ditto.
2742 * libc/sys/linux/include/net/if_tap.h: Ditto.
2743 * libc/sys/linux/include/net/if_tapvar.h: Ditto.
2744 * libc/sys/linux/include/net/if_tun.h: Ditto.
2745 * libc/sys/linux/include/net/if_tunvar.h: Ditto.
2746 * libc/sys/linux/include/net/if_types.h: Ditto.
2747 * libc/sys/linux/include/net/if_var.h: Ditto.
2748 * libc/sys/linux/include/net/if_vlan_var.h: Ditto.
2749 * libc/sys/linux/include/net/intrq.h: Ditto.
2750 * libc/sys/linux/include/net/iso88025.h: Ditto.
2751 * libc/sys/linux/include/net/net_osdep.h: Ditto.
2752 * libc/sys/linux/include/net/netisr.h: Ditto.
2753 * libc/sys/linux/include/net/pfil.h: Ditto.
2754 * libc/sys/linux/include/net/pfkeyv2.h: Ditto.
2755 * libc/sys/linux/include/net/ppp_comp.h: Ditto.
2756 * libc/sys/linux/include/net/ppp_defs.h: Ditto.
2757 * libc/sys/linux/include/net/radix.h: Ditto.
2758 * libc/sys/linux/include/net/raw_cb.h: Ditto.
2759 * libc/sys/linux/include/net/route.h: Ditto.
2760 * libc/sys/linux/include/net/slcompress.h: Ditto.
2761 * libc/sys/linux/include/net/slip.h: Ditto.
2762 * libc/sys/linux/include/net/zlib.h: Ditto.
2763 * libc/sys/linux/include/netinet/icmp6.h: Ditto.
2764 * libc/sys/linux/include/netinet/icmp_var.h: Ditto.
2765 * libc/sys/linux/include/netinet/if_atm.h: Ditto.
2766 * libc/sys/linux/include/netinet/if_ether.h: Ditto.
2767 * libc/sys/linux/include/netinet/igmp.h: Ditto.
2768 * libc/sys/linux/include/netinet/igmp_var.h: Ditto.
2769 * libc/sys/linux/include/netinet/in.h: Ditto.
2770 * libc/sys/linux/include/netinet/in_gif.h: Ditto.
2771 * libc/sys/linux/include/netinet/in_pcb.h: Ditto.
2772 * libc/sys/linux/include/netinet/in_systm.h: Ditto.
2773 * libc/sys/linux/include/netinet/in_var.h: Ditto.
2774 * libc/sys/linux/include/netinet/ip.h: Ditto.
2775 * libc/sys/linux/include/netinet/ip6.h: Ditto.
2776 * libc/sys/linux/include/netinet/ip_dummynet.h: Ditto.
2777 * libc/sys/linux/include/netinet/ip_ecn.h: Ditto.
2778 * libc/sys/linux/include/netinet/ip_encap.h: Ditto.
2779 * libc/sys/linux/include/netinet/ip_flow.h: Ditto.
2780 * libc/sys/linux/include/netinet/ip_fw.h: Ditto.
2781 * libc/sys/linux/include/netinet/ip_icmp.h: Ditto.
2782 * libc/sys/linux/include/netinet/ip_mroute.h: Ditto.
2783 * libc/sys/linux/include/netinet/ip_var.h: Ditto.
2784 * libc/sys/linux/include/netinet/ipprotosw.h: Ditto.
2785 * libc/sys/linux/include/netinet/tcp.h: Ditto.
2786 * libc/sys/linux/include/netinet/tcp_debug.h: Ditto.
2787 * libc/sys/linux/include/netinet/tcp_fsm.h: Ditto.
2788 * libc/sys/linux/include/netinet/tcp_seq.h: Ditto.
2789 * libc/sys/linux/include/netinet/tcp_timer.h: Ditto.
2790 * libc/sys/linux/include/netinet/tcp_var.h: Ditto.
2791 * libc/sys/linux/include/netinet/tcpip.h: Ditto.
2792 * libc/sys/linux/include/netinet/udp.h: Ditto.
2793 * libc/sys/linux/include/netinet/udp_var.h: Ditto.
2794 * libc/sys/linux/include/netinet6/ah.h: Ditto.
2795 * libc/sys/linux/include/netinet6/ah6.h: Ditto.
2796 * libc/sys/linux/include/netinet6/esp.h: Ditto.
2797 * libc/sys/linux/include/netinet6/esp6.h: Ditto.
2798 * libc/sys/linux/include/netinet6/esp_rijndael.h: Ditto.
2799 * libc/sys/linux/include/netinet6/icmp6.h: Ditto.
2800 * libc/sys/linux/include/netinet6/in6.h: Ditto.
2801 * libc/sys/linux/include/netinet6/in6_gif.h: Ditto.
2802 * libc/sys/linux/include/netinet6/in6_ifattach.h: Ditto.
2803 * libc/sys/linux/include/netinet6/in6_pcb.h: Ditto.
2804 * libc/sys/linux/include/netinet6/in6_prefix.h: Ditto.
2805 * libc/sys/linux/include/netinet6/in6_var.h: Ditto.
2806 * libc/sys/linux/include/netinet6/ip6.h: Ditto.
2807 * libc/sys/linux/include/netinet6/ip6_ecn.h: Ditto.
2808 * libc/sys/linux/include/netinet6/ip6_fw.h: Ditto.
2809 * libc/sys/linux/include/netinet6/ip6_mroute.h: Ditto.
2810 * libc/sys/linux/include/netinet6/ip6_var.h: Ditto.
2811 * libc/sys/linux/include/netinet6/ip6protosw.h: Ditto.
2812 * libc/sys/linux/include/netinet6/ipcomp.h: Ditto.
2813 * libc/sys/linux/include/netinet6/ipcomp6.h: Ditto.
2814 * libc/sys/linux/include/netinet6/ipsec.h: Ditto.
2815 * libc/sys/linux/include/netinet6/ipsec6.h: Ditto.
2816 * libc/sys/linux/include/netinet6/mld6_var.h: Ditto.
2817 * libc/sys/linux/include/netinet6/nd6.h: Ditto.
2818 * libc/sys/linux/include/netinet6/pim6.h: Ditto.
2819 * libc/sys/linux/include/netinet6/pim6_var.h: Ditto.
2820 * libc/sys/linux/include/netinet6/raw_ip6.h: Ditto.
2821 * libc/sys/linux/include/netinet6/scope6_var.h: Ditto.
2822 * libc/sys/linux/include/netinet6/tcp6_var.h: Ditto.
2823 * libc/sys/linux/include/netinet6/udp6_var.h: Ditto.
2824 * libc/sys/linux/include/netns/idp.h: Ditto.
2825 * libc/sys/linux/include/netns/idp_var.h: Ditto.
2826 * libc/sys/linux/include/netns/ns.h: Ditto.
2827 * libc/sys/linux/include/netns/ns_error.h: Ditto.
2828 * libc/sys/linux/include/netns/ns_if.h: Ditto.
2829 * libc/sys/linux/include/netns/ns_pcb.h: Ditto.
2830 * libc/sys/linux/include/netns/sp.h: Ditto.
2831 * libc/sys/linux/include/netns/spidp.h: Ditto.
2832 * libc/sys/linux/include/netns/spp_debug.h: Ditto.
2833 * libc/sys/linux/include/netns/spp_timer.h: Ditto.
2834 * libc/sys/linux/include/netns/spp_var.h: Ditto.
2835 * libc/sys/linux/include/rpc/Makefile: Ditto.
2836 * libc/sys/linux/include/rpc/auth.h: Ditto.
2837 * libc/sys/linux/include/rpc/auth_des.h: Ditto.
2838 * libc/sys/linux/include/rpc/auth_kerb.h: Ditto.
2839 * libc/sys/linux/include/rpc/auth_unix.h: Ditto.
2840 * libc/sys/linux/include/rpc/clnt.h: Ditto.
2841 * libc/sys/linux/include/rpc/clnt_soc.h: Ditto.
2842 * libc/sys/linux/include/rpc/clnt_stat.h: Ditto.
2843 * libc/sys/linux/include/rpc/des.h: Ditto.
2844 * libc/sys/linux/include/rpc/des_crypt.h: Ditto.
2845 * libc/sys/linux/include/rpc/nettype.h: Ditto.
2846 * libc/sys/linux/include/rpc/pmap_clnt.h: Ditto.
2847 * libc/sys/linux/include/rpc/pmap_prot.h: Ditto.
2848 * libc/sys/linux/include/rpc/pmap_rmt.h: Ditto.
2849 * libc/sys/linux/include/rpc/raw.h: Ditto.
2850 * libc/sys/linux/include/rpc/rpc.h: Ditto.
2851 * libc/sys/linux/include/rpc/rpc_com.h: Ditto.
2852 * libc/sys/linux/include/rpc/rpc_msg.h: Ditto.
2853 * libc/sys/linux/include/rpc/rpcb_clnt.h: Ditto.
2854 * libc/sys/linux/include/rpc/rpcb_prot.h: Ditto.
2855 * libc/sys/linux/include/rpc/rpcb_prot.x: Ditto.
2856 * libc/sys/linux/include/rpc/rpcent.h: Ditto.
2857 * libc/sys/linux/include/rpc/svc.h: Ditto.
2858 * libc/sys/linux/include/rpc/svc_auth.h: Ditto.
2859 * libc/sys/linux/include/rpc/svc_dg.h: Ditto.
2860 * libc/sys/linux/include/rpc/svc_soc.h: Ditto.
2861 * libc/sys/linux/include/rpc/types.h: Ditto.
2862 * libc/sys/linux/include/rpc/xdr.h: Ditto.
2863 * libc/sys/linux/intl/Makefile.am: Ditto.
2864 * libc/sys/linux/intl/Makefile.in: Ditto.
2865 * libc/sys/linux/intl/bindtextdom.c: Ditto.
2866 * libc/sys/linux/intl/catgets.c: Ditto.
2867 * libc/sys/linux/intl/catgetsinfo.h: Ditto.
2868 * libc/sys/linux/intl/config.h: Ditto.
2869 * libc/sys/linux/intl/dcgettext.c: Ditto.
2870 * libc/sys/linux/intl/dcigettext.c: Ditto.
2871 * libc/sys/linux/intl/dcngettext.c: Ditto.
2872 * libc/sys/linux/intl/dgettext.c: Ditto.
2873 * libc/sys/linux/intl/dngettext.c: Ditto.
2874 * libc/sys/linux/intl/explodename.c: Ditto.
2875 * libc/sys/linux/intl/finddomain.c: Ditto.
2876 * libc/sys/linux/intl/gettext.c: Ditto.
2877 * libc/sys/linux/intl/gettext.h: Ditto.
2878 * libc/sys/linux/intl/gettextP.h: Ditto.
2879 * libc/sys/linux/intl/hash-string.h: Ditto.
2880 * libc/sys/linux/intl/l10nflist.c: Ditto.
2881 * libc/sys/linux/intl/loadinfo.h: Ditto.
2882 * libc/sys/linux/intl/loadmsgcat.c: Ditto.
2883 * libc/sys/linux/intl/locale.alias: Ditto.
2884 * libc/sys/linux/intl/localealias.c: Ditto.
2885 * libc/sys/linux/intl/ngettext.c: Ditto.
2886 * libc/sys/linux/intl/open_catalog.c: Ditto.
2887 * libc/sys/linux/intl/plural.c: Ditto.
2888 * libc/sys/linux/intl/plural.y: Ditto.
2889 * libc/sys/linux/intl/stpcpy.c: Ditto.
2890 * libc/sys/linux/intl/textdomain.c: Ditto.
2891 * libc/sys/linux/linuxthreads/LICENSE: Ditto.
2892 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
2893 * libc/sys/linux/linuxthreads/Makefile.in: Ditto.
2894 * libc/sys/linux/linuxthreads/aclocal.m4: Ditto.
2895 * libc/sys/linux/linuxthreads/attr.c: Ditto.
2896 * libc/sys/linux/linuxthreads/barrier.c: Ditto.
2897 * libc/sys/linux/linuxthreads/bp-sym.h: Ditto.
2898 * libc/sys/linux/linuxthreads/cancel.c: Ditto.
2899 * libc/sys/linux/linuxthreads/condvar.c: Ditto.
2900 * libc/sys/linux/linuxthreads/config.h: Ditto.
2901 * libc/sys/linux/linuxthreads/configure: Ditto.
2902 * libc/sys/linux/linuxthreads/configure.in: Ditto.
2903 * libc/sys/linux/linuxthreads/defs.awk: Ditto.
2904 * libc/sys/linux/linuxthreads/ecmutex.c: Ditto.
2905 * libc/sys/linux/linuxthreads/events.c: Ditto.
2906 * libc/sys/linux/linuxthreads/getcpuclockid.c: Ditto.
2907 * libc/sys/linux/linuxthreads/getreent.c: Ditto.
2908 * libc/sys/linux/linuxthreads/internals.h: Ditto.
2909 * libc/sys/linux/linuxthreads/join.c: Ditto.
2910 * libc/sys/linux/linuxthreads/joinrace.c: Ditto.
2911 * libc/sys/linux/linuxthreads/kernel-features.h: Ditto.
2912 * libc/sys/linux/linuxthreads/libc-internal.h: Ditto.
2913 * libc/sys/linux/linuxthreads/libc-symbols.h: Ditto.
2914 * libc/sys/linux/linuxthreads/linuxthreads.texi: Ditto.
2915 * libc/sys/linux/linuxthreads/lockfile.c: Ditto.
2916 * libc/sys/linux/linuxthreads/manager.c: Ditto.
2917 * libc/sys/linux/linuxthreads/mq_notify.c: Ditto.
2918 * libc/sys/linux/linuxthreads/mutex.c: Ditto.
2919 * libc/sys/linux/linuxthreads/no-tsd.c: Ditto.
2920 * libc/sys/linux/linuxthreads/oldsemaphore.c: Ditto.
2921 * libc/sys/linux/linuxthreads/posix-timer.h: Ditto.
2922 * libc/sys/linux/linuxthreads/prio.c: Ditto.
2923 * libc/sys/linux/linuxthreads/proc_service.h: Ditto.
2924 * libc/sys/linux/linuxthreads/pt-machine.c: Ditto.
2925 * libc/sys/linux/linuxthreads/ptclock_gettime.c: Ditto.
2926 * libc/sys/linux/linuxthreads/ptclock_settime.c: Ditto.
2927 * libc/sys/linux/linuxthreads/ptfork.c: Ditto.
2928 * libc/sys/linux/linuxthreads/pthread.c: Ditto.
2929 * libc/sys/linux/linuxthreads/ptlongjmp.c: Ditto.
2930 * libc/sys/linux/linuxthreads/queue.h: Ditto.
2931 * libc/sys/linux/linuxthreads/reent.c: Ditto.
2932 * libc/sys/linux/linuxthreads/reqsyscalls.c: Ditto.
2933 * libc/sys/linux/linuxthreads/restart.h: Ditto.
2934 * libc/sys/linux/linuxthreads/rwlock.c: Ditto.
2935 * libc/sys/linux/linuxthreads/semaphore.c: Ditto.
2936 * libc/sys/linux/linuxthreads/semaphore.h: Ditto.
2937 * libc/sys/linux/linuxthreads/shlib-compat.h: Ditto.
2938 * libc/sys/linux/linuxthreads/signals.c: Ditto.
2939 * libc/sys/linux/linuxthreads/specific.c: Ditto.
2940 * libc/sys/linux/linuxthreads/spinlock.c: Ditto.
2941 * libc/sys/linux/linuxthreads/spinlock.h: Ditto.
2942 * libc/sys/linux/linuxthreads/sysctl.c: Ditto.
2943 * libc/sys/linux/linuxthreads/td_init.c: Ditto.
2944 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
2945 * libc/sys/linux/linuxthreads/td_symbol_list.c: Ditto.
2946 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
2947 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
2948 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
2949 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
2950 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
2951 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
2952 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
2953 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
2954 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
2955 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
2956 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
2957 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
2958 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
2959 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
2960 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
2961 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
2962 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
2963 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
2964 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
2965 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
2966 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
2967 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
2968 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
2969 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
2970 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
2971 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
2972 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
2973 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
2974 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
2975 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
2976 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
2977 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
2978 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
2979 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
2980 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
2981 * libc/sys/linux/linuxthreads/testrtsig.h: Ditto.
2982 * libc/sys/linux/linuxthreads/thread_db.h: Ditto.
2983 * libc/sys/linux/linuxthreads/thread_dbP.h: Ditto.
2984 * libc/sys/linux/linuxthreads/timer_create.c: Ditto.
2985 * libc/sys/linux/linuxthreads/timer_delete.c: Ditto.
2986 * libc/sys/linux/linuxthreads/timer_getoverr.c: Ditto.
2987 * libc/sys/linux/linuxthreads/timer_gettime.c: Ditto.
2988 * libc/sys/linux/linuxthreads/timer_routines.c: Ditto.
2989 * libc/sys/linux/linuxthreads/timer_settime.c: Ditto.
2990 * libc/sys/linux/linuxthreads/tst-cancel.c: Ditto.
2991 * libc/sys/linux/linuxthreads/tst-context.c: Ditto.
2992 * libc/sys/linux/linuxthreads/tststack.c: Ditto.
2993 * libc/sys/linux/linuxthreads/unload.c: Ditto.
2994 * libc/sys/linux/linuxthreads/weaks.c: Ditto.
2995 * libc/sys/linux/linuxthreads/wrapsyscall.c: Ditto.
2996 * libc/sys/linux/linuxthreads/bits/initspin.h: Ditto.
2997 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Ditto.
2998 * libc/sys/linux/linuxthreads/bits/libc-tsd.h: Ditto.
2999 * libc/sys/linux/linuxthreads/bits/local_lim.h: Ditto.
3000 * libc/sys/linux/linuxthreads/bits/posix_opt.h: Ditto.
3001 * libc/sys/linux/linuxthreads/bits/pthreadtypes.h: Ditto.
3002 * libc/sys/linux/linuxthreads/bits/sigthread.h: Ditto.
3003 * libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
3004 * libc/sys/linux/linuxthreads/machine/Makefile.in: Ditto.
3005 * libc/sys/linux/linuxthreads/machine/aclocal.m4: Ditto.
3006 * libc/sys/linux/linuxthreads/machine/configure: Ditto.
3007 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
3008 * libc/sys/linux/linuxthreads/machine/generic/generic-sysd: Ditto.ep.h
3009 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
3010 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Ditto.
3011 * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Ditto.
3012 * libc/sys/linux/linuxthreads/machine/i386/bp-asm.h: Ditto.
3013 * libc/sys/linux/linuxthreads/machine/i386/clone.S: Ditto.
3014 * libc/sys/linux/linuxthreads/machine/i386/configure: Ditto.
3015 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
3016 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.S: Ditto.
3017 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.h: Ditto.
3018 * libc/sys/linux/linuxthreads/machine/i386/pspinlock.c: Ditto.
3019 * libc/sys/linux/linuxthreads/machine/i386/pt-machine.h: Ditto.
3020 * libc/sys/linux/linuxthreads/machine/i386/sigcontextinfo.h: Ditto.
3021 * libc/sys/linux/linuxthreads/machine/i386/stackinfo.h: Ditto.
3022 * libc/sys/linux/linuxthreads/machine/i386/sysdep.S: Ditto.
3023 * libc/sys/linux/linuxthreads/machine/i386/sysdep.h: Ditto.
3024 * libc/sys/linux/linuxthreads/machine/i386/useldt.h: Ditto.
3025 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
3026 * libc/sys/linux/net/Makefile.am: Ditto.
3027 * libc/sys/linux/net/Makefile.in: Ditto.
3028 * libc/sys/linux/net/addr2ascii.3: Ditto.
3029 * libc/sys/linux/net/addr2ascii.c: Ditto.
3030 * libc/sys/linux/net/ascii2addr.c: Ditto.
3031 * libc/sys/linux/net/base64.c: Ditto.
3032 * libc/sys/linux/net/bindresvport.c: Ditto.
3033 * libc/sys/linux/net/byteorder.3: Ditto.
3034 * libc/sys/linux/net/ether_addr.c: Ditto.
3035 * libc/sys/linux/net/ethers.3: Ditto.
3036 * libc/sys/linux/net/getaddrinfo.3: Ditto.
3037 * libc/sys/linux/net/getaddrinfo.c: Ditto.
3038 * libc/sys/linux/net/gethostbydns.c: Ditto.
3039 * libc/sys/linux/net/gethostbyht.c: Ditto.
3040 * libc/sys/linux/net/gethostbyname.3: Ditto.
3041 * libc/sys/linux/net/gethostbynis.c: Ditto.
3042 * libc/sys/linux/net/gethostnamadr.c: Ditto.
3043 * libc/sys/linux/net/getifaddrs.3: Ditto.
3044 * libc/sys/linux/net/getifaddrs.c: Ditto.
3045 * libc/sys/linux/net/getipnodebyname.3: Ditto.
3046 * libc/sys/linux/net/getnameinfo.3: Ditto.
3047 * libc/sys/linux/net/getnameinfo.c: Ditto.
3048 * libc/sys/linux/net/getnetbydns.c: Ditto.
3049 * libc/sys/linux/net/getnetbyht.c: Ditto.
3050 * libc/sys/linux/net/getnetbynis.c: Ditto.
3051 * libc/sys/linux/net/getnetent.3: Ditto.
3052 * libc/sys/linux/net/getnetnamadr.c: Ditto.
3053 * libc/sys/linux/net/getproto.c: Ditto.
3054 * libc/sys/linux/net/getprotoent.3: Ditto.
3055 * libc/sys/linux/net/getprotoent.c: Ditto.
3056 * libc/sys/linux/net/getprotoname.c: Ditto.
3057 * libc/sys/linux/net/getservbyname.c: Ditto.
3058 * libc/sys/linux/net/getservbyport.c: Ditto.
3059 * libc/sys/linux/net/getservent.3: Ditto.
3060 * libc/sys/linux/net/getservent.c: Ditto.
3061 * libc/sys/linux/net/herror.c: Ditto.
3062 * libc/sys/linux/net/hesiod.3: Ditto.
3063 * libc/sys/linux/net/hesiod.c: Ditto.
3064 * libc/sys/linux/net/if_indextoname.3: Ditto.
3065 * libc/sys/linux/net/ifname.c: Ditto.
3066 * libc/sys/linux/net/inet.3: Ditto.
3067 * libc/sys/linux/net/inet6_option_s: Ditto.pace.3
3068 * libc/sys/linux/net/inet6_rthdr_space.3: Ditto.
3069 * libc/sys/linux/net/inet_addr.c: Ditto.
3070 * libc/sys/linux/net/inet_lnaof.c: Ditto.
3071 * libc/sys/linux/net/inet_makeaddr.c: Ditto.
3072 * libc/sys/linux/net/inet_net.3: Ditto.
3073 * libc/sys/linux/net/inet_net_ntop.c: Ditto.
3074 * libc/sys/linux/net/inet_net_pton.c: Ditto.
3075 * libc/sys/linux/net/inet_neta.c: Ditto.
3076 * libc/sys/linux/net/inet_netof.c: Ditto.
3077 * libc/sys/linux/net/inet_network.c: Ditto.
3078 * libc/sys/linux/net/inet_ntoa.c: Ditto.
3079 * libc/sys/linux/net/inet_ntop.c: Ditto.
3080 * libc/sys/linux/net/inet_pton.c: Ditto.
3081 * libc/sys/linux/net/innetgr-stub.c: Ditto.
3082 * libc/sys/linux/net/ip6opt.c: Ditto.
3083 * libc/sys/linux/net/iso_addr.3: Ditto.
3084 * libc/sys/linux/net/iso_addr.c: Ditto.
3085 * libc/sys/linux/net/issetugid-stub.c: Ditto.
3086 * libc/sys/linux/net/linkaddr.3: Ditto.
3087 * libc/sys/linux/net/linkaddr.c: Ditto.
3088 * libc/sys/linux/net/map_v4v6.c: Ditto.
3089 * libc/sys/linux/net/name6.c: Ditto.
3090 * libc/sys/linux/net/namespace.h: Ditto.
3091 * libc/sys/linux/net/ns.3: Ditto.
3092 * libc/sys/linux/net/ns_addr.c: Ditto.
3093 * libc/sys/linux/net/ns_name.c: Ditto.
3094 * libc/sys/linux/net/ns_netint.c: Ditto.
3095 * libc/sys/linux/net/ns_ntoa.c: Ditto.
3096 * libc/sys/linux/net/ns_parse.c: Ditto.
3097 * libc/sys/linux/net/ns_print.c: Ditto.
3098 * libc/sys/linux/net/ns_ttl.c: Ditto.
3099 * libc/sys/linux/net/nsap_addr.c: Ditto.
3100 * libc/sys/linux/net/nsdispatch.3: Ditto.
3101 * libc/sys/linux/net/nsdispatch.c: Ditto.
3102 * libc/sys/linux/net/nslexer.c: Ditto.
3103 * libc/sys/linux/net/nslexer.l: Ditto.
3104 * libc/sys/linux/net/nsparser.c: Ditto.
3105 * libc/sys/linux/net/nsparser.h: Ditto.
3106 * libc/sys/linux/net/nsparser.y: Ditto.
3107 * libc/sys/linux/net/rcmd.3: Ditto.
3108 * libc/sys/linux/net/rcmd.c: Ditto.
3109 * libc/sys/linux/net/rcmdsh.3: Ditto.
3110 * libc/sys/linux/net/rcmdsh.c: Ditto.
3111 * libc/sys/linux/net/recv.c: Ditto.
3112 * libc/sys/linux/net/res_comp.c: Ditto.
3113 * libc/sys/linux/net/res_config.h: Ditto.
3114 * libc/sys/linux/net/res_data.c: Ditto.
3115 * libc/sys/linux/net/res_debug.c: Ditto.
3116 * libc/sys/linux/net/res_init.c: Ditto.
3117 * libc/sys/linux/net/res_mkquery.c: Ditto.
3118 * libc/sys/linux/net/res_mkupdate.c: Ditto.
3119 * libc/sys/linux/net/res_query.c: Ditto.
3120 * libc/sys/linux/net/res_send.c: Ditto.
3121 * libc/sys/linux/net/res_update.c: Ditto.
3122 * libc/sys/linux/net/resolver.3: Ditto.
3123 * libc/sys/linux/net/rthdr.c: Ditto.
3124 * libc/sys/linux/net/send.c: Ditto.
3125 * libc/sys/linux/net/un-namespace.h: Ditto.
3126 * libc/sys/linux/net/vars.c: Ditto.
3127 * libc/sys/linux/stdlib/COPYRIGHT: Ditto.
3128 * libc/sys/linux/stdlib/Makefile.am: Ditto.
3129 * libc/sys/linux/stdlib/Makefile.in: Ditto.
3130 * libc/sys/linux/stdlib/cclass.h: Ditto.
3131 * libc/sys/linux/stdlib/cname.h: Ditto.
3132 * libc/sys/linux/stdlib/collate.c: Ditto.
3133 * libc/sys/linux/stdlib/collate.h: Ditto.
3134 * libc/sys/linux/stdlib/collcmp.c: Ditto.
3135 * libc/sys/linux/stdlib/engine.c: Ditto.
3136 * libc/sys/linux/stdlib/fnmatch.3: Ditto.
3137 * libc/sys/linux/stdlib/fnmatch.c: Ditto.
3138 * libc/sys/linux/stdlib/glob.3: Ditto.
3139 * libc/sys/linux/stdlib/glob.c: Ditto.
3140 * libc/sys/linux/stdlib/reallocf.c: Ditto.
3141 * libc/sys/linux/stdlib/regcomp.c: Ditto.
3142 * libc/sys/linux/stdlib/regerror.c: Ditto.
3143 * libc/sys/linux/stdlib/regex.3: Ditto.
3144 * libc/sys/linux/stdlib/regex2.h: Ditto.
3145 * libc/sys/linux/stdlib/regexec.c: Ditto.
3146 * libc/sys/linux/stdlib/regfree.c: Ditto.
3147 * libc/sys/linux/stdlib/utils.h: Ditto.
3148 * libc/sys/linux/stdlib/wordexp.c: Ditto.
3149 * libc/sys/linux/stdlib/wordfree.c: Ditto.
3150 * libc/sys/linux/sys/dlfcn.h: Ditto.
3151 * libc/sys/linux/sys/elfclass.h: Ditto.
3152 * libc/sys/linux/sys/event.h: Ditto.
3153 * libc/sys/linux/sys/ioccom.h: Ditto.
3154 * libc/sys/linux/sys/libc-tsd.h: Ditto.
3155 * libc/sys/linux/sys/link.h: Ditto.
3156 * libc/sys/linux/sys/lock.h: Ditto.
3157 * libc/sys/linux/sys/param.h: Ditto.
3158 * libc/sys/linux/sys/socket.h: Ditto.
3159 * libc/sys/linux/sys/sockio.h: Ditto.
3160
82095e79
JJ
31612003-05-28 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
3162
3163 * newlib/libc/machine/h8300/memcpy.S: Use .h8300hn and .h8300sn for
3164 normal mode
3165 * newlib/libc/machine/h8300/memset.S: Likewise
3166 * newlib/lib/machine/h8300/reg_memcpy.S: Likewise
3167 * newlib/lib/machine/h8300/reg_memset.S: Likewise
3168 * newlib/lib/machine/h8300/setjmp.S: Likewise
3169 * newlib/lib/machine/h8300/strcmp.S: Likewise
3170 * newlib/lib/sys/h8300hms/crt0.S: Likewise
3171
8a4b4764
CV
31722003-05-13 Corinna Vinschen <corinna@vinschen.de>
3173
3174 * libc/ctype/ctype_.c: Remove checks for deprecated __CYGWIN32__.
3175 * libc/include/stdio.h: Ditto.
3176 * libc/include/sys/config.h: Ditto.
3177 * libc/stdio/mktemp.c: Ditto.
3178
837e070f
CV
31792003-05-13 Corinna Vinschen <corinna@vinschen.de>
3180
3181 * libc/locale/ldpart.c (__part_load_locale): Substitute
3182 __CYGWIN_USE_BIG_TYPES__ by __USE_INTERNAL_STAT64.
3183 * libc/search/hash.c (__hash_open): Ditto.
3184 (init_hash): Ditto.
3185 * libc/stdio/fseek.c (fseek): Ditto.
3186 * libc/stdio/makebuf.c (__smakebuf): Ditto.
3187 * libc/stdio/mktemp.c (_gettemp): Ditto.
3188
b47fcdf0
CV
31892003-05-12 Corinna Vinschen <corinna@vinschen.de>
3190
3191 * libc/include/stdio.h: Change one __CYGWIN__ to __CYGWIN32__.
3192
11e3a520
CV
31932003-05-12 Corinna Vinschen <corinna@vinschen.de>
3194
3195 * configure.host: Accomodate removing the libc/sys/cygwin dir.
3196 * libc/locale/ldpart.c (__part_load_locale): Use 64 bit stat call
3197 if __CYGWIN_USE_BIG_TYPES__ is set.
3198 * libc/search/hash.c (__hash_open): Ditto.
3199 (init_hash): Ditto.
3200 * libc/stdio/fseek.c (fseek): Ditto.
3201 * libc/stdio/makebuf.c (__smakebuf): Ditto.
3202 * libc/stdio/mktemp.c (_gettemp): Ditto.
3203 * libc/sys/cygwin/Makefile.am: Remove.
3204 * libc/sys/cygwin/Makefile.in: Remove.
3205 * libc/sys/cygwin/aclocal.m4: Remove.
3206 * libc/sys/cygwin/configure: Remove.
3207 * libc/sys/cygwin/configure.in: Remove.
3208 * libc/sys/cygwin/crt0.c: Move to winsup/cygwin directory.
3209 * libc/sys/cygwin/sys/dirent.h: Move to winsup/cygwin/include/sys
3210 directory.
3211 * libc/sys/cygwin/sys/param.h: Ditto.
3212 * libc/sys/cygwin/sys/utime.h: Ditto.
3213 * libc/sys/cygwin/sys/utmp.h: Ditto.
3214
d1b5e65b
CV
32152003-05-11 Corinna Vinschen <corinna@vinschen.de>
3216
3217 * libc/include/sys/types.h: Don't define key_t for Cygwin.
3218
ec48a953
CF
32192003-05-10 Christopher Faylor <cgf@redhat.com>
3220
3221 * libc/sys/cygwin/sys/dirent.h (struct dirent): Accommodate (slightly)
3222 64 bit inodes.
3223
a3cc5851
CV
32242003-05-09 Corinna Vinschen <corinna@vinschen.de>
3225
3226 * libc/include/sys/config.h: Remove all Cygwin specific configuration.
3227 Include cygwin/config.h instead.
3228
57ff95d3
JJ
32292003-04-16 Jeff Johnston <jjohnstn@redhat.com>
3230
3231 * newlib/libc/machine/powerpc (ato*fix*.c,strto*fix*.c): Shield
3232 all code with #ifdef __SPE__ test.
3233 * newlib/libc/machine/powerpc (simdldtoa.c, ufix64toa.c): Ditto.
3234
cfd2c7be
CF
32352003-04-15 Chris January <chris@atomice.net>
3236
3237 * newlib/libc/include/sys/unistd.h: add declaration for gethostid on
3238 Cygwin.
3239
6f48c0ae
JR
32402003-04-09 J"orn Rennecke <joern.rennecke@superh.com>
3241
3242 * libc/machine/sh/memset.S: Avoid clobbering volatile
3243 objects following a tiny to-be-set array in the same quadword.
3244
8f8d09c0
CV
32452001-04-09 Corinna Vinschen <corinna@vinschen.de>
3246
3247 * libc/include/wchar.h: Add definitions for wcswidth and wcwidth.
3248 * libc/string/Makefile.am: Add wcswidth.c and wcwidth.c
3249 * libc/string/Makefile.in: Regenerated.
3250 * libc/string/wcswidth.c: New file.
3251 * libc/string/wcwidth.c: New file.
3252 * libc/string/wcstrings.tex: Add wcswidth and wcwidth.
3253
40c3b2d0
JR
3254Thu Apr 3 14:01:16 2003 J"orn Rennecke <joern.rennecke@superh.com>
3255
3256 * libc/machine/sh/memset.S: Fix problem with alloco region
3257 exceeding destination region for length >= 88 bytes, start
3258 & 0x16 == 0, end & 0x1f == 18.
3259
8ae6a3dd
CV
32602001-04-03 Corinna Vinschen <corinna@vinschen.de>
3261
3262 * libc/string/wcscoll.c: Fix comment.
3263
d122b1cc
CV
32642001-04-02 Corinna Vinschen <corinna@vinschen.de>
3265
3266 * libc/include/wchar.h: Add definition for wcscoll.
3267 * libc/string/Makefile.am: Add wcscoll.c.
3268 * libc/string/Makefile.in: Regenerated.
3269 * libc/string/wcscoll.c: New file.
3270 * libc/string/wcstrings.tex: Add wcscoll.
3271
31ee99a4
CV
32722003-04-01 Corinna Vinschen <corinna@vinschen.de>
3273
3274 * libc/stdio/sscanf.c: Update flags description.
3275 * libc/stdio/vfscanf.c: Add CHAR flag value to denote 8 bit target
3276 type.
3277 (__svfscanf_r): Add 'hh' and 'll' handling.
3278
d78045ee
CV
32792003-04-01 Corinna Vinschen <corinna@vinschen.de>
3280
3281 * libc/sys/cygwin/sys/dirent.h (struct DIR): Change type of
3282 __d_position member to _off_t.
3283
e6bdc6c5
JJ
32842003-03-20 Jeff Johnston <jjohnstn@redhat.com>
3285
3286 * libc/stdio/vfscanf.c (__svfscanf_r): For floating point conversion,
3287 count all characters used to create number against maximum width.
3288 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
3289
e65d559e
JJ
32902003-03-18 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
3291
3292 * libc/include/sys/h8300hms/crt0.S[__SIMULATOR__]: Add commandline
3293 support.
3294 * configure.host (h8300*-*-*): Added comment regarding -D__SIMULATOR__
3295 flag to support simulator only extensions.
3296
6b3bb52b
JJ
32972003-03-17 Bob Cassels <bcassels@abinitio.com>
3298
3299 * libc/string/wcschr.c: (wcschr): Look for character first,
3300 then for end of string, so you can do wcschr(x, '\0').
3301
2a940c1a
CV
33022003-03-10 Corinna Vinschen <corinna@vinschen.de>
3303
3304 * libc/include/stdio.h: Declare fgetpos, fsetpos, fseeko and ftello
3305 with internal (_fpos_t and _off_t) datatypes when compiling newlib.
3306 * libc/include/sys/unistd.h: Declare _lseek using _off_t.
3307 * libc/reent/lseekr.c (_lseek_r): Use _off_t instead of off_t.
3308 * libc/stdio/fseeko.c (fseeko): Ditto.
3309 * libc/stdio/ftello.c (ftello): Ditto.
3310 * libc/stdio/stdio.c (__swrite): Ditto.
3311 (__sseek): Ditto.
3312 * libc/stdio/fgetpos.c (fgetpos): Use _fpos_t instead of fpos_t.
3313 * libc/stdio/fseek.c (fseek): Ditto.
3314 * libc/stdio/fsetpos.c (fsetpos): Ditto.
3315 * libc/stdio/ftell.c (ftell): Ditto.
3316 * libc/stdio/local.h: Declare __sseek using _off_t.
3317
150c2818
CV
33182003-03-09 Corinna Vinschen <corinna@vinschen.de>
3319
3320 * libc/reent/lseekr.c (lseek_r): Use _off_t instead of off_t.
3321
2c440f9c
CV
33222003-03-09 Corinna Vinschen <corinna@vinschen.de>
3323
3324 * libc/include/sys/config.h: Define __CYGWIN_USE_BIG_TYPES__ for
3325 Cygwin.
3326
f882fd15
CV
33272003-03-09 Corinna Vinschen <corinna@vinschen.de>
3328
3329 * libc/include/pwd.h: Add guards to avoid type clashes when compiling
3330 Cygwin.
3331 * libc/include/sys/stat.h: Ditto.
3332 * libc/include/sys/unistd.h: Ditto.
3333 * libc/sys/cygwin/sys/dirent.h: Ditto.
3334
01d61543
CF
33352003-03-07 Christopher Faylor <cgf@redhat.com>
3336
3337 * libc/include/sys/unistd.h: Guard getopt.h call to force only
3338 declaration of getopt and avoid getopt_long declaration.
3339 * libc/sys/cygwin/include/unistd.h: Remove.
3340
5582abd2
CV
33412003-03-07 Corinna Vinschen <corinna@vinschen.de>
3342
3343 * configure.host: Define stdio64_dir for Cygwin.
3344 * libc/include/stdio.h: Change definition of fpos_t to fulfill
3345 Cygwin 64bit file access requirements.
3346 Drop definition of f*64() functions when compiled for Cygwin.
3347 * libc/include/sys/config.h: Define __LARGE64_FILES for Cygwin.
3348 * libc/reent/lseek64r.c: Use _off64_t instead of off64_t.
3349 * libc/stdio64/local64.h: Use _fpos64_t instead of fpos64_t.
3350
641da1eb
JJ
33512003-03-07 Jeff Johnston <jjohnstn@redhat.com>
3352
3353 * libc/include/sys/reent.h: Remove extraneous _sig_func
3354 declaration.
3355
33562003-02-25 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
41a639de
JJ
3357
3358 * libc/sys/h8300hms/Makefile.am: Add support for new files.
3359 * libc/sys/h8300hms/Makefile.in: Regenerated.
3360 * libc/sys/h8300hms/close.S: New file.
3361 * libc/sys/h8300hms/fstat.S: Ditto.
3362 * libc/sys/h8300hms/lseek.S: Ditto.
3363 * libc/sys/h8300hms/open.S: Ditto.
3364 * libc/sys/h8300hms/stat.S: Ditto.
3365 * libc/sys/h8300hms/read.S: New file to replace read.c.
3366 * libc/sys/h8300hms/read.c: Removed.
3367 * libc/sys/h8300hms/syscalls.c: Removed functions _open,
3368 _lseek, _close, _stat, _fstat.
3369 * libc/sys/h8300hms/write.S: New file to replace write.c.
3370 * libc/sys/h8300hms/write.c: Removed.
3371
bac50d6b
NC
33722003-02-20 Nick Clifton <nickc@redhat.com>
3373
3374 * Add support for Cirrus Maverick ARM co-processor:
3375
3376 2000-09-13 Aldy Hernandez <aldyh@redhat.com>
3377
3378 * libc/include/machine/ieeefp.h: Set IEEE_BIG_ENDIAN or
3379 IEEE_LITTLE_ENDIAN depending on endian mode (cirrus).
3380
3381 2000-08-11 Aldy Hernandez <aldyh@redhat.com>
3382
3383 * configure.host: set sys_dir, syscall_dir, and
3384 newlib_cflags for ep9312 host.
3385
3386 * configure.host: Restore alpha sorting of entries in case
3387 statements.
3388
12ee7037
JJ
33892003-02-19 Jeff Johnston <jjohnstn@redhat.com>
3390
3391 * libc/stdlib/mallocr.c (unlink): Revert 02/18 fix.
3392
1e810ba0
JJ
33932003-02-18 Christian Groessler <chris@groessler.org>
3394
3395 * libc/machine/z8k/setjmp.S (_setjmp / _longjmp): Fix to
3396 support z8001 segmented mode.
3397
b1ca765e
JJ
33982003-02-18 Earnie Boyd <earnie@users.sf.net>
3399
3400 * libc/stdlib/mallocr.c (unlink): Don't assign a value to a pointer
3401 with a NULL value.
3402
51a46b54
CF
34032003-02-10 Christopher Faylor <cgf@redhat.com>
3404
3405 * libc/include/sys/types.h: Don't define __MS_types__ for Cygwin.
3406 Don't define some types under cygwin.
3407
313f1349
JJ
34082003-02-07 Jeff Johnston <jjohnstn@redhat.com>
3409
3410 * acinclude.m4 (--disable-newlib-supplied-syscalls): New configuration
3411 option to allow disabling of syscalls being supplied in newlib.
3412 * aclocal.m4: Regenerated.
3413 * configure: Ditto.
3414 * configure.host: Add support of new configuration option and add
3415 -D__NO_SYSCALLS__ if newlib supplied syscalls are disabled.
3416 * doc/aclocal.m4: Regenerated.
3417 * doc/configure: Ditto.
3418 * libc/*aclocal.m4: Ditto.
3419 * libc/*configure: Ditto.
3420 * libm/*aclocal.m4: Ditto.
3421 * libm/*configure: Ditto.
3422 * libc/sys/arm/Makefile.am: Don't build syscalls.o if new option
3423 is disabled.
3424 * libc/sys/arm/Makefile.in: Regenerated.
3425
5017a3da
JJ
34262003-02-05 Jonathan Larmour <jifl@eCosCentric.com>
3427
3428 * libc/stdio/vsprintf.c (vsprintf, _vsprintf_r): Set _file fd to
3429 -1 to be sure it cannot later match a valid file fd causing
3430 isatty() to return 1.
3431 * libc/stdio/asprintf.c (asprintf, _asprintf_r): Ditto.
3432 * libc/stdio/sprintf.c (sprintf, _sprintf_r): Ditto.
3433 * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Ditto.
3434
ad36f7d1
JJ
34352003-02-03 Jeff Johnston <jjohnstn@redhat.com>
3436
3437 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate the format
3438 buffer based on the precision, after we have processed the input value
3439 in a local buffer and know its relative magnitude.
3440
a74181ee
JJ
34412003-01-31 Michael Snyder <msnyder@redhat.com>
3442
3443 * libc/sys/h8300hms/_exit.c (_exit, __exit): Slip a magic cookie
3444 into registers r1 and r2, so that the simulator can distinguish
3445 this trap from a breakpoint trap. Copied from libgloss.
3446
b85498d4
JJ
34472003-01-31 Michael Snyder <msnyder@redhat.com>
3448
3449 * libc/sys/h8300hms/crt0.S (_start): Change local label
3450 from .loop to .Loop, so that ld and gdb will ignore it.
3451
4700b829
JJ
34522003-01-29 Jason Tishler <jason@tishler.net>
3453
3454 * libc/include/time.h: Declare nanosleep() under Cygwin.
3455
0127ae40
NC
34562003-01-24 Nick Clifton <nickc@redhat.com>
3457
3458 * Add sh2e support:
3459
3460 2002-04-02 Alexandre Oliva <aoliva@redhat.com>
3461
3462 * libc/machine/sh/asm.h: Added __SH2E__ next to __SH3E__.
3463 * libc/machine/sh/setjmp.S: Likewise.
3464 * libc/include/machine/ieeefp.h: Likewise.
3465
8bbcd9a1
CV
34662003-01-24 Corinna Vinschen <corinna@vinschen.de>
3467
3468 * libc/include/sys/unistd.h: Add setregid and setreuid declarations
3469 for Cygwin.
3470
b8838e6f
JJ
34712003-01-21 Anita Kulkarni <anitak@kpit.com>
3472
3473 * libc/time/difftime.c : Typecast the result to double.
3474
f9e41155
CF
34752003-01-20 Christopher Faylor <cgf@redhat.com>
3476
3477 * libc/include/sys/unistd.h: Add rresvport declaration for cygwin.
3478
6b5a7988
NC
34792003-01-18 Nick Clifton <nickc@redhat.com>
3480
3481 * libc/include/machine/ieeefp.h : Define __IEEE_BIG_ENDIAN,
3482 __SMALL_BITFIELDS and _DOUBLE_IS_32BITS for IP2K.
3483
c3e92877
JJ
34842003-01-16 Joel Sherrill <joel@OARcorp.com>
3485
3486 * libc/sys/rtems/include/limits.h, libc/sys/rtems/sys/param.h,
3487 libc/sys/rtems/sys/syslimits.h: Update to be in sync with what
3488 constants are defined in each file in the shared versions in
3489 libc/include.
3490 * libc/sys/rtems/crt0.c: Define extra symbols on SH and HP-PA to
3491 autoconf can link programs.
3492 * libc/include/machine/types.h: Explicitly specify signed on
3493 intXX_t types to ensure they are signed.
3494
84510217
CF
34952003-01-14 Christopher Faylor <cgf@redhat.com>
3496
3497 * libc/time/strftime.c (strftime): Add '%h' and '%l, %k' GNU
3498 extensions.
3499
b3934ab3
RS
35002003-01-08 Richard Sandiford <rsandifo@redhat.com>
3501
3502 * configure.host (mips64vr-elf, mips64vrel-elf): New config.
3503
be9c60e5
JJ
35042003-01-07 Charles Wilson <cwilson@ece.gatech.edu>
3505
3506 * libc/stdio/sprintf.c: fix typo
3507 * libc/stdio/vfprintf.c: fix typo
3508
d4c3a750
JJ
35092003-01-07 Jeff Johnston <jjohnstn@redhat.com>
3510
3511 * configure.host: Support long double I/O for x86-linux.
3512 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate a buffer
3513 large enough to hold formatted result.
3514 * libc/machine/powerpc/simdldtoa.c (_simdldtoa_r): Ditto.
3515
b2294aaa
JJ
35162003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
3517
3518 * Makefile.am: Add vasprintf.
3519 * Makefile.in: Regenerated.
3520
ea5e5daf
JJ
35212003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
3522
3523 * asprintf.c (_asprintf_r): insure both declarations
3524 are the same.
3525
5c581eca
CF
35262002-12-28 Christopher Faylor <cgf@redhat.com>
3527
3528 * libc/include/sys/unistd.h: Under cygwin, just include getopt.h rather
3529 than defining getopt directly.
3530
60b0838f
JJ
35312002-12-20 Jeff Johnston <jjohnstn@redhat.com>
3532
3533 * NEWS: Update with 1.11.0 info.
3534 * README: Ditto.
3535 * acinclude.m4: Change version number to 1.11.0.
3536 * aclocal.m4: Regenerated.
3537 * configure: Ditto.
3538 * doc/aclocal.m4: Ditto.
3539 * doc/configure: Ditto.
3540 * libc/*/aclocal.m4: Ditto.
3541 * libc/*/configure: Ditto.
3542 * libc/libc.texinfo: Ditto.
3543 * libm/*/aclocal.m4: Ditto.
3544 * libm/*/configure: Ditto.
3545 * libm/libm.texinfo: Ditto.
3546 * libc/sys/linux/shared.ld: Add VERS_1.11.
3547
10501d57
JJ
35482002-12-20 Jeff Johnston <jjohnstn@redhat.com>
3549
3550 * libc/machine/i386/f_atan2.S: Change copyright from Cygnus
3551 Solutions to Red Hat Inc.
3552 * libc/machine/i386/f_atan2f.S: Ditto.
3553 * libc/machine/i386/f_exp.c: Ditto.
3554 * libc/machine/i386/f_expf.c: Ditto.
3555 * libc/machine/i386/f_frexp.S: Ditto.
3556 * libc/machine/i386/f_frexpf.S: Ditto.
3557 * libc/machine/i386/f_ldexp.S: Ditto.
3558 * libc/machine/i386/f_ldexpf.S: Ditto.
3559 * libc/machine/i386/f_log.S: Ditto.
3560 * libc/machine/i386/f_log10.S: Ditto.
3561 * libc/machine/i386/f_log10f.S: Ditto.
3562 * libc/machine/i386/f_logf.S: Ditto.
3563 * libc/machine/i386/f_pow.c: Ditto.
3564 * libc/machine/i386/f_powf.c: Ditto.
3565 * libc/machine/i386/f_tan.S: Ditto.
3566 * libc/machine/i386/f_tanf.S: Ditto.
3567 * libc/machine/i386/memchr.S: Ditto.
3568 * libc/machine/i386/memcmp.S: Ditto.
3569 * libc/machine/i386/memcpy.S: Ditto.
3570 * libc/machine/i386/memmove.S: Ditto.
3571 * libc/machine/i386/memset.S: Ditto.
3572 * libc/machine/i386/strchr.S: Ditto.
3573 * libc/machine/i386/strlen.S: Ditto.
3574 * libm/machine/i386/f_atan2.S: Ditto.
3575 * libm/machine/i386/f_atan2f.S: Ditto.
3576 * libm/machine/i386/f_exp.c: Ditto.
3577 * libm/machine/i386/f_expf.c: Ditto.
3578 * libm/machine/i386/f_frexp.S: Ditto.
3579 * libm/machine/i386/f_frexpf.S: Ditto.
3580 * libm/machine/i386/f_ldexp.S: Ditto.
3581 * libm/machine/i386/f_ldexpf.S: Ditto.
3582 * libm/machine/i386/f_log.S: Ditto.
3583 * libm/machine/i386/f_log10.S: Ditto.
3584 * libm/machine/i386/f_log10f.S: Ditto.
3585 * libm/machine/i386/f_logf.S: Ditto.
3586 * libm/machine/i386/f_pow.c: Ditto.
3587 * libm/machine/i386/f_powf.c: Ditto.
3588 * libm/machine/i386/f_tan.S: Ditto.
3589 * libm/machine/i386/f_tanf.S: Ditto.
3590
9b3f0d16
JJ
35912002-12-20 Jeff Johnston <jjohnstn@redhat.com>
3592
3593 * libc/stdlib/environ.c: Update license to Red Hat.
3594 * libc/machine/hppa/setjmp.S: Ditto.
3595 * libm/test/Makefile.in: Ditto.
3596
d693ad84
JJ
35972002-12-19 Jeff Johnston <jjohnstn@redhat.com>
3598
3599 * configure.host: Remove references to go32.
3600 * libc/sys/go32/*: Removed.
3601
7da92d15
JJ
36022002-12-16 Kazu Hirata <kazu@cs.umass.edu>
3603
3604 * libc/include/sys/config.h: Change setting of INT_MAX
3605 and UINT_MAX, to use __INT_MAX__ for __H8300__, __H8300H__,
3606 __H8300S__. Also consolidate flag settings for these
3607 platforms.
3608
ea01c7f5
JJ
36092002-12-10 Joel Sherrill <joel@OARcorp.com>
3610
3611 * libc/include/machine/setjmp.h: Make sure _JBLEN is defined
3612 for i386-rtems targets.
3613
c049dd5a
JJ
36142002-12-06 Jeff Johnston <jjohnstn@redhat.com>
3615
3616 * libc/include/stdlib.h (strtof): New prototype (from C99).
3617 (strtodf): Changed from prototype to macro which redefines
3618 to strtof.
3619 * libc/stdlib/atof.c: Change documentation to refer to strtof
3620 instead of strtodf.
3621 * libc/stdlib/atoff.c (atoff): Change to call strtof instead of
3622 strtodf.
3623 * libc/stdlib/strtod.c (strtodf): Renamed to strtof.
3624 (strtof): New function.
3625 * libm/test/convert.c (test_strtodf): Renamed to test_strtof which
3626 calls strtof.
3627
46a402e0
CF
36282002-11-27 Christopher Faylor <cgf@redhat.com>
3629
3630 * libc/string/memset.c (memset): Fix comment.
3631
b3cc01b0
CF
36322002-11-26 Christopher Faylor <cgf@redhat.com>
3633
3634 * libc/string/memset.c (memset): Move initialization of 'd' earlier in
3635 function.
3636
d90f3dc1
CF
36372002-11-25 Christopher Faylor <cgf@redhat.com>
3638
3639 * libc/string/memset.c (memset): Minor optimization: Use new 'd'
3640 variable, introduced below, everywhere.
3641
f24585c6
KH
36422002-11-25 Kazu Hirata <kazu@cs.umass.edu>
3643
3644 * libc/string/memset.c (memset): Make it safe even if
3645 sizeof (int) = 2.
3646
2955fd76
JJ
36472002-11-22 Joe Buehler <jbuehler@hekimian.com>
3648
3649 * configure.in: Change check for libc/include in ${CC} to
3650 use an intermediate value so as to work with different shells.
3651 * configure: Regenerated.
3652 * Makefile.in: Ditto.
3653
40ce7368
JJ
36542002-11-22 Vijay L. Khuspe <vijayk1@kpit.com>
3655
3656 * libc/sys/h8300hms/read.c: Add support for normal mode
3657 architecture.
3658
505746ad
JJ
36592002-11-20 Ryo Tsuruta <ryo@kitanet.ne.jp>
3660
3661 * libc/machine/h8300/setjmp.S (setjmp, longjmp): Combine common
3662 code for __H8300H__ and __H8300S__. Also return 32-bit return code
3663 when -mint32 is used.
3664
28ecb2f5
NC
36652002-11-18 Nick Clifton <nickc@redhat.com>
3666
3667 * libc/sys/arm/crt0.S: Add NULL to end of argv array.
3668
665b994e
JJ
36692002-11-14 Jeff Johnston <jjohnstn@redhat.com>
3670
3671 * testsuite/lib/passfail.exp (newlib_pass_fail): Changed to
3672 only issue one pass/fail message for a compile/link/execute.
3673 * testsuite/newlib.elix/elix.exp: New file.
3674 * testsuite/newlib.elix/tmmap.c: Ditto.
3675
e91ec2e3
CF
36762002-11-06 Christopher Faylor <cgf@redhat.com>
3677
3678 * libc/stdlib/malign.c: Don't compile if MALLOC_PROVIDED.
3679 * libc/stdlib/mlock.c: Ditto.
3680 * libc/stdlib/msize.c: Ditto.
3681 * libc/stdlib/msize.c: Ditto.
3682 * libc/stdlib/mtrim.c: Ditto.
3683 * libc/stdlib/valloc.c: Ditto.
3684
944772c7
JJ
36852002-11-12 Jeff Johnston <jjohnstn@redhat.com>
3686
3687 * libc/stdlib/ldtoa.c (e64toe): When checking the exponent
3688 for inf/nan, make sure that the check ignores the sign bit.
3689
dd7ee147
JJ
36902002-11-07 Joel Sherrill <joel@OARcorp.com>
3691
3692 * libc/sys/rtems/machine: New directory.
3693 * libc/sys/rtems/machine/limits.h, libc/sys/rtems/machine/param.h,
3694 libc/sys/rtems/sys/param.h, libc/sys/rtems/sys/syslimits.h,
3695 libc/sys/rtems/sys/utime.h: New files added to make *-rtems newlib
3696 targets more BSD like when installed without requiring files to
3697 be overwritten at install point when RTEMS itself is installed.
3698 * Makefile.am: Pick up system dependent machine .h files such as
3699 might be found on a BSD-ish system.
3700 * Makefile.in: Regenerate.
3701 * libc/include/machine/types.h: When on an RTEMS target, define a
3702 few BSD flavor types.
3703
37042002-11-06 Sergey Okhapkin <sos@prospect.com.ru>
503430d8
CF
3705
3706 * include/utmp.h: Define WTMP_FILE. Define and use UT_IDLEN.
3707
18cd62b7
JJ
37082002-11-06 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
3709
3710 * libc/include/wchar.h: Use _{BEGIN,END}_STD_C instead of extern "C".
3711 * libc/include/wctype.h: Ditto.
3712
d2888812
JJ
37132002-11-04 Jeff Johnston <jjohnstn@redhat.com>
3714
3715 * libc/include/wchar.h: Add extern "C" specifier if C++.
3716 * libc/include/wctype.h: Ditto.
3717
978ea3cf
JJ
37182002-10-18 Jeff Johnston <jjohnstn@redhat.com>
3719
3720 * testsuite/newlib.wctype/tiswctype.c: New test case.
3721 * testsuite/newlib.wctype/twctrans.c: Ditto.
3722
a42cf80a
JJ
37232002-10-18 Jeff Johnston <jjohnstn@redhat.com>
3724
3725 * libc/sys/linux/machine/i386/include/endian.h: New file.
3726 * libc/sys/linux/machine/i386/include/param.h: Ditto.
3727
c9ccb1f2
JJ
37282002-10-18 Jeff Johnston <jjohnstn@redhat.com>
3729
3730 * libm/machine/i386/aclocal.m4: Regenerated.
3731 * libm/machine/i386/configure: Ditto.
3732
94c5b430
JJ
37332002-10-18 Jeff Johnston <jjohnstn@redhat.com>
3734
3735 * testsuite/include/check.h: New header file to use with
3736 test cases.
3737 * testsuite/lib/newlib.exp: Add testsuite/include directory
3738 to list of header files to use.
3739 * testsuite/newlib.wctype/twctype.c: New test case for iswctype fns.
3740 * testsuite/newlib.wctype/wctype.exp: New file.
3741
ccdae543
RS
37422002-10-11 Graham Stott <graham.stott@btinternet.com>
3743 Richard Sandiford <rsandifo@redhat.com>
f770cf44
RS
3744
3745 * libc/include/sys/config.h (SIZE_T_SMALLER_THAN_LONG): Undefine.
3746 * libc/stdlib/mallocr.c (long_sub_size_t): Define in a way that
3747 doesn't require the SIZE_T_SMALLER_THAN_LONG macro.
3748
73972116
JS
37492002-10-07 Joel Sherrill <joel@OARcorp.com>
3750
3751 * libc/sys/rtems/crt0.c: Add even more symbols so gcc() can link
3752 dummy programs.
3753
89e3fcba
JS
37542002-10-07 Joel Sherrill <joel@OARcorp.com>
3755
3756 * libc/include/pthread.h: Define PTHREAD_CANCELED.
3757
54ec52e4
JS
37582002-10-07 Joel Sherrill <joel@OARcorp.com>
3759
3760 * libc/machine/hppa/DEFS.h, libc/machine/hppa/pcc_prefix.s,
3761 libc/machine/hppa/setjmp.S, libc/machine/hppa/DEFS.h: Make this
3762 compile with current GNU tools.
3763
d389acba
JJ
37642002-10-07 Jeff Johnston <jjohnstn@redhat.com>
3765
3766 * Makefile.am: Add EXTRA_DIRS to allow future dependencies on
3767 the build library.
3768 * configure.in: Ditto.
3769 * Makefile.in: Regenerated.
3770 * configure: Ditto.
3771 * libc/sys/linux/Makefile.am: Add EXTRA_SUBDIRS and EXTRA_SUBLIBS
3772 for specifying configured libraries/directories.
3773 * libc/sys/linux/configure.in: Ditto.
3774 * libc/sys/linux/Makefile.in: Regenerated.
3775 * libc/sys/linux/configure: Ditto.
3776
af5a221f
JJ
37772002-10-03 Jeff Johnston <jjohnstn@redhat.com>
3778
3779 * libc/include/reent.h: Update documentation at start of file.
3780
59a758bd
JW
37812002-09-27 Jim Wilson <wilson@redhat.com>
3782
3783 * libc/sys/sysnecv850/crt0.S (start): Delete v850 code for initializing
3784 the ctbp register.
3785
1ed3c86d
JJ
37862002-09-27 Jeff Johnston <jjohnstn@redhat.com>
3787
3788 * libc/ctype/jp2uc.c: Change to use multiple arrays in jp2uc.h.
3789 Also convert to EUCJP before using arrays. For values not in
3790 the conversion arrays, return WEOF.
3791 * libc/ctype/jp2uc.h: Change from one array to a number of
3792 arrays to account for the fact that the originating table
3793 is not contiguous for the input values since some are invalid.
3794
6e1dfd2d
JJ
37952002-09-24 Jeff Johnston <jjohnstn@redhat.com>
3796
3797 * libc/time/ctime.c: Fix prototype documentation.
3798
06f1353a
CV
37992002-09-24 Corinna Vinschen <corinna@vinschen.de>
3800
3801 * libc/include/sys/errno.h: Add EOVERFLOW.
3802
1e0e64c9
JJ
38032002-09-20 Jeff Johnston <jjohnstn@redhat.com>
3804
3805 * libc/include/wctype.h: New file.
3806
1525d127
JJ
38072002-09-20 Jeff Johnston <jjohnstn@redhat.com>
3808
3809 * libc/ctype/Makefile.am: Add new files.
3810 * libc/ctype/Makefile.in: Regenerated.
3811 * libc/ctype/ctype.tex: Add new iswxxxx, towxxxx, wctype,
3812 and wctrans functions to documentation index.
3813 * libc/ctype/iswalnum.c: New file.
3814 * libc/ctype/iswalpha.c: Ditto.
3815 * libc/ctype/iswblank.c: Ditto.
3816 * libc/ctype/iswcntrl.c: Ditto.
3817 * libc/ctype/iswctype.c: Ditto.
3818 * libc/ctype/iswdigit.c: Ditto.
3819 * libc/ctype/iswgraph.c: Ditto.
3820 * libc/ctype/iswlower.c: Ditto.
3821 * libc/ctype/iswprint.c: Ditto.
3822 * libc/ctype/iswpunct.c: Ditto.
3823 * libc/ctype/iswspace.c: Ditto.
3824 * libc/ctype/iswupper.c: Ditto.
3825 * libc/ctype/iswxdigit.c: Ditto.
3826 * libc/ctype/jp2uc.c: Ditto.
3827 * libc/ctype/jp2uc.h: Ditto.
3828 * libc/ctype/local.h: Ditto.
3829 * libc/ctype/towctrans.c: Ditto.
3830 * libc/ctype/towlower.c: Ditto.
3831 * libc/ctype/towupper.c: Ditto.
3832 * libc/ctype/utf8alpha.h: Ditto.
3833 * libc/ctype/utf8print.h: Ditto.
3834 * libc/ctype/utf8punct.h: Ditto.
3835 * libc/ctype/wctrans.c: Ditto.
3836 * libc/ctype/wctype.c: Ditto.
3837 * libc/locale/locale.c (__lc_ctype): New external array to
3838 replace static lc_ctype array.
3839 * libc/stdlib/mbtowc_r.c: Use __lc_ctype to check current lc_ctype
3840 rather than reentrancy structure's _current_locale field.
3841 * libc/stdlib/wctomb_r.c: Ditto.
3842
da25e61f
JJ
38432002-09-20 Jeff Johnston <jjohnstn@redhat.com>
3844
3845 * configure.host: Minor comment and formatting changes.
3846 * libc/Makefile.am: Add libc_la_DEPENDENCIES.
3847 * libc/Makefile.in: Regenerated.
3848 * libc/include/sys/config.h: Minor format change.
3849
5b9ee539
JJ
38502002-09-19 Jeff Johnston <jjohnstn@redhat.com>
3851
3852 * libc/syscalls/sysfcntl.c (fcntl): Fix typo in preprocessor
3853 statement comment.
3854
50558bf3
JJ
38552002-09-19 Jeff Johnston <jjohnstn@redhat.com>
3856
3857 * libc/posix/opendir.c (opendir): Change code to check
3858 for HAVE_FCNTL before calling fcntl.
3859 * libc/search/hash.c (hash_open): Ditto.
3860 * libc/search/hash_page.c (open_tmp): Ditto.
3861 * libc/reent/Makefile.am: Add fcntlr.c.
3862 * libc/reent/Makefile.in: Regenerated.
3863 * libc/reent/fcntlr.c: New file.
3864 * libc/stdio/fdopen.c (_fdopen_r): Change to call _fcntl_r
3865 instead of _fcntl when HAVE_FCNTL flag is set.
3866 * libc/syscalls/sysfcntl.c (fcntl): Check for HAVE_FCNTL flag
3867 to see if _fcntl or _fcntl_r should be called. If flag is not
3868 set, default to ENOSYS stub.
3869
9211a1ad
JJ
38702002-09-16 Jeff Johnston <jjohnstn@redhat.com>
3871
3872 * libc/include/wchar.h (mbstate_t): Change protective flag to
3873 be _MBSTATE_T.
3874 * libc/include/sys/_types.h (_mbstate_t): Remove protective flag.
3875 [__CYGWIN__]: Remove special code that defines mbstate_t and WEOF
3876 for Cygwin.
3877 * libc/sys/linux/sys/_types.h (_mbstate_t): Remove protective flag.
3878
a8615092
JJ
38792002-09-11 Jeff Johnston <jjohnstn@redhat.com>
3880
3881 * acinclude.m4 (enable-newlib-mb): Change check to
3882 default newlib_mb variable to empty string rather than "no".
3883 * configure.host: Remove hard-coding of -DMB_CAPABLE for
3884 x86-linux and Cygwin. Add code to check for newlib_mb
3885 being unset in which case set to "yes" for x86-linux and
3886 Cygwin. Change check for newlib_mb being "yes" to allow
3887 for an empty string.
3888 * configure.in (_MB_LEN_MAX): New AC_DEFINE.
3889 * newlib.hin (_MB_LEN_MAX): New define to configure.
3890 * aclocal.m4: Regenerated.
3891 * configure: Ditto.
3892 * libc/include/limits.h: New file.
3893 * libc/sys/linux/include/limits.h: Ditto.
3894 * doc/aclocal.m4 doc/configure libc/aclocal.m4
3895 libc/configure libc/include/%redact libc/machine/aclocal.m4
3896 libc/machine/configure libc/machine/a29k/aclocal.m4
3897 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
3898 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
3899 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
3900 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
3901 libc/machine/fr30/configure libc/machine/frv/aclocal.m4
3902 libc/machine/frv/configure libc/machine/h8300/aclocal.m4
3903 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
3904 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
3905 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
3906 libc/machine/i386/configure libc/machine/i960/aclocal.m4
3907 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
3908 libc/machine/m32r/configure libc/machine/m68hc11/aclocal.m4
3909 libc/machine/m68hc11/configure libc/machine/m68k/aclocal.m4
3910 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
3911 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
3912 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
3913 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
3914 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
3915 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
3916 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
3917 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
3918 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
3919 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
3920 libc/machine/v850/configure libc/machine/w65/aclocal.m4
3921 libc/machine/w65/configure libc/machine/xscale/aclocal.m4
3922 libc/machine/xscale/configure
3923 libc/machine/xstormy16/aclocal.m4
3924 libc/machine/xstormy16/configure libc/machine/z8k/aclocal.m4
3925 libc/machine/z8k/configure libc/sys/aclocal.m4
3926 libc/sys/configure libc/sys/a29khif/aclocal.m4
3927 libc/sys/a29khif/configure libc/sys/arc/aclocal.m4
3928 libc/sys/arc/configure libc/sys/arm/aclocal.m4
3929 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
3930 libc/sys/cygwin/configure libc/sys/d10v/aclocal.m4
3931 libc/sys/d10v/configure libc/sys/decstation/aclocal.m4
3932 libc/sys/decstation/configure libc/sys/go32/aclocal.m4
3933 libc/sys/go32/configure libc/sys/h8300hms/aclocal.m4
3934 libc/sys/h8300hms/configure libc/sys/h8500hms/aclocal.m4
3935 libc/sys/h8500hms/configure libc/sys/idt/aclocal.m4
3936 libc/sys/idt/configure libc/sys/linux/aclocal.m4
3937 libc/sys/linux/configure libc/sys/linux/include/%redact
3938 libc/sys/linux/machine/aclocal.m4
3939 libc/sys/linux/machine/configure
3940 libc/sys/linux/machine/i386/aclocal.m4
3941 libc/sys/linux/machine/i386/configure
3942 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
3943 libc/sys/mmixware/aclocal.m4 libc/sys/mmixware/configure
3944 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
3945 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
3946 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
3947 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
3948 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
3949 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
3950 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
3951 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
3952 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
3953 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
3954 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
3955 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
3956 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
3957 libm/aclocal.m4 libm/configure: Regenerated.
3958
be83844e
JJ
39592002-09-09 Jeff Johnston <jjohnstn@redhat.com>
3960
3961 * libc/sys/linux/machine/i386/crt0.c (_start): Remove
3962 code that clears the .bss section.
3963
9c64d2a7
JJ
39642002-09-09 Jeff Johnston <jjohnstn@redhat.com>
3965
3966 * libc/include/sys/_types.h (_mbstate_t): Changed to use
3967 unsigned char internally.
3968 * libc/sys/linux/sys/_types.h: Ditto.
3969 * libc/include/sys/reent.h
3970 * libc/stdlib/mblen.c (mblen): Use function-specific state
3971 value from default reentrancy structure.
3972 * libc/stdlib/mblen_r.c (_mblen_r): If return code from
3973 _mbtowc_r is less than 0, reset state __count value and
3974 return -1.
3975 * libc/stdlib/mbrlen.c (mbrlen): If the input state pointer
3976 is NULL, use the function-specific pointer provided in the
3977 default reentrancy structure.
3978 * libc/stdlib/mbrtowc.c: Add reentrant form of function.
3979 If input state pointer is NULL, use function-specific area
3980 provided in reentrancy structure.
3981 * libc/stdlib/mbsrtowcs.c: Ditto.
3982 * libc/stdlib/wcrtomb.c: Ditto.
3983 * libc/stdlib/wcsrtombs.c: Ditto.
3984 * libc/stdlib/mbstowcs.c: Reformat.
3985 * libc/stdlib/wcstombs.c: Ditto.
3986 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): If an error occurs,
3987 reset the state's __count value and return -1.
3988 * libc/stdlib/mbtowc.c: Ditto.
3989 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Add restartable functionality.
3990 If number of bytes is used up before completing a valid multibyte
3991 character, return -2 and save the state.
3992 * libc/stdlib/wctomb_r.c (_wctomb_r): Define __state as __count
3993 and change some __count references to __state for clarity.
3994
218b7a56
JJ
39952002-09-06 Jeff Johnston <jjohnstn@redhat.com>
3996
3997 * libc/include/sys/config.h (MB_LEN_MAX): Removed as this
3998 is defined by <limits.h>.
3999
c210a6ea
JJ
40002002-09-05 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
4001
4002 * libc/include/wchar.h (WCHAR_MAX): Only define if not already
4003 defined.
4004
efa077ce
JJ
40052002-09-04 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
4006
4007 * libc/include/sys/config.h: Define accordingly __WCHAR_MAX__.
4008 * libc/include/wchar.h: Define WCHAR_MIN as 0 and WCHAR_MAX as
4009 __WCHAR_MAX__ or 0x7fffffffu.
4010 * libc/string/wcscmp.c: Delete wrong and unnecessary type cast.
4011 * libc/string/wcsncmp.c: Ditto.
4012
e4b0ebc1
JJ
40132002-09-03 Jeff Johnston <jjohnstn@redhat.com>
4014
4015 * libc/string/wcschr.c: Add include of <stddef.h>.
4016 * libc/string/wcspbrk.c: Ditto.
4017 * libc/string/wcsrchr.c: Ditto.
4018 * libc/string/wcsstr.c: Ditto.
4019
3db40db7
JJ
40202002-09-03 Jeff Johnston <jjohnstn@redhat.com>
4021
4022 * libc/include/sys/_types.h (_flock_t): Added.
4023 * libc/include/sys/lock.h (__lock_try_acquire): New interface.
4024 (__lock_try_acquire_recursive): Ditto.
4025 * libc/include/sys/reent.h (__sFILE, __sFILE64): Add new
4026 _lock field.
4027 * libc/stdio/findfp.c (std)[!__SINGLE_THREAD__]: Initialize _lock
4028 field.
4029 * libc/stdio/fopen.c (_fopen_r)[!__SINGLE_THREAD__]: Ditto.
4030 * libc/stdio64/fopen64.c (_fopen64_r)[!__SINGLE_THREAD__]: Ditto.
4031 * libc/sys/linux/include/time.h (struct timespec): Moved from
4032 <sys/types.h> and added check for __need_timespec flag so type
4033 can be defined by itself.
4034 * libc/sys/linux/sys/_types.h (_flock_t): New type.
4035 * libc/sys/linux/sys/types.h (struct timespec): Moved to
4036 <time.h>.
4037
cd45f029
TF
40382002-08-29 Thomas Fitzsimmons <fitzsim@redhat.com>
4039
4040 * libc/sys/linux/argp: New directory.
4041 * libc/sys/linux/getopt.c: New file.
4042 * libc/sys/linux/getopt1.c: New file.
4043 * libc/sys/linux/getoptlong.c: Remove file.
4044 * libc/sys/linux/include/argp.h: New file.
4045 * libc/sys/linux/Makefile.am: Define argp_dir and ARGP_LIB,
4046 based on ELIX level.
4047 (SUBDIRS): Add argp_dir.
4048 (SUBLIBS): Add ARGP_LIB.
4049 (ELIX_2_OBJS): Add getopt.$(oext), getopt1.$(oext), remove
4050 getopt_long.$(oext).
4051 * libc/sys/linux/configure.in (AC_OUTPUT): Add argp/Makefile.
4052
3c689185
JJ
40532002-08-29 Jeff Johnston <jjohnstn@redhat.com>
4054
4055 * libc/libc.texinfo: Add node reference to wide-character strings.
4056 * libc/string/wcstrings.tex: New file.
4057 * libc/string/strtok_r.c: Remove outdated advertising clause.
4058 * libc/string/Makefile.am (doc): Add wide-character string
4059 chapter to documentation.
4060 * libc/string/Makefile.in: Regenerated.
4061
890e7a1d
JJ
40622002-08-29 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
4063
4064 * libc/include/wchar.h: Define NULL. Define WEOF more general
4065 way. Declare functions in newlib manner.
4066 * libc/stdlib/Makefile.am: Delete wmem*.c
4067 * libc/stdlib/Makefile.in: Regenerated.
4068 * libc/stdlib/wmemchr.c: Delete.
4069 * libc/stdlib/wmemcmp.c: Ditto.
4070 * libc/stdlib/wmemcpy.c: Ditto.
4071 * libc/stdlib/wmemmove.c: Ditto.
4072 * libc/stdlib/wmemset.c: Ditto.
4073 * libc/string/Makefile.am: Add wmem*.c and wcs*.c.
4074 * libc/string/Makefile.in: Regenerated.
4075 * libc/string/wcscat.c: New file derived from the NetBSD C Library.
4076 * libc/string/wcschr.c: Ditto.
4077 * libc/string/wcscmp.c: Ditto.
4078 * libc/string/wcscpy.c: Ditto.
4079 * libc/string/wcscspn.c: Ditto.
4080 * libc/string/wcslcat.c: Ditto.
4081 * libc/string/wcslcpy.c: Ditto.
4082 * libc/string/wcslen.c: Ditto.
4083 * libc/string/wcsncat.c: Ditto.
4084 * libc/string/wcsncmp.c: Ditto.
4085 * libc/string/wcsncpy.c: Ditto.
4086 * libc/string/wcspbrk.c: Ditto.
4087 * libc/string/wcsrchr.c: Ditto.
4088 * libc/string/wcsspn.c: Ditto.
4089 * libc/string/wcsstr.c: Ditto.
4090 * libc/string/wmemchr.c: Ditto.
4091 * libc/string/wmemcmp.c: Ditto.
4092 * libc/string/wmemcpy.c: Ditto.
4093 * libc/string/wmemmove.c: Ditto.
4094 * libc/string/wmemset.c: Ditto.
4095
86620e21
JJ
40962002-08-29 Jeff Johnston <jjohnstn@redhat.com>
4097
4098 * libc/locale/locale.c (_setlocale_r)[MB_CAPABLE]: Fix so
4099 default locale "" is accepted for LC_CTYPE or LC_MESSAGES
4100 and is treated as if "C" was specified.
4101
f3741c27
JJ
41022002-08-28 Jeff Johnston <jjohnstn@redhat.com>
4103
4104 * Makefile.am (install-data-local): Move install of build
4105 newlib.h after installing headers in libc/include so as to
4106 overwrite default newlib.h.
4107 * Makefile.in: Regenerated.
4108
48da61f5
JJ
41092002-08-28 Jeff Johnston <jjohnstn@redhat.com>
4110
4111 * libc/include/newlib.h: New file for tools that use newlib
4112 headers but don't build newlib first (e.g. gcc).
4113
d82a94ac
JJ
41142002-08-28 Jeff Johnston <jjohnstn@redhat.com>
4115
4116 * libc/stdlib/wmemchr.c: Explicitly include <_ansi.h>.
4117 * libc/stdlib/wmemcmp.c: Ditto.
4118 * libc/stdlib/wmemcpy.c: Ditto.
4119 * libc/stdlib/wmemmove.c: Ditto.
4120 * libc/stdlib/wmemset.c: Ditto.
4121
7d08241b
JJ
41222002-08-27 Egor Duda <deo@logos-m.ru>
4123
4124 * libc/stdlib/wmemchr.c: New file.
4125 * libc/stdlib/wmemcmp.c: Ditto.
4126 * libc/stdlib/wmemcpy.c: Ditto.
4127 * libc/stdlib/wmemmove.c: Ditto.
4128 * libc/stdlib/wmemset.c: Ditto.
4129 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add new files.
4130 * configure.host: Default -DMB_CAPABLE for cygwin.
4131 * libc/include/wchar.h: Declare wmemchr(), wmemcmp(), wmemcpy(),
4132 wmemmove() and wmemset(). Add include of <_ansi.h>.
4133 * libc/stdlib/Makefile.in: Regenerate.
4134
8da1639b
JJ
41352002-08-27 Jeff Johnston <jjohnstn@redhat.com>
4136
ff2bf852 4137 * configure.host: Remove _ELIX_LEVEL flag setting.
8da1639b
JJ
4138 * Makefile.am(stmp-targ-include): Copy newlib.h to targ-include.
4139 (install-data-local): Install newlib.h.
4140 * Makefile.in: Regenerated.
4141 * aclocal.m4: Ditto.
4142 * configure: Ditto.
4143 * configure.in: Add AM_CONFIG_HEADER to generate newlib.h based on
4144 newlib.hin. Add AC_DEFINE_UNQUOTED entries for _ELIX_LEVEL
4145 and _NEWLIB_VERSION to fill in newlib.h header file entries.
4146 In AC_OUTPUT statement, unset ac_file so multilib support does
4147 not use last ac_file temporary used in newlib.h configuration.
4148 * libc/include/_ansi.h: Include <newlib.h>.
4149 * newlib.hin: New template file for newlib.h.
4150 * stamp-h.in: New file.
4151
a4421c11
JJ
41522002-08-26 Wu Yongwei <adah@netstd.com>
4153
4154 * time.h (timezonevar): Change "#if" to "#ifdef".
4155
90b65e2d
JJ
41562002-08-26 Jeff Johnston <jjohnstn@redhat.com>
4157
4158 * Makefile.am(LIBC_OBJECTLISTS): Add STDIO64_OBJECTLIST.
4159 * Makefile.in: Regenerated.
4160 * acinclude.m4: Add support for --enable-newlib-elix-level option.
4161 * aclocal.m4: Regenerated.
4162 * configure: Ditto.
4163 * configure.host: Add code to define _ELIX_LEVEL if
4164 --enable-newlib-elix-level option is used.
4165 * configure.in:
4166 * libc/aclocal.m4: Regenerated.
4167 * libc/configure: Ditto.
4168 * libc/argz/Makefile.am: Add EL/IX level checking.
4169 * libc/argz/Makefile.in: Regenerated.
4170 * libc/argz/dummy.c: New file.
4171 * libc/ctype/Makefile.am: Add EL/IX level checking.
4172 * libc/ctype/Makefile.in: Regenerated.
4173 * libc/locale/Makefile.am: Add EL/IX level checking.
4174 * libc/locale/Makefile.in: Regenerated.
4175 * libc/posix/Makefile.am: Add EL/IX level checking.
4176 * libc/posix/Makefile.in: Regenerated.
4177 * libc/posix/telldir.c: Add EL/IX level checking.
4178 * libc/reent/Makefile.am: Ditto.
4179 * libc/reent/fstat64r.c: Ditto.
4180 * libc/reent/lseek64r.c: Ditto.
4181 * libc/reent/open64r.c: Ditto.
4182 * libc/reent/Makefile.in: Regenerated.
4183 * libc/search/Makefile.am: Add EL/IX level checking.
4184 * libc/search/Makefile.in: Regenerated.
4185 * libc/stdio/Makefile.am: Add EL/IX level checking.
4186 * libc/stdio/Makefile.in: Regenerated.
4187 * libc/stdio64/Makefile.am: Add EL/IX level checking.
4188 * libc/stdio64/Makefile.in: Regenerated.
4189 * libc/stdio64/dummy.c: New file.
9b487837 4190 * libc/stdio64/fgetpos64.c: Fix so _LARGE64_FILES macro is checked
90b65e2d
JJ
4191 after first include.
4192 * libc/stdio64/fopen64.c: Ditto.
4193 * libc/stdio64/freopen64.c: Ditto.
4194 * libc/stdio64/fseeko64.c: Ditto.
4195 * libc/stdio64/fsetpos64.c: Ditto.
4196 * libc/stdio64/ftello64.c: Ditto.
4197 * libc/stdio64/tmpfile64.c: Ditto.
4198 * libc/stdlib/Makefile.am: Add EL/IX level checking.
4199 * libc/stdlib/Makefile.in: Regenerated.
4200 * libc/stdlib/mstats.c: Add EL/IX level checking.
4201 * libc/string/Makefile.am: Ditto.
4202 * libc/string/Makefile.in: Regenerated.
4203 * libc/sys/linux/Makefile.am: Add EL/IX level checking.
4204 * libc/sys/linux/Makefile.in: Regenerated.
4205 * libc/sys/linux/aclocal.m4: Ditto.
4206 * libc/sys/linux/configure: Ditto.
4207 * libc/sys/linux/aio.c: Add EL/IX level checking.
4208 * libc/sys/linux/ftok.c: Ditto.
4209 * libc/sys/linux/getdate.c: Ditto.
4210 * libc/sys/linux/ids.c: Ditto.
4211 * libc/sys/linux/inode.c: Ditto.
4212 * libc/sys/linux/io.c: Ditto.
4213 * libc/sys/linux/process.c: Ditto.
4214 * libc/sys/linux/resource.c: Ditto.
4215 * libc/sys/linux/sched.c: Ditto.
4216 * libc/sys/linux/sig.c: Ditto.
4217 * libc/sys/linux/termios.c: Ditto.
4218 * libc/sys/linux/wait.c: Ditto plus add __waitpid and
4219 __libc___waitpid weak aliases.
4220 * libc/sys/linux/machine/i386/syscall.h: Add new _base macros
4221 that generate the code for a syscall, but do not create a
4222 weak alias.
4223 * libc/syscalls/Makefile.am: Add EL/IX level checking.
4224 * libc/syscalls/Makefile.in: Regenerated.
4225 * libc/time/tzset_r.c: Change to replace strdup with equivalent
4226 functionality.
4227 * libc/unix/Makefile.am: Add EL/IX level checking.
4228 * libc/unix/Makefile.in: Regenerated.
4229
2e2b268c
CF
42302002-08-26 Christopher Faylor <cgf@redhat.com>
4231
4232 * libc/include/malloc.h: On cygwin, define malloc _r functions as
4233 wrapper macros to standard malloc functions.
4234 * libc/include/stdlib.h: Ditto.
4235 * configure.host: Always define MALLOC_PROVIDED on cygwin.
4236
8d9112f2
TF
42372002-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
4238
4239 * libc/include/langinfo.h: New file.
4240 * libc/include/wchar.h: Likewise.
4241 * libc/include/sys/syslimits.h: Likewise.
4242 * libc/locale/fix_grouping.c: Likewise.
4243 * libc/locale/ldpart.c: Likewise.
4244 * libc/locale/ldpart.h: Likewise.
4245 * libc/locale/lmessages.c: Likewise.
4246 * libc/locale/lmessages.h: Likewise.
4247 * libc/locale/lmonetary.c: Likewise.
4248 * libc/locale/lmonetary.h: Likewise.
4249 * libc/locale/lnumeric.c: Likewise.
4250 * libc/locale/lnumeric.h: Likewise.
4251 * libc/locale/nl_langinfo.3: Likewise.
4252 * libc/locale/nl_langinfo.c: Likewise.
4253 * libc/locale/timelocal.c: Likewise.
4254 * libc/locale/timelocal.h: Likewise.
4255 * libc/stdlib/btowc.c: Likewise.
4256 * libc/stdlib/mbrlen.c: Likewise.
4257 * libc/stdlib/mbrtowc.c: Likewise.
4258 * libc/stdlib/mbsinit.c: Likewise.
4259 * libc/stdlib/mbsrtowcs.c: Likewise.
4260 * libc/stdlib/wcrtomb.c: Likewise.
4261 * libc/stdlib/wcsrtombs.c: Likewise.
4262 * libc/stdlib/wctob.c: Likewise.
4263 * libc/sys/linux/prof-freq.c: Likewise.
4264 * libc/sys/linux/profile.c: Likewise.
4265 * libc/sys/linux/machine/i386/dl-procinfo.c: Likewise.
4266 * libc/sys/linux/machine/i386/dl-procinfo.h: Likewise.
4267 * libc/include/stdlib.h: Change re-entrant functions to take
4268 mbstate_t pointers.
4269 * libc/include/sys/_types.h: Define _mbstate_t.
4270 * libc/include/sys/config.h (MB_LEN_MAX): New macro.
4271 * libc/include/sys/errno.h (EILSEQ): New error code.
4272 * libc/include/sys/reent.h: Include wchar.h. Change reentrant
4273 structure to use mbstate_t.
4274 * libc/locale/Makefile.am (LIB_SOURCES): Add new files.
4275 * libc/machine/powerpc/vfprintf.c: Use mbstate_t.
4276 * libc/machine/powerpc/vfscanf.c: Likewise.
4277 * libc/stdio/getdelim.c: Reallocate buffer only when necessary.
4278 * libc/stdio/vfprintf.c: Likewise.
4279 * libc/stdio/vfscanf.c: Likewise.
4280 * libc/stdlib/Makefile.am (LIB_SOURCES): Add new files.
4281 * libc/stdlib/mblen.c: Use mbstate_t.
4282 * libc/stdlib/mblen_r.c: Likewise.
4283 * libc/stdlib/mbstowcs.c: Likewise.
4284 * libc/stdlib/mbstowcs_r.c: Likewise.
4285 * libc/stdlib/mbtowc.c: Likewise.
4286 * libc/stdlib/mbtowc_r.c: Likewise.
4287 * libc/stdlib/wcstombs.c: Likewise.
4288 * libc/stdlib/wcstombs_r.c: Likewise.
4289 * libc/stdlib/wctomb_r.c: Likewise.
4290 * libc/sys/linux/Makefile.am (LIB_SOURCES): Add prof-freq.c and
4291 profile.c.
4292 * libc/sys/linux/machine/i386/Makefile.am (LIB_SOURCES): Add
4293 dl-procinfo.c.
4294 * libc/sys/linux/sys/errno.h (EILSEQ): New error code.
4295 * libc/sys/linux/sys/types.h (off_t): Define type.
4296 * testsuite/newlib.locale/UTF-8.c: Change locale name from UTF-8
4297 to C-UTF-8.
4298 * testsuite/newlib.locale/UTF-8.exp: Likewise.
4299
fe47ea33
JJ
43002002-08-20 Casper S. Hornstrup <chorns@users.sourceforge.net>
4301
4302 * libc/stdlib/mallocr.c: #include windows.h on Win32.
4303 (AlignPage): Continue macro on next line.
4304
ada73509
JJ
43052002-08-19 Jeff Johnston <jjohnstn@redhat.com>
4306
4307 * libc/sys/linux/include/pthread.h: New file.
4308
64b5e8f2
JJ
43092002-08-19 Jeff Johnston <jjohnstn@redhat.com>
4310
4311 * libc/include/sys/types.h: Support __need_inttypes macro
4312 that only sets the __intxx and __uintxx types.
4313 * libc/machine/powerpc/Makefile.am: Add stdlib to include directories
4314 to get mprec.h.
4315 * libc/machine/powerpc/Makefile.in: Regenerated.
4316 * libc/machine/powerpc/vfprintf.c: Fix state variable type.
4317 * libc/machine/powerpc/vfscanf.c: Fix state variable type. Remove
4318 redundant fixed-point conversion prototypes.
4319 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Include <sys/types.h>
4320 after setting __need_inttypes.
4321
a94b60ce
CF
43222002-08-18 Christopher Faylor <cgf@redhat.com>
4323
4324 * libc/include/sys/unistd.h: Add getsid declaration for cygwin.
4325
29e17a86
JJ
43262002-08-17 Jeff Johnston <jjohnstn@redhat.com>
4327
4328 * libc/include/sys/config.h[__PPC__][__SPE__]: Set
4329 _LONG_DOUBLE to double.
4330
936b520f
JJ
43312002-08-17 Jeff Johnston <jjohnstn@redhat.com>
4332
4333 * configure.host: Add powerpc*-*-eabispe* configuration.
4334 * libc/machine/powerpc/atosfix16.c: New fixed-point conversion file.
4335 * libc/machine/powerpc/atosfix32.c: Ditto.
4336 * libc/machine/powerpc/atosfix64.c: Ditto.
4337 * libc/machine/powerpc/atoufix16.c: Ditto.
4338 * libc/machine/powerpc/atoufix32.c: Ditto.
4339 * libc/machine/powerpc/atoufix64.c: Ditto.
4340 * libc/machine/powerpc/fix64.h: Ditto.
4341 * libc/machine/powerpc/simdldtoa.c: Ditto.
4342 * libc/machine/powerpc/strtosfix16.c: Ditto.
4343 * libc/machine/powerpc/strtosfix32.c: Ditto.
4344 * libc/machine/powerpc/strtosfix64.c: Ditto.
4345 * libc/machine/powerpc/strtoufix16.c: Ditto.
4346 * libc/machine/powerpc/strtoufix32.c: Ditto.
4347 * libc/machine/powerpc/strtoufix64.c: Ditto.
4348 * libc/machine/powerpc/ufix64toa.c: Ditto.
4349 * libc/machine/powerpc/configure.in: Add check for
4350 powerpc*-eabispe and add fixed-point conversion functions.
4351 * libc/machine/powerpc/configure: Regenerated.
4352 * libc/machine/powerpc/vfprintf.c[__SPE__]: Add support for
4353 %r and %R format specifiers which handle fixed-point data.
4354 * libc/machine/powerpc/vfscanf.c[__SPE__]: Ditto.
4355 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Add fixed-point
4356 function prototypes.
4357
ad552766
JJ
43582002-08-17 Jeff Johnston <jjohnstn@redhat.com>
4359
4360 * Makefile.am: Move cmath stuff into libc/sys/linux.
4361 * Makefile.in: Regenerated.
4362 * configure.host: Default -DMB_CAPABLE for x86-linux.
4363 * libc/include/reent.h: Define _sbrk to take signed int argument.
4364 * libc/include/sys/unistd.h: Ditto for _sbrk_r and sbrk.
4365 * libc/locale/locale.c[MB_CAPABLE]: Add LC_MESSAGES support and
4366 make locale name checking more efficient. Also allow "C-ISO-8859-1"
4367 locale for LC_CTYPE and LC_MESSAGES.
4368 * libc/reent/sbrkr.c: Change prototype to take ptrdiff_t.
4369 * libc/sys/linux/brk.c: Change sbrk prototype.
4370 * libc/sys/linux/include/time.h: Remove Cygwin stuff and
4371 include <sys/features.h>.
4372 (CLOCK_THREAD_CPUTIME): Renamed to CLOCK_THREAD_CPUTIME_ID.
4373 (CLOCK_PROCESS_CPUTIME): Renamed to CLOCK_PROCESS_CPUTIME_ID.
4374 * libc/sys/linux/sys/cdefs.h: Replace with glibc sys/cdefs.h
4375 with a few local additions.
4376 * libc/sys/linux/sys/features.h: New file.
4377 * libc/sys/linux/sys/unistd.h: Change _sbrk_r and sbrk prototypes
4378 to take signed argument.
4379 * libc/syscalls/syssbrk.c: Change sbrk, _sbrk_r, and _sbrk
4380 prototypes to take signed size argument.
4381
d3bd3632
TF
43822002-08-16 Thomas Fitzsimmons <fitzsim@redhat.com>
4383
4384 * libc/sys/linux/cmath: New directory.
4385 * libc/sys/linux/include/cmathcalls.h: New file.
4386 * libc/sys/linux/include/complex.h: New file.
4387 * libc/sys/linux/machine/i386/huge_val.h: New file
4388 * libm/math/w_sincos.c: New file
4389 * libm/math/wf_sincos.c: New file
4390 * libm/mathfp/s_sincos.c: New file
4391 * libm/mathfp/sf_sincos.c: New file
4392 * Makefile.am (LIBC_OBJECTLISTS): Add cmath/objectlist.awk.in.
4393 * libc/include/math.h: Add sincos and sincosf declarations.
4394 * libc/sys/linux/Makefile.am (SUBDIRS): Add cmath.
4395 (SUBLIBS): Likewise.
4396 * libc/sys/linux/configure.in (AC_OUTPUT): Add cmath.
4397 * libm/math/Makefile.am (src): Add w_sincos.c.
4398 (fsrc): Add wf_sincos.c.
4399 * libm/mathfp/Makefile.am (src): Add s_sincos.c
4400 (fsrc): Add sf_sincos.c.
4401
b3a9676b
JJ
44022002-08-12 Jeff Johnston <jjohnstn@redhat.com>
4403
4404 * libc/sys/linux/machine/i386/crt0.c (__bss_start,_end):
4405 Declare as extern chars and use the address operator to
4406 properly use values set in linker script.
4407
659e7062
JJ
44082002-08-09 Jason Tishler <jason@tishler.net>
4409
4410 * libc/stdlib/mallocr.c: Include <limits.h>.
4411 (request2size): Change macro to do
4412 unsigned long comparisons and avoid signed overflow.
4413 (mALLOc): Add overflow check for the number of bytes to allocate.
4414 (rEALLOc): Ditto.
4415
037240a2
JJ
44162002-08-09 Jeff Johnston <jjohnstn@redhat.com>
4417
4418 * configure.host: Add check for --enable-newlib-io-pos-args
4419 and define WANT_IO_POS_ARGS flag if enabled. Define
4420 the flag by default for x86-linux configurations.
4421 * configure.in: Add support for --enable-newlib-io-pos-args.
4422 * libc/configure.in: Ditto.
4423 * configure: Regenerated.
4424 * libc/configure: Ditto.
4425 * libc/stdio/Makefile.am: Specify -fshort-enums for compiling
4426 vfprintf.c and vfiprintf.c.
4427 * libc/stdio/Makefile.in: Regenerated.
4428 * libc/stdio/vfprintf.c: Add positional argument support that
4429 is enabled by compiling with -DWANT_IO_POS_ARGS.
4430
172fda76
RS
44312002-08-07 Richard Sandiford <rsandifo@redhat.com>
4432
4433 * libc/include/machine/setjmp.h: For mips, define _JBLEN based
4434 based on __mips_soft_float rather than __mips64.
4435 * libc/machine/mips/setjmp.S: Provide hard and soft float versions
4436 of both 32-bit and 64-bit code.
4437
4866247e
CF
44382002-08-04 Christopher Faylor <cgf@redhat.com>
4439
4440 * libc/stdio/popen.c (popen): Allow "rb", "rt", "wb", and "wt"
4441 arguments for popen to match similar functionality in fopen.
4442
b96332ce
CV
44432002-07-29 Pierre Humblet <pierre.humblet@ieee.org>
4444
4445 * libc/include/sys/unistd.h: Add setgroups prototype for Cygwin.
4446
60d99bce
JJ
44472002-07-29 Jeff Johnston <jjohnstn@redhat.com>
4448
4449 * libc/sys/linux/Makefile.am: Add aio64.c.
4450 * libc/sys/linux/Makefile.in: Regenerated.
4451 * libc/sys/linux/aio.c (aio_init): ENOSYS stub added.
4452 * libc/sys/linux/aio64.c: New file.
4453
80a21be0
JJ
44542002-07-26 Jeff Johnston <jjohnstn@redhat.com>
4455
4456 * libc/include/sys/param.h (MAX, MIN): Added macros.
4457 * libc/sys/linux/Makefile.am: Add new files.
4458 * libc/sys/linux/Makefile.in: Regenerated.
4459 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
4460 * libc/sys/linux/inode.c (fchdir): Added syscall.
4461 * libc/sys/linux/ftw.c: New file.
4462 * libc/sys/linux/ftw64.c: Ditto.
4463 * libc/sys/linux/getwd.c: Ditto.
4464 * libc/sys/linux/scandir64.c: Ditto.
4465 * libc/sys/linux/strverscmp.c: Ditto.
4466 * libc/sys/linux/versionsort.c: Ditto.
4467 * libc/sys/linux/versionsort64.c: Ditto.
4468
6b6425cb
JJ
44692002-07-26 Jeff Johnston <jjohnstn@redhat.com>
4470
4471 * libc/string/strings.tex: Fix typo for memccpy.
4472
dc8ac8e6
JJ
44732002-07-25 Jeff Johnston <jjohnstn@redhat.com>
4474
4475 * libc/sys/linux/io64.c (truncate64, ftruncate64): Added.
4476 * libc/sys/linux/sys/types.h (off64_t): Definition added.
4477
aa0ca6fd
JJ
44782002-07-25 Jeff Johnston <jjohnstn@redhat.com>
4479
4480 * libc/sys/linux/Makefile.am: Add fclean.c.
4481 * libc/sys/linux/Makefile.in: Regenerated.
4482 * libc/sys/linux/fclean.c: New file.
4483
61921945
JJ
44842002-07-25 Jeff Johnston <jjohnstn@redhat.com>
4485
4486 * libc/sys/linux/Makefile.am: Add confstr.c.
4487 * libc/sys/linux/Makefile.in: Regenerated.
4488 * libc/sys/linux/confstr.c: New file.
4489 * libc/sys/linux/confstr.h: Ditto.
4490 * libc/sys/linux/sys/unistd.h: Include <features.h> and
4491 <bits/environments.h>.
4492
3d966a92
JJ
44932002-07-25 Jeff Johnston <jjohnstn@redhat.com>
4494
4495 * libc/sys/linux/config.h (__set_errno): Macro definition removed.
4496 * libc/sys/linux/fpathconf.c (__set_errno): Ditto.
4497 * libc/sys/linux/libc-internal.h (__set_errno): Ditto.
4498 * libc/sys/linux/pathconf.c (__set_errno): Ditto.
4499 * libc/sys/linux/ttyname_r.c (__set_errno): Ditto.
4500 * libc/sys/linux/sys/errno.h (__set_errno): Macro definition added.
4501
53b5bff7
JJ
45022002-07-24 Jeff Johnston <jjohnstn@redhat.com>
4503
4504 * libc/sys/linux/Makefile.am: Add new files.
4505 * libc/sys/linux/Makefile.in: Regenerated.
4506 * libc/sys/linux/fstab.c: New file.
4507 * libc/sys/linux/fstatvfs.c: Ditto.
4508 * libc/sys/linux/fstatvfs64.c: Ditto.
4509 * libc/sys/linux/internal_statvfs.c: Ditto.
4510 * libc/sys/linux/mntent.c: Ditto.
4511 * libc/sys/linux/mntent_r.c: Ditto.
4512 * libc/sys/linux/statvfs.c: Ditto.
4513 * libc/sys/linux/statvfs64.c: Ditto.
4514 * libc/sys/linux/include/paths.h: Ditto.
4515 * libc/sys/linux/inode.c (statfs, fstatfs): New syscalls
4516 with double-underscore weak-aliases.
4517 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
4518
9cef8ef5
JJ
45192002-07-24 Jeff Johnston <jjohnstn@redhat.com>
4520
4521 * libc/include/signal.h (SIG_IGN, SIG_DFL, SIG_ERR): Change
4522 to use _sig_func_ptr type casted constants.
4523 (_sig_func_ptr): Typedef moved to sys/signal.h.
4524 * libc/include/sys/signal.h (_sig_func_ptr): Typedef added.
4525 For __rtems, use POSIX definition, otherwise default to ANSI.
4526 * libc/sys/linux/sys/signal.h (_sig_func_ptr): Typedef added.
4527
a703e0f2
JJ
45282002-07-24 Stephane Carrez <stcarrez@nerim.fr>
4529
4530 * configure.host: Recognize m6811-elf and m6812-elf targets.
4531 * libc/include/machine/setjmp.h (_JBLEN): Define for 68hc11/68hc12.
4532 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Define for 68HC11.
4533 (_DOUBLE_IS_32BITS): Define when compiling with -fshort-double.
4534 * libc/include/sys/config.h (INT_MAX, UINT_MAX): Define
4535 according to __INT_MAX__.
4536 (_POINTER_INT): Define to short.
4537 * libc/machine/m68hc11/Makefile.am: New file.
4538 * libc/machine/m68hc11/Makefile.in: New file.
4539 * libc/machine/m68hc11/configure.in: New file.
4540 * libc/machine/m68hc11/configure: New file.
4541 * libc/machine/m68hc11/aclocal.m4: New file.
4542 * libc/machine/m68hc11/setjmp.S: New file.
4543
d254189b
JJ
45442002-07-23 Jeff Johnston <jjohnstn@redhat.com>
4545
4546 * libc/include/string.h: Add mempcpy, strndup, and _strndup_r
4547 prototypes.
4548 * libc/stdlib/Makefile.am: Remove strdup.c and strdup_r.c.
4549 * libc/stdlib/Makefile.in: Regenerated.
4550 * libc/stdlib/strdup.c: Removed.
4551 * libc/stdlib/strdup_r.c: Removed.
4552 * libc/string/Makefile.am: Add strdup.c, strdup_r.c, memccpy.c,
4553 mempcpy.c, strndup.c, and strndup_r.c.
4554 * libc/string/Makefile.in: Regenerated.
4555 * libc/string/memccpy.c: New file.
4556 * libc/string/mempcpy.c: Ditto.
4557 * libc/string/strndup.c: Ditto.
4558 * libc/string/strndup_r.c: Ditto.
4559 * libc/string/strdup.c: New file moved from stdlib.
4560 * libc/string/strdup_r.c: Ditto.
4561 * libc/string/strings.tex: Add memccpy and mempcpy documentation.
4562
bc100655
JJ
45632002-07-23 Jeff Johnston <jjohnstn@redhat.com>
4564
4565 * libc/include/stdio.h: Move fcloseall prototype within
4566 #ifndef _REENT_ONLY section.
4567 * libc/sys/linux/Makefile.am: Add new files.
4568 * libc/sys/linux/Makefile.in: Regenerated.
4569 * libc/sys/linux/sys/stdio.h: Add ctermid prototype.
4570 * libc/sys/linux/sys/unistd.h: Add ttyname_r prototype.
4571 * libc/sys/linux/sys/types.h: Add ino64_t type.
4572 * libc/sys/linux/ctermid.c: New file.
4573 * libc/sys/linux/ttyname_r.c: Ditto.
4574 * libc/sys/linux/readdir64.c: Ditto.
4575
f5f27f07
JJ
45762002-07-22 Jeff Johnston <jjohnstn@redhat.com>
4577
4578 * libc/include/stdio.h (fcloseall, _fcloseall_r): Added prototypes.
4579 * libc/stdio/Makefile.am: Added fcloseall.c support.
4580 * libc/stdio/Makefile.in: Regenerated.
4581 * libc/stdio/fcloseall.c: New file.
4582 * libc/stdio64/Makefile.am: Remove missing .def references.
4583 * libc/stdio64/Makefile.in: Regenerated.
4584
d541ba3e
JJ
45852002-07-22 Jeff Johnston <jjohnstn@redhat.com>
4586
4587 * libc/machine/powerpc/time.c: Removed..renamed to times.c.
4588 * libc/machine/powerpc/times.c: New file.
4589 * libc/machine/powerpc/Makefile.am: Change time.c to times.c.
4590 * libc/machine/powerpc/Makefile.in: Regenerated.
4591
45922002-07-22 Aldy Hernandez <aldyh@redhat.com>
e964bca8
JJ
4593
4594 * libc/machine/powerpc/time.c: New file.
4595 * libc/machine/powerpc/Makefile.am (lib_a_SOURCES): Add
4596 time.c.
4597 * libc/machine/powerpc/Makefile.in: Regenerated.
4598
5e7d0a55
TF
45992002-07-22 Thomas Fitzsimmons <fitzsim@redhat.com>
4600
4601 * libc/libc.texinfo: Change copyright notices to Red Hat from
4602 Cygnus.
4603 * libm/libm.texinfo: Likewise.
4604 * README: Change docs URL to
4605 http://sources.redhat.com/newlib/docs.html.
4606
504628e7
JJ
46072002-07-19 Jeff Johnston <jjohnstn@redhat.com>
4608
4609 * libc/sys/linux/Makefile.am: Add pathconf.c and fpathconf.c.
4610 * libc/sys/linux/Makefile.in: Regenerated.
4611 * libc/sys/linux/inode.c: Add chmod, fchmod, and chown syscalls.
4612 * libc/sys/linux/io.c: Add ftruncate syscall.
4613 * libc/sys/linux/fpathconf.c: New file.
4614 * libc/sys/linux/pathconf.c: Ditto.
4615 * libc/sys/linux/linux_fsinfo.h: Ditto.
4616 * libc/sys/linux/sys/unistd.h: Ditto.
4617
b155ad9f
JJ
46182002-07-19 Jeff Johnston <jjohnstn@redhat.com>
4619
4620 * libc/stdio64/Makefile.am: Remove missing files.
4621 * libc/stdio64/Makefile.in: Regenerated.
4622
c119e0ab
JJ
46232002-07-19 Jeff Johnston <jjohnstn@redhat.com>
4624
4625 * libc/include/sys/config.h[__i386__][__linux__]: Define
4626 _LARGE64FILE_SOURCE to 1.
4627 * libc/sys/linux/Makefile.am: Add getrlimit64.c and setrlimit64.c.
4628 * libc/sys/linux/Makefile.in: Regenerated.
4629 * libc/sys/linux/resource.c: Add __getrlimit and __setrlimit aliases.
4630 * libc/sys/linux/sys/linux_time.h: Protect struct timeval definition.
4631 * libc/sys/linux/sys/resource.h: Include <bits/resource.h> instead
4632 of <linux/resource.h>.
4633 * libc/sys/linux/getrlimit64.c: New file.
4634 * libc/sys/linux/setrlimit64.c: Ditto.
4635
9b022d6d
TF
46362002-07-19 Thomas Fitzsimmons <fitzsim@redhat.com>
4637
4638 * libc/argz/argz_replace.c: Include buf_findstr.h.
4639 * libc/argz/buf_findstr.c: Likewise.
4640 * libc/argz/envz_entry.c: Include buf_findstr.h. Cast return
4641 value to (char *).
4642 * libc/argz/envz_get.c: Likewise.
4643 * libc/include/sys/unistd.h: Add getopt and getsubopt declarations.
4644 * libc/stdlib/Makefile.am (LIB_SOURCES): Add getsubopt.c.
4645 * libc/stdlib/getsubopt.3: New file.
4646 * libc/stdlib/getsubopt.c: New file.
4647 * libc/sys/linux/machine/i386/socketcall.h (__sockcall_base):
4648 Change esp to ebp.
4649
dee51391
JJ
46502002-07-17 Jeff Johnston <jjohnstn@redhat.com>
4651
4652 * configure.host(stdio64_dir): New setting that is used to
4653 enable building of new stdio64 directory.
4654 * libc/Makefile.am[HAVE_STDIO64_DIR]: Add support for
4655 large files.
4656 (stmp-stdio64,stdio64.texi): New targets to optionally add in
4657 stdio64 info to info files.
4658 * libc/Makefile.in: Regenerated.
4659 * libc/configure: Ditto.
4660 * libc/configure.in: Add configuration variables that are set
4661 when stdio64 is selected as subdir in configure.host.
4662 * libc/libc.texinfo: Add optional menu item for Stdio64, based
4663 on whether STDIO64 flag is set or not.
4664 * libc/sys.tex: Add optional stdio64 syscalls based on whether
4665 STDIO64 flag is set or not.
4666 * libc/include/reent.h[__LARGE64_FILES]: Add new stdio64
4667 _r sycall routines.
4668 * libc/include/stdio.h[__LARGE64_FILES]: Add new stdio64 prototypes.
4669 (FILE): Typedef'd to __FILE instead of struct __sFILE directly.
4670 (__SL64): New file flag indicating file is opened via fopen64.
4671 * libc/include/sys/_types.h(_off64_t): Added.
4672 * libc/include/sys/config.h: For x86-linux, define __LARGE64_FILES.
4673 * libc/include/sys/reent.h(struct __sFILE64): New file structure
4674 for 64-bit offset large file support.
4675 (__FILE): New intermediate type either set to struct __sFILE64 or
4676 struct __sFILE, depending on whether __LARGE64_FILES is set or not.
4677 * libc/reent/Makefile.am[HAVE_STDIO64_DIR]: Add new files.
4678 * libc/reent/Makefile.in: Regenerated.
4679 * libc/reent/fstat64r.c: New file.
4680 * libc/reent/lseek64r.c: Ditto.
4681 * libc/reent/open64r.c: Ditto.
4682 * libc/reent/reent.tex: Optionally add stdio64 reentrant syscalls
4683 based on whether STDIO64 flag is set.
4684 * libc/stdio/stdio.tex: Add blank line.
4685 * libc/stdio64/Makefile.am: New file.
4686 * libc/stdio64/Makefile.in: Ditto.
4687 * libc/stdio64/fgetpos64.c: Ditto.
4688 * libc/stdio64/fopen64.: Ditto.
4689 * libc/stdio64/freopen64.c: Ditto.
4690 * libc/stdio64/fseeko64.c: Ditto.
4691 * libc/stdio64/fsetpos64.c: Ditto.
4692 * libc/stdio64/ftello64.c: Ditto.
4693 * libc/stdio64/local64.h: Ditto.
4694 * libc/stdio64/stdio64.c: Ditto.
4695 * libc/stdio64/stdio64.tex: Ditto.
4696 * libc/stdio64/tmpfile64.c: Ditto.
4697 * libc/sys/linux/io64.c: Add weak aliases for lseek64, fstat64, and
4698 open64.
4699
778876f6
JJ
47002002-07-16 Jeff Johnston <jjohnstn@redhat.com>
4701
4702 * libc/Makefile.am (stmp-extra): New target to set makeinfo flag
4703 if LIBC_EXTRA_LIB is present.
4704 * libc/Makefile.in: Regenerated.
4705 * libc/libc.texinfo: Add blank line.
4706 * libc/argz/Makefile.am: Add doc support.
4707 * libc/search/Makefile.am: Ditto.
4708 * libc/argz/Makefile.in: Regenerated.
4709 * libc/search/Makefile.in: Ditto.
4710 * libc/misc/misc.tex: Add ffs function.
4711 * libc/stdio/ftell.c: Fix missing doc delimeter in description.
4712
37981145
JJ
47132002-07-15 Jeff Johnston <jjohnstn@redhat.com>
4714
4715 * libc/include/sys/config.h[__H8300__]: Replace __SMALL_BITFIELDS
4716 definition that was removed in error.
4717
38b5dc59
JJ
47182002-07-15 Jeff Johnston <jjohnstn@redhat.com>
4719
4720 * libc/include/machine/ieeefp.h: Change to only define
4721 floating point defines (e.g one of __IEEE_BIG_ENDIAN or
4722 __IEEE_LITTLE_ENDIAN must be defined for each platform).
4723 * libc/include/sys/config.h: Include <machine/ieeefp.h> and
4724 remove redundant floating point definitions.
4725
8cb61a96
JJ
47262002-07-15 Jeff Johnston <jjohnstn@redhat.com>
4727
4728 * libc/sys/linux/callocr.c: Fix so code references
4729 calloc.
4730
edba3282
JJ
47312002-07-15 Jeff Johnston <jjohnstn@redhat.com>
4732
4733 * libc/sys/linux/Makefile.am: Add new files.
4734 * libc/sys/linux/Makefile.in: Regenerated.
4735 * libc/sys/linux/bp-sym.h: Moved to include directory.
4736 * libc/sys/linux/mmap.c: Add weak aliases: __mmap, __munmap, __mremap.
4737 * libc/sys/linux/inode.c: Set _LIBC to 1.
4738 * libc/sys/linux/mq_close.c: Ditto.
4739 * libc/sys/linux/mq_getattr.c: Ditto.
4740 * libc/sys/linux/mq_open.c: Ditto.
4741 * libc/sys/linux/mq_receive.c: Ditto.
4742 * libc/sys/linux/mq_send.c: Ditto.
4743 * libc/sys/linux/mq_setattr.c: Ditto.
4744 * libc/sys/linux/mq_unlink.c: Ditto.
4745 * libc/sys/linux/calloc.c: New file.
4746 * libc/sys/linux/callocr.c: Ditto.
4747 * libc/sys/linux/cfreer.c: Ditto.
4748 * libc/sys/linux/config.h: Ditto.
4749 * libc/sys/linux/free.c: Ditto.
4750 * libc/sys/linux/freer.c: Ditto.
4751 * libc/sys/linux/msize.c: Ditto.
4752 * libc/sys/linux/msizer.c: Ditto.
4753 * libc/sys/linux/mstats.c: Ditto.
4754 * libc/sys/linux/mtrim.c: Ditto.
4755 * libc/sys/linux/mtrimr.c: Ditto.
4756 * libc/sys/linux/pvallocr.c: Ditto.
4757 * libc/sys/linux/realloc.c: Ditto.
4758 * libc/sys/linux/reallocr.c: Ditto.
4759 * libc/sys/linux/thread-m.h: Ditto.
4760 * libc/sys/linux/vallocr.c: Ditto.
4761 * libc/sys/linux/bp-checks.h: Ditto.
4762 * libc/sys/linux/libc-symbols.h: Ditto.
4763 * libc/sys/linux/libc-tsd.h: Ditto.
4764 * libc/sys/linux/libintl.h: Ditto.
4765 * libc/sys/linux/malign.c: Ditto.
4766 * libc/sys/linux/malignr.c: Ditto.
4767 * libc/sys/linux/mallinfor.c: Ditto.
4768 * libc/sys/linux/malloc.c: Ditto.
4769 * libc/sys/linux/mallocr.c: Ditto.
4770 * libc/sys/linux/malloptr.c: Ditto.
4771 * libc/sys/linux/mallstatsr.c: Ditto.
4772 * libc/sys/linux/mcheck.c: Ditto.
4773 * libc/sys/linux/mhooks.h: Ditto.
4774 * libc/sys/linux/include/bp-sym.h: Ditto.
4775 * libc/sys/linux/include/malloc.h: Ditto.
4776 * libc/sys/linux/include/mcheck.h: Ditto.
4777 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Remove
4778 getpagesize.c.
4779 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerated.
4780 * libc/sys/linux/linuxthreads/machine/i386/getpagesize.c: Moved.
4781 * libc/sys/linux/machine/i386/getpagesize.c: New file.
4782 * libc/sys/linux/machine/i386/Makefile.am: Add getpagesize.c.
4783 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
4784 * libc/sys/linux/machine/i386/sysdep.h: New file.
4785 * libc/sys/linux/machine/i386/weakalias.h: Add weak_function support.
4786 * libc/sys/linux/sys/dirent.h: Set _LIBC to 1.
4787 * libc/sys/linux/sys/lock.h: Include <machine/weakalias.h>.
4788
ea20b60a
JJ
47892002-07-12 Jeff Johnston <jjohnstn@redhat.com>
4790
4791 * libc/sys/linux/include/mqueue.h: Change to use <bits/siginfo.h>
4792 instead of <asm/siginfo.h>.
4793 * libc/sys/linux/sys/signal.h: Change to include various linux
4794 <bits/xxx.h> header files, rather than <linux/signal.h> so as
4795 to work with multiple releases of glibc header files.
4796
2fc82912
JJ
47972002-07-11 Chris Demetriou <cgd@broadcom.com>
4798
4799 * testsuite/newlib.search/hsearchtest.c: New file to test
4800 newlib/libc/search.
4801 * testsuite/newlib.search/hsearchtest.exp: Likewise.
4802
4a404e97 48032002-07-10 Florian Schrack <florian.schrack@freenet.de>
2a8b4ea3
JJ
4804
4805 * libc/sys/mmixware/read.c: Use SYS_Fgets syscall if dealing with
4806 a terminal.
4807 * libc/sys/mmixware/sys/syscall.h (SYS_Fgets): Definition added.
4808
6aec558e
JJ
48092002-07-08 Jeff Johnston <jjohnstn@redhat.com>
4810
4811 * libc/include/math.h (MAXFLOAT): Added.
4812
e47e6f0e 4813Mon Jul 8 13:55:23 2002 J"orn Rennecke <joern.rennecke@superh.com>
a31df303
JR
4814
4815 * libc/machine/sh/Makefile.am (lib_a_SOURCES):
4816 Make strcmp.S unconditional.
4817 * libc/machine/sh/Makefile.in: Regenerate.
4818 * libc/machine/sh/asm.h (DELAYED_BRANCHES, SL): Also for __SH5__ .
4819 * strcmp.S (strcmp): Add SHmedia variant. Use different registers
4820 for SHcompact.
4821
89ffbd66
JJ
48222002-07-04 Jeff Johnston <jjohnstn@redhat.com>
4823
4824 * libc/sys/linux/inode.c: Fix utime prototype and add _LIBC
4825 define before including <sys/lock.h>.
4826
ae6c4c84
JJ
48272002-07-04 Jeff Johnston <jjohnstn@redhat.com>
4828
4829 * libc/include/utime.h: Add include of <_ansi.h>.
4830 * libc/sys/linux/Makefile.am: Add utimes.c.
4831 * libc/sys/linux/Makefile.in: Regenerated.
4832 * libc/sys/linux/inode.c(__umask): New static routine.
4833 (umask): Written to use __umask and attempt to thread lock.
4834 (getumask): New function written to use __umask and thread lock.
4835 * libc/sys/linux/utimes.c: New file.
4836 * libc/sys/linux/sys/time.h: Fix utimes prototype.
4837 * libc/sys/linux/sys/utime.h: New file.
4838
a6cac46c
TF
48392002-07-04 Thomas Fitzsimmons <fitzsim@redhat.com>
4840
4841 * libtool.m4: New file.
4842 * libc/sys/linux/process.c: Implement vfork in terms of fork,
4843 rather than as a syscall.
4844
30b2092f
JJ
48452002-07-04 Jeff Johnston <jjohnstn@redhat.com>
4846
4847 * libc/include/stdio.h: Add new prototypes.
4848 * libc/stdio/Makefile.am: Add fseeko.c and ftello.c.
4849 * libc/stdio/Makefile.in: Regenerated.
4850 * libc/stdio/fseek.c: Add fseeko documentation.
4851 * libc/stdio/ftell.c: Add ftello documentation.
4852 * libc/stdio/fseeko.c: New file.
4853 * libc/stdio/ftello.c: New file.
4854
7501704d
JJ
48552002-07-04 Jeff Johnston <jjohnstn@redhat.com>
4856
4857 * libc/stdio/Makefile.am: Add asprintf.c and vasprintf.c.
4858 * libc/stdio/Makefile.in: Regenerated.
4859 * libc/stdio/asprintf.c: New file.
4860 * libc/stdio/vasprintf.c: Ditto.
4861 * libc/stdio/fvwrite.c: Add code to dynamically reallocate
4862 the buffer for asprintf support.
4863 * libc/stdio/sprintf.c: Add asprintf documentation.
4864 * libc/stdio/vfprintf.c: Add vasprintf documentation.
4865 * libc/include/stdio.h: Add new prototypes.
4866
66eee32b
TF
48672002-07-02 Thomas Fitzsimmons <fitzsim@redhat.com>
4868
4869 * libc/search/hcreate.c: Remove advertising clause from license.
4870 * libc/search/hcreate_r.c: Likewise.
4871
cec4a9f8
JJ
48722002-07-02 Chris Demetriou <cgd@broadcom.com>
4873
4874 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN)
4875 (__IEEE_BIG_ENDIAN): Define appropriately for MIPS.
4876 Check that one of them is defined and error out if not.
4877 Add any platforms defined in <machine/ieeefp.h> that are missing.
4878 * libc/search/hash.h (DB_BYTE_ORDER, DB_BIG_ENDIAN)
4879 (DB_LITTLE_ENDIAN): New defines.
4880 * libc/search/hash.c: Replace all incorrect checks for
4881 _IEEE_LITTLE_ENDIAN with tests of BYTE_ORDER, and all uses of
4882 BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN with DB_* versions.
4883 * libc/search/hash_page.c: Likewise.
4884
2d5eb17e
TF
48852002-06-28 Thomas Fitzsimmons <fitzsim@redhat.com>
4886
4887 * libm/mathfp/sf_pow.c (powf): Change k from int to float.
4888
c1a3171f
JJ
48892002-06-27 Benjamin Kosnik <bkoz@redhat.com>
4890
4891 * libc/include/stdio.h: Untangle, add _BEGIN_STD_C and _END_STD_C.
4892 * libc/include/time.h: Same.
4893 * libc/include/string.h: Same.
4894 * libc/include/stdlib.h: Same.
4895 * libc/include/signal.h: Same.
4896 * libc/include/setjmp.h: Same.
4897 * libc/include/math.h: Same.
4898 * libc/include/locale.h: Same.
4899 * libc/include/ctype.h: Same.
4900 * libc/include/machine/setjmp.h: Same.
4901 * libc/include/_ansi.h (_BEGIN_STD_C): Add.
4902 (_END_STD_C): Add.
4903
533b4e66
JJ
49042002-06-27 Jeff Johnston <jjohnstn@redhat.com>
4905
4906 * libc/include/sys/_types.h: Define _ssize_t as int if int is
4907 32-bits, otherwise define it as long.
4908 * libc/include/sys/types.h: Include <_ansi.h> and <sys/_types.h>
4909 and define ssize_t as _ssize_t.
4910 * libc/reent/readr.c: Change return type to _ssize_t.
4911 * libc/reent/writer.c: Ditto.
4912 * libc/sys/linux/Makefile.am: Add aio.c.
4913 * libc/sys/linux/Makefile.in: Regenerated.
4914 * libc/sys/linux/aio.c: New file.
4915 * libc/sys/linux/sys/cdefs.h: Add __restrict_arr definition.
4916 * libm/common/fdlibm.h: Undef __P before defining it.
4917
c36e6dd7
TF
49182002-06-27 Thomas Fitzsimmons <fitzsim@redhat.com>
4919
54be629f
TF
4920 * libm/mathfp/s_pow.c (pow): Fix checks on variable k. Add
4921 exponent_is_even_int variable. Handle case where x is
4922 negative, and y is an odd integer.
4923 * libm/mathfp/sf_pow.c (powf): Likewise.
4924
c36e6dd7
TF
4925 * libm/mathfp/er_lgamma.c: Remove __kernel references.
4926 * libm/mathfp/erf_lgamma.c: Likewise.
4927 * libm/mathfp/s_tgamma.c: Likewise.
4928 * libm/mathfp/sf_tgamma.c: Likewise.
4929
baf051ca
JJ
49302002-06-27 Jeff Johnston <jjohnstn@redhat.com>
4931
4932 * libc/sys/linux/Makefile.am: Add new clock routines.
4933 * libc/sys/linux/Makefile.in: Regenerated.
4934 * libc/sys/linux/clock_getres.c: New file.
4935 * libc/sys/linux/clock_gettime.c: Ditto.
4936 * libc/sys/linux/clock_settime.c: Ditto.
4937 * libc/sys/linux/hp-timing.h: Ditto.
4938 * libc/sys/linux/libc-internal.h: Ditto.
4939 * libc/sys/linux/sysconf.c: Fix typo.
4940 * libc/sys/linux/include/time.h: Add include of <sys/linux_time.h>.
4941 * libc/sys/linux/machine/hp-timing.h: New file.
4942 * libc/sys/linux/machine/i386/Makefile.am: Add new files.
4943 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
4944 * libc/sys/linux/machine/i386/get_clockfreq.c: New file.
4945 * libc/sys/linux/machine/i386/hp-timing.c: Ditto.
4946 * libc/sys/linux/machine/i386/hp-timing.h: Ditto.
4947 * libc/sys/linux/sys/linux_time.h: New file.
4948 * libc/sys/linux/sys/time.h: Remove include of <linux/time.h> and
4949 replace with <sys/linux_time.h>.
4950
0431ed4e
JR
4951Wed Jun 26 16:33:25 2002 J"orn Rennecke <joern.rennecke@superh.com>
4952
4953 * libc/sys/sh/crt0.S: Remove vestigial .section directive.
4954
fc067ba5
JJ
49552002-06-25 Jeff Johnston <jjohnstn@redhat.com>
4956
4957 * libc/sys/linux/Makefile.am: Consolidate additional items under
4958 ADD_OBJS.
4959 * libc/sys/linux/Makefile.in: Regenerated.
4960
ffddf61e
JJ
49612002-06-25 Jeff Johnston <jjohnstn@redhat.com>
4962
4963 * libc/sys/linux/sethostname.c: New file.
4964 * libc/sys/linux/Makefile.am: Add sethostname.c support.
4965 * libc/sys/linux/Makefile.in: Regenerated.
4966
d5487d3f
TF
49672002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
4968
4969 * libc/search/db_local.h: New file.
4970 * libc/include/db.h: Remove.
4971 * libc/search/Makefile.am (LIB_SOURCES): Add db_local.h.
4972 * libc/search/hash.c (MIN,MAX): Add macros. Change <db.h> to
4973 "db_local.h".
4974 * libc/search/hash_bigkey.c: Likewise.
4975 * libc/search/hash_buf.c: Likewise.
4976 * libc/search/hash_func.c: Likewise.
4977 * libc/search/hash_log2.c: Likewise.
4978 * libc/search/hash_page.c: Likewise.
4979
49802002-06-24 J"orn Rennecke <joern.rennecke@superh.com>
e08a6118 4981
1e7ca711 4982 * libc/machine/sh/strlen.S: New file.
e08a6118
JR
4983 * libc/machine/sh/Makefile.am (lib_a_SOURCES): Add rule for it.
4984 * libc/machine/sh/Makefile.am: Regenerate.
4985
59c6d6c4
JJ
49862002-06-24 Jeff Johnston <jjohnstn@redhat.com>
4987
4988 * libc/sys/linux/gethostname.c: Change name to __gethostname and
4989 add gethostname alias.
4990
a70486d7
JJ
49912002-06-24 Jeff Johnston <jjohnstn@redhat.com>
4992
4993 * libc/include/math.h: Remove <sys/types.h>.
a5dadf33 4994 (__dmath): Use __ULong instead of __uint32_t.
a70486d7 4995 * libc/include/sys/reent.h: If long or int is not 32-bits,
a5dadf33 4996 include <sys/types.h> to get definitions for __int32_t and __uint32_t.
a70486d7
JJ
4997 * libc/stdlib/mprec.h: Include <sys/types.h> to get integer defs.
4998 * libm/common/fdlibm.h: Ditto.
4999
3118725a
TF
50002002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
5001
5002 * libc/include/ndbm.h: Remove.
5003 * libc/search/ndbm.c: Remove.
5004
30a06168
TF
50052002-06-24 WATANABE Hirofumi <eban@os.rim.or.jp>
5006
5007 * libc/stdio/fseek.c (fseek): Fix braces.
5008
01f5155e
CV
50092002-06-21 Corinna Vinschen <corinna@vinschen.de>
5010
5011 * libc/time/strftime.c (strftime): Add %e format specifier.
5012
930bc96b
TF
50132002-06-21 Thomas Fitzsimmons <fitzsim@redhat.com>
5014
5015 * libc/search/hash.h (LITTLE_ENDIAN, BIG_ENDIAN): Define if not
5016 previously defined.
5017
55105f86
JJ
50182002-06-21 Richard Earnshaw (rearnsha@arm.com)
5019
5020 * libc/sys/arm/sys/param.h (BIG_ENDIAN, LITTLE_ENDIAN): Define.
5021 (BYTE_ORDER): Define as appropriate for the target.
5022
2e78444a
JJ
50232002-06-21 Jeff Johnston <jjohnstn@redhat.com>
5024
5025 * libc/include/sys/config.h[__linux__]: Set _READ_WRITE_RETURN_TYPE
5026 to _ssize_t.
5027 * libc/sys/linux/io.c (read, write): Change to return ssize_t.
5028
d427d092
JJ
50292002-06-21 Jeff Johnston <jjohnstn@redhat.com>
5030
5031 * libc/include/stdio.h (__getline, __getdelim): New prototypes.
5032 * libc/include/time.h [HAVE_GETDATE](getdate, getdate_r): Ditto.
5033 [HAVE_GETDATE](getdate_err): New error code.
5034 * libc/stdio/Makefile.am: Add support for getline.c and getdelim.c.
5035 * libc/stdio/Makefile.in: Regenerated.
5036 * libc/stdio/getdelim.c: New file.
5037 * libc/stdio/getline.c: Ditto.
5038 * libc/sys/linux/Makefile.am: Add support for getdate.c, getdate_err.c
5039 and ntp_gettime.c. Also add AM_CFLAGS to point to libc/stdio.
5040 * libc/sys/linux/Makefile.in: Regenerated.
5041 * libc/sys/linux/getdate.c: New file.
5042 * libc/sys/linux/getdate_err.c: Ditto.
5043 * libc/sys/linux/ntp_gettime.c: Ditto.
5044 * libc/sys/linux/time.c (adjtimex, ntp_adjtime): New functions.
5045 * libc/sys/linux/sys/stdio.h (getline, getdelim): New macros.
5046
35728d4f
JJ
50472002-06-21 Jeff Johnston <jjohnstn@redhat.com>
5048
5049 * libc/include/math.h: Add <sys/types.h> to get _uint32_t definition.
5050 * libc/include/machine/types.h: Skip __off_t, __pid_t, and
5051 __loff_t definitions if special _HAVE_SYSTYPES macro defined.
5052 * libc/include/sys/config.h: Removed _uint*, _int* definitions.
5053 * libc/include/sys/param.h: Remove i386 case which is handled
5054 by default case.
5055 (BIG_ENDIAN, LITTLE_ENDIAN): Protect
5056 definitions in case they are already defined.
5057 (BYTE_ORDER): Add default case using _IEEE_BIG_ENDIAN and
5058 _IEEE_LITTLE_ENDIAN flags.
5059 * libc/include/sys/reent.h: Change __uint32_t references to
5060 use _ULong instead.
5061 (_REENT_GETDATE_REENT_P): New macro.
5062 * libc/include/sys/types.h (__int16_t, __uint16_t): Added.
5063 (__int32_t, __uint32_t, __int64_t, __uint64_t): Ditto.
5064 * libc/search/hash.h: Add default setting of BYTE_ORDER,
5065 LITTLE_ENDIAN, and BIG_ENDIAN, if not already defined.
5066 * libc/sys/linux/sys/types.h: Include <sys/_types.h>. Define
5067 ssize_t based on _ssize_t. Remove __socklen_t, __uintptr_t,
5068 pid_t, off_t, loff_t, caddr_t, and daddr_t type
5069 definitions which are done by subsequent glibc headers.
5070 Add macro definitions to prevent subsequent header files from
5071 defining pid_t, off_t, ssize_t, and key_t. Move uintptr_t and
5072 intptr_t to after glibc definitions of types they are based on.
5073
4a2bfab7
JJ
50742002-06-21 Jeff Johnston <jjohnstn@redhat.com>
5075
5076 * libc/include/errno.h: Protect from multiple inclusion.
5077
f42d18ea
NC
50782002-06-21 Nick Clifton <nickc@cambridge.redhat.com>
5079
5080 * libc/sys/arm/swi.h (ADP_Stopped_RunTimeError): Set correct value.
5081
a7b23a8f
TF
50822002-06-20 Thomas Fitzsimmons <fitzsim@redhat.com>
5083
5084 * Makefile.am (LIB_OBJECTLISTS): Add
5085 libc/search/objectlist.awk.in.
5086 * libc/Makefile.am (SUBDIRS): Add search.
5087 (SUBLIBS): Add search/libsearch.la.
5088 * libc/configure.in (AC_OUTPUT): Add search/Makefile.
5089 * libc/search: New directory.
5090 * libc/search/Makefile.am: New file.
5091 * libc/search/extern.h: New file.
5092 * libc/search/hash.c: New file.
5093 * libc/search/hash.h: New file.
5094 * libc/search/hash_bigkey.c: New file.
5095 * libc/search/hash_buf.c: New file.
5096 * libc/search/hash_func.c: New file.
5097 * libc/search/hash_log2.c: New file.
5098 * libc/search/hash_page.c: New file.
5099 * libc/search/hcreate.3: New file.
5100 * libc/search/hcreate.c: New file.
a7b23a8f
TF
5101 * libc/search/hcreate_r.c: New file.
5102 * libc/search/ndbm.c: New file.
5103 * libc/search/page.h: New file.
5104 * libc/search/tdelete.c: New file.
5105 * libc/search/tdestroy.c: New file.
5106 * libc/search/tfind.c: New file.
5107 * libc/search/tsearch.3: New file.
5108 * libc/search/tsearch.c: New file.
5109 * libc/search/twalk.c: New file.
5110 * libc/include/db.h: New file.
5111 * libc/include/ndbm.h: New file.
5112 * libc/include/search.h: New file.
5113 * libc/include/sys/queue.h: New file.
5114 * libc/include/sys/cdefs.h: New file.
5115 * libc/include/sys/param.h
5116 [__IEEE_LITTLE_ENDIAN,__IEEE_BIG_ENDIAN]: Set BYTE_ORDER to
5117 LITTLE_ENDIAN or BIG_ENDIAN.
5118 * libc/include/sys/errno.h (EFTYPE): New macro.
5119 * libc/search/bsearch.c: Move from libc/stdlib.
5120 * libc/search/qsort.c: Likewise.
5121 * libc/stdlib/Makefile.am (LIB_SOURCES): Remove bsearch.c and
5122 qsort.c.
5123 (CHEWOUT_FILES): Remove bsearch.def and qsort.def.
5124 * libc/stdlib/stdlib.tex: Remove references to bsearch and qsort.
5125
ef467338
JJ
51262002-06-19 Jeff Johnston <jjohnstn@redhat.com>
5127
5128 * libc/sys/linux/Makefile.am: Add support for message queue routines,
5129 ipc routines, and ftok.
5130 * libc/sys/linux/Makefile.in: Regenerated.
5131 * libc/sys/linux/ftok.c: New file.
5132 * libc/sys/linux/ipc.c: Ditto.
5133 * libc/sys/linux/mq_close.c: Ditto.
5134 * libc/sys/linux/mq_getattr.c: Ditto.
5135 * libc/sys/linux/mq_notify.c: Ditto.
5136 * libc/sys/linux/mq_open.c: Ditto.
5137 * libc/sys/linux/mq_receive.c: Ditto.
5138 * libc/sys/linux/mq_send.c: Ditto.
5139 * libc/sys/linux/mq_setattr.c: Ditto.
5140 * libc/sys/linux/mq_unlink.c: Ditto.
5141 * libc/sys/linux/mqlocal.h: Ditto.
5142 * libc/sys/linux/include/mqueue.h: Ditto.
5143 * libc/sys/linux/sys/types.h: Define __gid_t_defined and
5144 __uid_t_defined.
5145
7f55c08c
TF
51462002-06-19 J"orn Rennecke <joern.rennecke@superh.com>
5147
5148 * libm/common/sf_lround.c (round): Change name to: (lround).
5149 * libm/common/sf_remquo.c (remquo): Pass all arguemnts to
5150 remquof.
5151
c9ca68d7
TF
51522002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
5153
5154 * testsuite/lib/passfail.exp (newlib_pass_fail_all): New
5155 procedure.
5156 (newlib_pass_fail): Change to compile and run only one file.
5157 * testsuite/newlib.locale/locale.exp: Use new
5158 newlib_pass_fail_all procedure.
5159 * testsuite/newlib.string/string.exp: Likewise.
5160
4ecedd09
DB
51612002-06-18 Dave Brolley <brolley@redhat.com>
5162
5163 From Catherine Moore, Michael Meissner, Richard Sandiford:
5164 * libc/include/machine/setjmp.h (_JBLEN): Define for __frv__.
5165 (_JBTYPE): Ditto.
5166 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Ditto.
5167 (__ATTRIBUTE_IMPURE_PTR__): Ditto.
5168 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Ditto.
5169 * configure.host: Support frv-*-*.
5170 * libc/machine/frv/Makefile.am: New file.
5171 * libc/machine/frv/configure.in: New file.
5172 * libc/machine/frv/setjmp.S: New file.
5173
af1c257a
TF
51742002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
5175
5176 * libc/include/ctype.h: Remove isblank macro.
5177
5178 * libc/ctype/Makefile.am (LIB_SOURCES): Add isblank.c.
5179 * libc/ctype/isblank.c: New file.
5180 * libc/include/ctype.h [!__STRICT_ANSI__]: Add isblank
5181 declaration. Add isblank macro.
5182
4e04fa90
JJ
51832002-06-18 Jeff Johnston <jjohnstn@redhat.com>
5184
5185 * testsuite/newlib.stdlib/atexit.c: New file.
5186 * testsuite/newlib.stdlib/atexit.exp: Ditto.
5187 * testsuite/newlib.string/tstring.c: Change default start size
5188 to something more reasonable for embedded platforms.
5189
b56d7e79
TF
51902002-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
5191
ece3c72f
TF
5192 * libc/sys/linux/sys/errno.h (EFTYPE): Add macro.
5193
b56d7e79
TF
5194 * libc/argz: New directory.
5195 * libc/argz/*: New files.
5196 * libc/argz/argz_add.c: New file.
5197 * libc/argz/argz_add_sep.c: New file.
5198 * libc/argz/argz_append.c: New file.
5199 * libc/argz/argz_count.c: New file.
5200 * libc/argz/argz_create.c: New file.
5201 * libc/argz/argz_create_sep.c: New file.
5202 * libc/argz/argz_delete.c: New file.
5203 * libc/argz/argz_extract.c: New file.
5204 * libc/argz/argz_insert.c: New file.
5205 * libc/argz/argz_next.c: New file.
5206 * libc/argz/argz_replace.c: New file.
5207 * libc/argz/argz_stringify.c: New file.
5208 * libc/argz/buf_findstr.c: New file.
5209 * libc/argz/envz_add.c: New file.
5210 * libc/argz/envz_entry.c: New file.
5211 * libc/argz/envz_get.c: New file.
5212 * libc/argz/envz_merge.c: New file.
5213 * libc/argz/envz_remove.c: New file.
5214 * libc/argz/envz_strip.c: New file.
5215 * libc/include/argz.h: New file.
5216 * libc/include/envz.h: New file.
5217 * Makefile.am (LIBC_OBJECTLISTS): Add
5218 libc/argz/objectlist.awk.in.
5219 * libc/Makefile.am (SUBDIRS): Add argz.
5220 (SUBLIBS): Add argz/libargz.la.
5221 * libc/configure.in (AC_OUTPUT): Add argz/Makefile.
5222 * libc/include/errno.h: Add error_t typedef.
5223
d062d3dd
JJ
52242002-06-13 Jeff Johnston <jjohnstn@redhat.com>
5225
5226 * libc/include/stdlib.h: Add _Exit prototype.
5227 * libc/stdlib/Makefile.am: Add _Exit.c support.
5228 * libc/stdlib/Makefile.in: Ditto.
5229 * libc/stdlib/_Exit.c: New file.
5230
a47e66ae
JJ
52312002-06-13 Stephen L. Moshier <steve@moshier.net>
5232
5233 * libm/math/e_pow.c (__ieee754_pow): Fix case whereby
5234 x is close to -1.0 and y is very large to use ax (absolute value)
5235 instead of x.
5236 * libm/math/ef_pow.c (__ieee754_powf): Ditto.
5237
13f7d71f
JR
5238Thu Jun 13 19:23:40 2002 J"orn Rennecke <joern.rennecke@superh.com>
5239
5240 * libc/machine/sh/strcpy.S (strcpy, __SHMEDIA__ code):
5241 Fix clobbering bytes before destination if src and dst have same
5242 non-zero misalignment.
1f1fb421
JR
5243
5244 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
5245 Fixed bug in writing end of set region.
5246
b2e8018f
CF
52472002-06-10 Christopher Faylor <cgf@redhat.com>
5248
5249 * libc/include/process.h: Remove cygwin-only sexec* declarations. Fix
5250 spawnve declaration.
5251
0953fe64
TF
52522002-06-06 Thomas Fitzsimmons <fitzsim@redhat.com>
5253
5254 * libm/common/s_fdim.c: New file.
5255 * libm/common/s_fma.c: Likewise.
5256 * libm/common/s_fmax.c: Likewise.
5257 * libm/common/s_fmin.c: Likewise.
5258 * libm/common/s_fpclassify.c: Likewise.
5259 * libm/common/s_lrint.c: Likewise.
5260 * libm/common/s_lround.c: Likewise.
5261 * libm/common/s_nearbyint.c: Likewise.
5262 * libm/common/s_remquo.c: Likewise.
5263 * libm/common/s_round.c: Likewise.
5264 * libm/common/s_scalbln.c: Likewise.
5265 * libm/common/s_signbit.c: Likewise.
5266 * libm/common/s_trunc.c: Likewise.
5267 * libm/common/sf_fdim.c: Likewise.
5268 * libm/common/sf_fma.c: Likewise.
5269 * libm/common/sf_fmax.c: Likewise.
5270 * libm/common/sf_fmin.c: Likewise.
5271 * libm/common/sf_lrint.c: Likewise.
5272 * libm/common/sf_lround.c: Likewise.
5273 * libm/common/sf_nearbyint.c: Likewise.
5274 * libm/common/sf_remquo.c: Likewise.
5275 * libm/common/sf_round.c: Likewise.
5276 * libm/common/sf_scalbln.c: Likewise.
5277 * libm/common/sf_trunc.c: Likewise.
5278 * libm/math/w_exp2.c: Likewise.
5279 * libm/math/w_tgamma.c: Likewise.
5280 * libm/math/wf_exp2.c: Likewise.
5281 * libm/math/wf_tgamma.c: Likewise.
5282 * libm/mathfp/s_exp2.c: Likewise.
5283 * libm/mathfp/s_tgamma.c: Likewise.
5284 * libm/mathfp/sf_exp2.c: Likewise.
5285 * libm/mathfp/sf_tgamma.c: Likewise.
5286 * libm/math/er_gamma.c: Fix return value.
5287 * libm/math/erf_gamma.c: Likewise.
5288 * libm/mathfp/er_gamma.c: Likewise.
5289 * libm/mathfp/erf_gamma.c: Likewise.
5290 * libc/include/math.h (!__STRICT_ANSI__): Include ISOC99-specific
5291 declarations and macros.
5292 Regenerated all Makefile.in, aclocal.m4 and configure files to
5293 use new libtool macros in top-level libtool.m4
5294
39e65e01
JJ
52952002-06-05 Jeff Johnston <jjohnstn@redhat.com>
5296
5297 * libc/include/string.h[__linux__]: Add strsignal prototype.
5298 * libc/include/sys/lock.h: New file with default locking support.
5299 * libc/include/sys/reent.h: Add signal buffer support for strsignal
5300 and psignal.
5301 * libc/posix/Makefile.am: Add support for readdir_r.c.
5302 * libc/posix/Makefile.in: Regenerated.
5303 * libc/posix/closedir.c: Add locking support and hash table cleanup.
5304 * libc/posix/opendir.c: Add lock support.
5305 * libc/posix/readdir.c: Ditto.
5306 * libc/posix/rewinddir.c: Ditto.
5307 * libc/posix/scandir.c: Ditto.
5308 * libc/posix/seekdir.c: Ditto.
5309 * libc/posix/telldir.c: Ditto plus add _cleanupdir routine to
5310 clean up leftover hash table entries.
5311 * libc/posix/readdir_r.c: New file.
5312 * libc/sys/linux/Makefile.am: Add psignal.c and strsignal.c support.
5313 * libc/sys/linux/Makefile.in: Regenerated.
5314 * libc/sys/linux/sys/dirent.h: Add dd_lock to DIR structure.
5315 * libc/sys/linux/sys/signal.h: Add psignal prototype.
5316 * libc/sys/linux/psignal.c: New file.
5317 * libc/sys/linux/strsignal.c: Ditto.
5318
cc890e89
CV
53192002-06-03 Corinna Vinschen <corinna@vinschen.de>
5320
5321 * libc/include/sys/types.h: Don't define dev_t when compiling for
5322 Cygwin.
5323
ea55e3f7
JJ
53242002-05-31 Jeff Johnston <jjohnstn@redhat.com>
5325
5326 * libc/sys/linux/Makefile.am: Add sig.c and sigaction.c. Also
5327 make siglist.inc dependent on sig.c instead of signal.c.
5328 * libc/sys/linux/Makefile.in: Regenerated.
5329 * libc/sys/linux/sig.c: Rename from signal.c and change code to
5330 use NSIG instead of _NSIG.
5331 * libc/sys/linux/sigaction.c: New file.
5332 * libc/sys/linux/signal.c: Changed to be linux signal() function
5333 so as to override regular newlib default signal.c.
ea55e3f7
JJ
5334 * libc/sys/linux/machine/i386/Makefile.am: Remove sigset.c.
5335 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
5336 * libc/sys/linux/machine/i386/sigset.c: Moved to linux main directory.
5337 * libc/sys/linux/sigset.c: Moved from machine/i386 directory.
5338 * libc/sys/linux/sys/signal.h: Redefine NSIG to _NSIG and override
5339 default linux sigset_t typedef by defining it equal to __sigset_t.
5340 * libc/unix/sigset.c: Add check so code isn't compiled on systems
5341 with a sigset_t that isn't implemented with a single int.
5342
9d362914
JJ
53432002-05-30 Jeff Johnston <jjohnstn@redhat.com>
5344
5345 * libc/sys/linux/Makefile.am: Add support for new files.
5346 * libc/sys/linux/Makefile.in: Regenerated.
5347 * libc/sys/linux/ids.c: Add __getuid weak alias for getuid.
5348 * libc/sys/linux/signal.c: Change to use real-time syscalls for
5349 sigsuspend, sigprocmask, and sigpending. Also remove sigaction as
5350 it is in a separate file now.
5351 * libc/sys/linux/machine/i386/Makefile.am
5352 * libc/sys/linux/machine/i386/Makefile.in
5353 * libc/sys/linux/sys/signal.h: Add include of <bits/signum.h>.
5354 * libc/sys/linux/sigaction.c: New file.
5355 * libc/sys/linux/sigqueue.c: Ditto.
5356 * libc/sys/linux/sigwait.c: Ditto.
5357 * libc/sys/linux/machine/i386/sigaction.c: Ditto.
5358 * libc/sys/linux/kernel_sigaction.h: Ditto.
5359
b1f07180
JJ
53602002-05-28 Jeff Johnston <jjohnstn@redhat.com>
5361
5362 * libc/sys/linux/Makefile.am: Add support for cfspeed.c and
5363 tcsendbrk.c.
5364 * libc/sys/linux/Makefile.in: Regenerated.
5365 * libc/sys/linux/termios.c: Add tcflow(), tcflush(),
5366 tcgetpgrp(), and tcsetpgrp() functions.
5367 * libc/sys/linux/sys/termios.h: Add include of machine/termios.h
5368 to get __MAX_BAUD rate.
5369 * libc/sys/linux/machine/i386/include/termios.h: New file.
5370 * libc/include/machine/termios.h: Ditto.
5371 * libc/sys/linux/cfspeed.c: Ditto.
5372 * libc/sys/linux/tcsendbrk.c: Ditto.
5373
d29587b4
JJ
53742002-05-24 Jeff Johnston <jjohnstn@redhat.com>
5375
5376 * libc/include/string.h: Add strnlen and strerror_r prototypes.
5377 * libc/string/Makefile.am: Add strnlen.c and strerror_r.c support.
5378 * libc/string/Makefile.in: Regenerated.
5379 * libc/string/strerror_r.c: New file.
5380 * libc/string/strnlen.c: New file.
5381 * libc/sys/linux/Makefile.am: Add rename.c.
5382 * libc/sys/linux/Makefile.in: Regenerated.
5383 * libc/sys/linux/rename.c: New file to override default rename.
5384
9a292385
TF
53852002-05-24 Thomas Fitzsimmons <fitzsim@redhat.com>
5386
5387 * libc/sys/linux/sys/cdefs.h: Add __weak_reference macros.
5388 * libc/sys/linux/sys/time.h: Add conversion macros.
5389 * libc/sys/linux/sys/types.h: Add FD_ macros. Include <bits/types.h>.
5390 * libc/sys/linux/ids.c: Add setresuid and syslog syscalls.
5391 * libc/sys/linux/gethostname.c: New file.
5392 * libc/sys/linux/seteuid.c: New file.
5393 * libc/sys/linux/sysctl.c: New file.
5394
7a364eb3
JJ
53952002-05-23 Jeff Johnston <jjohnstn@redhat.com>
5396
5397 * libc/string/Makefile.am: Add support for strsep.c.
5398 * libc/string/Makefile.in: Regenerated.
5399 * libc/string/strsep.c: New file.
5400 * libc/string/strtok.c: Change to call __strtok_r service routine.
5401 * libc/string/strtok_r.c: Add __strtok_r routine which takes
5402 additional flag parameter regarding whether to skip leading delimeters.
5403 Change strtok_r to call __strtok_r.
5404
164ee5b0
JJ
54052002-05-23 Gareth Pearce <tilps@hotmail.com>
5406
5407 * libc/stdio/Makefile.am: Modify to add setbuffer.c and setlinebuf.c.
5408 * libc/stdio/Makefile.in: Regenerated.
5409 * libc/stdio/setbuffer.c: New file.
5410 * libc/stdio/setlinebuf.c: New file.
5411
f6b2b567
JJ
54122002-05-23 Jeff Johnston <jjohnstn@redhat.com>
5413
5414 * libc/sys/linux/Makefile.am: Add resource.c.
5415 * libc/sys/linux/Makefile.in: Regenerated.
5416 * libc/sys/linux/resource.c: New file.
5417 * libc/sys/linux/time.c: Add settimeofday, getitimer, and setitimer.
5418 * libc/sys/linux/machine/i386/Makefile.am: Remove syscalls.c.
5419 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
5420 * libc/sys/linux/machine/i386/syscalls.c: Removed as functions
5421 are now found in libc/sys/linux/resource.c.
5422
afe56517
JJ
54232002-05-23 Jeff Johnston <jjohnstn@redhat.com>
5424
5425 * libc/include/string.h (bcmp, bcopy, bzero): Change prototypes
5426 to use void * pointers and comply with Single Unix spec.
5427 * libc/string/bcmp.c: Change to use void * instead of char *.
5428 * libc/string/bcopy.c: Ditto.
5429 * libc/string/bzero.c: Ditto.
5430
7736feb2
JJ
54312002-05-22 Jeff Johnston <jjohnstn@redhat.com>
5432
5433 * libc/sys/linux/shm_open.c: New file.
5434 * libc/sys/linux/shm_unlink.c: Ditto.
5435 * libc/sys/linux/Makefile.am: Add support for shm_open.c and
5436 shm_unlink.c.
5437 * libc/sys/linux/Makefile.in: Regenerated.
5438 * libc/sys/linux/sys/types.h: Add some additional checks to see
5439 if clock_t or time_t is already defined.
5440
19f111bd
JJ
54412002-05-22 Jeff Johnston <jjohnstn@redhat.com>
5442
5443 * Makefile.am: Don't pass $toollibdir down directly in
5444 AM_MAKEFLAGS as it causes all multilibs to use the same toollibdir.
5445 Pass it under the name: top_toollibdir.
5446 * Makefile.in: Regenerated.
5447
c811b1ee
CV
54482002-05-22 Corinna Vinschen <vinschen@redhat.com>
5449
5450 * libc/include/sys/types.h: Revert previous patch.
5451
2b43ad33
CV
54522002-05-22 Corinna Vinschen <vinschen@redhat.com>
5453
5454 * libc/include/sys/types.h: Include cygwin/types.h always under
5455 Cygwin, not only if _POSIX_THREADS is defined.
5456
dd671cde
TF
54572002-05-21 Dhananjay Deshpande <dhananjayd@kpit.com>
5458
5459 * configure.host: Specify sys_dir=h8300hms for h8300-*-coff* target.
5460
5e2cbfb6
JJ
54612002-05-17 Jeff Johnston <jjohnstn@redhat.com>
5462
5463 * Makefile.am: Copy and install headers from sys/machine/include
5464 directory. Also pass $toollibdir to lower-level directories.
5465 * Makefile.in: Regenerated.
5466 * libc/include/stdio.h[!_REENT_ONLY]: Change stdin, stdout, and
5467 stderr to use _REENT macro instead of _impure_ptr directly.
5468 * libc/include/sys/config.h[__i386__][__linux__]: Define
5469 __DYNAMIC_REENT__.
5470 * libc/include/sys/reent.h[!_REENT_ONLY]: Change _REENT macro to be
5471 call to __getreent() function if !__SINGLE_THREAD__ and
5472 __DYNAMIC_REENT__ is set.
5473 * libc/reent/Makefile.am: Add support for getreent.c.
5474 * libc/reent/Makefile.in: Regenerated.
5475 * libc/string/strerror.c: Add check if EOPNOTSUPP and ENOTSUP are same.
5476 * libc/sys/linux/Makefile.am: Add support for new files.
5477 * libc/sys/linux/configure.in: Add $EXTRA_DIRS variable.
5478 * libc/sys/linux/Makefile.in: Regenerated.
5479 * libc/sys/linux/configure: Ditto.
5480 * libc/sys/linux/io.c: Add poll syscall. Also weak-alias
5481 __close, __read, __write, __poll, __open, __lseek, __fcntl from
5482 their __libc_ counterparts.
5483 * libc/sys/linux/io64.c: Add __libc_ prefix to lseek64 and open64
5484 and weak-alias to regular names.
5485 * libc/sys/linux/pread64.c: Rename to __libc_pread64 and weak-alias
5486 to pread64 and __pread64.
5487 * libc/sys/linux/process.c: Weak_alias __libc_getpid to __getpid.
5488 * libc/sys/linux/pwrite64.c: Rename to __libc_pwrite64 and
5489 weak-alias to pwrite64.
5490 * libc/sys/linux/sched.c: Weak-alias __libc_sched_getparam,
5491 __libc_sched_getscheduler, __libc_sched_get_priority_max,
5492 __libc_sched_get_priority_min, and __libc_sched_setschedule to
5493 name with __ instead of __libc_.
5494 * libc/sys/linux/siglongjmp.c: Include <machine/weakalias.h>.
5495 Rename siglongjmp to __libc_siglongjmp and weak-alias to siglongjmp.
5496 Call __libc_longjmp instead of longjmp, from __libc_siglongjmp.
5497 * libc/sys/linux/signal.c: Rename raise to __libc_raise and weak-alias
5498 to raise.
5499 * libc/sys/linux/socket.c: Weak-alias __libc_connect to __connect and
5500 __libc_send to __send.
5501 * libc/sys/linux/time.c: Weak-alias __libc_gettimeofday to
5502 __gettimeofday.
5503 * libc/sys/linux/wait.c: Rename wait to __libc_wait and weak-alias
5504 it to wait. Rename wait3 to __libc_wait3 and weak-alias it to wait3.
5505 * libc/sys/linux/include/setjmp.h: Use __jmp_buf in sigjmp_buf
5506 type and typedef __jmp_buf to jmp_buf.
5507 * libc/sys/linux/machine/i386/Makefile.am: Add syscalls.c and
5508 setjmp.S.
5509 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
5510 * libc/sys/linux/machine/i386/crt0.c: Add support to clear .bss
5511 section.
5512 * libc/sys/linux/machine/i386/socketcall.h: Change to use __libc_
5513 prefix for function macros and then use weak_alias() to regular names.
5514 * libc/sys/linux/machine/i386/syscall.h: Ditto.
5515 * libc/sys/linux/sys/errno.h: Define EOPNOTSUP to be ENOTSUP.
5516 * libc/sys/linux/sys/stdio.h: Define _flockfile and _funlockfile
5517 to be flockfile() and funlockfile() respectively.
5518 * libc/sys/linux/sys/types.h
5519 * libc/reent/getreent.c: New file.
5520 * libc/sys/linux/flockfile.c: Ditto.
5521 * libc/sys/linux/funlockfile.c: Ditto.
5522 * libc/sys/linux/getreent.c: Ditto.
5523 * libc/sys/linux/pread.c: Ditto.
5524 * libc/sys/linux/pwrite.c: Ditto.
5525 * libc/sys/linux/raise.c: Ditto.
5526 * libc/sys/linux/system.c: Ditto.
5527 * libc/sys/linux/tcdrain.c: Ditto.
5528 * libc/sys/linux/machine/i386/i386mach.h: Ditto.
5529 * libc/sys/linux/machine/i386/setjmp.S: Ditto.
5530 * libc/sys/linux/machine/i386/syscalls.c: Ditto.
5531 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
5532 * libc/sys/linux/machine/i386/include/setjmp.h: Ditto.
5533
7fc85bd1
TF
55342002-05-14 Dhananjay Deshpande <dhananjayd@kpit.com>
5535
5536 * newlib/libc/sys/h8300hms/Makeile.am (lib_a_SOURCES): Add read.c.
5537 * newlib/libc/sys/h8300hms/read.c: New file. Magic trap 0xC8 for sim.
5538 * newlib/libc/sys/h8300hms/syscalls.c: Move _read() to read.c.
5539 * newlib/libs/sys/h8300hms/sys/syscall.h: New file.
5540
6935231f 5541Thu May 16 17:24:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
d7a2f413
JR
5542
5543 * libc/machine/sh/strcpy.S (strcpy): Replace LITTLE_ENDIAN with
6935231f
JR
5544 __LITTLE_ENDIAN__. make sure r0 has right value at first loop
5545 exit point.
d7a2f413 5546
3a6cb01b
TF
55472002-05-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5548
a68fa571
TF
5549 * testsuite/lib/newlib.exp: Add newlib_include_flags to compile
5550 options when testing natively on i[3456]86-*-linux.
5551
3a6cb01b
TF
5552 * testsuite/lib/checkoutput.exp (newlib_check_output): Output
5553 only one pass or fail per test file. Trim \r's from output
5554 values received from test programs. Remove support for named
5555 tests.
5556 * testsuite/newlib.locale/UTF-8.exp: Update to support new
5557 newlib_check_output behaviour.
5558 * testsuite/newlib.locale/UTF-8.c: Likewise.
5559
dc824ef7
JJ
55602002-05-15 Jeff Johnston <jjohnstn@redhat.com>
5561
5562 * libc/include/stdlib.h: Add on_exit prototype.
5563 * libc/include/sys/reent.h (struct _atexit): Add argument array
5564 and bits to track type of exit routine to support both on_exit
5565 and atexit.
5566 (_REENT_INIT_PTR): Add missing fields that won't be zeroed out
5567 by default and change the setting of the atexit structure.
5568 (_REENT_INIT)[!_REENT_SMALL]: Remove extraneous end brace.
5569 * libc/stdlib/on_exit.c: New file.
5570 * libc/stdlib/Makefile.am: Add support for on_exit.
5571 * libc/stdlib/Makefile.in: Regenerated.
5572 * libc/stdlib/atexit.c: Change to initialize types field.
5573 * libc/stdlib/exit.c: Change to look at types field for each
5574 exit routine and either call an atexit-style or an on_exit-style
5575 routine accordingly.
5576
48d91b4a
JJ
55772002-05-13 Jeff Johnston <jjohnstn@redhat.com>
5578
5579 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Don't
5580 allow v specifier with n or L specifiers. For vector c format,
5581 move tmp declaration to the top.
5582
024739eb
JJ
55832002-05-13 Jeff Johnston <jjohnstn@redhat.com>
5584
5585 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Restore
5586 the original format specifier when looping for vectors to compensate
5587 for any changes made in vector %g format processing.
5588 Also add syntax checking for various invalid scenarios
5589 involving vector format extensions.
5590 * libc/machine/powerpc/vfscanf.c(__VFSCANF_R)[__ALTIVEC__]: Fix
5591 return code setting for vector formats. Also treat vector
5592 separator mismatch as a match error instead of an input error.
5593 Perform some syntax checking for vector formats.
5594
7d2ce898
TF
55952002-05-10 Mark Bradshaw <bradshaw@staff.crosswalk.com>
5596
5597 * libc/include/string.h (!__STRICT_ANSI__): Add strlcat and strlcpy.
5598 * libc/string/Makefile.am: Add strlcat.c and strlcpy.c.
5599 * libc/string/strlcat.c: New file.
5600 * libc/string/strlcpy.c: New file.
5601
809b6ce7
JJ
56022002-05-10 Jeff Johnston <jjohnstn@redhat.com>
5603
5604 * libc/string/strchr.c: Fix comment typo.
5605
76490806
TF
56062002-05-08 Thomas Fitzsimmons <fitzsim@redhat.com>
5607
0c048a9a
TF
5608 * acinclude.m4: Add support for --enable-newlib-multithread.
5609 * configure.host (newlib_cflags): Add -D__SINGLE_THREAD__ if
5610 --enable-newlib-multithread=no.
5611
76490806
TF
5612 * libc/stdio/getc_u.c: New file.
5613 * libc/stdio/getchar_u.c: New file.
5614 * libc/stdio/putc_u.c: New file.
5615 * libc/stdio/putchar_u.c: New file.
5616 * libc/include/stdio.h: Add declarations for getc_unlocked,
5617 getchar_unlocked, putc_unlocked and putchar_unlocked.
5618 * libc/stdio/Makefile.am (LIB_SOURCES): Add new files.
5619 (CHEWOUT_FILES): Add new files' .def's.
5620 * libc/stdio/putchar.c (_putchar_r): Replace __sputc with putc.
5621
96bff22c
JR
5622Wed May 8 17:47:35 2002 J"orn Rennecke <joern.rennecke@superh.com>
5623
5624 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
5625 Also handle as single quad word when destination ends at last
5626 byte of first quad word. Fix byte selection in single quad code.
5627
e71372fa
TF
56282002-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
5629
5630 * libc/include/sys/stdio.h: New file.
5631 * libc/sys/linux/sys/stdio.h: New file.
5632 * libc/include/stdio.h: Add declarations for flockfile,
5633 ftrylockfile, and funlockfile. Include <sys/stdio.h>.
5634 * libc/stdio/clearerr.c: Add file locking.
5635 * libc/stdio/fclose.c: Likewise.
5636 * libc/stdio/feof.c: Likewise.
5637 * libc/stdio/ferror.c: Likewise.
5638 * libc/stdio/fflush.c: Likewise.
5639 * libc/stdio/fgetc.c: Likewise.
5640 * libc/stdio/fgetpos.c: Likewise.
5641 * libc/stdio/fgets.c: Likewise.
5642 * libc/stdio/fileno.c: Likewise.
5643 * libc/stdio/fputc.c: Likewise.
5644 * libc/stdio/fputs.c: Likewise.
5645 * libc/stdio/fread.c: Likewise.
5646 * libc/stdio/freopen.c: Likewise.
5647 * libc/stdio/fseek.c: Likewise.
5648 * libc/stdio/ftell.c: Likewise.
5649 * libc/stdio/fwrite.c: Likewise.
5650 * libc/stdio/getc.c: Likewise.
5651 * libc/stdio/putc.c: Likewise.
5652 * libc/stdio/setvbuf.c: Likewise.
5653 * libc/stdio/ungetc.c: Likewise.
5654 * libc/stdio/vfprintf.c: Likewise.
5655
a03790e4
JJ
56562002-05-06 Jeff Johnston <jjohnstn@redhat.com>
5657
60b2107c
TF
5658 * libc/machine/powerpc/vfprintf.c[__ALTIVEC__]: Add vector
5659 support for 'p' format. Fix code to print bytes for vector
5660 integer formats that do not specify 'h' or 'l'.
5661 * libc/machine/powerpc/vfscanf.c[__ALTIVEC__]: Add vector support
5662 for 'p' specifier. Fix code to scan 16 bytes for vector integer
5663 formats that do not specify 'h' or 'l'.
5664
5665 * libc/include/stdlib.h (a64l, l64a, _l64a_r): Added prototypes.
5666
9c7d6a9d
TF
56672002-05-06 Nick Clifton <nickc@cambridge.redhat.com>
5668
5669 * libc/sys/arm/syscalls.c (_rename): Add parameter names.
5670 (_sbrk): Add cast of return value.
5671
c33c3635
JJ
56722002-05-06 Jeff Johnston <jjohnstn@redhat.com>
5673
5674 * libc/include/sys/reent.h (_l64a_buf): New reentrant area.
5675 (_REENT_L64A_BUF): New macro for accessing area.
5676 * libc/stdlib/Makefile.am: Add a64l.c and l64a.c.
5677 * libc/stdlib/Makefile.in: Regenerated.
5678 * libc/stdlib/a64l.c: New file.
5679 * libc/stdlib/l64a.c: New file.
5680
f78e59a8
JJ
56812002-05-06 Jeff Johnston <jjohnstn@redhat.com>
5682
5683 * libc/unix/pread.c: Fix typo for _pread_r.
5684 * libc/unix/pwrite.c: Fix type for _pwrite_r.
5685 * libc/sys/linux/pread64.c: Fix typo for read syscall.
5686 * libc/sys/linux/pwrite64.c: Fix typo for write syscall.
5687
4b3f6588
CF
56882002-05-03 Christopher Faylor <cgf@redhat.com>
5689
5690 * libc/include/sys/unistd.h: Define getdomainname under cygwin.
5691
e911832c
TF
56922002-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
5693
5694 * configure.in (CC_FOR_NEWLIB): Change -isystem's to -I's.
5695
0d0fdc8d
CF
56962002-05-01 Christopher Faylor <cgf@redhat.com>
5697
5698 * utmp.h: Define more UNIX constants.
5699
1e997c56
TF
57002002-05-01 Thomas Fitzsimmons <fitzsim@redhat.com>
5701
0717f01c
TF
5702 * Makefile.am: Add support for checking multilibs.
5703
09841445
TF
5704 * libc/Makefile.am (SUBLIBS): Add LIBC_EXTRA_LIB.
5705 (SUBDEFS): Add LIBC_EXTRA_DEF.
5706 * libc/configure.in (LIBC_EXTRA_LIB): New variable.
5707 (LIBC_EXTRA_DEF): Likewise.
5708 (extra_dir): Likewise.
5709 * libc/machine/xscale/machine: New directory.
5710 * libc/machine/xscale/machine/profile.h: New file.
5711
1e997c56
TF
5712 * Makefile.am (site.exp): Remove newlib_cflags. Add
5713 multibuildtop.
5714 * testsuite/newlib.locale/UTF-8.c: Change fprintf's to printf's.
5715 * testsuite/lib/flags.exp: New file.
5716 * testsuite/lib/newlib.exp: Load flags.exp.
5717 (newlib_target_compile): Remove libgloss directory references.
5718 (newlib_init): Remove newlib_cflags references.
5719
4cf4f010
TF
57202002-04-30 Thomas Fitzsimmons <fitzsim@redhat.com>
5721
f6bdb6f9
TF
5722 * testsuite/lib/newlib.exp (newlib_target_compile): Change
5723 method of finding libgloss_target_dir.
5724
4cf4f010
TF
5725 * Makefile.am (site.exp): Change host_alias, host_triplet,
5726 target_alias, target_triplet to refer to gcc's host and target
5727 variables (newlib's build and host variables).
5728 * testsuite/lib/newlib.exp (newlib_init): Change build
5729 references to host references, host references to target
5730 references to reflect Makefile.am changes.
5731 (newlib_target_compile): Likewise.
5732 (newlib_finish): Likewise.
5733
83096ae8
JJ
57342002-04-29 Jeff Johnston <jjohnstn@redhat.com>
5735
5736 * libc/sys/linux/io64.c (fstat64, lstat64): New syscalls added.
5737
822afa53
JL
57382002-04-29 Jonathan Larmour <jlarmour@redhat.com>
5739
5740 * libc/sys/arm/syscalls.c (_rename): New function. Just a stub.
5741 (_system): New function. Ditto.
5742 * libc/stdlib/system.c (_system_r): Call _system if HAVE_SYSTEM.
5743 * configure.host: define HAVE_SYSTEM and HAVE_RENAME for xscale
5744 targets.
5745
29798f0d
JJ
57462002-04-29 Jeff Johnston <jjohnstn@redhat.com>
5747
5748 * libc/include/sys/unistd.h (pread, pwrite): Added prototypes.
5749 * libc/unix/Makefile.am: Add pread.c and pwrite.c.
5750 * libc/sys/linux/Makefile.am: Add pread64.c and pwrite64.c.
5751 * libc/sys/linux/Makefile.in: Regenerated.
5752 * libc/unix/Makefile.in: Ditto.
5753 * libc/sys/linux/pread64.c: New file.
5754 * libc/sys/linux/pwrite64.c: Ditto.
5755 * libc/unix/pread.c: Ditto.
5756 * libc/unix/pwrite.c: Ditto.
5757
557856bd
JJ
57582002-04-26 Jeff Johnston <jjohnstn@redhat.com>
5759
5760 * libc/sys/linux/Makefile.am: Add io64.c.
5761 * libc/sys/linux/Makefile.in: Regenerated.
5762 * libc/sys/linux/io.c(mkfifo, fsync, fdatasync): Added syscalls.
5763 * libc/sys/linux/signal.c (sigwaitinfo, sigtimedwait): Ditto.
5764 * libc/sys/linux/io64.c: New file.
5765
7b2b12d5
JJ
57662002-04-26 Jeff Johnston <jjohnstn@redhat.com>
5767
5768 * configure.in (CC_FOR_NEWLIB): New variable that
5769 bases on $(CC) and adds targ-include and libc/include as
5770 -isystem directives if they are not already part of $(CC).
5771 * Makefile.am (AM_MAKEFLAGS): Change setting of CC to equal
5772 $(CC_FOR_NEWLIB).
5773 * configure: Regenerated.
5774 * Makefile.in: Ditto.
5775
c62adacc
JJ
57762002-04-25 Jeff Johnston <jjohnstn@redhat.com>
5777
5778 * libc/sys/linux/Makefile.am: Add support for sched.c.
5779 * libc/sys/linux/Makefile.in: Regenerated.
5780 * libc/sys/linux/sched.c: New file.
5781 * libc/sys/linux/sys/types.h: Add struct timespec.
5782
217ad4a0
TF
57832002-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
5784
5785 * configure.in (CC_FOR_BUILD): Set to gcc whether
5786 cross-compiling or not.
5787 (CC): Add -isystem's for targ-include and libc/include when they
5788 do not already appear in CC.
5789
eaa75b70
TF
57902002-04-24 Thomas Fitzsimmons <fitzsim@redhat.com>
5791
5792 * Makefile.am (check-DEJAGNU): New target.
5793 (site.exp): Likewise.
5794 * acinclude.m4 (NEWLIB_CONFIGURE): Replace AC_CANONICAL_HOST
5795 with AC_CANONICAL_SYSTEM. Remove AC_CANONICAL_BUILD.
5796 * libc/locale/locale.c (_setlocale_r): Add UTF-8 support.
5797 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Likewise.
5798 * libc/stdlib/wctomb_r.c (_wctomb_r): Likewise.
5799 * testsuite: New directory.
5800 * testsuite/config: Likewise.
5801 * testsuite/lib: Likewise.
5802 * testsuite/newlib.locale: Likewise.
5803 * testsuite/newlib.string: Likewise.
5804 * testsuite/config/default.exp: New file.
5805 * testsuite/lib/checkoutput.exp: New file.
5806 * testsuite/lib/newlib.exp: New file.
5807 * testsuite/lib/passfail.exp: New file.
5808 * testsuite/newlib.locale/UTF-8.c: New file.
5809 * testsuite/newlib.locale/UTF-8.exp: New file.
5810 * testsuite/newlib.locale/locale.exp: New file.
5811 * testsuite/newlib.string/string.exp: New file.
5812 * testsuite/newlib.string/tstring.c: New file.
5813
b9f9f699
JJ
58142002-04-23 Jeff Johnston <jjohnstn@redhat.com>
5815
5816 * libc/include/machine/types.h (__pid_t, __off_t, __loff_t): Added.
5817 * libc/sys/linux/Makefile.am: Add support for mmap.c.
5818 * libc/sys/linux/Makefile.in: Regenerated.
5819 * libc/sys/linux/mmap.c: New file.
5820 * libc/sys/linux/machine/i386/syscall.h: Add _syscall6 macro.
5821 * libc/sys/linux/sys/types.h (pid_t, off_t, loff_t): Added.
5822
7394edbb
TF
58232002-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
5824
5825 * acinclude.m4 (newlib_cflags): Remove include directories that
5826 are already specified in the top-level configure.in's FLAGS_FOR_TARGET.
5827
b9f9f699 58282002-04-19 Bill Siegmund <ctc-dsl@pacbell.net>
59be2290
JJ
5829
5830 * libc/machine/xscale/memchr.c: Don't use multi-line strings.
5831 * libc/machine/xscale/memcmp.c: Ditto.
5832 * libc/machine/xscale/memcpy.c: Ditto.
5833 * libc/machine/xscale/memmove.c: Ditto.
5834 * libc/machine/xscale/memset.c: Ditto.
5835 * libc/machine/xscale/strchr.c: Ditto.
5836 * libc/machine/xscale/strcmp.c: Ditto.
5837 * libc/machine/xscale/strcpy.c: Ditto.
5838 * libc/machine/xscale/strlen.c: Ditto.
5839
2dd4c4dc
JJ
58402002-04-19 Alexandre Oliva <aoliva@redhat.com>
5841
5842 * libc/include/sys/config.h: Remove include of <limits.h>.
5843 (__INT_MAX__, __LONG_MAX__): Define like GCC's limits.h would
5844 define INT_MAX and LONG_MAX. Use them in tests.
5845
0d844014
JJ
58462002-04-19 Jeff Johnston <jjohnstn@redhat.com>
5847
5848 * configure.host: Add support for powerpc-eabialtivec*.
5849 * libc/include/malloc.h: Add include of <machine/malloc.h>.
5850 * libc/include/stdlib.h: Add include of <machine/stdlib.h>.
5851 * libc/include/machine/malloc.h: New file.
5852 * libc/include/machine/stdlib.h: Ditto.
5853 * libc/include/machine/setjmp.h: Add support for powerpc altivec.
5854 * libc/machine/powerpc/Makefile.am: Add conditional objects and
5855 sources based on configuration.
5856 * libc/machine/powerpc/Makefile.in: Regenerated.
5857 * libc/machine/powerpc/configure: Ditto.
5858 * libc/machine/powerpc/configure.in: Add check for
5859 powerpc-eabialtivec* in which case add in additional source files.
5860 * libc/machine/powerpc/setjmp.S: Add altivec support.
5861 * libc/machine/powerpc/vec_calloc.c: New file.
5862 * libc/machine/powerpc/vec_free.c: Ditto.
5863 * libc/machine/powerpc/vec_malloc.c: Ditto.
5864 * libc/machine/powerpc/vec_mallocr.c: Ditto.
5865 * libc/machine/powerpc/vec_realloc.c: Ditto.
5866 * libc/machine/powerpc/machine/malloc.h: Ditto.
5867 * libc/machine/powerpc/machine/stdlib.h: Ditto.
5868 * libc/machine/powerpc/vfprintf.c: New file that is vfprintf.c
5869 with added altivec format specifiers.
5870 * libc/machine/powerpc/vfscanf.c: New file that is vfscanf.c with
5871 added altivec format specifiers.
5872
d413aadc
JS
58732002-04-19 Joel Sherrill <joel@OARcorp.com>
5874
5875 * libs/sys/rtems/crt0.c: Satisfy gcc's references to libc functions
5876 while autoconf is trying to link main(){}.
5877
27193895
JJ
58782002-04-17 Jeff Johnston <jjohnstn@redhat.com>
5879
5880 * libc/sys/linux/signal.c: Remove include of <bits/sigset.h>.
5881 * libc/sys/linux/sys/signal.h: Add include of <bits/sigset.h>.
5882
10d00216
JJ
58832002-04-17 Jeff Johnston <jjohnstn@redhat.com>
5884
6b0f808e
JJ
5885 * libc/time/time.tex: Add tzset info.
5886
58872002-04-17 Jeff Johnston <jjohnstn@redhat.com>
5888
5889 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
5890 (strptime): Moved prototype to be within !__STRICT_ANSI__.
5891 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
5892 (tzname): Defined for all platforms.
5893 (daylight, timezone): Defined only for CYGWIN.
5894 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
5895 environment set up.
5896 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
5897 environment variable is set.
5898 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
5899 tzset_r.c.
5900 * libc/time/Makefile.in: Regenerated.
5901 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
5902 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
5903 * libc/time/lcltime_r.c (lcltime_r): Ditto.
5904 * libc/time/local.h: New local header file.
5905 * libc/time/mktime.c (mktime): Add timezone support.
5906 * libc/time/mktm_r.c: New file which is the common engine
5907 for gmtime_r and lcltime_r. This code has timezone support.
5908 * libc/time/strftime.c (strftime): Add %Z timezone support.
5909 * libc/time/tzlock.c: New file containing timezone lock stubs.
5910 * libc/time/tzset.c: New file containing tzset() routine.
5911 * libc/time/tzset_r.c: New file containing _tzset_r and
5912 internal routine for calculating timezone changes for specified year.
5913
59142002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
5915
5916 * configure.in (CRT0_DIR): Set to libc/.
5917 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
5918 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
5919 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
5920 $(CRT1_DIR)/$(CRT1).
5921 * libc/machine/xstormy16/Makefile.in: Regenerated.
5922 * libc/machine/xstormy16/aclocal.m4: Regenerated.
5923 * libc/machine/xstormy16/configure: Regenerated.
5924
59252002-04-13 Alexandre Oliva <aoliva@redhat.com>
5926
5927 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
5928 fails, don't bail out, and try to correct next time.
5929
5930 * libc/include/sys/config.h: Include limits.h.
5931
59322002-04-12 Eric Norum <eric.norum@usask.com>
5933
5934 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
5935 routine to allow autoconf to determine that building executables
5936 for rtems works.
5937 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
5938 (rtems_gxx_mutex_once): Ditto.
5939
59402002-04-09 Tom Rix <trix@redhat.com>
5941
5942 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
5943
59442002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
5945
5946 * libc/include/time.h: Fix strptime declaration.
5947 * libc/time/Makefile.am: Add strptime.c.
5948 * libc/time/Makefile.in: Regenerated.
5949 * libc/time/strptime.c: New file.
5950
59512002-04-08 Jeff Johnston <jjohnstn@redhat.com>
5952
5953 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
5954 siglongjmp prototype, and sigsetjmp macro definition.
5955 * libc/sys/linux/siglongjmp.c: New file.
5956 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
5957 * libc/sys/linux/Makefile.in: Regenerated.
5958
59592002-04-04 Jeff Johnston <jjohnstn@redhat.com>
5960
5961 * Makefile.am: Add support for installing crt1.o if one exists.
5962 * configure.host: Specify crt1.o for linux.
5963 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
5964 * Makefile.in: Regenerated.
5965 * configure: Ditto.
5966 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
5967 Added for non-Cygwin, non-RTEMS configurations.
5968 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
5969 * libc/sys/linux/Makefile.in: Regenerated.
5970 * libc/sys/linux/crt1.c: New empty file to override one defaulted
5971 by gcc. This fixes problem with reconfiguring linux newlib build.
5972 * libc/sys/linux/sysconf.c: New file.
5973
59742002-04-03 Jeff Johnston <jjohnstn@redhat.com>
5975
5976 * configure.host: Add support for machine subdirectory of
5977 sys subdirectory.
5978 * configure.in: Add check for sys machine subdirectory.
5979 * Makefile.am: Ditto.
5980 * configure: Regenerated.
5981 * Makefile.in: Ditto.
5982 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
5983 * libc/sys/linux/sys/syscall.h: Ditto.
5984 * libc/sys/linux/sleep.c: New file.
5985 * libc/sys/linux/socket.c: Ditto.
5986 * libc/sys/linux/sockops.h: Ditto.
5987 * libc/sys/linux/stack.c: Ditto.
5988 * libc/sys/linux/usleep.c: Ditto.
5989 * libc/sys/linux/machine/Makefile.am: Ditto.
5990 * libc/sys/linux/machine/Makefile.in: Ditto.
5991 * libc/sys/linux/machine/aclocal.m4: Ditto.
5992 * libc/sys/linux/machine/configure: Ditto.
5993 * libc/sys/linux/machine/configure.in: Ditto.
5994 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
5995 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
5996 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
5997 * libc/sys/linux/machine/i386/configure: Ditto.
5998 * libc/sys/linux/machine/i386/configure.in: Ditto.
5999 * libc/sys/linux/machine/i386/crt0.c: Ditto.
6000 * libc/sys/linux/machine/i386/sigset.c: Ditto.
6001 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
6002 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
6003 * libc/sys/linux/machine/i386/syscall.h: Ditto.
6004 * libc/sys/linux/sys/select.h: Ditto.
6005 * libc/sys/linux/configure.in: Add support for machine directory.
6006 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
6007 * libc/sys/linux/Makefile.in: Regenerated.
6008 * libc/sys/linux/configure: Ditto.
6009 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
6010 * libc/sys/linux/inode.c: Ditto.
6011 * libc/sys/linux/linux.c: Ditto.
6012 * libc/sys/linux/process.c: Ditto.
6013 * libc/sys/linux/systat.c: Ditto.
6014 * libc/sys/linux/time.c: Ditto.
6015 * libc/sys/linux/wait.c: Ditto.
6016 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
6017 * libc/sys/linux/io.c: Change header plus add readv/writev.
6018 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
6019 use __sigsuspend syscall.
6020 * libc/sys/linux/select.c: Change header plus change select to
6021 use _newselect syscall.
6022 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
6023 used by glibc header files.
6024 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
6025 types.
6026
60272002-04-01 Jeff Johnston <jjohnstn@redhat.com>
6028
6029 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
6030 initializing a struct _reent that has been dynamically allocated.
6031 (_REENT_CHECK_MISC): New macro that checks _misc struct for
6032 _REENT_SMALL and does nothing otherwise.
6033 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
6034 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
6035 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
6036 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
6037 [_REENT_SMALL](struct _misc_reent): New structure containing
6038 miscellaneous reentrant areas needed by newlib.
6039 [_REENT_SMALL](struct _reent): Add _misc pointer.
6040 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
6041 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
6042 and _REENT_STRTOK_LAST macros.
6043 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
6044 and _REENT_MBLEN_STATE macros.
6045 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
6046 and _REENT_MBTOWC_STATE macros.
6047 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
6048 and _REENT_WCTOMB_STATE macros.
6049
60502002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
6051
6052 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
6053
6054Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
6055
6056 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
6057
6058Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
6059
6060 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
6061 Store high part of leading bytes too.
6062
60632002-03-22 Richard Sandiford <rsandifo@redhat.com>
6064
6065 * libm/math/ef_hypot.c: Increase scale factor to 68.
6066
60672002-03-13 Alexandre Oliva <aoliva@redhat.com>
6068
6069 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
6070 error.
6071
60722002-03-12 Jeff Johnston <jjohnstn@redhat.com>
6073
6074 * libc/sys/go32/access.c: Change license to relaxed license
6075 used in identical file throughout newlib/libgloss.
6076
60772002-03-12 Richard Earnshaw <rearnsha@arm.com>
6078
6079 * libc/sys/arm/access.c: New file.
6080 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
6081 * libc/sys/arm/Makefile.in: Regenerate.
6082 * libc/sys/arm/syscalls.c (_stat): New function.
6083
60842002-03-11 Michael Meissner <meissner@redhat.com>
6085
6086 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
6087 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
6088 * libc/machine/mips/Makefile.in: Regenerate.
6089 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
6090 * libc/machine/mips/memset.c: Dito.
6091 * libc/machine/mips/strcmp.c: Dito.
6092 * libc/machine/mips/strlen.c: Dito.
6093 * libc/machine/mips/strncmp.c: Dito.
6094
60952002-03-06 Jeff Johnston <jjohnstn@redhat.com>
6096
6097 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
6098 object so it works for shared library or statici library.
60992002-04-17 Jeff Johnston <jjohnstn@redhat.com>
6100
10d00216
JJ
6101 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
6102 (strptime): Moved prototype to be within !__STRICT_ANSI__.
6103 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
6104 (tzname): Defined for all platforms.
6105 (daylight, timezone): Defined only for CYGWIN.
6106 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
6107 environment set up.
6108 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
6109 environment variable is set.
6110 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
6111 tzset_r.c.
6112 * libc/time/Makefile.in: Regenerated.
6113 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
6114 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
6115 * libc/time/lcltime_r.c (lcltime_r): Ditto.
6116 * libc/time/local.h: New local header file.
6117 * libc/time/mktime.c (mktime): Add timezone support.
6118 * libc/time/mktm_r.c: New file which is the common engine
6119 for gmtime_r and lcltime_r. This code has timezone support.
6120 * libc/time/strftime.c (strftime): Add %Z timezone support.
6121 * libc/time/tzlock.c: New file containing timezone lock stubs.
6122 * libc/time/tzset.c: New file containing tzset() routine.
6123 * libc/time/tzset_r.c: New file containing _tzset_r and
6124 internal routine for calculating timezone changes for specified year.
6125
5f1c13c6
TF
61262002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
6127
6128 * configure.in (CRT0_DIR): Set to libc/.
6129 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
6130 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
6131 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
6132 $(CRT1_DIR)/$(CRT1).
6133 * libc/machine/xstormy16/Makefile.in: Regenerated.
6134 * libc/machine/xstormy16/aclocal.m4: Regenerated.
6135 * libc/machine/xstormy16/configure: Regenerated.
6136
0cc261b1
AO
61372002-04-13 Alexandre Oliva <aoliva@redhat.com>
6138
2f3009bd
AO
6139 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
6140 fails, don't bail out, and try to correct next time.
6141
0cc261b1
AO
6142 * libc/include/sys/config.h: Include limits.h.
6143
26116455
JJ
61442002-04-12 Eric Norum <eric.norum@usask.com>
6145
6146 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
6147 routine to allow autoconf to determine that building executables
6148 for rtems works.
6149 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
6150 (rtems_gxx_mutex_once): Ditto.
6151
4608280d
TR
61522002-04-09 Tom Rix <trix@redhat.com>
6153
6154 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
6155
dea7e25c
JJ
61562002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
6157
6158 * libc/include/time.h: Fix strptime declaration.
6159 * libc/time/Makefile.am: Add strptime.c.
6160 * libc/time/Makefile.in: Regenerated.
6161 * libc/time/strptime.c: New file.
6162
c5ef1e95
JJ
61632002-04-08 Jeff Johnston <jjohnstn@redhat.com>
6164
6165 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
6166 siglongjmp prototype, and sigsetjmp macro definition.
6167 * libc/sys/linux/siglongjmp.c: New file.
6168 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
6169 * libc/sys/linux/Makefile.in: Regenerated.
6170
6e6cd5bd
JJ
61712002-04-04 Jeff Johnston <jjohnstn@redhat.com>
6172
6173 * Makefile.am: Add support for installing crt1.o if one exists.
6174 * configure.host: Specify crt1.o for linux.
6175 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
6176 * Makefile.in: Regenerated.
6177 * configure: Ditto.
6178 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
6179 Added for non-Cygwin, non-RTEMS configurations.
6180 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
6181 * libc/sys/linux/Makefile.in: Regenerated.
6182 * libc/sys/linux/crt1.c: New empty file to override one defaulted
6183 by gcc. This fixes problem with reconfiguring linux newlib build.
6184 * libc/sys/linux/sysconf.c: New file.
6185
fa4a16a1
JJ
61862002-04-03 Jeff Johnston <jjohnstn@redhat.com>
6187
6188 * configure.host: Add support for machine subdirectory of
6189 sys subdirectory.
6190 * configure.in: Add check for sys machine subdirectory.
6191 * Makefile.am: Ditto.
6192 * configure: Regenerated.
6193 * Makefile.in: Ditto.
6194 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
6195 * libc/sys/linux/sys/syscall.h: Ditto.
6196 * libc/sys/linux/sleep.c: New file.
6197 * libc/sys/linux/socket.c: Ditto.
6198 * libc/sys/linux/sockops.h: Ditto.
6199 * libc/sys/linux/stack.c: Ditto.
6200 * libc/sys/linux/usleep.c: Ditto.
6201 * libc/sys/linux/machine/Makefile.am: Ditto.
6202 * libc/sys/linux/machine/Makefile.in: Ditto.
6203 * libc/sys/linux/machine/aclocal.m4: Ditto.
6204 * libc/sys/linux/machine/configure: Ditto.
6205 * libc/sys/linux/machine/configure.in: Ditto.
6206 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
6207 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
6208 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
6209 * libc/sys/linux/machine/i386/configure: Ditto.
6210 * libc/sys/linux/machine/i386/configure.in: Ditto.
6211 * libc/sys/linux/machine/i386/crt0.c: Ditto.
6212 * libc/sys/linux/machine/i386/sigset.c: Ditto.
6213 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
6214 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
6215 * libc/sys/linux/machine/i386/syscall.h: Ditto.
6216 * libc/sys/linux/sys/select.h: Ditto.
6217 * libc/sys/linux/configure.in: Add support for machine directory.
6218 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
6219 * libc/sys/linux/Makefile.in: Regenerated.
6220 * libc/sys/linux/configure: Ditto.
6221 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
6222 * libc/sys/linux/inode.c: Ditto.
6223 * libc/sys/linux/linux.c: Ditto.
6224 * libc/sys/linux/process.c: Ditto.
6225 * libc/sys/linux/systat.c: Ditto.
6226 * libc/sys/linux/time.c: Ditto.
6227 * libc/sys/linux/wait.c: Ditto.
6228 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
6229 * libc/sys/linux/io.c: Change header plus add readv/writev.
6230 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
6231 use __sigsuspend syscall.
6232 * libc/sys/linux/select.c: Change header plus change select to
6233 use _newselect syscall.
6234 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
6235 used by glibc header files.
6236 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
6237 types.
6238
d4dca0e4
JJ
62392002-04-01 Jeff Johnston <jjohnstn@redhat.com>
6240
6241 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
6242 initializing a struct _reent that has been dynamically allocated.
6243 (_REENT_CHECK_MISC): New macro that checks _misc struct for
6244 _REENT_SMALL and does nothing otherwise.
6245 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
6246 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
6247 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
6248 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
6249 [_REENT_SMALL](struct _misc_reent): New structure containing
6250 miscellaneous reentrant areas needed by newlib.
6251 [_REENT_SMALL](struct _reent): Add _misc pointer.
6252 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
6253 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
6254 and _REENT_STRTOK_LAST macros.
6255 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
6256 and _REENT_MBLEN_STATE macros.
6257 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
6258 and _REENT_MBTOWC_STATE macros.
6259 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
6260 and _REENT_WCTOMB_STATE macros.
6261
54a7c6d2
JJ
62622002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
6263
6264 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
6265
c82479b1
CF
6266Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
6267
6268 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
6269
43ecf6e8
JR
6270Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
6271
6272 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
6273 Store high part of leading bytes too.
6274
a485d93f
RS
62752002-03-22 Richard Sandiford <rsandifo@redhat.com>
6276
6277 * libm/math/ef_hypot.c: Increase scale factor to 68.
6278
62a963ee
AO
62792002-03-13 Alexandre Oliva <aoliva@redhat.com>
6280
6281 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
6282 error.
6283
c53d8453
JJ
62842002-03-12 Jeff Johnston <jjohnstn@redhat.com>
6285
6286 * libc/sys/go32/access.c: Change license to relaxed license
6287 used in identical file throughout newlib/libgloss.
6288
d2a246ad
JJ
62892002-03-12 Richard Earnshaw <rearnsha@arm.com>
6290
6291 * libc/sys/arm/access.c: New file.
6292 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
6293 * libc/sys/arm/Makefile.in: Regenerate.
6294 * libc/sys/arm/syscalls.c (_stat): New function.
6295
eabb48d5
MM
62962002-03-11 Michael Meissner <meissner@redhat.com>
6297
6298 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
6299 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
6300 * libc/machine/mips/Makefile.in: Regenerate.
6301 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
6302 * libc/machine/mips/memset.c: Dito.
6303 * libc/machine/mips/strcmp.c: Dito.
6304 * libc/machine/mips/strlen.c: Dito.
6305 * libc/machine/mips/strncmp.c: Dito.
6306
2a606041
JJ
63072002-03-06 Jeff Johnston <jjohnstn@redhat.com>
6308
eabb48d5
MM
6309 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
6310 object so it works for shared library or statici library.
6311 * libc/machine/i386/Makefile.in: Regenerated.
2a606041 6312
55f26f11
JR
6313Wed Mar 6 10:24:26 2002 J"orn Rennecke <joern.rennecke@superh.com>
6314
96bff22c
JR
6315 * libc/machine/sh/Makefile.am (lib_a_SOURCES, SH64 case):
6316 Add memcpy.S, memset.S and strcpy.S.
6317 * libc/machine/sh/Makefile.in: Regenerate.
6318 * libc/machine/sh/asm.h (_ENTRY): Set SH5 alignment to 8 bytes.
55f26f11 6319 (SHHI, SHLO): Define.
96bff22c
JR
6320 * libc/machine/sh/memset.S: Add code for SH5.
6321 * libc/machine/sh/memset.S: Likewise.
6322 * libc/machine/sh/strcpy.S: Likewise.
55f26f11 6323
afecf2fa
JJ
63242002-02-27 Jeff Johnston <jjohnstn@redhat.com>
6325
6326 * configure.host: Add check for --disable-newlib-io-float
6327 configuration option and add -DNO_FLOATING_POINT to newlib cflags
6328 if appropriate.
6329 * acinclude.m4: Added --disable-newlib-io-float option.
6330 * aclocal.m4: Regenerated.
6331 * configure: Ditto.
6332 * doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
6333 * libc/*/aclocal.m4 libc/*/configure
6334 * libm/*/aclocal.m4 libm/*/configure: Ditto.
6335 * libc/stdio/vfprintf.c [!INTEGER_ONLY]: Only set FLOATING_POINT
6336 if NO_FLOATING_POINT flag is not defined.
6337
c1010a63
JJ
63382002-02-25 Jeff Johnston <jjohnstn@redhat.com>
6339
6340 * libc/include/sys/config.h: Add __extension__ in front of
6341 long long references.
6342
630c657e
CV
63432002-02-23 Corinna Vinschen <corinna@vinschen.de>
6344
6345 * libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin.
6346 (_stat): Ditto.
6347
59ee2e20
CV
63482002-02-23 Corinna Vinschen <corinna@vinschen.de>
6349
6350 * libc/sys/cygwin/sys/dirent.h (struct __DIR): Use __off32_t instead
6351 of off_t.
6352
2dd68dc2
NC
63532002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
6354
6355 * libc/machine/xscale/strchr.c (strchr): Add 'r1' to the list of
6356 clobbered registers.
6357
55500bf1
TF
63582002-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
6359
6360 * configure.host (newlib_cflags): When host is in m68* add
6361 -DCOMPACT_CTYPE.
6362
ba0173f0
JJ
63632002-02-15 Jeff Johnston <jjohnstn@redhat.com>
6364
6365 * libc/include/sys/config.h: Add definitions for
6366 __int16_t, __uint16_t, __int64_t, and __uint64_t.
6367
7b61d0c5
JJ
63682002-02-12 Hans-Peter Nilsson <hp@bitrange.com>
6369
6370 * libc/sys/mmixware/link.c: New.
6371 * libc/sys/mmixware/sys/syscall.h (TRAP1i, I3f): Make asm
6372 volatile.
6373 * libc/sys/mmixware/times.c (_times): Renamed from times.
6374 * libc/sys/mmixware/open.c (_open): Attempt to handle O_APPEND
6375 properly by reading previous contents, not through BinaryReadWrite.
6376 * libc/sys/mmixware/Makefile.am (lib_a_SOURCES): Add link.c
6377 * libc/sys/mmixware/Makefile.in: Regenerate.
6378
a505db65
CV
63792002-02-10 Corinna Vinschen <corinna@vinschen.de>
6380
6381 * libc/include/grp.h: Don't declare group functions when compiling
6382 Cygwin.
6383
f3b39c45
CV
63842002-02-09 Corinna Vinschen <corinna@vinschen.de>
6385
6386 * libc/include/grp.h: Include Cygwin specific header.
6387 * libc/include/sys/stat.h: Ditto. Don't define `struct stat'
6388 when compiling for Cygwin.
6389 * libc/include/sys/types.h: Don't define off_t, uid_t
6390 and gid_t when compiling for Cygwin.
6391
82b3ac56
MG
63922002-02-08 matthew green <mrg@redhat.com>
6393
6394 * libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): Allocate
6395 _REENT_EMERGENCY_SIZE, not sizeof(char *).
6396
9f25eed9
AO
63972002-02-08 Alexandre Oliva <aoliva@redhat.com>
6398
6399 Contribute sh64-elf.
6400 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
6401 * configure.host (newlib_cflags) [sh*-*-*]: Enable long long
6402 support in printf.
6403 2001-01-29 Alexandre Oliva <aoliva@redhat.com>
6404 * libc/machine/sh/setjmp.S [SH5]: Switch to SHmedia mode before
6405 any labels.
6406 2001-01-24 Alexandre Oliva <aoliva@redhat.com>
6407 * libc/sys/sh/trap.S (___trap34) [SH5]: Don't trash r2.
6408 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
6409 * libc/machine/sh/configure.in: Rework conditionals.
6410 * libc/machine/sh/Makefile.am: Likewise.
6411 * libc/machine/sh/configure, libc/machine/sh/Makefile.in: Rebuilt.
6412 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
6413 * configure.host: Match `sh*'.
6414 * libc/include/machine/setjmp.h: Define for SH5.
6415 * libc/machine/sh/configure.in: Detect SH5.
6416 * libc/machine/sh/configure: Rebuilt.
6417 * libc/machine/sh/Makefile.am: Use only setjmp.S for SH5.
6418 * libc/machine/sh/Makefile.in: Rebuilt.
6419 * libc/machine/sh/asm.h: Adjust for SH5.
6420 * libc/machine/sh/setjmp.S: Implement in SHmedia.
6421 * libc/sys/sh/crt0.S: Likewise.
6422 * libc/sys/sh/trap.S: Likewise.
6423
a2a405ae
JJ
64242002-02-07 Jeff Johnston <jjohnstn@redhat.com>
6425
6426 * libc/machine/i386/Makefile.am: (mach_add_src): Remove.
6427 (mach_add_obj): Conditionally set to setjmp.o or nothing.
6428 (LIB_SOURCES): Remove $(mach_add_src).
6429 (lib_a_LIBADD, lib_a_DEPENDENCIES): Add and set to $(mach_add_src).
6430 (lib_la_LIBADD, lib_la_DEPENDENCIES): Ditto.
6431 * libc/machine/i386/Makefile.in: Regenerate.
6432
27478365
JJ
64332002-02-05 Manik Raina <manik@cisco.com>
6434
994fa212 6435 * libc/misc/dprintf.c (parse_number): #if 0 unused function.
27478365
JJ
6436 * libc/stdlib/ldtoa.c (_ldcheck): Remove unused local variables
6437 s, p, k, and outstr.
6438 * libc/stdlib/dtoa.c (_dtoa_r): Initialize mlo.
6439
815a37f7
JJ
64402002-02-04 Jeff Johnston <jjohnstn@redhat.com>
6441
6442 * libc/include/sys/reent.h [(!_REENT_SMALL]: Add
6443 _REENT_CHECK_EMERGENCY macro.
6444
a4139c12
MG
64452002-02-03 matthew green <mrg@redhat.com>
6446
6447 * libc/reent/signgam.c (__signgam): Fix error in previous.
6448
8195aff7
MG
64492002-02-02 matthew green <mrg@redhat.com>
6450
6451 * libc/include/sys/config.h (_REENT_SMALL): Define for Xstormy16.
6452
6453 * libc/reent/reent.c (_reclaim_reent): Clean for _REENT_SMALL case.
6454 * libc/reent/reent.tex: Add blurb about _REENT_SMALL.
6455 * libc/include/sys/reent.h (struct _reent): Completely new version
6456 for _REENT_SMALL.
6457 (_REENT_INIT): New defines, different defintion depending on _REENT_SMALL.
6458 (_REENT_CHECK, _REENT_CHECK_TM): Likewise.
6459 (_REENT_CHECK_ASCTIME_BUF, _REENT_INIT_RAND48): Likewise.
6460 (_REENT_CHECK_RAND48, _REENT_INIT_MP, _REENT_CHECK_MP): Likewise.
6461 (_REENT_CHECK_EMERGENCY, _REENT_SIGNGAM, _REENT_RAND_NEXT): Likewise.
6462 (_REENT_RAND48_SEED, _REENT_RAND48_MULT, _REENT_RAND48_ADD): Likewise.
6463 (_REENT_MP_RESULT, _REENT_MP_RESULT_K, _REENT_MP_P5S): Likewise.
6464 (_REENT_MP_FREELIST, _REENT_ASCTIME_BUF, _REENT_TM): Likewise.
6465 (_REENT_EMERGENCY): Likewise.
6466
6467 * libc/include/sys/reent.h (struct __sFILE_fake): New struct, same as
6468 the start of the real __sFILE, used for stdin, stdout and stderr until
6469 they are setup properly.
6470 (struct __sFILE): Move location of _data in _REENT_SMALL case.
6471 * libc/stdio/findfp.c (__sinit): Rearrange for _REENT_SMALL case by
6472 allocated stdin, stdout and stderr.
6473 * libc/stdio/getchar.c (_getchar_r): Call _REENT_SMALL_CHECK_INIT().
6474 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Likewise.
6475 * libc/stdio/perror.c (_perror_r): Likewise.
6476 * libc/stdio/printf.c (printf, _printf_r): Likewise.
6477 * libc/stdio/putchar.c (_putchar_r): Likewise.
6478 * libc/stdio/puts.c (_puts_r): Likewise.
6479 * libc/stdio/scanf.c (scanf, _scanf_r): Likewise.
6480 * libc/stdio/vprintf.c (vprintf): Likewise.
6481 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Likewise.
6482
6483 * libc/stdio/tmpnam.c (_tmpnam_r): Use _REENT_EMERGENCY().
6484
6485 * libc/reent/reent.c (_wrapup_reent): Adjust for _REENT_SMALL atexit.
6486 * libc/include/sys/reent.h (_atexit): Limit atexit() entries to 32
6487 for _REENT_SMALL.
6488 * libc/stdlib/atexit.c (atexit): Rearrange for _REENT_SMALL case.
6489 * libc/stdlib/exit.c (exit): Rearrange for _REENT_SMALL case.
6490
6491 * libc/include/sys/reent.h (struct _rand48): Keep _rand_next if
6492 _REENT_SMALL.
6493 * libc/stdlib/drand48.c (_drand48_r): Call _REENT_CHECK_RAND48().
6494 * libc/stdlib/lcong48.c (_lcong48_r): Likewise.
6495 * libc/stdlib/lrand48.c (_lrand48_r): Likewise.
6496 * libc/stdlib/mrand48.c (_mrand48_r): Likewise.
6497 * libc/stdlib/rand48.c (__dorand48): Likewise.
6498 * libc/stdlib/seed48.c (_seed48_r): Likewise.
6499 * libc/stdlib/srand48.c (_srand48_r): Likewise.
6500 * libc/stdlib/rand48.h (__rand48_seed, __rand48_mult, __rand48_add): Define
6501 as _REENT_RAND48_SEED(), _REENT_RAND48_MULT() and _REENT_RAND48_ADD().
6502 * libc/stdlib/dtoa.c (_dtoa_r): Call _REENT_CHECK_MP(). Use
6503 _REENT_MP_RESULT() and _REENT_MP_RESULT_K().
6504 * libc/stdlib/ldtoa.c (_ldtoa_r): Likewise.
6505 * libc/stdlib/rand.c (srand): Use _REENT_RAND_NEXT().
6506 * libc/stdlib/rand.c (rand): Likewise.
6507
6508 * libc/stdlib/mallocr.c (malloc_stats): Call _REENT_SMALL_CHECK_INIT().
6509 * libc/stdlib/mstats.c (_mstats_r): Call _REENT_SMALL_CHECK_INIT().
6510
6511 * libc/stdlib/mprec.c (Balloc): Call _REENT_CHECK_MP. Use
6512 _REENT_MP_FREELIST() and _REENT_MP_P5S.
6513 * libc/include/sys/reent.h (struct _mprec): New structure.
6514
6515 * libc/include/sys/reent.h (struct _reent): Rename _strtok_last to
6516 _unused_strtok_last.
6517 * libc/string/strtok.c (strtok): Use a local static variable.
6518
6519 * libc/include/sys/reent.h (_REENT_ASCTIME_SIZE): New define.
6520 (_REENT_EMERGENCY_SIZE): Likewise.
6521 * libc/time/asctime.c (asctime): Call _REENT_CHECK_ASCTIME_BUF(). Use
6522 _REENT_ASCTIME_BUF().
6523 * libc/time/lcltime.c (localtime): Call _REENT_CHECK_TM(). Use
6524 _REENT_TM().
6525
6526 * libc/include/math.h (__singam_r): Use _REENT_SIGNGAM().
6527 * libc/reent/signgam.c (__signgam): Use _REENT_SIGNGAM().
6528 * libm/math/w_gamma.c (gamma): Use _REENT_SIGNGAM().
6529 * libm/math/w_lgamma.c (lgamma): Use _REENT_SIGNGAM().
6530 * libm/math/wf_gamma.c (gammaf): Use _REENT_SIGNGAM().
6531 * libm/math/wf_lgamma.c (lgammaf): Use _REENT_SIGNGAM().
6532
9c2e7642
GK
65332002-02-01 Geoffrey Keating <geoffk@redhat.com>
6534
6535 * configure.host (xstormy16): Don't use the generic malloc.
6536 * libc/machine/xstormy16/Makefile.am: Build tiny-malloc.
6537 * libc/machine/xstormy16/Makefile.in: Regenerate.
6538 * libc/machine/xstormy16/mallocr.c: New file.
6539 * libc/machine/xstormy16/tiny-malloc.c: New file.
6540
4bb6112f
TF
65412002-01-28 Thomas Fitzsimmons <fitzsim@redhat.com>
6542
6543 * libc/include/sys/signal.h [__CYGWIN__]: Issue error message
6544 when _CYGWIN_TYPES_H is not defined.
6545
8d345552
TF
65462002-01-24 Thomas Fitzsimmons <fitzsim@redhat.com>
6547
6548 * libc/include/sys/signal.h: Revert 2002-01-23 change.
6549
bcc49082
TF
65502002-01-23 Thomas Fitzsimmons <fitzsim@redhat.com>
6551
6552 * libc/include/sys/signal.h: Remove pthread_kill declaration
6553 when __CYGWIN__ is defined.
6554
13baedeb
CF
65552002-01-18 Mark Bradshaw <bradshaw@staff.crosswalk.com>
6556
6557 * libc/include/time.h: Add prototype for strptime for Cygwin.
6558
b2db0ebc
NC
65592002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
6560
ebf139fb
NC
6561 * libc/machine/xscale/memset.c (memset): Fix bug when len == 1 and
6562 dst was not word aligned.
6563
b2db0ebc
NC
6564 * libc/sys/arm/syscalls.c (_sbrk): Return -1 rather than aborting
6565 if too much memory is requested.
6566
798c015d
JJ
65672002-01-11 Jeff Johnston <jjohnstn@redhat.com>
6568
6569 * libc/stdio/vfscanf.c (__svfscanf_r): Change loop that
6570 reads blanks from the input file to break if EOF reached
6571 rather than end processing.
6572
46ad2ef4
JJ
65732002-01-07 Jeff Johnston <jjohnstn@redhat.com>
6574
6575 * MAINTAINERS: Change e-mail addresses to refer to redhat domain.
6576
86b06396
JJ
65772002-01-07 Alan Matsuoka <alanm@redhat.com>
6578
6579 * libc/include/machine/ieeefp.h: Configure d10v doubles to
6580 be 32 bits if __DOUBLE__ == 32 otherwise doubles are 64 bits.
6581 libc/include/sys/config.h: Ditto.
6582
423d5064
CV
65832001-12-28 Corinna Vinschen <corinna@vinschen.de>
6584
6585 * libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE.
6586
f6eff1c0
GK
65872001-12-22 Geoffrey Keating <geoffk@redhat.com>
6588 Catherine Moore <clm@redhat.com>
6589 Richard Henderson <rth@redhat.com>
6590 Corinna Vinschen <vinschen@redhat.com>
6591
6592 * configure.host: Add support for xstormy16.
6593 * libc/include/machine/ieeefp.h: Add support for xstormy16.
6594 * libc/include/machine/setjmp.h: Add support for xstormy16.
6595 * libc/include/sys/config.h: Add support for xstormy16.
6596 * libc/machine/xstormy16/Makefile.am: New file.
6597 * libc/machine/xstormy16/Makefile.in: New file.
6598 * libc/machine/xstormy16/aclocal.m4: New file.
6599 * libc/machine/xstormy16/configure: New file.
6600 * libc/machine/xstormy16/configure.in: New file.
6601 * libc/machine/xstormy16/setjmp.S: New file.
6602
1f93c55f
TF
66032001-12-19 Thomas Fitzsimmons <fitzsim@redhat.com>
6604
6605 * libm/machine/configure.in (HAVE_LIBM_MACHINE_DIR): New conditional.
6606 * libm/machine/Makefile.am [HAVE_LIBM_MACHINE_DIR] (LIBM_MACHLIB): New variable.
6607
13b918be
CV
66082001-12-19 Corinna Vinschen <corinna@vinschen.de>
6609
6610 * libm/machine/Makefile.am: Change rules to create correct lib.a.
6611 * libm/machine/Makefile.in: Regenerated through automake.
6612
08e857b4
TF
66132001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
6614
6615 * Makefile.am (DOCDIR): Force to empty string when doc
6616 directory is not present.
6617
60565ed6
TF
66182001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
6619
6620 * libc/machine/i386/f_*: Move to libm/machine/i386.
6621
66222001-12-18 Joel Sherrill <joel@OARcorp.com>
6623
6624 * libm/machine/Makefile.am: Add dummy doc stub so
6625 "make info" works.
6626
66272001-12-17 Joel Sherrill <joel@OARcorp.com>
6628
6629 * libc/include/sys/types.h (ino_t): RTEMS uses long also.
6630
fc504135
TF
66312001-12-17 Thomas Fitzsimmons <fitzsim@redhat.com>
6632
6633 * libc/stdlib/Makefile.am (LIB_COMPILE): Change to equal
6634 $(COMPILE) rather than $(CC).
6635 * libc/stdio/Makefile.am (LIB_COMPILE): Likewise.
6636 (vfprintf.$(oext)): Remove $(INCLUDES), made redundant by
6637 $(LIB_COMPILE) change.
6638 (vfiprintf.$(oext)): Likewise.
6639
efeae9a3
CV
66402001-12-17 Corinna Vinschen <vinschen@redhat.de>
6641
6642 * libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allow
6643 conditionalized including of getopt stuff.
6644
cdf7120d
TF
66452001-12-14 Thomas Fitzsimmons <fitzsim@redhat.com>
6646
6647 * libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) to
6648 compile line.
f85be99c 6649 (vfiprintf.$(oext)): Likewise.
cdf7120d 6650
2e1a7175
TF
66512001-12-13 Thomas Fitzsimmons <fitzsim@redhat.com>
6652
6653 * Makefile.shared: New file.
6654 * libc/sys/linux/shared.ld: New file.
6655 * libm/machine/*: New files.
6656 * libm/machine/i386/*: New files.
6657 * Makefile.am: Add libtool support. Change math and mathfp
6658 references to variables.
6659 * configure.host: Add variables for libtool support. Add
6660 libm_machine_dir variable.
6661 * configure.in: Add objectlist variables, for libtool
6662 support. Add CC_FOR_BUILD tests.
6663 * libc/Makefile.am: Add libtool support. Change crt0.o
6664 reference to be a variable reference.
6665 * libc/configure.in: Add libtool support. Change sublib
6666 names to be lib${subdir}.la when using libtool.
6667 * libc/ctype/Makefile.am: Add libtool support.
6668 * libc/errno/Makefile.am: Likewise.
6669 * libc/locale/Makefile.am: Likewise.
6670 * libc/machine/Makefile.am: Likewise.
6671 * libc/machine/configure.in: Likewise.
6672 * libc/machine/i386/Makefile.am: Likewise.
6673 * libc/machine/i386/configure.in: Likewise.
6674 * libc/misc/Makefile.am: Likewise.
6675 * libc/posix/Makefile.am: Likewise.
6676 * libc/reent/Makefile.am: Likewise.
6677 * libc/signal/Makefile.am: Likewise.
6678 * libc/stdio/Makefile.am: Likewise.
6679 * libc/stdlib/Makefile.am: Likewise.
6680 * libc/string/Makefile.am: Likewise.
6681 * libc/sys/Makefile.am: Likewise.
6682 * libc/sys/configure.in: Likewise.
6683 * libc/sys/linux/Makefile.am: Add libtool support. Change
6684 awk reference to a variable reference. Change signal.h
6685 reference to a variable reference.
6686 * libc/sys/linux/configure.in: Add libtool support.
6687 * libc/syscalls/Makefile.am: Likewise.
6688 * libc/time/Makefile.am: Likewise.
6689 * libc/unix/Makefile.am: Likewise.
6690 * libm/Makefile.am: Add libtool support. Change math and
6691 mathfp references to variables.
6692 * libm/configure.in: Add libtool support. Add
6693 LIBM_MACHINE_LIB variable.
6694 * libm/common/Makefile.am: Add libtool support.
6695 * libm/math/Makefile.am: Likewise.
6696 * libm/mathfp/Makefile.am: Likewise.
6697 Regenerate all Makefile.in, aclocal.m4, and configure.
6698
b92591a1
JJ
66992001-12-13 Anita Kulkarni <anitak@kpit.com>
6700
6701 * libc/sys/sh/crt0.S: Remove stack symbol definition 0xdeaddead.
6702
355b664e
CF
67032001-12-06 John Peacock <jpeacock@rowman.com>
6704
6705 * libc/include/sys/unistd.h: Correct ualarm declaration.
6706
e9853806
NC
67072001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
6708
6709 * libc/sys/arm/crt0.S: For __USES_INITFINI__ preserve the argument
6710 vector before calling the initialisation functions.
6711
a8e091b0
CF
67122001-11-29 Christopher Faylor <cgf@redhat.com>
6713
6714 * libc/include/dirent.h: Protect against multiple inclusion.
6715
ab634123
CF
67162001-11-27 Christopher Faylor <cgf@redhat.com>
6717
6718 * libc/include/sys/types.h: Define useconds_t.
6719 * libc/include/sys/ulimit.h: Declare ualarm.
6720
d37e401e
CF
67212001-11-21 Christopher Faylor <cgf@redhat.com>
6722
6723 * libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.
6724
8ac90051
HPN
67252001-11-19 Hans-Peter Nilsson <hp@bitrange.com>
6726
6727 * libc/sys/mmixware/*: Tweak license header in all source files.
6728
d7ca37e4
CV
67292001-11-12 Corinna Vinschen <vinschen@redhat.com>
6730
6731 * libc/include/alloca.h: Move libc/sys/linux/include/alloca.h
6732 to here. Rearrange for general inclusion by stdlib.h.
6733 * libc/include/stdlib.h: Include <alloca.h> if __STRICT_ANSI__
6734 isn't defined.
6735 * libc/sys/linux/include/alloca.h: Move to libc/include.
6736
28f8744e
AG
67372001-11-12 Anthony Green <green@redhat.com>
6738
6739 * libc/sys/arm/crt0.S (__stack_base__): New symbol.
6740
4cede8c4
HPN
67412001-11-13 Hans-Peter Nilsson <hp@bitrange.com>
6742
6743 * libc/sys/mmixware/*: Correct spacing in all source files.
6744 * libc/sys/mmixware/syscall.h: Move misplaced file...
6745 * libc/sys/mmixware/sys/syscall.h: ...here.
6746
8be9b48b
JJ
67472001-11-12 Hans-Peter Nilsson <hp@bitrange.com>
6748
6749 * libc/include/machine/ieeefp.h: Add support for mmix target.
6750 * libc/include/machine/setjmp.h: Ditto.
6751 * configure.host: Ditto.
6752 * libc/sys/mmixware/Makefile.am, libc/sys/mmixware/_exit.c,
6753 libc/sys/mmixware/access.c, libc/sys/mmixware/aclocal.m4,
6754 libc/sys/mmixware/chmod.c, libc/sys/mmixware/chown.c,
6755 libc/sys/mmixware/close.c, libc/sys/mmixware/configure.in,
6756 libc/sys/mmixware/creat.c, libc/sys/mmixware/crt0.c,
6757 libc/sys/mmixware/execv.c, libc/sys/mmixware/execve.c,
6758 libc/sys/mmixware/fork.c, libc/sys/mmixware/fstat.c,
6759 libc/sys/mmixware/getpid.c, libc/sys/mmixware/gettime.c,
6760 libc/sys/mmixware/isatty.c, libc/sys/mmixware/kill.c,
6761 libc/sys/mmixware/lseek.c, libc/sys/mmixware/open.c,
6762 libc/sys/mmixware/pipe.c, libc/sys/mmixware/read.c,
6763 libc/sys/mmixware/sbrk.c, libc/sys/mmixware/setjmp.S,
6764 libc/sys/mmixware/stat.c, libc/sys/mmixware/sys/syscall.h,
6765 libc/sys/mmixware/time.c, libc/sys/mmixware/times.c,
6766 libc/sys/mmixware/unlink.c, libc/sys/mmixware/utime.c,
6767 libc/sys/mmixware/wait.c, libc/sys/mmixware/write.c: New files.
6768 * libc/sys/mmixware/configure, libc/sys/mmixware/Makefile.in,
6769 libc/sys/mmixware/aclocal.m4: Generate.
6770
c7dd4f95
CV
67712001-11-05 Corinna Vinschen <corinna@vinschen.de>
6772
6773 * libc/include/sys/unistd.h: Add prototypes for endusershell(),
6774 getusershell(), iruserok(), revoke(), ruserok() and setusershell()
6775 when __CYGWIN__ is defined.
6776 * libc/sys/cygwin/sys/utmp.h: Add prototypes for login_tty() and
6777 logwtmp().
6778
a6a6f9fe
JJ
67792001-11-01 Arati Dikey <aratidikey@hotmail.com>
6780
6781 * libm/mathfp/sf_isinf.c (isinff): Change to use _DEFUN macro.
6782 [_DOUBLE_IS_32BITS](isinf): New function that calls isinff.
6783 * libm/mathfp/sf_isnan.c (isnanf): Change to use _DEFUN macro.
6784 [_DOUBLE_IS_32BITS](isnan): New function that calls isnanf.
6785
d0504c35
JJ
67862001-10-24 Christopher Faylor <cgf@redhat.com>
6787
6788 * libc/stdio/fseek.c: Reset pointer to buffer base
6789 when forced to seek outside of current buffer contents.
6790 This prevents the code from erroneously thinking there is
6791 anything in the current buffer.
6792
0280c8c0
GK
67932001-10-22 Geoffrey Keating <geoffk@redhat.com>
6794
6795 * libc/include/math.h: The C++ standard adds the single-precision
6796 versions of the elementary functions.
6797
333d6098
CF
67982001-10-22 Christopher Faylor <cgf@redhat.com>
6799
6800 * libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations
6801 throughout.
6802 * signal.h: Change comment to reflect __CYGWIN__ rather than __CYGWIN32__.
6803 * popen.c (popen): Use __CYGWIN_ rather than __CYGWIN32__.
6804 * system.c (_system_r): Ditto.
6805
c7118319
CV
68062001-10-17 Corinna Vinschen <corinna@vinschen.de>
6807
6808 * libc/include/sys/unistd.h: Add prototype for fchdir() when
b4e98df6 6809 __CYGWIN__ or __rtems__ is defined.
c7118319 6810
5665b0e1
JJ
68112001-10-01 Charles Wilson <cwilson@ece.gatech.edu>
6812
6813 * libc/include/stdlib.h: add declarations for
6814 _strtoull_r, _strtoll_r, strtoull, and strtoll.
6815 * libc/stdio/local.h: remove declarations of
6816 __strtoull_r and __strtoll_r.
6817 * libc/stdio/vfscanf.c(__svfscanf_r): call
6818 _strtoull_r instead of __strtoull_r. Ditto
6819 _strtoll_r vs. __strtoll_r.
6820 * libc/stdlib/Makefile.am: add new files to
6821 .c list and .def list
6822 * libc/stdlib/Makefile.in: regenerate
6823 * libc/stdlib/strtoll_r.c: rename __strtoll_r
6824 as _strtoll_r
6825 * libc/stdlib/strtoull_r.c: rename __strtoull_r
6826 as _strtoull_r
6827 * libc/stdlib/strtoull.c: new file
6828 * libc/stdlib/strtoll.c: new file
6829
d2d5eb41
CF
6830Mon Sep 17 17:29:47 2001 Christopher Faylor <cgf@cygnus.com>
6831
6832 * libc/include/process.h: Add getpid() declaration.
6833
448e3c14
NC
68342001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
6835
6836 * libc/sys/arm/crt0.S: Add calls to _init and _fini (via atexit)
6837 for new style arm/elf ctor/dtor handling.
6838 Minor formatting tidy up.
6839
7a2afbbb
JJ
68402001-09-13 Jeff Johnston <jjohnstn@redhat.com>
6841
6842 * libc/stdlib/Makefile.am: Add support to build strtoll_r.c
6843 and strtoull_r.c.
6844 * libc/stdlib/Makefile.in: Regenerated.
6845 * libc/stdlib/strtoll_r.c: New file.
6846 * libc/stdlib/strtoull_r.c: New file.
6847 * libc/stdio/local.h: Add prototypes for long long string
6848 conversion routines.
6849 * libc/stdio/vfscanf.c (__svfscanf_r): Add optional long long support
6850 tied to %L integer conversion specifier.
6851
6342caa4
JJ
6852Thu Sep 13 08:49:49 2001 Jason Tishler <jason@tishler.net>
6853
6854 * strftime.c (strftime): Fix "%W" implementation to properly handle
6855 Mondays too.
6856
b2d319cb
JJ
68572001-09-07 Jeff Law <law@redhat.com>
6858
6859 * libc/sys/h8300hms/crt0.S: For H8/300H and H8/S, load address of
6860 __fini with "mov.l" instead of "mov.w".
6861
233823ba
CV
68622001-09-05 Corinna Vinschen <corinna@vinschen.de>
6863
6864 * libc/sys/cygwin/include/unistd.h: New file, wrapping sys/unistd.h
6865 and getopt.h.
6866
63c17b54
JJ
68672001-09-04 Jason Merrill <jason_merrill@redhat.com>
6868
6869 * libc/sys/h8300hms/crt0.S: Support ELF initialization.
6870
a3e67ddf
CV
68712001-09-03 Corinna Vinschen <corinna@vinschen.de>
6872
6873 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number
6874 field.
6875 (__DIRENT_VERSION): New define.
6876
6d47f33a
CV
68772001-09-03 Corinna Vinschen <corinna@vinschen.de>
6878
6879 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add `d_fd' member.
4f79e37e
CV
6880 Shrink __d_reserved accordingly to keep structure size.
6881 (dirfd): Declare external.
6d47f33a 6882
348c5e06
JJ
68832001-08-29 Joel Sherrill <joel@OARcorp.com>
6884
6885 * libc/include/sys/unistd.h: Prototype chroot() for RTEMS.
6886
68872001-08-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
6888
6889 * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S,
6890 libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c,
6891 libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S,
6892 libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S,
6893 libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S,
6894 libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S,
6895 libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c,
6896 libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S:
6897 Add conditional compilation to avoid HW FPU instructions
6898 when compiled for soft-float.
6899
f29865c5
JJ
69002001-08-29 Jeff Johnston <jjohnstn@redhat.com>
6901
6902 * Makefile.am: Add check for ln failing when creating libg.a
6903 so that cp gets used as a backup.
6904 * Makefile.in: Regenerated.
6905
9e2a4ef8
JJ
69062001-08-29 Jeff Johnston <jjohnstn@redhat.com>
6907
6908 * libc/include/sys/reent.h: Add include of <sys/_types.h>.
6909 No longer include time.h. Add struct __tm to use for
6910 _localtime_buf in the reentrant structure. Add a
6911 _NULL definition to use in initializing the reentrant struct.
6912 * libc/include/sys/config.h: For CYGWIN32 and RTEMS, change
6913 the _READ_WRITE_RETURN_TYPE to _ssize_t which is found in
6914 <sys/_types.h>.
6915 * libc/include/sys/unistd.h: Include <sys/_types.h>.
6916 * libc/time/lcltime.c (localtime): Cast the reentrant struct
6917 _localtime_buf to be struct tm *.
6918
1ae900d6
JR
6919Wed Aug 29 14:17:38 2001 J"orn Rennecke <amylaar@redhat.com>
6920
6921 * configure.host (h8300-*-elf*, h8500-*-elf*): New cases.
6922 * libc/sys/h8300hms/crt1.c (__main): Don't reference __ctors /
6923 __ctors_end.
6924 * libc/sys/h8300hms/syscalls.c: Include errno.h.
6925 (_unlink): New stub function.
6926
8e26d5b5
CF
6927Sat Aug 25 22:22:25 2001 Christopher Faylor <cgf@cygnus.com>
6928
6929 * libc/include/sys/errno.h: Add a cautionary comment.
6930
e8267664
JJ
69312001-08-21 Jeff Johnston <jjohnstn@redhat.com>
6932
6933 * libc/stdlib/mallocr.c [!defined(MALLOC_ALIGNMENT)]: Add conditional
6934 for SIZE_SZ so that alignment ends up a minimum of 8.
6935
4acf3edf
CF
6936Mon Aug 13 22:26:01 2001 Christopher Faylor <cgf@cygnus.com>
6937
6938 * libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro
6939 arguments.
6940
6941 * libc/include/sys/errno.h: Declare sys_errlist and sys_nerr, under
6942 Cygwin.
6943
52c80be8
JJ
69442001-08-13 Jeff Johnston <jjohnstn@redhat.com>
6945
6946 * libc/include/malloc.h (M_MXFAST, M_NLBLKS, M_GRAIN, M_KEEP): New
6947 macro constants for mallopt options.
6948 (M_TRIM_THRESHOLD, M_TOP_PAD, M_MMAP_THRESHOLD, M_MMAP_MAX): Ditto.
6949
a7061f7f
JJ
69502001-08-02 Jeff Johnston <jjohnstn@redhat.com>
6951
6952 * libc/include/stdio.h (BUFSIZ): Define to __BUFSIZ__ if provided,
6953 otherwise default.
6954
0b4bfdd5
AH
69552001-07-12 Aldy Hernandez <aldyh@redhat.com>
6956
6957 * libc/machine/mips/setjmp.S: Allow mips16 and mips64 to coexist.
6958
2b6b730c
NC
69592001-06-27 Nick Clifton <nickc@cambridge.redhat.com>
6960
6961 * libc/include/machine/ieeefp.h (__IEEE_BYTES_LITTLE_ENDIAN):
6962 Define for little endian ARMs.
6963
6964 * libc/stdlib/mprec.h (Storeinc): Use little endian version if
6965 __IEEE_BYTES_LITTLE_ENDIAN is defined.
6966
25842b68
JJ
69672001-06-11 Danny Smith <dannysmith@users.sourceforge.net>
6968
6969 * /libc/include/ctype.h (is* and to* macros): Do not define if C++.
6970
371b76ef
JJ
69712001-06-11 Egor Duda <deo@logos-m.ru>
6972
6973 * libc/ctype/ctype_.c: When compiled with gcc on platforms
6974 with signed char, make _ctype_[-128] ... _ctype[-1] refer to
6975 initialized memory region. Platform can define COMPACT_CTYPE
6976 to avoid allocation of the additional 128 bytes of data.
6977 Add pointer to _ctype_ array. Always initialize all _ctype_
6978 array elements.
6979
43b44bc5
JL
69802001-06-08 Jonathan Larmour <jlarmour@redhat.com>
6981
6982 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencing
6983 NULL pointer.
6984
188bc140
NC
69852001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
6986
6987 * libc/stdio/vfprintf.c (_VFPRINTF_R): Handle printf ("%#.0o",0)
6988
2ce88418
NC
69892001-05-25 Nick Clifton <nickc@cambridge.redhat.com>
6990
6991 * libc/machine/xscale/memcmp.c: Fix bug when both pointers have
6992 matching, non-word alignment, and the length is <= 4 but more than
6993 enough to move them over a word boundary.
6994 Add comments explaining what each instruction does.
6995
ca60ed47
CF
6996Mon May 7 20:39:25 2001 Christopher Faylor <cgf@cygnus.com>
6997
6998 * libc/include/sys/stat.h: Revert March 3, Cygwin change.
c63e9997 6999 * libc/include/sys/unistd.h: Ditto.
ca60ed47 7000
8b3bcfba
JJ
70012001-05-04 Earnie Boyd <earnie@users.sourceforge.net>
7002
7003 * libc/string/strrchr.c: Use strchr for the speed improvements.
7004
b09e3cf8
JJ
70052001-05-01 Jeff Johnston <jjohnstn@redhat.com>
7006
7007 * libc/stdio/findfp (__sinit)[HAVE_FCNTL]: For platforms that have
7008 real file systems, let __smakebuf() determine if line buffering
7009 should be used for stdout.
7010
0ca66974
JJ
70112001-04-27 Jeff Johnston <jjohnstn@redhat.com>
7012
7013 * libc/stdio/vfscanf.c (__svfscanf_r): Initialize new_exp local var.
7014
7cb7017a
JJ
70152001-04-27 Jeff Johnston <jjohnstn@redhat.com>
7016
7017 * libc/include/stdlib.h: Add prototype for _strtod_r.
7018
a874cd21
JJ
70192001-04-24 Charles Wilson <cwilson@ece.gatech.edu
7020
7021 * libc/stdio/vprintf.c (vprintf): fix signature to use _DEFUN
7022 * libc/stdio/vprintf.c (_vprintf_r): new function
7023 * libc/stdio/vsnprintf.c (vsnprintf): fix signature to use _DEFUN
7024 * libc/stdio/vsnprintf.c (_vsnprintf_r): fix signature to use
7025 _DEFUN, and call _vfprintf_r, not vfprintf.
7026 * libc/stdio/vsprintf.c (vsprintf.c): fix signature to use _DEFUN
7027 * libc/stdio/vsprintf.c (_vsprintf_r): fix signature to use
7028 _DEFUN, and call _vfprintf_r, not vfprintf.
7029
cb4cc283
CF
70302001-04-22 Earnie Boyd <earnie@users.sourceforge.net>
7031
7032 * libc/include/sys/unistd.h [X_OK]: Use better protection against
7033 Cygwin X_OK definitions in sys/file.h.
7034
8c9df1d5
CF
7035Fri Apr 20 23:17:51 2001 Christopher Faylor <cgf@cygnus.com>
7036
7037 * libc/include/sys/time.h: Define timercmp and other macros for
7038 __CYGWIN__, too.
7039
3ac6f3a7
JJ
70402001-04-20 Jeff Johnston <jjohnstn@redhat.com>
7041
7042 * acinclude.m4: Added --enable-malloc-debugging configure flag.
7043 * configure.host: For Cygwin specify -DMALLOC_PROVIDED if
7044 --enable-malloc-debugging selected.
7045 * aclocal.m4 configure: Regenerated.
7046 libm/aclocal.m4 libm/configure: Ditto.
7047 * libc/aclocal.m4 libc/configure: Ditto.
7048 * libc/machine/aclocal.m4 libc/machine/configure: Ditto.
7049 * libc/machine/*/aclocal.m4 libc/machine/*/configure: Ditto.
7050 * libc/sys/aclocal.m4 libc/sys/configure: Ditto.
7051 * libc/sys/*/aclocal.m4 libc/sys/*/configure: Ditto.
7052 * doc/aclocal.m4 doc/configure: Ditto.
7053
52cb9e69
JJ
70542001-04-20 Jeff Johnston <jjohnstn@redhat.com>
7055
7056 * libc/include/stdio.h[!_REENT_ONLY]: Moved various functions together
7057 into one list.
7058 [!__STRICT_ANSI__]: Moved non-ANSI I/O functions in this list.
7059 (vfscanf, vscanf, vsscanf, _vfscanf_r, _vscanf_r, _vsscanf_r): New
7060 function prototypes.
7061 (_fscanf_r, _sscanf_r): Ditto.
7062 * libc/include/stdlib.h: Added _strtod_r prototype.
7063 * libc/stdio/Makefile.am: Add new v*scanf functions.
7064 * libc/stdio/Makefile.in: Regenerate.
7065 * libc/stdio/fscanf.c: Reorganized so HAVE_STDC only affects prototype
7066 and code is shared. Added reentrant _fscanf_r which calls __svfscanf_r.
7067 * libc/stdio/scanf.c: Changed to call __svfscanf_r.
7068 * libc/stdio/sscanf.c: Changed documentation to add reentrant routines.
7069 (sscanf): Changed to call __svfscanf_r with _REENT argument.
7070 (_sscanf_r): New routine.
7071 * libc/stdio/local.h: Removed __svfscanf prototype and replaced it
7072 with __svfscanf_r prototype.
7073 * libc/stdio/vfscanf.c (vfscanf, _vfscanf_r: New
7074 routines.
7075 (__svfscanf_r): Reentrant version of __svfscanf which takes reetrancy
7076 structure as argument as calls reentrant versions of helper functions
7077 (e.g. _strtol_r, _strtoul_r). Also replaced calls to atol and atof
7078 to _strtol_r and _strtod_r respectively.
7079 * libc/stdio/vfscanf.c: Also changed __svfscanf to call __svfscanf_r.
7080 * libc/stdlib/strtod.c (strtod): Changed to call _strtod_r with
7081 _REENT argument.
7082 * libc/stdio/vscanf.c: New file.
7083 * libc/stdio/vsscanf.c: Ditto.
7084
ee9f39fb
JJ
70852001-04-19 Robert Collins <rbtcollins@hotmail.com>
7086
7087 * include/time.h[__CYGWIN__]: Define tzname to _tzname if not defined.
7088 Define daylight to _daylight if it is not defined
7089 Prepare a variable export of timezone based on timezonevariable.
7090 (Cannot be used with the timezone() function.)
7091
273861e3
JJ
70922001-04-17 Stephen L. Moshier <moshier@moshier.ne.mediaone.net>
7093
7094 * newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi):
7095 Correct the numerical values.
7096
a25b8414
CF
70972001-04-13 Robert Collins <rbtcollins@hotmail.com>
7098
7099 * libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only).
7100
b8a8c59d
CV
7101Thu Apr 12 23:11:00 2001 Corinna Vinschen <corinna@vinschen.de>
7102
7103 * libc/include/sys/errno.h: Add ECASECLASH to indicate case clash
7104 on case insensitve file systems.
7105
74f8cc63
CF
71062001-04-12 Robert Collins <rbtcollins@hotmail.com>
7107
7108 * libc/include/sys/features.h: Add appropriate defines for Cygwin
7109 pthread support.
7110 * libc/include/sys/signal.h: Remove unneeded __CYGWIN__ protection.
7111 * libc/include/sys/types.h: Protect __CYGWIN__ from the rtems pthreads
7112 types. Include <cygwin/types.h> for the cygwin specific typedefs.
7113
16740220
RS
71142001-04-04 Richard Sandiford <rsandifo@redhat.com>
7115
7116 * libc/include/machine/ieeefp.h: Comment about new configuration
7117 macros _FLT_LARGEST_EXPONENT_IS_NORMAL and _FLT_NO_DENORMALS.
7118 * libm/common/fdlib.h: Define new macros for testing floats.
7119 * libm/common/sf_*: Use them.
7120 * libm/math/ef_*: Likewise.
7121 * libm/math/sf_*: Likewise.
7122
0694d8d3
JJ
71232001-03-29 Jeff Johnston <jjohnstn@redhat.com>
7124
7125 * libc/sys/arm/setjmp.S: Added .code 16 specifier for thumb-mode
7126 prolog to by-pass possible assembler error.
7127
4833b38c
JJ
71282001-03-21 Egor Duda <deo@logos-m.ru>
7129
7130 Allow building internal stubs for non-reentrant syscalls
7131 if target provides its own malloc
7132 * libc/reent/reent.c (errno): Move definition here.
7133 * libc/reent/sbrkr.c: From here.
7134
d17d6d42
CF
71352001-03-20 Danny Smith <dannysmith@users.sourceforge.net>
7136
7137 * libc/include/sys/types.h (BSD int typedefs): Guard with
7138 _BSDTYPES_DEFINED rather than _WINSOCK_H.
7139 (fd_set): Add !defined __USE_W32_SOCKETS to guard; define
7140 _SYS_TYPES_FD_SET.
7141 * libc/include/sys/unistd.h (gethostname): Don't declare if defined
7142 (_WINSOCK_H) || defined (__USE_W32_SOCKETS).
7143
c7ee75cd
CV
7144Sat Mar 17 18:30:00 2001 Corinna Vinschen <corinna@vinschen.de>
7145
7146 * libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS and
7147 _PC_POSIX_SECURITY constants for Cygwin.
7148
63dc5d80
CV
7149Wed Mar 14 9:34:00 2001 Corinna Vinschen <corinna@vinschen.de>
7150
7151 * libc/sys/cygwin/crt0.c: Add copyright hint.
7152 * libc/sys/cygwin/sys/dirent.h: Ditto.
7153 * libc/sys/cygwin/sys/param.h: Ditto.
7154 * libc/sys/cygwin/sys/utime.h: Ditto.
7155 * libc/sys/cygwin/sys/utmp.h: Ditto.
7156
6f637037
AO
71572001-03-13 Alexandre Oliva <aoliva@redhat.com>
7158
7159 * libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make it
7160 equivalent to LONGINT.
7161
e69b6f73
JJ
71622001-03-08 Richard Sandiford <rsandifo@redhat.com>
7163
7164 * (libc/include/machine/setjmp.h): Use 23 long long ints for a
7165 jmpbuf on MIPS64 targets.
7166 * (libc/machine/mips/setjmp.S): Add MIPS64 version.
7167
6198dece
CF
7168Wed Mar 7 16:02:07 2001 Christopher Faylor <cgf@cygnus.com>
7169
e69b6f73
JJ
7170 * libc/include/sys/config.h: Use ssize_t for Cygwin read/write
7171 declarations.
6198dece 7172
cfc05d96
JJ
7173Mon Mar 5 21:48:54 2001 J"orn Rennecke <amylaar@redhat.com>
7174
7175 * libc/include/sys/config.h (_READ_WRITE_RETURN_TYPE): Define.
7176 For RTEMS, define to be ssize_t. Default to int if not defined.
7177 * libc/stdio/sscanf.c (eofread): Return _READ_WRITE_RETURN_TYPE.
7178 * libc/stdio/stdio.c (__sread, __swrite): Likewise.
7179 * libc/stdio/local.h (__sread, __swrite): Likewise.
7180 * libc/include/sys/reent.h (_read, _write): Likewise.
7181 * libc/include/sys/unistd.h (read, write, _read, _write): Likewise.
7182 * libc/syscalls/sysread.c (read): Likewise.
7183 * libc/syscalls/syswrite.c (write): Likewise.
7184
6249353a
JJ
71852001-03-05 Jeff Johnston <jjohnstn@redhat.com>
7186
7187 * libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants.
7188
658b5db9
CF
7189Sat Mar 3 00:34:14 2001 Christopher Faylor <cgf@cygnus.com>
7190
7191 * libc/include/sys/stat.h: Use special defines for executable stat bits
7192 when compiling for Cygwin.
7193 * libc/include/sys/unistd.h: Use special define for X_OK when compiling
7194 for Cygwin.
7195
19ca46d5
JJ
71962001-03-02 Jeff Johnston <jjohnstn@redhat.com>
7197
7198 * libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype
7199 of strtok_r is always defined.
7200
b73ed85e
JJ
72012001-03-02 Jeff Johnston <jjohnstn@redhat.com>
7202
7203 * libc/include/machine/ansi.h: New dummy header file.
7204
ee37ede1
JJ
72052001-02-22 Jeff Johnston <jjohnstn@redhat.com>
7206
7207 * libc/include/machine/setjmp-dj.h: With DJ Delorie's permission,
7208 changed the copyright information to allow free modification of the
7209 file with no reference to "copying.dj".
7210 * libc/include/sys/stat-dj.h: Ditto.
7211 * libc/machine/i386/setjmp.S: Ditto.
7212 * libc/sys/h8300hms/sys/file.h: Ditto.
7213 * libc/sys/sysmec/access.c: Ditto.
7214 * libc/sys/sysnecv850/access.c: Ditto.
7215 * libc/stdio/mktemp.c: Fixed typo for the word copyright.
7216 * libc/stdlib/getenv_r.c: Ditto.
7217 * libc/stdlib/putenv_r.c: Ditto.
7218 * libc/stdlib/setenv_r.c: Ditto.
7219 * libc/stdlib/getenv.c: Removed DJ reference since any possible
7220 modifications will now be in the _r version of this file.
7221 * libc/stdlib/putenv.c: Ditto.
7222 * libc/stdlib/setenv.c: Ditto.
7223 * libc/sys/go32/copying.dj: Removed DJ's address which is no longer
7224 valid. Added a reference to DJ's web page that contains his address.
7225 * libc/sys/go32/*.s: Removed references to DJ's old address.
7226 * libc/sys/go32/*.c: Ditto.
7227 * libc/sys/go32/*.h: Ditto.
7228 * libc/sys/go32/*.S: Ditto.
7229 * libc/sys/go32/sys/*.h: Ditto.
7230
3a8fc0e4
JJ
72312001-02-21 Jeff Johnston <jjohnstn@redhat.com>
7232
7233 * libc/stdio/fdopen.c (fdopen): Protect calls to _fcntl() with
7234 HAVE_FCNTL flag check.
7235 * configure.host: Define HAVE_FCNTL for Cygwin, go32, RTEMS, sparc64,
7236 powerpcle, x86 netware, x86 sco, x86 Linux and Vxworks.
7237
b24ee749
CF
7238Thu Feb 15 01:39:51 2001 Christopher Faylor <cgf@cygnus.com>
7239
7240 * libc/include/sys/signal.h: Always include sys/types.h under Cygwin.
7241
ab4745dc
JJ
72422001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
7243
7244 * libc/include/stdlib.h: Add declarations of rand48 functions and
7245 their reentrant versions.
7246 * libc/include/sys/reent.h: Move macros from rand48.h. Add
7247 struct _rand48 for shared parameters of rand48 functions.
7248 (struct _reent): Add a variable _r48 of struct _rand48.
7249 (_REENT_INIT): Add _r48 initialization.
7250 * libc/stdlib/Makefile.am (lib_a_SOURCES): Add rand48 functions.
7251 (CHEWOUT_FILES): Add rand48.def.
7252 * libc/stdlib/Makefile.am: Add dependencies for rand48 functions.
7253 * libc/stdlib/Makefile.in: Regenerated.
7254 * libc/stdlib/drand48.c (drand48, _drand48_r): Derived from the
7255 NetBSD C library.
7256 * libc/stdlib/erand48.c (erand48, _erand48_r): Ditto.
7257 * libc/stdlib/jrand48.c (jrand48, _jrand48_r): Ditto.
7258 * libc/stdlib/lcong48.c (lcong48, _lcong48_r): Ditto.
7259 * libc/stdlib/lrand48.c (lrand48, _lrand48_r): Ditto.
7260 * libc/stdlib/mrand48.c (mrand48, _mrand48_r): Ditto.
7261 * libc/stdlib/nrand48.c (nrand48, _nrand48_r): Ditto.
7262 * libc/stdlib/seed48.c (seed48, _seed48_r): Ditto.
7263 * libc/stdlib/srand48.c (srand48, _srand48_r): Ditto.
7264 * libc/stdlib/rand48.c (__dorand48): Ditto.
7265 * libc/stdlib/rand48.h: Ditto, and modify declarations of global
7266 parameters into macros referring them in the reentrant structure.
7267
a34c461f
JJ
72682001-02-12 Jeff Johnston <jjohnstn@redhat.com>
7269
7270 * libc/include/sys/stat.h: Add mknod for Cygwin now that
7271 Cygwin definition has correct prototype.
7272
34f31ff2
JJ
72732001-02-08 Jeff Johnston <jjohnstn@redhat.com>
7274
7275 * libc/include/sys/stat.h: Must revert change for mknod
7276 for CYGWIN until winsup/cygwin/syscalls.cc changes mknod
7277 prototype.
7278
5336d6de
JJ
72792001-02-08 Jeff Johnston <jjohnstn@redhat.com>
7280
7281 * libc/include/stdio.h: Revert putw prototype.
7282
8915d10a
JJ
72832001-02-08 Edward M. Lee <tailbert@yahoo.com>
7284
7285 * libc/include/grp.h: add prototype for initgroups.
7286 * libc/include/stdio.h: fix prototype for putw.
7287 * libc/include/sys/signal.h: add prototype for killpg.
7288 * libc/include/sys/stat.h: enable mknod/lstat for CYGWIN.
7289 * libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp,
7290 vhangup and remove duplicate sysconf prototype.
7291
93ac4487
JJ
72922001-02-07 Jeff Johnston <jjohnstn@redhat.com>
7293
7294 * libc/sys/rtems/sys/types.h: Removed.
7295
31f5feea
JJ
72962001-02-05 Charles Wilson <cwilson@ece.gatech.edu>
7297
7298 * libc/include/locale.h: add LC_MESSAGES definition
7299
b5139f59
AO
73002001-02-01 Alexandre Oliva <aoliva@redhat.com>
7301
7302 * libc/sys/sh/sys/syscall.h (SYS_get_argc, SYS_get_argN_len,
7303 SYS_get_argN):
7304 * libc/sys/sh/syscalls.c (__setup_argv_for_main,
7305 __setup_argv_and_call_main): New.
7306
e29d8355
JJ
73072001-01-31 Jeff Johnston <jjohnstn@redhat.com>
7308
7309 * libc/include/stdio.h (FILENAME_MAX): Changed to use __FILENAME_MAX__
7310 if defined.
7311 (FOPEN_MAX): Changed to use __FOPEN_MAX__ if defined.
7312 (L_tmpnam): Changed to use __L_tmpnam__ if defined.
7313 * libc/include/sys/config.h: Changed to set __FILENAME_MAX__
7314 appropriately for Cygwin and RTEMS so not to exceed PATH_MAX.
7315
82ea92f3
CF
7316Mon Jan 29 23:03:06 2001 Christopher Faylor <cgf@cygnus.com>
7317
7318 * libc/stdlib/mallocr.c: Undefine windows preprocessor variables when
7319 compiling under Cygwin.
7320
3aaa66f8
JJ
73212001-01-29 Jeff Johnston <jjohnstn@redhat.com>
7322
7323 * libc/include/math.h (signgam): Change to errno-like solution
7324 using a function to return the address of the real signgam.
7325 * libc/reent/signgam.c: New file containing __signgam().
7326 * libc/reent/Makefile.am: Added signgam.c to list of files.
7327 * libc/reent/Makefile.in: Regenerated.
7328
610b895a
AO
73292001-01-25 Alexandre Oliva <aoliva@redhat.com>
7330
b0913397
AO
7331 * libc/sys/sh/syscalls.c (_times): New.
7332
610b895a
AO
7333 * configure.host (sh*-*-*): Add -DHAVE_GETTIMEOFDAY to newlib_cflags.
7334 * libc/sys/sh/syscalls.c (_gettimeofday): New.
7335
3643210e
JJ
73362001-01-23 Jeff Johnston <jjohnstn@redhat.com>
7337
7338 * libc/include/math.h (signgam): Regress previous fix as
7339 it does not handle programs with extern int signgam in them.
7340
841081c9
JJ
73412001-01-23 Jeff Johnston <jjohnstn@redhat.com>
7342
7343 * libc/include/math.h (signgam): Changed to a macro refering to
7344 its location in the reentrant structure.
7345
e9cd87b8
JJ
73462001-01-23 Jeff Johnston <jjohnstn@redhat.com>
7347
7348 * libc/stdio/vfprintf.c (_VFPRINTF_R): Modification to fix
7349 that suppressed . for %.0f, 0.1. Check now looks if there
7350 are padding zeroes (expt) in addition to any digits (ndig) to
7351 print.
7352
a302b48c
JJ
73532001-01-18 Jeff Johnston <jjohnstn@redhat.com>
7354
7355 * libc/sys/arc/Makefile.am: New file.
7356 * libc/sys/arc/Makefile.in: Ditto.
7357 * libc/sys/arc/aclocal.m4: Ditto.
7358 * libc/sys/arc/configure: Ditto.
7359 * libc/sys/arc/configure.in: Ditto.
7360 * libc/sys/arc/crt0.S: Ditto.
7361 * libc/sys/arc/isatty.c: Ditto.
7362 * libc/sys/arc/mem-layout.c: Ditto.
7363 * libc/sys/arc/sbrk.c: Ditto.
7364 * libc/sys/arc/syscalls.c: Ditto.
7365 * libc/sys/arc/sys/syscall.h: Ditto.
7366
d0319c3b
CF
7367Wed Jan 17 23:20:56 2001 Christopher Faylor <cgf@cygnus.com>
7368
7369 * libc/include/sys/unistd.h: Use correct declaration for setdtablesize.
7370
e45ab890
CF
7371Fri Jan 12 00:34:31 2001 Christopher Faylor <cgf@cygnus.com>
7372
7373 * libc/include/sys/signal.h: Add some SA_* defines for Cygwin.
7374
1376245a
DD
7375Thu Jan 11 20:42:06 2001 Earnie Boyd <earnie_boyd@yahoo.com>
7376
7377 * libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__
7378
92b57543
NC
73792001-01-09 Nick Clifton <nickc@redhat.com>
7380
7381 * configure.host (v859): Remove unsupported compiler options.
7382
7d6d33d4
JJ
7383Fri Jan 5 19:57:00 EST 2001 Aaron J. Grier <aaron@frye.com>
7384
7385 * src/newlib/configure.host (*-*-rtems*): add printf long long
7386 support for RTEMS.
7387
602f8b5a 73882000-12-19 Graham Stott <grahams@redhat.com>
6286746a
NC
7389
7390 * libc/machine/xscale/memcmp.c (memcmp): Add clobber for "lr".
7391
9c2b8183
JJ
7392Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
7393
7394 * configure.host: Turn on long double I/O for Cygwin.
7395
804368d3
JJ
7396Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
7397
7398 * MAINTAINERS: Removed Ranjith.
7399 * NEWS: Updated for 1.9.0.
7400 * README: Updated.
7401 * acinclude.m4: Updated to release 1.9.0.
7402 * aclocal.m4 configure
7403 doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
7404 libc/machine/aclocal.m4 libc/machine/configure
7405 libc/machine/a29k/aclocal.m4 libc/machine/a29k/configure
7406 libc/machine/arm/aclocal.m4 libc/machine/arm/configure
7407 libc/machine/d10v/aclocal.m4 libc/machine/d10v/configure
7408 libc/machine/d30v/aclocal.m4 libc/machine/d30v/configure
7409 libc/machine/fr30/aclocal.m4 libc/machine/fr30/configure
7410 libc/machine/h8300/aclocal.m4 libc/machine/h8300/configure
7411 libc/machine/h8500/aclocal.m4 libc/machine/h8500/configure
7412 libc/machine/hppa/aclocal.m4 libc/machine/hppa/configure
7413 libc/machine/i386/aclocal.m4 libc/machine/i386/configure
7414 libc/machine/i960/aclocal.m4 libc/machine/i960/configure
7415 libc/machine/m32r/aclocal.m4 libc/machine/m32r/configure
7416 libc/machine/m68k/aclocal.m4 libc/machine/m68k/configure
7417 libc/machine/m88k/aclocal.m4 libc/machine/m88k/configure
7418 libc/machine/mips/aclocal.m4 libc/machine/mips/configure
7419 libc/machine/mn10200/aclocal.m4 libc/machine/mn10200/configure
7420 libc/machine/mn10300/aclocal.m4 libc/machine/mn10300/configure
7421 libc/machine/necv70/aclocal.m4 libc/machine/necv70/configure
7422 libc/machine/powerpc/aclocal.m4 libc/machine/powerpc/configure
7423 libc/machine/sh/aclocal.m4 libc/machine/sh/configure
7424 libc/machine/sparc/aclocal.m4 libc/machine/sparc/configure
7425 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
7426 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
7427 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
7428 libc/machine/xscale/aclocal.m4 libc/machine/xscale/configure
7429 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
7430 libc/sys/aclocal.m4 libc/sys/configure
7431 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
7432 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
7433 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
7434 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
7435 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
7436 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
7437 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
7438 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
7439 libc/sys/linux/aclocal.m4 libc/sys/linux/configure
7440 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
7441 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
7442 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
7443 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
7444 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
7445 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
7446 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
7447 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
7448 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
7449 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
7450 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
7451 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
7452 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
7453 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
7454 libm/aclocal.m4 libm/configure: Regenerated.
7455
0985d43f
CV
7456Wed Dec 13 11:52:00 2000 Corinna Vinschen <vinschen@cygnus.com>
7457
7458 * libc/include/sys/unistd.h: Add declarations for `chroot' and `getwd'
7459 when __CYGWIN__ is defined.
7460
b6182a09
JJ
74612000-12-13 Jeff Johnston <jjohnstn@redhat.com>
7462
7463 * libc/stdlib/ldtoa.c (_ldcheck): New routine
7464 that categorizes a long double as NaN, Infinity, or other.
7465 * libc/stdio/vfprintf.c [WANT_IO_LONG_DBL](_VFPRINTF_R): Removed
7466 isinfl and isnanl static routines which were i386-specific. Changed
7467 calls to the two removed routines to a single _ldcheck call.
7468 * libc/stdio/vfieeefp.h (ldieee): Fixed missing semi-colons.
7469
adbbb034
JJ
74702000-12-13 Jeff Johnston <jjohnstn@redhat.com>
7471
7472 * Makefile.am: Fixed install-data-local target to use
7473 $(mkinstalldirs) for the installed header files to ensure
7474 the directories exist before copying.
7475 * Makefile.in: Regenerated.
7476
cbd19336
JJ
74772000-12-12 Jeff Johnston <jjohnstn@redhat.com>
7478
7479 * libc/include/sys/unistd.h: Restored Cygwin _SC
7480 constants and moved new constants appropriately
7481 so Cygwin will build.
7482
8fb37963
JJ
74832000-12-11 Joel Sherrill <joel@OARcorp.com>
7484
7485 * Merge RTEMS specific .h files into main libc/include.
7486 * libc/sys/rtems/include/signal.h: Removed.
7487 * libc/sys/rtems/include/time.h: Removed.
7488 * libc/sys/rtems/sys/features.h: Removed.
7489 * libc/sys/rtems/sys/sched.h: Removed.
7490 * libc/sys/rtems/sys/siginfo.h: Removed.
7491 * libc/sys/rtems/sys/signal.h: Removed.
7492 * libc/sys/rtems/sys/time.h: Removed.
7493 * libc/sys/rtems/sys/times.h: Removed.
7494 definitions for time_t and clock_t since these are
7495 no longer in time.h.
7496 * libc/include/pthread.h: New file.
7497 * libc/include/sys/sched.h: New file.
7498 * libc/include/sys/features.h: New file.
7499 * libc/include/time.h: Removed duplicate definition of clock_t
7500 and time_t, get them from <sys/types.h> instead. Add prototypes
7501 for POSIX clock and timer functionality.
7502 * libc/sys/linux/sys/types.h: Changed to include
7503 * libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_.
7504 * libc/include/sys/signal.h: Add more complete set of POSIX
7505 signal functionality including real-time and threaded signals.
7506 * libc/include/sys/types.h: Add clock_t, time_t, struct
7507 timespec, and struct itimerspec. Centralizing these makes
7508 things cleaner. RTEMS uses 64-bit dev_t.
7509 Added numerous primitive definitions
7510 for pthreads including macros, pthread_attr_t,
7511 pthread_mutexattr_t, pthread_condattr_t, pthread_key_t,
7512 pthread_once_t, and pthread_t.
7513 * libc/include/sys/unistd.h: Added getlogin_r() prototype.
7514 If RTEMS follow POSIX on read(), write() and sbrk() prototype.
7515 Feature flags removed and moved to new file <sys/features.h>.
7516 Full set of POSIX sysconf() constants
7517
2efbc2a7
JJ
75182000-12-08 Werner Almesberger <Werner.Almesberger@epfl.ch>
7519
7520 * configure.host: Added x86 linux target.
7521 * libc/unix/getpass.c (_PATH_PASSWD, _PASSWORD_LEN): Default
7522 definitions provided if not already defined.
7523 * libc/sys/linux/crt0.c: New file.
7524 * libc/sys/linux/Makefile.am: Ditto.
7525 * libc/sys/linux/Makefile.in: Ditto.
7526 * libc/sys/linux/aclocal.m4: Ditto.
7527 * libc/sys/linux/brk.c: Ditto.
7528 * libc/sys/linux/configure: Ditto.
7529 * libc/sys/linux/configure.in: Ditto.
7530 * libc/sys/linux/getoptlong.c: Ditto.
7531 * libc/sys/linux/ids.c: Ditto.
7532 * libc/sys/linux/inode.c: Ditto.
7533 * libc/sys/linux/io.c: Ditto.
7534 * libc/sys/linux/linux.c: Ditto.
7535 * libc/sys/linux/process.c: Ditto.
7536 * libc/sys/linux/realpath.c: Ditto.
7537 * libc/sys/linux/select.c: Ditto.
7538 * libc/sys/linux/signal.c: Ditto.
7539 * libc/sys/linux/systat.c: Ditto.
7540 * libc/sys/linux/termios.c: Ditto.
7541 * libc/sys/linux/time.c: Ditto.
7542 * libc/sys/linux/wait.c: Ditto.
7543 * libc/sys/linux/include/alloca.h: Ditto.
7544 * libc/sys/linux/include/getopt.h: Ditto.
7545 * libc/sys/linux/include/stdint.h: Ditto.
7546 * libc/sys/linux/include/unistd.h: Ditto.
7547 * libc/sys/linux/sys/cdefs.h: Ditto.
7548 * libc/sys/linux/sys/dirent.h: Ditto.
7549 * libc/sys/linux/sys/errno.h: Ditto.
7550 * libc/sys/linux/sys/fcntl.h: Ditto.
7551 * libc/sys/linux/sys/file.h: Ditto.
7552 * libc/sys/linux/sys/ioctl.h: Ditto.
7553 * libc/sys/linux/sys/resource.h: Ditto.
7554 * libc/sys/linux/sys/signal.h: Ditto.
7555 * libc/sys/linux/sys/stat.h: Ditto.
7556 * libc/sys/linux/sys/syscall.h: Ditto.
7557 * libc/sys/linux/sys/termios.h: Ditto.
7558 * libc/sys/linux/sys/time.h: Ditto.
7559 * libc/sys/linux/sys/types.h: Ditto.
7560 * libc/sys/linux/sys/utmp.h: Ditto.
7561 * libc/sys/linux/sys/utsname.h: Ditto.
7562 * libc/sys/linux/sys/wait.h: Ditto.
7563
a08c98bb
JJ
75642000-12-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
7565
7566 * Makefile.am: $(INSTALL), $(INSTALL_DATA), and $(INSTALL_PROGRAM)
7567 can be a relative path to $(top_srcdir)/install.sh so ensure the
7568 autoconf detected settings are properly passed recursively.
7569 Similarly, add AM_MAKEFLAGS to FLAGS_TO_PASS so they also get passed
7570 properly to subdirectories.
7571 * Makefile.in: Regenerated.
7572
b294082c
JJ
75732000-12-07 Jay Kulpinski <jskulpin@eng01.gdds.com>
7574
7575 * libc/stdio/vfprintf.c: Minor modification to avoid requiring
7576 a floating point register unless really printing a floating
7577 point number.
7578
2005ab6b
JJ
75792000-12-07 Jeff Johnston <jjohnstn@redhat.com>
7580
7581 * libc/stdlib/ldtoa.c: Removed include of alloca.h.
7582 Also removed \r's.
7583 (asctoeg): Replaced alloca call with stack array and malloc
7584 when storage exceeds reasonable limit.
7585 (e53toe): Fixed einfin calls missing ldp parameter.
7586 (eiisinf): Hide behind check for LDBL_MANT_DIG == 64.
7587
9f6e8f1b
JJ
75882000-12-06 Jeff Johnston <jjohnstn@redhat.com>
7589
2005ab6b 7590
9f6e8f1b
JJ
7591 * libc/stdio/vfscanf.c: Fix typo for _NO_LONGDBL macro.
7592
6bdac416
JJ
75932000-12-06 Jeff Johnston <jjohnstn@redhat.com>
7594
7595 * libc/stdlib/Makefile.am: Added ldtoa.c to list of sources.
7596 * libc/stdlib/Makefile.in: Regenerated.
7597 * libc/stdio/floatio.h: Added suitable MAXEXP for long double.
7598 * libc/stdio/vfieeefp.h: Added long double bit structures.
7599 * libc/stdio/vfprintf.c[WANT_IO_LONG_DBL]: Added long double support.
7600 [WANT_IO_LONG_DBL](isinfl, isnanl): New static long double routines.
7601 (exponent): Changed expbuf to reasonable maximum instead of MAXEXP.
7602 * libc/stdio/vfscanf.c[WANT_IO_LONG_DBL]: Added long double support.
7603 * libc/stdlib/ldtoa.c: New file containing _ldtoa_r and
7604 _strtold routines used for conversions between character
7605 and long double.
7606
ec270d31
CV
7607Wed Dec 6 12:01:00 2000 Corinna Vinschen <vinschen@cygnus.com>
7608
7609 * libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'.
7610
db2d9549
JJ
76112000-12-04 Joel Sherrill <joel@OARcorp.com>
7612
7613 * libc/include/machine/time.h: RTEMS systems can configure clock
7614 tick rate so use sysconf() to ask.
7615
6ba54a15
JJ
76162000-12-04 Joel Sherrill <joel@OARcorp.com>
7617
7618 * libc/include/sys/times.h: Add reference to POSIX standard.
7619
8677b819
JJ
76202000-12-04 Joel Sherrill <joel@OARcorp.com>
7621
7622 * libc/include/sys/time.h: Added BSD timer manipulation macros
7623 used by RTEMS code.
7624
1b61a706
JJ
76252000-12-04 Joel Sherrill <joel@OARcorp.com>
7626
7627 * libc/sys/rtems/crt0.c: Add stubs for functions implicitly
7628 referenced by code generated by gcc 2.8.1.
7629 (a29k): Add stubs for V_SPILL, V_FILL, V_BSD_OS, V_EPI_OS to
7630 satisfy gcc.
7631
f5e7c124
JJ
76322000-12-04 Joel Sherrill <joel@OARcorp.com>
7633
7634 * libc/stdlib/system.c: Avoid compiling do_system() for RTEMS.
7635
768abc9c
JJ
76362000-12-04 Joel Sherrill <joel@OARcorp.com>
7637
7638 * libc/include/ieeefp.h: Added entries for OpenCores CPUs.
7639
9e5dd5ea
JJ
76402000-12-04 Joel Sherrill <joel@OARcorp.com>
7641
7642 * configure.host (or16, or32): New entries for OpenCores
7643 OpenRisc CPUs.
7644 (*-*-rtems*): Add -DNO_EXEC.
7645
768abc9c 76462000-12-04 Keith Outwater <vac4050@cae597.rsc.raytheon.com>
7713fb6f
JJ
7647
7648 * libc/include/sys/errno.h: Added comments on many error numbers.
7649 * libc/string/strerror.c: Added some more strings.
7650
b273323f
JJ
76512000-11-30 Jeff Johnston <jjohnstn@redhat.com>
7652
7653 * libc/sys/sh/syscalls.c (_link): New stub.
7654
0ffc3b94
NC
76552000-11-29 Nick Clifton <nickc@redhat.com>
7656
7657 * configure.host: Add xscale target.
7658 * libc/machine/xscale: New directory.
7659 * libc/machine/xscale/Makefile.am: New file.
7660 * libc/machine/xscale/Makefile.in: New file.
7661 * libc/machine/xscale/aclocal.m4: New file.
7662 * libc/machine/xscale/configure: New file.
7663 * libc/machine/xscale/configure.in: New file.
7664 * libc/machine/xscale/memchr.S: New file.
7665 * libc/machine/xscale/memcmp.S: New file.
7666 * libc/machine/xscale/memcpy.S: New file.
7667 * libc/machine/xscale/memmove.S: New file.
7668 * libc/machine/xscale/memset.S: New file.
7669 * libc/machine/xscale/strchr.S: New file.
7670 * libc/machine/xscale/strcmp.S: New file.
7671 * libc/machine/xscale/strcpy.S: New file.
7672 * libc/machine/xscale/strlen.S: New file.
7673
cbbf0f96
CV
7674Sat Nov 25 11:24:00 2000 Corinna Vinschen <vinschen@cygnus.com>
7675
7676 * libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro to
7677 avoid compiler warnings.
7678
73dea790
MM
76792000-11-22 Michael Meissner <meissner@redhat.com>
7680
7681 * libc/posix/execl.c (execl): Don't reference environ directly,
7682 reference it only via a static pointer to avoid problems with some
7683 shared library systems and with different uses of small data where
7684 the user specifies his own version of environ.
7685 * libc/posix/execv.c (execv): Ditto.
7686 * libc/stdlib/getenv_r.c (_findenv_r): Ditto.
7687 * libc/stdlib/setenv_r.c (_setenv_r,_unsetenv_r): Ditto.
7688 * libc/stdlib/system.c (system, !cygwin32 case): Ditto.
7689
7690 * libc/stdlib/getenv.c (environ): Delete unused reference to
7691 environ.
7692
7693 * libc/stdlib/getenv_r.c: Make initial comment friendlier to emacs
7694 colorization.
7695 * libc/stdlib/system.c: Ditto.
7696
08eac2ae
CF
7697Tue Nov 21 20:32:21 2000 Christopher Faylor <cgf@cygnus.com>
7698
7699 * libc/sys/cygwin/sys/dirent.h: Change definition to avoid necessity of
7700 including windows headers.
7701
5478bf37
JJ
77022000-11-20 Jeff Johnston <jjohnstn@redhat.com>
7703
7704 * libc/include/sys/unistd.h: Removed definition of MAXNAMLEN.
7705 * libc/include/dirent.h: Added definition of MAXNAMLEN if
7706 not defined by sys/dirent.h.
7707 * libc/posix/execvp.c: Added include of dirent.h to get
7708 MAXNAMLEN value which used to be in unistd.h.
7709
3a760728
CV
7710Mon Nov 6 12:56:00 2000 Corinna Vinschen <vinschen@cygnus.com>
7711
7712 * libc/include/sys/types.h: Change type of i to `size_t' in
7713 FD_ZERO macro to avoid compiler warnings.
7714
86fff69f
CF
7715Sun Oct 29 20:06:41 2000 Christopher Faylor <cgf@cygnus.com>
7716
7717 * libc/include/stdlib.h: Avoid declaring cfree under Cygwin.
7718 * libc/include/malloc.h: Ditto. Also remove obsolete declaration.
7719
ba9e88d2
CV
7720Tue Oct 24 20:16:00 2000 Corinna Vinschen <vinschen@cygnus.com>
7721
7722 * libc/include/sys/unistd.h: Add defines for sysconf values
7723 _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and
7724 _SC_AVPHYS_PAGES.
7725
a8018ef3
CF
7726Mon Oct 9 20:26:33 2000 Christopher Faylor <cgf@cygnus.com>
7727
7728 * libc/include/sys/unistd.h: Add getdtablesize and setdtablesize
7729 declarations for __CYGWIN__.
7730
b944c6f6
GK
77312000-09-19 Geoffrey Keating <geoffk@cygnus.com>
7732
7733 * libc/signal/signal.c (__sigtramp_r): ISO C requires
7734 case labels to be integral constant expressions, so
7735 use an if/else tree instead.
7736 (_raise_r): Likewise.
7737
7f18fcb4
JJ
77382000-09-13 Jeff Johnston <jjohnstn@redhat.com>
7739
7740 * libc/machine/v850/setjmp.S: Fixed tab problems caused by
7741 clipping patch from e-mail reader.
7742
242361df
JJ
77432000-09-13 Will Cohen <wcohen@redhat.com>
7744
7745 * libc/machine/v850/setjmp.S (_setjmp): Save r1 rather than r0.
7746 Added return value 0.
7747 (_longjmp): Allow longjmp to return value of second argument
7748 passed to it.
7749
8a8c59b9
JJ
77502000-09-06 Jeff Johnston <jjohnstn@redhat.com>
7751
7752 * libc/include/sys/types.h (FD_ZERO): Remove call to bzero and
7753 inline code to prevent having to include another header file.
7754
a385ae75
CF
7755Wed Sep 6 15:06:40 2000 Christopher Faylor <cgf@cygnus.com>
7756
7757 * Makefile.am: Fix space vs. tab problem in install-data-local.
7758 * Makefile.in: Regenerate.
7759
7760Wed Sep 6 13:49:51 2000 Christopher Faylor <cgf@cygnus.com>
7761
7762 * libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__.
7763 (_EXPARM): New macro for defining a function parameter.
7764 * libc/include/stdlib.h: Use _EXPARM.
7765 * libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
7766
a36cd013
JJ
77672000-09-05 Manfred Hollstein <manfredh@redhat.com>
7768
7769 * Makefile.am (install-data-local): Use optional $(DESTDIR) where
7770 required, as documented in the gnu coding standards.
7771 * Makefile.in: Regenerate.
7772
f825dfda
JJ
77732000-09-05 Jeff Johnston <jjohnstn@redhat.com>
7774
7775 * libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to
7776 make O_NDELAY and O_NONBLOCK have the same value.
7777
4ba9aab7
JJ
77782000-08-30 Kazu Hirata <kazu@hxi.com>
7779
7780 * libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.
7781
db7acc38
JJ
77822000-08-30 Werner Almesberger <Werner.Almesberger@epfl.ch>
7783
7784 * libc/posix/execve.c: included unistd.h for "_execve" prototype.
7785 * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed
7786 "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like
7787 everywhere else.
7788
44e36af4
GK
77892000-08-30 Geoffrey Keating <geoffk@cygnus.com>
7790
7791 * libc/string/swab.c: Specify that it's defined in <unistd.h>.
7792 * libc/include/string.h: Don't include <sys/types.h>,
7793 as it causes really bad namespace pollution. Don't declare
7794 swab(), it is properly declared in unistd.h.
7795
00a2f168
JJ
77962000-08-29 Werner Almesberger <Werner.Almesberger@epfl.ch>
7797
7798 * libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed
7799 (broken) support for non-existent /etc/passwd field "comment".
7800
6beeb240
JJ
78012000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
7802
7803 * libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen
7804 only if _DIRENT_HAVE_D_NAMLEN is defined.
7805 (alphasort): aligned prototype with
7806 libc/sys/cygwin/sys/dirent.h and simplified function body.
7807 * libc/posix/telldir.c (telldir): changed "telldir" prototype to
7808 long telldir (DIR *) as mentioned in annex B of POSIX.1
7809
ef44da42
JJ
78102000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
7811
7812 * libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type
7813 of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined;
7814 Added __CLI and __STI macros (controlled via
7815 _I386MACH_ALLOW_HW_INTERRUPTS macro).
7816 * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S
7817 libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S
7818 libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S
7819 libc/machine/i386/f_log.S libc/machine/i386/f_log10.S
7820 libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S
7821 libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S
7822 libc/machine/i386/memchr.S libc/machine/i386/memcmp.S
7823 libc/machine/i386/memcpy.S libc/machine/i386/memmove.S
7824 libc/machine/i386/memset.S libc/machine/i386/setjmp.S
7825 libc/machine/i386/strchr.S libc/machine/i386/strlen.S:
7826 (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol)
7827 for all global entry points.
7828 * libc/machine/i386/setjmp.S: removed code replicated in
7829 libc/machine/i386/i386mach.h and included i386mach.h instead;
7830 Use __CLI and __STI instead of cli and sti.
7831
14d3488d
DD
78322000-08-25 DJ Delorie <dj@redhat.com>
7833
7834 * libc/include/sys/unistd.h (environ): this one isn't from the
7835 DLL, no __IMPORT
7836
c9ca4412
CF
7837Fri Aug 25 13:37:11 2000 Christopher Faylor <cgf@cygnus.com>
7838
7839 * libc/stdlib/system.c (do_system): Eliminate explicit declaration of
7840 environ when compiling under cygwin since it is already declared in
7841 unistd.h.
7842
2d5862de
JJ
78432000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
7844
7845 * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
7846 like x << y-z to the equivalent x << (y-z).
7847 (d2b): changed if statements with assignment to perform the
7848 assignment prior to the if check.
7849 * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
7850 * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
7851 * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
7852 * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
7853 precedence.
7854 * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
7855 Added "_execve" prototype (for execl.c, execle.c, execv.c, and
7856 execve.c).
7857 * libc/posix/popen.c (popen): added parentheses to clarify && and ||
7858 precedence.
7859 * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
7860 clarify && and || precendence (and to remove pascalism).
7861 * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
7862 * libm/math/s_infconst.c: added another pair of braces to all
7863 initializers for __infinity (need three: for __infinity[1] array,
7864 for union __dmath, and for i[2]).
7865
0888fedd
JJ
78662000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
7867
199359f0
JJ
7868 * libc/stdlib/abort.c: changed description: uses "raise" instead of
7869 "getpid" and "kill"; added: uses "write" and "_exit".
7870 Also included unistd.h for "_exit" prototype.
7871 * libc/stdlib/system.c: included unistd.h for "execve" prototype,
7872 reent.h for "_fork_r" and "_wait_r" prototypes.
7873 (do_system): changed extern char *environ[] to POSIX-friendly
7874 extern char **environ.
7875 * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp"
7876 prototypes.
7877 * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype.
7878 * libc/reent/execr.c: included sys/wait.h for "wait" prototype.
7879 * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype.
7880 * libc/reent/openr.c: included fcntl.h for "open" prototype.
7881 * libc/reent/signalr.c: included signal.h for "kill" prototype,
7882 unistd.h for "getpid" prototype.
7883 * libc/reent/statr.c: included sys/stat.h for "stat" prototype.
7884 * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype.
7885 * libc/unix/getut.c (utmpname): removed local, incorrect "strdup"
7886 prototype. Also included stdlib.h for "abort", string.h for
7887 "strdup" and "strncmp" prototypes.
7888 * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and
7889 "strncpy", unistd.h for "read" and "close" prototypes.
7890 * libc/posix/execvp.c: included string.h for "strchr", "strlen", and
7891 "strcat" prototypes.
7892
78932000-08-23 Werner Almesberger <Wernen Almesberger@epfl.ch>
7894
0888fedd
JJ
7895 * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's
7896 used later (ifdef __SCLE)
7897 * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's
7898 used later (ifdef MB_CAPABLE)
7899 * libc/string/memset.c (memset): removed unused variables "count"
7900 and "unaligned_addr"
7901 * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and
7902 "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE)
7903 * libc/unix/getpwent.c (getpwnam): removed unused variables "uid"
7904 and "gid"
7905
a334e5ef
JJ
79062000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
7907
7908 * libc/stdlib/envlock.c: changed documented "__env_lock" and
7909 "__env_unlock" prototype from "void *" or "char *" to
7910 "struct _reent *" to match real function. Also added include
7911 of envlock.h.
7912 * libc/stdlib/mlock.c: changed documented "__malloc_lock" and
7913 "__malloc_unlock" prototype from "void *" or "char *" to
7914 "struct _reent *" to match real function.
7915 * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock"
7916 prototypes (for getenv_r.c and setenv_r.c).
7917
644b7f26
DD
79182000-08-22 Werner Almesberger <Werner.Almesberger@epfl.ch>
7919
7920 * libc/unix/getut.c (utmpname): added _CONST to reflect common use
7921 and prototype in cygwin's utmp.h
7922
5bacbf10
JJ
79232000-08-16 Eric Fifer <efifer@sanwaint.com>
7924
7925 * libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
7926
38a6bf98
NC
79272000-08-09 Nick Clifton <nickc@cygnus.com>
7928
7929 * libc/sys/arm/setjmp.S: Recode to clean up function prologues and
7930 epilogue and to allow the functions to be used in a Thumb based
7931 toolchain.
7932
befe0fb3
JJ
79332000-08-08 Jeff Johnston <jjohnstn@redhat.com>
7934
7935 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code
7936 so size of 0 results in nothing being written to string.
7937 Also fixed code so that when size is non-zero, there is only
7938 a maximum of size - 1 characters written to the array and
7939 a nul terminator is appended at the end.
7940 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
7941
749d9bcd
DD
79422000-08-01 DJ Delorie <dj@redhat.com>
7943
7944 * libc/include/sys/config.h: define __IMPORT appropriately
7945 * libc/include/ctype.h (_ctype_): use __IMPORT
7946 * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto
7947 * libc/include/math.h (__mb_cur_max): ditto
7948 * libc/include/time.h (_timezone, _daylight, _tzname): ditto
7949 * libc/include/unctrl.h (__unctrl, __unctrllen): ditto
7950 * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto
7951 * libc/include/unistd.h (environ): ditto
7952
7c110b17
MM
79532000-07-28 Michael Meissner <meissner@redhat.com>
7954
7955 * libc/include/math.h (__infinity): Declare as an array without
7956 bounds to get around small data support. Rewrite Cygwin support
7957 to be more general.
7958 * libm/math/s_infconst.c (__infinity): Ditto.
7959 * libm/mathfp/s_infconst.c (__infinity): Ditto.
7960
bf7be721
CF
7961Thu Jul 27 10:46:01 2000 Christopher Faylor <cgf@cygnus.com>
7962
7963 * libc/include/math.h: Use appropriate dll import linkage for
7964 __infinity under Cygwin.
7965
91a8d90b
DD
79662000-07-13 DJ Delorie <dj@cygnus.com>
7967
7968 * libc/stdio/vfprintf.c: pad 0.0 correctly with %e
7969
ba2048d3
JJ
7970Wed Jun 28 14:08:00 2000 Keith Walker <keith.walker@arm.com>
7971
7972 * libc/sys/arm/crt0.S (.LC30): Added missing length parameter
7973 to argument list for AngelSWI_Reason_GetCmdLine.
7974
4634da64
JJ
7975Tue Jun 27 15:49:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
7976
7977 * configure.host: Add support for AVR target.
7978 * libc/include/machine/ieeefp.h: Likewise.
7979 * libc/include/sys/config.h: Likewise.
7980
b19f72a2
RK
7981Thu Jun 22 18:35:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
7982
7983 * README: Newlib 1.8.2 must be built in a separate directory
7984 than the sources.
7985
a704d94a
JJ
7986Tue Jun 20 14:30:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
7987
7988 * libc/include/sys/reent.h (_rand_next): Added __extension__
7989 qualifier as long long type is not strict ANSI.
7990 * libc/stdlib/rand.c (rand): Added __extension__ qualifier
7991 to long long constant.
7992
b585720b
CV
7993Fri Jun 16 23:02:00 2000 Corinna Vinschen <corinna@vinschen.de>
7994
7995 * libc/include/sys/unistd.h: Add prototypes for `seteuid' and
7996 `setegid' provided by Cygwin.
7997
01c327ba
CV
7998Thu Jun 15 0:21:00 2000 Corinna Vinschen <corinna@vinschen.de>
7999
8000 * libc/stdio/fdopen.c: Take explicit given bin/textmode into
8001 account for Cygwin.
8002
46a43a99
JJ
8003Fri Jun 9 14:28:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
8004
8005 * libc/include/sys/reent.h (_rand_next): Changed to
8006 unsigned long long and moved to end of _reent struct in _new union.
8007 (_REENT_INIT): Changed to move _rand_next initialization.
8008 * libc/stdlib/rand.c (rand): Changed to use unsigned long long
8009 linear congruential algorithm that is used by DJGPP.
8010
a68078cb
RK
8011Thu Jun 8 21:18:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
8012
8013 * libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX.
8014 * libc/include/sys/config.h: Define __RAND_MAX.
8015
518882f3
JJ
8016Thu Jun 8 17:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
8017
8018 * libc/stdlib/rand_r.c: New algorithm that meets minimal
8019 standard.
8020
d51d968a
CF
8021Fri Jun 2 23:02:11 2000 Christopher Faylor <cgf@cygnus.com>
8022
8023 * libc/include/string.h: Work around problem with strsignal and gdb.
8024
d2dd5765
CF
8025Tue May 30 13:13:01 2000 Christopher Faylor <cgf@cygnus.com>
8026
8027 * libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__
8028 * libc/include/malloc.h: Ditto.
8029 * libc/include/process.h: Ditto.
8030 * libc/include/stdio.h: Ditto.
8031 * libc/include/stdlib.h: Ditto.
8032 * libc/include/time.h: Ditto.
8033 * libc/include/machine/setjmp.h: Ditto.
8034 * libc/include/sys/errno.h: Ditto.
8035 * libc/include/sys/signal.h: Ditto.
8036 * libc/include/sys/stat.h: Ditto.
8037 * libc/include/sys/time.h: Ditto.
8038 * libc/include/sys/unistd.h: Ditto.
8039 * libc/include/string.h: Ditto. strsignal should return a const char *.
8040
88870218
JJ
80412000-05-26 Marek Michalkiewicz <marekm@linux.org.pl>
8042
8043 * libm/common/s_expm1.c (expm1): Add curly braces, avoid warnings.
8044 * libm/common/s_log1p.c (log1p): Likewise.
8045 * libm/common/s_scalbn.c (scalbn): Likewise.
8046 * libm/math/e_log.c: Likewise.
8047 * libm/math/e_asin.c: Likewise.
8048 * libm/math/ef_asin.c: Likewise.
8049 * libm/math/e_j0.c (pzero, qzero): Remove redundant test.
8050 * libm/math/e_j1.c (pone, qone): Likewise.
8051 * libm/math/ef_j0.c (pzerof, qzerof): Likewise.
8052 * libm/math/ef_j1.c (ponef, qonef): Likewise.
8053 * libm/mathfp/e_j0.c (pzero, qzero): Likewise.
8054 * libm/mathfp/e_j1.c (pone, qone): Likewise.
8055 * libm/mathfp/ef_j0.c (pzerof, qzerof): Likewise.
8056 * libm/mathfp/ef_j1.c (ponef, qonef): Likewise.
8057
c4e1aa01
DD
80582000-05-19 DJ Delorie <dj@cygnus.com>
8059
8060 * libc/stdio/stdio.c (__stextmode): new, see if file is text mode
8061 (__sread): always read in binary mode
8062 (__swrite): always write in binary mode
8063 * libc/include/stdio.h: no getc/putc macros for cygwin; causes
8064 compatibility issues with different dll versions
8065 * libc/stdio/fopen.c: use __stextmode
8066 * libc/stdio/fdopen.c: ditto
8067 * libc/stdio/freopen.c: ditto
8068 * libc/stdio/findfp.c: set up __SCLE for std{in,out,err}
8069 * libc/stdio/local.h: declare __stextmode
8070
f4393261
DD
80712000-05-18 DJ Delorie <dj@cygnus.com>
8072
8073 * libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLE
8074
2b533fac
JJ
8075Mon May 15 18:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
8076
8077 * libc/include/ctype.h: Changed tolower and toupper macros
8078 to use __extension__ to prevent pedantic warnings.
8079
75362a76
RK
8080Mon May 15 14:26:00 2000 Joel Sherrill <joel@oarcorp.com>
8081
8082 * libc/sys/rtems/sys/time.h: Add macros for manipulating timeval
8083 structures.
8084
ec463fc7
JW
8085Wed May 10 19:24:53 2000 Jim Wilson <wilson@cygnus.com>
8086
8087 * libc/include/machine/ieeefp.h: Add ia64 support.
8088 * configure.host: Likewise.
8089
f35ceefa
JJ
8090Wed May 10 13:52:24 2000 Egor Duda <deo@logos-m.ru>
8091
8092 * libc/time/asctime_r.c (asctime_r): Change output format. Day of
8093 month is now padded with space, not zero. This now conforms to
8094 ANSI standard.
8095
b96fca8c
CV
8096Wed May 03 17:57:00 2000 Corinna Vinschen <corinna@vinschen.de>
8097
8098 * libc/include/sys/errno.h: Add define for ENOSHARE ("No such
8099 host or network path") used by cygwin. Add some comments.
8100
49d64538
JJ
8101Tue May 02 23:45:48 2000 DJ Delorie <dj@cygnus.com>
8102
8103 * libc/include/stdio.h (FILE): define __SCLE for "convert line
8104 endings" for Cygwin.
8105 (__sgetc): convert line endings if needed
8106 (__sputc): ditto
8107 * libc/stdio/fdopen.c (_fdopen_r): Remember if we opened in text mode
8108 * libc/stdio/fopen.c (_fopen_r): ditto
8109 * libc/stdio/freopen.c (freopen): ditto
8110 * libc/stdio/fread.c (fread): perform CRLF conversions if __SCLE
8111 * libc/stdio/fvwrite.c (__sfvwrite): ditto
8112
91fb1e7f
AO
8113Thu Apr 27 07:45:48 2000 Alexandre Oliva <aoliva@cygnus.com>
8114
8115 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Use
8116 post-increment when it is worth it, spacewise.
8117
c87be3e4
JJ
8118Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
8119
8120 * libc/signal/signal.c (_signal_r) : Removed unused local variable temp.
8121 * libc/stdio/findfp.c (std): Added declaration of flags and file.
8122 * libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int
8123 return type.
8124 * libc/stdio/putchar.c (putchar): Added return statement.
8125 * libc/stdio/refill.c (lflush): Added correct parentheses.
8126 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
8127 * libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which
8128 prints long value to use l qualifier.
8129 * libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning
8130 messages and initialized local values: ilim, ilim1, and spec_case.
8131 * libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp.
8132 * libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses.
8133 * libc/stdlib/mprec.c: Ditto.
8134 * libc/stdlib/setenv_r.c: Ditto.
8135 * libc/stdlib/strtod.c: Ditto.
8136 * libc/stdlib/strtol.c: Ditto.
8137 * libc/stdlib/strtoul.c: Ditto.
8138 * libm/common/sf_expm1.c: Added curly braces to if else clauses.
8139 * libm/common/sf_log1p.c: Ditto.
8140 * libm/common/sf_scalbn.c: Ditto.
8141 * libm/math/ef_log.c: Ditto.
8142
11f5b065
CV
8143Sun Apr 16 12:45:00 2000 Corinna Vinschen <corinna@vinschen.de>
8144
8145 * libc/posix/execvp.c (execvp): Check path for
8146 trailing slash.
8147
796e3b20
CV
8148Fri Mar 31 20:39:00 2000 Corinna Vinschen <corinna@vinschen.de>
8149
8150 * libc/include/sys/unistd.h: Add prototypes for
8151 fchmod, fchown, lchown.
8152
b489803a
JJ
8153Fri Mar 24 15:34:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
8154
8155 * acinclude.m4: Changed release to 1.8.2.
8156 * aclocal.m4 configure doc/aclocal.m4 doc/configure
8157 libc/aclocal.m4 libc/configure libc/machine/aclocal.m4
8158 libc/machine/configure libc/machine/a29k/aclocal.m4
8159 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
8160 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
8161 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
8162 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
8163 libc/machine/fr30/configure libc/machine/h8300/aclocal.m4
8164 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
8165 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
8166 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
8167 libc/machine/i386/configure libc/machine/i960/aclocal.m4
8168 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
8169 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
8170 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
8171 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
8172 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
8173 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
8174 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
8175 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
8176 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
8177 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
8178 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
8179 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
8180 libc/machine/v850/configure libc/machine/w65/aclocal.m4
8181 libc/machine/w65/configure libc/machine/z8k/aclocal.m4
8182 libc/machine/z8k/configure libc/sys/aclocal.m4
8183 libc/sys/aclocal.m4 libc/sys/configure
8184 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
8185 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
8186 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
8187 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
8188 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
8189 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
8190 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
8191 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
8192 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
8193 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
8194 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
8195 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
8196 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
8197 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
8198 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
8199 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
8200 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
8201 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
8202 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
8203 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
8204 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
8205 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
8206 libm/aclocal.m4 libm/configure: Regenerated.
8207
79908d67
NC
82082000-03-24 Nick Clifton <nickc@cygnus.com>
8209
8210 * libc/sys/arm/syscalls.c: Fix compile time warnings.
8211 (do_AngelSWI): Add "cc" to list o registers clobbered.
8212
7684ddaf
FN
8213Thu Mar 22 14:57:00 2000 Fernando Nasser <fnasser@redhat.com>
8214
8215 * libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid
8216 information to be clobbered by an Angel C library support syscall.
8217
b8ec20c8
JJ
8218Tue Mar 21 19:08:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
8219
8220 * libc/stdlib/envlock.c: Fixed comment typo.
8221
fae4c299
JJ
8222Fri Mar 17 15:37:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
8223
8224 * libc/stdio/vfscanf.c (__svfscanf): Fixed floating point
8225 code to update nread as each character is processed instead
8226 of using buffer contents which throw away leading zeroes.
8227
dc98804b
RK
8228Mon Mar 13 15:22:00 2000 Sergei Organov <osv@javad.ru>
8229
8230 * libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
8231
5ed2f523
JJ
8232Fri Mar 10 16:09:20 2000 Jeff Johnston <jjohnstn@cygnus.com>
8233
8234 * libc/include/string.h: Include <sys/types.h>.
8235
1cf0ee34
AO
8236Fri Mar 10 14:53:50 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8237
8238 * libc/stdio/putw.c (putw): Return 0 on success, to be compliant
8239 with XSH5, not SVID.
8240
e9c94978
JJ
8241Thu Mar 9 17:20:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
8242
8243 * libc/include/string.h: Changed last argument back to ssize_t
8244 to make it compatible with XPG4 definition which is
8245 defined in <unistd.h>. There is a conflict in the SVID 3
8246 and XPG4 definitions and newlib will settle with XPG4.
8247 * libc/string/swab.c: Ditto.
8248
3072163c
JJ
8249Wed Mar 8 17:11:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
8250
8251 * libc/include/string.h: Changed last argument to size_t.
8252 * libc/string/swab.c: Changed last argument to size_t.
8253
f205ea7a
AO
8254Wed Mar 8 00:46:41 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8255
8256 * libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.
8257 (CHEWOUT_FILES): Added unlinkr.def.
8258 * libc/reent/Makefile.in: Rebuilt.
8259 * libc/sys.tex: Include unlinkr.def.
8260 * libc/reent/linkr.c (_unlink_r): Moved to...
8261 * libc/reent/unlinkr.c: ... new file.
8262
85dd2e5b
AO
8263Wed Mar 8 00:43:07 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8264
8265 * libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.
8266 (CHEWOUT_FILES): Added swab.def.
8267 * libc/string/Makefile.in: Rebuilt.
8268 * libc/string/string.tex: Include swab.def.
8269 * libc/include/string.h (swab): Declare.
8270 * libc/string/swab.c: New file.
8271
c5053058
AO
8272Wed Mar 8 00:38:35 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8273
8274 * libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.
8275 (CHEWOUT_FILES): Added getw.def and putw.def.
8276 * libc/stdio/Makefile.in: Rebuilt.
8277 * libc/stdio/stdio.tex: Include getw.def and putw.def.
8278 * libc/stdio/getw.c: New file.
8279 * libc/stdio/putw.c: New file.
8280
dbaf37cf
JJ
8281Fri Feb 25 14:50:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
8282
8283 * libc/stdio/flags.c (__sflags): Added check that mode[1]
8284 is non-null before looking at mode[2].
8285
bc019ef2
RK
8286Thu Feb 24 11:43:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
8287
8288 * libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS.
8289 * libm/mathfp/sf_atan.c: Ditto.
8290
8291Thu Feb 24 11:39:00 2000 Joel Sherrill <joel@OARcorp.com>
8292
8293 * libc/include/sys/stat.h: Add RTEMS prototype for lstat.
8294
cd641b2d
RK
8295Tue Feb 22 14:37:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
8296
8297 * libm/mathfp/sf_exp.c: Corrected _DOUBLE_IS_32_BITS to be
8298 _DOUBLE_IS_32BITS.
8299
b0ba0ac2
JJ
8300Mon Feb 21 11:43:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
8301
8302 * libc/stdio/vfprintf.c (VFPRINTF): Added CHECK_INIT
8303 call prior to calling _VFPRINTF_R so reentrant data area is set.
8304 (_VFPRINTF_R): Removed now extraneous CHECK_INIT call.
8305
8a0efa53
CF
8306Thu Feb 17 01:42:50 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
8307
8308 * libc/stdio/vfscanf.c (limits.h): #include.
8309 (MAX_LONG_LEN): #define.
8310 (__svfscanf): Handle floating point numbers with arbitrary amounts
8311 of leading zeroes.
8312
83132000-02-15 Nick Clifton <nickc@cygnus.com>
8314
8315 * libc/sys/arm/syscalls.c (_fstat): Initialise all fields to
8316 zero. Set the blocksize to 1024/
8317
8318Thu Jan 20 18:57:00 2000 Fernando Nasser <fnasser@redhat.com>
8319
8320 * setvbuf.c (setvbuf): Set size to BUFSIZ when passed a zero size
8321 with line buffering.
8322
8323Mon Jan 10 18:43:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
8324
8325 * acinclude.m4: Changed include directory for winsup headers.
8326 * aclocal.m4 configure libc/aclocal.m4
8327 libc/configure libc/ctype/Makefile.in libc/errno/Makefile.in
8328 libc/locale/Makefile.in libc/machine/aclocal.m4
8329 libc/machine/configure libc/machine/a29k/aclocal.m4
8330 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
8331 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
8332 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
8333 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
8334 libc/machine/fr30/configure
8335 libc/machine/h8300/aclocal.m4
8336 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
8337 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
8338 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
8339 libc/machine/i386/configure libc/machine/i960/aclocal.m4
8340 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
8341 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
8342 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
8343 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
8344 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
8345 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
8346 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
8347 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
8348 libc/machine/powerpc/configure
8349 libc/machine/sh/aclocal.m4
8350 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
8351 libc/machine/sparc/configure
8352 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
8353 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
8354 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
8355 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
8356 libc/misc/Makefile.in libc/posix/Makefile.in
8357 libc/reent/Makefile.in
8358 libc/signal/Makefile.in
8359 libc/string/Makefile.in libc/sys/aclocal.m4 libc/sys/configure
8360 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
8361 libc/sys/arm/Makefile.in libc/sys/arm/aclocal.m4
8362 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
8363 libc/sys/cygwin/configure libc/sys/d10v/Makefile.in
8364 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
8365 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
8366 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
8367 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
8368 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
8369 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
8370 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
8371 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
8372 libc/sys/sh/Makefile.in libc/sys/sh/aclocal.m4
8373 libc/sys/sh/configure libc/sys/sparc64/aclocal.m4
8374 libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4
8375 libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4
8376 libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4
8377 libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4
8378 libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4
8379 libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4
8380 libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4
8381 libc/sys/tic80/configure libc/sys/w65/aclocal.m4
8382 libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4
8383 libc/sys/z8ksim/configure libc/syscalls/Makefile.in
8384 libc/time/Makefile.in libc/unix/Makefile.in libm/aclocal.m4
8385 libm/configure: Regenerated.
8386
8387Mon Jan 10 18:43:46 2000 Jeff Johnston <jjohnstn@cygnus.com>
8388
8389 * libc/stdlib/putenv_r.c (_putenv_r): New file.
8390 * libc/stdlib/strdup_r.c (_strdup_r): New file.
8391 * libc/include/string.h: Added _strdup_r.
8392 * libc/stdlib/putenv.c: Added call to reentrant version.
8393 * libc/stdlib/strdup.c: Ditto.
8394 * libc/stdlib/Makefile.am: Added _putenv_r and _unsetenv_r.
8395 * libc/include/stdlib.h: Ditto.
8396 * libc/stdlib/Makefile.in: Regenerated.
8397 * libc/string/Makefile.in: Regenerated.
8398 * libc/stdlib/setenv.c: Added reentrant version of unsetenv.
8399 * libc/stdlib/setenv_r.c: Added unsetenv_r and changed memory
8400 management calls to reentrant versions.
8401 * libc/stdlib/wcstombs.c: Added #ifndef _REENT_ONLY wrapper.
8402 * libc/stdlib/wctomb.c: Ditto.
8403 * libc/stdlib/mblen.c: Ditto.
8404 * libc/stdlib/mbstowcs.c: Ditto.
8405 * libc/stdlib/mbtowc.c: Ditto.
8406 * libc/stdlib/getenv.c: Ditto.
8407 * libc/reent/reent.tex: Added references to _putenv_r, _setenv_r,
8408 and _strdup_r.
8409
8410Thu Jan 6 15:33:46 2000 Christopher Faylor <cgf@cygnus.com>
8411
8412 patch from Corinna Vinschen <corinna@vinschen.de>
8413 * libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16.
8414
bc019ef2 8415Mon Jan 03 14:36:00 2000 Sergei Organov <osv@javad.ru>
8a0efa53
CF
8416
8417 * libm/mathfp/s_atangent.c: Fix exponent calculation.
8418 * libm/mathfp/s_ldexp.c: Ditto.
8419 * libm/mathfp/sf_atangent.c: Ditto.
8420 * libm/mathfp/sf_ldexp.c: Ditto.
8421
8422Tue Dec 14 5:42:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
8423
8424 * libc/machine/i960/setjmp.S: fix typo leaving .link_pix uncommented
8425 * libc/include/locale.h: define NULL to be 0.
8426
8427Tue Dec 7 15:41:45 1999 Jim Wilson <wilson@cygnus.com>
8428
8429 * libc/sys/sh/syscalls.c (stack_ptr): Move definition before first
8430 function.
8431
8432Wed Dec 1 17:39:29 1999 Jeffrey A Law (law@cygnus.com)
8433
8434 * libc/machine/mn10300/setjmp.S: Handle am33.
8435
84361999-11-26 Nick Clifton <nickc@cygnus.com>
8437
8438 * libc/sys/arm/syscalls.c: Add function prototypes.
8439 (stack_ptr): Move declaration before function definitions.
8440
8441Sat Nov 20 17:13:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
8442
8443 * NEWS: Updated version information.
8444 * README: Ditto.
8445
8446Tue Nov 09 12:19:21 1999 Jeff Johnston <jjohnstn@cygnus.com>
8447
8448 * libc/machine/i386/strchr.S: Fixed alignment test.
8449
8450Thu Oct 28 05:30:46 1999 Andrew Cagney <cagney@makita.cygnus.com>
8451
8452 * libc/sys/d10v/crt0.S (_start): Construct a real stack frame.
8453
8454Thu Oct 28 15:29:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
8455
8456 * libc/sys/d10v/crt0.S (_start): Initialize both SPI and SPU
8457 ensuring that there is space between the two.
8458
8459Thu Oct 14 13:39:21 1999 Christopher Faylor <cgf@cygnus.com>
8460
8461 * libc/stdio/flags.c: Conditionalize check for 't' for cygwin case
8462 only.
8463
84641999-10-08 Vadim Egorov <egorovv@1c.ru>
8465
8466 * libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin
8467 section
8468
8469Sat Oct 2 02:02:00 MEST 1999 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
8470
8471 * libc/machine/sh/asm.h: Added __SH4_SINGLE__ to DELAYED_BRANCHES
8472 * libc/machine/sh/memcpy.S: Fix line wrapping in SL macro
8473
8474Fri Oct 1 13:17:59 CDT 1999 <joel@OARcorp.com>
8475 * libc/include/grp.h: Added getgrnam_r and getgrgid_r prototypes
8476 per POSIX 1003.1b.
8477 * libc/include/pwd.h: Added getpwnam_r and getpwuid_r prototypes
8478 per POSIX 1003.1b.
8479
84801999-09-13 DJ Delorie <dj@cygnus.com>
8481
8482 * libc/stdio/mktemp.c (_gettemp): on cygwin, check for EACCESS
8483 also.
8484
8485Thu Sep 9 15:31:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
8486
8487 * setvbuf.c (setvbuf): When mallocing a buffer of size BUFSIZ,
8488 also note BUFSIZ as its size.
8489
8490Tue Sep 7 17:15:00 1999 Joel Sherrill <joel@OARcorp.com>
8491
8492 * configure.host: Corrected feature defines for RTEMS.
8493 * libc/include/sys/stat.h: Added protototype for RTEMS mknod.
8494 * libc/include/sys/stat.h: mkfifo() should take const path arg.
8495 * libc/include/sys/unistd.h: pathconf() should take const path arg.
8496 Enabled usleep(), ftruncate(), and truncate() prototypes for RTEMS.
8497 Added defines for _POSIX_JOB_CONTROL, _POSIX_SAVED_IDS, and
8498 _POSIX_VERSION for RTEMS. Added defines for _PC_ASYNC_IO,
8499 _PC_PRIO_IO, and _PC_SYNC_IO.
8500 * libc/machine/m68k/Makefile.am: Added strcpy.c and strlen.c.
8501 * libc/machine/m68k/Makefile.in: Regenerated.
8502 * libc/machine/m68k/strcpy.c: New file.
8503 * libc/machine/m68k/strlen.c: New file.
8504 * libc/stdio/tmpnam.c: Always make the returned name usable.
8505 * libc/sys/rtems/crt0.c: New version that passes all autoconf tests.
8506 * libc/sys/rtems/sys/dirent.h: New file.
8507 * libc/sys/rtems/sys/types.h: Added dev_t.
8508
8509Tue Sep 7 17:15:00 1999 Jay Kulpinski <jskulpin@eng01.gdds.com>
8510
8511 * libc/stdlib/mprec.c: Fixed unitialized variable problem.
8512
8513Fri Sep 3 12:35:20 1999 Jeff Johnston <jjohnstn@cygnus.com>
8514
8515 * libc/stdio/ftell.c (ftell): Backing off Joern's fix and
8516 my patch.
8517
8518Thu Sep 2 22:05:20 1999 Christopher Faylor <cgf@cygnus.com>
8519
8520 patch from Jeff Johnston <jjohnstn@cygnus.com>
8521 * libc/stdio/ftell.c (ftell): Avoid using buffer position when the
8522 buffer is not in a useful state.
8523
85241999-09-01 Nick Clifton <nickc@cygnus.com>
8525
8526 * libc/sys/arm/syscalls.c (_link): Add stub.
8527
8528Fri Aug 27 23:09:09 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
8529
8530 * ftell.c (ftell): Use actual position within buffer for text mode.
8531 * findfp.c (std): Initialize ptr->_bf._size.
8532
8533Wed Aug 18 18:48:02 1999 Christopher Faylor <cgf@cygnus.com>
8534
8535 * libc/include/sys/unistd.h: Add nice() declaration.
8536
85371999-08-09 Nick Clifton <nickc@cygnus.com>
8538
8539 * libc/sys/arm/crt0.S (change_mode): Rename to __change_mode and
8540 declare as a thumb function so that the disassembler will see the
8541 mode change.
8542
8543Thu Aug 5 17:37:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
8544
8545 * libc/reent/reent.tex: Updated list of reentrant functions.
8546
85471999-07-09 Michael Meissner <meissner@cygnus.com>
8548
8549 * libc/include/stdlib.h (_findenv{,_r}): Add prototypes.
8550
8551Tue Jul 6 10:46:24 1999 Jeff Johnston <jjohnstn@cygnus.com>
8552
8553 * libc/stdio/sprintf.c: Moved snprintf and _snprintf_r to
8554 separate file.
8555 * libc/stdio/snprintf.c: New file.
8556 * libc/stdio/vsprintf.c: Moved vsnprintf and _vsnprintf_r to
8557 separate file.
8558 * libc/stdio/vsnprintf.c: New file.
8559 * libc/stdio/Makefile.am: Added snprintf.c and vsnprintf.c.
8560 * libc/stdio/Makefile.in: Regenerated.
8561
8562Mon Jul 5 14:43:24 1999 Christopher Faylor <cgf@cygnus.com>
8563
8564 Patch submitted by Egor Duda <deo@logos-m.ru>:
8565 * libc/include/stdio.h: Add declarations for *nprintf.
8566 * libc/stdio/sprintf.c (snprintf): New function.
8567 (_snprintf_r): New function.
8568 * libc/stdio/vsprintf.c (vsnprintf): New function.
8569 (_vnsprintf_r): New function.
8570
8571Wed Jun 30 16:36:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
8572
8573 * libc/Makefile.am (stmp-targetdep): Remove extraneous blank.
8574 * libm/Makefile.am (stmp-targetdep): Ditto.
8575 * libc/Makefile.in: Regenerated.
8576 * libm/Makefile.in: Ditto.
8577
8578Fri Jun 25 10:49:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
8579
8580 * libc/Makefile.am (stmp-targetdep): Ignore "." in SUBDIRS.
8581 * libm/Makefile.am (stmp-targetdep): Ditto.
8582 * libc/Makefile.in: Regenerated.
8583 * libm/Makefile.in: Ditto.
8584
8585Thu June 03 16:25:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
8586
8587 * Makefile.am: Removed dependencies on all-recursive and added "."
8588 to the SUBDIRS list to prevent infinite recursion from occurring.
8589 Also removed any references to EXTRA_DATA.
8590 * libc/Makefile.am: Ditto.
8591 * libc/machine/Makefile.am: Ditto.
8592 * libc/machine/i386/Makefile.am: Ditto.
8593 * libm/Makefile.am: Ditto.
8594 * libc/sys/Makefile.am: Ditto.
8595 * Makefile.in: Regenerated.
8596 * aclocal.m4: Ditto.
8597 * configure: Ditto.
8598 * doc/Makefile.in: Ditto.
8599 * doc/aclocal.m4: Ditto.
8600 * doc/configure: Ditto.
8601 * libc/Makefile.in: Ditto.
8602 * libc/aclocal.m4: Ditto.
8603 * libc/configure: Ditto.
8604 * libc/machine/Makefile.in: Ditto.
8605 * libc/machine/aclocal.m4: Ditto.
8606 * libc/machine/configure: Ditto.
8607 * libc/machine/mn10300/Makefile.in: Ditto.
8608 * libc/machine/mn10300/aclocal.m4: Ditto.
8609 * libc/machine/mn10300/configure: Ditto.
8610 * libc/sys/Makefile.in: Ditto.
8611 * libc/sys/aclocal.m4: Ditto.
8612 * libc/sys/configure: Ditto.
8613 * libm/Makefile.in: Ditto.
8614 * libm/aclocal.m4: Ditto.
8615 * libm/configure: Ditto.
8616
8617Thu June 03 16:20:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
8618
8619 * libc/include/stdlib/stdlib.tex: Add link to env_lock.
8620
8621Fri May 28 17:09:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
8622
8623 * libc/include/stdlib.h: Add reentrant routines.
8624 * libc/stdlib/Makefile.am: Add reentrant routines.
8625 * libc/stdlib/Makefile.in: Ditto.
8626 * libc/stdlib/envlock.c: New file.
8627 * libc/stdlib/envlock.h: New file.
8628 * libc/stdlib/getenv.c: Modify to call reentrant routine.
8629 * libc/stdlib/getenv_r.c: New file.
8630 * libc/stdlib/mblen.c: Modify to call reentrant routine.
8631 * libc/stdlib/mblen_r.c: New file.
8632 * libc/stdlib/setenv.c: Modify to call reentrant routine.
8633 * libc/stdlib/setenv_r.c: New file.
8634 * libc/stdlib/stdlib.tex: Add reentrant routines.
8635
8636Mon May 17 22:01:38 1999 Christopher Faylor <cgf@cygnus.com>
8637
8638 * libc/include/sys/types.h: Define __MS_types__ whenever
8639 cygwin or win32.
8640
8641Sun May 16 16:02:41 1999 Christopher Faylor <cgf@cygnus.com>
8642
8643 * libc/include/machine/ieeefp.h: Always default to little
8644 endian if Windows, regardless of architecture.
8645 * libc/include/machine/sethmp.h: Define JBLEN if CYGWIN
8646 regardless of architecture.
8647
8648Mon May 3 11:49:18 1999 Geoffrey Noer <noer@cygnus.com>
8649
8650 * libc/include/machine/setjmp.h: Accept CYGWIN define, even if
8651 _WIN32 isn't defined.
8652
8653Mon May 3 11:41:51 1999 Jeff Johnston <jjohnstn@cygnus.com>
8654
8655 * libm/common/s_rint.c (rint): Add volatile qualifier for
8656 intermediate value w.
8657 * libm/common/sf_rint.c (rintf): Ditto.
8658
8659Thu Apr 29 20:34:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
8660
8661 * libc/sys/arm/syscalls.c (remap_handle): Added check to
8662 ensure that std streams are initialized before being referenced.
8663
86641999-04-27 Jason Molenda (jsm@bugshack.cygnus.com)
8665
8666 * README: Update reference to newlib@cygnus.com new
8667 newlib@sourceware.cygnus.com address.
8668
8669Mon Apr 26 18:17:33 1999 Geoffrey Noer <noer@cygnus.com>
8670
8671 * libc/include/sys/types.h: Define MS_types if CYGWIN is defined.
8672 * libc/include/sys/fcntl.h: Define _O_BINARY et al if CYGWIN is
8673 defined, even if _WIN32 isn't defined.
8674
8675Sat Apr 24 19:59:55 1999 Christopher Faylor <cgf@cygnus.com>
8676
8677 * libc/include/sys/fcntl.h: Correct _O_CREATE to _O_CREAT.
8678
8679Wed Apr 21 18:01:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
8680
8681 * libc/include/sys/reent.h: Change Long and ULong to __Long and
8682 __ULong.
8683 * libc/stdlib/dtoa.c: Ditto.
8684 * libc/stdlib/mprec.c: Ditto.
8685 * libc/stdlib/mprec.h: Ditto.
8686 * libc/stdlib/strtod.c: Ditto.
8687
86881999-04-21 Nick Clifton <nickc@cygnus.com>
8689
8690 * configure.host (mcore): Remove mcore machine directory.
8691
86921999-04-18 Nick Clifton <nickc@cygnus.com>
8693
8694 * libc/include/machine/ieeefp.h: Add support for mcore target.
8695 * libc/include/machine/setjmp.h: Add support for mcore target.
8696 * configure.host: Add support for mcore target.
8697
86981999-04-13 Mark Salter <msalter@cygnus.com>
8699
8700 * libc/sys/arm/libcfunc.c: Moved isatty to syscall.c
8701 * libc/sys/arm/syscalls.c: Added isatty.
8702
8703Wed Apr 07 16:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
8704
8705 * libc/stdlib/ecvtbuf.c (fcvtbuf): Fixed code to properly
8706 insert zeroes after significant digits.
8707
8708Wed Mar 17 22:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
8709
8710 * libc/stdio/vfprintf.c (cvt): Changed floating point
8711 cvt routine to use union used by dtoa to properly determine
8712 if the sign bit is on or not.
8713 * libc/stdio/vfieeefp.h: New file
8714
8715Wed Mar 17 17:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
8716
8717 * aclocal.m4: Regenerated.
8718 * configure: Regenerated.
8719
8720Wed Mar 17 16:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
8721
8722 * libc/machine/i386/Makefile.am (lib_a_SOURCES): Added missing
8723 f_tanf reference.
8724 * libc/machine/i386/Makefile.in: Regenerated.
8725
8726Tue Mar 16 14:56:36 1999 Jeff Johnston <jjohnstn@cygnus.com>
8727
8728 * acinclude.m4: Changed to work with new automake.
8729 * configure: Regenerated.
8730 * libc/machine/i386/aclocal.m4: Regenerated.
8731 * libc/machine/i386/configure: Regenerated.
8732
8733Tue Mar 16 13:55:36 1999 Corinna Vinschen <corinna.vinschen@cityweb.de>
8734
8735 * libc/sys/cygwin/sys/dirent.h: Add additional prototypes
8736 for telldir() and seekdir(). Rename unused structure element
8737 for use with these two routines.
8738
8739Fri Mar 12 19:11:58 1999 Jeff Johnston <jjohnstn@cygnus.com>
8740
8741 * libc/time/mktime.c (validate_structure): Multiple fixes to
8742 code to handle cases where input fields are outside valid ranges.
8743 * libc/stdlib/div.c (div): Modified invalid rounding check.
8744 * libc/stdlib/ldiv.c (ldiv): Ditto.
8745
8746Thu Mar 11 21:32:13 1999 Jeff Johnston <jjohnstn@cygnus.com>
8747
8748 * libc/machine/i386/memcpy.S: Performance rewrite.
8749 * libc/machine/i386/memmove.S: Ditto.
8750 * libc/machine/i386/i386mach.h: Added more register definitions.
8751 * libc/include/math.h: Include <machine/fastmath.h> if -ffast-math
8752 option used.
8753 * libc/include/machine/fastmath.h: Add definitions for x86
8754 fast-math routines.
8755
8756Wed Mar 10 17:56:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
8757
8758 * libc/stdlib/strtod.c: Change from unsigned long to ULong.
8759
8760Tue Mar 9 14:31:58 1999 Geoffrey Noer <noer@cygnus.com>
8761
8762 Adjust newlib headers for new Cygwin Win32 API header files:
8763 * libc/include/sys/time.h: Check _WINSOCK_H rather than
8764 _GNU_H_WINDOWS32_SOCKETS.
8765 * libc/include/sys/types.h: Ditto.
8766
8767Tue Mar 09 15:55:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
8768
8769 *include/sys/reent.h: Add checks for size of Bigint element Long.
8770 *libc/dtoa.c: Change routines to use generic Long type.
8771 *libc/mprec.c: Change routines to use generic Long type.
8772 *libc/mprec.h: Change routines to use generic Long type.
8773
8774Tue Mar 02 18:07:49 1999 Ranjith Kumaran <ranjith@cygnus.com>
8775
8776 * libc/Makefile.am: Add .def files.
8777 * libc/Makefile.in: Regenerate.
8778 * libc/e_acosh.c: Documentation update.
8779 * libc/e_atanh.c: Documentation update.
8780 * libc/e_hypot.c: Documentation update.
8781 * libc/e_remainder.c: Documentation update.
8782 * libc/er_lgamma.c: Documentation update.
8783 * libc/mathfp.tex: Documentation update.
8784 * libc/s_acos.c: Documentation update.
8785 * libc/s_atan.c: Documentation update.
8786 * libc/s_atan2.c: Documentation update.
8787 * libc/s_cosh.c: Documentation update.
8788 * libc/s_fmod.c: Documentation update.
8789 * libc/s_isnan.c: Documentation update.
8790 * libc/s_log10.c: Documentation update.
8791 * libc/s_pow.c: Documentation update.
8792 * libc/w_jn.c: Documentation update.
8793
8794Sun Feb 28 23:18:49 1999 Geoffrey Noer <noer@cygnus.com>
8795
8796 * aclocal.m4: Regenerate.
8797 * configure: Regenerate.
8798
8799Tue Feb 23 13:57:26 1999 Jeff Johnston <jjohnstn@cygnus.com>
8800
8801 * libc/machine/mn10300/setjmp.S (_longjmp): Fixed longjmp
8802 to return 1 if user specified return code is 0.
8803 * libc/machine/mn10200/setjmp.S (_longjmp): Ditto.
8804
8805Thu Feb 18 11:13:28 1999 Jeff Johnston <jjohnstn@cygnus.com>
8806
8807 * libc/machine/mn10200/setjmp.S (_setjmp/_longjmp): Fixed setjmp
8808 to save the return address. Fixed longjmp to return to the original
8809 calling address of setjmp and to return the user specified return code
8810 rather than default to 1.
8811 * libc/machine/mn10300/setjmp.S (_setjmp/_longjmp): Ditto.
8812
8813Mon Feb 15 17:48:17 1999 Jeff Johnston <jjohnstn@cygnus.com>
8814
8815 * libc/stdlib/mprec.h (mult): Define mult to be _multiply instead of _mult.
8816
88171999-02-10 Nick Clifton <nickc@cygnus.com>
8818
8819 * libc/sys/arm/syscalls.c (initialise_monitor_handles): Make block
8820 volatile so that its assignments will not be discarded.
8821
8822Wed Feb 10 17:19:40 1999 Jeff Johnston <jjohnstn@cygnus.com>
8823
8824 * libc/include/_ansi.h: Corrected _STRICT_ANSI reference to
8825 be __STRICT_ANSI__ which is generated by compiler.
8826 * libc/include/ctype.h: Ditto.
8827 * libc/include/math.h: Ditto.
8828 * libc/include/stdio.h: Ditto.
8829 * libc/include/stdlib.h: Ditto.
8830 * libc/include/string.h: Ditto.
8831 * libc/include/sys/signal.h: Ditto.
8832
88331999-02-08 Nick Clifton <nickc@cygnus.com>
8834
8835 * configure.host: Add support for StrongARM target.
8836
8837Fri Feb 5 11:13:14 1999 Jeff Johnston <jjohnstn@cygnus.com>
8838
8839 * libc/string/strncpy.c (strncpy): Removed redundant code
8840 that was copying bytes if data unaligned.
8841
88421999-02-02 Brendan Kehoe <brendan@cygnus.com>
8843
8844 * libc/stdlib/Makefile.{am,in} (CHEWOUT_FILES): Add mblen.def,
8845 mbstowcs.def, and wcstombs.def.
8846
8847Sat Jan 30 02:36:33 1999 Christopher Faylor <cgf@cygnus.com>
8848
8849 * libc/include/sys/errno.h: Add Cygwin errno.
8850 * libc/stdio/flags.c: Don't default to O_TEXT if no other flag
8851 is specified.
8852
88531999-01-29 Nick Clifton <nickc@cygnus.com>
8854
8855 * libc/sys/arm/syscalls.c: Move C library functions into seperate
8856 file.
8857
8858 * libc/sys/arm/libcfunc.c: New file containing C library functions
8859 from syscalls.c
8860
8861 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add libcfuncs.c
8862 * libc/sys/arm/Makefile.in (lib_a_SOURCES): Regenerate.
8863
8864
88651999-01-27 Michael Meissner <meissner@cygnus.com>
8866
8867 * libc/include/machine/setjmp.h (D30V _JBLEN/_JBTYPE): Use double
8868 type, and cut size in half so that the jmp_buf array is guaranteed
8869 to be aligned on a 64-bit boundary.
8870
8871Mon Jan 25 12:05:38 1999 Jeff Johnston <jjohnstn@cygnus.com>
8872
8873 * libc/string/strings.tex: Added information about
8874 strcasecmp and strncasecmp.
8875 * libc/stdlib/stdlib.tex: Added missing information
8876 about mblen, mbstowcs, and wcstombs.
8877 * libc/string/strchr.c: Changed how mask is built to use
8878 shift operators so register will be used instead of storage.
8879
88801999-01-22 DJ Delorie <dj@cygnus.com>
8881
8882 * libc/include/stdlib.h: don't use dllimport if we're building
8883 newlib, since it's inside cygwin.dll
8884
8885Fri Jan 22 14:57:18 1999 Christopher Faylor <cgf@cygnus.com>
8886
8887 * libc/ctype/ctype_.c: Need to use __declspec(dllexport) for
8888 _ctype_ under cygwin.
8889
8890Fri Jan 22 09:50:19 1999 Christopher Faylor <cgf@cygnus.com>
8891
8892 * include/stdlib.h: Fix typo from previous checkin.
8893
8894Thu Jan 21 22:42:21 1999 Christopher Faylor <cgf@cygnus.com>
8895
8896 * include/ctype.h: Use __declspec(dllimport) method for exporting
8897 variable from cygwin DLL.
8898 * include/time.h: Ditto.
8899 * sys/errno.h: Ditto.
8900 * include/stdlib.h: Export __mb_cur_max from cygwin DLL.
8901 * libc/locale/locale.c: Use __declspec(dllexport) method for
8902 exporting variable from cygwin DLL.
8903
8904Sat Jan 16 13:29:54 1999 Christopher Faylor <cgf@cygnus.com>
8905
8906 * libc/stdio/setvbuf.c: Always clean up when _IONBF or possible
8907 access of bogus pointer will result in SIGSEGV.
8908
89091999-01-07 Nick Clifton <nickc@cygnus.com>
8910
8911 * libc/sys/arm/setjmp.S: Use C macros to cope with the possibility
8912 of an underscore prefix to function names.
8913
8914Fri Jan 8 19:00:07 1999 Jeff Johnston <jjohnstn@cygnus.com>
8915
8916 * libc/machine/i386/i386mach.h (__REG_PREFIX__): Create new
8917 define __REG_PREFIX__ instead of using __REGISTER_PREFIX__.
8918
89191998-12-31 Michael Meissner <meissner@cygnus.com>
8920
8921 * libc/machine/i386/i386mach.h (__REGISTER_PREFIX__): Only define
8922 to `%' if not already defined.
8923
89241998-12-30 Michael Meissner <meissner@cygnus.com>
8925
8926 * libc/stdio/tmpnam.c (_tempnam_r): Make directory and prefix
8927 arguments const char *, not char *.
8928 * libc/include/stdio.h (_tempnam_r): Ditto.
8929
8930 * libc/include/sys/reent.h (struct _reent): The _sig_func type
8931 points to a function taking an integer, not void.
8932
8933Tue Dec 29 14:35:53 1998 Christopher Faylor <cgf@cygnus.com>
8934
8935 * configure.host: Add a define for Cygwin builds.
8936 * libc/include/ctype.h: Don't use dll imported variables in newlib.
8937
8938Mon Dec 28 09:19:56 1998 Christopher Faylor <cgf@cygnus.com>
8939
8940 * libc/include/ctype.h: Define _ctype_ as dll imported variable
8941 for use with Cygwin.
8942 * libc/include/sys/errno.h: Define _sys_errlist and _sys_nerr as
8943 dll imported variables for use with Cygwin.
8944 * libc/ctype/ctype_.c: Undefine _ctype_ in case it has been defined
8945 as a dll imported variable for Cygwin.
8946
8947Sat Dec 26 00:13:53 1998 Christopher Faylor <cgf@cygnus.com>
8948
8949 * libc/include/sys/unistd.h: Add proto for getpass.
8950
8951Fri Dec 18 19:28:19 1998 Geoffrey Noer <noer@cygnus.com>
8952
8953 * libc/sys/cygwin/sys/dirent.h: add protos for scandir and
8954 alphasort.
8955
8956Fri Dec 18 16:33:25 1998 Geoffrey Noer <noer@cygnus.com>
8957
8958 * libc/posix/execvp.c (execvp): call cygwin_posix_path_list_p,
8959 not posix_path_list_p.
8960
89611998-12-15 Nick Clifton <nickc@cygnus.com>
8962
8963 * libc/string/memchr.c: Treat 'c' argument as an unsigned byte not
8964 a signed int.
8965
89661998-12-13 Nick Clifton <nickc@cygnus.com>
8967
8968 * libc/include/machine/setjmp.h (_JBLEN): Set to 10.
8969
89701998-12-12 Nick Clifton <nickc@cygnus.com>
8971
8972 * libc/machine/fr30/setjmp.S: New file, supplied by Mark Slater
8973 <msalter@cygnus.com>
8974 * libc/machine/fr30/Makefile.am: Add build of setjmp.S
8975 * libc/machine/fr30/Makefile.in: Regenerated.
8976
89771998-12-11 Nick Clifton <nickc@cygnus.com>
8978
8979 * configure.host: Remove use of libc/sys for FR30 port.
8980 * libc/sys/fr30: Remove directory (replaced by libgloss).
8981
89821998-12-10 Ken Raeburn <raeburn@cygnus.com>
8983
8984 * libc/string/strcat.c (ALIGNED): Sense of result was reversed.
8985 * libc/string/strncat.c (ALIGNED): Ditto.
8986
8987Wed Dec 9 14:37:57 1998 Geoffrey Noer <noer@cygnus.com>
8988
8989 * libc/include/sys/time.h: include sys/types.h
8990
8991Tue Dec 8 15:53:18 1998 Jeff Johnston <jjohnstn@cygnus.com>
8992
8993 * libc/machine/i386/memcmp.S (memcmp): Fix for unequal
8994 comparison found when checking word at a time.
8995
89961998-12-04 Nick Clifton <nickc@cygnus.com>
8997
8998 * libc/sys/fr30/crt0.s (_start): Initialise frame pointer.
8999
90001998-12-03 Nick Clifton <nickc@cygnus.com>
9001
9002 * libc/sys/fr30/syscalls.c (_times): New function stub.
9003
9004Thu Dec 3 15:59:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
9005
9006 * configure.host (mach_add_setjmp): Replaced mach_add_objs
9007 with mach_add_setjmp flag which indicates if setjmp should
9008 be added to the machine directory objects.
9009 * acinclude.m4: Removed reference to mach_add_objs.
9010 * aclocal.m4: Regenerated.
9011 * Makefile.in: Regenerated.
9012 * configure: Regenerated.
9013 * libc/aclocal.m4: Regenerated.
9014 * libc/Makefile.in: Regenerated.
9015 * libc/configure: Regenerated.
9016 * libc/machine/aclocal.m4: Regenerated.
9017 * libc/machine/Makefile.in: Regenerated.
9018 * libc/machine/configure: Regenerated.
9019 * libc/machine/i386/aclocal.m4: Regenerated.
9020 * libc/machine/i386/Makefile.am: Altered to selectively add
9021 setjmp.S to the src files list.
9022 * libc/machine/i386/Makefile.in: Regenerated.
9023 * libc/machine/i386/configure.in: Altered to test mach_add_setjmp.
9024 * libc/machine/i386/configure: Regenerated.
9025
90261998-12-02 Nick Clifton <nickc@cygnus.com>
9027
9028 * libc/sys/fr30/crt0.s (_start): Fix function names.
9029
9030 * libc/machine/fr30: New directory
9031 * libc/machine/fr30/Makefile.am: New file.
9032 * libc/machine/fr30/Makefile.in: New generated file.
9033 * libc/machine/fr30/configure.in: New file.
9034 * libc/machine/fr30/configure: New generated file.
9035 * libc/machine/fr30/aclocal.m4: New generated file.
9036 * libc/sys/fr30/Makefile.am: New file.
9037 * libc/sys/fr30/Makefile.in: New generated file.
9038 * libc/sys/fr30/configure.in: New file.
9039 * libc/sys/fr30/configure: New generated file.
9040 * libc/sys/fr30/syscalls.c: New file.
9041
9042Tue Dec 1 16:28:56 1998 Geoffrey Noer <noer@cygnus.com>
9043
9044 * libc/sys/cygwin/sys/utmp.h: new file, moved from winsup/include.
9045
90461998-12-01 Ken Raeburn <raeburn@cygnus.com>
9047
9048 * libc/time/strftime.c (strftime): Also handle %y for years before
9049 1900.
9050
9051Tue Dec 1 13:26:07 1998 Christopher Faylor <cgf@cygnus.com>
9052
9053 * libc/string/strcasecmp.c (strcasecmp): Adhere to standard
9054 UNIX convention. Perform tolower on characters before comparing
9055 them rather than use toupper.
9056 * libc/string/strncasecmp.c (strncasecmp): Ditto.
9057
9058Mon Nov 30 16:24:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
9059
9060 * configure.host: Added using i386 machine directory
9061 for all x86 cross-compiler and configuring
9062 which added object files to use via new "mach_add_objs" variable.
9063 * configure: Regenerated.
9064 * libc/configure: Regenerated.
9065 * libc/Makefile.in: Regenerated.
9066 * libc/aclocal.m4: Regenerated.
9067 * libc/ctype/Makefile.in: Regenerated.
9068 * libc/errno/Makefile.in: Regenerated.
9069 * libc/locale/Makefile.in: Regenerated.
9070 * libc/machine/Makefile.in: Regenerated.
9071 * libc/machine/aclocal.m4: Regenerated.
9072 * libc/machine/configure: Regenerated.
9073 * libc/posix/Makefile.in: Regenerated.
9074 * libc/reent/Makefile.in: Regenerated.
9075 * libc/signal/Makefile.in: Regenerated.
9076 * libc/stdio/Makefile.in: Regenerated.
9077 * libc/stdlib/Makefile.in: Regenerated.
9078 * libc/string/Makefile.in: Regenerated.
9079 * libc/string/memmove.c: Optimized code to use memcpy
9080 logic when performing a non-destructive copy.
9081 * libc/string/strncmp.c: Altered code to allow building
9082 optimized for size or speed.
9083 * libc/syscalls/Makefile.in: Regenerated.
9084 * libc/time/Makefile.in: Regenerated.
9085 * libc/unix/Makefile.in: Regenerated.
9086 * libc/machine/i386/Makefile.am: Added new files and reference
9087 to "mach_add_objs" to indicate optional object files.
9088 * libc/machine/i386/Makefile.in: Regenerated.
9089 * libc/machine/i386/aclocal.m4: Regenerated.
9090 * libc/machine/i386/configure: Regenerated.
9091 * libc/machine/i386/memchr.S: New file that implements
9092 function in Intel assembler.
9093 * libc/machine/i386/memcmp.S: ditto.
9094 * libc/machine/i386/memcpy.S: ditto.
9095 * libc/machine/i386/memmove.S: ditto.
9096 * libc/machine/i386/memset.S: ditto.
9097 * libc/machine/i386/strchr.S: ditto.
9098 * libc/machine/i386/strlen.S: ditto.
9099 * libc/machine/i386/f_atan2.S: New file that implements
9100 fast version of math function to be used by compiler when
9101 --ffast_math compile option is used.
9102 * libc/machine/i386/f_atan2f.S: ditto.
9103 * libc/machine/i386/f_exp.c: ditto.
9104 * libc/machine/i386/f_expf.c: ditto.
9105 * libc/machine/i386/f_frexp.S: ditto.
9106 * libc/machine/i386/f_frexpf.S: ditto.
9107 * libc/machine/i386/f_ldexp.S: ditto.
9108 * libc/machine/i386/f_ldexpf.S: ditto.
9109 * libc/machine/i386/f_log.S: ditto.
9110 * libc/machine/i386/f_logf.S: ditto.
9111 * libc/machine/i386/f_log10.S: ditto.
9112 * libc/machine/i386/f_log10f.S: ditto.
9113 * libc/machine/i386/f_math.h: New file.
9114 * libc/machine/i386/f_pow.c: ditto.
9115 * libc/machine/i386/f_powf.S: ditto.
9116 * libc/machine/i386/f_tan.S: ditto.
9117 * libc/machine/i386/f_tan.S: ditto.
9118 * libc/machine/i386/i386mach.h: New file.
9119
9120Mon Nov 30 13:02:17 1998 Christopher Faylor <cgf@cygnus.com>
9121
9122 patch from Mumit Khan <khan@xraylith.wisc.edu>
9123 * libc/include/stdio.h (tempnam): Add prototype.
9124 * libc/stdio/tmpnam.c (_tempnam_r): Handle NULL prefix.
9125 (tempnam): Adhere to prototype.
9126
9127Thu Nov 26 00:21:32 1998 Christopher Faylor <cgf@cygnus.com>
9128
9129 * Makefile.am: Add default for AR_FLAGS.
9130 * Makefile.in: Regenerate.
9131
9132Tue Nov 24 18:48:56 1998 Geoffrey Noer <noer@cygnus.com>
9133
9134 * libc/include/time.h: move __cplusplus wrapper after includes
9135 * libc/include/sys/time.h: ditto. If Cygwin, include
9136 sys/select.h.
9137 * libc/include/sys/types.h: lose "32" in comment about Cygwin.
9138
91391998-11-23 Ken Raeburn <raeburn@cygnus.com>
9140
9141 * libc/time/strftime.c (strftime): Handle %y after year 2000.
9142
9143Wed Nov 18 12:22:41 1998 Nick Clifton <nickc@cygnus.com>
9144
9145 * libc/sys/fr30/crt0.s (_start): Switch over to using int #9 as
9146 abnormnal end-of-crt0 marker.
9147
9148Tue Nov 17 16:27:58 1998 Nick Clifton <nickc@cygnus.com>
9149
9150 * libc/sys/fr30/crt0.s: New file/directory.
9151 * libc/include/machine/setjmp.h: Add FR30 target.
9152 * libc/include/machine/ieeefp.h: Add FR30 target.
9153 * configure.host: Add FR30 target.
9154
9155Mon Nov 16 23:15:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
9156
9157 * libm/math: Files that are duplicated in common directory removed.
9158 * libm/math/fdlibm.h: Removed.
9159 * libm/math/s_cbrt.c: Removed.
9160 * libm/math/s_copysign.c: Removed.
9161 * libm/math/s_expm1.c: Removed.
9162 * libm/math/s_finite.c: Removed.
9163 * libm/math/s_ilogb.c: Removed.
9164 * libm/math/s_infinity.c: Removed.
9165 * libm/math/s_lib_ver.c: Removed.
9166 * libm/math/s_log1p.c: Removed.
9167 * libm/math/s_logb.c: Removed.
9168 * libm/math/s_matherr.c: Removed.
9169 * libm/math/s_modf.c: Removed.
9170 * libm/math/s_nan.c: Removed.
9171 * libm/math/s_nextafter.c: Removed.
9172 * libm/math/s_rint.c: Removed.
9173 * libm/math/s_scalbn.c: Removed.
9174 * libm/math/sf_cbrt.c: Removed.
9175 * libm/math/sf_copysign.c: Removed.
9176 * libm/math/sf_expm1.c: Removed.
9177 * libm/math/sf_finite.c: Removed.
9178 * libm/math/sf_ilogb.c: Removed.
9179 * libm/math/sf_infinity.c: Removed.
9180 * libm/math/sf_log1p.c: Removed.
9181 * libm/math/sf_logb.c: Removed.
9182 * libm/math/sf_modf.c: Removed.
9183 * libm/math/sf_nan.c: Removed.
9184 * libm/math/sf_nextafter.c: Removed.
9185 * libm/math/sf_rint.c: Removed.
9186 * libm/math/sf_scalbn.c: Removed.
9187 * libm/math/Makefile.am: Removed references to deleted files (above).
9188 * libm/math/Makefile.in: Regenerated.
9189 * libm/Makefile.am: Added common directory to math.
9190 * libm/Makefile.in: Regenerated.
9191
9192Mon Nov 2 23:12:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
9193
9194 * libm/mathfp: Add non-ANSI functions.
9195 * libm/mathfp/e_acosh.c acosh(): New file.
9196 * libm/mathfp/e_atanh.c atanh(): New file.
9197 * libm/mathfp/e_hypot.c hypot(): New file.
9198 * libm/mathfp/e_j0.c j0(): New file.
9199 * libm/mathfp/e_j1.c j1(): New file.
9200 * libm/mathfp/e_remainder.c remainder(): New file.
9201 * libm/mathfp/e_scalb.c scalb(): New file.
9202 * libm/mathfp/ef_acosh.c acoshf(): New file.
9203 * libm/mathfp/ef_atanh.c atanhf(): New file.
9204 * libm/mathfp/ef_hypot.c hypotf(): New file.
9205 * libm/mathfp/ef_j0.c j0f(): New file.
9206 * libm/mathfp/ef_j1.c j1f(): New file.
9207 * libm/mathfp/ef_remainder.c remainderf(): New file.
9208 * libm/mathfp/ef_scalb.c scalbf(): New file.
9209 * libm/mathfp/er_gamma.c gamma_r: New file.
9210 * libm/mathfp/er_lgamma.c lgamma_r(): New file.
9211 * libm/mathfp/erf_gamma.c gamma_rf(): New file.
9212 * libm/mathfp/erf_lgamma.c lgamma_rf(): New file.
9213 * libm/mathfp/w_cabs.c cabs(): New file.
9214 * libm/mathfp/w_drem.c drem(): New file.
9215 * libm/mathfp/w_jn.c jn(): New file.
9216 * libm/mathfp/wf_cabs.c cabsf(): New file.
9217 * libm/mathfp/wf_drem.c dremf(): New file.
9218 * libm/mathfp/wf_jn.c jnf(): New file.
9219
9220Mon Nov 2 16:43:18 1998 Geoffrey Noer <noer@cygnus.com>
9221
9222 * libc/sys/cygwin32: remove directory and contents
9223 * libc/sys/cygwin: and add back, losing the "32".
9224 * configure.host: check for cygwin* instead of cygwin32.
9225 * acinclude.m4: ditto.
9226 * aclocal.m4: regenerate with aclocal
9227 * configure: regenerate with autoconf
9228
9229Tue Oct 20 17:28:28 1998 Geoffrey Noer <noer@cygnus.com>
9230
9231 * libc/stdio/tmpnam.c (_tempnam_r): not enough memory allocated
9232 for length
9233
9234Tue Oct 20 18:49:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
9235
9236 * libc/include/sys/reent.h (struct _reent): Added variables _rand_next, _strtok_last,
9237 _asctime_buf, _localtime_buf and _gamma_signgam to struct reent
9238 to make rand/srand, strtok, asctime, localtime, w_gamma,
9239 w_lgamma, wf_gamma, and wf_lgamma reentrant. Included
9240 time.h to bring in struct tm definition.
9241 * libc/stdlib/rand.c (rand, srand): Don't emit functions 'rand' and 'srand' if
9242 '_REENT_ONLY' is set. Used variable '_rand_next' from struct reent.
9243 * libc/stdlib/strtok.c (strtok): Used variable '_strtok_last' from struct reent
9244 instead of static variable.
9245 * libc/stdlib/asctime.c (asctime): Used variable '_asctime_buf' from
9246 struct reent instead of static variable.
9247 * libc/stdlib/lcltime.c (localtime): Used variable '_localtime_buf' from
9248 struct reent instead of static variable.
9249 * libm/math/Makefile.am: Removed s_signgam.o.
9250 * libm/math/Makefile.in: Regenerated.
9251 * libm/math/w_gamma.c (gamma): Used variable '_gamma_signgam' from
9252 struct reent instead of global variable 'signgam'.
9253 * libm/math/w_lgamma.c (lgamma): Likewise.
9254 * libm/math/wf_gamma.c (gammaf): Likewise.
9255 * libm/math/wf_lgamma.c (lgammaf): Likewise.
9256 * libm/math/s_signgam.c: Removed.
9257 * libc/include/unctrl.h: Defined arrays __unctrl and __unctrllen
9258 to be const.
9259 * libc/misc/unctrl.c: Defined arrays __unctrl and __unctrllen
9260 to be const.
9261 * libc/reent/Makefile.am: Added dependence for impure.o on impure.c and
9262 libc/include/reent.h.
9263 * libc/reent/Makefile.in: Regenerated.
9264 * libc/stdio/vfprintf.c (_vfprintf_r): Defined arrays 'blanks' and 'zeroes'
9265 to be const.
9266 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Defined arrays 'JIS_state_table' and
9267 'JIS_action_table' to be const.
9268 * libm/math/s_lib_ver.c: define variable _LIB_VERSION to be const.
9269
9270Mon Oct 12 00:26:33 1998 Christopher Faylor <cgf@cygnus.com>
9271
9272 * acinclude.m4: $with_target_subdir should default to '.'
9273 or confusion results when configuring in same directory as sources.
9274 * Regenerate all aclocal.m4 and configure files.
9275
9276Fri Oct 9 16:27:36 1998 Jeff Johnston <jjohnstn@cygnus.com>
9277
9278 * libc/stdlib/mallocr.c: Added 16 byte alignment support which
9279 can be set by defining MALLOC_ALIGNMENT=16. Also added support
9280 for platforms where sizeof(size_t) < sizeof(long) via
9281 SIZE_T_SMALLER_THAN_LONG macro.
9282
9283Wed Oct 7 14:02:40 1998 Jeff Johnston <jjohnstn@cygnus.com>
9284
9285 * libc/include/time.h (CLOCKS_PER_SEC): Change CLOCKS_PER_SEC
9286 to refer to _CLOCKS_PER_SEC_ and added including <machine/time.h>
9287 which sets _CLOCKS_PER_SEC_ for selected machines.
9288 * libc/include/machine/time.h: New file.
9289
9290Tue Oct 6 16:08:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
9291
9292 * libc/syscalls/sysexecve.c: New file.
9293 * libc/syscalls/sysgettod.c: New file.
9294 * libc/syscalls/systimes.c: New file.
9295 * libc/syscalls/Makefile.am: Added new objects.
9296 * libc/syscalls/Makefile.in: Regenerated.
9297 * libc/include/_syslist.h (_execve): Moved define in file.
9298 * libc/include/reent.h: Added _execve_r declaration.
9299 * libc/Makefile.in: Regenerated.
9300 * libc/ctype/Makefile.in: Regenerated.
9301 * libc/errno/Makefile.in: Regenerated.
9302 * libc/locale/Makefile.in: Regenerated.
9303 * libc/machine/Makefile.in: Regenerated.
9304 * libc/misc/Makefile.in: Regenerated.
9305 * libc/posix/Makefile.in: Regenerated.
9306 * libc/reent/Makefile.in: Regenerated.
9307 * libc/reent/execr.c (_execve_r): Added _execve_r function.
9308 * libc/signal/Makefile.in: Regenerated.
9309 * libc/stdio/Makefile.in: Regenerated.
9310 * libc/time/Makefile.in: Regenerated.
9311 * libc/unix/Makefile.in: Regenerated.
9312 * libm/mathfp/Makefile.in: Regenerated.
9313
9314Tue Oct 6 14:14:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
9315
9316 * libc/string/Makefile.in: Regenerated.
9317 * libc/string/memchr.c (memchr): Moved code to reduce object size.
9318 * libc/string/memcpy.c (memcpy): Ditto.
9319 * libc/string/memcmp.c (memcmp): Ditto.
9320 * libc/string/memset.c (memset): Ditto.
9321 * libc/string/strchr.c (strchr): Ditto.
9322 * libc/string/strcmp.c (strcmp): Ditto.
9323 * libc/string/strcpy.c (strcpy): Ditto.
9324 * libc/string/strlen.c (strlen): Ditto.
9325
9326Tue Oct 6 13:58:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
9327
9328 * libm/acinclude.m4: Removed since newlib/acinclude.m4 can be used
9329 to generate aclocal.m4.
9330 * libm/Makefile.in: Regenerated.
9331 * libm/aclocal.m4: Regenerated.
9332 * libm/configure: Regenerated.
9333 * libm/math/Makefile.in: Regenerated.
9334 * libm/mathfp/Makefile.in: Regenerated.
9335
93361998-09-25 Mark Salter <msalter@cygnus.com>
9337
9338 * libc/include/machine/setjmp.h: Fixed test for mn10300 and mn10200
9339 by adding leading and trailing underscores to symbol names.
9340
9341Tue Sep 22 15:33:41 1998 Christopher Faylor <cgf@cygnus.com>
9342
9343 * Makefile.in: Add default for AR_FLAGS.
9344
9345Tue Sep 22 15:02:49 1998 Christopher Faylor <cgf@cygnus.com>
9346
9347 patch from ian@airs.com (Ian Taylor):
9348 * acinclude.m4: Run AC_CANONICAL_BUILD explicitly before
9349 NEWLIB_CONFIGURE so AC_CANONICAL_HOST will be run before it
9350 is needed for detecting the build machine. Required for
9351 cygwin native builds.
9352
9353 * Regenerate all aclocal.m4 and configure files.
9354
9355Mon Sep 21 14:44:16 1998 Nick Clifton <nickc@cygnus.com>
9356
9357 * libc/sys/arm/crt0.S: Prepend a period to all local labels that
9358 used to start with LC.
9359
9360Thu Sep 17 18:18:11 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
9361
9362 * libc/machine/sh/setjmp.S (setjmp): Handle __SH4* like __SH3E__ .
9363 (longjmp): Likewise.
9364
9365Thu Sep 17 16:25:33 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
9366
9367 * libc/machine/sh/memset.S (memset): Move copy from r4 to r4 before
9368 the test for small number of bytes.
9369
9370Thu Sep 10 11:40:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
9371
9372 * Makefile.am: Add --enable-newlib-hw-fp check. This builds the new
9373 math library that uses floating point algorithms instead of the old
9374 libm.
9375 * Makefile.in: Regenerate with automake version 1.3b.
9376 * configure: Rebuild.
9377 * libm/Makefile.in: Regenerate with automake version 1.3b.
9378 * libm/aclocal.m4: Regenerate.
9379 * libm/configure: Rebuild.
9380 * libm/configure.in: Add newlib_hw_fp definition and mathfp directory.
9381 * libm/acinclude.m4: Define macros for configure.in.
9382 * libm/config.h.in: Generate.
9383 * libm/mathfp/Makefile.am: New file.
9384 * libm/mathfp/Makefile.in: Generate.
9385 * libm/mathfp/s_acos.c (acos): New file.
9386 * libm/mathfp/s_asin.c (asin): New file.
9387 * libm/mathfp/s_asine.c (asine): New file.
9388 * libm/mathfp/s_atan.c (atan): New file.
9389 * libm/mathfp/s_atan2.c (atan2): New file.
9390 * libm/mathfp/s_atangent.c (atangent): New file.
9391 * libm/mathfp/s_ceil.c (ceil): New file.
9392 * libm/mathfp/s_copysign.c (copysign): New file.
9393 * libm/mathfp/s_cos.c (cos): New file.
9394 * libm/mathfp/s_cosh.c (cosh): New file.
9395 * libm/mathfp/s_exp.c (exp): New file.
9396 * libm/mathfp/s_fabs.c (fabs): New file.
9397 * libm/mathfp/s_finite.c (finite): New file.
9398 * libm/mathfp/s_floor.c (floor): New file.
9399 * libm/mathfp/s_fmod.c (fmod): New file.
9400 * libm/mathfp/s_frexp.c (frexp): New file.
9401 * libm/mathfp/s_infconst.c: New file.
9402 * libm/mathfp/s_isinf (isinf).c: New file.
9403 * libm/mathfp/s_isnan.c (isnan): New file.
9404 * libm/mathfp/s_ispos.c (ispos): New file.
9405 * libm/mathfp/s_ldexp.c (ldexp): New file.
9406 * libm/mathfp/s_log.c (log): New file.
9407 * libm/mathfp/s_log10.c (log10): New file.
9408 * libm/mathfp/s_logarithm.c (logarithm): New file.
9409 * libm/mathfp/s_mathcnst.c: New file.
9410 * libm/mathfp/s_modf (modf).c: New file.
9411 * libm/mathfp/s_numtest.c (numtest): New file.
9412 * libm/mathfp/s_pow.c (pow): New file.
9413 * libm/mathfp/s_scalbn.c (scalbn): New file.
9414 * libm/mathfp/s_sin (sin).c: New file.
9415 * libm/mathfp/s_sine.c (sine): New file.
9416 * libm/mathfp/s_sineh.c (sineh): New file.
9417 * libm/mathfp/s_sinf.c (sinf): New file.
9418 * libm/mathfp/s_sinh.c (sinh): New file.
9419 * libm/mathfp/s_sqrt.c (sqrt): New file.
9420 * libm/mathfp/s_tan.c (tan): New file.
9421 * libm/mathfp/s_tanh.c (tanh): New file.
9422 * libm/mathfp/sf_acos.c (acosf): New file.
9423 * libm/mathfp/sf_asin.c (asinf): New file.
9424 * libm/mathfp/sf_asine.c (asinef): New file.
9425 * libm/mathfp/sf_atan.c (atanf): New file.
9426 * libm/mathfp/sf_atan2.c (atan2f): New file.
9427 * libm/mathfp/sf_atangent.c (atangent): New file.
9428 * libm/mathfp/sf_ceil.c (ceilf): New file.
9429 * libm/mathfp/sf_copysign.c (copysignf): New file.
9430 * libm/mathfp/sf_cos.c (cosf): New file.
9431 * libm/mathfp/sf_cosh.c (coshf): New file.
9432 * libm/mathfp/sf_exp.c (expf): New file.
9433 * libm/mathfp/sf_fabs.c (fabsf): New file.
9434 * libm/mathfp/sf_finite.c (finitef): New file.
9435 * libm/mathfp/sf_floor.c (floorf): New file.
9436 * libm/mathfp/sf_fmod.c (fmodf): New file.
9437 * libm/mathfp/sf_frexp.c (frexpf): New file.
9438 * libm/mathfp/sf_isinf.c (isinff): New file.
9439 * libm/mathfp/sf_isnan.c (isnanf): New file.
9440 * libm/mathfp/sf_ispos.c (isposf): New file.
9441 * libm/mathfp/sf_ldexp.c (ldexpf): New file.
9442 * libm/mathfp/sf_log.c (logf): New file.
9443 * libm/mathfp/sf_log10.c (log10f): New file.
9444 * libm/mathfp/sf_logarithm.c (logarithmf): New file.
9445 * libm/mathfp/sf_modf.c (modff): New file.
9446 * libm/mathfp/sf_numtest.c (numtestf): New file.
9447 * libm/mathfp/sf_pow.c (powf): New file.
9448 * libm/mathfp/sf_scalbn.c (scalbnf): New file.
9449 * libm/mathfp/sf_sin.c (sinf): New file.
9450 * libm/mathfp/sf_sine.c (sinef): New file.
9451 * libm/mathfp/sf_sineh.c (sinehf): New file.
9452 * libm/mathfp/sf_sinh.c (sinhf): New file.
9453 * libm/mathfp/sf_sqrt.c (sqrtf): New file.
9454 * libm/mathfp/sf_tan.c (tanf): New file.
9455 * libm/mathfp/sf_tanh.c (tanhf): New file.
9456 * libm/mathfp/zmath.h: New file.
9457
9458Wed Sep 2 02:49:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
9459
9460 * libc/machine/sh/strcmp.S (L_char_loop): Re-load r0 at loop
9461 exit if it has been overwritten by pre-fetching in delay slot.
9462
94631998-09-01 Michael Meissner <meissner@cygnus.com>
9464
9465 * Makefile.am (tooldir): Add in host_alias, so that multilib
9466 libraries are installed in the directory the compiler looks in.
9467 * Makefile.in: Regenerate.
9468
9469 * libc/stdlib/Makefile.in: Regenerate with automake version 1.3b.
9470
9471Mon Aug 31 11:39:31 1998 Jeff Johnston <jjohnstn@cygnus.com>
9472
9473 * libc/machine/mn10300/memcpy.S (_memcpy): Move alignment test
9474 ahead of test for number of bytes being moved.
9475
9476Thu Aug 27 14:07:53 1998 Christopher Faylor <cgf@cygnus.com>
9477
9478 * libc/include/sys/unistd.h: Nothing special needed for
9479 _exit under cygwin.
9480
9481Wed Aug 26 15:05:21 1998 Nick Clifton <nickc@cygnus.com>
9482
9483 * libc/sys/arm/syscalls.c (_sbrk): Rename '_end' to 'end' to
9484 conform to user label naming conventions.
9485
9486Mon Aug 24 14:46:19 1998 Geoffrey Noer <noer@cygnus.com>
9487
9488 * libc/sys/cygwin32/sys/utime.h: variable names in
9489 protos should start with two leading underscores
9490 * libc/include/string.h: ditto
9491 * libc/include/sys/signal.h: ditto
9492 * libc/include/sys/stat.h: ditto
9493 * libc/include/sys/time.h: ditto
9494 * libc/include/sys/unistd.h: ditto
9495 * libc/include/ctype.h: ditto
9496 * libc/include/stdlib.h: ditto
9497 * libc/include/sys/reent.h: struct _atexit function ptr takes a
9498 void, same with _sig_func.
9499
9500Fri Aug 21 14:44:14 1998 Jeff Johnston <jjohnstn@cygnus.com>
9501
9502 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Added preprocessor checks
9503 for MB_CAPABLE to reduce code size when newlib is not configured
9504 with --enable-newlib-mb.
9505 * libc/stdlib/Makefile.am: Specified -fshort-enums when building
9506 mbtowc_r.o to minimize size.
9507 * libc/stdlib/Makefile.in: Rebuild.
9508
9509Wed Aug 19 16:20:13 1998 Jim Wilson <wilson@cygnus.com>
9510
9511 * libc/sys/sparc64/Makefile.am (.S_r.o, .c_r.o): Change -DREENTRANT
9512 to -DREENT.
9513 * libc/sys/sparc64/Makefile.in: Rebuild.
9514
9515Tue Aug 18 22:38:29 1998 Ian Lance Taylor <ian@cygnus.com>
9516
9517 * Makefile.am (MAKEOVERRIDES): Define.
9518 * Makefile.in: Rebuild.
9519
9520Tue Aug 18 12:38:47 1998 Jim Wilson <wilson@cygnus.com>
9521
9522 * libc/sys/sparc64/sys/stat.h (stat): Add const.
9523
9524Mon Aug 17 22:27:06 1998 Ian Lance Taylor <ian@cygnus.com>
9525
9526 * acinclude.m4 (NEWLIB_CONFIGURE): Use top_builddir in
9527 newlib_cflags when looking for targ-include.
9528 * */aclocal.m4, */configure: Rebuild.
9529
9530Fri Jul 31 10:57:42 1998 Catherine Moore <clm@cygnus.com>
9531
9532 * libc/sys/arm/syscalls.c (_sbrk): Change "__end__"
9533 to "_end".
9534
9535Wed Jul 29 00:02:01 1998 Mark Alexander <marka@cygnus.com>
9536
9537 * libc/include/sys/config.h: Define __IEEE_LITTLE_ENDIAN
9538 on SPARCs with little-endian data.
9539 * libc/include/machine/ieeefp.h: Ditto.
9540
9541Wed Jul 22 18:00:10 1998 Ian Lance Taylor <ian@cygnus.com>
9542
9543 * acinclude.m4: Handle a relative srcdir correctly when setting
9544 newlib_cflags.
9545 * */aclocal.m4, */configure: Rebuild.
9546
9547Wed Jul 22 17:11:33 1998 Jeff Johnston <jjohnstn@cygnus.com>
9548
9549 * libm/math/wrf_lgamma.c (lgammaf_r): Initialize exc.err to 0 and
9550 also set exc.arg1, exc.arg2 appropriately in case matherr is supplied.
9551 * libm/math/wrf_gamma.c (gammaf_r): ditto
9552 * libm/math/wr_lgamma.c (lgamma_r): ditto
9553 * libm/math/wr_gamma.c (gamma_r): ditto
9554 * libm/math/wf_sqrt.c (sqrtf): ditto
9555 * libm/math/wf_sinh.c (sinhf): ditto
9556 * libm/math/wf_scalb.c (scalbf): ditto
9557 * libm/math/wf_remainder.c (remainderf): ditto
9558 * libm/math/wf_pow.c (powf): ditto
9559 * libm/math/wf_log10.c (log10f): ditto
9560 * libm/math/wf_log.c (logf): ditto
9561 * libm/math/wf_lgamma.c (lgammaf): ditto
9562 * libm/math/wf_jn.c (jnf, ynf): ditto
9563 * libm/math/wf_j1.c (j1f, y1f): ditto
9564 * libm/math/wf_j0.c (j0f, y0f): ditto
9565 * libm/math/wf_hypot.c (hypotf): ditto
9566 * libm/math/wf_gamma.c (gammaf): ditto
9567 * libm/math/wf_fmod.c (fmodf): ditto
9568 * libm/math/wf_exp.c (expf): ditto
9569 * libm/math/wf_cosh.c (coshf): ditto
9570 * libm/math/wf_atanh.c (atanhf): ditto
9571 * libm/math/wf_atan2f.c (atan2f): ditto
9572 * libm/math/wf_asin.c (asinf): ditto
9573 * libm/math/wf_acosh.c (acoshf): ditto
9574 * libm/math/wf_acos.c (acosf): ditto
9575 * libm/math/w_sqrt.c (sqrt): ditto
9576 * libm/math/w_sinh.c (sinh): ditto
9577 * libm/math/w_scalb.c (scalb): ditto
9578 * libm/math/w_remainder.c (remainder): ditto
9579 * libm/math/w_pow.c (pow): ditto
9580 * libm/math/w_log10.c (log10): ditto
9581 * libm/math/w_log.c (log): ditto
9582 * libm/math/w_lgamma.c (lgamma): ditto
9583 * libm/math/w_jn.c (jn, yn): ditto
9584 * libm/math/w_j1.c (j1, y1): ditto
9585 * libm/math/w_j0.c (j0, y0): ditto
9586 * libm/math/w_hypot.c (hypot): ditto
9587 * libm/math/w_gamma.c (gamma): ditto
9588 * libm/math/w_fmod.c (fmod): ditto
9589 * libm/math/w_exp.c (exp): ditto
9590 * libm/math/w_cosh.c (cosh): ditto
9591 * libm/math/w_atanh.c (atanh): ditto
9592 * libm/math/w_atan2f.c (atan2): ditto
9593 * libm/math/w_asin.c (asin): ditto
9594 * libm/math/w_acosh.c (acosh): ditto
9595 * libm/math/w_acos.c (acos): ditto
9596
9597Tue Jul 21 12:34:54 1998 Ian Lance Taylor <ian@cygnus.com>
9598
9599 * libm/math/Makefile.am (src): Add w_cabs.c and w_drem.c.
9600 (fsrc): Add wf_cabs.c and wf_drem.c.
9601 * libm/math/Makefile.in: Rebuild.
9602
9603 * Makefile.am (AM_MAKEFLAGS): Add CFLAGS_FOR_BUILD. Remove some
9604 unused directory variables. Remove duplicate CFLAGS.
9605 * Makefile.in: Rebuild.
9606
9607 * doc/Makefile.am ($(MKDOC)): Don't use $(CFLAGS) when building
9608 with $(CC_FOR_BUILD).
9609 (makedoc.o): Likewise.
9610 * doc/Makefile.in: Rebuild.
9611
9612 * libc/sys/cygwin32/Makefile.am (EXTRA_LIBRARIES): Define, to
9613 force a definition of COMPILE.
9614 (libfoo_a_SOURCES): Define.
9615 * libc/sys/cygwin32/Makefile.in: Rebuild.
9616 * libc/sys/tic80/Makefile.am (EXTRA_LIBRARIES): Define, to
9617 force a definition of COMPILE.
9618 (libfoo_a_SOURCES): Define.
9619 * libc/sys/tic80/Makefile.in: Rebuild.
9620
9621Mon Jul 20 20:49:24 1998 Christopher Faylor <cgf@cygnus.com>
9622
9623 * libc/include/sys/fcntl.h: Add O_NOINHERIT, Win32-specific
9624 flag.
9625
9626Fri Jul 17 16:13:16 1998 Ian Lance Taylor <ian@cygnus.com>
9627
9628 * Build using autoconf and automake. Added many Makefile.am and
9629 configure.in files, plus generated files. Old configure.in files
9630 and all old Makefile.in files completely replaced. Removed
9631 host/any. Added acinclude.m4 and configure.host.
9632
9633Sat Jul 11 18:14:49 1998 Felix Lee <flee@cygnus.com>
9634
9635 * libc/stdio/vfprintf.c: enable long long support, sometimes.
9636 * configure.in (*-*-cygwin32): add -DWANT_PRINTF_LONG_LONG.
9637
9638Tue Jul 7 01:51:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
9639
9640 * libc/machine/sh/strcmp.S, libc/machine/sh/strcpy.S: New files.
9641 * libc/machine/sh/Makefile.in: Add rules for new files.
9642
9643Tue Jul 7 01:40:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
9644
9645 * libc/machine/sh/asm.h (SL, DELAYED_BRANCHES): Define.
9646 * libc/machine/sh/memset.S (memset): Remove uses of dt; shorten code.
9647 * libc/machine/sh/memcpy.S (SL, DELAYED_BRANCHES): Don't define.
9648
9649Thu Jul 2 10:33:16 1998 Nick Clifton <nickc@cygnus.com>
9650
9651 * libc/sys/arm/syscalls.c (_exit): Add comment, noting that exit
9652 code is ignored.
9653
9654Wed Jun 24 13:56:54 1998 Jeff Johnston <jjohnstn@cygnus.com>
9655
9656 * libc/stdio/tmpnam.c (_tmpnam_r): Changed routine to use
9657 internal static buffer when s is NULL, as prescribed by ANSI.
9658
96591998-06-22 Vladimir N. Makarov <vmakarov@cygnus.com>
9660
9661 * libc/sys/h8300hms/Makefile.in (OFILES): malloc.o has been
9662 removed.
9663 * libc/sys/h8300hms/malloc.c: has been removed. Now malloc.c from
9664 libc/stdlib will be used for h8300hms.
9665
9666Thu Jun 18 16:56:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
9667
9668 * libc/machine/mn10300/strlen.S (_strlen): New optimized assembler
9669 version that can be built either for speed or size.
9670 * libc/machine/mn10300/memset.S (_memset): ditto
9671 * libc/machine/mn10300/memchr.S (_memchr): ditto
9672 * libc/machine/mn10300/memcpy.S (_memcpy): ditto
9673 * libc/machine/mn10300/memcmp.S (_memcmp): ditto
9674 * libc/machine/mn10300/strchr.S (_strchr): ditto
9675 * libc/machine/mn10300/strcmp.S (_strcmp): ditto
9676 * libc/machine/mn10300/strcpy.S (_strcpy): ditto
9677 * libc/machine/mn10300/Makefile.in: Added entries for
9678 memchr.o, memcmp.o, memcpy.o, memset.o, strchr.o,
9679 strcmp.o, strcpy.o, and strlen.o.
9680
9681Wed Jun 17 12:50:26 1998 Mark Alexander <marka@cygnus.com>
9682
9683 * configure.in: Don't use libc/sys/sysmec for MN10200; it's
9684 been replaced with libgloss/mn10200.
9685
9686Fri Jun 12 14:34:39 1998 Michael Meissner <meissner@cygnus.com>
9687
9688 * libc/string/strchr.c (strchr): Make s a constant pointer to
9689 avoid warning.
9690
9691Tue Jun 9 16:29:30 1998 Jason Molenda (crash@bugshack.cygnus.com)
9692
9693 * configure.in (target == arm* or thumb*): Define ARM_RDI_MONITOR
9694 instead of ARM_RDP_MONITOR (sys/libc/arm/crt0.S to assume Angel
9695 board SWIs instead of Demon board SWIs).
9696
9697Thu Jun 4 12:16:46 1998 Michael Meissner <meissner@cygnus.com>
9698
9699 * libc/string/strncat.c (strncat): Make -Os act the same as
9700 PREFER_SIZE_OVER_SPEED being defined.
9701
9702Wed Jun 3 17:52:33 1998 Michael Meissner <meissner@cygnus.com>
9703
9704 * libc/string/memchr.c (memchr): Make -Os act the same as
9705 PREFER_SIZE_OVER_SPEED being defined.
9706 * libc/string/memcmp.c (memcmp): Ditto.
9707 * libc/string/memcpy.c (memcpy): Ditto.
9708 * libc/string/memset.c (memset): Ditto.
9709 * libc/string/strcat.c (strcat): Ditto.
9710 * libc/string/strchr.c (strchr): Ditto.
9711 * libc/string/strcmp.c (strcmp): Ditto.
9712 * libc/string/strcpy.c (strcpy): Ditto.
9713 * libc/string/strlen.c (strlen): Ditto.
9714 * libc/string/strncat.c (strncat): Ditto.
9715 * libc/string/strncmp.c (strncmp): Ditto.
9716 * libc/string/strncpy.c (strncpy): Ditto.
9717
9718Mon Jun 1 15:25:07 1998 Geoffrey Noer <noer@cygnus.com>
9719
9720 * libc/include/sys/itimer.h: remove
9721 * libc/include/sys/time.h: itimer stuff should be here
9722
9723Mon Jun 1 16:31:29 1998 Jeff Johnston <jjohnstn@cygnus.com>
9724
9725 * libc/stdio/vfprintf.c (cvt): Changed code to look at sign
9726 bit instead of comparing to 0 so -0.0 can be printed correctly.
9727
9728Sat May 30 09:33:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
9729
9730 * libc/stdlib/mprec.c (b2d): Inilialize d in non-VAX case too.
9731
9732Fri May 29 22:25:10 1998 Geoffrey Noer <noer@cygnus.com>
9733
9734 * libc/include/sys/unistd.h: fix sync() proto
9735 * libc/include/sys/fcntl.h: remove _close which is already
9736 defined in unistd.h.
9737 * libc/include/sys/time.h: add getitimer proto
9738
9739Fri May 29 16:10:28 1998 Geoffrey Noer <noer@cygnus.com>
9740
9741 * libc/string/strchr.c: convert arg to unsigned char
9742 * libc/include/stdlib.h: add protos for random, srandom
9743 * libc/include/sys/stat.h: add lstat proto
9744 * libc/include/sys/time.h: add setitimer proto
9745 * libc/include/sys/unistd.h: add readlink, symlink protos
9746 * libc/include/process.h: instead of including windows.h and using
9747 HANDLEs in sexec protos, just use void *s. Need to include
9748 sys/types.h.
9749
9750Fri May 29 03:04:29 1998 Geoffrey Noer <noer@cygnus.com>
9751
9752 * libc/include/sys/fcntl.h: add _close proto for Cygwin32
9753
9754Thu May 28 16:34:21 1998 Geoffrey Noer <noer@cygnus.com>
9755
9756 * libc/include/process.h: add secure exec protos
9757
9758Wed May 27 13:54:51 1998 Jeffrey A Law (law@cygnus.com)
9759
9760 * libc/stdlib/dtoa.c (_dtoa_r): Use "double_union" for variables
9761 which are accessed as both doubles and integers.
9762 * libc/stdlib/mprec.c (ulp, b2d, ratio): Likewise.
9763 * libc/stdlib/strtod.c (_strtod_r): Likewise.
9764 * libc/stdlib/mprec.h: Add "union double_union" and change
9765 word0/word1 macros to use it.
9766
9767Tue May 26 18:04:21 1998 Geoffrey Noer <noer@cygnus.com>
9768
9769 * libc/include/sys/signal.h: add __cplusplus wrapper
9770
9771Tue May 26 15:10:22 1998 Geoffrey Noer <noer@cygnus.com>
9772
9773 * libc/include/sys/utime.h: new generic file that gets replaced by
9774 libc/sys/SYSDIR/sys/utime.h on systems that support the utime
9775 function.
9776 * sys/cygwin32/sys/utime.h: use _EXFUN in utime proto
9777 * libc/include/time.h: remove duplicate utime proto
9778 * libc/include/utime.h: add comment
9779
9780Sun May 24 23:56:20 1998 Christopher Faylor <cgf@cygnus.com>
9781
9782 * libc/include/sys/time.h: Add missing include to
9783 allow use of _EXFUN. Remove times function that is
9784 already defined in times.h.
9785
9786Sun May 24 01:32:14 1998 Christopher Faylor <cgf@cygnus.com>
9787
9788 * libc/include/time.h: Fix typo in tzset.
9789
9790Fri May 22 17:00:48 1998 Geoffrey Noer <noer@cygnus.com>
9791
9792 * libc/include/sys/time.h: add missing Cygwin32 function protos
9793 * libc/include/sys/unistd.h: ditto
9794 * libc/include/time.h: ditto
9795
9796Wed May 20 20:35:11 1998 Geoffrey Noer <noer@cygnus.com>
9797
9798 * libc/sys/cygwin32/sys/param.h: add protected NULL def, remove
9799 FIXME.
9800 * libc/include/sys/types.h: add a new __MS_types__ section
9801 to define vm_offset_t, vm_size_t, int32_t et al, register_t,
9802 __BIT_TYPES_DEFINED__.
9803
9804Wed May 20 18:49:21 1998 Geoffrey Noer <noer@cygnus.com>
9805
9806 * libc/sys/cygwin32/sys/param.h: move here from winsup/include/sys
9807 since it overrides the one in libc/include/sys. Also, start
9808 including types.h.
9809
9810Wed May 20 14:45:40 1998 Geoffrey Noer <noer@cygnus.com>
9811
9812 * libm/math/Makefile.in: add s_signgam.o to obj list
9813
9814Tue May 19 11:57:11 1998 Jeff Johnston <jjohnstn@cygnus.com>
9815
9816 * libc/include/sys/reent.h (_REENT_INIT): Initialize current locale to "C".
9817
9818Mon May 18 22:36:12 1998 Christopher Faylor <cgf@cygnus.com>
9819
9820 * libc/include/sys/signal.h: cygwin32 exports sig{empty,add}set,
9821 so don't use defines.
9822
9823Mon May 18 19:01:02 1998 Michael Meissner <meissner@cygnus.com>
9824
9825 * libc/sys/d10v/crt0.S: Use correct stab for 16-bit ints.
9826
9827Sun May 17 18:40:32 1998 Frank Ch. Eigler <fche@cygnus.com>
9828
9829 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Accept a NULL
9830 _current_locale as default locale.
9831
9832Sat May 16 21:59:59 1998 Bob Manson <manson@charmed.cygnus.com>
9833
9834 * libc/stdlib/mallocr.c (mALLOc): Add explicit tests for
9835 insufficient space in a chunk.
9836
9837Tue May 12 14:41:01 1998 Jeff Johnston <jjohnstn@cygnus.com>
9838
9839 * configure.in (links): Added check for --enable-newlib-mb configure
9840 option which defines the MB_CAPABLE macro.
9841 * libc/locale/locale.c (_setlocale_r): Added support for setting
9842 LC_CTYPE to "C-JIS", "C-SJIS" or "C-EUCJP", when MB_CAPABLE is
9843 defined.
9844 * libc/stdlib/mbtowc_r.c (_mbtowc_r): New function _mbtowc_r that
9845 implements mbtowc() with multibyte support for JIS, SJIS, and EUC-JP.
9846 * libc/stdlib/wctomb_r.c (_wctomb_r): New function _wctomb_r that
9847 implements wctomb() with multibyte support for JIS, SJIS, and EUC-JP.
9848 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): New function _mbstowcs_r that
9849 implements mbstowcs() with multibyte support for JIS, SJIS, and EUC-JP.
9850 * libc/stdlib/wcstombs_r.c (_wcstombs_r): New function _wcstomb_r that implements
9851 wcstombs() with multibyte support for JIS, SJIS, and EUC-JP.
9852 * libc/stdlib/Makefile.in: Added new multibyte
9853 routines: _mbtowc_r(), _wctomb_r(), _mbstowcs_r(), and _wcstombs_r().
9854 * libc/include/stdlib.h: Added declarations of _mbtowc_r(), _wctomb_r(),
9855 _mbstowcs_r(), and _wcstombs_r().
9856 * libc/stdlib/mbctype.h: New internal header file that contains macros to test
9857 for JIS, SJIS, and EUC-JP characters.
9858 * libc/stdlib/mblen.c (mblen): Added code to call _mbtowc_r() if
9859 MB_CAPABLE defined.
9860 * libc/stdlib/mbtowc.c (mbtowc): Added code to call _mbtowc_r() if
9861 MB_CAPABLE defined.
9862 * libc/stdlib/wctomb.c (wctomb): Added code to call _wctomb_r() if
9863 MB_CAPABLE defined.
9864 * libc/stdlib/mbstowcs.c (mbstowcs): Added code to call _mbstowcs_r()
9865 if MB_CAPABLE defined.
9866 * libc/stdlib/wcstombs.c (wcstombs): Added code to call _wcstombs_r()
9867 if MB_CAPABLE defined.
9868 * libc/stdio/vfscanf.c (__svfscanf): Added multibyte tolerance
9869 to the format string processing when MB_CAPABLE.
9870 * libc/stdio/vfprintf.c (_VFPRINTF_R): Changed mbtowc() call to
9871 call _mbtowc_r().
9872
9873Tue May 5 16:07:23 1998 Nick Clifton <nickc@cygnus.com>
9874
9875 The following modifications are courtesy of Anthony Thompson,
9876 athompson@cambridge.arm.com:
9877 * libc/sys/arm/syscalls.c: Initialise and track stdin/out/err for
9878 boith RDI and RDP monitors.
9879 * libc/sys/arm/crt0.S: Call initialise_monitor_handles() for both
9880 RDI and RDP monitors.
9881
9882Wed Apr 29 15:22:15 1998 Jeff Johnston <jjohnstn@cygnus.com>
9883
9884 * configure.in (links): Added -DHAVE_GETTIMEOFDAY for arm and thumb.
9885 * libc/sys/arm/syscalls.c (_gettimeofday _times): Added functions.
9886 (_swiopen): Fixed open flags to treat write with append as just append.
9887 (_swilseek): Fixed lseek support to properly handle offsets from SEEK_END.
9888 * libc/sys/arm/sys/param.h: New file to override param.h for ARM.
9889
9890Fri Apr 24 18:00:09 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
9891
9892 * libc/machine/sh/memcpy.S (L_odddst, big endian version):
9893 When needing to transfer an initial 2-byte-word, store as
9894 two single bytes.
9895
9896Wed Apr 22 17:56:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
9897
9898 * libc/sys/sh/crt0.S (start): Handle __SH4_SINGLE_ONLY__ like
9899 __SH3E__ .
9900 * libc/machine/sh/memcpy.S (DELAYED_BRANCHES, SL): Likewise.
9901 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Likewise.
9902
9903Wed Apr 22 12:28:03 1998 Michael Meissner <meissner@cygnus.com>
9904
9905 * configure.in (target_cflags): If --enable-target-optspace, use
9906 -Os to compile newlib rather than -O2. Default to using -Os for
9907 d10v, d30v and m32r if --{enable,disable}-target-optspace is not
9908 used.
9909
9910Tue Apr 21 23:13:34 1998 Geoffrey Noer <noer@cygnus.com>
9911
9912 * libc/include/machine/setjmp.h: change sigsetjmp and
9913 siglongjmp definitions to use an array instead of a struct
9914 for __CYGWIN32__
9915
9916Tue Apr 14 11:47:47 1998 Doug Evans <devans@canuck.cygnus.com>
9917
9918 * libc/reent/impure.c (__ATTRIBUTE_IMPURE_DATA__): Fix spelling.
9919
9920Mon Apr 6 15:05:08 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
9921
9922 * libc/string/strxfrm.c: fix to get correct return value
9923
9924Wed Apr 1 16:09:05 1998 Nick Clifton <nickc@cygnus.com>
9925
9926 * libc/sys/arm/crt0.S: Set top of RAM to be 0x800000 for PE
9927 builds. Make mode change labels global so that they will be seen
9928 by the debugger.
9929
9930Wed Mar 18 09:45:10 1998 Nick Clifton <nickc@cygnus.com>
9931
9932 * configure.in (links): Do not use ARM debiugging protocols for PE
9933 builds.
9934
9935 * libc/sys/arm/syscalls.c (_sbrk): Add "_sbrk: " to error
9936 message.
9937
9938Fri Mar 13 11:24:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
9939
9940 * libc/stdio/findfp.c (__sinit): Made stdout default to
9941 line buffered mode as defined by ANSI.
9942
9943Tue Mar 10 11:41:26 1997 Bob Manson <manson@charmed.cygnus.com>
9944
9945 * libc/include/sys/itimer.h: New file.
9946
9947 * libc/signal/signal.c (__sigtramp_r,__sigtramp): New functions.
9948
9949Mon Mar 9 14:19:26 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
9950
9951 * libc/machine/sh/memcpy.S: (_memcpy): Fix for execute/memcpy-1.c
9952 failure.
9953
9954Fri Feb 27 13:56:10 1998 Michael Meissner <meissner@cygnus.com>
9955
9956 * libc/machine/d30v/setjmp.S (longjmp): Fix order of parallel
9957 insns.
9958
9959Wed Feb 25 09:29:54 1998 Nick Clifton <nickc@cygnus.com>
9960
9961 * libc/sys/arm/syscalls.c (_open): Add varags to conform to prototype.
9962
9963Tue Feb 24 18:00:13 1998 Michael Meissner <meissner@cygnus.com>
9964
9965 * libc/machine/d30v/{setjmp.S,Makefile.in}: New files for D30V
9966 support.
9967
9968 * libc/include/machine/setjmp.h: Add D30V support.
9969
9970 * configure.in (d30v-*): Add d30v machine directory.
9971
9972Mon Feb 23 09:32:58 1998 Mark Alexander <marka@cygnus.com>
9973
9974 * configure.in: Don't use libc/sys/sysmec for MN10300; it's
9975 been replaced with libgloss/mn10300.
9976
9977Sat Feb 21 17:44:43 1998 Geoffrey Noer <noer@cygnus.com>
9978
9979 * libc/stdlib/mallocr.c: remove __malloc_copy routine now that
9980 it is no longer needed.
9981
9982Thu Feb 19 16:15:10 1998 Geoffrey Noer <noer@cygnus.com>
9983
9984 * libc/include/sys/signal.h: add sigpause proto for Cygwin32
9985
9986Wed Feb 18 23:51:08 1998 Geoffrey Noer <noer@cygnus.com>
9987
9988 * libc/stdio/fdopen.c (fdopen): Make all writes go to the end of
9989 the file when O_APPEND is set, wherever the EOF happens to be at
9990 that time.
9991
9992Wed Feb 18 23:25:02 1998 Geoffrey Noer <noer@cygnus.com>
9993
9994 patch from cgf@bbc.com (Christopher Faylor):
9995 * libc/stdio/freopen.c (freopen): Conform to standard UNIX
9996 convention of closing fp prior to attempting to open the file
9997 argument. This allows correct operation when reopening
9998 stdin/stdout/stderr. Replaces last freopen.c patch.
9999
10000Wed Feb 18 16:27:40 1998 Geoffrey Noer <noer@cygnus.com>
10001
10002 patch from cgf@bbc.com (Christopher Faylor):
10003 * libc/stdio/freopen.c: freopen was not preserving the fd
10004 of the stream being operated on. This confuses programs that
10005 expect that the handles for stdout and stderr will be 1 and 2.
10006
10007Mon Feb 16 23:34:07 1998 Andrew Cagney <cagney@b1.cygnus.com>
10008
10009 * libc/sys/d10v/crt0.S (_start): Set PSW{SW} - select SPU.
10010
10011Thu Feb 12 15:09:20 1998 Ranjith Kumaran <ranjith@cygnus.com>
10012
10013 * libc/sys/go32/longjmp.S: Fix longjmp to not return 0.
10014
10015Wed Feb 11 17:50:45 1998 Jeff Johnston <jjohnstn@cygnus.com>
10016
10017 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Alignment code
10018 altered to not use a branch. Also added hint that last
10019 bclr in longjmp will likely result in branch.
10020
10021
10022Mon Feb 9 03:44:02 1998 Geoffrey Noer <noer@cygnus.com>
10023
10024 * libc/sys/cygwin32/crt0.c: add missing args to main() extern
10025
10026Fri Feb 6 16:32:32 1998 Nick Clifton <nickc@cygnus.com>
10027
10028 * libc/sys/sysnecv850/crt0.S (_start): Initialise _ctbp even for
10029 v850 builds.
10030
10031 * configure.in: Add -msmall-sld to target_cflags for v850 builds.
10032
10033Wed Feb 4 16:56:20 1998 Jeff Johnston <jjohnstn@cygnus.com>
10034
10035 * libc/machine/powerpc/setjmp.S (longjmp): Fixed code
10036 that loads FR14 to specify offset of 8 rather than 4
10037 so it loads from offset 96 (where setjmp stored it).
10038
10039Tue Feb 3 18:08:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
10040
10041 * libc/machine/sh/memcpy.S: (_memcpy): Update to
10042 latest version supplied by customer.
10043 * libc/machine/sh/memset.S (_memset): Ditto.
10044
10045Mon Feb 2 16:20:39 1998 Nick Clifton <nickc@cygnus.com>
10046
10047 * libc/sys/sysnecv850/Makefile.in (OFILES): Add link.o (for
10048 PR14730).
10049
10050Mon Feb 2 15:13:26 1998 Geoffrey Noer <noer@cygnus.com>
10051
10052 * libc/include/string.h: remove redefinition of ffs
10053
10054Wed Jan 28 13:30:14 1998 Geoffrey Noer <noer@cygnus.com>
10055
10056 * libc/include/sys/signal.h: include _ansi.h so _EXFUN is
10057 defined
10058
10059Wed Jan 28 10:38:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
10060
10061 * libc/machine/tic80/setjmp.S: Adding _setjmp to allow
10062 TI Libraries to link to libc.a
10063
10064Sat Jan 24 10:15:56 1998 Michael Meissner <meissner@cygnus.com>
10065
10066 * libc/include/sys/fcntl.h (_open,_fcntl): Add prototypes.
10067 * libc/include/sys/stat.h (_{,f}stat): Ditto.
10068 * libc/include/sys/wait.h (_wait): Ditto.
10069 * libc/include/sys/unistd.h (_close,_fork,_getpid): Ditto.
10070 (_link,_lseek,_read,_sbrk,_unlink,_write): Ditto.
10071
10072Fri Jan 23 11:32:10 1998 Michael Meissner <meissner@cygnus.com>
10073
10074 * libc/machine/d10v/setjmp.S: Change to new ABI. Add simple
10075 minded stabs so function name shows up when running the simulator
10076 with -t.
10077 * libc/sys/d10v/{crt0,trap}.S: Ditto.
10078
10079Thu Jan 22 15:57:14 1998 Fred Fish <fnf@cygnus.com>
10080
10081 * libc/sys/d10v/trap.S: Change syscalls to use trap 15.
10082 * libc/sys/d10v/crt0.S: Use R6 where we used to use R2.
10083 Use R5 where we used to use R3.
10084
10085Wed Jan 21 14:22:23 1998 Bill Moyer <billm@cygnus.com>
10086
10087 * libc/stdlib/getopt.c (getopt): replaced __progname
10088 with nargv[0] to improve portability to imbedded systems.
10089
10090Thu Jan 15 12:32:38 1998 Nick Clifton <nickc@cygnus.com>
10091
10092 * libc/sys/arm/syscalls.c (initialise_angel_handles): Applied
10093 patch supplied by Tont.Thompson@arm.com to fix the creation of the
10094 stdout file.
10095
10096Wed Jan 14 13:00:19 1998 Ian Lance Taylor <ian@cygnus.com>
10097
10098 * libc/stdio/tmpnam.c (worker): Generate a different file name
10099 each time.
10100
10101 * libc/posix/popen.c (popen): If __CYGWIN32__, and execing /bin/sh
10102 fails, try an execlp for sh.
10103
10104 * host/any (INCLUDES): If target_os is cygwin32, then add a -I
10105 option for the winsup include directory.
10106
10107Wed Jan 7 17:02:58 1998 Nick Clifton <nickc@cygnus.com>
10108
10109 * libc/sys/arm/syscalls.c: Applied patches for Angel based remote
10110 debugging interface from Tony.Thompson@arm.com.
10111
10112 * libc/sys/arm/crt0.S (_mainCRTStartup): ditto.
10113 * libc/sys/arm/swi.h: ditto.
10114
10115Tue Jan 6 14:15:10 1998 Geoffrey Noer <noer@cygnus.com>
10116
10117 * libc/sys/cygwin32/sys/dirent.h: add __d_dirhash field to
10118 DIR struct used for readdir hashes.
10119
10120Thu Jan 1 11:22:22 1998 Jeffrey A Law (law@cygnus.com)
10121
10122 * libc/string/strchr.c: Use "unsigned chars" as necessary.
10123
10124Wed Dec 31 04:25:30 1997 Jeffrey A Law (law@cygnus.com)
10125
10126 * libc/stdlib/mallocr.c (idx2binblock): Don't lose on 16bit
10127 integer targets.
10128
10129Sat Dec 13 15:11:06 1997 Ian Lance Taylor <ian@cygnus.com>
10130
10131 * libc/stdlib/mallocr.c (__malloc_copy): New function, compiled if
10132 INTERNAL_NEWLIB and __CYGWIN32__ and DEFINE_MALLOC.
10133 * libc/include/malloc.h: Add extern "C" if __cplusplus.
10134 (__malloc_copy): Declare.
10135
10136Wed Dec 10 12:15:54 1997 Ian Lance Taylor <ian@cygnus.com>
10137
10138 * libc/stdlib/mallocr.c: If INTERNAL_NEWLIB, include
10139 <sys/config.h>.
10140 (POINTER_UINT): Define.
10141 (DEFAULT_TRIM_THRESHOLD): Mark constants as long.
10142 (MALLOC_ALIGNMENT): Don't define if already defined.
10143 (malloc_extend_top): Cast pointers to POINTER_UINT, not unsigned
10144 long.
10145
10146Tue Dec 9 19:23:42 1997 Michael Meissner <meissner@cygnus.com>
10147
10148 * libc/string/memset.c (memset): Fiddle with code so that the long
10149 value being stored is not a stack value. Unroll storing longs 4
10150 times.
10151
10152Tue Dec 9 14:13:18 1997 Jeff Johnston <jjohnstn@cygnus.com>
10153
10154 * Reduce code size for libm modules.
10155 * libm/math/w_sqrt.c (sqrt): Remove call to kernel_standard
10156 and simply move code into sqrt.
10157 * libm/math/wrf_lgamma.c (lgammaf_r): Likewise.
10158 * libm/math/wr_lgamma.c (lgamma_r): Likewise.
10159 * libm/math/wrf_gamma.c (gammaf_r): Likewise.
10160 * libm/math/wr_gamma.c (gamma_r): Likewise.
10161 * libm/math/wf_sinh.c (sinfh): Likewise.
10162 * libm/math/w_sinh.c (sinh): Likewise.
10163 * libm/math/wf_scalb.c (scalbf): Likewise.
10164 * libm/math/w_scalb.c (scalb): Likewise.
10165 * libm/math/wf_remainder.c (remainderf): Likewise.
10166 * libm/math/w_remainder.c (remainder): Likewise.
10167 * libm/math/wf_pow.c (powf): Likewise.
10168 * libm/math/w_pow.c (pow): Likewise.
10169 * libm/math/wf_log10.c (log10f): Likewise.
10170 * libm/math/w_log10.c (log10): Likewise.
10171 * libm/math/wf_log.c (logf): Likewise.
10172 * libm/math/w_log.c (log): Likewise.
10173 * libm/math/w_lgamma.c (lgamma): Likewise.
10174 * libm/math/wf_lgamma.c (lgammaf): Likewise.
10175 * libm/math/wf_jn.c (jnf): Likewise.
10176 * libm/math/w_jn.c (jn): Likewise.
10177 * libm/math/wf_j1.c (j1f): Likewise.
10178 * libm/math/w_j1.c (j1): Likewise.
10179 * libm/math/wf_j0.c (j0f): Likewise.
10180 * libm/math/w_j0.c (j0): Likewise.
10181 * libm/math/wf_hypot.c (hypotf): Likewise.
10182 * libm/math/w_hypot.c (hypot): Likewise.
10183 * libm/math/wf_gamma.c (gammaf): Likewise.
10184 * libm/math/w_gamma.c (gamma): Likewise.
10185 * libm/math/wf_fmod.c (fmodf): Likewise.
10186 * libm/math/w_fmod.c (fmod): Likewise.
10187 * libm/math/wf_exp.c (expf): Likewise.
10188 * libm/math/w_exp.c (exp): Likewise.
10189 * libm/math/wf_cosh.c (coshf): Likewise.
10190 * libm/math/w_cosh.c (cosh): Likewise.
10191 * libm/math/wf_atanh.c (atanhf): Likewise.
10192 * libm/math/w_atanh.c (atanh): Likewise.
10193 * libm/math/wf_atan2.c (atan2f): Likewise.
10194 * libm/math/w_atan2.c (atan2): Likewise.
10195 * libm/math/wf_asin.c (asinf): Likewise.
10196 * libm/math/w_asin.c (asin): Likewise.
10197 * libm/math/wf_acosh.c (acoshf): Likewise.
10198 * libm/math/w_acosh.c (acosh): Likewise.
10199 * libm/math/wf_acos.c (asocf): Likewise.
10200 * libm/math/w_acos.c (acos): Likewise.
10201 * libm/math/wf_sqrt.c (sqrtf): Likewise.
10202 * libm/math/k_standard.c (_k_standard): Don't require SVID behavior
10203 for embedded systems.
10204
10205Mon Dec 8 12:12:58 1997 Ian Lance Taylor <ian@cygnus.com>
10206
10207 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from Doug
10208 Lea in case of a foreign sbrk.
10209
10210Fri Dec 5 23:27:28 1997 Ian Lance Taylor <ian@cygnus.com>
10211
10212 Incorporate Doug Lea's malloc:
10213 * libc/stdlib/mallocr.c: Completely replaced.
10214 * libc/stdlib/malloc.c: Document malloc_usable_size and memalign.
10215 (realloc): Remove.
10216 * libc/stdlib/calloc.c (calloc): Just call _calloc_r.
10217 * libc/stdlib/mstats.c: Document mallinfo, malloc_stats, and
10218 mallopt.
10219 (mallinfo, malloc_stats, mallopt): New functions.
10220 (_mstats_r): Just call _malloc_stats_r.
10221 * libc/stdlib/malign.c: New file.
10222 * libc/stdlib/mlock.c: New file.
10223 * libc/stdlib/msize.c: New file.
10224 * libc/stdlib/mtrim.c: New file.
10225 * libc/stdlib/realloc.c: New file.
10226 * libc/stdlib/valloc.c: New file.
10227 * libc/stdlib/malloc.h: Remove.
10228 * libc/stdlib/callocr.c: Remove.
10229 * libc/stdlib/Makefile.in (OFILES): Add cfreer.o, freer.o,
10230 malign.o, malignr.o, mallinfor.o, malloptr.o, mallstatsr.o,
10231 mlock.o, msize.o, msizer.o, mtrim.o, pvallocr.o, realloc.o,
10232 reallocr.o, valloc.o, vallocr.o.
10233 (CHEWOUT_FILES): Add mlock.def, mstats.def.
10234 (MALLOC_CFLAGS): New variable.
10235 (mallocr.o): New target, build from mallocr.c.
10236 (freer.o, reallocr.o, callocr.o, cfreer.o, malignr.o): Likewise.
10237 (vallocr.o, pvallocr.o, mallinfor.o, mallstatsr.o): Likewise.
10238 (msizer.o, malloptr.o): Likewise.
10239 (malign.o, mlock.o, msize.o, mtrim.o, realloc.o): New targets.
10240 (valloc.o): New target.
10241 * libc/stdlib/stdlib.tex: Include mlock.def and mstats.def.
10242 * libc/include/malloc.h: Declare struct mallinfo, and new
10243 routines.
10244 * libc/include/stdlib.h (cfree): Correct declaration.
10245
10246Tue Dec 2 10:12:16 1997 Nick Clifton <nickc@cygnus.com>
10247
10248 * libc/include/machine/setjmp.h: Add support for Thumb target.
10249
10250 * libc/include/machine/ieeefp.h: Add support for Thumb target.
10251
10252 * configure.in (links): Add support for Thumb target.
10253
10254Wed Nov 26 09:56:17 1997 Nick Clifton <nickc@cygnus.com>
10255
10256 * libc/sys/arm/setjmp.S: Updated with version from branch.
10257
10258Thu Nov 20 01:21:43 1997 Geoffrey Noer <noer@cygnus.com>
10259
10260 * libc/include/stdio.h: add POSIX-required define L_ctermid
10261 for ctermid
10262
10263Wed Nov 19 16:11:40 1997 Michael Meissner <meissner@cygnus.com>
10264
10265 * configure.in (d30v-*-*): Define ABORT_MESSAGE, SMALL_MEMORY, in
10266 addition to MISSING_SYSCALL_NAMES.
10267
10268Mon Nov 17 20:05:05 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
10269
10270 * libc/include/sys/config.h: (UINT_MAX, for D10V): Make unsigned.
10271
10272Mon Nov 10 22:26:55 1997 Geoffrey Noer <noer@cygnus.com>
10273
10274 * libc/include/string.h: change strsignal proto to return
10275 a char *. This eliminates compile problems in gdb resulting
10276 from gdb's definition of strsignal in defs.h.
10277
10278Mon Nov 10 17:11:08 1997 Geoffrey Noer <noer@cygnus.com>
10279
10280 * libc/sys/cygwin32/sys/utime.h: new (moved here from
10281 winsup/include) so as not to conflict with the one in
10282 libc/include.
10283 * libc/include/string.h: add protos for strsignal, strtosigno
10284
10285Mon Nov 10 13:49:54 1997 Michael Meissner <meissner@cygnus.com>
10286
10287 * libc/include/sys/config.h: Define __IEEE_BIG_ENDIAN if d30v.
10288
10289 * configure.in (d30v-*-*): Add configuration.
10290
10291Thu Oct 30 14:01:23 1997 Nick Clifton <nickc@cygnus.com>
10292
10293 * configure.in (links): Add -DARM_RD[P|I]_MONITOR to target_cflags
10294 to select which kind of debug monitor is in use for an ARM target.
10295
10296 * libc/sys/arm/crt0.S: New version: Supports Thumb startups and
10297 Angel and Demon debug monitors. Part of this code was supplied by
10298 Tony Thompson at ARM: athompso@arm.com.
10299
10300Fri Oct 24 18:57:05 1997 Jeffrey A Law (law@cygnus.com)
10301
10302 * strncat.c (strncat): Don't call strncpy; strncay has the wrong
10303 semantics when the count is greater than the length of the second
10304 source string.
10305
10306Thu Oct 23 01:37:41 1997 Geoffrey Noer <noer@cygnus.com>
10307
10308 * libc/include/sys/signal.h: reorder CYGWIN32 signal numbers
10309 * libc/include/sys/unistd.h: add protos for usleep, truncate,
10310 truncate and ftruncate take off_t, not size_t
10311
10312Tue Oct 21 18:42:00 1997 Jim Wilson <wilson@cygnus.com>
10313
10314 * libc/string/strcat.c (strcat): Add missing comment end.
10315 * libc/string/strncat.c (strncat): Likewise.
10316
10317Tue Oct 21 17:23:34 1997 Nick Clifton <nickc@cygnus.com>
10318
10319 * configure.in (links): Define PREFER_SIZE_OVER_SPEED for v850
10320 targets.
10321 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Add space
10322 optimised version which is selected if PREFER_SIZE_OVER_SPEED is
10323 defined.
10324 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
10325 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
10326 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
10327
10328Mon Oct 13 15:12:35 1997 Ian Lance Taylor <ian@cygnus.com>
10329
10330 * libc/include/sys/param.h (BIG_ENDIAN): Define if __i386__.
10331 (LITTLE_ENDIAN, BYTE_ORDER): Likewise.
10332
10333Thu Oct 9 13:54:44 1997 Doug Evans <dje@canuck.cygnus.com>
10334
10335 * libc/machine/i386/setjmp.S: New file.
10336 * libc/machine/i386/Makefile.in: Delete COPYOFILES.
10337 (OFILES): Add setjmp.o.
10338 (setjmp.o): Add rule for.
10339 * configure.in: Don't set machine_dir for *-*-{go32,sco*,cygwin32}.
10340
10341Tue Oct 7 14:01:29 1997 Bill Moyer (billm@cygnus.com)
10342 Jeffrey A Law (law@cygnus.com)
10343
10344 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Reimplement to run faster.
10345 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
10346 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
10347 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
10348
10349Mon Oct 6 14:07:59 1997 Nick Clifton <nickc@cygnus.com>
10350
10351 * libc/sys/sysnecv850/Makefile.in (crt0.o trap.o): Explicit
10352 rules.
10353
10354 * libc/include/sys/config.h: Use __v850 to select v850
10355 endianness.
10356
10357 * libc/include/machine/setjmp.h: Use __v850 to select v850 jump
10358 buffer size.
10359
10360 * libc/include/machine/ieeefp.h: Use __v850 to select v850
10361 endianness.
10362
10363Thu Sep 25 14:11:37 1997 Geoffrey Noer <noer@cygnus.com>
10364
10365 * libc/stdlib/setenv.c: change unsetenv definition to match
10366 style of setenv (with _DEFUN). The string should be a const.
10367 * libc/include/stdlib.h: unsetenv proto should return void.
10368
10369Tue Sep 23 18:17:20 1997 Geoffrey Noer <noer@cygnus.com>
10370
10371 * libc/include/stdlib.h: define unsetenv proto for __CYGWIN32__
10372
10373Thu Sep 18 12:50:15 1997 Angela Marie Thomas (angela@cygnus.com)
10374
10375 * libc/stdio/glue.h: remove.
10376 * libc/stdio/findfp.c, libc/stdio/fwalk.c: remove #include "glue.h"
10377 * libc/stdio/Makefile.in: remove glue.h dependencies
10378
10379Wed Sep 17 17:42:27 1997 Nick Clifton <nickc@cygnus.com>
10380
10381 * libc/sys/sysnecv850/crt0.S: Created V850e version.
10382
10383Tue Sep 9 10:40:57 1997 Doug Evans <dje@canuck.cygnus.com>
10384
10385 * configure.in (target_cpu): Add `arc'.
10386
10387Tue Sep 9 10:40:42 1997 Joel Sherrill <joel@OARcorp.com>
10388
10389 * newlib/configure.in (*-*-rtems*): Add -DSIGNAL_PROVIDED and
10390 -DREENTRANT_SYSCALLS_PROVIDED to the target_cflags.
10391 * newlib/libc/include/sys/errno.h: Add ENOTSUP.
10392 * newlib/libc/reent/reent.c: Add _wrapup_reent.
10393 * newlib/libc/sys/rtems/sys/types.h: Avoid redefinitions for go32.
10394
10395Sun Sep 7 16:41:41 1997 Gavin Koch <gavin@cygnus.com>
10396
10397 * libc/machine/mips/setjmp.S: Handle mips16 builds.
10398
10399Thu Aug 21 20:05:38 1997 Ian Lance Taylor <ian@cygnus.com>
10400
10401 * libc/include/stdio.h (siprintf): Declare.
10402
10403Mon Aug 18 11:19:13 1997 Nick Clifton <nickc@cygnus.com>
10404
10405 * libc/sys/sysnecv850/Makefile.in (.c.o): Add rule that includes
10406 TARGET_CFLAGS and NEWLIB_FLAGS.
10407
10408Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
10409
10410 * configure.in (links): Add support for v850ea target.
10411
10412Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
10413
10414 * configure.in (links): Add support for v850e target.
10415
10416Wed Aug 13 19:16:54 1997 Nick Clifton <nickc@cygnus.com>
10417
10418 * libc/sys/sysnecv850/crt0.S: Remove initial setting of r0 to 0.
10419
10420Mon Aug 11 15:49:54 1997 Doug Evans <dje@canuck.cygnus.com>
10421
10422 * configure.in (arc-*-*): Add support for.
10423 * libc/include/machine/ieeefp.h (__arc__): Add support for the ARC.
10424
10425Fri Jul 25 17:37:41 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
10426
10427 * libc/sys/sh/crt0.S (start): Add fpscr initialization for SH4.
10428
10429Thu Jul 24 18:32:17 1997 Geoffrey Noer <noer@cygnus.com>
10430
10431 * libc/stdlib/bsearch.c (bsearch): remove last unneeded
10432 comparison which accesses invalid memory when the key is
10433 larger than the last member of the array.
10434 * libc/include/machine/setjmp.h: add sigsetjmp, siglongjmp
10435 for CYGWIN32
10436 * libc/include/sys/unistd.h: add _POSIX defines for CYGWIN32
10437
10438Tue Jul 22 16:03:06 1997 Ian Lance Taylor <ian@cygnus.com>
10439
10440 * libc/include/stdlib.h (realpath): Declare if __CYGWIN32__ and
10441 not _STRICT_ANSI.
10442
10443Thu Jul 10 15:11:52 1997 Doug Evans <dje@canuck.cygnus.com>
10444
10445 * libm/math/k_standard.c (__kernel_standard): Call fflush(stdout)
10446 ifndef _USE_WRITE, instead of ifdef _USE_WRITE.
10447
10448Thu Jul 10 16:00:09 1997 Mike Meissner <meissner@cygnus.com>
10449
10450 * libc/machine/tic80/setjmp.S (setjmp,longjmp): Use ld.d and st.d
10451 to load/store memory.
10452
10453Mon Jul 7 17:38:17 1997 Ian Lance Taylor <ian@cygnus.com>
10454
10455 * libc/include/sys/fcntl.h: Define _O_* symbols with leading
10456 underscores if _WIN32.
10457
10458Wed Jul 2 10:07:20 1997 Doug Evans <dje@canuck.cygnus.com>
10459
10460 * libm/math/k_standard.c (__kernel_standard): Delete reentrancy
10461 support ifdef _USE_WRITE missed in last change.
10462 From Anders Blomdell <anders.blomdell@control.lth.se>.
10463
10464Wed Jun 25 10:18:49 1997 Doug Evans <dje@canuck.cygnus.com>
10465
10466 * libc/stdio/tmpnam.c (worker): Handle _open_r being stubbed out.
10467 (_tmpnam_r, _tempnam_r): Update.
10468
10469Wed Jun 25 00:16:55 1997 Mark Alexander <marka@cygnus.com>
10470
10471 * libc/machine/sparc/setjmp.S: New file.
10472 * libc/machine/sparc/Makefile.in: Add setjmp.
10473 * libc/include/machine/setjmp.h: Increase jmpbuf size for sparc.
10474
10475Tue Jun 24 23:27:38 1997 Mark Alexander <marka@cygnus.com>
10476
10477 * libc/include/machine/setjmp.h: Use __TIC80__ instead of __tic80__.
10478
10479Tue Jun 24 14:53:40 1997 Doug Evans <dje@canuck.cygnus.com>
10480
10481 From Joel Sherrill <joel@oarcorp.com>.
10482 * libc/stdlib/getenv.c (_findenv): Avoid dereferencing null `environ'.
10483
10484 Add rtems support. From Joel Sherrill <joel@oarcorp.com>.
10485 * configure.in: Recognize *-*-rtems*.
10486 * libc/sys/rtems/{Makefile.in,crt0.c,dummysys.c}: New files.
10487 * libc/sys/rtems/sys/{features.h,sched.h,siginfo.h,signal.h,
10488 time.h,times.h,types.h}: New files.
10489 * libc/sys/rtems/include/{limits.h,signal.h,time.h}. New files.
10490
10491Fri Jun 20 11:13:16 1997 Geoffrey Noer <noer@cygnus.com>
10492
10493 patch from sos@prospect.com.ru (Sergey Okhapkin):
10494 * include/sys/wait.h: correct operator precidence bug
10495 in WIFSIGNALED
10496
10497Wed Jun 18 22:08:27 1997 Geoffrey Noer <noer@cygnus.com>
10498
10499 * libc/include/stdlib.h: remove unsetenv proto since it conflicts
10500 with newlib's unsetenv function
10501 * libc/sys/cygwin32/sys: new directory for includes
10502 * libc/sys/cygwin32/sys/dirent.h: move cygwin32's dirent.h
10503 here from winsup/include/sys
10504
10505Mon Jun 16 21:02:22 1997 Geoffrey Noer <noer@cygnus.com>
10506
10507 * libc/include/sys/unistd.h: _exit should only be
10508 labelled noreturn when not __CYGWIN32__
10509 * libc/include/stdlib.h: for __CYGWIN32__, add proto for unsetenv
10510 * libc/include/sys/signal.h: add SIGIO to _WIN32 list and
10511 increment NSIG
10512
10513Thu Jun 12 18:52:41 1997 Ian Lance Taylor <ian@cygnus.com>
10514
10515 * libc/include/sys/time.h: Only define timeval and timezone if
10516 _GNU_H_WINDOWS32_SOCKETS is not defined.
10517 * libc/include/sys/stat.h: If _WIN32, define _S_IFMT, etc.
10518
10519Wed Jun 11 09:46:26 1997 Jeffrey A Law (law@cygnus.com)
10520
10521 * libc/machine/mn10200/setjmp.S: Implement setjmp/longjmp
10522 * libc/machine/mn10300/setjmp.S: Likewise.
10523
10524 * libc/sys/sysmec/crt0.S: Use "call" instead of "calls" for
10525 the mn10300 (more relaxing opportunities).
10526
10527Tue Jun 10 17:24:45 1997 Mike Meissner <meissner@cygnus.com>
10528
10529 * configure.in (powerpc*-*-{eabi,elf,linux,rtems,sysv,solaris}):
10530 Build libraries with -mstrict-align.
10531
10532Fri Jun 6 14:07:59 1997 Ian Lance Taylor <ian@cygnus.com>
10533
10534 * libc/string/strlwr.c: New file.
10535 * libc/string/strupr.c: New file.
10536 * libc/include/string.h: Declare strlwr and strupr.
10537 * libc/string/Makefile.in (OFILES): Add strlwr.o and strupr.o.
10538 (CHEWOUT_FILES): Add strlwr.def and strupr.def.
10539 (strlwr.o, strupr.o): New targets.
10540 * libc/string/strings.tex: Include strlwr and strupr docs.
10541
10542 * libc/include/sys/types.h: Don't define u_char, et. al., if
10543 _GNU_H_WINDOWS32_SOCKETS is defined. Likewise for fd_set,
10544 et. al. Make FD_SETSIZE default 64 rather than 60. Define
10545 _types_fd_set rather than fd_set, and define fd_set as a macro.
10546
10547 * libc/include/malloc.h: New file.
10548
10549 * libc/include/string.h: Define strcmpi, stricmp, strncmpi, and
10550 strnicmp if they are not already defined.
10551
10552 * libc/include/time.h: If __CYGWIN32__, declare tzset and define
10553 _timezone, _daylight, and _tzname.
10554
10555Wed Jun 4 12:51:16 1997 Doug Evans <dje@canuck.cygnus.com>
10556
10557 * configure.in: Sort all configuration tables.
10558
10559 From Joel Sherrill <joel@oarcorp.com>
10560 * Makefile.in (stmp-targ-include): Copy $(sys_dir)/include/*.h.
10561
10562Tue Jun 3 14:47:46 1997 Ian Lance Taylor <ian@cygnus.com>
10563
10564 * libc/include/sys/signal.h: Don't include <sys/types.h>. Just
10565 use int when declaring kill.
10566
10567 * libc/include/sys/timeb.h: New file.
10568
10569Mon Jun 2 12:06:58 1997 Geoffrey Noer <noer@cirdan.cygnus.com>
10570
10571 * libc/include/sys/time.h: add itimer support for Cygwin32
10572
10573Mon May 19 11:56:46 1997 Mike Meissner <meissner@cygnus.com>
10574
10575 * libc/stdlib/abort.c (abort): If ABORT_MESSAGE is defined, write
10576 out a message that abort was called to stderr.
10577
10578Fri May 16 15:02:59 1997 Bob Manson <manson@charmed.cygnus.com>
10579
10580 * libc/sys/sysmec/fstat.c (_fstat): Set st_blksize to 4096
10581 so that libio doesn't freak.
10582
10583 * libc/sys/sysmec/sbrk.c (_sbrk): The argument is a size_t, not
10584 int.
10585
10586 * libc/stdlib/mallocr.c (_morecore_r): Use size_t for
10587 memory sizes, not int.
10588
10589Wed May 14 21:16:58 1997 Bob Manson <manson@charmed.cygnus.com>
10590
10591 * libm/math/ef_hypot.c: Use long constants where
10592 appropriate.
10593 * libm/math/ef_sqrt.c: Ditto.
10594
10595 * libc/sys/sysmec/times.c(_times): Change to times.
10596
10597 * libc/sys/sysmec/read.c(_read): The third argument is
10598 size_t.
10599 * libc/sys/sysmec/write.c (_write): Ditto.
10600
10601 * libc/sys/sysmec/lseek.c: Include unistd.h for off_t.
10602 (_lseek): It's off_t for the second argument.
10603
10604Wed May 14 15:23:36 1997 Mike Meissner <meissner@cygnus.com>
10605
10606 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN): Define here,
10607 as well as machine/ieeefp.h.
10608
10609Thu May 8 15:47:25 1997 Geoffrey Noer <noer@cygnus.com>
10610
10611 * libc/include/sys/signal.h: add signal protos for winsup
10612 functions (when __CYGWIN32__), include types.h
10613 * libc/include/sys/types.h: Change __go32_types__ internal
10614 define to __MS_types__ since it's used for more than just
10615 GO32 configs. Define this if GO32, __MSDOS__, or _WIN32 are
10616 defined.
10617 * libc/include/sys/unistd.h: add ftruncate proto for
10618 winsup functions (when __CYGWIN32__)
10619
10620Fri Apr 25 10:10:16 1997 Doug Evans <dje@canuck.cygnus.com>
10621
10622 * libc/sys/h8300hms/sbrk.c (stack_ptr): Add definition.
10623
10624Thu Apr 24 15:46:51 1997 Mike Stump <mrs@cygnus.com>
10625
10626 * libc/include/machine/setjmp.h: Add tic80 support.
10627 * libc/machine/tic80/setjmp.S: Likewise.
10628
10629Tue Apr 22 16:54:40 1997 Geoffrey Noer <noer@pizza.cygnus.com>
10630
10631 * libc/sys/cygwin32/crt0.c: Add reference to main() so we can
10632 link programs from libraries only (such as in the X11
10633 distribution)
10634
10635Mon Apr 21 15:02:12 1997 Fred Fish <fnf@cygnus.com>
10636
10637 * libc/sys/arm/syscalls.c (signal): Remove stub, signal()
10638 supplied elsewhere in newlib.
10639
10640Mon Apr 14 16:25:55 1997 Ian Lance Taylor <ian@cygnus.com>
10641
10642 * Makefile.in (INSTALL): Change install.sh to install-sh.
10643
10644Fri Apr 11 17:04:02 1997 Jason Molenda (crash@godzilla.cygnus.co.jp)
10645
10646 * README: update WWW address for on-line documentation.
10647
10648Wed Apr 9 00:38:13 1997 Geoffrey Noer <noer@cygnus.com>
10649
10650 * libc/include/sys/signal.h: for _WIN32, define SIGCONT and
10651 increment NSIG
10652
10653Mon Apr 7 23:54:00 1997 Jeffrey A Law (law@cygnus.com)
10654
10655 * libc/sys/sysmec/crt0.S: Update for new calling conventions on the
10656 mn10300.
10657 * libc/sys/sysmec/trap.S: Don't compare a register to itself.
10658
10659Tue Mar 25 08:47:43 1997 Jeffrey A Law (law@cygnus.com)
10660
10661 * libc/sys/arm/syscalls.c: Fix/add stack/heap collision detection.
10662 * libc/sys/d10v/syscalls.c: Likewise.
10663 * libc/sys/h8300hms/sbrk.c: Likewise.
10664 * libc/sys/h8500hms/syscalls.c: Likewise.
10665 * libc/sys/m88kbug/syscalls.c: Likewise.
10666 * libc/sys/sh/syscalls.c: Likewise.
10667 * libc/sys/sysmec/sbrk.c: Likewise.
10668 * libc/sys/sysnecv850/sbrk.c: Likewise.
10669 * libc/sys/w65/syscalls.c: Likewise.
10670 * libc/sys.tex: Update sbrk sample code to include stack/heap collision.
10671
10672Tue Mar 18 14:14:34 1997 Jeffrey A Law (law@cygnus.com)
10673
10674 * libc/sys/sysmec/trap.S: Use "syscall" to trigger an
10675 emulated syscall instead of "trap".
10676
10677Fri Mar 14 11:26:13 1997 Michael Meissner <meissner@cygnus.com>
10678
10679 * libc/sys/d10v/trap.S (__trap0): Use trap 15 for system calls,
10680 not trap 0.
10681
10682Sun Mar 9 23:27:04 1997 Doug Evans <dje@seba.cygnus.com>
10683
10684 * configure.in (m32r-*-*): Add -msdata=sdata to target_cflags.
10685
10686Sat Mar 8 09:05:01 1997 Fred Fish <fnf@cygnus.com>
10687
10688 * libc/machine/arm/Makefile.in: Fix comment, is for "arm"
10689 not "sh".
10690 * libc/machine/m32r/Makefile.in: Fix comment, is for "m32r"
10691 not "d10v".
10692 * libc/sys/tic80/crt0.c: New file for TIc80.
10693 * libc/sys/tic80/Makefile.in: New file for TIc80.
10694 * libc/machine/tic80/Makefile.in: New file for TIc80.
10695
10696Wed Mar 5 11:32:12 1997 J.T. Conklin <jtc@cygnus.com>
10697
10698 * libc/machine/sh/memcpy.S: New file.
10699 * libc/machine/sh/memset.S: New file.
10700 * libc/machine/sh/Makefile.in (OFILES): Add memcpy.o and memset.o
10701
10702Thu Feb 27 16:27:55 1997 Fred Fish <fnf@cygnus.com>
10703
10704 * libc/include/machine/ieeefp.h (_IEEE_LITTLE_ENDIAN): Define
10705 for TIc80.
10706
10707Wed Feb 26 13:43:39 1997 Jeffrey A Law (law@cygnus.com)
10708
10709 * libc/sys/sysmec/crt0.S: Handle new calling conventions for
10710 the mn10200.
10711
10712Wed Feb 26 07:11:03 1997 Michael Meissner <meissner@cygnus.com>
10713
10714 * libc/machine/powerpc/setjmp.S (longjmp): Correct return status
10715 (patch from andrew@pogo.WV.TEK.COM).
10716
10717Fri Feb 14 11:49:28 1997 Doug Evans <dje@canuck.cygnus.com>
10718
10719 * libc/machine/m32r/setjmp.S (setjmp): Save r12.
10720 (longjmp): Restore r12. Fix code that handles returning 1 if passed 0.
10721
10722Mon Feb 10 10:02:34 1997 Fred Fish <fnf@cygnus.com>
10723
10724 * configure.in: Add cases for "tic80" to set machine_dir,
10725 sys_dir, and syscall_dir.
10726
10727Sun Feb 2 17:57:15 1997 Geoffrey Noer <noer@cygnus.com>
10728
10729 * libc/sys/cygwin32/crt0.c: initialize floating pt registers
10730
10731Wed Jan 29 15:57:38 1997 Geoffrey Noer <noer@cygnus.com>
10732
10733 * libc/include/math.h: avoid conflicts with ANSI C++ <exception>
10734
10735Mon Jan 27 12:50:01 1997 Doug Evans <dje@seba.cygnus.com>
10736
10737 * libc/machine/m32r/setjmp.S: Use proper comment delimiter.
10738 Use proper constant prefix.
10739
10740Fri Jan 24 10:59:04 1997 Jeffrey A Law (law@cygnus.com)
10741
10742 * libc/sys/sysmec/*.c: Don't cast args to syscall to integers,
10743 that loses on the mn10200 where ints and pointers are different
10744 sizes.
10745
10746Tue Jan 14 13:29:55 PST 1997 Jeremy Allison <jra@cygnus.com>
10747
10748 * configure.in: Added -DSIGNAL_PROVIDED to cygwin32
10749 target as signal is provided in winsup.
10750
10751Tue Jan 14 11:10:13 1997 Jeremy Allison <jra@cygnus.com>
10752
10753 * libc/include/sys/process.h: Corrected const definitions
10754 in spawn functions. Added cwait.
10755
10756Thu Jan 2 12:22:41 1997 Jeffrey A Law (law@cygnus.com)
10757
10758 * libc/include/machine/ieeefp.h: mn10200 uses 16bit ints and 32bit
10759 doubles.
10760 * libc/include/sys/config.h: Similarly.
10761
10762Tue Dec 31 18:36:14 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10763
10764 * configure.in (sparc-sun-sunos*): Add -DSIGNAL_PROVIDED to the
10765 target_cflags.
10766 (i[3456]86-*-sco*): Ditto.
10767
10768 * libc/signal/Makefile.in (OFILES): Add signal.o.
10769 (CFILES): Add signal.c.
10770
10771 * libc/signal/raise.c (_raise_r): Only compile code if
10772 SIGNAL_PROVIDED is defined.
10773
10774 * libc/signal/signal.c: Redo whole file so that it works with
10775 current newlib. Use _kill_r if no signal handler provided.
10776
10777 * libc/sys/{go32,sparc64,sysmec}/Makefile.in: Delete raise and
10778 signal stubs.
10779 * libc/sys/sysvnecv70/Makefile.in: Ditto.
10780 * libc/sys/sysnecv850/Makefile.in: Ditto.
10781
10782 * libc/sys/{go32,sparc64}/signal.c: Delete, stub no longer used.
10783 * libc/sys/sysmec/{raise,signal}.c: Ditto.
10784 * libc/sys/sysvnecv70/signal.s: Ditto.
10785 * libc/sys/sysnecv850/raise.c: Ditto.
10786
10787 * libc/sys/sysnecv850/kill.c (_kill): Encode signal # so that
10788 simulator and debugger can tell the difference between a signal
10789 being raised and an exit system call.
10790
10791 * NEWS: Document software signals being provided.
10792
10793Mon Dec 23 11:54:19 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10794
10795 * libc/reent/impure.c (_REENT_ATTR): Delete in favor of
10796 __ATTRIBUTE_IMPURE_PTR__. Move PowerPC definition to
10797 include/sys/config.h.
10798 (impure_data): Use __ATTRIBUTE_IMPURE_DATA__ for attributes.
10799 Change from 'inpure_data'.
10800 (_impure_ptr): Use __ATTRIBUTE_IMPURE_PTR__ for attributes. Use
10801 &impure_data, not &inpure_data.
10802
10803 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): If PowerPC
10804 and and System V ABI, define so that _impure_ptr lives in the
10805 .sdata section.
10806
10807Sun Dec 22 23:33:05 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10808
10809 * libc/include/sys/reent.h (__ATTRIBUTE_IMPURE_PTR__): Define as
10810 nothing if not defined.
10811 (_impure_ptr): Use __ATTRIBUTRE_IMPURE_PTR__, so a machine can set
10812 its attributes.
10813
10814 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__):
10815
10816Wed Dec 18 10:12:04 1996 Jeffrey A Law (law@cygnus.com)
10817
10818 * libc/sys/sysmec/crt0.S: Fix mn10200 stuff.
10819 * libc/sys/sysmec/trap.s: Handle mn10200 too.
10820 * libc/machine/mn10200/setjmp.S: Fix mn10200 stuff.
10821
10822Mon Dec 16 10:05:36 1996 Jeffrey A Law (law@cygnus.com)
10823
10824 * libc/sys/sysmec/crt0.S: Handle mn10200 too.
10825
10826Fri Dec 13 11:05:20 1996 Jeremy Allison <jra@cygnus.com>
10827
10828 * libc/include/sys/errno.h: Added net errno's.
10829
10830Wed Dec 11 16:24:25 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10831
10832 * libc/misc/ffs.c: New file to support ffs function for GCC test
10833 gcc.c-torture/execute/960909-1.c.
10834
10835 * libc/misc/Makefile.in ({O,CHEWOUT_}FILES): Add ffs.
10836
10837Sat Dec 7 10:12:37 1996 Jeffrey A Law (law@cygnus.com)
10838
10839 * libc/sys/sysmec/crt0.S: Handle underscore prefix.
10840 * libc/sys/sysmec/trap.S: Likewise.
10841
10842Fri Dec 6 15:08:49 1996 Jim Wilson <wilson@cygnus.com>
10843
10844 * configure.in (mips*vr4300*-*-*): Delete use of sys/vr4300.
10845 * libc/sys/vr4300/{Makefile.in,crt0.S,syscalls.c}: Delete.
10846
10847Wed Dec 4 16:25:27 1996 Jeffrey A Law (law@cygnus.com)
10848
10849 * libc/sys/sysmec/signal.c: Dummy file.
10850 * libc/sys/sysmec/Makefile.in: Build it.
10851
10852Wed Nov 27 13:10:18 1996 Ian Lance Taylor <ian@cygnus.com>
10853
10854 * libc/machine/mips/machine/regdef.h: Define pc as $pc for
10855 mips16.
10856
10857Mon Nov 25 09:58:28 1996 Jeffrey A Law (law@cygnus.com)
10858
10859 * libc/sys/sysmec/{crt0.S,trap0.S}: Actually try to implement
10860 c-startup and simulator traps.
10861
10862
10863 * libc/sys/sysmec/crt0.S: Remove bogus '_' symbol prefixing
10864 * libc/sys/sysmec/trap0.S: Likewise.
10865
10866Sat Nov 23 09:01:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10867
10868 * libc/stdlib/mallocr.c (ROUND_TO): If SMALL_MEMORY, set to 0x7 to
10869 round to double word alignment.
10870 (_morecore_r): Combine rounding up pointers to both ROUND_TO and 8
10871 byte alignment.
10872
10873 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Define if d10v.
10874
10875 * libc/sys/d10v/syscalls.c (_sbrk): Add better checks for running
10876 out of memory.
10877
10878Mon Nov 18 13:08:26 1996 Jeffrey A Law (law@cygnus.com)
10879
10880 * configure.in: Handle mn10200 and mn10300.
10881 * libc/include/machine/{ieeefp.h,setjmp.h}: Likewise.
10882 * libc/include/sys/config.h: Likewise.
10883 * libc/sys/sysmec: New directory for mec stuff.
10884 * libc/machine/mn10300: New directory for mn10300 stuff.
10885 * libc/machine/mn10200: Similarly for mn10200 stuff.
10886
10887Fri Nov 15 16:41:41 1996 Doug Evans <dje@canuck.cygnus.com>
10888
10889 * libc/sys/arm/crt0.S: Use .text, not .section .text.
10890 * libc/sys/arm/syscalls.c: Rewrite to set errno properly.
10891
10892 * libc/include/sys/types.h (_ST_INT32): New macro, local to file.
10893 (nlink_t): Change type from unsigned int to unsigned short.
10894 (mode_t): Ensure size is 32 bits even if int is 16.
10895 * libc/include/sys/stat.h (st_nlink): Change type to nlink_t.
10896 (st_spare[123]): Change type from int to long.
10897
10898Fri Nov 15 11:41:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10899
10900 * libc/sys/d10v/syscalls.c (_sbrk): Align initial heap_end to 8
10901 byte boundary.
10902
10903 * configure.in (d10v*): Define SMALL_MEMORY.
10904
10905Mon Nov 11 10:30:44 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10906
10907 * configure.in (powerpc*-{eabi,elf,linux,rtem,sysv,solaris}*): Add
10908 -mrelocatable-lib and -mno-eabi flags.
10909
10910Mon Nov 11 09:01:39 1996 Jeffrey A Law (law@cygnus.com)
10911
10912 * libc/machine/h8300/memcpy.S: Fix comments to reflect reality.
10913 Fix handling of mis-aligned source operand when both the
10914 destination & length are properly aligned.
10915
10916Wed Oct 30 09:41:11 1996 Jeffrey A Law (law@cygnus.com)
10917
10918 * libc/sys/sysnecv850/Makefile.in (OFILES): Add
10919 times.o, time.o and gettime.o
10920 * libc/sys/sysnecv850/{time.c, times.c, gettime.c}: New files.
10921 * libc/sys/sysnecv850/sys/syscall.h: Add SYS_times and
10922 SYS_gettimeofday.
10923
10924Tue Oct 29 13:40:09 1996 Jeffrey A Law (law@cygnus.com)
10925
10926 * libc/sys/sysnecv850/Makefile.in (OFILES): Add access.o
10927 * libc/sys/sysnecv850/access.c: New file.
10928
10929Mon Oct 21 19:47:02 1996 Ian Lance Taylor <ian@cygnus.com>
10930
10931 * libc/sys/vr4300/Makefile.in (clean): Remove $(OFILES).
10932
10933 * libc/stdlib/mprec.h (word0, word1): Use __uint32_t, not unsigned
10934 long.
10935
10936Mon Oct 21 14:43:07 1996 Jeffrey A Law (law@cygnus.com)
10937
10938 * libc/sys/sysnecv850/crt0.S: Initialize ep and gp registers.
10939
10940Thu Oct 17 11:47:16 1996 Doug Evans <dje@seba.cygnus.com>
10941
10942 * libc/include/machine/{ieeefp.h,setjmp.h}: Add m32r support.
10943 * libc/include/sys/config.h: Add m32r support.
10944
10945Wed Oct 16 23:08:05 1996 Jeffrey A Law (law@cygnus.com)
10946
10947 * libc/sys/sysnecv850/v850.ld: Remove. It doesn't belong
10948 here.
10949
10950Wed Oct 16 21:18:07 1996 Mark Alexander <marka@cygnus.com>
10951
10952 * libc/include/machine/setjmp.h: Add D10v support.
10953
10954Tue Oct 15 22:28:26 1996 Jeffrey A Law (law@cygnus.com)
10955
10956 * configure.in: Configure the "libc/syscalls" directory for
10957 the v850.
10958
10959 * libc/sys/sysnecv850/{close.c, execve.c, fork.c}: Add missing '_'.
10960 * libc/sys/sysnecv850/{fstat.c, getpid.c, kill.c}: Likewise.
10961 * libc/sys/sysnecv850/{lseek.c, open.c, read.c}: Likewise.
10962 * libc/sys/sysnecv850/{sbrk.c, stat.c, unlink.c}: Likewise.
10963 * libc/sys/sysnecv850/{wait.c, write.c}: Likewise.
10964
10965Tue Oct 15 16:24:39 1996 Stu Grossman (grossman@critters.cygnus.com)
10966
10967 * libc/sys/sysnecv850/crt0.S (start): Allocate spill space on
10968 stack for args for main and other routines. Zero out args for
10969 main.
10970
10971 * libc/sys/sysnecv850/v850.ld: New. Linker script to layout memory
10972 correctly.
10973
10974Tue Oct 15 11:51:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10975
10976 * libc/stdio/findfp.c (std): Remove extraneous ';' after
10977 function.
10978
10979 * libc/sys/d10v/sys/syscall.h (SYS_kill): Add.
10980
10981 * libc/sys/d10v/{syscalls.c,trap.S} (_kill,_getpid): Make these
10982 real system calls now.
10983
10984 * libc/stdio/setvbuf (setvbuf): Cast pointers to _POINTER_INT
10985 before casting them to int.
10986 * libc/stdio/tmpnam.c (_tempnam_r): Ditto.
10987
10988 * libc/stdlib/mallocr.c (_morecore_r): Use _POINTER_INT when
10989 aligning pointer.
10990 * libc/string/memset.c (memset): Ditto.
10991
10992 * libc/stdio/vfscanf.c (__svfscanf): When converting to pointer,
10993 first convert ints to _POINTER_INT to eliminate GCC warning.
10994
10995 * libc/stdio/vfprintf.c (_vfprintf_r): Use _POINTER_INT when
10996 processing %p.
10997
10998 * libm/math/ef_scalb.c (__ieee754_scalbf): Cut down range to 32000
10999 from 65000 if ints are only 16 bits.
11000
11001 * libm/math/sf_scalbn.c (scalbnf): Cut down overflow test to 30000
11002 from 50000 if ints are only 16 bits.
11003
11004 * libc/include/sys/config.h (_POINTER_INT): New macro, to give an
11005 int type that is the same size as a pointer.
11006
11007 * libc/misc/dprintf.c (__dprintf): Use _POINTER_INT when
11008 processing %p.
11009 (get_number): Explicitly cast number to long before shifting by 16
11010 or 24, in case ints are short.
11011
11012 * libc/include/sys/config.h (_POINTER_INT): Define as short.
11013
11014Wed Oct 9 16:54:32 1996 Jeremy Allison <jra@cygnus.com>
11015
11016 * libc/string.h: Added ffs, removed swab.
11017 * libc/sys/errno.h: Added EOPNOTSUPP.
11018 * libc/sys/unistd.h: Added swab.
11019
11020Thu Oct 3 17:08:50 1996 Jeremy Allison <jra@cygnus.com>
11021
11022 * libc/include/sys/stat.h: Added fchmod.
11023 * libc/include/sys/unistd.h: Added fsync.
11024
11025Tue Oct 1 17:34:08 1996 Jeremy Allison <jra@cygnus.com>
11026
11027 * libc/include/sys/errno.h: Added defines for EPFNOSUPPORT (96)
11028 and ECONNRESET (104) for cygwin32.
11029
11030Tue Oct 1 16:24:05 1996 Gavin Koch <gavin@cygnus.com>
11031
11032 * libc/sys/sysnecv850/_exit.c: added _do_dtors to
11033 do the static destructors.
11034
11035Mon Sep 30 15:59:05 1996 Stu Grossman (grossman@critters.cygnus.com)
11036
11037 * libc/sys/sysnecv850/trap.S: Change I/O to use trap 31.
11038
11039Mon Sep 30 12:02:50 1996 Doug Evans <dje@canuck.cygnus.com>
11040
11041 * libc/machine/m32r/{Makefile.in,setjmp.S}: New files.
11042 * configure.in: Recognize m32r-*-*.
11043
11044Mon Sep 30 00:34:41 1996 James G. Smith <jsmith@cygnus.co.uk>
11045
11046 * libc/sys/arm/trap.S (__rt_stkovf_split_big,
11047 __rt_stkovf_split_small): Added default software stack overflow
11048 handlers, which just call SWI_Exit.
11049 * libc/sys/arm/crt0.S (_mainCRTStartup): Simple software stack
11050 limit initialisation.
11051
11052Fri Sep 27 13:08:03 1996 Mark Alexander <marka@cygnus.com>
11053
11054 * libc/sys/d10v/{trap.S,sys/syscall.h}: Add time() function.
11055
11056Fri Sep 27 12:32:00 1996 Jeremy Allison <jra@cygnus.com>
11057
11058 * libc/include/sys/types.h: Added ssize_t definition.
11059
11060Wed Sep 25 14:52:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11061
11062 * libc/machine/d10v/setjmp.S: Use ';' for comments.
11063 * libc/sys/d10v/{crt0.S,trap.S}: Ditto.
11064
11065 * libc/machine/d10v/setjmp.S (longjmp): Use exef0t || instead of
11066 branch around a single ldi instruction.
11067
11068 * libc/sys/d10v/crt0.S (_start): Use auto-increment to zero bss.
11069 Call exit, instead of just issuing a stop instruction.
11070
11071Sun Sep 22 17:26:55 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11072
11073 * libc/sys/d10v/{trap.S,syscalls.c}: Add -mint32 support.
11074
11075Fri Sep 20 13:23:12 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11076
11077 * libc/stdlib/mprec.h: Explicitly declare all large constants as
11078 longs, and then cast them to __uint32_t.
11079
11080 * libc/include/sys/config.h: Protect against multiple inclusions.
11081
11082Tue Sep 17 13:10:33 1996 Mark Alexander <marka@cygnus.com>
11083
11084 * configure.in (d10v*): Set syscall_dir.
11085
11086Sun Sep 15 10:41:59 1996 Mark Alexander <marka@cygnus.com>
11087
11088 * libc/sys/d10v/crt0.S: Set stack pointer.
11089
11090Thu Sep 12 13:02:38 1996 Mark Alexander <marka@cygnus.com>
11091
11092 * libc/sys/d10v/{trap.S, syscalls.c}: Rewrite most system calls
11093 in assembly for efficiency. Change calling convention to allow
11094 long ints to be returned.
11095
11096Wed Sep 11 10:28:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11097
11098 * libc/machine/v850/Makefile.in (setjmp.o): Fix dependency.
11099
11100Thu Sep 5 19:23:06 1996 Doug Evans <dje@canuck.cygnus.com>
11101
11102 * libc/posix/execvp.c (execvp): Don't search PATH if file has '/'.
11103 Handle empty entries in $PATH.
11104
11105Tue Sep 03 18:15:02 1996 Mark Alexander <marka@cygnus.com>
11106
11107 * libc/machine/d10v/setjmp.S: Make it really work.
11108
11109Tue Sep 3 12:16:26 1996 Ian Lance Taylor <ian@cygnus.com>
11110
11111 * libc/sys/sh/crt0.S: If __ELF__, use ELF section attributes for
11112 the .stack section.
11113
11114Tue Sep 3 10:08:45 1996 Jeffrey A Law (law@cygnus.com)
11115
11116 * sys/sysnecv850/sys/file.h: Remove.
11117 * sys/sysnecv850/sys/syscall.h: New file.
11118 * sys/sysnecv850/{misc.c,syscalls.c,malloc.c}: Deleted.
11119 * sys/sysnecv850/{chmod.c, chown.c, close.c, creat.c} New files.
11120 * sys/sysnecv850/{execv.c, execve.c, fork.c, fstat.c} New files.
11121 * sys/sysnecv850/{getpid.c, isatty.c, kill.c, lseek.c} New files.
11122 * sys/sysnecv850/{open.c, pipe.c, raise.c, read.c} New files.
11123 * sys/sysnecv850/{stat.c, unlink.c, utime.c, wait.c} New files.
11124 * sys/sysnec850/trap.S: New file.
11125 * sys/sysnecv850/{_exit.c, write.c}: Use new TRAP0 mechanism for
11126 syscalls.
11127 * sys/sysnecv850/crt0.S: Use cmp/bl, not tst/bz.
11128 * sys/sysnec850/sbrk.c: New version.
11129
11130Sun Sep 1 20:08:27 1996 Jeffrey A Law (law@cygnus.com)
11131
11132 * sys/sysnecv850/crt0.S: Fix order of comparison args. Loop
11133 as long as r6 is less than r7.
11134
11135Sun Sep 1 13:54:19 1996 Ian Lance Taylor <ian@cygnus.com>
11136
11137 * Makefile.in (mostlyclean): Separate from clean target. Don't
11138 remove *.a or targ-include.
11139 * libc/machine/sparc/Makefile.in (mostlyclean): New target.
11140
11141Sun Sep 1 11:35:26 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11142
11143 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Define for
11144 d10v.
11145 (__SMALL_BITFIELDS): Ditto.
11146
11147 * libc/include/sys/config.h (_DOUBLE_IS_32BITS): Define for d10v.
11148
11149Sat Aug 31 16:42:36 1996 Jeffrey A Law (law@cygnus.com)
11150
11151 * libc/sys/sysnecv850/misc.c (raise, getpid, kill): Remove '_'
11152 prefix.
11153
11154 * libc/sys/sysnecv850/sbrk.c (sbrk): Remove '_' prefix.
11155 * libc/sys/sysnecv850/syscalls.c (read, lseek, close): Likewise.
11156 * libc/sys/sysnecv850/syscalls.c (fstat, open, close): Likewise.
11157 * libc/sys/sysnecv850/write.c (write): Likewise.
11158
11159 * libc/sys/sysnecv850/crt0.S: Don't try to zero out an empty
11160 .bss.
11161
11162Fri Aug 30 11:18:45 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11163
11164 * libc/include/sys/config.h: Define INT_MAX, UINT_MAX
11165 appropriately for D10V, depending on -mint16/-mint32.
11166
11167Thu Aug 29 16:09:37 1996 Mark Alexander <marka@cygnus.com>
11168
11169 * configure.in: Add cases for D10V.
11170
11171Thu Aug 29 17:03:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11172
11173 * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
11174
11175Wed Aug 28 21:05:52 1996 Jeffrey A Law (law@cygnus.com)
11176
11177 * libc/include/machine/ieeefp.h: Fix typo.
11178
11179Wed Aug 28 19:47:55 1996 Mark Alexander <marka@cygnus.com>
11180
11181 * libc/sys/d10v: New directory for D10V stuff.
11182 * libc/include/machine/ieeefp.h: Add D10V defines.
11183
11184Mon Aug 26 13:34:58 1996 Doug Evans <dje@canuck.cygnus.com>
11185
11186 * libc/include/sys/errno.h: Add winsup/include/sys/errno.h values:
11187 ELOOP, ENOBUFS, EAFNOSUPPORT, EPROTOTYPE, ENOTSOCK, ENOPROTOOPT,
11188 ESHUTDOWN, ECONNREFUSED, EADDRINUSE, ECONNABORTED, EWOULDBLOCK.
11189 * libc/string/strerror.c (strerror): Add them.
11190
11191Thu Aug 22 16:38:19 1996 Jeffrey A Law (law@cygnus.com)
11192
11193 * libc/sys/sysnecv850: New directory for v850 stuff.
11194
11195 * libc/machine/v850: New directory for v850 stuff.
11196 * libc/machine/v850/setjmp.S: setjmp/longjmp support.
11197
11198 * configure.in: Add support for the v850.
11199
11200 * libc/include/machine/ieeefp.h: Add v850 defines.
11201 * libc/include/machine/setjmp.h: Likewise.
11202 * libc/include/sys/config.h: Add v850 defines.
11203
11204Sat Aug 17 04:06:36 1996 Geoffrey Noer <noer@cygnus.com>
11205
11206 * libc/include/machine/ieeefp.h
11207 * libc/include/machine/setjmp.h
11208 * libc/include/sys/fcntl.h
11209 * libc/include/sys/signal.h
11210 * libc/include/sys/types.h
11211 * libc/stdlib/system.c:
11212 Fix preprocessor defines to match new scheme (_WIN32 for WIN32
11213 API availability, __CYGWIN32__ for cygwin32 environment specific).
11214
11215Thu Aug 15 17:09:21 1996 Geoffrey Noer <noer@cygnus.com>
11216
11217 * libc/include/stdlib.h: add multibyte character functions. Add
11218 __eprintf for assert.
11219
11220Thu Aug 15 11:15:40 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11221
11222 * libc/stdlib/malloc.h (MALLOC_ALIGNMENT): Use either pointer
11223 arithmetic or __alignof__ to properly get the alignment, instead
11224 of hardwiring it to 4.
11225
11226Wed Aug 14 23:43:28 1996 Geoffrey Noer <noer@cygnus.com>
11227
11228 * libc/stdio/fseek.c: add fflush call to adjust seek offset
11229 on append stream (fix from NetBSD sources), adjust curoff offset
11230 for ungetc's benefit.
11231 * libc/stdio/ftell.c: adjust curoff offset for ungetc's benefit.
11232 * libc/stdio/rewind.c: replace code with up to date NetBSD
11233 code to undo hacks made to work around above problem of not
11234 having fflush call mentioned above
11235
11236Fri Aug 2 18:28:07 1996 J.T. Conklin <jtc@rtl.cygnus.com>
11237
11238 * libc/reent/{closer.c, execr.c, fstatr.c, linkr.c, lseekr.c,
11239 openr.c, readr.c, sbrkr.c, signalr.c, statr.c, timer.c, writer.c}:
11240 Partially revert last changes. The thread specific errno is set
11241 iff if the underlying syscall fails and the global errno is not
11242 zero.
11243
11244Fri Jul 19 11:41:52 1996 J.T. Conklin <jtc@rtl.cygnus.com>
11245
11246 * libc/reent/filer.c: Removed files, all functions have split out
11247 into their own files.
11248 * libc/reent/{closer.c, lseekr.c, openr.c, readr.c, writer.c}:
11249 New files containing functions formally in filer.c
11250 * libc/reent/Makefile.in: Updated for above change.
11251
11252 * libc/reent/execr.c (_fork_r, _wait_r): Set errno if underlying
11253 syscall fails, not if errno is changed.
11254 * libc/reent/filer.c (_open_r, _close_r, _lseek_r, _read_r,
11255 _write_r): Likewise.
11256 * libc/reent/fstatr.c (_fstat_r): Likewise.
11257 * libc/reent/linkr.c (_link_r, _unlink_r): Likewise.
11258 * libc/reent/sbrkr.c (_sbrk_r): Likewise.
11259 * libc/reent/signalr.c (_kill_r): Likewise.
11260 * libc/reent/statr.c (_stat_r): Likewise.
11261 * libc/reent/timer.c (_gettimeofday_r): Likewise.
11262
11263 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, sbrkr.c,
11264 signalr.c, statr.c, timer.c} (errno): declare extern rather
11265 than as a common.
11266
11267 * libc/stdio/vfprintf.c (__sbprintf): Use the VFPRINTF macro
11268 instead of calling vfprintf so that i*printf will not require
11269 floating point support code.
11270
11271Mon Jul 15 16:50:59 1996 Doug Evans <dje@canuck.cygnus.com>
11272
11273 * libc/posix/execvp.c (execvp): Use posix_path_list_p to determine
11274 path delimiter.
11275 * libc/include/sys/unistd.h (_SC_PATH_RULES): Delete.
11276 (_PATH_RULES_{UNKNOWN,WIN32,POSIX}): Delete.
11277
11278Thu Jul 11 14:34:14 1996 Geoffrey Noer <noer@cygnus.com>
11279
11280 * libc/include/signal.h: _sig_func_ptr function takes an int
11281 * libc/include/sys/signal.h: sa_handler function takes an int
11282
11283Tue Jul 9 21:22:32 1996 Jeffrey A Law (law@cygnus.com)
11284
11285 * libc/include/machine/ieeefp.h: Simplify H8/S support.
11286 * libc/include/sys/config.h: Add missing H8/S conditional.
11287
11288Sun Jun 30 12:05:46 1996 Doug Evans <dje@canuck.cygnus.com>
11289
11290 * libc/include/sys/unistd.h (MAXPATHLEN): Add cygwin32 value.
11291
11292Wed Jun 26 09:57:54 1996 Jeffrey A Law (law@cygnus.com)
11293
11294 * libc/include/machine/setjmp.h: Handle H8/S.
11295 * libc/include/machine/ieeefp.h: Likewise.
11296 * libc/include/sys/config.h: Likewise.
11297 * libc/machine/h8300/{defines.h, memcpy.S, memset.S}: Likewise.
11298 * libc/machine/h8300/{reg_memcpy.S, reg_memset.S}: Likewise.
11299 * libc/machine/h8300/{strcmp.S, setjmp.S}: Likewise.
11300 * libc/sys/h8300hms/crt0.S: Likewise.
11301
11302Tue Jun 25 23:15:45 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
11303
11304 * Makefile.in (datadir): Set to $(prefix)/share.
11305 (oldincludedir, docdir): Removed.
11306 * doc/Makefile.in (datadir): Set to $(prefix)/share.
11307 (oldincludedir, docdir): Removed.
11308 * libc/Makefile.in (datadir): Set to $(prefix)/share.
11309 (oldincludedir, docdir): Removed.
11310 * libm/Makefile.in (datadir): Set to $(prefix)/share.
11311 (oldincludedir, docdir): Removed.
11312
11313Fri Jun 21 19:24:41 1996 Ian Lance Taylor <ian@cygnus.com>
11314
11315 * libc/include/sys/reent.h (_REENT_INIT): Update for change to
11316 _reent struct.
11317
11318Wed Jun 19 14:00:09 1996 Doug Evans <dje@canuck.cygnus.com>
11319
11320 * libc/posix/execvp.c: Delete _WIN32 support. For __CYGWIN32__
11321 fetch current path rules with sysconf and handler posix/win32
11322 appropriately.
11323
11324 * libc/include/sys/unistd.h (_PATH_RULES{,_POSIX,_WIN32}): Define.
11325
11326 * libc/include/process.h: Prepend '_' to P_{WAIT,NOWAIT,OVERLAY}.
11327 (WAIT_CHILD): Always define.
11328
11329Sat Jun 15 17:50:42 1996 Ian Lance Taylor <ian@cygnus.com>
11330
11331 * libc/stdlib/eprintf.c: New file.
11332 * libc/stdlib/Makefile.in (OFILES): Add eprintf.o.
11333 (eprintf.o): New target.
11334
11335Thu Jun 13 16:44:32 1996 Doug Evans <dje@canuck.cygnus.com>
11336
11337 * libc/sys/cygwin32/crt0.c (__cygwin_crt0_bp): New global.
11338 (mainCRTStartup): Do int3 if __cygwin_crt0_bp non-zero.
11339
11340Thu Jun 13 17:45:17 1996 Mike Meissner <meissner@rtl.cygnus.com>
11341
11342 * libc/include/machine/ieeefp.h: Add support for AIX and Windows
11343 NT in PowerPC endianess cases.
11344
11345Tue Jun 11 12:26:28 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11346
11347 * libc/include/machine/ieeefp.h: Clean up PowerPC endianess.
11348
11349Thu Jun 6 11:34:20 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11350
11351 * libc/string/strtok.c: Fix doc typo.
11352
11353Mon Jun 3 11:30:00 1996 J.T. Conklin <jtc@rtl.cygnus.com>
11354
11355 * libc/include/sys/reent.h (struct _reent): Removed _asctime,
11356 _next, _scanpoint, _signgam fields.
11357
11358 * libc/include/stdlib.h (rand_r): Added new declaration.
11359 (_rand_r, _srand_r): Removed declarations.
11360 * libc/stdlib/rand.c (_rand_r, _srand_r): Removed, these functions
11361 have been made obsolete by rand_r.
11362 * libc/stdlib/rand_r.c: New file, rand_r function as specified
11363 by POSIX.1c.
11364
11365 * libc/string/strtok.c: Update documentation to describe
11366 strtok_r().
11367
11368Sat Jun 1 23:50:39 1996 Michael Meissner <meissner@cygnus.com>
11369
11370 * libc/include/sys/stat.h (stat structure): Use the expanded stat
11371 structure on Solaris, and PowerPC systems even though __svr4__ is
11372 defined.
11373
11374Tue May 28 13:02:42 1996 Doug Evans <dje@canuck.cygnus.com>
11375
11376 * libc/sys/go32/sys/errno.h (ENOSYS,ESPIPE): Keep values <= 255.
11377
11378Fri May 17 10:34:44 1996 Ian Lance Taylor <ian@cygnus.com>
11379
11380 * host/any: Use ../.. rather than .. to get to the main build
11381 directory. This matches the current layout of the build
11382 directory.
11383
11384Wed May 15 15:52:27 1996 Jeffrey A Law (law@cygnus.com)
11385
11386 * libc/machine/h8300/__main.S: Delete. No longer needed.
11387 * libc/machine/h8300/Makefile.in: Corresponding changes.
11388 * libc/sys/h8300hms/crt1.c: New file.
11389 * libc/sys/h8300hms/Makefile.in: Corresponding changes.
11390 * libc/sys/h8300hms/crt0.s: Call __main.
11391
11392 * libc/sys/h8300hms/crt0.S: Use temporary label names
11393 for branch targets.
11394
11395Mon May 13 14:26:30 1996 Doug Evans <dje@canuck.cygnus.com>
11396
11397 * libc/stdio/fopen.c (_fopen_r): Fix arguments to fseek.
11398
11399Fri May 3 16:38:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11400
11401 * libc/reent/impure.c (_impure_ptr): Force the impure pointer into
11402 .sdata on the PowerPC so that we can link newlib with code
11403 compiled with -msdata.
11404
11405Mon Apr 29 21:38:02 1996 Doug Evans <dje@canuck.cygnus.com>
11406
11407 * libc/sys/arm/syscalls.c (_sbrk): Rename end to __end__.
11408
11409Thu Apr 25 06:38:59 1996 Michael Meissner <meissner@cygnus.com>
11410
11411 * libc/sys/cygwin32/crt0.c (mainCRTStartup): On PowerPC, set the
11412 exception handler to __cygwin_exception_handler.
11413
11414Tue Apr 23 15:14:20 1996 Ian Lance Taylor <ian@cygnus.com>
11415
11416 * libc/include/machine/setjmp.h: Check _AM29K, not ___AM29K__.
11417
11418Sun Apr 21 12:11:51 1996 Doug Evans <dje@blues.cygnus.com>
11419
11420 * libm/math/Makefile.in ({w,wf}_cabs.o,{w,wf}_drem.o): Add rule for
11421 SunOS VPATH.
11422 * libc/stdlib/Makefile.in (atoff.o,atol.o,mblen.o,mbstowcs.o,
11423 wcstombs.o): Likewise.
11424
11425Thu Apr 18 12:37:01 1996 Doug Evans <dje@canuck.cygnus.com>
11426
11427 * libc/stdlib/environ.c (initial_env): New static local.
11428 (environ): Point to `initial_env'.
11429
11430 * libc/include/machine/setjmp.h: Clean up.
11431 (__H8300H__,__PPC__): Define _JBTYPE.
11432 (__arm__): Provide entry for.
11433 (sigjmp_buf): Delete.
11434 (jmp_buf): Use _JBTYPE if defined, otherwise int.
11435
11436Thu Apr 18 12:10:52 1996 Jeffrey A Law (law@cygnus.com)
11437
11438 * libc/machine/h8300/strcmp.S: Sign extend the result to
11439 32bits so we don't lose with -mint32.
11440
11441Sun Apr 14 19:59:52 1996 Doug Evans <dje@canuck.cygnus.com>
11442
11443 * libc/sys/go32/sys/errno.h: New file.
11444 * libc/sys/go32/Makefile.in (stat.o): Depend on stat.c.
11445 * libc/sys/go32/gerrno.s (syscall_error): Call __errno to get
11446 errno's address (make compatible with rest of newlib).
11447 * libc/sys/go32/stat.c (fixinode): Set errno upon failure.
11448 * libc/string/strerror.c (strerror): Surround each case with #ifdef.
11449
11450Thu Mar 28 13:44:42 1996 Doug Evans <dje@canuck.cygnus.com>
11451
11452 * libc/machine/sparc/{scan.c,shuffle.c}: New files.
11453 * libc/machine/sparc/Makefile.in: Build them.
11454 * libc/machine/sparc/machine/sparclet.h: New file.
11455
11456Mon Mar 25 15:29:14 1996 J.T. Conklin <jtc@rtl.cygnus.com>
11457
11458 * libc/machine/sh/asm.h: New file.
11459 * libc/machine/sh/setjmp.S: Only save clobbered registers. Added
11460 support for SH3e's FP registers. Use asm.h.
11461
11462Mon Mar 25 11:59:23 1996 Jeffrey A Law (law@cygnus.com)
11463
11464 * libc/stdio/vfprintf.c (cvt): Accept a reent structure
11465 as first argument. Call _dtoa_r and pass the reent structure
11466 instead of calling __dtoa.
11467
11468Fri Mar 22 13:59:37 1996 Jeffrey A Law (law@cygnus.com)
11469
11470 * libc/include/sys/config.h: Define DOUBLE_IS_32BITS for
11471 the h8300, h8500, and others. Add comments for some rather
11472 dubious code.
11473
11474Thu Mar 14 18:04:43 1996 Ian Lance Taylor <ian@cygnus.com>
11475
11476 * Makefile.in (check): Check that testsuite exists before cd.
11477
11478Tue Mar 12 11:46:47 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11479
11480 * libc/include/string.h (strsep): Correct prototype.
11481
11482Mon Mar 11 09:55:19 1996 Doug Evans <dje@charmed.cygnus.com>
11483
11484 * libc/sys/h8300/_exit.c (_exit,__exit): Set r0 to 0 before `sleep'.
11485 * libc/sys/h8300/misc.c (_kill): Set r0 to indicate abort and `sleep'.
11486 * libc/sys/h8300/crt0.S (_start): Call exit instead of `sleep'.
11487
11488Wed Mar 6 11:51:55 1996 Doug Evans <dje@charmed.cygnus.com>
11489
11490 * libc/posix/{creat.c,isatty.c}: New files.
11491 * libc/posix/Makefile.in (OFILES): Add creat.o, isatty.o.
11492
11493 * libc/sys/sparc64/crt0.S (environ): Delete.
11494 (.LHaveBias): Renamed from HaveBias.
11495
11496Thu Feb 15 10:48:37 1996 Doug Evans <dje@charmed.cygnus.com>
11497
11498 * libc/stdlib/mallocr.c (etext): Move decl inside ifdef WARN_VLIMIT.
11499 (_morecore_r): Delete SBRK_IS_ALLOC support.
11500
11501Tue Feb 13 09:44:09 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11502
11503 * libc/sys/cygwin32/Makefile.in (lib.a): Make lib.a with a dummy
11504 module rather than touch, so we don't get warning messages when
11505 all of the libraries are combined into libc.a.
11506
11507Tue Feb 13 06:32:07 1996 Doug Evans <dje@charmed.cygnus.com>
11508
11509 * libc/sys/sparclite/{Makefile.in,crt0.s}: Deleted.
11510 crt0.s replaced by version in libgloss.
11511
11512Mon Feb 5 15:17:51 1996 J.T. Conklin <jtc@rtl.cygnus.com>
11513
11514 * libc/reent/Makefile.in (OFILES): Add impure.o.
11515 * libc/reent/impure.o: New file, define initial reentrancy struct.
11516 * libc/reent/reent.c: Remove above definition.
11517
11518 * libm/math/sf_asinh.c: Fix typo.
11519
11520 * Makefile.in (MATHOBJS_IN_LIBC): Removed sr_ldexp.o and
11521 srf_ldexp.o.
11522
11523 * libm/libm.texinfo: Change documentation to reflect changes
11524 in reentrancy model.
11525 * libm/math/w_gamma.c: Likewise.
11526
11527Wed Jan 31 18:49:45 1996 Steve Chamberlain <sac@slash.cygnus.com>
11528
11529 * configure.in (*-*-cygwin32): New.
11530 (*-*-win32): Deleted.
11531 * libc/sys/win32 renamed libc/sys/cygwin32.
11532
11533Tue Jan 30 22:09:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11534
11535 * libc/include/sys/file.h: New include file.
11536
11537Fri Jan 26 15:52:54 1996 Steve Chamberlain <sac@slash.cygnus.com>
11538
11539 * libc/include/machine/setjmp.h: Increase size of PPC jmp_buf.
11540
11541Tue Jan 23 17:49:16 1996 Steve Chamberlain <sac@slash.cygnus.com>
11542
11543 * libc/include/sys/wait.h (WIFSIGNALED): Fix.
11544
11545Tue Jan 16 09:28:10 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11546
11547 * doc/makedoc.c (realloc): Declare at file scope.
11548 (catchar): Not here.
11549
11550Wed Dec 27 15:45:23 1995 Doug Evans <dje@canuck.cygnus.com>
11551
11552 * Makefile.in (VERSION): Update to 1.7.0.
11553 * {libc,libm}/Makefile.in (VERSION): Likewise.
11554 * configure.in: Minor clean up of multilib stuff.
11555
11556 From David Johnson <davidj@ICSI.Berkeley.EDU>
11557 * {libc,libm}/Makefile.in (lib[cm].a): Delete library first.
11558
11559 * libc/stdlib/environ.c: New file.
11560 * libc/stdlib/Makefile.in (OFILES): Build it.
11561 * libc/sys/h8500hms/crt0.c (environ): Deleted.
11562 * libc/sys/m88kbug/crt0.c (environ): Deleted.
11563 * libc/sys/z8ksim/crt0.c (environ): Deleted.
11564 * libc/sys/netware/environ.c: Deleted.
11565
11566Tue Dec 19 15:24:46 1995 Kim Knuttila <krk@cygnus.com>
11567
11568 * configure.in (links): set sys_dir, posix_dir, syscall_dir
11569
11570Wed Dec 13 04:16:25 1995 Michael Meissner <meissner@wogglebug.tiac.net>
11571
11572 * doc/makedoc.c (init_string_with_size,nextword): Move malloc
11573 declaration out to external scope and declare it PTR, not char *.
11574
11575Mon Dec 11 17:35:12 1995 steve chamberlain <sac@slash.cygnus.com>
11576
11577 * libc/include/sys/unistd.h (getpagesize): New declaration.
11578 (_SC_PAGESIZE): New definition.
11579 * libc/include/time.h (CLK_TCK): Defined as CLOCKS_PER_SEC.
11580 * libc/configure.in (i[345]86-*-win32): Remove -DNO_FORK.
11581
11582Fri Dec 1 16:48:46 1995 James G. Smith <jsmith@cygnus.co.uk>
11583
11584 * libc/sys/vr4300/syscalls.c (sbrk): Fixed memory
11585 addressing. System call returns size, not (last address + 1).
11586
11587Thu Nov 30 15:05:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11588
11589 * libm/math/*.c: Removed _foo_r() reentrancy API.
11590 * libc/include/math.h: Removed _foo_r prototypes and macros.
11591
11592 * libm/math/*.c: On systems with IEEE single precision "doubles"
11593 move foo() -> foof() wrapper code from the files that implement
11594 the standard IEEE double precision functions to the files that
11595 implement IEEE single precision functions. (ie. On those systems
11596 sin is moved from s_sin.c to sf_sin.c). There should eventually
11597 be use of a C extension (like gcc's alias attribute) so that the
11598 wrappers are not needed at all.
11599
11600 * libc/sys/sysnec810/sbrk.c: Cast &end to char * to get around
11601 strict NEC V810 compiler.
11602 * libc/misc/dprintf.c (getnumber): Cast char * to unsigned char *
11603 for same reason.
11604
11605Wed Nov 29 14:25:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11606
11607 * libc/stdlib/strtol.c (_strtol_r): Replaced with implementation
11608 from NetBSD C library.
11609 * libc/stdlib/strtoul.c (_strtoul_r): Likewise.
11610
11611 * libc/stdlib/assert.c (__assert): Renamed from __assertfail
11612 and adapted from implementation I wrote for NetBSD C library.
11613 The difference is __assert doesn't take a format argument,
11614 so that there won't be multiple copies of the same string
11615 constant in the executable if assertions are enabled in
11616 more than one source module.
11617 * libc/include/assert.h (assert): Changed to call __assert.
11618
11619Tue Nov 28 16:54:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11620
11621 * libc/stdlib/strtod.c (_strtod_r): Changed to not assign to
11622 word1 on systems with 32 bit doubles.
11623 * libc/stdlib/qsort.c (qsort): Cast some void *'s to char *'s
11624 so that we can do arithmetic on them.
11625 * libc/misc/dprintf.c: Changed to support stdarg.h for ANSI
11626 compilers.
11627
11628Tue Nov 28 16:03:32 1995 Doug Evans <dje@canuck.cygnus.com>
11629
11630 * libc/sys/arm/crt0.S: Zero bss.
11631
11632Fri Nov 24 16:09:23 1995 Doug Evans <dje@deneb.cygnus.com>
11633
11634 * libc/include/unctrl.h: New file.
11635 * libc/misc/{Makefile.in,dprintf.c,unctrl.c,misc.tex}: New files.
11636 * configure.in (subdirs): Add libc/misc.
11637 * libc/Makefile.in (SUBDIRS): Add misc.
11638 (SUBLIBS): Add misc/lib.a.
11639
11640 * libc/include/sys/reent.h (struct _reent): Make __sf last member.
11641
11642Wed Nov 22 19:49:47 1995 Doug Evans <dje@deneb.cygnus.com>
11643
11644 * libc/stdio/vfprintf.c (__sbprintf): Init fake._data.
11645 (_vfprintf_r): Call CHECK_INIT.
11646
11647Tue Nov 14 02:52:12 1995 Doug Evans <dje@canuck.cygnus.com>
11648
11649 * Makefile.in (MULTITOP): Delete.
11650 (MULTISRCTOP, MULTIBUILDTOP): Add.
11651 * configure.in: Delete call to cfg-ml-com.in. Call config-ml.in
11652 instead of cfg-ml-pos.in.
11653
11654Wed Nov 8 01:24:08 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
11655
11656 * libc/sys/vr4300/syscalls.c: Added clean version of sbrk().
11657 * libc/sys/vr4300/crt0.S: Cleaned up. Added check for FPU
11658 presence.
11659
11660Thu Nov 2 22:25:06 1995 Michael Meissner <meissner@tiktok.cygnus.com>
11661
11662 * libc/string/strtok.c: Include string.h to pick up strtok_r
11663 prototype.
11664
11665Wed Nov 1 18:54:11 1995 Jason Molenda (crash@phydeaux.cygnus.com)
11666
11667 * libc/string/strtok.c: include <_ansi.h>.
11668 * libc/time/asctime_r.c: `reresult' -> `result'.
11669
11670Wed Nov 1 14:35:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11671
11672 * libc/time/{ctime.c, gmtime.c, lcltime.c}: Wrap functions
11673 in #ifndef _REENT_ONLY ... #endif conditional.
11674
11675 * libc/include/string.h (_strtok_r): Remove declaration.
11676 * libc/include/time.h (_asctime_r): Remove declaration.
11677 * libc/string/strtok.c (_strtok_r): Removed.
11678 * libc/time/asctime.c (_asctime_r): Removed.
11679
11680 * libc/string/Makefile.in (OFILES): Add new object.
11681 * libc/string/strtok_r.c: New file. strtok_r function as
11682 specified by POSIX.1c, adapted from strtok implementation
11683 from NetBSD C library.
11684 * libc/string/strtok.c (strtok): Reimplemented in terms of
11685 strtok_r.
11686
11687 * libc/time/Makefile.in (OFILES): Add new objects.
11688 * libc/time/{asctime_r.c, ctime_r.c, gmtime_r.c, lcltime_r.c}:
11689 New files, reentrant time functions specified by POSIX.1c.
11690 * libc/time/{asctime.c, ctime.c, gmtime.c, lcltime.c}: Non-
11691 reentrant time functions re-written in terms of reentrant
11692 functions.
11693 * libc/time/lcltime.c: Renamed from localtime.c
11694
11695 * libc/include/time.h: Add prototypes for asctime_r, ctime_r,
11696 gmtime_r, and localtime_r.
11697
11698Sat Oct 28 14:34:31 1995 steve chamberlain <sac@slash.cygnus.com>
11699
11700 * libc/sys/win32/crt0.c (mainCRTStartup): Call cygwin_crt0.
11701 * libc/include/sys/unistd.h (getlogin): Revert change of
11702 Oct 19.
11703 * libc/include/sys/signal.h (sigprocmask): Change prototype
11704 so it compiles with c++.
11705
11706Wed Oct 25 15:43:18 1995 Michael Meissner <meissner@cygnus.com>
11707
11708 * libc/include/machine/setjmp.h (PowerPC _JBLEN): Consider it a
11709 PowerPC if __PPC__ is defined. Bump jump_buf length to 62 ints,
11710 to give some room in case we need to align the jmp_buf.
11711
11712 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Rewrite to use
11713 the new ppc-asm.h include file the compiler provides to specify
11714 function prologue/epilogue. Eliminate saves of the xer and ctr
11715 registers, which are volatile. Before starting to save registers,
11716 align to 8 byte boundary.
11717
11718Mon Oct 23 11:20:51 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
11719
11720 * libc/sys/vr4300/syscalls.c: Added empty kill() function,
11721 referenced by standard libraries.
11722
11723Thu Oct 19 21:39:47 1995 Fred Fish <fnf@cygnus.com>
11724
11725 * libc/unix/Makefile.in, libc/string/Makefile.in,
11726 libc/stdio/Makefile.in, libc/reent/Makefile.in,
11727 libc/posix/Makefile.in:
11728 Remove tabs from otherwise empty line. Confuses some
11729 older non-GNU versions of "make".
11730
11731Thu Oct 19 16:32:17 1995 steve chamberlain <sac@slash.cygnus.com>
11732
11733 * libc/sys/unistd.h (getlogin): Returns const char *.
11734
11735Wed Oct 18 12:57:50 1995 steve chamberlain <sac@slash.cygnus.com>
11736
11737 * libc/include/fcntl.h (O_BINARY, O_TEXT): New.
11738 * libc/include/errno.h: Moved into and include...
11739 * libc/include/sys/errno.h: New file.
11740 * libc/include/sys/wait.h: New file.
11741 * libc/stdio/rename.c (_rename_r): Use _rename system call if available.
11742 * libc/sys/win32/*: Moved out.
11743 * libc/sys/win32/crt0.c: Rewritten to cope with shared library.
11744 * configure.in (i[345]86-*-win32): HAVE_RENAME
11745
11746Wed Oct 18 09:58:27 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
11747
11748 * libc/unix/sigset.c (sigemptyset, sigaddset): Prefix #undef to
11749 avoid macro expansion for these two names.
11750
11751Tue Oct 17 08:45:33 1995 Doug Evans <dje@canuck.cygnus.com>
11752
11753 * libc/machine/h8500/psi.S: r6 renamed to fp.
11754
11755Sun Oct 15 12:58:10 1995 Michael Meissner <meissner@wogglebug.tiac.net>
11756
11757 * configure.in (powerpc*): No longer need to define
11758 NO_LONGLONG_POINTERS to supress warnings.
11759
11760Sat Oct 14 12:55:08 1995 Jim Wilson <wilson@chestnut.cygnus.com>
11761
11762 * libc/reent/reent.c (_reclaim_reent): Call cleanup indirectly
11763 through PTR instead of directly.
11764
11765 * libc/sys/sh/crt0.S: Clean up formatting. Delete unused
11766 non-standard constructor support.
11767
11768Thu Oct 12 11:39:42 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11769
11770 * libc/stdlib/dtoa.c (_dtoa_r): Set result pointer to the
11771 address of the Bigint instead of the address of its _x field,
11772 as the size the result buffer was calculated accordingly.
11773 Fix from Jim Wilson <wilson@chestnut@cygnus.com>.
11774
11775 * libc/stdlib/{div.c, ldiv.c}: Replaced with implementation
11776 from NetBSD C library. No longer special cases division by
11777 zero (which needs to be done by the application anyway), but
11778 it doesn't need to call abs() (or labs()) four times either.
11779
11780 * libc/stdlib/qsort.c: Replaced with implementation from
11781 NetBSD C library.
11782
11783Tue Oct 10 14:01:10 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11784
11785 * libc/stdio/vfprintf.c: Replaced with implementation from
11786 NetBSD C library (which is derived from the 4.4BSD C library).
11787 * libc/stdio/cvt.c: Removed.
11788 * libc/stdio/Makefile: Updated.
11789
11790Tue Oct 10 12:15:23 1995 steve chamberlain <sac@slash.cygnus.com>
11791
11792 * libc/sys/win32/syscalls.c (rename): New.
11793 * libc/sys/win32/include/winkernel.h (MoveFileExA): New.
11794
11795Fri Oct 6 12:18:43 1995 Jim Wilson <wilson@chestnut.cygnus.com>
11796
11797 * libc/machine/sh/Makefile.in (setjmp.o): Depend on setjmp.S.
11798 * libc/machine/sh/setjmp.S: Rename from setjmp.s.
11799
11800 * libc/sys/sh/Makefile.in (OFILES, all): Delete setjmp.o.
11801 (setjmp.o): Delete rule to build setjmp.o.
11802 * libc/sys/sh/setjmp.S: Delete file.
11803
11804Fri Oct 6 11:19:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11805
11806 * libc/stdlib/mprec.c (d2b): Added support for _DOUBLE_IS_32BITS.
11807 * libc/stdlib/mprec.h: Fixed constants used for IEEE single float
11808 format. Added #defines to map d2b, i2b, low0bits, lshift, mult,
11809 pow5mult and s2b to identifiers with leading underscores.
11810 * libc/stdlib/Makefile.in: Add mprec.h as a dependency to dtoa.o,
11811 ecvtbuf.o, mprec.o and strtod.o. Sort dependencies.
11812
11813Thu Oct 5 17:27:30 1995 steve chamberlain <sac@slash.cygnus.com>
11814
11815 * libc/sys/posix/popen.c (sys/types.h): Include.
11816
11817Thu Oct 5 16:33:01 1995 Doug Evans <dje@canuck.cygnus.com>
11818
11819 * libc/sys/win32/syscalls.h (fhandler): New struct.
11820 (__lookup_fhandler, __lookup_fhandler_hook): Declare.
11821 (__fhandler_normal): Declare.
11822 (hinfo): New member op_handlers.
11823 * libc/sys/win32/syscalls.c (__read): Don't validate fd.
11824 (__write): Likewise.
11825 (_read, _write, _open, _close, _lseek): Validate fd here.
11826 Move file type specific stuff to foo_normal.
11827 (read_normal, write_normal, open_normal, close_normal, lseek_normal):
11828 New functions.
11829 (__lookup_fhandler): New function.
11830 (__lookup_fhandler_hook, __fhandler_normal): New variables.
11831
11832 From anders.blomdell@control.lth.se (Anders Blomdell)
11833 * libc/sys/win32/crt0.c (vfork_init): Unset __FD_TABLE__.
11834 Don't touch standard handles.
11835 * libc/sys/win32/spawn.c (_spawn): Use STARTF_USESTDHANDLES.
11836 (_execve): Only create __FD_TABLE__ if necessary.
11837 * libc/sys/win32/include/winkernel.h (STARTF_*): Define.
11838
11839Thu Oct 5 14:25:14 1995 steve chamberlain <sac@slash.cygnus.com>
11840
11841 * libc/sys/win32/sys/termios.h (FLUSHO): New.
11842 * libc/sys/win32/include/win*.h: Moved a load of prototypes around.
11843 * libc/sys/win32/pipe.c (_fctnl): Ignore F_SETFL without errors.
11844 * libc/sys/win32/exception.c (ehandler3): set strace when a signal
11845 without a handler is received.
11846 * libc/sys/win32/Makefile.in: Remove --nodelete.
11847 * libc/sys/win32/resouce.c (gettimeofday): New.
11848 * libc/sys/win32/syscalls.c (path_to_real_path): New.
11849 * libc/sys/win32/syscalls.h (include/wincon.h): Don't include.
11850
11851Wed Oct 4 13:10:35 1995 Doug Evans <dje@canuck.cygnus.com>
11852
11853 * libc/sys/win32/dirsearch.c (opendir): stat real path name.
11854 Don't append "/*" to search pattern if trailing '/' already there,
11855 append "*".
11856 * libc/sys/win32/spawn.c (_spawn): CreateProcess doesn't seem to
11857 like /'s, convert them to \'s. Handle //<drive>/ path names.
11858 Add space for quoted \'s in arg string. Print translated prog name
11859 and original prog name.
11860 (_execve): Handle parent doing exec a teensy bit better.
11861 * libc/sys/win32/syscalls.h (__path_to_real_path): Update prototype.
11862 * libc/sys/win32/syscalls.c (__path_to_real_path): Don't assume
11863 path needs conversion, handle both cases. Delete `const' from result.
11864 (hash_path_name): New function.
11865 (_open): Call it.
11866 (_stat): Likewise. Fill in more fields for directories.
11867 * libc/sys/win32/wait.c (_wait): Explicitly pass -1 to waitpid.
11868 (wait_for_any): Fix trace message.
11869 (waitpid): Explicitly test for intpid == 0.
11870
11871 From anders.blomdell@control.lth.se (Anders Blomdell)
11872 * libc/sys/win32/spawn.c (__vfork_get_empty_entry): zero fill result
11873 so `next' is valid.
11874
11875Sat Sep 30 15:00:15 1995 Jason Molenda (crash@phyeaux.cygnus.com)
11876
11877 * libc/sys/win32/spawn.c (_spawn): Make quoting rules more
11878 complicated.
11879
11880Sat Sep 30 10:25:57 1995 Jason Molenda (crash@phydeaux.cygnus.com)
11881
11882 * libc/include/_ansi.h: set _HAVE_STDC if __STDC__ is defined
11883 at all, not just == 1.
11884 * libm/math/wf_acos.c (acosf): check for _HAVE_STDC, not __STDC__.
11885
11886Sat Sep 30 04:30:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
11887
11888 * libc/sys/win32/include/winbase.h: include <wintypes.h> and <winnt.h>
11889 * libc/sys/win32/include/wintypes.h: include <winnt.h>
11890 * libc/sys/win32/include/winnt.h: avoid multiple inclusion of this
11891 file.
11892
11893Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
11894
11895 * libc/sys/syscalls.c (getcwd): Fix off by one error.
11896
11897 * libc/sys/signal.c (sleep): Fill it in.
11898 * libc/sys/termios.c (tcflush): Use PurgeComm
11899 (tcsetattr): Set some more of the bits.
11900 * libc/sys/include/winkernel.h: Add PurgeComm and Sleep.
11901
11902Fri Sep 29 04:33:53 1995 Doug Evans <dje@deneb.cygnus.com>
11903
11904 * libc/sys/arm/crt0.S (fp): Initialize to 0.
11905 Conditionally include .idata$3 stuff ifdef __pe__.
11906
11907Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
11908
11909 * libc/sys/win32/crt0.c (hmap_init): Call __init_hinfo.
11910 * libc/sys/win32/pipe.c (pipe): Ditto.
11911 * libc/sys/win32/syscalls.c (__read): Use new vtime and vmin fields.
11912 * libc/sys/win32/syscalls.h (hinfo): vtime, vmin are new.
11913 * libc/sys/win32/termios.c (tcsetattr): Init new fields.
11914 (tcgetattr): Contents are new.
11915 * libc/sys/win32/include/winkernel.h (DCB): New.
11916 (GetCommState, SetCommState): New.
11917
11918Thu Sep 28 16:29:09 1995 Doug Evans <dje@deneb.cygnus.com>
11919
11920 * libc/sys/arm/crt0.S (_start): Define.
11921
11922Thu Sep 28 12:26:45 1995 steve chamberlain <sac@slash.cygnus.com>
11923
11924 * libc/sys/arm/crt0.S: Move stack to top of RAM on PIE board.
11925 * libc/sys/arm/syscalls.c (_read, _write): Use the SWI properly.
11926
11927 * libc/sys/win32/sysconf.c: New
11928 * libc/sys/win32/sys/winadvapi.h: New
11929 * libc/sys/win32/syscalls.h (hinfo): Added timeout_len, w_binary, r_binary.
11930 * libc/sys/win32/crt0.c (hmap_init): Initialize new fields.
11931 * libc/sys/win32/pipe.c (pipe): Ditto.
11932 * libc/sys/win32/signal.c (_raise): New.
11933 (_kill): Moved from spawn.c
11934 * libc/sys/win32/spawn.c (kill): Moved to signal.c
11935 * libc/sys/win32/syscalls.c (__read): Use new fields.
11936 (_open): Ditto.
11937 * libc/sys/win32/termios.c (tcflush, tcsetattr, tcgetattr): Fill in.
11938 * libc/sys/win32/exceptions.c (__stack_trace): Keep going for longer.
11939 * libc/include/sys/unistd.h (rmdir): Takes const path.
11940 * libc/include/sys/stat.h (mkdir): Takes const path.
11941 * libc/include/sys/signal.h (SIGTTOU, SIGTTIN): New for win32.
11942
11943Thu Sep 28 10:11:27 1995 Doug Evans <dje@canuck.cygnus.com>
11944
11945 * libc/sys/win32/spawn.c (_spawn): Fix quoting.
11946
11947 Add support for specifying paths as //<drive>/foo/bar.
11948 * libc/sys/win32/syscalls.h (__path_needs_conversion_p): Declare.
11949 (__path_to_real_path): Declare.
11950 (PATH_TO_REAL_PATH): New macro.
11951 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): Minor cleanup.
11952 (__path_needs_conversion_p, __path_to_real_path): New functions.
11953 (_open): Fix test for error return from CreateFileA.
11954 Handle new path syntax.
11955 (_link, mkdir, rmdir, getcwd, chdir, stat): Handle new path syntax.
11956 * libc/sys/win32/dirsearch.c (opendir): Likewise.
11957
11958Wed Sep 27 16:36:46 1995 steve chamberlain <sac@slash.cygnus.com>
11959
11960 * libc/sys/win32/include/*.h: Reorganized
11961 * libc/sys/win32/include/WINREADME: New.
11962 * libc/sys/win32/Makefile.in (DLLS): Build version.a.
11963 * libc/sys/win32/*.c: Fix for new include scheme.
11964 * libc/sys/win32/crt0.c (__this_uinfo_buf, __this_uinfo): New.
11965 * libc/sys/win32/getlogin.c (getlogin): Use uinfo.
11966 * libc/sys/win32/passwd.c (*): Fix.
11967 * libc/sys/win32/syscalls.c (get[e|][g|u]id): Use passwd info.
11968 (_stat): Get directory owner and permissions right.
11969 * libc/sys/win32/syscalls.h (uinfo): New.
11970 * libc/sys/win32/version.def: Remove leading underscores.
11971
11972Tue Sep 26 18:18:47 1995 Jason Molenda (crash@phydeaux.cygnus.com)
11973
11974 * libc/sys/win32/key.c: include "include/wincon.h".
11975
11976Tue Sep 26 07:21:48 1995 steve chamberlain <sac@slash.cygnus.com>
11977
11978 * libc/sys/win32/{key, stubs}.c: New.
11979 * libc/sys/win32/Makefile: Adjust to cope.
11980 * libc/sys/win32/crt0.c (vfork_init_first): Cope with -ve pids.
11981 (environ_init): Change env names to upper case.
11982 * libc/sys/win32/dirsearch.c (readdir): Don't fill in inode number.
11983 * libc/sys/win32/passwd.c (*): Fill in the functions.
11984 * libc/sys/win32/pipe.c (_fcntl): F_GETFL returns O_RDWR.
11985 * libc/sys/win32/spawn.c (_spawn): Cope with -ve pids.
11986 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): New function.
11987 (_open): Initialze hmap->execable_p too.
11988 * libc/sys/win32/syscalls.c (getuid, getgid, geteuid, getegid): Return from macros.
11989 (_fstat): Fill in permissions.
11990 * libc/sys/win32/syscalls.h (hinfo): Add execable_p.
11991
11992Fri Sep 22 13:47:27 1995 Doug Evans <dje@canuck.cygnus.com>
11993
11994 * configure.in (cfg-ml-com.in invocation): Use ${with_multilib_top}
11995 if defined.
11996 (cfg-ml-pos.in invocation): Likewise.
11997
11998Fri Sep 22 11:43:44 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11999
12000 * Makefile.in (MATHOBJS_IN_LIBC): Added s_isinf.o, sf_isinf.o,
12001 s_isnan.o and sf_isnan.o.
12002
12003Wed Sep 20 14:50:19 1995 Ian Lance Taylor <ian@cygnus.com>
12004
12005 * All Makefile.in files: added maintainer-clean target as a
12006 synonym for realclean.
12007
12008Wed Sep 20 11:02:50 1995 Jeff Law (law@snake.cs.utah.edu)
12009
12010 * libc/include/machine/setjmp.h: Add hppa support.
12011 * libc/machine/hppa/setjmp.S: New file with setjmp/longjmp
12012 support.
12013 * libc/machine/hppa/Makefile.in: Related changes.
12014
12015Tue Sep 19 12:09:01 1995 J.T. Conklin <jtc@blues.cygnus.com>
12016
12017 * configure.in (machine_dir): Don't set for v810-*-*.
12018
12019Fri Sep 15 20:22:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12020
12021 * libc/sys/win32/crt0.c (passover): Change to handle MKS quoting
12022 conventions correctly.
12023
12024Thu Sep 14 13:37:22 1995 J.T. Conklin <jtc@blues.cygnus.com>
12025
12026 * libc/stdio/puts.c: Update documentation of return value to match
12027 ANSI standard.
12028
12029Thu Sep 14 01:52:37 1995 Doug Evans <dje@canuck.cygnus.com>
12030
12031 Fix file descriptor inheritance.
12032 * libc/sys/win32/syscalls.h (CHILD_P): Define again.
12033 (NOT_OPEN_FD): Fix.
12034 * libc/sys/win32/spawn.c (vfork0): Only create inheritable handle if
12035 close-on-exec flag not set. Initialize child's entire fd table.
12036 * libc/sys/win32/syscalls.c (_open): Only create inheritable handle if
12037 CHILD_P.
12038 * libc/sys/win32/pipe.c (pipe): Only create new handle as inheritable
12039 if CHILD_P. Initialize entire hmap entry.
12040 (dup): Only create new handle as inheritable if CHILD_P.
12041 (dup2): Likewise. Properly initialize hmap entry.
12042
12043 * libc/sys/win32/spawn.c (_execve): Don't pass _P_SEARCH_PATH to
12044 _spawn.
12045 (_exit): Use CHILD_P.
12046 * libc/sys/win32/syscalls.c (_fstat): Fix call to memset.
12047 (_stat): Likewise.
12048
12049Mon Sep 11 23:09:39 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12050
12051 * libc/sys/win32/crt0.c (passover): fix up the state table.
12052 * libc/posix/popen.c: Added.
12053 * libc/posix/Makefile.in: compile popen.c.
12054
12055Mon Sep 11 11:43:38 1995 J.T. Conklin <jtc@cygnus.com>
12056
12057 * libc/include/machine/ieeefp.h: On the h8/300, h8/300h and
12058 h8/500 define _DOUBLE_IS_32BITS.
12059
12060Sat Sep 9 17:55:54 1995 Doug Evans <dje@canuck.cygnus.com>
12061
12062 Get vfork/exec/spawn/cwait/wait working again.
12063 * libc/sys/win32/syscalls.h (VFORK_NEWBORN_PSEUDO_PID): Define.
12064 (procinfo): New member vfork_level.
12065 * libc/sys/win32/crt0.c (__vfork_next_pid): Delete.
12066 (vfork_init_first): Use GetCurrentProcessId to get pid.
12067 Initialize vfork_level.
12068 (vfork_init): Delete __PID__.
12069 (environ_init): New function. Undo patch of Aug 19, Posix says
12070 environment variables are case sensitive.
12071 (mainCRTStartup): Call it.
12072 * libc/sys/win32/spawn.c (__vfork_next_pid): Delete.
12073 (my_longjump: Make static.
12074 (_spawn): New argument `h'. Delete setting of __PID__.
12075 Delete local `idx'. Look for chars that need quotes, rather than
12076 ones that don't. Set handle of created process in `h'.
12077 Result is process id if created task.
12078 (allocate_spawn_entry): New function.
12079 (spawnvp, spawnv): Call it. Store handle and pid in procinfo entry.
12080 (_execve): Set __FD_TABLE__ before spawning child.
12081 Scan our fd table when passing fds, not our parent's.
12082 Store handle and pid in procinfo entry.
12083 (vfork0): Ensure strace message always printed.
12084 Set child pid to VFORK_NEWBORN_PSEUDO_PID.
12085 (vfork): Don't clobber result of vfork0.
12086 * libc/sys/win32/wait.c (cwait): Fix non-error result (is pid).
12087 (wait_for_any): Ignore processes in state FORK_STATE_VFORK_0.
12088
12089 * libc/sys/win32/syscalls.h (procinfo): New members `handle_valid_p'
12090 and `exit_code'.
12091 * libc/sys/win32/spawn.c (allocate_spawn_entry): Initialize them.
12092 (vfork0): Likewise. Distinguish children, grandchildren, etc. by
12093 adding vfork level to pseudo-pid.
12094 (vfork1): If not root, set state back to FORK_STATE_VFORK_0.
12095 (spawnvp, spawnv, _execve): Set handle_valid_p if success.
12096 (_exit): If child, set exit code.
12097 (__vfork_record_death): Only close process handle if valid.
12098 * libc/sys/win32/wait.c (wait_for_single): Watch for children that
12099 didn't exec.
12100 (wait_for_any): Likewise. Start scan after root entry.
12101
12102Fri Sep 8 18:48:02 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12103
12104 * libc/include/sys/types.h (off_t): off_t back to 32 bits.
12105 * libc/include/sys/_types.h (_off_t): _off_t back to 32 bits.
12106 * libc/sys/win32/syscalls.c (_fstat): st_size is lower 32-bits
12107 of actual file length.
12108
12109 * libc/sys/win32/sys/wait.h: include <sys/types.h>.
12110 * libc/include/paths.h: _PATH_BSHELL added.
12111 * libc/include/sys/unistd.h: define STDIN_FILENO, STDOUT_FILENO,
12112 and STDERR_FILENO.
12113
12114Thu Sep 7 21:02:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12115
12116 * libc/include/ar.h: Added.
12117 * libc/include/sys/types.h: ino_t goes back to 32-bits.
12118 * libc/sys/win32/syscalls.h (hinfo): added .namehash field.
12119 * libc/sys/win32/syscalls.c (_open): compute .namehash based
12120 on filename.
12121 (_fstat): use .namehash for inode number of the fd.
12122
12123Thu Sep 7 12:57:19 1995 steve chamberlain <sac@slash.cygnus.com>
12124
12125 * libc/sys/win32/{console,ioctl,pipe,spawn,syscalls,wait}.? (*):
12126 Change hinfo to __this_procinfo.
12127 * libc/sys/win32/crt0.c: Remove procinfo_list.
12128
12129Wed Sep 6 18:38:26 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12130
12131 * libc/include/sys/types.h (ino_t): Define ino_t correctly for
12132 win32 environment.
12133
12134Wed Sep 6 18:09:29 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12135
12136 * libc/sys/win32/include/grp.h: Removed.
12137 * libc/sys/include/grp.h: Added.
12138 * libc/sys/win32/grp.c: Include <grp.h>.
12139
12140Wed Sep 6 16:52:48 1995 steve chamberlain <sac@slash.cygnus.com>
12141
12142 * libc/include/sys/signal.h (__need_MAX_SIGNALS): Removed.
12143 (sigset_t, sigaction, SIG_SETMASK, SIG_BLOCK, SIG_UNBLOCK):
12144 Defined for all but strict ANSI.
12145 * libc/include/sys/reent.h (__need_MAX_SIGNALS): Removed.
12146 * libc/include/machine/setjmp.h: Get win32 _JBLEN right.
12147 * libc/signal/signal.c (_signal_r): Changed from using
12148 _MAX_SIGNALS to NSIG.
12149 * libc/sys/win32/crt0.c (__current_pid, __parent_hmap, __child_hmap,
12150 __hmap): Deleted.
12151 (__strace, __vfork_next_pid): New.
12152 (__exe_suffix): Default to 1.
12153 (passover, table): Understand quoted arguments.
12154 (vfork_init_first): New.
12155 (vfork_init): Initialize new process structure.
12156 (mainCRTStartup): Pass environ to main.
12157 * exceptions.c (__sig_mask): New
12158 (ehandler3): Ignore signals in mask.
12159 (really_exit): Remove CHILD_P test.
12160 * pipe.c (pipe, dup, dup2): Use new process and file structure.
12161 * resource.c (getrusage): Ditto.
12162 * signal.c (sigprocmask): New.
12163 * spawn.c (*): Rewritten.
12164 * syscalls.c (*): Use new process and file structure.
12165 (find_unused_handle): New.
12166 * syscalls.h (MAX_HANDLES): Deleted.
12167 (hinfo): Removed child_created_p.
12168 (MAX_CHILDREN): Deleted.
12169 (vfork_jmp_info, procinfo): New.
12170 * wait.c (*): Mostly new.
12171 * sys/strace.h (_STRACE_PARANOID): New.
12172 * sys/param.h: New file.
12173
12174Wed Sep 6 17:03:53 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12175
12176 * libc/include/sys/stat.h: add S_BLKSIZE.
12177 * libc/include/sys/_types.h: _off_t is a 64-bit type under win32.
12178 * libc/include/sys/types.h: define off_t and ino_t to be 64 bit
12179 types under win32.
12180 (mode_t): add a #else to avoid multiple definitons.
12181
12182 * libc/sys/win32/Makefile.in: add grp.c.
12183 * libc/sys/win32/grp.c: include grp.h correctly.
12184 * libc/sys/win32/syscalls.c (_fstat): set almost all of the fields
12185 of the st structure with real information.
12186 * libc/sys/win32 (dirent): d_ino is of type ino_t.
12187
12188Wed Sep 6 10:41:34 1995 Doug Evans <dje@canuck.cygnus.com>
12189
12190 * libc/include/sys/types.h (mode_t): Correct for svr4 sparc's
12191 and (maybe) sparc64.
12192 (nlink_t): Provide typedef.
12193
12194Tue Sep 5 18:46:05 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12195
12196 * libc/sys/win32/grp.c: New file.
12197 * libc/sys/win32/include/grp.h: New file.
12198
12199Tue Sep 5 13:47:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12200
12201 * libc/include/machine/ieeefp.h: Added whitespace to make this
12202 file easier to maintain.
12203 On the sh, define either __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN
12204 depending on the value of __LITTLE_ENDIAN__.
12205 On the sh3e, define _DOUBLE_IS_32BITS.
12206
12207Fri Sep 1 15:35:18 1995 James G. Smith <jsmith@beauty.cygnus.com>
12208
12209 * libc/sys/vr4300/syscalls.c: Added missing support
12210 routines. _raise() and getpid().
12211
12212Fri Sep 1 14:12:48 1995 James G. Smith <jsmith@rtl.cygnus.com>
12213
12214 * configure.in (mips*vr4300*-*-elf): Fixed silly mistake
12215
12216Fri Sep 1 08:42:11 1995 James G. Smith <jsmith@beauty.cygnus.com>
12217
12218 * configure.in (mips*vr4300*-idt-*) Add support for RISQ monitor
12219 and VR4300 processor.
12220 * libc/sys/vr4300: Add directory.
12221 * libc/sys/vr4300/{Makefile.in, crt0.S, syscalls.c}: Add SIM
12222 monitor run-time support.
12223
12224Thu Aug 31 09:16:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12225
12226 * libc/stdlib/Makefile.in (CHEWOUT_FILES): Removed atol.def.
12227 * libc/stdlib/stdlib.tex: Don't include atol.def.
12228
12229Wed Aug 30 20:38:28 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12230
12231 * libc/sys/win32/uname.c (uname): hardcode processor as `i386'.
12232
12233Wed Aug 30 10:48:08 1995 steve chamberlain <sac@slash.cygnus.com>
12234
12235 * libc/ctype/Makefile.in: Fill in _to* dependencies.
12236
12237Tue Aug 29 17:14:29 1995 steve chamberlain <sac@slash.cygnus.com>
12238
12239 * libc/sys/win32/{dirsearch.c,sys/dirent.h}: Fix namespace problems.
12240 * libc/sys/win32/sys/dirent.h (struct dirent): Added d_ino.
12241 * libc/sys/win32/strace.c (__sys_printf): Increase size of buffer.
12242 * libc/sys/win32/smallprint.c (__small_vsprintf): Remove debug.
12243 * libc/sys/win32/dirsearch.c (readdir): Set d_ino.
12244
12245Tue Aug 29 19:00:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12246
12247 * libc/stdlib/atol.c (atol): DEFUN -> _DEFUN.
12248
12249Tue Aug 29 16:08:09 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12250
12251 * libc/stdlib/Makefile.in (OFILES): Added atoff.o and atol.o.
12252 * libc/stdlib/atoff.c: New file.
12253 * libc/stdlib/atof.c (atoff): Moved to atoff.c.
12254 * libc/stdlib/atoi.c (atol): Removed.
12255 * libc/stdlib/atol.c: Removed duplicate documentation.
12256
12257 * libc/include/ctype.h (_tolower, _toupper): Moved inside
12258 #ifndef _STRICT_ANSI conditional.
12259 * libc/ctype/Makefile.in (OFILES): Added _tolower.o and _toupper.o
12260 * libc/ctype/_tolower.c: New file.
12261 * libc/ctype/_toupper.c: New file.
12262 * libc/ctype/tolower.c (_tolower): Moved to _tolower.c.
12263 * libc/ctype/toupper.c (_toupper): Moved to _toupper.c.
12264 * libc/ctype/toascii.c (_toascii): Removed.
12265
12266Tue Aug 29 12:17:32 1995 Doug Evans <dje@canuck.cygnus.com>
12267
12268 * libc/sys/sparc64/sys/types.h: Deleted.
12269
12270Mon Aug 28 22:06:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12271
12272 * libc/sys/win32/uname.c (uname): change `Windows/NT' to `Windows_NT'
12273 and recognize Windows_95 systems.
12274
12275Mon Aug 28 19:50:54 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12276
12277 * libc/sys/win32/crt0.c (vfork_init, hmap_init): standard I/O fds
12278 and passed fds should be opened in text mode.
12279
12280Mon Aug 28 18:51:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12281
12282 * libc/sys/win32/crt0.c (vfork_init): mark passed fds as used
12283 in __hmap, set to binary mode by default.
12284
12285Tue Aug 22 14:12:37 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12286
12287 * libc/sys/sh/syscalls.c: Updated all functions to call __trap34.
12288 * libc/sys/sh/trap.S (__trap34): Renamed from __trap3. Use trap
12289 vector 34.
12290
12291Sat Aug 19 18:25:37 1995 steve chamberlain <sac@slash.cygnus.com>
12292
12293 * Makefile.in (install): Install all libraries found in the
12294 top level. If there's a sys/<type>/include directory,
12295 install those headers into include.
12296
12297 * libc/sys/win32/kernel.def351: Delete
12298 * libc/sys/win32/{comctl32.def, comdlg32.def, ctl3d32.def,
12299 glaux.def, glu32.def, largeint.def, libc.def, libcmt.def,
12300 lz32.def, mgmtapi.def, mpr.def, msacm32.def, msvcrt.def,
12301 nddeapi.def, netapi32.def, odbc32.def, odbccp32.def, oldnames.def,
12302 ole32.def, oleaut32.def, opengl32.def, rasapi32.def, rpcndr.def,
12303 rpcns4.def, rpcrt4.def, scrnsave.def, shell32.def, snmp.def,
12304 uuid.def, vdmdbg.def, version.def, vfw32.def, win32spl.def,
12305 winmm.def, winspool.def, winstrm.def, wsock32.def}: New.
12306
12307 * libc/sys/win32/Makefile.in: Update for new files and new dlltool options.
12308 * libc/sys/win32/crt0.c: Force all env names to upper case.
12309 * libc/sys/win32/sys/win*.h -> libc/sys/win32/include
12310 * libc/sys/win32/*.c: Headers have moved.
12311 * libs/sys/win32/*.[ch]: Test for open_p rather than BAD_HANDLE,
12312 __vfork_child_idx is now __vfork_child_ptr.
12313
12314 * posix/execvp (execvp): Don't crash if no PATH envname.
12315
12316Fri Aug 18 12:22:59 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12317
12318 * libc/include/sys/reent.h (_Bigint): Removed _reclaim field.
12319 * libc/reent/reent.c (_reclaim_reent): Free Bigint's by going
12320 through the _freelist instead of through the _reclaim list.
12321 * libc/stdlib/mprec.c (_Balloc): Don't put new node on _reclaim list.
12322 * libc/stdlib/mprec.c (_Bcopy): Make like version in master dtoa.c
12323 sources.
12324
12325Thu Aug 17 11:03:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12326
12327 * libc/machine/h8500/setjmp.S: New file.
12328 * libc/include/machine/setjmp.h: Updated for H8/500.
12329
12330Wed Aug 16 16:19:11 1995 steve chamberlain <sac@slash.cygnus.com>
12331
12332 * libc/sys/win32/syscalls.c (_open): More stracing.
12333 (_stat): Open the file in O_BINARY.
12334
12335Wed Aug 16 15:49:01 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12336
12337 * libc/machine/h8300/setjmp.S: New file.
12338 * libc/include/machine/setjmp.h: Updated for H8/300 and H8/300H.
12339
12340Tue Aug 15 10:31:09 1995 Doug Evans <dje@canuck.cygnus.com>
12341
12342 * libc/sys/win32/crt0.c (__exe_suffix): New global.
12343 (mainCRTStartup): Set __exe_suffix from LIBC_EXE_SUFFIX.
12344 * libc/sys/win32/spawn.c (_spawn): Add .exe suffix based on
12345 __exe_suffix. Free fd_tab after setting env variable.
12346 (spawnv,_execve): Update.
12347 * libc/sys/win32/syscalls.h (__exe_suffix): Declare.
12348 * libc/sys/win32/smallprint.c (puts,putn): New (static) functions.
12349 (__small_vfprintf): New function.
12350 * libc/sys/win32/strace.c (__sys_printf): Call __small_vfprintf.
12351 * libc/sys/win32/wait.c (cwait): Validate argument.
12352
12353 * libc/sys/win32/syscalls.c (queue_file_deletion): Add trace message.
12354 (process_deletion_queue): Likewise.
12355
12356 * libc/sys/win32/Makefile.in (lib.a): Don't call $(RANLIB).
12357
12358Mon Aug 14 10:14:10 1995 steve chamberlain <sac@slash.cygnus.com>
12359
12360 * libc/sys/win32: Copyrights and gratuitous indenting.
12361
12362Mon Aug 14 01:32:58 1995 Doug Evans <dje@canuck.cygnus.com>
12363
12364 * libc/sys/win32/syscalls.c (queue_file_deletion): Finish.
12365 (process_deletion_queue): Likewise.
12366 (__close_all_files): New function.
12367 (_close): Only queue file deletion if really a file.
12368 * libc/sys/win32/spawn.c (_spawn): Only ensure .exe suffix if
12369 _P_APPEND_EXE.
12370 (_exit): Call __close_all_files.
12371
12372 * libc/stdlib/system.c: #include <errno.h>.
12373 (_system_r): Fix results in -DNO_EXEC case.
12374
12375 * libc/sys/win32/sys/dirent.h (DIR): New member __d_dirname.
12376 Reorganize structure.
12377 * libc/sys/win32/dirsearch.c (opendir): Use stat to determine
12378 if argument is valid. Save directory name in DIR. malloc space
12379 for dirent struct separately.
12380 * libc/sys/win32/syscalls.c (stat): Fix test for directory.
12381
12382 * libc/include/errno.h (ENAMETOOLONG): Define.
12383 * libc/string/strerror.c (strerror): Reword ENFILE.
12384 Add ENOSYS, ENMFILE, ENOTEMPTY, ENAMETOOLONG.
12385
12386Sun Aug 13 22:42:25 1995 Doug Evans <dje@canuck.cygnus.com>
12387
12388 * libc/sys/win32/crt0.c (__progname): New global.
12389 (mainCRTStartup): Support strace=bitmask,filename.
12390 * libc/sys/win32/dirsearch.c (all fns): Add trace messages.
12391 * libc/sys/win32/syscalls.c (_write): Print parent trace message
12392 if error.
12393 (getcwd): Handle len too small. Convert '\\' to '/'.
12394 * libc/sys/win32/sys/fcntl.h (O_RDWR): = O_RDONLY|O_WRONLY.
12395 Add prototypes for open, creat, fcntl.
12396 (O_APPEND): Change value to conform to Microsoft's value.
12397 * libc/sys/win32/sys/strace.h (_STRACE): Protect in do/while.
12398
12399 * libc/stdlib/getopt.c: New file.
12400 * libc/stdlib/Makefile.in: Build it.
12401
12402Sat Aug 12 12:17:14 1995 Doug Evans <dje@canuck.cygnus.com>
12403
12404 * libc/posix/execvp.c (execvp): Watch for DOS drives ifdef _WIN32.
12405 Fix scanning of $PATH.
12406 * libc/posix/exec*.c: Call _execve, not execve.
12407 * libc/posix/execve.c: New file.
12408 * libc/posix/Makefile.in (OFILES): Add execve.o.
12409
12410 * libc/sys/win32/sys/strace.h (_STRACE_ALL, _STRACE_UHOH,
12411 _STRACE_STARTUP, _STRACE_SYSCALL): More bit masks of things to trace.
12412 (_STRACE): If level==0, always print. Handle new bit mask scheme.
12413 * libc/sys/win32/crt0.c: Update _STRACE calls.
12414 * libc/sys/win32/{pipe.c,resource.c,spawn.c,syscalls.c,wait.c}: Ditto.
12415
12416 * libc/sys/win32/smallprint.c (rn): Fix digit list.
12417
12418 * libc/sys/win32/syscalls.c (__really_exit): Move from here,
12419 * libc/sys/win32/exceptions.c (really_exit): to here. Avoid recursion.
12420 * libc/sys/win32/spawn.c (spawnvp): Pass `prog' as image name.
12421 Print __seterrno trace message first.
12422 (_execve): Renamed from execve.
12423 (vfork): Update __strace usage.
12424 (__vfork_child_pid): Deleted.
12425 (__vfork_children, __vfork_child_idx): New globals.
12426 (_spawnvp): New function.
12427 (spawnvp, spawnv, _execve): Call _spawnvp.
12428 (init_child): Record child in __vfork_children.
12429 (__vfork_get_entry, __vfork_record_death): New functions.
12430 * libc/sys/win32/crt0.c (mainCRTStartup): Initialize __vfork_children.
12431 * libc/sys/win32/kernel32.def (WaitForMultipleObjects): Define.
12432 * libc/sys/win32/syscalls.h (CHILD_P): New macro. All files updated.
12433 (MAX_CHILDREN, CHILD_INTERIM_PID): Define.
12434 (children): New typedef.
12435 (__vfork_children,__vfork_child_idx): Declare.
12436 (__vfork_get_entry,__vfork_record_death): Declare.
12437 * libc/sys/win32/wait.c (wait_for_single,wait_for_any): New functions.
12438 (waitpid): Handle pid == -1.
12439 * libc/sys/win32/sys/wintypes.h (WaitForMultipleObjects): Declare.
12440 * configure.in (i386-win32): Add -DNO_FORK.
12441 * libc/syscalls/sysfork.c (fork): Don't define for NO_FORK.
12442 * libc/reent/execr.c (_fork_r): Likewise.
12443 * libc/stdlib/system.c (do_system): New function.
12444 If WIN32, try to get shell path from $SH_PATH, use vfork.
12445 (_system_r): Return 1 for (s == NULL) if WIN32 or unix,
12446 otherwise return 0.
12447
12448Sat Aug 12 11:08:00 1995 steve chamberlain <sac@slash.cygnus.com>
12449
12450 * libc/stdlib/{mallocr.c, mstats.c}: Move mstats from mallocr to mstats.c.
12451 * libc/sys/win32/fcntl.h: Don't include self.
12452 * libc/sys/win32/sys/strace.h (_STRACE_WM, _strace_wm): New.
12453 * libc/sys/win32/sys/winbase.h: (GetUserName) New.
12454 * libc/sys/win32/sys/wincon.h (HANDLER_ROUTINE): Define correctly.
12455 * libc/sys/win32/sys/wintypes.h (GetFileType, GetCurrentProcess, CloseHandle,
12456 SetFilePointer, CreateFileA, GetFileInformationByHandle, GetStdHandle):
12457 Correct prototypes.
12458 * libc/sys/win32/strace.c: New file.
12459 * libc/sys/win32/smallprint.c: New file.
12460 * libc/sys/win32/crt0.c (func): Delete.
12461 (mainCRTStartup): Fix alloca usage. Set handles explictly.
12462 * libc/sys/win32/dirsearch.c: Clean up handle usage, fix calls to __seterrno.
12463 * libc/sys/win32/exceptions.c: Lint.
12464 * libc/sys/win32/{ioctl.c, pipe.c, resource.c, spawn.c, cwait.c, syscalls.c}:
12465 Clean up handle usage.
12466 * libc/sys/win32/syscalls.c (__sys_printf): Moved into strace.c
12467 (open.c): Default file type is text.
12468 * libc/sys/win32/uname.c (uname): Use __small_sprintf.
12469 * libc/sys/win32/advapi32.def: New
12470
12471Fri Aug 11 17:11:52 1995 Doug Evans <dje@canuck.cygnus.com>
12472
12473 * configure.in (posix_dir, libc_posix_lib): New variables.
12474 Define LIBC_POSIX_LIB in makefile to be $libc_posix_lib.
12475 (i[345]86-*-win32): Define posix_dir.
12476 Delete -DNO_EXEC. Define -DHAVE_OPENDIR.
12477 (if unix_dir): Fix typo.
12478 * libc/posix/{Makefile.in,closedir,opendir,readdir,rewinddir,
12479 scandir,seekdir,telldir}: New files.
12480 * libc/posix/{execl.c,execle.c,execlp.c,execv.c,execvp.c}: Move here
12481 from libc/unix.
12482 * libc/Makefile.in (LIBC_POSIX_LIB): Define.
12483 (SUBDIRS): Add posix.
12484 (SUBLIBS): Add $(LIBC_POSIX_LIB).
12485
12486 * libc/include/sys/signal.h (SIGCHLD): Add for _WIN32.
12487 (NSIG): Increase to 21.
12488 * libc/include/sys/unistd.h (pid_t): Move from here,
12489 * libc/include/sys/types.h (pid_t): to here.
12490
12491 * libc/sys/win32/syscalls.h: #include "sys/strace.h".
12492 (__ptrace): Delete.
12493 (hinfo): New members close_exec_p, child_created_p.
12494 (struct exception_list): Define.
12495 (__hmap): Redefine as pointer to table.
12496 (__parent_hmap, __child_hmap): New globals.
12497 (__set_errno, __really_exit): Declare.
12498 (__vfork_child_pid): Declare.
12499 * libc/sys/win32/crt0.c (__strace, __trace_file): New global.
12500 (__orig_stdin, __orig_stdout, __orig_stderr): New globals.
12501 (__parent_hmap, __child_hmap): New globals.
12502 (__hmap): Redefine as pointer to active map.
12503 (__get_console): New function.
12504 (mainCRTStartup): Change leading '=' in environ vars to '!'.
12505 (env __FD_TABLE__): Watch for this and initialize our fd/handle
12506 mapping table from it if defined.
12507 (argv, envp): Dump if __strace >= 4.
12508 (main): Call here.
12509 * libc/sys/win32/exceptions.c (myp): Redefine.
12510 (__syscalls_b): Delete.
12511 (__stack_trace): New function.
12512 (ehandler3): Update to use _STRACE. Print stack trace.
12513 Call __really_exit instead of exit.
12514 (init_exceptions): Delete args argc,argv. New arg mine.
12515 * libc/sys/win32/kernel32.def (CreatePipe, DuplicateHandle, FindClose,
12516 FindFirstFileA, FindNextFileA, GetComputerNameA,
12517 GetEnvironmentVariableA, ReadFile, SetEnvironmentVariableA): Define.
12518 * libc/sys/win32/signal.c (signal): Validate arg.
12519 (alarm, sleep): Define as stubs for now.
12520 * libc/sys/win32/syscalls.c (all fns): Update to use _STRACE.
12521 (__syscalls_b, errno): Delete.
12522 (__vfork_child_pid, __vfork_jmp_buf): New globals.
12523 (__seterrno): Handle more errors.
12524 (__sys_printf): Renamed from _ptrace.
12525 (__really_exit): New function.
12526 (queue_file_deletion, process_deletion_queue): New functions.
12527 (__resume_parent): New function.
12528 (_unlink): Handle trying to delete open file.
12529 (__totime_t): Renamed from totime_t.
12530 (setsid, __read, __write): New functions.
12531 (cwait, spawnvp, R, D, getrusage, _execve, _fork, _wait): Delete.
12532 * libc/sys/win32/{dirsearch.c,getlogin.c,misc.c,resource.c,passwd.c,
12533 times.c,spawn.c,pipe.c,wait.c,termios.c,ioctl.c,uname.c}: New files.
12534 * libc/sys/win32/console.c: Update to new definition of __hmap.
12535 * libc/sys/win32/Makefile.in: Build new files.
12536 * libc/sys/win32/sys/{dirent.h,winerror.h,wait.h,termios.h}: New files.
12537 * libc/sys/win32/sys/{ioctl.h,utsname.h}: New files.
12538 * libc/sys/win32/sys/strace.h: Renamed from ptrace.h.
12539 * libc/sys/win32/sys/wintypes.h (GetCurrentDirectoryA): Fix prototype.
12540
12541Thu Aug 10 16:32:52 1995 Doug Evans <dje@canuck.cygnus.com>
12542
12543 * libc/sys/h8500hms/misc.c (kill): Handle SIGABRT.
12544
12545Thu Aug 10 12:07:38 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12546
12547 * libc/stdlib/{dtoa.c, strtod.c}: Merged assorted changes that
12548 have been made to the master dtoa.c sources (from netlib.att.com)
12549 since they were integrated into newlib in early 1992. Fixes
12550 problems with storage leaks and handling of numbers with very
12551 negative exponents.
12552
12553Wed Aug 9 14:18:39 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12554
12555 * Makefile.in (all): set rootpre and srcrootpre before calling
12556 sub-makes.
12557
12558Tue Aug 8 17:20:45 1995 steve chamberlain <sac@slash.cygnus.com>
12559
12560 * libc/sys/win32/crt0.c: Change __hmap usage.
12561 * libc/sys/win32/exceptions.c: Use _ptrace call.
12562 * libc/sys/win32/syscalls.c: Use _ptrace call.
12563 (read, write): Cope with DOS style CRLF when in TEXT mode.
12564 * libc/sys/win32/syscalls.h: Declare hinfo struct.
12565 * libc/sys/win32/user32.def: Get DefWindowProc arg list right.
12566 * libc/sys/win32/sys/fcntl.h, ptrace.h: New.
12567 * libc/sys/win32/sys/windows.h: Fill in rest of messages.
12568 * libc/sys/win32/sys/wintypes.h: Fix attribute syntax.
12569
12570Mon Aug 7 13:04:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12571
12572 * libc/include/math.h (cabs, cabsf, drem, dremf): New declarations.
12573
12574 * libm/math/{w_cabs.c, wf_cabs.c, w_drem.c, wf_drem.c}: New files,
12575 wrappers for hypot() and remainder() for BSD libm compatibility.
12576 These are public domain implementations written by me for the
12577 NetBSD libm some time ago. Note cabs() is required by ucbtest.
12578 * libm/math/Makefile.in (obj): Added w_cabs.o and w_drem.o.
12579 (fobj): Added wf_cabs.o and wf_drem.o.
12580
12581Thu Aug 3 08:13:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12582
12583 * libc/sys/h8500hms/misc.c: New file.
12584 * libc/sys/h8500hms/Makefile.in (OFILES): Add misc.o.
12585
12586Wed Aug 2 16:46:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12587
12588 * libc/time/localtime.c (localtime): Fix problem with leap year
12589 handling. Stole algorithm from Arthur David Olson's tz code.
12590
12591Mon Jul 31 10:21:54 1995 steve chamberlain <sac@slash.cygnus.com>
12592
12593 * configure.in: (z8k-*sim): Renamed z8k-*-coff.
12594
12595 * libc/sys/z8ksim/glue.c (_getpid, _kill): New
12596 (_exit): Use argument.
12597
12598Fri Jul 28 15:17:04 1995 Doug Evans <dje@canuck.cygnus.com>
12599
12600 * libc/sys/win32/sys/winbase.h (_WINBASE_H): Define.
12601
12602Wed Jul 26 16:24:19 1995 steve chamberlain <sac@slash.cygnus.com>
12603
12604 * libc/sys/sh/trap.S (perrno): Align correctly. (pr 7532)
12605
12606Mon Jul 24 13:42:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12607
12608 * configure.in (sparc*): Add -DMALLOC_ALIGNMENT=8 to
12609 target_cflags.
12610
12611Mon Jul 24 11:42:07 1995 steve chamberlain <sac@slash.cygnus.com>
12612
12613 * libc/sys/win32/crt0.c (mainCRTStartup): Look for
12614 ptrace with case insensitivity
12615 * libc/sys/win32/{user32.def, gdi32.def, exceptions.c, screen.c,
12616 sys/winbase.h, sys/windows.h, sys/wintypes.h, sys/winuser.h}:
12617 New files.
12618
12619Fri Jul 21 11:22:26 1995 Doug Evans <dje@canuck.cygnus.com>
12620
12621 * Makefile.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
12622 (MULTITOP, MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): New variables.
12623 (all, install, *clean): Use new multilib support.
12624 * configure.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
12625
12626Fri Jul 21 07:11:42 1995 steve chamberlain <sac@slash.cygnus.com>
12627
12628 * libc/include/sys/signal.h (__WIN32__): New.
12629
12630 * configure.in (i386-*-win32): Remobe SBRK_IS_ALLOC.
12631
12632 * libc/stdlib/mprec.c (Balloc): Fix trampling problem.
12633 (ulp, b2d): Handle 32 bit doubles.
12634 * libc/stdlib/mprec.h: Handle 32 bit doubles.
12635 * libc/stdlib/strtod.c (_strtod_r): Ditto.
12636
12637Fri Jul 14 08:24:58 1995 steve chamberlain <sac@slash.cygnus.com>
12638
12639 from medp@primag.co.uk:
12640 * libc/stdio/setvbuf.c (setvbuf): Fix line buffering on
12641 dynamically allocated buffers.
12642
12643Thu Jul 20 10:11:03 1995 Fred Fish <fnf@fishbowl>
12644
12645 * libc/include/sys/unistd.h (_exit): Add _ATTRIBUTE ((noreturn)).
12646 * libc/stdlib/exit.c (unistd.h): Include to pick up _exit() declaration.
12647
12648Thu Jul 20 10:16:25 1995 Michael Meissner <meissner@tiktok.cygnus.com>
12649
12650 * configure.in (powerpc): Fix previous fix.
12651
12652Wed Jul 19 14:08:55 1995 Michael Meissner <meissner@tiktok.cygnus.com>
12653
12654 * configure.in (powerpc-*eabiaix*): Update PowerPC multilib
12655 directories for this target.
12656
12657Wed Jul 19 00:34:30 1995 Jeffrey A. Law <law@rtl.cygnus.com>
12658
12659 * configure.in (hppa): Add machine_dir definition.
12660 * libc/machine/hppa: New directory with PA specific implementations
12661 of the basic memory/string functions.
12662
12663Tue Jul 18 21:16:00 1995 Michael Meissner <meissner@tiktok.cygnus.com>
12664
12665 * configure.in: Update current PowerPC multilib directories.
12666 Split big and little endian configurations.
12667
12668Tue Jul 18 11:55:33 1995 Ian Lance Taylor <ian@cygnus.com>
12669
12670 * configure.in: Add --enable-single-float option to configure to
12671 control use of MIPS single-float directories. Default to yes.
12672
12673 * Makefile.in (all): Don't recurse into multilib directory if it
12674 does not exist.
12675
12676Mon Jul 17 15:51:30 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12677
12678 * libc/sys/sh/syscalls.c: Fix typo.
12679
12680Mon Jul 3 14:38:52 1995 Steve Chamberlain <sac@slash.cygnus.com>
12681
12682 * Makefile.in, libc/Makefile.in, libc/sys/Makefile.in:
12683 Pass down DLLTOOL.
12684 * libc/include/process.h: Define WAIT_CHILD.
12685 * libc/include/types.h: Get sizes right for win32.
12686 * configure.in (i386-*-pe): Becomes i386-win32.
12687 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
12688 wintypes.h,sys/file.h,sys/resource.h}: Second pass.
12689 * libc/stdlib/mallocr.c: Don't round up memory block if SBRK_IS_ALLOC
12690 is defined.
12691
12692Wed Jun 28 18:34:54 1995 Steve Chamberlain <sac@slash.cygnus.com>
12693
12694 * configure.in (i[345]86-*-pe): New target (NT).
12695 * host/any: DLLTOOL new.
12696 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
12697 wintypes.h,sys/file.h,sys/resource.h}: Preliminary support for
12698 WIN32 (just enough to cross host the comp-tools).
12699
12700Thu Jun 22 11:45:18 1995 Doug Evans <dje@canuck.cygnus.com>
12701
12702 * libc/machine/h8300/{cmpsi.S,ucmpsi.S,divhi3.S,mulhi3.S,mulsi3.S}:
12703 Deleted. These files live in gcc/config/h8300/lib1funcs.asm now.
12704
12705Mon Jun 19 11:40:40 1995 Doug Evans <dje@canuck.cygnus.com>
12706
12707 * libc/include/machine/ieeefp.h (arm): Change to always be
12708 __IEEE_BIG_ENDIAN (even on little endian ARM's).
12709
12710Thu Jun 8 14:22:28 1995 Steve Chamberlain <sac@slash.cygnus.com>
12711
12712 * libc/sys/crt0.S: Initialze sp, and call exit after main.
12713 * libc/sys/syscalls.c (abort): New.
12714 * configure.in (arm): Define ABORT_PROVIDED.
12715
12716Wed Jun 7 14:04:35 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12717
12718 * configure.in (powerpc): Define multidirs.
12719
12720Mon Jun 5 16:10:13 1995 Doug Evans <dje@canuck.cygnus.com>
12721
12722 * libc/sys/arm/crt0.S: Add __USER_LABEL_PREFIX__ support.
12723
12724Thu Jun 1 10:51:47 1995 Sean Eric Fagan <sef@cygnus.com>
12725
12726 * configure.in (sparclite): Delete target_cflags. Define multidirs.
12727
12728Wed May 24 14:23:25 1995 Steve Chamberlain <sac@slash.cygnus.com>
12729
12730 * configure.in, libc/include/machine/ieeefp.h: Modified
12731 for arm:
12732 libc/machine/arm/*, libc/sys/arm/*: New
12733
12734Tue May 23 13:53:07 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12735
12736 * libc/include/machine/ieeefp.h: Use __PPC__ instead of
12737 __powerpc__ when determining endianness.
12738
12739Wed May 10 07:55:56 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12740
12741 * configure.in (m68*): Add multidir for the m68332.
12742
12743 * host/any (CC): Fix typo in last change.
12744
12745Fri Apr 14 22:20:31 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
12746
12747 * libc/include/sys/config.h: Test __m68k__ instead of __m68000__
12748 when determining endianness.
12749 * libc/include/machine/ieeefp.h: Ditto.
12750 * libc/machine/m68k/setjmp.S: Use '&' instead of '#' for immediate
12751 operands.
12752
12753Fri Apr 14 14:14:29 1995 Doug Evans <dje@chestnut.cygnus.com>
12754
12755 * libc/include/errno.h (ENOTEMPTY): Define.
12756
12757Thu Apr 6 12:21:20 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12758
12759 * configure.in (sparc-sun-sunos*): Add -DMALLOC_ALIGNMENT=8 to
12760 target_cflags.
12761
12762 * libc/sys/sun4/Makefile.in (COPYOFILES): Added rem.o, multiply.o,
12763 and umultiply.o.
12764
12765 * libc/stdio/tmpnam.c (worker): Unconditionally increment count
12766 instead of only when open succeeds. ANSI requires that multiple
12767 calls to tmpnam() result in different files.
12768
12769 * libc/sys/sun4/Makefile.in (COPYRENAMEOFILES): New macro, list of
12770 objects pulled in from /lib/libc.a that must be renamed before
12771 being pulled into newlib. /lib/libc.a's div.o conflicted with
12772 newlib's file with the same name.
12773
12774 * libc/stdlib/ldiv.c (ldiv): Call labs() instead of abs().
12775
12776 * host/any (CC, AS, AR, RANLIB): Changed so that executables in
12777 the build tree will only be used if the executables are present
12778 (instead of just the Makefiles).
12779
12780 * libc/include/stdlib.h (mblen, mbtowc, wctomb, mbstowcs,
12781 wcstombs): Define.
12782 * libc/stdlib/{mblen.c, mbstowcs.c, wcstombs.c}: New files, null
12783 versions of these functions that I orignally wrote for the
12784 NetBSD C library.
12785 * libc/stdlib/{mbtowc.c, wctomb.c}: Replaced functions with
12786 versions I wrote for NetBSD.
12787
12788Wed Mar 29 12:42:42 1995 Kung Hsu <kung@mexican.cygnus.com>
12789
12790 * libc/sys/sparclite/Makefile.in: add crt0.s and make info.
12791 * libc/sys/sparclite/crt0.s: ditto.
12792
12793Tue Mar 28 20:28:03 1995 Rob Savoye <rob@rtl.cygnus.com>
12794
12795 * configure.in: Add soft-float for proelf.
12796
12797Mon Mar 27 12:07:56 1995 Steve Chamberlain <sac@bang.hack.com>
12798
12799 * libc/stdlib/mprec.h (Bcopy): Copy the right number
12800 of bytes.
12801
12802Mon Mar 27 11:24:22 1995 Doug Evans <dje@chestnut.cygnus.com>
12803
12804 * Makefile.in (all): Depend on `force'.
12805 * configure.in (syscall_dir): Renamed from fake_sys_dir.
12806 (libc_syscall_lib): Renamed from libc_fake_sys_lib.
12807 (LIBC_SYSCALL_LIB): Renamed from LIBC_FAKE_SYS_LIB.
12808 * libc/Makefile.in: Likewise.
12809 * libc/include/reent.h: Update syscall references.
12810 (_fcntl_r): Add prototype.
12811 * libc/syscalls/*.c #include <reent.h>.
12812 (*) Call reentrant version if REENTRANT_SYSCALLS_PROVIDED.
12813
12814Mon Mar 20 16:57:39 1995 Doug Evans <dje@deneb.cygnus.com>
12815
12816 * libc/include/sys/stat-dj.h (S_ISBLK): Define.
12817 (S_ISCHR, S_ISDIR, S_ISFIFO, S_ISREG): Define.
12818 * libc/include/sys/stat.h (stat-dj.h): Include ifdef MSDOS.
12819 (time.h, sys/types.h): Always include (even if MSDOS).
12820 (stat): Fix prototype.
12821
12822Fri Mar 10 11:30:38 1995 Ian Lance Taylor <ian@cygnus.com>
12823
12824 * configure.in (i[345]86-*-go32): Compile with -DNO_EXEC.
12825
12826Mon Feb 27 18:00:39 1995 Jim Wilson <wilson@chestnut.cygnus.com>
12827
12828 * libc/machine/h8500/psi.S (EXTPSIHI_RN_SN): Ifdef out.
12829
12830Mon Feb 13 16:10:03 1995 Ian Lance Taylor <ian@cygnus.com>
12831
12832 * libc/include/regdef.h: New file.
12833 * libc/machine/mips/machine/regdef.h: New file.
12834
12835Mon Feb 6 15:24:29 1995 Doug Evans <dje@canuck.cygnus.com>
12836
12837 * libc/sys/sparc64/sys/fcntl.h (open): Add ellipsis.
12838
12839Fri Jan 27 13:52:10 1995 Steve Chamberlain <sac@splat>
12840
12841 * libc/sys/sh/crt0.S: Pass main's return to exit.
12842 * libc/sys/sh/trap.S: Put errno in the right place.
12843
12844Tue Jan 24 18:57:56 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
12845
12846 * libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Integrate change
12847 from fdlibm 5.2: handle |x| < 3pi/4 more efficiently.
12848 * libm/math/ef_rem_pio2.c: Likewise.
12849 * libm/math/e_log10.c: Remove unused static one.
12850 * libm/math/ef_log10.c: Likewise.
12851 * libm/math/s_frexp.c: Likewise.
12852 * libm/math/sf_frexp.c: Likewise.
12853
12854Sun Jan 22 21:26:14 1995 Steve Chamberlain <sac@splat>
12855
12856 * libc/sys/go32/Makefile.in, clock.S, dir.c, setjmp.S, stat.c,
12857 longjmp.S: Upgraded.
12858 * libc/sys/go32/sys/setjmp.h: Upgraded.
12859 * libc/sys/go32/sys/go32.h, dpmi.h: New files.
12860
12861Fri Jan 20 18:33:18 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
12862
12863 * configure.in: Add many entries to multidirs for mips targets.
12864
12865Wed Jan 18 10:19:25 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12866
12867 * libm/math/e_jn.c (__ieee754_yn): Integrate change from fdlibm
12868 5.2 which fixes bug where jn(-1,x) is three times larger than
12869 the actual answer.
12870 * libm/math/ef_jn.c (__ieee754_ynf): Likewise.
12871
12872Sun Jan 15 21:48:58 1995 Steve Chamberlain <sac@splat>
12873
12874 * libc/sys/w65/sys/syscalls.h: New file
12875 * libc/include/machine/ieeefp.h: W65 support.
12876 * libc/include/sys/config.h: Ditto.
12877 * libc/machine/w65/Makefile.in, cmpsi, divsi3, lshrhi.s, mulsi3.c,
12878 sdivhi3.s, smulhi3.s, udivhi3.s, umodhi3.s: New files.
12879 * libc/sys/w65/Makefile.in, crt0.c, syscalls.c, trap.c: New files.
12880
12881Wed Jan 11 15:59:01 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
12882
12883 * libc/sys/Makefile.in (lib.a, crt0.o): Depend upon subs.
12884
12885Tue Jan 3 15:57:03 1995 Rob Savoye <rob@darkstar.cygnus.com>
12886
12887 * Makefile.in, configure.in: Remove any references to the old
12888 "stub" dir.
12889
12890Thu Dec 22 10:42:08 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
12891
12892 * libc/syscalls/sysopen.c: Write _HAVE_STDC version of open, which
12893 uses ... in prototype.
12894
12895
12896Wed Nov 30 08:39:42 1994 Ian Lance Taylor <ian@rtl.cygnus.com>
12897
12898 * libc/sys/a29khif/sys/libconfig.h: Remove.
12899 * libc/sys/go32/sys/libconfig.h: Remove.
12900 * libc/sys/sun4/sys/libconfig.h: Remove.
12901 * libc/sys/sysvi386/sys/libconfig.h: Remove.
12902 * libc/sys/sysvnecv70/sys/libconfig.h: Remove.
12903 * libc/sys/sparc64/sys/libconfig.h: Remove.
12904
12905 * libc/include/_ansi.h (_FLOAT_ARG, _FLOAT_RET): Don't define.
12906 * libc/include/sys/config.h (_FLOAT_ARG, _FLOAT_RET): Likewise.
12907 * libc/include/math.h: Change all uses of _FLOAT_RET and
12908 _FLOAT_ARG to float.
12909 * libm/test/math.c: Likewise.
12910 * testsuite/libm.sac/math.c: Likewise.
12911 * testsuite/libm.sac/working/math.c: Likewise.
12912
12913Wed Nov 23 22:39:28 1994 Steve Chamberlain (sac@jonny.cygnus.com)
12914
12915 * libc/sys/sh/trap.s,crt0.s,setjmp.s: Renamed with .S so that
12916 gcc calls gas with endian option.
12917 * configure.in (sh): Build little endian version too.
12918
12919Wed Nov 16 18:21:45 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
12920
12921 * configure.in: Configure big and little endian versions for MIPS
12922 targets.
12923
12924Sat Nov 12 21:12:51 1994 Doug Evans <dje@canuck.cygnus.com>
12925
12926 * libc/include/limits.h: Deleted.
12927 * libc/include/machine/limits.h: Deleted.
12928
12929Thu Nov 10 15:32:44 1994 Rob Savoye <rob@rtl.cygnus.com>
12930
12931 * ChangeLog: Remove stub directory. This has all been rewritten
12932 and moved to devo/libgloss.
12933
12934Thu Sep 29 18:31:04 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
12935
12936 * Makefile.in (dvi): Add to info target, use $@ in sub make.
12937 (docs): Merge into info target.
12938 * libm/Makefile.in (dvi): Add $(srcdir).
12939 * libm/math/Makefile.in (chobjs): Remove underscores from file
12940 names. Texinfo doesn't like them.
12941 (wacos.def, ...): Add explicit targets for all .def files.
12942 * libm/math/math.tex: Remove underscores from @include file names.
12943 * doc/Makefile.in (dvi): Add dummy target.
12944 * testsuite/Makefile.in (dvi): Add dummy target.
12945
12946Mon Sep 26 21:17:46 1994 Doug Evans (dje@canuck.cygnus.com)
12947
12948 * Makefile.in (VERSION): Define. For net newlib releases.
12949
12950Thu Sep 22 19:01:26 1994 Doug Evans (dje@canuck.cygnus.com)
12951
12952 * README: New file.
12953
12954Mon Sep 19 16:35:23 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
12955
12956 * libc/stdlib/ecvtbuf.c (_gcvt): Undo last change.
12957
12958Mon Sep 19 11:44:23 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
12959
12960 * libc/stdlib/setenv.c (_findenv): Declare.
12961
12962 * libc/include/sys/fcntl.h: Fix declarations of open, creat, and
12963 fcntl to not use _EXFUN, and change string parameters to open and
12964 creat to be ``const char *''.
12965 * libc/sys/sparc64/sys/fcntl.h: Likewise.
12966 * libc/sys/sparc64/creat.c (creat): Make PATH const.
12967 * libc/syscalls/sysopen.c: Include <fcntl.h>.
12968 (open) Make _FILE const.
12969 * libc/sys/z8ksim/glue.c (_open): Make BUF const.
12970 (_creat): Make PATH const.
12971 * libc/sys/h8300hms/syscalls.c (_open): Make PATH const.
12972 * libc/sys/h8500hms/syscalls.c (_open): Likewise.
12973 * libc/sys/m88kbug/syscalls.c (open): Likewise.
12974 * libc/sys/sh/syscalls.c (_open): Likewise.
12975 * stub/shared/glue.c (open): Make BUF const.
12976 * stub/ex93x/syscalls.c (open): Make FILENAME const.
12977
12978Thu Sep 8 16:39:12 1994 Steve Chamberlain (sac@jonny.cygnus.com)
12979
12980 * libc/include/errno.h: Add ENMFILE
12981 * libc/include/sys/config.h: Support Z8000.
12982 * libc/include/sys/signal.h: New signals for go32.
12983 * libc/machine/h8500/psi.S (__addpsir0r0): New function
12984 * libc/machine/h8500/cmpsi.S (__ucmppsi2): New function
12985 * libc/machine/sh/sdivsi3.s (__sdivsi3): Rewritten.
12986 * libc/stdlib/mallocr.c (_morecore_r): Minimum chunk
12987 size is variable, depending upon CHUNK_POWER.
12988 * libc/sys/go32/*.c: Upgrade to new go32 stuff.
12989
12990Sun Sep 4 17:42:43 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
12991
12992 * libc/stdlib/ecvtbuf.c (_gcvt): Output '-' for negative numbers.
12993
12994Fri Sep 2 10:56:01 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
12995
12996 * libc/include/_ansi.h (_PARAMS): Don't define if already defined.
12997
12998Wed Aug 24 11:11:03 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
12999
13000 * configure.in: Change i[34]86 to i[345]86.
13001
13002 * libc/include/math.h: Don't define HUGE_VAL if it is already
13003 defined.
13004
13005Wed Aug 17 15:18:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
13006
13007 * testsuite/libm.sac/test_erfc.c: Correct some result values.
13008 * testsuite/libm.sac/test_gammaf.c: Likewise.
13009 * testsuite/libm.sac/test_sin.c: Likewise.
13010 * testsuite/libm.sac/test_tanh.c: Likewise.
13011
13012Tue Aug 16 16:12:53 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
13013
13014 * libc/include/machine/ieeefp.h: Don't try set endianness if it is
13015 already set. Define typedefs __int32_t and __uint32_t.
13016 * libc/include/math.h: Include <machine/ieeefp.h>.
13017 (union __dmath): Use __uint32_t.
13018 * libm/math/fdlibm.h, libm/math/*.c: Use __int32_t and __uint32_t
13019 instead of int and unsigned int.
13020
13021Thu Aug 11 15:16:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
13022
13023 Replace the math library with the SunPRO fdlibm package.
13024 * libm/math: Completely changed all files.
13025 * libm/ieeefp: Remove contents and directory.
13026 * libm/Makefile.in (LIBM_FP_LIB): Remove.
13027 (SUBDIRS): Just set to math/lib.a.
13028 * libm/libm.texinfo: Updated for new library.
13029 * libc/include/math.h: Extensive changes for new math library.
13030 * libc/include/ieeefp.h (isnanf, isinff, finitef): Change argument
13031 from _FLOAT_ARG to float.
13032 (maxpowtwo, maxpowtwof): Don't declare.
13033 * configure.in (fp_dir): Removed; was always ieeefp anyhow.
13034 (libm_fp_lib): Removed.
13035 * Makefile.in (MATHOBJS_IN_LIBC): Updated with new file names.
13036 * testsuite/libm.paranoia/Makefile.in (check): Correct --srcdir
13037 argument to ${RUNTEST}.
13038 * testsuite/libm.sac/Makefile.in (LOCAL_CFLAGS): Define.
13039 (.c.o): New rule.
13040 (RUNTESTFLAGS): Set CC and CFLAGS.
13041 (TESTS): Remove test_log2 and test_log2f.
13042 (${TESTS}): Pass ${LOCAL_CFLAGS}, not ${CFLAGS}.
13043 * testsuite/libm.sac/math.c (run_vector_1): Use float, not
13044 _FLOAT_ARG, for single precision argument type.
13045 * testsuite/libm.sac/sac.exp: Treat an error in bit 63 as an
13046 expected failure. Close the input pipe.
13047 * testsuite/libm.sac/test.c (test_sok, test_iok, test_scok):
13048 Correct misspelling of inaccurate.
13049 (test_mok): Use ``inaccurate'', not ``wrong''.
13050 * testsuite/libm.sac/{test_acos.c, test_acosh.c, test_asin.c,
13051 test_asinh.c, test_atan.c, test_atanh.c, test_ceil.c,
13052 test_ceilf.c, test_cos.c, test_cosh.c, test_erf.c, test_erf.c,
13053 test_fabs.c, test_floor.c, test_floorf.c, test_fmod.c,
13054 test_fmodf.c, test_gamma.c, test_log1p.c, test_log1pf.c,
13055 test_yn.c): Correct many result values. Many are still wrong.
13056
13057 * libc/stdlib/ecvtbuf.c (print_e): If _dtoa_r sets decpt to 9999,
13058 just copy the string.
13059 (_gcvt): Always return the buffer.
13060
13061Tue Aug 9 13:43:23 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
13062
13063 * bcopy.c: fixed documentation, bcopy was not specified by ANSI.
13064
13065Wed Aug 3 05:39:41 1994 D. V. Henkel-Wallace (gumby@cygnus.com)
13066
13067 * libc/include/sys/reent.h: (struct _Bigint): add _reclaim
13068 structure.
13069 (struct _reent): add _p5s, _cvtlen, _cvtbuf.
13070 (_reclaim_reent): declare new entry point.
13071 * libc/reent/reent.c (cleanup_glue, _reclaim_reent): new
13072 functions.
13073
13074 * libc/stdlib/mprec.c (Balloc): Keep track of every struct bigint
13075 ever allocated, so that we can later reclaim them all.
13076 (pow5mult): make reentrant.
13077
13078 * libc/stdlib/ecvtbuf.c (fcvtbuf, ecvtbuf): extend these functions
13079 so that when given NULL as a buffer, return a pointer to static
13080 space in the rent structure. This is not documented behaviour;
13081 it's only to support ecvt and fcvt, which aren't ANSI anyway.
13082 * libc/stdlib/efgcvt.c (fcvt, ecvt) Use new functionality (and
13083 therefore become reentrant).
13084
13085 * libc/stdlib/dtoastub.c: remove spurious inclusion of mprec.h.
13086
13087Mon Aug 1 16:52:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
13088
13089 * libc/include/machine/ieeefp.h: Check _AM29K, not ___AM29K__.
13090
13091Thu Jul 28 15:40:21 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
13092
13093 * Makefile.in: Make link to libg.a after libc.a; this is needed
13094 for the testsuites to build executables when everything comes
13095 from the tree.
13096
13097Mon Jun 27 17:14:29 1994 Bill Cox (bill@rtl.cygnus.com)
13098
13099 * libc/Makefile.in: Add a VERSION variable so we can keep track.
13100 * libm/Makefile.in: Add a VERSION variable so we can keep track.
13101
13102Wed Jun 22 10:26:00 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
13103
13104 * libc/include/stdio.h: Use __VALIST, not va_list.
13105
13106Tue May 17 15:43:28 1994 Bill Cox (bill@rtl.cygnus.com)
13107
13108 * testsuite/config/unix-libm.exp, testsuite/lib/libm.exp,
13109 testsuite/libm.sac/execute.exp:
13110 Replace error proc calls with perror calls.
13111
13112Wed May 11 09:25:28 1994 Doug Evans (dje@canuck.cygnus.com)
13113
13114 * libc/include/*.h: #include "_ansi.h" instead of <_ansi.h>.
13115 * libc/include/time.h: #define NULL as 0L.
13116
13117Mon May 9 18:41:20 1994 Doug Evans (dje@canuck.cygnus.com)
13118
13119 * host/any (INCLUDES): Delete -I of gcc/include, gcc -B takes
13120 care of it.
13121
13122Mon May 9 18:39:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
13123
13124 * libc/include/sys/signal.h: Check for __GO32__, not __i386__ and
13125 not __unix__.
13126
13127Sat May 7 17:07:36 1994 Steve Chamberlain (sac@cygnus.com)
13128
13129 * configure.in (TARGET_CFLAGS): Set -O2 as default.
13130 (z8k-*-*): Use syscalls fake sys dir.
13131 * libc/sys/z8k/glue.c: Rename syscalls.
13132 * libc/sys/go32/Makefile.in: Use new routines.
13133 * libc/machine/Makefile.in: Fix typo in ln stuff.
13134
13135Thu May 5 13:47:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
13136
13137 * Makefile.in (libm.a, crt0.o): Use cp if ln fails.
13138 * libc/Makefile.in (crt0.o): Likewise.
13139 * libc/machine/Makefile.in (lib.a): Likewise.
13140 * libc/sys/Makefile.in (lib.a, crt0.o): Likewise.
13141
13142 All Makefile.in files: Added mostlyclean, realclean and distclean
13143 targets.
13144
13145 * Makefile.in: Don't bother to unexport XTRAFLAGS or
13146 XTRAFLAGS_FOR_TARGET, since they are no longer passed down from
13147 the top level Makefile.
13148
13149Tue Apr 26 15:10:34 1994 Doug Evans (dje@canuck.cygnus.com)
13150
13151 * libc/sys/sparc64/sys/stat.h: New file.
13152 * libc/sys/sparc64/sys/time.h: New file.
13153 * libc/sys/sparc64/sys/types.h: New file.
13154
13155Fri Apr 22 12:58:24 1994 Stan Shebs (shebs@andros.cygnus.com)
13156
13157 * stub/ex93x/crt0.s (start): Add code to clear bss.
13158
13159Wed Apr 13 10:34:58 1994 Doug Evans (dje@canuck.cygnus.com)
13160
13161 * libc/include/sys/types.h (time_t): Properly protect inside
13162 #ifndef __time_t_defined.
13163
13164 * libc/stdio/fileno.c: New file.
13165 * libc/stdio/Makefile.in (OFILES, CHEWOUT_FILES): Add fileno.
13166 (fileno.o): Add dependency.
13167 * libc/include/stdio.h (__sgetc): Rename never to _never.
13168 (fileno macro): Disable, needs to do CHECK_INIT first.
13169
13170Mon Apr 11 17:37:09 1994 Bill Cox (bill@rtl.cygnus.com)
13171
13172 * testsuite/Makefile.in (EXPECT, RUNTEST): Set these for the check
13173 goal.
13174
13175 * testsuite/Makefile.in (check): Set TCL_LIBRARY for runtest.
13176 * testsuite/libm.paranoia/Makefile.in (check): Set TCL_LIBRARY for
13177 runtest.
13178 * testsuite/libm.sac/Makefile.in (check): Set TCL_LIBRARY for
13179 runtest.
13180
13181Sat Apr 9 16:18:09 1994 Doug Evans (dje@cygnus.com)
13182
13183 * libc/sys/sparc64/sys/fcntl.h: New file, define solaris versions
13184 of the various constants.
13185
13186Thu Apr 7 21:19:07 1994 Mark Eichin (eichin@cygnus.com)
13187
13188 * libc/include/math.h: #ifndef __math_68881 around things which
13189 conflict with the (gcc-provided) inline functions in
13190 gcc/ginclude/math-68881.h.
13191
13192Thu Apr 7 02:50:43 1994 Doug Evans (dje@cygnus.com)
13193
13194 * libc/include/_syslist.h (_gettimeofday): Define.
13195 (_times): Ditto.
13196 * libc/include/reent.h: #include <machine/types.h> to get _CLOCK_T_.
13197 (struct tms, timeval, timezone): Declare.
13198 (_gettimeofday_r, _times_r): Declare.
13199 * libc/include/time.h (_CLOCK_T_): Don't #undef. Remove
13200 #ifdef _CLOCK_T_ surrounding definition of clock_t.
13201 (time_t): Add multiple definition protection, __time_t_defined.
13202 * libc/include/sys/time.h: Don't #include <time.h>.
13203 Always define struct timezone (remove #ifndef _TIME_H_).
13204 * libc/include/sys/times.h (_CLOCK_T_): Don't #undef. Remove
13205 #ifdef _CLOCK_T_ surrounding definition of clock_t.
13206 * libc/reent/Makefile.in (OFILES): Add timer.o.
13207 (CHEWOUT_FILES): Add timer.def. Add timer.o/timer.c dependence.
13208 * libc/reent/timer.c: New file.
13209 * libc/time/clock.c: #include <reent.h>.
13210 (clock): Call _times_r instead of times.
13211 * libc/time/time.c (HAVE_GETTIMEOFDAY): Renamed from
13212 HAVE_GET_TIME_OF_DAY.
13213 Add comment regarding supporting OS routine(s) required (for docs).
13214 #include <reent.h>.
13215 (time): Call _gettimeofday_r instead of gettimeofday.
13216 * libc/time/asctime.c: Fix comment regarding supporting OS routines.
13217 * libc/time/ctime.c: Ditto.
13218 * libc/time/strftime.c: Ditto.
13219 * libc/sys/sparc64/Makefile.in (TEMPLATE_SFILES): Remove gettimeofday.
13220 (TEMPLATE_SFILES_R): Define here. Also define times.
13221 Add times_r.o/times.S dependence.
13222 (time2.c, junk.c): Deleted.
13223 * libc/sys/sparc64/time2.c: Deleted.
13224 * configure.in (sparc64-*-*): Define HAVE_GETTIMEOFDAY.
13225
13226 * libc/stdio/mktemp.c (_getpid_r): Renamed from _getpid.
13227 * libc/stdio/tmpnam.c (_getpid_r): Ditto.
13228 * libc/sys/sparc64/junk.c: Deleted.
13229
13230Mon Mar 21 16:51:03 1994 Doug Evans (dje@canuck.cygnus.com)
13231
13232 * libc/sys/sparc64/Makefile.in: Add times syscall.
13233 * libc/sys/sparc64/crt0.S: Handle stack bias at run time so we can
13234 be used with and without it. Add comment clarifying Medium/Anywhere
13235 model requirements.
13236 * libc/sys/sparc64/sigsetjmp.S (setjmp, longjmp): Add svr4 support.
13237 * libc/sys/sparc64/sys/syscall.h (SYS_times): Define for sunos4
13238 even if obsolete.
13239
13240Sun Mar 20 15:51:47 1994 Doug Evans (dje@cygnus.com)
13241
13242 * configure.in (target_cflags): Move init.
13243 (sparc64-*-*): Define HAVE_BLKSIZE.
13244
13245Wed Mar 9 10:44:52 1994 Doug Evans (dje@canuck.cygnus.com)
13246
13247 * libc/include/sys/_types.h: New file.
13248 * libc/include/reent.h: #include it.
13249 Add comment describing REENTRANT_SYSCALLS_PROVIDED and
13250 MISSING_SYSCALL_NAMES.
13251 Sort syscalls.
13252 * libc/include/_syslist.h: Remove _raise.
13253 * libc/reent/signalr.c: New file.
13254 * libc/reent/Makefile.in: Compile it.
13255 * libc/signal/signal.c: Only use ifdef SIMULATED_SIGNALS.
13256 Add doc for raise and _raise_r.
13257 * libc/signal/raise.c: Only use ifndef SIMULATED_SIGNALS.
13258 (raise): Call _raise_r.
13259 (_raise_r): Call _getpid_r and _kill_r.
13260 * libc/stdlib/abort.c: Remove inclusion of stdio.h and _syslist.h.
13261 (abort): Loop forever calling raise and _exit.
13262
13263Mon Mar 7 14:40:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
13264
13265 * configure.in: Remove extraneous echo.
13266
13267Thu Mar 3 12:14:22 1994 Doug Evans (dje@canuck.cygnus.com)
13268
13269 * libc/sys/sparc64/sys/dirent.h (MAXNAMLEN): #undef to avoid
13270 collision with unistd.h, and fix for svr4.
13271
13272Wed Mar 2 13:55:25 1994 Doug Evans (dje@canuck.cygnus.com)
13273
13274 * libc/stdio/local.h (_llicvt): Declare.
13275 (CVT_BUF_SIZE): Define (and buffer size from 512 to 128).
13276 * libc/stdio/cvt.c: Include "local.h" to get CVT_BUF_SIZE.
13277 (_llicvt): Define.
13278 (_sicvt): Fix function header (`value' is short).
13279 * libc/stdio/vfprintf.c (_vfprintf_r): Use CVT_BUF_SIZE.
13280 Add printing of long long's support.
13281 Add printing of 8 byte pointer support.
13282
13283Fri Feb 11 21:52:11 1994 Steve Chamberlain (sac@sphagnum.cygnus.com)
13284
13285 * libc/sys/sh/syscalls.c (pipe, execv, wait, fork, utime, chown,
13286 stat, chmod): New hooks.
13287 (sbrk): Abort if stack and heap collide.
13288 * libc/machine/sh/udivsi3, libc/machine/sh/sdivsi3 Modified to
13289 shortcut when given small args.
13290 * libc/machine/sh/setjmp.s: Rewritten.
13291 * libc/machine/sh/strcmp.s (strcmp): New function takes advantage
13292 of cmp/str instruction.
13293
13294Wed Feb 9 15:12:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
13295
13296 * configure.in: Accept powerpc* as a CPU type, using fp_dir ieeefp
13297 and machine_dir powerpc.
13298 * libc/include/machine/setjmp.h, libc/include/machine/ieeefp.h:
13299 Add cases for __powerpc__.
13300 * libc/machine/powerpc/Makefile.in, libc/machine/powerpc/setjmp.S:
13301 New files.
13302
13303 * libc/include/stdio.h (_iprintf_r): Declare correctly.
13304
13305Thu Jan 27 10:36:27 1994 Steve Chamberlain (sac@cygnus.com)
13306
13307 * libc/stdlib/callocr.c: New file with _calloc_r in it.
13308 * libc/stdlib/calloc.c (calloc_r): Now in callocr.c
13309
13310Thu Jan 20 15:14:37 1994 Doug Evans (dje@canuck.cygnus.com)
13311
13312 * libc/stdlib/ecvtbuf.c (print_f): Remove local "done".
13313 (print_e): More comments to describe args, etc.
13314 "type" arg may now be 'g' or 'G' for %g/G format --> remove
13315 trailing blanks.
13316 (_gcvt): Remove locals decpt, sign, end, p, done.
13317 More comments for print_e invocation.
13318 Pass "type" to print_e as is (g/G).
13319
13320Wed Jan 19 16:34:18 1994 Rob Savoye (rob@darkstar.cygnus.com)
13321
13322 * stub/shared/m68k-crt0.S: Changed so it compiles (and runs) on a
13323 stock m68000.
13324
13325Mon Jan 17 15:41:53 1994 Doug Evans (dje@canuck.cygnus.com)
13326
13327 * libc/stdlib/mallocr.c (_morecore_r): Fix aligning of pointer so it
13328 works with any sized pointer, including ones bigger than ints and
13329 longs.
13330
13331Thu Jan 6 14:53:21 1994 Doug Evans (dje@canuck.cygnus.com)
13332
13333 * libc/sys/sparc64/{time2.c,utime.S,utime2.c}: New files.
13334
13335Sat Dec 11 16:17:20 1993 Steve Chamberlain (sac@thepub.cygnus.com)
13336
13337 * libc/include/stdlib.h (_calloc_r): Add prototype.
13338 * libc/machine/h8500/negsi2.c: New file.
13339 * libc/machine/h8500/divsi3.c: Prevent overflow when dividing v
13340 large unsigned numbers.
13341 * libc/machine/h8500/cmpsi.c: Add cmppsi.
13342 * libc/stdlib/mallocr.c (morecore_r): Fix aligning pointers so it
13343 works when sizeof(size_t) != sizeof(char *).
13344 * libc/stdlib/mprec.c (Balloc): Call calloc rather than malloc to
13345 get play area
13346 * libc/stdlib/mprec.h: Define Just_16 if generating for z8000.
13347
13348Mon Dec 6 15:59:53 1993 Doug Evans (dje@rtl.cygnus.com)
13349
13350 * libc/include/assert.h (assert): Handle -traditional.
13351
13352Tue Nov 16 15:49:24 1993 Mark Eichin (eichin@cygnus.com)
13353
13354 * Makefile.in: added ; after every "fi" and "done" that wasn't at
13355 the end of a line (ie. anything before a backslash continuation)
13356 so that bash handles them.
13357
13358Tue Nov 16 12:31:57 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
13359
13360 * libc/sys/go32/lstat.s: new file, copied from stat.s and renamed
13361 stat to lstat
13362
13363Mon Nov 15 15:50:43 1993 Steve Chamberlain (sac@jonny.cygnus.com)
13364
13365 * libc/sys/sh/crt0.s, libc/sys/sh/trap.s,
13366 libc/machine/sh/sdivsi3.s, libc/machine/sh/setjmp.s,
13367 libc/machine/sh/udivsi3.s: Use new calling convention.
13368
13369Mon Nov 15 15:25:38 1993 Mark Eichin (eichin@cygnus.com)
13370
13371 * libc/include/sys/unistd.h, libc/include/sys/stat.h: ANSI-fy
13372 chmod, access, chdir, chown by making _path const. Also fix _amode
13373 param of access.
13374
13375Fri Nov 12 20:25:28 1993 Mark Eichin (eichin@cygnus.com)
13376
13377 * libc/sys/a29khif/_tmpnam.s (_tmpnam): renamed function to
13378 _khif_tmpnam, because it doesn't comply with ANSI but may be
13379 useful anyway. Real tmpnam was already in libc/stdio, and was
13380 colliding with this one (pr 2176.)
13381 * libc/sys/a29khif/stubs.s (tmpnam): removed tmpnam. This file is
13382 the wrong idea anyhow.
13383
13384Mon Nov 8 07:50:16 1993 Doug Evans (dje@canuck.cygnus.com)
13385
13386 * configure.in: Remove h8300h, we have multilib now.
13387
13388Fri Nov 5 12:37:27 1993 Mark Eichin (eichin@cygnus.com)
13389
13390 * libc/string/strcasecmp.c, libc/string/strncasecmp.c: new
13391 functions, to get preference over the ones in libiberty (since we
13392 provide correct declarations in <string.h>.
13393 * libc/string/Makefile.in: add support for strncasecmp,
13394 strcasecmp.
13395
13396Fri Nov 5 09:05:45 1993 D. V. Henkel-Wallace (gumby@blues.cygnus.com)
13397
13398 * Change netware config not to look for cpu explicitly.
13399
13400Thu Nov 4 14:21:25 1993 Doug Evans (dje@canuck.cygnus.com)
13401
13402 * libc/sys/sparc64/{creat.c,junk.c}: New files.
13403 * libc/sys/sparc64/Makefile.in: Add dependencies.
13404
13405Wed Nov 3 10:42:49 1993 Doug Evans (dje@canuck.cygnus.com)
13406
13407 * configure.in: Clean up v9 a bit, new "os" aoutv8.
13408
13409Tue Nov 2 10:00:44 1993 D. V. Henkel-Wallace (gumby@cygnus.com)
13410
13411 * libc/include/sys/reent.h: make structure smaller by allocating
13412 some stuff when needed.
13413 * libc/signal/signal.c: allocate as needed
13414 * libc/stdio/findfp.c,stdio/local.h: ditto
13415 * libc/stdlib/mprec.c: ditto
13416
13417 * libc/time/localtime.c: don't return a dangling stack ptr.
13418
13419Wed Sep 29 20:42:34 1993 Rob Savoye (rob@darkstar.cygnus.com)
13420
13421 * stub/mvme135/crt0.S, stub/mvme135/glue.c: Moved to stub/generic.
13422
13423Wed Sep 29 16:27:49 1993 K. Richard Pixley (rich@sendai.cygnus.com)
13424
13425 * libc/include/stdio.h (__sputc): comment out static inline which
13426 confuses coff toolchains.
13427
13428Thu Sep 2 16:31:36 1993 Mark Eichin (eichin@cygnus.com)
13429
13430 * libc/sys/a29khif/{_close.s, _fstat.s, _lseek.s, _sbrk.s,
13431 _write.s, getpid.c, kill.c, read.s}:
13432 * libc/sys/a29khif/stubs.s: eliminated stubs that already go
13433 through the syscalls directory.
13434
13435Fri Oct 29 13:59:58 1993 Jeffrey Wheat (cassidy@cygnus.com)
13436
13437 * configure.in: fixed double quote gotcha.
13438
13439Wed Oct 27 15:27:09 1993 Rob Savoye (rob@darkstar.cygnus.com)
13440
13441 * stub/ex931: stub library for sparclite board.
13442 * stub/idp: Renamed from mc68ec. Added contructor table
13443 stuff to linker script.
13444 * stub/mvme135: Renamed from m68kmvme. Added contructor table
13445 stuff to linker script.
13446
13447Tue Oct 26 17:01:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
13448
13449 * configure.in: Configure testsuites only if they exist.
13450
13451Tue Oct 26 12:37:11 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
13452
13453 * configure.in: Don't set machine_dir for i386 until there is
13454 something in libc/machine/i386 to compile. For i[34]86-*-netware*
13455 use sys/netware, don't use signal, define NO_EXEC, ABORT_PROVIDED,
13456 CLOCK_PROVIDED and MALLOC_PROVIDED.
13457
13458 * libc/sys/netware: New directory. Contains simplistic and
13459 probably incorrect stubs for NetWare. Should be enough to load
13460 the library.
13461 * libc/sys/netware/crt0.c, libc/sys/netware/environ.c,
13462 libc/sys/netware/getpid.c, libc/sys/netware/link.c: New NetWare
13463 stub files.
13464
13465 * libc/reent/execr.c: Don't use if NO_EXEC is defined.
13466 * libc/reent/sbrkr.c: Don't use if MALLOC_PROVIDED is defined.
13467 * libc/stdlib/abort.c: Don't use if ABORT_PROVIDED is defined.
13468 * libc/time/clock.c: Don't use if CLOCK_PROVIDED is defined.
13469
13470Mon Oct 25 16:48:08 1993 Roland H. Pesch (pesch@cygnus.com)
13471
13472 * testsuite/Makefile.in: add "docs" dummy target for consistency
13473 with rest of newlib; turn "info" and "install-info" into dummy
13474 targets, since they wouldn't have worked. (Depended on
13475 nonexistent "doc" subdir.)
13476
13477Fri Oct 22 20:37:32 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
13478
13479 * configure.in: handle mips* instead of mips
13480
13481Thu Oct 21 08:57:24 1993 Ian Lance Taylor (ian@cygnus.com)
13482
13483 * libc/include/sys/dirent.h: New file. If it is not overridden by
13484 a version of libc/sys/*/sys/dirent.h, it includes the next
13485 <dirent.h> file in case there is one lurking somewhere.
13486
13487Fri Oct 15 14:17:40 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
13488
13489 * libc/stdlib/strtoul.c (_strtoul_r): Several changes for ANSI
13490 compliance, namely: Accept a minus sign. Consider a single 0 with
13491 a radix of 0 as being a conversion. Determine overflow correctly.
13492 If an overflow occurs, set *ptr to the end of the number, not the
13493 middle.
13494 * lib/stdlib/strtol.c (_strtol_r): Determine overflow correctly.
13495
13496Thu Oct 14 21:49:52 1993 Doug Evans (dje@canuck.cygnus.com)
13497
13498 * libc/machine/h8300/divsi3.S (divmodsi4): Fix h8300h case.
13499
13500Fri Oct 1 17:17:34 1993 Doug Evans (dje@canuck.cygnus.com)
13501
13502 * Makefile.in (INSTALL): Use $srcrootpre.
13503 (crt0.o): Replace $< with $(CRT0_DIR)/$(CRT0), Sun make
13504 can't handle it.
13505 * libc/Makefile.in (crt0.o): Spell out $<, Sun make can't handle
13506 it.
13507 * libc/sys/Makefile.in (crt0.o, lib.a): Ditto.
13508 * stub/Makefile.in (crt0.o, TARGETLIB): Ditto.
13509 * libc/sys/sparc64/Makefile.in (isatty.o): Sun VPATH lossage.
13510 * libm/math/Makefile.in (matherr.o): Ditto.
13511
13512Thu Sep 30 11:09:17 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
13513
13514 * configure.in: Build multidirs for z8k.
13515 * libc/include/stdlib.h (_strtoul_r): add prototype.
13516 * libc/include/machine/limits.h: Get INT_MIN right for all the z8k family.
13517 * libc/include/machine/setjmp.h: Add for z8k.
13518 * libc/machine/z8k/{mulsi.o, udivsi3.o, umodsi3.o, modsi3.o} obsolete.
13519 * libc/sys/z8ksim/glue.c: tidy up.
13520
13521Mon Sep 20 14:04:46 1993 Doug Evans (dje@canuck.cygnus.com)
13522
13523 * libc/unix/{execl.c execle.c execlp.c execv.c execvp.c}:
13524 New files. Requires execve system call.
13525 * libc/unix/Makefile.in: Use them.
13526 * libc/sys/sparc64/{execl.c execle.c execlp.c execv.c execvp.c}:
13527 Deleted, moved to libc/unix.
13528 * libc/sys/sparc64/Makefile.in: Remove them.
13529
13530Mon Sep 20 10:38:32 1993 Doug Evans (dje@canuck.cygnus.com)
13531
13532 * libc/sys/sparc64/{template.S template_r.S}: New files.
13533 * libc/sys/sparc64/Makefile.in: Build source for trivial syscalls
13534 from templates.
13535 * libc/sys/sparc64/{chdir.S chmod.S close.S dup.S fcntl.S
13536 fork.S fstat.S lseek.S link.S mkdir.S open.S pipe.S read.S rmdir.S
13537 umask.S unlink.S wait4.S write.S}: Removed, now built from
13538 templates.
13539
13540Sun Sep 19 14:52:57 1993 Doug Evans (dje@canuck.cygnus.com)
13541
13542 * libc/time/time.c: #include <_ansi.h>.
13543
13544Sun Sep 19 13:43:25 1993 Doug Evans (dje@canuck.cygnus.com)
13545
13546 * configure.in (sparc64-*-*): Remove -D__SIZE_TYPE__.
13547
13548Mon Sep 13 13:52:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
13549
13550 * configure.in: match m8* rather than m88k so that m88110 is
13551 recognized as well.
13552
13553Tue Sep 7 12:19:32 1993 Doug Evans (dje@canuck.cygnus.com)
13554
13555 * libc/sys/h8300hms/{Makefile.in, _exit.c, misc.c}:
13556 Renamed exit.c to _exit.c to avoid collision with stdlib/exit.c.
13557 misc.c: New file.
13558
13559 * configure.in: Add multilib support to h8300.
13560
13561Mon Sep 6 14:07:06 1993 Doug Evans (dje@canuck.cygnus.com)
13562
13563 * libc/stdlib/abort.c (abort): Remove _VOLATILE from return type.
13564 * libc/include/_ansi.h (_ATTRIBUTE): New macro for __attribute__.
13565 * libc/include/stdlib.h (exit, abort): Add noreturn attribute.
13566
13567Mon Sep 6 14:24:18 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
13568
13569 * configure.in: Corrected multidirs for sparc target.
13570
13571Mon Aug 30 15:56:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
13572
13573 Support for building newlib multiple times with different
13574 compilation flags.
13575 * configure.in: Only configure doc at top level. Set multidirs
13576 when appropriate for target, unless not at top level. If
13577 multidirs is set, independently configure each subdirectory.
13578 Adjust TOP, MULTIDIRS and MULTISUBDIR appropriately in Makefile.
13579 * Makefile.in (MULTIDIRS, MULTISUBDIR): New variables,
13580 automagically set by configure.in.
13581 (all): If MULTIDIRS is set, build multiple copies of libraries.
13582 (install): If MULTIDIRS is set, install multiple copies of
13583 libraries. Install in $(tooldir)/lib/$(MULTISUBDIR). If
13584 MULTISUBDIR is set, don't bother to install header files.
13585 * host/any (INCLUDES, CHEW): Use $(SRCTOP) rather than $(TOP) from
13586 ${srcrootpre}.
13587 * stub/configure.in: Set MULTISUBDIR appropriately.
13588 * stub/Makefile.in (install): Install in
13589 $(tooldir)/lib/$(MULTISUBDIR).
13590 * All Makefile.in files: Define SRCTOP as well as TOP.
13591
13592Mon Aug 30 10:34:24 1993 Doug Evans (dje@canuck.cygnus.com)
13593
13594 * libc/machine/h8300/{mulhi3.S, divhi3.S}: Comment out if h8300h.
13595 * libc/machine/h8300/{mulsi3.S, divsi3.S}: Add h8300h support.
13596
13597Thu Aug 26 19:38:12 1993 Doug Evans (dje@canuck.cygnus.com)
13598
13599 * libc/sys/h8300hms/exit.c (_exit): New function.
13600
13601Wed Aug 25 16:31:48 1993 K. Richard Pixley (rich@sendai.cygnus.com)
13602
13603 * configure.in: recognize m88110.
13604
13605Fri Aug 20 16:46:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
13606
13607 * libc/sys/m88kbug/crt0.c: pretty up, remove extraneous comments,
13608 prototype main and call with args.
13609
13610Fri Jul 30 16:52:47 1993 K. Richard Pixley (rich@cygnus.com)
13611
13612 First real try at system traps for m88k-bug.
13613 * libc/sys/m88kbug/syscalls.c: many changes. Convert from stubs
13614 to real trap calls.
13615 * libc/sys/m88kbug/sys/systraps.h: new file.
13616
13617Tue Jul 27 16:31:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
13618
13619 Patches to fix info building when target does not use sys
13620 directory.
13621 * libc/Makefile.in (targetdep.tex): add sys.tex separately.
13622 * libc/sys.tex, libc/sys/sys.tex: moved from libc/sys/sys.tex to
13623 libc/sys.tex.
13624 * libc/sys/Makefile.in (doc): do nothing.
13625
13626Mon Jul 26 17:08:11 1993 K. Richard Pixley (rich@sendai.cygnus.com)
13627
13628 * libc/Makefile.in (CRT0): new macro.
13629 (all): depend on $(CRT0) rather than crt0.o.
13630
13631 * configure.in: fix libc_sys_dir -> libc_sys_lib thinko.
13632 do not default crt0, instead, set crt0 and crt0_dir based on
13633 sys_dir and stub_dir.
13634
13635 * Makefile.in (CRT0_DIR): new macro.
13636 (all): depend on $(CRT0) rather than crt0.o which may not exist.
13637 (crt0.o): depend on $(CRT0_DIR)/$(CRT0) rather than simply
13638 $(CRT0).
13639 ($(CRT0)): recur by cd'ing into $(CRT0_DIR).
13640
13641Sun Jul 25 17:51:51 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
13642
13643 * testsuite/lib/libm.exp:
13644 added code to support compiling and linking of tests for
13645 libm.sac (paranoia to be added next) and processing the
13646 pass or failure of the tests.
13647
13648 * testsuite/config/unix-libm.exp:
13649 platform specific proc's for dealing with compiler, linker
13650 and the way we execute and process the test results.
13651
13652 * testsuite/libm.sac/execute.exp:
13653 generic framework for the sac tests. the config and lib
13654 expect code for specific platforms tie it all together.
13655
13656 * testsuite/libm.sac/test_is.c:
13657 changed the output of the test to be consistant with the
13658 other tests. parsing of pass nad fail messages is now fixed.
13659
13660Fri Jul 23 19:20:07 1993 Per Bothner (bothner@kalessin)
13661
13662 * libc/include/{assert.h, ctype.h, dirent.h, errno.h, fastmath.h,
13663 locale.h, math.h, pwd.h, reent.h, setjmp.h, signal.h, stdio.h,
13664 stdlib.h, string.h, termios.h, time.h, utime.h, utmp.h}: For C++:
13665 #ifdef __cplusplus, surround by extern ""C { ... }.
13666 * libc/include/assert.h: Do *not* protect assert.h against
13667 multiple inclusion! Also, #undef it before #define, to allow
13668 redefinition.
13669 * libc/include/stdio.h (getlogin, cuserid): Removed. These
13670 should be only in unistd.h.
13671
13672 * libc/include/sys/{fcntl.h, reent.h, stat.h, time.h, times.h,
13673 unistd.h}: For C++: #ifdef __cplusplus, surround by extern ""C {
13674 ... }.
13675
13676Fri Jul 23 10:15:33 1993 Doug Evans (dje@canuck.cygnus.com)
13677
13678 * libc/machine/sparc/Makefile.in: Must create a library, even
13679 if empty.
13680
13681Wed Jul 21 16:00:37 1993 K. Richard Pixley (rich@sendai.cygnus.com)
13682
13683 * configure.in: set machine_dir for m88k. edit crt0 definition
13684 into makefiles.
13685
13686 * Makefile.in, libc/Makefile.in (crt0): pull up from lower directories.
13687
13688 * libc/Makefile.in (all): also build crt0.o.
13689
13690 * libc/machine/i386/Makefile.in, libc/machine/sparc/Makefile.in,
13691 libc/machine/z8k/Makefile.in, libm/Makefile.in (clean): no need
13692 to remove CRT0.
13693
13694 * libc/machine/m88k/Makefile.in (TOP, TARGETLIB): removed.
13695 (all): reworked to build in place.
13696 (clean): remove lib.a
13697 (Makefile): remove redundant ./, call $(SHELL) rather than sh.
13698
13699 * libc/sys/m88kbug/crt0.c (start): renamed to _start.
13700 (_start): key off edata rather than _start_bss.
13701
13702Wed Jul 21 14:29:47 1993 david d `zoo' zuhn (zoo@cygnus.com)
13703
13704 * libc/include/sys/unistd.h, libc/include/reent.h,
13705 libc/reent/sbrkr.c: change sbrk to return void* instead of char*.
13706
13707Tue Jul 20 13:19:18 1993 K. Richard Pixley (rich@sendai.cygnus.com)
13708
13709 * libm/Makefile.in, libc/Makefile.in ($(SUBDIRS)): dollar escape a dollar sign.
13710
13711 * Makefile.in (libc.a): break into two rules, one for libc.a and
13712 one for libc/libc.a. Force subdirs current before rebuilding
13713 library.
13714 (libm.a): break into two rules, one for libm.a and one for
13715 libm/libm.a. Force subdirs current before rebuilding library.
13716
13717 * libc/Makefile.in (SUBLIBS): fix typo.
13718
13719 * libc/sys/Makefile.in (all): force descent into subdirs, then
13720 rebuild library iff out of of date.
13721
13722Fri Jul 16 17:47:57 1993 K. Richard Pixley (rich@sendai.cygnus.com)
13723
13724 Rework so that library is built and then finished rather than
13725 being built on each invocation of make.
13726
13727 * host/any (machine_dir, sys_dir, signal_dir): these are not
13728 shared and have been moved to their associated Makefile.in's.
13729 (AR_FLAGS): switch to qc which is faster.
13730 * configure.in: no longer assign machine_dir for m88k. set
13731 stub_dir, stub_lib, & crt0 for m68k*-unknown-{aout,coff}. If
13732 stub_dir set, then add to configdirs. add comment about silly
13733 configuration.
13734 (configdirs): drop stub. It will be added only
13735 when needed.
13736 (libm_fp_lib, libc_unix_lib, libc_signal_lib, libc_machine_lib,
13737 libc_sys_dir, fake_sys_dir, libc_fake_sys_lib, stub_dir,
13738 stub_lib, crt0): new variables for tailoring lower level
13739 makefiles. Assign accordingly and edit into makefiles.
13740 * libm/Makefile.in: updated copyright.
13741 (TARGETLIB): removed.
13742 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir.
13743 (SUBDIRS): removed TARGETDEP_DIRS.
13744 (LIBM_FP_LIB, SUBLIBS): new macros.
13745 (all): reworked.
13746 (force): new target to force rebuilds.
13747 (Makefile): call $(SHELL) rather than sh. drop redundant ./
13748 * libc/sys/a29khif/Makefile.in, libc/sys/decstation/Makefile.in,
13749 libc/sys/go32/Makefile.in, libc/sys/h8300hms/Makefile.in,
13750 libc/sys/h8500hms/Makefile.in, libc/sys/m88kbug/Makefile.in,
13751 libc/sys/sh/Makefile.in, libc/sys/sparc64/Makefile.in,
13752 libc/sys/sun4/Makefile.in, libc/sys/sysvi386/Makefile.in,
13753 libc/sys/sysvnecv70/Makefile.in, libc/sys/z8ksim/Makefile.in,
13754 stub/m68kmvme/Makefile.in: updated copyright.
13755 (TARGETLIB, TARGETCRT0, CRT0): macros removed.
13756 (all): reworked. made this the default rule.
13757 (clean): also remove lib.a.
13758 (Makefile): call $(SHELL) rather than sh. drop redundant ./
13759 * stub/Makefile.in: updated copyright.
13760 (TARGETLIB, TARGETCRT0, CRT0, TOP): removed.
13761 (stub_lib): new macro.
13762 (FLAGS_TO_PASS): removed TARGETLIB, stub_dir, TARGETCRT0. Added
13763 RANLIB.
13764 (all): reworked.
13765 (clean, install): assume stub_dir exists.
13766 (Makefile): depend on configure.in. call $(SHELL) rather than
13767 sh. drop redundant ./
13768 * stub/configure.in (stublib): new macro, assign it, edit it into
13769 makefiles.
13770 * Makefile, libc/Makefile.in, doc/Makefile.in, libc/sys/Makefile.in:
13771 updated copyright.
13772 (all): reworked.
13773 (Makefile): call $(SHELL) rather than sh. drop redundant ./
13774 * libc/Makefile.in (TARGETCRT0): removed.
13775 (FLAGS_TO_PASS): dropped TARGETLIB, machine_dir, sys_dir,
13776 TARGETCRT0.
13777 (SUBDIRS): drop TARGETDEP_DIRS.
13778 (LIBC_SIGNAL_LIB, LIBC_SYS_LIB, LIBC_MACHINE_LIB, LIBC_UNIX_LIB,
13779 LIBC_FAKE_SYS_LIB, SUBLIBS): new macros for configuration.
13780 (force): new target to force rebuilds.
13781 * libc/sys/Makefile.in (TARGETCRT0, sys_dir): removed.
13782 (FLAGS_TO_PASS): TARGETLIB, machine_dir, sys_dir, TARGETCRT0
13783 removed.
13784 (clean): assume sys_dir always exists.
13785 * libm/test/Makefile.in (Makefile): call $(SHELL) rather than sh.
13786 drop redundant ./
13787 * libc/ctype/Makefile.in, libc/errno/Makefile.in,
13788 libc/locale/Makefile.in, libc/machine/Makefile.in,
13789 libc/machine/a29k/Makefile.in, libc/machine/h8300/Makefile.in,
13790 libc/machine/h8500/Makefile.in, libc/machine/i386/Makefile.in,
13791 libc/machine/i960/Makefile.in, libc/machine/m68k/Makefile.in,
13792 libc/machine/mips/Makefile.in, libc/machine/necv70/Makefile.in,
13793 libc/machine/sh/Makefile.in, libc/machine/sparc/Makefile.in,
13794 libc/machine/z8k/Makefile.in, libc/reent/Makefile.in,
13795 libc/signal/Makefile.in, libc/stdio/Makefile.in,
13796 libc/stdlib/Makefile.in, libc/string/Makefile.in,
13797 libc/sys/Makefile.in, libc/syscalls/Makefile.in,
13798 libc/time/Makefile.in, libc/unix/Makefile.in,
13799 libm/ieeefp/Makefile.in, libm/math/Makefile.in: updated copyright.
13800 (TARGETLIB): removed.
13801 (all): reworked.
13802 (clean): also remove lib.a.
13803 (Makefile): call $(SHELL) rather than sh. drop redundant ./
13804 * Makefile.in: (machine_dir, sys_dir, stub_dir, stub_lib, CRT0):
13805 new macros.
13806 (SUBDIRS): moved to follow frag inclusion, change stub to
13807 stub_dir.
13808 (FLAGS_TO_PASS): removed machine_dir, sys_dir, signal_dir which
13809 are now set in the libc Makefile.
13810 * libc/machine/Makefile.in (TARGETCRT0, machine_dir): removed.
13811 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir,
13812 TARGETCRT0.
13813 (force): new target to force rebuilds.
13814 * stub/configure.in: determine and set stub_lib for for Makefile.
13815
13816Thu Jul 15 12:01:27 1993 Doug Evans (dje@canuck.cygnus.com)
13817
13818 * libc/sys/h8300hms/Makefile.in: Make `all' the default target.
13819 crt0.s renamed to crt0.S.
13820 * libc/sys/h8300hms/crt0.S: Add h8/300h support.
13821
13822 * libc/machine/h8300/Makefile.in: Make `all' the default target.
13823 * libc/machine/h8300/{cmpsi.S,ucmpsi.S}: #ifdef out entire file if
13824 h8300h.
13825 * libc/machine/h8300/defines.h: Add macros to handle pointers for
13826 h8300 (16 bits) and h8300h (32 bits).
13827 * libc/machine/h8300/{divsi3.S,mulsi3.S,memcpy.S,memset.S,
13828 reg_memcpy.S,reg_memset.S,strcmp.S}: Add h8300h support.
13829
13830Thu Jul 15 10:13:29 1993 Ian Lance Taylor (ian@cygnus.com)
13831
13832 * libc/machine/m88k/setjmp.S, Makefile.in: New files; a simple
13833 implementation of setjmp and longjmp for the m88k.
13834 * libc/include/machine/setjmp.h: Added __m88000__ case.
13835
13836Wed Jul 14 10:10:30 1993 Doug Evans (dje@canuck.cygnus.com)
13837
13838 * configure.in: Recognize h8300h as variant of h8300.
13839
13840Tue Jul 13 12:24:11 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
13841
13842 * libc/include/sys/unistd.h (read, write): get prototypes right.
13843 (sbrk): New prototype.
13844 * libc/reent/sbrkr.c (sbrkr): Use correct sbrk prototype.
13845 * libc/stdio/local.h: Include unistd.h.
13846 * libc/machine/h8300/syscalls.c: Names have changed.
13847
13848Mon Jul 12 18:08:42 1993 K. Richard Pixley (rich@cygnus.com)
13849
13850 * configure.in: add sys_dir assignment for m88k-bug.
13851
13852Thu Jul 8 09:16:21 1993 Doug Evans (dje@canuck.cygnus.com)
13853
13854 * libc/sys/sparc64/sys/syscallasm.h: New macros to handle either
13855 a.out or elf.
13856 * libc/sys/sparc64: all *.S files: Use new macros.
13857 * libc/sys/sparc64/isatty.c: New file.
13858 * libc/sys/sparc64/Makefile.in: Stop using /lib/libc.a for
13859 functions beyond what newlib provides.
13860
13861Thu Jul 8 09:11:28 1993 Doug Evans (dje@canuck.cygnus.com)
13862
13863 * libc/include/sys/stat.h: Move st_atime so not doubly defined for
13864 svr4.
13865
13866Thu Jul 8 09:09:16 1993 Doug Evans (dje@canuck.cygnus.com)
13867
13868 * libc/include/machine/ieeefp.h: Add support for h8/300h.
13869
13870Fri Jul 2 10:11:20 1993 K. Richard Pixley (rich@cygnus.com)
13871
13872 * configure.in: add m88k.
13873 * libc/include/machine/ieeefp.h: add case for m88k. Also add
13874 sanity check so no one else need ever chase what I did to find
13875 this.
13876
13877 * libm/math/Makefile.in (FAKEC): added atanf.c log1pf.c scalbnf.c.
13878
13879Fri Jul 2 09:15:21 1993 Ian Lance Taylor (ian@cygnus.com)
13880
13881 * doc/makedoc.c: Include <ctype.h>.
13882
13883Wed Jun 30 09:35:06 1993 Doug Evans (dje@canuck.cygnus.com)
13884
13885 * libc/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
13886 * libc/sys/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
13887 * libc/machine/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
13888
13889 * libm/test/Makefile.in (all): Link with ../../lib[cm].a.
13890
13891Sun Jun 27 17:05:20 1993 Doug Evans (dje@sphagnum.cygnus.com)
13892
13893 * libc/include/errno.h (ENOSYS): Added.
13894
13895 * libc/unix/getpwd.c (getcwd): Fix typo (_up -> up).
13896
13897Mon Jun 21 09:03:32 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
13898
13899 * libc/stdio/fflush.c (fflush): Check for reent struct
13900 initialization.
13901 * libc/stdio/fdopen.c (fdopen): Avoid namespace conflict.
13902
13903Fri Jun 18 16:06:05 1993 Mark Eichin (eichin@rtl.cygnus.com)
13904
13905 * libc/stdlib/dtoastub.c: new file -- move user callable "dtoa"
13906 out of dtoa.c so it doesn't pollute the namespace.
13907 * libc/include/_syslist.h: new file -- mappings from _function to
13908 function, for systems where we can't win (by default, all of them,
13909 until we start updating system calls.)
13910 * libc/syscalls: new directory -- stubs for exporting _function
13911 names as unmodified function names.
13912 * libc/configure.in: add MISSING_SYSCALL_NAMES to enable
13913 _syslist.h on all platforms by default, but put hooks in for
13914 fake_sys_dir so we can include it when we've renamed the system
13915 calls.
13916 * libc/reent/execr.c libc/reent/filer.c libc/reent/fstatr.c
13917 libc/reent/linkr.c libc/reent/sbrkr.c libc/reent/statr.c
13918 libc/signal/raise.c libc/signal/signal.c libc/stdio/fdopen.c
13919 libc/stdio/mktemp.c libc/stdio/tmpnam.c libc/stdlib/abort.c
13920 libc/stdlib/system.c libc/unix/getcwd.c libc/unix/getlogin.c
13921 libc/unix/getpass.c libc/unix/getut.c libc/unix/ttyname.c: change
13922 non ANSI functions to call _function.
13923
13924Wed Jun 9 09:48:26 1993 Ian Lance Taylor (ian@cygnus.com)
13925
13926 * libc/stdlib/strtoul.c (_strtoul_r): Handle leading 0 correctly
13927 when base 16 is specified. Don't accept non-digits if radix > 10.
13928
13929Thu Jun 3 10:01:15 1993 Doug Evans (dje@canuck.cygnus.com)
13930
13931 * libc/include/math.h: Rename xxx_r fns to _xxx_r.
13932
13933Wed Jun 2 16:54:16 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
13934
13935 * libc/include/sys/stat.h: Surround text after #endif with
13936 comments.
13937
13938Wed Jun 2 12:47:32 1993 Ian Lance Taylor (ian@cygnus.com)
13939
13940 * libc/stdlib/mallocr.c: If MALLOC_PROVIDED is defined, just make
13941 _malloc_r, _realloc_r, and free_r call the corresponding
13942 non-reentrant functions.
13943
13944 * libm/math/modf.c (modf): We now take the address of ipart, so
13945 don't make it a register variable.
13946
13947Tue Jun 1 18:25:54 1993 Doug Evans (dje@canuck.cygnus.com)
13948
13949 * libm/math/*: Rename all xxx_r fns to _xxx_r.
13950
13951Wed May 26 22:06:35 1993 Roland H. Pesch (pesch@cygnus.com)
13952
13953 * libc/libc.texinfo and embedded docn throughout: formatting
13954 improvements, minor rephrasing for clarity, and improved
13955 reentrancy docn.
13956
13957Sun May 23 17:29:49 1993 Steve Chamberlain (sac@thepub.cygnus.com)
13958
13959 * libm/ieeefp/infinity.c (maxpowtwof): Fix initialzation bug.
13960
13961 * libc/stdio/cvt.c (_licvt): Print the right value on machines
13962 where sizeof(int) != sizeof(long).
13963
13964Fri May 21 22:09:32 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
13965
13966 * libc/reent/execr.c, libc/reent/filer.c, libc/reent/linkr.c,
13967 libc/reent/sbrkr.c, libc/reent/statr.c, libc/stdio/tmpnam.c,
13968 libc/stdlib/atol.c, libc/stdlib/rand.c, libc/string/strpbrk.c,
13969 libc/string/strspn.c, libm/ieeefp/isnan.c, libm/math/bessel.c,
13970 libm/math/matherr.c: changes for better docn formatting (info).
13971
13972 * libc/libc.texinfo, libc/ctype/ctype.tex, libc/locale/locale/tex,
13973 libc/reent/reent.tex, libc/signal/signal.tex,
13974 libc/stdio/stdio.tex, libc/stdlib/stdlib.tex,
13975 libc/string/strings.tex, libc/sys/sys.tex, libc/time/time.tex,
13976 libm/libm.texinfo, libm/ieeefp/ieeefp.tex, libm/math/math.tex: use
13977 makeinfo node defaulting to get better Info file node structure.
13978 (Requires recent sac change to doc/makedoc.c and doc/doc.str.)
13979 Also include a few formerly missing sections (subroutines).
13980
13981 * doc/doc.str: delete fossil expansion for "func"
13982
13983 * default.menu, no-signal.menu: delete.
13984
13985 * Makefile.in, libc/Makefile.in, configure.in, host/any: simplify
13986 method used to adjust doc for missing "signals" chapter when
13987 signal_dir is empty.
13988
13989Thu May 20 21:38:37 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
13990
13991 * configure.in: added testsuite/libm.sac
13992
13993Wed May 19 14:52:34 1993 Doug Evans (dje@thepub.cygnus.com)
13994
13995 * libc/sys/sparc64/crt0.S: Set %g4 to 0 (to test Medium/Anywhere
13996 code model).
13997
13998Tue May 18 13:17:21 1993 Ian Lance Taylor (ian@cygnus.com)
13999
14000 * libm/Makefile.in: Use $(MAKE) rather than make, and define
14001 MAKEOVERRIDES to be empty.
14002
14003Mon May 17 08:42:44 1993 Ian Lance Taylor (ian@cygnus.com)
14004
14005 * configure.in: Don't build mips-*-* with -msoft-float, since that
14006 makes it incompatible with hard floating point.
14007
14008Mon May 17 00:03:35 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
14009
14010 * Makefile.in: added recursive 'make check'
14011
14012Thu May 13 16:24:18 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
14013
14014 * configure.in: added ./testsuite ./testsuite/libm.paranoia
14015 * ./testsuite/Makefile.in: created
14016 * ./testsuite/libm.paranoia: paranoia tests added
14017
14018Thu May 13 10:30:24 1993 Ian Lance Taylor (ian@cygnus.com)
14019
14020 * configure.in: For mips-*-* set machine_dir to mips.
14021
14022 * libc/machine/mips: New directory.
14023 * libc/machine/mips/Makefile.in: New file.
14024 * libc/machine/mips/setjmp.S: New file; simplistic MIPS version of
14025 setjmp and longjmp.
14026 * libc/include/machine/setjmp.h: Added __mips__ case.
14027
14028 * libc/machine/lmips: Removed unused and useless directory.
14029
14030Mon May 3 10:22:31 1993 Ian Lance Taylor (ian@cygnus.com)
14031
14032 * configure.in: Accept i486-*-sco* as well as i386-*-sco*.
14033
14034Thu Apr 15 15:16:44 1993 Doug Evans (dje@canuck.cygnus.com)
14035
14036 * libc/sys/sparc64/crt0.S: Add comment (%g1 contains atexit arg at
14037 start up).
14038
14039Fri Apr 9 13:32:26 1993 Ian Lance Taylor (ian@cygnus.com)
14040
14041 * libc/include/machine/setjmp-dj.h: Use _SETJMP_DJ_H rather than
14042 SETJMP_H.
14043
14044Thu Apr 8 10:07:18 1993 Doug Evans (dje@canuck.cygnus.com)
14045
14046 * libm/test/convert.c: structure member errno -> errno_val.
14047 Must include <errno.h> to use errno, it's a macro now.
14048 * libm/test/math.c: Ditto.
14049 * libm/test/math2.c: Include errno.h.
14050 * libm/test/string.c: Ditto.
14051 * libm/test/test.h: structure member errno -> errno_val.
14052 Remove extern int errno decl.
14053
14054Thu Apr 8 07:56:33 1993 Ian Lance Taylor (ian@cygnus.com)
14055
14056 * libc/stdio/Makefile.in: Added dependencies on local header
14057 files.
14058 * libc/stdio/std.h, libc/stdio/vfprintf.h: Removed unused header
14059 files.
14060
14061Wed Apr 7 16:19:32 1993 Ian Lance Taylor (ian@cygnus.com)
14062
14063 * libc/include/machine/ieeefp.h: Added __MIPSEB__ case.
14064
14065Wed Apr 7 10:55:21 1993 Doug Evans (dje@canuck.cygnus.com)
14066
14067 * libc/stdio/siprintf.c libc/stdio/sscanf.c libc/stdio/vsprintf.c:
14068 Initialize _data.
14069
14070 * libc/stdio/vfprintf.c: No need to declare _icvt, _licvt, _sicvt.
14071 * libc/stdio/local.h: Add prototype for _licvt.
14072
14073 * libc/stdio/ungetc.c (__submore): Use _malloc_r,_realloc_r
14074 instead of malloc,reealloc.
14075
14076 * libc/stdlib/local.h: New file.
14077 * libc/stdlib/efgcvt.c: #include local.h.
14078 (gcvt): Fix call to _gcvt.
14079 * libc/stdlib/ecvtbuf.c: #include local.h.
14080
14081 * libc/stdlib/Makefile.in: new files mallocr.c mstats.c.
14082 * libc/stdlib/mallocr.c mstats.c malloc.h: New files.
14083 * libc/stdlib/malloc.c: main routines moved to mallocr.c.
14084
14085 * libc/stdlib/atexit.c: moved global data to struct _reent.
14086 * libc/stdlib/exit.c: use struct _atexit in struct _reent.
14087
14088 * libc/reent/reent.c (inpure_data): _REENT_INIT macro modified.
14089
14090Wed Apr 7 09:41:50 1993 Doug Evans (dje@canuck.cygnus.com)
14091
14092 * libc/include/sys/reent.h: Stuff required by ANSI headers moved
14093 here from ../reent.h.
14094
14095Tue Apr 6 12:56:01 1993 Ian Lance Taylor (ian@cygnus.com)
14096
14097 * Makefile.in (MATHOBJS_IN_LIBC): List of object files which
14098 should be provided in both libc.a and libm.a.
14099 (libc.a): Depend on targ-include and libm.a. Copy
14100 $(MATHOBJS_IN_LIBC) from libm.a to libc.a.
14101 (libm.a): Depend on targ-include.
14102 * configure.in (subdirs): Removed libc/math.
14103
14104Mon Apr 5 10:18:16 1993 Steve Chamberlain (sac@thepub.cygnus.com)
14105
14106 * libm/ieeefp/infinity.c (maxpowtwo): Fix initialization bug.
14107
14108Sat Apr 3 11:06:07 1993 Doug Evans (dje@canuck.cygnus.com)
14109
14110 * libc/include/{errno.h, math.h, stdio.h, stdlib.h}: Use
14111 sys/reent.h instead of reent.h.
14112 * libc/include/reent.h: Split into two parts: stuff needed by ANSI
14113 headers moved to sys/reent.h.
14114 * libc/include/signal.h: _MAX_SIGNALS moved to sys/signal.h.
14115 * libc/include/sys/signal.h: Define _MAX_SIGNALS if
14116 __need__MAX_SIGNALS defined.
14117 * libc/include/stdio.h: struct __sFILE moved to sys/reent.h.
14118 std{in,out,err} refer to new _std{in,out,err} members.
14119
14120Fri Apr 2 11:27:12 1993 Doug Evans (dje@canuck.cygnus.com)
14121
14122 * libc/include/sys/signal.h: #define _SYS_SIGNAL_H for general
14123 case.
14124
14125Fri Apr 2 09:41:10 1993 Doug Evans (dje@canuck.cygnus.com)
14126
14127 * libc/sys/sparc64/execve.S (execve): Insert nop in delay slot,
14128 rather than whatever macro seterrno() has.
14129
14130Thu Apr 1 16:47:08 1993 Doug Evans (dje@canuck.cygnus.com)
14131
14132 * libc/locale/locale.c: Reentrant routines _r_xxx renamed to
14133 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
14134
14135 * libc/include/machine/fastmath.h: Use _HAVE_STDC instead of
14136 __STDC__.
14137
14138 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, reent.c,
14139 reent.tex, sbrkr.c, statr.c}: _r_xxx reentrant routines renamed to
14140 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
14141
14142 * libc/signal/signal.c: Reentrant routines _r_xxx renamed to
14143 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
14144
14145 * libc/stdio/{fclose.c, fdopen.c, findfp.c, fiprintf.c, flags.c,
14146 fopen.c, fprintf.c, freopen.c, fscanf.c, fseek.c, ftell.c,
14147 fwalk.c, getchar.c, gets.c, iprintf.c, local.h, makebuf.c,
14148 mktemp.c, perror.c, printf.c, putchar.c, puts.c, refill.c,
14149 remove.c, rename.c, scanf.c, setvbuf.c, siprintf.c, sprintf.c,
14150 sscanf.c, stdio.c, tmpfile.c, tmpnam.c, vfprintf.c, vfprintf.h,
14151 vfscanf.c, vprintf.c, vsprintf.c}: Reentrant routines _r_xxx
14152 renamed to _xxx_r. struct reent_struct renamed to struct _reent
14153 for ANSI. structure members given leading "_" for ANSI. Use
14154 _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
14155
14156 * libc/stdlib/{__adjust.c, calloc.c, dtoa.c, ecvtbuf.c, malloc.c,
14157 mprec.c, mprec.h, rand.c, std.h, strtod.c, strtol.c, strtoul.c,
14158 system.c}: Reentrant routines _r_xxx renamed to _xxx_r. struct
14159 reent_struct renamed to struct _reent for ANSI.
14160 Structure members given leading "_" for ANSI.
14161 _CONST --> const in prototypes.
14162 Use _HAVE_STDC instead of __STDC__.
14163
14164 * libc/string/strtok.c: Reentrant routines _r_xxx renamed to
14165 _xxx_r.
14166 struct reent_struct renamed to struct _reent for ANSI.
14167 Structure members given leading "_" for ANSI.
14168
14169 * libc/time/asctime.c: Reentrant routines _r_xxx renamed to
14170 _xxx_r.
14171 struct reent_struct renamed to struct _reent for ANSI.
14172
14173 * libm/math/{acos.h, acosh.h, asin.c, asinh.h, atanh.h, bessel.h,
14174 cbrt.h, cosh.h, erf.c, erf.h, error.c, exp.c, fmod.c, frexp.h,
14175 gamma.h, hypot.h, ldexp.c, log.h, log10.c, log1p.c log2.c,
14176 mathimpl.h, pow.c, remainder.c, sincos.c, sinh.h, sqrt.h, tan.c,
14177 tanh.h}: struct reent_struct renamed to struct _reent for ANSI.
14178
14179 * libc/include/{_ansi.h, ctype.h, math.h, reent.h, locale.h,
14180 signal.h, stdio.h, stdlib.h, string.h, time.h}:
14181 Use _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
14182 #ifndef _STRICT_ANSI non-ANSI routines.
14183 Reentrant routines renamed from _r_xxx to _xxx_r.
14184 No need to use _STRICT_ANSI on _xxx_r reentrant routines.
14185 Use _STRICT_ANSI instead of __STRICT_ANSI, _ANSI_SOURCE, etc.
14186 Clean up namespace (structure members have leading "_").
14187 struct reent_struct renamed to struct _reent for ANSI compliance.
14188 _CONST --> const in function prototypes.
14189
14190 * libc/include/string.h: Add NULL and size_t.
14191
14192 * libc/sys/sparc64/Makefile.in: New syscall routines for link,
14193 unlink, wait, wait4. Reentrant syscall routines close, fork,
14194 fstat, link, lseek, open, read, sbrk, stat, unlink, wait, wait4,
14195 write.
14196 * libc/sys/sparc64/cerror.S (cerror_r): New routine.
14197 * libc/sys/sparc64/{close.S, fork.S, fstat.S, link.S, lseek.S,
14198 open.S, read.S, sbrk.S, stat.S, unlink.S, wait.S, wait4.S,
14199 write.S}: Define reentrant versions.
14200 * libc/sys/sparc64/sys/syscallasm.h (defsyscall_r): New macro for
14201 reentrant syscalls.
14202
14203 * libc/sys/sparc64/crt0.S (start): Fix initialization of environ.
14204
14205 * libc/include/stdlib.h (RAND_MAX): Fix value.
14206
14207Thu Apr 1 12:28:30 1993 Ian Lance Taylor (ian@cygnus.com)
14208
14209 * libc/sys/a29khif/_main.c: Removed unnecessary file.
14210 * libc/sys/a29khif/Makefile.in (OFILES): Removed _main.c, moved
14211 VPATH support targets after all: target.
14212
14213 * stub/mvme135/mvme.S: Renamed exceptionhandler to
14214 exceptionHandler, which is what mvme135-stub.c expects.
14215
14216Wed Mar 31 17:42:03 1993 Doug Evans (dje@cygnus.com)
14217
14218 * libc/stdio/tmpnam.c (worker): Fix test for _r_open() failure.
14219
14220 * libc/unix/getpass.c (getpass): Use stdin,stderr instead of
14221 def_stdin/def_stderr (latter removed from stdio.h to make it ANSI
14222 compliant).
14223
14224Tue Mar 30 09:58:21 1993 Doug Evans (dje@canuck.cygnus.com)
14225
14226 * libc/reent/execr.c (_r_wait): Re-order args to make reent_struct
14227 first.
14228 libc/reent/filer.c (_r_open, _r_close, _r_lseek, _r_read,
14229 _r_write): Ditto.
14230 libc/reent/fstatr.c (_r_fstat): Ditto.
14231 libc/reent/linkr.c (_r_link, _r_unlink): Ditto.
14232 libc/reent/sbrkr.c (_r_sbrk): Ditto.
14233 libc/reent/statr.c (_r_stat): Ditto.
14234
14235 * libc/stdio/fopen.c (_r_fopen): Re-order args to _r_open.
14236 * libc/stdio/freopen.c (freopen): Ditto for _r_open, _r_free.
14237 * libc/stdio/fseek.c (fseek): Ditto for _r_fseek.
14238 * libc/stdio/makebuf.c (__smakebuf): Ditto for _r_fstat.
14239 * libc/stdio/mktemp.c (_gettemp): Ditto for _r_stat, _r_open.
14240 * libc/stdio/remove.c (_r_remove): Ditto for _r_unlink.
14241 * libc/stdio/rename.c (_r_rename): Ditto for _r_link, _r_unlink.
14242 * libc/stdio/stdio.c (__sread): Ditto for _r_read.
14243 (__swrite): Ditto for _r_lseek, _r_write.
14244 (__sseek): Ditto for _r_lseek.
14245 (__close): Ditto for _r_close.
14246 * libc/stdio/tmpnam.c (worker): Ditto for _r_open, _r_close.
14247
14248 * libc/stdlib/malloc.c (_r_morecore): Re-order args to _r_sbrk.
14249 * libc/stdlib/system.c (_r_system): Ditto for _r_wait.
14250
14251 * libc/include/reent.h: Re-order arguments to _r_xxx syscall fns
14252 to make reent_struct the first argument (and thus consistent with
14253 the rest of newlib).
14254
14255 * stub/mvme135/mvme135-stub.c (initializeRemcomErrorFrame): Remove
14256 reference to __STDC__.
14257
14258Mon Mar 29 12:34:32 1993 Doug Evans (dje@canuck.cygnus.com)
14259
14260 * libc/stdlib/exit.c (exit): Use _REENT->__cleanup instead of
14261 global __cleanup.
14262
14263Wed Mar 24 11:54:35 1993 Doug Evans (dje@canuck.cygnus.com)
14264
14265 * libc/stdio/freopen.c (freopen): Ensure stdio is initialized
14266 first.
14267 libc/stdio/fclose.c (fclose): Ditto.
14268
14269Tue Mar 23 01:26:52 1993 Doug Evans (dje@rtl.cygnus.com)
14270
14271 * Run through indent and rename reentrant routines for ANSI.
14272 libc/stdio/{clearerr.c cvt.c fclose.c fdopen.c feof.c ferror.c
14273 fflush.c fgetc.c fgetpos.c fgets.c findfp.c fiprintf.c flags.c
14274 fopen.c fprintf.c fputc.c fputs.c fread.c freopen.c fscanf.c
14275 fseek.c fsetpos.c ftell.c fvwrite.c fwalk.c fwrite.c getc.c
14276 getchar.c gets.c iprintf.c makebuf.c mktemp.c perror.c printf.c
14277 putc.c putchar.c puts.c refill.c remove.c rename.c rewind.c rget.c
14278 scanf.c setbuf.c setvbuf.c siprintf.c sprintf.c sscanf.c stdio.c
14279 tmpfile.c tmpnam.c ungetc.c vfprintf.c vfscanf.c vprintf.c
14280 vsprintf.c wbuf.c wsetup.c local.h}
14281
14282 * libc/locale/locale.c: Reformat and rename for ANSI, GNU style.
14283
14284 * Run through indent and rename xxx_r fns to _r_xxx for ANSI.
14285 libc/stdlib/{__adjust.c __exp10.c __ten_mu.c abort.c abs.c
14286 assert.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c
14287 dtoa.c ecvtbuf.c efgcvt.c exit.c getenv.c labs.c ldiv.c malloc.c
14288 mbtowc.c mprec.c putenv.c qsort.c rand.c setenv.c strdup.c
14289 strtod.c strtol.c strtoul.c system.c wctomb.c mprec.h}
14290
14291 * Run through indent.
14292 libc/string/{bcmp.c bcopy.c bzero.c index.c memchr.c memcmp.c
14293 memcpy.c memmove.c memset.c rindex.c strcat.c strchr.c strcmp.c
14294 strcoll.c strcpy.c strcspn.c strerror.c strlen.c strncat.c
14295 strncmp.c strncpy.c strpbrk.c strrchr.c strspn.c strstr.c strtok.c
14296 strxfrm.c}
14297
14298 * libc/time/{asctime.c clock.c ctime.c difftime.c gmtime.c
14299 localtime.c mktime.c strftime.c time.c}:
14300 Run through indent and rename xxx_r (reentrant) fns to _r_xxx for ANSI.
14301
14302 * Reformatting + renaming (for ANSI, GNU style, consistency).
14303 libc/include/{_ansi.h, assert.h, ctype.h, errno.h, fastmath.h,
14304 ieeefp.h, locale.h, math.h, paths.h, pwd.h, reent.h, setjmp.h,
14305 signal.h, stdio.h, stdlib.h, string.h, time.h, unistd.h}
14306
14307Fri Mar 19 11:28:01 1993 Doug Evans (dje@cygnus.com)
14308
14309 * libc/include/stdio.h (stdin_r): Fix.
14310
14311Fri Mar 19 09:43:48 1993 Ian Lance Taylor (ian@cygnus.com)
14312
14313 * Makefile.in: Unexport some variables to keep GNU make from
14314 putting them in the environment and using up needed ARG_MAX space
14315 (a hack is used to let this work with older makes as well).
14316
14317Tue Mar 16 15:11:08 1993 Ian Lance Taylor (ian@cygnus.com)
14318
14319 * Makefile.in: Use $(MAKE) rather than make.
14320 (MAKEOVERRIDES): Define to be empty.
14321 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
14322 (libc.a, libm.a): Depend on targ-include.
14323 * host/any (LD): Don't define.
14324 (INCLUDES): Use targ-include.
14325 * stub/Makefile.in (MAKEOVERRIDES): Define to be empty.
14326 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
14327 * libc/Makefile.in: Use $(MAKE) rather than make.
14328 (MAKEOVERRIDES): Define to be empty.
14329 (FLAGS_TO_PASS): Don't pass LD (it's not used).
14330 (all): Rewrote to be slightly smaller.
14331 * libc/machine/Makefile.in, libc/sys/Makefile.in (MAKEOVERRIDES):
14332 Define to be empty.
14333 (FLAGS_TO_PASS): Don't pass LD (it's not used).
14334 * libm/Makefile.in (FLAGS_TO_PASS): Don't pass LD (it's not used).
14335
14336Mon Mar 15 08:45:41 1993 Ian Lance Taylor (ian@cygnus.com)
14337
14338 * libc/sys/go32/gerrno.s: Renamed from errno.s to avoid conflict
14339 with errno/errno.c.
14340
14341Fri Mar 12 09:46:54 1993 Ian Lance Taylor (ian@cygnus.com)
14342
14343 * Changes for reentrancy.
14344 libc/stdio/fdopen.c, libc/stdio/freopen.c, libc/stdio/perror.c:
14345 Use ptr->_errno, not errno.
14346 libc/stdio/mktemp.c (mkstemp_r, mktemp_r): New functions.
14347 libc/stdio/remove.c (remove_r): New function.
14348 libc/stdio/rename.c (rename_r): New function.
14349 libc/stdio/fopen.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
14350 libc/stdio/makebuf.c, libc/stdio/mktemp.c, libc/stdio/remove.c,
14351 libc/stdio/rename.c, libc/stdio/stdio.c, libc/stdio/tmpnam.c: Use
14352 reentrant versions of system calls.
14353 libc/stdio/gets.c: Call getchar_f, not nonexistent getchar_r.
14354 libc/stdio/scanf.c: Use stdin_r, not nonexistent stdin_n.
14355 libc/stdio/tmpfile.c: Use tmpnam_f, not nonexistent tmpnam_r.
14356 libc/stdio/findfp.c: Include <string.h>.
14357 libc/stdio/fread.c, libc/stdio/rget.c, libc/stdio/scanf.c: Include
14358 "local.h".
14359 libc/stdio/wbuf.c: Include "fvwrite.h"
14360
14361 * libc/stdlib/{dtoa.c, ecvtbuf.c, mprec.c, strtod.c}: Include
14362 <string.h>.
14363 libc/stdlib/malloc.c: Call sbrk_r rather than sbrk.
14364 (NULL): Don't define if already defined.
14365 libc/stdlib/system.c: Call reentrant versions of system calls.
14366 (system_r): New function.
14367
14368 * Changes for reentrancy.
14369 libc/include/_ansi.h (_PARAMS): New macro.
14370 libc/include/errno.h: Define errno as a macro that calls __errno.
14371 (__errno_r): New macro for reentrant code.
14372 libc/include/math.h: Include reent.h. Declare many reentrant
14373 functions.
14374 (signgam): Now a macro, not a variable.
14375 (struct exception): Added err field.
14376 libc/include/reent.h: Don't declare __sglue. Added function
14377 declarations.
14378 (struct reent_struct): Moved errno to beginning. Added _signgam.
14379 libc/include/stdio.h, libc/include/stdlib.h: Added function
14380 declarations.
14381
14382 * More reentrancy hacking.
14383 libc/errno/errno.c (__errno): New function.
14384 libc/reent/execr.c, libc/reent/filer.c, libc/reent/fstatr.c,
14385 libc/reent/linkr.c, libc/reent/sbrkr.c, libc/reent/statr.c: New
14386 files.
14387
14388 * Added many new reentrant functions to libm/math/*.
14389 libm/math/error.c (__matherror): Added reent_struct pointer
14390 argument. Changed all callers.
14391 libm/math/gamma.c (signgam): Removed. Set ptr->_signgam, instead.
14392 libm/math/exp.h, libm/math/pow.h, libm/math/sincos.h,
14393 libm/math/tan.h: Removed obsolete unused header files.
14394
14395 * libc/sys/a29khif/stubs.s: Use register lr0, not v0.
14396
14397 * libc/sys/sun/Makefile.in (COPYOFILES): Don't pull in errno.o.
14398
14399Mon Mar 8 16:43:43 1993 Steve Chamberlain (sac@thepub.cygnus.com)
14400
14401 * libc/sys/a29khif/stubs.s: clobber safe register, and fill all
14402 delay slots.
14403
14404Tue Mar 2 14:47:00 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
14405
14406 * libc/libc.texinfo: comment out reentrancy chapter (duh)
14407
14408Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
14409
14410 * libc/reent/reent.tex: New file. (text from
14411 newlib/libc/libc.texinfo)
14412 * libc/stdio/tmpnam.c: fixed doc typo
14413 * libc/stdlib/rand.c: fixed doc typo
14414
14415Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
14416
14417 * libc/reent/reent.tex: New file. (text from
14418 newlib/libc/libc.texinfo)
14419
14420Fri Feb 26 12:20:54 1993 Steve Chamberlain (sac@thepub.cygnus.com)
14421
14422 support for reentrancy
14423 * libc/reent/reent.c, libc/reent/Makefile.in, libc/reent/reent.c:
14424 new files
14425 * libc/errno/errno.c, libc/include/ieeefp.h,
14426 libc/include/locale.h, libc/include/reent.h,
14427 libc/include/signal.h, libc/include/stdio.h,
14428 libc/include/stdlib.h, libc/include/string.h, libc/include/time.h,
14429 libc/signal/signal.c libc/stdio/cvt.c, libc/stdio/fclose.c,
14430 libc/stdio/fdopen.c, libc/stdio/fflush.c, libc/stdio/fgets.c,
14431 libc/stdio/findfp.c, libc/stdio/flags.c, libc/stdio/fopen.c,
14432 libc/stdio/fputc.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
14433 libc/stdio/ftell.c, libc/stdio/fwalk.c, libc/stdio/getchar.c,
14434 libc/stdio/gets.c, libc/stdio/glue.h, libc/stdio/iprintf.c,
14435 libc/stdio/local.h, libc/stdio/makebuf.c, libc/stdio/perror.c,
14436 libc/stdio/printf.c, libc/stdio/putchar.c, libc/stdio/puts.c,
14437 libc/stdio/refill.c, libc/stdio/scanf.c, libc/stdio/setvbuf.c,
14438 libc/stdio/sprintf.c, libc/stdio/tmpfile.c, libc/stdio/tmpnam.c,
14439 libc/stdio/ungetc.c, libc/stdio/vfprintf.c, libc/stdio/vfprintf.h,
14440 libc/stdio/vfscanf.c, libc/stdio/vprintf.c, libc/stdio/wsetup.c,
14441 libc/stdlib/__adjust.c, libc/stdlib/__exp10.c,
14442 libc/stdlib/assert.c, libc/stdlib/atexit.c, libc/stdlib/atol.c,
14443 libc/stdlib/dtoa.c, libc/stdlib/ecvtbuf.c, libc/stdlib/malloc.c,
14444 libc/stdlib/mprec.c, libc/stdlib/mprec.h, libc/stdlib/rand.c,
14445 libc/stdlib/setenv.c, libc/stdlib/std.h, libc/stdlib/strtod.c,
14446 libc/stdlib/strtol.c, libc/stdlib/strtoul.c, libc/string/strtok.c,
14447 libc/time/asctime.c, libc/time/localtime.c, libc/time/mktime.c,
14448 libc/time/strftime.c: modify to provide reentracy.
14449
14450 new routines:
14451 strtok_r, asctime_r, fdopen_r, _cleanup_r, fopen_r, iprintf_r,
14452 perror_r, printf_r, putchar_r, puts_r, scanf_r, sprintf_r,
14453 tmpfile_r, vfiprintf_r, vfprintf_r, strtod_r, dtoa_r, rand_r,
14454 srand_r, strtoul_r,strtol_r, free_r, malloc_r, morecore_r,
14455 mstats_r, realloc_r, localeconv_r, setlocale_r
14456
14457Wed Feb 17 20:17:15 1993 Mark Eichin (eichin@cygnus.com)
14458
14459 * libc/include/machine/ieeefp.h, libc/include/machine/setjmp.h,
14460 libc/include/sys/config.h, libc/include/sys/signal.h,
14461 libc/include/sys/stat.h, libc/include/sys/types.h: For compiler
14462 provided macros (such as m68000), use the ansi version
14463 (__m68000__) so that the library can be used with code compiled
14464 -ansi. In particular, m68000, mc68000, _AM29K, i386, MIPSEL, unix,
14465 and sparc.
14466
14467Wed Feb 17 13:01:34 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
14468
14469 * configure.in (sparc*): Don't set -fsoft-float for sparc
14470 configurations. Do set -fsoft-float for sparclite configurations.
14471
14472Fri Feb 12 16:25:52 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
14473
14474 * default.menu, no-signal.menu: alternate forms of libc main menu
14475 (in newlib rather than newlib/libc due to configuration restrictions)
14476
14477 * configure.in: select one of the two menus above, link to
14478 libc.menu
14479
14480 * libc/libc.texinfo: include menu from separate file
14481
14482Fri Feb 12 12:50:06 1993 Ian Lance Taylor (ian@cygnus.com)
14483
14484 * Makefile.in (FLAGS_TO_PASS): Put INSTALL back in.
14485 (info): Split long shell command in half.
14486 * libc/Makefile.in (info, targetdep.tex): Don't pass everything to
14487 sub-makes, just CHEW and TARGETDOC.
14488 (targetdep.tex): Removed now special handling of sys and machine
14489 subdirectories, made obsolete some time ago.
14490 * libc/machine/Makefile.in (doc): Don't pass everything to
14491 sub-make, just CHEW and TARGETDOC.
14492 (Makefile): New target.
14493 * libc/sys/Makefile.in (Makefile): New target.
14494
14495Thu Feb 11 15:25:15 1993 Ian Lance Taylor (ian@cygnus.com)
14496
14497 * Makefile.in (here and most subdirectories): Only pass down CHEW
14498 and TARGETDOC when making info, not for other targets.
14499
14500 * Makefile.in (here and most subdirectories), host/any: Use $(AR)
14501 $(AR_FLAGS) rather than $(ARUPDATE).
14502
14503Wed Feb 10 11:57:52 1993 Ian Lance Taylor (ian@cygnus.com)
14504
14505 * Try to reduce command line length:
14506 * Makefile.in (FLAGS_TO_PASS): don't pass down exec_prefix,
14507 CC_FOR_BUILD, CFLAGS_FOR_BUILD, INSTALL or CHEW.
14508 (info, docs): pass CC_FOR_BUILD and CFLAGS_FOR_BUILD to doc.
14509 (info): Pass CHEW to other subdirs.
14510
14511Tue Feb 9 14:01:42 1993 Mark Eichin (eichin@cygnus.com)
14512
14513 * configure.in: add signal_dir, like unix_dir, but by default it
14514 is set to "signal" so that a29khif can turn it off (since a29khif
14515 has raise() as part of machine-specific signal.s.)
14516
14517Fri Jan 15 12:09:50 1993 Steve Chamberlain (sac@thepub.cygnus.com)
14518
14519 * libc/sys/config.h, libc/machine/ieeefp.h: add Z8000 support
14520 * libc/stdio/Makefile.in: pass CFLAGS so vfiprintf.c gets built
14521 correctly.
14522 * libc/stdio/fdopen.c, libc/stdio/fgets.c, libc/stdio/fscanf.c,
14523 libc/stdio/vfprintf: type lint.
14524 * libc/sys/z8ksim/crt0.c (start): Z8001/Z8002 independent
14525 initialzation code.
14526 * libc/sys/z8ksim/glue.c: Z8001/Z8002 clean system calls.
14527
14528Tue Dec 29 10:15:33 1992 Ian Lance Taylor (ian@cygnus.com)
14529
14530 * stub/mvme135/mvme135-asm.S: new file.
14531 stub/mvme135mvme135-stub.c: moved all assembler routines into
14532 mvme135-asm.S.
14533 stub/mvme135/Makefile.in: build mvme135-stub.o.
14534
14535Mon Dec 28 12:40:43 1992 Ian Lance Taylor (ian@cygnus.com)
14536
14537 * Makefile.in: don't pass down $(CPP); use $(CC) -E in
14538 sub-Makefiles instead, to try to avoid line length limitations.
14539
14540Mon Dec 21 18:36:13 1992 Per Bothner (bothner@rtl.cygnus.com)
14541
14542 * libc/include/unistd.h (read, write): Use void* instead of
14543 char*.
14544
14545Thu Dec 17 13:49:46 1992 Mark Eichin (eichin@cygnus.com)
14546
14547 * stub/go32/resetpc: sample script to send a reset packet to the
14548 stub
14549
14550 * stub/go32/I386STUB.C: new file, gdb/i386stub.c modified for the
14551 DOS environment, which compiles with Turbo C.
14552
14553 * stub/go32/DSER32.LNK: new file, linker commands for serial
14554 remote stub.
14555
14556 * stub/go32/CONTROL.C: turn off debug_mode, add CYGNUS tag line to
14557 start up message to identify version; call set_debug_traps.
14558
14559 * stub/go32/DEBUG.C: turn off debug_mode (so stub doesn't need any
14560 keyboard interaction); call handle_exception() in go_til_stop,
14561 rather than return, so that the remote stub gets control.
14562
14563 * stub/go32/MAKEFILE: fixed to actually use DOS commands (del and
14564 rename, rather than mv), set flags that work with current Turbo C,
14565 including using the /3 flag; also, add commands to build dser32.
14566
14567 * stub/go32/DEBUG32.LNK, stub/go32/GO32.LNK: fix paths to match
14568 default Turbo C installation (\tc rather than \usr)
14569
14570 * stub/go32/MONO.C (printf): current Turbo C uses "..." instead of
14571 "&..."
14572
14573Mon Dec 14 09:37:33 1992 Steve Chamberlain (sac@thepub.cygnus.com)
14574
14575 * libc/include/math.h: added _DOUBLE_IS_32BITS checks
14576
14577Thu Nov 12 22:31:04 1992 Steve Chamberlain (sac@thepub.cygnus.com)
14578
14579 * libc/stdio/cvt.c (licvt): new function to convert ints when
14580 sizeof(int) != sizeof(long).
14581
14582 * libc/include/stdio.h: added prototype for iprintf.
14583 * libc/include/machine/limits.h machine/ieeefp.h: z8k stuff
14584
14585Tue Nov 10 12:18:12 1992 Ian Lance Taylor (ian@cygnus.com)
14586
14587 * libc/machine/m68k/setjmp.S: use __USER_LABEL_PREFIX__ and
14588 __REGISTER_PREFIX__.
14589
14590Mon Nov 2 13:50:14 1992 Ian Lance Taylor (ian@cygnus.com)
14591
14592 * libc/sys/m68kbare: moved into stub directory.
14593
14594Mon Nov 2 13:40:42 1992 Ian Lance Taylor (ian@cygnus.com)
14595
14596 * configure.in, Makefile.in: created new directory stub, to hold
14597 sample code for specific targets.
14598
14599Wed Oct 28 02:19:55 1992 Mark Eichin (eichin@cygnus.com)
14600
14601 * restored libc/sys/go32/sys/fcntl.h, to override incorrect values
14602 in the unified libc/include/sys/fcntl.h.
14603
14604Wed Oct 21 13:55:58 1992 Doug Evans (dje@rtl.cygnus.com)
14605
14606 * libc/stdlib/ecvtbuf.c: (print_f,_gcvt): printf("%f", 0.01)
14607 printed .01, not 0.01.
14608
14609Mon Oct 19 11:05:55 1992 Ian Lance Taylor (ian@cygnus.com)
14610
14611 * configure.in: compile with -m68000 for m68* targets.
14612
14613Sun Oct 18 05:29:05 1992 Mark Eichin (eichin@cygnus.com)
14614
14615 * libm/math/remainder.c (remainder): document the svr4 and sunos
14616 references used to construct the function.
14617
14618Sat Oct 17 21:46:16 1992 Mark Eichin (eichin@cygnus.com)
14619
14620 * libm/math/remainder.c (rint, remainder): fix old typos.
14621 * libm/math/Makefile.in: actually build remainder.c (functions
14622 rint and remainder, from SysVr4 Programmer's Guide floor(3m) man
14623 page.)
14624
14625Thu Oct 15 07:48:05 1992 Ian Lance Taylor (ian@cygnus.com)
14626
14627 * libc/string/bcopy.c: BSD version works on overlapping strings,
14628 so ours should too.
14629
14630 * libc/stdlib/system.c: always invoke /bin/sh, not getenv
14631 ("SHELL").
14632
14633Wed Oct 14 11:07:11 1992 Ian Lance Taylor (ian@cygnus.com)
14634
14635 * Makefile.in (docs): new target.
14636
14637Wed Oct 14 07:44:25 1992 Ian Lance Taylor (ian@cygnus.com)
14638
14639 * libc/include/sys/times.h: define clock_t as required by POSIX.
14640 libc/include/time.h: protect clock_t from multiple definitions.
14641
14642Wed Oct 7 11:02:21 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
14643
14644 * libm/math/sqrt.h (sqrt): actually, the final version of fp-bit
14645 does not need more than the original three iterations to get
14646 within 1 ulp. (Paranoia tests for rounding to better than that,
14647 but further iterations *don't* help, only more subtle changes
14648 can.)
14649
14650Tue Oct 6 09:22:12 1992 Ian Lance Taylor (ian@cygnus.com)
14651
14652 * libc/sys/vxworks68, libc/sys/vxworks960: removed, since they
14653 were doing nothing useful.
14654
14655Tue Oct 6 08:48:13 1992 Ian Lance Taylor (ian@cygnus.com)
14656
14657 * configure.in: define MALLOC_PROVIDED for vxworks targets;
14658 removed sys_dir settings of vxworks68 and vxworks960.
14659 host/any: don't pass -nostdinc to gcc, since newlib no longer
14660 provides all required header files.
14661
14662 * libc/stdlib/malloc.c: only compile this file if MALLOC_PROVIDED
14663 is not defined; this provides a hook for VxWorks.
14664
14665Mon Oct 5 03:44:57 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
14666
14667 * libc/stdio/setvbuf.c (setvbuf): while ANSI does say to malloc a
14668 buffer if buf is NULL, don't do it here -- it is already being
14669 done by makebuf elsewhere in stdio.
14670
14671Fri Oct 2 13:12:07 1992 Ian Lance Taylor (ian@cygnus.com)
14672
14673 * libc/sys/a29khif/Makefile.in: assemble Steve's list of stubs so
14674 that C programs can call functions without using initial
14675 underscores.
14676
14677Thu Oct 1 09:37:47 1992 Ian Lance Taylor (ian@cygnus.com)
14678
14679 * libc/stdlib/abort.c (abort): call exit, in case kill returns.
14680
14681Wed Sep 30 08:22:18 1992 Ian Lance Taylor (ian@cygnus.com)
14682
14683 * configure.in: set TARGET_CFLAGS for certain CPU types to
14684 -msoft-float.
14685
14686Tue Sep 29 21:09:32 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
14687
14688 * libc/sys/m68kbare/glue.c: use <_ansi.h> instead of <ansidecl.h>
14689
14690Mon Sep 28 14:58:44 1992 Ian Lance Taylor (ian@cygnus.com)
14691
14692 * configure.in: added sys_dir m68kbare for m68k*-unknown-aout and
14693 m68k*-unknown-coff.
14694
14695Fri Sep 25 08:33:21 1992 Ian Lance Taylor (ian@cygnus.com)
14696
14697 * libc/include/stdio.h: define __need___va_list before including
14698 <stdarg.h>, to avoid defining va_arg, et. al.
14699
14700Tue Sep 22 13:47:00 1992 Ian Lance Taylor (ian@cygnus.com)
14701
14702 * libc/sys/Makefile.in: handle the case of an empty $(sys_dir)
14703 (don't cd to the user's home directory).
14704
14705 * libc/Makefile.in: replaced all instances of $(MAKE) with make.
14706 In general this is the wrong thing to do, but I can't get around
14707 GNU make's insistence on passing command line arguments any other
14708 way.
14709
14710Tue Sep 22 10:12:44 1992 Ian Lance Taylor (ian@cygnus.com)
14711
14712 * configure.in: always configure the libc/sys directory, since it
14713 now provides a required documentation file.
14714
14715 * Makefile.in: replaced all instances of $(MAKE) with make. In
14716 general this is the wrong thing to do, but I can't get around GNU
14717 make's insistence on passing command line arguments any other way.
14718
14719Mon Sep 21 22:42:26 1992 Ian Lance Taylor (ian@tweedledumbest.cygnus.com)
14720
14721 * libc/stdlib/ecvtbuf.c (_gcvt): string for 0 was not null
14722 terminated.
14723
14724 * libc/stdio/local.h: include <stdarg.h> to define va_list.
14725 libc/stdio/vsprintf.c: include <stdarg.h> rather than <varargs.h>.
14726
14727 * libc/include/float.h, libc/include/stdarg.h,
14728 libc/include/stddef.h, libc/include/varargs.h: removed; use gcc
14729 versions instead.
14730 libc/include/stdio.h: get size_t from <stddef.h>, and va_list from
14731 <stdarg.h>, not from <machine/types.h>. Protect definition of
14732 NULL.
14733 libc/include/time.h: get size_t from stddef.h. Protect definition
14734 of NULL.
14735 libc/include/machine/limits.h: override gcc <limits.h> by defining
14736 _LIMITS_H___. Don't define CLK_TCK. Copied in gcc <limits.h> to
14737 get correct INT_MIN and LONG_LONG values.
14738 libc/include/machine/types.h: don't define ptrdiff_t, wchar_t,
14739 size_t or va_list at all; they're now gotten from stddef.h
14740 instead.
14741 libc/include/machine/varargs.h: removed; use gcc version instead.
14742 libc/include/sys/types.h: explicitly include <machine/types.h>.
14743
14744 * libm/math/sqrt.h: using the fp-bit routines appears to require
14745 more iterations.
14746
14747 * Makefile.in, host/any: let system include files override machine
14748 include files.
14749
14750Sat Sep 19 21:10:06 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
14751
14752 * libc/include/machine/types.h: allow __*_TYPE__ from cpp to
14753 override _*_T_ definitions defaulted here.
14754
14755Tue Sep 15 11:14:46 1992 Ian Lance Taylor (ian@cygnus.com)
14756
14757 * Makefile.in (install): install the include files in
14758 $(tooldir)/include, not $(exec_prefix)/include.
14759
14760Fri Sep 11 15:48:43 1992 Ian Lance Taylor (ian@cygnus.com)
14761
14762 * Makefile.in (install): fixed typo, and changed install to not
14763 force rebuild of libc.a and libm.a.
14764
14765Thu Sep 10 10:46:09 1992 Ian Lance Taylor (ian@cygnus.com)
14766
14767 * libc/sys/a29khif/*: Changed all .include's to include
14768 sys/sysmac.h, not plain sysmac.h. The header files live in sys so
14769 that they will be installed for the user.
14770
14771 * Makefile.in (all): create targ-include, a directory holding the
14772 machine and system specific header files during the build.
14773 (install): fixed installation of machine and system specific
14774 header files.
14775
14776 * Makefile.in: fixed comment.
14777 host/any: change .s.o rule to use $(AS) rather than $(CC), so that
14778 we can pass $(INCLUDES) to it.
14779
14780Thu Sep 10 10:13:13 1992 Ian Lance Taylor (ian@cygnus.com)
14781
14782 * libc/include/sys/param.h: new generic file, which may be
14783 overridden for specific systems.
14784
14785 * libc/include/sys/signal.h: define all ANSI signal names, and
14786 NSIG (which is not ANSI) for a29k.
14787
14788Tue Sep 8 09:04:30 1992 Ian Lance Taylor (ian@cygnus.com)
14789
14790 * Makefile.in: don't pass down arguments the lower level makes
14791 will not need.
14792 * libc/Makefile.in: recurse directly, rather than using subdir_do,
14793 in hopes of avoiding argument length limits.
14794 * libm/Makefile.in: recurse directly, rather using subdir_do, in
14795 hopes of avoiding argument length limits.
14796
14797Tue Sep 8 08:27:22 1992 Ian Lance Taylor (ian@cygnus.com)
14798
14799 * libc/include/sys/fcntl.h: include <sys/types.h> to ensure that
14800 mode_t is defined.
14801
14802Mon Sep 7 14:02:07 1992 Ian Lance Taylor (ian@cygnus.com)
14803
14804 * Fixed make info and make install-info for newlib, changing most
14805 Makefile.in and several *.tex files. Moved doc directory from
14806 libc to top level.
14807
14808 * libc/time/mktime.c (_DAYS_IN_MONTH): actually, not const.
14809 Should be rewritten.
14810
14811 * libc/string/strings.tex: renamed node index to node index
14812 function, so that it does not conflict with the top level index
14813 node.
14814
14815 * libc/include/sys/config.h: define __IEEE_BIG_ENDIAN for h8300.
14816
14817Fri Sep 4 02:34:06 1992 Ian Lance Taylor (ian@cygnus.com)
14818
14819 * Overhauled general configuration for newlib. Eliminated all
14820 target dependent Makefile fragments. Create libraries in newlib
14821 rather than newlib/libc and newlib/libm. Use CC, et. al., rather
14822 than CROSS_CC, et. al. Broke make docs; will fix later.
14823
14824 * libc/time/localtime.c (_DAYS_IN_MONTH): actually, not const.
14825 Should be rewritten.
14826
14827Tue Sep 1 15:21:14 1992 Ian Lance Taylor (ian@cygnus.com)
14828
14829 * libc/configure.in: cleaned up somewhat; switch on ${target}
14830 rather than ${target_alias}.
14831 * libm/configure.in: cleaned up somewhat; switch on ${target}
14832 rather than ${target_alias}.
14833
14834 * libc/ctype/ctype_.c: marked _ctype_ array _CONST.
14835 * libc/include/ctype.h: marked _ctype_ as _CONST.
14836
14837 * libc/locale/locale.c (lconv, localeconv): marked static lconv as
14838 _CONST.
14839
14840 * libc/stdio/cvt.c, libc/stdio/findfp.c (__sfmoreglue),
14841 libc/stdio/vfscanf.c (__svfscanf): made static variables const.
14842 libc/stdio/gets.c (gets): removed non-ANSI warning message.
14843 libc/stdio/tmpnam.c (tmpnam): removed unneeded filename variable.
14844
14845 * libc/stdlib/mprec.h, libc/stdlib/mprec.c (pow5mult, tens,
14846 bigtens, tinytens): marked arrays _CONST.
14847 libc/stdlib/qsort.c (swap): if __GNUC__, use _builtin_alloca
14848 rather than a static variable.
14849
14850 * libc/time/asctime.c (asctime), libc/time/localtime.c
14851 (_DAYS_IN_MONTH), libc/time/mktime.c (_DAYS_IN_MONTH,
14852 _DAYS_BEFORE_MONTH), libc/time/strftime.c (dname_len, dname,
14853 mname_len, mname): Marked static arrays _CONST.
14854
14855 * libm/math/gamma.h: made local variables non-static.
14856
14857 * libm/math/acos.h, libm/math/bessel.c, libm/math/erf.c,
14858 libm/math/exp.c, libm/math/gamma.h: marked static arrays as
14859 _CONST.
14860
14861 * libm/math/constants.c: removed file, because the constants it
14862 defined were never referenced.
14863 libm/math/Makefile.in: removed references to constants.c.
14864 libm/math/mathimpl.h: removed declarations of constants.
14865
14866Wed Aug 26 21:09:06 1992 Ian Lance Taylor (ian@cygnus.com)
14867
14868 * libc/include/machine/varargs.h: only call __builtin_saveregs if
14869 it is sensibly defined in libgcc2. Checks preprocessor defines,
14870 which is not a good solution.
14871
14872 * libm/sqrt.c: sqrt(Infinity) should not be a domain error.
14873
14874 * libm/frexp.c: handle denormalized numbers as arguments.
14875
14876 * libm/math/Makefile.in: added some dependencies for .c files
14877 which include local .h files.
14878
14879Mon Aug 24 12:57:58 1992 Ian Lance Taylor (ian@cygnus.com)
14880
14881 * libc/configure.in: set target_alias for OSE*. Replace
14882 target_makefile_frag if it is blank.
14883
14884 * libc/Makefile.in: make sure everything is passed to subsidiary
14885 makes; create all directories when installing.
14886
14887 * libm/ieeefp/Makefile.in, libm/math/Makefile.in: use
14888 CROSS_ARUPDATE instead of AR.
14889
14890 * libm/configure.in: set target_alias for OSE*. Replace
14891 target_makefile_frag if it is blank.
14892
14893 * libm/Makefile.in: make sure everything is passed to subsidiary
14894 makes; create all directories when installing.
14895
14896Thu Aug 20 15:11:51 1992 Mark Eichin (eichin@cygnus.com)
14897
14898 * add following change from libc copy.
14899
14900Wed Aug 19 18:54:49 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
14901
14902 * libc/libc.texinfo: make copyright disclaimers appear on back of
14903 title page; make format of same slightly less ugly; avoid using
14904 underbars in section headings (avoids nasty texinfo bug in table
14905 of contents).
14906
14907 * libc/ctype/tolower.c, libc/ctype/toupper.c: (doc changes in
14908 comments only) avoid using underbars in section headings
14909
14910 * libc/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
14911 isnan ieeefp/fpmask.c, ieeefp/fpround.c, ieeefp/fpsticky.c (doc
14912 changes in comments only): shorten headings ieeefp/infinity.c,
14913 ieeefp/isnan.c: (doc, comments only) more informative headings
14914
14915 * libc/math/bessel.c: (doc, comments only) shorten heading
14916
14917 * libc/stdlib/efgcvt.c, libc/stdlib/mbtowc.c, libc/stdlib/wctomb.c
14918 (doc, comments only) shorten headings
14919
14920 * libc/time/localtime.c (doc, comments only): shorten headings
14921
14922 * libm/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
14923 isnan
14924 libm/ieeefp/fpmask.c, libm/ieeefp/fpround.c,
14925 libm/ieeefp/fpsticky.c (doc changes in comments only): shorten
14926 headings
14927 libm/ieeefp/infinity.c, libm/ieeefp/isnan.c: (doc, comments
14928 only) more informative headings
14929 * libm/math/bessel.c: (doc, comments only) shorten heading
14930
14931Wed Aug 19 07:06:37 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
14932
14933 * .../Makefile.in: use CROSS_ARUPDATE consistently.
14934 * config/*.mt: define CROSS_AR as well as CROSS_ARUPDATE
14935 * config/*.mt: define CROSS_CPP based on CROSS_CC, not /lib/cpp.
14936 * .../Makefile.in: get rid of .c.o rule - if TOP is correctly
14937 defined, the one from the .mt file will be correct.
14938 * libc/include/machine, libc/include/sys: created, and populated
14939 with common files from machine/*/machine. ifdefs were used for
14940 most, typically by handling exceptions first and then filling in
14941 defaults. Files with D.J. Delorie copyright #included rather than
14942 copied. Most files in include/sys really were the same in the
14943 original.
14944 * libc/include/...: cleaned up use of _EXFUN.
14945 * libc/stdlib/mprec.c: mprec.h doesn't get installed, so include
14946 it with double quotes, not angles.
14947
14948Mon Aug 10 11:43:20 1992 Ian Lance Taylor (ian@dumbest.cygnus.com)
14949
14950 * libc/Makefile.in: always create installation directories.
14951
14952Sun Aug 9 22:45:48 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
14953
14954 * libc/configure.in: handle host properly (using canonical
14955 triples), better error message for the case of target not found
14956
14957Thu May 28 01:56:37 1992 Michael Tiemann (tiemann@rtl.cygnus.com)
14958
14959 * libc/Makefile.in (insincdir): Ensure this directory exists
14960 before attempting installation.
14961
14962Fri May 1 18:16:42 1992 Steve Chamberlain (sac@thepub.cygnus.com)
14963
14964 * libc/stdlib/assert.c: now calls abort like it should
14965 * libc/sys/a29khif: many many patches for 29khif work
14966 * libc/machine/i386: gnulib2 expanded there.
14967
14968Tue Apr 28 19:08:37 1992 Steve Chamberlain (sac@thepub.cygnus.com)
14969
14970 Added accurate fp conversion routines to stdlib, moved dcvt from
14971 stdio to stdlib and called it ecvtbuf:
14972 * libc/stdlib/mprec.c, mprec.h: new files for multiprec arithmetic
14973 * libc/stdlib/Makefile.in, efgcvt.c, strtod.c: modified to use new
14974 routines
14975 * libc/libc.texinfo: Modifed to include the copyright info from
14976 the mprec files
14977 * libc/stdlib/efgcvt.c: now xref to ecvtbuf in stdlib.
14978 * libc/test/ : many vector which tested for the implementation
14979 defined returns of strange conversion requests have been updated
14980 to relflect the new implementation
14981
14982Mon Apr 27 13:41:33 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
14983
14984 * libc/libc.texinfo: new chapter on variable arg lists
14985 (stdarg.h/varargs.h)
14986 * libc/libc.texinfo: new title
14987 * libc/time/gmtime.c, libc/time/localtime./c, libc/time/mktime.c:
14988 (doc only) shorter headings for better formatting.
14989
14990Fri Apr 24 11:26:48 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
14991
14992 * libc/libc.texinfo: three more info menu entries
14993 * libc/locale/locale.tex: new chapter
14994 * libc/locale/locale.c: new doc for setlocale, localeconv
14995 * libc/locale/Makefile.in: use new locale doc
14996 * libc/signal/signal.tex: new chapter
14997 * libc/signal/raise.c, libc/signal/signal.c: new doc
14998 * libc/signal/Makefile.in: use new doc
14999 * libc/time/time.tex: new chapter
15000 * libc/time/asctime.c libc/time/clock.c libc/time/ctime.c
15001 libc/time/difftime.c libc/time/gmtime.c libc/time/localtime.c
15002 libc/time/mktime.c libc/time/strftime.c libc/time/time.c: new doc
15003 * libc/time/Makefile.in: use new doc
15004
15005Tue Apr 21 14:48:50 1992 Steve Chamberlain (sac@thepub.cygnus.com)
15006
15007 * libm/math/log1p.c: split to use the new function way of float
15008 function definition. math/log1p.h deleted
15009 * libm/math/scalb.c: obsolete and deleted
15010 * libm/math/scalbn.c: created from part log1p.c
15011 * libm/math/Makefile.in: know about log1p and scalbn
15012
15013Tue Apr 21 12:32:21 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
15014
15015 * libc/ctype/isupper.c: revise doc;
15016 libc/ctype/ctype.tex: use doc from isupper.c
15017
15018 * libc/string/bzero.c: new doc
15019
15020Mon Apr 20 14:19:42 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
15021
15022 * libc/stdlib/system.c, libc/stdlib/exit.c, libc/stdlib/abort.c:
15023 new doc
15024 * libc/stdlib/Makefile.in: extract new doc
15025 * libc/stdlib/stdlib.tex: use new doc
15026
15027 * libc/string/strerror.c: expanded doc.
15028
15029 * libc/stdio/Makefile.in: extract doc from more files
15030 * libc/stdio/fopen.c, libc/stdio/perror.c, libc/stdio/remove.c,
15031 libc/stdio/rename.c, libc/stdio/rewind.c, libc/stdio/setbuf.c,
15032 libc/stdio/setvbuf.c, libc/stdio/sprintf.c, libc/stdio/tmpfile.c,
15033 libc/stdio/tmpnam.c, libc/stdio/vfprintf.c, libc/stdio/vprintf.c,
15034 libc/stdio/vsprintf.c: new doc
15035 * libc/stdio/stdio.tex: use new doc
15036
15037Mon Apr 20 09:38:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
15038
15039 * libc/config/ebmon29k: added CROSS_CPP rule and other fixes
15040 * libc/include/ieeefp.h: fixed ansi conflict with isnanf, isinff,
15041 finitef functions.
15042 * libc/sys/a29khif/sys/*.h: ansidecl.h was renamed to _ansi.h some
15043 time ago.
15044
15045 * libc/stdio/stdio.h: added P_tmpdir for /tmp (SVID thing)
15046 * libc/stdio/setbuf.c: added ansi style definition.
15047 * libc/stdio/setvbuf.c: added ansi definition, now mallocs own
15048 buffer if none provided.
15049 * libc/stdio/tmpfile.c: lint
15050 * libc/stdio/tmpnam.c (worker): created. (tmpnam): mallocs buffer
15051 rather than using static, also make sure file isn't already
15052 present. Uses P_tmpdir. (tempnam): rewritten to use new
15053 subroutine, and uses P_tmpdir.
15054 * libc/stdio/siprintf.c: created
15055
15056Mon Apr 13 09:12:58 1992 Steve Chamberlain (sac@thepub.cygnus.com)
15057
15058 Release 1.03 for NEC, major mods. Main differences from release
15059 1.02::
15060
15061 More tests in test/:
15062 * jn_vec.c, jnf_vec.c, yn_vec.c, ynf_vec.c, log2_vec.c,
15063 log2f_vec.c, atan2_vec.c, atan2f_vec.c: new test vectors.
15064 * test_ieee.c: tests for ieee flags & masks - get/set rounding,
15065 get/set mask, get/set sticky and get/set roundtoi. Tests
15066 that setting the bits changes the way arithmetic is done.
15067 * string.c: added test to make sure memcmp does it with unsigned
15068 chars.
15069 * test.c: cleaned up and removed lint.
15070 * sprint_vec, sprint_ivec.c, convert.c, conv_vec.c, iconf_vec.c,
15071 dvec.c: tests for string to value conversions, sprintf, scanf,
15072 atof, atoff, strtod, strtodf, atoi, atol, strtol, ecvtbuf, ecvt,
15073 ecvtf, fcvtbuf, fcvt, fcvtf, gcvt, gcvtf. Some attention paid to
15074 rounding in sprintf too.
15075 * test_is.c: tests for isalnum, isalpha, isascii, iscntrl,
15076 isdigit, isgraph, islower, isprint, ispunct, isspace, isupper,
15077 isxdigit, toascii, tolower, toupper, _tolower, _toupper in macro
15078 and function form.
15079 * math2.c: test for frexp, frexpf, ldexp, ldexpf, modf modff, pow,
15080 powf
15081
15082 In the library:
15083 * libc/stdlib/div.c, libc/stdlib/ldiv.c, libc/stdlib/strtod.c,
15084 libc/stdlib/strtol.c, libc/stdlib/stroul.c, libc/stdlib/abs.c,
15085 libc/stdlib/bsearch.c, libc/stdlib/calloc.c, libc/stdlib/getenv.c,
15086 libc/stdlib/labs.c, libc/stdlib/malloc.c: new documentation
15087 * libc/stdlib/efgcvt.c: rewritten to use new _dcvt routines rather
15088 than sprintf.
15089 * libc/stdio/dcvt.c: rewritten to make more useful elsewhere.
15090 * Method of producting float versions of double functions has
15091 changed, functions will be modified gradually. So far:
15092 libm/math/exp.c, libm/math/pow.c, libm/math/modf.c,
15093 libm/math/sincos.c, libm/math/fmod.c, libm/math/tan.c have been
15094 altered
15095 * libc/string/memcmp.c: now uses unsigned chars
15096 * libc/string/bcmp.c, libc/string/strcpy.c,
15097 libc/stsring/strxfrm.c: fixed doc
15098 * libc/sys/sysvnecv70.tex: fix example of sbrk code
15099\f
15100Local Variables:
15101version-control: never
15102End:
This page took 1.810696 seconds and 5 git commands to generate.