]> sourceware.org Git - newlib-cygwin.git/blame - newlib/ChangeLog
change comment.
[newlib-cygwin.git] / newlib / ChangeLog
CommitLineData
7d4be1ef
JJ
12004-01-21 Jeff Johnston <jjohnstn@redhat.com>
2
3 * libc/stdlib/mbrtowc.c (_mbrtowc_r): Fix case where s is null
4 pointer to match C99 spec.
5 * libc/stdlib/mbsrtowcs.c (_mbsrtowc_r): Fix to ignore len when
6 dst is NULL. Also fix to not alter src pointer when dst is NULL
7 and call _mbrtowc_r instead of _mbtowc_r.
8 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Call _wcrtomb_r instead
9 of _wctomb_r.
10
403f752c
JJ
112004-01-19 Thomas Pfaff <tpfaff@gmx.net>
12
13 * libc/stdio/fclose.c (fclose): Release FILE as the last step.
14 * libc/stdio/freopen.c (freopen): Ditto.
15
85b6d63b
CF
162004-01-16 Christopher Faylor <cgf@redhat.com>
17
18 * libc/stdio/vfprintf.c: Add sys/lock.h include.
19
4af71a91
JJ
202004-01-16 Thomas Pfaff <tpfaff@gmx.net>
21
22 * libc/stdio/findfp.c (__sfp): Remove unnecessary memset.
23 * libc/stdio/vfprintf.c (__sbprintf): Ditto.
24 Add calls to __lock_init_recursive and __lock_close_recursive
25 instead.
26
6a150987
JJ
272004-01-15 Thomas Pfaff <tpfaff@gmx.net>
28
29 * libc/stdio/fclose.c: Include sys/lock.h.
30 (fclose): Destroy lock when file is closed.
31 * libc/stdio/findfp.c (__sfp): Initialize file pointers _lock
32 member.
33 * libc/stdio/freopen.c: Include sys/lock.h.
34 (_freopen_r): Destroy lock when file is closed.
35 * libc/stdio/vfprintf.c (__sbprintf): Initialize file pointers
36 _lock member.
37
c9524c0c
JJ
382004-01-08 Joel Sherrill <joel@oarcorp.com>
39
40 * libc/ctype/iswctype.c, include/sys/reent.h, libc/stdlib/a64l.c:
41 Remove warnings.
42
9f13ccb3
JJ
432004-01-08 Joel Sherrill <joel@oarcorp.com>
44
45 * libc/sys/rtems/sys/queue.h: New file.
46 * libc/include/sys/signal.h: Reflect renumbering of signals to
47 fit into 32-bit mask.
48 * libc/include/sys/unistd.h: Add fdatasync() prototype.
49 * libc/sys/rtems/crt0.c: Add more symbols which may be implicitly
50 required. In particular, add the reentrant variants of libc calls.
51 * libc/sys/rtems/sys/dirent.h: Add scandir() prototype.
52
9488c414
JJ
532004-01-06 Mark Mitchell <mark@codesourcery.com>
54
55 * libc/sys/arm/syscalls.c (unistd.h): Include it.
56 (remap_handle): Use STDIN_FILENO instead of __sfileno(stdin).
57 Similarly for stdout and stderr.
58
5125f919
JJ
592004-01-06 Jeff Johnston <jjohnstn@redhat.com>
60
61 * libc/libc.texinfo: Correct escape character for @ sign
62 so file will be processed by make info. Update copyright years.
63 * libm/libm.texinfo: Ditto.
64
9fc92ceb
JJ
652003-12-05 Jeff Johnston <jjohnstn@redhat.com>
66
67 * libc/include/sys/stat.h: No longer include stat-dj.h.
68 * libc/include/sys/stat-dj.h: Removed.
69
25c7dad1
JJ
702003-12-05 Jeff Johnston <jjohnstn@redhat.com>
71
72 * libc/include/wchar.h: Include <sys/reent.h>.
73
576593dd
CF
742003-12-05 Christopher Faylor <cgf@redhat.com>
75
76 * libc/stdlib/mbrlen.c: Change include order to prevent compiler errors
77 when defining _mbrtowc.
78 * libc/stdlib/mbsinit.c: Ditto.
79 * libc/stdlib/mbsrtowcs.c: Ditto.
80 * libc/stdlib/wcrtomb.c: Ditto.
81 * libc/stdlib/wcsrtombs.c: Ditto.
82 * libc/stdlib/wctob.c: Ditto.
83
842003-12-05 Christopher Faylor <cgf@redhat.com>
85
86 * libc/stdlib/mbrlen.c: Change include order to prevent compiler
87 errors when defining _mbrtowc.
88 * libc/stdlib/mbsinit.c: Ditto.
89 * libc/stdlib/mbsrtowcs.c: Ditto.
90
4c889d62
CF
912003-12-05 Christopher Faylor <cgf@redhat.com>
92
93 * libc/stdlib/mbrtowc.c: Change include order to prevent compiler
94 errors when defining _mbrtowc.
95
5d109bde
JJ
962003-12-04 Artem B. Bityuckiy <abitytsky@softminecorp.com>
97
98 * libc/stdio/vfprintf.c (_VFPRINTF_R): Use _r versions
99 of mb routines for %lc and %ls support.
100 * libc/stdio/vfscanf.c (_svfscanf_r): Add %lc, %C,
101 %ls, and %S support. Remove CYGNUS_NEC markers and
102 code within.
103
3aca0888
JJ
1042003-12-04 Jeff Johnston <jjohnstn@redhat.com>
105
106 * libc/include/wchar.h: Add prototypes for _mbrtowc_r,
107 _wcrtomb_r, and _wcsrtombs_r.
108
18dcb167
CV
1092003-12-01 Corinna Vinschen <corinna@vinschen.de>
110
111 * libc/include/sys/fcntl.h: Don't define struct flock when on
112 Cygwin. This is done in winsup/cygwin/include/cygwin/types.h now.
113
93f8e673
CF
1142003-11-28 Christopher Faylor <cgf@redhat.com>
115
116 * libc/include/sys/signal.h: Use system specific signal file when
117 building on cygwin.
118
cc2a11e0
JJ
1192003-11-27 Jeff Johnston <jjohnstn@redhat.com>
120
121 * libc/include/stdlib.h (_atoi_r): New prototype.
122 * libc/stdlib/atoi.c (_atoi_r): New reentrant function.
123
83bf7d2f
JJ
1242003-11-27 Jeff Johnston <jjohnstn@redhat.com>
125
126 * libc/include/stdlib.h (_atoll_r, _atol_r): New prototypes.
127 * libc/stdlib/atol.c (_atol_r): New reentrant function.
128 * libc/stdlib/atoll.c (_atoll_r): Ditto.
129
5d109bde 1302003-11-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
6bbb700c
JJ
131 Jeff Johnston <jjohnstn@redhat.com>
132
133 * libc/include/stdlib.h (lldiv_t): New type.
134 (atoll, llabs, lldiv): New prototypes.
135 * libc/stdlib/Makefile.am: Add support for atoll, llabs, and lldiv.
136 * libc/stdlib/stdlib.tex: Ditto.
137 * libc/stdlib/Makefile.in: Regenerated.
138 * libc/stdlib/atoll.c: New file.
139 * libc/stdlib/llabs.c: Ditto.
140 * libc/stdlib/lldiv.c: Ditto.
141
0a707c79
JJ
1422003-11-26 Corinna Vinschen <corinna@vinschen.de>
143
144 * libc/include/fcntl.h: Declare syscalls only when building newlib.
145 * libc/include/unistd.h: Ditto.
146 * libc/include/stat.h: Ditto. Also declare struct stat64.
147
5d109bde 1482003-11-24 Artem B. Bityuckiy <abitytsky@softminecorp.com>
6db165c2
JJ
149
150 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix check for 'C' format
151 specifier to use ch instead of *fmt.
152
5d109bde 1532003-11-21 Artem B. Bityuckiy <abitytsky@softminecorp.com>
759a097e
JJ
154
155 * libc/stdio/vfprintf.c (_VFPRINTF_R, get_arg): Move mb-specific
156 code within checks for MB_CAPABLE. For non-mb-capable platforms,
157 use simple byte logic.
158
4f6149d6
JJ
1592003-11-21 Jeff Johnston <jjohnstn@redhat.com>
160
161 * libc/stdio/vfscanf.c (__svfscanf_r)[!_NO_LONGDBL]: Don't use
162 _strtold routine for processing floats and doubles since it
163 is not as fast as _strtod_r.
164
7343eefb
JJ
1652003-11-20 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
166
167 * libc/machine/h8300/defines.h : Correct pointer register defines
168 for normal mode.
169 * libc/machine/h8300/memcpy.S : Use add/sub instead of adds/subs
170 for normal mode.
171 * libc/machine/h8300/reg_memcpy.S : Likewise.
172 * libc/machine/h8300/reg_memset.S : Likewise.
173 * libc/machine/h8300/strcmp.S : Likewise.
174
64cfc6f2
JJ
1752003-11-19 Nicholas Wourms <nwourms@netscape.net>
176
177 * configure.host: Enable positional arguments for printf
178 family for Cygwin.
179 * libc/stdio/vfprintf.c (_VFPRINTF_R): Remove extraneous
180 pointer reference for quad_ptr_t.
181
e1dc8171
JJ
1822003-11-19 Jeff Johnston <jjohnstn@redhat.com>
183
184 * libc/stdio/scanf.c: Don't include local.h more than once.
185
a472290f
JJ
1862003-11-18 Corinna Vinschen <corinna@vinschen.de>
187
188 * libc/include/sys/fcntl.h: Declare _open64.
189 * libc/include/sys/stat.h: Declare _fstat64.
190 * libc/include/sys/unistd.h: Declare _lseek64.
191
a2f1155c
CV
1922003-11-17 Corinna Vinschen <corinna@vinschen.de>
193
194 * libc/include/stdlib.h (getprogname): Declare for Cygwin.
195 (setprogname): Ditto.
196
030441fc
JJ
1972003-11-10 Jeff Johnston <jjohnstn@redhat.com>
198
199 * libc/machine/powerpc/ufix64toa.c (_ufix64to_r): Fix shifts
200 to use (Ebits + 1) which accounts for the sign-bit.
201
fe359733
JJ
2022003-11-07 Jeff Johnston <jjohnstn@redhat.com>
203
204 * configure.host: Remove -DLOOSE_KERNEL_NAMES flag for linux
205 x86 build.
206 * iconvdata/Makefile.am: Make dependent on newlib's configure.host
207 and set up default flags to pass to aclocal.
208 * iconvdata/Makefile.in: Regenerated.
209 * libc/sys/linux/Makefile.am: Add _ELIX_LEVEL_4 getlogin, getpwnam,
210 and getpwuid routines.
211 * libc/sys/linux/Makefile.in: Regenerated.
212 * libc/sys/linux/getlogin.c: New stub file to allow x86-linux
213 applications to link with newlib's shared libc library.
214 * libc/sys/linux/getpwnam.c: Ditto.
215 * libc/sys/linux/getpwuid.c: Ditto.
216 * libc/sys/linux/sys/types.h: Include <features.h> and supply types
217 that were formerly supplied by /usr/include/linux/types.h with
218 kernel types.
219 * testsuite/newlib.wctype/twctype.c: Fix testcase to properly
220 test _ELIX_LEVEL macro.
221
2985521f
JJ
2222003-11-07 Jeff Johnston <jjohnstn@redhat.com>
223
224 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix typos that should be
225 referring to _NO_LONGLONG macro.
226
dcad6a89
JJ
2272003-11-06 Jeff Johnston <jjohnstn@redhat.com>
228
229 * libc/sys/linux/linuxthreads/td_init.c: Replace function name
230 in LOG() macro so this will compile on gcc 3.4 and up.
231 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
232 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
233 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
234 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
235 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
236 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
237 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
238 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
239 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
240 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
241 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
242 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
243 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
244 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
245 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
246 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
247 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
248 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
249 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
250 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
251 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
252 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
253 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
254 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
255 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
256 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
257 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
258 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
259 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
260 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
261 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
262 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
263 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
264 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
265 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
266 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
267
d2ffac09 2682003-11-05 Jeff Johnston <jjohnstn@redhat.com>
5d109bde 269 Artem B. Bityuckiy <abitytsky@softminecorp.com>
d2ffac09
JJ
270
271 * libc/stdio/vfprintf.c (_VFPRINTF_R): Add support for
272 %ls, %S, %lc, and %C format specifiers.
273 (get_arg): Ditto.
274 * libc/stdio/sprintf.c: Add documentation regarding new
275 format specifiers added in vfprintf.c.
276
da2d1227
JJ
2772003-11-05 Jeff Johnston <jjohnstn@redhat.com>
278
279 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Numerous fixes
280 to make code work as specified in standard.
281
3ef05bac
JJ
2822003-10-23 Jeff Johnston <jjohnstn@redhat.com>
283
284 * configure.in: Use absolute newlib basedir when forming
285 CC_FOR_NEWLIB include options.
286 * configure: Regenerated.
287
5d109bde 2882003-10-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4340b63b
JJ
289
290 * libc/string/wcsnlen.c: New file.
291 * libc/include/wchar.h: Add wcsnlen prototype.
292 * libc/string/Makefile.am: Add wcsnlen support.
293 * libc/string/Makefile.in: Regenerated.
294 * libc/string/wcstrings.tex: Add wcsnlen documentation.
295
63a823f8
RS
2962003-10-22 Richard Sandiford <rsandifo@redhat.com>
297
298 * libc/stdlib/exit.c (exit): Handle null _GLOBAL_REENT->_atexits.
299
76a7df52
JJ
3002003-10-20 Bob Wilson <bob.wilson@acm.org>
301
302 * libc/locale/locale.c: Use double quotes in code.
303 * libc/locale/locale.tex: Likewise.
304 * libc/libc.texinfo: Hyphenate "floating-point".
305 * libc/machine/necv70/necv70.tex: Likewise.
306 * libc/stdio/sprintf.c: Likewise.
307 * libc/stdio/sscanf.c: Likewise.
308 * libc/stdlib/atof.c: Likewise.
309 * libc/stdlib/ldtoa.c: Fix comment typo.
310 * libc/stdlib/div.c: Use @ifnottex instead of @ifinfo.
311 * libc/stdlib/ldiv.c: Likewise.
312 * libm/common/s_expm1.c: Likewise.
313 * libm/common/s_ilogb.c: Hyphenate "floating-point". Use "nonzero".
314 * libm/common/s_infinity: Hyphenate "double- and single-precision".
315 * libm/common/s_nan.c: Likewise. Also correct the FUNCTION summary.
316 * libm/common/s_nextafter.c: Fix typo. Hyphenate "double-precision"
317 and "floating-point".
318 * libm/common/s_scalbn.c: Correct the FUNCTION summary.
319 * libm/math/e_pow.c: Fix comment typo.
320 * libm/math/math.tex: Hyphenate "single-precision" and "floating-point".
321 * libm/math/s_asinh.c: Use @ifnottex instead of @ifinfo.
322 * libm/math/s_atan.c: Likewise.
323 * libm/math/s_frexp.c: Likewise. Also use "nonzero".
324 * libm/math/s_isnan.c: Hyphenate "single-precision" and
325 "floating-point". Use "nonzero".
326 * libm/math/s_ldexp.c: Use @ifnottex instead of @ifinfo.
327 * libm/math/w_acos.c: Likewise.
328 * libm/math/w_acosh.c: Likewise.
329 * libm/math/w_asin.c: Likewise.
330 * libm/math/w_atan2.c: Likewise.
331 * libm/math/w_atanh.c: Likewise.
332 * libm/math/w_cosh.c: Likewise.
333 * libm/math/w_exp.c: Likewise.
334 * libm/math/w_exp2.c: Likewise. Add missing @end and missing @tex
335 version of 2^x in the description.
336 * libm/math/w_fmod.c: Use @ifnottex instead of @ifinfo.
337 * libm/math/w_gamma.c: Likewise.
338 * libm/math/w_hypot.c: Likewise.
339 * libm/math/w_j0.c: Likewise.
340 * libm/math/w_sinh.c: Likewise.
341 * libm/math/w_pow.c: Replace "exp1.0nt" with "exponent".
342 * libm/mathfp/mathfp.tex: Hyphenate "single-precision" and
343 "floating-point".
344 * libm/mathfp/e_acosh.c: Use @ifnottex instead of @ifinfo.
345 * libm/mathfp/e_atanh.c: Likewise.
346 * libm/mathfp/e_hypot.c: Likewise.
347 * libm/mathfp/er_lgamma.c: Likewise.
348 * libm/mathfp/s_acos.c: Likewise.
349 * libm/mathfp/s_asine.c: Likewise.
350 * libm/mathfp/s_asinh.c: Likewise.
351 * libm/mathfp/s_atan.c: Likewise.
352 * libm/mathfp/s_atan2.c: Likewise.
353 * libm/mathfp/s_atangent.c: Likewise.
354 * libm/mathfp/s_cosh.c: Likewise.
355 * libm/mathfp/s_exp.c: Likewise.
356 * libm/mathfp/s_fmod.c: Likewise.
357 * libm/mathfp/s_frexp.c: Likewise. Also use "nonzero".
358 * libm/mathfp/s_isnan.c: Hyphenate "single-precision" and
359 "floating-point". Use "nonzero".
360 * libm/math/s_pow.c: Replace "exp1.0nt" with "exponent".
361 * libm/mathfp/s_ldexp.c: Use @ifnottex instead of @ifinfo.
362 * libm/mathfp/s_sineh.c: Likewise.
363 * libm/mathfp/w_jn.c: Likewise.
364
b11926e7
JJ
3652003-10-15 Alexandre Oliva <aoliva@redhat.com>
366
367 * Makefile.am: Add $(MAKE) comments to multido and multiclean
368 lines, to enable parallel make.
369 * Makefile.in: Rebuilt.
370
31271d5c
CF
3712003-10-14 Christopher Faylor <cgf@redhat.com>
372
373 * libc/time/clock.c: Clarify documentation of return value when no
374 measurement is available.
375
bc707cbd
JJ
3762003-09-29 Ian Lance Taylor <ian@wasabisystems.com>
377
378 * libm/configure.in: Check libm_machine_dir, not machine_dir.
379 * libm/configure: Regenerate.
380 * libm/Makefile.in: Ditto.
381
f4b10605
JR
3822003-09-29 J"orn Rennecke <joern.rennecke@superh.com>
383
384 * libc/machine/sh/strncpy.S: New file.
385 * libc/machine/sh/Makefile.am: Add entry & rule for new file.
386 * libc/machine/sh/Makefile.in: Regenerate.
387
ce044d8f
JW
3882003-09-11 James E Wilson <wilson@specifixinc.com>
389
390 * MAINTAINERS: Update my e-mail address.
391
080ef411
CV
3922003-09-10 Corinna Vinschen <corinna@vinschen.de>
393
394 * libc/include/sys/unistd.h: Declare function daemon for Cygwin.
395
3a767b69
JJ
3962003-09-09 Jeff Johnston <jjohnstn@redhat.com>
397
080ef411
CV
398 * libc/machine/powerpc/fix64.h: Fix typo for _simdldcheck
399 prototype.
400 * libc/machine/powerpc/simdldtoa.c: Remove prototype for
401 _simdldcheck(). Also add unsigned cast for index variable in
402 for loop using sizeof operators.
403 * libc/machine/powerpc/strtoufix32.c: Remove unused variable.
404 * libc/machine/powerpc/strtosfix64.c: Fix call to _simdldcheck.
405 * libc/machine/powerpc/strtoufix64.c (_strtoufix64_r): Ditto
406 plus fix shift calculation for determining if there is a
407 carry from word2.
3a767b69 408
84154fcc
CV
4092003-09-09 Corinna Vinschen <corinna@vinschen.de>
410
411 * libc/include/grp.h: Don't define setgrfile, group_from_gid and
412 setgroupent for Cygwin.
413
f1b15058
JJ
4142003-09-05 Jeff Johnston <jjohnstn@redhat.com>
415
416 * libc/stdlib/exit.c (exit): Setting of struct _atexit ptr p
417 is different for _REENT_SMALL than when using regular reent
418 struct.
419
cf88c20f 4202003-09-05 Ben Elliston <bje@wasabisystems.com>
0a8fd4dc 421
b73263e4
BE
422 * libc/ctype/wctype.c (_DEFUN): Remove empty default case, as
423 modern versions of GCC issue a warning.
424
0a8fd4dc
BE
425 * libc/machine/xscale/memcmp.c (memcmp): Strip trailing whitespace
426 after continuation characters that induces a warning from modern
427 versions of GCC.
428
10a32423
BE
4292003-09-04 Ben Elliston <bje@wasabisystems.com>
430
431 * libc/stdlib/mstats.c[_ELIX_LEVEL]: Fix guards. #ifndef FOO ||
432 FOO >= 2 is invalid; use #if !defined (FOO) || FOO >= 2 instead.
433
ed027a53
JJ
4342003-09-02 Thomas Pfaff <tpfaff@gmx.net>
435
436 * libc/stdlib/atexit.c: Rename _REENT to _GLOBAL_REENT throughout.
437 * libc/stdlib/exit.c : Ditto.
438 * libc/stdlib/on_exit.c: Ditto.
439
880fa247
JJ
4402003-08-27 Corinna Vinschen <corinna@vinschen.de>
441
442 * libc/include/reent.h: Define stat64 as __stat64 when
443 compiling newlib for Cygwin.
444
54c1d7ea
JJ
4452003-08-26 Jeff Johnston <jjohnstn@redhat.com>
446
447 * libc/include/sys/stat.h[__CYGWIN__]: Only define stat64 as
448 __stat64 when compiling newlib.
449
0eca0750
JJ
4502003-08-26 Jeff Johnston <jjohnstn@redhat.com>
451
452 * libc/include/stdio.h: Allow the io64 function prototypes for
453 Cygwin when compiling newlib.
454 * libc/include/sys/stat.h[__CYGWIN__]: Define stat64 as __stat64
455 to expose the Cygwin struct __stat64 type.
456 * libc/stdio64/fseeko64.c: Use _fstat64_r and pass a struct stat64
457 pointer.
458 * libc/stdio64/tmpfile64.c(_tmpfile64_r): Call _fopen64_r.
459
9d4aef19
CF
4602003-08-23 Christopher Faylor <cgf@redhat.com>
461
462 * libc/stdio64/fseeko64.c (fseeko64_r): Rename second fseeko64_r
463 definition to fseeko64.
464
9fc9e1c9
JJ
4652003-08-22 Jeff Johnston <jjohnstn@redhat.com>
466
467 * libc/include/sys/reent.h: Add _GLOBAL_REENT macro.
468 * libc/stdio: Globally remove/replace all references to fp->_data.
469 Replace with _REENT or _GLOBAL_REENT where appropriate.
470 * libc/stdio/asprintf.c: Ditto.
471 * libc/stdio/fclose.c: Ditto.
472 * libc/stdio/fvwrite.c: Ditto.
473 * libc/stdio/makebuf.c: Ditto.
474 * libc/stdio/refill.c: Ditto.
475 * libc/stdio/local.h: Ditto.
476 * libc/stdio/setvbuf.c: Ditto.
477 * libc/stdio/sscanf.c: Ditto.
478 * libc/stdio/stdio.c: Ditto.
479 * libc/stdio/ungetc.c: Ditto.
480 * libc/stdio/vfscanf.c: Ditto.
481 * libc/stdio/vsscanf.c: Ditto.
482 * libc/stdio/fopen.c: Ditto. Also use _fseek_r in _fopen_r.
483 * libc/stdio/vasprintf.c: Ditto. Also call _vfprintf_r directly.
484 * libc/stdio/vsnprintf.c: Ditto.
485 * libc/stdio/vsprintf.c: Ditto.
486 * libc/stdio/fcloseall.c(fcloseall): Use _GLOBAL_REENT macro
487 instead of _REENT to walk file list.
488 * libc/stdio/fflush.c: Ditto.
489 * libc/stdio/fgetpos.c: Add reentrant version and have regular
490 version call reentrant version with _REENT argument.
491 * libc/stdio/fsetpos.c: Ditto.
492 * libc/stdio/fseek.c: Ditto.
493 * libc/stdio/fseeko.c: Ditto.
494 * libc/stdio/ftell.c: Ditto.
495 * libc/stdio/ftello.c: Ditto.
496 * libc/stdio/freopen.c: Ditto.
497 * libc/stdio/findfp.c: Use _GLOBAL_REENT pointer when adding
498 new files to chain. Also use _GLOBAL_REENT pointer for
499 cleaning up.
500 * libc/stdio/fiprintf.c: Reformatted to minimize duplicate code.
501 * libc/stdio/siprintf.c: Ditto.
502 * libc/stdio/iprintf.c: Ditto.
503 * libc/stdio/fprintf.c: Ditto.
504 * libc/stdio/printf.c: Ditto.
505 * libc/stdio/snprintf.c: Call _vfprintf_r directly.
506 * libc/stdio/sprintf.c: Ditto.
507 * libc/stdio/vprintf.c: Ditto. Also add _REENT_ONLY check.
508 * libc/stdio/rewind.c: Call _fseek_r directly.
509 * libc/stdio/tmpfile.c: Call _fopen_r and _remove_r directly.
510 * libc/stdio/vfprintf.c (_VFPRINTF_R): Change _r routines to use
511 data pointer.
512 (get_arg): Add extra struct _reent pointer argument.
513 * libc/stdio64/fgetpos64.c: Add _r versions, remove any reference
514 to fp->_data.
515 * libc/stdio64/fopen64.c: Ditto.
516 * libc/stdio64/freopen64.c: Ditto.
517 * libc/stdio64/fsetpos64.c: Ditto.
518 * libc/stdio64/ftello64.c: Ditto.
519 * libc/stdio64/local64.h: Ditto.
520 * libc/stdio64/stdio64.c: Ditto.
521 * libc/stdio64/fseeko64.c: Ditto plus use _fstat_r instead of
522 _fstat64_r for the meantime.
523
8f021114
JJ
5242003-08-19 Jeff Johnston <jjohnstn@redhat.com>
525
526 * libc/stdlib/mallocr.c (mALLOc, rEALLOc, mEMEALIGn): Enhance
527 overflow detection.
528
db979bb4
JJ
5292003-08-13 Aldy Hernandez <aldyh@redhat.com>
530
531 * libc/machine/powerpc/machine/stdlib.h: Wrap SPE functions in
532 extern "C".
533
6efbdc7d
JJ
5342003-08-13 Jeff Johnston <jjohnstn@redhat.com>
535
536 * libc/include/math.h: Add prototypes for __signbitf and
537 __signbitd.
538
e895fc20
JJ
5392003-07-31 Jeff Johnston <jjohnstn@redhat.com>
540
541 * libc/ctype/iswalpha.c: Fix calls to __jp2uc to pass the
542 correct type of conversion when dealing with EUCJP or SJIS.
543 * libc/ctype/iswblank.c: Ditto.
544 * libc/ctype/iswcntrl.c: Ditto.
545 * libc/ctype/iswprint.c: Ditto.
546 * libc/ctype/iswpunct.c: Ditto.
547 * libc/ctype/iswspace.c: Ditto.
548 * libc/ctype/towlower.c: Ditto.
549 * libc/ctype/towupper.c: Ditto.
550
0302dfe5
NC
5512003-07-31 Nick Clifton <nickc@redhat.com>
552
553 * libc/sys/sysnecv850/crt0.S (_start): Allocate 4 slots on stack
554 before calling main, in case it saves its argument registers.
555 Remove reference to deleted v850ea port.
556 * configure.host: Remove reference to deleted v850ea port.
557 Do not use -mv850 when building for v850e target. This
558 prevents the ctbp system register from being initialised.
559
42de5592
JJ
5602003-07-29 Honda Hiroki <hhonda@ipflex.com>
561
562 * libc/stdio/vfprintf.c: Set output size to 1 when
563 we have %f format with precision 0 and # flag not specified.
564
e5de27b6
AO
5652003-07-29 Alexandre Oliva <aoliva@redhat.com>
566
567 * libc/machine/mn10300/setjmp.S: Never emit both .am33 and
568 .am33_2.
569
3c98a593
CF
5702003-07-25 Christopher Faylor <cgf@redhat.com>
571
572 * libc/stdio64/fdopen64.c: Include sys/lock.h.
573
e222bf67
CF
5742003-07-25 Christopher Faylor <cgf@redhat.com>
575
576 * configure.host: Find cygwin include directory, when appropriate.
577
03536757
CF
5782003-07-24 Christopher Faylor <cgf@redhat.com>
579
580 * libc/stdio64/fdopen64.c: New file.
581 * libc/stdio64/Makefile.am (LIB_OBJS): Add fdopen64.o
582 * libc/stdio64/Makefile.in: Regenerate.
583 * libc/include/stdio.h (fdopen64): Define.
584 * libc/include/stdio.h (_fdopen64_r): Ditto.
585
18072a4f
AO
5862003-07-10 Alexandre Oliva <aoliva@redhat.com>
587
588 2000-04-27 Alexandre Oliva <aoliva@cygnus.com>
589 * libc/include/machine/setjmp.h (_JBLEN, AM33/2.0): Set to 26.
590 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Save and
591 restore callee-saved FP registers.
592
e0bec12f
JR
5932003-07-10 J"orn Rennecke <joern.rennecke@superh.com>
594
595 * libc/include/sys/unistd.h (ftruncate, truncate): Also declare
596 for __sh__.
597 * libc/sys/sh/Makefile.am (lib_a_SOURCES): Add ftruncate.c and
598 truncate.c.
599 * libc/sys/sh/Makefile.in: Regenerate.
600 * libc/sys/sh/sys/syscall.h: (SYS_truncate, SYS_ftruncate): Define.
601 * libc/sys/sh/ftruncate.c: New file.
602 * libc/sys/sh/truncate.c: Likewise.
603
03d65dd9
AO
6042003-07-09 Alexandre Oliva <aoliva@redhat.com>
605
606 * libc/include/math.h (nan, nanf): Update prototype to C99.
607 * libm/common/s_nan.c (nan): Likewise.
608 * libm/common/s_nanf.c (nanf, nan): Likewise.
609 * libc/sys/linux/cmath/math_private.h (nan, nanf): Likewise.
610
74aa9d7d
JJ
6112003-07-07 Jeff Johnston <jjohnstn@redhat.com>
612
613 * libc/include/stdbool.h: Removed as this is defined by gcc.
614
0a447ef3
JJ
6152003-07-03 Shaun Jackman <sjackman@pathwayconnect.com>
616
617 * libc/include/stdbool.h: New header file defined by C99.
618
282eff9a
JJ
6192003-07-02 Jeff Johnston <jjohnstn@redhat.com>
620
621 * libc/include/sys/types.h (int8_t): Make signed.
622
4e989b11
JJ
6232003-07-02 Jeff Johnston <jjohnstn@redhat.com>
624
625 * libc/sys/linux/include/mqueue.h: Add include of <sys/fcntl.h>.
626
07b40cf8
JJ
6272003-06-27 Jose Goncalves <jose.goncalves@inov.pt>
628
629 * libc/sys/linux/mq_open.c (mq_open): Only set created flag
630 on if we actually created the shared memory file exclusively.
631
7daa7891
JJ
6322003-06-27 Joe Vornehm <joev@mitre.org>
633
634 * libm/common/s_fpclassify.c (__fpclassifyf): Fix
635 comparisons to account for unsigned internal value w.
636
51fa7562
JJ
6372003-06-26 Jeff Johnston <jjohnstn@redhat.com>
638
639 * libc/sys/linux/mq_open.c (mq_open): Must allocate rdbuf and
640 wrbuf for a non-creating open.
641
b8f7ea5c
JJ
6422003-06-24 Kazu Hirata <kazu@cs.umass.edu>
643
644 * libc/machine/h8300/setarch.h: New.
645 * libc/machine/h8300/memcpy.S: Use it.
646 * libc/machine/h8300/memset.S: Likewise.
647 * libc/machine/h8300/reg_memcpy.S: Likewise.
648 * libc/machine/h8300/reg_memset.S: Likewise.
649 * libc/machine/h8300/setjmp.S: Likewise.
650 * libc/machine/h8300/strcmp.S: Likewise.
651
6d7ea52a
RS
6522003-06-24 Richard Sandiford <rsandifo@redhat.com>
653
654 * libc/sys/h8300hms/crt0.S (_start): Fix register sizes in call
655 to atexit().
656
5a74f2aa
JJ
6572003-06-20 Jeff Johnston <jjohnstn@redhat.com>
658
659 * configure.host (iq2000): Add tabs.
660
8266e478
JJ
6612003-06-20 Jeff Johnston <jjohnstn@redhat.com>
662
663 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix macros
664 to handle latest on_exit change.
665 * libc/sys/linux/Makefile.am: Remove special compilation
666 for malloc.c and mcheck.c.
667 * libc/sys/linux/Makefile.in: Regenerated.
668 * libc/sys/linux/mntent.c: Add definition of _LIBC flag
669 after including <features.h>.
670 * libc/sys/linux/mcheck.c: Ditto.
671 * libc/sys/linux/malloc.c: Ditto plus define _GNU_SOURCE
672 for <features.h>.
673 * libc/sys/linux/intl/Makefile.am: Remove -D_LIBC and
674 add -DNOT_IN_libc to C flags.
675 * libc/sys/linux/intl/Makefile.in: Regenerated.
676 * libc/sys/linux/intl/config.h: Add definition of _LIBC.
677 * libc/sys/linux/linuxthreads/semaphore.h: Include
678 <bits/pthreadtypes.h>.
679 * libc/sys/linux/sys/dirent.h: Define _LIBC and NOT_IN_libc after
680 including <features.h>.
681 * libc/sys/linux/sys/lock.h: Ditto.
682
0efe117b
NC
6832003-06-11 Nick Clifton <nickc@redhat.com>
684
685 * libc/reent/reent.c (reclaim_reent): Fix typo in code to free
686 _on_exit_args_ptr.
687
bfdfd7e6
AG
6882003-06-10 Stan Cox <scox@redhat.com>
689 Anthony Green <green@redhat.com>
690
691 * configure.host: Add iq2000 support.
692 * newlib/libc/include/machine/ieeefp.h: Ditto.
693 * newlib/libc/include/machine/setjmp.h: Ditto.
694 * libc/machine/iq2000, libc/machine/iq2000/setjmp.S,
695 libc/machine/iq2000/aclocal.m4, libc/machine/iq2000/configure,
696 libc/machine/iq2000/configure.in, libc/machine/iq2000/Makefile.am,
697 libc/machine/iq2000/Makefile.in: New files.
698
d9e4104b
RS
6992003-06-10 Richard Sandiford <rsandifo@redhat.com>
700
701 * libc/sys/h8300hms/setarch.h: New file.
702 * libc/sys/h8300hms/close.S, libc/sys/h8300hms/fstat.S,
703 libc/sys/h8300hms/lseek.S, libc/sys/h8300hms/open.S,
704 libc/sys/h8300hms/read.S, libc/sys/h8300hms/stat.S,
705 libc/sys/h8300hms/write.S, libc/sys/h8300hms/crt0.S: Use it.
706
729d1ff9
JJ
7072003-06-06 Jeff Johnston <jjohnstn@redhat.com>
708
709 * libc/argz/argz_add.c: Change to use _DEFUN macro for function
710 definition.
711 * libc/argz/argz_add_sep.c: Ditto.
712 * libc/argz/argz_append.c libc/argz/argz_count.c: Ditto.
713 * libc/argz/argz_create.c libc/argz/argz_create_sep.c: Ditto.
714 * libc/argz/argz_delete.c libc/argz/argz_extract.c: Ditto.
715 * libc/argz/argz_insert.c libc/argz/argz_next.c: Ditto.
716 * libc/argz/argz_replace.c libc/argz/argz_stringify.c: Ditto.
717 * libc/argz/envz_add.c libc/argz/envz_entry.c: Ditto.
718 * libc/argz/envz_get.c libc/argz/envz_merge.c: Ditto.
719 * libc/argz/envz_remove.c libc/argz/envz_strip.c: Ditto.
720 * libc/locale/nl_langinfo.c libc/misc/ffs.c: Ditto.
721 * libc/posix/closedir.c libc/posix/creat.c: Ditto.
722 * libc/posix/execl.c libc/posix/execle.c: Ditto.
723 * libc/posix/execlp.c libc/posix/execve.c: Ditto.
724 * libc/posix/isatty.c libc/posix/opendir.c: Ditto.
725 * libc/posix/popen.c libc/posix/readdir.c: Ditto.
726 * libc/posix/readdir_r.c libc/posix/rewinddir.c: Ditto.
727 * libc/posix/scandir.c libc/posix/seekdir.c: Ditto.
728 * libc/posix/telldir.c libc/search/hcreate.c: Ditto.
729 * libc/search/tdelete.c libc/search/tdestroy.c: Ditto.
730 * libc/search/tfind.c libc/search/tsearch.c: Ditto.
731 * libc/search/twalk.c libc/signal/signal.c: Ditto.
732
75d7d177
NC
7332003-06-05 Nick Clifton <nickc@redhat.com>
734
735 * libc/include/sys/reent.h (struct _on_exit_args): New
736 structure containing fields used by the on_exit() function.
737 (struct _atexit): Include struct _on_exit_args. For
738 _REENT_SMALL do his via a pointer that is initialised when
739 needed.
740 * libc/reent/reent.c (_reclaim_reent): Free the _on_exit_args
741 structure, if one has been allocated.
742 * libc/stdlib/atexit.c (atexit): Update indirection to
743 _fntypes field.
744 * libc/stdlib/on_exit.c (on_exit): Indirect via the
745 _on_exit_args structure. For _REENT_SMALL, allocate a
746 structure if one does not exist.
747 * libc/stdlib/exit.c (exit): Indirect via the _on_exit_args
748 structure.
749
2129f283
JJ
7502003-06-04 Jeff Johnston <jjohnstn@redhat.com>
751
752 * libc/sys/linux/net/Makefile.am: Remove extraneous markers.
753 * libc/sys/linux/net/Makefile.in: Regenerated.
754
bf3bcac2
JJ
7552003-06-03 Jeff Johnston <jjohnstn@redhat.com>
756
757 * libc/reent/execr.c: Use _DEFUN macro for function declaration.
758 * libc/reent/fcntlr.c: Ditto.
759 * libc/reent/fstat64r.c: Ditto.
760 * libc/reent/linkr.c: Ditto.
761 * libc/reent/lseek64r.c: Ditto.
762 * libc/reent/lseekr.c: Ditto.
763 * libc/reent/openr.c: Ditto.
764 * libc/reent/readr.c: Ditto.
765 * libc/reent/reent.c: Ditto.
766 * libc/reent/sbrkr.c: Ditto.
767 * libc/reent/signalr.c: Ditto.
768 * libc/reent/signgam.c: Ditto.
769 * libc/reent/statr.c: Ditto.
770 * libc/reent/timer.c: Ditto.
771 * libc/reent/unlinkr.c: Ditto.
772 * libc/reent/writer.c: Ditto.
773 * libc/syscalls/sysclose.c: Ditto.
774 * libc/syscalls/sysexecve.c: Ditto.
775 * libc/syscalls/sysfcntl.c: Ditto.
776 * libc/syscalls/sysfork.c: Ditto.
777 * libc/syscalls/sysfstat.c: Ditto.
778 * libc/syscalls/sysgetpid.c: Ditto.
779 * libc/syscalls/sysgettod.c: Ditto.
780 * libc/syscalls/syskill.c: Ditto.
781 * libc/syscalls/syslink.c: Ditto.
782 * libc/syscalls/syslseek.c: Ditto.
783 * libc/syscalls/sysopen.c: Ditto.
784 * libc/syscalls/sysread.c: Ditto.
785 * libc/syscalls/syssbrk.c: Ditto.
786 * libc/syscalls/sysstat.c: Ditto.
787 * libc/syscalls/systimes.c: Ditto.
788 * libc/syscalls/sysunlink.c: Ditto.
789 * libc/syscalls/syswait.c: Ditto.
790 * libc/syscalls/syswrite.c: Ditto.
791
702ceb23
JJ
7922003-06-03 Till Straumann <strauman@SLAC.Stanford.EDU>
793
794 * libc/time/tzset_r.c: Change local variables that are
795 set via sscanf using the %h format specifier to be unsigned short
796 instead of int.
797
102861c9
JJ
7982003-05-30 Kelley Cook <kelleycook@wideopenwest.com>
799
800 * configure.host: Allow i[34567]86 variant.
801 * configure.in: Likewise.
802 * README: Likewise to the docs.
803 * configure: Regenerated.
804 * Makefile.in: Ditto.
805
b359e82c
JJ
8062003-05-28 Jeff Johnston <jjohnstn@redhat.com>
807 Tom Fitzsimmons <fitzsim@redhat.com>
808
809 * configure.in: Add iconvdata support for x86 linux.
810 * configure: Regenerated.
811 * libc/sys/linux/Makefile.am: Add EL/IX level 3 network, dynamic
812 library, iconv, and linuxthreads support.
813 * libc/sys/linux/configure.in: Ditto.
814 * libc/sys/linux/Makefile.in: Regenerated.
815 * libc/sys/linux/configure: Ditto.
816 * iconvdata/EUC-JP.irreversible: New file.
817 * iconvdata/Makefile.am: Ditto.
818 * iconvdata/Makefile.in: Ditto.
819 * iconvdata/SJIS.irreversible: Ditto.
820 * iconvdata/aclocal.m4: Ditto.
821 * iconvdata/configure: Ditto.
822 * iconvdata/configure.in: Ditto.
823 * iconvdata/dummy.c: Ditto.
824 * iconvdata/euc-jp.c: Ditto.
825 * iconvdata/gconv-modules: Ditto.
826 * iconvdata/jis0201.c: Ditto.
827 * iconvdata/jis0201.h: Ditto.
828 * iconvdata/jis0208.c: Ditto.
829 * iconvdata/jis0208.h: Ditto.
830 * iconvdata/jis0212.c: Ditto.
831 * iconvdata/jis0212.h: Ditto.
832 * iconvdata/sjis.c: Ditto.
833 * libc/include/errno.h: Protect definition of error_t.
834 * libc/sys/linux/gethostid.c: New file.
835 * libc/sys/linux/sethostid.c: Ditto.
836 * libc/sys/linux/dl/Makefile.am: Ditto.
837 * libc/sys/linux/dl/Makefile.in: Ditto.
838 * libc/sys/linux/dl/abi-tag.h: Ditto.
839 * libc/sys/linux/dl/atomicity.h: Ditto.
840 * libc/sys/linux/dl/dl-addr.c: Ditto.
841 * libc/sys/linux/dl/dl-cache.c: Ditto.
842 * libc/sys/linux/dl/dl-cache.h: Ditto.
843 * libc/sys/linux/dl/dl-close.c: Ditto.
844 * libc/sys/linux/dl/dl-debug.c: Ditto.
845 * libc/sys/linux/dl/dl-deps.c: Ditto.
846 * libc/sys/linux/dl/dl-dst.h: Ditto.
847 * libc/sys/linux/dl/dl-error.c: Ditto.
848 * libc/sys/linux/dl/dl-fini.c: Ditto.
849 * libc/sys/linux/dl/dl-init.c: Ditto.
850 * libc/sys/linux/dl/dl-iteratephdr.c: Ditto.
851 * libc/sys/linux/dl/dl-libc.c: Ditto.
852 * libc/sys/linux/dl/dl-librecon.h: Ditto.
853 * libc/sys/linux/dl/dl-load.c: Ditto.
854 * libc/sys/linux/dl/dl-lookup.c: Ditto.
855 * libc/sys/linux/dl/dl-lookupcfg.h: Ditto.
856 * libc/sys/linux/dl/dl-minimal.c: Ditto.
857 * libc/sys/linux/dl/dl-misc.c: Ditto.
858 * libc/sys/linux/dl/dl-object.c: Ditto.
859 * libc/sys/linux/dl/dl-open.c: Ditto.
860 * libc/sys/linux/dl/dl-osinfo.h: Ditto.
861 * libc/sys/linux/dl/dl-profile.c: Ditto.
862 * libc/sys/linux/dl/dl-profstub.c: Ditto.
863 * libc/sys/linux/dl/dl-reloc.c: Ditto.
864 * libc/sys/linux/dl/dl-runtime.c: Ditto.
865 * libc/sys/linux/dl/dl-support.c: Ditto.
866 * libc/sys/linux/dl/dl-sym.c: Ditto.
867 * libc/sys/linux/dl/dl-version.c: Ditto.
868 * libc/sys/linux/dl/dlfcn.h: Ditto.
869 * libc/sys/linux/dl/do-lookup.h: Ditto.
870 * libc/sys/linux/dl/do-rel.h: Ditto.
871 * libc/sys/linux/dl/dynamic-link.h: Ditto.
872 * libc/sys/linux/dl/kernel-features.h: Ditto.
873 * libc/sys/linux/dl/ldsodefs.h: Ditto.
874 * libc/sys/linux/dl/libintl.h: Ditto.
875 * libc/sys/linux/dl/trusted-dirs.h: Ditto.
876 * libc/sys/linux/dl/unsecvars.h: Ditto.
877 * libc/sys/linux/iconv/Makefile.am: Ditto.
878 * libc/sys/linux/iconv/Makefile.in: Ditto.
879 * libc/sys/linux/iconv/categories.def: Ditto.
880 * libc/sys/linux/iconv/dummy-repertoire.c: Ditto.
881 * libc/sys/linux/iconv/gconv.c: Ditto.
882 * libc/sys/linux/iconv/gconv_builtin.c: Ditto.
883 * libc/sys/linux/iconv/gconv_builtin.h: Ditto.
884 * libc/sys/linux/iconv/gconv_cache.c: Ditto.
885 * libc/sys/linux/iconv/gconv_charset.h: Ditto.
886 * libc/sys/linux/iconv/gconv_close.c: Ditto.
887 * libc/sys/linux/iconv/gconv_conf.c: Ditto.
888 * libc/sys/linux/iconv/gconv_db.c: Ditto.
889 * libc/sys/linux/iconv/gconv_dl.c: Ditto.
890 * libc/sys/linux/iconv/gconv_int.h: Ditto.
891 * libc/sys/linux/iconv/gconv_open.c: Ditto.
892 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
893 * libc/sys/linux/iconv/gconv_trans.c: Ditto.
894 * libc/sys/linux/iconv/hash-string.h: Ditto.
895 * libc/sys/linux/iconv/iconv.c: Ditto.
896 * libc/sys/linux/iconv/iconv.h: Ditto.
897 * libc/sys/linux/iconv/iconv_charmap.c: Ditto.
898 * libc/sys/linux/iconv/iconv_close.c: Ditto.
899 * libc/sys/linux/iconv/iconv_open.c: Ditto.
900 * libc/sys/linux/iconv/iconvconfig.c: Ditto.
901 * libc/sys/linux/iconv/iconvconfig.h: Ditto.
902 * libc/sys/linux/iconv/loadinfo.h: Ditto.
903 * libc/sys/linux/iconv/localeinfo.h: Ditto.
904 * libc/sys/linux/iconv/loop.c: Ditto.
905 * libc/sys/linux/iconv/skeleton.c: Ditto.
906 * libc/sys/linux/iconv/strtab.c: Ditto.
907 * libc/sys/linux/include/dl-hash.h: Ditto.
908 * libc/sys/linux/include/dlfcn.h: Ditto.
909 * libc/sys/linux/include/fnmatch.h: Ditto.
910 * libc/sys/linux/include/gconv.h: Ditto.
911 * libc/sys/linux/include/glob.h: Ditto.
912 * libc/sys/linux/include/hesiod.h: Ditto.
913 * libc/sys/linux/include/ifaddrs.h: Ditto.
914 * libc/sys/linux/include/libc_private.h: Ditto.
915 * libc/sys/linux/include/link.h: Ditto.
916 * libc/sys/linux/include/namespace.h: Ditto.
917 * libc/sys/linux/include/netconfig.h: Ditto.
918 * libc/sys/linux/include/netdb.h: Ditto.
919 * libc/sys/linux/include/nsswitch.h: Ditto.
920 * libc/sys/linux/include/regex.h: Ditto.
921 * libc/sys/linux/include/resolv.h: Ditto.
922 * libc/sys/linux/include/rune.h: Ditto.
923 * libc/sys/linux/include/runetype.h: Ditto.
924 * libc/sys/linux/include/semaphore.h: Ditto.
925 * libc/sys/linux/include/setlocale.h: Ditto.
926 * libc/sys/linux/include/un-namespace.h: Ditto.
927 * libc/sys/linux/include/wordexp.h: Ditto.
928 * libc/sys/linux/include/arpa/ftp.h: Ditto.
929 * libc/sys/linux/include/arpa/inet.h: Ditto.
930 * libc/sys/linux/include/arpa/nameser.h: Ditto.
931 * libc/sys/linux/include/arpa/nameser_compat.h: Ditto.
932 * libc/sys/linux/include/arpa/telnet.h: Ditto.
933 * libc/sys/linux/include/arpa/tftp.h: Ditto.
934 * libc/sys/linux/include/net/bpf.h: Ditto.
935 * libc/sys/linux/include/net/bpf_compat.h: Ditto.
936 * libc/sys/linux/include/net/bpfdesc.h: Ditto.
937 * libc/sys/linux/include/net/bridge.h: Ditto.
938 * libc/sys/linux/include/net/ethernet.h: Ditto.
939 * libc/sys/linux/include/net/fddi.h: Ditto.
940 * libc/sys/linux/include/net/if.h: Ditto.
941 * libc/sys/linux/include/net/if_arc.h: Ditto.
942 * libc/sys/linux/include/net/if_arp.h: Ditto.
943 * libc/sys/linux/include/net/if_atm.h: Ditto.
944 * libc/sys/linux/include/net/if_dl.h: Ditto.
945 * libc/sys/linux/include/net/if_gif.h: Ditto.
946 * libc/sys/linux/include/net/if_ieee80211.h: Ditto.
947 * libc/sys/linux/include/net/if_llc.h: Ditto.
948 * libc/sys/linux/include/net/if_media.h: Ditto.
949 * libc/sys/linux/include/net/if_mib.h: Ditto.
950 * libc/sys/linux/include/net/if_ppp.h: Ditto.
951 * libc/sys/linux/include/net/if_pppvar.h: Ditto.
952 * libc/sys/linux/include/net/if_slvar.h: Ditto.
953 * libc/sys/linux/include/net/if_sppp.h: Ditto.
954 * libc/sys/linux/include/net/if_stf.h: Ditto.
955 * libc/sys/linux/include/net/if_tap.h: Ditto.
956 * libc/sys/linux/include/net/if_tapvar.h: Ditto.
957 * libc/sys/linux/include/net/if_tun.h: Ditto.
958 * libc/sys/linux/include/net/if_tunvar.h: Ditto.
959 * libc/sys/linux/include/net/if_types.h: Ditto.
960 * libc/sys/linux/include/net/if_var.h: Ditto.
961 * libc/sys/linux/include/net/if_vlan_var.h: Ditto.
962 * libc/sys/linux/include/net/intrq.h: Ditto.
963 * libc/sys/linux/include/net/iso88025.h: Ditto.
964 * libc/sys/linux/include/net/net_osdep.h: Ditto.
965 * libc/sys/linux/include/net/netisr.h: Ditto.
966 * libc/sys/linux/include/net/pfil.h: Ditto.
967 * libc/sys/linux/include/net/pfkeyv2.h: Ditto.
968 * libc/sys/linux/include/net/ppp_comp.h: Ditto.
969 * libc/sys/linux/include/net/ppp_defs.h: Ditto.
970 * libc/sys/linux/include/net/radix.h: Ditto.
971 * libc/sys/linux/include/net/raw_cb.h: Ditto.
972 * libc/sys/linux/include/net/route.h: Ditto.
973 * libc/sys/linux/include/net/slcompress.h: Ditto.
974 * libc/sys/linux/include/net/slip.h: Ditto.
975 * libc/sys/linux/include/net/zlib.h: Ditto.
976 * libc/sys/linux/include/netinet/icmp6.h: Ditto.
977 * libc/sys/linux/include/netinet/icmp_var.h: Ditto.
978 * libc/sys/linux/include/netinet/if_atm.h: Ditto.
979 * libc/sys/linux/include/netinet/if_ether.h: Ditto.
980 * libc/sys/linux/include/netinet/igmp.h: Ditto.
981 * libc/sys/linux/include/netinet/igmp_var.h: Ditto.
982 * libc/sys/linux/include/netinet/in.h: Ditto.
983 * libc/sys/linux/include/netinet/in_gif.h: Ditto.
984 * libc/sys/linux/include/netinet/in_pcb.h: Ditto.
985 * libc/sys/linux/include/netinet/in_systm.h: Ditto.
986 * libc/sys/linux/include/netinet/in_var.h: Ditto.
987 * libc/sys/linux/include/netinet/ip.h: Ditto.
988 * libc/sys/linux/include/netinet/ip6.h: Ditto.
989 * libc/sys/linux/include/netinet/ip_dummynet.h: Ditto.
990 * libc/sys/linux/include/netinet/ip_ecn.h: Ditto.
991 * libc/sys/linux/include/netinet/ip_encap.h: Ditto.
992 * libc/sys/linux/include/netinet/ip_flow.h: Ditto.
993 * libc/sys/linux/include/netinet/ip_fw.h: Ditto.
994 * libc/sys/linux/include/netinet/ip_icmp.h: Ditto.
995 * libc/sys/linux/include/netinet/ip_mroute.h: Ditto.
996 * libc/sys/linux/include/netinet/ip_var.h: Ditto.
997 * libc/sys/linux/include/netinet/ipprotosw.h: Ditto.
998 * libc/sys/linux/include/netinet/tcp.h: Ditto.
999 * libc/sys/linux/include/netinet/tcp_debug.h: Ditto.
1000 * libc/sys/linux/include/netinet/tcp_fsm.h: Ditto.
1001 * libc/sys/linux/include/netinet/tcp_seq.h: Ditto.
1002 * libc/sys/linux/include/netinet/tcp_timer.h: Ditto.
1003 * libc/sys/linux/include/netinet/tcp_var.h: Ditto.
1004 * libc/sys/linux/include/netinet/tcpip.h: Ditto.
1005 * libc/sys/linux/include/netinet/udp.h: Ditto.
1006 * libc/sys/linux/include/netinet/udp_var.h: Ditto.
1007 * libc/sys/linux/include/netinet6/ah.h: Ditto.
1008 * libc/sys/linux/include/netinet6/ah6.h: Ditto.
1009 * libc/sys/linux/include/netinet6/esp.h: Ditto.
1010 * libc/sys/linux/include/netinet6/esp6.h: Ditto.
1011 * libc/sys/linux/include/netinet6/esp_rijndael.h: Ditto.
1012 * libc/sys/linux/include/netinet6/icmp6.h: Ditto.
1013 * libc/sys/linux/include/netinet6/in6.h: Ditto.
1014 * libc/sys/linux/include/netinet6/in6_gif.h: Ditto.
1015 * libc/sys/linux/include/netinet6/in6_ifattach.h: Ditto.
1016 * libc/sys/linux/include/netinet6/in6_pcb.h: Ditto.
1017 * libc/sys/linux/include/netinet6/in6_prefix.h: Ditto.
1018 * libc/sys/linux/include/netinet6/in6_var.h: Ditto.
1019 * libc/sys/linux/include/netinet6/ip6.h: Ditto.
1020 * libc/sys/linux/include/netinet6/ip6_ecn.h: Ditto.
1021 * libc/sys/linux/include/netinet6/ip6_fw.h: Ditto.
1022 * libc/sys/linux/include/netinet6/ip6_mroute.h: Ditto.
1023 * libc/sys/linux/include/netinet6/ip6_var.h: Ditto.
1024 * libc/sys/linux/include/netinet6/ip6protosw.h: Ditto.
1025 * libc/sys/linux/include/netinet6/ipcomp.h: Ditto.
1026 * libc/sys/linux/include/netinet6/ipcomp6.h: Ditto.
1027 * libc/sys/linux/include/netinet6/ipsec.h: Ditto.
1028 * libc/sys/linux/include/netinet6/ipsec6.h: Ditto.
1029 * libc/sys/linux/include/netinet6/mld6_var.h: Ditto.
1030 * libc/sys/linux/include/netinet6/nd6.h: Ditto.
1031 * libc/sys/linux/include/netinet6/pim6.h: Ditto.
1032 * libc/sys/linux/include/netinet6/pim6_var.h: Ditto.
1033 * libc/sys/linux/include/netinet6/raw_ip6.h: Ditto.
1034 * libc/sys/linux/include/netinet6/scope6_var.h: Ditto.
1035 * libc/sys/linux/include/netinet6/tcp6_var.h: Ditto.
1036 * libc/sys/linux/include/netinet6/udp6_var.h: Ditto.
1037 * libc/sys/linux/include/netns/idp.h: Ditto.
1038 * libc/sys/linux/include/netns/idp_var.h: Ditto.
1039 * libc/sys/linux/include/netns/ns.h: Ditto.
1040 * libc/sys/linux/include/netns/ns_error.h: Ditto.
1041 * libc/sys/linux/include/netns/ns_if.h: Ditto.
1042 * libc/sys/linux/include/netns/ns_pcb.h: Ditto.
1043 * libc/sys/linux/include/netns/sp.h: Ditto.
1044 * libc/sys/linux/include/netns/spidp.h: Ditto.
1045 * libc/sys/linux/include/netns/spp_debug.h: Ditto.
1046 * libc/sys/linux/include/netns/spp_timer.h: Ditto.
1047 * libc/sys/linux/include/netns/spp_var.h: Ditto.
1048 * libc/sys/linux/include/rpc/Makefile: Ditto.
1049 * libc/sys/linux/include/rpc/auth.h: Ditto.
1050 * libc/sys/linux/include/rpc/auth_des.h: Ditto.
1051 * libc/sys/linux/include/rpc/auth_kerb.h: Ditto.
1052 * libc/sys/linux/include/rpc/auth_unix.h: Ditto.
1053 * libc/sys/linux/include/rpc/clnt.h: Ditto.
1054 * libc/sys/linux/include/rpc/clnt_soc.h: Ditto.
1055 * libc/sys/linux/include/rpc/clnt_stat.h: Ditto.
1056 * libc/sys/linux/include/rpc/des.h: Ditto.
1057 * libc/sys/linux/include/rpc/des_crypt.h: Ditto.
1058 * libc/sys/linux/include/rpc/nettype.h: Ditto.
1059 * libc/sys/linux/include/rpc/pmap_clnt.h: Ditto.
1060 * libc/sys/linux/include/rpc/pmap_prot.h: Ditto.
1061 * libc/sys/linux/include/rpc/pmap_rmt.h: Ditto.
1062 * libc/sys/linux/include/rpc/raw.h: Ditto.
1063 * libc/sys/linux/include/rpc/rpc.h: Ditto.
1064 * libc/sys/linux/include/rpc/rpc_com.h: Ditto.
1065 * libc/sys/linux/include/rpc/rpc_msg.h: Ditto.
1066 * libc/sys/linux/include/rpc/rpcb_clnt.h: Ditto.
1067 * libc/sys/linux/include/rpc/rpcb_prot.h: Ditto.
1068 * libc/sys/linux/include/rpc/rpcb_prot.x: Ditto.
1069 * libc/sys/linux/include/rpc/rpcent.h: Ditto.
1070 * libc/sys/linux/include/rpc/svc.h: Ditto.
1071 * libc/sys/linux/include/rpc/svc_auth.h: Ditto.
1072 * libc/sys/linux/include/rpc/svc_dg.h: Ditto.
1073 * libc/sys/linux/include/rpc/svc_soc.h: Ditto.
1074 * libc/sys/linux/include/rpc/types.h: Ditto.
1075 * libc/sys/linux/include/rpc/xdr.h: Ditto.
1076 * libc/sys/linux/intl/Makefile.am: Ditto.
1077 * libc/sys/linux/intl/Makefile.in: Ditto.
1078 * libc/sys/linux/intl/bindtextdom.c: Ditto.
1079 * libc/sys/linux/intl/catgets.c: Ditto.
1080 * libc/sys/linux/intl/catgetsinfo.h: Ditto.
1081 * libc/sys/linux/intl/config.h: Ditto.
1082 * libc/sys/linux/intl/dcgettext.c: Ditto.
1083 * libc/sys/linux/intl/dcigettext.c: Ditto.
1084 * libc/sys/linux/intl/dcngettext.c: Ditto.
1085 * libc/sys/linux/intl/dgettext.c: Ditto.
1086 * libc/sys/linux/intl/dngettext.c: Ditto.
1087 * libc/sys/linux/intl/explodename.c: Ditto.
1088 * libc/sys/linux/intl/finddomain.c: Ditto.
1089 * libc/sys/linux/intl/gettext.c: Ditto.
1090 * libc/sys/linux/intl/gettext.h: Ditto.
1091 * libc/sys/linux/intl/gettextP.h: Ditto.
1092 * libc/sys/linux/intl/hash-string.h: Ditto.
1093 * libc/sys/linux/intl/l10nflist.c: Ditto.
1094 * libc/sys/linux/intl/loadinfo.h: Ditto.
1095 * libc/sys/linux/intl/loadmsgcat.c: Ditto.
1096 * libc/sys/linux/intl/locale.alias: Ditto.
1097 * libc/sys/linux/intl/localealias.c: Ditto.
1098 * libc/sys/linux/intl/ngettext.c: Ditto.
1099 * libc/sys/linux/intl/open_catalog.c: Ditto.
1100 * libc/sys/linux/intl/plural.c: Ditto.
1101 * libc/sys/linux/intl/plural.y: Ditto.
1102 * libc/sys/linux/intl/stpcpy.c: Ditto.
1103 * libc/sys/linux/intl/textdomain.c: Ditto.
1104 * libc/sys/linux/linuxthreads/LICENSE: Ditto.
1105 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
1106 * libc/sys/linux/linuxthreads/Makefile.in: Ditto.
1107 * libc/sys/linux/linuxthreads/aclocal.m4: Ditto.
1108 * libc/sys/linux/linuxthreads/attr.c: Ditto.
1109 * libc/sys/linux/linuxthreads/barrier.c: Ditto.
1110 * libc/sys/linux/linuxthreads/bp-sym.h: Ditto.
1111 * libc/sys/linux/linuxthreads/cancel.c: Ditto.
1112 * libc/sys/linux/linuxthreads/condvar.c: Ditto.
1113 * libc/sys/linux/linuxthreads/config.h: Ditto.
1114 * libc/sys/linux/linuxthreads/configure: Ditto.
1115 * libc/sys/linux/linuxthreads/configure.in: Ditto.
1116 * libc/sys/linux/linuxthreads/defs.awk: Ditto.
1117 * libc/sys/linux/linuxthreads/ecmutex.c: Ditto.
1118 * libc/sys/linux/linuxthreads/events.c: Ditto.
1119 * libc/sys/linux/linuxthreads/getcpuclockid.c: Ditto.
1120 * libc/sys/linux/linuxthreads/getreent.c: Ditto.
1121 * libc/sys/linux/linuxthreads/internals.h: Ditto.
1122 * libc/sys/linux/linuxthreads/join.c: Ditto.
1123 * libc/sys/linux/linuxthreads/joinrace.c: Ditto.
1124 * libc/sys/linux/linuxthreads/kernel-features.h: Ditto.
1125 * libc/sys/linux/linuxthreads/libc-internal.h: Ditto.
1126 * libc/sys/linux/linuxthreads/libc-symbols.h: Ditto.
1127 * libc/sys/linux/linuxthreads/linuxthreads.texi: Ditto.
1128 * libc/sys/linux/linuxthreads/lockfile.c: Ditto.
1129 * libc/sys/linux/linuxthreads/manager.c: Ditto.
1130 * libc/sys/linux/linuxthreads/mq_notify.c: Ditto.
1131 * libc/sys/linux/linuxthreads/mutex.c: Ditto.
1132 * libc/sys/linux/linuxthreads/no-tsd.c: Ditto.
1133 * libc/sys/linux/linuxthreads/oldsemaphore.c: Ditto.
1134 * libc/sys/linux/linuxthreads/posix-timer.h: Ditto.
1135 * libc/sys/linux/linuxthreads/prio.c: Ditto.
1136 * libc/sys/linux/linuxthreads/proc_service.h: Ditto.
1137 * libc/sys/linux/linuxthreads/pt-machine.c: Ditto.
1138 * libc/sys/linux/linuxthreads/ptclock_gettime.c: Ditto.
1139 * libc/sys/linux/linuxthreads/ptclock_settime.c: Ditto.
1140 * libc/sys/linux/linuxthreads/ptfork.c: Ditto.
1141 * libc/sys/linux/linuxthreads/pthread.c: Ditto.
1142 * libc/sys/linux/linuxthreads/ptlongjmp.c: Ditto.
1143 * libc/sys/linux/linuxthreads/queue.h: Ditto.
1144 * libc/sys/linux/linuxthreads/reent.c: Ditto.
1145 * libc/sys/linux/linuxthreads/reqsyscalls.c: Ditto.
1146 * libc/sys/linux/linuxthreads/restart.h: Ditto.
1147 * libc/sys/linux/linuxthreads/rwlock.c: Ditto.
1148 * libc/sys/linux/linuxthreads/semaphore.c: Ditto.
1149 * libc/sys/linux/linuxthreads/semaphore.h: Ditto.
1150 * libc/sys/linux/linuxthreads/shlib-compat.h: Ditto.
1151 * libc/sys/linux/linuxthreads/signals.c: Ditto.
1152 * libc/sys/linux/linuxthreads/specific.c: Ditto.
1153 * libc/sys/linux/linuxthreads/spinlock.c: Ditto.
1154 * libc/sys/linux/linuxthreads/spinlock.h: Ditto.
1155 * libc/sys/linux/linuxthreads/sysctl.c: Ditto.
1156 * libc/sys/linux/linuxthreads/td_init.c: Ditto.
1157 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
1158 * libc/sys/linux/linuxthreads/td_symbol_list.c: Ditto.
1159 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
1160 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
1161 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
1162 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
1163 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
1164 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
1165 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
1166 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
1167 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
1168 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
1169 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
1170 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
1171 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
1172 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
1173 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
1174 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
1175 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
1176 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
1177 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
1178 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
1179 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
1180 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
1181 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
1182 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
1183 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
1184 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
1185 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
1186 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
1187 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
1188 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
1189 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
1190 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
1191 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
1192 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
1193 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
1194 * libc/sys/linux/linuxthreads/testrtsig.h: Ditto.
1195 * libc/sys/linux/linuxthreads/thread_db.h: Ditto.
1196 * libc/sys/linux/linuxthreads/thread_dbP.h: Ditto.
1197 * libc/sys/linux/linuxthreads/timer_create.c: Ditto.
1198 * libc/sys/linux/linuxthreads/timer_delete.c: Ditto.
1199 * libc/sys/linux/linuxthreads/timer_getoverr.c: Ditto.
1200 * libc/sys/linux/linuxthreads/timer_gettime.c: Ditto.
1201 * libc/sys/linux/linuxthreads/timer_routines.c: Ditto.
1202 * libc/sys/linux/linuxthreads/timer_settime.c: Ditto.
1203 * libc/sys/linux/linuxthreads/tst-cancel.c: Ditto.
1204 * libc/sys/linux/linuxthreads/tst-context.c: Ditto.
1205 * libc/sys/linux/linuxthreads/tststack.c: Ditto.
1206 * libc/sys/linux/linuxthreads/unload.c: Ditto.
1207 * libc/sys/linux/linuxthreads/weaks.c: Ditto.
1208 * libc/sys/linux/linuxthreads/wrapsyscall.c: Ditto.
1209 * libc/sys/linux/linuxthreads/bits/initspin.h: Ditto.
1210 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Ditto.
1211 * libc/sys/linux/linuxthreads/bits/libc-tsd.h: Ditto.
1212 * libc/sys/linux/linuxthreads/bits/local_lim.h: Ditto.
1213 * libc/sys/linux/linuxthreads/bits/posix_opt.h: Ditto.
1214 * libc/sys/linux/linuxthreads/bits/pthreadtypes.h: Ditto.
1215 * libc/sys/linux/linuxthreads/bits/sigthread.h: Ditto.
1216 * libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
1217 * libc/sys/linux/linuxthreads/machine/Makefile.in: Ditto.
1218 * libc/sys/linux/linuxthreads/machine/aclocal.m4: Ditto.
1219 * libc/sys/linux/linuxthreads/machine/configure: Ditto.
1220 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
1221 * libc/sys/linux/linuxthreads/machine/generic/generic-sysd: Ditto.ep.h
1222 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
1223 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Ditto.
1224 * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Ditto.
1225 * libc/sys/linux/linuxthreads/machine/i386/bp-asm.h: Ditto.
1226 * libc/sys/linux/linuxthreads/machine/i386/clone.S: Ditto.
1227 * libc/sys/linux/linuxthreads/machine/i386/configure: Ditto.
1228 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
1229 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.S: Ditto.
1230 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.h: Ditto.
1231 * libc/sys/linux/linuxthreads/machine/i386/pspinlock.c: Ditto.
1232 * libc/sys/linux/linuxthreads/machine/i386/pt-machine.h: Ditto.
1233 * libc/sys/linux/linuxthreads/machine/i386/sigcontextinfo.h: Ditto.
1234 * libc/sys/linux/linuxthreads/machine/i386/stackinfo.h: Ditto.
1235 * libc/sys/linux/linuxthreads/machine/i386/sysdep.S: Ditto.
1236 * libc/sys/linux/linuxthreads/machine/i386/sysdep.h: Ditto.
1237 * libc/sys/linux/linuxthreads/machine/i386/useldt.h: Ditto.
1238 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
1239 * libc/sys/linux/net/Makefile.am: Ditto.
1240 * libc/sys/linux/net/Makefile.in: Ditto.
1241 * libc/sys/linux/net/addr2ascii.3: Ditto.
1242 * libc/sys/linux/net/addr2ascii.c: Ditto.
1243 * libc/sys/linux/net/ascii2addr.c: Ditto.
1244 * libc/sys/linux/net/base64.c: Ditto.
1245 * libc/sys/linux/net/bindresvport.c: Ditto.
1246 * libc/sys/linux/net/byteorder.3: Ditto.
1247 * libc/sys/linux/net/ether_addr.c: Ditto.
1248 * libc/sys/linux/net/ethers.3: Ditto.
1249 * libc/sys/linux/net/getaddrinfo.3: Ditto.
1250 * libc/sys/linux/net/getaddrinfo.c: Ditto.
1251 * libc/sys/linux/net/gethostbydns.c: Ditto.
1252 * libc/sys/linux/net/gethostbyht.c: Ditto.
1253 * libc/sys/linux/net/gethostbyname.3: Ditto.
1254 * libc/sys/linux/net/gethostbynis.c: Ditto.
1255 * libc/sys/linux/net/gethostnamadr.c: Ditto.
1256 * libc/sys/linux/net/getifaddrs.3: Ditto.
1257 * libc/sys/linux/net/getifaddrs.c: Ditto.
1258 * libc/sys/linux/net/getipnodebyname.3: Ditto.
1259 * libc/sys/linux/net/getnameinfo.3: Ditto.
1260 * libc/sys/linux/net/getnameinfo.c: Ditto.
1261 * libc/sys/linux/net/getnetbydns.c: Ditto.
1262 * libc/sys/linux/net/getnetbyht.c: Ditto.
1263 * libc/sys/linux/net/getnetbynis.c: Ditto.
1264 * libc/sys/linux/net/getnetent.3: Ditto.
1265 * libc/sys/linux/net/getnetnamadr.c: Ditto.
1266 * libc/sys/linux/net/getproto.c: Ditto.
1267 * libc/sys/linux/net/getprotoent.3: Ditto.
1268 * libc/sys/linux/net/getprotoent.c: Ditto.
1269 * libc/sys/linux/net/getprotoname.c: Ditto.
1270 * libc/sys/linux/net/getservbyname.c: Ditto.
1271 * libc/sys/linux/net/getservbyport.c: Ditto.
1272 * libc/sys/linux/net/getservent.3: Ditto.
1273 * libc/sys/linux/net/getservent.c: Ditto.
1274 * libc/sys/linux/net/herror.c: Ditto.
1275 * libc/sys/linux/net/hesiod.3: Ditto.
1276 * libc/sys/linux/net/hesiod.c: Ditto.
1277 * libc/sys/linux/net/if_indextoname.3: Ditto.
1278 * libc/sys/linux/net/ifname.c: Ditto.
1279 * libc/sys/linux/net/inet.3: Ditto.
1280 * libc/sys/linux/net/inet6_option_s: Ditto.pace.3
1281 * libc/sys/linux/net/inet6_rthdr_space.3: Ditto.
1282 * libc/sys/linux/net/inet_addr.c: Ditto.
1283 * libc/sys/linux/net/inet_lnaof.c: Ditto.
1284 * libc/sys/linux/net/inet_makeaddr.c: Ditto.
1285 * libc/sys/linux/net/inet_net.3: Ditto.
1286 * libc/sys/linux/net/inet_net_ntop.c: Ditto.
1287 * libc/sys/linux/net/inet_net_pton.c: Ditto.
1288 * libc/sys/linux/net/inet_neta.c: Ditto.
1289 * libc/sys/linux/net/inet_netof.c: Ditto.
1290 * libc/sys/linux/net/inet_network.c: Ditto.
1291 * libc/sys/linux/net/inet_ntoa.c: Ditto.
1292 * libc/sys/linux/net/inet_ntop.c: Ditto.
1293 * libc/sys/linux/net/inet_pton.c: Ditto.
1294 * libc/sys/linux/net/innetgr-stub.c: Ditto.
1295 * libc/sys/linux/net/ip6opt.c: Ditto.
1296 * libc/sys/linux/net/iso_addr.3: Ditto.
1297 * libc/sys/linux/net/iso_addr.c: Ditto.
1298 * libc/sys/linux/net/issetugid-stub.c: Ditto.
1299 * libc/sys/linux/net/linkaddr.3: Ditto.
1300 * libc/sys/linux/net/linkaddr.c: Ditto.
1301 * libc/sys/linux/net/map_v4v6.c: Ditto.
1302 * libc/sys/linux/net/name6.c: Ditto.
1303 * libc/sys/linux/net/namespace.h: Ditto.
1304 * libc/sys/linux/net/ns.3: Ditto.
1305 * libc/sys/linux/net/ns_addr.c: Ditto.
1306 * libc/sys/linux/net/ns_name.c: Ditto.
1307 * libc/sys/linux/net/ns_netint.c: Ditto.
1308 * libc/sys/linux/net/ns_ntoa.c: Ditto.
1309 * libc/sys/linux/net/ns_parse.c: Ditto.
1310 * libc/sys/linux/net/ns_print.c: Ditto.
1311 * libc/sys/linux/net/ns_ttl.c: Ditto.
1312 * libc/sys/linux/net/nsap_addr.c: Ditto.
1313 * libc/sys/linux/net/nsdispatch.3: Ditto.
1314 * libc/sys/linux/net/nsdispatch.c: Ditto.
1315 * libc/sys/linux/net/nslexer.c: Ditto.
1316 * libc/sys/linux/net/nslexer.l: Ditto.
1317 * libc/sys/linux/net/nsparser.c: Ditto.
1318 * libc/sys/linux/net/nsparser.h: Ditto.
1319 * libc/sys/linux/net/nsparser.y: Ditto.
1320 * libc/sys/linux/net/rcmd.3: Ditto.
1321 * libc/sys/linux/net/rcmd.c: Ditto.
1322 * libc/sys/linux/net/rcmdsh.3: Ditto.
1323 * libc/sys/linux/net/rcmdsh.c: Ditto.
1324 * libc/sys/linux/net/recv.c: Ditto.
1325 * libc/sys/linux/net/res_comp.c: Ditto.
1326 * libc/sys/linux/net/res_config.h: Ditto.
1327 * libc/sys/linux/net/res_data.c: Ditto.
1328 * libc/sys/linux/net/res_debug.c: Ditto.
1329 * libc/sys/linux/net/res_init.c: Ditto.
1330 * libc/sys/linux/net/res_mkquery.c: Ditto.
1331 * libc/sys/linux/net/res_mkupdate.c: Ditto.
1332 * libc/sys/linux/net/res_query.c: Ditto.
1333 * libc/sys/linux/net/res_send.c: Ditto.
1334 * libc/sys/linux/net/res_update.c: Ditto.
1335 * libc/sys/linux/net/resolver.3: Ditto.
1336 * libc/sys/linux/net/rthdr.c: Ditto.
1337 * libc/sys/linux/net/send.c: Ditto.
1338 * libc/sys/linux/net/un-namespace.h: Ditto.
1339 * libc/sys/linux/net/vars.c: Ditto.
1340 * libc/sys/linux/stdlib/COPYRIGHT: Ditto.
1341 * libc/sys/linux/stdlib/Makefile.am: Ditto.
1342 * libc/sys/linux/stdlib/Makefile.in: Ditto.
1343 * libc/sys/linux/stdlib/cclass.h: Ditto.
1344 * libc/sys/linux/stdlib/cname.h: Ditto.
1345 * libc/sys/linux/stdlib/collate.c: Ditto.
1346 * libc/sys/linux/stdlib/collate.h: Ditto.
1347 * libc/sys/linux/stdlib/collcmp.c: Ditto.
1348 * libc/sys/linux/stdlib/engine.c: Ditto.
1349 * libc/sys/linux/stdlib/fnmatch.3: Ditto.
1350 * libc/sys/linux/stdlib/fnmatch.c: Ditto.
1351 * libc/sys/linux/stdlib/glob.3: Ditto.
1352 * libc/sys/linux/stdlib/glob.c: Ditto.
1353 * libc/sys/linux/stdlib/reallocf.c: Ditto.
1354 * libc/sys/linux/stdlib/regcomp.c: Ditto.
1355 * libc/sys/linux/stdlib/regerror.c: Ditto.
1356 * libc/sys/linux/stdlib/regex.3: Ditto.
1357 * libc/sys/linux/stdlib/regex2.h: Ditto.
1358 * libc/sys/linux/stdlib/regexec.c: Ditto.
1359 * libc/sys/linux/stdlib/regfree.c: Ditto.
1360 * libc/sys/linux/stdlib/utils.h: Ditto.
1361 * libc/sys/linux/stdlib/wordexp.c: Ditto.
1362 * libc/sys/linux/stdlib/wordfree.c: Ditto.
1363 * libc/sys/linux/sys/dlfcn.h: Ditto.
1364 * libc/sys/linux/sys/elfclass.h: Ditto.
1365 * libc/sys/linux/sys/event.h: Ditto.
1366 * libc/sys/linux/sys/ioccom.h: Ditto.
1367 * libc/sys/linux/sys/libc-tsd.h: Ditto.
1368 * libc/sys/linux/sys/link.h: Ditto.
1369 * libc/sys/linux/sys/lock.h: Ditto.
1370 * libc/sys/linux/sys/param.h: Ditto.
1371 * libc/sys/linux/sys/socket.h: Ditto.
1372 * libc/sys/linux/sys/sockio.h: Ditto.
1373
82095e79
JJ
13742003-05-28 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
1375
1376 * newlib/libc/machine/h8300/memcpy.S: Use .h8300hn and .h8300sn for
1377 normal mode
1378 * newlib/libc/machine/h8300/memset.S: Likewise
1379 * newlib/lib/machine/h8300/reg_memcpy.S: Likewise
1380 * newlib/lib/machine/h8300/reg_memset.S: Likewise
1381 * newlib/lib/machine/h8300/setjmp.S: Likewise
1382 * newlib/lib/machine/h8300/strcmp.S: Likewise
1383 * newlib/lib/sys/h8300hms/crt0.S: Likewise
1384
8a4b4764
CV
13852003-05-13 Corinna Vinschen <corinna@vinschen.de>
1386
1387 * libc/ctype/ctype_.c: Remove checks for deprecated __CYGWIN32__.
1388 * libc/include/stdio.h: Ditto.
1389 * libc/include/sys/config.h: Ditto.
1390 * libc/stdio/mktemp.c: Ditto.
1391
837e070f
CV
13922003-05-13 Corinna Vinschen <corinna@vinschen.de>
1393
1394 * libc/locale/ldpart.c (__part_load_locale): Substitute
1395 __CYGWIN_USE_BIG_TYPES__ by __USE_INTERNAL_STAT64.
1396 * libc/search/hash.c (__hash_open): Ditto.
1397 (init_hash): Ditto.
1398 * libc/stdio/fseek.c (fseek): Ditto.
1399 * libc/stdio/makebuf.c (__smakebuf): Ditto.
1400 * libc/stdio/mktemp.c (_gettemp): Ditto.
1401
b47fcdf0
CV
14022003-05-12 Corinna Vinschen <corinna@vinschen.de>
1403
1404 * libc/include/stdio.h: Change one __CYGWIN__ to __CYGWIN32__.
1405
11e3a520
CV
14062003-05-12 Corinna Vinschen <corinna@vinschen.de>
1407
1408 * configure.host: Accomodate removing the libc/sys/cygwin dir.
1409 * libc/locale/ldpart.c (__part_load_locale): Use 64 bit stat call
1410 if __CYGWIN_USE_BIG_TYPES__ is set.
1411 * libc/search/hash.c (__hash_open): Ditto.
1412 (init_hash): Ditto.
1413 * libc/stdio/fseek.c (fseek): Ditto.
1414 * libc/stdio/makebuf.c (__smakebuf): Ditto.
1415 * libc/stdio/mktemp.c (_gettemp): Ditto.
1416 * libc/sys/cygwin/Makefile.am: Remove.
1417 * libc/sys/cygwin/Makefile.in: Remove.
1418 * libc/sys/cygwin/aclocal.m4: Remove.
1419 * libc/sys/cygwin/configure: Remove.
1420 * libc/sys/cygwin/configure.in: Remove.
1421 * libc/sys/cygwin/crt0.c: Move to winsup/cygwin directory.
1422 * libc/sys/cygwin/sys/dirent.h: Move to winsup/cygwin/include/sys
1423 directory.
1424 * libc/sys/cygwin/sys/param.h: Ditto.
1425 * libc/sys/cygwin/sys/utime.h: Ditto.
1426 * libc/sys/cygwin/sys/utmp.h: Ditto.
1427
d1b5e65b
CV
14282003-05-11 Corinna Vinschen <corinna@vinschen.de>
1429
1430 * libc/include/sys/types.h: Don't define key_t for Cygwin.
1431
ec48a953
CF
14322003-05-10 Christopher Faylor <cgf@redhat.com>
1433
1434 * libc/sys/cygwin/sys/dirent.h (struct dirent): Accommodate (slightly)
1435 64 bit inodes.
1436
a3cc5851
CV
14372003-05-09 Corinna Vinschen <corinna@vinschen.de>
1438
1439 * libc/include/sys/config.h: Remove all Cygwin specific configuration.
1440 Include cygwin/config.h instead.
1441
57ff95d3
JJ
14422003-04-16 Jeff Johnston <jjohnstn@redhat.com>
1443
1444 * newlib/libc/machine/powerpc (ato*fix*.c,strto*fix*.c): Shield
1445 all code with #ifdef __SPE__ test.
1446 * newlib/libc/machine/powerpc (simdldtoa.c, ufix64toa.c): Ditto.
1447
cfd2c7be
CF
14482003-04-15 Chris January <chris@atomice.net>
1449
1450 * newlib/libc/include/sys/unistd.h: add declaration for gethostid on
1451 Cygwin.
1452
6f48c0ae
JR
14532003-04-09 J"orn Rennecke <joern.rennecke@superh.com>
1454
1455 * libc/machine/sh/memset.S: Avoid clobbering volatile
1456 objects following a tiny to-be-set array in the same quadword.
1457
8f8d09c0
CV
14582001-04-09 Corinna Vinschen <corinna@vinschen.de>
1459
1460 * libc/include/wchar.h: Add definitions for wcswidth and wcwidth.
1461 * libc/string/Makefile.am: Add wcswidth.c and wcwidth.c
1462 * libc/string/Makefile.in: Regenerated.
1463 * libc/string/wcswidth.c: New file.
1464 * libc/string/wcwidth.c: New file.
1465 * libc/string/wcstrings.tex: Add wcswidth and wcwidth.
1466
40c3b2d0
JR
1467Thu Apr 3 14:01:16 2003 J"orn Rennecke <joern.rennecke@superh.com>
1468
1469 * libc/machine/sh/memset.S: Fix problem with alloco region
1470 exceeding destination region for length >= 88 bytes, start
1471 & 0x16 == 0, end & 0x1f == 18.
1472
8ae6a3dd
CV
14732001-04-03 Corinna Vinschen <corinna@vinschen.de>
1474
1475 * libc/string/wcscoll.c: Fix comment.
1476
d122b1cc
CV
14772001-04-02 Corinna Vinschen <corinna@vinschen.de>
1478
1479 * libc/include/wchar.h: Add definition for wcscoll.
1480 * libc/string/Makefile.am: Add wcscoll.c.
1481 * libc/string/Makefile.in: Regenerated.
1482 * libc/string/wcscoll.c: New file.
1483 * libc/string/wcstrings.tex: Add wcscoll.
1484
31ee99a4
CV
14852003-04-01 Corinna Vinschen <corinna@vinschen.de>
1486
1487 * libc/stdio/sscanf.c: Update flags description.
1488 * libc/stdio/vfscanf.c: Add CHAR flag value to denote 8 bit target
1489 type.
1490 (__svfscanf_r): Add 'hh' and 'll' handling.
1491
d78045ee
CV
14922003-04-01 Corinna Vinschen <corinna@vinschen.de>
1493
1494 * libc/sys/cygwin/sys/dirent.h (struct DIR): Change type of
1495 __d_position member to _off_t.
1496
e6bdc6c5
JJ
14972003-03-20 Jeff Johnston <jjohnstn@redhat.com>
1498
1499 * libc/stdio/vfscanf.c (__svfscanf_r): For floating point conversion,
1500 count all characters used to create number against maximum width.
1501 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
1502
e65d559e
JJ
15032003-03-18 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
1504
1505 * libc/include/sys/h8300hms/crt0.S[__SIMULATOR__]: Add commandline
1506 support.
1507 * configure.host (h8300*-*-*): Added comment regarding -D__SIMULATOR__
1508 flag to support simulator only extensions.
1509
6b3bb52b
JJ
15102003-03-17 Bob Cassels <bcassels@abinitio.com>
1511
1512 * libc/string/wcschr.c: (wcschr): Look for character first,
1513 then for end of string, so you can do wcschr(x, '\0').
1514
2a940c1a
CV
15152003-03-10 Corinna Vinschen <corinna@vinschen.de>
1516
1517 * libc/include/stdio.h: Declare fgetpos, fsetpos, fseeko and ftello
1518 with internal (_fpos_t and _off_t) datatypes when compiling newlib.
1519 * libc/include/sys/unistd.h: Declare _lseek using _off_t.
1520 * libc/reent/lseekr.c (_lseek_r): Use _off_t instead of off_t.
1521 * libc/stdio/fseeko.c (fseeko): Ditto.
1522 * libc/stdio/ftello.c (ftello): Ditto.
1523 * libc/stdio/stdio.c (__swrite): Ditto.
1524 (__sseek): Ditto.
1525 * libc/stdio/fgetpos.c (fgetpos): Use _fpos_t instead of fpos_t.
1526 * libc/stdio/fseek.c (fseek): Ditto.
1527 * libc/stdio/fsetpos.c (fsetpos): Ditto.
1528 * libc/stdio/ftell.c (ftell): Ditto.
1529 * libc/stdio/local.h: Declare __sseek using _off_t.
1530
150c2818
CV
15312003-03-09 Corinna Vinschen <corinna@vinschen.de>
1532
1533 * libc/reent/lseekr.c (lseek_r): Use _off_t instead of off_t.
1534
2c440f9c
CV
15352003-03-09 Corinna Vinschen <corinna@vinschen.de>
1536
1537 * libc/include/sys/config.h: Define __CYGWIN_USE_BIG_TYPES__ for
1538 Cygwin.
1539
f882fd15
CV
15402003-03-09 Corinna Vinschen <corinna@vinschen.de>
1541
1542 * libc/include/pwd.h: Add guards to avoid type clashes when compiling
1543 Cygwin.
1544 * libc/include/sys/stat.h: Ditto.
1545 * libc/include/sys/unistd.h: Ditto.
1546 * libc/sys/cygwin/sys/dirent.h: Ditto.
1547
01d61543
CF
15482003-03-07 Christopher Faylor <cgf@redhat.com>
1549
1550 * libc/include/sys/unistd.h: Guard getopt.h call to force only
1551 declaration of getopt and avoid getopt_long declaration.
1552 * libc/sys/cygwin/include/unistd.h: Remove.
1553
5582abd2
CV
15542003-03-07 Corinna Vinschen <corinna@vinschen.de>
1555
1556 * configure.host: Define stdio64_dir for Cygwin.
1557 * libc/include/stdio.h: Change definition of fpos_t to fulfill
1558 Cygwin 64bit file access requirements.
1559 Drop definition of f*64() functions when compiled for Cygwin.
1560 * libc/include/sys/config.h: Define __LARGE64_FILES for Cygwin.
1561 * libc/reent/lseek64r.c: Use _off64_t instead of off64_t.
1562 * libc/stdio64/local64.h: Use _fpos64_t instead of fpos64_t.
1563
641da1eb
JJ
15642003-03-07 Jeff Johnston <jjohnstn@redhat.com>
1565
1566 * libc/include/sys/reent.h: Remove extraneous _sig_func
1567 declaration.
1568
15692003-02-25 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
41a639de
JJ
1570
1571 * libc/sys/h8300hms/Makefile.am: Add support for new files.
1572 * libc/sys/h8300hms/Makefile.in: Regenerated.
1573 * libc/sys/h8300hms/close.S: New file.
1574 * libc/sys/h8300hms/fstat.S: Ditto.
1575 * libc/sys/h8300hms/lseek.S: Ditto.
1576 * libc/sys/h8300hms/open.S: Ditto.
1577 * libc/sys/h8300hms/stat.S: Ditto.
1578 * libc/sys/h8300hms/read.S: New file to replace read.c.
1579 * libc/sys/h8300hms/read.c: Removed.
1580 * libc/sys/h8300hms/syscalls.c: Removed functions _open,
1581 _lseek, _close, _stat, _fstat.
1582 * libc/sys/h8300hms/write.S: New file to replace write.c.
1583 * libc/sys/h8300hms/write.c: Removed.
1584
bac50d6b
NC
15852003-02-20 Nick Clifton <nickc@redhat.com>
1586
1587 * Add support for Cirrus Maverick ARM co-processor:
1588
1589 2000-09-13 Aldy Hernandez <aldyh@redhat.com>
1590
1591 * libc/include/machine/ieeefp.h: Set IEEE_BIG_ENDIAN or
1592 IEEE_LITTLE_ENDIAN depending on endian mode (cirrus).
1593
1594 2000-08-11 Aldy Hernandez <aldyh@redhat.com>
1595
1596 * configure.host: set sys_dir, syscall_dir, and
1597 newlib_cflags for ep9312 host.
1598
1599 * configure.host: Restore alpha sorting of entries in case
1600 statements.
1601
12ee7037
JJ
16022003-02-19 Jeff Johnston <jjohnstn@redhat.com>
1603
1604 * libc/stdlib/mallocr.c (unlink): Revert 02/18 fix.
1605
1e810ba0
JJ
16062003-02-18 Christian Groessler <chris@groessler.org>
1607
1608 * libc/machine/z8k/setjmp.S (_setjmp / _longjmp): Fix to
1609 support z8001 segmented mode.
1610
b1ca765e
JJ
16112003-02-18 Earnie Boyd <earnie@users.sf.net>
1612
1613 * libc/stdlib/mallocr.c (unlink): Don't assign a value to a pointer
1614 with a NULL value.
1615
51a46b54
CF
16162003-02-10 Christopher Faylor <cgf@redhat.com>
1617
1618 * libc/include/sys/types.h: Don't define __MS_types__ for Cygwin.
1619 Don't define some types under cygwin.
1620
313f1349
JJ
16212003-02-07 Jeff Johnston <jjohnstn@redhat.com>
1622
1623 * acinclude.m4 (--disable-newlib-supplied-syscalls): New configuration
1624 option to allow disabling of syscalls being supplied in newlib.
1625 * aclocal.m4: Regenerated.
1626 * configure: Ditto.
1627 * configure.host: Add support of new configuration option and add
1628 -D__NO_SYSCALLS__ if newlib supplied syscalls are disabled.
1629 * doc/aclocal.m4: Regenerated.
1630 * doc/configure: Ditto.
1631 * libc/*aclocal.m4: Ditto.
1632 * libc/*configure: Ditto.
1633 * libm/*aclocal.m4: Ditto.
1634 * libm/*configure: Ditto.
1635 * libc/sys/arm/Makefile.am: Don't build syscalls.o if new option
1636 is disabled.
1637 * libc/sys/arm/Makefile.in: Regenerated.
1638
5017a3da
JJ
16392003-02-05 Jonathan Larmour <jifl@eCosCentric.com>
1640
1641 * libc/stdio/vsprintf.c (vsprintf, _vsprintf_r): Set _file fd to
1642 -1 to be sure it cannot later match a valid file fd causing
1643 isatty() to return 1.
1644 * libc/stdio/asprintf.c (asprintf, _asprintf_r): Ditto.
1645 * libc/stdio/sprintf.c (sprintf, _sprintf_r): Ditto.
1646 * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Ditto.
1647
ad36f7d1
JJ
16482003-02-03 Jeff Johnston <jjohnstn@redhat.com>
1649
1650 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate the format
1651 buffer based on the precision, after we have processed the input value
1652 in a local buffer and know its relative magnitude.
1653
a74181ee
JJ
16542003-01-31 Michael Snyder <msnyder@redhat.com>
1655
1656 * libc/sys/h8300hms/_exit.c (_exit, __exit): Slip a magic cookie
1657 into registers r1 and r2, so that the simulator can distinguish
1658 this trap from a breakpoint trap. Copied from libgloss.
1659
b85498d4
JJ
16602003-01-31 Michael Snyder <msnyder@redhat.com>
1661
1662 * libc/sys/h8300hms/crt0.S (_start): Change local label
1663 from .loop to .Loop, so that ld and gdb will ignore it.
1664
4700b829
JJ
16652003-01-29 Jason Tishler <jason@tishler.net>
1666
1667 * libc/include/time.h: Declare nanosleep() under Cygwin.
1668
0127ae40
NC
16692003-01-24 Nick Clifton <nickc@redhat.com>
1670
1671 * Add sh2e support:
1672
1673 2002-04-02 Alexandre Oliva <aoliva@redhat.com>
1674
1675 * libc/machine/sh/asm.h: Added __SH2E__ next to __SH3E__.
1676 * libc/machine/sh/setjmp.S: Likewise.
1677 * libc/include/machine/ieeefp.h: Likewise.
1678
8bbcd9a1
CV
16792003-01-24 Corinna Vinschen <corinna@vinschen.de>
1680
1681 * libc/include/sys/unistd.h: Add setregid and setreuid declarations
1682 for Cygwin.
1683
b8838e6f
JJ
16842003-01-21 Anita Kulkarni <anitak@kpit.com>
1685
1686 * libc/time/difftime.c : Typecast the result to double.
1687
f9e41155
CF
16882003-01-20 Christopher Faylor <cgf@redhat.com>
1689
1690 * libc/include/sys/unistd.h: Add rresvport declaration for cygwin.
1691
6b5a7988
NC
16922003-01-18 Nick Clifton <nickc@redhat.com>
1693
1694 * libc/include/machine/ieeefp.h : Define __IEEE_BIG_ENDIAN,
1695 __SMALL_BITFIELDS and _DOUBLE_IS_32BITS for IP2K.
1696
c3e92877
JJ
16972003-01-16 Joel Sherrill <joel@OARcorp.com>
1698
1699 * libc/sys/rtems/include/limits.h, libc/sys/rtems/sys/param.h,
1700 libc/sys/rtems/sys/syslimits.h: Update to be in sync with what
1701 constants are defined in each file in the shared versions in
1702 libc/include.
1703 * libc/sys/rtems/crt0.c: Define extra symbols on SH and HP-PA to
1704 autoconf can link programs.
1705 * libc/include/machine/types.h: Explicitly specify signed on
1706 intXX_t types to ensure they are signed.
1707
84510217
CF
17082003-01-14 Christopher Faylor <cgf@redhat.com>
1709
1710 * libc/time/strftime.c (strftime): Add '%h' and '%l, %k' GNU
1711 extensions.
1712
b3934ab3
RS
17132003-01-08 Richard Sandiford <rsandifo@redhat.com>
1714
1715 * configure.host (mips64vr-elf, mips64vrel-elf): New config.
1716
be9c60e5
JJ
17172003-01-07 Charles Wilson <cwilson@ece.gatech.edu>
1718
1719 * libc/stdio/sprintf.c: fix typo
1720 * libc/stdio/vfprintf.c: fix typo
1721
d4c3a750
JJ
17222003-01-07 Jeff Johnston <jjohnstn@redhat.com>
1723
1724 * configure.host: Support long double I/O for x86-linux.
1725 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate a buffer
1726 large enough to hold formatted result.
1727 * libc/machine/powerpc/simdldtoa.c (_simdldtoa_r): Ditto.
1728
b2294aaa
JJ
17292003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
1730
1731 * Makefile.am: Add vasprintf.
1732 * Makefile.in: Regenerated.
1733
ea5e5daf
JJ
17342003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
1735
1736 * asprintf.c (_asprintf_r): insure both declarations
1737 are the same.
1738
5c581eca
CF
17392002-12-28 Christopher Faylor <cgf@redhat.com>
1740
1741 * libc/include/sys/unistd.h: Under cygwin, just include getopt.h rather
1742 than defining getopt directly.
1743
60b0838f
JJ
17442002-12-20 Jeff Johnston <jjohnstn@redhat.com>
1745
1746 * NEWS: Update with 1.11.0 info.
1747 * README: Ditto.
1748 * acinclude.m4: Change version number to 1.11.0.
1749 * aclocal.m4: Regenerated.
1750 * configure: Ditto.
1751 * doc/aclocal.m4: Ditto.
1752 * doc/configure: Ditto.
1753 * libc/*/aclocal.m4: Ditto.
1754 * libc/*/configure: Ditto.
1755 * libc/libc.texinfo: Ditto.
1756 * libm/*/aclocal.m4: Ditto.
1757 * libm/*/configure: Ditto.
1758 * libm/libm.texinfo: Ditto.
1759 * libc/sys/linux/shared.ld: Add VERS_1.11.
1760
10501d57
JJ
17612002-12-20 Jeff Johnston <jjohnstn@redhat.com>
1762
1763 * libc/machine/i386/f_atan2.S: Change copyright from Cygnus
1764 Solutions to Red Hat Inc.
1765 * libc/machine/i386/f_atan2f.S: Ditto.
1766 * libc/machine/i386/f_exp.c: Ditto.
1767 * libc/machine/i386/f_expf.c: Ditto.
1768 * libc/machine/i386/f_frexp.S: Ditto.
1769 * libc/machine/i386/f_frexpf.S: Ditto.
1770 * libc/machine/i386/f_ldexp.S: Ditto.
1771 * libc/machine/i386/f_ldexpf.S: Ditto.
1772 * libc/machine/i386/f_log.S: Ditto.
1773 * libc/machine/i386/f_log10.S: Ditto.
1774 * libc/machine/i386/f_log10f.S: Ditto.
1775 * libc/machine/i386/f_logf.S: Ditto.
1776 * libc/machine/i386/f_pow.c: Ditto.
1777 * libc/machine/i386/f_powf.c: Ditto.
1778 * libc/machine/i386/f_tan.S: Ditto.
1779 * libc/machine/i386/f_tanf.S: Ditto.
1780 * libc/machine/i386/memchr.S: Ditto.
1781 * libc/machine/i386/memcmp.S: Ditto.
1782 * libc/machine/i386/memcpy.S: Ditto.
1783 * libc/machine/i386/memmove.S: Ditto.
1784 * libc/machine/i386/memset.S: Ditto.
1785 * libc/machine/i386/strchr.S: Ditto.
1786 * libc/machine/i386/strlen.S: Ditto.
1787 * libm/machine/i386/f_atan2.S: Ditto.
1788 * libm/machine/i386/f_atan2f.S: Ditto.
1789 * libm/machine/i386/f_exp.c: Ditto.
1790 * libm/machine/i386/f_expf.c: Ditto.
1791 * libm/machine/i386/f_frexp.S: Ditto.
1792 * libm/machine/i386/f_frexpf.S: Ditto.
1793 * libm/machine/i386/f_ldexp.S: Ditto.
1794 * libm/machine/i386/f_ldexpf.S: Ditto.
1795 * libm/machine/i386/f_log.S: Ditto.
1796 * libm/machine/i386/f_log10.S: Ditto.
1797 * libm/machine/i386/f_log10f.S: Ditto.
1798 * libm/machine/i386/f_logf.S: Ditto.
1799 * libm/machine/i386/f_pow.c: Ditto.
1800 * libm/machine/i386/f_powf.c: Ditto.
1801 * libm/machine/i386/f_tan.S: Ditto.
1802 * libm/machine/i386/f_tanf.S: Ditto.
1803
9b3f0d16
JJ
18042002-12-20 Jeff Johnston <jjohnstn@redhat.com>
1805
1806 * libc/stdlib/environ.c: Update license to Red Hat.
1807 * libc/machine/hppa/setjmp.S: Ditto.
1808 * libm/test/Makefile.in: Ditto.
1809
d693ad84
JJ
18102002-12-19 Jeff Johnston <jjohnstn@redhat.com>
1811
1812 * configure.host: Remove references to go32.
1813 * libc/sys/go32/*: Removed.
1814
7da92d15
JJ
18152002-12-16 Kazu Hirata <kazu@cs.umass.edu>
1816
1817 * libc/include/sys/config.h: Change setting of INT_MAX
1818 and UINT_MAX, to use __INT_MAX__ for __H8300__, __H8300H__,
1819 __H8300S__. Also consolidate flag settings for these
1820 platforms.
1821
ea01c7f5
JJ
18222002-12-10 Joel Sherrill <joel@OARcorp.com>
1823
1824 * libc/include/machine/setjmp.h: Make sure _JBLEN is defined
1825 for i386-rtems targets.
1826
c049dd5a
JJ
18272002-12-06 Jeff Johnston <jjohnstn@redhat.com>
1828
1829 * libc/include/stdlib.h (strtof): New prototype (from C99).
1830 (strtodf): Changed from prototype to macro which redefines
1831 to strtof.
1832 * libc/stdlib/atof.c: Change documentation to refer to strtof
1833 instead of strtodf.
1834 * libc/stdlib/atoff.c (atoff): Change to call strtof instead of
1835 strtodf.
1836 * libc/stdlib/strtod.c (strtodf): Renamed to strtof.
1837 (strtof): New function.
1838 * libm/test/convert.c (test_strtodf): Renamed to test_strtof which
1839 calls strtof.
1840
46a402e0
CF
18412002-11-27 Christopher Faylor <cgf@redhat.com>
1842
1843 * libc/string/memset.c (memset): Fix comment.
1844
b3cc01b0
CF
18452002-11-26 Christopher Faylor <cgf@redhat.com>
1846
1847 * libc/string/memset.c (memset): Move initialization of 'd' earlier in
1848 function.
1849
d90f3dc1
CF
18502002-11-25 Christopher Faylor <cgf@redhat.com>
1851
1852 * libc/string/memset.c (memset): Minor optimization: Use new 'd'
1853 variable, introduced below, everywhere.
1854
f24585c6
KH
18552002-11-25 Kazu Hirata <kazu@cs.umass.edu>
1856
1857 * libc/string/memset.c (memset): Make it safe even if
1858 sizeof (int) = 2.
1859
2955fd76
JJ
18602002-11-22 Joe Buehler <jbuehler@hekimian.com>
1861
1862 * configure.in: Change check for libc/include in ${CC} to
1863 use an intermediate value so as to work with different shells.
1864 * configure: Regenerated.
1865 * Makefile.in: Ditto.
1866
40ce7368
JJ
18672002-11-22 Vijay L. Khuspe <vijayk1@kpit.com>
1868
1869 * libc/sys/h8300hms/read.c: Add support for normal mode
1870 architecture.
1871
505746ad
JJ
18722002-11-20 Ryo Tsuruta <ryo@kitanet.ne.jp>
1873
1874 * libc/machine/h8300/setjmp.S (setjmp, longjmp): Combine common
1875 code for __H8300H__ and __H8300S__. Also return 32-bit return code
1876 when -mint32 is used.
1877
28ecb2f5
NC
18782002-11-18 Nick Clifton <nickc@redhat.com>
1879
1880 * libc/sys/arm/crt0.S: Add NULL to end of argv array.
1881
665b994e
JJ
18822002-11-14 Jeff Johnston <jjohnstn@redhat.com>
1883
1884 * testsuite/lib/passfail.exp (newlib_pass_fail): Changed to
1885 only issue one pass/fail message for a compile/link/execute.
1886 * testsuite/newlib.elix/elix.exp: New file.
1887 * testsuite/newlib.elix/tmmap.c: Ditto.
1888
e91ec2e3
CF
18892002-11-06 Christopher Faylor <cgf@redhat.com>
1890
1891 * libc/stdlib/malign.c: Don't compile if MALLOC_PROVIDED.
1892 * libc/stdlib/mlock.c: Ditto.
1893 * libc/stdlib/msize.c: Ditto.
1894 * libc/stdlib/msize.c: Ditto.
1895 * libc/stdlib/mtrim.c: Ditto.
1896 * libc/stdlib/valloc.c: Ditto.
1897
944772c7
JJ
18982002-11-12 Jeff Johnston <jjohnstn@redhat.com>
1899
1900 * libc/stdlib/ldtoa.c (e64toe): When checking the exponent
1901 for inf/nan, make sure that the check ignores the sign bit.
1902
dd7ee147
JJ
19032002-11-07 Joel Sherrill <joel@OARcorp.com>
1904
1905 * libc/sys/rtems/machine: New directory.
1906 * libc/sys/rtems/machine/limits.h, libc/sys/rtems/machine/param.h,
1907 libc/sys/rtems/sys/param.h, libc/sys/rtems/sys/syslimits.h,
1908 libc/sys/rtems/sys/utime.h: New files added to make *-rtems newlib
1909 targets more BSD like when installed without requiring files to
1910 be overwritten at install point when RTEMS itself is installed.
1911 * Makefile.am: Pick up system dependent machine .h files such as
1912 might be found on a BSD-ish system.
1913 * Makefile.in: Regenerate.
1914 * libc/include/machine/types.h: When on an RTEMS target, define a
1915 few BSD flavor types.
1916
19172002-11-06 Sergey Okhapkin <sos@prospect.com.ru>
503430d8
CF
1918
1919 * include/utmp.h: Define WTMP_FILE. Define and use UT_IDLEN.
1920
18cd62b7
JJ
19212002-11-06 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
1922
1923 * libc/include/wchar.h: Use _{BEGIN,END}_STD_C instead of extern "C".
1924 * libc/include/wctype.h: Ditto.
1925
d2888812
JJ
19262002-11-04 Jeff Johnston <jjohnstn@redhat.com>
1927
1928 * libc/include/wchar.h: Add extern "C" specifier if C++.
1929 * libc/include/wctype.h: Ditto.
1930
978ea3cf
JJ
19312002-10-18 Jeff Johnston <jjohnstn@redhat.com>
1932
1933 * testsuite/newlib.wctype/tiswctype.c: New test case.
1934 * testsuite/newlib.wctype/twctrans.c: Ditto.
1935
a42cf80a
JJ
19362002-10-18 Jeff Johnston <jjohnstn@redhat.com>
1937
1938 * libc/sys/linux/machine/i386/include/endian.h: New file.
1939 * libc/sys/linux/machine/i386/include/param.h: Ditto.
1940
c9ccb1f2
JJ
19412002-10-18 Jeff Johnston <jjohnstn@redhat.com>
1942
1943 * libm/machine/i386/aclocal.m4: Regenerated.
1944 * libm/machine/i386/configure: Ditto.
1945
94c5b430
JJ
19462002-10-18 Jeff Johnston <jjohnstn@redhat.com>
1947
1948 * testsuite/include/check.h: New header file to use with
1949 test cases.
1950 * testsuite/lib/newlib.exp: Add testsuite/include directory
1951 to list of header files to use.
1952 * testsuite/newlib.wctype/twctype.c: New test case for iswctype fns.
1953 * testsuite/newlib.wctype/wctype.exp: New file.
1954
ccdae543
RS
19552002-10-11 Graham Stott <graham.stott@btinternet.com>
1956 Richard Sandiford <rsandifo@redhat.com>
f770cf44
RS
1957
1958 * libc/include/sys/config.h (SIZE_T_SMALLER_THAN_LONG): Undefine.
1959 * libc/stdlib/mallocr.c (long_sub_size_t): Define in a way that
1960 doesn't require the SIZE_T_SMALLER_THAN_LONG macro.
1961
73972116
JS
19622002-10-07 Joel Sherrill <joel@OARcorp.com>
1963
1964 * libc/sys/rtems/crt0.c: Add even more symbols so gcc() can link
1965 dummy programs.
1966
89e3fcba
JS
19672002-10-07 Joel Sherrill <joel@OARcorp.com>
1968
1969 * libc/include/pthread.h: Define PTHREAD_CANCELED.
1970
54ec52e4
JS
19712002-10-07 Joel Sherrill <joel@OARcorp.com>
1972
1973 * libc/machine/hppa/DEFS.h, libc/machine/hppa/pcc_prefix.s,
1974 libc/machine/hppa/setjmp.S, libc/machine/hppa/DEFS.h: Make this
1975 compile with current GNU tools.
1976
d389acba
JJ
19772002-10-07 Jeff Johnston <jjohnstn@redhat.com>
1978
1979 * Makefile.am: Add EXTRA_DIRS to allow future dependencies on
1980 the build library.
1981 * configure.in: Ditto.
1982 * Makefile.in: Regenerated.
1983 * configure: Ditto.
1984 * libc/sys/linux/Makefile.am: Add EXTRA_SUBDIRS and EXTRA_SUBLIBS
1985 for specifying configured libraries/directories.
1986 * libc/sys/linux/configure.in: Ditto.
1987 * libc/sys/linux/Makefile.in: Regenerated.
1988 * libc/sys/linux/configure: Ditto.
1989
af5a221f
JJ
19902002-10-03 Jeff Johnston <jjohnstn@redhat.com>
1991
1992 * libc/include/reent.h: Update documentation at start of file.
1993
59a758bd
JW
19942002-09-27 Jim Wilson <wilson@redhat.com>
1995
1996 * libc/sys/sysnecv850/crt0.S (start): Delete v850 code for initializing
1997 the ctbp register.
1998
1ed3c86d
JJ
19992002-09-27 Jeff Johnston <jjohnstn@redhat.com>
2000
2001 * libc/ctype/jp2uc.c: Change to use multiple arrays in jp2uc.h.
2002 Also convert to EUCJP before using arrays. For values not in
2003 the conversion arrays, return WEOF.
2004 * libc/ctype/jp2uc.h: Change from one array to a number of
2005 arrays to account for the fact that the originating table
2006 is not contiguous for the input values since some are invalid.
2007
6e1dfd2d
JJ
20082002-09-24 Jeff Johnston <jjohnstn@redhat.com>
2009
2010 * libc/time/ctime.c: Fix prototype documentation.
2011
06f1353a
CV
20122002-09-24 Corinna Vinschen <corinna@vinschen.de>
2013
2014 * libc/include/sys/errno.h: Add EOVERFLOW.
2015
1e0e64c9
JJ
20162002-09-20 Jeff Johnston <jjohnstn@redhat.com>
2017
2018 * libc/include/wctype.h: New file.
2019
1525d127
JJ
20202002-09-20 Jeff Johnston <jjohnstn@redhat.com>
2021
2022 * libc/ctype/Makefile.am: Add new files.
2023 * libc/ctype/Makefile.in: Regenerated.
2024 * libc/ctype/ctype.tex: Add new iswxxxx, towxxxx, wctype,
2025 and wctrans functions to documentation index.
2026 * libc/ctype/iswalnum.c: New file.
2027 * libc/ctype/iswalpha.c: Ditto.
2028 * libc/ctype/iswblank.c: Ditto.
2029 * libc/ctype/iswcntrl.c: Ditto.
2030 * libc/ctype/iswctype.c: Ditto.
2031 * libc/ctype/iswdigit.c: Ditto.
2032 * libc/ctype/iswgraph.c: Ditto.
2033 * libc/ctype/iswlower.c: Ditto.
2034 * libc/ctype/iswprint.c: Ditto.
2035 * libc/ctype/iswpunct.c: Ditto.
2036 * libc/ctype/iswspace.c: Ditto.
2037 * libc/ctype/iswupper.c: Ditto.
2038 * libc/ctype/iswxdigit.c: Ditto.
2039 * libc/ctype/jp2uc.c: Ditto.
2040 * libc/ctype/jp2uc.h: Ditto.
2041 * libc/ctype/local.h: Ditto.
2042 * libc/ctype/towctrans.c: Ditto.
2043 * libc/ctype/towlower.c: Ditto.
2044 * libc/ctype/towupper.c: Ditto.
2045 * libc/ctype/utf8alpha.h: Ditto.
2046 * libc/ctype/utf8print.h: Ditto.
2047 * libc/ctype/utf8punct.h: Ditto.
2048 * libc/ctype/wctrans.c: Ditto.
2049 * libc/ctype/wctype.c: Ditto.
2050 * libc/locale/locale.c (__lc_ctype): New external array to
2051 replace static lc_ctype array.
2052 * libc/stdlib/mbtowc_r.c: Use __lc_ctype to check current lc_ctype
2053 rather than reentrancy structure's _current_locale field.
2054 * libc/stdlib/wctomb_r.c: Ditto.
2055
da25e61f
JJ
20562002-09-20 Jeff Johnston <jjohnstn@redhat.com>
2057
2058 * configure.host: Minor comment and formatting changes.
2059 * libc/Makefile.am: Add libc_la_DEPENDENCIES.
2060 * libc/Makefile.in: Regenerated.
2061 * libc/include/sys/config.h: Minor format change.
2062
5b9ee539
JJ
20632002-09-19 Jeff Johnston <jjohnstn@redhat.com>
2064
2065 * libc/syscalls/sysfcntl.c (fcntl): Fix typo in preprocessor
2066 statement comment.
2067
50558bf3
JJ
20682002-09-19 Jeff Johnston <jjohnstn@redhat.com>
2069
2070 * libc/posix/opendir.c (opendir): Change code to check
2071 for HAVE_FCNTL before calling fcntl.
2072 * libc/search/hash.c (hash_open): Ditto.
2073 * libc/search/hash_page.c (open_tmp): Ditto.
2074 * libc/reent/Makefile.am: Add fcntlr.c.
2075 * libc/reent/Makefile.in: Regenerated.
2076 * libc/reent/fcntlr.c: New file.
2077 * libc/stdio/fdopen.c (_fdopen_r): Change to call _fcntl_r
2078 instead of _fcntl when HAVE_FCNTL flag is set.
2079 * libc/syscalls/sysfcntl.c (fcntl): Check for HAVE_FCNTL flag
2080 to see if _fcntl or _fcntl_r should be called. If flag is not
2081 set, default to ENOSYS stub.
2082
9211a1ad
JJ
20832002-09-16 Jeff Johnston <jjohnstn@redhat.com>
2084
2085 * libc/include/wchar.h (mbstate_t): Change protective flag to
2086 be _MBSTATE_T.
2087 * libc/include/sys/_types.h (_mbstate_t): Remove protective flag.
2088 [__CYGWIN__]: Remove special code that defines mbstate_t and WEOF
2089 for Cygwin.
2090 * libc/sys/linux/sys/_types.h (_mbstate_t): Remove protective flag.
2091
a8615092
JJ
20922002-09-11 Jeff Johnston <jjohnstn@redhat.com>
2093
2094 * acinclude.m4 (enable-newlib-mb): Change check to
2095 default newlib_mb variable to empty string rather than "no".
2096 * configure.host: Remove hard-coding of -DMB_CAPABLE for
2097 x86-linux and Cygwin. Add code to check for newlib_mb
2098 being unset in which case set to "yes" for x86-linux and
2099 Cygwin. Change check for newlib_mb being "yes" to allow
2100 for an empty string.
2101 * configure.in (_MB_LEN_MAX): New AC_DEFINE.
2102 * newlib.hin (_MB_LEN_MAX): New define to configure.
2103 * aclocal.m4: Regenerated.
2104 * configure: Ditto.
2105 * libc/include/limits.h: New file.
2106 * libc/sys/linux/include/limits.h: Ditto.
2107 * doc/aclocal.m4 doc/configure libc/aclocal.m4
2108 libc/configure libc/include/%redact libc/machine/aclocal.m4
2109 libc/machine/configure libc/machine/a29k/aclocal.m4
2110 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
2111 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
2112 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
2113 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
2114 libc/machine/fr30/configure libc/machine/frv/aclocal.m4
2115 libc/machine/frv/configure libc/machine/h8300/aclocal.m4
2116 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
2117 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
2118 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
2119 libc/machine/i386/configure libc/machine/i960/aclocal.m4
2120 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
2121 libc/machine/m32r/configure libc/machine/m68hc11/aclocal.m4
2122 libc/machine/m68hc11/configure libc/machine/m68k/aclocal.m4
2123 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
2124 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
2125 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
2126 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
2127 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
2128 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
2129 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
2130 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
2131 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
2132 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
2133 libc/machine/v850/configure libc/machine/w65/aclocal.m4
2134 libc/machine/w65/configure libc/machine/xscale/aclocal.m4
2135 libc/machine/xscale/configure
2136 libc/machine/xstormy16/aclocal.m4
2137 libc/machine/xstormy16/configure libc/machine/z8k/aclocal.m4
2138 libc/machine/z8k/configure libc/sys/aclocal.m4
2139 libc/sys/configure libc/sys/a29khif/aclocal.m4
2140 libc/sys/a29khif/configure libc/sys/arc/aclocal.m4
2141 libc/sys/arc/configure libc/sys/arm/aclocal.m4
2142 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
2143 libc/sys/cygwin/configure libc/sys/d10v/aclocal.m4
2144 libc/sys/d10v/configure libc/sys/decstation/aclocal.m4
2145 libc/sys/decstation/configure libc/sys/go32/aclocal.m4
2146 libc/sys/go32/configure libc/sys/h8300hms/aclocal.m4
2147 libc/sys/h8300hms/configure libc/sys/h8500hms/aclocal.m4
2148 libc/sys/h8500hms/configure libc/sys/idt/aclocal.m4
2149 libc/sys/idt/configure libc/sys/linux/aclocal.m4
2150 libc/sys/linux/configure libc/sys/linux/include/%redact
2151 libc/sys/linux/machine/aclocal.m4
2152 libc/sys/linux/machine/configure
2153 libc/sys/linux/machine/i386/aclocal.m4
2154 libc/sys/linux/machine/i386/configure
2155 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
2156 libc/sys/mmixware/aclocal.m4 libc/sys/mmixware/configure
2157 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
2158 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
2159 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
2160 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
2161 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
2162 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
2163 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
2164 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
2165 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
2166 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
2167 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
2168 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
2169 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
2170 libm/aclocal.m4 libm/configure: Regenerated.
2171
be83844e
JJ
21722002-09-09 Jeff Johnston <jjohnstn@redhat.com>
2173
2174 * libc/sys/linux/machine/i386/crt0.c (_start): Remove
2175 code that clears the .bss section.
2176
9c64d2a7
JJ
21772002-09-09 Jeff Johnston <jjohnstn@redhat.com>
2178
2179 * libc/include/sys/_types.h (_mbstate_t): Changed to use
2180 unsigned char internally.
2181 * libc/sys/linux/sys/_types.h: Ditto.
2182 * libc/include/sys/reent.h
2183 * libc/stdlib/mblen.c (mblen): Use function-specific state
2184 value from default reentrancy structure.
2185 * libc/stdlib/mblen_r.c (_mblen_r): If return code from
2186 _mbtowc_r is less than 0, reset state __count value and
2187 return -1.
2188 * libc/stdlib/mbrlen.c (mbrlen): If the input state pointer
2189 is NULL, use the function-specific pointer provided in the
2190 default reentrancy structure.
2191 * libc/stdlib/mbrtowc.c: Add reentrant form of function.
2192 If input state pointer is NULL, use function-specific area
2193 provided in reentrancy structure.
2194 * libc/stdlib/mbsrtowcs.c: Ditto.
2195 * libc/stdlib/wcrtomb.c: Ditto.
2196 * libc/stdlib/wcsrtombs.c: Ditto.
2197 * libc/stdlib/mbstowcs.c: Reformat.
2198 * libc/stdlib/wcstombs.c: Ditto.
2199 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): If an error occurs,
2200 reset the state's __count value and return -1.
2201 * libc/stdlib/mbtowc.c: Ditto.
2202 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Add restartable functionality.
2203 If number of bytes is used up before completing a valid multibyte
2204 character, return -2 and save the state.
2205 * libc/stdlib/wctomb_r.c (_wctomb_r): Define __state as __count
2206 and change some __count references to __state for clarity.
2207
218b7a56
JJ
22082002-09-06 Jeff Johnston <jjohnstn@redhat.com>
2209
2210 * libc/include/sys/config.h (MB_LEN_MAX): Removed as this
2211 is defined by <limits.h>.
2212
c210a6ea
JJ
22132002-09-05 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
2214
2215 * libc/include/wchar.h (WCHAR_MAX): Only define if not already
2216 defined.
2217
efa077ce
JJ
22182002-09-04 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
2219
2220 * libc/include/sys/config.h: Define accordingly __WCHAR_MAX__.
2221 * libc/include/wchar.h: Define WCHAR_MIN as 0 and WCHAR_MAX as
2222 __WCHAR_MAX__ or 0x7fffffffu.
2223 * libc/string/wcscmp.c: Delete wrong and unnecessary type cast.
2224 * libc/string/wcsncmp.c: Ditto.
2225
e4b0ebc1
JJ
22262002-09-03 Jeff Johnston <jjohnstn@redhat.com>
2227
2228 * libc/string/wcschr.c: Add include of <stddef.h>.
2229 * libc/string/wcspbrk.c: Ditto.
2230 * libc/string/wcsrchr.c: Ditto.
2231 * libc/string/wcsstr.c: Ditto.
2232
3db40db7
JJ
22332002-09-03 Jeff Johnston <jjohnstn@redhat.com>
2234
2235 * libc/include/sys/_types.h (_flock_t): Added.
2236 * libc/include/sys/lock.h (__lock_try_acquire): New interface.
2237 (__lock_try_acquire_recursive): Ditto.
2238 * libc/include/sys/reent.h (__sFILE, __sFILE64): Add new
2239 _lock field.
2240 * libc/stdio/findfp.c (std)[!__SINGLE_THREAD__]: Initialize _lock
2241 field.
2242 * libc/stdio/fopen.c (_fopen_r)[!__SINGLE_THREAD__]: Ditto.
2243 * libc/stdio64/fopen64.c (_fopen64_r)[!__SINGLE_THREAD__]: Ditto.
2244 * libc/sys/linux/include/time.h (struct timespec): Moved from
2245 <sys/types.h> and added check for __need_timespec flag so type
2246 can be defined by itself.
2247 * libc/sys/linux/sys/_types.h (_flock_t): New type.
2248 * libc/sys/linux/sys/types.h (struct timespec): Moved to
2249 <time.h>.
2250
cd45f029
TF
22512002-08-29 Thomas Fitzsimmons <fitzsim@redhat.com>
2252
2253 * libc/sys/linux/argp: New directory.
2254 * libc/sys/linux/getopt.c: New file.
2255 * libc/sys/linux/getopt1.c: New file.
2256 * libc/sys/linux/getoptlong.c: Remove file.
2257 * libc/sys/linux/include/argp.h: New file.
2258 * libc/sys/linux/Makefile.am: Define argp_dir and ARGP_LIB,
2259 based on ELIX level.
2260 (SUBDIRS): Add argp_dir.
2261 (SUBLIBS): Add ARGP_LIB.
2262 (ELIX_2_OBJS): Add getopt.$(oext), getopt1.$(oext), remove
2263 getopt_long.$(oext).
2264 * libc/sys/linux/configure.in (AC_OUTPUT): Add argp/Makefile.
2265
3c689185
JJ
22662002-08-29 Jeff Johnston <jjohnstn@redhat.com>
2267
2268 * libc/libc.texinfo: Add node reference to wide-character strings.
2269 * libc/string/wcstrings.tex: New file.
2270 * libc/string/strtok_r.c: Remove outdated advertising clause.
2271 * libc/string/Makefile.am (doc): Add wide-character string
2272 chapter to documentation.
2273 * libc/string/Makefile.in: Regenerated.
2274
890e7a1d
JJ
22752002-08-29 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
2276
2277 * libc/include/wchar.h: Define NULL. Define WEOF more general
2278 way. Declare functions in newlib manner.
2279 * libc/stdlib/Makefile.am: Delete wmem*.c
2280 * libc/stdlib/Makefile.in: Regenerated.
2281 * libc/stdlib/wmemchr.c: Delete.
2282 * libc/stdlib/wmemcmp.c: Ditto.
2283 * libc/stdlib/wmemcpy.c: Ditto.
2284 * libc/stdlib/wmemmove.c: Ditto.
2285 * libc/stdlib/wmemset.c: Ditto.
2286 * libc/string/Makefile.am: Add wmem*.c and wcs*.c.
2287 * libc/string/Makefile.in: Regenerated.
2288 * libc/string/wcscat.c: New file derived from the NetBSD C Library.
2289 * libc/string/wcschr.c: Ditto.
2290 * libc/string/wcscmp.c: Ditto.
2291 * libc/string/wcscpy.c: Ditto.
2292 * libc/string/wcscspn.c: Ditto.
2293 * libc/string/wcslcat.c: Ditto.
2294 * libc/string/wcslcpy.c: Ditto.
2295 * libc/string/wcslen.c: Ditto.
2296 * libc/string/wcsncat.c: Ditto.
2297 * libc/string/wcsncmp.c: Ditto.
2298 * libc/string/wcsncpy.c: Ditto.
2299 * libc/string/wcspbrk.c: Ditto.
2300 * libc/string/wcsrchr.c: Ditto.
2301 * libc/string/wcsspn.c: Ditto.
2302 * libc/string/wcsstr.c: Ditto.
2303 * libc/string/wmemchr.c: Ditto.
2304 * libc/string/wmemcmp.c: Ditto.
2305 * libc/string/wmemcpy.c: Ditto.
2306 * libc/string/wmemmove.c: Ditto.
2307 * libc/string/wmemset.c: Ditto.
2308
86620e21
JJ
23092002-08-29 Jeff Johnston <jjohnstn@redhat.com>
2310
2311 * libc/locale/locale.c (_setlocale_r)[MB_CAPABLE]: Fix so
2312 default locale "" is accepted for LC_CTYPE or LC_MESSAGES
2313 and is treated as if "C" was specified.
2314
f3741c27
JJ
23152002-08-28 Jeff Johnston <jjohnstn@redhat.com>
2316
2317 * Makefile.am (install-data-local): Move install of build
2318 newlib.h after installing headers in libc/include so as to
2319 overwrite default newlib.h.
2320 * Makefile.in: Regenerated.
2321
48da61f5
JJ
23222002-08-28 Jeff Johnston <jjohnstn@redhat.com>
2323
2324 * libc/include/newlib.h: New file for tools that use newlib
2325 headers but don't build newlib first (e.g. gcc).
2326
d82a94ac
JJ
23272002-08-28 Jeff Johnston <jjohnstn@redhat.com>
2328
2329 * libc/stdlib/wmemchr.c: Explicitly include <_ansi.h>.
2330 * libc/stdlib/wmemcmp.c: Ditto.
2331 * libc/stdlib/wmemcpy.c: Ditto.
2332 * libc/stdlib/wmemmove.c: Ditto.
2333 * libc/stdlib/wmemset.c: Ditto.
2334
7d08241b
JJ
23352002-08-27 Egor Duda <deo@logos-m.ru>
2336
2337 * libc/stdlib/wmemchr.c: New file.
2338 * libc/stdlib/wmemcmp.c: Ditto.
2339 * libc/stdlib/wmemcpy.c: Ditto.
2340 * libc/stdlib/wmemmove.c: Ditto.
2341 * libc/stdlib/wmemset.c: Ditto.
2342 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add new files.
2343 * configure.host: Default -DMB_CAPABLE for cygwin.
2344 * libc/include/wchar.h: Declare wmemchr(), wmemcmp(), wmemcpy(),
2345 wmemmove() and wmemset(). Add include of <_ansi.h>.
2346 * libc/stdlib/Makefile.in: Regenerate.
2347
8da1639b
JJ
23482002-08-27 Jeff Johnston <jjohnstn@redhat.com>
2349
ff2bf852 2350 * configure.host: Remove _ELIX_LEVEL flag setting.
8da1639b
JJ
2351 * Makefile.am(stmp-targ-include): Copy newlib.h to targ-include.
2352 (install-data-local): Install newlib.h.
2353 * Makefile.in: Regenerated.
2354 * aclocal.m4: Ditto.
2355 * configure: Ditto.
2356 * configure.in: Add AM_CONFIG_HEADER to generate newlib.h based on
2357 newlib.hin. Add AC_DEFINE_UNQUOTED entries for _ELIX_LEVEL
2358 and _NEWLIB_VERSION to fill in newlib.h header file entries.
2359 In AC_OUTPUT statement, unset ac_file so multilib support does
2360 not use last ac_file temporary used in newlib.h configuration.
2361 * libc/include/_ansi.h: Include <newlib.h>.
2362 * newlib.hin: New template file for newlib.h.
2363 * stamp-h.in: New file.
2364
a4421c11
JJ
23652002-08-26 Wu Yongwei <adah@netstd.com>
2366
2367 * time.h (timezonevar): Change "#if" to "#ifdef".
2368
90b65e2d
JJ
23692002-08-26 Jeff Johnston <jjohnstn@redhat.com>
2370
2371 * Makefile.am(LIBC_OBJECTLISTS): Add STDIO64_OBJECTLIST.
2372 * Makefile.in: Regenerated.
2373 * acinclude.m4: Add support for --enable-newlib-elix-level option.
2374 * aclocal.m4: Regenerated.
2375 * configure: Ditto.
2376 * configure.host: Add code to define _ELIX_LEVEL if
2377 --enable-newlib-elix-level option is used.
2378 * configure.in:
2379 * libc/aclocal.m4: Regenerated.
2380 * libc/configure: Ditto.
2381 * libc/argz/Makefile.am: Add EL/IX level checking.
2382 * libc/argz/Makefile.in: Regenerated.
2383 * libc/argz/dummy.c: New file.
2384 * libc/ctype/Makefile.am: Add EL/IX level checking.
2385 * libc/ctype/Makefile.in: Regenerated.
2386 * libc/locale/Makefile.am: Add EL/IX level checking.
2387 * libc/locale/Makefile.in: Regenerated.
2388 * libc/posix/Makefile.am: Add EL/IX level checking.
2389 * libc/posix/Makefile.in: Regenerated.
2390 * libc/posix/telldir.c: Add EL/IX level checking.
2391 * libc/reent/Makefile.am: Ditto.
2392 * libc/reent/fstat64r.c: Ditto.
2393 * libc/reent/lseek64r.c: Ditto.
2394 * libc/reent/open64r.c: Ditto.
2395 * libc/reent/Makefile.in: Regenerated.
2396 * libc/search/Makefile.am: Add EL/IX level checking.
2397 * libc/search/Makefile.in: Regenerated.
2398 * libc/stdio/Makefile.am: Add EL/IX level checking.
2399 * libc/stdio/Makefile.in: Regenerated.
2400 * libc/stdio64/Makefile.am: Add EL/IX level checking.
2401 * libc/stdio64/Makefile.in: Regenerated.
2402 * libc/stdio64/dummy.c: New file.
9b487837 2403 * libc/stdio64/fgetpos64.c: Fix so _LARGE64_FILES macro is checked
90b65e2d
JJ
2404 after first include.
2405 * libc/stdio64/fopen64.c: Ditto.
2406 * libc/stdio64/freopen64.c: Ditto.
2407 * libc/stdio64/fseeko64.c: Ditto.
2408 * libc/stdio64/fsetpos64.c: Ditto.
2409 * libc/stdio64/ftello64.c: Ditto.
2410 * libc/stdio64/tmpfile64.c: Ditto.
2411 * libc/stdlib/Makefile.am: Add EL/IX level checking.
2412 * libc/stdlib/Makefile.in: Regenerated.
2413 * libc/stdlib/mstats.c: Add EL/IX level checking.
2414 * libc/string/Makefile.am: Ditto.
2415 * libc/string/Makefile.in: Regenerated.
2416 * libc/sys/linux/Makefile.am: Add EL/IX level checking.
2417 * libc/sys/linux/Makefile.in: Regenerated.
2418 * libc/sys/linux/aclocal.m4: Ditto.
2419 * libc/sys/linux/configure: Ditto.
2420 * libc/sys/linux/aio.c: Add EL/IX level checking.
2421 * libc/sys/linux/ftok.c: Ditto.
2422 * libc/sys/linux/getdate.c: Ditto.
2423 * libc/sys/linux/ids.c: Ditto.
2424 * libc/sys/linux/inode.c: Ditto.
2425 * libc/sys/linux/io.c: Ditto.
2426 * libc/sys/linux/process.c: Ditto.
2427 * libc/sys/linux/resource.c: Ditto.
2428 * libc/sys/linux/sched.c: Ditto.
2429 * libc/sys/linux/sig.c: Ditto.
2430 * libc/sys/linux/termios.c: Ditto.
2431 * libc/sys/linux/wait.c: Ditto plus add __waitpid and
2432 __libc___waitpid weak aliases.
2433 * libc/sys/linux/machine/i386/syscall.h: Add new _base macros
2434 that generate the code for a syscall, but do not create a
2435 weak alias.
2436 * libc/syscalls/Makefile.am: Add EL/IX level checking.
2437 * libc/syscalls/Makefile.in: Regenerated.
2438 * libc/time/tzset_r.c: Change to replace strdup with equivalent
2439 functionality.
2440 * libc/unix/Makefile.am: Add EL/IX level checking.
2441 * libc/unix/Makefile.in: Regenerated.
2442
2e2b268c
CF
24432002-08-26 Christopher Faylor <cgf@redhat.com>
2444
2445 * libc/include/malloc.h: On cygwin, define malloc _r functions as
2446 wrapper macros to standard malloc functions.
2447 * libc/include/stdlib.h: Ditto.
2448 * configure.host: Always define MALLOC_PROVIDED on cygwin.
2449
8d9112f2
TF
24502002-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
2451
2452 * libc/include/langinfo.h: New file.
2453 * libc/include/wchar.h: Likewise.
2454 * libc/include/sys/syslimits.h: Likewise.
2455 * libc/locale/fix_grouping.c: Likewise.
2456 * libc/locale/ldpart.c: Likewise.
2457 * libc/locale/ldpart.h: Likewise.
2458 * libc/locale/lmessages.c: Likewise.
2459 * libc/locale/lmessages.h: Likewise.
2460 * libc/locale/lmonetary.c: Likewise.
2461 * libc/locale/lmonetary.h: Likewise.
2462 * libc/locale/lnumeric.c: Likewise.
2463 * libc/locale/lnumeric.h: Likewise.
2464 * libc/locale/nl_langinfo.3: Likewise.
2465 * libc/locale/nl_langinfo.c: Likewise.
2466 * libc/locale/timelocal.c: Likewise.
2467 * libc/locale/timelocal.h: Likewise.
2468 * libc/stdlib/btowc.c: Likewise.
2469 * libc/stdlib/mbrlen.c: Likewise.
2470 * libc/stdlib/mbrtowc.c: Likewise.
2471 * libc/stdlib/mbsinit.c: Likewise.
2472 * libc/stdlib/mbsrtowcs.c: Likewise.
2473 * libc/stdlib/wcrtomb.c: Likewise.
2474 * libc/stdlib/wcsrtombs.c: Likewise.
2475 * libc/stdlib/wctob.c: Likewise.
2476 * libc/sys/linux/prof-freq.c: Likewise.
2477 * libc/sys/linux/profile.c: Likewise.
2478 * libc/sys/linux/machine/i386/dl-procinfo.c: Likewise.
2479 * libc/sys/linux/machine/i386/dl-procinfo.h: Likewise.
2480 * libc/include/stdlib.h: Change re-entrant functions to take
2481 mbstate_t pointers.
2482 * libc/include/sys/_types.h: Define _mbstate_t.
2483 * libc/include/sys/config.h (MB_LEN_MAX): New macro.
2484 * libc/include/sys/errno.h (EILSEQ): New error code.
2485 * libc/include/sys/reent.h: Include wchar.h. Change reentrant
2486 structure to use mbstate_t.
2487 * libc/locale/Makefile.am (LIB_SOURCES): Add new files.
2488 * libc/machine/powerpc/vfprintf.c: Use mbstate_t.
2489 * libc/machine/powerpc/vfscanf.c: Likewise.
2490 * libc/stdio/getdelim.c: Reallocate buffer only when necessary.
2491 * libc/stdio/vfprintf.c: Likewise.
2492 * libc/stdio/vfscanf.c: Likewise.
2493 * libc/stdlib/Makefile.am (LIB_SOURCES): Add new files.
2494 * libc/stdlib/mblen.c: Use mbstate_t.
2495 * libc/stdlib/mblen_r.c: Likewise.
2496 * libc/stdlib/mbstowcs.c: Likewise.
2497 * libc/stdlib/mbstowcs_r.c: Likewise.
2498 * libc/stdlib/mbtowc.c: Likewise.
2499 * libc/stdlib/mbtowc_r.c: Likewise.
2500 * libc/stdlib/wcstombs.c: Likewise.
2501 * libc/stdlib/wcstombs_r.c: Likewise.
2502 * libc/stdlib/wctomb_r.c: Likewise.
2503 * libc/sys/linux/Makefile.am (LIB_SOURCES): Add prof-freq.c and
2504 profile.c.
2505 * libc/sys/linux/machine/i386/Makefile.am (LIB_SOURCES): Add
2506 dl-procinfo.c.
2507 * libc/sys/linux/sys/errno.h (EILSEQ): New error code.
2508 * libc/sys/linux/sys/types.h (off_t): Define type.
2509 * testsuite/newlib.locale/UTF-8.c: Change locale name from UTF-8
2510 to C-UTF-8.
2511 * testsuite/newlib.locale/UTF-8.exp: Likewise.
2512
fe47ea33
JJ
25132002-08-20 Casper S. Hornstrup <chorns@users.sourceforge.net>
2514
2515 * libc/stdlib/mallocr.c: #include windows.h on Win32.
2516 (AlignPage): Continue macro on next line.
2517
ada73509
JJ
25182002-08-19 Jeff Johnston <jjohnstn@redhat.com>
2519
2520 * libc/sys/linux/include/pthread.h: New file.
2521
64b5e8f2
JJ
25222002-08-19 Jeff Johnston <jjohnstn@redhat.com>
2523
2524 * libc/include/sys/types.h: Support __need_inttypes macro
2525 that only sets the __intxx and __uintxx types.
2526 * libc/machine/powerpc/Makefile.am: Add stdlib to include directories
2527 to get mprec.h.
2528 * libc/machine/powerpc/Makefile.in: Regenerated.
2529 * libc/machine/powerpc/vfprintf.c: Fix state variable type.
2530 * libc/machine/powerpc/vfscanf.c: Fix state variable type. Remove
2531 redundant fixed-point conversion prototypes.
2532 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Include <sys/types.h>
2533 after setting __need_inttypes.
2534
a94b60ce
CF
25352002-08-18 Christopher Faylor <cgf@redhat.com>
2536
2537 * libc/include/sys/unistd.h: Add getsid declaration for cygwin.
2538
29e17a86
JJ
25392002-08-17 Jeff Johnston <jjohnstn@redhat.com>
2540
2541 * libc/include/sys/config.h[__PPC__][__SPE__]: Set
2542 _LONG_DOUBLE to double.
2543
936b520f
JJ
25442002-08-17 Jeff Johnston <jjohnstn@redhat.com>
2545
2546 * configure.host: Add powerpc*-*-eabispe* configuration.
2547 * libc/machine/powerpc/atosfix16.c: New fixed-point conversion file.
2548 * libc/machine/powerpc/atosfix32.c: Ditto.
2549 * libc/machine/powerpc/atosfix64.c: Ditto.
2550 * libc/machine/powerpc/atoufix16.c: Ditto.
2551 * libc/machine/powerpc/atoufix32.c: Ditto.
2552 * libc/machine/powerpc/atoufix64.c: Ditto.
2553 * libc/machine/powerpc/fix64.h: Ditto.
2554 * libc/machine/powerpc/simdldtoa.c: Ditto.
2555 * libc/machine/powerpc/strtosfix16.c: Ditto.
2556 * libc/machine/powerpc/strtosfix32.c: Ditto.
2557 * libc/machine/powerpc/strtosfix64.c: Ditto.
2558 * libc/machine/powerpc/strtoufix16.c: Ditto.
2559 * libc/machine/powerpc/strtoufix32.c: Ditto.
2560 * libc/machine/powerpc/strtoufix64.c: Ditto.
2561 * libc/machine/powerpc/ufix64toa.c: Ditto.
2562 * libc/machine/powerpc/configure.in: Add check for
2563 powerpc*-eabispe and add fixed-point conversion functions.
2564 * libc/machine/powerpc/configure: Regenerated.
2565 * libc/machine/powerpc/vfprintf.c[__SPE__]: Add support for
2566 %r and %R format specifiers which handle fixed-point data.
2567 * libc/machine/powerpc/vfscanf.c[__SPE__]: Ditto.
2568 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Add fixed-point
2569 function prototypes.
2570
ad552766
JJ
25712002-08-17 Jeff Johnston <jjohnstn@redhat.com>
2572
2573 * Makefile.am: Move cmath stuff into libc/sys/linux.
2574 * Makefile.in: Regenerated.
2575 * configure.host: Default -DMB_CAPABLE for x86-linux.
2576 * libc/include/reent.h: Define _sbrk to take signed int argument.
2577 * libc/include/sys/unistd.h: Ditto for _sbrk_r and sbrk.
2578 * libc/locale/locale.c[MB_CAPABLE]: Add LC_MESSAGES support and
2579 make locale name checking more efficient. Also allow "C-ISO-8859-1"
2580 locale for LC_CTYPE and LC_MESSAGES.
2581 * libc/reent/sbrkr.c: Change prototype to take ptrdiff_t.
2582 * libc/sys/linux/brk.c: Change sbrk prototype.
2583 * libc/sys/linux/include/time.h: Remove Cygwin stuff and
2584 include <sys/features.h>.
2585 (CLOCK_THREAD_CPUTIME): Renamed to CLOCK_THREAD_CPUTIME_ID.
2586 (CLOCK_PROCESS_CPUTIME): Renamed to CLOCK_PROCESS_CPUTIME_ID.
2587 * libc/sys/linux/sys/cdefs.h: Replace with glibc sys/cdefs.h
2588 with a few local additions.
2589 * libc/sys/linux/sys/features.h: New file.
2590 * libc/sys/linux/sys/unistd.h: Change _sbrk_r and sbrk prototypes
2591 to take signed argument.
2592 * libc/syscalls/syssbrk.c: Change sbrk, _sbrk_r, and _sbrk
2593 prototypes to take signed size argument.
2594
d3bd3632
TF
25952002-08-16 Thomas Fitzsimmons <fitzsim@redhat.com>
2596
2597 * libc/sys/linux/cmath: New directory.
2598 * libc/sys/linux/include/cmathcalls.h: New file.
2599 * libc/sys/linux/include/complex.h: New file.
2600 * libc/sys/linux/machine/i386/huge_val.h: New file
2601 * libm/math/w_sincos.c: New file
2602 * libm/math/wf_sincos.c: New file
2603 * libm/mathfp/s_sincos.c: New file
2604 * libm/mathfp/sf_sincos.c: New file
2605 * Makefile.am (LIBC_OBJECTLISTS): Add cmath/objectlist.awk.in.
2606 * libc/include/math.h: Add sincos and sincosf declarations.
2607 * libc/sys/linux/Makefile.am (SUBDIRS): Add cmath.
2608 (SUBLIBS): Likewise.
2609 * libc/sys/linux/configure.in (AC_OUTPUT): Add cmath.
2610 * libm/math/Makefile.am (src): Add w_sincos.c.
2611 (fsrc): Add wf_sincos.c.
2612 * libm/mathfp/Makefile.am (src): Add s_sincos.c
2613 (fsrc): Add sf_sincos.c.
2614
b3a9676b
JJ
26152002-08-12 Jeff Johnston <jjohnstn@redhat.com>
2616
2617 * libc/sys/linux/machine/i386/crt0.c (__bss_start,_end):
2618 Declare as extern chars and use the address operator to
2619 properly use values set in linker script.
2620
659e7062
JJ
26212002-08-09 Jason Tishler <jason@tishler.net>
2622
2623 * libc/stdlib/mallocr.c: Include <limits.h>.
2624 (request2size): Change macro to do
2625 unsigned long comparisons and avoid signed overflow.
2626 (mALLOc): Add overflow check for the number of bytes to allocate.
2627 (rEALLOc): Ditto.
2628
037240a2
JJ
26292002-08-09 Jeff Johnston <jjohnstn@redhat.com>
2630
2631 * configure.host: Add check for --enable-newlib-io-pos-args
2632 and define WANT_IO_POS_ARGS flag if enabled. Define
2633 the flag by default for x86-linux configurations.
2634 * configure.in: Add support for --enable-newlib-io-pos-args.
2635 * libc/configure.in: Ditto.
2636 * configure: Regenerated.
2637 * libc/configure: Ditto.
2638 * libc/stdio/Makefile.am: Specify -fshort-enums for compiling
2639 vfprintf.c and vfiprintf.c.
2640 * libc/stdio/Makefile.in: Regenerated.
2641 * libc/stdio/vfprintf.c: Add positional argument support that
2642 is enabled by compiling with -DWANT_IO_POS_ARGS.
2643
172fda76
RS
26442002-08-07 Richard Sandiford <rsandifo@redhat.com>
2645
2646 * libc/include/machine/setjmp.h: For mips, define _JBLEN based
2647 based on __mips_soft_float rather than __mips64.
2648 * libc/machine/mips/setjmp.S: Provide hard and soft float versions
2649 of both 32-bit and 64-bit code.
2650
4866247e
CF
26512002-08-04 Christopher Faylor <cgf@redhat.com>
2652
2653 * libc/stdio/popen.c (popen): Allow "rb", "rt", "wb", and "wt"
2654 arguments for popen to match similar functionality in fopen.
2655
b96332ce
CV
26562002-07-29 Pierre Humblet <pierre.humblet@ieee.org>
2657
2658 * libc/include/sys/unistd.h: Add setgroups prototype for Cygwin.
2659
60d99bce
JJ
26602002-07-29 Jeff Johnston <jjohnstn@redhat.com>
2661
2662 * libc/sys/linux/Makefile.am: Add aio64.c.
2663 * libc/sys/linux/Makefile.in: Regenerated.
2664 * libc/sys/linux/aio.c (aio_init): ENOSYS stub added.
2665 * libc/sys/linux/aio64.c: New file.
2666
80a21be0
JJ
26672002-07-26 Jeff Johnston <jjohnstn@redhat.com>
2668
2669 * libc/include/sys/param.h (MAX, MIN): Added macros.
2670 * libc/sys/linux/Makefile.am: Add new files.
2671 * libc/sys/linux/Makefile.in: Regenerated.
2672 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
2673 * libc/sys/linux/inode.c (fchdir): Added syscall.
2674 * libc/sys/linux/ftw.c: New file.
2675 * libc/sys/linux/ftw64.c: Ditto.
2676 * libc/sys/linux/getwd.c: Ditto.
2677 * libc/sys/linux/scandir64.c: Ditto.
2678 * libc/sys/linux/strverscmp.c: Ditto.
2679 * libc/sys/linux/versionsort.c: Ditto.
2680 * libc/sys/linux/versionsort64.c: Ditto.
2681
6b6425cb
JJ
26822002-07-26 Jeff Johnston <jjohnstn@redhat.com>
2683
2684 * libc/string/strings.tex: Fix typo for memccpy.
2685
dc8ac8e6
JJ
26862002-07-25 Jeff Johnston <jjohnstn@redhat.com>
2687
2688 * libc/sys/linux/io64.c (truncate64, ftruncate64): Added.
2689 * libc/sys/linux/sys/types.h (off64_t): Definition added.
2690
aa0ca6fd
JJ
26912002-07-25 Jeff Johnston <jjohnstn@redhat.com>
2692
2693 * libc/sys/linux/Makefile.am: Add fclean.c.
2694 * libc/sys/linux/Makefile.in: Regenerated.
2695 * libc/sys/linux/fclean.c: New file.
2696
61921945
JJ
26972002-07-25 Jeff Johnston <jjohnstn@redhat.com>
2698
2699 * libc/sys/linux/Makefile.am: Add confstr.c.
2700 * libc/sys/linux/Makefile.in: Regenerated.
2701 * libc/sys/linux/confstr.c: New file.
2702 * libc/sys/linux/confstr.h: Ditto.
2703 * libc/sys/linux/sys/unistd.h: Include <features.h> and
2704 <bits/environments.h>.
2705
3d966a92
JJ
27062002-07-25 Jeff Johnston <jjohnstn@redhat.com>
2707
2708 * libc/sys/linux/config.h (__set_errno): Macro definition removed.
2709 * libc/sys/linux/fpathconf.c (__set_errno): Ditto.
2710 * libc/sys/linux/libc-internal.h (__set_errno): Ditto.
2711 * libc/sys/linux/pathconf.c (__set_errno): Ditto.
2712 * libc/sys/linux/ttyname_r.c (__set_errno): Ditto.
2713 * libc/sys/linux/sys/errno.h (__set_errno): Macro definition added.
2714
53b5bff7
JJ
27152002-07-24 Jeff Johnston <jjohnstn@redhat.com>
2716
2717 * libc/sys/linux/Makefile.am: Add new files.
2718 * libc/sys/linux/Makefile.in: Regenerated.
2719 * libc/sys/linux/fstab.c: New file.
2720 * libc/sys/linux/fstatvfs.c: Ditto.
2721 * libc/sys/linux/fstatvfs64.c: Ditto.
2722 * libc/sys/linux/internal_statvfs.c: Ditto.
2723 * libc/sys/linux/mntent.c: Ditto.
2724 * libc/sys/linux/mntent_r.c: Ditto.
2725 * libc/sys/linux/statvfs.c: Ditto.
2726 * libc/sys/linux/statvfs64.c: Ditto.
2727 * libc/sys/linux/include/paths.h: Ditto.
2728 * libc/sys/linux/inode.c (statfs, fstatfs): New syscalls
2729 with double-underscore weak-aliases.
2730 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
2731
9cef8ef5
JJ
27322002-07-24 Jeff Johnston <jjohnstn@redhat.com>
2733
2734 * libc/include/signal.h (SIG_IGN, SIG_DFL, SIG_ERR): Change
2735 to use _sig_func_ptr type casted constants.
2736 (_sig_func_ptr): Typedef moved to sys/signal.h.
2737 * libc/include/sys/signal.h (_sig_func_ptr): Typedef added.
2738 For __rtems, use POSIX definition, otherwise default to ANSI.
2739 * libc/sys/linux/sys/signal.h (_sig_func_ptr): Typedef added.
2740
a703e0f2
JJ
27412002-07-24 Stephane Carrez <stcarrez@nerim.fr>
2742
2743 * configure.host: Recognize m6811-elf and m6812-elf targets.
2744 * libc/include/machine/setjmp.h (_JBLEN): Define for 68hc11/68hc12.
2745 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Define for 68HC11.
2746 (_DOUBLE_IS_32BITS): Define when compiling with -fshort-double.
2747 * libc/include/sys/config.h (INT_MAX, UINT_MAX): Define
2748 according to __INT_MAX__.
2749 (_POINTER_INT): Define to short.
2750 * libc/machine/m68hc11/Makefile.am: New file.
2751 * libc/machine/m68hc11/Makefile.in: New file.
2752 * libc/machine/m68hc11/configure.in: New file.
2753 * libc/machine/m68hc11/configure: New file.
2754 * libc/machine/m68hc11/aclocal.m4: New file.
2755 * libc/machine/m68hc11/setjmp.S: New file.
2756
d254189b
JJ
27572002-07-23 Jeff Johnston <jjohnstn@redhat.com>
2758
2759 * libc/include/string.h: Add mempcpy, strndup, and _strndup_r
2760 prototypes.
2761 * libc/stdlib/Makefile.am: Remove strdup.c and strdup_r.c.
2762 * libc/stdlib/Makefile.in: Regenerated.
2763 * libc/stdlib/strdup.c: Removed.
2764 * libc/stdlib/strdup_r.c: Removed.
2765 * libc/string/Makefile.am: Add strdup.c, strdup_r.c, memccpy.c,
2766 mempcpy.c, strndup.c, and strndup_r.c.
2767 * libc/string/Makefile.in: Regenerated.
2768 * libc/string/memccpy.c: New file.
2769 * libc/string/mempcpy.c: Ditto.
2770 * libc/string/strndup.c: Ditto.
2771 * libc/string/strndup_r.c: Ditto.
2772 * libc/string/strdup.c: New file moved from stdlib.
2773 * libc/string/strdup_r.c: Ditto.
2774 * libc/string/strings.tex: Add memccpy and mempcpy documentation.
2775
bc100655
JJ
27762002-07-23 Jeff Johnston <jjohnstn@redhat.com>
2777
2778 * libc/include/stdio.h: Move fcloseall prototype within
2779 #ifndef _REENT_ONLY section.
2780 * libc/sys/linux/Makefile.am: Add new files.
2781 * libc/sys/linux/Makefile.in: Regenerated.
2782 * libc/sys/linux/sys/stdio.h: Add ctermid prototype.
2783 * libc/sys/linux/sys/unistd.h: Add ttyname_r prototype.
2784 * libc/sys/linux/sys/types.h: Add ino64_t type.
2785 * libc/sys/linux/ctermid.c: New file.
2786 * libc/sys/linux/ttyname_r.c: Ditto.
2787 * libc/sys/linux/readdir64.c: Ditto.
2788
f5f27f07
JJ
27892002-07-22 Jeff Johnston <jjohnstn@redhat.com>
2790
2791 * libc/include/stdio.h (fcloseall, _fcloseall_r): Added prototypes.
2792 * libc/stdio/Makefile.am: Added fcloseall.c support.
2793 * libc/stdio/Makefile.in: Regenerated.
2794 * libc/stdio/fcloseall.c: New file.
2795 * libc/stdio64/Makefile.am: Remove missing .def references.
2796 * libc/stdio64/Makefile.in: Regenerated.
2797
d541ba3e
JJ
27982002-07-22 Jeff Johnston <jjohnstn@redhat.com>
2799
2800 * libc/machine/powerpc/time.c: Removed..renamed to times.c.
2801 * libc/machine/powerpc/times.c: New file.
2802 * libc/machine/powerpc/Makefile.am: Change time.c to times.c.
2803 * libc/machine/powerpc/Makefile.in: Regenerated.
2804
28052002-07-22 Aldy Hernandez <aldyh@redhat.com>
e964bca8
JJ
2806
2807 * libc/machine/powerpc/time.c: New file.
2808 * libc/machine/powerpc/Makefile.am (lib_a_SOURCES): Add
2809 time.c.
2810 * libc/machine/powerpc/Makefile.in: Regenerated.
2811
5e7d0a55
TF
28122002-07-22 Thomas Fitzsimmons <fitzsim@redhat.com>
2813
2814 * libc/libc.texinfo: Change copyright notices to Red Hat from
2815 Cygnus.
2816 * libm/libm.texinfo: Likewise.
2817 * README: Change docs URL to
2818 http://sources.redhat.com/newlib/docs.html.
2819
504628e7
JJ
28202002-07-19 Jeff Johnston <jjohnstn@redhat.com>
2821
2822 * libc/sys/linux/Makefile.am: Add pathconf.c and fpathconf.c.
2823 * libc/sys/linux/Makefile.in: Regenerated.
2824 * libc/sys/linux/inode.c: Add chmod, fchmod, and chown syscalls.
2825 * libc/sys/linux/io.c: Add ftruncate syscall.
2826 * libc/sys/linux/fpathconf.c: New file.
2827 * libc/sys/linux/pathconf.c: Ditto.
2828 * libc/sys/linux/linux_fsinfo.h: Ditto.
2829 * libc/sys/linux/sys/unistd.h: Ditto.
2830
b155ad9f
JJ
28312002-07-19 Jeff Johnston <jjohnstn@redhat.com>
2832
2833 * libc/stdio64/Makefile.am: Remove missing files.
2834 * libc/stdio64/Makefile.in: Regenerated.
2835
c119e0ab
JJ
28362002-07-19 Jeff Johnston <jjohnstn@redhat.com>
2837
2838 * libc/include/sys/config.h[__i386__][__linux__]: Define
2839 _LARGE64FILE_SOURCE to 1.
2840 * libc/sys/linux/Makefile.am: Add getrlimit64.c and setrlimit64.c.
2841 * libc/sys/linux/Makefile.in: Regenerated.
2842 * libc/sys/linux/resource.c: Add __getrlimit and __setrlimit aliases.
2843 * libc/sys/linux/sys/linux_time.h: Protect struct timeval definition.
2844 * libc/sys/linux/sys/resource.h: Include <bits/resource.h> instead
2845 of <linux/resource.h>.
2846 * libc/sys/linux/getrlimit64.c: New file.
2847 * libc/sys/linux/setrlimit64.c: Ditto.
2848
9b022d6d
TF
28492002-07-19 Thomas Fitzsimmons <fitzsim@redhat.com>
2850
2851 * libc/argz/argz_replace.c: Include buf_findstr.h.
2852 * libc/argz/buf_findstr.c: Likewise.
2853 * libc/argz/envz_entry.c: Include buf_findstr.h. Cast return
2854 value to (char *).
2855 * libc/argz/envz_get.c: Likewise.
2856 * libc/include/sys/unistd.h: Add getopt and getsubopt declarations.
2857 * libc/stdlib/Makefile.am (LIB_SOURCES): Add getsubopt.c.
2858 * libc/stdlib/getsubopt.3: New file.
2859 * libc/stdlib/getsubopt.c: New file.
2860 * libc/sys/linux/machine/i386/socketcall.h (__sockcall_base):
2861 Change esp to ebp.
2862
dee51391
JJ
28632002-07-17 Jeff Johnston <jjohnstn@redhat.com>
2864
2865 * configure.host(stdio64_dir): New setting that is used to
2866 enable building of new stdio64 directory.
2867 * libc/Makefile.am[HAVE_STDIO64_DIR]: Add support for
2868 large files.
2869 (stmp-stdio64,stdio64.texi): New targets to optionally add in
2870 stdio64 info to info files.
2871 * libc/Makefile.in: Regenerated.
2872 * libc/configure: Ditto.
2873 * libc/configure.in: Add configuration variables that are set
2874 when stdio64 is selected as subdir in configure.host.
2875 * libc/libc.texinfo: Add optional menu item for Stdio64, based
2876 on whether STDIO64 flag is set or not.
2877 * libc/sys.tex: Add optional stdio64 syscalls based on whether
2878 STDIO64 flag is set or not.
2879 * libc/include/reent.h[__LARGE64_FILES]: Add new stdio64
2880 _r sycall routines.
2881 * libc/include/stdio.h[__LARGE64_FILES]: Add new stdio64 prototypes.
2882 (FILE): Typedef'd to __FILE instead of struct __sFILE directly.
2883 (__SL64): New file flag indicating file is opened via fopen64.
2884 * libc/include/sys/_types.h(_off64_t): Added.
2885 * libc/include/sys/config.h: For x86-linux, define __LARGE64_FILES.
2886 * libc/include/sys/reent.h(struct __sFILE64): New file structure
2887 for 64-bit offset large file support.
2888 (__FILE): New intermediate type either set to struct __sFILE64 or
2889 struct __sFILE, depending on whether __LARGE64_FILES is set or not.
2890 * libc/reent/Makefile.am[HAVE_STDIO64_DIR]: Add new files.
2891 * libc/reent/Makefile.in: Regenerated.
2892 * libc/reent/fstat64r.c: New file.
2893 * libc/reent/lseek64r.c: Ditto.
2894 * libc/reent/open64r.c: Ditto.
2895 * libc/reent/reent.tex: Optionally add stdio64 reentrant syscalls
2896 based on whether STDIO64 flag is set.
2897 * libc/stdio/stdio.tex: Add blank line.
2898 * libc/stdio64/Makefile.am: New file.
2899 * libc/stdio64/Makefile.in: Ditto.
2900 * libc/stdio64/fgetpos64.c: Ditto.
2901 * libc/stdio64/fopen64.: Ditto.
2902 * libc/stdio64/freopen64.c: Ditto.
2903 * libc/stdio64/fseeko64.c: Ditto.
2904 * libc/stdio64/fsetpos64.c: Ditto.
2905 * libc/stdio64/ftello64.c: Ditto.
2906 * libc/stdio64/local64.h: Ditto.
2907 * libc/stdio64/stdio64.c: Ditto.
2908 * libc/stdio64/stdio64.tex: Ditto.
2909 * libc/stdio64/tmpfile64.c: Ditto.
2910 * libc/sys/linux/io64.c: Add weak aliases for lseek64, fstat64, and
2911 open64.
2912
778876f6
JJ
29132002-07-16 Jeff Johnston <jjohnstn@redhat.com>
2914
2915 * libc/Makefile.am (stmp-extra): New target to set makeinfo flag
2916 if LIBC_EXTRA_LIB is present.
2917 * libc/Makefile.in: Regenerated.
2918 * libc/libc.texinfo: Add blank line.
2919 * libc/argz/Makefile.am: Add doc support.
2920 * libc/search/Makefile.am: Ditto.
2921 * libc/argz/Makefile.in: Regenerated.
2922 * libc/search/Makefile.in: Ditto.
2923 * libc/misc/misc.tex: Add ffs function.
2924 * libc/stdio/ftell.c: Fix missing doc delimeter in description.
2925
37981145
JJ
29262002-07-15 Jeff Johnston <jjohnstn@redhat.com>
2927
2928 * libc/include/sys/config.h[__H8300__]: Replace __SMALL_BITFIELDS
2929 definition that was removed in error.
2930
38b5dc59
JJ
29312002-07-15 Jeff Johnston <jjohnstn@redhat.com>
2932
2933 * libc/include/machine/ieeefp.h: Change to only define
2934 floating point defines (e.g one of __IEEE_BIG_ENDIAN or
2935 __IEEE_LITTLE_ENDIAN must be defined for each platform).
2936 * libc/include/sys/config.h: Include <machine/ieeefp.h> and
2937 remove redundant floating point definitions.
2938
8cb61a96
JJ
29392002-07-15 Jeff Johnston <jjohnstn@redhat.com>
2940
2941 * libc/sys/linux/callocr.c: Fix so code references
2942 calloc.
2943
edba3282
JJ
29442002-07-15 Jeff Johnston <jjohnstn@redhat.com>
2945
2946 * libc/sys/linux/Makefile.am: Add new files.
2947 * libc/sys/linux/Makefile.in: Regenerated.
2948 * libc/sys/linux/bp-sym.h: Moved to include directory.
2949 * libc/sys/linux/mmap.c: Add weak aliases: __mmap, __munmap, __mremap.
2950 * libc/sys/linux/inode.c: Set _LIBC to 1.
2951 * libc/sys/linux/mq_close.c: Ditto.
2952 * libc/sys/linux/mq_getattr.c: Ditto.
2953 * libc/sys/linux/mq_open.c: Ditto.
2954 * libc/sys/linux/mq_receive.c: Ditto.
2955 * libc/sys/linux/mq_send.c: Ditto.
2956 * libc/sys/linux/mq_setattr.c: Ditto.
2957 * libc/sys/linux/mq_unlink.c: Ditto.
2958 * libc/sys/linux/calloc.c: New file.
2959 * libc/sys/linux/callocr.c: Ditto.
2960 * libc/sys/linux/cfreer.c: Ditto.
2961 * libc/sys/linux/config.h: Ditto.
2962 * libc/sys/linux/free.c: Ditto.
2963 * libc/sys/linux/freer.c: Ditto.
2964 * libc/sys/linux/msize.c: Ditto.
2965 * libc/sys/linux/msizer.c: Ditto.
2966 * libc/sys/linux/mstats.c: Ditto.
2967 * libc/sys/linux/mtrim.c: Ditto.
2968 * libc/sys/linux/mtrimr.c: Ditto.
2969 * libc/sys/linux/pvallocr.c: Ditto.
2970 * libc/sys/linux/realloc.c: Ditto.
2971 * libc/sys/linux/reallocr.c: Ditto.
2972 * libc/sys/linux/thread-m.h: Ditto.
2973 * libc/sys/linux/vallocr.c: Ditto.
2974 * libc/sys/linux/bp-checks.h: Ditto.
2975 * libc/sys/linux/libc-symbols.h: Ditto.
2976 * libc/sys/linux/libc-tsd.h: Ditto.
2977 * libc/sys/linux/libintl.h: Ditto.
2978 * libc/sys/linux/malign.c: Ditto.
2979 * libc/sys/linux/malignr.c: Ditto.
2980 * libc/sys/linux/mallinfor.c: Ditto.
2981 * libc/sys/linux/malloc.c: Ditto.
2982 * libc/sys/linux/mallocr.c: Ditto.
2983 * libc/sys/linux/malloptr.c: Ditto.
2984 * libc/sys/linux/mallstatsr.c: Ditto.
2985 * libc/sys/linux/mcheck.c: Ditto.
2986 * libc/sys/linux/mhooks.h: Ditto.
2987 * libc/sys/linux/include/bp-sym.h: Ditto.
2988 * libc/sys/linux/include/malloc.h: Ditto.
2989 * libc/sys/linux/include/mcheck.h: Ditto.
2990 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Remove
2991 getpagesize.c.
2992 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerated.
2993 * libc/sys/linux/linuxthreads/machine/i386/getpagesize.c: Moved.
2994 * libc/sys/linux/machine/i386/getpagesize.c: New file.
2995 * libc/sys/linux/machine/i386/Makefile.am: Add getpagesize.c.
2996 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
2997 * libc/sys/linux/machine/i386/sysdep.h: New file.
2998 * libc/sys/linux/machine/i386/weakalias.h: Add weak_function support.
2999 * libc/sys/linux/sys/dirent.h: Set _LIBC to 1.
3000 * libc/sys/linux/sys/lock.h: Include <machine/weakalias.h>.
3001
ea20b60a
JJ
30022002-07-12 Jeff Johnston <jjohnstn@redhat.com>
3003
3004 * libc/sys/linux/include/mqueue.h: Change to use <bits/siginfo.h>
3005 instead of <asm/siginfo.h>.
3006 * libc/sys/linux/sys/signal.h: Change to include various linux
3007 <bits/xxx.h> header files, rather than <linux/signal.h> so as
3008 to work with multiple releases of glibc header files.
3009
2fc82912
JJ
30102002-07-11 Chris Demetriou <cgd@broadcom.com>
3011
3012 * testsuite/newlib.search/hsearchtest.c: New file to test
3013 newlib/libc/search.
3014 * testsuite/newlib.search/hsearchtest.exp: Likewise.
3015
4a404e97 30162002-07-10 Florian Schrack <florian.schrack@freenet.de>
2a8b4ea3
JJ
3017
3018 * libc/sys/mmixware/read.c: Use SYS_Fgets syscall if dealing with
3019 a terminal.
3020 * libc/sys/mmixware/sys/syscall.h (SYS_Fgets): Definition added.
3021
6aec558e
JJ
30222002-07-08 Jeff Johnston <jjohnstn@redhat.com>
3023
3024 * libc/include/math.h (MAXFLOAT): Added.
3025
e47e6f0e 3026Mon Jul 8 13:55:23 2002 J"orn Rennecke <joern.rennecke@superh.com>
a31df303
JR
3027
3028 * libc/machine/sh/Makefile.am (lib_a_SOURCES):
3029 Make strcmp.S unconditional.
3030 * libc/machine/sh/Makefile.in: Regenerate.
3031 * libc/machine/sh/asm.h (DELAYED_BRANCHES, SL): Also for __SH5__ .
3032 * strcmp.S (strcmp): Add SHmedia variant. Use different registers
3033 for SHcompact.
3034
89ffbd66
JJ
30352002-07-04 Jeff Johnston <jjohnstn@redhat.com>
3036
3037 * libc/sys/linux/inode.c: Fix utime prototype and add _LIBC
3038 define before including <sys/lock.h>.
3039
ae6c4c84
JJ
30402002-07-04 Jeff Johnston <jjohnstn@redhat.com>
3041
3042 * libc/include/utime.h: Add include of <_ansi.h>.
3043 * libc/sys/linux/Makefile.am: Add utimes.c.
3044 * libc/sys/linux/Makefile.in: Regenerated.
3045 * libc/sys/linux/inode.c(__umask): New static routine.
3046 (umask): Written to use __umask and attempt to thread lock.
3047 (getumask): New function written to use __umask and thread lock.
3048 * libc/sys/linux/utimes.c: New file.
3049 * libc/sys/linux/sys/time.h: Fix utimes prototype.
3050 * libc/sys/linux/sys/utime.h: New file.
3051
a6cac46c
TF
30522002-07-04 Thomas Fitzsimmons <fitzsim@redhat.com>
3053
3054 * libtool.m4: New file.
3055 * libc/sys/linux/process.c: Implement vfork in terms of fork,
3056 rather than as a syscall.
3057
30b2092f
JJ
30582002-07-04 Jeff Johnston <jjohnstn@redhat.com>
3059
3060 * libc/include/stdio.h: Add new prototypes.
3061 * libc/stdio/Makefile.am: Add fseeko.c and ftello.c.
3062 * libc/stdio/Makefile.in: Regenerated.
3063 * libc/stdio/fseek.c: Add fseeko documentation.
3064 * libc/stdio/ftell.c: Add ftello documentation.
3065 * libc/stdio/fseeko.c: New file.
3066 * libc/stdio/ftello.c: New file.
3067
7501704d
JJ
30682002-07-04 Jeff Johnston <jjohnstn@redhat.com>
3069
3070 * libc/stdio/Makefile.am: Add asprintf.c and vasprintf.c.
3071 * libc/stdio/Makefile.in: Regenerated.
3072 * libc/stdio/asprintf.c: New file.
3073 * libc/stdio/vasprintf.c: Ditto.
3074 * libc/stdio/fvwrite.c: Add code to dynamically reallocate
3075 the buffer for asprintf support.
3076 * libc/stdio/sprintf.c: Add asprintf documentation.
3077 * libc/stdio/vfprintf.c: Add vasprintf documentation.
3078 * libc/include/stdio.h: Add new prototypes.
3079
66eee32b
TF
30802002-07-02 Thomas Fitzsimmons <fitzsim@redhat.com>
3081
3082 * libc/search/hcreate.c: Remove advertising clause from license.
3083 * libc/search/hcreate_r.c: Likewise.
3084
cec4a9f8
JJ
30852002-07-02 Chris Demetriou <cgd@broadcom.com>
3086
3087 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN)
3088 (__IEEE_BIG_ENDIAN): Define appropriately for MIPS.
3089 Check that one of them is defined and error out if not.
3090 Add any platforms defined in <machine/ieeefp.h> that are missing.
3091 * libc/search/hash.h (DB_BYTE_ORDER, DB_BIG_ENDIAN)
3092 (DB_LITTLE_ENDIAN): New defines.
3093 * libc/search/hash.c: Replace all incorrect checks for
3094 _IEEE_LITTLE_ENDIAN with tests of BYTE_ORDER, and all uses of
3095 BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN with DB_* versions.
3096 * libc/search/hash_page.c: Likewise.
3097
2d5eb17e
TF
30982002-06-28 Thomas Fitzsimmons <fitzsim@redhat.com>
3099
3100 * libm/mathfp/sf_pow.c (powf): Change k from int to float.
3101
c1a3171f
JJ
31022002-06-27 Benjamin Kosnik <bkoz@redhat.com>
3103
3104 * libc/include/stdio.h: Untangle, add _BEGIN_STD_C and _END_STD_C.
3105 * libc/include/time.h: Same.
3106 * libc/include/string.h: Same.
3107 * libc/include/stdlib.h: Same.
3108 * libc/include/signal.h: Same.
3109 * libc/include/setjmp.h: Same.
3110 * libc/include/math.h: Same.
3111 * libc/include/locale.h: Same.
3112 * libc/include/ctype.h: Same.
3113 * libc/include/machine/setjmp.h: Same.
3114 * libc/include/_ansi.h (_BEGIN_STD_C): Add.
3115 (_END_STD_C): Add.
3116
533b4e66
JJ
31172002-06-27 Jeff Johnston <jjohnstn@redhat.com>
3118
3119 * libc/include/sys/_types.h: Define _ssize_t as int if int is
3120 32-bits, otherwise define it as long.
3121 * libc/include/sys/types.h: Include <_ansi.h> and <sys/_types.h>
3122 and define ssize_t as _ssize_t.
3123 * libc/reent/readr.c: Change return type to _ssize_t.
3124 * libc/reent/writer.c: Ditto.
3125 * libc/sys/linux/Makefile.am: Add aio.c.
3126 * libc/sys/linux/Makefile.in: Regenerated.
3127 * libc/sys/linux/aio.c: New file.
3128 * libc/sys/linux/sys/cdefs.h: Add __restrict_arr definition.
3129 * libm/common/fdlibm.h: Undef __P before defining it.
3130
c36e6dd7
TF
31312002-06-27 Thomas Fitzsimmons <fitzsim@redhat.com>
3132
54be629f
TF
3133 * libm/mathfp/s_pow.c (pow): Fix checks on variable k. Add
3134 exponent_is_even_int variable. Handle case where x is
3135 negative, and y is an odd integer.
3136 * libm/mathfp/sf_pow.c (powf): Likewise.
3137
c36e6dd7
TF
3138 * libm/mathfp/er_lgamma.c: Remove __kernel references.
3139 * libm/mathfp/erf_lgamma.c: Likewise.
3140 * libm/mathfp/s_tgamma.c: Likewise.
3141 * libm/mathfp/sf_tgamma.c: Likewise.
3142
baf051ca
JJ
31432002-06-27 Jeff Johnston <jjohnstn@redhat.com>
3144
3145 * libc/sys/linux/Makefile.am: Add new clock routines.
3146 * libc/sys/linux/Makefile.in: Regenerated.
3147 * libc/sys/linux/clock_getres.c: New file.
3148 * libc/sys/linux/clock_gettime.c: Ditto.
3149 * libc/sys/linux/clock_settime.c: Ditto.
3150 * libc/sys/linux/hp-timing.h: Ditto.
3151 * libc/sys/linux/libc-internal.h: Ditto.
3152 * libc/sys/linux/sysconf.c: Fix typo.
3153 * libc/sys/linux/include/time.h: Add include of <sys/linux_time.h>.
3154 * libc/sys/linux/machine/hp-timing.h: New file.
3155 * libc/sys/linux/machine/i386/Makefile.am: Add new files.
3156 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
3157 * libc/sys/linux/machine/i386/get_clockfreq.c: New file.
3158 * libc/sys/linux/machine/i386/hp-timing.c: Ditto.
3159 * libc/sys/linux/machine/i386/hp-timing.h: Ditto.
3160 * libc/sys/linux/sys/linux_time.h: New file.
3161 * libc/sys/linux/sys/time.h: Remove include of <linux/time.h> and
3162 replace with <sys/linux_time.h>.
3163
0431ed4e
JR
3164Wed Jun 26 16:33:25 2002 J"orn Rennecke <joern.rennecke@superh.com>
3165
3166 * libc/sys/sh/crt0.S: Remove vestigial .section directive.
3167
fc067ba5
JJ
31682002-06-25 Jeff Johnston <jjohnstn@redhat.com>
3169
3170 * libc/sys/linux/Makefile.am: Consolidate additional items under
3171 ADD_OBJS.
3172 * libc/sys/linux/Makefile.in: Regenerated.
3173
ffddf61e
JJ
31742002-06-25 Jeff Johnston <jjohnstn@redhat.com>
3175
3176 * libc/sys/linux/sethostname.c: New file.
3177 * libc/sys/linux/Makefile.am: Add sethostname.c support.
3178 * libc/sys/linux/Makefile.in: Regenerated.
3179
d5487d3f
TF
31802002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
3181
3182 * libc/search/db_local.h: New file.
3183 * libc/include/db.h: Remove.
3184 * libc/search/Makefile.am (LIB_SOURCES): Add db_local.h.
3185 * libc/search/hash.c (MIN,MAX): Add macros. Change <db.h> to
3186 "db_local.h".
3187 * libc/search/hash_bigkey.c: Likewise.
3188 * libc/search/hash_buf.c: Likewise.
3189 * libc/search/hash_func.c: Likewise.
3190 * libc/search/hash_log2.c: Likewise.
3191 * libc/search/hash_page.c: Likewise.
3192
31932002-06-24 J"orn Rennecke <joern.rennecke@superh.com>
e08a6118 3194
1e7ca711 3195 * libc/machine/sh/strlen.S: New file.
e08a6118
JR
3196 * libc/machine/sh/Makefile.am (lib_a_SOURCES): Add rule for it.
3197 * libc/machine/sh/Makefile.am: Regenerate.
3198
59c6d6c4
JJ
31992002-06-24 Jeff Johnston <jjohnstn@redhat.com>
3200
3201 * libc/sys/linux/gethostname.c: Change name to __gethostname and
3202 add gethostname alias.
3203
a70486d7
JJ
32042002-06-24 Jeff Johnston <jjohnstn@redhat.com>
3205
3206 * libc/include/math.h: Remove <sys/types.h>.
a5dadf33 3207 (__dmath): Use __ULong instead of __uint32_t.
a70486d7 3208 * libc/include/sys/reent.h: If long or int is not 32-bits,
a5dadf33 3209 include <sys/types.h> to get definitions for __int32_t and __uint32_t.
a70486d7
JJ
3210 * libc/stdlib/mprec.h: Include <sys/types.h> to get integer defs.
3211 * libm/common/fdlibm.h: Ditto.
3212
3118725a
TF
32132002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
3214
3215 * libc/include/ndbm.h: Remove.
3216 * libc/search/ndbm.c: Remove.
3217
30a06168
TF
32182002-06-24 WATANABE Hirofumi <eban@os.rim.or.jp>
3219
3220 * libc/stdio/fseek.c (fseek): Fix braces.
3221
01f5155e
CV
32222002-06-21 Corinna Vinschen <corinna@vinschen.de>
3223
3224 * libc/time/strftime.c (strftime): Add %e format specifier.
3225
930bc96b
TF
32262002-06-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3227
3228 * libc/search/hash.h (LITTLE_ENDIAN, BIG_ENDIAN): Define if not
3229 previously defined.
3230
55105f86
JJ
32312002-06-21 Richard Earnshaw (rearnsha@arm.com)
3232
3233 * libc/sys/arm/sys/param.h (BIG_ENDIAN, LITTLE_ENDIAN): Define.
3234 (BYTE_ORDER): Define as appropriate for the target.
3235
2e78444a
JJ
32362002-06-21 Jeff Johnston <jjohnstn@redhat.com>
3237
3238 * libc/include/sys/config.h[__linux__]: Set _READ_WRITE_RETURN_TYPE
3239 to _ssize_t.
3240 * libc/sys/linux/io.c (read, write): Change to return ssize_t.
3241
d427d092
JJ
32422002-06-21 Jeff Johnston <jjohnstn@redhat.com>
3243
3244 * libc/include/stdio.h (__getline, __getdelim): New prototypes.
3245 * libc/include/time.h [HAVE_GETDATE](getdate, getdate_r): Ditto.
3246 [HAVE_GETDATE](getdate_err): New error code.
3247 * libc/stdio/Makefile.am: Add support for getline.c and getdelim.c.
3248 * libc/stdio/Makefile.in: Regenerated.
3249 * libc/stdio/getdelim.c: New file.
3250 * libc/stdio/getline.c: Ditto.
3251 * libc/sys/linux/Makefile.am: Add support for getdate.c, getdate_err.c
3252 and ntp_gettime.c. Also add AM_CFLAGS to point to libc/stdio.
3253 * libc/sys/linux/Makefile.in: Regenerated.
3254 * libc/sys/linux/getdate.c: New file.
3255 * libc/sys/linux/getdate_err.c: Ditto.
3256 * libc/sys/linux/ntp_gettime.c: Ditto.
3257 * libc/sys/linux/time.c (adjtimex, ntp_adjtime): New functions.
3258 * libc/sys/linux/sys/stdio.h (getline, getdelim): New macros.
3259
35728d4f
JJ
32602002-06-21 Jeff Johnston <jjohnstn@redhat.com>
3261
3262 * libc/include/math.h: Add <sys/types.h> to get _uint32_t definition.
3263 * libc/include/machine/types.h: Skip __off_t, __pid_t, and
3264 __loff_t definitions if special _HAVE_SYSTYPES macro defined.
3265 * libc/include/sys/config.h: Removed _uint*, _int* definitions.
3266 * libc/include/sys/param.h: Remove i386 case which is handled
3267 by default case.
3268 (BIG_ENDIAN, LITTLE_ENDIAN): Protect
3269 definitions in case they are already defined.
3270 (BYTE_ORDER): Add default case using _IEEE_BIG_ENDIAN and
3271 _IEEE_LITTLE_ENDIAN flags.
3272 * libc/include/sys/reent.h: Change __uint32_t references to
3273 use _ULong instead.
3274 (_REENT_GETDATE_REENT_P): New macro.
3275 * libc/include/sys/types.h (__int16_t, __uint16_t): Added.
3276 (__int32_t, __uint32_t, __int64_t, __uint64_t): Ditto.
3277 * libc/search/hash.h: Add default setting of BYTE_ORDER,
3278 LITTLE_ENDIAN, and BIG_ENDIAN, if not already defined.
3279 * libc/sys/linux/sys/types.h: Include <sys/_types.h>. Define
3280 ssize_t based on _ssize_t. Remove __socklen_t, __uintptr_t,
3281 pid_t, off_t, loff_t, caddr_t, and daddr_t type
3282 definitions which are done by subsequent glibc headers.
3283 Add macro definitions to prevent subsequent header files from
3284 defining pid_t, off_t, ssize_t, and key_t. Move uintptr_t and
3285 intptr_t to after glibc definitions of types they are based on.
3286
4a2bfab7
JJ
32872002-06-21 Jeff Johnston <jjohnstn@redhat.com>
3288
3289 * libc/include/errno.h: Protect from multiple inclusion.
3290
f42d18ea
NC
32912002-06-21 Nick Clifton <nickc@cambridge.redhat.com>
3292
3293 * libc/sys/arm/swi.h (ADP_Stopped_RunTimeError): Set correct value.
3294
a7b23a8f
TF
32952002-06-20 Thomas Fitzsimmons <fitzsim@redhat.com>
3296
3297 * Makefile.am (LIB_OBJECTLISTS): Add
3298 libc/search/objectlist.awk.in.
3299 * libc/Makefile.am (SUBDIRS): Add search.
3300 (SUBLIBS): Add search/libsearch.la.
3301 * libc/configure.in (AC_OUTPUT): Add search/Makefile.
3302 * libc/search: New directory.
3303 * libc/search/Makefile.am: New file.
3304 * libc/search/extern.h: New file.
3305 * libc/search/hash.c: New file.
3306 * libc/search/hash.h: New file.
3307 * libc/search/hash_bigkey.c: New file.
3308 * libc/search/hash_buf.c: New file.
3309 * libc/search/hash_func.c: New file.
3310 * libc/search/hash_log2.c: New file.
3311 * libc/search/hash_page.c: New file.
3312 * libc/search/hcreate.3: New file.
3313 * libc/search/hcreate.c: New file.
a7b23a8f
TF
3314 * libc/search/hcreate_r.c: New file.
3315 * libc/search/ndbm.c: New file.
3316 * libc/search/page.h: New file.
3317 * libc/search/tdelete.c: New file.
3318 * libc/search/tdestroy.c: New file.
3319 * libc/search/tfind.c: New file.
3320 * libc/search/tsearch.3: New file.
3321 * libc/search/tsearch.c: New file.
3322 * libc/search/twalk.c: New file.
3323 * libc/include/db.h: New file.
3324 * libc/include/ndbm.h: New file.
3325 * libc/include/search.h: New file.
3326 * libc/include/sys/queue.h: New file.
3327 * libc/include/sys/cdefs.h: New file.
3328 * libc/include/sys/param.h
3329 [__IEEE_LITTLE_ENDIAN,__IEEE_BIG_ENDIAN]: Set BYTE_ORDER to
3330 LITTLE_ENDIAN or BIG_ENDIAN.
3331 * libc/include/sys/errno.h (EFTYPE): New macro.
3332 * libc/search/bsearch.c: Move from libc/stdlib.
3333 * libc/search/qsort.c: Likewise.
3334 * libc/stdlib/Makefile.am (LIB_SOURCES): Remove bsearch.c and
3335 qsort.c.
3336 (CHEWOUT_FILES): Remove bsearch.def and qsort.def.
3337 * libc/stdlib/stdlib.tex: Remove references to bsearch and qsort.
3338
ef467338
JJ
33392002-06-19 Jeff Johnston <jjohnstn@redhat.com>
3340
3341 * libc/sys/linux/Makefile.am: Add support for message queue routines,
3342 ipc routines, and ftok.
3343 * libc/sys/linux/Makefile.in: Regenerated.
3344 * libc/sys/linux/ftok.c: New file.
3345 * libc/sys/linux/ipc.c: Ditto.
3346 * libc/sys/linux/mq_close.c: Ditto.
3347 * libc/sys/linux/mq_getattr.c: Ditto.
3348 * libc/sys/linux/mq_notify.c: Ditto.
3349 * libc/sys/linux/mq_open.c: Ditto.
3350 * libc/sys/linux/mq_receive.c: Ditto.
3351 * libc/sys/linux/mq_send.c: Ditto.
3352 * libc/sys/linux/mq_setattr.c: Ditto.
3353 * libc/sys/linux/mq_unlink.c: Ditto.
3354 * libc/sys/linux/mqlocal.h: Ditto.
3355 * libc/sys/linux/include/mqueue.h: Ditto.
3356 * libc/sys/linux/sys/types.h: Define __gid_t_defined and
3357 __uid_t_defined.
3358
7f55c08c
TF
33592002-06-19 J"orn Rennecke <joern.rennecke@superh.com>
3360
3361 * libm/common/sf_lround.c (round): Change name to: (lround).
3362 * libm/common/sf_remquo.c (remquo): Pass all arguemnts to
3363 remquof.
3364
c9ca68d7
TF
33652002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
3366
3367 * testsuite/lib/passfail.exp (newlib_pass_fail_all): New
3368 procedure.
3369 (newlib_pass_fail): Change to compile and run only one file.
3370 * testsuite/newlib.locale/locale.exp: Use new
3371 newlib_pass_fail_all procedure.
3372 * testsuite/newlib.string/string.exp: Likewise.
3373
4ecedd09
DB
33742002-06-18 Dave Brolley <brolley@redhat.com>
3375
3376 From Catherine Moore, Michael Meissner, Richard Sandiford:
3377 * libc/include/machine/setjmp.h (_JBLEN): Define for __frv__.
3378 (_JBTYPE): Ditto.
3379 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Ditto.
3380 (__ATTRIBUTE_IMPURE_PTR__): Ditto.
3381 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Ditto.
3382 * configure.host: Support frv-*-*.
3383 * libc/machine/frv/Makefile.am: New file.
3384 * libc/machine/frv/configure.in: New file.
3385 * libc/machine/frv/setjmp.S: New file.
3386
af1c257a
TF
33872002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
3388
3389 * libc/include/ctype.h: Remove isblank macro.
3390
3391 * libc/ctype/Makefile.am (LIB_SOURCES): Add isblank.c.
3392 * libc/ctype/isblank.c: New file.
3393 * libc/include/ctype.h [!__STRICT_ANSI__]: Add isblank
3394 declaration. Add isblank macro.
3395
4e04fa90
JJ
33962002-06-18 Jeff Johnston <jjohnstn@redhat.com>
3397
3398 * testsuite/newlib.stdlib/atexit.c: New file.
3399 * testsuite/newlib.stdlib/atexit.exp: Ditto.
3400 * testsuite/newlib.string/tstring.c: Change default start size
3401 to something more reasonable for embedded platforms.
3402
b56d7e79
TF
34032002-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
3404
ece3c72f
TF
3405 * libc/sys/linux/sys/errno.h (EFTYPE): Add macro.
3406
b56d7e79
TF
3407 * libc/argz: New directory.
3408 * libc/argz/*: New files.
3409 * libc/argz/argz_add.c: New file.
3410 * libc/argz/argz_add_sep.c: New file.
3411 * libc/argz/argz_append.c: New file.
3412 * libc/argz/argz_count.c: New file.
3413 * libc/argz/argz_create.c: New file.
3414 * libc/argz/argz_create_sep.c: New file.
3415 * libc/argz/argz_delete.c: New file.
3416 * libc/argz/argz_extract.c: New file.
3417 * libc/argz/argz_insert.c: New file.
3418 * libc/argz/argz_next.c: New file.
3419 * libc/argz/argz_replace.c: New file.
3420 * libc/argz/argz_stringify.c: New file.
3421 * libc/argz/buf_findstr.c: New file.
3422 * libc/argz/envz_add.c: New file.
3423 * libc/argz/envz_entry.c: New file.
3424 * libc/argz/envz_get.c: New file.
3425 * libc/argz/envz_merge.c: New file.
3426 * libc/argz/envz_remove.c: New file.
3427 * libc/argz/envz_strip.c: New file.
3428 * libc/include/argz.h: New file.
3429 * libc/include/envz.h: New file.
3430 * Makefile.am (LIBC_OBJECTLISTS): Add
3431 libc/argz/objectlist.awk.in.
3432 * libc/Makefile.am (SUBDIRS): Add argz.
3433 (SUBLIBS): Add argz/libargz.la.
3434 * libc/configure.in (AC_OUTPUT): Add argz/Makefile.
3435 * libc/include/errno.h: Add error_t typedef.
3436
d062d3dd
JJ
34372002-06-13 Jeff Johnston <jjohnstn@redhat.com>
3438
3439 * libc/include/stdlib.h: Add _Exit prototype.
3440 * libc/stdlib/Makefile.am: Add _Exit.c support.
3441 * libc/stdlib/Makefile.in: Ditto.
3442 * libc/stdlib/_Exit.c: New file.
3443
a47e66ae
JJ
34442002-06-13 Stephen L. Moshier <steve@moshier.net>
3445
3446 * libm/math/e_pow.c (__ieee754_pow): Fix case whereby
3447 x is close to -1.0 and y is very large to use ax (absolute value)
3448 instead of x.
3449 * libm/math/ef_pow.c (__ieee754_powf): Ditto.
3450
13f7d71f
JR
3451Thu Jun 13 19:23:40 2002 J"orn Rennecke <joern.rennecke@superh.com>
3452
3453 * libc/machine/sh/strcpy.S (strcpy, __SHMEDIA__ code):
3454 Fix clobbering bytes before destination if src and dst have same
3455 non-zero misalignment.
1f1fb421
JR
3456
3457 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
3458 Fixed bug in writing end of set region.
3459
b2e8018f
CF
34602002-06-10 Christopher Faylor <cgf@redhat.com>
3461
3462 * libc/include/process.h: Remove cygwin-only sexec* declarations. Fix
3463 spawnve declaration.
3464
0953fe64
TF
34652002-06-06 Thomas Fitzsimmons <fitzsim@redhat.com>
3466
3467 * libm/common/s_fdim.c: New file.
3468 * libm/common/s_fma.c: Likewise.
3469 * libm/common/s_fmax.c: Likewise.
3470 * libm/common/s_fmin.c: Likewise.
3471 * libm/common/s_fpclassify.c: Likewise.
3472 * libm/common/s_lrint.c: Likewise.
3473 * libm/common/s_lround.c: Likewise.
3474 * libm/common/s_nearbyint.c: Likewise.
3475 * libm/common/s_remquo.c: Likewise.
3476 * libm/common/s_round.c: Likewise.
3477 * libm/common/s_scalbln.c: Likewise.
3478 * libm/common/s_signbit.c: Likewise.
3479 * libm/common/s_trunc.c: Likewise.
3480 * libm/common/sf_fdim.c: Likewise.
3481 * libm/common/sf_fma.c: Likewise.
3482 * libm/common/sf_fmax.c: Likewise.
3483 * libm/common/sf_fmin.c: Likewise.
3484 * libm/common/sf_lrint.c: Likewise.
3485 * libm/common/sf_lround.c: Likewise.
3486 * libm/common/sf_nearbyint.c: Likewise.
3487 * libm/common/sf_remquo.c: Likewise.
3488 * libm/common/sf_round.c: Likewise.
3489 * libm/common/sf_scalbln.c: Likewise.
3490 * libm/common/sf_trunc.c: Likewise.
3491 * libm/math/w_exp2.c: Likewise.
3492 * libm/math/w_tgamma.c: Likewise.
3493 * libm/math/wf_exp2.c: Likewise.
3494 * libm/math/wf_tgamma.c: Likewise.
3495 * libm/mathfp/s_exp2.c: Likewise.
3496 * libm/mathfp/s_tgamma.c: Likewise.
3497 * libm/mathfp/sf_exp2.c: Likewise.
3498 * libm/mathfp/sf_tgamma.c: Likewise.
3499 * libm/math/er_gamma.c: Fix return value.
3500 * libm/math/erf_gamma.c: Likewise.
3501 * libm/mathfp/er_gamma.c: Likewise.
3502 * libm/mathfp/erf_gamma.c: Likewise.
3503 * libc/include/math.h (!__STRICT_ANSI__): Include ISOC99-specific
3504 declarations and macros.
3505 Regenerated all Makefile.in, aclocal.m4 and configure files to
3506 use new libtool macros in top-level libtool.m4
3507
39e65e01
JJ
35082002-06-05 Jeff Johnston <jjohnstn@redhat.com>
3509
3510 * libc/include/string.h[__linux__]: Add strsignal prototype.
3511 * libc/include/sys/lock.h: New file with default locking support.
3512 * libc/include/sys/reent.h: Add signal buffer support for strsignal
3513 and psignal.
3514 * libc/posix/Makefile.am: Add support for readdir_r.c.
3515 * libc/posix/Makefile.in: Regenerated.
3516 * libc/posix/closedir.c: Add locking support and hash table cleanup.
3517 * libc/posix/opendir.c: Add lock support.
3518 * libc/posix/readdir.c: Ditto.
3519 * libc/posix/rewinddir.c: Ditto.
3520 * libc/posix/scandir.c: Ditto.
3521 * libc/posix/seekdir.c: Ditto.
3522 * libc/posix/telldir.c: Ditto plus add _cleanupdir routine to
3523 clean up leftover hash table entries.
3524 * libc/posix/readdir_r.c: New file.
3525 * libc/sys/linux/Makefile.am: Add psignal.c and strsignal.c support.
3526 * libc/sys/linux/Makefile.in: Regenerated.
3527 * libc/sys/linux/sys/dirent.h: Add dd_lock to DIR structure.
3528 * libc/sys/linux/sys/signal.h: Add psignal prototype.
3529 * libc/sys/linux/psignal.c: New file.
3530 * libc/sys/linux/strsignal.c: Ditto.
3531
cc890e89
CV
35322002-06-03 Corinna Vinschen <corinna@vinschen.de>
3533
3534 * libc/include/sys/types.h: Don't define dev_t when compiling for
3535 Cygwin.
3536
ea55e3f7
JJ
35372002-05-31 Jeff Johnston <jjohnstn@redhat.com>
3538
3539 * libc/sys/linux/Makefile.am: Add sig.c and sigaction.c. Also
3540 make siglist.inc dependent on sig.c instead of signal.c.
3541 * libc/sys/linux/Makefile.in: Regenerated.
3542 * libc/sys/linux/sig.c: Rename from signal.c and change code to
3543 use NSIG instead of _NSIG.
3544 * libc/sys/linux/sigaction.c: New file.
3545 * libc/sys/linux/signal.c: Changed to be linux signal() function
3546 so as to override regular newlib default signal.c.
ea55e3f7
JJ
3547 * libc/sys/linux/machine/i386/Makefile.am: Remove sigset.c.
3548 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
3549 * libc/sys/linux/machine/i386/sigset.c: Moved to linux main directory.
3550 * libc/sys/linux/sigset.c: Moved from machine/i386 directory.
3551 * libc/sys/linux/sys/signal.h: Redefine NSIG to _NSIG and override
3552 default linux sigset_t typedef by defining it equal to __sigset_t.
3553 * libc/unix/sigset.c: Add check so code isn't compiled on systems
3554 with a sigset_t that isn't implemented with a single int.
3555
9d362914
JJ
35562002-05-30 Jeff Johnston <jjohnstn@redhat.com>
3557
3558 * libc/sys/linux/Makefile.am: Add support for new files.
3559 * libc/sys/linux/Makefile.in: Regenerated.
3560 * libc/sys/linux/ids.c: Add __getuid weak alias for getuid.
3561 * libc/sys/linux/signal.c: Change to use real-time syscalls for
3562 sigsuspend, sigprocmask, and sigpending. Also remove sigaction as
3563 it is in a separate file now.
3564 * libc/sys/linux/machine/i386/Makefile.am
3565 * libc/sys/linux/machine/i386/Makefile.in
3566 * libc/sys/linux/sys/signal.h: Add include of <bits/signum.h>.
3567 * libc/sys/linux/sigaction.c: New file.
3568 * libc/sys/linux/sigqueue.c: Ditto.
3569 * libc/sys/linux/sigwait.c: Ditto.
3570 * libc/sys/linux/machine/i386/sigaction.c: Ditto.
3571 * libc/sys/linux/kernel_sigaction.h: Ditto.
3572
b1f07180
JJ
35732002-05-28 Jeff Johnston <jjohnstn@redhat.com>
3574
3575 * libc/sys/linux/Makefile.am: Add support for cfspeed.c and
3576 tcsendbrk.c.
3577 * libc/sys/linux/Makefile.in: Regenerated.
3578 * libc/sys/linux/termios.c: Add tcflow(), tcflush(),
3579 tcgetpgrp(), and tcsetpgrp() functions.
3580 * libc/sys/linux/sys/termios.h: Add include of machine/termios.h
3581 to get __MAX_BAUD rate.
3582 * libc/sys/linux/machine/i386/include/termios.h: New file.
3583 * libc/include/machine/termios.h: Ditto.
3584 * libc/sys/linux/cfspeed.c: Ditto.
3585 * libc/sys/linux/tcsendbrk.c: Ditto.
3586
d29587b4
JJ
35872002-05-24 Jeff Johnston <jjohnstn@redhat.com>
3588
3589 * libc/include/string.h: Add strnlen and strerror_r prototypes.
3590 * libc/string/Makefile.am: Add strnlen.c and strerror_r.c support.
3591 * libc/string/Makefile.in: Regenerated.
3592 * libc/string/strerror_r.c: New file.
3593 * libc/string/strnlen.c: New file.
3594 * libc/sys/linux/Makefile.am: Add rename.c.
3595 * libc/sys/linux/Makefile.in: Regenerated.
3596 * libc/sys/linux/rename.c: New file to override default rename.
3597
9a292385
TF
35982002-05-24 Thomas Fitzsimmons <fitzsim@redhat.com>
3599
3600 * libc/sys/linux/sys/cdefs.h: Add __weak_reference macros.
3601 * libc/sys/linux/sys/time.h: Add conversion macros.
3602 * libc/sys/linux/sys/types.h: Add FD_ macros. Include <bits/types.h>.
3603 * libc/sys/linux/ids.c: Add setresuid and syslog syscalls.
3604 * libc/sys/linux/gethostname.c: New file.
3605 * libc/sys/linux/seteuid.c: New file.
3606 * libc/sys/linux/sysctl.c: New file.
3607
7a364eb3
JJ
36082002-05-23 Jeff Johnston <jjohnstn@redhat.com>
3609
3610 * libc/string/Makefile.am: Add support for strsep.c.
3611 * libc/string/Makefile.in: Regenerated.
3612 * libc/string/strsep.c: New file.
3613 * libc/string/strtok.c: Change to call __strtok_r service routine.
3614 * libc/string/strtok_r.c: Add __strtok_r routine which takes
3615 additional flag parameter regarding whether to skip leading delimeters.
3616 Change strtok_r to call __strtok_r.
3617
164ee5b0
JJ
36182002-05-23 Gareth Pearce <tilps@hotmail.com>
3619
3620 * libc/stdio/Makefile.am: Modify to add setbuffer.c and setlinebuf.c.
3621 * libc/stdio/Makefile.in: Regenerated.
3622 * libc/stdio/setbuffer.c: New file.
3623 * libc/stdio/setlinebuf.c: New file.
3624
f6b2b567
JJ
36252002-05-23 Jeff Johnston <jjohnstn@redhat.com>
3626
3627 * libc/sys/linux/Makefile.am: Add resource.c.
3628 * libc/sys/linux/Makefile.in: Regenerated.
3629 * libc/sys/linux/resource.c: New file.
3630 * libc/sys/linux/time.c: Add settimeofday, getitimer, and setitimer.
3631 * libc/sys/linux/machine/i386/Makefile.am: Remove syscalls.c.
3632 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
3633 * libc/sys/linux/machine/i386/syscalls.c: Removed as functions
3634 are now found in libc/sys/linux/resource.c.
3635
afe56517
JJ
36362002-05-23 Jeff Johnston <jjohnstn@redhat.com>
3637
3638 * libc/include/string.h (bcmp, bcopy, bzero): Change prototypes
3639 to use void * pointers and comply with Single Unix spec.
3640 * libc/string/bcmp.c: Change to use void * instead of char *.
3641 * libc/string/bcopy.c: Ditto.
3642 * libc/string/bzero.c: Ditto.
3643
7736feb2
JJ
36442002-05-22 Jeff Johnston <jjohnstn@redhat.com>
3645
3646 * libc/sys/linux/shm_open.c: New file.
3647 * libc/sys/linux/shm_unlink.c: Ditto.
3648 * libc/sys/linux/Makefile.am: Add support for shm_open.c and
3649 shm_unlink.c.
3650 * libc/sys/linux/Makefile.in: Regenerated.
3651 * libc/sys/linux/sys/types.h: Add some additional checks to see
3652 if clock_t or time_t is already defined.
3653
19f111bd
JJ
36542002-05-22 Jeff Johnston <jjohnstn@redhat.com>
3655
3656 * Makefile.am: Don't pass $toollibdir down directly in
3657 AM_MAKEFLAGS as it causes all multilibs to use the same toollibdir.
3658 Pass it under the name: top_toollibdir.
3659 * Makefile.in: Regenerated.
3660
c811b1ee
CV
36612002-05-22 Corinna Vinschen <vinschen@redhat.com>
3662
3663 * libc/include/sys/types.h: Revert previous patch.
3664
2b43ad33
CV
36652002-05-22 Corinna Vinschen <vinschen@redhat.com>
3666
3667 * libc/include/sys/types.h: Include cygwin/types.h always under
3668 Cygwin, not only if _POSIX_THREADS is defined.
3669
dd671cde
TF
36702002-05-21 Dhananjay Deshpande <dhananjayd@kpit.com>
3671
3672 * configure.host: Specify sys_dir=h8300hms for h8300-*-coff* target.
3673
5e2cbfb6
JJ
36742002-05-17 Jeff Johnston <jjohnstn@redhat.com>
3675
3676 * Makefile.am: Copy and install headers from sys/machine/include
3677 directory. Also pass $toollibdir to lower-level directories.
3678 * Makefile.in: Regenerated.
3679 * libc/include/stdio.h[!_REENT_ONLY]: Change stdin, stdout, and
3680 stderr to use _REENT macro instead of _impure_ptr directly.
3681 * libc/include/sys/config.h[__i386__][__linux__]: Define
3682 __DYNAMIC_REENT__.
3683 * libc/include/sys/reent.h[!_REENT_ONLY]: Change _REENT macro to be
3684 call to __getreent() function if !__SINGLE_THREAD__ and
3685 __DYNAMIC_REENT__ is set.
3686 * libc/reent/Makefile.am: Add support for getreent.c.
3687 * libc/reent/Makefile.in: Regenerated.
3688 * libc/string/strerror.c: Add check if EOPNOTSUPP and ENOTSUP are same.
3689 * libc/sys/linux/Makefile.am: Add support for new files.
3690 * libc/sys/linux/configure.in: Add $EXTRA_DIRS variable.
3691 * libc/sys/linux/Makefile.in: Regenerated.
3692 * libc/sys/linux/configure: Ditto.
3693 * libc/sys/linux/io.c: Add poll syscall. Also weak-alias
3694 __close, __read, __write, __poll, __open, __lseek, __fcntl from
3695 their __libc_ counterparts.
3696 * libc/sys/linux/io64.c: Add __libc_ prefix to lseek64 and open64
3697 and weak-alias to regular names.
3698 * libc/sys/linux/pread64.c: Rename to __libc_pread64 and weak-alias
3699 to pread64 and __pread64.
3700 * libc/sys/linux/process.c: Weak_alias __libc_getpid to __getpid.
3701 * libc/sys/linux/pwrite64.c: Rename to __libc_pwrite64 and
3702 weak-alias to pwrite64.
3703 * libc/sys/linux/sched.c: Weak-alias __libc_sched_getparam,
3704 __libc_sched_getscheduler, __libc_sched_get_priority_max,
3705 __libc_sched_get_priority_min, and __libc_sched_setschedule to
3706 name with __ instead of __libc_.
3707 * libc/sys/linux/siglongjmp.c: Include <machine/weakalias.h>.
3708 Rename siglongjmp to __libc_siglongjmp and weak-alias to siglongjmp.
3709 Call __libc_longjmp instead of longjmp, from __libc_siglongjmp.
3710 * libc/sys/linux/signal.c: Rename raise to __libc_raise and weak-alias
3711 to raise.
3712 * libc/sys/linux/socket.c: Weak-alias __libc_connect to __connect and
3713 __libc_send to __send.
3714 * libc/sys/linux/time.c: Weak-alias __libc_gettimeofday to
3715 __gettimeofday.
3716 * libc/sys/linux/wait.c: Rename wait to __libc_wait and weak-alias
3717 it to wait. Rename wait3 to __libc_wait3 and weak-alias it to wait3.
3718 * libc/sys/linux/include/setjmp.h: Use __jmp_buf in sigjmp_buf
3719 type and typedef __jmp_buf to jmp_buf.
3720 * libc/sys/linux/machine/i386/Makefile.am: Add syscalls.c and
3721 setjmp.S.
3722 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
3723 * libc/sys/linux/machine/i386/crt0.c: Add support to clear .bss
3724 section.
3725 * libc/sys/linux/machine/i386/socketcall.h: Change to use __libc_
3726 prefix for function macros and then use weak_alias() to regular names.
3727 * libc/sys/linux/machine/i386/syscall.h: Ditto.
3728 * libc/sys/linux/sys/errno.h: Define EOPNOTSUP to be ENOTSUP.
3729 * libc/sys/linux/sys/stdio.h: Define _flockfile and _funlockfile
3730 to be flockfile() and funlockfile() respectively.
3731 * libc/sys/linux/sys/types.h
3732 * libc/reent/getreent.c: New file.
3733 * libc/sys/linux/flockfile.c: Ditto.
3734 * libc/sys/linux/funlockfile.c: Ditto.
3735 * libc/sys/linux/getreent.c: Ditto.
3736 * libc/sys/linux/pread.c: Ditto.
3737 * libc/sys/linux/pwrite.c: Ditto.
3738 * libc/sys/linux/raise.c: Ditto.
3739 * libc/sys/linux/system.c: Ditto.
3740 * libc/sys/linux/tcdrain.c: Ditto.
3741 * libc/sys/linux/machine/i386/i386mach.h: Ditto.
3742 * libc/sys/linux/machine/i386/setjmp.S: Ditto.
3743 * libc/sys/linux/machine/i386/syscalls.c: Ditto.
3744 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
3745 * libc/sys/linux/machine/i386/include/setjmp.h: Ditto.
3746
7fc85bd1
TF
37472002-05-14 Dhananjay Deshpande <dhananjayd@kpit.com>
3748
3749 * newlib/libc/sys/h8300hms/Makeile.am (lib_a_SOURCES): Add read.c.
3750 * newlib/libc/sys/h8300hms/read.c: New file. Magic trap 0xC8 for sim.
3751 * newlib/libc/sys/h8300hms/syscalls.c: Move _read() to read.c.
3752 * newlib/libs/sys/h8300hms/sys/syscall.h: New file.
3753
6935231f 3754Thu May 16 17:24:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
d7a2f413
JR
3755
3756 * libc/machine/sh/strcpy.S (strcpy): Replace LITTLE_ENDIAN with
6935231f
JR
3757 __LITTLE_ENDIAN__. make sure r0 has right value at first loop
3758 exit point.
d7a2f413 3759
3a6cb01b
TF
37602002-05-15 Thomas Fitzsimmons <fitzsim@redhat.com>
3761
a68fa571
TF
3762 * testsuite/lib/newlib.exp: Add newlib_include_flags to compile
3763 options when testing natively on i[3456]86-*-linux.
3764
3a6cb01b
TF
3765 * testsuite/lib/checkoutput.exp (newlib_check_output): Output
3766 only one pass or fail per test file. Trim \r's from output
3767 values received from test programs. Remove support for named
3768 tests.
3769 * testsuite/newlib.locale/UTF-8.exp: Update to support new
3770 newlib_check_output behaviour.
3771 * testsuite/newlib.locale/UTF-8.c: Likewise.
3772
dc824ef7
JJ
37732002-05-15 Jeff Johnston <jjohnstn@redhat.com>
3774
3775 * libc/include/stdlib.h: Add on_exit prototype.
3776 * libc/include/sys/reent.h (struct _atexit): Add argument array
3777 and bits to track type of exit routine to support both on_exit
3778 and atexit.
3779 (_REENT_INIT_PTR): Add missing fields that won't be zeroed out
3780 by default and change the setting of the atexit structure.
3781 (_REENT_INIT)[!_REENT_SMALL]: Remove extraneous end brace.
3782 * libc/stdlib/on_exit.c: New file.
3783 * libc/stdlib/Makefile.am: Add support for on_exit.
3784 * libc/stdlib/Makefile.in: Regenerated.
3785 * libc/stdlib/atexit.c: Change to initialize types field.
3786 * libc/stdlib/exit.c: Change to look at types field for each
3787 exit routine and either call an atexit-style or an on_exit-style
3788 routine accordingly.
3789
48d91b4a
JJ
37902002-05-13 Jeff Johnston <jjohnstn@redhat.com>
3791
3792 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Don't
3793 allow v specifier with n or L specifiers. For vector c format,
3794 move tmp declaration to the top.
3795
024739eb
JJ
37962002-05-13 Jeff Johnston <jjohnstn@redhat.com>
3797
3798 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Restore
3799 the original format specifier when looping for vectors to compensate
3800 for any changes made in vector %g format processing.
3801 Also add syntax checking for various invalid scenarios
3802 involving vector format extensions.
3803 * libc/machine/powerpc/vfscanf.c(__VFSCANF_R)[__ALTIVEC__]: Fix
3804 return code setting for vector formats. Also treat vector
3805 separator mismatch as a match error instead of an input error.
3806 Perform some syntax checking for vector formats.
3807
7d2ce898
TF
38082002-05-10 Mark Bradshaw <bradshaw@staff.crosswalk.com>
3809
3810 * libc/include/string.h (!__STRICT_ANSI__): Add strlcat and strlcpy.
3811 * libc/string/Makefile.am: Add strlcat.c and strlcpy.c.
3812 * libc/string/strlcat.c: New file.
3813 * libc/string/strlcpy.c: New file.
3814
809b6ce7
JJ
38152002-05-10 Jeff Johnston <jjohnstn@redhat.com>
3816
3817 * libc/string/strchr.c: Fix comment typo.
3818
76490806
TF
38192002-05-08 Thomas Fitzsimmons <fitzsim@redhat.com>
3820
0c048a9a
TF
3821 * acinclude.m4: Add support for --enable-newlib-multithread.
3822 * configure.host (newlib_cflags): Add -D__SINGLE_THREAD__ if
3823 --enable-newlib-multithread=no.
3824
76490806
TF
3825 * libc/stdio/getc_u.c: New file.
3826 * libc/stdio/getchar_u.c: New file.
3827 * libc/stdio/putc_u.c: New file.
3828 * libc/stdio/putchar_u.c: New file.
3829 * libc/include/stdio.h: Add declarations for getc_unlocked,
3830 getchar_unlocked, putc_unlocked and putchar_unlocked.
3831 * libc/stdio/Makefile.am (LIB_SOURCES): Add new files.
3832 (CHEWOUT_FILES): Add new files' .def's.
3833 * libc/stdio/putchar.c (_putchar_r): Replace __sputc with putc.
3834
96bff22c
JR
3835Wed May 8 17:47:35 2002 J"orn Rennecke <joern.rennecke@superh.com>
3836
3837 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
3838 Also handle as single quad word when destination ends at last
3839 byte of first quad word. Fix byte selection in single quad code.
3840
e71372fa
TF
38412002-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
3842
3843 * libc/include/sys/stdio.h: New file.
3844 * libc/sys/linux/sys/stdio.h: New file.
3845 * libc/include/stdio.h: Add declarations for flockfile,
3846 ftrylockfile, and funlockfile. Include <sys/stdio.h>.
3847 * libc/stdio/clearerr.c: Add file locking.
3848 * libc/stdio/fclose.c: Likewise.
3849 * libc/stdio/feof.c: Likewise.
3850 * libc/stdio/ferror.c: Likewise.
3851 * libc/stdio/fflush.c: Likewise.
3852 * libc/stdio/fgetc.c: Likewise.
3853 * libc/stdio/fgetpos.c: Likewise.
3854 * libc/stdio/fgets.c: Likewise.
3855 * libc/stdio/fileno.c: Likewise.
3856 * libc/stdio/fputc.c: Likewise.
3857 * libc/stdio/fputs.c: Likewise.
3858 * libc/stdio/fread.c: Likewise.
3859 * libc/stdio/freopen.c: Likewise.
3860 * libc/stdio/fseek.c: Likewise.
3861 * libc/stdio/ftell.c: Likewise.
3862 * libc/stdio/fwrite.c: Likewise.
3863 * libc/stdio/getc.c: Likewise.
3864 * libc/stdio/putc.c: Likewise.
3865 * libc/stdio/setvbuf.c: Likewise.
3866 * libc/stdio/ungetc.c: Likewise.
3867 * libc/stdio/vfprintf.c: Likewise.
3868
a03790e4
JJ
38692002-05-06 Jeff Johnston <jjohnstn@redhat.com>
3870
60b2107c
TF
3871 * libc/machine/powerpc/vfprintf.c[__ALTIVEC__]: Add vector
3872 support for 'p' format. Fix code to print bytes for vector
3873 integer formats that do not specify 'h' or 'l'.
3874 * libc/machine/powerpc/vfscanf.c[__ALTIVEC__]: Add vector support
3875 for 'p' specifier. Fix code to scan 16 bytes for vector integer
3876 formats that do not specify 'h' or 'l'.
3877
3878 * libc/include/stdlib.h (a64l, l64a, _l64a_r): Added prototypes.
3879
9c7d6a9d
TF
38802002-05-06 Nick Clifton <nickc@cambridge.redhat.com>
3881
3882 * libc/sys/arm/syscalls.c (_rename): Add parameter names.
3883 (_sbrk): Add cast of return value.
3884
c33c3635
JJ
38852002-05-06 Jeff Johnston <jjohnstn@redhat.com>
3886
3887 * libc/include/sys/reent.h (_l64a_buf): New reentrant area.
3888 (_REENT_L64A_BUF): New macro for accessing area.
3889 * libc/stdlib/Makefile.am: Add a64l.c and l64a.c.
3890 * libc/stdlib/Makefile.in: Regenerated.
3891 * libc/stdlib/a64l.c: New file.
3892 * libc/stdlib/l64a.c: New file.
3893
f78e59a8
JJ
38942002-05-06 Jeff Johnston <jjohnstn@redhat.com>
3895
3896 * libc/unix/pread.c: Fix typo for _pread_r.
3897 * libc/unix/pwrite.c: Fix type for _pwrite_r.
3898 * libc/sys/linux/pread64.c: Fix typo for read syscall.
3899 * libc/sys/linux/pwrite64.c: Fix typo for write syscall.
3900
4b3f6588
CF
39012002-05-03 Christopher Faylor <cgf@redhat.com>
3902
3903 * libc/include/sys/unistd.h: Define getdomainname under cygwin.
3904
e911832c
TF
39052002-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
3906
3907 * configure.in (CC_FOR_NEWLIB): Change -isystem's to -I's.
3908
0d0fdc8d
CF
39092002-05-01 Christopher Faylor <cgf@redhat.com>
3910
3911 * utmp.h: Define more UNIX constants.
3912
1e997c56
TF
39132002-05-01 Thomas Fitzsimmons <fitzsim@redhat.com>
3914
0717f01c
TF
3915 * Makefile.am: Add support for checking multilibs.
3916
09841445
TF
3917 * libc/Makefile.am (SUBLIBS): Add LIBC_EXTRA_LIB.
3918 (SUBDEFS): Add LIBC_EXTRA_DEF.
3919 * libc/configure.in (LIBC_EXTRA_LIB): New variable.
3920 (LIBC_EXTRA_DEF): Likewise.
3921 (extra_dir): Likewise.
3922 * libc/machine/xscale/machine: New directory.
3923 * libc/machine/xscale/machine/profile.h: New file.
3924
1e997c56
TF
3925 * Makefile.am (site.exp): Remove newlib_cflags. Add
3926 multibuildtop.
3927 * testsuite/newlib.locale/UTF-8.c: Change fprintf's to printf's.
3928 * testsuite/lib/flags.exp: New file.
3929 * testsuite/lib/newlib.exp: Load flags.exp.
3930 (newlib_target_compile): Remove libgloss directory references.
3931 (newlib_init): Remove newlib_cflags references.
3932
4cf4f010
TF
39332002-04-30 Thomas Fitzsimmons <fitzsim@redhat.com>
3934
f6bdb6f9
TF
3935 * testsuite/lib/newlib.exp (newlib_target_compile): Change
3936 method of finding libgloss_target_dir.
3937
4cf4f010
TF
3938 * Makefile.am (site.exp): Change host_alias, host_triplet,
3939 target_alias, target_triplet to refer to gcc's host and target
3940 variables (newlib's build and host variables).
3941 * testsuite/lib/newlib.exp (newlib_init): Change build
3942 references to host references, host references to target
3943 references to reflect Makefile.am changes.
3944 (newlib_target_compile): Likewise.
3945 (newlib_finish): Likewise.
3946
83096ae8
JJ
39472002-04-29 Jeff Johnston <jjohnstn@redhat.com>
3948
3949 * libc/sys/linux/io64.c (fstat64, lstat64): New syscalls added.
3950
822afa53
JL
39512002-04-29 Jonathan Larmour <jlarmour@redhat.com>
3952
3953 * libc/sys/arm/syscalls.c (_rename): New function. Just a stub.
3954 (_system): New function. Ditto.
3955 * libc/stdlib/system.c (_system_r): Call _system if HAVE_SYSTEM.
3956 * configure.host: define HAVE_SYSTEM and HAVE_RENAME for xscale
3957 targets.
3958
29798f0d
JJ
39592002-04-29 Jeff Johnston <jjohnstn@redhat.com>
3960
3961 * libc/include/sys/unistd.h (pread, pwrite): Added prototypes.
3962 * libc/unix/Makefile.am: Add pread.c and pwrite.c.
3963 * libc/sys/linux/Makefile.am: Add pread64.c and pwrite64.c.
3964 * libc/sys/linux/Makefile.in: Regenerated.
3965 * libc/unix/Makefile.in: Ditto.
3966 * libc/sys/linux/pread64.c: New file.
3967 * libc/sys/linux/pwrite64.c: Ditto.
3968 * libc/unix/pread.c: Ditto.
3969 * libc/unix/pwrite.c: Ditto.
3970
557856bd
JJ
39712002-04-26 Jeff Johnston <jjohnstn@redhat.com>
3972
3973 * libc/sys/linux/Makefile.am: Add io64.c.
3974 * libc/sys/linux/Makefile.in: Regenerated.
3975 * libc/sys/linux/io.c(mkfifo, fsync, fdatasync): Added syscalls.
3976 * libc/sys/linux/signal.c (sigwaitinfo, sigtimedwait): Ditto.
3977 * libc/sys/linux/io64.c: New file.
3978
7b2b12d5
JJ
39792002-04-26 Jeff Johnston <jjohnstn@redhat.com>
3980
3981 * configure.in (CC_FOR_NEWLIB): New variable that
3982 bases on $(CC) and adds targ-include and libc/include as
3983 -isystem directives if they are not already part of $(CC).
3984 * Makefile.am (AM_MAKEFLAGS): Change setting of CC to equal
3985 $(CC_FOR_NEWLIB).
3986 * configure: Regenerated.
3987 * Makefile.in: Ditto.
3988
c62adacc
JJ
39892002-04-25 Jeff Johnston <jjohnstn@redhat.com>
3990
3991 * libc/sys/linux/Makefile.am: Add support for sched.c.
3992 * libc/sys/linux/Makefile.in: Regenerated.
3993 * libc/sys/linux/sched.c: New file.
3994 * libc/sys/linux/sys/types.h: Add struct timespec.
3995
217ad4a0
TF
39962002-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
3997
3998 * configure.in (CC_FOR_BUILD): Set to gcc whether
3999 cross-compiling or not.
4000 (CC): Add -isystem's for targ-include and libc/include when they
4001 do not already appear in CC.
4002
eaa75b70
TF
40032002-04-24 Thomas Fitzsimmons <fitzsim@redhat.com>
4004
4005 * Makefile.am (check-DEJAGNU): New target.
4006 (site.exp): Likewise.
4007 * acinclude.m4 (NEWLIB_CONFIGURE): Replace AC_CANONICAL_HOST
4008 with AC_CANONICAL_SYSTEM. Remove AC_CANONICAL_BUILD.
4009 * libc/locale/locale.c (_setlocale_r): Add UTF-8 support.
4010 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Likewise.
4011 * libc/stdlib/wctomb_r.c (_wctomb_r): Likewise.
4012 * testsuite: New directory.
4013 * testsuite/config: Likewise.
4014 * testsuite/lib: Likewise.
4015 * testsuite/newlib.locale: Likewise.
4016 * testsuite/newlib.string: Likewise.
4017 * testsuite/config/default.exp: New file.
4018 * testsuite/lib/checkoutput.exp: New file.
4019 * testsuite/lib/newlib.exp: New file.
4020 * testsuite/lib/passfail.exp: New file.
4021 * testsuite/newlib.locale/UTF-8.c: New file.
4022 * testsuite/newlib.locale/UTF-8.exp: New file.
4023 * testsuite/newlib.locale/locale.exp: New file.
4024 * testsuite/newlib.string/string.exp: New file.
4025 * testsuite/newlib.string/tstring.c: New file.
4026
b9f9f699
JJ
40272002-04-23 Jeff Johnston <jjohnstn@redhat.com>
4028
4029 * libc/include/machine/types.h (__pid_t, __off_t, __loff_t): Added.
4030 * libc/sys/linux/Makefile.am: Add support for mmap.c.
4031 * libc/sys/linux/Makefile.in: Regenerated.
4032 * libc/sys/linux/mmap.c: New file.
4033 * libc/sys/linux/machine/i386/syscall.h: Add _syscall6 macro.
4034 * libc/sys/linux/sys/types.h (pid_t, off_t, loff_t): Added.
4035
7394edbb
TF
40362002-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
4037
4038 * acinclude.m4 (newlib_cflags): Remove include directories that
4039 are already specified in the top-level configure.in's FLAGS_FOR_TARGET.
4040
b9f9f699 40412002-04-19 Bill Siegmund <ctc-dsl@pacbell.net>
59be2290
JJ
4042
4043 * libc/machine/xscale/memchr.c: Don't use multi-line strings.
4044 * libc/machine/xscale/memcmp.c: Ditto.
4045 * libc/machine/xscale/memcpy.c: Ditto.
4046 * libc/machine/xscale/memmove.c: Ditto.
4047 * libc/machine/xscale/memset.c: Ditto.
4048 * libc/machine/xscale/strchr.c: Ditto.
4049 * libc/machine/xscale/strcmp.c: Ditto.
4050 * libc/machine/xscale/strcpy.c: Ditto.
4051 * libc/machine/xscale/strlen.c: Ditto.
4052
2dd4c4dc
JJ
40532002-04-19 Alexandre Oliva <aoliva@redhat.com>
4054
4055 * libc/include/sys/config.h: Remove include of <limits.h>.
4056 (__INT_MAX__, __LONG_MAX__): Define like GCC's limits.h would
4057 define INT_MAX and LONG_MAX. Use them in tests.
4058
0d844014
JJ
40592002-04-19 Jeff Johnston <jjohnstn@redhat.com>
4060
4061 * configure.host: Add support for powerpc-eabialtivec*.
4062 * libc/include/malloc.h: Add include of <machine/malloc.h>.
4063 * libc/include/stdlib.h: Add include of <machine/stdlib.h>.
4064 * libc/include/machine/malloc.h: New file.
4065 * libc/include/machine/stdlib.h: Ditto.
4066 * libc/include/machine/setjmp.h: Add support for powerpc altivec.
4067 * libc/machine/powerpc/Makefile.am: Add conditional objects and
4068 sources based on configuration.
4069 * libc/machine/powerpc/Makefile.in: Regenerated.
4070 * libc/machine/powerpc/configure: Ditto.
4071 * libc/machine/powerpc/configure.in: Add check for
4072 powerpc-eabialtivec* in which case add in additional source files.
4073 * libc/machine/powerpc/setjmp.S: Add altivec support.
4074 * libc/machine/powerpc/vec_calloc.c: New file.
4075 * libc/machine/powerpc/vec_free.c: Ditto.
4076 * libc/machine/powerpc/vec_malloc.c: Ditto.
4077 * libc/machine/powerpc/vec_mallocr.c: Ditto.
4078 * libc/machine/powerpc/vec_realloc.c: Ditto.
4079 * libc/machine/powerpc/machine/malloc.h: Ditto.
4080 * libc/machine/powerpc/machine/stdlib.h: Ditto.
4081 * libc/machine/powerpc/vfprintf.c: New file that is vfprintf.c
4082 with added altivec format specifiers.
4083 * libc/machine/powerpc/vfscanf.c: New file that is vfscanf.c with
4084 added altivec format specifiers.
4085
d413aadc
JS
40862002-04-19 Joel Sherrill <joel@OARcorp.com>
4087
4088 * libs/sys/rtems/crt0.c: Satisfy gcc's references to libc functions
4089 while autoconf is trying to link main(){}.
4090
27193895
JJ
40912002-04-17 Jeff Johnston <jjohnstn@redhat.com>
4092
4093 * libc/sys/linux/signal.c: Remove include of <bits/sigset.h>.
4094 * libc/sys/linux/sys/signal.h: Add include of <bits/sigset.h>.
4095
10d00216
JJ
40962002-04-17 Jeff Johnston <jjohnstn@redhat.com>
4097
6b0f808e
JJ
4098 * libc/time/time.tex: Add tzset info.
4099
41002002-04-17 Jeff Johnston <jjohnstn@redhat.com>
4101
4102 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
4103 (strptime): Moved prototype to be within !__STRICT_ANSI__.
4104 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
4105 (tzname): Defined for all platforms.
4106 (daylight, timezone): Defined only for CYGWIN.
4107 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
4108 environment set up.
4109 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
4110 environment variable is set.
4111 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
4112 tzset_r.c.
4113 * libc/time/Makefile.in: Regenerated.
4114 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
4115 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
4116 * libc/time/lcltime_r.c (lcltime_r): Ditto.
4117 * libc/time/local.h: New local header file.
4118 * libc/time/mktime.c (mktime): Add timezone support.
4119 * libc/time/mktm_r.c: New file which is the common engine
4120 for gmtime_r and lcltime_r. This code has timezone support.
4121 * libc/time/strftime.c (strftime): Add %Z timezone support.
4122 * libc/time/tzlock.c: New file containing timezone lock stubs.
4123 * libc/time/tzset.c: New file containing tzset() routine.
4124 * libc/time/tzset_r.c: New file containing _tzset_r and
4125 internal routine for calculating timezone changes for specified year.
4126
41272002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
4128
4129 * configure.in (CRT0_DIR): Set to libc/.
4130 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
4131 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
4132 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
4133 $(CRT1_DIR)/$(CRT1).
4134 * libc/machine/xstormy16/Makefile.in: Regenerated.
4135 * libc/machine/xstormy16/aclocal.m4: Regenerated.
4136 * libc/machine/xstormy16/configure: Regenerated.
4137
41382002-04-13 Alexandre Oliva <aoliva@redhat.com>
4139
4140 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
4141 fails, don't bail out, and try to correct next time.
4142
4143 * libc/include/sys/config.h: Include limits.h.
4144
41452002-04-12 Eric Norum <eric.norum@usask.com>
4146
4147 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
4148 routine to allow autoconf to determine that building executables
4149 for rtems works.
4150 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
4151 (rtems_gxx_mutex_once): Ditto.
4152
41532002-04-09 Tom Rix <trix@redhat.com>
4154
4155 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
4156
41572002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
4158
4159 * libc/include/time.h: Fix strptime declaration.
4160 * libc/time/Makefile.am: Add strptime.c.
4161 * libc/time/Makefile.in: Regenerated.
4162 * libc/time/strptime.c: New file.
4163
41642002-04-08 Jeff Johnston <jjohnstn@redhat.com>
4165
4166 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
4167 siglongjmp prototype, and sigsetjmp macro definition.
4168 * libc/sys/linux/siglongjmp.c: New file.
4169 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
4170 * libc/sys/linux/Makefile.in: Regenerated.
4171
41722002-04-04 Jeff Johnston <jjohnstn@redhat.com>
4173
4174 * Makefile.am: Add support for installing crt1.o if one exists.
4175 * configure.host: Specify crt1.o for linux.
4176 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
4177 * Makefile.in: Regenerated.
4178 * configure: Ditto.
4179 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
4180 Added for non-Cygwin, non-RTEMS configurations.
4181 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
4182 * libc/sys/linux/Makefile.in: Regenerated.
4183 * libc/sys/linux/crt1.c: New empty file to override one defaulted
4184 by gcc. This fixes problem with reconfiguring linux newlib build.
4185 * libc/sys/linux/sysconf.c: New file.
4186
41872002-04-03 Jeff Johnston <jjohnstn@redhat.com>
4188
4189 * configure.host: Add support for machine subdirectory of
4190 sys subdirectory.
4191 * configure.in: Add check for sys machine subdirectory.
4192 * Makefile.am: Ditto.
4193 * configure: Regenerated.
4194 * Makefile.in: Ditto.
4195 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
4196 * libc/sys/linux/sys/syscall.h: Ditto.
4197 * libc/sys/linux/sleep.c: New file.
4198 * libc/sys/linux/socket.c: Ditto.
4199 * libc/sys/linux/sockops.h: Ditto.
4200 * libc/sys/linux/stack.c: Ditto.
4201 * libc/sys/linux/usleep.c: Ditto.
4202 * libc/sys/linux/machine/Makefile.am: Ditto.
4203 * libc/sys/linux/machine/Makefile.in: Ditto.
4204 * libc/sys/linux/machine/aclocal.m4: Ditto.
4205 * libc/sys/linux/machine/configure: Ditto.
4206 * libc/sys/linux/machine/configure.in: Ditto.
4207 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
4208 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
4209 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
4210 * libc/sys/linux/machine/i386/configure: Ditto.
4211 * libc/sys/linux/machine/i386/configure.in: Ditto.
4212 * libc/sys/linux/machine/i386/crt0.c: Ditto.
4213 * libc/sys/linux/machine/i386/sigset.c: Ditto.
4214 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
4215 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
4216 * libc/sys/linux/machine/i386/syscall.h: Ditto.
4217 * libc/sys/linux/sys/select.h: Ditto.
4218 * libc/sys/linux/configure.in: Add support for machine directory.
4219 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
4220 * libc/sys/linux/Makefile.in: Regenerated.
4221 * libc/sys/linux/configure: Ditto.
4222 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
4223 * libc/sys/linux/inode.c: Ditto.
4224 * libc/sys/linux/linux.c: Ditto.
4225 * libc/sys/linux/process.c: Ditto.
4226 * libc/sys/linux/systat.c: Ditto.
4227 * libc/sys/linux/time.c: Ditto.
4228 * libc/sys/linux/wait.c: Ditto.
4229 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
4230 * libc/sys/linux/io.c: Change header plus add readv/writev.
4231 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
4232 use __sigsuspend syscall.
4233 * libc/sys/linux/select.c: Change header plus change select to
4234 use _newselect syscall.
4235 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
4236 used by glibc header files.
4237 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
4238 types.
4239
42402002-04-01 Jeff Johnston <jjohnstn@redhat.com>
4241
4242 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
4243 initializing a struct _reent that has been dynamically allocated.
4244 (_REENT_CHECK_MISC): New macro that checks _misc struct for
4245 _REENT_SMALL and does nothing otherwise.
4246 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
4247 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
4248 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
4249 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
4250 [_REENT_SMALL](struct _misc_reent): New structure containing
4251 miscellaneous reentrant areas needed by newlib.
4252 [_REENT_SMALL](struct _reent): Add _misc pointer.
4253 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
4254 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
4255 and _REENT_STRTOK_LAST macros.
4256 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
4257 and _REENT_MBLEN_STATE macros.
4258 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
4259 and _REENT_MBTOWC_STATE macros.
4260 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
4261 and _REENT_WCTOMB_STATE macros.
4262
42632002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
4264
4265 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
4266
4267Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
4268
4269 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
4270
4271Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
4272
4273 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
4274 Store high part of leading bytes too.
4275
42762002-03-22 Richard Sandiford <rsandifo@redhat.com>
4277
4278 * libm/math/ef_hypot.c: Increase scale factor to 68.
4279
42802002-03-13 Alexandre Oliva <aoliva@redhat.com>
4281
4282 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
4283 error.
4284
42852002-03-12 Jeff Johnston <jjohnstn@redhat.com>
4286
4287 * libc/sys/go32/access.c: Change license to relaxed license
4288 used in identical file throughout newlib/libgloss.
4289
42902002-03-12 Richard Earnshaw <rearnsha@arm.com>
4291
4292 * libc/sys/arm/access.c: New file.
4293 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
4294 * libc/sys/arm/Makefile.in: Regenerate.
4295 * libc/sys/arm/syscalls.c (_stat): New function.
4296
42972002-03-11 Michael Meissner <meissner@redhat.com>
4298
4299 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
4300 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
4301 * libc/machine/mips/Makefile.in: Regenerate.
4302 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
4303 * libc/machine/mips/memset.c: Dito.
4304 * libc/machine/mips/strcmp.c: Dito.
4305 * libc/machine/mips/strlen.c: Dito.
4306 * libc/machine/mips/strncmp.c: Dito.
4307
43082002-03-06 Jeff Johnston <jjohnstn@redhat.com>
4309
4310 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
4311 object so it works for shared library or statici library.
43122002-04-17 Jeff Johnston <jjohnstn@redhat.com>
4313
10d00216
JJ
4314 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
4315 (strptime): Moved prototype to be within !__STRICT_ANSI__.
4316 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
4317 (tzname): Defined for all platforms.
4318 (daylight, timezone): Defined only for CYGWIN.
4319 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
4320 environment set up.
4321 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
4322 environment variable is set.
4323 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
4324 tzset_r.c.
4325 * libc/time/Makefile.in: Regenerated.
4326 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
4327 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
4328 * libc/time/lcltime_r.c (lcltime_r): Ditto.
4329 * libc/time/local.h: New local header file.
4330 * libc/time/mktime.c (mktime): Add timezone support.
4331 * libc/time/mktm_r.c: New file which is the common engine
4332 for gmtime_r and lcltime_r. This code has timezone support.
4333 * libc/time/strftime.c (strftime): Add %Z timezone support.
4334 * libc/time/tzlock.c: New file containing timezone lock stubs.
4335 * libc/time/tzset.c: New file containing tzset() routine.
4336 * libc/time/tzset_r.c: New file containing _tzset_r and
4337 internal routine for calculating timezone changes for specified year.
4338
5f1c13c6
TF
43392002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
4340
4341 * configure.in (CRT0_DIR): Set to libc/.
4342 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
4343 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
4344 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
4345 $(CRT1_DIR)/$(CRT1).
4346 * libc/machine/xstormy16/Makefile.in: Regenerated.
4347 * libc/machine/xstormy16/aclocal.m4: Regenerated.
4348 * libc/machine/xstormy16/configure: Regenerated.
4349
0cc261b1
AO
43502002-04-13 Alexandre Oliva <aoliva@redhat.com>
4351
2f3009bd
AO
4352 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
4353 fails, don't bail out, and try to correct next time.
4354
0cc261b1
AO
4355 * libc/include/sys/config.h: Include limits.h.
4356
26116455
JJ
43572002-04-12 Eric Norum <eric.norum@usask.com>
4358
4359 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
4360 routine to allow autoconf to determine that building executables
4361 for rtems works.
4362 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
4363 (rtems_gxx_mutex_once): Ditto.
4364
4608280d
TR
43652002-04-09 Tom Rix <trix@redhat.com>
4366
4367 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
4368
dea7e25c
JJ
43692002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
4370
4371 * libc/include/time.h: Fix strptime declaration.
4372 * libc/time/Makefile.am: Add strptime.c.
4373 * libc/time/Makefile.in: Regenerated.
4374 * libc/time/strptime.c: New file.
4375
c5ef1e95
JJ
43762002-04-08 Jeff Johnston <jjohnstn@redhat.com>
4377
4378 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
4379 siglongjmp prototype, and sigsetjmp macro definition.
4380 * libc/sys/linux/siglongjmp.c: New file.
4381 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
4382 * libc/sys/linux/Makefile.in: Regenerated.
4383
6e6cd5bd
JJ
43842002-04-04 Jeff Johnston <jjohnstn@redhat.com>
4385
4386 * Makefile.am: Add support for installing crt1.o if one exists.
4387 * configure.host: Specify crt1.o for linux.
4388 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
4389 * Makefile.in: Regenerated.
4390 * configure: Ditto.
4391 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
4392 Added for non-Cygwin, non-RTEMS configurations.
4393 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
4394 * libc/sys/linux/Makefile.in: Regenerated.
4395 * libc/sys/linux/crt1.c: New empty file to override one defaulted
4396 by gcc. This fixes problem with reconfiguring linux newlib build.
4397 * libc/sys/linux/sysconf.c: New file.
4398
fa4a16a1
JJ
43992002-04-03 Jeff Johnston <jjohnstn@redhat.com>
4400
4401 * configure.host: Add support for machine subdirectory of
4402 sys subdirectory.
4403 * configure.in: Add check for sys machine subdirectory.
4404 * Makefile.am: Ditto.
4405 * configure: Regenerated.
4406 * Makefile.in: Ditto.
4407 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
4408 * libc/sys/linux/sys/syscall.h: Ditto.
4409 * libc/sys/linux/sleep.c: New file.
4410 * libc/sys/linux/socket.c: Ditto.
4411 * libc/sys/linux/sockops.h: Ditto.
4412 * libc/sys/linux/stack.c: Ditto.
4413 * libc/sys/linux/usleep.c: Ditto.
4414 * libc/sys/linux/machine/Makefile.am: Ditto.
4415 * libc/sys/linux/machine/Makefile.in: Ditto.
4416 * libc/sys/linux/machine/aclocal.m4: Ditto.
4417 * libc/sys/linux/machine/configure: Ditto.
4418 * libc/sys/linux/machine/configure.in: Ditto.
4419 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
4420 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
4421 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
4422 * libc/sys/linux/machine/i386/configure: Ditto.
4423 * libc/sys/linux/machine/i386/configure.in: Ditto.
4424 * libc/sys/linux/machine/i386/crt0.c: Ditto.
4425 * libc/sys/linux/machine/i386/sigset.c: Ditto.
4426 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
4427 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
4428 * libc/sys/linux/machine/i386/syscall.h: Ditto.
4429 * libc/sys/linux/sys/select.h: Ditto.
4430 * libc/sys/linux/configure.in: Add support for machine directory.
4431 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
4432 * libc/sys/linux/Makefile.in: Regenerated.
4433 * libc/sys/linux/configure: Ditto.
4434 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
4435 * libc/sys/linux/inode.c: Ditto.
4436 * libc/sys/linux/linux.c: Ditto.
4437 * libc/sys/linux/process.c: Ditto.
4438 * libc/sys/linux/systat.c: Ditto.
4439 * libc/sys/linux/time.c: Ditto.
4440 * libc/sys/linux/wait.c: Ditto.
4441 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
4442 * libc/sys/linux/io.c: Change header plus add readv/writev.
4443 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
4444 use __sigsuspend syscall.
4445 * libc/sys/linux/select.c: Change header plus change select to
4446 use _newselect syscall.
4447 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
4448 used by glibc header files.
4449 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
4450 types.
4451
d4dca0e4
JJ
44522002-04-01 Jeff Johnston <jjohnstn@redhat.com>
4453
4454 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
4455 initializing a struct _reent that has been dynamically allocated.
4456 (_REENT_CHECK_MISC): New macro that checks _misc struct for
4457 _REENT_SMALL and does nothing otherwise.
4458 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
4459 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
4460 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
4461 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
4462 [_REENT_SMALL](struct _misc_reent): New structure containing
4463 miscellaneous reentrant areas needed by newlib.
4464 [_REENT_SMALL](struct _reent): Add _misc pointer.
4465 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
4466 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
4467 and _REENT_STRTOK_LAST macros.
4468 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
4469 and _REENT_MBLEN_STATE macros.
4470 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
4471 and _REENT_MBTOWC_STATE macros.
4472 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
4473 and _REENT_WCTOMB_STATE macros.
4474
54a7c6d2
JJ
44752002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
4476
4477 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
4478
c82479b1
CF
4479Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
4480
4481 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
4482
43ecf6e8
JR
4483Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
4484
4485 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
4486 Store high part of leading bytes too.
4487
a485d93f
RS
44882002-03-22 Richard Sandiford <rsandifo@redhat.com>
4489
4490 * libm/math/ef_hypot.c: Increase scale factor to 68.
4491
62a963ee
AO
44922002-03-13 Alexandre Oliva <aoliva@redhat.com>
4493
4494 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
4495 error.
4496
c53d8453
JJ
44972002-03-12 Jeff Johnston <jjohnstn@redhat.com>
4498
4499 * libc/sys/go32/access.c: Change license to relaxed license
4500 used in identical file throughout newlib/libgloss.
4501
d2a246ad
JJ
45022002-03-12 Richard Earnshaw <rearnsha@arm.com>
4503
4504 * libc/sys/arm/access.c: New file.
4505 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
4506 * libc/sys/arm/Makefile.in: Regenerate.
4507 * libc/sys/arm/syscalls.c (_stat): New function.
4508
eabb48d5
MM
45092002-03-11 Michael Meissner <meissner@redhat.com>
4510
4511 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
4512 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
4513 * libc/machine/mips/Makefile.in: Regenerate.
4514 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
4515 * libc/machine/mips/memset.c: Dito.
4516 * libc/machine/mips/strcmp.c: Dito.
4517 * libc/machine/mips/strlen.c: Dito.
4518 * libc/machine/mips/strncmp.c: Dito.
4519
2a606041
JJ
45202002-03-06 Jeff Johnston <jjohnstn@redhat.com>
4521
eabb48d5
MM
4522 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
4523 object so it works for shared library or statici library.
4524 * libc/machine/i386/Makefile.in: Regenerated.
2a606041 4525
55f26f11
JR
4526Wed Mar 6 10:24:26 2002 J"orn Rennecke <joern.rennecke@superh.com>
4527
96bff22c
JR
4528 * libc/machine/sh/Makefile.am (lib_a_SOURCES, SH64 case):
4529 Add memcpy.S, memset.S and strcpy.S.
4530 * libc/machine/sh/Makefile.in: Regenerate.
4531 * libc/machine/sh/asm.h (_ENTRY): Set SH5 alignment to 8 bytes.
55f26f11 4532 (SHHI, SHLO): Define.
96bff22c
JR
4533 * libc/machine/sh/memset.S: Add code for SH5.
4534 * libc/machine/sh/memset.S: Likewise.
4535 * libc/machine/sh/strcpy.S: Likewise.
55f26f11 4536
afecf2fa
JJ
45372002-02-27 Jeff Johnston <jjohnstn@redhat.com>
4538
4539 * configure.host: Add check for --disable-newlib-io-float
4540 configuration option and add -DNO_FLOATING_POINT to newlib cflags
4541 if appropriate.
4542 * acinclude.m4: Added --disable-newlib-io-float option.
4543 * aclocal.m4: Regenerated.
4544 * configure: Ditto.
4545 * doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
4546 * libc/*/aclocal.m4 libc/*/configure
4547 * libm/*/aclocal.m4 libm/*/configure: Ditto.
4548 * libc/stdio/vfprintf.c [!INTEGER_ONLY]: Only set FLOATING_POINT
4549 if NO_FLOATING_POINT flag is not defined.
4550
c1010a63
JJ
45512002-02-25 Jeff Johnston <jjohnstn@redhat.com>
4552
4553 * libc/include/sys/config.h: Add __extension__ in front of
4554 long long references.
4555
630c657e
CV
45562002-02-23 Corinna Vinschen <corinna@vinschen.de>
4557
4558 * libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin.
4559 (_stat): Ditto.
4560
59ee2e20
CV
45612002-02-23 Corinna Vinschen <corinna@vinschen.de>
4562
4563 * libc/sys/cygwin/sys/dirent.h (struct __DIR): Use __off32_t instead
4564 of off_t.
4565
2dd68dc2
NC
45662002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
4567
4568 * libc/machine/xscale/strchr.c (strchr): Add 'r1' to the list of
4569 clobbered registers.
4570
55500bf1
TF
45712002-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
4572
4573 * configure.host (newlib_cflags): When host is in m68* add
4574 -DCOMPACT_CTYPE.
4575
ba0173f0
JJ
45762002-02-15 Jeff Johnston <jjohnstn@redhat.com>
4577
4578 * libc/include/sys/config.h: Add definitions for
4579 __int16_t, __uint16_t, __int64_t, and __uint64_t.
4580
7b61d0c5
JJ
45812002-02-12 Hans-Peter Nilsson <hp@bitrange.com>
4582
4583 * libc/sys/mmixware/link.c: New.
4584 * libc/sys/mmixware/sys/syscall.h (TRAP1i, I3f): Make asm
4585 volatile.
4586 * libc/sys/mmixware/times.c (_times): Renamed from times.
4587 * libc/sys/mmixware/open.c (_open): Attempt to handle O_APPEND
4588 properly by reading previous contents, not through BinaryReadWrite.
4589 * libc/sys/mmixware/Makefile.am (lib_a_SOURCES): Add link.c
4590 * libc/sys/mmixware/Makefile.in: Regenerate.
4591
a505db65
CV
45922002-02-10 Corinna Vinschen <corinna@vinschen.de>
4593
4594 * libc/include/grp.h: Don't declare group functions when compiling
4595 Cygwin.
4596
f3b39c45
CV
45972002-02-09 Corinna Vinschen <corinna@vinschen.de>
4598
4599 * libc/include/grp.h: Include Cygwin specific header.
4600 * libc/include/sys/stat.h: Ditto. Don't define `struct stat'
4601 when compiling for Cygwin.
4602 * libc/include/sys/types.h: Don't define off_t, uid_t
4603 and gid_t when compiling for Cygwin.
4604
82b3ac56
MG
46052002-02-08 matthew green <mrg@redhat.com>
4606
4607 * libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): Allocate
4608 _REENT_EMERGENCY_SIZE, not sizeof(char *).
4609
9f25eed9
AO
46102002-02-08 Alexandre Oliva <aoliva@redhat.com>
4611
4612 Contribute sh64-elf.
4613 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
4614 * configure.host (newlib_cflags) [sh*-*-*]: Enable long long
4615 support in printf.
4616 2001-01-29 Alexandre Oliva <aoliva@redhat.com>
4617 * libc/machine/sh/setjmp.S [SH5]: Switch to SHmedia mode before
4618 any labels.
4619 2001-01-24 Alexandre Oliva <aoliva@redhat.com>
4620 * libc/sys/sh/trap.S (___trap34) [SH5]: Don't trash r2.
4621 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
4622 * libc/machine/sh/configure.in: Rework conditionals.
4623 * libc/machine/sh/Makefile.am: Likewise.
4624 * libc/machine/sh/configure, libc/machine/sh/Makefile.in: Rebuilt.
4625 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
4626 * configure.host: Match `sh*'.
4627 * libc/include/machine/setjmp.h: Define for SH5.
4628 * libc/machine/sh/configure.in: Detect SH5.
4629 * libc/machine/sh/configure: Rebuilt.
4630 * libc/machine/sh/Makefile.am: Use only setjmp.S for SH5.
4631 * libc/machine/sh/Makefile.in: Rebuilt.
4632 * libc/machine/sh/asm.h: Adjust for SH5.
4633 * libc/machine/sh/setjmp.S: Implement in SHmedia.
4634 * libc/sys/sh/crt0.S: Likewise.
4635 * libc/sys/sh/trap.S: Likewise.
4636
a2a405ae
JJ
46372002-02-07 Jeff Johnston <jjohnstn@redhat.com>
4638
4639 * libc/machine/i386/Makefile.am: (mach_add_src): Remove.
4640 (mach_add_obj): Conditionally set to setjmp.o or nothing.
4641 (LIB_SOURCES): Remove $(mach_add_src).
4642 (lib_a_LIBADD, lib_a_DEPENDENCIES): Add and set to $(mach_add_src).
4643 (lib_la_LIBADD, lib_la_DEPENDENCIES): Ditto.
4644 * libc/machine/i386/Makefile.in: Regenerate.
4645
27478365
JJ
46462002-02-05 Manik Raina <manik@cisco.com>
4647
994fa212 4648 * libc/misc/dprintf.c (parse_number): #if 0 unused function.
27478365
JJ
4649 * libc/stdlib/ldtoa.c (_ldcheck): Remove unused local variables
4650 s, p, k, and outstr.
4651 * libc/stdlib/dtoa.c (_dtoa_r): Initialize mlo.
4652
815a37f7
JJ
46532002-02-04 Jeff Johnston <jjohnstn@redhat.com>
4654
4655 * libc/include/sys/reent.h [(!_REENT_SMALL]: Add
4656 _REENT_CHECK_EMERGENCY macro.
4657
a4139c12
MG
46582002-02-03 matthew green <mrg@redhat.com>
4659
4660 * libc/reent/signgam.c (__signgam): Fix error in previous.
4661
8195aff7
MG
46622002-02-02 matthew green <mrg@redhat.com>
4663
4664 * libc/include/sys/config.h (_REENT_SMALL): Define for Xstormy16.
4665
4666 * libc/reent/reent.c (_reclaim_reent): Clean for _REENT_SMALL case.
4667 * libc/reent/reent.tex: Add blurb about _REENT_SMALL.
4668 * libc/include/sys/reent.h (struct _reent): Completely new version
4669 for _REENT_SMALL.
4670 (_REENT_INIT): New defines, different defintion depending on _REENT_SMALL.
4671 (_REENT_CHECK, _REENT_CHECK_TM): Likewise.
4672 (_REENT_CHECK_ASCTIME_BUF, _REENT_INIT_RAND48): Likewise.
4673 (_REENT_CHECK_RAND48, _REENT_INIT_MP, _REENT_CHECK_MP): Likewise.
4674 (_REENT_CHECK_EMERGENCY, _REENT_SIGNGAM, _REENT_RAND_NEXT): Likewise.
4675 (_REENT_RAND48_SEED, _REENT_RAND48_MULT, _REENT_RAND48_ADD): Likewise.
4676 (_REENT_MP_RESULT, _REENT_MP_RESULT_K, _REENT_MP_P5S): Likewise.
4677 (_REENT_MP_FREELIST, _REENT_ASCTIME_BUF, _REENT_TM): Likewise.
4678 (_REENT_EMERGENCY): Likewise.
4679
4680 * libc/include/sys/reent.h (struct __sFILE_fake): New struct, same as
4681 the start of the real __sFILE, used for stdin, stdout and stderr until
4682 they are setup properly.
4683 (struct __sFILE): Move location of _data in _REENT_SMALL case.
4684 * libc/stdio/findfp.c (__sinit): Rearrange for _REENT_SMALL case by
4685 allocated stdin, stdout and stderr.
4686 * libc/stdio/getchar.c (_getchar_r): Call _REENT_SMALL_CHECK_INIT().
4687 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Likewise.
4688 * libc/stdio/perror.c (_perror_r): Likewise.
4689 * libc/stdio/printf.c (printf, _printf_r): Likewise.
4690 * libc/stdio/putchar.c (_putchar_r): Likewise.
4691 * libc/stdio/puts.c (_puts_r): Likewise.
4692 * libc/stdio/scanf.c (scanf, _scanf_r): Likewise.
4693 * libc/stdio/vprintf.c (vprintf): Likewise.
4694 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Likewise.
4695
4696 * libc/stdio/tmpnam.c (_tmpnam_r): Use _REENT_EMERGENCY().
4697
4698 * libc/reent/reent.c (_wrapup_reent): Adjust for _REENT_SMALL atexit.
4699 * libc/include/sys/reent.h (_atexit): Limit atexit() entries to 32
4700 for _REENT_SMALL.
4701 * libc/stdlib/atexit.c (atexit): Rearrange for _REENT_SMALL case.
4702 * libc/stdlib/exit.c (exit): Rearrange for _REENT_SMALL case.
4703
4704 * libc/include/sys/reent.h (struct _rand48): Keep _rand_next if
4705 _REENT_SMALL.
4706 * libc/stdlib/drand48.c (_drand48_r): Call _REENT_CHECK_RAND48().
4707 * libc/stdlib/lcong48.c (_lcong48_r): Likewise.
4708 * libc/stdlib/lrand48.c (_lrand48_r): Likewise.
4709 * libc/stdlib/mrand48.c (_mrand48_r): Likewise.
4710 * libc/stdlib/rand48.c (__dorand48): Likewise.
4711 * libc/stdlib/seed48.c (_seed48_r): Likewise.
4712 * libc/stdlib/srand48.c (_srand48_r): Likewise.
4713 * libc/stdlib/rand48.h (__rand48_seed, __rand48_mult, __rand48_add): Define
4714 as _REENT_RAND48_SEED(), _REENT_RAND48_MULT() and _REENT_RAND48_ADD().
4715 * libc/stdlib/dtoa.c (_dtoa_r): Call _REENT_CHECK_MP(). Use
4716 _REENT_MP_RESULT() and _REENT_MP_RESULT_K().
4717 * libc/stdlib/ldtoa.c (_ldtoa_r): Likewise.
4718 * libc/stdlib/rand.c (srand): Use _REENT_RAND_NEXT().
4719 * libc/stdlib/rand.c (rand): Likewise.
4720
4721 * libc/stdlib/mallocr.c (malloc_stats): Call _REENT_SMALL_CHECK_INIT().
4722 * libc/stdlib/mstats.c (_mstats_r): Call _REENT_SMALL_CHECK_INIT().
4723
4724 * libc/stdlib/mprec.c (Balloc): Call _REENT_CHECK_MP. Use
4725 _REENT_MP_FREELIST() and _REENT_MP_P5S.
4726 * libc/include/sys/reent.h (struct _mprec): New structure.
4727
4728 * libc/include/sys/reent.h (struct _reent): Rename _strtok_last to
4729 _unused_strtok_last.
4730 * libc/string/strtok.c (strtok): Use a local static variable.
4731
4732 * libc/include/sys/reent.h (_REENT_ASCTIME_SIZE): New define.
4733 (_REENT_EMERGENCY_SIZE): Likewise.
4734 * libc/time/asctime.c (asctime): Call _REENT_CHECK_ASCTIME_BUF(). Use
4735 _REENT_ASCTIME_BUF().
4736 * libc/time/lcltime.c (localtime): Call _REENT_CHECK_TM(). Use
4737 _REENT_TM().
4738
4739 * libc/include/math.h (__singam_r): Use _REENT_SIGNGAM().
4740 * libc/reent/signgam.c (__signgam): Use _REENT_SIGNGAM().
4741 * libm/math/w_gamma.c (gamma): Use _REENT_SIGNGAM().
4742 * libm/math/w_lgamma.c (lgamma): Use _REENT_SIGNGAM().
4743 * libm/math/wf_gamma.c (gammaf): Use _REENT_SIGNGAM().
4744 * libm/math/wf_lgamma.c (lgammaf): Use _REENT_SIGNGAM().
4745
9c2e7642
GK
47462002-02-01 Geoffrey Keating <geoffk@redhat.com>
4747
4748 * configure.host (xstormy16): Don't use the generic malloc.
4749 * libc/machine/xstormy16/Makefile.am: Build tiny-malloc.
4750 * libc/machine/xstormy16/Makefile.in: Regenerate.
4751 * libc/machine/xstormy16/mallocr.c: New file.
4752 * libc/machine/xstormy16/tiny-malloc.c: New file.
4753
4bb6112f
TF
47542002-01-28 Thomas Fitzsimmons <fitzsim@redhat.com>
4755
4756 * libc/include/sys/signal.h [__CYGWIN__]: Issue error message
4757 when _CYGWIN_TYPES_H is not defined.
4758
8d345552
TF
47592002-01-24 Thomas Fitzsimmons <fitzsim@redhat.com>
4760
4761 * libc/include/sys/signal.h: Revert 2002-01-23 change.
4762
bcc49082
TF
47632002-01-23 Thomas Fitzsimmons <fitzsim@redhat.com>
4764
4765 * libc/include/sys/signal.h: Remove pthread_kill declaration
4766 when __CYGWIN__ is defined.
4767
13baedeb
CF
47682002-01-18 Mark Bradshaw <bradshaw@staff.crosswalk.com>
4769
4770 * libc/include/time.h: Add prototype for strptime for Cygwin.
4771
b2db0ebc
NC
47722002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
4773
ebf139fb
NC
4774 * libc/machine/xscale/memset.c (memset): Fix bug when len == 1 and
4775 dst was not word aligned.
4776
b2db0ebc
NC
4777 * libc/sys/arm/syscalls.c (_sbrk): Return -1 rather than aborting
4778 if too much memory is requested.
4779
798c015d
JJ
47802002-01-11 Jeff Johnston <jjohnstn@redhat.com>
4781
4782 * libc/stdio/vfscanf.c (__svfscanf_r): Change loop that
4783 reads blanks from the input file to break if EOF reached
4784 rather than end processing.
4785
46ad2ef4
JJ
47862002-01-07 Jeff Johnston <jjohnstn@redhat.com>
4787
4788 * MAINTAINERS: Change e-mail addresses to refer to redhat domain.
4789
86b06396
JJ
47902002-01-07 Alan Matsuoka <alanm@redhat.com>
4791
4792 * libc/include/machine/ieeefp.h: Configure d10v doubles to
4793 be 32 bits if __DOUBLE__ == 32 otherwise doubles are 64 bits.
4794 libc/include/sys/config.h: Ditto.
4795
423d5064
CV
47962001-12-28 Corinna Vinschen <corinna@vinschen.de>
4797
4798 * libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE.
4799
f6eff1c0
GK
48002001-12-22 Geoffrey Keating <geoffk@redhat.com>
4801 Catherine Moore <clm@redhat.com>
4802 Richard Henderson <rth@redhat.com>
4803 Corinna Vinschen <vinschen@redhat.com>
4804
4805 * configure.host: Add support for xstormy16.
4806 * libc/include/machine/ieeefp.h: Add support for xstormy16.
4807 * libc/include/machine/setjmp.h: Add support for xstormy16.
4808 * libc/include/sys/config.h: Add support for xstormy16.
4809 * libc/machine/xstormy16/Makefile.am: New file.
4810 * libc/machine/xstormy16/Makefile.in: New file.
4811 * libc/machine/xstormy16/aclocal.m4: New file.
4812 * libc/machine/xstormy16/configure: New file.
4813 * libc/machine/xstormy16/configure.in: New file.
4814 * libc/machine/xstormy16/setjmp.S: New file.
4815
1f93c55f
TF
48162001-12-19 Thomas Fitzsimmons <fitzsim@redhat.com>
4817
4818 * libm/machine/configure.in (HAVE_LIBM_MACHINE_DIR): New conditional.
4819 * libm/machine/Makefile.am [HAVE_LIBM_MACHINE_DIR] (LIBM_MACHLIB): New variable.
4820
13b918be
CV
48212001-12-19 Corinna Vinschen <corinna@vinschen.de>
4822
4823 * libm/machine/Makefile.am: Change rules to create correct lib.a.
4824 * libm/machine/Makefile.in: Regenerated through automake.
4825
08e857b4
TF
48262001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
4827
4828 * Makefile.am (DOCDIR): Force to empty string when doc
4829 directory is not present.
4830
60565ed6
TF
48312001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
4832
4833 * libc/machine/i386/f_*: Move to libm/machine/i386.
4834
48352001-12-18 Joel Sherrill <joel@OARcorp.com>
4836
4837 * libm/machine/Makefile.am: Add dummy doc stub so
4838 "make info" works.
4839
48402001-12-17 Joel Sherrill <joel@OARcorp.com>
4841
4842 * libc/include/sys/types.h (ino_t): RTEMS uses long also.
4843
fc504135
TF
48442001-12-17 Thomas Fitzsimmons <fitzsim@redhat.com>
4845
4846 * libc/stdlib/Makefile.am (LIB_COMPILE): Change to equal
4847 $(COMPILE) rather than $(CC).
4848 * libc/stdio/Makefile.am (LIB_COMPILE): Likewise.
4849 (vfprintf.$(oext)): Remove $(INCLUDES), made redundant by
4850 $(LIB_COMPILE) change.
4851 (vfiprintf.$(oext)): Likewise.
4852
efeae9a3
CV
48532001-12-17 Corinna Vinschen <vinschen@redhat.de>
4854
4855 * libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allow
4856 conditionalized including of getopt stuff.
4857
cdf7120d
TF
48582001-12-14 Thomas Fitzsimmons <fitzsim@redhat.com>
4859
4860 * libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) to
4861 compile line.
f85be99c 4862 (vfiprintf.$(oext)): Likewise.
cdf7120d 4863
2e1a7175
TF
48642001-12-13 Thomas Fitzsimmons <fitzsim@redhat.com>
4865
4866 * Makefile.shared: New file.
4867 * libc/sys/linux/shared.ld: New file.
4868 * libm/machine/*: New files.
4869 * libm/machine/i386/*: New files.
4870 * Makefile.am: Add libtool support. Change math and mathfp
4871 references to variables.
4872 * configure.host: Add variables for libtool support. Add
4873 libm_machine_dir variable.
4874 * configure.in: Add objectlist variables, for libtool
4875 support. Add CC_FOR_BUILD tests.
4876 * libc/Makefile.am: Add libtool support. Change crt0.o
4877 reference to be a variable reference.
4878 * libc/configure.in: Add libtool support. Change sublib
4879 names to be lib${subdir}.la when using libtool.
4880 * libc/ctype/Makefile.am: Add libtool support.
4881 * libc/errno/Makefile.am: Likewise.
4882 * libc/locale/Makefile.am: Likewise.
4883 * libc/machine/Makefile.am: Likewise.
4884 * libc/machine/configure.in: Likewise.
4885 * libc/machine/i386/Makefile.am: Likewise.
4886 * libc/machine/i386/configure.in: Likewise.
4887 * libc/misc/Makefile.am: Likewise.
4888 * libc/posix/Makefile.am: Likewise.
4889 * libc/reent/Makefile.am: Likewise.
4890 * libc/signal/Makefile.am: Likewise.
4891 * libc/stdio/Makefile.am: Likewise.
4892 * libc/stdlib/Makefile.am: Likewise.
4893 * libc/string/Makefile.am: Likewise.
4894 * libc/sys/Makefile.am: Likewise.
4895 * libc/sys/configure.in: Likewise.
4896 * libc/sys/linux/Makefile.am: Add libtool support. Change
4897 awk reference to a variable reference. Change signal.h
4898 reference to a variable reference.
4899 * libc/sys/linux/configure.in: Add libtool support.
4900 * libc/syscalls/Makefile.am: Likewise.
4901 * libc/time/Makefile.am: Likewise.
4902 * libc/unix/Makefile.am: Likewise.
4903 * libm/Makefile.am: Add libtool support. Change math and
4904 mathfp references to variables.
4905 * libm/configure.in: Add libtool support. Add
4906 LIBM_MACHINE_LIB variable.
4907 * libm/common/Makefile.am: Add libtool support.
4908 * libm/math/Makefile.am: Likewise.
4909 * libm/mathfp/Makefile.am: Likewise.
4910 Regenerate all Makefile.in, aclocal.m4, and configure.
4911
b92591a1
JJ
49122001-12-13 Anita Kulkarni <anitak@kpit.com>
4913
4914 * libc/sys/sh/crt0.S: Remove stack symbol definition 0xdeaddead.
4915
355b664e
CF
49162001-12-06 John Peacock <jpeacock@rowman.com>
4917
4918 * libc/include/sys/unistd.h: Correct ualarm declaration.
4919
e9853806
NC
49202001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
4921
4922 * libc/sys/arm/crt0.S: For __USES_INITFINI__ preserve the argument
4923 vector before calling the initialisation functions.
4924
a8e091b0
CF
49252001-11-29 Christopher Faylor <cgf@redhat.com>
4926
4927 * libc/include/dirent.h: Protect against multiple inclusion.
4928
ab634123
CF
49292001-11-27 Christopher Faylor <cgf@redhat.com>
4930
4931 * libc/include/sys/types.h: Define useconds_t.
4932 * libc/include/sys/ulimit.h: Declare ualarm.
4933
d37e401e
CF
49342001-11-21 Christopher Faylor <cgf@redhat.com>
4935
4936 * libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.
4937
8ac90051
HPN
49382001-11-19 Hans-Peter Nilsson <hp@bitrange.com>
4939
4940 * libc/sys/mmixware/*: Tweak license header in all source files.
4941
d7ca37e4
CV
49422001-11-12 Corinna Vinschen <vinschen@redhat.com>
4943
4944 * libc/include/alloca.h: Move libc/sys/linux/include/alloca.h
4945 to here. Rearrange for general inclusion by stdlib.h.
4946 * libc/include/stdlib.h: Include <alloca.h> if __STRICT_ANSI__
4947 isn't defined.
4948 * libc/sys/linux/include/alloca.h: Move to libc/include.
4949
28f8744e
AG
49502001-11-12 Anthony Green <green@redhat.com>
4951
4952 * libc/sys/arm/crt0.S (__stack_base__): New symbol.
4953
4cede8c4
HPN
49542001-11-13 Hans-Peter Nilsson <hp@bitrange.com>
4955
4956 * libc/sys/mmixware/*: Correct spacing in all source files.
4957 * libc/sys/mmixware/syscall.h: Move misplaced file...
4958 * libc/sys/mmixware/sys/syscall.h: ...here.
4959
8be9b48b
JJ
49602001-11-12 Hans-Peter Nilsson <hp@bitrange.com>
4961
4962 * libc/include/machine/ieeefp.h: Add support for mmix target.
4963 * libc/include/machine/setjmp.h: Ditto.
4964 * configure.host: Ditto.
4965 * libc/sys/mmixware/Makefile.am, libc/sys/mmixware/_exit.c,
4966 libc/sys/mmixware/access.c, libc/sys/mmixware/aclocal.m4,
4967 libc/sys/mmixware/chmod.c, libc/sys/mmixware/chown.c,
4968 libc/sys/mmixware/close.c, libc/sys/mmixware/configure.in,
4969 libc/sys/mmixware/creat.c, libc/sys/mmixware/crt0.c,
4970 libc/sys/mmixware/execv.c, libc/sys/mmixware/execve.c,
4971 libc/sys/mmixware/fork.c, libc/sys/mmixware/fstat.c,
4972 libc/sys/mmixware/getpid.c, libc/sys/mmixware/gettime.c,
4973 libc/sys/mmixware/isatty.c, libc/sys/mmixware/kill.c,
4974 libc/sys/mmixware/lseek.c, libc/sys/mmixware/open.c,
4975 libc/sys/mmixware/pipe.c, libc/sys/mmixware/read.c,
4976 libc/sys/mmixware/sbrk.c, libc/sys/mmixware/setjmp.S,
4977 libc/sys/mmixware/stat.c, libc/sys/mmixware/sys/syscall.h,
4978 libc/sys/mmixware/time.c, libc/sys/mmixware/times.c,
4979 libc/sys/mmixware/unlink.c, libc/sys/mmixware/utime.c,
4980 libc/sys/mmixware/wait.c, libc/sys/mmixware/write.c: New files.
4981 * libc/sys/mmixware/configure, libc/sys/mmixware/Makefile.in,
4982 libc/sys/mmixware/aclocal.m4: Generate.
4983
c7dd4f95
CV
49842001-11-05 Corinna Vinschen <corinna@vinschen.de>
4985
4986 * libc/include/sys/unistd.h: Add prototypes for endusershell(),
4987 getusershell(), iruserok(), revoke(), ruserok() and setusershell()
4988 when __CYGWIN__ is defined.
4989 * libc/sys/cygwin/sys/utmp.h: Add prototypes for login_tty() and
4990 logwtmp().
4991
a6a6f9fe
JJ
49922001-11-01 Arati Dikey <aratidikey@hotmail.com>
4993
4994 * libm/mathfp/sf_isinf.c (isinff): Change to use _DEFUN macro.
4995 [_DOUBLE_IS_32BITS](isinf): New function that calls isinff.
4996 * libm/mathfp/sf_isnan.c (isnanf): Change to use _DEFUN macro.
4997 [_DOUBLE_IS_32BITS](isnan): New function that calls isnanf.
4998
d0504c35
JJ
49992001-10-24 Christopher Faylor <cgf@redhat.com>
5000
5001 * libc/stdio/fseek.c: Reset pointer to buffer base
5002 when forced to seek outside of current buffer contents.
5003 This prevents the code from erroneously thinking there is
5004 anything in the current buffer.
5005
0280c8c0
GK
50062001-10-22 Geoffrey Keating <geoffk@redhat.com>
5007
5008 * libc/include/math.h: The C++ standard adds the single-precision
5009 versions of the elementary functions.
5010
333d6098
CF
50112001-10-22 Christopher Faylor <cgf@redhat.com>
5012
5013 * libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations
5014 throughout.
5015 * signal.h: Change comment to reflect __CYGWIN__ rather than __CYGWIN32__.
5016 * popen.c (popen): Use __CYGWIN_ rather than __CYGWIN32__.
5017 * system.c (_system_r): Ditto.
5018
c7118319
CV
50192001-10-17 Corinna Vinschen <corinna@vinschen.de>
5020
5021 * libc/include/sys/unistd.h: Add prototype for fchdir() when
b4e98df6 5022 __CYGWIN__ or __rtems__ is defined.
c7118319 5023
5665b0e1
JJ
50242001-10-01 Charles Wilson <cwilson@ece.gatech.edu>
5025
5026 * libc/include/stdlib.h: add declarations for
5027 _strtoull_r, _strtoll_r, strtoull, and strtoll.
5028 * libc/stdio/local.h: remove declarations of
5029 __strtoull_r and __strtoll_r.
5030 * libc/stdio/vfscanf.c(__svfscanf_r): call
5031 _strtoull_r instead of __strtoull_r. Ditto
5032 _strtoll_r vs. __strtoll_r.
5033 * libc/stdlib/Makefile.am: add new files to
5034 .c list and .def list
5035 * libc/stdlib/Makefile.in: regenerate
5036 * libc/stdlib/strtoll_r.c: rename __strtoll_r
5037 as _strtoll_r
5038 * libc/stdlib/strtoull_r.c: rename __strtoull_r
5039 as _strtoull_r
5040 * libc/stdlib/strtoull.c: new file
5041 * libc/stdlib/strtoll.c: new file
5042
d2d5eb41
CF
5043Mon Sep 17 17:29:47 2001 Christopher Faylor <cgf@cygnus.com>
5044
5045 * libc/include/process.h: Add getpid() declaration.
5046
448e3c14
NC
50472001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
5048
5049 * libc/sys/arm/crt0.S: Add calls to _init and _fini (via atexit)
5050 for new style arm/elf ctor/dtor handling.
5051 Minor formatting tidy up.
5052
7a2afbbb
JJ
50532001-09-13 Jeff Johnston <jjohnstn@redhat.com>
5054
5055 * libc/stdlib/Makefile.am: Add support to build strtoll_r.c
5056 and strtoull_r.c.
5057 * libc/stdlib/Makefile.in: Regenerated.
5058 * libc/stdlib/strtoll_r.c: New file.
5059 * libc/stdlib/strtoull_r.c: New file.
5060 * libc/stdio/local.h: Add prototypes for long long string
5061 conversion routines.
5062 * libc/stdio/vfscanf.c (__svfscanf_r): Add optional long long support
5063 tied to %L integer conversion specifier.
5064
6342caa4
JJ
5065Thu Sep 13 08:49:49 2001 Jason Tishler <jason@tishler.net>
5066
5067 * strftime.c (strftime): Fix "%W" implementation to properly handle
5068 Mondays too.
5069
b2d319cb
JJ
50702001-09-07 Jeff Law <law@redhat.com>
5071
5072 * libc/sys/h8300hms/crt0.S: For H8/300H and H8/S, load address of
5073 __fini with "mov.l" instead of "mov.w".
5074
233823ba
CV
50752001-09-05 Corinna Vinschen <corinna@vinschen.de>
5076
5077 * libc/sys/cygwin/include/unistd.h: New file, wrapping sys/unistd.h
5078 and getopt.h.
5079
63c17b54
JJ
50802001-09-04 Jason Merrill <jason_merrill@redhat.com>
5081
5082 * libc/sys/h8300hms/crt0.S: Support ELF initialization.
5083
a3e67ddf
CV
50842001-09-03 Corinna Vinschen <corinna@vinschen.de>
5085
5086 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number
5087 field.
5088 (__DIRENT_VERSION): New define.
5089
6d47f33a
CV
50902001-09-03 Corinna Vinschen <corinna@vinschen.de>
5091
5092 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add `d_fd' member.
4f79e37e
CV
5093 Shrink __d_reserved accordingly to keep structure size.
5094 (dirfd): Declare external.
6d47f33a 5095
348c5e06
JJ
50962001-08-29 Joel Sherrill <joel@OARcorp.com>
5097
5098 * libc/include/sys/unistd.h: Prototype chroot() for RTEMS.
5099
51002001-08-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
5101
5102 * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S,
5103 libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c,
5104 libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S,
5105 libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S,
5106 libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S,
5107 libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S,
5108 libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c,
5109 libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S:
5110 Add conditional compilation to avoid HW FPU instructions
5111 when compiled for soft-float.
5112
f29865c5
JJ
51132001-08-29 Jeff Johnston <jjohnstn@redhat.com>
5114
5115 * Makefile.am: Add check for ln failing when creating libg.a
5116 so that cp gets used as a backup.
5117 * Makefile.in: Regenerated.
5118
9e2a4ef8
JJ
51192001-08-29 Jeff Johnston <jjohnstn@redhat.com>
5120
5121 * libc/include/sys/reent.h: Add include of <sys/_types.h>.
5122 No longer include time.h. Add struct __tm to use for
5123 _localtime_buf in the reentrant structure. Add a
5124 _NULL definition to use in initializing the reentrant struct.
5125 * libc/include/sys/config.h: For CYGWIN32 and RTEMS, change
5126 the _READ_WRITE_RETURN_TYPE to _ssize_t which is found in
5127 <sys/_types.h>.
5128 * libc/include/sys/unistd.h: Include <sys/_types.h>.
5129 * libc/time/lcltime.c (localtime): Cast the reentrant struct
5130 _localtime_buf to be struct tm *.
5131
1ae900d6
JR
5132Wed Aug 29 14:17:38 2001 J"orn Rennecke <amylaar@redhat.com>
5133
5134 * configure.host (h8300-*-elf*, h8500-*-elf*): New cases.
5135 * libc/sys/h8300hms/crt1.c (__main): Don't reference __ctors /
5136 __ctors_end.
5137 * libc/sys/h8300hms/syscalls.c: Include errno.h.
5138 (_unlink): New stub function.
5139
8e26d5b5
CF
5140Sat Aug 25 22:22:25 2001 Christopher Faylor <cgf@cygnus.com>
5141
5142 * libc/include/sys/errno.h: Add a cautionary comment.
5143
e8267664
JJ
51442001-08-21 Jeff Johnston <jjohnstn@redhat.com>
5145
5146 * libc/stdlib/mallocr.c [!defined(MALLOC_ALIGNMENT)]: Add conditional
5147 for SIZE_SZ so that alignment ends up a minimum of 8.
5148
4acf3edf
CF
5149Mon Aug 13 22:26:01 2001 Christopher Faylor <cgf@cygnus.com>
5150
5151 * libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro
5152 arguments.
5153
5154 * libc/include/sys/errno.h: Declare sys_errlist and sys_nerr, under
5155 Cygwin.
5156
52c80be8
JJ
51572001-08-13 Jeff Johnston <jjohnstn@redhat.com>
5158
5159 * libc/include/malloc.h (M_MXFAST, M_NLBLKS, M_GRAIN, M_KEEP): New
5160 macro constants for mallopt options.
5161 (M_TRIM_THRESHOLD, M_TOP_PAD, M_MMAP_THRESHOLD, M_MMAP_MAX): Ditto.
5162
a7061f7f
JJ
51632001-08-02 Jeff Johnston <jjohnstn@redhat.com>
5164
5165 * libc/include/stdio.h (BUFSIZ): Define to __BUFSIZ__ if provided,
5166 otherwise default.
5167
0b4bfdd5
AH
51682001-07-12 Aldy Hernandez <aldyh@redhat.com>
5169
5170 * libc/machine/mips/setjmp.S: Allow mips16 and mips64 to coexist.
5171
2b6b730c
NC
51722001-06-27 Nick Clifton <nickc@cambridge.redhat.com>
5173
5174 * libc/include/machine/ieeefp.h (__IEEE_BYTES_LITTLE_ENDIAN):
5175 Define for little endian ARMs.
5176
5177 * libc/stdlib/mprec.h (Storeinc): Use little endian version if
5178 __IEEE_BYTES_LITTLE_ENDIAN is defined.
5179
25842b68
JJ
51802001-06-11 Danny Smith <dannysmith@users.sourceforge.net>
5181
5182 * /libc/include/ctype.h (is* and to* macros): Do not define if C++.
5183
371b76ef
JJ
51842001-06-11 Egor Duda <deo@logos-m.ru>
5185
5186 * libc/ctype/ctype_.c: When compiled with gcc on platforms
5187 with signed char, make _ctype_[-128] ... _ctype[-1] refer to
5188 initialized memory region. Platform can define COMPACT_CTYPE
5189 to avoid allocation of the additional 128 bytes of data.
5190 Add pointer to _ctype_ array. Always initialize all _ctype_
5191 array elements.
5192
43b44bc5
JL
51932001-06-08 Jonathan Larmour <jlarmour@redhat.com>
5194
5195 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencing
5196 NULL pointer.
5197
188bc140
NC
51982001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
5199
5200 * libc/stdio/vfprintf.c (_VFPRINTF_R): Handle printf ("%#.0o",0)
5201
2ce88418
NC
52022001-05-25 Nick Clifton <nickc@cambridge.redhat.com>
5203
5204 * libc/machine/xscale/memcmp.c: Fix bug when both pointers have
5205 matching, non-word alignment, and the length is <= 4 but more than
5206 enough to move them over a word boundary.
5207 Add comments explaining what each instruction does.
5208
ca60ed47
CF
5209Mon May 7 20:39:25 2001 Christopher Faylor <cgf@cygnus.com>
5210
5211 * libc/include/sys/stat.h: Revert March 3, Cygwin change.
c63e9997 5212 * libc/include/sys/unistd.h: Ditto.
ca60ed47 5213
8b3bcfba
JJ
52142001-05-04 Earnie Boyd <earnie@users.sourceforge.net>
5215
5216 * libc/string/strrchr.c: Use strchr for the speed improvements.
5217
b09e3cf8
JJ
52182001-05-01 Jeff Johnston <jjohnstn@redhat.com>
5219
5220 * libc/stdio/findfp (__sinit)[HAVE_FCNTL]: For platforms that have
5221 real file systems, let __smakebuf() determine if line buffering
5222 should be used for stdout.
5223
0ca66974
JJ
52242001-04-27 Jeff Johnston <jjohnstn@redhat.com>
5225
5226 * libc/stdio/vfscanf.c (__svfscanf_r): Initialize new_exp local var.
5227
7cb7017a
JJ
52282001-04-27 Jeff Johnston <jjohnstn@redhat.com>
5229
5230 * libc/include/stdlib.h: Add prototype for _strtod_r.
5231
a874cd21
JJ
52322001-04-24 Charles Wilson <cwilson@ece.gatech.edu
5233
5234 * libc/stdio/vprintf.c (vprintf): fix signature to use _DEFUN
5235 * libc/stdio/vprintf.c (_vprintf_r): new function
5236 * libc/stdio/vsnprintf.c (vsnprintf): fix signature to use _DEFUN
5237 * libc/stdio/vsnprintf.c (_vsnprintf_r): fix signature to use
5238 _DEFUN, and call _vfprintf_r, not vfprintf.
5239 * libc/stdio/vsprintf.c (vsprintf.c): fix signature to use _DEFUN
5240 * libc/stdio/vsprintf.c (_vsprintf_r): fix signature to use
5241 _DEFUN, and call _vfprintf_r, not vfprintf.
5242
cb4cc283
CF
52432001-04-22 Earnie Boyd <earnie@users.sourceforge.net>
5244
5245 * libc/include/sys/unistd.h [X_OK]: Use better protection against
5246 Cygwin X_OK definitions in sys/file.h.
5247
8c9df1d5
CF
5248Fri Apr 20 23:17:51 2001 Christopher Faylor <cgf@cygnus.com>
5249
5250 * libc/include/sys/time.h: Define timercmp and other macros for
5251 __CYGWIN__, too.
5252
3ac6f3a7
JJ
52532001-04-20 Jeff Johnston <jjohnstn@redhat.com>
5254
5255 * acinclude.m4: Added --enable-malloc-debugging configure flag.
5256 * configure.host: For Cygwin specify -DMALLOC_PROVIDED if
5257 --enable-malloc-debugging selected.
5258 * aclocal.m4 configure: Regenerated.
5259 libm/aclocal.m4 libm/configure: Ditto.
5260 * libc/aclocal.m4 libc/configure: Ditto.
5261 * libc/machine/aclocal.m4 libc/machine/configure: Ditto.
5262 * libc/machine/*/aclocal.m4 libc/machine/*/configure: Ditto.
5263 * libc/sys/aclocal.m4 libc/sys/configure: Ditto.
5264 * libc/sys/*/aclocal.m4 libc/sys/*/configure: Ditto.
5265 * doc/aclocal.m4 doc/configure: Ditto.
5266
52cb9e69
JJ
52672001-04-20 Jeff Johnston <jjohnstn@redhat.com>
5268
5269 * libc/include/stdio.h[!_REENT_ONLY]: Moved various functions together
5270 into one list.
5271 [!__STRICT_ANSI__]: Moved non-ANSI I/O functions in this list.
5272 (vfscanf, vscanf, vsscanf, _vfscanf_r, _vscanf_r, _vsscanf_r): New
5273 function prototypes.
5274 (_fscanf_r, _sscanf_r): Ditto.
5275 * libc/include/stdlib.h: Added _strtod_r prototype.
5276 * libc/stdio/Makefile.am: Add new v*scanf functions.
5277 * libc/stdio/Makefile.in: Regenerate.
5278 * libc/stdio/fscanf.c: Reorganized so HAVE_STDC only affects prototype
5279 and code is shared. Added reentrant _fscanf_r which calls __svfscanf_r.
5280 * libc/stdio/scanf.c: Changed to call __svfscanf_r.
5281 * libc/stdio/sscanf.c: Changed documentation to add reentrant routines.
5282 (sscanf): Changed to call __svfscanf_r with _REENT argument.
5283 (_sscanf_r): New routine.
5284 * libc/stdio/local.h: Removed __svfscanf prototype and replaced it
5285 with __svfscanf_r prototype.
5286 * libc/stdio/vfscanf.c (vfscanf, _vfscanf_r: New
5287 routines.
5288 (__svfscanf_r): Reentrant version of __svfscanf which takes reetrancy
5289 structure as argument as calls reentrant versions of helper functions
5290 (e.g. _strtol_r, _strtoul_r). Also replaced calls to atol and atof
5291 to _strtol_r and _strtod_r respectively.
5292 * libc/stdio/vfscanf.c: Also changed __svfscanf to call __svfscanf_r.
5293 * libc/stdlib/strtod.c (strtod): Changed to call _strtod_r with
5294 _REENT argument.
5295 * libc/stdio/vscanf.c: New file.
5296 * libc/stdio/vsscanf.c: Ditto.
5297
ee9f39fb
JJ
52982001-04-19 Robert Collins <rbtcollins@hotmail.com>
5299
5300 * include/time.h[__CYGWIN__]: Define tzname to _tzname if not defined.
5301 Define daylight to _daylight if it is not defined
5302 Prepare a variable export of timezone based on timezonevariable.
5303 (Cannot be used with the timezone() function.)
5304
273861e3
JJ
53052001-04-17 Stephen L. Moshier <moshier@moshier.ne.mediaone.net>
5306
5307 * newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi):
5308 Correct the numerical values.
5309
a25b8414
CF
53102001-04-13 Robert Collins <rbtcollins@hotmail.com>
5311
5312 * libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only).
5313
b8a8c59d
CV
5314Thu Apr 12 23:11:00 2001 Corinna Vinschen <corinna@vinschen.de>
5315
5316 * libc/include/sys/errno.h: Add ECASECLASH to indicate case clash
5317 on case insensitve file systems.
5318
74f8cc63
CF
53192001-04-12 Robert Collins <rbtcollins@hotmail.com>
5320
5321 * libc/include/sys/features.h: Add appropriate defines for Cygwin
5322 pthread support.
5323 * libc/include/sys/signal.h: Remove unneeded __CYGWIN__ protection.
5324 * libc/include/sys/types.h: Protect __CYGWIN__ from the rtems pthreads
5325 types. Include <cygwin/types.h> for the cygwin specific typedefs.
5326
16740220
RS
53272001-04-04 Richard Sandiford <rsandifo@redhat.com>
5328
5329 * libc/include/machine/ieeefp.h: Comment about new configuration
5330 macros _FLT_LARGEST_EXPONENT_IS_NORMAL and _FLT_NO_DENORMALS.
5331 * libm/common/fdlib.h: Define new macros for testing floats.
5332 * libm/common/sf_*: Use them.
5333 * libm/math/ef_*: Likewise.
5334 * libm/math/sf_*: Likewise.
5335
0694d8d3
JJ
53362001-03-29 Jeff Johnston <jjohnstn@redhat.com>
5337
5338 * libc/sys/arm/setjmp.S: Added .code 16 specifier for thumb-mode
5339 prolog to by-pass possible assembler error.
5340
4833b38c
JJ
53412001-03-21 Egor Duda <deo@logos-m.ru>
5342
5343 Allow building internal stubs for non-reentrant syscalls
5344 if target provides its own malloc
5345 * libc/reent/reent.c (errno): Move definition here.
5346 * libc/reent/sbrkr.c: From here.
5347
d17d6d42
CF
53482001-03-20 Danny Smith <dannysmith@users.sourceforge.net>
5349
5350 * libc/include/sys/types.h (BSD int typedefs): Guard with
5351 _BSDTYPES_DEFINED rather than _WINSOCK_H.
5352 (fd_set): Add !defined __USE_W32_SOCKETS to guard; define
5353 _SYS_TYPES_FD_SET.
5354 * libc/include/sys/unistd.h (gethostname): Don't declare if defined
5355 (_WINSOCK_H) || defined (__USE_W32_SOCKETS).
5356
c7ee75cd
CV
5357Sat Mar 17 18:30:00 2001 Corinna Vinschen <corinna@vinschen.de>
5358
5359 * libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS and
5360 _PC_POSIX_SECURITY constants for Cygwin.
5361
63dc5d80
CV
5362Wed Mar 14 9:34:00 2001 Corinna Vinschen <corinna@vinschen.de>
5363
5364 * libc/sys/cygwin/crt0.c: Add copyright hint.
5365 * libc/sys/cygwin/sys/dirent.h: Ditto.
5366 * libc/sys/cygwin/sys/param.h: Ditto.
5367 * libc/sys/cygwin/sys/utime.h: Ditto.
5368 * libc/sys/cygwin/sys/utmp.h: Ditto.
5369
6f637037
AO
53702001-03-13 Alexandre Oliva <aoliva@redhat.com>
5371
5372 * libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make it
5373 equivalent to LONGINT.
5374
e69b6f73
JJ
53752001-03-08 Richard Sandiford <rsandifo@redhat.com>
5376
5377 * (libc/include/machine/setjmp.h): Use 23 long long ints for a
5378 jmpbuf on MIPS64 targets.
5379 * (libc/machine/mips/setjmp.S): Add MIPS64 version.
5380
6198dece
CF
5381Wed Mar 7 16:02:07 2001 Christopher Faylor <cgf@cygnus.com>
5382
e69b6f73
JJ
5383 * libc/include/sys/config.h: Use ssize_t for Cygwin read/write
5384 declarations.
6198dece 5385
cfc05d96
JJ
5386Mon Mar 5 21:48:54 2001 J"orn Rennecke <amylaar@redhat.com>
5387
5388 * libc/include/sys/config.h (_READ_WRITE_RETURN_TYPE): Define.
5389 For RTEMS, define to be ssize_t. Default to int if not defined.
5390 * libc/stdio/sscanf.c (eofread): Return _READ_WRITE_RETURN_TYPE.
5391 * libc/stdio/stdio.c (__sread, __swrite): Likewise.
5392 * libc/stdio/local.h (__sread, __swrite): Likewise.
5393 * libc/include/sys/reent.h (_read, _write): Likewise.
5394 * libc/include/sys/unistd.h (read, write, _read, _write): Likewise.
5395 * libc/syscalls/sysread.c (read): Likewise.
5396 * libc/syscalls/syswrite.c (write): Likewise.
5397
6249353a
JJ
53982001-03-05 Jeff Johnston <jjohnstn@redhat.com>
5399
5400 * libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants.
5401
658b5db9
CF
5402Sat Mar 3 00:34:14 2001 Christopher Faylor <cgf@cygnus.com>
5403
5404 * libc/include/sys/stat.h: Use special defines for executable stat bits
5405 when compiling for Cygwin.
5406 * libc/include/sys/unistd.h: Use special define for X_OK when compiling
5407 for Cygwin.
5408
19ca46d5
JJ
54092001-03-02 Jeff Johnston <jjohnstn@redhat.com>
5410
5411 * libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype
5412 of strtok_r is always defined.
5413
b73ed85e
JJ
54142001-03-02 Jeff Johnston <jjohnstn@redhat.com>
5415
5416 * libc/include/machine/ansi.h: New dummy header file.
5417
ee37ede1
JJ
54182001-02-22 Jeff Johnston <jjohnstn@redhat.com>
5419
5420 * libc/include/machine/setjmp-dj.h: With DJ Delorie's permission,
5421 changed the copyright information to allow free modification of the
5422 file with no reference to "copying.dj".
5423 * libc/include/sys/stat-dj.h: Ditto.
5424 * libc/machine/i386/setjmp.S: Ditto.
5425 * libc/sys/h8300hms/sys/file.h: Ditto.
5426 * libc/sys/sysmec/access.c: Ditto.
5427 * libc/sys/sysnecv850/access.c: Ditto.
5428 * libc/stdio/mktemp.c: Fixed typo for the word copyright.
5429 * libc/stdlib/getenv_r.c: Ditto.
5430 * libc/stdlib/putenv_r.c: Ditto.
5431 * libc/stdlib/setenv_r.c: Ditto.
5432 * libc/stdlib/getenv.c: Removed DJ reference since any possible
5433 modifications will now be in the _r version of this file.
5434 * libc/stdlib/putenv.c: Ditto.
5435 * libc/stdlib/setenv.c: Ditto.
5436 * libc/sys/go32/copying.dj: Removed DJ's address which is no longer
5437 valid. Added a reference to DJ's web page that contains his address.
5438 * libc/sys/go32/*.s: Removed references to DJ's old address.
5439 * libc/sys/go32/*.c: Ditto.
5440 * libc/sys/go32/*.h: Ditto.
5441 * libc/sys/go32/*.S: Ditto.
5442 * libc/sys/go32/sys/*.h: Ditto.
5443
3a8fc0e4
JJ
54442001-02-21 Jeff Johnston <jjohnstn@redhat.com>
5445
5446 * libc/stdio/fdopen.c (fdopen): Protect calls to _fcntl() with
5447 HAVE_FCNTL flag check.
5448 * configure.host: Define HAVE_FCNTL for Cygwin, go32, RTEMS, sparc64,
5449 powerpcle, x86 netware, x86 sco, x86 Linux and Vxworks.
5450
b24ee749
CF
5451Thu Feb 15 01:39:51 2001 Christopher Faylor <cgf@cygnus.com>
5452
5453 * libc/include/sys/signal.h: Always include sys/types.h under Cygwin.
5454
ab4745dc
JJ
54552001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
5456
5457 * libc/include/stdlib.h: Add declarations of rand48 functions and
5458 their reentrant versions.
5459 * libc/include/sys/reent.h: Move macros from rand48.h. Add
5460 struct _rand48 for shared parameters of rand48 functions.
5461 (struct _reent): Add a variable _r48 of struct _rand48.
5462 (_REENT_INIT): Add _r48 initialization.
5463 * libc/stdlib/Makefile.am (lib_a_SOURCES): Add rand48 functions.
5464 (CHEWOUT_FILES): Add rand48.def.
5465 * libc/stdlib/Makefile.am: Add dependencies for rand48 functions.
5466 * libc/stdlib/Makefile.in: Regenerated.
5467 * libc/stdlib/drand48.c (drand48, _drand48_r): Derived from the
5468 NetBSD C library.
5469 * libc/stdlib/erand48.c (erand48, _erand48_r): Ditto.
5470 * libc/stdlib/jrand48.c (jrand48, _jrand48_r): Ditto.
5471 * libc/stdlib/lcong48.c (lcong48, _lcong48_r): Ditto.
5472 * libc/stdlib/lrand48.c (lrand48, _lrand48_r): Ditto.
5473 * libc/stdlib/mrand48.c (mrand48, _mrand48_r): Ditto.
5474 * libc/stdlib/nrand48.c (nrand48, _nrand48_r): Ditto.
5475 * libc/stdlib/seed48.c (seed48, _seed48_r): Ditto.
5476 * libc/stdlib/srand48.c (srand48, _srand48_r): Ditto.
5477 * libc/stdlib/rand48.c (__dorand48): Ditto.
5478 * libc/stdlib/rand48.h: Ditto, and modify declarations of global
5479 parameters into macros referring them in the reentrant structure.
5480
a34c461f
JJ
54812001-02-12 Jeff Johnston <jjohnstn@redhat.com>
5482
5483 * libc/include/sys/stat.h: Add mknod for Cygwin now that
5484 Cygwin definition has correct prototype.
5485
34f31ff2
JJ
54862001-02-08 Jeff Johnston <jjohnstn@redhat.com>
5487
5488 * libc/include/sys/stat.h: Must revert change for mknod
5489 for CYGWIN until winsup/cygwin/syscalls.cc changes mknod
5490 prototype.
5491
5336d6de
JJ
54922001-02-08 Jeff Johnston <jjohnstn@redhat.com>
5493
5494 * libc/include/stdio.h: Revert putw prototype.
5495
8915d10a
JJ
54962001-02-08 Edward M. Lee <tailbert@yahoo.com>
5497
5498 * libc/include/grp.h: add prototype for initgroups.
5499 * libc/include/stdio.h: fix prototype for putw.
5500 * libc/include/sys/signal.h: add prototype for killpg.
5501 * libc/include/sys/stat.h: enable mknod/lstat for CYGWIN.
5502 * libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp,
5503 vhangup and remove duplicate sysconf prototype.
5504
93ac4487
JJ
55052001-02-07 Jeff Johnston <jjohnstn@redhat.com>
5506
5507 * libc/sys/rtems/sys/types.h: Removed.
5508
31f5feea
JJ
55092001-02-05 Charles Wilson <cwilson@ece.gatech.edu>
5510
5511 * libc/include/locale.h: add LC_MESSAGES definition
5512
b5139f59
AO
55132001-02-01 Alexandre Oliva <aoliva@redhat.com>
5514
5515 * libc/sys/sh/sys/syscall.h (SYS_get_argc, SYS_get_argN_len,
5516 SYS_get_argN):
5517 * libc/sys/sh/syscalls.c (__setup_argv_for_main,
5518 __setup_argv_and_call_main): New.
5519
e29d8355
JJ
55202001-01-31 Jeff Johnston <jjohnstn@redhat.com>
5521
5522 * libc/include/stdio.h (FILENAME_MAX): Changed to use __FILENAME_MAX__
5523 if defined.
5524 (FOPEN_MAX): Changed to use __FOPEN_MAX__ if defined.
5525 (L_tmpnam): Changed to use __L_tmpnam__ if defined.
5526 * libc/include/sys/config.h: Changed to set __FILENAME_MAX__
5527 appropriately for Cygwin and RTEMS so not to exceed PATH_MAX.
5528
82ea92f3
CF
5529Mon Jan 29 23:03:06 2001 Christopher Faylor <cgf@cygnus.com>
5530
5531 * libc/stdlib/mallocr.c: Undefine windows preprocessor variables when
5532 compiling under Cygwin.
5533
3aaa66f8
JJ
55342001-01-29 Jeff Johnston <jjohnstn@redhat.com>
5535
5536 * libc/include/math.h (signgam): Change to errno-like solution
5537 using a function to return the address of the real signgam.
5538 * libc/reent/signgam.c: New file containing __signgam().
5539 * libc/reent/Makefile.am: Added signgam.c to list of files.
5540 * libc/reent/Makefile.in: Regenerated.
5541
610b895a
AO
55422001-01-25 Alexandre Oliva <aoliva@redhat.com>
5543
b0913397
AO
5544 * libc/sys/sh/syscalls.c (_times): New.
5545
610b895a
AO
5546 * configure.host (sh*-*-*): Add -DHAVE_GETTIMEOFDAY to newlib_cflags.
5547 * libc/sys/sh/syscalls.c (_gettimeofday): New.
5548
3643210e
JJ
55492001-01-23 Jeff Johnston <jjohnstn@redhat.com>
5550
5551 * libc/include/math.h (signgam): Regress previous fix as
5552 it does not handle programs with extern int signgam in them.
5553
841081c9
JJ
55542001-01-23 Jeff Johnston <jjohnstn@redhat.com>
5555
5556 * libc/include/math.h (signgam): Changed to a macro refering to
5557 its location in the reentrant structure.
5558
e9cd87b8
JJ
55592001-01-23 Jeff Johnston <jjohnstn@redhat.com>
5560
5561 * libc/stdio/vfprintf.c (_VFPRINTF_R): Modification to fix
5562 that suppressed . for %.0f, 0.1. Check now looks if there
5563 are padding zeroes (expt) in addition to any digits (ndig) to
5564 print.
5565
a302b48c
JJ
55662001-01-18 Jeff Johnston <jjohnstn@redhat.com>
5567
5568 * libc/sys/arc/Makefile.am: New file.
5569 * libc/sys/arc/Makefile.in: Ditto.
5570 * libc/sys/arc/aclocal.m4: Ditto.
5571 * libc/sys/arc/configure: Ditto.
5572 * libc/sys/arc/configure.in: Ditto.
5573 * libc/sys/arc/crt0.S: Ditto.
5574 * libc/sys/arc/isatty.c: Ditto.
5575 * libc/sys/arc/mem-layout.c: Ditto.
5576 * libc/sys/arc/sbrk.c: Ditto.
5577 * libc/sys/arc/syscalls.c: Ditto.
5578 * libc/sys/arc/sys/syscall.h: Ditto.
5579
d0319c3b
CF
5580Wed Jan 17 23:20:56 2001 Christopher Faylor <cgf@cygnus.com>
5581
5582 * libc/include/sys/unistd.h: Use correct declaration for setdtablesize.
5583
e45ab890
CF
5584Fri Jan 12 00:34:31 2001 Christopher Faylor <cgf@cygnus.com>
5585
5586 * libc/include/sys/signal.h: Add some SA_* defines for Cygwin.
5587
1376245a
DD
5588Thu Jan 11 20:42:06 2001 Earnie Boyd <earnie_boyd@yahoo.com>
5589
5590 * libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__
5591
92b57543
NC
55922001-01-09 Nick Clifton <nickc@redhat.com>
5593
5594 * configure.host (v859): Remove unsupported compiler options.
5595
7d6d33d4
JJ
5596Fri Jan 5 19:57:00 EST 2001 Aaron J. Grier <aaron@frye.com>
5597
5598 * src/newlib/configure.host (*-*-rtems*): add printf long long
5599 support for RTEMS.
5600
602f8b5a 56012000-12-19 Graham Stott <grahams@redhat.com>
6286746a
NC
5602
5603 * libc/machine/xscale/memcmp.c (memcmp): Add clobber for "lr".
5604
9c2b8183
JJ
5605Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
5606
5607 * configure.host: Turn on long double I/O for Cygwin.
5608
804368d3
JJ
5609Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
5610
5611 * MAINTAINERS: Removed Ranjith.
5612 * NEWS: Updated for 1.9.0.
5613 * README: Updated.
5614 * acinclude.m4: Updated to release 1.9.0.
5615 * aclocal.m4 configure
5616 doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
5617 libc/machine/aclocal.m4 libc/machine/configure
5618 libc/machine/a29k/aclocal.m4 libc/machine/a29k/configure
5619 libc/machine/arm/aclocal.m4 libc/machine/arm/configure
5620 libc/machine/d10v/aclocal.m4 libc/machine/d10v/configure
5621 libc/machine/d30v/aclocal.m4 libc/machine/d30v/configure
5622 libc/machine/fr30/aclocal.m4 libc/machine/fr30/configure
5623 libc/machine/h8300/aclocal.m4 libc/machine/h8300/configure
5624 libc/machine/h8500/aclocal.m4 libc/machine/h8500/configure
5625 libc/machine/hppa/aclocal.m4 libc/machine/hppa/configure
5626 libc/machine/i386/aclocal.m4 libc/machine/i386/configure
5627 libc/machine/i960/aclocal.m4 libc/machine/i960/configure
5628 libc/machine/m32r/aclocal.m4 libc/machine/m32r/configure
5629 libc/machine/m68k/aclocal.m4 libc/machine/m68k/configure
5630 libc/machine/m88k/aclocal.m4 libc/machine/m88k/configure
5631 libc/machine/mips/aclocal.m4 libc/machine/mips/configure
5632 libc/machine/mn10200/aclocal.m4 libc/machine/mn10200/configure
5633 libc/machine/mn10300/aclocal.m4 libc/machine/mn10300/configure
5634 libc/machine/necv70/aclocal.m4 libc/machine/necv70/configure
5635 libc/machine/powerpc/aclocal.m4 libc/machine/powerpc/configure
5636 libc/machine/sh/aclocal.m4 libc/machine/sh/configure
5637 libc/machine/sparc/aclocal.m4 libc/machine/sparc/configure
5638 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
5639 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
5640 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
5641 libc/machine/xscale/aclocal.m4 libc/machine/xscale/configure
5642 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
5643 libc/sys/aclocal.m4 libc/sys/configure
5644 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
5645 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
5646 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
5647 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
5648 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
5649 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
5650 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
5651 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
5652 libc/sys/linux/aclocal.m4 libc/sys/linux/configure
5653 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
5654 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
5655 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
5656 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
5657 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
5658 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
5659 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
5660 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
5661 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
5662 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
5663 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
5664 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
5665 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
5666 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
5667 libm/aclocal.m4 libm/configure: Regenerated.
5668
0985d43f
CV
5669Wed Dec 13 11:52:00 2000 Corinna Vinschen <vinschen@cygnus.com>
5670
5671 * libc/include/sys/unistd.h: Add declarations for `chroot' and `getwd'
5672 when __CYGWIN__ is defined.
5673
b6182a09
JJ
56742000-12-13 Jeff Johnston <jjohnstn@redhat.com>
5675
5676 * libc/stdlib/ldtoa.c (_ldcheck): New routine
5677 that categorizes a long double as NaN, Infinity, or other.
5678 * libc/stdio/vfprintf.c [WANT_IO_LONG_DBL](_VFPRINTF_R): Removed
5679 isinfl and isnanl static routines which were i386-specific. Changed
5680 calls to the two removed routines to a single _ldcheck call.
5681 * libc/stdio/vfieeefp.h (ldieee): Fixed missing semi-colons.
5682
adbbb034
JJ
56832000-12-13 Jeff Johnston <jjohnstn@redhat.com>
5684
5685 * Makefile.am: Fixed install-data-local target to use
5686 $(mkinstalldirs) for the installed header files to ensure
5687 the directories exist before copying.
5688 * Makefile.in: Regenerated.
5689
cbd19336
JJ
56902000-12-12 Jeff Johnston <jjohnstn@redhat.com>
5691
5692 * libc/include/sys/unistd.h: Restored Cygwin _SC
5693 constants and moved new constants appropriately
5694 so Cygwin will build.
5695
8fb37963
JJ
56962000-12-11 Joel Sherrill <joel@OARcorp.com>
5697
5698 * Merge RTEMS specific .h files into main libc/include.
5699 * libc/sys/rtems/include/signal.h: Removed.
5700 * libc/sys/rtems/include/time.h: Removed.
5701 * libc/sys/rtems/sys/features.h: Removed.
5702 * libc/sys/rtems/sys/sched.h: Removed.
5703 * libc/sys/rtems/sys/siginfo.h: Removed.
5704 * libc/sys/rtems/sys/signal.h: Removed.
5705 * libc/sys/rtems/sys/time.h: Removed.
5706 * libc/sys/rtems/sys/times.h: Removed.
5707 definitions for time_t and clock_t since these are
5708 no longer in time.h.
5709 * libc/include/pthread.h: New file.
5710 * libc/include/sys/sched.h: New file.
5711 * libc/include/sys/features.h: New file.
5712 * libc/include/time.h: Removed duplicate definition of clock_t
5713 and time_t, get them from <sys/types.h> instead. Add prototypes
5714 for POSIX clock and timer functionality.
5715 * libc/sys/linux/sys/types.h: Changed to include
5716 * libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_.
5717 * libc/include/sys/signal.h: Add more complete set of POSIX
5718 signal functionality including real-time and threaded signals.
5719 * libc/include/sys/types.h: Add clock_t, time_t, struct
5720 timespec, and struct itimerspec. Centralizing these makes
5721 things cleaner. RTEMS uses 64-bit dev_t.
5722 Added numerous primitive definitions
5723 for pthreads including macros, pthread_attr_t,
5724 pthread_mutexattr_t, pthread_condattr_t, pthread_key_t,
5725 pthread_once_t, and pthread_t.
5726 * libc/include/sys/unistd.h: Added getlogin_r() prototype.
5727 If RTEMS follow POSIX on read(), write() and sbrk() prototype.
5728 Feature flags removed and moved to new file <sys/features.h>.
5729 Full set of POSIX sysconf() constants
5730
2efbc2a7
JJ
57312000-12-08 Werner Almesberger <Werner.Almesberger@epfl.ch>
5732
5733 * configure.host: Added x86 linux target.
5734 * libc/unix/getpass.c (_PATH_PASSWD, _PASSWORD_LEN): Default
5735 definitions provided if not already defined.
5736 * libc/sys/linux/crt0.c: New file.
5737 * libc/sys/linux/Makefile.am: Ditto.
5738 * libc/sys/linux/Makefile.in: Ditto.
5739 * libc/sys/linux/aclocal.m4: Ditto.
5740 * libc/sys/linux/brk.c: Ditto.
5741 * libc/sys/linux/configure: Ditto.
5742 * libc/sys/linux/configure.in: Ditto.
5743 * libc/sys/linux/getoptlong.c: Ditto.
5744 * libc/sys/linux/ids.c: Ditto.
5745 * libc/sys/linux/inode.c: Ditto.
5746 * libc/sys/linux/io.c: Ditto.
5747 * libc/sys/linux/linux.c: Ditto.
5748 * libc/sys/linux/process.c: Ditto.
5749 * libc/sys/linux/realpath.c: Ditto.
5750 * libc/sys/linux/select.c: Ditto.
5751 * libc/sys/linux/signal.c: Ditto.
5752 * libc/sys/linux/systat.c: Ditto.
5753 * libc/sys/linux/termios.c: Ditto.
5754 * libc/sys/linux/time.c: Ditto.
5755 * libc/sys/linux/wait.c: Ditto.
5756 * libc/sys/linux/include/alloca.h: Ditto.
5757 * libc/sys/linux/include/getopt.h: Ditto.
5758 * libc/sys/linux/include/stdint.h: Ditto.
5759 * libc/sys/linux/include/unistd.h: Ditto.
5760 * libc/sys/linux/sys/cdefs.h: Ditto.
5761 * libc/sys/linux/sys/dirent.h: Ditto.
5762 * libc/sys/linux/sys/errno.h: Ditto.
5763 * libc/sys/linux/sys/fcntl.h: Ditto.
5764 * libc/sys/linux/sys/file.h: Ditto.
5765 * libc/sys/linux/sys/ioctl.h: Ditto.
5766 * libc/sys/linux/sys/resource.h: Ditto.
5767 * libc/sys/linux/sys/signal.h: Ditto.
5768 * libc/sys/linux/sys/stat.h: Ditto.
5769 * libc/sys/linux/sys/syscall.h: Ditto.
5770 * libc/sys/linux/sys/termios.h: Ditto.
5771 * libc/sys/linux/sys/time.h: Ditto.
5772 * libc/sys/linux/sys/types.h: Ditto.
5773 * libc/sys/linux/sys/utmp.h: Ditto.
5774 * libc/sys/linux/sys/utsname.h: Ditto.
5775 * libc/sys/linux/sys/wait.h: Ditto.
5776
a08c98bb
JJ
57772000-12-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
5778
5779 * Makefile.am: $(INSTALL), $(INSTALL_DATA), and $(INSTALL_PROGRAM)
5780 can be a relative path to $(top_srcdir)/install.sh so ensure the
5781 autoconf detected settings are properly passed recursively.
5782 Similarly, add AM_MAKEFLAGS to FLAGS_TO_PASS so they also get passed
5783 properly to subdirectories.
5784 * Makefile.in: Regenerated.
5785
b294082c
JJ
57862000-12-07 Jay Kulpinski <jskulpin@eng01.gdds.com>
5787
5788 * libc/stdio/vfprintf.c: Minor modification to avoid requiring
5789 a floating point register unless really printing a floating
5790 point number.
5791
2005ab6b
JJ
57922000-12-07 Jeff Johnston <jjohnstn@redhat.com>
5793
5794 * libc/stdlib/ldtoa.c: Removed include of alloca.h.
5795 Also removed \r's.
5796 (asctoeg): Replaced alloca call with stack array and malloc
5797 when storage exceeds reasonable limit.
5798 (e53toe): Fixed einfin calls missing ldp parameter.
5799 (eiisinf): Hide behind check for LDBL_MANT_DIG == 64.
5800
9f6e8f1b
JJ
58012000-12-06 Jeff Johnston <jjohnstn@redhat.com>
5802
2005ab6b 5803
9f6e8f1b
JJ
5804 * libc/stdio/vfscanf.c: Fix typo for _NO_LONGDBL macro.
5805
6bdac416
JJ
58062000-12-06 Jeff Johnston <jjohnstn@redhat.com>
5807
5808 * libc/stdlib/Makefile.am: Added ldtoa.c to list of sources.
5809 * libc/stdlib/Makefile.in: Regenerated.
5810 * libc/stdio/floatio.h: Added suitable MAXEXP for long double.
5811 * libc/stdio/vfieeefp.h: Added long double bit structures.
5812 * libc/stdio/vfprintf.c[WANT_IO_LONG_DBL]: Added long double support.
5813 [WANT_IO_LONG_DBL](isinfl, isnanl): New static long double routines.
5814 (exponent): Changed expbuf to reasonable maximum instead of MAXEXP.
5815 * libc/stdio/vfscanf.c[WANT_IO_LONG_DBL]: Added long double support.
5816 * libc/stdlib/ldtoa.c: New file containing _ldtoa_r and
5817 _strtold routines used for conversions between character
5818 and long double.
5819
ec270d31
CV
5820Wed Dec 6 12:01:00 2000 Corinna Vinschen <vinschen@cygnus.com>
5821
5822 * libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'.
5823
db2d9549
JJ
58242000-12-04 Joel Sherrill <joel@OARcorp.com>
5825
5826 * libc/include/machine/time.h: RTEMS systems can configure clock
5827 tick rate so use sysconf() to ask.
5828
6ba54a15
JJ
58292000-12-04 Joel Sherrill <joel@OARcorp.com>
5830
5831 * libc/include/sys/times.h: Add reference to POSIX standard.
5832
8677b819
JJ
58332000-12-04 Joel Sherrill <joel@OARcorp.com>
5834
5835 * libc/include/sys/time.h: Added BSD timer manipulation macros
5836 used by RTEMS code.
5837
1b61a706
JJ
58382000-12-04 Joel Sherrill <joel@OARcorp.com>
5839
5840 * libc/sys/rtems/crt0.c: Add stubs for functions implicitly
5841 referenced by code generated by gcc 2.8.1.
5842 (a29k): Add stubs for V_SPILL, V_FILL, V_BSD_OS, V_EPI_OS to
5843 satisfy gcc.
5844
f5e7c124
JJ
58452000-12-04 Joel Sherrill <joel@OARcorp.com>
5846
5847 * libc/stdlib/system.c: Avoid compiling do_system() for RTEMS.
5848
768abc9c
JJ
58492000-12-04 Joel Sherrill <joel@OARcorp.com>
5850
5851 * libc/include/ieeefp.h: Added entries for OpenCores CPUs.
5852
9e5dd5ea
JJ
58532000-12-04 Joel Sherrill <joel@OARcorp.com>
5854
5855 * configure.host (or16, or32): New entries for OpenCores
5856 OpenRisc CPUs.
5857 (*-*-rtems*): Add -DNO_EXEC.
5858
768abc9c 58592000-12-04 Keith Outwater <vac4050@cae597.rsc.raytheon.com>
7713fb6f
JJ
5860
5861 * libc/include/sys/errno.h: Added comments on many error numbers.
5862 * libc/string/strerror.c: Added some more strings.
5863
b273323f
JJ
58642000-11-30 Jeff Johnston <jjohnstn@redhat.com>
5865
5866 * libc/sys/sh/syscalls.c (_link): New stub.
5867
0ffc3b94
NC
58682000-11-29 Nick Clifton <nickc@redhat.com>
5869
5870 * configure.host: Add xscale target.
5871 * libc/machine/xscale: New directory.
5872 * libc/machine/xscale/Makefile.am: New file.
5873 * libc/machine/xscale/Makefile.in: New file.
5874 * libc/machine/xscale/aclocal.m4: New file.
5875 * libc/machine/xscale/configure: New file.
5876 * libc/machine/xscale/configure.in: New file.
5877 * libc/machine/xscale/memchr.S: New file.
5878 * libc/machine/xscale/memcmp.S: New file.
5879 * libc/machine/xscale/memcpy.S: New file.
5880 * libc/machine/xscale/memmove.S: New file.
5881 * libc/machine/xscale/memset.S: New file.
5882 * libc/machine/xscale/strchr.S: New file.
5883 * libc/machine/xscale/strcmp.S: New file.
5884 * libc/machine/xscale/strcpy.S: New file.
5885 * libc/machine/xscale/strlen.S: New file.
5886
cbbf0f96
CV
5887Sat Nov 25 11:24:00 2000 Corinna Vinschen <vinschen@cygnus.com>
5888
5889 * libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro to
5890 avoid compiler warnings.
5891
73dea790
MM
58922000-11-22 Michael Meissner <meissner@redhat.com>
5893
5894 * libc/posix/execl.c (execl): Don't reference environ directly,
5895 reference it only via a static pointer to avoid problems with some
5896 shared library systems and with different uses of small data where
5897 the user specifies his own version of environ.
5898 * libc/posix/execv.c (execv): Ditto.
5899 * libc/stdlib/getenv_r.c (_findenv_r): Ditto.
5900 * libc/stdlib/setenv_r.c (_setenv_r,_unsetenv_r): Ditto.
5901 * libc/stdlib/system.c (system, !cygwin32 case): Ditto.
5902
5903 * libc/stdlib/getenv.c (environ): Delete unused reference to
5904 environ.
5905
5906 * libc/stdlib/getenv_r.c: Make initial comment friendlier to emacs
5907 colorization.
5908 * libc/stdlib/system.c: Ditto.
5909
08eac2ae
CF
5910Tue Nov 21 20:32:21 2000 Christopher Faylor <cgf@cygnus.com>
5911
5912 * libc/sys/cygwin/sys/dirent.h: Change definition to avoid necessity of
5913 including windows headers.
5914
5478bf37
JJ
59152000-11-20 Jeff Johnston <jjohnstn@redhat.com>
5916
5917 * libc/include/sys/unistd.h: Removed definition of MAXNAMLEN.
5918 * libc/include/dirent.h: Added definition of MAXNAMLEN if
5919 not defined by sys/dirent.h.
5920 * libc/posix/execvp.c: Added include of dirent.h to get
5921 MAXNAMLEN value which used to be in unistd.h.
5922
3a760728
CV
5923Mon Nov 6 12:56:00 2000 Corinna Vinschen <vinschen@cygnus.com>
5924
5925 * libc/include/sys/types.h: Change type of i to `size_t' in
5926 FD_ZERO macro to avoid compiler warnings.
5927
86fff69f
CF
5928Sun Oct 29 20:06:41 2000 Christopher Faylor <cgf@cygnus.com>
5929
5930 * libc/include/stdlib.h: Avoid declaring cfree under Cygwin.
5931 * libc/include/malloc.h: Ditto. Also remove obsolete declaration.
5932
ba9e88d2
CV
5933Tue Oct 24 20:16:00 2000 Corinna Vinschen <vinschen@cygnus.com>
5934
5935 * libc/include/sys/unistd.h: Add defines for sysconf values
5936 _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and
5937 _SC_AVPHYS_PAGES.
5938
a8018ef3
CF
5939Mon Oct 9 20:26:33 2000 Christopher Faylor <cgf@cygnus.com>
5940
5941 * libc/include/sys/unistd.h: Add getdtablesize and setdtablesize
5942 declarations for __CYGWIN__.
5943
b944c6f6
GK
59442000-09-19 Geoffrey Keating <geoffk@cygnus.com>
5945
5946 * libc/signal/signal.c (__sigtramp_r): ISO C requires
5947 case labels to be integral constant expressions, so
5948 use an if/else tree instead.
5949 (_raise_r): Likewise.
5950
7f18fcb4
JJ
59512000-09-13 Jeff Johnston <jjohnstn@redhat.com>
5952
5953 * libc/machine/v850/setjmp.S: Fixed tab problems caused by
5954 clipping patch from e-mail reader.
5955
242361df
JJ
59562000-09-13 Will Cohen <wcohen@redhat.com>
5957
5958 * libc/machine/v850/setjmp.S (_setjmp): Save r1 rather than r0.
5959 Added return value 0.
5960 (_longjmp): Allow longjmp to return value of second argument
5961 passed to it.
5962
8a8c59b9
JJ
59632000-09-06 Jeff Johnston <jjohnstn@redhat.com>
5964
5965 * libc/include/sys/types.h (FD_ZERO): Remove call to bzero and
5966 inline code to prevent having to include another header file.
5967
a385ae75
CF
5968Wed Sep 6 15:06:40 2000 Christopher Faylor <cgf@cygnus.com>
5969
5970 * Makefile.am: Fix space vs. tab problem in install-data-local.
5971 * Makefile.in: Regenerate.
5972
5973Wed Sep 6 13:49:51 2000 Christopher Faylor <cgf@cygnus.com>
5974
5975 * libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__.
5976 (_EXPARM): New macro for defining a function parameter.
5977 * libc/include/stdlib.h: Use _EXPARM.
5978 * libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
5979
a36cd013
JJ
59802000-09-05 Manfred Hollstein <manfredh@redhat.com>
5981
5982 * Makefile.am (install-data-local): Use optional $(DESTDIR) where
5983 required, as documented in the gnu coding standards.
5984 * Makefile.in: Regenerate.
5985
f825dfda
JJ
59862000-09-05 Jeff Johnston <jjohnstn@redhat.com>
5987
5988 * libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to
5989 make O_NDELAY and O_NONBLOCK have the same value.
5990
4ba9aab7
JJ
59912000-08-30 Kazu Hirata <kazu@hxi.com>
5992
5993 * libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.
5994
db7acc38
JJ
59952000-08-30 Werner Almesberger <Werner.Almesberger@epfl.ch>
5996
5997 * libc/posix/execve.c: included unistd.h for "_execve" prototype.
5998 * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed
5999 "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like
6000 everywhere else.
6001
44e36af4
GK
60022000-08-30 Geoffrey Keating <geoffk@cygnus.com>
6003
6004 * libc/string/swab.c: Specify that it's defined in <unistd.h>.
6005 * libc/include/string.h: Don't include <sys/types.h>,
6006 as it causes really bad namespace pollution. Don't declare
6007 swab(), it is properly declared in unistd.h.
6008
00a2f168
JJ
60092000-08-29 Werner Almesberger <Werner.Almesberger@epfl.ch>
6010
6011 * libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed
6012 (broken) support for non-existent /etc/passwd field "comment".
6013
6beeb240
JJ
60142000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
6015
6016 * libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen
6017 only if _DIRENT_HAVE_D_NAMLEN is defined.
6018 (alphasort): aligned prototype with
6019 libc/sys/cygwin/sys/dirent.h and simplified function body.
6020 * libc/posix/telldir.c (telldir): changed "telldir" prototype to
6021 long telldir (DIR *) as mentioned in annex B of POSIX.1
6022
ef44da42
JJ
60232000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
6024
6025 * libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type
6026 of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined;
6027 Added __CLI and __STI macros (controlled via
6028 _I386MACH_ALLOW_HW_INTERRUPTS macro).
6029 * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S
6030 libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S
6031 libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S
6032 libc/machine/i386/f_log.S libc/machine/i386/f_log10.S
6033 libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S
6034 libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S
6035 libc/machine/i386/memchr.S libc/machine/i386/memcmp.S
6036 libc/machine/i386/memcpy.S libc/machine/i386/memmove.S
6037 libc/machine/i386/memset.S libc/machine/i386/setjmp.S
6038 libc/machine/i386/strchr.S libc/machine/i386/strlen.S:
6039 (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol)
6040 for all global entry points.
6041 * libc/machine/i386/setjmp.S: removed code replicated in
6042 libc/machine/i386/i386mach.h and included i386mach.h instead;
6043 Use __CLI and __STI instead of cli and sti.
6044
14d3488d
DD
60452000-08-25 DJ Delorie <dj@redhat.com>
6046
6047 * libc/include/sys/unistd.h (environ): this one isn't from the
6048 DLL, no __IMPORT
6049
c9ca4412
CF
6050Fri Aug 25 13:37:11 2000 Christopher Faylor <cgf@cygnus.com>
6051
6052 * libc/stdlib/system.c (do_system): Eliminate explicit declaration of
6053 environ when compiling under cygwin since it is already declared in
6054 unistd.h.
6055
2d5862de
JJ
60562000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
6057
6058 * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
6059 like x << y-z to the equivalent x << (y-z).
6060 (d2b): changed if statements with assignment to perform the
6061 assignment prior to the if check.
6062 * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
6063 * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
6064 * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
6065 * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
6066 precedence.
6067 * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
6068 Added "_execve" prototype (for execl.c, execle.c, execv.c, and
6069 execve.c).
6070 * libc/posix/popen.c (popen): added parentheses to clarify && and ||
6071 precedence.
6072 * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
6073 clarify && and || precendence (and to remove pascalism).
6074 * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
6075 * libm/math/s_infconst.c: added another pair of braces to all
6076 initializers for __infinity (need three: for __infinity[1] array,
6077 for union __dmath, and for i[2]).
6078
0888fedd
JJ
60792000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
6080
199359f0
JJ
6081 * libc/stdlib/abort.c: changed description: uses "raise" instead of
6082 "getpid" and "kill"; added: uses "write" and "_exit".
6083 Also included unistd.h for "_exit" prototype.
6084 * libc/stdlib/system.c: included unistd.h for "execve" prototype,
6085 reent.h for "_fork_r" and "_wait_r" prototypes.
6086 (do_system): changed extern char *environ[] to POSIX-friendly
6087 extern char **environ.
6088 * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp"
6089 prototypes.
6090 * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype.
6091 * libc/reent/execr.c: included sys/wait.h for "wait" prototype.
6092 * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype.
6093 * libc/reent/openr.c: included fcntl.h for "open" prototype.
6094 * libc/reent/signalr.c: included signal.h for "kill" prototype,
6095 unistd.h for "getpid" prototype.
6096 * libc/reent/statr.c: included sys/stat.h for "stat" prototype.
6097 * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype.
6098 * libc/unix/getut.c (utmpname): removed local, incorrect "strdup"
6099 prototype. Also included stdlib.h for "abort", string.h for
6100 "strdup" and "strncmp" prototypes.
6101 * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and
6102 "strncpy", unistd.h for "read" and "close" prototypes.
6103 * libc/posix/execvp.c: included string.h for "strchr", "strlen", and
6104 "strcat" prototypes.
6105
61062000-08-23 Werner Almesberger <Wernen Almesberger@epfl.ch>
6107
0888fedd
JJ
6108 * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's
6109 used later (ifdef __SCLE)
6110 * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's
6111 used later (ifdef MB_CAPABLE)
6112 * libc/string/memset.c (memset): removed unused variables "count"
6113 and "unaligned_addr"
6114 * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and
6115 "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE)
6116 * libc/unix/getpwent.c (getpwnam): removed unused variables "uid"
6117 and "gid"
6118
a334e5ef
JJ
61192000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
6120
6121 * libc/stdlib/envlock.c: changed documented "__env_lock" and
6122 "__env_unlock" prototype from "void *" or "char *" to
6123 "struct _reent *" to match real function. Also added include
6124 of envlock.h.
6125 * libc/stdlib/mlock.c: changed documented "__malloc_lock" and
6126 "__malloc_unlock" prototype from "void *" or "char *" to
6127 "struct _reent *" to match real function.
6128 * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock"
6129 prototypes (for getenv_r.c and setenv_r.c).
6130
644b7f26
DD
61312000-08-22 Werner Almesberger <Werner.Almesberger@epfl.ch>
6132
6133 * libc/unix/getut.c (utmpname): added _CONST to reflect common use
6134 and prototype in cygwin's utmp.h
6135
5bacbf10
JJ
61362000-08-16 Eric Fifer <efifer@sanwaint.com>
6137
6138 * libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
6139
38a6bf98
NC
61402000-08-09 Nick Clifton <nickc@cygnus.com>
6141
6142 * libc/sys/arm/setjmp.S: Recode to clean up function prologues and
6143 epilogue and to allow the functions to be used in a Thumb based
6144 toolchain.
6145
befe0fb3
JJ
61462000-08-08 Jeff Johnston <jjohnstn@redhat.com>
6147
6148 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code
6149 so size of 0 results in nothing being written to string.
6150 Also fixed code so that when size is non-zero, there is only
6151 a maximum of size - 1 characters written to the array and
6152 a nul terminator is appended at the end.
6153 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
6154
749d9bcd
DD
61552000-08-01 DJ Delorie <dj@redhat.com>
6156
6157 * libc/include/sys/config.h: define __IMPORT appropriately
6158 * libc/include/ctype.h (_ctype_): use __IMPORT
6159 * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto
6160 * libc/include/math.h (__mb_cur_max): ditto
6161 * libc/include/time.h (_timezone, _daylight, _tzname): ditto
6162 * libc/include/unctrl.h (__unctrl, __unctrllen): ditto
6163 * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto
6164 * libc/include/unistd.h (environ): ditto
6165
7c110b17
MM
61662000-07-28 Michael Meissner <meissner@redhat.com>
6167
6168 * libc/include/math.h (__infinity): Declare as an array without
6169 bounds to get around small data support. Rewrite Cygwin support
6170 to be more general.
6171 * libm/math/s_infconst.c (__infinity): Ditto.
6172 * libm/mathfp/s_infconst.c (__infinity): Ditto.
6173
bf7be721
CF
6174Thu Jul 27 10:46:01 2000 Christopher Faylor <cgf@cygnus.com>
6175
6176 * libc/include/math.h: Use appropriate dll import linkage for
6177 __infinity under Cygwin.
6178
91a8d90b
DD
61792000-07-13 DJ Delorie <dj@cygnus.com>
6180
6181 * libc/stdio/vfprintf.c: pad 0.0 correctly with %e
6182
ba2048d3
JJ
6183Wed Jun 28 14:08:00 2000 Keith Walker <keith.walker@arm.com>
6184
6185 * libc/sys/arm/crt0.S (.LC30): Added missing length parameter
6186 to argument list for AngelSWI_Reason_GetCmdLine.
6187
4634da64
JJ
6188Tue Jun 27 15:49:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
6189
6190 * configure.host: Add support for AVR target.
6191 * libc/include/machine/ieeefp.h: Likewise.
6192 * libc/include/sys/config.h: Likewise.
6193
b19f72a2
RK
6194Thu Jun 22 18:35:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
6195
6196 * README: Newlib 1.8.2 must be built in a separate directory
6197 than the sources.
6198
a704d94a
JJ
6199Tue Jun 20 14:30:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
6200
6201 * libc/include/sys/reent.h (_rand_next): Added __extension__
6202 qualifier as long long type is not strict ANSI.
6203 * libc/stdlib/rand.c (rand): Added __extension__ qualifier
6204 to long long constant.
6205
b585720b
CV
6206Fri Jun 16 23:02:00 2000 Corinna Vinschen <corinna@vinschen.de>
6207
6208 * libc/include/sys/unistd.h: Add prototypes for `seteuid' and
6209 `setegid' provided by Cygwin.
6210
01c327ba
CV
6211Thu Jun 15 0:21:00 2000 Corinna Vinschen <corinna@vinschen.de>
6212
6213 * libc/stdio/fdopen.c: Take explicit given bin/textmode into
6214 account for Cygwin.
6215
46a43a99
JJ
6216Fri Jun 9 14:28:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
6217
6218 * libc/include/sys/reent.h (_rand_next): Changed to
6219 unsigned long long and moved to end of _reent struct in _new union.
6220 (_REENT_INIT): Changed to move _rand_next initialization.
6221 * libc/stdlib/rand.c (rand): Changed to use unsigned long long
6222 linear congruential algorithm that is used by DJGPP.
6223
a68078cb
RK
6224Thu Jun 8 21:18:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
6225
6226 * libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX.
6227 * libc/include/sys/config.h: Define __RAND_MAX.
6228
518882f3
JJ
6229Thu Jun 8 17:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
6230
6231 * libc/stdlib/rand_r.c: New algorithm that meets minimal
6232 standard.
6233
d51d968a
CF
6234Fri Jun 2 23:02:11 2000 Christopher Faylor <cgf@cygnus.com>
6235
6236 * libc/include/string.h: Work around problem with strsignal and gdb.
6237
d2dd5765
CF
6238Tue May 30 13:13:01 2000 Christopher Faylor <cgf@cygnus.com>
6239
6240 * libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__
6241 * libc/include/malloc.h: Ditto.
6242 * libc/include/process.h: Ditto.
6243 * libc/include/stdio.h: Ditto.
6244 * libc/include/stdlib.h: Ditto.
6245 * libc/include/time.h: Ditto.
6246 * libc/include/machine/setjmp.h: Ditto.
6247 * libc/include/sys/errno.h: Ditto.
6248 * libc/include/sys/signal.h: Ditto.
6249 * libc/include/sys/stat.h: Ditto.
6250 * libc/include/sys/time.h: Ditto.
6251 * libc/include/sys/unistd.h: Ditto.
6252 * libc/include/string.h: Ditto. strsignal should return a const char *.
6253
88870218
JJ
62542000-05-26 Marek Michalkiewicz <marekm@linux.org.pl>
6255
6256 * libm/common/s_expm1.c (expm1): Add curly braces, avoid warnings.
6257 * libm/common/s_log1p.c (log1p): Likewise.
6258 * libm/common/s_scalbn.c (scalbn): Likewise.
6259 * libm/math/e_log.c: Likewise.
6260 * libm/math/e_asin.c: Likewise.
6261 * libm/math/ef_asin.c: Likewise.
6262 * libm/math/e_j0.c (pzero, qzero): Remove redundant test.
6263 * libm/math/e_j1.c (pone, qone): Likewise.
6264 * libm/math/ef_j0.c (pzerof, qzerof): Likewise.
6265 * libm/math/ef_j1.c (ponef, qonef): Likewise.
6266 * libm/mathfp/e_j0.c (pzero, qzero): Likewise.
6267 * libm/mathfp/e_j1.c (pone, qone): Likewise.
6268 * libm/mathfp/ef_j0.c (pzerof, qzerof): Likewise.
6269 * libm/mathfp/ef_j1.c (ponef, qonef): Likewise.
6270
c4e1aa01
DD
62712000-05-19 DJ Delorie <dj@cygnus.com>
6272
6273 * libc/stdio/stdio.c (__stextmode): new, see if file is text mode
6274 (__sread): always read in binary mode
6275 (__swrite): always write in binary mode
6276 * libc/include/stdio.h: no getc/putc macros for cygwin; causes
6277 compatibility issues with different dll versions
6278 * libc/stdio/fopen.c: use __stextmode
6279 * libc/stdio/fdopen.c: ditto
6280 * libc/stdio/freopen.c: ditto
6281 * libc/stdio/findfp.c: set up __SCLE for std{in,out,err}
6282 * libc/stdio/local.h: declare __stextmode
6283
f4393261
DD
62842000-05-18 DJ Delorie <dj@cygnus.com>
6285
6286 * libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLE
6287
2b533fac
JJ
6288Mon May 15 18:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
6289
6290 * libc/include/ctype.h: Changed tolower and toupper macros
6291 to use __extension__ to prevent pedantic warnings.
6292
75362a76
RK
6293Mon May 15 14:26:00 2000 Joel Sherrill <joel@oarcorp.com>
6294
6295 * libc/sys/rtems/sys/time.h: Add macros for manipulating timeval
6296 structures.
6297
ec463fc7
JW
6298Wed May 10 19:24:53 2000 Jim Wilson <wilson@cygnus.com>
6299
6300 * libc/include/machine/ieeefp.h: Add ia64 support.
6301 * configure.host: Likewise.
6302
f35ceefa
JJ
6303Wed May 10 13:52:24 2000 Egor Duda <deo@logos-m.ru>
6304
6305 * libc/time/asctime_r.c (asctime_r): Change output format. Day of
6306 month is now padded with space, not zero. This now conforms to
6307 ANSI standard.
6308
b96fca8c
CV
6309Wed May 03 17:57:00 2000 Corinna Vinschen <corinna@vinschen.de>
6310
6311 * libc/include/sys/errno.h: Add define for ENOSHARE ("No such
6312 host or network path") used by cygwin. Add some comments.
6313
49d64538
JJ
6314Tue May 02 23:45:48 2000 DJ Delorie <dj@cygnus.com>
6315
6316 * libc/include/stdio.h (FILE): define __SCLE for "convert line
6317 endings" for Cygwin.
6318 (__sgetc): convert line endings if needed
6319 (__sputc): ditto
6320 * libc/stdio/fdopen.c (_fdopen_r): Remember if we opened in text mode
6321 * libc/stdio/fopen.c (_fopen_r): ditto
6322 * libc/stdio/freopen.c (freopen): ditto
6323 * libc/stdio/fread.c (fread): perform CRLF conversions if __SCLE
6324 * libc/stdio/fvwrite.c (__sfvwrite): ditto
6325
91fb1e7f
AO
6326Thu Apr 27 07:45:48 2000 Alexandre Oliva <aoliva@cygnus.com>
6327
6328 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Use
6329 post-increment when it is worth it, spacewise.
6330
c87be3e4
JJ
6331Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
6332
6333 * libc/signal/signal.c (_signal_r) : Removed unused local variable temp.
6334 * libc/stdio/findfp.c (std): Added declaration of flags and file.
6335 * libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int
6336 return type.
6337 * libc/stdio/putchar.c (putchar): Added return statement.
6338 * libc/stdio/refill.c (lflush): Added correct parentheses.
6339 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
6340 * libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which
6341 prints long value to use l qualifier.
6342 * libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning
6343 messages and initialized local values: ilim, ilim1, and spec_case.
6344 * libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp.
6345 * libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses.
6346 * libc/stdlib/mprec.c: Ditto.
6347 * libc/stdlib/setenv_r.c: Ditto.
6348 * libc/stdlib/strtod.c: Ditto.
6349 * libc/stdlib/strtol.c: Ditto.
6350 * libc/stdlib/strtoul.c: Ditto.
6351 * libm/common/sf_expm1.c: Added curly braces to if else clauses.
6352 * libm/common/sf_log1p.c: Ditto.
6353 * libm/common/sf_scalbn.c: Ditto.
6354 * libm/math/ef_log.c: Ditto.
6355
11f5b065
CV
6356Sun Apr 16 12:45:00 2000 Corinna Vinschen <corinna@vinschen.de>
6357
6358 * libc/posix/execvp.c (execvp): Check path for
6359 trailing slash.
6360
796e3b20
CV
6361Fri Mar 31 20:39:00 2000 Corinna Vinschen <corinna@vinschen.de>
6362
6363 * libc/include/sys/unistd.h: Add prototypes for
6364 fchmod, fchown, lchown.
6365
b489803a
JJ
6366Fri Mar 24 15:34:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
6367
6368 * acinclude.m4: Changed release to 1.8.2.
6369 * aclocal.m4 configure doc/aclocal.m4 doc/configure
6370 libc/aclocal.m4 libc/configure libc/machine/aclocal.m4
6371 libc/machine/configure libc/machine/a29k/aclocal.m4
6372 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
6373 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
6374 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
6375 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
6376 libc/machine/fr30/configure libc/machine/h8300/aclocal.m4
6377 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
6378 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
6379 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
6380 libc/machine/i386/configure libc/machine/i960/aclocal.m4
6381 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
6382 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
6383 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
6384 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
6385 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
6386 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
6387 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
6388 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
6389 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
6390 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
6391 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
6392 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
6393 libc/machine/v850/configure libc/machine/w65/aclocal.m4
6394 libc/machine/w65/configure libc/machine/z8k/aclocal.m4
6395 libc/machine/z8k/configure libc/sys/aclocal.m4
6396 libc/sys/aclocal.m4 libc/sys/configure
6397 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
6398 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
6399 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
6400 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
6401 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
6402 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
6403 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
6404 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
6405 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
6406 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
6407 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
6408 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
6409 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
6410 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
6411 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
6412 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
6413 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
6414 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
6415 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
6416 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
6417 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
6418 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
6419 libm/aclocal.m4 libm/configure: Regenerated.
6420
79908d67
NC
64212000-03-24 Nick Clifton <nickc@cygnus.com>
6422
6423 * libc/sys/arm/syscalls.c: Fix compile time warnings.
6424 (do_AngelSWI): Add "cc" to list o registers clobbered.
6425
7684ddaf
FN
6426Thu Mar 22 14:57:00 2000 Fernando Nasser <fnasser@redhat.com>
6427
6428 * libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid
6429 information to be clobbered by an Angel C library support syscall.
6430
b8ec20c8
JJ
6431Tue Mar 21 19:08:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
6432
6433 * libc/stdlib/envlock.c: Fixed comment typo.
6434
fae4c299
JJ
6435Fri Mar 17 15:37:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
6436
6437 * libc/stdio/vfscanf.c (__svfscanf): Fixed floating point
6438 code to update nread as each character is processed instead
6439 of using buffer contents which throw away leading zeroes.
6440
dc98804b
RK
6441Mon Mar 13 15:22:00 2000 Sergei Organov <osv@javad.ru>
6442
6443 * libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
6444
5ed2f523
JJ
6445Fri Mar 10 16:09:20 2000 Jeff Johnston <jjohnstn@cygnus.com>
6446
6447 * libc/include/string.h: Include <sys/types.h>.
6448
1cf0ee34
AO
6449Fri Mar 10 14:53:50 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
6450
6451 * libc/stdio/putw.c (putw): Return 0 on success, to be compliant
6452 with XSH5, not SVID.
6453
e9c94978
JJ
6454Thu Mar 9 17:20:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
6455
6456 * libc/include/string.h: Changed last argument back to ssize_t
6457 to make it compatible with XPG4 definition which is
6458 defined in <unistd.h>. There is a conflict in the SVID 3
6459 and XPG4 definitions and newlib will settle with XPG4.
6460 * libc/string/swab.c: Ditto.
6461
3072163c
JJ
6462Wed Mar 8 17:11:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
6463
6464 * libc/include/string.h: Changed last argument to size_t.
6465 * libc/string/swab.c: Changed last argument to size_t.
6466
f205ea7a
AO
6467Wed Mar 8 00:46:41 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
6468
6469 * libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.
6470 (CHEWOUT_FILES): Added unlinkr.def.
6471 * libc/reent/Makefile.in: Rebuilt.
6472 * libc/sys.tex: Include unlinkr.def.
6473 * libc/reent/linkr.c (_unlink_r): Moved to...
6474 * libc/reent/unlinkr.c: ... new file.
6475
85dd2e5b
AO
6476Wed Mar 8 00:43:07 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
6477
6478 * libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.
6479 (CHEWOUT_FILES): Added swab.def.
6480 * libc/string/Makefile.in: Rebuilt.
6481 * libc/string/string.tex: Include swab.def.
6482 * libc/include/string.h (swab): Declare.
6483 * libc/string/swab.c: New file.
6484
c5053058
AO
6485Wed Mar 8 00:38:35 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
6486
6487 * libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.
6488 (CHEWOUT_FILES): Added getw.def and putw.def.
6489 * libc/stdio/Makefile.in: Rebuilt.
6490 * libc/stdio/stdio.tex: Include getw.def and putw.def.
6491 * libc/stdio/getw.c: New file.
6492 * libc/stdio/putw.c: New file.
6493
dbaf37cf
JJ
6494Fri Feb 25 14:50:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
6495
6496 * libc/stdio/flags.c (__sflags): Added check that mode[1]
6497 is non-null before looking at mode[2].
6498
bc019ef2
RK
6499Thu Feb 24 11:43:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
6500
6501 * libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS.
6502 * libm/mathfp/sf_atan.c: Ditto.
6503
6504Thu Feb 24 11:39:00 2000 Joel Sherrill <joel@OARcorp.com>
6505
6506 * libc/include/sys/stat.h: Add RTEMS prototype for lstat.
6507
cd641b2d
RK
6508Tue Feb 22 14:37:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
6509
6510 * libm/mathfp/sf_exp.c: Corrected _DOUBLE_IS_32_BITS to be
6511 _DOUBLE_IS_32BITS.
6512
b0ba0ac2
JJ
6513Mon Feb 21 11:43:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
6514
6515 * libc/stdio/vfprintf.c (VFPRINTF): Added CHECK_INIT
6516 call prior to calling _VFPRINTF_R so reentrant data area is set.
6517 (_VFPRINTF_R): Removed now extraneous CHECK_INIT call.
6518
8a0efa53
CF
6519Thu Feb 17 01:42:50 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
6520
6521 * libc/stdio/vfscanf.c (limits.h): #include.
6522 (MAX_LONG_LEN): #define.
6523 (__svfscanf): Handle floating point numbers with arbitrary amounts
6524 of leading zeroes.
6525
65262000-02-15 Nick Clifton <nickc@cygnus.com>
6527
6528 * libc/sys/arm/syscalls.c (_fstat): Initialise all fields to
6529 zero. Set the blocksize to 1024/
6530
6531Thu Jan 20 18:57:00 2000 Fernando Nasser <fnasser@redhat.com>
6532
6533 * setvbuf.c (setvbuf): Set size to BUFSIZ when passed a zero size
6534 with line buffering.
6535
6536Mon Jan 10 18:43:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
6537
6538 * acinclude.m4: Changed include directory for winsup headers.
6539 * aclocal.m4 configure libc/aclocal.m4
6540 libc/configure libc/ctype/Makefile.in libc/errno/Makefile.in
6541 libc/locale/Makefile.in libc/machine/aclocal.m4
6542 libc/machine/configure libc/machine/a29k/aclocal.m4
6543 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
6544 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
6545 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
6546 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
6547 libc/machine/fr30/configure
6548 libc/machine/h8300/aclocal.m4
6549 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
6550 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
6551 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
6552 libc/machine/i386/configure libc/machine/i960/aclocal.m4
6553 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
6554 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
6555 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
6556 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
6557 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
6558 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
6559 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
6560 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
6561 libc/machine/powerpc/configure
6562 libc/machine/sh/aclocal.m4
6563 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
6564 libc/machine/sparc/configure
6565 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
6566 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
6567 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
6568 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
6569 libc/misc/Makefile.in libc/posix/Makefile.in
6570 libc/reent/Makefile.in
6571 libc/signal/Makefile.in
6572 libc/string/Makefile.in libc/sys/aclocal.m4 libc/sys/configure
6573 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
6574 libc/sys/arm/Makefile.in libc/sys/arm/aclocal.m4
6575 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
6576 libc/sys/cygwin/configure libc/sys/d10v/Makefile.in
6577 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
6578 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
6579 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
6580 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
6581 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
6582 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
6583 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
6584 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
6585 libc/sys/sh/Makefile.in libc/sys/sh/aclocal.m4
6586 libc/sys/sh/configure libc/sys/sparc64/aclocal.m4
6587 libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4
6588 libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4
6589 libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4
6590 libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4
6591 libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4
6592 libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4
6593 libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4
6594 libc/sys/tic80/configure libc/sys/w65/aclocal.m4
6595 libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4
6596 libc/sys/z8ksim/configure libc/syscalls/Makefile.in
6597 libc/time/Makefile.in libc/unix/Makefile.in libm/aclocal.m4
6598 libm/configure: Regenerated.
6599
6600Mon Jan 10 18:43:46 2000 Jeff Johnston <jjohnstn@cygnus.com>
6601
6602 * libc/stdlib/putenv_r.c (_putenv_r): New file.
6603 * libc/stdlib/strdup_r.c (_strdup_r): New file.
6604 * libc/include/string.h: Added _strdup_r.
6605 * libc/stdlib/putenv.c: Added call to reentrant version.
6606 * libc/stdlib/strdup.c: Ditto.
6607 * libc/stdlib/Makefile.am: Added _putenv_r and _unsetenv_r.
6608 * libc/include/stdlib.h: Ditto.
6609 * libc/stdlib/Makefile.in: Regenerated.
6610 * libc/string/Makefile.in: Regenerated.
6611 * libc/stdlib/setenv.c: Added reentrant version of unsetenv.
6612 * libc/stdlib/setenv_r.c: Added unsetenv_r and changed memory
6613 management calls to reentrant versions.
6614 * libc/stdlib/wcstombs.c: Added #ifndef _REENT_ONLY wrapper.
6615 * libc/stdlib/wctomb.c: Ditto.
6616 * libc/stdlib/mblen.c: Ditto.
6617 * libc/stdlib/mbstowcs.c: Ditto.
6618 * libc/stdlib/mbtowc.c: Ditto.
6619 * libc/stdlib/getenv.c: Ditto.
6620 * libc/reent/reent.tex: Added references to _putenv_r, _setenv_r,
6621 and _strdup_r.
6622
6623Thu Jan 6 15:33:46 2000 Christopher Faylor <cgf@cygnus.com>
6624
6625 patch from Corinna Vinschen <corinna@vinschen.de>
6626 * libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16.
6627
bc019ef2 6628Mon Jan 03 14:36:00 2000 Sergei Organov <osv@javad.ru>
8a0efa53
CF
6629
6630 * libm/mathfp/s_atangent.c: Fix exponent calculation.
6631 * libm/mathfp/s_ldexp.c: Ditto.
6632 * libm/mathfp/sf_atangent.c: Ditto.
6633 * libm/mathfp/sf_ldexp.c: Ditto.
6634
6635Tue Dec 14 5:42:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
6636
6637 * libc/machine/i960/setjmp.S: fix typo leaving .link_pix uncommented
6638 * libc/include/locale.h: define NULL to be 0.
6639
6640Tue Dec 7 15:41:45 1999 Jim Wilson <wilson@cygnus.com>
6641
6642 * libc/sys/sh/syscalls.c (stack_ptr): Move definition before first
6643 function.
6644
6645Wed Dec 1 17:39:29 1999 Jeffrey A Law (law@cygnus.com)
6646
6647 * libc/machine/mn10300/setjmp.S: Handle am33.
6648
66491999-11-26 Nick Clifton <nickc@cygnus.com>
6650
6651 * libc/sys/arm/syscalls.c: Add function prototypes.
6652 (stack_ptr): Move declaration before function definitions.
6653
6654Sat Nov 20 17:13:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
6655
6656 * NEWS: Updated version information.
6657 * README: Ditto.
6658
6659Tue Nov 09 12:19:21 1999 Jeff Johnston <jjohnstn@cygnus.com>
6660
6661 * libc/machine/i386/strchr.S: Fixed alignment test.
6662
6663Thu Oct 28 05:30:46 1999 Andrew Cagney <cagney@makita.cygnus.com>
6664
6665 * libc/sys/d10v/crt0.S (_start): Construct a real stack frame.
6666
6667Thu Oct 28 15:29:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
6668
6669 * libc/sys/d10v/crt0.S (_start): Initialize both SPI and SPU
6670 ensuring that there is space between the two.
6671
6672Thu Oct 14 13:39:21 1999 Christopher Faylor <cgf@cygnus.com>
6673
6674 * libc/stdio/flags.c: Conditionalize check for 't' for cygwin case
6675 only.
6676
66771999-10-08 Vadim Egorov <egorovv@1c.ru>
6678
6679 * libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin
6680 section
6681
6682Sat Oct 2 02:02:00 MEST 1999 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
6683
6684 * libc/machine/sh/asm.h: Added __SH4_SINGLE__ to DELAYED_BRANCHES
6685 * libc/machine/sh/memcpy.S: Fix line wrapping in SL macro
6686
6687Fri Oct 1 13:17:59 CDT 1999 <joel@OARcorp.com>
6688 * libc/include/grp.h: Added getgrnam_r and getgrgid_r prototypes
6689 per POSIX 1003.1b.
6690 * libc/include/pwd.h: Added getpwnam_r and getpwuid_r prototypes
6691 per POSIX 1003.1b.
6692
66931999-09-13 DJ Delorie <dj@cygnus.com>
6694
6695 * libc/stdio/mktemp.c (_gettemp): on cygwin, check for EACCESS
6696 also.
6697
6698Thu Sep 9 15:31:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
6699
6700 * setvbuf.c (setvbuf): When mallocing a buffer of size BUFSIZ,
6701 also note BUFSIZ as its size.
6702
6703Tue Sep 7 17:15:00 1999 Joel Sherrill <joel@OARcorp.com>
6704
6705 * configure.host: Corrected feature defines for RTEMS.
6706 * libc/include/sys/stat.h: Added protototype for RTEMS mknod.
6707 * libc/include/sys/stat.h: mkfifo() should take const path arg.
6708 * libc/include/sys/unistd.h: pathconf() should take const path arg.
6709 Enabled usleep(), ftruncate(), and truncate() prototypes for RTEMS.
6710 Added defines for _POSIX_JOB_CONTROL, _POSIX_SAVED_IDS, and
6711 _POSIX_VERSION for RTEMS. Added defines for _PC_ASYNC_IO,
6712 _PC_PRIO_IO, and _PC_SYNC_IO.
6713 * libc/machine/m68k/Makefile.am: Added strcpy.c and strlen.c.
6714 * libc/machine/m68k/Makefile.in: Regenerated.
6715 * libc/machine/m68k/strcpy.c: New file.
6716 * libc/machine/m68k/strlen.c: New file.
6717 * libc/stdio/tmpnam.c: Always make the returned name usable.
6718 * libc/sys/rtems/crt0.c: New version that passes all autoconf tests.
6719 * libc/sys/rtems/sys/dirent.h: New file.
6720 * libc/sys/rtems/sys/types.h: Added dev_t.
6721
6722Tue Sep 7 17:15:00 1999 Jay Kulpinski <jskulpin@eng01.gdds.com>
6723
6724 * libc/stdlib/mprec.c: Fixed unitialized variable problem.
6725
6726Fri Sep 3 12:35:20 1999 Jeff Johnston <jjohnstn@cygnus.com>
6727
6728 * libc/stdio/ftell.c (ftell): Backing off Joern's fix and
6729 my patch.
6730
6731Thu Sep 2 22:05:20 1999 Christopher Faylor <cgf@cygnus.com>
6732
6733 patch from Jeff Johnston <jjohnstn@cygnus.com>
6734 * libc/stdio/ftell.c (ftell): Avoid using buffer position when the
6735 buffer is not in a useful state.
6736
67371999-09-01 Nick Clifton <nickc@cygnus.com>
6738
6739 * libc/sys/arm/syscalls.c (_link): Add stub.
6740
6741Fri Aug 27 23:09:09 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
6742
6743 * ftell.c (ftell): Use actual position within buffer for text mode.
6744 * findfp.c (std): Initialize ptr->_bf._size.
6745
6746Wed Aug 18 18:48:02 1999 Christopher Faylor <cgf@cygnus.com>
6747
6748 * libc/include/sys/unistd.h: Add nice() declaration.
6749
67501999-08-09 Nick Clifton <nickc@cygnus.com>
6751
6752 * libc/sys/arm/crt0.S (change_mode): Rename to __change_mode and
6753 declare as a thumb function so that the disassembler will see the
6754 mode change.
6755
6756Thu Aug 5 17:37:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
6757
6758 * libc/reent/reent.tex: Updated list of reentrant functions.
6759
67601999-07-09 Michael Meissner <meissner@cygnus.com>
6761
6762 * libc/include/stdlib.h (_findenv{,_r}): Add prototypes.
6763
6764Tue Jul 6 10:46:24 1999 Jeff Johnston <jjohnstn@cygnus.com>
6765
6766 * libc/stdio/sprintf.c: Moved snprintf and _snprintf_r to
6767 separate file.
6768 * libc/stdio/snprintf.c: New file.
6769 * libc/stdio/vsprintf.c: Moved vsnprintf and _vsnprintf_r to
6770 separate file.
6771 * libc/stdio/vsnprintf.c: New file.
6772 * libc/stdio/Makefile.am: Added snprintf.c and vsnprintf.c.
6773 * libc/stdio/Makefile.in: Regenerated.
6774
6775Mon Jul 5 14:43:24 1999 Christopher Faylor <cgf@cygnus.com>
6776
6777 Patch submitted by Egor Duda <deo@logos-m.ru>:
6778 * libc/include/stdio.h: Add declarations for *nprintf.
6779 * libc/stdio/sprintf.c (snprintf): New function.
6780 (_snprintf_r): New function.
6781 * libc/stdio/vsprintf.c (vsnprintf): New function.
6782 (_vnsprintf_r): New function.
6783
6784Wed Jun 30 16:36:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
6785
6786 * libc/Makefile.am (stmp-targetdep): Remove extraneous blank.
6787 * libm/Makefile.am (stmp-targetdep): Ditto.
6788 * libc/Makefile.in: Regenerated.
6789 * libm/Makefile.in: Ditto.
6790
6791Fri Jun 25 10:49:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
6792
6793 * libc/Makefile.am (stmp-targetdep): Ignore "." in SUBDIRS.
6794 * libm/Makefile.am (stmp-targetdep): Ditto.
6795 * libc/Makefile.in: Regenerated.
6796 * libm/Makefile.in: Ditto.
6797
6798Thu June 03 16:25:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
6799
6800 * Makefile.am: Removed dependencies on all-recursive and added "."
6801 to the SUBDIRS list to prevent infinite recursion from occurring.
6802 Also removed any references to EXTRA_DATA.
6803 * libc/Makefile.am: Ditto.
6804 * libc/machine/Makefile.am: Ditto.
6805 * libc/machine/i386/Makefile.am: Ditto.
6806 * libm/Makefile.am: Ditto.
6807 * libc/sys/Makefile.am: Ditto.
6808 * Makefile.in: Regenerated.
6809 * aclocal.m4: Ditto.
6810 * configure: Ditto.
6811 * doc/Makefile.in: Ditto.
6812 * doc/aclocal.m4: Ditto.
6813 * doc/configure: Ditto.
6814 * libc/Makefile.in: Ditto.
6815 * libc/aclocal.m4: Ditto.
6816 * libc/configure: Ditto.
6817 * libc/machine/Makefile.in: Ditto.
6818 * libc/machine/aclocal.m4: Ditto.
6819 * libc/machine/configure: Ditto.
6820 * libc/machine/mn10300/Makefile.in: Ditto.
6821 * libc/machine/mn10300/aclocal.m4: Ditto.
6822 * libc/machine/mn10300/configure: Ditto.
6823 * libc/sys/Makefile.in: Ditto.
6824 * libc/sys/aclocal.m4: Ditto.
6825 * libc/sys/configure: Ditto.
6826 * libm/Makefile.in: Ditto.
6827 * libm/aclocal.m4: Ditto.
6828 * libm/configure: Ditto.
6829
6830Thu June 03 16:20:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
6831
6832 * libc/include/stdlib/stdlib.tex: Add link to env_lock.
6833
6834Fri May 28 17:09:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
6835
6836 * libc/include/stdlib.h: Add reentrant routines.
6837 * libc/stdlib/Makefile.am: Add reentrant routines.
6838 * libc/stdlib/Makefile.in: Ditto.
6839 * libc/stdlib/envlock.c: New file.
6840 * libc/stdlib/envlock.h: New file.
6841 * libc/stdlib/getenv.c: Modify to call reentrant routine.
6842 * libc/stdlib/getenv_r.c: New file.
6843 * libc/stdlib/mblen.c: Modify to call reentrant routine.
6844 * libc/stdlib/mblen_r.c: New file.
6845 * libc/stdlib/setenv.c: Modify to call reentrant routine.
6846 * libc/stdlib/setenv_r.c: New file.
6847 * libc/stdlib/stdlib.tex: Add reentrant routines.
6848
6849Mon May 17 22:01:38 1999 Christopher Faylor <cgf@cygnus.com>
6850
6851 * libc/include/sys/types.h: Define __MS_types__ whenever
6852 cygwin or win32.
6853
6854Sun May 16 16:02:41 1999 Christopher Faylor <cgf@cygnus.com>
6855
6856 * libc/include/machine/ieeefp.h: Always default to little
6857 endian if Windows, regardless of architecture.
6858 * libc/include/machine/sethmp.h: Define JBLEN if CYGWIN
6859 regardless of architecture.
6860
6861Mon May 3 11:49:18 1999 Geoffrey Noer <noer@cygnus.com>
6862
6863 * libc/include/machine/setjmp.h: Accept CYGWIN define, even if
6864 _WIN32 isn't defined.
6865
6866Mon May 3 11:41:51 1999 Jeff Johnston <jjohnstn@cygnus.com>
6867
6868 * libm/common/s_rint.c (rint): Add volatile qualifier for
6869 intermediate value w.
6870 * libm/common/sf_rint.c (rintf): Ditto.
6871
6872Thu Apr 29 20:34:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
6873
6874 * libc/sys/arm/syscalls.c (remap_handle): Added check to
6875 ensure that std streams are initialized before being referenced.
6876
68771999-04-27 Jason Molenda (jsm@bugshack.cygnus.com)
6878
6879 * README: Update reference to newlib@cygnus.com new
6880 newlib@sourceware.cygnus.com address.
6881
6882Mon Apr 26 18:17:33 1999 Geoffrey Noer <noer@cygnus.com>
6883
6884 * libc/include/sys/types.h: Define MS_types if CYGWIN is defined.
6885 * libc/include/sys/fcntl.h: Define _O_BINARY et al if CYGWIN is
6886 defined, even if _WIN32 isn't defined.
6887
6888Sat Apr 24 19:59:55 1999 Christopher Faylor <cgf@cygnus.com>
6889
6890 * libc/include/sys/fcntl.h: Correct _O_CREATE to _O_CREAT.
6891
6892Wed Apr 21 18:01:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
6893
6894 * libc/include/sys/reent.h: Change Long and ULong to __Long and
6895 __ULong.
6896 * libc/stdlib/dtoa.c: Ditto.
6897 * libc/stdlib/mprec.c: Ditto.
6898 * libc/stdlib/mprec.h: Ditto.
6899 * libc/stdlib/strtod.c: Ditto.
6900
69011999-04-21 Nick Clifton <nickc@cygnus.com>
6902
6903 * configure.host (mcore): Remove mcore machine directory.
6904
69051999-04-18 Nick Clifton <nickc@cygnus.com>
6906
6907 * libc/include/machine/ieeefp.h: Add support for mcore target.
6908 * libc/include/machine/setjmp.h: Add support for mcore target.
6909 * configure.host: Add support for mcore target.
6910
69111999-04-13 Mark Salter <msalter@cygnus.com>
6912
6913 * libc/sys/arm/libcfunc.c: Moved isatty to syscall.c
6914 * libc/sys/arm/syscalls.c: Added isatty.
6915
6916Wed Apr 07 16:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
6917
6918 * libc/stdlib/ecvtbuf.c (fcvtbuf): Fixed code to properly
6919 insert zeroes after significant digits.
6920
6921Wed Mar 17 22:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
6922
6923 * libc/stdio/vfprintf.c (cvt): Changed floating point
6924 cvt routine to use union used by dtoa to properly determine
6925 if the sign bit is on or not.
6926 * libc/stdio/vfieeefp.h: New file
6927
6928Wed Mar 17 17:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
6929
6930 * aclocal.m4: Regenerated.
6931 * configure: Regenerated.
6932
6933Wed Mar 17 16:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
6934
6935 * libc/machine/i386/Makefile.am (lib_a_SOURCES): Added missing
6936 f_tanf reference.
6937 * libc/machine/i386/Makefile.in: Regenerated.
6938
6939Tue Mar 16 14:56:36 1999 Jeff Johnston <jjohnstn@cygnus.com>
6940
6941 * acinclude.m4: Changed to work with new automake.
6942 * configure: Regenerated.
6943 * libc/machine/i386/aclocal.m4: Regenerated.
6944 * libc/machine/i386/configure: Regenerated.
6945
6946Tue Mar 16 13:55:36 1999 Corinna Vinschen <corinna.vinschen@cityweb.de>
6947
6948 * libc/sys/cygwin/sys/dirent.h: Add additional prototypes
6949 for telldir() and seekdir(). Rename unused structure element
6950 for use with these two routines.
6951
6952Fri Mar 12 19:11:58 1999 Jeff Johnston <jjohnstn@cygnus.com>
6953
6954 * libc/time/mktime.c (validate_structure): Multiple fixes to
6955 code to handle cases where input fields are outside valid ranges.
6956 * libc/stdlib/div.c (div): Modified invalid rounding check.
6957 * libc/stdlib/ldiv.c (ldiv): Ditto.
6958
6959Thu Mar 11 21:32:13 1999 Jeff Johnston <jjohnstn@cygnus.com>
6960
6961 * libc/machine/i386/memcpy.S: Performance rewrite.
6962 * libc/machine/i386/memmove.S: Ditto.
6963 * libc/machine/i386/i386mach.h: Added more register definitions.
6964 * libc/include/math.h: Include <machine/fastmath.h> if -ffast-math
6965 option used.
6966 * libc/include/machine/fastmath.h: Add definitions for x86
6967 fast-math routines.
6968
6969Wed Mar 10 17:56:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
6970
6971 * libc/stdlib/strtod.c: Change from unsigned long to ULong.
6972
6973Tue Mar 9 14:31:58 1999 Geoffrey Noer <noer@cygnus.com>
6974
6975 Adjust newlib headers for new Cygwin Win32 API header files:
6976 * libc/include/sys/time.h: Check _WINSOCK_H rather than
6977 _GNU_H_WINDOWS32_SOCKETS.
6978 * libc/include/sys/types.h: Ditto.
6979
6980Tue Mar 09 15:55:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
6981
6982 *include/sys/reent.h: Add checks for size of Bigint element Long.
6983 *libc/dtoa.c: Change routines to use generic Long type.
6984 *libc/mprec.c: Change routines to use generic Long type.
6985 *libc/mprec.h: Change routines to use generic Long type.
6986
6987Tue Mar 02 18:07:49 1999 Ranjith Kumaran <ranjith@cygnus.com>
6988
6989 * libc/Makefile.am: Add .def files.
6990 * libc/Makefile.in: Regenerate.
6991 * libc/e_acosh.c: Documentation update.
6992 * libc/e_atanh.c: Documentation update.
6993 * libc/e_hypot.c: Documentation update.
6994 * libc/e_remainder.c: Documentation update.
6995 * libc/er_lgamma.c: Documentation update.
6996 * libc/mathfp.tex: Documentation update.
6997 * libc/s_acos.c: Documentation update.
6998 * libc/s_atan.c: Documentation update.
6999 * libc/s_atan2.c: Documentation update.
7000 * libc/s_cosh.c: Documentation update.
7001 * libc/s_fmod.c: Documentation update.
7002 * libc/s_isnan.c: Documentation update.
7003 * libc/s_log10.c: Documentation update.
7004 * libc/s_pow.c: Documentation update.
7005 * libc/w_jn.c: Documentation update.
7006
7007Sun Feb 28 23:18:49 1999 Geoffrey Noer <noer@cygnus.com>
7008
7009 * aclocal.m4: Regenerate.
7010 * configure: Regenerate.
7011
7012Tue Feb 23 13:57:26 1999 Jeff Johnston <jjohnstn@cygnus.com>
7013
7014 * libc/machine/mn10300/setjmp.S (_longjmp): Fixed longjmp
7015 to return 1 if user specified return code is 0.
7016 * libc/machine/mn10200/setjmp.S (_longjmp): Ditto.
7017
7018Thu Feb 18 11:13:28 1999 Jeff Johnston <jjohnstn@cygnus.com>
7019
7020 * libc/machine/mn10200/setjmp.S (_setjmp/_longjmp): Fixed setjmp
7021 to save the return address. Fixed longjmp to return to the original
7022 calling address of setjmp and to return the user specified return code
7023 rather than default to 1.
7024 * libc/machine/mn10300/setjmp.S (_setjmp/_longjmp): Ditto.
7025
7026Mon Feb 15 17:48:17 1999 Jeff Johnston <jjohnstn@cygnus.com>
7027
7028 * libc/stdlib/mprec.h (mult): Define mult to be _multiply instead of _mult.
7029
70301999-02-10 Nick Clifton <nickc@cygnus.com>
7031
7032 * libc/sys/arm/syscalls.c (initialise_monitor_handles): Make block
7033 volatile so that its assignments will not be discarded.
7034
7035Wed Feb 10 17:19:40 1999 Jeff Johnston <jjohnstn@cygnus.com>
7036
7037 * libc/include/_ansi.h: Corrected _STRICT_ANSI reference to
7038 be __STRICT_ANSI__ which is generated by compiler.
7039 * libc/include/ctype.h: Ditto.
7040 * libc/include/math.h: Ditto.
7041 * libc/include/stdio.h: Ditto.
7042 * libc/include/stdlib.h: Ditto.
7043 * libc/include/string.h: Ditto.
7044 * libc/include/sys/signal.h: Ditto.
7045
70461999-02-08 Nick Clifton <nickc@cygnus.com>
7047
7048 * configure.host: Add support for StrongARM target.
7049
7050Fri Feb 5 11:13:14 1999 Jeff Johnston <jjohnstn@cygnus.com>
7051
7052 * libc/string/strncpy.c (strncpy): Removed redundant code
7053 that was copying bytes if data unaligned.
7054
70551999-02-02 Brendan Kehoe <brendan@cygnus.com>
7056
7057 * libc/stdlib/Makefile.{am,in} (CHEWOUT_FILES): Add mblen.def,
7058 mbstowcs.def, and wcstombs.def.
7059
7060Sat Jan 30 02:36:33 1999 Christopher Faylor <cgf@cygnus.com>
7061
7062 * libc/include/sys/errno.h: Add Cygwin errno.
7063 * libc/stdio/flags.c: Don't default to O_TEXT if no other flag
7064 is specified.
7065
70661999-01-29 Nick Clifton <nickc@cygnus.com>
7067
7068 * libc/sys/arm/syscalls.c: Move C library functions into seperate
7069 file.
7070
7071 * libc/sys/arm/libcfunc.c: New file containing C library functions
7072 from syscalls.c
7073
7074 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add libcfuncs.c
7075 * libc/sys/arm/Makefile.in (lib_a_SOURCES): Regenerate.
7076
7077
70781999-01-27 Michael Meissner <meissner@cygnus.com>
7079
7080 * libc/include/machine/setjmp.h (D30V _JBLEN/_JBTYPE): Use double
7081 type, and cut size in half so that the jmp_buf array is guaranteed
7082 to be aligned on a 64-bit boundary.
7083
7084Mon Jan 25 12:05:38 1999 Jeff Johnston <jjohnstn@cygnus.com>
7085
7086 * libc/string/strings.tex: Added information about
7087 strcasecmp and strncasecmp.
7088 * libc/stdlib/stdlib.tex: Added missing information
7089 about mblen, mbstowcs, and wcstombs.
7090 * libc/string/strchr.c: Changed how mask is built to use
7091 shift operators so register will be used instead of storage.
7092
70931999-01-22 DJ Delorie <dj@cygnus.com>
7094
7095 * libc/include/stdlib.h: don't use dllimport if we're building
7096 newlib, since it's inside cygwin.dll
7097
7098Fri Jan 22 14:57:18 1999 Christopher Faylor <cgf@cygnus.com>
7099
7100 * libc/ctype/ctype_.c: Need to use __declspec(dllexport) for
7101 _ctype_ under cygwin.
7102
7103Fri Jan 22 09:50:19 1999 Christopher Faylor <cgf@cygnus.com>
7104
7105 * include/stdlib.h: Fix typo from previous checkin.
7106
7107Thu Jan 21 22:42:21 1999 Christopher Faylor <cgf@cygnus.com>
7108
7109 * include/ctype.h: Use __declspec(dllimport) method for exporting
7110 variable from cygwin DLL.
7111 * include/time.h: Ditto.
7112 * sys/errno.h: Ditto.
7113 * include/stdlib.h: Export __mb_cur_max from cygwin DLL.
7114 * libc/locale/locale.c: Use __declspec(dllexport) method for
7115 exporting variable from cygwin DLL.
7116
7117Sat Jan 16 13:29:54 1999 Christopher Faylor <cgf@cygnus.com>
7118
7119 * libc/stdio/setvbuf.c: Always clean up when _IONBF or possible
7120 access of bogus pointer will result in SIGSEGV.
7121
71221999-01-07 Nick Clifton <nickc@cygnus.com>
7123
7124 * libc/sys/arm/setjmp.S: Use C macros to cope with the possibility
7125 of an underscore prefix to function names.
7126
7127Fri Jan 8 19:00:07 1999 Jeff Johnston <jjohnstn@cygnus.com>
7128
7129 * libc/machine/i386/i386mach.h (__REG_PREFIX__): Create new
7130 define __REG_PREFIX__ instead of using __REGISTER_PREFIX__.
7131
71321998-12-31 Michael Meissner <meissner@cygnus.com>
7133
7134 * libc/machine/i386/i386mach.h (__REGISTER_PREFIX__): Only define
7135 to `%' if not already defined.
7136
71371998-12-30 Michael Meissner <meissner@cygnus.com>
7138
7139 * libc/stdio/tmpnam.c (_tempnam_r): Make directory and prefix
7140 arguments const char *, not char *.
7141 * libc/include/stdio.h (_tempnam_r): Ditto.
7142
7143 * libc/include/sys/reent.h (struct _reent): The _sig_func type
7144 points to a function taking an integer, not void.
7145
7146Tue Dec 29 14:35:53 1998 Christopher Faylor <cgf@cygnus.com>
7147
7148 * configure.host: Add a define for Cygwin builds.
7149 * libc/include/ctype.h: Don't use dll imported variables in newlib.
7150
7151Mon Dec 28 09:19:56 1998 Christopher Faylor <cgf@cygnus.com>
7152
7153 * libc/include/ctype.h: Define _ctype_ as dll imported variable
7154 for use with Cygwin.
7155 * libc/include/sys/errno.h: Define _sys_errlist and _sys_nerr as
7156 dll imported variables for use with Cygwin.
7157 * libc/ctype/ctype_.c: Undefine _ctype_ in case it has been defined
7158 as a dll imported variable for Cygwin.
7159
7160Sat Dec 26 00:13:53 1998 Christopher Faylor <cgf@cygnus.com>
7161
7162 * libc/include/sys/unistd.h: Add proto for getpass.
7163
7164Fri Dec 18 19:28:19 1998 Geoffrey Noer <noer@cygnus.com>
7165
7166 * libc/sys/cygwin/sys/dirent.h: add protos for scandir and
7167 alphasort.
7168
7169Fri Dec 18 16:33:25 1998 Geoffrey Noer <noer@cygnus.com>
7170
7171 * libc/posix/execvp.c (execvp): call cygwin_posix_path_list_p,
7172 not posix_path_list_p.
7173
71741998-12-15 Nick Clifton <nickc@cygnus.com>
7175
7176 * libc/string/memchr.c: Treat 'c' argument as an unsigned byte not
7177 a signed int.
7178
71791998-12-13 Nick Clifton <nickc@cygnus.com>
7180
7181 * libc/include/machine/setjmp.h (_JBLEN): Set to 10.
7182
71831998-12-12 Nick Clifton <nickc@cygnus.com>
7184
7185 * libc/machine/fr30/setjmp.S: New file, supplied by Mark Slater
7186 <msalter@cygnus.com>
7187 * libc/machine/fr30/Makefile.am: Add build of setjmp.S
7188 * libc/machine/fr30/Makefile.in: Regenerated.
7189
71901998-12-11 Nick Clifton <nickc@cygnus.com>
7191
7192 * configure.host: Remove use of libc/sys for FR30 port.
7193 * libc/sys/fr30: Remove directory (replaced by libgloss).
7194
71951998-12-10 Ken Raeburn <raeburn@cygnus.com>
7196
7197 * libc/string/strcat.c (ALIGNED): Sense of result was reversed.
7198 * libc/string/strncat.c (ALIGNED): Ditto.
7199
7200Wed Dec 9 14:37:57 1998 Geoffrey Noer <noer@cygnus.com>
7201
7202 * libc/include/sys/time.h: include sys/types.h
7203
7204Tue Dec 8 15:53:18 1998 Jeff Johnston <jjohnstn@cygnus.com>
7205
7206 * libc/machine/i386/memcmp.S (memcmp): Fix for unequal
7207 comparison found when checking word at a time.
7208
72091998-12-04 Nick Clifton <nickc@cygnus.com>
7210
7211 * libc/sys/fr30/crt0.s (_start): Initialise frame pointer.
7212
72131998-12-03 Nick Clifton <nickc@cygnus.com>
7214
7215 * libc/sys/fr30/syscalls.c (_times): New function stub.
7216
7217Thu Dec 3 15:59:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
7218
7219 * configure.host (mach_add_setjmp): Replaced mach_add_objs
7220 with mach_add_setjmp flag which indicates if setjmp should
7221 be added to the machine directory objects.
7222 * acinclude.m4: Removed reference to mach_add_objs.
7223 * aclocal.m4: Regenerated.
7224 * Makefile.in: Regenerated.
7225 * configure: Regenerated.
7226 * libc/aclocal.m4: Regenerated.
7227 * libc/Makefile.in: Regenerated.
7228 * libc/configure: Regenerated.
7229 * libc/machine/aclocal.m4: Regenerated.
7230 * libc/machine/Makefile.in: Regenerated.
7231 * libc/machine/configure: Regenerated.
7232 * libc/machine/i386/aclocal.m4: Regenerated.
7233 * libc/machine/i386/Makefile.am: Altered to selectively add
7234 setjmp.S to the src files list.
7235 * libc/machine/i386/Makefile.in: Regenerated.
7236 * libc/machine/i386/configure.in: Altered to test mach_add_setjmp.
7237 * libc/machine/i386/configure: Regenerated.
7238
72391998-12-02 Nick Clifton <nickc@cygnus.com>
7240
7241 * libc/sys/fr30/crt0.s (_start): Fix function names.
7242
7243 * libc/machine/fr30: New directory
7244 * libc/machine/fr30/Makefile.am: New file.
7245 * libc/machine/fr30/Makefile.in: New generated file.
7246 * libc/machine/fr30/configure.in: New file.
7247 * libc/machine/fr30/configure: New generated file.
7248 * libc/machine/fr30/aclocal.m4: New generated file.
7249 * libc/sys/fr30/Makefile.am: New file.
7250 * libc/sys/fr30/Makefile.in: New generated file.
7251 * libc/sys/fr30/configure.in: New file.
7252 * libc/sys/fr30/configure: New generated file.
7253 * libc/sys/fr30/syscalls.c: New file.
7254
7255Tue Dec 1 16:28:56 1998 Geoffrey Noer <noer@cygnus.com>
7256
7257 * libc/sys/cygwin/sys/utmp.h: new file, moved from winsup/include.
7258
72591998-12-01 Ken Raeburn <raeburn@cygnus.com>
7260
7261 * libc/time/strftime.c (strftime): Also handle %y for years before
7262 1900.
7263
7264Tue Dec 1 13:26:07 1998 Christopher Faylor <cgf@cygnus.com>
7265
7266 * libc/string/strcasecmp.c (strcasecmp): Adhere to standard
7267 UNIX convention. Perform tolower on characters before comparing
7268 them rather than use toupper.
7269 * libc/string/strncasecmp.c (strncasecmp): Ditto.
7270
7271Mon Nov 30 16:24:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
7272
7273 * configure.host: Added using i386 machine directory
7274 for all x86 cross-compiler and configuring
7275 which added object files to use via new "mach_add_objs" variable.
7276 * configure: Regenerated.
7277 * libc/configure: Regenerated.
7278 * libc/Makefile.in: Regenerated.
7279 * libc/aclocal.m4: Regenerated.
7280 * libc/ctype/Makefile.in: Regenerated.
7281 * libc/errno/Makefile.in: Regenerated.
7282 * libc/locale/Makefile.in: Regenerated.
7283 * libc/machine/Makefile.in: Regenerated.
7284 * libc/machine/aclocal.m4: Regenerated.
7285 * libc/machine/configure: Regenerated.
7286 * libc/posix/Makefile.in: Regenerated.
7287 * libc/reent/Makefile.in: Regenerated.
7288 * libc/signal/Makefile.in: Regenerated.
7289 * libc/stdio/Makefile.in: Regenerated.
7290 * libc/stdlib/Makefile.in: Regenerated.
7291 * libc/string/Makefile.in: Regenerated.
7292 * libc/string/memmove.c: Optimized code to use memcpy
7293 logic when performing a non-destructive copy.
7294 * libc/string/strncmp.c: Altered code to allow building
7295 optimized for size or speed.
7296 * libc/syscalls/Makefile.in: Regenerated.
7297 * libc/time/Makefile.in: Regenerated.
7298 * libc/unix/Makefile.in: Regenerated.
7299 * libc/machine/i386/Makefile.am: Added new files and reference
7300 to "mach_add_objs" to indicate optional object files.
7301 * libc/machine/i386/Makefile.in: Regenerated.
7302 * libc/machine/i386/aclocal.m4: Regenerated.
7303 * libc/machine/i386/configure: Regenerated.
7304 * libc/machine/i386/memchr.S: New file that implements
7305 function in Intel assembler.
7306 * libc/machine/i386/memcmp.S: ditto.
7307 * libc/machine/i386/memcpy.S: ditto.
7308 * libc/machine/i386/memmove.S: ditto.
7309 * libc/machine/i386/memset.S: ditto.
7310 * libc/machine/i386/strchr.S: ditto.
7311 * libc/machine/i386/strlen.S: ditto.
7312 * libc/machine/i386/f_atan2.S: New file that implements
7313 fast version of math function to be used by compiler when
7314 --ffast_math compile option is used.
7315 * libc/machine/i386/f_atan2f.S: ditto.
7316 * libc/machine/i386/f_exp.c: ditto.
7317 * libc/machine/i386/f_expf.c: ditto.
7318 * libc/machine/i386/f_frexp.S: ditto.
7319 * libc/machine/i386/f_frexpf.S: ditto.
7320 * libc/machine/i386/f_ldexp.S: ditto.
7321 * libc/machine/i386/f_ldexpf.S: ditto.
7322 * libc/machine/i386/f_log.S: ditto.
7323 * libc/machine/i386/f_logf.S: ditto.
7324 * libc/machine/i386/f_log10.S: ditto.
7325 * libc/machine/i386/f_log10f.S: ditto.
7326 * libc/machine/i386/f_math.h: New file.
7327 * libc/machine/i386/f_pow.c: ditto.
7328 * libc/machine/i386/f_powf.S: ditto.
7329 * libc/machine/i386/f_tan.S: ditto.
7330 * libc/machine/i386/f_tan.S: ditto.
7331 * libc/machine/i386/i386mach.h: New file.
7332
7333Mon Nov 30 13:02:17 1998 Christopher Faylor <cgf@cygnus.com>
7334
7335 patch from Mumit Khan <khan@xraylith.wisc.edu>
7336 * libc/include/stdio.h (tempnam): Add prototype.
7337 * libc/stdio/tmpnam.c (_tempnam_r): Handle NULL prefix.
7338 (tempnam): Adhere to prototype.
7339
7340Thu Nov 26 00:21:32 1998 Christopher Faylor <cgf@cygnus.com>
7341
7342 * Makefile.am: Add default for AR_FLAGS.
7343 * Makefile.in: Regenerate.
7344
7345Tue Nov 24 18:48:56 1998 Geoffrey Noer <noer@cygnus.com>
7346
7347 * libc/include/time.h: move __cplusplus wrapper after includes
7348 * libc/include/sys/time.h: ditto. If Cygwin, include
7349 sys/select.h.
7350 * libc/include/sys/types.h: lose "32" in comment about Cygwin.
7351
73521998-11-23 Ken Raeburn <raeburn@cygnus.com>
7353
7354 * libc/time/strftime.c (strftime): Handle %y after year 2000.
7355
7356Wed Nov 18 12:22:41 1998 Nick Clifton <nickc@cygnus.com>
7357
7358 * libc/sys/fr30/crt0.s (_start): Switch over to using int #9 as
7359 abnormnal end-of-crt0 marker.
7360
7361Tue Nov 17 16:27:58 1998 Nick Clifton <nickc@cygnus.com>
7362
7363 * libc/sys/fr30/crt0.s: New file/directory.
7364 * libc/include/machine/setjmp.h: Add FR30 target.
7365 * libc/include/machine/ieeefp.h: Add FR30 target.
7366 * configure.host: Add FR30 target.
7367
7368Mon Nov 16 23:15:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
7369
7370 * libm/math: Files that are duplicated in common directory removed.
7371 * libm/math/fdlibm.h: Removed.
7372 * libm/math/s_cbrt.c: Removed.
7373 * libm/math/s_copysign.c: Removed.
7374 * libm/math/s_expm1.c: Removed.
7375 * libm/math/s_finite.c: Removed.
7376 * libm/math/s_ilogb.c: Removed.
7377 * libm/math/s_infinity.c: Removed.
7378 * libm/math/s_lib_ver.c: Removed.
7379 * libm/math/s_log1p.c: Removed.
7380 * libm/math/s_logb.c: Removed.
7381 * libm/math/s_matherr.c: Removed.
7382 * libm/math/s_modf.c: Removed.
7383 * libm/math/s_nan.c: Removed.
7384 * libm/math/s_nextafter.c: Removed.
7385 * libm/math/s_rint.c: Removed.
7386 * libm/math/s_scalbn.c: Removed.
7387 * libm/math/sf_cbrt.c: Removed.
7388 * libm/math/sf_copysign.c: Removed.
7389 * libm/math/sf_expm1.c: Removed.
7390 * libm/math/sf_finite.c: Removed.
7391 * libm/math/sf_ilogb.c: Removed.
7392 * libm/math/sf_infinity.c: Removed.
7393 * libm/math/sf_log1p.c: Removed.
7394 * libm/math/sf_logb.c: Removed.
7395 * libm/math/sf_modf.c: Removed.
7396 * libm/math/sf_nan.c: Removed.
7397 * libm/math/sf_nextafter.c: Removed.
7398 * libm/math/sf_rint.c: Removed.
7399 * libm/math/sf_scalbn.c: Removed.
7400 * libm/math/Makefile.am: Removed references to deleted files (above).
7401 * libm/math/Makefile.in: Regenerated.
7402 * libm/Makefile.am: Added common directory to math.
7403 * libm/Makefile.in: Regenerated.
7404
7405Mon Nov 2 23:12:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
7406
7407 * libm/mathfp: Add non-ANSI functions.
7408 * libm/mathfp/e_acosh.c acosh(): New file.
7409 * libm/mathfp/e_atanh.c atanh(): New file.
7410 * libm/mathfp/e_hypot.c hypot(): New file.
7411 * libm/mathfp/e_j0.c j0(): New file.
7412 * libm/mathfp/e_j1.c j1(): New file.
7413 * libm/mathfp/e_remainder.c remainder(): New file.
7414 * libm/mathfp/e_scalb.c scalb(): New file.
7415 * libm/mathfp/ef_acosh.c acoshf(): New file.
7416 * libm/mathfp/ef_atanh.c atanhf(): New file.
7417 * libm/mathfp/ef_hypot.c hypotf(): New file.
7418 * libm/mathfp/ef_j0.c j0f(): New file.
7419 * libm/mathfp/ef_j1.c j1f(): New file.
7420 * libm/mathfp/ef_remainder.c remainderf(): New file.
7421 * libm/mathfp/ef_scalb.c scalbf(): New file.
7422 * libm/mathfp/er_gamma.c gamma_r: New file.
7423 * libm/mathfp/er_lgamma.c lgamma_r(): New file.
7424 * libm/mathfp/erf_gamma.c gamma_rf(): New file.
7425 * libm/mathfp/erf_lgamma.c lgamma_rf(): New file.
7426 * libm/mathfp/w_cabs.c cabs(): New file.
7427 * libm/mathfp/w_drem.c drem(): New file.
7428 * libm/mathfp/w_jn.c jn(): New file.
7429 * libm/mathfp/wf_cabs.c cabsf(): New file.
7430 * libm/mathfp/wf_drem.c dremf(): New file.
7431 * libm/mathfp/wf_jn.c jnf(): New file.
7432
7433Mon Nov 2 16:43:18 1998 Geoffrey Noer <noer@cygnus.com>
7434
7435 * libc/sys/cygwin32: remove directory and contents
7436 * libc/sys/cygwin: and add back, losing the "32".
7437 * configure.host: check for cygwin* instead of cygwin32.
7438 * acinclude.m4: ditto.
7439 * aclocal.m4: regenerate with aclocal
7440 * configure: regenerate with autoconf
7441
7442Tue Oct 20 17:28:28 1998 Geoffrey Noer <noer@cygnus.com>
7443
7444 * libc/stdio/tmpnam.c (_tempnam_r): not enough memory allocated
7445 for length
7446
7447Tue Oct 20 18:49:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
7448
7449 * libc/include/sys/reent.h (struct _reent): Added variables _rand_next, _strtok_last,
7450 _asctime_buf, _localtime_buf and _gamma_signgam to struct reent
7451 to make rand/srand, strtok, asctime, localtime, w_gamma,
7452 w_lgamma, wf_gamma, and wf_lgamma reentrant. Included
7453 time.h to bring in struct tm definition.
7454 * libc/stdlib/rand.c (rand, srand): Don't emit functions 'rand' and 'srand' if
7455 '_REENT_ONLY' is set. Used variable '_rand_next' from struct reent.
7456 * libc/stdlib/strtok.c (strtok): Used variable '_strtok_last' from struct reent
7457 instead of static variable.
7458 * libc/stdlib/asctime.c (asctime): Used variable '_asctime_buf' from
7459 struct reent instead of static variable.
7460 * libc/stdlib/lcltime.c (localtime): Used variable '_localtime_buf' from
7461 struct reent instead of static variable.
7462 * libm/math/Makefile.am: Removed s_signgam.o.
7463 * libm/math/Makefile.in: Regenerated.
7464 * libm/math/w_gamma.c (gamma): Used variable '_gamma_signgam' from
7465 struct reent instead of global variable 'signgam'.
7466 * libm/math/w_lgamma.c (lgamma): Likewise.
7467 * libm/math/wf_gamma.c (gammaf): Likewise.
7468 * libm/math/wf_lgamma.c (lgammaf): Likewise.
7469 * libm/math/s_signgam.c: Removed.
7470 * libc/include/unctrl.h: Defined arrays __unctrl and __unctrllen
7471 to be const.
7472 * libc/misc/unctrl.c: Defined arrays __unctrl and __unctrllen
7473 to be const.
7474 * libc/reent/Makefile.am: Added dependence for impure.o on impure.c and
7475 libc/include/reent.h.
7476 * libc/reent/Makefile.in: Regenerated.
7477 * libc/stdio/vfprintf.c (_vfprintf_r): Defined arrays 'blanks' and 'zeroes'
7478 to be const.
7479 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Defined arrays 'JIS_state_table' and
7480 'JIS_action_table' to be const.
7481 * libm/math/s_lib_ver.c: define variable _LIB_VERSION to be const.
7482
7483Mon Oct 12 00:26:33 1998 Christopher Faylor <cgf@cygnus.com>
7484
7485 * acinclude.m4: $with_target_subdir should default to '.'
7486 or confusion results when configuring in same directory as sources.
7487 * Regenerate all aclocal.m4 and configure files.
7488
7489Fri Oct 9 16:27:36 1998 Jeff Johnston <jjohnstn@cygnus.com>
7490
7491 * libc/stdlib/mallocr.c: Added 16 byte alignment support which
7492 can be set by defining MALLOC_ALIGNMENT=16. Also added support
7493 for platforms where sizeof(size_t) < sizeof(long) via
7494 SIZE_T_SMALLER_THAN_LONG macro.
7495
7496Wed Oct 7 14:02:40 1998 Jeff Johnston <jjohnstn@cygnus.com>
7497
7498 * libc/include/time.h (CLOCKS_PER_SEC): Change CLOCKS_PER_SEC
7499 to refer to _CLOCKS_PER_SEC_ and added including <machine/time.h>
7500 which sets _CLOCKS_PER_SEC_ for selected machines.
7501 * libc/include/machine/time.h: New file.
7502
7503Tue Oct 6 16:08:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
7504
7505 * libc/syscalls/sysexecve.c: New file.
7506 * libc/syscalls/sysgettod.c: New file.
7507 * libc/syscalls/systimes.c: New file.
7508 * libc/syscalls/Makefile.am: Added new objects.
7509 * libc/syscalls/Makefile.in: Regenerated.
7510 * libc/include/_syslist.h (_execve): Moved define in file.
7511 * libc/include/reent.h: Added _execve_r declaration.
7512 * libc/Makefile.in: Regenerated.
7513 * libc/ctype/Makefile.in: Regenerated.
7514 * libc/errno/Makefile.in: Regenerated.
7515 * libc/locale/Makefile.in: Regenerated.
7516 * libc/machine/Makefile.in: Regenerated.
7517 * libc/misc/Makefile.in: Regenerated.
7518 * libc/posix/Makefile.in: Regenerated.
7519 * libc/reent/Makefile.in: Regenerated.
7520 * libc/reent/execr.c (_execve_r): Added _execve_r function.
7521 * libc/signal/Makefile.in: Regenerated.
7522 * libc/stdio/Makefile.in: Regenerated.
7523 * libc/time/Makefile.in: Regenerated.
7524 * libc/unix/Makefile.in: Regenerated.
7525 * libm/mathfp/Makefile.in: Regenerated.
7526
7527Tue Oct 6 14:14:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
7528
7529 * libc/string/Makefile.in: Regenerated.
7530 * libc/string/memchr.c (memchr): Moved code to reduce object size.
7531 * libc/string/memcpy.c (memcpy): Ditto.
7532 * libc/string/memcmp.c (memcmp): Ditto.
7533 * libc/string/memset.c (memset): Ditto.
7534 * libc/string/strchr.c (strchr): Ditto.
7535 * libc/string/strcmp.c (strcmp): Ditto.
7536 * libc/string/strcpy.c (strcpy): Ditto.
7537 * libc/string/strlen.c (strlen): Ditto.
7538
7539Tue Oct 6 13:58:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
7540
7541 * libm/acinclude.m4: Removed since newlib/acinclude.m4 can be used
7542 to generate aclocal.m4.
7543 * libm/Makefile.in: Regenerated.
7544 * libm/aclocal.m4: Regenerated.
7545 * libm/configure: Regenerated.
7546 * libm/math/Makefile.in: Regenerated.
7547 * libm/mathfp/Makefile.in: Regenerated.
7548
75491998-09-25 Mark Salter <msalter@cygnus.com>
7550
7551 * libc/include/machine/setjmp.h: Fixed test for mn10300 and mn10200
7552 by adding leading and trailing underscores to symbol names.
7553
7554Tue Sep 22 15:33:41 1998 Christopher Faylor <cgf@cygnus.com>
7555
7556 * Makefile.in: Add default for AR_FLAGS.
7557
7558Tue Sep 22 15:02:49 1998 Christopher Faylor <cgf@cygnus.com>
7559
7560 patch from ian@airs.com (Ian Taylor):
7561 * acinclude.m4: Run AC_CANONICAL_BUILD explicitly before
7562 NEWLIB_CONFIGURE so AC_CANONICAL_HOST will be run before it
7563 is needed for detecting the build machine. Required for
7564 cygwin native builds.
7565
7566 * Regenerate all aclocal.m4 and configure files.
7567
7568Mon Sep 21 14:44:16 1998 Nick Clifton <nickc@cygnus.com>
7569
7570 * libc/sys/arm/crt0.S: Prepend a period to all local labels that
7571 used to start with LC.
7572
7573Thu Sep 17 18:18:11 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
7574
7575 * libc/machine/sh/setjmp.S (setjmp): Handle __SH4* like __SH3E__ .
7576 (longjmp): Likewise.
7577
7578Thu Sep 17 16:25:33 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
7579
7580 * libc/machine/sh/memset.S (memset): Move copy from r4 to r4 before
7581 the test for small number of bytes.
7582
7583Thu Sep 10 11:40:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
7584
7585 * Makefile.am: Add --enable-newlib-hw-fp check. This builds the new
7586 math library that uses floating point algorithms instead of the old
7587 libm.
7588 * Makefile.in: Regenerate with automake version 1.3b.
7589 * configure: Rebuild.
7590 * libm/Makefile.in: Regenerate with automake version 1.3b.
7591 * libm/aclocal.m4: Regenerate.
7592 * libm/configure: Rebuild.
7593 * libm/configure.in: Add newlib_hw_fp definition and mathfp directory.
7594 * libm/acinclude.m4: Define macros for configure.in.
7595 * libm/config.h.in: Generate.
7596 * libm/mathfp/Makefile.am: New file.
7597 * libm/mathfp/Makefile.in: Generate.
7598 * libm/mathfp/s_acos.c (acos): New file.
7599 * libm/mathfp/s_asin.c (asin): New file.
7600 * libm/mathfp/s_asine.c (asine): New file.
7601 * libm/mathfp/s_atan.c (atan): New file.
7602 * libm/mathfp/s_atan2.c (atan2): New file.
7603 * libm/mathfp/s_atangent.c (atangent): New file.
7604 * libm/mathfp/s_ceil.c (ceil): New file.
7605 * libm/mathfp/s_copysign.c (copysign): New file.
7606 * libm/mathfp/s_cos.c (cos): New file.
7607 * libm/mathfp/s_cosh.c (cosh): New file.
7608 * libm/mathfp/s_exp.c (exp): New file.
7609 * libm/mathfp/s_fabs.c (fabs): New file.
7610 * libm/mathfp/s_finite.c (finite): New file.
7611 * libm/mathfp/s_floor.c (floor): New file.
7612 * libm/mathfp/s_fmod.c (fmod): New file.
7613 * libm/mathfp/s_frexp.c (frexp): New file.
7614 * libm/mathfp/s_infconst.c: New file.
7615 * libm/mathfp/s_isinf (isinf).c: New file.
7616 * libm/mathfp/s_isnan.c (isnan): New file.
7617 * libm/mathfp/s_ispos.c (ispos): New file.
7618 * libm/mathfp/s_ldexp.c (ldexp): New file.
7619 * libm/mathfp/s_log.c (log): New file.
7620 * libm/mathfp/s_log10.c (log10): New file.
7621 * libm/mathfp/s_logarithm.c (logarithm): New file.
7622 * libm/mathfp/s_mathcnst.c: New file.
7623 * libm/mathfp/s_modf (modf).c: New file.
7624 * libm/mathfp/s_numtest.c (numtest): New file.
7625 * libm/mathfp/s_pow.c (pow): New file.
7626 * libm/mathfp/s_scalbn.c (scalbn): New file.
7627 * libm/mathfp/s_sin (sin).c: New file.
7628 * libm/mathfp/s_sine.c (sine): New file.
7629 * libm/mathfp/s_sineh.c (sineh): New file.
7630 * libm/mathfp/s_sinf.c (sinf): New file.
7631 * libm/mathfp/s_sinh.c (sinh): New file.
7632 * libm/mathfp/s_sqrt.c (sqrt): New file.
7633 * libm/mathfp/s_tan.c (tan): New file.
7634 * libm/mathfp/s_tanh.c (tanh): New file.
7635 * libm/mathfp/sf_acos.c (acosf): New file.
7636 * libm/mathfp/sf_asin.c (asinf): New file.
7637 * libm/mathfp/sf_asine.c (asinef): New file.
7638 * libm/mathfp/sf_atan.c (atanf): New file.
7639 * libm/mathfp/sf_atan2.c (atan2f): New file.
7640 * libm/mathfp/sf_atangent.c (atangent): New file.
7641 * libm/mathfp/sf_ceil.c (ceilf): New file.
7642 * libm/mathfp/sf_copysign.c (copysignf): New file.
7643 * libm/mathfp/sf_cos.c (cosf): New file.
7644 * libm/mathfp/sf_cosh.c (coshf): New file.
7645 * libm/mathfp/sf_exp.c (expf): New file.
7646 * libm/mathfp/sf_fabs.c (fabsf): New file.
7647 * libm/mathfp/sf_finite.c (finitef): New file.
7648 * libm/mathfp/sf_floor.c (floorf): New file.
7649 * libm/mathfp/sf_fmod.c (fmodf): New file.
7650 * libm/mathfp/sf_frexp.c (frexpf): New file.
7651 * libm/mathfp/sf_isinf.c (isinff): New file.
7652 * libm/mathfp/sf_isnan.c (isnanf): New file.
7653 * libm/mathfp/sf_ispos.c (isposf): New file.
7654 * libm/mathfp/sf_ldexp.c (ldexpf): New file.
7655 * libm/mathfp/sf_log.c (logf): New file.
7656 * libm/mathfp/sf_log10.c (log10f): New file.
7657 * libm/mathfp/sf_logarithm.c (logarithmf): New file.
7658 * libm/mathfp/sf_modf.c (modff): New file.
7659 * libm/mathfp/sf_numtest.c (numtestf): New file.
7660 * libm/mathfp/sf_pow.c (powf): New file.
7661 * libm/mathfp/sf_scalbn.c (scalbnf): New file.
7662 * libm/mathfp/sf_sin.c (sinf): New file.
7663 * libm/mathfp/sf_sine.c (sinef): New file.
7664 * libm/mathfp/sf_sineh.c (sinehf): New file.
7665 * libm/mathfp/sf_sinh.c (sinhf): New file.
7666 * libm/mathfp/sf_sqrt.c (sqrtf): New file.
7667 * libm/mathfp/sf_tan.c (tanf): New file.
7668 * libm/mathfp/sf_tanh.c (tanhf): New file.
7669 * libm/mathfp/zmath.h: New file.
7670
7671Wed Sep 2 02:49:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
7672
7673 * libc/machine/sh/strcmp.S (L_char_loop): Re-load r0 at loop
7674 exit if it has been overwritten by pre-fetching in delay slot.
7675
76761998-09-01 Michael Meissner <meissner@cygnus.com>
7677
7678 * Makefile.am (tooldir): Add in host_alias, so that multilib
7679 libraries are installed in the directory the compiler looks in.
7680 * Makefile.in: Regenerate.
7681
7682 * libc/stdlib/Makefile.in: Regenerate with automake version 1.3b.
7683
7684Mon Aug 31 11:39:31 1998 Jeff Johnston <jjohnstn@cygnus.com>
7685
7686 * libc/machine/mn10300/memcpy.S (_memcpy): Move alignment test
7687 ahead of test for number of bytes being moved.
7688
7689Thu Aug 27 14:07:53 1998 Christopher Faylor <cgf@cygnus.com>
7690
7691 * libc/include/sys/unistd.h: Nothing special needed for
7692 _exit under cygwin.
7693
7694Wed Aug 26 15:05:21 1998 Nick Clifton <nickc@cygnus.com>
7695
7696 * libc/sys/arm/syscalls.c (_sbrk): Rename '_end' to 'end' to
7697 conform to user label naming conventions.
7698
7699Mon Aug 24 14:46:19 1998 Geoffrey Noer <noer@cygnus.com>
7700
7701 * libc/sys/cygwin32/sys/utime.h: variable names in
7702 protos should start with two leading underscores
7703 * libc/include/string.h: ditto
7704 * libc/include/sys/signal.h: ditto
7705 * libc/include/sys/stat.h: ditto
7706 * libc/include/sys/time.h: ditto
7707 * libc/include/sys/unistd.h: ditto
7708 * libc/include/ctype.h: ditto
7709 * libc/include/stdlib.h: ditto
7710 * libc/include/sys/reent.h: struct _atexit function ptr takes a
7711 void, same with _sig_func.
7712
7713Fri Aug 21 14:44:14 1998 Jeff Johnston <jjohnstn@cygnus.com>
7714
7715 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Added preprocessor checks
7716 for MB_CAPABLE to reduce code size when newlib is not configured
7717 with --enable-newlib-mb.
7718 * libc/stdlib/Makefile.am: Specified -fshort-enums when building
7719 mbtowc_r.o to minimize size.
7720 * libc/stdlib/Makefile.in: Rebuild.
7721
7722Wed Aug 19 16:20:13 1998 Jim Wilson <wilson@cygnus.com>
7723
7724 * libc/sys/sparc64/Makefile.am (.S_r.o, .c_r.o): Change -DREENTRANT
7725 to -DREENT.
7726 * libc/sys/sparc64/Makefile.in: Rebuild.
7727
7728Tue Aug 18 22:38:29 1998 Ian Lance Taylor <ian@cygnus.com>
7729
7730 * Makefile.am (MAKEOVERRIDES): Define.
7731 * Makefile.in: Rebuild.
7732
7733Tue Aug 18 12:38:47 1998 Jim Wilson <wilson@cygnus.com>
7734
7735 * libc/sys/sparc64/sys/stat.h (stat): Add const.
7736
7737Mon Aug 17 22:27:06 1998 Ian Lance Taylor <ian@cygnus.com>
7738
7739 * acinclude.m4 (NEWLIB_CONFIGURE): Use top_builddir in
7740 newlib_cflags when looking for targ-include.
7741 * */aclocal.m4, */configure: Rebuild.
7742
7743Fri Jul 31 10:57:42 1998 Catherine Moore <clm@cygnus.com>
7744
7745 * libc/sys/arm/syscalls.c (_sbrk): Change "__end__"
7746 to "_end".
7747
7748Wed Jul 29 00:02:01 1998 Mark Alexander <marka@cygnus.com>
7749
7750 * libc/include/sys/config.h: Define __IEEE_LITTLE_ENDIAN
7751 on SPARCs with little-endian data.
7752 * libc/include/machine/ieeefp.h: Ditto.
7753
7754Wed Jul 22 18:00:10 1998 Ian Lance Taylor <ian@cygnus.com>
7755
7756 * acinclude.m4: Handle a relative srcdir correctly when setting
7757 newlib_cflags.
7758 * */aclocal.m4, */configure: Rebuild.
7759
7760Wed Jul 22 17:11:33 1998 Jeff Johnston <jjohnstn@cygnus.com>
7761
7762 * libm/math/wrf_lgamma.c (lgammaf_r): Initialize exc.err to 0 and
7763 also set exc.arg1, exc.arg2 appropriately in case matherr is supplied.
7764 * libm/math/wrf_gamma.c (gammaf_r): ditto
7765 * libm/math/wr_lgamma.c (lgamma_r): ditto
7766 * libm/math/wr_gamma.c (gamma_r): ditto
7767 * libm/math/wf_sqrt.c (sqrtf): ditto
7768 * libm/math/wf_sinh.c (sinhf): ditto
7769 * libm/math/wf_scalb.c (scalbf): ditto
7770 * libm/math/wf_remainder.c (remainderf): ditto
7771 * libm/math/wf_pow.c (powf): ditto
7772 * libm/math/wf_log10.c (log10f): ditto
7773 * libm/math/wf_log.c (logf): ditto
7774 * libm/math/wf_lgamma.c (lgammaf): ditto
7775 * libm/math/wf_jn.c (jnf, ynf): ditto
7776 * libm/math/wf_j1.c (j1f, y1f): ditto
7777 * libm/math/wf_j0.c (j0f, y0f): ditto
7778 * libm/math/wf_hypot.c (hypotf): ditto
7779 * libm/math/wf_gamma.c (gammaf): ditto
7780 * libm/math/wf_fmod.c (fmodf): ditto
7781 * libm/math/wf_exp.c (expf): ditto
7782 * libm/math/wf_cosh.c (coshf): ditto
7783 * libm/math/wf_atanh.c (atanhf): ditto
7784 * libm/math/wf_atan2f.c (atan2f): ditto
7785 * libm/math/wf_asin.c (asinf): ditto
7786 * libm/math/wf_acosh.c (acoshf): ditto
7787 * libm/math/wf_acos.c (acosf): ditto
7788 * libm/math/w_sqrt.c (sqrt): ditto
7789 * libm/math/w_sinh.c (sinh): ditto
7790 * libm/math/w_scalb.c (scalb): ditto
7791 * libm/math/w_remainder.c (remainder): ditto
7792 * libm/math/w_pow.c (pow): ditto
7793 * libm/math/w_log10.c (log10): ditto
7794 * libm/math/w_log.c (log): ditto
7795 * libm/math/w_lgamma.c (lgamma): ditto
7796 * libm/math/w_jn.c (jn, yn): ditto
7797 * libm/math/w_j1.c (j1, y1): ditto
7798 * libm/math/w_j0.c (j0, y0): ditto
7799 * libm/math/w_hypot.c (hypot): ditto
7800 * libm/math/w_gamma.c (gamma): ditto
7801 * libm/math/w_fmod.c (fmod): ditto
7802 * libm/math/w_exp.c (exp): ditto
7803 * libm/math/w_cosh.c (cosh): ditto
7804 * libm/math/w_atanh.c (atanh): ditto
7805 * libm/math/w_atan2f.c (atan2): ditto
7806 * libm/math/w_asin.c (asin): ditto
7807 * libm/math/w_acosh.c (acosh): ditto
7808 * libm/math/w_acos.c (acos): ditto
7809
7810Tue Jul 21 12:34:54 1998 Ian Lance Taylor <ian@cygnus.com>
7811
7812 * libm/math/Makefile.am (src): Add w_cabs.c and w_drem.c.
7813 (fsrc): Add wf_cabs.c and wf_drem.c.
7814 * libm/math/Makefile.in: Rebuild.
7815
7816 * Makefile.am (AM_MAKEFLAGS): Add CFLAGS_FOR_BUILD. Remove some
7817 unused directory variables. Remove duplicate CFLAGS.
7818 * Makefile.in: Rebuild.
7819
7820 * doc/Makefile.am ($(MKDOC)): Don't use $(CFLAGS) when building
7821 with $(CC_FOR_BUILD).
7822 (makedoc.o): Likewise.
7823 * doc/Makefile.in: Rebuild.
7824
7825 * libc/sys/cygwin32/Makefile.am (EXTRA_LIBRARIES): Define, to
7826 force a definition of COMPILE.
7827 (libfoo_a_SOURCES): Define.
7828 * libc/sys/cygwin32/Makefile.in: Rebuild.
7829 * libc/sys/tic80/Makefile.am (EXTRA_LIBRARIES): Define, to
7830 force a definition of COMPILE.
7831 (libfoo_a_SOURCES): Define.
7832 * libc/sys/tic80/Makefile.in: Rebuild.
7833
7834Mon Jul 20 20:49:24 1998 Christopher Faylor <cgf@cygnus.com>
7835
7836 * libc/include/sys/fcntl.h: Add O_NOINHERIT, Win32-specific
7837 flag.
7838
7839Fri Jul 17 16:13:16 1998 Ian Lance Taylor <ian@cygnus.com>
7840
7841 * Build using autoconf and automake. Added many Makefile.am and
7842 configure.in files, plus generated files. Old configure.in files
7843 and all old Makefile.in files completely replaced. Removed
7844 host/any. Added acinclude.m4 and configure.host.
7845
7846Sat Jul 11 18:14:49 1998 Felix Lee <flee@cygnus.com>
7847
7848 * libc/stdio/vfprintf.c: enable long long support, sometimes.
7849 * configure.in (*-*-cygwin32): add -DWANT_PRINTF_LONG_LONG.
7850
7851Tue Jul 7 01:51:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
7852
7853 * libc/machine/sh/strcmp.S, libc/machine/sh/strcpy.S: New files.
7854 * libc/machine/sh/Makefile.in: Add rules for new files.
7855
7856Tue Jul 7 01:40:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
7857
7858 * libc/machine/sh/asm.h (SL, DELAYED_BRANCHES): Define.
7859 * libc/machine/sh/memset.S (memset): Remove uses of dt; shorten code.
7860 * libc/machine/sh/memcpy.S (SL, DELAYED_BRANCHES): Don't define.
7861
7862Thu Jul 2 10:33:16 1998 Nick Clifton <nickc@cygnus.com>
7863
7864 * libc/sys/arm/syscalls.c (_exit): Add comment, noting that exit
7865 code is ignored.
7866
7867Wed Jun 24 13:56:54 1998 Jeff Johnston <jjohnstn@cygnus.com>
7868
7869 * libc/stdio/tmpnam.c (_tmpnam_r): Changed routine to use
7870 internal static buffer when s is NULL, as prescribed by ANSI.
7871
78721998-06-22 Vladimir N. Makarov <vmakarov@cygnus.com>
7873
7874 * libc/sys/h8300hms/Makefile.in (OFILES): malloc.o has been
7875 removed.
7876 * libc/sys/h8300hms/malloc.c: has been removed. Now malloc.c from
7877 libc/stdlib will be used for h8300hms.
7878
7879Thu Jun 18 16:56:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
7880
7881 * libc/machine/mn10300/strlen.S (_strlen): New optimized assembler
7882 version that can be built either for speed or size.
7883 * libc/machine/mn10300/memset.S (_memset): ditto
7884 * libc/machine/mn10300/memchr.S (_memchr): ditto
7885 * libc/machine/mn10300/memcpy.S (_memcpy): ditto
7886 * libc/machine/mn10300/memcmp.S (_memcmp): ditto
7887 * libc/machine/mn10300/strchr.S (_strchr): ditto
7888 * libc/machine/mn10300/strcmp.S (_strcmp): ditto
7889 * libc/machine/mn10300/strcpy.S (_strcpy): ditto
7890 * libc/machine/mn10300/Makefile.in: Added entries for
7891 memchr.o, memcmp.o, memcpy.o, memset.o, strchr.o,
7892 strcmp.o, strcpy.o, and strlen.o.
7893
7894Wed Jun 17 12:50:26 1998 Mark Alexander <marka@cygnus.com>
7895
7896 * configure.in: Don't use libc/sys/sysmec for MN10200; it's
7897 been replaced with libgloss/mn10200.
7898
7899Fri Jun 12 14:34:39 1998 Michael Meissner <meissner@cygnus.com>
7900
7901 * libc/string/strchr.c (strchr): Make s a constant pointer to
7902 avoid warning.
7903
7904Tue Jun 9 16:29:30 1998 Jason Molenda (crash@bugshack.cygnus.com)
7905
7906 * configure.in (target == arm* or thumb*): Define ARM_RDI_MONITOR
7907 instead of ARM_RDP_MONITOR (sys/libc/arm/crt0.S to assume Angel
7908 board SWIs instead of Demon board SWIs).
7909
7910Thu Jun 4 12:16:46 1998 Michael Meissner <meissner@cygnus.com>
7911
7912 * libc/string/strncat.c (strncat): Make -Os act the same as
7913 PREFER_SIZE_OVER_SPEED being defined.
7914
7915Wed Jun 3 17:52:33 1998 Michael Meissner <meissner@cygnus.com>
7916
7917 * libc/string/memchr.c (memchr): Make -Os act the same as
7918 PREFER_SIZE_OVER_SPEED being defined.
7919 * libc/string/memcmp.c (memcmp): Ditto.
7920 * libc/string/memcpy.c (memcpy): Ditto.
7921 * libc/string/memset.c (memset): Ditto.
7922 * libc/string/strcat.c (strcat): Ditto.
7923 * libc/string/strchr.c (strchr): Ditto.
7924 * libc/string/strcmp.c (strcmp): Ditto.
7925 * libc/string/strcpy.c (strcpy): Ditto.
7926 * libc/string/strlen.c (strlen): Ditto.
7927 * libc/string/strncat.c (strncat): Ditto.
7928 * libc/string/strncmp.c (strncmp): Ditto.
7929 * libc/string/strncpy.c (strncpy): Ditto.
7930
7931Mon Jun 1 15:25:07 1998 Geoffrey Noer <noer@cygnus.com>
7932
7933 * libc/include/sys/itimer.h: remove
7934 * libc/include/sys/time.h: itimer stuff should be here
7935
7936Mon Jun 1 16:31:29 1998 Jeff Johnston <jjohnstn@cygnus.com>
7937
7938 * libc/stdio/vfprintf.c (cvt): Changed code to look at sign
7939 bit instead of comparing to 0 so -0.0 can be printed correctly.
7940
7941Sat May 30 09:33:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
7942
7943 * libc/stdlib/mprec.c (b2d): Inilialize d in non-VAX case too.
7944
7945Fri May 29 22:25:10 1998 Geoffrey Noer <noer@cygnus.com>
7946
7947 * libc/include/sys/unistd.h: fix sync() proto
7948 * libc/include/sys/fcntl.h: remove _close which is already
7949 defined in unistd.h.
7950 * libc/include/sys/time.h: add getitimer proto
7951
7952Fri May 29 16:10:28 1998 Geoffrey Noer <noer@cygnus.com>
7953
7954 * libc/string/strchr.c: convert arg to unsigned char
7955 * libc/include/stdlib.h: add protos for random, srandom
7956 * libc/include/sys/stat.h: add lstat proto
7957 * libc/include/sys/time.h: add setitimer proto
7958 * libc/include/sys/unistd.h: add readlink, symlink protos
7959 * libc/include/process.h: instead of including windows.h and using
7960 HANDLEs in sexec protos, just use void *s. Need to include
7961 sys/types.h.
7962
7963Fri May 29 03:04:29 1998 Geoffrey Noer <noer@cygnus.com>
7964
7965 * libc/include/sys/fcntl.h: add _close proto for Cygwin32
7966
7967Thu May 28 16:34:21 1998 Geoffrey Noer <noer@cygnus.com>
7968
7969 * libc/include/process.h: add secure exec protos
7970
7971Wed May 27 13:54:51 1998 Jeffrey A Law (law@cygnus.com)
7972
7973 * libc/stdlib/dtoa.c (_dtoa_r): Use "double_union" for variables
7974 which are accessed as both doubles and integers.
7975 * libc/stdlib/mprec.c (ulp, b2d, ratio): Likewise.
7976 * libc/stdlib/strtod.c (_strtod_r): Likewise.
7977 * libc/stdlib/mprec.h: Add "union double_union" and change
7978 word0/word1 macros to use it.
7979
7980Tue May 26 18:04:21 1998 Geoffrey Noer <noer@cygnus.com>
7981
7982 * libc/include/sys/signal.h: add __cplusplus wrapper
7983
7984Tue May 26 15:10:22 1998 Geoffrey Noer <noer@cygnus.com>
7985
7986 * libc/include/sys/utime.h: new generic file that gets replaced by
7987 libc/sys/SYSDIR/sys/utime.h on systems that support the utime
7988 function.
7989 * sys/cygwin32/sys/utime.h: use _EXFUN in utime proto
7990 * libc/include/time.h: remove duplicate utime proto
7991 * libc/include/utime.h: add comment
7992
7993Sun May 24 23:56:20 1998 Christopher Faylor <cgf@cygnus.com>
7994
7995 * libc/include/sys/time.h: Add missing include to
7996 allow use of _EXFUN. Remove times function that is
7997 already defined in times.h.
7998
7999Sun May 24 01:32:14 1998 Christopher Faylor <cgf@cygnus.com>
8000
8001 * libc/include/time.h: Fix typo in tzset.
8002
8003Fri May 22 17:00:48 1998 Geoffrey Noer <noer@cygnus.com>
8004
8005 * libc/include/sys/time.h: add missing Cygwin32 function protos
8006 * libc/include/sys/unistd.h: ditto
8007 * libc/include/time.h: ditto
8008
8009Wed May 20 20:35:11 1998 Geoffrey Noer <noer@cygnus.com>
8010
8011 * libc/sys/cygwin32/sys/param.h: add protected NULL def, remove
8012 FIXME.
8013 * libc/include/sys/types.h: add a new __MS_types__ section
8014 to define vm_offset_t, vm_size_t, int32_t et al, register_t,
8015 __BIT_TYPES_DEFINED__.
8016
8017Wed May 20 18:49:21 1998 Geoffrey Noer <noer@cygnus.com>
8018
8019 * libc/sys/cygwin32/sys/param.h: move here from winsup/include/sys
8020 since it overrides the one in libc/include/sys. Also, start
8021 including types.h.
8022
8023Wed May 20 14:45:40 1998 Geoffrey Noer <noer@cygnus.com>
8024
8025 * libm/math/Makefile.in: add s_signgam.o to obj list
8026
8027Tue May 19 11:57:11 1998 Jeff Johnston <jjohnstn@cygnus.com>
8028
8029 * libc/include/sys/reent.h (_REENT_INIT): Initialize current locale to "C".
8030
8031Mon May 18 22:36:12 1998 Christopher Faylor <cgf@cygnus.com>
8032
8033 * libc/include/sys/signal.h: cygwin32 exports sig{empty,add}set,
8034 so don't use defines.
8035
8036Mon May 18 19:01:02 1998 Michael Meissner <meissner@cygnus.com>
8037
8038 * libc/sys/d10v/crt0.S: Use correct stab for 16-bit ints.
8039
8040Sun May 17 18:40:32 1998 Frank Ch. Eigler <fche@cygnus.com>
8041
8042 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Accept a NULL
8043 _current_locale as default locale.
8044
8045Sat May 16 21:59:59 1998 Bob Manson <manson@charmed.cygnus.com>
8046
8047 * libc/stdlib/mallocr.c (mALLOc): Add explicit tests for
8048 insufficient space in a chunk.
8049
8050Tue May 12 14:41:01 1998 Jeff Johnston <jjohnstn@cygnus.com>
8051
8052 * configure.in (links): Added check for --enable-newlib-mb configure
8053 option which defines the MB_CAPABLE macro.
8054 * libc/locale/locale.c (_setlocale_r): Added support for setting
8055 LC_CTYPE to "C-JIS", "C-SJIS" or "C-EUCJP", when MB_CAPABLE is
8056 defined.
8057 * libc/stdlib/mbtowc_r.c (_mbtowc_r): New function _mbtowc_r that
8058 implements mbtowc() with multibyte support for JIS, SJIS, and EUC-JP.
8059 * libc/stdlib/wctomb_r.c (_wctomb_r): New function _wctomb_r that
8060 implements wctomb() with multibyte support for JIS, SJIS, and EUC-JP.
8061 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): New function _mbstowcs_r that
8062 implements mbstowcs() with multibyte support for JIS, SJIS, and EUC-JP.
8063 * libc/stdlib/wcstombs_r.c (_wcstombs_r): New function _wcstomb_r that implements
8064 wcstombs() with multibyte support for JIS, SJIS, and EUC-JP.
8065 * libc/stdlib/Makefile.in: Added new multibyte
8066 routines: _mbtowc_r(), _wctomb_r(), _mbstowcs_r(), and _wcstombs_r().
8067 * libc/include/stdlib.h: Added declarations of _mbtowc_r(), _wctomb_r(),
8068 _mbstowcs_r(), and _wcstombs_r().
8069 * libc/stdlib/mbctype.h: New internal header file that contains macros to test
8070 for JIS, SJIS, and EUC-JP characters.
8071 * libc/stdlib/mblen.c (mblen): Added code to call _mbtowc_r() if
8072 MB_CAPABLE defined.
8073 * libc/stdlib/mbtowc.c (mbtowc): Added code to call _mbtowc_r() if
8074 MB_CAPABLE defined.
8075 * libc/stdlib/wctomb.c (wctomb): Added code to call _wctomb_r() if
8076 MB_CAPABLE defined.
8077 * libc/stdlib/mbstowcs.c (mbstowcs): Added code to call _mbstowcs_r()
8078 if MB_CAPABLE defined.
8079 * libc/stdlib/wcstombs.c (wcstombs): Added code to call _wcstombs_r()
8080 if MB_CAPABLE defined.
8081 * libc/stdio/vfscanf.c (__svfscanf): Added multibyte tolerance
8082 to the format string processing when MB_CAPABLE.
8083 * libc/stdio/vfprintf.c (_VFPRINTF_R): Changed mbtowc() call to
8084 call _mbtowc_r().
8085
8086Tue May 5 16:07:23 1998 Nick Clifton <nickc@cygnus.com>
8087
8088 The following modifications are courtesy of Anthony Thompson,
8089 athompson@cambridge.arm.com:
8090 * libc/sys/arm/syscalls.c: Initialise and track stdin/out/err for
8091 boith RDI and RDP monitors.
8092 * libc/sys/arm/crt0.S: Call initialise_monitor_handles() for both
8093 RDI and RDP monitors.
8094
8095Wed Apr 29 15:22:15 1998 Jeff Johnston <jjohnstn@cygnus.com>
8096
8097 * configure.in (links): Added -DHAVE_GETTIMEOFDAY for arm and thumb.
8098 * libc/sys/arm/syscalls.c (_gettimeofday _times): Added functions.
8099 (_swiopen): Fixed open flags to treat write with append as just append.
8100 (_swilseek): Fixed lseek support to properly handle offsets from SEEK_END.
8101 * libc/sys/arm/sys/param.h: New file to override param.h for ARM.
8102
8103Fri Apr 24 18:00:09 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
8104
8105 * libc/machine/sh/memcpy.S (L_odddst, big endian version):
8106 When needing to transfer an initial 2-byte-word, store as
8107 two single bytes.
8108
8109Wed Apr 22 17:56:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
8110
8111 * libc/sys/sh/crt0.S (start): Handle __SH4_SINGLE_ONLY__ like
8112 __SH3E__ .
8113 * libc/machine/sh/memcpy.S (DELAYED_BRANCHES, SL): Likewise.
8114 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Likewise.
8115
8116Wed Apr 22 12:28:03 1998 Michael Meissner <meissner@cygnus.com>
8117
8118 * configure.in (target_cflags): If --enable-target-optspace, use
8119 -Os to compile newlib rather than -O2. Default to using -Os for
8120 d10v, d30v and m32r if --{enable,disable}-target-optspace is not
8121 used.
8122
8123Tue Apr 21 23:13:34 1998 Geoffrey Noer <noer@cygnus.com>
8124
8125 * libc/include/machine/setjmp.h: change sigsetjmp and
8126 siglongjmp definitions to use an array instead of a struct
8127 for __CYGWIN32__
8128
8129Tue Apr 14 11:47:47 1998 Doug Evans <devans@canuck.cygnus.com>
8130
8131 * libc/reent/impure.c (__ATTRIBUTE_IMPURE_DATA__): Fix spelling.
8132
8133Mon Apr 6 15:05:08 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
8134
8135 * libc/string/strxfrm.c: fix to get correct return value
8136
8137Wed Apr 1 16:09:05 1998 Nick Clifton <nickc@cygnus.com>
8138
8139 * libc/sys/arm/crt0.S: Set top of RAM to be 0x800000 for PE
8140 builds. Make mode change labels global so that they will be seen
8141 by the debugger.
8142
8143Wed Mar 18 09:45:10 1998 Nick Clifton <nickc@cygnus.com>
8144
8145 * configure.in (links): Do not use ARM debiugging protocols for PE
8146 builds.
8147
8148 * libc/sys/arm/syscalls.c (_sbrk): Add "_sbrk: " to error
8149 message.
8150
8151Fri Mar 13 11:24:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
8152
8153 * libc/stdio/findfp.c (__sinit): Made stdout default to
8154 line buffered mode as defined by ANSI.
8155
8156Tue Mar 10 11:41:26 1997 Bob Manson <manson@charmed.cygnus.com>
8157
8158 * libc/include/sys/itimer.h: New file.
8159
8160 * libc/signal/signal.c (__sigtramp_r,__sigtramp): New functions.
8161
8162Mon Mar 9 14:19:26 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
8163
8164 * libc/machine/sh/memcpy.S: (_memcpy): Fix for execute/memcpy-1.c
8165 failure.
8166
8167Fri Feb 27 13:56:10 1998 Michael Meissner <meissner@cygnus.com>
8168
8169 * libc/machine/d30v/setjmp.S (longjmp): Fix order of parallel
8170 insns.
8171
8172Wed Feb 25 09:29:54 1998 Nick Clifton <nickc@cygnus.com>
8173
8174 * libc/sys/arm/syscalls.c (_open): Add varags to conform to prototype.
8175
8176Tue Feb 24 18:00:13 1998 Michael Meissner <meissner@cygnus.com>
8177
8178 * libc/machine/d30v/{setjmp.S,Makefile.in}: New files for D30V
8179 support.
8180
8181 * libc/include/machine/setjmp.h: Add D30V support.
8182
8183 * configure.in (d30v-*): Add d30v machine directory.
8184
8185Mon Feb 23 09:32:58 1998 Mark Alexander <marka@cygnus.com>
8186
8187 * configure.in: Don't use libc/sys/sysmec for MN10300; it's
8188 been replaced with libgloss/mn10300.
8189
8190Sat Feb 21 17:44:43 1998 Geoffrey Noer <noer@cygnus.com>
8191
8192 * libc/stdlib/mallocr.c: remove __malloc_copy routine now that
8193 it is no longer needed.
8194
8195Thu Feb 19 16:15:10 1998 Geoffrey Noer <noer@cygnus.com>
8196
8197 * libc/include/sys/signal.h: add sigpause proto for Cygwin32
8198
8199Wed Feb 18 23:51:08 1998 Geoffrey Noer <noer@cygnus.com>
8200
8201 * libc/stdio/fdopen.c (fdopen): Make all writes go to the end of
8202 the file when O_APPEND is set, wherever the EOF happens to be at
8203 that time.
8204
8205Wed Feb 18 23:25:02 1998 Geoffrey Noer <noer@cygnus.com>
8206
8207 patch from cgf@bbc.com (Christopher Faylor):
8208 * libc/stdio/freopen.c (freopen): Conform to standard UNIX
8209 convention of closing fp prior to attempting to open the file
8210 argument. This allows correct operation when reopening
8211 stdin/stdout/stderr. Replaces last freopen.c patch.
8212
8213Wed Feb 18 16:27:40 1998 Geoffrey Noer <noer@cygnus.com>
8214
8215 patch from cgf@bbc.com (Christopher Faylor):
8216 * libc/stdio/freopen.c: freopen was not preserving the fd
8217 of the stream being operated on. This confuses programs that
8218 expect that the handles for stdout and stderr will be 1 and 2.
8219
8220Mon Feb 16 23:34:07 1998 Andrew Cagney <cagney@b1.cygnus.com>
8221
8222 * libc/sys/d10v/crt0.S (_start): Set PSW{SW} - select SPU.
8223
8224Thu Feb 12 15:09:20 1998 Ranjith Kumaran <ranjith@cygnus.com>
8225
8226 * libc/sys/go32/longjmp.S: Fix longjmp to not return 0.
8227
8228Wed Feb 11 17:50:45 1998 Jeff Johnston <jjohnstn@cygnus.com>
8229
8230 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Alignment code
8231 altered to not use a branch. Also added hint that last
8232 bclr in longjmp will likely result in branch.
8233
8234
8235Mon Feb 9 03:44:02 1998 Geoffrey Noer <noer@cygnus.com>
8236
8237 * libc/sys/cygwin32/crt0.c: add missing args to main() extern
8238
8239Fri Feb 6 16:32:32 1998 Nick Clifton <nickc@cygnus.com>
8240
8241 * libc/sys/sysnecv850/crt0.S (_start): Initialise _ctbp even for
8242 v850 builds.
8243
8244 * configure.in: Add -msmall-sld to target_cflags for v850 builds.
8245
8246Wed Feb 4 16:56:20 1998 Jeff Johnston <jjohnstn@cygnus.com>
8247
8248 * libc/machine/powerpc/setjmp.S (longjmp): Fixed code
8249 that loads FR14 to specify offset of 8 rather than 4
8250 so it loads from offset 96 (where setjmp stored it).
8251
8252Tue Feb 3 18:08:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
8253
8254 * libc/machine/sh/memcpy.S: (_memcpy): Update to
8255 latest version supplied by customer.
8256 * libc/machine/sh/memset.S (_memset): Ditto.
8257
8258Mon Feb 2 16:20:39 1998 Nick Clifton <nickc@cygnus.com>
8259
8260 * libc/sys/sysnecv850/Makefile.in (OFILES): Add link.o (for
8261 PR14730).
8262
8263Mon Feb 2 15:13:26 1998 Geoffrey Noer <noer@cygnus.com>
8264
8265 * libc/include/string.h: remove redefinition of ffs
8266
8267Wed Jan 28 13:30:14 1998 Geoffrey Noer <noer@cygnus.com>
8268
8269 * libc/include/sys/signal.h: include _ansi.h so _EXFUN is
8270 defined
8271
8272Wed Jan 28 10:38:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
8273
8274 * libc/machine/tic80/setjmp.S: Adding _setjmp to allow
8275 TI Libraries to link to libc.a
8276
8277Sat Jan 24 10:15:56 1998 Michael Meissner <meissner@cygnus.com>
8278
8279 * libc/include/sys/fcntl.h (_open,_fcntl): Add prototypes.
8280 * libc/include/sys/stat.h (_{,f}stat): Ditto.
8281 * libc/include/sys/wait.h (_wait): Ditto.
8282 * libc/include/sys/unistd.h (_close,_fork,_getpid): Ditto.
8283 (_link,_lseek,_read,_sbrk,_unlink,_write): Ditto.
8284
8285Fri Jan 23 11:32:10 1998 Michael Meissner <meissner@cygnus.com>
8286
8287 * libc/machine/d10v/setjmp.S: Change to new ABI. Add simple
8288 minded stabs so function name shows up when running the simulator
8289 with -t.
8290 * libc/sys/d10v/{crt0,trap}.S: Ditto.
8291
8292Thu Jan 22 15:57:14 1998 Fred Fish <fnf@cygnus.com>
8293
8294 * libc/sys/d10v/trap.S: Change syscalls to use trap 15.
8295 * libc/sys/d10v/crt0.S: Use R6 where we used to use R2.
8296 Use R5 where we used to use R3.
8297
8298Wed Jan 21 14:22:23 1998 Bill Moyer <billm@cygnus.com>
8299
8300 * libc/stdlib/getopt.c (getopt): replaced __progname
8301 with nargv[0] to improve portability to imbedded systems.
8302
8303Thu Jan 15 12:32:38 1998 Nick Clifton <nickc@cygnus.com>
8304
8305 * libc/sys/arm/syscalls.c (initialise_angel_handles): Applied
8306 patch supplied by Tont.Thompson@arm.com to fix the creation of the
8307 stdout file.
8308
8309Wed Jan 14 13:00:19 1998 Ian Lance Taylor <ian@cygnus.com>
8310
8311 * libc/stdio/tmpnam.c (worker): Generate a different file name
8312 each time.
8313
8314 * libc/posix/popen.c (popen): If __CYGWIN32__, and execing /bin/sh
8315 fails, try an execlp for sh.
8316
8317 * host/any (INCLUDES): If target_os is cygwin32, then add a -I
8318 option for the winsup include directory.
8319
8320Wed Jan 7 17:02:58 1998 Nick Clifton <nickc@cygnus.com>
8321
8322 * libc/sys/arm/syscalls.c: Applied patches for Angel based remote
8323 debugging interface from Tony.Thompson@arm.com.
8324
8325 * libc/sys/arm/crt0.S (_mainCRTStartup): ditto.
8326 * libc/sys/arm/swi.h: ditto.
8327
8328Tue Jan 6 14:15:10 1998 Geoffrey Noer <noer@cygnus.com>
8329
8330 * libc/sys/cygwin32/sys/dirent.h: add __d_dirhash field to
8331 DIR struct used for readdir hashes.
8332
8333Thu Jan 1 11:22:22 1998 Jeffrey A Law (law@cygnus.com)
8334
8335 * libc/string/strchr.c: Use "unsigned chars" as necessary.
8336
8337Wed Dec 31 04:25:30 1997 Jeffrey A Law (law@cygnus.com)
8338
8339 * libc/stdlib/mallocr.c (idx2binblock): Don't lose on 16bit
8340 integer targets.
8341
8342Sat Dec 13 15:11:06 1997 Ian Lance Taylor <ian@cygnus.com>
8343
8344 * libc/stdlib/mallocr.c (__malloc_copy): New function, compiled if
8345 INTERNAL_NEWLIB and __CYGWIN32__ and DEFINE_MALLOC.
8346 * libc/include/malloc.h: Add extern "C" if __cplusplus.
8347 (__malloc_copy): Declare.
8348
8349Wed Dec 10 12:15:54 1997 Ian Lance Taylor <ian@cygnus.com>
8350
8351 * libc/stdlib/mallocr.c: If INTERNAL_NEWLIB, include
8352 <sys/config.h>.
8353 (POINTER_UINT): Define.
8354 (DEFAULT_TRIM_THRESHOLD): Mark constants as long.
8355 (MALLOC_ALIGNMENT): Don't define if already defined.
8356 (malloc_extend_top): Cast pointers to POINTER_UINT, not unsigned
8357 long.
8358
8359Tue Dec 9 19:23:42 1997 Michael Meissner <meissner@cygnus.com>
8360
8361 * libc/string/memset.c (memset): Fiddle with code so that the long
8362 value being stored is not a stack value. Unroll storing longs 4
8363 times.
8364
8365Tue Dec 9 14:13:18 1997 Jeff Johnston <jjohnstn@cygnus.com>
8366
8367 * Reduce code size for libm modules.
8368 * libm/math/w_sqrt.c (sqrt): Remove call to kernel_standard
8369 and simply move code into sqrt.
8370 * libm/math/wrf_lgamma.c (lgammaf_r): Likewise.
8371 * libm/math/wr_lgamma.c (lgamma_r): Likewise.
8372 * libm/math/wrf_gamma.c (gammaf_r): Likewise.
8373 * libm/math/wr_gamma.c (gamma_r): Likewise.
8374 * libm/math/wf_sinh.c (sinfh): Likewise.
8375 * libm/math/w_sinh.c (sinh): Likewise.
8376 * libm/math/wf_scalb.c (scalbf): Likewise.
8377 * libm/math/w_scalb.c (scalb): Likewise.
8378 * libm/math/wf_remainder.c (remainderf): Likewise.
8379 * libm/math/w_remainder.c (remainder): Likewise.
8380 * libm/math/wf_pow.c (powf): Likewise.
8381 * libm/math/w_pow.c (pow): Likewise.
8382 * libm/math/wf_log10.c (log10f): Likewise.
8383 * libm/math/w_log10.c (log10): Likewise.
8384 * libm/math/wf_log.c (logf): Likewise.
8385 * libm/math/w_log.c (log): Likewise.
8386 * libm/math/w_lgamma.c (lgamma): Likewise.
8387 * libm/math/wf_lgamma.c (lgammaf): Likewise.
8388 * libm/math/wf_jn.c (jnf): Likewise.
8389 * libm/math/w_jn.c (jn): Likewise.
8390 * libm/math/wf_j1.c (j1f): Likewise.
8391 * libm/math/w_j1.c (j1): Likewise.
8392 * libm/math/wf_j0.c (j0f): Likewise.
8393 * libm/math/w_j0.c (j0): Likewise.
8394 * libm/math/wf_hypot.c (hypotf): Likewise.
8395 * libm/math/w_hypot.c (hypot): Likewise.
8396 * libm/math/wf_gamma.c (gammaf): Likewise.
8397 * libm/math/w_gamma.c (gamma): Likewise.
8398 * libm/math/wf_fmod.c (fmodf): Likewise.
8399 * libm/math/w_fmod.c (fmod): Likewise.
8400 * libm/math/wf_exp.c (expf): Likewise.
8401 * libm/math/w_exp.c (exp): Likewise.
8402 * libm/math/wf_cosh.c (coshf): Likewise.
8403 * libm/math/w_cosh.c (cosh): Likewise.
8404 * libm/math/wf_atanh.c (atanhf): Likewise.
8405 * libm/math/w_atanh.c (atanh): Likewise.
8406 * libm/math/wf_atan2.c (atan2f): Likewise.
8407 * libm/math/w_atan2.c (atan2): Likewise.
8408 * libm/math/wf_asin.c (asinf): Likewise.
8409 * libm/math/w_asin.c (asin): Likewise.
8410 * libm/math/wf_acosh.c (acoshf): Likewise.
8411 * libm/math/w_acosh.c (acosh): Likewise.
8412 * libm/math/wf_acos.c (asocf): Likewise.
8413 * libm/math/w_acos.c (acos): Likewise.
8414 * libm/math/wf_sqrt.c (sqrtf): Likewise.
8415 * libm/math/k_standard.c (_k_standard): Don't require SVID behavior
8416 for embedded systems.
8417
8418Mon Dec 8 12:12:58 1997 Ian Lance Taylor <ian@cygnus.com>
8419
8420 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from Doug
8421 Lea in case of a foreign sbrk.
8422
8423Fri Dec 5 23:27:28 1997 Ian Lance Taylor <ian@cygnus.com>
8424
8425 Incorporate Doug Lea's malloc:
8426 * libc/stdlib/mallocr.c: Completely replaced.
8427 * libc/stdlib/malloc.c: Document malloc_usable_size and memalign.
8428 (realloc): Remove.
8429 * libc/stdlib/calloc.c (calloc): Just call _calloc_r.
8430 * libc/stdlib/mstats.c: Document mallinfo, malloc_stats, and
8431 mallopt.
8432 (mallinfo, malloc_stats, mallopt): New functions.
8433 (_mstats_r): Just call _malloc_stats_r.
8434 * libc/stdlib/malign.c: New file.
8435 * libc/stdlib/mlock.c: New file.
8436 * libc/stdlib/msize.c: New file.
8437 * libc/stdlib/mtrim.c: New file.
8438 * libc/stdlib/realloc.c: New file.
8439 * libc/stdlib/valloc.c: New file.
8440 * libc/stdlib/malloc.h: Remove.
8441 * libc/stdlib/callocr.c: Remove.
8442 * libc/stdlib/Makefile.in (OFILES): Add cfreer.o, freer.o,
8443 malign.o, malignr.o, mallinfor.o, malloptr.o, mallstatsr.o,
8444 mlock.o, msize.o, msizer.o, mtrim.o, pvallocr.o, realloc.o,
8445 reallocr.o, valloc.o, vallocr.o.
8446 (CHEWOUT_FILES): Add mlock.def, mstats.def.
8447 (MALLOC_CFLAGS): New variable.
8448 (mallocr.o): New target, build from mallocr.c.
8449 (freer.o, reallocr.o, callocr.o, cfreer.o, malignr.o): Likewise.
8450 (vallocr.o, pvallocr.o, mallinfor.o, mallstatsr.o): Likewise.
8451 (msizer.o, malloptr.o): Likewise.
8452 (malign.o, mlock.o, msize.o, mtrim.o, realloc.o): New targets.
8453 (valloc.o): New target.
8454 * libc/stdlib/stdlib.tex: Include mlock.def and mstats.def.
8455 * libc/include/malloc.h: Declare struct mallinfo, and new
8456 routines.
8457 * libc/include/stdlib.h (cfree): Correct declaration.
8458
8459Tue Dec 2 10:12:16 1997 Nick Clifton <nickc@cygnus.com>
8460
8461 * libc/include/machine/setjmp.h: Add support for Thumb target.
8462
8463 * libc/include/machine/ieeefp.h: Add support for Thumb target.
8464
8465 * configure.in (links): Add support for Thumb target.
8466
8467Wed Nov 26 09:56:17 1997 Nick Clifton <nickc@cygnus.com>
8468
8469 * libc/sys/arm/setjmp.S: Updated with version from branch.
8470
8471Thu Nov 20 01:21:43 1997 Geoffrey Noer <noer@cygnus.com>
8472
8473 * libc/include/stdio.h: add POSIX-required define L_ctermid
8474 for ctermid
8475
8476Wed Nov 19 16:11:40 1997 Michael Meissner <meissner@cygnus.com>
8477
8478 * configure.in (d30v-*-*): Define ABORT_MESSAGE, SMALL_MEMORY, in
8479 addition to MISSING_SYSCALL_NAMES.
8480
8481Mon Nov 17 20:05:05 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
8482
8483 * libc/include/sys/config.h: (UINT_MAX, for D10V): Make unsigned.
8484
8485Mon Nov 10 22:26:55 1997 Geoffrey Noer <noer@cygnus.com>
8486
8487 * libc/include/string.h: change strsignal proto to return
8488 a char *. This eliminates compile problems in gdb resulting
8489 from gdb's definition of strsignal in defs.h.
8490
8491Mon Nov 10 17:11:08 1997 Geoffrey Noer <noer@cygnus.com>
8492
8493 * libc/sys/cygwin32/sys/utime.h: new (moved here from
8494 winsup/include) so as not to conflict with the one in
8495 libc/include.
8496 * libc/include/string.h: add protos for strsignal, strtosigno
8497
8498Mon Nov 10 13:49:54 1997 Michael Meissner <meissner@cygnus.com>
8499
8500 * libc/include/sys/config.h: Define __IEEE_BIG_ENDIAN if d30v.
8501
8502 * configure.in (d30v-*-*): Add configuration.
8503
8504Thu Oct 30 14:01:23 1997 Nick Clifton <nickc@cygnus.com>
8505
8506 * configure.in (links): Add -DARM_RD[P|I]_MONITOR to target_cflags
8507 to select which kind of debug monitor is in use for an ARM target.
8508
8509 * libc/sys/arm/crt0.S: New version: Supports Thumb startups and
8510 Angel and Demon debug monitors. Part of this code was supplied by
8511 Tony Thompson at ARM: athompso@arm.com.
8512
8513Fri Oct 24 18:57:05 1997 Jeffrey A Law (law@cygnus.com)
8514
8515 * strncat.c (strncat): Don't call strncpy; strncay has the wrong
8516 semantics when the count is greater than the length of the second
8517 source string.
8518
8519Thu Oct 23 01:37:41 1997 Geoffrey Noer <noer@cygnus.com>
8520
8521 * libc/include/sys/signal.h: reorder CYGWIN32 signal numbers
8522 * libc/include/sys/unistd.h: add protos for usleep, truncate,
8523 truncate and ftruncate take off_t, not size_t
8524
8525Tue Oct 21 18:42:00 1997 Jim Wilson <wilson@cygnus.com>
8526
8527 * libc/string/strcat.c (strcat): Add missing comment end.
8528 * libc/string/strncat.c (strncat): Likewise.
8529
8530Tue Oct 21 17:23:34 1997 Nick Clifton <nickc@cygnus.com>
8531
8532 * configure.in (links): Define PREFER_SIZE_OVER_SPEED for v850
8533 targets.
8534 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Add space
8535 optimised version which is selected if PREFER_SIZE_OVER_SPEED is
8536 defined.
8537 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
8538 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
8539 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
8540
8541Mon Oct 13 15:12:35 1997 Ian Lance Taylor <ian@cygnus.com>
8542
8543 * libc/include/sys/param.h (BIG_ENDIAN): Define if __i386__.
8544 (LITTLE_ENDIAN, BYTE_ORDER): Likewise.
8545
8546Thu Oct 9 13:54:44 1997 Doug Evans <dje@canuck.cygnus.com>
8547
8548 * libc/machine/i386/setjmp.S: New file.
8549 * libc/machine/i386/Makefile.in: Delete COPYOFILES.
8550 (OFILES): Add setjmp.o.
8551 (setjmp.o): Add rule for.
8552 * configure.in: Don't set machine_dir for *-*-{go32,sco*,cygwin32}.
8553
8554Tue Oct 7 14:01:29 1997 Bill Moyer (billm@cygnus.com)
8555 Jeffrey A Law (law@cygnus.com)
8556
8557 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Reimplement to run faster.
8558 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
8559 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
8560 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
8561
8562Mon Oct 6 14:07:59 1997 Nick Clifton <nickc@cygnus.com>
8563
8564 * libc/sys/sysnecv850/Makefile.in (crt0.o trap.o): Explicit
8565 rules.
8566
8567 * libc/include/sys/config.h: Use __v850 to select v850
8568 endianness.
8569
8570 * libc/include/machine/setjmp.h: Use __v850 to select v850 jump
8571 buffer size.
8572
8573 * libc/include/machine/ieeefp.h: Use __v850 to select v850
8574 endianness.
8575
8576Thu Sep 25 14:11:37 1997 Geoffrey Noer <noer@cygnus.com>
8577
8578 * libc/stdlib/setenv.c: change unsetenv definition to match
8579 style of setenv (with _DEFUN). The string should be a const.
8580 * libc/include/stdlib.h: unsetenv proto should return void.
8581
8582Tue Sep 23 18:17:20 1997 Geoffrey Noer <noer@cygnus.com>
8583
8584 * libc/include/stdlib.h: define unsetenv proto for __CYGWIN32__
8585
8586Thu Sep 18 12:50:15 1997 Angela Marie Thomas (angela@cygnus.com)
8587
8588 * libc/stdio/glue.h: remove.
8589 * libc/stdio/findfp.c, libc/stdio/fwalk.c: remove #include "glue.h"
8590 * libc/stdio/Makefile.in: remove glue.h dependencies
8591
8592Wed Sep 17 17:42:27 1997 Nick Clifton <nickc@cygnus.com>
8593
8594 * libc/sys/sysnecv850/crt0.S: Created V850e version.
8595
8596Tue Sep 9 10:40:57 1997 Doug Evans <dje@canuck.cygnus.com>
8597
8598 * configure.in (target_cpu): Add `arc'.
8599
8600Tue Sep 9 10:40:42 1997 Joel Sherrill <joel@OARcorp.com>
8601
8602 * newlib/configure.in (*-*-rtems*): Add -DSIGNAL_PROVIDED and
8603 -DREENTRANT_SYSCALLS_PROVIDED to the target_cflags.
8604 * newlib/libc/include/sys/errno.h: Add ENOTSUP.
8605 * newlib/libc/reent/reent.c: Add _wrapup_reent.
8606 * newlib/libc/sys/rtems/sys/types.h: Avoid redefinitions for go32.
8607
8608Sun Sep 7 16:41:41 1997 Gavin Koch <gavin@cygnus.com>
8609
8610 * libc/machine/mips/setjmp.S: Handle mips16 builds.
8611
8612Thu Aug 21 20:05:38 1997 Ian Lance Taylor <ian@cygnus.com>
8613
8614 * libc/include/stdio.h (siprintf): Declare.
8615
8616Mon Aug 18 11:19:13 1997 Nick Clifton <nickc@cygnus.com>
8617
8618 * libc/sys/sysnecv850/Makefile.in (.c.o): Add rule that includes
8619 TARGET_CFLAGS and NEWLIB_FLAGS.
8620
8621Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
8622
8623 * configure.in (links): Add support for v850ea target.
8624
8625Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
8626
8627 * configure.in (links): Add support for v850e target.
8628
8629Wed Aug 13 19:16:54 1997 Nick Clifton <nickc@cygnus.com>
8630
8631 * libc/sys/sysnecv850/crt0.S: Remove initial setting of r0 to 0.
8632
8633Mon Aug 11 15:49:54 1997 Doug Evans <dje@canuck.cygnus.com>
8634
8635 * configure.in (arc-*-*): Add support for.
8636 * libc/include/machine/ieeefp.h (__arc__): Add support for the ARC.
8637
8638Fri Jul 25 17:37:41 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
8639
8640 * libc/sys/sh/crt0.S (start): Add fpscr initialization for SH4.
8641
8642Thu Jul 24 18:32:17 1997 Geoffrey Noer <noer@cygnus.com>
8643
8644 * libc/stdlib/bsearch.c (bsearch): remove last unneeded
8645 comparison which accesses invalid memory when the key is
8646 larger than the last member of the array.
8647 * libc/include/machine/setjmp.h: add sigsetjmp, siglongjmp
8648 for CYGWIN32
8649 * libc/include/sys/unistd.h: add _POSIX defines for CYGWIN32
8650
8651Tue Jul 22 16:03:06 1997 Ian Lance Taylor <ian@cygnus.com>
8652
8653 * libc/include/stdlib.h (realpath): Declare if __CYGWIN32__ and
8654 not _STRICT_ANSI.
8655
8656Thu Jul 10 15:11:52 1997 Doug Evans <dje@canuck.cygnus.com>
8657
8658 * libm/math/k_standard.c (__kernel_standard): Call fflush(stdout)
8659 ifndef _USE_WRITE, instead of ifdef _USE_WRITE.
8660
8661Thu Jul 10 16:00:09 1997 Mike Meissner <meissner@cygnus.com>
8662
8663 * libc/machine/tic80/setjmp.S (setjmp,longjmp): Use ld.d and st.d
8664 to load/store memory.
8665
8666Mon Jul 7 17:38:17 1997 Ian Lance Taylor <ian@cygnus.com>
8667
8668 * libc/include/sys/fcntl.h: Define _O_* symbols with leading
8669 underscores if _WIN32.
8670
8671Wed Jul 2 10:07:20 1997 Doug Evans <dje@canuck.cygnus.com>
8672
8673 * libm/math/k_standard.c (__kernel_standard): Delete reentrancy
8674 support ifdef _USE_WRITE missed in last change.
8675 From Anders Blomdell <anders.blomdell@control.lth.se>.
8676
8677Wed Jun 25 10:18:49 1997 Doug Evans <dje@canuck.cygnus.com>
8678
8679 * libc/stdio/tmpnam.c (worker): Handle _open_r being stubbed out.
8680 (_tmpnam_r, _tempnam_r): Update.
8681
8682Wed Jun 25 00:16:55 1997 Mark Alexander <marka@cygnus.com>
8683
8684 * libc/machine/sparc/setjmp.S: New file.
8685 * libc/machine/sparc/Makefile.in: Add setjmp.
8686 * libc/include/machine/setjmp.h: Increase jmpbuf size for sparc.
8687
8688Tue Jun 24 23:27:38 1997 Mark Alexander <marka@cygnus.com>
8689
8690 * libc/include/machine/setjmp.h: Use __TIC80__ instead of __tic80__.
8691
8692Tue Jun 24 14:53:40 1997 Doug Evans <dje@canuck.cygnus.com>
8693
8694 From Joel Sherrill <joel@oarcorp.com>.
8695 * libc/stdlib/getenv.c (_findenv): Avoid dereferencing null `environ'.
8696
8697 Add rtems support. From Joel Sherrill <joel@oarcorp.com>.
8698 * configure.in: Recognize *-*-rtems*.
8699 * libc/sys/rtems/{Makefile.in,crt0.c,dummysys.c}: New files.
8700 * libc/sys/rtems/sys/{features.h,sched.h,siginfo.h,signal.h,
8701 time.h,times.h,types.h}: New files.
8702 * libc/sys/rtems/include/{limits.h,signal.h,time.h}. New files.
8703
8704Fri Jun 20 11:13:16 1997 Geoffrey Noer <noer@cygnus.com>
8705
8706 patch from sos@prospect.com.ru (Sergey Okhapkin):
8707 * include/sys/wait.h: correct operator precidence bug
8708 in WIFSIGNALED
8709
8710Wed Jun 18 22:08:27 1997 Geoffrey Noer <noer@cygnus.com>
8711
8712 * libc/include/stdlib.h: remove unsetenv proto since it conflicts
8713 with newlib's unsetenv function
8714 * libc/sys/cygwin32/sys: new directory for includes
8715 * libc/sys/cygwin32/sys/dirent.h: move cygwin32's dirent.h
8716 here from winsup/include/sys
8717
8718Mon Jun 16 21:02:22 1997 Geoffrey Noer <noer@cygnus.com>
8719
8720 * libc/include/sys/unistd.h: _exit should only be
8721 labelled noreturn when not __CYGWIN32__
8722 * libc/include/stdlib.h: for __CYGWIN32__, add proto for unsetenv
8723 * libc/include/sys/signal.h: add SIGIO to _WIN32 list and
8724 increment NSIG
8725
8726Thu Jun 12 18:52:41 1997 Ian Lance Taylor <ian@cygnus.com>
8727
8728 * libc/include/sys/time.h: Only define timeval and timezone if
8729 _GNU_H_WINDOWS32_SOCKETS is not defined.
8730 * libc/include/sys/stat.h: If _WIN32, define _S_IFMT, etc.
8731
8732Wed Jun 11 09:46:26 1997 Jeffrey A Law (law@cygnus.com)
8733
8734 * libc/machine/mn10200/setjmp.S: Implement setjmp/longjmp
8735 * libc/machine/mn10300/setjmp.S: Likewise.
8736
8737 * libc/sys/sysmec/crt0.S: Use "call" instead of "calls" for
8738 the mn10300 (more relaxing opportunities).
8739
8740Tue Jun 10 17:24:45 1997 Mike Meissner <meissner@cygnus.com>
8741
8742 * configure.in (powerpc*-*-{eabi,elf,linux,rtems,sysv,solaris}):
8743 Build libraries with -mstrict-align.
8744
8745Fri Jun 6 14:07:59 1997 Ian Lance Taylor <ian@cygnus.com>
8746
8747 * libc/string/strlwr.c: New file.
8748 * libc/string/strupr.c: New file.
8749 * libc/include/string.h: Declare strlwr and strupr.
8750 * libc/string/Makefile.in (OFILES): Add strlwr.o and strupr.o.
8751 (CHEWOUT_FILES): Add strlwr.def and strupr.def.
8752 (strlwr.o, strupr.o): New targets.
8753 * libc/string/strings.tex: Include strlwr and strupr docs.
8754
8755 * libc/include/sys/types.h: Don't define u_char, et. al., if
8756 _GNU_H_WINDOWS32_SOCKETS is defined. Likewise for fd_set,
8757 et. al. Make FD_SETSIZE default 64 rather than 60. Define
8758 _types_fd_set rather than fd_set, and define fd_set as a macro.
8759
8760 * libc/include/malloc.h: New file.
8761
8762 * libc/include/string.h: Define strcmpi, stricmp, strncmpi, and
8763 strnicmp if they are not already defined.
8764
8765 * libc/include/time.h: If __CYGWIN32__, declare tzset and define
8766 _timezone, _daylight, and _tzname.
8767
8768Wed Jun 4 12:51:16 1997 Doug Evans <dje@canuck.cygnus.com>
8769
8770 * configure.in: Sort all configuration tables.
8771
8772 From Joel Sherrill <joel@oarcorp.com>
8773 * Makefile.in (stmp-targ-include): Copy $(sys_dir)/include/*.h.
8774
8775Tue Jun 3 14:47:46 1997 Ian Lance Taylor <ian@cygnus.com>
8776
8777 * libc/include/sys/signal.h: Don't include <sys/types.h>. Just
8778 use int when declaring kill.
8779
8780 * libc/include/sys/timeb.h: New file.
8781
8782Mon Jun 2 12:06:58 1997 Geoffrey Noer <noer@cirdan.cygnus.com>
8783
8784 * libc/include/sys/time.h: add itimer support for Cygwin32
8785
8786Mon May 19 11:56:46 1997 Mike Meissner <meissner@cygnus.com>
8787
8788 * libc/stdlib/abort.c (abort): If ABORT_MESSAGE is defined, write
8789 out a message that abort was called to stderr.
8790
8791Fri May 16 15:02:59 1997 Bob Manson <manson@charmed.cygnus.com>
8792
8793 * libc/sys/sysmec/fstat.c (_fstat): Set st_blksize to 4096
8794 so that libio doesn't freak.
8795
8796 * libc/sys/sysmec/sbrk.c (_sbrk): The argument is a size_t, not
8797 int.
8798
8799 * libc/stdlib/mallocr.c (_morecore_r): Use size_t for
8800 memory sizes, not int.
8801
8802Wed May 14 21:16:58 1997 Bob Manson <manson@charmed.cygnus.com>
8803
8804 * libm/math/ef_hypot.c: Use long constants where
8805 appropriate.
8806 * libm/math/ef_sqrt.c: Ditto.
8807
8808 * libc/sys/sysmec/times.c(_times): Change to times.
8809
8810 * libc/sys/sysmec/read.c(_read): The third argument is
8811 size_t.
8812 * libc/sys/sysmec/write.c (_write): Ditto.
8813
8814 * libc/sys/sysmec/lseek.c: Include unistd.h for off_t.
8815 (_lseek): It's off_t for the second argument.
8816
8817Wed May 14 15:23:36 1997 Mike Meissner <meissner@cygnus.com>
8818
8819 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN): Define here,
8820 as well as machine/ieeefp.h.
8821
8822Thu May 8 15:47:25 1997 Geoffrey Noer <noer@cygnus.com>
8823
8824 * libc/include/sys/signal.h: add signal protos for winsup
8825 functions (when __CYGWIN32__), include types.h
8826 * libc/include/sys/types.h: Change __go32_types__ internal
8827 define to __MS_types__ since it's used for more than just
8828 GO32 configs. Define this if GO32, __MSDOS__, or _WIN32 are
8829 defined.
8830 * libc/include/sys/unistd.h: add ftruncate proto for
8831 winsup functions (when __CYGWIN32__)
8832
8833Fri Apr 25 10:10:16 1997 Doug Evans <dje@canuck.cygnus.com>
8834
8835 * libc/sys/h8300hms/sbrk.c (stack_ptr): Add definition.
8836
8837Thu Apr 24 15:46:51 1997 Mike Stump <mrs@cygnus.com>
8838
8839 * libc/include/machine/setjmp.h: Add tic80 support.
8840 * libc/machine/tic80/setjmp.S: Likewise.
8841
8842Tue Apr 22 16:54:40 1997 Geoffrey Noer <noer@pizza.cygnus.com>
8843
8844 * libc/sys/cygwin32/crt0.c: Add reference to main() so we can
8845 link programs from libraries only (such as in the X11
8846 distribution)
8847
8848Mon Apr 21 15:02:12 1997 Fred Fish <fnf@cygnus.com>
8849
8850 * libc/sys/arm/syscalls.c (signal): Remove stub, signal()
8851 supplied elsewhere in newlib.
8852
8853Mon Apr 14 16:25:55 1997 Ian Lance Taylor <ian@cygnus.com>
8854
8855 * Makefile.in (INSTALL): Change install.sh to install-sh.
8856
8857Fri Apr 11 17:04:02 1997 Jason Molenda (crash@godzilla.cygnus.co.jp)
8858
8859 * README: update WWW address for on-line documentation.
8860
8861Wed Apr 9 00:38:13 1997 Geoffrey Noer <noer@cygnus.com>
8862
8863 * libc/include/sys/signal.h: for _WIN32, define SIGCONT and
8864 increment NSIG
8865
8866Mon Apr 7 23:54:00 1997 Jeffrey A Law (law@cygnus.com)
8867
8868 * libc/sys/sysmec/crt0.S: Update for new calling conventions on the
8869 mn10300.
8870 * libc/sys/sysmec/trap.S: Don't compare a register to itself.
8871
8872Tue Mar 25 08:47:43 1997 Jeffrey A Law (law@cygnus.com)
8873
8874 * libc/sys/arm/syscalls.c: Fix/add stack/heap collision detection.
8875 * libc/sys/d10v/syscalls.c: Likewise.
8876 * libc/sys/h8300hms/sbrk.c: Likewise.
8877 * libc/sys/h8500hms/syscalls.c: Likewise.
8878 * libc/sys/m88kbug/syscalls.c: Likewise.
8879 * libc/sys/sh/syscalls.c: Likewise.
8880 * libc/sys/sysmec/sbrk.c: Likewise.
8881 * libc/sys/sysnecv850/sbrk.c: Likewise.
8882 * libc/sys/w65/syscalls.c: Likewise.
8883 * libc/sys.tex: Update sbrk sample code to include stack/heap collision.
8884
8885Tue Mar 18 14:14:34 1997 Jeffrey A Law (law@cygnus.com)
8886
8887 * libc/sys/sysmec/trap.S: Use "syscall" to trigger an
8888 emulated syscall instead of "trap".
8889
8890Fri Mar 14 11:26:13 1997 Michael Meissner <meissner@cygnus.com>
8891
8892 * libc/sys/d10v/trap.S (__trap0): Use trap 15 for system calls,
8893 not trap 0.
8894
8895Sun Mar 9 23:27:04 1997 Doug Evans <dje@seba.cygnus.com>
8896
8897 * configure.in (m32r-*-*): Add -msdata=sdata to target_cflags.
8898
8899Sat Mar 8 09:05:01 1997 Fred Fish <fnf@cygnus.com>
8900
8901 * libc/machine/arm/Makefile.in: Fix comment, is for "arm"
8902 not "sh".
8903 * libc/machine/m32r/Makefile.in: Fix comment, is for "m32r"
8904 not "d10v".
8905 * libc/sys/tic80/crt0.c: New file for TIc80.
8906 * libc/sys/tic80/Makefile.in: New file for TIc80.
8907 * libc/machine/tic80/Makefile.in: New file for TIc80.
8908
8909Wed Mar 5 11:32:12 1997 J.T. Conklin <jtc@cygnus.com>
8910
8911 * libc/machine/sh/memcpy.S: New file.
8912 * libc/machine/sh/memset.S: New file.
8913 * libc/machine/sh/Makefile.in (OFILES): Add memcpy.o and memset.o
8914
8915Thu Feb 27 16:27:55 1997 Fred Fish <fnf@cygnus.com>
8916
8917 * libc/include/machine/ieeefp.h (_IEEE_LITTLE_ENDIAN): Define
8918 for TIc80.
8919
8920Wed Feb 26 13:43:39 1997 Jeffrey A Law (law@cygnus.com)
8921
8922 * libc/sys/sysmec/crt0.S: Handle new calling conventions for
8923 the mn10200.
8924
8925Wed Feb 26 07:11:03 1997 Michael Meissner <meissner@cygnus.com>
8926
8927 * libc/machine/powerpc/setjmp.S (longjmp): Correct return status
8928 (patch from andrew@pogo.WV.TEK.COM).
8929
8930Fri Feb 14 11:49:28 1997 Doug Evans <dje@canuck.cygnus.com>
8931
8932 * libc/machine/m32r/setjmp.S (setjmp): Save r12.
8933 (longjmp): Restore r12. Fix code that handles returning 1 if passed 0.
8934
8935Mon Feb 10 10:02:34 1997 Fred Fish <fnf@cygnus.com>
8936
8937 * configure.in: Add cases for "tic80" to set machine_dir,
8938 sys_dir, and syscall_dir.
8939
8940Sun Feb 2 17:57:15 1997 Geoffrey Noer <noer@cygnus.com>
8941
8942 * libc/sys/cygwin32/crt0.c: initialize floating pt registers
8943
8944Wed Jan 29 15:57:38 1997 Geoffrey Noer <noer@cygnus.com>
8945
8946 * libc/include/math.h: avoid conflicts with ANSI C++ <exception>
8947
8948Mon Jan 27 12:50:01 1997 Doug Evans <dje@seba.cygnus.com>
8949
8950 * libc/machine/m32r/setjmp.S: Use proper comment delimiter.
8951 Use proper constant prefix.
8952
8953Fri Jan 24 10:59:04 1997 Jeffrey A Law (law@cygnus.com)
8954
8955 * libc/sys/sysmec/*.c: Don't cast args to syscall to integers,
8956 that loses on the mn10200 where ints and pointers are different
8957 sizes.
8958
8959Tue Jan 14 13:29:55 PST 1997 Jeremy Allison <jra@cygnus.com>
8960
8961 * configure.in: Added -DSIGNAL_PROVIDED to cygwin32
8962 target as signal is provided in winsup.
8963
8964Tue Jan 14 11:10:13 1997 Jeremy Allison <jra@cygnus.com>
8965
8966 * libc/include/sys/process.h: Corrected const definitions
8967 in spawn functions. Added cwait.
8968
8969Thu Jan 2 12:22:41 1997 Jeffrey A Law (law@cygnus.com)
8970
8971 * libc/include/machine/ieeefp.h: mn10200 uses 16bit ints and 32bit
8972 doubles.
8973 * libc/include/sys/config.h: Similarly.
8974
8975Tue Dec 31 18:36:14 1996 Michael Meissner <meissner@tiktok.cygnus.com>
8976
8977 * configure.in (sparc-sun-sunos*): Add -DSIGNAL_PROVIDED to the
8978 target_cflags.
8979 (i[3456]86-*-sco*): Ditto.
8980
8981 * libc/signal/Makefile.in (OFILES): Add signal.o.
8982 (CFILES): Add signal.c.
8983
8984 * libc/signal/raise.c (_raise_r): Only compile code if
8985 SIGNAL_PROVIDED is defined.
8986
8987 * libc/signal/signal.c: Redo whole file so that it works with
8988 current newlib. Use _kill_r if no signal handler provided.
8989
8990 * libc/sys/{go32,sparc64,sysmec}/Makefile.in: Delete raise and
8991 signal stubs.
8992 * libc/sys/sysvnecv70/Makefile.in: Ditto.
8993 * libc/sys/sysnecv850/Makefile.in: Ditto.
8994
8995 * libc/sys/{go32,sparc64}/signal.c: Delete, stub no longer used.
8996 * libc/sys/sysmec/{raise,signal}.c: Ditto.
8997 * libc/sys/sysvnecv70/signal.s: Ditto.
8998 * libc/sys/sysnecv850/raise.c: Ditto.
8999
9000 * libc/sys/sysnecv850/kill.c (_kill): Encode signal # so that
9001 simulator and debugger can tell the difference between a signal
9002 being raised and an exit system call.
9003
9004 * NEWS: Document software signals being provided.
9005
9006Mon Dec 23 11:54:19 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9007
9008 * libc/reent/impure.c (_REENT_ATTR): Delete in favor of
9009 __ATTRIBUTE_IMPURE_PTR__. Move PowerPC definition to
9010 include/sys/config.h.
9011 (impure_data): Use __ATTRIBUTE_IMPURE_DATA__ for attributes.
9012 Change from 'inpure_data'.
9013 (_impure_ptr): Use __ATTRIBUTE_IMPURE_PTR__ for attributes. Use
9014 &impure_data, not &inpure_data.
9015
9016 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): If PowerPC
9017 and and System V ABI, define so that _impure_ptr lives in the
9018 .sdata section.
9019
9020Sun Dec 22 23:33:05 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9021
9022 * libc/include/sys/reent.h (__ATTRIBUTE_IMPURE_PTR__): Define as
9023 nothing if not defined.
9024 (_impure_ptr): Use __ATTRIBUTRE_IMPURE_PTR__, so a machine can set
9025 its attributes.
9026
9027 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__):
9028
9029Wed Dec 18 10:12:04 1996 Jeffrey A Law (law@cygnus.com)
9030
9031 * libc/sys/sysmec/crt0.S: Fix mn10200 stuff.
9032 * libc/sys/sysmec/trap.s: Handle mn10200 too.
9033 * libc/machine/mn10200/setjmp.S: Fix mn10200 stuff.
9034
9035Mon Dec 16 10:05:36 1996 Jeffrey A Law (law@cygnus.com)
9036
9037 * libc/sys/sysmec/crt0.S: Handle mn10200 too.
9038
9039Fri Dec 13 11:05:20 1996 Jeremy Allison <jra@cygnus.com>
9040
9041 * libc/include/sys/errno.h: Added net errno's.
9042
9043Wed Dec 11 16:24:25 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9044
9045 * libc/misc/ffs.c: New file to support ffs function for GCC test
9046 gcc.c-torture/execute/960909-1.c.
9047
9048 * libc/misc/Makefile.in ({O,CHEWOUT_}FILES): Add ffs.
9049
9050Sat Dec 7 10:12:37 1996 Jeffrey A Law (law@cygnus.com)
9051
9052 * libc/sys/sysmec/crt0.S: Handle underscore prefix.
9053 * libc/sys/sysmec/trap.S: Likewise.
9054
9055Fri Dec 6 15:08:49 1996 Jim Wilson <wilson@cygnus.com>
9056
9057 * configure.in (mips*vr4300*-*-*): Delete use of sys/vr4300.
9058 * libc/sys/vr4300/{Makefile.in,crt0.S,syscalls.c}: Delete.
9059
9060Wed Dec 4 16:25:27 1996 Jeffrey A Law (law@cygnus.com)
9061
9062 * libc/sys/sysmec/signal.c: Dummy file.
9063 * libc/sys/sysmec/Makefile.in: Build it.
9064
9065Wed Nov 27 13:10:18 1996 Ian Lance Taylor <ian@cygnus.com>
9066
9067 * libc/machine/mips/machine/regdef.h: Define pc as $pc for
9068 mips16.
9069
9070Mon Nov 25 09:58:28 1996 Jeffrey A Law (law@cygnus.com)
9071
9072 * libc/sys/sysmec/{crt0.S,trap0.S}: Actually try to implement
9073 c-startup and simulator traps.
9074
9075
9076 * libc/sys/sysmec/crt0.S: Remove bogus '_' symbol prefixing
9077 * libc/sys/sysmec/trap0.S: Likewise.
9078
9079Sat Nov 23 09:01:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9080
9081 * libc/stdlib/mallocr.c (ROUND_TO): If SMALL_MEMORY, set to 0x7 to
9082 round to double word alignment.
9083 (_morecore_r): Combine rounding up pointers to both ROUND_TO and 8
9084 byte alignment.
9085
9086 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Define if d10v.
9087
9088 * libc/sys/d10v/syscalls.c (_sbrk): Add better checks for running
9089 out of memory.
9090
9091Mon Nov 18 13:08:26 1996 Jeffrey A Law (law@cygnus.com)
9092
9093 * configure.in: Handle mn10200 and mn10300.
9094 * libc/include/machine/{ieeefp.h,setjmp.h}: Likewise.
9095 * libc/include/sys/config.h: Likewise.
9096 * libc/sys/sysmec: New directory for mec stuff.
9097 * libc/machine/mn10300: New directory for mn10300 stuff.
9098 * libc/machine/mn10200: Similarly for mn10200 stuff.
9099
9100Fri Nov 15 16:41:41 1996 Doug Evans <dje@canuck.cygnus.com>
9101
9102 * libc/sys/arm/crt0.S: Use .text, not .section .text.
9103 * libc/sys/arm/syscalls.c: Rewrite to set errno properly.
9104
9105 * libc/include/sys/types.h (_ST_INT32): New macro, local to file.
9106 (nlink_t): Change type from unsigned int to unsigned short.
9107 (mode_t): Ensure size is 32 bits even if int is 16.
9108 * libc/include/sys/stat.h (st_nlink): Change type to nlink_t.
9109 (st_spare[123]): Change type from int to long.
9110
9111Fri Nov 15 11:41:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9112
9113 * libc/sys/d10v/syscalls.c (_sbrk): Align initial heap_end to 8
9114 byte boundary.
9115
9116 * configure.in (d10v*): Define SMALL_MEMORY.
9117
9118Mon Nov 11 10:30:44 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9119
9120 * configure.in (powerpc*-{eabi,elf,linux,rtem,sysv,solaris}*): Add
9121 -mrelocatable-lib and -mno-eabi flags.
9122
9123Mon Nov 11 09:01:39 1996 Jeffrey A Law (law@cygnus.com)
9124
9125 * libc/machine/h8300/memcpy.S: Fix comments to reflect reality.
9126 Fix handling of mis-aligned source operand when both the
9127 destination & length are properly aligned.
9128
9129Wed Oct 30 09:41:11 1996 Jeffrey A Law (law@cygnus.com)
9130
9131 * libc/sys/sysnecv850/Makefile.in (OFILES): Add
9132 times.o, time.o and gettime.o
9133 * libc/sys/sysnecv850/{time.c, times.c, gettime.c}: New files.
9134 * libc/sys/sysnecv850/sys/syscall.h: Add SYS_times and
9135 SYS_gettimeofday.
9136
9137Tue Oct 29 13:40:09 1996 Jeffrey A Law (law@cygnus.com)
9138
9139 * libc/sys/sysnecv850/Makefile.in (OFILES): Add access.o
9140 * libc/sys/sysnecv850/access.c: New file.
9141
9142Mon Oct 21 19:47:02 1996 Ian Lance Taylor <ian@cygnus.com>
9143
9144 * libc/sys/vr4300/Makefile.in (clean): Remove $(OFILES).
9145
9146 * libc/stdlib/mprec.h (word0, word1): Use __uint32_t, not unsigned
9147 long.
9148
9149Mon Oct 21 14:43:07 1996 Jeffrey A Law (law@cygnus.com)
9150
9151 * libc/sys/sysnecv850/crt0.S: Initialize ep and gp registers.
9152
9153Thu Oct 17 11:47:16 1996 Doug Evans <dje@seba.cygnus.com>
9154
9155 * libc/include/machine/{ieeefp.h,setjmp.h}: Add m32r support.
9156 * libc/include/sys/config.h: Add m32r support.
9157
9158Wed Oct 16 23:08:05 1996 Jeffrey A Law (law@cygnus.com)
9159
9160 * libc/sys/sysnecv850/v850.ld: Remove. It doesn't belong
9161 here.
9162
9163Wed Oct 16 21:18:07 1996 Mark Alexander <marka@cygnus.com>
9164
9165 * libc/include/machine/setjmp.h: Add D10v support.
9166
9167Tue Oct 15 22:28:26 1996 Jeffrey A Law (law@cygnus.com)
9168
9169 * configure.in: Configure the "libc/syscalls" directory for
9170 the v850.
9171
9172 * libc/sys/sysnecv850/{close.c, execve.c, fork.c}: Add missing '_'.
9173 * libc/sys/sysnecv850/{fstat.c, getpid.c, kill.c}: Likewise.
9174 * libc/sys/sysnecv850/{lseek.c, open.c, read.c}: Likewise.
9175 * libc/sys/sysnecv850/{sbrk.c, stat.c, unlink.c}: Likewise.
9176 * libc/sys/sysnecv850/{wait.c, write.c}: Likewise.
9177
9178Tue Oct 15 16:24:39 1996 Stu Grossman (grossman@critters.cygnus.com)
9179
9180 * libc/sys/sysnecv850/crt0.S (start): Allocate spill space on
9181 stack for args for main and other routines. Zero out args for
9182 main.
9183
9184 * libc/sys/sysnecv850/v850.ld: New. Linker script to layout memory
9185 correctly.
9186
9187Tue Oct 15 11:51:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9188
9189 * libc/stdio/findfp.c (std): Remove extraneous ';' after
9190 function.
9191
9192 * libc/sys/d10v/sys/syscall.h (SYS_kill): Add.
9193
9194 * libc/sys/d10v/{syscalls.c,trap.S} (_kill,_getpid): Make these
9195 real system calls now.
9196
9197 * libc/stdio/setvbuf (setvbuf): Cast pointers to _POINTER_INT
9198 before casting them to int.
9199 * libc/stdio/tmpnam.c (_tempnam_r): Ditto.
9200
9201 * libc/stdlib/mallocr.c (_morecore_r): Use _POINTER_INT when
9202 aligning pointer.
9203 * libc/string/memset.c (memset): Ditto.
9204
9205 * libc/stdio/vfscanf.c (__svfscanf): When converting to pointer,
9206 first convert ints to _POINTER_INT to eliminate GCC warning.
9207
9208 * libc/stdio/vfprintf.c (_vfprintf_r): Use _POINTER_INT when
9209 processing %p.
9210
9211 * libm/math/ef_scalb.c (__ieee754_scalbf): Cut down range to 32000
9212 from 65000 if ints are only 16 bits.
9213
9214 * libm/math/sf_scalbn.c (scalbnf): Cut down overflow test to 30000
9215 from 50000 if ints are only 16 bits.
9216
9217 * libc/include/sys/config.h (_POINTER_INT): New macro, to give an
9218 int type that is the same size as a pointer.
9219
9220 * libc/misc/dprintf.c (__dprintf): Use _POINTER_INT when
9221 processing %p.
9222 (get_number): Explicitly cast number to long before shifting by 16
9223 or 24, in case ints are short.
9224
9225 * libc/include/sys/config.h (_POINTER_INT): Define as short.
9226
9227Wed Oct 9 16:54:32 1996 Jeremy Allison <jra@cygnus.com>
9228
9229 * libc/string.h: Added ffs, removed swab.
9230 * libc/sys/errno.h: Added EOPNOTSUPP.
9231 * libc/sys/unistd.h: Added swab.
9232
9233Thu Oct 3 17:08:50 1996 Jeremy Allison <jra@cygnus.com>
9234
9235 * libc/include/sys/stat.h: Added fchmod.
9236 * libc/include/sys/unistd.h: Added fsync.
9237
9238Tue Oct 1 17:34:08 1996 Jeremy Allison <jra@cygnus.com>
9239
9240 * libc/include/sys/errno.h: Added defines for EPFNOSUPPORT (96)
9241 and ECONNRESET (104) for cygwin32.
9242
9243Tue Oct 1 16:24:05 1996 Gavin Koch <gavin@cygnus.com>
9244
9245 * libc/sys/sysnecv850/_exit.c: added _do_dtors to
9246 do the static destructors.
9247
9248Mon Sep 30 15:59:05 1996 Stu Grossman (grossman@critters.cygnus.com)
9249
9250 * libc/sys/sysnecv850/trap.S: Change I/O to use trap 31.
9251
9252Mon Sep 30 12:02:50 1996 Doug Evans <dje@canuck.cygnus.com>
9253
9254 * libc/machine/m32r/{Makefile.in,setjmp.S}: New files.
9255 * configure.in: Recognize m32r-*-*.
9256
9257Mon Sep 30 00:34:41 1996 James G. Smith <jsmith@cygnus.co.uk>
9258
9259 * libc/sys/arm/trap.S (__rt_stkovf_split_big,
9260 __rt_stkovf_split_small): Added default software stack overflow
9261 handlers, which just call SWI_Exit.
9262 * libc/sys/arm/crt0.S (_mainCRTStartup): Simple software stack
9263 limit initialisation.
9264
9265Fri Sep 27 13:08:03 1996 Mark Alexander <marka@cygnus.com>
9266
9267 * libc/sys/d10v/{trap.S,sys/syscall.h}: Add time() function.
9268
9269Fri Sep 27 12:32:00 1996 Jeremy Allison <jra@cygnus.com>
9270
9271 * libc/include/sys/types.h: Added ssize_t definition.
9272
9273Wed Sep 25 14:52:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9274
9275 * libc/machine/d10v/setjmp.S: Use ';' for comments.
9276 * libc/sys/d10v/{crt0.S,trap.S}: Ditto.
9277
9278 * libc/machine/d10v/setjmp.S (longjmp): Use exef0t || instead of
9279 branch around a single ldi instruction.
9280
9281 * libc/sys/d10v/crt0.S (_start): Use auto-increment to zero bss.
9282 Call exit, instead of just issuing a stop instruction.
9283
9284Sun Sep 22 17:26:55 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9285
9286 * libc/sys/d10v/{trap.S,syscalls.c}: Add -mint32 support.
9287
9288Fri Sep 20 13:23:12 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9289
9290 * libc/stdlib/mprec.h: Explicitly declare all large constants as
9291 longs, and then cast them to __uint32_t.
9292
9293 * libc/include/sys/config.h: Protect against multiple inclusions.
9294
9295Tue Sep 17 13:10:33 1996 Mark Alexander <marka@cygnus.com>
9296
9297 * configure.in (d10v*): Set syscall_dir.
9298
9299Sun Sep 15 10:41:59 1996 Mark Alexander <marka@cygnus.com>
9300
9301 * libc/sys/d10v/crt0.S: Set stack pointer.
9302
9303Thu Sep 12 13:02:38 1996 Mark Alexander <marka@cygnus.com>
9304
9305 * libc/sys/d10v/{trap.S, syscalls.c}: Rewrite most system calls
9306 in assembly for efficiency. Change calling convention to allow
9307 long ints to be returned.
9308
9309Wed Sep 11 10:28:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9310
9311 * libc/machine/v850/Makefile.in (setjmp.o): Fix dependency.
9312
9313Thu Sep 5 19:23:06 1996 Doug Evans <dje@canuck.cygnus.com>
9314
9315 * libc/posix/execvp.c (execvp): Don't search PATH if file has '/'.
9316 Handle empty entries in $PATH.
9317
9318Tue Sep 03 18:15:02 1996 Mark Alexander <marka@cygnus.com>
9319
9320 * libc/machine/d10v/setjmp.S: Make it really work.
9321
9322Tue Sep 3 12:16:26 1996 Ian Lance Taylor <ian@cygnus.com>
9323
9324 * libc/sys/sh/crt0.S: If __ELF__, use ELF section attributes for
9325 the .stack section.
9326
9327Tue Sep 3 10:08:45 1996 Jeffrey A Law (law@cygnus.com)
9328
9329 * sys/sysnecv850/sys/file.h: Remove.
9330 * sys/sysnecv850/sys/syscall.h: New file.
9331 * sys/sysnecv850/{misc.c,syscalls.c,malloc.c}: Deleted.
9332 * sys/sysnecv850/{chmod.c, chown.c, close.c, creat.c} New files.
9333 * sys/sysnecv850/{execv.c, execve.c, fork.c, fstat.c} New files.
9334 * sys/sysnecv850/{getpid.c, isatty.c, kill.c, lseek.c} New files.
9335 * sys/sysnecv850/{open.c, pipe.c, raise.c, read.c} New files.
9336 * sys/sysnecv850/{stat.c, unlink.c, utime.c, wait.c} New files.
9337 * sys/sysnec850/trap.S: New file.
9338 * sys/sysnecv850/{_exit.c, write.c}: Use new TRAP0 mechanism for
9339 syscalls.
9340 * sys/sysnecv850/crt0.S: Use cmp/bl, not tst/bz.
9341 * sys/sysnec850/sbrk.c: New version.
9342
9343Sun Sep 1 20:08:27 1996 Jeffrey A Law (law@cygnus.com)
9344
9345 * sys/sysnecv850/crt0.S: Fix order of comparison args. Loop
9346 as long as r6 is less than r7.
9347
9348Sun Sep 1 13:54:19 1996 Ian Lance Taylor <ian@cygnus.com>
9349
9350 * Makefile.in (mostlyclean): Separate from clean target. Don't
9351 remove *.a or targ-include.
9352 * libc/machine/sparc/Makefile.in (mostlyclean): New target.
9353
9354Sun Sep 1 11:35:26 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9355
9356 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Define for
9357 d10v.
9358 (__SMALL_BITFIELDS): Ditto.
9359
9360 * libc/include/sys/config.h (_DOUBLE_IS_32BITS): Define for d10v.
9361
9362Sat Aug 31 16:42:36 1996 Jeffrey A Law (law@cygnus.com)
9363
9364 * libc/sys/sysnecv850/misc.c (raise, getpid, kill): Remove '_'
9365 prefix.
9366
9367 * libc/sys/sysnecv850/sbrk.c (sbrk): Remove '_' prefix.
9368 * libc/sys/sysnecv850/syscalls.c (read, lseek, close): Likewise.
9369 * libc/sys/sysnecv850/syscalls.c (fstat, open, close): Likewise.
9370 * libc/sys/sysnecv850/write.c (write): Likewise.
9371
9372 * libc/sys/sysnecv850/crt0.S: Don't try to zero out an empty
9373 .bss.
9374
9375Fri Aug 30 11:18:45 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9376
9377 * libc/include/sys/config.h: Define INT_MAX, UINT_MAX
9378 appropriately for D10V, depending on -mint16/-mint32.
9379
9380Thu Aug 29 16:09:37 1996 Mark Alexander <marka@cygnus.com>
9381
9382 * configure.in: Add cases for D10V.
9383
9384Thu Aug 29 17:03:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9385
9386 * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
9387
9388Wed Aug 28 21:05:52 1996 Jeffrey A Law (law@cygnus.com)
9389
9390 * libc/include/machine/ieeefp.h: Fix typo.
9391
9392Wed Aug 28 19:47:55 1996 Mark Alexander <marka@cygnus.com>
9393
9394 * libc/sys/d10v: New directory for D10V stuff.
9395 * libc/include/machine/ieeefp.h: Add D10V defines.
9396
9397Mon Aug 26 13:34:58 1996 Doug Evans <dje@canuck.cygnus.com>
9398
9399 * libc/include/sys/errno.h: Add winsup/include/sys/errno.h values:
9400 ELOOP, ENOBUFS, EAFNOSUPPORT, EPROTOTYPE, ENOTSOCK, ENOPROTOOPT,
9401 ESHUTDOWN, ECONNREFUSED, EADDRINUSE, ECONNABORTED, EWOULDBLOCK.
9402 * libc/string/strerror.c (strerror): Add them.
9403
9404Thu Aug 22 16:38:19 1996 Jeffrey A Law (law@cygnus.com)
9405
9406 * libc/sys/sysnecv850: New directory for v850 stuff.
9407
9408 * libc/machine/v850: New directory for v850 stuff.
9409 * libc/machine/v850/setjmp.S: setjmp/longjmp support.
9410
9411 * configure.in: Add support for the v850.
9412
9413 * libc/include/machine/ieeefp.h: Add v850 defines.
9414 * libc/include/machine/setjmp.h: Likewise.
9415 * libc/include/sys/config.h: Add v850 defines.
9416
9417Sat Aug 17 04:06:36 1996 Geoffrey Noer <noer@cygnus.com>
9418
9419 * libc/include/machine/ieeefp.h
9420 * libc/include/machine/setjmp.h
9421 * libc/include/sys/fcntl.h
9422 * libc/include/sys/signal.h
9423 * libc/include/sys/types.h
9424 * libc/stdlib/system.c:
9425 Fix preprocessor defines to match new scheme (_WIN32 for WIN32
9426 API availability, __CYGWIN32__ for cygwin32 environment specific).
9427
9428Thu Aug 15 17:09:21 1996 Geoffrey Noer <noer@cygnus.com>
9429
9430 * libc/include/stdlib.h: add multibyte character functions. Add
9431 __eprintf for assert.
9432
9433Thu Aug 15 11:15:40 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9434
9435 * libc/stdlib/malloc.h (MALLOC_ALIGNMENT): Use either pointer
9436 arithmetic or __alignof__ to properly get the alignment, instead
9437 of hardwiring it to 4.
9438
9439Wed Aug 14 23:43:28 1996 Geoffrey Noer <noer@cygnus.com>
9440
9441 * libc/stdio/fseek.c: add fflush call to adjust seek offset
9442 on append stream (fix from NetBSD sources), adjust curoff offset
9443 for ungetc's benefit.
9444 * libc/stdio/ftell.c: adjust curoff offset for ungetc's benefit.
9445 * libc/stdio/rewind.c: replace code with up to date NetBSD
9446 code to undo hacks made to work around above problem of not
9447 having fflush call mentioned above
9448
9449Fri Aug 2 18:28:07 1996 J.T. Conklin <jtc@rtl.cygnus.com>
9450
9451 * libc/reent/{closer.c, execr.c, fstatr.c, linkr.c, lseekr.c,
9452 openr.c, readr.c, sbrkr.c, signalr.c, statr.c, timer.c, writer.c}:
9453 Partially revert last changes. The thread specific errno is set
9454 iff if the underlying syscall fails and the global errno is not
9455 zero.
9456
9457Fri Jul 19 11:41:52 1996 J.T. Conklin <jtc@rtl.cygnus.com>
9458
9459 * libc/reent/filer.c: Removed files, all functions have split out
9460 into their own files.
9461 * libc/reent/{closer.c, lseekr.c, openr.c, readr.c, writer.c}:
9462 New files containing functions formally in filer.c
9463 * libc/reent/Makefile.in: Updated for above change.
9464
9465 * libc/reent/execr.c (_fork_r, _wait_r): Set errno if underlying
9466 syscall fails, not if errno is changed.
9467 * libc/reent/filer.c (_open_r, _close_r, _lseek_r, _read_r,
9468 _write_r): Likewise.
9469 * libc/reent/fstatr.c (_fstat_r): Likewise.
9470 * libc/reent/linkr.c (_link_r, _unlink_r): Likewise.
9471 * libc/reent/sbrkr.c (_sbrk_r): Likewise.
9472 * libc/reent/signalr.c (_kill_r): Likewise.
9473 * libc/reent/statr.c (_stat_r): Likewise.
9474 * libc/reent/timer.c (_gettimeofday_r): Likewise.
9475
9476 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, sbrkr.c,
9477 signalr.c, statr.c, timer.c} (errno): declare extern rather
9478 than as a common.
9479
9480 * libc/stdio/vfprintf.c (__sbprintf): Use the VFPRINTF macro
9481 instead of calling vfprintf so that i*printf will not require
9482 floating point support code.
9483
9484Mon Jul 15 16:50:59 1996 Doug Evans <dje@canuck.cygnus.com>
9485
9486 * libc/posix/execvp.c (execvp): Use posix_path_list_p to determine
9487 path delimiter.
9488 * libc/include/sys/unistd.h (_SC_PATH_RULES): Delete.
9489 (_PATH_RULES_{UNKNOWN,WIN32,POSIX}): Delete.
9490
9491Thu Jul 11 14:34:14 1996 Geoffrey Noer <noer@cygnus.com>
9492
9493 * libc/include/signal.h: _sig_func_ptr function takes an int
9494 * libc/include/sys/signal.h: sa_handler function takes an int
9495
9496Tue Jul 9 21:22:32 1996 Jeffrey A Law (law@cygnus.com)
9497
9498 * libc/include/machine/ieeefp.h: Simplify H8/S support.
9499 * libc/include/sys/config.h: Add missing H8/S conditional.
9500
9501Sun Jun 30 12:05:46 1996 Doug Evans <dje@canuck.cygnus.com>
9502
9503 * libc/include/sys/unistd.h (MAXPATHLEN): Add cygwin32 value.
9504
9505Wed Jun 26 09:57:54 1996 Jeffrey A Law (law@cygnus.com)
9506
9507 * libc/include/machine/setjmp.h: Handle H8/S.
9508 * libc/include/machine/ieeefp.h: Likewise.
9509 * libc/include/sys/config.h: Likewise.
9510 * libc/machine/h8300/{defines.h, memcpy.S, memset.S}: Likewise.
9511 * libc/machine/h8300/{reg_memcpy.S, reg_memset.S}: Likewise.
9512 * libc/machine/h8300/{strcmp.S, setjmp.S}: Likewise.
9513 * libc/sys/h8300hms/crt0.S: Likewise.
9514
9515Tue Jun 25 23:15:45 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
9516
9517 * Makefile.in (datadir): Set to $(prefix)/share.
9518 (oldincludedir, docdir): Removed.
9519 * doc/Makefile.in (datadir): Set to $(prefix)/share.
9520 (oldincludedir, docdir): Removed.
9521 * libc/Makefile.in (datadir): Set to $(prefix)/share.
9522 (oldincludedir, docdir): Removed.
9523 * libm/Makefile.in (datadir): Set to $(prefix)/share.
9524 (oldincludedir, docdir): Removed.
9525
9526Fri Jun 21 19:24:41 1996 Ian Lance Taylor <ian@cygnus.com>
9527
9528 * libc/include/sys/reent.h (_REENT_INIT): Update for change to
9529 _reent struct.
9530
9531Wed Jun 19 14:00:09 1996 Doug Evans <dje@canuck.cygnus.com>
9532
9533 * libc/posix/execvp.c: Delete _WIN32 support. For __CYGWIN32__
9534 fetch current path rules with sysconf and handler posix/win32
9535 appropriately.
9536
9537 * libc/include/sys/unistd.h (_PATH_RULES{,_POSIX,_WIN32}): Define.
9538
9539 * libc/include/process.h: Prepend '_' to P_{WAIT,NOWAIT,OVERLAY}.
9540 (WAIT_CHILD): Always define.
9541
9542Sat Jun 15 17:50:42 1996 Ian Lance Taylor <ian@cygnus.com>
9543
9544 * libc/stdlib/eprintf.c: New file.
9545 * libc/stdlib/Makefile.in (OFILES): Add eprintf.o.
9546 (eprintf.o): New target.
9547
9548Thu Jun 13 16:44:32 1996 Doug Evans <dje@canuck.cygnus.com>
9549
9550 * libc/sys/cygwin32/crt0.c (__cygwin_crt0_bp): New global.
9551 (mainCRTStartup): Do int3 if __cygwin_crt0_bp non-zero.
9552
9553Thu Jun 13 17:45:17 1996 Mike Meissner <meissner@rtl.cygnus.com>
9554
9555 * libc/include/machine/ieeefp.h: Add support for AIX and Windows
9556 NT in PowerPC endianess cases.
9557
9558Tue Jun 11 12:26:28 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9559
9560 * libc/include/machine/ieeefp.h: Clean up PowerPC endianess.
9561
9562Thu Jun 6 11:34:20 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9563
9564 * libc/string/strtok.c: Fix doc typo.
9565
9566Mon Jun 3 11:30:00 1996 J.T. Conklin <jtc@rtl.cygnus.com>
9567
9568 * libc/include/sys/reent.h (struct _reent): Removed _asctime,
9569 _next, _scanpoint, _signgam fields.
9570
9571 * libc/include/stdlib.h (rand_r): Added new declaration.
9572 (_rand_r, _srand_r): Removed declarations.
9573 * libc/stdlib/rand.c (_rand_r, _srand_r): Removed, these functions
9574 have been made obsolete by rand_r.
9575 * libc/stdlib/rand_r.c: New file, rand_r function as specified
9576 by POSIX.1c.
9577
9578 * libc/string/strtok.c: Update documentation to describe
9579 strtok_r().
9580
9581Sat Jun 1 23:50:39 1996 Michael Meissner <meissner@cygnus.com>
9582
9583 * libc/include/sys/stat.h (stat structure): Use the expanded stat
9584 structure on Solaris, and PowerPC systems even though __svr4__ is
9585 defined.
9586
9587Tue May 28 13:02:42 1996 Doug Evans <dje@canuck.cygnus.com>
9588
9589 * libc/sys/go32/sys/errno.h (ENOSYS,ESPIPE): Keep values <= 255.
9590
9591Fri May 17 10:34:44 1996 Ian Lance Taylor <ian@cygnus.com>
9592
9593 * host/any: Use ../.. rather than .. to get to the main build
9594 directory. This matches the current layout of the build
9595 directory.
9596
9597Wed May 15 15:52:27 1996 Jeffrey A Law (law@cygnus.com)
9598
9599 * libc/machine/h8300/__main.S: Delete. No longer needed.
9600 * libc/machine/h8300/Makefile.in: Corresponding changes.
9601 * libc/sys/h8300hms/crt1.c: New file.
9602 * libc/sys/h8300hms/Makefile.in: Corresponding changes.
9603 * libc/sys/h8300hms/crt0.s: Call __main.
9604
9605 * libc/sys/h8300hms/crt0.S: Use temporary label names
9606 for branch targets.
9607
9608Mon May 13 14:26:30 1996 Doug Evans <dje@canuck.cygnus.com>
9609
9610 * libc/stdio/fopen.c (_fopen_r): Fix arguments to fseek.
9611
9612Fri May 3 16:38:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9613
9614 * libc/reent/impure.c (_impure_ptr): Force the impure pointer into
9615 .sdata on the PowerPC so that we can link newlib with code
9616 compiled with -msdata.
9617
9618Mon Apr 29 21:38:02 1996 Doug Evans <dje@canuck.cygnus.com>
9619
9620 * libc/sys/arm/syscalls.c (_sbrk): Rename end to __end__.
9621
9622Thu Apr 25 06:38:59 1996 Michael Meissner <meissner@cygnus.com>
9623
9624 * libc/sys/cygwin32/crt0.c (mainCRTStartup): On PowerPC, set the
9625 exception handler to __cygwin_exception_handler.
9626
9627Tue Apr 23 15:14:20 1996 Ian Lance Taylor <ian@cygnus.com>
9628
9629 * libc/include/machine/setjmp.h: Check _AM29K, not ___AM29K__.
9630
9631Sun Apr 21 12:11:51 1996 Doug Evans <dje@blues.cygnus.com>
9632
9633 * libm/math/Makefile.in ({w,wf}_cabs.o,{w,wf}_drem.o): Add rule for
9634 SunOS VPATH.
9635 * libc/stdlib/Makefile.in (atoff.o,atol.o,mblen.o,mbstowcs.o,
9636 wcstombs.o): Likewise.
9637
9638Thu Apr 18 12:37:01 1996 Doug Evans <dje@canuck.cygnus.com>
9639
9640 * libc/stdlib/environ.c (initial_env): New static local.
9641 (environ): Point to `initial_env'.
9642
9643 * libc/include/machine/setjmp.h: Clean up.
9644 (__H8300H__,__PPC__): Define _JBTYPE.
9645 (__arm__): Provide entry for.
9646 (sigjmp_buf): Delete.
9647 (jmp_buf): Use _JBTYPE if defined, otherwise int.
9648
9649Thu Apr 18 12:10:52 1996 Jeffrey A Law (law@cygnus.com)
9650
9651 * libc/machine/h8300/strcmp.S: Sign extend the result to
9652 32bits so we don't lose with -mint32.
9653
9654Sun Apr 14 19:59:52 1996 Doug Evans <dje@canuck.cygnus.com>
9655
9656 * libc/sys/go32/sys/errno.h: New file.
9657 * libc/sys/go32/Makefile.in (stat.o): Depend on stat.c.
9658 * libc/sys/go32/gerrno.s (syscall_error): Call __errno to get
9659 errno's address (make compatible with rest of newlib).
9660 * libc/sys/go32/stat.c (fixinode): Set errno upon failure.
9661 * libc/string/strerror.c (strerror): Surround each case with #ifdef.
9662
9663Thu Mar 28 13:44:42 1996 Doug Evans <dje@canuck.cygnus.com>
9664
9665 * libc/machine/sparc/{scan.c,shuffle.c}: New files.
9666 * libc/machine/sparc/Makefile.in: Build them.
9667 * libc/machine/sparc/machine/sparclet.h: New file.
9668
9669Mon Mar 25 15:29:14 1996 J.T. Conklin <jtc@rtl.cygnus.com>
9670
9671 * libc/machine/sh/asm.h: New file.
9672 * libc/machine/sh/setjmp.S: Only save clobbered registers. Added
9673 support for SH3e's FP registers. Use asm.h.
9674
9675Mon Mar 25 11:59:23 1996 Jeffrey A Law (law@cygnus.com)
9676
9677 * libc/stdio/vfprintf.c (cvt): Accept a reent structure
9678 as first argument. Call _dtoa_r and pass the reent structure
9679 instead of calling __dtoa.
9680
9681Fri Mar 22 13:59:37 1996 Jeffrey A Law (law@cygnus.com)
9682
9683 * libc/include/sys/config.h: Define DOUBLE_IS_32BITS for
9684 the h8300, h8500, and others. Add comments for some rather
9685 dubious code.
9686
9687Thu Mar 14 18:04:43 1996 Ian Lance Taylor <ian@cygnus.com>
9688
9689 * Makefile.in (check): Check that testsuite exists before cd.
9690
9691Tue Mar 12 11:46:47 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9692
9693 * libc/include/string.h (strsep): Correct prototype.
9694
9695Mon Mar 11 09:55:19 1996 Doug Evans <dje@charmed.cygnus.com>
9696
9697 * libc/sys/h8300/_exit.c (_exit,__exit): Set r0 to 0 before `sleep'.
9698 * libc/sys/h8300/misc.c (_kill): Set r0 to indicate abort and `sleep'.
9699 * libc/sys/h8300/crt0.S (_start): Call exit instead of `sleep'.
9700
9701Wed Mar 6 11:51:55 1996 Doug Evans <dje@charmed.cygnus.com>
9702
9703 * libc/posix/{creat.c,isatty.c}: New files.
9704 * libc/posix/Makefile.in (OFILES): Add creat.o, isatty.o.
9705
9706 * libc/sys/sparc64/crt0.S (environ): Delete.
9707 (.LHaveBias): Renamed from HaveBias.
9708
9709Thu Feb 15 10:48:37 1996 Doug Evans <dje@charmed.cygnus.com>
9710
9711 * libc/stdlib/mallocr.c (etext): Move decl inside ifdef WARN_VLIMIT.
9712 (_morecore_r): Delete SBRK_IS_ALLOC support.
9713
9714Tue Feb 13 09:44:09 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9715
9716 * libc/sys/cygwin32/Makefile.in (lib.a): Make lib.a with a dummy
9717 module rather than touch, so we don't get warning messages when
9718 all of the libraries are combined into libc.a.
9719
9720Tue Feb 13 06:32:07 1996 Doug Evans <dje@charmed.cygnus.com>
9721
9722 * libc/sys/sparclite/{Makefile.in,crt0.s}: Deleted.
9723 crt0.s replaced by version in libgloss.
9724
9725Mon Feb 5 15:17:51 1996 J.T. Conklin <jtc@rtl.cygnus.com>
9726
9727 * libc/reent/Makefile.in (OFILES): Add impure.o.
9728 * libc/reent/impure.o: New file, define initial reentrancy struct.
9729 * libc/reent/reent.c: Remove above definition.
9730
9731 * libm/math/sf_asinh.c: Fix typo.
9732
9733 * Makefile.in (MATHOBJS_IN_LIBC): Removed sr_ldexp.o and
9734 srf_ldexp.o.
9735
9736 * libm/libm.texinfo: Change documentation to reflect changes
9737 in reentrancy model.
9738 * libm/math/w_gamma.c: Likewise.
9739
9740Wed Jan 31 18:49:45 1996 Steve Chamberlain <sac@slash.cygnus.com>
9741
9742 * configure.in (*-*-cygwin32): New.
9743 (*-*-win32): Deleted.
9744 * libc/sys/win32 renamed libc/sys/cygwin32.
9745
9746Tue Jan 30 22:09:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9747
9748 * libc/include/sys/file.h: New include file.
9749
9750Fri Jan 26 15:52:54 1996 Steve Chamberlain <sac@slash.cygnus.com>
9751
9752 * libc/include/machine/setjmp.h: Increase size of PPC jmp_buf.
9753
9754Tue Jan 23 17:49:16 1996 Steve Chamberlain <sac@slash.cygnus.com>
9755
9756 * libc/include/sys/wait.h (WIFSIGNALED): Fix.
9757
9758Tue Jan 16 09:28:10 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9759
9760 * doc/makedoc.c (realloc): Declare at file scope.
9761 (catchar): Not here.
9762
9763Wed Dec 27 15:45:23 1995 Doug Evans <dje@canuck.cygnus.com>
9764
9765 * Makefile.in (VERSION): Update to 1.7.0.
9766 * {libc,libm}/Makefile.in (VERSION): Likewise.
9767 * configure.in: Minor clean up of multilib stuff.
9768
9769 From David Johnson <davidj@ICSI.Berkeley.EDU>
9770 * {libc,libm}/Makefile.in (lib[cm].a): Delete library first.
9771
9772 * libc/stdlib/environ.c: New file.
9773 * libc/stdlib/Makefile.in (OFILES): Build it.
9774 * libc/sys/h8500hms/crt0.c (environ): Deleted.
9775 * libc/sys/m88kbug/crt0.c (environ): Deleted.
9776 * libc/sys/z8ksim/crt0.c (environ): Deleted.
9777 * libc/sys/netware/environ.c: Deleted.
9778
9779Tue Dec 19 15:24:46 1995 Kim Knuttila <krk@cygnus.com>
9780
9781 * configure.in (links): set sys_dir, posix_dir, syscall_dir
9782
9783Wed Dec 13 04:16:25 1995 Michael Meissner <meissner@wogglebug.tiac.net>
9784
9785 * doc/makedoc.c (init_string_with_size,nextword): Move malloc
9786 declaration out to external scope and declare it PTR, not char *.
9787
9788Mon Dec 11 17:35:12 1995 steve chamberlain <sac@slash.cygnus.com>
9789
9790 * libc/include/sys/unistd.h (getpagesize): New declaration.
9791 (_SC_PAGESIZE): New definition.
9792 * libc/include/time.h (CLK_TCK): Defined as CLOCKS_PER_SEC.
9793 * libc/configure.in (i[345]86-*-win32): Remove -DNO_FORK.
9794
9795Fri Dec 1 16:48:46 1995 James G. Smith <jsmith@cygnus.co.uk>
9796
9797 * libc/sys/vr4300/syscalls.c (sbrk): Fixed memory
9798 addressing. System call returns size, not (last address + 1).
9799
9800Thu Nov 30 15:05:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9801
9802 * libm/math/*.c: Removed _foo_r() reentrancy API.
9803 * libc/include/math.h: Removed _foo_r prototypes and macros.
9804
9805 * libm/math/*.c: On systems with IEEE single precision "doubles"
9806 move foo() -> foof() wrapper code from the files that implement
9807 the standard IEEE double precision functions to the files that
9808 implement IEEE single precision functions. (ie. On those systems
9809 sin is moved from s_sin.c to sf_sin.c). There should eventually
9810 be use of a C extension (like gcc's alias attribute) so that the
9811 wrappers are not needed at all.
9812
9813 * libc/sys/sysnec810/sbrk.c: Cast &end to char * to get around
9814 strict NEC V810 compiler.
9815 * libc/misc/dprintf.c (getnumber): Cast char * to unsigned char *
9816 for same reason.
9817
9818Wed Nov 29 14:25:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9819
9820 * libc/stdlib/strtol.c (_strtol_r): Replaced with implementation
9821 from NetBSD C library.
9822 * libc/stdlib/strtoul.c (_strtoul_r): Likewise.
9823
9824 * libc/stdlib/assert.c (__assert): Renamed from __assertfail
9825 and adapted from implementation I wrote for NetBSD C library.
9826 The difference is __assert doesn't take a format argument,
9827 so that there won't be multiple copies of the same string
9828 constant in the executable if assertions are enabled in
9829 more than one source module.
9830 * libc/include/assert.h (assert): Changed to call __assert.
9831
9832Tue Nov 28 16:54:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9833
9834 * libc/stdlib/strtod.c (_strtod_r): Changed to not assign to
9835 word1 on systems with 32 bit doubles.
9836 * libc/stdlib/qsort.c (qsort): Cast some void *'s to char *'s
9837 so that we can do arithmetic on them.
9838 * libc/misc/dprintf.c: Changed to support stdarg.h for ANSI
9839 compilers.
9840
9841Tue Nov 28 16:03:32 1995 Doug Evans <dje@canuck.cygnus.com>
9842
9843 * libc/sys/arm/crt0.S: Zero bss.
9844
9845Fri Nov 24 16:09:23 1995 Doug Evans <dje@deneb.cygnus.com>
9846
9847 * libc/include/unctrl.h: New file.
9848 * libc/misc/{Makefile.in,dprintf.c,unctrl.c,misc.tex}: New files.
9849 * configure.in (subdirs): Add libc/misc.
9850 * libc/Makefile.in (SUBDIRS): Add misc.
9851 (SUBLIBS): Add misc/lib.a.
9852
9853 * libc/include/sys/reent.h (struct _reent): Make __sf last member.
9854
9855Wed Nov 22 19:49:47 1995 Doug Evans <dje@deneb.cygnus.com>
9856
9857 * libc/stdio/vfprintf.c (__sbprintf): Init fake._data.
9858 (_vfprintf_r): Call CHECK_INIT.
9859
9860Tue Nov 14 02:52:12 1995 Doug Evans <dje@canuck.cygnus.com>
9861
9862 * Makefile.in (MULTITOP): Delete.
9863 (MULTISRCTOP, MULTIBUILDTOP): Add.
9864 * configure.in: Delete call to cfg-ml-com.in. Call config-ml.in
9865 instead of cfg-ml-pos.in.
9866
9867Wed Nov 8 01:24:08 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
9868
9869 * libc/sys/vr4300/syscalls.c: Added clean version of sbrk().
9870 * libc/sys/vr4300/crt0.S: Cleaned up. Added check for FPU
9871 presence.
9872
9873Thu Nov 2 22:25:06 1995 Michael Meissner <meissner@tiktok.cygnus.com>
9874
9875 * libc/string/strtok.c: Include string.h to pick up strtok_r
9876 prototype.
9877
9878Wed Nov 1 18:54:11 1995 Jason Molenda (crash@phydeaux.cygnus.com)
9879
9880 * libc/string/strtok.c: include <_ansi.h>.
9881 * libc/time/asctime_r.c: `reresult' -> `result'.
9882
9883Wed Nov 1 14:35:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9884
9885 * libc/time/{ctime.c, gmtime.c, lcltime.c}: Wrap functions
9886 in #ifndef _REENT_ONLY ... #endif conditional.
9887
9888 * libc/include/string.h (_strtok_r): Remove declaration.
9889 * libc/include/time.h (_asctime_r): Remove declaration.
9890 * libc/string/strtok.c (_strtok_r): Removed.
9891 * libc/time/asctime.c (_asctime_r): Removed.
9892
9893 * libc/string/Makefile.in (OFILES): Add new object.
9894 * libc/string/strtok_r.c: New file. strtok_r function as
9895 specified by POSIX.1c, adapted from strtok implementation
9896 from NetBSD C library.
9897 * libc/string/strtok.c (strtok): Reimplemented in terms of
9898 strtok_r.
9899
9900 * libc/time/Makefile.in (OFILES): Add new objects.
9901 * libc/time/{asctime_r.c, ctime_r.c, gmtime_r.c, lcltime_r.c}:
9902 New files, reentrant time functions specified by POSIX.1c.
9903 * libc/time/{asctime.c, ctime.c, gmtime.c, lcltime.c}: Non-
9904 reentrant time functions re-written in terms of reentrant
9905 functions.
9906 * libc/time/lcltime.c: Renamed from localtime.c
9907
9908 * libc/include/time.h: Add prototypes for asctime_r, ctime_r,
9909 gmtime_r, and localtime_r.
9910
9911Sat Oct 28 14:34:31 1995 steve chamberlain <sac@slash.cygnus.com>
9912
9913 * libc/sys/win32/crt0.c (mainCRTStartup): Call cygwin_crt0.
9914 * libc/include/sys/unistd.h (getlogin): Revert change of
9915 Oct 19.
9916 * libc/include/sys/signal.h (sigprocmask): Change prototype
9917 so it compiles with c++.
9918
9919Wed Oct 25 15:43:18 1995 Michael Meissner <meissner@cygnus.com>
9920
9921 * libc/include/machine/setjmp.h (PowerPC _JBLEN): Consider it a
9922 PowerPC if __PPC__ is defined. Bump jump_buf length to 62 ints,
9923 to give some room in case we need to align the jmp_buf.
9924
9925 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Rewrite to use
9926 the new ppc-asm.h include file the compiler provides to specify
9927 function prologue/epilogue. Eliminate saves of the xer and ctr
9928 registers, which are volatile. Before starting to save registers,
9929 align to 8 byte boundary.
9930
9931Mon Oct 23 11:20:51 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
9932
9933 * libc/sys/vr4300/syscalls.c: Added empty kill() function,
9934 referenced by standard libraries.
9935
9936Thu Oct 19 21:39:47 1995 Fred Fish <fnf@cygnus.com>
9937
9938 * libc/unix/Makefile.in, libc/string/Makefile.in,
9939 libc/stdio/Makefile.in, libc/reent/Makefile.in,
9940 libc/posix/Makefile.in:
9941 Remove tabs from otherwise empty line. Confuses some
9942 older non-GNU versions of "make".
9943
9944Thu Oct 19 16:32:17 1995 steve chamberlain <sac@slash.cygnus.com>
9945
9946 * libc/sys/unistd.h (getlogin): Returns const char *.
9947
9948Wed Oct 18 12:57:50 1995 steve chamberlain <sac@slash.cygnus.com>
9949
9950 * libc/include/fcntl.h (O_BINARY, O_TEXT): New.
9951 * libc/include/errno.h: Moved into and include...
9952 * libc/include/sys/errno.h: New file.
9953 * libc/include/sys/wait.h: New file.
9954 * libc/stdio/rename.c (_rename_r): Use _rename system call if available.
9955 * libc/sys/win32/*: Moved out.
9956 * libc/sys/win32/crt0.c: Rewritten to cope with shared library.
9957 * configure.in (i[345]86-*-win32): HAVE_RENAME
9958
9959Wed Oct 18 09:58:27 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
9960
9961 * libc/unix/sigset.c (sigemptyset, sigaddset): Prefix #undef to
9962 avoid macro expansion for these two names.
9963
9964Tue Oct 17 08:45:33 1995 Doug Evans <dje@canuck.cygnus.com>
9965
9966 * libc/machine/h8500/psi.S: r6 renamed to fp.
9967
9968Sun Oct 15 12:58:10 1995 Michael Meissner <meissner@wogglebug.tiac.net>
9969
9970 * configure.in (powerpc*): No longer need to define
9971 NO_LONGLONG_POINTERS to supress warnings.
9972
9973Sat Oct 14 12:55:08 1995 Jim Wilson <wilson@chestnut.cygnus.com>
9974
9975 * libc/reent/reent.c (_reclaim_reent): Call cleanup indirectly
9976 through PTR instead of directly.
9977
9978 * libc/sys/sh/crt0.S: Clean up formatting. Delete unused
9979 non-standard constructor support.
9980
9981Thu Oct 12 11:39:42 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9982
9983 * libc/stdlib/dtoa.c (_dtoa_r): Set result pointer to the
9984 address of the Bigint instead of the address of its _x field,
9985 as the size the result buffer was calculated accordingly.
9986 Fix from Jim Wilson <wilson@chestnut@cygnus.com>.
9987
9988 * libc/stdlib/{div.c, ldiv.c}: Replaced with implementation
9989 from NetBSD C library. No longer special cases division by
9990 zero (which needs to be done by the application anyway), but
9991 it doesn't need to call abs() (or labs()) four times either.
9992
9993 * libc/stdlib/qsort.c: Replaced with implementation from
9994 NetBSD C library.
9995
9996Tue Oct 10 14:01:10 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9997
9998 * libc/stdio/vfprintf.c: Replaced with implementation from
9999 NetBSD C library (which is derived from the 4.4BSD C library).
10000 * libc/stdio/cvt.c: Removed.
10001 * libc/stdio/Makefile: Updated.
10002
10003Tue Oct 10 12:15:23 1995 steve chamberlain <sac@slash.cygnus.com>
10004
10005 * libc/sys/win32/syscalls.c (rename): New.
10006 * libc/sys/win32/include/winkernel.h (MoveFileExA): New.
10007
10008Fri Oct 6 12:18:43 1995 Jim Wilson <wilson@chestnut.cygnus.com>
10009
10010 * libc/machine/sh/Makefile.in (setjmp.o): Depend on setjmp.S.
10011 * libc/machine/sh/setjmp.S: Rename from setjmp.s.
10012
10013 * libc/sys/sh/Makefile.in (OFILES, all): Delete setjmp.o.
10014 (setjmp.o): Delete rule to build setjmp.o.
10015 * libc/sys/sh/setjmp.S: Delete file.
10016
10017Fri Oct 6 11:19:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10018
10019 * libc/stdlib/mprec.c (d2b): Added support for _DOUBLE_IS_32BITS.
10020 * libc/stdlib/mprec.h: Fixed constants used for IEEE single float
10021 format. Added #defines to map d2b, i2b, low0bits, lshift, mult,
10022 pow5mult and s2b to identifiers with leading underscores.
10023 * libc/stdlib/Makefile.in: Add mprec.h as a dependency to dtoa.o,
10024 ecvtbuf.o, mprec.o and strtod.o. Sort dependencies.
10025
10026Thu Oct 5 17:27:30 1995 steve chamberlain <sac@slash.cygnus.com>
10027
10028 * libc/sys/posix/popen.c (sys/types.h): Include.
10029
10030Thu Oct 5 16:33:01 1995 Doug Evans <dje@canuck.cygnus.com>
10031
10032 * libc/sys/win32/syscalls.h (fhandler): New struct.
10033 (__lookup_fhandler, __lookup_fhandler_hook): Declare.
10034 (__fhandler_normal): Declare.
10035 (hinfo): New member op_handlers.
10036 * libc/sys/win32/syscalls.c (__read): Don't validate fd.
10037 (__write): Likewise.
10038 (_read, _write, _open, _close, _lseek): Validate fd here.
10039 Move file type specific stuff to foo_normal.
10040 (read_normal, write_normal, open_normal, close_normal, lseek_normal):
10041 New functions.
10042 (__lookup_fhandler): New function.
10043 (__lookup_fhandler_hook, __fhandler_normal): New variables.
10044
10045 From anders.blomdell@control.lth.se (Anders Blomdell)
10046 * libc/sys/win32/crt0.c (vfork_init): Unset __FD_TABLE__.
10047 Don't touch standard handles.
10048 * libc/sys/win32/spawn.c (_spawn): Use STARTF_USESTDHANDLES.
10049 (_execve): Only create __FD_TABLE__ if necessary.
10050 * libc/sys/win32/include/winkernel.h (STARTF_*): Define.
10051
10052Thu Oct 5 14:25:14 1995 steve chamberlain <sac@slash.cygnus.com>
10053
10054 * libc/sys/win32/sys/termios.h (FLUSHO): New.
10055 * libc/sys/win32/include/win*.h: Moved a load of prototypes around.
10056 * libc/sys/win32/pipe.c (_fctnl): Ignore F_SETFL without errors.
10057 * libc/sys/win32/exception.c (ehandler3): set strace when a signal
10058 without a handler is received.
10059 * libc/sys/win32/Makefile.in: Remove --nodelete.
10060 * libc/sys/win32/resouce.c (gettimeofday): New.
10061 * libc/sys/win32/syscalls.c (path_to_real_path): New.
10062 * libc/sys/win32/syscalls.h (include/wincon.h): Don't include.
10063
10064Wed Oct 4 13:10:35 1995 Doug Evans <dje@canuck.cygnus.com>
10065
10066 * libc/sys/win32/dirsearch.c (opendir): stat real path name.
10067 Don't append "/*" to search pattern if trailing '/' already there,
10068 append "*".
10069 * libc/sys/win32/spawn.c (_spawn): CreateProcess doesn't seem to
10070 like /'s, convert them to \'s. Handle //<drive>/ path names.
10071 Add space for quoted \'s in arg string. Print translated prog name
10072 and original prog name.
10073 (_execve): Handle parent doing exec a teensy bit better.
10074 * libc/sys/win32/syscalls.h (__path_to_real_path): Update prototype.
10075 * libc/sys/win32/syscalls.c (__path_to_real_path): Don't assume
10076 path needs conversion, handle both cases. Delete `const' from result.
10077 (hash_path_name): New function.
10078 (_open): Call it.
10079 (_stat): Likewise. Fill in more fields for directories.
10080 * libc/sys/win32/wait.c (_wait): Explicitly pass -1 to waitpid.
10081 (wait_for_any): Fix trace message.
10082 (waitpid): Explicitly test for intpid == 0.
10083
10084 From anders.blomdell@control.lth.se (Anders Blomdell)
10085 * libc/sys/win32/spawn.c (__vfork_get_empty_entry): zero fill result
10086 so `next' is valid.
10087
10088Sat Sep 30 15:00:15 1995 Jason Molenda (crash@phyeaux.cygnus.com)
10089
10090 * libc/sys/win32/spawn.c (_spawn): Make quoting rules more
10091 complicated.
10092
10093Sat Sep 30 10:25:57 1995 Jason Molenda (crash@phydeaux.cygnus.com)
10094
10095 * libc/include/_ansi.h: set _HAVE_STDC if __STDC__ is defined
10096 at all, not just == 1.
10097 * libm/math/wf_acos.c (acosf): check for _HAVE_STDC, not __STDC__.
10098
10099Sat Sep 30 04:30:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
10100
10101 * libc/sys/win32/include/winbase.h: include <wintypes.h> and <winnt.h>
10102 * libc/sys/win32/include/wintypes.h: include <winnt.h>
10103 * libc/sys/win32/include/winnt.h: avoid multiple inclusion of this
10104 file.
10105
10106Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
10107
10108 * libc/sys/syscalls.c (getcwd): Fix off by one error.
10109
10110 * libc/sys/signal.c (sleep): Fill it in.
10111 * libc/sys/termios.c (tcflush): Use PurgeComm
10112 (tcsetattr): Set some more of the bits.
10113 * libc/sys/include/winkernel.h: Add PurgeComm and Sleep.
10114
10115Fri Sep 29 04:33:53 1995 Doug Evans <dje@deneb.cygnus.com>
10116
10117 * libc/sys/arm/crt0.S (fp): Initialize to 0.
10118 Conditionally include .idata$3 stuff ifdef __pe__.
10119
10120Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
10121
10122 * libc/sys/win32/crt0.c (hmap_init): Call __init_hinfo.
10123 * libc/sys/win32/pipe.c (pipe): Ditto.
10124 * libc/sys/win32/syscalls.c (__read): Use new vtime and vmin fields.
10125 * libc/sys/win32/syscalls.h (hinfo): vtime, vmin are new.
10126 * libc/sys/win32/termios.c (tcsetattr): Init new fields.
10127 (tcgetattr): Contents are new.
10128 * libc/sys/win32/include/winkernel.h (DCB): New.
10129 (GetCommState, SetCommState): New.
10130
10131Thu Sep 28 16:29:09 1995 Doug Evans <dje@deneb.cygnus.com>
10132
10133 * libc/sys/arm/crt0.S (_start): Define.
10134
10135Thu Sep 28 12:26:45 1995 steve chamberlain <sac@slash.cygnus.com>
10136
10137 * libc/sys/arm/crt0.S: Move stack to top of RAM on PIE board.
10138 * libc/sys/arm/syscalls.c (_read, _write): Use the SWI properly.
10139
10140 * libc/sys/win32/sysconf.c: New
10141 * libc/sys/win32/sys/winadvapi.h: New
10142 * libc/sys/win32/syscalls.h (hinfo): Added timeout_len, w_binary, r_binary.
10143 * libc/sys/win32/crt0.c (hmap_init): Initialize new fields.
10144 * libc/sys/win32/pipe.c (pipe): Ditto.
10145 * libc/sys/win32/signal.c (_raise): New.
10146 (_kill): Moved from spawn.c
10147 * libc/sys/win32/spawn.c (kill): Moved to signal.c
10148 * libc/sys/win32/syscalls.c (__read): Use new fields.
10149 (_open): Ditto.
10150 * libc/sys/win32/termios.c (tcflush, tcsetattr, tcgetattr): Fill in.
10151 * libc/sys/win32/exceptions.c (__stack_trace): Keep going for longer.
10152 * libc/include/sys/unistd.h (rmdir): Takes const path.
10153 * libc/include/sys/stat.h (mkdir): Takes const path.
10154 * libc/include/sys/signal.h (SIGTTOU, SIGTTIN): New for win32.
10155
10156Thu Sep 28 10:11:27 1995 Doug Evans <dje@canuck.cygnus.com>
10157
10158 * libc/sys/win32/spawn.c (_spawn): Fix quoting.
10159
10160 Add support for specifying paths as //<drive>/foo/bar.
10161 * libc/sys/win32/syscalls.h (__path_needs_conversion_p): Declare.
10162 (__path_to_real_path): Declare.
10163 (PATH_TO_REAL_PATH): New macro.
10164 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): Minor cleanup.
10165 (__path_needs_conversion_p, __path_to_real_path): New functions.
10166 (_open): Fix test for error return from CreateFileA.
10167 Handle new path syntax.
10168 (_link, mkdir, rmdir, getcwd, chdir, stat): Handle new path syntax.
10169 * libc/sys/win32/dirsearch.c (opendir): Likewise.
10170
10171Wed Sep 27 16:36:46 1995 steve chamberlain <sac@slash.cygnus.com>
10172
10173 * libc/sys/win32/include/*.h: Reorganized
10174 * libc/sys/win32/include/WINREADME: New.
10175 * libc/sys/win32/Makefile.in (DLLS): Build version.a.
10176 * libc/sys/win32/*.c: Fix for new include scheme.
10177 * libc/sys/win32/crt0.c (__this_uinfo_buf, __this_uinfo): New.
10178 * libc/sys/win32/getlogin.c (getlogin): Use uinfo.
10179 * libc/sys/win32/passwd.c (*): Fix.
10180 * libc/sys/win32/syscalls.c (get[e|][g|u]id): Use passwd info.
10181 (_stat): Get directory owner and permissions right.
10182 * libc/sys/win32/syscalls.h (uinfo): New.
10183 * libc/sys/win32/version.def: Remove leading underscores.
10184
10185Tue Sep 26 18:18:47 1995 Jason Molenda (crash@phydeaux.cygnus.com)
10186
10187 * libc/sys/win32/key.c: include "include/wincon.h".
10188
10189Tue Sep 26 07:21:48 1995 steve chamberlain <sac@slash.cygnus.com>
10190
10191 * libc/sys/win32/{key, stubs}.c: New.
10192 * libc/sys/win32/Makefile: Adjust to cope.
10193 * libc/sys/win32/crt0.c (vfork_init_first): Cope with -ve pids.
10194 (environ_init): Change env names to upper case.
10195 * libc/sys/win32/dirsearch.c (readdir): Don't fill in inode number.
10196 * libc/sys/win32/passwd.c (*): Fill in the functions.
10197 * libc/sys/win32/pipe.c (_fcntl): F_GETFL returns O_RDWR.
10198 * libc/sys/win32/spawn.c (_spawn): Cope with -ve pids.
10199 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): New function.
10200 (_open): Initialze hmap->execable_p too.
10201 * libc/sys/win32/syscalls.c (getuid, getgid, geteuid, getegid): Return from macros.
10202 (_fstat): Fill in permissions.
10203 * libc/sys/win32/syscalls.h (hinfo): Add execable_p.
10204
10205Fri Sep 22 13:47:27 1995 Doug Evans <dje@canuck.cygnus.com>
10206
10207 * configure.in (cfg-ml-com.in invocation): Use ${with_multilib_top}
10208 if defined.
10209 (cfg-ml-pos.in invocation): Likewise.
10210
10211Fri Sep 22 11:43:44 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10212
10213 * Makefile.in (MATHOBJS_IN_LIBC): Added s_isinf.o, sf_isinf.o,
10214 s_isnan.o and sf_isnan.o.
10215
10216Wed Sep 20 14:50:19 1995 Ian Lance Taylor <ian@cygnus.com>
10217
10218 * All Makefile.in files: added maintainer-clean target as a
10219 synonym for realclean.
10220
10221Wed Sep 20 11:02:50 1995 Jeff Law (law@snake.cs.utah.edu)
10222
10223 * libc/include/machine/setjmp.h: Add hppa support.
10224 * libc/machine/hppa/setjmp.S: New file with setjmp/longjmp
10225 support.
10226 * libc/machine/hppa/Makefile.in: Related changes.
10227
10228Tue Sep 19 12:09:01 1995 J.T. Conklin <jtc@blues.cygnus.com>
10229
10230 * configure.in (machine_dir): Don't set for v810-*-*.
10231
10232Fri Sep 15 20:22:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
10233
10234 * libc/sys/win32/crt0.c (passover): Change to handle MKS quoting
10235 conventions correctly.
10236
10237Thu Sep 14 13:37:22 1995 J.T. Conklin <jtc@blues.cygnus.com>
10238
10239 * libc/stdio/puts.c: Update documentation of return value to match
10240 ANSI standard.
10241
10242Thu Sep 14 01:52:37 1995 Doug Evans <dje@canuck.cygnus.com>
10243
10244 Fix file descriptor inheritance.
10245 * libc/sys/win32/syscalls.h (CHILD_P): Define again.
10246 (NOT_OPEN_FD): Fix.
10247 * libc/sys/win32/spawn.c (vfork0): Only create inheritable handle if
10248 close-on-exec flag not set. Initialize child's entire fd table.
10249 * libc/sys/win32/syscalls.c (_open): Only create inheritable handle if
10250 CHILD_P.
10251 * libc/sys/win32/pipe.c (pipe): Only create new handle as inheritable
10252 if CHILD_P. Initialize entire hmap entry.
10253 (dup): Only create new handle as inheritable if CHILD_P.
10254 (dup2): Likewise. Properly initialize hmap entry.
10255
10256 * libc/sys/win32/spawn.c (_execve): Don't pass _P_SEARCH_PATH to
10257 _spawn.
10258 (_exit): Use CHILD_P.
10259 * libc/sys/win32/syscalls.c (_fstat): Fix call to memset.
10260 (_stat): Likewise.
10261
10262Mon Sep 11 23:09:39 1995 Jason Molenda (crash@phydeaux.cygnus.com)
10263
10264 * libc/sys/win32/crt0.c (passover): fix up the state table.
10265 * libc/posix/popen.c: Added.
10266 * libc/posix/Makefile.in: compile popen.c.
10267
10268Mon Sep 11 11:43:38 1995 J.T. Conklin <jtc@cygnus.com>
10269
10270 * libc/include/machine/ieeefp.h: On the h8/300, h8/300h and
10271 h8/500 define _DOUBLE_IS_32BITS.
10272
10273Sat Sep 9 17:55:54 1995 Doug Evans <dje@canuck.cygnus.com>
10274
10275 Get vfork/exec/spawn/cwait/wait working again.
10276 * libc/sys/win32/syscalls.h (VFORK_NEWBORN_PSEUDO_PID): Define.
10277 (procinfo): New member vfork_level.
10278 * libc/sys/win32/crt0.c (__vfork_next_pid): Delete.
10279 (vfork_init_first): Use GetCurrentProcessId to get pid.
10280 Initialize vfork_level.
10281 (vfork_init): Delete __PID__.
10282 (environ_init): New function. Undo patch of Aug 19, Posix says
10283 environment variables are case sensitive.
10284 (mainCRTStartup): Call it.
10285 * libc/sys/win32/spawn.c (__vfork_next_pid): Delete.
10286 (my_longjump: Make static.
10287 (_spawn): New argument `h'. Delete setting of __PID__.
10288 Delete local `idx'. Look for chars that need quotes, rather than
10289 ones that don't. Set handle of created process in `h'.
10290 Result is process id if created task.
10291 (allocate_spawn_entry): New function.
10292 (spawnvp, spawnv): Call it. Store handle and pid in procinfo entry.
10293 (_execve): Set __FD_TABLE__ before spawning child.
10294 Scan our fd table when passing fds, not our parent's.
10295 Store handle and pid in procinfo entry.
10296 (vfork0): Ensure strace message always printed.
10297 Set child pid to VFORK_NEWBORN_PSEUDO_PID.
10298 (vfork): Don't clobber result of vfork0.
10299 * libc/sys/win32/wait.c (cwait): Fix non-error result (is pid).
10300 (wait_for_any): Ignore processes in state FORK_STATE_VFORK_0.
10301
10302 * libc/sys/win32/syscalls.h (procinfo): New members `handle_valid_p'
10303 and `exit_code'.
10304 * libc/sys/win32/spawn.c (allocate_spawn_entry): Initialize them.
10305 (vfork0): Likewise. Distinguish children, grandchildren, etc. by
10306 adding vfork level to pseudo-pid.
10307 (vfork1): If not root, set state back to FORK_STATE_VFORK_0.
10308 (spawnvp, spawnv, _execve): Set handle_valid_p if success.
10309 (_exit): If child, set exit code.
10310 (__vfork_record_death): Only close process handle if valid.
10311 * libc/sys/win32/wait.c (wait_for_single): Watch for children that
10312 didn't exec.
10313 (wait_for_any): Likewise. Start scan after root entry.
10314
10315Fri Sep 8 18:48:02 1995 Jason Molenda (crash@phydeaux.cygnus.com)
10316
10317 * libc/include/sys/types.h (off_t): off_t back to 32 bits.
10318 * libc/include/sys/_types.h (_off_t): _off_t back to 32 bits.
10319 * libc/sys/win32/syscalls.c (_fstat): st_size is lower 32-bits
10320 of actual file length.
10321
10322 * libc/sys/win32/sys/wait.h: include <sys/types.h>.
10323 * libc/include/paths.h: _PATH_BSHELL added.
10324 * libc/include/sys/unistd.h: define STDIN_FILENO, STDOUT_FILENO,
10325 and STDERR_FILENO.
10326
10327Thu Sep 7 21:02:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
10328
10329 * libc/include/ar.h: Added.
10330 * libc/include/sys/types.h: ino_t goes back to 32-bits.
10331 * libc/sys/win32/syscalls.h (hinfo): added .namehash field.
10332 * libc/sys/win32/syscalls.c (_open): compute .namehash based
10333 on filename.
10334 (_fstat): use .namehash for inode number of the fd.
10335
10336Thu Sep 7 12:57:19 1995 steve chamberlain <sac@slash.cygnus.com>
10337
10338 * libc/sys/win32/{console,ioctl,pipe,spawn,syscalls,wait}.? (*):
10339 Change hinfo to __this_procinfo.
10340 * libc/sys/win32/crt0.c: Remove procinfo_list.
10341
10342Wed Sep 6 18:38:26 1995 Jason Molenda (crash@phydeaux.cygnus.com)
10343
10344 * libc/include/sys/types.h (ino_t): Define ino_t correctly for
10345 win32 environment.
10346
10347Wed Sep 6 18:09:29 1995 Jason Molenda (crash@phydeaux.cygnus.com)
10348
10349 * libc/sys/win32/include/grp.h: Removed.
10350 * libc/sys/include/grp.h: Added.
10351 * libc/sys/win32/grp.c: Include <grp.h>.
10352
10353Wed Sep 6 16:52:48 1995 steve chamberlain <sac@slash.cygnus.com>
10354
10355 * libc/include/sys/signal.h (__need_MAX_SIGNALS): Removed.
10356 (sigset_t, sigaction, SIG_SETMASK, SIG_BLOCK, SIG_UNBLOCK):
10357 Defined for all but strict ANSI.
10358 * libc/include/sys/reent.h (__need_MAX_SIGNALS): Removed.
10359 * libc/include/machine/setjmp.h: Get win32 _JBLEN right.
10360 * libc/signal/signal.c (_signal_r): Changed from using
10361 _MAX_SIGNALS to NSIG.
10362 * libc/sys/win32/crt0.c (__current_pid, __parent_hmap, __child_hmap,
10363 __hmap): Deleted.
10364 (__strace, __vfork_next_pid): New.
10365 (__exe_suffix): Default to 1.
10366 (passover, table): Understand quoted arguments.
10367 (vfork_init_first): New.
10368 (vfork_init): Initialize new process structure.
10369 (mainCRTStartup): Pass environ to main.
10370 * exceptions.c (__sig_mask): New
10371 (ehandler3): Ignore signals in mask.
10372 (really_exit): Remove CHILD_P test.
10373 * pipe.c (pipe, dup, dup2): Use new process and file structure.
10374 * resource.c (getrusage): Ditto.
10375 * signal.c (sigprocmask): New.
10376 * spawn.c (*): Rewritten.
10377 * syscalls.c (*): Use new process and file structure.
10378 (find_unused_handle): New.
10379 * syscalls.h (MAX_HANDLES): Deleted.
10380 (hinfo): Removed child_created_p.
10381 (MAX_CHILDREN): Deleted.
10382 (vfork_jmp_info, procinfo): New.
10383 * wait.c (*): Mostly new.
10384 * sys/strace.h (_STRACE_PARANOID): New.
10385 * sys/param.h: New file.
10386
10387Wed Sep 6 17:03:53 1995 Jason Molenda (crash@phydeaux.cygnus.com)
10388
10389 * libc/include/sys/stat.h: add S_BLKSIZE.
10390 * libc/include/sys/_types.h: _off_t is a 64-bit type under win32.
10391 * libc/include/sys/types.h: define off_t and ino_t to be 64 bit
10392 types under win32.
10393 (mode_t): add a #else to avoid multiple definitons.
10394
10395 * libc/sys/win32/Makefile.in: add grp.c.
10396 * libc/sys/win32/grp.c: include grp.h correctly.
10397 * libc/sys/win32/syscalls.c (_fstat): set almost all of the fields
10398 of the st structure with real information.
10399 * libc/sys/win32 (dirent): d_ino is of type ino_t.
10400
10401Wed Sep 6 10:41:34 1995 Doug Evans <dje@canuck.cygnus.com>
10402
10403 * libc/include/sys/types.h (mode_t): Correct for svr4 sparc's
10404 and (maybe) sparc64.
10405 (nlink_t): Provide typedef.
10406
10407Tue Sep 5 18:46:05 1995 Jason Molenda (crash@phydeaux.cygnus.com)
10408
10409 * libc/sys/win32/grp.c: New file.
10410 * libc/sys/win32/include/grp.h: New file.
10411
10412Tue Sep 5 13:47:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10413
10414 * libc/include/machine/ieeefp.h: Added whitespace to make this
10415 file easier to maintain.
10416 On the sh, define either __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN
10417 depending on the value of __LITTLE_ENDIAN__.
10418 On the sh3e, define _DOUBLE_IS_32BITS.
10419
10420Fri Sep 1 15:35:18 1995 James G. Smith <jsmith@beauty.cygnus.com>
10421
10422 * libc/sys/vr4300/syscalls.c: Added missing support
10423 routines. _raise() and getpid().
10424
10425Fri Sep 1 14:12:48 1995 James G. Smith <jsmith@rtl.cygnus.com>
10426
10427 * configure.in (mips*vr4300*-*-elf): Fixed silly mistake
10428
10429Fri Sep 1 08:42:11 1995 James G. Smith <jsmith@beauty.cygnus.com>
10430
10431 * configure.in (mips*vr4300*-idt-*) Add support for RISQ monitor
10432 and VR4300 processor.
10433 * libc/sys/vr4300: Add directory.
10434 * libc/sys/vr4300/{Makefile.in, crt0.S, syscalls.c}: Add SIM
10435 monitor run-time support.
10436
10437Thu Aug 31 09:16:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10438
10439 * libc/stdlib/Makefile.in (CHEWOUT_FILES): Removed atol.def.
10440 * libc/stdlib/stdlib.tex: Don't include atol.def.
10441
10442Wed Aug 30 20:38:28 1995 Jason Molenda (crash@phydeaux.cygnus.com)
10443
10444 * libc/sys/win32/uname.c (uname): hardcode processor as `i386'.
10445
10446Wed Aug 30 10:48:08 1995 steve chamberlain <sac@slash.cygnus.com>
10447
10448 * libc/ctype/Makefile.in: Fill in _to* dependencies.
10449
10450Tue Aug 29 17:14:29 1995 steve chamberlain <sac@slash.cygnus.com>
10451
10452 * libc/sys/win32/{dirsearch.c,sys/dirent.h}: Fix namespace problems.
10453 * libc/sys/win32/sys/dirent.h (struct dirent): Added d_ino.
10454 * libc/sys/win32/strace.c (__sys_printf): Increase size of buffer.
10455 * libc/sys/win32/smallprint.c (__small_vsprintf): Remove debug.
10456 * libc/sys/win32/dirsearch.c (readdir): Set d_ino.
10457
10458Tue Aug 29 19:00:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
10459
10460 * libc/stdlib/atol.c (atol): DEFUN -> _DEFUN.
10461
10462Tue Aug 29 16:08:09 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10463
10464 * libc/stdlib/Makefile.in (OFILES): Added atoff.o and atol.o.
10465 * libc/stdlib/atoff.c: New file.
10466 * libc/stdlib/atof.c (atoff): Moved to atoff.c.
10467 * libc/stdlib/atoi.c (atol): Removed.
10468 * libc/stdlib/atol.c: Removed duplicate documentation.
10469
10470 * libc/include/ctype.h (_tolower, _toupper): Moved inside
10471 #ifndef _STRICT_ANSI conditional.
10472 * libc/ctype/Makefile.in (OFILES): Added _tolower.o and _toupper.o
10473 * libc/ctype/_tolower.c: New file.
10474 * libc/ctype/_toupper.c: New file.
10475 * libc/ctype/tolower.c (_tolower): Moved to _tolower.c.
10476 * libc/ctype/toupper.c (_toupper): Moved to _toupper.c.
10477 * libc/ctype/toascii.c (_toascii): Removed.
10478
10479Tue Aug 29 12:17:32 1995 Doug Evans <dje@canuck.cygnus.com>
10480
10481 * libc/sys/sparc64/sys/types.h: Deleted.
10482
10483Mon Aug 28 22:06:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
10484
10485 * libc/sys/win32/uname.c (uname): change `Windows/NT' to `Windows_NT'
10486 and recognize Windows_95 systems.
10487
10488Mon Aug 28 19:50:54 1995 Jason Molenda (crash@phydeaux.cygnus.com)
10489
10490 * libc/sys/win32/crt0.c (vfork_init, hmap_init): standard I/O fds
10491 and passed fds should be opened in text mode.
10492
10493Mon Aug 28 18:51:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
10494
10495 * libc/sys/win32/crt0.c (vfork_init): mark passed fds as used
10496 in __hmap, set to binary mode by default.
10497
10498Tue Aug 22 14:12:37 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10499
10500 * libc/sys/sh/syscalls.c: Updated all functions to call __trap34.
10501 * libc/sys/sh/trap.S (__trap34): Renamed from __trap3. Use trap
10502 vector 34.
10503
10504Sat Aug 19 18:25:37 1995 steve chamberlain <sac@slash.cygnus.com>
10505
10506 * Makefile.in (install): Install all libraries found in the
10507 top level. If there's a sys/<type>/include directory,
10508 install those headers into include.
10509
10510 * libc/sys/win32/kernel.def351: Delete
10511 * libc/sys/win32/{comctl32.def, comdlg32.def, ctl3d32.def,
10512 glaux.def, glu32.def, largeint.def, libc.def, libcmt.def,
10513 lz32.def, mgmtapi.def, mpr.def, msacm32.def, msvcrt.def,
10514 nddeapi.def, netapi32.def, odbc32.def, odbccp32.def, oldnames.def,
10515 ole32.def, oleaut32.def, opengl32.def, rasapi32.def, rpcndr.def,
10516 rpcns4.def, rpcrt4.def, scrnsave.def, shell32.def, snmp.def,
10517 uuid.def, vdmdbg.def, version.def, vfw32.def, win32spl.def,
10518 winmm.def, winspool.def, winstrm.def, wsock32.def}: New.
10519
10520 * libc/sys/win32/Makefile.in: Update for new files and new dlltool options.
10521 * libc/sys/win32/crt0.c: Force all env names to upper case.
10522 * libc/sys/win32/sys/win*.h -> libc/sys/win32/include
10523 * libc/sys/win32/*.c: Headers have moved.
10524 * libs/sys/win32/*.[ch]: Test for open_p rather than BAD_HANDLE,
10525 __vfork_child_idx is now __vfork_child_ptr.
10526
10527 * posix/execvp (execvp): Don't crash if no PATH envname.
10528
10529Fri Aug 18 12:22:59 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10530
10531 * libc/include/sys/reent.h (_Bigint): Removed _reclaim field.
10532 * libc/reent/reent.c (_reclaim_reent): Free Bigint's by going
10533 through the _freelist instead of through the _reclaim list.
10534 * libc/stdlib/mprec.c (_Balloc): Don't put new node on _reclaim list.
10535 * libc/stdlib/mprec.c (_Bcopy): Make like version in master dtoa.c
10536 sources.
10537
10538Thu Aug 17 11:03:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10539
10540 * libc/machine/h8500/setjmp.S: New file.
10541 * libc/include/machine/setjmp.h: Updated for H8/500.
10542
10543Wed Aug 16 16:19:11 1995 steve chamberlain <sac@slash.cygnus.com>
10544
10545 * libc/sys/win32/syscalls.c (_open): More stracing.
10546 (_stat): Open the file in O_BINARY.
10547
10548Wed Aug 16 15:49:01 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10549
10550 * libc/machine/h8300/setjmp.S: New file.
10551 * libc/include/machine/setjmp.h: Updated for H8/300 and H8/300H.
10552
10553Tue Aug 15 10:31:09 1995 Doug Evans <dje@canuck.cygnus.com>
10554
10555 * libc/sys/win32/crt0.c (__exe_suffix): New global.
10556 (mainCRTStartup): Set __exe_suffix from LIBC_EXE_SUFFIX.
10557 * libc/sys/win32/spawn.c (_spawn): Add .exe suffix based on
10558 __exe_suffix. Free fd_tab after setting env variable.
10559 (spawnv,_execve): Update.
10560 * libc/sys/win32/syscalls.h (__exe_suffix): Declare.
10561 * libc/sys/win32/smallprint.c (puts,putn): New (static) functions.
10562 (__small_vfprintf): New function.
10563 * libc/sys/win32/strace.c (__sys_printf): Call __small_vfprintf.
10564 * libc/sys/win32/wait.c (cwait): Validate argument.
10565
10566 * libc/sys/win32/syscalls.c (queue_file_deletion): Add trace message.
10567 (process_deletion_queue): Likewise.
10568
10569 * libc/sys/win32/Makefile.in (lib.a): Don't call $(RANLIB).
10570
10571Mon Aug 14 10:14:10 1995 steve chamberlain <sac@slash.cygnus.com>
10572
10573 * libc/sys/win32: Copyrights and gratuitous indenting.
10574
10575Mon Aug 14 01:32:58 1995 Doug Evans <dje@canuck.cygnus.com>
10576
10577 * libc/sys/win32/syscalls.c (queue_file_deletion): Finish.
10578 (process_deletion_queue): Likewise.
10579 (__close_all_files): New function.
10580 (_close): Only queue file deletion if really a file.
10581 * libc/sys/win32/spawn.c (_spawn): Only ensure .exe suffix if
10582 _P_APPEND_EXE.
10583 (_exit): Call __close_all_files.
10584
10585 * libc/stdlib/system.c: #include <errno.h>.
10586 (_system_r): Fix results in -DNO_EXEC case.
10587
10588 * libc/sys/win32/sys/dirent.h (DIR): New member __d_dirname.
10589 Reorganize structure.
10590 * libc/sys/win32/dirsearch.c (opendir): Use stat to determine
10591 if argument is valid. Save directory name in DIR. malloc space
10592 for dirent struct separately.
10593 * libc/sys/win32/syscalls.c (stat): Fix test for directory.
10594
10595 * libc/include/errno.h (ENAMETOOLONG): Define.
10596 * libc/string/strerror.c (strerror): Reword ENFILE.
10597 Add ENOSYS, ENMFILE, ENOTEMPTY, ENAMETOOLONG.
10598
10599Sun Aug 13 22:42:25 1995 Doug Evans <dje@canuck.cygnus.com>
10600
10601 * libc/sys/win32/crt0.c (__progname): New global.
10602 (mainCRTStartup): Support strace=bitmask,filename.
10603 * libc/sys/win32/dirsearch.c (all fns): Add trace messages.
10604 * libc/sys/win32/syscalls.c (_write): Print parent trace message
10605 if error.
10606 (getcwd): Handle len too small. Convert '\\' to '/'.
10607 * libc/sys/win32/sys/fcntl.h (O_RDWR): = O_RDONLY|O_WRONLY.
10608 Add prototypes for open, creat, fcntl.
10609 (O_APPEND): Change value to conform to Microsoft's value.
10610 * libc/sys/win32/sys/strace.h (_STRACE): Protect in do/while.
10611
10612 * libc/stdlib/getopt.c: New file.
10613 * libc/stdlib/Makefile.in: Build it.
10614
10615Sat Aug 12 12:17:14 1995 Doug Evans <dje@canuck.cygnus.com>
10616
10617 * libc/posix/execvp.c (execvp): Watch for DOS drives ifdef _WIN32.
10618 Fix scanning of $PATH.
10619 * libc/posix/exec*.c: Call _execve, not execve.
10620 * libc/posix/execve.c: New file.
10621 * libc/posix/Makefile.in (OFILES): Add execve.o.
10622
10623 * libc/sys/win32/sys/strace.h (_STRACE_ALL, _STRACE_UHOH,
10624 _STRACE_STARTUP, _STRACE_SYSCALL): More bit masks of things to trace.
10625 (_STRACE): If level==0, always print. Handle new bit mask scheme.
10626 * libc/sys/win32/crt0.c: Update _STRACE calls.
10627 * libc/sys/win32/{pipe.c,resource.c,spawn.c,syscalls.c,wait.c}: Ditto.
10628
10629 * libc/sys/win32/smallprint.c (rn): Fix digit list.
10630
10631 * libc/sys/win32/syscalls.c (__really_exit): Move from here,
10632 * libc/sys/win32/exceptions.c (really_exit): to here. Avoid recursion.
10633 * libc/sys/win32/spawn.c (spawnvp): Pass `prog' as image name.
10634 Print __seterrno trace message first.
10635 (_execve): Renamed from execve.
10636 (vfork): Update __strace usage.
10637 (__vfork_child_pid): Deleted.
10638 (__vfork_children, __vfork_child_idx): New globals.
10639 (_spawnvp): New function.
10640 (spawnvp, spawnv, _execve): Call _spawnvp.
10641 (init_child): Record child in __vfork_children.
10642 (__vfork_get_entry, __vfork_record_death): New functions.
10643 * libc/sys/win32/crt0.c (mainCRTStartup): Initialize __vfork_children.
10644 * libc/sys/win32/kernel32.def (WaitForMultipleObjects): Define.
10645 * libc/sys/win32/syscalls.h (CHILD_P): New macro. All files updated.
10646 (MAX_CHILDREN, CHILD_INTERIM_PID): Define.
10647 (children): New typedef.
10648 (__vfork_children,__vfork_child_idx): Declare.
10649 (__vfork_get_entry,__vfork_record_death): Declare.
10650 * libc/sys/win32/wait.c (wait_for_single,wait_for_any): New functions.
10651 (waitpid): Handle pid == -1.
10652 * libc/sys/win32/sys/wintypes.h (WaitForMultipleObjects): Declare.
10653 * configure.in (i386-win32): Add -DNO_FORK.
10654 * libc/syscalls/sysfork.c (fork): Don't define for NO_FORK.
10655 * libc/reent/execr.c (_fork_r): Likewise.
10656 * libc/stdlib/system.c (do_system): New function.
10657 If WIN32, try to get shell path from $SH_PATH, use vfork.
10658 (_system_r): Return 1 for (s == NULL) if WIN32 or unix,
10659 otherwise return 0.
10660
10661Sat Aug 12 11:08:00 1995 steve chamberlain <sac@slash.cygnus.com>
10662
10663 * libc/stdlib/{mallocr.c, mstats.c}: Move mstats from mallocr to mstats.c.
10664 * libc/sys/win32/fcntl.h: Don't include self.
10665 * libc/sys/win32/sys/strace.h (_STRACE_WM, _strace_wm): New.
10666 * libc/sys/win32/sys/winbase.h: (GetUserName) New.
10667 * libc/sys/win32/sys/wincon.h (HANDLER_ROUTINE): Define correctly.
10668 * libc/sys/win32/sys/wintypes.h (GetFileType, GetCurrentProcess, CloseHandle,
10669 SetFilePointer, CreateFileA, GetFileInformationByHandle, GetStdHandle):
10670 Correct prototypes.
10671 * libc/sys/win32/strace.c: New file.
10672 * libc/sys/win32/smallprint.c: New file.
10673 * libc/sys/win32/crt0.c (func): Delete.
10674 (mainCRTStartup): Fix alloca usage. Set handles explictly.
10675 * libc/sys/win32/dirsearch.c: Clean up handle usage, fix calls to __seterrno.
10676 * libc/sys/win32/exceptions.c: Lint.
10677 * libc/sys/win32/{ioctl.c, pipe.c, resource.c, spawn.c, cwait.c, syscalls.c}:
10678 Clean up handle usage.
10679 * libc/sys/win32/syscalls.c (__sys_printf): Moved into strace.c
10680 (open.c): Default file type is text.
10681 * libc/sys/win32/uname.c (uname): Use __small_sprintf.
10682 * libc/sys/win32/advapi32.def: New
10683
10684Fri Aug 11 17:11:52 1995 Doug Evans <dje@canuck.cygnus.com>
10685
10686 * configure.in (posix_dir, libc_posix_lib): New variables.
10687 Define LIBC_POSIX_LIB in makefile to be $libc_posix_lib.
10688 (i[345]86-*-win32): Define posix_dir.
10689 Delete -DNO_EXEC. Define -DHAVE_OPENDIR.
10690 (if unix_dir): Fix typo.
10691 * libc/posix/{Makefile.in,closedir,opendir,readdir,rewinddir,
10692 scandir,seekdir,telldir}: New files.
10693 * libc/posix/{execl.c,execle.c,execlp.c,execv.c,execvp.c}: Move here
10694 from libc/unix.
10695 * libc/Makefile.in (LIBC_POSIX_LIB): Define.
10696 (SUBDIRS): Add posix.
10697 (SUBLIBS): Add $(LIBC_POSIX_LIB).
10698
10699 * libc/include/sys/signal.h (SIGCHLD): Add for _WIN32.
10700 (NSIG): Increase to 21.
10701 * libc/include/sys/unistd.h (pid_t): Move from here,
10702 * libc/include/sys/types.h (pid_t): to here.
10703
10704 * libc/sys/win32/syscalls.h: #include "sys/strace.h".
10705 (__ptrace): Delete.
10706 (hinfo): New members close_exec_p, child_created_p.
10707 (struct exception_list): Define.
10708 (__hmap): Redefine as pointer to table.
10709 (__parent_hmap, __child_hmap): New globals.
10710 (__set_errno, __really_exit): Declare.
10711 (__vfork_child_pid): Declare.
10712 * libc/sys/win32/crt0.c (__strace, __trace_file): New global.
10713 (__orig_stdin, __orig_stdout, __orig_stderr): New globals.
10714 (__parent_hmap, __child_hmap): New globals.
10715 (__hmap): Redefine as pointer to active map.
10716 (__get_console): New function.
10717 (mainCRTStartup): Change leading '=' in environ vars to '!'.
10718 (env __FD_TABLE__): Watch for this and initialize our fd/handle
10719 mapping table from it if defined.
10720 (argv, envp): Dump if __strace >= 4.
10721 (main): Call here.
10722 * libc/sys/win32/exceptions.c (myp): Redefine.
10723 (__syscalls_b): Delete.
10724 (__stack_trace): New function.
10725 (ehandler3): Update to use _STRACE. Print stack trace.
10726 Call __really_exit instead of exit.
10727 (init_exceptions): Delete args argc,argv. New arg mine.
10728 * libc/sys/win32/kernel32.def (CreatePipe, DuplicateHandle, FindClose,
10729 FindFirstFileA, FindNextFileA, GetComputerNameA,
10730 GetEnvironmentVariableA, ReadFile, SetEnvironmentVariableA): Define.
10731 * libc/sys/win32/signal.c (signal): Validate arg.
10732 (alarm, sleep): Define as stubs for now.
10733 * libc/sys/win32/syscalls.c (all fns): Update to use _STRACE.
10734 (__syscalls_b, errno): Delete.
10735 (__vfork_child_pid, __vfork_jmp_buf): New globals.
10736 (__seterrno): Handle more errors.
10737 (__sys_printf): Renamed from _ptrace.
10738 (__really_exit): New function.
10739 (queue_file_deletion, process_deletion_queue): New functions.
10740 (__resume_parent): New function.
10741 (_unlink): Handle trying to delete open file.
10742 (__totime_t): Renamed from totime_t.
10743 (setsid, __read, __write): New functions.
10744 (cwait, spawnvp, R, D, getrusage, _execve, _fork, _wait): Delete.
10745 * libc/sys/win32/{dirsearch.c,getlogin.c,misc.c,resource.c,passwd.c,
10746 times.c,spawn.c,pipe.c,wait.c,termios.c,ioctl.c,uname.c}: New files.
10747 * libc/sys/win32/console.c: Update to new definition of __hmap.
10748 * libc/sys/win32/Makefile.in: Build new files.
10749 * libc/sys/win32/sys/{dirent.h,winerror.h,wait.h,termios.h}: New files.
10750 * libc/sys/win32/sys/{ioctl.h,utsname.h}: New files.
10751 * libc/sys/win32/sys/strace.h: Renamed from ptrace.h.
10752 * libc/sys/win32/sys/wintypes.h (GetCurrentDirectoryA): Fix prototype.
10753
10754Thu Aug 10 16:32:52 1995 Doug Evans <dje@canuck.cygnus.com>
10755
10756 * libc/sys/h8500hms/misc.c (kill): Handle SIGABRT.
10757
10758Thu Aug 10 12:07:38 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10759
10760 * libc/stdlib/{dtoa.c, strtod.c}: Merged assorted changes that
10761 have been made to the master dtoa.c sources (from netlib.att.com)
10762 since they were integrated into newlib in early 1992. Fixes
10763 problems with storage leaks and handling of numbers with very
10764 negative exponents.
10765
10766Wed Aug 9 14:18:39 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10767
10768 * Makefile.in (all): set rootpre and srcrootpre before calling
10769 sub-makes.
10770
10771Tue Aug 8 17:20:45 1995 steve chamberlain <sac@slash.cygnus.com>
10772
10773 * libc/sys/win32/crt0.c: Change __hmap usage.
10774 * libc/sys/win32/exceptions.c: Use _ptrace call.
10775 * libc/sys/win32/syscalls.c: Use _ptrace call.
10776 (read, write): Cope with DOS style CRLF when in TEXT mode.
10777 * libc/sys/win32/syscalls.h: Declare hinfo struct.
10778 * libc/sys/win32/user32.def: Get DefWindowProc arg list right.
10779 * libc/sys/win32/sys/fcntl.h, ptrace.h: New.
10780 * libc/sys/win32/sys/windows.h: Fill in rest of messages.
10781 * libc/sys/win32/sys/wintypes.h: Fix attribute syntax.
10782
10783Mon Aug 7 13:04:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10784
10785 * libc/include/math.h (cabs, cabsf, drem, dremf): New declarations.
10786
10787 * libm/math/{w_cabs.c, wf_cabs.c, w_drem.c, wf_drem.c}: New files,
10788 wrappers for hypot() and remainder() for BSD libm compatibility.
10789 These are public domain implementations written by me for the
10790 NetBSD libm some time ago. Note cabs() is required by ucbtest.
10791 * libm/math/Makefile.in (obj): Added w_cabs.o and w_drem.o.
10792 (fobj): Added wf_cabs.o and wf_drem.o.
10793
10794Thu Aug 3 08:13:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10795
10796 * libc/sys/h8500hms/misc.c: New file.
10797 * libc/sys/h8500hms/Makefile.in (OFILES): Add misc.o.
10798
10799Wed Aug 2 16:46:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10800
10801 * libc/time/localtime.c (localtime): Fix problem with leap year
10802 handling. Stole algorithm from Arthur David Olson's tz code.
10803
10804Mon Jul 31 10:21:54 1995 steve chamberlain <sac@slash.cygnus.com>
10805
10806 * configure.in: (z8k-*sim): Renamed z8k-*-coff.
10807
10808 * libc/sys/z8ksim/glue.c (_getpid, _kill): New
10809 (_exit): Use argument.
10810
10811Fri Jul 28 15:17:04 1995 Doug Evans <dje@canuck.cygnus.com>
10812
10813 * libc/sys/win32/sys/winbase.h (_WINBASE_H): Define.
10814
10815Wed Jul 26 16:24:19 1995 steve chamberlain <sac@slash.cygnus.com>
10816
10817 * libc/sys/sh/trap.S (perrno): Align correctly. (pr 7532)
10818
10819Mon Jul 24 13:42:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10820
10821 * configure.in (sparc*): Add -DMALLOC_ALIGNMENT=8 to
10822 target_cflags.
10823
10824Mon Jul 24 11:42:07 1995 steve chamberlain <sac@slash.cygnus.com>
10825
10826 * libc/sys/win32/crt0.c (mainCRTStartup): Look for
10827 ptrace with case insensitivity
10828 * libc/sys/win32/{user32.def, gdi32.def, exceptions.c, screen.c,
10829 sys/winbase.h, sys/windows.h, sys/wintypes.h, sys/winuser.h}:
10830 New files.
10831
10832Fri Jul 21 11:22:26 1995 Doug Evans <dje@canuck.cygnus.com>
10833
10834 * Makefile.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
10835 (MULTITOP, MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): New variables.
10836 (all, install, *clean): Use new multilib support.
10837 * configure.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
10838
10839Fri Jul 21 07:11:42 1995 steve chamberlain <sac@slash.cygnus.com>
10840
10841 * libc/include/sys/signal.h (__WIN32__): New.
10842
10843 * configure.in (i386-*-win32): Remobe SBRK_IS_ALLOC.
10844
10845 * libc/stdlib/mprec.c (Balloc): Fix trampling problem.
10846 (ulp, b2d): Handle 32 bit doubles.
10847 * libc/stdlib/mprec.h: Handle 32 bit doubles.
10848 * libc/stdlib/strtod.c (_strtod_r): Ditto.
10849
10850Fri Jul 14 08:24:58 1995 steve chamberlain <sac@slash.cygnus.com>
10851
10852 from medp@primag.co.uk:
10853 * libc/stdio/setvbuf.c (setvbuf): Fix line buffering on
10854 dynamically allocated buffers.
10855
10856Thu Jul 20 10:11:03 1995 Fred Fish <fnf@fishbowl>
10857
10858 * libc/include/sys/unistd.h (_exit): Add _ATTRIBUTE ((noreturn)).
10859 * libc/stdlib/exit.c (unistd.h): Include to pick up _exit() declaration.
10860
10861Thu Jul 20 10:16:25 1995 Michael Meissner <meissner@tiktok.cygnus.com>
10862
10863 * configure.in (powerpc): Fix previous fix.
10864
10865Wed Jul 19 14:08:55 1995 Michael Meissner <meissner@tiktok.cygnus.com>
10866
10867 * configure.in (powerpc-*eabiaix*): Update PowerPC multilib
10868 directories for this target.
10869
10870Wed Jul 19 00:34:30 1995 Jeffrey A. Law <law@rtl.cygnus.com>
10871
10872 * configure.in (hppa): Add machine_dir definition.
10873 * libc/machine/hppa: New directory with PA specific implementations
10874 of the basic memory/string functions.
10875
10876Tue Jul 18 21:16:00 1995 Michael Meissner <meissner@tiktok.cygnus.com>
10877
10878 * configure.in: Update current PowerPC multilib directories.
10879 Split big and little endian configurations.
10880
10881Tue Jul 18 11:55:33 1995 Ian Lance Taylor <ian@cygnus.com>
10882
10883 * configure.in: Add --enable-single-float option to configure to
10884 control use of MIPS single-float directories. Default to yes.
10885
10886 * Makefile.in (all): Don't recurse into multilib directory if it
10887 does not exist.
10888
10889Mon Jul 17 15:51:30 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10890
10891 * libc/sys/sh/syscalls.c: Fix typo.
10892
10893Mon Jul 3 14:38:52 1995 Steve Chamberlain <sac@slash.cygnus.com>
10894
10895 * Makefile.in, libc/Makefile.in, libc/sys/Makefile.in:
10896 Pass down DLLTOOL.
10897 * libc/include/process.h: Define WAIT_CHILD.
10898 * libc/include/types.h: Get sizes right for win32.
10899 * configure.in (i386-*-pe): Becomes i386-win32.
10900 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
10901 wintypes.h,sys/file.h,sys/resource.h}: Second pass.
10902 * libc/stdlib/mallocr.c: Don't round up memory block if SBRK_IS_ALLOC
10903 is defined.
10904
10905Wed Jun 28 18:34:54 1995 Steve Chamberlain <sac@slash.cygnus.com>
10906
10907 * configure.in (i[345]86-*-pe): New target (NT).
10908 * host/any: DLLTOOL new.
10909 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
10910 wintypes.h,sys/file.h,sys/resource.h}: Preliminary support for
10911 WIN32 (just enough to cross host the comp-tools).
10912
10913Thu Jun 22 11:45:18 1995 Doug Evans <dje@canuck.cygnus.com>
10914
10915 * libc/machine/h8300/{cmpsi.S,ucmpsi.S,divhi3.S,mulhi3.S,mulsi3.S}:
10916 Deleted. These files live in gcc/config/h8300/lib1funcs.asm now.
10917
10918Mon Jun 19 11:40:40 1995 Doug Evans <dje@canuck.cygnus.com>
10919
10920 * libc/include/machine/ieeefp.h (arm): Change to always be
10921 __IEEE_BIG_ENDIAN (even on little endian ARM's).
10922
10923Thu Jun 8 14:22:28 1995 Steve Chamberlain <sac@slash.cygnus.com>
10924
10925 * libc/sys/crt0.S: Initialze sp, and call exit after main.
10926 * libc/sys/syscalls.c (abort): New.
10927 * configure.in (arm): Define ABORT_PROVIDED.
10928
10929Wed Jun 7 14:04:35 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10930
10931 * configure.in (powerpc): Define multidirs.
10932
10933Mon Jun 5 16:10:13 1995 Doug Evans <dje@canuck.cygnus.com>
10934
10935 * libc/sys/arm/crt0.S: Add __USER_LABEL_PREFIX__ support.
10936
10937Thu Jun 1 10:51:47 1995 Sean Eric Fagan <sef@cygnus.com>
10938
10939 * configure.in (sparclite): Delete target_cflags. Define multidirs.
10940
10941Wed May 24 14:23:25 1995 Steve Chamberlain <sac@slash.cygnus.com>
10942
10943 * configure.in, libc/include/machine/ieeefp.h: Modified
10944 for arm:
10945 libc/machine/arm/*, libc/sys/arm/*: New
10946
10947Tue May 23 13:53:07 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10948
10949 * libc/include/machine/ieeefp.h: Use __PPC__ instead of
10950 __powerpc__ when determining endianness.
10951
10952Wed May 10 07:55:56 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10953
10954 * configure.in (m68*): Add multidir for the m68332.
10955
10956 * host/any (CC): Fix typo in last change.
10957
10958Fri Apr 14 22:20:31 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
10959
10960 * libc/include/sys/config.h: Test __m68k__ instead of __m68000__
10961 when determining endianness.
10962 * libc/include/machine/ieeefp.h: Ditto.
10963 * libc/machine/m68k/setjmp.S: Use '&' instead of '#' for immediate
10964 operands.
10965
10966Fri Apr 14 14:14:29 1995 Doug Evans <dje@chestnut.cygnus.com>
10967
10968 * libc/include/errno.h (ENOTEMPTY): Define.
10969
10970Thu Apr 6 12:21:20 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10971
10972 * configure.in (sparc-sun-sunos*): Add -DMALLOC_ALIGNMENT=8 to
10973 target_cflags.
10974
10975 * libc/sys/sun4/Makefile.in (COPYOFILES): Added rem.o, multiply.o,
10976 and umultiply.o.
10977
10978 * libc/stdio/tmpnam.c (worker): Unconditionally increment count
10979 instead of only when open succeeds. ANSI requires that multiple
10980 calls to tmpnam() result in different files.
10981
10982 * libc/sys/sun4/Makefile.in (COPYRENAMEOFILES): New macro, list of
10983 objects pulled in from /lib/libc.a that must be renamed before
10984 being pulled into newlib. /lib/libc.a's div.o conflicted with
10985 newlib's file with the same name.
10986
10987 * libc/stdlib/ldiv.c (ldiv): Call labs() instead of abs().
10988
10989 * host/any (CC, AS, AR, RANLIB): Changed so that executables in
10990 the build tree will only be used if the executables are present
10991 (instead of just the Makefiles).
10992
10993 * libc/include/stdlib.h (mblen, mbtowc, wctomb, mbstowcs,
10994 wcstombs): Define.
10995 * libc/stdlib/{mblen.c, mbstowcs.c, wcstombs.c}: New files, null
10996 versions of these functions that I orignally wrote for the
10997 NetBSD C library.
10998 * libc/stdlib/{mbtowc.c, wctomb.c}: Replaced functions with
10999 versions I wrote for NetBSD.
11000
11001Wed Mar 29 12:42:42 1995 Kung Hsu <kung@mexican.cygnus.com>
11002
11003 * libc/sys/sparclite/Makefile.in: add crt0.s and make info.
11004 * libc/sys/sparclite/crt0.s: ditto.
11005
11006Tue Mar 28 20:28:03 1995 Rob Savoye <rob@rtl.cygnus.com>
11007
11008 * configure.in: Add soft-float for proelf.
11009
11010Mon Mar 27 12:07:56 1995 Steve Chamberlain <sac@bang.hack.com>
11011
11012 * libc/stdlib/mprec.h (Bcopy): Copy the right number
11013 of bytes.
11014
11015Mon Mar 27 11:24:22 1995 Doug Evans <dje@chestnut.cygnus.com>
11016
11017 * Makefile.in (all): Depend on `force'.
11018 * configure.in (syscall_dir): Renamed from fake_sys_dir.
11019 (libc_syscall_lib): Renamed from libc_fake_sys_lib.
11020 (LIBC_SYSCALL_LIB): Renamed from LIBC_FAKE_SYS_LIB.
11021 * libc/Makefile.in: Likewise.
11022 * libc/include/reent.h: Update syscall references.
11023 (_fcntl_r): Add prototype.
11024 * libc/syscalls/*.c #include <reent.h>.
11025 (*) Call reentrant version if REENTRANT_SYSCALLS_PROVIDED.
11026
11027Mon Mar 20 16:57:39 1995 Doug Evans <dje@deneb.cygnus.com>
11028
11029 * libc/include/sys/stat-dj.h (S_ISBLK): Define.
11030 (S_ISCHR, S_ISDIR, S_ISFIFO, S_ISREG): Define.
11031 * libc/include/sys/stat.h (stat-dj.h): Include ifdef MSDOS.
11032 (time.h, sys/types.h): Always include (even if MSDOS).
11033 (stat): Fix prototype.
11034
11035Fri Mar 10 11:30:38 1995 Ian Lance Taylor <ian@cygnus.com>
11036
11037 * configure.in (i[345]86-*-go32): Compile with -DNO_EXEC.
11038
11039Mon Feb 27 18:00:39 1995 Jim Wilson <wilson@chestnut.cygnus.com>
11040
11041 * libc/machine/h8500/psi.S (EXTPSIHI_RN_SN): Ifdef out.
11042
11043Mon Feb 13 16:10:03 1995 Ian Lance Taylor <ian@cygnus.com>
11044
11045 * libc/include/regdef.h: New file.
11046 * libc/machine/mips/machine/regdef.h: New file.
11047
11048Mon Feb 6 15:24:29 1995 Doug Evans <dje@canuck.cygnus.com>
11049
11050 * libc/sys/sparc64/sys/fcntl.h (open): Add ellipsis.
11051
11052Fri Jan 27 13:52:10 1995 Steve Chamberlain <sac@splat>
11053
11054 * libc/sys/sh/crt0.S: Pass main's return to exit.
11055 * libc/sys/sh/trap.S: Put errno in the right place.
11056
11057Tue Jan 24 18:57:56 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
11058
11059 * libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Integrate change
11060 from fdlibm 5.2: handle |x| < 3pi/4 more efficiently.
11061 * libm/math/ef_rem_pio2.c: Likewise.
11062 * libm/math/e_log10.c: Remove unused static one.
11063 * libm/math/ef_log10.c: Likewise.
11064 * libm/math/s_frexp.c: Likewise.
11065 * libm/math/sf_frexp.c: Likewise.
11066
11067Sun Jan 22 21:26:14 1995 Steve Chamberlain <sac@splat>
11068
11069 * libc/sys/go32/Makefile.in, clock.S, dir.c, setjmp.S, stat.c,
11070 longjmp.S: Upgraded.
11071 * libc/sys/go32/sys/setjmp.h: Upgraded.
11072 * libc/sys/go32/sys/go32.h, dpmi.h: New files.
11073
11074Fri Jan 20 18:33:18 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
11075
11076 * configure.in: Add many entries to multidirs for mips targets.
11077
11078Wed Jan 18 10:19:25 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11079
11080 * libm/math/e_jn.c (__ieee754_yn): Integrate change from fdlibm
11081 5.2 which fixes bug where jn(-1,x) is three times larger than
11082 the actual answer.
11083 * libm/math/ef_jn.c (__ieee754_ynf): Likewise.
11084
11085Sun Jan 15 21:48:58 1995 Steve Chamberlain <sac@splat>
11086
11087 * libc/sys/w65/sys/syscalls.h: New file
11088 * libc/include/machine/ieeefp.h: W65 support.
11089 * libc/include/sys/config.h: Ditto.
11090 * libc/machine/w65/Makefile.in, cmpsi, divsi3, lshrhi.s, mulsi3.c,
11091 sdivhi3.s, smulhi3.s, udivhi3.s, umodhi3.s: New files.
11092 * libc/sys/w65/Makefile.in, crt0.c, syscalls.c, trap.c: New files.
11093
11094Wed Jan 11 15:59:01 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
11095
11096 * libc/sys/Makefile.in (lib.a, crt0.o): Depend upon subs.
11097
11098Tue Jan 3 15:57:03 1995 Rob Savoye <rob@darkstar.cygnus.com>
11099
11100 * Makefile.in, configure.in: Remove any references to the old
11101 "stub" dir.
11102
11103Thu Dec 22 10:42:08 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
11104
11105 * libc/syscalls/sysopen.c: Write _HAVE_STDC version of open, which
11106 uses ... in prototype.
11107
11108
11109Wed Nov 30 08:39:42 1994 Ian Lance Taylor <ian@rtl.cygnus.com>
11110
11111 * libc/sys/a29khif/sys/libconfig.h: Remove.
11112 * libc/sys/go32/sys/libconfig.h: Remove.
11113 * libc/sys/sun4/sys/libconfig.h: Remove.
11114 * libc/sys/sysvi386/sys/libconfig.h: Remove.
11115 * libc/sys/sysvnecv70/sys/libconfig.h: Remove.
11116 * libc/sys/sparc64/sys/libconfig.h: Remove.
11117
11118 * libc/include/_ansi.h (_FLOAT_ARG, _FLOAT_RET): Don't define.
11119 * libc/include/sys/config.h (_FLOAT_ARG, _FLOAT_RET): Likewise.
11120 * libc/include/math.h: Change all uses of _FLOAT_RET and
11121 _FLOAT_ARG to float.
11122 * libm/test/math.c: Likewise.
11123 * testsuite/libm.sac/math.c: Likewise.
11124 * testsuite/libm.sac/working/math.c: Likewise.
11125
11126Wed Nov 23 22:39:28 1994 Steve Chamberlain (sac@jonny.cygnus.com)
11127
11128 * libc/sys/sh/trap.s,crt0.s,setjmp.s: Renamed with .S so that
11129 gcc calls gas with endian option.
11130 * configure.in (sh): Build little endian version too.
11131
11132Wed Nov 16 18:21:45 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
11133
11134 * configure.in: Configure big and little endian versions for MIPS
11135 targets.
11136
11137Sat Nov 12 21:12:51 1994 Doug Evans <dje@canuck.cygnus.com>
11138
11139 * libc/include/limits.h: Deleted.
11140 * libc/include/machine/limits.h: Deleted.
11141
11142Thu Nov 10 15:32:44 1994 Rob Savoye <rob@rtl.cygnus.com>
11143
11144 * ChangeLog: Remove stub directory. This has all been rewritten
11145 and moved to devo/libgloss.
11146
11147Thu Sep 29 18:31:04 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
11148
11149 * Makefile.in (dvi): Add to info target, use $@ in sub make.
11150 (docs): Merge into info target.
11151 * libm/Makefile.in (dvi): Add $(srcdir).
11152 * libm/math/Makefile.in (chobjs): Remove underscores from file
11153 names. Texinfo doesn't like them.
11154 (wacos.def, ...): Add explicit targets for all .def files.
11155 * libm/math/math.tex: Remove underscores from @include file names.
11156 * doc/Makefile.in (dvi): Add dummy target.
11157 * testsuite/Makefile.in (dvi): Add dummy target.
11158
11159Mon Sep 26 21:17:46 1994 Doug Evans (dje@canuck.cygnus.com)
11160
11161 * Makefile.in (VERSION): Define. For net newlib releases.
11162
11163Thu Sep 22 19:01:26 1994 Doug Evans (dje@canuck.cygnus.com)
11164
11165 * README: New file.
11166
11167Mon Sep 19 16:35:23 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
11168
11169 * libc/stdlib/ecvtbuf.c (_gcvt): Undo last change.
11170
11171Mon Sep 19 11:44:23 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
11172
11173 * libc/stdlib/setenv.c (_findenv): Declare.
11174
11175 * libc/include/sys/fcntl.h: Fix declarations of open, creat, and
11176 fcntl to not use _EXFUN, and change string parameters to open and
11177 creat to be ``const char *''.
11178 * libc/sys/sparc64/sys/fcntl.h: Likewise.
11179 * libc/sys/sparc64/creat.c (creat): Make PATH const.
11180 * libc/syscalls/sysopen.c: Include <fcntl.h>.
11181 (open) Make _FILE const.
11182 * libc/sys/z8ksim/glue.c (_open): Make BUF const.
11183 (_creat): Make PATH const.
11184 * libc/sys/h8300hms/syscalls.c (_open): Make PATH const.
11185 * libc/sys/h8500hms/syscalls.c (_open): Likewise.
11186 * libc/sys/m88kbug/syscalls.c (open): Likewise.
11187 * libc/sys/sh/syscalls.c (_open): Likewise.
11188 * stub/shared/glue.c (open): Make BUF const.
11189 * stub/ex93x/syscalls.c (open): Make FILENAME const.
11190
11191Thu Sep 8 16:39:12 1994 Steve Chamberlain (sac@jonny.cygnus.com)
11192
11193 * libc/include/errno.h: Add ENMFILE
11194 * libc/include/sys/config.h: Support Z8000.
11195 * libc/include/sys/signal.h: New signals for go32.
11196 * libc/machine/h8500/psi.S (__addpsir0r0): New function
11197 * libc/machine/h8500/cmpsi.S (__ucmppsi2): New function
11198 * libc/machine/sh/sdivsi3.s (__sdivsi3): Rewritten.
11199 * libc/stdlib/mallocr.c (_morecore_r): Minimum chunk
11200 size is variable, depending upon CHUNK_POWER.
11201 * libc/sys/go32/*.c: Upgrade to new go32 stuff.
11202
11203Sun Sep 4 17:42:43 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
11204
11205 * libc/stdlib/ecvtbuf.c (_gcvt): Output '-' for negative numbers.
11206
11207Fri Sep 2 10:56:01 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
11208
11209 * libc/include/_ansi.h (_PARAMS): Don't define if already defined.
11210
11211Wed Aug 24 11:11:03 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
11212
11213 * configure.in: Change i[34]86 to i[345]86.
11214
11215 * libc/include/math.h: Don't define HUGE_VAL if it is already
11216 defined.
11217
11218Wed Aug 17 15:18:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
11219
11220 * testsuite/libm.sac/test_erfc.c: Correct some result values.
11221 * testsuite/libm.sac/test_gammaf.c: Likewise.
11222 * testsuite/libm.sac/test_sin.c: Likewise.
11223 * testsuite/libm.sac/test_tanh.c: Likewise.
11224
11225Tue Aug 16 16:12:53 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
11226
11227 * libc/include/machine/ieeefp.h: Don't try set endianness if it is
11228 already set. Define typedefs __int32_t and __uint32_t.
11229 * libc/include/math.h: Include <machine/ieeefp.h>.
11230 (union __dmath): Use __uint32_t.
11231 * libm/math/fdlibm.h, libm/math/*.c: Use __int32_t and __uint32_t
11232 instead of int and unsigned int.
11233
11234Thu Aug 11 15:16:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
11235
11236 Replace the math library with the SunPRO fdlibm package.
11237 * libm/math: Completely changed all files.
11238 * libm/ieeefp: Remove contents and directory.
11239 * libm/Makefile.in (LIBM_FP_LIB): Remove.
11240 (SUBDIRS): Just set to math/lib.a.
11241 * libm/libm.texinfo: Updated for new library.
11242 * libc/include/math.h: Extensive changes for new math library.
11243 * libc/include/ieeefp.h (isnanf, isinff, finitef): Change argument
11244 from _FLOAT_ARG to float.
11245 (maxpowtwo, maxpowtwof): Don't declare.
11246 * configure.in (fp_dir): Removed; was always ieeefp anyhow.
11247 (libm_fp_lib): Removed.
11248 * Makefile.in (MATHOBJS_IN_LIBC): Updated with new file names.
11249 * testsuite/libm.paranoia/Makefile.in (check): Correct --srcdir
11250 argument to ${RUNTEST}.
11251 * testsuite/libm.sac/Makefile.in (LOCAL_CFLAGS): Define.
11252 (.c.o): New rule.
11253 (RUNTESTFLAGS): Set CC and CFLAGS.
11254 (TESTS): Remove test_log2 and test_log2f.
11255 (${TESTS}): Pass ${LOCAL_CFLAGS}, not ${CFLAGS}.
11256 * testsuite/libm.sac/math.c (run_vector_1): Use float, not
11257 _FLOAT_ARG, for single precision argument type.
11258 * testsuite/libm.sac/sac.exp: Treat an error in bit 63 as an
11259 expected failure. Close the input pipe.
11260 * testsuite/libm.sac/test.c (test_sok, test_iok, test_scok):
11261 Correct misspelling of inaccurate.
11262 (test_mok): Use ``inaccurate'', not ``wrong''.
11263 * testsuite/libm.sac/{test_acos.c, test_acosh.c, test_asin.c,
11264 test_asinh.c, test_atan.c, test_atanh.c, test_ceil.c,
11265 test_ceilf.c, test_cos.c, test_cosh.c, test_erf.c, test_erf.c,
11266 test_fabs.c, test_floor.c, test_floorf.c, test_fmod.c,
11267 test_fmodf.c, test_gamma.c, test_log1p.c, test_log1pf.c,
11268 test_yn.c): Correct many result values. Many are still wrong.
11269
11270 * libc/stdlib/ecvtbuf.c (print_e): If _dtoa_r sets decpt to 9999,
11271 just copy the string.
11272 (_gcvt): Always return the buffer.
11273
11274Tue Aug 9 13:43:23 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11275
11276 * bcopy.c: fixed documentation, bcopy was not specified by ANSI.
11277
11278Wed Aug 3 05:39:41 1994 D. V. Henkel-Wallace (gumby@cygnus.com)
11279
11280 * libc/include/sys/reent.h: (struct _Bigint): add _reclaim
11281 structure.
11282 (struct _reent): add _p5s, _cvtlen, _cvtbuf.
11283 (_reclaim_reent): declare new entry point.
11284 * libc/reent/reent.c (cleanup_glue, _reclaim_reent): new
11285 functions.
11286
11287 * libc/stdlib/mprec.c (Balloc): Keep track of every struct bigint
11288 ever allocated, so that we can later reclaim them all.
11289 (pow5mult): make reentrant.
11290
11291 * libc/stdlib/ecvtbuf.c (fcvtbuf, ecvtbuf): extend these functions
11292 so that when given NULL as a buffer, return a pointer to static
11293 space in the rent structure. This is not documented behaviour;
11294 it's only to support ecvt and fcvt, which aren't ANSI anyway.
11295 * libc/stdlib/efgcvt.c (fcvt, ecvt) Use new functionality (and
11296 therefore become reentrant).
11297
11298 * libc/stdlib/dtoastub.c: remove spurious inclusion of mprec.h.
11299
11300Mon Aug 1 16:52:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
11301
11302 * libc/include/machine/ieeefp.h: Check _AM29K, not ___AM29K__.
11303
11304Thu Jul 28 15:40:21 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11305
11306 * Makefile.in: Make link to libg.a after libc.a; this is needed
11307 for the testsuites to build executables when everything comes
11308 from the tree.
11309
11310Mon Jun 27 17:14:29 1994 Bill Cox (bill@rtl.cygnus.com)
11311
11312 * libc/Makefile.in: Add a VERSION variable so we can keep track.
11313 * libm/Makefile.in: Add a VERSION variable so we can keep track.
11314
11315Wed Jun 22 10:26:00 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
11316
11317 * libc/include/stdio.h: Use __VALIST, not va_list.
11318
11319Tue May 17 15:43:28 1994 Bill Cox (bill@rtl.cygnus.com)
11320
11321 * testsuite/config/unix-libm.exp, testsuite/lib/libm.exp,
11322 testsuite/libm.sac/execute.exp:
11323 Replace error proc calls with perror calls.
11324
11325Wed May 11 09:25:28 1994 Doug Evans (dje@canuck.cygnus.com)
11326
11327 * libc/include/*.h: #include "_ansi.h" instead of <_ansi.h>.
11328 * libc/include/time.h: #define NULL as 0L.
11329
11330Mon May 9 18:41:20 1994 Doug Evans (dje@canuck.cygnus.com)
11331
11332 * host/any (INCLUDES): Delete -I of gcc/include, gcc -B takes
11333 care of it.
11334
11335Mon May 9 18:39:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
11336
11337 * libc/include/sys/signal.h: Check for __GO32__, not __i386__ and
11338 not __unix__.
11339
11340Sat May 7 17:07:36 1994 Steve Chamberlain (sac@cygnus.com)
11341
11342 * configure.in (TARGET_CFLAGS): Set -O2 as default.
11343 (z8k-*-*): Use syscalls fake sys dir.
11344 * libc/sys/z8k/glue.c: Rename syscalls.
11345 * libc/sys/go32/Makefile.in: Use new routines.
11346 * libc/machine/Makefile.in: Fix typo in ln stuff.
11347
11348Thu May 5 13:47:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
11349
11350 * Makefile.in (libm.a, crt0.o): Use cp if ln fails.
11351 * libc/Makefile.in (crt0.o): Likewise.
11352 * libc/machine/Makefile.in (lib.a): Likewise.
11353 * libc/sys/Makefile.in (lib.a, crt0.o): Likewise.
11354
11355 All Makefile.in files: Added mostlyclean, realclean and distclean
11356 targets.
11357
11358 * Makefile.in: Don't bother to unexport XTRAFLAGS or
11359 XTRAFLAGS_FOR_TARGET, since they are no longer passed down from
11360 the top level Makefile.
11361
11362Tue Apr 26 15:10:34 1994 Doug Evans (dje@canuck.cygnus.com)
11363
11364 * libc/sys/sparc64/sys/stat.h: New file.
11365 * libc/sys/sparc64/sys/time.h: New file.
11366 * libc/sys/sparc64/sys/types.h: New file.
11367
11368Fri Apr 22 12:58:24 1994 Stan Shebs (shebs@andros.cygnus.com)
11369
11370 * stub/ex93x/crt0.s (start): Add code to clear bss.
11371
11372Wed Apr 13 10:34:58 1994 Doug Evans (dje@canuck.cygnus.com)
11373
11374 * libc/include/sys/types.h (time_t): Properly protect inside
11375 #ifndef __time_t_defined.
11376
11377 * libc/stdio/fileno.c: New file.
11378 * libc/stdio/Makefile.in (OFILES, CHEWOUT_FILES): Add fileno.
11379 (fileno.o): Add dependency.
11380 * libc/include/stdio.h (__sgetc): Rename never to _never.
11381 (fileno macro): Disable, needs to do CHECK_INIT first.
11382
11383Mon Apr 11 17:37:09 1994 Bill Cox (bill@rtl.cygnus.com)
11384
11385 * testsuite/Makefile.in (EXPECT, RUNTEST): Set these for the check
11386 goal.
11387
11388 * testsuite/Makefile.in (check): Set TCL_LIBRARY for runtest.
11389 * testsuite/libm.paranoia/Makefile.in (check): Set TCL_LIBRARY for
11390 runtest.
11391 * testsuite/libm.sac/Makefile.in (check): Set TCL_LIBRARY for
11392 runtest.
11393
11394Sat Apr 9 16:18:09 1994 Doug Evans (dje@cygnus.com)
11395
11396 * libc/sys/sparc64/sys/fcntl.h: New file, define solaris versions
11397 of the various constants.
11398
11399Thu Apr 7 21:19:07 1994 Mark Eichin (eichin@cygnus.com)
11400
11401 * libc/include/math.h: #ifndef __math_68881 around things which
11402 conflict with the (gcc-provided) inline functions in
11403 gcc/ginclude/math-68881.h.
11404
11405Thu Apr 7 02:50:43 1994 Doug Evans (dje@cygnus.com)
11406
11407 * libc/include/_syslist.h (_gettimeofday): Define.
11408 (_times): Ditto.
11409 * libc/include/reent.h: #include <machine/types.h> to get _CLOCK_T_.
11410 (struct tms, timeval, timezone): Declare.
11411 (_gettimeofday_r, _times_r): Declare.
11412 * libc/include/time.h (_CLOCK_T_): Don't #undef. Remove
11413 #ifdef _CLOCK_T_ surrounding definition of clock_t.
11414 (time_t): Add multiple definition protection, __time_t_defined.
11415 * libc/include/sys/time.h: Don't #include <time.h>.
11416 Always define struct timezone (remove #ifndef _TIME_H_).
11417 * libc/include/sys/times.h (_CLOCK_T_): Don't #undef. Remove
11418 #ifdef _CLOCK_T_ surrounding definition of clock_t.
11419 * libc/reent/Makefile.in (OFILES): Add timer.o.
11420 (CHEWOUT_FILES): Add timer.def. Add timer.o/timer.c dependence.
11421 * libc/reent/timer.c: New file.
11422 * libc/time/clock.c: #include <reent.h>.
11423 (clock): Call _times_r instead of times.
11424 * libc/time/time.c (HAVE_GETTIMEOFDAY): Renamed from
11425 HAVE_GET_TIME_OF_DAY.
11426 Add comment regarding supporting OS routine(s) required (for docs).
11427 #include <reent.h>.
11428 (time): Call _gettimeofday_r instead of gettimeofday.
11429 * libc/time/asctime.c: Fix comment regarding supporting OS routines.
11430 * libc/time/ctime.c: Ditto.
11431 * libc/time/strftime.c: Ditto.
11432 * libc/sys/sparc64/Makefile.in (TEMPLATE_SFILES): Remove gettimeofday.
11433 (TEMPLATE_SFILES_R): Define here. Also define times.
11434 Add times_r.o/times.S dependence.
11435 (time2.c, junk.c): Deleted.
11436 * libc/sys/sparc64/time2.c: Deleted.
11437 * configure.in (sparc64-*-*): Define HAVE_GETTIMEOFDAY.
11438
11439 * libc/stdio/mktemp.c (_getpid_r): Renamed from _getpid.
11440 * libc/stdio/tmpnam.c (_getpid_r): Ditto.
11441 * libc/sys/sparc64/junk.c: Deleted.
11442
11443Mon Mar 21 16:51:03 1994 Doug Evans (dje@canuck.cygnus.com)
11444
11445 * libc/sys/sparc64/Makefile.in: Add times syscall.
11446 * libc/sys/sparc64/crt0.S: Handle stack bias at run time so we can
11447 be used with and without it. Add comment clarifying Medium/Anywhere
11448 model requirements.
11449 * libc/sys/sparc64/sigsetjmp.S (setjmp, longjmp): Add svr4 support.
11450 * libc/sys/sparc64/sys/syscall.h (SYS_times): Define for sunos4
11451 even if obsolete.
11452
11453Sun Mar 20 15:51:47 1994 Doug Evans (dje@cygnus.com)
11454
11455 * configure.in (target_cflags): Move init.
11456 (sparc64-*-*): Define HAVE_BLKSIZE.
11457
11458Wed Mar 9 10:44:52 1994 Doug Evans (dje@canuck.cygnus.com)
11459
11460 * libc/include/sys/_types.h: New file.
11461 * libc/include/reent.h: #include it.
11462 Add comment describing REENTRANT_SYSCALLS_PROVIDED and
11463 MISSING_SYSCALL_NAMES.
11464 Sort syscalls.
11465 * libc/include/_syslist.h: Remove _raise.
11466 * libc/reent/signalr.c: New file.
11467 * libc/reent/Makefile.in: Compile it.
11468 * libc/signal/signal.c: Only use ifdef SIMULATED_SIGNALS.
11469 Add doc for raise and _raise_r.
11470 * libc/signal/raise.c: Only use ifndef SIMULATED_SIGNALS.
11471 (raise): Call _raise_r.
11472 (_raise_r): Call _getpid_r and _kill_r.
11473 * libc/stdlib/abort.c: Remove inclusion of stdio.h and _syslist.h.
11474 (abort): Loop forever calling raise and _exit.
11475
11476Mon Mar 7 14:40:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
11477
11478 * configure.in: Remove extraneous echo.
11479
11480Thu Mar 3 12:14:22 1994 Doug Evans (dje@canuck.cygnus.com)
11481
11482 * libc/sys/sparc64/sys/dirent.h (MAXNAMLEN): #undef to avoid
11483 collision with unistd.h, and fix for svr4.
11484
11485Wed Mar 2 13:55:25 1994 Doug Evans (dje@canuck.cygnus.com)
11486
11487 * libc/stdio/local.h (_llicvt): Declare.
11488 (CVT_BUF_SIZE): Define (and buffer size from 512 to 128).
11489 * libc/stdio/cvt.c: Include "local.h" to get CVT_BUF_SIZE.
11490 (_llicvt): Define.
11491 (_sicvt): Fix function header (`value' is short).
11492 * libc/stdio/vfprintf.c (_vfprintf_r): Use CVT_BUF_SIZE.
11493 Add printing of long long's support.
11494 Add printing of 8 byte pointer support.
11495
11496Fri Feb 11 21:52:11 1994 Steve Chamberlain (sac@sphagnum.cygnus.com)
11497
11498 * libc/sys/sh/syscalls.c (pipe, execv, wait, fork, utime, chown,
11499 stat, chmod): New hooks.
11500 (sbrk): Abort if stack and heap collide.
11501 * libc/machine/sh/udivsi3, libc/machine/sh/sdivsi3 Modified to
11502 shortcut when given small args.
11503 * libc/machine/sh/setjmp.s: Rewritten.
11504 * libc/machine/sh/strcmp.s (strcmp): New function takes advantage
11505 of cmp/str instruction.
11506
11507Wed Feb 9 15:12:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
11508
11509 * configure.in: Accept powerpc* as a CPU type, using fp_dir ieeefp
11510 and machine_dir powerpc.
11511 * libc/include/machine/setjmp.h, libc/include/machine/ieeefp.h:
11512 Add cases for __powerpc__.
11513 * libc/machine/powerpc/Makefile.in, libc/machine/powerpc/setjmp.S:
11514 New files.
11515
11516 * libc/include/stdio.h (_iprintf_r): Declare correctly.
11517
11518Thu Jan 27 10:36:27 1994 Steve Chamberlain (sac@cygnus.com)
11519
11520 * libc/stdlib/callocr.c: New file with _calloc_r in it.
11521 * libc/stdlib/calloc.c (calloc_r): Now in callocr.c
11522
11523Thu Jan 20 15:14:37 1994 Doug Evans (dje@canuck.cygnus.com)
11524
11525 * libc/stdlib/ecvtbuf.c (print_f): Remove local "done".
11526 (print_e): More comments to describe args, etc.
11527 "type" arg may now be 'g' or 'G' for %g/G format --> remove
11528 trailing blanks.
11529 (_gcvt): Remove locals decpt, sign, end, p, done.
11530 More comments for print_e invocation.
11531 Pass "type" to print_e as is (g/G).
11532
11533Wed Jan 19 16:34:18 1994 Rob Savoye (rob@darkstar.cygnus.com)
11534
11535 * stub/shared/m68k-crt0.S: Changed so it compiles (and runs) on a
11536 stock m68000.
11537
11538Mon Jan 17 15:41:53 1994 Doug Evans (dje@canuck.cygnus.com)
11539
11540 * libc/stdlib/mallocr.c (_morecore_r): Fix aligning of pointer so it
11541 works with any sized pointer, including ones bigger than ints and
11542 longs.
11543
11544Thu Jan 6 14:53:21 1994 Doug Evans (dje@canuck.cygnus.com)
11545
11546 * libc/sys/sparc64/{time2.c,utime.S,utime2.c}: New files.
11547
11548Sat Dec 11 16:17:20 1993 Steve Chamberlain (sac@thepub.cygnus.com)
11549
11550 * libc/include/stdlib.h (_calloc_r): Add prototype.
11551 * libc/machine/h8500/negsi2.c: New file.
11552 * libc/machine/h8500/divsi3.c: Prevent overflow when dividing v
11553 large unsigned numbers.
11554 * libc/machine/h8500/cmpsi.c: Add cmppsi.
11555 * libc/stdlib/mallocr.c (morecore_r): Fix aligning pointers so it
11556 works when sizeof(size_t) != sizeof(char *).
11557 * libc/stdlib/mprec.c (Balloc): Call calloc rather than malloc to
11558 get play area
11559 * libc/stdlib/mprec.h: Define Just_16 if generating for z8000.
11560
11561Mon Dec 6 15:59:53 1993 Doug Evans (dje@rtl.cygnus.com)
11562
11563 * libc/include/assert.h (assert): Handle -traditional.
11564
11565Tue Nov 16 15:49:24 1993 Mark Eichin (eichin@cygnus.com)
11566
11567 * Makefile.in: added ; after every "fi" and "done" that wasn't at
11568 the end of a line (ie. anything before a backslash continuation)
11569 so that bash handles them.
11570
11571Tue Nov 16 12:31:57 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
11572
11573 * libc/sys/go32/lstat.s: new file, copied from stat.s and renamed
11574 stat to lstat
11575
11576Mon Nov 15 15:50:43 1993 Steve Chamberlain (sac@jonny.cygnus.com)
11577
11578 * libc/sys/sh/crt0.s, libc/sys/sh/trap.s,
11579 libc/machine/sh/sdivsi3.s, libc/machine/sh/setjmp.s,
11580 libc/machine/sh/udivsi3.s: Use new calling convention.
11581
11582Mon Nov 15 15:25:38 1993 Mark Eichin (eichin@cygnus.com)
11583
11584 * libc/include/sys/unistd.h, libc/include/sys/stat.h: ANSI-fy
11585 chmod, access, chdir, chown by making _path const. Also fix _amode
11586 param of access.
11587
11588Fri Nov 12 20:25:28 1993 Mark Eichin (eichin@cygnus.com)
11589
11590 * libc/sys/a29khif/_tmpnam.s (_tmpnam): renamed function to
11591 _khif_tmpnam, because it doesn't comply with ANSI but may be
11592 useful anyway. Real tmpnam was already in libc/stdio, and was
11593 colliding with this one (pr 2176.)
11594 * libc/sys/a29khif/stubs.s (tmpnam): removed tmpnam. This file is
11595 the wrong idea anyhow.
11596
11597Mon Nov 8 07:50:16 1993 Doug Evans (dje@canuck.cygnus.com)
11598
11599 * configure.in: Remove h8300h, we have multilib now.
11600
11601Fri Nov 5 12:37:27 1993 Mark Eichin (eichin@cygnus.com)
11602
11603 * libc/string/strcasecmp.c, libc/string/strncasecmp.c: new
11604 functions, to get preference over the ones in libiberty (since we
11605 provide correct declarations in <string.h>.
11606 * libc/string/Makefile.in: add support for strncasecmp,
11607 strcasecmp.
11608
11609Fri Nov 5 09:05:45 1993 D. V. Henkel-Wallace (gumby@blues.cygnus.com)
11610
11611 * Change netware config not to look for cpu explicitly.
11612
11613Thu Nov 4 14:21:25 1993 Doug Evans (dje@canuck.cygnus.com)
11614
11615 * libc/sys/sparc64/{creat.c,junk.c}: New files.
11616 * libc/sys/sparc64/Makefile.in: Add dependencies.
11617
11618Wed Nov 3 10:42:49 1993 Doug Evans (dje@canuck.cygnus.com)
11619
11620 * configure.in: Clean up v9 a bit, new "os" aoutv8.
11621
11622Tue Nov 2 10:00:44 1993 D. V. Henkel-Wallace (gumby@cygnus.com)
11623
11624 * libc/include/sys/reent.h: make structure smaller by allocating
11625 some stuff when needed.
11626 * libc/signal/signal.c: allocate as needed
11627 * libc/stdio/findfp.c,stdio/local.h: ditto
11628 * libc/stdlib/mprec.c: ditto
11629
11630 * libc/time/localtime.c: don't return a dangling stack ptr.
11631
11632Wed Sep 29 20:42:34 1993 Rob Savoye (rob@darkstar.cygnus.com)
11633
11634 * stub/mvme135/crt0.S, stub/mvme135/glue.c: Moved to stub/generic.
11635
11636Wed Sep 29 16:27:49 1993 K. Richard Pixley (rich@sendai.cygnus.com)
11637
11638 * libc/include/stdio.h (__sputc): comment out static inline which
11639 confuses coff toolchains.
11640
11641Thu Sep 2 16:31:36 1993 Mark Eichin (eichin@cygnus.com)
11642
11643 * libc/sys/a29khif/{_close.s, _fstat.s, _lseek.s, _sbrk.s,
11644 _write.s, getpid.c, kill.c, read.s}:
11645 * libc/sys/a29khif/stubs.s: eliminated stubs that already go
11646 through the syscalls directory.
11647
11648Fri Oct 29 13:59:58 1993 Jeffrey Wheat (cassidy@cygnus.com)
11649
11650 * configure.in: fixed double quote gotcha.
11651
11652Wed Oct 27 15:27:09 1993 Rob Savoye (rob@darkstar.cygnus.com)
11653
11654 * stub/ex931: stub library for sparclite board.
11655 * stub/idp: Renamed from mc68ec. Added contructor table
11656 stuff to linker script.
11657 * stub/mvme135: Renamed from m68kmvme. Added contructor table
11658 stuff to linker script.
11659
11660Tue Oct 26 17:01:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
11661
11662 * configure.in: Configure testsuites only if they exist.
11663
11664Tue Oct 26 12:37:11 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
11665
11666 * configure.in: Don't set machine_dir for i386 until there is
11667 something in libc/machine/i386 to compile. For i[34]86-*-netware*
11668 use sys/netware, don't use signal, define NO_EXEC, ABORT_PROVIDED,
11669 CLOCK_PROVIDED and MALLOC_PROVIDED.
11670
11671 * libc/sys/netware: New directory. Contains simplistic and
11672 probably incorrect stubs for NetWare. Should be enough to load
11673 the library.
11674 * libc/sys/netware/crt0.c, libc/sys/netware/environ.c,
11675 libc/sys/netware/getpid.c, libc/sys/netware/link.c: New NetWare
11676 stub files.
11677
11678 * libc/reent/execr.c: Don't use if NO_EXEC is defined.
11679 * libc/reent/sbrkr.c: Don't use if MALLOC_PROVIDED is defined.
11680 * libc/stdlib/abort.c: Don't use if ABORT_PROVIDED is defined.
11681 * libc/time/clock.c: Don't use if CLOCK_PROVIDED is defined.
11682
11683Mon Oct 25 16:48:08 1993 Roland H. Pesch (pesch@cygnus.com)
11684
11685 * testsuite/Makefile.in: add "docs" dummy target for consistency
11686 with rest of newlib; turn "info" and "install-info" into dummy
11687 targets, since they wouldn't have worked. (Depended on
11688 nonexistent "doc" subdir.)
11689
11690Fri Oct 22 20:37:32 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
11691
11692 * configure.in: handle mips* instead of mips
11693
11694Thu Oct 21 08:57:24 1993 Ian Lance Taylor (ian@cygnus.com)
11695
11696 * libc/include/sys/dirent.h: New file. If it is not overridden by
11697 a version of libc/sys/*/sys/dirent.h, it includes the next
11698 <dirent.h> file in case there is one lurking somewhere.
11699
11700Fri Oct 15 14:17:40 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
11701
11702 * libc/stdlib/strtoul.c (_strtoul_r): Several changes for ANSI
11703 compliance, namely: Accept a minus sign. Consider a single 0 with
11704 a radix of 0 as being a conversion. Determine overflow correctly.
11705 If an overflow occurs, set *ptr to the end of the number, not the
11706 middle.
11707 * lib/stdlib/strtol.c (_strtol_r): Determine overflow correctly.
11708
11709Thu Oct 14 21:49:52 1993 Doug Evans (dje@canuck.cygnus.com)
11710
11711 * libc/machine/h8300/divsi3.S (divmodsi4): Fix h8300h case.
11712
11713Fri Oct 1 17:17:34 1993 Doug Evans (dje@canuck.cygnus.com)
11714
11715 * Makefile.in (INSTALL): Use $srcrootpre.
11716 (crt0.o): Replace $< with $(CRT0_DIR)/$(CRT0), Sun make
11717 can't handle it.
11718 * libc/Makefile.in (crt0.o): Spell out $<, Sun make can't handle
11719 it.
11720 * libc/sys/Makefile.in (crt0.o, lib.a): Ditto.
11721 * stub/Makefile.in (crt0.o, TARGETLIB): Ditto.
11722 * libc/sys/sparc64/Makefile.in (isatty.o): Sun VPATH lossage.
11723 * libm/math/Makefile.in (matherr.o): Ditto.
11724
11725Thu Sep 30 11:09:17 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
11726
11727 * configure.in: Build multidirs for z8k.
11728 * libc/include/stdlib.h (_strtoul_r): add prototype.
11729 * libc/include/machine/limits.h: Get INT_MIN right for all the z8k family.
11730 * libc/include/machine/setjmp.h: Add for z8k.
11731 * libc/machine/z8k/{mulsi.o, udivsi3.o, umodsi3.o, modsi3.o} obsolete.
11732 * libc/sys/z8ksim/glue.c: tidy up.
11733
11734Mon Sep 20 14:04:46 1993 Doug Evans (dje@canuck.cygnus.com)
11735
11736 * libc/unix/{execl.c execle.c execlp.c execv.c execvp.c}:
11737 New files. Requires execve system call.
11738 * libc/unix/Makefile.in: Use them.
11739 * libc/sys/sparc64/{execl.c execle.c execlp.c execv.c execvp.c}:
11740 Deleted, moved to libc/unix.
11741 * libc/sys/sparc64/Makefile.in: Remove them.
11742
11743Mon Sep 20 10:38:32 1993 Doug Evans (dje@canuck.cygnus.com)
11744
11745 * libc/sys/sparc64/{template.S template_r.S}: New files.
11746 * libc/sys/sparc64/Makefile.in: Build source for trivial syscalls
11747 from templates.
11748 * libc/sys/sparc64/{chdir.S chmod.S close.S dup.S fcntl.S
11749 fork.S fstat.S lseek.S link.S mkdir.S open.S pipe.S read.S rmdir.S
11750 umask.S unlink.S wait4.S write.S}: Removed, now built from
11751 templates.
11752
11753Sun Sep 19 14:52:57 1993 Doug Evans (dje@canuck.cygnus.com)
11754
11755 * libc/time/time.c: #include <_ansi.h>.
11756
11757Sun Sep 19 13:43:25 1993 Doug Evans (dje@canuck.cygnus.com)
11758
11759 * configure.in (sparc64-*-*): Remove -D__SIZE_TYPE__.
11760
11761Mon Sep 13 13:52:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
11762
11763 * configure.in: match m8* rather than m88k so that m88110 is
11764 recognized as well.
11765
11766Tue Sep 7 12:19:32 1993 Doug Evans (dje@canuck.cygnus.com)
11767
11768 * libc/sys/h8300hms/{Makefile.in, _exit.c, misc.c}:
11769 Renamed exit.c to _exit.c to avoid collision with stdlib/exit.c.
11770 misc.c: New file.
11771
11772 * configure.in: Add multilib support to h8300.
11773
11774Mon Sep 6 14:07:06 1993 Doug Evans (dje@canuck.cygnus.com)
11775
11776 * libc/stdlib/abort.c (abort): Remove _VOLATILE from return type.
11777 * libc/include/_ansi.h (_ATTRIBUTE): New macro for __attribute__.
11778 * libc/include/stdlib.h (exit, abort): Add noreturn attribute.
11779
11780Mon Sep 6 14:24:18 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
11781
11782 * configure.in: Corrected multidirs for sparc target.
11783
11784Mon Aug 30 15:56:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
11785
11786 Support for building newlib multiple times with different
11787 compilation flags.
11788 * configure.in: Only configure doc at top level. Set multidirs
11789 when appropriate for target, unless not at top level. If
11790 multidirs is set, independently configure each subdirectory.
11791 Adjust TOP, MULTIDIRS and MULTISUBDIR appropriately in Makefile.
11792 * Makefile.in (MULTIDIRS, MULTISUBDIR): New variables,
11793 automagically set by configure.in.
11794 (all): If MULTIDIRS is set, build multiple copies of libraries.
11795 (install): If MULTIDIRS is set, install multiple copies of
11796 libraries. Install in $(tooldir)/lib/$(MULTISUBDIR). If
11797 MULTISUBDIR is set, don't bother to install header files.
11798 * host/any (INCLUDES, CHEW): Use $(SRCTOP) rather than $(TOP) from
11799 ${srcrootpre}.
11800 * stub/configure.in: Set MULTISUBDIR appropriately.
11801 * stub/Makefile.in (install): Install in
11802 $(tooldir)/lib/$(MULTISUBDIR).
11803 * All Makefile.in files: Define SRCTOP as well as TOP.
11804
11805Mon Aug 30 10:34:24 1993 Doug Evans (dje@canuck.cygnus.com)
11806
11807 * libc/machine/h8300/{mulhi3.S, divhi3.S}: Comment out if h8300h.
11808 * libc/machine/h8300/{mulsi3.S, divsi3.S}: Add h8300h support.
11809
11810Thu Aug 26 19:38:12 1993 Doug Evans (dje@canuck.cygnus.com)
11811
11812 * libc/sys/h8300hms/exit.c (_exit): New function.
11813
11814Wed Aug 25 16:31:48 1993 K. Richard Pixley (rich@sendai.cygnus.com)
11815
11816 * configure.in: recognize m88110.
11817
11818Fri Aug 20 16:46:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
11819
11820 * libc/sys/m88kbug/crt0.c: pretty up, remove extraneous comments,
11821 prototype main and call with args.
11822
11823Fri Jul 30 16:52:47 1993 K. Richard Pixley (rich@cygnus.com)
11824
11825 First real try at system traps for m88k-bug.
11826 * libc/sys/m88kbug/syscalls.c: many changes. Convert from stubs
11827 to real trap calls.
11828 * libc/sys/m88kbug/sys/systraps.h: new file.
11829
11830Tue Jul 27 16:31:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
11831
11832 Patches to fix info building when target does not use sys
11833 directory.
11834 * libc/Makefile.in (targetdep.tex): add sys.tex separately.
11835 * libc/sys.tex, libc/sys/sys.tex: moved from libc/sys/sys.tex to
11836 libc/sys.tex.
11837 * libc/sys/Makefile.in (doc): do nothing.
11838
11839Mon Jul 26 17:08:11 1993 K. Richard Pixley (rich@sendai.cygnus.com)
11840
11841 * libc/Makefile.in (CRT0): new macro.
11842 (all): depend on $(CRT0) rather than crt0.o.
11843
11844 * configure.in: fix libc_sys_dir -> libc_sys_lib thinko.
11845 do not default crt0, instead, set crt0 and crt0_dir based on
11846 sys_dir and stub_dir.
11847
11848 * Makefile.in (CRT0_DIR): new macro.
11849 (all): depend on $(CRT0) rather than crt0.o which may not exist.
11850 (crt0.o): depend on $(CRT0_DIR)/$(CRT0) rather than simply
11851 $(CRT0).
11852 ($(CRT0)): recur by cd'ing into $(CRT0_DIR).
11853
11854Sun Jul 25 17:51:51 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
11855
11856 * testsuite/lib/libm.exp:
11857 added code to support compiling and linking of tests for
11858 libm.sac (paranoia to be added next) and processing the
11859 pass or failure of the tests.
11860
11861 * testsuite/config/unix-libm.exp:
11862 platform specific proc's for dealing with compiler, linker
11863 and the way we execute and process the test results.
11864
11865 * testsuite/libm.sac/execute.exp:
11866 generic framework for the sac tests. the config and lib
11867 expect code for specific platforms tie it all together.
11868
11869 * testsuite/libm.sac/test_is.c:
11870 changed the output of the test to be consistant with the
11871 other tests. parsing of pass nad fail messages is now fixed.
11872
11873Fri Jul 23 19:20:07 1993 Per Bothner (bothner@kalessin)
11874
11875 * libc/include/{assert.h, ctype.h, dirent.h, errno.h, fastmath.h,
11876 locale.h, math.h, pwd.h, reent.h, setjmp.h, signal.h, stdio.h,
11877 stdlib.h, string.h, termios.h, time.h, utime.h, utmp.h}: For C++:
11878 #ifdef __cplusplus, surround by extern ""C { ... }.
11879 * libc/include/assert.h: Do *not* protect assert.h against
11880 multiple inclusion! Also, #undef it before #define, to allow
11881 redefinition.
11882 * libc/include/stdio.h (getlogin, cuserid): Removed. These
11883 should be only in unistd.h.
11884
11885 * libc/include/sys/{fcntl.h, reent.h, stat.h, time.h, times.h,
11886 unistd.h}: For C++: #ifdef __cplusplus, surround by extern ""C {
11887 ... }.
11888
11889Fri Jul 23 10:15:33 1993 Doug Evans (dje@canuck.cygnus.com)
11890
11891 * libc/machine/sparc/Makefile.in: Must create a library, even
11892 if empty.
11893
11894Wed Jul 21 16:00:37 1993 K. Richard Pixley (rich@sendai.cygnus.com)
11895
11896 * configure.in: set machine_dir for m88k. edit crt0 definition
11897 into makefiles.
11898
11899 * Makefile.in, libc/Makefile.in (crt0): pull up from lower directories.
11900
11901 * libc/Makefile.in (all): also build crt0.o.
11902
11903 * libc/machine/i386/Makefile.in, libc/machine/sparc/Makefile.in,
11904 libc/machine/z8k/Makefile.in, libm/Makefile.in (clean): no need
11905 to remove CRT0.
11906
11907 * libc/machine/m88k/Makefile.in (TOP, TARGETLIB): removed.
11908 (all): reworked to build in place.
11909 (clean): remove lib.a
11910 (Makefile): remove redundant ./, call $(SHELL) rather than sh.
11911
11912 * libc/sys/m88kbug/crt0.c (start): renamed to _start.
11913 (_start): key off edata rather than _start_bss.
11914
11915Wed Jul 21 14:29:47 1993 david d `zoo' zuhn (zoo@cygnus.com)
11916
11917 * libc/include/sys/unistd.h, libc/include/reent.h,
11918 libc/reent/sbrkr.c: change sbrk to return void* instead of char*.
11919
11920Tue Jul 20 13:19:18 1993 K. Richard Pixley (rich@sendai.cygnus.com)
11921
11922 * libm/Makefile.in, libc/Makefile.in ($(SUBDIRS)): dollar escape a dollar sign.
11923
11924 * Makefile.in (libc.a): break into two rules, one for libc.a and
11925 one for libc/libc.a. Force subdirs current before rebuilding
11926 library.
11927 (libm.a): break into two rules, one for libm.a and one for
11928 libm/libm.a. Force subdirs current before rebuilding library.
11929
11930 * libc/Makefile.in (SUBLIBS): fix typo.
11931
11932 * libc/sys/Makefile.in (all): force descent into subdirs, then
11933 rebuild library iff out of of date.
11934
11935Fri Jul 16 17:47:57 1993 K. Richard Pixley (rich@sendai.cygnus.com)
11936
11937 Rework so that library is built and then finished rather than
11938 being built on each invocation of make.
11939
11940 * host/any (machine_dir, sys_dir, signal_dir): these are not
11941 shared and have been moved to their associated Makefile.in's.
11942 (AR_FLAGS): switch to qc which is faster.
11943 * configure.in: no longer assign machine_dir for m88k. set
11944 stub_dir, stub_lib, & crt0 for m68k*-unknown-{aout,coff}. If
11945 stub_dir set, then add to configdirs. add comment about silly
11946 configuration.
11947 (configdirs): drop stub. It will be added only
11948 when needed.
11949 (libm_fp_lib, libc_unix_lib, libc_signal_lib, libc_machine_lib,
11950 libc_sys_dir, fake_sys_dir, libc_fake_sys_lib, stub_dir,
11951 stub_lib, crt0): new variables for tailoring lower level
11952 makefiles. Assign accordingly and edit into makefiles.
11953 * libm/Makefile.in: updated copyright.
11954 (TARGETLIB): removed.
11955 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir.
11956 (SUBDIRS): removed TARGETDEP_DIRS.
11957 (LIBM_FP_LIB, SUBLIBS): new macros.
11958 (all): reworked.
11959 (force): new target to force rebuilds.
11960 (Makefile): call $(SHELL) rather than sh. drop redundant ./
11961 * libc/sys/a29khif/Makefile.in, libc/sys/decstation/Makefile.in,
11962 libc/sys/go32/Makefile.in, libc/sys/h8300hms/Makefile.in,
11963 libc/sys/h8500hms/Makefile.in, libc/sys/m88kbug/Makefile.in,
11964 libc/sys/sh/Makefile.in, libc/sys/sparc64/Makefile.in,
11965 libc/sys/sun4/Makefile.in, libc/sys/sysvi386/Makefile.in,
11966 libc/sys/sysvnecv70/Makefile.in, libc/sys/z8ksim/Makefile.in,
11967 stub/m68kmvme/Makefile.in: updated copyright.
11968 (TARGETLIB, TARGETCRT0, CRT0): macros removed.
11969 (all): reworked. made this the default rule.
11970 (clean): also remove lib.a.
11971 (Makefile): call $(SHELL) rather than sh. drop redundant ./
11972 * stub/Makefile.in: updated copyright.
11973 (TARGETLIB, TARGETCRT0, CRT0, TOP): removed.
11974 (stub_lib): new macro.
11975 (FLAGS_TO_PASS): removed TARGETLIB, stub_dir, TARGETCRT0. Added
11976 RANLIB.
11977 (all): reworked.
11978 (clean, install): assume stub_dir exists.
11979 (Makefile): depend on configure.in. call $(SHELL) rather than
11980 sh. drop redundant ./
11981 * stub/configure.in (stublib): new macro, assign it, edit it into
11982 makefiles.
11983 * Makefile, libc/Makefile.in, doc/Makefile.in, libc/sys/Makefile.in:
11984 updated copyright.
11985 (all): reworked.
11986 (Makefile): call $(SHELL) rather than sh. drop redundant ./
11987 * libc/Makefile.in (TARGETCRT0): removed.
11988 (FLAGS_TO_PASS): dropped TARGETLIB, machine_dir, sys_dir,
11989 TARGETCRT0.
11990 (SUBDIRS): drop TARGETDEP_DIRS.
11991 (LIBC_SIGNAL_LIB, LIBC_SYS_LIB, LIBC_MACHINE_LIB, LIBC_UNIX_LIB,
11992 LIBC_FAKE_SYS_LIB, SUBLIBS): new macros for configuration.
11993 (force): new target to force rebuilds.
11994 * libc/sys/Makefile.in (TARGETCRT0, sys_dir): removed.
11995 (FLAGS_TO_PASS): TARGETLIB, machine_dir, sys_dir, TARGETCRT0
11996 removed.
11997 (clean): assume sys_dir always exists.
11998 * libm/test/Makefile.in (Makefile): call $(SHELL) rather than sh.
11999 drop redundant ./
12000 * libc/ctype/Makefile.in, libc/errno/Makefile.in,
12001 libc/locale/Makefile.in, libc/machine/Makefile.in,
12002 libc/machine/a29k/Makefile.in, libc/machine/h8300/Makefile.in,
12003 libc/machine/h8500/Makefile.in, libc/machine/i386/Makefile.in,
12004 libc/machine/i960/Makefile.in, libc/machine/m68k/Makefile.in,
12005 libc/machine/mips/Makefile.in, libc/machine/necv70/Makefile.in,
12006 libc/machine/sh/Makefile.in, libc/machine/sparc/Makefile.in,
12007 libc/machine/z8k/Makefile.in, libc/reent/Makefile.in,
12008 libc/signal/Makefile.in, libc/stdio/Makefile.in,
12009 libc/stdlib/Makefile.in, libc/string/Makefile.in,
12010 libc/sys/Makefile.in, libc/syscalls/Makefile.in,
12011 libc/time/Makefile.in, libc/unix/Makefile.in,
12012 libm/ieeefp/Makefile.in, libm/math/Makefile.in: updated copyright.
12013 (TARGETLIB): removed.
12014 (all): reworked.
12015 (clean): also remove lib.a.
12016 (Makefile): call $(SHELL) rather than sh. drop redundant ./
12017 * Makefile.in: (machine_dir, sys_dir, stub_dir, stub_lib, CRT0):
12018 new macros.
12019 (SUBDIRS): moved to follow frag inclusion, change stub to
12020 stub_dir.
12021 (FLAGS_TO_PASS): removed machine_dir, sys_dir, signal_dir which
12022 are now set in the libc Makefile.
12023 * libc/machine/Makefile.in (TARGETCRT0, machine_dir): removed.
12024 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir,
12025 TARGETCRT0.
12026 (force): new target to force rebuilds.
12027 * stub/configure.in: determine and set stub_lib for for Makefile.
12028
12029Thu Jul 15 12:01:27 1993 Doug Evans (dje@canuck.cygnus.com)
12030
12031 * libc/sys/h8300hms/Makefile.in: Make `all' the default target.
12032 crt0.s renamed to crt0.S.
12033 * libc/sys/h8300hms/crt0.S: Add h8/300h support.
12034
12035 * libc/machine/h8300/Makefile.in: Make `all' the default target.
12036 * libc/machine/h8300/{cmpsi.S,ucmpsi.S}: #ifdef out entire file if
12037 h8300h.
12038 * libc/machine/h8300/defines.h: Add macros to handle pointers for
12039 h8300 (16 bits) and h8300h (32 bits).
12040 * libc/machine/h8300/{divsi3.S,mulsi3.S,memcpy.S,memset.S,
12041 reg_memcpy.S,reg_memset.S,strcmp.S}: Add h8300h support.
12042
12043Thu Jul 15 10:13:29 1993 Ian Lance Taylor (ian@cygnus.com)
12044
12045 * libc/machine/m88k/setjmp.S, Makefile.in: New files; a simple
12046 implementation of setjmp and longjmp for the m88k.
12047 * libc/include/machine/setjmp.h: Added __m88000__ case.
12048
12049Wed Jul 14 10:10:30 1993 Doug Evans (dje@canuck.cygnus.com)
12050
12051 * configure.in: Recognize h8300h as variant of h8300.
12052
12053Tue Jul 13 12:24:11 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
12054
12055 * libc/include/sys/unistd.h (read, write): get prototypes right.
12056 (sbrk): New prototype.
12057 * libc/reent/sbrkr.c (sbrkr): Use correct sbrk prototype.
12058 * libc/stdio/local.h: Include unistd.h.
12059 * libc/machine/h8300/syscalls.c: Names have changed.
12060
12061Mon Jul 12 18:08:42 1993 K. Richard Pixley (rich@cygnus.com)
12062
12063 * configure.in: add sys_dir assignment for m88k-bug.
12064
12065Thu Jul 8 09:16:21 1993 Doug Evans (dje@canuck.cygnus.com)
12066
12067 * libc/sys/sparc64/sys/syscallasm.h: New macros to handle either
12068 a.out or elf.
12069 * libc/sys/sparc64: all *.S files: Use new macros.
12070 * libc/sys/sparc64/isatty.c: New file.
12071 * libc/sys/sparc64/Makefile.in: Stop using /lib/libc.a for
12072 functions beyond what newlib provides.
12073
12074Thu Jul 8 09:11:28 1993 Doug Evans (dje@canuck.cygnus.com)
12075
12076 * libc/include/sys/stat.h: Move st_atime so not doubly defined for
12077 svr4.
12078
12079Thu Jul 8 09:09:16 1993 Doug Evans (dje@canuck.cygnus.com)
12080
12081 * libc/include/machine/ieeefp.h: Add support for h8/300h.
12082
12083Fri Jul 2 10:11:20 1993 K. Richard Pixley (rich@cygnus.com)
12084
12085 * configure.in: add m88k.
12086 * libc/include/machine/ieeefp.h: add case for m88k. Also add
12087 sanity check so no one else need ever chase what I did to find
12088 this.
12089
12090 * libm/math/Makefile.in (FAKEC): added atanf.c log1pf.c scalbnf.c.
12091
12092Fri Jul 2 09:15:21 1993 Ian Lance Taylor (ian@cygnus.com)
12093
12094 * doc/makedoc.c: Include <ctype.h>.
12095
12096Wed Jun 30 09:35:06 1993 Doug Evans (dje@canuck.cygnus.com)
12097
12098 * libc/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
12099 * libc/sys/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
12100 * libc/machine/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
12101
12102 * libm/test/Makefile.in (all): Link with ../../lib[cm].a.
12103
12104Sun Jun 27 17:05:20 1993 Doug Evans (dje@sphagnum.cygnus.com)
12105
12106 * libc/include/errno.h (ENOSYS): Added.
12107
12108 * libc/unix/getpwd.c (getcwd): Fix typo (_up -> up).
12109
12110Mon Jun 21 09:03:32 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
12111
12112 * libc/stdio/fflush.c (fflush): Check for reent struct
12113 initialization.
12114 * libc/stdio/fdopen.c (fdopen): Avoid namespace conflict.
12115
12116Fri Jun 18 16:06:05 1993 Mark Eichin (eichin@rtl.cygnus.com)
12117
12118 * libc/stdlib/dtoastub.c: new file -- move user callable "dtoa"
12119 out of dtoa.c so it doesn't pollute the namespace.
12120 * libc/include/_syslist.h: new file -- mappings from _function to
12121 function, for systems where we can't win (by default, all of them,
12122 until we start updating system calls.)
12123 * libc/syscalls: new directory -- stubs for exporting _function
12124 names as unmodified function names.
12125 * libc/configure.in: add MISSING_SYSCALL_NAMES to enable
12126 _syslist.h on all platforms by default, but put hooks in for
12127 fake_sys_dir so we can include it when we've renamed the system
12128 calls.
12129 * libc/reent/execr.c libc/reent/filer.c libc/reent/fstatr.c
12130 libc/reent/linkr.c libc/reent/sbrkr.c libc/reent/statr.c
12131 libc/signal/raise.c libc/signal/signal.c libc/stdio/fdopen.c
12132 libc/stdio/mktemp.c libc/stdio/tmpnam.c libc/stdlib/abort.c
12133 libc/stdlib/system.c libc/unix/getcwd.c libc/unix/getlogin.c
12134 libc/unix/getpass.c libc/unix/getut.c libc/unix/ttyname.c: change
12135 non ANSI functions to call _function.
12136
12137Wed Jun 9 09:48:26 1993 Ian Lance Taylor (ian@cygnus.com)
12138
12139 * libc/stdlib/strtoul.c (_strtoul_r): Handle leading 0 correctly
12140 when base 16 is specified. Don't accept non-digits if radix > 10.
12141
12142Thu Jun 3 10:01:15 1993 Doug Evans (dje@canuck.cygnus.com)
12143
12144 * libc/include/math.h: Rename xxx_r fns to _xxx_r.
12145
12146Wed Jun 2 16:54:16 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
12147
12148 * libc/include/sys/stat.h: Surround text after #endif with
12149 comments.
12150
12151Wed Jun 2 12:47:32 1993 Ian Lance Taylor (ian@cygnus.com)
12152
12153 * libc/stdlib/mallocr.c: If MALLOC_PROVIDED is defined, just make
12154 _malloc_r, _realloc_r, and free_r call the corresponding
12155 non-reentrant functions.
12156
12157 * libm/math/modf.c (modf): We now take the address of ipart, so
12158 don't make it a register variable.
12159
12160Tue Jun 1 18:25:54 1993 Doug Evans (dje@canuck.cygnus.com)
12161
12162 * libm/math/*: Rename all xxx_r fns to _xxx_r.
12163
12164Wed May 26 22:06:35 1993 Roland H. Pesch (pesch@cygnus.com)
12165
12166 * libc/libc.texinfo and embedded docn throughout: formatting
12167 improvements, minor rephrasing for clarity, and improved
12168 reentrancy docn.
12169
12170Sun May 23 17:29:49 1993 Steve Chamberlain (sac@thepub.cygnus.com)
12171
12172 * libm/ieeefp/infinity.c (maxpowtwof): Fix initialzation bug.
12173
12174 * libc/stdio/cvt.c (_licvt): Print the right value on machines
12175 where sizeof(int) != sizeof(long).
12176
12177Fri May 21 22:09:32 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
12178
12179 * libc/reent/execr.c, libc/reent/filer.c, libc/reent/linkr.c,
12180 libc/reent/sbrkr.c, libc/reent/statr.c, libc/stdio/tmpnam.c,
12181 libc/stdlib/atol.c, libc/stdlib/rand.c, libc/string/strpbrk.c,
12182 libc/string/strspn.c, libm/ieeefp/isnan.c, libm/math/bessel.c,
12183 libm/math/matherr.c: changes for better docn formatting (info).
12184
12185 * libc/libc.texinfo, libc/ctype/ctype.tex, libc/locale/locale/tex,
12186 libc/reent/reent.tex, libc/signal/signal.tex,
12187 libc/stdio/stdio.tex, libc/stdlib/stdlib.tex,
12188 libc/string/strings.tex, libc/sys/sys.tex, libc/time/time.tex,
12189 libm/libm.texinfo, libm/ieeefp/ieeefp.tex, libm/math/math.tex: use
12190 makeinfo node defaulting to get better Info file node structure.
12191 (Requires recent sac change to doc/makedoc.c and doc/doc.str.)
12192 Also include a few formerly missing sections (subroutines).
12193
12194 * doc/doc.str: delete fossil expansion for "func"
12195
12196 * default.menu, no-signal.menu: delete.
12197
12198 * Makefile.in, libc/Makefile.in, configure.in, host/any: simplify
12199 method used to adjust doc for missing "signals" chapter when
12200 signal_dir is empty.
12201
12202Thu May 20 21:38:37 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
12203
12204 * configure.in: added testsuite/libm.sac
12205
12206Wed May 19 14:52:34 1993 Doug Evans (dje@thepub.cygnus.com)
12207
12208 * libc/sys/sparc64/crt0.S: Set %g4 to 0 (to test Medium/Anywhere
12209 code model).
12210
12211Tue May 18 13:17:21 1993 Ian Lance Taylor (ian@cygnus.com)
12212
12213 * libm/Makefile.in: Use $(MAKE) rather than make, and define
12214 MAKEOVERRIDES to be empty.
12215
12216Mon May 17 08:42:44 1993 Ian Lance Taylor (ian@cygnus.com)
12217
12218 * configure.in: Don't build mips-*-* with -msoft-float, since that
12219 makes it incompatible with hard floating point.
12220
12221Mon May 17 00:03:35 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
12222
12223 * Makefile.in: added recursive 'make check'
12224
12225Thu May 13 16:24:18 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
12226
12227 * configure.in: added ./testsuite ./testsuite/libm.paranoia
12228 * ./testsuite/Makefile.in: created
12229 * ./testsuite/libm.paranoia: paranoia tests added
12230
12231Thu May 13 10:30:24 1993 Ian Lance Taylor (ian@cygnus.com)
12232
12233 * configure.in: For mips-*-* set machine_dir to mips.
12234
12235 * libc/machine/mips: New directory.
12236 * libc/machine/mips/Makefile.in: New file.
12237 * libc/machine/mips/setjmp.S: New file; simplistic MIPS version of
12238 setjmp and longjmp.
12239 * libc/include/machine/setjmp.h: Added __mips__ case.
12240
12241 * libc/machine/lmips: Removed unused and useless directory.
12242
12243Mon May 3 10:22:31 1993 Ian Lance Taylor (ian@cygnus.com)
12244
12245 * configure.in: Accept i486-*-sco* as well as i386-*-sco*.
12246
12247Thu Apr 15 15:16:44 1993 Doug Evans (dje@canuck.cygnus.com)
12248
12249 * libc/sys/sparc64/crt0.S: Add comment (%g1 contains atexit arg at
12250 start up).
12251
12252Fri Apr 9 13:32:26 1993 Ian Lance Taylor (ian@cygnus.com)
12253
12254 * libc/include/machine/setjmp-dj.h: Use _SETJMP_DJ_H rather than
12255 SETJMP_H.
12256
12257Thu Apr 8 10:07:18 1993 Doug Evans (dje@canuck.cygnus.com)
12258
12259 * libm/test/convert.c: structure member errno -> errno_val.
12260 Must include <errno.h> to use errno, it's a macro now.
12261 * libm/test/math.c: Ditto.
12262 * libm/test/math2.c: Include errno.h.
12263 * libm/test/string.c: Ditto.
12264 * libm/test/test.h: structure member errno -> errno_val.
12265 Remove extern int errno decl.
12266
12267Thu Apr 8 07:56:33 1993 Ian Lance Taylor (ian@cygnus.com)
12268
12269 * libc/stdio/Makefile.in: Added dependencies on local header
12270 files.
12271 * libc/stdio/std.h, libc/stdio/vfprintf.h: Removed unused header
12272 files.
12273
12274Wed Apr 7 16:19:32 1993 Ian Lance Taylor (ian@cygnus.com)
12275
12276 * libc/include/machine/ieeefp.h: Added __MIPSEB__ case.
12277
12278Wed Apr 7 10:55:21 1993 Doug Evans (dje@canuck.cygnus.com)
12279
12280 * libc/stdio/siprintf.c libc/stdio/sscanf.c libc/stdio/vsprintf.c:
12281 Initialize _data.
12282
12283 * libc/stdio/vfprintf.c: No need to declare _icvt, _licvt, _sicvt.
12284 * libc/stdio/local.h: Add prototype for _licvt.
12285
12286 * libc/stdio/ungetc.c (__submore): Use _malloc_r,_realloc_r
12287 instead of malloc,reealloc.
12288
12289 * libc/stdlib/local.h: New file.
12290 * libc/stdlib/efgcvt.c: #include local.h.
12291 (gcvt): Fix call to _gcvt.
12292 * libc/stdlib/ecvtbuf.c: #include local.h.
12293
12294 * libc/stdlib/Makefile.in: new files mallocr.c mstats.c.
12295 * libc/stdlib/mallocr.c mstats.c malloc.h: New files.
12296 * libc/stdlib/malloc.c: main routines moved to mallocr.c.
12297
12298 * libc/stdlib/atexit.c: moved global data to struct _reent.
12299 * libc/stdlib/exit.c: use struct _atexit in struct _reent.
12300
12301 * libc/reent/reent.c (inpure_data): _REENT_INIT macro modified.
12302
12303Wed Apr 7 09:41:50 1993 Doug Evans (dje@canuck.cygnus.com)
12304
12305 * libc/include/sys/reent.h: Stuff required by ANSI headers moved
12306 here from ../reent.h.
12307
12308Tue Apr 6 12:56:01 1993 Ian Lance Taylor (ian@cygnus.com)
12309
12310 * Makefile.in (MATHOBJS_IN_LIBC): List of object files which
12311 should be provided in both libc.a and libm.a.
12312 (libc.a): Depend on targ-include and libm.a. Copy
12313 $(MATHOBJS_IN_LIBC) from libm.a to libc.a.
12314 (libm.a): Depend on targ-include.
12315 * configure.in (subdirs): Removed libc/math.
12316
12317Mon Apr 5 10:18:16 1993 Steve Chamberlain (sac@thepub.cygnus.com)
12318
12319 * libm/ieeefp/infinity.c (maxpowtwo): Fix initialization bug.
12320
12321Sat Apr 3 11:06:07 1993 Doug Evans (dje@canuck.cygnus.com)
12322
12323 * libc/include/{errno.h, math.h, stdio.h, stdlib.h}: Use
12324 sys/reent.h instead of reent.h.
12325 * libc/include/reent.h: Split into two parts: stuff needed by ANSI
12326 headers moved to sys/reent.h.
12327 * libc/include/signal.h: _MAX_SIGNALS moved to sys/signal.h.
12328 * libc/include/sys/signal.h: Define _MAX_SIGNALS if
12329 __need__MAX_SIGNALS defined.
12330 * libc/include/stdio.h: struct __sFILE moved to sys/reent.h.
12331 std{in,out,err} refer to new _std{in,out,err} members.
12332
12333Fri Apr 2 11:27:12 1993 Doug Evans (dje@canuck.cygnus.com)
12334
12335 * libc/include/sys/signal.h: #define _SYS_SIGNAL_H for general
12336 case.
12337
12338Fri Apr 2 09:41:10 1993 Doug Evans (dje@canuck.cygnus.com)
12339
12340 * libc/sys/sparc64/execve.S (execve): Insert nop in delay slot,
12341 rather than whatever macro seterrno() has.
12342
12343Thu Apr 1 16:47:08 1993 Doug Evans (dje@canuck.cygnus.com)
12344
12345 * libc/locale/locale.c: Reentrant routines _r_xxx renamed to
12346 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
12347
12348 * libc/include/machine/fastmath.h: Use _HAVE_STDC instead of
12349 __STDC__.
12350
12351 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, reent.c,
12352 reent.tex, sbrkr.c, statr.c}: _r_xxx reentrant routines renamed to
12353 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
12354
12355 * libc/signal/signal.c: Reentrant routines _r_xxx renamed to
12356 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
12357
12358 * libc/stdio/{fclose.c, fdopen.c, findfp.c, fiprintf.c, flags.c,
12359 fopen.c, fprintf.c, freopen.c, fscanf.c, fseek.c, ftell.c,
12360 fwalk.c, getchar.c, gets.c, iprintf.c, local.h, makebuf.c,
12361 mktemp.c, perror.c, printf.c, putchar.c, puts.c, refill.c,
12362 remove.c, rename.c, scanf.c, setvbuf.c, siprintf.c, sprintf.c,
12363 sscanf.c, stdio.c, tmpfile.c, tmpnam.c, vfprintf.c, vfprintf.h,
12364 vfscanf.c, vprintf.c, vsprintf.c}: Reentrant routines _r_xxx
12365 renamed to _xxx_r. struct reent_struct renamed to struct _reent
12366 for ANSI. structure members given leading "_" for ANSI. Use
12367 _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
12368
12369 * libc/stdlib/{__adjust.c, calloc.c, dtoa.c, ecvtbuf.c, malloc.c,
12370 mprec.c, mprec.h, rand.c, std.h, strtod.c, strtol.c, strtoul.c,
12371 system.c}: Reentrant routines _r_xxx renamed to _xxx_r. struct
12372 reent_struct renamed to struct _reent for ANSI.
12373 Structure members given leading "_" for ANSI.
12374 _CONST --> const in prototypes.
12375 Use _HAVE_STDC instead of __STDC__.
12376
12377 * libc/string/strtok.c: Reentrant routines _r_xxx renamed to
12378 _xxx_r.
12379 struct reent_struct renamed to struct _reent for ANSI.
12380 Structure members given leading "_" for ANSI.
12381
12382 * libc/time/asctime.c: Reentrant routines _r_xxx renamed to
12383 _xxx_r.
12384 struct reent_struct renamed to struct _reent for ANSI.
12385
12386 * libm/math/{acos.h, acosh.h, asin.c, asinh.h, atanh.h, bessel.h,
12387 cbrt.h, cosh.h, erf.c, erf.h, error.c, exp.c, fmod.c, frexp.h,
12388 gamma.h, hypot.h, ldexp.c, log.h, log10.c, log1p.c log2.c,
12389 mathimpl.h, pow.c, remainder.c, sincos.c, sinh.h, sqrt.h, tan.c,
12390 tanh.h}: struct reent_struct renamed to struct _reent for ANSI.
12391
12392 * libc/include/{_ansi.h, ctype.h, math.h, reent.h, locale.h,
12393 signal.h, stdio.h, stdlib.h, string.h, time.h}:
12394 Use _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
12395 #ifndef _STRICT_ANSI non-ANSI routines.
12396 Reentrant routines renamed from _r_xxx to _xxx_r.
12397 No need to use _STRICT_ANSI on _xxx_r reentrant routines.
12398 Use _STRICT_ANSI instead of __STRICT_ANSI, _ANSI_SOURCE, etc.
12399 Clean up namespace (structure members have leading "_").
12400 struct reent_struct renamed to struct _reent for ANSI compliance.
12401 _CONST --> const in function prototypes.
12402
12403 * libc/include/string.h: Add NULL and size_t.
12404
12405 * libc/sys/sparc64/Makefile.in: New syscall routines for link,
12406 unlink, wait, wait4. Reentrant syscall routines close, fork,
12407 fstat, link, lseek, open, read, sbrk, stat, unlink, wait, wait4,
12408 write.
12409 * libc/sys/sparc64/cerror.S (cerror_r): New routine.
12410 * libc/sys/sparc64/{close.S, fork.S, fstat.S, link.S, lseek.S,
12411 open.S, read.S, sbrk.S, stat.S, unlink.S, wait.S, wait4.S,
12412 write.S}: Define reentrant versions.
12413 * libc/sys/sparc64/sys/syscallasm.h (defsyscall_r): New macro for
12414 reentrant syscalls.
12415
12416 * libc/sys/sparc64/crt0.S (start): Fix initialization of environ.
12417
12418 * libc/include/stdlib.h (RAND_MAX): Fix value.
12419
12420Thu Apr 1 12:28:30 1993 Ian Lance Taylor (ian@cygnus.com)
12421
12422 * libc/sys/a29khif/_main.c: Removed unnecessary file.
12423 * libc/sys/a29khif/Makefile.in (OFILES): Removed _main.c, moved
12424 VPATH support targets after all: target.
12425
12426 * stub/mvme135/mvme.S: Renamed exceptionhandler to
12427 exceptionHandler, which is what mvme135-stub.c expects.
12428
12429Wed Mar 31 17:42:03 1993 Doug Evans (dje@cygnus.com)
12430
12431 * libc/stdio/tmpnam.c (worker): Fix test for _r_open() failure.
12432
12433 * libc/unix/getpass.c (getpass): Use stdin,stderr instead of
12434 def_stdin/def_stderr (latter removed from stdio.h to make it ANSI
12435 compliant).
12436
12437Tue Mar 30 09:58:21 1993 Doug Evans (dje@canuck.cygnus.com)
12438
12439 * libc/reent/execr.c (_r_wait): Re-order args to make reent_struct
12440 first.
12441 libc/reent/filer.c (_r_open, _r_close, _r_lseek, _r_read,
12442 _r_write): Ditto.
12443 libc/reent/fstatr.c (_r_fstat): Ditto.
12444 libc/reent/linkr.c (_r_link, _r_unlink): Ditto.
12445 libc/reent/sbrkr.c (_r_sbrk): Ditto.
12446 libc/reent/statr.c (_r_stat): Ditto.
12447
12448 * libc/stdio/fopen.c (_r_fopen): Re-order args to _r_open.
12449 * libc/stdio/freopen.c (freopen): Ditto for _r_open, _r_free.
12450 * libc/stdio/fseek.c (fseek): Ditto for _r_fseek.
12451 * libc/stdio/makebuf.c (__smakebuf): Ditto for _r_fstat.
12452 * libc/stdio/mktemp.c (_gettemp): Ditto for _r_stat, _r_open.
12453 * libc/stdio/remove.c (_r_remove): Ditto for _r_unlink.
12454 * libc/stdio/rename.c (_r_rename): Ditto for _r_link, _r_unlink.
12455 * libc/stdio/stdio.c (__sread): Ditto for _r_read.
12456 (__swrite): Ditto for _r_lseek, _r_write.
12457 (__sseek): Ditto for _r_lseek.
12458 (__close): Ditto for _r_close.
12459 * libc/stdio/tmpnam.c (worker): Ditto for _r_open, _r_close.
12460
12461 * libc/stdlib/malloc.c (_r_morecore): Re-order args to _r_sbrk.
12462 * libc/stdlib/system.c (_r_system): Ditto for _r_wait.
12463
12464 * libc/include/reent.h: Re-order arguments to _r_xxx syscall fns
12465 to make reent_struct the first argument (and thus consistent with
12466 the rest of newlib).
12467
12468 * stub/mvme135/mvme135-stub.c (initializeRemcomErrorFrame): Remove
12469 reference to __STDC__.
12470
12471Mon Mar 29 12:34:32 1993 Doug Evans (dje@canuck.cygnus.com)
12472
12473 * libc/stdlib/exit.c (exit): Use _REENT->__cleanup instead of
12474 global __cleanup.
12475
12476Wed Mar 24 11:54:35 1993 Doug Evans (dje@canuck.cygnus.com)
12477
12478 * libc/stdio/freopen.c (freopen): Ensure stdio is initialized
12479 first.
12480 libc/stdio/fclose.c (fclose): Ditto.
12481
12482Tue Mar 23 01:26:52 1993 Doug Evans (dje@rtl.cygnus.com)
12483
12484 * Run through indent and rename reentrant routines for ANSI.
12485 libc/stdio/{clearerr.c cvt.c fclose.c fdopen.c feof.c ferror.c
12486 fflush.c fgetc.c fgetpos.c fgets.c findfp.c fiprintf.c flags.c
12487 fopen.c fprintf.c fputc.c fputs.c fread.c freopen.c fscanf.c
12488 fseek.c fsetpos.c ftell.c fvwrite.c fwalk.c fwrite.c getc.c
12489 getchar.c gets.c iprintf.c makebuf.c mktemp.c perror.c printf.c
12490 putc.c putchar.c puts.c refill.c remove.c rename.c rewind.c rget.c
12491 scanf.c setbuf.c setvbuf.c siprintf.c sprintf.c sscanf.c stdio.c
12492 tmpfile.c tmpnam.c ungetc.c vfprintf.c vfscanf.c vprintf.c
12493 vsprintf.c wbuf.c wsetup.c local.h}
12494
12495 * libc/locale/locale.c: Reformat and rename for ANSI, GNU style.
12496
12497 * Run through indent and rename xxx_r fns to _r_xxx for ANSI.
12498 libc/stdlib/{__adjust.c __exp10.c __ten_mu.c abort.c abs.c
12499 assert.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c
12500 dtoa.c ecvtbuf.c efgcvt.c exit.c getenv.c labs.c ldiv.c malloc.c
12501 mbtowc.c mprec.c putenv.c qsort.c rand.c setenv.c strdup.c
12502 strtod.c strtol.c strtoul.c system.c wctomb.c mprec.h}
12503
12504 * Run through indent.
12505 libc/string/{bcmp.c bcopy.c bzero.c index.c memchr.c memcmp.c
12506 memcpy.c memmove.c memset.c rindex.c strcat.c strchr.c strcmp.c
12507 strcoll.c strcpy.c strcspn.c strerror.c strlen.c strncat.c
12508 strncmp.c strncpy.c strpbrk.c strrchr.c strspn.c strstr.c strtok.c
12509 strxfrm.c}
12510
12511 * libc/time/{asctime.c clock.c ctime.c difftime.c gmtime.c
12512 localtime.c mktime.c strftime.c time.c}:
12513 Run through indent and rename xxx_r (reentrant) fns to _r_xxx for ANSI.
12514
12515 * Reformatting + renaming (for ANSI, GNU style, consistency).
12516 libc/include/{_ansi.h, assert.h, ctype.h, errno.h, fastmath.h,
12517 ieeefp.h, locale.h, math.h, paths.h, pwd.h, reent.h, setjmp.h,
12518 signal.h, stdio.h, stdlib.h, string.h, time.h, unistd.h}
12519
12520Fri Mar 19 11:28:01 1993 Doug Evans (dje@cygnus.com)
12521
12522 * libc/include/stdio.h (stdin_r): Fix.
12523
12524Fri Mar 19 09:43:48 1993 Ian Lance Taylor (ian@cygnus.com)
12525
12526 * Makefile.in: Unexport some variables to keep GNU make from
12527 putting them in the environment and using up needed ARG_MAX space
12528 (a hack is used to let this work with older makes as well).
12529
12530Tue Mar 16 15:11:08 1993 Ian Lance Taylor (ian@cygnus.com)
12531
12532 * Makefile.in: Use $(MAKE) rather than make.
12533 (MAKEOVERRIDES): Define to be empty.
12534 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
12535 (libc.a, libm.a): Depend on targ-include.
12536 * host/any (LD): Don't define.
12537 (INCLUDES): Use targ-include.
12538 * stub/Makefile.in (MAKEOVERRIDES): Define to be empty.
12539 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
12540 * libc/Makefile.in: Use $(MAKE) rather than make.
12541 (MAKEOVERRIDES): Define to be empty.
12542 (FLAGS_TO_PASS): Don't pass LD (it's not used).
12543 (all): Rewrote to be slightly smaller.
12544 * libc/machine/Makefile.in, libc/sys/Makefile.in (MAKEOVERRIDES):
12545 Define to be empty.
12546 (FLAGS_TO_PASS): Don't pass LD (it's not used).
12547 * libm/Makefile.in (FLAGS_TO_PASS): Don't pass LD (it's not used).
12548
12549Mon Mar 15 08:45:41 1993 Ian Lance Taylor (ian@cygnus.com)
12550
12551 * libc/sys/go32/gerrno.s: Renamed from errno.s to avoid conflict
12552 with errno/errno.c.
12553
12554Fri Mar 12 09:46:54 1993 Ian Lance Taylor (ian@cygnus.com)
12555
12556 * Changes for reentrancy.
12557 libc/stdio/fdopen.c, libc/stdio/freopen.c, libc/stdio/perror.c:
12558 Use ptr->_errno, not errno.
12559 libc/stdio/mktemp.c (mkstemp_r, mktemp_r): New functions.
12560 libc/stdio/remove.c (remove_r): New function.
12561 libc/stdio/rename.c (rename_r): New function.
12562 libc/stdio/fopen.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
12563 libc/stdio/makebuf.c, libc/stdio/mktemp.c, libc/stdio/remove.c,
12564 libc/stdio/rename.c, libc/stdio/stdio.c, libc/stdio/tmpnam.c: Use
12565 reentrant versions of system calls.
12566 libc/stdio/gets.c: Call getchar_f, not nonexistent getchar_r.
12567 libc/stdio/scanf.c: Use stdin_r, not nonexistent stdin_n.
12568 libc/stdio/tmpfile.c: Use tmpnam_f, not nonexistent tmpnam_r.
12569 libc/stdio/findfp.c: Include <string.h>.
12570 libc/stdio/fread.c, libc/stdio/rget.c, libc/stdio/scanf.c: Include
12571 "local.h".
12572 libc/stdio/wbuf.c: Include "fvwrite.h"
12573
12574 * libc/stdlib/{dtoa.c, ecvtbuf.c, mprec.c, strtod.c}: Include
12575 <string.h>.
12576 libc/stdlib/malloc.c: Call sbrk_r rather than sbrk.
12577 (NULL): Don't define if already defined.
12578 libc/stdlib/system.c: Call reentrant versions of system calls.
12579 (system_r): New function.
12580
12581 * Changes for reentrancy.
12582 libc/include/_ansi.h (_PARAMS): New macro.
12583 libc/include/errno.h: Define errno as a macro that calls __errno.
12584 (__errno_r): New macro for reentrant code.
12585 libc/include/math.h: Include reent.h. Declare many reentrant
12586 functions.
12587 (signgam): Now a macro, not a variable.
12588 (struct exception): Added err field.
12589 libc/include/reent.h: Don't declare __sglue. Added function
12590 declarations.
12591 (struct reent_struct): Moved errno to beginning. Added _signgam.
12592 libc/include/stdio.h, libc/include/stdlib.h: Added function
12593 declarations.
12594
12595 * More reentrancy hacking.
12596 libc/errno/errno.c (__errno): New function.
12597 libc/reent/execr.c, libc/reent/filer.c, libc/reent/fstatr.c,
12598 libc/reent/linkr.c, libc/reent/sbrkr.c, libc/reent/statr.c: New
12599 files.
12600
12601 * Added many new reentrant functions to libm/math/*.
12602 libm/math/error.c (__matherror): Added reent_struct pointer
12603 argument. Changed all callers.
12604 libm/math/gamma.c (signgam): Removed. Set ptr->_signgam, instead.
12605 libm/math/exp.h, libm/math/pow.h, libm/math/sincos.h,
12606 libm/math/tan.h: Removed obsolete unused header files.
12607
12608 * libc/sys/a29khif/stubs.s: Use register lr0, not v0.
12609
12610 * libc/sys/sun/Makefile.in (COPYOFILES): Don't pull in errno.o.
12611
12612Mon Mar 8 16:43:43 1993 Steve Chamberlain (sac@thepub.cygnus.com)
12613
12614 * libc/sys/a29khif/stubs.s: clobber safe register, and fill all
12615 delay slots.
12616
12617Tue Mar 2 14:47:00 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
12618
12619 * libc/libc.texinfo: comment out reentrancy chapter (duh)
12620
12621Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
12622
12623 * libc/reent/reent.tex: New file. (text from
12624 newlib/libc/libc.texinfo)
12625 * libc/stdio/tmpnam.c: fixed doc typo
12626 * libc/stdlib/rand.c: fixed doc typo
12627
12628Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
12629
12630 * libc/reent/reent.tex: New file. (text from
12631 newlib/libc/libc.texinfo)
12632
12633Fri Feb 26 12:20:54 1993 Steve Chamberlain (sac@thepub.cygnus.com)
12634
12635 support for reentrancy
12636 * libc/reent/reent.c, libc/reent/Makefile.in, libc/reent/reent.c:
12637 new files
12638 * libc/errno/errno.c, libc/include/ieeefp.h,
12639 libc/include/locale.h, libc/include/reent.h,
12640 libc/include/signal.h, libc/include/stdio.h,
12641 libc/include/stdlib.h, libc/include/string.h, libc/include/time.h,
12642 libc/signal/signal.c libc/stdio/cvt.c, libc/stdio/fclose.c,
12643 libc/stdio/fdopen.c, libc/stdio/fflush.c, libc/stdio/fgets.c,
12644 libc/stdio/findfp.c, libc/stdio/flags.c, libc/stdio/fopen.c,
12645 libc/stdio/fputc.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
12646 libc/stdio/ftell.c, libc/stdio/fwalk.c, libc/stdio/getchar.c,
12647 libc/stdio/gets.c, libc/stdio/glue.h, libc/stdio/iprintf.c,
12648 libc/stdio/local.h, libc/stdio/makebuf.c, libc/stdio/perror.c,
12649 libc/stdio/printf.c, libc/stdio/putchar.c, libc/stdio/puts.c,
12650 libc/stdio/refill.c, libc/stdio/scanf.c, libc/stdio/setvbuf.c,
12651 libc/stdio/sprintf.c, libc/stdio/tmpfile.c, libc/stdio/tmpnam.c,
12652 libc/stdio/ungetc.c, libc/stdio/vfprintf.c, libc/stdio/vfprintf.h,
12653 libc/stdio/vfscanf.c, libc/stdio/vprintf.c, libc/stdio/wsetup.c,
12654 libc/stdlib/__adjust.c, libc/stdlib/__exp10.c,
12655 libc/stdlib/assert.c, libc/stdlib/atexit.c, libc/stdlib/atol.c,
12656 libc/stdlib/dtoa.c, libc/stdlib/ecvtbuf.c, libc/stdlib/malloc.c,
12657 libc/stdlib/mprec.c, libc/stdlib/mprec.h, libc/stdlib/rand.c,
12658 libc/stdlib/setenv.c, libc/stdlib/std.h, libc/stdlib/strtod.c,
12659 libc/stdlib/strtol.c, libc/stdlib/strtoul.c, libc/string/strtok.c,
12660 libc/time/asctime.c, libc/time/localtime.c, libc/time/mktime.c,
12661 libc/time/strftime.c: modify to provide reentracy.
12662
12663 new routines:
12664 strtok_r, asctime_r, fdopen_r, _cleanup_r, fopen_r, iprintf_r,
12665 perror_r, printf_r, putchar_r, puts_r, scanf_r, sprintf_r,
12666 tmpfile_r, vfiprintf_r, vfprintf_r, strtod_r, dtoa_r, rand_r,
12667 srand_r, strtoul_r,strtol_r, free_r, malloc_r, morecore_r,
12668 mstats_r, realloc_r, localeconv_r, setlocale_r
12669
12670Wed Feb 17 20:17:15 1993 Mark Eichin (eichin@cygnus.com)
12671
12672 * libc/include/machine/ieeefp.h, libc/include/machine/setjmp.h,
12673 libc/include/sys/config.h, libc/include/sys/signal.h,
12674 libc/include/sys/stat.h, libc/include/sys/types.h: For compiler
12675 provided macros (such as m68000), use the ansi version
12676 (__m68000__) so that the library can be used with code compiled
12677 -ansi. In particular, m68000, mc68000, _AM29K, i386, MIPSEL, unix,
12678 and sparc.
12679
12680Wed Feb 17 13:01:34 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
12681
12682 * configure.in (sparc*): Don't set -fsoft-float for sparc
12683 configurations. Do set -fsoft-float for sparclite configurations.
12684
12685Fri Feb 12 16:25:52 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
12686
12687 * default.menu, no-signal.menu: alternate forms of libc main menu
12688 (in newlib rather than newlib/libc due to configuration restrictions)
12689
12690 * configure.in: select one of the two menus above, link to
12691 libc.menu
12692
12693 * libc/libc.texinfo: include menu from separate file
12694
12695Fri Feb 12 12:50:06 1993 Ian Lance Taylor (ian@cygnus.com)
12696
12697 * Makefile.in (FLAGS_TO_PASS): Put INSTALL back in.
12698 (info): Split long shell command in half.
12699 * libc/Makefile.in (info, targetdep.tex): Don't pass everything to
12700 sub-makes, just CHEW and TARGETDOC.
12701 (targetdep.tex): Removed now special handling of sys and machine
12702 subdirectories, made obsolete some time ago.
12703 * libc/machine/Makefile.in (doc): Don't pass everything to
12704 sub-make, just CHEW and TARGETDOC.
12705 (Makefile): New target.
12706 * libc/sys/Makefile.in (Makefile): New target.
12707
12708Thu Feb 11 15:25:15 1993 Ian Lance Taylor (ian@cygnus.com)
12709
12710 * Makefile.in (here and most subdirectories): Only pass down CHEW
12711 and TARGETDOC when making info, not for other targets.
12712
12713 * Makefile.in (here and most subdirectories), host/any: Use $(AR)
12714 $(AR_FLAGS) rather than $(ARUPDATE).
12715
12716Wed Feb 10 11:57:52 1993 Ian Lance Taylor (ian@cygnus.com)
12717
12718 * Try to reduce command line length:
12719 * Makefile.in (FLAGS_TO_PASS): don't pass down exec_prefix,
12720 CC_FOR_BUILD, CFLAGS_FOR_BUILD, INSTALL or CHEW.
12721 (info, docs): pass CC_FOR_BUILD and CFLAGS_FOR_BUILD to doc.
12722 (info): Pass CHEW to other subdirs.
12723
12724Tue Feb 9 14:01:42 1993 Mark Eichin (eichin@cygnus.com)
12725
12726 * configure.in: add signal_dir, like unix_dir, but by default it
12727 is set to "signal" so that a29khif can turn it off (since a29khif
12728 has raise() as part of machine-specific signal.s.)
12729
12730Fri Jan 15 12:09:50 1993 Steve Chamberlain (sac@thepub.cygnus.com)
12731
12732 * libc/sys/config.h, libc/machine/ieeefp.h: add Z8000 support
12733 * libc/stdio/Makefile.in: pass CFLAGS so vfiprintf.c gets built
12734 correctly.
12735 * libc/stdio/fdopen.c, libc/stdio/fgets.c, libc/stdio/fscanf.c,
12736 libc/stdio/vfprintf: type lint.
12737 * libc/sys/z8ksim/crt0.c (start): Z8001/Z8002 independent
12738 initialzation code.
12739 * libc/sys/z8ksim/glue.c: Z8001/Z8002 clean system calls.
12740
12741Tue Dec 29 10:15:33 1992 Ian Lance Taylor (ian@cygnus.com)
12742
12743 * stub/mvme135/mvme135-asm.S: new file.
12744 stub/mvme135mvme135-stub.c: moved all assembler routines into
12745 mvme135-asm.S.
12746 stub/mvme135/Makefile.in: build mvme135-stub.o.
12747
12748Mon Dec 28 12:40:43 1992 Ian Lance Taylor (ian@cygnus.com)
12749
12750 * Makefile.in: don't pass down $(CPP); use $(CC) -E in
12751 sub-Makefiles instead, to try to avoid line length limitations.
12752
12753Mon Dec 21 18:36:13 1992 Per Bothner (bothner@rtl.cygnus.com)
12754
12755 * libc/include/unistd.h (read, write): Use void* instead of
12756 char*.
12757
12758Thu Dec 17 13:49:46 1992 Mark Eichin (eichin@cygnus.com)
12759
12760 * stub/go32/resetpc: sample script to send a reset packet to the
12761 stub
12762
12763 * stub/go32/I386STUB.C: new file, gdb/i386stub.c modified for the
12764 DOS environment, which compiles with Turbo C.
12765
12766 * stub/go32/DSER32.LNK: new file, linker commands for serial
12767 remote stub.
12768
12769 * stub/go32/CONTROL.C: turn off debug_mode, add CYGNUS tag line to
12770 start up message to identify version; call set_debug_traps.
12771
12772 * stub/go32/DEBUG.C: turn off debug_mode (so stub doesn't need any
12773 keyboard interaction); call handle_exception() in go_til_stop,
12774 rather than return, so that the remote stub gets control.
12775
12776 * stub/go32/MAKEFILE: fixed to actually use DOS commands (del and
12777 rename, rather than mv), set flags that work with current Turbo C,
12778 including using the /3 flag; also, add commands to build dser32.
12779
12780 * stub/go32/DEBUG32.LNK, stub/go32/GO32.LNK: fix paths to match
12781 default Turbo C installation (\tc rather than \usr)
12782
12783 * stub/go32/MONO.C (printf): current Turbo C uses "..." instead of
12784 "&..."
12785
12786Mon Dec 14 09:37:33 1992 Steve Chamberlain (sac@thepub.cygnus.com)
12787
12788 * libc/include/math.h: added _DOUBLE_IS_32BITS checks
12789
12790Thu Nov 12 22:31:04 1992 Steve Chamberlain (sac@thepub.cygnus.com)
12791
12792 * libc/stdio/cvt.c (licvt): new function to convert ints when
12793 sizeof(int) != sizeof(long).
12794
12795 * libc/include/stdio.h: added prototype for iprintf.
12796 * libc/include/machine/limits.h machine/ieeefp.h: z8k stuff
12797
12798Tue Nov 10 12:18:12 1992 Ian Lance Taylor (ian@cygnus.com)
12799
12800 * libc/machine/m68k/setjmp.S: use __USER_LABEL_PREFIX__ and
12801 __REGISTER_PREFIX__.
12802
12803Mon Nov 2 13:50:14 1992 Ian Lance Taylor (ian@cygnus.com)
12804
12805 * libc/sys/m68kbare: moved into stub directory.
12806
12807Mon Nov 2 13:40:42 1992 Ian Lance Taylor (ian@cygnus.com)
12808
12809 * configure.in, Makefile.in: created new directory stub, to hold
12810 sample code for specific targets.
12811
12812Wed Oct 28 02:19:55 1992 Mark Eichin (eichin@cygnus.com)
12813
12814 * restored libc/sys/go32/sys/fcntl.h, to override incorrect values
12815 in the unified libc/include/sys/fcntl.h.
12816
12817Wed Oct 21 13:55:58 1992 Doug Evans (dje@rtl.cygnus.com)
12818
12819 * libc/stdlib/ecvtbuf.c: (print_f,_gcvt): printf("%f", 0.01)
12820 printed .01, not 0.01.
12821
12822Mon Oct 19 11:05:55 1992 Ian Lance Taylor (ian@cygnus.com)
12823
12824 * configure.in: compile with -m68000 for m68* targets.
12825
12826Sun Oct 18 05:29:05 1992 Mark Eichin (eichin@cygnus.com)
12827
12828 * libm/math/remainder.c (remainder): document the svr4 and sunos
12829 references used to construct the function.
12830
12831Sat Oct 17 21:46:16 1992 Mark Eichin (eichin@cygnus.com)
12832
12833 * libm/math/remainder.c (rint, remainder): fix old typos.
12834 * libm/math/Makefile.in: actually build remainder.c (functions
12835 rint and remainder, from SysVr4 Programmer's Guide floor(3m) man
12836 page.)
12837
12838Thu Oct 15 07:48:05 1992 Ian Lance Taylor (ian@cygnus.com)
12839
12840 * libc/string/bcopy.c: BSD version works on overlapping strings,
12841 so ours should too.
12842
12843 * libc/stdlib/system.c: always invoke /bin/sh, not getenv
12844 ("SHELL").
12845
12846Wed Oct 14 11:07:11 1992 Ian Lance Taylor (ian@cygnus.com)
12847
12848 * Makefile.in (docs): new target.
12849
12850Wed Oct 14 07:44:25 1992 Ian Lance Taylor (ian@cygnus.com)
12851
12852 * libc/include/sys/times.h: define clock_t as required by POSIX.
12853 libc/include/time.h: protect clock_t from multiple definitions.
12854
12855Wed Oct 7 11:02:21 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
12856
12857 * libm/math/sqrt.h (sqrt): actually, the final version of fp-bit
12858 does not need more than the original three iterations to get
12859 within 1 ulp. (Paranoia tests for rounding to better than that,
12860 but further iterations *don't* help, only more subtle changes
12861 can.)
12862
12863Tue Oct 6 09:22:12 1992 Ian Lance Taylor (ian@cygnus.com)
12864
12865 * libc/sys/vxworks68, libc/sys/vxworks960: removed, since they
12866 were doing nothing useful.
12867
12868Tue Oct 6 08:48:13 1992 Ian Lance Taylor (ian@cygnus.com)
12869
12870 * configure.in: define MALLOC_PROVIDED for vxworks targets;
12871 removed sys_dir settings of vxworks68 and vxworks960.
12872 host/any: don't pass -nostdinc to gcc, since newlib no longer
12873 provides all required header files.
12874
12875 * libc/stdlib/malloc.c: only compile this file if MALLOC_PROVIDED
12876 is not defined; this provides a hook for VxWorks.
12877
12878Mon Oct 5 03:44:57 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
12879
12880 * libc/stdio/setvbuf.c (setvbuf): while ANSI does say to malloc a
12881 buffer if buf is NULL, don't do it here -- it is already being
12882 done by makebuf elsewhere in stdio.
12883
12884Fri Oct 2 13:12:07 1992 Ian Lance Taylor (ian@cygnus.com)
12885
12886 * libc/sys/a29khif/Makefile.in: assemble Steve's list of stubs so
12887 that C programs can call functions without using initial
12888 underscores.
12889
12890Thu Oct 1 09:37:47 1992 Ian Lance Taylor (ian@cygnus.com)
12891
12892 * libc/stdlib/abort.c (abort): call exit, in case kill returns.
12893
12894Wed Sep 30 08:22:18 1992 Ian Lance Taylor (ian@cygnus.com)
12895
12896 * configure.in: set TARGET_CFLAGS for certain CPU types to
12897 -msoft-float.
12898
12899Tue Sep 29 21:09:32 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
12900
12901 * libc/sys/m68kbare/glue.c: use <_ansi.h> instead of <ansidecl.h>
12902
12903Mon Sep 28 14:58:44 1992 Ian Lance Taylor (ian@cygnus.com)
12904
12905 * configure.in: added sys_dir m68kbare for m68k*-unknown-aout and
12906 m68k*-unknown-coff.
12907
12908Fri Sep 25 08:33:21 1992 Ian Lance Taylor (ian@cygnus.com)
12909
12910 * libc/include/stdio.h: define __need___va_list before including
12911 <stdarg.h>, to avoid defining va_arg, et. al.
12912
12913Tue Sep 22 13:47:00 1992 Ian Lance Taylor (ian@cygnus.com)
12914
12915 * libc/sys/Makefile.in: handle the case of an empty $(sys_dir)
12916 (don't cd to the user's home directory).
12917
12918 * libc/Makefile.in: replaced all instances of $(MAKE) with make.
12919 In general this is the wrong thing to do, but I can't get around
12920 GNU make's insistence on passing command line arguments any other
12921 way.
12922
12923Tue Sep 22 10:12:44 1992 Ian Lance Taylor (ian@cygnus.com)
12924
12925 * configure.in: always configure the libc/sys directory, since it
12926 now provides a required documentation file.
12927
12928 * Makefile.in: replaced all instances of $(MAKE) with make. In
12929 general this is the wrong thing to do, but I can't get around GNU
12930 make's insistence on passing command line arguments any other way.
12931
12932Mon Sep 21 22:42:26 1992 Ian Lance Taylor (ian@tweedledumbest.cygnus.com)
12933
12934 * libc/stdlib/ecvtbuf.c (_gcvt): string for 0 was not null
12935 terminated.
12936
12937 * libc/stdio/local.h: include <stdarg.h> to define va_list.
12938 libc/stdio/vsprintf.c: include <stdarg.h> rather than <varargs.h>.
12939
12940 * libc/include/float.h, libc/include/stdarg.h,
12941 libc/include/stddef.h, libc/include/varargs.h: removed; use gcc
12942 versions instead.
12943 libc/include/stdio.h: get size_t from <stddef.h>, and va_list from
12944 <stdarg.h>, not from <machine/types.h>. Protect definition of
12945 NULL.
12946 libc/include/time.h: get size_t from stddef.h. Protect definition
12947 of NULL.
12948 libc/include/machine/limits.h: override gcc <limits.h> by defining
12949 _LIMITS_H___. Don't define CLK_TCK. Copied in gcc <limits.h> to
12950 get correct INT_MIN and LONG_LONG values.
12951 libc/include/machine/types.h: don't define ptrdiff_t, wchar_t,
12952 size_t or va_list at all; they're now gotten from stddef.h
12953 instead.
12954 libc/include/machine/varargs.h: removed; use gcc version instead.
12955 libc/include/sys/types.h: explicitly include <machine/types.h>.
12956
12957 * libm/math/sqrt.h: using the fp-bit routines appears to require
12958 more iterations.
12959
12960 * Makefile.in, host/any: let system include files override machine
12961 include files.
12962
12963Sat Sep 19 21:10:06 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
12964
12965 * libc/include/machine/types.h: allow __*_TYPE__ from cpp to
12966 override _*_T_ definitions defaulted here.
12967
12968Tue Sep 15 11:14:46 1992 Ian Lance Taylor (ian@cygnus.com)
12969
12970 * Makefile.in (install): install the include files in
12971 $(tooldir)/include, not $(exec_prefix)/include.
12972
12973Fri Sep 11 15:48:43 1992 Ian Lance Taylor (ian@cygnus.com)
12974
12975 * Makefile.in (install): fixed typo, and changed install to not
12976 force rebuild of libc.a and libm.a.
12977
12978Thu Sep 10 10:46:09 1992 Ian Lance Taylor (ian@cygnus.com)
12979
12980 * libc/sys/a29khif/*: Changed all .include's to include
12981 sys/sysmac.h, not plain sysmac.h. The header files live in sys so
12982 that they will be installed for the user.
12983
12984 * Makefile.in (all): create targ-include, a directory holding the
12985 machine and system specific header files during the build.
12986 (install): fixed installation of machine and system specific
12987 header files.
12988
12989 * Makefile.in: fixed comment.
12990 host/any: change .s.o rule to use $(AS) rather than $(CC), so that
12991 we can pass $(INCLUDES) to it.
12992
12993Thu Sep 10 10:13:13 1992 Ian Lance Taylor (ian@cygnus.com)
12994
12995 * libc/include/sys/param.h: new generic file, which may be
12996 overridden for specific systems.
12997
12998 * libc/include/sys/signal.h: define all ANSI signal names, and
12999 NSIG (which is not ANSI) for a29k.
13000
13001Tue Sep 8 09:04:30 1992 Ian Lance Taylor (ian@cygnus.com)
13002
13003 * Makefile.in: don't pass down arguments the lower level makes
13004 will not need.
13005 * libc/Makefile.in: recurse directly, rather than using subdir_do,
13006 in hopes of avoiding argument length limits.
13007 * libm/Makefile.in: recurse directly, rather using subdir_do, in
13008 hopes of avoiding argument length limits.
13009
13010Tue Sep 8 08:27:22 1992 Ian Lance Taylor (ian@cygnus.com)
13011
13012 * libc/include/sys/fcntl.h: include <sys/types.h> to ensure that
13013 mode_t is defined.
13014
13015Mon Sep 7 14:02:07 1992 Ian Lance Taylor (ian@cygnus.com)
13016
13017 * Fixed make info and make install-info for newlib, changing most
13018 Makefile.in and several *.tex files. Moved doc directory from
13019 libc to top level.
13020
13021 * libc/time/mktime.c (_DAYS_IN_MONTH): actually, not const.
13022 Should be rewritten.
13023
13024 * libc/string/strings.tex: renamed node index to node index
13025 function, so that it does not conflict with the top level index
13026 node.
13027
13028 * libc/include/sys/config.h: define __IEEE_BIG_ENDIAN for h8300.
13029
13030Fri Sep 4 02:34:06 1992 Ian Lance Taylor (ian@cygnus.com)
13031
13032 * Overhauled general configuration for newlib. Eliminated all
13033 target dependent Makefile fragments. Create libraries in newlib
13034 rather than newlib/libc and newlib/libm. Use CC, et. al., rather
13035 than CROSS_CC, et. al. Broke make docs; will fix later.
13036
13037 * libc/time/localtime.c (_DAYS_IN_MONTH): actually, not const.
13038 Should be rewritten.
13039
13040Tue Sep 1 15:21:14 1992 Ian Lance Taylor (ian@cygnus.com)
13041
13042 * libc/configure.in: cleaned up somewhat; switch on ${target}
13043 rather than ${target_alias}.
13044 * libm/configure.in: cleaned up somewhat; switch on ${target}
13045 rather than ${target_alias}.
13046
13047 * libc/ctype/ctype_.c: marked _ctype_ array _CONST.
13048 * libc/include/ctype.h: marked _ctype_ as _CONST.
13049
13050 * libc/locale/locale.c (lconv, localeconv): marked static lconv as
13051 _CONST.
13052
13053 * libc/stdio/cvt.c, libc/stdio/findfp.c (__sfmoreglue),
13054 libc/stdio/vfscanf.c (__svfscanf): made static variables const.
13055 libc/stdio/gets.c (gets): removed non-ANSI warning message.
13056 libc/stdio/tmpnam.c (tmpnam): removed unneeded filename variable.
13057
13058 * libc/stdlib/mprec.h, libc/stdlib/mprec.c (pow5mult, tens,
13059 bigtens, tinytens): marked arrays _CONST.
13060 libc/stdlib/qsort.c (swap): if __GNUC__, use _builtin_alloca
13061 rather than a static variable.
13062
13063 * libc/time/asctime.c (asctime), libc/time/localtime.c
13064 (_DAYS_IN_MONTH), libc/time/mktime.c (_DAYS_IN_MONTH,
13065 _DAYS_BEFORE_MONTH), libc/time/strftime.c (dname_len, dname,
13066 mname_len, mname): Marked static arrays _CONST.
13067
13068 * libm/math/gamma.h: made local variables non-static.
13069
13070 * libm/math/acos.h, libm/math/bessel.c, libm/math/erf.c,
13071 libm/math/exp.c, libm/math/gamma.h: marked static arrays as
13072 _CONST.
13073
13074 * libm/math/constants.c: removed file, because the constants it
13075 defined were never referenced.
13076 libm/math/Makefile.in: removed references to constants.c.
13077 libm/math/mathimpl.h: removed declarations of constants.
13078
13079Wed Aug 26 21:09:06 1992 Ian Lance Taylor (ian@cygnus.com)
13080
13081 * libc/include/machine/varargs.h: only call __builtin_saveregs if
13082 it is sensibly defined in libgcc2. Checks preprocessor defines,
13083 which is not a good solution.
13084
13085 * libm/sqrt.c: sqrt(Infinity) should not be a domain error.
13086
13087 * libm/frexp.c: handle denormalized numbers as arguments.
13088
13089 * libm/math/Makefile.in: added some dependencies for .c files
13090 which include local .h files.
13091
13092Mon Aug 24 12:57:58 1992 Ian Lance Taylor (ian@cygnus.com)
13093
13094 * libc/configure.in: set target_alias for OSE*. Replace
13095 target_makefile_frag if it is blank.
13096
13097 * libc/Makefile.in: make sure everything is passed to subsidiary
13098 makes; create all directories when installing.
13099
13100 * libm/ieeefp/Makefile.in, libm/math/Makefile.in: use
13101 CROSS_ARUPDATE instead of AR.
13102
13103 * libm/configure.in: set target_alias for OSE*. Replace
13104 target_makefile_frag if it is blank.
13105
13106 * libm/Makefile.in: make sure everything is passed to subsidiary
13107 makes; create all directories when installing.
13108
13109Thu Aug 20 15:11:51 1992 Mark Eichin (eichin@cygnus.com)
13110
13111 * add following change from libc copy.
13112
13113Wed Aug 19 18:54:49 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
13114
13115 * libc/libc.texinfo: make copyright disclaimers appear on back of
13116 title page; make format of same slightly less ugly; avoid using
13117 underbars in section headings (avoids nasty texinfo bug in table
13118 of contents).
13119
13120 * libc/ctype/tolower.c, libc/ctype/toupper.c: (doc changes in
13121 comments only) avoid using underbars in section headings
13122
13123 * libc/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
13124 isnan ieeefp/fpmask.c, ieeefp/fpround.c, ieeefp/fpsticky.c (doc
13125 changes in comments only): shorten headings ieeefp/infinity.c,
13126 ieeefp/isnan.c: (doc, comments only) more informative headings
13127
13128 * libc/math/bessel.c: (doc, comments only) shorten heading
13129
13130 * libc/stdlib/efgcvt.c, libc/stdlib/mbtowc.c, libc/stdlib/wctomb.c
13131 (doc, comments only) shorten headings
13132
13133 * libc/time/localtime.c (doc, comments only): shorten headings
13134
13135 * libm/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
13136 isnan
13137 libm/ieeefp/fpmask.c, libm/ieeefp/fpround.c,
13138 libm/ieeefp/fpsticky.c (doc changes in comments only): shorten
13139 headings
13140 libm/ieeefp/infinity.c, libm/ieeefp/isnan.c: (doc, comments
13141 only) more informative headings
13142 * libm/math/bessel.c: (doc, comments only) shorten heading
13143
13144Wed Aug 19 07:06:37 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
13145
13146 * .../Makefile.in: use CROSS_ARUPDATE consistently.
13147 * config/*.mt: define CROSS_AR as well as CROSS_ARUPDATE
13148 * config/*.mt: define CROSS_CPP based on CROSS_CC, not /lib/cpp.
13149 * .../Makefile.in: get rid of .c.o rule - if TOP is correctly
13150 defined, the one from the .mt file will be correct.
13151 * libc/include/machine, libc/include/sys: created, and populated
13152 with common files from machine/*/machine. ifdefs were used for
13153 most, typically by handling exceptions first and then filling in
13154 defaults. Files with D.J. Delorie copyright #included rather than
13155 copied. Most files in include/sys really were the same in the
13156 original.
13157 * libc/include/...: cleaned up use of _EXFUN.
13158 * libc/stdlib/mprec.c: mprec.h doesn't get installed, so include
13159 it with double quotes, not angles.
13160
13161Mon Aug 10 11:43:20 1992 Ian Lance Taylor (ian@dumbest.cygnus.com)
13162
13163 * libc/Makefile.in: always create installation directories.
13164
13165Sun Aug 9 22:45:48 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
13166
13167 * libc/configure.in: handle host properly (using canonical
13168 triples), better error message for the case of target not found
13169
13170Thu May 28 01:56:37 1992 Michael Tiemann (tiemann@rtl.cygnus.com)
13171
13172 * libc/Makefile.in (insincdir): Ensure this directory exists
13173 before attempting installation.
13174
13175Fri May 1 18:16:42 1992 Steve Chamberlain (sac@thepub.cygnus.com)
13176
13177 * libc/stdlib/assert.c: now calls abort like it should
13178 * libc/sys/a29khif: many many patches for 29khif work
13179 * libc/machine/i386: gnulib2 expanded there.
13180
13181Tue Apr 28 19:08:37 1992 Steve Chamberlain (sac@thepub.cygnus.com)
13182
13183 Added accurate fp conversion routines to stdlib, moved dcvt from
13184 stdio to stdlib and called it ecvtbuf:
13185 * libc/stdlib/mprec.c, mprec.h: new files for multiprec arithmetic
13186 * libc/stdlib/Makefile.in, efgcvt.c, strtod.c: modified to use new
13187 routines
13188 * libc/libc.texinfo: Modifed to include the copyright info from
13189 the mprec files
13190 * libc/stdlib/efgcvt.c: now xref to ecvtbuf in stdlib.
13191 * libc/test/ : many vector which tested for the implementation
13192 defined returns of strange conversion requests have been updated
13193 to relflect the new implementation
13194
13195Mon Apr 27 13:41:33 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
13196
13197 * libc/libc.texinfo: new chapter on variable arg lists
13198 (stdarg.h/varargs.h)
13199 * libc/libc.texinfo: new title
13200 * libc/time/gmtime.c, libc/time/localtime./c, libc/time/mktime.c:
13201 (doc only) shorter headings for better formatting.
13202
13203Fri Apr 24 11:26:48 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
13204
13205 * libc/libc.texinfo: three more info menu entries
13206 * libc/locale/locale.tex: new chapter
13207 * libc/locale/locale.c: new doc for setlocale, localeconv
13208 * libc/locale/Makefile.in: use new locale doc
13209 * libc/signal/signal.tex: new chapter
13210 * libc/signal/raise.c, libc/signal/signal.c: new doc
13211 * libc/signal/Makefile.in: use new doc
13212 * libc/time/time.tex: new chapter
13213 * libc/time/asctime.c libc/time/clock.c libc/time/ctime.c
13214 libc/time/difftime.c libc/time/gmtime.c libc/time/localtime.c
13215 libc/time/mktime.c libc/time/strftime.c libc/time/time.c: new doc
13216 * libc/time/Makefile.in: use new doc
13217
13218Tue Apr 21 14:48:50 1992 Steve Chamberlain (sac@thepub.cygnus.com)
13219
13220 * libm/math/log1p.c: split to use the new function way of float
13221 function definition. math/log1p.h deleted
13222 * libm/math/scalb.c: obsolete and deleted
13223 * libm/math/scalbn.c: created from part log1p.c
13224 * libm/math/Makefile.in: know about log1p and scalbn
13225
13226Tue Apr 21 12:32:21 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
13227
13228 * libc/ctype/isupper.c: revise doc;
13229 libc/ctype/ctype.tex: use doc from isupper.c
13230
13231 * libc/string/bzero.c: new doc
13232
13233Mon Apr 20 14:19:42 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
13234
13235 * libc/stdlib/system.c, libc/stdlib/exit.c, libc/stdlib/abort.c:
13236 new doc
13237 * libc/stdlib/Makefile.in: extract new doc
13238 * libc/stdlib/stdlib.tex: use new doc
13239
13240 * libc/string/strerror.c: expanded doc.
13241
13242 * libc/stdio/Makefile.in: extract doc from more files
13243 * libc/stdio/fopen.c, libc/stdio/perror.c, libc/stdio/remove.c,
13244 libc/stdio/rename.c, libc/stdio/rewind.c, libc/stdio/setbuf.c,
13245 libc/stdio/setvbuf.c, libc/stdio/sprintf.c, libc/stdio/tmpfile.c,
13246 libc/stdio/tmpnam.c, libc/stdio/vfprintf.c, libc/stdio/vprintf.c,
13247 libc/stdio/vsprintf.c: new doc
13248 * libc/stdio/stdio.tex: use new doc
13249
13250Mon Apr 20 09:38:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
13251
13252 * libc/config/ebmon29k: added CROSS_CPP rule and other fixes
13253 * libc/include/ieeefp.h: fixed ansi conflict with isnanf, isinff,
13254 finitef functions.
13255 * libc/sys/a29khif/sys/*.h: ansidecl.h was renamed to _ansi.h some
13256 time ago.
13257
13258 * libc/stdio/stdio.h: added P_tmpdir for /tmp (SVID thing)
13259 * libc/stdio/setbuf.c: added ansi style definition.
13260 * libc/stdio/setvbuf.c: added ansi definition, now mallocs own
13261 buffer if none provided.
13262 * libc/stdio/tmpfile.c: lint
13263 * libc/stdio/tmpnam.c (worker): created. (tmpnam): mallocs buffer
13264 rather than using static, also make sure file isn't already
13265 present. Uses P_tmpdir. (tempnam): rewritten to use new
13266 subroutine, and uses P_tmpdir.
13267 * libc/stdio/siprintf.c: created
13268
13269Mon Apr 13 09:12:58 1992 Steve Chamberlain (sac@thepub.cygnus.com)
13270
13271 Release 1.03 for NEC, major mods. Main differences from release
13272 1.02::
13273
13274 More tests in test/:
13275 * jn_vec.c, jnf_vec.c, yn_vec.c, ynf_vec.c, log2_vec.c,
13276 log2f_vec.c, atan2_vec.c, atan2f_vec.c: new test vectors.
13277 * test_ieee.c: tests for ieee flags & masks - get/set rounding,
13278 get/set mask, get/set sticky and get/set roundtoi. Tests
13279 that setting the bits changes the way arithmetic is done.
13280 * string.c: added test to make sure memcmp does it with unsigned
13281 chars.
13282 * test.c: cleaned up and removed lint.
13283 * sprint_vec, sprint_ivec.c, convert.c, conv_vec.c, iconf_vec.c,
13284 dvec.c: tests for string to value conversions, sprintf, scanf,
13285 atof, atoff, strtod, strtodf, atoi, atol, strtol, ecvtbuf, ecvt,
13286 ecvtf, fcvtbuf, fcvt, fcvtf, gcvt, gcvtf. Some attention paid to
13287 rounding in sprintf too.
13288 * test_is.c: tests for isalnum, isalpha, isascii, iscntrl,
13289 isdigit, isgraph, islower, isprint, ispunct, isspace, isupper,
13290 isxdigit, toascii, tolower, toupper, _tolower, _toupper in macro
13291 and function form.
13292 * math2.c: test for frexp, frexpf, ldexp, ldexpf, modf modff, pow,
13293 powf
13294
13295 In the library:
13296 * libc/stdlib/div.c, libc/stdlib/ldiv.c, libc/stdlib/strtod.c,
13297 libc/stdlib/strtol.c, libc/stdlib/stroul.c, libc/stdlib/abs.c,
13298 libc/stdlib/bsearch.c, libc/stdlib/calloc.c, libc/stdlib/getenv.c,
13299 libc/stdlib/labs.c, libc/stdlib/malloc.c: new documentation
13300 * libc/stdlib/efgcvt.c: rewritten to use new _dcvt routines rather
13301 than sprintf.
13302 * libc/stdio/dcvt.c: rewritten to make more useful elsewhere.
13303 * Method of producting float versions of double functions has
13304 changed, functions will be modified gradually. So far:
13305 libm/math/exp.c, libm/math/pow.c, libm/math/modf.c,
13306 libm/math/sincos.c, libm/math/fmod.c, libm/math/tan.c have been
13307 altered
13308 * libc/string/memcmp.c: now uses unsigned chars
13309 * libc/string/bcmp.c, libc/string/strcpy.c,
13310 libc/stsring/strxfrm.c: fixed doc
13311 * libc/sys/sysvnecv70.tex: fix example of sbrk code
13312\f
13313Local Variables:
13314version-control: never
13315End:
This page took 1.469337 seconds and 5 git commands to generate.