]> sourceware.org Git - newlib-cygwin.git/blame - newlib/ChangeLog
2005-10-14 Bob Wilson <bob.wilson@acm.org>
[newlib-cygwin.git] / newlib / ChangeLog
CommitLineData
e0811fb3
JJ
12005-10-14 Bob Wilson <bob.wilson@acm.org>
2
3 * libc/libc.texinfo (Top): Surround this node with @ifnottex
4 instead of @ifinfo. Update menu to add Introduction and match
5 SUBDIRS order.
6 (Introduction): New section.
7
e63c98c6
JJ
82005-10-14 Bob Wilson <bob.wilson@acm.org>
9
10 * libc/reent/reent.tex (Reentrancy): Replace "Cygnus C Library"
11 with "Red Hat newlib C Library".
12 * libc/sys.tex (Stubs): Likewise.
13 * libm/math/math.tex (Math): Likewise.
14 * libm/mathfp/mathfp.tex (Math): Likewise.
15
339195bf
JJ
162005-10-11 Shaun Jackman <sjackman@gmail.com>
17
18 * libc/include/stdio.h (dprintf): New declaration.
19 (vdprintf): Ditto.
20 * libc/stdio/Makefile.am (GENERAL_SOURCES): Add dprintf.c
21 and vdprintf.c.
22 * libc/stdio/Makefile.in: Regenerate.
23 * libc/stdio/dprintf.c: New file.
24 * libc/stdio/vdprintf.c: New file.
25 * libc/stdio/stdio.tex (dprintf): New entry.
26
da71e518
JJ
272005-10-11 David Weatherford <weath@tensilica.com>
28
29 * libc/stdio/vfprintf.c (_VFPRINTF_R): Recognize 'F' format.
30 Print "inf" and "nan" in lowercase for e/f/g formats and in
31 uppercase for E/F/G formats.
32
f011605a
JJ
332005-10-07 Bob Wilson <bob.wilson@acm.org>
34
35 * libc/stdlib/mallocr.c (mALLOc, rEALLOCc, mEMALIGn): Set errno
36 to ENOMEM on failure.
37
bc037f3a
JJ
382005-10-06 Ralf Corsepius <ralf.corsepius@rtems.org>
39
40 * libc/include/stdint.h: Add [u]int_fast<N>_t types.
41
c7e20979
JJ
422005-10-04 Ralf Corsepius <ralf.corsepius@rtems.org>
43
44 * libc/include/stdint.h: Move magic to set __have_long* to the
45 beginning. Use #if __have* instead of #if defined(__have*).
46 Minor typo fixes.
47
58e78add
JJ
482005-10-04 James E Wilson <wilson@specifix.com>
49
50 * libc/include/sys/dirent.h (_DIRENT_H_): Delete #include_next. Add
51 #error.
52
8afb8202
JJ
532005-10-03 Jeff Johnston <jjohnstn@redhat.com>
54
55 * libc/sys/linux/include/stdint.h: Include <sys/types.h> and
56 incorporate Ralf's change below.
57
14491fd0
JJ
582005-10-03 Ralf Corsepius <ralf.corsepius@rtems.org>
59
60 * libc/include/stdint.h:
61 Use __INTMAX_TYPE__ to derive intmax_t.
62 Use __UINTMAX_TYPE__ to derive uintmax_t.
63 Fix minor typo.
64
ee694aea
JJ
652005-09-27 Ralf Corsepius <ralf.corsepius@rtems.org>
66
67 * libc/include/stdint.h: Correct __STDINT_EXP macro incorrectly
68 handling GCC >= 4.
69
9f1926f2
JJ
702005-09-20 Jeff Johnston <jjohnstn@redhat.com>
71
72 * libc/sys/linux/include/stdint.h: Update to match functionality
73 of generic newlib stdint.h.
74
0ce4fcef
JJ
752005-09-20 Jeff Johnston <jjohnstn@redhat.com>
76
77 * libc/include/stdint.h (__EXP): Rename to __STDINT_EXP
78 and do not #undef the macro after it is used. Fix typos.
79 Also change 64-bit constants to use the __have_long64 and
80 __have_longlong64 flags to determine if long or long long
81 constants should be used.
82 * libc/include/inttypes.h: Include stddef.h to get wchar_t
83 type defined.
84
17060817
JJ
852005-09-20 Shaun Jackman <sjackman@gmail.com>
86
87 * libc/include/stdint.h: Fix typo in names of
88 LEAST macros.
89
1e1d1d3d
JJ
902005-09-20 Jeff Johnston <jjohnstn@redhat.com>
91
92 * libc/sys/rtems/include/inttypes.h: Moved to...
93 * libc/include/inttypes.h: ...here.
94
cddfc170
JJ
952005-09-19 Jeff Johnston <jjohnstn@redhat.com>
96
97 * libc/sys/rtems/include/stdint.h: Moved to...
98 * libc/include/stdint.h: ...here.
99
b10ab725
JJ
1002005-09-08 Jeff Johnston <jjohnstn@redhat.com>
101
102 * Makefile.am: Add include files under bits sub-directory.
103 * Makefile.in: Regenerated.
104 * libc/sys/linux/argp/argp-fs-xinl.c: Set __OPTIMIZE__ to
105 actual value of 1 to be compatible with newer glibc headers.
106 * libc/sys/linux/sys/cdefs.h: Fix to be compatible with newer
107 glibc headers.
108 * libc/sys/linux/sys/dirent.h: Ditto.
109 * libc/sys/linux/argp/argp-xinl.c: Ditto.
110 * libc/sys/linux/dl/dl-runtime.c: Make sure fixup and
111 profile_fixup routines are marked used so they won't be
112 optimized away.
113 * libc/sys/linux/dl/dl-cache.c: Don't use weak_extern macro
114 to mark functions as weak.
115 * libc/sys/linux/dl/dl-open.c: Ditto.
116 * libc/sys/linux/iconv/gconv_open.c: Fix to obey new gcc4
117 rules about lvalues.
118 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
119 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Don't use
120 weak_extern macro to mark functions as weak. Instead always
121 use #pragma weak.
122 * iconvdata/jis0208.h: Fix to work with gcc4.
123 * libc/sys/linux/dl/dl-load.c: Ditto.
124 * libc/sys/linux/dl/dl-reloc.c: Ditto.
125 * libc/sys/linux/dl/do-rel.h: Ditto.
126 * libc/sys/linux/dl/dynamic-link.h: Ditto.
127 * libc/sys/linux/include/ltdl.h: Ditto.
128 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
129 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
130 * libc/sys/linux/net/ns_ntoa.c: Ditto.
131 * libc/sys/linux/bits/initspin.h: New file.
132 * libc/sys/linux/bits/libc-lock.h: Ditto.
133 * libc/sys/linux/bits/pthreadtypes.h: Ditto.
134 * libc/sys/linux/bits/typesizes.h: Ditto.
135
7b786e48
JJ
1362005-09-08 Eric Blake <ebb9@byu.net>
137
138 * libc/argz/argz_insert.c (argz_insert): Don't die with EINVAL when
139 before is NULL.
140
32b09d75
JJ
1412005-09-08 Brian Dessent <brian@dessent.net>
142
143 * sf_lrint.c (lrintf): Mask 'i0' correctly when extracting
144 mantissa.
145 * s_lrint.c: Ditto.
146
8f36ef2f
JJ
1472005-09-02 Jeff Johnston <jjohnstn@redhat.com>
148
149 * libc/include/stdio.h: Add prototype for viprintf.
150
cebe43dd
JJ
1512005-09-01 Jeff Johnston <jjohnstn@redhat.com>
152
153 * libm/mathfp/s_pow.c: (pow): Change code so 0 raised to
154 any positive power results in 0.
155 * libm/mathfp/sf_pow.c (powf): Ditto.
156
45c8bb8f
JJ
1572005-08-31 Paul Brook <paul@codesourcery.com>
158
159 * configure.host: Set have_crt0 to no for Arm targts when not
160 providing syscalls. Set sys_dir=arm unconditionally.
161 Default have_crt0 based on sys_dir.
162 * configure.in: Use have_crt0.
163 * libc/configure.in: Ditto.
164 * libc/sys/configure.in: Ditto.
165 * configure: Regenerate.
166 * libc/configure: Regenerate.
167 * libc/sys/configure: Regenerate.
168 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add aeabi_atexit.c.
169 Only build other files when providing syscalls.
170 * libc/sys/arm/Makefile.in: Regenerate.
171 * libc/sys/arm/aeabi_atexit.c: New file.
172
dbeee890
CF
1732005-08-26 Christopher Faylor <cgf@timesys.com>
174
175 * libc/include/string.h: Revert previous change.
176
377d3ea0
CF
1772005-08-25 Christopher Faylor <cgf@timesys.com>
178
179 * libc/include/string.h: For Cygwin, Define strerror_r as per ISO C.
180
4797a77c
JJ
1812005-08-22 Shaun Jackman <sjackman@gmail.com>
182
183 * libc/include/_syslist.h: If HAVE_OPENDIR is not defined,
184 define _opendir as opendir, _readdir as readdir, and
185 _closedir as closedir so that the implementations in
186 libc/posix will be used.
187
2e73582e
DD
1882005-08-10 DJ Delorie <dj@redhat.com>
189
190 * MAINTAINERS (CPU Ports): Add CPU port maintainer section.
191
234cf97f
JJ
1922005-08-10 Stephen Huw Clarke <stephen.clarke@st.com>
193
194 * libm/common/sf_fmax.c: Fix to properly handle NaNs.
195 * libm/common/s_max.c: Ditto.
196 * libm/common/sf_fmin.c: Ditto.
197 * libm/common/s_min.c: Ditto.
198
56448afa
JJ
1992005-08-10 DJ Delorie <dj@redhat.com>
200
201 * configure.host: Add m32c support.
202 * libc/include/machine/ieeefp.h: Likewise.
203 * libc/include/machine/setjmp.h: Likewise.
204 * libc/include/sys/config.h: Likewise.
205 * libc/machine/m32c: New directory, Renesas R8C/M16C/M32C support.
206 * libc/machine/m32c/aclocal.m4: New file.
207 * libc/machine/m32c/configure: Ditto.
208 * libc/machine/m32c/configure.in: Ditto.
209 * libc/machine/m32c/Makefile.am: Ditto.
210 * libc/machine/m32c/Makefile.in: Ditto.
211 * libc/machine/m32c/setjmp.S: Ditto.
212
0c5c6c23
JJ
2132005-08-02 Bob Wilson <bob.wilson@acm.org>
214
56448afa
JJ
215 * libm/math/ef_hypot.c (__ieee754_hypotf): Add missing exponent bias
216 to the value for 2^126.
0c5c6c23 217
12499c7a
HPN
2182005-07-26 Hans-Peter Nilsson <hp@bitrange.com>
219
220 * libc/machine/cris/libcdtor.c (defaultors): Mark artificially as
221 used.
222
395a327d
JJ
2232005-07-20 Bob Wilson <bob.wilson@acm.org>
224 Darin Petkov <darin@tensilica.com>
225
226 * libm/math/ef_atan2.c (pi, pi_lo): Use round-to-nearest value of pi.
227
108d7dd8
JJ
2282005-07-19 Paul Brook <paul@codesourcery.com>
229
230 * libc/sys/arm/crt0.S: Ensure doubleword stack alignment.
231
b776efc5
JJ
2322005-07-18 Joseph S. Myers <joseph@codesourcery.com>
233
234 * testsuite/lib/checkoutput.exp (newlib_check_output): Use test
235 names after PASS and FAIL which do not depend on source directory
236 name or on whether test passed or failed.
237 * testsuite/lib/passfail.exp (newlib_pass_fail): Likewise.
238
88540e24
JJ
2392005-07-08 Ola Hugosson <Ola.Hugosson@anoto.com>
240
241 * libc/string/wcsspn.c (wcsspn): Add missing increment of q.
242
85d62190 2432005-07-07 Shaun Jackman <sjackman@gmail.com>
b32adfc5 244
88540e24 245 * libc/unix/ttyname.c (ttyname): Avoid calling _closedir
b32adfc5
JJ
246 twice for the same directory. _closedir calls free, and freeing
247 the same pointer twice may cause a crash.
248
dee9edd9
AH
2492005-07-06 Aldy Hernandez <aldyh@redhat.com>
250
251 * configure.host: Added entry for ms1*.
252 * libc/include/machine/ieeefp.h: Handle ms1.
253 * libc/include/machine/setjmp.h (_JBLEN): Define for ms1.
254 * libc/machine/ms1/aclocal.m4: New.
255 * libc/machine/ms1/configure: New.
256 * libc/machine/ms1/configure.in: New.
257 * libc/machine/ms1/Makefile.am: New.
258 * libc/machine/ms1/Makefile.in: New.
259 * libc/machine/ms1/setjmp.S: New.
260
cec1d3b4
JJ
2612005-07-04 Mark Mitchell <mark@codesourcery.com>
262
263 * Makefile.am (site.exp): Set tmpdir.
264 * Makefile.in: Regenerated.
265 * testsuite/lib/checkoutput.exp (newlib_check_output): Put
266 executables in $tmpdir.
267 * testsuite/lib/flags.exp (libgloss_link_flags): Use the original
268 libgloss version if not running in the build directory.
269 * testsuite/lib/newlib.exp (newlib_init): Put testglue.o in
270 $tmpdir.
271 * testsuite/lib/passfail.exp (newlib_pass_fail): Put executables
272 in $tmpdir.
273
25d209f1
JJ
2742005-06-28 Dave Korn <dave.korn@artimi.com>
275
276 * libm/common/s_lrint.c (lrint): Fix signed-vs-unsigned comparison
277 and miscalculation caused by fp representation of zero.
278 * libm/common/sf_lrint.c (lrintf): Likewise.
279
68cdbb18
JJ
2802005-06-16 Christopher Faylor <cgf@timesys.com>
281
282 * libc/stdio/vfprintf.c (cvt): Don't rely on pointer aliasing to
283 determine characteristics of long double. Use a union instead.
284 * ldtoa.c (_ldtoa_r): Ditto.
285 (_ldcheck): Ditto.
286 (_strtold): Ditto.
287 (union uconv): New union.
288
15c04fd1
JJ
2892005-06-03 Jeff Johnston <jjohnstn@redhat.com>
290
291 * libc/stdlib/mallocr.c (MALLOC_COPY): Switch to use memmove
292 instead of memcpy.
293
cf55bf5e
JJ
2942005-05-12 Jeff Johnston <jjohnstn@redhat.com>
295
296 * configure.host (mn10300-*): Add long long I/O support by default.
297
b6e654c4
JJ
2982005-05-12 Jeff Johnston <jjohnstn@redhat.com>
299
300 * libc/sys/linux/getpwuid.c: Removed.
301 * libc/sys/linux/getpwnam.c: Removed.
302 * libc/sys/linux/getpwent.c: New file containing logic
303 from files removed above. This allows overriding of file
304 in libc/unix.
305 * libc/sys/linux/Makefile.am: Support changes above.
306 * libc/sys/linux/Makefile.in: Regenerated.
307
5456408b
JJ
3082005-04-28 Jeff Johnston <jjohnstn@redhat.com>
309
310 * libc/stdio/vfscanf.c (__svfscanf_r): Fix code thinko
311 when checking for multiple flags.
312
1c74754f
HPN
3132005-04-18 Hans-Peter Nilsson <hp@axis.com>
314
315 * configure.host <cris-*-* | crisv32-*-*>: Set
316 default_newlib_io_long_long="yes".
317
6e75bff6
JJ
3182005-04-08 Jeff Johnston <jjohnstn@redhat.com>
319
320 * libc/include/libgen.h: New file.
321
3222005-04-08 Shaun Jackman <sjackman@gmail.com>
323
324 * libc/unix/Makefile.am: Add support for basename and dirname.
325 * libc/unix/Makefile.in: Regenerated.
326 * libc/unix/basename.c: New file.
327 * libc/unix/dirname.c: New file.
328
95c136c4
JJ
3292005-04-07 Shaun Jackman <sjackman@gmail.com>
330
331 * libc/sys/linux/inode.c (lchown): New function.
332
9ae26f7e
JJ
3332005-04-07 Shaun Jackman <sjackman@gmail.com>
334
335 * libc/unix/Makefile.am (LIB_OBJS): Include all the ELIX objects if no
336 ELIX level is defined.
337 * libc/unix/Makefile.in: Regenerated.
338
85da7039
JJ
3392005-04-05 Dave Korn <dave.korn@artimi.com>
340
341 * libc/stdio/vfscanf.c (__svfscanf_r): If an error occurs processing
342 something that looks like a "NaN", put back the characters processed.
343
fefc73a0
CV
3442005-04-01 Corinna Vinschen <corinna@vinschen.de>
345
346 * libc/stdlib/strtod.c (_strtod_r): Never change s00.
347
e633fde1
CF
3482005-03-23 Christopher Faylor <cgf@timesys.com>
349
350 * configure.host: For cygwin, redefine CC with cygwin include directory
351 first to mimic the behavior of the top-level configury. Move include
352 directory out of newlib_cflags.
353
859c94e8
JJ
3542005-03-22 Jeff Johnston <jjohnstn@redhat.com>
355
356 * configure.host: For arc, set -DREENTRANT_SYSCALLS_PROVIDED flag on.
357 * libc/sys/arc/syscalls.c: Change functions to use __errno_r rather
358 than errno.
359
7e3fd32b
CF
3602005-03-22 Christopher Faylor <cgf@timesys.com>
361
362 * libc/include/machine/_types.h: Make trivial change to comment to
363 avoid a spurious warning from gcc.
364
d4eb8920
JJ
3652005-03-21 Nicholas Wourms <nwourms@netscape.net>
366
367 * libc/stdio/vfprintf.c: Move newlib.h before _WANT_IO_POS_ARGS test,
368 since _WANT_IO_POS_ARGS is now defined in there. Remove duplicate
369 reent.h include.
370
45030958
JJ
3712005-03-18 Hans-Peter Nilsson <hp@axis.com>
372 Corinna Vinschen <corinna@vinschen.de>
373
374 * libc/include/ctype.h: Remove invalid +1 offset from
375 ctype macro references to __ctype_ptr.
376 (_ctype_): Move declaration outside #ifndef __cplusplus.
377
5c9b5ac7
CV
3782005-03-18 Corinna Vinschen <corinna@vinschen.de>
379
380 * libc/include/machine/setjmp.h (sigsetjmp): Use GCC extension to
381 evaluate first parameter only once.
382 (siglongjmp): Ditto.
383
dd801fda
JJ
3842005-03-17 Jeff Johnston <jjohnstn@redhat.com>
385
386 * configure.in: Add new check to see if compiler supports
387 aliasing of arrays and define _HAVE_ARRAY_ALIASING if true.
388 * configure: Regenerated.
389 * Makefile.in: Ditto.
390 * newlib.hin: Add _HAVE_ARRAY_ALIASING.
391 * libc/ctype/ctype_.c: Check for _HAVE_ARRAY_ALIASING before
392 aliasing the _ctype_ array to _ctype_b.
393 * libc/include/ctype.h: Change macros to use __ctype_ptr. Mark
394 _ctype_ as deprecated.
395
333eabc6
HPN
3962005-03-17 Hans-Peter Nilsson <hp@axis.com>
397
398 * configure.host (newlib_cflags) <cris-*-*, crisv32-*-*>: Add
399 -DCOMPACT_CTYPE.
400
df5a5b35
JJ
4012005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
402
403 * libc/sys/rtems/include/inttypes.h: New file.
404 * libc/sys/rtems/include/stdint.h: Ditto.
405
9d385fb0
JJ
4062005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
407
408 * libc/string/memcmp.c: Fix to avoid pointer signedness warning.
409
2e7d9bf9
JJ
4102005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
411
412 * libc/include/machine/_types.h: New file.
413 * libc/include/sys/types.h: Do not check for __rtems__
414 when including <machine/_types.h>. Remove some redundant
415 declarations now that <machine/_types.h> is included.
416 * libc/sys/rtems/machine/_types.h: Removed. Replaced with
417 shared header file.
418
92a7e06e
JJ
4192005-02-25 Ralf Corsepious <ralf.corsepius@rtems.org>
420
421 * libm/common/fdlibm.h (FLT_UWORD_MAX, FLT_UWORD_HALF_MAX): Add
422 L qualifier for these long constants.
423
1139537a
JJ
4242005-02-25 Eric Blake <ebb9@byu.net>
425
426 * libc/include/time.h (__tzrule_struct): Make offset long, since
427 a 16-bit int overflows on a 12-hour offset.
428 * libc/sys/linux/include/time.h: Ditto.
429 * libc/time/mktime.c (mktime): Use new type of __tzrule.offset.
430 * libc/time/mktm_r.c: Ditto.
431 * libc/time/gettzinfo.c: Ditto.
432 * libc/time/strftime.c (strftime): Fix '%x' to deal with negative
433 years. Fix '%z' to use long, not int.
434
f4fd7b4c
JJ
4352005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
436
437 * libm/common/s_fpclassify.c: Use __uint32_t instead of int to
438 manipulate float values in integer form.
439 * libm/common/sf_round.c: Ditto.
440
f2f8a9a2
JJ
4412005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
442
443 * libc/include/sys/types.h [__rtems__]: Include new
444 header file machine/_types.h.
445 * libc/include/machine/types.h: Ditto.
446 * libc/sys/rtems/machine/_types.h: New file.
447
39fd43d7
CV
4482005-02-23 Corinna Vinschen <corinna@vinschen.de>
449
450 * libc/include/time.h (_timezone): Change to long also for Cygwin.
451 (timezone): Drop cast from definition.
452
6b9a74f9
JJ
4532005-02-23 Jeff Johnston <jjohnstn@redhat.com>
454
455 * libc/include/time.h [!CYGWIN](_timezone): Change to long.
456 (__tzrule_type, __tzinfo_type): New types.
457 (__gettzinfo): New function.
458 * libc/sys/linux/include/time.h: Ditto.
459 * libc/time/Makefile.am: Add gettzinfo.c.
460 * libc/time/Makefile.in: Regenerated.
461 * libc/time/local.h: Moved __tzrule_type to time.h.
462 * libc/time/mktime.c: Call __gettzinfo to reference
463 __tznorth, __tzyear, and __tzrule array.
464 * libc/time/mktm_r.c: Ditto.
465 * libc/time/strftime.c: Ditto.
466 * libc/time/tzset_r.c: Ditto. Also remove definition
467 of __tzrule which is now in gettzinfo.c. Change _timezone
468 references to not cast to time_t.
469 * libc/time/gettzinfo.c: New file.
470
6015cf9f
CV
4712005-02-23 Corinna Vinschen <corinna@vinschen.de>
472
473 * libc/include/sys/unistd.h: Define getpeereid for Cygwin.
474
5e4c05da
CV
4752005-02-22 Corinna Vinschen <corinna@vinschen.de>
476
477 * libc/include/sys/unistd.h: Define fdatasync also for Cygwin.
478
f1d439fc
JJ
4792005-02-16 Eric Blake <ebb9@byu.net>
480
481 * libc/time/time.tex: Improve the documentation.
482 * libc/time/strftime.c: Improve the documentation.
483 (iso_year_adjust): New helper function.
484 (strftime): Simplify '%E' and '%O'. Change '%c' to use
485 recursion. Fix '%C', '%y', and '%Y' to deal with years with more
486 than 4 characters. Combine '%d' and '%e'. Implement '%D', '%F',
487 '%g', '%G', '%n', '%R', '%t', '%T', '%u', '%V', '%X', and '%z'.
488 Avoid core dumps on valid inputs (maxsize == 0, or
489 tim_p->tm_isdst > 1).
490
18d3a03b
CV
4912005-02-08 Corinna Vinschen <corinna@vinschen.de>
492
493 * libc/include/pwd.h (struct passwd): Change pw_uid and pw_gid
494 members to uid_t and gid_t according to SUSv3.
495 * libc/include/sys/time.h (utimes): Change second parameter
496 to const according to SUSv3.
497
1159e0fd
JJ
4982005-02-07 Antony King <antony.king@st.com>
499
500 * libc/stdio/clearerr.c (clearerr): Ensure CHECK_INIT() is
501 called before _flockfile to prevent lock object use before
502 initialisation. _REENT_SMALL_CHECK_INIT() and CHECK_INIT()
503 take a struct _reent * instead of a FILE *.
504 * libc/stdio/fclose.c (_fclose_r): Ditto.
505 * libc/stdio/feof.c (feof): Ditto.
506 * libc/stdio/ferror.c (ferror): Ditto.
507 * libc/stdio/fflush.c (fflush): Ditto.
508 * libc/stdio/fgetc.c (fgetc): Ditto.
509 * libc/stdio/fgets.c (fgets): Ditto.
510 * libc/stdio/fileno.c (fileno): Ditto.
511 * libc/stdio/fputc.c (fputc): Ditto.
512 * libc/stdio/fputs.c (fputs): Ditto.
513 * libc/stdio/fread.c (fread): Ditto.
514 * libc/stdio/freopen.c (_freopen_r): Ditto.
515 * libc/stdio/fseek.c (_fseek_r): Ditto.
516 * libc/stdio/ftell.c (_ftell_r): Ditto.
517 * libc/stdio/fwrite.c (fwrite): Ditto.
518 * libc/stdio/getc.c (getc): Ditto.
519 * libc/stdio/getdelim.c (__getdelim): Ditto.
520 * libc/stdio/putc.c (putc): Ditto.
521 * libc/stdio/setvbuf.c (setvbuf): Ditto.
522 * libc/stdio/ungetc.c (_ungetc_r): Ditto.
523 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
524 * libc/stdio64/freopen64.c (_freopen64_r): Ditto.
525 * libc/stdio64/fseeko64.c (_fseeko64_r): Ditto.
526 * libc/stdio64/ftello64.c (_ftello64_r): Ditto.
527 * libc/stdio/local.h (CHECK_INIT): Argument is now a struct
528 _reent * instead of a FILE * and so replace incorrect use of
529 _REENT with argument.
530 * libc/sys/arm/syscalls.c (CHECK_INIT): Ditto.
531 * libc/stdio/getchar.c (getchar): _REENT_SMALL_CHECK_INIT() and
532 CHECK_INIT() take a struct _reent * instead of a FILE *.
533 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Ditto.
534 * libc/stdio/iscanf.c (iscanf, _iscanf_r): Ditto.
535 * libc/stdio/perror.c (perror): Ditto.
536 * libc/stdio/printf.c (printf, _printf_r): Ditto.
537 * libc/stdio/putchar.c (putchar): Ditto.
538 * libc/stdio/puts.c (puts): Ditto.
539 * libc/stdio/refill.c (__srefill): Ditto.
540 * libc/stdio/scanf.c (scanf, _scanf_r): Ditto.
541 * libc/stdio/vfscanf.c (VFSCANF, _VFSCANF_R): Ditto.
542 * libc/stdio/viprintf.c (viprintf, _viprintf_r): Ditto.
543 * libc/stdio/viscanf.c (viscanf, _viscanf_r): Ditto.
544 * libc/stdio/vprintf.c (vprintf, _vprintf_r): Ditto.
545 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Ditto.
546 * libc/stdio/wbuf.c (__swbuf): Ditto.
547 * libc/stdio/wsetup.c (__swsetup): Ditto.
548 * libc/stdlib/mallocr.c (malloc_stats): Ditto.
549 * libc/stdlib/mstats.c (_mstats_r): Ditto.
550 * libc/include/sys/reent.h (_REENT_SMALL_CHECK_INIT): Ditto.
551 * libc/machine/powerpc/vfscanf.c (vfscanf): Ditto.
552 * libc/stdio/fgetpos.c (_fgetpos_r): Removed unnecessary calls
553 to _flockfile and _funlockfile; rely on locking in _ftell_r.
554 * libc/stdio64/fgetpos64.c (_fgetpos64_r): Ditto (_ftello64_r).
555 * libc/machine/powerpc/vfprintf.c (__sbprintf): Removed unnecessary
556 initialision of _data field in FILE structure.
557 * libc/machine/powerpc/vfprintf.c (VFPRINTF): Added CHECK_INIT() call.
558
3d915670
JJ
5592005-02-07 Jeff Johnston <jjohnstn@redhat.com>
560
561 * libc/stdio/findfp.c (__sinit): Protect with new lock.
562 (__sinit_lock): New lock.
563 (__sinit_lock_acquire, __sinit_lock_release): New functions.
564 * libc/stdio/local.h: Add reference to new __sinit locking
565 functions.
566
b59cab1e
JJ
5672005-02-07 Jeff Johnston <jjohnstn@redhat.com>
568
569 * libc/include/math.h (isfinite, isnormal, isunordered): Change
570 input variable names to avoid mixups with nesting macros.
571
1815fdea
JJ
5722005-01-27 Hans-Peter Nilsson <hp@axis.com>
573
574 * configure.host: Add support for cris-*-* and crisv32-*-*.
575 * libc/include/machine/ieeefp.h: Ditto.
576 * libc/include/machine/setjmp.h: Ditto.
577 * libc/machine/cris/configure.in, libc/machine/cris/Makefile.am,
578 libc/machine/cris/libcdtor.c, libc/machine/cris/setjmp.c,
579 libc/machine/cris/memmove.c, libc/machine/cris/memcpy.c,
580 libc/machine/cris/memset.c, libc/machine/cris/include/pthread.h,
581 libc/machine/cris/sys/signal.h, libc/machine/cris/sys/fcntl.h,
582 libc/machine/cris/sys/errno.h, libc/machine/cris/aclocal.m4,
583 libc/machine/cris/configure, libc/machine/cris/Makefile.in: New
584 files.
585
f7d4d41a
JJ
5862005-01-27 Hans-Peter Nilsson <hp@axis.com>
587
588 * testsuite/newlib.string/memmove1.c: New test.
589
1319dec6
JJ
5902005-01-27 Hans-Peter Nilsson <hp@axis.com>
591
592 * testsuite/include/check.h: Include stdlib.h.
593
b45e65b0
JJ
5942005-01-27 Hans-Peter Nilsson <hp@axis.com>
595
596 * Makefile.am (stmp-targ-include): Support include header files
597 from machine directories.
e9743354 598 (install-data-local): Ditto.
b45e65b0
JJ
599 * Makefile.in: Regenerate.
600
dbfa92dd
JJ
6012005-01-24 Jeff Johnston <jjohnstn@redhat.com>
602
603 * libc/include/string.h: Remove Linux-specific declaration of
604 strsignal and add #include <sys/string.h>.
605 * libc/include/sys/string.h: New file.
606 * libc/include/sys/linux/sys/string.h: New file with strsignal
607 declaration deleted above.
608
6cb0c055
JJ
6092005-01-20 Jeff Johnston <jjohnstn@redhat.com>
610
611 * libc/time/strftime.c (strftime): Change %r and %x to be compliant
612 to POSIX standard for "C" locale. Allow %E and %O modifiers
613 to be ignored as long as they precede valid specifiers according
614 to POSIX.
615
52429807
JJ
6162005-01-19 Shaun Jackman <sjackman@gmail.com>
617
618 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
619 environment variable is set.
620
f693170a
JJ
6212005-01-19 Shaun Jackman <sjackman@gmail.com>
622
623 * tzset_r.c (_tzname): Add a comma.
624
464d01bf
AH
6252005-01-18 Aldy Hernandez <aldyh@redhat.com>
626
627 * libc/machine/powerpc/vfprintf.c: Use _REENT when calling
628 _VFPRINTF_R.
629
f7a74742
JJ
6302005-01-07 Paul Brook <paul@codesourcery.com>
631
632 * configure.in: Add test for .init_array.
633 * configure: Regenerate.
634 * newlib.hin: Add HAVE_INITFINI_ARRAY.
635 * libc/misc/Makefile.am: Add init.c
636 * libc/misc/Makefile.in: Regenerate.
637 * libc/misc/init.c: New file.
638 * libc/sys/arm/crt0.S: Call __libc_{init,fini}_array instead of
639 _init/_fini if they exist.
640
8fa6cb9a
JJ
6412005-01-06 Jeff Johnston <jjohnstn@redhat.com>
642
643 * libc/stdlib/strtod.c (_strtod_r): Add NaN support.
644 * (strtof): Ditto.
645 * libc/stdio/vfscanf.c (__svfscanf_r): Ditto.
646 * Makefile.am (MATHOBJS_IN_LIBC): Add s_nan and sf_nan
647 functions for use by strtod and strtof.
648 * Makefile.in: Regenerated.
649
034a3909
JJ
6502005-01-06 Hans-Peter Nilsson <hp@axis.com>
651
652 * libc/stdio/ftell.c (ftell_r): Add parenthesis for __SWR
653 bit-test in combination with NULL test.
654
9918ea2d
JJ
6552005-01-06 Hans-Peter Nilsson <hp@axis.com>
656
657 * README: Fix typo of LGPL. Change "license" to "copyright".
658
5cc3f592
JJ
6592004-12-17 Jeff Johnston <jjohnstn@redhat.com>
660
661 * NEWS: Update with 1.13.0 info.
662 * README: Ditto.
663 * acinclude.m4: Change version number to 1.13.0.
664 * aclocal.m4: Regenerated.
665 * configure: Ditto.
666 * doc/aclocal.m4: Ditto.
667 * doc/configure: Ditto.
668 * libc/*/aclocal.m4: Ditto.
669 * libc/*/configure: Ditto.
670 * libc/libc.texinfo: Ditto.
671 * libm/*/aclocal.m4: Ditto.
672 * libm/*/configure: Ditto.
673 * libm/libm.texinfo: Ditto.
674 * libc/sys/linux/shared.ld: Add VERS_1.13.
675
d8ae996c
JJ
6762004-12-17 Christian Groessler <chris@groessler.org>
677
678 * libc/machine/z8k/memcmp.S: New file.
679 * libc/machine/z8k/memcpy.S: Ditto.
680 * libc/machine/z8k/memmove.S: Ditto.
681 * libc/machine/z8k/memset.S: Ditto.
682 * libc/machine/z8k/Makefile.am: Add new files.
683 * libc/machine/z8k/Makefile.in: Regenerated.
684 * libc/machine/z8k/setjmp.S: Fix indirect register usage in Z8002
685 part. Implement Z8002 stdcall version.
686
82673116
JJ
6872004-12-13 Jeff Johnston <jjohnstn@redhat.com>
688
689 * libc/stdio/fread.c (fread): For unbuffered I/O, attempt
690 a low-level read if we don't get the full amount of bytes so
691 EOF or error flags will be set.
692
0082d4cf
JJ
6932004-12-09 Alex Mogilnikov <alx@intellectronika.ru>
694
695 * libc/time/tzset_r (_tzset_r): Properly skip over
696 '/' when it is detected.
697
3b54b74f
JJ
6982004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
699
700 * libc/time/tzset_r (_tzset_r): Fix loop.
701
4b30e154
JJ
7022004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
703
704 * libc/time/mktm_r (_mktm_r): Fix overflow calculation for
705 m_day.
706 (__tzcalc_limits): Fix reference to month array to be zero-based.
707
465eab2e
JJ
7082004-12-07 Jeff Johnston <jjohnstn@redhat.com>
709
710 * libc/sys/linux/sys/unistd.h: Add prototypes for ftruncate, truncate,
711 and usleep.
712
a2b1a849
JJ
7132004-12-03 Jeff Johnston <jjohnstn@redhat.com>
714
715 * Makefile.am (libc_la_LDFLAGS): Add -lgcc to handle any
716 libgcc dependencies.
717 (libm_la_LDFLAGS): Ditto.
718 * Makefile.in: Regenerated.
719
c80a1731
JJ
7202004-12-03 Shaun Jackman <sjackman@gmail.com>
721
722 * libc/sys/linux/linuxthreads/Makefile.am (install-data-local): Fix
723 our link to use readlink so as to preserve any relative link created
724 by install-toollibLIBRARIES.
725 * libc/sys/linux/linuxthreads/Makefile.in: Regenerated.
726
70e9da42
JJ
7272004-12-02 Shaun Jackman <sjackman@gmail.com>
728
729 * libc/sys/linux/stdlib/glob.c: Include <sys/types.h> which defines
730 time_t before including sys/stat.h, which uses it.
731 * libc/sys/linux/sys/stat.h: Include <sys/types.h> and
732 <linux/time.h> just prior to definition of __KERNEL__ so as to
733 allow building on Debian Linux where otherwise, mktime would
734 be redefined.
735
a330d85a
JJ
7362004-11-26 Paul Brook <paul@codesourcery.com>
737
738 * libc/sys/arm/crt0.S (_start): Add .cantunwind annotation.
739
c41a1cb7
JJ
7402004-11-24 Jeff Johnston <jjohnstn@redhat.com>
741
742 * libc/include/stdlib.h (putenv, _putenv_r): Change to remove
9aa189be 743 const for value string parameter to match Single Unix and glibc.
c41a1cb7
JJ
744 * libc/stdlib/putenv.c: Ditto.
745 * libc/stdlib/putenv_r.c: Ditto.
746
16ac96ee
JJ
7472004-11-24 Jeff Johnston <jjohnstn@redhat.com>
748
749 * libc/stdio/Makefile.am: Fix missing vfscanf.
750 * libc/stdio/Makefile.in: Regenerated.
751
3bf09147
JJ
7522004-11-23 Jeff Johnston <jjohnstn@redhat.com>
753
754 * libc/include/stdio.h: Add new iprintf and iscanf variants. Also
755 do some reordering.
756 * libc/machine/powerpc/vfscanf.c: Remove __sccl function.
757 * libc/stdio/Makefile.am: Add support for new iprintf and iscanf
758 family functions.
759 * libc/stdio/Makefile.in: Regenerated.
760 * libc/stdio/fiprintf.c: Remove doc to siprintf.c.
761 * libc/stdio/iprintf.c: Ditto.
762 * libc/stdio/local.h (__svfiscanf_r): New prototype.
763 * libc/stdio/siprintf.c: Add docs for various iprintf family functions.
764 * libc/stdio/sniprintf.c: Move docs to siprintf.c.
765 * libc/stdio/stdio.tex: Add new functions.
766 * libc/stdio/vfscanf.c: Split out __sccl function to separate
767 file and add special name defines so this file can be used
768 to build vfiscanf.o.
769 * libc/stdio/asiprintf.c: New file.
770 * libc/stdio/fiscanf.c: Ditto.
771 * libc/stdio/iscanf.c: Ditto.
772 * libc/stdio/sccl.c: Ditto.
773 * libc/stdio/siscanf.c: Ditto.
774 * libc/stdio/vasiprintf.c: Ditto.
775 * libc/stdio/viprintf.c: Ditto.
776 * libc/stdio/viscanf.c: Ditto.
777 * libc/stdio/vsiprintf.c: Ditto.
778 * libc/stdio/vsiscanf.c: Ditto.
779 * libc/stdio/vsniprintf.c: Ditto.
780
0f0fcb04
JJ
7812004-11-19 Shaun Jackman <sjackman@gmail.com>
782
783 * libc/include/stdio.h: Add sniprintf.
784 * libc/stdio/Makefile.am: Add sniprintf.c.
785 * libc/stdio/Makefile.in: Regenerated.
786 * libc/stdio/sniprintf.c: New file.
787 * libc/stdio/stdio.tex: Add sniprintf.
788
1f8f7e2d
CF
7892004-11-17 Christopher Faylor <cgf@timesys.com>
790
791 * libc/stdio/refill.c (__srefill): Try again after EOF on Cygwin. Clear
792 EOF flag if successful.
793
b08d08c7
CF
7942004-10-28 Christopher Faylor <cgf@timesys.com>
795
796 * libc/include/sys/signal.h: Move <signal.h> include to bottom of file
334ba104 797 so that all relevant definitions have been performed for use in the
b08d08c7
CF
798 include.
799
65b1964f
JJ
8002004-10-26 Jason Tishler <jason@tishler.net>
801
802 * libc/stdio/fread.c (fread): Fix return value for unbuffered
803 fread.
804
6382b7e3 8052004-10-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
06b5ef6e
JJ
806
807 * libc/include/machine/setjmp.h: Add AVR support.
808 * libc/sys/rtems/crt0.S [__AVR__]: Add __stack.
809
73131c2d
JJ
8102004-10-08 Jeff Johnston <jjohnstn@redhat.com>
811
812 * libc/include/sys/signal.h: If <signal.h> didn't include
813 this header file, include <signal.h> to account for
814 applications that take advantage that the two header
815 files are the same in glibc.
816
1185687a
JJ
8172004-10-05 Tomer Levi <Tomer.Levi@nsc.com>
818
819 * configure.host: Add support for crx.
820 * libc/include/machine/ieeefp.h: Ditto.
821 * libc/include/machine/setjmp.h: Ditto.
822 * libc/machine/crx/Makefile.am: New file.
823 * libc/machine/crx/configure.in: Ditto.
824 * libc/machine/crx/setjmp.S: Ditto.
825 * libc/machine/crx/getenv.c: Ditto.
826 * libc/machine/crx/aclocal.m4: Generate.
827 * libc/machine/crx/configure: Ditto.
828 * libc/machine/crx/Makefile.in: Ditto.
829 * libc/machine/crx/sys/asm.h: New file.
830 * libc/machine/crx/sys/libh.h: Ditto.
831 * libc/machine/crx/sys/syscall.h: Ditto.
832
423152ed
JJ
8332004-10-05 Jeff Johnston <jjohnstn@redhat.com>
834
835 * Makefile.am (stmp-targ-include): Support sys header files
836 from machine directories.
837 * Makefile.in: Regenerated.
838
3ea9de76
JJ
8392004-10-04 Jeff Johnston <jjohnstn@redhat.com>
840
841 * libc/stdio/vfscanf.c (__svfscanf_r): For int conversions,
842 count skipped zero characters as part of the nread count for %n.
843 * libc/machine/powerpc/vfscanf.c: Ditto.
844
2a6e1223
JJ
8452004-09-24 Jeff Johnston <jjohnstn@redhat.com>
846
847 * libc/stdio/local.h: Include <stdlib.h>.
848
d163f2fc
CV
8492004-09-24 Corinna Vinschen <corinna@vinschen.de>
850
851 * libc/stdio/fread.c (fread): Include <malloc.h>.
852
602de582
JJ
8532004-09-22 Jeff Johnston <jjohnstn@redhat.com>
854
855 * libc/stdio/fread.c (fread): For non-space-optimized case,
856 add special code for unbuffered files to use user buffer and
857 only require one low-level system read.
858
32e73f4d
ILT
8592004-09-21 Ian Lance Taylor <ian@wasabisystems.com>
860
861 * libc/machine/xscale/setjmp.S: New file, copied from
862 libc/machine/arm/setjmp.S.
863 * libc/machine/xscale/Makefile.am (lib_a_SOURCES): Add setjmp.S.
864 * libc/machine/xscale/Makefile.in: Regenerate.
865
ed6859b8
JJ
8662004-09-16 Antony King <antony.king@st.com>
867
868 * libc/include/sys/lock.h: Replaced empty {} with (0) to conform
869 with locking API.
870 * libc/include/sys/stdio.h: (_flockfile)[!_SINGLE_THREAD]: Add
871 check for__SSTR in _flags and if set, skip lock request.
872 (_funlockfile)[!SINGLE_THREAD]: Ditto.
873 * libc/stdio/local.h (CHECK_INIT): Added check that _REENT is
874 not NULL.
875 * libc/stdio/siprintf.c (siprintf, _siprintf_r): Added missing
876 initialisation of _file to -1 in local FILE.
877 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Ditto.
878 * libc/stdio/sscanf.c (sscanf, _sscanf_r): Ditto.
879 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
880 * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
881 * libc/stdio/sscanf.c (sscanf, _sscanf_r): Added __SSTR flag to
882 _flags in local FILE to prevent locking.
883 * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
884
7a0f6966
JJ
8852004-09-16 Antony King <antony.king@st.com>
886
887 * libc/stdio/fwalk.c (_fwalk): Remove check for _GLOBAL_REENT
888 and only walk the reentrancy parameter.
889 (_fwalk_reent): Ditto.
890 * libc/stdlib/exit.c: Remove out of date _REENT_ONLY check.
891
c77672c0
JJ
8922004-09-16 Antony King <antony.king@st.com>
893
894 * libc/stdio64/freopen64.c: Remove casting of fp lock to
895 _LOCK_RECURSIVE_T.
896
5c44c2e5
JJ
8972004-09-16 Antony King <antony.king@st.com>
898
899 * libc/time/tzlock.c: Add default stubs that use generic
900 locking code.
901
14613e5e
JJ
9022004-09-16 Antony King <antony.king@st.com>
903
904 * libc/ctype/ctype.tex: Added missing documentation.
905 * libc/stdio/stdio.tex Ditto.
906 * libc/stdlib/stdlib.tex Ditto.
907 * libc/string/strings.tex Ditto.
908 * libc/time/time.tex: Ditto.
909 * libc/stdio/setbuffer.c: Removed setlinebuf documentation.
910
181cb051
JJ
9112004-09-15 Corinna Vinschen <vinschen@redhat.com>
912
913 * libc/reent/impure.c (reent_data): Define as alias to impure_data
914 when building for Cygwin.
915 * libc/include/sys/reent.h (_GLOBAL_REENT): Revert definition to
916 _global_impure_ptr.
917
51d4a7ea
JJ
9182004-09-15 Jeff Johnston <jjohnstn@redhat.com>
919
920 * configure.host: Reverting 2004-09-14 change as fix has occurred on
921 Cygwin side.
922 * configure.in: Ditto.
923 * libc/configure.in: Ditto.
924 * libc/sys/configure.in: Ditto.
925 * configure: Ditto.
926 * libc/configure: Ditto.
927 * libc/sys/configure: Ditto.
928 * libc/include/sys/reent.h: Ditto.
929 * libc/stdlib/__atexit.c: Ditto.
930 * libc/stdlib/__call_atexit.c: Ditto.
931 * libc/stdlib/cxa_atexit.c: Ditto.
932 * libc/stdlib/cxa_finalize.c: Ditto.
933 * libc/sys/cygwin/Makefile.am: Removed again.
934 * libc/sys/cygwin/Makefile.in: Ditto.
935 * libc/sys/cygwin/aclocal.m4: Ditto.
936 * libc/sys/cygwin/configure: Ditto.
937 * libc/sys/cygwin/configure.in: Ditto.
938 * libc/sys/cygwin/dummy.c: Ditto.
939 * libc/sys/cygwin/sys/reent.h: Ditto.
940
98650d2f
JJ
9412004-09-14 Jeff Johnston <jjohnstn@redhat.com>
942
943 * configure.host: Add Cygwin sys directory.
944 * configure.in: Do not set CRT0 for cygwin.
945 * libc/configure.in: Ditto.
946 * libc/sys/configure.in: Ditto.
947 * configure: Regenerated.
948 * libc/configure: Ditto.
949 * libc/sys/configure: Ditto.
950 * libc/include/sys/reent.h: Add __REENT_HAS_CXA_SUPPORT flag.
951 * libc/stdlib/__atexit.c: Keep cxa support protected by new
952 __REENT_HAS_CXA_SUPPORT flag.
953 * libc/stdlib/__call_atexit.c: Ditto.
954 * libc/stdlib/cxa_atexit.c: Ditto.
955 * libc/stdlib/cxa_finalize.c: Ditto.
956 * libc/sys/cygwin/Makefile.am: New file.
957 * libc/sys/cygwin/Makefile.in: Ditto.
958 * libc/sys/cygwin/aclocal.m4: Ditto.
959 * libc/sys/cygwin/configure: Ditto.
960 * libc/sys/cygwin/configure.in: Ditto.
961 * libc/sys/cygwin/dummy.c: Ditto.
962 * libc/sys/cygwin/sys/reent.h: Ditto. This file is stabilized
963 version of reent.h.
964
d4c8e53b
JJ
9652004-09-13 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
966
967 * libc/iconv/iconv.tex: Updated with new content.
968 * libc/iconv/lib/iconvnls.c: Reference ICONV_DEFAULT_NLSPATH
969 instead of NLS_DEFAULT_NLSPATH.
970 * libc/iconv/lib/iconvnls.h: Fix typo.
971 * libc/include/sys/iconvnls.h: New file.
972
0c8593cf
JJ
9732004-09-09 Paul Brook <paul@codesourcery.com>
974
975 * libc/include/sys/reent.h (struct _on_exit_args): Add _dso_handle
976 and _is_cxa.
977 (struct _atexit): Add _next when _REENT_SMALL.
978 (struct _reent): Add _atexit0 when _REENT_SMALL.
979 (_REENT_INIT_PTR): Adjust.
980 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add __atexit.c and
981 __call_exit.c.
982 (EXTENDED_SOURCES): Add cxa_atexit.c and cxa_finalize.c.
983 * libc/stdlib/Makefile.in: Regenerate.
984 * libc/stdlib/__atexit.c: New file.
985 * libc/stdlib/__call_atexit.c: New file.
986 * libc/stdlib/atexit.h: Remove old definitions. Add new.
987 * libc/stdlib/atexit.c (atexit): Use __register_exitproc.
988 * libc/stdlib/cxa_atexit.c: New file.
989 * libc/stdlib/cxa_finalize.c: New file.
990 * libc/stdlib/exit.c (exit): Use __call_exitprocs.
991 * libc/stdlib/on_exit.c (on_exit): Use __register_exitproc.
992 2004-09-09 Jeff Johnston <jjohnstn@redhat.com>
993 * libc/reent/reent.c [_REENT_SMALL]: Fix reference to
994 _on_exit_args_ptr.
995
c6ed5a85
JJ
9962004-08-23 Jeff Johnston <jjohnstn@redhat.com>
997
998 * libc/include/sys/unistd.h (getpass): Change prototype to use
999 const instead of __const.
1000
721a934c
JJ
10012004-08-16 Nathan Sidwell <nathan@codesourcery.com>
1002
1003 * libc/stdio/vfscanf.c (_NO_LONGLONG): Move out of FLOATING_POINT
1004 #if.
1005
4e53fc28
JJ
10062004-08-12 Jeff Johnston <jjohnstn@redhat.com>
1007
1008 * libc/sys/linux/sys/types.h (u64): New typedef to allow building
1009 on linux systems with glibc 2.3.3 installed.
1010 * libc/sys/linux/dl/dl-runtime.c: Fix prototypes for fixup and
1011 profile_fixup so newlib can build on fc3 system.
1012
82045f12
AO
10132004-07-30 Alexandre Oliva <aoliva@redhat.com>
1014
1015 Introduce SH2a support.
1016 2004-03-16 Corinna Vinschen <vinschen@redhat.com>
1017 * libc/include/machine/ieeefp.h: Define _DOUBLE_IS_32BITS for
1018 __SH2A_SINGLE_ONLY__, too.
1019 * libc/machine/sh/asm.h: Define DELAYED_BRANCHES for __SH2A__, too.
1020 2004-02-24 Corinna Vinschen <vinschen@redhat.com>
1021 * libc/sys/sh/crt0.S (start_l): Support sh2a-nofpu. Fix comments.
1022 2004-02-10 DJ Delorie <dj@redhat.com>
1023 * libc/sys/sh/crt0.S (start_l): Support sh2a.
1024
ad6b1d79
JJ
10252004-07-29 Jeff Johnston <jjohnstn@redhat.com>
1026
1027 * libc/time/strptime.c: Correct full-name of "March" typo.
1028
63b9dcc4
JJ
10292004-07-16 Anil Paranjpe <anilp1@kpitcummins.com>
1030
1031 * configure.host (h8300*-*-*): Default long long printing support.
1032
dbfd3394
JJ
10332004-07-16 Jeff Johnston <jjohnstn@redhat.com>
1034
1035 * libc/stdio/fvwrite.c (_sfvwrite): For asprintf family
1036 calls, if realloc fails, free up buffer as it is no longer
1037 used.
1038
6edb3da9
JJ
10392004-07-07 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
1040
1041 * libc/iconv/iconv.tex: Updated to represent recent changes.
1042 * libc/iconv/lib/iconv.c: Documentation updated.
1043
578a3560
NC
10442004-07-07 Nick Clifton <nickc@redhat.com>
1045
1046 * configure.host (newlib_cflags): Define PREFER_SIZE_OVER_SPEED
1047 for xStormy16.
1048
2bc257e3
JJ
10492004-07-06 Chris Demetriou <cgd@broadcom.com>
1050
1051 * configure.host (mips*-*-elf*): Default long long printing
1052 support.
1053
75e7ffaa
JJ
10542004-07-05 Jeff Johnston <jjohnstn@redhat.com>
1055
1056 * libc/Makefile.am (libc.dvi): Add target and specify
1057 same dependencies as libc.info.
1058 * libc/Makefile.in: Regenerated.
1059 * libm/Makefile.am (libm.dvi): Add target and specify
1060 same dependencies as libm.info.
1061 * libm/Makefile.in: Regenerated.
1062
76ce12c3
JJ
10632004-06-29 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
1064
1065 * acinclude.m4: Move --enable-newlib-iconv option back here.
1066 * configure.in: Remove --enable-newlib-iconv option. Don't
1067 tie iconv support to --enable-newlib-mb.
1068 * aclocal.m4: Regenerated.
1069 * configure: Ditto.
1070 * doc/aclocal.m4, doc/configure: Ditto.
1071 * iconvdata/aclocal.m4, iconvdata/configure: Ditto.
1072 * libm/*/aclocal.m4: Ditto.
1073 * libm/*/configure: Ditto.
1074 * libc/*/aclocal.m4: Ditto.
1075 * libc/*/configure: Ditto.
1076
660dade3
JJ
10772004-06-25 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
1078
1079 * acinclude.m4: Move iconv options into configure.in.
1080 * aclocal.m4: Regenerated.
1081 * configure: Ditto.
1082 * configure.in: Add iconv options.
1083 * newlib.hin: Add new iconv encodings and remove deleted ones.
1084 * doc/aclocal.m4: Regenerated.
1085 * doc/configure: Ditto.
1086 * iconvdata/aclocal.m4: Ditto.
1087 * iconvdata/configure: Ditto.
1088 * libc/iconv: Design change. New size-optimized ccs format.
1089 * libc/iconv/AUTHORS: Removed.
1090 * libc/iconv/COPYING: Ditto.
1091 * libc/iconv/README.ORIGINAL: Ditto.
1092 * libc/iconv/README.TODO: Ditto.
1093 * libc/iconv/charset.aliases: Ditto.
1094 * libc/iconv/encoding.aliases: New file.
1095 * libc/iconv/Makefile.am: Updated.
1096 * libc/iconv/Makefile.in: Regenerated.
1097 * libc/iconv/iconv.tex: Updated.
1098 * libc/iconv/ccs/Makefile.am: Ditto.
1099 * libc/iconv/ccs/Makefile.in: Regenerated.
1100 * libc/iconv/ccs/big5.c: Updated.
1101 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
1102 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
1103 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
1104 * libc/iconv/ccs/cp775.c: Ditto.
1105 * libc/iconv/ccs/cp850.c: Ditto.
1106 * libc/iconv/ccs/cp852.c: Ditto.
1107 * libc/iconv/ccs/cp855.c: Ditto.
1108 * libc/iconv/ccs/cp866.c: Ditto.
1109 * libc/iconv/ccs/iso_8859_1.c: Ditto.
1110 * libc/iconv/ccs/README.CCS.SOURCES: Removed.
1111 * libc/iconv/ccs/gb_2312_80.c: Ditto.
1112 * libc/iconv/ccs/iconv_mktbl: Ditto.
1113 * libc/iconv/ccs/jis_x0201.c: Ditto.
1114 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
1115 * libc/iconv/ccs/shift_jis.c: Ditto.
1116 * libc/iconv/ccs/us_ascii.c: Ditto.
1117 * libc/iconv/ccs/ccs.h: New file.
1118 * libc/iconv/ccs/ccsbi.c: Ditto.
1119 * libc/iconv/ccs/ccsbi.h: Ditto.
1120 * libc/iconv/ccs/ccsnames.h: Ditto.
1121 * libc/iconv/ccs/iso_8859_10.c: Ditto.
1122 * libc/iconv/ccs/iso_8859_11.c: Ditto.
1123 * libc/iconv/ccs/iso_8859_13.c: Ditto.
1124 * libc/iconv/ccs/iso_8859_14.c: Ditto.
1125 * libc/iconv/ccs/iso_8859_3.c: Ditto.
1126 * libc/iconv/ccs/iso_8859_6.c: Ditto.
1127 * libc/iconv/ccs/iso_8859_7.c: Ditto.
1128 * libc/iconv/ccs/iso_8859_8.c: Ditto.
1129 * libc/iconv/ccs/iso_8859_9.c: Ditto.
1130 * libc/iconv/ccs/iso_ir_111.c: Ditto.
1131 * libc/iconv/ccs/jis_x0201_1976.c: Ditto.
1132 * libc/iconv/ccs/jis_x0208_1990.c: Ditto.
1133 * libc/iconv/ccs/koi8_ru.c: Ditto.
1134 * libc/iconv/ccs/koi8_uni.c: Ditto.
1135 * libc/iconv/ccs/mktbl.pl: Ditto.
1136 * libc/iconv/ccs/win_1250.c: Ditto.
1137 * libc/iconv/ccs/win_1251.c: Ditto.
1138 * libc/iconv/ccs/win_1252.c: Ditto.
1139 * libc/iconv/ccs/win_1253.c: Ditto.
1140 * libc/iconv/ccs/win_1254.c: Ditto.
1141 * libc/iconv/ccs/win_1255.c: Ditto.
1142 * libc/iconv/ccs/win_1256.c: Ditto.
1143 * libc/iconv/ccs/win_1257.c: Ditto.
1144 * libc/iconv/ccs/win_1258.c: Ditto.
d68d3538
JJ
1145 * libc/iconv/ccs/iso_8859_15.c: Updated.
1146 * libc/iconv/ccs/iso_8859_2.c: Ditto.
1147 * libc/iconv/ccs/iso_8859_4.c: Ditto.
1148 * libc/iconv/ccs/iso_8859_5.c: Ditto.
1149 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
1150 * libc/iconv/ccs/koi8_r.c: Ditto.
1151 * libc/iconv/ccs/koi8_u.c: Ditto.
1152 * libc/iconv/ccs/ksx1001.c: Ditto.
660dade3
JJ
1153 * libc/iconv/ccs/binary/gb_2312_80.cct: Removed.
1154 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
1155 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
1156 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
1157 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
1158 * libc/iconv/ccs/binary/Makefile.am: Updated.
1159 * libc/iconv/ccs/binary/Makefile.in: Regenerated.
1160 * libc/iconv/ccs/binary/big5.cct: Updated.
1161 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
1162 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
1163 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
1164 * libc/iconv/ccs/binary/cp775.cct: Updated.: Ditto.
1165 * libc/iconv/ccs/binary/cp850.cct: Ditto.: Ditto.
1166 * libc/iconv/ccs/binary/cp852.cct: Ditto.: Ditto.
1167 * libc/iconv/ccs/binary/cp855.cct: Ditto.: Ditto.
1168 * libc/iconv/ccs/binary/cp866.cct: Ditto.: Ditto.
1169 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
1170 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
1171 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
1172 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
1173 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
1174 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
1175 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
1176 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
1177 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
1178 * libc/iconv/ccs/binary/iso_8859_10.cct: New file.
1179 * libc/iconv/ccs/binary/iso_8859_11.cct: Ditto.
1180 * libc/iconv/ccs/binary/iso_8859_13.cct: Ditto.
1181 * libc/iconv/ccs/binary/iso_8859_14.cct: Ditto.
1182 * libc/iconv/ccs/binary/iso_8859_3.cct: Ditto.
1183 * libc/iconv/ccs/binary/iso_8859_6.cct: Ditto.
1184 * libc/iconv/ccs/binary/iso_8859_7.cct: Ditto.
1185 * libc/iconv/ccs/binary/iso_8859_8.cct: Ditto.
1186 * libc/iconv/ccs/binary/iso_8859_9.cct: Ditto.
1187 * libc/iconv/ccs/binary/iso_ir_111.cct: Ditto.
1188 * libc/iconv/ccs/binary/jis_x0201_1976.cct: Ditto.
1189 * libc/iconv/ccs/binary/jis_x0208_1990.cct: Ditto.
1190 * libc/iconv/ccs/binary/koi8_ru.cct: Ditto.
1191 * libc/iconv/ccs/binary/koi8_uni.cct: Ditto.
1192 * libc/iconv/ccs/binary/win_1250.cct: Ditto.
1193 * libc/iconv/ccs/binary/win_1251.cct: Ditto.
1194 * libc/iconv/ccs/binary/win_1252.cct: Ditto.
1195 * libc/iconv/ccs/binary/win_1253.cct: Ditto.
1196 * libc/iconv/ccs/binary/win_1254.cct: Ditto.
1197 * libc/iconv/ccs/binary/win_1255.cct: Ditto.
1198 * libc/iconv/ccs/binary/win_1256.cct: Ditto.
1199 * libc/iconv/ccs/binary/win_1257.cct: Ditto.
1200 * libc/iconv/ccs/binary/win_1258.cct: Ditto.
1201 * libc/iconv/ces/Makefile.am: Updated.
1202 * libc/iconv/ces/Makefile.in: Regenerated.
1203 * libc/iconv/ces/ucs-2-internal.c: Updated.
1204 * libc/iconv/ces/ucs-4-internal.c: Ditto.
1205 * libc/iconv/ces/utf-16.c: Ditto.
1206 * libc/iconv/ces/utf-8.c: Ditto.
1207 * libc/iconv/ces/cesbi.c: New file.
1208 * libc/iconv/ces/cesbi.h: Ditto.
1209 * libc/iconv/ces/cesdeps.h: Ditto.
1210 * libc/iconv/ces/euc.c: Ditto.
1211 * libc/iconv/ces/mkdeps.pl: Ditto.
1212 * libc/iconv/ces/table-pcs.c: Ditto.
1213 * libc/iconv/ces/table.c: Ditto.
1214 * libc/iconv/ces/ucs-2.c: Ditto.
1215 * libc/iconv/ces/ucs-4.c: Ditto.
1216 * libc/iconv/ces/us-ascii.c: Ditto.
1217 * libc/iconv/ces/euc-jp.c: Removed.
1218 * libc/iconv/ces/euc-kr.c: Ditto.
1219 * libc/iconv/ces/euc-tw.c: Ditto.
1220 * libc/iconv/ces/gb2312.c: Ditto.
1221 * libc/iconv/ces/iso-10646-ucs-2.: Ditto.c
1222 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
1223 * libc/iconv/lib/Makefile.am: Updated.
1224 * libc/iconv/lib/Makefile.in: Regenerated.
1225 * libc/iconv/lib/endian.h: Updated.
1226 * libc/iconv/lib/iconv.c: Ditto.
1227 * libc/iconv/lib/local.h: Ditto.
1228 * libc/iconv/lib/aliases.c: Removed.
1229 * libc/iconv/lib/bialiasesi.c: Ditto.
1230 * libc/iconv/lib/biccs.c: Ditto.
1231 * libc/iconv/lib/bices.c: Ditto.
1232 * libc/iconv/lib/ccs.c: Ditto.
1233 * libc/iconv/lib/ces.c: Ditto.
1234 * libc/iconv/lib/ces_euc.c: Ditto.
1235 * libc/iconv/lib/ces_iso2022.c: Ditto.
1236 * libc/iconv/lib/ces_table.c: Ditto.
1237 * libc/iconv/lib/converter.c: Ditto.
1238 * libc/iconv/lib/deps.h: Ditto.
d68d3538
JJ
1239 * libc/iconv/lib/loaddata.c: Ditto.
1240 * libc/iconv/lib/aliasesbi.c: New file.
660dade3
JJ
1241 * libc/iconv/lib/aliasesi.c: Ditto.
1242 * libc/iconv/lib/conv.h: Ditto.
1243 * libc/iconv/lib/encnames.h: Ditto.
1244 * libc/iconv/lib/encoding.deps: Ditto.
1245 * libc/iconv/lib/iconvnls.c: Ditto.
1246 * libc/iconv/lib/iconvnls.h: Ditto.
660dade3
JJ
1247 * libc/iconv/lib/nullconv.c: Ditto.
1248 * libc/iconv/lib/ucsconv.c: Ditto.
1249 * libc/iconv/lib/ucsconv.h: Ditto.
1250 * libc/include/iconv.h: Update copyright.
1251 * libc/*/aclocal.m4: Regenerated.
1252 * libc/*/configure: Ditto.
1253 * libm/*/aclocal.m4: Ditto.
1254 * libm/*/configure: Ditto.
1255
9a6831be
AO
12562004-06-22 Alexandre Oliva <aoliva@redhat.com>
1257
eb6a452a
AO
1258 * libc/include/machine/setjmp.h [__H8300__] (_JBTYPE): Define,
1259 instead of typedefing jmp_buf.
1260
9a6831be
AO
1261 2003-07-02 Richard Sandiford <rsandifo@redhat.com>
1262 * libc/machine/h8300/Makefile.am (lib_a_SOURCES): Add h8sx_strcpy.S.
1263 * libc/machine/h8300/defines.h (LEN): New macro.
1264 * libc/machine/h8300/memcpy.S: Add h8sx version.
1265 * libc/machine/h8300/memset.S: Likewise.
1266 * libc/machine/h8300/strcmp.S: Likewise.
1267 * libc/machine/h8300/setjmp.S: Use h8sx move instructions.
1268 * libc/machine/h8300/h8sx_strcpy.S: New file.
1269 2003-06-30 Richard Sandiford <rsandifo@redhat.com>
1270 * libc/include/machine/ieeefp.h: Extend __H8300S__ handling to
1271 __H8300SX__.
1272 * libc/include/machine/setjmp.h: Likewise.
1273 * libc/include/sys/config.h: Likewise.
1274 * libc/machine/h8300/defines.h: Likewise.
1275 * libc/machine/h8300/setjmp.S: Likewise.
1276 * libc/machine/h8300/strcmp.S: Likewise.
1277 * libc/sys/h8300hms/close.S: Likewise.
1278 * libc/sys/h8300hms/fstat.S: Likewise.
1279 * libc/sys/h8300hms/lseek.S: Likewise.
1280 * libc/sys/h8300hms/read.S: Likewise.
1281 * libc/sys/h8300hms/write.S: Likewise.
1282 * libc/sys/h8300hms/crt0.S: Likewise.
1283 * libc/machine/h8300/setarch.h: Use .h8300sx or .h8300sxn if
1284 __H8300SX__ is defined.
1285 * libc/sys/h8300hms/setarch.h: Likewise.
1286
80dba41e
JJ
12872004-06-17 Jeff Johnston <jjohnstn@redhat.com>
1288
1289 * libc/include/sys/reent.h (_GLOBAL_REENT): Back
1290 out change which set _GLOBAL_REENT to _global_impure_ptr until
1291 we understand why Cygwin breaks because of it.
1292
be910599
JJ
12932004-06-14 Jeff Johnston <jjohnstn@redhat.com>
1294
1295 * libc/sys/linux/machine/i386/syscall.h: For now, set up
1296 __syscall_return macro for systems with vsyscall.
1297
d0bd3e6f
JJ
12982004-06-11 Antony King <antony.king@st.com>
1299
1300 * libc/include/sys/_types.h: Include <sys/lock.h> and change
1301 _flock_t to be of type _LOCK_RECURSIVE_T.
1302 * libc/include/sys/reent.h: (_REENT_INIT): Reformat.
1303 (_REENT_INIT_PTR): Ditto. Use memset where appropriate.
1304 (_global_impure_ptr): New declaration.
1305 (_GLOBAL_REENT): Change to be _global_impure_ptr.
1306 * libc/include/sys/stdio.h: Include <sys/lock.h> and
1307 <sys/reent.h>.
1308 (_flockfile)[!_SINGLE_THREAD]: Add code for lock call.
1309 (_funlockfile)[!SINGLE_THREAD]: Ditto.
1310 * libc/reent/impure.c: Set _global_impure_ptr to _impure_ptr.
1311 * libc/stdio/fclose.c: Remove casting of fp lock to
1312 _LOCK_RECURSIVE_T.
1313 * libc/stdio/findfp.c: Ditto.
1314 * libc/stdio/fopen.c: Ditto.
1315 * libc/stdio/freopen.c: Ditto.
1316 * libc/stdio/vfprintf.c: Ditto.
1317 * libc/stdio64/fopen64.c: Ditto.
1318 * libc/stdlib/envlock.c: Add default stubs that use generic
1319 locking code.
1320 * libc/stdlib/mlock.c: Ditto.
1321
1322 Jeff Johnston <jjohnstn@redhat.com>
1323 * libc/sys/linux/sys/_types.h (__flock_mutex_t): New subtype.
1324 (_flock_t): Change to be a struct containing a single member
1325 named mutex which is of type __flock_mutex_t.
1326
db7033a9
JJ
13272004-06-09 Jeff Johnston <jjohnstn@redhat.com>
1328
1329 * libc/sys/linux/Makefile.am: Change siglist.inc to be generated
1330 from /usr/include/asm/signal.h instead of kernel sources. Also
1331 default max to 32 if not found in header file.
1332 * libc/sys/linux/Makefile.in: Regenerated.
1333 * libc/sys/linux/machine/i386/socketcall.h: Fix for Fedora Core 2
1334 systems where __syscall_return is not defined.
1335 * libc/sys/linux/machine/i386/syscall.h: Change for Fedora Core 2
1336 systems to use syscall() function instead of assembler interrupt.
1337
a170abec
JJ
13382004-06-09 Toralf Lund <toralf@procaptura.com>
1339
1340 * libc/sys/arm/setjmp.S, libc/sys/arm/access.c: Move
1341 files from libc/sys/arm to libc/machine/arm.
1342 * libc/machine/arm/Makefile.am, libc/machine/arm/Makefile.in: Add
1343 library build support for files moved from libc/sys/arm.
1344 * libc/sys/arm/Makefile.am, libc/sys/arm/Makefile.in: Remove
1345 references to access and setjmp.
1346 * configure.host: Add checks for newlib_may_supply_syscalls to
1347 determine whether or not to use sys/arm directory and use
1348 special compiler flags: ARM_RDI_MONITOR and ARM_RDP_MONITOR.
1349
8b57e664
JJ
13502004-06-02 Jeff Johnston <jjohnstn@redhat.com>
1351
1352 * libc/stdio/vfscanf.c (__svfscanf_r): For CT_INT conversions,
1353 reset digit flags appropriately after we have discovered "0x".
1354 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
1355
3f611058
JJ
13562004-05-27 Jeff Johnston <jjohnstn@redhat.com>
1357
1358 * libc/stdio/vfprintf.c (_VFPRINTF): Move file locking
1359 from here ...
1360 (_VFPRINTF_R): ... to here so all I/O printf routines
1361 are covered.
1362
bb42a35c
JJ
13632004-05-26 Jeff Johnston <jjohnstn@redhat.com>
1364
1365 * libc/search/hash_buf.c: Protect MAX and MIN macros from
1366 redefinition.
1367 * libc/search/hash.c: Ditto.
1368
227e6ef6
JJ
13692004-05-25 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1370
1371 * newlib.hin: (_WANT_IO_POS_ARGS): New define.
1372 (_WANT_IO_LONG_LONG): Ditto.
1373 (_WANT_IO_LONG_DOUBLE): Ditto.
1374 * configure.in: Add new configuration options
1375 --enable-newlib-io-long-long and --enable-newlib-io-long-double
1376 which tie to new defines in newlib.hin.
1377 * configure: Regenerated.
1378 * configure.host: Add checks for new configuration options. Also
1379 fix up check for --enable-newlib-io-pos-args so configuration
1380 option will override any default for a given platform.
1381 Remove defining compiler flags for the _WANT_IO* options.
1382 * libc/stdio/vfprintf.c: Change to use new newlib.hin defines
1383 instead of looking for old compiler flags.
1384 * libc/stdio/vfscanf.c: Ditto.
1385 * libc/stdio/vfieeefp.h: Ditto.
1386 * libc/machine/powerpc/vfprintf.c: Ditto.
1387 * libc/machine/powerpc/vfscanf.c: Ditto.
1388
9178da95
JJ
13892004-05-25 Jeff Johnston <jjohnstn@redhat.com>
1390
1391 * testsuite/include/check.h: Add include of <stdio.h>.
1392
cf3aae91
CV
13932004-05-17 Corinna Vinschen <corinna@vinschen.de>
1394
1395 * libc/include/grp.h: Declare getgrnam_r and getgrgid_r also on Cygwin.
1396
5b4c8ae2
JJ
13972004-05-11 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1398
1399 * libc/stdio/vfprintf.c (VFPRINTF_R): Use _free_r instead
1400 of free.
1401
14022004-05-07 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1403
1404 * libc/stdio/iprintf.c (_iprintf_r): Fix old-style argument
1405 list for reentrant pointer. Call _vfiprintf_r.
1406 * libc/stdio/siprintf.c (_siprintf_r): New function.
1407 * libc/stdio/vfprintf.c (__sbprintf): Add reetrant struct
1408 pointer argument. Change all callers. Call _VFPRINTF_R.
1409 * libc/include/stdio.h (_siprintf_r, _vfiprintf_r): New
1410 prototypes.
1411
631fbe65
JJ
14122004-05-07 Jeff Johnston <jjohnstn@redhat.com>
1413
1414 * libc/include/sys/param.h: Remove endian info and include
1415 <machine/endian.h> instead.
1416 * libc/include/machine/endian.h: New file.
1417 * libc/include/machine/param.h: Ditto.
1418 * libc/machine/arm/machine/endian.h: Ditto.
1419 * libc/machine/arm/machine/param.h: Ditto.
1420 * libc/sys/arm/sys/param.h: Removed.
1421 * libc/sys/sysvi386/sys/param.h: Ditto.
1422 * libc/sys/rtems/sys/param.h: Modified to include <machine/endian.h>.
1423
1af84bb7
JJ
14242004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1425
1426 * libc/stdio/vfprintf.c (_VFPRINTF_R): Set error flag when
1427 multibyte functions return failure for %C, %S, %lc, and %ls
1428 format specifiers.
1429
1c63798e
JJ
14302004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1431
1432 * testsuite/include/check.h (CHECK): Add flush of stdout.
1433
20b0251a
JJ
14342004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1435
1436 * libc/include/stdio.h (_ungetc_r): New prototype.
1437 * libc/stdio/ungetc.c (_ungetc_r): New reentrant function.
1438 (__submore): Add reentrant struct pointer argument.
1439 (ungetc): Change to call _ungetc_r.
1440
6194cf4a
JJ
14412004-04-28 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1442
1443 * libc/stdio/local.h (_fwalk_reent): Specify prototype of
1444 function pointer argument.
1445 * libc/stdio/fwalk.c (_fwalk, _fwalk_reent): Change prototypes
1446 to specify function pointer arguments.
1447 (__fwalk, __fwalk_reent): Ditto.
1448
b4ddf489
AH
14492004-04-26 Aldy Hernandez <aldyh@redhat.com>
1450
1451 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Fix typo in
1452 CT_INT case.
1453
f777e3a5
JJ
14542004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1455
1456 * configure.in: Define _MB_CAPABLE if mb supported.
1457 * configure: Regenerated.
1458 * configure.host: Remove manual setting of MB_CAPABLE compiler
1459 flag.
1460 * newlib.hin: Add _MB_CAPABLE flag.
1461 * libc/ctype/iswalpha.c, libc/ctype/iswblank.c: Include <newlib.h>
1462 and check for _MB_CAPABLE flag instead of MB_CAPABLE.
1463 * libc/ctype/iswcntrl.c, libc/ctype/iswprint.c: Ditto.
1464 * libc/ctype/iswpunct.c, libc/ctype/iswspace.c: Ditto.
1465 * libc/ctype/jp2uc.c: Ditto.
1466 * libc/ctype/towlower.c, libc/ctype/towupper.c: Ditto.
1467 * libc/locale/locale.c: Ditto
1468 * libc/machine/powerpc/vfscanf.c: Ditto
1469 * libc/stdio/vfprintf.c, libc/stdio/vfscanf.c: Ditto
1470 * libc/stdlib/mblen.c: Ditto
1471 * libc/stdlib/mblen_r.c, libc/stdlib/mbrlen.c: Ditto
1472 * libc/stdlib/mbrtowc.c, libc/stdlib/mbsrtowcs.c: Ditto
1473 * libc/stdlib/mbstowcs.c, libc/stdlib/mbtowc.c: Ditto
1474 * libc/stdlib/mbtowc_r.c, libc/stdlib/wcrtomb.c: Ditto
1475 * libc/stdlib/wcsrtombs.c, libc/stdlib/wcstombs.c: Ditto
1476 * libc/stdlib/wctomb.c, libc/sys/linux/intl/dcigettext.c: Ditto
1477 * libc/sys/linux/intl/explodename.c: Ditto
1478 * libc/sys/linux/intl/finddomain.c: Ditto
1479 * libc/sys/linux/intl/l10nflist.c: Ditto
1480 * libc/sys/linux/intl/loadmsgcat.c: Ditto
1481 * libc/sys/linux/intl/localealias.c: Ditto
1482
27c7566c
JJ
14832004-04-23 Jeff Johnston <jjohnstn@redhat.com>
1484
1485 * libc/machine/powerpc/vfscanf.c (NNZDIGITS): New define.
1486 (__svfscanf_r): In integer conversions, leave out leading zeroes
1487 which are not part of a base prefix.
1488 Keep track of width truncation to fit into buf, not counting left-out
1489 zeroes against width till the truncation has been compensated for.
1490 This is based on Joern's patch of 04/21 for libc/stdio/vfscanf.c.
1491
c00f9719
JJ
14922004-04-23 Jeff Johnston <jjohnstn@redhat.com>
1493
1494 * libc/include/stdio.h: (_ftell_r, _fseek_r): New prototypes.
1495
05b31577
JJ
14962004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1497
1498 * libc/stdio/asprintf.c libc/stdio/clearerr.c,
1499 libc/stdio/fclose.c libc/stdio/fcloseall.c libc/stdio/fdopen.c,
1500 libc/stdio/feof.c libc/stdio/ferror.c libc/stdio/fflush.c,
1501 libc/stdio/fgetc.c libc/stdio/fgetpos.c libc/stdio/fgets.c,
1502 libc/stdio/fileno.c libc/stdio/findfp.c libc/stdio/fiprintf.c,
1503 libc/stdio/flags.c libc/stdio/fopen.c libc/stdio/fprintf.c,
1504 libc/stdio/fputc.c libc/stdio/fputs.c libc/stdio/fread.c,
1505 libc/stdio/freopen.c libc/stdio/fscanf.c libc/stdio/fseek.c,
1506 libc/stdio/fseeko.c libc/stdio/fsetpos.c libc/stdio/ftell.c,
1507 libc/stdio/ftello.c libc/stdio/fvwrite.c libc/stdio/fwalk.c,
1508 libc/stdio/fwrite.c libc/stdio/getc.c libc/stdio/getc_u.c,
1509 libc/stdio/getchar.c libc/stdio/getchar_u.c,
1510 libc/stdio/getdelim.c libc/stdio/getline.c libc/stdio/gets.c,
1511 libc/stdio/getw.c libc/stdio/iprintf.c libc/stdio/local.h,
1512 libc/stdio/makebuf.c libc/stdio/mktemp.c libc/stdio/perror.c,
1513 libc/stdio/printf.c libc/stdio/putc.c libc/stdio/putc_u.c,
1514 libc/stdio/putchar.c libc/stdio/putchar_u.c libc/stdio/puts.c,
1515 libc/stdio/putw.c libc/stdio/refill.c libc/stdio/remove.c,
1516 libc/stdio/rename.c libc/stdio/rewind.c libc/stdio/rget.c,
1517 libc/stdio/scanf.c libc/stdio/setbuf.c libc/stdio/setbuffer.c,
1518 libc/stdio/setlinebuf.c libc/stdio/setvbuf.c,
1519 libc/stdio/siprintf.c libc/stdio/snprintf.c,
1520 libc/stdio/sprintf.c libc/stdio/sscanf.c libc/stdio/stdio.c,
1521 libc/stdio/tmpfile.c libc/stdio/tmpnam.c libc/stdio/ungetc.c,
1522 libc/stdio/vasprintf.c libc/stdio/vfieeefp.h,
1523 libc/stdio/vfprintf.c libc/stdio/vfscanf.c,
1524 libc/stdio/vprintf.c libc/stdio/vscanf.c,
1525 libc/stdio/vsnprintf.c libc/stdio/vsprintf.c,
1526 libc/stdio/vsscanf.c libc/stdio/wbuf.c,
1527 libc/stdio/wsetup.c: Perform minor formatting changes. Move
1528 copyright notices to top of file, ensure that <_ansi.h> is
1529 included, be consistent with open parentheses, use _DEFUN macro,
1530 include "local.h" where needed, and remove various compiler
1531 warnings.
1532
04e8fca1
JJ
15332004-04-21 J"orn Rennecke <joern.rennecke@superh.com>
1534
1535 * libc/stdio/vfscanf.c (NNZDIGITS): New define.
1536 (__svfscanf_r): In integer conversions, leave out leading zeroes
1537 which are not part of a base prefix.
1538 Keep track of width truncation to fit into buf, not counting left-out
1539 zeroes against width till the truncation has been compensated for.
1540
9090ec74
CV
15412004-04-20 Corinna Vinschen <corinna@vinschen.de>
1542
1543 * libc/include/sys/unistd.h (ttyname_r): Add missing comma.
1544
1c17deea
CV
15452004-04-20 Corinna Vinschen <corinna@vinschen.de>
1546
1547 * libc/include/sys/unistd.h (ttyname_r): Add declaration for Cygwin.
1548
54c7940f
CV
15492004-04-10 Corinna Vinschen <corinna@vinschen.de>
1550
1551 * libc/include/sys/unistd.h (sync): Define void on Cygwin according
1552 to SUSv3.
1553
47dcaf56
JJ
15542004-04-08 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1555
1556 * libc/stdio/fclose.c (_fclose_r): New function.
1557 * libc/stdio/freopen.c (_freopen_r): Call _fclose_r.
1558 * libc/stdio/fcloseall.c (_fcloseall_r): Call _fwalk_reent.
1559 * libc/stdio64/freopen64.c (_freopen64_r): Use _fclose_r.
1560 * libc/include/stdio.h (_fclose_r): New prototype.
1561 * libc/stdio/fopen.c: Fix typo in comment.
1562
15632004-04-08 Jeff Johnston <jjohnstn@redhat.com>
1564
1565 * libc/stdio/fwalk.c (_fwalk_reent): New version of _fwalk
1566 to handle _r reentrant functions.
1567
4121d8cf
JJ
15682004-04-08 Eric Christopher <echristo@redhat.com>
1569
1570 * libc/include/machine/setjmp.h: Fix endif locations.
1571
59c9f5f5
JJ
15722004-04-01 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1573
1574 * libc/time/strptime.c: Add standard includes to avoid
1575 warning messages at compilation time.
1576
38f4f023
JJ
15772004-04-01 Jeff Johnston <jjohnstn@redhat.com>
1578
1579 * libc/stdio/vfscanf.c (__svfscanf_r): Add locking/unlocking
1580 of file.
1581
15822004-03-30 Jeff Johnston <jjohnstn@redhat.com>
ed4c5ece
JJ
1583
1584 * libc/machine/h8300/Makefile.am: Reformat slightly.
1585 * libc/machine/h8300/Makefile.in: Regenerate.
1586
38f4f023 15872004-03-30 Thomas Pfaff <tpfaff@gmx.net>
cacc0d44
JJ
1588
1589 * libc/stdio/findfp.c (__fp_lock_all): Add call to
1590 __sfp_lock_acquire.
1591 (__fp_unlock_all): Add call to __sfp_lock_release.
1592
10dcf7e7
JJ
15932004-03-25 Thomas Pfaff <tpfaff@gmx.net>
1594
1595 * libc/stdio/fclose.c (fclose): Protect file pointer list when
1596 releasing a file.
1597 * libc/stdio/fcloseall.c (_fcloseall_r): Close all files via
1598 fwalk.
1599 * libc/stdio/fdopen.c (_fdopen_r): Add calls to
1600 _flockfile/_funlockfile.
1601 * libc/stdio/findfp.c: Move __sfp_lock. Change __sfp_lock type
1602 to recursive.
1603 Change __lock_acquire/__lock_release calls for __sfp_lock to
1604 __sfp_lock_acquire/__sfp_lock_release throughout.
1605 (std): Make sure that file lock is only initialized once.
1606 (__sfp): Move _file initialization. Initialize file lock.
1607 (__sfp_lock_acquire): New function.
1608 (__sfp_lock_release): Ditto.
1609 (__fp_lock_all): Remove __sfp_lock_acquire call.
1610 (__fp_unlock_all): Remove __sfp_lock_release call.
1611 * libc/stdio/fopen.c (_fopen_r): Protect file pointer list.
1612 Add calls to _flockfile/_funlockfile. Remove
1613 __lock_init_recursive call.
1614 * libc/stdio/freopen.c (_freopen_r): Protect file pointer list.
1615 * libc/stdio/fwalk.c (__fwalk): New static function.
1616 (_fwalk): Protect file pointer list. Use __fwalk to walk through
1617 file pointers.
1618 * libc/stdio/local.h: Add defines for
1619 __sfp_lock_acquire/__sfp_lock_release when
1620 single threaded. Add function prototypes otherwise.
1621 * libc/stdio64/fdopen64.c (_fdopen64_r): Add calls to
1622 _flockfile/_funlockfile.
1623 * libc/stdio/fopen64.c (_fopen64_r): Protect file pointer list.
1624 Add calls to _flockfile/_funlockfile. Remove
1625 __lock_init_recursive call.
1626 * libc/stdio/freopen64.c (_freopen64_r): Protect file pointer
1627 list.
1628
ec475b09
JJ
16292004-03-25 Jeff Johnston <jjohnstn@redhat.com>
1630
1631 * libc/sys/linux/sys/lock.h: Turn on __USE_GNU flag if not already
1632 defined. Change __LOCK_RECURSIVE_INIT to be __LOCK_INIT_RECURSIVE.
1633 * libc/sys/linux/dl/dl-support.c: Change __LOCK_RECURSIVE_INIT
1634 to be __LOCK_INIT_RECURSIVE.
1635
2c4ef10a
JJ
16362004-03-11 Kazu Hirata <kazu@cs.umass.edu>
1637
1638 * libc/sys/h8300hms/Makefile.am (lib_a_SOURCES): Replace
1639 _exit.c with _exit.S.
1640 * libc/sys/h8300hms/Makefile.in: Regenerate.
1641 * libc/sys/h8300hms/_exit.c: Remove.
1642 * libc/sys/h8300hms/_exit.S: New.
1643
41c3da6a
JJ
16442004-03-09 Thomas Pfaff <tpfaff@gmx.net>
1645
1646 * libc/stdio/findfp.c (__sfp): Rename lock to __sfp_lock.
1647 Change __sfp_lock to static global.
1648 (__fp_lock): New static function.
1649 (__fp_unlock): Ditto.
1650 (__fp_lock_all): New function.
1651 (__fp_unlock_all): Ditto.
1652
0ccf5430
CF
16532004-02-10 Christopher Faylor <cgf@redhat.com>
1654
1655 * libm/mathfp/er_gamma.c (gamma): Add new non-reentrant function.
1656 * libm/mathfp/er_lgamma.c (lgamma): Ditto.
1657 * libm/mathfp/erf_gamma.c (gammaf): Ditto.
1658 * libm/mathfp/erf_lgamma.c (lgammaf): Ditto.
1659
3536f0fb
CF
16602004-02-09 Christopher Faylor <cgf@redhat.com>
1661
1662 * libc/include/time.h (TIMER_RELTIME): New define.
1663
6a6e493a
JJ
16642004-02-09 Jeff Johnston <jjohnstn@redhat.com>
1665
1666 * libc/stdlib/Makefile.am: Add mallstatsr to LIBADD_OBJS.
1667 * libc/stdlib/Makefile.in: Regenerated.
1668
733309f5
CF
16692004-02-08 Christopher Faylor <cgf@redhat.com>
1670
1671 * libc/include/sys/features.h: Add _POSIX_TIMERS define for __CYGWIN__.
1672 * libc/include/sys/reent.h (__getreent): Protect against possibly being
1673 defined.
1674 * libc/include/sys/unistd.h (fdatasync): Don't define for __CYGWIN__.
1675
b4a84c66
JJ
16762004-02-05 Paul Brook <paul@codesourcery.com>
1677
1678 * libc/include/machine/ieeefp.h[__arm__][__VFP_FP__]: Set
1679 IEEE_{BIG,LITTLE} based on __ARMEL__ flag.
1680
4669438f
JJ
16812004-02-02 Jeff Johnston <jjohnstn@redhat.com>
1682
1683 * NEWS: Update with 1.12.0 info.
1684 * README: Ditto.
1685 * acinclude.m4: Change version number to 1.12.0.
1686 * aclocal.m4: Regenerated.
1687 * configure: Ditto.
1688 * doc/aclocal.m4: Ditto.
1689 * doc/configure: Ditto.
1690 * libc/*/aclocal.m4: Ditto.
1691 * libc/*/configure: Ditto.
1692 * libc/libc.texinfo: Ditto.
1693 * libm/*/aclocal.m4: Ditto.
1694 * libm/*/configure: Ditto.
1695 * libm/libm.texinfo: Ditto.
1696 * libc/sys/linux/shared.ld: Add VERS_1.12.
1697
94d61fcb
JJ
16982004-02-02 Joel Sherrill <joel@oarcorp.com>
1699
1700 * configure.host: Add support for tic4x.
1701 * libc/include/machine/ieeefp.h: Ditto.
1702 * libc/include/machine/setjmp.h: Ditto.
1703 * libc/machine/tic4x/Makefile.am: New file.
1704 * libc/machine/tic4x/configure.in: Ditto.
1705 * libc/machine/tic4x/setjmp.S: Ditto.
1706 * libc/machine/tic4x/aclocal.m4: Generated.
1707 * libc/machine/tic4x/configure: Ditto.
1708 * libc/machine/tic4x/Makefile.in: Ditto.
1709
c730e0e7
JJ
17102004-01-30 Jeff Johnston <jjohnstn@redhat.com>
1711
1712 * libc/stdio/fwalk.c (_fwalk.c): Don't traverse the
1713 file chain on the passed in reentrancy struct if it
1714 is _GLOBAL_REENT.
1715
2892ec68
JJ
17162004-01-30 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1717 Jeff Johnston <jjohnstn@redhat.com>
1718
1719 * libc/iconv/iconv.tex: Updated with more information.
1720
ff41498a
JJ
17212004-01-30 Thomas Pfaff <tpfaff@gmx.net>
1722 Jeff Johnston <jjohnstn@redhat.com>
1723
1724 * libc/stdio/fwalk.c (_fwalk): Traverse the given reentrancy
1725 struct for std streams and traverse the global reeentrancy
1726 struct for all other streams.
1727
d5b6c234
JJ
17282004-01-27 Jeff Johnston <jjohnstn@redhat.com>
1729
1730 * libc/stdlib/atexit.c: Protect global atexit list with a
1731 lock when newlib is multithreaded.
1732
01e0a777
JJ
17332004-01-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1734
1735 * configure.in: Add support to generate iconv converter flags
1736 for newlib.h
1737 * newlib.hin: Add iconv converter flags.
1738 * configure: Regenerated.
1739 * libc/Makefile.in: Ditto.
1740 * libc/configure.in: Moved iconv converter parsing logic to
1741 top level newlib configure.in.
1742 * libc/configure: Regenerated.
1743 * libc/iconv/Makefile.in: Ditto.
1744 * libc/iconv/README.TODO
1745 * libc/iconv/charset.aliases: Remove wrong BE aliases for
1746 UCS2/UCS4/UTF8.
1747 * libc/iconv/ccs/Makefile.am: Remove C flag setting now that
1748 newlib.h can be used.
1749 * libc/iconv/ces/Makefile.am: Ditto.
1750 * libc/iconv/lib/Makefile.am: Ditto.
1751 * libc/iconv/ccs/Makefile.in: Regenerated.
1752 * libc/iconv/ces/Makefile.in: Ditto.
1753 * libc/iconv/lib/Makefile.in: Ditto.
1754 * libc/iconv/ccs/README.CCS.SOURCES: Updated.
1755 * libc/iconv/ccs/iconv_mktbl: Don't write junk strings to binaries.
1756 * libc/iconv/ccs/big5.c: Switch to use new underscored flags
1757 defined in newlib.h.
1758 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
1759 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
1760 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
1761 * libc/iconv/ccs/cp775.c: Ditto.
1762 * libc/iconv/ccs/cp850.c: Ditto.
1763 * libc/iconv/ccs/cp852.c: Ditto.
1764 * libc/iconv/ccs/cp855.c: Ditto.
1765 * libc/iconv/ccs/cp866.c: Ditto.
1766 * libc/iconv/ccs/gb_2312_80.c: Ditto.
1767 * libc/iconv/ccs/iso_8859_1.c: Ditto.
1768 * libc/iconv/ccs/iso_8859_15.c: Ditto.
1769 * libc/iconv/ccs/iso_8859_2.c: Ditto.
1770 * libc/iconv/ccs/iso_8859_4.c: Ditto.
1771 * libc/iconv/ccs/iso_8859_5.c: Ditto.
1772 * libc/iconv/ccs/jis_x0201.c: Ditto.
1773 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
1774 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
1775 * libc/iconv/ccs/koi8_r.c: Ditto.
1776 * libc/iconv/ccs/koi8_u.c: Ditto.
1777 * libc/iconv/ccs/ksx1001.c: Ditto.
1778 * libc/iconv/ccs/shift_jis.c: Ditto.
1779 * libc/iconv/ccs/us_ascii.c: Ditto.
1780 * libc/iconv/ccs/binary/big5.cct: Newly generated.
1781 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
1782 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
1783 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
1784 * libc/iconv/ccs/binary/cp775.cct: Ditto.
1785 * libc/iconv/ccs/binary/cp850.cct: Ditto.
1786 * libc/iconv/ccs/binary/cp852.cct: Ditto.
1787 * libc/iconv/ccs/binary/cp855.cct: Ditto.
1788 * libc/iconv/ccs/binary/cp866.cct: Ditto.
1789 * libc/iconv/ccs/binary/gb_2312_80.cct: Ditto.
1790 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
1791 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
1792 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
1793 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
1794 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
1795 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
1796 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
1797 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
1798 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
1799 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
1800 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
1801 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
1802 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
1803 * libc/iconv/lib/bialiasesi.c: Sync with charset.aliases.
1804 * libc/iconv/ces/euc-jp.c: Use newlib.h macros.
1805 * libc/iconv/ces/euc-kr.c: Ditto.
1806 * libc/iconv/ces/euc-tw.c: Ditto.
1807 * libc/iconv/ces/gb2312.c: Ditto.
1808 * libc/iconv/ces/iso-10646-ucs-2.c: Ditto.
1809 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
1810 * libc/iconv/ces/ucs-2-internal.c: Ditto.
1811 * libc/iconv/ces/ucs-4-internal.c: Ditto.
1812 * libc/iconv/ces/utf-16.c: Ditto.
1813 * libc/iconv/ces/utf-8.c: Ditto.
1814 * libc/iconv/lib/aliases.c: Ditto.
1815 * libc/iconv/lib/biccs.c: Ditto.
1816 * libc/iconv/lib/bices.c: Ditto.
1817 * libc/iconv/lib/ccs.c: Ditto.
1818 * libc/iconv/lib/ces.c: Ditto.
1819 * libc/iconv/lib/ces_euc.c: Ditto.
1820 * libc/iconv/lib/ces_iso2022.c: Ditto.
1821 * libc/iconv/lib/ces_table.c: Ditto.
1822 * libc/iconv/lib/converter.c: Ditto.
1823 * libc/iconv/lib/deps.h: Ditto.
1824 * libc/iconv/lib/endian.h: Ditto.
1825 * libc/iconv/lib/iconv.c: Ditto.
1826 * libc/iconv/lib/loaddata.c: Ditto.
1827 * libc/iconv/lib/local.h: Include newlib.h.
1828 * libc/argz/Makefile.in: Regenerated.
1829 * libc/ctype/Makefile.in: Ditto.
1830 * libc/errno/Makefile.in: Ditto.
1831 * libc/iconv/ccs/binary/Makefile.in: Ditto.
1832 * libc/locale/Makefile.in: Ditto.
1833 * libc/misc/Makefile.in: Ditto.
1834 * libc/posix/Makefile.in: Ditto.
1835 * libc/reent/Makefile.in: Ditto.
1836 * libc/search/Makefile.in: Ditto.
1837 * libc/signal/Makefile.in: Ditto.
1838 * libc/stdio/Makefile.in: Ditto.
1839 * libc/stdio64/Makefile.in: Ditto.
1840 * libc/stdlib/Makefile.in: Ditto.
1841 * libc/string/Makefile.in: Ditto.
1842 * libc/syscalls/Makefile.in: Ditto.
1843 * libc/time/Makefile.in: Ditto.
1844 * libc/unix/Makefile.in: Ditto.
1845 * testsuite/newlib.iconv/iconv.exp: New file.
1846 * testsuite/newlib.iconv/iconvjp.c: Ditto.
1847 * testsuite/newlib.iconv/iconvnm.c: Ditto.
1848 * testsuite/newlib.iconv/iconvru.c: Ditto.
1849
786ab12c
JJ
18502004-01-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1851
1852 * acinclude.m4 (--enable-newlib-iconv): New configuration option.
1853 (--enable-newlib-builtin-converters): Ditto.
1854 * configure.in: Add code to set _ICONV_ENABLED flag.
1855 Set _MB_LEN_MAX to 1 if not mb enabled.
1856 * configure: Regenerated.
1857 * aclocal.m4: Ditto.
1858 * Makefile.in: Ditto.
1859 * newlib.hin: Add _ICONV_ENABLED flag.
1860 * libc/Makefile.am: Add support for iconv.
1861 * libc/configure.in: Ditto.
1862 * libc/Makefile.in: Regenerated.
1863 * libc/aclocal.m4: Ditto.
1864 * libc/configure: Ditto.
1865 * libc/libc.texinfo: Add iconv documentation.
1866 * libc/iconv/AUTHORS, libc/iconv/COPYING, libc/iconv/Makefile.am,
1867 libc/iconv/Makefile.in, libc/iconv/README.ORIGINAL,
1868 libc/iconv/README.TODO, libc/iconv/charset.aliases,
1869 libc/iconv/iconv.tex, libc/iconv/ccs/Makefile.am,
1870 libc/iconv/ccs/Makefile.in, libc/iconv/ccs/README.CCS.SOURCES,
1871 libc/iconv/ccs/big5.c, libc/iconv/ccs/cns11643_plane1.c,
1872 libc/iconv/ccs/cns11643_plane14.c, libc/iconv/ccs/cns11643_plane2.c,
1873 libc/iconv/ccs/cp775.c, libc/iconv/ccs/cp850.c,
1874 libc/iconv/ccs/cp852.c, libc/iconv/ccs/cp855.c,
1875 libc/iconv/ccs/cp866.c, libc/iconv/ccs/gb_2312_80.c,
1876 libc/iconv/ccs/iconv_mktbl, libc/iconv/ccs/iso_8859_1.c,
1877 libc/iconv/ccs/iso_8859_15.c, libc/iconv/ccs/iso_8859_2.c,
1878 libc/iconv/ccs/iso_8859_4.c, libc/iconv/ccs/iso_8859_5.c,
1879 libc/iconv/ccs/jis_x0201.c, libc/iconv/ccs/jis_x0208_1983.c,
1880 libc/iconv/ccs/jis_x0212_1990.c, libc/iconv/ccs/koi8_r.c,
1881 libc/iconv/ccs/koi8_u.c, libc/iconv/ccs/ksx1001.c,
1882 libc/iconv/ccs/shift_jis.c, libc/iconv/ccs/us_ascii.c,
1883 libc/iconv/ccs/binary/Makefile.am, libc/iconv/ccs/binary/Makefile.in,
1884 libc/iconv/ccs/binary/big5.cct,
1885 libc/iconv/ccs/binary/cns11643_plane1.cct,
1886 libc/iconv/ccs/binary/cns11643_plane14.cct,
1887 libc/iconv/ccs/binary/cns11643_plane2.cct,
1888 libc/iconv/ccs/binary/cp775.cct, libc/iconv/ccs/binary/cp850.cct,
1889 libc/iconv/ccs/binary/cp852.cct, libc/iconv/ccs/binary/cp855.cct,
1890 libc/iconv/ccs/binary/cp866.cct, libc/iconv/ccs/binary/gb_2312_80.cct,
1891 libc/iconv/ccs/binary/iso_8859_1.cct,
1892 libc/iconv/ccs/binary/iso_8859_15.cct,
1893 libc/iconv/ccs/binary/iso_8859_2.cct,
1894 libc/iconv/ccs/binary/iso_8859_4.cct,
1895 libc/iconv/ccs/binary/iso_8859_5.cct,
1896 libc/iconv/ccs/binary/jis_x0201.cct,
1897 libc/iconv/ccs/binary/jis_x0208_1983.cct,
1898 libc/iconv/ccs/binary/jis_x0212_1990.cct,
1899 libc/iconv/ccs/binary/koi8_r.cct, libc/iconv/ccs/binary/koi8_u.cct,
1900 libc/iconv/ccs/binary/ksx1001.cct,
1901 libc/iconv/ccs/binary/shift_jis.cct,
1902 libc/iconv/ccs/binary/us_ascii.cct,
1903 libc/iconv/ces/Makefile.am, libc/iconv/ces/Makefile.in,
1904 libc/iconv/ces/euc-jp.c, libc/iconv/ces/euc-kr.c,
1905 libc/iconv/ces/euc-tw.c, libc/iconv/ces/gb2312.c,
1906 libc/iconv/ces/iso-10646-ucs-2.c, libc/iconv/ces/iso-10646-ucs-4.c,
1907 libc/iconv/ces/ucs-2-internal.c, libc/iconv/ces/ucs-4-internal.c,
1908 libc/iconv/ces/utf-16.c, libc/iconv/ces/utf-8.c,
1909 libc/iconv/lib/Makefile.am, libc/iconv/lib/Makefile.in,
1910 libc/iconv/lib/aliases.c, libc/iconv/lib/bialiasesi.c,
1911 libc/iconv/lib/biccs.c, libc/iconv/lib/bices.c,
1912 libc/iconv/lib/ccs.c, libc/iconv/lib/ces.c,
1913 libc/iconv/lib/ces_euc.c, libc/iconv/lib/ces_iso2022.c,
1914 libc/iconv/lib/ces_table.c, libc/iconv/lib/converter.c,
1915 libc/iconv/lib/deps.h, libc/iconv/lib/endian.h,
1916 libc/iconv/lib/iconv.c, libc/iconv/lib/loaddata.c,
1917 libc/iconv/lib/local.h, libc/include/iconv.h: New files.
1918 * libc/sys/linux/include/iconv.h: Ditto.
1919 * libc/include/sys/_types.h (_iconv_t): Added.
1920 * doc/aclocal.m4: Regenerated.
1921 * doc/configure: Ditto.
1922 * doc/Makefile.in: Ditto.
1923 * iconvdata/Makefile.in: Ditto.
1924 * iconvdata/aclocal.m4: Ditto.
1925 * iconvdata/configure: Ditto.
1926 * libc/*aclocal.m4: Ditto.
1927 * libc/*Makefile.in: Ditto.
1928 * libc/*configure: Ditto.
1929 * libm/*aclocal.m4: Ditto.
1930 * libm/*Makefile.in: Ditto.
1931 * libm/*configure: Ditto.
1932
ed1a95dc
JJ
19332004-01-22 Thomas Pfaff <tpfaff@gmx.net>
1934
1935 * libc/stdio/findfp.c (__sfp): Protect global FILE pointer list
1936 by a lock when newlib is multithreaded.
1937
7d4be1ef
JJ
19382004-01-21 Jeff Johnston <jjohnstn@redhat.com>
1939
1940 * libc/stdlib/mbrtowc.c (_mbrtowc_r): Fix case where s is null
1941 pointer to match C99 spec.
1942 * libc/stdlib/mbsrtowcs.c (_mbsrtowc_r): Fix to ignore len when
1943 dst is NULL. Also fix to not alter src pointer when dst is NULL
1944 and call _mbrtowc_r instead of _mbtowc_r.
1945 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Call _wcrtomb_r instead
1946 of _wctomb_r.
1947
403f752c
JJ
19482004-01-19 Thomas Pfaff <tpfaff@gmx.net>
1949
1950 * libc/stdio/fclose.c (fclose): Release FILE as the last step.
1951 * libc/stdio/freopen.c (freopen): Ditto.
1952
85b6d63b
CF
19532004-01-16 Christopher Faylor <cgf@redhat.com>
1954
1955 * libc/stdio/vfprintf.c: Add sys/lock.h include.
1956
4af71a91
JJ
19572004-01-16 Thomas Pfaff <tpfaff@gmx.net>
1958
1959 * libc/stdio/findfp.c (__sfp): Remove unnecessary memset.
1960 * libc/stdio/vfprintf.c (__sbprintf): Ditto.
1961 Add calls to __lock_init_recursive and __lock_close_recursive
1962 instead.
1963
6a150987
JJ
19642004-01-15 Thomas Pfaff <tpfaff@gmx.net>
1965
1966 * libc/stdio/fclose.c: Include sys/lock.h.
1967 (fclose): Destroy lock when file is closed.
1968 * libc/stdio/findfp.c (__sfp): Initialize file pointers _lock
1969 member.
1970 * libc/stdio/freopen.c: Include sys/lock.h.
1971 (_freopen_r): Destroy lock when file is closed.
1972 * libc/stdio/vfprintf.c (__sbprintf): Initialize file pointers
1973 _lock member.
1974
c9524c0c
JJ
19752004-01-08 Joel Sherrill <joel@oarcorp.com>
1976
1977 * libc/ctype/iswctype.c, include/sys/reent.h, libc/stdlib/a64l.c:
1978 Remove warnings.
1979
9f13ccb3
JJ
19802004-01-08 Joel Sherrill <joel@oarcorp.com>
1981
1982 * libc/sys/rtems/sys/queue.h: New file.
1983 * libc/include/sys/signal.h: Reflect renumbering of signals to
1984 fit into 32-bit mask.
1985 * libc/include/sys/unistd.h: Add fdatasync() prototype.
1986 * libc/sys/rtems/crt0.c: Add more symbols which may be implicitly
1987 required. In particular, add the reentrant variants of libc calls.
1988 * libc/sys/rtems/sys/dirent.h: Add scandir() prototype.
1989
9488c414
JJ
19902004-01-06 Mark Mitchell <mark@codesourcery.com>
1991
1992 * libc/sys/arm/syscalls.c (unistd.h): Include it.
1993 (remap_handle): Use STDIN_FILENO instead of __sfileno(stdin).
1994 Similarly for stdout and stderr.
1995
5125f919
JJ
19962004-01-06 Jeff Johnston <jjohnstn@redhat.com>
1997
1998 * libc/libc.texinfo: Correct escape character for @ sign
1999 so file will be processed by make info. Update copyright years.
2000 * libm/libm.texinfo: Ditto.
2001
9fc92ceb
JJ
20022003-12-05 Jeff Johnston <jjohnstn@redhat.com>
2003
2004 * libc/include/sys/stat.h: No longer include stat-dj.h.
2005 * libc/include/sys/stat-dj.h: Removed.
2006
25c7dad1
JJ
20072003-12-05 Jeff Johnston <jjohnstn@redhat.com>
2008
2009 * libc/include/wchar.h: Include <sys/reent.h>.
2010
576593dd
CF
20112003-12-05 Christopher Faylor <cgf@redhat.com>
2012
2013 * libc/stdlib/mbrlen.c: Change include order to prevent compiler errors
2014 when defining _mbrtowc.
2015 * libc/stdlib/mbsinit.c: Ditto.
2016 * libc/stdlib/mbsrtowcs.c: Ditto.
2017 * libc/stdlib/wcrtomb.c: Ditto.
2018 * libc/stdlib/wcsrtombs.c: Ditto.
2019 * libc/stdlib/wctob.c: Ditto.
2020
20212003-12-05 Christopher Faylor <cgf@redhat.com>
2022
2023 * libc/stdlib/mbrlen.c: Change include order to prevent compiler
2024 errors when defining _mbrtowc.
2025 * libc/stdlib/mbsinit.c: Ditto.
2026 * libc/stdlib/mbsrtowcs.c: Ditto.
2027
4c889d62
CF
20282003-12-05 Christopher Faylor <cgf@redhat.com>
2029
2030 * libc/stdlib/mbrtowc.c: Change include order to prevent compiler
2031 errors when defining _mbrtowc.
2032
5d109bde
JJ
20332003-12-04 Artem B. Bityuckiy <abitytsky@softminecorp.com>
2034
2035 * libc/stdio/vfprintf.c (_VFPRINTF_R): Use _r versions
2036 of mb routines for %lc and %ls support.
2037 * libc/stdio/vfscanf.c (_svfscanf_r): Add %lc, %C,
2038 %ls, and %S support. Remove CYGNUS_NEC markers and
2039 code within.
2040
3aca0888
JJ
20412003-12-04 Jeff Johnston <jjohnstn@redhat.com>
2042
2043 * libc/include/wchar.h: Add prototypes for _mbrtowc_r,
2044 _wcrtomb_r, and _wcsrtombs_r.
2045
18dcb167
CV
20462003-12-01 Corinna Vinschen <corinna@vinschen.de>
2047
2048 * libc/include/sys/fcntl.h: Don't define struct flock when on
2049 Cygwin. This is done in winsup/cygwin/include/cygwin/types.h now.
2050
93f8e673
CF
20512003-11-28 Christopher Faylor <cgf@redhat.com>
2052
2053 * libc/include/sys/signal.h: Use system specific signal file when
2054 building on cygwin.
2055
cc2a11e0
JJ
20562003-11-27 Jeff Johnston <jjohnstn@redhat.com>
2057
2058 * libc/include/stdlib.h (_atoi_r): New prototype.
2059 * libc/stdlib/atoi.c (_atoi_r): New reentrant function.
2060
83bf7d2f
JJ
20612003-11-27 Jeff Johnston <jjohnstn@redhat.com>
2062
2063 * libc/include/stdlib.h (_atoll_r, _atol_r): New prototypes.
2064 * libc/stdlib/atol.c (_atol_r): New reentrant function.
2065 * libc/stdlib/atoll.c (_atoll_r): Ditto.
2066
5d109bde 20672003-11-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
6bbb700c
JJ
2068 Jeff Johnston <jjohnstn@redhat.com>
2069
2070 * libc/include/stdlib.h (lldiv_t): New type.
2071 (atoll, llabs, lldiv): New prototypes.
2072 * libc/stdlib/Makefile.am: Add support for atoll, llabs, and lldiv.
2073 * libc/stdlib/stdlib.tex: Ditto.
2074 * libc/stdlib/Makefile.in: Regenerated.
2075 * libc/stdlib/atoll.c: New file.
2076 * libc/stdlib/llabs.c: Ditto.
2077 * libc/stdlib/lldiv.c: Ditto.
2078
0a707c79
JJ
20792003-11-26 Corinna Vinschen <corinna@vinschen.de>
2080
2081 * libc/include/fcntl.h: Declare syscalls only when building newlib.
2082 * libc/include/unistd.h: Ditto.
2083 * libc/include/stat.h: Ditto. Also declare struct stat64.
2084
5d109bde 20852003-11-24 Artem B. Bityuckiy <abitytsky@softminecorp.com>
6db165c2
JJ
2086
2087 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix check for 'C' format
2088 specifier to use ch instead of *fmt.
2089
5d109bde 20902003-11-21 Artem B. Bityuckiy <abitytsky@softminecorp.com>
759a097e
JJ
2091
2092 * libc/stdio/vfprintf.c (_VFPRINTF_R, get_arg): Move mb-specific
2093 code within checks for MB_CAPABLE. For non-mb-capable platforms,
2094 use simple byte logic.
2095
4f6149d6
JJ
20962003-11-21 Jeff Johnston <jjohnstn@redhat.com>
2097
2098 * libc/stdio/vfscanf.c (__svfscanf_r)[!_NO_LONGDBL]: Don't use
2099 _strtold routine for processing floats and doubles since it
2100 is not as fast as _strtod_r.
2101
7343eefb
JJ
21022003-11-20 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
2103
2104 * libc/machine/h8300/defines.h : Correct pointer register defines
2105 for normal mode.
2106 * libc/machine/h8300/memcpy.S : Use add/sub instead of adds/subs
2107 for normal mode.
2108 * libc/machine/h8300/reg_memcpy.S : Likewise.
2109 * libc/machine/h8300/reg_memset.S : Likewise.
2110 * libc/machine/h8300/strcmp.S : Likewise.
2111
64cfc6f2
JJ
21122003-11-19 Nicholas Wourms <nwourms@netscape.net>
2113
2114 * configure.host: Enable positional arguments for printf
2115 family for Cygwin.
2116 * libc/stdio/vfprintf.c (_VFPRINTF_R): Remove extraneous
2117 pointer reference for quad_ptr_t.
2118
e1dc8171
JJ
21192003-11-19 Jeff Johnston <jjohnstn@redhat.com>
2120
2121 * libc/stdio/scanf.c: Don't include local.h more than once.
2122
a472290f
JJ
21232003-11-18 Corinna Vinschen <corinna@vinschen.de>
2124
2125 * libc/include/sys/fcntl.h: Declare _open64.
2126 * libc/include/sys/stat.h: Declare _fstat64.
2127 * libc/include/sys/unistd.h: Declare _lseek64.
2128
a2f1155c
CV
21292003-11-17 Corinna Vinschen <corinna@vinschen.de>
2130
2131 * libc/include/stdlib.h (getprogname): Declare for Cygwin.
2132 (setprogname): Ditto.
2133
030441fc
JJ
21342003-11-10 Jeff Johnston <jjohnstn@redhat.com>
2135
2136 * libc/machine/powerpc/ufix64toa.c (_ufix64to_r): Fix shifts
2137 to use (Ebits + 1) which accounts for the sign-bit.
2138
fe359733
JJ
21392003-11-07 Jeff Johnston <jjohnstn@redhat.com>
2140
2141 * configure.host: Remove -DLOOSE_KERNEL_NAMES flag for linux
2142 x86 build.
2143 * iconvdata/Makefile.am: Make dependent on newlib's configure.host
2144 and set up default flags to pass to aclocal.
2145 * iconvdata/Makefile.in: Regenerated.
2146 * libc/sys/linux/Makefile.am: Add _ELIX_LEVEL_4 getlogin, getpwnam,
2147 and getpwuid routines.
2148 * libc/sys/linux/Makefile.in: Regenerated.
2149 * libc/sys/linux/getlogin.c: New stub file to allow x86-linux
2150 applications to link with newlib's shared libc library.
2151 * libc/sys/linux/getpwnam.c: Ditto.
2152 * libc/sys/linux/getpwuid.c: Ditto.
2153 * libc/sys/linux/sys/types.h: Include <features.h> and supply types
2154 that were formerly supplied by /usr/include/linux/types.h with
2155 kernel types.
2156 * testsuite/newlib.wctype/twctype.c: Fix testcase to properly
2157 test _ELIX_LEVEL macro.
2158
2985521f
JJ
21592003-11-07 Jeff Johnston <jjohnstn@redhat.com>
2160
2161 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix typos that should be
2162 referring to _NO_LONGLONG macro.
2163
dcad6a89
JJ
21642003-11-06 Jeff Johnston <jjohnstn@redhat.com>
2165
2166 * libc/sys/linux/linuxthreads/td_init.c: Replace function name
2167 in LOG() macro so this will compile on gcc 3.4 and up.
2168 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
2169 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
2170 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
2171 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
2172 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
2173 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
2174 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
2175 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
2176 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
2177 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
2178 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
2179 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
2180 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
2181 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
2182 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
2183 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
2184 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
2185 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
2186 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
2187 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
2188 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
2189 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
2190 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
2191 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
2192 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
2193 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
2194 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
2195 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
2196 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
2197 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
2198 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
2199 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
2200 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
2201 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
2202 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
2203 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
2204
d2ffac09 22052003-11-05 Jeff Johnston <jjohnstn@redhat.com>
5d109bde 2206 Artem B. Bityuckiy <abitytsky@softminecorp.com>
d2ffac09
JJ
2207
2208 * libc/stdio/vfprintf.c (_VFPRINTF_R): Add support for
2209 %ls, %S, %lc, and %C format specifiers.
2210 (get_arg): Ditto.
2211 * libc/stdio/sprintf.c: Add documentation regarding new
2212 format specifiers added in vfprintf.c.
2213
da2d1227
JJ
22142003-11-05 Jeff Johnston <jjohnstn@redhat.com>
2215
2216 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Numerous fixes
2217 to make code work as specified in standard.
2218
3ef05bac
JJ
22192003-10-23 Jeff Johnston <jjohnstn@redhat.com>
2220
2221 * configure.in: Use absolute newlib basedir when forming
2222 CC_FOR_NEWLIB include options.
2223 * configure: Regenerated.
2224
5d109bde 22252003-10-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4340b63b
JJ
2226
2227 * libc/string/wcsnlen.c: New file.
2228 * libc/include/wchar.h: Add wcsnlen prototype.
2229 * libc/string/Makefile.am: Add wcsnlen support.
2230 * libc/string/Makefile.in: Regenerated.
2231 * libc/string/wcstrings.tex: Add wcsnlen documentation.
2232
63a823f8
RS
22332003-10-22 Richard Sandiford <rsandifo@redhat.com>
2234
2235 * libc/stdlib/exit.c (exit): Handle null _GLOBAL_REENT->_atexits.
2236
76a7df52
JJ
22372003-10-20 Bob Wilson <bob.wilson@acm.org>
2238
2239 * libc/locale/locale.c: Use double quotes in code.
2240 * libc/locale/locale.tex: Likewise.
2241 * libc/libc.texinfo: Hyphenate "floating-point".
2242 * libc/machine/necv70/necv70.tex: Likewise.
2243 * libc/stdio/sprintf.c: Likewise.
2244 * libc/stdio/sscanf.c: Likewise.
2245 * libc/stdlib/atof.c: Likewise.
2246 * libc/stdlib/ldtoa.c: Fix comment typo.
2247 * libc/stdlib/div.c: Use @ifnottex instead of @ifinfo.
2248 * libc/stdlib/ldiv.c: Likewise.
2249 * libm/common/s_expm1.c: Likewise.
2250 * libm/common/s_ilogb.c: Hyphenate "floating-point". Use "nonzero".
2251 * libm/common/s_infinity: Hyphenate "double- and single-precision".
2252 * libm/common/s_nan.c: Likewise. Also correct the FUNCTION summary.
2253 * libm/common/s_nextafter.c: Fix typo. Hyphenate "double-precision"
2254 and "floating-point".
2255 * libm/common/s_scalbn.c: Correct the FUNCTION summary.
2256 * libm/math/e_pow.c: Fix comment typo.
2257 * libm/math/math.tex: Hyphenate "single-precision" and "floating-point".
2258 * libm/math/s_asinh.c: Use @ifnottex instead of @ifinfo.
2259 * libm/math/s_atan.c: Likewise.
2260 * libm/math/s_frexp.c: Likewise. Also use "nonzero".
2261 * libm/math/s_isnan.c: Hyphenate "single-precision" and
2262 "floating-point". Use "nonzero".
2263 * libm/math/s_ldexp.c: Use @ifnottex instead of @ifinfo.
2264 * libm/math/w_acos.c: Likewise.
2265 * libm/math/w_acosh.c: Likewise.
2266 * libm/math/w_asin.c: Likewise.
2267 * libm/math/w_atan2.c: Likewise.
2268 * libm/math/w_atanh.c: Likewise.
2269 * libm/math/w_cosh.c: Likewise.
2270 * libm/math/w_exp.c: Likewise.
2271 * libm/math/w_exp2.c: Likewise. Add missing @end and missing @tex
2272 version of 2^x in the description.
2273 * libm/math/w_fmod.c: Use @ifnottex instead of @ifinfo.
2274 * libm/math/w_gamma.c: Likewise.
2275 * libm/math/w_hypot.c: Likewise.
2276 * libm/math/w_j0.c: Likewise.
2277 * libm/math/w_sinh.c: Likewise.
2278 * libm/math/w_pow.c: Replace "exp1.0nt" with "exponent".
2279 * libm/mathfp/mathfp.tex: Hyphenate "single-precision" and
2280 "floating-point".
2281 * libm/mathfp/e_acosh.c: Use @ifnottex instead of @ifinfo.
2282 * libm/mathfp/e_atanh.c: Likewise.
2283 * libm/mathfp/e_hypot.c: Likewise.
2284 * libm/mathfp/er_lgamma.c: Likewise.
2285 * libm/mathfp/s_acos.c: Likewise.
2286 * libm/mathfp/s_asine.c: Likewise.
2287 * libm/mathfp/s_asinh.c: Likewise.
2288 * libm/mathfp/s_atan.c: Likewise.
2289 * libm/mathfp/s_atan2.c: Likewise.
2290 * libm/mathfp/s_atangent.c: Likewise.
2291 * libm/mathfp/s_cosh.c: Likewise.
2292 * libm/mathfp/s_exp.c: Likewise.
2293 * libm/mathfp/s_fmod.c: Likewise.
2294 * libm/mathfp/s_frexp.c: Likewise. Also use "nonzero".
2295 * libm/mathfp/s_isnan.c: Hyphenate "single-precision" and
2296 "floating-point". Use "nonzero".
2297 * libm/math/s_pow.c: Replace "exp1.0nt" with "exponent".
2298 * libm/mathfp/s_ldexp.c: Use @ifnottex instead of @ifinfo.
2299 * libm/mathfp/s_sineh.c: Likewise.
2300 * libm/mathfp/w_jn.c: Likewise.
2301
b11926e7
JJ
23022003-10-15 Alexandre Oliva <aoliva@redhat.com>
2303
2304 * Makefile.am: Add $(MAKE) comments to multido and multiclean
2305 lines, to enable parallel make.
2306 * Makefile.in: Rebuilt.
2307
31271d5c
CF
23082003-10-14 Christopher Faylor <cgf@redhat.com>
2309
2310 * libc/time/clock.c: Clarify documentation of return value when no
2311 measurement is available.
2312
bc707cbd
JJ
23132003-09-29 Ian Lance Taylor <ian@wasabisystems.com>
2314
2315 * libm/configure.in: Check libm_machine_dir, not machine_dir.
2316 * libm/configure: Regenerate.
2317 * libm/Makefile.in: Ditto.
2318
f4b10605
JR
23192003-09-29 J"orn Rennecke <joern.rennecke@superh.com>
2320
2321 * libc/machine/sh/strncpy.S: New file.
2322 * libc/machine/sh/Makefile.am: Add entry & rule for new file.
2323 * libc/machine/sh/Makefile.in: Regenerate.
2324
ce044d8f
JW
23252003-09-11 James E Wilson <wilson@specifixinc.com>
2326
2327 * MAINTAINERS: Update my e-mail address.
2328
080ef411
CV
23292003-09-10 Corinna Vinschen <corinna@vinschen.de>
2330
2331 * libc/include/sys/unistd.h: Declare function daemon for Cygwin.
2332
3a767b69
JJ
23332003-09-09 Jeff Johnston <jjohnstn@redhat.com>
2334
080ef411
CV
2335 * libc/machine/powerpc/fix64.h: Fix typo for _simdldcheck
2336 prototype.
2337 * libc/machine/powerpc/simdldtoa.c: Remove prototype for
2338 _simdldcheck(). Also add unsigned cast for index variable in
2339 for loop using sizeof operators.
2340 * libc/machine/powerpc/strtoufix32.c: Remove unused variable.
2341 * libc/machine/powerpc/strtosfix64.c: Fix call to _simdldcheck.
2342 * libc/machine/powerpc/strtoufix64.c (_strtoufix64_r): Ditto
2343 plus fix shift calculation for determining if there is a
2344 carry from word2.
3a767b69 2345
84154fcc
CV
23462003-09-09 Corinna Vinschen <corinna@vinschen.de>
2347
2348 * libc/include/grp.h: Don't define setgrfile, group_from_gid and
2349 setgroupent for Cygwin.
2350
f1b15058
JJ
23512003-09-05 Jeff Johnston <jjohnstn@redhat.com>
2352
2353 * libc/stdlib/exit.c (exit): Setting of struct _atexit ptr p
2354 is different for _REENT_SMALL than when using regular reent
2355 struct.
2356
cf88c20f 23572003-09-05 Ben Elliston <bje@wasabisystems.com>
0a8fd4dc 2358
b73263e4
BE
2359 * libc/ctype/wctype.c (_DEFUN): Remove empty default case, as
2360 modern versions of GCC issue a warning.
2361
0a8fd4dc
BE
2362 * libc/machine/xscale/memcmp.c (memcmp): Strip trailing whitespace
2363 after continuation characters that induces a warning from modern
2364 versions of GCC.
2365
10a32423
BE
23662003-09-04 Ben Elliston <bje@wasabisystems.com>
2367
2368 * libc/stdlib/mstats.c[_ELIX_LEVEL]: Fix guards. #ifndef FOO ||
2369 FOO >= 2 is invalid; use #if !defined (FOO) || FOO >= 2 instead.
2370
ed027a53
JJ
23712003-09-02 Thomas Pfaff <tpfaff@gmx.net>
2372
2373 * libc/stdlib/atexit.c: Rename _REENT to _GLOBAL_REENT throughout.
2374 * libc/stdlib/exit.c : Ditto.
2375 * libc/stdlib/on_exit.c: Ditto.
2376
880fa247
JJ
23772003-08-27 Corinna Vinschen <corinna@vinschen.de>
2378
2379 * libc/include/reent.h: Define stat64 as __stat64 when
2380 compiling newlib for Cygwin.
2381
54c1d7ea
JJ
23822003-08-26 Jeff Johnston <jjohnstn@redhat.com>
2383
2384 * libc/include/sys/stat.h[__CYGWIN__]: Only define stat64 as
2385 __stat64 when compiling newlib.
2386
0eca0750
JJ
23872003-08-26 Jeff Johnston <jjohnstn@redhat.com>
2388
2389 * libc/include/stdio.h: Allow the io64 function prototypes for
2390 Cygwin when compiling newlib.
2391 * libc/include/sys/stat.h[__CYGWIN__]: Define stat64 as __stat64
2392 to expose the Cygwin struct __stat64 type.
2393 * libc/stdio64/fseeko64.c: Use _fstat64_r and pass a struct stat64
2394 pointer.
2395 * libc/stdio64/tmpfile64.c(_tmpfile64_r): Call _fopen64_r.
2396
9d4aef19
CF
23972003-08-23 Christopher Faylor <cgf@redhat.com>
2398
2399 * libc/stdio64/fseeko64.c (fseeko64_r): Rename second fseeko64_r
2400 definition to fseeko64.
2401
9fc9e1c9
JJ
24022003-08-22 Jeff Johnston <jjohnstn@redhat.com>
2403
2404 * libc/include/sys/reent.h: Add _GLOBAL_REENT macro.
2405 * libc/stdio: Globally remove/replace all references to fp->_data.
2406 Replace with _REENT or _GLOBAL_REENT where appropriate.
2407 * libc/stdio/asprintf.c: Ditto.
2408 * libc/stdio/fclose.c: Ditto.
2409 * libc/stdio/fvwrite.c: Ditto.
2410 * libc/stdio/makebuf.c: Ditto.
2411 * libc/stdio/refill.c: Ditto.
2412 * libc/stdio/local.h: Ditto.
2413 * libc/stdio/setvbuf.c: Ditto.
2414 * libc/stdio/sscanf.c: Ditto.
2415 * libc/stdio/stdio.c: Ditto.
2416 * libc/stdio/ungetc.c: Ditto.
2417 * libc/stdio/vfscanf.c: Ditto.
2418 * libc/stdio/vsscanf.c: Ditto.
2419 * libc/stdio/fopen.c: Ditto. Also use _fseek_r in _fopen_r.
2420 * libc/stdio/vasprintf.c: Ditto. Also call _vfprintf_r directly.
2421 * libc/stdio/vsnprintf.c: Ditto.
2422 * libc/stdio/vsprintf.c: Ditto.
2423 * libc/stdio/fcloseall.c(fcloseall): Use _GLOBAL_REENT macro
2424 instead of _REENT to walk file list.
2425 * libc/stdio/fflush.c: Ditto.
2426 * libc/stdio/fgetpos.c: Add reentrant version and have regular
2427 version call reentrant version with _REENT argument.
2428 * libc/stdio/fsetpos.c: Ditto.
2429 * libc/stdio/fseek.c: Ditto.
2430 * libc/stdio/fseeko.c: Ditto.
2431 * libc/stdio/ftell.c: Ditto.
2432 * libc/stdio/ftello.c: Ditto.
2433 * libc/stdio/freopen.c: Ditto.
2434 * libc/stdio/findfp.c: Use _GLOBAL_REENT pointer when adding
2435 new files to chain. Also use _GLOBAL_REENT pointer for
2436 cleaning up.
2437 * libc/stdio/fiprintf.c: Reformatted to minimize duplicate code.
2438 * libc/stdio/siprintf.c: Ditto.
2439 * libc/stdio/iprintf.c: Ditto.
2440 * libc/stdio/fprintf.c: Ditto.
2441 * libc/stdio/printf.c: Ditto.
2442 * libc/stdio/snprintf.c: Call _vfprintf_r directly.
2443 * libc/stdio/sprintf.c: Ditto.
2444 * libc/stdio/vprintf.c: Ditto. Also add _REENT_ONLY check.
2445 * libc/stdio/rewind.c: Call _fseek_r directly.
2446 * libc/stdio/tmpfile.c: Call _fopen_r and _remove_r directly.
2447 * libc/stdio/vfprintf.c (_VFPRINTF_R): Change _r routines to use
2448 data pointer.
2449 (get_arg): Add extra struct _reent pointer argument.
2450 * libc/stdio64/fgetpos64.c: Add _r versions, remove any reference
2451 to fp->_data.
2452 * libc/stdio64/fopen64.c: Ditto.
2453 * libc/stdio64/freopen64.c: Ditto.
2454 * libc/stdio64/fsetpos64.c: Ditto.
2455 * libc/stdio64/ftello64.c: Ditto.
2456 * libc/stdio64/local64.h: Ditto.
2457 * libc/stdio64/stdio64.c: Ditto.
2458 * libc/stdio64/fseeko64.c: Ditto plus use _fstat_r instead of
2459 _fstat64_r for the meantime.
2460
8f021114
JJ
24612003-08-19 Jeff Johnston <jjohnstn@redhat.com>
2462
2463 * libc/stdlib/mallocr.c (mALLOc, rEALLOc, mEMEALIGn): Enhance
2464 overflow detection.
2465
db979bb4
JJ
24662003-08-13 Aldy Hernandez <aldyh@redhat.com>
2467
2468 * libc/machine/powerpc/machine/stdlib.h: Wrap SPE functions in
2469 extern "C".
2470
6efbdc7d
JJ
24712003-08-13 Jeff Johnston <jjohnstn@redhat.com>
2472
2473 * libc/include/math.h: Add prototypes for __signbitf and
2474 __signbitd.
2475
e895fc20
JJ
24762003-07-31 Jeff Johnston <jjohnstn@redhat.com>
2477
2478 * libc/ctype/iswalpha.c: Fix calls to __jp2uc to pass the
2479 correct type of conversion when dealing with EUCJP or SJIS.
2480 * libc/ctype/iswblank.c: Ditto.
2481 * libc/ctype/iswcntrl.c: Ditto.
2482 * libc/ctype/iswprint.c: Ditto.
2483 * libc/ctype/iswpunct.c: Ditto.
2484 * libc/ctype/iswspace.c: Ditto.
2485 * libc/ctype/towlower.c: Ditto.
2486 * libc/ctype/towupper.c: Ditto.
2487
0302dfe5
NC
24882003-07-31 Nick Clifton <nickc@redhat.com>
2489
2490 * libc/sys/sysnecv850/crt0.S (_start): Allocate 4 slots on stack
2491 before calling main, in case it saves its argument registers.
2492 Remove reference to deleted v850ea port.
2493 * configure.host: Remove reference to deleted v850ea port.
2494 Do not use -mv850 when building for v850e target. This
2495 prevents the ctbp system register from being initialised.
2496
42de5592
JJ
24972003-07-29 Honda Hiroki <hhonda@ipflex.com>
2498
2499 * libc/stdio/vfprintf.c: Set output size to 1 when
2500 we have %f format with precision 0 and # flag not specified.
2501
e5de27b6
AO
25022003-07-29 Alexandre Oliva <aoliva@redhat.com>
2503
2504 * libc/machine/mn10300/setjmp.S: Never emit both .am33 and
2505 .am33_2.
2506
3c98a593
CF
25072003-07-25 Christopher Faylor <cgf@redhat.com>
2508
2509 * libc/stdio64/fdopen64.c: Include sys/lock.h.
2510
e222bf67
CF
25112003-07-25 Christopher Faylor <cgf@redhat.com>
2512
2513 * configure.host: Find cygwin include directory, when appropriate.
2514
03536757
CF
25152003-07-24 Christopher Faylor <cgf@redhat.com>
2516
2517 * libc/stdio64/fdopen64.c: New file.
2518 * libc/stdio64/Makefile.am (LIB_OBJS): Add fdopen64.o
2519 * libc/stdio64/Makefile.in: Regenerate.
2520 * libc/include/stdio.h (fdopen64): Define.
2521 * libc/include/stdio.h (_fdopen64_r): Ditto.
2522
18072a4f
AO
25232003-07-10 Alexandre Oliva <aoliva@redhat.com>
2524
2525 2000-04-27 Alexandre Oliva <aoliva@cygnus.com>
2526 * libc/include/machine/setjmp.h (_JBLEN, AM33/2.0): Set to 26.
2527 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Save and
2528 restore callee-saved FP registers.
2529
e0bec12f
JR
25302003-07-10 J"orn Rennecke <joern.rennecke@superh.com>
2531
2532 * libc/include/sys/unistd.h (ftruncate, truncate): Also declare
2533 for __sh__.
2534 * libc/sys/sh/Makefile.am (lib_a_SOURCES): Add ftruncate.c and
2535 truncate.c.
2536 * libc/sys/sh/Makefile.in: Regenerate.
2537 * libc/sys/sh/sys/syscall.h: (SYS_truncate, SYS_ftruncate): Define.
2538 * libc/sys/sh/ftruncate.c: New file.
2539 * libc/sys/sh/truncate.c: Likewise.
2540
03d65dd9
AO
25412003-07-09 Alexandre Oliva <aoliva@redhat.com>
2542
2543 * libc/include/math.h (nan, nanf): Update prototype to C99.
2544 * libm/common/s_nan.c (nan): Likewise.
2545 * libm/common/s_nanf.c (nanf, nan): Likewise.
2546 * libc/sys/linux/cmath/math_private.h (nan, nanf): Likewise.
2547
74aa9d7d
JJ
25482003-07-07 Jeff Johnston <jjohnstn@redhat.com>
2549
2550 * libc/include/stdbool.h: Removed as this is defined by gcc.
2551
0a447ef3
JJ
25522003-07-03 Shaun Jackman <sjackman@pathwayconnect.com>
2553
2554 * libc/include/stdbool.h: New header file defined by C99.
2555
282eff9a
JJ
25562003-07-02 Jeff Johnston <jjohnstn@redhat.com>
2557
2558 * libc/include/sys/types.h (int8_t): Make signed.
2559
4e989b11
JJ
25602003-07-02 Jeff Johnston <jjohnstn@redhat.com>
2561
2562 * libc/sys/linux/include/mqueue.h: Add include of <sys/fcntl.h>.
2563
07b40cf8
JJ
25642003-06-27 Jose Goncalves <jose.goncalves@inov.pt>
2565
2566 * libc/sys/linux/mq_open.c (mq_open): Only set created flag
2567 on if we actually created the shared memory file exclusively.
2568
7daa7891
JJ
25692003-06-27 Joe Vornehm <joev@mitre.org>
2570
2571 * libm/common/s_fpclassify.c (__fpclassifyf): Fix
2572 comparisons to account for unsigned internal value w.
2573
51fa7562
JJ
25742003-06-26 Jeff Johnston <jjohnstn@redhat.com>
2575
2576 * libc/sys/linux/mq_open.c (mq_open): Must allocate rdbuf and
2577 wrbuf for a non-creating open.
2578
b8f7ea5c
JJ
25792003-06-24 Kazu Hirata <kazu@cs.umass.edu>
2580
2581 * libc/machine/h8300/setarch.h: New.
2582 * libc/machine/h8300/memcpy.S: Use it.
2583 * libc/machine/h8300/memset.S: Likewise.
2584 * libc/machine/h8300/reg_memcpy.S: Likewise.
2585 * libc/machine/h8300/reg_memset.S: Likewise.
2586 * libc/machine/h8300/setjmp.S: Likewise.
2587 * libc/machine/h8300/strcmp.S: Likewise.
2588
6d7ea52a
RS
25892003-06-24 Richard Sandiford <rsandifo@redhat.com>
2590
2591 * libc/sys/h8300hms/crt0.S (_start): Fix register sizes in call
2592 to atexit().
2593
5a74f2aa
JJ
25942003-06-20 Jeff Johnston <jjohnstn@redhat.com>
2595
2596 * configure.host (iq2000): Add tabs.
2597
8266e478
JJ
25982003-06-20 Jeff Johnston <jjohnstn@redhat.com>
2599
2600 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix macros
2601 to handle latest on_exit change.
2602 * libc/sys/linux/Makefile.am: Remove special compilation
2603 for malloc.c and mcheck.c.
2604 * libc/sys/linux/Makefile.in: Regenerated.
2605 * libc/sys/linux/mntent.c: Add definition of _LIBC flag
2606 after including <features.h>.
2607 * libc/sys/linux/mcheck.c: Ditto.
2608 * libc/sys/linux/malloc.c: Ditto plus define _GNU_SOURCE
2609 for <features.h>.
2610 * libc/sys/linux/intl/Makefile.am: Remove -D_LIBC and
2611 add -DNOT_IN_libc to C flags.
2612 * libc/sys/linux/intl/Makefile.in: Regenerated.
2613 * libc/sys/linux/intl/config.h: Add definition of _LIBC.
2614 * libc/sys/linux/linuxthreads/semaphore.h: Include
2615 <bits/pthreadtypes.h>.
2616 * libc/sys/linux/sys/dirent.h: Define _LIBC and NOT_IN_libc after
2617 including <features.h>.
2618 * libc/sys/linux/sys/lock.h: Ditto.
2619
0efe117b
NC
26202003-06-11 Nick Clifton <nickc@redhat.com>
2621
2622 * libc/reent/reent.c (reclaim_reent): Fix typo in code to free
2623 _on_exit_args_ptr.
2624
bfdfd7e6
AG
26252003-06-10 Stan Cox <scox@redhat.com>
2626 Anthony Green <green@redhat.com>
2627
2628 * configure.host: Add iq2000 support.
2629 * newlib/libc/include/machine/ieeefp.h: Ditto.
2630 * newlib/libc/include/machine/setjmp.h: Ditto.
2631 * libc/machine/iq2000, libc/machine/iq2000/setjmp.S,
2632 libc/machine/iq2000/aclocal.m4, libc/machine/iq2000/configure,
2633 libc/machine/iq2000/configure.in, libc/machine/iq2000/Makefile.am,
2634 libc/machine/iq2000/Makefile.in: New files.
2635
d9e4104b
RS
26362003-06-10 Richard Sandiford <rsandifo@redhat.com>
2637
2638 * libc/sys/h8300hms/setarch.h: New file.
2639 * libc/sys/h8300hms/close.S, libc/sys/h8300hms/fstat.S,
2640 libc/sys/h8300hms/lseek.S, libc/sys/h8300hms/open.S,
2641 libc/sys/h8300hms/read.S, libc/sys/h8300hms/stat.S,
2642 libc/sys/h8300hms/write.S, libc/sys/h8300hms/crt0.S: Use it.
2643
729d1ff9
JJ
26442003-06-06 Jeff Johnston <jjohnstn@redhat.com>
2645
2646 * libc/argz/argz_add.c: Change to use _DEFUN macro for function
2647 definition.
2648 * libc/argz/argz_add_sep.c: Ditto.
2649 * libc/argz/argz_append.c libc/argz/argz_count.c: Ditto.
2650 * libc/argz/argz_create.c libc/argz/argz_create_sep.c: Ditto.
2651 * libc/argz/argz_delete.c libc/argz/argz_extract.c: Ditto.
2652 * libc/argz/argz_insert.c libc/argz/argz_next.c: Ditto.
2653 * libc/argz/argz_replace.c libc/argz/argz_stringify.c: Ditto.
2654 * libc/argz/envz_add.c libc/argz/envz_entry.c: Ditto.
2655 * libc/argz/envz_get.c libc/argz/envz_merge.c: Ditto.
2656 * libc/argz/envz_remove.c libc/argz/envz_strip.c: Ditto.
2657 * libc/locale/nl_langinfo.c libc/misc/ffs.c: Ditto.
2658 * libc/posix/closedir.c libc/posix/creat.c: Ditto.
2659 * libc/posix/execl.c libc/posix/execle.c: Ditto.
2660 * libc/posix/execlp.c libc/posix/execve.c: Ditto.
2661 * libc/posix/isatty.c libc/posix/opendir.c: Ditto.
2662 * libc/posix/popen.c libc/posix/readdir.c: Ditto.
2663 * libc/posix/readdir_r.c libc/posix/rewinddir.c: Ditto.
2664 * libc/posix/scandir.c libc/posix/seekdir.c: Ditto.
2665 * libc/posix/telldir.c libc/search/hcreate.c: Ditto.
2666 * libc/search/tdelete.c libc/search/tdestroy.c: Ditto.
2667 * libc/search/tfind.c libc/search/tsearch.c: Ditto.
2668 * libc/search/twalk.c libc/signal/signal.c: Ditto.
2669
75d7d177
NC
26702003-06-05 Nick Clifton <nickc@redhat.com>
2671
2672 * libc/include/sys/reent.h (struct _on_exit_args): New
2673 structure containing fields used by the on_exit() function.
2674 (struct _atexit): Include struct _on_exit_args. For
2675 _REENT_SMALL do his via a pointer that is initialised when
2676 needed.
2677 * libc/reent/reent.c (_reclaim_reent): Free the _on_exit_args
2678 structure, if one has been allocated.
2679 * libc/stdlib/atexit.c (atexit): Update indirection to
2680 _fntypes field.
2681 * libc/stdlib/on_exit.c (on_exit): Indirect via the
2682 _on_exit_args structure. For _REENT_SMALL, allocate a
2683 structure if one does not exist.
2684 * libc/stdlib/exit.c (exit): Indirect via the _on_exit_args
2685 structure.
2686
2129f283
JJ
26872003-06-04 Jeff Johnston <jjohnstn@redhat.com>
2688
2689 * libc/sys/linux/net/Makefile.am: Remove extraneous markers.
2690 * libc/sys/linux/net/Makefile.in: Regenerated.
2691
bf3bcac2
JJ
26922003-06-03 Jeff Johnston <jjohnstn@redhat.com>
2693
2694 * libc/reent/execr.c: Use _DEFUN macro for function declaration.
2695 * libc/reent/fcntlr.c: Ditto.
2696 * libc/reent/fstat64r.c: Ditto.
2697 * libc/reent/linkr.c: Ditto.
2698 * libc/reent/lseek64r.c: Ditto.
2699 * libc/reent/lseekr.c: Ditto.
2700 * libc/reent/openr.c: Ditto.
2701 * libc/reent/readr.c: Ditto.
2702 * libc/reent/reent.c: Ditto.
2703 * libc/reent/sbrkr.c: Ditto.
2704 * libc/reent/signalr.c: Ditto.
2705 * libc/reent/signgam.c: Ditto.
2706 * libc/reent/statr.c: Ditto.
2707 * libc/reent/timer.c: Ditto.
2708 * libc/reent/unlinkr.c: Ditto.
2709 * libc/reent/writer.c: Ditto.
2710 * libc/syscalls/sysclose.c: Ditto.
2711 * libc/syscalls/sysexecve.c: Ditto.
2712 * libc/syscalls/sysfcntl.c: Ditto.
2713 * libc/syscalls/sysfork.c: Ditto.
2714 * libc/syscalls/sysfstat.c: Ditto.
2715 * libc/syscalls/sysgetpid.c: Ditto.
2716 * libc/syscalls/sysgettod.c: Ditto.
2717 * libc/syscalls/syskill.c: Ditto.
2718 * libc/syscalls/syslink.c: Ditto.
2719 * libc/syscalls/syslseek.c: Ditto.
2720 * libc/syscalls/sysopen.c: Ditto.
2721 * libc/syscalls/sysread.c: Ditto.
2722 * libc/syscalls/syssbrk.c: Ditto.
2723 * libc/syscalls/sysstat.c: Ditto.
2724 * libc/syscalls/systimes.c: Ditto.
2725 * libc/syscalls/sysunlink.c: Ditto.
2726 * libc/syscalls/syswait.c: Ditto.
2727 * libc/syscalls/syswrite.c: Ditto.
2728
702ceb23
JJ
27292003-06-03 Till Straumann <strauman@SLAC.Stanford.EDU>
2730
2731 * libc/time/tzset_r.c: Change local variables that are
2732 set via sscanf using the %h format specifier to be unsigned short
2733 instead of int.
2734
102861c9
JJ
27352003-05-30 Kelley Cook <kelleycook@wideopenwest.com>
2736
2737 * configure.host: Allow i[34567]86 variant.
2738 * configure.in: Likewise.
2739 * README: Likewise to the docs.
2740 * configure: Regenerated.
2741 * Makefile.in: Ditto.
2742
b359e82c
JJ
27432003-05-28 Jeff Johnston <jjohnstn@redhat.com>
2744 Tom Fitzsimmons <fitzsim@redhat.com>
2745
2746 * configure.in: Add iconvdata support for x86 linux.
2747 * configure: Regenerated.
2748 * libc/sys/linux/Makefile.am: Add EL/IX level 3 network, dynamic
2749 library, iconv, and linuxthreads support.
2750 * libc/sys/linux/configure.in: Ditto.
2751 * libc/sys/linux/Makefile.in: Regenerated.
2752 * libc/sys/linux/configure: Ditto.
2753 * iconvdata/EUC-JP.irreversible: New file.
2754 * iconvdata/Makefile.am: Ditto.
2755 * iconvdata/Makefile.in: Ditto.
2756 * iconvdata/SJIS.irreversible: Ditto.
2757 * iconvdata/aclocal.m4: Ditto.
2758 * iconvdata/configure: Ditto.
2759 * iconvdata/configure.in: Ditto.
2760 * iconvdata/dummy.c: Ditto.
2761 * iconvdata/euc-jp.c: Ditto.
2762 * iconvdata/gconv-modules: Ditto.
2763 * iconvdata/jis0201.c: Ditto.
2764 * iconvdata/jis0201.h: Ditto.
2765 * iconvdata/jis0208.c: Ditto.
2766 * iconvdata/jis0208.h: Ditto.
2767 * iconvdata/jis0212.c: Ditto.
2768 * iconvdata/jis0212.h: Ditto.
2769 * iconvdata/sjis.c: Ditto.
2770 * libc/include/errno.h: Protect definition of error_t.
2771 * libc/sys/linux/gethostid.c: New file.
2772 * libc/sys/linux/sethostid.c: Ditto.
2773 * libc/sys/linux/dl/Makefile.am: Ditto.
2774 * libc/sys/linux/dl/Makefile.in: Ditto.
2775 * libc/sys/linux/dl/abi-tag.h: Ditto.
2776 * libc/sys/linux/dl/atomicity.h: Ditto.
2777 * libc/sys/linux/dl/dl-addr.c: Ditto.
2778 * libc/sys/linux/dl/dl-cache.c: Ditto.
2779 * libc/sys/linux/dl/dl-cache.h: Ditto.
2780 * libc/sys/linux/dl/dl-close.c: Ditto.
2781 * libc/sys/linux/dl/dl-debug.c: Ditto.
2782 * libc/sys/linux/dl/dl-deps.c: Ditto.
2783 * libc/sys/linux/dl/dl-dst.h: Ditto.
2784 * libc/sys/linux/dl/dl-error.c: Ditto.
2785 * libc/sys/linux/dl/dl-fini.c: Ditto.
2786 * libc/sys/linux/dl/dl-init.c: Ditto.
2787 * libc/sys/linux/dl/dl-iteratephdr.c: Ditto.
2788 * libc/sys/linux/dl/dl-libc.c: Ditto.
2789 * libc/sys/linux/dl/dl-librecon.h: Ditto.
2790 * libc/sys/linux/dl/dl-load.c: Ditto.
2791 * libc/sys/linux/dl/dl-lookup.c: Ditto.
2792 * libc/sys/linux/dl/dl-lookupcfg.h: Ditto.
2793 * libc/sys/linux/dl/dl-minimal.c: Ditto.
2794 * libc/sys/linux/dl/dl-misc.c: Ditto.
2795 * libc/sys/linux/dl/dl-object.c: Ditto.
2796 * libc/sys/linux/dl/dl-open.c: Ditto.
2797 * libc/sys/linux/dl/dl-osinfo.h: Ditto.
2798 * libc/sys/linux/dl/dl-profile.c: Ditto.
2799 * libc/sys/linux/dl/dl-profstub.c: Ditto.
2800 * libc/sys/linux/dl/dl-reloc.c: Ditto.
2801 * libc/sys/linux/dl/dl-runtime.c: Ditto.
2802 * libc/sys/linux/dl/dl-support.c: Ditto.
2803 * libc/sys/linux/dl/dl-sym.c: Ditto.
2804 * libc/sys/linux/dl/dl-version.c: Ditto.
2805 * libc/sys/linux/dl/dlfcn.h: Ditto.
2806 * libc/sys/linux/dl/do-lookup.h: Ditto.
2807 * libc/sys/linux/dl/do-rel.h: Ditto.
2808 * libc/sys/linux/dl/dynamic-link.h: Ditto.
2809 * libc/sys/linux/dl/kernel-features.h: Ditto.
2810 * libc/sys/linux/dl/ldsodefs.h: Ditto.
2811 * libc/sys/linux/dl/libintl.h: Ditto.
2812 * libc/sys/linux/dl/trusted-dirs.h: Ditto.
2813 * libc/sys/linux/dl/unsecvars.h: Ditto.
2814 * libc/sys/linux/iconv/Makefile.am: Ditto.
2815 * libc/sys/linux/iconv/Makefile.in: Ditto.
2816 * libc/sys/linux/iconv/categories.def: Ditto.
2817 * libc/sys/linux/iconv/dummy-repertoire.c: Ditto.
2818 * libc/sys/linux/iconv/gconv.c: Ditto.
2819 * libc/sys/linux/iconv/gconv_builtin.c: Ditto.
2820 * libc/sys/linux/iconv/gconv_builtin.h: Ditto.
2821 * libc/sys/linux/iconv/gconv_cache.c: Ditto.
2822 * libc/sys/linux/iconv/gconv_charset.h: Ditto.
2823 * libc/sys/linux/iconv/gconv_close.c: Ditto.
2824 * libc/sys/linux/iconv/gconv_conf.c: Ditto.
2825 * libc/sys/linux/iconv/gconv_db.c: Ditto.
2826 * libc/sys/linux/iconv/gconv_dl.c: Ditto.
2827 * libc/sys/linux/iconv/gconv_int.h: Ditto.
2828 * libc/sys/linux/iconv/gconv_open.c: Ditto.
2829 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
2830 * libc/sys/linux/iconv/gconv_trans.c: Ditto.
2831 * libc/sys/linux/iconv/hash-string.h: Ditto.
2832 * libc/sys/linux/iconv/iconv.c: Ditto.
2833 * libc/sys/linux/iconv/iconv.h: Ditto.
2834 * libc/sys/linux/iconv/iconv_charmap.c: Ditto.
2835 * libc/sys/linux/iconv/iconv_close.c: Ditto.
2836 * libc/sys/linux/iconv/iconv_open.c: Ditto.
2837 * libc/sys/linux/iconv/iconvconfig.c: Ditto.
2838 * libc/sys/linux/iconv/iconvconfig.h: Ditto.
2839 * libc/sys/linux/iconv/loadinfo.h: Ditto.
2840 * libc/sys/linux/iconv/localeinfo.h: Ditto.
2841 * libc/sys/linux/iconv/loop.c: Ditto.
2842 * libc/sys/linux/iconv/skeleton.c: Ditto.
2843 * libc/sys/linux/iconv/strtab.c: Ditto.
2844 * libc/sys/linux/include/dl-hash.h: Ditto.
2845 * libc/sys/linux/include/dlfcn.h: Ditto.
2846 * libc/sys/linux/include/fnmatch.h: Ditto.
2847 * libc/sys/linux/include/gconv.h: Ditto.
2848 * libc/sys/linux/include/glob.h: Ditto.
2849 * libc/sys/linux/include/hesiod.h: Ditto.
2850 * libc/sys/linux/include/ifaddrs.h: Ditto.
2851 * libc/sys/linux/include/libc_private.h: Ditto.
2852 * libc/sys/linux/include/link.h: Ditto.
2853 * libc/sys/linux/include/namespace.h: Ditto.
2854 * libc/sys/linux/include/netconfig.h: Ditto.
2855 * libc/sys/linux/include/netdb.h: Ditto.
2856 * libc/sys/linux/include/nsswitch.h: Ditto.
2857 * libc/sys/linux/include/regex.h: Ditto.
2858 * libc/sys/linux/include/resolv.h: Ditto.
2859 * libc/sys/linux/include/rune.h: Ditto.
2860 * libc/sys/linux/include/runetype.h: Ditto.
2861 * libc/sys/linux/include/semaphore.h: Ditto.
2862 * libc/sys/linux/include/setlocale.h: Ditto.
2863 * libc/sys/linux/include/un-namespace.h: Ditto.
2864 * libc/sys/linux/include/wordexp.h: Ditto.
2865 * libc/sys/linux/include/arpa/ftp.h: Ditto.
2866 * libc/sys/linux/include/arpa/inet.h: Ditto.
2867 * libc/sys/linux/include/arpa/nameser.h: Ditto.
2868 * libc/sys/linux/include/arpa/nameser_compat.h: Ditto.
2869 * libc/sys/linux/include/arpa/telnet.h: Ditto.
2870 * libc/sys/linux/include/arpa/tftp.h: Ditto.
2871 * libc/sys/linux/include/net/bpf.h: Ditto.
2872 * libc/sys/linux/include/net/bpf_compat.h: Ditto.
2873 * libc/sys/linux/include/net/bpfdesc.h: Ditto.
2874 * libc/sys/linux/include/net/bridge.h: Ditto.
2875 * libc/sys/linux/include/net/ethernet.h: Ditto.
2876 * libc/sys/linux/include/net/fddi.h: Ditto.
2877 * libc/sys/linux/include/net/if.h: Ditto.
2878 * libc/sys/linux/include/net/if_arc.h: Ditto.
2879 * libc/sys/linux/include/net/if_arp.h: Ditto.
2880 * libc/sys/linux/include/net/if_atm.h: Ditto.
2881 * libc/sys/linux/include/net/if_dl.h: Ditto.
2882 * libc/sys/linux/include/net/if_gif.h: Ditto.
2883 * libc/sys/linux/include/net/if_ieee80211.h: Ditto.
2884 * libc/sys/linux/include/net/if_llc.h: Ditto.
2885 * libc/sys/linux/include/net/if_media.h: Ditto.
2886 * libc/sys/linux/include/net/if_mib.h: Ditto.
2887 * libc/sys/linux/include/net/if_ppp.h: Ditto.
2888 * libc/sys/linux/include/net/if_pppvar.h: Ditto.
2889 * libc/sys/linux/include/net/if_slvar.h: Ditto.
2890 * libc/sys/linux/include/net/if_sppp.h: Ditto.
2891 * libc/sys/linux/include/net/if_stf.h: Ditto.
2892 * libc/sys/linux/include/net/if_tap.h: Ditto.
2893 * libc/sys/linux/include/net/if_tapvar.h: Ditto.
2894 * libc/sys/linux/include/net/if_tun.h: Ditto.
2895 * libc/sys/linux/include/net/if_tunvar.h: Ditto.
2896 * libc/sys/linux/include/net/if_types.h: Ditto.
2897 * libc/sys/linux/include/net/if_var.h: Ditto.
2898 * libc/sys/linux/include/net/if_vlan_var.h: Ditto.
2899 * libc/sys/linux/include/net/intrq.h: Ditto.
2900 * libc/sys/linux/include/net/iso88025.h: Ditto.
2901 * libc/sys/linux/include/net/net_osdep.h: Ditto.
2902 * libc/sys/linux/include/net/netisr.h: Ditto.
2903 * libc/sys/linux/include/net/pfil.h: Ditto.
2904 * libc/sys/linux/include/net/pfkeyv2.h: Ditto.
2905 * libc/sys/linux/include/net/ppp_comp.h: Ditto.
2906 * libc/sys/linux/include/net/ppp_defs.h: Ditto.
2907 * libc/sys/linux/include/net/radix.h: Ditto.
2908 * libc/sys/linux/include/net/raw_cb.h: Ditto.
2909 * libc/sys/linux/include/net/route.h: Ditto.
2910 * libc/sys/linux/include/net/slcompress.h: Ditto.
2911 * libc/sys/linux/include/net/slip.h: Ditto.
2912 * libc/sys/linux/include/net/zlib.h: Ditto.
2913 * libc/sys/linux/include/netinet/icmp6.h: Ditto.
2914 * libc/sys/linux/include/netinet/icmp_var.h: Ditto.
2915 * libc/sys/linux/include/netinet/if_atm.h: Ditto.
2916 * libc/sys/linux/include/netinet/if_ether.h: Ditto.
2917 * libc/sys/linux/include/netinet/igmp.h: Ditto.
2918 * libc/sys/linux/include/netinet/igmp_var.h: Ditto.
2919 * libc/sys/linux/include/netinet/in.h: Ditto.
2920 * libc/sys/linux/include/netinet/in_gif.h: Ditto.
2921 * libc/sys/linux/include/netinet/in_pcb.h: Ditto.
2922 * libc/sys/linux/include/netinet/in_systm.h: Ditto.
2923 * libc/sys/linux/include/netinet/in_var.h: Ditto.
2924 * libc/sys/linux/include/netinet/ip.h: Ditto.
2925 * libc/sys/linux/include/netinet/ip6.h: Ditto.
2926 * libc/sys/linux/include/netinet/ip_dummynet.h: Ditto.
2927 * libc/sys/linux/include/netinet/ip_ecn.h: Ditto.
2928 * libc/sys/linux/include/netinet/ip_encap.h: Ditto.
2929 * libc/sys/linux/include/netinet/ip_flow.h: Ditto.
2930 * libc/sys/linux/include/netinet/ip_fw.h: Ditto.
2931 * libc/sys/linux/include/netinet/ip_icmp.h: Ditto.
2932 * libc/sys/linux/include/netinet/ip_mroute.h: Ditto.
2933 * libc/sys/linux/include/netinet/ip_var.h: Ditto.
2934 * libc/sys/linux/include/netinet/ipprotosw.h: Ditto.
2935 * libc/sys/linux/include/netinet/tcp.h: Ditto.
2936 * libc/sys/linux/include/netinet/tcp_debug.h: Ditto.
2937 * libc/sys/linux/include/netinet/tcp_fsm.h: Ditto.
2938 * libc/sys/linux/include/netinet/tcp_seq.h: Ditto.
2939 * libc/sys/linux/include/netinet/tcp_timer.h: Ditto.
2940 * libc/sys/linux/include/netinet/tcp_var.h: Ditto.
2941 * libc/sys/linux/include/netinet/tcpip.h: Ditto.
2942 * libc/sys/linux/include/netinet/udp.h: Ditto.
2943 * libc/sys/linux/include/netinet/udp_var.h: Ditto.
2944 * libc/sys/linux/include/netinet6/ah.h: Ditto.
2945 * libc/sys/linux/include/netinet6/ah6.h: Ditto.
2946 * libc/sys/linux/include/netinet6/esp.h: Ditto.
2947 * libc/sys/linux/include/netinet6/esp6.h: Ditto.
2948 * libc/sys/linux/include/netinet6/esp_rijndael.h: Ditto.
2949 * libc/sys/linux/include/netinet6/icmp6.h: Ditto.
2950 * libc/sys/linux/include/netinet6/in6.h: Ditto.
2951 * libc/sys/linux/include/netinet6/in6_gif.h: Ditto.
2952 * libc/sys/linux/include/netinet6/in6_ifattach.h: Ditto.
2953 * libc/sys/linux/include/netinet6/in6_pcb.h: Ditto.
2954 * libc/sys/linux/include/netinet6/in6_prefix.h: Ditto.
2955 * libc/sys/linux/include/netinet6/in6_var.h: Ditto.
2956 * libc/sys/linux/include/netinet6/ip6.h: Ditto.
2957 * libc/sys/linux/include/netinet6/ip6_ecn.h: Ditto.
2958 * libc/sys/linux/include/netinet6/ip6_fw.h: Ditto.
2959 * libc/sys/linux/include/netinet6/ip6_mroute.h: Ditto.
2960 * libc/sys/linux/include/netinet6/ip6_var.h: Ditto.
2961 * libc/sys/linux/include/netinet6/ip6protosw.h: Ditto.
2962 * libc/sys/linux/include/netinet6/ipcomp.h: Ditto.
2963 * libc/sys/linux/include/netinet6/ipcomp6.h: Ditto.
2964 * libc/sys/linux/include/netinet6/ipsec.h: Ditto.
2965 * libc/sys/linux/include/netinet6/ipsec6.h: Ditto.
2966 * libc/sys/linux/include/netinet6/mld6_var.h: Ditto.
2967 * libc/sys/linux/include/netinet6/nd6.h: Ditto.
2968 * libc/sys/linux/include/netinet6/pim6.h: Ditto.
2969 * libc/sys/linux/include/netinet6/pim6_var.h: Ditto.
2970 * libc/sys/linux/include/netinet6/raw_ip6.h: Ditto.
2971 * libc/sys/linux/include/netinet6/scope6_var.h: Ditto.
2972 * libc/sys/linux/include/netinet6/tcp6_var.h: Ditto.
2973 * libc/sys/linux/include/netinet6/udp6_var.h: Ditto.
2974 * libc/sys/linux/include/netns/idp.h: Ditto.
2975 * libc/sys/linux/include/netns/idp_var.h: Ditto.
2976 * libc/sys/linux/include/netns/ns.h: Ditto.
2977 * libc/sys/linux/include/netns/ns_error.h: Ditto.
2978 * libc/sys/linux/include/netns/ns_if.h: Ditto.
2979 * libc/sys/linux/include/netns/ns_pcb.h: Ditto.
2980 * libc/sys/linux/include/netns/sp.h: Ditto.
2981 * libc/sys/linux/include/netns/spidp.h: Ditto.
2982 * libc/sys/linux/include/netns/spp_debug.h: Ditto.
2983 * libc/sys/linux/include/netns/spp_timer.h: Ditto.
2984 * libc/sys/linux/include/netns/spp_var.h: Ditto.
2985 * libc/sys/linux/include/rpc/Makefile: Ditto.
2986 * libc/sys/linux/include/rpc/auth.h: Ditto.
2987 * libc/sys/linux/include/rpc/auth_des.h: Ditto.
2988 * libc/sys/linux/include/rpc/auth_kerb.h: Ditto.
2989 * libc/sys/linux/include/rpc/auth_unix.h: Ditto.
2990 * libc/sys/linux/include/rpc/clnt.h: Ditto.
2991 * libc/sys/linux/include/rpc/clnt_soc.h: Ditto.
2992 * libc/sys/linux/include/rpc/clnt_stat.h: Ditto.
2993 * libc/sys/linux/include/rpc/des.h: Ditto.
2994 * libc/sys/linux/include/rpc/des_crypt.h: Ditto.
2995 * libc/sys/linux/include/rpc/nettype.h: Ditto.
2996 * libc/sys/linux/include/rpc/pmap_clnt.h: Ditto.
2997 * libc/sys/linux/include/rpc/pmap_prot.h: Ditto.
2998 * libc/sys/linux/include/rpc/pmap_rmt.h: Ditto.
2999 * libc/sys/linux/include/rpc/raw.h: Ditto.
3000 * libc/sys/linux/include/rpc/rpc.h: Ditto.
3001 * libc/sys/linux/include/rpc/rpc_com.h: Ditto.
3002 * libc/sys/linux/include/rpc/rpc_msg.h: Ditto.
3003 * libc/sys/linux/include/rpc/rpcb_clnt.h: Ditto.
3004 * libc/sys/linux/include/rpc/rpcb_prot.h: Ditto.
3005 * libc/sys/linux/include/rpc/rpcb_prot.x: Ditto.
3006 * libc/sys/linux/include/rpc/rpcent.h: Ditto.
3007 * libc/sys/linux/include/rpc/svc.h: Ditto.
3008 * libc/sys/linux/include/rpc/svc_auth.h: Ditto.
3009 * libc/sys/linux/include/rpc/svc_dg.h: Ditto.
3010 * libc/sys/linux/include/rpc/svc_soc.h: Ditto.
3011 * libc/sys/linux/include/rpc/types.h: Ditto.
3012 * libc/sys/linux/include/rpc/xdr.h: Ditto.
3013 * libc/sys/linux/intl/Makefile.am: Ditto.
3014 * libc/sys/linux/intl/Makefile.in: Ditto.
3015 * libc/sys/linux/intl/bindtextdom.c: Ditto.
3016 * libc/sys/linux/intl/catgets.c: Ditto.
3017 * libc/sys/linux/intl/catgetsinfo.h: Ditto.
3018 * libc/sys/linux/intl/config.h: Ditto.
3019 * libc/sys/linux/intl/dcgettext.c: Ditto.
3020 * libc/sys/linux/intl/dcigettext.c: Ditto.
3021 * libc/sys/linux/intl/dcngettext.c: Ditto.
3022 * libc/sys/linux/intl/dgettext.c: Ditto.
3023 * libc/sys/linux/intl/dngettext.c: Ditto.
3024 * libc/sys/linux/intl/explodename.c: Ditto.
3025 * libc/sys/linux/intl/finddomain.c: Ditto.
3026 * libc/sys/linux/intl/gettext.c: Ditto.
3027 * libc/sys/linux/intl/gettext.h: Ditto.
3028 * libc/sys/linux/intl/gettextP.h: Ditto.
3029 * libc/sys/linux/intl/hash-string.h: Ditto.
3030 * libc/sys/linux/intl/l10nflist.c: Ditto.
3031 * libc/sys/linux/intl/loadinfo.h: Ditto.
3032 * libc/sys/linux/intl/loadmsgcat.c: Ditto.
3033 * libc/sys/linux/intl/locale.alias: Ditto.
3034 * libc/sys/linux/intl/localealias.c: Ditto.
3035 * libc/sys/linux/intl/ngettext.c: Ditto.
3036 * libc/sys/linux/intl/open_catalog.c: Ditto.
3037 * libc/sys/linux/intl/plural.c: Ditto.
3038 * libc/sys/linux/intl/plural.y: Ditto.
3039 * libc/sys/linux/intl/stpcpy.c: Ditto.
3040 * libc/sys/linux/intl/textdomain.c: Ditto.
3041 * libc/sys/linux/linuxthreads/LICENSE: Ditto.
3042 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
3043 * libc/sys/linux/linuxthreads/Makefile.in: Ditto.
3044 * libc/sys/linux/linuxthreads/aclocal.m4: Ditto.
3045 * libc/sys/linux/linuxthreads/attr.c: Ditto.
3046 * libc/sys/linux/linuxthreads/barrier.c: Ditto.
3047 * libc/sys/linux/linuxthreads/bp-sym.h: Ditto.
3048 * libc/sys/linux/linuxthreads/cancel.c: Ditto.
3049 * libc/sys/linux/linuxthreads/condvar.c: Ditto.
3050 * libc/sys/linux/linuxthreads/config.h: Ditto.
3051 * libc/sys/linux/linuxthreads/configure: Ditto.
3052 * libc/sys/linux/linuxthreads/configure.in: Ditto.
3053 * libc/sys/linux/linuxthreads/defs.awk: Ditto.
3054 * libc/sys/linux/linuxthreads/ecmutex.c: Ditto.
3055 * libc/sys/linux/linuxthreads/events.c: Ditto.
3056 * libc/sys/linux/linuxthreads/getcpuclockid.c: Ditto.
3057 * libc/sys/linux/linuxthreads/getreent.c: Ditto.
3058 * libc/sys/linux/linuxthreads/internals.h: Ditto.
3059 * libc/sys/linux/linuxthreads/join.c: Ditto.
3060 * libc/sys/linux/linuxthreads/joinrace.c: Ditto.
3061 * libc/sys/linux/linuxthreads/kernel-features.h: Ditto.
3062 * libc/sys/linux/linuxthreads/libc-internal.h: Ditto.
3063 * libc/sys/linux/linuxthreads/libc-symbols.h: Ditto.
3064 * libc/sys/linux/linuxthreads/linuxthreads.texi: Ditto.
3065 * libc/sys/linux/linuxthreads/lockfile.c: Ditto.
3066 * libc/sys/linux/linuxthreads/manager.c: Ditto.
3067 * libc/sys/linux/linuxthreads/mq_notify.c: Ditto.
3068 * libc/sys/linux/linuxthreads/mutex.c: Ditto.
3069 * libc/sys/linux/linuxthreads/no-tsd.c: Ditto.
3070 * libc/sys/linux/linuxthreads/oldsemaphore.c: Ditto.
3071 * libc/sys/linux/linuxthreads/posix-timer.h: Ditto.
3072 * libc/sys/linux/linuxthreads/prio.c: Ditto.
3073 * libc/sys/linux/linuxthreads/proc_service.h: Ditto.
3074 * libc/sys/linux/linuxthreads/pt-machine.c: Ditto.
3075 * libc/sys/linux/linuxthreads/ptclock_gettime.c: Ditto.
3076 * libc/sys/linux/linuxthreads/ptclock_settime.c: Ditto.
3077 * libc/sys/linux/linuxthreads/ptfork.c: Ditto.
3078 * libc/sys/linux/linuxthreads/pthread.c: Ditto.
3079 * libc/sys/linux/linuxthreads/ptlongjmp.c: Ditto.
3080 * libc/sys/linux/linuxthreads/queue.h: Ditto.
3081 * libc/sys/linux/linuxthreads/reent.c: Ditto.
3082 * libc/sys/linux/linuxthreads/reqsyscalls.c: Ditto.
3083 * libc/sys/linux/linuxthreads/restart.h: Ditto.
3084 * libc/sys/linux/linuxthreads/rwlock.c: Ditto.
3085 * libc/sys/linux/linuxthreads/semaphore.c: Ditto.
3086 * libc/sys/linux/linuxthreads/semaphore.h: Ditto.
3087 * libc/sys/linux/linuxthreads/shlib-compat.h: Ditto.
3088 * libc/sys/linux/linuxthreads/signals.c: Ditto.
3089 * libc/sys/linux/linuxthreads/specific.c: Ditto.
3090 * libc/sys/linux/linuxthreads/spinlock.c: Ditto.
3091 * libc/sys/linux/linuxthreads/spinlock.h: Ditto.
3092 * libc/sys/linux/linuxthreads/sysctl.c: Ditto.
3093 * libc/sys/linux/linuxthreads/td_init.c: Ditto.
3094 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
3095 * libc/sys/linux/linuxthreads/td_symbol_list.c: Ditto.
3096 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
3097 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
3098 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
3099 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
3100 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
3101 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
3102 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
3103 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
3104 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
3105 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
3106 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
3107 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
3108 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
3109 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
3110 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
3111 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
3112 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
3113 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
3114 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
3115 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
3116 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
3117 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
3118 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
3119 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
3120 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
3121 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
3122 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
3123 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
3124 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
3125 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
3126 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
3127 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
3128 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
3129 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
3130 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
3131 * libc/sys/linux/linuxthreads/testrtsig.h: Ditto.
3132 * libc/sys/linux/linuxthreads/thread_db.h: Ditto.
3133 * libc/sys/linux/linuxthreads/thread_dbP.h: Ditto.
3134 * libc/sys/linux/linuxthreads/timer_create.c: Ditto.
3135 * libc/sys/linux/linuxthreads/timer_delete.c: Ditto.
3136 * libc/sys/linux/linuxthreads/timer_getoverr.c: Ditto.
3137 * libc/sys/linux/linuxthreads/timer_gettime.c: Ditto.
3138 * libc/sys/linux/linuxthreads/timer_routines.c: Ditto.
3139 * libc/sys/linux/linuxthreads/timer_settime.c: Ditto.
3140 * libc/sys/linux/linuxthreads/tst-cancel.c: Ditto.
3141 * libc/sys/linux/linuxthreads/tst-context.c: Ditto.
3142 * libc/sys/linux/linuxthreads/tststack.c: Ditto.
3143 * libc/sys/linux/linuxthreads/unload.c: Ditto.
3144 * libc/sys/linux/linuxthreads/weaks.c: Ditto.
3145 * libc/sys/linux/linuxthreads/wrapsyscall.c: Ditto.
3146 * libc/sys/linux/linuxthreads/bits/initspin.h: Ditto.
3147 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Ditto.
3148 * libc/sys/linux/linuxthreads/bits/libc-tsd.h: Ditto.
3149 * libc/sys/linux/linuxthreads/bits/local_lim.h: Ditto.
3150 * libc/sys/linux/linuxthreads/bits/posix_opt.h: Ditto.
3151 * libc/sys/linux/linuxthreads/bits/pthreadtypes.h: Ditto.
3152 * libc/sys/linux/linuxthreads/bits/sigthread.h: Ditto.
3153 * libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
3154 * libc/sys/linux/linuxthreads/machine/Makefile.in: Ditto.
3155 * libc/sys/linux/linuxthreads/machine/aclocal.m4: Ditto.
3156 * libc/sys/linux/linuxthreads/machine/configure: Ditto.
3157 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
3158 * libc/sys/linux/linuxthreads/machine/generic/generic-sysd: Ditto.ep.h
3159 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
3160 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Ditto.
3161 * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Ditto.
3162 * libc/sys/linux/linuxthreads/machine/i386/bp-asm.h: Ditto.
3163 * libc/sys/linux/linuxthreads/machine/i386/clone.S: Ditto.
3164 * libc/sys/linux/linuxthreads/machine/i386/configure: Ditto.
3165 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
3166 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.S: Ditto.
3167 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.h: Ditto.
3168 * libc/sys/linux/linuxthreads/machine/i386/pspinlock.c: Ditto.
3169 * libc/sys/linux/linuxthreads/machine/i386/pt-machine.h: Ditto.
3170 * libc/sys/linux/linuxthreads/machine/i386/sigcontextinfo.h: Ditto.
3171 * libc/sys/linux/linuxthreads/machine/i386/stackinfo.h: Ditto.
3172 * libc/sys/linux/linuxthreads/machine/i386/sysdep.S: Ditto.
3173 * libc/sys/linux/linuxthreads/machine/i386/sysdep.h: Ditto.
3174 * libc/sys/linux/linuxthreads/machine/i386/useldt.h: Ditto.
3175 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
3176 * libc/sys/linux/net/Makefile.am: Ditto.
3177 * libc/sys/linux/net/Makefile.in: Ditto.
3178 * libc/sys/linux/net/addr2ascii.3: Ditto.
3179 * libc/sys/linux/net/addr2ascii.c: Ditto.
3180 * libc/sys/linux/net/ascii2addr.c: Ditto.
3181 * libc/sys/linux/net/base64.c: Ditto.
3182 * libc/sys/linux/net/bindresvport.c: Ditto.
3183 * libc/sys/linux/net/byteorder.3: Ditto.
3184 * libc/sys/linux/net/ether_addr.c: Ditto.
3185 * libc/sys/linux/net/ethers.3: Ditto.
3186 * libc/sys/linux/net/getaddrinfo.3: Ditto.
3187 * libc/sys/linux/net/getaddrinfo.c: Ditto.
3188 * libc/sys/linux/net/gethostbydns.c: Ditto.
3189 * libc/sys/linux/net/gethostbyht.c: Ditto.
3190 * libc/sys/linux/net/gethostbyname.3: Ditto.
3191 * libc/sys/linux/net/gethostbynis.c: Ditto.
3192 * libc/sys/linux/net/gethostnamadr.c: Ditto.
3193 * libc/sys/linux/net/getifaddrs.3: Ditto.
3194 * libc/sys/linux/net/getifaddrs.c: Ditto.
3195 * libc/sys/linux/net/getipnodebyname.3: Ditto.
3196 * libc/sys/linux/net/getnameinfo.3: Ditto.
3197 * libc/sys/linux/net/getnameinfo.c: Ditto.
3198 * libc/sys/linux/net/getnetbydns.c: Ditto.
3199 * libc/sys/linux/net/getnetbyht.c: Ditto.
3200 * libc/sys/linux/net/getnetbynis.c: Ditto.
3201 * libc/sys/linux/net/getnetent.3: Ditto.
3202 * libc/sys/linux/net/getnetnamadr.c: Ditto.
3203 * libc/sys/linux/net/getproto.c: Ditto.
3204 * libc/sys/linux/net/getprotoent.3: Ditto.
3205 * libc/sys/linux/net/getprotoent.c: Ditto.
3206 * libc/sys/linux/net/getprotoname.c: Ditto.
3207 * libc/sys/linux/net/getservbyname.c: Ditto.
3208 * libc/sys/linux/net/getservbyport.c: Ditto.
3209 * libc/sys/linux/net/getservent.3: Ditto.
3210 * libc/sys/linux/net/getservent.c: Ditto.
3211 * libc/sys/linux/net/herror.c: Ditto.
3212 * libc/sys/linux/net/hesiod.3: Ditto.
3213 * libc/sys/linux/net/hesiod.c: Ditto.
3214 * libc/sys/linux/net/if_indextoname.3: Ditto.
3215 * libc/sys/linux/net/ifname.c: Ditto.
3216 * libc/sys/linux/net/inet.3: Ditto.
3217 * libc/sys/linux/net/inet6_option_s: Ditto.pace.3
3218 * libc/sys/linux/net/inet6_rthdr_space.3: Ditto.
3219 * libc/sys/linux/net/inet_addr.c: Ditto.
3220 * libc/sys/linux/net/inet_lnaof.c: Ditto.
3221 * libc/sys/linux/net/inet_makeaddr.c: Ditto.
3222 * libc/sys/linux/net/inet_net.3: Ditto.
3223 * libc/sys/linux/net/inet_net_ntop.c: Ditto.
3224 * libc/sys/linux/net/inet_net_pton.c: Ditto.
3225 * libc/sys/linux/net/inet_neta.c: Ditto.
3226 * libc/sys/linux/net/inet_netof.c: Ditto.
3227 * libc/sys/linux/net/inet_network.c: Ditto.
3228 * libc/sys/linux/net/inet_ntoa.c: Ditto.
3229 * libc/sys/linux/net/inet_ntop.c: Ditto.
3230 * libc/sys/linux/net/inet_pton.c: Ditto.
3231 * libc/sys/linux/net/innetgr-stub.c: Ditto.
3232 * libc/sys/linux/net/ip6opt.c: Ditto.
3233 * libc/sys/linux/net/iso_addr.3: Ditto.
3234 * libc/sys/linux/net/iso_addr.c: Ditto.
3235 * libc/sys/linux/net/issetugid-stub.c: Ditto.
3236 * libc/sys/linux/net/linkaddr.3: Ditto.
3237 * libc/sys/linux/net/linkaddr.c: Ditto.
3238 * libc/sys/linux/net/map_v4v6.c: Ditto.
3239 * libc/sys/linux/net/name6.c: Ditto.
3240 * libc/sys/linux/net/namespace.h: Ditto.
3241 * libc/sys/linux/net/ns.3: Ditto.
3242 * libc/sys/linux/net/ns_addr.c: Ditto.
3243 * libc/sys/linux/net/ns_name.c: Ditto.
3244 * libc/sys/linux/net/ns_netint.c: Ditto.
3245 * libc/sys/linux/net/ns_ntoa.c: Ditto.
3246 * libc/sys/linux/net/ns_parse.c: Ditto.
3247 * libc/sys/linux/net/ns_print.c: Ditto.
3248 * libc/sys/linux/net/ns_ttl.c: Ditto.
3249 * libc/sys/linux/net/nsap_addr.c: Ditto.
3250 * libc/sys/linux/net/nsdispatch.3: Ditto.
3251 * libc/sys/linux/net/nsdispatch.c: Ditto.
3252 * libc/sys/linux/net/nslexer.c: Ditto.
3253 * libc/sys/linux/net/nslexer.l: Ditto.
3254 * libc/sys/linux/net/nsparser.c: Ditto.
3255 * libc/sys/linux/net/nsparser.h: Ditto.
3256 * libc/sys/linux/net/nsparser.y: Ditto.
3257 * libc/sys/linux/net/rcmd.3: Ditto.
3258 * libc/sys/linux/net/rcmd.c: Ditto.
3259 * libc/sys/linux/net/rcmdsh.3: Ditto.
3260 * libc/sys/linux/net/rcmdsh.c: Ditto.
3261 * libc/sys/linux/net/recv.c: Ditto.
3262 * libc/sys/linux/net/res_comp.c: Ditto.
3263 * libc/sys/linux/net/res_config.h: Ditto.
3264 * libc/sys/linux/net/res_data.c: Ditto.
3265 * libc/sys/linux/net/res_debug.c: Ditto.
3266 * libc/sys/linux/net/res_init.c: Ditto.
3267 * libc/sys/linux/net/res_mkquery.c: Ditto.
3268 * libc/sys/linux/net/res_mkupdate.c: Ditto.
3269 * libc/sys/linux/net/res_query.c: Ditto.
3270 * libc/sys/linux/net/res_send.c: Ditto.
3271 * libc/sys/linux/net/res_update.c: Ditto.
3272 * libc/sys/linux/net/resolver.3: Ditto.
3273 * libc/sys/linux/net/rthdr.c: Ditto.
3274 * libc/sys/linux/net/send.c: Ditto.
3275 * libc/sys/linux/net/un-namespace.h: Ditto.
3276 * libc/sys/linux/net/vars.c: Ditto.
3277 * libc/sys/linux/stdlib/COPYRIGHT: Ditto.
3278 * libc/sys/linux/stdlib/Makefile.am: Ditto.
3279 * libc/sys/linux/stdlib/Makefile.in: Ditto.
3280 * libc/sys/linux/stdlib/cclass.h: Ditto.
3281 * libc/sys/linux/stdlib/cname.h: Ditto.
3282 * libc/sys/linux/stdlib/collate.c: Ditto.
3283 * libc/sys/linux/stdlib/collate.h: Ditto.
3284 * libc/sys/linux/stdlib/collcmp.c: Ditto.
3285 * libc/sys/linux/stdlib/engine.c: Ditto.
3286 * libc/sys/linux/stdlib/fnmatch.3: Ditto.
3287 * libc/sys/linux/stdlib/fnmatch.c: Ditto.
3288 * libc/sys/linux/stdlib/glob.3: Ditto.
3289 * libc/sys/linux/stdlib/glob.c: Ditto.
3290 * libc/sys/linux/stdlib/reallocf.c: Ditto.
3291 * libc/sys/linux/stdlib/regcomp.c: Ditto.
3292 * libc/sys/linux/stdlib/regerror.c: Ditto.
3293 * libc/sys/linux/stdlib/regex.3: Ditto.
3294 * libc/sys/linux/stdlib/regex2.h: Ditto.
3295 * libc/sys/linux/stdlib/regexec.c: Ditto.
3296 * libc/sys/linux/stdlib/regfree.c: Ditto.
3297 * libc/sys/linux/stdlib/utils.h: Ditto.
3298 * libc/sys/linux/stdlib/wordexp.c: Ditto.
3299 * libc/sys/linux/stdlib/wordfree.c: Ditto.
3300 * libc/sys/linux/sys/dlfcn.h: Ditto.
3301 * libc/sys/linux/sys/elfclass.h: Ditto.
3302 * libc/sys/linux/sys/event.h: Ditto.
3303 * libc/sys/linux/sys/ioccom.h: Ditto.
3304 * libc/sys/linux/sys/libc-tsd.h: Ditto.
3305 * libc/sys/linux/sys/link.h: Ditto.
3306 * libc/sys/linux/sys/lock.h: Ditto.
3307 * libc/sys/linux/sys/param.h: Ditto.
3308 * libc/sys/linux/sys/socket.h: Ditto.
3309 * libc/sys/linux/sys/sockio.h: Ditto.
3310
82095e79
JJ
33112003-05-28 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
3312
3313 * newlib/libc/machine/h8300/memcpy.S: Use .h8300hn and .h8300sn for
3314 normal mode
3315 * newlib/libc/machine/h8300/memset.S: Likewise
3316 * newlib/lib/machine/h8300/reg_memcpy.S: Likewise
3317 * newlib/lib/machine/h8300/reg_memset.S: Likewise
3318 * newlib/lib/machine/h8300/setjmp.S: Likewise
3319 * newlib/lib/machine/h8300/strcmp.S: Likewise
3320 * newlib/lib/sys/h8300hms/crt0.S: Likewise
3321
8a4b4764
CV
33222003-05-13 Corinna Vinschen <corinna@vinschen.de>
3323
3324 * libc/ctype/ctype_.c: Remove checks for deprecated __CYGWIN32__.
3325 * libc/include/stdio.h: Ditto.
3326 * libc/include/sys/config.h: Ditto.
3327 * libc/stdio/mktemp.c: Ditto.
3328
837e070f
CV
33292003-05-13 Corinna Vinschen <corinna@vinschen.de>
3330
3331 * libc/locale/ldpart.c (__part_load_locale): Substitute
3332 __CYGWIN_USE_BIG_TYPES__ by __USE_INTERNAL_STAT64.
3333 * libc/search/hash.c (__hash_open): Ditto.
3334 (init_hash): Ditto.
3335 * libc/stdio/fseek.c (fseek): Ditto.
3336 * libc/stdio/makebuf.c (__smakebuf): Ditto.
3337 * libc/stdio/mktemp.c (_gettemp): Ditto.
3338
b47fcdf0
CV
33392003-05-12 Corinna Vinschen <corinna@vinschen.de>
3340
3341 * libc/include/stdio.h: Change one __CYGWIN__ to __CYGWIN32__.
3342
11e3a520
CV
33432003-05-12 Corinna Vinschen <corinna@vinschen.de>
3344
3345 * configure.host: Accomodate removing the libc/sys/cygwin dir.
3346 * libc/locale/ldpart.c (__part_load_locale): Use 64 bit stat call
3347 if __CYGWIN_USE_BIG_TYPES__ is set.
3348 * libc/search/hash.c (__hash_open): Ditto.
3349 (init_hash): Ditto.
3350 * libc/stdio/fseek.c (fseek): Ditto.
3351 * libc/stdio/makebuf.c (__smakebuf): Ditto.
3352 * libc/stdio/mktemp.c (_gettemp): Ditto.
3353 * libc/sys/cygwin/Makefile.am: Remove.
3354 * libc/sys/cygwin/Makefile.in: Remove.
3355 * libc/sys/cygwin/aclocal.m4: Remove.
3356 * libc/sys/cygwin/configure: Remove.
3357 * libc/sys/cygwin/configure.in: Remove.
3358 * libc/sys/cygwin/crt0.c: Move to winsup/cygwin directory.
3359 * libc/sys/cygwin/sys/dirent.h: Move to winsup/cygwin/include/sys
3360 directory.
3361 * libc/sys/cygwin/sys/param.h: Ditto.
3362 * libc/sys/cygwin/sys/utime.h: Ditto.
3363 * libc/sys/cygwin/sys/utmp.h: Ditto.
3364
d1b5e65b
CV
33652003-05-11 Corinna Vinschen <corinna@vinschen.de>
3366
3367 * libc/include/sys/types.h: Don't define key_t for Cygwin.
3368
ec48a953
CF
33692003-05-10 Christopher Faylor <cgf@redhat.com>
3370
3371 * libc/sys/cygwin/sys/dirent.h (struct dirent): Accommodate (slightly)
3372 64 bit inodes.
3373
a3cc5851
CV
33742003-05-09 Corinna Vinschen <corinna@vinschen.de>
3375
3376 * libc/include/sys/config.h: Remove all Cygwin specific configuration.
3377 Include cygwin/config.h instead.
3378
57ff95d3
JJ
33792003-04-16 Jeff Johnston <jjohnstn@redhat.com>
3380
3381 * newlib/libc/machine/powerpc (ato*fix*.c,strto*fix*.c): Shield
3382 all code with #ifdef __SPE__ test.
3383 * newlib/libc/machine/powerpc (simdldtoa.c, ufix64toa.c): Ditto.
3384
cfd2c7be
CF
33852003-04-15 Chris January <chris@atomice.net>
3386
3387 * newlib/libc/include/sys/unistd.h: add declaration for gethostid on
3388 Cygwin.
3389
6f48c0ae
JR
33902003-04-09 J"orn Rennecke <joern.rennecke@superh.com>
3391
3392 * libc/machine/sh/memset.S: Avoid clobbering volatile
3393 objects following a tiny to-be-set array in the same quadword.
3394
8f8d09c0
CV
33952001-04-09 Corinna Vinschen <corinna@vinschen.de>
3396
3397 * libc/include/wchar.h: Add definitions for wcswidth and wcwidth.
3398 * libc/string/Makefile.am: Add wcswidth.c and wcwidth.c
3399 * libc/string/Makefile.in: Regenerated.
3400 * libc/string/wcswidth.c: New file.
3401 * libc/string/wcwidth.c: New file.
3402 * libc/string/wcstrings.tex: Add wcswidth and wcwidth.
3403
40c3b2d0
JR
3404Thu Apr 3 14:01:16 2003 J"orn Rennecke <joern.rennecke@superh.com>
3405
3406 * libc/machine/sh/memset.S: Fix problem with alloco region
3407 exceeding destination region for length >= 88 bytes, start
3408 & 0x16 == 0, end & 0x1f == 18.
3409
8ae6a3dd
CV
34102001-04-03 Corinna Vinschen <corinna@vinschen.de>
3411
3412 * libc/string/wcscoll.c: Fix comment.
3413
d122b1cc
CV
34142001-04-02 Corinna Vinschen <corinna@vinschen.de>
3415
3416 * libc/include/wchar.h: Add definition for wcscoll.
3417 * libc/string/Makefile.am: Add wcscoll.c.
3418 * libc/string/Makefile.in: Regenerated.
3419 * libc/string/wcscoll.c: New file.
3420 * libc/string/wcstrings.tex: Add wcscoll.
3421
31ee99a4
CV
34222003-04-01 Corinna Vinschen <corinna@vinschen.de>
3423
3424 * libc/stdio/sscanf.c: Update flags description.
3425 * libc/stdio/vfscanf.c: Add CHAR flag value to denote 8 bit target
3426 type.
3427 (__svfscanf_r): Add 'hh' and 'll' handling.
3428
d78045ee
CV
34292003-04-01 Corinna Vinschen <corinna@vinschen.de>
3430
3431 * libc/sys/cygwin/sys/dirent.h (struct DIR): Change type of
3432 __d_position member to _off_t.
3433
e6bdc6c5
JJ
34342003-03-20 Jeff Johnston <jjohnstn@redhat.com>
3435
3436 * libc/stdio/vfscanf.c (__svfscanf_r): For floating point conversion,
3437 count all characters used to create number against maximum width.
3438 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
3439
e65d559e
JJ
34402003-03-18 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
3441
3442 * libc/include/sys/h8300hms/crt0.S[__SIMULATOR__]: Add commandline
3443 support.
3444 * configure.host (h8300*-*-*): Added comment regarding -D__SIMULATOR__
3445 flag to support simulator only extensions.
3446
6b3bb52b
JJ
34472003-03-17 Bob Cassels <bcassels@abinitio.com>
3448
3449 * libc/string/wcschr.c: (wcschr): Look for character first,
3450 then for end of string, so you can do wcschr(x, '\0').
3451
2a940c1a
CV
34522003-03-10 Corinna Vinschen <corinna@vinschen.de>
3453
3454 * libc/include/stdio.h: Declare fgetpos, fsetpos, fseeko and ftello
3455 with internal (_fpos_t and _off_t) datatypes when compiling newlib.
3456 * libc/include/sys/unistd.h: Declare _lseek using _off_t.
3457 * libc/reent/lseekr.c (_lseek_r): Use _off_t instead of off_t.
3458 * libc/stdio/fseeko.c (fseeko): Ditto.
3459 * libc/stdio/ftello.c (ftello): Ditto.
3460 * libc/stdio/stdio.c (__swrite): Ditto.
3461 (__sseek): Ditto.
3462 * libc/stdio/fgetpos.c (fgetpos): Use _fpos_t instead of fpos_t.
3463 * libc/stdio/fseek.c (fseek): Ditto.
3464 * libc/stdio/fsetpos.c (fsetpos): Ditto.
3465 * libc/stdio/ftell.c (ftell): Ditto.
3466 * libc/stdio/local.h: Declare __sseek using _off_t.
3467
150c2818
CV
34682003-03-09 Corinna Vinschen <corinna@vinschen.de>
3469
3470 * libc/reent/lseekr.c (lseek_r): Use _off_t instead of off_t.
3471
2c440f9c
CV
34722003-03-09 Corinna Vinschen <corinna@vinschen.de>
3473
3474 * libc/include/sys/config.h: Define __CYGWIN_USE_BIG_TYPES__ for
3475 Cygwin.
3476
f882fd15
CV
34772003-03-09 Corinna Vinschen <corinna@vinschen.de>
3478
3479 * libc/include/pwd.h: Add guards to avoid type clashes when compiling
3480 Cygwin.
3481 * libc/include/sys/stat.h: Ditto.
3482 * libc/include/sys/unistd.h: Ditto.
3483 * libc/sys/cygwin/sys/dirent.h: Ditto.
3484
01d61543
CF
34852003-03-07 Christopher Faylor <cgf@redhat.com>
3486
3487 * libc/include/sys/unistd.h: Guard getopt.h call to force only
3488 declaration of getopt and avoid getopt_long declaration.
3489 * libc/sys/cygwin/include/unistd.h: Remove.
3490
5582abd2
CV
34912003-03-07 Corinna Vinschen <corinna@vinschen.de>
3492
3493 * configure.host: Define stdio64_dir for Cygwin.
3494 * libc/include/stdio.h: Change definition of fpos_t to fulfill
3495 Cygwin 64bit file access requirements.
3496 Drop definition of f*64() functions when compiled for Cygwin.
3497 * libc/include/sys/config.h: Define __LARGE64_FILES for Cygwin.
3498 * libc/reent/lseek64r.c: Use _off64_t instead of off64_t.
3499 * libc/stdio64/local64.h: Use _fpos64_t instead of fpos64_t.
3500
641da1eb
JJ
35012003-03-07 Jeff Johnston <jjohnstn@redhat.com>
3502
3503 * libc/include/sys/reent.h: Remove extraneous _sig_func
3504 declaration.
3505
35062003-02-25 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
41a639de
JJ
3507
3508 * libc/sys/h8300hms/Makefile.am: Add support for new files.
3509 * libc/sys/h8300hms/Makefile.in: Regenerated.
3510 * libc/sys/h8300hms/close.S: New file.
3511 * libc/sys/h8300hms/fstat.S: Ditto.
3512 * libc/sys/h8300hms/lseek.S: Ditto.
3513 * libc/sys/h8300hms/open.S: Ditto.
3514 * libc/sys/h8300hms/stat.S: Ditto.
3515 * libc/sys/h8300hms/read.S: New file to replace read.c.
3516 * libc/sys/h8300hms/read.c: Removed.
3517 * libc/sys/h8300hms/syscalls.c: Removed functions _open,
3518 _lseek, _close, _stat, _fstat.
3519 * libc/sys/h8300hms/write.S: New file to replace write.c.
3520 * libc/sys/h8300hms/write.c: Removed.
3521
bac50d6b
NC
35222003-02-20 Nick Clifton <nickc@redhat.com>
3523
3524 * Add support for Cirrus Maverick ARM co-processor:
3525
3526 2000-09-13 Aldy Hernandez <aldyh@redhat.com>
3527
3528 * libc/include/machine/ieeefp.h: Set IEEE_BIG_ENDIAN or
3529 IEEE_LITTLE_ENDIAN depending on endian mode (cirrus).
3530
3531 2000-08-11 Aldy Hernandez <aldyh@redhat.com>
3532
3533 * configure.host: set sys_dir, syscall_dir, and
3534 newlib_cflags for ep9312 host.
3535
3536 * configure.host: Restore alpha sorting of entries in case
3537 statements.
3538
12ee7037
JJ
35392003-02-19 Jeff Johnston <jjohnstn@redhat.com>
3540
3541 * libc/stdlib/mallocr.c (unlink): Revert 02/18 fix.
3542
1e810ba0
JJ
35432003-02-18 Christian Groessler <chris@groessler.org>
3544
3545 * libc/machine/z8k/setjmp.S (_setjmp / _longjmp): Fix to
3546 support z8001 segmented mode.
3547
b1ca765e
JJ
35482003-02-18 Earnie Boyd <earnie@users.sf.net>
3549
3550 * libc/stdlib/mallocr.c (unlink): Don't assign a value to a pointer
3551 with a NULL value.
3552
51a46b54
CF
35532003-02-10 Christopher Faylor <cgf@redhat.com>
3554
3555 * libc/include/sys/types.h: Don't define __MS_types__ for Cygwin.
3556 Don't define some types under cygwin.
3557
313f1349
JJ
35582003-02-07 Jeff Johnston <jjohnstn@redhat.com>
3559
3560 * acinclude.m4 (--disable-newlib-supplied-syscalls): New configuration
3561 option to allow disabling of syscalls being supplied in newlib.
3562 * aclocal.m4: Regenerated.
3563 * configure: Ditto.
3564 * configure.host: Add support of new configuration option and add
3565 -D__NO_SYSCALLS__ if newlib supplied syscalls are disabled.
3566 * doc/aclocal.m4: Regenerated.
3567 * doc/configure: Ditto.
3568 * libc/*aclocal.m4: Ditto.
3569 * libc/*configure: Ditto.
3570 * libm/*aclocal.m4: Ditto.
3571 * libm/*configure: Ditto.
3572 * libc/sys/arm/Makefile.am: Don't build syscalls.o if new option
3573 is disabled.
3574 * libc/sys/arm/Makefile.in: Regenerated.
3575
5017a3da
JJ
35762003-02-05 Jonathan Larmour <jifl@eCosCentric.com>
3577
3578 * libc/stdio/vsprintf.c (vsprintf, _vsprintf_r): Set _file fd to
3579 -1 to be sure it cannot later match a valid file fd causing
3580 isatty() to return 1.
3581 * libc/stdio/asprintf.c (asprintf, _asprintf_r): Ditto.
3582 * libc/stdio/sprintf.c (sprintf, _sprintf_r): Ditto.
3583 * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Ditto.
3584
ad36f7d1
JJ
35852003-02-03 Jeff Johnston <jjohnstn@redhat.com>
3586
3587 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate the format
3588 buffer based on the precision, after we have processed the input value
3589 in a local buffer and know its relative magnitude.
3590
a74181ee
JJ
35912003-01-31 Michael Snyder <msnyder@redhat.com>
3592
3593 * libc/sys/h8300hms/_exit.c (_exit, __exit): Slip a magic cookie
3594 into registers r1 and r2, so that the simulator can distinguish
3595 this trap from a breakpoint trap. Copied from libgloss.
3596
b85498d4
JJ
35972003-01-31 Michael Snyder <msnyder@redhat.com>
3598
3599 * libc/sys/h8300hms/crt0.S (_start): Change local label
3600 from .loop to .Loop, so that ld and gdb will ignore it.
3601
4700b829
JJ
36022003-01-29 Jason Tishler <jason@tishler.net>
3603
3604 * libc/include/time.h: Declare nanosleep() under Cygwin.
3605
0127ae40
NC
36062003-01-24 Nick Clifton <nickc@redhat.com>
3607
3608 * Add sh2e support:
3609
3610 2002-04-02 Alexandre Oliva <aoliva@redhat.com>
3611
3612 * libc/machine/sh/asm.h: Added __SH2E__ next to __SH3E__.
3613 * libc/machine/sh/setjmp.S: Likewise.
3614 * libc/include/machine/ieeefp.h: Likewise.
3615
8bbcd9a1
CV
36162003-01-24 Corinna Vinschen <corinna@vinschen.de>
3617
3618 * libc/include/sys/unistd.h: Add setregid and setreuid declarations
3619 for Cygwin.
3620
b8838e6f
JJ
36212003-01-21 Anita Kulkarni <anitak@kpit.com>
3622
3623 * libc/time/difftime.c : Typecast the result to double.
3624
f9e41155
CF
36252003-01-20 Christopher Faylor <cgf@redhat.com>
3626
3627 * libc/include/sys/unistd.h: Add rresvport declaration for cygwin.
3628
6b5a7988
NC
36292003-01-18 Nick Clifton <nickc@redhat.com>
3630
3631 * libc/include/machine/ieeefp.h : Define __IEEE_BIG_ENDIAN,
3632 __SMALL_BITFIELDS and _DOUBLE_IS_32BITS for IP2K.
3633
c3e92877
JJ
36342003-01-16 Joel Sherrill <joel@OARcorp.com>
3635
3636 * libc/sys/rtems/include/limits.h, libc/sys/rtems/sys/param.h,
3637 libc/sys/rtems/sys/syslimits.h: Update to be in sync with what
3638 constants are defined in each file in the shared versions in
3639 libc/include.
3640 * libc/sys/rtems/crt0.c: Define extra symbols on SH and HP-PA to
3641 autoconf can link programs.
3642 * libc/include/machine/types.h: Explicitly specify signed on
3643 intXX_t types to ensure they are signed.
3644
84510217
CF
36452003-01-14 Christopher Faylor <cgf@redhat.com>
3646
3647 * libc/time/strftime.c (strftime): Add '%h' and '%l, %k' GNU
3648 extensions.
3649
b3934ab3
RS
36502003-01-08 Richard Sandiford <rsandifo@redhat.com>
3651
3652 * configure.host (mips64vr-elf, mips64vrel-elf): New config.
3653
be9c60e5
JJ
36542003-01-07 Charles Wilson <cwilson@ece.gatech.edu>
3655
3656 * libc/stdio/sprintf.c: fix typo
3657 * libc/stdio/vfprintf.c: fix typo
3658
d4c3a750
JJ
36592003-01-07 Jeff Johnston <jjohnstn@redhat.com>
3660
3661 * configure.host: Support long double I/O for x86-linux.
3662 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate a buffer
3663 large enough to hold formatted result.
3664 * libc/machine/powerpc/simdldtoa.c (_simdldtoa_r): Ditto.
3665
b2294aaa
JJ
36662003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
3667
3668 * Makefile.am: Add vasprintf.
3669 * Makefile.in: Regenerated.
3670
ea5e5daf
JJ
36712003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
3672
3673 * asprintf.c (_asprintf_r): insure both declarations
3674 are the same.
3675
5c581eca
CF
36762002-12-28 Christopher Faylor <cgf@redhat.com>
3677
3678 * libc/include/sys/unistd.h: Under cygwin, just include getopt.h rather
3679 than defining getopt directly.
3680
60b0838f
JJ
36812002-12-20 Jeff Johnston <jjohnstn@redhat.com>
3682
3683 * NEWS: Update with 1.11.0 info.
3684 * README: Ditto.
3685 * acinclude.m4: Change version number to 1.11.0.
3686 * aclocal.m4: Regenerated.
3687 * configure: Ditto.
3688 * doc/aclocal.m4: Ditto.
3689 * doc/configure: Ditto.
3690 * libc/*/aclocal.m4: Ditto.
3691 * libc/*/configure: Ditto.
3692 * libc/libc.texinfo: Ditto.
3693 * libm/*/aclocal.m4: Ditto.
3694 * libm/*/configure: Ditto.
3695 * libm/libm.texinfo: Ditto.
3696 * libc/sys/linux/shared.ld: Add VERS_1.11.
3697
10501d57
JJ
36982002-12-20 Jeff Johnston <jjohnstn@redhat.com>
3699
3700 * libc/machine/i386/f_atan2.S: Change copyright from Cygnus
3701 Solutions to Red Hat Inc.
3702 * libc/machine/i386/f_atan2f.S: Ditto.
3703 * libc/machine/i386/f_exp.c: Ditto.
3704 * libc/machine/i386/f_expf.c: Ditto.
3705 * libc/machine/i386/f_frexp.S: Ditto.
3706 * libc/machine/i386/f_frexpf.S: Ditto.
3707 * libc/machine/i386/f_ldexp.S: Ditto.
3708 * libc/machine/i386/f_ldexpf.S: Ditto.
3709 * libc/machine/i386/f_log.S: Ditto.
3710 * libc/machine/i386/f_log10.S: Ditto.
3711 * libc/machine/i386/f_log10f.S: Ditto.
3712 * libc/machine/i386/f_logf.S: Ditto.
3713 * libc/machine/i386/f_pow.c: Ditto.
3714 * libc/machine/i386/f_powf.c: Ditto.
3715 * libc/machine/i386/f_tan.S: Ditto.
3716 * libc/machine/i386/f_tanf.S: Ditto.
3717 * libc/machine/i386/memchr.S: Ditto.
3718 * libc/machine/i386/memcmp.S: Ditto.
3719 * libc/machine/i386/memcpy.S: Ditto.
3720 * libc/machine/i386/memmove.S: Ditto.
3721 * libc/machine/i386/memset.S: Ditto.
3722 * libc/machine/i386/strchr.S: Ditto.
3723 * libc/machine/i386/strlen.S: Ditto.
3724 * libm/machine/i386/f_atan2.S: Ditto.
3725 * libm/machine/i386/f_atan2f.S: Ditto.
3726 * libm/machine/i386/f_exp.c: Ditto.
3727 * libm/machine/i386/f_expf.c: Ditto.
3728 * libm/machine/i386/f_frexp.S: Ditto.
3729 * libm/machine/i386/f_frexpf.S: Ditto.
3730 * libm/machine/i386/f_ldexp.S: Ditto.
3731 * libm/machine/i386/f_ldexpf.S: Ditto.
3732 * libm/machine/i386/f_log.S: Ditto.
3733 * libm/machine/i386/f_log10.S: Ditto.
3734 * libm/machine/i386/f_log10f.S: Ditto.
3735 * libm/machine/i386/f_logf.S: Ditto.
3736 * libm/machine/i386/f_pow.c: Ditto.
3737 * libm/machine/i386/f_powf.c: Ditto.
3738 * libm/machine/i386/f_tan.S: Ditto.
3739 * libm/machine/i386/f_tanf.S: Ditto.
3740
9b3f0d16
JJ
37412002-12-20 Jeff Johnston <jjohnstn@redhat.com>
3742
3743 * libc/stdlib/environ.c: Update license to Red Hat.
3744 * libc/machine/hppa/setjmp.S: Ditto.
3745 * libm/test/Makefile.in: Ditto.
3746
d693ad84
JJ
37472002-12-19 Jeff Johnston <jjohnstn@redhat.com>
3748
3749 * configure.host: Remove references to go32.
3750 * libc/sys/go32/*: Removed.
3751
7da92d15
JJ
37522002-12-16 Kazu Hirata <kazu@cs.umass.edu>
3753
3754 * libc/include/sys/config.h: Change setting of INT_MAX
3755 and UINT_MAX, to use __INT_MAX__ for __H8300__, __H8300H__,
3756 __H8300S__. Also consolidate flag settings for these
3757 platforms.
3758
ea01c7f5
JJ
37592002-12-10 Joel Sherrill <joel@OARcorp.com>
3760
3761 * libc/include/machine/setjmp.h: Make sure _JBLEN is defined
3762 for i386-rtems targets.
3763
c049dd5a
JJ
37642002-12-06 Jeff Johnston <jjohnstn@redhat.com>
3765
3766 * libc/include/stdlib.h (strtof): New prototype (from C99).
3767 (strtodf): Changed from prototype to macro which redefines
3768 to strtof.
3769 * libc/stdlib/atof.c: Change documentation to refer to strtof
3770 instead of strtodf.
3771 * libc/stdlib/atoff.c (atoff): Change to call strtof instead of
3772 strtodf.
3773 * libc/stdlib/strtod.c (strtodf): Renamed to strtof.
3774 (strtof): New function.
3775 * libm/test/convert.c (test_strtodf): Renamed to test_strtof which
3776 calls strtof.
3777
46a402e0
CF
37782002-11-27 Christopher Faylor <cgf@redhat.com>
3779
3780 * libc/string/memset.c (memset): Fix comment.
3781
b3cc01b0
CF
37822002-11-26 Christopher Faylor <cgf@redhat.com>
3783
3784 * libc/string/memset.c (memset): Move initialization of 'd' earlier in
3785 function.
3786
d90f3dc1
CF
37872002-11-25 Christopher Faylor <cgf@redhat.com>
3788
3789 * libc/string/memset.c (memset): Minor optimization: Use new 'd'
3790 variable, introduced below, everywhere.
3791
f24585c6
KH
37922002-11-25 Kazu Hirata <kazu@cs.umass.edu>
3793
3794 * libc/string/memset.c (memset): Make it safe even if
3795 sizeof (int) = 2.
3796
2955fd76
JJ
37972002-11-22 Joe Buehler <jbuehler@hekimian.com>
3798
3799 * configure.in: Change check for libc/include in ${CC} to
3800 use an intermediate value so as to work with different shells.
3801 * configure: Regenerated.
3802 * Makefile.in: Ditto.
3803
40ce7368
JJ
38042002-11-22 Vijay L. Khuspe <vijayk1@kpit.com>
3805
3806 * libc/sys/h8300hms/read.c: Add support for normal mode
3807 architecture.
3808
505746ad
JJ
38092002-11-20 Ryo Tsuruta <ryo@kitanet.ne.jp>
3810
3811 * libc/machine/h8300/setjmp.S (setjmp, longjmp): Combine common
3812 code for __H8300H__ and __H8300S__. Also return 32-bit return code
3813 when -mint32 is used.
3814
28ecb2f5
NC
38152002-11-18 Nick Clifton <nickc@redhat.com>
3816
3817 * libc/sys/arm/crt0.S: Add NULL to end of argv array.
3818
665b994e
JJ
38192002-11-14 Jeff Johnston <jjohnstn@redhat.com>
3820
3821 * testsuite/lib/passfail.exp (newlib_pass_fail): Changed to
3822 only issue one pass/fail message for a compile/link/execute.
3823 * testsuite/newlib.elix/elix.exp: New file.
3824 * testsuite/newlib.elix/tmmap.c: Ditto.
3825
e91ec2e3
CF
38262002-11-06 Christopher Faylor <cgf@redhat.com>
3827
3828 * libc/stdlib/malign.c: Don't compile if MALLOC_PROVIDED.
3829 * libc/stdlib/mlock.c: Ditto.
3830 * libc/stdlib/msize.c: Ditto.
3831 * libc/stdlib/msize.c: Ditto.
3832 * libc/stdlib/mtrim.c: Ditto.
3833 * libc/stdlib/valloc.c: Ditto.
3834
944772c7
JJ
38352002-11-12 Jeff Johnston <jjohnstn@redhat.com>
3836
3837 * libc/stdlib/ldtoa.c (e64toe): When checking the exponent
3838 for inf/nan, make sure that the check ignores the sign bit.
3839
dd7ee147
JJ
38402002-11-07 Joel Sherrill <joel@OARcorp.com>
3841
3842 * libc/sys/rtems/machine: New directory.
3843 * libc/sys/rtems/machine/limits.h, libc/sys/rtems/machine/param.h,
3844 libc/sys/rtems/sys/param.h, libc/sys/rtems/sys/syslimits.h,
3845 libc/sys/rtems/sys/utime.h: New files added to make *-rtems newlib
3846 targets more BSD like when installed without requiring files to
3847 be overwritten at install point when RTEMS itself is installed.
3848 * Makefile.am: Pick up system dependent machine .h files such as
3849 might be found on a BSD-ish system.
3850 * Makefile.in: Regenerate.
3851 * libc/include/machine/types.h: When on an RTEMS target, define a
3852 few BSD flavor types.
3853
38542002-11-06 Sergey Okhapkin <sos@prospect.com.ru>
503430d8
CF
3855
3856 * include/utmp.h: Define WTMP_FILE. Define and use UT_IDLEN.
3857
18cd62b7
JJ
38582002-11-06 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
3859
3860 * libc/include/wchar.h: Use _{BEGIN,END}_STD_C instead of extern "C".
3861 * libc/include/wctype.h: Ditto.
3862
d2888812
JJ
38632002-11-04 Jeff Johnston <jjohnstn@redhat.com>
3864
3865 * libc/include/wchar.h: Add extern "C" specifier if C++.
3866 * libc/include/wctype.h: Ditto.
3867
978ea3cf
JJ
38682002-10-18 Jeff Johnston <jjohnstn@redhat.com>
3869
3870 * testsuite/newlib.wctype/tiswctype.c: New test case.
3871 * testsuite/newlib.wctype/twctrans.c: Ditto.
3872
a42cf80a
JJ
38732002-10-18 Jeff Johnston <jjohnstn@redhat.com>
3874
3875 * libc/sys/linux/machine/i386/include/endian.h: New file.
3876 * libc/sys/linux/machine/i386/include/param.h: Ditto.
3877
c9ccb1f2
JJ
38782002-10-18 Jeff Johnston <jjohnstn@redhat.com>
3879
3880 * libm/machine/i386/aclocal.m4: Regenerated.
3881 * libm/machine/i386/configure: Ditto.
3882
94c5b430
JJ
38832002-10-18 Jeff Johnston <jjohnstn@redhat.com>
3884
3885 * testsuite/include/check.h: New header file to use with
3886 test cases.
3887 * testsuite/lib/newlib.exp: Add testsuite/include directory
3888 to list of header files to use.
3889 * testsuite/newlib.wctype/twctype.c: New test case for iswctype fns.
3890 * testsuite/newlib.wctype/wctype.exp: New file.
3891
ccdae543
RS
38922002-10-11 Graham Stott <graham.stott@btinternet.com>
3893 Richard Sandiford <rsandifo@redhat.com>
f770cf44
RS
3894
3895 * libc/include/sys/config.h (SIZE_T_SMALLER_THAN_LONG): Undefine.
3896 * libc/stdlib/mallocr.c (long_sub_size_t): Define in a way that
3897 doesn't require the SIZE_T_SMALLER_THAN_LONG macro.
3898
73972116
JS
38992002-10-07 Joel Sherrill <joel@OARcorp.com>
3900
3901 * libc/sys/rtems/crt0.c: Add even more symbols so gcc() can link
3902 dummy programs.
3903
89e3fcba
JS
39042002-10-07 Joel Sherrill <joel@OARcorp.com>
3905
3906 * libc/include/pthread.h: Define PTHREAD_CANCELED.
3907
54ec52e4
JS
39082002-10-07 Joel Sherrill <joel@OARcorp.com>
3909
3910 * libc/machine/hppa/DEFS.h, libc/machine/hppa/pcc_prefix.s,
3911 libc/machine/hppa/setjmp.S, libc/machine/hppa/DEFS.h: Make this
3912 compile with current GNU tools.
3913
d389acba
JJ
39142002-10-07 Jeff Johnston <jjohnstn@redhat.com>
3915
3916 * Makefile.am: Add EXTRA_DIRS to allow future dependencies on
3917 the build library.
3918 * configure.in: Ditto.
3919 * Makefile.in: Regenerated.
3920 * configure: Ditto.
3921 * libc/sys/linux/Makefile.am: Add EXTRA_SUBDIRS and EXTRA_SUBLIBS
3922 for specifying configured libraries/directories.
3923 * libc/sys/linux/configure.in: Ditto.
3924 * libc/sys/linux/Makefile.in: Regenerated.
3925 * libc/sys/linux/configure: Ditto.
3926
af5a221f
JJ
39272002-10-03 Jeff Johnston <jjohnstn@redhat.com>
3928
3929 * libc/include/reent.h: Update documentation at start of file.
3930
59a758bd
JW
39312002-09-27 Jim Wilson <wilson@redhat.com>
3932
3933 * libc/sys/sysnecv850/crt0.S (start): Delete v850 code for initializing
3934 the ctbp register.
3935
1ed3c86d
JJ
39362002-09-27 Jeff Johnston <jjohnstn@redhat.com>
3937
3938 * libc/ctype/jp2uc.c: Change to use multiple arrays in jp2uc.h.
3939 Also convert to EUCJP before using arrays. For values not in
3940 the conversion arrays, return WEOF.
3941 * libc/ctype/jp2uc.h: Change from one array to a number of
3942 arrays to account for the fact that the originating table
3943 is not contiguous for the input values since some are invalid.
3944
6e1dfd2d
JJ
39452002-09-24 Jeff Johnston <jjohnstn@redhat.com>
3946
3947 * libc/time/ctime.c: Fix prototype documentation.
3948
06f1353a
CV
39492002-09-24 Corinna Vinschen <corinna@vinschen.de>
3950
3951 * libc/include/sys/errno.h: Add EOVERFLOW.
3952
1e0e64c9
JJ
39532002-09-20 Jeff Johnston <jjohnstn@redhat.com>
3954
3955 * libc/include/wctype.h: New file.
3956
1525d127
JJ
39572002-09-20 Jeff Johnston <jjohnstn@redhat.com>
3958
3959 * libc/ctype/Makefile.am: Add new files.
3960 * libc/ctype/Makefile.in: Regenerated.
3961 * libc/ctype/ctype.tex: Add new iswxxxx, towxxxx, wctype,
3962 and wctrans functions to documentation index.
3963 * libc/ctype/iswalnum.c: New file.
3964 * libc/ctype/iswalpha.c: Ditto.
3965 * libc/ctype/iswblank.c: Ditto.
3966 * libc/ctype/iswcntrl.c: Ditto.
3967 * libc/ctype/iswctype.c: Ditto.
3968 * libc/ctype/iswdigit.c: Ditto.
3969 * libc/ctype/iswgraph.c: Ditto.
3970 * libc/ctype/iswlower.c: Ditto.
3971 * libc/ctype/iswprint.c: Ditto.
3972 * libc/ctype/iswpunct.c: Ditto.
3973 * libc/ctype/iswspace.c: Ditto.
3974 * libc/ctype/iswupper.c: Ditto.
3975 * libc/ctype/iswxdigit.c: Ditto.
3976 * libc/ctype/jp2uc.c: Ditto.
3977 * libc/ctype/jp2uc.h: Ditto.
3978 * libc/ctype/local.h: Ditto.
3979 * libc/ctype/towctrans.c: Ditto.
3980 * libc/ctype/towlower.c: Ditto.
3981 * libc/ctype/towupper.c: Ditto.
3982 * libc/ctype/utf8alpha.h: Ditto.
3983 * libc/ctype/utf8print.h: Ditto.
3984 * libc/ctype/utf8punct.h: Ditto.
3985 * libc/ctype/wctrans.c: Ditto.
3986 * libc/ctype/wctype.c: Ditto.
3987 * libc/locale/locale.c (__lc_ctype): New external array to
3988 replace static lc_ctype array.
3989 * libc/stdlib/mbtowc_r.c: Use __lc_ctype to check current lc_ctype
3990 rather than reentrancy structure's _current_locale field.
3991 * libc/stdlib/wctomb_r.c: Ditto.
3992
da25e61f
JJ
39932002-09-20 Jeff Johnston <jjohnstn@redhat.com>
3994
3995 * configure.host: Minor comment and formatting changes.
3996 * libc/Makefile.am: Add libc_la_DEPENDENCIES.
3997 * libc/Makefile.in: Regenerated.
3998 * libc/include/sys/config.h: Minor format change.
3999
5b9ee539
JJ
40002002-09-19 Jeff Johnston <jjohnstn@redhat.com>
4001
4002 * libc/syscalls/sysfcntl.c (fcntl): Fix typo in preprocessor
4003 statement comment.
4004
50558bf3
JJ
40052002-09-19 Jeff Johnston <jjohnstn@redhat.com>
4006
4007 * libc/posix/opendir.c (opendir): Change code to check
4008 for HAVE_FCNTL before calling fcntl.
4009 * libc/search/hash.c (hash_open): Ditto.
4010 * libc/search/hash_page.c (open_tmp): Ditto.
4011 * libc/reent/Makefile.am: Add fcntlr.c.
4012 * libc/reent/Makefile.in: Regenerated.
4013 * libc/reent/fcntlr.c: New file.
4014 * libc/stdio/fdopen.c (_fdopen_r): Change to call _fcntl_r
4015 instead of _fcntl when HAVE_FCNTL flag is set.
4016 * libc/syscalls/sysfcntl.c (fcntl): Check for HAVE_FCNTL flag
4017 to see if _fcntl or _fcntl_r should be called. If flag is not
4018 set, default to ENOSYS stub.
4019
9211a1ad
JJ
40202002-09-16 Jeff Johnston <jjohnstn@redhat.com>
4021
4022 * libc/include/wchar.h (mbstate_t): Change protective flag to
4023 be _MBSTATE_T.
4024 * libc/include/sys/_types.h (_mbstate_t): Remove protective flag.
4025 [__CYGWIN__]: Remove special code that defines mbstate_t and WEOF
4026 for Cygwin.
4027 * libc/sys/linux/sys/_types.h (_mbstate_t): Remove protective flag.
4028
a8615092
JJ
40292002-09-11 Jeff Johnston <jjohnstn@redhat.com>
4030
4031 * acinclude.m4 (enable-newlib-mb): Change check to
4032 default newlib_mb variable to empty string rather than "no".
4033 * configure.host: Remove hard-coding of -DMB_CAPABLE for
4034 x86-linux and Cygwin. Add code to check for newlib_mb
4035 being unset in which case set to "yes" for x86-linux and
4036 Cygwin. Change check for newlib_mb being "yes" to allow
4037 for an empty string.
4038 * configure.in (_MB_LEN_MAX): New AC_DEFINE.
4039 * newlib.hin (_MB_LEN_MAX): New define to configure.
4040 * aclocal.m4: Regenerated.
4041 * configure: Ditto.
4042 * libc/include/limits.h: New file.
4043 * libc/sys/linux/include/limits.h: Ditto.
4044 * doc/aclocal.m4 doc/configure libc/aclocal.m4
4045 libc/configure libc/include/%redact libc/machine/aclocal.m4
4046 libc/machine/configure libc/machine/a29k/aclocal.m4
4047 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
4048 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
4049 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
4050 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
4051 libc/machine/fr30/configure libc/machine/frv/aclocal.m4
4052 libc/machine/frv/configure libc/machine/h8300/aclocal.m4
4053 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
4054 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
4055 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
4056 libc/machine/i386/configure libc/machine/i960/aclocal.m4
4057 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
4058 libc/machine/m32r/configure libc/machine/m68hc11/aclocal.m4
4059 libc/machine/m68hc11/configure libc/machine/m68k/aclocal.m4
4060 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
4061 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
4062 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
4063 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
4064 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
4065 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
4066 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
4067 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
4068 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
4069 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
4070 libc/machine/v850/configure libc/machine/w65/aclocal.m4
4071 libc/machine/w65/configure libc/machine/xscale/aclocal.m4
4072 libc/machine/xscale/configure
4073 libc/machine/xstormy16/aclocal.m4
4074 libc/machine/xstormy16/configure libc/machine/z8k/aclocal.m4
4075 libc/machine/z8k/configure libc/sys/aclocal.m4
4076 libc/sys/configure libc/sys/a29khif/aclocal.m4
4077 libc/sys/a29khif/configure libc/sys/arc/aclocal.m4
4078 libc/sys/arc/configure libc/sys/arm/aclocal.m4
4079 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
4080 libc/sys/cygwin/configure libc/sys/d10v/aclocal.m4
4081 libc/sys/d10v/configure libc/sys/decstation/aclocal.m4
4082 libc/sys/decstation/configure libc/sys/go32/aclocal.m4
4083 libc/sys/go32/configure libc/sys/h8300hms/aclocal.m4
4084 libc/sys/h8300hms/configure libc/sys/h8500hms/aclocal.m4
4085 libc/sys/h8500hms/configure libc/sys/idt/aclocal.m4
4086 libc/sys/idt/configure libc/sys/linux/aclocal.m4
4087 libc/sys/linux/configure libc/sys/linux/include/%redact
4088 libc/sys/linux/machine/aclocal.m4
4089 libc/sys/linux/machine/configure
4090 libc/sys/linux/machine/i386/aclocal.m4
4091 libc/sys/linux/machine/i386/configure
4092 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
4093 libc/sys/mmixware/aclocal.m4 libc/sys/mmixware/configure
4094 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
4095 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
4096 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
4097 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
4098 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
4099 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
4100 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
4101 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
4102 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
4103 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
4104 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
4105 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
4106 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
4107 libm/aclocal.m4 libm/configure: Regenerated.
4108
be83844e
JJ
41092002-09-09 Jeff Johnston <jjohnstn@redhat.com>
4110
4111 * libc/sys/linux/machine/i386/crt0.c (_start): Remove
4112 code that clears the .bss section.
4113
9c64d2a7
JJ
41142002-09-09 Jeff Johnston <jjohnstn@redhat.com>
4115
4116 * libc/include/sys/_types.h (_mbstate_t): Changed to use
4117 unsigned char internally.
4118 * libc/sys/linux/sys/_types.h: Ditto.
4119 * libc/include/sys/reent.h
4120 * libc/stdlib/mblen.c (mblen): Use function-specific state
4121 value from default reentrancy structure.
4122 * libc/stdlib/mblen_r.c (_mblen_r): If return code from
4123 _mbtowc_r is less than 0, reset state __count value and
4124 return -1.
4125 * libc/stdlib/mbrlen.c (mbrlen): If the input state pointer
4126 is NULL, use the function-specific pointer provided in the
4127 default reentrancy structure.
4128 * libc/stdlib/mbrtowc.c: Add reentrant form of function.
4129 If input state pointer is NULL, use function-specific area
4130 provided in reentrancy structure.
4131 * libc/stdlib/mbsrtowcs.c: Ditto.
4132 * libc/stdlib/wcrtomb.c: Ditto.
4133 * libc/stdlib/wcsrtombs.c: Ditto.
4134 * libc/stdlib/mbstowcs.c: Reformat.
4135 * libc/stdlib/wcstombs.c: Ditto.
4136 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): If an error occurs,
4137 reset the state's __count value and return -1.
4138 * libc/stdlib/mbtowc.c: Ditto.
4139 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Add restartable functionality.
4140 If number of bytes is used up before completing a valid multibyte
4141 character, return -2 and save the state.
4142 * libc/stdlib/wctomb_r.c (_wctomb_r): Define __state as __count
4143 and change some __count references to __state for clarity.
4144
218b7a56
JJ
41452002-09-06 Jeff Johnston <jjohnstn@redhat.com>
4146
4147 * libc/include/sys/config.h (MB_LEN_MAX): Removed as this
4148 is defined by <limits.h>.
4149
c210a6ea
JJ
41502002-09-05 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
4151
4152 * libc/include/wchar.h (WCHAR_MAX): Only define if not already
4153 defined.
4154
efa077ce
JJ
41552002-09-04 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
4156
4157 * libc/include/sys/config.h: Define accordingly __WCHAR_MAX__.
4158 * libc/include/wchar.h: Define WCHAR_MIN as 0 and WCHAR_MAX as
4159 __WCHAR_MAX__ or 0x7fffffffu.
4160 * libc/string/wcscmp.c: Delete wrong and unnecessary type cast.
4161 * libc/string/wcsncmp.c: Ditto.
4162
e4b0ebc1
JJ
41632002-09-03 Jeff Johnston <jjohnstn@redhat.com>
4164
4165 * libc/string/wcschr.c: Add include of <stddef.h>.
4166 * libc/string/wcspbrk.c: Ditto.
4167 * libc/string/wcsrchr.c: Ditto.
4168 * libc/string/wcsstr.c: Ditto.
4169
3db40db7
JJ
41702002-09-03 Jeff Johnston <jjohnstn@redhat.com>
4171
4172 * libc/include/sys/_types.h (_flock_t): Added.
4173 * libc/include/sys/lock.h (__lock_try_acquire): New interface.
4174 (__lock_try_acquire_recursive): Ditto.
4175 * libc/include/sys/reent.h (__sFILE, __sFILE64): Add new
4176 _lock field.
4177 * libc/stdio/findfp.c (std)[!__SINGLE_THREAD__]: Initialize _lock
4178 field.
4179 * libc/stdio/fopen.c (_fopen_r)[!__SINGLE_THREAD__]: Ditto.
4180 * libc/stdio64/fopen64.c (_fopen64_r)[!__SINGLE_THREAD__]: Ditto.
4181 * libc/sys/linux/include/time.h (struct timespec): Moved from
4182 <sys/types.h> and added check for __need_timespec flag so type
4183 can be defined by itself.
4184 * libc/sys/linux/sys/_types.h (_flock_t): New type.
4185 * libc/sys/linux/sys/types.h (struct timespec): Moved to
4186 <time.h>.
4187
cd45f029
TF
41882002-08-29 Thomas Fitzsimmons <fitzsim@redhat.com>
4189
4190 * libc/sys/linux/argp: New directory.
4191 * libc/sys/linux/getopt.c: New file.
4192 * libc/sys/linux/getopt1.c: New file.
4193 * libc/sys/linux/getoptlong.c: Remove file.
4194 * libc/sys/linux/include/argp.h: New file.
4195 * libc/sys/linux/Makefile.am: Define argp_dir and ARGP_LIB,
4196 based on ELIX level.
4197 (SUBDIRS): Add argp_dir.
4198 (SUBLIBS): Add ARGP_LIB.
4199 (ELIX_2_OBJS): Add getopt.$(oext), getopt1.$(oext), remove
4200 getopt_long.$(oext).
4201 * libc/sys/linux/configure.in (AC_OUTPUT): Add argp/Makefile.
4202
3c689185
JJ
42032002-08-29 Jeff Johnston <jjohnstn@redhat.com>
4204
4205 * libc/libc.texinfo: Add node reference to wide-character strings.
4206 * libc/string/wcstrings.tex: New file.
4207 * libc/string/strtok_r.c: Remove outdated advertising clause.
4208 * libc/string/Makefile.am (doc): Add wide-character string
4209 chapter to documentation.
4210 * libc/string/Makefile.in: Regenerated.
4211
890e7a1d
JJ
42122002-08-29 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
4213
4214 * libc/include/wchar.h: Define NULL. Define WEOF more general
4215 way. Declare functions in newlib manner.
4216 * libc/stdlib/Makefile.am: Delete wmem*.c
4217 * libc/stdlib/Makefile.in: Regenerated.
4218 * libc/stdlib/wmemchr.c: Delete.
4219 * libc/stdlib/wmemcmp.c: Ditto.
4220 * libc/stdlib/wmemcpy.c: Ditto.
4221 * libc/stdlib/wmemmove.c: Ditto.
4222 * libc/stdlib/wmemset.c: Ditto.
4223 * libc/string/Makefile.am: Add wmem*.c and wcs*.c.
4224 * libc/string/Makefile.in: Regenerated.
4225 * libc/string/wcscat.c: New file derived from the NetBSD C Library.
4226 * libc/string/wcschr.c: Ditto.
4227 * libc/string/wcscmp.c: Ditto.
4228 * libc/string/wcscpy.c: Ditto.
4229 * libc/string/wcscspn.c: Ditto.
4230 * libc/string/wcslcat.c: Ditto.
4231 * libc/string/wcslcpy.c: Ditto.
4232 * libc/string/wcslen.c: Ditto.
4233 * libc/string/wcsncat.c: Ditto.
4234 * libc/string/wcsncmp.c: Ditto.
4235 * libc/string/wcsncpy.c: Ditto.
4236 * libc/string/wcspbrk.c: Ditto.
4237 * libc/string/wcsrchr.c: Ditto.
4238 * libc/string/wcsspn.c: Ditto.
4239 * libc/string/wcsstr.c: Ditto.
4240 * libc/string/wmemchr.c: Ditto.
4241 * libc/string/wmemcmp.c: Ditto.
4242 * libc/string/wmemcpy.c: Ditto.
4243 * libc/string/wmemmove.c: Ditto.
4244 * libc/string/wmemset.c: Ditto.
4245
86620e21
JJ
42462002-08-29 Jeff Johnston <jjohnstn@redhat.com>
4247
4248 * libc/locale/locale.c (_setlocale_r)[MB_CAPABLE]: Fix so
4249 default locale "" is accepted for LC_CTYPE or LC_MESSAGES
4250 and is treated as if "C" was specified.
4251
f3741c27
JJ
42522002-08-28 Jeff Johnston <jjohnstn@redhat.com>
4253
4254 * Makefile.am (install-data-local): Move install of build
4255 newlib.h after installing headers in libc/include so as to
4256 overwrite default newlib.h.
4257 * Makefile.in: Regenerated.
4258
48da61f5
JJ
42592002-08-28 Jeff Johnston <jjohnstn@redhat.com>
4260
4261 * libc/include/newlib.h: New file for tools that use newlib
4262 headers but don't build newlib first (e.g. gcc).
4263
d82a94ac
JJ
42642002-08-28 Jeff Johnston <jjohnstn@redhat.com>
4265
4266 * libc/stdlib/wmemchr.c: Explicitly include <_ansi.h>.
4267 * libc/stdlib/wmemcmp.c: Ditto.
4268 * libc/stdlib/wmemcpy.c: Ditto.
4269 * libc/stdlib/wmemmove.c: Ditto.
4270 * libc/stdlib/wmemset.c: Ditto.
4271
7d08241b
JJ
42722002-08-27 Egor Duda <deo@logos-m.ru>
4273
4274 * libc/stdlib/wmemchr.c: New file.
4275 * libc/stdlib/wmemcmp.c: Ditto.
4276 * libc/stdlib/wmemcpy.c: Ditto.
4277 * libc/stdlib/wmemmove.c: Ditto.
4278 * libc/stdlib/wmemset.c: Ditto.
4279 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add new files.
4280 * configure.host: Default -DMB_CAPABLE for cygwin.
4281 * libc/include/wchar.h: Declare wmemchr(), wmemcmp(), wmemcpy(),
4282 wmemmove() and wmemset(). Add include of <_ansi.h>.
4283 * libc/stdlib/Makefile.in: Regenerate.
4284
8da1639b
JJ
42852002-08-27 Jeff Johnston <jjohnstn@redhat.com>
4286
ff2bf852 4287 * configure.host: Remove _ELIX_LEVEL flag setting.
8da1639b
JJ
4288 * Makefile.am(stmp-targ-include): Copy newlib.h to targ-include.
4289 (install-data-local): Install newlib.h.
4290 * Makefile.in: Regenerated.
4291 * aclocal.m4: Ditto.
4292 * configure: Ditto.
4293 * configure.in: Add AM_CONFIG_HEADER to generate newlib.h based on
4294 newlib.hin. Add AC_DEFINE_UNQUOTED entries for _ELIX_LEVEL
4295 and _NEWLIB_VERSION to fill in newlib.h header file entries.
4296 In AC_OUTPUT statement, unset ac_file so multilib support does
4297 not use last ac_file temporary used in newlib.h configuration.
4298 * libc/include/_ansi.h: Include <newlib.h>.
4299 * newlib.hin: New template file for newlib.h.
4300 * stamp-h.in: New file.
4301
a4421c11
JJ
43022002-08-26 Wu Yongwei <adah@netstd.com>
4303
4304 * time.h (timezonevar): Change "#if" to "#ifdef".
4305
90b65e2d
JJ
43062002-08-26 Jeff Johnston <jjohnstn@redhat.com>
4307
4308 * Makefile.am(LIBC_OBJECTLISTS): Add STDIO64_OBJECTLIST.
4309 * Makefile.in: Regenerated.
4310 * acinclude.m4: Add support for --enable-newlib-elix-level option.
4311 * aclocal.m4: Regenerated.
4312 * configure: Ditto.
4313 * configure.host: Add code to define _ELIX_LEVEL if
4314 --enable-newlib-elix-level option is used.
4315 * configure.in:
4316 * libc/aclocal.m4: Regenerated.
4317 * libc/configure: Ditto.
4318 * libc/argz/Makefile.am: Add EL/IX level checking.
4319 * libc/argz/Makefile.in: Regenerated.
4320 * libc/argz/dummy.c: New file.
4321 * libc/ctype/Makefile.am: Add EL/IX level checking.
4322 * libc/ctype/Makefile.in: Regenerated.
4323 * libc/locale/Makefile.am: Add EL/IX level checking.
4324 * libc/locale/Makefile.in: Regenerated.
4325 * libc/posix/Makefile.am: Add EL/IX level checking.
4326 * libc/posix/Makefile.in: Regenerated.
4327 * libc/posix/telldir.c: Add EL/IX level checking.
4328 * libc/reent/Makefile.am: Ditto.
4329 * libc/reent/fstat64r.c: Ditto.
4330 * libc/reent/lseek64r.c: Ditto.
4331 * libc/reent/open64r.c: Ditto.
4332 * libc/reent/Makefile.in: Regenerated.
4333 * libc/search/Makefile.am: Add EL/IX level checking.
4334 * libc/search/Makefile.in: Regenerated.
4335 * libc/stdio/Makefile.am: Add EL/IX level checking.
4336 * libc/stdio/Makefile.in: Regenerated.
4337 * libc/stdio64/Makefile.am: Add EL/IX level checking.
4338 * libc/stdio64/Makefile.in: Regenerated.
4339 * libc/stdio64/dummy.c: New file.
9b487837 4340 * libc/stdio64/fgetpos64.c: Fix so _LARGE64_FILES macro is checked
90b65e2d
JJ
4341 after first include.
4342 * libc/stdio64/fopen64.c: Ditto.
4343 * libc/stdio64/freopen64.c: Ditto.
4344 * libc/stdio64/fseeko64.c: Ditto.
4345 * libc/stdio64/fsetpos64.c: Ditto.
4346 * libc/stdio64/ftello64.c: Ditto.
4347 * libc/stdio64/tmpfile64.c: Ditto.
4348 * libc/stdlib/Makefile.am: Add EL/IX level checking.
4349 * libc/stdlib/Makefile.in: Regenerated.
4350 * libc/stdlib/mstats.c: Add EL/IX level checking.
4351 * libc/string/Makefile.am: Ditto.
4352 * libc/string/Makefile.in: Regenerated.
4353 * libc/sys/linux/Makefile.am: Add EL/IX level checking.
4354 * libc/sys/linux/Makefile.in: Regenerated.
4355 * libc/sys/linux/aclocal.m4: Ditto.
4356 * libc/sys/linux/configure: Ditto.
4357 * libc/sys/linux/aio.c: Add EL/IX level checking.
4358 * libc/sys/linux/ftok.c: Ditto.
4359 * libc/sys/linux/getdate.c: Ditto.
4360 * libc/sys/linux/ids.c: Ditto.
4361 * libc/sys/linux/inode.c: Ditto.
4362 * libc/sys/linux/io.c: Ditto.
4363 * libc/sys/linux/process.c: Ditto.
4364 * libc/sys/linux/resource.c: Ditto.
4365 * libc/sys/linux/sched.c: Ditto.
4366 * libc/sys/linux/sig.c: Ditto.
4367 * libc/sys/linux/termios.c: Ditto.
4368 * libc/sys/linux/wait.c: Ditto plus add __waitpid and
4369 __libc___waitpid weak aliases.
4370 * libc/sys/linux/machine/i386/syscall.h: Add new _base macros
4371 that generate the code for a syscall, but do not create a
4372 weak alias.
4373 * libc/syscalls/Makefile.am: Add EL/IX level checking.
4374 * libc/syscalls/Makefile.in: Regenerated.
4375 * libc/time/tzset_r.c: Change to replace strdup with equivalent
4376 functionality.
4377 * libc/unix/Makefile.am: Add EL/IX level checking.
4378 * libc/unix/Makefile.in: Regenerated.
4379
2e2b268c
CF
43802002-08-26 Christopher Faylor <cgf@redhat.com>
4381
4382 * libc/include/malloc.h: On cygwin, define malloc _r functions as
4383 wrapper macros to standard malloc functions.
4384 * libc/include/stdlib.h: Ditto.
4385 * configure.host: Always define MALLOC_PROVIDED on cygwin.
4386
8d9112f2
TF
43872002-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
4388
4389 * libc/include/langinfo.h: New file.
4390 * libc/include/wchar.h: Likewise.
4391 * libc/include/sys/syslimits.h: Likewise.
4392 * libc/locale/fix_grouping.c: Likewise.
4393 * libc/locale/ldpart.c: Likewise.
4394 * libc/locale/ldpart.h: Likewise.
4395 * libc/locale/lmessages.c: Likewise.
4396 * libc/locale/lmessages.h: Likewise.
4397 * libc/locale/lmonetary.c: Likewise.
4398 * libc/locale/lmonetary.h: Likewise.
4399 * libc/locale/lnumeric.c: Likewise.
4400 * libc/locale/lnumeric.h: Likewise.
4401 * libc/locale/nl_langinfo.3: Likewise.
4402 * libc/locale/nl_langinfo.c: Likewise.
4403 * libc/locale/timelocal.c: Likewise.
4404 * libc/locale/timelocal.h: Likewise.
4405 * libc/stdlib/btowc.c: Likewise.
4406 * libc/stdlib/mbrlen.c: Likewise.
4407 * libc/stdlib/mbrtowc.c: Likewise.
4408 * libc/stdlib/mbsinit.c: Likewise.
4409 * libc/stdlib/mbsrtowcs.c: Likewise.
4410 * libc/stdlib/wcrtomb.c: Likewise.
4411 * libc/stdlib/wcsrtombs.c: Likewise.
4412 * libc/stdlib/wctob.c: Likewise.
4413 * libc/sys/linux/prof-freq.c: Likewise.
4414 * libc/sys/linux/profile.c: Likewise.
4415 * libc/sys/linux/machine/i386/dl-procinfo.c: Likewise.
4416 * libc/sys/linux/machine/i386/dl-procinfo.h: Likewise.
4417 * libc/include/stdlib.h: Change re-entrant functions to take
4418 mbstate_t pointers.
4419 * libc/include/sys/_types.h: Define _mbstate_t.
4420 * libc/include/sys/config.h (MB_LEN_MAX): New macro.
4421 * libc/include/sys/errno.h (EILSEQ): New error code.
4422 * libc/include/sys/reent.h: Include wchar.h. Change reentrant
4423 structure to use mbstate_t.
4424 * libc/locale/Makefile.am (LIB_SOURCES): Add new files.
4425 * libc/machine/powerpc/vfprintf.c: Use mbstate_t.
4426 * libc/machine/powerpc/vfscanf.c: Likewise.
4427 * libc/stdio/getdelim.c: Reallocate buffer only when necessary.
4428 * libc/stdio/vfprintf.c: Likewise.
4429 * libc/stdio/vfscanf.c: Likewise.
4430 * libc/stdlib/Makefile.am (LIB_SOURCES): Add new files.
4431 * libc/stdlib/mblen.c: Use mbstate_t.
4432 * libc/stdlib/mblen_r.c: Likewise.
4433 * libc/stdlib/mbstowcs.c: Likewise.
4434 * libc/stdlib/mbstowcs_r.c: Likewise.
4435 * libc/stdlib/mbtowc.c: Likewise.
4436 * libc/stdlib/mbtowc_r.c: Likewise.
4437 * libc/stdlib/wcstombs.c: Likewise.
4438 * libc/stdlib/wcstombs_r.c: Likewise.
4439 * libc/stdlib/wctomb_r.c: Likewise.
4440 * libc/sys/linux/Makefile.am (LIB_SOURCES): Add prof-freq.c and
4441 profile.c.
4442 * libc/sys/linux/machine/i386/Makefile.am (LIB_SOURCES): Add
4443 dl-procinfo.c.
4444 * libc/sys/linux/sys/errno.h (EILSEQ): New error code.
4445 * libc/sys/linux/sys/types.h (off_t): Define type.
4446 * testsuite/newlib.locale/UTF-8.c: Change locale name from UTF-8
4447 to C-UTF-8.
4448 * testsuite/newlib.locale/UTF-8.exp: Likewise.
4449
fe47ea33
JJ
44502002-08-20 Casper S. Hornstrup <chorns@users.sourceforge.net>
4451
4452 * libc/stdlib/mallocr.c: #include windows.h on Win32.
4453 (AlignPage): Continue macro on next line.
4454
ada73509
JJ
44552002-08-19 Jeff Johnston <jjohnstn@redhat.com>
4456
4457 * libc/sys/linux/include/pthread.h: New file.
4458
64b5e8f2
JJ
44592002-08-19 Jeff Johnston <jjohnstn@redhat.com>
4460
4461 * libc/include/sys/types.h: Support __need_inttypes macro
4462 that only sets the __intxx and __uintxx types.
4463 * libc/machine/powerpc/Makefile.am: Add stdlib to include directories
4464 to get mprec.h.
4465 * libc/machine/powerpc/Makefile.in: Regenerated.
4466 * libc/machine/powerpc/vfprintf.c: Fix state variable type.
4467 * libc/machine/powerpc/vfscanf.c: Fix state variable type. Remove
4468 redundant fixed-point conversion prototypes.
4469 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Include <sys/types.h>
4470 after setting __need_inttypes.
4471
a94b60ce
CF
44722002-08-18 Christopher Faylor <cgf@redhat.com>
4473
4474 * libc/include/sys/unistd.h: Add getsid declaration for cygwin.
4475
29e17a86
JJ
44762002-08-17 Jeff Johnston <jjohnstn@redhat.com>
4477
4478 * libc/include/sys/config.h[__PPC__][__SPE__]: Set
4479 _LONG_DOUBLE to double.
4480
936b520f
JJ
44812002-08-17 Jeff Johnston <jjohnstn@redhat.com>
4482
4483 * configure.host: Add powerpc*-*-eabispe* configuration.
4484 * libc/machine/powerpc/atosfix16.c: New fixed-point conversion file.
4485 * libc/machine/powerpc/atosfix32.c: Ditto.
4486 * libc/machine/powerpc/atosfix64.c: Ditto.
4487 * libc/machine/powerpc/atoufix16.c: Ditto.
4488 * libc/machine/powerpc/atoufix32.c: Ditto.
4489 * libc/machine/powerpc/atoufix64.c: Ditto.
4490 * libc/machine/powerpc/fix64.h: Ditto.
4491 * libc/machine/powerpc/simdldtoa.c: Ditto.
4492 * libc/machine/powerpc/strtosfix16.c: Ditto.
4493 * libc/machine/powerpc/strtosfix32.c: Ditto.
4494 * libc/machine/powerpc/strtosfix64.c: Ditto.
4495 * libc/machine/powerpc/strtoufix16.c: Ditto.
4496 * libc/machine/powerpc/strtoufix32.c: Ditto.
4497 * libc/machine/powerpc/strtoufix64.c: Ditto.
4498 * libc/machine/powerpc/ufix64toa.c: Ditto.
4499 * libc/machine/powerpc/configure.in: Add check for
4500 powerpc*-eabispe and add fixed-point conversion functions.
4501 * libc/machine/powerpc/configure: Regenerated.
4502 * libc/machine/powerpc/vfprintf.c[__SPE__]: Add support for
4503 %r and %R format specifiers which handle fixed-point data.
4504 * libc/machine/powerpc/vfscanf.c[__SPE__]: Ditto.
4505 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Add fixed-point
4506 function prototypes.
4507
ad552766
JJ
45082002-08-17 Jeff Johnston <jjohnstn@redhat.com>
4509
4510 * Makefile.am: Move cmath stuff into libc/sys/linux.
4511 * Makefile.in: Regenerated.
4512 * configure.host: Default -DMB_CAPABLE for x86-linux.
4513 * libc/include/reent.h: Define _sbrk to take signed int argument.
4514 * libc/include/sys/unistd.h: Ditto for _sbrk_r and sbrk.
4515 * libc/locale/locale.c[MB_CAPABLE]: Add LC_MESSAGES support and
4516 make locale name checking more efficient. Also allow "C-ISO-8859-1"
4517 locale for LC_CTYPE and LC_MESSAGES.
4518 * libc/reent/sbrkr.c: Change prototype to take ptrdiff_t.
4519 * libc/sys/linux/brk.c: Change sbrk prototype.
4520 * libc/sys/linux/include/time.h: Remove Cygwin stuff and
4521 include <sys/features.h>.
4522 (CLOCK_THREAD_CPUTIME): Renamed to CLOCK_THREAD_CPUTIME_ID.
4523 (CLOCK_PROCESS_CPUTIME): Renamed to CLOCK_PROCESS_CPUTIME_ID.
4524 * libc/sys/linux/sys/cdefs.h: Replace with glibc sys/cdefs.h
4525 with a few local additions.
4526 * libc/sys/linux/sys/features.h: New file.
4527 * libc/sys/linux/sys/unistd.h: Change _sbrk_r and sbrk prototypes
4528 to take signed argument.
4529 * libc/syscalls/syssbrk.c: Change sbrk, _sbrk_r, and _sbrk
4530 prototypes to take signed size argument.
4531
d3bd3632
TF
45322002-08-16 Thomas Fitzsimmons <fitzsim@redhat.com>
4533
4534 * libc/sys/linux/cmath: New directory.
4535 * libc/sys/linux/include/cmathcalls.h: New file.
4536 * libc/sys/linux/include/complex.h: New file.
4537 * libc/sys/linux/machine/i386/huge_val.h: New file
4538 * libm/math/w_sincos.c: New file
4539 * libm/math/wf_sincos.c: New file
4540 * libm/mathfp/s_sincos.c: New file
4541 * libm/mathfp/sf_sincos.c: New file
4542 * Makefile.am (LIBC_OBJECTLISTS): Add cmath/objectlist.awk.in.
4543 * libc/include/math.h: Add sincos and sincosf declarations.
4544 * libc/sys/linux/Makefile.am (SUBDIRS): Add cmath.
4545 (SUBLIBS): Likewise.
4546 * libc/sys/linux/configure.in (AC_OUTPUT): Add cmath.
4547 * libm/math/Makefile.am (src): Add w_sincos.c.
4548 (fsrc): Add wf_sincos.c.
4549 * libm/mathfp/Makefile.am (src): Add s_sincos.c
4550 (fsrc): Add sf_sincos.c.
4551
b3a9676b
JJ
45522002-08-12 Jeff Johnston <jjohnstn@redhat.com>
4553
4554 * libc/sys/linux/machine/i386/crt0.c (__bss_start,_end):
4555 Declare as extern chars and use the address operator to
4556 properly use values set in linker script.
4557
659e7062
JJ
45582002-08-09 Jason Tishler <jason@tishler.net>
4559
4560 * libc/stdlib/mallocr.c: Include <limits.h>.
4561 (request2size): Change macro to do
4562 unsigned long comparisons and avoid signed overflow.
4563 (mALLOc): Add overflow check for the number of bytes to allocate.
4564 (rEALLOc): Ditto.
4565
037240a2
JJ
45662002-08-09 Jeff Johnston <jjohnstn@redhat.com>
4567
4568 * configure.host: Add check for --enable-newlib-io-pos-args
4569 and define WANT_IO_POS_ARGS flag if enabled. Define
4570 the flag by default for x86-linux configurations.
4571 * configure.in: Add support for --enable-newlib-io-pos-args.
4572 * libc/configure.in: Ditto.
4573 * configure: Regenerated.
4574 * libc/configure: Ditto.
4575 * libc/stdio/Makefile.am: Specify -fshort-enums for compiling
4576 vfprintf.c and vfiprintf.c.
4577 * libc/stdio/Makefile.in: Regenerated.
4578 * libc/stdio/vfprintf.c: Add positional argument support that
4579 is enabled by compiling with -DWANT_IO_POS_ARGS.
4580
172fda76
RS
45812002-08-07 Richard Sandiford <rsandifo@redhat.com>
4582
4583 * libc/include/machine/setjmp.h: For mips, define _JBLEN based
4584 based on __mips_soft_float rather than __mips64.
4585 * libc/machine/mips/setjmp.S: Provide hard and soft float versions
4586 of both 32-bit and 64-bit code.
4587
4866247e
CF
45882002-08-04 Christopher Faylor <cgf@redhat.com>
4589
4590 * libc/stdio/popen.c (popen): Allow "rb", "rt", "wb", and "wt"
4591 arguments for popen to match similar functionality in fopen.
4592
b96332ce
CV
45932002-07-29 Pierre Humblet <pierre.humblet@ieee.org>
4594
4595 * libc/include/sys/unistd.h: Add setgroups prototype for Cygwin.
4596
60d99bce
JJ
45972002-07-29 Jeff Johnston <jjohnstn@redhat.com>
4598
4599 * libc/sys/linux/Makefile.am: Add aio64.c.
4600 * libc/sys/linux/Makefile.in: Regenerated.
4601 * libc/sys/linux/aio.c (aio_init): ENOSYS stub added.
4602 * libc/sys/linux/aio64.c: New file.
4603
80a21be0
JJ
46042002-07-26 Jeff Johnston <jjohnstn@redhat.com>
4605
4606 * libc/include/sys/param.h (MAX, MIN): Added macros.
4607 * libc/sys/linux/Makefile.am: Add new files.
4608 * libc/sys/linux/Makefile.in: Regenerated.
4609 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
4610 * libc/sys/linux/inode.c (fchdir): Added syscall.
4611 * libc/sys/linux/ftw.c: New file.
4612 * libc/sys/linux/ftw64.c: Ditto.
4613 * libc/sys/linux/getwd.c: Ditto.
4614 * libc/sys/linux/scandir64.c: Ditto.
4615 * libc/sys/linux/strverscmp.c: Ditto.
4616 * libc/sys/linux/versionsort.c: Ditto.
4617 * libc/sys/linux/versionsort64.c: Ditto.
4618
6b6425cb
JJ
46192002-07-26 Jeff Johnston <jjohnstn@redhat.com>
4620
4621 * libc/string/strings.tex: Fix typo for memccpy.
4622
dc8ac8e6
JJ
46232002-07-25 Jeff Johnston <jjohnstn@redhat.com>
4624
4625 * libc/sys/linux/io64.c (truncate64, ftruncate64): Added.
4626 * libc/sys/linux/sys/types.h (off64_t): Definition added.
4627
aa0ca6fd
JJ
46282002-07-25 Jeff Johnston <jjohnstn@redhat.com>
4629
4630 * libc/sys/linux/Makefile.am: Add fclean.c.
4631 * libc/sys/linux/Makefile.in: Regenerated.
4632 * libc/sys/linux/fclean.c: New file.
4633
61921945
JJ
46342002-07-25 Jeff Johnston <jjohnstn@redhat.com>
4635
4636 * libc/sys/linux/Makefile.am: Add confstr.c.
4637 * libc/sys/linux/Makefile.in: Regenerated.
4638 * libc/sys/linux/confstr.c: New file.
4639 * libc/sys/linux/confstr.h: Ditto.
4640 * libc/sys/linux/sys/unistd.h: Include <features.h> and
4641 <bits/environments.h>.
4642
3d966a92
JJ
46432002-07-25 Jeff Johnston <jjohnstn@redhat.com>
4644
4645 * libc/sys/linux/config.h (__set_errno): Macro definition removed.
4646 * libc/sys/linux/fpathconf.c (__set_errno): Ditto.
4647 * libc/sys/linux/libc-internal.h (__set_errno): Ditto.
4648 * libc/sys/linux/pathconf.c (__set_errno): Ditto.
4649 * libc/sys/linux/ttyname_r.c (__set_errno): Ditto.
4650 * libc/sys/linux/sys/errno.h (__set_errno): Macro definition added.
4651
53b5bff7
JJ
46522002-07-24 Jeff Johnston <jjohnstn@redhat.com>
4653
4654 * libc/sys/linux/Makefile.am: Add new files.
4655 * libc/sys/linux/Makefile.in: Regenerated.
4656 * libc/sys/linux/fstab.c: New file.
4657 * libc/sys/linux/fstatvfs.c: Ditto.
4658 * libc/sys/linux/fstatvfs64.c: Ditto.
4659 * libc/sys/linux/internal_statvfs.c: Ditto.
4660 * libc/sys/linux/mntent.c: Ditto.
4661 * libc/sys/linux/mntent_r.c: Ditto.
4662 * libc/sys/linux/statvfs.c: Ditto.
4663 * libc/sys/linux/statvfs64.c: Ditto.
4664 * libc/sys/linux/include/paths.h: Ditto.
4665 * libc/sys/linux/inode.c (statfs, fstatfs): New syscalls
4666 with double-underscore weak-aliases.
4667 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
4668
9cef8ef5
JJ
46692002-07-24 Jeff Johnston <jjohnstn@redhat.com>
4670
4671 * libc/include/signal.h (SIG_IGN, SIG_DFL, SIG_ERR): Change
4672 to use _sig_func_ptr type casted constants.
4673 (_sig_func_ptr): Typedef moved to sys/signal.h.
4674 * libc/include/sys/signal.h (_sig_func_ptr): Typedef added.
4675 For __rtems, use POSIX definition, otherwise default to ANSI.
4676 * libc/sys/linux/sys/signal.h (_sig_func_ptr): Typedef added.
4677
a703e0f2
JJ
46782002-07-24 Stephane Carrez <stcarrez@nerim.fr>
4679
4680 * configure.host: Recognize m6811-elf and m6812-elf targets.
4681 * libc/include/machine/setjmp.h (_JBLEN): Define for 68hc11/68hc12.
4682 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Define for 68HC11.
4683 (_DOUBLE_IS_32BITS): Define when compiling with -fshort-double.
4684 * libc/include/sys/config.h (INT_MAX, UINT_MAX): Define
4685 according to __INT_MAX__.
4686 (_POINTER_INT): Define to short.
4687 * libc/machine/m68hc11/Makefile.am: New file.
4688 * libc/machine/m68hc11/Makefile.in: New file.
4689 * libc/machine/m68hc11/configure.in: New file.
4690 * libc/machine/m68hc11/configure: New file.
4691 * libc/machine/m68hc11/aclocal.m4: New file.
4692 * libc/machine/m68hc11/setjmp.S: New file.
4693
d254189b
JJ
46942002-07-23 Jeff Johnston <jjohnstn@redhat.com>
4695
4696 * libc/include/string.h: Add mempcpy, strndup, and _strndup_r
4697 prototypes.
4698 * libc/stdlib/Makefile.am: Remove strdup.c and strdup_r.c.
4699 * libc/stdlib/Makefile.in: Regenerated.
4700 * libc/stdlib/strdup.c: Removed.
4701 * libc/stdlib/strdup_r.c: Removed.
4702 * libc/string/Makefile.am: Add strdup.c, strdup_r.c, memccpy.c,
4703 mempcpy.c, strndup.c, and strndup_r.c.
4704 * libc/string/Makefile.in: Regenerated.
4705 * libc/string/memccpy.c: New file.
4706 * libc/string/mempcpy.c: Ditto.
4707 * libc/string/strndup.c: Ditto.
4708 * libc/string/strndup_r.c: Ditto.
4709 * libc/string/strdup.c: New file moved from stdlib.
4710 * libc/string/strdup_r.c: Ditto.
4711 * libc/string/strings.tex: Add memccpy and mempcpy documentation.
4712
bc100655
JJ
47132002-07-23 Jeff Johnston <jjohnstn@redhat.com>
4714
4715 * libc/include/stdio.h: Move fcloseall prototype within
4716 #ifndef _REENT_ONLY section.
4717 * libc/sys/linux/Makefile.am: Add new files.
4718 * libc/sys/linux/Makefile.in: Regenerated.
4719 * libc/sys/linux/sys/stdio.h: Add ctermid prototype.
4720 * libc/sys/linux/sys/unistd.h: Add ttyname_r prototype.
4721 * libc/sys/linux/sys/types.h: Add ino64_t type.
4722 * libc/sys/linux/ctermid.c: New file.
4723 * libc/sys/linux/ttyname_r.c: Ditto.
4724 * libc/sys/linux/readdir64.c: Ditto.
4725
f5f27f07
JJ
47262002-07-22 Jeff Johnston <jjohnstn@redhat.com>
4727
4728 * libc/include/stdio.h (fcloseall, _fcloseall_r): Added prototypes.
4729 * libc/stdio/Makefile.am: Added fcloseall.c support.
4730 * libc/stdio/Makefile.in: Regenerated.
4731 * libc/stdio/fcloseall.c: New file.
4732 * libc/stdio64/Makefile.am: Remove missing .def references.
4733 * libc/stdio64/Makefile.in: Regenerated.
4734
d541ba3e
JJ
47352002-07-22 Jeff Johnston <jjohnstn@redhat.com>
4736
4737 * libc/machine/powerpc/time.c: Removed..renamed to times.c.
4738 * libc/machine/powerpc/times.c: New file.
4739 * libc/machine/powerpc/Makefile.am: Change time.c to times.c.
4740 * libc/machine/powerpc/Makefile.in: Regenerated.
4741
47422002-07-22 Aldy Hernandez <aldyh@redhat.com>
e964bca8
JJ
4743
4744 * libc/machine/powerpc/time.c: New file.
4745 * libc/machine/powerpc/Makefile.am (lib_a_SOURCES): Add
4746 time.c.
4747 * libc/machine/powerpc/Makefile.in: Regenerated.
4748
5e7d0a55
TF
47492002-07-22 Thomas Fitzsimmons <fitzsim@redhat.com>
4750
4751 * libc/libc.texinfo: Change copyright notices to Red Hat from
4752 Cygnus.
4753 * libm/libm.texinfo: Likewise.
4754 * README: Change docs URL to
4755 http://sources.redhat.com/newlib/docs.html.
4756
504628e7
JJ
47572002-07-19 Jeff Johnston <jjohnstn@redhat.com>
4758
4759 * libc/sys/linux/Makefile.am: Add pathconf.c and fpathconf.c.
4760 * libc/sys/linux/Makefile.in: Regenerated.
4761 * libc/sys/linux/inode.c: Add chmod, fchmod, and chown syscalls.
4762 * libc/sys/linux/io.c: Add ftruncate syscall.
4763 * libc/sys/linux/fpathconf.c: New file.
4764 * libc/sys/linux/pathconf.c: Ditto.
4765 * libc/sys/linux/linux_fsinfo.h: Ditto.
4766 * libc/sys/linux/sys/unistd.h: Ditto.
4767
b155ad9f
JJ
47682002-07-19 Jeff Johnston <jjohnstn@redhat.com>
4769
4770 * libc/stdio64/Makefile.am: Remove missing files.
4771 * libc/stdio64/Makefile.in: Regenerated.
4772
c119e0ab
JJ
47732002-07-19 Jeff Johnston <jjohnstn@redhat.com>
4774
4775 * libc/include/sys/config.h[__i386__][__linux__]: Define
4776 _LARGE64FILE_SOURCE to 1.
4777 * libc/sys/linux/Makefile.am: Add getrlimit64.c and setrlimit64.c.
4778 * libc/sys/linux/Makefile.in: Regenerated.
4779 * libc/sys/linux/resource.c: Add __getrlimit and __setrlimit aliases.
4780 * libc/sys/linux/sys/linux_time.h: Protect struct timeval definition.
4781 * libc/sys/linux/sys/resource.h: Include <bits/resource.h> instead
4782 of <linux/resource.h>.
4783 * libc/sys/linux/getrlimit64.c: New file.
4784 * libc/sys/linux/setrlimit64.c: Ditto.
4785
9b022d6d
TF
47862002-07-19 Thomas Fitzsimmons <fitzsim@redhat.com>
4787
4788 * libc/argz/argz_replace.c: Include buf_findstr.h.
4789 * libc/argz/buf_findstr.c: Likewise.
4790 * libc/argz/envz_entry.c: Include buf_findstr.h. Cast return
4791 value to (char *).
4792 * libc/argz/envz_get.c: Likewise.
4793 * libc/include/sys/unistd.h: Add getopt and getsubopt declarations.
4794 * libc/stdlib/Makefile.am (LIB_SOURCES): Add getsubopt.c.
4795 * libc/stdlib/getsubopt.3: New file.
4796 * libc/stdlib/getsubopt.c: New file.
4797 * libc/sys/linux/machine/i386/socketcall.h (__sockcall_base):
4798 Change esp to ebp.
4799
dee51391
JJ
48002002-07-17 Jeff Johnston <jjohnstn@redhat.com>
4801
4802 * configure.host(stdio64_dir): New setting that is used to
4803 enable building of new stdio64 directory.
4804 * libc/Makefile.am[HAVE_STDIO64_DIR]: Add support for
4805 large files.
4806 (stmp-stdio64,stdio64.texi): New targets to optionally add in
4807 stdio64 info to info files.
4808 * libc/Makefile.in: Regenerated.
4809 * libc/configure: Ditto.
4810 * libc/configure.in: Add configuration variables that are set
4811 when stdio64 is selected as subdir in configure.host.
4812 * libc/libc.texinfo: Add optional menu item for Stdio64, based
4813 on whether STDIO64 flag is set or not.
4814 * libc/sys.tex: Add optional stdio64 syscalls based on whether
4815 STDIO64 flag is set or not.
4816 * libc/include/reent.h[__LARGE64_FILES]: Add new stdio64
4817 _r sycall routines.
4818 * libc/include/stdio.h[__LARGE64_FILES]: Add new stdio64 prototypes.
4819 (FILE): Typedef'd to __FILE instead of struct __sFILE directly.
4820 (__SL64): New file flag indicating file is opened via fopen64.
4821 * libc/include/sys/_types.h(_off64_t): Added.
4822 * libc/include/sys/config.h: For x86-linux, define __LARGE64_FILES.
4823 * libc/include/sys/reent.h(struct __sFILE64): New file structure
4824 for 64-bit offset large file support.
4825 (__FILE): New intermediate type either set to struct __sFILE64 or
4826 struct __sFILE, depending on whether __LARGE64_FILES is set or not.
4827 * libc/reent/Makefile.am[HAVE_STDIO64_DIR]: Add new files.
4828 * libc/reent/Makefile.in: Regenerated.
4829 * libc/reent/fstat64r.c: New file.
4830 * libc/reent/lseek64r.c: Ditto.
4831 * libc/reent/open64r.c: Ditto.
4832 * libc/reent/reent.tex: Optionally add stdio64 reentrant syscalls
4833 based on whether STDIO64 flag is set.
4834 * libc/stdio/stdio.tex: Add blank line.
4835 * libc/stdio64/Makefile.am: New file.
4836 * libc/stdio64/Makefile.in: Ditto.
4837 * libc/stdio64/fgetpos64.c: Ditto.
4838 * libc/stdio64/fopen64.: Ditto.
4839 * libc/stdio64/freopen64.c: Ditto.
4840 * libc/stdio64/fseeko64.c: Ditto.
4841 * libc/stdio64/fsetpos64.c: Ditto.
4842 * libc/stdio64/ftello64.c: Ditto.
4843 * libc/stdio64/local64.h: Ditto.
4844 * libc/stdio64/stdio64.c: Ditto.
4845 * libc/stdio64/stdio64.tex: Ditto.
4846 * libc/stdio64/tmpfile64.c: Ditto.
4847 * libc/sys/linux/io64.c: Add weak aliases for lseek64, fstat64, and
4848 open64.
4849
778876f6
JJ
48502002-07-16 Jeff Johnston <jjohnstn@redhat.com>
4851
4852 * libc/Makefile.am (stmp-extra): New target to set makeinfo flag
4853 if LIBC_EXTRA_LIB is present.
4854 * libc/Makefile.in: Regenerated.
4855 * libc/libc.texinfo: Add blank line.
4856 * libc/argz/Makefile.am: Add doc support.
4857 * libc/search/Makefile.am: Ditto.
4858 * libc/argz/Makefile.in: Regenerated.
4859 * libc/search/Makefile.in: Ditto.
4860 * libc/misc/misc.tex: Add ffs function.
4861 * libc/stdio/ftell.c: Fix missing doc delimeter in description.
4862
37981145
JJ
48632002-07-15 Jeff Johnston <jjohnstn@redhat.com>
4864
4865 * libc/include/sys/config.h[__H8300__]: Replace __SMALL_BITFIELDS
4866 definition that was removed in error.
4867
38b5dc59
JJ
48682002-07-15 Jeff Johnston <jjohnstn@redhat.com>
4869
4870 * libc/include/machine/ieeefp.h: Change to only define
4871 floating point defines (e.g one of __IEEE_BIG_ENDIAN or
4872 __IEEE_LITTLE_ENDIAN must be defined for each platform).
4873 * libc/include/sys/config.h: Include <machine/ieeefp.h> and
4874 remove redundant floating point definitions.
4875
8cb61a96
JJ
48762002-07-15 Jeff Johnston <jjohnstn@redhat.com>
4877
4878 * libc/sys/linux/callocr.c: Fix so code references
4879 calloc.
4880
edba3282
JJ
48812002-07-15 Jeff Johnston <jjohnstn@redhat.com>
4882
4883 * libc/sys/linux/Makefile.am: Add new files.
4884 * libc/sys/linux/Makefile.in: Regenerated.
4885 * libc/sys/linux/bp-sym.h: Moved to include directory.
4886 * libc/sys/linux/mmap.c: Add weak aliases: __mmap, __munmap, __mremap.
4887 * libc/sys/linux/inode.c: Set _LIBC to 1.
4888 * libc/sys/linux/mq_close.c: Ditto.
4889 * libc/sys/linux/mq_getattr.c: Ditto.
4890 * libc/sys/linux/mq_open.c: Ditto.
4891 * libc/sys/linux/mq_receive.c: Ditto.
4892 * libc/sys/linux/mq_send.c: Ditto.
4893 * libc/sys/linux/mq_setattr.c: Ditto.
4894 * libc/sys/linux/mq_unlink.c: Ditto.
4895 * libc/sys/linux/calloc.c: New file.
4896 * libc/sys/linux/callocr.c: Ditto.
4897 * libc/sys/linux/cfreer.c: Ditto.
4898 * libc/sys/linux/config.h: Ditto.
4899 * libc/sys/linux/free.c: Ditto.
4900 * libc/sys/linux/freer.c: Ditto.
4901 * libc/sys/linux/msize.c: Ditto.
4902 * libc/sys/linux/msizer.c: Ditto.
4903 * libc/sys/linux/mstats.c: Ditto.
4904 * libc/sys/linux/mtrim.c: Ditto.
4905 * libc/sys/linux/mtrimr.c: Ditto.
4906 * libc/sys/linux/pvallocr.c: Ditto.
4907 * libc/sys/linux/realloc.c: Ditto.
4908 * libc/sys/linux/reallocr.c: Ditto.
4909 * libc/sys/linux/thread-m.h: Ditto.
4910 * libc/sys/linux/vallocr.c: Ditto.
4911 * libc/sys/linux/bp-checks.h: Ditto.
4912 * libc/sys/linux/libc-symbols.h: Ditto.
4913 * libc/sys/linux/libc-tsd.h: Ditto.
4914 * libc/sys/linux/libintl.h: Ditto.
4915 * libc/sys/linux/malign.c: Ditto.
4916 * libc/sys/linux/malignr.c: Ditto.
4917 * libc/sys/linux/mallinfor.c: Ditto.
4918 * libc/sys/linux/malloc.c: Ditto.
4919 * libc/sys/linux/mallocr.c: Ditto.
4920 * libc/sys/linux/malloptr.c: Ditto.
4921 * libc/sys/linux/mallstatsr.c: Ditto.
4922 * libc/sys/linux/mcheck.c: Ditto.
4923 * libc/sys/linux/mhooks.h: Ditto.
4924 * libc/sys/linux/include/bp-sym.h: Ditto.
4925 * libc/sys/linux/include/malloc.h: Ditto.
4926 * libc/sys/linux/include/mcheck.h: Ditto.
4927 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Remove
4928 getpagesize.c.
4929 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerated.
4930 * libc/sys/linux/linuxthreads/machine/i386/getpagesize.c: Moved.
4931 * libc/sys/linux/machine/i386/getpagesize.c: New file.
4932 * libc/sys/linux/machine/i386/Makefile.am: Add getpagesize.c.
4933 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
4934 * libc/sys/linux/machine/i386/sysdep.h: New file.
4935 * libc/sys/linux/machine/i386/weakalias.h: Add weak_function support.
4936 * libc/sys/linux/sys/dirent.h: Set _LIBC to 1.
4937 * libc/sys/linux/sys/lock.h: Include <machine/weakalias.h>.
4938
ea20b60a
JJ
49392002-07-12 Jeff Johnston <jjohnstn@redhat.com>
4940
4941 * libc/sys/linux/include/mqueue.h: Change to use <bits/siginfo.h>
4942 instead of <asm/siginfo.h>.
4943 * libc/sys/linux/sys/signal.h: Change to include various linux
4944 <bits/xxx.h> header files, rather than <linux/signal.h> so as
4945 to work with multiple releases of glibc header files.
4946
2fc82912
JJ
49472002-07-11 Chris Demetriou <cgd@broadcom.com>
4948
4949 * testsuite/newlib.search/hsearchtest.c: New file to test
4950 newlib/libc/search.
4951 * testsuite/newlib.search/hsearchtest.exp: Likewise.
4952
4a404e97 49532002-07-10 Florian Schrack <florian.schrack@freenet.de>
2a8b4ea3
JJ
4954
4955 * libc/sys/mmixware/read.c: Use SYS_Fgets syscall if dealing with
4956 a terminal.
4957 * libc/sys/mmixware/sys/syscall.h (SYS_Fgets): Definition added.
4958
6aec558e
JJ
49592002-07-08 Jeff Johnston <jjohnstn@redhat.com>
4960
4961 * libc/include/math.h (MAXFLOAT): Added.
4962
e47e6f0e 4963Mon Jul 8 13:55:23 2002 J"orn Rennecke <joern.rennecke@superh.com>
a31df303
JR
4964
4965 * libc/machine/sh/Makefile.am (lib_a_SOURCES):
4966 Make strcmp.S unconditional.
4967 * libc/machine/sh/Makefile.in: Regenerate.
4968 * libc/machine/sh/asm.h (DELAYED_BRANCHES, SL): Also for __SH5__ .
4969 * strcmp.S (strcmp): Add SHmedia variant. Use different registers
4970 for SHcompact.
4971
89ffbd66
JJ
49722002-07-04 Jeff Johnston <jjohnstn@redhat.com>
4973
4974 * libc/sys/linux/inode.c: Fix utime prototype and add _LIBC
4975 define before including <sys/lock.h>.
4976
ae6c4c84
JJ
49772002-07-04 Jeff Johnston <jjohnstn@redhat.com>
4978
4979 * libc/include/utime.h: Add include of <_ansi.h>.
4980 * libc/sys/linux/Makefile.am: Add utimes.c.
4981 * libc/sys/linux/Makefile.in: Regenerated.
4982 * libc/sys/linux/inode.c(__umask): New static routine.
4983 (umask): Written to use __umask and attempt to thread lock.
4984 (getumask): New function written to use __umask and thread lock.
4985 * libc/sys/linux/utimes.c: New file.
4986 * libc/sys/linux/sys/time.h: Fix utimes prototype.
4987 * libc/sys/linux/sys/utime.h: New file.
4988
a6cac46c
TF
49892002-07-04 Thomas Fitzsimmons <fitzsim@redhat.com>
4990
4991 * libtool.m4: New file.
4992 * libc/sys/linux/process.c: Implement vfork in terms of fork,
4993 rather than as a syscall.
4994
30b2092f
JJ
49952002-07-04 Jeff Johnston <jjohnstn@redhat.com>
4996
4997 * libc/include/stdio.h: Add new prototypes.
4998 * libc/stdio/Makefile.am: Add fseeko.c and ftello.c.
4999 * libc/stdio/Makefile.in: Regenerated.
5000 * libc/stdio/fseek.c: Add fseeko documentation.
5001 * libc/stdio/ftell.c: Add ftello documentation.
5002 * libc/stdio/fseeko.c: New file.
5003 * libc/stdio/ftello.c: New file.
5004
7501704d
JJ
50052002-07-04 Jeff Johnston <jjohnstn@redhat.com>
5006
5007 * libc/stdio/Makefile.am: Add asprintf.c and vasprintf.c.
5008 * libc/stdio/Makefile.in: Regenerated.
5009 * libc/stdio/asprintf.c: New file.
5010 * libc/stdio/vasprintf.c: Ditto.
5011 * libc/stdio/fvwrite.c: Add code to dynamically reallocate
5012 the buffer for asprintf support.
5013 * libc/stdio/sprintf.c: Add asprintf documentation.
5014 * libc/stdio/vfprintf.c: Add vasprintf documentation.
5015 * libc/include/stdio.h: Add new prototypes.
5016
66eee32b
TF
50172002-07-02 Thomas Fitzsimmons <fitzsim@redhat.com>
5018
5019 * libc/search/hcreate.c: Remove advertising clause from license.
5020 * libc/search/hcreate_r.c: Likewise.
5021
cec4a9f8
JJ
50222002-07-02 Chris Demetriou <cgd@broadcom.com>
5023
5024 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN)
5025 (__IEEE_BIG_ENDIAN): Define appropriately for MIPS.
5026 Check that one of them is defined and error out if not.
5027 Add any platforms defined in <machine/ieeefp.h> that are missing.
5028 * libc/search/hash.h (DB_BYTE_ORDER, DB_BIG_ENDIAN)
5029 (DB_LITTLE_ENDIAN): New defines.
5030 * libc/search/hash.c: Replace all incorrect checks for
5031 _IEEE_LITTLE_ENDIAN with tests of BYTE_ORDER, and all uses of
5032 BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN with DB_* versions.
5033 * libc/search/hash_page.c: Likewise.
5034
2d5eb17e
TF
50352002-06-28 Thomas Fitzsimmons <fitzsim@redhat.com>
5036
5037 * libm/mathfp/sf_pow.c (powf): Change k from int to float.
5038
c1a3171f
JJ
50392002-06-27 Benjamin Kosnik <bkoz@redhat.com>
5040
5041 * libc/include/stdio.h: Untangle, add _BEGIN_STD_C and _END_STD_C.
5042 * libc/include/time.h: Same.
5043 * libc/include/string.h: Same.
5044 * libc/include/stdlib.h: Same.
5045 * libc/include/signal.h: Same.
5046 * libc/include/setjmp.h: Same.
5047 * libc/include/math.h: Same.
5048 * libc/include/locale.h: Same.
5049 * libc/include/ctype.h: Same.
5050 * libc/include/machine/setjmp.h: Same.
5051 * libc/include/_ansi.h (_BEGIN_STD_C): Add.
5052 (_END_STD_C): Add.
5053
533b4e66
JJ
50542002-06-27 Jeff Johnston <jjohnstn@redhat.com>
5055
5056 * libc/include/sys/_types.h: Define _ssize_t as int if int is
5057 32-bits, otherwise define it as long.
5058 * libc/include/sys/types.h: Include <_ansi.h> and <sys/_types.h>
5059 and define ssize_t as _ssize_t.
5060 * libc/reent/readr.c: Change return type to _ssize_t.
5061 * libc/reent/writer.c: Ditto.
5062 * libc/sys/linux/Makefile.am: Add aio.c.
5063 * libc/sys/linux/Makefile.in: Regenerated.
5064 * libc/sys/linux/aio.c: New file.
5065 * libc/sys/linux/sys/cdefs.h: Add __restrict_arr definition.
5066 * libm/common/fdlibm.h: Undef __P before defining it.
5067
c36e6dd7
TF
50682002-06-27 Thomas Fitzsimmons <fitzsim@redhat.com>
5069
54be629f
TF
5070 * libm/mathfp/s_pow.c (pow): Fix checks on variable k. Add
5071 exponent_is_even_int variable. Handle case where x is
5072 negative, and y is an odd integer.
5073 * libm/mathfp/sf_pow.c (powf): Likewise.
5074
c36e6dd7
TF
5075 * libm/mathfp/er_lgamma.c: Remove __kernel references.
5076 * libm/mathfp/erf_lgamma.c: Likewise.
5077 * libm/mathfp/s_tgamma.c: Likewise.
5078 * libm/mathfp/sf_tgamma.c: Likewise.
5079
baf051ca
JJ
50802002-06-27 Jeff Johnston <jjohnstn@redhat.com>
5081
5082 * libc/sys/linux/Makefile.am: Add new clock routines.
5083 * libc/sys/linux/Makefile.in: Regenerated.
5084 * libc/sys/linux/clock_getres.c: New file.
5085 * libc/sys/linux/clock_gettime.c: Ditto.
5086 * libc/sys/linux/clock_settime.c: Ditto.
5087 * libc/sys/linux/hp-timing.h: Ditto.
5088 * libc/sys/linux/libc-internal.h: Ditto.
5089 * libc/sys/linux/sysconf.c: Fix typo.
5090 * libc/sys/linux/include/time.h: Add include of <sys/linux_time.h>.
5091 * libc/sys/linux/machine/hp-timing.h: New file.
5092 * libc/sys/linux/machine/i386/Makefile.am: Add new files.
5093 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
5094 * libc/sys/linux/machine/i386/get_clockfreq.c: New file.
5095 * libc/sys/linux/machine/i386/hp-timing.c: Ditto.
5096 * libc/sys/linux/machine/i386/hp-timing.h: Ditto.
5097 * libc/sys/linux/sys/linux_time.h: New file.
5098 * libc/sys/linux/sys/time.h: Remove include of <linux/time.h> and
5099 replace with <sys/linux_time.h>.
5100
0431ed4e
JR
5101Wed Jun 26 16:33:25 2002 J"orn Rennecke <joern.rennecke@superh.com>
5102
5103 * libc/sys/sh/crt0.S: Remove vestigial .section directive.
5104
fc067ba5
JJ
51052002-06-25 Jeff Johnston <jjohnstn@redhat.com>
5106
5107 * libc/sys/linux/Makefile.am: Consolidate additional items under
5108 ADD_OBJS.
5109 * libc/sys/linux/Makefile.in: Regenerated.
5110
ffddf61e
JJ
51112002-06-25 Jeff Johnston <jjohnstn@redhat.com>
5112
5113 * libc/sys/linux/sethostname.c: New file.
5114 * libc/sys/linux/Makefile.am: Add sethostname.c support.
5115 * libc/sys/linux/Makefile.in: Regenerated.
5116
d5487d3f
TF
51172002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
5118
5119 * libc/search/db_local.h: New file.
5120 * libc/include/db.h: Remove.
5121 * libc/search/Makefile.am (LIB_SOURCES): Add db_local.h.
5122 * libc/search/hash.c (MIN,MAX): Add macros. Change <db.h> to
5123 "db_local.h".
5124 * libc/search/hash_bigkey.c: Likewise.
5125 * libc/search/hash_buf.c: Likewise.
5126 * libc/search/hash_func.c: Likewise.
5127 * libc/search/hash_log2.c: Likewise.
5128 * libc/search/hash_page.c: Likewise.
5129
51302002-06-24 J"orn Rennecke <joern.rennecke@superh.com>
e08a6118 5131
1e7ca711 5132 * libc/machine/sh/strlen.S: New file.
e08a6118
JR
5133 * libc/machine/sh/Makefile.am (lib_a_SOURCES): Add rule for it.
5134 * libc/machine/sh/Makefile.am: Regenerate.
5135
59c6d6c4
JJ
51362002-06-24 Jeff Johnston <jjohnstn@redhat.com>
5137
5138 * libc/sys/linux/gethostname.c: Change name to __gethostname and
5139 add gethostname alias.
5140
a70486d7
JJ
51412002-06-24 Jeff Johnston <jjohnstn@redhat.com>
5142
5143 * libc/include/math.h: Remove <sys/types.h>.
a5dadf33 5144 (__dmath): Use __ULong instead of __uint32_t.
a70486d7 5145 * libc/include/sys/reent.h: If long or int is not 32-bits,
a5dadf33 5146 include <sys/types.h> to get definitions for __int32_t and __uint32_t.
a70486d7
JJ
5147 * libc/stdlib/mprec.h: Include <sys/types.h> to get integer defs.
5148 * libm/common/fdlibm.h: Ditto.
5149
3118725a
TF
51502002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
5151
5152 * libc/include/ndbm.h: Remove.
5153 * libc/search/ndbm.c: Remove.
5154
30a06168
TF
51552002-06-24 WATANABE Hirofumi <eban@os.rim.or.jp>
5156
5157 * libc/stdio/fseek.c (fseek): Fix braces.
5158
01f5155e
CV
51592002-06-21 Corinna Vinschen <corinna@vinschen.de>
5160
5161 * libc/time/strftime.c (strftime): Add %e format specifier.
5162
930bc96b
TF
51632002-06-21 Thomas Fitzsimmons <fitzsim@redhat.com>
5164
5165 * libc/search/hash.h (LITTLE_ENDIAN, BIG_ENDIAN): Define if not
5166 previously defined.
5167
55105f86
JJ
51682002-06-21 Richard Earnshaw (rearnsha@arm.com)
5169
5170 * libc/sys/arm/sys/param.h (BIG_ENDIAN, LITTLE_ENDIAN): Define.
5171 (BYTE_ORDER): Define as appropriate for the target.
5172
2e78444a
JJ
51732002-06-21 Jeff Johnston <jjohnstn@redhat.com>
5174
5175 * libc/include/sys/config.h[__linux__]: Set _READ_WRITE_RETURN_TYPE
5176 to _ssize_t.
5177 * libc/sys/linux/io.c (read, write): Change to return ssize_t.
5178
d427d092
JJ
51792002-06-21 Jeff Johnston <jjohnstn@redhat.com>
5180
5181 * libc/include/stdio.h (__getline, __getdelim): New prototypes.
5182 * libc/include/time.h [HAVE_GETDATE](getdate, getdate_r): Ditto.
5183 [HAVE_GETDATE](getdate_err): New error code.
5184 * libc/stdio/Makefile.am: Add support for getline.c and getdelim.c.
5185 * libc/stdio/Makefile.in: Regenerated.
5186 * libc/stdio/getdelim.c: New file.
5187 * libc/stdio/getline.c: Ditto.
5188 * libc/sys/linux/Makefile.am: Add support for getdate.c, getdate_err.c
5189 and ntp_gettime.c. Also add AM_CFLAGS to point to libc/stdio.
5190 * libc/sys/linux/Makefile.in: Regenerated.
5191 * libc/sys/linux/getdate.c: New file.
5192 * libc/sys/linux/getdate_err.c: Ditto.
5193 * libc/sys/linux/ntp_gettime.c: Ditto.
5194 * libc/sys/linux/time.c (adjtimex, ntp_adjtime): New functions.
5195 * libc/sys/linux/sys/stdio.h (getline, getdelim): New macros.
5196
35728d4f
JJ
51972002-06-21 Jeff Johnston <jjohnstn@redhat.com>
5198
5199 * libc/include/math.h: Add <sys/types.h> to get _uint32_t definition.
5200 * libc/include/machine/types.h: Skip __off_t, __pid_t, and
5201 __loff_t definitions if special _HAVE_SYSTYPES macro defined.
5202 * libc/include/sys/config.h: Removed _uint*, _int* definitions.
5203 * libc/include/sys/param.h: Remove i386 case which is handled
5204 by default case.
5205 (BIG_ENDIAN, LITTLE_ENDIAN): Protect
5206 definitions in case they are already defined.
5207 (BYTE_ORDER): Add default case using _IEEE_BIG_ENDIAN and
5208 _IEEE_LITTLE_ENDIAN flags.
5209 * libc/include/sys/reent.h: Change __uint32_t references to
5210 use _ULong instead.
5211 (_REENT_GETDATE_REENT_P): New macro.
5212 * libc/include/sys/types.h (__int16_t, __uint16_t): Added.
5213 (__int32_t, __uint32_t, __int64_t, __uint64_t): Ditto.
5214 * libc/search/hash.h: Add default setting of BYTE_ORDER,
5215 LITTLE_ENDIAN, and BIG_ENDIAN, if not already defined.
5216 * libc/sys/linux/sys/types.h: Include <sys/_types.h>. Define
5217 ssize_t based on _ssize_t. Remove __socklen_t, __uintptr_t,
5218 pid_t, off_t, loff_t, caddr_t, and daddr_t type
5219 definitions which are done by subsequent glibc headers.
5220 Add macro definitions to prevent subsequent header files from
5221 defining pid_t, off_t, ssize_t, and key_t. Move uintptr_t and
5222 intptr_t to after glibc definitions of types they are based on.
5223
4a2bfab7
JJ
52242002-06-21 Jeff Johnston <jjohnstn@redhat.com>
5225
5226 * libc/include/errno.h: Protect from multiple inclusion.
5227
f42d18ea
NC
52282002-06-21 Nick Clifton <nickc@cambridge.redhat.com>
5229
5230 * libc/sys/arm/swi.h (ADP_Stopped_RunTimeError): Set correct value.
5231
a7b23a8f
TF
52322002-06-20 Thomas Fitzsimmons <fitzsim@redhat.com>
5233
5234 * Makefile.am (LIB_OBJECTLISTS): Add
5235 libc/search/objectlist.awk.in.
5236 * libc/Makefile.am (SUBDIRS): Add search.
5237 (SUBLIBS): Add search/libsearch.la.
5238 * libc/configure.in (AC_OUTPUT): Add search/Makefile.
5239 * libc/search: New directory.
5240 * libc/search/Makefile.am: New file.
5241 * libc/search/extern.h: New file.
5242 * libc/search/hash.c: New file.
5243 * libc/search/hash.h: New file.
5244 * libc/search/hash_bigkey.c: New file.
5245 * libc/search/hash_buf.c: New file.
5246 * libc/search/hash_func.c: New file.
5247 * libc/search/hash_log2.c: New file.
5248 * libc/search/hash_page.c: New file.
5249 * libc/search/hcreate.3: New file.
5250 * libc/search/hcreate.c: New file.
a7b23a8f
TF
5251 * libc/search/hcreate_r.c: New file.
5252 * libc/search/ndbm.c: New file.
5253 * libc/search/page.h: New file.
5254 * libc/search/tdelete.c: New file.
5255 * libc/search/tdestroy.c: New file.
5256 * libc/search/tfind.c: New file.
5257 * libc/search/tsearch.3: New file.
5258 * libc/search/tsearch.c: New file.
5259 * libc/search/twalk.c: New file.
5260 * libc/include/db.h: New file.
5261 * libc/include/ndbm.h: New file.
5262 * libc/include/search.h: New file.
5263 * libc/include/sys/queue.h: New file.
5264 * libc/include/sys/cdefs.h: New file.
5265 * libc/include/sys/param.h
5266 [__IEEE_LITTLE_ENDIAN,__IEEE_BIG_ENDIAN]: Set BYTE_ORDER to
5267 LITTLE_ENDIAN or BIG_ENDIAN.
5268 * libc/include/sys/errno.h (EFTYPE): New macro.
5269 * libc/search/bsearch.c: Move from libc/stdlib.
5270 * libc/search/qsort.c: Likewise.
5271 * libc/stdlib/Makefile.am (LIB_SOURCES): Remove bsearch.c and
5272 qsort.c.
5273 (CHEWOUT_FILES): Remove bsearch.def and qsort.def.
5274 * libc/stdlib/stdlib.tex: Remove references to bsearch and qsort.
5275
ef467338
JJ
52762002-06-19 Jeff Johnston <jjohnstn@redhat.com>
5277
5278 * libc/sys/linux/Makefile.am: Add support for message queue routines,
5279 ipc routines, and ftok.
5280 * libc/sys/linux/Makefile.in: Regenerated.
5281 * libc/sys/linux/ftok.c: New file.
5282 * libc/sys/linux/ipc.c: Ditto.
5283 * libc/sys/linux/mq_close.c: Ditto.
5284 * libc/sys/linux/mq_getattr.c: Ditto.
5285 * libc/sys/linux/mq_notify.c: Ditto.
5286 * libc/sys/linux/mq_open.c: Ditto.
5287 * libc/sys/linux/mq_receive.c: Ditto.
5288 * libc/sys/linux/mq_send.c: Ditto.
5289 * libc/sys/linux/mq_setattr.c: Ditto.
5290 * libc/sys/linux/mq_unlink.c: Ditto.
5291 * libc/sys/linux/mqlocal.h: Ditto.
5292 * libc/sys/linux/include/mqueue.h: Ditto.
5293 * libc/sys/linux/sys/types.h: Define __gid_t_defined and
5294 __uid_t_defined.
5295
7f55c08c
TF
52962002-06-19 J"orn Rennecke <joern.rennecke@superh.com>
5297
5298 * libm/common/sf_lround.c (round): Change name to: (lround).
5299 * libm/common/sf_remquo.c (remquo): Pass all arguemnts to
5300 remquof.
5301
c9ca68d7
TF
53022002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
5303
5304 * testsuite/lib/passfail.exp (newlib_pass_fail_all): New
5305 procedure.
5306 (newlib_pass_fail): Change to compile and run only one file.
5307 * testsuite/newlib.locale/locale.exp: Use new
5308 newlib_pass_fail_all procedure.
5309 * testsuite/newlib.string/string.exp: Likewise.
5310
4ecedd09
DB
53112002-06-18 Dave Brolley <brolley@redhat.com>
5312
5313 From Catherine Moore, Michael Meissner, Richard Sandiford:
5314 * libc/include/machine/setjmp.h (_JBLEN): Define for __frv__.
5315 (_JBTYPE): Ditto.
5316 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Ditto.
5317 (__ATTRIBUTE_IMPURE_PTR__): Ditto.
5318 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Ditto.
5319 * configure.host: Support frv-*-*.
5320 * libc/machine/frv/Makefile.am: New file.
5321 * libc/machine/frv/configure.in: New file.
5322 * libc/machine/frv/setjmp.S: New file.
5323
af1c257a
TF
53242002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
5325
5326 * libc/include/ctype.h: Remove isblank macro.
5327
5328 * libc/ctype/Makefile.am (LIB_SOURCES): Add isblank.c.
5329 * libc/ctype/isblank.c: New file.
5330 * libc/include/ctype.h [!__STRICT_ANSI__]: Add isblank
5331 declaration. Add isblank macro.
5332
4e04fa90
JJ
53332002-06-18 Jeff Johnston <jjohnstn@redhat.com>
5334
5335 * testsuite/newlib.stdlib/atexit.c: New file.
5336 * testsuite/newlib.stdlib/atexit.exp: Ditto.
5337 * testsuite/newlib.string/tstring.c: Change default start size
5338 to something more reasonable for embedded platforms.
5339
b56d7e79
TF
53402002-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
5341
ece3c72f
TF
5342 * libc/sys/linux/sys/errno.h (EFTYPE): Add macro.
5343
b56d7e79
TF
5344 * libc/argz: New directory.
5345 * libc/argz/*: New files.
5346 * libc/argz/argz_add.c: New file.
5347 * libc/argz/argz_add_sep.c: New file.
5348 * libc/argz/argz_append.c: New file.
5349 * libc/argz/argz_count.c: New file.
5350 * libc/argz/argz_create.c: New file.
5351 * libc/argz/argz_create_sep.c: New file.
5352 * libc/argz/argz_delete.c: New file.
5353 * libc/argz/argz_extract.c: New file.
5354 * libc/argz/argz_insert.c: New file.
5355 * libc/argz/argz_next.c: New file.
5356 * libc/argz/argz_replace.c: New file.
5357 * libc/argz/argz_stringify.c: New file.
5358 * libc/argz/buf_findstr.c: New file.
5359 * libc/argz/envz_add.c: New file.
5360 * libc/argz/envz_entry.c: New file.
5361 * libc/argz/envz_get.c: New file.
5362 * libc/argz/envz_merge.c: New file.
5363 * libc/argz/envz_remove.c: New file.
5364 * libc/argz/envz_strip.c: New file.
5365 * libc/include/argz.h: New file.
5366 * libc/include/envz.h: New file.
5367 * Makefile.am (LIBC_OBJECTLISTS): Add
5368 libc/argz/objectlist.awk.in.
5369 * libc/Makefile.am (SUBDIRS): Add argz.
5370 (SUBLIBS): Add argz/libargz.la.
5371 * libc/configure.in (AC_OUTPUT): Add argz/Makefile.
5372 * libc/include/errno.h: Add error_t typedef.
5373
d062d3dd
JJ
53742002-06-13 Jeff Johnston <jjohnstn@redhat.com>
5375
5376 * libc/include/stdlib.h: Add _Exit prototype.
5377 * libc/stdlib/Makefile.am: Add _Exit.c support.
5378 * libc/stdlib/Makefile.in: Ditto.
5379 * libc/stdlib/_Exit.c: New file.
5380
a47e66ae
JJ
53812002-06-13 Stephen L. Moshier <steve@moshier.net>
5382
5383 * libm/math/e_pow.c (__ieee754_pow): Fix case whereby
5384 x is close to -1.0 and y is very large to use ax (absolute value)
5385 instead of x.
5386 * libm/math/ef_pow.c (__ieee754_powf): Ditto.
5387
13f7d71f
JR
5388Thu Jun 13 19:23:40 2002 J"orn Rennecke <joern.rennecke@superh.com>
5389
5390 * libc/machine/sh/strcpy.S (strcpy, __SHMEDIA__ code):
5391 Fix clobbering bytes before destination if src and dst have same
5392 non-zero misalignment.
1f1fb421
JR
5393
5394 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
5395 Fixed bug in writing end of set region.
5396
b2e8018f
CF
53972002-06-10 Christopher Faylor <cgf@redhat.com>
5398
5399 * libc/include/process.h: Remove cygwin-only sexec* declarations. Fix
5400 spawnve declaration.
5401
0953fe64
TF
54022002-06-06 Thomas Fitzsimmons <fitzsim@redhat.com>
5403
5404 * libm/common/s_fdim.c: New file.
5405 * libm/common/s_fma.c: Likewise.
5406 * libm/common/s_fmax.c: Likewise.
5407 * libm/common/s_fmin.c: Likewise.
5408 * libm/common/s_fpclassify.c: Likewise.
5409 * libm/common/s_lrint.c: Likewise.
5410 * libm/common/s_lround.c: Likewise.
5411 * libm/common/s_nearbyint.c: Likewise.
5412 * libm/common/s_remquo.c: Likewise.
5413 * libm/common/s_round.c: Likewise.
5414 * libm/common/s_scalbln.c: Likewise.
5415 * libm/common/s_signbit.c: Likewise.
5416 * libm/common/s_trunc.c: Likewise.
5417 * libm/common/sf_fdim.c: Likewise.
5418 * libm/common/sf_fma.c: Likewise.
5419 * libm/common/sf_fmax.c: Likewise.
5420 * libm/common/sf_fmin.c: Likewise.
5421 * libm/common/sf_lrint.c: Likewise.
5422 * libm/common/sf_lround.c: Likewise.
5423 * libm/common/sf_nearbyint.c: Likewise.
5424 * libm/common/sf_remquo.c: Likewise.
5425 * libm/common/sf_round.c: Likewise.
5426 * libm/common/sf_scalbln.c: Likewise.
5427 * libm/common/sf_trunc.c: Likewise.
5428 * libm/math/w_exp2.c: Likewise.
5429 * libm/math/w_tgamma.c: Likewise.
5430 * libm/math/wf_exp2.c: Likewise.
5431 * libm/math/wf_tgamma.c: Likewise.
5432 * libm/mathfp/s_exp2.c: Likewise.
5433 * libm/mathfp/s_tgamma.c: Likewise.
5434 * libm/mathfp/sf_exp2.c: Likewise.
5435 * libm/mathfp/sf_tgamma.c: Likewise.
5436 * libm/math/er_gamma.c: Fix return value.
5437 * libm/math/erf_gamma.c: Likewise.
5438 * libm/mathfp/er_gamma.c: Likewise.
5439 * libm/mathfp/erf_gamma.c: Likewise.
5440 * libc/include/math.h (!__STRICT_ANSI__): Include ISOC99-specific
5441 declarations and macros.
5442 Regenerated all Makefile.in, aclocal.m4 and configure files to
5443 use new libtool macros in top-level libtool.m4
5444
39e65e01
JJ
54452002-06-05 Jeff Johnston <jjohnstn@redhat.com>
5446
5447 * libc/include/string.h[__linux__]: Add strsignal prototype.
5448 * libc/include/sys/lock.h: New file with default locking support.
5449 * libc/include/sys/reent.h: Add signal buffer support for strsignal
5450 and psignal.
5451 * libc/posix/Makefile.am: Add support for readdir_r.c.
5452 * libc/posix/Makefile.in: Regenerated.
5453 * libc/posix/closedir.c: Add locking support and hash table cleanup.
5454 * libc/posix/opendir.c: Add lock support.
5455 * libc/posix/readdir.c: Ditto.
5456 * libc/posix/rewinddir.c: Ditto.
5457 * libc/posix/scandir.c: Ditto.
5458 * libc/posix/seekdir.c: Ditto.
5459 * libc/posix/telldir.c: Ditto plus add _cleanupdir routine to
5460 clean up leftover hash table entries.
5461 * libc/posix/readdir_r.c: New file.
5462 * libc/sys/linux/Makefile.am: Add psignal.c and strsignal.c support.
5463 * libc/sys/linux/Makefile.in: Regenerated.
5464 * libc/sys/linux/sys/dirent.h: Add dd_lock to DIR structure.
5465 * libc/sys/linux/sys/signal.h: Add psignal prototype.
5466 * libc/sys/linux/psignal.c: New file.
5467 * libc/sys/linux/strsignal.c: Ditto.
5468
cc890e89
CV
54692002-06-03 Corinna Vinschen <corinna@vinschen.de>
5470
5471 * libc/include/sys/types.h: Don't define dev_t when compiling for
5472 Cygwin.
5473
ea55e3f7
JJ
54742002-05-31 Jeff Johnston <jjohnstn@redhat.com>
5475
5476 * libc/sys/linux/Makefile.am: Add sig.c and sigaction.c. Also
5477 make siglist.inc dependent on sig.c instead of signal.c.
5478 * libc/sys/linux/Makefile.in: Regenerated.
5479 * libc/sys/linux/sig.c: Rename from signal.c and change code to
5480 use NSIG instead of _NSIG.
5481 * libc/sys/linux/sigaction.c: New file.
5482 * libc/sys/linux/signal.c: Changed to be linux signal() function
5483 so as to override regular newlib default signal.c.
ea55e3f7
JJ
5484 * libc/sys/linux/machine/i386/Makefile.am: Remove sigset.c.
5485 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
5486 * libc/sys/linux/machine/i386/sigset.c: Moved to linux main directory.
5487 * libc/sys/linux/sigset.c: Moved from machine/i386 directory.
5488 * libc/sys/linux/sys/signal.h: Redefine NSIG to _NSIG and override
5489 default linux sigset_t typedef by defining it equal to __sigset_t.
5490 * libc/unix/sigset.c: Add check so code isn't compiled on systems
5491 with a sigset_t that isn't implemented with a single int.
5492
9d362914
JJ
54932002-05-30 Jeff Johnston <jjohnstn@redhat.com>
5494
5495 * libc/sys/linux/Makefile.am: Add support for new files.
5496 * libc/sys/linux/Makefile.in: Regenerated.
5497 * libc/sys/linux/ids.c: Add __getuid weak alias for getuid.
5498 * libc/sys/linux/signal.c: Change to use real-time syscalls for
5499 sigsuspend, sigprocmask, and sigpending. Also remove sigaction as
5500 it is in a separate file now.
5501 * libc/sys/linux/machine/i386/Makefile.am
5502 * libc/sys/linux/machine/i386/Makefile.in
5503 * libc/sys/linux/sys/signal.h: Add include of <bits/signum.h>.
5504 * libc/sys/linux/sigaction.c: New file.
5505 * libc/sys/linux/sigqueue.c: Ditto.
5506 * libc/sys/linux/sigwait.c: Ditto.
5507 * libc/sys/linux/machine/i386/sigaction.c: Ditto.
5508 * libc/sys/linux/kernel_sigaction.h: Ditto.
5509
b1f07180
JJ
55102002-05-28 Jeff Johnston <jjohnstn@redhat.com>
5511
5512 * libc/sys/linux/Makefile.am: Add support for cfspeed.c and
5513 tcsendbrk.c.
5514 * libc/sys/linux/Makefile.in: Regenerated.
5515 * libc/sys/linux/termios.c: Add tcflow(), tcflush(),
5516 tcgetpgrp(), and tcsetpgrp() functions.
5517 * libc/sys/linux/sys/termios.h: Add include of machine/termios.h
5518 to get __MAX_BAUD rate.
5519 * libc/sys/linux/machine/i386/include/termios.h: New file.
5520 * libc/include/machine/termios.h: Ditto.
5521 * libc/sys/linux/cfspeed.c: Ditto.
5522 * libc/sys/linux/tcsendbrk.c: Ditto.
5523
d29587b4
JJ
55242002-05-24 Jeff Johnston <jjohnstn@redhat.com>
5525
5526 * libc/include/string.h: Add strnlen and strerror_r prototypes.
5527 * libc/string/Makefile.am: Add strnlen.c and strerror_r.c support.
5528 * libc/string/Makefile.in: Regenerated.
5529 * libc/string/strerror_r.c: New file.
5530 * libc/string/strnlen.c: New file.
5531 * libc/sys/linux/Makefile.am: Add rename.c.
5532 * libc/sys/linux/Makefile.in: Regenerated.
5533 * libc/sys/linux/rename.c: New file to override default rename.
5534
9a292385
TF
55352002-05-24 Thomas Fitzsimmons <fitzsim@redhat.com>
5536
5537 * libc/sys/linux/sys/cdefs.h: Add __weak_reference macros.
5538 * libc/sys/linux/sys/time.h: Add conversion macros.
5539 * libc/sys/linux/sys/types.h: Add FD_ macros. Include <bits/types.h>.
5540 * libc/sys/linux/ids.c: Add setresuid and syslog syscalls.
5541 * libc/sys/linux/gethostname.c: New file.
5542 * libc/sys/linux/seteuid.c: New file.
5543 * libc/sys/linux/sysctl.c: New file.
5544
7a364eb3
JJ
55452002-05-23 Jeff Johnston <jjohnstn@redhat.com>
5546
5547 * libc/string/Makefile.am: Add support for strsep.c.
5548 * libc/string/Makefile.in: Regenerated.
5549 * libc/string/strsep.c: New file.
5550 * libc/string/strtok.c: Change to call __strtok_r service routine.
5551 * libc/string/strtok_r.c: Add __strtok_r routine which takes
5552 additional flag parameter regarding whether to skip leading delimeters.
5553 Change strtok_r to call __strtok_r.
5554
164ee5b0
JJ
55552002-05-23 Gareth Pearce <tilps@hotmail.com>
5556
5557 * libc/stdio/Makefile.am: Modify to add setbuffer.c and setlinebuf.c.
5558 * libc/stdio/Makefile.in: Regenerated.
5559 * libc/stdio/setbuffer.c: New file.
5560 * libc/stdio/setlinebuf.c: New file.
5561
f6b2b567
JJ
55622002-05-23 Jeff Johnston <jjohnstn@redhat.com>
5563
5564 * libc/sys/linux/Makefile.am: Add resource.c.
5565 * libc/sys/linux/Makefile.in: Regenerated.
5566 * libc/sys/linux/resource.c: New file.
5567 * libc/sys/linux/time.c: Add settimeofday, getitimer, and setitimer.
5568 * libc/sys/linux/machine/i386/Makefile.am: Remove syscalls.c.
5569 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
5570 * libc/sys/linux/machine/i386/syscalls.c: Removed as functions
5571 are now found in libc/sys/linux/resource.c.
5572
afe56517
JJ
55732002-05-23 Jeff Johnston <jjohnstn@redhat.com>
5574
5575 * libc/include/string.h (bcmp, bcopy, bzero): Change prototypes
5576 to use void * pointers and comply with Single Unix spec.
5577 * libc/string/bcmp.c: Change to use void * instead of char *.
5578 * libc/string/bcopy.c: Ditto.
5579 * libc/string/bzero.c: Ditto.
5580
7736feb2
JJ
55812002-05-22 Jeff Johnston <jjohnstn@redhat.com>
5582
5583 * libc/sys/linux/shm_open.c: New file.
5584 * libc/sys/linux/shm_unlink.c: Ditto.
5585 * libc/sys/linux/Makefile.am: Add support for shm_open.c and
5586 shm_unlink.c.
5587 * libc/sys/linux/Makefile.in: Regenerated.
5588 * libc/sys/linux/sys/types.h: Add some additional checks to see
5589 if clock_t or time_t is already defined.
5590
19f111bd
JJ
55912002-05-22 Jeff Johnston <jjohnstn@redhat.com>
5592
5593 * Makefile.am: Don't pass $toollibdir down directly in
5594 AM_MAKEFLAGS as it causes all multilibs to use the same toollibdir.
5595 Pass it under the name: top_toollibdir.
5596 * Makefile.in: Regenerated.
5597
c811b1ee
CV
55982002-05-22 Corinna Vinschen <vinschen@redhat.com>
5599
5600 * libc/include/sys/types.h: Revert previous patch.
5601
2b43ad33
CV
56022002-05-22 Corinna Vinschen <vinschen@redhat.com>
5603
5604 * libc/include/sys/types.h: Include cygwin/types.h always under
5605 Cygwin, not only if _POSIX_THREADS is defined.
5606
dd671cde
TF
56072002-05-21 Dhananjay Deshpande <dhananjayd@kpit.com>
5608
5609 * configure.host: Specify sys_dir=h8300hms for h8300-*-coff* target.
5610
5e2cbfb6
JJ
56112002-05-17 Jeff Johnston <jjohnstn@redhat.com>
5612
5613 * Makefile.am: Copy and install headers from sys/machine/include
5614 directory. Also pass $toollibdir to lower-level directories.
5615 * Makefile.in: Regenerated.
5616 * libc/include/stdio.h[!_REENT_ONLY]: Change stdin, stdout, and
5617 stderr to use _REENT macro instead of _impure_ptr directly.
5618 * libc/include/sys/config.h[__i386__][__linux__]: Define
5619 __DYNAMIC_REENT__.
5620 * libc/include/sys/reent.h[!_REENT_ONLY]: Change _REENT macro to be
5621 call to __getreent() function if !__SINGLE_THREAD__ and
5622 __DYNAMIC_REENT__ is set.
5623 * libc/reent/Makefile.am: Add support for getreent.c.
5624 * libc/reent/Makefile.in: Regenerated.
5625 * libc/string/strerror.c: Add check if EOPNOTSUPP and ENOTSUP are same.
5626 * libc/sys/linux/Makefile.am: Add support for new files.
5627 * libc/sys/linux/configure.in: Add $EXTRA_DIRS variable.
5628 * libc/sys/linux/Makefile.in: Regenerated.
5629 * libc/sys/linux/configure: Ditto.
5630 * libc/sys/linux/io.c: Add poll syscall. Also weak-alias
5631 __close, __read, __write, __poll, __open, __lseek, __fcntl from
5632 their __libc_ counterparts.
5633 * libc/sys/linux/io64.c: Add __libc_ prefix to lseek64 and open64
5634 and weak-alias to regular names.
5635 * libc/sys/linux/pread64.c: Rename to __libc_pread64 and weak-alias
5636 to pread64 and __pread64.
5637 * libc/sys/linux/process.c: Weak_alias __libc_getpid to __getpid.
5638 * libc/sys/linux/pwrite64.c: Rename to __libc_pwrite64 and
5639 weak-alias to pwrite64.
5640 * libc/sys/linux/sched.c: Weak-alias __libc_sched_getparam,
5641 __libc_sched_getscheduler, __libc_sched_get_priority_max,
5642 __libc_sched_get_priority_min, and __libc_sched_setschedule to
5643 name with __ instead of __libc_.
5644 * libc/sys/linux/siglongjmp.c: Include <machine/weakalias.h>.
5645 Rename siglongjmp to __libc_siglongjmp and weak-alias to siglongjmp.
5646 Call __libc_longjmp instead of longjmp, from __libc_siglongjmp.
5647 * libc/sys/linux/signal.c: Rename raise to __libc_raise and weak-alias
5648 to raise.
5649 * libc/sys/linux/socket.c: Weak-alias __libc_connect to __connect and
5650 __libc_send to __send.
5651 * libc/sys/linux/time.c: Weak-alias __libc_gettimeofday to
5652 __gettimeofday.
5653 * libc/sys/linux/wait.c: Rename wait to __libc_wait and weak-alias
5654 it to wait. Rename wait3 to __libc_wait3 and weak-alias it to wait3.
5655 * libc/sys/linux/include/setjmp.h: Use __jmp_buf in sigjmp_buf
5656 type and typedef __jmp_buf to jmp_buf.
5657 * libc/sys/linux/machine/i386/Makefile.am: Add syscalls.c and
5658 setjmp.S.
5659 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
5660 * libc/sys/linux/machine/i386/crt0.c: Add support to clear .bss
5661 section.
5662 * libc/sys/linux/machine/i386/socketcall.h: Change to use __libc_
5663 prefix for function macros and then use weak_alias() to regular names.
5664 * libc/sys/linux/machine/i386/syscall.h: Ditto.
5665 * libc/sys/linux/sys/errno.h: Define EOPNOTSUP to be ENOTSUP.
5666 * libc/sys/linux/sys/stdio.h: Define _flockfile and _funlockfile
5667 to be flockfile() and funlockfile() respectively.
5668 * libc/sys/linux/sys/types.h
5669 * libc/reent/getreent.c: New file.
5670 * libc/sys/linux/flockfile.c: Ditto.
5671 * libc/sys/linux/funlockfile.c: Ditto.
5672 * libc/sys/linux/getreent.c: Ditto.
5673 * libc/sys/linux/pread.c: Ditto.
5674 * libc/sys/linux/pwrite.c: Ditto.
5675 * libc/sys/linux/raise.c: Ditto.
5676 * libc/sys/linux/system.c: Ditto.
5677 * libc/sys/linux/tcdrain.c: Ditto.
5678 * libc/sys/linux/machine/i386/i386mach.h: Ditto.
5679 * libc/sys/linux/machine/i386/setjmp.S: Ditto.
5680 * libc/sys/linux/machine/i386/syscalls.c: Ditto.
5681 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
5682 * libc/sys/linux/machine/i386/include/setjmp.h: Ditto.
5683
7fc85bd1
TF
56842002-05-14 Dhananjay Deshpande <dhananjayd@kpit.com>
5685
5686 * newlib/libc/sys/h8300hms/Makeile.am (lib_a_SOURCES): Add read.c.
5687 * newlib/libc/sys/h8300hms/read.c: New file. Magic trap 0xC8 for sim.
5688 * newlib/libc/sys/h8300hms/syscalls.c: Move _read() to read.c.
5689 * newlib/libs/sys/h8300hms/sys/syscall.h: New file.
5690
6935231f 5691Thu May 16 17:24:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
d7a2f413
JR
5692
5693 * libc/machine/sh/strcpy.S (strcpy): Replace LITTLE_ENDIAN with
6935231f
JR
5694 __LITTLE_ENDIAN__. make sure r0 has right value at first loop
5695 exit point.
d7a2f413 5696
3a6cb01b
TF
56972002-05-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5698
a68fa571
TF
5699 * testsuite/lib/newlib.exp: Add newlib_include_flags to compile
5700 options when testing natively on i[3456]86-*-linux.
5701
3a6cb01b
TF
5702 * testsuite/lib/checkoutput.exp (newlib_check_output): Output
5703 only one pass or fail per test file. Trim \r's from output
5704 values received from test programs. Remove support for named
5705 tests.
5706 * testsuite/newlib.locale/UTF-8.exp: Update to support new
5707 newlib_check_output behaviour.
5708 * testsuite/newlib.locale/UTF-8.c: Likewise.
5709
dc824ef7
JJ
57102002-05-15 Jeff Johnston <jjohnstn@redhat.com>
5711
5712 * libc/include/stdlib.h: Add on_exit prototype.
5713 * libc/include/sys/reent.h (struct _atexit): Add argument array
5714 and bits to track type of exit routine to support both on_exit
5715 and atexit.
5716 (_REENT_INIT_PTR): Add missing fields that won't be zeroed out
5717 by default and change the setting of the atexit structure.
5718 (_REENT_INIT)[!_REENT_SMALL]: Remove extraneous end brace.
5719 * libc/stdlib/on_exit.c: New file.
5720 * libc/stdlib/Makefile.am: Add support for on_exit.
5721 * libc/stdlib/Makefile.in: Regenerated.
5722 * libc/stdlib/atexit.c: Change to initialize types field.
5723 * libc/stdlib/exit.c: Change to look at types field for each
5724 exit routine and either call an atexit-style or an on_exit-style
5725 routine accordingly.
5726
48d91b4a
JJ
57272002-05-13 Jeff Johnston <jjohnstn@redhat.com>
5728
5729 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Don't
5730 allow v specifier with n or L specifiers. For vector c format,
5731 move tmp declaration to the top.
5732
024739eb
JJ
57332002-05-13 Jeff Johnston <jjohnstn@redhat.com>
5734
5735 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Restore
5736 the original format specifier when looping for vectors to compensate
5737 for any changes made in vector %g format processing.
5738 Also add syntax checking for various invalid scenarios
5739 involving vector format extensions.
5740 * libc/machine/powerpc/vfscanf.c(__VFSCANF_R)[__ALTIVEC__]: Fix
5741 return code setting for vector formats. Also treat vector
5742 separator mismatch as a match error instead of an input error.
5743 Perform some syntax checking for vector formats.
5744
7d2ce898
TF
57452002-05-10 Mark Bradshaw <bradshaw@staff.crosswalk.com>
5746
5747 * libc/include/string.h (!__STRICT_ANSI__): Add strlcat and strlcpy.
5748 * libc/string/Makefile.am: Add strlcat.c and strlcpy.c.
5749 * libc/string/strlcat.c: New file.
5750 * libc/string/strlcpy.c: New file.
5751
809b6ce7
JJ
57522002-05-10 Jeff Johnston <jjohnstn@redhat.com>
5753
5754 * libc/string/strchr.c: Fix comment typo.
5755
76490806
TF
57562002-05-08 Thomas Fitzsimmons <fitzsim@redhat.com>
5757
0c048a9a
TF
5758 * acinclude.m4: Add support for --enable-newlib-multithread.
5759 * configure.host (newlib_cflags): Add -D__SINGLE_THREAD__ if
5760 --enable-newlib-multithread=no.
5761
76490806
TF
5762 * libc/stdio/getc_u.c: New file.
5763 * libc/stdio/getchar_u.c: New file.
5764 * libc/stdio/putc_u.c: New file.
5765 * libc/stdio/putchar_u.c: New file.
5766 * libc/include/stdio.h: Add declarations for getc_unlocked,
5767 getchar_unlocked, putc_unlocked and putchar_unlocked.
5768 * libc/stdio/Makefile.am (LIB_SOURCES): Add new files.
5769 (CHEWOUT_FILES): Add new files' .def's.
5770 * libc/stdio/putchar.c (_putchar_r): Replace __sputc with putc.
5771
96bff22c
JR
5772Wed May 8 17:47:35 2002 J"orn Rennecke <joern.rennecke@superh.com>
5773
5774 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
5775 Also handle as single quad word when destination ends at last
5776 byte of first quad word. Fix byte selection in single quad code.
5777
e71372fa
TF
57782002-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
5779
5780 * libc/include/sys/stdio.h: New file.
5781 * libc/sys/linux/sys/stdio.h: New file.
5782 * libc/include/stdio.h: Add declarations for flockfile,
5783 ftrylockfile, and funlockfile. Include <sys/stdio.h>.
5784 * libc/stdio/clearerr.c: Add file locking.
5785 * libc/stdio/fclose.c: Likewise.
5786 * libc/stdio/feof.c: Likewise.
5787 * libc/stdio/ferror.c: Likewise.
5788 * libc/stdio/fflush.c: Likewise.
5789 * libc/stdio/fgetc.c: Likewise.
5790 * libc/stdio/fgetpos.c: Likewise.
5791 * libc/stdio/fgets.c: Likewise.
5792 * libc/stdio/fileno.c: Likewise.
5793 * libc/stdio/fputc.c: Likewise.
5794 * libc/stdio/fputs.c: Likewise.
5795 * libc/stdio/fread.c: Likewise.
5796 * libc/stdio/freopen.c: Likewise.
5797 * libc/stdio/fseek.c: Likewise.
5798 * libc/stdio/ftell.c: Likewise.
5799 * libc/stdio/fwrite.c: Likewise.
5800 * libc/stdio/getc.c: Likewise.
5801 * libc/stdio/putc.c: Likewise.
5802 * libc/stdio/setvbuf.c: Likewise.
5803 * libc/stdio/ungetc.c: Likewise.
5804 * libc/stdio/vfprintf.c: Likewise.
5805
a03790e4
JJ
58062002-05-06 Jeff Johnston <jjohnstn@redhat.com>
5807
60b2107c
TF
5808 * libc/machine/powerpc/vfprintf.c[__ALTIVEC__]: Add vector
5809 support for 'p' format. Fix code to print bytes for vector
5810 integer formats that do not specify 'h' or 'l'.
5811 * libc/machine/powerpc/vfscanf.c[__ALTIVEC__]: Add vector support
5812 for 'p' specifier. Fix code to scan 16 bytes for vector integer
5813 formats that do not specify 'h' or 'l'.
5814
5815 * libc/include/stdlib.h (a64l, l64a, _l64a_r): Added prototypes.
5816
9c7d6a9d
TF
58172002-05-06 Nick Clifton <nickc@cambridge.redhat.com>
5818
5819 * libc/sys/arm/syscalls.c (_rename): Add parameter names.
5820 (_sbrk): Add cast of return value.
5821
c33c3635
JJ
58222002-05-06 Jeff Johnston <jjohnstn@redhat.com>
5823
5824 * libc/include/sys/reent.h (_l64a_buf): New reentrant area.
5825 (_REENT_L64A_BUF): New macro for accessing area.
5826 * libc/stdlib/Makefile.am: Add a64l.c and l64a.c.
5827 * libc/stdlib/Makefile.in: Regenerated.
5828 * libc/stdlib/a64l.c: New file.
5829 * libc/stdlib/l64a.c: New file.
5830
f78e59a8
JJ
58312002-05-06 Jeff Johnston <jjohnstn@redhat.com>
5832
5833 * libc/unix/pread.c: Fix typo for _pread_r.
5834 * libc/unix/pwrite.c: Fix type for _pwrite_r.
5835 * libc/sys/linux/pread64.c: Fix typo for read syscall.
5836 * libc/sys/linux/pwrite64.c: Fix typo for write syscall.
5837
4b3f6588
CF
58382002-05-03 Christopher Faylor <cgf@redhat.com>
5839
5840 * libc/include/sys/unistd.h: Define getdomainname under cygwin.
5841
e911832c
TF
58422002-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
5843
5844 * configure.in (CC_FOR_NEWLIB): Change -isystem's to -I's.
5845
0d0fdc8d
CF
58462002-05-01 Christopher Faylor <cgf@redhat.com>
5847
5848 * utmp.h: Define more UNIX constants.
5849
1e997c56
TF
58502002-05-01 Thomas Fitzsimmons <fitzsim@redhat.com>
5851
0717f01c
TF
5852 * Makefile.am: Add support for checking multilibs.
5853
09841445
TF
5854 * libc/Makefile.am (SUBLIBS): Add LIBC_EXTRA_LIB.
5855 (SUBDEFS): Add LIBC_EXTRA_DEF.
5856 * libc/configure.in (LIBC_EXTRA_LIB): New variable.
5857 (LIBC_EXTRA_DEF): Likewise.
5858 (extra_dir): Likewise.
5859 * libc/machine/xscale/machine: New directory.
5860 * libc/machine/xscale/machine/profile.h: New file.
5861
1e997c56
TF
5862 * Makefile.am (site.exp): Remove newlib_cflags. Add
5863 multibuildtop.
5864 * testsuite/newlib.locale/UTF-8.c: Change fprintf's to printf's.
5865 * testsuite/lib/flags.exp: New file.
5866 * testsuite/lib/newlib.exp: Load flags.exp.
5867 (newlib_target_compile): Remove libgloss directory references.
5868 (newlib_init): Remove newlib_cflags references.
5869
4cf4f010
TF
58702002-04-30 Thomas Fitzsimmons <fitzsim@redhat.com>
5871
f6bdb6f9
TF
5872 * testsuite/lib/newlib.exp (newlib_target_compile): Change
5873 method of finding libgloss_target_dir.
5874
4cf4f010
TF
5875 * Makefile.am (site.exp): Change host_alias, host_triplet,
5876 target_alias, target_triplet to refer to gcc's host and target
5877 variables (newlib's build and host variables).
5878 * testsuite/lib/newlib.exp (newlib_init): Change build
5879 references to host references, host references to target
5880 references to reflect Makefile.am changes.
5881 (newlib_target_compile): Likewise.
5882 (newlib_finish): Likewise.
5883
83096ae8
JJ
58842002-04-29 Jeff Johnston <jjohnstn@redhat.com>
5885
5886 * libc/sys/linux/io64.c (fstat64, lstat64): New syscalls added.
5887
822afa53
JL
58882002-04-29 Jonathan Larmour <jlarmour@redhat.com>
5889
5890 * libc/sys/arm/syscalls.c (_rename): New function. Just a stub.
5891 (_system): New function. Ditto.
5892 * libc/stdlib/system.c (_system_r): Call _system if HAVE_SYSTEM.
5893 * configure.host: define HAVE_SYSTEM and HAVE_RENAME for xscale
5894 targets.
5895
29798f0d
JJ
58962002-04-29 Jeff Johnston <jjohnstn@redhat.com>
5897
5898 * libc/include/sys/unistd.h (pread, pwrite): Added prototypes.
5899 * libc/unix/Makefile.am: Add pread.c and pwrite.c.
5900 * libc/sys/linux/Makefile.am: Add pread64.c and pwrite64.c.
5901 * libc/sys/linux/Makefile.in: Regenerated.
5902 * libc/unix/Makefile.in: Ditto.
5903 * libc/sys/linux/pread64.c: New file.
5904 * libc/sys/linux/pwrite64.c: Ditto.
5905 * libc/unix/pread.c: Ditto.
5906 * libc/unix/pwrite.c: Ditto.
5907
557856bd
JJ
59082002-04-26 Jeff Johnston <jjohnstn@redhat.com>
5909
5910 * libc/sys/linux/Makefile.am: Add io64.c.
5911 * libc/sys/linux/Makefile.in: Regenerated.
5912 * libc/sys/linux/io.c(mkfifo, fsync, fdatasync): Added syscalls.
5913 * libc/sys/linux/signal.c (sigwaitinfo, sigtimedwait): Ditto.
5914 * libc/sys/linux/io64.c: New file.
5915
7b2b12d5
JJ
59162002-04-26 Jeff Johnston <jjohnstn@redhat.com>
5917
5918 * configure.in (CC_FOR_NEWLIB): New variable that
5919 bases on $(CC) and adds targ-include and libc/include as
5920 -isystem directives if they are not already part of $(CC).
5921 * Makefile.am (AM_MAKEFLAGS): Change setting of CC to equal
5922 $(CC_FOR_NEWLIB).
5923 * configure: Regenerated.
5924 * Makefile.in: Ditto.
5925
c62adacc
JJ
59262002-04-25 Jeff Johnston <jjohnstn@redhat.com>
5927
5928 * libc/sys/linux/Makefile.am: Add support for sched.c.
5929 * libc/sys/linux/Makefile.in: Regenerated.
5930 * libc/sys/linux/sched.c: New file.
5931 * libc/sys/linux/sys/types.h: Add struct timespec.
5932
217ad4a0
TF
59332002-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
5934
5935 * configure.in (CC_FOR_BUILD): Set to gcc whether
5936 cross-compiling or not.
5937 (CC): Add -isystem's for targ-include and libc/include when they
5938 do not already appear in CC.
5939
eaa75b70
TF
59402002-04-24 Thomas Fitzsimmons <fitzsim@redhat.com>
5941
5942 * Makefile.am (check-DEJAGNU): New target.
5943 (site.exp): Likewise.
5944 * acinclude.m4 (NEWLIB_CONFIGURE): Replace AC_CANONICAL_HOST
5945 with AC_CANONICAL_SYSTEM. Remove AC_CANONICAL_BUILD.
5946 * libc/locale/locale.c (_setlocale_r): Add UTF-8 support.
5947 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Likewise.
5948 * libc/stdlib/wctomb_r.c (_wctomb_r): Likewise.
5949 * testsuite: New directory.
5950 * testsuite/config: Likewise.
5951 * testsuite/lib: Likewise.
5952 * testsuite/newlib.locale: Likewise.
5953 * testsuite/newlib.string: Likewise.
5954 * testsuite/config/default.exp: New file.
5955 * testsuite/lib/checkoutput.exp: New file.
5956 * testsuite/lib/newlib.exp: New file.
5957 * testsuite/lib/passfail.exp: New file.
5958 * testsuite/newlib.locale/UTF-8.c: New file.
5959 * testsuite/newlib.locale/UTF-8.exp: New file.
5960 * testsuite/newlib.locale/locale.exp: New file.
5961 * testsuite/newlib.string/string.exp: New file.
5962 * testsuite/newlib.string/tstring.c: New file.
5963
b9f9f699
JJ
59642002-04-23 Jeff Johnston <jjohnstn@redhat.com>
5965
5966 * libc/include/machine/types.h (__pid_t, __off_t, __loff_t): Added.
5967 * libc/sys/linux/Makefile.am: Add support for mmap.c.
5968 * libc/sys/linux/Makefile.in: Regenerated.
5969 * libc/sys/linux/mmap.c: New file.
5970 * libc/sys/linux/machine/i386/syscall.h: Add _syscall6 macro.
5971 * libc/sys/linux/sys/types.h (pid_t, off_t, loff_t): Added.
5972
7394edbb
TF
59732002-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
5974
5975 * acinclude.m4 (newlib_cflags): Remove include directories that
5976 are already specified in the top-level configure.in's FLAGS_FOR_TARGET.
5977
b9f9f699 59782002-04-19 Bill Siegmund <ctc-dsl@pacbell.net>
59be2290
JJ
5979
5980 * libc/machine/xscale/memchr.c: Don't use multi-line strings.
5981 * libc/machine/xscale/memcmp.c: Ditto.
5982 * libc/machine/xscale/memcpy.c: Ditto.
5983 * libc/machine/xscale/memmove.c: Ditto.
5984 * libc/machine/xscale/memset.c: Ditto.
5985 * libc/machine/xscale/strchr.c: Ditto.
5986 * libc/machine/xscale/strcmp.c: Ditto.
5987 * libc/machine/xscale/strcpy.c: Ditto.
5988 * libc/machine/xscale/strlen.c: Ditto.
5989
2dd4c4dc
JJ
59902002-04-19 Alexandre Oliva <aoliva@redhat.com>
5991
5992 * libc/include/sys/config.h: Remove include of <limits.h>.
5993 (__INT_MAX__, __LONG_MAX__): Define like GCC's limits.h would
5994 define INT_MAX and LONG_MAX. Use them in tests.
5995
0d844014
JJ
59962002-04-19 Jeff Johnston <jjohnstn@redhat.com>
5997
5998 * configure.host: Add support for powerpc-eabialtivec*.
5999 * libc/include/malloc.h: Add include of <machine/malloc.h>.
6000 * libc/include/stdlib.h: Add include of <machine/stdlib.h>.
6001 * libc/include/machine/malloc.h: New file.
6002 * libc/include/machine/stdlib.h: Ditto.
6003 * libc/include/machine/setjmp.h: Add support for powerpc altivec.
6004 * libc/machine/powerpc/Makefile.am: Add conditional objects and
6005 sources based on configuration.
6006 * libc/machine/powerpc/Makefile.in: Regenerated.
6007 * libc/machine/powerpc/configure: Ditto.
6008 * libc/machine/powerpc/configure.in: Add check for
6009 powerpc-eabialtivec* in which case add in additional source files.
6010 * libc/machine/powerpc/setjmp.S: Add altivec support.
6011 * libc/machine/powerpc/vec_calloc.c: New file.
6012 * libc/machine/powerpc/vec_free.c: Ditto.
6013 * libc/machine/powerpc/vec_malloc.c: Ditto.
6014 * libc/machine/powerpc/vec_mallocr.c: Ditto.
6015 * libc/machine/powerpc/vec_realloc.c: Ditto.
6016 * libc/machine/powerpc/machine/malloc.h: Ditto.
6017 * libc/machine/powerpc/machine/stdlib.h: Ditto.
6018 * libc/machine/powerpc/vfprintf.c: New file that is vfprintf.c
6019 with added altivec format specifiers.
6020 * libc/machine/powerpc/vfscanf.c: New file that is vfscanf.c with
6021 added altivec format specifiers.
6022
d413aadc
JS
60232002-04-19 Joel Sherrill <joel@OARcorp.com>
6024
6025 * libs/sys/rtems/crt0.c: Satisfy gcc's references to libc functions
6026 while autoconf is trying to link main(){}.
6027
27193895
JJ
60282002-04-17 Jeff Johnston <jjohnstn@redhat.com>
6029
6030 * libc/sys/linux/signal.c: Remove include of <bits/sigset.h>.
6031 * libc/sys/linux/sys/signal.h: Add include of <bits/sigset.h>.
6032
10d00216
JJ
60332002-04-17 Jeff Johnston <jjohnstn@redhat.com>
6034
6b0f808e
JJ
6035 * libc/time/time.tex: Add tzset info.
6036
60372002-04-17 Jeff Johnston <jjohnstn@redhat.com>
6038
6039 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
6040 (strptime): Moved prototype to be within !__STRICT_ANSI__.
6041 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
6042 (tzname): Defined for all platforms.
6043 (daylight, timezone): Defined only for CYGWIN.
6044 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
6045 environment set up.
6046 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
6047 environment variable is set.
6048 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
6049 tzset_r.c.
6050 * libc/time/Makefile.in: Regenerated.
6051 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
6052 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
6053 * libc/time/lcltime_r.c (lcltime_r): Ditto.
6054 * libc/time/local.h: New local header file.
6055 * libc/time/mktime.c (mktime): Add timezone support.
6056 * libc/time/mktm_r.c: New file which is the common engine
6057 for gmtime_r and lcltime_r. This code has timezone support.
6058 * libc/time/strftime.c (strftime): Add %Z timezone support.
6059 * libc/time/tzlock.c: New file containing timezone lock stubs.
6060 * libc/time/tzset.c: New file containing tzset() routine.
6061 * libc/time/tzset_r.c: New file containing _tzset_r and
6062 internal routine for calculating timezone changes for specified year.
6063
60642002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
6065
6066 * configure.in (CRT0_DIR): Set to libc/.
6067 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
6068 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
6069 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
6070 $(CRT1_DIR)/$(CRT1).
6071 * libc/machine/xstormy16/Makefile.in: Regenerated.
6072 * libc/machine/xstormy16/aclocal.m4: Regenerated.
6073 * libc/machine/xstormy16/configure: Regenerated.
6074
60752002-04-13 Alexandre Oliva <aoliva@redhat.com>
6076
6077 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
6078 fails, don't bail out, and try to correct next time.
6079
6080 * libc/include/sys/config.h: Include limits.h.
6081
60822002-04-12 Eric Norum <eric.norum@usask.com>
6083
6084 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
6085 routine to allow autoconf to determine that building executables
6086 for rtems works.
6087 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
6088 (rtems_gxx_mutex_once): Ditto.
6089
60902002-04-09 Tom Rix <trix@redhat.com>
6091
6092 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
6093
60942002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
6095
6096 * libc/include/time.h: Fix strptime declaration.
6097 * libc/time/Makefile.am: Add strptime.c.
6098 * libc/time/Makefile.in: Regenerated.
6099 * libc/time/strptime.c: New file.
6100
61012002-04-08 Jeff Johnston <jjohnstn@redhat.com>
6102
6103 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
6104 siglongjmp prototype, and sigsetjmp macro definition.
6105 * libc/sys/linux/siglongjmp.c: New file.
6106 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
6107 * libc/sys/linux/Makefile.in: Regenerated.
6108
61092002-04-04 Jeff Johnston <jjohnstn@redhat.com>
6110
6111 * Makefile.am: Add support for installing crt1.o if one exists.
6112 * configure.host: Specify crt1.o for linux.
6113 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
6114 * Makefile.in: Regenerated.
6115 * configure: Ditto.
6116 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
6117 Added for non-Cygwin, non-RTEMS configurations.
6118 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
6119 * libc/sys/linux/Makefile.in: Regenerated.
6120 * libc/sys/linux/crt1.c: New empty file to override one defaulted
6121 by gcc. This fixes problem with reconfiguring linux newlib build.
6122 * libc/sys/linux/sysconf.c: New file.
6123
61242002-04-03 Jeff Johnston <jjohnstn@redhat.com>
6125
6126 * configure.host: Add support for machine subdirectory of
6127 sys subdirectory.
6128 * configure.in: Add check for sys machine subdirectory.
6129 * Makefile.am: Ditto.
6130 * configure: Regenerated.
6131 * Makefile.in: Ditto.
6132 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
6133 * libc/sys/linux/sys/syscall.h: Ditto.
6134 * libc/sys/linux/sleep.c: New file.
6135 * libc/sys/linux/socket.c: Ditto.
6136 * libc/sys/linux/sockops.h: Ditto.
6137 * libc/sys/linux/stack.c: Ditto.
6138 * libc/sys/linux/usleep.c: Ditto.
6139 * libc/sys/linux/machine/Makefile.am: Ditto.
6140 * libc/sys/linux/machine/Makefile.in: Ditto.
6141 * libc/sys/linux/machine/aclocal.m4: Ditto.
6142 * libc/sys/linux/machine/configure: Ditto.
6143 * libc/sys/linux/machine/configure.in: Ditto.
6144 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
6145 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
6146 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
6147 * libc/sys/linux/machine/i386/configure: Ditto.
6148 * libc/sys/linux/machine/i386/configure.in: Ditto.
6149 * libc/sys/linux/machine/i386/crt0.c: Ditto.
6150 * libc/sys/linux/machine/i386/sigset.c: Ditto.
6151 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
6152 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
6153 * libc/sys/linux/machine/i386/syscall.h: Ditto.
6154 * libc/sys/linux/sys/select.h: Ditto.
6155 * libc/sys/linux/configure.in: Add support for machine directory.
6156 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
6157 * libc/sys/linux/Makefile.in: Regenerated.
6158 * libc/sys/linux/configure: Ditto.
6159 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
6160 * libc/sys/linux/inode.c: Ditto.
6161 * libc/sys/linux/linux.c: Ditto.
6162 * libc/sys/linux/process.c: Ditto.
6163 * libc/sys/linux/systat.c: Ditto.
6164 * libc/sys/linux/time.c: Ditto.
6165 * libc/sys/linux/wait.c: Ditto.
6166 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
6167 * libc/sys/linux/io.c: Change header plus add readv/writev.
6168 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
6169 use __sigsuspend syscall.
6170 * libc/sys/linux/select.c: Change header plus change select to
6171 use _newselect syscall.
6172 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
6173 used by glibc header files.
6174 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
6175 types.
6176
61772002-04-01 Jeff Johnston <jjohnstn@redhat.com>
6178
6179 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
6180 initializing a struct _reent that has been dynamically allocated.
6181 (_REENT_CHECK_MISC): New macro that checks _misc struct for
6182 _REENT_SMALL and does nothing otherwise.
6183 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
6184 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
6185 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
6186 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
6187 [_REENT_SMALL](struct _misc_reent): New structure containing
6188 miscellaneous reentrant areas needed by newlib.
6189 [_REENT_SMALL](struct _reent): Add _misc pointer.
6190 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
6191 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
6192 and _REENT_STRTOK_LAST macros.
6193 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
6194 and _REENT_MBLEN_STATE macros.
6195 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
6196 and _REENT_MBTOWC_STATE macros.
6197 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
6198 and _REENT_WCTOMB_STATE macros.
6199
62002002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
6201
6202 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
6203
6204Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
6205
6206 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
6207
6208Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
6209
6210 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
6211 Store high part of leading bytes too.
6212
62132002-03-22 Richard Sandiford <rsandifo@redhat.com>
6214
6215 * libm/math/ef_hypot.c: Increase scale factor to 68.
6216
62172002-03-13 Alexandre Oliva <aoliva@redhat.com>
6218
6219 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
6220 error.
6221
62222002-03-12 Jeff Johnston <jjohnstn@redhat.com>
6223
6224 * libc/sys/go32/access.c: Change license to relaxed license
6225 used in identical file throughout newlib/libgloss.
6226
62272002-03-12 Richard Earnshaw <rearnsha@arm.com>
6228
6229 * libc/sys/arm/access.c: New file.
6230 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
6231 * libc/sys/arm/Makefile.in: Regenerate.
6232 * libc/sys/arm/syscalls.c (_stat): New function.
6233
62342002-03-11 Michael Meissner <meissner@redhat.com>
6235
6236 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
6237 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
6238 * libc/machine/mips/Makefile.in: Regenerate.
6239 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
6240 * libc/machine/mips/memset.c: Dito.
6241 * libc/machine/mips/strcmp.c: Dito.
6242 * libc/machine/mips/strlen.c: Dito.
6243 * libc/machine/mips/strncmp.c: Dito.
6244
62452002-03-06 Jeff Johnston <jjohnstn@redhat.com>
6246
6247 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
6248 object so it works for shared library or statici library.
62492002-04-17 Jeff Johnston <jjohnstn@redhat.com>
6250
10d00216
JJ
6251 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
6252 (strptime): Moved prototype to be within !__STRICT_ANSI__.
6253 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
6254 (tzname): Defined for all platforms.
6255 (daylight, timezone): Defined only for CYGWIN.
6256 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
6257 environment set up.
6258 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
6259 environment variable is set.
6260 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
6261 tzset_r.c.
6262 * libc/time/Makefile.in: Regenerated.
6263 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
6264 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
6265 * libc/time/lcltime_r.c (lcltime_r): Ditto.
6266 * libc/time/local.h: New local header file.
6267 * libc/time/mktime.c (mktime): Add timezone support.
6268 * libc/time/mktm_r.c: New file which is the common engine
6269 for gmtime_r and lcltime_r. This code has timezone support.
6270 * libc/time/strftime.c (strftime): Add %Z timezone support.
6271 * libc/time/tzlock.c: New file containing timezone lock stubs.
6272 * libc/time/tzset.c: New file containing tzset() routine.
6273 * libc/time/tzset_r.c: New file containing _tzset_r and
6274 internal routine for calculating timezone changes for specified year.
6275
5f1c13c6
TF
62762002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
6277
6278 * configure.in (CRT0_DIR): Set to libc/.
6279 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
6280 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
6281 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
6282 $(CRT1_DIR)/$(CRT1).
6283 * libc/machine/xstormy16/Makefile.in: Regenerated.
6284 * libc/machine/xstormy16/aclocal.m4: Regenerated.
6285 * libc/machine/xstormy16/configure: Regenerated.
6286
0cc261b1
AO
62872002-04-13 Alexandre Oliva <aoliva@redhat.com>
6288
2f3009bd
AO
6289 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
6290 fails, don't bail out, and try to correct next time.
6291
0cc261b1
AO
6292 * libc/include/sys/config.h: Include limits.h.
6293
26116455
JJ
62942002-04-12 Eric Norum <eric.norum@usask.com>
6295
6296 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
6297 routine to allow autoconf to determine that building executables
6298 for rtems works.
6299 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
6300 (rtems_gxx_mutex_once): Ditto.
6301
4608280d
TR
63022002-04-09 Tom Rix <trix@redhat.com>
6303
6304 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
6305
dea7e25c
JJ
63062002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
6307
6308 * libc/include/time.h: Fix strptime declaration.
6309 * libc/time/Makefile.am: Add strptime.c.
6310 * libc/time/Makefile.in: Regenerated.
6311 * libc/time/strptime.c: New file.
6312
c5ef1e95
JJ
63132002-04-08 Jeff Johnston <jjohnstn@redhat.com>
6314
6315 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
6316 siglongjmp prototype, and sigsetjmp macro definition.
6317 * libc/sys/linux/siglongjmp.c: New file.
6318 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
6319 * libc/sys/linux/Makefile.in: Regenerated.
6320
6e6cd5bd
JJ
63212002-04-04 Jeff Johnston <jjohnstn@redhat.com>
6322
6323 * Makefile.am: Add support for installing crt1.o if one exists.
6324 * configure.host: Specify crt1.o for linux.
6325 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
6326 * Makefile.in: Regenerated.
6327 * configure: Ditto.
6328 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
6329 Added for non-Cygwin, non-RTEMS configurations.
6330 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
6331 * libc/sys/linux/Makefile.in: Regenerated.
6332 * libc/sys/linux/crt1.c: New empty file to override one defaulted
6333 by gcc. This fixes problem with reconfiguring linux newlib build.
6334 * libc/sys/linux/sysconf.c: New file.
6335
fa4a16a1
JJ
63362002-04-03 Jeff Johnston <jjohnstn@redhat.com>
6337
6338 * configure.host: Add support for machine subdirectory of
6339 sys subdirectory.
6340 * configure.in: Add check for sys machine subdirectory.
6341 * Makefile.am: Ditto.
6342 * configure: Regenerated.
6343 * Makefile.in: Ditto.
6344 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
6345 * libc/sys/linux/sys/syscall.h: Ditto.
6346 * libc/sys/linux/sleep.c: New file.
6347 * libc/sys/linux/socket.c: Ditto.
6348 * libc/sys/linux/sockops.h: Ditto.
6349 * libc/sys/linux/stack.c: Ditto.
6350 * libc/sys/linux/usleep.c: Ditto.
6351 * libc/sys/linux/machine/Makefile.am: Ditto.
6352 * libc/sys/linux/machine/Makefile.in: Ditto.
6353 * libc/sys/linux/machine/aclocal.m4: Ditto.
6354 * libc/sys/linux/machine/configure: Ditto.
6355 * libc/sys/linux/machine/configure.in: Ditto.
6356 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
6357 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
6358 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
6359 * libc/sys/linux/machine/i386/configure: Ditto.
6360 * libc/sys/linux/machine/i386/configure.in: Ditto.
6361 * libc/sys/linux/machine/i386/crt0.c: Ditto.
6362 * libc/sys/linux/machine/i386/sigset.c: Ditto.
6363 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
6364 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
6365 * libc/sys/linux/machine/i386/syscall.h: Ditto.
6366 * libc/sys/linux/sys/select.h: Ditto.
6367 * libc/sys/linux/configure.in: Add support for machine directory.
6368 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
6369 * libc/sys/linux/Makefile.in: Regenerated.
6370 * libc/sys/linux/configure: Ditto.
6371 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
6372 * libc/sys/linux/inode.c: Ditto.
6373 * libc/sys/linux/linux.c: Ditto.
6374 * libc/sys/linux/process.c: Ditto.
6375 * libc/sys/linux/systat.c: Ditto.
6376 * libc/sys/linux/time.c: Ditto.
6377 * libc/sys/linux/wait.c: Ditto.
6378 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
6379 * libc/sys/linux/io.c: Change header plus add readv/writev.
6380 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
6381 use __sigsuspend syscall.
6382 * libc/sys/linux/select.c: Change header plus change select to
6383 use _newselect syscall.
6384 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
6385 used by glibc header files.
6386 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
6387 types.
6388
d4dca0e4
JJ
63892002-04-01 Jeff Johnston <jjohnstn@redhat.com>
6390
6391 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
6392 initializing a struct _reent that has been dynamically allocated.
6393 (_REENT_CHECK_MISC): New macro that checks _misc struct for
6394 _REENT_SMALL and does nothing otherwise.
6395 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
6396 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
6397 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
6398 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
6399 [_REENT_SMALL](struct _misc_reent): New structure containing
6400 miscellaneous reentrant areas needed by newlib.
6401 [_REENT_SMALL](struct _reent): Add _misc pointer.
6402 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
6403 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
6404 and _REENT_STRTOK_LAST macros.
6405 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
6406 and _REENT_MBLEN_STATE macros.
6407 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
6408 and _REENT_MBTOWC_STATE macros.
6409 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
6410 and _REENT_WCTOMB_STATE macros.
6411
54a7c6d2
JJ
64122002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
6413
6414 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
6415
c82479b1
CF
6416Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
6417
6418 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
6419
43ecf6e8
JR
6420Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
6421
6422 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
6423 Store high part of leading bytes too.
6424
a485d93f
RS
64252002-03-22 Richard Sandiford <rsandifo@redhat.com>
6426
6427 * libm/math/ef_hypot.c: Increase scale factor to 68.
6428
62a963ee
AO
64292002-03-13 Alexandre Oliva <aoliva@redhat.com>
6430
6431 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
6432 error.
6433
c53d8453
JJ
64342002-03-12 Jeff Johnston <jjohnstn@redhat.com>
6435
6436 * libc/sys/go32/access.c: Change license to relaxed license
6437 used in identical file throughout newlib/libgloss.
6438
d2a246ad
JJ
64392002-03-12 Richard Earnshaw <rearnsha@arm.com>
6440
6441 * libc/sys/arm/access.c: New file.
6442 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
6443 * libc/sys/arm/Makefile.in: Regenerate.
6444 * libc/sys/arm/syscalls.c (_stat): New function.
6445
eabb48d5
MM
64462002-03-11 Michael Meissner <meissner@redhat.com>
6447
6448 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
6449 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
6450 * libc/machine/mips/Makefile.in: Regenerate.
6451 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
6452 * libc/machine/mips/memset.c: Dito.
6453 * libc/machine/mips/strcmp.c: Dito.
6454 * libc/machine/mips/strlen.c: Dito.
6455 * libc/machine/mips/strncmp.c: Dito.
6456
2a606041
JJ
64572002-03-06 Jeff Johnston <jjohnstn@redhat.com>
6458
eabb48d5
MM
6459 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
6460 object so it works for shared library or statici library.
6461 * libc/machine/i386/Makefile.in: Regenerated.
2a606041 6462
55f26f11
JR
6463Wed Mar 6 10:24:26 2002 J"orn Rennecke <joern.rennecke@superh.com>
6464
96bff22c
JR
6465 * libc/machine/sh/Makefile.am (lib_a_SOURCES, SH64 case):
6466 Add memcpy.S, memset.S and strcpy.S.
6467 * libc/machine/sh/Makefile.in: Regenerate.
6468 * libc/machine/sh/asm.h (_ENTRY): Set SH5 alignment to 8 bytes.
55f26f11 6469 (SHHI, SHLO): Define.
96bff22c
JR
6470 * libc/machine/sh/memset.S: Add code for SH5.
6471 * libc/machine/sh/memset.S: Likewise.
6472 * libc/machine/sh/strcpy.S: Likewise.
55f26f11 6473
afecf2fa
JJ
64742002-02-27 Jeff Johnston <jjohnstn@redhat.com>
6475
6476 * configure.host: Add check for --disable-newlib-io-float
6477 configuration option and add -DNO_FLOATING_POINT to newlib cflags
6478 if appropriate.
6479 * acinclude.m4: Added --disable-newlib-io-float option.
6480 * aclocal.m4: Regenerated.
6481 * configure: Ditto.
6482 * doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
6483 * libc/*/aclocal.m4 libc/*/configure
6484 * libm/*/aclocal.m4 libm/*/configure: Ditto.
6485 * libc/stdio/vfprintf.c [!INTEGER_ONLY]: Only set FLOATING_POINT
6486 if NO_FLOATING_POINT flag is not defined.
6487
c1010a63
JJ
64882002-02-25 Jeff Johnston <jjohnstn@redhat.com>
6489
6490 * libc/include/sys/config.h: Add __extension__ in front of
6491 long long references.
6492
630c657e
CV
64932002-02-23 Corinna Vinschen <corinna@vinschen.de>
6494
6495 * libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin.
6496 (_stat): Ditto.
6497
59ee2e20
CV
64982002-02-23 Corinna Vinschen <corinna@vinschen.de>
6499
6500 * libc/sys/cygwin/sys/dirent.h (struct __DIR): Use __off32_t instead
6501 of off_t.
6502
2dd68dc2
NC
65032002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
6504
6505 * libc/machine/xscale/strchr.c (strchr): Add 'r1' to the list of
6506 clobbered registers.
6507
55500bf1
TF
65082002-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
6509
6510 * configure.host (newlib_cflags): When host is in m68* add
6511 -DCOMPACT_CTYPE.
6512
ba0173f0
JJ
65132002-02-15 Jeff Johnston <jjohnstn@redhat.com>
6514
6515 * libc/include/sys/config.h: Add definitions for
6516 __int16_t, __uint16_t, __int64_t, and __uint64_t.
6517
7b61d0c5
JJ
65182002-02-12 Hans-Peter Nilsson <hp@bitrange.com>
6519
6520 * libc/sys/mmixware/link.c: New.
6521 * libc/sys/mmixware/sys/syscall.h (TRAP1i, I3f): Make asm
6522 volatile.
6523 * libc/sys/mmixware/times.c (_times): Renamed from times.
6524 * libc/sys/mmixware/open.c (_open): Attempt to handle O_APPEND
6525 properly by reading previous contents, not through BinaryReadWrite.
6526 * libc/sys/mmixware/Makefile.am (lib_a_SOURCES): Add link.c
6527 * libc/sys/mmixware/Makefile.in: Regenerate.
6528
a505db65
CV
65292002-02-10 Corinna Vinschen <corinna@vinschen.de>
6530
6531 * libc/include/grp.h: Don't declare group functions when compiling
6532 Cygwin.
6533
f3b39c45
CV
65342002-02-09 Corinna Vinschen <corinna@vinschen.de>
6535
6536 * libc/include/grp.h: Include Cygwin specific header.
6537 * libc/include/sys/stat.h: Ditto. Don't define `struct stat'
6538 when compiling for Cygwin.
6539 * libc/include/sys/types.h: Don't define off_t, uid_t
6540 and gid_t when compiling for Cygwin.
6541
82b3ac56
MG
65422002-02-08 matthew green <mrg@redhat.com>
6543
6544 * libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): Allocate
6545 _REENT_EMERGENCY_SIZE, not sizeof(char *).
6546
9f25eed9
AO
65472002-02-08 Alexandre Oliva <aoliva@redhat.com>
6548
6549 Contribute sh64-elf.
6550 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
6551 * configure.host (newlib_cflags) [sh*-*-*]: Enable long long
6552 support in printf.
6553 2001-01-29 Alexandre Oliva <aoliva@redhat.com>
6554 * libc/machine/sh/setjmp.S [SH5]: Switch to SHmedia mode before
6555 any labels.
6556 2001-01-24 Alexandre Oliva <aoliva@redhat.com>
6557 * libc/sys/sh/trap.S (___trap34) [SH5]: Don't trash r2.
6558 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
6559 * libc/machine/sh/configure.in: Rework conditionals.
6560 * libc/machine/sh/Makefile.am: Likewise.
6561 * libc/machine/sh/configure, libc/machine/sh/Makefile.in: Rebuilt.
6562 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
6563 * configure.host: Match `sh*'.
6564 * libc/include/machine/setjmp.h: Define for SH5.
6565 * libc/machine/sh/configure.in: Detect SH5.
6566 * libc/machine/sh/configure: Rebuilt.
6567 * libc/machine/sh/Makefile.am: Use only setjmp.S for SH5.
6568 * libc/machine/sh/Makefile.in: Rebuilt.
6569 * libc/machine/sh/asm.h: Adjust for SH5.
6570 * libc/machine/sh/setjmp.S: Implement in SHmedia.
6571 * libc/sys/sh/crt0.S: Likewise.
6572 * libc/sys/sh/trap.S: Likewise.
6573
a2a405ae
JJ
65742002-02-07 Jeff Johnston <jjohnstn@redhat.com>
6575
6576 * libc/machine/i386/Makefile.am: (mach_add_src): Remove.
6577 (mach_add_obj): Conditionally set to setjmp.o or nothing.
6578 (LIB_SOURCES): Remove $(mach_add_src).
6579 (lib_a_LIBADD, lib_a_DEPENDENCIES): Add and set to $(mach_add_src).
6580 (lib_la_LIBADD, lib_la_DEPENDENCIES): Ditto.
6581 * libc/machine/i386/Makefile.in: Regenerate.
6582
27478365
JJ
65832002-02-05 Manik Raina <manik@cisco.com>
6584
994fa212 6585 * libc/misc/dprintf.c (parse_number): #if 0 unused function.
27478365
JJ
6586 * libc/stdlib/ldtoa.c (_ldcheck): Remove unused local variables
6587 s, p, k, and outstr.
6588 * libc/stdlib/dtoa.c (_dtoa_r): Initialize mlo.
6589
815a37f7
JJ
65902002-02-04 Jeff Johnston <jjohnstn@redhat.com>
6591
6592 * libc/include/sys/reent.h [(!_REENT_SMALL]: Add
6593 _REENT_CHECK_EMERGENCY macro.
6594
a4139c12
MG
65952002-02-03 matthew green <mrg@redhat.com>
6596
6597 * libc/reent/signgam.c (__signgam): Fix error in previous.
6598
8195aff7
MG
65992002-02-02 matthew green <mrg@redhat.com>
6600
6601 * libc/include/sys/config.h (_REENT_SMALL): Define for Xstormy16.
6602
6603 * libc/reent/reent.c (_reclaim_reent): Clean for _REENT_SMALL case.
6604 * libc/reent/reent.tex: Add blurb about _REENT_SMALL.
6605 * libc/include/sys/reent.h (struct _reent): Completely new version
6606 for _REENT_SMALL.
6607 (_REENT_INIT): New defines, different defintion depending on _REENT_SMALL.
6608 (_REENT_CHECK, _REENT_CHECK_TM): Likewise.
6609 (_REENT_CHECK_ASCTIME_BUF, _REENT_INIT_RAND48): Likewise.
6610 (_REENT_CHECK_RAND48, _REENT_INIT_MP, _REENT_CHECK_MP): Likewise.
6611 (_REENT_CHECK_EMERGENCY, _REENT_SIGNGAM, _REENT_RAND_NEXT): Likewise.
6612 (_REENT_RAND48_SEED, _REENT_RAND48_MULT, _REENT_RAND48_ADD): Likewise.
6613 (_REENT_MP_RESULT, _REENT_MP_RESULT_K, _REENT_MP_P5S): Likewise.
6614 (_REENT_MP_FREELIST, _REENT_ASCTIME_BUF, _REENT_TM): Likewise.
6615 (_REENT_EMERGENCY): Likewise.
6616
6617 * libc/include/sys/reent.h (struct __sFILE_fake): New struct, same as
6618 the start of the real __sFILE, used for stdin, stdout and stderr until
6619 they are setup properly.
6620 (struct __sFILE): Move location of _data in _REENT_SMALL case.
6621 * libc/stdio/findfp.c (__sinit): Rearrange for _REENT_SMALL case by
6622 allocated stdin, stdout and stderr.
6623 * libc/stdio/getchar.c (_getchar_r): Call _REENT_SMALL_CHECK_INIT().
6624 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Likewise.
6625 * libc/stdio/perror.c (_perror_r): Likewise.
6626 * libc/stdio/printf.c (printf, _printf_r): Likewise.
6627 * libc/stdio/putchar.c (_putchar_r): Likewise.
6628 * libc/stdio/puts.c (_puts_r): Likewise.
6629 * libc/stdio/scanf.c (scanf, _scanf_r): Likewise.
6630 * libc/stdio/vprintf.c (vprintf): Likewise.
6631 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Likewise.
6632
6633 * libc/stdio/tmpnam.c (_tmpnam_r): Use _REENT_EMERGENCY().
6634
6635 * libc/reent/reent.c (_wrapup_reent): Adjust for _REENT_SMALL atexit.
6636 * libc/include/sys/reent.h (_atexit): Limit atexit() entries to 32
6637 for _REENT_SMALL.
6638 * libc/stdlib/atexit.c (atexit): Rearrange for _REENT_SMALL case.
6639 * libc/stdlib/exit.c (exit): Rearrange for _REENT_SMALL case.
6640
6641 * libc/include/sys/reent.h (struct _rand48): Keep _rand_next if
6642 _REENT_SMALL.
6643 * libc/stdlib/drand48.c (_drand48_r): Call _REENT_CHECK_RAND48().
6644 * libc/stdlib/lcong48.c (_lcong48_r): Likewise.
6645 * libc/stdlib/lrand48.c (_lrand48_r): Likewise.
6646 * libc/stdlib/mrand48.c (_mrand48_r): Likewise.
6647 * libc/stdlib/rand48.c (__dorand48): Likewise.
6648 * libc/stdlib/seed48.c (_seed48_r): Likewise.
6649 * libc/stdlib/srand48.c (_srand48_r): Likewise.
6650 * libc/stdlib/rand48.h (__rand48_seed, __rand48_mult, __rand48_add): Define
6651 as _REENT_RAND48_SEED(), _REENT_RAND48_MULT() and _REENT_RAND48_ADD().
6652 * libc/stdlib/dtoa.c (_dtoa_r): Call _REENT_CHECK_MP(). Use
6653 _REENT_MP_RESULT() and _REENT_MP_RESULT_K().
6654 * libc/stdlib/ldtoa.c (_ldtoa_r): Likewise.
6655 * libc/stdlib/rand.c (srand): Use _REENT_RAND_NEXT().
6656 * libc/stdlib/rand.c (rand): Likewise.
6657
6658 * libc/stdlib/mallocr.c (malloc_stats): Call _REENT_SMALL_CHECK_INIT().
6659 * libc/stdlib/mstats.c (_mstats_r): Call _REENT_SMALL_CHECK_INIT().
6660
6661 * libc/stdlib/mprec.c (Balloc): Call _REENT_CHECK_MP. Use
6662 _REENT_MP_FREELIST() and _REENT_MP_P5S.
6663 * libc/include/sys/reent.h (struct _mprec): New structure.
6664
6665 * libc/include/sys/reent.h (struct _reent): Rename _strtok_last to
6666 _unused_strtok_last.
6667 * libc/string/strtok.c (strtok): Use a local static variable.
6668
6669 * libc/include/sys/reent.h (_REENT_ASCTIME_SIZE): New define.
6670 (_REENT_EMERGENCY_SIZE): Likewise.
6671 * libc/time/asctime.c (asctime): Call _REENT_CHECK_ASCTIME_BUF(). Use
6672 _REENT_ASCTIME_BUF().
6673 * libc/time/lcltime.c (localtime): Call _REENT_CHECK_TM(). Use
6674 _REENT_TM().
6675
6676 * libc/include/math.h (__singam_r): Use _REENT_SIGNGAM().
6677 * libc/reent/signgam.c (__signgam): Use _REENT_SIGNGAM().
6678 * libm/math/w_gamma.c (gamma): Use _REENT_SIGNGAM().
6679 * libm/math/w_lgamma.c (lgamma): Use _REENT_SIGNGAM().
6680 * libm/math/wf_gamma.c (gammaf): Use _REENT_SIGNGAM().
6681 * libm/math/wf_lgamma.c (lgammaf): Use _REENT_SIGNGAM().
6682
9c2e7642
GK
66832002-02-01 Geoffrey Keating <geoffk@redhat.com>
6684
6685 * configure.host (xstormy16): Don't use the generic malloc.
6686 * libc/machine/xstormy16/Makefile.am: Build tiny-malloc.
6687 * libc/machine/xstormy16/Makefile.in: Regenerate.
6688 * libc/machine/xstormy16/mallocr.c: New file.
6689 * libc/machine/xstormy16/tiny-malloc.c: New file.
6690
4bb6112f
TF
66912002-01-28 Thomas Fitzsimmons <fitzsim@redhat.com>
6692
6693 * libc/include/sys/signal.h [__CYGWIN__]: Issue error message
6694 when _CYGWIN_TYPES_H is not defined.
6695
8d345552
TF
66962002-01-24 Thomas Fitzsimmons <fitzsim@redhat.com>
6697
6698 * libc/include/sys/signal.h: Revert 2002-01-23 change.
6699
bcc49082
TF
67002002-01-23 Thomas Fitzsimmons <fitzsim@redhat.com>
6701
6702 * libc/include/sys/signal.h: Remove pthread_kill declaration
6703 when __CYGWIN__ is defined.
6704
13baedeb
CF
67052002-01-18 Mark Bradshaw <bradshaw@staff.crosswalk.com>
6706
6707 * libc/include/time.h: Add prototype for strptime for Cygwin.
6708
b2db0ebc
NC
67092002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
6710
ebf139fb
NC
6711 * libc/machine/xscale/memset.c (memset): Fix bug when len == 1 and
6712 dst was not word aligned.
6713
b2db0ebc
NC
6714 * libc/sys/arm/syscalls.c (_sbrk): Return -1 rather than aborting
6715 if too much memory is requested.
6716
798c015d
JJ
67172002-01-11 Jeff Johnston <jjohnstn@redhat.com>
6718
6719 * libc/stdio/vfscanf.c (__svfscanf_r): Change loop that
6720 reads blanks from the input file to break if EOF reached
6721 rather than end processing.
6722
46ad2ef4
JJ
67232002-01-07 Jeff Johnston <jjohnstn@redhat.com>
6724
6725 * MAINTAINERS: Change e-mail addresses to refer to redhat domain.
6726
86b06396
JJ
67272002-01-07 Alan Matsuoka <alanm@redhat.com>
6728
6729 * libc/include/machine/ieeefp.h: Configure d10v doubles to
6730 be 32 bits if __DOUBLE__ == 32 otherwise doubles are 64 bits.
6731 libc/include/sys/config.h: Ditto.
6732
423d5064
CV
67332001-12-28 Corinna Vinschen <corinna@vinschen.de>
6734
6735 * libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE.
6736
f6eff1c0
GK
67372001-12-22 Geoffrey Keating <geoffk@redhat.com>
6738 Catherine Moore <clm@redhat.com>
6739 Richard Henderson <rth@redhat.com>
6740 Corinna Vinschen <vinschen@redhat.com>
6741
6742 * configure.host: Add support for xstormy16.
6743 * libc/include/machine/ieeefp.h: Add support for xstormy16.
6744 * libc/include/machine/setjmp.h: Add support for xstormy16.
6745 * libc/include/sys/config.h: Add support for xstormy16.
6746 * libc/machine/xstormy16/Makefile.am: New file.
6747 * libc/machine/xstormy16/Makefile.in: New file.
6748 * libc/machine/xstormy16/aclocal.m4: New file.
6749 * libc/machine/xstormy16/configure: New file.
6750 * libc/machine/xstormy16/configure.in: New file.
6751 * libc/machine/xstormy16/setjmp.S: New file.
6752
1f93c55f
TF
67532001-12-19 Thomas Fitzsimmons <fitzsim@redhat.com>
6754
6755 * libm/machine/configure.in (HAVE_LIBM_MACHINE_DIR): New conditional.
6756 * libm/machine/Makefile.am [HAVE_LIBM_MACHINE_DIR] (LIBM_MACHLIB): New variable.
6757
13b918be
CV
67582001-12-19 Corinna Vinschen <corinna@vinschen.de>
6759
6760 * libm/machine/Makefile.am: Change rules to create correct lib.a.
6761 * libm/machine/Makefile.in: Regenerated through automake.
6762
08e857b4
TF
67632001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
6764
6765 * Makefile.am (DOCDIR): Force to empty string when doc
6766 directory is not present.
6767
60565ed6
TF
67682001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
6769
6770 * libc/machine/i386/f_*: Move to libm/machine/i386.
6771
67722001-12-18 Joel Sherrill <joel@OARcorp.com>
6773
6774 * libm/machine/Makefile.am: Add dummy doc stub so
6775 "make info" works.
6776
67772001-12-17 Joel Sherrill <joel@OARcorp.com>
6778
6779 * libc/include/sys/types.h (ino_t): RTEMS uses long also.
6780
fc504135
TF
67812001-12-17 Thomas Fitzsimmons <fitzsim@redhat.com>
6782
6783 * libc/stdlib/Makefile.am (LIB_COMPILE): Change to equal
6784 $(COMPILE) rather than $(CC).
6785 * libc/stdio/Makefile.am (LIB_COMPILE): Likewise.
6786 (vfprintf.$(oext)): Remove $(INCLUDES), made redundant by
6787 $(LIB_COMPILE) change.
6788 (vfiprintf.$(oext)): Likewise.
6789
efeae9a3
CV
67902001-12-17 Corinna Vinschen <vinschen@redhat.de>
6791
6792 * libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allow
6793 conditionalized including of getopt stuff.
6794
cdf7120d
TF
67952001-12-14 Thomas Fitzsimmons <fitzsim@redhat.com>
6796
6797 * libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) to
6798 compile line.
f85be99c 6799 (vfiprintf.$(oext)): Likewise.
cdf7120d 6800
2e1a7175
TF
68012001-12-13 Thomas Fitzsimmons <fitzsim@redhat.com>
6802
6803 * Makefile.shared: New file.
6804 * libc/sys/linux/shared.ld: New file.
6805 * libm/machine/*: New files.
6806 * libm/machine/i386/*: New files.
6807 * Makefile.am: Add libtool support. Change math and mathfp
6808 references to variables.
6809 * configure.host: Add variables for libtool support. Add
6810 libm_machine_dir variable.
6811 * configure.in: Add objectlist variables, for libtool
6812 support. Add CC_FOR_BUILD tests.
6813 * libc/Makefile.am: Add libtool support. Change crt0.o
6814 reference to be a variable reference.
6815 * libc/configure.in: Add libtool support. Change sublib
6816 names to be lib${subdir}.la when using libtool.
6817 * libc/ctype/Makefile.am: Add libtool support.
6818 * libc/errno/Makefile.am: Likewise.
6819 * libc/locale/Makefile.am: Likewise.
6820 * libc/machine/Makefile.am: Likewise.
6821 * libc/machine/configure.in: Likewise.
6822 * libc/machine/i386/Makefile.am: Likewise.
6823 * libc/machine/i386/configure.in: Likewise.
6824 * libc/misc/Makefile.am: Likewise.
6825 * libc/posix/Makefile.am: Likewise.
6826 * libc/reent/Makefile.am: Likewise.
6827 * libc/signal/Makefile.am: Likewise.
6828 * libc/stdio/Makefile.am: Likewise.
6829 * libc/stdlib/Makefile.am: Likewise.
6830 * libc/string/Makefile.am: Likewise.
6831 * libc/sys/Makefile.am: Likewise.
6832 * libc/sys/configure.in: Likewise.
6833 * libc/sys/linux/Makefile.am: Add libtool support. Change
6834 awk reference to a variable reference. Change signal.h
6835 reference to a variable reference.
6836 * libc/sys/linux/configure.in: Add libtool support.
6837 * libc/syscalls/Makefile.am: Likewise.
6838 * libc/time/Makefile.am: Likewise.
6839 * libc/unix/Makefile.am: Likewise.
6840 * libm/Makefile.am: Add libtool support. Change math and
6841 mathfp references to variables.
6842 * libm/configure.in: Add libtool support. Add
6843 LIBM_MACHINE_LIB variable.
6844 * libm/common/Makefile.am: Add libtool support.
6845 * libm/math/Makefile.am: Likewise.
6846 * libm/mathfp/Makefile.am: Likewise.
6847 Regenerate all Makefile.in, aclocal.m4, and configure.
6848
b92591a1
JJ
68492001-12-13 Anita Kulkarni <anitak@kpit.com>
6850
6851 * libc/sys/sh/crt0.S: Remove stack symbol definition 0xdeaddead.
6852
355b664e
CF
68532001-12-06 John Peacock <jpeacock@rowman.com>
6854
6855 * libc/include/sys/unistd.h: Correct ualarm declaration.
6856
e9853806
NC
68572001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
6858
6859 * libc/sys/arm/crt0.S: For __USES_INITFINI__ preserve the argument
6860 vector before calling the initialisation functions.
6861
a8e091b0
CF
68622001-11-29 Christopher Faylor <cgf@redhat.com>
6863
6864 * libc/include/dirent.h: Protect against multiple inclusion.
6865
ab634123
CF
68662001-11-27 Christopher Faylor <cgf@redhat.com>
6867
6868 * libc/include/sys/types.h: Define useconds_t.
6869 * libc/include/sys/ulimit.h: Declare ualarm.
6870
d37e401e
CF
68712001-11-21 Christopher Faylor <cgf@redhat.com>
6872
6873 * libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.
6874
8ac90051
HPN
68752001-11-19 Hans-Peter Nilsson <hp@bitrange.com>
6876
6877 * libc/sys/mmixware/*: Tweak license header in all source files.
6878
d7ca37e4
CV
68792001-11-12 Corinna Vinschen <vinschen@redhat.com>
6880
6881 * libc/include/alloca.h: Move libc/sys/linux/include/alloca.h
6882 to here. Rearrange for general inclusion by stdlib.h.
6883 * libc/include/stdlib.h: Include <alloca.h> if __STRICT_ANSI__
6884 isn't defined.
6885 * libc/sys/linux/include/alloca.h: Move to libc/include.
6886
28f8744e
AG
68872001-11-12 Anthony Green <green@redhat.com>
6888
6889 * libc/sys/arm/crt0.S (__stack_base__): New symbol.
6890
4cede8c4
HPN
68912001-11-13 Hans-Peter Nilsson <hp@bitrange.com>
6892
6893 * libc/sys/mmixware/*: Correct spacing in all source files.
6894 * libc/sys/mmixware/syscall.h: Move misplaced file...
6895 * libc/sys/mmixware/sys/syscall.h: ...here.
6896
8be9b48b
JJ
68972001-11-12 Hans-Peter Nilsson <hp@bitrange.com>
6898
6899 * libc/include/machine/ieeefp.h: Add support for mmix target.
6900 * libc/include/machine/setjmp.h: Ditto.
6901 * configure.host: Ditto.
6902 * libc/sys/mmixware/Makefile.am, libc/sys/mmixware/_exit.c,
6903 libc/sys/mmixware/access.c, libc/sys/mmixware/aclocal.m4,
6904 libc/sys/mmixware/chmod.c, libc/sys/mmixware/chown.c,
6905 libc/sys/mmixware/close.c, libc/sys/mmixware/configure.in,
6906 libc/sys/mmixware/creat.c, libc/sys/mmixware/crt0.c,
6907 libc/sys/mmixware/execv.c, libc/sys/mmixware/execve.c,
6908 libc/sys/mmixware/fork.c, libc/sys/mmixware/fstat.c,
6909 libc/sys/mmixware/getpid.c, libc/sys/mmixware/gettime.c,
6910 libc/sys/mmixware/isatty.c, libc/sys/mmixware/kill.c,
6911 libc/sys/mmixware/lseek.c, libc/sys/mmixware/open.c,
6912 libc/sys/mmixware/pipe.c, libc/sys/mmixware/read.c,
6913 libc/sys/mmixware/sbrk.c, libc/sys/mmixware/setjmp.S,
6914 libc/sys/mmixware/stat.c, libc/sys/mmixware/sys/syscall.h,
6915 libc/sys/mmixware/time.c, libc/sys/mmixware/times.c,
6916 libc/sys/mmixware/unlink.c, libc/sys/mmixware/utime.c,
6917 libc/sys/mmixware/wait.c, libc/sys/mmixware/write.c: New files.
6918 * libc/sys/mmixware/configure, libc/sys/mmixware/Makefile.in,
6919 libc/sys/mmixware/aclocal.m4: Generate.
6920
c7dd4f95
CV
69212001-11-05 Corinna Vinschen <corinna@vinschen.de>
6922
6923 * libc/include/sys/unistd.h: Add prototypes for endusershell(),
6924 getusershell(), iruserok(), revoke(), ruserok() and setusershell()
6925 when __CYGWIN__ is defined.
6926 * libc/sys/cygwin/sys/utmp.h: Add prototypes for login_tty() and
6927 logwtmp().
6928
a6a6f9fe
JJ
69292001-11-01 Arati Dikey <aratidikey@hotmail.com>
6930
6931 * libm/mathfp/sf_isinf.c (isinff): Change to use _DEFUN macro.
6932 [_DOUBLE_IS_32BITS](isinf): New function that calls isinff.
6933 * libm/mathfp/sf_isnan.c (isnanf): Change to use _DEFUN macro.
6934 [_DOUBLE_IS_32BITS](isnan): New function that calls isnanf.
6935
d0504c35
JJ
69362001-10-24 Christopher Faylor <cgf@redhat.com>
6937
6938 * libc/stdio/fseek.c: Reset pointer to buffer base
6939 when forced to seek outside of current buffer contents.
6940 This prevents the code from erroneously thinking there is
6941 anything in the current buffer.
6942
0280c8c0
GK
69432001-10-22 Geoffrey Keating <geoffk@redhat.com>
6944
6945 * libc/include/math.h: The C++ standard adds the single-precision
6946 versions of the elementary functions.
6947
333d6098
CF
69482001-10-22 Christopher Faylor <cgf@redhat.com>
6949
6950 * libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations
6951 throughout.
6952 * signal.h: Change comment to reflect __CYGWIN__ rather than __CYGWIN32__.
6953 * popen.c (popen): Use __CYGWIN_ rather than __CYGWIN32__.
6954 * system.c (_system_r): Ditto.
6955
c7118319
CV
69562001-10-17 Corinna Vinschen <corinna@vinschen.de>
6957
6958 * libc/include/sys/unistd.h: Add prototype for fchdir() when
b4e98df6 6959 __CYGWIN__ or __rtems__ is defined.
c7118319 6960
5665b0e1
JJ
69612001-10-01 Charles Wilson <cwilson@ece.gatech.edu>
6962
6963 * libc/include/stdlib.h: add declarations for
6964 _strtoull_r, _strtoll_r, strtoull, and strtoll.
6965 * libc/stdio/local.h: remove declarations of
6966 __strtoull_r and __strtoll_r.
6967 * libc/stdio/vfscanf.c(__svfscanf_r): call
6968 _strtoull_r instead of __strtoull_r. Ditto
6969 _strtoll_r vs. __strtoll_r.
6970 * libc/stdlib/Makefile.am: add new files to
6971 .c list and .def list
6972 * libc/stdlib/Makefile.in: regenerate
6973 * libc/stdlib/strtoll_r.c: rename __strtoll_r
6974 as _strtoll_r
6975 * libc/stdlib/strtoull_r.c: rename __strtoull_r
6976 as _strtoull_r
6977 * libc/stdlib/strtoull.c: new file
6978 * libc/stdlib/strtoll.c: new file
6979
d2d5eb41
CF
6980Mon Sep 17 17:29:47 2001 Christopher Faylor <cgf@cygnus.com>
6981
6982 * libc/include/process.h: Add getpid() declaration.
6983
448e3c14
NC
69842001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
6985
6986 * libc/sys/arm/crt0.S: Add calls to _init and _fini (via atexit)
6987 for new style arm/elf ctor/dtor handling.
6988 Minor formatting tidy up.
6989
7a2afbbb
JJ
69902001-09-13 Jeff Johnston <jjohnstn@redhat.com>
6991
6992 * libc/stdlib/Makefile.am: Add support to build strtoll_r.c
6993 and strtoull_r.c.
6994 * libc/stdlib/Makefile.in: Regenerated.
6995 * libc/stdlib/strtoll_r.c: New file.
6996 * libc/stdlib/strtoull_r.c: New file.
6997 * libc/stdio/local.h: Add prototypes for long long string
6998 conversion routines.
6999 * libc/stdio/vfscanf.c (__svfscanf_r): Add optional long long support
7000 tied to %L integer conversion specifier.
7001
6342caa4
JJ
7002Thu Sep 13 08:49:49 2001 Jason Tishler <jason@tishler.net>
7003
7004 * strftime.c (strftime): Fix "%W" implementation to properly handle
7005 Mondays too.
7006
b2d319cb
JJ
70072001-09-07 Jeff Law <law@redhat.com>
7008
7009 * libc/sys/h8300hms/crt0.S: For H8/300H and H8/S, load address of
7010 __fini with "mov.l" instead of "mov.w".
7011
233823ba
CV
70122001-09-05 Corinna Vinschen <corinna@vinschen.de>
7013
7014 * libc/sys/cygwin/include/unistd.h: New file, wrapping sys/unistd.h
7015 and getopt.h.
7016
63c17b54
JJ
70172001-09-04 Jason Merrill <jason_merrill@redhat.com>
7018
7019 * libc/sys/h8300hms/crt0.S: Support ELF initialization.
7020
a3e67ddf
CV
70212001-09-03 Corinna Vinschen <corinna@vinschen.de>
7022
7023 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number
7024 field.
7025 (__DIRENT_VERSION): New define.
7026
6d47f33a
CV
70272001-09-03 Corinna Vinschen <corinna@vinschen.de>
7028
7029 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add `d_fd' member.
4f79e37e
CV
7030 Shrink __d_reserved accordingly to keep structure size.
7031 (dirfd): Declare external.
6d47f33a 7032
348c5e06
JJ
70332001-08-29 Joel Sherrill <joel@OARcorp.com>
7034
7035 * libc/include/sys/unistd.h: Prototype chroot() for RTEMS.
7036
70372001-08-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
7038
7039 * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S,
7040 libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c,
7041 libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S,
7042 libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S,
7043 libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S,
7044 libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S,
7045 libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c,
7046 libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S:
7047 Add conditional compilation to avoid HW FPU instructions
7048 when compiled for soft-float.
7049
f29865c5
JJ
70502001-08-29 Jeff Johnston <jjohnstn@redhat.com>
7051
7052 * Makefile.am: Add check for ln failing when creating libg.a
7053 so that cp gets used as a backup.
7054 * Makefile.in: Regenerated.
7055
9e2a4ef8
JJ
70562001-08-29 Jeff Johnston <jjohnstn@redhat.com>
7057
7058 * libc/include/sys/reent.h: Add include of <sys/_types.h>.
7059 No longer include time.h. Add struct __tm to use for
7060 _localtime_buf in the reentrant structure. Add a
7061 _NULL definition to use in initializing the reentrant struct.
7062 * libc/include/sys/config.h: For CYGWIN32 and RTEMS, change
7063 the _READ_WRITE_RETURN_TYPE to _ssize_t which is found in
7064 <sys/_types.h>.
7065 * libc/include/sys/unistd.h: Include <sys/_types.h>.
7066 * libc/time/lcltime.c (localtime): Cast the reentrant struct
7067 _localtime_buf to be struct tm *.
7068
1ae900d6
JR
7069Wed Aug 29 14:17:38 2001 J"orn Rennecke <amylaar@redhat.com>
7070
7071 * configure.host (h8300-*-elf*, h8500-*-elf*): New cases.
7072 * libc/sys/h8300hms/crt1.c (__main): Don't reference __ctors /
7073 __ctors_end.
7074 * libc/sys/h8300hms/syscalls.c: Include errno.h.
7075 (_unlink): New stub function.
7076
8e26d5b5
CF
7077Sat Aug 25 22:22:25 2001 Christopher Faylor <cgf@cygnus.com>
7078
7079 * libc/include/sys/errno.h: Add a cautionary comment.
7080
e8267664
JJ
70812001-08-21 Jeff Johnston <jjohnstn@redhat.com>
7082
7083 * libc/stdlib/mallocr.c [!defined(MALLOC_ALIGNMENT)]: Add conditional
7084 for SIZE_SZ so that alignment ends up a minimum of 8.
7085
4acf3edf
CF
7086Mon Aug 13 22:26:01 2001 Christopher Faylor <cgf@cygnus.com>
7087
7088 * libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro
7089 arguments.
7090
7091 * libc/include/sys/errno.h: Declare sys_errlist and sys_nerr, under
7092 Cygwin.
7093
52c80be8
JJ
70942001-08-13 Jeff Johnston <jjohnstn@redhat.com>
7095
7096 * libc/include/malloc.h (M_MXFAST, M_NLBLKS, M_GRAIN, M_KEEP): New
7097 macro constants for mallopt options.
7098 (M_TRIM_THRESHOLD, M_TOP_PAD, M_MMAP_THRESHOLD, M_MMAP_MAX): Ditto.
7099
a7061f7f
JJ
71002001-08-02 Jeff Johnston <jjohnstn@redhat.com>
7101
7102 * libc/include/stdio.h (BUFSIZ): Define to __BUFSIZ__ if provided,
7103 otherwise default.
7104
0b4bfdd5
AH
71052001-07-12 Aldy Hernandez <aldyh@redhat.com>
7106
7107 * libc/machine/mips/setjmp.S: Allow mips16 and mips64 to coexist.
7108
2b6b730c
NC
71092001-06-27 Nick Clifton <nickc@cambridge.redhat.com>
7110
7111 * libc/include/machine/ieeefp.h (__IEEE_BYTES_LITTLE_ENDIAN):
7112 Define for little endian ARMs.
7113
7114 * libc/stdlib/mprec.h (Storeinc): Use little endian version if
7115 __IEEE_BYTES_LITTLE_ENDIAN is defined.
7116
25842b68
JJ
71172001-06-11 Danny Smith <dannysmith@users.sourceforge.net>
7118
7119 * /libc/include/ctype.h (is* and to* macros): Do not define if C++.
7120
371b76ef
JJ
71212001-06-11 Egor Duda <deo@logos-m.ru>
7122
7123 * libc/ctype/ctype_.c: When compiled with gcc on platforms
7124 with signed char, make _ctype_[-128] ... _ctype[-1] refer to
7125 initialized memory region. Platform can define COMPACT_CTYPE
7126 to avoid allocation of the additional 128 bytes of data.
7127 Add pointer to _ctype_ array. Always initialize all _ctype_
7128 array elements.
7129
43b44bc5
JL
71302001-06-08 Jonathan Larmour <jlarmour@redhat.com>
7131
7132 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencing
7133 NULL pointer.
7134
188bc140
NC
71352001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
7136
7137 * libc/stdio/vfprintf.c (_VFPRINTF_R): Handle printf ("%#.0o",0)
7138
2ce88418
NC
71392001-05-25 Nick Clifton <nickc@cambridge.redhat.com>
7140
7141 * libc/machine/xscale/memcmp.c: Fix bug when both pointers have
7142 matching, non-word alignment, and the length is <= 4 but more than
7143 enough to move them over a word boundary.
7144 Add comments explaining what each instruction does.
7145
ca60ed47
CF
7146Mon May 7 20:39:25 2001 Christopher Faylor <cgf@cygnus.com>
7147
7148 * libc/include/sys/stat.h: Revert March 3, Cygwin change.
c63e9997 7149 * libc/include/sys/unistd.h: Ditto.
ca60ed47 7150
8b3bcfba
JJ
71512001-05-04 Earnie Boyd <earnie@users.sourceforge.net>
7152
7153 * libc/string/strrchr.c: Use strchr for the speed improvements.
7154
b09e3cf8
JJ
71552001-05-01 Jeff Johnston <jjohnstn@redhat.com>
7156
7157 * libc/stdio/findfp (__sinit)[HAVE_FCNTL]: For platforms that have
7158 real file systems, let __smakebuf() determine if line buffering
7159 should be used for stdout.
7160
0ca66974
JJ
71612001-04-27 Jeff Johnston <jjohnstn@redhat.com>
7162
7163 * libc/stdio/vfscanf.c (__svfscanf_r): Initialize new_exp local var.
7164
7cb7017a
JJ
71652001-04-27 Jeff Johnston <jjohnstn@redhat.com>
7166
7167 * libc/include/stdlib.h: Add prototype for _strtod_r.
7168
a874cd21
JJ
71692001-04-24 Charles Wilson <cwilson@ece.gatech.edu
7170
7171 * libc/stdio/vprintf.c (vprintf): fix signature to use _DEFUN
7172 * libc/stdio/vprintf.c (_vprintf_r): new function
7173 * libc/stdio/vsnprintf.c (vsnprintf): fix signature to use _DEFUN
7174 * libc/stdio/vsnprintf.c (_vsnprintf_r): fix signature to use
7175 _DEFUN, and call _vfprintf_r, not vfprintf.
7176 * libc/stdio/vsprintf.c (vsprintf.c): fix signature to use _DEFUN
7177 * libc/stdio/vsprintf.c (_vsprintf_r): fix signature to use
7178 _DEFUN, and call _vfprintf_r, not vfprintf.
7179
cb4cc283
CF
71802001-04-22 Earnie Boyd <earnie@users.sourceforge.net>
7181
7182 * libc/include/sys/unistd.h [X_OK]: Use better protection against
7183 Cygwin X_OK definitions in sys/file.h.
7184
8c9df1d5
CF
7185Fri Apr 20 23:17:51 2001 Christopher Faylor <cgf@cygnus.com>
7186
7187 * libc/include/sys/time.h: Define timercmp and other macros for
7188 __CYGWIN__, too.
7189
3ac6f3a7
JJ
71902001-04-20 Jeff Johnston <jjohnstn@redhat.com>
7191
7192 * acinclude.m4: Added --enable-malloc-debugging configure flag.
7193 * configure.host: For Cygwin specify -DMALLOC_PROVIDED if
7194 --enable-malloc-debugging selected.
7195 * aclocal.m4 configure: Regenerated.
7196 libm/aclocal.m4 libm/configure: Ditto.
7197 * libc/aclocal.m4 libc/configure: Ditto.
7198 * libc/machine/aclocal.m4 libc/machine/configure: Ditto.
7199 * libc/machine/*/aclocal.m4 libc/machine/*/configure: Ditto.
7200 * libc/sys/aclocal.m4 libc/sys/configure: Ditto.
7201 * libc/sys/*/aclocal.m4 libc/sys/*/configure: Ditto.
7202 * doc/aclocal.m4 doc/configure: Ditto.
7203
52cb9e69
JJ
72042001-04-20 Jeff Johnston <jjohnstn@redhat.com>
7205
7206 * libc/include/stdio.h[!_REENT_ONLY]: Moved various functions together
7207 into one list.
7208 [!__STRICT_ANSI__]: Moved non-ANSI I/O functions in this list.
7209 (vfscanf, vscanf, vsscanf, _vfscanf_r, _vscanf_r, _vsscanf_r): New
7210 function prototypes.
7211 (_fscanf_r, _sscanf_r): Ditto.
7212 * libc/include/stdlib.h: Added _strtod_r prototype.
7213 * libc/stdio/Makefile.am: Add new v*scanf functions.
7214 * libc/stdio/Makefile.in: Regenerate.
7215 * libc/stdio/fscanf.c: Reorganized so HAVE_STDC only affects prototype
7216 and code is shared. Added reentrant _fscanf_r which calls __svfscanf_r.
7217 * libc/stdio/scanf.c: Changed to call __svfscanf_r.
7218 * libc/stdio/sscanf.c: Changed documentation to add reentrant routines.
7219 (sscanf): Changed to call __svfscanf_r with _REENT argument.
7220 (_sscanf_r): New routine.
7221 * libc/stdio/local.h: Removed __svfscanf prototype and replaced it
7222 with __svfscanf_r prototype.
7223 * libc/stdio/vfscanf.c (vfscanf, _vfscanf_r: New
7224 routines.
7225 (__svfscanf_r): Reentrant version of __svfscanf which takes reetrancy
7226 structure as argument as calls reentrant versions of helper functions
7227 (e.g. _strtol_r, _strtoul_r). Also replaced calls to atol and atof
7228 to _strtol_r and _strtod_r respectively.
7229 * libc/stdio/vfscanf.c: Also changed __svfscanf to call __svfscanf_r.
7230 * libc/stdlib/strtod.c (strtod): Changed to call _strtod_r with
7231 _REENT argument.
7232 * libc/stdio/vscanf.c: New file.
7233 * libc/stdio/vsscanf.c: Ditto.
7234
ee9f39fb
JJ
72352001-04-19 Robert Collins <rbtcollins@hotmail.com>
7236
7237 * include/time.h[__CYGWIN__]: Define tzname to _tzname if not defined.
7238 Define daylight to _daylight if it is not defined
7239 Prepare a variable export of timezone based on timezonevariable.
7240 (Cannot be used with the timezone() function.)
7241
273861e3
JJ
72422001-04-17 Stephen L. Moshier <moshier@moshier.ne.mediaone.net>
7243
7244 * newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi):
7245 Correct the numerical values.
7246
a25b8414
CF
72472001-04-13 Robert Collins <rbtcollins@hotmail.com>
7248
7249 * libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only).
7250
b8a8c59d
CV
7251Thu Apr 12 23:11:00 2001 Corinna Vinschen <corinna@vinschen.de>
7252
7253 * libc/include/sys/errno.h: Add ECASECLASH to indicate case clash
7254 on case insensitve file systems.
7255
74f8cc63
CF
72562001-04-12 Robert Collins <rbtcollins@hotmail.com>
7257
7258 * libc/include/sys/features.h: Add appropriate defines for Cygwin
7259 pthread support.
7260 * libc/include/sys/signal.h: Remove unneeded __CYGWIN__ protection.
7261 * libc/include/sys/types.h: Protect __CYGWIN__ from the rtems pthreads
7262 types. Include <cygwin/types.h> for the cygwin specific typedefs.
7263
16740220
RS
72642001-04-04 Richard Sandiford <rsandifo@redhat.com>
7265
7266 * libc/include/machine/ieeefp.h: Comment about new configuration
7267 macros _FLT_LARGEST_EXPONENT_IS_NORMAL and _FLT_NO_DENORMALS.
7268 * libm/common/fdlib.h: Define new macros for testing floats.
7269 * libm/common/sf_*: Use them.
7270 * libm/math/ef_*: Likewise.
7271 * libm/math/sf_*: Likewise.
7272
0694d8d3
JJ
72732001-03-29 Jeff Johnston <jjohnstn@redhat.com>
7274
7275 * libc/sys/arm/setjmp.S: Added .code 16 specifier for thumb-mode
7276 prolog to by-pass possible assembler error.
7277
4833b38c
JJ
72782001-03-21 Egor Duda <deo@logos-m.ru>
7279
7280 Allow building internal stubs for non-reentrant syscalls
7281 if target provides its own malloc
7282 * libc/reent/reent.c (errno): Move definition here.
7283 * libc/reent/sbrkr.c: From here.
7284
d17d6d42
CF
72852001-03-20 Danny Smith <dannysmith@users.sourceforge.net>
7286
7287 * libc/include/sys/types.h (BSD int typedefs): Guard with
7288 _BSDTYPES_DEFINED rather than _WINSOCK_H.
7289 (fd_set): Add !defined __USE_W32_SOCKETS to guard; define
7290 _SYS_TYPES_FD_SET.
7291 * libc/include/sys/unistd.h (gethostname): Don't declare if defined
7292 (_WINSOCK_H) || defined (__USE_W32_SOCKETS).
7293
c7ee75cd
CV
7294Sat Mar 17 18:30:00 2001 Corinna Vinschen <corinna@vinschen.de>
7295
7296 * libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS and
7297 _PC_POSIX_SECURITY constants for Cygwin.
7298
63dc5d80
CV
7299Wed Mar 14 9:34:00 2001 Corinna Vinschen <corinna@vinschen.de>
7300
7301 * libc/sys/cygwin/crt0.c: Add copyright hint.
7302 * libc/sys/cygwin/sys/dirent.h: Ditto.
7303 * libc/sys/cygwin/sys/param.h: Ditto.
7304 * libc/sys/cygwin/sys/utime.h: Ditto.
7305 * libc/sys/cygwin/sys/utmp.h: Ditto.
7306
6f637037
AO
73072001-03-13 Alexandre Oliva <aoliva@redhat.com>
7308
7309 * libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make it
7310 equivalent to LONGINT.
7311
e69b6f73
JJ
73122001-03-08 Richard Sandiford <rsandifo@redhat.com>
7313
7314 * (libc/include/machine/setjmp.h): Use 23 long long ints for a
7315 jmpbuf on MIPS64 targets.
7316 * (libc/machine/mips/setjmp.S): Add MIPS64 version.
7317
6198dece
CF
7318Wed Mar 7 16:02:07 2001 Christopher Faylor <cgf@cygnus.com>
7319
e69b6f73
JJ
7320 * libc/include/sys/config.h: Use ssize_t for Cygwin read/write
7321 declarations.
6198dece 7322
cfc05d96
JJ
7323Mon Mar 5 21:48:54 2001 J"orn Rennecke <amylaar@redhat.com>
7324
7325 * libc/include/sys/config.h (_READ_WRITE_RETURN_TYPE): Define.
7326 For RTEMS, define to be ssize_t. Default to int if not defined.
7327 * libc/stdio/sscanf.c (eofread): Return _READ_WRITE_RETURN_TYPE.
7328 * libc/stdio/stdio.c (__sread, __swrite): Likewise.
7329 * libc/stdio/local.h (__sread, __swrite): Likewise.
7330 * libc/include/sys/reent.h (_read, _write): Likewise.
7331 * libc/include/sys/unistd.h (read, write, _read, _write): Likewise.
7332 * libc/syscalls/sysread.c (read): Likewise.
7333 * libc/syscalls/syswrite.c (write): Likewise.
7334
6249353a
JJ
73352001-03-05 Jeff Johnston <jjohnstn@redhat.com>
7336
7337 * libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants.
7338
658b5db9
CF
7339Sat Mar 3 00:34:14 2001 Christopher Faylor <cgf@cygnus.com>
7340
7341 * libc/include/sys/stat.h: Use special defines for executable stat bits
7342 when compiling for Cygwin.
7343 * libc/include/sys/unistd.h: Use special define for X_OK when compiling
7344 for Cygwin.
7345
19ca46d5
JJ
73462001-03-02 Jeff Johnston <jjohnstn@redhat.com>
7347
7348 * libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype
7349 of strtok_r is always defined.
7350
b73ed85e
JJ
73512001-03-02 Jeff Johnston <jjohnstn@redhat.com>
7352
7353 * libc/include/machine/ansi.h: New dummy header file.
7354
ee37ede1
JJ
73552001-02-22 Jeff Johnston <jjohnstn@redhat.com>
7356
7357 * libc/include/machine/setjmp-dj.h: With DJ Delorie's permission,
7358 changed the copyright information to allow free modification of the
7359 file with no reference to "copying.dj".
7360 * libc/include/sys/stat-dj.h: Ditto.
7361 * libc/machine/i386/setjmp.S: Ditto.
7362 * libc/sys/h8300hms/sys/file.h: Ditto.
7363 * libc/sys/sysmec/access.c: Ditto.
7364 * libc/sys/sysnecv850/access.c: Ditto.
7365 * libc/stdio/mktemp.c: Fixed typo for the word copyright.
7366 * libc/stdlib/getenv_r.c: Ditto.
7367 * libc/stdlib/putenv_r.c: Ditto.
7368 * libc/stdlib/setenv_r.c: Ditto.
7369 * libc/stdlib/getenv.c: Removed DJ reference since any possible
7370 modifications will now be in the _r version of this file.
7371 * libc/stdlib/putenv.c: Ditto.
7372 * libc/stdlib/setenv.c: Ditto.
7373 * libc/sys/go32/copying.dj: Removed DJ's address which is no longer
7374 valid. Added a reference to DJ's web page that contains his address.
7375 * libc/sys/go32/*.s: Removed references to DJ's old address.
7376 * libc/sys/go32/*.c: Ditto.
7377 * libc/sys/go32/*.h: Ditto.
7378 * libc/sys/go32/*.S: Ditto.
7379 * libc/sys/go32/sys/*.h: Ditto.
7380
3a8fc0e4
JJ
73812001-02-21 Jeff Johnston <jjohnstn@redhat.com>
7382
7383 * libc/stdio/fdopen.c (fdopen): Protect calls to _fcntl() with
7384 HAVE_FCNTL flag check.
7385 * configure.host: Define HAVE_FCNTL for Cygwin, go32, RTEMS, sparc64,
7386 powerpcle, x86 netware, x86 sco, x86 Linux and Vxworks.
7387
b24ee749
CF
7388Thu Feb 15 01:39:51 2001 Christopher Faylor <cgf@cygnus.com>
7389
7390 * libc/include/sys/signal.h: Always include sys/types.h under Cygwin.
7391
ab4745dc
JJ
73922001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
7393
7394 * libc/include/stdlib.h: Add declarations of rand48 functions and
7395 their reentrant versions.
7396 * libc/include/sys/reent.h: Move macros from rand48.h. Add
7397 struct _rand48 for shared parameters of rand48 functions.
7398 (struct _reent): Add a variable _r48 of struct _rand48.
7399 (_REENT_INIT): Add _r48 initialization.
7400 * libc/stdlib/Makefile.am (lib_a_SOURCES): Add rand48 functions.
7401 (CHEWOUT_FILES): Add rand48.def.
7402 * libc/stdlib/Makefile.am: Add dependencies for rand48 functions.
7403 * libc/stdlib/Makefile.in: Regenerated.
7404 * libc/stdlib/drand48.c (drand48, _drand48_r): Derived from the
7405 NetBSD C library.
7406 * libc/stdlib/erand48.c (erand48, _erand48_r): Ditto.
7407 * libc/stdlib/jrand48.c (jrand48, _jrand48_r): Ditto.
7408 * libc/stdlib/lcong48.c (lcong48, _lcong48_r): Ditto.
7409 * libc/stdlib/lrand48.c (lrand48, _lrand48_r): Ditto.
7410 * libc/stdlib/mrand48.c (mrand48, _mrand48_r): Ditto.
7411 * libc/stdlib/nrand48.c (nrand48, _nrand48_r): Ditto.
7412 * libc/stdlib/seed48.c (seed48, _seed48_r): Ditto.
7413 * libc/stdlib/srand48.c (srand48, _srand48_r): Ditto.
7414 * libc/stdlib/rand48.c (__dorand48): Ditto.
7415 * libc/stdlib/rand48.h: Ditto, and modify declarations of global
7416 parameters into macros referring them in the reentrant structure.
7417
a34c461f
JJ
74182001-02-12 Jeff Johnston <jjohnstn@redhat.com>
7419
7420 * libc/include/sys/stat.h: Add mknod for Cygwin now that
7421 Cygwin definition has correct prototype.
7422
34f31ff2
JJ
74232001-02-08 Jeff Johnston <jjohnstn@redhat.com>
7424
7425 * libc/include/sys/stat.h: Must revert change for mknod
7426 for CYGWIN until winsup/cygwin/syscalls.cc changes mknod
7427 prototype.
7428
5336d6de
JJ
74292001-02-08 Jeff Johnston <jjohnstn@redhat.com>
7430
7431 * libc/include/stdio.h: Revert putw prototype.
7432
8915d10a
JJ
74332001-02-08 Edward M. Lee <tailbert@yahoo.com>
7434
7435 * libc/include/grp.h: add prototype for initgroups.
7436 * libc/include/stdio.h: fix prototype for putw.
7437 * libc/include/sys/signal.h: add prototype for killpg.
7438 * libc/include/sys/stat.h: enable mknod/lstat for CYGWIN.
7439 * libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp,
7440 vhangup and remove duplicate sysconf prototype.
7441
93ac4487
JJ
74422001-02-07 Jeff Johnston <jjohnstn@redhat.com>
7443
7444 * libc/sys/rtems/sys/types.h: Removed.
7445
31f5feea
JJ
74462001-02-05 Charles Wilson <cwilson@ece.gatech.edu>
7447
7448 * libc/include/locale.h: add LC_MESSAGES definition
7449
b5139f59
AO
74502001-02-01 Alexandre Oliva <aoliva@redhat.com>
7451
7452 * libc/sys/sh/sys/syscall.h (SYS_get_argc, SYS_get_argN_len,
7453 SYS_get_argN):
7454 * libc/sys/sh/syscalls.c (__setup_argv_for_main,
7455 __setup_argv_and_call_main): New.
7456
e29d8355
JJ
74572001-01-31 Jeff Johnston <jjohnstn@redhat.com>
7458
7459 * libc/include/stdio.h (FILENAME_MAX): Changed to use __FILENAME_MAX__
7460 if defined.
7461 (FOPEN_MAX): Changed to use __FOPEN_MAX__ if defined.
7462 (L_tmpnam): Changed to use __L_tmpnam__ if defined.
7463 * libc/include/sys/config.h: Changed to set __FILENAME_MAX__
7464 appropriately for Cygwin and RTEMS so not to exceed PATH_MAX.
7465
82ea92f3
CF
7466Mon Jan 29 23:03:06 2001 Christopher Faylor <cgf@cygnus.com>
7467
7468 * libc/stdlib/mallocr.c: Undefine windows preprocessor variables when
7469 compiling under Cygwin.
7470
3aaa66f8
JJ
74712001-01-29 Jeff Johnston <jjohnstn@redhat.com>
7472
7473 * libc/include/math.h (signgam): Change to errno-like solution
7474 using a function to return the address of the real signgam.
7475 * libc/reent/signgam.c: New file containing __signgam().
7476 * libc/reent/Makefile.am: Added signgam.c to list of files.
7477 * libc/reent/Makefile.in: Regenerated.
7478
610b895a
AO
74792001-01-25 Alexandre Oliva <aoliva@redhat.com>
7480
b0913397
AO
7481 * libc/sys/sh/syscalls.c (_times): New.
7482
610b895a
AO
7483 * configure.host (sh*-*-*): Add -DHAVE_GETTIMEOFDAY to newlib_cflags.
7484 * libc/sys/sh/syscalls.c (_gettimeofday): New.
7485
3643210e
JJ
74862001-01-23 Jeff Johnston <jjohnstn@redhat.com>
7487
7488 * libc/include/math.h (signgam): Regress previous fix as
7489 it does not handle programs with extern int signgam in them.
7490
841081c9
JJ
74912001-01-23 Jeff Johnston <jjohnstn@redhat.com>
7492
7493 * libc/include/math.h (signgam): Changed to a macro refering to
7494 its location in the reentrant structure.
7495
e9cd87b8
JJ
74962001-01-23 Jeff Johnston <jjohnstn@redhat.com>
7497
7498 * libc/stdio/vfprintf.c (_VFPRINTF_R): Modification to fix
7499 that suppressed . for %.0f, 0.1. Check now looks if there
7500 are padding zeroes (expt) in addition to any digits (ndig) to
7501 print.
7502
a302b48c
JJ
75032001-01-18 Jeff Johnston <jjohnstn@redhat.com>
7504
7505 * libc/sys/arc/Makefile.am: New file.
7506 * libc/sys/arc/Makefile.in: Ditto.
7507 * libc/sys/arc/aclocal.m4: Ditto.
7508 * libc/sys/arc/configure: Ditto.
7509 * libc/sys/arc/configure.in: Ditto.
7510 * libc/sys/arc/crt0.S: Ditto.
7511 * libc/sys/arc/isatty.c: Ditto.
7512 * libc/sys/arc/mem-layout.c: Ditto.
7513 * libc/sys/arc/sbrk.c: Ditto.
7514 * libc/sys/arc/syscalls.c: Ditto.
7515 * libc/sys/arc/sys/syscall.h: Ditto.
7516
d0319c3b
CF
7517Wed Jan 17 23:20:56 2001 Christopher Faylor <cgf@cygnus.com>
7518
7519 * libc/include/sys/unistd.h: Use correct declaration for setdtablesize.
7520
e45ab890
CF
7521Fri Jan 12 00:34:31 2001 Christopher Faylor <cgf@cygnus.com>
7522
7523 * libc/include/sys/signal.h: Add some SA_* defines for Cygwin.
7524
1376245a
DD
7525Thu Jan 11 20:42:06 2001 Earnie Boyd <earnie_boyd@yahoo.com>
7526
7527 * libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__
7528
92b57543
NC
75292001-01-09 Nick Clifton <nickc@redhat.com>
7530
7531 * configure.host (v859): Remove unsupported compiler options.
7532
7d6d33d4
JJ
7533Fri Jan 5 19:57:00 EST 2001 Aaron J. Grier <aaron@frye.com>
7534
7535 * src/newlib/configure.host (*-*-rtems*): add printf long long
7536 support for RTEMS.
7537
602f8b5a 75382000-12-19 Graham Stott <grahams@redhat.com>
6286746a
NC
7539
7540 * libc/machine/xscale/memcmp.c (memcmp): Add clobber for "lr".
7541
9c2b8183
JJ
7542Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
7543
7544 * configure.host: Turn on long double I/O for Cygwin.
7545
804368d3
JJ
7546Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
7547
7548 * MAINTAINERS: Removed Ranjith.
7549 * NEWS: Updated for 1.9.0.
7550 * README: Updated.
7551 * acinclude.m4: Updated to release 1.9.0.
7552 * aclocal.m4 configure
7553 doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
7554 libc/machine/aclocal.m4 libc/machine/configure
7555 libc/machine/a29k/aclocal.m4 libc/machine/a29k/configure
7556 libc/machine/arm/aclocal.m4 libc/machine/arm/configure
7557 libc/machine/d10v/aclocal.m4 libc/machine/d10v/configure
7558 libc/machine/d30v/aclocal.m4 libc/machine/d30v/configure
7559 libc/machine/fr30/aclocal.m4 libc/machine/fr30/configure
7560 libc/machine/h8300/aclocal.m4 libc/machine/h8300/configure
7561 libc/machine/h8500/aclocal.m4 libc/machine/h8500/configure
7562 libc/machine/hppa/aclocal.m4 libc/machine/hppa/configure
7563 libc/machine/i386/aclocal.m4 libc/machine/i386/configure
7564 libc/machine/i960/aclocal.m4 libc/machine/i960/configure
7565 libc/machine/m32r/aclocal.m4 libc/machine/m32r/configure
7566 libc/machine/m68k/aclocal.m4 libc/machine/m68k/configure
7567 libc/machine/m88k/aclocal.m4 libc/machine/m88k/configure
7568 libc/machine/mips/aclocal.m4 libc/machine/mips/configure
7569 libc/machine/mn10200/aclocal.m4 libc/machine/mn10200/configure
7570 libc/machine/mn10300/aclocal.m4 libc/machine/mn10300/configure
7571 libc/machine/necv70/aclocal.m4 libc/machine/necv70/configure
7572 libc/machine/powerpc/aclocal.m4 libc/machine/powerpc/configure
7573 libc/machine/sh/aclocal.m4 libc/machine/sh/configure
7574 libc/machine/sparc/aclocal.m4 libc/machine/sparc/configure
7575 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
7576 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
7577 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
7578 libc/machine/xscale/aclocal.m4 libc/machine/xscale/configure
7579 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
7580 libc/sys/aclocal.m4 libc/sys/configure
7581 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
7582 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
7583 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
7584 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
7585 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
7586 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
7587 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
7588 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
7589 libc/sys/linux/aclocal.m4 libc/sys/linux/configure
7590 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
7591 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
7592 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
7593 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
7594 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
7595 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
7596 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
7597 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
7598 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
7599 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
7600 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
7601 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
7602 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
7603 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
7604 libm/aclocal.m4 libm/configure: Regenerated.
7605
0985d43f
CV
7606Wed Dec 13 11:52:00 2000 Corinna Vinschen <vinschen@cygnus.com>
7607
7608 * libc/include/sys/unistd.h: Add declarations for `chroot' and `getwd'
7609 when __CYGWIN__ is defined.
7610
b6182a09
JJ
76112000-12-13 Jeff Johnston <jjohnstn@redhat.com>
7612
7613 * libc/stdlib/ldtoa.c (_ldcheck): New routine
7614 that categorizes a long double as NaN, Infinity, or other.
7615 * libc/stdio/vfprintf.c [WANT_IO_LONG_DBL](_VFPRINTF_R): Removed
7616 isinfl and isnanl static routines which were i386-specific. Changed
7617 calls to the two removed routines to a single _ldcheck call.
7618 * libc/stdio/vfieeefp.h (ldieee): Fixed missing semi-colons.
7619
adbbb034
JJ
76202000-12-13 Jeff Johnston <jjohnstn@redhat.com>
7621
7622 * Makefile.am: Fixed install-data-local target to use
7623 $(mkinstalldirs) for the installed header files to ensure
7624 the directories exist before copying.
7625 * Makefile.in: Regenerated.
7626
cbd19336
JJ
76272000-12-12 Jeff Johnston <jjohnstn@redhat.com>
7628
7629 * libc/include/sys/unistd.h: Restored Cygwin _SC
7630 constants and moved new constants appropriately
7631 so Cygwin will build.
7632
8fb37963
JJ
76332000-12-11 Joel Sherrill <joel@OARcorp.com>
7634
7635 * Merge RTEMS specific .h files into main libc/include.
7636 * libc/sys/rtems/include/signal.h: Removed.
7637 * libc/sys/rtems/include/time.h: Removed.
7638 * libc/sys/rtems/sys/features.h: Removed.
7639 * libc/sys/rtems/sys/sched.h: Removed.
7640 * libc/sys/rtems/sys/siginfo.h: Removed.
7641 * libc/sys/rtems/sys/signal.h: Removed.
7642 * libc/sys/rtems/sys/time.h: Removed.
7643 * libc/sys/rtems/sys/times.h: Removed.
7644 definitions for time_t and clock_t since these are
7645 no longer in time.h.
7646 * libc/include/pthread.h: New file.
7647 * libc/include/sys/sched.h: New file.
7648 * libc/include/sys/features.h: New file.
7649 * libc/include/time.h: Removed duplicate definition of clock_t
7650 and time_t, get them from <sys/types.h> instead. Add prototypes
7651 for POSIX clock and timer functionality.
7652 * libc/sys/linux/sys/types.h: Changed to include
7653 * libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_.
7654 * libc/include/sys/signal.h: Add more complete set of POSIX
7655 signal functionality including real-time and threaded signals.
7656 * libc/include/sys/types.h: Add clock_t, time_t, struct
7657 timespec, and struct itimerspec. Centralizing these makes
7658 things cleaner. RTEMS uses 64-bit dev_t.
7659 Added numerous primitive definitions
7660 for pthreads including macros, pthread_attr_t,
7661 pthread_mutexattr_t, pthread_condattr_t, pthread_key_t,
7662 pthread_once_t, and pthread_t.
7663 * libc/include/sys/unistd.h: Added getlogin_r() prototype.
7664 If RTEMS follow POSIX on read(), write() and sbrk() prototype.
7665 Feature flags removed and moved to new file <sys/features.h>.
7666 Full set of POSIX sysconf() constants
7667
2efbc2a7
JJ
76682000-12-08 Werner Almesberger <Werner.Almesberger@epfl.ch>
7669
7670 * configure.host: Added x86 linux target.
7671 * libc/unix/getpass.c (_PATH_PASSWD, _PASSWORD_LEN): Default
7672 definitions provided if not already defined.
7673 * libc/sys/linux/crt0.c: New file.
7674 * libc/sys/linux/Makefile.am: Ditto.
7675 * libc/sys/linux/Makefile.in: Ditto.
7676 * libc/sys/linux/aclocal.m4: Ditto.
7677 * libc/sys/linux/brk.c: Ditto.
7678 * libc/sys/linux/configure: Ditto.
7679 * libc/sys/linux/configure.in: Ditto.
7680 * libc/sys/linux/getoptlong.c: Ditto.
7681 * libc/sys/linux/ids.c: Ditto.
7682 * libc/sys/linux/inode.c: Ditto.
7683 * libc/sys/linux/io.c: Ditto.
7684 * libc/sys/linux/linux.c: Ditto.
7685 * libc/sys/linux/process.c: Ditto.
7686 * libc/sys/linux/realpath.c: Ditto.
7687 * libc/sys/linux/select.c: Ditto.
7688 * libc/sys/linux/signal.c: Ditto.
7689 * libc/sys/linux/systat.c: Ditto.
7690 * libc/sys/linux/termios.c: Ditto.
7691 * libc/sys/linux/time.c: Ditto.
7692 * libc/sys/linux/wait.c: Ditto.
7693 * libc/sys/linux/include/alloca.h: Ditto.
7694 * libc/sys/linux/include/getopt.h: Ditto.
7695 * libc/sys/linux/include/stdint.h: Ditto.
7696 * libc/sys/linux/include/unistd.h: Ditto.
7697 * libc/sys/linux/sys/cdefs.h: Ditto.
7698 * libc/sys/linux/sys/dirent.h: Ditto.
7699 * libc/sys/linux/sys/errno.h: Ditto.
7700 * libc/sys/linux/sys/fcntl.h: Ditto.
7701 * libc/sys/linux/sys/file.h: Ditto.
7702 * libc/sys/linux/sys/ioctl.h: Ditto.
7703 * libc/sys/linux/sys/resource.h: Ditto.
7704 * libc/sys/linux/sys/signal.h: Ditto.
7705 * libc/sys/linux/sys/stat.h: Ditto.
7706 * libc/sys/linux/sys/syscall.h: Ditto.
7707 * libc/sys/linux/sys/termios.h: Ditto.
7708 * libc/sys/linux/sys/time.h: Ditto.
7709 * libc/sys/linux/sys/types.h: Ditto.
7710 * libc/sys/linux/sys/utmp.h: Ditto.
7711 * libc/sys/linux/sys/utsname.h: Ditto.
7712 * libc/sys/linux/sys/wait.h: Ditto.
7713
a08c98bb
JJ
77142000-12-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
7715
7716 * Makefile.am: $(INSTALL), $(INSTALL_DATA), and $(INSTALL_PROGRAM)
7717 can be a relative path to $(top_srcdir)/install.sh so ensure the
7718 autoconf detected settings are properly passed recursively.
7719 Similarly, add AM_MAKEFLAGS to FLAGS_TO_PASS so they also get passed
7720 properly to subdirectories.
7721 * Makefile.in: Regenerated.
7722
b294082c
JJ
77232000-12-07 Jay Kulpinski <jskulpin@eng01.gdds.com>
7724
7725 * libc/stdio/vfprintf.c: Minor modification to avoid requiring
7726 a floating point register unless really printing a floating
7727 point number.
7728
2005ab6b
JJ
77292000-12-07 Jeff Johnston <jjohnstn@redhat.com>
7730
7731 * libc/stdlib/ldtoa.c: Removed include of alloca.h.
7732 Also removed \r's.
7733 (asctoeg): Replaced alloca call with stack array and malloc
7734 when storage exceeds reasonable limit.
7735 (e53toe): Fixed einfin calls missing ldp parameter.
7736 (eiisinf): Hide behind check for LDBL_MANT_DIG == 64.
7737
9f6e8f1b
JJ
77382000-12-06 Jeff Johnston <jjohnstn@redhat.com>
7739
2005ab6b 7740
9f6e8f1b
JJ
7741 * libc/stdio/vfscanf.c: Fix typo for _NO_LONGDBL macro.
7742
6bdac416
JJ
77432000-12-06 Jeff Johnston <jjohnstn@redhat.com>
7744
7745 * libc/stdlib/Makefile.am: Added ldtoa.c to list of sources.
7746 * libc/stdlib/Makefile.in: Regenerated.
7747 * libc/stdio/floatio.h: Added suitable MAXEXP for long double.
7748 * libc/stdio/vfieeefp.h: Added long double bit structures.
7749 * libc/stdio/vfprintf.c[WANT_IO_LONG_DBL]: Added long double support.
7750 [WANT_IO_LONG_DBL](isinfl, isnanl): New static long double routines.
7751 (exponent): Changed expbuf to reasonable maximum instead of MAXEXP.
7752 * libc/stdio/vfscanf.c[WANT_IO_LONG_DBL]: Added long double support.
7753 * libc/stdlib/ldtoa.c: New file containing _ldtoa_r and
7754 _strtold routines used for conversions between character
7755 and long double.
7756
ec270d31
CV
7757Wed Dec 6 12:01:00 2000 Corinna Vinschen <vinschen@cygnus.com>
7758
7759 * libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'.
7760
db2d9549
JJ
77612000-12-04 Joel Sherrill <joel@OARcorp.com>
7762
7763 * libc/include/machine/time.h: RTEMS systems can configure clock
7764 tick rate so use sysconf() to ask.
7765
6ba54a15
JJ
77662000-12-04 Joel Sherrill <joel@OARcorp.com>
7767
7768 * libc/include/sys/times.h: Add reference to POSIX standard.
7769
8677b819
JJ
77702000-12-04 Joel Sherrill <joel@OARcorp.com>
7771
7772 * libc/include/sys/time.h: Added BSD timer manipulation macros
7773 used by RTEMS code.
7774
1b61a706
JJ
77752000-12-04 Joel Sherrill <joel@OARcorp.com>
7776
7777 * libc/sys/rtems/crt0.c: Add stubs for functions implicitly
7778 referenced by code generated by gcc 2.8.1.
7779 (a29k): Add stubs for V_SPILL, V_FILL, V_BSD_OS, V_EPI_OS to
7780 satisfy gcc.
7781
f5e7c124
JJ
77822000-12-04 Joel Sherrill <joel@OARcorp.com>
7783
7784 * libc/stdlib/system.c: Avoid compiling do_system() for RTEMS.
7785
768abc9c
JJ
77862000-12-04 Joel Sherrill <joel@OARcorp.com>
7787
7788 * libc/include/ieeefp.h: Added entries for OpenCores CPUs.
7789
9e5dd5ea
JJ
77902000-12-04 Joel Sherrill <joel@OARcorp.com>
7791
7792 * configure.host (or16, or32): New entries for OpenCores
7793 OpenRisc CPUs.
7794 (*-*-rtems*): Add -DNO_EXEC.
7795
768abc9c 77962000-12-04 Keith Outwater <vac4050@cae597.rsc.raytheon.com>
7713fb6f
JJ
7797
7798 * libc/include/sys/errno.h: Added comments on many error numbers.
7799 * libc/string/strerror.c: Added some more strings.
7800
b273323f
JJ
78012000-11-30 Jeff Johnston <jjohnstn@redhat.com>
7802
7803 * libc/sys/sh/syscalls.c (_link): New stub.
7804
0ffc3b94
NC
78052000-11-29 Nick Clifton <nickc@redhat.com>
7806
7807 * configure.host: Add xscale target.
7808 * libc/machine/xscale: New directory.
7809 * libc/machine/xscale/Makefile.am: New file.
7810 * libc/machine/xscale/Makefile.in: New file.
7811 * libc/machine/xscale/aclocal.m4: New file.
7812 * libc/machine/xscale/configure: New file.
7813 * libc/machine/xscale/configure.in: New file.
7814 * libc/machine/xscale/memchr.S: New file.
7815 * libc/machine/xscale/memcmp.S: New file.
7816 * libc/machine/xscale/memcpy.S: New file.
7817 * libc/machine/xscale/memmove.S: New file.
7818 * libc/machine/xscale/memset.S: New file.
7819 * libc/machine/xscale/strchr.S: New file.
7820 * libc/machine/xscale/strcmp.S: New file.
7821 * libc/machine/xscale/strcpy.S: New file.
7822 * libc/machine/xscale/strlen.S: New file.
7823
cbbf0f96
CV
7824Sat Nov 25 11:24:00 2000 Corinna Vinschen <vinschen@cygnus.com>
7825
7826 * libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro to
7827 avoid compiler warnings.
7828
73dea790
MM
78292000-11-22 Michael Meissner <meissner@redhat.com>
7830
7831 * libc/posix/execl.c (execl): Don't reference environ directly,
7832 reference it only via a static pointer to avoid problems with some
7833 shared library systems and with different uses of small data where
7834 the user specifies his own version of environ.
7835 * libc/posix/execv.c (execv): Ditto.
7836 * libc/stdlib/getenv_r.c (_findenv_r): Ditto.
7837 * libc/stdlib/setenv_r.c (_setenv_r,_unsetenv_r): Ditto.
7838 * libc/stdlib/system.c (system, !cygwin32 case): Ditto.
7839
7840 * libc/stdlib/getenv.c (environ): Delete unused reference to
7841 environ.
7842
7843 * libc/stdlib/getenv_r.c: Make initial comment friendlier to emacs
7844 colorization.
7845 * libc/stdlib/system.c: Ditto.
7846
08eac2ae
CF
7847Tue Nov 21 20:32:21 2000 Christopher Faylor <cgf@cygnus.com>
7848
7849 * libc/sys/cygwin/sys/dirent.h: Change definition to avoid necessity of
7850 including windows headers.
7851
5478bf37
JJ
78522000-11-20 Jeff Johnston <jjohnstn@redhat.com>
7853
7854 * libc/include/sys/unistd.h: Removed definition of MAXNAMLEN.
7855 * libc/include/dirent.h: Added definition of MAXNAMLEN if
7856 not defined by sys/dirent.h.
7857 * libc/posix/execvp.c: Added include of dirent.h to get
7858 MAXNAMLEN value which used to be in unistd.h.
7859
3a760728
CV
7860Mon Nov 6 12:56:00 2000 Corinna Vinschen <vinschen@cygnus.com>
7861
7862 * libc/include/sys/types.h: Change type of i to `size_t' in
7863 FD_ZERO macro to avoid compiler warnings.
7864
86fff69f
CF
7865Sun Oct 29 20:06:41 2000 Christopher Faylor <cgf@cygnus.com>
7866
7867 * libc/include/stdlib.h: Avoid declaring cfree under Cygwin.
7868 * libc/include/malloc.h: Ditto. Also remove obsolete declaration.
7869
ba9e88d2
CV
7870Tue Oct 24 20:16:00 2000 Corinna Vinschen <vinschen@cygnus.com>
7871
7872 * libc/include/sys/unistd.h: Add defines for sysconf values
7873 _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and
7874 _SC_AVPHYS_PAGES.
7875
a8018ef3
CF
7876Mon Oct 9 20:26:33 2000 Christopher Faylor <cgf@cygnus.com>
7877
7878 * libc/include/sys/unistd.h: Add getdtablesize and setdtablesize
7879 declarations for __CYGWIN__.
7880
b944c6f6
GK
78812000-09-19 Geoffrey Keating <geoffk@cygnus.com>
7882
7883 * libc/signal/signal.c (__sigtramp_r): ISO C requires
7884 case labels to be integral constant expressions, so
7885 use an if/else tree instead.
7886 (_raise_r): Likewise.
7887
7f18fcb4
JJ
78882000-09-13 Jeff Johnston <jjohnstn@redhat.com>
7889
7890 * libc/machine/v850/setjmp.S: Fixed tab problems caused by
7891 clipping patch from e-mail reader.
7892
242361df
JJ
78932000-09-13 Will Cohen <wcohen@redhat.com>
7894
7895 * libc/machine/v850/setjmp.S (_setjmp): Save r1 rather than r0.
7896 Added return value 0.
7897 (_longjmp): Allow longjmp to return value of second argument
7898 passed to it.
7899
8a8c59b9
JJ
79002000-09-06 Jeff Johnston <jjohnstn@redhat.com>
7901
7902 * libc/include/sys/types.h (FD_ZERO): Remove call to bzero and
7903 inline code to prevent having to include another header file.
7904
a385ae75
CF
7905Wed Sep 6 15:06:40 2000 Christopher Faylor <cgf@cygnus.com>
7906
7907 * Makefile.am: Fix space vs. tab problem in install-data-local.
7908 * Makefile.in: Regenerate.
7909
7910Wed Sep 6 13:49:51 2000 Christopher Faylor <cgf@cygnus.com>
7911
7912 * libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__.
7913 (_EXPARM): New macro for defining a function parameter.
7914 * libc/include/stdlib.h: Use _EXPARM.
7915 * libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
7916
a36cd013
JJ
79172000-09-05 Manfred Hollstein <manfredh@redhat.com>
7918
7919 * Makefile.am (install-data-local): Use optional $(DESTDIR) where
7920 required, as documented in the gnu coding standards.
7921 * Makefile.in: Regenerate.
7922
f825dfda
JJ
79232000-09-05 Jeff Johnston <jjohnstn@redhat.com>
7924
7925 * libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to
7926 make O_NDELAY and O_NONBLOCK have the same value.
7927
4ba9aab7
JJ
79282000-08-30 Kazu Hirata <kazu@hxi.com>
7929
7930 * libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.
7931
db7acc38
JJ
79322000-08-30 Werner Almesberger <Werner.Almesberger@epfl.ch>
7933
7934 * libc/posix/execve.c: included unistd.h for "_execve" prototype.
7935 * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed
7936 "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like
7937 everywhere else.
7938
44e36af4
GK
79392000-08-30 Geoffrey Keating <geoffk@cygnus.com>
7940
7941 * libc/string/swab.c: Specify that it's defined in <unistd.h>.
7942 * libc/include/string.h: Don't include <sys/types.h>,
7943 as it causes really bad namespace pollution. Don't declare
7944 swab(), it is properly declared in unistd.h.
7945
00a2f168
JJ
79462000-08-29 Werner Almesberger <Werner.Almesberger@epfl.ch>
7947
7948 * libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed
7949 (broken) support for non-existent /etc/passwd field "comment".
7950
6beeb240
JJ
79512000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
7952
7953 * libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen
7954 only if _DIRENT_HAVE_D_NAMLEN is defined.
7955 (alphasort): aligned prototype with
7956 libc/sys/cygwin/sys/dirent.h and simplified function body.
7957 * libc/posix/telldir.c (telldir): changed "telldir" prototype to
7958 long telldir (DIR *) as mentioned in annex B of POSIX.1
7959
ef44da42
JJ
79602000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
7961
7962 * libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type
7963 of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined;
7964 Added __CLI and __STI macros (controlled via
7965 _I386MACH_ALLOW_HW_INTERRUPTS macro).
7966 * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S
7967 libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S
7968 libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S
7969 libc/machine/i386/f_log.S libc/machine/i386/f_log10.S
7970 libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S
7971 libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S
7972 libc/machine/i386/memchr.S libc/machine/i386/memcmp.S
7973 libc/machine/i386/memcpy.S libc/machine/i386/memmove.S
7974 libc/machine/i386/memset.S libc/machine/i386/setjmp.S
7975 libc/machine/i386/strchr.S libc/machine/i386/strlen.S:
7976 (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol)
7977 for all global entry points.
7978 * libc/machine/i386/setjmp.S: removed code replicated in
7979 libc/machine/i386/i386mach.h and included i386mach.h instead;
7980 Use __CLI and __STI instead of cli and sti.
7981
14d3488d
DD
79822000-08-25 DJ Delorie <dj@redhat.com>
7983
7984 * libc/include/sys/unistd.h (environ): this one isn't from the
7985 DLL, no __IMPORT
7986
c9ca4412
CF
7987Fri Aug 25 13:37:11 2000 Christopher Faylor <cgf@cygnus.com>
7988
7989 * libc/stdlib/system.c (do_system): Eliminate explicit declaration of
7990 environ when compiling under cygwin since it is already declared in
7991 unistd.h.
7992
2d5862de
JJ
79932000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
7994
7995 * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
7996 like x << y-z to the equivalent x << (y-z).
7997 (d2b): changed if statements with assignment to perform the
7998 assignment prior to the if check.
7999 * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
8000 * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
8001 * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
8002 * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
8003 precedence.
8004 * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
8005 Added "_execve" prototype (for execl.c, execle.c, execv.c, and
8006 execve.c).
8007 * libc/posix/popen.c (popen): added parentheses to clarify && and ||
8008 precedence.
8009 * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
8010 clarify && and || precendence (and to remove pascalism).
8011 * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
8012 * libm/math/s_infconst.c: added another pair of braces to all
8013 initializers for __infinity (need three: for __infinity[1] array,
8014 for union __dmath, and for i[2]).
8015
0888fedd
JJ
80162000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
8017
199359f0
JJ
8018 * libc/stdlib/abort.c: changed description: uses "raise" instead of
8019 "getpid" and "kill"; added: uses "write" and "_exit".
8020 Also included unistd.h for "_exit" prototype.
8021 * libc/stdlib/system.c: included unistd.h for "execve" prototype,
8022 reent.h for "_fork_r" and "_wait_r" prototypes.
8023 (do_system): changed extern char *environ[] to POSIX-friendly
8024 extern char **environ.
8025 * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp"
8026 prototypes.
8027 * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype.
8028 * libc/reent/execr.c: included sys/wait.h for "wait" prototype.
8029 * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype.
8030 * libc/reent/openr.c: included fcntl.h for "open" prototype.
8031 * libc/reent/signalr.c: included signal.h for "kill" prototype,
8032 unistd.h for "getpid" prototype.
8033 * libc/reent/statr.c: included sys/stat.h for "stat" prototype.
8034 * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype.
8035 * libc/unix/getut.c (utmpname): removed local, incorrect "strdup"
8036 prototype. Also included stdlib.h for "abort", string.h for
8037 "strdup" and "strncmp" prototypes.
8038 * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and
8039 "strncpy", unistd.h for "read" and "close" prototypes.
8040 * libc/posix/execvp.c: included string.h for "strchr", "strlen", and
8041 "strcat" prototypes.
8042
80432000-08-23 Werner Almesberger <Wernen Almesberger@epfl.ch>
8044
0888fedd
JJ
8045 * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's
8046 used later (ifdef __SCLE)
8047 * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's
8048 used later (ifdef MB_CAPABLE)
8049 * libc/string/memset.c (memset): removed unused variables "count"
8050 and "unaligned_addr"
8051 * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and
8052 "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE)
8053 * libc/unix/getpwent.c (getpwnam): removed unused variables "uid"
8054 and "gid"
8055
a334e5ef
JJ
80562000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
8057
8058 * libc/stdlib/envlock.c: changed documented "__env_lock" and
8059 "__env_unlock" prototype from "void *" or "char *" to
8060 "struct _reent *" to match real function. Also added include
8061 of envlock.h.
8062 * libc/stdlib/mlock.c: changed documented "__malloc_lock" and
8063 "__malloc_unlock" prototype from "void *" or "char *" to
8064 "struct _reent *" to match real function.
8065 * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock"
8066 prototypes (for getenv_r.c and setenv_r.c).
8067
644b7f26
DD
80682000-08-22 Werner Almesberger <Werner.Almesberger@epfl.ch>
8069
8070 * libc/unix/getut.c (utmpname): added _CONST to reflect common use
8071 and prototype in cygwin's utmp.h
8072
5bacbf10
JJ
80732000-08-16 Eric Fifer <efifer@sanwaint.com>
8074
8075 * libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
8076
38a6bf98
NC
80772000-08-09 Nick Clifton <nickc@cygnus.com>
8078
8079 * libc/sys/arm/setjmp.S: Recode to clean up function prologues and
8080 epilogue and to allow the functions to be used in a Thumb based
8081 toolchain.
8082
befe0fb3
JJ
80832000-08-08 Jeff Johnston <jjohnstn@redhat.com>
8084
8085 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code
8086 so size of 0 results in nothing being written to string.
8087 Also fixed code so that when size is non-zero, there is only
8088 a maximum of size - 1 characters written to the array and
8089 a nul terminator is appended at the end.
8090 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
8091
749d9bcd
DD
80922000-08-01 DJ Delorie <dj@redhat.com>
8093
8094 * libc/include/sys/config.h: define __IMPORT appropriately
8095 * libc/include/ctype.h (_ctype_): use __IMPORT
8096 * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto
8097 * libc/include/math.h (__mb_cur_max): ditto
8098 * libc/include/time.h (_timezone, _daylight, _tzname): ditto
8099 * libc/include/unctrl.h (__unctrl, __unctrllen): ditto
8100 * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto
8101 * libc/include/unistd.h (environ): ditto
8102
7c110b17
MM
81032000-07-28 Michael Meissner <meissner@redhat.com>
8104
8105 * libc/include/math.h (__infinity): Declare as an array without
8106 bounds to get around small data support. Rewrite Cygwin support
8107 to be more general.
8108 * libm/math/s_infconst.c (__infinity): Ditto.
8109 * libm/mathfp/s_infconst.c (__infinity): Ditto.
8110
bf7be721
CF
8111Thu Jul 27 10:46:01 2000 Christopher Faylor <cgf@cygnus.com>
8112
8113 * libc/include/math.h: Use appropriate dll import linkage for
8114 __infinity under Cygwin.
8115
91a8d90b
DD
81162000-07-13 DJ Delorie <dj@cygnus.com>
8117
8118 * libc/stdio/vfprintf.c: pad 0.0 correctly with %e
8119
ba2048d3
JJ
8120Wed Jun 28 14:08:00 2000 Keith Walker <keith.walker@arm.com>
8121
8122 * libc/sys/arm/crt0.S (.LC30): Added missing length parameter
8123 to argument list for AngelSWI_Reason_GetCmdLine.
8124
4634da64
JJ
8125Tue Jun 27 15:49:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
8126
8127 * configure.host: Add support for AVR target.
8128 * libc/include/machine/ieeefp.h: Likewise.
8129 * libc/include/sys/config.h: Likewise.
8130
b19f72a2
RK
8131Thu Jun 22 18:35:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
8132
8133 * README: Newlib 1.8.2 must be built in a separate directory
8134 than the sources.
8135
a704d94a
JJ
8136Tue Jun 20 14:30:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
8137
8138 * libc/include/sys/reent.h (_rand_next): Added __extension__
8139 qualifier as long long type is not strict ANSI.
8140 * libc/stdlib/rand.c (rand): Added __extension__ qualifier
8141 to long long constant.
8142
b585720b
CV
8143Fri Jun 16 23:02:00 2000 Corinna Vinschen <corinna@vinschen.de>
8144
8145 * libc/include/sys/unistd.h: Add prototypes for `seteuid' and
8146 `setegid' provided by Cygwin.
8147
01c327ba
CV
8148Thu Jun 15 0:21:00 2000 Corinna Vinschen <corinna@vinschen.de>
8149
8150 * libc/stdio/fdopen.c: Take explicit given bin/textmode into
8151 account for Cygwin.
8152
46a43a99
JJ
8153Fri Jun 9 14:28:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
8154
8155 * libc/include/sys/reent.h (_rand_next): Changed to
8156 unsigned long long and moved to end of _reent struct in _new union.
8157 (_REENT_INIT): Changed to move _rand_next initialization.
8158 * libc/stdlib/rand.c (rand): Changed to use unsigned long long
8159 linear congruential algorithm that is used by DJGPP.
8160
a68078cb
RK
8161Thu Jun 8 21:18:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
8162
8163 * libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX.
8164 * libc/include/sys/config.h: Define __RAND_MAX.
8165
518882f3
JJ
8166Thu Jun 8 17:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
8167
8168 * libc/stdlib/rand_r.c: New algorithm that meets minimal
8169 standard.
8170
d51d968a
CF
8171Fri Jun 2 23:02:11 2000 Christopher Faylor <cgf@cygnus.com>
8172
8173 * libc/include/string.h: Work around problem with strsignal and gdb.
8174
d2dd5765
CF
8175Tue May 30 13:13:01 2000 Christopher Faylor <cgf@cygnus.com>
8176
8177 * libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__
8178 * libc/include/malloc.h: Ditto.
8179 * libc/include/process.h: Ditto.
8180 * libc/include/stdio.h: Ditto.
8181 * libc/include/stdlib.h: Ditto.
8182 * libc/include/time.h: Ditto.
8183 * libc/include/machine/setjmp.h: Ditto.
8184 * libc/include/sys/errno.h: Ditto.
8185 * libc/include/sys/signal.h: Ditto.
8186 * libc/include/sys/stat.h: Ditto.
8187 * libc/include/sys/time.h: Ditto.
8188 * libc/include/sys/unistd.h: Ditto.
8189 * libc/include/string.h: Ditto. strsignal should return a const char *.
8190
88870218
JJ
81912000-05-26 Marek Michalkiewicz <marekm@linux.org.pl>
8192
8193 * libm/common/s_expm1.c (expm1): Add curly braces, avoid warnings.
8194 * libm/common/s_log1p.c (log1p): Likewise.
8195 * libm/common/s_scalbn.c (scalbn): Likewise.
8196 * libm/math/e_log.c: Likewise.
8197 * libm/math/e_asin.c: Likewise.
8198 * libm/math/ef_asin.c: Likewise.
8199 * libm/math/e_j0.c (pzero, qzero): Remove redundant test.
8200 * libm/math/e_j1.c (pone, qone): Likewise.
8201 * libm/math/ef_j0.c (pzerof, qzerof): Likewise.
8202 * libm/math/ef_j1.c (ponef, qonef): Likewise.
8203 * libm/mathfp/e_j0.c (pzero, qzero): Likewise.
8204 * libm/mathfp/e_j1.c (pone, qone): Likewise.
8205 * libm/mathfp/ef_j0.c (pzerof, qzerof): Likewise.
8206 * libm/mathfp/ef_j1.c (ponef, qonef): Likewise.
8207
c4e1aa01
DD
82082000-05-19 DJ Delorie <dj@cygnus.com>
8209
8210 * libc/stdio/stdio.c (__stextmode): new, see if file is text mode
8211 (__sread): always read in binary mode
8212 (__swrite): always write in binary mode
8213 * libc/include/stdio.h: no getc/putc macros for cygwin; causes
8214 compatibility issues with different dll versions
8215 * libc/stdio/fopen.c: use __stextmode
8216 * libc/stdio/fdopen.c: ditto
8217 * libc/stdio/freopen.c: ditto
8218 * libc/stdio/findfp.c: set up __SCLE for std{in,out,err}
8219 * libc/stdio/local.h: declare __stextmode
8220
f4393261
DD
82212000-05-18 DJ Delorie <dj@cygnus.com>
8222
8223 * libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLE
8224
2b533fac
JJ
8225Mon May 15 18:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
8226
8227 * libc/include/ctype.h: Changed tolower and toupper macros
8228 to use __extension__ to prevent pedantic warnings.
8229
75362a76
RK
8230Mon May 15 14:26:00 2000 Joel Sherrill <joel@oarcorp.com>
8231
8232 * libc/sys/rtems/sys/time.h: Add macros for manipulating timeval
8233 structures.
8234
ec463fc7
JW
8235Wed May 10 19:24:53 2000 Jim Wilson <wilson@cygnus.com>
8236
8237 * libc/include/machine/ieeefp.h: Add ia64 support.
8238 * configure.host: Likewise.
8239
f35ceefa
JJ
8240Wed May 10 13:52:24 2000 Egor Duda <deo@logos-m.ru>
8241
8242 * libc/time/asctime_r.c (asctime_r): Change output format. Day of
8243 month is now padded with space, not zero. This now conforms to
8244 ANSI standard.
8245
b96fca8c
CV
8246Wed May 03 17:57:00 2000 Corinna Vinschen <corinna@vinschen.de>
8247
8248 * libc/include/sys/errno.h: Add define for ENOSHARE ("No such
8249 host or network path") used by cygwin. Add some comments.
8250
49d64538
JJ
8251Tue May 02 23:45:48 2000 DJ Delorie <dj@cygnus.com>
8252
8253 * libc/include/stdio.h (FILE): define __SCLE for "convert line
8254 endings" for Cygwin.
8255 (__sgetc): convert line endings if needed
8256 (__sputc): ditto
8257 * libc/stdio/fdopen.c (_fdopen_r): Remember if we opened in text mode
8258 * libc/stdio/fopen.c (_fopen_r): ditto
8259 * libc/stdio/freopen.c (freopen): ditto
8260 * libc/stdio/fread.c (fread): perform CRLF conversions if __SCLE
8261 * libc/stdio/fvwrite.c (__sfvwrite): ditto
8262
91fb1e7f
AO
8263Thu Apr 27 07:45:48 2000 Alexandre Oliva <aoliva@cygnus.com>
8264
8265 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Use
8266 post-increment when it is worth it, spacewise.
8267
c87be3e4
JJ
8268Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
8269
8270 * libc/signal/signal.c (_signal_r) : Removed unused local variable temp.
8271 * libc/stdio/findfp.c (std): Added declaration of flags and file.
8272 * libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int
8273 return type.
8274 * libc/stdio/putchar.c (putchar): Added return statement.
8275 * libc/stdio/refill.c (lflush): Added correct parentheses.
8276 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
8277 * libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which
8278 prints long value to use l qualifier.
8279 * libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning
8280 messages and initialized local values: ilim, ilim1, and spec_case.
8281 * libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp.
8282 * libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses.
8283 * libc/stdlib/mprec.c: Ditto.
8284 * libc/stdlib/setenv_r.c: Ditto.
8285 * libc/stdlib/strtod.c: Ditto.
8286 * libc/stdlib/strtol.c: Ditto.
8287 * libc/stdlib/strtoul.c: Ditto.
8288 * libm/common/sf_expm1.c: Added curly braces to if else clauses.
8289 * libm/common/sf_log1p.c: Ditto.
8290 * libm/common/sf_scalbn.c: Ditto.
8291 * libm/math/ef_log.c: Ditto.
8292
11f5b065
CV
8293Sun Apr 16 12:45:00 2000 Corinna Vinschen <corinna@vinschen.de>
8294
8295 * libc/posix/execvp.c (execvp): Check path for
8296 trailing slash.
8297
796e3b20
CV
8298Fri Mar 31 20:39:00 2000 Corinna Vinschen <corinna@vinschen.de>
8299
8300 * libc/include/sys/unistd.h: Add prototypes for
8301 fchmod, fchown, lchown.
8302
b489803a
JJ
8303Fri Mar 24 15:34:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
8304
8305 * acinclude.m4: Changed release to 1.8.2.
8306 * aclocal.m4 configure doc/aclocal.m4 doc/configure
8307 libc/aclocal.m4 libc/configure libc/machine/aclocal.m4
8308 libc/machine/configure libc/machine/a29k/aclocal.m4
8309 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
8310 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
8311 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
8312 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
8313 libc/machine/fr30/configure libc/machine/h8300/aclocal.m4
8314 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
8315 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
8316 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
8317 libc/machine/i386/configure libc/machine/i960/aclocal.m4
8318 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
8319 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
8320 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
8321 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
8322 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
8323 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
8324 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
8325 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
8326 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
8327 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
8328 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
8329 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
8330 libc/machine/v850/configure libc/machine/w65/aclocal.m4
8331 libc/machine/w65/configure libc/machine/z8k/aclocal.m4
8332 libc/machine/z8k/configure libc/sys/aclocal.m4
8333 libc/sys/aclocal.m4 libc/sys/configure
8334 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
8335 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
8336 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
8337 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
8338 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
8339 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
8340 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
8341 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
8342 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
8343 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
8344 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
8345 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
8346 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
8347 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
8348 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
8349 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
8350 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
8351 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
8352 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
8353 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
8354 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
8355 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
8356 libm/aclocal.m4 libm/configure: Regenerated.
8357
79908d67
NC
83582000-03-24 Nick Clifton <nickc@cygnus.com>
8359
8360 * libc/sys/arm/syscalls.c: Fix compile time warnings.
8361 (do_AngelSWI): Add "cc" to list o registers clobbered.
8362
7684ddaf
FN
8363Thu Mar 22 14:57:00 2000 Fernando Nasser <fnasser@redhat.com>
8364
8365 * libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid
8366 information to be clobbered by an Angel C library support syscall.
8367
b8ec20c8
JJ
8368Tue Mar 21 19:08:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
8369
8370 * libc/stdlib/envlock.c: Fixed comment typo.
8371
fae4c299
JJ
8372Fri Mar 17 15:37:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
8373
8374 * libc/stdio/vfscanf.c (__svfscanf): Fixed floating point
8375 code to update nread as each character is processed instead
8376 of using buffer contents which throw away leading zeroes.
8377
dc98804b
RK
8378Mon Mar 13 15:22:00 2000 Sergei Organov <osv@javad.ru>
8379
8380 * libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
8381
5ed2f523
JJ
8382Fri Mar 10 16:09:20 2000 Jeff Johnston <jjohnstn@cygnus.com>
8383
8384 * libc/include/string.h: Include <sys/types.h>.
8385
1cf0ee34
AO
8386Fri Mar 10 14:53:50 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8387
8388 * libc/stdio/putw.c (putw): Return 0 on success, to be compliant
8389 with XSH5, not SVID.
8390
e9c94978
JJ
8391Thu Mar 9 17:20:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
8392
8393 * libc/include/string.h: Changed last argument back to ssize_t
8394 to make it compatible with XPG4 definition which is
8395 defined in <unistd.h>. There is a conflict in the SVID 3
8396 and XPG4 definitions and newlib will settle with XPG4.
8397 * libc/string/swab.c: Ditto.
8398
3072163c
JJ
8399Wed Mar 8 17:11:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
8400
8401 * libc/include/string.h: Changed last argument to size_t.
8402 * libc/string/swab.c: Changed last argument to size_t.
8403
f205ea7a
AO
8404Wed Mar 8 00:46:41 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8405
8406 * libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.
8407 (CHEWOUT_FILES): Added unlinkr.def.
8408 * libc/reent/Makefile.in: Rebuilt.
8409 * libc/sys.tex: Include unlinkr.def.
8410 * libc/reent/linkr.c (_unlink_r): Moved to...
8411 * libc/reent/unlinkr.c: ... new file.
8412
85dd2e5b
AO
8413Wed Mar 8 00:43:07 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8414
8415 * libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.
8416 (CHEWOUT_FILES): Added swab.def.
8417 * libc/string/Makefile.in: Rebuilt.
8418 * libc/string/string.tex: Include swab.def.
8419 * libc/include/string.h (swab): Declare.
8420 * libc/string/swab.c: New file.
8421
c5053058
AO
8422Wed Mar 8 00:38:35 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8423
8424 * libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.
8425 (CHEWOUT_FILES): Added getw.def and putw.def.
8426 * libc/stdio/Makefile.in: Rebuilt.
8427 * libc/stdio/stdio.tex: Include getw.def and putw.def.
8428 * libc/stdio/getw.c: New file.
8429 * libc/stdio/putw.c: New file.
8430
dbaf37cf
JJ
8431Fri Feb 25 14:50:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
8432
8433 * libc/stdio/flags.c (__sflags): Added check that mode[1]
8434 is non-null before looking at mode[2].
8435
bc019ef2
RK
8436Thu Feb 24 11:43:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
8437
8438 * libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS.
8439 * libm/mathfp/sf_atan.c: Ditto.
8440
8441Thu Feb 24 11:39:00 2000 Joel Sherrill <joel@OARcorp.com>
8442
8443 * libc/include/sys/stat.h: Add RTEMS prototype for lstat.
8444
cd641b2d
RK
8445Tue Feb 22 14:37:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
8446
8447 * libm/mathfp/sf_exp.c: Corrected _DOUBLE_IS_32_BITS to be
8448 _DOUBLE_IS_32BITS.
8449
b0ba0ac2
JJ
8450Mon Feb 21 11:43:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
8451
8452 * libc/stdio/vfprintf.c (VFPRINTF): Added CHECK_INIT
8453 call prior to calling _VFPRINTF_R so reentrant data area is set.
8454 (_VFPRINTF_R): Removed now extraneous CHECK_INIT call.
8455
8a0efa53
CF
8456Thu Feb 17 01:42:50 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
8457
8458 * libc/stdio/vfscanf.c (limits.h): #include.
8459 (MAX_LONG_LEN): #define.
8460 (__svfscanf): Handle floating point numbers with arbitrary amounts
8461 of leading zeroes.
8462
84632000-02-15 Nick Clifton <nickc@cygnus.com>
8464
8465 * libc/sys/arm/syscalls.c (_fstat): Initialise all fields to
8466 zero. Set the blocksize to 1024/
8467
8468Thu Jan 20 18:57:00 2000 Fernando Nasser <fnasser@redhat.com>
8469
8470 * setvbuf.c (setvbuf): Set size to BUFSIZ when passed a zero size
8471 with line buffering.
8472
8473Mon Jan 10 18:43:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
8474
8475 * acinclude.m4: Changed include directory for winsup headers.
8476 * aclocal.m4 configure libc/aclocal.m4
8477 libc/configure libc/ctype/Makefile.in libc/errno/Makefile.in
8478 libc/locale/Makefile.in libc/machine/aclocal.m4
8479 libc/machine/configure libc/machine/a29k/aclocal.m4
8480 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
8481 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
8482 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
8483 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
8484 libc/machine/fr30/configure
8485 libc/machine/h8300/aclocal.m4
8486 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
8487 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
8488 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
8489 libc/machine/i386/configure libc/machine/i960/aclocal.m4
8490 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
8491 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
8492 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
8493 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
8494 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
8495 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
8496 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
8497 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
8498 libc/machine/powerpc/configure
8499 libc/machine/sh/aclocal.m4
8500 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
8501 libc/machine/sparc/configure
8502 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
8503 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
8504 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
8505 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
8506 libc/misc/Makefile.in libc/posix/Makefile.in
8507 libc/reent/Makefile.in
8508 libc/signal/Makefile.in
8509 libc/string/Makefile.in libc/sys/aclocal.m4 libc/sys/configure
8510 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
8511 libc/sys/arm/Makefile.in libc/sys/arm/aclocal.m4
8512 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
8513 libc/sys/cygwin/configure libc/sys/d10v/Makefile.in
8514 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
8515 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
8516 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
8517 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
8518 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
8519 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
8520 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
8521 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
8522 libc/sys/sh/Makefile.in libc/sys/sh/aclocal.m4
8523 libc/sys/sh/configure libc/sys/sparc64/aclocal.m4
8524 libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4
8525 libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4
8526 libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4
8527 libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4
8528 libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4
8529 libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4
8530 libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4
8531 libc/sys/tic80/configure libc/sys/w65/aclocal.m4
8532 libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4
8533 libc/sys/z8ksim/configure libc/syscalls/Makefile.in
8534 libc/time/Makefile.in libc/unix/Makefile.in libm/aclocal.m4
8535 libm/configure: Regenerated.
8536
8537Mon Jan 10 18:43:46 2000 Jeff Johnston <jjohnstn@cygnus.com>
8538
8539 * libc/stdlib/putenv_r.c (_putenv_r): New file.
8540 * libc/stdlib/strdup_r.c (_strdup_r): New file.
8541 * libc/include/string.h: Added _strdup_r.
8542 * libc/stdlib/putenv.c: Added call to reentrant version.
8543 * libc/stdlib/strdup.c: Ditto.
8544 * libc/stdlib/Makefile.am: Added _putenv_r and _unsetenv_r.
8545 * libc/include/stdlib.h: Ditto.
8546 * libc/stdlib/Makefile.in: Regenerated.
8547 * libc/string/Makefile.in: Regenerated.
8548 * libc/stdlib/setenv.c: Added reentrant version of unsetenv.
8549 * libc/stdlib/setenv_r.c: Added unsetenv_r and changed memory
8550 management calls to reentrant versions.
8551 * libc/stdlib/wcstombs.c: Added #ifndef _REENT_ONLY wrapper.
8552 * libc/stdlib/wctomb.c: Ditto.
8553 * libc/stdlib/mblen.c: Ditto.
8554 * libc/stdlib/mbstowcs.c: Ditto.
8555 * libc/stdlib/mbtowc.c: Ditto.
8556 * libc/stdlib/getenv.c: Ditto.
8557 * libc/reent/reent.tex: Added references to _putenv_r, _setenv_r,
8558 and _strdup_r.
8559
8560Thu Jan 6 15:33:46 2000 Christopher Faylor <cgf@cygnus.com>
8561
8562 patch from Corinna Vinschen <corinna@vinschen.de>
8563 * libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16.
8564
bc019ef2 8565Mon Jan 03 14:36:00 2000 Sergei Organov <osv@javad.ru>
8a0efa53
CF
8566
8567 * libm/mathfp/s_atangent.c: Fix exponent calculation.
8568 * libm/mathfp/s_ldexp.c: Ditto.
8569 * libm/mathfp/sf_atangent.c: Ditto.
8570 * libm/mathfp/sf_ldexp.c: Ditto.
8571
8572Tue Dec 14 5:42:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
8573
8574 * libc/machine/i960/setjmp.S: fix typo leaving .link_pix uncommented
8575 * libc/include/locale.h: define NULL to be 0.
8576
8577Tue Dec 7 15:41:45 1999 Jim Wilson <wilson@cygnus.com>
8578
8579 * libc/sys/sh/syscalls.c (stack_ptr): Move definition before first
8580 function.
8581
8582Wed Dec 1 17:39:29 1999 Jeffrey A Law (law@cygnus.com)
8583
8584 * libc/machine/mn10300/setjmp.S: Handle am33.
8585
85861999-11-26 Nick Clifton <nickc@cygnus.com>
8587
8588 * libc/sys/arm/syscalls.c: Add function prototypes.
8589 (stack_ptr): Move declaration before function definitions.
8590
8591Sat Nov 20 17:13:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
8592
8593 * NEWS: Updated version information.
8594 * README: Ditto.
8595
8596Tue Nov 09 12:19:21 1999 Jeff Johnston <jjohnstn@cygnus.com>
8597
8598 * libc/machine/i386/strchr.S: Fixed alignment test.
8599
8600Thu Oct 28 05:30:46 1999 Andrew Cagney <cagney@makita.cygnus.com>
8601
8602 * libc/sys/d10v/crt0.S (_start): Construct a real stack frame.
8603
8604Thu Oct 28 15:29:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
8605
8606 * libc/sys/d10v/crt0.S (_start): Initialize both SPI and SPU
8607 ensuring that there is space between the two.
8608
8609Thu Oct 14 13:39:21 1999 Christopher Faylor <cgf@cygnus.com>
8610
8611 * libc/stdio/flags.c: Conditionalize check for 't' for cygwin case
8612 only.
8613
86141999-10-08 Vadim Egorov <egorovv@1c.ru>
8615
8616 * libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin
8617 section
8618
8619Sat Oct 2 02:02:00 MEST 1999 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
8620
8621 * libc/machine/sh/asm.h: Added __SH4_SINGLE__ to DELAYED_BRANCHES
8622 * libc/machine/sh/memcpy.S: Fix line wrapping in SL macro
8623
8624Fri Oct 1 13:17:59 CDT 1999 <joel@OARcorp.com>
8625 * libc/include/grp.h: Added getgrnam_r and getgrgid_r prototypes
8626 per POSIX 1003.1b.
8627 * libc/include/pwd.h: Added getpwnam_r and getpwuid_r prototypes
8628 per POSIX 1003.1b.
8629
86301999-09-13 DJ Delorie <dj@cygnus.com>
8631
8632 * libc/stdio/mktemp.c (_gettemp): on cygwin, check for EACCESS
8633 also.
8634
8635Thu Sep 9 15:31:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
8636
8637 * setvbuf.c (setvbuf): When mallocing a buffer of size BUFSIZ,
8638 also note BUFSIZ as its size.
8639
8640Tue Sep 7 17:15:00 1999 Joel Sherrill <joel@OARcorp.com>
8641
8642 * configure.host: Corrected feature defines for RTEMS.
8643 * libc/include/sys/stat.h: Added protototype for RTEMS mknod.
8644 * libc/include/sys/stat.h: mkfifo() should take const path arg.
8645 * libc/include/sys/unistd.h: pathconf() should take const path arg.
8646 Enabled usleep(), ftruncate(), and truncate() prototypes for RTEMS.
8647 Added defines for _POSIX_JOB_CONTROL, _POSIX_SAVED_IDS, and
8648 _POSIX_VERSION for RTEMS. Added defines for _PC_ASYNC_IO,
8649 _PC_PRIO_IO, and _PC_SYNC_IO.
8650 * libc/machine/m68k/Makefile.am: Added strcpy.c and strlen.c.
8651 * libc/machine/m68k/Makefile.in: Regenerated.
8652 * libc/machine/m68k/strcpy.c: New file.
8653 * libc/machine/m68k/strlen.c: New file.
8654 * libc/stdio/tmpnam.c: Always make the returned name usable.
8655 * libc/sys/rtems/crt0.c: New version that passes all autoconf tests.
8656 * libc/sys/rtems/sys/dirent.h: New file.
8657 * libc/sys/rtems/sys/types.h: Added dev_t.
8658
8659Tue Sep 7 17:15:00 1999 Jay Kulpinski <jskulpin@eng01.gdds.com>
8660
8661 * libc/stdlib/mprec.c: Fixed unitialized variable problem.
8662
8663Fri Sep 3 12:35:20 1999 Jeff Johnston <jjohnstn@cygnus.com>
8664
8665 * libc/stdio/ftell.c (ftell): Backing off Joern's fix and
8666 my patch.
8667
8668Thu Sep 2 22:05:20 1999 Christopher Faylor <cgf@cygnus.com>
8669
8670 patch from Jeff Johnston <jjohnstn@cygnus.com>
8671 * libc/stdio/ftell.c (ftell): Avoid using buffer position when the
8672 buffer is not in a useful state.
8673
86741999-09-01 Nick Clifton <nickc@cygnus.com>
8675
8676 * libc/sys/arm/syscalls.c (_link): Add stub.
8677
8678Fri Aug 27 23:09:09 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
8679
8680 * ftell.c (ftell): Use actual position within buffer for text mode.
8681 * findfp.c (std): Initialize ptr->_bf._size.
8682
8683Wed Aug 18 18:48:02 1999 Christopher Faylor <cgf@cygnus.com>
8684
8685 * libc/include/sys/unistd.h: Add nice() declaration.
8686
86871999-08-09 Nick Clifton <nickc@cygnus.com>
8688
8689 * libc/sys/arm/crt0.S (change_mode): Rename to __change_mode and
8690 declare as a thumb function so that the disassembler will see the
8691 mode change.
8692
8693Thu Aug 5 17:37:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
8694
8695 * libc/reent/reent.tex: Updated list of reentrant functions.
8696
86971999-07-09 Michael Meissner <meissner@cygnus.com>
8698
8699 * libc/include/stdlib.h (_findenv{,_r}): Add prototypes.
8700
8701Tue Jul 6 10:46:24 1999 Jeff Johnston <jjohnstn@cygnus.com>
8702
8703 * libc/stdio/sprintf.c: Moved snprintf and _snprintf_r to
8704 separate file.
8705 * libc/stdio/snprintf.c: New file.
8706 * libc/stdio/vsprintf.c: Moved vsnprintf and _vsnprintf_r to
8707 separate file.
8708 * libc/stdio/vsnprintf.c: New file.
8709 * libc/stdio/Makefile.am: Added snprintf.c and vsnprintf.c.
8710 * libc/stdio/Makefile.in: Regenerated.
8711
8712Mon Jul 5 14:43:24 1999 Christopher Faylor <cgf@cygnus.com>
8713
8714 Patch submitted by Egor Duda <deo@logos-m.ru>:
8715 * libc/include/stdio.h: Add declarations for *nprintf.
8716 * libc/stdio/sprintf.c (snprintf): New function.
8717 (_snprintf_r): New function.
8718 * libc/stdio/vsprintf.c (vsnprintf): New function.
8719 (_vnsprintf_r): New function.
8720
8721Wed Jun 30 16:36:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
8722
8723 * libc/Makefile.am (stmp-targetdep): Remove extraneous blank.
8724 * libm/Makefile.am (stmp-targetdep): Ditto.
8725 * libc/Makefile.in: Regenerated.
8726 * libm/Makefile.in: Ditto.
8727
8728Fri Jun 25 10:49:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
8729
8730 * libc/Makefile.am (stmp-targetdep): Ignore "." in SUBDIRS.
8731 * libm/Makefile.am (stmp-targetdep): Ditto.
8732 * libc/Makefile.in: Regenerated.
8733 * libm/Makefile.in: Ditto.
8734
8735Thu June 03 16:25:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
8736
8737 * Makefile.am: Removed dependencies on all-recursive and added "."
8738 to the SUBDIRS list to prevent infinite recursion from occurring.
8739 Also removed any references to EXTRA_DATA.
8740 * libc/Makefile.am: Ditto.
8741 * libc/machine/Makefile.am: Ditto.
8742 * libc/machine/i386/Makefile.am: Ditto.
8743 * libm/Makefile.am: Ditto.
8744 * libc/sys/Makefile.am: Ditto.
8745 * Makefile.in: Regenerated.
8746 * aclocal.m4: Ditto.
8747 * configure: Ditto.
8748 * doc/Makefile.in: Ditto.
8749 * doc/aclocal.m4: Ditto.
8750 * doc/configure: Ditto.
8751 * libc/Makefile.in: Ditto.
8752 * libc/aclocal.m4: Ditto.
8753 * libc/configure: Ditto.
8754 * libc/machine/Makefile.in: Ditto.
8755 * libc/machine/aclocal.m4: Ditto.
8756 * libc/machine/configure: Ditto.
8757 * libc/machine/mn10300/Makefile.in: Ditto.
8758 * libc/machine/mn10300/aclocal.m4: Ditto.
8759 * libc/machine/mn10300/configure: Ditto.
8760 * libc/sys/Makefile.in: Ditto.
8761 * libc/sys/aclocal.m4: Ditto.
8762 * libc/sys/configure: Ditto.
8763 * libm/Makefile.in: Ditto.
8764 * libm/aclocal.m4: Ditto.
8765 * libm/configure: Ditto.
8766
8767Thu June 03 16:20:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
8768
8769 * libc/include/stdlib/stdlib.tex: Add link to env_lock.
8770
8771Fri May 28 17:09:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
8772
8773 * libc/include/stdlib.h: Add reentrant routines.
8774 * libc/stdlib/Makefile.am: Add reentrant routines.
8775 * libc/stdlib/Makefile.in: Ditto.
8776 * libc/stdlib/envlock.c: New file.
8777 * libc/stdlib/envlock.h: New file.
8778 * libc/stdlib/getenv.c: Modify to call reentrant routine.
8779 * libc/stdlib/getenv_r.c: New file.
8780 * libc/stdlib/mblen.c: Modify to call reentrant routine.
8781 * libc/stdlib/mblen_r.c: New file.
8782 * libc/stdlib/setenv.c: Modify to call reentrant routine.
8783 * libc/stdlib/setenv_r.c: New file.
8784 * libc/stdlib/stdlib.tex: Add reentrant routines.
8785
8786Mon May 17 22:01:38 1999 Christopher Faylor <cgf@cygnus.com>
8787
8788 * libc/include/sys/types.h: Define __MS_types__ whenever
8789 cygwin or win32.
8790
8791Sun May 16 16:02:41 1999 Christopher Faylor <cgf@cygnus.com>
8792
8793 * libc/include/machine/ieeefp.h: Always default to little
8794 endian if Windows, regardless of architecture.
8795 * libc/include/machine/sethmp.h: Define JBLEN if CYGWIN
8796 regardless of architecture.
8797
8798Mon May 3 11:49:18 1999 Geoffrey Noer <noer@cygnus.com>
8799
8800 * libc/include/machine/setjmp.h: Accept CYGWIN define, even if
8801 _WIN32 isn't defined.
8802
8803Mon May 3 11:41:51 1999 Jeff Johnston <jjohnstn@cygnus.com>
8804
8805 * libm/common/s_rint.c (rint): Add volatile qualifier for
8806 intermediate value w.
8807 * libm/common/sf_rint.c (rintf): Ditto.
8808
8809Thu Apr 29 20:34:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
8810
8811 * libc/sys/arm/syscalls.c (remap_handle): Added check to
8812 ensure that std streams are initialized before being referenced.
8813
88141999-04-27 Jason Molenda (jsm@bugshack.cygnus.com)
8815
8816 * README: Update reference to newlib@cygnus.com new
8817 newlib@sourceware.cygnus.com address.
8818
8819Mon Apr 26 18:17:33 1999 Geoffrey Noer <noer@cygnus.com>
8820
8821 * libc/include/sys/types.h: Define MS_types if CYGWIN is defined.
8822 * libc/include/sys/fcntl.h: Define _O_BINARY et al if CYGWIN is
8823 defined, even if _WIN32 isn't defined.
8824
8825Sat Apr 24 19:59:55 1999 Christopher Faylor <cgf@cygnus.com>
8826
8827 * libc/include/sys/fcntl.h: Correct _O_CREATE to _O_CREAT.
8828
8829Wed Apr 21 18:01:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
8830
8831 * libc/include/sys/reent.h: Change Long and ULong to __Long and
8832 __ULong.
8833 * libc/stdlib/dtoa.c: Ditto.
8834 * libc/stdlib/mprec.c: Ditto.
8835 * libc/stdlib/mprec.h: Ditto.
8836 * libc/stdlib/strtod.c: Ditto.
8837
88381999-04-21 Nick Clifton <nickc@cygnus.com>
8839
8840 * configure.host (mcore): Remove mcore machine directory.
8841
88421999-04-18 Nick Clifton <nickc@cygnus.com>
8843
8844 * libc/include/machine/ieeefp.h: Add support for mcore target.
8845 * libc/include/machine/setjmp.h: Add support for mcore target.
8846 * configure.host: Add support for mcore target.
8847
88481999-04-13 Mark Salter <msalter@cygnus.com>
8849
8850 * libc/sys/arm/libcfunc.c: Moved isatty to syscall.c
8851 * libc/sys/arm/syscalls.c: Added isatty.
8852
8853Wed Apr 07 16:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
8854
8855 * libc/stdlib/ecvtbuf.c (fcvtbuf): Fixed code to properly
8856 insert zeroes after significant digits.
8857
8858Wed Mar 17 22:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
8859
8860 * libc/stdio/vfprintf.c (cvt): Changed floating point
8861 cvt routine to use union used by dtoa to properly determine
8862 if the sign bit is on or not.
8863 * libc/stdio/vfieeefp.h: New file
8864
8865Wed Mar 17 17:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
8866
8867 * aclocal.m4: Regenerated.
8868 * configure: Regenerated.
8869
8870Wed Mar 17 16:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
8871
8872 * libc/machine/i386/Makefile.am (lib_a_SOURCES): Added missing
8873 f_tanf reference.
8874 * libc/machine/i386/Makefile.in: Regenerated.
8875
8876Tue Mar 16 14:56:36 1999 Jeff Johnston <jjohnstn@cygnus.com>
8877
8878 * acinclude.m4: Changed to work with new automake.
8879 * configure: Regenerated.
8880 * libc/machine/i386/aclocal.m4: Regenerated.
8881 * libc/machine/i386/configure: Regenerated.
8882
8883Tue Mar 16 13:55:36 1999 Corinna Vinschen <corinna.vinschen@cityweb.de>
8884
8885 * libc/sys/cygwin/sys/dirent.h: Add additional prototypes
8886 for telldir() and seekdir(). Rename unused structure element
8887 for use with these two routines.
8888
8889Fri Mar 12 19:11:58 1999 Jeff Johnston <jjohnstn@cygnus.com>
8890
8891 * libc/time/mktime.c (validate_structure): Multiple fixes to
8892 code to handle cases where input fields are outside valid ranges.
8893 * libc/stdlib/div.c (div): Modified invalid rounding check.
8894 * libc/stdlib/ldiv.c (ldiv): Ditto.
8895
8896Thu Mar 11 21:32:13 1999 Jeff Johnston <jjohnstn@cygnus.com>
8897
8898 * libc/machine/i386/memcpy.S: Performance rewrite.
8899 * libc/machine/i386/memmove.S: Ditto.
8900 * libc/machine/i386/i386mach.h: Added more register definitions.
8901 * libc/include/math.h: Include <machine/fastmath.h> if -ffast-math
8902 option used.
8903 * libc/include/machine/fastmath.h: Add definitions for x86
8904 fast-math routines.
8905
8906Wed Mar 10 17:56:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
8907
8908 * libc/stdlib/strtod.c: Change from unsigned long to ULong.
8909
8910Tue Mar 9 14:31:58 1999 Geoffrey Noer <noer@cygnus.com>
8911
8912 Adjust newlib headers for new Cygwin Win32 API header files:
8913 * libc/include/sys/time.h: Check _WINSOCK_H rather than
8914 _GNU_H_WINDOWS32_SOCKETS.
8915 * libc/include/sys/types.h: Ditto.
8916
8917Tue Mar 09 15:55:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
8918
8919 *include/sys/reent.h: Add checks for size of Bigint element Long.
8920 *libc/dtoa.c: Change routines to use generic Long type.
8921 *libc/mprec.c: Change routines to use generic Long type.
8922 *libc/mprec.h: Change routines to use generic Long type.
8923
8924Tue Mar 02 18:07:49 1999 Ranjith Kumaran <ranjith@cygnus.com>
8925
8926 * libc/Makefile.am: Add .def files.
8927 * libc/Makefile.in: Regenerate.
8928 * libc/e_acosh.c: Documentation update.
8929 * libc/e_atanh.c: Documentation update.
8930 * libc/e_hypot.c: Documentation update.
8931 * libc/e_remainder.c: Documentation update.
8932 * libc/er_lgamma.c: Documentation update.
8933 * libc/mathfp.tex: Documentation update.
8934 * libc/s_acos.c: Documentation update.
8935 * libc/s_atan.c: Documentation update.
8936 * libc/s_atan2.c: Documentation update.
8937 * libc/s_cosh.c: Documentation update.
8938 * libc/s_fmod.c: Documentation update.
8939 * libc/s_isnan.c: Documentation update.
8940 * libc/s_log10.c: Documentation update.
8941 * libc/s_pow.c: Documentation update.
8942 * libc/w_jn.c: Documentation update.
8943
8944Sun Feb 28 23:18:49 1999 Geoffrey Noer <noer@cygnus.com>
8945
8946 * aclocal.m4: Regenerate.
8947 * configure: Regenerate.
8948
8949Tue Feb 23 13:57:26 1999 Jeff Johnston <jjohnstn@cygnus.com>
8950
8951 * libc/machine/mn10300/setjmp.S (_longjmp): Fixed longjmp
8952 to return 1 if user specified return code is 0.
8953 * libc/machine/mn10200/setjmp.S (_longjmp): Ditto.
8954
8955Thu Feb 18 11:13:28 1999 Jeff Johnston <jjohnstn@cygnus.com>
8956
8957 * libc/machine/mn10200/setjmp.S (_setjmp/_longjmp): Fixed setjmp
8958 to save the return address. Fixed longjmp to return to the original
8959 calling address of setjmp and to return the user specified return code
8960 rather than default to 1.
8961 * libc/machine/mn10300/setjmp.S (_setjmp/_longjmp): Ditto.
8962
8963Mon Feb 15 17:48:17 1999 Jeff Johnston <jjohnstn@cygnus.com>
8964
8965 * libc/stdlib/mprec.h (mult): Define mult to be _multiply instead of _mult.
8966
89671999-02-10 Nick Clifton <nickc@cygnus.com>
8968
8969 * libc/sys/arm/syscalls.c (initialise_monitor_handles): Make block
8970 volatile so that its assignments will not be discarded.
8971
8972Wed Feb 10 17:19:40 1999 Jeff Johnston <jjohnstn@cygnus.com>
8973
8974 * libc/include/_ansi.h: Corrected _STRICT_ANSI reference to
8975 be __STRICT_ANSI__ which is generated by compiler.
8976 * libc/include/ctype.h: Ditto.
8977 * libc/include/math.h: Ditto.
8978 * libc/include/stdio.h: Ditto.
8979 * libc/include/stdlib.h: Ditto.
8980 * libc/include/string.h: Ditto.
8981 * libc/include/sys/signal.h: Ditto.
8982
89831999-02-08 Nick Clifton <nickc@cygnus.com>
8984
8985 * configure.host: Add support for StrongARM target.
8986
8987Fri Feb 5 11:13:14 1999 Jeff Johnston <jjohnstn@cygnus.com>
8988
8989 * libc/string/strncpy.c (strncpy): Removed redundant code
8990 that was copying bytes if data unaligned.
8991
89921999-02-02 Brendan Kehoe <brendan@cygnus.com>
8993
8994 * libc/stdlib/Makefile.{am,in} (CHEWOUT_FILES): Add mblen.def,
8995 mbstowcs.def, and wcstombs.def.
8996
8997Sat Jan 30 02:36:33 1999 Christopher Faylor <cgf@cygnus.com>
8998
8999 * libc/include/sys/errno.h: Add Cygwin errno.
9000 * libc/stdio/flags.c: Don't default to O_TEXT if no other flag
9001 is specified.
9002
90031999-01-29 Nick Clifton <nickc@cygnus.com>
9004
9005 * libc/sys/arm/syscalls.c: Move C library functions into seperate
9006 file.
9007
9008 * libc/sys/arm/libcfunc.c: New file containing C library functions
9009 from syscalls.c
9010
9011 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add libcfuncs.c
9012 * libc/sys/arm/Makefile.in (lib_a_SOURCES): Regenerate.
9013
9014
90151999-01-27 Michael Meissner <meissner@cygnus.com>
9016
9017 * libc/include/machine/setjmp.h (D30V _JBLEN/_JBTYPE): Use double
9018 type, and cut size in half so that the jmp_buf array is guaranteed
9019 to be aligned on a 64-bit boundary.
9020
9021Mon Jan 25 12:05:38 1999 Jeff Johnston <jjohnstn@cygnus.com>
9022
9023 * libc/string/strings.tex: Added information about
9024 strcasecmp and strncasecmp.
9025 * libc/stdlib/stdlib.tex: Added missing information
9026 about mblen, mbstowcs, and wcstombs.
9027 * libc/string/strchr.c: Changed how mask is built to use
9028 shift operators so register will be used instead of storage.
9029
90301999-01-22 DJ Delorie <dj@cygnus.com>
9031
9032 * libc/include/stdlib.h: don't use dllimport if we're building
9033 newlib, since it's inside cygwin.dll
9034
9035Fri Jan 22 14:57:18 1999 Christopher Faylor <cgf@cygnus.com>
9036
9037 * libc/ctype/ctype_.c: Need to use __declspec(dllexport) for
9038 _ctype_ under cygwin.
9039
9040Fri Jan 22 09:50:19 1999 Christopher Faylor <cgf@cygnus.com>
9041
9042 * include/stdlib.h: Fix typo from previous checkin.
9043
9044Thu Jan 21 22:42:21 1999 Christopher Faylor <cgf@cygnus.com>
9045
9046 * include/ctype.h: Use __declspec(dllimport) method for exporting
9047 variable from cygwin DLL.
9048 * include/time.h: Ditto.
9049 * sys/errno.h: Ditto.
9050 * include/stdlib.h: Export __mb_cur_max from cygwin DLL.
9051 * libc/locale/locale.c: Use __declspec(dllexport) method for
9052 exporting variable from cygwin DLL.
9053
9054Sat Jan 16 13:29:54 1999 Christopher Faylor <cgf@cygnus.com>
9055
9056 * libc/stdio/setvbuf.c: Always clean up when _IONBF or possible
9057 access of bogus pointer will result in SIGSEGV.
9058
90591999-01-07 Nick Clifton <nickc@cygnus.com>
9060
9061 * libc/sys/arm/setjmp.S: Use C macros to cope with the possibility
9062 of an underscore prefix to function names.
9063
9064Fri Jan 8 19:00:07 1999 Jeff Johnston <jjohnstn@cygnus.com>
9065
9066 * libc/machine/i386/i386mach.h (__REG_PREFIX__): Create new
9067 define __REG_PREFIX__ instead of using __REGISTER_PREFIX__.
9068
90691998-12-31 Michael Meissner <meissner@cygnus.com>
9070
9071 * libc/machine/i386/i386mach.h (__REGISTER_PREFIX__): Only define
9072 to `%' if not already defined.
9073
90741998-12-30 Michael Meissner <meissner@cygnus.com>
9075
9076 * libc/stdio/tmpnam.c (_tempnam_r): Make directory and prefix
9077 arguments const char *, not char *.
9078 * libc/include/stdio.h (_tempnam_r): Ditto.
9079
9080 * libc/include/sys/reent.h (struct _reent): The _sig_func type
9081 points to a function taking an integer, not void.
9082
9083Tue Dec 29 14:35:53 1998 Christopher Faylor <cgf@cygnus.com>
9084
9085 * configure.host: Add a define for Cygwin builds.
9086 * libc/include/ctype.h: Don't use dll imported variables in newlib.
9087
9088Mon Dec 28 09:19:56 1998 Christopher Faylor <cgf@cygnus.com>
9089
9090 * libc/include/ctype.h: Define _ctype_ as dll imported variable
9091 for use with Cygwin.
9092 * libc/include/sys/errno.h: Define _sys_errlist and _sys_nerr as
9093 dll imported variables for use with Cygwin.
9094 * libc/ctype/ctype_.c: Undefine _ctype_ in case it has been defined
9095 as a dll imported variable for Cygwin.
9096
9097Sat Dec 26 00:13:53 1998 Christopher Faylor <cgf@cygnus.com>
9098
9099 * libc/include/sys/unistd.h: Add proto for getpass.
9100
9101Fri Dec 18 19:28:19 1998 Geoffrey Noer <noer@cygnus.com>
9102
9103 * libc/sys/cygwin/sys/dirent.h: add protos for scandir and
9104 alphasort.
9105
9106Fri Dec 18 16:33:25 1998 Geoffrey Noer <noer@cygnus.com>
9107
9108 * libc/posix/execvp.c (execvp): call cygwin_posix_path_list_p,
9109 not posix_path_list_p.
9110
91111998-12-15 Nick Clifton <nickc@cygnus.com>
9112
9113 * libc/string/memchr.c: Treat 'c' argument as an unsigned byte not
9114 a signed int.
9115
91161998-12-13 Nick Clifton <nickc@cygnus.com>
9117
9118 * libc/include/machine/setjmp.h (_JBLEN): Set to 10.
9119
91201998-12-12 Nick Clifton <nickc@cygnus.com>
9121
9122 * libc/machine/fr30/setjmp.S: New file, supplied by Mark Slater
9123 <msalter@cygnus.com>
9124 * libc/machine/fr30/Makefile.am: Add build of setjmp.S
9125 * libc/machine/fr30/Makefile.in: Regenerated.
9126
91271998-12-11 Nick Clifton <nickc@cygnus.com>
9128
9129 * configure.host: Remove use of libc/sys for FR30 port.
9130 * libc/sys/fr30: Remove directory (replaced by libgloss).
9131
91321998-12-10 Ken Raeburn <raeburn@cygnus.com>
9133
9134 * libc/string/strcat.c (ALIGNED): Sense of result was reversed.
9135 * libc/string/strncat.c (ALIGNED): Ditto.
9136
9137Wed Dec 9 14:37:57 1998 Geoffrey Noer <noer@cygnus.com>
9138
9139 * libc/include/sys/time.h: include sys/types.h
9140
9141Tue Dec 8 15:53:18 1998 Jeff Johnston <jjohnstn@cygnus.com>
9142
9143 * libc/machine/i386/memcmp.S (memcmp): Fix for unequal
9144 comparison found when checking word at a time.
9145
91461998-12-04 Nick Clifton <nickc@cygnus.com>
9147
9148 * libc/sys/fr30/crt0.s (_start): Initialise frame pointer.
9149
91501998-12-03 Nick Clifton <nickc@cygnus.com>
9151
9152 * libc/sys/fr30/syscalls.c (_times): New function stub.
9153
9154Thu Dec 3 15:59:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
9155
9156 * configure.host (mach_add_setjmp): Replaced mach_add_objs
9157 with mach_add_setjmp flag which indicates if setjmp should
9158 be added to the machine directory objects.
9159 * acinclude.m4: Removed reference to mach_add_objs.
9160 * aclocal.m4: Regenerated.
9161 * Makefile.in: Regenerated.
9162 * configure: Regenerated.
9163 * libc/aclocal.m4: Regenerated.
9164 * libc/Makefile.in: Regenerated.
9165 * libc/configure: Regenerated.
9166 * libc/machine/aclocal.m4: Regenerated.
9167 * libc/machine/Makefile.in: Regenerated.
9168 * libc/machine/configure: Regenerated.
9169 * libc/machine/i386/aclocal.m4: Regenerated.
9170 * libc/machine/i386/Makefile.am: Altered to selectively add
9171 setjmp.S to the src files list.
9172 * libc/machine/i386/Makefile.in: Regenerated.
9173 * libc/machine/i386/configure.in: Altered to test mach_add_setjmp.
9174 * libc/machine/i386/configure: Regenerated.
9175
91761998-12-02 Nick Clifton <nickc@cygnus.com>
9177
9178 * libc/sys/fr30/crt0.s (_start): Fix function names.
9179
9180 * libc/machine/fr30: New directory
9181 * libc/machine/fr30/Makefile.am: New file.
9182 * libc/machine/fr30/Makefile.in: New generated file.
9183 * libc/machine/fr30/configure.in: New file.
9184 * libc/machine/fr30/configure: New generated file.
9185 * libc/machine/fr30/aclocal.m4: New generated file.
9186 * libc/sys/fr30/Makefile.am: New file.
9187 * libc/sys/fr30/Makefile.in: New generated file.
9188 * libc/sys/fr30/configure.in: New file.
9189 * libc/sys/fr30/configure: New generated file.
9190 * libc/sys/fr30/syscalls.c: New file.
9191
9192Tue Dec 1 16:28:56 1998 Geoffrey Noer <noer@cygnus.com>
9193
9194 * libc/sys/cygwin/sys/utmp.h: new file, moved from winsup/include.
9195
91961998-12-01 Ken Raeburn <raeburn@cygnus.com>
9197
9198 * libc/time/strftime.c (strftime): Also handle %y for years before
9199 1900.
9200
9201Tue Dec 1 13:26:07 1998 Christopher Faylor <cgf@cygnus.com>
9202
9203 * libc/string/strcasecmp.c (strcasecmp): Adhere to standard
9204 UNIX convention. Perform tolower on characters before comparing
9205 them rather than use toupper.
9206 * libc/string/strncasecmp.c (strncasecmp): Ditto.
9207
9208Mon Nov 30 16:24:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
9209
9210 * configure.host: Added using i386 machine directory
9211 for all x86 cross-compiler and configuring
9212 which added object files to use via new "mach_add_objs" variable.
9213 * configure: Regenerated.
9214 * libc/configure: Regenerated.
9215 * libc/Makefile.in: Regenerated.
9216 * libc/aclocal.m4: Regenerated.
9217 * libc/ctype/Makefile.in: Regenerated.
9218 * libc/errno/Makefile.in: Regenerated.
9219 * libc/locale/Makefile.in: Regenerated.
9220 * libc/machine/Makefile.in: Regenerated.
9221 * libc/machine/aclocal.m4: Regenerated.
9222 * libc/machine/configure: Regenerated.
9223 * libc/posix/Makefile.in: Regenerated.
9224 * libc/reent/Makefile.in: Regenerated.
9225 * libc/signal/Makefile.in: Regenerated.
9226 * libc/stdio/Makefile.in: Regenerated.
9227 * libc/stdlib/Makefile.in: Regenerated.
9228 * libc/string/Makefile.in: Regenerated.
9229 * libc/string/memmove.c: Optimized code to use memcpy
9230 logic when performing a non-destructive copy.
9231 * libc/string/strncmp.c: Altered code to allow building
9232 optimized for size or speed.
9233 * libc/syscalls/Makefile.in: Regenerated.
9234 * libc/time/Makefile.in: Regenerated.
9235 * libc/unix/Makefile.in: Regenerated.
9236 * libc/machine/i386/Makefile.am: Added new files and reference
9237 to "mach_add_objs" to indicate optional object files.
9238 * libc/machine/i386/Makefile.in: Regenerated.
9239 * libc/machine/i386/aclocal.m4: Regenerated.
9240 * libc/machine/i386/configure: Regenerated.
9241 * libc/machine/i386/memchr.S: New file that implements
9242 function in Intel assembler.
9243 * libc/machine/i386/memcmp.S: ditto.
9244 * libc/machine/i386/memcpy.S: ditto.
9245 * libc/machine/i386/memmove.S: ditto.
9246 * libc/machine/i386/memset.S: ditto.
9247 * libc/machine/i386/strchr.S: ditto.
9248 * libc/machine/i386/strlen.S: ditto.
9249 * libc/machine/i386/f_atan2.S: New file that implements
9250 fast version of math function to be used by compiler when
9251 --ffast_math compile option is used.
9252 * libc/machine/i386/f_atan2f.S: ditto.
9253 * libc/machine/i386/f_exp.c: ditto.
9254 * libc/machine/i386/f_expf.c: ditto.
9255 * libc/machine/i386/f_frexp.S: ditto.
9256 * libc/machine/i386/f_frexpf.S: ditto.
9257 * libc/machine/i386/f_ldexp.S: ditto.
9258 * libc/machine/i386/f_ldexpf.S: ditto.
9259 * libc/machine/i386/f_log.S: ditto.
9260 * libc/machine/i386/f_logf.S: ditto.
9261 * libc/machine/i386/f_log10.S: ditto.
9262 * libc/machine/i386/f_log10f.S: ditto.
9263 * libc/machine/i386/f_math.h: New file.
9264 * libc/machine/i386/f_pow.c: ditto.
9265 * libc/machine/i386/f_powf.S: ditto.
9266 * libc/machine/i386/f_tan.S: ditto.
9267 * libc/machine/i386/f_tan.S: ditto.
9268 * libc/machine/i386/i386mach.h: New file.
9269
9270Mon Nov 30 13:02:17 1998 Christopher Faylor <cgf@cygnus.com>
9271
9272 patch from Mumit Khan <khan@xraylith.wisc.edu>
9273 * libc/include/stdio.h (tempnam): Add prototype.
9274 * libc/stdio/tmpnam.c (_tempnam_r): Handle NULL prefix.
9275 (tempnam): Adhere to prototype.
9276
9277Thu Nov 26 00:21:32 1998 Christopher Faylor <cgf@cygnus.com>
9278
9279 * Makefile.am: Add default for AR_FLAGS.
9280 * Makefile.in: Regenerate.
9281
9282Tue Nov 24 18:48:56 1998 Geoffrey Noer <noer@cygnus.com>
9283
9284 * libc/include/time.h: move __cplusplus wrapper after includes
9285 * libc/include/sys/time.h: ditto. If Cygwin, include
9286 sys/select.h.
9287 * libc/include/sys/types.h: lose "32" in comment about Cygwin.
9288
92891998-11-23 Ken Raeburn <raeburn@cygnus.com>
9290
9291 * libc/time/strftime.c (strftime): Handle %y after year 2000.
9292
9293Wed Nov 18 12:22:41 1998 Nick Clifton <nickc@cygnus.com>
9294
9295 * libc/sys/fr30/crt0.s (_start): Switch over to using int #9 as
9296 abnormnal end-of-crt0 marker.
9297
9298Tue Nov 17 16:27:58 1998 Nick Clifton <nickc@cygnus.com>
9299
9300 * libc/sys/fr30/crt0.s: New file/directory.
9301 * libc/include/machine/setjmp.h: Add FR30 target.
9302 * libc/include/machine/ieeefp.h: Add FR30 target.
9303 * configure.host: Add FR30 target.
9304
9305Mon Nov 16 23:15:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
9306
9307 * libm/math: Files that are duplicated in common directory removed.
9308 * libm/math/fdlibm.h: Removed.
9309 * libm/math/s_cbrt.c: Removed.
9310 * libm/math/s_copysign.c: Removed.
9311 * libm/math/s_expm1.c: Removed.
9312 * libm/math/s_finite.c: Removed.
9313 * libm/math/s_ilogb.c: Removed.
9314 * libm/math/s_infinity.c: Removed.
9315 * libm/math/s_lib_ver.c: Removed.
9316 * libm/math/s_log1p.c: Removed.
9317 * libm/math/s_logb.c: Removed.
9318 * libm/math/s_matherr.c: Removed.
9319 * libm/math/s_modf.c: Removed.
9320 * libm/math/s_nan.c: Removed.
9321 * libm/math/s_nextafter.c: Removed.
9322 * libm/math/s_rint.c: Removed.
9323 * libm/math/s_scalbn.c: Removed.
9324 * libm/math/sf_cbrt.c: Removed.
9325 * libm/math/sf_copysign.c: Removed.
9326 * libm/math/sf_expm1.c: Removed.
9327 * libm/math/sf_finite.c: Removed.
9328 * libm/math/sf_ilogb.c: Removed.
9329 * libm/math/sf_infinity.c: Removed.
9330 * libm/math/sf_log1p.c: Removed.
9331 * libm/math/sf_logb.c: Removed.
9332 * libm/math/sf_modf.c: Removed.
9333 * libm/math/sf_nan.c: Removed.
9334 * libm/math/sf_nextafter.c: Removed.
9335 * libm/math/sf_rint.c: Removed.
9336 * libm/math/sf_scalbn.c: Removed.
9337 * libm/math/Makefile.am: Removed references to deleted files (above).
9338 * libm/math/Makefile.in: Regenerated.
9339 * libm/Makefile.am: Added common directory to math.
9340 * libm/Makefile.in: Regenerated.
9341
9342Mon Nov 2 23:12:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
9343
9344 * libm/mathfp: Add non-ANSI functions.
9345 * libm/mathfp/e_acosh.c acosh(): New file.
9346 * libm/mathfp/e_atanh.c atanh(): New file.
9347 * libm/mathfp/e_hypot.c hypot(): New file.
9348 * libm/mathfp/e_j0.c j0(): New file.
9349 * libm/mathfp/e_j1.c j1(): New file.
9350 * libm/mathfp/e_remainder.c remainder(): New file.
9351 * libm/mathfp/e_scalb.c scalb(): New file.
9352 * libm/mathfp/ef_acosh.c acoshf(): New file.
9353 * libm/mathfp/ef_atanh.c atanhf(): New file.
9354 * libm/mathfp/ef_hypot.c hypotf(): New file.
9355 * libm/mathfp/ef_j0.c j0f(): New file.
9356 * libm/mathfp/ef_j1.c j1f(): New file.
9357 * libm/mathfp/ef_remainder.c remainderf(): New file.
9358 * libm/mathfp/ef_scalb.c scalbf(): New file.
9359 * libm/mathfp/er_gamma.c gamma_r: New file.
9360 * libm/mathfp/er_lgamma.c lgamma_r(): New file.
9361 * libm/mathfp/erf_gamma.c gamma_rf(): New file.
9362 * libm/mathfp/erf_lgamma.c lgamma_rf(): New file.
9363 * libm/mathfp/w_cabs.c cabs(): New file.
9364 * libm/mathfp/w_drem.c drem(): New file.
9365 * libm/mathfp/w_jn.c jn(): New file.
9366 * libm/mathfp/wf_cabs.c cabsf(): New file.
9367 * libm/mathfp/wf_drem.c dremf(): New file.
9368 * libm/mathfp/wf_jn.c jnf(): New file.
9369
9370Mon Nov 2 16:43:18 1998 Geoffrey Noer <noer@cygnus.com>
9371
9372 * libc/sys/cygwin32: remove directory and contents
9373 * libc/sys/cygwin: and add back, losing the "32".
9374 * configure.host: check for cygwin* instead of cygwin32.
9375 * acinclude.m4: ditto.
9376 * aclocal.m4: regenerate with aclocal
9377 * configure: regenerate with autoconf
9378
9379Tue Oct 20 17:28:28 1998 Geoffrey Noer <noer@cygnus.com>
9380
9381 * libc/stdio/tmpnam.c (_tempnam_r): not enough memory allocated
9382 for length
9383
9384Tue Oct 20 18:49:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
9385
9386 * libc/include/sys/reent.h (struct _reent): Added variables _rand_next, _strtok_last,
9387 _asctime_buf, _localtime_buf and _gamma_signgam to struct reent
9388 to make rand/srand, strtok, asctime, localtime, w_gamma,
9389 w_lgamma, wf_gamma, and wf_lgamma reentrant. Included
9390 time.h to bring in struct tm definition.
9391 * libc/stdlib/rand.c (rand, srand): Don't emit functions 'rand' and 'srand' if
9392 '_REENT_ONLY' is set. Used variable '_rand_next' from struct reent.
9393 * libc/stdlib/strtok.c (strtok): Used variable '_strtok_last' from struct reent
9394 instead of static variable.
9395 * libc/stdlib/asctime.c (asctime): Used variable '_asctime_buf' from
9396 struct reent instead of static variable.
9397 * libc/stdlib/lcltime.c (localtime): Used variable '_localtime_buf' from
9398 struct reent instead of static variable.
9399 * libm/math/Makefile.am: Removed s_signgam.o.
9400 * libm/math/Makefile.in: Regenerated.
9401 * libm/math/w_gamma.c (gamma): Used variable '_gamma_signgam' from
9402 struct reent instead of global variable 'signgam'.
9403 * libm/math/w_lgamma.c (lgamma): Likewise.
9404 * libm/math/wf_gamma.c (gammaf): Likewise.
9405 * libm/math/wf_lgamma.c (lgammaf): Likewise.
9406 * libm/math/s_signgam.c: Removed.
9407 * libc/include/unctrl.h: Defined arrays __unctrl and __unctrllen
9408 to be const.
9409 * libc/misc/unctrl.c: Defined arrays __unctrl and __unctrllen
9410 to be const.
9411 * libc/reent/Makefile.am: Added dependence for impure.o on impure.c and
9412 libc/include/reent.h.
9413 * libc/reent/Makefile.in: Regenerated.
9414 * libc/stdio/vfprintf.c (_vfprintf_r): Defined arrays 'blanks' and 'zeroes'
9415 to be const.
9416 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Defined arrays 'JIS_state_table' and
9417 'JIS_action_table' to be const.
9418 * libm/math/s_lib_ver.c: define variable _LIB_VERSION to be const.
9419
9420Mon Oct 12 00:26:33 1998 Christopher Faylor <cgf@cygnus.com>
9421
9422 * acinclude.m4: $with_target_subdir should default to '.'
9423 or confusion results when configuring in same directory as sources.
9424 * Regenerate all aclocal.m4 and configure files.
9425
9426Fri Oct 9 16:27:36 1998 Jeff Johnston <jjohnstn@cygnus.com>
9427
9428 * libc/stdlib/mallocr.c: Added 16 byte alignment support which
9429 can be set by defining MALLOC_ALIGNMENT=16. Also added support
9430 for platforms where sizeof(size_t) < sizeof(long) via
9431 SIZE_T_SMALLER_THAN_LONG macro.
9432
9433Wed Oct 7 14:02:40 1998 Jeff Johnston <jjohnstn@cygnus.com>
9434
9435 * libc/include/time.h (CLOCKS_PER_SEC): Change CLOCKS_PER_SEC
9436 to refer to _CLOCKS_PER_SEC_ and added including <machine/time.h>
9437 which sets _CLOCKS_PER_SEC_ for selected machines.
9438 * libc/include/machine/time.h: New file.
9439
9440Tue Oct 6 16:08:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
9441
9442 * libc/syscalls/sysexecve.c: New file.
9443 * libc/syscalls/sysgettod.c: New file.
9444 * libc/syscalls/systimes.c: New file.
9445 * libc/syscalls/Makefile.am: Added new objects.
9446 * libc/syscalls/Makefile.in: Regenerated.
9447 * libc/include/_syslist.h (_execve): Moved define in file.
9448 * libc/include/reent.h: Added _execve_r declaration.
9449 * libc/Makefile.in: Regenerated.
9450 * libc/ctype/Makefile.in: Regenerated.
9451 * libc/errno/Makefile.in: Regenerated.
9452 * libc/locale/Makefile.in: Regenerated.
9453 * libc/machine/Makefile.in: Regenerated.
9454 * libc/misc/Makefile.in: Regenerated.
9455 * libc/posix/Makefile.in: Regenerated.
9456 * libc/reent/Makefile.in: Regenerated.
9457 * libc/reent/execr.c (_execve_r): Added _execve_r function.
9458 * libc/signal/Makefile.in: Regenerated.
9459 * libc/stdio/Makefile.in: Regenerated.
9460 * libc/time/Makefile.in: Regenerated.
9461 * libc/unix/Makefile.in: Regenerated.
9462 * libm/mathfp/Makefile.in: Regenerated.
9463
9464Tue Oct 6 14:14:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
9465
9466 * libc/string/Makefile.in: Regenerated.
9467 * libc/string/memchr.c (memchr): Moved code to reduce object size.
9468 * libc/string/memcpy.c (memcpy): Ditto.
9469 * libc/string/memcmp.c (memcmp): Ditto.
9470 * libc/string/memset.c (memset): Ditto.
9471 * libc/string/strchr.c (strchr): Ditto.
9472 * libc/string/strcmp.c (strcmp): Ditto.
9473 * libc/string/strcpy.c (strcpy): Ditto.
9474 * libc/string/strlen.c (strlen): Ditto.
9475
9476Tue Oct 6 13:58:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
9477
9478 * libm/acinclude.m4: Removed since newlib/acinclude.m4 can be used
9479 to generate aclocal.m4.
9480 * libm/Makefile.in: Regenerated.
9481 * libm/aclocal.m4: Regenerated.
9482 * libm/configure: Regenerated.
9483 * libm/math/Makefile.in: Regenerated.
9484 * libm/mathfp/Makefile.in: Regenerated.
9485
94861998-09-25 Mark Salter <msalter@cygnus.com>
9487
9488 * libc/include/machine/setjmp.h: Fixed test for mn10300 and mn10200
9489 by adding leading and trailing underscores to symbol names.
9490
9491Tue Sep 22 15:33:41 1998 Christopher Faylor <cgf@cygnus.com>
9492
9493 * Makefile.in: Add default for AR_FLAGS.
9494
9495Tue Sep 22 15:02:49 1998 Christopher Faylor <cgf@cygnus.com>
9496
9497 patch from ian@airs.com (Ian Taylor):
9498 * acinclude.m4: Run AC_CANONICAL_BUILD explicitly before
9499 NEWLIB_CONFIGURE so AC_CANONICAL_HOST will be run before it
9500 is needed for detecting the build machine. Required for
9501 cygwin native builds.
9502
9503 * Regenerate all aclocal.m4 and configure files.
9504
9505Mon Sep 21 14:44:16 1998 Nick Clifton <nickc@cygnus.com>
9506
9507 * libc/sys/arm/crt0.S: Prepend a period to all local labels that
9508 used to start with LC.
9509
9510Thu Sep 17 18:18:11 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
9511
9512 * libc/machine/sh/setjmp.S (setjmp): Handle __SH4* like __SH3E__ .
9513 (longjmp): Likewise.
9514
9515Thu Sep 17 16:25:33 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
9516
9517 * libc/machine/sh/memset.S (memset): Move copy from r4 to r4 before
9518 the test for small number of bytes.
9519
9520Thu Sep 10 11:40:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
9521
9522 * Makefile.am: Add --enable-newlib-hw-fp check. This builds the new
9523 math library that uses floating point algorithms instead of the old
9524 libm.
9525 * Makefile.in: Regenerate with automake version 1.3b.
9526 * configure: Rebuild.
9527 * libm/Makefile.in: Regenerate with automake version 1.3b.
9528 * libm/aclocal.m4: Regenerate.
9529 * libm/configure: Rebuild.
9530 * libm/configure.in: Add newlib_hw_fp definition and mathfp directory.
9531 * libm/acinclude.m4: Define macros for configure.in.
9532 * libm/config.h.in: Generate.
9533 * libm/mathfp/Makefile.am: New file.
9534 * libm/mathfp/Makefile.in: Generate.
9535 * libm/mathfp/s_acos.c (acos): New file.
9536 * libm/mathfp/s_asin.c (asin): New file.
9537 * libm/mathfp/s_asine.c (asine): New file.
9538 * libm/mathfp/s_atan.c (atan): New file.
9539 * libm/mathfp/s_atan2.c (atan2): New file.
9540 * libm/mathfp/s_atangent.c (atangent): New file.
9541 * libm/mathfp/s_ceil.c (ceil): New file.
9542 * libm/mathfp/s_copysign.c (copysign): New file.
9543 * libm/mathfp/s_cos.c (cos): New file.
9544 * libm/mathfp/s_cosh.c (cosh): New file.
9545 * libm/mathfp/s_exp.c (exp): New file.
9546 * libm/mathfp/s_fabs.c (fabs): New file.
9547 * libm/mathfp/s_finite.c (finite): New file.
9548 * libm/mathfp/s_floor.c (floor): New file.
9549 * libm/mathfp/s_fmod.c (fmod): New file.
9550 * libm/mathfp/s_frexp.c (frexp): New file.
9551 * libm/mathfp/s_infconst.c: New file.
9552 * libm/mathfp/s_isinf (isinf).c: New file.
9553 * libm/mathfp/s_isnan.c (isnan): New file.
9554 * libm/mathfp/s_ispos.c (ispos): New file.
9555 * libm/mathfp/s_ldexp.c (ldexp): New file.
9556 * libm/mathfp/s_log.c (log): New file.
9557 * libm/mathfp/s_log10.c (log10): New file.
9558 * libm/mathfp/s_logarithm.c (logarithm): New file.
9559 * libm/mathfp/s_mathcnst.c: New file.
9560 * libm/mathfp/s_modf (modf).c: New file.
9561 * libm/mathfp/s_numtest.c (numtest): New file.
9562 * libm/mathfp/s_pow.c (pow): New file.
9563 * libm/mathfp/s_scalbn.c (scalbn): New file.
9564 * libm/mathfp/s_sin (sin).c: New file.
9565 * libm/mathfp/s_sine.c (sine): New file.
9566 * libm/mathfp/s_sineh.c (sineh): New file.
9567 * libm/mathfp/s_sinf.c (sinf): New file.
9568 * libm/mathfp/s_sinh.c (sinh): New file.
9569 * libm/mathfp/s_sqrt.c (sqrt): New file.
9570 * libm/mathfp/s_tan.c (tan): New file.
9571 * libm/mathfp/s_tanh.c (tanh): New file.
9572 * libm/mathfp/sf_acos.c (acosf): New file.
9573 * libm/mathfp/sf_asin.c (asinf): New file.
9574 * libm/mathfp/sf_asine.c (asinef): New file.
9575 * libm/mathfp/sf_atan.c (atanf): New file.
9576 * libm/mathfp/sf_atan2.c (atan2f): New file.
9577 * libm/mathfp/sf_atangent.c (atangent): New file.
9578 * libm/mathfp/sf_ceil.c (ceilf): New file.
9579 * libm/mathfp/sf_copysign.c (copysignf): New file.
9580 * libm/mathfp/sf_cos.c (cosf): New file.
9581 * libm/mathfp/sf_cosh.c (coshf): New file.
9582 * libm/mathfp/sf_exp.c (expf): New file.
9583 * libm/mathfp/sf_fabs.c (fabsf): New file.
9584 * libm/mathfp/sf_finite.c (finitef): New file.
9585 * libm/mathfp/sf_floor.c (floorf): New file.
9586 * libm/mathfp/sf_fmod.c (fmodf): New file.
9587 * libm/mathfp/sf_frexp.c (frexpf): New file.
9588 * libm/mathfp/sf_isinf.c (isinff): New file.
9589 * libm/mathfp/sf_isnan.c (isnanf): New file.
9590 * libm/mathfp/sf_ispos.c (isposf): New file.
9591 * libm/mathfp/sf_ldexp.c (ldexpf): New file.
9592 * libm/mathfp/sf_log.c (logf): New file.
9593 * libm/mathfp/sf_log10.c (log10f): New file.
9594 * libm/mathfp/sf_logarithm.c (logarithmf): New file.
9595 * libm/mathfp/sf_modf.c (modff): New file.
9596 * libm/mathfp/sf_numtest.c (numtestf): New file.
9597 * libm/mathfp/sf_pow.c (powf): New file.
9598 * libm/mathfp/sf_scalbn.c (scalbnf): New file.
9599 * libm/mathfp/sf_sin.c (sinf): New file.
9600 * libm/mathfp/sf_sine.c (sinef): New file.
9601 * libm/mathfp/sf_sineh.c (sinehf): New file.
9602 * libm/mathfp/sf_sinh.c (sinhf): New file.
9603 * libm/mathfp/sf_sqrt.c (sqrtf): New file.
9604 * libm/mathfp/sf_tan.c (tanf): New file.
9605 * libm/mathfp/sf_tanh.c (tanhf): New file.
9606 * libm/mathfp/zmath.h: New file.
9607
9608Wed Sep 2 02:49:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
9609
9610 * libc/machine/sh/strcmp.S (L_char_loop): Re-load r0 at loop
9611 exit if it has been overwritten by pre-fetching in delay slot.
9612
96131998-09-01 Michael Meissner <meissner@cygnus.com>
9614
9615 * Makefile.am (tooldir): Add in host_alias, so that multilib
9616 libraries are installed in the directory the compiler looks in.
9617 * Makefile.in: Regenerate.
9618
9619 * libc/stdlib/Makefile.in: Regenerate with automake version 1.3b.
9620
9621Mon Aug 31 11:39:31 1998 Jeff Johnston <jjohnstn@cygnus.com>
9622
9623 * libc/machine/mn10300/memcpy.S (_memcpy): Move alignment test
9624 ahead of test for number of bytes being moved.
9625
9626Thu Aug 27 14:07:53 1998 Christopher Faylor <cgf@cygnus.com>
9627
9628 * libc/include/sys/unistd.h: Nothing special needed for
9629 _exit under cygwin.
9630
9631Wed Aug 26 15:05:21 1998 Nick Clifton <nickc@cygnus.com>
9632
9633 * libc/sys/arm/syscalls.c (_sbrk): Rename '_end' to 'end' to
9634 conform to user label naming conventions.
9635
9636Mon Aug 24 14:46:19 1998 Geoffrey Noer <noer@cygnus.com>
9637
9638 * libc/sys/cygwin32/sys/utime.h: variable names in
9639 protos should start with two leading underscores
9640 * libc/include/string.h: ditto
9641 * libc/include/sys/signal.h: ditto
9642 * libc/include/sys/stat.h: ditto
9643 * libc/include/sys/time.h: ditto
9644 * libc/include/sys/unistd.h: ditto
9645 * libc/include/ctype.h: ditto
9646 * libc/include/stdlib.h: ditto
9647 * libc/include/sys/reent.h: struct _atexit function ptr takes a
9648 void, same with _sig_func.
9649
9650Fri Aug 21 14:44:14 1998 Jeff Johnston <jjohnstn@cygnus.com>
9651
9652 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Added preprocessor checks
9653 for MB_CAPABLE to reduce code size when newlib is not configured
9654 with --enable-newlib-mb.
9655 * libc/stdlib/Makefile.am: Specified -fshort-enums when building
9656 mbtowc_r.o to minimize size.
9657 * libc/stdlib/Makefile.in: Rebuild.
9658
9659Wed Aug 19 16:20:13 1998 Jim Wilson <wilson@cygnus.com>
9660
9661 * libc/sys/sparc64/Makefile.am (.S_r.o, .c_r.o): Change -DREENTRANT
9662 to -DREENT.
9663 * libc/sys/sparc64/Makefile.in: Rebuild.
9664
9665Tue Aug 18 22:38:29 1998 Ian Lance Taylor <ian@cygnus.com>
9666
9667 * Makefile.am (MAKEOVERRIDES): Define.
9668 * Makefile.in: Rebuild.
9669
9670Tue Aug 18 12:38:47 1998 Jim Wilson <wilson@cygnus.com>
9671
9672 * libc/sys/sparc64/sys/stat.h (stat): Add const.
9673
9674Mon Aug 17 22:27:06 1998 Ian Lance Taylor <ian@cygnus.com>
9675
9676 * acinclude.m4 (NEWLIB_CONFIGURE): Use top_builddir in
9677 newlib_cflags when looking for targ-include.
9678 * */aclocal.m4, */configure: Rebuild.
9679
9680Fri Jul 31 10:57:42 1998 Catherine Moore <clm@cygnus.com>
9681
9682 * libc/sys/arm/syscalls.c (_sbrk): Change "__end__"
9683 to "_end".
9684
9685Wed Jul 29 00:02:01 1998 Mark Alexander <marka@cygnus.com>
9686
9687 * libc/include/sys/config.h: Define __IEEE_LITTLE_ENDIAN
9688 on SPARCs with little-endian data.
9689 * libc/include/machine/ieeefp.h: Ditto.
9690
9691Wed Jul 22 18:00:10 1998 Ian Lance Taylor <ian@cygnus.com>
9692
9693 * acinclude.m4: Handle a relative srcdir correctly when setting
9694 newlib_cflags.
9695 * */aclocal.m4, */configure: Rebuild.
9696
9697Wed Jul 22 17:11:33 1998 Jeff Johnston <jjohnstn@cygnus.com>
9698
9699 * libm/math/wrf_lgamma.c (lgammaf_r): Initialize exc.err to 0 and
9700 also set exc.arg1, exc.arg2 appropriately in case matherr is supplied.
9701 * libm/math/wrf_gamma.c (gammaf_r): ditto
9702 * libm/math/wr_lgamma.c (lgamma_r): ditto
9703 * libm/math/wr_gamma.c (gamma_r): ditto
9704 * libm/math/wf_sqrt.c (sqrtf): ditto
9705 * libm/math/wf_sinh.c (sinhf): ditto
9706 * libm/math/wf_scalb.c (scalbf): ditto
9707 * libm/math/wf_remainder.c (remainderf): ditto
9708 * libm/math/wf_pow.c (powf): ditto
9709 * libm/math/wf_log10.c (log10f): ditto
9710 * libm/math/wf_log.c (logf): ditto
9711 * libm/math/wf_lgamma.c (lgammaf): ditto
9712 * libm/math/wf_jn.c (jnf, ynf): ditto
9713 * libm/math/wf_j1.c (j1f, y1f): ditto
9714 * libm/math/wf_j0.c (j0f, y0f): ditto
9715 * libm/math/wf_hypot.c (hypotf): ditto
9716 * libm/math/wf_gamma.c (gammaf): ditto
9717 * libm/math/wf_fmod.c (fmodf): ditto
9718 * libm/math/wf_exp.c (expf): ditto
9719 * libm/math/wf_cosh.c (coshf): ditto
9720 * libm/math/wf_atanh.c (atanhf): ditto
9721 * libm/math/wf_atan2f.c (atan2f): ditto
9722 * libm/math/wf_asin.c (asinf): ditto
9723 * libm/math/wf_acosh.c (acoshf): ditto
9724 * libm/math/wf_acos.c (acosf): ditto
9725 * libm/math/w_sqrt.c (sqrt): ditto
9726 * libm/math/w_sinh.c (sinh): ditto
9727 * libm/math/w_scalb.c (scalb): ditto
9728 * libm/math/w_remainder.c (remainder): ditto
9729 * libm/math/w_pow.c (pow): ditto
9730 * libm/math/w_log10.c (log10): ditto
9731 * libm/math/w_log.c (log): ditto
9732 * libm/math/w_lgamma.c (lgamma): ditto
9733 * libm/math/w_jn.c (jn, yn): ditto
9734 * libm/math/w_j1.c (j1, y1): ditto
9735 * libm/math/w_j0.c (j0, y0): ditto
9736 * libm/math/w_hypot.c (hypot): ditto
9737 * libm/math/w_gamma.c (gamma): ditto
9738 * libm/math/w_fmod.c (fmod): ditto
9739 * libm/math/w_exp.c (exp): ditto
9740 * libm/math/w_cosh.c (cosh): ditto
9741 * libm/math/w_atanh.c (atanh): ditto
9742 * libm/math/w_atan2f.c (atan2): ditto
9743 * libm/math/w_asin.c (asin): ditto
9744 * libm/math/w_acosh.c (acosh): ditto
9745 * libm/math/w_acos.c (acos): ditto
9746
9747Tue Jul 21 12:34:54 1998 Ian Lance Taylor <ian@cygnus.com>
9748
9749 * libm/math/Makefile.am (src): Add w_cabs.c and w_drem.c.
9750 (fsrc): Add wf_cabs.c and wf_drem.c.
9751 * libm/math/Makefile.in: Rebuild.
9752
9753 * Makefile.am (AM_MAKEFLAGS): Add CFLAGS_FOR_BUILD. Remove some
9754 unused directory variables. Remove duplicate CFLAGS.
9755 * Makefile.in: Rebuild.
9756
9757 * doc/Makefile.am ($(MKDOC)): Don't use $(CFLAGS) when building
9758 with $(CC_FOR_BUILD).
9759 (makedoc.o): Likewise.
9760 * doc/Makefile.in: Rebuild.
9761
9762 * libc/sys/cygwin32/Makefile.am (EXTRA_LIBRARIES): Define, to
9763 force a definition of COMPILE.
9764 (libfoo_a_SOURCES): Define.
9765 * libc/sys/cygwin32/Makefile.in: Rebuild.
9766 * libc/sys/tic80/Makefile.am (EXTRA_LIBRARIES): Define, to
9767 force a definition of COMPILE.
9768 (libfoo_a_SOURCES): Define.
9769 * libc/sys/tic80/Makefile.in: Rebuild.
9770
9771Mon Jul 20 20:49:24 1998 Christopher Faylor <cgf@cygnus.com>
9772
9773 * libc/include/sys/fcntl.h: Add O_NOINHERIT, Win32-specific
9774 flag.
9775
9776Fri Jul 17 16:13:16 1998 Ian Lance Taylor <ian@cygnus.com>
9777
9778 * Build using autoconf and automake. Added many Makefile.am and
9779 configure.in files, plus generated files. Old configure.in files
9780 and all old Makefile.in files completely replaced. Removed
9781 host/any. Added acinclude.m4 and configure.host.
9782
9783Sat Jul 11 18:14:49 1998 Felix Lee <flee@cygnus.com>
9784
9785 * libc/stdio/vfprintf.c: enable long long support, sometimes.
9786 * configure.in (*-*-cygwin32): add -DWANT_PRINTF_LONG_LONG.
9787
9788Tue Jul 7 01:51:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
9789
9790 * libc/machine/sh/strcmp.S, libc/machine/sh/strcpy.S: New files.
9791 * libc/machine/sh/Makefile.in: Add rules for new files.
9792
9793Tue Jul 7 01:40:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
9794
9795 * libc/machine/sh/asm.h (SL, DELAYED_BRANCHES): Define.
9796 * libc/machine/sh/memset.S (memset): Remove uses of dt; shorten code.
9797 * libc/machine/sh/memcpy.S (SL, DELAYED_BRANCHES): Don't define.
9798
9799Thu Jul 2 10:33:16 1998 Nick Clifton <nickc@cygnus.com>
9800
9801 * libc/sys/arm/syscalls.c (_exit): Add comment, noting that exit
9802 code is ignored.
9803
9804Wed Jun 24 13:56:54 1998 Jeff Johnston <jjohnstn@cygnus.com>
9805
9806 * libc/stdio/tmpnam.c (_tmpnam_r): Changed routine to use
9807 internal static buffer when s is NULL, as prescribed by ANSI.
9808
98091998-06-22 Vladimir N. Makarov <vmakarov@cygnus.com>
9810
9811 * libc/sys/h8300hms/Makefile.in (OFILES): malloc.o has been
9812 removed.
9813 * libc/sys/h8300hms/malloc.c: has been removed. Now malloc.c from
9814 libc/stdlib will be used for h8300hms.
9815
9816Thu Jun 18 16:56:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
9817
9818 * libc/machine/mn10300/strlen.S (_strlen): New optimized assembler
9819 version that can be built either for speed or size.
9820 * libc/machine/mn10300/memset.S (_memset): ditto
9821 * libc/machine/mn10300/memchr.S (_memchr): ditto
9822 * libc/machine/mn10300/memcpy.S (_memcpy): ditto
9823 * libc/machine/mn10300/memcmp.S (_memcmp): ditto
9824 * libc/machine/mn10300/strchr.S (_strchr): ditto
9825 * libc/machine/mn10300/strcmp.S (_strcmp): ditto
9826 * libc/machine/mn10300/strcpy.S (_strcpy): ditto
9827 * libc/machine/mn10300/Makefile.in: Added entries for
9828 memchr.o, memcmp.o, memcpy.o, memset.o, strchr.o,
9829 strcmp.o, strcpy.o, and strlen.o.
9830
9831Wed Jun 17 12:50:26 1998 Mark Alexander <marka@cygnus.com>
9832
9833 * configure.in: Don't use libc/sys/sysmec for MN10200; it's
9834 been replaced with libgloss/mn10200.
9835
9836Fri Jun 12 14:34:39 1998 Michael Meissner <meissner@cygnus.com>
9837
9838 * libc/string/strchr.c (strchr): Make s a constant pointer to
9839 avoid warning.
9840
9841Tue Jun 9 16:29:30 1998 Jason Molenda (crash@bugshack.cygnus.com)
9842
9843 * configure.in (target == arm* or thumb*): Define ARM_RDI_MONITOR
9844 instead of ARM_RDP_MONITOR (sys/libc/arm/crt0.S to assume Angel
9845 board SWIs instead of Demon board SWIs).
9846
9847Thu Jun 4 12:16:46 1998 Michael Meissner <meissner@cygnus.com>
9848
9849 * libc/string/strncat.c (strncat): Make -Os act the same as
9850 PREFER_SIZE_OVER_SPEED being defined.
9851
9852Wed Jun 3 17:52:33 1998 Michael Meissner <meissner@cygnus.com>
9853
9854 * libc/string/memchr.c (memchr): Make -Os act the same as
9855 PREFER_SIZE_OVER_SPEED being defined.
9856 * libc/string/memcmp.c (memcmp): Ditto.
9857 * libc/string/memcpy.c (memcpy): Ditto.
9858 * libc/string/memset.c (memset): Ditto.
9859 * libc/string/strcat.c (strcat): Ditto.
9860 * libc/string/strchr.c (strchr): Ditto.
9861 * libc/string/strcmp.c (strcmp): Ditto.
9862 * libc/string/strcpy.c (strcpy): Ditto.
9863 * libc/string/strlen.c (strlen): Ditto.
9864 * libc/string/strncat.c (strncat): Ditto.
9865 * libc/string/strncmp.c (strncmp): Ditto.
9866 * libc/string/strncpy.c (strncpy): Ditto.
9867
9868Mon Jun 1 15:25:07 1998 Geoffrey Noer <noer@cygnus.com>
9869
9870 * libc/include/sys/itimer.h: remove
9871 * libc/include/sys/time.h: itimer stuff should be here
9872
9873Mon Jun 1 16:31:29 1998 Jeff Johnston <jjohnstn@cygnus.com>
9874
9875 * libc/stdio/vfprintf.c (cvt): Changed code to look at sign
9876 bit instead of comparing to 0 so -0.0 can be printed correctly.
9877
9878Sat May 30 09:33:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
9879
9880 * libc/stdlib/mprec.c (b2d): Inilialize d in non-VAX case too.
9881
9882Fri May 29 22:25:10 1998 Geoffrey Noer <noer@cygnus.com>
9883
9884 * libc/include/sys/unistd.h: fix sync() proto
9885 * libc/include/sys/fcntl.h: remove _close which is already
9886 defined in unistd.h.
9887 * libc/include/sys/time.h: add getitimer proto
9888
9889Fri May 29 16:10:28 1998 Geoffrey Noer <noer@cygnus.com>
9890
9891 * libc/string/strchr.c: convert arg to unsigned char
9892 * libc/include/stdlib.h: add protos for random, srandom
9893 * libc/include/sys/stat.h: add lstat proto
9894 * libc/include/sys/time.h: add setitimer proto
9895 * libc/include/sys/unistd.h: add readlink, symlink protos
9896 * libc/include/process.h: instead of including windows.h and using
9897 HANDLEs in sexec protos, just use void *s. Need to include
9898 sys/types.h.
9899
9900Fri May 29 03:04:29 1998 Geoffrey Noer <noer@cygnus.com>
9901
9902 * libc/include/sys/fcntl.h: add _close proto for Cygwin32
9903
9904Thu May 28 16:34:21 1998 Geoffrey Noer <noer@cygnus.com>
9905
9906 * libc/include/process.h: add secure exec protos
9907
9908Wed May 27 13:54:51 1998 Jeffrey A Law (law@cygnus.com)
9909
9910 * libc/stdlib/dtoa.c (_dtoa_r): Use "double_union" for variables
9911 which are accessed as both doubles and integers.
9912 * libc/stdlib/mprec.c (ulp, b2d, ratio): Likewise.
9913 * libc/stdlib/strtod.c (_strtod_r): Likewise.
9914 * libc/stdlib/mprec.h: Add "union double_union" and change
9915 word0/word1 macros to use it.
9916
9917Tue May 26 18:04:21 1998 Geoffrey Noer <noer@cygnus.com>
9918
9919 * libc/include/sys/signal.h: add __cplusplus wrapper
9920
9921Tue May 26 15:10:22 1998 Geoffrey Noer <noer@cygnus.com>
9922
9923 * libc/include/sys/utime.h: new generic file that gets replaced by
9924 libc/sys/SYSDIR/sys/utime.h on systems that support the utime
9925 function.
9926 * sys/cygwin32/sys/utime.h: use _EXFUN in utime proto
9927 * libc/include/time.h: remove duplicate utime proto
9928 * libc/include/utime.h: add comment
9929
9930Sun May 24 23:56:20 1998 Christopher Faylor <cgf@cygnus.com>
9931
9932 * libc/include/sys/time.h: Add missing include to
9933 allow use of _EXFUN. Remove times function that is
9934 already defined in times.h.
9935
9936Sun May 24 01:32:14 1998 Christopher Faylor <cgf@cygnus.com>
9937
9938 * libc/include/time.h: Fix typo in tzset.
9939
9940Fri May 22 17:00:48 1998 Geoffrey Noer <noer@cygnus.com>
9941
9942 * libc/include/sys/time.h: add missing Cygwin32 function protos
9943 * libc/include/sys/unistd.h: ditto
9944 * libc/include/time.h: ditto
9945
9946Wed May 20 20:35:11 1998 Geoffrey Noer <noer@cygnus.com>
9947
9948 * libc/sys/cygwin32/sys/param.h: add protected NULL def, remove
9949 FIXME.
9950 * libc/include/sys/types.h: add a new __MS_types__ section
9951 to define vm_offset_t, vm_size_t, int32_t et al, register_t,
9952 __BIT_TYPES_DEFINED__.
9953
9954Wed May 20 18:49:21 1998 Geoffrey Noer <noer@cygnus.com>
9955
9956 * libc/sys/cygwin32/sys/param.h: move here from winsup/include/sys
9957 since it overrides the one in libc/include/sys. Also, start
9958 including types.h.
9959
9960Wed May 20 14:45:40 1998 Geoffrey Noer <noer@cygnus.com>
9961
9962 * libm/math/Makefile.in: add s_signgam.o to obj list
9963
9964Tue May 19 11:57:11 1998 Jeff Johnston <jjohnstn@cygnus.com>
9965
9966 * libc/include/sys/reent.h (_REENT_INIT): Initialize current locale to "C".
9967
9968Mon May 18 22:36:12 1998 Christopher Faylor <cgf@cygnus.com>
9969
9970 * libc/include/sys/signal.h: cygwin32 exports sig{empty,add}set,
9971 so don't use defines.
9972
9973Mon May 18 19:01:02 1998 Michael Meissner <meissner@cygnus.com>
9974
9975 * libc/sys/d10v/crt0.S: Use correct stab for 16-bit ints.
9976
9977Sun May 17 18:40:32 1998 Frank Ch. Eigler <fche@cygnus.com>
9978
9979 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Accept a NULL
9980 _current_locale as default locale.
9981
9982Sat May 16 21:59:59 1998 Bob Manson <manson@charmed.cygnus.com>
9983
9984 * libc/stdlib/mallocr.c (mALLOc): Add explicit tests for
9985 insufficient space in a chunk.
9986
9987Tue May 12 14:41:01 1998 Jeff Johnston <jjohnstn@cygnus.com>
9988
9989 * configure.in (links): Added check for --enable-newlib-mb configure
9990 option which defines the MB_CAPABLE macro.
9991 * libc/locale/locale.c (_setlocale_r): Added support for setting
9992 LC_CTYPE to "C-JIS", "C-SJIS" or "C-EUCJP", when MB_CAPABLE is
9993 defined.
9994 * libc/stdlib/mbtowc_r.c (_mbtowc_r): New function _mbtowc_r that
9995 implements mbtowc() with multibyte support for JIS, SJIS, and EUC-JP.
9996 * libc/stdlib/wctomb_r.c (_wctomb_r): New function _wctomb_r that
9997 implements wctomb() with multibyte support for JIS, SJIS, and EUC-JP.
9998 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): New function _mbstowcs_r that
9999 implements mbstowcs() with multibyte support for JIS, SJIS, and EUC-JP.
10000 * libc/stdlib/wcstombs_r.c (_wcstombs_r): New function _wcstomb_r that implements
10001 wcstombs() with multibyte support for JIS, SJIS, and EUC-JP.
10002 * libc/stdlib/Makefile.in: Added new multibyte
10003 routines: _mbtowc_r(), _wctomb_r(), _mbstowcs_r(), and _wcstombs_r().
10004 * libc/include/stdlib.h: Added declarations of _mbtowc_r(), _wctomb_r(),
10005 _mbstowcs_r(), and _wcstombs_r().
10006 * libc/stdlib/mbctype.h: New internal header file that contains macros to test
10007 for JIS, SJIS, and EUC-JP characters.
10008 * libc/stdlib/mblen.c (mblen): Added code to call _mbtowc_r() if
10009 MB_CAPABLE defined.
10010 * libc/stdlib/mbtowc.c (mbtowc): Added code to call _mbtowc_r() if
10011 MB_CAPABLE defined.
10012 * libc/stdlib/wctomb.c (wctomb): Added code to call _wctomb_r() if
10013 MB_CAPABLE defined.
10014 * libc/stdlib/mbstowcs.c (mbstowcs): Added code to call _mbstowcs_r()
10015 if MB_CAPABLE defined.
10016 * libc/stdlib/wcstombs.c (wcstombs): Added code to call _wcstombs_r()
10017 if MB_CAPABLE defined.
10018 * libc/stdio/vfscanf.c (__svfscanf): Added multibyte tolerance
10019 to the format string processing when MB_CAPABLE.
10020 * libc/stdio/vfprintf.c (_VFPRINTF_R): Changed mbtowc() call to
10021 call _mbtowc_r().
10022
10023Tue May 5 16:07:23 1998 Nick Clifton <nickc@cygnus.com>
10024
10025 The following modifications are courtesy of Anthony Thompson,
10026 athompson@cambridge.arm.com:
10027 * libc/sys/arm/syscalls.c: Initialise and track stdin/out/err for
10028 boith RDI and RDP monitors.
10029 * libc/sys/arm/crt0.S: Call initialise_monitor_handles() for both
10030 RDI and RDP monitors.
10031
10032Wed Apr 29 15:22:15 1998 Jeff Johnston <jjohnstn@cygnus.com>
10033
10034 * configure.in (links): Added -DHAVE_GETTIMEOFDAY for arm and thumb.
10035 * libc/sys/arm/syscalls.c (_gettimeofday _times): Added functions.
10036 (_swiopen): Fixed open flags to treat write with append as just append.
10037 (_swilseek): Fixed lseek support to properly handle offsets from SEEK_END.
10038 * libc/sys/arm/sys/param.h: New file to override param.h for ARM.
10039
10040Fri Apr 24 18:00:09 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
10041
10042 * libc/machine/sh/memcpy.S (L_odddst, big endian version):
10043 When needing to transfer an initial 2-byte-word, store as
10044 two single bytes.
10045
10046Wed Apr 22 17:56:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
10047
10048 * libc/sys/sh/crt0.S (start): Handle __SH4_SINGLE_ONLY__ like
10049 __SH3E__ .
10050 * libc/machine/sh/memcpy.S (DELAYED_BRANCHES, SL): Likewise.
10051 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Likewise.
10052
10053Wed Apr 22 12:28:03 1998 Michael Meissner <meissner@cygnus.com>
10054
10055 * configure.in (target_cflags): If --enable-target-optspace, use
10056 -Os to compile newlib rather than -O2. Default to using -Os for
10057 d10v, d30v and m32r if --{enable,disable}-target-optspace is not
10058 used.
10059
10060Tue Apr 21 23:13:34 1998 Geoffrey Noer <noer@cygnus.com>
10061
10062 * libc/include/machine/setjmp.h: change sigsetjmp and
10063 siglongjmp definitions to use an array instead of a struct
10064 for __CYGWIN32__
10065
10066Tue Apr 14 11:47:47 1998 Doug Evans <devans@canuck.cygnus.com>
10067
10068 * libc/reent/impure.c (__ATTRIBUTE_IMPURE_DATA__): Fix spelling.
10069
10070Mon Apr 6 15:05:08 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
10071
10072 * libc/string/strxfrm.c: fix to get correct return value
10073
10074Wed Apr 1 16:09:05 1998 Nick Clifton <nickc@cygnus.com>
10075
10076 * libc/sys/arm/crt0.S: Set top of RAM to be 0x800000 for PE
10077 builds. Make mode change labels global so that they will be seen
10078 by the debugger.
10079
10080Wed Mar 18 09:45:10 1998 Nick Clifton <nickc@cygnus.com>
10081
10082 * configure.in (links): Do not use ARM debiugging protocols for PE
10083 builds.
10084
10085 * libc/sys/arm/syscalls.c (_sbrk): Add "_sbrk: " to error
10086 message.
10087
10088Fri Mar 13 11:24:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
10089
10090 * libc/stdio/findfp.c (__sinit): Made stdout default to
10091 line buffered mode as defined by ANSI.
10092
10093Tue Mar 10 11:41:26 1997 Bob Manson <manson@charmed.cygnus.com>
10094
10095 * libc/include/sys/itimer.h: New file.
10096
10097 * libc/signal/signal.c (__sigtramp_r,__sigtramp): New functions.
10098
10099Mon Mar 9 14:19:26 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
10100
10101 * libc/machine/sh/memcpy.S: (_memcpy): Fix for execute/memcpy-1.c
10102 failure.
10103
10104Fri Feb 27 13:56:10 1998 Michael Meissner <meissner@cygnus.com>
10105
10106 * libc/machine/d30v/setjmp.S (longjmp): Fix order of parallel
10107 insns.
10108
10109Wed Feb 25 09:29:54 1998 Nick Clifton <nickc@cygnus.com>
10110
10111 * libc/sys/arm/syscalls.c (_open): Add varags to conform to prototype.
10112
10113Tue Feb 24 18:00:13 1998 Michael Meissner <meissner@cygnus.com>
10114
10115 * libc/machine/d30v/{setjmp.S,Makefile.in}: New files for D30V
10116 support.
10117
10118 * libc/include/machine/setjmp.h: Add D30V support.
10119
10120 * configure.in (d30v-*): Add d30v machine directory.
10121
10122Mon Feb 23 09:32:58 1998 Mark Alexander <marka@cygnus.com>
10123
10124 * configure.in: Don't use libc/sys/sysmec for MN10300; it's
10125 been replaced with libgloss/mn10300.
10126
10127Sat Feb 21 17:44:43 1998 Geoffrey Noer <noer@cygnus.com>
10128
10129 * libc/stdlib/mallocr.c: remove __malloc_copy routine now that
10130 it is no longer needed.
10131
10132Thu Feb 19 16:15:10 1998 Geoffrey Noer <noer@cygnus.com>
10133
10134 * libc/include/sys/signal.h: add sigpause proto for Cygwin32
10135
10136Wed Feb 18 23:51:08 1998 Geoffrey Noer <noer@cygnus.com>
10137
10138 * libc/stdio/fdopen.c (fdopen): Make all writes go to the end of
10139 the file when O_APPEND is set, wherever the EOF happens to be at
10140 that time.
10141
10142Wed Feb 18 23:25:02 1998 Geoffrey Noer <noer@cygnus.com>
10143
10144 patch from cgf@bbc.com (Christopher Faylor):
10145 * libc/stdio/freopen.c (freopen): Conform to standard UNIX
10146 convention of closing fp prior to attempting to open the file
10147 argument. This allows correct operation when reopening
10148 stdin/stdout/stderr. Replaces last freopen.c patch.
10149
10150Wed Feb 18 16:27:40 1998 Geoffrey Noer <noer@cygnus.com>
10151
10152 patch from cgf@bbc.com (Christopher Faylor):
10153 * libc/stdio/freopen.c: freopen was not preserving the fd
10154 of the stream being operated on. This confuses programs that
10155 expect that the handles for stdout and stderr will be 1 and 2.
10156
10157Mon Feb 16 23:34:07 1998 Andrew Cagney <cagney@b1.cygnus.com>
10158
10159 * libc/sys/d10v/crt0.S (_start): Set PSW{SW} - select SPU.
10160
10161Thu Feb 12 15:09:20 1998 Ranjith Kumaran <ranjith@cygnus.com>
10162
10163 * libc/sys/go32/longjmp.S: Fix longjmp to not return 0.
10164
10165Wed Feb 11 17:50:45 1998 Jeff Johnston <jjohnstn@cygnus.com>
10166
10167 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Alignment code
10168 altered to not use a branch. Also added hint that last
10169 bclr in longjmp will likely result in branch.
10170
10171
10172Mon Feb 9 03:44:02 1998 Geoffrey Noer <noer@cygnus.com>
10173
10174 * libc/sys/cygwin32/crt0.c: add missing args to main() extern
10175
10176Fri Feb 6 16:32:32 1998 Nick Clifton <nickc@cygnus.com>
10177
10178 * libc/sys/sysnecv850/crt0.S (_start): Initialise _ctbp even for
10179 v850 builds.
10180
10181 * configure.in: Add -msmall-sld to target_cflags for v850 builds.
10182
10183Wed Feb 4 16:56:20 1998 Jeff Johnston <jjohnstn@cygnus.com>
10184
10185 * libc/machine/powerpc/setjmp.S (longjmp): Fixed code
10186 that loads FR14 to specify offset of 8 rather than 4
10187 so it loads from offset 96 (where setjmp stored it).
10188
10189Tue Feb 3 18:08:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
10190
10191 * libc/machine/sh/memcpy.S: (_memcpy): Update to
10192 latest version supplied by customer.
10193 * libc/machine/sh/memset.S (_memset): Ditto.
10194
10195Mon Feb 2 16:20:39 1998 Nick Clifton <nickc@cygnus.com>
10196
10197 * libc/sys/sysnecv850/Makefile.in (OFILES): Add link.o (for
10198 PR14730).
10199
10200Mon Feb 2 15:13:26 1998 Geoffrey Noer <noer@cygnus.com>
10201
10202 * libc/include/string.h: remove redefinition of ffs
10203
10204Wed Jan 28 13:30:14 1998 Geoffrey Noer <noer@cygnus.com>
10205
10206 * libc/include/sys/signal.h: include _ansi.h so _EXFUN is
10207 defined
10208
10209Wed Jan 28 10:38:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
10210
10211 * libc/machine/tic80/setjmp.S: Adding _setjmp to allow
10212 TI Libraries to link to libc.a
10213
10214Sat Jan 24 10:15:56 1998 Michael Meissner <meissner@cygnus.com>
10215
10216 * libc/include/sys/fcntl.h (_open,_fcntl): Add prototypes.
10217 * libc/include/sys/stat.h (_{,f}stat): Ditto.
10218 * libc/include/sys/wait.h (_wait): Ditto.
10219 * libc/include/sys/unistd.h (_close,_fork,_getpid): Ditto.
10220 (_link,_lseek,_read,_sbrk,_unlink,_write): Ditto.
10221
10222Fri Jan 23 11:32:10 1998 Michael Meissner <meissner@cygnus.com>
10223
10224 * libc/machine/d10v/setjmp.S: Change to new ABI. Add simple
10225 minded stabs so function name shows up when running the simulator
10226 with -t.
10227 * libc/sys/d10v/{crt0,trap}.S: Ditto.
10228
10229Thu Jan 22 15:57:14 1998 Fred Fish <fnf@cygnus.com>
10230
10231 * libc/sys/d10v/trap.S: Change syscalls to use trap 15.
10232 * libc/sys/d10v/crt0.S: Use R6 where we used to use R2.
10233 Use R5 where we used to use R3.
10234
10235Wed Jan 21 14:22:23 1998 Bill Moyer <billm@cygnus.com>
10236
10237 * libc/stdlib/getopt.c (getopt): replaced __progname
10238 with nargv[0] to improve portability to imbedded systems.
10239
10240Thu Jan 15 12:32:38 1998 Nick Clifton <nickc@cygnus.com>
10241
10242 * libc/sys/arm/syscalls.c (initialise_angel_handles): Applied
10243 patch supplied by Tont.Thompson@arm.com to fix the creation of the
10244 stdout file.
10245
10246Wed Jan 14 13:00:19 1998 Ian Lance Taylor <ian@cygnus.com>
10247
10248 * libc/stdio/tmpnam.c (worker): Generate a different file name
10249 each time.
10250
10251 * libc/posix/popen.c (popen): If __CYGWIN32__, and execing /bin/sh
10252 fails, try an execlp for sh.
10253
10254 * host/any (INCLUDES): If target_os is cygwin32, then add a -I
10255 option for the winsup include directory.
10256
10257Wed Jan 7 17:02:58 1998 Nick Clifton <nickc@cygnus.com>
10258
10259 * libc/sys/arm/syscalls.c: Applied patches for Angel based remote
10260 debugging interface from Tony.Thompson@arm.com.
10261
10262 * libc/sys/arm/crt0.S (_mainCRTStartup): ditto.
10263 * libc/sys/arm/swi.h: ditto.
10264
10265Tue Jan 6 14:15:10 1998 Geoffrey Noer <noer@cygnus.com>
10266
10267 * libc/sys/cygwin32/sys/dirent.h: add __d_dirhash field to
10268 DIR struct used for readdir hashes.
10269
10270Thu Jan 1 11:22:22 1998 Jeffrey A Law (law@cygnus.com)
10271
10272 * libc/string/strchr.c: Use "unsigned chars" as necessary.
10273
10274Wed Dec 31 04:25:30 1997 Jeffrey A Law (law@cygnus.com)
10275
10276 * libc/stdlib/mallocr.c (idx2binblock): Don't lose on 16bit
10277 integer targets.
10278
10279Sat Dec 13 15:11:06 1997 Ian Lance Taylor <ian@cygnus.com>
10280
10281 * libc/stdlib/mallocr.c (__malloc_copy): New function, compiled if
10282 INTERNAL_NEWLIB and __CYGWIN32__ and DEFINE_MALLOC.
10283 * libc/include/malloc.h: Add extern "C" if __cplusplus.
10284 (__malloc_copy): Declare.
10285
10286Wed Dec 10 12:15:54 1997 Ian Lance Taylor <ian@cygnus.com>
10287
10288 * libc/stdlib/mallocr.c: If INTERNAL_NEWLIB, include
10289 <sys/config.h>.
10290 (POINTER_UINT): Define.
10291 (DEFAULT_TRIM_THRESHOLD): Mark constants as long.
10292 (MALLOC_ALIGNMENT): Don't define if already defined.
10293 (malloc_extend_top): Cast pointers to POINTER_UINT, not unsigned
10294 long.
10295
10296Tue Dec 9 19:23:42 1997 Michael Meissner <meissner@cygnus.com>
10297
10298 * libc/string/memset.c (memset): Fiddle with code so that the long
10299 value being stored is not a stack value. Unroll storing longs 4
10300 times.
10301
10302Tue Dec 9 14:13:18 1997 Jeff Johnston <jjohnstn@cygnus.com>
10303
10304 * Reduce code size for libm modules.
10305 * libm/math/w_sqrt.c (sqrt): Remove call to kernel_standard
10306 and simply move code into sqrt.
10307 * libm/math/wrf_lgamma.c (lgammaf_r): Likewise.
10308 * libm/math/wr_lgamma.c (lgamma_r): Likewise.
10309 * libm/math/wrf_gamma.c (gammaf_r): Likewise.
10310 * libm/math/wr_gamma.c (gamma_r): Likewise.
10311 * libm/math/wf_sinh.c (sinfh): Likewise.
10312 * libm/math/w_sinh.c (sinh): Likewise.
10313 * libm/math/wf_scalb.c (scalbf): Likewise.
10314 * libm/math/w_scalb.c (scalb): Likewise.
10315 * libm/math/wf_remainder.c (remainderf): Likewise.
10316 * libm/math/w_remainder.c (remainder): Likewise.
10317 * libm/math/wf_pow.c (powf): Likewise.
10318 * libm/math/w_pow.c (pow): Likewise.
10319 * libm/math/wf_log10.c (log10f): Likewise.
10320 * libm/math/w_log10.c (log10): Likewise.
10321 * libm/math/wf_log.c (logf): Likewise.
10322 * libm/math/w_log.c (log): Likewise.
10323 * libm/math/w_lgamma.c (lgamma): Likewise.
10324 * libm/math/wf_lgamma.c (lgammaf): Likewise.
10325 * libm/math/wf_jn.c (jnf): Likewise.
10326 * libm/math/w_jn.c (jn): Likewise.
10327 * libm/math/wf_j1.c (j1f): Likewise.
10328 * libm/math/w_j1.c (j1): Likewise.
10329 * libm/math/wf_j0.c (j0f): Likewise.
10330 * libm/math/w_j0.c (j0): Likewise.
10331 * libm/math/wf_hypot.c (hypotf): Likewise.
10332 * libm/math/w_hypot.c (hypot): Likewise.
10333 * libm/math/wf_gamma.c (gammaf): Likewise.
10334 * libm/math/w_gamma.c (gamma): Likewise.
10335 * libm/math/wf_fmod.c (fmodf): Likewise.
10336 * libm/math/w_fmod.c (fmod): Likewise.
10337 * libm/math/wf_exp.c (expf): Likewise.
10338 * libm/math/w_exp.c (exp): Likewise.
10339 * libm/math/wf_cosh.c (coshf): Likewise.
10340 * libm/math/w_cosh.c (cosh): Likewise.
10341 * libm/math/wf_atanh.c (atanhf): Likewise.
10342 * libm/math/w_atanh.c (atanh): Likewise.
10343 * libm/math/wf_atan2.c (atan2f): Likewise.
10344 * libm/math/w_atan2.c (atan2): Likewise.
10345 * libm/math/wf_asin.c (asinf): Likewise.
10346 * libm/math/w_asin.c (asin): Likewise.
10347 * libm/math/wf_acosh.c (acoshf): Likewise.
10348 * libm/math/w_acosh.c (acosh): Likewise.
10349 * libm/math/wf_acos.c (asocf): Likewise.
10350 * libm/math/w_acos.c (acos): Likewise.
10351 * libm/math/wf_sqrt.c (sqrtf): Likewise.
10352 * libm/math/k_standard.c (_k_standard): Don't require SVID behavior
10353 for embedded systems.
10354
10355Mon Dec 8 12:12:58 1997 Ian Lance Taylor <ian@cygnus.com>
10356
10357 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from Doug
10358 Lea in case of a foreign sbrk.
10359
10360Fri Dec 5 23:27:28 1997 Ian Lance Taylor <ian@cygnus.com>
10361
10362 Incorporate Doug Lea's malloc:
10363 * libc/stdlib/mallocr.c: Completely replaced.
10364 * libc/stdlib/malloc.c: Document malloc_usable_size and memalign.
10365 (realloc): Remove.
10366 * libc/stdlib/calloc.c (calloc): Just call _calloc_r.
10367 * libc/stdlib/mstats.c: Document mallinfo, malloc_stats, and
10368 mallopt.
10369 (mallinfo, malloc_stats, mallopt): New functions.
10370 (_mstats_r): Just call _malloc_stats_r.
10371 * libc/stdlib/malign.c: New file.
10372 * libc/stdlib/mlock.c: New file.
10373 * libc/stdlib/msize.c: New file.
10374 * libc/stdlib/mtrim.c: New file.
10375 * libc/stdlib/realloc.c: New file.
10376 * libc/stdlib/valloc.c: New file.
10377 * libc/stdlib/malloc.h: Remove.
10378 * libc/stdlib/callocr.c: Remove.
10379 * libc/stdlib/Makefile.in (OFILES): Add cfreer.o, freer.o,
10380 malign.o, malignr.o, mallinfor.o, malloptr.o, mallstatsr.o,
10381 mlock.o, msize.o, msizer.o, mtrim.o, pvallocr.o, realloc.o,
10382 reallocr.o, valloc.o, vallocr.o.
10383 (CHEWOUT_FILES): Add mlock.def, mstats.def.
10384 (MALLOC_CFLAGS): New variable.
10385 (mallocr.o): New target, build from mallocr.c.
10386 (freer.o, reallocr.o, callocr.o, cfreer.o, malignr.o): Likewise.
10387 (vallocr.o, pvallocr.o, mallinfor.o, mallstatsr.o): Likewise.
10388 (msizer.o, malloptr.o): Likewise.
10389 (malign.o, mlock.o, msize.o, mtrim.o, realloc.o): New targets.
10390 (valloc.o): New target.
10391 * libc/stdlib/stdlib.tex: Include mlock.def and mstats.def.
10392 * libc/include/malloc.h: Declare struct mallinfo, and new
10393 routines.
10394 * libc/include/stdlib.h (cfree): Correct declaration.
10395
10396Tue Dec 2 10:12:16 1997 Nick Clifton <nickc@cygnus.com>
10397
10398 * libc/include/machine/setjmp.h: Add support for Thumb target.
10399
10400 * libc/include/machine/ieeefp.h: Add support for Thumb target.
10401
10402 * configure.in (links): Add support for Thumb target.
10403
10404Wed Nov 26 09:56:17 1997 Nick Clifton <nickc@cygnus.com>
10405
10406 * libc/sys/arm/setjmp.S: Updated with version from branch.
10407
10408Thu Nov 20 01:21:43 1997 Geoffrey Noer <noer@cygnus.com>
10409
10410 * libc/include/stdio.h: add POSIX-required define L_ctermid
10411 for ctermid
10412
10413Wed Nov 19 16:11:40 1997 Michael Meissner <meissner@cygnus.com>
10414
10415 * configure.in (d30v-*-*): Define ABORT_MESSAGE, SMALL_MEMORY, in
10416 addition to MISSING_SYSCALL_NAMES.
10417
10418Mon Nov 17 20:05:05 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
10419
10420 * libc/include/sys/config.h: (UINT_MAX, for D10V): Make unsigned.
10421
10422Mon Nov 10 22:26:55 1997 Geoffrey Noer <noer@cygnus.com>
10423
10424 * libc/include/string.h: change strsignal proto to return
10425 a char *. This eliminates compile problems in gdb resulting
10426 from gdb's definition of strsignal in defs.h.
10427
10428Mon Nov 10 17:11:08 1997 Geoffrey Noer <noer@cygnus.com>
10429
10430 * libc/sys/cygwin32/sys/utime.h: new (moved here from
10431 winsup/include) so as not to conflict with the one in
10432 libc/include.
10433 * libc/include/string.h: add protos for strsignal, strtosigno
10434
10435Mon Nov 10 13:49:54 1997 Michael Meissner <meissner@cygnus.com>
10436
10437 * libc/include/sys/config.h: Define __IEEE_BIG_ENDIAN if d30v.
10438
10439 * configure.in (d30v-*-*): Add configuration.
10440
10441Thu Oct 30 14:01:23 1997 Nick Clifton <nickc@cygnus.com>
10442
10443 * configure.in (links): Add -DARM_RD[P|I]_MONITOR to target_cflags
10444 to select which kind of debug monitor is in use for an ARM target.
10445
10446 * libc/sys/arm/crt0.S: New version: Supports Thumb startups and
10447 Angel and Demon debug monitors. Part of this code was supplied by
10448 Tony Thompson at ARM: athompso@arm.com.
10449
10450Fri Oct 24 18:57:05 1997 Jeffrey A Law (law@cygnus.com)
10451
10452 * strncat.c (strncat): Don't call strncpy; strncay has the wrong
10453 semantics when the count is greater than the length of the second
10454 source string.
10455
10456Thu Oct 23 01:37:41 1997 Geoffrey Noer <noer@cygnus.com>
10457
10458 * libc/include/sys/signal.h: reorder CYGWIN32 signal numbers
10459 * libc/include/sys/unistd.h: add protos for usleep, truncate,
10460 truncate and ftruncate take off_t, not size_t
10461
10462Tue Oct 21 18:42:00 1997 Jim Wilson <wilson@cygnus.com>
10463
10464 * libc/string/strcat.c (strcat): Add missing comment end.
10465 * libc/string/strncat.c (strncat): Likewise.
10466
10467Tue Oct 21 17:23:34 1997 Nick Clifton <nickc@cygnus.com>
10468
10469 * configure.in (links): Define PREFER_SIZE_OVER_SPEED for v850
10470 targets.
10471 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Add space
10472 optimised version which is selected if PREFER_SIZE_OVER_SPEED is
10473 defined.
10474 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
10475 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
10476 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
10477
10478Mon Oct 13 15:12:35 1997 Ian Lance Taylor <ian@cygnus.com>
10479
10480 * libc/include/sys/param.h (BIG_ENDIAN): Define if __i386__.
10481 (LITTLE_ENDIAN, BYTE_ORDER): Likewise.
10482
10483Thu Oct 9 13:54:44 1997 Doug Evans <dje@canuck.cygnus.com>
10484
10485 * libc/machine/i386/setjmp.S: New file.
10486 * libc/machine/i386/Makefile.in: Delete COPYOFILES.
10487 (OFILES): Add setjmp.o.
10488 (setjmp.o): Add rule for.
10489 * configure.in: Don't set machine_dir for *-*-{go32,sco*,cygwin32}.
10490
10491Tue Oct 7 14:01:29 1997 Bill Moyer (billm@cygnus.com)
10492 Jeffrey A Law (law@cygnus.com)
10493
10494 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Reimplement to run faster.
10495 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
10496 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
10497 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
10498
10499Mon Oct 6 14:07:59 1997 Nick Clifton <nickc@cygnus.com>
10500
10501 * libc/sys/sysnecv850/Makefile.in (crt0.o trap.o): Explicit
10502 rules.
10503
10504 * libc/include/sys/config.h: Use __v850 to select v850
10505 endianness.
10506
10507 * libc/include/machine/setjmp.h: Use __v850 to select v850 jump
10508 buffer size.
10509
10510 * libc/include/machine/ieeefp.h: Use __v850 to select v850
10511 endianness.
10512
10513Thu Sep 25 14:11:37 1997 Geoffrey Noer <noer@cygnus.com>
10514
10515 * libc/stdlib/setenv.c: change unsetenv definition to match
10516 style of setenv (with _DEFUN). The string should be a const.
10517 * libc/include/stdlib.h: unsetenv proto should return void.
10518
10519Tue Sep 23 18:17:20 1997 Geoffrey Noer <noer@cygnus.com>
10520
10521 * libc/include/stdlib.h: define unsetenv proto for __CYGWIN32__
10522
10523Thu Sep 18 12:50:15 1997 Angela Marie Thomas (angela@cygnus.com)
10524
10525 * libc/stdio/glue.h: remove.
10526 * libc/stdio/findfp.c, libc/stdio/fwalk.c: remove #include "glue.h"
10527 * libc/stdio/Makefile.in: remove glue.h dependencies
10528
10529Wed Sep 17 17:42:27 1997 Nick Clifton <nickc@cygnus.com>
10530
10531 * libc/sys/sysnecv850/crt0.S: Created V850e version.
10532
10533Tue Sep 9 10:40:57 1997 Doug Evans <dje@canuck.cygnus.com>
10534
10535 * configure.in (target_cpu): Add `arc'.
10536
10537Tue Sep 9 10:40:42 1997 Joel Sherrill <joel@OARcorp.com>
10538
10539 * newlib/configure.in (*-*-rtems*): Add -DSIGNAL_PROVIDED and
10540 -DREENTRANT_SYSCALLS_PROVIDED to the target_cflags.
10541 * newlib/libc/include/sys/errno.h: Add ENOTSUP.
10542 * newlib/libc/reent/reent.c: Add _wrapup_reent.
10543 * newlib/libc/sys/rtems/sys/types.h: Avoid redefinitions for go32.
10544
10545Sun Sep 7 16:41:41 1997 Gavin Koch <gavin@cygnus.com>
10546
10547 * libc/machine/mips/setjmp.S: Handle mips16 builds.
10548
10549Thu Aug 21 20:05:38 1997 Ian Lance Taylor <ian@cygnus.com>
10550
10551 * libc/include/stdio.h (siprintf): Declare.
10552
10553Mon Aug 18 11:19:13 1997 Nick Clifton <nickc@cygnus.com>
10554
10555 * libc/sys/sysnecv850/Makefile.in (.c.o): Add rule that includes
10556 TARGET_CFLAGS and NEWLIB_FLAGS.
10557
10558Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
10559
10560 * configure.in (links): Add support for v850ea target.
10561
10562Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
10563
10564 * configure.in (links): Add support for v850e target.
10565
10566Wed Aug 13 19:16:54 1997 Nick Clifton <nickc@cygnus.com>
10567
10568 * libc/sys/sysnecv850/crt0.S: Remove initial setting of r0 to 0.
10569
10570Mon Aug 11 15:49:54 1997 Doug Evans <dje@canuck.cygnus.com>
10571
10572 * configure.in (arc-*-*): Add support for.
10573 * libc/include/machine/ieeefp.h (__arc__): Add support for the ARC.
10574
10575Fri Jul 25 17:37:41 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
10576
10577 * libc/sys/sh/crt0.S (start): Add fpscr initialization for SH4.
10578
10579Thu Jul 24 18:32:17 1997 Geoffrey Noer <noer@cygnus.com>
10580
10581 * libc/stdlib/bsearch.c (bsearch): remove last unneeded
10582 comparison which accesses invalid memory when the key is
10583 larger than the last member of the array.
10584 * libc/include/machine/setjmp.h: add sigsetjmp, siglongjmp
10585 for CYGWIN32
10586 * libc/include/sys/unistd.h: add _POSIX defines for CYGWIN32
10587
10588Tue Jul 22 16:03:06 1997 Ian Lance Taylor <ian@cygnus.com>
10589
10590 * libc/include/stdlib.h (realpath): Declare if __CYGWIN32__ and
10591 not _STRICT_ANSI.
10592
10593Thu Jul 10 15:11:52 1997 Doug Evans <dje@canuck.cygnus.com>
10594
10595 * libm/math/k_standard.c (__kernel_standard): Call fflush(stdout)
10596 ifndef _USE_WRITE, instead of ifdef _USE_WRITE.
10597
10598Thu Jul 10 16:00:09 1997 Mike Meissner <meissner@cygnus.com>
10599
10600 * libc/machine/tic80/setjmp.S (setjmp,longjmp): Use ld.d and st.d
10601 to load/store memory.
10602
10603Mon Jul 7 17:38:17 1997 Ian Lance Taylor <ian@cygnus.com>
10604
10605 * libc/include/sys/fcntl.h: Define _O_* symbols with leading
10606 underscores if _WIN32.
10607
10608Wed Jul 2 10:07:20 1997 Doug Evans <dje@canuck.cygnus.com>
10609
10610 * libm/math/k_standard.c (__kernel_standard): Delete reentrancy
10611 support ifdef _USE_WRITE missed in last change.
10612 From Anders Blomdell <anders.blomdell@control.lth.se>.
10613
10614Wed Jun 25 10:18:49 1997 Doug Evans <dje@canuck.cygnus.com>
10615
10616 * libc/stdio/tmpnam.c (worker): Handle _open_r being stubbed out.
10617 (_tmpnam_r, _tempnam_r): Update.
10618
10619Wed Jun 25 00:16:55 1997 Mark Alexander <marka@cygnus.com>
10620
10621 * libc/machine/sparc/setjmp.S: New file.
10622 * libc/machine/sparc/Makefile.in: Add setjmp.
10623 * libc/include/machine/setjmp.h: Increase jmpbuf size for sparc.
10624
10625Tue Jun 24 23:27:38 1997 Mark Alexander <marka@cygnus.com>
10626
10627 * libc/include/machine/setjmp.h: Use __TIC80__ instead of __tic80__.
10628
10629Tue Jun 24 14:53:40 1997 Doug Evans <dje@canuck.cygnus.com>
10630
10631 From Joel Sherrill <joel@oarcorp.com>.
10632 * libc/stdlib/getenv.c (_findenv): Avoid dereferencing null `environ'.
10633
10634 Add rtems support. From Joel Sherrill <joel@oarcorp.com>.
10635 * configure.in: Recognize *-*-rtems*.
10636 * libc/sys/rtems/{Makefile.in,crt0.c,dummysys.c}: New files.
10637 * libc/sys/rtems/sys/{features.h,sched.h,siginfo.h,signal.h,
10638 time.h,times.h,types.h}: New files.
10639 * libc/sys/rtems/include/{limits.h,signal.h,time.h}. New files.
10640
10641Fri Jun 20 11:13:16 1997 Geoffrey Noer <noer@cygnus.com>
10642
10643 patch from sos@prospect.com.ru (Sergey Okhapkin):
10644 * include/sys/wait.h: correct operator precidence bug
10645 in WIFSIGNALED
10646
10647Wed Jun 18 22:08:27 1997 Geoffrey Noer <noer@cygnus.com>
10648
10649 * libc/include/stdlib.h: remove unsetenv proto since it conflicts
10650 with newlib's unsetenv function
10651 * libc/sys/cygwin32/sys: new directory for includes
10652 * libc/sys/cygwin32/sys/dirent.h: move cygwin32's dirent.h
10653 here from winsup/include/sys
10654
10655Mon Jun 16 21:02:22 1997 Geoffrey Noer <noer@cygnus.com>
10656
10657 * libc/include/sys/unistd.h: _exit should only be
10658 labelled noreturn when not __CYGWIN32__
10659 * libc/include/stdlib.h: for __CYGWIN32__, add proto for unsetenv
10660 * libc/include/sys/signal.h: add SIGIO to _WIN32 list and
10661 increment NSIG
10662
10663Thu Jun 12 18:52:41 1997 Ian Lance Taylor <ian@cygnus.com>
10664
10665 * libc/include/sys/time.h: Only define timeval and timezone if
10666 _GNU_H_WINDOWS32_SOCKETS is not defined.
10667 * libc/include/sys/stat.h: If _WIN32, define _S_IFMT, etc.
10668
10669Wed Jun 11 09:46:26 1997 Jeffrey A Law (law@cygnus.com)
10670
10671 * libc/machine/mn10200/setjmp.S: Implement setjmp/longjmp
10672 * libc/machine/mn10300/setjmp.S: Likewise.
10673
10674 * libc/sys/sysmec/crt0.S: Use "call" instead of "calls" for
10675 the mn10300 (more relaxing opportunities).
10676
10677Tue Jun 10 17:24:45 1997 Mike Meissner <meissner@cygnus.com>
10678
10679 * configure.in (powerpc*-*-{eabi,elf,linux,rtems,sysv,solaris}):
10680 Build libraries with -mstrict-align.
10681
10682Fri Jun 6 14:07:59 1997 Ian Lance Taylor <ian@cygnus.com>
10683
10684 * libc/string/strlwr.c: New file.
10685 * libc/string/strupr.c: New file.
10686 * libc/include/string.h: Declare strlwr and strupr.
10687 * libc/string/Makefile.in (OFILES): Add strlwr.o and strupr.o.
10688 (CHEWOUT_FILES): Add strlwr.def and strupr.def.
10689 (strlwr.o, strupr.o): New targets.
10690 * libc/string/strings.tex: Include strlwr and strupr docs.
10691
10692 * libc/include/sys/types.h: Don't define u_char, et. al., if
10693 _GNU_H_WINDOWS32_SOCKETS is defined. Likewise for fd_set,
10694 et. al. Make FD_SETSIZE default 64 rather than 60. Define
10695 _types_fd_set rather than fd_set, and define fd_set as a macro.
10696
10697 * libc/include/malloc.h: New file.
10698
10699 * libc/include/string.h: Define strcmpi, stricmp, strncmpi, and
10700 strnicmp if they are not already defined.
10701
10702 * libc/include/time.h: If __CYGWIN32__, declare tzset and define
10703 _timezone, _daylight, and _tzname.
10704
10705Wed Jun 4 12:51:16 1997 Doug Evans <dje@canuck.cygnus.com>
10706
10707 * configure.in: Sort all configuration tables.
10708
10709 From Joel Sherrill <joel@oarcorp.com>
10710 * Makefile.in (stmp-targ-include): Copy $(sys_dir)/include/*.h.
10711
10712Tue Jun 3 14:47:46 1997 Ian Lance Taylor <ian@cygnus.com>
10713
10714 * libc/include/sys/signal.h: Don't include <sys/types.h>. Just
10715 use int when declaring kill.
10716
10717 * libc/include/sys/timeb.h: New file.
10718
10719Mon Jun 2 12:06:58 1997 Geoffrey Noer <noer@cirdan.cygnus.com>
10720
10721 * libc/include/sys/time.h: add itimer support for Cygwin32
10722
10723Mon May 19 11:56:46 1997 Mike Meissner <meissner@cygnus.com>
10724
10725 * libc/stdlib/abort.c (abort): If ABORT_MESSAGE is defined, write
10726 out a message that abort was called to stderr.
10727
10728Fri May 16 15:02:59 1997 Bob Manson <manson@charmed.cygnus.com>
10729
10730 * libc/sys/sysmec/fstat.c (_fstat): Set st_blksize to 4096
10731 so that libio doesn't freak.
10732
10733 * libc/sys/sysmec/sbrk.c (_sbrk): The argument is a size_t, not
10734 int.
10735
10736 * libc/stdlib/mallocr.c (_morecore_r): Use size_t for
10737 memory sizes, not int.
10738
10739Wed May 14 21:16:58 1997 Bob Manson <manson@charmed.cygnus.com>
10740
10741 * libm/math/ef_hypot.c: Use long constants where
10742 appropriate.
10743 * libm/math/ef_sqrt.c: Ditto.
10744
10745 * libc/sys/sysmec/times.c(_times): Change to times.
10746
10747 * libc/sys/sysmec/read.c(_read): The third argument is
10748 size_t.
10749 * libc/sys/sysmec/write.c (_write): Ditto.
10750
10751 * libc/sys/sysmec/lseek.c: Include unistd.h for off_t.
10752 (_lseek): It's off_t for the second argument.
10753
10754Wed May 14 15:23:36 1997 Mike Meissner <meissner@cygnus.com>
10755
10756 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN): Define here,
10757 as well as machine/ieeefp.h.
10758
10759Thu May 8 15:47:25 1997 Geoffrey Noer <noer@cygnus.com>
10760
10761 * libc/include/sys/signal.h: add signal protos for winsup
10762 functions (when __CYGWIN32__), include types.h
10763 * libc/include/sys/types.h: Change __go32_types__ internal
10764 define to __MS_types__ since it's used for more than just
10765 GO32 configs. Define this if GO32, __MSDOS__, or _WIN32 are
10766 defined.
10767 * libc/include/sys/unistd.h: add ftruncate proto for
10768 winsup functions (when __CYGWIN32__)
10769
10770Fri Apr 25 10:10:16 1997 Doug Evans <dje@canuck.cygnus.com>
10771
10772 * libc/sys/h8300hms/sbrk.c (stack_ptr): Add definition.
10773
10774Thu Apr 24 15:46:51 1997 Mike Stump <mrs@cygnus.com>
10775
10776 * libc/include/machine/setjmp.h: Add tic80 support.
10777 * libc/machine/tic80/setjmp.S: Likewise.
10778
10779Tue Apr 22 16:54:40 1997 Geoffrey Noer <noer@pizza.cygnus.com>
10780
10781 * libc/sys/cygwin32/crt0.c: Add reference to main() so we can
10782 link programs from libraries only (such as in the X11
10783 distribution)
10784
10785Mon Apr 21 15:02:12 1997 Fred Fish <fnf@cygnus.com>
10786
10787 * libc/sys/arm/syscalls.c (signal): Remove stub, signal()
10788 supplied elsewhere in newlib.
10789
10790Mon Apr 14 16:25:55 1997 Ian Lance Taylor <ian@cygnus.com>
10791
10792 * Makefile.in (INSTALL): Change install.sh to install-sh.
10793
10794Fri Apr 11 17:04:02 1997 Jason Molenda (crash@godzilla.cygnus.co.jp)
10795
10796 * README: update WWW address for on-line documentation.
10797
10798Wed Apr 9 00:38:13 1997 Geoffrey Noer <noer@cygnus.com>
10799
10800 * libc/include/sys/signal.h: for _WIN32, define SIGCONT and
10801 increment NSIG
10802
10803Mon Apr 7 23:54:00 1997 Jeffrey A Law (law@cygnus.com)
10804
10805 * libc/sys/sysmec/crt0.S: Update for new calling conventions on the
10806 mn10300.
10807 * libc/sys/sysmec/trap.S: Don't compare a register to itself.
10808
10809Tue Mar 25 08:47:43 1997 Jeffrey A Law (law@cygnus.com)
10810
10811 * libc/sys/arm/syscalls.c: Fix/add stack/heap collision detection.
10812 * libc/sys/d10v/syscalls.c: Likewise.
10813 * libc/sys/h8300hms/sbrk.c: Likewise.
10814 * libc/sys/h8500hms/syscalls.c: Likewise.
10815 * libc/sys/m88kbug/syscalls.c: Likewise.
10816 * libc/sys/sh/syscalls.c: Likewise.
10817 * libc/sys/sysmec/sbrk.c: Likewise.
10818 * libc/sys/sysnecv850/sbrk.c: Likewise.
10819 * libc/sys/w65/syscalls.c: Likewise.
10820 * libc/sys.tex: Update sbrk sample code to include stack/heap collision.
10821
10822Tue Mar 18 14:14:34 1997 Jeffrey A Law (law@cygnus.com)
10823
10824 * libc/sys/sysmec/trap.S: Use "syscall" to trigger an
10825 emulated syscall instead of "trap".
10826
10827Fri Mar 14 11:26:13 1997 Michael Meissner <meissner@cygnus.com>
10828
10829 * libc/sys/d10v/trap.S (__trap0): Use trap 15 for system calls,
10830 not trap 0.
10831
10832Sun Mar 9 23:27:04 1997 Doug Evans <dje@seba.cygnus.com>
10833
10834 * configure.in (m32r-*-*): Add -msdata=sdata to target_cflags.
10835
10836Sat Mar 8 09:05:01 1997 Fred Fish <fnf@cygnus.com>
10837
10838 * libc/machine/arm/Makefile.in: Fix comment, is for "arm"
10839 not "sh".
10840 * libc/machine/m32r/Makefile.in: Fix comment, is for "m32r"
10841 not "d10v".
10842 * libc/sys/tic80/crt0.c: New file for TIc80.
10843 * libc/sys/tic80/Makefile.in: New file for TIc80.
10844 * libc/machine/tic80/Makefile.in: New file for TIc80.
10845
10846Wed Mar 5 11:32:12 1997 J.T. Conklin <jtc@cygnus.com>
10847
10848 * libc/machine/sh/memcpy.S: New file.
10849 * libc/machine/sh/memset.S: New file.
10850 * libc/machine/sh/Makefile.in (OFILES): Add memcpy.o and memset.o
10851
10852Thu Feb 27 16:27:55 1997 Fred Fish <fnf@cygnus.com>
10853
10854 * libc/include/machine/ieeefp.h (_IEEE_LITTLE_ENDIAN): Define
10855 for TIc80.
10856
10857Wed Feb 26 13:43:39 1997 Jeffrey A Law (law@cygnus.com)
10858
10859 * libc/sys/sysmec/crt0.S: Handle new calling conventions for
10860 the mn10200.
10861
10862Wed Feb 26 07:11:03 1997 Michael Meissner <meissner@cygnus.com>
10863
10864 * libc/machine/powerpc/setjmp.S (longjmp): Correct return status
10865 (patch from andrew@pogo.WV.TEK.COM).
10866
10867Fri Feb 14 11:49:28 1997 Doug Evans <dje@canuck.cygnus.com>
10868
10869 * libc/machine/m32r/setjmp.S (setjmp): Save r12.
10870 (longjmp): Restore r12. Fix code that handles returning 1 if passed 0.
10871
10872Mon Feb 10 10:02:34 1997 Fred Fish <fnf@cygnus.com>
10873
10874 * configure.in: Add cases for "tic80" to set machine_dir,
10875 sys_dir, and syscall_dir.
10876
10877Sun Feb 2 17:57:15 1997 Geoffrey Noer <noer@cygnus.com>
10878
10879 * libc/sys/cygwin32/crt0.c: initialize floating pt registers
10880
10881Wed Jan 29 15:57:38 1997 Geoffrey Noer <noer@cygnus.com>
10882
10883 * libc/include/math.h: avoid conflicts with ANSI C++ <exception>
10884
10885Mon Jan 27 12:50:01 1997 Doug Evans <dje@seba.cygnus.com>
10886
10887 * libc/machine/m32r/setjmp.S: Use proper comment delimiter.
10888 Use proper constant prefix.
10889
10890Fri Jan 24 10:59:04 1997 Jeffrey A Law (law@cygnus.com)
10891
10892 * libc/sys/sysmec/*.c: Don't cast args to syscall to integers,
10893 that loses on the mn10200 where ints and pointers are different
10894 sizes.
10895
10896Tue Jan 14 13:29:55 PST 1997 Jeremy Allison <jra@cygnus.com>
10897
10898 * configure.in: Added -DSIGNAL_PROVIDED to cygwin32
10899 target as signal is provided in winsup.
10900
10901Tue Jan 14 11:10:13 1997 Jeremy Allison <jra@cygnus.com>
10902
10903 * libc/include/sys/process.h: Corrected const definitions
10904 in spawn functions. Added cwait.
10905
10906Thu Jan 2 12:22:41 1997 Jeffrey A Law (law@cygnus.com)
10907
10908 * libc/include/machine/ieeefp.h: mn10200 uses 16bit ints and 32bit
10909 doubles.
10910 * libc/include/sys/config.h: Similarly.
10911
10912Tue Dec 31 18:36:14 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10913
10914 * configure.in (sparc-sun-sunos*): Add -DSIGNAL_PROVIDED to the
10915 target_cflags.
10916 (i[3456]86-*-sco*): Ditto.
10917
10918 * libc/signal/Makefile.in (OFILES): Add signal.o.
10919 (CFILES): Add signal.c.
10920
10921 * libc/signal/raise.c (_raise_r): Only compile code if
10922 SIGNAL_PROVIDED is defined.
10923
10924 * libc/signal/signal.c: Redo whole file so that it works with
10925 current newlib. Use _kill_r if no signal handler provided.
10926
10927 * libc/sys/{go32,sparc64,sysmec}/Makefile.in: Delete raise and
10928 signal stubs.
10929 * libc/sys/sysvnecv70/Makefile.in: Ditto.
10930 * libc/sys/sysnecv850/Makefile.in: Ditto.
10931
10932 * libc/sys/{go32,sparc64}/signal.c: Delete, stub no longer used.
10933 * libc/sys/sysmec/{raise,signal}.c: Ditto.
10934 * libc/sys/sysvnecv70/signal.s: Ditto.
10935 * libc/sys/sysnecv850/raise.c: Ditto.
10936
10937 * libc/sys/sysnecv850/kill.c (_kill): Encode signal # so that
10938 simulator and debugger can tell the difference between a signal
10939 being raised and an exit system call.
10940
10941 * NEWS: Document software signals being provided.
10942
10943Mon Dec 23 11:54:19 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10944
10945 * libc/reent/impure.c (_REENT_ATTR): Delete in favor of
10946 __ATTRIBUTE_IMPURE_PTR__. Move PowerPC definition to
10947 include/sys/config.h.
10948 (impure_data): Use __ATTRIBUTE_IMPURE_DATA__ for attributes.
10949 Change from 'inpure_data'.
10950 (_impure_ptr): Use __ATTRIBUTE_IMPURE_PTR__ for attributes. Use
10951 &impure_data, not &inpure_data.
10952
10953 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): If PowerPC
10954 and and System V ABI, define so that _impure_ptr lives in the
10955 .sdata section.
10956
10957Sun Dec 22 23:33:05 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10958
10959 * libc/include/sys/reent.h (__ATTRIBUTE_IMPURE_PTR__): Define as
10960 nothing if not defined.
10961 (_impure_ptr): Use __ATTRIBUTRE_IMPURE_PTR__, so a machine can set
10962 its attributes.
10963
10964 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__):
10965
10966Wed Dec 18 10:12:04 1996 Jeffrey A Law (law@cygnus.com)
10967
10968 * libc/sys/sysmec/crt0.S: Fix mn10200 stuff.
10969 * libc/sys/sysmec/trap.s: Handle mn10200 too.
10970 * libc/machine/mn10200/setjmp.S: Fix mn10200 stuff.
10971
10972Mon Dec 16 10:05:36 1996 Jeffrey A Law (law@cygnus.com)
10973
10974 * libc/sys/sysmec/crt0.S: Handle mn10200 too.
10975
10976Fri Dec 13 11:05:20 1996 Jeremy Allison <jra@cygnus.com>
10977
10978 * libc/include/sys/errno.h: Added net errno's.
10979
10980Wed Dec 11 16:24:25 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10981
10982 * libc/misc/ffs.c: New file to support ffs function for GCC test
10983 gcc.c-torture/execute/960909-1.c.
10984
10985 * libc/misc/Makefile.in ({O,CHEWOUT_}FILES): Add ffs.
10986
10987Sat Dec 7 10:12:37 1996 Jeffrey A Law (law@cygnus.com)
10988
10989 * libc/sys/sysmec/crt0.S: Handle underscore prefix.
10990 * libc/sys/sysmec/trap.S: Likewise.
10991
10992Fri Dec 6 15:08:49 1996 Jim Wilson <wilson@cygnus.com>
10993
10994 * configure.in (mips*vr4300*-*-*): Delete use of sys/vr4300.
10995 * libc/sys/vr4300/{Makefile.in,crt0.S,syscalls.c}: Delete.
10996
10997Wed Dec 4 16:25:27 1996 Jeffrey A Law (law@cygnus.com)
10998
10999 * libc/sys/sysmec/signal.c: Dummy file.
11000 * libc/sys/sysmec/Makefile.in: Build it.
11001
11002Wed Nov 27 13:10:18 1996 Ian Lance Taylor <ian@cygnus.com>
11003
11004 * libc/machine/mips/machine/regdef.h: Define pc as $pc for
11005 mips16.
11006
11007Mon Nov 25 09:58:28 1996 Jeffrey A Law (law@cygnus.com)
11008
11009 * libc/sys/sysmec/{crt0.S,trap0.S}: Actually try to implement
11010 c-startup and simulator traps.
11011
11012
11013 * libc/sys/sysmec/crt0.S: Remove bogus '_' symbol prefixing
11014 * libc/sys/sysmec/trap0.S: Likewise.
11015
11016Sat Nov 23 09:01:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11017
11018 * libc/stdlib/mallocr.c (ROUND_TO): If SMALL_MEMORY, set to 0x7 to
11019 round to double word alignment.
11020 (_morecore_r): Combine rounding up pointers to both ROUND_TO and 8
11021 byte alignment.
11022
11023 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Define if d10v.
11024
11025 * libc/sys/d10v/syscalls.c (_sbrk): Add better checks for running
11026 out of memory.
11027
11028Mon Nov 18 13:08:26 1996 Jeffrey A Law (law@cygnus.com)
11029
11030 * configure.in: Handle mn10200 and mn10300.
11031 * libc/include/machine/{ieeefp.h,setjmp.h}: Likewise.
11032 * libc/include/sys/config.h: Likewise.
11033 * libc/sys/sysmec: New directory for mec stuff.
11034 * libc/machine/mn10300: New directory for mn10300 stuff.
11035 * libc/machine/mn10200: Similarly for mn10200 stuff.
11036
11037Fri Nov 15 16:41:41 1996 Doug Evans <dje@canuck.cygnus.com>
11038
11039 * libc/sys/arm/crt0.S: Use .text, not .section .text.
11040 * libc/sys/arm/syscalls.c: Rewrite to set errno properly.
11041
11042 * libc/include/sys/types.h (_ST_INT32): New macro, local to file.
11043 (nlink_t): Change type from unsigned int to unsigned short.
11044 (mode_t): Ensure size is 32 bits even if int is 16.
11045 * libc/include/sys/stat.h (st_nlink): Change type to nlink_t.
11046 (st_spare[123]): Change type from int to long.
11047
11048Fri Nov 15 11:41:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11049
11050 * libc/sys/d10v/syscalls.c (_sbrk): Align initial heap_end to 8
11051 byte boundary.
11052
11053 * configure.in (d10v*): Define SMALL_MEMORY.
11054
11055Mon Nov 11 10:30:44 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11056
11057 * configure.in (powerpc*-{eabi,elf,linux,rtem,sysv,solaris}*): Add
11058 -mrelocatable-lib and -mno-eabi flags.
11059
11060Mon Nov 11 09:01:39 1996 Jeffrey A Law (law@cygnus.com)
11061
11062 * libc/machine/h8300/memcpy.S: Fix comments to reflect reality.
11063 Fix handling of mis-aligned source operand when both the
11064 destination & length are properly aligned.
11065
11066Wed Oct 30 09:41:11 1996 Jeffrey A Law (law@cygnus.com)
11067
11068 * libc/sys/sysnecv850/Makefile.in (OFILES): Add
11069 times.o, time.o and gettime.o
11070 * libc/sys/sysnecv850/{time.c, times.c, gettime.c}: New files.
11071 * libc/sys/sysnecv850/sys/syscall.h: Add SYS_times and
11072 SYS_gettimeofday.
11073
11074Tue Oct 29 13:40:09 1996 Jeffrey A Law (law@cygnus.com)
11075
11076 * libc/sys/sysnecv850/Makefile.in (OFILES): Add access.o
11077 * libc/sys/sysnecv850/access.c: New file.
11078
11079Mon Oct 21 19:47:02 1996 Ian Lance Taylor <ian@cygnus.com>
11080
11081 * libc/sys/vr4300/Makefile.in (clean): Remove $(OFILES).
11082
11083 * libc/stdlib/mprec.h (word0, word1): Use __uint32_t, not unsigned
11084 long.
11085
11086Mon Oct 21 14:43:07 1996 Jeffrey A Law (law@cygnus.com)
11087
11088 * libc/sys/sysnecv850/crt0.S: Initialize ep and gp registers.
11089
11090Thu Oct 17 11:47:16 1996 Doug Evans <dje@seba.cygnus.com>
11091
11092 * libc/include/machine/{ieeefp.h,setjmp.h}: Add m32r support.
11093 * libc/include/sys/config.h: Add m32r support.
11094
11095Wed Oct 16 23:08:05 1996 Jeffrey A Law (law@cygnus.com)
11096
11097 * libc/sys/sysnecv850/v850.ld: Remove. It doesn't belong
11098 here.
11099
11100Wed Oct 16 21:18:07 1996 Mark Alexander <marka@cygnus.com>
11101
11102 * libc/include/machine/setjmp.h: Add D10v support.
11103
11104Tue Oct 15 22:28:26 1996 Jeffrey A Law (law@cygnus.com)
11105
11106 * configure.in: Configure the "libc/syscalls" directory for
11107 the v850.
11108
11109 * libc/sys/sysnecv850/{close.c, execve.c, fork.c}: Add missing '_'.
11110 * libc/sys/sysnecv850/{fstat.c, getpid.c, kill.c}: Likewise.
11111 * libc/sys/sysnecv850/{lseek.c, open.c, read.c}: Likewise.
11112 * libc/sys/sysnecv850/{sbrk.c, stat.c, unlink.c}: Likewise.
11113 * libc/sys/sysnecv850/{wait.c, write.c}: Likewise.
11114
11115Tue Oct 15 16:24:39 1996 Stu Grossman (grossman@critters.cygnus.com)
11116
11117 * libc/sys/sysnecv850/crt0.S (start): Allocate spill space on
11118 stack for args for main and other routines. Zero out args for
11119 main.
11120
11121 * libc/sys/sysnecv850/v850.ld: New. Linker script to layout memory
11122 correctly.
11123
11124Tue Oct 15 11:51:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11125
11126 * libc/stdio/findfp.c (std): Remove extraneous ';' after
11127 function.
11128
11129 * libc/sys/d10v/sys/syscall.h (SYS_kill): Add.
11130
11131 * libc/sys/d10v/{syscalls.c,trap.S} (_kill,_getpid): Make these
11132 real system calls now.
11133
11134 * libc/stdio/setvbuf (setvbuf): Cast pointers to _POINTER_INT
11135 before casting them to int.
11136 * libc/stdio/tmpnam.c (_tempnam_r): Ditto.
11137
11138 * libc/stdlib/mallocr.c (_morecore_r): Use _POINTER_INT when
11139 aligning pointer.
11140 * libc/string/memset.c (memset): Ditto.
11141
11142 * libc/stdio/vfscanf.c (__svfscanf): When converting to pointer,
11143 first convert ints to _POINTER_INT to eliminate GCC warning.
11144
11145 * libc/stdio/vfprintf.c (_vfprintf_r): Use _POINTER_INT when
11146 processing %p.
11147
11148 * libm/math/ef_scalb.c (__ieee754_scalbf): Cut down range to 32000
11149 from 65000 if ints are only 16 bits.
11150
11151 * libm/math/sf_scalbn.c (scalbnf): Cut down overflow test to 30000
11152 from 50000 if ints are only 16 bits.
11153
11154 * libc/include/sys/config.h (_POINTER_INT): New macro, to give an
11155 int type that is the same size as a pointer.
11156
11157 * libc/misc/dprintf.c (__dprintf): Use _POINTER_INT when
11158 processing %p.
11159 (get_number): Explicitly cast number to long before shifting by 16
11160 or 24, in case ints are short.
11161
11162 * libc/include/sys/config.h (_POINTER_INT): Define as short.
11163
11164Wed Oct 9 16:54:32 1996 Jeremy Allison <jra@cygnus.com>
11165
11166 * libc/string.h: Added ffs, removed swab.
11167 * libc/sys/errno.h: Added EOPNOTSUPP.
11168 * libc/sys/unistd.h: Added swab.
11169
11170Thu Oct 3 17:08:50 1996 Jeremy Allison <jra@cygnus.com>
11171
11172 * libc/include/sys/stat.h: Added fchmod.
11173 * libc/include/sys/unistd.h: Added fsync.
11174
11175Tue Oct 1 17:34:08 1996 Jeremy Allison <jra@cygnus.com>
11176
11177 * libc/include/sys/errno.h: Added defines for EPFNOSUPPORT (96)
11178 and ECONNRESET (104) for cygwin32.
11179
11180Tue Oct 1 16:24:05 1996 Gavin Koch <gavin@cygnus.com>
11181
11182 * libc/sys/sysnecv850/_exit.c: added _do_dtors to
11183 do the static destructors.
11184
11185Mon Sep 30 15:59:05 1996 Stu Grossman (grossman@critters.cygnus.com)
11186
11187 * libc/sys/sysnecv850/trap.S: Change I/O to use trap 31.
11188
11189Mon Sep 30 12:02:50 1996 Doug Evans <dje@canuck.cygnus.com>
11190
11191 * libc/machine/m32r/{Makefile.in,setjmp.S}: New files.
11192 * configure.in: Recognize m32r-*-*.
11193
11194Mon Sep 30 00:34:41 1996 James G. Smith <jsmith@cygnus.co.uk>
11195
11196 * libc/sys/arm/trap.S (__rt_stkovf_split_big,
11197 __rt_stkovf_split_small): Added default software stack overflow
11198 handlers, which just call SWI_Exit.
11199 * libc/sys/arm/crt0.S (_mainCRTStartup): Simple software stack
11200 limit initialisation.
11201
11202Fri Sep 27 13:08:03 1996 Mark Alexander <marka@cygnus.com>
11203
11204 * libc/sys/d10v/{trap.S,sys/syscall.h}: Add time() function.
11205
11206Fri Sep 27 12:32:00 1996 Jeremy Allison <jra@cygnus.com>
11207
11208 * libc/include/sys/types.h: Added ssize_t definition.
11209
11210Wed Sep 25 14:52:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11211
11212 * libc/machine/d10v/setjmp.S: Use ';' for comments.
11213 * libc/sys/d10v/{crt0.S,trap.S}: Ditto.
11214
11215 * libc/machine/d10v/setjmp.S (longjmp): Use exef0t || instead of
11216 branch around a single ldi instruction.
11217
11218 * libc/sys/d10v/crt0.S (_start): Use auto-increment to zero bss.
11219 Call exit, instead of just issuing a stop instruction.
11220
11221Sun Sep 22 17:26:55 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11222
11223 * libc/sys/d10v/{trap.S,syscalls.c}: Add -mint32 support.
11224
11225Fri Sep 20 13:23:12 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11226
11227 * libc/stdlib/mprec.h: Explicitly declare all large constants as
11228 longs, and then cast them to __uint32_t.
11229
11230 * libc/include/sys/config.h: Protect against multiple inclusions.
11231
11232Tue Sep 17 13:10:33 1996 Mark Alexander <marka@cygnus.com>
11233
11234 * configure.in (d10v*): Set syscall_dir.
11235
11236Sun Sep 15 10:41:59 1996 Mark Alexander <marka@cygnus.com>
11237
11238 * libc/sys/d10v/crt0.S: Set stack pointer.
11239
11240Thu Sep 12 13:02:38 1996 Mark Alexander <marka@cygnus.com>
11241
11242 * libc/sys/d10v/{trap.S, syscalls.c}: Rewrite most system calls
11243 in assembly for efficiency. Change calling convention to allow
11244 long ints to be returned.
11245
11246Wed Sep 11 10:28:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11247
11248 * libc/machine/v850/Makefile.in (setjmp.o): Fix dependency.
11249
11250Thu Sep 5 19:23:06 1996 Doug Evans <dje@canuck.cygnus.com>
11251
11252 * libc/posix/execvp.c (execvp): Don't search PATH if file has '/'.
11253 Handle empty entries in $PATH.
11254
11255Tue Sep 03 18:15:02 1996 Mark Alexander <marka@cygnus.com>
11256
11257 * libc/machine/d10v/setjmp.S: Make it really work.
11258
11259Tue Sep 3 12:16:26 1996 Ian Lance Taylor <ian@cygnus.com>
11260
11261 * libc/sys/sh/crt0.S: If __ELF__, use ELF section attributes for
11262 the .stack section.
11263
11264Tue Sep 3 10:08:45 1996 Jeffrey A Law (law@cygnus.com)
11265
11266 * sys/sysnecv850/sys/file.h: Remove.
11267 * sys/sysnecv850/sys/syscall.h: New file.
11268 * sys/sysnecv850/{misc.c,syscalls.c,malloc.c}: Deleted.
11269 * sys/sysnecv850/{chmod.c, chown.c, close.c, creat.c} New files.
11270 * sys/sysnecv850/{execv.c, execve.c, fork.c, fstat.c} New files.
11271 * sys/sysnecv850/{getpid.c, isatty.c, kill.c, lseek.c} New files.
11272 * sys/sysnecv850/{open.c, pipe.c, raise.c, read.c} New files.
11273 * sys/sysnecv850/{stat.c, unlink.c, utime.c, wait.c} New files.
11274 * sys/sysnec850/trap.S: New file.
11275 * sys/sysnecv850/{_exit.c, write.c}: Use new TRAP0 mechanism for
11276 syscalls.
11277 * sys/sysnecv850/crt0.S: Use cmp/bl, not tst/bz.
11278 * sys/sysnec850/sbrk.c: New version.
11279
11280Sun Sep 1 20:08:27 1996 Jeffrey A Law (law@cygnus.com)
11281
11282 * sys/sysnecv850/crt0.S: Fix order of comparison args. Loop
11283 as long as r6 is less than r7.
11284
11285Sun Sep 1 13:54:19 1996 Ian Lance Taylor <ian@cygnus.com>
11286
11287 * Makefile.in (mostlyclean): Separate from clean target. Don't
11288 remove *.a or targ-include.
11289 * libc/machine/sparc/Makefile.in (mostlyclean): New target.
11290
11291Sun Sep 1 11:35:26 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11292
11293 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Define for
11294 d10v.
11295 (__SMALL_BITFIELDS): Ditto.
11296
11297 * libc/include/sys/config.h (_DOUBLE_IS_32BITS): Define for d10v.
11298
11299Sat Aug 31 16:42:36 1996 Jeffrey A Law (law@cygnus.com)
11300
11301 * libc/sys/sysnecv850/misc.c (raise, getpid, kill): Remove '_'
11302 prefix.
11303
11304 * libc/sys/sysnecv850/sbrk.c (sbrk): Remove '_' prefix.
11305 * libc/sys/sysnecv850/syscalls.c (read, lseek, close): Likewise.
11306 * libc/sys/sysnecv850/syscalls.c (fstat, open, close): Likewise.
11307 * libc/sys/sysnecv850/write.c (write): Likewise.
11308
11309 * libc/sys/sysnecv850/crt0.S: Don't try to zero out an empty
11310 .bss.
11311
11312Fri Aug 30 11:18:45 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11313
11314 * libc/include/sys/config.h: Define INT_MAX, UINT_MAX
11315 appropriately for D10V, depending on -mint16/-mint32.
11316
11317Thu Aug 29 16:09:37 1996 Mark Alexander <marka@cygnus.com>
11318
11319 * configure.in: Add cases for D10V.
11320
11321Thu Aug 29 17:03:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11322
11323 * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
11324
11325Wed Aug 28 21:05:52 1996 Jeffrey A Law (law@cygnus.com)
11326
11327 * libc/include/machine/ieeefp.h: Fix typo.
11328
11329Wed Aug 28 19:47:55 1996 Mark Alexander <marka@cygnus.com>
11330
11331 * libc/sys/d10v: New directory for D10V stuff.
11332 * libc/include/machine/ieeefp.h: Add D10V defines.
11333
11334Mon Aug 26 13:34:58 1996 Doug Evans <dje@canuck.cygnus.com>
11335
11336 * libc/include/sys/errno.h: Add winsup/include/sys/errno.h values:
11337 ELOOP, ENOBUFS, EAFNOSUPPORT, EPROTOTYPE, ENOTSOCK, ENOPROTOOPT,
11338 ESHUTDOWN, ECONNREFUSED, EADDRINUSE, ECONNABORTED, EWOULDBLOCK.
11339 * libc/string/strerror.c (strerror): Add them.
11340
11341Thu Aug 22 16:38:19 1996 Jeffrey A Law (law@cygnus.com)
11342
11343 * libc/sys/sysnecv850: New directory for v850 stuff.
11344
11345 * libc/machine/v850: New directory for v850 stuff.
11346 * libc/machine/v850/setjmp.S: setjmp/longjmp support.
11347
11348 * configure.in: Add support for the v850.
11349
11350 * libc/include/machine/ieeefp.h: Add v850 defines.
11351 * libc/include/machine/setjmp.h: Likewise.
11352 * libc/include/sys/config.h: Add v850 defines.
11353
11354Sat Aug 17 04:06:36 1996 Geoffrey Noer <noer@cygnus.com>
11355
11356 * libc/include/machine/ieeefp.h
11357 * libc/include/machine/setjmp.h
11358 * libc/include/sys/fcntl.h
11359 * libc/include/sys/signal.h
11360 * libc/include/sys/types.h
11361 * libc/stdlib/system.c:
11362 Fix preprocessor defines to match new scheme (_WIN32 for WIN32
11363 API availability, __CYGWIN32__ for cygwin32 environment specific).
11364
11365Thu Aug 15 17:09:21 1996 Geoffrey Noer <noer@cygnus.com>
11366
11367 * libc/include/stdlib.h: add multibyte character functions. Add
11368 __eprintf for assert.
11369
11370Thu Aug 15 11:15:40 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11371
11372 * libc/stdlib/malloc.h (MALLOC_ALIGNMENT): Use either pointer
11373 arithmetic or __alignof__ to properly get the alignment, instead
11374 of hardwiring it to 4.
11375
11376Wed Aug 14 23:43:28 1996 Geoffrey Noer <noer@cygnus.com>
11377
11378 * libc/stdio/fseek.c: add fflush call to adjust seek offset
11379 on append stream (fix from NetBSD sources), adjust curoff offset
11380 for ungetc's benefit.
11381 * libc/stdio/ftell.c: adjust curoff offset for ungetc's benefit.
11382 * libc/stdio/rewind.c: replace code with up to date NetBSD
11383 code to undo hacks made to work around above problem of not
11384 having fflush call mentioned above
11385
11386Fri Aug 2 18:28:07 1996 J.T. Conklin <jtc@rtl.cygnus.com>
11387
11388 * libc/reent/{closer.c, execr.c, fstatr.c, linkr.c, lseekr.c,
11389 openr.c, readr.c, sbrkr.c, signalr.c, statr.c, timer.c, writer.c}:
11390 Partially revert last changes. The thread specific errno is set
11391 iff if the underlying syscall fails and the global errno is not
11392 zero.
11393
11394Fri Jul 19 11:41:52 1996 J.T. Conklin <jtc@rtl.cygnus.com>
11395
11396 * libc/reent/filer.c: Removed files, all functions have split out
11397 into their own files.
11398 * libc/reent/{closer.c, lseekr.c, openr.c, readr.c, writer.c}:
11399 New files containing functions formally in filer.c
11400 * libc/reent/Makefile.in: Updated for above change.
11401
11402 * libc/reent/execr.c (_fork_r, _wait_r): Set errno if underlying
11403 syscall fails, not if errno is changed.
11404 * libc/reent/filer.c (_open_r, _close_r, _lseek_r, _read_r,
11405 _write_r): Likewise.
11406 * libc/reent/fstatr.c (_fstat_r): Likewise.
11407 * libc/reent/linkr.c (_link_r, _unlink_r): Likewise.
11408 * libc/reent/sbrkr.c (_sbrk_r): Likewise.
11409 * libc/reent/signalr.c (_kill_r): Likewise.
11410 * libc/reent/statr.c (_stat_r): Likewise.
11411 * libc/reent/timer.c (_gettimeofday_r): Likewise.
11412
11413 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, sbrkr.c,
11414 signalr.c, statr.c, timer.c} (errno): declare extern rather
11415 than as a common.
11416
11417 * libc/stdio/vfprintf.c (__sbprintf): Use the VFPRINTF macro
11418 instead of calling vfprintf so that i*printf will not require
11419 floating point support code.
11420
11421Mon Jul 15 16:50:59 1996 Doug Evans <dje@canuck.cygnus.com>
11422
11423 * libc/posix/execvp.c (execvp): Use posix_path_list_p to determine
11424 path delimiter.
11425 * libc/include/sys/unistd.h (_SC_PATH_RULES): Delete.
11426 (_PATH_RULES_{UNKNOWN,WIN32,POSIX}): Delete.
11427
11428Thu Jul 11 14:34:14 1996 Geoffrey Noer <noer@cygnus.com>
11429
11430 * libc/include/signal.h: _sig_func_ptr function takes an int
11431 * libc/include/sys/signal.h: sa_handler function takes an int
11432
11433Tue Jul 9 21:22:32 1996 Jeffrey A Law (law@cygnus.com)
11434
11435 * libc/include/machine/ieeefp.h: Simplify H8/S support.
11436 * libc/include/sys/config.h: Add missing H8/S conditional.
11437
11438Sun Jun 30 12:05:46 1996 Doug Evans <dje@canuck.cygnus.com>
11439
11440 * libc/include/sys/unistd.h (MAXPATHLEN): Add cygwin32 value.
11441
11442Wed Jun 26 09:57:54 1996 Jeffrey A Law (law@cygnus.com)
11443
11444 * libc/include/machine/setjmp.h: Handle H8/S.
11445 * libc/include/machine/ieeefp.h: Likewise.
11446 * libc/include/sys/config.h: Likewise.
11447 * libc/machine/h8300/{defines.h, memcpy.S, memset.S}: Likewise.
11448 * libc/machine/h8300/{reg_memcpy.S, reg_memset.S}: Likewise.
11449 * libc/machine/h8300/{strcmp.S, setjmp.S}: Likewise.
11450 * libc/sys/h8300hms/crt0.S: Likewise.
11451
11452Tue Jun 25 23:15:45 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
11453
11454 * Makefile.in (datadir): Set to $(prefix)/share.
11455 (oldincludedir, docdir): Removed.
11456 * doc/Makefile.in (datadir): Set to $(prefix)/share.
11457 (oldincludedir, docdir): Removed.
11458 * libc/Makefile.in (datadir): Set to $(prefix)/share.
11459 (oldincludedir, docdir): Removed.
11460 * libm/Makefile.in (datadir): Set to $(prefix)/share.
11461 (oldincludedir, docdir): Removed.
11462
11463Fri Jun 21 19:24:41 1996 Ian Lance Taylor <ian@cygnus.com>
11464
11465 * libc/include/sys/reent.h (_REENT_INIT): Update for change to
11466 _reent struct.
11467
11468Wed Jun 19 14:00:09 1996 Doug Evans <dje@canuck.cygnus.com>
11469
11470 * libc/posix/execvp.c: Delete _WIN32 support. For __CYGWIN32__
11471 fetch current path rules with sysconf and handler posix/win32
11472 appropriately.
11473
11474 * libc/include/sys/unistd.h (_PATH_RULES{,_POSIX,_WIN32}): Define.
11475
11476 * libc/include/process.h: Prepend '_' to P_{WAIT,NOWAIT,OVERLAY}.
11477 (WAIT_CHILD): Always define.
11478
11479Sat Jun 15 17:50:42 1996 Ian Lance Taylor <ian@cygnus.com>
11480
11481 * libc/stdlib/eprintf.c: New file.
11482 * libc/stdlib/Makefile.in (OFILES): Add eprintf.o.
11483 (eprintf.o): New target.
11484
11485Thu Jun 13 16:44:32 1996 Doug Evans <dje@canuck.cygnus.com>
11486
11487 * libc/sys/cygwin32/crt0.c (__cygwin_crt0_bp): New global.
11488 (mainCRTStartup): Do int3 if __cygwin_crt0_bp non-zero.
11489
11490Thu Jun 13 17:45:17 1996 Mike Meissner <meissner@rtl.cygnus.com>
11491
11492 * libc/include/machine/ieeefp.h: Add support for AIX and Windows
11493 NT in PowerPC endianess cases.
11494
11495Tue Jun 11 12:26:28 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11496
11497 * libc/include/machine/ieeefp.h: Clean up PowerPC endianess.
11498
11499Thu Jun 6 11:34:20 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11500
11501 * libc/string/strtok.c: Fix doc typo.
11502
11503Mon Jun 3 11:30:00 1996 J.T. Conklin <jtc@rtl.cygnus.com>
11504
11505 * libc/include/sys/reent.h (struct _reent): Removed _asctime,
11506 _next, _scanpoint, _signgam fields.
11507
11508 * libc/include/stdlib.h (rand_r): Added new declaration.
11509 (_rand_r, _srand_r): Removed declarations.
11510 * libc/stdlib/rand.c (_rand_r, _srand_r): Removed, these functions
11511 have been made obsolete by rand_r.
11512 * libc/stdlib/rand_r.c: New file, rand_r function as specified
11513 by POSIX.1c.
11514
11515 * libc/string/strtok.c: Update documentation to describe
11516 strtok_r().
11517
11518Sat Jun 1 23:50:39 1996 Michael Meissner <meissner@cygnus.com>
11519
11520 * libc/include/sys/stat.h (stat structure): Use the expanded stat
11521 structure on Solaris, and PowerPC systems even though __svr4__ is
11522 defined.
11523
11524Tue May 28 13:02:42 1996 Doug Evans <dje@canuck.cygnus.com>
11525
11526 * libc/sys/go32/sys/errno.h (ENOSYS,ESPIPE): Keep values <= 255.
11527
11528Fri May 17 10:34:44 1996 Ian Lance Taylor <ian@cygnus.com>
11529
11530 * host/any: Use ../.. rather than .. to get to the main build
11531 directory. This matches the current layout of the build
11532 directory.
11533
11534Wed May 15 15:52:27 1996 Jeffrey A Law (law@cygnus.com)
11535
11536 * libc/machine/h8300/__main.S: Delete. No longer needed.
11537 * libc/machine/h8300/Makefile.in: Corresponding changes.
11538 * libc/sys/h8300hms/crt1.c: New file.
11539 * libc/sys/h8300hms/Makefile.in: Corresponding changes.
11540 * libc/sys/h8300hms/crt0.s: Call __main.
11541
11542 * libc/sys/h8300hms/crt0.S: Use temporary label names
11543 for branch targets.
11544
11545Mon May 13 14:26:30 1996 Doug Evans <dje@canuck.cygnus.com>
11546
11547 * libc/stdio/fopen.c (_fopen_r): Fix arguments to fseek.
11548
11549Fri May 3 16:38:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11550
11551 * libc/reent/impure.c (_impure_ptr): Force the impure pointer into
11552 .sdata on the PowerPC so that we can link newlib with code
11553 compiled with -msdata.
11554
11555Mon Apr 29 21:38:02 1996 Doug Evans <dje@canuck.cygnus.com>
11556
11557 * libc/sys/arm/syscalls.c (_sbrk): Rename end to __end__.
11558
11559Thu Apr 25 06:38:59 1996 Michael Meissner <meissner@cygnus.com>
11560
11561 * libc/sys/cygwin32/crt0.c (mainCRTStartup): On PowerPC, set the
11562 exception handler to __cygwin_exception_handler.
11563
11564Tue Apr 23 15:14:20 1996 Ian Lance Taylor <ian@cygnus.com>
11565
11566 * libc/include/machine/setjmp.h: Check _AM29K, not ___AM29K__.
11567
11568Sun Apr 21 12:11:51 1996 Doug Evans <dje@blues.cygnus.com>
11569
11570 * libm/math/Makefile.in ({w,wf}_cabs.o,{w,wf}_drem.o): Add rule for
11571 SunOS VPATH.
11572 * libc/stdlib/Makefile.in (atoff.o,atol.o,mblen.o,mbstowcs.o,
11573 wcstombs.o): Likewise.
11574
11575Thu Apr 18 12:37:01 1996 Doug Evans <dje@canuck.cygnus.com>
11576
11577 * libc/stdlib/environ.c (initial_env): New static local.
11578 (environ): Point to `initial_env'.
11579
11580 * libc/include/machine/setjmp.h: Clean up.
11581 (__H8300H__,__PPC__): Define _JBTYPE.
11582 (__arm__): Provide entry for.
11583 (sigjmp_buf): Delete.
11584 (jmp_buf): Use _JBTYPE if defined, otherwise int.
11585
11586Thu Apr 18 12:10:52 1996 Jeffrey A Law (law@cygnus.com)
11587
11588 * libc/machine/h8300/strcmp.S: Sign extend the result to
11589 32bits so we don't lose with -mint32.
11590
11591Sun Apr 14 19:59:52 1996 Doug Evans <dje@canuck.cygnus.com>
11592
11593 * libc/sys/go32/sys/errno.h: New file.
11594 * libc/sys/go32/Makefile.in (stat.o): Depend on stat.c.
11595 * libc/sys/go32/gerrno.s (syscall_error): Call __errno to get
11596 errno's address (make compatible with rest of newlib).
11597 * libc/sys/go32/stat.c (fixinode): Set errno upon failure.
11598 * libc/string/strerror.c (strerror): Surround each case with #ifdef.
11599
11600Thu Mar 28 13:44:42 1996 Doug Evans <dje@canuck.cygnus.com>
11601
11602 * libc/machine/sparc/{scan.c,shuffle.c}: New files.
11603 * libc/machine/sparc/Makefile.in: Build them.
11604 * libc/machine/sparc/machine/sparclet.h: New file.
11605
11606Mon Mar 25 15:29:14 1996 J.T. Conklin <jtc@rtl.cygnus.com>
11607
11608 * libc/machine/sh/asm.h: New file.
11609 * libc/machine/sh/setjmp.S: Only save clobbered registers. Added
11610 support for SH3e's FP registers. Use asm.h.
11611
11612Mon Mar 25 11:59:23 1996 Jeffrey A Law (law@cygnus.com)
11613
11614 * libc/stdio/vfprintf.c (cvt): Accept a reent structure
11615 as first argument. Call _dtoa_r and pass the reent structure
11616 instead of calling __dtoa.
11617
11618Fri Mar 22 13:59:37 1996 Jeffrey A Law (law@cygnus.com)
11619
11620 * libc/include/sys/config.h: Define DOUBLE_IS_32BITS for
11621 the h8300, h8500, and others. Add comments for some rather
11622 dubious code.
11623
11624Thu Mar 14 18:04:43 1996 Ian Lance Taylor <ian@cygnus.com>
11625
11626 * Makefile.in (check): Check that testsuite exists before cd.
11627
11628Tue Mar 12 11:46:47 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11629
11630 * libc/include/string.h (strsep): Correct prototype.
11631
11632Mon Mar 11 09:55:19 1996 Doug Evans <dje@charmed.cygnus.com>
11633
11634 * libc/sys/h8300/_exit.c (_exit,__exit): Set r0 to 0 before `sleep'.
11635 * libc/sys/h8300/misc.c (_kill): Set r0 to indicate abort and `sleep'.
11636 * libc/sys/h8300/crt0.S (_start): Call exit instead of `sleep'.
11637
11638Wed Mar 6 11:51:55 1996 Doug Evans <dje@charmed.cygnus.com>
11639
11640 * libc/posix/{creat.c,isatty.c}: New files.
11641 * libc/posix/Makefile.in (OFILES): Add creat.o, isatty.o.
11642
11643 * libc/sys/sparc64/crt0.S (environ): Delete.
11644 (.LHaveBias): Renamed from HaveBias.
11645
11646Thu Feb 15 10:48:37 1996 Doug Evans <dje@charmed.cygnus.com>
11647
11648 * libc/stdlib/mallocr.c (etext): Move decl inside ifdef WARN_VLIMIT.
11649 (_morecore_r): Delete SBRK_IS_ALLOC support.
11650
11651Tue Feb 13 09:44:09 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11652
11653 * libc/sys/cygwin32/Makefile.in (lib.a): Make lib.a with a dummy
11654 module rather than touch, so we don't get warning messages when
11655 all of the libraries are combined into libc.a.
11656
11657Tue Feb 13 06:32:07 1996 Doug Evans <dje@charmed.cygnus.com>
11658
11659 * libc/sys/sparclite/{Makefile.in,crt0.s}: Deleted.
11660 crt0.s replaced by version in libgloss.
11661
11662Mon Feb 5 15:17:51 1996 J.T. Conklin <jtc@rtl.cygnus.com>
11663
11664 * libc/reent/Makefile.in (OFILES): Add impure.o.
11665 * libc/reent/impure.o: New file, define initial reentrancy struct.
11666 * libc/reent/reent.c: Remove above definition.
11667
11668 * libm/math/sf_asinh.c: Fix typo.
11669
11670 * Makefile.in (MATHOBJS_IN_LIBC): Removed sr_ldexp.o and
11671 srf_ldexp.o.
11672
11673 * libm/libm.texinfo: Change documentation to reflect changes
11674 in reentrancy model.
11675 * libm/math/w_gamma.c: Likewise.
11676
11677Wed Jan 31 18:49:45 1996 Steve Chamberlain <sac@slash.cygnus.com>
11678
11679 * configure.in (*-*-cygwin32): New.
11680 (*-*-win32): Deleted.
11681 * libc/sys/win32 renamed libc/sys/cygwin32.
11682
11683Tue Jan 30 22:09:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11684
11685 * libc/include/sys/file.h: New include file.
11686
11687Fri Jan 26 15:52:54 1996 Steve Chamberlain <sac@slash.cygnus.com>
11688
11689 * libc/include/machine/setjmp.h: Increase size of PPC jmp_buf.
11690
11691Tue Jan 23 17:49:16 1996 Steve Chamberlain <sac@slash.cygnus.com>
11692
11693 * libc/include/sys/wait.h (WIFSIGNALED): Fix.
11694
11695Tue Jan 16 09:28:10 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11696
11697 * doc/makedoc.c (realloc): Declare at file scope.
11698 (catchar): Not here.
11699
11700Wed Dec 27 15:45:23 1995 Doug Evans <dje@canuck.cygnus.com>
11701
11702 * Makefile.in (VERSION): Update to 1.7.0.
11703 * {libc,libm}/Makefile.in (VERSION): Likewise.
11704 * configure.in: Minor clean up of multilib stuff.
11705
11706 From David Johnson <davidj@ICSI.Berkeley.EDU>
11707 * {libc,libm}/Makefile.in (lib[cm].a): Delete library first.
11708
11709 * libc/stdlib/environ.c: New file.
11710 * libc/stdlib/Makefile.in (OFILES): Build it.
11711 * libc/sys/h8500hms/crt0.c (environ): Deleted.
11712 * libc/sys/m88kbug/crt0.c (environ): Deleted.
11713 * libc/sys/z8ksim/crt0.c (environ): Deleted.
11714 * libc/sys/netware/environ.c: Deleted.
11715
11716Tue Dec 19 15:24:46 1995 Kim Knuttila <krk@cygnus.com>
11717
11718 * configure.in (links): set sys_dir, posix_dir, syscall_dir
11719
11720Wed Dec 13 04:16:25 1995 Michael Meissner <meissner@wogglebug.tiac.net>
11721
11722 * doc/makedoc.c (init_string_with_size,nextword): Move malloc
11723 declaration out to external scope and declare it PTR, not char *.
11724
11725Mon Dec 11 17:35:12 1995 steve chamberlain <sac@slash.cygnus.com>
11726
11727 * libc/include/sys/unistd.h (getpagesize): New declaration.
11728 (_SC_PAGESIZE): New definition.
11729 * libc/include/time.h (CLK_TCK): Defined as CLOCKS_PER_SEC.
11730 * libc/configure.in (i[345]86-*-win32): Remove -DNO_FORK.
11731
11732Fri Dec 1 16:48:46 1995 James G. Smith <jsmith@cygnus.co.uk>
11733
11734 * libc/sys/vr4300/syscalls.c (sbrk): Fixed memory
11735 addressing. System call returns size, not (last address + 1).
11736
11737Thu Nov 30 15:05:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11738
11739 * libm/math/*.c: Removed _foo_r() reentrancy API.
11740 * libc/include/math.h: Removed _foo_r prototypes and macros.
11741
11742 * libm/math/*.c: On systems with IEEE single precision "doubles"
11743 move foo() -> foof() wrapper code from the files that implement
11744 the standard IEEE double precision functions to the files that
11745 implement IEEE single precision functions. (ie. On those systems
11746 sin is moved from s_sin.c to sf_sin.c). There should eventually
11747 be use of a C extension (like gcc's alias attribute) so that the
11748 wrappers are not needed at all.
11749
11750 * libc/sys/sysnec810/sbrk.c: Cast &end to char * to get around
11751 strict NEC V810 compiler.
11752 * libc/misc/dprintf.c (getnumber): Cast char * to unsigned char *
11753 for same reason.
11754
11755Wed Nov 29 14:25:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11756
11757 * libc/stdlib/strtol.c (_strtol_r): Replaced with implementation
11758 from NetBSD C library.
11759 * libc/stdlib/strtoul.c (_strtoul_r): Likewise.
11760
11761 * libc/stdlib/assert.c (__assert): Renamed from __assertfail
11762 and adapted from implementation I wrote for NetBSD C library.
11763 The difference is __assert doesn't take a format argument,
11764 so that there won't be multiple copies of the same string
11765 constant in the executable if assertions are enabled in
11766 more than one source module.
11767 * libc/include/assert.h (assert): Changed to call __assert.
11768
11769Tue Nov 28 16:54:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11770
11771 * libc/stdlib/strtod.c (_strtod_r): Changed to not assign to
11772 word1 on systems with 32 bit doubles.
11773 * libc/stdlib/qsort.c (qsort): Cast some void *'s to char *'s
11774 so that we can do arithmetic on them.
11775 * libc/misc/dprintf.c: Changed to support stdarg.h for ANSI
11776 compilers.
11777
11778Tue Nov 28 16:03:32 1995 Doug Evans <dje@canuck.cygnus.com>
11779
11780 * libc/sys/arm/crt0.S: Zero bss.
11781
11782Fri Nov 24 16:09:23 1995 Doug Evans <dje@deneb.cygnus.com>
11783
11784 * libc/include/unctrl.h: New file.
11785 * libc/misc/{Makefile.in,dprintf.c,unctrl.c,misc.tex}: New files.
11786 * configure.in (subdirs): Add libc/misc.
11787 * libc/Makefile.in (SUBDIRS): Add misc.
11788 (SUBLIBS): Add misc/lib.a.
11789
11790 * libc/include/sys/reent.h (struct _reent): Make __sf last member.
11791
11792Wed Nov 22 19:49:47 1995 Doug Evans <dje@deneb.cygnus.com>
11793
11794 * libc/stdio/vfprintf.c (__sbprintf): Init fake._data.
11795 (_vfprintf_r): Call CHECK_INIT.
11796
11797Tue Nov 14 02:52:12 1995 Doug Evans <dje@canuck.cygnus.com>
11798
11799 * Makefile.in (MULTITOP): Delete.
11800 (MULTISRCTOP, MULTIBUILDTOP): Add.
11801 * configure.in: Delete call to cfg-ml-com.in. Call config-ml.in
11802 instead of cfg-ml-pos.in.
11803
11804Wed Nov 8 01:24:08 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
11805
11806 * libc/sys/vr4300/syscalls.c: Added clean version of sbrk().
11807 * libc/sys/vr4300/crt0.S: Cleaned up. Added check for FPU
11808 presence.
11809
11810Thu Nov 2 22:25:06 1995 Michael Meissner <meissner@tiktok.cygnus.com>
11811
11812 * libc/string/strtok.c: Include string.h to pick up strtok_r
11813 prototype.
11814
11815Wed Nov 1 18:54:11 1995 Jason Molenda (crash@phydeaux.cygnus.com)
11816
11817 * libc/string/strtok.c: include <_ansi.h>.
11818 * libc/time/asctime_r.c: `reresult' -> `result'.
11819
11820Wed Nov 1 14:35:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11821
11822 * libc/time/{ctime.c, gmtime.c, lcltime.c}: Wrap functions
11823 in #ifndef _REENT_ONLY ... #endif conditional.
11824
11825 * libc/include/string.h (_strtok_r): Remove declaration.
11826 * libc/include/time.h (_asctime_r): Remove declaration.
11827 * libc/string/strtok.c (_strtok_r): Removed.
11828 * libc/time/asctime.c (_asctime_r): Removed.
11829
11830 * libc/string/Makefile.in (OFILES): Add new object.
11831 * libc/string/strtok_r.c: New file. strtok_r function as
11832 specified by POSIX.1c, adapted from strtok implementation
11833 from NetBSD C library.
11834 * libc/string/strtok.c (strtok): Reimplemented in terms of
11835 strtok_r.
11836
11837 * libc/time/Makefile.in (OFILES): Add new objects.
11838 * libc/time/{asctime_r.c, ctime_r.c, gmtime_r.c, lcltime_r.c}:
11839 New files, reentrant time functions specified by POSIX.1c.
11840 * libc/time/{asctime.c, ctime.c, gmtime.c, lcltime.c}: Non-
11841 reentrant time functions re-written in terms of reentrant
11842 functions.
11843 * libc/time/lcltime.c: Renamed from localtime.c
11844
11845 * libc/include/time.h: Add prototypes for asctime_r, ctime_r,
11846 gmtime_r, and localtime_r.
11847
11848Sat Oct 28 14:34:31 1995 steve chamberlain <sac@slash.cygnus.com>
11849
11850 * libc/sys/win32/crt0.c (mainCRTStartup): Call cygwin_crt0.
11851 * libc/include/sys/unistd.h (getlogin): Revert change of
11852 Oct 19.
11853 * libc/include/sys/signal.h (sigprocmask): Change prototype
11854 so it compiles with c++.
11855
11856Wed Oct 25 15:43:18 1995 Michael Meissner <meissner@cygnus.com>
11857
11858 * libc/include/machine/setjmp.h (PowerPC _JBLEN): Consider it a
11859 PowerPC if __PPC__ is defined. Bump jump_buf length to 62 ints,
11860 to give some room in case we need to align the jmp_buf.
11861
11862 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Rewrite to use
11863 the new ppc-asm.h include file the compiler provides to specify
11864 function prologue/epilogue. Eliminate saves of the xer and ctr
11865 registers, which are volatile. Before starting to save registers,
11866 align to 8 byte boundary.
11867
11868Mon Oct 23 11:20:51 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
11869
11870 * libc/sys/vr4300/syscalls.c: Added empty kill() function,
11871 referenced by standard libraries.
11872
11873Thu Oct 19 21:39:47 1995 Fred Fish <fnf@cygnus.com>
11874
11875 * libc/unix/Makefile.in, libc/string/Makefile.in,
11876 libc/stdio/Makefile.in, libc/reent/Makefile.in,
11877 libc/posix/Makefile.in:
11878 Remove tabs from otherwise empty line. Confuses some
11879 older non-GNU versions of "make".
11880
11881Thu Oct 19 16:32:17 1995 steve chamberlain <sac@slash.cygnus.com>
11882
11883 * libc/sys/unistd.h (getlogin): Returns const char *.
11884
11885Wed Oct 18 12:57:50 1995 steve chamberlain <sac@slash.cygnus.com>
11886
11887 * libc/include/fcntl.h (O_BINARY, O_TEXT): New.
11888 * libc/include/errno.h: Moved into and include...
11889 * libc/include/sys/errno.h: New file.
11890 * libc/include/sys/wait.h: New file.
11891 * libc/stdio/rename.c (_rename_r): Use _rename system call if available.
11892 * libc/sys/win32/*: Moved out.
11893 * libc/sys/win32/crt0.c: Rewritten to cope with shared library.
11894 * configure.in (i[345]86-*-win32): HAVE_RENAME
11895
11896Wed Oct 18 09:58:27 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
11897
11898 * libc/unix/sigset.c (sigemptyset, sigaddset): Prefix #undef to
11899 avoid macro expansion for these two names.
11900
11901Tue Oct 17 08:45:33 1995 Doug Evans <dje@canuck.cygnus.com>
11902
11903 * libc/machine/h8500/psi.S: r6 renamed to fp.
11904
11905Sun Oct 15 12:58:10 1995 Michael Meissner <meissner@wogglebug.tiac.net>
11906
11907 * configure.in (powerpc*): No longer need to define
11908 NO_LONGLONG_POINTERS to supress warnings.
11909
11910Sat Oct 14 12:55:08 1995 Jim Wilson <wilson@chestnut.cygnus.com>
11911
11912 * libc/reent/reent.c (_reclaim_reent): Call cleanup indirectly
11913 through PTR instead of directly.
11914
11915 * libc/sys/sh/crt0.S: Clean up formatting. Delete unused
11916 non-standard constructor support.
11917
11918Thu Oct 12 11:39:42 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11919
11920 * libc/stdlib/dtoa.c (_dtoa_r): Set result pointer to the
11921 address of the Bigint instead of the address of its _x field,
11922 as the size the result buffer was calculated accordingly.
11923 Fix from Jim Wilson <wilson@chestnut@cygnus.com>.
11924
11925 * libc/stdlib/{div.c, ldiv.c}: Replaced with implementation
11926 from NetBSD C library. No longer special cases division by
11927 zero (which needs to be done by the application anyway), but
11928 it doesn't need to call abs() (or labs()) four times either.
11929
11930 * libc/stdlib/qsort.c: Replaced with implementation from
11931 NetBSD C library.
11932
11933Tue Oct 10 14:01:10 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11934
11935 * libc/stdio/vfprintf.c: Replaced with implementation from
11936 NetBSD C library (which is derived from the 4.4BSD C library).
11937 * libc/stdio/cvt.c: Removed.
11938 * libc/stdio/Makefile: Updated.
11939
11940Tue Oct 10 12:15:23 1995 steve chamberlain <sac@slash.cygnus.com>
11941
11942 * libc/sys/win32/syscalls.c (rename): New.
11943 * libc/sys/win32/include/winkernel.h (MoveFileExA): New.
11944
11945Fri Oct 6 12:18:43 1995 Jim Wilson <wilson@chestnut.cygnus.com>
11946
11947 * libc/machine/sh/Makefile.in (setjmp.o): Depend on setjmp.S.
11948 * libc/machine/sh/setjmp.S: Rename from setjmp.s.
11949
11950 * libc/sys/sh/Makefile.in (OFILES, all): Delete setjmp.o.
11951 (setjmp.o): Delete rule to build setjmp.o.
11952 * libc/sys/sh/setjmp.S: Delete file.
11953
11954Fri Oct 6 11:19:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11955
11956 * libc/stdlib/mprec.c (d2b): Added support for _DOUBLE_IS_32BITS.
11957 * libc/stdlib/mprec.h: Fixed constants used for IEEE single float
11958 format. Added #defines to map d2b, i2b, low0bits, lshift, mult,
11959 pow5mult and s2b to identifiers with leading underscores.
11960 * libc/stdlib/Makefile.in: Add mprec.h as a dependency to dtoa.o,
11961 ecvtbuf.o, mprec.o and strtod.o. Sort dependencies.
11962
11963Thu Oct 5 17:27:30 1995 steve chamberlain <sac@slash.cygnus.com>
11964
11965 * libc/sys/posix/popen.c (sys/types.h): Include.
11966
11967Thu Oct 5 16:33:01 1995 Doug Evans <dje@canuck.cygnus.com>
11968
11969 * libc/sys/win32/syscalls.h (fhandler): New struct.
11970 (__lookup_fhandler, __lookup_fhandler_hook): Declare.
11971 (__fhandler_normal): Declare.
11972 (hinfo): New member op_handlers.
11973 * libc/sys/win32/syscalls.c (__read): Don't validate fd.
11974 (__write): Likewise.
11975 (_read, _write, _open, _close, _lseek): Validate fd here.
11976 Move file type specific stuff to foo_normal.
11977 (read_normal, write_normal, open_normal, close_normal, lseek_normal):
11978 New functions.
11979 (__lookup_fhandler): New function.
11980 (__lookup_fhandler_hook, __fhandler_normal): New variables.
11981
11982 From anders.blomdell@control.lth.se (Anders Blomdell)
11983 * libc/sys/win32/crt0.c (vfork_init): Unset __FD_TABLE__.
11984 Don't touch standard handles.
11985 * libc/sys/win32/spawn.c (_spawn): Use STARTF_USESTDHANDLES.
11986 (_execve): Only create __FD_TABLE__ if necessary.
11987 * libc/sys/win32/include/winkernel.h (STARTF_*): Define.
11988
11989Thu Oct 5 14:25:14 1995 steve chamberlain <sac@slash.cygnus.com>
11990
11991 * libc/sys/win32/sys/termios.h (FLUSHO): New.
11992 * libc/sys/win32/include/win*.h: Moved a load of prototypes around.
11993 * libc/sys/win32/pipe.c (_fctnl): Ignore F_SETFL without errors.
11994 * libc/sys/win32/exception.c (ehandler3): set strace when a signal
11995 without a handler is received.
11996 * libc/sys/win32/Makefile.in: Remove --nodelete.
11997 * libc/sys/win32/resouce.c (gettimeofday): New.
11998 * libc/sys/win32/syscalls.c (path_to_real_path): New.
11999 * libc/sys/win32/syscalls.h (include/wincon.h): Don't include.
12000
12001Wed Oct 4 13:10:35 1995 Doug Evans <dje@canuck.cygnus.com>
12002
12003 * libc/sys/win32/dirsearch.c (opendir): stat real path name.
12004 Don't append "/*" to search pattern if trailing '/' already there,
12005 append "*".
12006 * libc/sys/win32/spawn.c (_spawn): CreateProcess doesn't seem to
12007 like /'s, convert them to \'s. Handle //<drive>/ path names.
12008 Add space for quoted \'s in arg string. Print translated prog name
12009 and original prog name.
12010 (_execve): Handle parent doing exec a teensy bit better.
12011 * libc/sys/win32/syscalls.h (__path_to_real_path): Update prototype.
12012 * libc/sys/win32/syscalls.c (__path_to_real_path): Don't assume
12013 path needs conversion, handle both cases. Delete `const' from result.
12014 (hash_path_name): New function.
12015 (_open): Call it.
12016 (_stat): Likewise. Fill in more fields for directories.
12017 * libc/sys/win32/wait.c (_wait): Explicitly pass -1 to waitpid.
12018 (wait_for_any): Fix trace message.
12019 (waitpid): Explicitly test for intpid == 0.
12020
12021 From anders.blomdell@control.lth.se (Anders Blomdell)
12022 * libc/sys/win32/spawn.c (__vfork_get_empty_entry): zero fill result
12023 so `next' is valid.
12024
12025Sat Sep 30 15:00:15 1995 Jason Molenda (crash@phyeaux.cygnus.com)
12026
12027 * libc/sys/win32/spawn.c (_spawn): Make quoting rules more
12028 complicated.
12029
12030Sat Sep 30 10:25:57 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12031
12032 * libc/include/_ansi.h: set _HAVE_STDC if __STDC__ is defined
12033 at all, not just == 1.
12034 * libm/math/wf_acos.c (acosf): check for _HAVE_STDC, not __STDC__.
12035
12036Sat Sep 30 04:30:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12037
12038 * libc/sys/win32/include/winbase.h: include <wintypes.h> and <winnt.h>
12039 * libc/sys/win32/include/wintypes.h: include <winnt.h>
12040 * libc/sys/win32/include/winnt.h: avoid multiple inclusion of this
12041 file.
12042
12043Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
12044
12045 * libc/sys/syscalls.c (getcwd): Fix off by one error.
12046
12047 * libc/sys/signal.c (sleep): Fill it in.
12048 * libc/sys/termios.c (tcflush): Use PurgeComm
12049 (tcsetattr): Set some more of the bits.
12050 * libc/sys/include/winkernel.h: Add PurgeComm and Sleep.
12051
12052Fri Sep 29 04:33:53 1995 Doug Evans <dje@deneb.cygnus.com>
12053
12054 * libc/sys/arm/crt0.S (fp): Initialize to 0.
12055 Conditionally include .idata$3 stuff ifdef __pe__.
12056
12057Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
12058
12059 * libc/sys/win32/crt0.c (hmap_init): Call __init_hinfo.
12060 * libc/sys/win32/pipe.c (pipe): Ditto.
12061 * libc/sys/win32/syscalls.c (__read): Use new vtime and vmin fields.
12062 * libc/sys/win32/syscalls.h (hinfo): vtime, vmin are new.
12063 * libc/sys/win32/termios.c (tcsetattr): Init new fields.
12064 (tcgetattr): Contents are new.
12065 * libc/sys/win32/include/winkernel.h (DCB): New.
12066 (GetCommState, SetCommState): New.
12067
12068Thu Sep 28 16:29:09 1995 Doug Evans <dje@deneb.cygnus.com>
12069
12070 * libc/sys/arm/crt0.S (_start): Define.
12071
12072Thu Sep 28 12:26:45 1995 steve chamberlain <sac@slash.cygnus.com>
12073
12074 * libc/sys/arm/crt0.S: Move stack to top of RAM on PIE board.
12075 * libc/sys/arm/syscalls.c (_read, _write): Use the SWI properly.
12076
12077 * libc/sys/win32/sysconf.c: New
12078 * libc/sys/win32/sys/winadvapi.h: New
12079 * libc/sys/win32/syscalls.h (hinfo): Added timeout_len, w_binary, r_binary.
12080 * libc/sys/win32/crt0.c (hmap_init): Initialize new fields.
12081 * libc/sys/win32/pipe.c (pipe): Ditto.
12082 * libc/sys/win32/signal.c (_raise): New.
12083 (_kill): Moved from spawn.c
12084 * libc/sys/win32/spawn.c (kill): Moved to signal.c
12085 * libc/sys/win32/syscalls.c (__read): Use new fields.
12086 (_open): Ditto.
12087 * libc/sys/win32/termios.c (tcflush, tcsetattr, tcgetattr): Fill in.
12088 * libc/sys/win32/exceptions.c (__stack_trace): Keep going for longer.
12089 * libc/include/sys/unistd.h (rmdir): Takes const path.
12090 * libc/include/sys/stat.h (mkdir): Takes const path.
12091 * libc/include/sys/signal.h (SIGTTOU, SIGTTIN): New for win32.
12092
12093Thu Sep 28 10:11:27 1995 Doug Evans <dje@canuck.cygnus.com>
12094
12095 * libc/sys/win32/spawn.c (_spawn): Fix quoting.
12096
12097 Add support for specifying paths as //<drive>/foo/bar.
12098 * libc/sys/win32/syscalls.h (__path_needs_conversion_p): Declare.
12099 (__path_to_real_path): Declare.
12100 (PATH_TO_REAL_PATH): New macro.
12101 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): Minor cleanup.
12102 (__path_needs_conversion_p, __path_to_real_path): New functions.
12103 (_open): Fix test for error return from CreateFileA.
12104 Handle new path syntax.
12105 (_link, mkdir, rmdir, getcwd, chdir, stat): Handle new path syntax.
12106 * libc/sys/win32/dirsearch.c (opendir): Likewise.
12107
12108Wed Sep 27 16:36:46 1995 steve chamberlain <sac@slash.cygnus.com>
12109
12110 * libc/sys/win32/include/*.h: Reorganized
12111 * libc/sys/win32/include/WINREADME: New.
12112 * libc/sys/win32/Makefile.in (DLLS): Build version.a.
12113 * libc/sys/win32/*.c: Fix for new include scheme.
12114 * libc/sys/win32/crt0.c (__this_uinfo_buf, __this_uinfo): New.
12115 * libc/sys/win32/getlogin.c (getlogin): Use uinfo.
12116 * libc/sys/win32/passwd.c (*): Fix.
12117 * libc/sys/win32/syscalls.c (get[e|][g|u]id): Use passwd info.
12118 (_stat): Get directory owner and permissions right.
12119 * libc/sys/win32/syscalls.h (uinfo): New.
12120 * libc/sys/win32/version.def: Remove leading underscores.
12121
12122Tue Sep 26 18:18:47 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12123
12124 * libc/sys/win32/key.c: include "include/wincon.h".
12125
12126Tue Sep 26 07:21:48 1995 steve chamberlain <sac@slash.cygnus.com>
12127
12128 * libc/sys/win32/{key, stubs}.c: New.
12129 * libc/sys/win32/Makefile: Adjust to cope.
12130 * libc/sys/win32/crt0.c (vfork_init_first): Cope with -ve pids.
12131 (environ_init): Change env names to upper case.
12132 * libc/sys/win32/dirsearch.c (readdir): Don't fill in inode number.
12133 * libc/sys/win32/passwd.c (*): Fill in the functions.
12134 * libc/sys/win32/pipe.c (_fcntl): F_GETFL returns O_RDWR.
12135 * libc/sys/win32/spawn.c (_spawn): Cope with -ve pids.
12136 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): New function.
12137 (_open): Initialze hmap->execable_p too.
12138 * libc/sys/win32/syscalls.c (getuid, getgid, geteuid, getegid): Return from macros.
12139 (_fstat): Fill in permissions.
12140 * libc/sys/win32/syscalls.h (hinfo): Add execable_p.
12141
12142Fri Sep 22 13:47:27 1995 Doug Evans <dje@canuck.cygnus.com>
12143
12144 * configure.in (cfg-ml-com.in invocation): Use ${with_multilib_top}
12145 if defined.
12146 (cfg-ml-pos.in invocation): Likewise.
12147
12148Fri Sep 22 11:43:44 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12149
12150 * Makefile.in (MATHOBJS_IN_LIBC): Added s_isinf.o, sf_isinf.o,
12151 s_isnan.o and sf_isnan.o.
12152
12153Wed Sep 20 14:50:19 1995 Ian Lance Taylor <ian@cygnus.com>
12154
12155 * All Makefile.in files: added maintainer-clean target as a
12156 synonym for realclean.
12157
12158Wed Sep 20 11:02:50 1995 Jeff Law (law@snake.cs.utah.edu)
12159
12160 * libc/include/machine/setjmp.h: Add hppa support.
12161 * libc/machine/hppa/setjmp.S: New file with setjmp/longjmp
12162 support.
12163 * libc/machine/hppa/Makefile.in: Related changes.
12164
12165Tue Sep 19 12:09:01 1995 J.T. Conklin <jtc@blues.cygnus.com>
12166
12167 * configure.in (machine_dir): Don't set for v810-*-*.
12168
12169Fri Sep 15 20:22:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12170
12171 * libc/sys/win32/crt0.c (passover): Change to handle MKS quoting
12172 conventions correctly.
12173
12174Thu Sep 14 13:37:22 1995 J.T. Conklin <jtc@blues.cygnus.com>
12175
12176 * libc/stdio/puts.c: Update documentation of return value to match
12177 ANSI standard.
12178
12179Thu Sep 14 01:52:37 1995 Doug Evans <dje@canuck.cygnus.com>
12180
12181 Fix file descriptor inheritance.
12182 * libc/sys/win32/syscalls.h (CHILD_P): Define again.
12183 (NOT_OPEN_FD): Fix.
12184 * libc/sys/win32/spawn.c (vfork0): Only create inheritable handle if
12185 close-on-exec flag not set. Initialize child's entire fd table.
12186 * libc/sys/win32/syscalls.c (_open): Only create inheritable handle if
12187 CHILD_P.
12188 * libc/sys/win32/pipe.c (pipe): Only create new handle as inheritable
12189 if CHILD_P. Initialize entire hmap entry.
12190 (dup): Only create new handle as inheritable if CHILD_P.
12191 (dup2): Likewise. Properly initialize hmap entry.
12192
12193 * libc/sys/win32/spawn.c (_execve): Don't pass _P_SEARCH_PATH to
12194 _spawn.
12195 (_exit): Use CHILD_P.
12196 * libc/sys/win32/syscalls.c (_fstat): Fix call to memset.
12197 (_stat): Likewise.
12198
12199Mon Sep 11 23:09:39 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12200
12201 * libc/sys/win32/crt0.c (passover): fix up the state table.
12202 * libc/posix/popen.c: Added.
12203 * libc/posix/Makefile.in: compile popen.c.
12204
12205Mon Sep 11 11:43:38 1995 J.T. Conklin <jtc@cygnus.com>
12206
12207 * libc/include/machine/ieeefp.h: On the h8/300, h8/300h and
12208 h8/500 define _DOUBLE_IS_32BITS.
12209
12210Sat Sep 9 17:55:54 1995 Doug Evans <dje@canuck.cygnus.com>
12211
12212 Get vfork/exec/spawn/cwait/wait working again.
12213 * libc/sys/win32/syscalls.h (VFORK_NEWBORN_PSEUDO_PID): Define.
12214 (procinfo): New member vfork_level.
12215 * libc/sys/win32/crt0.c (__vfork_next_pid): Delete.
12216 (vfork_init_first): Use GetCurrentProcessId to get pid.
12217 Initialize vfork_level.
12218 (vfork_init): Delete __PID__.
12219 (environ_init): New function. Undo patch of Aug 19, Posix says
12220 environment variables are case sensitive.
12221 (mainCRTStartup): Call it.
12222 * libc/sys/win32/spawn.c (__vfork_next_pid): Delete.
12223 (my_longjump: Make static.
12224 (_spawn): New argument `h'. Delete setting of __PID__.
12225 Delete local `idx'. Look for chars that need quotes, rather than
12226 ones that don't. Set handle of created process in `h'.
12227 Result is process id if created task.
12228 (allocate_spawn_entry): New function.
12229 (spawnvp, spawnv): Call it. Store handle and pid in procinfo entry.
12230 (_execve): Set __FD_TABLE__ before spawning child.
12231 Scan our fd table when passing fds, not our parent's.
12232 Store handle and pid in procinfo entry.
12233 (vfork0): Ensure strace message always printed.
12234 Set child pid to VFORK_NEWBORN_PSEUDO_PID.
12235 (vfork): Don't clobber result of vfork0.
12236 * libc/sys/win32/wait.c (cwait): Fix non-error result (is pid).
12237 (wait_for_any): Ignore processes in state FORK_STATE_VFORK_0.
12238
12239 * libc/sys/win32/syscalls.h (procinfo): New members `handle_valid_p'
12240 and `exit_code'.
12241 * libc/sys/win32/spawn.c (allocate_spawn_entry): Initialize them.
12242 (vfork0): Likewise. Distinguish children, grandchildren, etc. by
12243 adding vfork level to pseudo-pid.
12244 (vfork1): If not root, set state back to FORK_STATE_VFORK_0.
12245 (spawnvp, spawnv, _execve): Set handle_valid_p if success.
12246 (_exit): If child, set exit code.
12247 (__vfork_record_death): Only close process handle if valid.
12248 * libc/sys/win32/wait.c (wait_for_single): Watch for children that
12249 didn't exec.
12250 (wait_for_any): Likewise. Start scan after root entry.
12251
12252Fri Sep 8 18:48:02 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12253
12254 * libc/include/sys/types.h (off_t): off_t back to 32 bits.
12255 * libc/include/sys/_types.h (_off_t): _off_t back to 32 bits.
12256 * libc/sys/win32/syscalls.c (_fstat): st_size is lower 32-bits
12257 of actual file length.
12258
12259 * libc/sys/win32/sys/wait.h: include <sys/types.h>.
12260 * libc/include/paths.h: _PATH_BSHELL added.
12261 * libc/include/sys/unistd.h: define STDIN_FILENO, STDOUT_FILENO,
12262 and STDERR_FILENO.
12263
12264Thu Sep 7 21:02:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12265
12266 * libc/include/ar.h: Added.
12267 * libc/include/sys/types.h: ino_t goes back to 32-bits.
12268 * libc/sys/win32/syscalls.h (hinfo): added .namehash field.
12269 * libc/sys/win32/syscalls.c (_open): compute .namehash based
12270 on filename.
12271 (_fstat): use .namehash for inode number of the fd.
12272
12273Thu Sep 7 12:57:19 1995 steve chamberlain <sac@slash.cygnus.com>
12274
12275 * libc/sys/win32/{console,ioctl,pipe,spawn,syscalls,wait}.? (*):
12276 Change hinfo to __this_procinfo.
12277 * libc/sys/win32/crt0.c: Remove procinfo_list.
12278
12279Wed Sep 6 18:38:26 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12280
12281 * libc/include/sys/types.h (ino_t): Define ino_t correctly for
12282 win32 environment.
12283
12284Wed Sep 6 18:09:29 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12285
12286 * libc/sys/win32/include/grp.h: Removed.
12287 * libc/sys/include/grp.h: Added.
12288 * libc/sys/win32/grp.c: Include <grp.h>.
12289
12290Wed Sep 6 16:52:48 1995 steve chamberlain <sac@slash.cygnus.com>
12291
12292 * libc/include/sys/signal.h (__need_MAX_SIGNALS): Removed.
12293 (sigset_t, sigaction, SIG_SETMASK, SIG_BLOCK, SIG_UNBLOCK):
12294 Defined for all but strict ANSI.
12295 * libc/include/sys/reent.h (__need_MAX_SIGNALS): Removed.
12296 * libc/include/machine/setjmp.h: Get win32 _JBLEN right.
12297 * libc/signal/signal.c (_signal_r): Changed from using
12298 _MAX_SIGNALS to NSIG.
12299 * libc/sys/win32/crt0.c (__current_pid, __parent_hmap, __child_hmap,
12300 __hmap): Deleted.
12301 (__strace, __vfork_next_pid): New.
12302 (__exe_suffix): Default to 1.
12303 (passover, table): Understand quoted arguments.
12304 (vfork_init_first): New.
12305 (vfork_init): Initialize new process structure.
12306 (mainCRTStartup): Pass environ to main.
12307 * exceptions.c (__sig_mask): New
12308 (ehandler3): Ignore signals in mask.
12309 (really_exit): Remove CHILD_P test.
12310 * pipe.c (pipe, dup, dup2): Use new process and file structure.
12311 * resource.c (getrusage): Ditto.
12312 * signal.c (sigprocmask): New.
12313 * spawn.c (*): Rewritten.
12314 * syscalls.c (*): Use new process and file structure.
12315 (find_unused_handle): New.
12316 * syscalls.h (MAX_HANDLES): Deleted.
12317 (hinfo): Removed child_created_p.
12318 (MAX_CHILDREN): Deleted.
12319 (vfork_jmp_info, procinfo): New.
12320 * wait.c (*): Mostly new.
12321 * sys/strace.h (_STRACE_PARANOID): New.
12322 * sys/param.h: New file.
12323
12324Wed Sep 6 17:03:53 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12325
12326 * libc/include/sys/stat.h: add S_BLKSIZE.
12327 * libc/include/sys/_types.h: _off_t is a 64-bit type under win32.
12328 * libc/include/sys/types.h: define off_t and ino_t to be 64 bit
12329 types under win32.
12330 (mode_t): add a #else to avoid multiple definitons.
12331
12332 * libc/sys/win32/Makefile.in: add grp.c.
12333 * libc/sys/win32/grp.c: include grp.h correctly.
12334 * libc/sys/win32/syscalls.c (_fstat): set almost all of the fields
12335 of the st structure with real information.
12336 * libc/sys/win32 (dirent): d_ino is of type ino_t.
12337
12338Wed Sep 6 10:41:34 1995 Doug Evans <dje@canuck.cygnus.com>
12339
12340 * libc/include/sys/types.h (mode_t): Correct for svr4 sparc's
12341 and (maybe) sparc64.
12342 (nlink_t): Provide typedef.
12343
12344Tue Sep 5 18:46:05 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12345
12346 * libc/sys/win32/grp.c: New file.
12347 * libc/sys/win32/include/grp.h: New file.
12348
12349Tue Sep 5 13:47:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12350
12351 * libc/include/machine/ieeefp.h: Added whitespace to make this
12352 file easier to maintain.
12353 On the sh, define either __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN
12354 depending on the value of __LITTLE_ENDIAN__.
12355 On the sh3e, define _DOUBLE_IS_32BITS.
12356
12357Fri Sep 1 15:35:18 1995 James G. Smith <jsmith@beauty.cygnus.com>
12358
12359 * libc/sys/vr4300/syscalls.c: Added missing support
12360 routines. _raise() and getpid().
12361
12362Fri Sep 1 14:12:48 1995 James G. Smith <jsmith@rtl.cygnus.com>
12363
12364 * configure.in (mips*vr4300*-*-elf): Fixed silly mistake
12365
12366Fri Sep 1 08:42:11 1995 James G. Smith <jsmith@beauty.cygnus.com>
12367
12368 * configure.in (mips*vr4300*-idt-*) Add support for RISQ monitor
12369 and VR4300 processor.
12370 * libc/sys/vr4300: Add directory.
12371 * libc/sys/vr4300/{Makefile.in, crt0.S, syscalls.c}: Add SIM
12372 monitor run-time support.
12373
12374Thu Aug 31 09:16:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12375
12376 * libc/stdlib/Makefile.in (CHEWOUT_FILES): Removed atol.def.
12377 * libc/stdlib/stdlib.tex: Don't include atol.def.
12378
12379Wed Aug 30 20:38:28 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12380
12381 * libc/sys/win32/uname.c (uname): hardcode processor as `i386'.
12382
12383Wed Aug 30 10:48:08 1995 steve chamberlain <sac@slash.cygnus.com>
12384
12385 * libc/ctype/Makefile.in: Fill in _to* dependencies.
12386
12387Tue Aug 29 17:14:29 1995 steve chamberlain <sac@slash.cygnus.com>
12388
12389 * libc/sys/win32/{dirsearch.c,sys/dirent.h}: Fix namespace problems.
12390 * libc/sys/win32/sys/dirent.h (struct dirent): Added d_ino.
12391 * libc/sys/win32/strace.c (__sys_printf): Increase size of buffer.
12392 * libc/sys/win32/smallprint.c (__small_vsprintf): Remove debug.
12393 * libc/sys/win32/dirsearch.c (readdir): Set d_ino.
12394
12395Tue Aug 29 19:00:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12396
12397 * libc/stdlib/atol.c (atol): DEFUN -> _DEFUN.
12398
12399Tue Aug 29 16:08:09 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12400
12401 * libc/stdlib/Makefile.in (OFILES): Added atoff.o and atol.o.
12402 * libc/stdlib/atoff.c: New file.
12403 * libc/stdlib/atof.c (atoff): Moved to atoff.c.
12404 * libc/stdlib/atoi.c (atol): Removed.
12405 * libc/stdlib/atol.c: Removed duplicate documentation.
12406
12407 * libc/include/ctype.h (_tolower, _toupper): Moved inside
12408 #ifndef _STRICT_ANSI conditional.
12409 * libc/ctype/Makefile.in (OFILES): Added _tolower.o and _toupper.o
12410 * libc/ctype/_tolower.c: New file.
12411 * libc/ctype/_toupper.c: New file.
12412 * libc/ctype/tolower.c (_tolower): Moved to _tolower.c.
12413 * libc/ctype/toupper.c (_toupper): Moved to _toupper.c.
12414 * libc/ctype/toascii.c (_toascii): Removed.
12415
12416Tue Aug 29 12:17:32 1995 Doug Evans <dje@canuck.cygnus.com>
12417
12418 * libc/sys/sparc64/sys/types.h: Deleted.
12419
12420Mon Aug 28 22:06:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12421
12422 * libc/sys/win32/uname.c (uname): change `Windows/NT' to `Windows_NT'
12423 and recognize Windows_95 systems.
12424
12425Mon Aug 28 19:50:54 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12426
12427 * libc/sys/win32/crt0.c (vfork_init, hmap_init): standard I/O fds
12428 and passed fds should be opened in text mode.
12429
12430Mon Aug 28 18:51:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12431
12432 * libc/sys/win32/crt0.c (vfork_init): mark passed fds as used
12433 in __hmap, set to binary mode by default.
12434
12435Tue Aug 22 14:12:37 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12436
12437 * libc/sys/sh/syscalls.c: Updated all functions to call __trap34.
12438 * libc/sys/sh/trap.S (__trap34): Renamed from __trap3. Use trap
12439 vector 34.
12440
12441Sat Aug 19 18:25:37 1995 steve chamberlain <sac@slash.cygnus.com>
12442
12443 * Makefile.in (install): Install all libraries found in the
12444 top level. If there's a sys/<type>/include directory,
12445 install those headers into include.
12446
12447 * libc/sys/win32/kernel.def351: Delete
12448 * libc/sys/win32/{comctl32.def, comdlg32.def, ctl3d32.def,
12449 glaux.def, glu32.def, largeint.def, libc.def, libcmt.def,
12450 lz32.def, mgmtapi.def, mpr.def, msacm32.def, msvcrt.def,
12451 nddeapi.def, netapi32.def, odbc32.def, odbccp32.def, oldnames.def,
12452 ole32.def, oleaut32.def, opengl32.def, rasapi32.def, rpcndr.def,
12453 rpcns4.def, rpcrt4.def, scrnsave.def, shell32.def, snmp.def,
12454 uuid.def, vdmdbg.def, version.def, vfw32.def, win32spl.def,
12455 winmm.def, winspool.def, winstrm.def, wsock32.def}: New.
12456
12457 * libc/sys/win32/Makefile.in: Update for new files and new dlltool options.
12458 * libc/sys/win32/crt0.c: Force all env names to upper case.
12459 * libc/sys/win32/sys/win*.h -> libc/sys/win32/include
12460 * libc/sys/win32/*.c: Headers have moved.
12461 * libs/sys/win32/*.[ch]: Test for open_p rather than BAD_HANDLE,
12462 __vfork_child_idx is now __vfork_child_ptr.
12463
12464 * posix/execvp (execvp): Don't crash if no PATH envname.
12465
12466Fri Aug 18 12:22:59 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12467
12468 * libc/include/sys/reent.h (_Bigint): Removed _reclaim field.
12469 * libc/reent/reent.c (_reclaim_reent): Free Bigint's by going
12470 through the _freelist instead of through the _reclaim list.
12471 * libc/stdlib/mprec.c (_Balloc): Don't put new node on _reclaim list.
12472 * libc/stdlib/mprec.c (_Bcopy): Make like version in master dtoa.c
12473 sources.
12474
12475Thu Aug 17 11:03:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12476
12477 * libc/machine/h8500/setjmp.S: New file.
12478 * libc/include/machine/setjmp.h: Updated for H8/500.
12479
12480Wed Aug 16 16:19:11 1995 steve chamberlain <sac@slash.cygnus.com>
12481
12482 * libc/sys/win32/syscalls.c (_open): More stracing.
12483 (_stat): Open the file in O_BINARY.
12484
12485Wed Aug 16 15:49:01 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12486
12487 * libc/machine/h8300/setjmp.S: New file.
12488 * libc/include/machine/setjmp.h: Updated for H8/300 and H8/300H.
12489
12490Tue Aug 15 10:31:09 1995 Doug Evans <dje@canuck.cygnus.com>
12491
12492 * libc/sys/win32/crt0.c (__exe_suffix): New global.
12493 (mainCRTStartup): Set __exe_suffix from LIBC_EXE_SUFFIX.
12494 * libc/sys/win32/spawn.c (_spawn): Add .exe suffix based on
12495 __exe_suffix. Free fd_tab after setting env variable.
12496 (spawnv,_execve): Update.
12497 * libc/sys/win32/syscalls.h (__exe_suffix): Declare.
12498 * libc/sys/win32/smallprint.c (puts,putn): New (static) functions.
12499 (__small_vfprintf): New function.
12500 * libc/sys/win32/strace.c (__sys_printf): Call __small_vfprintf.
12501 * libc/sys/win32/wait.c (cwait): Validate argument.
12502
12503 * libc/sys/win32/syscalls.c (queue_file_deletion): Add trace message.
12504 (process_deletion_queue): Likewise.
12505
12506 * libc/sys/win32/Makefile.in (lib.a): Don't call $(RANLIB).
12507
12508Mon Aug 14 10:14:10 1995 steve chamberlain <sac@slash.cygnus.com>
12509
12510 * libc/sys/win32: Copyrights and gratuitous indenting.
12511
12512Mon Aug 14 01:32:58 1995 Doug Evans <dje@canuck.cygnus.com>
12513
12514 * libc/sys/win32/syscalls.c (queue_file_deletion): Finish.
12515 (process_deletion_queue): Likewise.
12516 (__close_all_files): New function.
12517 (_close): Only queue file deletion if really a file.
12518 * libc/sys/win32/spawn.c (_spawn): Only ensure .exe suffix if
12519 _P_APPEND_EXE.
12520 (_exit): Call __close_all_files.
12521
12522 * libc/stdlib/system.c: #include <errno.h>.
12523 (_system_r): Fix results in -DNO_EXEC case.
12524
12525 * libc/sys/win32/sys/dirent.h (DIR): New member __d_dirname.
12526 Reorganize structure.
12527 * libc/sys/win32/dirsearch.c (opendir): Use stat to determine
12528 if argument is valid. Save directory name in DIR. malloc space
12529 for dirent struct separately.
12530 * libc/sys/win32/syscalls.c (stat): Fix test for directory.
12531
12532 * libc/include/errno.h (ENAMETOOLONG): Define.
12533 * libc/string/strerror.c (strerror): Reword ENFILE.
12534 Add ENOSYS, ENMFILE, ENOTEMPTY, ENAMETOOLONG.
12535
12536Sun Aug 13 22:42:25 1995 Doug Evans <dje@canuck.cygnus.com>
12537
12538 * libc/sys/win32/crt0.c (__progname): New global.
12539 (mainCRTStartup): Support strace=bitmask,filename.
12540 * libc/sys/win32/dirsearch.c (all fns): Add trace messages.
12541 * libc/sys/win32/syscalls.c (_write): Print parent trace message
12542 if error.
12543 (getcwd): Handle len too small. Convert '\\' to '/'.
12544 * libc/sys/win32/sys/fcntl.h (O_RDWR): = O_RDONLY|O_WRONLY.
12545 Add prototypes for open, creat, fcntl.
12546 (O_APPEND): Change value to conform to Microsoft's value.
12547 * libc/sys/win32/sys/strace.h (_STRACE): Protect in do/while.
12548
12549 * libc/stdlib/getopt.c: New file.
12550 * libc/stdlib/Makefile.in: Build it.
12551
12552Sat Aug 12 12:17:14 1995 Doug Evans <dje@canuck.cygnus.com>
12553
12554 * libc/posix/execvp.c (execvp): Watch for DOS drives ifdef _WIN32.
12555 Fix scanning of $PATH.
12556 * libc/posix/exec*.c: Call _execve, not execve.
12557 * libc/posix/execve.c: New file.
12558 * libc/posix/Makefile.in (OFILES): Add execve.o.
12559
12560 * libc/sys/win32/sys/strace.h (_STRACE_ALL, _STRACE_UHOH,
12561 _STRACE_STARTUP, _STRACE_SYSCALL): More bit masks of things to trace.
12562 (_STRACE): If level==0, always print. Handle new bit mask scheme.
12563 * libc/sys/win32/crt0.c: Update _STRACE calls.
12564 * libc/sys/win32/{pipe.c,resource.c,spawn.c,syscalls.c,wait.c}: Ditto.
12565
12566 * libc/sys/win32/smallprint.c (rn): Fix digit list.
12567
12568 * libc/sys/win32/syscalls.c (__really_exit): Move from here,
12569 * libc/sys/win32/exceptions.c (really_exit): to here. Avoid recursion.
12570 * libc/sys/win32/spawn.c (spawnvp): Pass `prog' as image name.
12571 Print __seterrno trace message first.
12572 (_execve): Renamed from execve.
12573 (vfork): Update __strace usage.
12574 (__vfork_child_pid): Deleted.
12575 (__vfork_children, __vfork_child_idx): New globals.
12576 (_spawnvp): New function.
12577 (spawnvp, spawnv, _execve): Call _spawnvp.
12578 (init_child): Record child in __vfork_children.
12579 (__vfork_get_entry, __vfork_record_death): New functions.
12580 * libc/sys/win32/crt0.c (mainCRTStartup): Initialize __vfork_children.
12581 * libc/sys/win32/kernel32.def (WaitForMultipleObjects): Define.
12582 * libc/sys/win32/syscalls.h (CHILD_P): New macro. All files updated.
12583 (MAX_CHILDREN, CHILD_INTERIM_PID): Define.
12584 (children): New typedef.
12585 (__vfork_children,__vfork_child_idx): Declare.
12586 (__vfork_get_entry,__vfork_record_death): Declare.
12587 * libc/sys/win32/wait.c (wait_for_single,wait_for_any): New functions.
12588 (waitpid): Handle pid == -1.
12589 * libc/sys/win32/sys/wintypes.h (WaitForMultipleObjects): Declare.
12590 * configure.in (i386-win32): Add -DNO_FORK.
12591 * libc/syscalls/sysfork.c (fork): Don't define for NO_FORK.
12592 * libc/reent/execr.c (_fork_r): Likewise.
12593 * libc/stdlib/system.c (do_system): New function.
12594 If WIN32, try to get shell path from $SH_PATH, use vfork.
12595 (_system_r): Return 1 for (s == NULL) if WIN32 or unix,
12596 otherwise return 0.
12597
12598Sat Aug 12 11:08:00 1995 steve chamberlain <sac@slash.cygnus.com>
12599
12600 * libc/stdlib/{mallocr.c, mstats.c}: Move mstats from mallocr to mstats.c.
12601 * libc/sys/win32/fcntl.h: Don't include self.
12602 * libc/sys/win32/sys/strace.h (_STRACE_WM, _strace_wm): New.
12603 * libc/sys/win32/sys/winbase.h: (GetUserName) New.
12604 * libc/sys/win32/sys/wincon.h (HANDLER_ROUTINE): Define correctly.
12605 * libc/sys/win32/sys/wintypes.h (GetFileType, GetCurrentProcess, CloseHandle,
12606 SetFilePointer, CreateFileA, GetFileInformationByHandle, GetStdHandle):
12607 Correct prototypes.
12608 * libc/sys/win32/strace.c: New file.
12609 * libc/sys/win32/smallprint.c: New file.
12610 * libc/sys/win32/crt0.c (func): Delete.
12611 (mainCRTStartup): Fix alloca usage. Set handles explictly.
12612 * libc/sys/win32/dirsearch.c: Clean up handle usage, fix calls to __seterrno.
12613 * libc/sys/win32/exceptions.c: Lint.
12614 * libc/sys/win32/{ioctl.c, pipe.c, resource.c, spawn.c, cwait.c, syscalls.c}:
12615 Clean up handle usage.
12616 * libc/sys/win32/syscalls.c (__sys_printf): Moved into strace.c
12617 (open.c): Default file type is text.
12618 * libc/sys/win32/uname.c (uname): Use __small_sprintf.
12619 * libc/sys/win32/advapi32.def: New
12620
12621Fri Aug 11 17:11:52 1995 Doug Evans <dje@canuck.cygnus.com>
12622
12623 * configure.in (posix_dir, libc_posix_lib): New variables.
12624 Define LIBC_POSIX_LIB in makefile to be $libc_posix_lib.
12625 (i[345]86-*-win32): Define posix_dir.
12626 Delete -DNO_EXEC. Define -DHAVE_OPENDIR.
12627 (if unix_dir): Fix typo.
12628 * libc/posix/{Makefile.in,closedir,opendir,readdir,rewinddir,
12629 scandir,seekdir,telldir}: New files.
12630 * libc/posix/{execl.c,execle.c,execlp.c,execv.c,execvp.c}: Move here
12631 from libc/unix.
12632 * libc/Makefile.in (LIBC_POSIX_LIB): Define.
12633 (SUBDIRS): Add posix.
12634 (SUBLIBS): Add $(LIBC_POSIX_LIB).
12635
12636 * libc/include/sys/signal.h (SIGCHLD): Add for _WIN32.
12637 (NSIG): Increase to 21.
12638 * libc/include/sys/unistd.h (pid_t): Move from here,
12639 * libc/include/sys/types.h (pid_t): to here.
12640
12641 * libc/sys/win32/syscalls.h: #include "sys/strace.h".
12642 (__ptrace): Delete.
12643 (hinfo): New members close_exec_p, child_created_p.
12644 (struct exception_list): Define.
12645 (__hmap): Redefine as pointer to table.
12646 (__parent_hmap, __child_hmap): New globals.
12647 (__set_errno, __really_exit): Declare.
12648 (__vfork_child_pid): Declare.
12649 * libc/sys/win32/crt0.c (__strace, __trace_file): New global.
12650 (__orig_stdin, __orig_stdout, __orig_stderr): New globals.
12651 (__parent_hmap, __child_hmap): New globals.
12652 (__hmap): Redefine as pointer to active map.
12653 (__get_console): New function.
12654 (mainCRTStartup): Change leading '=' in environ vars to '!'.
12655 (env __FD_TABLE__): Watch for this and initialize our fd/handle
12656 mapping table from it if defined.
12657 (argv, envp): Dump if __strace >= 4.
12658 (main): Call here.
12659 * libc/sys/win32/exceptions.c (myp): Redefine.
12660 (__syscalls_b): Delete.
12661 (__stack_trace): New function.
12662 (ehandler3): Update to use _STRACE. Print stack trace.
12663 Call __really_exit instead of exit.
12664 (init_exceptions): Delete args argc,argv. New arg mine.
12665 * libc/sys/win32/kernel32.def (CreatePipe, DuplicateHandle, FindClose,
12666 FindFirstFileA, FindNextFileA, GetComputerNameA,
12667 GetEnvironmentVariableA, ReadFile, SetEnvironmentVariableA): Define.
12668 * libc/sys/win32/signal.c (signal): Validate arg.
12669 (alarm, sleep): Define as stubs for now.
12670 * libc/sys/win32/syscalls.c (all fns): Update to use _STRACE.
12671 (__syscalls_b, errno): Delete.
12672 (__vfork_child_pid, __vfork_jmp_buf): New globals.
12673 (__seterrno): Handle more errors.
12674 (__sys_printf): Renamed from _ptrace.
12675 (__really_exit): New function.
12676 (queue_file_deletion, process_deletion_queue): New functions.
12677 (__resume_parent): New function.
12678 (_unlink): Handle trying to delete open file.
12679 (__totime_t): Renamed from totime_t.
12680 (setsid, __read, __write): New functions.
12681 (cwait, spawnvp, R, D, getrusage, _execve, _fork, _wait): Delete.
12682 * libc/sys/win32/{dirsearch.c,getlogin.c,misc.c,resource.c,passwd.c,
12683 times.c,spawn.c,pipe.c,wait.c,termios.c,ioctl.c,uname.c}: New files.
12684 * libc/sys/win32/console.c: Update to new definition of __hmap.
12685 * libc/sys/win32/Makefile.in: Build new files.
12686 * libc/sys/win32/sys/{dirent.h,winerror.h,wait.h,termios.h}: New files.
12687 * libc/sys/win32/sys/{ioctl.h,utsname.h}: New files.
12688 * libc/sys/win32/sys/strace.h: Renamed from ptrace.h.
12689 * libc/sys/win32/sys/wintypes.h (GetCurrentDirectoryA): Fix prototype.
12690
12691Thu Aug 10 16:32:52 1995 Doug Evans <dje@canuck.cygnus.com>
12692
12693 * libc/sys/h8500hms/misc.c (kill): Handle SIGABRT.
12694
12695Thu Aug 10 12:07:38 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12696
12697 * libc/stdlib/{dtoa.c, strtod.c}: Merged assorted changes that
12698 have been made to the master dtoa.c sources (from netlib.att.com)
12699 since they were integrated into newlib in early 1992. Fixes
12700 problems with storage leaks and handling of numbers with very
12701 negative exponents.
12702
12703Wed Aug 9 14:18:39 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12704
12705 * Makefile.in (all): set rootpre and srcrootpre before calling
12706 sub-makes.
12707
12708Tue Aug 8 17:20:45 1995 steve chamberlain <sac@slash.cygnus.com>
12709
12710 * libc/sys/win32/crt0.c: Change __hmap usage.
12711 * libc/sys/win32/exceptions.c: Use _ptrace call.
12712 * libc/sys/win32/syscalls.c: Use _ptrace call.
12713 (read, write): Cope with DOS style CRLF when in TEXT mode.
12714 * libc/sys/win32/syscalls.h: Declare hinfo struct.
12715 * libc/sys/win32/user32.def: Get DefWindowProc arg list right.
12716 * libc/sys/win32/sys/fcntl.h, ptrace.h: New.
12717 * libc/sys/win32/sys/windows.h: Fill in rest of messages.
12718 * libc/sys/win32/sys/wintypes.h: Fix attribute syntax.
12719
12720Mon Aug 7 13:04:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12721
12722 * libc/include/math.h (cabs, cabsf, drem, dremf): New declarations.
12723
12724 * libm/math/{w_cabs.c, wf_cabs.c, w_drem.c, wf_drem.c}: New files,
12725 wrappers for hypot() and remainder() for BSD libm compatibility.
12726 These are public domain implementations written by me for the
12727 NetBSD libm some time ago. Note cabs() is required by ucbtest.
12728 * libm/math/Makefile.in (obj): Added w_cabs.o and w_drem.o.
12729 (fobj): Added wf_cabs.o and wf_drem.o.
12730
12731Thu Aug 3 08:13:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12732
12733 * libc/sys/h8500hms/misc.c: New file.
12734 * libc/sys/h8500hms/Makefile.in (OFILES): Add misc.o.
12735
12736Wed Aug 2 16:46:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12737
12738 * libc/time/localtime.c (localtime): Fix problem with leap year
12739 handling. Stole algorithm from Arthur David Olson's tz code.
12740
12741Mon Jul 31 10:21:54 1995 steve chamberlain <sac@slash.cygnus.com>
12742
12743 * configure.in: (z8k-*sim): Renamed z8k-*-coff.
12744
12745 * libc/sys/z8ksim/glue.c (_getpid, _kill): New
12746 (_exit): Use argument.
12747
12748Fri Jul 28 15:17:04 1995 Doug Evans <dje@canuck.cygnus.com>
12749
12750 * libc/sys/win32/sys/winbase.h (_WINBASE_H): Define.
12751
12752Wed Jul 26 16:24:19 1995 steve chamberlain <sac@slash.cygnus.com>
12753
12754 * libc/sys/sh/trap.S (perrno): Align correctly. (pr 7532)
12755
12756Mon Jul 24 13:42:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12757
12758 * configure.in (sparc*): Add -DMALLOC_ALIGNMENT=8 to
12759 target_cflags.
12760
12761Mon Jul 24 11:42:07 1995 steve chamberlain <sac@slash.cygnus.com>
12762
12763 * libc/sys/win32/crt0.c (mainCRTStartup): Look for
12764 ptrace with case insensitivity
12765 * libc/sys/win32/{user32.def, gdi32.def, exceptions.c, screen.c,
12766 sys/winbase.h, sys/windows.h, sys/wintypes.h, sys/winuser.h}:
12767 New files.
12768
12769Fri Jul 21 11:22:26 1995 Doug Evans <dje@canuck.cygnus.com>
12770
12771 * Makefile.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
12772 (MULTITOP, MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): New variables.
12773 (all, install, *clean): Use new multilib support.
12774 * configure.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
12775
12776Fri Jul 21 07:11:42 1995 steve chamberlain <sac@slash.cygnus.com>
12777
12778 * libc/include/sys/signal.h (__WIN32__): New.
12779
12780 * configure.in (i386-*-win32): Remobe SBRK_IS_ALLOC.
12781
12782 * libc/stdlib/mprec.c (Balloc): Fix trampling problem.
12783 (ulp, b2d): Handle 32 bit doubles.
12784 * libc/stdlib/mprec.h: Handle 32 bit doubles.
12785 * libc/stdlib/strtod.c (_strtod_r): Ditto.
12786
12787Fri Jul 14 08:24:58 1995 steve chamberlain <sac@slash.cygnus.com>
12788
12789 from medp@primag.co.uk:
12790 * libc/stdio/setvbuf.c (setvbuf): Fix line buffering on
12791 dynamically allocated buffers.
12792
12793Thu Jul 20 10:11:03 1995 Fred Fish <fnf@fishbowl>
12794
12795 * libc/include/sys/unistd.h (_exit): Add _ATTRIBUTE ((noreturn)).
12796 * libc/stdlib/exit.c (unistd.h): Include to pick up _exit() declaration.
12797
12798Thu Jul 20 10:16:25 1995 Michael Meissner <meissner@tiktok.cygnus.com>
12799
12800 * configure.in (powerpc): Fix previous fix.
12801
12802Wed Jul 19 14:08:55 1995 Michael Meissner <meissner@tiktok.cygnus.com>
12803
12804 * configure.in (powerpc-*eabiaix*): Update PowerPC multilib
12805 directories for this target.
12806
12807Wed Jul 19 00:34:30 1995 Jeffrey A. Law <law@rtl.cygnus.com>
12808
12809 * configure.in (hppa): Add machine_dir definition.
12810 * libc/machine/hppa: New directory with PA specific implementations
12811 of the basic memory/string functions.
12812
12813Tue Jul 18 21:16:00 1995 Michael Meissner <meissner@tiktok.cygnus.com>
12814
12815 * configure.in: Update current PowerPC multilib directories.
12816 Split big and little endian configurations.
12817
12818Tue Jul 18 11:55:33 1995 Ian Lance Taylor <ian@cygnus.com>
12819
12820 * configure.in: Add --enable-single-float option to configure to
12821 control use of MIPS single-float directories. Default to yes.
12822
12823 * Makefile.in (all): Don't recurse into multilib directory if it
12824 does not exist.
12825
12826Mon Jul 17 15:51:30 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12827
12828 * libc/sys/sh/syscalls.c: Fix typo.
12829
12830Mon Jul 3 14:38:52 1995 Steve Chamberlain <sac@slash.cygnus.com>
12831
12832 * Makefile.in, libc/Makefile.in, libc/sys/Makefile.in:
12833 Pass down DLLTOOL.
12834 * libc/include/process.h: Define WAIT_CHILD.
12835 * libc/include/types.h: Get sizes right for win32.
12836 * configure.in (i386-*-pe): Becomes i386-win32.
12837 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
12838 wintypes.h,sys/file.h,sys/resource.h}: Second pass.
12839 * libc/stdlib/mallocr.c: Don't round up memory block if SBRK_IS_ALLOC
12840 is defined.
12841
12842Wed Jun 28 18:34:54 1995 Steve Chamberlain <sac@slash.cygnus.com>
12843
12844 * configure.in (i[345]86-*-pe): New target (NT).
12845 * host/any: DLLTOOL new.
12846 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
12847 wintypes.h,sys/file.h,sys/resource.h}: Preliminary support for
12848 WIN32 (just enough to cross host the comp-tools).
12849
12850Thu Jun 22 11:45:18 1995 Doug Evans <dje@canuck.cygnus.com>
12851
12852 * libc/machine/h8300/{cmpsi.S,ucmpsi.S,divhi3.S,mulhi3.S,mulsi3.S}:
12853 Deleted. These files live in gcc/config/h8300/lib1funcs.asm now.
12854
12855Mon Jun 19 11:40:40 1995 Doug Evans <dje@canuck.cygnus.com>
12856
12857 * libc/include/machine/ieeefp.h (arm): Change to always be
12858 __IEEE_BIG_ENDIAN (even on little endian ARM's).
12859
12860Thu Jun 8 14:22:28 1995 Steve Chamberlain <sac@slash.cygnus.com>
12861
12862 * libc/sys/crt0.S: Initialze sp, and call exit after main.
12863 * libc/sys/syscalls.c (abort): New.
12864 * configure.in (arm): Define ABORT_PROVIDED.
12865
12866Wed Jun 7 14:04:35 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12867
12868 * configure.in (powerpc): Define multidirs.
12869
12870Mon Jun 5 16:10:13 1995 Doug Evans <dje@canuck.cygnus.com>
12871
12872 * libc/sys/arm/crt0.S: Add __USER_LABEL_PREFIX__ support.
12873
12874Thu Jun 1 10:51:47 1995 Sean Eric Fagan <sef@cygnus.com>
12875
12876 * configure.in (sparclite): Delete target_cflags. Define multidirs.
12877
12878Wed May 24 14:23:25 1995 Steve Chamberlain <sac@slash.cygnus.com>
12879
12880 * configure.in, libc/include/machine/ieeefp.h: Modified
12881 for arm:
12882 libc/machine/arm/*, libc/sys/arm/*: New
12883
12884Tue May 23 13:53:07 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12885
12886 * libc/include/machine/ieeefp.h: Use __PPC__ instead of
12887 __powerpc__ when determining endianness.
12888
12889Wed May 10 07:55:56 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12890
12891 * configure.in (m68*): Add multidir for the m68332.
12892
12893 * host/any (CC): Fix typo in last change.
12894
12895Fri Apr 14 22:20:31 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
12896
12897 * libc/include/sys/config.h: Test __m68k__ instead of __m68000__
12898 when determining endianness.
12899 * libc/include/machine/ieeefp.h: Ditto.
12900 * libc/machine/m68k/setjmp.S: Use '&' instead of '#' for immediate
12901 operands.
12902
12903Fri Apr 14 14:14:29 1995 Doug Evans <dje@chestnut.cygnus.com>
12904
12905 * libc/include/errno.h (ENOTEMPTY): Define.
12906
12907Thu Apr 6 12:21:20 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12908
12909 * configure.in (sparc-sun-sunos*): Add -DMALLOC_ALIGNMENT=8 to
12910 target_cflags.
12911
12912 * libc/sys/sun4/Makefile.in (COPYOFILES): Added rem.o, multiply.o,
12913 and umultiply.o.
12914
12915 * libc/stdio/tmpnam.c (worker): Unconditionally increment count
12916 instead of only when open succeeds. ANSI requires that multiple
12917 calls to tmpnam() result in different files.
12918
12919 * libc/sys/sun4/Makefile.in (COPYRENAMEOFILES): New macro, list of
12920 objects pulled in from /lib/libc.a that must be renamed before
12921 being pulled into newlib. /lib/libc.a's div.o conflicted with
12922 newlib's file with the same name.
12923
12924 * libc/stdlib/ldiv.c (ldiv): Call labs() instead of abs().
12925
12926 * host/any (CC, AS, AR, RANLIB): Changed so that executables in
12927 the build tree will only be used if the executables are present
12928 (instead of just the Makefiles).
12929
12930 * libc/include/stdlib.h (mblen, mbtowc, wctomb, mbstowcs,
12931 wcstombs): Define.
12932 * libc/stdlib/{mblen.c, mbstowcs.c, wcstombs.c}: New files, null
12933 versions of these functions that I orignally wrote for the
12934 NetBSD C library.
12935 * libc/stdlib/{mbtowc.c, wctomb.c}: Replaced functions with
12936 versions I wrote for NetBSD.
12937
12938Wed Mar 29 12:42:42 1995 Kung Hsu <kung@mexican.cygnus.com>
12939
12940 * libc/sys/sparclite/Makefile.in: add crt0.s and make info.
12941 * libc/sys/sparclite/crt0.s: ditto.
12942
12943Tue Mar 28 20:28:03 1995 Rob Savoye <rob@rtl.cygnus.com>
12944
12945 * configure.in: Add soft-float for proelf.
12946
12947Mon Mar 27 12:07:56 1995 Steve Chamberlain <sac@bang.hack.com>
12948
12949 * libc/stdlib/mprec.h (Bcopy): Copy the right number
12950 of bytes.
12951
12952Mon Mar 27 11:24:22 1995 Doug Evans <dje@chestnut.cygnus.com>
12953
12954 * Makefile.in (all): Depend on `force'.
12955 * configure.in (syscall_dir): Renamed from fake_sys_dir.
12956 (libc_syscall_lib): Renamed from libc_fake_sys_lib.
12957 (LIBC_SYSCALL_LIB): Renamed from LIBC_FAKE_SYS_LIB.
12958 * libc/Makefile.in: Likewise.
12959 * libc/include/reent.h: Update syscall references.
12960 (_fcntl_r): Add prototype.
12961 * libc/syscalls/*.c #include <reent.h>.
12962 (*) Call reentrant version if REENTRANT_SYSCALLS_PROVIDED.
12963
12964Mon Mar 20 16:57:39 1995 Doug Evans <dje@deneb.cygnus.com>
12965
12966 * libc/include/sys/stat-dj.h (S_ISBLK): Define.
12967 (S_ISCHR, S_ISDIR, S_ISFIFO, S_ISREG): Define.
12968 * libc/include/sys/stat.h (stat-dj.h): Include ifdef MSDOS.
12969 (time.h, sys/types.h): Always include (even if MSDOS).
12970 (stat): Fix prototype.
12971
12972Fri Mar 10 11:30:38 1995 Ian Lance Taylor <ian@cygnus.com>
12973
12974 * configure.in (i[345]86-*-go32): Compile with -DNO_EXEC.
12975
12976Mon Feb 27 18:00:39 1995 Jim Wilson <wilson@chestnut.cygnus.com>
12977
12978 * libc/machine/h8500/psi.S (EXTPSIHI_RN_SN): Ifdef out.
12979
12980Mon Feb 13 16:10:03 1995 Ian Lance Taylor <ian@cygnus.com>
12981
12982 * libc/include/regdef.h: New file.
12983 * libc/machine/mips/machine/regdef.h: New file.
12984
12985Mon Feb 6 15:24:29 1995 Doug Evans <dje@canuck.cygnus.com>
12986
12987 * libc/sys/sparc64/sys/fcntl.h (open): Add ellipsis.
12988
12989Fri Jan 27 13:52:10 1995 Steve Chamberlain <sac@splat>
12990
12991 * libc/sys/sh/crt0.S: Pass main's return to exit.
12992 * libc/sys/sh/trap.S: Put errno in the right place.
12993
12994Tue Jan 24 18:57:56 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
12995
12996 * libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Integrate change
12997 from fdlibm 5.2: handle |x| < 3pi/4 more efficiently.
12998 * libm/math/ef_rem_pio2.c: Likewise.
12999 * libm/math/e_log10.c: Remove unused static one.
13000 * libm/math/ef_log10.c: Likewise.
13001 * libm/math/s_frexp.c: Likewise.
13002 * libm/math/sf_frexp.c: Likewise.
13003
13004Sun Jan 22 21:26:14 1995 Steve Chamberlain <sac@splat>
13005
13006 * libc/sys/go32/Makefile.in, clock.S, dir.c, setjmp.S, stat.c,
13007 longjmp.S: Upgraded.
13008 * libc/sys/go32/sys/setjmp.h: Upgraded.
13009 * libc/sys/go32/sys/go32.h, dpmi.h: New files.
13010
13011Fri Jan 20 18:33:18 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
13012
13013 * configure.in: Add many entries to multidirs for mips targets.
13014
13015Wed Jan 18 10:19:25 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13016
13017 * libm/math/e_jn.c (__ieee754_yn): Integrate change from fdlibm
13018 5.2 which fixes bug where jn(-1,x) is three times larger than
13019 the actual answer.
13020 * libm/math/ef_jn.c (__ieee754_ynf): Likewise.
13021
13022Sun Jan 15 21:48:58 1995 Steve Chamberlain <sac@splat>
13023
13024 * libc/sys/w65/sys/syscalls.h: New file
13025 * libc/include/machine/ieeefp.h: W65 support.
13026 * libc/include/sys/config.h: Ditto.
13027 * libc/machine/w65/Makefile.in, cmpsi, divsi3, lshrhi.s, mulsi3.c,
13028 sdivhi3.s, smulhi3.s, udivhi3.s, umodhi3.s: New files.
13029 * libc/sys/w65/Makefile.in, crt0.c, syscalls.c, trap.c: New files.
13030
13031Wed Jan 11 15:59:01 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
13032
13033 * libc/sys/Makefile.in (lib.a, crt0.o): Depend upon subs.
13034
13035Tue Jan 3 15:57:03 1995 Rob Savoye <rob@darkstar.cygnus.com>
13036
13037 * Makefile.in, configure.in: Remove any references to the old
13038 "stub" dir.
13039
13040Thu Dec 22 10:42:08 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
13041
13042 * libc/syscalls/sysopen.c: Write _HAVE_STDC version of open, which
13043 uses ... in prototype.
13044
13045
13046Wed Nov 30 08:39:42 1994 Ian Lance Taylor <ian@rtl.cygnus.com>
13047
13048 * libc/sys/a29khif/sys/libconfig.h: Remove.
13049 * libc/sys/go32/sys/libconfig.h: Remove.
13050 * libc/sys/sun4/sys/libconfig.h: Remove.
13051 * libc/sys/sysvi386/sys/libconfig.h: Remove.
13052 * libc/sys/sysvnecv70/sys/libconfig.h: Remove.
13053 * libc/sys/sparc64/sys/libconfig.h: Remove.
13054
13055 * libc/include/_ansi.h (_FLOAT_ARG, _FLOAT_RET): Don't define.
13056 * libc/include/sys/config.h (_FLOAT_ARG, _FLOAT_RET): Likewise.
13057 * libc/include/math.h: Change all uses of _FLOAT_RET and
13058 _FLOAT_ARG to float.
13059 * libm/test/math.c: Likewise.
13060 * testsuite/libm.sac/math.c: Likewise.
13061 * testsuite/libm.sac/working/math.c: Likewise.
13062
13063Wed Nov 23 22:39:28 1994 Steve Chamberlain (sac@jonny.cygnus.com)
13064
13065 * libc/sys/sh/trap.s,crt0.s,setjmp.s: Renamed with .S so that
13066 gcc calls gas with endian option.
13067 * configure.in (sh): Build little endian version too.
13068
13069Wed Nov 16 18:21:45 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
13070
13071 * configure.in: Configure big and little endian versions for MIPS
13072 targets.
13073
13074Sat Nov 12 21:12:51 1994 Doug Evans <dje@canuck.cygnus.com>
13075
13076 * libc/include/limits.h: Deleted.
13077 * libc/include/machine/limits.h: Deleted.
13078
13079Thu Nov 10 15:32:44 1994 Rob Savoye <rob@rtl.cygnus.com>
13080
13081 * ChangeLog: Remove stub directory. This has all been rewritten
13082 and moved to devo/libgloss.
13083
13084Thu Sep 29 18:31:04 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
13085
13086 * Makefile.in (dvi): Add to info target, use $@ in sub make.
13087 (docs): Merge into info target.
13088 * libm/Makefile.in (dvi): Add $(srcdir).
13089 * libm/math/Makefile.in (chobjs): Remove underscores from file
13090 names. Texinfo doesn't like them.
13091 (wacos.def, ...): Add explicit targets for all .def files.
13092 * libm/math/math.tex: Remove underscores from @include file names.
13093 * doc/Makefile.in (dvi): Add dummy target.
13094 * testsuite/Makefile.in (dvi): Add dummy target.
13095
13096Mon Sep 26 21:17:46 1994 Doug Evans (dje@canuck.cygnus.com)
13097
13098 * Makefile.in (VERSION): Define. For net newlib releases.
13099
13100Thu Sep 22 19:01:26 1994 Doug Evans (dje@canuck.cygnus.com)
13101
13102 * README: New file.
13103
13104Mon Sep 19 16:35:23 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
13105
13106 * libc/stdlib/ecvtbuf.c (_gcvt): Undo last change.
13107
13108Mon Sep 19 11:44:23 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
13109
13110 * libc/stdlib/setenv.c (_findenv): Declare.
13111
13112 * libc/include/sys/fcntl.h: Fix declarations of open, creat, and
13113 fcntl to not use _EXFUN, and change string parameters to open and
13114 creat to be ``const char *''.
13115 * libc/sys/sparc64/sys/fcntl.h: Likewise.
13116 * libc/sys/sparc64/creat.c (creat): Make PATH const.
13117 * libc/syscalls/sysopen.c: Include <fcntl.h>.
13118 (open) Make _FILE const.
13119 * libc/sys/z8ksim/glue.c (_open): Make BUF const.
13120 (_creat): Make PATH const.
13121 * libc/sys/h8300hms/syscalls.c (_open): Make PATH const.
13122 * libc/sys/h8500hms/syscalls.c (_open): Likewise.
13123 * libc/sys/m88kbug/syscalls.c (open): Likewise.
13124 * libc/sys/sh/syscalls.c (_open): Likewise.
13125 * stub/shared/glue.c (open): Make BUF const.
13126 * stub/ex93x/syscalls.c (open): Make FILENAME const.
13127
13128Thu Sep 8 16:39:12 1994 Steve Chamberlain (sac@jonny.cygnus.com)
13129
13130 * libc/include/errno.h: Add ENMFILE
13131 * libc/include/sys/config.h: Support Z8000.
13132 * libc/include/sys/signal.h: New signals for go32.
13133 * libc/machine/h8500/psi.S (__addpsir0r0): New function
13134 * libc/machine/h8500/cmpsi.S (__ucmppsi2): New function
13135 * libc/machine/sh/sdivsi3.s (__sdivsi3): Rewritten.
13136 * libc/stdlib/mallocr.c (_morecore_r): Minimum chunk
13137 size is variable, depending upon CHUNK_POWER.
13138 * libc/sys/go32/*.c: Upgrade to new go32 stuff.
13139
13140Sun Sep 4 17:42:43 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
13141
13142 * libc/stdlib/ecvtbuf.c (_gcvt): Output '-' for negative numbers.
13143
13144Fri Sep 2 10:56:01 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
13145
13146 * libc/include/_ansi.h (_PARAMS): Don't define if already defined.
13147
13148Wed Aug 24 11:11:03 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
13149
13150 * configure.in: Change i[34]86 to i[345]86.
13151
13152 * libc/include/math.h: Don't define HUGE_VAL if it is already
13153 defined.
13154
13155Wed Aug 17 15:18:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
13156
13157 * testsuite/libm.sac/test_erfc.c: Correct some result values.
13158 * testsuite/libm.sac/test_gammaf.c: Likewise.
13159 * testsuite/libm.sac/test_sin.c: Likewise.
13160 * testsuite/libm.sac/test_tanh.c: Likewise.
13161
13162Tue Aug 16 16:12:53 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
13163
13164 * libc/include/machine/ieeefp.h: Don't try set endianness if it is
13165 already set. Define typedefs __int32_t and __uint32_t.
13166 * libc/include/math.h: Include <machine/ieeefp.h>.
13167 (union __dmath): Use __uint32_t.
13168 * libm/math/fdlibm.h, libm/math/*.c: Use __int32_t and __uint32_t
13169 instead of int and unsigned int.
13170
13171Thu Aug 11 15:16:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
13172
13173 Replace the math library with the SunPRO fdlibm package.
13174 * libm/math: Completely changed all files.
13175 * libm/ieeefp: Remove contents and directory.
13176 * libm/Makefile.in (LIBM_FP_LIB): Remove.
13177 (SUBDIRS): Just set to math/lib.a.
13178 * libm/libm.texinfo: Updated for new library.
13179 * libc/include/math.h: Extensive changes for new math library.
13180 * libc/include/ieeefp.h (isnanf, isinff, finitef): Change argument
13181 from _FLOAT_ARG to float.
13182 (maxpowtwo, maxpowtwof): Don't declare.
13183 * configure.in (fp_dir): Removed; was always ieeefp anyhow.
13184 (libm_fp_lib): Removed.
13185 * Makefile.in (MATHOBJS_IN_LIBC): Updated with new file names.
13186 * testsuite/libm.paranoia/Makefile.in (check): Correct --srcdir
13187 argument to ${RUNTEST}.
13188 * testsuite/libm.sac/Makefile.in (LOCAL_CFLAGS): Define.
13189 (.c.o): New rule.
13190 (RUNTESTFLAGS): Set CC and CFLAGS.
13191 (TESTS): Remove test_log2 and test_log2f.
13192 (${TESTS}): Pass ${LOCAL_CFLAGS}, not ${CFLAGS}.
13193 * testsuite/libm.sac/math.c (run_vector_1): Use float, not
13194 _FLOAT_ARG, for single precision argument type.
13195 * testsuite/libm.sac/sac.exp: Treat an error in bit 63 as an
13196 expected failure. Close the input pipe.
13197 * testsuite/libm.sac/test.c (test_sok, test_iok, test_scok):
13198 Correct misspelling of inaccurate.
13199 (test_mok): Use ``inaccurate'', not ``wrong''.
13200 * testsuite/libm.sac/{test_acos.c, test_acosh.c, test_asin.c,
13201 test_asinh.c, test_atan.c, test_atanh.c, test_ceil.c,
13202 test_ceilf.c, test_cos.c, test_cosh.c, test_erf.c, test_erf.c,
13203 test_fabs.c, test_floor.c, test_floorf.c, test_fmod.c,
13204 test_fmodf.c, test_gamma.c, test_log1p.c, test_log1pf.c,
13205 test_yn.c): Correct many result values. Many are still wrong.
13206
13207 * libc/stdlib/ecvtbuf.c (print_e): If _dtoa_r sets decpt to 9999,
13208 just copy the string.
13209 (_gcvt): Always return the buffer.
13210
13211Tue Aug 9 13:43:23 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
13212
13213 * bcopy.c: fixed documentation, bcopy was not specified by ANSI.
13214
13215Wed Aug 3 05:39:41 1994 D. V. Henkel-Wallace (gumby@cygnus.com)
13216
13217 * libc/include/sys/reent.h: (struct _Bigint): add _reclaim
13218 structure.
13219 (struct _reent): add _p5s, _cvtlen, _cvtbuf.
13220 (_reclaim_reent): declare new entry point.
13221 * libc/reent/reent.c (cleanup_glue, _reclaim_reent): new
13222 functions.
13223
13224 * libc/stdlib/mprec.c (Balloc): Keep track of every struct bigint
13225 ever allocated, so that we can later reclaim them all.
13226 (pow5mult): make reentrant.
13227
13228 * libc/stdlib/ecvtbuf.c (fcvtbuf, ecvtbuf): extend these functions
13229 so that when given NULL as a buffer, return a pointer to static
13230 space in the rent structure. This is not documented behaviour;
13231 it's only to support ecvt and fcvt, which aren't ANSI anyway.
13232 * libc/stdlib/efgcvt.c (fcvt, ecvt) Use new functionality (and
13233 therefore become reentrant).
13234
13235 * libc/stdlib/dtoastub.c: remove spurious inclusion of mprec.h.
13236
13237Mon Aug 1 16:52:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
13238
13239 * libc/include/machine/ieeefp.h: Check _AM29K, not ___AM29K__.
13240
13241Thu Jul 28 15:40:21 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
13242
13243 * Makefile.in: Make link to libg.a after libc.a; this is needed
13244 for the testsuites to build executables when everything comes
13245 from the tree.
13246
13247Mon Jun 27 17:14:29 1994 Bill Cox (bill@rtl.cygnus.com)
13248
13249 * libc/Makefile.in: Add a VERSION variable so we can keep track.
13250 * libm/Makefile.in: Add a VERSION variable so we can keep track.
13251
13252Wed Jun 22 10:26:00 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
13253
13254 * libc/include/stdio.h: Use __VALIST, not va_list.
13255
13256Tue May 17 15:43:28 1994 Bill Cox (bill@rtl.cygnus.com)
13257
13258 * testsuite/config/unix-libm.exp, testsuite/lib/libm.exp,
13259 testsuite/libm.sac/execute.exp:
13260 Replace error proc calls with perror calls.
13261
13262Wed May 11 09:25:28 1994 Doug Evans (dje@canuck.cygnus.com)
13263
13264 * libc/include/*.h: #include "_ansi.h" instead of <_ansi.h>.
13265 * libc/include/time.h: #define NULL as 0L.
13266
13267Mon May 9 18:41:20 1994 Doug Evans (dje@canuck.cygnus.com)
13268
13269 * host/any (INCLUDES): Delete -I of gcc/include, gcc -B takes
13270 care of it.
13271
13272Mon May 9 18:39:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
13273
13274 * libc/include/sys/signal.h: Check for __GO32__, not __i386__ and
13275 not __unix__.
13276
13277Sat May 7 17:07:36 1994 Steve Chamberlain (sac@cygnus.com)
13278
13279 * configure.in (TARGET_CFLAGS): Set -O2 as default.
13280 (z8k-*-*): Use syscalls fake sys dir.
13281 * libc/sys/z8k/glue.c: Rename syscalls.
13282 * libc/sys/go32/Makefile.in: Use new routines.
13283 * libc/machine/Makefile.in: Fix typo in ln stuff.
13284
13285Thu May 5 13:47:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
13286
13287 * Makefile.in (libm.a, crt0.o): Use cp if ln fails.
13288 * libc/Makefile.in (crt0.o): Likewise.
13289 * libc/machine/Makefile.in (lib.a): Likewise.
13290 * libc/sys/Makefile.in (lib.a, crt0.o): Likewise.
13291
13292 All Makefile.in files: Added mostlyclean, realclean and distclean
13293 targets.
13294
13295 * Makefile.in: Don't bother to unexport XTRAFLAGS or
13296 XTRAFLAGS_FOR_TARGET, since they are no longer passed down from
13297 the top level Makefile.
13298
13299Tue Apr 26 15:10:34 1994 Doug Evans (dje@canuck.cygnus.com)
13300
13301 * libc/sys/sparc64/sys/stat.h: New file.
13302 * libc/sys/sparc64/sys/time.h: New file.
13303 * libc/sys/sparc64/sys/types.h: New file.
13304
13305Fri Apr 22 12:58:24 1994 Stan Shebs (shebs@andros.cygnus.com)
13306
13307 * stub/ex93x/crt0.s (start): Add code to clear bss.
13308
13309Wed Apr 13 10:34:58 1994 Doug Evans (dje@canuck.cygnus.com)
13310
13311 * libc/include/sys/types.h (time_t): Properly protect inside
13312 #ifndef __time_t_defined.
13313
13314 * libc/stdio/fileno.c: New file.
13315 * libc/stdio/Makefile.in (OFILES, CHEWOUT_FILES): Add fileno.
13316 (fileno.o): Add dependency.
13317 * libc/include/stdio.h (__sgetc): Rename never to _never.
13318 (fileno macro): Disable, needs to do CHECK_INIT first.
13319
13320Mon Apr 11 17:37:09 1994 Bill Cox (bill@rtl.cygnus.com)
13321
13322 * testsuite/Makefile.in (EXPECT, RUNTEST): Set these for the check
13323 goal.
13324
13325 * testsuite/Makefile.in (check): Set TCL_LIBRARY for runtest.
13326 * testsuite/libm.paranoia/Makefile.in (check): Set TCL_LIBRARY for
13327 runtest.
13328 * testsuite/libm.sac/Makefile.in (check): Set TCL_LIBRARY for
13329 runtest.
13330
13331Sat Apr 9 16:18:09 1994 Doug Evans (dje@cygnus.com)
13332
13333 * libc/sys/sparc64/sys/fcntl.h: New file, define solaris versions
13334 of the various constants.
13335
13336Thu Apr 7 21:19:07 1994 Mark Eichin (eichin@cygnus.com)
13337
13338 * libc/include/math.h: #ifndef __math_68881 around things which
13339 conflict with the (gcc-provided) inline functions in
13340 gcc/ginclude/math-68881.h.
13341
13342Thu Apr 7 02:50:43 1994 Doug Evans (dje@cygnus.com)
13343
13344 * libc/include/_syslist.h (_gettimeofday): Define.
13345 (_times): Ditto.
13346 * libc/include/reent.h: #include <machine/types.h> to get _CLOCK_T_.
13347 (struct tms, timeval, timezone): Declare.
13348 (_gettimeofday_r, _times_r): Declare.
13349 * libc/include/time.h (_CLOCK_T_): Don't #undef. Remove
13350 #ifdef _CLOCK_T_ surrounding definition of clock_t.
13351 (time_t): Add multiple definition protection, __time_t_defined.
13352 * libc/include/sys/time.h: Don't #include <time.h>.
13353 Always define struct timezone (remove #ifndef _TIME_H_).
13354 * libc/include/sys/times.h (_CLOCK_T_): Don't #undef. Remove
13355 #ifdef _CLOCK_T_ surrounding definition of clock_t.
13356 * libc/reent/Makefile.in (OFILES): Add timer.o.
13357 (CHEWOUT_FILES): Add timer.def. Add timer.o/timer.c dependence.
13358 * libc/reent/timer.c: New file.
13359 * libc/time/clock.c: #include <reent.h>.
13360 (clock): Call _times_r instead of times.
13361 * libc/time/time.c (HAVE_GETTIMEOFDAY): Renamed from
13362 HAVE_GET_TIME_OF_DAY.
13363 Add comment regarding supporting OS routine(s) required (for docs).
13364 #include <reent.h>.
13365 (time): Call _gettimeofday_r instead of gettimeofday.
13366 * libc/time/asctime.c: Fix comment regarding supporting OS routines.
13367 * libc/time/ctime.c: Ditto.
13368 * libc/time/strftime.c: Ditto.
13369 * libc/sys/sparc64/Makefile.in (TEMPLATE_SFILES): Remove gettimeofday.
13370 (TEMPLATE_SFILES_R): Define here. Also define times.
13371 Add times_r.o/times.S dependence.
13372 (time2.c, junk.c): Deleted.
13373 * libc/sys/sparc64/time2.c: Deleted.
13374 * configure.in (sparc64-*-*): Define HAVE_GETTIMEOFDAY.
13375
13376 * libc/stdio/mktemp.c (_getpid_r): Renamed from _getpid.
13377 * libc/stdio/tmpnam.c (_getpid_r): Ditto.
13378 * libc/sys/sparc64/junk.c: Deleted.
13379
13380Mon Mar 21 16:51:03 1994 Doug Evans (dje@canuck.cygnus.com)
13381
13382 * libc/sys/sparc64/Makefile.in: Add times syscall.
13383 * libc/sys/sparc64/crt0.S: Handle stack bias at run time so we can
13384 be used with and without it. Add comment clarifying Medium/Anywhere
13385 model requirements.
13386 * libc/sys/sparc64/sigsetjmp.S (setjmp, longjmp): Add svr4 support.
13387 * libc/sys/sparc64/sys/syscall.h (SYS_times): Define for sunos4
13388 even if obsolete.
13389
13390Sun Mar 20 15:51:47 1994 Doug Evans (dje@cygnus.com)
13391
13392 * configure.in (target_cflags): Move init.
13393 (sparc64-*-*): Define HAVE_BLKSIZE.
13394
13395Wed Mar 9 10:44:52 1994 Doug Evans (dje@canuck.cygnus.com)
13396
13397 * libc/include/sys/_types.h: New file.
13398 * libc/include/reent.h: #include it.
13399 Add comment describing REENTRANT_SYSCALLS_PROVIDED and
13400 MISSING_SYSCALL_NAMES.
13401 Sort syscalls.
13402 * libc/include/_syslist.h: Remove _raise.
13403 * libc/reent/signalr.c: New file.
13404 * libc/reent/Makefile.in: Compile it.
13405 * libc/signal/signal.c: Only use ifdef SIMULATED_SIGNALS.
13406 Add doc for raise and _raise_r.
13407 * libc/signal/raise.c: Only use ifndef SIMULATED_SIGNALS.
13408 (raise): Call _raise_r.
13409 (_raise_r): Call _getpid_r and _kill_r.
13410 * libc/stdlib/abort.c: Remove inclusion of stdio.h and _syslist.h.
13411 (abort): Loop forever calling raise and _exit.
13412
13413Mon Mar 7 14:40:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
13414
13415 * configure.in: Remove extraneous echo.
13416
13417Thu Mar 3 12:14:22 1994 Doug Evans (dje@canuck.cygnus.com)
13418
13419 * libc/sys/sparc64/sys/dirent.h (MAXNAMLEN): #undef to avoid
13420 collision with unistd.h, and fix for svr4.
13421
13422Wed Mar 2 13:55:25 1994 Doug Evans (dje@canuck.cygnus.com)
13423
13424 * libc/stdio/local.h (_llicvt): Declare.
13425 (CVT_BUF_SIZE): Define (and buffer size from 512 to 128).
13426 * libc/stdio/cvt.c: Include "local.h" to get CVT_BUF_SIZE.
13427 (_llicvt): Define.
13428 (_sicvt): Fix function header (`value' is short).
13429 * libc/stdio/vfprintf.c (_vfprintf_r): Use CVT_BUF_SIZE.
13430 Add printing of long long's support.
13431 Add printing of 8 byte pointer support.
13432
13433Fri Feb 11 21:52:11 1994 Steve Chamberlain (sac@sphagnum.cygnus.com)
13434
13435 * libc/sys/sh/syscalls.c (pipe, execv, wait, fork, utime, chown,
13436 stat, chmod): New hooks.
13437 (sbrk): Abort if stack and heap collide.
13438 * libc/machine/sh/udivsi3, libc/machine/sh/sdivsi3 Modified to
13439 shortcut when given small args.
13440 * libc/machine/sh/setjmp.s: Rewritten.
13441 * libc/machine/sh/strcmp.s (strcmp): New function takes advantage
13442 of cmp/str instruction.
13443
13444Wed Feb 9 15:12:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
13445
13446 * configure.in: Accept powerpc* as a CPU type, using fp_dir ieeefp
13447 and machine_dir powerpc.
13448 * libc/include/machine/setjmp.h, libc/include/machine/ieeefp.h:
13449 Add cases for __powerpc__.
13450 * libc/machine/powerpc/Makefile.in, libc/machine/powerpc/setjmp.S:
13451 New files.
13452
13453 * libc/include/stdio.h (_iprintf_r): Declare correctly.
13454
13455Thu Jan 27 10:36:27 1994 Steve Chamberlain (sac@cygnus.com)
13456
13457 * libc/stdlib/callocr.c: New file with _calloc_r in it.
13458 * libc/stdlib/calloc.c (calloc_r): Now in callocr.c
13459
13460Thu Jan 20 15:14:37 1994 Doug Evans (dje@canuck.cygnus.com)
13461
13462 * libc/stdlib/ecvtbuf.c (print_f): Remove local "done".
13463 (print_e): More comments to describe args, etc.
13464 "type" arg may now be 'g' or 'G' for %g/G format --> remove
13465 trailing blanks.
13466 (_gcvt): Remove locals decpt, sign, end, p, done.
13467 More comments for print_e invocation.
13468 Pass "type" to print_e as is (g/G).
13469
13470Wed Jan 19 16:34:18 1994 Rob Savoye (rob@darkstar.cygnus.com)
13471
13472 * stub/shared/m68k-crt0.S: Changed so it compiles (and runs) on a
13473 stock m68000.
13474
13475Mon Jan 17 15:41:53 1994 Doug Evans (dje@canuck.cygnus.com)
13476
13477 * libc/stdlib/mallocr.c (_morecore_r): Fix aligning of pointer so it
13478 works with any sized pointer, including ones bigger than ints and
13479 longs.
13480
13481Thu Jan 6 14:53:21 1994 Doug Evans (dje@canuck.cygnus.com)
13482
13483 * libc/sys/sparc64/{time2.c,utime.S,utime2.c}: New files.
13484
13485Sat Dec 11 16:17:20 1993 Steve Chamberlain (sac@thepub.cygnus.com)
13486
13487 * libc/include/stdlib.h (_calloc_r): Add prototype.
13488 * libc/machine/h8500/negsi2.c: New file.
13489 * libc/machine/h8500/divsi3.c: Prevent overflow when dividing v
13490 large unsigned numbers.
13491 * libc/machine/h8500/cmpsi.c: Add cmppsi.
13492 * libc/stdlib/mallocr.c (morecore_r): Fix aligning pointers so it
13493 works when sizeof(size_t) != sizeof(char *).
13494 * libc/stdlib/mprec.c (Balloc): Call calloc rather than malloc to
13495 get play area
13496 * libc/stdlib/mprec.h: Define Just_16 if generating for z8000.
13497
13498Mon Dec 6 15:59:53 1993 Doug Evans (dje@rtl.cygnus.com)
13499
13500 * libc/include/assert.h (assert): Handle -traditional.
13501
13502Tue Nov 16 15:49:24 1993 Mark Eichin (eichin@cygnus.com)
13503
13504 * Makefile.in: added ; after every "fi" and "done" that wasn't at
13505 the end of a line (ie. anything before a backslash continuation)
13506 so that bash handles them.
13507
13508Tue Nov 16 12:31:57 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
13509
13510 * libc/sys/go32/lstat.s: new file, copied from stat.s and renamed
13511 stat to lstat
13512
13513Mon Nov 15 15:50:43 1993 Steve Chamberlain (sac@jonny.cygnus.com)
13514
13515 * libc/sys/sh/crt0.s, libc/sys/sh/trap.s,
13516 libc/machine/sh/sdivsi3.s, libc/machine/sh/setjmp.s,
13517 libc/machine/sh/udivsi3.s: Use new calling convention.
13518
13519Mon Nov 15 15:25:38 1993 Mark Eichin (eichin@cygnus.com)
13520
13521 * libc/include/sys/unistd.h, libc/include/sys/stat.h: ANSI-fy
13522 chmod, access, chdir, chown by making _path const. Also fix _amode
13523 param of access.
13524
13525Fri Nov 12 20:25:28 1993 Mark Eichin (eichin@cygnus.com)
13526
13527 * libc/sys/a29khif/_tmpnam.s (_tmpnam): renamed function to
13528 _khif_tmpnam, because it doesn't comply with ANSI but may be
13529 useful anyway. Real tmpnam was already in libc/stdio, and was
13530 colliding with this one (pr 2176.)
13531 * libc/sys/a29khif/stubs.s (tmpnam): removed tmpnam. This file is
13532 the wrong idea anyhow.
13533
13534Mon Nov 8 07:50:16 1993 Doug Evans (dje@canuck.cygnus.com)
13535
13536 * configure.in: Remove h8300h, we have multilib now.
13537
13538Fri Nov 5 12:37:27 1993 Mark Eichin (eichin@cygnus.com)
13539
13540 * libc/string/strcasecmp.c, libc/string/strncasecmp.c: new
13541 functions, to get preference over the ones in libiberty (since we
13542 provide correct declarations in <string.h>.
13543 * libc/string/Makefile.in: add support for strncasecmp,
13544 strcasecmp.
13545
13546Fri Nov 5 09:05:45 1993 D. V. Henkel-Wallace (gumby@blues.cygnus.com)
13547
13548 * Change netware config not to look for cpu explicitly.
13549
13550Thu Nov 4 14:21:25 1993 Doug Evans (dje@canuck.cygnus.com)
13551
13552 * libc/sys/sparc64/{creat.c,junk.c}: New files.
13553 * libc/sys/sparc64/Makefile.in: Add dependencies.
13554
13555Wed Nov 3 10:42:49 1993 Doug Evans (dje@canuck.cygnus.com)
13556
13557 * configure.in: Clean up v9 a bit, new "os" aoutv8.
13558
13559Tue Nov 2 10:00:44 1993 D. V. Henkel-Wallace (gumby@cygnus.com)
13560
13561 * libc/include/sys/reent.h: make structure smaller by allocating
13562 some stuff when needed.
13563 * libc/signal/signal.c: allocate as needed
13564 * libc/stdio/findfp.c,stdio/local.h: ditto
13565 * libc/stdlib/mprec.c: ditto
13566
13567 * libc/time/localtime.c: don't return a dangling stack ptr.
13568
13569Wed Sep 29 20:42:34 1993 Rob Savoye (rob@darkstar.cygnus.com)
13570
13571 * stub/mvme135/crt0.S, stub/mvme135/glue.c: Moved to stub/generic.
13572
13573Wed Sep 29 16:27:49 1993 K. Richard Pixley (rich@sendai.cygnus.com)
13574
13575 * libc/include/stdio.h (__sputc): comment out static inline which
13576 confuses coff toolchains.
13577
13578Thu Sep 2 16:31:36 1993 Mark Eichin (eichin@cygnus.com)
13579
13580 * libc/sys/a29khif/{_close.s, _fstat.s, _lseek.s, _sbrk.s,
13581 _write.s, getpid.c, kill.c, read.s}:
13582 * libc/sys/a29khif/stubs.s: eliminated stubs that already go
13583 through the syscalls directory.
13584
13585Fri Oct 29 13:59:58 1993 Jeffrey Wheat (cassidy@cygnus.com)
13586
13587 * configure.in: fixed double quote gotcha.
13588
13589Wed Oct 27 15:27:09 1993 Rob Savoye (rob@darkstar.cygnus.com)
13590
13591 * stub/ex931: stub library for sparclite board.
13592 * stub/idp: Renamed from mc68ec. Added contructor table
13593 stuff to linker script.
13594 * stub/mvme135: Renamed from m68kmvme. Added contructor table
13595 stuff to linker script.
13596
13597Tue Oct 26 17:01:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
13598
13599 * configure.in: Configure testsuites only if they exist.
13600
13601Tue Oct 26 12:37:11 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
13602
13603 * configure.in: Don't set machine_dir for i386 until there is
13604 something in libc/machine/i386 to compile. For i[34]86-*-netware*
13605 use sys/netware, don't use signal, define NO_EXEC, ABORT_PROVIDED,
13606 CLOCK_PROVIDED and MALLOC_PROVIDED.
13607
13608 * libc/sys/netware: New directory. Contains simplistic and
13609 probably incorrect stubs for NetWare. Should be enough to load
13610 the library.
13611 * libc/sys/netware/crt0.c, libc/sys/netware/environ.c,
13612 libc/sys/netware/getpid.c, libc/sys/netware/link.c: New NetWare
13613 stub files.
13614
13615 * libc/reent/execr.c: Don't use if NO_EXEC is defined.
13616 * libc/reent/sbrkr.c: Don't use if MALLOC_PROVIDED is defined.
13617 * libc/stdlib/abort.c: Don't use if ABORT_PROVIDED is defined.
13618 * libc/time/clock.c: Don't use if CLOCK_PROVIDED is defined.
13619
13620Mon Oct 25 16:48:08 1993 Roland H. Pesch (pesch@cygnus.com)
13621
13622 * testsuite/Makefile.in: add "docs" dummy target for consistency
13623 with rest of newlib; turn "info" and "install-info" into dummy
13624 targets, since they wouldn't have worked. (Depended on
13625 nonexistent "doc" subdir.)
13626
13627Fri Oct 22 20:37:32 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
13628
13629 * configure.in: handle mips* instead of mips
13630
13631Thu Oct 21 08:57:24 1993 Ian Lance Taylor (ian@cygnus.com)
13632
13633 * libc/include/sys/dirent.h: New file. If it is not overridden by
13634 a version of libc/sys/*/sys/dirent.h, it includes the next
13635 <dirent.h> file in case there is one lurking somewhere.
13636
13637Fri Oct 15 14:17:40 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
13638
13639 * libc/stdlib/strtoul.c (_strtoul_r): Several changes for ANSI
13640 compliance, namely: Accept a minus sign. Consider a single 0 with
13641 a radix of 0 as being a conversion. Determine overflow correctly.
13642 If an overflow occurs, set *ptr to the end of the number, not the
13643 middle.
13644 * lib/stdlib/strtol.c (_strtol_r): Determine overflow correctly.
13645
13646Thu Oct 14 21:49:52 1993 Doug Evans (dje@canuck.cygnus.com)
13647
13648 * libc/machine/h8300/divsi3.S (divmodsi4): Fix h8300h case.
13649
13650Fri Oct 1 17:17:34 1993 Doug Evans (dje@canuck.cygnus.com)
13651
13652 * Makefile.in (INSTALL): Use $srcrootpre.
13653 (crt0.o): Replace $< with $(CRT0_DIR)/$(CRT0), Sun make
13654 can't handle it.
13655 * libc/Makefile.in (crt0.o): Spell out $<, Sun make can't handle
13656 it.
13657 * libc/sys/Makefile.in (crt0.o, lib.a): Ditto.
13658 * stub/Makefile.in (crt0.o, TARGETLIB): Ditto.
13659 * libc/sys/sparc64/Makefile.in (isatty.o): Sun VPATH lossage.
13660 * libm/math/Makefile.in (matherr.o): Ditto.
13661
13662Thu Sep 30 11:09:17 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
13663
13664 * configure.in: Build multidirs for z8k.
13665 * libc/include/stdlib.h (_strtoul_r): add prototype.
13666 * libc/include/machine/limits.h: Get INT_MIN right for all the z8k family.
13667 * libc/include/machine/setjmp.h: Add for z8k.
13668 * libc/machine/z8k/{mulsi.o, udivsi3.o, umodsi3.o, modsi3.o} obsolete.
13669 * libc/sys/z8ksim/glue.c: tidy up.
13670
13671Mon Sep 20 14:04:46 1993 Doug Evans (dje@canuck.cygnus.com)
13672
13673 * libc/unix/{execl.c execle.c execlp.c execv.c execvp.c}:
13674 New files. Requires execve system call.
13675 * libc/unix/Makefile.in: Use them.
13676 * libc/sys/sparc64/{execl.c execle.c execlp.c execv.c execvp.c}:
13677 Deleted, moved to libc/unix.
13678 * libc/sys/sparc64/Makefile.in: Remove them.
13679
13680Mon Sep 20 10:38:32 1993 Doug Evans (dje@canuck.cygnus.com)
13681
13682 * libc/sys/sparc64/{template.S template_r.S}: New files.
13683 * libc/sys/sparc64/Makefile.in: Build source for trivial syscalls
13684 from templates.
13685 * libc/sys/sparc64/{chdir.S chmod.S close.S dup.S fcntl.S
13686 fork.S fstat.S lseek.S link.S mkdir.S open.S pipe.S read.S rmdir.S
13687 umask.S unlink.S wait4.S write.S}: Removed, now built from
13688 templates.
13689
13690Sun Sep 19 14:52:57 1993 Doug Evans (dje@canuck.cygnus.com)
13691
13692 * libc/time/time.c: #include <_ansi.h>.
13693
13694Sun Sep 19 13:43:25 1993 Doug Evans (dje@canuck.cygnus.com)
13695
13696 * configure.in (sparc64-*-*): Remove -D__SIZE_TYPE__.
13697
13698Mon Sep 13 13:52:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
13699
13700 * configure.in: match m8* rather than m88k so that m88110 is
13701 recognized as well.
13702
13703Tue Sep 7 12:19:32 1993 Doug Evans (dje@canuck.cygnus.com)
13704
13705 * libc/sys/h8300hms/{Makefile.in, _exit.c, misc.c}:
13706 Renamed exit.c to _exit.c to avoid collision with stdlib/exit.c.
13707 misc.c: New file.
13708
13709 * configure.in: Add multilib support to h8300.
13710
13711Mon Sep 6 14:07:06 1993 Doug Evans (dje@canuck.cygnus.com)
13712
13713 * libc/stdlib/abort.c (abort): Remove _VOLATILE from return type.
13714 * libc/include/_ansi.h (_ATTRIBUTE): New macro for __attribute__.
13715 * libc/include/stdlib.h (exit, abort): Add noreturn attribute.
13716
13717Mon Sep 6 14:24:18 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
13718
13719 * configure.in: Corrected multidirs for sparc target.
13720
13721Mon Aug 30 15:56:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
13722
13723 Support for building newlib multiple times with different
13724 compilation flags.
13725 * configure.in: Only configure doc at top level. Set multidirs
13726 when appropriate for target, unless not at top level. If
13727 multidirs is set, independently configure each subdirectory.
13728 Adjust TOP, MULTIDIRS and MULTISUBDIR appropriately in Makefile.
13729 * Makefile.in (MULTIDIRS, MULTISUBDIR): New variables,
13730 automagically set by configure.in.
13731 (all): If MULTIDIRS is set, build multiple copies of libraries.
13732 (install): If MULTIDIRS is set, install multiple copies of
13733 libraries. Install in $(tooldir)/lib/$(MULTISUBDIR). If
13734 MULTISUBDIR is set, don't bother to install header files.
13735 * host/any (INCLUDES, CHEW): Use $(SRCTOP) rather than $(TOP) from
13736 ${srcrootpre}.
13737 * stub/configure.in: Set MULTISUBDIR appropriately.
13738 * stub/Makefile.in (install): Install in
13739 $(tooldir)/lib/$(MULTISUBDIR).
13740 * All Makefile.in files: Define SRCTOP as well as TOP.
13741
13742Mon Aug 30 10:34:24 1993 Doug Evans (dje@canuck.cygnus.com)
13743
13744 * libc/machine/h8300/{mulhi3.S, divhi3.S}: Comment out if h8300h.
13745 * libc/machine/h8300/{mulsi3.S, divsi3.S}: Add h8300h support.
13746
13747Thu Aug 26 19:38:12 1993 Doug Evans (dje@canuck.cygnus.com)
13748
13749 * libc/sys/h8300hms/exit.c (_exit): New function.
13750
13751Wed Aug 25 16:31:48 1993 K. Richard Pixley (rich@sendai.cygnus.com)
13752
13753 * configure.in: recognize m88110.
13754
13755Fri Aug 20 16:46:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
13756
13757 * libc/sys/m88kbug/crt0.c: pretty up, remove extraneous comments,
13758 prototype main and call with args.
13759
13760Fri Jul 30 16:52:47 1993 K. Richard Pixley (rich@cygnus.com)
13761
13762 First real try at system traps for m88k-bug.
13763 * libc/sys/m88kbug/syscalls.c: many changes. Convert from stubs
13764 to real trap calls.
13765 * libc/sys/m88kbug/sys/systraps.h: new file.
13766
13767Tue Jul 27 16:31:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
13768
13769 Patches to fix info building when target does not use sys
13770 directory.
13771 * libc/Makefile.in (targetdep.tex): add sys.tex separately.
13772 * libc/sys.tex, libc/sys/sys.tex: moved from libc/sys/sys.tex to
13773 libc/sys.tex.
13774 * libc/sys/Makefile.in (doc): do nothing.
13775
13776Mon Jul 26 17:08:11 1993 K. Richard Pixley (rich@sendai.cygnus.com)
13777
13778 * libc/Makefile.in (CRT0): new macro.
13779 (all): depend on $(CRT0) rather than crt0.o.
13780
13781 * configure.in: fix libc_sys_dir -> libc_sys_lib thinko.
13782 do not default crt0, instead, set crt0 and crt0_dir based on
13783 sys_dir and stub_dir.
13784
13785 * Makefile.in (CRT0_DIR): new macro.
13786 (all): depend on $(CRT0) rather than crt0.o which may not exist.
13787 (crt0.o): depend on $(CRT0_DIR)/$(CRT0) rather than simply
13788 $(CRT0).
13789 ($(CRT0)): recur by cd'ing into $(CRT0_DIR).
13790
13791Sun Jul 25 17:51:51 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
13792
13793 * testsuite/lib/libm.exp:
13794 added code to support compiling and linking of tests for
13795 libm.sac (paranoia to be added next) and processing the
13796 pass or failure of the tests.
13797
13798 * testsuite/config/unix-libm.exp:
13799 platform specific proc's for dealing with compiler, linker
13800 and the way we execute and process the test results.
13801
13802 * testsuite/libm.sac/execute.exp:
13803 generic framework for the sac tests. the config and lib
13804 expect code for specific platforms tie it all together.
13805
13806 * testsuite/libm.sac/test_is.c:
13807 changed the output of the test to be consistant with the
13808 other tests. parsing of pass nad fail messages is now fixed.
13809
13810Fri Jul 23 19:20:07 1993 Per Bothner (bothner@kalessin)
13811
13812 * libc/include/{assert.h, ctype.h, dirent.h, errno.h, fastmath.h,
13813 locale.h, math.h, pwd.h, reent.h, setjmp.h, signal.h, stdio.h,
13814 stdlib.h, string.h, termios.h, time.h, utime.h, utmp.h}: For C++:
13815 #ifdef __cplusplus, surround by extern ""C { ... }.
13816 * libc/include/assert.h: Do *not* protect assert.h against
13817 multiple inclusion! Also, #undef it before #define, to allow
13818 redefinition.
13819 * libc/include/stdio.h (getlogin, cuserid): Removed. These
13820 should be only in unistd.h.
13821
13822 * libc/include/sys/{fcntl.h, reent.h, stat.h, time.h, times.h,
13823 unistd.h}: For C++: #ifdef __cplusplus, surround by extern ""C {
13824 ... }.
13825
13826Fri Jul 23 10:15:33 1993 Doug Evans (dje@canuck.cygnus.com)
13827
13828 * libc/machine/sparc/Makefile.in: Must create a library, even
13829 if empty.
13830
13831Wed Jul 21 16:00:37 1993 K. Richard Pixley (rich@sendai.cygnus.com)
13832
13833 * configure.in: set machine_dir for m88k. edit crt0 definition
13834 into makefiles.
13835
13836 * Makefile.in, libc/Makefile.in (crt0): pull up from lower directories.
13837
13838 * libc/Makefile.in (all): also build crt0.o.
13839
13840 * libc/machine/i386/Makefile.in, libc/machine/sparc/Makefile.in,
13841 libc/machine/z8k/Makefile.in, libm/Makefile.in (clean): no need
13842 to remove CRT0.
13843
13844 * libc/machine/m88k/Makefile.in (TOP, TARGETLIB): removed.
13845 (all): reworked to build in place.
13846 (clean): remove lib.a
13847 (Makefile): remove redundant ./, call $(SHELL) rather than sh.
13848
13849 * libc/sys/m88kbug/crt0.c (start): renamed to _start.
13850 (_start): key off edata rather than _start_bss.
13851
13852Wed Jul 21 14:29:47 1993 david d `zoo' zuhn (zoo@cygnus.com)
13853
13854 * libc/include/sys/unistd.h, libc/include/reent.h,
13855 libc/reent/sbrkr.c: change sbrk to return void* instead of char*.
13856
13857Tue Jul 20 13:19:18 1993 K. Richard Pixley (rich@sendai.cygnus.com)
13858
13859 * libm/Makefile.in, libc/Makefile.in ($(SUBDIRS)): dollar escape a dollar sign.
13860
13861 * Makefile.in (libc.a): break into two rules, one for libc.a and
13862 one for libc/libc.a. Force subdirs current before rebuilding
13863 library.
13864 (libm.a): break into two rules, one for libm.a and one for
13865 libm/libm.a. Force subdirs current before rebuilding library.
13866
13867 * libc/Makefile.in (SUBLIBS): fix typo.
13868
13869 * libc/sys/Makefile.in (all): force descent into subdirs, then
13870 rebuild library iff out of of date.
13871
13872Fri Jul 16 17:47:57 1993 K. Richard Pixley (rich@sendai.cygnus.com)
13873
13874 Rework so that library is built and then finished rather than
13875 being built on each invocation of make.
13876
13877 * host/any (machine_dir, sys_dir, signal_dir): these are not
13878 shared and have been moved to their associated Makefile.in's.
13879 (AR_FLAGS): switch to qc which is faster.
13880 * configure.in: no longer assign machine_dir for m88k. set
13881 stub_dir, stub_lib, & crt0 for m68k*-unknown-{aout,coff}. If
13882 stub_dir set, then add to configdirs. add comment about silly
13883 configuration.
13884 (configdirs): drop stub. It will be added only
13885 when needed.
13886 (libm_fp_lib, libc_unix_lib, libc_signal_lib, libc_machine_lib,
13887 libc_sys_dir, fake_sys_dir, libc_fake_sys_lib, stub_dir,
13888 stub_lib, crt0): new variables for tailoring lower level
13889 makefiles. Assign accordingly and edit into makefiles.
13890 * libm/Makefile.in: updated copyright.
13891 (TARGETLIB): removed.
13892 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir.
13893 (SUBDIRS): removed TARGETDEP_DIRS.
13894 (LIBM_FP_LIB, SUBLIBS): new macros.
13895 (all): reworked.
13896 (force): new target to force rebuilds.
13897 (Makefile): call $(SHELL) rather than sh. drop redundant ./
13898 * libc/sys/a29khif/Makefile.in, libc/sys/decstation/Makefile.in,
13899 libc/sys/go32/Makefile.in, libc/sys/h8300hms/Makefile.in,
13900 libc/sys/h8500hms/Makefile.in, libc/sys/m88kbug/Makefile.in,
13901 libc/sys/sh/Makefile.in, libc/sys/sparc64/Makefile.in,
13902 libc/sys/sun4/Makefile.in, libc/sys/sysvi386/Makefile.in,
13903 libc/sys/sysvnecv70/Makefile.in, libc/sys/z8ksim/Makefile.in,
13904 stub/m68kmvme/Makefile.in: updated copyright.
13905 (TARGETLIB, TARGETCRT0, CRT0): macros removed.
13906 (all): reworked. made this the default rule.
13907 (clean): also remove lib.a.
13908 (Makefile): call $(SHELL) rather than sh. drop redundant ./
13909 * stub/Makefile.in: updated copyright.
13910 (TARGETLIB, TARGETCRT0, CRT0, TOP): removed.
13911 (stub_lib): new macro.
13912 (FLAGS_TO_PASS): removed TARGETLIB, stub_dir, TARGETCRT0. Added
13913 RANLIB.
13914 (all): reworked.
13915 (clean, install): assume stub_dir exists.
13916 (Makefile): depend on configure.in. call $(SHELL) rather than
13917 sh. drop redundant ./
13918 * stub/configure.in (stublib): new macro, assign it, edit it into
13919 makefiles.
13920 * Makefile, libc/Makefile.in, doc/Makefile.in, libc/sys/Makefile.in:
13921 updated copyright.
13922 (all): reworked.
13923 (Makefile): call $(SHELL) rather than sh. drop redundant ./
13924 * libc/Makefile.in (TARGETCRT0): removed.
13925 (FLAGS_TO_PASS): dropped TARGETLIB, machine_dir, sys_dir,
13926 TARGETCRT0.
13927 (SUBDIRS): drop TARGETDEP_DIRS.
13928 (LIBC_SIGNAL_LIB, LIBC_SYS_LIB, LIBC_MACHINE_LIB, LIBC_UNIX_LIB,
13929 LIBC_FAKE_SYS_LIB, SUBLIBS): new macros for configuration.
13930 (force): new target to force rebuilds.
13931 * libc/sys/Makefile.in (TARGETCRT0, sys_dir): removed.
13932 (FLAGS_TO_PASS): TARGETLIB, machine_dir, sys_dir, TARGETCRT0
13933 removed.
13934 (clean): assume sys_dir always exists.
13935 * libm/test/Makefile.in (Makefile): call $(SHELL) rather than sh.
13936 drop redundant ./
13937 * libc/ctype/Makefile.in, libc/errno/Makefile.in,
13938 libc/locale/Makefile.in, libc/machine/Makefile.in,
13939 libc/machine/a29k/Makefile.in, libc/machine/h8300/Makefile.in,
13940 libc/machine/h8500/Makefile.in, libc/machine/i386/Makefile.in,
13941 libc/machine/i960/Makefile.in, libc/machine/m68k/Makefile.in,
13942 libc/machine/mips/Makefile.in, libc/machine/necv70/Makefile.in,
13943 libc/machine/sh/Makefile.in, libc/machine/sparc/Makefile.in,
13944 libc/machine/z8k/Makefile.in, libc/reent/Makefile.in,
13945 libc/signal/Makefile.in, libc/stdio/Makefile.in,
13946 libc/stdlib/Makefile.in, libc/string/Makefile.in,
13947 libc/sys/Makefile.in, libc/syscalls/Makefile.in,
13948 libc/time/Makefile.in, libc/unix/Makefile.in,
13949 libm/ieeefp/Makefile.in, libm/math/Makefile.in: updated copyright.
13950 (TARGETLIB): removed.
13951 (all): reworked.
13952 (clean): also remove lib.a.
13953 (Makefile): call $(SHELL) rather than sh. drop redundant ./
13954 * Makefile.in: (machine_dir, sys_dir, stub_dir, stub_lib, CRT0):
13955 new macros.
13956 (SUBDIRS): moved to follow frag inclusion, change stub to
13957 stub_dir.
13958 (FLAGS_TO_PASS): removed machine_dir, sys_dir, signal_dir which
13959 are now set in the libc Makefile.
13960 * libc/machine/Makefile.in (TARGETCRT0, machine_dir): removed.
13961 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir,
13962 TARGETCRT0.
13963 (force): new target to force rebuilds.
13964 * stub/configure.in: determine and set stub_lib for for Makefile.
13965
13966Thu Jul 15 12:01:27 1993 Doug Evans (dje@canuck.cygnus.com)
13967
13968 * libc/sys/h8300hms/Makefile.in: Make `all' the default target.
13969 crt0.s renamed to crt0.S.
13970 * libc/sys/h8300hms/crt0.S: Add h8/300h support.
13971
13972 * libc/machine/h8300/Makefile.in: Make `all' the default target.
13973 * libc/machine/h8300/{cmpsi.S,ucmpsi.S}: #ifdef out entire file if
13974 h8300h.
13975 * libc/machine/h8300/defines.h: Add macros to handle pointers for
13976 h8300 (16 bits) and h8300h (32 bits).
13977 * libc/machine/h8300/{divsi3.S,mulsi3.S,memcpy.S,memset.S,
13978 reg_memcpy.S,reg_memset.S,strcmp.S}: Add h8300h support.
13979
13980Thu Jul 15 10:13:29 1993 Ian Lance Taylor (ian@cygnus.com)
13981
13982 * libc/machine/m88k/setjmp.S, Makefile.in: New files; a simple
13983 implementation of setjmp and longjmp for the m88k.
13984 * libc/include/machine/setjmp.h: Added __m88000__ case.
13985
13986Wed Jul 14 10:10:30 1993 Doug Evans (dje@canuck.cygnus.com)
13987
13988 * configure.in: Recognize h8300h as variant of h8300.
13989
13990Tue Jul 13 12:24:11 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
13991
13992 * libc/include/sys/unistd.h (read, write): get prototypes right.
13993 (sbrk): New prototype.
13994 * libc/reent/sbrkr.c (sbrkr): Use correct sbrk prototype.
13995 * libc/stdio/local.h: Include unistd.h.
13996 * libc/machine/h8300/syscalls.c: Names have changed.
13997
13998Mon Jul 12 18:08:42 1993 K. Richard Pixley (rich@cygnus.com)
13999
14000 * configure.in: add sys_dir assignment for m88k-bug.
14001
14002Thu Jul 8 09:16:21 1993 Doug Evans (dje@canuck.cygnus.com)
14003
14004 * libc/sys/sparc64/sys/syscallasm.h: New macros to handle either
14005 a.out or elf.
14006 * libc/sys/sparc64: all *.S files: Use new macros.
14007 * libc/sys/sparc64/isatty.c: New file.
14008 * libc/sys/sparc64/Makefile.in: Stop using /lib/libc.a for
14009 functions beyond what newlib provides.
14010
14011Thu Jul 8 09:11:28 1993 Doug Evans (dje@canuck.cygnus.com)
14012
14013 * libc/include/sys/stat.h: Move st_atime so not doubly defined for
14014 svr4.
14015
14016Thu Jul 8 09:09:16 1993 Doug Evans (dje@canuck.cygnus.com)
14017
14018 * libc/include/machine/ieeefp.h: Add support for h8/300h.
14019
14020Fri Jul 2 10:11:20 1993 K. Richard Pixley (rich@cygnus.com)
14021
14022 * configure.in: add m88k.
14023 * libc/include/machine/ieeefp.h: add case for m88k. Also add
14024 sanity check so no one else need ever chase what I did to find
14025 this.
14026
14027 * libm/math/Makefile.in (FAKEC): added atanf.c log1pf.c scalbnf.c.
14028
14029Fri Jul 2 09:15:21 1993 Ian Lance Taylor (ian@cygnus.com)
14030
14031 * doc/makedoc.c: Include <ctype.h>.
14032
14033Wed Jun 30 09:35:06 1993 Doug Evans (dje@canuck.cygnus.com)
14034
14035 * libc/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
14036 * libc/sys/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
14037 * libc/machine/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
14038
14039 * libm/test/Makefile.in (all): Link with ../../lib[cm].a.
14040
14041Sun Jun 27 17:05:20 1993 Doug Evans (dje@sphagnum.cygnus.com)
14042
14043 * libc/include/errno.h (ENOSYS): Added.
14044
14045 * libc/unix/getpwd.c (getcwd): Fix typo (_up -> up).
14046
14047Mon Jun 21 09:03:32 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
14048
14049 * libc/stdio/fflush.c (fflush): Check for reent struct
14050 initialization.
14051 * libc/stdio/fdopen.c (fdopen): Avoid namespace conflict.
14052
14053Fri Jun 18 16:06:05 1993 Mark Eichin (eichin@rtl.cygnus.com)
14054
14055 * libc/stdlib/dtoastub.c: new file -- move user callable "dtoa"
14056 out of dtoa.c so it doesn't pollute the namespace.
14057 * libc/include/_syslist.h: new file -- mappings from _function to
14058 function, for systems where we can't win (by default, all of them,
14059 until we start updating system calls.)
14060 * libc/syscalls: new directory -- stubs for exporting _function
14061 names as unmodified function names.
14062 * libc/configure.in: add MISSING_SYSCALL_NAMES to enable
14063 _syslist.h on all platforms by default, but put hooks in for
14064 fake_sys_dir so we can include it when we've renamed the system
14065 calls.
14066 * libc/reent/execr.c libc/reent/filer.c libc/reent/fstatr.c
14067 libc/reent/linkr.c libc/reent/sbrkr.c libc/reent/statr.c
14068 libc/signal/raise.c libc/signal/signal.c libc/stdio/fdopen.c
14069 libc/stdio/mktemp.c libc/stdio/tmpnam.c libc/stdlib/abort.c
14070 libc/stdlib/system.c libc/unix/getcwd.c libc/unix/getlogin.c
14071 libc/unix/getpass.c libc/unix/getut.c libc/unix/ttyname.c: change
14072 non ANSI functions to call _function.
14073
14074Wed Jun 9 09:48:26 1993 Ian Lance Taylor (ian@cygnus.com)
14075
14076 * libc/stdlib/strtoul.c (_strtoul_r): Handle leading 0 correctly
14077 when base 16 is specified. Don't accept non-digits if radix > 10.
14078
14079Thu Jun 3 10:01:15 1993 Doug Evans (dje@canuck.cygnus.com)
14080
14081 * libc/include/math.h: Rename xxx_r fns to _xxx_r.
14082
14083Wed Jun 2 16:54:16 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
14084
14085 * libc/include/sys/stat.h: Surround text after #endif with
14086 comments.
14087
14088Wed Jun 2 12:47:32 1993 Ian Lance Taylor (ian@cygnus.com)
14089
14090 * libc/stdlib/mallocr.c: If MALLOC_PROVIDED is defined, just make
14091 _malloc_r, _realloc_r, and free_r call the corresponding
14092 non-reentrant functions.
14093
14094 * libm/math/modf.c (modf): We now take the address of ipart, so
14095 don't make it a register variable.
14096
14097Tue Jun 1 18:25:54 1993 Doug Evans (dje@canuck.cygnus.com)
14098
14099 * libm/math/*: Rename all xxx_r fns to _xxx_r.
14100
14101Wed May 26 22:06:35 1993 Roland H. Pesch (pesch@cygnus.com)
14102
14103 * libc/libc.texinfo and embedded docn throughout: formatting
14104 improvements, minor rephrasing for clarity, and improved
14105 reentrancy docn.
14106
14107Sun May 23 17:29:49 1993 Steve Chamberlain (sac@thepub.cygnus.com)
14108
14109 * libm/ieeefp/infinity.c (maxpowtwof): Fix initialzation bug.
14110
14111 * libc/stdio/cvt.c (_licvt): Print the right value on machines
14112 where sizeof(int) != sizeof(long).
14113
14114Fri May 21 22:09:32 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
14115
14116 * libc/reent/execr.c, libc/reent/filer.c, libc/reent/linkr.c,
14117 libc/reent/sbrkr.c, libc/reent/statr.c, libc/stdio/tmpnam.c,
14118 libc/stdlib/atol.c, libc/stdlib/rand.c, libc/string/strpbrk.c,
14119 libc/string/strspn.c, libm/ieeefp/isnan.c, libm/math/bessel.c,
14120 libm/math/matherr.c: changes for better docn formatting (info).
14121
14122 * libc/libc.texinfo, libc/ctype/ctype.tex, libc/locale/locale/tex,
14123 libc/reent/reent.tex, libc/signal/signal.tex,
14124 libc/stdio/stdio.tex, libc/stdlib/stdlib.tex,
14125 libc/string/strings.tex, libc/sys/sys.tex, libc/time/time.tex,
14126 libm/libm.texinfo, libm/ieeefp/ieeefp.tex, libm/math/math.tex: use
14127 makeinfo node defaulting to get better Info file node structure.
14128 (Requires recent sac change to doc/makedoc.c and doc/doc.str.)
14129 Also include a few formerly missing sections (subroutines).
14130
14131 * doc/doc.str: delete fossil expansion for "func"
14132
14133 * default.menu, no-signal.menu: delete.
14134
14135 * Makefile.in, libc/Makefile.in, configure.in, host/any: simplify
14136 method used to adjust doc for missing "signals" chapter when
14137 signal_dir is empty.
14138
14139Thu May 20 21:38:37 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
14140
14141 * configure.in: added testsuite/libm.sac
14142
14143Wed May 19 14:52:34 1993 Doug Evans (dje@thepub.cygnus.com)
14144
14145 * libc/sys/sparc64/crt0.S: Set %g4 to 0 (to test Medium/Anywhere
14146 code model).
14147
14148Tue May 18 13:17:21 1993 Ian Lance Taylor (ian@cygnus.com)
14149
14150 * libm/Makefile.in: Use $(MAKE) rather than make, and define
14151 MAKEOVERRIDES to be empty.
14152
14153Mon May 17 08:42:44 1993 Ian Lance Taylor (ian@cygnus.com)
14154
14155 * configure.in: Don't build mips-*-* with -msoft-float, since that
14156 makes it incompatible with hard floating point.
14157
14158Mon May 17 00:03:35 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
14159
14160 * Makefile.in: added recursive 'make check'
14161
14162Thu May 13 16:24:18 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
14163
14164 * configure.in: added ./testsuite ./testsuite/libm.paranoia
14165 * ./testsuite/Makefile.in: created
14166 * ./testsuite/libm.paranoia: paranoia tests added
14167
14168Thu May 13 10:30:24 1993 Ian Lance Taylor (ian@cygnus.com)
14169
14170 * configure.in: For mips-*-* set machine_dir to mips.
14171
14172 * libc/machine/mips: New directory.
14173 * libc/machine/mips/Makefile.in: New file.
14174 * libc/machine/mips/setjmp.S: New file; simplistic MIPS version of
14175 setjmp and longjmp.
14176 * libc/include/machine/setjmp.h: Added __mips__ case.
14177
14178 * libc/machine/lmips: Removed unused and useless directory.
14179
14180Mon May 3 10:22:31 1993 Ian Lance Taylor (ian@cygnus.com)
14181
14182 * configure.in: Accept i486-*-sco* as well as i386-*-sco*.
14183
14184Thu Apr 15 15:16:44 1993 Doug Evans (dje@canuck.cygnus.com)
14185
14186 * libc/sys/sparc64/crt0.S: Add comment (%g1 contains atexit arg at
14187 start up).
14188
14189Fri Apr 9 13:32:26 1993 Ian Lance Taylor (ian@cygnus.com)
14190
14191 * libc/include/machine/setjmp-dj.h: Use _SETJMP_DJ_H rather than
14192 SETJMP_H.
14193
14194Thu Apr 8 10:07:18 1993 Doug Evans (dje@canuck.cygnus.com)
14195
14196 * libm/test/convert.c: structure member errno -> errno_val.
14197 Must include <errno.h> to use errno, it's a macro now.
14198 * libm/test/math.c: Ditto.
14199 * libm/test/math2.c: Include errno.h.
14200 * libm/test/string.c: Ditto.
14201 * libm/test/test.h: structure member errno -> errno_val.
14202 Remove extern int errno decl.
14203
14204Thu Apr 8 07:56:33 1993 Ian Lance Taylor (ian@cygnus.com)
14205
14206 * libc/stdio/Makefile.in: Added dependencies on local header
14207 files.
14208 * libc/stdio/std.h, libc/stdio/vfprintf.h: Removed unused header
14209 files.
14210
14211Wed Apr 7 16:19:32 1993 Ian Lance Taylor (ian@cygnus.com)
14212
14213 * libc/include/machine/ieeefp.h: Added __MIPSEB__ case.
14214
14215Wed Apr 7 10:55:21 1993 Doug Evans (dje@canuck.cygnus.com)
14216
14217 * libc/stdio/siprintf.c libc/stdio/sscanf.c libc/stdio/vsprintf.c:
14218 Initialize _data.
14219
14220 * libc/stdio/vfprintf.c: No need to declare _icvt, _licvt, _sicvt.
14221 * libc/stdio/local.h: Add prototype for _licvt.
14222
14223 * libc/stdio/ungetc.c (__submore): Use _malloc_r,_realloc_r
14224 instead of malloc,reealloc.
14225
14226 * libc/stdlib/local.h: New file.
14227 * libc/stdlib/efgcvt.c: #include local.h.
14228 (gcvt): Fix call to _gcvt.
14229 * libc/stdlib/ecvtbuf.c: #include local.h.
14230
14231 * libc/stdlib/Makefile.in: new files mallocr.c mstats.c.
14232 * libc/stdlib/mallocr.c mstats.c malloc.h: New files.
14233 * libc/stdlib/malloc.c: main routines moved to mallocr.c.
14234
14235 * libc/stdlib/atexit.c: moved global data to struct _reent.
14236 * libc/stdlib/exit.c: use struct _atexit in struct _reent.
14237
14238 * libc/reent/reent.c (inpure_data): _REENT_INIT macro modified.
14239
14240Wed Apr 7 09:41:50 1993 Doug Evans (dje@canuck.cygnus.com)
14241
14242 * libc/include/sys/reent.h: Stuff required by ANSI headers moved
14243 here from ../reent.h.
14244
14245Tue Apr 6 12:56:01 1993 Ian Lance Taylor (ian@cygnus.com)
14246
14247 * Makefile.in (MATHOBJS_IN_LIBC): List of object files which
14248 should be provided in both libc.a and libm.a.
14249 (libc.a): Depend on targ-include and libm.a. Copy
14250 $(MATHOBJS_IN_LIBC) from libm.a to libc.a.
14251 (libm.a): Depend on targ-include.
14252 * configure.in (subdirs): Removed libc/math.
14253
14254Mon Apr 5 10:18:16 1993 Steve Chamberlain (sac@thepub.cygnus.com)
14255
14256 * libm/ieeefp/infinity.c (maxpowtwo): Fix initialization bug.
14257
14258Sat Apr 3 11:06:07 1993 Doug Evans (dje@canuck.cygnus.com)
14259
14260 * libc/include/{errno.h, math.h, stdio.h, stdlib.h}: Use
14261 sys/reent.h instead of reent.h.
14262 * libc/include/reent.h: Split into two parts: stuff needed by ANSI
14263 headers moved to sys/reent.h.
14264 * libc/include/signal.h: _MAX_SIGNALS moved to sys/signal.h.
14265 * libc/include/sys/signal.h: Define _MAX_SIGNALS if
14266 __need__MAX_SIGNALS defined.
14267 * libc/include/stdio.h: struct __sFILE moved to sys/reent.h.
14268 std{in,out,err} refer to new _std{in,out,err} members.
14269
14270Fri Apr 2 11:27:12 1993 Doug Evans (dje@canuck.cygnus.com)
14271
14272 * libc/include/sys/signal.h: #define _SYS_SIGNAL_H for general
14273 case.
14274
14275Fri Apr 2 09:41:10 1993 Doug Evans (dje@canuck.cygnus.com)
14276
14277 * libc/sys/sparc64/execve.S (execve): Insert nop in delay slot,
14278 rather than whatever macro seterrno() has.
14279
14280Thu Apr 1 16:47:08 1993 Doug Evans (dje@canuck.cygnus.com)
14281
14282 * libc/locale/locale.c: Reentrant routines _r_xxx renamed to
14283 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
14284
14285 * libc/include/machine/fastmath.h: Use _HAVE_STDC instead of
14286 __STDC__.
14287
14288 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, reent.c,
14289 reent.tex, sbrkr.c, statr.c}: _r_xxx reentrant routines renamed to
14290 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
14291
14292 * libc/signal/signal.c: Reentrant routines _r_xxx renamed to
14293 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
14294
14295 * libc/stdio/{fclose.c, fdopen.c, findfp.c, fiprintf.c, flags.c,
14296 fopen.c, fprintf.c, freopen.c, fscanf.c, fseek.c, ftell.c,
14297 fwalk.c, getchar.c, gets.c, iprintf.c, local.h, makebuf.c,
14298 mktemp.c, perror.c, printf.c, putchar.c, puts.c, refill.c,
14299 remove.c, rename.c, scanf.c, setvbuf.c, siprintf.c, sprintf.c,
14300 sscanf.c, stdio.c, tmpfile.c, tmpnam.c, vfprintf.c, vfprintf.h,
14301 vfscanf.c, vprintf.c, vsprintf.c}: Reentrant routines _r_xxx
14302 renamed to _xxx_r. struct reent_struct renamed to struct _reent
14303 for ANSI. structure members given leading "_" for ANSI. Use
14304 _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
14305
14306 * libc/stdlib/{__adjust.c, calloc.c, dtoa.c, ecvtbuf.c, malloc.c,
14307 mprec.c, mprec.h, rand.c, std.h, strtod.c, strtol.c, strtoul.c,
14308 system.c}: Reentrant routines _r_xxx renamed to _xxx_r. struct
14309 reent_struct renamed to struct _reent for ANSI.
14310 Structure members given leading "_" for ANSI.
14311 _CONST --> const in prototypes.
14312 Use _HAVE_STDC instead of __STDC__.
14313
14314 * libc/string/strtok.c: Reentrant routines _r_xxx renamed to
14315 _xxx_r.
14316 struct reent_struct renamed to struct _reent for ANSI.
14317 Structure members given leading "_" for ANSI.
14318
14319 * libc/time/asctime.c: Reentrant routines _r_xxx renamed to
14320 _xxx_r.
14321 struct reent_struct renamed to struct _reent for ANSI.
14322
14323 * libm/math/{acos.h, acosh.h, asin.c, asinh.h, atanh.h, bessel.h,
14324 cbrt.h, cosh.h, erf.c, erf.h, error.c, exp.c, fmod.c, frexp.h,
14325 gamma.h, hypot.h, ldexp.c, log.h, log10.c, log1p.c log2.c,
14326 mathimpl.h, pow.c, remainder.c, sincos.c, sinh.h, sqrt.h, tan.c,
14327 tanh.h}: struct reent_struct renamed to struct _reent for ANSI.
14328
14329 * libc/include/{_ansi.h, ctype.h, math.h, reent.h, locale.h,
14330 signal.h, stdio.h, stdlib.h, string.h, time.h}:
14331 Use _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
14332 #ifndef _STRICT_ANSI non-ANSI routines.
14333 Reentrant routines renamed from _r_xxx to _xxx_r.
14334 No need to use _STRICT_ANSI on _xxx_r reentrant routines.
14335 Use _STRICT_ANSI instead of __STRICT_ANSI, _ANSI_SOURCE, etc.
14336 Clean up namespace (structure members have leading "_").
14337 struct reent_struct renamed to struct _reent for ANSI compliance.
14338 _CONST --> const in function prototypes.
14339
14340 * libc/include/string.h: Add NULL and size_t.
14341
14342 * libc/sys/sparc64/Makefile.in: New syscall routines for link,
14343 unlink, wait, wait4. Reentrant syscall routines close, fork,
14344 fstat, link, lseek, open, read, sbrk, stat, unlink, wait, wait4,
14345 write.
14346 * libc/sys/sparc64/cerror.S (cerror_r): New routine.
14347 * libc/sys/sparc64/{close.S, fork.S, fstat.S, link.S, lseek.S,
14348 open.S, read.S, sbrk.S, stat.S, unlink.S, wait.S, wait4.S,
14349 write.S}: Define reentrant versions.
14350 * libc/sys/sparc64/sys/syscallasm.h (defsyscall_r): New macro for
14351 reentrant syscalls.
14352
14353 * libc/sys/sparc64/crt0.S (start): Fix initialization of environ.
14354
14355 * libc/include/stdlib.h (RAND_MAX): Fix value.
14356
14357Thu Apr 1 12:28:30 1993 Ian Lance Taylor (ian@cygnus.com)
14358
14359 * libc/sys/a29khif/_main.c: Removed unnecessary file.
14360 * libc/sys/a29khif/Makefile.in (OFILES): Removed _main.c, moved
14361 VPATH support targets after all: target.
14362
14363 * stub/mvme135/mvme.S: Renamed exceptionhandler to
14364 exceptionHandler, which is what mvme135-stub.c expects.
14365
14366Wed Mar 31 17:42:03 1993 Doug Evans (dje@cygnus.com)
14367
14368 * libc/stdio/tmpnam.c (worker): Fix test for _r_open() failure.
14369
14370 * libc/unix/getpass.c (getpass): Use stdin,stderr instead of
14371 def_stdin/def_stderr (latter removed from stdio.h to make it ANSI
14372 compliant).
14373
14374Tue Mar 30 09:58:21 1993 Doug Evans (dje@canuck.cygnus.com)
14375
14376 * libc/reent/execr.c (_r_wait): Re-order args to make reent_struct
14377 first.
14378 libc/reent/filer.c (_r_open, _r_close, _r_lseek, _r_read,
14379 _r_write): Ditto.
14380 libc/reent/fstatr.c (_r_fstat): Ditto.
14381 libc/reent/linkr.c (_r_link, _r_unlink): Ditto.
14382 libc/reent/sbrkr.c (_r_sbrk): Ditto.
14383 libc/reent/statr.c (_r_stat): Ditto.
14384
14385 * libc/stdio/fopen.c (_r_fopen): Re-order args to _r_open.
14386 * libc/stdio/freopen.c (freopen): Ditto for _r_open, _r_free.
14387 * libc/stdio/fseek.c (fseek): Ditto for _r_fseek.
14388 * libc/stdio/makebuf.c (__smakebuf): Ditto for _r_fstat.
14389 * libc/stdio/mktemp.c (_gettemp): Ditto for _r_stat, _r_open.
14390 * libc/stdio/remove.c (_r_remove): Ditto for _r_unlink.
14391 * libc/stdio/rename.c (_r_rename): Ditto for _r_link, _r_unlink.
14392 * libc/stdio/stdio.c (__sread): Ditto for _r_read.
14393 (__swrite): Ditto for _r_lseek, _r_write.
14394 (__sseek): Ditto for _r_lseek.
14395 (__close): Ditto for _r_close.
14396 * libc/stdio/tmpnam.c (worker): Ditto for _r_open, _r_close.
14397
14398 * libc/stdlib/malloc.c (_r_morecore): Re-order args to _r_sbrk.
14399 * libc/stdlib/system.c (_r_system): Ditto for _r_wait.
14400
14401 * libc/include/reent.h: Re-order arguments to _r_xxx syscall fns
14402 to make reent_struct the first argument (and thus consistent with
14403 the rest of newlib).
14404
14405 * stub/mvme135/mvme135-stub.c (initializeRemcomErrorFrame): Remove
14406 reference to __STDC__.
14407
14408Mon Mar 29 12:34:32 1993 Doug Evans (dje@canuck.cygnus.com)
14409
14410 * libc/stdlib/exit.c (exit): Use _REENT->__cleanup instead of
14411 global __cleanup.
14412
14413Wed Mar 24 11:54:35 1993 Doug Evans (dje@canuck.cygnus.com)
14414
14415 * libc/stdio/freopen.c (freopen): Ensure stdio is initialized
14416 first.
14417 libc/stdio/fclose.c (fclose): Ditto.
14418
14419Tue Mar 23 01:26:52 1993 Doug Evans (dje@rtl.cygnus.com)
14420
14421 * Run through indent and rename reentrant routines for ANSI.
14422 libc/stdio/{clearerr.c cvt.c fclose.c fdopen.c feof.c ferror.c
14423 fflush.c fgetc.c fgetpos.c fgets.c findfp.c fiprintf.c flags.c
14424 fopen.c fprintf.c fputc.c fputs.c fread.c freopen.c fscanf.c
14425 fseek.c fsetpos.c ftell.c fvwrite.c fwalk.c fwrite.c getc.c
14426 getchar.c gets.c iprintf.c makebuf.c mktemp.c perror.c printf.c
14427 putc.c putchar.c puts.c refill.c remove.c rename.c rewind.c rget.c
14428 scanf.c setbuf.c setvbuf.c siprintf.c sprintf.c sscanf.c stdio.c
14429 tmpfile.c tmpnam.c ungetc.c vfprintf.c vfscanf.c vprintf.c
14430 vsprintf.c wbuf.c wsetup.c local.h}
14431
14432 * libc/locale/locale.c: Reformat and rename for ANSI, GNU style.
14433
14434 * Run through indent and rename xxx_r fns to _r_xxx for ANSI.
14435 libc/stdlib/{__adjust.c __exp10.c __ten_mu.c abort.c abs.c
14436 assert.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c
14437 dtoa.c ecvtbuf.c efgcvt.c exit.c getenv.c labs.c ldiv.c malloc.c
14438 mbtowc.c mprec.c putenv.c qsort.c rand.c setenv.c strdup.c
14439 strtod.c strtol.c strtoul.c system.c wctomb.c mprec.h}
14440
14441 * Run through indent.
14442 libc/string/{bcmp.c bcopy.c bzero.c index.c memchr.c memcmp.c
14443 memcpy.c memmove.c memset.c rindex.c strcat.c strchr.c strcmp.c
14444 strcoll.c strcpy.c strcspn.c strerror.c strlen.c strncat.c
14445 strncmp.c strncpy.c strpbrk.c strrchr.c strspn.c strstr.c strtok.c
14446 strxfrm.c}
14447
14448 * libc/time/{asctime.c clock.c ctime.c difftime.c gmtime.c
14449 localtime.c mktime.c strftime.c time.c}:
14450 Run through indent and rename xxx_r (reentrant) fns to _r_xxx for ANSI.
14451
14452 * Reformatting + renaming (for ANSI, GNU style, consistency).
14453 libc/include/{_ansi.h, assert.h, ctype.h, errno.h, fastmath.h,
14454 ieeefp.h, locale.h, math.h, paths.h, pwd.h, reent.h, setjmp.h,
14455 signal.h, stdio.h, stdlib.h, string.h, time.h, unistd.h}
14456
14457Fri Mar 19 11:28:01 1993 Doug Evans (dje@cygnus.com)
14458
14459 * libc/include/stdio.h (stdin_r): Fix.
14460
14461Fri Mar 19 09:43:48 1993 Ian Lance Taylor (ian@cygnus.com)
14462
14463 * Makefile.in: Unexport some variables to keep GNU make from
14464 putting them in the environment and using up needed ARG_MAX space
14465 (a hack is used to let this work with older makes as well).
14466
14467Tue Mar 16 15:11:08 1993 Ian Lance Taylor (ian@cygnus.com)
14468
14469 * Makefile.in: Use $(MAKE) rather than make.
14470 (MAKEOVERRIDES): Define to be empty.
14471 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
14472 (libc.a, libm.a): Depend on targ-include.
14473 * host/any (LD): Don't define.
14474 (INCLUDES): Use targ-include.
14475 * stub/Makefile.in (MAKEOVERRIDES): Define to be empty.
14476 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
14477 * libc/Makefile.in: Use $(MAKE) rather than make.
14478 (MAKEOVERRIDES): Define to be empty.
14479 (FLAGS_TO_PASS): Don't pass LD (it's not used).
14480 (all): Rewrote to be slightly smaller.
14481 * libc/machine/Makefile.in, libc/sys/Makefile.in (MAKEOVERRIDES):
14482 Define to be empty.
14483 (FLAGS_TO_PASS): Don't pass LD (it's not used).
14484 * libm/Makefile.in (FLAGS_TO_PASS): Don't pass LD (it's not used).
14485
14486Mon Mar 15 08:45:41 1993 Ian Lance Taylor (ian@cygnus.com)
14487
14488 * libc/sys/go32/gerrno.s: Renamed from errno.s to avoid conflict
14489 with errno/errno.c.
14490
14491Fri Mar 12 09:46:54 1993 Ian Lance Taylor (ian@cygnus.com)
14492
14493 * Changes for reentrancy.
14494 libc/stdio/fdopen.c, libc/stdio/freopen.c, libc/stdio/perror.c:
14495 Use ptr->_errno, not errno.
14496 libc/stdio/mktemp.c (mkstemp_r, mktemp_r): New functions.
14497 libc/stdio/remove.c (remove_r): New function.
14498 libc/stdio/rename.c (rename_r): New function.
14499 libc/stdio/fopen.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
14500 libc/stdio/makebuf.c, libc/stdio/mktemp.c, libc/stdio/remove.c,
14501 libc/stdio/rename.c, libc/stdio/stdio.c, libc/stdio/tmpnam.c: Use
14502 reentrant versions of system calls.
14503 libc/stdio/gets.c: Call getchar_f, not nonexistent getchar_r.
14504 libc/stdio/scanf.c: Use stdin_r, not nonexistent stdin_n.
14505 libc/stdio/tmpfile.c: Use tmpnam_f, not nonexistent tmpnam_r.
14506 libc/stdio/findfp.c: Include <string.h>.
14507 libc/stdio/fread.c, libc/stdio/rget.c, libc/stdio/scanf.c: Include
14508 "local.h".
14509 libc/stdio/wbuf.c: Include "fvwrite.h"
14510
14511 * libc/stdlib/{dtoa.c, ecvtbuf.c, mprec.c, strtod.c}: Include
14512 <string.h>.
14513 libc/stdlib/malloc.c: Call sbrk_r rather than sbrk.
14514 (NULL): Don't define if already defined.
14515 libc/stdlib/system.c: Call reentrant versions of system calls.
14516 (system_r): New function.
14517
14518 * Changes for reentrancy.
14519 libc/include/_ansi.h (_PARAMS): New macro.
14520 libc/include/errno.h: Define errno as a macro that calls __errno.
14521 (__errno_r): New macro for reentrant code.
14522 libc/include/math.h: Include reent.h. Declare many reentrant
14523 functions.
14524 (signgam): Now a macro, not a variable.
14525 (struct exception): Added err field.
14526 libc/include/reent.h: Don't declare __sglue. Added function
14527 declarations.
14528 (struct reent_struct): Moved errno to beginning. Added _signgam.
14529 libc/include/stdio.h, libc/include/stdlib.h: Added function
14530 declarations.
14531
14532 * More reentrancy hacking.
14533 libc/errno/errno.c (__errno): New function.
14534 libc/reent/execr.c, libc/reent/filer.c, libc/reent/fstatr.c,
14535 libc/reent/linkr.c, libc/reent/sbrkr.c, libc/reent/statr.c: New
14536 files.
14537
14538 * Added many new reentrant functions to libm/math/*.
14539 libm/math/error.c (__matherror): Added reent_struct pointer
14540 argument. Changed all callers.
14541 libm/math/gamma.c (signgam): Removed. Set ptr->_signgam, instead.
14542 libm/math/exp.h, libm/math/pow.h, libm/math/sincos.h,
14543 libm/math/tan.h: Removed obsolete unused header files.
14544
14545 * libc/sys/a29khif/stubs.s: Use register lr0, not v0.
14546
14547 * libc/sys/sun/Makefile.in (COPYOFILES): Don't pull in errno.o.
14548
14549Mon Mar 8 16:43:43 1993 Steve Chamberlain (sac@thepub.cygnus.com)
14550
14551 * libc/sys/a29khif/stubs.s: clobber safe register, and fill all
14552 delay slots.
14553
14554Tue Mar 2 14:47:00 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
14555
14556 * libc/libc.texinfo: comment out reentrancy chapter (duh)
14557
14558Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
14559
14560 * libc/reent/reent.tex: New file. (text from
14561 newlib/libc/libc.texinfo)
14562 * libc/stdio/tmpnam.c: fixed doc typo
14563 * libc/stdlib/rand.c: fixed doc typo
14564
14565Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
14566
14567 * libc/reent/reent.tex: New file. (text from
14568 newlib/libc/libc.texinfo)
14569
14570Fri Feb 26 12:20:54 1993 Steve Chamberlain (sac@thepub.cygnus.com)
14571
14572 support for reentrancy
14573 * libc/reent/reent.c, libc/reent/Makefile.in, libc/reent/reent.c:
14574 new files
14575 * libc/errno/errno.c, libc/include/ieeefp.h,
14576 libc/include/locale.h, libc/include/reent.h,
14577 libc/include/signal.h, libc/include/stdio.h,
14578 libc/include/stdlib.h, libc/include/string.h, libc/include/time.h,
14579 libc/signal/signal.c libc/stdio/cvt.c, libc/stdio/fclose.c,
14580 libc/stdio/fdopen.c, libc/stdio/fflush.c, libc/stdio/fgets.c,
14581 libc/stdio/findfp.c, libc/stdio/flags.c, libc/stdio/fopen.c,
14582 libc/stdio/fputc.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
14583 libc/stdio/ftell.c, libc/stdio/fwalk.c, libc/stdio/getchar.c,
14584 libc/stdio/gets.c, libc/stdio/glue.h, libc/stdio/iprintf.c,
14585 libc/stdio/local.h, libc/stdio/makebuf.c, libc/stdio/perror.c,
14586 libc/stdio/printf.c, libc/stdio/putchar.c, libc/stdio/puts.c,
14587 libc/stdio/refill.c, libc/stdio/scanf.c, libc/stdio/setvbuf.c,
14588 libc/stdio/sprintf.c, libc/stdio/tmpfile.c, libc/stdio/tmpnam.c,
14589 libc/stdio/ungetc.c, libc/stdio/vfprintf.c, libc/stdio/vfprintf.h,
14590 libc/stdio/vfscanf.c, libc/stdio/vprintf.c, libc/stdio/wsetup.c,
14591 libc/stdlib/__adjust.c, libc/stdlib/__exp10.c,
14592 libc/stdlib/assert.c, libc/stdlib/atexit.c, libc/stdlib/atol.c,
14593 libc/stdlib/dtoa.c, libc/stdlib/ecvtbuf.c, libc/stdlib/malloc.c,
14594 libc/stdlib/mprec.c, libc/stdlib/mprec.h, libc/stdlib/rand.c,
14595 libc/stdlib/setenv.c, libc/stdlib/std.h, libc/stdlib/strtod.c,
14596 libc/stdlib/strtol.c, libc/stdlib/strtoul.c, libc/string/strtok.c,
14597 libc/time/asctime.c, libc/time/localtime.c, libc/time/mktime.c,
14598 libc/time/strftime.c: modify to provide reentracy.
14599
14600 new routines:
14601 strtok_r, asctime_r, fdopen_r, _cleanup_r, fopen_r, iprintf_r,
14602 perror_r, printf_r, putchar_r, puts_r, scanf_r, sprintf_r,
14603 tmpfile_r, vfiprintf_r, vfprintf_r, strtod_r, dtoa_r, rand_r,
14604 srand_r, strtoul_r,strtol_r, free_r, malloc_r, morecore_r,
14605 mstats_r, realloc_r, localeconv_r, setlocale_r
14606
14607Wed Feb 17 20:17:15 1993 Mark Eichin (eichin@cygnus.com)
14608
14609 * libc/include/machine/ieeefp.h, libc/include/machine/setjmp.h,
14610 libc/include/sys/config.h, libc/include/sys/signal.h,
14611 libc/include/sys/stat.h, libc/include/sys/types.h: For compiler
14612 provided macros (such as m68000), use the ansi version
14613 (__m68000__) so that the library can be used with code compiled
14614 -ansi. In particular, m68000, mc68000, _AM29K, i386, MIPSEL, unix,
14615 and sparc.
14616
14617Wed Feb 17 13:01:34 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
14618
14619 * configure.in (sparc*): Don't set -fsoft-float for sparc
14620 configurations. Do set -fsoft-float for sparclite configurations.
14621
14622Fri Feb 12 16:25:52 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
14623
14624 * default.menu, no-signal.menu: alternate forms of libc main menu
14625 (in newlib rather than newlib/libc due to configuration restrictions)
14626
14627 * configure.in: select one of the two menus above, link to
14628 libc.menu
14629
14630 * libc/libc.texinfo: include menu from separate file
14631
14632Fri Feb 12 12:50:06 1993 Ian Lance Taylor (ian@cygnus.com)
14633
14634 * Makefile.in (FLAGS_TO_PASS): Put INSTALL back in.
14635 (info): Split long shell command in half.
14636 * libc/Makefile.in (info, targetdep.tex): Don't pass everything to
14637 sub-makes, just CHEW and TARGETDOC.
14638 (targetdep.tex): Removed now special handling of sys and machine
14639 subdirectories, made obsolete some time ago.
14640 * libc/machine/Makefile.in (doc): Don't pass everything to
14641 sub-make, just CHEW and TARGETDOC.
14642 (Makefile): New target.
14643 * libc/sys/Makefile.in (Makefile): New target.
14644
14645Thu Feb 11 15:25:15 1993 Ian Lance Taylor (ian@cygnus.com)
14646
14647 * Makefile.in (here and most subdirectories): Only pass down CHEW
14648 and TARGETDOC when making info, not for other targets.
14649
14650 * Makefile.in (here and most subdirectories), host/any: Use $(AR)
14651 $(AR_FLAGS) rather than $(ARUPDATE).
14652
14653Wed Feb 10 11:57:52 1993 Ian Lance Taylor (ian@cygnus.com)
14654
14655 * Try to reduce command line length:
14656 * Makefile.in (FLAGS_TO_PASS): don't pass down exec_prefix,
14657 CC_FOR_BUILD, CFLAGS_FOR_BUILD, INSTALL or CHEW.
14658 (info, docs): pass CC_FOR_BUILD and CFLAGS_FOR_BUILD to doc.
14659 (info): Pass CHEW to other subdirs.
14660
14661Tue Feb 9 14:01:42 1993 Mark Eichin (eichin@cygnus.com)
14662
14663 * configure.in: add signal_dir, like unix_dir, but by default it
14664 is set to "signal" so that a29khif can turn it off (since a29khif
14665 has raise() as part of machine-specific signal.s.)
14666
14667Fri Jan 15 12:09:50 1993 Steve Chamberlain (sac@thepub.cygnus.com)
14668
14669 * libc/sys/config.h, libc/machine/ieeefp.h: add Z8000 support
14670 * libc/stdio/Makefile.in: pass CFLAGS so vfiprintf.c gets built
14671 correctly.
14672 * libc/stdio/fdopen.c, libc/stdio/fgets.c, libc/stdio/fscanf.c,
14673 libc/stdio/vfprintf: type lint.
14674 * libc/sys/z8ksim/crt0.c (start): Z8001/Z8002 independent
14675 initialzation code.
14676 * libc/sys/z8ksim/glue.c: Z8001/Z8002 clean system calls.
14677
14678Tue Dec 29 10:15:33 1992 Ian Lance Taylor (ian@cygnus.com)
14679
14680 * stub/mvme135/mvme135-asm.S: new file.
14681 stub/mvme135mvme135-stub.c: moved all assembler routines into
14682 mvme135-asm.S.
14683 stub/mvme135/Makefile.in: build mvme135-stub.o.
14684
14685Mon Dec 28 12:40:43 1992 Ian Lance Taylor (ian@cygnus.com)
14686
14687 * Makefile.in: don't pass down $(CPP); use $(CC) -E in
14688 sub-Makefiles instead, to try to avoid line length limitations.
14689
14690Mon Dec 21 18:36:13 1992 Per Bothner (bothner@rtl.cygnus.com)
14691
14692 * libc/include/unistd.h (read, write): Use void* instead of
14693 char*.
14694
14695Thu Dec 17 13:49:46 1992 Mark Eichin (eichin@cygnus.com)
14696
14697 * stub/go32/resetpc: sample script to send a reset packet to the
14698 stub
14699
14700 * stub/go32/I386STUB.C: new file, gdb/i386stub.c modified for the
14701 DOS environment, which compiles with Turbo C.
14702
14703 * stub/go32/DSER32.LNK: new file, linker commands for serial
14704 remote stub.
14705
14706 * stub/go32/CONTROL.C: turn off debug_mode, add CYGNUS tag line to
14707 start up message to identify version; call set_debug_traps.
14708
14709 * stub/go32/DEBUG.C: turn off debug_mode (so stub doesn't need any
14710 keyboard interaction); call handle_exception() in go_til_stop,
14711 rather than return, so that the remote stub gets control.
14712
14713 * stub/go32/MAKEFILE: fixed to actually use DOS commands (del and
14714 rename, rather than mv), set flags that work with current Turbo C,
14715 including using the /3 flag; also, add commands to build dser32.
14716
14717 * stub/go32/DEBUG32.LNK, stub/go32/GO32.LNK: fix paths to match
14718 default Turbo C installation (\tc rather than \usr)
14719
14720 * stub/go32/MONO.C (printf): current Turbo C uses "..." instead of
14721 "&..."
14722
14723Mon Dec 14 09:37:33 1992 Steve Chamberlain (sac@thepub.cygnus.com)
14724
14725 * libc/include/math.h: added _DOUBLE_IS_32BITS checks
14726
14727Thu Nov 12 22:31:04 1992 Steve Chamberlain (sac@thepub.cygnus.com)
14728
14729 * libc/stdio/cvt.c (licvt): new function to convert ints when
14730 sizeof(int) != sizeof(long).
14731
14732 * libc/include/stdio.h: added prototype for iprintf.
14733 * libc/include/machine/limits.h machine/ieeefp.h: z8k stuff
14734
14735Tue Nov 10 12:18:12 1992 Ian Lance Taylor (ian@cygnus.com)
14736
14737 * libc/machine/m68k/setjmp.S: use __USER_LABEL_PREFIX__ and
14738 __REGISTER_PREFIX__.
14739
14740Mon Nov 2 13:50:14 1992 Ian Lance Taylor (ian@cygnus.com)
14741
14742 * libc/sys/m68kbare: moved into stub directory.
14743
14744Mon Nov 2 13:40:42 1992 Ian Lance Taylor (ian@cygnus.com)
14745
14746 * configure.in, Makefile.in: created new directory stub, to hold
14747 sample code for specific targets.
14748
14749Wed Oct 28 02:19:55 1992 Mark Eichin (eichin@cygnus.com)
14750
14751 * restored libc/sys/go32/sys/fcntl.h, to override incorrect values
14752 in the unified libc/include/sys/fcntl.h.
14753
14754Wed Oct 21 13:55:58 1992 Doug Evans (dje@rtl.cygnus.com)
14755
14756 * libc/stdlib/ecvtbuf.c: (print_f,_gcvt): printf("%f", 0.01)
14757 printed .01, not 0.01.
14758
14759Mon Oct 19 11:05:55 1992 Ian Lance Taylor (ian@cygnus.com)
14760
14761 * configure.in: compile with -m68000 for m68* targets.
14762
14763Sun Oct 18 05:29:05 1992 Mark Eichin (eichin@cygnus.com)
14764
14765 * libm/math/remainder.c (remainder): document the svr4 and sunos
14766 references used to construct the function.
14767
14768Sat Oct 17 21:46:16 1992 Mark Eichin (eichin@cygnus.com)
14769
14770 * libm/math/remainder.c (rint, remainder): fix old typos.
14771 * libm/math/Makefile.in: actually build remainder.c (functions
14772 rint and remainder, from SysVr4 Programmer's Guide floor(3m) man
14773 page.)
14774
14775Thu Oct 15 07:48:05 1992 Ian Lance Taylor (ian@cygnus.com)
14776
14777 * libc/string/bcopy.c: BSD version works on overlapping strings,
14778 so ours should too.
14779
14780 * libc/stdlib/system.c: always invoke /bin/sh, not getenv
14781 ("SHELL").
14782
14783Wed Oct 14 11:07:11 1992 Ian Lance Taylor (ian@cygnus.com)
14784
14785 * Makefile.in (docs): new target.
14786
14787Wed Oct 14 07:44:25 1992 Ian Lance Taylor (ian@cygnus.com)
14788
14789 * libc/include/sys/times.h: define clock_t as required by POSIX.
14790 libc/include/time.h: protect clock_t from multiple definitions.
14791
14792Wed Oct 7 11:02:21 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
14793
14794 * libm/math/sqrt.h (sqrt): actually, the final version of fp-bit
14795 does not need more than the original three iterations to get
14796 within 1 ulp. (Paranoia tests for rounding to better than that,
14797 but further iterations *don't* help, only more subtle changes
14798 can.)
14799
14800Tue Oct 6 09:22:12 1992 Ian Lance Taylor (ian@cygnus.com)
14801
14802 * libc/sys/vxworks68, libc/sys/vxworks960: removed, since they
14803 were doing nothing useful.
14804
14805Tue Oct 6 08:48:13 1992 Ian Lance Taylor (ian@cygnus.com)
14806
14807 * configure.in: define MALLOC_PROVIDED for vxworks targets;
14808 removed sys_dir settings of vxworks68 and vxworks960.
14809 host/any: don't pass -nostdinc to gcc, since newlib no longer
14810 provides all required header files.
14811
14812 * libc/stdlib/malloc.c: only compile this file if MALLOC_PROVIDED
14813 is not defined; this provides a hook for VxWorks.
14814
14815Mon Oct 5 03:44:57 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
14816
14817 * libc/stdio/setvbuf.c (setvbuf): while ANSI does say to malloc a
14818 buffer if buf is NULL, don't do it here -- it is already being
14819 done by makebuf elsewhere in stdio.
14820
14821Fri Oct 2 13:12:07 1992 Ian Lance Taylor (ian@cygnus.com)
14822
14823 * libc/sys/a29khif/Makefile.in: assemble Steve's list of stubs so
14824 that C programs can call functions without using initial
14825 underscores.
14826
14827Thu Oct 1 09:37:47 1992 Ian Lance Taylor (ian@cygnus.com)
14828
14829 * libc/stdlib/abort.c (abort): call exit, in case kill returns.
14830
14831Wed Sep 30 08:22:18 1992 Ian Lance Taylor (ian@cygnus.com)
14832
14833 * configure.in: set TARGET_CFLAGS for certain CPU types to
14834 -msoft-float.
14835
14836Tue Sep 29 21:09:32 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
14837
14838 * libc/sys/m68kbare/glue.c: use <_ansi.h> instead of <ansidecl.h>
14839
14840Mon Sep 28 14:58:44 1992 Ian Lance Taylor (ian@cygnus.com)
14841
14842 * configure.in: added sys_dir m68kbare for m68k*-unknown-aout and
14843 m68k*-unknown-coff.
14844
14845Fri Sep 25 08:33:21 1992 Ian Lance Taylor (ian@cygnus.com)
14846
14847 * libc/include/stdio.h: define __need___va_list before including
14848 <stdarg.h>, to avoid defining va_arg, et. al.
14849
14850Tue Sep 22 13:47:00 1992 Ian Lance Taylor (ian@cygnus.com)
14851
14852 * libc/sys/Makefile.in: handle the case of an empty $(sys_dir)
14853 (don't cd to the user's home directory).
14854
14855 * libc/Makefile.in: replaced all instances of $(MAKE) with make.
14856 In general this is the wrong thing to do, but I can't get around
14857 GNU make's insistence on passing command line arguments any other
14858 way.
14859
14860Tue Sep 22 10:12:44 1992 Ian Lance Taylor (ian@cygnus.com)
14861
14862 * configure.in: always configure the libc/sys directory, since it
14863 now provides a required documentation file.
14864
14865 * Makefile.in: replaced all instances of $(MAKE) with make. In
14866 general this is the wrong thing to do, but I can't get around GNU
14867 make's insistence on passing command line arguments any other way.
14868
14869Mon Sep 21 22:42:26 1992 Ian Lance Taylor (ian@tweedledumbest.cygnus.com)
14870
14871 * libc/stdlib/ecvtbuf.c (_gcvt): string for 0 was not null
14872 terminated.
14873
14874 * libc/stdio/local.h: include <stdarg.h> to define va_list.
14875 libc/stdio/vsprintf.c: include <stdarg.h> rather than <varargs.h>.
14876
14877 * libc/include/float.h, libc/include/stdarg.h,
14878 libc/include/stddef.h, libc/include/varargs.h: removed; use gcc
14879 versions instead.
14880 libc/include/stdio.h: get size_t from <stddef.h>, and va_list from
14881 <stdarg.h>, not from <machine/types.h>. Protect definition of
14882 NULL.
14883 libc/include/time.h: get size_t from stddef.h. Protect definition
14884 of NULL.
14885 libc/include/machine/limits.h: override gcc <limits.h> by defining
14886 _LIMITS_H___. Don't define CLK_TCK. Copied in gcc <limits.h> to
14887 get correct INT_MIN and LONG_LONG values.
14888 libc/include/machine/types.h: don't define ptrdiff_t, wchar_t,
14889 size_t or va_list at all; they're now gotten from stddef.h
14890 instead.
14891 libc/include/machine/varargs.h: removed; use gcc version instead.
14892 libc/include/sys/types.h: explicitly include <machine/types.h>.
14893
14894 * libm/math/sqrt.h: using the fp-bit routines appears to require
14895 more iterations.
14896
14897 * Makefile.in, host/any: let system include files override machine
14898 include files.
14899
14900Sat Sep 19 21:10:06 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
14901
14902 * libc/include/machine/types.h: allow __*_TYPE__ from cpp to
14903 override _*_T_ definitions defaulted here.
14904
14905Tue Sep 15 11:14:46 1992 Ian Lance Taylor (ian@cygnus.com)
14906
14907 * Makefile.in (install): install the include files in
14908 $(tooldir)/include, not $(exec_prefix)/include.
14909
14910Fri Sep 11 15:48:43 1992 Ian Lance Taylor (ian@cygnus.com)
14911
14912 * Makefile.in (install): fixed typo, and changed install to not
14913 force rebuild of libc.a and libm.a.
14914
14915Thu Sep 10 10:46:09 1992 Ian Lance Taylor (ian@cygnus.com)
14916
14917 * libc/sys/a29khif/*: Changed all .include's to include
14918 sys/sysmac.h, not plain sysmac.h. The header files live in sys so
14919 that they will be installed for the user.
14920
14921 * Makefile.in (all): create targ-include, a directory holding the
14922 machine and system specific header files during the build.
14923 (install): fixed installation of machine and system specific
14924 header files.
14925
14926 * Makefile.in: fixed comment.
14927 host/any: change .s.o rule to use $(AS) rather than $(CC), so that
14928 we can pass $(INCLUDES) to it.
14929
14930Thu Sep 10 10:13:13 1992 Ian Lance Taylor (ian@cygnus.com)
14931
14932 * libc/include/sys/param.h: new generic file, which may be
14933 overridden for specific systems.
14934
14935 * libc/include/sys/signal.h: define all ANSI signal names, and
14936 NSIG (which is not ANSI) for a29k.
14937
14938Tue Sep 8 09:04:30 1992 Ian Lance Taylor (ian@cygnus.com)
14939
14940 * Makefile.in: don't pass down arguments the lower level makes
14941 will not need.
14942 * libc/Makefile.in: recurse directly, rather than using subdir_do,
14943 in hopes of avoiding argument length limits.
14944 * libm/Makefile.in: recurse directly, rather using subdir_do, in
14945 hopes of avoiding argument length limits.
14946
14947Tue Sep 8 08:27:22 1992 Ian Lance Taylor (ian@cygnus.com)
14948
14949 * libc/include/sys/fcntl.h: include <sys/types.h> to ensure that
14950 mode_t is defined.
14951
14952Mon Sep 7 14:02:07 1992 Ian Lance Taylor (ian@cygnus.com)
14953
14954 * Fixed make info and make install-info for newlib, changing most
14955 Makefile.in and several *.tex files. Moved doc directory from
14956 libc to top level.
14957
14958 * libc/time/mktime.c (_DAYS_IN_MONTH): actually, not const.
14959 Should be rewritten.
14960
14961 * libc/string/strings.tex: renamed node index to node index
14962 function, so that it does not conflict with the top level index
14963 node.
14964
14965 * libc/include/sys/config.h: define __IEEE_BIG_ENDIAN for h8300.
14966
14967Fri Sep 4 02:34:06 1992 Ian Lance Taylor (ian@cygnus.com)
14968
14969 * Overhauled general configuration for newlib. Eliminated all
14970 target dependent Makefile fragments. Create libraries in newlib
14971 rather than newlib/libc and newlib/libm. Use CC, et. al., rather
14972 than CROSS_CC, et. al. Broke make docs; will fix later.
14973
14974 * libc/time/localtime.c (_DAYS_IN_MONTH): actually, not const.
14975 Should be rewritten.
14976
14977Tue Sep 1 15:21:14 1992 Ian Lance Taylor (ian@cygnus.com)
14978
14979 * libc/configure.in: cleaned up somewhat; switch on ${target}
14980 rather than ${target_alias}.
14981 * libm/configure.in: cleaned up somewhat; switch on ${target}
14982 rather than ${target_alias}.
14983
14984 * libc/ctype/ctype_.c: marked _ctype_ array _CONST.
14985 * libc/include/ctype.h: marked _ctype_ as _CONST.
14986
14987 * libc/locale/locale.c (lconv, localeconv): marked static lconv as
14988 _CONST.
14989
14990 * libc/stdio/cvt.c, libc/stdio/findfp.c (__sfmoreglue),
14991 libc/stdio/vfscanf.c (__svfscanf): made static variables const.
14992 libc/stdio/gets.c (gets): removed non-ANSI warning message.
14993 libc/stdio/tmpnam.c (tmpnam): removed unneeded filename variable.
14994
14995 * libc/stdlib/mprec.h, libc/stdlib/mprec.c (pow5mult, tens,
14996 bigtens, tinytens): marked arrays _CONST.
14997 libc/stdlib/qsort.c (swap): if __GNUC__, use _builtin_alloca
14998 rather than a static variable.
14999
15000 * libc/time/asctime.c (asctime), libc/time/localtime.c
15001 (_DAYS_IN_MONTH), libc/time/mktime.c (_DAYS_IN_MONTH,
15002 _DAYS_BEFORE_MONTH), libc/time/strftime.c (dname_len, dname,
15003 mname_len, mname): Marked static arrays _CONST.
15004
15005 * libm/math/gamma.h: made local variables non-static.
15006
15007 * libm/math/acos.h, libm/math/bessel.c, libm/math/erf.c,
15008 libm/math/exp.c, libm/math/gamma.h: marked static arrays as
15009 _CONST.
15010
15011 * libm/math/constants.c: removed file, because the constants it
15012 defined were never referenced.
15013 libm/math/Makefile.in: removed references to constants.c.
15014 libm/math/mathimpl.h: removed declarations of constants.
15015
15016Wed Aug 26 21:09:06 1992 Ian Lance Taylor (ian@cygnus.com)
15017
15018 * libc/include/machine/varargs.h: only call __builtin_saveregs if
15019 it is sensibly defined in libgcc2. Checks preprocessor defines,
15020 which is not a good solution.
15021
15022 * libm/sqrt.c: sqrt(Infinity) should not be a domain error.
15023
15024 * libm/frexp.c: handle denormalized numbers as arguments.
15025
15026 * libm/math/Makefile.in: added some dependencies for .c files
15027 which include local .h files.
15028
15029Mon Aug 24 12:57:58 1992 Ian Lance Taylor (ian@cygnus.com)
15030
15031 * libc/configure.in: set target_alias for OSE*. Replace
15032 target_makefile_frag if it is blank.
15033
15034 * libc/Makefile.in: make sure everything is passed to subsidiary
15035 makes; create all directories when installing.
15036
15037 * libm/ieeefp/Makefile.in, libm/math/Makefile.in: use
15038 CROSS_ARUPDATE instead of AR.
15039
15040 * libm/configure.in: set target_alias for OSE*. Replace
15041 target_makefile_frag if it is blank.
15042
15043 * libm/Makefile.in: make sure everything is passed to subsidiary
15044 makes; create all directories when installing.
15045
15046Thu Aug 20 15:11:51 1992 Mark Eichin (eichin@cygnus.com)
15047
15048 * add following change from libc copy.
15049
15050Wed Aug 19 18:54:49 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
15051
15052 * libc/libc.texinfo: make copyright disclaimers appear on back of
15053 title page; make format of same slightly less ugly; avoid using
15054 underbars in section headings (avoids nasty texinfo bug in table
15055 of contents).
15056
15057 * libc/ctype/tolower.c, libc/ctype/toupper.c: (doc changes in
15058 comments only) avoid using underbars in section headings
15059
15060 * libc/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
15061 isnan ieeefp/fpmask.c, ieeefp/fpround.c, ieeefp/fpsticky.c (doc
15062 changes in comments only): shorten headings ieeefp/infinity.c,
15063 ieeefp/isnan.c: (doc, comments only) more informative headings
15064
15065 * libc/math/bessel.c: (doc, comments only) shorten heading
15066
15067 * libc/stdlib/efgcvt.c, libc/stdlib/mbtowc.c, libc/stdlib/wctomb.c
15068 (doc, comments only) shorten headings
15069
15070 * libc/time/localtime.c (doc, comments only): shorten headings
15071
15072 * libm/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
15073 isnan
15074 libm/ieeefp/fpmask.c, libm/ieeefp/fpround.c,
15075 libm/ieeefp/fpsticky.c (doc changes in comments only): shorten
15076 headings
15077 libm/ieeefp/infinity.c, libm/ieeefp/isnan.c: (doc, comments
15078 only) more informative headings
15079 * libm/math/bessel.c: (doc, comments only) shorten heading
15080
15081Wed Aug 19 07:06:37 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
15082
15083 * .../Makefile.in: use CROSS_ARUPDATE consistently.
15084 * config/*.mt: define CROSS_AR as well as CROSS_ARUPDATE
15085 * config/*.mt: define CROSS_CPP based on CROSS_CC, not /lib/cpp.
15086 * .../Makefile.in: get rid of .c.o rule - if TOP is correctly
15087 defined, the one from the .mt file will be correct.
15088 * libc/include/machine, libc/include/sys: created, and populated
15089 with common files from machine/*/machine. ifdefs were used for
15090 most, typically by handling exceptions first and then filling in
15091 defaults. Files with D.J. Delorie copyright #included rather than
15092 copied. Most files in include/sys really were the same in the
15093 original.
15094 * libc/include/...: cleaned up use of _EXFUN.
15095 * libc/stdlib/mprec.c: mprec.h doesn't get installed, so include
15096 it with double quotes, not angles.
15097
15098Mon Aug 10 11:43:20 1992 Ian Lance Taylor (ian@dumbest.cygnus.com)
15099
15100 * libc/Makefile.in: always create installation directories.
15101
15102Sun Aug 9 22:45:48 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
15103
15104 * libc/configure.in: handle host properly (using canonical
15105 triples), better error message for the case of target not found
15106
15107Thu May 28 01:56:37 1992 Michael Tiemann (tiemann@rtl.cygnus.com)
15108
15109 * libc/Makefile.in (insincdir): Ensure this directory exists
15110 before attempting installation.
15111
15112Fri May 1 18:16:42 1992 Steve Chamberlain (sac@thepub.cygnus.com)
15113
15114 * libc/stdlib/assert.c: now calls abort like it should
15115 * libc/sys/a29khif: many many patches for 29khif work
15116 * libc/machine/i386: gnulib2 expanded there.
15117
15118Tue Apr 28 19:08:37 1992 Steve Chamberlain (sac@thepub.cygnus.com)
15119
15120 Added accurate fp conversion routines to stdlib, moved dcvt from
15121 stdio to stdlib and called it ecvtbuf:
15122 * libc/stdlib/mprec.c, mprec.h: new files for multiprec arithmetic
15123 * libc/stdlib/Makefile.in, efgcvt.c, strtod.c: modified to use new
15124 routines
15125 * libc/libc.texinfo: Modifed to include the copyright info from
15126 the mprec files
15127 * libc/stdlib/efgcvt.c: now xref to ecvtbuf in stdlib.
15128 * libc/test/ : many vector which tested for the implementation
15129 defined returns of strange conversion requests have been updated
15130 to relflect the new implementation
15131
15132Mon Apr 27 13:41:33 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
15133
15134 * libc/libc.texinfo: new chapter on variable arg lists
15135 (stdarg.h/varargs.h)
15136 * libc/libc.texinfo: new title
15137 * libc/time/gmtime.c, libc/time/localtime./c, libc/time/mktime.c:
15138 (doc only) shorter headings for better formatting.
15139
15140Fri Apr 24 11:26:48 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
15141
15142 * libc/libc.texinfo: three more info menu entries
15143 * libc/locale/locale.tex: new chapter
15144 * libc/locale/locale.c: new doc for setlocale, localeconv
15145 * libc/locale/Makefile.in: use new locale doc
15146 * libc/signal/signal.tex: new chapter
15147 * libc/signal/raise.c, libc/signal/signal.c: new doc
15148 * libc/signal/Makefile.in: use new doc
15149 * libc/time/time.tex: new chapter
15150 * libc/time/asctime.c libc/time/clock.c libc/time/ctime.c
15151 libc/time/difftime.c libc/time/gmtime.c libc/time/localtime.c
15152 libc/time/mktime.c libc/time/strftime.c libc/time/time.c: new doc
15153 * libc/time/Makefile.in: use new doc
15154
15155Tue Apr 21 14:48:50 1992 Steve Chamberlain (sac@thepub.cygnus.com)
15156
15157 * libm/math/log1p.c: split to use the new function way of float
15158 function definition. math/log1p.h deleted
15159 * libm/math/scalb.c: obsolete and deleted
15160 * libm/math/scalbn.c: created from part log1p.c
15161 * libm/math/Makefile.in: know about log1p and scalbn
15162
15163Tue Apr 21 12:32:21 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
15164
15165 * libc/ctype/isupper.c: revise doc;
15166 libc/ctype/ctype.tex: use doc from isupper.c
15167
15168 * libc/string/bzero.c: new doc
15169
15170Mon Apr 20 14:19:42 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
15171
15172 * libc/stdlib/system.c, libc/stdlib/exit.c, libc/stdlib/abort.c:
15173 new doc
15174 * libc/stdlib/Makefile.in: extract new doc
15175 * libc/stdlib/stdlib.tex: use new doc
15176
15177 * libc/string/strerror.c: expanded doc.
15178
15179 * libc/stdio/Makefile.in: extract doc from more files
15180 * libc/stdio/fopen.c, libc/stdio/perror.c, libc/stdio/remove.c,
15181 libc/stdio/rename.c, libc/stdio/rewind.c, libc/stdio/setbuf.c,
15182 libc/stdio/setvbuf.c, libc/stdio/sprintf.c, libc/stdio/tmpfile.c,
15183 libc/stdio/tmpnam.c, libc/stdio/vfprintf.c, libc/stdio/vprintf.c,
15184 libc/stdio/vsprintf.c: new doc
15185 * libc/stdio/stdio.tex: use new doc
15186
15187Mon Apr 20 09:38:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
15188
15189 * libc/config/ebmon29k: added CROSS_CPP rule and other fixes
15190 * libc/include/ieeefp.h: fixed ansi conflict with isnanf, isinff,
15191 finitef functions.
15192 * libc/sys/a29khif/sys/*.h: ansidecl.h was renamed to _ansi.h some
15193 time ago.
15194
15195 * libc/stdio/stdio.h: added P_tmpdir for /tmp (SVID thing)
15196 * libc/stdio/setbuf.c: added ansi style definition.
15197 * libc/stdio/setvbuf.c: added ansi definition, now mallocs own
15198 buffer if none provided.
15199 * libc/stdio/tmpfile.c: lint
15200 * libc/stdio/tmpnam.c (worker): created. (tmpnam): mallocs buffer
15201 rather than using static, also make sure file isn't already
15202 present. Uses P_tmpdir. (tempnam): rewritten to use new
15203 subroutine, and uses P_tmpdir.
15204 * libc/stdio/siprintf.c: created
15205
15206Mon Apr 13 09:12:58 1992 Steve Chamberlain (sac@thepub.cygnus.com)
15207
15208 Release 1.03 for NEC, major mods. Main differences from release
15209 1.02::
15210
15211 More tests in test/:
15212 * jn_vec.c, jnf_vec.c, yn_vec.c, ynf_vec.c, log2_vec.c,
15213 log2f_vec.c, atan2_vec.c, atan2f_vec.c: new test vectors.
15214 * test_ieee.c: tests for ieee flags & masks - get/set rounding,
15215 get/set mask, get/set sticky and get/set roundtoi. Tests
15216 that setting the bits changes the way arithmetic is done.
15217 * string.c: added test to make sure memcmp does it with unsigned
15218 chars.
15219 * test.c: cleaned up and removed lint.
15220 * sprint_vec, sprint_ivec.c, convert.c, conv_vec.c, iconf_vec.c,
15221 dvec.c: tests for string to value conversions, sprintf, scanf,
15222 atof, atoff, strtod, strtodf, atoi, atol, strtol, ecvtbuf, ecvt,
15223 ecvtf, fcvtbuf, fcvt, fcvtf, gcvt, gcvtf. Some attention paid to
15224 rounding in sprintf too.
15225 * test_is.c: tests for isalnum, isalpha, isascii, iscntrl,
15226 isdigit, isgraph, islower, isprint, ispunct, isspace, isupper,
15227 isxdigit, toascii, tolower, toupper, _tolower, _toupper in macro
15228 and function form.
15229 * math2.c: test for frexp, frexpf, ldexp, ldexpf, modf modff, pow,
15230 powf
15231
15232 In the library:
15233 * libc/stdlib/div.c, libc/stdlib/ldiv.c, libc/stdlib/strtod.c,
15234 libc/stdlib/strtol.c, libc/stdlib/stroul.c, libc/stdlib/abs.c,
15235 libc/stdlib/bsearch.c, libc/stdlib/calloc.c, libc/stdlib/getenv.c,
15236 libc/stdlib/labs.c, libc/stdlib/malloc.c: new documentation
15237 * libc/stdlib/efgcvt.c: rewritten to use new _dcvt routines rather
15238 than sprintf.
15239 * libc/stdio/dcvt.c: rewritten to make more useful elsewhere.
15240 * Method of producting float versions of double functions has
15241 changed, functions will be modified gradually. So far:
15242 libm/math/exp.c, libm/math/pow.c, libm/math/modf.c,
15243 libm/math/sincos.c, libm/math/fmod.c, libm/math/tan.c have been
15244 altered
15245 * libc/string/memcmp.c: now uses unsigned chars
15246 * libc/string/bcmp.c, libc/string/strcpy.c,
15247 libc/stsring/strxfrm.c: fixed doc
15248 * libc/sys/sysvnecv70.tex: fix example of sbrk code
15249\f
15250Local Variables:
15251version-control: never
15252End:
This page took 1.634166 seconds and 5 git commands to generate.