1 2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
3 * NEWS: Update with 1.12.0 info.
5 * acinclude.m4: Change version number to 1.12.0.
6 * aclocal.m4: Regenerated.
8 * doc/aclocal.m4: Ditto.
9 * doc/configure: Ditto.
10 * libc/*/aclocal.m4: Ditto.
11 * libc/*/configure: Ditto.
12 * libc/libc.texinfo: Ditto.
13 * libm/*/aclocal.m4: Ditto.
14 * libm/*/configure: Ditto.
15 * libm/libm.texinfo: Ditto.
16 * libc/sys/linux/shared.ld: Add VERS_1.12.
18 2004-02-02 Joel Sherrill <joel@oarcorp.com>
20 * configure.host: Add support for tic4x.
21 * libc/include/machine/ieeefp.h: Ditto.
22 * libc/include/machine/setjmp.h: Ditto.
23 * libc/machine/tic4x/Makefile.am: New file.
24 * libc/machine/tic4x/configure.in: Ditto.
25 * libc/machine/tic4x/setjmp.S: Ditto.
26 * libc/machine/tic4x/aclocal.m4: Generated.
27 * libc/machine/tic4x/configure: Ditto.
28 * libc/machine/tic4x/Makefile.in: Ditto.
30 2004-01-30 Jeff Johnston <jjohnstn@redhat.com>
32 * libc/stdio/fwalk.c (_fwalk.c): Don't traverse the
33 file chain on the passed in reentrancy struct if it
36 2004-01-30 Artem B. Bityuckiy <abitytsky@softminecorp.com>
37 Jeff Johnston <jjohnstn@redhat.com>
39 * libc/iconv/iconv.tex: Updated with more information.
41 2004-01-30 Thomas Pfaff <tpfaff@gmx.net>
42 Jeff Johnston <jjohnstn@redhat.com>
44 * libc/stdio/fwalk.c (_fwalk): Traverse the given reentrancy
45 struct for std streams and traverse the global reeentrancy
46 struct for all other streams.
48 2004-01-27 Jeff Johnston <jjohnstn@redhat.com>
50 * libc/stdlib/atexit.c: Protect global atexit list with a
51 lock when newlib is multithreaded.
53 2004-01-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
55 * configure.in: Add support to generate iconv converter flags
57 * newlib.hin: Add iconv converter flags.
58 * configure: Regenerated.
59 * libc/Makefile.in: Ditto.
60 * libc/configure.in: Moved iconv converter parsing logic to
61 top level newlib configure.in.
62 * libc/configure: Regenerated.
63 * libc/iconv/Makefile.in: Ditto.
64 * libc/iconv/README.TODO
65 * libc/iconv/charset.aliases: Remove wrong BE aliases for
67 * libc/iconv/ccs/Makefile.am: Remove C flag setting now that
69 * libc/iconv/ces/Makefile.am: Ditto.
70 * libc/iconv/lib/Makefile.am: Ditto.
71 * libc/iconv/ccs/Makefile.in: Regenerated.
72 * libc/iconv/ces/Makefile.in: Ditto.
73 * libc/iconv/lib/Makefile.in: Ditto.
74 * libc/iconv/ccs/README.CCS.SOURCES: Updated.
75 * libc/iconv/ccs/iconv_mktbl: Don't write junk strings to binaries.
76 * libc/iconv/ccs/big5.c: Switch to use new underscored flags
78 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
79 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
80 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
81 * libc/iconv/ccs/cp775.c: Ditto.
82 * libc/iconv/ccs/cp850.c: Ditto.
83 * libc/iconv/ccs/cp852.c: Ditto.
84 * libc/iconv/ccs/cp855.c: Ditto.
85 * libc/iconv/ccs/cp866.c: Ditto.
86 * libc/iconv/ccs/gb_2312_80.c: Ditto.
87 * libc/iconv/ccs/iso_8859_1.c: Ditto.
88 * libc/iconv/ccs/iso_8859_15.c: Ditto.
89 * libc/iconv/ccs/iso_8859_2.c: Ditto.
90 * libc/iconv/ccs/iso_8859_4.c: Ditto.
91 * libc/iconv/ccs/iso_8859_5.c: Ditto.
92 * libc/iconv/ccs/jis_x0201.c: Ditto.
93 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
94 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
95 * libc/iconv/ccs/koi8_r.c: Ditto.
96 * libc/iconv/ccs/koi8_u.c: Ditto.
97 * libc/iconv/ccs/ksx1001.c: Ditto.
98 * libc/iconv/ccs/shift_jis.c: Ditto.
99 * libc/iconv/ccs/us_ascii.c: Ditto.
100 * libc/iconv/ccs/binary/big5.cct: Newly generated.
101 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
102 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
103 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
104 * libc/iconv/ccs/binary/cp775.cct: Ditto.
105 * libc/iconv/ccs/binary/cp850.cct: Ditto.
106 * libc/iconv/ccs/binary/cp852.cct: Ditto.
107 * libc/iconv/ccs/binary/cp855.cct: Ditto.
108 * libc/iconv/ccs/binary/cp866.cct: Ditto.
109 * libc/iconv/ccs/binary/gb_2312_80.cct: Ditto.
110 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
111 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
112 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
113 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
114 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
115 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
116 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
117 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
118 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
119 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
120 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
121 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
122 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
123 * libc/iconv/lib/bialiasesi.c: Sync with charset.aliases.
124 * libc/iconv/ces/euc-jp.c: Use newlib.h macros.
125 * libc/iconv/ces/euc-kr.c: Ditto.
126 * libc/iconv/ces/euc-tw.c: Ditto.
127 * libc/iconv/ces/gb2312.c: Ditto.
128 * libc/iconv/ces/iso-10646-ucs-2.c: Ditto.
129 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
130 * libc/iconv/ces/ucs-2-internal.c: Ditto.
131 * libc/iconv/ces/ucs-4-internal.c: Ditto.
132 * libc/iconv/ces/utf-16.c: Ditto.
133 * libc/iconv/ces/utf-8.c: Ditto.
134 * libc/iconv/lib/aliases.c: Ditto.
135 * libc/iconv/lib/biccs.c: Ditto.
136 * libc/iconv/lib/bices.c: Ditto.
137 * libc/iconv/lib/ccs.c: Ditto.
138 * libc/iconv/lib/ces.c: Ditto.
139 * libc/iconv/lib/ces_euc.c: Ditto.
140 * libc/iconv/lib/ces_iso2022.c: Ditto.
141 * libc/iconv/lib/ces_table.c: Ditto.
142 * libc/iconv/lib/converter.c: Ditto.
143 * libc/iconv/lib/deps.h: Ditto.
144 * libc/iconv/lib/endian.h: Ditto.
145 * libc/iconv/lib/iconv.c: Ditto.
146 * libc/iconv/lib/loaddata.c: Ditto.
147 * libc/iconv/lib/local.h: Include newlib.h.
148 * libc/argz/Makefile.in: Regenerated.
149 * libc/ctype/Makefile.in: Ditto.
150 * libc/errno/Makefile.in: Ditto.
151 * libc/iconv/ccs/binary/Makefile.in: Ditto.
152 * libc/locale/Makefile.in: Ditto.
153 * libc/misc/Makefile.in: Ditto.
154 * libc/posix/Makefile.in: Ditto.
155 * libc/reent/Makefile.in: Ditto.
156 * libc/search/Makefile.in: Ditto.
157 * libc/signal/Makefile.in: Ditto.
158 * libc/stdio/Makefile.in: Ditto.
159 * libc/stdio64/Makefile.in: Ditto.
160 * libc/stdlib/Makefile.in: Ditto.
161 * libc/string/Makefile.in: Ditto.
162 * libc/syscalls/Makefile.in: Ditto.
163 * libc/time/Makefile.in: Ditto.
164 * libc/unix/Makefile.in: Ditto.
165 * testsuite/newlib.iconv/iconv.exp: New file.
166 * testsuite/newlib.iconv/iconvjp.c: Ditto.
167 * testsuite/newlib.iconv/iconvnm.c: Ditto.
168 * testsuite/newlib.iconv/iconvru.c: Ditto.
170 2004-01-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
172 * acinclude.m4 (--enable-newlib-iconv): New configuration option.
173 (--enable-newlib-builtin-converters): Ditto.
174 * configure.in: Add code to set _ICONV_ENABLED flag.
175 Set _MB_LEN_MAX to 1 if not mb enabled.
176 * configure: Regenerated.
178 * Makefile.in: Ditto.
179 * newlib.hin: Add _ICONV_ENABLED flag.
180 * libc/Makefile.am: Add support for iconv.
181 * libc/configure.in: Ditto.
182 * libc/Makefile.in: Regenerated.
183 * libc/aclocal.m4: Ditto.
184 * libc/configure: Ditto.
185 * libc/libc.texinfo: Add iconv documentation.
186 * libc/iconv/AUTHORS, libc/iconv/COPYING, libc/iconv/Makefile.am,
187 libc/iconv/Makefile.in, libc/iconv/README.ORIGINAL,
188 libc/iconv/README.TODO, libc/iconv/charset.aliases,
189 libc/iconv/iconv.tex, libc/iconv/ccs/Makefile.am,
190 libc/iconv/ccs/Makefile.in, libc/iconv/ccs/README.CCS.SOURCES,
191 libc/iconv/ccs/big5.c, libc/iconv/ccs/cns11643_plane1.c,
192 libc/iconv/ccs/cns11643_plane14.c, libc/iconv/ccs/cns11643_plane2.c,
193 libc/iconv/ccs/cp775.c, libc/iconv/ccs/cp850.c,
194 libc/iconv/ccs/cp852.c, libc/iconv/ccs/cp855.c,
195 libc/iconv/ccs/cp866.c, libc/iconv/ccs/gb_2312_80.c,
196 libc/iconv/ccs/iconv_mktbl, libc/iconv/ccs/iso_8859_1.c,
197 libc/iconv/ccs/iso_8859_15.c, libc/iconv/ccs/iso_8859_2.c,
198 libc/iconv/ccs/iso_8859_4.c, libc/iconv/ccs/iso_8859_5.c,
199 libc/iconv/ccs/jis_x0201.c, libc/iconv/ccs/jis_x0208_1983.c,
200 libc/iconv/ccs/jis_x0212_1990.c, libc/iconv/ccs/koi8_r.c,
201 libc/iconv/ccs/koi8_u.c, libc/iconv/ccs/ksx1001.c,
202 libc/iconv/ccs/shift_jis.c, libc/iconv/ccs/us_ascii.c,
203 libc/iconv/ccs/binary/Makefile.am, libc/iconv/ccs/binary/Makefile.in,
204 libc/iconv/ccs/binary/big5.cct,
205 libc/iconv/ccs/binary/cns11643_plane1.cct,
206 libc/iconv/ccs/binary/cns11643_plane14.cct,
207 libc/iconv/ccs/binary/cns11643_plane2.cct,
208 libc/iconv/ccs/binary/cp775.cct, libc/iconv/ccs/binary/cp850.cct,
209 libc/iconv/ccs/binary/cp852.cct, libc/iconv/ccs/binary/cp855.cct,
210 libc/iconv/ccs/binary/cp866.cct, libc/iconv/ccs/binary/gb_2312_80.cct,
211 libc/iconv/ccs/binary/iso_8859_1.cct,
212 libc/iconv/ccs/binary/iso_8859_15.cct,
213 libc/iconv/ccs/binary/iso_8859_2.cct,
214 libc/iconv/ccs/binary/iso_8859_4.cct,
215 libc/iconv/ccs/binary/iso_8859_5.cct,
216 libc/iconv/ccs/binary/jis_x0201.cct,
217 libc/iconv/ccs/binary/jis_x0208_1983.cct,
218 libc/iconv/ccs/binary/jis_x0212_1990.cct,
219 libc/iconv/ccs/binary/koi8_r.cct, libc/iconv/ccs/binary/koi8_u.cct,
220 libc/iconv/ccs/binary/ksx1001.cct,
221 libc/iconv/ccs/binary/shift_jis.cct,
222 libc/iconv/ccs/binary/us_ascii.cct,
223 libc/iconv/ces/Makefile.am, libc/iconv/ces/Makefile.in,
224 libc/iconv/ces/euc-jp.c, libc/iconv/ces/euc-kr.c,
225 libc/iconv/ces/euc-tw.c, libc/iconv/ces/gb2312.c,
226 libc/iconv/ces/iso-10646-ucs-2.c, libc/iconv/ces/iso-10646-ucs-4.c,
227 libc/iconv/ces/ucs-2-internal.c, libc/iconv/ces/ucs-4-internal.c,
228 libc/iconv/ces/utf-16.c, libc/iconv/ces/utf-8.c,
229 libc/iconv/lib/Makefile.am, libc/iconv/lib/Makefile.in,
230 libc/iconv/lib/aliases.c, libc/iconv/lib/bialiasesi.c,
231 libc/iconv/lib/biccs.c, libc/iconv/lib/bices.c,
232 libc/iconv/lib/ccs.c, libc/iconv/lib/ces.c,
233 libc/iconv/lib/ces_euc.c, libc/iconv/lib/ces_iso2022.c,
234 libc/iconv/lib/ces_table.c, libc/iconv/lib/converter.c,
235 libc/iconv/lib/deps.h, libc/iconv/lib/endian.h,
236 libc/iconv/lib/iconv.c, libc/iconv/lib/loaddata.c,
237 libc/iconv/lib/local.h, libc/include/iconv.h: New files.
238 * libc/sys/linux/include/iconv.h: Ditto.
239 * libc/include/sys/_types.h (_iconv_t): Added.
240 * doc/aclocal.m4: Regenerated.
241 * doc/configure: Ditto.
242 * doc/Makefile.in: Ditto.
243 * iconvdata/Makefile.in: Ditto.
244 * iconvdata/aclocal.m4: Ditto.
245 * iconvdata/configure: Ditto.
246 * libc/*aclocal.m4: Ditto.
247 * libc/*Makefile.in: Ditto.
248 * libc/*configure: Ditto.
249 * libm/*aclocal.m4: Ditto.
250 * libm/*Makefile.in: Ditto.
251 * libm/*configure: Ditto.
253 2004-01-22 Thomas Pfaff <tpfaff@gmx.net>
255 * libc/stdio/findfp.c (__sfp): Protect global FILE pointer list
256 by a lock when newlib is multithreaded.
258 2004-01-21 Jeff Johnston <jjohnstn@redhat.com>
260 * libc/stdlib/mbrtowc.c (_mbrtowc_r): Fix case where s is null
261 pointer to match C99 spec.
262 * libc/stdlib/mbsrtowcs.c (_mbsrtowc_r): Fix to ignore len when
263 dst is NULL. Also fix to not alter src pointer when dst is NULL
264 and call _mbrtowc_r instead of _mbtowc_r.
265 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Call _wcrtomb_r instead
268 2004-01-19 Thomas Pfaff <tpfaff@gmx.net>
270 * libc/stdio/fclose.c (fclose): Release FILE as the last step.
271 * libc/stdio/freopen.c (freopen): Ditto.
273 2004-01-16 Christopher Faylor <cgf@redhat.com>
275 * libc/stdio/vfprintf.c: Add sys/lock.h include.
277 2004-01-16 Thomas Pfaff <tpfaff@gmx.net>
279 * libc/stdio/findfp.c (__sfp): Remove unnecessary memset.
280 * libc/stdio/vfprintf.c (__sbprintf): Ditto.
281 Add calls to __lock_init_recursive and __lock_close_recursive
284 2004-01-15 Thomas Pfaff <tpfaff@gmx.net>
286 * libc/stdio/fclose.c: Include sys/lock.h.
287 (fclose): Destroy lock when file is closed.
288 * libc/stdio/findfp.c (__sfp): Initialize file pointers _lock
290 * libc/stdio/freopen.c: Include sys/lock.h.
291 (_freopen_r): Destroy lock when file is closed.
292 * libc/stdio/vfprintf.c (__sbprintf): Initialize file pointers
295 2004-01-08 Joel Sherrill <joel@oarcorp.com>
297 * libc/ctype/iswctype.c, include/sys/reent.h, libc/stdlib/a64l.c:
300 2004-01-08 Joel Sherrill <joel@oarcorp.com>
302 * libc/sys/rtems/sys/queue.h: New file.
303 * libc/include/sys/signal.h: Reflect renumbering of signals to
304 fit into 32-bit mask.
305 * libc/include/sys/unistd.h: Add fdatasync() prototype.
306 * libc/sys/rtems/crt0.c: Add more symbols which may be implicitly
307 required. In particular, add the reentrant variants of libc calls.
308 * libc/sys/rtems/sys/dirent.h: Add scandir() prototype.
310 2004-01-06 Mark Mitchell <mark@codesourcery.com>
312 * libc/sys/arm/syscalls.c (unistd.h): Include it.
313 (remap_handle): Use STDIN_FILENO instead of __sfileno(stdin).
314 Similarly for stdout and stderr.
316 2004-01-06 Jeff Johnston <jjohnstn@redhat.com>
318 * libc/libc.texinfo: Correct escape character for @ sign
319 so file will be processed by make info. Update copyright years.
320 * libm/libm.texinfo: Ditto.
322 2003-12-05 Jeff Johnston <jjohnstn@redhat.com>
324 * libc/include/sys/stat.h: No longer include stat-dj.h.
325 * libc/include/sys/stat-dj.h: Removed.
327 2003-12-05 Jeff Johnston <jjohnstn@redhat.com>
329 * libc/include/wchar.h: Include <sys/reent.h>.
331 2003-12-05 Christopher Faylor <cgf@redhat.com>
333 * libc/stdlib/mbrlen.c: Change include order to prevent compiler errors
334 when defining _mbrtowc.
335 * libc/stdlib/mbsinit.c: Ditto.
336 * libc/stdlib/mbsrtowcs.c: Ditto.
337 * libc/stdlib/wcrtomb.c: Ditto.
338 * libc/stdlib/wcsrtombs.c: Ditto.
339 * libc/stdlib/wctob.c: Ditto.
341 2003-12-05 Christopher Faylor <cgf@redhat.com>
343 * libc/stdlib/mbrlen.c: Change include order to prevent compiler
344 errors when defining _mbrtowc.
345 * libc/stdlib/mbsinit.c: Ditto.
346 * libc/stdlib/mbsrtowcs.c: Ditto.
348 2003-12-05 Christopher Faylor <cgf@redhat.com>
350 * libc/stdlib/mbrtowc.c: Change include order to prevent compiler
351 errors when defining _mbrtowc.
353 2003-12-04 Artem B. Bityuckiy <abitytsky@softminecorp.com>
355 * libc/stdio/vfprintf.c (_VFPRINTF_R): Use _r versions
356 of mb routines for %lc and %ls support.
357 * libc/stdio/vfscanf.c (_svfscanf_r): Add %lc, %C,
358 %ls, and %S support. Remove CYGNUS_NEC markers and
361 2003-12-04 Jeff Johnston <jjohnstn@redhat.com>
363 * libc/include/wchar.h: Add prototypes for _mbrtowc_r,
364 _wcrtomb_r, and _wcsrtombs_r.
366 2003-12-01 Corinna Vinschen <corinna@vinschen.de>
368 * libc/include/sys/fcntl.h: Don't define struct flock when on
369 Cygwin. This is done in winsup/cygwin/include/cygwin/types.h now.
371 2003-11-28 Christopher Faylor <cgf@redhat.com>
373 * libc/include/sys/signal.h: Use system specific signal file when
376 2003-11-27 Jeff Johnston <jjohnstn@redhat.com>
378 * libc/include/stdlib.h (_atoi_r): New prototype.
379 * libc/stdlib/atoi.c (_atoi_r): New reentrant function.
381 2003-11-27 Jeff Johnston <jjohnstn@redhat.com>
383 * libc/include/stdlib.h (_atoll_r, _atol_r): New prototypes.
384 * libc/stdlib/atol.c (_atol_r): New reentrant function.
385 * libc/stdlib/atoll.c (_atoll_r): Ditto.
387 2003-11-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
388 Jeff Johnston <jjohnstn@redhat.com>
390 * libc/include/stdlib.h (lldiv_t): New type.
391 (atoll, llabs, lldiv): New prototypes.
392 * libc/stdlib/Makefile.am: Add support for atoll, llabs, and lldiv.
393 * libc/stdlib/stdlib.tex: Ditto.
394 * libc/stdlib/Makefile.in: Regenerated.
395 * libc/stdlib/atoll.c: New file.
396 * libc/stdlib/llabs.c: Ditto.
397 * libc/stdlib/lldiv.c: Ditto.
399 2003-11-26 Corinna Vinschen <corinna@vinschen.de>
401 * libc/include/fcntl.h: Declare syscalls only when building newlib.
402 * libc/include/unistd.h: Ditto.
403 * libc/include/stat.h: Ditto. Also declare struct stat64.
405 2003-11-24 Artem B. Bityuckiy <abitytsky@softminecorp.com>
407 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix check for 'C' format
408 specifier to use ch instead of *fmt.
410 2003-11-21 Artem B. Bityuckiy <abitytsky@softminecorp.com>
412 * libc/stdio/vfprintf.c (_VFPRINTF_R, get_arg): Move mb-specific
413 code within checks for MB_CAPABLE. For non-mb-capable platforms,
414 use simple byte logic.
416 2003-11-21 Jeff Johnston <jjohnstn@redhat.com>
418 * libc/stdio/vfscanf.c (__svfscanf_r)[!_NO_LONGDBL]: Don't use
419 _strtold routine for processing floats and doubles since it
420 is not as fast as _strtod_r.
422 2003-11-20 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
424 * libc/machine/h8300/defines.h : Correct pointer register defines
426 * libc/machine/h8300/memcpy.S : Use add/sub instead of adds/subs
428 * libc/machine/h8300/reg_memcpy.S : Likewise.
429 * libc/machine/h8300/reg_memset.S : Likewise.
430 * libc/machine/h8300/strcmp.S : Likewise.
432 2003-11-19 Nicholas Wourms <nwourms@netscape.net>
434 * configure.host: Enable positional arguments for printf
436 * libc/stdio/vfprintf.c (_VFPRINTF_R): Remove extraneous
437 pointer reference for quad_ptr_t.
439 2003-11-19 Jeff Johnston <jjohnstn@redhat.com>
441 * libc/stdio/scanf.c: Don't include local.h more than once.
443 2003-11-18 Corinna Vinschen <corinna@vinschen.de>
445 * libc/include/sys/fcntl.h: Declare _open64.
446 * libc/include/sys/stat.h: Declare _fstat64.
447 * libc/include/sys/unistd.h: Declare _lseek64.
449 2003-11-17 Corinna Vinschen <corinna@vinschen.de>
451 * libc/include/stdlib.h (getprogname): Declare for Cygwin.
452 (setprogname): Ditto.
454 2003-11-10 Jeff Johnston <jjohnstn@redhat.com>
456 * libc/machine/powerpc/ufix64toa.c (_ufix64to_r): Fix shifts
457 to use (Ebits + 1) which accounts for the sign-bit.
459 2003-11-07 Jeff Johnston <jjohnstn@redhat.com>
461 * configure.host: Remove -DLOOSE_KERNEL_NAMES flag for linux
463 * iconvdata/Makefile.am: Make dependent on newlib's configure.host
464 and set up default flags to pass to aclocal.
465 * iconvdata/Makefile.in: Regenerated.
466 * libc/sys/linux/Makefile.am: Add _ELIX_LEVEL_4 getlogin, getpwnam,
467 and getpwuid routines.
468 * libc/sys/linux/Makefile.in: Regenerated.
469 * libc/sys/linux/getlogin.c: New stub file to allow x86-linux
470 applications to link with newlib's shared libc library.
471 * libc/sys/linux/getpwnam.c: Ditto.
472 * libc/sys/linux/getpwuid.c: Ditto.
473 * libc/sys/linux/sys/types.h: Include <features.h> and supply types
474 that were formerly supplied by /usr/include/linux/types.h with
476 * testsuite/newlib.wctype/twctype.c: Fix testcase to properly
477 test _ELIX_LEVEL macro.
479 2003-11-07 Jeff Johnston <jjohnstn@redhat.com>
481 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix typos that should be
482 referring to _NO_LONGLONG macro.
484 2003-11-06 Jeff Johnston <jjohnstn@redhat.com>
486 * libc/sys/linux/linuxthreads/td_init.c: Replace function name
487 in LOG() macro so this will compile on gcc 3.4 and up.
488 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
489 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
490 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
491 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
492 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
493 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
494 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
495 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
496 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
497 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
498 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
499 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
500 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
501 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
502 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
503 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
504 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
505 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
506 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
507 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
508 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
509 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
510 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
511 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
512 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
513 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
514 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
515 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
516 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
517 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
518 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
519 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
520 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
521 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
522 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
523 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
525 2003-11-05 Jeff Johnston <jjohnstn@redhat.com>
526 Artem B. Bityuckiy <abitytsky@softminecorp.com>
528 * libc/stdio/vfprintf.c (_VFPRINTF_R): Add support for
529 %ls, %S, %lc, and %C format specifiers.
531 * libc/stdio/sprintf.c: Add documentation regarding new
532 format specifiers added in vfprintf.c.
534 2003-11-05 Jeff Johnston <jjohnstn@redhat.com>
536 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Numerous fixes
537 to make code work as specified in standard.
539 2003-10-23 Jeff Johnston <jjohnstn@redhat.com>
541 * configure.in: Use absolute newlib basedir when forming
542 CC_FOR_NEWLIB include options.
543 * configure: Regenerated.
545 2003-10-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
547 * libc/string/wcsnlen.c: New file.
548 * libc/include/wchar.h: Add wcsnlen prototype.
549 * libc/string/Makefile.am: Add wcsnlen support.
550 * libc/string/Makefile.in: Regenerated.
551 * libc/string/wcstrings.tex: Add wcsnlen documentation.
553 2003-10-22 Richard Sandiford <rsandifo@redhat.com>
555 * libc/stdlib/exit.c (exit): Handle null _GLOBAL_REENT->_atexits.
557 2003-10-20 Bob Wilson <bob.wilson@acm.org>
559 * libc/locale/locale.c: Use double quotes in code.
560 * libc/locale/locale.tex: Likewise.
561 * libc/libc.texinfo: Hyphenate "floating-point".
562 * libc/machine/necv70/necv70.tex: Likewise.
563 * libc/stdio/sprintf.c: Likewise.
564 * libc/stdio/sscanf.c: Likewise.
565 * libc/stdlib/atof.c: Likewise.
566 * libc/stdlib/ldtoa.c: Fix comment typo.
567 * libc/stdlib/div.c: Use @ifnottex instead of @ifinfo.
568 * libc/stdlib/ldiv.c: Likewise.
569 * libm/common/s_expm1.c: Likewise.
570 * libm/common/s_ilogb.c: Hyphenate "floating-point". Use "nonzero".
571 * libm/common/s_infinity: Hyphenate "double- and single-precision".
572 * libm/common/s_nan.c: Likewise. Also correct the FUNCTION summary.
573 * libm/common/s_nextafter.c: Fix typo. Hyphenate "double-precision"
574 and "floating-point".
575 * libm/common/s_scalbn.c: Correct the FUNCTION summary.
576 * libm/math/e_pow.c: Fix comment typo.
577 * libm/math/math.tex: Hyphenate "single-precision" and "floating-point".
578 * libm/math/s_asinh.c: Use @ifnottex instead of @ifinfo.
579 * libm/math/s_atan.c: Likewise.
580 * libm/math/s_frexp.c: Likewise. Also use "nonzero".
581 * libm/math/s_isnan.c: Hyphenate "single-precision" and
582 "floating-point". Use "nonzero".
583 * libm/math/s_ldexp.c: Use @ifnottex instead of @ifinfo.
584 * libm/math/w_acos.c: Likewise.
585 * libm/math/w_acosh.c: Likewise.
586 * libm/math/w_asin.c: Likewise.
587 * libm/math/w_atan2.c: Likewise.
588 * libm/math/w_atanh.c: Likewise.
589 * libm/math/w_cosh.c: Likewise.
590 * libm/math/w_exp.c: Likewise.
591 * libm/math/w_exp2.c: Likewise. Add missing @end and missing @tex
592 version of 2^x in the description.
593 * libm/math/w_fmod.c: Use @ifnottex instead of @ifinfo.
594 * libm/math/w_gamma.c: Likewise.
595 * libm/math/w_hypot.c: Likewise.
596 * libm/math/w_j0.c: Likewise.
597 * libm/math/w_sinh.c: Likewise.
598 * libm/math/w_pow.c: Replace "exp1.0nt" with "exponent".
599 * libm/mathfp/mathfp.tex: Hyphenate "single-precision" and
601 * libm/mathfp/e_acosh.c: Use @ifnottex instead of @ifinfo.
602 * libm/mathfp/e_atanh.c: Likewise.
603 * libm/mathfp/e_hypot.c: Likewise.
604 * libm/mathfp/er_lgamma.c: Likewise.
605 * libm/mathfp/s_acos.c: Likewise.
606 * libm/mathfp/s_asine.c: Likewise.
607 * libm/mathfp/s_asinh.c: Likewise.
608 * libm/mathfp/s_atan.c: Likewise.
609 * libm/mathfp/s_atan2.c: Likewise.
610 * libm/mathfp/s_atangent.c: Likewise.
611 * libm/mathfp/s_cosh.c: Likewise.
612 * libm/mathfp/s_exp.c: Likewise.
613 * libm/mathfp/s_fmod.c: Likewise.
614 * libm/mathfp/s_frexp.c: Likewise. Also use "nonzero".
615 * libm/mathfp/s_isnan.c: Hyphenate "single-precision" and
616 "floating-point". Use "nonzero".
617 * libm/math/s_pow.c: Replace "exp1.0nt" with "exponent".
618 * libm/mathfp/s_ldexp.c: Use @ifnottex instead of @ifinfo.
619 * libm/mathfp/s_sineh.c: Likewise.
620 * libm/mathfp/w_jn.c: Likewise.
622 2003-10-15 Alexandre Oliva <aoliva@redhat.com>
624 * Makefile.am: Add $(MAKE) comments to multido and multiclean
625 lines, to enable parallel make.
626 * Makefile.in: Rebuilt.
628 2003-10-14 Christopher Faylor <cgf@redhat.com>
630 * libc/time/clock.c: Clarify documentation of return value when no
631 measurement is available.
633 2003-09-29 Ian Lance Taylor <ian@wasabisystems.com>
635 * libm/configure.in: Check libm_machine_dir, not machine_dir.
636 * libm/configure: Regenerate.
637 * libm/Makefile.in: Ditto.
639 2003-09-29 J"orn Rennecke <joern.rennecke@superh.com>
641 * libc/machine/sh/strncpy.S: New file.
642 * libc/machine/sh/Makefile.am: Add entry & rule for new file.
643 * libc/machine/sh/Makefile.in: Regenerate.
645 2003-09-11 James E Wilson <wilson@specifixinc.com>
647 * MAINTAINERS: Update my e-mail address.
649 2003-09-10 Corinna Vinschen <corinna@vinschen.de>
651 * libc/include/sys/unistd.h: Declare function daemon for Cygwin.
653 2003-09-09 Jeff Johnston <jjohnstn@redhat.com>
655 * libc/machine/powerpc/fix64.h: Fix typo for _simdldcheck
657 * libc/machine/powerpc/simdldtoa.c: Remove prototype for
658 _simdldcheck(). Also add unsigned cast for index variable in
659 for loop using sizeof operators.
660 * libc/machine/powerpc/strtoufix32.c: Remove unused variable.
661 * libc/machine/powerpc/strtosfix64.c: Fix call to _simdldcheck.
662 * libc/machine/powerpc/strtoufix64.c (_strtoufix64_r): Ditto
663 plus fix shift calculation for determining if there is a
666 2003-09-09 Corinna Vinschen <corinna@vinschen.de>
668 * libc/include/grp.h: Don't define setgrfile, group_from_gid and
669 setgroupent for Cygwin.
671 2003-09-05 Jeff Johnston <jjohnstn@redhat.com>
673 * libc/stdlib/exit.c (exit): Setting of struct _atexit ptr p
674 is different for _REENT_SMALL than when using regular reent
677 2003-09-05 Ben Elliston <bje@wasabisystems.com>
679 * libc/ctype/wctype.c (_DEFUN): Remove empty default case, as
680 modern versions of GCC issue a warning.
682 * libc/machine/xscale/memcmp.c (memcmp): Strip trailing whitespace
683 after continuation characters that induces a warning from modern
686 2003-09-04 Ben Elliston <bje@wasabisystems.com>
688 * libc/stdlib/mstats.c[_ELIX_LEVEL]: Fix guards. #ifndef FOO ||
689 FOO >= 2 is invalid; use #if !defined (FOO) || FOO >= 2 instead.
691 2003-09-02 Thomas Pfaff <tpfaff@gmx.net>
693 * libc/stdlib/atexit.c: Rename _REENT to _GLOBAL_REENT throughout.
694 * libc/stdlib/exit.c : Ditto.
695 * libc/stdlib/on_exit.c: Ditto.
697 2003-08-27 Corinna Vinschen <corinna@vinschen.de>
699 * libc/include/reent.h: Define stat64 as __stat64 when
700 compiling newlib for Cygwin.
702 2003-08-26 Jeff Johnston <jjohnstn@redhat.com>
704 * libc/include/sys/stat.h[__CYGWIN__]: Only define stat64 as
705 __stat64 when compiling newlib.
707 2003-08-26 Jeff Johnston <jjohnstn@redhat.com>
709 * libc/include/stdio.h: Allow the io64 function prototypes for
710 Cygwin when compiling newlib.
711 * libc/include/sys/stat.h[__CYGWIN__]: Define stat64 as __stat64
712 to expose the Cygwin struct __stat64 type.
713 * libc/stdio64/fseeko64.c: Use _fstat64_r and pass a struct stat64
715 * libc/stdio64/tmpfile64.c(_tmpfile64_r): Call _fopen64_r.
717 2003-08-23 Christopher Faylor <cgf@redhat.com>
719 * libc/stdio64/fseeko64.c (fseeko64_r): Rename second fseeko64_r
720 definition to fseeko64.
722 2003-08-22 Jeff Johnston <jjohnstn@redhat.com>
724 * libc/include/sys/reent.h: Add _GLOBAL_REENT macro.
725 * libc/stdio: Globally remove/replace all references to fp->_data.
726 Replace with _REENT or _GLOBAL_REENT where appropriate.
727 * libc/stdio/asprintf.c: Ditto.
728 * libc/stdio/fclose.c: Ditto.
729 * libc/stdio/fvwrite.c: Ditto.
730 * libc/stdio/makebuf.c: Ditto.
731 * libc/stdio/refill.c: Ditto.
732 * libc/stdio/local.h: Ditto.
733 * libc/stdio/setvbuf.c: Ditto.
734 * libc/stdio/sscanf.c: Ditto.
735 * libc/stdio/stdio.c: Ditto.
736 * libc/stdio/ungetc.c: Ditto.
737 * libc/stdio/vfscanf.c: Ditto.
738 * libc/stdio/vsscanf.c: Ditto.
739 * libc/stdio/fopen.c: Ditto. Also use _fseek_r in _fopen_r.
740 * libc/stdio/vasprintf.c: Ditto. Also call _vfprintf_r directly.
741 * libc/stdio/vsnprintf.c: Ditto.
742 * libc/stdio/vsprintf.c: Ditto.
743 * libc/stdio/fcloseall.c(fcloseall): Use _GLOBAL_REENT macro
744 instead of _REENT to walk file list.
745 * libc/stdio/fflush.c: Ditto.
746 * libc/stdio/fgetpos.c: Add reentrant version and have regular
747 version call reentrant version with _REENT argument.
748 * libc/stdio/fsetpos.c: Ditto.
749 * libc/stdio/fseek.c: Ditto.
750 * libc/stdio/fseeko.c: Ditto.
751 * libc/stdio/ftell.c: Ditto.
752 * libc/stdio/ftello.c: Ditto.
753 * libc/stdio/freopen.c: Ditto.
754 * libc/stdio/findfp.c: Use _GLOBAL_REENT pointer when adding
755 new files to chain. Also use _GLOBAL_REENT pointer for
757 * libc/stdio/fiprintf.c: Reformatted to minimize duplicate code.
758 * libc/stdio/siprintf.c: Ditto.
759 * libc/stdio/iprintf.c: Ditto.
760 * libc/stdio/fprintf.c: Ditto.
761 * libc/stdio/printf.c: Ditto.
762 * libc/stdio/snprintf.c: Call _vfprintf_r directly.
763 * libc/stdio/sprintf.c: Ditto.
764 * libc/stdio/vprintf.c: Ditto. Also add _REENT_ONLY check.
765 * libc/stdio/rewind.c: Call _fseek_r directly.
766 * libc/stdio/tmpfile.c: Call _fopen_r and _remove_r directly.
767 * libc/stdio/vfprintf.c (_VFPRINTF_R): Change _r routines to use
769 (get_arg): Add extra struct _reent pointer argument.
770 * libc/stdio64/fgetpos64.c: Add _r versions, remove any reference
772 * libc/stdio64/fopen64.c: Ditto.
773 * libc/stdio64/freopen64.c: Ditto.
774 * libc/stdio64/fsetpos64.c: Ditto.
775 * libc/stdio64/ftello64.c: Ditto.
776 * libc/stdio64/local64.h: Ditto.
777 * libc/stdio64/stdio64.c: Ditto.
778 * libc/stdio64/fseeko64.c: Ditto plus use _fstat_r instead of
779 _fstat64_r for the meantime.
781 2003-08-19 Jeff Johnston <jjohnstn@redhat.com>
783 * libc/stdlib/mallocr.c (mALLOc, rEALLOc, mEMEALIGn): Enhance
786 2003-08-13 Aldy Hernandez <aldyh@redhat.com>
788 * libc/machine/powerpc/machine/stdlib.h: Wrap SPE functions in
791 2003-08-13 Jeff Johnston <jjohnstn@redhat.com>
793 * libc/include/math.h: Add prototypes for __signbitf and
796 2003-07-31 Jeff Johnston <jjohnstn@redhat.com>
798 * libc/ctype/iswalpha.c: Fix calls to __jp2uc to pass the
799 correct type of conversion when dealing with EUCJP or SJIS.
800 * libc/ctype/iswblank.c: Ditto.
801 * libc/ctype/iswcntrl.c: Ditto.
802 * libc/ctype/iswprint.c: Ditto.
803 * libc/ctype/iswpunct.c: Ditto.
804 * libc/ctype/iswspace.c: Ditto.
805 * libc/ctype/towlower.c: Ditto.
806 * libc/ctype/towupper.c: Ditto.
808 2003-07-31 Nick Clifton <nickc@redhat.com>
810 * libc/sys/sysnecv850/crt0.S (_start): Allocate 4 slots on stack
811 before calling main, in case it saves its argument registers.
812 Remove reference to deleted v850ea port.
813 * configure.host: Remove reference to deleted v850ea port.
814 Do not use -mv850 when building for v850e target. This
815 prevents the ctbp system register from being initialised.
817 2003-07-29 Honda Hiroki <hhonda@ipflex.com>
819 * libc/stdio/vfprintf.c: Set output size to 1 when
820 we have %f format with precision 0 and # flag not specified.
822 2003-07-29 Alexandre Oliva <aoliva@redhat.com>
824 * libc/machine/mn10300/setjmp.S: Never emit both .am33 and
827 2003-07-25 Christopher Faylor <cgf@redhat.com>
829 * libc/stdio64/fdopen64.c: Include sys/lock.h.
831 2003-07-25 Christopher Faylor <cgf@redhat.com>
833 * configure.host: Find cygwin include directory, when appropriate.
835 2003-07-24 Christopher Faylor <cgf@redhat.com>
837 * libc/stdio64/fdopen64.c: New file.
838 * libc/stdio64/Makefile.am (LIB_OBJS): Add fdopen64.o
839 * libc/stdio64/Makefile.in: Regenerate.
840 * libc/include/stdio.h (fdopen64): Define.
841 * libc/include/stdio.h (_fdopen64_r): Ditto.
843 2003-07-10 Alexandre Oliva <aoliva@redhat.com>
845 2000-04-27 Alexandre Oliva <aoliva@cygnus.com>
846 * libc/include/machine/setjmp.h (_JBLEN, AM33/2.0): Set to 26.
847 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Save and
848 restore callee-saved FP registers.
850 2003-07-10 J"orn Rennecke <joern.rennecke@superh.com>
852 * libc/include/sys/unistd.h (ftruncate, truncate): Also declare
854 * libc/sys/sh/Makefile.am (lib_a_SOURCES): Add ftruncate.c and
856 * libc/sys/sh/Makefile.in: Regenerate.
857 * libc/sys/sh/sys/syscall.h: (SYS_truncate, SYS_ftruncate): Define.
858 * libc/sys/sh/ftruncate.c: New file.
859 * libc/sys/sh/truncate.c: Likewise.
861 2003-07-09 Alexandre Oliva <aoliva@redhat.com>
863 * libc/include/math.h (nan, nanf): Update prototype to C99.
864 * libm/common/s_nan.c (nan): Likewise.
865 * libm/common/s_nanf.c (nanf, nan): Likewise.
866 * libc/sys/linux/cmath/math_private.h (nan, nanf): Likewise.
868 2003-07-07 Jeff Johnston <jjohnstn@redhat.com>
870 * libc/include/stdbool.h: Removed as this is defined by gcc.
872 2003-07-03 Shaun Jackman <sjackman@pathwayconnect.com>
874 * libc/include/stdbool.h: New header file defined by C99.
876 2003-07-02 Jeff Johnston <jjohnstn@redhat.com>
878 * libc/include/sys/types.h (int8_t): Make signed.
880 2003-07-02 Jeff Johnston <jjohnstn@redhat.com>
882 * libc/sys/linux/include/mqueue.h: Add include of <sys/fcntl.h>.
884 2003-06-27 Jose Goncalves <jose.goncalves@inov.pt>
886 * libc/sys/linux/mq_open.c (mq_open): Only set created flag
887 on if we actually created the shared memory file exclusively.
889 2003-06-27 Joe Vornehm <joev@mitre.org>
891 * libm/common/s_fpclassify.c (__fpclassifyf): Fix
892 comparisons to account for unsigned internal value w.
894 2003-06-26 Jeff Johnston <jjohnstn@redhat.com>
896 * libc/sys/linux/mq_open.c (mq_open): Must allocate rdbuf and
897 wrbuf for a non-creating open.
899 2003-06-24 Kazu Hirata <kazu@cs.umass.edu>
901 * libc/machine/h8300/setarch.h: New.
902 * libc/machine/h8300/memcpy.S: Use it.
903 * libc/machine/h8300/memset.S: Likewise.
904 * libc/machine/h8300/reg_memcpy.S: Likewise.
905 * libc/machine/h8300/reg_memset.S: Likewise.
906 * libc/machine/h8300/setjmp.S: Likewise.
907 * libc/machine/h8300/strcmp.S: Likewise.
909 2003-06-24 Richard Sandiford <rsandifo@redhat.com>
911 * libc/sys/h8300hms/crt0.S (_start): Fix register sizes in call
914 2003-06-20 Jeff Johnston <jjohnstn@redhat.com>
916 * configure.host (iq2000): Add tabs.
918 2003-06-20 Jeff Johnston <jjohnstn@redhat.com>
920 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix macros
921 to handle latest on_exit change.
922 * libc/sys/linux/Makefile.am: Remove special compilation
923 for malloc.c and mcheck.c.
924 * libc/sys/linux/Makefile.in: Regenerated.
925 * libc/sys/linux/mntent.c: Add definition of _LIBC flag
926 after including <features.h>.
927 * libc/sys/linux/mcheck.c: Ditto.
928 * libc/sys/linux/malloc.c: Ditto plus define _GNU_SOURCE
930 * libc/sys/linux/intl/Makefile.am: Remove -D_LIBC and
931 add -DNOT_IN_libc to C flags.
932 * libc/sys/linux/intl/Makefile.in: Regenerated.
933 * libc/sys/linux/intl/config.h: Add definition of _LIBC.
934 * libc/sys/linux/linuxthreads/semaphore.h: Include
935 <bits/pthreadtypes.h>.
936 * libc/sys/linux/sys/dirent.h: Define _LIBC and NOT_IN_libc after
937 including <features.h>.
938 * libc/sys/linux/sys/lock.h: Ditto.
940 2003-06-11 Nick Clifton <nickc@redhat.com>
942 * libc/reent/reent.c (reclaim_reent): Fix typo in code to free
945 2003-06-10 Stan Cox <scox@redhat.com>
946 Anthony Green <green@redhat.com>
948 * configure.host: Add iq2000 support.
949 * newlib/libc/include/machine/ieeefp.h: Ditto.
950 * newlib/libc/include/machine/setjmp.h: Ditto.
951 * libc/machine/iq2000, libc/machine/iq2000/setjmp.S,
952 libc/machine/iq2000/aclocal.m4, libc/machine/iq2000/configure,
953 libc/machine/iq2000/configure.in, libc/machine/iq2000/Makefile.am,
954 libc/machine/iq2000/Makefile.in: New files.
956 2003-06-10 Richard Sandiford <rsandifo@redhat.com>
958 * libc/sys/h8300hms/setarch.h: New file.
959 * libc/sys/h8300hms/close.S, libc/sys/h8300hms/fstat.S,
960 libc/sys/h8300hms/lseek.S, libc/sys/h8300hms/open.S,
961 libc/sys/h8300hms/read.S, libc/sys/h8300hms/stat.S,
962 libc/sys/h8300hms/write.S, libc/sys/h8300hms/crt0.S: Use it.
964 2003-06-06 Jeff Johnston <jjohnstn@redhat.com>
966 * libc/argz/argz_add.c: Change to use _DEFUN macro for function
968 * libc/argz/argz_add_sep.c: Ditto.
969 * libc/argz/argz_append.c libc/argz/argz_count.c: Ditto.
970 * libc/argz/argz_create.c libc/argz/argz_create_sep.c: Ditto.
971 * libc/argz/argz_delete.c libc/argz/argz_extract.c: Ditto.
972 * libc/argz/argz_insert.c libc/argz/argz_next.c: Ditto.
973 * libc/argz/argz_replace.c libc/argz/argz_stringify.c: Ditto.
974 * libc/argz/envz_add.c libc/argz/envz_entry.c: Ditto.
975 * libc/argz/envz_get.c libc/argz/envz_merge.c: Ditto.
976 * libc/argz/envz_remove.c libc/argz/envz_strip.c: Ditto.
977 * libc/locale/nl_langinfo.c libc/misc/ffs.c: Ditto.
978 * libc/posix/closedir.c libc/posix/creat.c: Ditto.
979 * libc/posix/execl.c libc/posix/execle.c: Ditto.
980 * libc/posix/execlp.c libc/posix/execve.c: Ditto.
981 * libc/posix/isatty.c libc/posix/opendir.c: Ditto.
982 * libc/posix/popen.c libc/posix/readdir.c: Ditto.
983 * libc/posix/readdir_r.c libc/posix/rewinddir.c: Ditto.
984 * libc/posix/scandir.c libc/posix/seekdir.c: Ditto.
985 * libc/posix/telldir.c libc/search/hcreate.c: Ditto.
986 * libc/search/tdelete.c libc/search/tdestroy.c: Ditto.
987 * libc/search/tfind.c libc/search/tsearch.c: Ditto.
988 * libc/search/twalk.c libc/signal/signal.c: Ditto.
990 2003-06-05 Nick Clifton <nickc@redhat.com>
992 * libc/include/sys/reent.h (struct _on_exit_args): New
993 structure containing fields used by the on_exit() function.
994 (struct _atexit): Include struct _on_exit_args. For
995 _REENT_SMALL do his via a pointer that is initialised when
997 * libc/reent/reent.c (_reclaim_reent): Free the _on_exit_args
998 structure, if one has been allocated.
999 * libc/stdlib/atexit.c (atexit): Update indirection to
1001 * libc/stdlib/on_exit.c (on_exit): Indirect via the
1002 _on_exit_args structure. For _REENT_SMALL, allocate a
1003 structure if one does not exist.
1004 * libc/stdlib/exit.c (exit): Indirect via the _on_exit_args
1007 2003-06-04 Jeff Johnston <jjohnstn@redhat.com>
1009 * libc/sys/linux/net/Makefile.am: Remove extraneous markers.
1010 * libc/sys/linux/net/Makefile.in: Regenerated.
1012 2003-06-03 Jeff Johnston <jjohnstn@redhat.com>
1014 * libc/reent/execr.c: Use _DEFUN macro for function declaration.
1015 * libc/reent/fcntlr.c: Ditto.
1016 * libc/reent/fstat64r.c: Ditto.
1017 * libc/reent/linkr.c: Ditto.
1018 * libc/reent/lseek64r.c: Ditto.
1019 * libc/reent/lseekr.c: Ditto.
1020 * libc/reent/openr.c: Ditto.
1021 * libc/reent/readr.c: Ditto.
1022 * libc/reent/reent.c: Ditto.
1023 * libc/reent/sbrkr.c: Ditto.
1024 * libc/reent/signalr.c: Ditto.
1025 * libc/reent/signgam.c: Ditto.
1026 * libc/reent/statr.c: Ditto.
1027 * libc/reent/timer.c: Ditto.
1028 * libc/reent/unlinkr.c: Ditto.
1029 * libc/reent/writer.c: Ditto.
1030 * libc/syscalls/sysclose.c: Ditto.
1031 * libc/syscalls/sysexecve.c: Ditto.
1032 * libc/syscalls/sysfcntl.c: Ditto.
1033 * libc/syscalls/sysfork.c: Ditto.
1034 * libc/syscalls/sysfstat.c: Ditto.
1035 * libc/syscalls/sysgetpid.c: Ditto.
1036 * libc/syscalls/sysgettod.c: Ditto.
1037 * libc/syscalls/syskill.c: Ditto.
1038 * libc/syscalls/syslink.c: Ditto.
1039 * libc/syscalls/syslseek.c: Ditto.
1040 * libc/syscalls/sysopen.c: Ditto.
1041 * libc/syscalls/sysread.c: Ditto.
1042 * libc/syscalls/syssbrk.c: Ditto.
1043 * libc/syscalls/sysstat.c: Ditto.
1044 * libc/syscalls/systimes.c: Ditto.
1045 * libc/syscalls/sysunlink.c: Ditto.
1046 * libc/syscalls/syswait.c: Ditto.
1047 * libc/syscalls/syswrite.c: Ditto.
1049 2003-06-03 Till Straumann <strauman@SLAC.Stanford.EDU>
1051 * libc/time/tzset_r.c: Change local variables that are
1052 set via sscanf using the %h format specifier to be unsigned short
1055 2003-05-30 Kelley Cook <kelleycook@wideopenwest.com>
1057 * configure.host: Allow i[34567]86 variant.
1058 * configure.in: Likewise.
1059 * README: Likewise to the docs.
1060 * configure: Regenerated.
1061 * Makefile.in: Ditto.
1063 2003-05-28 Jeff Johnston <jjohnstn@redhat.com>
1064 Tom Fitzsimmons <fitzsim@redhat.com>
1066 * configure.in: Add iconvdata support for x86 linux.
1067 * configure: Regenerated.
1068 * libc/sys/linux/Makefile.am: Add EL/IX level 3 network, dynamic
1069 library, iconv, and linuxthreads support.
1070 * libc/sys/linux/configure.in: Ditto.
1071 * libc/sys/linux/Makefile.in: Regenerated.
1072 * libc/sys/linux/configure: Ditto.
1073 * iconvdata/EUC-JP.irreversible: New file.
1074 * iconvdata/Makefile.am: Ditto.
1075 * iconvdata/Makefile.in: Ditto.
1076 * iconvdata/SJIS.irreversible: Ditto.
1077 * iconvdata/aclocal.m4: Ditto.
1078 * iconvdata/configure: Ditto.
1079 * iconvdata/configure.in: Ditto.
1080 * iconvdata/dummy.c: Ditto.
1081 * iconvdata/euc-jp.c: Ditto.
1082 * iconvdata/gconv-modules: Ditto.
1083 * iconvdata/jis0201.c: Ditto.
1084 * iconvdata/jis0201.h: Ditto.
1085 * iconvdata/jis0208.c: Ditto.
1086 * iconvdata/jis0208.h: Ditto.
1087 * iconvdata/jis0212.c: Ditto.
1088 * iconvdata/jis0212.h: Ditto.
1089 * iconvdata/sjis.c: Ditto.
1090 * libc/include/errno.h: Protect definition of error_t.
1091 * libc/sys/linux/gethostid.c: New file.
1092 * libc/sys/linux/sethostid.c: Ditto.
1093 * libc/sys/linux/dl/Makefile.am: Ditto.
1094 * libc/sys/linux/dl/Makefile.in: Ditto.
1095 * libc/sys/linux/dl/abi-tag.h: Ditto.
1096 * libc/sys/linux/dl/atomicity.h: Ditto.
1097 * libc/sys/linux/dl/dl-addr.c: Ditto.
1098 * libc/sys/linux/dl/dl-cache.c: Ditto.
1099 * libc/sys/linux/dl/dl-cache.h: Ditto.
1100 * libc/sys/linux/dl/dl-close.c: Ditto.
1101 * libc/sys/linux/dl/dl-debug.c: Ditto.
1102 * libc/sys/linux/dl/dl-deps.c: Ditto.
1103 * libc/sys/linux/dl/dl-dst.h: Ditto.
1104 * libc/sys/linux/dl/dl-error.c: Ditto.
1105 * libc/sys/linux/dl/dl-fini.c: Ditto.
1106 * libc/sys/linux/dl/dl-init.c: Ditto.
1107 * libc/sys/linux/dl/dl-iteratephdr.c: Ditto.
1108 * libc/sys/linux/dl/dl-libc.c: Ditto.
1109 * libc/sys/linux/dl/dl-librecon.h: Ditto.
1110 * libc/sys/linux/dl/dl-load.c: Ditto.
1111 * libc/sys/linux/dl/dl-lookup.c: Ditto.
1112 * libc/sys/linux/dl/dl-lookupcfg.h: Ditto.
1113 * libc/sys/linux/dl/dl-minimal.c: Ditto.
1114 * libc/sys/linux/dl/dl-misc.c: Ditto.
1115 * libc/sys/linux/dl/dl-object.c: Ditto.
1116 * libc/sys/linux/dl/dl-open.c: Ditto.
1117 * libc/sys/linux/dl/dl-osinfo.h: Ditto.
1118 * libc/sys/linux/dl/dl-profile.c: Ditto.
1119 * libc/sys/linux/dl/dl-profstub.c: Ditto.
1120 * libc/sys/linux/dl/dl-reloc.c: Ditto.
1121 * libc/sys/linux/dl/dl-runtime.c: Ditto.
1122 * libc/sys/linux/dl/dl-support.c: Ditto.
1123 * libc/sys/linux/dl/dl-sym.c: Ditto.
1124 * libc/sys/linux/dl/dl-version.c: Ditto.
1125 * libc/sys/linux/dl/dlfcn.h: Ditto.
1126 * libc/sys/linux/dl/do-lookup.h: Ditto.
1127 * libc/sys/linux/dl/do-rel.h: Ditto.
1128 * libc/sys/linux/dl/dynamic-link.h: Ditto.
1129 * libc/sys/linux/dl/kernel-features.h: Ditto.
1130 * libc/sys/linux/dl/ldsodefs.h: Ditto.
1131 * libc/sys/linux/dl/libintl.h: Ditto.
1132 * libc/sys/linux/dl/trusted-dirs.h: Ditto.
1133 * libc/sys/linux/dl/unsecvars.h: Ditto.
1134 * libc/sys/linux/iconv/Makefile.am: Ditto.
1135 * libc/sys/linux/iconv/Makefile.in: Ditto.
1136 * libc/sys/linux/iconv/categories.def: Ditto.
1137 * libc/sys/linux/iconv/dummy-repertoire.c: Ditto.
1138 * libc/sys/linux/iconv/gconv.c: Ditto.
1139 * libc/sys/linux/iconv/gconv_builtin.c: Ditto.
1140 * libc/sys/linux/iconv/gconv_builtin.h: Ditto.
1141 * libc/sys/linux/iconv/gconv_cache.c: Ditto.
1142 * libc/sys/linux/iconv/gconv_charset.h: Ditto.
1143 * libc/sys/linux/iconv/gconv_close.c: Ditto.
1144 * libc/sys/linux/iconv/gconv_conf.c: Ditto.
1145 * libc/sys/linux/iconv/gconv_db.c: Ditto.
1146 * libc/sys/linux/iconv/gconv_dl.c: Ditto.
1147 * libc/sys/linux/iconv/gconv_int.h: Ditto.
1148 * libc/sys/linux/iconv/gconv_open.c: Ditto.
1149 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
1150 * libc/sys/linux/iconv/gconv_trans.c: Ditto.
1151 * libc/sys/linux/iconv/hash-string.h: Ditto.
1152 * libc/sys/linux/iconv/iconv.c: Ditto.
1153 * libc/sys/linux/iconv/iconv.h: Ditto.
1154 * libc/sys/linux/iconv/iconv_charmap.c: Ditto.
1155 * libc/sys/linux/iconv/iconv_close.c: Ditto.
1156 * libc/sys/linux/iconv/iconv_open.c: Ditto.
1157 * libc/sys/linux/iconv/iconvconfig.c: Ditto.
1158 * libc/sys/linux/iconv/iconvconfig.h: Ditto.
1159 * libc/sys/linux/iconv/loadinfo.h: Ditto.
1160 * libc/sys/linux/iconv/localeinfo.h: Ditto.
1161 * libc/sys/linux/iconv/loop.c: Ditto.
1162 * libc/sys/linux/iconv/skeleton.c: Ditto.
1163 * libc/sys/linux/iconv/strtab.c: Ditto.
1164 * libc/sys/linux/include/dl-hash.h: Ditto.
1165 * libc/sys/linux/include/dlfcn.h: Ditto.
1166 * libc/sys/linux/include/fnmatch.h: Ditto.
1167 * libc/sys/linux/include/gconv.h: Ditto.
1168 * libc/sys/linux/include/glob.h: Ditto.
1169 * libc/sys/linux/include/hesiod.h: Ditto.
1170 * libc/sys/linux/include/ifaddrs.h: Ditto.
1171 * libc/sys/linux/include/libc_private.h: Ditto.
1172 * libc/sys/linux/include/link.h: Ditto.
1173 * libc/sys/linux/include/namespace.h: Ditto.
1174 * libc/sys/linux/include/netconfig.h: Ditto.
1175 * libc/sys/linux/include/netdb.h: Ditto.
1176 * libc/sys/linux/include/nsswitch.h: Ditto.
1177 * libc/sys/linux/include/regex.h: Ditto.
1178 * libc/sys/linux/include/resolv.h: Ditto.
1179 * libc/sys/linux/include/rune.h: Ditto.
1180 * libc/sys/linux/include/runetype.h: Ditto.
1181 * libc/sys/linux/include/semaphore.h: Ditto.
1182 * libc/sys/linux/include/setlocale.h: Ditto.
1183 * libc/sys/linux/include/un-namespace.h: Ditto.
1184 * libc/sys/linux/include/wordexp.h: Ditto.
1185 * libc/sys/linux/include/arpa/ftp.h: Ditto.
1186 * libc/sys/linux/include/arpa/inet.h: Ditto.
1187 * libc/sys/linux/include/arpa/nameser.h: Ditto.
1188 * libc/sys/linux/include/arpa/nameser_compat.h: Ditto.
1189 * libc/sys/linux/include/arpa/telnet.h: Ditto.
1190 * libc/sys/linux/include/arpa/tftp.h: Ditto.
1191 * libc/sys/linux/include/net/bpf.h: Ditto.
1192 * libc/sys/linux/include/net/bpf_compat.h: Ditto.
1193 * libc/sys/linux/include/net/bpfdesc.h: Ditto.
1194 * libc/sys/linux/include/net/bridge.h: Ditto.
1195 * libc/sys/linux/include/net/ethernet.h: Ditto.
1196 * libc/sys/linux/include/net/fddi.h: Ditto.
1197 * libc/sys/linux/include/net/if.h: Ditto.
1198 * libc/sys/linux/include/net/if_arc.h: Ditto.
1199 * libc/sys/linux/include/net/if_arp.h: Ditto.
1200 * libc/sys/linux/include/net/if_atm.h: Ditto.
1201 * libc/sys/linux/include/net/if_dl.h: Ditto.
1202 * libc/sys/linux/include/net/if_gif.h: Ditto.
1203 * libc/sys/linux/include/net/if_ieee80211.h: Ditto.
1204 * libc/sys/linux/include/net/if_llc.h: Ditto.
1205 * libc/sys/linux/include/net/if_media.h: Ditto.
1206 * libc/sys/linux/include/net/if_mib.h: Ditto.
1207 * libc/sys/linux/include/net/if_ppp.h: Ditto.
1208 * libc/sys/linux/include/net/if_pppvar.h: Ditto.
1209 * libc/sys/linux/include/net/if_slvar.h: Ditto.
1210 * libc/sys/linux/include/net/if_sppp.h: Ditto.
1211 * libc/sys/linux/include/net/if_stf.h: Ditto.
1212 * libc/sys/linux/include/net/if_tap.h: Ditto.
1213 * libc/sys/linux/include/net/if_tapvar.h: Ditto.
1214 * libc/sys/linux/include/net/if_tun.h: Ditto.
1215 * libc/sys/linux/include/net/if_tunvar.h: Ditto.
1216 * libc/sys/linux/include/net/if_types.h: Ditto.
1217 * libc/sys/linux/include/net/if_var.h: Ditto.
1218 * libc/sys/linux/include/net/if_vlan_var.h: Ditto.
1219 * libc/sys/linux/include/net/intrq.h: Ditto.
1220 * libc/sys/linux/include/net/iso88025.h: Ditto.
1221 * libc/sys/linux/include/net/net_osdep.h: Ditto.
1222 * libc/sys/linux/include/net/netisr.h: Ditto.
1223 * libc/sys/linux/include/net/pfil.h: Ditto.
1224 * libc/sys/linux/include/net/pfkeyv2.h: Ditto.
1225 * libc/sys/linux/include/net/ppp_comp.h: Ditto.
1226 * libc/sys/linux/include/net/ppp_defs.h: Ditto.
1227 * libc/sys/linux/include/net/radix.h: Ditto.
1228 * libc/sys/linux/include/net/raw_cb.h: Ditto.
1229 * libc/sys/linux/include/net/route.h: Ditto.
1230 * libc/sys/linux/include/net/slcompress.h: Ditto.
1231 * libc/sys/linux/include/net/slip.h: Ditto.
1232 * libc/sys/linux/include/net/zlib.h: Ditto.
1233 * libc/sys/linux/include/netinet/icmp6.h: Ditto.
1234 * libc/sys/linux/include/netinet/icmp_var.h: Ditto.
1235 * libc/sys/linux/include/netinet/if_atm.h: Ditto.
1236 * libc/sys/linux/include/netinet/if_ether.h: Ditto.
1237 * libc/sys/linux/include/netinet/igmp.h: Ditto.
1238 * libc/sys/linux/include/netinet/igmp_var.h: Ditto.
1239 * libc/sys/linux/include/netinet/in.h: Ditto.
1240 * libc/sys/linux/include/netinet/in_gif.h: Ditto.
1241 * libc/sys/linux/include/netinet/in_pcb.h: Ditto.
1242 * libc/sys/linux/include/netinet/in_systm.h: Ditto.
1243 * libc/sys/linux/include/netinet/in_var.h: Ditto.
1244 * libc/sys/linux/include/netinet/ip.h: Ditto.
1245 * libc/sys/linux/include/netinet/ip6.h: Ditto.
1246 * libc/sys/linux/include/netinet/ip_dummynet.h: Ditto.
1247 * libc/sys/linux/include/netinet/ip_ecn.h: Ditto.
1248 * libc/sys/linux/include/netinet/ip_encap.h: Ditto.
1249 * libc/sys/linux/include/netinet/ip_flow.h: Ditto.
1250 * libc/sys/linux/include/netinet/ip_fw.h: Ditto.
1251 * libc/sys/linux/include/netinet/ip_icmp.h: Ditto.
1252 * libc/sys/linux/include/netinet/ip_mroute.h: Ditto.
1253 * libc/sys/linux/include/netinet/ip_var.h: Ditto.
1254 * libc/sys/linux/include/netinet/ipprotosw.h: Ditto.
1255 * libc/sys/linux/include/netinet/tcp.h: Ditto.
1256 * libc/sys/linux/include/netinet/tcp_debug.h: Ditto.
1257 * libc/sys/linux/include/netinet/tcp_fsm.h: Ditto.
1258 * libc/sys/linux/include/netinet/tcp_seq.h: Ditto.
1259 * libc/sys/linux/include/netinet/tcp_timer.h: Ditto.
1260 * libc/sys/linux/include/netinet/tcp_var.h: Ditto.
1261 * libc/sys/linux/include/netinet/tcpip.h: Ditto.
1262 * libc/sys/linux/include/netinet/udp.h: Ditto.
1263 * libc/sys/linux/include/netinet/udp_var.h: Ditto.
1264 * libc/sys/linux/include/netinet6/ah.h: Ditto.
1265 * libc/sys/linux/include/netinet6/ah6.h: Ditto.
1266 * libc/sys/linux/include/netinet6/esp.h: Ditto.
1267 * libc/sys/linux/include/netinet6/esp6.h: Ditto.
1268 * libc/sys/linux/include/netinet6/esp_rijndael.h: Ditto.
1269 * libc/sys/linux/include/netinet6/icmp6.h: Ditto.
1270 * libc/sys/linux/include/netinet6/in6.h: Ditto.
1271 * libc/sys/linux/include/netinet6/in6_gif.h: Ditto.
1272 * libc/sys/linux/include/netinet6/in6_ifattach.h: Ditto.
1273 * libc/sys/linux/include/netinet6/in6_pcb.h: Ditto.
1274 * libc/sys/linux/include/netinet6/in6_prefix.h: Ditto.
1275 * libc/sys/linux/include/netinet6/in6_var.h: Ditto.
1276 * libc/sys/linux/include/netinet6/ip6.h: Ditto.
1277 * libc/sys/linux/include/netinet6/ip6_ecn.h: Ditto.
1278 * libc/sys/linux/include/netinet6/ip6_fw.h: Ditto.
1279 * libc/sys/linux/include/netinet6/ip6_mroute.h: Ditto.
1280 * libc/sys/linux/include/netinet6/ip6_var.h: Ditto.
1281 * libc/sys/linux/include/netinet6/ip6protosw.h: Ditto.
1282 * libc/sys/linux/include/netinet6/ipcomp.h: Ditto.
1283 * libc/sys/linux/include/netinet6/ipcomp6.h: Ditto.
1284 * libc/sys/linux/include/netinet6/ipsec.h: Ditto.
1285 * libc/sys/linux/include/netinet6/ipsec6.h: Ditto.
1286 * libc/sys/linux/include/netinet6/mld6_var.h: Ditto.
1287 * libc/sys/linux/include/netinet6/nd6.h: Ditto.
1288 * libc/sys/linux/include/netinet6/pim6.h: Ditto.
1289 * libc/sys/linux/include/netinet6/pim6_var.h: Ditto.
1290 * libc/sys/linux/include/netinet6/raw_ip6.h: Ditto.
1291 * libc/sys/linux/include/netinet6/scope6_var.h: Ditto.
1292 * libc/sys/linux/include/netinet6/tcp6_var.h: Ditto.
1293 * libc/sys/linux/include/netinet6/udp6_var.h: Ditto.
1294 * libc/sys/linux/include/netns/idp.h: Ditto.
1295 * libc/sys/linux/include/netns/idp_var.h: Ditto.
1296 * libc/sys/linux/include/netns/ns.h: Ditto.
1297 * libc/sys/linux/include/netns/ns_error.h: Ditto.
1298 * libc/sys/linux/include/netns/ns_if.h: Ditto.
1299 * libc/sys/linux/include/netns/ns_pcb.h: Ditto.
1300 * libc/sys/linux/include/netns/sp.h: Ditto.
1301 * libc/sys/linux/include/netns/spidp.h: Ditto.
1302 * libc/sys/linux/include/netns/spp_debug.h: Ditto.
1303 * libc/sys/linux/include/netns/spp_timer.h: Ditto.
1304 * libc/sys/linux/include/netns/spp_var.h: Ditto.
1305 * libc/sys/linux/include/rpc/Makefile: Ditto.
1306 * libc/sys/linux/include/rpc/auth.h: Ditto.
1307 * libc/sys/linux/include/rpc/auth_des.h: Ditto.
1308 * libc/sys/linux/include/rpc/auth_kerb.h: Ditto.
1309 * libc/sys/linux/include/rpc/auth_unix.h: Ditto.
1310 * libc/sys/linux/include/rpc/clnt.h: Ditto.
1311 * libc/sys/linux/include/rpc/clnt_soc.h: Ditto.
1312 * libc/sys/linux/include/rpc/clnt_stat.h: Ditto.
1313 * libc/sys/linux/include/rpc/des.h: Ditto.
1314 * libc/sys/linux/include/rpc/des_crypt.h: Ditto.
1315 * libc/sys/linux/include/rpc/nettype.h: Ditto.
1316 * libc/sys/linux/include/rpc/pmap_clnt.h: Ditto.
1317 * libc/sys/linux/include/rpc/pmap_prot.h: Ditto.
1318 * libc/sys/linux/include/rpc/pmap_rmt.h: Ditto.
1319 * libc/sys/linux/include/rpc/raw.h: Ditto.
1320 * libc/sys/linux/include/rpc/rpc.h: Ditto.
1321 * libc/sys/linux/include/rpc/rpc_com.h: Ditto.
1322 * libc/sys/linux/include/rpc/rpc_msg.h: Ditto.
1323 * libc/sys/linux/include/rpc/rpcb_clnt.h: Ditto.
1324 * libc/sys/linux/include/rpc/rpcb_prot.h: Ditto.
1325 * libc/sys/linux/include/rpc/rpcb_prot.x: Ditto.
1326 * libc/sys/linux/include/rpc/rpcent.h: Ditto.
1327 * libc/sys/linux/include/rpc/svc.h: Ditto.
1328 * libc/sys/linux/include/rpc/svc_auth.h: Ditto.
1329 * libc/sys/linux/include/rpc/svc_dg.h: Ditto.
1330 * libc/sys/linux/include/rpc/svc_soc.h: Ditto.
1331 * libc/sys/linux/include/rpc/types.h: Ditto.
1332 * libc/sys/linux/include/rpc/xdr.h: Ditto.
1333 * libc/sys/linux/intl/Makefile.am: Ditto.
1334 * libc/sys/linux/intl/Makefile.in: Ditto.
1335 * libc/sys/linux/intl/bindtextdom.c: Ditto.
1336 * libc/sys/linux/intl/catgets.c: Ditto.
1337 * libc/sys/linux/intl/catgetsinfo.h: Ditto.
1338 * libc/sys/linux/intl/config.h: Ditto.
1339 * libc/sys/linux/intl/dcgettext.c: Ditto.
1340 * libc/sys/linux/intl/dcigettext.c: Ditto.
1341 * libc/sys/linux/intl/dcngettext.c: Ditto.
1342 * libc/sys/linux/intl/dgettext.c: Ditto.
1343 * libc/sys/linux/intl/dngettext.c: Ditto.
1344 * libc/sys/linux/intl/explodename.c: Ditto.
1345 * libc/sys/linux/intl/finddomain.c: Ditto.
1346 * libc/sys/linux/intl/gettext.c: Ditto.
1347 * libc/sys/linux/intl/gettext.h: Ditto.
1348 * libc/sys/linux/intl/gettextP.h: Ditto.
1349 * libc/sys/linux/intl/hash-string.h: Ditto.
1350 * libc/sys/linux/intl/l10nflist.c: Ditto.
1351 * libc/sys/linux/intl/loadinfo.h: Ditto.
1352 * libc/sys/linux/intl/loadmsgcat.c: Ditto.
1353 * libc/sys/linux/intl/locale.alias: Ditto.
1354 * libc/sys/linux/intl/localealias.c: Ditto.
1355 * libc/sys/linux/intl/ngettext.c: Ditto.
1356 * libc/sys/linux/intl/open_catalog.c: Ditto.
1357 * libc/sys/linux/intl/plural.c: Ditto.
1358 * libc/sys/linux/intl/plural.y: Ditto.
1359 * libc/sys/linux/intl/stpcpy.c: Ditto.
1360 * libc/sys/linux/intl/textdomain.c: Ditto.
1361 * libc/sys/linux/linuxthreads/LICENSE: Ditto.
1362 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
1363 * libc/sys/linux/linuxthreads/Makefile.in: Ditto.
1364 * libc/sys/linux/linuxthreads/aclocal.m4: Ditto.
1365 * libc/sys/linux/linuxthreads/attr.c: Ditto.
1366 * libc/sys/linux/linuxthreads/barrier.c: Ditto.
1367 * libc/sys/linux/linuxthreads/bp-sym.h: Ditto.
1368 * libc/sys/linux/linuxthreads/cancel.c: Ditto.
1369 * libc/sys/linux/linuxthreads/condvar.c: Ditto.
1370 * libc/sys/linux/linuxthreads/config.h: Ditto.
1371 * libc/sys/linux/linuxthreads/configure: Ditto.
1372 * libc/sys/linux/linuxthreads/configure.in: Ditto.
1373 * libc/sys/linux/linuxthreads/defs.awk: Ditto.
1374 * libc/sys/linux/linuxthreads/ecmutex.c: Ditto.
1375 * libc/sys/linux/linuxthreads/events.c: Ditto.
1376 * libc/sys/linux/linuxthreads/getcpuclockid.c: Ditto.
1377 * libc/sys/linux/linuxthreads/getreent.c: Ditto.
1378 * libc/sys/linux/linuxthreads/internals.h: Ditto.
1379 * libc/sys/linux/linuxthreads/join.c: Ditto.
1380 * libc/sys/linux/linuxthreads/joinrace.c: Ditto.
1381 * libc/sys/linux/linuxthreads/kernel-features.h: Ditto.
1382 * libc/sys/linux/linuxthreads/libc-internal.h: Ditto.
1383 * libc/sys/linux/linuxthreads/libc-symbols.h: Ditto.
1384 * libc/sys/linux/linuxthreads/linuxthreads.texi: Ditto.
1385 * libc/sys/linux/linuxthreads/lockfile.c: Ditto.
1386 * libc/sys/linux/linuxthreads/manager.c: Ditto.
1387 * libc/sys/linux/linuxthreads/mq_notify.c: Ditto.
1388 * libc/sys/linux/linuxthreads/mutex.c: Ditto.
1389 * libc/sys/linux/linuxthreads/no-tsd.c: Ditto.
1390 * libc/sys/linux/linuxthreads/oldsemaphore.c: Ditto.
1391 * libc/sys/linux/linuxthreads/posix-timer.h: Ditto.
1392 * libc/sys/linux/linuxthreads/prio.c: Ditto.
1393 * libc/sys/linux/linuxthreads/proc_service.h: Ditto.
1394 * libc/sys/linux/linuxthreads/pt-machine.c: Ditto.
1395 * libc/sys/linux/linuxthreads/ptclock_gettime.c: Ditto.
1396 * libc/sys/linux/linuxthreads/ptclock_settime.c: Ditto.
1397 * libc/sys/linux/linuxthreads/ptfork.c: Ditto.
1398 * libc/sys/linux/linuxthreads/pthread.c: Ditto.
1399 * libc/sys/linux/linuxthreads/ptlongjmp.c: Ditto.
1400 * libc/sys/linux/linuxthreads/queue.h: Ditto.
1401 * libc/sys/linux/linuxthreads/reent.c: Ditto.
1402 * libc/sys/linux/linuxthreads/reqsyscalls.c: Ditto.
1403 * libc/sys/linux/linuxthreads/restart.h: Ditto.
1404 * libc/sys/linux/linuxthreads/rwlock.c: Ditto.
1405 * libc/sys/linux/linuxthreads/semaphore.c: Ditto.
1406 * libc/sys/linux/linuxthreads/semaphore.h: Ditto.
1407 * libc/sys/linux/linuxthreads/shlib-compat.h: Ditto.
1408 * libc/sys/linux/linuxthreads/signals.c: Ditto.
1409 * libc/sys/linux/linuxthreads/specific.c: Ditto.
1410 * libc/sys/linux/linuxthreads/spinlock.c: Ditto.
1411 * libc/sys/linux/linuxthreads/spinlock.h: Ditto.
1412 * libc/sys/linux/linuxthreads/sysctl.c: Ditto.
1413 * libc/sys/linux/linuxthreads/td_init.c: Ditto.
1414 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
1415 * libc/sys/linux/linuxthreads/td_symbol_list.c: Ditto.
1416 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
1417 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
1418 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
1419 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
1420 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
1421 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
1422 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
1423 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
1424 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
1425 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
1426 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
1427 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
1428 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
1429 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
1430 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
1431 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
1432 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
1433 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
1434 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
1435 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
1436 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
1437 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
1438 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
1439 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
1440 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
1441 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
1442 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
1443 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
1444 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
1445 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
1446 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
1447 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
1448 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
1449 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
1450 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
1451 * libc/sys/linux/linuxthreads/testrtsig.h: Ditto.
1452 * libc/sys/linux/linuxthreads/thread_db.h: Ditto.
1453 * libc/sys/linux/linuxthreads/thread_dbP.h: Ditto.
1454 * libc/sys/linux/linuxthreads/timer_create.c: Ditto.
1455 * libc/sys/linux/linuxthreads/timer_delete.c: Ditto.
1456 * libc/sys/linux/linuxthreads/timer_getoverr.c: Ditto.
1457 * libc/sys/linux/linuxthreads/timer_gettime.c: Ditto.
1458 * libc/sys/linux/linuxthreads/timer_routines.c: Ditto.
1459 * libc/sys/linux/linuxthreads/timer_settime.c: Ditto.
1460 * libc/sys/linux/linuxthreads/tst-cancel.c: Ditto.
1461 * libc/sys/linux/linuxthreads/tst-context.c: Ditto.
1462 * libc/sys/linux/linuxthreads/tststack.c: Ditto.
1463 * libc/sys/linux/linuxthreads/unload.c: Ditto.
1464 * libc/sys/linux/linuxthreads/weaks.c: Ditto.
1465 * libc/sys/linux/linuxthreads/wrapsyscall.c: Ditto.
1466 * libc/sys/linux/linuxthreads/bits/initspin.h: Ditto.
1467 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Ditto.
1468 * libc/sys/linux/linuxthreads/bits/libc-tsd.h: Ditto.
1469 * libc/sys/linux/linuxthreads/bits/local_lim.h: Ditto.
1470 * libc/sys/linux/linuxthreads/bits/posix_opt.h: Ditto.
1471 * libc/sys/linux/linuxthreads/bits/pthreadtypes.h: Ditto.
1472 * libc/sys/linux/linuxthreads/bits/sigthread.h: Ditto.
1473 * libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
1474 * libc/sys/linux/linuxthreads/machine/Makefile.in: Ditto.
1475 * libc/sys/linux/linuxthreads/machine/aclocal.m4: Ditto.
1476 * libc/sys/linux/linuxthreads/machine/configure: Ditto.
1477 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
1478 * libc/sys/linux/linuxthreads/machine/generic/generic-sysd: Ditto.ep.h
1479 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
1480 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Ditto.
1481 * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Ditto.
1482 * libc/sys/linux/linuxthreads/machine/i386/bp-asm.h: Ditto.
1483 * libc/sys/linux/linuxthreads/machine/i386/clone.S: Ditto.
1484 * libc/sys/linux/linuxthreads/machine/i386/configure: Ditto.
1485 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
1486 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.S: Ditto.
1487 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.h: Ditto.
1488 * libc/sys/linux/linuxthreads/machine/i386/pspinlock.c: Ditto.
1489 * libc/sys/linux/linuxthreads/machine/i386/pt-machine.h: Ditto.
1490 * libc/sys/linux/linuxthreads/machine/i386/sigcontextinfo.h: Ditto.
1491 * libc/sys/linux/linuxthreads/machine/i386/stackinfo.h: Ditto.
1492 * libc/sys/linux/linuxthreads/machine/i386/sysdep.S: Ditto.
1493 * libc/sys/linux/linuxthreads/machine/i386/sysdep.h: Ditto.
1494 * libc/sys/linux/linuxthreads/machine/i386/useldt.h: Ditto.
1495 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
1496 * libc/sys/linux/net/Makefile.am: Ditto.
1497 * libc/sys/linux/net/Makefile.in: Ditto.
1498 * libc/sys/linux/net/addr2ascii.3: Ditto.
1499 * libc/sys/linux/net/addr2ascii.c: Ditto.
1500 * libc/sys/linux/net/ascii2addr.c: Ditto.
1501 * libc/sys/linux/net/base64.c: Ditto.
1502 * libc/sys/linux/net/bindresvport.c: Ditto.
1503 * libc/sys/linux/net/byteorder.3: Ditto.
1504 * libc/sys/linux/net/ether_addr.c: Ditto.
1505 * libc/sys/linux/net/ethers.3: Ditto.
1506 * libc/sys/linux/net/getaddrinfo.3: Ditto.
1507 * libc/sys/linux/net/getaddrinfo.c: Ditto.
1508 * libc/sys/linux/net/gethostbydns.c: Ditto.
1509 * libc/sys/linux/net/gethostbyht.c: Ditto.
1510 * libc/sys/linux/net/gethostbyname.3: Ditto.
1511 * libc/sys/linux/net/gethostbynis.c: Ditto.
1512 * libc/sys/linux/net/gethostnamadr.c: Ditto.
1513 * libc/sys/linux/net/getifaddrs.3: Ditto.
1514 * libc/sys/linux/net/getifaddrs.c: Ditto.
1515 * libc/sys/linux/net/getipnodebyname.3: Ditto.
1516 * libc/sys/linux/net/getnameinfo.3: Ditto.
1517 * libc/sys/linux/net/getnameinfo.c: Ditto.
1518 * libc/sys/linux/net/getnetbydns.c: Ditto.
1519 * libc/sys/linux/net/getnetbyht.c: Ditto.
1520 * libc/sys/linux/net/getnetbynis.c: Ditto.
1521 * libc/sys/linux/net/getnetent.3: Ditto.
1522 * libc/sys/linux/net/getnetnamadr.c: Ditto.
1523 * libc/sys/linux/net/getproto.c: Ditto.
1524 * libc/sys/linux/net/getprotoent.3: Ditto.
1525 * libc/sys/linux/net/getprotoent.c: Ditto.
1526 * libc/sys/linux/net/getprotoname.c: Ditto.
1527 * libc/sys/linux/net/getservbyname.c: Ditto.
1528 * libc/sys/linux/net/getservbyport.c: Ditto.
1529 * libc/sys/linux/net/getservent.3: Ditto.
1530 * libc/sys/linux/net/getservent.c: Ditto.
1531 * libc/sys/linux/net/herror.c: Ditto.
1532 * libc/sys/linux/net/hesiod.3: Ditto.
1533 * libc/sys/linux/net/hesiod.c: Ditto.
1534 * libc/sys/linux/net/if_indextoname.3: Ditto.
1535 * libc/sys/linux/net/ifname.c: Ditto.
1536 * libc/sys/linux/net/inet.3: Ditto.
1537 * libc/sys/linux/net/inet6_option_s: Ditto.pace.3
1538 * libc/sys/linux/net/inet6_rthdr_space.3: Ditto.
1539 * libc/sys/linux/net/inet_addr.c: Ditto.
1540 * libc/sys/linux/net/inet_lnaof.c: Ditto.
1541 * libc/sys/linux/net/inet_makeaddr.c: Ditto.
1542 * libc/sys/linux/net/inet_net.3: Ditto.
1543 * libc/sys/linux/net/inet_net_ntop.c: Ditto.
1544 * libc/sys/linux/net/inet_net_pton.c: Ditto.
1545 * libc/sys/linux/net/inet_neta.c: Ditto.
1546 * libc/sys/linux/net/inet_netof.c: Ditto.
1547 * libc/sys/linux/net/inet_network.c: Ditto.
1548 * libc/sys/linux/net/inet_ntoa.c: Ditto.
1549 * libc/sys/linux/net/inet_ntop.c: Ditto.
1550 * libc/sys/linux/net/inet_pton.c: Ditto.
1551 * libc/sys/linux/net/innetgr-stub.c: Ditto.
1552 * libc/sys/linux/net/ip6opt.c: Ditto.
1553 * libc/sys/linux/net/iso_addr.3: Ditto.
1554 * libc/sys/linux/net/iso_addr.c: Ditto.
1555 * libc/sys/linux/net/issetugid-stub.c: Ditto.
1556 * libc/sys/linux/net/linkaddr.3: Ditto.
1557 * libc/sys/linux/net/linkaddr.c: Ditto.
1558 * libc/sys/linux/net/map_v4v6.c: Ditto.
1559 * libc/sys/linux/net/name6.c: Ditto.
1560 * libc/sys/linux/net/namespace.h: Ditto.
1561 * libc/sys/linux/net/ns.3: Ditto.
1562 * libc/sys/linux/net/ns_addr.c: Ditto.
1563 * libc/sys/linux/net/ns_name.c: Ditto.
1564 * libc/sys/linux/net/ns_netint.c: Ditto.
1565 * libc/sys/linux/net/ns_ntoa.c: Ditto.
1566 * libc/sys/linux/net/ns_parse.c: Ditto.
1567 * libc/sys/linux/net/ns_print.c: Ditto.
1568 * libc/sys/linux/net/ns_ttl.c: Ditto.
1569 * libc/sys/linux/net/nsap_addr.c: Ditto.
1570 * libc/sys/linux/net/nsdispatch.3: Ditto.
1571 * libc/sys/linux/net/nsdispatch.c: Ditto.
1572 * libc/sys/linux/net/nslexer.c: Ditto.
1573 * libc/sys/linux/net/nslexer.l: Ditto.
1574 * libc/sys/linux/net/nsparser.c: Ditto.
1575 * libc/sys/linux/net/nsparser.h: Ditto.
1576 * libc/sys/linux/net/nsparser.y: Ditto.
1577 * libc/sys/linux/net/rcmd.3: Ditto.
1578 * libc/sys/linux/net/rcmd.c: Ditto.
1579 * libc/sys/linux/net/rcmdsh.3: Ditto.
1580 * libc/sys/linux/net/rcmdsh.c: Ditto.
1581 * libc/sys/linux/net/recv.c: Ditto.
1582 * libc/sys/linux/net/res_comp.c: Ditto.
1583 * libc/sys/linux/net/res_config.h: Ditto.
1584 * libc/sys/linux/net/res_data.c: Ditto.
1585 * libc/sys/linux/net/res_debug.c: Ditto.
1586 * libc/sys/linux/net/res_init.c: Ditto.
1587 * libc/sys/linux/net/res_mkquery.c: Ditto.
1588 * libc/sys/linux/net/res_mkupdate.c: Ditto.
1589 * libc/sys/linux/net/res_query.c: Ditto.
1590 * libc/sys/linux/net/res_send.c: Ditto.
1591 * libc/sys/linux/net/res_update.c: Ditto.
1592 * libc/sys/linux/net/resolver.3: Ditto.
1593 * libc/sys/linux/net/rthdr.c: Ditto.
1594 * libc/sys/linux/net/send.c: Ditto.
1595 * libc/sys/linux/net/un-namespace.h: Ditto.
1596 * libc/sys/linux/net/vars.c: Ditto.
1597 * libc/sys/linux/stdlib/COPYRIGHT: Ditto.
1598 * libc/sys/linux/stdlib/Makefile.am: Ditto.
1599 * libc/sys/linux/stdlib/Makefile.in: Ditto.
1600 * libc/sys/linux/stdlib/cclass.h: Ditto.
1601 * libc/sys/linux/stdlib/cname.h: Ditto.
1602 * libc/sys/linux/stdlib/collate.c: Ditto.
1603 * libc/sys/linux/stdlib/collate.h: Ditto.
1604 * libc/sys/linux/stdlib/collcmp.c: Ditto.
1605 * libc/sys/linux/stdlib/engine.c: Ditto.
1606 * libc/sys/linux/stdlib/fnmatch.3: Ditto.
1607 * libc/sys/linux/stdlib/fnmatch.c: Ditto.
1608 * libc/sys/linux/stdlib/glob.3: Ditto.
1609 * libc/sys/linux/stdlib/glob.c: Ditto.
1610 * libc/sys/linux/stdlib/reallocf.c: Ditto.
1611 * libc/sys/linux/stdlib/regcomp.c: Ditto.
1612 * libc/sys/linux/stdlib/regerror.c: Ditto.
1613 * libc/sys/linux/stdlib/regex.3: Ditto.
1614 * libc/sys/linux/stdlib/regex2.h: Ditto.
1615 * libc/sys/linux/stdlib/regexec.c: Ditto.
1616 * libc/sys/linux/stdlib/regfree.c: Ditto.
1617 * libc/sys/linux/stdlib/utils.h: Ditto.
1618 * libc/sys/linux/stdlib/wordexp.c: Ditto.
1619 * libc/sys/linux/stdlib/wordfree.c: Ditto.
1620 * libc/sys/linux/sys/dlfcn.h: Ditto.
1621 * libc/sys/linux/sys/elfclass.h: Ditto.
1622 * libc/sys/linux/sys/event.h: Ditto.
1623 * libc/sys/linux/sys/ioccom.h: Ditto.
1624 * libc/sys/linux/sys/libc-tsd.h: Ditto.
1625 * libc/sys/linux/sys/link.h: Ditto.
1626 * libc/sys/linux/sys/lock.h: Ditto.
1627 * libc/sys/linux/sys/param.h: Ditto.
1628 * libc/sys/linux/sys/socket.h: Ditto.
1629 * libc/sys/linux/sys/sockio.h: Ditto.
1631 2003-05-28 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
1633 * newlib/libc/machine/h8300/memcpy.S: Use .h8300hn and .h8300sn for
1635 * newlib/libc/machine/h8300/memset.S: Likewise
1636 * newlib/lib/machine/h8300/reg_memcpy.S: Likewise
1637 * newlib/lib/machine/h8300/reg_memset.S: Likewise
1638 * newlib/lib/machine/h8300/setjmp.S: Likewise
1639 * newlib/lib/machine/h8300/strcmp.S: Likewise
1640 * newlib/lib/sys/h8300hms/crt0.S: Likewise
1642 2003-05-13 Corinna Vinschen <corinna@vinschen.de>
1644 * libc/ctype/ctype_.c: Remove checks for deprecated __CYGWIN32__.
1645 * libc/include/stdio.h: Ditto.
1646 * libc/include/sys/config.h: Ditto.
1647 * libc/stdio/mktemp.c: Ditto.
1649 2003-05-13 Corinna Vinschen <corinna@vinschen.de>
1651 * libc/locale/ldpart.c (__part_load_locale): Substitute
1652 __CYGWIN_USE_BIG_TYPES__ by __USE_INTERNAL_STAT64.
1653 * libc/search/hash.c (__hash_open): Ditto.
1655 * libc/stdio/fseek.c (fseek): Ditto.
1656 * libc/stdio/makebuf.c (__smakebuf): Ditto.
1657 * libc/stdio/mktemp.c (_gettemp): Ditto.
1659 2003-05-12 Corinna Vinschen <corinna@vinschen.de>
1661 * libc/include/stdio.h: Change one __CYGWIN__ to __CYGWIN32__.
1663 2003-05-12 Corinna Vinschen <corinna@vinschen.de>
1665 * configure.host: Accomodate removing the libc/sys/cygwin dir.
1666 * libc/locale/ldpart.c (__part_load_locale): Use 64 bit stat call
1667 if __CYGWIN_USE_BIG_TYPES__ is set.
1668 * libc/search/hash.c (__hash_open): Ditto.
1670 * libc/stdio/fseek.c (fseek): Ditto.
1671 * libc/stdio/makebuf.c (__smakebuf): Ditto.
1672 * libc/stdio/mktemp.c (_gettemp): Ditto.
1673 * libc/sys/cygwin/Makefile.am: Remove.
1674 * libc/sys/cygwin/Makefile.in: Remove.
1675 * libc/sys/cygwin/aclocal.m4: Remove.
1676 * libc/sys/cygwin/configure: Remove.
1677 * libc/sys/cygwin/configure.in: Remove.
1678 * libc/sys/cygwin/crt0.c: Move to winsup/cygwin directory.
1679 * libc/sys/cygwin/sys/dirent.h: Move to winsup/cygwin/include/sys
1681 * libc/sys/cygwin/sys/param.h: Ditto.
1682 * libc/sys/cygwin/sys/utime.h: Ditto.
1683 * libc/sys/cygwin/sys/utmp.h: Ditto.
1685 2003-05-11 Corinna Vinschen <corinna@vinschen.de>
1687 * libc/include/sys/types.h: Don't define key_t for Cygwin.
1689 2003-05-10 Christopher Faylor <cgf@redhat.com>
1691 * libc/sys/cygwin/sys/dirent.h (struct dirent): Accommodate (slightly)
1694 2003-05-09 Corinna Vinschen <corinna@vinschen.de>
1696 * libc/include/sys/config.h: Remove all Cygwin specific configuration.
1697 Include cygwin/config.h instead.
1699 2003-04-16 Jeff Johnston <jjohnstn@redhat.com>
1701 * newlib/libc/machine/powerpc (ato*fix*.c,strto*fix*.c): Shield
1702 all code with #ifdef __SPE__ test.
1703 * newlib/libc/machine/powerpc (simdldtoa.c, ufix64toa.c): Ditto.
1705 2003-04-15 Chris January <chris@atomice.net>
1707 * newlib/libc/include/sys/unistd.h: add declaration for gethostid on
1710 2003-04-09 J"orn Rennecke <joern.rennecke@superh.com>
1712 * libc/machine/sh/memset.S: Avoid clobbering volatile
1713 objects following a tiny to-be-set array in the same quadword.
1715 2001-04-09 Corinna Vinschen <corinna@vinschen.de>
1717 * libc/include/wchar.h: Add definitions for wcswidth and wcwidth.
1718 * libc/string/Makefile.am: Add wcswidth.c and wcwidth.c
1719 * libc/string/Makefile.in: Regenerated.
1720 * libc/string/wcswidth.c: New file.
1721 * libc/string/wcwidth.c: New file.
1722 * libc/string/wcstrings.tex: Add wcswidth and wcwidth.
1724 Thu Apr 3 14:01:16 2003 J"orn Rennecke <joern.rennecke@superh.com>
1726 * libc/machine/sh/memset.S: Fix problem with alloco region
1727 exceeding destination region for length >= 88 bytes, start
1728 & 0x16 == 0, end & 0x1f == 18.
1730 2001-04-03 Corinna Vinschen <corinna@vinschen.de>
1732 * libc/string/wcscoll.c: Fix comment.
1734 2001-04-02 Corinna Vinschen <corinna@vinschen.de>
1736 * libc/include/wchar.h: Add definition for wcscoll.
1737 * libc/string/Makefile.am: Add wcscoll.c.
1738 * libc/string/Makefile.in: Regenerated.
1739 * libc/string/wcscoll.c: New file.
1740 * libc/string/wcstrings.tex: Add wcscoll.
1742 2003-04-01 Corinna Vinschen <corinna@vinschen.de>
1744 * libc/stdio/sscanf.c: Update flags description.
1745 * libc/stdio/vfscanf.c: Add CHAR flag value to denote 8 bit target
1747 (__svfscanf_r): Add 'hh' and 'll' handling.
1749 2003-04-01 Corinna Vinschen <corinna@vinschen.de>
1751 * libc/sys/cygwin/sys/dirent.h (struct DIR): Change type of
1752 __d_position member to _off_t.
1754 2003-03-20 Jeff Johnston <jjohnstn@redhat.com>
1756 * libc/stdio/vfscanf.c (__svfscanf_r): For floating point conversion,
1757 count all characters used to create number against maximum width.
1758 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
1760 2003-03-18 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
1762 * libc/include/sys/h8300hms/crt0.S[__SIMULATOR__]: Add commandline
1764 * configure.host (h8300*-*-*): Added comment regarding -D__SIMULATOR__
1765 flag to support simulator only extensions.
1767 2003-03-17 Bob Cassels <bcassels@abinitio.com>
1769 * libc/string/wcschr.c: (wcschr): Look for character first,
1770 then for end of string, so you can do wcschr(x, '\0').
1772 2003-03-10 Corinna Vinschen <corinna@vinschen.de>
1774 * libc/include/stdio.h: Declare fgetpos, fsetpos, fseeko and ftello
1775 with internal (_fpos_t and _off_t) datatypes when compiling newlib.
1776 * libc/include/sys/unistd.h: Declare _lseek using _off_t.
1777 * libc/reent/lseekr.c (_lseek_r): Use _off_t instead of off_t.
1778 * libc/stdio/fseeko.c (fseeko): Ditto.
1779 * libc/stdio/ftello.c (ftello): Ditto.
1780 * libc/stdio/stdio.c (__swrite): Ditto.
1782 * libc/stdio/fgetpos.c (fgetpos): Use _fpos_t instead of fpos_t.
1783 * libc/stdio/fseek.c (fseek): Ditto.
1784 * libc/stdio/fsetpos.c (fsetpos): Ditto.
1785 * libc/stdio/ftell.c (ftell): Ditto.
1786 * libc/stdio/local.h: Declare __sseek using _off_t.
1788 2003-03-09 Corinna Vinschen <corinna@vinschen.de>
1790 * libc/reent/lseekr.c (lseek_r): Use _off_t instead of off_t.
1792 2003-03-09 Corinna Vinschen <corinna@vinschen.de>
1794 * libc/include/sys/config.h: Define __CYGWIN_USE_BIG_TYPES__ for
1797 2003-03-09 Corinna Vinschen <corinna@vinschen.de>
1799 * libc/include/pwd.h: Add guards to avoid type clashes when compiling
1801 * libc/include/sys/stat.h: Ditto.
1802 * libc/include/sys/unistd.h: Ditto.
1803 * libc/sys/cygwin/sys/dirent.h: Ditto.
1805 2003-03-07 Christopher Faylor <cgf@redhat.com>
1807 * libc/include/sys/unistd.h: Guard getopt.h call to force only
1808 declaration of getopt and avoid getopt_long declaration.
1809 * libc/sys/cygwin/include/unistd.h: Remove.
1811 2003-03-07 Corinna Vinschen <corinna@vinschen.de>
1813 * configure.host: Define stdio64_dir for Cygwin.
1814 * libc/include/stdio.h: Change definition of fpos_t to fulfill
1815 Cygwin 64bit file access requirements.
1816 Drop definition of f*64() functions when compiled for Cygwin.
1817 * libc/include/sys/config.h: Define __LARGE64_FILES for Cygwin.
1818 * libc/reent/lseek64r.c: Use _off64_t instead of off64_t.
1819 * libc/stdio64/local64.h: Use _fpos64_t instead of fpos64_t.
1821 2003-03-07 Jeff Johnston <jjohnstn@redhat.com>
1823 * libc/include/sys/reent.h: Remove extraneous _sig_func
1826 2003-02-25 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
1828 * libc/sys/h8300hms/Makefile.am: Add support for new files.
1829 * libc/sys/h8300hms/Makefile.in: Regenerated.
1830 * libc/sys/h8300hms/close.S: New file.
1831 * libc/sys/h8300hms/fstat.S: Ditto.
1832 * libc/sys/h8300hms/lseek.S: Ditto.
1833 * libc/sys/h8300hms/open.S: Ditto.
1834 * libc/sys/h8300hms/stat.S: Ditto.
1835 * libc/sys/h8300hms/read.S: New file to replace read.c.
1836 * libc/sys/h8300hms/read.c: Removed.
1837 * libc/sys/h8300hms/syscalls.c: Removed functions _open,
1838 _lseek, _close, _stat, _fstat.
1839 * libc/sys/h8300hms/write.S: New file to replace write.c.
1840 * libc/sys/h8300hms/write.c: Removed.
1842 2003-02-20 Nick Clifton <nickc@redhat.com>
1844 * Add support for Cirrus Maverick ARM co-processor:
1846 2000-09-13 Aldy Hernandez <aldyh@redhat.com>
1848 * libc/include/machine/ieeefp.h: Set IEEE_BIG_ENDIAN or
1849 IEEE_LITTLE_ENDIAN depending on endian mode (cirrus).
1851 2000-08-11 Aldy Hernandez <aldyh@redhat.com>
1853 * configure.host: set sys_dir, syscall_dir, and
1854 newlib_cflags for ep9312 host.
1856 * configure.host: Restore alpha sorting of entries in case
1859 2003-02-19 Jeff Johnston <jjohnstn@redhat.com>
1861 * libc/stdlib/mallocr.c (unlink): Revert 02/18 fix.
1863 2003-02-18 Christian Groessler <chris@groessler.org>
1865 * libc/machine/z8k/setjmp.S (_setjmp / _longjmp): Fix to
1866 support z8001 segmented mode.
1868 2003-02-18 Earnie Boyd <earnie@users.sf.net>
1870 * libc/stdlib/mallocr.c (unlink): Don't assign a value to a pointer
1873 2003-02-10 Christopher Faylor <cgf@redhat.com>
1875 * libc/include/sys/types.h: Don't define __MS_types__ for Cygwin.
1876 Don't define some types under cygwin.
1878 2003-02-07 Jeff Johnston <jjohnstn@redhat.com>
1880 * acinclude.m4 (--disable-newlib-supplied-syscalls): New configuration
1881 option to allow disabling of syscalls being supplied in newlib.
1882 * aclocal.m4: Regenerated.
1884 * configure.host: Add support of new configuration option and add
1885 -D__NO_SYSCALLS__ if newlib supplied syscalls are disabled.
1886 * doc/aclocal.m4: Regenerated.
1887 * doc/configure: Ditto.
1888 * libc/*aclocal.m4: Ditto.
1889 * libc/*configure: Ditto.
1890 * libm/*aclocal.m4: Ditto.
1891 * libm/*configure: Ditto.
1892 * libc/sys/arm/Makefile.am: Don't build syscalls.o if new option
1894 * libc/sys/arm/Makefile.in: Regenerated.
1896 2003-02-05 Jonathan Larmour <jifl@eCosCentric.com>
1898 * libc/stdio/vsprintf.c (vsprintf, _vsprintf_r): Set _file fd to
1899 -1 to be sure it cannot later match a valid file fd causing
1900 isatty() to return 1.
1901 * libc/stdio/asprintf.c (asprintf, _asprintf_r): Ditto.
1902 * libc/stdio/sprintf.c (sprintf, _sprintf_r): Ditto.
1903 * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Ditto.
1905 2003-02-03 Jeff Johnston <jjohnstn@redhat.com>
1907 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate the format
1908 buffer based on the precision, after we have processed the input value
1909 in a local buffer and know its relative magnitude.
1911 2003-01-31 Michael Snyder <msnyder@redhat.com>
1913 * libc/sys/h8300hms/_exit.c (_exit, __exit): Slip a magic cookie
1914 into registers r1 and r2, so that the simulator can distinguish
1915 this trap from a breakpoint trap. Copied from libgloss.
1917 2003-01-31 Michael Snyder <msnyder@redhat.com>
1919 * libc/sys/h8300hms/crt0.S (_start): Change local label
1920 from .loop to .Loop, so that ld and gdb will ignore it.
1922 2003-01-29 Jason Tishler <jason@tishler.net>
1924 * libc/include/time.h: Declare nanosleep() under Cygwin.
1926 2003-01-24 Nick Clifton <nickc@redhat.com>
1930 2002-04-02 Alexandre Oliva <aoliva@redhat.com>
1932 * libc/machine/sh/asm.h: Added __SH2E__ next to __SH3E__.
1933 * libc/machine/sh/setjmp.S: Likewise.
1934 * libc/include/machine/ieeefp.h: Likewise.
1936 2003-01-24 Corinna Vinschen <corinna@vinschen.de>
1938 * libc/include/sys/unistd.h: Add setregid and setreuid declarations
1941 2003-01-21 Anita Kulkarni <anitak@kpit.com>
1943 * libc/time/difftime.c : Typecast the result to double.
1945 2003-01-20 Christopher Faylor <cgf@redhat.com>
1947 * libc/include/sys/unistd.h: Add rresvport declaration for cygwin.
1949 2003-01-18 Nick Clifton <nickc@redhat.com>
1951 * libc/include/machine/ieeefp.h : Define __IEEE_BIG_ENDIAN,
1952 __SMALL_BITFIELDS and _DOUBLE_IS_32BITS for IP2K.
1954 2003-01-16 Joel Sherrill <joel@OARcorp.com>
1956 * libc/sys/rtems/include/limits.h, libc/sys/rtems/sys/param.h,
1957 libc/sys/rtems/sys/syslimits.h: Update to be in sync with what
1958 constants are defined in each file in the shared versions in
1960 * libc/sys/rtems/crt0.c: Define extra symbols on SH and HP-PA to
1961 autoconf can link programs.
1962 * libc/include/machine/types.h: Explicitly specify signed on
1963 intXX_t types to ensure they are signed.
1965 2003-01-14 Christopher Faylor <cgf@redhat.com>
1967 * libc/time/strftime.c (strftime): Add '%h' and '%l, %k' GNU
1970 2003-01-08 Richard Sandiford <rsandifo@redhat.com>
1972 * configure.host (mips64vr-elf, mips64vrel-elf): New config.
1974 2003-01-07 Charles Wilson <cwilson@ece.gatech.edu>
1976 * libc/stdio/sprintf.c: fix typo
1977 * libc/stdio/vfprintf.c: fix typo
1979 2003-01-07 Jeff Johnston <jjohnstn@redhat.com>
1981 * configure.host: Support long double I/O for x86-linux.
1982 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate a buffer
1983 large enough to hold formatted result.
1984 * libc/machine/powerpc/simdldtoa.c (_simdldtoa_r): Ditto.
1986 2003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
1988 * Makefile.am: Add vasprintf.
1989 * Makefile.in: Regenerated.
1991 2003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
1993 * asprintf.c (_asprintf_r): insure both declarations
1996 2002-12-28 Christopher Faylor <cgf@redhat.com>
1998 * libc/include/sys/unistd.h: Under cygwin, just include getopt.h rather
1999 than defining getopt directly.
2001 2002-12-20 Jeff Johnston <jjohnstn@redhat.com>
2003 * NEWS: Update with 1.11.0 info.
2005 * acinclude.m4: Change version number to 1.11.0.
2006 * aclocal.m4: Regenerated.
2008 * doc/aclocal.m4: Ditto.
2009 * doc/configure: Ditto.
2010 * libc/*/aclocal.m4: Ditto.
2011 * libc/*/configure: Ditto.
2012 * libc/libc.texinfo: Ditto.
2013 * libm/*/aclocal.m4: Ditto.
2014 * libm/*/configure: Ditto.
2015 * libm/libm.texinfo: Ditto.
2016 * libc/sys/linux/shared.ld: Add VERS_1.11.
2018 2002-12-20 Jeff Johnston <jjohnstn@redhat.com>
2020 * libc/machine/i386/f_atan2.S: Change copyright from Cygnus
2021 Solutions to Red Hat Inc.
2022 * libc/machine/i386/f_atan2f.S: Ditto.
2023 * libc/machine/i386/f_exp.c: Ditto.
2024 * libc/machine/i386/f_expf.c: Ditto.
2025 * libc/machine/i386/f_frexp.S: Ditto.
2026 * libc/machine/i386/f_frexpf.S: Ditto.
2027 * libc/machine/i386/f_ldexp.S: Ditto.
2028 * libc/machine/i386/f_ldexpf.S: Ditto.
2029 * libc/machine/i386/f_log.S: Ditto.
2030 * libc/machine/i386/f_log10.S: Ditto.
2031 * libc/machine/i386/f_log10f.S: Ditto.
2032 * libc/machine/i386/f_logf.S: Ditto.
2033 * libc/machine/i386/f_pow.c: Ditto.
2034 * libc/machine/i386/f_powf.c: Ditto.
2035 * libc/machine/i386/f_tan.S: Ditto.
2036 * libc/machine/i386/f_tanf.S: Ditto.
2037 * libc/machine/i386/memchr.S: Ditto.
2038 * libc/machine/i386/memcmp.S: Ditto.
2039 * libc/machine/i386/memcpy.S: Ditto.
2040 * libc/machine/i386/memmove.S: Ditto.
2041 * libc/machine/i386/memset.S: Ditto.
2042 * libc/machine/i386/strchr.S: Ditto.
2043 * libc/machine/i386/strlen.S: Ditto.
2044 * libm/machine/i386/f_atan2.S: Ditto.
2045 * libm/machine/i386/f_atan2f.S: Ditto.
2046 * libm/machine/i386/f_exp.c: Ditto.
2047 * libm/machine/i386/f_expf.c: Ditto.
2048 * libm/machine/i386/f_frexp.S: Ditto.
2049 * libm/machine/i386/f_frexpf.S: Ditto.
2050 * libm/machine/i386/f_ldexp.S: Ditto.
2051 * libm/machine/i386/f_ldexpf.S: Ditto.
2052 * libm/machine/i386/f_log.S: Ditto.
2053 * libm/machine/i386/f_log10.S: Ditto.
2054 * libm/machine/i386/f_log10f.S: Ditto.
2055 * libm/machine/i386/f_logf.S: Ditto.
2056 * libm/machine/i386/f_pow.c: Ditto.
2057 * libm/machine/i386/f_powf.c: Ditto.
2058 * libm/machine/i386/f_tan.S: Ditto.
2059 * libm/machine/i386/f_tanf.S: Ditto.
2061 2002-12-20 Jeff Johnston <jjohnstn@redhat.com>
2063 * libc/stdlib/environ.c: Update license to Red Hat.
2064 * libc/machine/hppa/setjmp.S: Ditto.
2065 * libm/test/Makefile.in: Ditto.
2067 2002-12-19 Jeff Johnston <jjohnstn@redhat.com>
2069 * configure.host: Remove references to go32.
2070 * libc/sys/go32/*: Removed.
2072 2002-12-16 Kazu Hirata <kazu@cs.umass.edu>
2074 * libc/include/sys/config.h: Change setting of INT_MAX
2075 and UINT_MAX, to use __INT_MAX__ for __H8300__, __H8300H__,
2076 __H8300S__. Also consolidate flag settings for these
2079 2002-12-10 Joel Sherrill <joel@OARcorp.com>
2081 * libc/include/machine/setjmp.h: Make sure _JBLEN is defined
2082 for i386-rtems targets.
2084 2002-12-06 Jeff Johnston <jjohnstn@redhat.com>
2086 * libc/include/stdlib.h (strtof): New prototype (from C99).
2087 (strtodf): Changed from prototype to macro which redefines
2089 * libc/stdlib/atof.c: Change documentation to refer to strtof
2091 * libc/stdlib/atoff.c (atoff): Change to call strtof instead of
2093 * libc/stdlib/strtod.c (strtodf): Renamed to strtof.
2094 (strtof): New function.
2095 * libm/test/convert.c (test_strtodf): Renamed to test_strtof which
2098 2002-11-27 Christopher Faylor <cgf@redhat.com>
2100 * libc/string/memset.c (memset): Fix comment.
2102 2002-11-26 Christopher Faylor <cgf@redhat.com>
2104 * libc/string/memset.c (memset): Move initialization of 'd' earlier in
2107 2002-11-25 Christopher Faylor <cgf@redhat.com>
2109 * libc/string/memset.c (memset): Minor optimization: Use new 'd'
2110 variable, introduced below, everywhere.
2112 2002-11-25 Kazu Hirata <kazu@cs.umass.edu>
2114 * libc/string/memset.c (memset): Make it safe even if
2117 2002-11-22 Joe Buehler <jbuehler@hekimian.com>
2119 * configure.in: Change check for libc/include in ${CC} to
2120 use an intermediate value so as to work with different shells.
2121 * configure: Regenerated.
2122 * Makefile.in: Ditto.
2124 2002-11-22 Vijay L. Khuspe <vijayk1@kpit.com>
2126 * libc/sys/h8300hms/read.c: Add support for normal mode
2129 2002-11-20 Ryo Tsuruta <ryo@kitanet.ne.jp>
2131 * libc/machine/h8300/setjmp.S (setjmp, longjmp): Combine common
2132 code for __H8300H__ and __H8300S__. Also return 32-bit return code
2133 when -mint32 is used.
2135 2002-11-18 Nick Clifton <nickc@redhat.com>
2137 * libc/sys/arm/crt0.S: Add NULL to end of argv array.
2139 2002-11-14 Jeff Johnston <jjohnstn@redhat.com>
2141 * testsuite/lib/passfail.exp (newlib_pass_fail): Changed to
2142 only issue one pass/fail message for a compile/link/execute.
2143 * testsuite/newlib.elix/elix.exp: New file.
2144 * testsuite/newlib.elix/tmmap.c: Ditto.
2146 2002-11-06 Christopher Faylor <cgf@redhat.com>
2148 * libc/stdlib/malign.c: Don't compile if MALLOC_PROVIDED.
2149 * libc/stdlib/mlock.c: Ditto.
2150 * libc/stdlib/msize.c: Ditto.
2151 * libc/stdlib/msize.c: Ditto.
2152 * libc/stdlib/mtrim.c: Ditto.
2153 * libc/stdlib/valloc.c: Ditto.
2155 2002-11-12 Jeff Johnston <jjohnstn@redhat.com>
2157 * libc/stdlib/ldtoa.c (e64toe): When checking the exponent
2158 for inf/nan, make sure that the check ignores the sign bit.
2160 2002-11-07 Joel Sherrill <joel@OARcorp.com>
2162 * libc/sys/rtems/machine: New directory.
2163 * libc/sys/rtems/machine/limits.h, libc/sys/rtems/machine/param.h,
2164 libc/sys/rtems/sys/param.h, libc/sys/rtems/sys/syslimits.h,
2165 libc/sys/rtems/sys/utime.h: New files added to make *-rtems newlib
2166 targets more BSD like when installed without requiring files to
2167 be overwritten at install point when RTEMS itself is installed.
2168 * Makefile.am: Pick up system dependent machine .h files such as
2169 might be found on a BSD-ish system.
2170 * Makefile.in: Regenerate.
2171 * libc/include/machine/types.h: When on an RTEMS target, define a
2172 few BSD flavor types.
2174 2002-11-06 Sergey Okhapkin <sos@prospect.com.ru>
2176 * include/utmp.h: Define WTMP_FILE. Define and use UT_IDLEN.
2178 2002-11-06 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
2180 * libc/include/wchar.h: Use _{BEGIN,END}_STD_C instead of extern "C".
2181 * libc/include/wctype.h: Ditto.
2183 2002-11-04 Jeff Johnston <jjohnstn@redhat.com>
2185 * libc/include/wchar.h: Add extern "C" specifier if C++.
2186 * libc/include/wctype.h: Ditto.
2188 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
2190 * testsuite/newlib.wctype/tiswctype.c: New test case.
2191 * testsuite/newlib.wctype/twctrans.c: Ditto.
2193 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
2195 * libc/sys/linux/machine/i386/include/endian.h: New file.
2196 * libc/sys/linux/machine/i386/include/param.h: Ditto.
2198 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
2200 * libm/machine/i386/aclocal.m4: Regenerated.
2201 * libm/machine/i386/configure: Ditto.
2203 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
2205 * testsuite/include/check.h: New header file to use with
2207 * testsuite/lib/newlib.exp: Add testsuite/include directory
2208 to list of header files to use.
2209 * testsuite/newlib.wctype/twctype.c: New test case for iswctype fns.
2210 * testsuite/newlib.wctype/wctype.exp: New file.
2212 2002-10-11 Graham Stott <graham.stott@btinternet.com>
2213 Richard Sandiford <rsandifo@redhat.com>
2215 * libc/include/sys/config.h (SIZE_T_SMALLER_THAN_LONG): Undefine.
2216 * libc/stdlib/mallocr.c (long_sub_size_t): Define in a way that
2217 doesn't require the SIZE_T_SMALLER_THAN_LONG macro.
2219 2002-10-07 Joel Sherrill <joel@OARcorp.com>
2221 * libc/sys/rtems/crt0.c: Add even more symbols so gcc() can link
2224 2002-10-07 Joel Sherrill <joel@OARcorp.com>
2226 * libc/include/pthread.h: Define PTHREAD_CANCELED.
2228 2002-10-07 Joel Sherrill <joel@OARcorp.com>
2230 * libc/machine/hppa/DEFS.h, libc/machine/hppa/pcc_prefix.s,
2231 libc/machine/hppa/setjmp.S, libc/machine/hppa/DEFS.h: Make this
2232 compile with current GNU tools.
2234 2002-10-07 Jeff Johnston <jjohnstn@redhat.com>
2236 * Makefile.am: Add EXTRA_DIRS to allow future dependencies on
2238 * configure.in: Ditto.
2239 * Makefile.in: Regenerated.
2241 * libc/sys/linux/Makefile.am: Add EXTRA_SUBDIRS and EXTRA_SUBLIBS
2242 for specifying configured libraries/directories.
2243 * libc/sys/linux/configure.in: Ditto.
2244 * libc/sys/linux/Makefile.in: Regenerated.
2245 * libc/sys/linux/configure: Ditto.
2247 2002-10-03 Jeff Johnston <jjohnstn@redhat.com>
2249 * libc/include/reent.h: Update documentation at start of file.
2251 2002-09-27 Jim Wilson <wilson@redhat.com>
2253 * libc/sys/sysnecv850/crt0.S (start): Delete v850 code for initializing
2256 2002-09-27 Jeff Johnston <jjohnstn@redhat.com>
2258 * libc/ctype/jp2uc.c: Change to use multiple arrays in jp2uc.h.
2259 Also convert to EUCJP before using arrays. For values not in
2260 the conversion arrays, return WEOF.
2261 * libc/ctype/jp2uc.h: Change from one array to a number of
2262 arrays to account for the fact that the originating table
2263 is not contiguous for the input values since some are invalid.
2265 2002-09-24 Jeff Johnston <jjohnstn@redhat.com>
2267 * libc/time/ctime.c: Fix prototype documentation.
2269 2002-09-24 Corinna Vinschen <corinna@vinschen.de>
2271 * libc/include/sys/errno.h: Add EOVERFLOW.
2273 2002-09-20 Jeff Johnston <jjohnstn@redhat.com>
2275 * libc/include/wctype.h: New file.
2277 2002-09-20 Jeff Johnston <jjohnstn@redhat.com>
2279 * libc/ctype/Makefile.am: Add new files.
2280 * libc/ctype/Makefile.in: Regenerated.
2281 * libc/ctype/ctype.tex: Add new iswxxxx, towxxxx, wctype,
2282 and wctrans functions to documentation index.
2283 * libc/ctype/iswalnum.c: New file.
2284 * libc/ctype/iswalpha.c: Ditto.
2285 * libc/ctype/iswblank.c: Ditto.
2286 * libc/ctype/iswcntrl.c: Ditto.
2287 * libc/ctype/iswctype.c: Ditto.
2288 * libc/ctype/iswdigit.c: Ditto.
2289 * libc/ctype/iswgraph.c: Ditto.
2290 * libc/ctype/iswlower.c: Ditto.
2291 * libc/ctype/iswprint.c: Ditto.
2292 * libc/ctype/iswpunct.c: Ditto.
2293 * libc/ctype/iswspace.c: Ditto.
2294 * libc/ctype/iswupper.c: Ditto.
2295 * libc/ctype/iswxdigit.c: Ditto.
2296 * libc/ctype/jp2uc.c: Ditto.
2297 * libc/ctype/jp2uc.h: Ditto.
2298 * libc/ctype/local.h: Ditto.
2299 * libc/ctype/towctrans.c: Ditto.
2300 * libc/ctype/towlower.c: Ditto.
2301 * libc/ctype/towupper.c: Ditto.
2302 * libc/ctype/utf8alpha.h: Ditto.
2303 * libc/ctype/utf8print.h: Ditto.
2304 * libc/ctype/utf8punct.h: Ditto.
2305 * libc/ctype/wctrans.c: Ditto.
2306 * libc/ctype/wctype.c: Ditto.
2307 * libc/locale/locale.c (__lc_ctype): New external array to
2308 replace static lc_ctype array.
2309 * libc/stdlib/mbtowc_r.c: Use __lc_ctype to check current lc_ctype
2310 rather than reentrancy structure's _current_locale field.
2311 * libc/stdlib/wctomb_r.c: Ditto.
2313 2002-09-20 Jeff Johnston <jjohnstn@redhat.com>
2315 * configure.host: Minor comment and formatting changes.
2316 * libc/Makefile.am: Add libc_la_DEPENDENCIES.
2317 * libc/Makefile.in: Regenerated.
2318 * libc/include/sys/config.h: Minor format change.
2320 2002-09-19 Jeff Johnston <jjohnstn@redhat.com>
2322 * libc/syscalls/sysfcntl.c (fcntl): Fix typo in preprocessor
2325 2002-09-19 Jeff Johnston <jjohnstn@redhat.com>
2327 * libc/posix/opendir.c (opendir): Change code to check
2328 for HAVE_FCNTL before calling fcntl.
2329 * libc/search/hash.c (hash_open): Ditto.
2330 * libc/search/hash_page.c (open_tmp): Ditto.
2331 * libc/reent/Makefile.am: Add fcntlr.c.
2332 * libc/reent/Makefile.in: Regenerated.
2333 * libc/reent/fcntlr.c: New file.
2334 * libc/stdio/fdopen.c (_fdopen_r): Change to call _fcntl_r
2335 instead of _fcntl when HAVE_FCNTL flag is set.
2336 * libc/syscalls/sysfcntl.c (fcntl): Check for HAVE_FCNTL flag
2337 to see if _fcntl or _fcntl_r should be called. If flag is not
2338 set, default to ENOSYS stub.
2340 2002-09-16 Jeff Johnston <jjohnstn@redhat.com>
2342 * libc/include/wchar.h (mbstate_t): Change protective flag to
2344 * libc/include/sys/_types.h (_mbstate_t): Remove protective flag.
2345 [__CYGWIN__]: Remove special code that defines mbstate_t and WEOF
2347 * libc/sys/linux/sys/_types.h (_mbstate_t): Remove protective flag.
2349 2002-09-11 Jeff Johnston <jjohnstn@redhat.com>
2351 * acinclude.m4 (enable-newlib-mb): Change check to
2352 default newlib_mb variable to empty string rather than "no".
2353 * configure.host: Remove hard-coding of -DMB_CAPABLE for
2354 x86-linux and Cygwin. Add code to check for newlib_mb
2355 being unset in which case set to "yes" for x86-linux and
2356 Cygwin. Change check for newlib_mb being "yes" to allow
2357 for an empty string.
2358 * configure.in (_MB_LEN_MAX): New AC_DEFINE.
2359 * newlib.hin (_MB_LEN_MAX): New define to configure.
2360 * aclocal.m4: Regenerated.
2362 * libc/include/limits.h: New file.
2363 * libc/sys/linux/include/limits.h: Ditto.
2364 * doc/aclocal.m4 doc/configure libc/aclocal.m4
2365 libc/configure libc/include/%redact libc/machine/aclocal.m4
2366 libc/machine/configure libc/machine/a29k/aclocal.m4
2367 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
2368 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
2369 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
2370 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
2371 libc/machine/fr30/configure libc/machine/frv/aclocal.m4
2372 libc/machine/frv/configure libc/machine/h8300/aclocal.m4
2373 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
2374 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
2375 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
2376 libc/machine/i386/configure libc/machine/i960/aclocal.m4
2377 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
2378 libc/machine/m32r/configure libc/machine/m68hc11/aclocal.m4
2379 libc/machine/m68hc11/configure libc/machine/m68k/aclocal.m4
2380 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
2381 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
2382 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
2383 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
2384 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
2385 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
2386 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
2387 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
2388 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
2389 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
2390 libc/machine/v850/configure libc/machine/w65/aclocal.m4
2391 libc/machine/w65/configure libc/machine/xscale/aclocal.m4
2392 libc/machine/xscale/configure
2393 libc/machine/xstormy16/aclocal.m4
2394 libc/machine/xstormy16/configure libc/machine/z8k/aclocal.m4
2395 libc/machine/z8k/configure libc/sys/aclocal.m4
2396 libc/sys/configure libc/sys/a29khif/aclocal.m4
2397 libc/sys/a29khif/configure libc/sys/arc/aclocal.m4
2398 libc/sys/arc/configure libc/sys/arm/aclocal.m4
2399 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
2400 libc/sys/cygwin/configure libc/sys/d10v/aclocal.m4
2401 libc/sys/d10v/configure libc/sys/decstation/aclocal.m4
2402 libc/sys/decstation/configure libc/sys/go32/aclocal.m4
2403 libc/sys/go32/configure libc/sys/h8300hms/aclocal.m4
2404 libc/sys/h8300hms/configure libc/sys/h8500hms/aclocal.m4
2405 libc/sys/h8500hms/configure libc/sys/idt/aclocal.m4
2406 libc/sys/idt/configure libc/sys/linux/aclocal.m4
2407 libc/sys/linux/configure libc/sys/linux/include/%redact
2408 libc/sys/linux/machine/aclocal.m4
2409 libc/sys/linux/machine/configure
2410 libc/sys/linux/machine/i386/aclocal.m4
2411 libc/sys/linux/machine/i386/configure
2412 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
2413 libc/sys/mmixware/aclocal.m4 libc/sys/mmixware/configure
2414 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
2415 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
2416 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
2417 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
2418 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
2419 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
2420 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
2421 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
2422 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
2423 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
2424 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
2425 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
2426 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
2427 libm/aclocal.m4 libm/configure: Regenerated.
2429 2002-09-09 Jeff Johnston <jjohnstn@redhat.com>
2431 * libc/sys/linux/machine/i386/crt0.c (_start): Remove
2432 code that clears the .bss section.
2434 2002-09-09 Jeff Johnston <jjohnstn@redhat.com>
2436 * libc/include/sys/_types.h (_mbstate_t): Changed to use
2437 unsigned char internally.
2438 * libc/sys/linux/sys/_types.h: Ditto.
2439 * libc/include/sys/reent.h
2440 * libc/stdlib/mblen.c (mblen): Use function-specific state
2441 value from default reentrancy structure.
2442 * libc/stdlib/mblen_r.c (_mblen_r): If return code from
2443 _mbtowc_r is less than 0, reset state __count value and
2445 * libc/stdlib/mbrlen.c (mbrlen): If the input state pointer
2446 is NULL, use the function-specific pointer provided in the
2447 default reentrancy structure.
2448 * libc/stdlib/mbrtowc.c: Add reentrant form of function.
2449 If input state pointer is NULL, use function-specific area
2450 provided in reentrancy structure.
2451 * libc/stdlib/mbsrtowcs.c: Ditto.
2452 * libc/stdlib/wcrtomb.c: Ditto.
2453 * libc/stdlib/wcsrtombs.c: Ditto.
2454 * libc/stdlib/mbstowcs.c: Reformat.
2455 * libc/stdlib/wcstombs.c: Ditto.
2456 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): If an error occurs,
2457 reset the state's __count value and return -1.
2458 * libc/stdlib/mbtowc.c: Ditto.
2459 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Add restartable functionality.
2460 If number of bytes is used up before completing a valid multibyte
2461 character, return -2 and save the state.
2462 * libc/stdlib/wctomb_r.c (_wctomb_r): Define __state as __count
2463 and change some __count references to __state for clarity.
2465 2002-09-06 Jeff Johnston <jjohnstn@redhat.com>
2467 * libc/include/sys/config.h (MB_LEN_MAX): Removed as this
2468 is defined by <limits.h>.
2470 2002-09-05 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
2472 * libc/include/wchar.h (WCHAR_MAX): Only define if not already
2475 2002-09-04 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
2477 * libc/include/sys/config.h: Define accordingly __WCHAR_MAX__.
2478 * libc/include/wchar.h: Define WCHAR_MIN as 0 and WCHAR_MAX as
2479 __WCHAR_MAX__ or 0x7fffffffu.
2480 * libc/string/wcscmp.c: Delete wrong and unnecessary type cast.
2481 * libc/string/wcsncmp.c: Ditto.
2483 2002-09-03 Jeff Johnston <jjohnstn@redhat.com>
2485 * libc/string/wcschr.c: Add include of <stddef.h>.
2486 * libc/string/wcspbrk.c: Ditto.
2487 * libc/string/wcsrchr.c: Ditto.
2488 * libc/string/wcsstr.c: Ditto.
2490 2002-09-03 Jeff Johnston <jjohnstn@redhat.com>
2492 * libc/include/sys/_types.h (_flock_t): Added.
2493 * libc/include/sys/lock.h (__lock_try_acquire): New interface.
2494 (__lock_try_acquire_recursive): Ditto.
2495 * libc/include/sys/reent.h (__sFILE, __sFILE64): Add new
2497 * libc/stdio/findfp.c (std)[!__SINGLE_THREAD__]: Initialize _lock
2499 * libc/stdio/fopen.c (_fopen_r)[!__SINGLE_THREAD__]: Ditto.
2500 * libc/stdio64/fopen64.c (_fopen64_r)[!__SINGLE_THREAD__]: Ditto.
2501 * libc/sys/linux/include/time.h (struct timespec): Moved from
2502 <sys/types.h> and added check for __need_timespec flag so type
2503 can be defined by itself.
2504 * libc/sys/linux/sys/_types.h (_flock_t): New type.
2505 * libc/sys/linux/sys/types.h (struct timespec): Moved to
2508 2002-08-29 Thomas Fitzsimmons <fitzsim@redhat.com>
2510 * libc/sys/linux/argp: New directory.
2511 * libc/sys/linux/getopt.c: New file.
2512 * libc/sys/linux/getopt1.c: New file.
2513 * libc/sys/linux/getoptlong.c: Remove file.
2514 * libc/sys/linux/include/argp.h: New file.
2515 * libc/sys/linux/Makefile.am: Define argp_dir and ARGP_LIB,
2516 based on ELIX level.
2517 (SUBDIRS): Add argp_dir.
2518 (SUBLIBS): Add ARGP_LIB.
2519 (ELIX_2_OBJS): Add getopt.$(oext), getopt1.$(oext), remove
2520 getopt_long.$(oext).
2521 * libc/sys/linux/configure.in (AC_OUTPUT): Add argp/Makefile.
2523 2002-08-29 Jeff Johnston <jjohnstn@redhat.com>
2525 * libc/libc.texinfo: Add node reference to wide-character strings.
2526 * libc/string/wcstrings.tex: New file.
2527 * libc/string/strtok_r.c: Remove outdated advertising clause.
2528 * libc/string/Makefile.am (doc): Add wide-character string
2529 chapter to documentation.
2530 * libc/string/Makefile.in: Regenerated.
2532 2002-08-29 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
2534 * libc/include/wchar.h: Define NULL. Define WEOF more general
2535 way. Declare functions in newlib manner.
2536 * libc/stdlib/Makefile.am: Delete wmem*.c
2537 * libc/stdlib/Makefile.in: Regenerated.
2538 * libc/stdlib/wmemchr.c: Delete.
2539 * libc/stdlib/wmemcmp.c: Ditto.
2540 * libc/stdlib/wmemcpy.c: Ditto.
2541 * libc/stdlib/wmemmove.c: Ditto.
2542 * libc/stdlib/wmemset.c: Ditto.
2543 * libc/string/Makefile.am: Add wmem*.c and wcs*.c.
2544 * libc/string/Makefile.in: Regenerated.
2545 * libc/string/wcscat.c: New file derived from the NetBSD C Library.
2546 * libc/string/wcschr.c: Ditto.
2547 * libc/string/wcscmp.c: Ditto.
2548 * libc/string/wcscpy.c: Ditto.
2549 * libc/string/wcscspn.c: Ditto.
2550 * libc/string/wcslcat.c: Ditto.
2551 * libc/string/wcslcpy.c: Ditto.
2552 * libc/string/wcslen.c: Ditto.
2553 * libc/string/wcsncat.c: Ditto.
2554 * libc/string/wcsncmp.c: Ditto.
2555 * libc/string/wcsncpy.c: Ditto.
2556 * libc/string/wcspbrk.c: Ditto.
2557 * libc/string/wcsrchr.c: Ditto.
2558 * libc/string/wcsspn.c: Ditto.
2559 * libc/string/wcsstr.c: Ditto.
2560 * libc/string/wmemchr.c: Ditto.
2561 * libc/string/wmemcmp.c: Ditto.
2562 * libc/string/wmemcpy.c: Ditto.
2563 * libc/string/wmemmove.c: Ditto.
2564 * libc/string/wmemset.c: Ditto.
2566 2002-08-29 Jeff Johnston <jjohnstn@redhat.com>
2568 * libc/locale/locale.c (_setlocale_r)[MB_CAPABLE]: Fix so
2569 default locale "" is accepted for LC_CTYPE or LC_MESSAGES
2570 and is treated as if "C" was specified.
2572 2002-08-28 Jeff Johnston <jjohnstn@redhat.com>
2574 * Makefile.am (install-data-local): Move install of build
2575 newlib.h after installing headers in libc/include so as to
2576 overwrite default newlib.h.
2577 * Makefile.in: Regenerated.
2579 2002-08-28 Jeff Johnston <jjohnstn@redhat.com>
2581 * libc/include/newlib.h: New file for tools that use newlib
2582 headers but don't build newlib first (e.g. gcc).
2584 2002-08-28 Jeff Johnston <jjohnstn@redhat.com>
2586 * libc/stdlib/wmemchr.c: Explicitly include <_ansi.h>.
2587 * libc/stdlib/wmemcmp.c: Ditto.
2588 * libc/stdlib/wmemcpy.c: Ditto.
2589 * libc/stdlib/wmemmove.c: Ditto.
2590 * libc/stdlib/wmemset.c: Ditto.
2592 2002-08-27 Egor Duda <deo@logos-m.ru>
2594 * libc/stdlib/wmemchr.c: New file.
2595 * libc/stdlib/wmemcmp.c: Ditto.
2596 * libc/stdlib/wmemcpy.c: Ditto.
2597 * libc/stdlib/wmemmove.c: Ditto.
2598 * libc/stdlib/wmemset.c: Ditto.
2599 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add new files.
2600 * configure.host: Default -DMB_CAPABLE for cygwin.
2601 * libc/include/wchar.h: Declare wmemchr(), wmemcmp(), wmemcpy(),
2602 wmemmove() and wmemset(). Add include of <_ansi.h>.
2603 * libc/stdlib/Makefile.in: Regenerate.
2605 2002-08-27 Jeff Johnston <jjohnstn@redhat.com>
2607 * configure.host: Remove _ELIX_LEVEL flag setting.
2608 * Makefile.am(stmp-targ-include): Copy newlib.h to targ-include.
2609 (install-data-local): Install newlib.h.
2610 * Makefile.in: Regenerated.
2611 * aclocal.m4: Ditto.
2613 * configure.in: Add AM_CONFIG_HEADER to generate newlib.h based on
2614 newlib.hin. Add AC_DEFINE_UNQUOTED entries for _ELIX_LEVEL
2615 and _NEWLIB_VERSION to fill in newlib.h header file entries.
2616 In AC_OUTPUT statement, unset ac_file so multilib support does
2617 not use last ac_file temporary used in newlib.h configuration.
2618 * libc/include/_ansi.h: Include <newlib.h>.
2619 * newlib.hin: New template file for newlib.h.
2620 * stamp-h.in: New file.
2622 2002-08-26 Wu Yongwei <adah@netstd.com>
2624 * time.h (timezonevar): Change "#if" to "#ifdef".
2626 2002-08-26 Jeff Johnston <jjohnstn@redhat.com>
2628 * Makefile.am(LIBC_OBJECTLISTS): Add STDIO64_OBJECTLIST.
2629 * Makefile.in: Regenerated.
2630 * acinclude.m4: Add support for --enable-newlib-elix-level option.
2631 * aclocal.m4: Regenerated.
2633 * configure.host: Add code to define _ELIX_LEVEL if
2634 --enable-newlib-elix-level option is used.
2636 * libc/aclocal.m4: Regenerated.
2637 * libc/configure: Ditto.
2638 * libc/argz/Makefile.am: Add EL/IX level checking.
2639 * libc/argz/Makefile.in: Regenerated.
2640 * libc/argz/dummy.c: New file.
2641 * libc/ctype/Makefile.am: Add EL/IX level checking.
2642 * libc/ctype/Makefile.in: Regenerated.
2643 * libc/locale/Makefile.am: Add EL/IX level checking.
2644 * libc/locale/Makefile.in: Regenerated.
2645 * libc/posix/Makefile.am: Add EL/IX level checking.
2646 * libc/posix/Makefile.in: Regenerated.
2647 * libc/posix/telldir.c: Add EL/IX level checking.
2648 * libc/reent/Makefile.am: Ditto.
2649 * libc/reent/fstat64r.c: Ditto.
2650 * libc/reent/lseek64r.c: Ditto.
2651 * libc/reent/open64r.c: Ditto.
2652 * libc/reent/Makefile.in: Regenerated.
2653 * libc/search/Makefile.am: Add EL/IX level checking.
2654 * libc/search/Makefile.in: Regenerated.
2655 * libc/stdio/Makefile.am: Add EL/IX level checking.
2656 * libc/stdio/Makefile.in: Regenerated.
2657 * libc/stdio64/Makefile.am: Add EL/IX level checking.
2658 * libc/stdio64/Makefile.in: Regenerated.
2659 * libc/stdio64/dummy.c: New file.
2660 * libc/stdio64/fgetpos64.c: Fix so _LARGE64_FILES macro is checked
2661 after first include.
2662 * libc/stdio64/fopen64.c: Ditto.
2663 * libc/stdio64/freopen64.c: Ditto.
2664 * libc/stdio64/fseeko64.c: Ditto.
2665 * libc/stdio64/fsetpos64.c: Ditto.
2666 * libc/stdio64/ftello64.c: Ditto.
2667 * libc/stdio64/tmpfile64.c: Ditto.
2668 * libc/stdlib/Makefile.am: Add EL/IX level checking.
2669 * libc/stdlib/Makefile.in: Regenerated.
2670 * libc/stdlib/mstats.c: Add EL/IX level checking.
2671 * libc/string/Makefile.am: Ditto.
2672 * libc/string/Makefile.in: Regenerated.
2673 * libc/sys/linux/Makefile.am: Add EL/IX level checking.
2674 * libc/sys/linux/Makefile.in: Regenerated.
2675 * libc/sys/linux/aclocal.m4: Ditto.
2676 * libc/sys/linux/configure: Ditto.
2677 * libc/sys/linux/aio.c: Add EL/IX level checking.
2678 * libc/sys/linux/ftok.c: Ditto.
2679 * libc/sys/linux/getdate.c: Ditto.
2680 * libc/sys/linux/ids.c: Ditto.
2681 * libc/sys/linux/inode.c: Ditto.
2682 * libc/sys/linux/io.c: Ditto.
2683 * libc/sys/linux/process.c: Ditto.
2684 * libc/sys/linux/resource.c: Ditto.
2685 * libc/sys/linux/sched.c: Ditto.
2686 * libc/sys/linux/sig.c: Ditto.
2687 * libc/sys/linux/termios.c: Ditto.
2688 * libc/sys/linux/wait.c: Ditto plus add __waitpid and
2689 __libc___waitpid weak aliases.
2690 * libc/sys/linux/machine/i386/syscall.h: Add new _base macros
2691 that generate the code for a syscall, but do not create a
2693 * libc/syscalls/Makefile.am: Add EL/IX level checking.
2694 * libc/syscalls/Makefile.in: Regenerated.
2695 * libc/time/tzset_r.c: Change to replace strdup with equivalent
2697 * libc/unix/Makefile.am: Add EL/IX level checking.
2698 * libc/unix/Makefile.in: Regenerated.
2700 2002-08-26 Christopher Faylor <cgf@redhat.com>
2702 * libc/include/malloc.h: On cygwin, define malloc _r functions as
2703 wrapper macros to standard malloc functions.
2704 * libc/include/stdlib.h: Ditto.
2705 * configure.host: Always define MALLOC_PROVIDED on cygwin.
2707 2002-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
2709 * libc/include/langinfo.h: New file.
2710 * libc/include/wchar.h: Likewise.
2711 * libc/include/sys/syslimits.h: Likewise.
2712 * libc/locale/fix_grouping.c: Likewise.
2713 * libc/locale/ldpart.c: Likewise.
2714 * libc/locale/ldpart.h: Likewise.
2715 * libc/locale/lmessages.c: Likewise.
2716 * libc/locale/lmessages.h: Likewise.
2717 * libc/locale/lmonetary.c: Likewise.
2718 * libc/locale/lmonetary.h: Likewise.
2719 * libc/locale/lnumeric.c: Likewise.
2720 * libc/locale/lnumeric.h: Likewise.
2721 * libc/locale/nl_langinfo.3: Likewise.
2722 * libc/locale/nl_langinfo.c: Likewise.
2723 * libc/locale/timelocal.c: Likewise.
2724 * libc/locale/timelocal.h: Likewise.
2725 * libc/stdlib/btowc.c: Likewise.
2726 * libc/stdlib/mbrlen.c: Likewise.
2727 * libc/stdlib/mbrtowc.c: Likewise.
2728 * libc/stdlib/mbsinit.c: Likewise.
2729 * libc/stdlib/mbsrtowcs.c: Likewise.
2730 * libc/stdlib/wcrtomb.c: Likewise.
2731 * libc/stdlib/wcsrtombs.c: Likewise.
2732 * libc/stdlib/wctob.c: Likewise.
2733 * libc/sys/linux/prof-freq.c: Likewise.
2734 * libc/sys/linux/profile.c: Likewise.
2735 * libc/sys/linux/machine/i386/dl-procinfo.c: Likewise.
2736 * libc/sys/linux/machine/i386/dl-procinfo.h: Likewise.
2737 * libc/include/stdlib.h: Change re-entrant functions to take
2739 * libc/include/sys/_types.h: Define _mbstate_t.
2740 * libc/include/sys/config.h (MB_LEN_MAX): New macro.
2741 * libc/include/sys/errno.h (EILSEQ): New error code.
2742 * libc/include/sys/reent.h: Include wchar.h. Change reentrant
2743 structure to use mbstate_t.
2744 * libc/locale/Makefile.am (LIB_SOURCES): Add new files.
2745 * libc/machine/powerpc/vfprintf.c: Use mbstate_t.
2746 * libc/machine/powerpc/vfscanf.c: Likewise.
2747 * libc/stdio/getdelim.c: Reallocate buffer only when necessary.
2748 * libc/stdio/vfprintf.c: Likewise.
2749 * libc/stdio/vfscanf.c: Likewise.
2750 * libc/stdlib/Makefile.am (LIB_SOURCES): Add new files.
2751 * libc/stdlib/mblen.c: Use mbstate_t.
2752 * libc/stdlib/mblen_r.c: Likewise.
2753 * libc/stdlib/mbstowcs.c: Likewise.
2754 * libc/stdlib/mbstowcs_r.c: Likewise.
2755 * libc/stdlib/mbtowc.c: Likewise.
2756 * libc/stdlib/mbtowc_r.c: Likewise.
2757 * libc/stdlib/wcstombs.c: Likewise.
2758 * libc/stdlib/wcstombs_r.c: Likewise.
2759 * libc/stdlib/wctomb_r.c: Likewise.
2760 * libc/sys/linux/Makefile.am (LIB_SOURCES): Add prof-freq.c and
2762 * libc/sys/linux/machine/i386/Makefile.am (LIB_SOURCES): Add
2764 * libc/sys/linux/sys/errno.h (EILSEQ): New error code.
2765 * libc/sys/linux/sys/types.h (off_t): Define type.
2766 * testsuite/newlib.locale/UTF-8.c: Change locale name from UTF-8
2768 * testsuite/newlib.locale/UTF-8.exp: Likewise.
2770 2002-08-20 Casper S. Hornstrup <chorns@users.sourceforge.net>
2772 * libc/stdlib/mallocr.c: #include windows.h on Win32.
2773 (AlignPage): Continue macro on next line.
2775 2002-08-19 Jeff Johnston <jjohnstn@redhat.com>
2777 * libc/sys/linux/include/pthread.h: New file.
2779 2002-08-19 Jeff Johnston <jjohnstn@redhat.com>
2781 * libc/include/sys/types.h: Support __need_inttypes macro
2782 that only sets the __intxx and __uintxx types.
2783 * libc/machine/powerpc/Makefile.am: Add stdlib to include directories
2785 * libc/machine/powerpc/Makefile.in: Regenerated.
2786 * libc/machine/powerpc/vfprintf.c: Fix state variable type.
2787 * libc/machine/powerpc/vfscanf.c: Fix state variable type. Remove
2788 redundant fixed-point conversion prototypes.
2789 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Include <sys/types.h>
2790 after setting __need_inttypes.
2792 2002-08-18 Christopher Faylor <cgf@redhat.com>
2794 * libc/include/sys/unistd.h: Add getsid declaration for cygwin.
2796 2002-08-17 Jeff Johnston <jjohnstn@redhat.com>
2798 * libc/include/sys/config.h[__PPC__][__SPE__]: Set
2799 _LONG_DOUBLE to double.
2801 2002-08-17 Jeff Johnston <jjohnstn@redhat.com>
2803 * configure.host: Add powerpc*-*-eabispe* configuration.
2804 * libc/machine/powerpc/atosfix16.c: New fixed-point conversion file.
2805 * libc/machine/powerpc/atosfix32.c: Ditto.
2806 * libc/machine/powerpc/atosfix64.c: Ditto.
2807 * libc/machine/powerpc/atoufix16.c: Ditto.
2808 * libc/machine/powerpc/atoufix32.c: Ditto.
2809 * libc/machine/powerpc/atoufix64.c: Ditto.
2810 * libc/machine/powerpc/fix64.h: Ditto.
2811 * libc/machine/powerpc/simdldtoa.c: Ditto.
2812 * libc/machine/powerpc/strtosfix16.c: Ditto.
2813 * libc/machine/powerpc/strtosfix32.c: Ditto.
2814 * libc/machine/powerpc/strtosfix64.c: Ditto.
2815 * libc/machine/powerpc/strtoufix16.c: Ditto.
2816 * libc/machine/powerpc/strtoufix32.c: Ditto.
2817 * libc/machine/powerpc/strtoufix64.c: Ditto.
2818 * libc/machine/powerpc/ufix64toa.c: Ditto.
2819 * libc/machine/powerpc/configure.in: Add check for
2820 powerpc*-eabispe and add fixed-point conversion functions.
2821 * libc/machine/powerpc/configure: Regenerated.
2822 * libc/machine/powerpc/vfprintf.c[__SPE__]: Add support for
2823 %r and %R format specifiers which handle fixed-point data.
2824 * libc/machine/powerpc/vfscanf.c[__SPE__]: Ditto.
2825 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Add fixed-point
2826 function prototypes.
2828 2002-08-17 Jeff Johnston <jjohnstn@redhat.com>
2830 * Makefile.am: Move cmath stuff into libc/sys/linux.
2831 * Makefile.in: Regenerated.
2832 * configure.host: Default -DMB_CAPABLE for x86-linux.
2833 * libc/include/reent.h: Define _sbrk to take signed int argument.
2834 * libc/include/sys/unistd.h: Ditto for _sbrk_r and sbrk.
2835 * libc/locale/locale.c[MB_CAPABLE]: Add LC_MESSAGES support and
2836 make locale name checking more efficient. Also allow "C-ISO-8859-1"
2837 locale for LC_CTYPE and LC_MESSAGES.
2838 * libc/reent/sbrkr.c: Change prototype to take ptrdiff_t.
2839 * libc/sys/linux/brk.c: Change sbrk prototype.
2840 * libc/sys/linux/include/time.h: Remove Cygwin stuff and
2841 include <sys/features.h>.
2842 (CLOCK_THREAD_CPUTIME): Renamed to CLOCK_THREAD_CPUTIME_ID.
2843 (CLOCK_PROCESS_CPUTIME): Renamed to CLOCK_PROCESS_CPUTIME_ID.
2844 * libc/sys/linux/sys/cdefs.h: Replace with glibc sys/cdefs.h
2845 with a few local additions.
2846 * libc/sys/linux/sys/features.h: New file.
2847 * libc/sys/linux/sys/unistd.h: Change _sbrk_r and sbrk prototypes
2848 to take signed argument.
2849 * libc/syscalls/syssbrk.c: Change sbrk, _sbrk_r, and _sbrk
2850 prototypes to take signed size argument.
2852 2002-08-16 Thomas Fitzsimmons <fitzsim@redhat.com>
2854 * libc/sys/linux/cmath: New directory.
2855 * libc/sys/linux/include/cmathcalls.h: New file.
2856 * libc/sys/linux/include/complex.h: New file.
2857 * libc/sys/linux/machine/i386/huge_val.h: New file
2858 * libm/math/w_sincos.c: New file
2859 * libm/math/wf_sincos.c: New file
2860 * libm/mathfp/s_sincos.c: New file
2861 * libm/mathfp/sf_sincos.c: New file
2862 * Makefile.am (LIBC_OBJECTLISTS): Add cmath/objectlist.awk.in.
2863 * libc/include/math.h: Add sincos and sincosf declarations.
2864 * libc/sys/linux/Makefile.am (SUBDIRS): Add cmath.
2865 (SUBLIBS): Likewise.
2866 * libc/sys/linux/configure.in (AC_OUTPUT): Add cmath.
2867 * libm/math/Makefile.am (src): Add w_sincos.c.
2868 (fsrc): Add wf_sincos.c.
2869 * libm/mathfp/Makefile.am (src): Add s_sincos.c
2870 (fsrc): Add sf_sincos.c.
2872 2002-08-12 Jeff Johnston <jjohnstn@redhat.com>
2874 * libc/sys/linux/machine/i386/crt0.c (__bss_start,_end):
2875 Declare as extern chars and use the address operator to
2876 properly use values set in linker script.
2878 2002-08-09 Jason Tishler <jason@tishler.net>
2880 * libc/stdlib/mallocr.c: Include <limits.h>.
2881 (request2size): Change macro to do
2882 unsigned long comparisons and avoid signed overflow.
2883 (mALLOc): Add overflow check for the number of bytes to allocate.
2886 2002-08-09 Jeff Johnston <jjohnstn@redhat.com>
2888 * configure.host: Add check for --enable-newlib-io-pos-args
2889 and define WANT_IO_POS_ARGS flag if enabled. Define
2890 the flag by default for x86-linux configurations.
2891 * configure.in: Add support for --enable-newlib-io-pos-args.
2892 * libc/configure.in: Ditto.
2893 * configure: Regenerated.
2894 * libc/configure: Ditto.
2895 * libc/stdio/Makefile.am: Specify -fshort-enums for compiling
2896 vfprintf.c and vfiprintf.c.
2897 * libc/stdio/Makefile.in: Regenerated.
2898 * libc/stdio/vfprintf.c: Add positional argument support that
2899 is enabled by compiling with -DWANT_IO_POS_ARGS.
2901 2002-08-07 Richard Sandiford <rsandifo@redhat.com>
2903 * libc/include/machine/setjmp.h: For mips, define _JBLEN based
2904 based on __mips_soft_float rather than __mips64.
2905 * libc/machine/mips/setjmp.S: Provide hard and soft float versions
2906 of both 32-bit and 64-bit code.
2908 2002-08-04 Christopher Faylor <cgf@redhat.com>
2910 * libc/stdio/popen.c (popen): Allow "rb", "rt", "wb", and "wt"
2911 arguments for popen to match similar functionality in fopen.
2913 2002-07-29 Pierre Humblet <pierre.humblet@ieee.org>
2915 * libc/include/sys/unistd.h: Add setgroups prototype for Cygwin.
2917 2002-07-29 Jeff Johnston <jjohnstn@redhat.com>
2919 * libc/sys/linux/Makefile.am: Add aio64.c.
2920 * libc/sys/linux/Makefile.in: Regenerated.
2921 * libc/sys/linux/aio.c (aio_init): ENOSYS stub added.
2922 * libc/sys/linux/aio64.c: New file.
2924 2002-07-26 Jeff Johnston <jjohnstn@redhat.com>
2926 * libc/include/sys/param.h (MAX, MIN): Added macros.
2927 * libc/sys/linux/Makefile.am: Add new files.
2928 * libc/sys/linux/Makefile.in: Regenerated.
2929 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
2930 * libc/sys/linux/inode.c (fchdir): Added syscall.
2931 * libc/sys/linux/ftw.c: New file.
2932 * libc/sys/linux/ftw64.c: Ditto.
2933 * libc/sys/linux/getwd.c: Ditto.
2934 * libc/sys/linux/scandir64.c: Ditto.
2935 * libc/sys/linux/strverscmp.c: Ditto.
2936 * libc/sys/linux/versionsort.c: Ditto.
2937 * libc/sys/linux/versionsort64.c: Ditto.
2939 2002-07-26 Jeff Johnston <jjohnstn@redhat.com>
2941 * libc/string/strings.tex: Fix typo for memccpy.
2943 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
2945 * libc/sys/linux/io64.c (truncate64, ftruncate64): Added.
2946 * libc/sys/linux/sys/types.h (off64_t): Definition added.
2948 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
2950 * libc/sys/linux/Makefile.am: Add fclean.c.
2951 * libc/sys/linux/Makefile.in: Regenerated.
2952 * libc/sys/linux/fclean.c: New file.
2954 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
2956 * libc/sys/linux/Makefile.am: Add confstr.c.
2957 * libc/sys/linux/Makefile.in: Regenerated.
2958 * libc/sys/linux/confstr.c: New file.
2959 * libc/sys/linux/confstr.h: Ditto.
2960 * libc/sys/linux/sys/unistd.h: Include <features.h> and
2961 <bits/environments.h>.
2963 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
2965 * libc/sys/linux/config.h (__set_errno): Macro definition removed.
2966 * libc/sys/linux/fpathconf.c (__set_errno): Ditto.
2967 * libc/sys/linux/libc-internal.h (__set_errno): Ditto.
2968 * libc/sys/linux/pathconf.c (__set_errno): Ditto.
2969 * libc/sys/linux/ttyname_r.c (__set_errno): Ditto.
2970 * libc/sys/linux/sys/errno.h (__set_errno): Macro definition added.
2972 2002-07-24 Jeff Johnston <jjohnstn@redhat.com>
2974 * libc/sys/linux/Makefile.am: Add new files.
2975 * libc/sys/linux/Makefile.in: Regenerated.
2976 * libc/sys/linux/fstab.c: New file.
2977 * libc/sys/linux/fstatvfs.c: Ditto.
2978 * libc/sys/linux/fstatvfs64.c: Ditto.
2979 * libc/sys/linux/internal_statvfs.c: Ditto.
2980 * libc/sys/linux/mntent.c: Ditto.
2981 * libc/sys/linux/mntent_r.c: Ditto.
2982 * libc/sys/linux/statvfs.c: Ditto.
2983 * libc/sys/linux/statvfs64.c: Ditto.
2984 * libc/sys/linux/include/paths.h: Ditto.
2985 * libc/sys/linux/inode.c (statfs, fstatfs): New syscalls
2986 with double-underscore weak-aliases.
2987 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
2989 2002-07-24 Jeff Johnston <jjohnstn@redhat.com>
2991 * libc/include/signal.h (SIG_IGN, SIG_DFL, SIG_ERR): Change
2992 to use _sig_func_ptr type casted constants.
2993 (_sig_func_ptr): Typedef moved to sys/signal.h.
2994 * libc/include/sys/signal.h (_sig_func_ptr): Typedef added.
2995 For __rtems, use POSIX definition, otherwise default to ANSI.
2996 * libc/sys/linux/sys/signal.h (_sig_func_ptr): Typedef added.
2998 2002-07-24 Stephane Carrez <stcarrez@nerim.fr>
3000 * configure.host: Recognize m6811-elf and m6812-elf targets.
3001 * libc/include/machine/setjmp.h (_JBLEN): Define for 68hc11/68hc12.
3002 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Define for 68HC11.
3003 (_DOUBLE_IS_32BITS): Define when compiling with -fshort-double.
3004 * libc/include/sys/config.h (INT_MAX, UINT_MAX): Define
3005 according to __INT_MAX__.
3006 (_POINTER_INT): Define to short.
3007 * libc/machine/m68hc11/Makefile.am: New file.
3008 * libc/machine/m68hc11/Makefile.in: New file.
3009 * libc/machine/m68hc11/configure.in: New file.
3010 * libc/machine/m68hc11/configure: New file.
3011 * libc/machine/m68hc11/aclocal.m4: New file.
3012 * libc/machine/m68hc11/setjmp.S: New file.
3014 2002-07-23 Jeff Johnston <jjohnstn@redhat.com>
3016 * libc/include/string.h: Add mempcpy, strndup, and _strndup_r
3018 * libc/stdlib/Makefile.am: Remove strdup.c and strdup_r.c.
3019 * libc/stdlib/Makefile.in: Regenerated.
3020 * libc/stdlib/strdup.c: Removed.
3021 * libc/stdlib/strdup_r.c: Removed.
3022 * libc/string/Makefile.am: Add strdup.c, strdup_r.c, memccpy.c,
3023 mempcpy.c, strndup.c, and strndup_r.c.
3024 * libc/string/Makefile.in: Regenerated.
3025 * libc/string/memccpy.c: New file.
3026 * libc/string/mempcpy.c: Ditto.
3027 * libc/string/strndup.c: Ditto.
3028 * libc/string/strndup_r.c: Ditto.
3029 * libc/string/strdup.c: New file moved from stdlib.
3030 * libc/string/strdup_r.c: Ditto.
3031 * libc/string/strings.tex: Add memccpy and mempcpy documentation.
3033 2002-07-23 Jeff Johnston <jjohnstn@redhat.com>
3035 * libc/include/stdio.h: Move fcloseall prototype within
3036 #ifndef _REENT_ONLY section.
3037 * libc/sys/linux/Makefile.am: Add new files.
3038 * libc/sys/linux/Makefile.in: Regenerated.
3039 * libc/sys/linux/sys/stdio.h: Add ctermid prototype.
3040 * libc/sys/linux/sys/unistd.h: Add ttyname_r prototype.
3041 * libc/sys/linux/sys/types.h: Add ino64_t type.
3042 * libc/sys/linux/ctermid.c: New file.
3043 * libc/sys/linux/ttyname_r.c: Ditto.
3044 * libc/sys/linux/readdir64.c: Ditto.
3046 2002-07-22 Jeff Johnston <jjohnstn@redhat.com>
3048 * libc/include/stdio.h (fcloseall, _fcloseall_r): Added prototypes.
3049 * libc/stdio/Makefile.am: Added fcloseall.c support.
3050 * libc/stdio/Makefile.in: Regenerated.
3051 * libc/stdio/fcloseall.c: New file.
3052 * libc/stdio64/Makefile.am: Remove missing .def references.
3053 * libc/stdio64/Makefile.in: Regenerated.
3055 2002-07-22 Jeff Johnston <jjohnstn@redhat.com>
3057 * libc/machine/powerpc/time.c: Removed..renamed to times.c.
3058 * libc/machine/powerpc/times.c: New file.
3059 * libc/machine/powerpc/Makefile.am: Change time.c to times.c.
3060 * libc/machine/powerpc/Makefile.in: Regenerated.
3062 2002-07-22 Aldy Hernandez <aldyh@redhat.com>
3064 * libc/machine/powerpc/time.c: New file.
3065 * libc/machine/powerpc/Makefile.am (lib_a_SOURCES): Add
3067 * libc/machine/powerpc/Makefile.in: Regenerated.
3069 2002-07-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3071 * libc/libc.texinfo: Change copyright notices to Red Hat from
3073 * libm/libm.texinfo: Likewise.
3074 * README: Change docs URL to
3075 http://sources.redhat.com/newlib/docs.html.
3077 2002-07-19 Jeff Johnston <jjohnstn@redhat.com>
3079 * libc/sys/linux/Makefile.am: Add pathconf.c and fpathconf.c.
3080 * libc/sys/linux/Makefile.in: Regenerated.
3081 * libc/sys/linux/inode.c: Add chmod, fchmod, and chown syscalls.
3082 * libc/sys/linux/io.c: Add ftruncate syscall.
3083 * libc/sys/linux/fpathconf.c: New file.
3084 * libc/sys/linux/pathconf.c: Ditto.
3085 * libc/sys/linux/linux_fsinfo.h: Ditto.
3086 * libc/sys/linux/sys/unistd.h: Ditto.
3088 2002-07-19 Jeff Johnston <jjohnstn@redhat.com>
3090 * libc/stdio64/Makefile.am: Remove missing files.
3091 * libc/stdio64/Makefile.in: Regenerated.
3093 2002-07-19 Jeff Johnston <jjohnstn@redhat.com>
3095 * libc/include/sys/config.h[__i386__][__linux__]: Define
3096 _LARGE64FILE_SOURCE to 1.
3097 * libc/sys/linux/Makefile.am: Add getrlimit64.c and setrlimit64.c.
3098 * libc/sys/linux/Makefile.in: Regenerated.
3099 * libc/sys/linux/resource.c: Add __getrlimit and __setrlimit aliases.
3100 * libc/sys/linux/sys/linux_time.h: Protect struct timeval definition.
3101 * libc/sys/linux/sys/resource.h: Include <bits/resource.h> instead
3102 of <linux/resource.h>.
3103 * libc/sys/linux/getrlimit64.c: New file.
3104 * libc/sys/linux/setrlimit64.c: Ditto.
3106 2002-07-19 Thomas Fitzsimmons <fitzsim@redhat.com>
3108 * libc/argz/argz_replace.c: Include buf_findstr.h.
3109 * libc/argz/buf_findstr.c: Likewise.
3110 * libc/argz/envz_entry.c: Include buf_findstr.h. Cast return
3112 * libc/argz/envz_get.c: Likewise.
3113 * libc/include/sys/unistd.h: Add getopt and getsubopt declarations.
3114 * libc/stdlib/Makefile.am (LIB_SOURCES): Add getsubopt.c.
3115 * libc/stdlib/getsubopt.3: New file.
3116 * libc/stdlib/getsubopt.c: New file.
3117 * libc/sys/linux/machine/i386/socketcall.h (__sockcall_base):
3120 2002-07-17 Jeff Johnston <jjohnstn@redhat.com>
3122 * configure.host(stdio64_dir): New setting that is used to
3123 enable building of new stdio64 directory.
3124 * libc/Makefile.am[HAVE_STDIO64_DIR]: Add support for
3126 (stmp-stdio64,stdio64.texi): New targets to optionally add in
3127 stdio64 info to info files.
3128 * libc/Makefile.in: Regenerated.
3129 * libc/configure: Ditto.
3130 * libc/configure.in: Add configuration variables that are set
3131 when stdio64 is selected as subdir in configure.host.
3132 * libc/libc.texinfo: Add optional menu item for Stdio64, based
3133 on whether STDIO64 flag is set or not.
3134 * libc/sys.tex: Add optional stdio64 syscalls based on whether
3135 STDIO64 flag is set or not.
3136 * libc/include/reent.h[__LARGE64_FILES]: Add new stdio64
3138 * libc/include/stdio.h[__LARGE64_FILES]: Add new stdio64 prototypes.
3139 (FILE): Typedef'd to __FILE instead of struct __sFILE directly.
3140 (__SL64): New file flag indicating file is opened via fopen64.
3141 * libc/include/sys/_types.h(_off64_t): Added.
3142 * libc/include/sys/config.h: For x86-linux, define __LARGE64_FILES.
3143 * libc/include/sys/reent.h(struct __sFILE64): New file structure
3144 for 64-bit offset large file support.
3145 (__FILE): New intermediate type either set to struct __sFILE64 or
3146 struct __sFILE, depending on whether __LARGE64_FILES is set or not.
3147 * libc/reent/Makefile.am[HAVE_STDIO64_DIR]: Add new files.
3148 * libc/reent/Makefile.in: Regenerated.
3149 * libc/reent/fstat64r.c: New file.
3150 * libc/reent/lseek64r.c: Ditto.
3151 * libc/reent/open64r.c: Ditto.
3152 * libc/reent/reent.tex: Optionally add stdio64 reentrant syscalls
3153 based on whether STDIO64 flag is set.
3154 * libc/stdio/stdio.tex: Add blank line.
3155 * libc/stdio64/Makefile.am: New file.
3156 * libc/stdio64/Makefile.in: Ditto.
3157 * libc/stdio64/fgetpos64.c: Ditto.
3158 * libc/stdio64/fopen64.: Ditto.
3159 * libc/stdio64/freopen64.c: Ditto.
3160 * libc/stdio64/fseeko64.c: Ditto.
3161 * libc/stdio64/fsetpos64.c: Ditto.
3162 * libc/stdio64/ftello64.c: Ditto.
3163 * libc/stdio64/local64.h: Ditto.
3164 * libc/stdio64/stdio64.c: Ditto.
3165 * libc/stdio64/stdio64.tex: Ditto.
3166 * libc/stdio64/tmpfile64.c: Ditto.
3167 * libc/sys/linux/io64.c: Add weak aliases for lseek64, fstat64, and
3170 2002-07-16 Jeff Johnston <jjohnstn@redhat.com>
3172 * libc/Makefile.am (stmp-extra): New target to set makeinfo flag
3173 if LIBC_EXTRA_LIB is present.
3174 * libc/Makefile.in: Regenerated.
3175 * libc/libc.texinfo: Add blank line.
3176 * libc/argz/Makefile.am: Add doc support.
3177 * libc/search/Makefile.am: Ditto.
3178 * libc/argz/Makefile.in: Regenerated.
3179 * libc/search/Makefile.in: Ditto.
3180 * libc/misc/misc.tex: Add ffs function.
3181 * libc/stdio/ftell.c: Fix missing doc delimeter in description.
3183 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
3185 * libc/include/sys/config.h[__H8300__]: Replace __SMALL_BITFIELDS
3186 definition that was removed in error.
3188 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
3190 * libc/include/machine/ieeefp.h: Change to only define
3191 floating point defines (e.g one of __IEEE_BIG_ENDIAN or
3192 __IEEE_LITTLE_ENDIAN must be defined for each platform).
3193 * libc/include/sys/config.h: Include <machine/ieeefp.h> and
3194 remove redundant floating point definitions.
3196 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
3198 * libc/sys/linux/callocr.c: Fix so code references
3201 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
3203 * libc/sys/linux/Makefile.am: Add new files.
3204 * libc/sys/linux/Makefile.in: Regenerated.
3205 * libc/sys/linux/bp-sym.h: Moved to include directory.
3206 * libc/sys/linux/mmap.c: Add weak aliases: __mmap, __munmap, __mremap.
3207 * libc/sys/linux/inode.c: Set _LIBC to 1.
3208 * libc/sys/linux/mq_close.c: Ditto.
3209 * libc/sys/linux/mq_getattr.c: Ditto.
3210 * libc/sys/linux/mq_open.c: Ditto.
3211 * libc/sys/linux/mq_receive.c: Ditto.
3212 * libc/sys/linux/mq_send.c: Ditto.
3213 * libc/sys/linux/mq_setattr.c: Ditto.
3214 * libc/sys/linux/mq_unlink.c: Ditto.
3215 * libc/sys/linux/calloc.c: New file.
3216 * libc/sys/linux/callocr.c: Ditto.
3217 * libc/sys/linux/cfreer.c: Ditto.
3218 * libc/sys/linux/config.h: Ditto.
3219 * libc/sys/linux/free.c: Ditto.
3220 * libc/sys/linux/freer.c: Ditto.
3221 * libc/sys/linux/msize.c: Ditto.
3222 * libc/sys/linux/msizer.c: Ditto.
3223 * libc/sys/linux/mstats.c: Ditto.
3224 * libc/sys/linux/mtrim.c: Ditto.
3225 * libc/sys/linux/mtrimr.c: Ditto.
3226 * libc/sys/linux/pvallocr.c: Ditto.
3227 * libc/sys/linux/realloc.c: Ditto.
3228 * libc/sys/linux/reallocr.c: Ditto.
3229 * libc/sys/linux/thread-m.h: Ditto.
3230 * libc/sys/linux/vallocr.c: Ditto.
3231 * libc/sys/linux/bp-checks.h: Ditto.
3232 * libc/sys/linux/libc-symbols.h: Ditto.
3233 * libc/sys/linux/libc-tsd.h: Ditto.
3234 * libc/sys/linux/libintl.h: Ditto.
3235 * libc/sys/linux/malign.c: Ditto.
3236 * libc/sys/linux/malignr.c: Ditto.
3237 * libc/sys/linux/mallinfor.c: Ditto.
3238 * libc/sys/linux/malloc.c: Ditto.
3239 * libc/sys/linux/mallocr.c: Ditto.
3240 * libc/sys/linux/malloptr.c: Ditto.
3241 * libc/sys/linux/mallstatsr.c: Ditto.
3242 * libc/sys/linux/mcheck.c: Ditto.
3243 * libc/sys/linux/mhooks.h: Ditto.
3244 * libc/sys/linux/include/bp-sym.h: Ditto.
3245 * libc/sys/linux/include/malloc.h: Ditto.
3246 * libc/sys/linux/include/mcheck.h: Ditto.
3247 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Remove
3249 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerated.
3250 * libc/sys/linux/linuxthreads/machine/i386/getpagesize.c: Moved.
3251 * libc/sys/linux/machine/i386/getpagesize.c: New file.
3252 * libc/sys/linux/machine/i386/Makefile.am: Add getpagesize.c.
3253 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
3254 * libc/sys/linux/machine/i386/sysdep.h: New file.
3255 * libc/sys/linux/machine/i386/weakalias.h: Add weak_function support.
3256 * libc/sys/linux/sys/dirent.h: Set _LIBC to 1.
3257 * libc/sys/linux/sys/lock.h: Include <machine/weakalias.h>.
3259 2002-07-12 Jeff Johnston <jjohnstn@redhat.com>
3261 * libc/sys/linux/include/mqueue.h: Change to use <bits/siginfo.h>
3262 instead of <asm/siginfo.h>.
3263 * libc/sys/linux/sys/signal.h: Change to include various linux
3264 <bits/xxx.h> header files, rather than <linux/signal.h> so as
3265 to work with multiple releases of glibc header files.
3267 2002-07-11 Chris Demetriou <cgd@broadcom.com>
3269 * testsuite/newlib.search/hsearchtest.c: New file to test
3271 * testsuite/newlib.search/hsearchtest.exp: Likewise.
3273 2002-07-10 Florian Schrack <florian.schrack@freenet.de>
3275 * libc/sys/mmixware/read.c: Use SYS_Fgets syscall if dealing with
3277 * libc/sys/mmixware/sys/syscall.h (SYS_Fgets): Definition added.
3279 2002-07-08 Jeff Johnston <jjohnstn@redhat.com>
3281 * libc/include/math.h (MAXFLOAT): Added.
3283 Mon Jul 8 13:55:23 2002 J"orn Rennecke <joern.rennecke@superh.com>
3285 * libc/machine/sh/Makefile.am (lib_a_SOURCES):
3286 Make strcmp.S unconditional.
3287 * libc/machine/sh/Makefile.in: Regenerate.
3288 * libc/machine/sh/asm.h (DELAYED_BRANCHES, SL): Also for __SH5__ .
3289 * strcmp.S (strcmp): Add SHmedia variant. Use different registers
3292 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
3294 * libc/sys/linux/inode.c: Fix utime prototype and add _LIBC
3295 define before including <sys/lock.h>.
3297 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
3299 * libc/include/utime.h: Add include of <_ansi.h>.
3300 * libc/sys/linux/Makefile.am: Add utimes.c.
3301 * libc/sys/linux/Makefile.in: Regenerated.
3302 * libc/sys/linux/inode.c(__umask): New static routine.
3303 (umask): Written to use __umask and attempt to thread lock.
3304 (getumask): New function written to use __umask and thread lock.
3305 * libc/sys/linux/utimes.c: New file.
3306 * libc/sys/linux/sys/time.h: Fix utimes prototype.
3307 * libc/sys/linux/sys/utime.h: New file.
3309 2002-07-04 Thomas Fitzsimmons <fitzsim@redhat.com>
3311 * libtool.m4: New file.
3312 * libc/sys/linux/process.c: Implement vfork in terms of fork,
3313 rather than as a syscall.
3315 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
3317 * libc/include/stdio.h: Add new prototypes.
3318 * libc/stdio/Makefile.am: Add fseeko.c and ftello.c.
3319 * libc/stdio/Makefile.in: Regenerated.
3320 * libc/stdio/fseek.c: Add fseeko documentation.
3321 * libc/stdio/ftell.c: Add ftello documentation.
3322 * libc/stdio/fseeko.c: New file.
3323 * libc/stdio/ftello.c: New file.
3325 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
3327 * libc/stdio/Makefile.am: Add asprintf.c and vasprintf.c.
3328 * libc/stdio/Makefile.in: Regenerated.
3329 * libc/stdio/asprintf.c: New file.
3330 * libc/stdio/vasprintf.c: Ditto.
3331 * libc/stdio/fvwrite.c: Add code to dynamically reallocate
3332 the buffer for asprintf support.
3333 * libc/stdio/sprintf.c: Add asprintf documentation.
3334 * libc/stdio/vfprintf.c: Add vasprintf documentation.
3335 * libc/include/stdio.h: Add new prototypes.
3337 2002-07-02 Thomas Fitzsimmons <fitzsim@redhat.com>
3339 * libc/search/hcreate.c: Remove advertising clause from license.
3340 * libc/search/hcreate_r.c: Likewise.
3342 2002-07-02 Chris Demetriou <cgd@broadcom.com>
3344 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN)
3345 (__IEEE_BIG_ENDIAN): Define appropriately for MIPS.
3346 Check that one of them is defined and error out if not.
3347 Add any platforms defined in <machine/ieeefp.h> that are missing.
3348 * libc/search/hash.h (DB_BYTE_ORDER, DB_BIG_ENDIAN)
3349 (DB_LITTLE_ENDIAN): New defines.
3350 * libc/search/hash.c: Replace all incorrect checks for
3351 _IEEE_LITTLE_ENDIAN with tests of BYTE_ORDER, and all uses of
3352 BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN with DB_* versions.
3353 * libc/search/hash_page.c: Likewise.
3355 2002-06-28 Thomas Fitzsimmons <fitzsim@redhat.com>
3357 * libm/mathfp/sf_pow.c (powf): Change k from int to float.
3359 2002-06-27 Benjamin Kosnik <bkoz@redhat.com>
3361 * libc/include/stdio.h: Untangle, add _BEGIN_STD_C and _END_STD_C.
3362 * libc/include/time.h: Same.
3363 * libc/include/string.h: Same.
3364 * libc/include/stdlib.h: Same.
3365 * libc/include/signal.h: Same.
3366 * libc/include/setjmp.h: Same.
3367 * libc/include/math.h: Same.
3368 * libc/include/locale.h: Same.
3369 * libc/include/ctype.h: Same.
3370 * libc/include/machine/setjmp.h: Same.
3371 * libc/include/_ansi.h (_BEGIN_STD_C): Add.
3374 2002-06-27 Jeff Johnston <jjohnstn@redhat.com>
3376 * libc/include/sys/_types.h: Define _ssize_t as int if int is
3377 32-bits, otherwise define it as long.
3378 * libc/include/sys/types.h: Include <_ansi.h> and <sys/_types.h>
3379 and define ssize_t as _ssize_t.
3380 * libc/reent/readr.c: Change return type to _ssize_t.
3381 * libc/reent/writer.c: Ditto.
3382 * libc/sys/linux/Makefile.am: Add aio.c.
3383 * libc/sys/linux/Makefile.in: Regenerated.
3384 * libc/sys/linux/aio.c: New file.
3385 * libc/sys/linux/sys/cdefs.h: Add __restrict_arr definition.
3386 * libm/common/fdlibm.h: Undef __P before defining it.
3388 2002-06-27 Thomas Fitzsimmons <fitzsim@redhat.com>
3390 * libm/mathfp/s_pow.c (pow): Fix checks on variable k. Add
3391 exponent_is_even_int variable. Handle case where x is
3392 negative, and y is an odd integer.
3393 * libm/mathfp/sf_pow.c (powf): Likewise.
3395 * libm/mathfp/er_lgamma.c: Remove __kernel references.
3396 * libm/mathfp/erf_lgamma.c: Likewise.
3397 * libm/mathfp/s_tgamma.c: Likewise.
3398 * libm/mathfp/sf_tgamma.c: Likewise.
3400 2002-06-27 Jeff Johnston <jjohnstn@redhat.com>
3402 * libc/sys/linux/Makefile.am: Add new clock routines.
3403 * libc/sys/linux/Makefile.in: Regenerated.
3404 * libc/sys/linux/clock_getres.c: New file.
3405 * libc/sys/linux/clock_gettime.c: Ditto.
3406 * libc/sys/linux/clock_settime.c: Ditto.
3407 * libc/sys/linux/hp-timing.h: Ditto.
3408 * libc/sys/linux/libc-internal.h: Ditto.
3409 * libc/sys/linux/sysconf.c: Fix typo.
3410 * libc/sys/linux/include/time.h: Add include of <sys/linux_time.h>.
3411 * libc/sys/linux/machine/hp-timing.h: New file.
3412 * libc/sys/linux/machine/i386/Makefile.am: Add new files.
3413 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
3414 * libc/sys/linux/machine/i386/get_clockfreq.c: New file.
3415 * libc/sys/linux/machine/i386/hp-timing.c: Ditto.
3416 * libc/sys/linux/machine/i386/hp-timing.h: Ditto.
3417 * libc/sys/linux/sys/linux_time.h: New file.
3418 * libc/sys/linux/sys/time.h: Remove include of <linux/time.h> and
3419 replace with <sys/linux_time.h>.
3421 Wed Jun 26 16:33:25 2002 J"orn Rennecke <joern.rennecke@superh.com>
3423 * libc/sys/sh/crt0.S: Remove vestigial .section directive.
3425 2002-06-25 Jeff Johnston <jjohnstn@redhat.com>
3427 * libc/sys/linux/Makefile.am: Consolidate additional items under
3429 * libc/sys/linux/Makefile.in: Regenerated.
3431 2002-06-25 Jeff Johnston <jjohnstn@redhat.com>
3433 * libc/sys/linux/sethostname.c: New file.
3434 * libc/sys/linux/Makefile.am: Add sethostname.c support.
3435 * libc/sys/linux/Makefile.in: Regenerated.
3437 2002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
3439 * libc/search/db_local.h: New file.
3440 * libc/include/db.h: Remove.
3441 * libc/search/Makefile.am (LIB_SOURCES): Add db_local.h.
3442 * libc/search/hash.c (MIN,MAX): Add macros. Change <db.h> to
3444 * libc/search/hash_bigkey.c: Likewise.
3445 * libc/search/hash_buf.c: Likewise.
3446 * libc/search/hash_func.c: Likewise.
3447 * libc/search/hash_log2.c: Likewise.
3448 * libc/search/hash_page.c: Likewise.
3450 2002-06-24 J"orn Rennecke <joern.rennecke@superh.com>
3452 * libc/machine/sh/strlen.S: New file.
3453 * libc/machine/sh/Makefile.am (lib_a_SOURCES): Add rule for it.
3454 * libc/machine/sh/Makefile.am: Regenerate.
3456 2002-06-24 Jeff Johnston <jjohnstn@redhat.com>
3458 * libc/sys/linux/gethostname.c: Change name to __gethostname and
3459 add gethostname alias.
3461 2002-06-24 Jeff Johnston <jjohnstn@redhat.com>
3463 * libc/include/math.h: Remove <sys/types.h>.
3464 (__dmath): Use __ULong instead of __uint32_t.
3465 * libc/include/sys/reent.h: If long or int is not 32-bits,
3466 include <sys/types.h> to get definitions for __int32_t and __uint32_t.
3467 * libc/stdlib/mprec.h: Include <sys/types.h> to get integer defs.
3468 * libm/common/fdlibm.h: Ditto.
3470 2002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
3472 * libc/include/ndbm.h: Remove.
3473 * libc/search/ndbm.c: Remove.
3475 2002-06-24 WATANABE Hirofumi <eban@os.rim.or.jp>
3477 * libc/stdio/fseek.c (fseek): Fix braces.
3479 2002-06-21 Corinna Vinschen <corinna@vinschen.de>
3481 * libc/time/strftime.c (strftime): Add %e format specifier.
3483 2002-06-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3485 * libc/search/hash.h (LITTLE_ENDIAN, BIG_ENDIAN): Define if not
3488 2002-06-21 Richard Earnshaw (rearnsha@arm.com)
3490 * libc/sys/arm/sys/param.h (BIG_ENDIAN, LITTLE_ENDIAN): Define.
3491 (BYTE_ORDER): Define as appropriate for the target.
3493 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
3495 * libc/include/sys/config.h[__linux__]: Set _READ_WRITE_RETURN_TYPE
3497 * libc/sys/linux/io.c (read, write): Change to return ssize_t.
3499 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
3501 * libc/include/stdio.h (__getline, __getdelim): New prototypes.
3502 * libc/include/time.h [HAVE_GETDATE](getdate, getdate_r): Ditto.
3503 [HAVE_GETDATE](getdate_err): New error code.
3504 * libc/stdio/Makefile.am: Add support for getline.c and getdelim.c.
3505 * libc/stdio/Makefile.in: Regenerated.
3506 * libc/stdio/getdelim.c: New file.
3507 * libc/stdio/getline.c: Ditto.
3508 * libc/sys/linux/Makefile.am: Add support for getdate.c, getdate_err.c
3509 and ntp_gettime.c. Also add AM_CFLAGS to point to libc/stdio.
3510 * libc/sys/linux/Makefile.in: Regenerated.
3511 * libc/sys/linux/getdate.c: New file.
3512 * libc/sys/linux/getdate_err.c: Ditto.
3513 * libc/sys/linux/ntp_gettime.c: Ditto.
3514 * libc/sys/linux/time.c (adjtimex, ntp_adjtime): New functions.
3515 * libc/sys/linux/sys/stdio.h (getline, getdelim): New macros.
3517 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
3519 * libc/include/math.h: Add <sys/types.h> to get _uint32_t definition.
3520 * libc/include/machine/types.h: Skip __off_t, __pid_t, and
3521 __loff_t definitions if special _HAVE_SYSTYPES macro defined.
3522 * libc/include/sys/config.h: Removed _uint*, _int* definitions.
3523 * libc/include/sys/param.h: Remove i386 case which is handled
3525 (BIG_ENDIAN, LITTLE_ENDIAN): Protect
3526 definitions in case they are already defined.
3527 (BYTE_ORDER): Add default case using _IEEE_BIG_ENDIAN and
3528 _IEEE_LITTLE_ENDIAN flags.
3529 * libc/include/sys/reent.h: Change __uint32_t references to
3531 (_REENT_GETDATE_REENT_P): New macro.
3532 * libc/include/sys/types.h (__int16_t, __uint16_t): Added.
3533 (__int32_t, __uint32_t, __int64_t, __uint64_t): Ditto.
3534 * libc/search/hash.h: Add default setting of BYTE_ORDER,
3535 LITTLE_ENDIAN, and BIG_ENDIAN, if not already defined.
3536 * libc/sys/linux/sys/types.h: Include <sys/_types.h>. Define
3537 ssize_t based on _ssize_t. Remove __socklen_t, __uintptr_t,
3538 pid_t, off_t, loff_t, caddr_t, and daddr_t type
3539 definitions which are done by subsequent glibc headers.
3540 Add macro definitions to prevent subsequent header files from
3541 defining pid_t, off_t, ssize_t, and key_t. Move uintptr_t and
3542 intptr_t to after glibc definitions of types they are based on.
3544 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
3546 * libc/include/errno.h: Protect from multiple inclusion.
3548 2002-06-21 Nick Clifton <nickc@cambridge.redhat.com>
3550 * libc/sys/arm/swi.h (ADP_Stopped_RunTimeError): Set correct value.
3552 2002-06-20 Thomas Fitzsimmons <fitzsim@redhat.com>
3554 * Makefile.am (LIB_OBJECTLISTS): Add
3555 libc/search/objectlist.awk.in.
3556 * libc/Makefile.am (SUBDIRS): Add search.
3557 (SUBLIBS): Add search/libsearch.la.
3558 * libc/configure.in (AC_OUTPUT): Add search/Makefile.
3559 * libc/search: New directory.
3560 * libc/search/Makefile.am: New file.
3561 * libc/search/extern.h: New file.
3562 * libc/search/hash.c: New file.
3563 * libc/search/hash.h: New file.
3564 * libc/search/hash_bigkey.c: New file.
3565 * libc/search/hash_buf.c: New file.
3566 * libc/search/hash_func.c: New file.
3567 * libc/search/hash_log2.c: New file.
3568 * libc/search/hash_page.c: New file.
3569 * libc/search/hcreate.3: New file.
3570 * libc/search/hcreate.c: New file.
3571 * libc/search/hcreate_r.c: New file.
3572 * libc/search/ndbm.c: New file.
3573 * libc/search/page.h: New file.
3574 * libc/search/tdelete.c: New file.
3575 * libc/search/tdestroy.c: New file.
3576 * libc/search/tfind.c: New file.
3577 * libc/search/tsearch.3: New file.
3578 * libc/search/tsearch.c: New file.
3579 * libc/search/twalk.c: New file.
3580 * libc/include/db.h: New file.
3581 * libc/include/ndbm.h: New file.
3582 * libc/include/search.h: New file.
3583 * libc/include/sys/queue.h: New file.
3584 * libc/include/sys/cdefs.h: New file.
3585 * libc/include/sys/param.h
3586 [__IEEE_LITTLE_ENDIAN,__IEEE_BIG_ENDIAN]: Set BYTE_ORDER to
3587 LITTLE_ENDIAN or BIG_ENDIAN.
3588 * libc/include/sys/errno.h (EFTYPE): New macro.
3589 * libc/search/bsearch.c: Move from libc/stdlib.
3590 * libc/search/qsort.c: Likewise.
3591 * libc/stdlib/Makefile.am (LIB_SOURCES): Remove bsearch.c and
3593 (CHEWOUT_FILES): Remove bsearch.def and qsort.def.
3594 * libc/stdlib/stdlib.tex: Remove references to bsearch and qsort.
3596 2002-06-19 Jeff Johnston <jjohnstn@redhat.com>
3598 * libc/sys/linux/Makefile.am: Add support for message queue routines,
3599 ipc routines, and ftok.
3600 * libc/sys/linux/Makefile.in: Regenerated.
3601 * libc/sys/linux/ftok.c: New file.
3602 * libc/sys/linux/ipc.c: Ditto.
3603 * libc/sys/linux/mq_close.c: Ditto.
3604 * libc/sys/linux/mq_getattr.c: Ditto.
3605 * libc/sys/linux/mq_notify.c: Ditto.
3606 * libc/sys/linux/mq_open.c: Ditto.
3607 * libc/sys/linux/mq_receive.c: Ditto.
3608 * libc/sys/linux/mq_send.c: Ditto.
3609 * libc/sys/linux/mq_setattr.c: Ditto.
3610 * libc/sys/linux/mq_unlink.c: Ditto.
3611 * libc/sys/linux/mqlocal.h: Ditto.
3612 * libc/sys/linux/include/mqueue.h: Ditto.
3613 * libc/sys/linux/sys/types.h: Define __gid_t_defined and
3616 2002-06-19 J"orn Rennecke <joern.rennecke@superh.com>
3618 * libm/common/sf_lround.c (round): Change name to: (lround).
3619 * libm/common/sf_remquo.c (remquo): Pass all arguemnts to
3622 2002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
3624 * testsuite/lib/passfail.exp (newlib_pass_fail_all): New
3626 (newlib_pass_fail): Change to compile and run only one file.
3627 * testsuite/newlib.locale/locale.exp: Use new
3628 newlib_pass_fail_all procedure.
3629 * testsuite/newlib.string/string.exp: Likewise.
3631 2002-06-18 Dave Brolley <brolley@redhat.com>
3633 From Catherine Moore, Michael Meissner, Richard Sandiford:
3634 * libc/include/machine/setjmp.h (_JBLEN): Define for __frv__.
3636 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Ditto.
3637 (__ATTRIBUTE_IMPURE_PTR__): Ditto.
3638 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Ditto.
3639 * configure.host: Support frv-*-*.
3640 * libc/machine/frv/Makefile.am: New file.
3641 * libc/machine/frv/configure.in: New file.
3642 * libc/machine/frv/setjmp.S: New file.
3644 2002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
3646 * libc/include/ctype.h: Remove isblank macro.
3648 * libc/ctype/Makefile.am (LIB_SOURCES): Add isblank.c.
3649 * libc/ctype/isblank.c: New file.
3650 * libc/include/ctype.h [!__STRICT_ANSI__]: Add isblank
3651 declaration. Add isblank macro.
3653 2002-06-18 Jeff Johnston <jjohnstn@redhat.com>
3655 * testsuite/newlib.stdlib/atexit.c: New file.
3656 * testsuite/newlib.stdlib/atexit.exp: Ditto.
3657 * testsuite/newlib.string/tstring.c: Change default start size
3658 to something more reasonable for embedded platforms.
3660 2002-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
3662 * libc/sys/linux/sys/errno.h (EFTYPE): Add macro.
3664 * libc/argz: New directory.
3665 * libc/argz/*: New files.
3666 * libc/argz/argz_add.c: New file.
3667 * libc/argz/argz_add_sep.c: New file.
3668 * libc/argz/argz_append.c: New file.
3669 * libc/argz/argz_count.c: New file.
3670 * libc/argz/argz_create.c: New file.
3671 * libc/argz/argz_create_sep.c: New file.
3672 * libc/argz/argz_delete.c: New file.
3673 * libc/argz/argz_extract.c: New file.
3674 * libc/argz/argz_insert.c: New file.
3675 * libc/argz/argz_next.c: New file.
3676 * libc/argz/argz_replace.c: New file.
3677 * libc/argz/argz_stringify.c: New file.
3678 * libc/argz/buf_findstr.c: New file.
3679 * libc/argz/envz_add.c: New file.
3680 * libc/argz/envz_entry.c: New file.
3681 * libc/argz/envz_get.c: New file.
3682 * libc/argz/envz_merge.c: New file.
3683 * libc/argz/envz_remove.c: New file.
3684 * libc/argz/envz_strip.c: New file.
3685 * libc/include/argz.h: New file.
3686 * libc/include/envz.h: New file.
3687 * Makefile.am (LIBC_OBJECTLISTS): Add
3688 libc/argz/objectlist.awk.in.
3689 * libc/Makefile.am (SUBDIRS): Add argz.
3690 (SUBLIBS): Add argz/libargz.la.
3691 * libc/configure.in (AC_OUTPUT): Add argz/Makefile.
3692 * libc/include/errno.h: Add error_t typedef.
3694 2002-06-13 Jeff Johnston <jjohnstn@redhat.com>
3696 * libc/include/stdlib.h: Add _Exit prototype.
3697 * libc/stdlib/Makefile.am: Add _Exit.c support.
3698 * libc/stdlib/Makefile.in: Ditto.
3699 * libc/stdlib/_Exit.c: New file.
3701 2002-06-13 Stephen L. Moshier <steve@moshier.net>
3703 * libm/math/e_pow.c (__ieee754_pow): Fix case whereby
3704 x is close to -1.0 and y is very large to use ax (absolute value)
3706 * libm/math/ef_pow.c (__ieee754_powf): Ditto.
3708 Thu Jun 13 19:23:40 2002 J"orn Rennecke <joern.rennecke@superh.com>
3710 * libc/machine/sh/strcpy.S (strcpy, __SHMEDIA__ code):
3711 Fix clobbering bytes before destination if src and dst have same
3712 non-zero misalignment.
3714 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
3715 Fixed bug in writing end of set region.
3717 2002-06-10 Christopher Faylor <cgf@redhat.com>
3719 * libc/include/process.h: Remove cygwin-only sexec* declarations. Fix
3720 spawnve declaration.
3722 2002-06-06 Thomas Fitzsimmons <fitzsim@redhat.com>
3724 * libm/common/s_fdim.c: New file.
3725 * libm/common/s_fma.c: Likewise.
3726 * libm/common/s_fmax.c: Likewise.
3727 * libm/common/s_fmin.c: Likewise.
3728 * libm/common/s_fpclassify.c: Likewise.
3729 * libm/common/s_lrint.c: Likewise.
3730 * libm/common/s_lround.c: Likewise.
3731 * libm/common/s_nearbyint.c: Likewise.
3732 * libm/common/s_remquo.c: Likewise.
3733 * libm/common/s_round.c: Likewise.
3734 * libm/common/s_scalbln.c: Likewise.
3735 * libm/common/s_signbit.c: Likewise.
3736 * libm/common/s_trunc.c: Likewise.
3737 * libm/common/sf_fdim.c: Likewise.
3738 * libm/common/sf_fma.c: Likewise.
3739 * libm/common/sf_fmax.c: Likewise.
3740 * libm/common/sf_fmin.c: Likewise.
3741 * libm/common/sf_lrint.c: Likewise.
3742 * libm/common/sf_lround.c: Likewise.
3743 * libm/common/sf_nearbyint.c: Likewise.
3744 * libm/common/sf_remquo.c: Likewise.
3745 * libm/common/sf_round.c: Likewise.
3746 * libm/common/sf_scalbln.c: Likewise.
3747 * libm/common/sf_trunc.c: Likewise.
3748 * libm/math/w_exp2.c: Likewise.
3749 * libm/math/w_tgamma.c: Likewise.
3750 * libm/math/wf_exp2.c: Likewise.
3751 * libm/math/wf_tgamma.c: Likewise.
3752 * libm/mathfp/s_exp2.c: Likewise.
3753 * libm/mathfp/s_tgamma.c: Likewise.
3754 * libm/mathfp/sf_exp2.c: Likewise.
3755 * libm/mathfp/sf_tgamma.c: Likewise.
3756 * libm/math/er_gamma.c: Fix return value.
3757 * libm/math/erf_gamma.c: Likewise.
3758 * libm/mathfp/er_gamma.c: Likewise.
3759 * libm/mathfp/erf_gamma.c: Likewise.
3760 * libc/include/math.h (!__STRICT_ANSI__): Include ISOC99-specific
3761 declarations and macros.
3762 Regenerated all Makefile.in, aclocal.m4 and configure files to
3763 use new libtool macros in top-level libtool.m4
3765 2002-06-05 Jeff Johnston <jjohnstn@redhat.com>
3767 * libc/include/string.h[__linux__]: Add strsignal prototype.
3768 * libc/include/sys/lock.h: New file with default locking support.
3769 * libc/include/sys/reent.h: Add signal buffer support for strsignal
3771 * libc/posix/Makefile.am: Add support for readdir_r.c.
3772 * libc/posix/Makefile.in: Regenerated.
3773 * libc/posix/closedir.c: Add locking support and hash table cleanup.
3774 * libc/posix/opendir.c: Add lock support.
3775 * libc/posix/readdir.c: Ditto.
3776 * libc/posix/rewinddir.c: Ditto.
3777 * libc/posix/scandir.c: Ditto.
3778 * libc/posix/seekdir.c: Ditto.
3779 * libc/posix/telldir.c: Ditto plus add _cleanupdir routine to
3780 clean up leftover hash table entries.
3781 * libc/posix/readdir_r.c: New file.
3782 * libc/sys/linux/Makefile.am: Add psignal.c and strsignal.c support.
3783 * libc/sys/linux/Makefile.in: Regenerated.
3784 * libc/sys/linux/sys/dirent.h: Add dd_lock to DIR structure.
3785 * libc/sys/linux/sys/signal.h: Add psignal prototype.
3786 * libc/sys/linux/psignal.c: New file.
3787 * libc/sys/linux/strsignal.c: Ditto.
3789 2002-06-03 Corinna Vinschen <corinna@vinschen.de>
3791 * libc/include/sys/types.h: Don't define dev_t when compiling for
3794 2002-05-31 Jeff Johnston <jjohnstn@redhat.com>
3796 * libc/sys/linux/Makefile.am: Add sig.c and sigaction.c. Also
3797 make siglist.inc dependent on sig.c instead of signal.c.
3798 * libc/sys/linux/Makefile.in: Regenerated.
3799 * libc/sys/linux/sig.c: Rename from signal.c and change code to
3800 use NSIG instead of _NSIG.
3801 * libc/sys/linux/sigaction.c: New file.
3802 * libc/sys/linux/signal.c: Changed to be linux signal() function
3803 so as to override regular newlib default signal.c.
3804 * libc/sys/linux/machine/i386/Makefile.am: Remove sigset.c.
3805 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
3806 * libc/sys/linux/machine/i386/sigset.c: Moved to linux main directory.
3807 * libc/sys/linux/sigset.c: Moved from machine/i386 directory.
3808 * libc/sys/linux/sys/signal.h: Redefine NSIG to _NSIG and override
3809 default linux sigset_t typedef by defining it equal to __sigset_t.
3810 * libc/unix/sigset.c: Add check so code isn't compiled on systems
3811 with a sigset_t that isn't implemented with a single int.
3813 2002-05-30 Jeff Johnston <jjohnstn@redhat.com>
3815 * libc/sys/linux/Makefile.am: Add support for new files.
3816 * libc/sys/linux/Makefile.in: Regenerated.
3817 * libc/sys/linux/ids.c: Add __getuid weak alias for getuid.
3818 * libc/sys/linux/signal.c: Change to use real-time syscalls for
3819 sigsuspend, sigprocmask, and sigpending. Also remove sigaction as
3820 it is in a separate file now.
3821 * libc/sys/linux/machine/i386/Makefile.am
3822 * libc/sys/linux/machine/i386/Makefile.in
3823 * libc/sys/linux/sys/signal.h: Add include of <bits/signum.h>.
3824 * libc/sys/linux/sigaction.c: New file.
3825 * libc/sys/linux/sigqueue.c: Ditto.
3826 * libc/sys/linux/sigwait.c: Ditto.
3827 * libc/sys/linux/machine/i386/sigaction.c: Ditto.
3828 * libc/sys/linux/kernel_sigaction.h: Ditto.
3830 2002-05-28 Jeff Johnston <jjohnstn@redhat.com>
3832 * libc/sys/linux/Makefile.am: Add support for cfspeed.c and
3834 * libc/sys/linux/Makefile.in: Regenerated.
3835 * libc/sys/linux/termios.c: Add tcflow(), tcflush(),
3836 tcgetpgrp(), and tcsetpgrp() functions.
3837 * libc/sys/linux/sys/termios.h: Add include of machine/termios.h
3838 to get __MAX_BAUD rate.
3839 * libc/sys/linux/machine/i386/include/termios.h: New file.
3840 * libc/include/machine/termios.h: Ditto.
3841 * libc/sys/linux/cfspeed.c: Ditto.
3842 * libc/sys/linux/tcsendbrk.c: Ditto.
3844 2002-05-24 Jeff Johnston <jjohnstn@redhat.com>
3846 * libc/include/string.h: Add strnlen and strerror_r prototypes.
3847 * libc/string/Makefile.am: Add strnlen.c and strerror_r.c support.
3848 * libc/string/Makefile.in: Regenerated.
3849 * libc/string/strerror_r.c: New file.
3850 * libc/string/strnlen.c: New file.
3851 * libc/sys/linux/Makefile.am: Add rename.c.
3852 * libc/sys/linux/Makefile.in: Regenerated.
3853 * libc/sys/linux/rename.c: New file to override default rename.
3855 2002-05-24 Thomas Fitzsimmons <fitzsim@redhat.com>
3857 * libc/sys/linux/sys/cdefs.h: Add __weak_reference macros.
3858 * libc/sys/linux/sys/time.h: Add conversion macros.
3859 * libc/sys/linux/sys/types.h: Add FD_ macros. Include <bits/types.h>.
3860 * libc/sys/linux/ids.c: Add setresuid and syslog syscalls.
3861 * libc/sys/linux/gethostname.c: New file.
3862 * libc/sys/linux/seteuid.c: New file.
3863 * libc/sys/linux/sysctl.c: New file.
3865 2002-05-23 Jeff Johnston <jjohnstn@redhat.com>
3867 * libc/string/Makefile.am: Add support for strsep.c.
3868 * libc/string/Makefile.in: Regenerated.
3869 * libc/string/strsep.c: New file.
3870 * libc/string/strtok.c: Change to call __strtok_r service routine.
3871 * libc/string/strtok_r.c: Add __strtok_r routine which takes
3872 additional flag parameter regarding whether to skip leading delimeters.
3873 Change strtok_r to call __strtok_r.
3875 2002-05-23 Gareth Pearce <tilps@hotmail.com>
3877 * libc/stdio/Makefile.am: Modify to add setbuffer.c and setlinebuf.c.
3878 * libc/stdio/Makefile.in: Regenerated.
3879 * libc/stdio/setbuffer.c: New file.
3880 * libc/stdio/setlinebuf.c: New file.
3882 2002-05-23 Jeff Johnston <jjohnstn@redhat.com>
3884 * libc/sys/linux/Makefile.am: Add resource.c.
3885 * libc/sys/linux/Makefile.in: Regenerated.
3886 * libc/sys/linux/resource.c: New file.
3887 * libc/sys/linux/time.c: Add settimeofday, getitimer, and setitimer.
3888 * libc/sys/linux/machine/i386/Makefile.am: Remove syscalls.c.
3889 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
3890 * libc/sys/linux/machine/i386/syscalls.c: Removed as functions
3891 are now found in libc/sys/linux/resource.c.
3893 2002-05-23 Jeff Johnston <jjohnstn@redhat.com>
3895 * libc/include/string.h (bcmp, bcopy, bzero): Change prototypes
3896 to use void * pointers and comply with Single Unix spec.
3897 * libc/string/bcmp.c: Change to use void * instead of char *.
3898 * libc/string/bcopy.c: Ditto.
3899 * libc/string/bzero.c: Ditto.
3901 2002-05-22 Jeff Johnston <jjohnstn@redhat.com>
3903 * libc/sys/linux/shm_open.c: New file.
3904 * libc/sys/linux/shm_unlink.c: Ditto.
3905 * libc/sys/linux/Makefile.am: Add support for shm_open.c and
3907 * libc/sys/linux/Makefile.in: Regenerated.
3908 * libc/sys/linux/sys/types.h: Add some additional checks to see
3909 if clock_t or time_t is already defined.
3911 2002-05-22 Jeff Johnston <jjohnstn@redhat.com>
3913 * Makefile.am: Don't pass $toollibdir down directly in
3914 AM_MAKEFLAGS as it causes all multilibs to use the same toollibdir.
3915 Pass it under the name: top_toollibdir.
3916 * Makefile.in: Regenerated.
3918 2002-05-22 Corinna Vinschen <vinschen@redhat.com>
3920 * libc/include/sys/types.h: Revert previous patch.
3922 2002-05-22 Corinna Vinschen <vinschen@redhat.com>
3924 * libc/include/sys/types.h: Include cygwin/types.h always under
3925 Cygwin, not only if _POSIX_THREADS is defined.
3927 2002-05-21 Dhananjay Deshpande <dhananjayd@kpit.com>
3929 * configure.host: Specify sys_dir=h8300hms for h8300-*-coff* target.
3931 2002-05-17 Jeff Johnston <jjohnstn@redhat.com>
3933 * Makefile.am: Copy and install headers from sys/machine/include
3934 directory. Also pass $toollibdir to lower-level directories.
3935 * Makefile.in: Regenerated.
3936 * libc/include/stdio.h[!_REENT_ONLY]: Change stdin, stdout, and
3937 stderr to use _REENT macro instead of _impure_ptr directly.
3938 * libc/include/sys/config.h[__i386__][__linux__]: Define
3940 * libc/include/sys/reent.h[!_REENT_ONLY]: Change _REENT macro to be
3941 call to __getreent() function if !__SINGLE_THREAD__ and
3942 __DYNAMIC_REENT__ is set.
3943 * libc/reent/Makefile.am: Add support for getreent.c.
3944 * libc/reent/Makefile.in: Regenerated.
3945 * libc/string/strerror.c: Add check if EOPNOTSUPP and ENOTSUP are same.
3946 * libc/sys/linux/Makefile.am: Add support for new files.
3947 * libc/sys/linux/configure.in: Add $EXTRA_DIRS variable.
3948 * libc/sys/linux/Makefile.in: Regenerated.
3949 * libc/sys/linux/configure: Ditto.
3950 * libc/sys/linux/io.c: Add poll syscall. Also weak-alias
3951 __close, __read, __write, __poll, __open, __lseek, __fcntl from
3952 their __libc_ counterparts.
3953 * libc/sys/linux/io64.c: Add __libc_ prefix to lseek64 and open64
3954 and weak-alias to regular names.
3955 * libc/sys/linux/pread64.c: Rename to __libc_pread64 and weak-alias
3956 to pread64 and __pread64.
3957 * libc/sys/linux/process.c: Weak_alias __libc_getpid to __getpid.
3958 * libc/sys/linux/pwrite64.c: Rename to __libc_pwrite64 and
3959 weak-alias to pwrite64.
3960 * libc/sys/linux/sched.c: Weak-alias __libc_sched_getparam,
3961 __libc_sched_getscheduler, __libc_sched_get_priority_max,
3962 __libc_sched_get_priority_min, and __libc_sched_setschedule to
3963 name with __ instead of __libc_.
3964 * libc/sys/linux/siglongjmp.c: Include <machine/weakalias.h>.
3965 Rename siglongjmp to __libc_siglongjmp and weak-alias to siglongjmp.
3966 Call __libc_longjmp instead of longjmp, from __libc_siglongjmp.
3967 * libc/sys/linux/signal.c: Rename raise to __libc_raise and weak-alias
3969 * libc/sys/linux/socket.c: Weak-alias __libc_connect to __connect and
3970 __libc_send to __send.
3971 * libc/sys/linux/time.c: Weak-alias __libc_gettimeofday to
3973 * libc/sys/linux/wait.c: Rename wait to __libc_wait and weak-alias
3974 it to wait. Rename wait3 to __libc_wait3 and weak-alias it to wait3.
3975 * libc/sys/linux/include/setjmp.h: Use __jmp_buf in sigjmp_buf
3976 type and typedef __jmp_buf to jmp_buf.
3977 * libc/sys/linux/machine/i386/Makefile.am: Add syscalls.c and
3979 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
3980 * libc/sys/linux/machine/i386/crt0.c: Add support to clear .bss
3982 * libc/sys/linux/machine/i386/socketcall.h: Change to use __libc_
3983 prefix for function macros and then use weak_alias() to regular names.
3984 * libc/sys/linux/machine/i386/syscall.h: Ditto.
3985 * libc/sys/linux/sys/errno.h: Define EOPNOTSUP to be ENOTSUP.
3986 * libc/sys/linux/sys/stdio.h: Define _flockfile and _funlockfile
3987 to be flockfile() and funlockfile() respectively.
3988 * libc/sys/linux/sys/types.h
3989 * libc/reent/getreent.c: New file.
3990 * libc/sys/linux/flockfile.c: Ditto.
3991 * libc/sys/linux/funlockfile.c: Ditto.
3992 * libc/sys/linux/getreent.c: Ditto.
3993 * libc/sys/linux/pread.c: Ditto.
3994 * libc/sys/linux/pwrite.c: Ditto.
3995 * libc/sys/linux/raise.c: Ditto.
3996 * libc/sys/linux/system.c: Ditto.
3997 * libc/sys/linux/tcdrain.c: Ditto.
3998 * libc/sys/linux/machine/i386/i386mach.h: Ditto.
3999 * libc/sys/linux/machine/i386/setjmp.S: Ditto.
4000 * libc/sys/linux/machine/i386/syscalls.c: Ditto.
4001 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
4002 * libc/sys/linux/machine/i386/include/setjmp.h: Ditto.
4004 2002-05-14 Dhananjay Deshpande <dhananjayd@kpit.com>
4006 * newlib/libc/sys/h8300hms/Makeile.am (lib_a_SOURCES): Add read.c.
4007 * newlib/libc/sys/h8300hms/read.c: New file. Magic trap 0xC8 for sim.
4008 * newlib/libc/sys/h8300hms/syscalls.c: Move _read() to read.c.
4009 * newlib/libs/sys/h8300hms/sys/syscall.h: New file.
4011 Thu May 16 17:24:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
4013 * libc/machine/sh/strcpy.S (strcpy): Replace LITTLE_ENDIAN with
4014 __LITTLE_ENDIAN__. make sure r0 has right value at first loop
4017 2002-05-15 Thomas Fitzsimmons <fitzsim@redhat.com>
4019 * testsuite/lib/newlib.exp: Add newlib_include_flags to compile
4020 options when testing natively on i[3456]86-*-linux.
4022 * testsuite/lib/checkoutput.exp (newlib_check_output): Output
4023 only one pass or fail per test file. Trim \r's from output
4024 values received from test programs. Remove support for named
4026 * testsuite/newlib.locale/UTF-8.exp: Update to support new
4027 newlib_check_output behaviour.
4028 * testsuite/newlib.locale/UTF-8.c: Likewise.
4030 2002-05-15 Jeff Johnston <jjohnstn@redhat.com>
4032 * libc/include/stdlib.h: Add on_exit prototype.
4033 * libc/include/sys/reent.h (struct _atexit): Add argument array
4034 and bits to track type of exit routine to support both on_exit
4036 (_REENT_INIT_PTR): Add missing fields that won't be zeroed out
4037 by default and change the setting of the atexit structure.
4038 (_REENT_INIT)[!_REENT_SMALL]: Remove extraneous end brace.
4039 * libc/stdlib/on_exit.c: New file.
4040 * libc/stdlib/Makefile.am: Add support for on_exit.
4041 * libc/stdlib/Makefile.in: Regenerated.
4042 * libc/stdlib/atexit.c: Change to initialize types field.
4043 * libc/stdlib/exit.c: Change to look at types field for each
4044 exit routine and either call an atexit-style or an on_exit-style
4045 routine accordingly.
4047 2002-05-13 Jeff Johnston <jjohnstn@redhat.com>
4049 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Don't
4050 allow v specifier with n or L specifiers. For vector c format,
4051 move tmp declaration to the top.
4053 2002-05-13 Jeff Johnston <jjohnstn@redhat.com>
4055 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Restore
4056 the original format specifier when looping for vectors to compensate
4057 for any changes made in vector %g format processing.
4058 Also add syntax checking for various invalid scenarios
4059 involving vector format extensions.
4060 * libc/machine/powerpc/vfscanf.c(__VFSCANF_R)[__ALTIVEC__]: Fix
4061 return code setting for vector formats. Also treat vector
4062 separator mismatch as a match error instead of an input error.
4063 Perform some syntax checking for vector formats.
4065 2002-05-10 Mark Bradshaw <bradshaw@staff.crosswalk.com>
4067 * libc/include/string.h (!__STRICT_ANSI__): Add strlcat and strlcpy.
4068 * libc/string/Makefile.am: Add strlcat.c and strlcpy.c.
4069 * libc/string/strlcat.c: New file.
4070 * libc/string/strlcpy.c: New file.
4072 2002-05-10 Jeff Johnston <jjohnstn@redhat.com>
4074 * libc/string/strchr.c: Fix comment typo.
4076 2002-05-08 Thomas Fitzsimmons <fitzsim@redhat.com>
4078 * acinclude.m4: Add support for --enable-newlib-multithread.
4079 * configure.host (newlib_cflags): Add -D__SINGLE_THREAD__ if
4080 --enable-newlib-multithread=no.
4082 * libc/stdio/getc_u.c: New file.
4083 * libc/stdio/getchar_u.c: New file.
4084 * libc/stdio/putc_u.c: New file.
4085 * libc/stdio/putchar_u.c: New file.
4086 * libc/include/stdio.h: Add declarations for getc_unlocked,
4087 getchar_unlocked, putc_unlocked and putchar_unlocked.
4088 * libc/stdio/Makefile.am (LIB_SOURCES): Add new files.
4089 (CHEWOUT_FILES): Add new files' .def's.
4090 * libc/stdio/putchar.c (_putchar_r): Replace __sputc with putc.
4092 Wed May 8 17:47:35 2002 J"orn Rennecke <joern.rennecke@superh.com>
4094 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
4095 Also handle as single quad word when destination ends at last
4096 byte of first quad word. Fix byte selection in single quad code.
4098 2002-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
4100 * libc/include/sys/stdio.h: New file.
4101 * libc/sys/linux/sys/stdio.h: New file.
4102 * libc/include/stdio.h: Add declarations for flockfile,
4103 ftrylockfile, and funlockfile. Include <sys/stdio.h>.
4104 * libc/stdio/clearerr.c: Add file locking.
4105 * libc/stdio/fclose.c: Likewise.
4106 * libc/stdio/feof.c: Likewise.
4107 * libc/stdio/ferror.c: Likewise.
4108 * libc/stdio/fflush.c: Likewise.
4109 * libc/stdio/fgetc.c: Likewise.
4110 * libc/stdio/fgetpos.c: Likewise.
4111 * libc/stdio/fgets.c: Likewise.
4112 * libc/stdio/fileno.c: Likewise.
4113 * libc/stdio/fputc.c: Likewise.
4114 * libc/stdio/fputs.c: Likewise.
4115 * libc/stdio/fread.c: Likewise.
4116 * libc/stdio/freopen.c: Likewise.
4117 * libc/stdio/fseek.c: Likewise.
4118 * libc/stdio/ftell.c: Likewise.
4119 * libc/stdio/fwrite.c: Likewise.
4120 * libc/stdio/getc.c: Likewise.
4121 * libc/stdio/putc.c: Likewise.
4122 * libc/stdio/setvbuf.c: Likewise.
4123 * libc/stdio/ungetc.c: Likewise.
4124 * libc/stdio/vfprintf.c: Likewise.
4126 2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
4128 * libc/machine/powerpc/vfprintf.c[__ALTIVEC__]: Add vector
4129 support for 'p' format. Fix code to print bytes for vector
4130 integer formats that do not specify 'h' or 'l'.
4131 * libc/machine/powerpc/vfscanf.c[__ALTIVEC__]: Add vector support
4132 for 'p' specifier. Fix code to scan 16 bytes for vector integer
4133 formats that do not specify 'h' or 'l'.
4135 * libc/include/stdlib.h (a64l, l64a, _l64a_r): Added prototypes.
4137 2002-05-06 Nick Clifton <nickc@cambridge.redhat.com>
4139 * libc/sys/arm/syscalls.c (_rename): Add parameter names.
4140 (_sbrk): Add cast of return value.
4142 2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
4144 * libc/include/sys/reent.h (_l64a_buf): New reentrant area.
4145 (_REENT_L64A_BUF): New macro for accessing area.
4146 * libc/stdlib/Makefile.am: Add a64l.c and l64a.c.
4147 * libc/stdlib/Makefile.in: Regenerated.
4148 * libc/stdlib/a64l.c: New file.
4149 * libc/stdlib/l64a.c: New file.
4151 2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
4153 * libc/unix/pread.c: Fix typo for _pread_r.
4154 * libc/unix/pwrite.c: Fix type for _pwrite_r.
4155 * libc/sys/linux/pread64.c: Fix typo for read syscall.
4156 * libc/sys/linux/pwrite64.c: Fix typo for write syscall.
4158 2002-05-03 Christopher Faylor <cgf@redhat.com>
4160 * libc/include/sys/unistd.h: Define getdomainname under cygwin.
4162 2002-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
4164 * configure.in (CC_FOR_NEWLIB): Change -isystem's to -I's.
4166 2002-05-01 Christopher Faylor <cgf@redhat.com>
4168 * utmp.h: Define more UNIX constants.
4170 2002-05-01 Thomas Fitzsimmons <fitzsim@redhat.com>
4172 * Makefile.am: Add support for checking multilibs.
4174 * libc/Makefile.am (SUBLIBS): Add LIBC_EXTRA_LIB.
4175 (SUBDEFS): Add LIBC_EXTRA_DEF.
4176 * libc/configure.in (LIBC_EXTRA_LIB): New variable.
4177 (LIBC_EXTRA_DEF): Likewise.
4178 (extra_dir): Likewise.
4179 * libc/machine/xscale/machine: New directory.
4180 * libc/machine/xscale/machine/profile.h: New file.
4182 * Makefile.am (site.exp): Remove newlib_cflags. Add
4184 * testsuite/newlib.locale/UTF-8.c: Change fprintf's to printf's.
4185 * testsuite/lib/flags.exp: New file.
4186 * testsuite/lib/newlib.exp: Load flags.exp.
4187 (newlib_target_compile): Remove libgloss directory references.
4188 (newlib_init): Remove newlib_cflags references.
4190 2002-04-30 Thomas Fitzsimmons <fitzsim@redhat.com>
4192 * testsuite/lib/newlib.exp (newlib_target_compile): Change
4193 method of finding libgloss_target_dir.
4195 * Makefile.am (site.exp): Change host_alias, host_triplet,
4196 target_alias, target_triplet to refer to gcc's host and target
4197 variables (newlib's build and host variables).
4198 * testsuite/lib/newlib.exp (newlib_init): Change build
4199 references to host references, host references to target
4200 references to reflect Makefile.am changes.
4201 (newlib_target_compile): Likewise.
4202 (newlib_finish): Likewise.
4204 2002-04-29 Jeff Johnston <jjohnstn@redhat.com>
4206 * libc/sys/linux/io64.c (fstat64, lstat64): New syscalls added.
4208 2002-04-29 Jonathan Larmour <jlarmour@redhat.com>
4210 * libc/sys/arm/syscalls.c (_rename): New function. Just a stub.
4211 (_system): New function. Ditto.
4212 * libc/stdlib/system.c (_system_r): Call _system if HAVE_SYSTEM.
4213 * configure.host: define HAVE_SYSTEM and HAVE_RENAME for xscale
4216 2002-04-29 Jeff Johnston <jjohnstn@redhat.com>
4218 * libc/include/sys/unistd.h (pread, pwrite): Added prototypes.
4219 * libc/unix/Makefile.am: Add pread.c and pwrite.c.
4220 * libc/sys/linux/Makefile.am: Add pread64.c and pwrite64.c.
4221 * libc/sys/linux/Makefile.in: Regenerated.
4222 * libc/unix/Makefile.in: Ditto.
4223 * libc/sys/linux/pread64.c: New file.
4224 * libc/sys/linux/pwrite64.c: Ditto.
4225 * libc/unix/pread.c: Ditto.
4226 * libc/unix/pwrite.c: Ditto.
4228 2002-04-26 Jeff Johnston <jjohnstn@redhat.com>
4230 * libc/sys/linux/Makefile.am: Add io64.c.
4231 * libc/sys/linux/Makefile.in: Regenerated.
4232 * libc/sys/linux/io.c(mkfifo, fsync, fdatasync): Added syscalls.
4233 * libc/sys/linux/signal.c (sigwaitinfo, sigtimedwait): Ditto.
4234 * libc/sys/linux/io64.c: New file.
4236 2002-04-26 Jeff Johnston <jjohnstn@redhat.com>
4238 * configure.in (CC_FOR_NEWLIB): New variable that
4239 bases on $(CC) and adds targ-include and libc/include as
4240 -isystem directives if they are not already part of $(CC).
4241 * Makefile.am (AM_MAKEFLAGS): Change setting of CC to equal
4243 * configure: Regenerated.
4244 * Makefile.in: Ditto.
4246 2002-04-25 Jeff Johnston <jjohnstn@redhat.com>
4248 * libc/sys/linux/Makefile.am: Add support for sched.c.
4249 * libc/sys/linux/Makefile.in: Regenerated.
4250 * libc/sys/linux/sched.c: New file.
4251 * libc/sys/linux/sys/types.h: Add struct timespec.
4253 2002-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
4255 * configure.in (CC_FOR_BUILD): Set to gcc whether
4256 cross-compiling or not.
4257 (CC): Add -isystem's for targ-include and libc/include when they
4258 do not already appear in CC.
4260 2002-04-24 Thomas Fitzsimmons <fitzsim@redhat.com>
4262 * Makefile.am (check-DEJAGNU): New target.
4263 (site.exp): Likewise.
4264 * acinclude.m4 (NEWLIB_CONFIGURE): Replace AC_CANONICAL_HOST
4265 with AC_CANONICAL_SYSTEM. Remove AC_CANONICAL_BUILD.
4266 * libc/locale/locale.c (_setlocale_r): Add UTF-8 support.
4267 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Likewise.
4268 * libc/stdlib/wctomb_r.c (_wctomb_r): Likewise.
4269 * testsuite: New directory.
4270 * testsuite/config: Likewise.
4271 * testsuite/lib: Likewise.
4272 * testsuite/newlib.locale: Likewise.
4273 * testsuite/newlib.string: Likewise.
4274 * testsuite/config/default.exp: New file.
4275 * testsuite/lib/checkoutput.exp: New file.
4276 * testsuite/lib/newlib.exp: New file.
4277 * testsuite/lib/passfail.exp: New file.
4278 * testsuite/newlib.locale/UTF-8.c: New file.
4279 * testsuite/newlib.locale/UTF-8.exp: New file.
4280 * testsuite/newlib.locale/locale.exp: New file.
4281 * testsuite/newlib.string/string.exp: New file.
4282 * testsuite/newlib.string/tstring.c: New file.
4284 2002-04-23 Jeff Johnston <jjohnstn@redhat.com>
4286 * libc/include/machine/types.h (__pid_t, __off_t, __loff_t): Added.
4287 * libc/sys/linux/Makefile.am: Add support for mmap.c.
4288 * libc/sys/linux/Makefile.in: Regenerated.
4289 * libc/sys/linux/mmap.c: New file.
4290 * libc/sys/linux/machine/i386/syscall.h: Add _syscall6 macro.
4291 * libc/sys/linux/sys/types.h (pid_t, off_t, loff_t): Added.
4293 2002-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
4295 * acinclude.m4 (newlib_cflags): Remove include directories that
4296 are already specified in the top-level configure.in's FLAGS_FOR_TARGET.
4298 2002-04-19 Bill Siegmund <ctc-dsl@pacbell.net>
4300 * libc/machine/xscale/memchr.c: Don't use multi-line strings.
4301 * libc/machine/xscale/memcmp.c: Ditto.
4302 * libc/machine/xscale/memcpy.c: Ditto.
4303 * libc/machine/xscale/memmove.c: Ditto.
4304 * libc/machine/xscale/memset.c: Ditto.
4305 * libc/machine/xscale/strchr.c: Ditto.
4306 * libc/machine/xscale/strcmp.c: Ditto.
4307 * libc/machine/xscale/strcpy.c: Ditto.
4308 * libc/machine/xscale/strlen.c: Ditto.
4310 2002-04-19 Alexandre Oliva <aoliva@redhat.com>
4312 * libc/include/sys/config.h: Remove include of <limits.h>.
4313 (__INT_MAX__, __LONG_MAX__): Define like GCC's limits.h would
4314 define INT_MAX and LONG_MAX. Use them in tests.
4316 2002-04-19 Jeff Johnston <jjohnstn@redhat.com>
4318 * configure.host: Add support for powerpc-eabialtivec*.
4319 * libc/include/malloc.h: Add include of <machine/malloc.h>.
4320 * libc/include/stdlib.h: Add include of <machine/stdlib.h>.
4321 * libc/include/machine/malloc.h: New file.
4322 * libc/include/machine/stdlib.h: Ditto.
4323 * libc/include/machine/setjmp.h: Add support for powerpc altivec.
4324 * libc/machine/powerpc/Makefile.am: Add conditional objects and
4325 sources based on configuration.
4326 * libc/machine/powerpc/Makefile.in: Regenerated.
4327 * libc/machine/powerpc/configure: Ditto.
4328 * libc/machine/powerpc/configure.in: Add check for
4329 powerpc-eabialtivec* in which case add in additional source files.
4330 * libc/machine/powerpc/setjmp.S: Add altivec support.
4331 * libc/machine/powerpc/vec_calloc.c: New file.
4332 * libc/machine/powerpc/vec_free.c: Ditto.
4333 * libc/machine/powerpc/vec_malloc.c: Ditto.
4334 * libc/machine/powerpc/vec_mallocr.c: Ditto.
4335 * libc/machine/powerpc/vec_realloc.c: Ditto.
4336 * libc/machine/powerpc/machine/malloc.h: Ditto.
4337 * libc/machine/powerpc/machine/stdlib.h: Ditto.
4338 * libc/machine/powerpc/vfprintf.c: New file that is vfprintf.c
4339 with added altivec format specifiers.
4340 * libc/machine/powerpc/vfscanf.c: New file that is vfscanf.c with
4341 added altivec format specifiers.
4343 2002-04-19 Joel Sherrill <joel@OARcorp.com>
4345 * libs/sys/rtems/crt0.c: Satisfy gcc's references to libc functions
4346 while autoconf is trying to link main(){}.
4348 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
4350 * libc/sys/linux/signal.c: Remove include of <bits/sigset.h>.
4351 * libc/sys/linux/sys/signal.h: Add include of <bits/sigset.h>.
4353 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
4355 * libc/time/time.tex: Add tzset info.
4357 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
4359 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
4360 (strptime): Moved prototype to be within !__STRICT_ANSI__.
4361 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
4362 (tzname): Defined for all platforms.
4363 (daylight, timezone): Defined only for CYGWIN.
4364 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
4366 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
4367 environment variable is set.
4368 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
4370 * libc/time/Makefile.in: Regenerated.
4371 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
4372 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
4373 * libc/time/lcltime_r.c (lcltime_r): Ditto.
4374 * libc/time/local.h: New local header file.
4375 * libc/time/mktime.c (mktime): Add timezone support.
4376 * libc/time/mktm_r.c: New file which is the common engine
4377 for gmtime_r and lcltime_r. This code has timezone support.
4378 * libc/time/strftime.c (strftime): Add %Z timezone support.
4379 * libc/time/tzlock.c: New file containing timezone lock stubs.
4380 * libc/time/tzset.c: New file containing tzset() routine.
4381 * libc/time/tzset_r.c: New file containing _tzset_r and
4382 internal routine for calculating timezone changes for specified year.
4384 2002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
4386 * configure.in (CRT0_DIR): Set to libc/.
4387 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
4388 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
4389 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
4390 $(CRT1_DIR)/$(CRT1).
4391 * libc/machine/xstormy16/Makefile.in: Regenerated.
4392 * libc/machine/xstormy16/aclocal.m4: Regenerated.
4393 * libc/machine/xstormy16/configure: Regenerated.
4395 2002-04-13 Alexandre Oliva <aoliva@redhat.com>
4397 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
4398 fails, don't bail out, and try to correct next time.
4400 * libc/include/sys/config.h: Include limits.h.
4402 2002-04-12 Eric Norum <eric.norum@usask.com>
4404 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
4405 routine to allow autoconf to determine that building executables
4407 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
4408 (rtems_gxx_mutex_once): Ditto.
4410 2002-04-09 Tom Rix <trix@redhat.com>
4412 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
4414 2002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
4416 * libc/include/time.h: Fix strptime declaration.
4417 * libc/time/Makefile.am: Add strptime.c.
4418 * libc/time/Makefile.in: Regenerated.
4419 * libc/time/strptime.c: New file.
4421 2002-04-08 Jeff Johnston <jjohnstn@redhat.com>
4423 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
4424 siglongjmp prototype, and sigsetjmp macro definition.
4425 * libc/sys/linux/siglongjmp.c: New file.
4426 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
4427 * libc/sys/linux/Makefile.in: Regenerated.
4429 2002-04-04 Jeff Johnston <jjohnstn@redhat.com>
4431 * Makefile.am: Add support for installing crt1.o if one exists.
4432 * configure.host: Specify crt1.o for linux.
4433 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
4434 * Makefile.in: Regenerated.
4436 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
4437 Added for non-Cygwin, non-RTEMS configurations.
4438 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
4439 * libc/sys/linux/Makefile.in: Regenerated.
4440 * libc/sys/linux/crt1.c: New empty file to override one defaulted
4441 by gcc. This fixes problem with reconfiguring linux newlib build.
4442 * libc/sys/linux/sysconf.c: New file.
4444 2002-04-03 Jeff Johnston <jjohnstn@redhat.com>
4446 * configure.host: Add support for machine subdirectory of
4448 * configure.in: Add check for sys machine subdirectory.
4449 * Makefile.am: Ditto.
4450 * configure: Regenerated.
4451 * Makefile.in: Ditto.
4452 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
4453 * libc/sys/linux/sys/syscall.h: Ditto.
4454 * libc/sys/linux/sleep.c: New file.
4455 * libc/sys/linux/socket.c: Ditto.
4456 * libc/sys/linux/sockops.h: Ditto.
4457 * libc/sys/linux/stack.c: Ditto.
4458 * libc/sys/linux/usleep.c: Ditto.
4459 * libc/sys/linux/machine/Makefile.am: Ditto.
4460 * libc/sys/linux/machine/Makefile.in: Ditto.
4461 * libc/sys/linux/machine/aclocal.m4: Ditto.
4462 * libc/sys/linux/machine/configure: Ditto.
4463 * libc/sys/linux/machine/configure.in: Ditto.
4464 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
4465 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
4466 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
4467 * libc/sys/linux/machine/i386/configure: Ditto.
4468 * libc/sys/linux/machine/i386/configure.in: Ditto.
4469 * libc/sys/linux/machine/i386/crt0.c: Ditto.
4470 * libc/sys/linux/machine/i386/sigset.c: Ditto.
4471 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
4472 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
4473 * libc/sys/linux/machine/i386/syscall.h: Ditto.
4474 * libc/sys/linux/sys/select.h: Ditto.
4475 * libc/sys/linux/configure.in: Add support for machine directory.
4476 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
4477 * libc/sys/linux/Makefile.in: Regenerated.
4478 * libc/sys/linux/configure: Ditto.
4479 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
4480 * libc/sys/linux/inode.c: Ditto.
4481 * libc/sys/linux/linux.c: Ditto.
4482 * libc/sys/linux/process.c: Ditto.
4483 * libc/sys/linux/systat.c: Ditto.
4484 * libc/sys/linux/time.c: Ditto.
4485 * libc/sys/linux/wait.c: Ditto.
4486 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
4487 * libc/sys/linux/io.c: Change header plus add readv/writev.
4488 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
4489 use __sigsuspend syscall.
4490 * libc/sys/linux/select.c: Change header plus change select to
4491 use _newselect syscall.
4492 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
4493 used by glibc header files.
4494 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
4497 2002-04-01 Jeff Johnston <jjohnstn@redhat.com>
4499 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
4500 initializing a struct _reent that has been dynamically allocated.
4501 (_REENT_CHECK_MISC): New macro that checks _misc struct for
4502 _REENT_SMALL and does nothing otherwise.
4503 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
4504 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
4505 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
4506 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
4507 [_REENT_SMALL](struct _misc_reent): New structure containing
4508 miscellaneous reentrant areas needed by newlib.
4509 [_REENT_SMALL](struct _reent): Add _misc pointer.
4510 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
4511 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
4512 and _REENT_STRTOK_LAST macros.
4513 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
4514 and _REENT_MBLEN_STATE macros.
4515 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
4516 and _REENT_MBTOWC_STATE macros.
4517 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
4518 and _REENT_WCTOMB_STATE macros.
4520 2002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
4522 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
4524 Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
4526 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
4528 Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
4530 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
4531 Store high part of leading bytes too.
4533 2002-03-22 Richard Sandiford <rsandifo@redhat.com>
4535 * libm/math/ef_hypot.c: Increase scale factor to 68.
4537 2002-03-13 Alexandre Oliva <aoliva@redhat.com>
4539 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
4542 2002-03-12 Jeff Johnston <jjohnstn@redhat.com>
4544 * libc/sys/go32/access.c: Change license to relaxed license
4545 used in identical file throughout newlib/libgloss.
4547 2002-03-12 Richard Earnshaw <rearnsha@arm.com>
4549 * libc/sys/arm/access.c: New file.
4550 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
4551 * libc/sys/arm/Makefile.in: Regenerate.
4552 * libc/sys/arm/syscalls.c (_stat): New function.
4554 2002-03-11 Michael Meissner <meissner@redhat.com>
4556 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
4557 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
4558 * libc/machine/mips/Makefile.in: Regenerate.
4559 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
4560 * libc/machine/mips/memset.c: Dito.
4561 * libc/machine/mips/strcmp.c: Dito.
4562 * libc/machine/mips/strlen.c: Dito.
4563 * libc/machine/mips/strncmp.c: Dito.
4565 2002-03-06 Jeff Johnston <jjohnstn@redhat.com>
4567 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
4568 object so it works for shared library or statici library.
4569 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
4571 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
4572 (strptime): Moved prototype to be within !__STRICT_ANSI__.
4573 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
4574 (tzname): Defined for all platforms.
4575 (daylight, timezone): Defined only for CYGWIN.
4576 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
4578 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
4579 environment variable is set.
4580 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
4582 * libc/time/Makefile.in: Regenerated.
4583 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
4584 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
4585 * libc/time/lcltime_r.c (lcltime_r): Ditto.
4586 * libc/time/local.h: New local header file.
4587 * libc/time/mktime.c (mktime): Add timezone support.
4588 * libc/time/mktm_r.c: New file which is the common engine
4589 for gmtime_r and lcltime_r. This code has timezone support.
4590 * libc/time/strftime.c (strftime): Add %Z timezone support.
4591 * libc/time/tzlock.c: New file containing timezone lock stubs.
4592 * libc/time/tzset.c: New file containing tzset() routine.
4593 * libc/time/tzset_r.c: New file containing _tzset_r and
4594 internal routine for calculating timezone changes for specified year.
4596 2002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
4598 * configure.in (CRT0_DIR): Set to libc/.
4599 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
4600 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
4601 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
4602 $(CRT1_DIR)/$(CRT1).
4603 * libc/machine/xstormy16/Makefile.in: Regenerated.
4604 * libc/machine/xstormy16/aclocal.m4: Regenerated.
4605 * libc/machine/xstormy16/configure: Regenerated.
4607 2002-04-13 Alexandre Oliva <aoliva@redhat.com>
4609 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
4610 fails, don't bail out, and try to correct next time.
4612 * libc/include/sys/config.h: Include limits.h.
4614 2002-04-12 Eric Norum <eric.norum@usask.com>
4616 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
4617 routine to allow autoconf to determine that building executables
4619 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
4620 (rtems_gxx_mutex_once): Ditto.
4622 2002-04-09 Tom Rix <trix@redhat.com>
4624 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
4626 2002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
4628 * libc/include/time.h: Fix strptime declaration.
4629 * libc/time/Makefile.am: Add strptime.c.
4630 * libc/time/Makefile.in: Regenerated.
4631 * libc/time/strptime.c: New file.
4633 2002-04-08 Jeff Johnston <jjohnstn@redhat.com>
4635 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
4636 siglongjmp prototype, and sigsetjmp macro definition.
4637 * libc/sys/linux/siglongjmp.c: New file.
4638 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
4639 * libc/sys/linux/Makefile.in: Regenerated.
4641 2002-04-04 Jeff Johnston <jjohnstn@redhat.com>
4643 * Makefile.am: Add support for installing crt1.o if one exists.
4644 * configure.host: Specify crt1.o for linux.
4645 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
4646 * Makefile.in: Regenerated.
4648 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
4649 Added for non-Cygwin, non-RTEMS configurations.
4650 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
4651 * libc/sys/linux/Makefile.in: Regenerated.
4652 * libc/sys/linux/crt1.c: New empty file to override one defaulted
4653 by gcc. This fixes problem with reconfiguring linux newlib build.
4654 * libc/sys/linux/sysconf.c: New file.
4656 2002-04-03 Jeff Johnston <jjohnstn@redhat.com>
4658 * configure.host: Add support for machine subdirectory of
4660 * configure.in: Add check for sys machine subdirectory.
4661 * Makefile.am: Ditto.
4662 * configure: Regenerated.
4663 * Makefile.in: Ditto.
4664 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
4665 * libc/sys/linux/sys/syscall.h: Ditto.
4666 * libc/sys/linux/sleep.c: New file.
4667 * libc/sys/linux/socket.c: Ditto.
4668 * libc/sys/linux/sockops.h: Ditto.
4669 * libc/sys/linux/stack.c: Ditto.
4670 * libc/sys/linux/usleep.c: Ditto.
4671 * libc/sys/linux/machine/Makefile.am: Ditto.
4672 * libc/sys/linux/machine/Makefile.in: Ditto.
4673 * libc/sys/linux/machine/aclocal.m4: Ditto.
4674 * libc/sys/linux/machine/configure: Ditto.
4675 * libc/sys/linux/machine/configure.in: Ditto.
4676 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
4677 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
4678 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
4679 * libc/sys/linux/machine/i386/configure: Ditto.
4680 * libc/sys/linux/machine/i386/configure.in: Ditto.
4681 * libc/sys/linux/machine/i386/crt0.c: Ditto.
4682 * libc/sys/linux/machine/i386/sigset.c: Ditto.
4683 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
4684 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
4685 * libc/sys/linux/machine/i386/syscall.h: Ditto.
4686 * libc/sys/linux/sys/select.h: Ditto.
4687 * libc/sys/linux/configure.in: Add support for machine directory.
4688 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
4689 * libc/sys/linux/Makefile.in: Regenerated.
4690 * libc/sys/linux/configure: Ditto.
4691 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
4692 * libc/sys/linux/inode.c: Ditto.
4693 * libc/sys/linux/linux.c: Ditto.
4694 * libc/sys/linux/process.c: Ditto.
4695 * libc/sys/linux/systat.c: Ditto.
4696 * libc/sys/linux/time.c: Ditto.
4697 * libc/sys/linux/wait.c: Ditto.
4698 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
4699 * libc/sys/linux/io.c: Change header plus add readv/writev.
4700 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
4701 use __sigsuspend syscall.
4702 * libc/sys/linux/select.c: Change header plus change select to
4703 use _newselect syscall.
4704 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
4705 used by glibc header files.
4706 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
4709 2002-04-01 Jeff Johnston <jjohnstn@redhat.com>
4711 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
4712 initializing a struct _reent that has been dynamically allocated.
4713 (_REENT_CHECK_MISC): New macro that checks _misc struct for
4714 _REENT_SMALL and does nothing otherwise.
4715 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
4716 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
4717 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
4718 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
4719 [_REENT_SMALL](struct _misc_reent): New structure containing
4720 miscellaneous reentrant areas needed by newlib.
4721 [_REENT_SMALL](struct _reent): Add _misc pointer.
4722 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
4723 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
4724 and _REENT_STRTOK_LAST macros.
4725 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
4726 and _REENT_MBLEN_STATE macros.
4727 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
4728 and _REENT_MBTOWC_STATE macros.
4729 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
4730 and _REENT_WCTOMB_STATE macros.
4732 2002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
4734 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
4736 Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
4738 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
4740 Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
4742 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
4743 Store high part of leading bytes too.
4745 2002-03-22 Richard Sandiford <rsandifo@redhat.com>
4747 * libm/math/ef_hypot.c: Increase scale factor to 68.
4749 2002-03-13 Alexandre Oliva <aoliva@redhat.com>
4751 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
4754 2002-03-12 Jeff Johnston <jjohnstn@redhat.com>
4756 * libc/sys/go32/access.c: Change license to relaxed license
4757 used in identical file throughout newlib/libgloss.
4759 2002-03-12 Richard Earnshaw <rearnsha@arm.com>
4761 * libc/sys/arm/access.c: New file.
4762 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
4763 * libc/sys/arm/Makefile.in: Regenerate.
4764 * libc/sys/arm/syscalls.c (_stat): New function.
4766 2002-03-11 Michael Meissner <meissner@redhat.com>
4768 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
4769 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
4770 * libc/machine/mips/Makefile.in: Regenerate.
4771 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
4772 * libc/machine/mips/memset.c: Dito.
4773 * libc/machine/mips/strcmp.c: Dito.
4774 * libc/machine/mips/strlen.c: Dito.
4775 * libc/machine/mips/strncmp.c: Dito.
4777 2002-03-06 Jeff Johnston <jjohnstn@redhat.com>
4779 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
4780 object so it works for shared library or statici library.
4781 * libc/machine/i386/Makefile.in: Regenerated.
4783 Wed Mar 6 10:24:26 2002 J"orn Rennecke <joern.rennecke@superh.com>
4785 * libc/machine/sh/Makefile.am (lib_a_SOURCES, SH64 case):
4786 Add memcpy.S, memset.S and strcpy.S.
4787 * libc/machine/sh/Makefile.in: Regenerate.
4788 * libc/machine/sh/asm.h (_ENTRY): Set SH5 alignment to 8 bytes.
4789 (SHHI, SHLO): Define.
4790 * libc/machine/sh/memset.S: Add code for SH5.
4791 * libc/machine/sh/memset.S: Likewise.
4792 * libc/machine/sh/strcpy.S: Likewise.
4794 2002-02-27 Jeff Johnston <jjohnstn@redhat.com>
4796 * configure.host: Add check for --disable-newlib-io-float
4797 configuration option and add -DNO_FLOATING_POINT to newlib cflags
4799 * acinclude.m4: Added --disable-newlib-io-float option.
4800 * aclocal.m4: Regenerated.
4802 * doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
4803 * libc/*/aclocal.m4 libc/*/configure
4804 * libm/*/aclocal.m4 libm/*/configure: Ditto.
4805 * libc/stdio/vfprintf.c [!INTEGER_ONLY]: Only set FLOATING_POINT
4806 if NO_FLOATING_POINT flag is not defined.
4808 2002-02-25 Jeff Johnston <jjohnstn@redhat.com>
4810 * libc/include/sys/config.h: Add __extension__ in front of
4811 long long references.
4813 2002-02-23 Corinna Vinschen <corinna@vinschen.de>
4815 * libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin.
4818 2002-02-23 Corinna Vinschen <corinna@vinschen.de>
4820 * libc/sys/cygwin/sys/dirent.h (struct __DIR): Use __off32_t instead
4823 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
4825 * libc/machine/xscale/strchr.c (strchr): Add 'r1' to the list of
4826 clobbered registers.
4828 2002-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
4830 * configure.host (newlib_cflags): When host is in m68* add
4833 2002-02-15 Jeff Johnston <jjohnstn@redhat.com>
4835 * libc/include/sys/config.h: Add definitions for
4836 __int16_t, __uint16_t, __int64_t, and __uint64_t.
4838 2002-02-12 Hans-Peter Nilsson <hp@bitrange.com>
4840 * libc/sys/mmixware/link.c: New.
4841 * libc/sys/mmixware/sys/syscall.h (TRAP1i, I3f): Make asm
4843 * libc/sys/mmixware/times.c (_times): Renamed from times.
4844 * libc/sys/mmixware/open.c (_open): Attempt to handle O_APPEND
4845 properly by reading previous contents, not through BinaryReadWrite.
4846 * libc/sys/mmixware/Makefile.am (lib_a_SOURCES): Add link.c
4847 * libc/sys/mmixware/Makefile.in: Regenerate.
4849 2002-02-10 Corinna Vinschen <corinna@vinschen.de>
4851 * libc/include/grp.h: Don't declare group functions when compiling
4854 2002-02-09 Corinna Vinschen <corinna@vinschen.de>
4856 * libc/include/grp.h: Include Cygwin specific header.
4857 * libc/include/sys/stat.h: Ditto. Don't define `struct stat'
4858 when compiling for Cygwin.
4859 * libc/include/sys/types.h: Don't define off_t, uid_t
4860 and gid_t when compiling for Cygwin.
4862 2002-02-08 matthew green <mrg@redhat.com>
4864 * libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): Allocate
4865 _REENT_EMERGENCY_SIZE, not sizeof(char *).
4867 2002-02-08 Alexandre Oliva <aoliva@redhat.com>
4869 Contribute sh64-elf.
4870 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
4871 * configure.host (newlib_cflags) [sh*-*-*]: Enable long long
4873 2001-01-29 Alexandre Oliva <aoliva@redhat.com>
4874 * libc/machine/sh/setjmp.S [SH5]: Switch to SHmedia mode before
4876 2001-01-24 Alexandre Oliva <aoliva@redhat.com>
4877 * libc/sys/sh/trap.S (___trap34) [SH5]: Don't trash r2.
4878 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
4879 * libc/machine/sh/configure.in: Rework conditionals.
4880 * libc/machine/sh/Makefile.am: Likewise.
4881 * libc/machine/sh/configure, libc/machine/sh/Makefile.in: Rebuilt.
4882 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
4883 * configure.host: Match `sh*'.
4884 * libc/include/machine/setjmp.h: Define for SH5.
4885 * libc/machine/sh/configure.in: Detect SH5.
4886 * libc/machine/sh/configure: Rebuilt.
4887 * libc/machine/sh/Makefile.am: Use only setjmp.S for SH5.
4888 * libc/machine/sh/Makefile.in: Rebuilt.
4889 * libc/machine/sh/asm.h: Adjust for SH5.
4890 * libc/machine/sh/setjmp.S: Implement in SHmedia.
4891 * libc/sys/sh/crt0.S: Likewise.
4892 * libc/sys/sh/trap.S: Likewise.
4894 2002-02-07 Jeff Johnston <jjohnstn@redhat.com>
4896 * libc/machine/i386/Makefile.am: (mach_add_src): Remove.
4897 (mach_add_obj): Conditionally set to setjmp.o or nothing.
4898 (LIB_SOURCES): Remove $(mach_add_src).
4899 (lib_a_LIBADD, lib_a_DEPENDENCIES): Add and set to $(mach_add_src).
4900 (lib_la_LIBADD, lib_la_DEPENDENCIES): Ditto.
4901 * libc/machine/i386/Makefile.in: Regenerate.
4903 2002-02-05 Manik Raina <manik@cisco.com>
4905 * libc/misc/dprintf.c (parse_number): #if 0 unused function.
4906 * libc/stdlib/ldtoa.c (_ldcheck): Remove unused local variables
4907 s, p, k, and outstr.
4908 * libc/stdlib/dtoa.c (_dtoa_r): Initialize mlo.
4910 2002-02-04 Jeff Johnston <jjohnstn@redhat.com>
4912 * libc/include/sys/reent.h [(!_REENT_SMALL]: Add
4913 _REENT_CHECK_EMERGENCY macro.
4915 2002-02-03 matthew green <mrg@redhat.com>
4917 * libc/reent/signgam.c (__signgam): Fix error in previous.
4919 2002-02-02 matthew green <mrg@redhat.com>
4921 * libc/include/sys/config.h (_REENT_SMALL): Define for Xstormy16.
4923 * libc/reent/reent.c (_reclaim_reent): Clean for _REENT_SMALL case.
4924 * libc/reent/reent.tex: Add blurb about _REENT_SMALL.
4925 * libc/include/sys/reent.h (struct _reent): Completely new version
4927 (_REENT_INIT): New defines, different defintion depending on _REENT_SMALL.
4928 (_REENT_CHECK, _REENT_CHECK_TM): Likewise.
4929 (_REENT_CHECK_ASCTIME_BUF, _REENT_INIT_RAND48): Likewise.
4930 (_REENT_CHECK_RAND48, _REENT_INIT_MP, _REENT_CHECK_MP): Likewise.
4931 (_REENT_CHECK_EMERGENCY, _REENT_SIGNGAM, _REENT_RAND_NEXT): Likewise.
4932 (_REENT_RAND48_SEED, _REENT_RAND48_MULT, _REENT_RAND48_ADD): Likewise.
4933 (_REENT_MP_RESULT, _REENT_MP_RESULT_K, _REENT_MP_P5S): Likewise.
4934 (_REENT_MP_FREELIST, _REENT_ASCTIME_BUF, _REENT_TM): Likewise.
4935 (_REENT_EMERGENCY): Likewise.
4937 * libc/include/sys/reent.h (struct __sFILE_fake): New struct, same as
4938 the start of the real __sFILE, used for stdin, stdout and stderr until
4939 they are setup properly.
4940 (struct __sFILE): Move location of _data in _REENT_SMALL case.
4941 * libc/stdio/findfp.c (__sinit): Rearrange for _REENT_SMALL case by
4942 allocated stdin, stdout and stderr.
4943 * libc/stdio/getchar.c (_getchar_r): Call _REENT_SMALL_CHECK_INIT().
4944 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Likewise.
4945 * libc/stdio/perror.c (_perror_r): Likewise.
4946 * libc/stdio/printf.c (printf, _printf_r): Likewise.
4947 * libc/stdio/putchar.c (_putchar_r): Likewise.
4948 * libc/stdio/puts.c (_puts_r): Likewise.
4949 * libc/stdio/scanf.c (scanf, _scanf_r): Likewise.
4950 * libc/stdio/vprintf.c (vprintf): Likewise.
4951 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Likewise.
4953 * libc/stdio/tmpnam.c (_tmpnam_r): Use _REENT_EMERGENCY().
4955 * libc/reent/reent.c (_wrapup_reent): Adjust for _REENT_SMALL atexit.
4956 * libc/include/sys/reent.h (_atexit): Limit atexit() entries to 32
4958 * libc/stdlib/atexit.c (atexit): Rearrange for _REENT_SMALL case.
4959 * libc/stdlib/exit.c (exit): Rearrange for _REENT_SMALL case.
4961 * libc/include/sys/reent.h (struct _rand48): Keep _rand_next if
4963 * libc/stdlib/drand48.c (_drand48_r): Call _REENT_CHECK_RAND48().
4964 * libc/stdlib/lcong48.c (_lcong48_r): Likewise.
4965 * libc/stdlib/lrand48.c (_lrand48_r): Likewise.
4966 * libc/stdlib/mrand48.c (_mrand48_r): Likewise.
4967 * libc/stdlib/rand48.c (__dorand48): Likewise.
4968 * libc/stdlib/seed48.c (_seed48_r): Likewise.
4969 * libc/stdlib/srand48.c (_srand48_r): Likewise.
4970 * libc/stdlib/rand48.h (__rand48_seed, __rand48_mult, __rand48_add): Define
4971 as _REENT_RAND48_SEED(), _REENT_RAND48_MULT() and _REENT_RAND48_ADD().
4972 * libc/stdlib/dtoa.c (_dtoa_r): Call _REENT_CHECK_MP(). Use
4973 _REENT_MP_RESULT() and _REENT_MP_RESULT_K().
4974 * libc/stdlib/ldtoa.c (_ldtoa_r): Likewise.
4975 * libc/stdlib/rand.c (srand): Use _REENT_RAND_NEXT().
4976 * libc/stdlib/rand.c (rand): Likewise.
4978 * libc/stdlib/mallocr.c (malloc_stats): Call _REENT_SMALL_CHECK_INIT().
4979 * libc/stdlib/mstats.c (_mstats_r): Call _REENT_SMALL_CHECK_INIT().
4981 * libc/stdlib/mprec.c (Balloc): Call _REENT_CHECK_MP. Use
4982 _REENT_MP_FREELIST() and _REENT_MP_P5S.
4983 * libc/include/sys/reent.h (struct _mprec): New structure.
4985 * libc/include/sys/reent.h (struct _reent): Rename _strtok_last to
4986 _unused_strtok_last.
4987 * libc/string/strtok.c (strtok): Use a local static variable.
4989 * libc/include/sys/reent.h (_REENT_ASCTIME_SIZE): New define.
4990 (_REENT_EMERGENCY_SIZE): Likewise.
4991 * libc/time/asctime.c (asctime): Call _REENT_CHECK_ASCTIME_BUF(). Use
4992 _REENT_ASCTIME_BUF().
4993 * libc/time/lcltime.c (localtime): Call _REENT_CHECK_TM(). Use
4996 * libc/include/math.h (__singam_r): Use _REENT_SIGNGAM().
4997 * libc/reent/signgam.c (__signgam): Use _REENT_SIGNGAM().
4998 * libm/math/w_gamma.c (gamma): Use _REENT_SIGNGAM().
4999 * libm/math/w_lgamma.c (lgamma): Use _REENT_SIGNGAM().
5000 * libm/math/wf_gamma.c (gammaf): Use _REENT_SIGNGAM().
5001 * libm/math/wf_lgamma.c (lgammaf): Use _REENT_SIGNGAM().
5003 2002-02-01 Geoffrey Keating <geoffk@redhat.com>
5005 * configure.host (xstormy16): Don't use the generic malloc.
5006 * libc/machine/xstormy16/Makefile.am: Build tiny-malloc.
5007 * libc/machine/xstormy16/Makefile.in: Regenerate.
5008 * libc/machine/xstormy16/mallocr.c: New file.
5009 * libc/machine/xstormy16/tiny-malloc.c: New file.
5011 2002-01-28 Thomas Fitzsimmons <fitzsim@redhat.com>
5013 * libc/include/sys/signal.h [__CYGWIN__]: Issue error message
5014 when _CYGWIN_TYPES_H is not defined.
5016 2002-01-24 Thomas Fitzsimmons <fitzsim@redhat.com>
5018 * libc/include/sys/signal.h: Revert 2002-01-23 change.
5020 2002-01-23 Thomas Fitzsimmons <fitzsim@redhat.com>
5022 * libc/include/sys/signal.h: Remove pthread_kill declaration
5023 when __CYGWIN__ is defined.
5025 2002-01-18 Mark Bradshaw <bradshaw@staff.crosswalk.com>
5027 * libc/include/time.h: Add prototype for strptime for Cygwin.
5029 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
5031 * libc/machine/xscale/memset.c (memset): Fix bug when len == 1 and
5032 dst was not word aligned.
5034 * libc/sys/arm/syscalls.c (_sbrk): Return -1 rather than aborting
5035 if too much memory is requested.
5037 2002-01-11 Jeff Johnston <jjohnstn@redhat.com>
5039 * libc/stdio/vfscanf.c (__svfscanf_r): Change loop that
5040 reads blanks from the input file to break if EOF reached
5041 rather than end processing.
5043 2002-01-07 Jeff Johnston <jjohnstn@redhat.com>
5045 * MAINTAINERS: Change e-mail addresses to refer to redhat domain.
5047 2002-01-07 Alan Matsuoka <alanm@redhat.com>
5049 * libc/include/machine/ieeefp.h: Configure d10v doubles to
5050 be 32 bits if __DOUBLE__ == 32 otherwise doubles are 64 bits.
5051 libc/include/sys/config.h: Ditto.
5053 2001-12-28 Corinna Vinschen <corinna@vinschen.de>
5055 * libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE.
5057 2001-12-22 Geoffrey Keating <geoffk@redhat.com>
5058 Catherine Moore <clm@redhat.com>
5059 Richard Henderson <rth@redhat.com>
5060 Corinna Vinschen <vinschen@redhat.com>
5062 * configure.host: Add support for xstormy16.
5063 * libc/include/machine/ieeefp.h: Add support for xstormy16.
5064 * libc/include/machine/setjmp.h: Add support for xstormy16.
5065 * libc/include/sys/config.h: Add support for xstormy16.
5066 * libc/machine/xstormy16/Makefile.am: New file.
5067 * libc/machine/xstormy16/Makefile.in: New file.
5068 * libc/machine/xstormy16/aclocal.m4: New file.
5069 * libc/machine/xstormy16/configure: New file.
5070 * libc/machine/xstormy16/configure.in: New file.
5071 * libc/machine/xstormy16/setjmp.S: New file.
5073 2001-12-19 Thomas Fitzsimmons <fitzsim@redhat.com>
5075 * libm/machine/configure.in (HAVE_LIBM_MACHINE_DIR): New conditional.
5076 * libm/machine/Makefile.am [HAVE_LIBM_MACHINE_DIR] (LIBM_MACHLIB): New variable.
5078 2001-12-19 Corinna Vinschen <corinna@vinschen.de>
5080 * libm/machine/Makefile.am: Change rules to create correct lib.a.
5081 * libm/machine/Makefile.in: Regenerated through automake.
5083 2001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
5085 * Makefile.am (DOCDIR): Force to empty string when doc
5086 directory is not present.
5088 2001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
5090 * libc/machine/i386/f_*: Move to libm/machine/i386.
5092 2001-12-18 Joel Sherrill <joel@OARcorp.com>
5094 * libm/machine/Makefile.am: Add dummy doc stub so
5097 2001-12-17 Joel Sherrill <joel@OARcorp.com>
5099 * libc/include/sys/types.h (ino_t): RTEMS uses long also.
5101 2001-12-17 Thomas Fitzsimmons <fitzsim@redhat.com>
5103 * libc/stdlib/Makefile.am (LIB_COMPILE): Change to equal
5104 $(COMPILE) rather than $(CC).
5105 * libc/stdio/Makefile.am (LIB_COMPILE): Likewise.
5106 (vfprintf.$(oext)): Remove $(INCLUDES), made redundant by
5107 $(LIB_COMPILE) change.
5108 (vfiprintf.$(oext)): Likewise.
5110 2001-12-17 Corinna Vinschen <vinschen@redhat.de>
5112 * libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allow
5113 conditionalized including of getopt stuff.
5115 2001-12-14 Thomas Fitzsimmons <fitzsim@redhat.com>
5117 * libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) to
5119 (vfiprintf.$(oext)): Likewise.
5121 2001-12-13 Thomas Fitzsimmons <fitzsim@redhat.com>
5123 * Makefile.shared: New file.
5124 * libc/sys/linux/shared.ld: New file.
5125 * libm/machine/*: New files.
5126 * libm/machine/i386/*: New files.
5127 * Makefile.am: Add libtool support. Change math and mathfp
5128 references to variables.
5129 * configure.host: Add variables for libtool support. Add
5130 libm_machine_dir variable.
5131 * configure.in: Add objectlist variables, for libtool
5132 support. Add CC_FOR_BUILD tests.
5133 * libc/Makefile.am: Add libtool support. Change crt0.o
5134 reference to be a variable reference.
5135 * libc/configure.in: Add libtool support. Change sublib
5136 names to be lib${subdir}.la when using libtool.
5137 * libc/ctype/Makefile.am: Add libtool support.
5138 * libc/errno/Makefile.am: Likewise.
5139 * libc/locale/Makefile.am: Likewise.
5140 * libc/machine/Makefile.am: Likewise.
5141 * libc/machine/configure.in: Likewise.
5142 * libc/machine/i386/Makefile.am: Likewise.
5143 * libc/machine/i386/configure.in: Likewise.
5144 * libc/misc/Makefile.am: Likewise.
5145 * libc/posix/Makefile.am: Likewise.
5146 * libc/reent/Makefile.am: Likewise.
5147 * libc/signal/Makefile.am: Likewise.
5148 * libc/stdio/Makefile.am: Likewise.
5149 * libc/stdlib/Makefile.am: Likewise.
5150 * libc/string/Makefile.am: Likewise.
5151 * libc/sys/Makefile.am: Likewise.
5152 * libc/sys/configure.in: Likewise.
5153 * libc/sys/linux/Makefile.am: Add libtool support. Change
5154 awk reference to a variable reference. Change signal.h
5155 reference to a variable reference.
5156 * libc/sys/linux/configure.in: Add libtool support.
5157 * libc/syscalls/Makefile.am: Likewise.
5158 * libc/time/Makefile.am: Likewise.
5159 * libc/unix/Makefile.am: Likewise.
5160 * libm/Makefile.am: Add libtool support. Change math and
5161 mathfp references to variables.
5162 * libm/configure.in: Add libtool support. Add
5163 LIBM_MACHINE_LIB variable.
5164 * libm/common/Makefile.am: Add libtool support.
5165 * libm/math/Makefile.am: Likewise.
5166 * libm/mathfp/Makefile.am: Likewise.
5167 Regenerate all Makefile.in, aclocal.m4, and configure.
5169 2001-12-13 Anita Kulkarni <anitak@kpit.com>
5171 * libc/sys/sh/crt0.S: Remove stack symbol definition 0xdeaddead.
5173 2001-12-06 John Peacock <jpeacock@rowman.com>
5175 * libc/include/sys/unistd.h: Correct ualarm declaration.
5177 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
5179 * libc/sys/arm/crt0.S: For __USES_INITFINI__ preserve the argument
5180 vector before calling the initialisation functions.
5182 2001-11-29 Christopher Faylor <cgf@redhat.com>
5184 * libc/include/dirent.h: Protect against multiple inclusion.
5186 2001-11-27 Christopher Faylor <cgf@redhat.com>
5188 * libc/include/sys/types.h: Define useconds_t.
5189 * libc/include/sys/ulimit.h: Declare ualarm.
5191 2001-11-21 Christopher Faylor <cgf@redhat.com>
5193 * libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.
5195 2001-11-19 Hans-Peter Nilsson <hp@bitrange.com>
5197 * libc/sys/mmixware/*: Tweak license header in all source files.
5199 2001-11-12 Corinna Vinschen <vinschen@redhat.com>
5201 * libc/include/alloca.h: Move libc/sys/linux/include/alloca.h
5202 to here. Rearrange for general inclusion by stdlib.h.
5203 * libc/include/stdlib.h: Include <alloca.h> if __STRICT_ANSI__
5205 * libc/sys/linux/include/alloca.h: Move to libc/include.
5207 2001-11-12 Anthony Green <green@redhat.com>
5209 * libc/sys/arm/crt0.S (__stack_base__): New symbol.
5211 2001-11-13 Hans-Peter Nilsson <hp@bitrange.com>
5213 * libc/sys/mmixware/*: Correct spacing in all source files.
5214 * libc/sys/mmixware/syscall.h: Move misplaced file...
5215 * libc/sys/mmixware/sys/syscall.h: ...here.
5217 2001-11-12 Hans-Peter Nilsson <hp@bitrange.com>
5219 * libc/include/machine/ieeefp.h: Add support for mmix target.
5220 * libc/include/machine/setjmp.h: Ditto.
5221 * configure.host: Ditto.
5222 * libc/sys/mmixware/Makefile.am, libc/sys/mmixware/_exit.c,
5223 libc/sys/mmixware/access.c, libc/sys/mmixware/aclocal.m4,
5224 libc/sys/mmixware/chmod.c, libc/sys/mmixware/chown.c,
5225 libc/sys/mmixware/close.c, libc/sys/mmixware/configure.in,
5226 libc/sys/mmixware/creat.c, libc/sys/mmixware/crt0.c,
5227 libc/sys/mmixware/execv.c, libc/sys/mmixware/execve.c,
5228 libc/sys/mmixware/fork.c, libc/sys/mmixware/fstat.c,
5229 libc/sys/mmixware/getpid.c, libc/sys/mmixware/gettime.c,
5230 libc/sys/mmixware/isatty.c, libc/sys/mmixware/kill.c,
5231 libc/sys/mmixware/lseek.c, libc/sys/mmixware/open.c,
5232 libc/sys/mmixware/pipe.c, libc/sys/mmixware/read.c,
5233 libc/sys/mmixware/sbrk.c, libc/sys/mmixware/setjmp.S,
5234 libc/sys/mmixware/stat.c, libc/sys/mmixware/sys/syscall.h,
5235 libc/sys/mmixware/time.c, libc/sys/mmixware/times.c,
5236 libc/sys/mmixware/unlink.c, libc/sys/mmixware/utime.c,
5237 libc/sys/mmixware/wait.c, libc/sys/mmixware/write.c: New files.
5238 * libc/sys/mmixware/configure, libc/sys/mmixware/Makefile.in,
5239 libc/sys/mmixware/aclocal.m4: Generate.
5241 2001-11-05 Corinna Vinschen <corinna@vinschen.de>
5243 * libc/include/sys/unistd.h: Add prototypes for endusershell(),
5244 getusershell(), iruserok(), revoke(), ruserok() and setusershell()
5245 when __CYGWIN__ is defined.
5246 * libc/sys/cygwin/sys/utmp.h: Add prototypes for login_tty() and
5249 2001-11-01 Arati Dikey <aratidikey@hotmail.com>
5251 * libm/mathfp/sf_isinf.c (isinff): Change to use _DEFUN macro.
5252 [_DOUBLE_IS_32BITS](isinf): New function that calls isinff.
5253 * libm/mathfp/sf_isnan.c (isnanf): Change to use _DEFUN macro.
5254 [_DOUBLE_IS_32BITS](isnan): New function that calls isnanf.
5256 2001-10-24 Christopher Faylor <cgf@redhat.com>
5258 * libc/stdio/fseek.c: Reset pointer to buffer base
5259 when forced to seek outside of current buffer contents.
5260 This prevents the code from erroneously thinking there is
5261 anything in the current buffer.
5263 2001-10-22 Geoffrey Keating <geoffk@redhat.com>
5265 * libc/include/math.h: The C++ standard adds the single-precision
5266 versions of the elementary functions.
5268 2001-10-22 Christopher Faylor <cgf@redhat.com>
5270 * libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations
5272 * signal.h: Change comment to reflect __CYGWIN__ rather than __CYGWIN32__.
5273 * popen.c (popen): Use __CYGWIN_ rather than __CYGWIN32__.
5274 * system.c (_system_r): Ditto.
5276 2001-10-17 Corinna Vinschen <corinna@vinschen.de>
5278 * libc/include/sys/unistd.h: Add prototype for fchdir() when
5279 __CYGWIN__ or __rtems__ is defined.
5281 2001-10-01 Charles Wilson <cwilson@ece.gatech.edu>
5283 * libc/include/stdlib.h: add declarations for
5284 _strtoull_r, _strtoll_r, strtoull, and strtoll.
5285 * libc/stdio/local.h: remove declarations of
5286 __strtoull_r and __strtoll_r.
5287 * libc/stdio/vfscanf.c(__svfscanf_r): call
5288 _strtoull_r instead of __strtoull_r. Ditto
5289 _strtoll_r vs. __strtoll_r.
5290 * libc/stdlib/Makefile.am: add new files to
5291 .c list and .def list
5292 * libc/stdlib/Makefile.in: regenerate
5293 * libc/stdlib/strtoll_r.c: rename __strtoll_r
5295 * libc/stdlib/strtoull_r.c: rename __strtoull_r
5297 * libc/stdlib/strtoull.c: new file
5298 * libc/stdlib/strtoll.c: new file
5300 Mon Sep 17 17:29:47 2001 Christopher Faylor <cgf@cygnus.com>
5302 * libc/include/process.h: Add getpid() declaration.
5304 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
5306 * libc/sys/arm/crt0.S: Add calls to _init and _fini (via atexit)
5307 for new style arm/elf ctor/dtor handling.
5308 Minor formatting tidy up.
5310 2001-09-13 Jeff Johnston <jjohnstn@redhat.com>
5312 * libc/stdlib/Makefile.am: Add support to build strtoll_r.c
5314 * libc/stdlib/Makefile.in: Regenerated.
5315 * libc/stdlib/strtoll_r.c: New file.
5316 * libc/stdlib/strtoull_r.c: New file.
5317 * libc/stdio/local.h: Add prototypes for long long string
5318 conversion routines.
5319 * libc/stdio/vfscanf.c (__svfscanf_r): Add optional long long support
5320 tied to %L integer conversion specifier.
5322 Thu Sep 13 08:49:49 2001 Jason Tishler <jason@tishler.net>
5324 * strftime.c (strftime): Fix "%W" implementation to properly handle
5327 2001-09-07 Jeff Law <law@redhat.com>
5329 * libc/sys/h8300hms/crt0.S: For H8/300H and H8/S, load address of
5330 __fini with "mov.l" instead of "mov.w".
5332 2001-09-05 Corinna Vinschen <corinna@vinschen.de>
5334 * libc/sys/cygwin/include/unistd.h: New file, wrapping sys/unistd.h
5337 2001-09-04 Jason Merrill <jason_merrill@redhat.com>
5339 * libc/sys/h8300hms/crt0.S: Support ELF initialization.
5341 2001-09-03 Corinna Vinschen <corinna@vinschen.de>
5343 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number
5345 (__DIRENT_VERSION): New define.
5347 2001-09-03 Corinna Vinschen <corinna@vinschen.de>
5349 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add `d_fd' member.
5350 Shrink __d_reserved accordingly to keep structure size.
5351 (dirfd): Declare external.
5353 2001-08-29 Joel Sherrill <joel@OARcorp.com>
5355 * libc/include/sys/unistd.h: Prototype chroot() for RTEMS.
5357 2001-08-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
5359 * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S,
5360 libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c,
5361 libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S,
5362 libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S,
5363 libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S,
5364 libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S,
5365 libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c,
5366 libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S:
5367 Add conditional compilation to avoid HW FPU instructions
5368 when compiled for soft-float.
5370 2001-08-29 Jeff Johnston <jjohnstn@redhat.com>
5372 * Makefile.am: Add check for ln failing when creating libg.a
5373 so that cp gets used as a backup.
5374 * Makefile.in: Regenerated.
5376 2001-08-29 Jeff Johnston <jjohnstn@redhat.com>
5378 * libc/include/sys/reent.h: Add include of <sys/_types.h>.
5379 No longer include time.h. Add struct __tm to use for
5380 _localtime_buf in the reentrant structure. Add a
5381 _NULL definition to use in initializing the reentrant struct.
5382 * libc/include/sys/config.h: For CYGWIN32 and RTEMS, change
5383 the _READ_WRITE_RETURN_TYPE to _ssize_t which is found in
5385 * libc/include/sys/unistd.h: Include <sys/_types.h>.
5386 * libc/time/lcltime.c (localtime): Cast the reentrant struct
5387 _localtime_buf to be struct tm *.
5389 Wed Aug 29 14:17:38 2001 J"orn Rennecke <amylaar@redhat.com>
5391 * configure.host (h8300-*-elf*, h8500-*-elf*): New cases.
5392 * libc/sys/h8300hms/crt1.c (__main): Don't reference __ctors /
5394 * libc/sys/h8300hms/syscalls.c: Include errno.h.
5395 (_unlink): New stub function.
5397 Sat Aug 25 22:22:25 2001 Christopher Faylor <cgf@cygnus.com>
5399 * libc/include/sys/errno.h: Add a cautionary comment.
5401 2001-08-21 Jeff Johnston <jjohnstn@redhat.com>
5403 * libc/stdlib/mallocr.c [!defined(MALLOC_ALIGNMENT)]: Add conditional
5404 for SIZE_SZ so that alignment ends up a minimum of 8.
5406 Mon Aug 13 22:26:01 2001 Christopher Faylor <cgf@cygnus.com>
5408 * libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro
5411 * libc/include/sys/errno.h: Declare sys_errlist and sys_nerr, under
5414 2001-08-13 Jeff Johnston <jjohnstn@redhat.com>
5416 * libc/include/malloc.h (M_MXFAST, M_NLBLKS, M_GRAIN, M_KEEP): New
5417 macro constants for mallopt options.
5418 (M_TRIM_THRESHOLD, M_TOP_PAD, M_MMAP_THRESHOLD, M_MMAP_MAX): Ditto.
5420 2001-08-02 Jeff Johnston <jjohnstn@redhat.com>
5422 * libc/include/stdio.h (BUFSIZ): Define to __BUFSIZ__ if provided,
5425 2001-07-12 Aldy Hernandez <aldyh@redhat.com>
5427 * libc/machine/mips/setjmp.S: Allow mips16 and mips64 to coexist.
5429 2001-06-27 Nick Clifton <nickc@cambridge.redhat.com>
5431 * libc/include/machine/ieeefp.h (__IEEE_BYTES_LITTLE_ENDIAN):
5432 Define for little endian ARMs.
5434 * libc/stdlib/mprec.h (Storeinc): Use little endian version if
5435 __IEEE_BYTES_LITTLE_ENDIAN is defined.
5437 2001-06-11 Danny Smith <dannysmith@users.sourceforge.net>
5439 * /libc/include/ctype.h (is* and to* macros): Do not define if C++.
5441 2001-06-11 Egor Duda <deo@logos-m.ru>
5443 * libc/ctype/ctype_.c: When compiled with gcc on platforms
5444 with signed char, make _ctype_[-128] ... _ctype[-1] refer to
5445 initialized memory region. Platform can define COMPACT_CTYPE
5446 to avoid allocation of the additional 128 bytes of data.
5447 Add pointer to _ctype_ array. Always initialize all _ctype_
5450 2001-06-08 Jonathan Larmour <jlarmour@redhat.com>
5452 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencing
5455 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
5457 * libc/stdio/vfprintf.c (_VFPRINTF_R): Handle printf ("%#.0o",0)
5459 2001-05-25 Nick Clifton <nickc@cambridge.redhat.com>
5461 * libc/machine/xscale/memcmp.c: Fix bug when both pointers have
5462 matching, non-word alignment, and the length is <= 4 but more than
5463 enough to move them over a word boundary.
5464 Add comments explaining what each instruction does.
5466 Mon May 7 20:39:25 2001 Christopher Faylor <cgf@cygnus.com>
5468 * libc/include/sys/stat.h: Revert March 3, Cygwin change.
5469 * libc/include/sys/unistd.h: Ditto.
5471 2001-05-04 Earnie Boyd <earnie@users.sourceforge.net>
5473 * libc/string/strrchr.c: Use strchr for the speed improvements.
5475 2001-05-01 Jeff Johnston <jjohnstn@redhat.com>
5477 * libc/stdio/findfp (__sinit)[HAVE_FCNTL]: For platforms that have
5478 real file systems, let __smakebuf() determine if line buffering
5479 should be used for stdout.
5481 2001-04-27 Jeff Johnston <jjohnstn@redhat.com>
5483 * libc/stdio/vfscanf.c (__svfscanf_r): Initialize new_exp local var.
5485 2001-04-27 Jeff Johnston <jjohnstn@redhat.com>
5487 * libc/include/stdlib.h: Add prototype for _strtod_r.
5489 2001-04-24 Charles Wilson <cwilson@ece.gatech.edu
5491 * libc/stdio/vprintf.c (vprintf): fix signature to use _DEFUN
5492 * libc/stdio/vprintf.c (_vprintf_r): new function
5493 * libc/stdio/vsnprintf.c (vsnprintf): fix signature to use _DEFUN
5494 * libc/stdio/vsnprintf.c (_vsnprintf_r): fix signature to use
5495 _DEFUN, and call _vfprintf_r, not vfprintf.
5496 * libc/stdio/vsprintf.c (vsprintf.c): fix signature to use _DEFUN
5497 * libc/stdio/vsprintf.c (_vsprintf_r): fix signature to use
5498 _DEFUN, and call _vfprintf_r, not vfprintf.
5500 2001-04-22 Earnie Boyd <earnie@users.sourceforge.net>
5502 * libc/include/sys/unistd.h [X_OK]: Use better protection against
5503 Cygwin X_OK definitions in sys/file.h.
5505 Fri Apr 20 23:17:51 2001 Christopher Faylor <cgf@cygnus.com>
5507 * libc/include/sys/time.h: Define timercmp and other macros for
5510 2001-04-20 Jeff Johnston <jjohnstn@redhat.com>
5512 * acinclude.m4: Added --enable-malloc-debugging configure flag.
5513 * configure.host: For Cygwin specify -DMALLOC_PROVIDED if
5514 --enable-malloc-debugging selected.
5515 * aclocal.m4 configure: Regenerated.
5516 libm/aclocal.m4 libm/configure: Ditto.
5517 * libc/aclocal.m4 libc/configure: Ditto.
5518 * libc/machine/aclocal.m4 libc/machine/configure: Ditto.
5519 * libc/machine/*/aclocal.m4 libc/machine/*/configure: Ditto.
5520 * libc/sys/aclocal.m4 libc/sys/configure: Ditto.
5521 * libc/sys/*/aclocal.m4 libc/sys/*/configure: Ditto.
5522 * doc/aclocal.m4 doc/configure: Ditto.
5524 2001-04-20 Jeff Johnston <jjohnstn@redhat.com>
5526 * libc/include/stdio.h[!_REENT_ONLY]: Moved various functions together
5528 [!__STRICT_ANSI__]: Moved non-ANSI I/O functions in this list.
5529 (vfscanf, vscanf, vsscanf, _vfscanf_r, _vscanf_r, _vsscanf_r): New
5530 function prototypes.
5531 (_fscanf_r, _sscanf_r): Ditto.
5532 * libc/include/stdlib.h: Added _strtod_r prototype.
5533 * libc/stdio/Makefile.am: Add new v*scanf functions.
5534 * libc/stdio/Makefile.in: Regenerate.
5535 * libc/stdio/fscanf.c: Reorganized so HAVE_STDC only affects prototype
5536 and code is shared. Added reentrant _fscanf_r which calls __svfscanf_r.
5537 * libc/stdio/scanf.c: Changed to call __svfscanf_r.
5538 * libc/stdio/sscanf.c: Changed documentation to add reentrant routines.
5539 (sscanf): Changed to call __svfscanf_r with _REENT argument.
5540 (_sscanf_r): New routine.
5541 * libc/stdio/local.h: Removed __svfscanf prototype and replaced it
5542 with __svfscanf_r prototype.
5543 * libc/stdio/vfscanf.c (vfscanf, _vfscanf_r: New
5545 (__svfscanf_r): Reentrant version of __svfscanf which takes reetrancy
5546 structure as argument as calls reentrant versions of helper functions
5547 (e.g. _strtol_r, _strtoul_r). Also replaced calls to atol and atof
5548 to _strtol_r and _strtod_r respectively.
5549 * libc/stdio/vfscanf.c: Also changed __svfscanf to call __svfscanf_r.
5550 * libc/stdlib/strtod.c (strtod): Changed to call _strtod_r with
5552 * libc/stdio/vscanf.c: New file.
5553 * libc/stdio/vsscanf.c: Ditto.
5555 2001-04-19 Robert Collins <rbtcollins@hotmail.com>
5557 * include/time.h[__CYGWIN__]: Define tzname to _tzname if not defined.
5558 Define daylight to _daylight if it is not defined
5559 Prepare a variable export of timezone based on timezonevariable.
5560 (Cannot be used with the timezone() function.)
5562 2001-04-17 Stephen L. Moshier <moshier@moshier.ne.mediaone.net>
5564 * newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi):
5565 Correct the numerical values.
5567 2001-04-13 Robert Collins <rbtcollins@hotmail.com>
5569 * libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only).
5571 Thu Apr 12 23:11:00 2001 Corinna Vinschen <corinna@vinschen.de>
5573 * libc/include/sys/errno.h: Add ECASECLASH to indicate case clash
5574 on case insensitve file systems.
5576 2001-04-12 Robert Collins <rbtcollins@hotmail.com>
5578 * libc/include/sys/features.h: Add appropriate defines for Cygwin
5580 * libc/include/sys/signal.h: Remove unneeded __CYGWIN__ protection.
5581 * libc/include/sys/types.h: Protect __CYGWIN__ from the rtems pthreads
5582 types. Include <cygwin/types.h> for the cygwin specific typedefs.
5584 2001-04-04 Richard Sandiford <rsandifo@redhat.com>
5586 * libc/include/machine/ieeefp.h: Comment about new configuration
5587 macros _FLT_LARGEST_EXPONENT_IS_NORMAL and _FLT_NO_DENORMALS.
5588 * libm/common/fdlib.h: Define new macros for testing floats.
5589 * libm/common/sf_*: Use them.
5590 * libm/math/ef_*: Likewise.
5591 * libm/math/sf_*: Likewise.
5593 2001-03-29 Jeff Johnston <jjohnstn@redhat.com>
5595 * libc/sys/arm/setjmp.S: Added .code 16 specifier for thumb-mode
5596 prolog to by-pass possible assembler error.
5598 2001-03-21 Egor Duda <deo@logos-m.ru>
5600 Allow building internal stubs for non-reentrant syscalls
5601 if target provides its own malloc
5602 * libc/reent/reent.c (errno): Move definition here.
5603 * libc/reent/sbrkr.c: From here.
5605 2001-03-20 Danny Smith <dannysmith@users.sourceforge.net>
5607 * libc/include/sys/types.h (BSD int typedefs): Guard with
5608 _BSDTYPES_DEFINED rather than _WINSOCK_H.
5609 (fd_set): Add !defined __USE_W32_SOCKETS to guard; define
5611 * libc/include/sys/unistd.h (gethostname): Don't declare if defined
5612 (_WINSOCK_H) || defined (__USE_W32_SOCKETS).
5614 Sat Mar 17 18:30:00 2001 Corinna Vinschen <corinna@vinschen.de>
5616 * libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS and
5617 _PC_POSIX_SECURITY constants for Cygwin.
5619 Wed Mar 14 9:34:00 2001 Corinna Vinschen <corinna@vinschen.de>
5621 * libc/sys/cygwin/crt0.c: Add copyright hint.
5622 * libc/sys/cygwin/sys/dirent.h: Ditto.
5623 * libc/sys/cygwin/sys/param.h: Ditto.
5624 * libc/sys/cygwin/sys/utime.h: Ditto.
5625 * libc/sys/cygwin/sys/utmp.h: Ditto.
5627 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
5629 * libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make it
5630 equivalent to LONGINT.
5632 2001-03-08 Richard Sandiford <rsandifo@redhat.com>
5634 * (libc/include/machine/setjmp.h): Use 23 long long ints for a
5635 jmpbuf on MIPS64 targets.
5636 * (libc/machine/mips/setjmp.S): Add MIPS64 version.
5638 Wed Mar 7 16:02:07 2001 Christopher Faylor <cgf@cygnus.com>
5640 * libc/include/sys/config.h: Use ssize_t for Cygwin read/write
5643 Mon Mar 5 21:48:54 2001 J"orn Rennecke <amylaar@redhat.com>
5645 * libc/include/sys/config.h (_READ_WRITE_RETURN_TYPE): Define.
5646 For RTEMS, define to be ssize_t. Default to int if not defined.
5647 * libc/stdio/sscanf.c (eofread): Return _READ_WRITE_RETURN_TYPE.
5648 * libc/stdio/stdio.c (__sread, __swrite): Likewise.
5649 * libc/stdio/local.h (__sread, __swrite): Likewise.
5650 * libc/include/sys/reent.h (_read, _write): Likewise.
5651 * libc/include/sys/unistd.h (read, write, _read, _write): Likewise.
5652 * libc/syscalls/sysread.c (read): Likewise.
5653 * libc/syscalls/syswrite.c (write): Likewise.
5655 2001-03-05 Jeff Johnston <jjohnstn@redhat.com>
5657 * libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants.
5659 Sat Mar 3 00:34:14 2001 Christopher Faylor <cgf@cygnus.com>
5661 * libc/include/sys/stat.h: Use special defines for executable stat bits
5662 when compiling for Cygwin.
5663 * libc/include/sys/unistd.h: Use special define for X_OK when compiling
5666 2001-03-02 Jeff Johnston <jjohnstn@redhat.com>
5668 * libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype
5669 of strtok_r is always defined.
5671 2001-03-02 Jeff Johnston <jjohnstn@redhat.com>
5673 * libc/include/machine/ansi.h: New dummy header file.
5675 2001-02-22 Jeff Johnston <jjohnstn@redhat.com>
5677 * libc/include/machine/setjmp-dj.h: With DJ Delorie's permission,
5678 changed the copyright information to allow free modification of the
5679 file with no reference to "copying.dj".
5680 * libc/include/sys/stat-dj.h: Ditto.
5681 * libc/machine/i386/setjmp.S: Ditto.
5682 * libc/sys/h8300hms/sys/file.h: Ditto.
5683 * libc/sys/sysmec/access.c: Ditto.
5684 * libc/sys/sysnecv850/access.c: Ditto.
5685 * libc/stdio/mktemp.c: Fixed typo for the word copyright.
5686 * libc/stdlib/getenv_r.c: Ditto.
5687 * libc/stdlib/putenv_r.c: Ditto.
5688 * libc/stdlib/setenv_r.c: Ditto.
5689 * libc/stdlib/getenv.c: Removed DJ reference since any possible
5690 modifications will now be in the _r version of this file.
5691 * libc/stdlib/putenv.c: Ditto.
5692 * libc/stdlib/setenv.c: Ditto.
5693 * libc/sys/go32/copying.dj: Removed DJ's address which is no longer
5694 valid. Added a reference to DJ's web page that contains his address.
5695 * libc/sys/go32/*.s: Removed references to DJ's old address.
5696 * libc/sys/go32/*.c: Ditto.
5697 * libc/sys/go32/*.h: Ditto.
5698 * libc/sys/go32/*.S: Ditto.
5699 * libc/sys/go32/sys/*.h: Ditto.
5701 2001-02-21 Jeff Johnston <jjohnstn@redhat.com>
5703 * libc/stdio/fdopen.c (fdopen): Protect calls to _fcntl() with
5704 HAVE_FCNTL flag check.
5705 * configure.host: Define HAVE_FCNTL for Cygwin, go32, RTEMS, sparc64,
5706 powerpcle, x86 netware, x86 sco, x86 Linux and Vxworks.
5708 Thu Feb 15 01:39:51 2001 Christopher Faylor <cgf@cygnus.com>
5710 * libc/include/sys/signal.h: Always include sys/types.h under Cygwin.
5712 2001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
5714 * libc/include/stdlib.h: Add declarations of rand48 functions and
5715 their reentrant versions.
5716 * libc/include/sys/reent.h: Move macros from rand48.h. Add
5717 struct _rand48 for shared parameters of rand48 functions.
5718 (struct _reent): Add a variable _r48 of struct _rand48.
5719 (_REENT_INIT): Add _r48 initialization.
5720 * libc/stdlib/Makefile.am (lib_a_SOURCES): Add rand48 functions.
5721 (CHEWOUT_FILES): Add rand48.def.
5722 * libc/stdlib/Makefile.am: Add dependencies for rand48 functions.
5723 * libc/stdlib/Makefile.in: Regenerated.
5724 * libc/stdlib/drand48.c (drand48, _drand48_r): Derived from the
5726 * libc/stdlib/erand48.c (erand48, _erand48_r): Ditto.
5727 * libc/stdlib/jrand48.c (jrand48, _jrand48_r): Ditto.
5728 * libc/stdlib/lcong48.c (lcong48, _lcong48_r): Ditto.
5729 * libc/stdlib/lrand48.c (lrand48, _lrand48_r): Ditto.
5730 * libc/stdlib/mrand48.c (mrand48, _mrand48_r): Ditto.
5731 * libc/stdlib/nrand48.c (nrand48, _nrand48_r): Ditto.
5732 * libc/stdlib/seed48.c (seed48, _seed48_r): Ditto.
5733 * libc/stdlib/srand48.c (srand48, _srand48_r): Ditto.
5734 * libc/stdlib/rand48.c (__dorand48): Ditto.
5735 * libc/stdlib/rand48.h: Ditto, and modify declarations of global
5736 parameters into macros referring them in the reentrant structure.
5738 2001-02-12 Jeff Johnston <jjohnstn@redhat.com>
5740 * libc/include/sys/stat.h: Add mknod for Cygwin now that
5741 Cygwin definition has correct prototype.
5743 2001-02-08 Jeff Johnston <jjohnstn@redhat.com>
5745 * libc/include/sys/stat.h: Must revert change for mknod
5746 for CYGWIN until winsup/cygwin/syscalls.cc changes mknod
5749 2001-02-08 Jeff Johnston <jjohnstn@redhat.com>
5751 * libc/include/stdio.h: Revert putw prototype.
5753 2001-02-08 Edward M. Lee <tailbert@yahoo.com>
5755 * libc/include/grp.h: add prototype for initgroups.
5756 * libc/include/stdio.h: fix prototype for putw.
5757 * libc/include/sys/signal.h: add prototype for killpg.
5758 * libc/include/sys/stat.h: enable mknod/lstat for CYGWIN.
5759 * libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp,
5760 vhangup and remove duplicate sysconf prototype.
5762 2001-02-07 Jeff Johnston <jjohnstn@redhat.com>
5764 * libc/sys/rtems/sys/types.h: Removed.
5766 2001-02-05 Charles Wilson <cwilson@ece.gatech.edu>
5768 * libc/include/locale.h: add LC_MESSAGES definition
5770 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
5772 * libc/sys/sh/sys/syscall.h (SYS_get_argc, SYS_get_argN_len,
5774 * libc/sys/sh/syscalls.c (__setup_argv_for_main,
5775 __setup_argv_and_call_main): New.
5777 2001-01-31 Jeff Johnston <jjohnstn@redhat.com>
5779 * libc/include/stdio.h (FILENAME_MAX): Changed to use __FILENAME_MAX__
5781 (FOPEN_MAX): Changed to use __FOPEN_MAX__ if defined.
5782 (L_tmpnam): Changed to use __L_tmpnam__ if defined.
5783 * libc/include/sys/config.h: Changed to set __FILENAME_MAX__
5784 appropriately for Cygwin and RTEMS so not to exceed PATH_MAX.
5786 Mon Jan 29 23:03:06 2001 Christopher Faylor <cgf@cygnus.com>
5788 * libc/stdlib/mallocr.c: Undefine windows preprocessor variables when
5789 compiling under Cygwin.
5791 2001-01-29 Jeff Johnston <jjohnstn@redhat.com>
5793 * libc/include/math.h (signgam): Change to errno-like solution
5794 using a function to return the address of the real signgam.
5795 * libc/reent/signgam.c: New file containing __signgam().
5796 * libc/reent/Makefile.am: Added signgam.c to list of files.
5797 * libc/reent/Makefile.in: Regenerated.
5799 2001-01-25 Alexandre Oliva <aoliva@redhat.com>
5801 * libc/sys/sh/syscalls.c (_times): New.
5803 * configure.host (sh*-*-*): Add -DHAVE_GETTIMEOFDAY to newlib_cflags.
5804 * libc/sys/sh/syscalls.c (_gettimeofday): New.
5806 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
5808 * libc/include/math.h (signgam): Regress previous fix as
5809 it does not handle programs with extern int signgam in them.
5811 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
5813 * libc/include/math.h (signgam): Changed to a macro refering to
5814 its location in the reentrant structure.
5816 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
5818 * libc/stdio/vfprintf.c (_VFPRINTF_R): Modification to fix
5819 that suppressed . for %.0f, 0.1. Check now looks if there
5820 are padding zeroes (expt) in addition to any digits (ndig) to
5823 2001-01-18 Jeff Johnston <jjohnstn@redhat.com>
5825 * libc/sys/arc/Makefile.am: New file.
5826 * libc/sys/arc/Makefile.in: Ditto.
5827 * libc/sys/arc/aclocal.m4: Ditto.
5828 * libc/sys/arc/configure: Ditto.
5829 * libc/sys/arc/configure.in: Ditto.
5830 * libc/sys/arc/crt0.S: Ditto.
5831 * libc/sys/arc/isatty.c: Ditto.
5832 * libc/sys/arc/mem-layout.c: Ditto.
5833 * libc/sys/arc/sbrk.c: Ditto.
5834 * libc/sys/arc/syscalls.c: Ditto.
5835 * libc/sys/arc/sys/syscall.h: Ditto.
5837 Wed Jan 17 23:20:56 2001 Christopher Faylor <cgf@cygnus.com>
5839 * libc/include/sys/unistd.h: Use correct declaration for setdtablesize.
5841 Fri Jan 12 00:34:31 2001 Christopher Faylor <cgf@cygnus.com>
5843 * libc/include/sys/signal.h: Add some SA_* defines for Cygwin.
5845 Thu Jan 11 20:42:06 2001 Earnie Boyd <earnie_boyd@yahoo.com>
5847 * libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__
5849 2001-01-09 Nick Clifton <nickc@redhat.com>
5851 * configure.host (v859): Remove unsupported compiler options.
5853 Fri Jan 5 19:57:00 EST 2001 Aaron J. Grier <aaron@frye.com>
5855 * src/newlib/configure.host (*-*-rtems*): add printf long long
5858 2000-12-19 Graham Stott <grahams@redhat.com>
5860 * libc/machine/xscale/memcmp.c (memcmp): Add clobber for "lr".
5862 Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
5864 * configure.host: Turn on long double I/O for Cygwin.
5866 Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
5868 * MAINTAINERS: Removed Ranjith.
5869 * NEWS: Updated for 1.9.0.
5871 * acinclude.m4: Updated to release 1.9.0.
5872 * aclocal.m4 configure
5873 doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
5874 libc/machine/aclocal.m4 libc/machine/configure
5875 libc/machine/a29k/aclocal.m4 libc/machine/a29k/configure
5876 libc/machine/arm/aclocal.m4 libc/machine/arm/configure
5877 libc/machine/d10v/aclocal.m4 libc/machine/d10v/configure
5878 libc/machine/d30v/aclocal.m4 libc/machine/d30v/configure
5879 libc/machine/fr30/aclocal.m4 libc/machine/fr30/configure
5880 libc/machine/h8300/aclocal.m4 libc/machine/h8300/configure
5881 libc/machine/h8500/aclocal.m4 libc/machine/h8500/configure
5882 libc/machine/hppa/aclocal.m4 libc/machine/hppa/configure
5883 libc/machine/i386/aclocal.m4 libc/machine/i386/configure
5884 libc/machine/i960/aclocal.m4 libc/machine/i960/configure
5885 libc/machine/m32r/aclocal.m4 libc/machine/m32r/configure
5886 libc/machine/m68k/aclocal.m4 libc/machine/m68k/configure
5887 libc/machine/m88k/aclocal.m4 libc/machine/m88k/configure
5888 libc/machine/mips/aclocal.m4 libc/machine/mips/configure
5889 libc/machine/mn10200/aclocal.m4 libc/machine/mn10200/configure
5890 libc/machine/mn10300/aclocal.m4 libc/machine/mn10300/configure
5891 libc/machine/necv70/aclocal.m4 libc/machine/necv70/configure
5892 libc/machine/powerpc/aclocal.m4 libc/machine/powerpc/configure
5893 libc/machine/sh/aclocal.m4 libc/machine/sh/configure
5894 libc/machine/sparc/aclocal.m4 libc/machine/sparc/configure
5895 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
5896 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
5897 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
5898 libc/machine/xscale/aclocal.m4 libc/machine/xscale/configure
5899 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
5900 libc/sys/aclocal.m4 libc/sys/configure
5901 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
5902 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
5903 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
5904 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
5905 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
5906 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
5907 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
5908 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
5909 libc/sys/linux/aclocal.m4 libc/sys/linux/configure
5910 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
5911 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
5912 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
5913 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
5914 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
5915 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
5916 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
5917 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
5918 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
5919 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
5920 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
5921 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
5922 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
5923 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
5924 libm/aclocal.m4 libm/configure: Regenerated.
5926 Wed Dec 13 11:52:00 2000 Corinna Vinschen <vinschen@cygnus.com>
5928 * libc/include/sys/unistd.h: Add declarations for `chroot' and `getwd'
5929 when __CYGWIN__ is defined.
5931 2000-12-13 Jeff Johnston <jjohnstn@redhat.com>
5933 * libc/stdlib/ldtoa.c (_ldcheck): New routine
5934 that categorizes a long double as NaN, Infinity, or other.
5935 * libc/stdio/vfprintf.c [WANT_IO_LONG_DBL](_VFPRINTF_R): Removed
5936 isinfl and isnanl static routines which were i386-specific. Changed
5937 calls to the two removed routines to a single _ldcheck call.
5938 * libc/stdio/vfieeefp.h (ldieee): Fixed missing semi-colons.
5940 2000-12-13 Jeff Johnston <jjohnstn@redhat.com>
5942 * Makefile.am: Fixed install-data-local target to use
5943 $(mkinstalldirs) for the installed header files to ensure
5944 the directories exist before copying.
5945 * Makefile.in: Regenerated.
5947 2000-12-12 Jeff Johnston <jjohnstn@redhat.com>
5949 * libc/include/sys/unistd.h: Restored Cygwin _SC
5950 constants and moved new constants appropriately
5951 so Cygwin will build.
5953 2000-12-11 Joel Sherrill <joel@OARcorp.com>
5955 * Merge RTEMS specific .h files into main libc/include.
5956 * libc/sys/rtems/include/signal.h: Removed.
5957 * libc/sys/rtems/include/time.h: Removed.
5958 * libc/sys/rtems/sys/features.h: Removed.
5959 * libc/sys/rtems/sys/sched.h: Removed.
5960 * libc/sys/rtems/sys/siginfo.h: Removed.
5961 * libc/sys/rtems/sys/signal.h: Removed.
5962 * libc/sys/rtems/sys/time.h: Removed.
5963 * libc/sys/rtems/sys/times.h: Removed.
5964 definitions for time_t and clock_t since these are
5965 no longer in time.h.
5966 * libc/include/pthread.h: New file.
5967 * libc/include/sys/sched.h: New file.
5968 * libc/include/sys/features.h: New file.
5969 * libc/include/time.h: Removed duplicate definition of clock_t
5970 and time_t, get them from <sys/types.h> instead. Add prototypes
5971 for POSIX clock and timer functionality.
5972 * libc/sys/linux/sys/types.h: Changed to include
5973 * libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_.
5974 * libc/include/sys/signal.h: Add more complete set of POSIX
5975 signal functionality including real-time and threaded signals.
5976 * libc/include/sys/types.h: Add clock_t, time_t, struct
5977 timespec, and struct itimerspec. Centralizing these makes
5978 things cleaner. RTEMS uses 64-bit dev_t.
5979 Added numerous primitive definitions
5980 for pthreads including macros, pthread_attr_t,
5981 pthread_mutexattr_t, pthread_condattr_t, pthread_key_t,
5982 pthread_once_t, and pthread_t.
5983 * libc/include/sys/unistd.h: Added getlogin_r() prototype.
5984 If RTEMS follow POSIX on read(), write() and sbrk() prototype.
5985 Feature flags removed and moved to new file <sys/features.h>.
5986 Full set of POSIX sysconf() constants
5988 2000-12-08 Werner Almesberger <Werner.Almesberger@epfl.ch>
5990 * configure.host: Added x86 linux target.
5991 * libc/unix/getpass.c (_PATH_PASSWD, _PASSWORD_LEN): Default
5992 definitions provided if not already defined.
5993 * libc/sys/linux/crt0.c: New file.
5994 * libc/sys/linux/Makefile.am: Ditto.
5995 * libc/sys/linux/Makefile.in: Ditto.
5996 * libc/sys/linux/aclocal.m4: Ditto.
5997 * libc/sys/linux/brk.c: Ditto.
5998 * libc/sys/linux/configure: Ditto.
5999 * libc/sys/linux/configure.in: Ditto.
6000 * libc/sys/linux/getoptlong.c: Ditto.
6001 * libc/sys/linux/ids.c: Ditto.
6002 * libc/sys/linux/inode.c: Ditto.
6003 * libc/sys/linux/io.c: Ditto.
6004 * libc/sys/linux/linux.c: Ditto.
6005 * libc/sys/linux/process.c: Ditto.
6006 * libc/sys/linux/realpath.c: Ditto.
6007 * libc/sys/linux/select.c: Ditto.
6008 * libc/sys/linux/signal.c: Ditto.
6009 * libc/sys/linux/systat.c: Ditto.
6010 * libc/sys/linux/termios.c: Ditto.
6011 * libc/sys/linux/time.c: Ditto.
6012 * libc/sys/linux/wait.c: Ditto.
6013 * libc/sys/linux/include/alloca.h: Ditto.
6014 * libc/sys/linux/include/getopt.h: Ditto.
6015 * libc/sys/linux/include/stdint.h: Ditto.
6016 * libc/sys/linux/include/unistd.h: Ditto.
6017 * libc/sys/linux/sys/cdefs.h: Ditto.
6018 * libc/sys/linux/sys/dirent.h: Ditto.
6019 * libc/sys/linux/sys/errno.h: Ditto.
6020 * libc/sys/linux/sys/fcntl.h: Ditto.
6021 * libc/sys/linux/sys/file.h: Ditto.
6022 * libc/sys/linux/sys/ioctl.h: Ditto.
6023 * libc/sys/linux/sys/resource.h: Ditto.
6024 * libc/sys/linux/sys/signal.h: Ditto.
6025 * libc/sys/linux/sys/stat.h: Ditto.
6026 * libc/sys/linux/sys/syscall.h: Ditto.
6027 * libc/sys/linux/sys/termios.h: Ditto.
6028 * libc/sys/linux/sys/time.h: Ditto.
6029 * libc/sys/linux/sys/types.h: Ditto.
6030 * libc/sys/linux/sys/utmp.h: Ditto.
6031 * libc/sys/linux/sys/utsname.h: Ditto.
6032 * libc/sys/linux/sys/wait.h: Ditto.
6034 2000-12-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
6036 * Makefile.am: $(INSTALL), $(INSTALL_DATA), and $(INSTALL_PROGRAM)
6037 can be a relative path to $(top_srcdir)/install.sh so ensure the
6038 autoconf detected settings are properly passed recursively.
6039 Similarly, add AM_MAKEFLAGS to FLAGS_TO_PASS so they also get passed
6040 properly to subdirectories.
6041 * Makefile.in: Regenerated.
6043 2000-12-07 Jay Kulpinski <jskulpin@eng01.gdds.com>
6045 * libc/stdio/vfprintf.c: Minor modification to avoid requiring
6046 a floating point register unless really printing a floating
6049 2000-12-07 Jeff Johnston <jjohnstn@redhat.com>
6051 * libc/stdlib/ldtoa.c: Removed include of alloca.h.
6053 (asctoeg): Replaced alloca call with stack array and malloc
6054 when storage exceeds reasonable limit.
6055 (e53toe): Fixed einfin calls missing ldp parameter.
6056 (eiisinf): Hide behind check for LDBL_MANT_DIG == 64.
6058 2000-12-06 Jeff Johnston <jjohnstn@redhat.com>
6061 * libc/stdio/vfscanf.c: Fix typo for _NO_LONGDBL macro.
6063 2000-12-06 Jeff Johnston <jjohnstn@redhat.com>
6065 * libc/stdlib/Makefile.am: Added ldtoa.c to list of sources.
6066 * libc/stdlib/Makefile.in: Regenerated.
6067 * libc/stdio/floatio.h: Added suitable MAXEXP for long double.
6068 * libc/stdio/vfieeefp.h: Added long double bit structures.
6069 * libc/stdio/vfprintf.c[WANT_IO_LONG_DBL]: Added long double support.
6070 [WANT_IO_LONG_DBL](isinfl, isnanl): New static long double routines.
6071 (exponent): Changed expbuf to reasonable maximum instead of MAXEXP.
6072 * libc/stdio/vfscanf.c[WANT_IO_LONG_DBL]: Added long double support.
6073 * libc/stdlib/ldtoa.c: New file containing _ldtoa_r and
6074 _strtold routines used for conversions between character
6077 Wed Dec 6 12:01:00 2000 Corinna Vinschen <vinschen@cygnus.com>
6079 * libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'.
6081 2000-12-04 Joel Sherrill <joel@OARcorp.com>
6083 * libc/include/machine/time.h: RTEMS systems can configure clock
6084 tick rate so use sysconf() to ask.
6086 2000-12-04 Joel Sherrill <joel@OARcorp.com>
6088 * libc/include/sys/times.h: Add reference to POSIX standard.
6090 2000-12-04 Joel Sherrill <joel@OARcorp.com>
6092 * libc/include/sys/time.h: Added BSD timer manipulation macros
6095 2000-12-04 Joel Sherrill <joel@OARcorp.com>
6097 * libc/sys/rtems/crt0.c: Add stubs for functions implicitly
6098 referenced by code generated by gcc 2.8.1.
6099 (a29k): Add stubs for V_SPILL, V_FILL, V_BSD_OS, V_EPI_OS to
6102 2000-12-04 Joel Sherrill <joel@OARcorp.com>
6104 * libc/stdlib/system.c: Avoid compiling do_system() for RTEMS.
6106 2000-12-04 Joel Sherrill <joel@OARcorp.com>
6108 * libc/include/ieeefp.h: Added entries for OpenCores CPUs.
6110 2000-12-04 Joel Sherrill <joel@OARcorp.com>
6112 * configure.host (or16, or32): New entries for OpenCores
6114 (*-*-rtems*): Add -DNO_EXEC.
6116 2000-12-04 Keith Outwater <vac4050@cae597.rsc.raytheon.com>
6118 * libc/include/sys/errno.h: Added comments on many error numbers.
6119 * libc/string/strerror.c: Added some more strings.
6121 2000-11-30 Jeff Johnston <jjohnstn@redhat.com>
6123 * libc/sys/sh/syscalls.c (_link): New stub.
6125 2000-11-29 Nick Clifton <nickc@redhat.com>
6127 * configure.host: Add xscale target.
6128 * libc/machine/xscale: New directory.
6129 * libc/machine/xscale/Makefile.am: New file.
6130 * libc/machine/xscale/Makefile.in: New file.
6131 * libc/machine/xscale/aclocal.m4: New file.
6132 * libc/machine/xscale/configure: New file.
6133 * libc/machine/xscale/configure.in: New file.
6134 * libc/machine/xscale/memchr.S: New file.
6135 * libc/machine/xscale/memcmp.S: New file.
6136 * libc/machine/xscale/memcpy.S: New file.
6137 * libc/machine/xscale/memmove.S: New file.
6138 * libc/machine/xscale/memset.S: New file.
6139 * libc/machine/xscale/strchr.S: New file.
6140 * libc/machine/xscale/strcmp.S: New file.
6141 * libc/machine/xscale/strcpy.S: New file.
6142 * libc/machine/xscale/strlen.S: New file.
6144 Sat Nov 25 11:24:00 2000 Corinna Vinschen <vinschen@cygnus.com>
6146 * libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro to
6147 avoid compiler warnings.
6149 2000-11-22 Michael Meissner <meissner@redhat.com>
6151 * libc/posix/execl.c (execl): Don't reference environ directly,
6152 reference it only via a static pointer to avoid problems with some
6153 shared library systems and with different uses of small data where
6154 the user specifies his own version of environ.
6155 * libc/posix/execv.c (execv): Ditto.
6156 * libc/stdlib/getenv_r.c (_findenv_r): Ditto.
6157 * libc/stdlib/setenv_r.c (_setenv_r,_unsetenv_r): Ditto.
6158 * libc/stdlib/system.c (system, !cygwin32 case): Ditto.
6160 * libc/stdlib/getenv.c (environ): Delete unused reference to
6163 * libc/stdlib/getenv_r.c: Make initial comment friendlier to emacs
6165 * libc/stdlib/system.c: Ditto.
6167 Tue Nov 21 20:32:21 2000 Christopher Faylor <cgf@cygnus.com>
6169 * libc/sys/cygwin/sys/dirent.h: Change definition to avoid necessity of
6170 including windows headers.
6172 2000-11-20 Jeff Johnston <jjohnstn@redhat.com>
6174 * libc/include/sys/unistd.h: Removed definition of MAXNAMLEN.
6175 * libc/include/dirent.h: Added definition of MAXNAMLEN if
6176 not defined by sys/dirent.h.
6177 * libc/posix/execvp.c: Added include of dirent.h to get
6178 MAXNAMLEN value which used to be in unistd.h.
6180 Mon Nov 6 12:56:00 2000 Corinna Vinschen <vinschen@cygnus.com>
6182 * libc/include/sys/types.h: Change type of i to `size_t' in
6183 FD_ZERO macro to avoid compiler warnings.
6185 Sun Oct 29 20:06:41 2000 Christopher Faylor <cgf@cygnus.com>
6187 * libc/include/stdlib.h: Avoid declaring cfree under Cygwin.
6188 * libc/include/malloc.h: Ditto. Also remove obsolete declaration.
6190 Tue Oct 24 20:16:00 2000 Corinna Vinschen <vinschen@cygnus.com>
6192 * libc/include/sys/unistd.h: Add defines for sysconf values
6193 _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and
6196 Mon Oct 9 20:26:33 2000 Christopher Faylor <cgf@cygnus.com>
6198 * libc/include/sys/unistd.h: Add getdtablesize and setdtablesize
6199 declarations for __CYGWIN__.
6201 2000-09-19 Geoffrey Keating <geoffk@cygnus.com>
6203 * libc/signal/signal.c (__sigtramp_r): ISO C requires
6204 case labels to be integral constant expressions, so
6205 use an if/else tree instead.
6206 (_raise_r): Likewise.
6208 2000-09-13 Jeff Johnston <jjohnstn@redhat.com>
6210 * libc/machine/v850/setjmp.S: Fixed tab problems caused by
6211 clipping patch from e-mail reader.
6213 2000-09-13 Will Cohen <wcohen@redhat.com>
6215 * libc/machine/v850/setjmp.S (_setjmp): Save r1 rather than r0.
6216 Added return value 0.
6217 (_longjmp): Allow longjmp to return value of second argument
6220 2000-09-06 Jeff Johnston <jjohnstn@redhat.com>
6222 * libc/include/sys/types.h (FD_ZERO): Remove call to bzero and
6223 inline code to prevent having to include another header file.
6225 Wed Sep 6 15:06:40 2000 Christopher Faylor <cgf@cygnus.com>
6227 * Makefile.am: Fix space vs. tab problem in install-data-local.
6228 * Makefile.in: Regenerate.
6230 Wed Sep 6 13:49:51 2000 Christopher Faylor <cgf@cygnus.com>
6232 * libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__.
6233 (_EXPARM): New macro for defining a function parameter.
6234 * libc/include/stdlib.h: Use _EXPARM.
6235 * libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
6237 2000-09-05 Manfred Hollstein <manfredh@redhat.com>
6239 * Makefile.am (install-data-local): Use optional $(DESTDIR) where
6240 required, as documented in the gnu coding standards.
6241 * Makefile.in: Regenerate.
6243 2000-09-05 Jeff Johnston <jjohnstn@redhat.com>
6245 * libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to
6246 make O_NDELAY and O_NONBLOCK have the same value.
6248 2000-08-30 Kazu Hirata <kazu@hxi.com>
6250 * libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.
6252 2000-08-30 Werner Almesberger <Werner.Almesberger@epfl.ch>
6254 * libc/posix/execve.c: included unistd.h for "_execve" prototype.
6255 * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed
6256 "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like
6259 2000-08-30 Geoffrey Keating <geoffk@cygnus.com>
6261 * libc/string/swab.c: Specify that it's defined in <unistd.h>.
6262 * libc/include/string.h: Don't include <sys/types.h>,
6263 as it causes really bad namespace pollution. Don't declare
6264 swab(), it is properly declared in unistd.h.
6266 2000-08-29 Werner Almesberger <Werner.Almesberger@epfl.ch>
6268 * libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed
6269 (broken) support for non-existent /etc/passwd field "comment".
6271 2000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
6273 * libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen
6274 only if _DIRENT_HAVE_D_NAMLEN is defined.
6275 (alphasort): aligned prototype with
6276 libc/sys/cygwin/sys/dirent.h and simplified function body.
6277 * libc/posix/telldir.c (telldir): changed "telldir" prototype to
6278 long telldir (DIR *) as mentioned in annex B of POSIX.1
6280 2000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
6282 * libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type
6283 of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined;
6284 Added __CLI and __STI macros (controlled via
6285 _I386MACH_ALLOW_HW_INTERRUPTS macro).
6286 * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S
6287 libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S
6288 libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S
6289 libc/machine/i386/f_log.S libc/machine/i386/f_log10.S
6290 libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S
6291 libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S
6292 libc/machine/i386/memchr.S libc/machine/i386/memcmp.S
6293 libc/machine/i386/memcpy.S libc/machine/i386/memmove.S
6294 libc/machine/i386/memset.S libc/machine/i386/setjmp.S
6295 libc/machine/i386/strchr.S libc/machine/i386/strlen.S:
6296 (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol)
6297 for all global entry points.
6298 * libc/machine/i386/setjmp.S: removed code replicated in
6299 libc/machine/i386/i386mach.h and included i386mach.h instead;
6300 Use __CLI and __STI instead of cli and sti.
6302 2000-08-25 DJ Delorie <dj@redhat.com>
6304 * libc/include/sys/unistd.h (environ): this one isn't from the
6307 Fri Aug 25 13:37:11 2000 Christopher Faylor <cgf@cygnus.com>
6309 * libc/stdlib/system.c (do_system): Eliminate explicit declaration of
6310 environ when compiling under cygwin since it is already declared in
6313 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
6315 * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
6316 like x << y-z to the equivalent x << (y-z).
6317 (d2b): changed if statements with assignment to perform the
6318 assignment prior to the if check.
6319 * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
6320 * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
6321 * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
6322 * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
6324 * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
6325 Added "_execve" prototype (for execl.c, execle.c, execv.c, and
6327 * libc/posix/popen.c (popen): added parentheses to clarify && and ||
6329 * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
6330 clarify && and || precendence (and to remove pascalism).
6331 * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
6332 * libm/math/s_infconst.c: added another pair of braces to all
6333 initializers for __infinity (need three: for __infinity[1] array,
6334 for union __dmath, and for i[2]).
6336 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
6338 * libc/stdlib/abort.c: changed description: uses "raise" instead of
6339 "getpid" and "kill"; added: uses "write" and "_exit".
6340 Also included unistd.h for "_exit" prototype.
6341 * libc/stdlib/system.c: included unistd.h for "execve" prototype,
6342 reent.h for "_fork_r" and "_wait_r" prototypes.
6343 (do_system): changed extern char *environ[] to POSIX-friendly
6344 extern char **environ.
6345 * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp"
6347 * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype.
6348 * libc/reent/execr.c: included sys/wait.h for "wait" prototype.
6349 * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype.
6350 * libc/reent/openr.c: included fcntl.h for "open" prototype.
6351 * libc/reent/signalr.c: included signal.h for "kill" prototype,
6352 unistd.h for "getpid" prototype.
6353 * libc/reent/statr.c: included sys/stat.h for "stat" prototype.
6354 * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype.
6355 * libc/unix/getut.c (utmpname): removed local, incorrect "strdup"
6356 prototype. Also included stdlib.h for "abort", string.h for
6357 "strdup" and "strncmp" prototypes.
6358 * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and
6359 "strncpy", unistd.h for "read" and "close" prototypes.
6360 * libc/posix/execvp.c: included string.h for "strchr", "strlen", and
6361 "strcat" prototypes.
6363 2000-08-23 Werner Almesberger <Wernen Almesberger@epfl.ch>
6365 * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's
6366 used later (ifdef __SCLE)
6367 * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's
6368 used later (ifdef MB_CAPABLE)
6369 * libc/string/memset.c (memset): removed unused variables "count"
6370 and "unaligned_addr"
6371 * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and
6372 "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE)
6373 * libc/unix/getpwent.c (getpwnam): removed unused variables "uid"
6376 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
6378 * libc/stdlib/envlock.c: changed documented "__env_lock" and
6379 "__env_unlock" prototype from "void *" or "char *" to
6380 "struct _reent *" to match real function. Also added include
6382 * libc/stdlib/mlock.c: changed documented "__malloc_lock" and
6383 "__malloc_unlock" prototype from "void *" or "char *" to
6384 "struct _reent *" to match real function.
6385 * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock"
6386 prototypes (for getenv_r.c and setenv_r.c).
6388 2000-08-22 Werner Almesberger <Werner.Almesberger@epfl.ch>
6390 * libc/unix/getut.c (utmpname): added _CONST to reflect common use
6391 and prototype in cygwin's utmp.h
6393 2000-08-16 Eric Fifer <efifer@sanwaint.com>
6395 * libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
6397 2000-08-09 Nick Clifton <nickc@cygnus.com>
6399 * libc/sys/arm/setjmp.S: Recode to clean up function prologues and
6400 epilogue and to allow the functions to be used in a Thumb based
6403 2000-08-08 Jeff Johnston <jjohnstn@redhat.com>
6405 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code
6406 so size of 0 results in nothing being written to string.
6407 Also fixed code so that when size is non-zero, there is only
6408 a maximum of size - 1 characters written to the array and
6409 a nul terminator is appended at the end.
6410 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
6412 2000-08-01 DJ Delorie <dj@redhat.com>
6414 * libc/include/sys/config.h: define __IMPORT appropriately
6415 * libc/include/ctype.h (_ctype_): use __IMPORT
6416 * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto
6417 * libc/include/math.h (__mb_cur_max): ditto
6418 * libc/include/time.h (_timezone, _daylight, _tzname): ditto
6419 * libc/include/unctrl.h (__unctrl, __unctrllen): ditto
6420 * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto
6421 * libc/include/unistd.h (environ): ditto
6423 2000-07-28 Michael Meissner <meissner@redhat.com>
6425 * libc/include/math.h (__infinity): Declare as an array without
6426 bounds to get around small data support. Rewrite Cygwin support
6428 * libm/math/s_infconst.c (__infinity): Ditto.
6429 * libm/mathfp/s_infconst.c (__infinity): Ditto.
6431 Thu Jul 27 10:46:01 2000 Christopher Faylor <cgf@cygnus.com>
6433 * libc/include/math.h: Use appropriate dll import linkage for
6434 __infinity under Cygwin.
6436 2000-07-13 DJ Delorie <dj@cygnus.com>
6438 * libc/stdio/vfprintf.c: pad 0.0 correctly with %e
6440 Wed Jun 28 14:08:00 2000 Keith Walker <keith.walker@arm.com>
6442 * libc/sys/arm/crt0.S (.LC30): Added missing length parameter
6443 to argument list for AngelSWI_Reason_GetCmdLine.
6445 Tue Jun 27 15:49:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
6447 * configure.host: Add support for AVR target.
6448 * libc/include/machine/ieeefp.h: Likewise.
6449 * libc/include/sys/config.h: Likewise.
6451 Thu Jun 22 18:35:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
6453 * README: Newlib 1.8.2 must be built in a separate directory
6456 Tue Jun 20 14:30:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
6458 * libc/include/sys/reent.h (_rand_next): Added __extension__
6459 qualifier as long long type is not strict ANSI.
6460 * libc/stdlib/rand.c (rand): Added __extension__ qualifier
6461 to long long constant.
6463 Fri Jun 16 23:02:00 2000 Corinna Vinschen <corinna@vinschen.de>
6465 * libc/include/sys/unistd.h: Add prototypes for `seteuid' and
6466 `setegid' provided by Cygwin.
6468 Thu Jun 15 0:21:00 2000 Corinna Vinschen <corinna@vinschen.de>
6470 * libc/stdio/fdopen.c: Take explicit given bin/textmode into
6473 Fri Jun 9 14:28:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
6475 * libc/include/sys/reent.h (_rand_next): Changed to
6476 unsigned long long and moved to end of _reent struct in _new union.
6477 (_REENT_INIT): Changed to move _rand_next initialization.
6478 * libc/stdlib/rand.c (rand): Changed to use unsigned long long
6479 linear congruential algorithm that is used by DJGPP.
6481 Thu Jun 8 21:18:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
6483 * libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX.
6484 * libc/include/sys/config.h: Define __RAND_MAX.
6486 Thu Jun 8 17:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
6488 * libc/stdlib/rand_r.c: New algorithm that meets minimal
6491 Fri Jun 2 23:02:11 2000 Christopher Faylor <cgf@cygnus.com>
6493 * libc/include/string.h: Work around problem with strsignal and gdb.
6495 Tue May 30 13:13:01 2000 Christopher Faylor <cgf@cygnus.com>
6497 * libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__
6498 * libc/include/malloc.h: Ditto.
6499 * libc/include/process.h: Ditto.
6500 * libc/include/stdio.h: Ditto.
6501 * libc/include/stdlib.h: Ditto.
6502 * libc/include/time.h: Ditto.
6503 * libc/include/machine/setjmp.h: Ditto.
6504 * libc/include/sys/errno.h: Ditto.
6505 * libc/include/sys/signal.h: Ditto.
6506 * libc/include/sys/stat.h: Ditto.
6507 * libc/include/sys/time.h: Ditto.
6508 * libc/include/sys/unistd.h: Ditto.
6509 * libc/include/string.h: Ditto. strsignal should return a const char *.
6511 2000-05-26 Marek Michalkiewicz <marekm@linux.org.pl>
6513 * libm/common/s_expm1.c (expm1): Add curly braces, avoid warnings.
6514 * libm/common/s_log1p.c (log1p): Likewise.
6515 * libm/common/s_scalbn.c (scalbn): Likewise.
6516 * libm/math/e_log.c: Likewise.
6517 * libm/math/e_asin.c: Likewise.
6518 * libm/math/ef_asin.c: Likewise.
6519 * libm/math/e_j0.c (pzero, qzero): Remove redundant test.
6520 * libm/math/e_j1.c (pone, qone): Likewise.
6521 * libm/math/ef_j0.c (pzerof, qzerof): Likewise.
6522 * libm/math/ef_j1.c (ponef, qonef): Likewise.
6523 * libm/mathfp/e_j0.c (pzero, qzero): Likewise.
6524 * libm/mathfp/e_j1.c (pone, qone): Likewise.
6525 * libm/mathfp/ef_j0.c (pzerof, qzerof): Likewise.
6526 * libm/mathfp/ef_j1.c (ponef, qonef): Likewise.
6528 2000-05-19 DJ Delorie <dj@cygnus.com>
6530 * libc/stdio/stdio.c (__stextmode): new, see if file is text mode
6531 (__sread): always read in binary mode
6532 (__swrite): always write in binary mode
6533 * libc/include/stdio.h: no getc/putc macros for cygwin; causes
6534 compatibility issues with different dll versions
6535 * libc/stdio/fopen.c: use __stextmode
6536 * libc/stdio/fdopen.c: ditto
6537 * libc/stdio/freopen.c: ditto
6538 * libc/stdio/findfp.c: set up __SCLE for std{in,out,err}
6539 * libc/stdio/local.h: declare __stextmode
6541 2000-05-18 DJ Delorie <dj@cygnus.com>
6543 * libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLE
6545 Mon May 15 18:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
6547 * libc/include/ctype.h: Changed tolower and toupper macros
6548 to use __extension__ to prevent pedantic warnings.
6550 Mon May 15 14:26:00 2000 Joel Sherrill <joel@oarcorp.com>
6552 * libc/sys/rtems/sys/time.h: Add macros for manipulating timeval
6555 Wed May 10 19:24:53 2000 Jim Wilson <wilson@cygnus.com>
6557 * libc/include/machine/ieeefp.h: Add ia64 support.
6558 * configure.host: Likewise.
6560 Wed May 10 13:52:24 2000 Egor Duda <deo@logos-m.ru>
6562 * libc/time/asctime_r.c (asctime_r): Change output format. Day of
6563 month is now padded with space, not zero. This now conforms to
6566 Wed May 03 17:57:00 2000 Corinna Vinschen <corinna@vinschen.de>
6568 * libc/include/sys/errno.h: Add define for ENOSHARE ("No such
6569 host or network path") used by cygwin. Add some comments.
6571 Tue May 02 23:45:48 2000 DJ Delorie <dj@cygnus.com>
6573 * libc/include/stdio.h (FILE): define __SCLE for "convert line
6574 endings" for Cygwin.
6575 (__sgetc): convert line endings if needed
6577 * libc/stdio/fdopen.c (_fdopen_r): Remember if we opened in text mode
6578 * libc/stdio/fopen.c (_fopen_r): ditto
6579 * libc/stdio/freopen.c (freopen): ditto
6580 * libc/stdio/fread.c (fread): perform CRLF conversions if __SCLE
6581 * libc/stdio/fvwrite.c (__sfvwrite): ditto
6583 Thu Apr 27 07:45:48 2000 Alexandre Oliva <aoliva@cygnus.com>
6585 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Use
6586 post-increment when it is worth it, spacewise.
6588 Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
6590 * libc/signal/signal.c (_signal_r) : Removed unused local variable temp.
6591 * libc/stdio/findfp.c (std): Added declaration of flags and file.
6592 * libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int
6594 * libc/stdio/putchar.c (putchar): Added return statement.
6595 * libc/stdio/refill.c (lflush): Added correct parentheses.
6596 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
6597 * libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which
6598 prints long value to use l qualifier.
6599 * libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning
6600 messages and initialized local values: ilim, ilim1, and spec_case.
6601 * libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp.
6602 * libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses.
6603 * libc/stdlib/mprec.c: Ditto.
6604 * libc/stdlib/setenv_r.c: Ditto.
6605 * libc/stdlib/strtod.c: Ditto.
6606 * libc/stdlib/strtol.c: Ditto.
6607 * libc/stdlib/strtoul.c: Ditto.
6608 * libm/common/sf_expm1.c: Added curly braces to if else clauses.
6609 * libm/common/sf_log1p.c: Ditto.
6610 * libm/common/sf_scalbn.c: Ditto.
6611 * libm/math/ef_log.c: Ditto.
6613 Sun Apr 16 12:45:00 2000 Corinna Vinschen <corinna@vinschen.de>
6615 * libc/posix/execvp.c (execvp): Check path for
6618 Fri Mar 31 20:39:00 2000 Corinna Vinschen <corinna@vinschen.de>
6620 * libc/include/sys/unistd.h: Add prototypes for
6621 fchmod, fchown, lchown.
6623 Fri Mar 24 15:34:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
6625 * acinclude.m4: Changed release to 1.8.2.
6626 * aclocal.m4 configure doc/aclocal.m4 doc/configure
6627 libc/aclocal.m4 libc/configure libc/machine/aclocal.m4
6628 libc/machine/configure libc/machine/a29k/aclocal.m4
6629 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
6630 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
6631 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
6632 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
6633 libc/machine/fr30/configure libc/machine/h8300/aclocal.m4
6634 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
6635 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
6636 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
6637 libc/machine/i386/configure libc/machine/i960/aclocal.m4
6638 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
6639 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
6640 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
6641 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
6642 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
6643 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
6644 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
6645 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
6646 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
6647 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
6648 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
6649 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
6650 libc/machine/v850/configure libc/machine/w65/aclocal.m4
6651 libc/machine/w65/configure libc/machine/z8k/aclocal.m4
6652 libc/machine/z8k/configure libc/sys/aclocal.m4
6653 libc/sys/aclocal.m4 libc/sys/configure
6654 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
6655 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
6656 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
6657 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
6658 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
6659 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
6660 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
6661 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
6662 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
6663 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
6664 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
6665 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
6666 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
6667 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
6668 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
6669 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
6670 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
6671 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
6672 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
6673 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
6674 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
6675 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
6676 libm/aclocal.m4 libm/configure: Regenerated.
6678 2000-03-24 Nick Clifton <nickc@cygnus.com>
6680 * libc/sys/arm/syscalls.c: Fix compile time warnings.
6681 (do_AngelSWI): Add "cc" to list o registers clobbered.
6683 Thu Mar 22 14:57:00 2000 Fernando Nasser <fnasser@redhat.com>
6685 * libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid
6686 information to be clobbered by an Angel C library support syscall.
6688 Tue Mar 21 19:08:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
6690 * libc/stdlib/envlock.c: Fixed comment typo.
6692 Fri Mar 17 15:37:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
6694 * libc/stdio/vfscanf.c (__svfscanf): Fixed floating point
6695 code to update nread as each character is processed instead
6696 of using buffer contents which throw away leading zeroes.
6698 Mon Mar 13 15:22:00 2000 Sergei Organov <osv@javad.ru>
6700 * libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
6702 Fri Mar 10 16:09:20 2000 Jeff Johnston <jjohnstn@cygnus.com>
6704 * libc/include/string.h: Include <sys/types.h>.
6706 Fri Mar 10 14:53:50 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
6708 * libc/stdio/putw.c (putw): Return 0 on success, to be compliant
6709 with XSH5, not SVID.
6711 Thu Mar 9 17:20:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
6713 * libc/include/string.h: Changed last argument back to ssize_t
6714 to make it compatible with XPG4 definition which is
6715 defined in <unistd.h>. There is a conflict in the SVID 3
6716 and XPG4 definitions and newlib will settle with XPG4.
6717 * libc/string/swab.c: Ditto.
6719 Wed Mar 8 17:11:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
6721 * libc/include/string.h: Changed last argument to size_t.
6722 * libc/string/swab.c: Changed last argument to size_t.
6724 Wed Mar 8 00:46:41 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
6726 * libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.
6727 (CHEWOUT_FILES): Added unlinkr.def.
6728 * libc/reent/Makefile.in: Rebuilt.
6729 * libc/sys.tex: Include unlinkr.def.
6730 * libc/reent/linkr.c (_unlink_r): Moved to...
6731 * libc/reent/unlinkr.c: ... new file.
6733 Wed Mar 8 00:43:07 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
6735 * libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.
6736 (CHEWOUT_FILES): Added swab.def.
6737 * libc/string/Makefile.in: Rebuilt.
6738 * libc/string/string.tex: Include swab.def.
6739 * libc/include/string.h (swab): Declare.
6740 * libc/string/swab.c: New file.
6742 Wed Mar 8 00:38:35 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
6744 * libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.
6745 (CHEWOUT_FILES): Added getw.def and putw.def.
6746 * libc/stdio/Makefile.in: Rebuilt.
6747 * libc/stdio/stdio.tex: Include getw.def and putw.def.
6748 * libc/stdio/getw.c: New file.
6749 * libc/stdio/putw.c: New file.
6751 Fri Feb 25 14:50:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
6753 * libc/stdio/flags.c (__sflags): Added check that mode[1]
6754 is non-null before looking at mode[2].
6756 Thu Feb 24 11:43:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
6758 * libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS.
6759 * libm/mathfp/sf_atan.c: Ditto.
6761 Thu Feb 24 11:39:00 2000 Joel Sherrill <joel@OARcorp.com>
6763 * libc/include/sys/stat.h: Add RTEMS prototype for lstat.
6765 Tue Feb 22 14:37:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
6767 * libm/mathfp/sf_exp.c: Corrected _DOUBLE_IS_32_BITS to be
6770 Mon Feb 21 11:43:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
6772 * libc/stdio/vfprintf.c (VFPRINTF): Added CHECK_INIT
6773 call prior to calling _VFPRINTF_R so reentrant data area is set.
6774 (_VFPRINTF_R): Removed now extraneous CHECK_INIT call.
6776 Thu Feb 17 01:42:50 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
6778 * libc/stdio/vfscanf.c (limits.h): #include.
6779 (MAX_LONG_LEN): #define.
6780 (__svfscanf): Handle floating point numbers with arbitrary amounts
6783 2000-02-15 Nick Clifton <nickc@cygnus.com>
6785 * libc/sys/arm/syscalls.c (_fstat): Initialise all fields to
6786 zero. Set the blocksize to 1024/
6788 Thu Jan 20 18:57:00 2000 Fernando Nasser <fnasser@redhat.com>
6790 * setvbuf.c (setvbuf): Set size to BUFSIZ when passed a zero size
6791 with line buffering.
6793 Mon Jan 10 18:43:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
6795 * acinclude.m4: Changed include directory for winsup headers.
6796 * aclocal.m4 configure libc/aclocal.m4
6797 libc/configure libc/ctype/Makefile.in libc/errno/Makefile.in
6798 libc/locale/Makefile.in libc/machine/aclocal.m4
6799 libc/machine/configure libc/machine/a29k/aclocal.m4
6800 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
6801 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
6802 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
6803 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
6804 libc/machine/fr30/configure
6805 libc/machine/h8300/aclocal.m4
6806 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
6807 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
6808 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
6809 libc/machine/i386/configure libc/machine/i960/aclocal.m4
6810 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
6811 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
6812 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
6813 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
6814 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
6815 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
6816 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
6817 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
6818 libc/machine/powerpc/configure
6819 libc/machine/sh/aclocal.m4
6820 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
6821 libc/machine/sparc/configure
6822 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
6823 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
6824 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
6825 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
6826 libc/misc/Makefile.in libc/posix/Makefile.in
6827 libc/reent/Makefile.in
6828 libc/signal/Makefile.in
6829 libc/string/Makefile.in libc/sys/aclocal.m4 libc/sys/configure
6830 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
6831 libc/sys/arm/Makefile.in libc/sys/arm/aclocal.m4
6832 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
6833 libc/sys/cygwin/configure libc/sys/d10v/Makefile.in
6834 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
6835 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
6836 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
6837 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
6838 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
6839 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
6840 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
6841 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
6842 libc/sys/sh/Makefile.in libc/sys/sh/aclocal.m4
6843 libc/sys/sh/configure libc/sys/sparc64/aclocal.m4
6844 libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4
6845 libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4
6846 libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4
6847 libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4
6848 libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4
6849 libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4
6850 libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4
6851 libc/sys/tic80/configure libc/sys/w65/aclocal.m4
6852 libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4
6853 libc/sys/z8ksim/configure libc/syscalls/Makefile.in
6854 libc/time/Makefile.in libc/unix/Makefile.in libm/aclocal.m4
6855 libm/configure: Regenerated.
6857 Mon Jan 10 18:43:46 2000 Jeff Johnston <jjohnstn@cygnus.com>
6859 * libc/stdlib/putenv_r.c (_putenv_r): New file.
6860 * libc/stdlib/strdup_r.c (_strdup_r): New file.
6861 * libc/include/string.h: Added _strdup_r.
6862 * libc/stdlib/putenv.c: Added call to reentrant version.
6863 * libc/stdlib/strdup.c: Ditto.
6864 * libc/stdlib/Makefile.am: Added _putenv_r and _unsetenv_r.
6865 * libc/include/stdlib.h: Ditto.
6866 * libc/stdlib/Makefile.in: Regenerated.
6867 * libc/string/Makefile.in: Regenerated.
6868 * libc/stdlib/setenv.c: Added reentrant version of unsetenv.
6869 * libc/stdlib/setenv_r.c: Added unsetenv_r and changed memory
6870 management calls to reentrant versions.
6871 * libc/stdlib/wcstombs.c: Added #ifndef _REENT_ONLY wrapper.
6872 * libc/stdlib/wctomb.c: Ditto.
6873 * libc/stdlib/mblen.c: Ditto.
6874 * libc/stdlib/mbstowcs.c: Ditto.
6875 * libc/stdlib/mbtowc.c: Ditto.
6876 * libc/stdlib/getenv.c: Ditto.
6877 * libc/reent/reent.tex: Added references to _putenv_r, _setenv_r,
6880 Thu Jan 6 15:33:46 2000 Christopher Faylor <cgf@cygnus.com>
6882 patch from Corinna Vinschen <corinna@vinschen.de>
6883 * libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16.
6885 Mon Jan 03 14:36:00 2000 Sergei Organov <osv@javad.ru>
6887 * libm/mathfp/s_atangent.c: Fix exponent calculation.
6888 * libm/mathfp/s_ldexp.c: Ditto.
6889 * libm/mathfp/sf_atangent.c: Ditto.
6890 * libm/mathfp/sf_ldexp.c: Ditto.
6892 Tue Dec 14 5:42:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
6894 * libc/machine/i960/setjmp.S: fix typo leaving .link_pix uncommented
6895 * libc/include/locale.h: define NULL to be 0.
6897 Tue Dec 7 15:41:45 1999 Jim Wilson <wilson@cygnus.com>
6899 * libc/sys/sh/syscalls.c (stack_ptr): Move definition before first
6902 Wed Dec 1 17:39:29 1999 Jeffrey A Law (law@cygnus.com)
6904 * libc/machine/mn10300/setjmp.S: Handle am33.
6906 1999-11-26 Nick Clifton <nickc@cygnus.com>
6908 * libc/sys/arm/syscalls.c: Add function prototypes.
6909 (stack_ptr): Move declaration before function definitions.
6911 Sat Nov 20 17:13:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
6913 * NEWS: Updated version information.
6916 Tue Nov 09 12:19:21 1999 Jeff Johnston <jjohnstn@cygnus.com>
6918 * libc/machine/i386/strchr.S: Fixed alignment test.
6920 Thu Oct 28 05:30:46 1999 Andrew Cagney <cagney@makita.cygnus.com>
6922 * libc/sys/d10v/crt0.S (_start): Construct a real stack frame.
6924 Thu Oct 28 15:29:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
6926 * libc/sys/d10v/crt0.S (_start): Initialize both SPI and SPU
6927 ensuring that there is space between the two.
6929 Thu Oct 14 13:39:21 1999 Christopher Faylor <cgf@cygnus.com>
6931 * libc/stdio/flags.c: Conditionalize check for 't' for cygwin case
6934 1999-10-08 Vadim Egorov <egorovv@1c.ru>
6936 * libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin
6939 Sat Oct 2 02:02:00 MEST 1999 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
6941 * libc/machine/sh/asm.h: Added __SH4_SINGLE__ to DELAYED_BRANCHES
6942 * libc/machine/sh/memcpy.S: Fix line wrapping in SL macro
6944 Fri Oct 1 13:17:59 CDT 1999 <joel@OARcorp.com>
6945 * libc/include/grp.h: Added getgrnam_r and getgrgid_r prototypes
6947 * libc/include/pwd.h: Added getpwnam_r and getpwuid_r prototypes
6950 1999-09-13 DJ Delorie <dj@cygnus.com>
6952 * libc/stdio/mktemp.c (_gettemp): on cygwin, check for EACCESS
6955 Thu Sep 9 15:31:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
6957 * setvbuf.c (setvbuf): When mallocing a buffer of size BUFSIZ,
6958 also note BUFSIZ as its size.
6960 Tue Sep 7 17:15:00 1999 Joel Sherrill <joel@OARcorp.com>
6962 * configure.host: Corrected feature defines for RTEMS.
6963 * libc/include/sys/stat.h: Added protototype for RTEMS mknod.
6964 * libc/include/sys/stat.h: mkfifo() should take const path arg.
6965 * libc/include/sys/unistd.h: pathconf() should take const path arg.
6966 Enabled usleep(), ftruncate(), and truncate() prototypes for RTEMS.
6967 Added defines for _POSIX_JOB_CONTROL, _POSIX_SAVED_IDS, and
6968 _POSIX_VERSION for RTEMS. Added defines for _PC_ASYNC_IO,
6969 _PC_PRIO_IO, and _PC_SYNC_IO.
6970 * libc/machine/m68k/Makefile.am: Added strcpy.c and strlen.c.
6971 * libc/machine/m68k/Makefile.in: Regenerated.
6972 * libc/machine/m68k/strcpy.c: New file.
6973 * libc/machine/m68k/strlen.c: New file.
6974 * libc/stdio/tmpnam.c: Always make the returned name usable.
6975 * libc/sys/rtems/crt0.c: New version that passes all autoconf tests.
6976 * libc/sys/rtems/sys/dirent.h: New file.
6977 * libc/sys/rtems/sys/types.h: Added dev_t.
6979 Tue Sep 7 17:15:00 1999 Jay Kulpinski <jskulpin@eng01.gdds.com>
6981 * libc/stdlib/mprec.c: Fixed unitialized variable problem.
6983 Fri Sep 3 12:35:20 1999 Jeff Johnston <jjohnstn@cygnus.com>
6985 * libc/stdio/ftell.c (ftell): Backing off Joern's fix and
6988 Thu Sep 2 22:05:20 1999 Christopher Faylor <cgf@cygnus.com>
6990 patch from Jeff Johnston <jjohnstn@cygnus.com>
6991 * libc/stdio/ftell.c (ftell): Avoid using buffer position when the
6992 buffer is not in a useful state.
6994 1999-09-01 Nick Clifton <nickc@cygnus.com>
6996 * libc/sys/arm/syscalls.c (_link): Add stub.
6998 Fri Aug 27 23:09:09 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
7000 * ftell.c (ftell): Use actual position within buffer for text mode.
7001 * findfp.c (std): Initialize ptr->_bf._size.
7003 Wed Aug 18 18:48:02 1999 Christopher Faylor <cgf@cygnus.com>
7005 * libc/include/sys/unistd.h: Add nice() declaration.
7007 1999-08-09 Nick Clifton <nickc@cygnus.com>
7009 * libc/sys/arm/crt0.S (change_mode): Rename to __change_mode and
7010 declare as a thumb function so that the disassembler will see the
7013 Thu Aug 5 17:37:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
7015 * libc/reent/reent.tex: Updated list of reentrant functions.
7017 1999-07-09 Michael Meissner <meissner@cygnus.com>
7019 * libc/include/stdlib.h (_findenv{,_r}): Add prototypes.
7021 Tue Jul 6 10:46:24 1999 Jeff Johnston <jjohnstn@cygnus.com>
7023 * libc/stdio/sprintf.c: Moved snprintf and _snprintf_r to
7025 * libc/stdio/snprintf.c: New file.
7026 * libc/stdio/vsprintf.c: Moved vsnprintf and _vsnprintf_r to
7028 * libc/stdio/vsnprintf.c: New file.
7029 * libc/stdio/Makefile.am: Added snprintf.c and vsnprintf.c.
7030 * libc/stdio/Makefile.in: Regenerated.
7032 Mon Jul 5 14:43:24 1999 Christopher Faylor <cgf@cygnus.com>
7034 Patch submitted by Egor Duda <deo@logos-m.ru>:
7035 * libc/include/stdio.h: Add declarations for *nprintf.
7036 * libc/stdio/sprintf.c (snprintf): New function.
7037 (_snprintf_r): New function.
7038 * libc/stdio/vsprintf.c (vsnprintf): New function.
7039 (_vnsprintf_r): New function.
7041 Wed Jun 30 16:36:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
7043 * libc/Makefile.am (stmp-targetdep): Remove extraneous blank.
7044 * libm/Makefile.am (stmp-targetdep): Ditto.
7045 * libc/Makefile.in: Regenerated.
7046 * libm/Makefile.in: Ditto.
7048 Fri Jun 25 10:49:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
7050 * libc/Makefile.am (stmp-targetdep): Ignore "." in SUBDIRS.
7051 * libm/Makefile.am (stmp-targetdep): Ditto.
7052 * libc/Makefile.in: Regenerated.
7053 * libm/Makefile.in: Ditto.
7055 Thu June 03 16:25:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
7057 * Makefile.am: Removed dependencies on all-recursive and added "."
7058 to the SUBDIRS list to prevent infinite recursion from occurring.
7059 Also removed any references to EXTRA_DATA.
7060 * libc/Makefile.am: Ditto.
7061 * libc/machine/Makefile.am: Ditto.
7062 * libc/machine/i386/Makefile.am: Ditto.
7063 * libm/Makefile.am: Ditto.
7064 * libc/sys/Makefile.am: Ditto.
7065 * Makefile.in: Regenerated.
7066 * aclocal.m4: Ditto.
7068 * doc/Makefile.in: Ditto.
7069 * doc/aclocal.m4: Ditto.
7070 * doc/configure: Ditto.
7071 * libc/Makefile.in: Ditto.
7072 * libc/aclocal.m4: Ditto.
7073 * libc/configure: Ditto.
7074 * libc/machine/Makefile.in: Ditto.
7075 * libc/machine/aclocal.m4: Ditto.
7076 * libc/machine/configure: Ditto.
7077 * libc/machine/mn10300/Makefile.in: Ditto.
7078 * libc/machine/mn10300/aclocal.m4: Ditto.
7079 * libc/machine/mn10300/configure: Ditto.
7080 * libc/sys/Makefile.in: Ditto.
7081 * libc/sys/aclocal.m4: Ditto.
7082 * libc/sys/configure: Ditto.
7083 * libm/Makefile.in: Ditto.
7084 * libm/aclocal.m4: Ditto.
7085 * libm/configure: Ditto.
7087 Thu June 03 16:20:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
7089 * libc/include/stdlib/stdlib.tex: Add link to env_lock.
7091 Fri May 28 17:09:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
7093 * libc/include/stdlib.h: Add reentrant routines.
7094 * libc/stdlib/Makefile.am: Add reentrant routines.
7095 * libc/stdlib/Makefile.in: Ditto.
7096 * libc/stdlib/envlock.c: New file.
7097 * libc/stdlib/envlock.h: New file.
7098 * libc/stdlib/getenv.c: Modify to call reentrant routine.
7099 * libc/stdlib/getenv_r.c: New file.
7100 * libc/stdlib/mblen.c: Modify to call reentrant routine.
7101 * libc/stdlib/mblen_r.c: New file.
7102 * libc/stdlib/setenv.c: Modify to call reentrant routine.
7103 * libc/stdlib/setenv_r.c: New file.
7104 * libc/stdlib/stdlib.tex: Add reentrant routines.
7106 Mon May 17 22:01:38 1999 Christopher Faylor <cgf@cygnus.com>
7108 * libc/include/sys/types.h: Define __MS_types__ whenever
7111 Sun May 16 16:02:41 1999 Christopher Faylor <cgf@cygnus.com>
7113 * libc/include/machine/ieeefp.h: Always default to little
7114 endian if Windows, regardless of architecture.
7115 * libc/include/machine/sethmp.h: Define JBLEN if CYGWIN
7116 regardless of architecture.
7118 Mon May 3 11:49:18 1999 Geoffrey Noer <noer@cygnus.com>
7120 * libc/include/machine/setjmp.h: Accept CYGWIN define, even if
7121 _WIN32 isn't defined.
7123 Mon May 3 11:41:51 1999 Jeff Johnston <jjohnstn@cygnus.com>
7125 * libm/common/s_rint.c (rint): Add volatile qualifier for
7126 intermediate value w.
7127 * libm/common/sf_rint.c (rintf): Ditto.
7129 Thu Apr 29 20:34:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
7131 * libc/sys/arm/syscalls.c (remap_handle): Added check to
7132 ensure that std streams are initialized before being referenced.
7134 1999-04-27 Jason Molenda (jsm@bugshack.cygnus.com)
7136 * README: Update reference to newlib@cygnus.com new
7137 newlib@sourceware.cygnus.com address.
7139 Mon Apr 26 18:17:33 1999 Geoffrey Noer <noer@cygnus.com>
7141 * libc/include/sys/types.h: Define MS_types if CYGWIN is defined.
7142 * libc/include/sys/fcntl.h: Define _O_BINARY et al if CYGWIN is
7143 defined, even if _WIN32 isn't defined.
7145 Sat Apr 24 19:59:55 1999 Christopher Faylor <cgf@cygnus.com>
7147 * libc/include/sys/fcntl.h: Correct _O_CREATE to _O_CREAT.
7149 Wed Apr 21 18:01:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
7151 * libc/include/sys/reent.h: Change Long and ULong to __Long and
7153 * libc/stdlib/dtoa.c: Ditto.
7154 * libc/stdlib/mprec.c: Ditto.
7155 * libc/stdlib/mprec.h: Ditto.
7156 * libc/stdlib/strtod.c: Ditto.
7158 1999-04-21 Nick Clifton <nickc@cygnus.com>
7160 * configure.host (mcore): Remove mcore machine directory.
7162 1999-04-18 Nick Clifton <nickc@cygnus.com>
7164 * libc/include/machine/ieeefp.h: Add support for mcore target.
7165 * libc/include/machine/setjmp.h: Add support for mcore target.
7166 * configure.host: Add support for mcore target.
7168 1999-04-13 Mark Salter <msalter@cygnus.com>
7170 * libc/sys/arm/libcfunc.c: Moved isatty to syscall.c
7171 * libc/sys/arm/syscalls.c: Added isatty.
7173 Wed Apr 07 16:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
7175 * libc/stdlib/ecvtbuf.c (fcvtbuf): Fixed code to properly
7176 insert zeroes after significant digits.
7178 Wed Mar 17 22:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
7180 * libc/stdio/vfprintf.c (cvt): Changed floating point
7181 cvt routine to use union used by dtoa to properly determine
7182 if the sign bit is on or not.
7183 * libc/stdio/vfieeefp.h: New file
7185 Wed Mar 17 17:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
7187 * aclocal.m4: Regenerated.
7188 * configure: Regenerated.
7190 Wed Mar 17 16:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
7192 * libc/machine/i386/Makefile.am (lib_a_SOURCES): Added missing
7194 * libc/machine/i386/Makefile.in: Regenerated.
7196 Tue Mar 16 14:56:36 1999 Jeff Johnston <jjohnstn@cygnus.com>
7198 * acinclude.m4: Changed to work with new automake.
7199 * configure: Regenerated.
7200 * libc/machine/i386/aclocal.m4: Regenerated.
7201 * libc/machine/i386/configure: Regenerated.
7203 Tue Mar 16 13:55:36 1999 Corinna Vinschen <corinna.vinschen@cityweb.de>
7205 * libc/sys/cygwin/sys/dirent.h: Add additional prototypes
7206 for telldir() and seekdir(). Rename unused structure element
7207 for use with these two routines.
7209 Fri Mar 12 19:11:58 1999 Jeff Johnston <jjohnstn@cygnus.com>
7211 * libc/time/mktime.c (validate_structure): Multiple fixes to
7212 code to handle cases where input fields are outside valid ranges.
7213 * libc/stdlib/div.c (div): Modified invalid rounding check.
7214 * libc/stdlib/ldiv.c (ldiv): Ditto.
7216 Thu Mar 11 21:32:13 1999 Jeff Johnston <jjohnstn@cygnus.com>
7218 * libc/machine/i386/memcpy.S: Performance rewrite.
7219 * libc/machine/i386/memmove.S: Ditto.
7220 * libc/machine/i386/i386mach.h: Added more register definitions.
7221 * libc/include/math.h: Include <machine/fastmath.h> if -ffast-math
7223 * libc/include/machine/fastmath.h: Add definitions for x86
7226 Wed Mar 10 17:56:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
7228 * libc/stdlib/strtod.c: Change from unsigned long to ULong.
7230 Tue Mar 9 14:31:58 1999 Geoffrey Noer <noer@cygnus.com>
7232 Adjust newlib headers for new Cygwin Win32 API header files:
7233 * libc/include/sys/time.h: Check _WINSOCK_H rather than
7234 _GNU_H_WINDOWS32_SOCKETS.
7235 * libc/include/sys/types.h: Ditto.
7237 Tue Mar 09 15:55:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
7239 *include/sys/reent.h: Add checks for size of Bigint element Long.
7240 *libc/dtoa.c: Change routines to use generic Long type.
7241 *libc/mprec.c: Change routines to use generic Long type.
7242 *libc/mprec.h: Change routines to use generic Long type.
7244 Tue Mar 02 18:07:49 1999 Ranjith Kumaran <ranjith@cygnus.com>
7246 * libc/Makefile.am: Add .def files.
7247 * libc/Makefile.in: Regenerate.
7248 * libc/e_acosh.c: Documentation update.
7249 * libc/e_atanh.c: Documentation update.
7250 * libc/e_hypot.c: Documentation update.
7251 * libc/e_remainder.c: Documentation update.
7252 * libc/er_lgamma.c: Documentation update.
7253 * libc/mathfp.tex: Documentation update.
7254 * libc/s_acos.c: Documentation update.
7255 * libc/s_atan.c: Documentation update.
7256 * libc/s_atan2.c: Documentation update.
7257 * libc/s_cosh.c: Documentation update.
7258 * libc/s_fmod.c: Documentation update.
7259 * libc/s_isnan.c: Documentation update.
7260 * libc/s_log10.c: Documentation update.
7261 * libc/s_pow.c: Documentation update.
7262 * libc/w_jn.c: Documentation update.
7264 Sun Feb 28 23:18:49 1999 Geoffrey Noer <noer@cygnus.com>
7266 * aclocal.m4: Regenerate.
7267 * configure: Regenerate.
7269 Tue Feb 23 13:57:26 1999 Jeff Johnston <jjohnstn@cygnus.com>
7271 * libc/machine/mn10300/setjmp.S (_longjmp): Fixed longjmp
7272 to return 1 if user specified return code is 0.
7273 * libc/machine/mn10200/setjmp.S (_longjmp): Ditto.
7275 Thu Feb 18 11:13:28 1999 Jeff Johnston <jjohnstn@cygnus.com>
7277 * libc/machine/mn10200/setjmp.S (_setjmp/_longjmp): Fixed setjmp
7278 to save the return address. Fixed longjmp to return to the original
7279 calling address of setjmp and to return the user specified return code
7280 rather than default to 1.
7281 * libc/machine/mn10300/setjmp.S (_setjmp/_longjmp): Ditto.
7283 Mon Feb 15 17:48:17 1999 Jeff Johnston <jjohnstn@cygnus.com>
7285 * libc/stdlib/mprec.h (mult): Define mult to be _multiply instead of _mult.
7287 1999-02-10 Nick Clifton <nickc@cygnus.com>
7289 * libc/sys/arm/syscalls.c (initialise_monitor_handles): Make block
7290 volatile so that its assignments will not be discarded.
7292 Wed Feb 10 17:19:40 1999 Jeff Johnston <jjohnstn@cygnus.com>
7294 * libc/include/_ansi.h: Corrected _STRICT_ANSI reference to
7295 be __STRICT_ANSI__ which is generated by compiler.
7296 * libc/include/ctype.h: Ditto.
7297 * libc/include/math.h: Ditto.
7298 * libc/include/stdio.h: Ditto.
7299 * libc/include/stdlib.h: Ditto.
7300 * libc/include/string.h: Ditto.
7301 * libc/include/sys/signal.h: Ditto.
7303 1999-02-08 Nick Clifton <nickc@cygnus.com>
7305 * configure.host: Add support for StrongARM target.
7307 Fri Feb 5 11:13:14 1999 Jeff Johnston <jjohnstn@cygnus.com>
7309 * libc/string/strncpy.c (strncpy): Removed redundant code
7310 that was copying bytes if data unaligned.
7312 1999-02-02 Brendan Kehoe <brendan@cygnus.com>
7314 * libc/stdlib/Makefile.{am,in} (CHEWOUT_FILES): Add mblen.def,
7315 mbstowcs.def, and wcstombs.def.
7317 Sat Jan 30 02:36:33 1999 Christopher Faylor <cgf@cygnus.com>
7319 * libc/include/sys/errno.h: Add Cygwin errno.
7320 * libc/stdio/flags.c: Don't default to O_TEXT if no other flag
7323 1999-01-29 Nick Clifton <nickc@cygnus.com>
7325 * libc/sys/arm/syscalls.c: Move C library functions into seperate
7328 * libc/sys/arm/libcfunc.c: New file containing C library functions
7331 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add libcfuncs.c
7332 * libc/sys/arm/Makefile.in (lib_a_SOURCES): Regenerate.
7335 1999-01-27 Michael Meissner <meissner@cygnus.com>
7337 * libc/include/machine/setjmp.h (D30V _JBLEN/_JBTYPE): Use double
7338 type, and cut size in half so that the jmp_buf array is guaranteed
7339 to be aligned on a 64-bit boundary.
7341 Mon Jan 25 12:05:38 1999 Jeff Johnston <jjohnstn@cygnus.com>
7343 * libc/string/strings.tex: Added information about
7344 strcasecmp and strncasecmp.
7345 * libc/stdlib/stdlib.tex: Added missing information
7346 about mblen, mbstowcs, and wcstombs.
7347 * libc/string/strchr.c: Changed how mask is built to use
7348 shift operators so register will be used instead of storage.
7350 1999-01-22 DJ Delorie <dj@cygnus.com>
7352 * libc/include/stdlib.h: don't use dllimport if we're building
7353 newlib, since it's inside cygwin.dll
7355 Fri Jan 22 14:57:18 1999 Christopher Faylor <cgf@cygnus.com>
7357 * libc/ctype/ctype_.c: Need to use __declspec(dllexport) for
7358 _ctype_ under cygwin.
7360 Fri Jan 22 09:50:19 1999 Christopher Faylor <cgf@cygnus.com>
7362 * include/stdlib.h: Fix typo from previous checkin.
7364 Thu Jan 21 22:42:21 1999 Christopher Faylor <cgf@cygnus.com>
7366 * include/ctype.h: Use __declspec(dllimport) method for exporting
7367 variable from cygwin DLL.
7368 * include/time.h: Ditto.
7369 * sys/errno.h: Ditto.
7370 * include/stdlib.h: Export __mb_cur_max from cygwin DLL.
7371 * libc/locale/locale.c: Use __declspec(dllexport) method for
7372 exporting variable from cygwin DLL.
7374 Sat Jan 16 13:29:54 1999 Christopher Faylor <cgf@cygnus.com>
7376 * libc/stdio/setvbuf.c: Always clean up when _IONBF or possible
7377 access of bogus pointer will result in SIGSEGV.
7379 1999-01-07 Nick Clifton <nickc@cygnus.com>
7381 * libc/sys/arm/setjmp.S: Use C macros to cope with the possibility
7382 of an underscore prefix to function names.
7384 Fri Jan 8 19:00:07 1999 Jeff Johnston <jjohnstn@cygnus.com>
7386 * libc/machine/i386/i386mach.h (__REG_PREFIX__): Create new
7387 define __REG_PREFIX__ instead of using __REGISTER_PREFIX__.
7389 1998-12-31 Michael Meissner <meissner@cygnus.com>
7391 * libc/machine/i386/i386mach.h (__REGISTER_PREFIX__): Only define
7392 to `%' if not already defined.
7394 1998-12-30 Michael Meissner <meissner@cygnus.com>
7396 * libc/stdio/tmpnam.c (_tempnam_r): Make directory and prefix
7397 arguments const char *, not char *.
7398 * libc/include/stdio.h (_tempnam_r): Ditto.
7400 * libc/include/sys/reent.h (struct _reent): The _sig_func type
7401 points to a function taking an integer, not void.
7403 Tue Dec 29 14:35:53 1998 Christopher Faylor <cgf@cygnus.com>
7405 * configure.host: Add a define for Cygwin builds.
7406 * libc/include/ctype.h: Don't use dll imported variables in newlib.
7408 Mon Dec 28 09:19:56 1998 Christopher Faylor <cgf@cygnus.com>
7410 * libc/include/ctype.h: Define _ctype_ as dll imported variable
7411 for use with Cygwin.
7412 * libc/include/sys/errno.h: Define _sys_errlist and _sys_nerr as
7413 dll imported variables for use with Cygwin.
7414 * libc/ctype/ctype_.c: Undefine _ctype_ in case it has been defined
7415 as a dll imported variable for Cygwin.
7417 Sat Dec 26 00:13:53 1998 Christopher Faylor <cgf@cygnus.com>
7419 * libc/include/sys/unistd.h: Add proto for getpass.
7421 Fri Dec 18 19:28:19 1998 Geoffrey Noer <noer@cygnus.com>
7423 * libc/sys/cygwin/sys/dirent.h: add protos for scandir and
7426 Fri Dec 18 16:33:25 1998 Geoffrey Noer <noer@cygnus.com>
7428 * libc/posix/execvp.c (execvp): call cygwin_posix_path_list_p,
7429 not posix_path_list_p.
7431 1998-12-15 Nick Clifton <nickc@cygnus.com>
7433 * libc/string/memchr.c: Treat 'c' argument as an unsigned byte not
7436 1998-12-13 Nick Clifton <nickc@cygnus.com>
7438 * libc/include/machine/setjmp.h (_JBLEN): Set to 10.
7440 1998-12-12 Nick Clifton <nickc@cygnus.com>
7442 * libc/machine/fr30/setjmp.S: New file, supplied by Mark Slater
7443 <msalter@cygnus.com>
7444 * libc/machine/fr30/Makefile.am: Add build of setjmp.S
7445 * libc/machine/fr30/Makefile.in: Regenerated.
7447 1998-12-11 Nick Clifton <nickc@cygnus.com>
7449 * configure.host: Remove use of libc/sys for FR30 port.
7450 * libc/sys/fr30: Remove directory (replaced by libgloss).
7452 1998-12-10 Ken Raeburn <raeburn@cygnus.com>
7454 * libc/string/strcat.c (ALIGNED): Sense of result was reversed.
7455 * libc/string/strncat.c (ALIGNED): Ditto.
7457 Wed Dec 9 14:37:57 1998 Geoffrey Noer <noer@cygnus.com>
7459 * libc/include/sys/time.h: include sys/types.h
7461 Tue Dec 8 15:53:18 1998 Jeff Johnston <jjohnstn@cygnus.com>
7463 * libc/machine/i386/memcmp.S (memcmp): Fix for unequal
7464 comparison found when checking word at a time.
7466 1998-12-04 Nick Clifton <nickc@cygnus.com>
7468 * libc/sys/fr30/crt0.s (_start): Initialise frame pointer.
7470 1998-12-03 Nick Clifton <nickc@cygnus.com>
7472 * libc/sys/fr30/syscalls.c (_times): New function stub.
7474 Thu Dec 3 15:59:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
7476 * configure.host (mach_add_setjmp): Replaced mach_add_objs
7477 with mach_add_setjmp flag which indicates if setjmp should
7478 be added to the machine directory objects.
7479 * acinclude.m4: Removed reference to mach_add_objs.
7480 * aclocal.m4: Regenerated.
7481 * Makefile.in: Regenerated.
7482 * configure: Regenerated.
7483 * libc/aclocal.m4: Regenerated.
7484 * libc/Makefile.in: Regenerated.
7485 * libc/configure: Regenerated.
7486 * libc/machine/aclocal.m4: Regenerated.
7487 * libc/machine/Makefile.in: Regenerated.
7488 * libc/machine/configure: Regenerated.
7489 * libc/machine/i386/aclocal.m4: Regenerated.
7490 * libc/machine/i386/Makefile.am: Altered to selectively add
7491 setjmp.S to the src files list.
7492 * libc/machine/i386/Makefile.in: Regenerated.
7493 * libc/machine/i386/configure.in: Altered to test mach_add_setjmp.
7494 * libc/machine/i386/configure: Regenerated.
7496 1998-12-02 Nick Clifton <nickc@cygnus.com>
7498 * libc/sys/fr30/crt0.s (_start): Fix function names.
7500 * libc/machine/fr30: New directory
7501 * libc/machine/fr30/Makefile.am: New file.
7502 * libc/machine/fr30/Makefile.in: New generated file.
7503 * libc/machine/fr30/configure.in: New file.
7504 * libc/machine/fr30/configure: New generated file.
7505 * libc/machine/fr30/aclocal.m4: New generated file.
7506 * libc/sys/fr30/Makefile.am: New file.
7507 * libc/sys/fr30/Makefile.in: New generated file.
7508 * libc/sys/fr30/configure.in: New file.
7509 * libc/sys/fr30/configure: New generated file.
7510 * libc/sys/fr30/syscalls.c: New file.
7512 Tue Dec 1 16:28:56 1998 Geoffrey Noer <noer@cygnus.com>
7514 * libc/sys/cygwin/sys/utmp.h: new file, moved from winsup/include.
7516 1998-12-01 Ken Raeburn <raeburn@cygnus.com>
7518 * libc/time/strftime.c (strftime): Also handle %y for years before
7521 Tue Dec 1 13:26:07 1998 Christopher Faylor <cgf@cygnus.com>
7523 * libc/string/strcasecmp.c (strcasecmp): Adhere to standard
7524 UNIX convention. Perform tolower on characters before comparing
7525 them rather than use toupper.
7526 * libc/string/strncasecmp.c (strncasecmp): Ditto.
7528 Mon Nov 30 16:24:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
7530 * configure.host: Added using i386 machine directory
7531 for all x86 cross-compiler and configuring
7532 which added object files to use via new "mach_add_objs" variable.
7533 * configure: Regenerated.
7534 * libc/configure: Regenerated.
7535 * libc/Makefile.in: Regenerated.
7536 * libc/aclocal.m4: Regenerated.
7537 * libc/ctype/Makefile.in: Regenerated.
7538 * libc/errno/Makefile.in: Regenerated.
7539 * libc/locale/Makefile.in: Regenerated.
7540 * libc/machine/Makefile.in: Regenerated.
7541 * libc/machine/aclocal.m4: Regenerated.
7542 * libc/machine/configure: Regenerated.
7543 * libc/posix/Makefile.in: Regenerated.
7544 * libc/reent/Makefile.in: Regenerated.
7545 * libc/signal/Makefile.in: Regenerated.
7546 * libc/stdio/Makefile.in: Regenerated.
7547 * libc/stdlib/Makefile.in: Regenerated.
7548 * libc/string/Makefile.in: Regenerated.
7549 * libc/string/memmove.c: Optimized code to use memcpy
7550 logic when performing a non-destructive copy.
7551 * libc/string/strncmp.c: Altered code to allow building
7552 optimized for size or speed.
7553 * libc/syscalls/Makefile.in: Regenerated.
7554 * libc/time/Makefile.in: Regenerated.
7555 * libc/unix/Makefile.in: Regenerated.
7556 * libc/machine/i386/Makefile.am: Added new files and reference
7557 to "mach_add_objs" to indicate optional object files.
7558 * libc/machine/i386/Makefile.in: Regenerated.
7559 * libc/machine/i386/aclocal.m4: Regenerated.
7560 * libc/machine/i386/configure: Regenerated.
7561 * libc/machine/i386/memchr.S: New file that implements
7562 function in Intel assembler.
7563 * libc/machine/i386/memcmp.S: ditto.
7564 * libc/machine/i386/memcpy.S: ditto.
7565 * libc/machine/i386/memmove.S: ditto.
7566 * libc/machine/i386/memset.S: ditto.
7567 * libc/machine/i386/strchr.S: ditto.
7568 * libc/machine/i386/strlen.S: ditto.
7569 * libc/machine/i386/f_atan2.S: New file that implements
7570 fast version of math function to be used by compiler when
7571 --ffast_math compile option is used.
7572 * libc/machine/i386/f_atan2f.S: ditto.
7573 * libc/machine/i386/f_exp.c: ditto.
7574 * libc/machine/i386/f_expf.c: ditto.
7575 * libc/machine/i386/f_frexp.S: ditto.
7576 * libc/machine/i386/f_frexpf.S: ditto.
7577 * libc/machine/i386/f_ldexp.S: ditto.
7578 * libc/machine/i386/f_ldexpf.S: ditto.
7579 * libc/machine/i386/f_log.S: ditto.
7580 * libc/machine/i386/f_logf.S: ditto.
7581 * libc/machine/i386/f_log10.S: ditto.
7582 * libc/machine/i386/f_log10f.S: ditto.
7583 * libc/machine/i386/f_math.h: New file.
7584 * libc/machine/i386/f_pow.c: ditto.
7585 * libc/machine/i386/f_powf.S: ditto.
7586 * libc/machine/i386/f_tan.S: ditto.
7587 * libc/machine/i386/f_tan.S: ditto.
7588 * libc/machine/i386/i386mach.h: New file.
7590 Mon Nov 30 13:02:17 1998 Christopher Faylor <cgf@cygnus.com>
7592 patch from Mumit Khan <khan@xraylith.wisc.edu>
7593 * libc/include/stdio.h (tempnam): Add prototype.
7594 * libc/stdio/tmpnam.c (_tempnam_r): Handle NULL prefix.
7595 (tempnam): Adhere to prototype.
7597 Thu Nov 26 00:21:32 1998 Christopher Faylor <cgf@cygnus.com>
7599 * Makefile.am: Add default for AR_FLAGS.
7600 * Makefile.in: Regenerate.
7602 Tue Nov 24 18:48:56 1998 Geoffrey Noer <noer@cygnus.com>
7604 * libc/include/time.h: move __cplusplus wrapper after includes
7605 * libc/include/sys/time.h: ditto. If Cygwin, include
7607 * libc/include/sys/types.h: lose "32" in comment about Cygwin.
7609 1998-11-23 Ken Raeburn <raeburn@cygnus.com>
7611 * libc/time/strftime.c (strftime): Handle %y after year 2000.
7613 Wed Nov 18 12:22:41 1998 Nick Clifton <nickc@cygnus.com>
7615 * libc/sys/fr30/crt0.s (_start): Switch over to using int #9 as
7616 abnormnal end-of-crt0 marker.
7618 Tue Nov 17 16:27:58 1998 Nick Clifton <nickc@cygnus.com>
7620 * libc/sys/fr30/crt0.s: New file/directory.
7621 * libc/include/machine/setjmp.h: Add FR30 target.
7622 * libc/include/machine/ieeefp.h: Add FR30 target.
7623 * configure.host: Add FR30 target.
7625 Mon Nov 16 23:15:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
7627 * libm/math: Files that are duplicated in common directory removed.
7628 * libm/math/fdlibm.h: Removed.
7629 * libm/math/s_cbrt.c: Removed.
7630 * libm/math/s_copysign.c: Removed.
7631 * libm/math/s_expm1.c: Removed.
7632 * libm/math/s_finite.c: Removed.
7633 * libm/math/s_ilogb.c: Removed.
7634 * libm/math/s_infinity.c: Removed.
7635 * libm/math/s_lib_ver.c: Removed.
7636 * libm/math/s_log1p.c: Removed.
7637 * libm/math/s_logb.c: Removed.
7638 * libm/math/s_matherr.c: Removed.
7639 * libm/math/s_modf.c: Removed.
7640 * libm/math/s_nan.c: Removed.
7641 * libm/math/s_nextafter.c: Removed.
7642 * libm/math/s_rint.c: Removed.
7643 * libm/math/s_scalbn.c: Removed.
7644 * libm/math/sf_cbrt.c: Removed.
7645 * libm/math/sf_copysign.c: Removed.
7646 * libm/math/sf_expm1.c: Removed.
7647 * libm/math/sf_finite.c: Removed.
7648 * libm/math/sf_ilogb.c: Removed.
7649 * libm/math/sf_infinity.c: Removed.
7650 * libm/math/sf_log1p.c: Removed.
7651 * libm/math/sf_logb.c: Removed.
7652 * libm/math/sf_modf.c: Removed.
7653 * libm/math/sf_nan.c: Removed.
7654 * libm/math/sf_nextafter.c: Removed.
7655 * libm/math/sf_rint.c: Removed.
7656 * libm/math/sf_scalbn.c: Removed.
7657 * libm/math/Makefile.am: Removed references to deleted files (above).
7658 * libm/math/Makefile.in: Regenerated.
7659 * libm/Makefile.am: Added common directory to math.
7660 * libm/Makefile.in: Regenerated.
7662 Mon Nov 2 23:12:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
7664 * libm/mathfp: Add non-ANSI functions.
7665 * libm/mathfp/e_acosh.c acosh(): New file.
7666 * libm/mathfp/e_atanh.c atanh(): New file.
7667 * libm/mathfp/e_hypot.c hypot(): New file.
7668 * libm/mathfp/e_j0.c j0(): New file.
7669 * libm/mathfp/e_j1.c j1(): New file.
7670 * libm/mathfp/e_remainder.c remainder(): New file.
7671 * libm/mathfp/e_scalb.c scalb(): New file.
7672 * libm/mathfp/ef_acosh.c acoshf(): New file.
7673 * libm/mathfp/ef_atanh.c atanhf(): New file.
7674 * libm/mathfp/ef_hypot.c hypotf(): New file.
7675 * libm/mathfp/ef_j0.c j0f(): New file.
7676 * libm/mathfp/ef_j1.c j1f(): New file.
7677 * libm/mathfp/ef_remainder.c remainderf(): New file.
7678 * libm/mathfp/ef_scalb.c scalbf(): New file.
7679 * libm/mathfp/er_gamma.c gamma_r: New file.
7680 * libm/mathfp/er_lgamma.c lgamma_r(): New file.
7681 * libm/mathfp/erf_gamma.c gamma_rf(): New file.
7682 * libm/mathfp/erf_lgamma.c lgamma_rf(): New file.
7683 * libm/mathfp/w_cabs.c cabs(): New file.
7684 * libm/mathfp/w_drem.c drem(): New file.
7685 * libm/mathfp/w_jn.c jn(): New file.
7686 * libm/mathfp/wf_cabs.c cabsf(): New file.
7687 * libm/mathfp/wf_drem.c dremf(): New file.
7688 * libm/mathfp/wf_jn.c jnf(): New file.
7690 Mon Nov 2 16:43:18 1998 Geoffrey Noer <noer@cygnus.com>
7692 * libc/sys/cygwin32: remove directory and contents
7693 * libc/sys/cygwin: and add back, losing the "32".
7694 * configure.host: check for cygwin* instead of cygwin32.
7695 * acinclude.m4: ditto.
7696 * aclocal.m4: regenerate with aclocal
7697 * configure: regenerate with autoconf
7699 Tue Oct 20 17:28:28 1998 Geoffrey Noer <noer@cygnus.com>
7701 * libc/stdio/tmpnam.c (_tempnam_r): not enough memory allocated
7704 Tue Oct 20 18:49:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
7706 * libc/include/sys/reent.h (struct _reent): Added variables _rand_next, _strtok_last,
7707 _asctime_buf, _localtime_buf and _gamma_signgam to struct reent
7708 to make rand/srand, strtok, asctime, localtime, w_gamma,
7709 w_lgamma, wf_gamma, and wf_lgamma reentrant. Included
7710 time.h to bring in struct tm definition.
7711 * libc/stdlib/rand.c (rand, srand): Don't emit functions 'rand' and 'srand' if
7712 '_REENT_ONLY' is set. Used variable '_rand_next' from struct reent.
7713 * libc/stdlib/strtok.c (strtok): Used variable '_strtok_last' from struct reent
7714 instead of static variable.
7715 * libc/stdlib/asctime.c (asctime): Used variable '_asctime_buf' from
7716 struct reent instead of static variable.
7717 * libc/stdlib/lcltime.c (localtime): Used variable '_localtime_buf' from
7718 struct reent instead of static variable.
7719 * libm/math/Makefile.am: Removed s_signgam.o.
7720 * libm/math/Makefile.in: Regenerated.
7721 * libm/math/w_gamma.c (gamma): Used variable '_gamma_signgam' from
7722 struct reent instead of global variable 'signgam'.
7723 * libm/math/w_lgamma.c (lgamma): Likewise.
7724 * libm/math/wf_gamma.c (gammaf): Likewise.
7725 * libm/math/wf_lgamma.c (lgammaf): Likewise.
7726 * libm/math/s_signgam.c: Removed.
7727 * libc/include/unctrl.h: Defined arrays __unctrl and __unctrllen
7729 * libc/misc/unctrl.c: Defined arrays __unctrl and __unctrllen
7731 * libc/reent/Makefile.am: Added dependence for impure.o on impure.c and
7732 libc/include/reent.h.
7733 * libc/reent/Makefile.in: Regenerated.
7734 * libc/stdio/vfprintf.c (_vfprintf_r): Defined arrays 'blanks' and 'zeroes'
7736 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Defined arrays 'JIS_state_table' and
7737 'JIS_action_table' to be const.
7738 * libm/math/s_lib_ver.c: define variable _LIB_VERSION to be const.
7740 Mon Oct 12 00:26:33 1998 Christopher Faylor <cgf@cygnus.com>
7742 * acinclude.m4: $with_target_subdir should default to '.'
7743 or confusion results when configuring in same directory as sources.
7744 * Regenerate all aclocal.m4 and configure files.
7746 Fri Oct 9 16:27:36 1998 Jeff Johnston <jjohnstn@cygnus.com>
7748 * libc/stdlib/mallocr.c: Added 16 byte alignment support which
7749 can be set by defining MALLOC_ALIGNMENT=16. Also added support
7750 for platforms where sizeof(size_t) < sizeof(long) via
7751 SIZE_T_SMALLER_THAN_LONG macro.
7753 Wed Oct 7 14:02:40 1998 Jeff Johnston <jjohnstn@cygnus.com>
7755 * libc/include/time.h (CLOCKS_PER_SEC): Change CLOCKS_PER_SEC
7756 to refer to _CLOCKS_PER_SEC_ and added including <machine/time.h>
7757 which sets _CLOCKS_PER_SEC_ for selected machines.
7758 * libc/include/machine/time.h: New file.
7760 Tue Oct 6 16:08:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
7762 * libc/syscalls/sysexecve.c: New file.
7763 * libc/syscalls/sysgettod.c: New file.
7764 * libc/syscalls/systimes.c: New file.
7765 * libc/syscalls/Makefile.am: Added new objects.
7766 * libc/syscalls/Makefile.in: Regenerated.
7767 * libc/include/_syslist.h (_execve): Moved define in file.
7768 * libc/include/reent.h: Added _execve_r declaration.
7769 * libc/Makefile.in: Regenerated.
7770 * libc/ctype/Makefile.in: Regenerated.
7771 * libc/errno/Makefile.in: Regenerated.
7772 * libc/locale/Makefile.in: Regenerated.
7773 * libc/machine/Makefile.in: Regenerated.
7774 * libc/misc/Makefile.in: Regenerated.
7775 * libc/posix/Makefile.in: Regenerated.
7776 * libc/reent/Makefile.in: Regenerated.
7777 * libc/reent/execr.c (_execve_r): Added _execve_r function.
7778 * libc/signal/Makefile.in: Regenerated.
7779 * libc/stdio/Makefile.in: Regenerated.
7780 * libc/time/Makefile.in: Regenerated.
7781 * libc/unix/Makefile.in: Regenerated.
7782 * libm/mathfp/Makefile.in: Regenerated.
7784 Tue Oct 6 14:14:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
7786 * libc/string/Makefile.in: Regenerated.
7787 * libc/string/memchr.c (memchr): Moved code to reduce object size.
7788 * libc/string/memcpy.c (memcpy): Ditto.
7789 * libc/string/memcmp.c (memcmp): Ditto.
7790 * libc/string/memset.c (memset): Ditto.
7791 * libc/string/strchr.c (strchr): Ditto.
7792 * libc/string/strcmp.c (strcmp): Ditto.
7793 * libc/string/strcpy.c (strcpy): Ditto.
7794 * libc/string/strlen.c (strlen): Ditto.
7796 Tue Oct 6 13:58:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
7798 * libm/acinclude.m4: Removed since newlib/acinclude.m4 can be used
7799 to generate aclocal.m4.
7800 * libm/Makefile.in: Regenerated.
7801 * libm/aclocal.m4: Regenerated.
7802 * libm/configure: Regenerated.
7803 * libm/math/Makefile.in: Regenerated.
7804 * libm/mathfp/Makefile.in: Regenerated.
7806 1998-09-25 Mark Salter <msalter@cygnus.com>
7808 * libc/include/machine/setjmp.h: Fixed test for mn10300 and mn10200
7809 by adding leading and trailing underscores to symbol names.
7811 Tue Sep 22 15:33:41 1998 Christopher Faylor <cgf@cygnus.com>
7813 * Makefile.in: Add default for AR_FLAGS.
7815 Tue Sep 22 15:02:49 1998 Christopher Faylor <cgf@cygnus.com>
7817 patch from ian@airs.com (Ian Taylor):
7818 * acinclude.m4: Run AC_CANONICAL_BUILD explicitly before
7819 NEWLIB_CONFIGURE so AC_CANONICAL_HOST will be run before it
7820 is needed for detecting the build machine. Required for
7821 cygwin native builds.
7823 * Regenerate all aclocal.m4 and configure files.
7825 Mon Sep 21 14:44:16 1998 Nick Clifton <nickc@cygnus.com>
7827 * libc/sys/arm/crt0.S: Prepend a period to all local labels that
7828 used to start with LC.
7830 Thu Sep 17 18:18:11 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
7832 * libc/machine/sh/setjmp.S (setjmp): Handle __SH4* like __SH3E__ .
7833 (longjmp): Likewise.
7835 Thu Sep 17 16:25:33 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
7837 * libc/machine/sh/memset.S (memset): Move copy from r4 to r4 before
7838 the test for small number of bytes.
7840 Thu Sep 10 11:40:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
7842 * Makefile.am: Add --enable-newlib-hw-fp check. This builds the new
7843 math library that uses floating point algorithms instead of the old
7845 * Makefile.in: Regenerate with automake version 1.3b.
7846 * configure: Rebuild.
7847 * libm/Makefile.in: Regenerate with automake version 1.3b.
7848 * libm/aclocal.m4: Regenerate.
7849 * libm/configure: Rebuild.
7850 * libm/configure.in: Add newlib_hw_fp definition and mathfp directory.
7851 * libm/acinclude.m4: Define macros for configure.in.
7852 * libm/config.h.in: Generate.
7853 * libm/mathfp/Makefile.am: New file.
7854 * libm/mathfp/Makefile.in: Generate.
7855 * libm/mathfp/s_acos.c (acos): New file.
7856 * libm/mathfp/s_asin.c (asin): New file.
7857 * libm/mathfp/s_asine.c (asine): New file.
7858 * libm/mathfp/s_atan.c (atan): New file.
7859 * libm/mathfp/s_atan2.c (atan2): New file.
7860 * libm/mathfp/s_atangent.c (atangent): New file.
7861 * libm/mathfp/s_ceil.c (ceil): New file.
7862 * libm/mathfp/s_copysign.c (copysign): New file.
7863 * libm/mathfp/s_cos.c (cos): New file.
7864 * libm/mathfp/s_cosh.c (cosh): New file.
7865 * libm/mathfp/s_exp.c (exp): New file.
7866 * libm/mathfp/s_fabs.c (fabs): New file.
7867 * libm/mathfp/s_finite.c (finite): New file.
7868 * libm/mathfp/s_floor.c (floor): New file.
7869 * libm/mathfp/s_fmod.c (fmod): New file.
7870 * libm/mathfp/s_frexp.c (frexp): New file.
7871 * libm/mathfp/s_infconst.c: New file.
7872 * libm/mathfp/s_isinf (isinf).c: New file.
7873 * libm/mathfp/s_isnan.c (isnan): New file.
7874 * libm/mathfp/s_ispos.c (ispos): New file.
7875 * libm/mathfp/s_ldexp.c (ldexp): New file.
7876 * libm/mathfp/s_log.c (log): New file.
7877 * libm/mathfp/s_log10.c (log10): New file.
7878 * libm/mathfp/s_logarithm.c (logarithm): New file.
7879 * libm/mathfp/s_mathcnst.c: New file.
7880 * libm/mathfp/s_modf (modf).c: New file.
7881 * libm/mathfp/s_numtest.c (numtest): New file.
7882 * libm/mathfp/s_pow.c (pow): New file.
7883 * libm/mathfp/s_scalbn.c (scalbn): New file.
7884 * libm/mathfp/s_sin (sin).c: New file.
7885 * libm/mathfp/s_sine.c (sine): New file.
7886 * libm/mathfp/s_sineh.c (sineh): New file.
7887 * libm/mathfp/s_sinf.c (sinf): New file.
7888 * libm/mathfp/s_sinh.c (sinh): New file.
7889 * libm/mathfp/s_sqrt.c (sqrt): New file.
7890 * libm/mathfp/s_tan.c (tan): New file.
7891 * libm/mathfp/s_tanh.c (tanh): New file.
7892 * libm/mathfp/sf_acos.c (acosf): New file.
7893 * libm/mathfp/sf_asin.c (asinf): New file.
7894 * libm/mathfp/sf_asine.c (asinef): New file.
7895 * libm/mathfp/sf_atan.c (atanf): New file.
7896 * libm/mathfp/sf_atan2.c (atan2f): New file.
7897 * libm/mathfp/sf_atangent.c (atangent): New file.
7898 * libm/mathfp/sf_ceil.c (ceilf): New file.
7899 * libm/mathfp/sf_copysign.c (copysignf): New file.
7900 * libm/mathfp/sf_cos.c (cosf): New file.
7901 * libm/mathfp/sf_cosh.c (coshf): New file.
7902 * libm/mathfp/sf_exp.c (expf): New file.
7903 * libm/mathfp/sf_fabs.c (fabsf): New file.
7904 * libm/mathfp/sf_finite.c (finitef): New file.
7905 * libm/mathfp/sf_floor.c (floorf): New file.
7906 * libm/mathfp/sf_fmod.c (fmodf): New file.
7907 * libm/mathfp/sf_frexp.c (frexpf): New file.
7908 * libm/mathfp/sf_isinf.c (isinff): New file.
7909 * libm/mathfp/sf_isnan.c (isnanf): New file.
7910 * libm/mathfp/sf_ispos.c (isposf): New file.
7911 * libm/mathfp/sf_ldexp.c (ldexpf): New file.
7912 * libm/mathfp/sf_log.c (logf): New file.
7913 * libm/mathfp/sf_log10.c (log10f): New file.
7914 * libm/mathfp/sf_logarithm.c (logarithmf): New file.
7915 * libm/mathfp/sf_modf.c (modff): New file.
7916 * libm/mathfp/sf_numtest.c (numtestf): New file.
7917 * libm/mathfp/sf_pow.c (powf): New file.
7918 * libm/mathfp/sf_scalbn.c (scalbnf): New file.
7919 * libm/mathfp/sf_sin.c (sinf): New file.
7920 * libm/mathfp/sf_sine.c (sinef): New file.
7921 * libm/mathfp/sf_sineh.c (sinehf): New file.
7922 * libm/mathfp/sf_sinh.c (sinhf): New file.
7923 * libm/mathfp/sf_sqrt.c (sqrtf): New file.
7924 * libm/mathfp/sf_tan.c (tanf): New file.
7925 * libm/mathfp/sf_tanh.c (tanhf): New file.
7926 * libm/mathfp/zmath.h: New file.
7928 Wed Sep 2 02:49:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
7930 * libc/machine/sh/strcmp.S (L_char_loop): Re-load r0 at loop
7931 exit if it has been overwritten by pre-fetching in delay slot.
7933 1998-09-01 Michael Meissner <meissner@cygnus.com>
7935 * Makefile.am (tooldir): Add in host_alias, so that multilib
7936 libraries are installed in the directory the compiler looks in.
7937 * Makefile.in: Regenerate.
7939 * libc/stdlib/Makefile.in: Regenerate with automake version 1.3b.
7941 Mon Aug 31 11:39:31 1998 Jeff Johnston <jjohnstn@cygnus.com>
7943 * libc/machine/mn10300/memcpy.S (_memcpy): Move alignment test
7944 ahead of test for number of bytes being moved.
7946 Thu Aug 27 14:07:53 1998 Christopher Faylor <cgf@cygnus.com>
7948 * libc/include/sys/unistd.h: Nothing special needed for
7951 Wed Aug 26 15:05:21 1998 Nick Clifton <nickc@cygnus.com>
7953 * libc/sys/arm/syscalls.c (_sbrk): Rename '_end' to 'end' to
7954 conform to user label naming conventions.
7956 Mon Aug 24 14:46:19 1998 Geoffrey Noer <noer@cygnus.com>
7958 * libc/sys/cygwin32/sys/utime.h: variable names in
7959 protos should start with two leading underscores
7960 * libc/include/string.h: ditto
7961 * libc/include/sys/signal.h: ditto
7962 * libc/include/sys/stat.h: ditto
7963 * libc/include/sys/time.h: ditto
7964 * libc/include/sys/unistd.h: ditto
7965 * libc/include/ctype.h: ditto
7966 * libc/include/stdlib.h: ditto
7967 * libc/include/sys/reent.h: struct _atexit function ptr takes a
7968 void, same with _sig_func.
7970 Fri Aug 21 14:44:14 1998 Jeff Johnston <jjohnstn@cygnus.com>
7972 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Added preprocessor checks
7973 for MB_CAPABLE to reduce code size when newlib is not configured
7974 with --enable-newlib-mb.
7975 * libc/stdlib/Makefile.am: Specified -fshort-enums when building
7976 mbtowc_r.o to minimize size.
7977 * libc/stdlib/Makefile.in: Rebuild.
7979 Wed Aug 19 16:20:13 1998 Jim Wilson <wilson@cygnus.com>
7981 * libc/sys/sparc64/Makefile.am (.S_r.o, .c_r.o): Change -DREENTRANT
7983 * libc/sys/sparc64/Makefile.in: Rebuild.
7985 Tue Aug 18 22:38:29 1998 Ian Lance Taylor <ian@cygnus.com>
7987 * Makefile.am (MAKEOVERRIDES): Define.
7988 * Makefile.in: Rebuild.
7990 Tue Aug 18 12:38:47 1998 Jim Wilson <wilson@cygnus.com>
7992 * libc/sys/sparc64/sys/stat.h (stat): Add const.
7994 Mon Aug 17 22:27:06 1998 Ian Lance Taylor <ian@cygnus.com>
7996 * acinclude.m4 (NEWLIB_CONFIGURE): Use top_builddir in
7997 newlib_cflags when looking for targ-include.
7998 * */aclocal.m4, */configure: Rebuild.
8000 Fri Jul 31 10:57:42 1998 Catherine Moore <clm@cygnus.com>
8002 * libc/sys/arm/syscalls.c (_sbrk): Change "__end__"
8005 Wed Jul 29 00:02:01 1998 Mark Alexander <marka@cygnus.com>
8007 * libc/include/sys/config.h: Define __IEEE_LITTLE_ENDIAN
8008 on SPARCs with little-endian data.
8009 * libc/include/machine/ieeefp.h: Ditto.
8011 Wed Jul 22 18:00:10 1998 Ian Lance Taylor <ian@cygnus.com>
8013 * acinclude.m4: Handle a relative srcdir correctly when setting
8015 * */aclocal.m4, */configure: Rebuild.
8017 Wed Jul 22 17:11:33 1998 Jeff Johnston <jjohnstn@cygnus.com>
8019 * libm/math/wrf_lgamma.c (lgammaf_r): Initialize exc.err to 0 and
8020 also set exc.arg1, exc.arg2 appropriately in case matherr is supplied.
8021 * libm/math/wrf_gamma.c (gammaf_r): ditto
8022 * libm/math/wr_lgamma.c (lgamma_r): ditto
8023 * libm/math/wr_gamma.c (gamma_r): ditto
8024 * libm/math/wf_sqrt.c (sqrtf): ditto
8025 * libm/math/wf_sinh.c (sinhf): ditto
8026 * libm/math/wf_scalb.c (scalbf): ditto
8027 * libm/math/wf_remainder.c (remainderf): ditto
8028 * libm/math/wf_pow.c (powf): ditto
8029 * libm/math/wf_log10.c (log10f): ditto
8030 * libm/math/wf_log.c (logf): ditto
8031 * libm/math/wf_lgamma.c (lgammaf): ditto
8032 * libm/math/wf_jn.c (jnf, ynf): ditto
8033 * libm/math/wf_j1.c (j1f, y1f): ditto
8034 * libm/math/wf_j0.c (j0f, y0f): ditto
8035 * libm/math/wf_hypot.c (hypotf): ditto
8036 * libm/math/wf_gamma.c (gammaf): ditto
8037 * libm/math/wf_fmod.c (fmodf): ditto
8038 * libm/math/wf_exp.c (expf): ditto
8039 * libm/math/wf_cosh.c (coshf): ditto
8040 * libm/math/wf_atanh.c (atanhf): ditto
8041 * libm/math/wf_atan2f.c (atan2f): ditto
8042 * libm/math/wf_asin.c (asinf): ditto
8043 * libm/math/wf_acosh.c (acoshf): ditto
8044 * libm/math/wf_acos.c (acosf): ditto
8045 * libm/math/w_sqrt.c (sqrt): ditto
8046 * libm/math/w_sinh.c (sinh): ditto
8047 * libm/math/w_scalb.c (scalb): ditto
8048 * libm/math/w_remainder.c (remainder): ditto
8049 * libm/math/w_pow.c (pow): ditto
8050 * libm/math/w_log10.c (log10): ditto
8051 * libm/math/w_log.c (log): ditto
8052 * libm/math/w_lgamma.c (lgamma): ditto
8053 * libm/math/w_jn.c (jn, yn): ditto
8054 * libm/math/w_j1.c (j1, y1): ditto
8055 * libm/math/w_j0.c (j0, y0): ditto
8056 * libm/math/w_hypot.c (hypot): ditto
8057 * libm/math/w_gamma.c (gamma): ditto
8058 * libm/math/w_fmod.c (fmod): ditto
8059 * libm/math/w_exp.c (exp): ditto
8060 * libm/math/w_cosh.c (cosh): ditto
8061 * libm/math/w_atanh.c (atanh): ditto
8062 * libm/math/w_atan2f.c (atan2): ditto
8063 * libm/math/w_asin.c (asin): ditto
8064 * libm/math/w_acosh.c (acosh): ditto
8065 * libm/math/w_acos.c (acos): ditto
8067 Tue Jul 21 12:34:54 1998 Ian Lance Taylor <ian@cygnus.com>
8069 * libm/math/Makefile.am (src): Add w_cabs.c and w_drem.c.
8070 (fsrc): Add wf_cabs.c and wf_drem.c.
8071 * libm/math/Makefile.in: Rebuild.
8073 * Makefile.am (AM_MAKEFLAGS): Add CFLAGS_FOR_BUILD. Remove some
8074 unused directory variables. Remove duplicate CFLAGS.
8075 * Makefile.in: Rebuild.
8077 * doc/Makefile.am ($(MKDOC)): Don't use $(CFLAGS) when building
8078 with $(CC_FOR_BUILD).
8079 (makedoc.o): Likewise.
8080 * doc/Makefile.in: Rebuild.
8082 * libc/sys/cygwin32/Makefile.am (EXTRA_LIBRARIES): Define, to
8083 force a definition of COMPILE.
8084 (libfoo_a_SOURCES): Define.
8085 * libc/sys/cygwin32/Makefile.in: Rebuild.
8086 * libc/sys/tic80/Makefile.am (EXTRA_LIBRARIES): Define, to
8087 force a definition of COMPILE.
8088 (libfoo_a_SOURCES): Define.
8089 * libc/sys/tic80/Makefile.in: Rebuild.
8091 Mon Jul 20 20:49:24 1998 Christopher Faylor <cgf@cygnus.com>
8093 * libc/include/sys/fcntl.h: Add O_NOINHERIT, Win32-specific
8096 Fri Jul 17 16:13:16 1998 Ian Lance Taylor <ian@cygnus.com>
8098 * Build using autoconf and automake. Added many Makefile.am and
8099 configure.in files, plus generated files. Old configure.in files
8100 and all old Makefile.in files completely replaced. Removed
8101 host/any. Added acinclude.m4 and configure.host.
8103 Sat Jul 11 18:14:49 1998 Felix Lee <flee@cygnus.com>
8105 * libc/stdio/vfprintf.c: enable long long support, sometimes.
8106 * configure.in (*-*-cygwin32): add -DWANT_PRINTF_LONG_LONG.
8108 Tue Jul 7 01:51:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
8110 * libc/machine/sh/strcmp.S, libc/machine/sh/strcpy.S: New files.
8111 * libc/machine/sh/Makefile.in: Add rules for new files.
8113 Tue Jul 7 01:40:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
8115 * libc/machine/sh/asm.h (SL, DELAYED_BRANCHES): Define.
8116 * libc/machine/sh/memset.S (memset): Remove uses of dt; shorten code.
8117 * libc/machine/sh/memcpy.S (SL, DELAYED_BRANCHES): Don't define.
8119 Thu Jul 2 10:33:16 1998 Nick Clifton <nickc@cygnus.com>
8121 * libc/sys/arm/syscalls.c (_exit): Add comment, noting that exit
8124 Wed Jun 24 13:56:54 1998 Jeff Johnston <jjohnstn@cygnus.com>
8126 * libc/stdio/tmpnam.c (_tmpnam_r): Changed routine to use
8127 internal static buffer when s is NULL, as prescribed by ANSI.
8129 1998-06-22 Vladimir N. Makarov <vmakarov@cygnus.com>
8131 * libc/sys/h8300hms/Makefile.in (OFILES): malloc.o has been
8133 * libc/sys/h8300hms/malloc.c: has been removed. Now malloc.c from
8134 libc/stdlib will be used for h8300hms.
8136 Thu Jun 18 16:56:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
8138 * libc/machine/mn10300/strlen.S (_strlen): New optimized assembler
8139 version that can be built either for speed or size.
8140 * libc/machine/mn10300/memset.S (_memset): ditto
8141 * libc/machine/mn10300/memchr.S (_memchr): ditto
8142 * libc/machine/mn10300/memcpy.S (_memcpy): ditto
8143 * libc/machine/mn10300/memcmp.S (_memcmp): ditto
8144 * libc/machine/mn10300/strchr.S (_strchr): ditto
8145 * libc/machine/mn10300/strcmp.S (_strcmp): ditto
8146 * libc/machine/mn10300/strcpy.S (_strcpy): ditto
8147 * libc/machine/mn10300/Makefile.in: Added entries for
8148 memchr.o, memcmp.o, memcpy.o, memset.o, strchr.o,
8149 strcmp.o, strcpy.o, and strlen.o.
8151 Wed Jun 17 12:50:26 1998 Mark Alexander <marka@cygnus.com>
8153 * configure.in: Don't use libc/sys/sysmec for MN10200; it's
8154 been replaced with libgloss/mn10200.
8156 Fri Jun 12 14:34:39 1998 Michael Meissner <meissner@cygnus.com>
8158 * libc/string/strchr.c (strchr): Make s a constant pointer to
8161 Tue Jun 9 16:29:30 1998 Jason Molenda (crash@bugshack.cygnus.com)
8163 * configure.in (target == arm* or thumb*): Define ARM_RDI_MONITOR
8164 instead of ARM_RDP_MONITOR (sys/libc/arm/crt0.S to assume Angel
8165 board SWIs instead of Demon board SWIs).
8167 Thu Jun 4 12:16:46 1998 Michael Meissner <meissner@cygnus.com>
8169 * libc/string/strncat.c (strncat): Make -Os act the same as
8170 PREFER_SIZE_OVER_SPEED being defined.
8172 Wed Jun 3 17:52:33 1998 Michael Meissner <meissner@cygnus.com>
8174 * libc/string/memchr.c (memchr): Make -Os act the same as
8175 PREFER_SIZE_OVER_SPEED being defined.
8176 * libc/string/memcmp.c (memcmp): Ditto.
8177 * libc/string/memcpy.c (memcpy): Ditto.
8178 * libc/string/memset.c (memset): Ditto.
8179 * libc/string/strcat.c (strcat): Ditto.
8180 * libc/string/strchr.c (strchr): Ditto.
8181 * libc/string/strcmp.c (strcmp): Ditto.
8182 * libc/string/strcpy.c (strcpy): Ditto.
8183 * libc/string/strlen.c (strlen): Ditto.
8184 * libc/string/strncat.c (strncat): Ditto.
8185 * libc/string/strncmp.c (strncmp): Ditto.
8186 * libc/string/strncpy.c (strncpy): Ditto.
8188 Mon Jun 1 15:25:07 1998 Geoffrey Noer <noer@cygnus.com>
8190 * libc/include/sys/itimer.h: remove
8191 * libc/include/sys/time.h: itimer stuff should be here
8193 Mon Jun 1 16:31:29 1998 Jeff Johnston <jjohnstn@cygnus.com>
8195 * libc/stdio/vfprintf.c (cvt): Changed code to look at sign
8196 bit instead of comparing to 0 so -0.0 can be printed correctly.
8198 Sat May 30 09:33:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
8200 * libc/stdlib/mprec.c (b2d): Inilialize d in non-VAX case too.
8202 Fri May 29 22:25:10 1998 Geoffrey Noer <noer@cygnus.com>
8204 * libc/include/sys/unistd.h: fix sync() proto
8205 * libc/include/sys/fcntl.h: remove _close which is already
8206 defined in unistd.h.
8207 * libc/include/sys/time.h: add getitimer proto
8209 Fri May 29 16:10:28 1998 Geoffrey Noer <noer@cygnus.com>
8211 * libc/string/strchr.c: convert arg to unsigned char
8212 * libc/include/stdlib.h: add protos for random, srandom
8213 * libc/include/sys/stat.h: add lstat proto
8214 * libc/include/sys/time.h: add setitimer proto
8215 * libc/include/sys/unistd.h: add readlink, symlink protos
8216 * libc/include/process.h: instead of including windows.h and using
8217 HANDLEs in sexec protos, just use void *s. Need to include
8220 Fri May 29 03:04:29 1998 Geoffrey Noer <noer@cygnus.com>
8222 * libc/include/sys/fcntl.h: add _close proto for Cygwin32
8224 Thu May 28 16:34:21 1998 Geoffrey Noer <noer@cygnus.com>
8226 * libc/include/process.h: add secure exec protos
8228 Wed May 27 13:54:51 1998 Jeffrey A Law (law@cygnus.com)
8230 * libc/stdlib/dtoa.c (_dtoa_r): Use "double_union" for variables
8231 which are accessed as both doubles and integers.
8232 * libc/stdlib/mprec.c (ulp, b2d, ratio): Likewise.
8233 * libc/stdlib/strtod.c (_strtod_r): Likewise.
8234 * libc/stdlib/mprec.h: Add "union double_union" and change
8235 word0/word1 macros to use it.
8237 Tue May 26 18:04:21 1998 Geoffrey Noer <noer@cygnus.com>
8239 * libc/include/sys/signal.h: add __cplusplus wrapper
8241 Tue May 26 15:10:22 1998 Geoffrey Noer <noer@cygnus.com>
8243 * libc/include/sys/utime.h: new generic file that gets replaced by
8244 libc/sys/SYSDIR/sys/utime.h on systems that support the utime
8246 * sys/cygwin32/sys/utime.h: use _EXFUN in utime proto
8247 * libc/include/time.h: remove duplicate utime proto
8248 * libc/include/utime.h: add comment
8250 Sun May 24 23:56:20 1998 Christopher Faylor <cgf@cygnus.com>
8252 * libc/include/sys/time.h: Add missing include to
8253 allow use of _EXFUN. Remove times function that is
8254 already defined in times.h.
8256 Sun May 24 01:32:14 1998 Christopher Faylor <cgf@cygnus.com>
8258 * libc/include/time.h: Fix typo in tzset.
8260 Fri May 22 17:00:48 1998 Geoffrey Noer <noer@cygnus.com>
8262 * libc/include/sys/time.h: add missing Cygwin32 function protos
8263 * libc/include/sys/unistd.h: ditto
8264 * libc/include/time.h: ditto
8266 Wed May 20 20:35:11 1998 Geoffrey Noer <noer@cygnus.com>
8268 * libc/sys/cygwin32/sys/param.h: add protected NULL def, remove
8270 * libc/include/sys/types.h: add a new __MS_types__ section
8271 to define vm_offset_t, vm_size_t, int32_t et al, register_t,
8272 __BIT_TYPES_DEFINED__.
8274 Wed May 20 18:49:21 1998 Geoffrey Noer <noer@cygnus.com>
8276 * libc/sys/cygwin32/sys/param.h: move here from winsup/include/sys
8277 since it overrides the one in libc/include/sys. Also, start
8280 Wed May 20 14:45:40 1998 Geoffrey Noer <noer@cygnus.com>
8282 * libm/math/Makefile.in: add s_signgam.o to obj list
8284 Tue May 19 11:57:11 1998 Jeff Johnston <jjohnstn@cygnus.com>
8286 * libc/include/sys/reent.h (_REENT_INIT): Initialize current locale to "C".
8288 Mon May 18 22:36:12 1998 Christopher Faylor <cgf@cygnus.com>
8290 * libc/include/sys/signal.h: cygwin32 exports sig{empty,add}set,
8291 so don't use defines.
8293 Mon May 18 19:01:02 1998 Michael Meissner <meissner@cygnus.com>
8295 * libc/sys/d10v/crt0.S: Use correct stab for 16-bit ints.
8297 Sun May 17 18:40:32 1998 Frank Ch. Eigler <fche@cygnus.com>
8299 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Accept a NULL
8300 _current_locale as default locale.
8302 Sat May 16 21:59:59 1998 Bob Manson <manson@charmed.cygnus.com>
8304 * libc/stdlib/mallocr.c (mALLOc): Add explicit tests for
8305 insufficient space in a chunk.
8307 Tue May 12 14:41:01 1998 Jeff Johnston <jjohnstn@cygnus.com>
8309 * configure.in (links): Added check for --enable-newlib-mb configure
8310 option which defines the MB_CAPABLE macro.
8311 * libc/locale/locale.c (_setlocale_r): Added support for setting
8312 LC_CTYPE to "C-JIS", "C-SJIS" or "C-EUCJP", when MB_CAPABLE is
8314 * libc/stdlib/mbtowc_r.c (_mbtowc_r): New function _mbtowc_r that
8315 implements mbtowc() with multibyte support for JIS, SJIS, and EUC-JP.
8316 * libc/stdlib/wctomb_r.c (_wctomb_r): New function _wctomb_r that
8317 implements wctomb() with multibyte support for JIS, SJIS, and EUC-JP.
8318 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): New function _mbstowcs_r that
8319 implements mbstowcs() with multibyte support for JIS, SJIS, and EUC-JP.
8320 * libc/stdlib/wcstombs_r.c (_wcstombs_r): New function _wcstomb_r that implements
8321 wcstombs() with multibyte support for JIS, SJIS, and EUC-JP.
8322 * libc/stdlib/Makefile.in: Added new multibyte
8323 routines: _mbtowc_r(), _wctomb_r(), _mbstowcs_r(), and _wcstombs_r().
8324 * libc/include/stdlib.h: Added declarations of _mbtowc_r(), _wctomb_r(),
8325 _mbstowcs_r(), and _wcstombs_r().
8326 * libc/stdlib/mbctype.h: New internal header file that contains macros to test
8327 for JIS, SJIS, and EUC-JP characters.
8328 * libc/stdlib/mblen.c (mblen): Added code to call _mbtowc_r() if
8330 * libc/stdlib/mbtowc.c (mbtowc): Added code to call _mbtowc_r() if
8332 * libc/stdlib/wctomb.c (wctomb): Added code to call _wctomb_r() if
8334 * libc/stdlib/mbstowcs.c (mbstowcs): Added code to call _mbstowcs_r()
8335 if MB_CAPABLE defined.
8336 * libc/stdlib/wcstombs.c (wcstombs): Added code to call _wcstombs_r()
8337 if MB_CAPABLE defined.
8338 * libc/stdio/vfscanf.c (__svfscanf): Added multibyte tolerance
8339 to the format string processing when MB_CAPABLE.
8340 * libc/stdio/vfprintf.c (_VFPRINTF_R): Changed mbtowc() call to
8343 Tue May 5 16:07:23 1998 Nick Clifton <nickc@cygnus.com>
8345 The following modifications are courtesy of Anthony Thompson,
8346 athompson@cambridge.arm.com:
8347 * libc/sys/arm/syscalls.c: Initialise and track stdin/out/err for
8348 boith RDI and RDP monitors.
8349 * libc/sys/arm/crt0.S: Call initialise_monitor_handles() for both
8350 RDI and RDP monitors.
8352 Wed Apr 29 15:22:15 1998 Jeff Johnston <jjohnstn@cygnus.com>
8354 * configure.in (links): Added -DHAVE_GETTIMEOFDAY for arm and thumb.
8355 * libc/sys/arm/syscalls.c (_gettimeofday _times): Added functions.
8356 (_swiopen): Fixed open flags to treat write with append as just append.
8357 (_swilseek): Fixed lseek support to properly handle offsets from SEEK_END.
8358 * libc/sys/arm/sys/param.h: New file to override param.h for ARM.
8360 Fri Apr 24 18:00:09 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
8362 * libc/machine/sh/memcpy.S (L_odddst, big endian version):
8363 When needing to transfer an initial 2-byte-word, store as
8366 Wed Apr 22 17:56:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
8368 * libc/sys/sh/crt0.S (start): Handle __SH4_SINGLE_ONLY__ like
8370 * libc/machine/sh/memcpy.S (DELAYED_BRANCHES, SL): Likewise.
8371 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Likewise.
8373 Wed Apr 22 12:28:03 1998 Michael Meissner <meissner@cygnus.com>
8375 * configure.in (target_cflags): If --enable-target-optspace, use
8376 -Os to compile newlib rather than -O2. Default to using -Os for
8377 d10v, d30v and m32r if --{enable,disable}-target-optspace is not
8380 Tue Apr 21 23:13:34 1998 Geoffrey Noer <noer@cygnus.com>
8382 * libc/include/machine/setjmp.h: change sigsetjmp and
8383 siglongjmp definitions to use an array instead of a struct
8386 Tue Apr 14 11:47:47 1998 Doug Evans <devans@canuck.cygnus.com>
8388 * libc/reent/impure.c (__ATTRIBUTE_IMPURE_DATA__): Fix spelling.
8390 Mon Apr 6 15:05:08 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
8392 * libc/string/strxfrm.c: fix to get correct return value
8394 Wed Apr 1 16:09:05 1998 Nick Clifton <nickc@cygnus.com>
8396 * libc/sys/arm/crt0.S: Set top of RAM to be 0x800000 for PE
8397 builds. Make mode change labels global so that they will be seen
8400 Wed Mar 18 09:45:10 1998 Nick Clifton <nickc@cygnus.com>
8402 * configure.in (links): Do not use ARM debiugging protocols for PE
8405 * libc/sys/arm/syscalls.c (_sbrk): Add "_sbrk: " to error
8408 Fri Mar 13 11:24:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
8410 * libc/stdio/findfp.c (__sinit): Made stdout default to
8411 line buffered mode as defined by ANSI.
8413 Tue Mar 10 11:41:26 1997 Bob Manson <manson@charmed.cygnus.com>
8415 * libc/include/sys/itimer.h: New file.
8417 * libc/signal/signal.c (__sigtramp_r,__sigtramp): New functions.
8419 Mon Mar 9 14:19:26 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
8421 * libc/machine/sh/memcpy.S: (_memcpy): Fix for execute/memcpy-1.c
8424 Fri Feb 27 13:56:10 1998 Michael Meissner <meissner@cygnus.com>
8426 * libc/machine/d30v/setjmp.S (longjmp): Fix order of parallel
8429 Wed Feb 25 09:29:54 1998 Nick Clifton <nickc@cygnus.com>
8431 * libc/sys/arm/syscalls.c (_open): Add varags to conform to prototype.
8433 Tue Feb 24 18:00:13 1998 Michael Meissner <meissner@cygnus.com>
8435 * libc/machine/d30v/{setjmp.S,Makefile.in}: New files for D30V
8438 * libc/include/machine/setjmp.h: Add D30V support.
8440 * configure.in (d30v-*): Add d30v machine directory.
8442 Mon Feb 23 09:32:58 1998 Mark Alexander <marka@cygnus.com>
8444 * configure.in: Don't use libc/sys/sysmec for MN10300; it's
8445 been replaced with libgloss/mn10300.
8447 Sat Feb 21 17:44:43 1998 Geoffrey Noer <noer@cygnus.com>
8449 * libc/stdlib/mallocr.c: remove __malloc_copy routine now that
8450 it is no longer needed.
8452 Thu Feb 19 16:15:10 1998 Geoffrey Noer <noer@cygnus.com>
8454 * libc/include/sys/signal.h: add sigpause proto for Cygwin32
8456 Wed Feb 18 23:51:08 1998 Geoffrey Noer <noer@cygnus.com>
8458 * libc/stdio/fdopen.c (fdopen): Make all writes go to the end of
8459 the file when O_APPEND is set, wherever the EOF happens to be at
8462 Wed Feb 18 23:25:02 1998 Geoffrey Noer <noer@cygnus.com>
8464 patch from cgf@bbc.com (Christopher Faylor):
8465 * libc/stdio/freopen.c (freopen): Conform to standard UNIX
8466 convention of closing fp prior to attempting to open the file
8467 argument. This allows correct operation when reopening
8468 stdin/stdout/stderr. Replaces last freopen.c patch.
8470 Wed Feb 18 16:27:40 1998 Geoffrey Noer <noer@cygnus.com>
8472 patch from cgf@bbc.com (Christopher Faylor):
8473 * libc/stdio/freopen.c: freopen was not preserving the fd
8474 of the stream being operated on. This confuses programs that
8475 expect that the handles for stdout and stderr will be 1 and 2.
8477 Mon Feb 16 23:34:07 1998 Andrew Cagney <cagney@b1.cygnus.com>
8479 * libc/sys/d10v/crt0.S (_start): Set PSW{SW} - select SPU.
8481 Thu Feb 12 15:09:20 1998 Ranjith Kumaran <ranjith@cygnus.com>
8483 * libc/sys/go32/longjmp.S: Fix longjmp to not return 0.
8485 Wed Feb 11 17:50:45 1998 Jeff Johnston <jjohnstn@cygnus.com>
8487 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Alignment code
8488 altered to not use a branch. Also added hint that last
8489 bclr in longjmp will likely result in branch.
8492 Mon Feb 9 03:44:02 1998 Geoffrey Noer <noer@cygnus.com>
8494 * libc/sys/cygwin32/crt0.c: add missing args to main() extern
8496 Fri Feb 6 16:32:32 1998 Nick Clifton <nickc@cygnus.com>
8498 * libc/sys/sysnecv850/crt0.S (_start): Initialise _ctbp even for
8501 * configure.in: Add -msmall-sld to target_cflags for v850 builds.
8503 Wed Feb 4 16:56:20 1998 Jeff Johnston <jjohnstn@cygnus.com>
8505 * libc/machine/powerpc/setjmp.S (longjmp): Fixed code
8506 that loads FR14 to specify offset of 8 rather than 4
8507 so it loads from offset 96 (where setjmp stored it).
8509 Tue Feb 3 18:08:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
8511 * libc/machine/sh/memcpy.S: (_memcpy): Update to
8512 latest version supplied by customer.
8513 * libc/machine/sh/memset.S (_memset): Ditto.
8515 Mon Feb 2 16:20:39 1998 Nick Clifton <nickc@cygnus.com>
8517 * libc/sys/sysnecv850/Makefile.in (OFILES): Add link.o (for
8520 Mon Feb 2 15:13:26 1998 Geoffrey Noer <noer@cygnus.com>
8522 * libc/include/string.h: remove redefinition of ffs
8524 Wed Jan 28 13:30:14 1998 Geoffrey Noer <noer@cygnus.com>
8526 * libc/include/sys/signal.h: include _ansi.h so _EXFUN is
8529 Wed Jan 28 10:38:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
8531 * libc/machine/tic80/setjmp.S: Adding _setjmp to allow
8532 TI Libraries to link to libc.a
8534 Sat Jan 24 10:15:56 1998 Michael Meissner <meissner@cygnus.com>
8536 * libc/include/sys/fcntl.h (_open,_fcntl): Add prototypes.
8537 * libc/include/sys/stat.h (_{,f}stat): Ditto.
8538 * libc/include/sys/wait.h (_wait): Ditto.
8539 * libc/include/sys/unistd.h (_close,_fork,_getpid): Ditto.
8540 (_link,_lseek,_read,_sbrk,_unlink,_write): Ditto.
8542 Fri Jan 23 11:32:10 1998 Michael Meissner <meissner@cygnus.com>
8544 * libc/machine/d10v/setjmp.S: Change to new ABI. Add simple
8545 minded stabs so function name shows up when running the simulator
8547 * libc/sys/d10v/{crt0,trap}.S: Ditto.
8549 Thu Jan 22 15:57:14 1998 Fred Fish <fnf@cygnus.com>
8551 * libc/sys/d10v/trap.S: Change syscalls to use trap 15.
8552 * libc/sys/d10v/crt0.S: Use R6 where we used to use R2.
8553 Use R5 where we used to use R3.
8555 Wed Jan 21 14:22:23 1998 Bill Moyer <billm@cygnus.com>
8557 * libc/stdlib/getopt.c (getopt): replaced __progname
8558 with nargv[0] to improve portability to imbedded systems.
8560 Thu Jan 15 12:32:38 1998 Nick Clifton <nickc@cygnus.com>
8562 * libc/sys/arm/syscalls.c (initialise_angel_handles): Applied
8563 patch supplied by Tont.Thompson@arm.com to fix the creation of the
8566 Wed Jan 14 13:00:19 1998 Ian Lance Taylor <ian@cygnus.com>
8568 * libc/stdio/tmpnam.c (worker): Generate a different file name
8571 * libc/posix/popen.c (popen): If __CYGWIN32__, and execing /bin/sh
8572 fails, try an execlp for sh.
8574 * host/any (INCLUDES): If target_os is cygwin32, then add a -I
8575 option for the winsup include directory.
8577 Wed Jan 7 17:02:58 1998 Nick Clifton <nickc@cygnus.com>
8579 * libc/sys/arm/syscalls.c: Applied patches for Angel based remote
8580 debugging interface from Tony.Thompson@arm.com.
8582 * libc/sys/arm/crt0.S (_mainCRTStartup): ditto.
8583 * libc/sys/arm/swi.h: ditto.
8585 Tue Jan 6 14:15:10 1998 Geoffrey Noer <noer@cygnus.com>
8587 * libc/sys/cygwin32/sys/dirent.h: add __d_dirhash field to
8588 DIR struct used for readdir hashes.
8590 Thu Jan 1 11:22:22 1998 Jeffrey A Law (law@cygnus.com)
8592 * libc/string/strchr.c: Use "unsigned chars" as necessary.
8594 Wed Dec 31 04:25:30 1997 Jeffrey A Law (law@cygnus.com)
8596 * libc/stdlib/mallocr.c (idx2binblock): Don't lose on 16bit
8599 Sat Dec 13 15:11:06 1997 Ian Lance Taylor <ian@cygnus.com>
8601 * libc/stdlib/mallocr.c (__malloc_copy): New function, compiled if
8602 INTERNAL_NEWLIB and __CYGWIN32__ and DEFINE_MALLOC.
8603 * libc/include/malloc.h: Add extern "C" if __cplusplus.
8604 (__malloc_copy): Declare.
8606 Wed Dec 10 12:15:54 1997 Ian Lance Taylor <ian@cygnus.com>
8608 * libc/stdlib/mallocr.c: If INTERNAL_NEWLIB, include
8610 (POINTER_UINT): Define.
8611 (DEFAULT_TRIM_THRESHOLD): Mark constants as long.
8612 (MALLOC_ALIGNMENT): Don't define if already defined.
8613 (malloc_extend_top): Cast pointers to POINTER_UINT, not unsigned
8616 Tue Dec 9 19:23:42 1997 Michael Meissner <meissner@cygnus.com>
8618 * libc/string/memset.c (memset): Fiddle with code so that the long
8619 value being stored is not a stack value. Unroll storing longs 4
8622 Tue Dec 9 14:13:18 1997 Jeff Johnston <jjohnstn@cygnus.com>
8624 * Reduce code size for libm modules.
8625 * libm/math/w_sqrt.c (sqrt): Remove call to kernel_standard
8626 and simply move code into sqrt.
8627 * libm/math/wrf_lgamma.c (lgammaf_r): Likewise.
8628 * libm/math/wr_lgamma.c (lgamma_r): Likewise.
8629 * libm/math/wrf_gamma.c (gammaf_r): Likewise.
8630 * libm/math/wr_gamma.c (gamma_r): Likewise.
8631 * libm/math/wf_sinh.c (sinfh): Likewise.
8632 * libm/math/w_sinh.c (sinh): Likewise.
8633 * libm/math/wf_scalb.c (scalbf): Likewise.
8634 * libm/math/w_scalb.c (scalb): Likewise.
8635 * libm/math/wf_remainder.c (remainderf): Likewise.
8636 * libm/math/w_remainder.c (remainder): Likewise.
8637 * libm/math/wf_pow.c (powf): Likewise.
8638 * libm/math/w_pow.c (pow): Likewise.
8639 * libm/math/wf_log10.c (log10f): Likewise.
8640 * libm/math/w_log10.c (log10): Likewise.
8641 * libm/math/wf_log.c (logf): Likewise.
8642 * libm/math/w_log.c (log): Likewise.
8643 * libm/math/w_lgamma.c (lgamma): Likewise.
8644 * libm/math/wf_lgamma.c (lgammaf): Likewise.
8645 * libm/math/wf_jn.c (jnf): Likewise.
8646 * libm/math/w_jn.c (jn): Likewise.
8647 * libm/math/wf_j1.c (j1f): Likewise.
8648 * libm/math/w_j1.c (j1): Likewise.
8649 * libm/math/wf_j0.c (j0f): Likewise.
8650 * libm/math/w_j0.c (j0): Likewise.
8651 * libm/math/wf_hypot.c (hypotf): Likewise.
8652 * libm/math/w_hypot.c (hypot): Likewise.
8653 * libm/math/wf_gamma.c (gammaf): Likewise.
8654 * libm/math/w_gamma.c (gamma): Likewise.
8655 * libm/math/wf_fmod.c (fmodf): Likewise.
8656 * libm/math/w_fmod.c (fmod): Likewise.
8657 * libm/math/wf_exp.c (expf): Likewise.
8658 * libm/math/w_exp.c (exp): Likewise.
8659 * libm/math/wf_cosh.c (coshf): Likewise.
8660 * libm/math/w_cosh.c (cosh): Likewise.
8661 * libm/math/wf_atanh.c (atanhf): Likewise.
8662 * libm/math/w_atanh.c (atanh): Likewise.
8663 * libm/math/wf_atan2.c (atan2f): Likewise.
8664 * libm/math/w_atan2.c (atan2): Likewise.
8665 * libm/math/wf_asin.c (asinf): Likewise.
8666 * libm/math/w_asin.c (asin): Likewise.
8667 * libm/math/wf_acosh.c (acoshf): Likewise.
8668 * libm/math/w_acosh.c (acosh): Likewise.
8669 * libm/math/wf_acos.c (asocf): Likewise.
8670 * libm/math/w_acos.c (acos): Likewise.
8671 * libm/math/wf_sqrt.c (sqrtf): Likewise.
8672 * libm/math/k_standard.c (_k_standard): Don't require SVID behavior
8673 for embedded systems.
8675 Mon Dec 8 12:12:58 1997 Ian Lance Taylor <ian@cygnus.com>
8677 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from Doug
8678 Lea in case of a foreign sbrk.
8680 Fri Dec 5 23:27:28 1997 Ian Lance Taylor <ian@cygnus.com>
8682 Incorporate Doug Lea's malloc:
8683 * libc/stdlib/mallocr.c: Completely replaced.
8684 * libc/stdlib/malloc.c: Document malloc_usable_size and memalign.
8686 * libc/stdlib/calloc.c (calloc): Just call _calloc_r.
8687 * libc/stdlib/mstats.c: Document mallinfo, malloc_stats, and
8689 (mallinfo, malloc_stats, mallopt): New functions.
8690 (_mstats_r): Just call _malloc_stats_r.
8691 * libc/stdlib/malign.c: New file.
8692 * libc/stdlib/mlock.c: New file.
8693 * libc/stdlib/msize.c: New file.
8694 * libc/stdlib/mtrim.c: New file.
8695 * libc/stdlib/realloc.c: New file.
8696 * libc/stdlib/valloc.c: New file.
8697 * libc/stdlib/malloc.h: Remove.
8698 * libc/stdlib/callocr.c: Remove.
8699 * libc/stdlib/Makefile.in (OFILES): Add cfreer.o, freer.o,
8700 malign.o, malignr.o, mallinfor.o, malloptr.o, mallstatsr.o,
8701 mlock.o, msize.o, msizer.o, mtrim.o, pvallocr.o, realloc.o,
8702 reallocr.o, valloc.o, vallocr.o.
8703 (CHEWOUT_FILES): Add mlock.def, mstats.def.
8704 (MALLOC_CFLAGS): New variable.
8705 (mallocr.o): New target, build from mallocr.c.
8706 (freer.o, reallocr.o, callocr.o, cfreer.o, malignr.o): Likewise.
8707 (vallocr.o, pvallocr.o, mallinfor.o, mallstatsr.o): Likewise.
8708 (msizer.o, malloptr.o): Likewise.
8709 (malign.o, mlock.o, msize.o, mtrim.o, realloc.o): New targets.
8710 (valloc.o): New target.
8711 * libc/stdlib/stdlib.tex: Include mlock.def and mstats.def.
8712 * libc/include/malloc.h: Declare struct mallinfo, and new
8714 * libc/include/stdlib.h (cfree): Correct declaration.
8716 Tue Dec 2 10:12:16 1997 Nick Clifton <nickc@cygnus.com>
8718 * libc/include/machine/setjmp.h: Add support for Thumb target.
8720 * libc/include/machine/ieeefp.h: Add support for Thumb target.
8722 * configure.in (links): Add support for Thumb target.
8724 Wed Nov 26 09:56:17 1997 Nick Clifton <nickc@cygnus.com>
8726 * libc/sys/arm/setjmp.S: Updated with version from branch.
8728 Thu Nov 20 01:21:43 1997 Geoffrey Noer <noer@cygnus.com>
8730 * libc/include/stdio.h: add POSIX-required define L_ctermid
8733 Wed Nov 19 16:11:40 1997 Michael Meissner <meissner@cygnus.com>
8735 * configure.in (d30v-*-*): Define ABORT_MESSAGE, SMALL_MEMORY, in
8736 addition to MISSING_SYSCALL_NAMES.
8738 Mon Nov 17 20:05:05 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
8740 * libc/include/sys/config.h: (UINT_MAX, for D10V): Make unsigned.
8742 Mon Nov 10 22:26:55 1997 Geoffrey Noer <noer@cygnus.com>
8744 * libc/include/string.h: change strsignal proto to return
8745 a char *. This eliminates compile problems in gdb resulting
8746 from gdb's definition of strsignal in defs.h.
8748 Mon Nov 10 17:11:08 1997 Geoffrey Noer <noer@cygnus.com>
8750 * libc/sys/cygwin32/sys/utime.h: new (moved here from
8751 winsup/include) so as not to conflict with the one in
8753 * libc/include/string.h: add protos for strsignal, strtosigno
8755 Mon Nov 10 13:49:54 1997 Michael Meissner <meissner@cygnus.com>
8757 * libc/include/sys/config.h: Define __IEEE_BIG_ENDIAN if d30v.
8759 * configure.in (d30v-*-*): Add configuration.
8761 Thu Oct 30 14:01:23 1997 Nick Clifton <nickc@cygnus.com>
8763 * configure.in (links): Add -DARM_RD[P|I]_MONITOR to target_cflags
8764 to select which kind of debug monitor is in use for an ARM target.
8766 * libc/sys/arm/crt0.S: New version: Supports Thumb startups and
8767 Angel and Demon debug monitors. Part of this code was supplied by
8768 Tony Thompson at ARM: athompso@arm.com.
8770 Fri Oct 24 18:57:05 1997 Jeffrey A Law (law@cygnus.com)
8772 * strncat.c (strncat): Don't call strncpy; strncay has the wrong
8773 semantics when the count is greater than the length of the second
8776 Thu Oct 23 01:37:41 1997 Geoffrey Noer <noer@cygnus.com>
8778 * libc/include/sys/signal.h: reorder CYGWIN32 signal numbers
8779 * libc/include/sys/unistd.h: add protos for usleep, truncate,
8780 truncate and ftruncate take off_t, not size_t
8782 Tue Oct 21 18:42:00 1997 Jim Wilson <wilson@cygnus.com>
8784 * libc/string/strcat.c (strcat): Add missing comment end.
8785 * libc/string/strncat.c (strncat): Likewise.
8787 Tue Oct 21 17:23:34 1997 Nick Clifton <nickc@cygnus.com>
8789 * configure.in (links): Define PREFER_SIZE_OVER_SPEED for v850
8791 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Add space
8792 optimised version which is selected if PREFER_SIZE_OVER_SPEED is
8794 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
8795 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
8796 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
8798 Mon Oct 13 15:12:35 1997 Ian Lance Taylor <ian@cygnus.com>
8800 * libc/include/sys/param.h (BIG_ENDIAN): Define if __i386__.
8801 (LITTLE_ENDIAN, BYTE_ORDER): Likewise.
8803 Thu Oct 9 13:54:44 1997 Doug Evans <dje@canuck.cygnus.com>
8805 * libc/machine/i386/setjmp.S: New file.
8806 * libc/machine/i386/Makefile.in: Delete COPYOFILES.
8807 (OFILES): Add setjmp.o.
8808 (setjmp.o): Add rule for.
8809 * configure.in: Don't set machine_dir for *-*-{go32,sco*,cygwin32}.
8811 Tue Oct 7 14:01:29 1997 Bill Moyer (billm@cygnus.com)
8812 Jeffrey A Law (law@cygnus.com)
8814 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Reimplement to run faster.
8815 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
8816 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
8817 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
8819 Mon Oct 6 14:07:59 1997 Nick Clifton <nickc@cygnus.com>
8821 * libc/sys/sysnecv850/Makefile.in (crt0.o trap.o): Explicit
8824 * libc/include/sys/config.h: Use __v850 to select v850
8827 * libc/include/machine/setjmp.h: Use __v850 to select v850 jump
8830 * libc/include/machine/ieeefp.h: Use __v850 to select v850
8833 Thu Sep 25 14:11:37 1997 Geoffrey Noer <noer@cygnus.com>
8835 * libc/stdlib/setenv.c: change unsetenv definition to match
8836 style of setenv (with _DEFUN). The string should be a const.
8837 * libc/include/stdlib.h: unsetenv proto should return void.
8839 Tue Sep 23 18:17:20 1997 Geoffrey Noer <noer@cygnus.com>
8841 * libc/include/stdlib.h: define unsetenv proto for __CYGWIN32__
8843 Thu Sep 18 12:50:15 1997 Angela Marie Thomas (angela@cygnus.com)
8845 * libc/stdio/glue.h: remove.
8846 * libc/stdio/findfp.c, libc/stdio/fwalk.c: remove #include "glue.h"
8847 * libc/stdio/Makefile.in: remove glue.h dependencies
8849 Wed Sep 17 17:42:27 1997 Nick Clifton <nickc@cygnus.com>
8851 * libc/sys/sysnecv850/crt0.S: Created V850e version.
8853 Tue Sep 9 10:40:57 1997 Doug Evans <dje@canuck.cygnus.com>
8855 * configure.in (target_cpu): Add `arc'.
8857 Tue Sep 9 10:40:42 1997 Joel Sherrill <joel@OARcorp.com>
8859 * newlib/configure.in (*-*-rtems*): Add -DSIGNAL_PROVIDED and
8860 -DREENTRANT_SYSCALLS_PROVIDED to the target_cflags.
8861 * newlib/libc/include/sys/errno.h: Add ENOTSUP.
8862 * newlib/libc/reent/reent.c: Add _wrapup_reent.
8863 * newlib/libc/sys/rtems/sys/types.h: Avoid redefinitions for go32.
8865 Sun Sep 7 16:41:41 1997 Gavin Koch <gavin@cygnus.com>
8867 * libc/machine/mips/setjmp.S: Handle mips16 builds.
8869 Thu Aug 21 20:05:38 1997 Ian Lance Taylor <ian@cygnus.com>
8871 * libc/include/stdio.h (siprintf): Declare.
8873 Mon Aug 18 11:19:13 1997 Nick Clifton <nickc@cygnus.com>
8875 * libc/sys/sysnecv850/Makefile.in (.c.o): Add rule that includes
8876 TARGET_CFLAGS and NEWLIB_FLAGS.
8878 Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
8880 * configure.in (links): Add support for v850ea target.
8882 Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
8884 * configure.in (links): Add support for v850e target.
8886 Wed Aug 13 19:16:54 1997 Nick Clifton <nickc@cygnus.com>
8888 * libc/sys/sysnecv850/crt0.S: Remove initial setting of r0 to 0.
8890 Mon Aug 11 15:49:54 1997 Doug Evans <dje@canuck.cygnus.com>
8892 * configure.in (arc-*-*): Add support for.
8893 * libc/include/machine/ieeefp.h (__arc__): Add support for the ARC.
8895 Fri Jul 25 17:37:41 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
8897 * libc/sys/sh/crt0.S (start): Add fpscr initialization for SH4.
8899 Thu Jul 24 18:32:17 1997 Geoffrey Noer <noer@cygnus.com>
8901 * libc/stdlib/bsearch.c (bsearch): remove last unneeded
8902 comparison which accesses invalid memory when the key is
8903 larger than the last member of the array.
8904 * libc/include/machine/setjmp.h: add sigsetjmp, siglongjmp
8906 * libc/include/sys/unistd.h: add _POSIX defines for CYGWIN32
8908 Tue Jul 22 16:03:06 1997 Ian Lance Taylor <ian@cygnus.com>
8910 * libc/include/stdlib.h (realpath): Declare if __CYGWIN32__ and
8913 Thu Jul 10 15:11:52 1997 Doug Evans <dje@canuck.cygnus.com>
8915 * libm/math/k_standard.c (__kernel_standard): Call fflush(stdout)
8916 ifndef _USE_WRITE, instead of ifdef _USE_WRITE.
8918 Thu Jul 10 16:00:09 1997 Mike Meissner <meissner@cygnus.com>
8920 * libc/machine/tic80/setjmp.S (setjmp,longjmp): Use ld.d and st.d
8921 to load/store memory.
8923 Mon Jul 7 17:38:17 1997 Ian Lance Taylor <ian@cygnus.com>
8925 * libc/include/sys/fcntl.h: Define _O_* symbols with leading
8926 underscores if _WIN32.
8928 Wed Jul 2 10:07:20 1997 Doug Evans <dje@canuck.cygnus.com>
8930 * libm/math/k_standard.c (__kernel_standard): Delete reentrancy
8931 support ifdef _USE_WRITE missed in last change.
8932 From Anders Blomdell <anders.blomdell@control.lth.se>.
8934 Wed Jun 25 10:18:49 1997 Doug Evans <dje@canuck.cygnus.com>
8936 * libc/stdio/tmpnam.c (worker): Handle _open_r being stubbed out.
8937 (_tmpnam_r, _tempnam_r): Update.
8939 Wed Jun 25 00:16:55 1997 Mark Alexander <marka@cygnus.com>
8941 * libc/machine/sparc/setjmp.S: New file.
8942 * libc/machine/sparc/Makefile.in: Add setjmp.
8943 * libc/include/machine/setjmp.h: Increase jmpbuf size for sparc.
8945 Tue Jun 24 23:27:38 1997 Mark Alexander <marka@cygnus.com>
8947 * libc/include/machine/setjmp.h: Use __TIC80__ instead of __tic80__.
8949 Tue Jun 24 14:53:40 1997 Doug Evans <dje@canuck.cygnus.com>
8951 From Joel Sherrill <joel@oarcorp.com>.
8952 * libc/stdlib/getenv.c (_findenv): Avoid dereferencing null `environ'.
8954 Add rtems support. From Joel Sherrill <joel@oarcorp.com>.
8955 * configure.in: Recognize *-*-rtems*.
8956 * libc/sys/rtems/{Makefile.in,crt0.c,dummysys.c}: New files.
8957 * libc/sys/rtems/sys/{features.h,sched.h,siginfo.h,signal.h,
8958 time.h,times.h,types.h}: New files.
8959 * libc/sys/rtems/include/{limits.h,signal.h,time.h}. New files.
8961 Fri Jun 20 11:13:16 1997 Geoffrey Noer <noer@cygnus.com>
8963 patch from sos@prospect.com.ru (Sergey Okhapkin):
8964 * include/sys/wait.h: correct operator precidence bug
8967 Wed Jun 18 22:08:27 1997 Geoffrey Noer <noer@cygnus.com>
8969 * libc/include/stdlib.h: remove unsetenv proto since it conflicts
8970 with newlib's unsetenv function
8971 * libc/sys/cygwin32/sys: new directory for includes
8972 * libc/sys/cygwin32/sys/dirent.h: move cygwin32's dirent.h
8973 here from winsup/include/sys
8975 Mon Jun 16 21:02:22 1997 Geoffrey Noer <noer@cygnus.com>
8977 * libc/include/sys/unistd.h: _exit should only be
8978 labelled noreturn when not __CYGWIN32__
8979 * libc/include/stdlib.h: for __CYGWIN32__, add proto for unsetenv
8980 * libc/include/sys/signal.h: add SIGIO to _WIN32 list and
8983 Thu Jun 12 18:52:41 1997 Ian Lance Taylor <ian@cygnus.com>
8985 * libc/include/sys/time.h: Only define timeval and timezone if
8986 _GNU_H_WINDOWS32_SOCKETS is not defined.
8987 * libc/include/sys/stat.h: If _WIN32, define _S_IFMT, etc.
8989 Wed Jun 11 09:46:26 1997 Jeffrey A Law (law@cygnus.com)
8991 * libc/machine/mn10200/setjmp.S: Implement setjmp/longjmp
8992 * libc/machine/mn10300/setjmp.S: Likewise.
8994 * libc/sys/sysmec/crt0.S: Use "call" instead of "calls" for
8995 the mn10300 (more relaxing opportunities).
8997 Tue Jun 10 17:24:45 1997 Mike Meissner <meissner@cygnus.com>
8999 * configure.in (powerpc*-*-{eabi,elf,linux,rtems,sysv,solaris}):
9000 Build libraries with -mstrict-align.
9002 Fri Jun 6 14:07:59 1997 Ian Lance Taylor <ian@cygnus.com>
9004 * libc/string/strlwr.c: New file.
9005 * libc/string/strupr.c: New file.
9006 * libc/include/string.h: Declare strlwr and strupr.
9007 * libc/string/Makefile.in (OFILES): Add strlwr.o and strupr.o.
9008 (CHEWOUT_FILES): Add strlwr.def and strupr.def.
9009 (strlwr.o, strupr.o): New targets.
9010 * libc/string/strings.tex: Include strlwr and strupr docs.
9012 * libc/include/sys/types.h: Don't define u_char, et. al., if
9013 _GNU_H_WINDOWS32_SOCKETS is defined. Likewise for fd_set,
9014 et. al. Make FD_SETSIZE default 64 rather than 60. Define
9015 _types_fd_set rather than fd_set, and define fd_set as a macro.
9017 * libc/include/malloc.h: New file.
9019 * libc/include/string.h: Define strcmpi, stricmp, strncmpi, and
9020 strnicmp if they are not already defined.
9022 * libc/include/time.h: If __CYGWIN32__, declare tzset and define
9023 _timezone, _daylight, and _tzname.
9025 Wed Jun 4 12:51:16 1997 Doug Evans <dje@canuck.cygnus.com>
9027 * configure.in: Sort all configuration tables.
9029 From Joel Sherrill <joel@oarcorp.com>
9030 * Makefile.in (stmp-targ-include): Copy $(sys_dir)/include/*.h.
9032 Tue Jun 3 14:47:46 1997 Ian Lance Taylor <ian@cygnus.com>
9034 * libc/include/sys/signal.h: Don't include <sys/types.h>. Just
9035 use int when declaring kill.
9037 * libc/include/sys/timeb.h: New file.
9039 Mon Jun 2 12:06:58 1997 Geoffrey Noer <noer@cirdan.cygnus.com>
9041 * libc/include/sys/time.h: add itimer support for Cygwin32
9043 Mon May 19 11:56:46 1997 Mike Meissner <meissner@cygnus.com>
9045 * libc/stdlib/abort.c (abort): If ABORT_MESSAGE is defined, write
9046 out a message that abort was called to stderr.
9048 Fri May 16 15:02:59 1997 Bob Manson <manson@charmed.cygnus.com>
9050 * libc/sys/sysmec/fstat.c (_fstat): Set st_blksize to 4096
9051 so that libio doesn't freak.
9053 * libc/sys/sysmec/sbrk.c (_sbrk): The argument is a size_t, not
9056 * libc/stdlib/mallocr.c (_morecore_r): Use size_t for
9057 memory sizes, not int.
9059 Wed May 14 21:16:58 1997 Bob Manson <manson@charmed.cygnus.com>
9061 * libm/math/ef_hypot.c: Use long constants where
9063 * libm/math/ef_sqrt.c: Ditto.
9065 * libc/sys/sysmec/times.c(_times): Change to times.
9067 * libc/sys/sysmec/read.c(_read): The third argument is
9069 * libc/sys/sysmec/write.c (_write): Ditto.
9071 * libc/sys/sysmec/lseek.c: Include unistd.h for off_t.
9072 (_lseek): It's off_t for the second argument.
9074 Wed May 14 15:23:36 1997 Mike Meissner <meissner@cygnus.com>
9076 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN): Define here,
9077 as well as machine/ieeefp.h.
9079 Thu May 8 15:47:25 1997 Geoffrey Noer <noer@cygnus.com>
9081 * libc/include/sys/signal.h: add signal protos for winsup
9082 functions (when __CYGWIN32__), include types.h
9083 * libc/include/sys/types.h: Change __go32_types__ internal
9084 define to __MS_types__ since it's used for more than just
9085 GO32 configs. Define this if GO32, __MSDOS__, or _WIN32 are
9087 * libc/include/sys/unistd.h: add ftruncate proto for
9088 winsup functions (when __CYGWIN32__)
9090 Fri Apr 25 10:10:16 1997 Doug Evans <dje@canuck.cygnus.com>
9092 * libc/sys/h8300hms/sbrk.c (stack_ptr): Add definition.
9094 Thu Apr 24 15:46:51 1997 Mike Stump <mrs@cygnus.com>
9096 * libc/include/machine/setjmp.h: Add tic80 support.
9097 * libc/machine/tic80/setjmp.S: Likewise.
9099 Tue Apr 22 16:54:40 1997 Geoffrey Noer <noer@pizza.cygnus.com>
9101 * libc/sys/cygwin32/crt0.c: Add reference to main() so we can
9102 link programs from libraries only (such as in the X11
9105 Mon Apr 21 15:02:12 1997 Fred Fish <fnf@cygnus.com>
9107 * libc/sys/arm/syscalls.c (signal): Remove stub, signal()
9108 supplied elsewhere in newlib.
9110 Mon Apr 14 16:25:55 1997 Ian Lance Taylor <ian@cygnus.com>
9112 * Makefile.in (INSTALL): Change install.sh to install-sh.
9114 Fri Apr 11 17:04:02 1997 Jason Molenda (crash@godzilla.cygnus.co.jp)
9116 * README: update WWW address for on-line documentation.
9118 Wed Apr 9 00:38:13 1997 Geoffrey Noer <noer@cygnus.com>
9120 * libc/include/sys/signal.h: for _WIN32, define SIGCONT and
9123 Mon Apr 7 23:54:00 1997 Jeffrey A Law (law@cygnus.com)
9125 * libc/sys/sysmec/crt0.S: Update for new calling conventions on the
9127 * libc/sys/sysmec/trap.S: Don't compare a register to itself.
9129 Tue Mar 25 08:47:43 1997 Jeffrey A Law (law@cygnus.com)
9131 * libc/sys/arm/syscalls.c: Fix/add stack/heap collision detection.
9132 * libc/sys/d10v/syscalls.c: Likewise.
9133 * libc/sys/h8300hms/sbrk.c: Likewise.
9134 * libc/sys/h8500hms/syscalls.c: Likewise.
9135 * libc/sys/m88kbug/syscalls.c: Likewise.
9136 * libc/sys/sh/syscalls.c: Likewise.
9137 * libc/sys/sysmec/sbrk.c: Likewise.
9138 * libc/sys/sysnecv850/sbrk.c: Likewise.
9139 * libc/sys/w65/syscalls.c: Likewise.
9140 * libc/sys.tex: Update sbrk sample code to include stack/heap collision.
9142 Tue Mar 18 14:14:34 1997 Jeffrey A Law (law@cygnus.com)
9144 * libc/sys/sysmec/trap.S: Use "syscall" to trigger an
9145 emulated syscall instead of "trap".
9147 Fri Mar 14 11:26:13 1997 Michael Meissner <meissner@cygnus.com>
9149 * libc/sys/d10v/trap.S (__trap0): Use trap 15 for system calls,
9152 Sun Mar 9 23:27:04 1997 Doug Evans <dje@seba.cygnus.com>
9154 * configure.in (m32r-*-*): Add -msdata=sdata to target_cflags.
9156 Sat Mar 8 09:05:01 1997 Fred Fish <fnf@cygnus.com>
9158 * libc/machine/arm/Makefile.in: Fix comment, is for "arm"
9160 * libc/machine/m32r/Makefile.in: Fix comment, is for "m32r"
9162 * libc/sys/tic80/crt0.c: New file for TIc80.
9163 * libc/sys/tic80/Makefile.in: New file for TIc80.
9164 * libc/machine/tic80/Makefile.in: New file for TIc80.
9166 Wed Mar 5 11:32:12 1997 J.T. Conklin <jtc@cygnus.com>
9168 * libc/machine/sh/memcpy.S: New file.
9169 * libc/machine/sh/memset.S: New file.
9170 * libc/machine/sh/Makefile.in (OFILES): Add memcpy.o and memset.o
9172 Thu Feb 27 16:27:55 1997 Fred Fish <fnf@cygnus.com>
9174 * libc/include/machine/ieeefp.h (_IEEE_LITTLE_ENDIAN): Define
9177 Wed Feb 26 13:43:39 1997 Jeffrey A Law (law@cygnus.com)
9179 * libc/sys/sysmec/crt0.S: Handle new calling conventions for
9182 Wed Feb 26 07:11:03 1997 Michael Meissner <meissner@cygnus.com>
9184 * libc/machine/powerpc/setjmp.S (longjmp): Correct return status
9185 (patch from andrew@pogo.WV.TEK.COM).
9187 Fri Feb 14 11:49:28 1997 Doug Evans <dje@canuck.cygnus.com>
9189 * libc/machine/m32r/setjmp.S (setjmp): Save r12.
9190 (longjmp): Restore r12. Fix code that handles returning 1 if passed 0.
9192 Mon Feb 10 10:02:34 1997 Fred Fish <fnf@cygnus.com>
9194 * configure.in: Add cases for "tic80" to set machine_dir,
9195 sys_dir, and syscall_dir.
9197 Sun Feb 2 17:57:15 1997 Geoffrey Noer <noer@cygnus.com>
9199 * libc/sys/cygwin32/crt0.c: initialize floating pt registers
9201 Wed Jan 29 15:57:38 1997 Geoffrey Noer <noer@cygnus.com>
9203 * libc/include/math.h: avoid conflicts with ANSI C++ <exception>
9205 Mon Jan 27 12:50:01 1997 Doug Evans <dje@seba.cygnus.com>
9207 * libc/machine/m32r/setjmp.S: Use proper comment delimiter.
9208 Use proper constant prefix.
9210 Fri Jan 24 10:59:04 1997 Jeffrey A Law (law@cygnus.com)
9212 * libc/sys/sysmec/*.c: Don't cast args to syscall to integers,
9213 that loses on the mn10200 where ints and pointers are different
9216 Tue Jan 14 13:29:55 PST 1997 Jeremy Allison <jra@cygnus.com>
9218 * configure.in: Added -DSIGNAL_PROVIDED to cygwin32
9219 target as signal is provided in winsup.
9221 Tue Jan 14 11:10:13 1997 Jeremy Allison <jra@cygnus.com>
9223 * libc/include/sys/process.h: Corrected const definitions
9224 in spawn functions. Added cwait.
9226 Thu Jan 2 12:22:41 1997 Jeffrey A Law (law@cygnus.com)
9228 * libc/include/machine/ieeefp.h: mn10200 uses 16bit ints and 32bit
9230 * libc/include/sys/config.h: Similarly.
9232 Tue Dec 31 18:36:14 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9234 * configure.in (sparc-sun-sunos*): Add -DSIGNAL_PROVIDED to the
9236 (i[3456]86-*-sco*): Ditto.
9238 * libc/signal/Makefile.in (OFILES): Add signal.o.
9239 (CFILES): Add signal.c.
9241 * libc/signal/raise.c (_raise_r): Only compile code if
9242 SIGNAL_PROVIDED is defined.
9244 * libc/signal/signal.c: Redo whole file so that it works with
9245 current newlib. Use _kill_r if no signal handler provided.
9247 * libc/sys/{go32,sparc64,sysmec}/Makefile.in: Delete raise and
9249 * libc/sys/sysvnecv70/Makefile.in: Ditto.
9250 * libc/sys/sysnecv850/Makefile.in: Ditto.
9252 * libc/sys/{go32,sparc64}/signal.c: Delete, stub no longer used.
9253 * libc/sys/sysmec/{raise,signal}.c: Ditto.
9254 * libc/sys/sysvnecv70/signal.s: Ditto.
9255 * libc/sys/sysnecv850/raise.c: Ditto.
9257 * libc/sys/sysnecv850/kill.c (_kill): Encode signal # so that
9258 simulator and debugger can tell the difference between a signal
9259 being raised and an exit system call.
9261 * NEWS: Document software signals being provided.
9263 Mon Dec 23 11:54:19 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9265 * libc/reent/impure.c (_REENT_ATTR): Delete in favor of
9266 __ATTRIBUTE_IMPURE_PTR__. Move PowerPC definition to
9267 include/sys/config.h.
9268 (impure_data): Use __ATTRIBUTE_IMPURE_DATA__ for attributes.
9269 Change from 'inpure_data'.
9270 (_impure_ptr): Use __ATTRIBUTE_IMPURE_PTR__ for attributes. Use
9271 &impure_data, not &inpure_data.
9273 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): If PowerPC
9274 and and System V ABI, define so that _impure_ptr lives in the
9277 Sun Dec 22 23:33:05 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9279 * libc/include/sys/reent.h (__ATTRIBUTE_IMPURE_PTR__): Define as
9280 nothing if not defined.
9281 (_impure_ptr): Use __ATTRIBUTRE_IMPURE_PTR__, so a machine can set
9284 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__):
9286 Wed Dec 18 10:12:04 1996 Jeffrey A Law (law@cygnus.com)
9288 * libc/sys/sysmec/crt0.S: Fix mn10200 stuff.
9289 * libc/sys/sysmec/trap.s: Handle mn10200 too.
9290 * libc/machine/mn10200/setjmp.S: Fix mn10200 stuff.
9292 Mon Dec 16 10:05:36 1996 Jeffrey A Law (law@cygnus.com)
9294 * libc/sys/sysmec/crt0.S: Handle mn10200 too.
9296 Fri Dec 13 11:05:20 1996 Jeremy Allison <jra@cygnus.com>
9298 * libc/include/sys/errno.h: Added net errno's.
9300 Wed Dec 11 16:24:25 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9302 * libc/misc/ffs.c: New file to support ffs function for GCC test
9303 gcc.c-torture/execute/960909-1.c.
9305 * libc/misc/Makefile.in ({O,CHEWOUT_}FILES): Add ffs.
9307 Sat Dec 7 10:12:37 1996 Jeffrey A Law (law@cygnus.com)
9309 * libc/sys/sysmec/crt0.S: Handle underscore prefix.
9310 * libc/sys/sysmec/trap.S: Likewise.
9312 Fri Dec 6 15:08:49 1996 Jim Wilson <wilson@cygnus.com>
9314 * configure.in (mips*vr4300*-*-*): Delete use of sys/vr4300.
9315 * libc/sys/vr4300/{Makefile.in,crt0.S,syscalls.c}: Delete.
9317 Wed Dec 4 16:25:27 1996 Jeffrey A Law (law@cygnus.com)
9319 * libc/sys/sysmec/signal.c: Dummy file.
9320 * libc/sys/sysmec/Makefile.in: Build it.
9322 Wed Nov 27 13:10:18 1996 Ian Lance Taylor <ian@cygnus.com>
9324 * libc/machine/mips/machine/regdef.h: Define pc as $pc for
9327 Mon Nov 25 09:58:28 1996 Jeffrey A Law (law@cygnus.com)
9329 * libc/sys/sysmec/{crt0.S,trap0.S}: Actually try to implement
9330 c-startup and simulator traps.
9333 * libc/sys/sysmec/crt0.S: Remove bogus '_' symbol prefixing
9334 * libc/sys/sysmec/trap0.S: Likewise.
9336 Sat Nov 23 09:01:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9338 * libc/stdlib/mallocr.c (ROUND_TO): If SMALL_MEMORY, set to 0x7 to
9339 round to double word alignment.
9340 (_morecore_r): Combine rounding up pointers to both ROUND_TO and 8
9343 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Define if d10v.
9345 * libc/sys/d10v/syscalls.c (_sbrk): Add better checks for running
9348 Mon Nov 18 13:08:26 1996 Jeffrey A Law (law@cygnus.com)
9350 * configure.in: Handle mn10200 and mn10300.
9351 * libc/include/machine/{ieeefp.h,setjmp.h}: Likewise.
9352 * libc/include/sys/config.h: Likewise.
9353 * libc/sys/sysmec: New directory for mec stuff.
9354 * libc/machine/mn10300: New directory for mn10300 stuff.
9355 * libc/machine/mn10200: Similarly for mn10200 stuff.
9357 Fri Nov 15 16:41:41 1996 Doug Evans <dje@canuck.cygnus.com>
9359 * libc/sys/arm/crt0.S: Use .text, not .section .text.
9360 * libc/sys/arm/syscalls.c: Rewrite to set errno properly.
9362 * libc/include/sys/types.h (_ST_INT32): New macro, local to file.
9363 (nlink_t): Change type from unsigned int to unsigned short.
9364 (mode_t): Ensure size is 32 bits even if int is 16.
9365 * libc/include/sys/stat.h (st_nlink): Change type to nlink_t.
9366 (st_spare[123]): Change type from int to long.
9368 Fri Nov 15 11:41:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9370 * libc/sys/d10v/syscalls.c (_sbrk): Align initial heap_end to 8
9373 * configure.in (d10v*): Define SMALL_MEMORY.
9375 Mon Nov 11 10:30:44 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9377 * configure.in (powerpc*-{eabi,elf,linux,rtem,sysv,solaris}*): Add
9378 -mrelocatable-lib and -mno-eabi flags.
9380 Mon Nov 11 09:01:39 1996 Jeffrey A Law (law@cygnus.com)
9382 * libc/machine/h8300/memcpy.S: Fix comments to reflect reality.
9383 Fix handling of mis-aligned source operand when both the
9384 destination & length are properly aligned.
9386 Wed Oct 30 09:41:11 1996 Jeffrey A Law (law@cygnus.com)
9388 * libc/sys/sysnecv850/Makefile.in (OFILES): Add
9389 times.o, time.o and gettime.o
9390 * libc/sys/sysnecv850/{time.c, times.c, gettime.c}: New files.
9391 * libc/sys/sysnecv850/sys/syscall.h: Add SYS_times and
9394 Tue Oct 29 13:40:09 1996 Jeffrey A Law (law@cygnus.com)
9396 * libc/sys/sysnecv850/Makefile.in (OFILES): Add access.o
9397 * libc/sys/sysnecv850/access.c: New file.
9399 Mon Oct 21 19:47:02 1996 Ian Lance Taylor <ian@cygnus.com>
9401 * libc/sys/vr4300/Makefile.in (clean): Remove $(OFILES).
9403 * libc/stdlib/mprec.h (word0, word1): Use __uint32_t, not unsigned
9406 Mon Oct 21 14:43:07 1996 Jeffrey A Law (law@cygnus.com)
9408 * libc/sys/sysnecv850/crt0.S: Initialize ep and gp registers.
9410 Thu Oct 17 11:47:16 1996 Doug Evans <dje@seba.cygnus.com>
9412 * libc/include/machine/{ieeefp.h,setjmp.h}: Add m32r support.
9413 * libc/include/sys/config.h: Add m32r support.
9415 Wed Oct 16 23:08:05 1996 Jeffrey A Law (law@cygnus.com)
9417 * libc/sys/sysnecv850/v850.ld: Remove. It doesn't belong
9420 Wed Oct 16 21:18:07 1996 Mark Alexander <marka@cygnus.com>
9422 * libc/include/machine/setjmp.h: Add D10v support.
9424 Tue Oct 15 22:28:26 1996 Jeffrey A Law (law@cygnus.com)
9426 * configure.in: Configure the "libc/syscalls" directory for
9429 * libc/sys/sysnecv850/{close.c, execve.c, fork.c}: Add missing '_'.
9430 * libc/sys/sysnecv850/{fstat.c, getpid.c, kill.c}: Likewise.
9431 * libc/sys/sysnecv850/{lseek.c, open.c, read.c}: Likewise.
9432 * libc/sys/sysnecv850/{sbrk.c, stat.c, unlink.c}: Likewise.
9433 * libc/sys/sysnecv850/{wait.c, write.c}: Likewise.
9435 Tue Oct 15 16:24:39 1996 Stu Grossman (grossman@critters.cygnus.com)
9437 * libc/sys/sysnecv850/crt0.S (start): Allocate spill space on
9438 stack for args for main and other routines. Zero out args for
9441 * libc/sys/sysnecv850/v850.ld: New. Linker script to layout memory
9444 Tue Oct 15 11:51:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9446 * libc/stdio/findfp.c (std): Remove extraneous ';' after
9449 * libc/sys/d10v/sys/syscall.h (SYS_kill): Add.
9451 * libc/sys/d10v/{syscalls.c,trap.S} (_kill,_getpid): Make these
9452 real system calls now.
9454 * libc/stdio/setvbuf (setvbuf): Cast pointers to _POINTER_INT
9455 before casting them to int.
9456 * libc/stdio/tmpnam.c (_tempnam_r): Ditto.
9458 * libc/stdlib/mallocr.c (_morecore_r): Use _POINTER_INT when
9460 * libc/string/memset.c (memset): Ditto.
9462 * libc/stdio/vfscanf.c (__svfscanf): When converting to pointer,
9463 first convert ints to _POINTER_INT to eliminate GCC warning.
9465 * libc/stdio/vfprintf.c (_vfprintf_r): Use _POINTER_INT when
9468 * libm/math/ef_scalb.c (__ieee754_scalbf): Cut down range to 32000
9469 from 65000 if ints are only 16 bits.
9471 * libm/math/sf_scalbn.c (scalbnf): Cut down overflow test to 30000
9472 from 50000 if ints are only 16 bits.
9474 * libc/include/sys/config.h (_POINTER_INT): New macro, to give an
9475 int type that is the same size as a pointer.
9477 * libc/misc/dprintf.c (__dprintf): Use _POINTER_INT when
9479 (get_number): Explicitly cast number to long before shifting by 16
9480 or 24, in case ints are short.
9482 * libc/include/sys/config.h (_POINTER_INT): Define as short.
9484 Wed Oct 9 16:54:32 1996 Jeremy Allison <jra@cygnus.com>
9486 * libc/string.h: Added ffs, removed swab.
9487 * libc/sys/errno.h: Added EOPNOTSUPP.
9488 * libc/sys/unistd.h: Added swab.
9490 Thu Oct 3 17:08:50 1996 Jeremy Allison <jra@cygnus.com>
9492 * libc/include/sys/stat.h: Added fchmod.
9493 * libc/include/sys/unistd.h: Added fsync.
9495 Tue Oct 1 17:34:08 1996 Jeremy Allison <jra@cygnus.com>
9497 * libc/include/sys/errno.h: Added defines for EPFNOSUPPORT (96)
9498 and ECONNRESET (104) for cygwin32.
9500 Tue Oct 1 16:24:05 1996 Gavin Koch <gavin@cygnus.com>
9502 * libc/sys/sysnecv850/_exit.c: added _do_dtors to
9503 do the static destructors.
9505 Mon Sep 30 15:59:05 1996 Stu Grossman (grossman@critters.cygnus.com)
9507 * libc/sys/sysnecv850/trap.S: Change I/O to use trap 31.
9509 Mon Sep 30 12:02:50 1996 Doug Evans <dje@canuck.cygnus.com>
9511 * libc/machine/m32r/{Makefile.in,setjmp.S}: New files.
9512 * configure.in: Recognize m32r-*-*.
9514 Mon Sep 30 00:34:41 1996 James G. Smith <jsmith@cygnus.co.uk>
9516 * libc/sys/arm/trap.S (__rt_stkovf_split_big,
9517 __rt_stkovf_split_small): Added default software stack overflow
9518 handlers, which just call SWI_Exit.
9519 * libc/sys/arm/crt0.S (_mainCRTStartup): Simple software stack
9520 limit initialisation.
9522 Fri Sep 27 13:08:03 1996 Mark Alexander <marka@cygnus.com>
9524 * libc/sys/d10v/{trap.S,sys/syscall.h}: Add time() function.
9526 Fri Sep 27 12:32:00 1996 Jeremy Allison <jra@cygnus.com>
9528 * libc/include/sys/types.h: Added ssize_t definition.
9530 Wed Sep 25 14:52:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9532 * libc/machine/d10v/setjmp.S: Use ';' for comments.
9533 * libc/sys/d10v/{crt0.S,trap.S}: Ditto.
9535 * libc/machine/d10v/setjmp.S (longjmp): Use exef0t || instead of
9536 branch around a single ldi instruction.
9538 * libc/sys/d10v/crt0.S (_start): Use auto-increment to zero bss.
9539 Call exit, instead of just issuing a stop instruction.
9541 Sun Sep 22 17:26:55 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9543 * libc/sys/d10v/{trap.S,syscalls.c}: Add -mint32 support.
9545 Fri Sep 20 13:23:12 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9547 * libc/stdlib/mprec.h: Explicitly declare all large constants as
9548 longs, and then cast them to __uint32_t.
9550 * libc/include/sys/config.h: Protect against multiple inclusions.
9552 Tue Sep 17 13:10:33 1996 Mark Alexander <marka@cygnus.com>
9554 * configure.in (d10v*): Set syscall_dir.
9556 Sun Sep 15 10:41:59 1996 Mark Alexander <marka@cygnus.com>
9558 * libc/sys/d10v/crt0.S: Set stack pointer.
9560 Thu Sep 12 13:02:38 1996 Mark Alexander <marka@cygnus.com>
9562 * libc/sys/d10v/{trap.S, syscalls.c}: Rewrite most system calls
9563 in assembly for efficiency. Change calling convention to allow
9564 long ints to be returned.
9566 Wed Sep 11 10:28:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9568 * libc/machine/v850/Makefile.in (setjmp.o): Fix dependency.
9570 Thu Sep 5 19:23:06 1996 Doug Evans <dje@canuck.cygnus.com>
9572 * libc/posix/execvp.c (execvp): Don't search PATH if file has '/'.
9573 Handle empty entries in $PATH.
9575 Tue Sep 03 18:15:02 1996 Mark Alexander <marka@cygnus.com>
9577 * libc/machine/d10v/setjmp.S: Make it really work.
9579 Tue Sep 3 12:16:26 1996 Ian Lance Taylor <ian@cygnus.com>
9581 * libc/sys/sh/crt0.S: If __ELF__, use ELF section attributes for
9584 Tue Sep 3 10:08:45 1996 Jeffrey A Law (law@cygnus.com)
9586 * sys/sysnecv850/sys/file.h: Remove.
9587 * sys/sysnecv850/sys/syscall.h: New file.
9588 * sys/sysnecv850/{misc.c,syscalls.c,malloc.c}: Deleted.
9589 * sys/sysnecv850/{chmod.c, chown.c, close.c, creat.c} New files.
9590 * sys/sysnecv850/{execv.c, execve.c, fork.c, fstat.c} New files.
9591 * sys/sysnecv850/{getpid.c, isatty.c, kill.c, lseek.c} New files.
9592 * sys/sysnecv850/{open.c, pipe.c, raise.c, read.c} New files.
9593 * sys/sysnecv850/{stat.c, unlink.c, utime.c, wait.c} New files.
9594 * sys/sysnec850/trap.S: New file.
9595 * sys/sysnecv850/{_exit.c, write.c}: Use new TRAP0 mechanism for
9597 * sys/sysnecv850/crt0.S: Use cmp/bl, not tst/bz.
9598 * sys/sysnec850/sbrk.c: New version.
9600 Sun Sep 1 20:08:27 1996 Jeffrey A Law (law@cygnus.com)
9602 * sys/sysnecv850/crt0.S: Fix order of comparison args. Loop
9603 as long as r6 is less than r7.
9605 Sun Sep 1 13:54:19 1996 Ian Lance Taylor <ian@cygnus.com>
9607 * Makefile.in (mostlyclean): Separate from clean target. Don't
9608 remove *.a or targ-include.
9609 * libc/machine/sparc/Makefile.in (mostlyclean): New target.
9611 Sun Sep 1 11:35:26 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9613 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Define for
9615 (__SMALL_BITFIELDS): Ditto.
9617 * libc/include/sys/config.h (_DOUBLE_IS_32BITS): Define for d10v.
9619 Sat Aug 31 16:42:36 1996 Jeffrey A Law (law@cygnus.com)
9621 * libc/sys/sysnecv850/misc.c (raise, getpid, kill): Remove '_'
9624 * libc/sys/sysnecv850/sbrk.c (sbrk): Remove '_' prefix.
9625 * libc/sys/sysnecv850/syscalls.c (read, lseek, close): Likewise.
9626 * libc/sys/sysnecv850/syscalls.c (fstat, open, close): Likewise.
9627 * libc/sys/sysnecv850/write.c (write): Likewise.
9629 * libc/sys/sysnecv850/crt0.S: Don't try to zero out an empty
9632 Fri Aug 30 11:18:45 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9634 * libc/include/sys/config.h: Define INT_MAX, UINT_MAX
9635 appropriately for D10V, depending on -mint16/-mint32.
9637 Thu Aug 29 16:09:37 1996 Mark Alexander <marka@cygnus.com>
9639 * configure.in: Add cases for D10V.
9641 Thu Aug 29 17:03:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9643 * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
9645 Wed Aug 28 21:05:52 1996 Jeffrey A Law (law@cygnus.com)
9647 * libc/include/machine/ieeefp.h: Fix typo.
9649 Wed Aug 28 19:47:55 1996 Mark Alexander <marka@cygnus.com>
9651 * libc/sys/d10v: New directory for D10V stuff.
9652 * libc/include/machine/ieeefp.h: Add D10V defines.
9654 Mon Aug 26 13:34:58 1996 Doug Evans <dje@canuck.cygnus.com>
9656 * libc/include/sys/errno.h: Add winsup/include/sys/errno.h values:
9657 ELOOP, ENOBUFS, EAFNOSUPPORT, EPROTOTYPE, ENOTSOCK, ENOPROTOOPT,
9658 ESHUTDOWN, ECONNREFUSED, EADDRINUSE, ECONNABORTED, EWOULDBLOCK.
9659 * libc/string/strerror.c (strerror): Add them.
9661 Thu Aug 22 16:38:19 1996 Jeffrey A Law (law@cygnus.com)
9663 * libc/sys/sysnecv850: New directory for v850 stuff.
9665 * libc/machine/v850: New directory for v850 stuff.
9666 * libc/machine/v850/setjmp.S: setjmp/longjmp support.
9668 * configure.in: Add support for the v850.
9670 * libc/include/machine/ieeefp.h: Add v850 defines.
9671 * libc/include/machine/setjmp.h: Likewise.
9672 * libc/include/sys/config.h: Add v850 defines.
9674 Sat Aug 17 04:06:36 1996 Geoffrey Noer <noer@cygnus.com>
9676 * libc/include/machine/ieeefp.h
9677 * libc/include/machine/setjmp.h
9678 * libc/include/sys/fcntl.h
9679 * libc/include/sys/signal.h
9680 * libc/include/sys/types.h
9681 * libc/stdlib/system.c:
9682 Fix preprocessor defines to match new scheme (_WIN32 for WIN32
9683 API availability, __CYGWIN32__ for cygwin32 environment specific).
9685 Thu Aug 15 17:09:21 1996 Geoffrey Noer <noer@cygnus.com>
9687 * libc/include/stdlib.h: add multibyte character functions. Add
9688 __eprintf for assert.
9690 Thu Aug 15 11:15:40 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9692 * libc/stdlib/malloc.h (MALLOC_ALIGNMENT): Use either pointer
9693 arithmetic or __alignof__ to properly get the alignment, instead
9694 of hardwiring it to 4.
9696 Wed Aug 14 23:43:28 1996 Geoffrey Noer <noer@cygnus.com>
9698 * libc/stdio/fseek.c: add fflush call to adjust seek offset
9699 on append stream (fix from NetBSD sources), adjust curoff offset
9700 for ungetc's benefit.
9701 * libc/stdio/ftell.c: adjust curoff offset for ungetc's benefit.
9702 * libc/stdio/rewind.c: replace code with up to date NetBSD
9703 code to undo hacks made to work around above problem of not
9704 having fflush call mentioned above
9706 Fri Aug 2 18:28:07 1996 J.T. Conklin <jtc@rtl.cygnus.com>
9708 * libc/reent/{closer.c, execr.c, fstatr.c, linkr.c, lseekr.c,
9709 openr.c, readr.c, sbrkr.c, signalr.c, statr.c, timer.c, writer.c}:
9710 Partially revert last changes. The thread specific errno is set
9711 iff if the underlying syscall fails and the global errno is not
9714 Fri Jul 19 11:41:52 1996 J.T. Conklin <jtc@rtl.cygnus.com>
9716 * libc/reent/filer.c: Removed files, all functions have split out
9717 into their own files.
9718 * libc/reent/{closer.c, lseekr.c, openr.c, readr.c, writer.c}:
9719 New files containing functions formally in filer.c
9720 * libc/reent/Makefile.in: Updated for above change.
9722 * libc/reent/execr.c (_fork_r, _wait_r): Set errno if underlying
9723 syscall fails, not if errno is changed.
9724 * libc/reent/filer.c (_open_r, _close_r, _lseek_r, _read_r,
9725 _write_r): Likewise.
9726 * libc/reent/fstatr.c (_fstat_r): Likewise.
9727 * libc/reent/linkr.c (_link_r, _unlink_r): Likewise.
9728 * libc/reent/sbrkr.c (_sbrk_r): Likewise.
9729 * libc/reent/signalr.c (_kill_r): Likewise.
9730 * libc/reent/statr.c (_stat_r): Likewise.
9731 * libc/reent/timer.c (_gettimeofday_r): Likewise.
9733 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, sbrkr.c,
9734 signalr.c, statr.c, timer.c} (errno): declare extern rather
9737 * libc/stdio/vfprintf.c (__sbprintf): Use the VFPRINTF macro
9738 instead of calling vfprintf so that i*printf will not require
9739 floating point support code.
9741 Mon Jul 15 16:50:59 1996 Doug Evans <dje@canuck.cygnus.com>
9743 * libc/posix/execvp.c (execvp): Use posix_path_list_p to determine
9745 * libc/include/sys/unistd.h (_SC_PATH_RULES): Delete.
9746 (_PATH_RULES_{UNKNOWN,WIN32,POSIX}): Delete.
9748 Thu Jul 11 14:34:14 1996 Geoffrey Noer <noer@cygnus.com>
9750 * libc/include/signal.h: _sig_func_ptr function takes an int
9751 * libc/include/sys/signal.h: sa_handler function takes an int
9753 Tue Jul 9 21:22:32 1996 Jeffrey A Law (law@cygnus.com)
9755 * libc/include/machine/ieeefp.h: Simplify H8/S support.
9756 * libc/include/sys/config.h: Add missing H8/S conditional.
9758 Sun Jun 30 12:05:46 1996 Doug Evans <dje@canuck.cygnus.com>
9760 * libc/include/sys/unistd.h (MAXPATHLEN): Add cygwin32 value.
9762 Wed Jun 26 09:57:54 1996 Jeffrey A Law (law@cygnus.com)
9764 * libc/include/machine/setjmp.h: Handle H8/S.
9765 * libc/include/machine/ieeefp.h: Likewise.
9766 * libc/include/sys/config.h: Likewise.
9767 * libc/machine/h8300/{defines.h, memcpy.S, memset.S}: Likewise.
9768 * libc/machine/h8300/{reg_memcpy.S, reg_memset.S}: Likewise.
9769 * libc/machine/h8300/{strcmp.S, setjmp.S}: Likewise.
9770 * libc/sys/h8300hms/crt0.S: Likewise.
9772 Tue Jun 25 23:15:45 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
9774 * Makefile.in (datadir): Set to $(prefix)/share.
9775 (oldincludedir, docdir): Removed.
9776 * doc/Makefile.in (datadir): Set to $(prefix)/share.
9777 (oldincludedir, docdir): Removed.
9778 * libc/Makefile.in (datadir): Set to $(prefix)/share.
9779 (oldincludedir, docdir): Removed.
9780 * libm/Makefile.in (datadir): Set to $(prefix)/share.
9781 (oldincludedir, docdir): Removed.
9783 Fri Jun 21 19:24:41 1996 Ian Lance Taylor <ian@cygnus.com>
9785 * libc/include/sys/reent.h (_REENT_INIT): Update for change to
9788 Wed Jun 19 14:00:09 1996 Doug Evans <dje@canuck.cygnus.com>
9790 * libc/posix/execvp.c: Delete _WIN32 support. For __CYGWIN32__
9791 fetch current path rules with sysconf and handler posix/win32
9794 * libc/include/sys/unistd.h (_PATH_RULES{,_POSIX,_WIN32}): Define.
9796 * libc/include/process.h: Prepend '_' to P_{WAIT,NOWAIT,OVERLAY}.
9797 (WAIT_CHILD): Always define.
9799 Sat Jun 15 17:50:42 1996 Ian Lance Taylor <ian@cygnus.com>
9801 * libc/stdlib/eprintf.c: New file.
9802 * libc/stdlib/Makefile.in (OFILES): Add eprintf.o.
9803 (eprintf.o): New target.
9805 Thu Jun 13 16:44:32 1996 Doug Evans <dje@canuck.cygnus.com>
9807 * libc/sys/cygwin32/crt0.c (__cygwin_crt0_bp): New global.
9808 (mainCRTStartup): Do int3 if __cygwin_crt0_bp non-zero.
9810 Thu Jun 13 17:45:17 1996 Mike Meissner <meissner@rtl.cygnus.com>
9812 * libc/include/machine/ieeefp.h: Add support for AIX and Windows
9813 NT in PowerPC endianess cases.
9815 Tue Jun 11 12:26:28 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9817 * libc/include/machine/ieeefp.h: Clean up PowerPC endianess.
9819 Thu Jun 6 11:34:20 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9821 * libc/string/strtok.c: Fix doc typo.
9823 Mon Jun 3 11:30:00 1996 J.T. Conklin <jtc@rtl.cygnus.com>
9825 * libc/include/sys/reent.h (struct _reent): Removed _asctime,
9826 _next, _scanpoint, _signgam fields.
9828 * libc/include/stdlib.h (rand_r): Added new declaration.
9829 (_rand_r, _srand_r): Removed declarations.
9830 * libc/stdlib/rand.c (_rand_r, _srand_r): Removed, these functions
9831 have been made obsolete by rand_r.
9832 * libc/stdlib/rand_r.c: New file, rand_r function as specified
9835 * libc/string/strtok.c: Update documentation to describe
9838 Sat Jun 1 23:50:39 1996 Michael Meissner <meissner@cygnus.com>
9840 * libc/include/sys/stat.h (stat structure): Use the expanded stat
9841 structure on Solaris, and PowerPC systems even though __svr4__ is
9844 Tue May 28 13:02:42 1996 Doug Evans <dje@canuck.cygnus.com>
9846 * libc/sys/go32/sys/errno.h (ENOSYS,ESPIPE): Keep values <= 255.
9848 Fri May 17 10:34:44 1996 Ian Lance Taylor <ian@cygnus.com>
9850 * host/any: Use ../.. rather than .. to get to the main build
9851 directory. This matches the current layout of the build
9854 Wed May 15 15:52:27 1996 Jeffrey A Law (law@cygnus.com)
9856 * libc/machine/h8300/__main.S: Delete. No longer needed.
9857 * libc/machine/h8300/Makefile.in: Corresponding changes.
9858 * libc/sys/h8300hms/crt1.c: New file.
9859 * libc/sys/h8300hms/Makefile.in: Corresponding changes.
9860 * libc/sys/h8300hms/crt0.s: Call __main.
9862 * libc/sys/h8300hms/crt0.S: Use temporary label names
9865 Mon May 13 14:26:30 1996 Doug Evans <dje@canuck.cygnus.com>
9867 * libc/stdio/fopen.c (_fopen_r): Fix arguments to fseek.
9869 Fri May 3 16:38:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9871 * libc/reent/impure.c (_impure_ptr): Force the impure pointer into
9872 .sdata on the PowerPC so that we can link newlib with code
9873 compiled with -msdata.
9875 Mon Apr 29 21:38:02 1996 Doug Evans <dje@canuck.cygnus.com>
9877 * libc/sys/arm/syscalls.c (_sbrk): Rename end to __end__.
9879 Thu Apr 25 06:38:59 1996 Michael Meissner <meissner@cygnus.com>
9881 * libc/sys/cygwin32/crt0.c (mainCRTStartup): On PowerPC, set the
9882 exception handler to __cygwin_exception_handler.
9884 Tue Apr 23 15:14:20 1996 Ian Lance Taylor <ian@cygnus.com>
9886 * libc/include/machine/setjmp.h: Check _AM29K, not ___AM29K__.
9888 Sun Apr 21 12:11:51 1996 Doug Evans <dje@blues.cygnus.com>
9890 * libm/math/Makefile.in ({w,wf}_cabs.o,{w,wf}_drem.o): Add rule for
9892 * libc/stdlib/Makefile.in (atoff.o,atol.o,mblen.o,mbstowcs.o,
9893 wcstombs.o): Likewise.
9895 Thu Apr 18 12:37:01 1996 Doug Evans <dje@canuck.cygnus.com>
9897 * libc/stdlib/environ.c (initial_env): New static local.
9898 (environ): Point to `initial_env'.
9900 * libc/include/machine/setjmp.h: Clean up.
9901 (__H8300H__,__PPC__): Define _JBTYPE.
9902 (__arm__): Provide entry for.
9903 (sigjmp_buf): Delete.
9904 (jmp_buf): Use _JBTYPE if defined, otherwise int.
9906 Thu Apr 18 12:10:52 1996 Jeffrey A Law (law@cygnus.com)
9908 * libc/machine/h8300/strcmp.S: Sign extend the result to
9909 32bits so we don't lose with -mint32.
9911 Sun Apr 14 19:59:52 1996 Doug Evans <dje@canuck.cygnus.com>
9913 * libc/sys/go32/sys/errno.h: New file.
9914 * libc/sys/go32/Makefile.in (stat.o): Depend on stat.c.
9915 * libc/sys/go32/gerrno.s (syscall_error): Call __errno to get
9916 errno's address (make compatible with rest of newlib).
9917 * libc/sys/go32/stat.c (fixinode): Set errno upon failure.
9918 * libc/string/strerror.c (strerror): Surround each case with #ifdef.
9920 Thu Mar 28 13:44:42 1996 Doug Evans <dje@canuck.cygnus.com>
9922 * libc/machine/sparc/{scan.c,shuffle.c}: New files.
9923 * libc/machine/sparc/Makefile.in: Build them.
9924 * libc/machine/sparc/machine/sparclet.h: New file.
9926 Mon Mar 25 15:29:14 1996 J.T. Conklin <jtc@rtl.cygnus.com>
9928 * libc/machine/sh/asm.h: New file.
9929 * libc/machine/sh/setjmp.S: Only save clobbered registers. Added
9930 support for SH3e's FP registers. Use asm.h.
9932 Mon Mar 25 11:59:23 1996 Jeffrey A Law (law@cygnus.com)
9934 * libc/stdio/vfprintf.c (cvt): Accept a reent structure
9935 as first argument. Call _dtoa_r and pass the reent structure
9936 instead of calling __dtoa.
9938 Fri Mar 22 13:59:37 1996 Jeffrey A Law (law@cygnus.com)
9940 * libc/include/sys/config.h: Define DOUBLE_IS_32BITS for
9941 the h8300, h8500, and others. Add comments for some rather
9944 Thu Mar 14 18:04:43 1996 Ian Lance Taylor <ian@cygnus.com>
9946 * Makefile.in (check): Check that testsuite exists before cd.
9948 Tue Mar 12 11:46:47 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9950 * libc/include/string.h (strsep): Correct prototype.
9952 Mon Mar 11 09:55:19 1996 Doug Evans <dje@charmed.cygnus.com>
9954 * libc/sys/h8300/_exit.c (_exit,__exit): Set r0 to 0 before `sleep'.
9955 * libc/sys/h8300/misc.c (_kill): Set r0 to indicate abort and `sleep'.
9956 * libc/sys/h8300/crt0.S (_start): Call exit instead of `sleep'.
9958 Wed Mar 6 11:51:55 1996 Doug Evans <dje@charmed.cygnus.com>
9960 * libc/posix/{creat.c,isatty.c}: New files.
9961 * libc/posix/Makefile.in (OFILES): Add creat.o, isatty.o.
9963 * libc/sys/sparc64/crt0.S (environ): Delete.
9964 (.LHaveBias): Renamed from HaveBias.
9966 Thu Feb 15 10:48:37 1996 Doug Evans <dje@charmed.cygnus.com>
9968 * libc/stdlib/mallocr.c (etext): Move decl inside ifdef WARN_VLIMIT.
9969 (_morecore_r): Delete SBRK_IS_ALLOC support.
9971 Tue Feb 13 09:44:09 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9973 * libc/sys/cygwin32/Makefile.in (lib.a): Make lib.a with a dummy
9974 module rather than touch, so we don't get warning messages when
9975 all of the libraries are combined into libc.a.
9977 Tue Feb 13 06:32:07 1996 Doug Evans <dje@charmed.cygnus.com>
9979 * libc/sys/sparclite/{Makefile.in,crt0.s}: Deleted.
9980 crt0.s replaced by version in libgloss.
9982 Mon Feb 5 15:17:51 1996 J.T. Conklin <jtc@rtl.cygnus.com>
9984 * libc/reent/Makefile.in (OFILES): Add impure.o.
9985 * libc/reent/impure.o: New file, define initial reentrancy struct.
9986 * libc/reent/reent.c: Remove above definition.
9988 * libm/math/sf_asinh.c: Fix typo.
9990 * Makefile.in (MATHOBJS_IN_LIBC): Removed sr_ldexp.o and
9993 * libm/libm.texinfo: Change documentation to reflect changes
9994 in reentrancy model.
9995 * libm/math/w_gamma.c: Likewise.
9997 Wed Jan 31 18:49:45 1996 Steve Chamberlain <sac@slash.cygnus.com>
9999 * configure.in (*-*-cygwin32): New.
10000 (*-*-win32): Deleted.
10001 * libc/sys/win32 renamed libc/sys/cygwin32.
10003 Tue Jan 30 22:09:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10005 * libc/include/sys/file.h: New include file.
10007 Fri Jan 26 15:52:54 1996 Steve Chamberlain <sac@slash.cygnus.com>
10009 * libc/include/machine/setjmp.h: Increase size of PPC jmp_buf.
10011 Tue Jan 23 17:49:16 1996 Steve Chamberlain <sac@slash.cygnus.com>
10013 * libc/include/sys/wait.h (WIFSIGNALED): Fix.
10015 Tue Jan 16 09:28:10 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10017 * doc/makedoc.c (realloc): Declare at file scope.
10018 (catchar): Not here.
10020 Wed Dec 27 15:45:23 1995 Doug Evans <dje@canuck.cygnus.com>
10022 * Makefile.in (VERSION): Update to 1.7.0.
10023 * {libc,libm}/Makefile.in (VERSION): Likewise.
10024 * configure.in: Minor clean up of multilib stuff.
10026 From David Johnson <davidj@ICSI.Berkeley.EDU>
10027 * {libc,libm}/Makefile.in (lib[cm].a): Delete library first.
10029 * libc/stdlib/environ.c: New file.
10030 * libc/stdlib/Makefile.in (OFILES): Build it.
10031 * libc/sys/h8500hms/crt0.c (environ): Deleted.
10032 * libc/sys/m88kbug/crt0.c (environ): Deleted.
10033 * libc/sys/z8ksim/crt0.c (environ): Deleted.
10034 * libc/sys/netware/environ.c: Deleted.
10036 Tue Dec 19 15:24:46 1995 Kim Knuttila <krk@cygnus.com>
10038 * configure.in (links): set sys_dir, posix_dir, syscall_dir
10040 Wed Dec 13 04:16:25 1995 Michael Meissner <meissner@wogglebug.tiac.net>
10042 * doc/makedoc.c (init_string_with_size,nextword): Move malloc
10043 declaration out to external scope and declare it PTR, not char *.
10045 Mon Dec 11 17:35:12 1995 steve chamberlain <sac@slash.cygnus.com>
10047 * libc/include/sys/unistd.h (getpagesize): New declaration.
10048 (_SC_PAGESIZE): New definition.
10049 * libc/include/time.h (CLK_TCK): Defined as CLOCKS_PER_SEC.
10050 * libc/configure.in (i[345]86-*-win32): Remove -DNO_FORK.
10052 Fri Dec 1 16:48:46 1995 James G. Smith <jsmith@cygnus.co.uk>
10054 * libc/sys/vr4300/syscalls.c (sbrk): Fixed memory
10055 addressing. System call returns size, not (last address + 1).
10057 Thu Nov 30 15:05:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10059 * libm/math/*.c: Removed _foo_r() reentrancy API.
10060 * libc/include/math.h: Removed _foo_r prototypes and macros.
10062 * libm/math/*.c: On systems with IEEE single precision "doubles"
10063 move foo() -> foof() wrapper code from the files that implement
10064 the standard IEEE double precision functions to the files that
10065 implement IEEE single precision functions. (ie. On those systems
10066 sin is moved from s_sin.c to sf_sin.c). There should eventually
10067 be use of a C extension (like gcc's alias attribute) so that the
10068 wrappers are not needed at all.
10070 * libc/sys/sysnec810/sbrk.c: Cast &end to char * to get around
10071 strict NEC V810 compiler.
10072 * libc/misc/dprintf.c (getnumber): Cast char * to unsigned char *
10075 Wed Nov 29 14:25:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10077 * libc/stdlib/strtol.c (_strtol_r): Replaced with implementation
10078 from NetBSD C library.
10079 * libc/stdlib/strtoul.c (_strtoul_r): Likewise.
10081 * libc/stdlib/assert.c (__assert): Renamed from __assertfail
10082 and adapted from implementation I wrote for NetBSD C library.
10083 The difference is __assert doesn't take a format argument,
10084 so that there won't be multiple copies of the same string
10085 constant in the executable if assertions are enabled in
10086 more than one source module.
10087 * libc/include/assert.h (assert): Changed to call __assert.
10089 Tue Nov 28 16:54:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10091 * libc/stdlib/strtod.c (_strtod_r): Changed to not assign to
10092 word1 on systems with 32 bit doubles.
10093 * libc/stdlib/qsort.c (qsort): Cast some void *'s to char *'s
10094 so that we can do arithmetic on them.
10095 * libc/misc/dprintf.c: Changed to support stdarg.h for ANSI
10098 Tue Nov 28 16:03:32 1995 Doug Evans <dje@canuck.cygnus.com>
10100 * libc/sys/arm/crt0.S: Zero bss.
10102 Fri Nov 24 16:09:23 1995 Doug Evans <dje@deneb.cygnus.com>
10104 * libc/include/unctrl.h: New file.
10105 * libc/misc/{Makefile.in,dprintf.c,unctrl.c,misc.tex}: New files.
10106 * configure.in (subdirs): Add libc/misc.
10107 * libc/Makefile.in (SUBDIRS): Add misc.
10108 (SUBLIBS): Add misc/lib.a.
10110 * libc/include/sys/reent.h (struct _reent): Make __sf last member.
10112 Wed Nov 22 19:49:47 1995 Doug Evans <dje@deneb.cygnus.com>
10114 * libc/stdio/vfprintf.c (__sbprintf): Init fake._data.
10115 (_vfprintf_r): Call CHECK_INIT.
10117 Tue Nov 14 02:52:12 1995 Doug Evans <dje@canuck.cygnus.com>
10119 * Makefile.in (MULTITOP): Delete.
10120 (MULTISRCTOP, MULTIBUILDTOP): Add.
10121 * configure.in: Delete call to cfg-ml-com.in. Call config-ml.in
10122 instead of cfg-ml-pos.in.
10124 Wed Nov 8 01:24:08 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
10126 * libc/sys/vr4300/syscalls.c: Added clean version of sbrk().
10127 * libc/sys/vr4300/crt0.S: Cleaned up. Added check for FPU
10130 Thu Nov 2 22:25:06 1995 Michael Meissner <meissner@tiktok.cygnus.com>
10132 * libc/string/strtok.c: Include string.h to pick up strtok_r
10135 Wed Nov 1 18:54:11 1995 Jason Molenda (crash@phydeaux.cygnus.com)
10137 * libc/string/strtok.c: include <_ansi.h>.
10138 * libc/time/asctime_r.c: `reresult' -> `result'.
10140 Wed Nov 1 14:35:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10142 * libc/time/{ctime.c, gmtime.c, lcltime.c}: Wrap functions
10143 in #ifndef _REENT_ONLY ... #endif conditional.
10145 * libc/include/string.h (_strtok_r): Remove declaration.
10146 * libc/include/time.h (_asctime_r): Remove declaration.
10147 * libc/string/strtok.c (_strtok_r): Removed.
10148 * libc/time/asctime.c (_asctime_r): Removed.
10150 * libc/string/Makefile.in (OFILES): Add new object.
10151 * libc/string/strtok_r.c: New file. strtok_r function as
10152 specified by POSIX.1c, adapted from strtok implementation
10153 from NetBSD C library.
10154 * libc/string/strtok.c (strtok): Reimplemented in terms of
10157 * libc/time/Makefile.in (OFILES): Add new objects.
10158 * libc/time/{asctime_r.c, ctime_r.c, gmtime_r.c, lcltime_r.c}:
10159 New files, reentrant time functions specified by POSIX.1c.
10160 * libc/time/{asctime.c, ctime.c, gmtime.c, lcltime.c}: Non-
10161 reentrant time functions re-written in terms of reentrant
10163 * libc/time/lcltime.c: Renamed from localtime.c
10165 * libc/include/time.h: Add prototypes for asctime_r, ctime_r,
10166 gmtime_r, and localtime_r.
10168 Sat Oct 28 14:34:31 1995 steve chamberlain <sac@slash.cygnus.com>
10170 * libc/sys/win32/crt0.c (mainCRTStartup): Call cygwin_crt0.
10171 * libc/include/sys/unistd.h (getlogin): Revert change of
10173 * libc/include/sys/signal.h (sigprocmask): Change prototype
10174 so it compiles with c++.
10176 Wed Oct 25 15:43:18 1995 Michael Meissner <meissner@cygnus.com>
10178 * libc/include/machine/setjmp.h (PowerPC _JBLEN): Consider it a
10179 PowerPC if __PPC__ is defined. Bump jump_buf length to 62 ints,
10180 to give some room in case we need to align the jmp_buf.
10182 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Rewrite to use
10183 the new ppc-asm.h include file the compiler provides to specify
10184 function prologue/epilogue. Eliminate saves of the xer and ctr
10185 registers, which are volatile. Before starting to save registers,
10186 align to 8 byte boundary.
10188 Mon Oct 23 11:20:51 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
10190 * libc/sys/vr4300/syscalls.c: Added empty kill() function,
10191 referenced by standard libraries.
10193 Thu Oct 19 21:39:47 1995 Fred Fish <fnf@cygnus.com>
10195 * libc/unix/Makefile.in, libc/string/Makefile.in,
10196 libc/stdio/Makefile.in, libc/reent/Makefile.in,
10197 libc/posix/Makefile.in:
10198 Remove tabs from otherwise empty line. Confuses some
10199 older non-GNU versions of "make".
10201 Thu Oct 19 16:32:17 1995 steve chamberlain <sac@slash.cygnus.com>
10203 * libc/sys/unistd.h (getlogin): Returns const char *.
10205 Wed Oct 18 12:57:50 1995 steve chamberlain <sac@slash.cygnus.com>
10207 * libc/include/fcntl.h (O_BINARY, O_TEXT): New.
10208 * libc/include/errno.h: Moved into and include...
10209 * libc/include/sys/errno.h: New file.
10210 * libc/include/sys/wait.h: New file.
10211 * libc/stdio/rename.c (_rename_r): Use _rename system call if available.
10212 * libc/sys/win32/*: Moved out.
10213 * libc/sys/win32/crt0.c: Rewritten to cope with shared library.
10214 * configure.in (i[345]86-*-win32): HAVE_RENAME
10216 Wed Oct 18 09:58:27 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
10218 * libc/unix/sigset.c (sigemptyset, sigaddset): Prefix #undef to
10219 avoid macro expansion for these two names.
10221 Tue Oct 17 08:45:33 1995 Doug Evans <dje@canuck.cygnus.com>
10223 * libc/machine/h8500/psi.S: r6 renamed to fp.
10225 Sun Oct 15 12:58:10 1995 Michael Meissner <meissner@wogglebug.tiac.net>
10227 * configure.in (powerpc*): No longer need to define
10228 NO_LONGLONG_POINTERS to supress warnings.
10230 Sat Oct 14 12:55:08 1995 Jim Wilson <wilson@chestnut.cygnus.com>
10232 * libc/reent/reent.c (_reclaim_reent): Call cleanup indirectly
10233 through PTR instead of directly.
10235 * libc/sys/sh/crt0.S: Clean up formatting. Delete unused
10236 non-standard constructor support.
10238 Thu Oct 12 11:39:42 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10240 * libc/stdlib/dtoa.c (_dtoa_r): Set result pointer to the
10241 address of the Bigint instead of the address of its _x field,
10242 as the size the result buffer was calculated accordingly.
10243 Fix from Jim Wilson <wilson@chestnut@cygnus.com>.
10245 * libc/stdlib/{div.c, ldiv.c}: Replaced with implementation
10246 from NetBSD C library. No longer special cases division by
10247 zero (which needs to be done by the application anyway), but
10248 it doesn't need to call abs() (or labs()) four times either.
10250 * libc/stdlib/qsort.c: Replaced with implementation from
10253 Tue Oct 10 14:01:10 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10255 * libc/stdio/vfprintf.c: Replaced with implementation from
10256 NetBSD C library (which is derived from the 4.4BSD C library).
10257 * libc/stdio/cvt.c: Removed.
10258 * libc/stdio/Makefile: Updated.
10260 Tue Oct 10 12:15:23 1995 steve chamberlain <sac@slash.cygnus.com>
10262 * libc/sys/win32/syscalls.c (rename): New.
10263 * libc/sys/win32/include/winkernel.h (MoveFileExA): New.
10265 Fri Oct 6 12:18:43 1995 Jim Wilson <wilson@chestnut.cygnus.com>
10267 * libc/machine/sh/Makefile.in (setjmp.o): Depend on setjmp.S.
10268 * libc/machine/sh/setjmp.S: Rename from setjmp.s.
10270 * libc/sys/sh/Makefile.in (OFILES, all): Delete setjmp.o.
10271 (setjmp.o): Delete rule to build setjmp.o.
10272 * libc/sys/sh/setjmp.S: Delete file.
10274 Fri Oct 6 11:19:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10276 * libc/stdlib/mprec.c (d2b): Added support for _DOUBLE_IS_32BITS.
10277 * libc/stdlib/mprec.h: Fixed constants used for IEEE single float
10278 format. Added #defines to map d2b, i2b, low0bits, lshift, mult,
10279 pow5mult and s2b to identifiers with leading underscores.
10280 * libc/stdlib/Makefile.in: Add mprec.h as a dependency to dtoa.o,
10281 ecvtbuf.o, mprec.o and strtod.o. Sort dependencies.
10283 Thu Oct 5 17:27:30 1995 steve chamberlain <sac@slash.cygnus.com>
10285 * libc/sys/posix/popen.c (sys/types.h): Include.
10287 Thu Oct 5 16:33:01 1995 Doug Evans <dje@canuck.cygnus.com>
10289 * libc/sys/win32/syscalls.h (fhandler): New struct.
10290 (__lookup_fhandler, __lookup_fhandler_hook): Declare.
10291 (__fhandler_normal): Declare.
10292 (hinfo): New member op_handlers.
10293 * libc/sys/win32/syscalls.c (__read): Don't validate fd.
10294 (__write): Likewise.
10295 (_read, _write, _open, _close, _lseek): Validate fd here.
10296 Move file type specific stuff to foo_normal.
10297 (read_normal, write_normal, open_normal, close_normal, lseek_normal):
10299 (__lookup_fhandler): New function.
10300 (__lookup_fhandler_hook, __fhandler_normal): New variables.
10302 From anders.blomdell@control.lth.se (Anders Blomdell)
10303 * libc/sys/win32/crt0.c (vfork_init): Unset __FD_TABLE__.
10304 Don't touch standard handles.
10305 * libc/sys/win32/spawn.c (_spawn): Use STARTF_USESTDHANDLES.
10306 (_execve): Only create __FD_TABLE__ if necessary.
10307 * libc/sys/win32/include/winkernel.h (STARTF_*): Define.
10309 Thu Oct 5 14:25:14 1995 steve chamberlain <sac@slash.cygnus.com>
10311 * libc/sys/win32/sys/termios.h (FLUSHO): New.
10312 * libc/sys/win32/include/win*.h: Moved a load of prototypes around.
10313 * libc/sys/win32/pipe.c (_fctnl): Ignore F_SETFL without errors.
10314 * libc/sys/win32/exception.c (ehandler3): set strace when a signal
10315 without a handler is received.
10316 * libc/sys/win32/Makefile.in: Remove --nodelete.
10317 * libc/sys/win32/resouce.c (gettimeofday): New.
10318 * libc/sys/win32/syscalls.c (path_to_real_path): New.
10319 * libc/sys/win32/syscalls.h (include/wincon.h): Don't include.
10321 Wed Oct 4 13:10:35 1995 Doug Evans <dje@canuck.cygnus.com>
10323 * libc/sys/win32/dirsearch.c (opendir): stat real path name.
10324 Don't append "/*" to search pattern if trailing '/' already there,
10326 * libc/sys/win32/spawn.c (_spawn): CreateProcess doesn't seem to
10327 like /'s, convert them to \'s. Handle //<drive>/ path names.
10328 Add space for quoted \'s in arg string. Print translated prog name
10329 and original prog name.
10330 (_execve): Handle parent doing exec a teensy bit better.
10331 * libc/sys/win32/syscalls.h (__path_to_real_path): Update prototype.
10332 * libc/sys/win32/syscalls.c (__path_to_real_path): Don't assume
10333 path needs conversion, handle both cases. Delete `const' from result.
10334 (hash_path_name): New function.
10336 (_stat): Likewise. Fill in more fields for directories.
10337 * libc/sys/win32/wait.c (_wait): Explicitly pass -1 to waitpid.
10338 (wait_for_any): Fix trace message.
10339 (waitpid): Explicitly test for intpid == 0.
10341 From anders.blomdell@control.lth.se (Anders Blomdell)
10342 * libc/sys/win32/spawn.c (__vfork_get_empty_entry): zero fill result
10343 so `next' is valid.
10345 Sat Sep 30 15:00:15 1995 Jason Molenda (crash@phyeaux.cygnus.com)
10347 * libc/sys/win32/spawn.c (_spawn): Make quoting rules more
10350 Sat Sep 30 10:25:57 1995 Jason Molenda (crash@phydeaux.cygnus.com)
10352 * libc/include/_ansi.h: set _HAVE_STDC if __STDC__ is defined
10353 at all, not just == 1.
10354 * libm/math/wf_acos.c (acosf): check for _HAVE_STDC, not __STDC__.
10356 Sat Sep 30 04:30:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
10358 * libc/sys/win32/include/winbase.h: include <wintypes.h> and <winnt.h>
10359 * libc/sys/win32/include/wintypes.h: include <winnt.h>
10360 * libc/sys/win32/include/winnt.h: avoid multiple inclusion of this
10363 Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
10365 * libc/sys/syscalls.c (getcwd): Fix off by one error.
10367 * libc/sys/signal.c (sleep): Fill it in.
10368 * libc/sys/termios.c (tcflush): Use PurgeComm
10369 (tcsetattr): Set some more of the bits.
10370 * libc/sys/include/winkernel.h: Add PurgeComm and Sleep.
10372 Fri Sep 29 04:33:53 1995 Doug Evans <dje@deneb.cygnus.com>
10374 * libc/sys/arm/crt0.S (fp): Initialize to 0.
10375 Conditionally include .idata$3 stuff ifdef __pe__.
10377 Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
10379 * libc/sys/win32/crt0.c (hmap_init): Call __init_hinfo.
10380 * libc/sys/win32/pipe.c (pipe): Ditto.
10381 * libc/sys/win32/syscalls.c (__read): Use new vtime and vmin fields.
10382 * libc/sys/win32/syscalls.h (hinfo): vtime, vmin are new.
10383 * libc/sys/win32/termios.c (tcsetattr): Init new fields.
10384 (tcgetattr): Contents are new.
10385 * libc/sys/win32/include/winkernel.h (DCB): New.
10386 (GetCommState, SetCommState): New.
10388 Thu Sep 28 16:29:09 1995 Doug Evans <dje@deneb.cygnus.com>
10390 * libc/sys/arm/crt0.S (_start): Define.
10392 Thu Sep 28 12:26:45 1995 steve chamberlain <sac@slash.cygnus.com>
10394 * libc/sys/arm/crt0.S: Move stack to top of RAM on PIE board.
10395 * libc/sys/arm/syscalls.c (_read, _write): Use the SWI properly.
10397 * libc/sys/win32/sysconf.c: New
10398 * libc/sys/win32/sys/winadvapi.h: New
10399 * libc/sys/win32/syscalls.h (hinfo): Added timeout_len, w_binary, r_binary.
10400 * libc/sys/win32/crt0.c (hmap_init): Initialize new fields.
10401 * libc/sys/win32/pipe.c (pipe): Ditto.
10402 * libc/sys/win32/signal.c (_raise): New.
10403 (_kill): Moved from spawn.c
10404 * libc/sys/win32/spawn.c (kill): Moved to signal.c
10405 * libc/sys/win32/syscalls.c (__read): Use new fields.
10407 * libc/sys/win32/termios.c (tcflush, tcsetattr, tcgetattr): Fill in.
10408 * libc/sys/win32/exceptions.c (__stack_trace): Keep going for longer.
10409 * libc/include/sys/unistd.h (rmdir): Takes const path.
10410 * libc/include/sys/stat.h (mkdir): Takes const path.
10411 * libc/include/sys/signal.h (SIGTTOU, SIGTTIN): New for win32.
10413 Thu Sep 28 10:11:27 1995 Doug Evans <dje@canuck.cygnus.com>
10415 * libc/sys/win32/spawn.c (_spawn): Fix quoting.
10417 Add support for specifying paths as //<drive>/foo/bar.
10418 * libc/sys/win32/syscalls.h (__path_needs_conversion_p): Declare.
10419 (__path_to_real_path): Declare.
10420 (PATH_TO_REAL_PATH): New macro.
10421 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): Minor cleanup.
10422 (__path_needs_conversion_p, __path_to_real_path): New functions.
10423 (_open): Fix test for error return from CreateFileA.
10424 Handle new path syntax.
10425 (_link, mkdir, rmdir, getcwd, chdir, stat): Handle new path syntax.
10426 * libc/sys/win32/dirsearch.c (opendir): Likewise.
10428 Wed Sep 27 16:36:46 1995 steve chamberlain <sac@slash.cygnus.com>
10430 * libc/sys/win32/include/*.h: Reorganized
10431 * libc/sys/win32/include/WINREADME: New.
10432 * libc/sys/win32/Makefile.in (DLLS): Build version.a.
10433 * libc/sys/win32/*.c: Fix for new include scheme.
10434 * libc/sys/win32/crt0.c (__this_uinfo_buf, __this_uinfo): New.
10435 * libc/sys/win32/getlogin.c (getlogin): Use uinfo.
10436 * libc/sys/win32/passwd.c (*): Fix.
10437 * libc/sys/win32/syscalls.c (get[e|][g|u]id): Use passwd info.
10438 (_stat): Get directory owner and permissions right.
10439 * libc/sys/win32/syscalls.h (uinfo): New.
10440 * libc/sys/win32/version.def: Remove leading underscores.
10442 Tue Sep 26 18:18:47 1995 Jason Molenda (crash@phydeaux.cygnus.com)
10444 * libc/sys/win32/key.c: include "include/wincon.h".
10446 Tue Sep 26 07:21:48 1995 steve chamberlain <sac@slash.cygnus.com>
10448 * libc/sys/win32/{key, stubs}.c: New.
10449 * libc/sys/win32/Makefile: Adjust to cope.
10450 * libc/sys/win32/crt0.c (vfork_init_first): Cope with -ve pids.
10451 (environ_init): Change env names to upper case.
10452 * libc/sys/win32/dirsearch.c (readdir): Don't fill in inode number.
10453 * libc/sys/win32/passwd.c (*): Fill in the functions.
10454 * libc/sys/win32/pipe.c (_fcntl): F_GETFL returns O_RDWR.
10455 * libc/sys/win32/spawn.c (_spawn): Cope with -ve pids.
10456 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): New function.
10457 (_open): Initialze hmap->execable_p too.
10458 * libc/sys/win32/syscalls.c (getuid, getgid, geteuid, getegid): Return from macros.
10459 (_fstat): Fill in permissions.
10460 * libc/sys/win32/syscalls.h (hinfo): Add execable_p.
10462 Fri Sep 22 13:47:27 1995 Doug Evans <dje@canuck.cygnus.com>
10464 * configure.in (cfg-ml-com.in invocation): Use ${with_multilib_top}
10466 (cfg-ml-pos.in invocation): Likewise.
10468 Fri Sep 22 11:43:44 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10470 * Makefile.in (MATHOBJS_IN_LIBC): Added s_isinf.o, sf_isinf.o,
10471 s_isnan.o and sf_isnan.o.
10473 Wed Sep 20 14:50:19 1995 Ian Lance Taylor <ian@cygnus.com>
10475 * All Makefile.in files: added maintainer-clean target as a
10476 synonym for realclean.
10478 Wed Sep 20 11:02:50 1995 Jeff Law (law@snake.cs.utah.edu)
10480 * libc/include/machine/setjmp.h: Add hppa support.
10481 * libc/machine/hppa/setjmp.S: New file with setjmp/longjmp
10483 * libc/machine/hppa/Makefile.in: Related changes.
10485 Tue Sep 19 12:09:01 1995 J.T. Conklin <jtc@blues.cygnus.com>
10487 * configure.in (machine_dir): Don't set for v810-*-*.
10489 Fri Sep 15 20:22:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
10491 * libc/sys/win32/crt0.c (passover): Change to handle MKS quoting
10492 conventions correctly.
10494 Thu Sep 14 13:37:22 1995 J.T. Conklin <jtc@blues.cygnus.com>
10496 * libc/stdio/puts.c: Update documentation of return value to match
10499 Thu Sep 14 01:52:37 1995 Doug Evans <dje@canuck.cygnus.com>
10501 Fix file descriptor inheritance.
10502 * libc/sys/win32/syscalls.h (CHILD_P): Define again.
10503 (NOT_OPEN_FD): Fix.
10504 * libc/sys/win32/spawn.c (vfork0): Only create inheritable handle if
10505 close-on-exec flag not set. Initialize child's entire fd table.
10506 * libc/sys/win32/syscalls.c (_open): Only create inheritable handle if
10508 * libc/sys/win32/pipe.c (pipe): Only create new handle as inheritable
10509 if CHILD_P. Initialize entire hmap entry.
10510 (dup): Only create new handle as inheritable if CHILD_P.
10511 (dup2): Likewise. Properly initialize hmap entry.
10513 * libc/sys/win32/spawn.c (_execve): Don't pass _P_SEARCH_PATH to
10515 (_exit): Use CHILD_P.
10516 * libc/sys/win32/syscalls.c (_fstat): Fix call to memset.
10519 Mon Sep 11 23:09:39 1995 Jason Molenda (crash@phydeaux.cygnus.com)
10521 * libc/sys/win32/crt0.c (passover): fix up the state table.
10522 * libc/posix/popen.c: Added.
10523 * libc/posix/Makefile.in: compile popen.c.
10525 Mon Sep 11 11:43:38 1995 J.T. Conklin <jtc@cygnus.com>
10527 * libc/include/machine/ieeefp.h: On the h8/300, h8/300h and
10528 h8/500 define _DOUBLE_IS_32BITS.
10530 Sat Sep 9 17:55:54 1995 Doug Evans <dje@canuck.cygnus.com>
10532 Get vfork/exec/spawn/cwait/wait working again.
10533 * libc/sys/win32/syscalls.h (VFORK_NEWBORN_PSEUDO_PID): Define.
10534 (procinfo): New member vfork_level.
10535 * libc/sys/win32/crt0.c (__vfork_next_pid): Delete.
10536 (vfork_init_first): Use GetCurrentProcessId to get pid.
10537 Initialize vfork_level.
10538 (vfork_init): Delete __PID__.
10539 (environ_init): New function. Undo patch of Aug 19, Posix says
10540 environment variables are case sensitive.
10541 (mainCRTStartup): Call it.
10542 * libc/sys/win32/spawn.c (__vfork_next_pid): Delete.
10543 (my_longjump: Make static.
10544 (_spawn): New argument `h'. Delete setting of __PID__.
10545 Delete local `idx'. Look for chars that need quotes, rather than
10546 ones that don't. Set handle of created process in `h'.
10547 Result is process id if created task.
10548 (allocate_spawn_entry): New function.
10549 (spawnvp, spawnv): Call it. Store handle and pid in procinfo entry.
10550 (_execve): Set __FD_TABLE__ before spawning child.
10551 Scan our fd table when passing fds, not our parent's.
10552 Store handle and pid in procinfo entry.
10553 (vfork0): Ensure strace message always printed.
10554 Set child pid to VFORK_NEWBORN_PSEUDO_PID.
10555 (vfork): Don't clobber result of vfork0.
10556 * libc/sys/win32/wait.c (cwait): Fix non-error result (is pid).
10557 (wait_for_any): Ignore processes in state FORK_STATE_VFORK_0.
10559 * libc/sys/win32/syscalls.h (procinfo): New members `handle_valid_p'
10561 * libc/sys/win32/spawn.c (allocate_spawn_entry): Initialize them.
10562 (vfork0): Likewise. Distinguish children, grandchildren, etc. by
10563 adding vfork level to pseudo-pid.
10564 (vfork1): If not root, set state back to FORK_STATE_VFORK_0.
10565 (spawnvp, spawnv, _execve): Set handle_valid_p if success.
10566 (_exit): If child, set exit code.
10567 (__vfork_record_death): Only close process handle if valid.
10568 * libc/sys/win32/wait.c (wait_for_single): Watch for children that
10570 (wait_for_any): Likewise. Start scan after root entry.
10572 Fri Sep 8 18:48:02 1995 Jason Molenda (crash@phydeaux.cygnus.com)
10574 * libc/include/sys/types.h (off_t): off_t back to 32 bits.
10575 * libc/include/sys/_types.h (_off_t): _off_t back to 32 bits.
10576 * libc/sys/win32/syscalls.c (_fstat): st_size is lower 32-bits
10577 of actual file length.
10579 * libc/sys/win32/sys/wait.h: include <sys/types.h>.
10580 * libc/include/paths.h: _PATH_BSHELL added.
10581 * libc/include/sys/unistd.h: define STDIN_FILENO, STDOUT_FILENO,
10584 Thu Sep 7 21:02:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
10586 * libc/include/ar.h: Added.
10587 * libc/include/sys/types.h: ino_t goes back to 32-bits.
10588 * libc/sys/win32/syscalls.h (hinfo): added .namehash field.
10589 * libc/sys/win32/syscalls.c (_open): compute .namehash based
10591 (_fstat): use .namehash for inode number of the fd.
10593 Thu Sep 7 12:57:19 1995 steve chamberlain <sac@slash.cygnus.com>
10595 * libc/sys/win32/{console,ioctl,pipe,spawn,syscalls,wait}.? (*):
10596 Change hinfo to __this_procinfo.
10597 * libc/sys/win32/crt0.c: Remove procinfo_list.
10599 Wed Sep 6 18:38:26 1995 Jason Molenda (crash@phydeaux.cygnus.com)
10601 * libc/include/sys/types.h (ino_t): Define ino_t correctly for
10604 Wed Sep 6 18:09:29 1995 Jason Molenda (crash@phydeaux.cygnus.com)
10606 * libc/sys/win32/include/grp.h: Removed.
10607 * libc/sys/include/grp.h: Added.
10608 * libc/sys/win32/grp.c: Include <grp.h>.
10610 Wed Sep 6 16:52:48 1995 steve chamberlain <sac@slash.cygnus.com>
10612 * libc/include/sys/signal.h (__need_MAX_SIGNALS): Removed.
10613 (sigset_t, sigaction, SIG_SETMASK, SIG_BLOCK, SIG_UNBLOCK):
10614 Defined for all but strict ANSI.
10615 * libc/include/sys/reent.h (__need_MAX_SIGNALS): Removed.
10616 * libc/include/machine/setjmp.h: Get win32 _JBLEN right.
10617 * libc/signal/signal.c (_signal_r): Changed from using
10618 _MAX_SIGNALS to NSIG.
10619 * libc/sys/win32/crt0.c (__current_pid, __parent_hmap, __child_hmap,
10621 (__strace, __vfork_next_pid): New.
10622 (__exe_suffix): Default to 1.
10623 (passover, table): Understand quoted arguments.
10624 (vfork_init_first): New.
10625 (vfork_init): Initialize new process structure.
10626 (mainCRTStartup): Pass environ to main.
10627 * exceptions.c (__sig_mask): New
10628 (ehandler3): Ignore signals in mask.
10629 (really_exit): Remove CHILD_P test.
10630 * pipe.c (pipe, dup, dup2): Use new process and file structure.
10631 * resource.c (getrusage): Ditto.
10632 * signal.c (sigprocmask): New.
10633 * spawn.c (*): Rewritten.
10634 * syscalls.c (*): Use new process and file structure.
10635 (find_unused_handle): New.
10636 * syscalls.h (MAX_HANDLES): Deleted.
10637 (hinfo): Removed child_created_p.
10638 (MAX_CHILDREN): Deleted.
10639 (vfork_jmp_info, procinfo): New.
10640 * wait.c (*): Mostly new.
10641 * sys/strace.h (_STRACE_PARANOID): New.
10642 * sys/param.h: New file.
10644 Wed Sep 6 17:03:53 1995 Jason Molenda (crash@phydeaux.cygnus.com)
10646 * libc/include/sys/stat.h: add S_BLKSIZE.
10647 * libc/include/sys/_types.h: _off_t is a 64-bit type under win32.
10648 * libc/include/sys/types.h: define off_t and ino_t to be 64 bit
10650 (mode_t): add a #else to avoid multiple definitons.
10652 * libc/sys/win32/Makefile.in: add grp.c.
10653 * libc/sys/win32/grp.c: include grp.h correctly.
10654 * libc/sys/win32/syscalls.c (_fstat): set almost all of the fields
10655 of the st structure with real information.
10656 * libc/sys/win32 (dirent): d_ino is of type ino_t.
10658 Wed Sep 6 10:41:34 1995 Doug Evans <dje@canuck.cygnus.com>
10660 * libc/include/sys/types.h (mode_t): Correct for svr4 sparc's
10661 and (maybe) sparc64.
10662 (nlink_t): Provide typedef.
10664 Tue Sep 5 18:46:05 1995 Jason Molenda (crash@phydeaux.cygnus.com)
10666 * libc/sys/win32/grp.c: New file.
10667 * libc/sys/win32/include/grp.h: New file.
10669 Tue Sep 5 13:47:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10671 * libc/include/machine/ieeefp.h: Added whitespace to make this
10672 file easier to maintain.
10673 On the sh, define either __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN
10674 depending on the value of __LITTLE_ENDIAN__.
10675 On the sh3e, define _DOUBLE_IS_32BITS.
10677 Fri Sep 1 15:35:18 1995 James G. Smith <jsmith@beauty.cygnus.com>
10679 * libc/sys/vr4300/syscalls.c: Added missing support
10680 routines. _raise() and getpid().
10682 Fri Sep 1 14:12:48 1995 James G. Smith <jsmith@rtl.cygnus.com>
10684 * configure.in (mips*vr4300*-*-elf): Fixed silly mistake
10686 Fri Sep 1 08:42:11 1995 James G. Smith <jsmith@beauty.cygnus.com>
10688 * configure.in (mips*vr4300*-idt-*) Add support for RISQ monitor
10689 and VR4300 processor.
10690 * libc/sys/vr4300: Add directory.
10691 * libc/sys/vr4300/{Makefile.in, crt0.S, syscalls.c}: Add SIM
10692 monitor run-time support.
10694 Thu Aug 31 09:16:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10696 * libc/stdlib/Makefile.in (CHEWOUT_FILES): Removed atol.def.
10697 * libc/stdlib/stdlib.tex: Don't include atol.def.
10699 Wed Aug 30 20:38:28 1995 Jason Molenda (crash@phydeaux.cygnus.com)
10701 * libc/sys/win32/uname.c (uname): hardcode processor as `i386'.
10703 Wed Aug 30 10:48:08 1995 steve chamberlain <sac@slash.cygnus.com>
10705 * libc/ctype/Makefile.in: Fill in _to* dependencies.
10707 Tue Aug 29 17:14:29 1995 steve chamberlain <sac@slash.cygnus.com>
10709 * libc/sys/win32/{dirsearch.c,sys/dirent.h}: Fix namespace problems.
10710 * libc/sys/win32/sys/dirent.h (struct dirent): Added d_ino.
10711 * libc/sys/win32/strace.c (__sys_printf): Increase size of buffer.
10712 * libc/sys/win32/smallprint.c (__small_vsprintf): Remove debug.
10713 * libc/sys/win32/dirsearch.c (readdir): Set d_ino.
10715 Tue Aug 29 19:00:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
10717 * libc/stdlib/atol.c (atol): DEFUN -> _DEFUN.
10719 Tue Aug 29 16:08:09 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10721 * libc/stdlib/Makefile.in (OFILES): Added atoff.o and atol.o.
10722 * libc/stdlib/atoff.c: New file.
10723 * libc/stdlib/atof.c (atoff): Moved to atoff.c.
10724 * libc/stdlib/atoi.c (atol): Removed.
10725 * libc/stdlib/atol.c: Removed duplicate documentation.
10727 * libc/include/ctype.h (_tolower, _toupper): Moved inside
10728 #ifndef _STRICT_ANSI conditional.
10729 * libc/ctype/Makefile.in (OFILES): Added _tolower.o and _toupper.o
10730 * libc/ctype/_tolower.c: New file.
10731 * libc/ctype/_toupper.c: New file.
10732 * libc/ctype/tolower.c (_tolower): Moved to _tolower.c.
10733 * libc/ctype/toupper.c (_toupper): Moved to _toupper.c.
10734 * libc/ctype/toascii.c (_toascii): Removed.
10736 Tue Aug 29 12:17:32 1995 Doug Evans <dje@canuck.cygnus.com>
10738 * libc/sys/sparc64/sys/types.h: Deleted.
10740 Mon Aug 28 22:06:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
10742 * libc/sys/win32/uname.c (uname): change `Windows/NT' to `Windows_NT'
10743 and recognize Windows_95 systems.
10745 Mon Aug 28 19:50:54 1995 Jason Molenda (crash@phydeaux.cygnus.com)
10747 * libc/sys/win32/crt0.c (vfork_init, hmap_init): standard I/O fds
10748 and passed fds should be opened in text mode.
10750 Mon Aug 28 18:51:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
10752 * libc/sys/win32/crt0.c (vfork_init): mark passed fds as used
10753 in __hmap, set to binary mode by default.
10755 Tue Aug 22 14:12:37 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10757 * libc/sys/sh/syscalls.c: Updated all functions to call __trap34.
10758 * libc/sys/sh/trap.S (__trap34): Renamed from __trap3. Use trap
10761 Sat Aug 19 18:25:37 1995 steve chamberlain <sac@slash.cygnus.com>
10763 * Makefile.in (install): Install all libraries found in the
10764 top level. If there's a sys/<type>/include directory,
10765 install those headers into include.
10767 * libc/sys/win32/kernel.def351: Delete
10768 * libc/sys/win32/{comctl32.def, comdlg32.def, ctl3d32.def,
10769 glaux.def, glu32.def, largeint.def, libc.def, libcmt.def,
10770 lz32.def, mgmtapi.def, mpr.def, msacm32.def, msvcrt.def,
10771 nddeapi.def, netapi32.def, odbc32.def, odbccp32.def, oldnames.def,
10772 ole32.def, oleaut32.def, opengl32.def, rasapi32.def, rpcndr.def,
10773 rpcns4.def, rpcrt4.def, scrnsave.def, shell32.def, snmp.def,
10774 uuid.def, vdmdbg.def, version.def, vfw32.def, win32spl.def,
10775 winmm.def, winspool.def, winstrm.def, wsock32.def}: New.
10777 * libc/sys/win32/Makefile.in: Update for new files and new dlltool options.
10778 * libc/sys/win32/crt0.c: Force all env names to upper case.
10779 * libc/sys/win32/sys/win*.h -> libc/sys/win32/include
10780 * libc/sys/win32/*.c: Headers have moved.
10781 * libs/sys/win32/*.[ch]: Test for open_p rather than BAD_HANDLE,
10782 __vfork_child_idx is now __vfork_child_ptr.
10784 * posix/execvp (execvp): Don't crash if no PATH envname.
10786 Fri Aug 18 12:22:59 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10788 * libc/include/sys/reent.h (_Bigint): Removed _reclaim field.
10789 * libc/reent/reent.c (_reclaim_reent): Free Bigint's by going
10790 through the _freelist instead of through the _reclaim list.
10791 * libc/stdlib/mprec.c (_Balloc): Don't put new node on _reclaim list.
10792 * libc/stdlib/mprec.c (_Bcopy): Make like version in master dtoa.c
10795 Thu Aug 17 11:03:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10797 * libc/machine/h8500/setjmp.S: New file.
10798 * libc/include/machine/setjmp.h: Updated for H8/500.
10800 Wed Aug 16 16:19:11 1995 steve chamberlain <sac@slash.cygnus.com>
10802 * libc/sys/win32/syscalls.c (_open): More stracing.
10803 (_stat): Open the file in O_BINARY.
10805 Wed Aug 16 15:49:01 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10807 * libc/machine/h8300/setjmp.S: New file.
10808 * libc/include/machine/setjmp.h: Updated for H8/300 and H8/300H.
10810 Tue Aug 15 10:31:09 1995 Doug Evans <dje@canuck.cygnus.com>
10812 * libc/sys/win32/crt0.c (__exe_suffix): New global.
10813 (mainCRTStartup): Set __exe_suffix from LIBC_EXE_SUFFIX.
10814 * libc/sys/win32/spawn.c (_spawn): Add .exe suffix based on
10815 __exe_suffix. Free fd_tab after setting env variable.
10816 (spawnv,_execve): Update.
10817 * libc/sys/win32/syscalls.h (__exe_suffix): Declare.
10818 * libc/sys/win32/smallprint.c (puts,putn): New (static) functions.
10819 (__small_vfprintf): New function.
10820 * libc/sys/win32/strace.c (__sys_printf): Call __small_vfprintf.
10821 * libc/sys/win32/wait.c (cwait): Validate argument.
10823 * libc/sys/win32/syscalls.c (queue_file_deletion): Add trace message.
10824 (process_deletion_queue): Likewise.
10826 * libc/sys/win32/Makefile.in (lib.a): Don't call $(RANLIB).
10828 Mon Aug 14 10:14:10 1995 steve chamberlain <sac@slash.cygnus.com>
10830 * libc/sys/win32: Copyrights and gratuitous indenting.
10832 Mon Aug 14 01:32:58 1995 Doug Evans <dje@canuck.cygnus.com>
10834 * libc/sys/win32/syscalls.c (queue_file_deletion): Finish.
10835 (process_deletion_queue): Likewise.
10836 (__close_all_files): New function.
10837 (_close): Only queue file deletion if really a file.
10838 * libc/sys/win32/spawn.c (_spawn): Only ensure .exe suffix if
10840 (_exit): Call __close_all_files.
10842 * libc/stdlib/system.c: #include <errno.h>.
10843 (_system_r): Fix results in -DNO_EXEC case.
10845 * libc/sys/win32/sys/dirent.h (DIR): New member __d_dirname.
10846 Reorganize structure.
10847 * libc/sys/win32/dirsearch.c (opendir): Use stat to determine
10848 if argument is valid. Save directory name in DIR. malloc space
10849 for dirent struct separately.
10850 * libc/sys/win32/syscalls.c (stat): Fix test for directory.
10852 * libc/include/errno.h (ENAMETOOLONG): Define.
10853 * libc/string/strerror.c (strerror): Reword ENFILE.
10854 Add ENOSYS, ENMFILE, ENOTEMPTY, ENAMETOOLONG.
10856 Sun Aug 13 22:42:25 1995 Doug Evans <dje@canuck.cygnus.com>
10858 * libc/sys/win32/crt0.c (__progname): New global.
10859 (mainCRTStartup): Support strace=bitmask,filename.
10860 * libc/sys/win32/dirsearch.c (all fns): Add trace messages.
10861 * libc/sys/win32/syscalls.c (_write): Print parent trace message
10863 (getcwd): Handle len too small. Convert '\\' to '/'.
10864 * libc/sys/win32/sys/fcntl.h (O_RDWR): = O_RDONLY|O_WRONLY.
10865 Add prototypes for open, creat, fcntl.
10866 (O_APPEND): Change value to conform to Microsoft's value.
10867 * libc/sys/win32/sys/strace.h (_STRACE): Protect in do/while.
10869 * libc/stdlib/getopt.c: New file.
10870 * libc/stdlib/Makefile.in: Build it.
10872 Sat Aug 12 12:17:14 1995 Doug Evans <dje@canuck.cygnus.com>
10874 * libc/posix/execvp.c (execvp): Watch for DOS drives ifdef _WIN32.
10875 Fix scanning of $PATH.
10876 * libc/posix/exec*.c: Call _execve, not execve.
10877 * libc/posix/execve.c: New file.
10878 * libc/posix/Makefile.in (OFILES): Add execve.o.
10880 * libc/sys/win32/sys/strace.h (_STRACE_ALL, _STRACE_UHOH,
10881 _STRACE_STARTUP, _STRACE_SYSCALL): More bit masks of things to trace.
10882 (_STRACE): If level==0, always print. Handle new bit mask scheme.
10883 * libc/sys/win32/crt0.c: Update _STRACE calls.
10884 * libc/sys/win32/{pipe.c,resource.c,spawn.c,syscalls.c,wait.c}: Ditto.
10886 * libc/sys/win32/smallprint.c (rn): Fix digit list.
10888 * libc/sys/win32/syscalls.c (__really_exit): Move from here,
10889 * libc/sys/win32/exceptions.c (really_exit): to here. Avoid recursion.
10890 * libc/sys/win32/spawn.c (spawnvp): Pass `prog' as image name.
10891 Print __seterrno trace message first.
10892 (_execve): Renamed from execve.
10893 (vfork): Update __strace usage.
10894 (__vfork_child_pid): Deleted.
10895 (__vfork_children, __vfork_child_idx): New globals.
10896 (_spawnvp): New function.
10897 (spawnvp, spawnv, _execve): Call _spawnvp.
10898 (init_child): Record child in __vfork_children.
10899 (__vfork_get_entry, __vfork_record_death): New functions.
10900 * libc/sys/win32/crt0.c (mainCRTStartup): Initialize __vfork_children.
10901 * libc/sys/win32/kernel32.def (WaitForMultipleObjects): Define.
10902 * libc/sys/win32/syscalls.h (CHILD_P): New macro. All files updated.
10903 (MAX_CHILDREN, CHILD_INTERIM_PID): Define.
10904 (children): New typedef.
10905 (__vfork_children,__vfork_child_idx): Declare.
10906 (__vfork_get_entry,__vfork_record_death): Declare.
10907 * libc/sys/win32/wait.c (wait_for_single,wait_for_any): New functions.
10908 (waitpid): Handle pid == -1.
10909 * libc/sys/win32/sys/wintypes.h (WaitForMultipleObjects): Declare.
10910 * configure.in (i386-win32): Add -DNO_FORK.
10911 * libc/syscalls/sysfork.c (fork): Don't define for NO_FORK.
10912 * libc/reent/execr.c (_fork_r): Likewise.
10913 * libc/stdlib/system.c (do_system): New function.
10914 If WIN32, try to get shell path from $SH_PATH, use vfork.
10915 (_system_r): Return 1 for (s == NULL) if WIN32 or unix,
10916 otherwise return 0.
10918 Sat Aug 12 11:08:00 1995 steve chamberlain <sac@slash.cygnus.com>
10920 * libc/stdlib/{mallocr.c, mstats.c}: Move mstats from mallocr to mstats.c.
10921 * libc/sys/win32/fcntl.h: Don't include self.
10922 * libc/sys/win32/sys/strace.h (_STRACE_WM, _strace_wm): New.
10923 * libc/sys/win32/sys/winbase.h: (GetUserName) New.
10924 * libc/sys/win32/sys/wincon.h (HANDLER_ROUTINE): Define correctly.
10925 * libc/sys/win32/sys/wintypes.h (GetFileType, GetCurrentProcess, CloseHandle,
10926 SetFilePointer, CreateFileA, GetFileInformationByHandle, GetStdHandle):
10927 Correct prototypes.
10928 * libc/sys/win32/strace.c: New file.
10929 * libc/sys/win32/smallprint.c: New file.
10930 * libc/sys/win32/crt0.c (func): Delete.
10931 (mainCRTStartup): Fix alloca usage. Set handles explictly.
10932 * libc/sys/win32/dirsearch.c: Clean up handle usage, fix calls to __seterrno.
10933 * libc/sys/win32/exceptions.c: Lint.
10934 * libc/sys/win32/{ioctl.c, pipe.c, resource.c, spawn.c, cwait.c, syscalls.c}:
10935 Clean up handle usage.
10936 * libc/sys/win32/syscalls.c (__sys_printf): Moved into strace.c
10937 (open.c): Default file type is text.
10938 * libc/sys/win32/uname.c (uname): Use __small_sprintf.
10939 * libc/sys/win32/advapi32.def: New
10941 Fri Aug 11 17:11:52 1995 Doug Evans <dje@canuck.cygnus.com>
10943 * configure.in (posix_dir, libc_posix_lib): New variables.
10944 Define LIBC_POSIX_LIB in makefile to be $libc_posix_lib.
10945 (i[345]86-*-win32): Define posix_dir.
10946 Delete -DNO_EXEC. Define -DHAVE_OPENDIR.
10947 (if unix_dir): Fix typo.
10948 * libc/posix/{Makefile.in,closedir,opendir,readdir,rewinddir,
10949 scandir,seekdir,telldir}: New files.
10950 * libc/posix/{execl.c,execle.c,execlp.c,execv.c,execvp.c}: Move here
10952 * libc/Makefile.in (LIBC_POSIX_LIB): Define.
10953 (SUBDIRS): Add posix.
10954 (SUBLIBS): Add $(LIBC_POSIX_LIB).
10956 * libc/include/sys/signal.h (SIGCHLD): Add for _WIN32.
10957 (NSIG): Increase to 21.
10958 * libc/include/sys/unistd.h (pid_t): Move from here,
10959 * libc/include/sys/types.h (pid_t): to here.
10961 * libc/sys/win32/syscalls.h: #include "sys/strace.h".
10962 (__ptrace): Delete.
10963 (hinfo): New members close_exec_p, child_created_p.
10964 (struct exception_list): Define.
10965 (__hmap): Redefine as pointer to table.
10966 (__parent_hmap, __child_hmap): New globals.
10967 (__set_errno, __really_exit): Declare.
10968 (__vfork_child_pid): Declare.
10969 * libc/sys/win32/crt0.c (__strace, __trace_file): New global.
10970 (__orig_stdin, __orig_stdout, __orig_stderr): New globals.
10971 (__parent_hmap, __child_hmap): New globals.
10972 (__hmap): Redefine as pointer to active map.
10973 (__get_console): New function.
10974 (mainCRTStartup): Change leading '=' in environ vars to '!'.
10975 (env __FD_TABLE__): Watch for this and initialize our fd/handle
10976 mapping table from it if defined.
10977 (argv, envp): Dump if __strace >= 4.
10979 * libc/sys/win32/exceptions.c (myp): Redefine.
10980 (__syscalls_b): Delete.
10981 (__stack_trace): New function.
10982 (ehandler3): Update to use _STRACE. Print stack trace.
10983 Call __really_exit instead of exit.
10984 (init_exceptions): Delete args argc,argv. New arg mine.
10985 * libc/sys/win32/kernel32.def (CreatePipe, DuplicateHandle, FindClose,
10986 FindFirstFileA, FindNextFileA, GetComputerNameA,
10987 GetEnvironmentVariableA, ReadFile, SetEnvironmentVariableA): Define.
10988 * libc/sys/win32/signal.c (signal): Validate arg.
10989 (alarm, sleep): Define as stubs for now.
10990 * libc/sys/win32/syscalls.c (all fns): Update to use _STRACE.
10991 (__syscalls_b, errno): Delete.
10992 (__vfork_child_pid, __vfork_jmp_buf): New globals.
10993 (__seterrno): Handle more errors.
10994 (__sys_printf): Renamed from _ptrace.
10995 (__really_exit): New function.
10996 (queue_file_deletion, process_deletion_queue): New functions.
10997 (__resume_parent): New function.
10998 (_unlink): Handle trying to delete open file.
10999 (__totime_t): Renamed from totime_t.
11000 (setsid, __read, __write): New functions.
11001 (cwait, spawnvp, R, D, getrusage, _execve, _fork, _wait): Delete.
11002 * libc/sys/win32/{dirsearch.c,getlogin.c,misc.c,resource.c,passwd.c,
11003 times.c,spawn.c,pipe.c,wait.c,termios.c,ioctl.c,uname.c}: New files.
11004 * libc/sys/win32/console.c: Update to new definition of __hmap.
11005 * libc/sys/win32/Makefile.in: Build new files.
11006 * libc/sys/win32/sys/{dirent.h,winerror.h,wait.h,termios.h}: New files.
11007 * libc/sys/win32/sys/{ioctl.h,utsname.h}: New files.
11008 * libc/sys/win32/sys/strace.h: Renamed from ptrace.h.
11009 * libc/sys/win32/sys/wintypes.h (GetCurrentDirectoryA): Fix prototype.
11011 Thu Aug 10 16:32:52 1995 Doug Evans <dje@canuck.cygnus.com>
11013 * libc/sys/h8500hms/misc.c (kill): Handle SIGABRT.
11015 Thu Aug 10 12:07:38 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11017 * libc/stdlib/{dtoa.c, strtod.c}: Merged assorted changes that
11018 have been made to the master dtoa.c sources (from netlib.att.com)
11019 since they were integrated into newlib in early 1992. Fixes
11020 problems with storage leaks and handling of numbers with very
11021 negative exponents.
11023 Wed Aug 9 14:18:39 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11025 * Makefile.in (all): set rootpre and srcrootpre before calling
11028 Tue Aug 8 17:20:45 1995 steve chamberlain <sac@slash.cygnus.com>
11030 * libc/sys/win32/crt0.c: Change __hmap usage.
11031 * libc/sys/win32/exceptions.c: Use _ptrace call.
11032 * libc/sys/win32/syscalls.c: Use _ptrace call.
11033 (read, write): Cope with DOS style CRLF when in TEXT mode.
11034 * libc/sys/win32/syscalls.h: Declare hinfo struct.
11035 * libc/sys/win32/user32.def: Get DefWindowProc arg list right.
11036 * libc/sys/win32/sys/fcntl.h, ptrace.h: New.
11037 * libc/sys/win32/sys/windows.h: Fill in rest of messages.
11038 * libc/sys/win32/sys/wintypes.h: Fix attribute syntax.
11040 Mon Aug 7 13:04:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11042 * libc/include/math.h (cabs, cabsf, drem, dremf): New declarations.
11044 * libm/math/{w_cabs.c, wf_cabs.c, w_drem.c, wf_drem.c}: New files,
11045 wrappers for hypot() and remainder() for BSD libm compatibility.
11046 These are public domain implementations written by me for the
11047 NetBSD libm some time ago. Note cabs() is required by ucbtest.
11048 * libm/math/Makefile.in (obj): Added w_cabs.o and w_drem.o.
11049 (fobj): Added wf_cabs.o and wf_drem.o.
11051 Thu Aug 3 08:13:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11053 * libc/sys/h8500hms/misc.c: New file.
11054 * libc/sys/h8500hms/Makefile.in (OFILES): Add misc.o.
11056 Wed Aug 2 16:46:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11058 * libc/time/localtime.c (localtime): Fix problem with leap year
11059 handling. Stole algorithm from Arthur David Olson's tz code.
11061 Mon Jul 31 10:21:54 1995 steve chamberlain <sac@slash.cygnus.com>
11063 * configure.in: (z8k-*sim): Renamed z8k-*-coff.
11065 * libc/sys/z8ksim/glue.c (_getpid, _kill): New
11066 (_exit): Use argument.
11068 Fri Jul 28 15:17:04 1995 Doug Evans <dje@canuck.cygnus.com>
11070 * libc/sys/win32/sys/winbase.h (_WINBASE_H): Define.
11072 Wed Jul 26 16:24:19 1995 steve chamberlain <sac@slash.cygnus.com>
11074 * libc/sys/sh/trap.S (perrno): Align correctly. (pr 7532)
11076 Mon Jul 24 13:42:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11078 * configure.in (sparc*): Add -DMALLOC_ALIGNMENT=8 to
11081 Mon Jul 24 11:42:07 1995 steve chamberlain <sac@slash.cygnus.com>
11083 * libc/sys/win32/crt0.c (mainCRTStartup): Look for
11084 ptrace with case insensitivity
11085 * libc/sys/win32/{user32.def, gdi32.def, exceptions.c, screen.c,
11086 sys/winbase.h, sys/windows.h, sys/wintypes.h, sys/winuser.h}:
11089 Fri Jul 21 11:22:26 1995 Doug Evans <dje@canuck.cygnus.com>
11091 * Makefile.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
11092 (MULTITOP, MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): New variables.
11093 (all, install, *clean): Use new multilib support.
11094 * configure.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
11096 Fri Jul 21 07:11:42 1995 steve chamberlain <sac@slash.cygnus.com>
11098 * libc/include/sys/signal.h (__WIN32__): New.
11100 * configure.in (i386-*-win32): Remobe SBRK_IS_ALLOC.
11102 * libc/stdlib/mprec.c (Balloc): Fix trampling problem.
11103 (ulp, b2d): Handle 32 bit doubles.
11104 * libc/stdlib/mprec.h: Handle 32 bit doubles.
11105 * libc/stdlib/strtod.c (_strtod_r): Ditto.
11107 Fri Jul 14 08:24:58 1995 steve chamberlain <sac@slash.cygnus.com>
11109 from medp@primag.co.uk:
11110 * libc/stdio/setvbuf.c (setvbuf): Fix line buffering on
11111 dynamically allocated buffers.
11113 Thu Jul 20 10:11:03 1995 Fred Fish <fnf@fishbowl>
11115 * libc/include/sys/unistd.h (_exit): Add _ATTRIBUTE ((noreturn)).
11116 * libc/stdlib/exit.c (unistd.h): Include to pick up _exit() declaration.
11118 Thu Jul 20 10:16:25 1995 Michael Meissner <meissner@tiktok.cygnus.com>
11120 * configure.in (powerpc): Fix previous fix.
11122 Wed Jul 19 14:08:55 1995 Michael Meissner <meissner@tiktok.cygnus.com>
11124 * configure.in (powerpc-*eabiaix*): Update PowerPC multilib
11125 directories for this target.
11127 Wed Jul 19 00:34:30 1995 Jeffrey A. Law <law@rtl.cygnus.com>
11129 * configure.in (hppa): Add machine_dir definition.
11130 * libc/machine/hppa: New directory with PA specific implementations
11131 of the basic memory/string functions.
11133 Tue Jul 18 21:16:00 1995 Michael Meissner <meissner@tiktok.cygnus.com>
11135 * configure.in: Update current PowerPC multilib directories.
11136 Split big and little endian configurations.
11138 Tue Jul 18 11:55:33 1995 Ian Lance Taylor <ian@cygnus.com>
11140 * configure.in: Add --enable-single-float option to configure to
11141 control use of MIPS single-float directories. Default to yes.
11143 * Makefile.in (all): Don't recurse into multilib directory if it
11146 Mon Jul 17 15:51:30 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11148 * libc/sys/sh/syscalls.c: Fix typo.
11150 Mon Jul 3 14:38:52 1995 Steve Chamberlain <sac@slash.cygnus.com>
11152 * Makefile.in, libc/Makefile.in, libc/sys/Makefile.in:
11154 * libc/include/process.h: Define WAIT_CHILD.
11155 * libc/include/types.h: Get sizes right for win32.
11156 * configure.in (i386-*-pe): Becomes i386-win32.
11157 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
11158 wintypes.h,sys/file.h,sys/resource.h}: Second pass.
11159 * libc/stdlib/mallocr.c: Don't round up memory block if SBRK_IS_ALLOC
11162 Wed Jun 28 18:34:54 1995 Steve Chamberlain <sac@slash.cygnus.com>
11164 * configure.in (i[345]86-*-pe): New target (NT).
11165 * host/any: DLLTOOL new.
11166 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
11167 wintypes.h,sys/file.h,sys/resource.h}: Preliminary support for
11168 WIN32 (just enough to cross host the comp-tools).
11170 Thu Jun 22 11:45:18 1995 Doug Evans <dje@canuck.cygnus.com>
11172 * libc/machine/h8300/{cmpsi.S,ucmpsi.S,divhi3.S,mulhi3.S,mulsi3.S}:
11173 Deleted. These files live in gcc/config/h8300/lib1funcs.asm now.
11175 Mon Jun 19 11:40:40 1995 Doug Evans <dje@canuck.cygnus.com>
11177 * libc/include/machine/ieeefp.h (arm): Change to always be
11178 __IEEE_BIG_ENDIAN (even on little endian ARM's).
11180 Thu Jun 8 14:22:28 1995 Steve Chamberlain <sac@slash.cygnus.com>
11182 * libc/sys/crt0.S: Initialze sp, and call exit after main.
11183 * libc/sys/syscalls.c (abort): New.
11184 * configure.in (arm): Define ABORT_PROVIDED.
11186 Wed Jun 7 14:04:35 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11188 * configure.in (powerpc): Define multidirs.
11190 Mon Jun 5 16:10:13 1995 Doug Evans <dje@canuck.cygnus.com>
11192 * libc/sys/arm/crt0.S: Add __USER_LABEL_PREFIX__ support.
11194 Thu Jun 1 10:51:47 1995 Sean Eric Fagan <sef@cygnus.com>
11196 * configure.in (sparclite): Delete target_cflags. Define multidirs.
11198 Wed May 24 14:23:25 1995 Steve Chamberlain <sac@slash.cygnus.com>
11200 * configure.in, libc/include/machine/ieeefp.h: Modified
11202 libc/machine/arm/*, libc/sys/arm/*: New
11204 Tue May 23 13:53:07 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11206 * libc/include/machine/ieeefp.h: Use __PPC__ instead of
11207 __powerpc__ when determining endianness.
11209 Wed May 10 07:55:56 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11211 * configure.in (m68*): Add multidir for the m68332.
11213 * host/any (CC): Fix typo in last change.
11215 Fri Apr 14 22:20:31 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
11217 * libc/include/sys/config.h: Test __m68k__ instead of __m68000__
11218 when determining endianness.
11219 * libc/include/machine/ieeefp.h: Ditto.
11220 * libc/machine/m68k/setjmp.S: Use '&' instead of '#' for immediate
11223 Fri Apr 14 14:14:29 1995 Doug Evans <dje@chestnut.cygnus.com>
11225 * libc/include/errno.h (ENOTEMPTY): Define.
11227 Thu Apr 6 12:21:20 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11229 * configure.in (sparc-sun-sunos*): Add -DMALLOC_ALIGNMENT=8 to
11232 * libc/sys/sun4/Makefile.in (COPYOFILES): Added rem.o, multiply.o,
11235 * libc/stdio/tmpnam.c (worker): Unconditionally increment count
11236 instead of only when open succeeds. ANSI requires that multiple
11237 calls to tmpnam() result in different files.
11239 * libc/sys/sun4/Makefile.in (COPYRENAMEOFILES): New macro, list of
11240 objects pulled in from /lib/libc.a that must be renamed before
11241 being pulled into newlib. /lib/libc.a's div.o conflicted with
11242 newlib's file with the same name.
11244 * libc/stdlib/ldiv.c (ldiv): Call labs() instead of abs().
11246 * host/any (CC, AS, AR, RANLIB): Changed so that executables in
11247 the build tree will only be used if the executables are present
11248 (instead of just the Makefiles).
11250 * libc/include/stdlib.h (mblen, mbtowc, wctomb, mbstowcs,
11252 * libc/stdlib/{mblen.c, mbstowcs.c, wcstombs.c}: New files, null
11253 versions of these functions that I orignally wrote for the
11255 * libc/stdlib/{mbtowc.c, wctomb.c}: Replaced functions with
11256 versions I wrote for NetBSD.
11258 Wed Mar 29 12:42:42 1995 Kung Hsu <kung@mexican.cygnus.com>
11260 * libc/sys/sparclite/Makefile.in: add crt0.s and make info.
11261 * libc/sys/sparclite/crt0.s: ditto.
11263 Tue Mar 28 20:28:03 1995 Rob Savoye <rob@rtl.cygnus.com>
11265 * configure.in: Add soft-float for proelf.
11267 Mon Mar 27 12:07:56 1995 Steve Chamberlain <sac@bang.hack.com>
11269 * libc/stdlib/mprec.h (Bcopy): Copy the right number
11272 Mon Mar 27 11:24:22 1995 Doug Evans <dje@chestnut.cygnus.com>
11274 * Makefile.in (all): Depend on `force'.
11275 * configure.in (syscall_dir): Renamed from fake_sys_dir.
11276 (libc_syscall_lib): Renamed from libc_fake_sys_lib.
11277 (LIBC_SYSCALL_LIB): Renamed from LIBC_FAKE_SYS_LIB.
11278 * libc/Makefile.in: Likewise.
11279 * libc/include/reent.h: Update syscall references.
11280 (_fcntl_r): Add prototype.
11281 * libc/syscalls/*.c #include <reent.h>.
11282 (*) Call reentrant version if REENTRANT_SYSCALLS_PROVIDED.
11284 Mon Mar 20 16:57:39 1995 Doug Evans <dje@deneb.cygnus.com>
11286 * libc/include/sys/stat-dj.h (S_ISBLK): Define.
11287 (S_ISCHR, S_ISDIR, S_ISFIFO, S_ISREG): Define.
11288 * libc/include/sys/stat.h (stat-dj.h): Include ifdef MSDOS.
11289 (time.h, sys/types.h): Always include (even if MSDOS).
11290 (stat): Fix prototype.
11292 Fri Mar 10 11:30:38 1995 Ian Lance Taylor <ian@cygnus.com>
11294 * configure.in (i[345]86-*-go32): Compile with -DNO_EXEC.
11296 Mon Feb 27 18:00:39 1995 Jim Wilson <wilson@chestnut.cygnus.com>
11298 * libc/machine/h8500/psi.S (EXTPSIHI_RN_SN): Ifdef out.
11300 Mon Feb 13 16:10:03 1995 Ian Lance Taylor <ian@cygnus.com>
11302 * libc/include/regdef.h: New file.
11303 * libc/machine/mips/machine/regdef.h: New file.
11305 Mon Feb 6 15:24:29 1995 Doug Evans <dje@canuck.cygnus.com>
11307 * libc/sys/sparc64/sys/fcntl.h (open): Add ellipsis.
11309 Fri Jan 27 13:52:10 1995 Steve Chamberlain <sac@splat>
11311 * libc/sys/sh/crt0.S: Pass main's return to exit.
11312 * libc/sys/sh/trap.S: Put errno in the right place.
11314 Tue Jan 24 18:57:56 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
11316 * libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Integrate change
11317 from fdlibm 5.2: handle |x| < 3pi/4 more efficiently.
11318 * libm/math/ef_rem_pio2.c: Likewise.
11319 * libm/math/e_log10.c: Remove unused static one.
11320 * libm/math/ef_log10.c: Likewise.
11321 * libm/math/s_frexp.c: Likewise.
11322 * libm/math/sf_frexp.c: Likewise.
11324 Sun Jan 22 21:26:14 1995 Steve Chamberlain <sac@splat>
11326 * libc/sys/go32/Makefile.in, clock.S, dir.c, setjmp.S, stat.c,
11327 longjmp.S: Upgraded.
11328 * libc/sys/go32/sys/setjmp.h: Upgraded.
11329 * libc/sys/go32/sys/go32.h, dpmi.h: New files.
11331 Fri Jan 20 18:33:18 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
11333 * configure.in: Add many entries to multidirs for mips targets.
11335 Wed Jan 18 10:19:25 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11337 * libm/math/e_jn.c (__ieee754_yn): Integrate change from fdlibm
11338 5.2 which fixes bug where jn(-1,x) is three times larger than
11340 * libm/math/ef_jn.c (__ieee754_ynf): Likewise.
11342 Sun Jan 15 21:48:58 1995 Steve Chamberlain <sac@splat>
11344 * libc/sys/w65/sys/syscalls.h: New file
11345 * libc/include/machine/ieeefp.h: W65 support.
11346 * libc/include/sys/config.h: Ditto.
11347 * libc/machine/w65/Makefile.in, cmpsi, divsi3, lshrhi.s, mulsi3.c,
11348 sdivhi3.s, smulhi3.s, udivhi3.s, umodhi3.s: New files.
11349 * libc/sys/w65/Makefile.in, crt0.c, syscalls.c, trap.c: New files.
11351 Wed Jan 11 15:59:01 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
11353 * libc/sys/Makefile.in (lib.a, crt0.o): Depend upon subs.
11355 Tue Jan 3 15:57:03 1995 Rob Savoye <rob@darkstar.cygnus.com>
11357 * Makefile.in, configure.in: Remove any references to the old
11360 Thu Dec 22 10:42:08 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
11362 * libc/syscalls/sysopen.c: Write _HAVE_STDC version of open, which
11363 uses ... in prototype.
11366 Wed Nov 30 08:39:42 1994 Ian Lance Taylor <ian@rtl.cygnus.com>
11368 * libc/sys/a29khif/sys/libconfig.h: Remove.
11369 * libc/sys/go32/sys/libconfig.h: Remove.
11370 * libc/sys/sun4/sys/libconfig.h: Remove.
11371 * libc/sys/sysvi386/sys/libconfig.h: Remove.
11372 * libc/sys/sysvnecv70/sys/libconfig.h: Remove.
11373 * libc/sys/sparc64/sys/libconfig.h: Remove.
11375 * libc/include/_ansi.h (_FLOAT_ARG, _FLOAT_RET): Don't define.
11376 * libc/include/sys/config.h (_FLOAT_ARG, _FLOAT_RET): Likewise.
11377 * libc/include/math.h: Change all uses of _FLOAT_RET and
11378 _FLOAT_ARG to float.
11379 * libm/test/math.c: Likewise.
11380 * testsuite/libm.sac/math.c: Likewise.
11381 * testsuite/libm.sac/working/math.c: Likewise.
11383 Wed Nov 23 22:39:28 1994 Steve Chamberlain (sac@jonny.cygnus.com)
11385 * libc/sys/sh/trap.s,crt0.s,setjmp.s: Renamed with .S so that
11386 gcc calls gas with endian option.
11387 * configure.in (sh): Build little endian version too.
11389 Wed Nov 16 18:21:45 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
11391 * configure.in: Configure big and little endian versions for MIPS
11394 Sat Nov 12 21:12:51 1994 Doug Evans <dje@canuck.cygnus.com>
11396 * libc/include/limits.h: Deleted.
11397 * libc/include/machine/limits.h: Deleted.
11399 Thu Nov 10 15:32:44 1994 Rob Savoye <rob@rtl.cygnus.com>
11401 * ChangeLog: Remove stub directory. This has all been rewritten
11402 and moved to devo/libgloss.
11404 Thu Sep 29 18:31:04 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
11406 * Makefile.in (dvi): Add to info target, use $@ in sub make.
11407 (docs): Merge into info target.
11408 * libm/Makefile.in (dvi): Add $(srcdir).
11409 * libm/math/Makefile.in (chobjs): Remove underscores from file
11410 names. Texinfo doesn't like them.
11411 (wacos.def, ...): Add explicit targets for all .def files.
11412 * libm/math/math.tex: Remove underscores from @include file names.
11413 * doc/Makefile.in (dvi): Add dummy target.
11414 * testsuite/Makefile.in (dvi): Add dummy target.
11416 Mon Sep 26 21:17:46 1994 Doug Evans (dje@canuck.cygnus.com)
11418 * Makefile.in (VERSION): Define. For net newlib releases.
11420 Thu Sep 22 19:01:26 1994 Doug Evans (dje@canuck.cygnus.com)
11422 * README: New file.
11424 Mon Sep 19 16:35:23 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
11426 * libc/stdlib/ecvtbuf.c (_gcvt): Undo last change.
11428 Mon Sep 19 11:44:23 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
11430 * libc/stdlib/setenv.c (_findenv): Declare.
11432 * libc/include/sys/fcntl.h: Fix declarations of open, creat, and
11433 fcntl to not use _EXFUN, and change string parameters to open and
11434 creat to be ``const char *''.
11435 * libc/sys/sparc64/sys/fcntl.h: Likewise.
11436 * libc/sys/sparc64/creat.c (creat): Make PATH const.
11437 * libc/syscalls/sysopen.c: Include <fcntl.h>.
11438 (open) Make _FILE const.
11439 * libc/sys/z8ksim/glue.c (_open): Make BUF const.
11440 (_creat): Make PATH const.
11441 * libc/sys/h8300hms/syscalls.c (_open): Make PATH const.
11442 * libc/sys/h8500hms/syscalls.c (_open): Likewise.
11443 * libc/sys/m88kbug/syscalls.c (open): Likewise.
11444 * libc/sys/sh/syscalls.c (_open): Likewise.
11445 * stub/shared/glue.c (open): Make BUF const.
11446 * stub/ex93x/syscalls.c (open): Make FILENAME const.
11448 Thu Sep 8 16:39:12 1994 Steve Chamberlain (sac@jonny.cygnus.com)
11450 * libc/include/errno.h: Add ENMFILE
11451 * libc/include/sys/config.h: Support Z8000.
11452 * libc/include/sys/signal.h: New signals for go32.
11453 * libc/machine/h8500/psi.S (__addpsir0r0): New function
11454 * libc/machine/h8500/cmpsi.S (__ucmppsi2): New function
11455 * libc/machine/sh/sdivsi3.s (__sdivsi3): Rewritten.
11456 * libc/stdlib/mallocr.c (_morecore_r): Minimum chunk
11457 size is variable, depending upon CHUNK_POWER.
11458 * libc/sys/go32/*.c: Upgrade to new go32 stuff.
11460 Sun Sep 4 17:42:43 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
11462 * libc/stdlib/ecvtbuf.c (_gcvt): Output '-' for negative numbers.
11464 Fri Sep 2 10:56:01 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
11466 * libc/include/_ansi.h (_PARAMS): Don't define if already defined.
11468 Wed Aug 24 11:11:03 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
11470 * configure.in: Change i[34]86 to i[345]86.
11472 * libc/include/math.h: Don't define HUGE_VAL if it is already
11475 Wed Aug 17 15:18:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
11477 * testsuite/libm.sac/test_erfc.c: Correct some result values.
11478 * testsuite/libm.sac/test_gammaf.c: Likewise.
11479 * testsuite/libm.sac/test_sin.c: Likewise.
11480 * testsuite/libm.sac/test_tanh.c: Likewise.
11482 Tue Aug 16 16:12:53 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
11484 * libc/include/machine/ieeefp.h: Don't try set endianness if it is
11485 already set. Define typedefs __int32_t and __uint32_t.
11486 * libc/include/math.h: Include <machine/ieeefp.h>.
11487 (union __dmath): Use __uint32_t.
11488 * libm/math/fdlibm.h, libm/math/*.c: Use __int32_t and __uint32_t
11489 instead of int and unsigned int.
11491 Thu Aug 11 15:16:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
11493 Replace the math library with the SunPRO fdlibm package.
11494 * libm/math: Completely changed all files.
11495 * libm/ieeefp: Remove contents and directory.
11496 * libm/Makefile.in (LIBM_FP_LIB): Remove.
11497 (SUBDIRS): Just set to math/lib.a.
11498 * libm/libm.texinfo: Updated for new library.
11499 * libc/include/math.h: Extensive changes for new math library.
11500 * libc/include/ieeefp.h (isnanf, isinff, finitef): Change argument
11501 from _FLOAT_ARG to float.
11502 (maxpowtwo, maxpowtwof): Don't declare.
11503 * configure.in (fp_dir): Removed; was always ieeefp anyhow.
11504 (libm_fp_lib): Removed.
11505 * Makefile.in (MATHOBJS_IN_LIBC): Updated with new file names.
11506 * testsuite/libm.paranoia/Makefile.in (check): Correct --srcdir
11507 argument to ${RUNTEST}.
11508 * testsuite/libm.sac/Makefile.in (LOCAL_CFLAGS): Define.
11510 (RUNTESTFLAGS): Set CC and CFLAGS.
11511 (TESTS): Remove test_log2 and test_log2f.
11512 (${TESTS}): Pass ${LOCAL_CFLAGS}, not ${CFLAGS}.
11513 * testsuite/libm.sac/math.c (run_vector_1): Use float, not
11514 _FLOAT_ARG, for single precision argument type.
11515 * testsuite/libm.sac/sac.exp: Treat an error in bit 63 as an
11516 expected failure. Close the input pipe.
11517 * testsuite/libm.sac/test.c (test_sok, test_iok, test_scok):
11518 Correct misspelling of inaccurate.
11519 (test_mok): Use ``inaccurate'', not ``wrong''.
11520 * testsuite/libm.sac/{test_acos.c, test_acosh.c, test_asin.c,
11521 test_asinh.c, test_atan.c, test_atanh.c, test_ceil.c,
11522 test_ceilf.c, test_cos.c, test_cosh.c, test_erf.c, test_erf.c,
11523 test_fabs.c, test_floor.c, test_floorf.c, test_fmod.c,
11524 test_fmodf.c, test_gamma.c, test_log1p.c, test_log1pf.c,
11525 test_yn.c): Correct many result values. Many are still wrong.
11527 * libc/stdlib/ecvtbuf.c (print_e): If _dtoa_r sets decpt to 9999,
11528 just copy the string.
11529 (_gcvt): Always return the buffer.
11531 Tue Aug 9 13:43:23 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11533 * bcopy.c: fixed documentation, bcopy was not specified by ANSI.
11535 Wed Aug 3 05:39:41 1994 D. V. Henkel-Wallace (gumby@cygnus.com)
11537 * libc/include/sys/reent.h: (struct _Bigint): add _reclaim
11539 (struct _reent): add _p5s, _cvtlen, _cvtbuf.
11540 (_reclaim_reent): declare new entry point.
11541 * libc/reent/reent.c (cleanup_glue, _reclaim_reent): new
11544 * libc/stdlib/mprec.c (Balloc): Keep track of every struct bigint
11545 ever allocated, so that we can later reclaim them all.
11546 (pow5mult): make reentrant.
11548 * libc/stdlib/ecvtbuf.c (fcvtbuf, ecvtbuf): extend these functions
11549 so that when given NULL as a buffer, return a pointer to static
11550 space in the rent structure. This is not documented behaviour;
11551 it's only to support ecvt and fcvt, which aren't ANSI anyway.
11552 * libc/stdlib/efgcvt.c (fcvt, ecvt) Use new functionality (and
11553 therefore become reentrant).
11555 * libc/stdlib/dtoastub.c: remove spurious inclusion of mprec.h.
11557 Mon Aug 1 16:52:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
11559 * libc/include/machine/ieeefp.h: Check _AM29K, not ___AM29K__.
11561 Thu Jul 28 15:40:21 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11563 * Makefile.in: Make link to libg.a after libc.a; this is needed
11564 for the testsuites to build executables when everything comes
11567 Mon Jun 27 17:14:29 1994 Bill Cox (bill@rtl.cygnus.com)
11569 * libc/Makefile.in: Add a VERSION variable so we can keep track.
11570 * libm/Makefile.in: Add a VERSION variable so we can keep track.
11572 Wed Jun 22 10:26:00 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
11574 * libc/include/stdio.h: Use __VALIST, not va_list.
11576 Tue May 17 15:43:28 1994 Bill Cox (bill@rtl.cygnus.com)
11578 * testsuite/config/unix-libm.exp, testsuite/lib/libm.exp,
11579 testsuite/libm.sac/execute.exp:
11580 Replace error proc calls with perror calls.
11582 Wed May 11 09:25:28 1994 Doug Evans (dje@canuck.cygnus.com)
11584 * libc/include/*.h: #include "_ansi.h" instead of <_ansi.h>.
11585 * libc/include/time.h: #define NULL as 0L.
11587 Mon May 9 18:41:20 1994 Doug Evans (dje@canuck.cygnus.com)
11589 * host/any (INCLUDES): Delete -I of gcc/include, gcc -B takes
11592 Mon May 9 18:39:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
11594 * libc/include/sys/signal.h: Check for __GO32__, not __i386__ and
11597 Sat May 7 17:07:36 1994 Steve Chamberlain (sac@cygnus.com)
11599 * configure.in (TARGET_CFLAGS): Set -O2 as default.
11600 (z8k-*-*): Use syscalls fake sys dir.
11601 * libc/sys/z8k/glue.c: Rename syscalls.
11602 * libc/sys/go32/Makefile.in: Use new routines.
11603 * libc/machine/Makefile.in: Fix typo in ln stuff.
11605 Thu May 5 13:47:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
11607 * Makefile.in (libm.a, crt0.o): Use cp if ln fails.
11608 * libc/Makefile.in (crt0.o): Likewise.
11609 * libc/machine/Makefile.in (lib.a): Likewise.
11610 * libc/sys/Makefile.in (lib.a, crt0.o): Likewise.
11612 All Makefile.in files: Added mostlyclean, realclean and distclean
11615 * Makefile.in: Don't bother to unexport XTRAFLAGS or
11616 XTRAFLAGS_FOR_TARGET, since they are no longer passed down from
11617 the top level Makefile.
11619 Tue Apr 26 15:10:34 1994 Doug Evans (dje@canuck.cygnus.com)
11621 * libc/sys/sparc64/sys/stat.h: New file.
11622 * libc/sys/sparc64/sys/time.h: New file.
11623 * libc/sys/sparc64/sys/types.h: New file.
11625 Fri Apr 22 12:58:24 1994 Stan Shebs (shebs@andros.cygnus.com)
11627 * stub/ex93x/crt0.s (start): Add code to clear bss.
11629 Wed Apr 13 10:34:58 1994 Doug Evans (dje@canuck.cygnus.com)
11631 * libc/include/sys/types.h (time_t): Properly protect inside
11632 #ifndef __time_t_defined.
11634 * libc/stdio/fileno.c: New file.
11635 * libc/stdio/Makefile.in (OFILES, CHEWOUT_FILES): Add fileno.
11636 (fileno.o): Add dependency.
11637 * libc/include/stdio.h (__sgetc): Rename never to _never.
11638 (fileno macro): Disable, needs to do CHECK_INIT first.
11640 Mon Apr 11 17:37:09 1994 Bill Cox (bill@rtl.cygnus.com)
11642 * testsuite/Makefile.in (EXPECT, RUNTEST): Set these for the check
11645 * testsuite/Makefile.in (check): Set TCL_LIBRARY for runtest.
11646 * testsuite/libm.paranoia/Makefile.in (check): Set TCL_LIBRARY for
11648 * testsuite/libm.sac/Makefile.in (check): Set TCL_LIBRARY for
11651 Sat Apr 9 16:18:09 1994 Doug Evans (dje@cygnus.com)
11653 * libc/sys/sparc64/sys/fcntl.h: New file, define solaris versions
11654 of the various constants.
11656 Thu Apr 7 21:19:07 1994 Mark Eichin (eichin@cygnus.com)
11658 * libc/include/math.h: #ifndef __math_68881 around things which
11659 conflict with the (gcc-provided) inline functions in
11660 gcc/ginclude/math-68881.h.
11662 Thu Apr 7 02:50:43 1994 Doug Evans (dje@cygnus.com)
11664 * libc/include/_syslist.h (_gettimeofday): Define.
11666 * libc/include/reent.h: #include <machine/types.h> to get _CLOCK_T_.
11667 (struct tms, timeval, timezone): Declare.
11668 (_gettimeofday_r, _times_r): Declare.
11669 * libc/include/time.h (_CLOCK_T_): Don't #undef. Remove
11670 #ifdef _CLOCK_T_ surrounding definition of clock_t.
11671 (time_t): Add multiple definition protection, __time_t_defined.
11672 * libc/include/sys/time.h: Don't #include <time.h>.
11673 Always define struct timezone (remove #ifndef _TIME_H_).
11674 * libc/include/sys/times.h (_CLOCK_T_): Don't #undef. Remove
11675 #ifdef _CLOCK_T_ surrounding definition of clock_t.
11676 * libc/reent/Makefile.in (OFILES): Add timer.o.
11677 (CHEWOUT_FILES): Add timer.def. Add timer.o/timer.c dependence.
11678 * libc/reent/timer.c: New file.
11679 * libc/time/clock.c: #include <reent.h>.
11680 (clock): Call _times_r instead of times.
11681 * libc/time/time.c (HAVE_GETTIMEOFDAY): Renamed from
11682 HAVE_GET_TIME_OF_DAY.
11683 Add comment regarding supporting OS routine(s) required (for docs).
11684 #include <reent.h>.
11685 (time): Call _gettimeofday_r instead of gettimeofday.
11686 * libc/time/asctime.c: Fix comment regarding supporting OS routines.
11687 * libc/time/ctime.c: Ditto.
11688 * libc/time/strftime.c: Ditto.
11689 * libc/sys/sparc64/Makefile.in (TEMPLATE_SFILES): Remove gettimeofday.
11690 (TEMPLATE_SFILES_R): Define here. Also define times.
11691 Add times_r.o/times.S dependence.
11692 (time2.c, junk.c): Deleted.
11693 * libc/sys/sparc64/time2.c: Deleted.
11694 * configure.in (sparc64-*-*): Define HAVE_GETTIMEOFDAY.
11696 * libc/stdio/mktemp.c (_getpid_r): Renamed from _getpid.
11697 * libc/stdio/tmpnam.c (_getpid_r): Ditto.
11698 * libc/sys/sparc64/junk.c: Deleted.
11700 Mon Mar 21 16:51:03 1994 Doug Evans (dje@canuck.cygnus.com)
11702 * libc/sys/sparc64/Makefile.in: Add times syscall.
11703 * libc/sys/sparc64/crt0.S: Handle stack bias at run time so we can
11704 be used with and without it. Add comment clarifying Medium/Anywhere
11705 model requirements.
11706 * libc/sys/sparc64/sigsetjmp.S (setjmp, longjmp): Add svr4 support.
11707 * libc/sys/sparc64/sys/syscall.h (SYS_times): Define for sunos4
11710 Sun Mar 20 15:51:47 1994 Doug Evans (dje@cygnus.com)
11712 * configure.in (target_cflags): Move init.
11713 (sparc64-*-*): Define HAVE_BLKSIZE.
11715 Wed Mar 9 10:44:52 1994 Doug Evans (dje@canuck.cygnus.com)
11717 * libc/include/sys/_types.h: New file.
11718 * libc/include/reent.h: #include it.
11719 Add comment describing REENTRANT_SYSCALLS_PROVIDED and
11720 MISSING_SYSCALL_NAMES.
11722 * libc/include/_syslist.h: Remove _raise.
11723 * libc/reent/signalr.c: New file.
11724 * libc/reent/Makefile.in: Compile it.
11725 * libc/signal/signal.c: Only use ifdef SIMULATED_SIGNALS.
11726 Add doc for raise and _raise_r.
11727 * libc/signal/raise.c: Only use ifndef SIMULATED_SIGNALS.
11728 (raise): Call _raise_r.
11729 (_raise_r): Call _getpid_r and _kill_r.
11730 * libc/stdlib/abort.c: Remove inclusion of stdio.h and _syslist.h.
11731 (abort): Loop forever calling raise and _exit.
11733 Mon Mar 7 14:40:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
11735 * configure.in: Remove extraneous echo.
11737 Thu Mar 3 12:14:22 1994 Doug Evans (dje@canuck.cygnus.com)
11739 * libc/sys/sparc64/sys/dirent.h (MAXNAMLEN): #undef to avoid
11740 collision with unistd.h, and fix for svr4.
11742 Wed Mar 2 13:55:25 1994 Doug Evans (dje@canuck.cygnus.com)
11744 * libc/stdio/local.h (_llicvt): Declare.
11745 (CVT_BUF_SIZE): Define (and buffer size from 512 to 128).
11746 * libc/stdio/cvt.c: Include "local.h" to get CVT_BUF_SIZE.
11748 (_sicvt): Fix function header (`value' is short).
11749 * libc/stdio/vfprintf.c (_vfprintf_r): Use CVT_BUF_SIZE.
11750 Add printing of long long's support.
11751 Add printing of 8 byte pointer support.
11753 Fri Feb 11 21:52:11 1994 Steve Chamberlain (sac@sphagnum.cygnus.com)
11755 * libc/sys/sh/syscalls.c (pipe, execv, wait, fork, utime, chown,
11756 stat, chmod): New hooks.
11757 (sbrk): Abort if stack and heap collide.
11758 * libc/machine/sh/udivsi3, libc/machine/sh/sdivsi3 Modified to
11759 shortcut when given small args.
11760 * libc/machine/sh/setjmp.s: Rewritten.
11761 * libc/machine/sh/strcmp.s (strcmp): New function takes advantage
11762 of cmp/str instruction.
11764 Wed Feb 9 15:12:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
11766 * configure.in: Accept powerpc* as a CPU type, using fp_dir ieeefp
11767 and machine_dir powerpc.
11768 * libc/include/machine/setjmp.h, libc/include/machine/ieeefp.h:
11769 Add cases for __powerpc__.
11770 * libc/machine/powerpc/Makefile.in, libc/machine/powerpc/setjmp.S:
11773 * libc/include/stdio.h (_iprintf_r): Declare correctly.
11775 Thu Jan 27 10:36:27 1994 Steve Chamberlain (sac@cygnus.com)
11777 * libc/stdlib/callocr.c: New file with _calloc_r in it.
11778 * libc/stdlib/calloc.c (calloc_r): Now in callocr.c
11780 Thu Jan 20 15:14:37 1994 Doug Evans (dje@canuck.cygnus.com)
11782 * libc/stdlib/ecvtbuf.c (print_f): Remove local "done".
11783 (print_e): More comments to describe args, etc.
11784 "type" arg may now be 'g' or 'G' for %g/G format --> remove
11786 (_gcvt): Remove locals decpt, sign, end, p, done.
11787 More comments for print_e invocation.
11788 Pass "type" to print_e as is (g/G).
11790 Wed Jan 19 16:34:18 1994 Rob Savoye (rob@darkstar.cygnus.com)
11792 * stub/shared/m68k-crt0.S: Changed so it compiles (and runs) on a
11795 Mon Jan 17 15:41:53 1994 Doug Evans (dje@canuck.cygnus.com)
11797 * libc/stdlib/mallocr.c (_morecore_r): Fix aligning of pointer so it
11798 works with any sized pointer, including ones bigger than ints and
11801 Thu Jan 6 14:53:21 1994 Doug Evans (dje@canuck.cygnus.com)
11803 * libc/sys/sparc64/{time2.c,utime.S,utime2.c}: New files.
11805 Sat Dec 11 16:17:20 1993 Steve Chamberlain (sac@thepub.cygnus.com)
11807 * libc/include/stdlib.h (_calloc_r): Add prototype.
11808 * libc/machine/h8500/negsi2.c: New file.
11809 * libc/machine/h8500/divsi3.c: Prevent overflow when dividing v
11810 large unsigned numbers.
11811 * libc/machine/h8500/cmpsi.c: Add cmppsi.
11812 * libc/stdlib/mallocr.c (morecore_r): Fix aligning pointers so it
11813 works when sizeof(size_t) != sizeof(char *).
11814 * libc/stdlib/mprec.c (Balloc): Call calloc rather than malloc to
11816 * libc/stdlib/mprec.h: Define Just_16 if generating for z8000.
11818 Mon Dec 6 15:59:53 1993 Doug Evans (dje@rtl.cygnus.com)
11820 * libc/include/assert.h (assert): Handle -traditional.
11822 Tue Nov 16 15:49:24 1993 Mark Eichin (eichin@cygnus.com)
11824 * Makefile.in: added ; after every "fi" and "done" that wasn't at
11825 the end of a line (ie. anything before a backslash continuation)
11826 so that bash handles them.
11828 Tue Nov 16 12:31:57 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
11830 * libc/sys/go32/lstat.s: new file, copied from stat.s and renamed
11833 Mon Nov 15 15:50:43 1993 Steve Chamberlain (sac@jonny.cygnus.com)
11835 * libc/sys/sh/crt0.s, libc/sys/sh/trap.s,
11836 libc/machine/sh/sdivsi3.s, libc/machine/sh/setjmp.s,
11837 libc/machine/sh/udivsi3.s: Use new calling convention.
11839 Mon Nov 15 15:25:38 1993 Mark Eichin (eichin@cygnus.com)
11841 * libc/include/sys/unistd.h, libc/include/sys/stat.h: ANSI-fy
11842 chmod, access, chdir, chown by making _path const. Also fix _amode
11845 Fri Nov 12 20:25:28 1993 Mark Eichin (eichin@cygnus.com)
11847 * libc/sys/a29khif/_tmpnam.s (_tmpnam): renamed function to
11848 _khif_tmpnam, because it doesn't comply with ANSI but may be
11849 useful anyway. Real tmpnam was already in libc/stdio, and was
11850 colliding with this one (pr 2176.)
11851 * libc/sys/a29khif/stubs.s (tmpnam): removed tmpnam. This file is
11852 the wrong idea anyhow.
11854 Mon Nov 8 07:50:16 1993 Doug Evans (dje@canuck.cygnus.com)
11856 * configure.in: Remove h8300h, we have multilib now.
11858 Fri Nov 5 12:37:27 1993 Mark Eichin (eichin@cygnus.com)
11860 * libc/string/strcasecmp.c, libc/string/strncasecmp.c: new
11861 functions, to get preference over the ones in libiberty (since we
11862 provide correct declarations in <string.h>.
11863 * libc/string/Makefile.in: add support for strncasecmp,
11866 Fri Nov 5 09:05:45 1993 D. V. Henkel-Wallace (gumby@blues.cygnus.com)
11868 * Change netware config not to look for cpu explicitly.
11870 Thu Nov 4 14:21:25 1993 Doug Evans (dje@canuck.cygnus.com)
11872 * libc/sys/sparc64/{creat.c,junk.c}: New files.
11873 * libc/sys/sparc64/Makefile.in: Add dependencies.
11875 Wed Nov 3 10:42:49 1993 Doug Evans (dje@canuck.cygnus.com)
11877 * configure.in: Clean up v9 a bit, new "os" aoutv8.
11879 Tue Nov 2 10:00:44 1993 D. V. Henkel-Wallace (gumby@cygnus.com)
11881 * libc/include/sys/reent.h: make structure smaller by allocating
11882 some stuff when needed.
11883 * libc/signal/signal.c: allocate as needed
11884 * libc/stdio/findfp.c,stdio/local.h: ditto
11885 * libc/stdlib/mprec.c: ditto
11887 * libc/time/localtime.c: don't return a dangling stack ptr.
11889 Wed Sep 29 20:42:34 1993 Rob Savoye (rob@darkstar.cygnus.com)
11891 * stub/mvme135/crt0.S, stub/mvme135/glue.c: Moved to stub/generic.
11893 Wed Sep 29 16:27:49 1993 K. Richard Pixley (rich@sendai.cygnus.com)
11895 * libc/include/stdio.h (__sputc): comment out static inline which
11896 confuses coff toolchains.
11898 Thu Sep 2 16:31:36 1993 Mark Eichin (eichin@cygnus.com)
11900 * libc/sys/a29khif/{_close.s, _fstat.s, _lseek.s, _sbrk.s,
11901 _write.s, getpid.c, kill.c, read.s}:
11902 * libc/sys/a29khif/stubs.s: eliminated stubs that already go
11903 through the syscalls directory.
11905 Fri Oct 29 13:59:58 1993 Jeffrey Wheat (cassidy@cygnus.com)
11907 * configure.in: fixed double quote gotcha.
11909 Wed Oct 27 15:27:09 1993 Rob Savoye (rob@darkstar.cygnus.com)
11911 * stub/ex931: stub library for sparclite board.
11912 * stub/idp: Renamed from mc68ec. Added contructor table
11913 stuff to linker script.
11914 * stub/mvme135: Renamed from m68kmvme. Added contructor table
11915 stuff to linker script.
11917 Tue Oct 26 17:01:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
11919 * configure.in: Configure testsuites only if they exist.
11921 Tue Oct 26 12:37:11 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
11923 * configure.in: Don't set machine_dir for i386 until there is
11924 something in libc/machine/i386 to compile. For i[34]86-*-netware*
11925 use sys/netware, don't use signal, define NO_EXEC, ABORT_PROVIDED,
11926 CLOCK_PROVIDED and MALLOC_PROVIDED.
11928 * libc/sys/netware: New directory. Contains simplistic and
11929 probably incorrect stubs for NetWare. Should be enough to load
11931 * libc/sys/netware/crt0.c, libc/sys/netware/environ.c,
11932 libc/sys/netware/getpid.c, libc/sys/netware/link.c: New NetWare
11935 * libc/reent/execr.c: Don't use if NO_EXEC is defined.
11936 * libc/reent/sbrkr.c: Don't use if MALLOC_PROVIDED is defined.
11937 * libc/stdlib/abort.c: Don't use if ABORT_PROVIDED is defined.
11938 * libc/time/clock.c: Don't use if CLOCK_PROVIDED is defined.
11940 Mon Oct 25 16:48:08 1993 Roland H. Pesch (pesch@cygnus.com)
11942 * testsuite/Makefile.in: add "docs" dummy target for consistency
11943 with rest of newlib; turn "info" and "install-info" into dummy
11944 targets, since they wouldn't have worked. (Depended on
11945 nonexistent "doc" subdir.)
11947 Fri Oct 22 20:37:32 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
11949 * configure.in: handle mips* instead of mips
11951 Thu Oct 21 08:57:24 1993 Ian Lance Taylor (ian@cygnus.com)
11953 * libc/include/sys/dirent.h: New file. If it is not overridden by
11954 a version of libc/sys/*/sys/dirent.h, it includes the next
11955 <dirent.h> file in case there is one lurking somewhere.
11957 Fri Oct 15 14:17:40 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
11959 * libc/stdlib/strtoul.c (_strtoul_r): Several changes for ANSI
11960 compliance, namely: Accept a minus sign. Consider a single 0 with
11961 a radix of 0 as being a conversion. Determine overflow correctly.
11962 If an overflow occurs, set *ptr to the end of the number, not the
11964 * lib/stdlib/strtol.c (_strtol_r): Determine overflow correctly.
11966 Thu Oct 14 21:49:52 1993 Doug Evans (dje@canuck.cygnus.com)
11968 * libc/machine/h8300/divsi3.S (divmodsi4): Fix h8300h case.
11970 Fri Oct 1 17:17:34 1993 Doug Evans (dje@canuck.cygnus.com)
11972 * Makefile.in (INSTALL): Use $srcrootpre.
11973 (crt0.o): Replace $< with $(CRT0_DIR)/$(CRT0), Sun make
11975 * libc/Makefile.in (crt0.o): Spell out $<, Sun make can't handle
11977 * libc/sys/Makefile.in (crt0.o, lib.a): Ditto.
11978 * stub/Makefile.in (crt0.o, TARGETLIB): Ditto.
11979 * libc/sys/sparc64/Makefile.in (isatty.o): Sun VPATH lossage.
11980 * libm/math/Makefile.in (matherr.o): Ditto.
11982 Thu Sep 30 11:09:17 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
11984 * configure.in: Build multidirs for z8k.
11985 * libc/include/stdlib.h (_strtoul_r): add prototype.
11986 * libc/include/machine/limits.h: Get INT_MIN right for all the z8k family.
11987 * libc/include/machine/setjmp.h: Add for z8k.
11988 * libc/machine/z8k/{mulsi.o, udivsi3.o, umodsi3.o, modsi3.o} obsolete.
11989 * libc/sys/z8ksim/glue.c: tidy up.
11991 Mon Sep 20 14:04:46 1993 Doug Evans (dje@canuck.cygnus.com)
11993 * libc/unix/{execl.c execle.c execlp.c execv.c execvp.c}:
11994 New files. Requires execve system call.
11995 * libc/unix/Makefile.in: Use them.
11996 * libc/sys/sparc64/{execl.c execle.c execlp.c execv.c execvp.c}:
11997 Deleted, moved to libc/unix.
11998 * libc/sys/sparc64/Makefile.in: Remove them.
12000 Mon Sep 20 10:38:32 1993 Doug Evans (dje@canuck.cygnus.com)
12002 * libc/sys/sparc64/{template.S template_r.S}: New files.
12003 * libc/sys/sparc64/Makefile.in: Build source for trivial syscalls
12005 * libc/sys/sparc64/{chdir.S chmod.S close.S dup.S fcntl.S
12006 fork.S fstat.S lseek.S link.S mkdir.S open.S pipe.S read.S rmdir.S
12007 umask.S unlink.S wait4.S write.S}: Removed, now built from
12010 Sun Sep 19 14:52:57 1993 Doug Evans (dje@canuck.cygnus.com)
12012 * libc/time/time.c: #include <_ansi.h>.
12014 Sun Sep 19 13:43:25 1993 Doug Evans (dje@canuck.cygnus.com)
12016 * configure.in (sparc64-*-*): Remove -D__SIZE_TYPE__.
12018 Mon Sep 13 13:52:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
12020 * configure.in: match m8* rather than m88k so that m88110 is
12021 recognized as well.
12023 Tue Sep 7 12:19:32 1993 Doug Evans (dje@canuck.cygnus.com)
12025 * libc/sys/h8300hms/{Makefile.in, _exit.c, misc.c}:
12026 Renamed exit.c to _exit.c to avoid collision with stdlib/exit.c.
12029 * configure.in: Add multilib support to h8300.
12031 Mon Sep 6 14:07:06 1993 Doug Evans (dje@canuck.cygnus.com)
12033 * libc/stdlib/abort.c (abort): Remove _VOLATILE from return type.
12034 * libc/include/_ansi.h (_ATTRIBUTE): New macro for __attribute__.
12035 * libc/include/stdlib.h (exit, abort): Add noreturn attribute.
12037 Mon Sep 6 14:24:18 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
12039 * configure.in: Corrected multidirs for sparc target.
12041 Mon Aug 30 15:56:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
12043 Support for building newlib multiple times with different
12045 * configure.in: Only configure doc at top level. Set multidirs
12046 when appropriate for target, unless not at top level. If
12047 multidirs is set, independently configure each subdirectory.
12048 Adjust TOP, MULTIDIRS and MULTISUBDIR appropriately in Makefile.
12049 * Makefile.in (MULTIDIRS, MULTISUBDIR): New variables,
12050 automagically set by configure.in.
12051 (all): If MULTIDIRS is set, build multiple copies of libraries.
12052 (install): If MULTIDIRS is set, install multiple copies of
12053 libraries. Install in $(tooldir)/lib/$(MULTISUBDIR). If
12054 MULTISUBDIR is set, don't bother to install header files.
12055 * host/any (INCLUDES, CHEW): Use $(SRCTOP) rather than $(TOP) from
12057 * stub/configure.in: Set MULTISUBDIR appropriately.
12058 * stub/Makefile.in (install): Install in
12059 $(tooldir)/lib/$(MULTISUBDIR).
12060 * All Makefile.in files: Define SRCTOP as well as TOP.
12062 Mon Aug 30 10:34:24 1993 Doug Evans (dje@canuck.cygnus.com)
12064 * libc/machine/h8300/{mulhi3.S, divhi3.S}: Comment out if h8300h.
12065 * libc/machine/h8300/{mulsi3.S, divsi3.S}: Add h8300h support.
12067 Thu Aug 26 19:38:12 1993 Doug Evans (dje@canuck.cygnus.com)
12069 * libc/sys/h8300hms/exit.c (_exit): New function.
12071 Wed Aug 25 16:31:48 1993 K. Richard Pixley (rich@sendai.cygnus.com)
12073 * configure.in: recognize m88110.
12075 Fri Aug 20 16:46:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
12077 * libc/sys/m88kbug/crt0.c: pretty up, remove extraneous comments,
12078 prototype main and call with args.
12080 Fri Jul 30 16:52:47 1993 K. Richard Pixley (rich@cygnus.com)
12082 First real try at system traps for m88k-bug.
12083 * libc/sys/m88kbug/syscalls.c: many changes. Convert from stubs
12084 to real trap calls.
12085 * libc/sys/m88kbug/sys/systraps.h: new file.
12087 Tue Jul 27 16:31:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
12089 Patches to fix info building when target does not use sys
12091 * libc/Makefile.in (targetdep.tex): add sys.tex separately.
12092 * libc/sys.tex, libc/sys/sys.tex: moved from libc/sys/sys.tex to
12094 * libc/sys/Makefile.in (doc): do nothing.
12096 Mon Jul 26 17:08:11 1993 K. Richard Pixley (rich@sendai.cygnus.com)
12098 * libc/Makefile.in (CRT0): new macro.
12099 (all): depend on $(CRT0) rather than crt0.o.
12101 * configure.in: fix libc_sys_dir -> libc_sys_lib thinko.
12102 do not default crt0, instead, set crt0 and crt0_dir based on
12103 sys_dir and stub_dir.
12105 * Makefile.in (CRT0_DIR): new macro.
12106 (all): depend on $(CRT0) rather than crt0.o which may not exist.
12107 (crt0.o): depend on $(CRT0_DIR)/$(CRT0) rather than simply
12109 ($(CRT0)): recur by cd'ing into $(CRT0_DIR).
12111 Sun Jul 25 17:51:51 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
12113 * testsuite/lib/libm.exp:
12114 added code to support compiling and linking of tests for
12115 libm.sac (paranoia to be added next) and processing the
12116 pass or failure of the tests.
12118 * testsuite/config/unix-libm.exp:
12119 platform specific proc's for dealing with compiler, linker
12120 and the way we execute and process the test results.
12122 * testsuite/libm.sac/execute.exp:
12123 generic framework for the sac tests. the config and lib
12124 expect code for specific platforms tie it all together.
12126 * testsuite/libm.sac/test_is.c:
12127 changed the output of the test to be consistant with the
12128 other tests. parsing of pass nad fail messages is now fixed.
12130 Fri Jul 23 19:20:07 1993 Per Bothner (bothner@kalessin)
12132 * libc/include/{assert.h, ctype.h, dirent.h, errno.h, fastmath.h,
12133 locale.h, math.h, pwd.h, reent.h, setjmp.h, signal.h, stdio.h,
12134 stdlib.h, string.h, termios.h, time.h, utime.h, utmp.h}: For C++:
12135 #ifdef __cplusplus, surround by extern ""C { ... }.
12136 * libc/include/assert.h: Do *not* protect assert.h against
12137 multiple inclusion! Also, #undef it before #define, to allow
12139 * libc/include/stdio.h (getlogin, cuserid): Removed. These
12140 should be only in unistd.h.
12142 * libc/include/sys/{fcntl.h, reent.h, stat.h, time.h, times.h,
12143 unistd.h}: For C++: #ifdef __cplusplus, surround by extern ""C {
12146 Fri Jul 23 10:15:33 1993 Doug Evans (dje@canuck.cygnus.com)
12148 * libc/machine/sparc/Makefile.in: Must create a library, even
12151 Wed Jul 21 16:00:37 1993 K. Richard Pixley (rich@sendai.cygnus.com)
12153 * configure.in: set machine_dir for m88k. edit crt0 definition
12156 * Makefile.in, libc/Makefile.in (crt0): pull up from lower directories.
12158 * libc/Makefile.in (all): also build crt0.o.
12160 * libc/machine/i386/Makefile.in, libc/machine/sparc/Makefile.in,
12161 libc/machine/z8k/Makefile.in, libm/Makefile.in (clean): no need
12164 * libc/machine/m88k/Makefile.in (TOP, TARGETLIB): removed.
12165 (all): reworked to build in place.
12166 (clean): remove lib.a
12167 (Makefile): remove redundant ./, call $(SHELL) rather than sh.
12169 * libc/sys/m88kbug/crt0.c (start): renamed to _start.
12170 (_start): key off edata rather than _start_bss.
12172 Wed Jul 21 14:29:47 1993 david d `zoo' zuhn (zoo@cygnus.com)
12174 * libc/include/sys/unistd.h, libc/include/reent.h,
12175 libc/reent/sbrkr.c: change sbrk to return void* instead of char*.
12177 Tue Jul 20 13:19:18 1993 K. Richard Pixley (rich@sendai.cygnus.com)
12179 * libm/Makefile.in, libc/Makefile.in ($(SUBDIRS)): dollar escape a dollar sign.
12181 * Makefile.in (libc.a): break into two rules, one for libc.a and
12182 one for libc/libc.a. Force subdirs current before rebuilding
12184 (libm.a): break into two rules, one for libm.a and one for
12185 libm/libm.a. Force subdirs current before rebuilding library.
12187 * libc/Makefile.in (SUBLIBS): fix typo.
12189 * libc/sys/Makefile.in (all): force descent into subdirs, then
12190 rebuild library iff out of of date.
12192 Fri Jul 16 17:47:57 1993 K. Richard Pixley (rich@sendai.cygnus.com)
12194 Rework so that library is built and then finished rather than
12195 being built on each invocation of make.
12197 * host/any (machine_dir, sys_dir, signal_dir): these are not
12198 shared and have been moved to their associated Makefile.in's.
12199 (AR_FLAGS): switch to qc which is faster.
12200 * configure.in: no longer assign machine_dir for m88k. set
12201 stub_dir, stub_lib, & crt0 for m68k*-unknown-{aout,coff}. If
12202 stub_dir set, then add to configdirs. add comment about silly
12204 (configdirs): drop stub. It will be added only
12206 (libm_fp_lib, libc_unix_lib, libc_signal_lib, libc_machine_lib,
12207 libc_sys_dir, fake_sys_dir, libc_fake_sys_lib, stub_dir,
12208 stub_lib, crt0): new variables for tailoring lower level
12209 makefiles. Assign accordingly and edit into makefiles.
12210 * libm/Makefile.in: updated copyright.
12211 (TARGETLIB): removed.
12212 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir.
12213 (SUBDIRS): removed TARGETDEP_DIRS.
12214 (LIBM_FP_LIB, SUBLIBS): new macros.
12216 (force): new target to force rebuilds.
12217 (Makefile): call $(SHELL) rather than sh. drop redundant ./
12218 * libc/sys/a29khif/Makefile.in, libc/sys/decstation/Makefile.in,
12219 libc/sys/go32/Makefile.in, libc/sys/h8300hms/Makefile.in,
12220 libc/sys/h8500hms/Makefile.in, libc/sys/m88kbug/Makefile.in,
12221 libc/sys/sh/Makefile.in, libc/sys/sparc64/Makefile.in,
12222 libc/sys/sun4/Makefile.in, libc/sys/sysvi386/Makefile.in,
12223 libc/sys/sysvnecv70/Makefile.in, libc/sys/z8ksim/Makefile.in,
12224 stub/m68kmvme/Makefile.in: updated copyright.
12225 (TARGETLIB, TARGETCRT0, CRT0): macros removed.
12226 (all): reworked. made this the default rule.
12227 (clean): also remove lib.a.
12228 (Makefile): call $(SHELL) rather than sh. drop redundant ./
12229 * stub/Makefile.in: updated copyright.
12230 (TARGETLIB, TARGETCRT0, CRT0, TOP): removed.
12231 (stub_lib): new macro.
12232 (FLAGS_TO_PASS): removed TARGETLIB, stub_dir, TARGETCRT0. Added
12235 (clean, install): assume stub_dir exists.
12236 (Makefile): depend on configure.in. call $(SHELL) rather than
12237 sh. drop redundant ./
12238 * stub/configure.in (stublib): new macro, assign it, edit it into
12240 * Makefile, libc/Makefile.in, doc/Makefile.in, libc/sys/Makefile.in:
12243 (Makefile): call $(SHELL) rather than sh. drop redundant ./
12244 * libc/Makefile.in (TARGETCRT0): removed.
12245 (FLAGS_TO_PASS): dropped TARGETLIB, machine_dir, sys_dir,
12247 (SUBDIRS): drop TARGETDEP_DIRS.
12248 (LIBC_SIGNAL_LIB, LIBC_SYS_LIB, LIBC_MACHINE_LIB, LIBC_UNIX_LIB,
12249 LIBC_FAKE_SYS_LIB, SUBLIBS): new macros for configuration.
12250 (force): new target to force rebuilds.
12251 * libc/sys/Makefile.in (TARGETCRT0, sys_dir): removed.
12252 (FLAGS_TO_PASS): TARGETLIB, machine_dir, sys_dir, TARGETCRT0
12254 (clean): assume sys_dir always exists.
12255 * libm/test/Makefile.in (Makefile): call $(SHELL) rather than sh.
12257 * libc/ctype/Makefile.in, libc/errno/Makefile.in,
12258 libc/locale/Makefile.in, libc/machine/Makefile.in,
12259 libc/machine/a29k/Makefile.in, libc/machine/h8300/Makefile.in,
12260 libc/machine/h8500/Makefile.in, libc/machine/i386/Makefile.in,
12261 libc/machine/i960/Makefile.in, libc/machine/m68k/Makefile.in,
12262 libc/machine/mips/Makefile.in, libc/machine/necv70/Makefile.in,
12263 libc/machine/sh/Makefile.in, libc/machine/sparc/Makefile.in,
12264 libc/machine/z8k/Makefile.in, libc/reent/Makefile.in,
12265 libc/signal/Makefile.in, libc/stdio/Makefile.in,
12266 libc/stdlib/Makefile.in, libc/string/Makefile.in,
12267 libc/sys/Makefile.in, libc/syscalls/Makefile.in,
12268 libc/time/Makefile.in, libc/unix/Makefile.in,
12269 libm/ieeefp/Makefile.in, libm/math/Makefile.in: updated copyright.
12270 (TARGETLIB): removed.
12272 (clean): also remove lib.a.
12273 (Makefile): call $(SHELL) rather than sh. drop redundant ./
12274 * Makefile.in: (machine_dir, sys_dir, stub_dir, stub_lib, CRT0):
12276 (SUBDIRS): moved to follow frag inclusion, change stub to
12278 (FLAGS_TO_PASS): removed machine_dir, sys_dir, signal_dir which
12279 are now set in the libc Makefile.
12280 * libc/machine/Makefile.in (TARGETCRT0, machine_dir): removed.
12281 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir,
12283 (force): new target to force rebuilds.
12284 * stub/configure.in: determine and set stub_lib for for Makefile.
12286 Thu Jul 15 12:01:27 1993 Doug Evans (dje@canuck.cygnus.com)
12288 * libc/sys/h8300hms/Makefile.in: Make `all' the default target.
12289 crt0.s renamed to crt0.S.
12290 * libc/sys/h8300hms/crt0.S: Add h8/300h support.
12292 * libc/machine/h8300/Makefile.in: Make `all' the default target.
12293 * libc/machine/h8300/{cmpsi.S,ucmpsi.S}: #ifdef out entire file if
12295 * libc/machine/h8300/defines.h: Add macros to handle pointers for
12296 h8300 (16 bits) and h8300h (32 bits).
12297 * libc/machine/h8300/{divsi3.S,mulsi3.S,memcpy.S,memset.S,
12298 reg_memcpy.S,reg_memset.S,strcmp.S}: Add h8300h support.
12300 Thu Jul 15 10:13:29 1993 Ian Lance Taylor (ian@cygnus.com)
12302 * libc/machine/m88k/setjmp.S, Makefile.in: New files; a simple
12303 implementation of setjmp and longjmp for the m88k.
12304 * libc/include/machine/setjmp.h: Added __m88000__ case.
12306 Wed Jul 14 10:10:30 1993 Doug Evans (dje@canuck.cygnus.com)
12308 * configure.in: Recognize h8300h as variant of h8300.
12310 Tue Jul 13 12:24:11 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
12312 * libc/include/sys/unistd.h (read, write): get prototypes right.
12313 (sbrk): New prototype.
12314 * libc/reent/sbrkr.c (sbrkr): Use correct sbrk prototype.
12315 * libc/stdio/local.h: Include unistd.h.
12316 * libc/machine/h8300/syscalls.c: Names have changed.
12318 Mon Jul 12 18:08:42 1993 K. Richard Pixley (rich@cygnus.com)
12320 * configure.in: add sys_dir assignment for m88k-bug.
12322 Thu Jul 8 09:16:21 1993 Doug Evans (dje@canuck.cygnus.com)
12324 * libc/sys/sparc64/sys/syscallasm.h: New macros to handle either
12326 * libc/sys/sparc64: all *.S files: Use new macros.
12327 * libc/sys/sparc64/isatty.c: New file.
12328 * libc/sys/sparc64/Makefile.in: Stop using /lib/libc.a for
12329 functions beyond what newlib provides.
12331 Thu Jul 8 09:11:28 1993 Doug Evans (dje@canuck.cygnus.com)
12333 * libc/include/sys/stat.h: Move st_atime so not doubly defined for
12336 Thu Jul 8 09:09:16 1993 Doug Evans (dje@canuck.cygnus.com)
12338 * libc/include/machine/ieeefp.h: Add support for h8/300h.
12340 Fri Jul 2 10:11:20 1993 K. Richard Pixley (rich@cygnus.com)
12342 * configure.in: add m88k.
12343 * libc/include/machine/ieeefp.h: add case for m88k. Also add
12344 sanity check so no one else need ever chase what I did to find
12347 * libm/math/Makefile.in (FAKEC): added atanf.c log1pf.c scalbnf.c.
12349 Fri Jul 2 09:15:21 1993 Ian Lance Taylor (ian@cygnus.com)
12351 * doc/makedoc.c: Include <ctype.h>.
12353 Wed Jun 30 09:35:06 1993 Doug Evans (dje@canuck.cygnus.com)
12355 * libc/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
12356 * libc/sys/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
12357 * libc/machine/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
12359 * libm/test/Makefile.in (all): Link with ../../lib[cm].a.
12361 Sun Jun 27 17:05:20 1993 Doug Evans (dje@sphagnum.cygnus.com)
12363 * libc/include/errno.h (ENOSYS): Added.
12365 * libc/unix/getpwd.c (getcwd): Fix typo (_up -> up).
12367 Mon Jun 21 09:03:32 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
12369 * libc/stdio/fflush.c (fflush): Check for reent struct
12371 * libc/stdio/fdopen.c (fdopen): Avoid namespace conflict.
12373 Fri Jun 18 16:06:05 1993 Mark Eichin (eichin@rtl.cygnus.com)
12375 * libc/stdlib/dtoastub.c: new file -- move user callable "dtoa"
12376 out of dtoa.c so it doesn't pollute the namespace.
12377 * libc/include/_syslist.h: new file -- mappings from _function to
12378 function, for systems where we can't win (by default, all of them,
12379 until we start updating system calls.)
12380 * libc/syscalls: new directory -- stubs for exporting _function
12381 names as unmodified function names.
12382 * libc/configure.in: add MISSING_SYSCALL_NAMES to enable
12383 _syslist.h on all platforms by default, but put hooks in for
12384 fake_sys_dir so we can include it when we've renamed the system
12386 * libc/reent/execr.c libc/reent/filer.c libc/reent/fstatr.c
12387 libc/reent/linkr.c libc/reent/sbrkr.c libc/reent/statr.c
12388 libc/signal/raise.c libc/signal/signal.c libc/stdio/fdopen.c
12389 libc/stdio/mktemp.c libc/stdio/tmpnam.c libc/stdlib/abort.c
12390 libc/stdlib/system.c libc/unix/getcwd.c libc/unix/getlogin.c
12391 libc/unix/getpass.c libc/unix/getut.c libc/unix/ttyname.c: change
12392 non ANSI functions to call _function.
12394 Wed Jun 9 09:48:26 1993 Ian Lance Taylor (ian@cygnus.com)
12396 * libc/stdlib/strtoul.c (_strtoul_r): Handle leading 0 correctly
12397 when base 16 is specified. Don't accept non-digits if radix > 10.
12399 Thu Jun 3 10:01:15 1993 Doug Evans (dje@canuck.cygnus.com)
12401 * libc/include/math.h: Rename xxx_r fns to _xxx_r.
12403 Wed Jun 2 16:54:16 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
12405 * libc/include/sys/stat.h: Surround text after #endif with
12408 Wed Jun 2 12:47:32 1993 Ian Lance Taylor (ian@cygnus.com)
12410 * libc/stdlib/mallocr.c: If MALLOC_PROVIDED is defined, just make
12411 _malloc_r, _realloc_r, and free_r call the corresponding
12412 non-reentrant functions.
12414 * libm/math/modf.c (modf): We now take the address of ipart, so
12415 don't make it a register variable.
12417 Tue Jun 1 18:25:54 1993 Doug Evans (dje@canuck.cygnus.com)
12419 * libm/math/*: Rename all xxx_r fns to _xxx_r.
12421 Wed May 26 22:06:35 1993 Roland H. Pesch (pesch@cygnus.com)
12423 * libc/libc.texinfo and embedded docn throughout: formatting
12424 improvements, minor rephrasing for clarity, and improved
12427 Sun May 23 17:29:49 1993 Steve Chamberlain (sac@thepub.cygnus.com)
12429 * libm/ieeefp/infinity.c (maxpowtwof): Fix initialzation bug.
12431 * libc/stdio/cvt.c (_licvt): Print the right value on machines
12432 where sizeof(int) != sizeof(long).
12434 Fri May 21 22:09:32 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
12436 * libc/reent/execr.c, libc/reent/filer.c, libc/reent/linkr.c,
12437 libc/reent/sbrkr.c, libc/reent/statr.c, libc/stdio/tmpnam.c,
12438 libc/stdlib/atol.c, libc/stdlib/rand.c, libc/string/strpbrk.c,
12439 libc/string/strspn.c, libm/ieeefp/isnan.c, libm/math/bessel.c,
12440 libm/math/matherr.c: changes for better docn formatting (info).
12442 * libc/libc.texinfo, libc/ctype/ctype.tex, libc/locale/locale/tex,
12443 libc/reent/reent.tex, libc/signal/signal.tex,
12444 libc/stdio/stdio.tex, libc/stdlib/stdlib.tex,
12445 libc/string/strings.tex, libc/sys/sys.tex, libc/time/time.tex,
12446 libm/libm.texinfo, libm/ieeefp/ieeefp.tex, libm/math/math.tex: use
12447 makeinfo node defaulting to get better Info file node structure.
12448 (Requires recent sac change to doc/makedoc.c and doc/doc.str.)
12449 Also include a few formerly missing sections (subroutines).
12451 * doc/doc.str: delete fossil expansion for "func"
12453 * default.menu, no-signal.menu: delete.
12455 * Makefile.in, libc/Makefile.in, configure.in, host/any: simplify
12456 method used to adjust doc for missing "signals" chapter when
12457 signal_dir is empty.
12459 Thu May 20 21:38:37 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
12461 * configure.in: added testsuite/libm.sac
12463 Wed May 19 14:52:34 1993 Doug Evans (dje@thepub.cygnus.com)
12465 * libc/sys/sparc64/crt0.S: Set %g4 to 0 (to test Medium/Anywhere
12468 Tue May 18 13:17:21 1993 Ian Lance Taylor (ian@cygnus.com)
12470 * libm/Makefile.in: Use $(MAKE) rather than make, and define
12471 MAKEOVERRIDES to be empty.
12473 Mon May 17 08:42:44 1993 Ian Lance Taylor (ian@cygnus.com)
12475 * configure.in: Don't build mips-*-* with -msoft-float, since that
12476 makes it incompatible with hard floating point.
12478 Mon May 17 00:03:35 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
12480 * Makefile.in: added recursive 'make check'
12482 Thu May 13 16:24:18 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
12484 * configure.in: added ./testsuite ./testsuite/libm.paranoia
12485 * ./testsuite/Makefile.in: created
12486 * ./testsuite/libm.paranoia: paranoia tests added
12488 Thu May 13 10:30:24 1993 Ian Lance Taylor (ian@cygnus.com)
12490 * configure.in: For mips-*-* set machine_dir to mips.
12492 * libc/machine/mips: New directory.
12493 * libc/machine/mips/Makefile.in: New file.
12494 * libc/machine/mips/setjmp.S: New file; simplistic MIPS version of
12495 setjmp and longjmp.
12496 * libc/include/machine/setjmp.h: Added __mips__ case.
12498 * libc/machine/lmips: Removed unused and useless directory.
12500 Mon May 3 10:22:31 1993 Ian Lance Taylor (ian@cygnus.com)
12502 * configure.in: Accept i486-*-sco* as well as i386-*-sco*.
12504 Thu Apr 15 15:16:44 1993 Doug Evans (dje@canuck.cygnus.com)
12506 * libc/sys/sparc64/crt0.S: Add comment (%g1 contains atexit arg at
12509 Fri Apr 9 13:32:26 1993 Ian Lance Taylor (ian@cygnus.com)
12511 * libc/include/machine/setjmp-dj.h: Use _SETJMP_DJ_H rather than
12514 Thu Apr 8 10:07:18 1993 Doug Evans (dje@canuck.cygnus.com)
12516 * libm/test/convert.c: structure member errno -> errno_val.
12517 Must include <errno.h> to use errno, it's a macro now.
12518 * libm/test/math.c: Ditto.
12519 * libm/test/math2.c: Include errno.h.
12520 * libm/test/string.c: Ditto.
12521 * libm/test/test.h: structure member errno -> errno_val.
12522 Remove extern int errno decl.
12524 Thu Apr 8 07:56:33 1993 Ian Lance Taylor (ian@cygnus.com)
12526 * libc/stdio/Makefile.in: Added dependencies on local header
12528 * libc/stdio/std.h, libc/stdio/vfprintf.h: Removed unused header
12531 Wed Apr 7 16:19:32 1993 Ian Lance Taylor (ian@cygnus.com)
12533 * libc/include/machine/ieeefp.h: Added __MIPSEB__ case.
12535 Wed Apr 7 10:55:21 1993 Doug Evans (dje@canuck.cygnus.com)
12537 * libc/stdio/siprintf.c libc/stdio/sscanf.c libc/stdio/vsprintf.c:
12540 * libc/stdio/vfprintf.c: No need to declare _icvt, _licvt, _sicvt.
12541 * libc/stdio/local.h: Add prototype for _licvt.
12543 * libc/stdio/ungetc.c (__submore): Use _malloc_r,_realloc_r
12544 instead of malloc,reealloc.
12546 * libc/stdlib/local.h: New file.
12547 * libc/stdlib/efgcvt.c: #include local.h.
12548 (gcvt): Fix call to _gcvt.
12549 * libc/stdlib/ecvtbuf.c: #include local.h.
12551 * libc/stdlib/Makefile.in: new files mallocr.c mstats.c.
12552 * libc/stdlib/mallocr.c mstats.c malloc.h: New files.
12553 * libc/stdlib/malloc.c: main routines moved to mallocr.c.
12555 * libc/stdlib/atexit.c: moved global data to struct _reent.
12556 * libc/stdlib/exit.c: use struct _atexit in struct _reent.
12558 * libc/reent/reent.c (inpure_data): _REENT_INIT macro modified.
12560 Wed Apr 7 09:41:50 1993 Doug Evans (dje@canuck.cygnus.com)
12562 * libc/include/sys/reent.h: Stuff required by ANSI headers moved
12563 here from ../reent.h.
12565 Tue Apr 6 12:56:01 1993 Ian Lance Taylor (ian@cygnus.com)
12567 * Makefile.in (MATHOBJS_IN_LIBC): List of object files which
12568 should be provided in both libc.a and libm.a.
12569 (libc.a): Depend on targ-include and libm.a. Copy
12570 $(MATHOBJS_IN_LIBC) from libm.a to libc.a.
12571 (libm.a): Depend on targ-include.
12572 * configure.in (subdirs): Removed libc/math.
12574 Mon Apr 5 10:18:16 1993 Steve Chamberlain (sac@thepub.cygnus.com)
12576 * libm/ieeefp/infinity.c (maxpowtwo): Fix initialization bug.
12578 Sat Apr 3 11:06:07 1993 Doug Evans (dje@canuck.cygnus.com)
12580 * libc/include/{errno.h, math.h, stdio.h, stdlib.h}: Use
12581 sys/reent.h instead of reent.h.
12582 * libc/include/reent.h: Split into two parts: stuff needed by ANSI
12583 headers moved to sys/reent.h.
12584 * libc/include/signal.h: _MAX_SIGNALS moved to sys/signal.h.
12585 * libc/include/sys/signal.h: Define _MAX_SIGNALS if
12586 __need__MAX_SIGNALS defined.
12587 * libc/include/stdio.h: struct __sFILE moved to sys/reent.h.
12588 std{in,out,err} refer to new _std{in,out,err} members.
12590 Fri Apr 2 11:27:12 1993 Doug Evans (dje@canuck.cygnus.com)
12592 * libc/include/sys/signal.h: #define _SYS_SIGNAL_H for general
12595 Fri Apr 2 09:41:10 1993 Doug Evans (dje@canuck.cygnus.com)
12597 * libc/sys/sparc64/execve.S (execve): Insert nop in delay slot,
12598 rather than whatever macro seterrno() has.
12600 Thu Apr 1 16:47:08 1993 Doug Evans (dje@canuck.cygnus.com)
12602 * libc/locale/locale.c: Reentrant routines _r_xxx renamed to
12603 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
12605 * libc/include/machine/fastmath.h: Use _HAVE_STDC instead of
12608 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, reent.c,
12609 reent.tex, sbrkr.c, statr.c}: _r_xxx reentrant routines renamed to
12610 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
12612 * libc/signal/signal.c: Reentrant routines _r_xxx renamed to
12613 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
12615 * libc/stdio/{fclose.c, fdopen.c, findfp.c, fiprintf.c, flags.c,
12616 fopen.c, fprintf.c, freopen.c, fscanf.c, fseek.c, ftell.c,
12617 fwalk.c, getchar.c, gets.c, iprintf.c, local.h, makebuf.c,
12618 mktemp.c, perror.c, printf.c, putchar.c, puts.c, refill.c,
12619 remove.c, rename.c, scanf.c, setvbuf.c, siprintf.c, sprintf.c,
12620 sscanf.c, stdio.c, tmpfile.c, tmpnam.c, vfprintf.c, vfprintf.h,
12621 vfscanf.c, vprintf.c, vsprintf.c}: Reentrant routines _r_xxx
12622 renamed to _xxx_r. struct reent_struct renamed to struct _reent
12623 for ANSI. structure members given leading "_" for ANSI. Use
12624 _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
12626 * libc/stdlib/{__adjust.c, calloc.c, dtoa.c, ecvtbuf.c, malloc.c,
12627 mprec.c, mprec.h, rand.c, std.h, strtod.c, strtol.c, strtoul.c,
12628 system.c}: Reentrant routines _r_xxx renamed to _xxx_r. struct
12629 reent_struct renamed to struct _reent for ANSI.
12630 Structure members given leading "_" for ANSI.
12631 _CONST --> const in prototypes.
12632 Use _HAVE_STDC instead of __STDC__.
12634 * libc/string/strtok.c: Reentrant routines _r_xxx renamed to
12636 struct reent_struct renamed to struct _reent for ANSI.
12637 Structure members given leading "_" for ANSI.
12639 * libc/time/asctime.c: Reentrant routines _r_xxx renamed to
12641 struct reent_struct renamed to struct _reent for ANSI.
12643 * libm/math/{acos.h, acosh.h, asin.c, asinh.h, atanh.h, bessel.h,
12644 cbrt.h, cosh.h, erf.c, erf.h, error.c, exp.c, fmod.c, frexp.h,
12645 gamma.h, hypot.h, ldexp.c, log.h, log10.c, log1p.c log2.c,
12646 mathimpl.h, pow.c, remainder.c, sincos.c, sinh.h, sqrt.h, tan.c,
12647 tanh.h}: struct reent_struct renamed to struct _reent for ANSI.
12649 * libc/include/{_ansi.h, ctype.h, math.h, reent.h, locale.h,
12650 signal.h, stdio.h, stdlib.h, string.h, time.h}:
12651 Use _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
12652 #ifndef _STRICT_ANSI non-ANSI routines.
12653 Reentrant routines renamed from _r_xxx to _xxx_r.
12654 No need to use _STRICT_ANSI on _xxx_r reentrant routines.
12655 Use _STRICT_ANSI instead of __STRICT_ANSI, _ANSI_SOURCE, etc.
12656 Clean up namespace (structure members have leading "_").
12657 struct reent_struct renamed to struct _reent for ANSI compliance.
12658 _CONST --> const in function prototypes.
12660 * libc/include/string.h: Add NULL and size_t.
12662 * libc/sys/sparc64/Makefile.in: New syscall routines for link,
12663 unlink, wait, wait4. Reentrant syscall routines close, fork,
12664 fstat, link, lseek, open, read, sbrk, stat, unlink, wait, wait4,
12666 * libc/sys/sparc64/cerror.S (cerror_r): New routine.
12667 * libc/sys/sparc64/{close.S, fork.S, fstat.S, link.S, lseek.S,
12668 open.S, read.S, sbrk.S, stat.S, unlink.S, wait.S, wait4.S,
12669 write.S}: Define reentrant versions.
12670 * libc/sys/sparc64/sys/syscallasm.h (defsyscall_r): New macro for
12671 reentrant syscalls.
12673 * libc/sys/sparc64/crt0.S (start): Fix initialization of environ.
12675 * libc/include/stdlib.h (RAND_MAX): Fix value.
12677 Thu Apr 1 12:28:30 1993 Ian Lance Taylor (ian@cygnus.com)
12679 * libc/sys/a29khif/_main.c: Removed unnecessary file.
12680 * libc/sys/a29khif/Makefile.in (OFILES): Removed _main.c, moved
12681 VPATH support targets after all: target.
12683 * stub/mvme135/mvme.S: Renamed exceptionhandler to
12684 exceptionHandler, which is what mvme135-stub.c expects.
12686 Wed Mar 31 17:42:03 1993 Doug Evans (dje@cygnus.com)
12688 * libc/stdio/tmpnam.c (worker): Fix test for _r_open() failure.
12690 * libc/unix/getpass.c (getpass): Use stdin,stderr instead of
12691 def_stdin/def_stderr (latter removed from stdio.h to make it ANSI
12694 Tue Mar 30 09:58:21 1993 Doug Evans (dje@canuck.cygnus.com)
12696 * libc/reent/execr.c (_r_wait): Re-order args to make reent_struct
12698 libc/reent/filer.c (_r_open, _r_close, _r_lseek, _r_read,
12700 libc/reent/fstatr.c (_r_fstat): Ditto.
12701 libc/reent/linkr.c (_r_link, _r_unlink): Ditto.
12702 libc/reent/sbrkr.c (_r_sbrk): Ditto.
12703 libc/reent/statr.c (_r_stat): Ditto.
12705 * libc/stdio/fopen.c (_r_fopen): Re-order args to _r_open.
12706 * libc/stdio/freopen.c (freopen): Ditto for _r_open, _r_free.
12707 * libc/stdio/fseek.c (fseek): Ditto for _r_fseek.
12708 * libc/stdio/makebuf.c (__smakebuf): Ditto for _r_fstat.
12709 * libc/stdio/mktemp.c (_gettemp): Ditto for _r_stat, _r_open.
12710 * libc/stdio/remove.c (_r_remove): Ditto for _r_unlink.
12711 * libc/stdio/rename.c (_r_rename): Ditto for _r_link, _r_unlink.
12712 * libc/stdio/stdio.c (__sread): Ditto for _r_read.
12713 (__swrite): Ditto for _r_lseek, _r_write.
12714 (__sseek): Ditto for _r_lseek.
12715 (__close): Ditto for _r_close.
12716 * libc/stdio/tmpnam.c (worker): Ditto for _r_open, _r_close.
12718 * libc/stdlib/malloc.c (_r_morecore): Re-order args to _r_sbrk.
12719 * libc/stdlib/system.c (_r_system): Ditto for _r_wait.
12721 * libc/include/reent.h: Re-order arguments to _r_xxx syscall fns
12722 to make reent_struct the first argument (and thus consistent with
12723 the rest of newlib).
12725 * stub/mvme135/mvme135-stub.c (initializeRemcomErrorFrame): Remove
12726 reference to __STDC__.
12728 Mon Mar 29 12:34:32 1993 Doug Evans (dje@canuck.cygnus.com)
12730 * libc/stdlib/exit.c (exit): Use _REENT->__cleanup instead of
12733 Wed Mar 24 11:54:35 1993 Doug Evans (dje@canuck.cygnus.com)
12735 * libc/stdio/freopen.c (freopen): Ensure stdio is initialized
12737 libc/stdio/fclose.c (fclose): Ditto.
12739 Tue Mar 23 01:26:52 1993 Doug Evans (dje@rtl.cygnus.com)
12741 * Run through indent and rename reentrant routines for ANSI.
12742 libc/stdio/{clearerr.c cvt.c fclose.c fdopen.c feof.c ferror.c
12743 fflush.c fgetc.c fgetpos.c fgets.c findfp.c fiprintf.c flags.c
12744 fopen.c fprintf.c fputc.c fputs.c fread.c freopen.c fscanf.c
12745 fseek.c fsetpos.c ftell.c fvwrite.c fwalk.c fwrite.c getc.c
12746 getchar.c gets.c iprintf.c makebuf.c mktemp.c perror.c printf.c
12747 putc.c putchar.c puts.c refill.c remove.c rename.c rewind.c rget.c
12748 scanf.c setbuf.c setvbuf.c siprintf.c sprintf.c sscanf.c stdio.c
12749 tmpfile.c tmpnam.c ungetc.c vfprintf.c vfscanf.c vprintf.c
12750 vsprintf.c wbuf.c wsetup.c local.h}
12752 * libc/locale/locale.c: Reformat and rename for ANSI, GNU style.
12754 * Run through indent and rename xxx_r fns to _r_xxx for ANSI.
12755 libc/stdlib/{__adjust.c __exp10.c __ten_mu.c abort.c abs.c
12756 assert.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c
12757 dtoa.c ecvtbuf.c efgcvt.c exit.c getenv.c labs.c ldiv.c malloc.c
12758 mbtowc.c mprec.c putenv.c qsort.c rand.c setenv.c strdup.c
12759 strtod.c strtol.c strtoul.c system.c wctomb.c mprec.h}
12761 * Run through indent.
12762 libc/string/{bcmp.c bcopy.c bzero.c index.c memchr.c memcmp.c
12763 memcpy.c memmove.c memset.c rindex.c strcat.c strchr.c strcmp.c
12764 strcoll.c strcpy.c strcspn.c strerror.c strlen.c strncat.c
12765 strncmp.c strncpy.c strpbrk.c strrchr.c strspn.c strstr.c strtok.c
12768 * libc/time/{asctime.c clock.c ctime.c difftime.c gmtime.c
12769 localtime.c mktime.c strftime.c time.c}:
12770 Run through indent and rename xxx_r (reentrant) fns to _r_xxx for ANSI.
12772 * Reformatting + renaming (for ANSI, GNU style, consistency).
12773 libc/include/{_ansi.h, assert.h, ctype.h, errno.h, fastmath.h,
12774 ieeefp.h, locale.h, math.h, paths.h, pwd.h, reent.h, setjmp.h,
12775 signal.h, stdio.h, stdlib.h, string.h, time.h, unistd.h}
12777 Fri Mar 19 11:28:01 1993 Doug Evans (dje@cygnus.com)
12779 * libc/include/stdio.h (stdin_r): Fix.
12781 Fri Mar 19 09:43:48 1993 Ian Lance Taylor (ian@cygnus.com)
12783 * Makefile.in: Unexport some variables to keep GNU make from
12784 putting them in the environment and using up needed ARG_MAX space
12785 (a hack is used to let this work with older makes as well).
12787 Tue Mar 16 15:11:08 1993 Ian Lance Taylor (ian@cygnus.com)
12789 * Makefile.in: Use $(MAKE) rather than make.
12790 (MAKEOVERRIDES): Define to be empty.
12791 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
12792 (libc.a, libm.a): Depend on targ-include.
12793 * host/any (LD): Don't define.
12794 (INCLUDES): Use targ-include.
12795 * stub/Makefile.in (MAKEOVERRIDES): Define to be empty.
12796 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
12797 * libc/Makefile.in: Use $(MAKE) rather than make.
12798 (MAKEOVERRIDES): Define to be empty.
12799 (FLAGS_TO_PASS): Don't pass LD (it's not used).
12800 (all): Rewrote to be slightly smaller.
12801 * libc/machine/Makefile.in, libc/sys/Makefile.in (MAKEOVERRIDES):
12802 Define to be empty.
12803 (FLAGS_TO_PASS): Don't pass LD (it's not used).
12804 * libm/Makefile.in (FLAGS_TO_PASS): Don't pass LD (it's not used).
12806 Mon Mar 15 08:45:41 1993 Ian Lance Taylor (ian@cygnus.com)
12808 * libc/sys/go32/gerrno.s: Renamed from errno.s to avoid conflict
12809 with errno/errno.c.
12811 Fri Mar 12 09:46:54 1993 Ian Lance Taylor (ian@cygnus.com)
12813 * Changes for reentrancy.
12814 libc/stdio/fdopen.c, libc/stdio/freopen.c, libc/stdio/perror.c:
12815 Use ptr->_errno, not errno.
12816 libc/stdio/mktemp.c (mkstemp_r, mktemp_r): New functions.
12817 libc/stdio/remove.c (remove_r): New function.
12818 libc/stdio/rename.c (rename_r): New function.
12819 libc/stdio/fopen.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
12820 libc/stdio/makebuf.c, libc/stdio/mktemp.c, libc/stdio/remove.c,
12821 libc/stdio/rename.c, libc/stdio/stdio.c, libc/stdio/tmpnam.c: Use
12822 reentrant versions of system calls.
12823 libc/stdio/gets.c: Call getchar_f, not nonexistent getchar_r.
12824 libc/stdio/scanf.c: Use stdin_r, not nonexistent stdin_n.
12825 libc/stdio/tmpfile.c: Use tmpnam_f, not nonexistent tmpnam_r.
12826 libc/stdio/findfp.c: Include <string.h>.
12827 libc/stdio/fread.c, libc/stdio/rget.c, libc/stdio/scanf.c: Include
12829 libc/stdio/wbuf.c: Include "fvwrite.h"
12831 * libc/stdlib/{dtoa.c, ecvtbuf.c, mprec.c, strtod.c}: Include
12833 libc/stdlib/malloc.c: Call sbrk_r rather than sbrk.
12834 (NULL): Don't define if already defined.
12835 libc/stdlib/system.c: Call reentrant versions of system calls.
12836 (system_r): New function.
12838 * Changes for reentrancy.
12839 libc/include/_ansi.h (_PARAMS): New macro.
12840 libc/include/errno.h: Define errno as a macro that calls __errno.
12841 (__errno_r): New macro for reentrant code.
12842 libc/include/math.h: Include reent.h. Declare many reentrant
12844 (signgam): Now a macro, not a variable.
12845 (struct exception): Added err field.
12846 libc/include/reent.h: Don't declare __sglue. Added function
12848 (struct reent_struct): Moved errno to beginning. Added _signgam.
12849 libc/include/stdio.h, libc/include/stdlib.h: Added function
12852 * More reentrancy hacking.
12853 libc/errno/errno.c (__errno): New function.
12854 libc/reent/execr.c, libc/reent/filer.c, libc/reent/fstatr.c,
12855 libc/reent/linkr.c, libc/reent/sbrkr.c, libc/reent/statr.c: New
12858 * Added many new reentrant functions to libm/math/*.
12859 libm/math/error.c (__matherror): Added reent_struct pointer
12860 argument. Changed all callers.
12861 libm/math/gamma.c (signgam): Removed. Set ptr->_signgam, instead.
12862 libm/math/exp.h, libm/math/pow.h, libm/math/sincos.h,
12863 libm/math/tan.h: Removed obsolete unused header files.
12865 * libc/sys/a29khif/stubs.s: Use register lr0, not v0.
12867 * libc/sys/sun/Makefile.in (COPYOFILES): Don't pull in errno.o.
12869 Mon Mar 8 16:43:43 1993 Steve Chamberlain (sac@thepub.cygnus.com)
12871 * libc/sys/a29khif/stubs.s: clobber safe register, and fill all
12874 Tue Mar 2 14:47:00 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
12876 * libc/libc.texinfo: comment out reentrancy chapter (duh)
12878 Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
12880 * libc/reent/reent.tex: New file. (text from
12881 newlib/libc/libc.texinfo)
12882 * libc/stdio/tmpnam.c: fixed doc typo
12883 * libc/stdlib/rand.c: fixed doc typo
12885 Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
12887 * libc/reent/reent.tex: New file. (text from
12888 newlib/libc/libc.texinfo)
12890 Fri Feb 26 12:20:54 1993 Steve Chamberlain (sac@thepub.cygnus.com)
12892 support for reentrancy
12893 * libc/reent/reent.c, libc/reent/Makefile.in, libc/reent/reent.c:
12895 * libc/errno/errno.c, libc/include/ieeefp.h,
12896 libc/include/locale.h, libc/include/reent.h,
12897 libc/include/signal.h, libc/include/stdio.h,
12898 libc/include/stdlib.h, libc/include/string.h, libc/include/time.h,
12899 libc/signal/signal.c libc/stdio/cvt.c, libc/stdio/fclose.c,
12900 libc/stdio/fdopen.c, libc/stdio/fflush.c, libc/stdio/fgets.c,
12901 libc/stdio/findfp.c, libc/stdio/flags.c, libc/stdio/fopen.c,
12902 libc/stdio/fputc.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
12903 libc/stdio/ftell.c, libc/stdio/fwalk.c, libc/stdio/getchar.c,
12904 libc/stdio/gets.c, libc/stdio/glue.h, libc/stdio/iprintf.c,
12905 libc/stdio/local.h, libc/stdio/makebuf.c, libc/stdio/perror.c,
12906 libc/stdio/printf.c, libc/stdio/putchar.c, libc/stdio/puts.c,
12907 libc/stdio/refill.c, libc/stdio/scanf.c, libc/stdio/setvbuf.c,
12908 libc/stdio/sprintf.c, libc/stdio/tmpfile.c, libc/stdio/tmpnam.c,
12909 libc/stdio/ungetc.c, libc/stdio/vfprintf.c, libc/stdio/vfprintf.h,
12910 libc/stdio/vfscanf.c, libc/stdio/vprintf.c, libc/stdio/wsetup.c,
12911 libc/stdlib/__adjust.c, libc/stdlib/__exp10.c,
12912 libc/stdlib/assert.c, libc/stdlib/atexit.c, libc/stdlib/atol.c,
12913 libc/stdlib/dtoa.c, libc/stdlib/ecvtbuf.c, libc/stdlib/malloc.c,
12914 libc/stdlib/mprec.c, libc/stdlib/mprec.h, libc/stdlib/rand.c,
12915 libc/stdlib/setenv.c, libc/stdlib/std.h, libc/stdlib/strtod.c,
12916 libc/stdlib/strtol.c, libc/stdlib/strtoul.c, libc/string/strtok.c,
12917 libc/time/asctime.c, libc/time/localtime.c, libc/time/mktime.c,
12918 libc/time/strftime.c: modify to provide reentracy.
12921 strtok_r, asctime_r, fdopen_r, _cleanup_r, fopen_r, iprintf_r,
12922 perror_r, printf_r, putchar_r, puts_r, scanf_r, sprintf_r,
12923 tmpfile_r, vfiprintf_r, vfprintf_r, strtod_r, dtoa_r, rand_r,
12924 srand_r, strtoul_r,strtol_r, free_r, malloc_r, morecore_r,
12925 mstats_r, realloc_r, localeconv_r, setlocale_r
12927 Wed Feb 17 20:17:15 1993 Mark Eichin (eichin@cygnus.com)
12929 * libc/include/machine/ieeefp.h, libc/include/machine/setjmp.h,
12930 libc/include/sys/config.h, libc/include/sys/signal.h,
12931 libc/include/sys/stat.h, libc/include/sys/types.h: For compiler
12932 provided macros (such as m68000), use the ansi version
12933 (__m68000__) so that the library can be used with code compiled
12934 -ansi. In particular, m68000, mc68000, _AM29K, i386, MIPSEL, unix,
12937 Wed Feb 17 13:01:34 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
12939 * configure.in (sparc*): Don't set -fsoft-float for sparc
12940 configurations. Do set -fsoft-float for sparclite configurations.
12942 Fri Feb 12 16:25:52 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
12944 * default.menu, no-signal.menu: alternate forms of libc main menu
12945 (in newlib rather than newlib/libc due to configuration restrictions)
12947 * configure.in: select one of the two menus above, link to
12950 * libc/libc.texinfo: include menu from separate file
12952 Fri Feb 12 12:50:06 1993 Ian Lance Taylor (ian@cygnus.com)
12954 * Makefile.in (FLAGS_TO_PASS): Put INSTALL back in.
12955 (info): Split long shell command in half.
12956 * libc/Makefile.in (info, targetdep.tex): Don't pass everything to
12957 sub-makes, just CHEW and TARGETDOC.
12958 (targetdep.tex): Removed now special handling of sys and machine
12959 subdirectories, made obsolete some time ago.
12960 * libc/machine/Makefile.in (doc): Don't pass everything to
12961 sub-make, just CHEW and TARGETDOC.
12962 (Makefile): New target.
12963 * libc/sys/Makefile.in (Makefile): New target.
12965 Thu Feb 11 15:25:15 1993 Ian Lance Taylor (ian@cygnus.com)
12967 * Makefile.in (here and most subdirectories): Only pass down CHEW
12968 and TARGETDOC when making info, not for other targets.
12970 * Makefile.in (here and most subdirectories), host/any: Use $(AR)
12971 $(AR_FLAGS) rather than $(ARUPDATE).
12973 Wed Feb 10 11:57:52 1993 Ian Lance Taylor (ian@cygnus.com)
12975 * Try to reduce command line length:
12976 * Makefile.in (FLAGS_TO_PASS): don't pass down exec_prefix,
12977 CC_FOR_BUILD, CFLAGS_FOR_BUILD, INSTALL or CHEW.
12978 (info, docs): pass CC_FOR_BUILD and CFLAGS_FOR_BUILD to doc.
12979 (info): Pass CHEW to other subdirs.
12981 Tue Feb 9 14:01:42 1993 Mark Eichin (eichin@cygnus.com)
12983 * configure.in: add signal_dir, like unix_dir, but by default it
12984 is set to "signal" so that a29khif can turn it off (since a29khif
12985 has raise() as part of machine-specific signal.s.)
12987 Fri Jan 15 12:09:50 1993 Steve Chamberlain (sac@thepub.cygnus.com)
12989 * libc/sys/config.h, libc/machine/ieeefp.h: add Z8000 support
12990 * libc/stdio/Makefile.in: pass CFLAGS so vfiprintf.c gets built
12992 * libc/stdio/fdopen.c, libc/stdio/fgets.c, libc/stdio/fscanf.c,
12993 libc/stdio/vfprintf: type lint.
12994 * libc/sys/z8ksim/crt0.c (start): Z8001/Z8002 independent
12995 initialzation code.
12996 * libc/sys/z8ksim/glue.c: Z8001/Z8002 clean system calls.
12998 Tue Dec 29 10:15:33 1992 Ian Lance Taylor (ian@cygnus.com)
13000 * stub/mvme135/mvme135-asm.S: new file.
13001 stub/mvme135mvme135-stub.c: moved all assembler routines into
13003 stub/mvme135/Makefile.in: build mvme135-stub.o.
13005 Mon Dec 28 12:40:43 1992 Ian Lance Taylor (ian@cygnus.com)
13007 * Makefile.in: don't pass down $(CPP); use $(CC) -E in
13008 sub-Makefiles instead, to try to avoid line length limitations.
13010 Mon Dec 21 18:36:13 1992 Per Bothner (bothner@rtl.cygnus.com)
13012 * libc/include/unistd.h (read, write): Use void* instead of
13015 Thu Dec 17 13:49:46 1992 Mark Eichin (eichin@cygnus.com)
13017 * stub/go32/resetpc: sample script to send a reset packet to the
13020 * stub/go32/I386STUB.C: new file, gdb/i386stub.c modified for the
13021 DOS environment, which compiles with Turbo C.
13023 * stub/go32/DSER32.LNK: new file, linker commands for serial
13026 * stub/go32/CONTROL.C: turn off debug_mode, add CYGNUS tag line to
13027 start up message to identify version; call set_debug_traps.
13029 * stub/go32/DEBUG.C: turn off debug_mode (so stub doesn't need any
13030 keyboard interaction); call handle_exception() in go_til_stop,
13031 rather than return, so that the remote stub gets control.
13033 * stub/go32/MAKEFILE: fixed to actually use DOS commands (del and
13034 rename, rather than mv), set flags that work with current Turbo C,
13035 including using the /3 flag; also, add commands to build dser32.
13037 * stub/go32/DEBUG32.LNK, stub/go32/GO32.LNK: fix paths to match
13038 default Turbo C installation (\tc rather than \usr)
13040 * stub/go32/MONO.C (printf): current Turbo C uses "..." instead of
13043 Mon Dec 14 09:37:33 1992 Steve Chamberlain (sac@thepub.cygnus.com)
13045 * libc/include/math.h: added _DOUBLE_IS_32BITS checks
13047 Thu Nov 12 22:31:04 1992 Steve Chamberlain (sac@thepub.cygnus.com)
13049 * libc/stdio/cvt.c (licvt): new function to convert ints when
13050 sizeof(int) != sizeof(long).
13052 * libc/include/stdio.h: added prototype for iprintf.
13053 * libc/include/machine/limits.h machine/ieeefp.h: z8k stuff
13055 Tue Nov 10 12:18:12 1992 Ian Lance Taylor (ian@cygnus.com)
13057 * libc/machine/m68k/setjmp.S: use __USER_LABEL_PREFIX__ and
13058 __REGISTER_PREFIX__.
13060 Mon Nov 2 13:50:14 1992 Ian Lance Taylor (ian@cygnus.com)
13062 * libc/sys/m68kbare: moved into stub directory.
13064 Mon Nov 2 13:40:42 1992 Ian Lance Taylor (ian@cygnus.com)
13066 * configure.in, Makefile.in: created new directory stub, to hold
13067 sample code for specific targets.
13069 Wed Oct 28 02:19:55 1992 Mark Eichin (eichin@cygnus.com)
13071 * restored libc/sys/go32/sys/fcntl.h, to override incorrect values
13072 in the unified libc/include/sys/fcntl.h.
13074 Wed Oct 21 13:55:58 1992 Doug Evans (dje@rtl.cygnus.com)
13076 * libc/stdlib/ecvtbuf.c: (print_f,_gcvt): printf("%f", 0.01)
13077 printed .01, not 0.01.
13079 Mon Oct 19 11:05:55 1992 Ian Lance Taylor (ian@cygnus.com)
13081 * configure.in: compile with -m68000 for m68* targets.
13083 Sun Oct 18 05:29:05 1992 Mark Eichin (eichin@cygnus.com)
13085 * libm/math/remainder.c (remainder): document the svr4 and sunos
13086 references used to construct the function.
13088 Sat Oct 17 21:46:16 1992 Mark Eichin (eichin@cygnus.com)
13090 * libm/math/remainder.c (rint, remainder): fix old typos.
13091 * libm/math/Makefile.in: actually build remainder.c (functions
13092 rint and remainder, from SysVr4 Programmer's Guide floor(3m) man
13095 Thu Oct 15 07:48:05 1992 Ian Lance Taylor (ian@cygnus.com)
13097 * libc/string/bcopy.c: BSD version works on overlapping strings,
13098 so ours should too.
13100 * libc/stdlib/system.c: always invoke /bin/sh, not getenv
13103 Wed Oct 14 11:07:11 1992 Ian Lance Taylor (ian@cygnus.com)
13105 * Makefile.in (docs): new target.
13107 Wed Oct 14 07:44:25 1992 Ian Lance Taylor (ian@cygnus.com)
13109 * libc/include/sys/times.h: define clock_t as required by POSIX.
13110 libc/include/time.h: protect clock_t from multiple definitions.
13112 Wed Oct 7 11:02:21 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
13114 * libm/math/sqrt.h (sqrt): actually, the final version of fp-bit
13115 does not need more than the original three iterations to get
13116 within 1 ulp. (Paranoia tests for rounding to better than that,
13117 but further iterations *don't* help, only more subtle changes
13120 Tue Oct 6 09:22:12 1992 Ian Lance Taylor (ian@cygnus.com)
13122 * libc/sys/vxworks68, libc/sys/vxworks960: removed, since they
13123 were doing nothing useful.
13125 Tue Oct 6 08:48:13 1992 Ian Lance Taylor (ian@cygnus.com)
13127 * configure.in: define MALLOC_PROVIDED for vxworks targets;
13128 removed sys_dir settings of vxworks68 and vxworks960.
13129 host/any: don't pass -nostdinc to gcc, since newlib no longer
13130 provides all required header files.
13132 * libc/stdlib/malloc.c: only compile this file if MALLOC_PROVIDED
13133 is not defined; this provides a hook for VxWorks.
13135 Mon Oct 5 03:44:57 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
13137 * libc/stdio/setvbuf.c (setvbuf): while ANSI does say to malloc a
13138 buffer if buf is NULL, don't do it here -- it is already being
13139 done by makebuf elsewhere in stdio.
13141 Fri Oct 2 13:12:07 1992 Ian Lance Taylor (ian@cygnus.com)
13143 * libc/sys/a29khif/Makefile.in: assemble Steve's list of stubs so
13144 that C programs can call functions without using initial
13147 Thu Oct 1 09:37:47 1992 Ian Lance Taylor (ian@cygnus.com)
13149 * libc/stdlib/abort.c (abort): call exit, in case kill returns.
13151 Wed Sep 30 08:22:18 1992 Ian Lance Taylor (ian@cygnus.com)
13153 * configure.in: set TARGET_CFLAGS for certain CPU types to
13156 Tue Sep 29 21:09:32 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
13158 * libc/sys/m68kbare/glue.c: use <_ansi.h> instead of <ansidecl.h>
13160 Mon Sep 28 14:58:44 1992 Ian Lance Taylor (ian@cygnus.com)
13162 * configure.in: added sys_dir m68kbare for m68k*-unknown-aout and
13163 m68k*-unknown-coff.
13165 Fri Sep 25 08:33:21 1992 Ian Lance Taylor (ian@cygnus.com)
13167 * libc/include/stdio.h: define __need___va_list before including
13168 <stdarg.h>, to avoid defining va_arg, et. al.
13170 Tue Sep 22 13:47:00 1992 Ian Lance Taylor (ian@cygnus.com)
13172 * libc/sys/Makefile.in: handle the case of an empty $(sys_dir)
13173 (don't cd to the user's home directory).
13175 * libc/Makefile.in: replaced all instances of $(MAKE) with make.
13176 In general this is the wrong thing to do, but I can't get around
13177 GNU make's insistence on passing command line arguments any other
13180 Tue Sep 22 10:12:44 1992 Ian Lance Taylor (ian@cygnus.com)
13182 * configure.in: always configure the libc/sys directory, since it
13183 now provides a required documentation file.
13185 * Makefile.in: replaced all instances of $(MAKE) with make. In
13186 general this is the wrong thing to do, but I can't get around GNU
13187 make's insistence on passing command line arguments any other way.
13189 Mon Sep 21 22:42:26 1992 Ian Lance Taylor (ian@tweedledumbest.cygnus.com)
13191 * libc/stdlib/ecvtbuf.c (_gcvt): string for 0 was not null
13194 * libc/stdio/local.h: include <stdarg.h> to define va_list.
13195 libc/stdio/vsprintf.c: include <stdarg.h> rather than <varargs.h>.
13197 * libc/include/float.h, libc/include/stdarg.h,
13198 libc/include/stddef.h, libc/include/varargs.h: removed; use gcc
13200 libc/include/stdio.h: get size_t from <stddef.h>, and va_list from
13201 <stdarg.h>, not from <machine/types.h>. Protect definition of
13203 libc/include/time.h: get size_t from stddef.h. Protect definition
13205 libc/include/machine/limits.h: override gcc <limits.h> by defining
13206 _LIMITS_H___. Don't define CLK_TCK. Copied in gcc <limits.h> to
13207 get correct INT_MIN and LONG_LONG values.
13208 libc/include/machine/types.h: don't define ptrdiff_t, wchar_t,
13209 size_t or va_list at all; they're now gotten from stddef.h
13211 libc/include/machine/varargs.h: removed; use gcc version instead.
13212 libc/include/sys/types.h: explicitly include <machine/types.h>.
13214 * libm/math/sqrt.h: using the fp-bit routines appears to require
13217 * Makefile.in, host/any: let system include files override machine
13220 Sat Sep 19 21:10:06 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
13222 * libc/include/machine/types.h: allow __*_TYPE__ from cpp to
13223 override _*_T_ definitions defaulted here.
13225 Tue Sep 15 11:14:46 1992 Ian Lance Taylor (ian@cygnus.com)
13227 * Makefile.in (install): install the include files in
13228 $(tooldir)/include, not $(exec_prefix)/include.
13230 Fri Sep 11 15:48:43 1992 Ian Lance Taylor (ian@cygnus.com)
13232 * Makefile.in (install): fixed typo, and changed install to not
13233 force rebuild of libc.a and libm.a.
13235 Thu Sep 10 10:46:09 1992 Ian Lance Taylor (ian@cygnus.com)
13237 * libc/sys/a29khif/*: Changed all .include's to include
13238 sys/sysmac.h, not plain sysmac.h. The header files live in sys so
13239 that they will be installed for the user.
13241 * Makefile.in (all): create targ-include, a directory holding the
13242 machine and system specific header files during the build.
13243 (install): fixed installation of machine and system specific
13246 * Makefile.in: fixed comment.
13247 host/any: change .s.o rule to use $(AS) rather than $(CC), so that
13248 we can pass $(INCLUDES) to it.
13250 Thu Sep 10 10:13:13 1992 Ian Lance Taylor (ian@cygnus.com)
13252 * libc/include/sys/param.h: new generic file, which may be
13253 overridden for specific systems.
13255 * libc/include/sys/signal.h: define all ANSI signal names, and
13256 NSIG (which is not ANSI) for a29k.
13258 Tue Sep 8 09:04:30 1992 Ian Lance Taylor (ian@cygnus.com)
13260 * Makefile.in: don't pass down arguments the lower level makes
13262 * libc/Makefile.in: recurse directly, rather than using subdir_do,
13263 in hopes of avoiding argument length limits.
13264 * libm/Makefile.in: recurse directly, rather using subdir_do, in
13265 hopes of avoiding argument length limits.
13267 Tue Sep 8 08:27:22 1992 Ian Lance Taylor (ian@cygnus.com)
13269 * libc/include/sys/fcntl.h: include <sys/types.h> to ensure that
13272 Mon Sep 7 14:02:07 1992 Ian Lance Taylor (ian@cygnus.com)
13274 * Fixed make info and make install-info for newlib, changing most
13275 Makefile.in and several *.tex files. Moved doc directory from
13278 * libc/time/mktime.c (_DAYS_IN_MONTH): actually, not const.
13279 Should be rewritten.
13281 * libc/string/strings.tex: renamed node index to node index
13282 function, so that it does not conflict with the top level index
13285 * libc/include/sys/config.h: define __IEEE_BIG_ENDIAN for h8300.
13287 Fri Sep 4 02:34:06 1992 Ian Lance Taylor (ian@cygnus.com)
13289 * Overhauled general configuration for newlib. Eliminated all
13290 target dependent Makefile fragments. Create libraries in newlib
13291 rather than newlib/libc and newlib/libm. Use CC, et. al., rather
13292 than CROSS_CC, et. al. Broke make docs; will fix later.
13294 * libc/time/localtime.c (_DAYS_IN_MONTH): actually, not const.
13295 Should be rewritten.
13297 Tue Sep 1 15:21:14 1992 Ian Lance Taylor (ian@cygnus.com)
13299 * libc/configure.in: cleaned up somewhat; switch on ${target}
13300 rather than ${target_alias}.
13301 * libm/configure.in: cleaned up somewhat; switch on ${target}
13302 rather than ${target_alias}.
13304 * libc/ctype/ctype_.c: marked _ctype_ array _CONST.
13305 * libc/include/ctype.h: marked _ctype_ as _CONST.
13307 * libc/locale/locale.c (lconv, localeconv): marked static lconv as
13310 * libc/stdio/cvt.c, libc/stdio/findfp.c (__sfmoreglue),
13311 libc/stdio/vfscanf.c (__svfscanf): made static variables const.
13312 libc/stdio/gets.c (gets): removed non-ANSI warning message.
13313 libc/stdio/tmpnam.c (tmpnam): removed unneeded filename variable.
13315 * libc/stdlib/mprec.h, libc/stdlib/mprec.c (pow5mult, tens,
13316 bigtens, tinytens): marked arrays _CONST.
13317 libc/stdlib/qsort.c (swap): if __GNUC__, use _builtin_alloca
13318 rather than a static variable.
13320 * libc/time/asctime.c (asctime), libc/time/localtime.c
13321 (_DAYS_IN_MONTH), libc/time/mktime.c (_DAYS_IN_MONTH,
13322 _DAYS_BEFORE_MONTH), libc/time/strftime.c (dname_len, dname,
13323 mname_len, mname): Marked static arrays _CONST.
13325 * libm/math/gamma.h: made local variables non-static.
13327 * libm/math/acos.h, libm/math/bessel.c, libm/math/erf.c,
13328 libm/math/exp.c, libm/math/gamma.h: marked static arrays as
13331 * libm/math/constants.c: removed file, because the constants it
13332 defined were never referenced.
13333 libm/math/Makefile.in: removed references to constants.c.
13334 libm/math/mathimpl.h: removed declarations of constants.
13336 Wed Aug 26 21:09:06 1992 Ian Lance Taylor (ian@cygnus.com)
13338 * libc/include/machine/varargs.h: only call __builtin_saveregs if
13339 it is sensibly defined in libgcc2. Checks preprocessor defines,
13340 which is not a good solution.
13342 * libm/sqrt.c: sqrt(Infinity) should not be a domain error.
13344 * libm/frexp.c: handle denormalized numbers as arguments.
13346 * libm/math/Makefile.in: added some dependencies for .c files
13347 which include local .h files.
13349 Mon Aug 24 12:57:58 1992 Ian Lance Taylor (ian@cygnus.com)
13351 * libc/configure.in: set target_alias for OSE*. Replace
13352 target_makefile_frag if it is blank.
13354 * libc/Makefile.in: make sure everything is passed to subsidiary
13355 makes; create all directories when installing.
13357 * libm/ieeefp/Makefile.in, libm/math/Makefile.in: use
13358 CROSS_ARUPDATE instead of AR.
13360 * libm/configure.in: set target_alias for OSE*. Replace
13361 target_makefile_frag if it is blank.
13363 * libm/Makefile.in: make sure everything is passed to subsidiary
13364 makes; create all directories when installing.
13366 Thu Aug 20 15:11:51 1992 Mark Eichin (eichin@cygnus.com)
13368 * add following change from libc copy.
13370 Wed Aug 19 18:54:49 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
13372 * libc/libc.texinfo: make copyright disclaimers appear on back of
13373 title page; make format of same slightly less ugly; avoid using
13374 underbars in section headings (avoids nasty texinfo bug in table
13377 * libc/ctype/tolower.c, libc/ctype/toupper.c: (doc changes in
13378 comments only) avoid using underbars in section headings
13380 * libc/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
13381 isnan ieeefp/fpmask.c, ieeefp/fpround.c, ieeefp/fpsticky.c (doc
13382 changes in comments only): shorten headings ieeefp/infinity.c,
13383 ieeefp/isnan.c: (doc, comments only) more informative headings
13385 * libc/math/bessel.c: (doc, comments only) shorten heading
13387 * libc/stdlib/efgcvt.c, libc/stdlib/mbtowc.c, libc/stdlib/wctomb.c
13388 (doc, comments only) shorten headings
13390 * libc/time/localtime.c (doc, comments only): shorten headings
13392 * libm/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
13394 libm/ieeefp/fpmask.c, libm/ieeefp/fpround.c,
13395 libm/ieeefp/fpsticky.c (doc changes in comments only): shorten
13397 libm/ieeefp/infinity.c, libm/ieeefp/isnan.c: (doc, comments
13398 only) more informative headings
13399 * libm/math/bessel.c: (doc, comments only) shorten heading
13401 Wed Aug 19 07:06:37 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
13403 * .../Makefile.in: use CROSS_ARUPDATE consistently.
13404 * config/*.mt: define CROSS_AR as well as CROSS_ARUPDATE
13405 * config/*.mt: define CROSS_CPP based on CROSS_CC, not /lib/cpp.
13406 * .../Makefile.in: get rid of .c.o rule - if TOP is correctly
13407 defined, the one from the .mt file will be correct.
13408 * libc/include/machine, libc/include/sys: created, and populated
13409 with common files from machine/*/machine. ifdefs were used for
13410 most, typically by handling exceptions first and then filling in
13411 defaults. Files with D.J. Delorie copyright #included rather than
13412 copied. Most files in include/sys really were the same in the
13414 * libc/include/...: cleaned up use of _EXFUN.
13415 * libc/stdlib/mprec.c: mprec.h doesn't get installed, so include
13416 it with double quotes, not angles.
13418 Mon Aug 10 11:43:20 1992 Ian Lance Taylor (ian@dumbest.cygnus.com)
13420 * libc/Makefile.in: always create installation directories.
13422 Sun Aug 9 22:45:48 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
13424 * libc/configure.in: handle host properly (using canonical
13425 triples), better error message for the case of target not found
13427 Thu May 28 01:56:37 1992 Michael Tiemann (tiemann@rtl.cygnus.com)
13429 * libc/Makefile.in (insincdir): Ensure this directory exists
13430 before attempting installation.
13432 Fri May 1 18:16:42 1992 Steve Chamberlain (sac@thepub.cygnus.com)
13434 * libc/stdlib/assert.c: now calls abort like it should
13435 * libc/sys/a29khif: many many patches for 29khif work
13436 * libc/machine/i386: gnulib2 expanded there.
13438 Tue Apr 28 19:08:37 1992 Steve Chamberlain (sac@thepub.cygnus.com)
13440 Added accurate fp conversion routines to stdlib, moved dcvt from
13441 stdio to stdlib and called it ecvtbuf:
13442 * libc/stdlib/mprec.c, mprec.h: new files for multiprec arithmetic
13443 * libc/stdlib/Makefile.in, efgcvt.c, strtod.c: modified to use new
13445 * libc/libc.texinfo: Modifed to include the copyright info from
13447 * libc/stdlib/efgcvt.c: now xref to ecvtbuf in stdlib.
13448 * libc/test/ : many vector which tested for the implementation
13449 defined returns of strange conversion requests have been updated
13450 to relflect the new implementation
13452 Mon Apr 27 13:41:33 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
13454 * libc/libc.texinfo: new chapter on variable arg lists
13455 (stdarg.h/varargs.h)
13456 * libc/libc.texinfo: new title
13457 * libc/time/gmtime.c, libc/time/localtime./c, libc/time/mktime.c:
13458 (doc only) shorter headings for better formatting.
13460 Fri Apr 24 11:26:48 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
13462 * libc/libc.texinfo: three more info menu entries
13463 * libc/locale/locale.tex: new chapter
13464 * libc/locale/locale.c: new doc for setlocale, localeconv
13465 * libc/locale/Makefile.in: use new locale doc
13466 * libc/signal/signal.tex: new chapter
13467 * libc/signal/raise.c, libc/signal/signal.c: new doc
13468 * libc/signal/Makefile.in: use new doc
13469 * libc/time/time.tex: new chapter
13470 * libc/time/asctime.c libc/time/clock.c libc/time/ctime.c
13471 libc/time/difftime.c libc/time/gmtime.c libc/time/localtime.c
13472 libc/time/mktime.c libc/time/strftime.c libc/time/time.c: new doc
13473 * libc/time/Makefile.in: use new doc
13475 Tue Apr 21 14:48:50 1992 Steve Chamberlain (sac@thepub.cygnus.com)
13477 * libm/math/log1p.c: split to use the new function way of float
13478 function definition. math/log1p.h deleted
13479 * libm/math/scalb.c: obsolete and deleted
13480 * libm/math/scalbn.c: created from part log1p.c
13481 * libm/math/Makefile.in: know about log1p and scalbn
13483 Tue Apr 21 12:32:21 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
13485 * libc/ctype/isupper.c: revise doc;
13486 libc/ctype/ctype.tex: use doc from isupper.c
13488 * libc/string/bzero.c: new doc
13490 Mon Apr 20 14:19:42 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
13492 * libc/stdlib/system.c, libc/stdlib/exit.c, libc/stdlib/abort.c:
13494 * libc/stdlib/Makefile.in: extract new doc
13495 * libc/stdlib/stdlib.tex: use new doc
13497 * libc/string/strerror.c: expanded doc.
13499 * libc/stdio/Makefile.in: extract doc from more files
13500 * libc/stdio/fopen.c, libc/stdio/perror.c, libc/stdio/remove.c,
13501 libc/stdio/rename.c, libc/stdio/rewind.c, libc/stdio/setbuf.c,
13502 libc/stdio/setvbuf.c, libc/stdio/sprintf.c, libc/stdio/tmpfile.c,
13503 libc/stdio/tmpnam.c, libc/stdio/vfprintf.c, libc/stdio/vprintf.c,
13504 libc/stdio/vsprintf.c: new doc
13505 * libc/stdio/stdio.tex: use new doc
13507 Mon Apr 20 09:38:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
13509 * libc/config/ebmon29k: added CROSS_CPP rule and other fixes
13510 * libc/include/ieeefp.h: fixed ansi conflict with isnanf, isinff,
13512 * libc/sys/a29khif/sys/*.h: ansidecl.h was renamed to _ansi.h some
13515 * libc/stdio/stdio.h: added P_tmpdir for /tmp (SVID thing)
13516 * libc/stdio/setbuf.c: added ansi style definition.
13517 * libc/stdio/setvbuf.c: added ansi definition, now mallocs own
13518 buffer if none provided.
13519 * libc/stdio/tmpfile.c: lint
13520 * libc/stdio/tmpnam.c (worker): created. (tmpnam): mallocs buffer
13521 rather than using static, also make sure file isn't already
13522 present. Uses P_tmpdir. (tempnam): rewritten to use new
13523 subroutine, and uses P_tmpdir.
13524 * libc/stdio/siprintf.c: created
13526 Mon Apr 13 09:12:58 1992 Steve Chamberlain (sac@thepub.cygnus.com)
13528 Release 1.03 for NEC, major mods. Main differences from release
13531 More tests in test/:
13532 * jn_vec.c, jnf_vec.c, yn_vec.c, ynf_vec.c, log2_vec.c,
13533 log2f_vec.c, atan2_vec.c, atan2f_vec.c: new test vectors.
13534 * test_ieee.c: tests for ieee flags & masks - get/set rounding,
13535 get/set mask, get/set sticky and get/set roundtoi. Tests
13536 that setting the bits changes the way arithmetic is done.
13537 * string.c: added test to make sure memcmp does it with unsigned
13539 * test.c: cleaned up and removed lint.
13540 * sprint_vec, sprint_ivec.c, convert.c, conv_vec.c, iconf_vec.c,
13541 dvec.c: tests for string to value conversions, sprintf, scanf,
13542 atof, atoff, strtod, strtodf, atoi, atol, strtol, ecvtbuf, ecvt,
13543 ecvtf, fcvtbuf, fcvt, fcvtf, gcvt, gcvtf. Some attention paid to
13544 rounding in sprintf too.
13545 * test_is.c: tests for isalnum, isalpha, isascii, iscntrl,
13546 isdigit, isgraph, islower, isprint, ispunct, isspace, isupper,
13547 isxdigit, toascii, tolower, toupper, _tolower, _toupper in macro
13549 * math2.c: test for frexp, frexpf, ldexp, ldexpf, modf modff, pow,
13553 * libc/stdlib/div.c, libc/stdlib/ldiv.c, libc/stdlib/strtod.c,
13554 libc/stdlib/strtol.c, libc/stdlib/stroul.c, libc/stdlib/abs.c,
13555 libc/stdlib/bsearch.c, libc/stdlib/calloc.c, libc/stdlib/getenv.c,
13556 libc/stdlib/labs.c, libc/stdlib/malloc.c: new documentation
13557 * libc/stdlib/efgcvt.c: rewritten to use new _dcvt routines rather
13559 * libc/stdio/dcvt.c: rewritten to make more useful elsewhere.
13560 * Method of producting float versions of double functions has
13561 changed, functions will be modified gradually. So far:
13562 libm/math/exp.c, libm/math/pow.c, libm/math/modf.c,
13563 libm/math/sincos.c, libm/math/fmod.c, libm/math/tan.c have been
13565 * libc/string/memcmp.c: now uses unsigned chars
13566 * libc/string/bcmp.c, libc/string/strcpy.c,
13567 libc/stsring/strxfrm.c: fixed doc
13568 * libc/sys/sysvnecv70.tex: fix example of sbrk code
13571 version-control: never